test-stpr-ui-kit 0.5.32 → 0.5.33
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.js +729 -735
- package/dist/test-stpr-ui-kit.umd.cjs +11 -11
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -3,23 +3,23 @@ var Es = (n, a, t) => a in n ? Ms(n, a, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ne = (n, a, t) => Es(n, typeof a != "symbol" ? a + "" : a, t);
|
|
4
4
|
import { jsxs as ue, jsx as M, Fragment as Mn } from "react/jsx-runtime";
|
|
5
5
|
import * as I from "react";
|
|
6
|
-
import T, { useState as Me, useEffect as Re, useRef as Ae, useCallback as Ge, useLayoutEffect as Ma, cloneElement as
|
|
6
|
+
import T, { useState as Me, useEffect as Re, useRef as Ae, useCallback as Ge, useLayoutEffect as Ma, cloneElement as mi, createRef as Wt, Component as He, createElement as Ns, createContext as hi, useContext as Ts, useMemo as tn, useReducer as Ps, forwardRef as Is, useImperativeHandle as Os, Fragment as Rs } from "react";
|
|
7
7
|
import * as Ls from "react-dom";
|
|
8
8
|
import gr from "react-dom";
|
|
9
|
-
function
|
|
9
|
+
function vi(n) {
|
|
10
10
|
var a, t, e = "";
|
|
11
11
|
if (typeof n == "string" || typeof n == "number") e += n;
|
|
12
12
|
else if (typeof n == "object") if (Array.isArray(n)) {
|
|
13
13
|
var r = n.length;
|
|
14
|
-
for (a = 0; a < r; a++) n[a] && (t =
|
|
14
|
+
for (a = 0; a < r; a++) n[a] && (t = vi(n[a])) && (e && (e += " "), e += t);
|
|
15
15
|
} else for (t in n) n[t] && (e && (e += " "), e += t);
|
|
16
16
|
return e;
|
|
17
17
|
}
|
|
18
18
|
function N() {
|
|
19
|
-
for (var n, a, t = 0, e = "", r = arguments.length; t < r; t++) (n = arguments[t]) && (a =
|
|
19
|
+
for (var n, a, t = 0, e = "", r = arguments.length; t < r; t++) (n = arguments[t]) && (a = vi(n)) && (e && (e += " "), e += a);
|
|
20
20
|
return e;
|
|
21
21
|
}
|
|
22
|
-
const Fs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), As = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), Ws = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M20 8L12 16L4 8", stroke: "currentColor", strokeWidth: 2 })), gi = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 18 20", ...n }, /* @__PURE__ */ I.createElement("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M1 7h16M1 7v8.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.987.218 2.105.218h9.606c1.118 0 1.677 0 2.104-.218.377-.192.683-.498.875-.874.218-.428.218-.986.218-2.104V7M1 7v-.8c0-1.12 0-1.68.218-2.108.192-.377.497-.682.874-.874C2.52 3 3.08 3 4.2 3H5m12 4v-.803c0-1.118 0-1.678-.218-2.105a2 2 0 0 0-.875-.874C15.48 3 14.92 3 13.8 3H13m0-2v2m0 0H5m0-2v2" })), Bs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), Ys = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), js = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 21 22", fill: "none", ...n }, /* @__PURE__ */ I.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__ */ I.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 })), Hs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.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__ */ I.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" })), zs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 18 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ I.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ I.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), qs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M7.83325 9.83333L11.9999 14L16.1666 9.83333", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M12 14V3.99995", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Vs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), Us = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), $s = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), Qs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Gs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M16 22.4V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M16 9.59961H16.016", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), Ks = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), Xs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Zs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Js = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 16 16", fill: "none", ...n }, /* @__PURE__ */ I.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" })), el = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), tl = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), nl = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), rl = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), al = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 17 17", fill: "none", ...n }, /* @__PURE__ */ I.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" })), ol = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), il = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "-2 -2 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), sl = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ I.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ I.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ I.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" }));
|
|
22
|
+
const Fs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), As = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), Ws = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M20 8L12 16L4 8", stroke: "currentColor", strokeWidth: 2 })), _i = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 18 20", ...n }, /* @__PURE__ */ I.createElement("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M1 7h16M1 7v8.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.987.218 2.105.218h9.606c1.118 0 1.677 0 2.104-.218.377-.192.683-.498.875-.874.218-.428.218-.986.218-2.104V7M1 7v-.8c0-1.12 0-1.68.218-2.108.192-.377.497-.682.874-.874C2.52 3 3.08 3 4.2 3H5m12 4v-.803c0-1.118 0-1.678-.218-2.105a2 2 0 0 0-.875-.874C15.48 3 14.92 3 13.8 3H13m0-2v2m0 0H5m0-2v2" })), Bs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), Ys = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), js = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 21 22", fill: "none", ...n }, /* @__PURE__ */ I.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__ */ I.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 })), Hs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.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__ */ I.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" })), zs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 18 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ I.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ I.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), qs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M7.83325 9.83333L11.9999 14L16.1666 9.83333", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M12 14V3.99995", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Vs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), Us = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), $s = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), Qs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Gs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M16 22.4V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M16 9.59961H16.016", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), Ks = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), Xs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Zs = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Js = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 16 16", fill: "none", ...n }, /* @__PURE__ */ I.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" })), el = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), tl = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), nl = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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" })), rl = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), al = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 17 17", fill: "none", ...n }, /* @__PURE__ */ I.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" })), ol = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), il = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "-2 -2 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), sl = (n) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ I.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ I.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ I.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" }));
|
|
23
23
|
var pe = /* @__PURE__ */ ((n) => (n.ChevronDown = "chevronDown", n.Info = "info", n.Plus = "plus", n.SelectChevronDown = "selectChevronDown", n.Upload = "upload", n.Trash = "trash", n.Check = "check", n.Copy = "copy", n.Close = "close", n.PlusSquare = "plusSquare", n.PlusCircle = "plusCircle", n.WarningColor = "warningColor", n.Dots = "dots", n.HistoryClock = "historyClock", n.Minus = "minus", n.TerminalSquare = "terminalSquare", n.File = "file", n.InfoError = "infoError", n.Save = "save", n.Refresh = "refresh", n.Logout = "logout", n.Edit = "edit", n.Download = "download", n.AddUser = "addUser", n.AddFile = "addFile", n.Calendar = "calendar", n.ArrowBottom = "arrowBottom", n))(pe || {});
|
|
24
24
|
const We = (n) => {
|
|
25
25
|
const { name: a, rotate: t, ...e } = n, r = {
|
|
@@ -51,7 +51,7 @@ const We = (n) => {
|
|
|
51
51
|
[pe.Refresh]: tl,
|
|
52
52
|
[pe.Logout]: Ks,
|
|
53
53
|
[pe.Save]: nl,
|
|
54
|
-
[pe.Calendar]:
|
|
54
|
+
[pe.Calendar]: _i,
|
|
55
55
|
[pe.ArrowBottom]: Ws
|
|
56
56
|
};
|
|
57
57
|
return T.createElement(o[a], {
|
|
@@ -76,7 +76,7 @@ const We = (n) => {
|
|
|
76
76
|
spAccordion__childrenWrapper_open: bl,
|
|
77
77
|
spAccordion__content: yl,
|
|
78
78
|
spAccordion__content_open: xl
|
|
79
|
-
},
|
|
79
|
+
}, hw = (n) => {
|
|
80
80
|
const {
|
|
81
81
|
name: a,
|
|
82
82
|
children: t,
|
|
@@ -128,7 +128,7 @@ const We = (n) => {
|
|
|
128
128
|
] }),
|
|
129
129
|
/* @__PURE__ */ M("div", { className: x, children: /* @__PURE__ */ M("div", { className: F, children: t }) })
|
|
130
130
|
] });
|
|
131
|
-
}, kl = "_spinner_1fdbj_43",
|
|
131
|
+
}, kl = "_spinner_1fdbj_43", Qa = {
|
|
132
132
|
spinner: kl,
|
|
133
133
|
"spinner-rotate": "_spinner-rotate_1fdbj_1",
|
|
134
134
|
"spinner-clip": "_spinner-clip_1fdbj_1",
|
|
@@ -141,7 +141,7 @@ const We = (n) => {
|
|
|
141
141
|
return /* @__PURE__ */ M(
|
|
142
142
|
"div",
|
|
143
143
|
{
|
|
144
|
-
className: N(
|
|
144
|
+
className: N(Qa.spinner, Qa[`spinner--${a}`], e),
|
|
145
145
|
"aria-label": "Loading",
|
|
146
146
|
role: "status",
|
|
147
147
|
style: { color: t }
|
|
@@ -286,7 +286,7 @@ const We = (n) => {
|
|
|
286
286
|
}
|
|
287
287
|
)
|
|
288
288
|
] });
|
|
289
|
-
},
|
|
289
|
+
}, vw = (n = {}) => {
|
|
290
290
|
const { initialValue: a = null } = n, [t, e] = Me(a);
|
|
291
291
|
return {
|
|
292
292
|
isOpen: !!t,
|
|
@@ -306,7 +306,7 @@ const We = (n) => {
|
|
|
306
306
|
e(null);
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
|
-
},
|
|
309
|
+
}, gi = ({ children: n, node: a, classNameRoot: t }) => {
|
|
310
310
|
const [e, r] = Me(null);
|
|
311
311
|
return Re(() => {
|
|
312
312
|
if (a) {
|
|
@@ -318,18 +318,18 @@ const We = (n) => {
|
|
|
318
318
|
a || document.body.removeChild(o);
|
|
319
319
|
};
|
|
320
320
|
}, [a, t]), e ? gr.createPortal(n, e) : null;
|
|
321
|
-
}, jl = "_layer_7tkx0_43", Hl = "_layer_hidden_7tkx0_92",
|
|
321
|
+
}, jl = "_layer_7tkx0_43", Hl = "_layer_hidden_7tkx0_92", Ga = {
|
|
322
322
|
layer: jl,
|
|
323
323
|
layer_hidden: Hl
|
|
324
|
-
},
|
|
324
|
+
}, wi = (n) => {
|
|
325
325
|
const {
|
|
326
326
|
children: a,
|
|
327
327
|
zIndex: t = 999,
|
|
328
328
|
isHiddenModal: e = !1,
|
|
329
329
|
classNameRoot: r
|
|
330
330
|
} = n, o = document.body, i = N({
|
|
331
|
-
[
|
|
332
|
-
[
|
|
331
|
+
[Ga.layer]: !0,
|
|
332
|
+
[Ga.layer_hidden]: e,
|
|
333
333
|
...r && { [r]: !0 }
|
|
334
334
|
});
|
|
335
335
|
return Re(() => {
|
|
@@ -337,7 +337,7 @@ const We = (n) => {
|
|
|
337
337
|
return l.style.position = "fixed", l.style.top = `-${s}px`, l.style.left = "0", l.style.right = "0", l.style.overflow = "hidden", () => {
|
|
338
338
|
l.style.position = "", l.style.top = "", l.style.left = "", l.style.right = "", l.style.overflow = "", window.scrollTo(0, s);
|
|
339
339
|
};
|
|
340
|
-
}, []), /* @__PURE__ */ M(
|
|
340
|
+
}, []), /* @__PURE__ */ M(gi, { node: o, children: /* @__PURE__ */ M("div", { style: { zIndex: t }, className: i, children: a }) });
|
|
341
341
|
}, zl = "_spText_ouo6s_43", ql = "_spText_ellipsis_ouo6s_55", Vl = "_spText_cursorPointer_ouo6s_117", An = {
|
|
342
342
|
spText: zl,
|
|
343
343
|
spText_ellipsis: ql,
|
|
@@ -443,7 +443,7 @@ const Ul = "_modalWrapper_1qyrz_43", $l = "_modalWrapper__modal_1qyrz_76", Ql =
|
|
|
443
443
|
[et.modalWrapper__footer]: !0,
|
|
444
444
|
...l && { [l]: !0 }
|
|
445
445
|
});
|
|
446
|
-
return /* @__PURE__ */ M(
|
|
446
|
+
return /* @__PURE__ */ M(wi, { zIndex: a, isHiddenModal: t, classNameRoot: D, children: /* @__PURE__ */ ue("div", { className: E, style: p, children: [
|
|
447
447
|
(v || w) && /* @__PURE__ */ ue("div", { className: F, children: [
|
|
448
448
|
typeof v == "string" ? /* @__PURE__ */ M(pt, { type: "h3", children: v }) : v,
|
|
449
449
|
w && /* @__PURE__ */ M("div", { className: H, children: typeof w == "string" ? /* @__PURE__ */ M(pt, { children: w }) : w })
|
|
@@ -533,7 +533,7 @@ const Ul = "_modalWrapper_1qyrz_43", $l = "_modalWrapper__modal_1qyrz_76", Ql =
|
|
|
533
533
|
) : null
|
|
534
534
|
}
|
|
535
535
|
);
|
|
536
|
-
},
|
|
536
|
+
}, _w = (n) => {
|
|
537
537
|
const {
|
|
538
538
|
children: a,
|
|
539
539
|
isNeedAuthorized: t,
|
|
@@ -567,7 +567,7 @@ const Ul = "_modalWrapper_1qyrz_43", $l = "_modalWrapper__modal_1qyrz_76", Ql =
|
|
|
567
567
|
spBaseTooltip: tc,
|
|
568
568
|
spBaseTooltip_noPadding: nc,
|
|
569
569
|
spBaseTooltip__content: rc
|
|
570
|
-
},
|
|
570
|
+
}, bi = T.forwardRef((n, a) => {
|
|
571
571
|
const {
|
|
572
572
|
text: t,
|
|
573
573
|
noPadding: e = !1,
|
|
@@ -584,7 +584,7 @@ const Ul = "_modalWrapper_1qyrz_43", $l = "_modalWrapper__modal_1qyrz_76", Ql =
|
|
|
584
584
|
});
|
|
585
585
|
return /* @__PURE__ */ M("div", { className: s, ref: a, style: r, children: /* @__PURE__ */ M("div", { className: l, children: t }) });
|
|
586
586
|
});
|
|
587
|
-
|
|
587
|
+
bi.displayName = "BaseTooltip";
|
|
588
588
|
const ac = "_spBreadcrumb_8fr8j_43", oc = "_spBreadcrumb__list_8fr8j_46", ic = "_spBreadcrumb__listItem_8fr8j_56", sc = "_spBreadcrumb__listItem__separator_8fr8j_61", lc = "_spBreadcrumb__listItem__text_8fr8j_73", cc = "_spBreadcrumb__listItem_active_8fr8j_84", nn = {
|
|
589
589
|
spBreadcrumb: ac,
|
|
590
590
|
spBreadcrumb__list: oc,
|
|
@@ -592,7 +592,7 @@ const ac = "_spBreadcrumb_8fr8j_43", oc = "_spBreadcrumb__list_8fr8j_46", ic = "
|
|
|
592
592
|
spBreadcrumb__listItem__separator: sc,
|
|
593
593
|
spBreadcrumb__listItem__text: lc,
|
|
594
594
|
spBreadcrumb__listItem_active: cc
|
|
595
|
-
},
|
|
595
|
+
}, gw = (n) => {
|
|
596
596
|
const {
|
|
597
597
|
classNameRoot: a,
|
|
598
598
|
classNameListRoot: t,
|
|
@@ -630,7 +630,7 @@ function Na(n, a, t = !0) {
|
|
|
630
630
|
};
|
|
631
631
|
}, [n, a, t]);
|
|
632
632
|
}
|
|
633
|
-
const pc = "_spTooltip_1pqws_43", uc = "_spInfoTooltip_1pqws_48",
|
|
633
|
+
const pc = "_spTooltip_1pqws_43", uc = "_spInfoTooltip_1pqws_48", yi = {
|
|
634
634
|
spTooltip: pc,
|
|
635
635
|
spInfoTooltip: uc
|
|
636
636
|
};
|
|
@@ -731,7 +731,7 @@ const wr = (n) => {
|
|
|
731
731
|
}), ae = N({
|
|
732
732
|
...v && { [v]: !0 }
|
|
733
733
|
}), G = N({
|
|
734
|
-
[
|
|
734
|
+
[yi.spTooltip]: !0,
|
|
735
735
|
...l && { [l]: !0 }
|
|
736
736
|
}), te = document.body;
|
|
737
737
|
return /* @__PURE__ */ ue(
|
|
@@ -745,8 +745,8 @@ const wr = (n) => {
|
|
|
745
745
|
style: w,
|
|
746
746
|
children: [
|
|
747
747
|
o,
|
|
748
|
-
r && /* @__PURE__ */ M(
|
|
749
|
-
|
|
748
|
+
r && /* @__PURE__ */ M(gi, { node: te, children: /* @__PURE__ */ M(
|
|
749
|
+
bi,
|
|
750
750
|
{
|
|
751
751
|
style: F,
|
|
752
752
|
ref: E,
|
|
@@ -761,7 +761,7 @@ const wr = (n) => {
|
|
|
761
761
|
);
|
|
762
762
|
}, br = (n) => {
|
|
763
763
|
const a = n.classNameTooltip, t = N({
|
|
764
|
-
[
|
|
764
|
+
[yi.spInfoTooltip]: !0,
|
|
765
765
|
...a && { [a]: !0 }
|
|
766
766
|
});
|
|
767
767
|
return /* @__PURE__ */ M(
|
|
@@ -789,7 +789,7 @@ const wr = (n) => {
|
|
|
789
789
|
spCheckbox__tooltip: yc,
|
|
790
790
|
spCheckbox__required: xc,
|
|
791
791
|
spCheckbox__error: kc
|
|
792
|
-
},
|
|
792
|
+
}, ww = (n) => {
|
|
793
793
|
const {
|
|
794
794
|
size: a = "lg",
|
|
795
795
|
checked: t,
|
|
@@ -855,7 +855,7 @@ const wr = (n) => {
|
|
|
855
855
|
spContextMenu: Dc,
|
|
856
856
|
spContextMenu__item: Cc,
|
|
857
857
|
spContextMenu__item_deleteItem: Sc
|
|
858
|
-
},
|
|
858
|
+
}, bw = (n) => {
|
|
859
859
|
const { onClickItem: a, options: t, classNameRoot: e } = n, r = N({
|
|
860
860
|
[Yr.spContextMenu]: !0,
|
|
861
861
|
...e && { [e]: !0 }
|
|
@@ -1093,9 +1093,9 @@ const Nc = {
|
|
|
1093
1093
|
formats: Pc,
|
|
1094
1094
|
defaultWidth: "any"
|
|
1095
1095
|
})
|
|
1096
|
-
},
|
|
1096
|
+
}, xi = 6048e5, Oc = 864e5, yr = 6e4, xr = 36e5, Rc = 1e3, Ka = Symbol.for("constructDateFrom");
|
|
1097
1097
|
function De(n, a) {
|
|
1098
|
-
return typeof n == "function" ? n(a) : n && typeof n == "object" &&
|
|
1098
|
+
return typeof n == "function" ? n(a) : n && typeof n == "object" && Ka in n ? n[Ka](a) : n instanceof Date ? new n.constructor(a) : new Date(a);
|
|
1099
1099
|
}
|
|
1100
1100
|
function Ct(n, ...a) {
|
|
1101
1101
|
const t = De.bind(
|
|
@@ -1116,7 +1116,7 @@ function dt(n, a) {
|
|
|
1116
1116
|
const t = Zt(), e = (a == null ? void 0 : a.weekStartsOn) ?? ((l = (s = a == null ? void 0 : a.locale) == null ? void 0 : s.options) == null ? void 0 : l.weekStartsOn) ?? t.weekStartsOn ?? ((u = (p = t.locale) == null ? void 0 : p.options) == null ? void 0 : u.weekStartsOn) ?? 0, r = oe(n, a == null ? void 0 : a.in), o = r.getDay(), i = (o < e ? 7 : 0) + o - e;
|
|
1117
1117
|
return r.setDate(r.getDate() - i), r.setHours(0, 0, 0, 0), r;
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function Xa(n, a, t) {
|
|
1120
1120
|
const [e, r] = Ct(
|
|
1121
1121
|
t == null ? void 0 : t.in,
|
|
1122
1122
|
n,
|
|
@@ -1148,7 +1148,7 @@ function Fc(n) {
|
|
|
1148
1148
|
return "'в прошлую " + a + " в' p";
|
|
1149
1149
|
}
|
|
1150
1150
|
}
|
|
1151
|
-
function
|
|
1151
|
+
function Za(n) {
|
|
1152
1152
|
const a = Ta[n];
|
|
1153
1153
|
return n === 2 ? "'во " + a + " в' p" : "'в " + a + " в' p";
|
|
1154
1154
|
}
|
|
@@ -1170,14 +1170,14 @@ function Ac(n) {
|
|
|
1170
1170
|
const Wc = {
|
|
1171
1171
|
lastWeek: (n, a, t) => {
|
|
1172
1172
|
const e = n.getDay();
|
|
1173
|
-
return
|
|
1173
|
+
return Xa(n, a, t) ? Za(e) : Fc(e);
|
|
1174
1174
|
},
|
|
1175
1175
|
yesterday: "'вчера в' p",
|
|
1176
1176
|
today: "'сегодня в' p",
|
|
1177
1177
|
tomorrow: "'завтра в' p",
|
|
1178
1178
|
nextWeek: (n, a, t) => {
|
|
1179
1179
|
const e = n.getDay();
|
|
1180
|
-
return
|
|
1180
|
+
return Xa(n, a, t) ? Za(e) : Ac(e);
|
|
1181
1181
|
},
|
|
1182
1182
|
other: "P"
|
|
1183
1183
|
}, Bc = (n, a, t, e) => {
|
|
@@ -1402,7 +1402,7 @@ function Kc(n, a) {
|
|
|
1402
1402
|
if (a(n[t]))
|
|
1403
1403
|
return t;
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1405
|
+
function ki(n) {
|
|
1406
1406
|
return (a, t = {}) => {
|
|
1407
1407
|
const e = a.match(n.matchPattern);
|
|
1408
1408
|
if (!e) return null;
|
|
@@ -1483,7 +1483,7 @@ const Xc = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i, Zc
|
|
|
1483
1483
|
night: /^н/i
|
|
1484
1484
|
}
|
|
1485
1485
|
}, cp = {
|
|
1486
|
-
ordinalNumber:
|
|
1486
|
+
ordinalNumber: ki({
|
|
1487
1487
|
matchPattern: Xc,
|
|
1488
1488
|
parsePattern: Zc,
|
|
1489
1489
|
valueCallback: (n) => parseInt(n, 10)
|
|
@@ -1549,16 +1549,16 @@ function ft(n, a, t) {
|
|
|
1549
1549
|
r
|
|
1550
1550
|
), e);
|
|
1551
1551
|
}
|
|
1552
|
-
function
|
|
1552
|
+
function Di(n, a, t) {
|
|
1553
1553
|
return De(n, +oe(n) + a);
|
|
1554
1554
|
}
|
|
1555
1555
|
function up(n, a, t) {
|
|
1556
|
-
return
|
|
1556
|
+
return Di(n, a * xr);
|
|
1557
1557
|
}
|
|
1558
1558
|
function cn(n, a) {
|
|
1559
1559
|
return dt(n, { ...a, weekStartsOn: 1 });
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function Ci(n, a) {
|
|
1562
1562
|
const t = oe(n, a == null ? void 0 : a.in), e = t.getFullYear(), r = De(t, 0);
|
|
1563
1563
|
r.setFullYear(e + 1, 0, 4), r.setHours(0, 0, 0, 0);
|
|
1564
1564
|
const o = cn(r), i = De(t, 0);
|
|
@@ -1593,7 +1593,7 @@ function pn(n, a, t) {
|
|
|
1593
1593
|
return Math.round((s - l) / Oc);
|
|
1594
1594
|
}
|
|
1595
1595
|
function dp(n, a) {
|
|
1596
|
-
const t =
|
|
1596
|
+
const t = Ci(n, a), e = De(n, 0);
|
|
1597
1597
|
return e.setFullYear(t, 0, 4), e.setHours(0, 0, 0, 0), cn(e);
|
|
1598
1598
|
}
|
|
1599
1599
|
function da(n, a, t) {
|
|
@@ -1604,7 +1604,7 @@ function Pa(n, a, t) {
|
|
|
1604
1604
|
return ft(n, a * 3, t);
|
|
1605
1605
|
}
|
|
1606
1606
|
function fp(n, a, t) {
|
|
1607
|
-
return
|
|
1607
|
+
return Di(n, a * 1e3);
|
|
1608
1608
|
}
|
|
1609
1609
|
function rr(n, a, t) {
|
|
1610
1610
|
return ut(n, a * 7, t);
|
|
@@ -1612,7 +1612,7 @@ function rr(n, a, t) {
|
|
|
1612
1612
|
function Nt(n, a, t) {
|
|
1613
1613
|
return ft(n, a * 12, t);
|
|
1614
1614
|
}
|
|
1615
|
-
function
|
|
1615
|
+
function Ja(n, a) {
|
|
1616
1616
|
let t, e = a == null ? void 0 : a.in;
|
|
1617
1617
|
return n.forEach((r) => {
|
|
1618
1618
|
!e && typeof r == "object" && (e = De.bind(null, r));
|
|
@@ -1620,7 +1620,7 @@ function eo(n, a) {
|
|
|
1620
1620
|
(!t || t < o || isNaN(+o)) && (t = o);
|
|
1621
1621
|
}), De(e, t || NaN);
|
|
1622
1622
|
}
|
|
1623
|
-
function
|
|
1623
|
+
function eo(n, a) {
|
|
1624
1624
|
let t, e = a == null ? void 0 : a.in;
|
|
1625
1625
|
return n.forEach((r) => {
|
|
1626
1626
|
!e && typeof r == "object" && (e = De.bind(null, r));
|
|
@@ -1675,22 +1675,22 @@ function hp(n, a, t) {
|
|
|
1675
1675
|
t == null ? void 0 : t.in,
|
|
1676
1676
|
n,
|
|
1677
1677
|
a
|
|
1678
|
-
), o =
|
|
1678
|
+
), o = to(e, r), i = Math.abs(
|
|
1679
1679
|
pn(e, r)
|
|
1680
1680
|
);
|
|
1681
1681
|
e.setDate(e.getDate() - o * i);
|
|
1682
|
-
const s = +(
|
|
1682
|
+
const s = +(to(e, r) === -o), l = o * (i - s);
|
|
1683
1683
|
return l === 0 ? 0 : l;
|
|
1684
1684
|
}
|
|
1685
|
-
function
|
|
1685
|
+
function to(n, a) {
|
|
1686
1686
|
const t = n.getFullYear() - a.getFullYear() || n.getMonth() - a.getMonth() || n.getDate() - a.getDate() || n.getHours() - a.getHours() || n.getMinutes() - a.getMinutes() || n.getSeconds() - a.getSeconds() || n.getMilliseconds() - a.getMilliseconds();
|
|
1687
1687
|
return t < 0 ? -1 : t > 0 ? 1 : t;
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1689
|
+
function Si(n, a) {
|
|
1690
1690
|
const t = oe(n, a == null ? void 0 : a.in);
|
|
1691
1691
|
return t.setHours(23, 59, 59, 999), t;
|
|
1692
1692
|
}
|
|
1693
|
-
function
|
|
1693
|
+
function Mi(n, a) {
|
|
1694
1694
|
const t = oe(n, a == null ? void 0 : a.in), e = t.getMonth();
|
|
1695
1695
|
return t.setFullYear(t.getFullYear(), e + 1, 0), t.setHours(23, 59, 59, 999), t;
|
|
1696
1696
|
}
|
|
@@ -1698,11 +1698,11 @@ function fa(n, a) {
|
|
|
1698
1698
|
const t = oe(n, a == null ? void 0 : a.in), e = t.getMonth(), r = e - e % 3;
|
|
1699
1699
|
return t.setMonth(r, 1), t.setHours(0, 0, 0, 0), t;
|
|
1700
1700
|
}
|
|
1701
|
-
function
|
|
1701
|
+
function Ei(n, a) {
|
|
1702
1702
|
const t = oe(n, a == null ? void 0 : a.in);
|
|
1703
1703
|
return t.setDate(1), t.setHours(0, 0, 0, 0), t;
|
|
1704
1704
|
}
|
|
1705
|
-
function
|
|
1705
|
+
function Ni(n, a) {
|
|
1706
1706
|
const t = oe(n, a == null ? void 0 : a.in), e = t.getFullYear();
|
|
1707
1707
|
return t.setFullYear(e + 1, 0, 0), t.setHours(23, 59, 59, 999), t;
|
|
1708
1708
|
}
|
|
@@ -2034,7 +2034,7 @@ const _p = {
|
|
|
2034
2034
|
night: /night/i
|
|
2035
2035
|
}
|
|
2036
2036
|
}, Vp = {
|
|
2037
|
-
ordinalNumber:
|
|
2037
|
+
ordinalNumber: ki({
|
|
2038
2038
|
matchPattern: Op,
|
|
2039
2039
|
parsePattern: Rp,
|
|
2040
2040
|
valueCallback: (n) => parseInt(n, 10)
|
|
@@ -2070,7 +2070,7 @@ const _p = {
|
|
|
2070
2070
|
parsePatterns: qp,
|
|
2071
2071
|
defaultParseWidth: "any"
|
|
2072
2072
|
})
|
|
2073
|
-
},
|
|
2073
|
+
}, Ti = {
|
|
2074
2074
|
code: "en-US",
|
|
2075
2075
|
formatDistance: gp,
|
|
2076
2076
|
formatLong: xp,
|
|
@@ -2088,7 +2088,7 @@ function Up(n, a) {
|
|
|
2088
2088
|
}
|
|
2089
2089
|
function Ia(n, a) {
|
|
2090
2090
|
const t = oe(n, a == null ? void 0 : a.in), e = +cn(t) - +dp(t);
|
|
2091
|
-
return Math.round(e /
|
|
2091
|
+
return Math.round(e / xi) + 1;
|
|
2092
2092
|
}
|
|
2093
2093
|
function Oa(n, a) {
|
|
2094
2094
|
var u, d, m, v;
|
|
@@ -2104,9 +2104,9 @@ function $p(n, a) {
|
|
|
2104
2104
|
const t = Zt(), e = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((l = (s = a == null ? void 0 : a.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((u = (p = t.locale) == null ? void 0 : p.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, r = Oa(n, a), o = De((a == null ? void 0 : a.in) || n, 0);
|
|
2105
2105
|
return o.setFullYear(r, 0, e), o.setHours(0, 0, 0, 0), dt(o, a);
|
|
2106
2106
|
}
|
|
2107
|
-
function
|
|
2107
|
+
function Pi(n, a) {
|
|
2108
2108
|
const t = oe(n, a == null ? void 0 : a.in), e = +dt(t, a) - +$p(t, a);
|
|
2109
|
-
return Math.round(e /
|
|
2109
|
+
return Math.round(e / xi) + 1;
|
|
2110
2110
|
}
|
|
2111
2111
|
function ke(n, a) {
|
|
2112
2112
|
const t = n < 0 ? "-" : "", e = Math.abs(n).toString().padStart(a, "0");
|
|
@@ -2173,7 +2173,7 @@ const Rt = {
|
|
|
2173
2173
|
afternoon: "afternoon",
|
|
2174
2174
|
evening: "evening",
|
|
2175
2175
|
night: "night"
|
|
2176
|
-
},
|
|
2176
|
+
}, no = {
|
|
2177
2177
|
// Era
|
|
2178
2178
|
G: function(n, a, t) {
|
|
2179
2179
|
const e = n.getFullYear() > 0 ? 1 : 0;
|
|
@@ -2208,7 +2208,7 @@ const Rt = {
|
|
|
2208
2208
|
},
|
|
2209
2209
|
// ISO week-numbering year
|
|
2210
2210
|
R: function(n, a) {
|
|
2211
|
-
const t =
|
|
2211
|
+
const t = Ci(n);
|
|
2212
2212
|
return ke(t, a.length);
|
|
2213
2213
|
},
|
|
2214
2214
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -2331,7 +2331,7 @@ const Rt = {
|
|
|
2331
2331
|
},
|
|
2332
2332
|
// Local week of year
|
|
2333
2333
|
w: function(n, a, t, e) {
|
|
2334
|
-
const r =
|
|
2334
|
+
const r = Pi(n, e);
|
|
2335
2335
|
return a === "wo" ? t.ordinalNumber(r, { unit: "week" }) : ke(r, a.length);
|
|
2336
2336
|
},
|
|
2337
2337
|
// ISO week of year
|
|
@@ -2599,7 +2599,7 @@ const Rt = {
|
|
|
2599
2599
|
return "Z";
|
|
2600
2600
|
switch (a) {
|
|
2601
2601
|
case "X":
|
|
2602
|
-
return
|
|
2602
|
+
return ao(e);
|
|
2603
2603
|
case "XXXX":
|
|
2604
2604
|
case "XX":
|
|
2605
2605
|
return Ht(e);
|
|
@@ -2614,7 +2614,7 @@ const Rt = {
|
|
|
2614
2614
|
const e = n.getTimezoneOffset();
|
|
2615
2615
|
switch (a) {
|
|
2616
2616
|
case "x":
|
|
2617
|
-
return
|
|
2617
|
+
return ao(e);
|
|
2618
2618
|
case "xxxx":
|
|
2619
2619
|
case "xx":
|
|
2620
2620
|
return Ht(e);
|
|
@@ -2631,7 +2631,7 @@ const Rt = {
|
|
|
2631
2631
|
case "O":
|
|
2632
2632
|
case "OO":
|
|
2633
2633
|
case "OOO":
|
|
2634
|
-
return "GMT" +
|
|
2634
|
+
return "GMT" + ro(e, ":");
|
|
2635
2635
|
case "OOOO":
|
|
2636
2636
|
default:
|
|
2637
2637
|
return "GMT" + Ht(e, ":");
|
|
@@ -2644,7 +2644,7 @@ const Rt = {
|
|
|
2644
2644
|
case "z":
|
|
2645
2645
|
case "zz":
|
|
2646
2646
|
case "zzz":
|
|
2647
|
-
return "GMT" +
|
|
2647
|
+
return "GMT" + ro(e, ":");
|
|
2648
2648
|
case "zzzz":
|
|
2649
2649
|
default:
|
|
2650
2650
|
return "GMT" + Ht(e, ":");
|
|
@@ -2660,18 +2660,18 @@ const Rt = {
|
|
|
2660
2660
|
return ke(+n, a.length);
|
|
2661
2661
|
}
|
|
2662
2662
|
};
|
|
2663
|
-
function
|
|
2663
|
+
function ro(n, a = "") {
|
|
2664
2664
|
const t = n > 0 ? "-" : "+", e = Math.abs(n), r = Math.trunc(e / 60), o = e % 60;
|
|
2665
2665
|
return o === 0 ? t + String(r) : t + String(r) + a + ke(o, 2);
|
|
2666
2666
|
}
|
|
2667
|
-
function
|
|
2667
|
+
function ao(n, a) {
|
|
2668
2668
|
return n % 60 === 0 ? (n > 0 ? "-" : "+") + ke(Math.abs(n) / 60, 2) : Ht(n, a);
|
|
2669
2669
|
}
|
|
2670
2670
|
function Ht(n, a = "") {
|
|
2671
2671
|
const t = n > 0 ? "-" : "+", e = Math.abs(n), r = ke(Math.trunc(e / 60), 2), o = ke(e % 60, 2);
|
|
2672
2672
|
return t + r + a + o;
|
|
2673
2673
|
}
|
|
2674
|
-
const
|
|
2674
|
+
const oo = (n, a) => {
|
|
2675
2675
|
switch (n) {
|
|
2676
2676
|
case "P":
|
|
2677
2677
|
return a.date({ width: "short" });
|
|
@@ -2683,7 +2683,7 @@ const io = (n, a) => {
|
|
|
2683
2683
|
default:
|
|
2684
2684
|
return a.date({ width: "full" });
|
|
2685
2685
|
}
|
|
2686
|
-
},
|
|
2686
|
+
}, Ii = (n, a) => {
|
|
2687
2687
|
switch (n) {
|
|
2688
2688
|
case "p":
|
|
2689
2689
|
return a.time({ width: "short" });
|
|
@@ -2698,7 +2698,7 @@ const io = (n, a) => {
|
|
|
2698
2698
|
}, Qp = (n, a) => {
|
|
2699
2699
|
const t = n.match(/(P+)(p+)?/) || [], e = t[1], r = t[2];
|
|
2700
2700
|
if (!r)
|
|
2701
|
-
return
|
|
2701
|
+
return oo(n, a);
|
|
2702
2702
|
let o;
|
|
2703
2703
|
switch (e) {
|
|
2704
2704
|
case "P":
|
|
@@ -2715,9 +2715,9 @@ const io = (n, a) => {
|
|
|
2715
2715
|
o = a.dateTime({ width: "full" });
|
|
2716
2716
|
break;
|
|
2717
2717
|
}
|
|
2718
|
-
return o.replace("{{date}}",
|
|
2718
|
+
return o.replace("{{date}}", oo(e, a)).replace("{{time}}", Ii(r, a));
|
|
2719
2719
|
}, ma = {
|
|
2720
|
-
p:
|
|
2720
|
+
p: Ii,
|
|
2721
2721
|
P: Qp
|
|
2722
2722
|
}, Gp = /^D+$/, Kp = /^Y+$/, Xp = ["D", "DD", "YY", "YYYY"];
|
|
2723
2723
|
function Zp(n) {
|
|
@@ -2735,9 +2735,9 @@ function tu(n, a, t) {
|
|
|
2735
2735
|
return `Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${a}\`) for formatting ${e} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
2736
2736
|
}
|
|
2737
2737
|
const nu = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ru = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, au = /^'([^]*?)'?$/, ou = /''/g, iu = /[a-zA-Z]/;
|
|
2738
|
-
function
|
|
2738
|
+
function io(n, a, t) {
|
|
2739
2739
|
var u, d, m, v, w, b, y, D;
|
|
2740
|
-
const e = Zt(), r = (t == null ? void 0 : t.locale) ?? e.locale ??
|
|
2740
|
+
const e = Zt(), r = (t == null ? void 0 : t.locale) ?? e.locale ?? Ti, o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((d = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : d.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((v = (m = e.locale) == null ? void 0 : m.options) == null ? void 0 : v.firstWeekContainsDate) ?? 1, i = (t == null ? void 0 : t.weekStartsOn) ?? ((b = (w = t == null ? void 0 : t.locale) == null ? void 0 : w.options) == null ? void 0 : b.weekStartsOn) ?? e.weekStartsOn ?? ((D = (y = e.locale) == null ? void 0 : y.options) == null ? void 0 : D.weekStartsOn) ?? 0, s = oe(n, t == null ? void 0 : t.in);
|
|
2741
2741
|
if (!ar(s))
|
|
2742
2742
|
throw new RangeError("Invalid time value");
|
|
2743
2743
|
let l = a.match(ru).map((E) => {
|
|
@@ -2753,7 +2753,7 @@ function so(n, a, t) {
|
|
|
2753
2753
|
const S = E[0];
|
|
2754
2754
|
if (S === "'")
|
|
2755
2755
|
return { isToken: !1, value: su(E) };
|
|
2756
|
-
if (
|
|
2756
|
+
if (no[S])
|
|
2757
2757
|
return { isToken: !0, value: E };
|
|
2758
2758
|
if (S.match(iu))
|
|
2759
2759
|
throw new RangeError(
|
|
@@ -2771,7 +2771,7 @@ function so(n, a, t) {
|
|
|
2771
2771
|
if (!E.isToken) return E.value;
|
|
2772
2772
|
const S = E.value;
|
|
2773
2773
|
(!(t != null && t.useAdditionalWeekYearTokens) && Jp(S) || !(t != null && t.useAdditionalDayOfYearTokens) && Zp(S)) && eu(S, a, String(n));
|
|
2774
|
-
const C =
|
|
2774
|
+
const C = no[S[0]];
|
|
2775
2775
|
return C(s, S, r.localize, p);
|
|
2776
2776
|
}).join("");
|
|
2777
2777
|
}
|
|
@@ -2779,7 +2779,7 @@ function su(n) {
|
|
|
2779
2779
|
const a = n.match(au);
|
|
2780
2780
|
return a ? a[1].replace(ou, "'") : n;
|
|
2781
2781
|
}
|
|
2782
|
-
function
|
|
2782
|
+
function so(n, a) {
|
|
2783
2783
|
return oe(n, a == null ? void 0 : a.in).getDate();
|
|
2784
2784
|
}
|
|
2785
2785
|
function lu(n, a) {
|
|
@@ -2837,7 +2837,7 @@ function mu(n) {
|
|
|
2837
2837
|
return typeof n == "function" && ((a = n.prototype) == null ? void 0 : a.constructor) === n;
|
|
2838
2838
|
}
|
|
2839
2839
|
const hu = 10;
|
|
2840
|
-
class
|
|
2840
|
+
class Oi {
|
|
2841
2841
|
constructor() {
|
|
2842
2842
|
ne(this, "subPriority", 0);
|
|
2843
2843
|
}
|
|
@@ -2845,7 +2845,7 @@ class Ri {
|
|
|
2845
2845
|
return !0;
|
|
2846
2846
|
}
|
|
2847
2847
|
}
|
|
2848
|
-
class vu extends
|
|
2848
|
+
class vu extends Oi {
|
|
2849
2849
|
constructor(a, t, e, r, o) {
|
|
2850
2850
|
super(), this.value = a, this.validateValue = t, this.setValue = e, this.priority = r, o && (this.subPriority = o);
|
|
2851
2851
|
}
|
|
@@ -2856,7 +2856,7 @@ class vu extends Ri {
|
|
|
2856
2856
|
return this.setValue(a, t, this.value, e);
|
|
2857
2857
|
}
|
|
2858
2858
|
}
|
|
2859
|
-
class _u extends
|
|
2859
|
+
class _u extends Oi {
|
|
2860
2860
|
constructor(t, e) {
|
|
2861
2861
|
super();
|
|
2862
2862
|
ne(this, "priority", hu);
|
|
@@ -2981,7 +2981,7 @@ function bt(n, a) {
|
|
|
2981
2981
|
rest: a.slice(t[0].length)
|
|
2982
2982
|
};
|
|
2983
2983
|
}
|
|
2984
|
-
function
|
|
2984
|
+
function Ri(n) {
|
|
2985
2985
|
return Ne(Ie.anyDigitsSigned, n);
|
|
2986
2986
|
}
|
|
2987
2987
|
function Te(n, a) {
|
|
@@ -3029,7 +3029,7 @@ function Ra(n) {
|
|
|
3029
3029
|
return 0;
|
|
3030
3030
|
}
|
|
3031
3031
|
}
|
|
3032
|
-
function
|
|
3032
|
+
function Li(n, a) {
|
|
3033
3033
|
const t = a > 0, e = t ? a : 1 - a;
|
|
3034
3034
|
let r;
|
|
3035
3035
|
if (e <= 50)
|
|
@@ -3040,7 +3040,7 @@ function Fi(n, a) {
|
|
|
3040
3040
|
}
|
|
3041
3041
|
return t ? r : 1 - r;
|
|
3042
3042
|
}
|
|
3043
|
-
function
|
|
3043
|
+
function Fi(n) {
|
|
3044
3044
|
return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
|
|
3045
3045
|
}
|
|
3046
3046
|
class wu extends we {
|
|
@@ -3074,7 +3074,7 @@ class wu extends we {
|
|
|
3074
3074
|
set(t, e, r) {
|
|
3075
3075
|
const o = t.getFullYear();
|
|
3076
3076
|
if (r.isTwoDigitYear) {
|
|
3077
|
-
const s =
|
|
3077
|
+
const s = Li(
|
|
3078
3078
|
r.year,
|
|
3079
3079
|
o
|
|
3080
3080
|
);
|
|
@@ -3129,7 +3129,7 @@ class bu extends we {
|
|
|
3129
3129
|
set(t, e, r, o) {
|
|
3130
3130
|
const i = Oa(t, o);
|
|
3131
3131
|
if (r.isTwoDigitYear) {
|
|
3132
|
-
const l =
|
|
3132
|
+
const l = Li(
|
|
3133
3133
|
r.year,
|
|
3134
3134
|
i
|
|
3135
3135
|
);
|
|
@@ -3435,7 +3435,7 @@ class Su extends we {
|
|
|
3435
3435
|
}
|
|
3436
3436
|
}
|
|
3437
3437
|
function Mu(n, a, t) {
|
|
3438
|
-
const e = oe(n, t == null ? void 0 : t.in), r =
|
|
3438
|
+
const e = oe(n, t == null ? void 0 : t.in), r = Pi(e, t) - a;
|
|
3439
3439
|
return e.setDate(e.getDate() - r * 7), oe(e, t == null ? void 0 : t.in);
|
|
3440
3440
|
}
|
|
3441
3441
|
class Eu extends we {
|
|
@@ -3562,7 +3562,7 @@ class Ou extends we {
|
|
|
3562
3562
|
}
|
|
3563
3563
|
}
|
|
3564
3564
|
validate(t, e) {
|
|
3565
|
-
const r = t.getFullYear(), o =
|
|
3565
|
+
const r = t.getFullYear(), o = Fi(r), i = t.getMonth();
|
|
3566
3566
|
return o ? e >= 1 && e <= Iu[i] : e >= 1 && e <= Pu[i];
|
|
3567
3567
|
}
|
|
3568
3568
|
set(t, e, r) {
|
|
@@ -3605,7 +3605,7 @@ class Ru extends we {
|
|
|
3605
3605
|
}
|
|
3606
3606
|
validate(t, e) {
|
|
3607
3607
|
const r = t.getFullYear();
|
|
3608
|
-
return
|
|
3608
|
+
return Fi(r) ? e >= 1 && e <= 366 : e >= 1 && e <= 365;
|
|
3609
3609
|
}
|
|
3610
3610
|
set(t, e, r) {
|
|
3611
3611
|
return t.setMonth(0, r), t.setHours(0, 0, 0, 0), t;
|
|
@@ -4235,7 +4235,7 @@ class Zu extends we {
|
|
|
4235
4235
|
ne(this, "incompatibleTokens", "*");
|
|
4236
4236
|
}
|
|
4237
4237
|
parse(t) {
|
|
4238
|
-
return
|
|
4238
|
+
return Ri(t);
|
|
4239
4239
|
}
|
|
4240
4240
|
set(t, e, r) {
|
|
4241
4241
|
return [De(t, r * 1e3), { timestampIsSet: !0 }];
|
|
@@ -4248,7 +4248,7 @@ class Ju extends we {
|
|
|
4248
4248
|
ne(this, "incompatibleTokens", "*");
|
|
4249
4249
|
}
|
|
4250
4250
|
parse(t) {
|
|
4251
|
-
return
|
|
4251
|
+
return Ri(t);
|
|
4252
4252
|
}
|
|
4253
4253
|
set(t, e, r) {
|
|
4254
4254
|
return [De(t, r), { timestampIsSet: !0 }];
|
|
@@ -4289,7 +4289,7 @@ const ed = {
|
|
|
4289
4289
|
}, td = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, nd = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, rd = /^'([^]*?)'?$/, ad = /''/g, od = /\S/, id = /[a-zA-Z]/;
|
|
4290
4290
|
function sd(n, a, t, e) {
|
|
4291
4291
|
var y, D, E, S, C, x, F, H;
|
|
4292
|
-
const r = () => De((e == null ? void 0 : e.in) || t, NaN), o = pu(), i = (e == null ? void 0 : e.locale) ?? o.locale ??
|
|
4292
|
+
const r = () => De((e == null ? void 0 : e.in) || t, NaN), o = pu(), i = (e == null ? void 0 : e.locale) ?? o.locale ?? Ti, s = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((D = (y = e == null ? void 0 : e.locale) == null ? void 0 : y.options) == null ? void 0 : D.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((S = (E = o.locale) == null ? void 0 : E.options) == null ? void 0 : S.firstWeekContainsDate) ?? 1, l = (e == null ? void 0 : e.weekStartsOn) ?? ((x = (C = e == null ? void 0 : e.locale) == null ? void 0 : C.options) == null ? void 0 : x.weekStartsOn) ?? o.weekStartsOn ?? ((H = (F = o.locale) == null ? void 0 : F.options) == null ? void 0 : H.weekStartsOn) ?? 0;
|
|
4293
4293
|
if (!a)
|
|
4294
4294
|
return n ? r() : oe(t, e == null ? void 0 : e.in);
|
|
4295
4295
|
const p = {
|
|
@@ -4491,14 +4491,14 @@ function xd(n, a, t) {
|
|
|
4491
4491
|
return e.setUTCDate(e.getUTCDate() + o), e;
|
|
4492
4492
|
}
|
|
4493
4493
|
const kd = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
4494
|
-
function
|
|
4494
|
+
function Ai(n) {
|
|
4495
4495
|
return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
|
|
4496
4496
|
}
|
|
4497
4497
|
function Dd(n, a, t) {
|
|
4498
|
-
return a >= 0 && a <= 11 && t >= 1 && t <= (kd[a] || (
|
|
4498
|
+
return a >= 0 && a <= 11 && t >= 1 && t <= (kd[a] || (Ai(n) ? 29 : 28));
|
|
4499
4499
|
}
|
|
4500
4500
|
function Cd(n, a) {
|
|
4501
|
-
return a >= 1 && a <= (
|
|
4501
|
+
return a >= 1 && a <= (Ai(n) ? 366 : 365);
|
|
4502
4502
|
}
|
|
4503
4503
|
function Sd(n, a, t) {
|
|
4504
4504
|
return a >= 1 && a <= 53 && t >= 0 && t <= 6;
|
|
@@ -4538,10 +4538,10 @@ function ht(n, a, t) {
|
|
|
4538
4538
|
function Qt(n, a, t) {
|
|
4539
4539
|
return ft(n, -a, t);
|
|
4540
4540
|
}
|
|
4541
|
-
function
|
|
4541
|
+
function Wi(n, a, t) {
|
|
4542
4542
|
return Pa(n, -1, t);
|
|
4543
4543
|
}
|
|
4544
|
-
function
|
|
4544
|
+
function lo(n, a, t) {
|
|
4545
4545
|
return rr(n, -1, t);
|
|
4546
4546
|
}
|
|
4547
4547
|
function un(n, a, t) {
|
|
@@ -4551,7 +4551,7 @@ function Dr() {
|
|
|
4551
4551
|
return typeof window < "u";
|
|
4552
4552
|
}
|
|
4553
4553
|
function _n(n) {
|
|
4554
|
-
return
|
|
4554
|
+
return Bi(n) ? (n.nodeName || "").toLowerCase() : "#document";
|
|
4555
4555
|
}
|
|
4556
4556
|
function tt(n) {
|
|
4557
4557
|
var a;
|
|
@@ -4559,9 +4559,9 @@ function tt(n) {
|
|
|
4559
4559
|
}
|
|
4560
4560
|
function St(n) {
|
|
4561
4561
|
var a;
|
|
4562
|
-
return (a = (
|
|
4562
|
+
return (a = (Bi(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : a.documentElement;
|
|
4563
4563
|
}
|
|
4564
|
-
function
|
|
4564
|
+
function Bi(n) {
|
|
4565
4565
|
return Dr() ? n instanceof Node || n instanceof tt(n).Node : !1;
|
|
4566
4566
|
}
|
|
4567
4567
|
function $e(n) {
|
|
@@ -4570,7 +4570,7 @@ function $e(n) {
|
|
|
4570
4570
|
function Dt(n) {
|
|
4571
4571
|
return Dr() ? n instanceof HTMLElement || n instanceof tt(n).HTMLElement : !1;
|
|
4572
4572
|
}
|
|
4573
|
-
function
|
|
4573
|
+
function co(n) {
|
|
4574
4574
|
return !Dr() || typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof tt(n).ShadowRoot;
|
|
4575
4575
|
}
|
|
4576
4576
|
const Nd = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
@@ -4639,19 +4639,19 @@ function Yt(n) {
|
|
|
4639
4639
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
4640
4640
|
n.assignedSlot || // DOM Element detected.
|
|
4641
4641
|
n.parentNode || // ShadowRoot detected.
|
|
4642
|
-
|
|
4642
|
+
co(n) && n.host || // Fallback.
|
|
4643
4643
|
St(n)
|
|
4644
4644
|
);
|
|
4645
|
-
return
|
|
4645
|
+
return co(a) ? a.host : a;
|
|
4646
4646
|
}
|
|
4647
|
-
function
|
|
4647
|
+
function Yi(n) {
|
|
4648
4648
|
const a = Yt(n);
|
|
4649
|
-
return dn(a) ? n.ownerDocument ? n.ownerDocument.body : n.body : Dt(a) && In(a) ? a :
|
|
4649
|
+
return dn(a) ? n.ownerDocument ? n.ownerDocument.body : n.body : Dt(a) && In(a) ? a : Yi(a);
|
|
4650
4650
|
}
|
|
4651
4651
|
function Nn(n, a, t) {
|
|
4652
4652
|
var e;
|
|
4653
4653
|
a === void 0 && (a = []), t === void 0 && (t = !0);
|
|
4654
|
-
const r =
|
|
4654
|
+
const r = Yi(n), o = r === ((e = n.ownerDocument) == null ? void 0 : e.body), i = tt(r);
|
|
4655
4655
|
if (o) {
|
|
4656
4656
|
const s = va(i);
|
|
4657
4657
|
return a.concat(i, i.visualViewport || [], In(r) ? r : [], s && t ? Nn(s) : []);
|
|
@@ -4711,12 +4711,12 @@ function qd(n) {
|
|
|
4711
4711
|
function _a(n) {
|
|
4712
4712
|
return n.replace(/start|end/g, (a) => Bd[a]);
|
|
4713
4713
|
}
|
|
4714
|
-
const
|
|
4714
|
+
const po = ["left", "right"], uo = ["right", "left"], Vd = ["top", "bottom"], Ud = ["bottom", "top"];
|
|
4715
4715
|
function $d(n, a, t) {
|
|
4716
4716
|
switch (n) {
|
|
4717
4717
|
case "top":
|
|
4718
4718
|
case "bottom":
|
|
4719
|
-
return t ? a ?
|
|
4719
|
+
return t ? a ? uo : po : a ? po : uo;
|
|
4720
4720
|
case "left":
|
|
4721
4721
|
case "right":
|
|
4722
4722
|
return a ? Vd : Ud;
|
|
@@ -4741,7 +4741,7 @@ function Gd(n) {
|
|
|
4741
4741
|
...n
|
|
4742
4742
|
};
|
|
4743
4743
|
}
|
|
4744
|
-
function
|
|
4744
|
+
function ji(n) {
|
|
4745
4745
|
return typeof n != "number" ? Gd(n) : {
|
|
4746
4746
|
top: n,
|
|
4747
4747
|
right: n,
|
|
@@ -4785,7 +4785,7 @@ function tf(n) {
|
|
|
4785
4785
|
return a.current == null ? void 0 : a.current(...e);
|
|
4786
4786
|
}, []);
|
|
4787
4787
|
}
|
|
4788
|
-
function
|
|
4788
|
+
function fo(n, a, t) {
|
|
4789
4789
|
let {
|
|
4790
4790
|
reference: e,
|
|
4791
4791
|
floating: r
|
|
@@ -4847,7 +4847,7 @@ const nf = async (n, a, t) => {
|
|
|
4847
4847
|
}), {
|
|
4848
4848
|
x: u,
|
|
4849
4849
|
y: d
|
|
4850
|
-
} =
|
|
4850
|
+
} = fo(p, e, l), m = e, v = {}, w = 0;
|
|
4851
4851
|
for (let b = 0; b < s.length; b++) {
|
|
4852
4852
|
const {
|
|
4853
4853
|
name: y,
|
|
@@ -4884,7 +4884,7 @@ const nf = async (n, a, t) => {
|
|
|
4884
4884
|
}) : x.rects), {
|
|
4885
4885
|
x: u,
|
|
4886
4886
|
y: d
|
|
4887
|
-
} =
|
|
4887
|
+
} = fo(p, m, l)), b = -1);
|
|
4888
4888
|
}
|
|
4889
4889
|
return {
|
|
4890
4890
|
x: u,
|
|
@@ -4910,7 +4910,7 @@ async function rf(n, a) {
|
|
|
4910
4910
|
elementContext: d = "floating",
|
|
4911
4911
|
altBoundary: m = !1,
|
|
4912
4912
|
padding: v = 0
|
|
4913
|
-
} = Mr(a, n), w =
|
|
4913
|
+
} = Mr(a, n), w = ji(v), y = s[m ? d === "floating" ? "reference" : "floating" : d], D = ur(await o.getClippingRect({
|
|
4914
4914
|
element: (t = await (o.isElement == null ? void 0 : o.isElement(y))) == null || t ? y : y.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(s.floating)),
|
|
4915
4915
|
boundary: p,
|
|
4916
4916
|
rootBoundary: u,
|
|
@@ -4957,7 +4957,7 @@ const af = (n) => ({
|
|
|
4957
4957
|
} = Mr(n, a) || {};
|
|
4958
4958
|
if (p == null)
|
|
4959
4959
|
return {};
|
|
4960
|
-
const d =
|
|
4960
|
+
const d = ji(u), m = {
|
|
4961
4961
|
x: t,
|
|
4962
4962
|
y: e
|
|
4963
4963
|
}, v = Ba(r), w = Wa(v), b = await i.getDimensions(p), y = v === "y", D = y ? "top" : "left", E = y ? "bottom" : "right", S = y ? "clientHeight" : "clientWidth", C = o.reference[w] + o.reference[v] - m[v] - o.floating[w], x = m[v] - o.reference[v], F = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(p));
|
|
@@ -5108,7 +5108,7 @@ const cf = function(n) {
|
|
|
5108
5108
|
}
|
|
5109
5109
|
};
|
|
5110
5110
|
};
|
|
5111
|
-
function
|
|
5111
|
+
function Hi(n) {
|
|
5112
5112
|
const a = st(n);
|
|
5113
5113
|
let t = parseFloat(a.width) || 0, e = parseFloat(a.height) || 0;
|
|
5114
5114
|
const r = Dt(n), o = r ? n.offsetWidth : t, i = r ? n.offsetHeight : e, s = cr(t) !== o || cr(e) !== i;
|
|
@@ -5129,7 +5129,7 @@ function sn(n) {
|
|
|
5129
5129
|
width: e,
|
|
5130
5130
|
height: r,
|
|
5131
5131
|
$: o
|
|
5132
|
-
} =
|
|
5132
|
+
} = Hi(a);
|
|
5133
5133
|
let i = (o ? cr(t.width) : t.width) / e, s = (o ? cr(t.height) : t.height) / r;
|
|
5134
5134
|
return (!i || !Number.isFinite(i)) && (i = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
5135
5135
|
x: i,
|
|
@@ -5137,7 +5137,7 @@ function sn(n) {
|
|
|
5137
5137
|
};
|
|
5138
5138
|
}
|
|
5139
5139
|
const pf = /* @__PURE__ */ kt(0);
|
|
5140
|
-
function
|
|
5140
|
+
function zi(n) {
|
|
5141
5141
|
const a = tt(n);
|
|
5142
5142
|
return !Aa() || !a.visualViewport ? pf : {
|
|
5143
5143
|
x: a.visualViewport.offsetLeft,
|
|
@@ -5152,7 +5152,7 @@ function Xt(n, a, t, e) {
|
|
|
5152
5152
|
const r = n.getBoundingClientRect(), o = Ya(n);
|
|
5153
5153
|
let i = kt(1);
|
|
5154
5154
|
a && (e ? $e(e) && (i = sn(e)) : i = sn(n));
|
|
5155
|
-
const s = uf(o, t, e) ?
|
|
5155
|
+
const s = uf(o, t, e) ? zi(o) : kt(0);
|
|
5156
5156
|
let l = (r.left + s.x) / i.x, p = (r.top + s.y) / i.y, u = r.width / i.x, d = r.height / i.y;
|
|
5157
5157
|
if (o) {
|
|
5158
5158
|
const m = tt(o), v = e && $e(e) ? tt(e) : e;
|
|
@@ -5173,7 +5173,7 @@ function Er(n, a) {
|
|
|
5173
5173
|
const t = Sr(n).scrollLeft;
|
|
5174
5174
|
return a ? a.left + t : Xt(St(n)).left + t;
|
|
5175
5175
|
}
|
|
5176
|
-
function
|
|
5176
|
+
function qi(n, a) {
|
|
5177
5177
|
const t = n.getBoundingClientRect(), e = t.left + a.scrollLeft - Er(n, t), r = t.top + a.scrollTop;
|
|
5178
5178
|
return {
|
|
5179
5179
|
x: e,
|
|
@@ -5199,7 +5199,7 @@ function df(n) {
|
|
|
5199
5199
|
const v = Xt(e);
|
|
5200
5200
|
p = sn(e), u.x = v.x + e.clientLeft, u.y = v.y + e.clientTop;
|
|
5201
5201
|
}
|
|
5202
|
-
const m = i && !d && !o ?
|
|
5202
|
+
const m = i && !d && !o ? qi(i, l) : kt(0);
|
|
5203
5203
|
return {
|
|
5204
5204
|
width: t.width * p.x,
|
|
5205
5205
|
height: t.height * p.y,
|
|
@@ -5221,7 +5221,7 @@ function mf(n) {
|
|
|
5221
5221
|
y: s
|
|
5222
5222
|
};
|
|
5223
5223
|
}
|
|
5224
|
-
const
|
|
5224
|
+
const mo = 25;
|
|
5225
5225
|
function hf(n, a) {
|
|
5226
5226
|
const t = tt(n), e = St(n), r = t.visualViewport;
|
|
5227
5227
|
let o = e.clientWidth, i = e.clientHeight, s = 0, l = 0;
|
|
@@ -5233,8 +5233,8 @@ function hf(n, a) {
|
|
|
5233
5233
|
const p = Er(e);
|
|
5234
5234
|
if (p <= 0) {
|
|
5235
5235
|
const u = e.ownerDocument, d = u.body, m = getComputedStyle(d), v = u.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, w = Math.abs(e.clientWidth - d.clientWidth - v);
|
|
5236
|
-
w <=
|
|
5237
|
-
} else p <=
|
|
5236
|
+
w <= mo && (o -= w);
|
|
5237
|
+
} else p <= mo && (o += p);
|
|
5238
5238
|
return {
|
|
5239
5239
|
width: o,
|
|
5240
5240
|
height: i,
|
|
@@ -5252,7 +5252,7 @@ function _f(n, a) {
|
|
|
5252
5252
|
y: p
|
|
5253
5253
|
};
|
|
5254
5254
|
}
|
|
5255
|
-
function
|
|
5255
|
+
function ho(n, a, t) {
|
|
5256
5256
|
let e;
|
|
5257
5257
|
if (a === "viewport")
|
|
5258
5258
|
e = hf(n, t);
|
|
@@ -5261,7 +5261,7 @@ function vo(n, a, t) {
|
|
|
5261
5261
|
else if ($e(a))
|
|
5262
5262
|
e = _f(a, t);
|
|
5263
5263
|
else {
|
|
5264
|
-
const r =
|
|
5264
|
+
const r = zi(n);
|
|
5265
5265
|
e = {
|
|
5266
5266
|
x: a.x - r.x,
|
|
5267
5267
|
y: a.y - r.y,
|
|
@@ -5271,9 +5271,9 @@ function vo(n, a, t) {
|
|
|
5271
5271
|
}
|
|
5272
5272
|
return ur(e);
|
|
5273
5273
|
}
|
|
5274
|
-
function
|
|
5274
|
+
function Vi(n, a) {
|
|
5275
5275
|
const t = Yt(n);
|
|
5276
|
-
return t === a || !$e(t) || dn(t) ? !1 : st(t).position === "fixed" ||
|
|
5276
|
+
return t === a || !$e(t) || dn(t) ? !1 : st(t).position === "fixed" || Vi(t, a);
|
|
5277
5277
|
}
|
|
5278
5278
|
function gf(n, a) {
|
|
5279
5279
|
const t = a.get(n);
|
|
@@ -5284,7 +5284,7 @@ function gf(n, a) {
|
|
|
5284
5284
|
let i = o ? Yt(n) : n;
|
|
5285
5285
|
for (; $e(i) && !dn(i); ) {
|
|
5286
5286
|
const s = st(i), l = Fa(i);
|
|
5287
|
-
!l && s.position === "fixed" && (r = null), (o ? !l && !r : !l && s.position === "static" && !!r && vf.has(r.position) || In(i) && !l &&
|
|
5287
|
+
!l && s.position === "fixed" && (r = null), (o ? !l && !r : !l && s.position === "static" && !!r && vf.has(r.position) || In(i) && !l && Vi(n, i)) ? e = e.filter((u) => u !== i) : r = s, i = Yt(i);
|
|
5288
5288
|
}
|
|
5289
5289
|
return a.set(n, e), e;
|
|
5290
5290
|
}
|
|
@@ -5296,9 +5296,9 @@ function wf(n) {
|
|
|
5296
5296
|
strategy: r
|
|
5297
5297
|
} = n;
|
|
5298
5298
|
const i = [...t === "clippingAncestors" ? Cr(a) ? [] : gf(a, this._c) : [].concat(t), e], s = i[0], l = i.reduce((p, u) => {
|
|
5299
|
-
const d =
|
|
5299
|
+
const d = ho(a, u, r);
|
|
5300
5300
|
return p.top = Gt(d.top, p.top), p.right = fn(d.right, p.right), p.bottom = fn(d.bottom, p.bottom), p.left = Gt(d.left, p.left), p;
|
|
5301
|
-
},
|
|
5301
|
+
}, ho(a, s, r));
|
|
5302
5302
|
return {
|
|
5303
5303
|
width: l.right - l.left,
|
|
5304
5304
|
height: l.bottom - l.top,
|
|
@@ -5310,7 +5310,7 @@ function bf(n) {
|
|
|
5310
5310
|
const {
|
|
5311
5311
|
width: a,
|
|
5312
5312
|
height: t
|
|
5313
|
-
} =
|
|
5313
|
+
} = Hi(n);
|
|
5314
5314
|
return {
|
|
5315
5315
|
width: a,
|
|
5316
5316
|
height: t
|
|
@@ -5332,7 +5332,7 @@ function yf(n, a, t) {
|
|
|
5332
5332
|
l.x = v.x + a.clientLeft, l.y = v.y + a.clientTop;
|
|
5333
5333
|
} else r && p();
|
|
5334
5334
|
o && !e && r && p();
|
|
5335
|
-
const u = r && !e && !o ?
|
|
5335
|
+
const u = r && !e && !o ? qi(r, s) : kt(0), d = i.left + s.scrollLeft - l.x - u.x, m = i.top + s.scrollTop - l.y - u.y;
|
|
5336
5336
|
return {
|
|
5337
5337
|
x: d,
|
|
5338
5338
|
y: m,
|
|
@@ -5343,7 +5343,7 @@ function yf(n, a, t) {
|
|
|
5343
5343
|
function Hr(n) {
|
|
5344
5344
|
return st(n).position === "static";
|
|
5345
5345
|
}
|
|
5346
|
-
function
|
|
5346
|
+
function vo(n, a) {
|
|
5347
5347
|
if (!Dt(n) || st(n).position === "fixed")
|
|
5348
5348
|
return null;
|
|
5349
5349
|
if (a)
|
|
@@ -5351,7 +5351,7 @@ function _o(n, a) {
|
|
|
5351
5351
|
let t = n.offsetParent;
|
|
5352
5352
|
return St(n) === t && (t = t.ownerDocument.body), t;
|
|
5353
5353
|
}
|
|
5354
|
-
function
|
|
5354
|
+
function Ui(n, a) {
|
|
5355
5355
|
const t = tt(n);
|
|
5356
5356
|
if (Cr(n))
|
|
5357
5357
|
return t;
|
|
@@ -5364,13 +5364,13 @@ function $i(n, a) {
|
|
|
5364
5364
|
}
|
|
5365
5365
|
return t;
|
|
5366
5366
|
}
|
|
5367
|
-
let e =
|
|
5367
|
+
let e = vo(n, a);
|
|
5368
5368
|
for (; e && Pd(e) && Hr(e); )
|
|
5369
|
-
e =
|
|
5369
|
+
e = vo(e, a);
|
|
5370
5370
|
return e && dn(e) && Hr(e) && !Fa(e) ? t : e || Fd(n) || t;
|
|
5371
5371
|
}
|
|
5372
5372
|
const xf = async function(n) {
|
|
5373
|
-
const a = this.getOffsetParent ||
|
|
5373
|
+
const a = this.getOffsetParent || Ui, t = this.getDimensions, e = await t(n.floating);
|
|
5374
5374
|
return {
|
|
5375
5375
|
reference: yf(n.reference, await a(n.floating), n.strategy),
|
|
5376
5376
|
floating: {
|
|
@@ -5388,7 +5388,7 @@ const Df = {
|
|
|
5388
5388
|
convertOffsetParentRelativeRectToViewportRelativeRect: df,
|
|
5389
5389
|
getDocumentElement: St,
|
|
5390
5390
|
getClippingRect: wf,
|
|
5391
|
-
getOffsetParent:
|
|
5391
|
+
getOffsetParent: Ui,
|
|
5392
5392
|
getElementRects: xf,
|
|
5393
5393
|
getClientRects: ff,
|
|
5394
5394
|
getDimensions: bf,
|
|
@@ -5396,7 +5396,7 @@ const Df = {
|
|
|
5396
5396
|
isElement: $e,
|
|
5397
5397
|
isRTL: kf
|
|
5398
5398
|
};
|
|
5399
|
-
function
|
|
5399
|
+
function $i(n, a) {
|
|
5400
5400
|
return n.x === a.x && n.y === a.y && n.width === a.width && n.height === a.height;
|
|
5401
5401
|
}
|
|
5402
5402
|
function Cf(n, a) {
|
|
@@ -5430,7 +5430,7 @@ function Cf(n, a) {
|
|
|
5430
5430
|
i(!1, 1e-7);
|
|
5431
5431
|
}, 1e3);
|
|
5432
5432
|
}
|
|
5433
|
-
H === 1 &&
|
|
5433
|
+
H === 1 && !$i(p, n.getBoundingClientRect()) && i(), C = !1;
|
|
5434
5434
|
}
|
|
5435
5435
|
try {
|
|
5436
5436
|
t = new IntersectionObserver(x, {
|
|
@@ -5472,7 +5472,7 @@ function Sf(n, a, t, e) {
|
|
|
5472
5472
|
l && y();
|
|
5473
5473
|
function y() {
|
|
5474
5474
|
const D = Xt(n);
|
|
5475
|
-
b &&
|
|
5475
|
+
b && !$i(b, D) && t(), b = D, w = requestAnimationFrame(y);
|
|
5476
5476
|
}
|
|
5477
5477
|
return t(), () => {
|
|
5478
5478
|
var D;
|
|
@@ -5481,7 +5481,7 @@ function Sf(n, a, t, e) {
|
|
|
5481
5481
|
}), d == null || d(), (D = v) == null || D.disconnect(), v = null, l && cancelAnimationFrame(w);
|
|
5482
5482
|
};
|
|
5483
5483
|
}
|
|
5484
|
-
const Mf = cf, Ef = of,
|
|
5484
|
+
const Mf = cf, Ef = of, _o = af, Nf = (n, a, t) => {
|
|
5485
5485
|
const e = /* @__PURE__ */ new Map(), r = {
|
|
5486
5486
|
platform: Df,
|
|
5487
5487
|
...t
|
|
@@ -5526,11 +5526,11 @@ function fr(n, a) {
|
|
|
5526
5526
|
}
|
|
5527
5527
|
return n !== n && a !== a;
|
|
5528
5528
|
}
|
|
5529
|
-
function
|
|
5529
|
+
function Qi(n) {
|
|
5530
5530
|
return typeof window > "u" ? 1 : (n.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5531
5531
|
}
|
|
5532
|
-
function
|
|
5533
|
-
const t =
|
|
5532
|
+
function go(n, a) {
|
|
5533
|
+
const t = Qi(n);
|
|
5534
5534
|
return Math.round(a * t) / t;
|
|
5535
5535
|
}
|
|
5536
5536
|
function zr(n) {
|
|
@@ -5620,11 +5620,11 @@ function If(n) {
|
|
|
5620
5620
|
};
|
|
5621
5621
|
if (!q.floating)
|
|
5622
5622
|
return X;
|
|
5623
|
-
const h =
|
|
5623
|
+
const h = go(q.floating, u.x), f = go(q.floating, u.y);
|
|
5624
5624
|
return s ? {
|
|
5625
5625
|
...X,
|
|
5626
5626
|
transform: "translate(" + h + "px, " + f + "px)",
|
|
5627
|
-
...
|
|
5627
|
+
...Qi(q.floating) >= 1.5 && {
|
|
5628
5628
|
willChange: "transform"
|
|
5629
5629
|
}
|
|
5630
5630
|
} : {
|
|
@@ -5653,10 +5653,10 @@ const Of = (n) => {
|
|
|
5653
5653
|
element: e,
|
|
5654
5654
|
padding: r
|
|
5655
5655
|
} = typeof n == "function" ? n(t) : n;
|
|
5656
|
-
return e && a(e) ? e.current != null ?
|
|
5656
|
+
return e && a(e) ? e.current != null ? _o({
|
|
5657
5657
|
element: e.current,
|
|
5658
5658
|
padding: r
|
|
5659
|
-
}).fn(t) : {} : e ?
|
|
5659
|
+
}).fn(t) : {} : e ? _o({
|
|
5660
5660
|
element: e,
|
|
5661
5661
|
padding: r
|
|
5662
5662
|
}).fn(t) : {};
|
|
@@ -5674,21 +5674,21 @@ const Of = (n) => {
|
|
|
5674
5674
|
}), Af = {
|
|
5675
5675
|
...I
|
|
5676
5676
|
};
|
|
5677
|
-
let
|
|
5678
|
-
const
|
|
5677
|
+
let wo = !1, Wf = 0;
|
|
5678
|
+
const bo = () => (
|
|
5679
5679
|
// Ensure the id is unique with multiple independent versions of Floating UI
|
|
5680
5680
|
// on <React 18
|
|
5681
5681
|
"floating-ui-" + Math.random().toString(36).slice(2, 6) + Wf++
|
|
5682
5682
|
);
|
|
5683
5683
|
function Bf() {
|
|
5684
|
-
const [n, a] = I.useState(() =>
|
|
5684
|
+
const [n, a] = I.useState(() => wo ? bo() : void 0);
|
|
5685
5685
|
return dr(() => {
|
|
5686
|
-
n == null && a(
|
|
5686
|
+
n == null && a(bo());
|
|
5687
5687
|
}, []), I.useEffect(() => {
|
|
5688
|
-
|
|
5688
|
+
wo = !0;
|
|
5689
5689
|
}, []), n;
|
|
5690
5690
|
}
|
|
5691
|
-
const Yf = Af.useId,
|
|
5691
|
+
const Yf = Af.useId, Gi = Yf || Bf;
|
|
5692
5692
|
let Tn;
|
|
5693
5693
|
process.env.NODE_ENV !== "production" && (Tn = /* @__PURE__ */ new Set());
|
|
5694
5694
|
function jf() {
|
|
@@ -5735,7 +5735,7 @@ const zf = /* @__PURE__ */ I.forwardRef(function(a, t) {
|
|
|
5735
5735
|
...y
|
|
5736
5736
|
} = a;
|
|
5737
5737
|
process.env.NODE_ENV !== "production" && (t || jf("The `ref` prop is required for `FloatingArrow`."));
|
|
5738
|
-
const D =
|
|
5738
|
+
const D = Gi(), [E, S] = I.useState(!1);
|
|
5739
5739
|
if (dr(() => {
|
|
5740
5740
|
if (!r) return;
|
|
5741
5741
|
st(r).direction === "rtl" && S(!0);
|
|
@@ -5814,7 +5814,7 @@ function Gf(n) {
|
|
|
5814
5814
|
open: a = !1,
|
|
5815
5815
|
onOpenChange: t,
|
|
5816
5816
|
elements: e
|
|
5817
|
-
} = n, r =
|
|
5817
|
+
} = n, r = Gi(), o = I.useRef({}), [i] = I.useState(() => qf()), s = $f() != null;
|
|
5818
5818
|
if (process.env.NODE_ENV !== "production") {
|
|
5819
5819
|
const v = e.reference;
|
|
5820
5820
|
v && !$e(v) && Hf("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
|
|
@@ -5966,7 +5966,7 @@ var Xf = function(n) {
|
|
|
5966
5966
|
(function(n) {
|
|
5967
5967
|
n.ArrowUp = "ArrowUp", n.ArrowDown = "ArrowDown", n.ArrowLeft = "ArrowLeft", n.ArrowRight = "ArrowRight", n.PageUp = "PageUp", n.PageDown = "PageDown", n.Home = "Home", n.End = "End", n.Enter = "Enter", n.Space = " ", n.Tab = "Tab", n.Escape = "Escape", n.Backspace = "Backspace", n.X = "x";
|
|
5968
5968
|
})(J || (J = {}));
|
|
5969
|
-
function
|
|
5969
|
+
function Ki() {
|
|
5970
5970
|
var n = typeof window < "u" ? window : globalThis;
|
|
5971
5971
|
return n;
|
|
5972
5972
|
}
|
|
@@ -5979,7 +5979,7 @@ function xe(n) {
|
|
|
5979
5979
|
}
|
|
5980
5980
|
function qr(n, a, t, e, r) {
|
|
5981
5981
|
r === void 0 && (r = xe());
|
|
5982
|
-
for (var o = hn(t) || hn(
|
|
5982
|
+
for (var o = hn(t) || hn(ja()), i = Array.isArray(a) ? a : [a], s = 0, l = i; s < l.length; s++) {
|
|
5983
5983
|
var p = l[s], u = sd(n, p, r, {
|
|
5984
5984
|
locale: o
|
|
5985
5985
|
});
|
|
@@ -5993,12 +5993,12 @@ function Tr(n, a) {
|
|
|
5993
5993
|
}
|
|
5994
5994
|
function Ce(n, a, t) {
|
|
5995
5995
|
if (t === "en")
|
|
5996
|
-
return
|
|
5996
|
+
return io(n, a, {
|
|
5997
5997
|
useAdditionalWeekYearTokens: !0,
|
|
5998
5998
|
useAdditionalDayOfYearTokens: !0
|
|
5999
5999
|
});
|
|
6000
6000
|
var e = t ? hn(t) : void 0;
|
|
6001
|
-
return t && !e && console.warn('A locale object was not found for the provided string ["'.concat(t, '"].')), e = e || hn(
|
|
6001
|
+
return t && !e && console.warn('A locale object was not found for the provided string ["'.concat(t, '"].')), e = e || hn(ja()), io(n, a, {
|
|
6002
6002
|
locale: e,
|
|
6003
6003
|
useAdditionalWeekYearTokens: !0,
|
|
6004
6004
|
useAdditionalDayOfYearTokens: !0
|
|
@@ -6042,32 +6042,32 @@ function Jn(n) {
|
|
|
6042
6042
|
return Kt(n);
|
|
6043
6043
|
}
|
|
6044
6044
|
function At(n, a, t) {
|
|
6045
|
-
var e = hn(a ||
|
|
6045
|
+
var e = hn(a || ja());
|
|
6046
6046
|
return dt(n, {
|
|
6047
6047
|
locale: e,
|
|
6048
6048
|
weekStartsOn: t
|
|
6049
6049
|
});
|
|
6050
6050
|
}
|
|
6051
6051
|
function Ot(n) {
|
|
6052
|
-
return
|
|
6052
|
+
return Ei(n);
|
|
6053
6053
|
}
|
|
6054
6054
|
function Sn(n) {
|
|
6055
6055
|
return kr(n);
|
|
6056
6056
|
}
|
|
6057
|
-
function
|
|
6057
|
+
function yo(n) {
|
|
6058
6058
|
return fa(n);
|
|
6059
6059
|
}
|
|
6060
|
-
function
|
|
6060
|
+
function xo() {
|
|
6061
6061
|
return Kt(xe());
|
|
6062
6062
|
}
|
|
6063
|
-
function
|
|
6064
|
-
return
|
|
6063
|
+
function ko(n) {
|
|
6064
|
+
return Si(n);
|
|
6065
6065
|
}
|
|
6066
6066
|
function rm(n) {
|
|
6067
6067
|
return vp(n);
|
|
6068
6068
|
}
|
|
6069
6069
|
function am(n) {
|
|
6070
|
-
return
|
|
6070
|
+
return Mi(n);
|
|
6071
6071
|
}
|
|
6072
6072
|
function vt(n, a) {
|
|
6073
6073
|
return n && a ? ud(n, a) : !n && !a;
|
|
@@ -6085,7 +6085,7 @@ function Ut(n, a) {
|
|
|
6085
6085
|
return n && a ? du(n, a) : !n && !a;
|
|
6086
6086
|
}
|
|
6087
6087
|
function zt(n, a, t) {
|
|
6088
|
-
var e, r = Kt(a), o =
|
|
6088
|
+
var e, r = Kt(a), o = Si(t);
|
|
6089
6089
|
try {
|
|
6090
6090
|
e = En(n, { start: r, end: o });
|
|
6091
6091
|
} catch {
|
|
@@ -6093,37 +6093,33 @@ function zt(n, a, t) {
|
|
|
6093
6093
|
}
|
|
6094
6094
|
return e;
|
|
6095
6095
|
}
|
|
6096
|
-
function
|
|
6097
|
-
var
|
|
6098
|
-
t.__localeData__ || (t.__localeData__ = {}), t.__localeData__[n] = a;
|
|
6099
|
-
}
|
|
6100
|
-
function Ha() {
|
|
6101
|
-
var n = ja();
|
|
6096
|
+
function ja() {
|
|
6097
|
+
var n = Ki();
|
|
6102
6098
|
return n.__localeId__;
|
|
6103
6099
|
}
|
|
6104
6100
|
function hn(n) {
|
|
6105
6101
|
if (typeof n == "string") {
|
|
6106
|
-
var a =
|
|
6102
|
+
var a = Ki();
|
|
6107
6103
|
return a.__localeData__ ? a.__localeData__[n] : void 0;
|
|
6108
6104
|
} else
|
|
6109
6105
|
return n;
|
|
6110
6106
|
}
|
|
6111
|
-
function
|
|
6107
|
+
function om(n, a, t) {
|
|
6112
6108
|
return a(Ce(n, "EEEE", t));
|
|
6113
6109
|
}
|
|
6114
|
-
function
|
|
6110
|
+
function im(n, a) {
|
|
6115
6111
|
return Ce(n, "EEEEEE", a);
|
|
6116
6112
|
}
|
|
6117
|
-
function
|
|
6113
|
+
function sm(n, a) {
|
|
6118
6114
|
return Ce(n, "EEE", a);
|
|
6119
6115
|
}
|
|
6120
|
-
function
|
|
6116
|
+
function Ha(n, a) {
|
|
6121
6117
|
return Ce(ot(xe(), n), "LLLL", a);
|
|
6122
6118
|
}
|
|
6123
6119
|
function Zi(n, a) {
|
|
6124
6120
|
return Ce(ot(xe(), n), "LLL", a);
|
|
6125
6121
|
}
|
|
6126
|
-
function
|
|
6122
|
+
function lm(n, a) {
|
|
6127
6123
|
return Ce(an(xe(), n), "QQQ", a);
|
|
6128
6124
|
}
|
|
6129
6125
|
function it(n, a) {
|
|
@@ -6140,7 +6136,7 @@ function it(n, a) {
|
|
|
6140
6136
|
return En(n, { start: d, end: m });
|
|
6141
6137
|
}) || p && !p(xe(n)) || !1;
|
|
6142
6138
|
}
|
|
6143
|
-
function
|
|
6139
|
+
function za(n, a) {
|
|
6144
6140
|
var t = a === void 0 ? {} : a, e = t.excludeDates, r = t.excludeDateIntervals;
|
|
6145
6141
|
return r && r.length > 0 ? r.some(function(o) {
|
|
6146
6142
|
var i = o.start, s = o.end;
|
|
@@ -6153,8 +6149,8 @@ function qa(n, a) {
|
|
|
6153
6149
|
function Ji(n, a) {
|
|
6154
6150
|
var t = a === void 0 ? {} : a, e = t.minDate, r = t.maxDate, o = t.excludeDates, i = t.includeDates, s = t.filterDate;
|
|
6155
6151
|
return Ln(n, {
|
|
6156
|
-
minDate: e ?
|
|
6157
|
-
maxDate: r ?
|
|
6152
|
+
minDate: e ? Ei(e) : void 0,
|
|
6153
|
+
maxDate: r ? Mi(r) : void 0
|
|
6158
6154
|
}) || (o == null ? void 0 : o.some(function(l) {
|
|
6159
6155
|
return Xe(n, l instanceof Date ? l : l.date);
|
|
6160
6156
|
})) || i && !i.some(function(l) {
|
|
@@ -6165,7 +6161,7 @@ function Yn(n, a, t, e) {
|
|
|
6165
6161
|
var r = fe(n), o = Ue(n), i = fe(a), s = Ue(a), l = fe(e);
|
|
6166
6162
|
return r === i && r === l ? o <= t && t <= s : r < i ? l === r && o <= t || l === i && s >= t || l < i && l > r : !1;
|
|
6167
6163
|
}
|
|
6168
|
-
function
|
|
6164
|
+
function cm(n, a) {
|
|
6169
6165
|
var t = a === void 0 ? {} : a, e = t.minDate, r = t.maxDate, o = t.excludeDates, i = t.includeDates;
|
|
6170
6166
|
return Ln(n, { minDate: e, maxDate: r }) || o && o.some(function(s) {
|
|
6171
6167
|
return Xe(s instanceof Date ? s : s.date, n);
|
|
@@ -6191,7 +6187,7 @@ function er(n, a) {
|
|
|
6191
6187
|
var t = a === void 0 ? {} : a, e = t.minDate, r = t.maxDate, o = t.excludeDates, i = t.includeDates, s = t.filterDate, l = new Date(n, 0, 1);
|
|
6192
6188
|
return Ln(l, {
|
|
6193
6189
|
minDate: e ? kr(e) : void 0,
|
|
6194
|
-
maxDate: r ?
|
|
6190
|
+
maxDate: r ? Ni(r) : void 0
|
|
6195
6191
|
}) || (o == null ? void 0 : o.some(function(p) {
|
|
6196
6192
|
return vt(l, p instanceof Date ? p : p.date);
|
|
6197
6193
|
})) || i && !i.some(function(p) {
|
|
@@ -6206,16 +6202,16 @@ function Ln(n, a) {
|
|
|
6206
6202
|
var t, e = a === void 0 ? {} : a, r = e.minDate, o = e.maxDate;
|
|
6207
6203
|
return (t = r && pn(n, r) < 0 || o && pn(n, o) > 0) !== null && t !== void 0 ? t : !1;
|
|
6208
6204
|
}
|
|
6209
|
-
function
|
|
6205
|
+
function Do(n, a) {
|
|
6210
6206
|
return a.some(function(t) {
|
|
6211
6207
|
return Pt(t) === Pt(n) && It(t) === It(n) && Ft(t) === Ft(n);
|
|
6212
6208
|
});
|
|
6213
6209
|
}
|
|
6214
|
-
function
|
|
6210
|
+
function Co(n, a) {
|
|
6215
6211
|
var t = a === void 0 ? {} : a, e = t.excludeTimes, r = t.includeTimes, o = t.filterTime;
|
|
6216
|
-
return e &&
|
|
6212
|
+
return e && Do(n, e) || r && !Do(n, r) || o && !o(n) || !1;
|
|
6217
6213
|
}
|
|
6218
|
-
function
|
|
6214
|
+
function So(n, a) {
|
|
6219
6215
|
var t = a.minTime, e = a.maxTime;
|
|
6220
6216
|
if (!t || !e)
|
|
6221
6217
|
throw new Error("Both minTime and maxTime props required");
|
|
@@ -6233,47 +6229,47 @@ function Mo(n, a) {
|
|
|
6233
6229
|
}
|
|
6234
6230
|
return s;
|
|
6235
6231
|
}
|
|
6236
|
-
function
|
|
6232
|
+
function Mo(n, a) {
|
|
6237
6233
|
var t = a === void 0 ? {} : a, e = t.minDate, r = t.includeDates, o = Qt(n, 1);
|
|
6238
6234
|
return e && or(e, o) > 0 || r && r.every(function(i) {
|
|
6239
6235
|
return or(i, o) > 0;
|
|
6240
6236
|
}) || !1;
|
|
6241
6237
|
}
|
|
6242
|
-
function
|
|
6238
|
+
function Eo(n, a) {
|
|
6243
6239
|
var t = a === void 0 ? {} : a, e = t.maxDate, r = t.includeDates, o = ft(n, 1);
|
|
6244
6240
|
return e && or(o, e) > 0 || r && r.every(function(i) {
|
|
6245
6241
|
return or(o, i) > 0;
|
|
6246
6242
|
}) || !1;
|
|
6247
6243
|
}
|
|
6248
|
-
function
|
|
6249
|
-
var t = a === void 0 ? {} : a, e = t.minDate, r = t.includeDates, o = kr(n), i =
|
|
6244
|
+
function pm(n, a) {
|
|
6245
|
+
var t = a === void 0 ? {} : a, e = t.minDate, r = t.includeDates, o = kr(n), i = Wi(o);
|
|
6250
6246
|
return e && ir(e, i) > 0 || r && r.every(function(s) {
|
|
6251
6247
|
return ir(s, i) > 0;
|
|
6252
6248
|
}) || !1;
|
|
6253
6249
|
}
|
|
6254
|
-
function
|
|
6255
|
-
var t = a === void 0 ? {} : a, e = t.maxDate, r = t.includeDates, o =
|
|
6250
|
+
function um(n, a) {
|
|
6251
|
+
var t = a === void 0 ? {} : a, e = t.maxDate, r = t.includeDates, o = Ni(n), i = Pa(o, 1);
|
|
6256
6252
|
return e && ir(i, e) > 0 || r && r.every(function(s) {
|
|
6257
6253
|
return ir(i, s) > 0;
|
|
6258
6254
|
}) || !1;
|
|
6259
6255
|
}
|
|
6260
|
-
function
|
|
6256
|
+
function No(n, a) {
|
|
6261
6257
|
var t = a === void 0 ? {} : a, e = t.minDate, r = t.includeDates, o = un(n, 1);
|
|
6262
6258
|
return e && sr(e, o) > 0 || r && r.every(function(i) {
|
|
6263
6259
|
return sr(i, o) > 0;
|
|
6264
6260
|
}) || !1;
|
|
6265
6261
|
}
|
|
6266
|
-
function
|
|
6262
|
+
function dm(n, a) {
|
|
6267
6263
|
var t = a === void 0 ? {} : a, e = t.minDate, r = t.yearItemNumber, o = r === void 0 ? Rn : r, i = Sn(un(n, o)), s = Et(i, o).endPeriod, l = e && fe(e);
|
|
6268
6264
|
return l && l > s || !1;
|
|
6269
6265
|
}
|
|
6270
|
-
function
|
|
6266
|
+
function To(n, a) {
|
|
6271
6267
|
var t = a === void 0 ? {} : a, e = t.maxDate, r = t.includeDates, o = Nt(n, 1);
|
|
6272
6268
|
return e && sr(o, e) > 0 || r && r.every(function(i) {
|
|
6273
6269
|
return sr(o, i) > 0;
|
|
6274
6270
|
}) || !1;
|
|
6275
6271
|
}
|
|
6276
|
-
function
|
|
6272
|
+
function fm(n, a) {
|
|
6277
6273
|
var t = a === void 0 ? {} : a, e = t.maxDate, r = t.yearItemNumber, o = r === void 0 ? Rn : r, i = Nt(n, o), s = Et(i, o).startPeriod, l = e && fe(e);
|
|
6278
6274
|
return l && l < s || !1;
|
|
6279
6275
|
}
|
|
@@ -6283,8 +6279,8 @@ function es(n) {
|
|
|
6283
6279
|
var e = t.filter(function(r) {
|
|
6284
6280
|
return pn(r, a) >= 0;
|
|
6285
6281
|
});
|
|
6286
|
-
return
|
|
6287
|
-
} else return t ?
|
|
6282
|
+
return eo(e);
|
|
6283
|
+
} else return t ? eo(t) : a;
|
|
6288
6284
|
}
|
|
6289
6285
|
function ts(n) {
|
|
6290
6286
|
var a = n.maxDate, t = n.includeDates;
|
|
@@ -6292,10 +6288,10 @@ function ts(n) {
|
|
|
6292
6288
|
var e = t.filter(function(r) {
|
|
6293
6289
|
return pn(r, a) <= 0;
|
|
6294
6290
|
});
|
|
6295
|
-
return
|
|
6296
|
-
} else return t ?
|
|
6291
|
+
return Ja(e);
|
|
6292
|
+
} else return t ? Ja(t) : a;
|
|
6297
6293
|
}
|
|
6298
|
-
function
|
|
6294
|
+
function Po(n, a) {
|
|
6299
6295
|
var t;
|
|
6300
6296
|
n === void 0 && (n = []), a === void 0 && (a = "react-datepicker__day--highlighted");
|
|
6301
6297
|
for (var e = /* @__PURE__ */ new Map(), r = 0, o = n.length; r < o; r++) {
|
|
@@ -6317,12 +6313,12 @@ function Io(n, a) {
|
|
|
6317
6313
|
}
|
|
6318
6314
|
return e;
|
|
6319
6315
|
}
|
|
6320
|
-
function
|
|
6316
|
+
function mm(n, a) {
|
|
6321
6317
|
return n.length !== a.length ? !1 : n.every(function(t, e) {
|
|
6322
6318
|
return t === a[e];
|
|
6323
6319
|
});
|
|
6324
6320
|
}
|
|
6325
|
-
function
|
|
6321
|
+
function hm(n, a) {
|
|
6326
6322
|
n === void 0 && (n = []), a === void 0 && (a = "react-datepicker__day--holidays");
|
|
6327
6323
|
var t = /* @__PURE__ */ new Map();
|
|
6328
6324
|
return n.forEach(function(e) {
|
|
@@ -6332,7 +6328,7 @@ function vm(n, a) {
|
|
|
6332
6328
|
className: "",
|
|
6333
6329
|
holidayNames: []
|
|
6334
6330
|
};
|
|
6335
|
-
if (!("className" in s && s.className === a &&
|
|
6331
|
+
if (!("className" in s && s.className === a && mm(s.holidayNames, [o]))) {
|
|
6336
6332
|
s.className = a;
|
|
6337
6333
|
var l = s.holidayNames;
|
|
6338
6334
|
s.holidayNames = l ? xt(xt([], l, !0), [o], !1) : [o], t.set(i, s);
|
|
@@ -6340,7 +6336,7 @@ function vm(n, a) {
|
|
|
6340
6336
|
}
|
|
6341
6337
|
}), t;
|
|
6342
6338
|
}
|
|
6343
|
-
function
|
|
6339
|
+
function vm(n, a, t, e, r) {
|
|
6344
6340
|
for (var o = r.length, i = [], s = 0; s < o; s++) {
|
|
6345
6341
|
var l = n, p = r[s];
|
|
6346
6342
|
p && (l = up(l, Pt(p)), l = da(l, It(p)), l = fp(l, Ft(p)));
|
|
@@ -6349,7 +6345,7 @@ function _m(n, a, t, e, r) {
|
|
|
6349
6345
|
}
|
|
6350
6346
|
return i;
|
|
6351
6347
|
}
|
|
6352
|
-
function
|
|
6348
|
+
function Io(n) {
|
|
6353
6349
|
return n < 10 ? "0".concat(n) : "".concat(n);
|
|
6354
6350
|
}
|
|
6355
6351
|
function Et(n, a) {
|
|
@@ -6357,18 +6353,18 @@ function Et(n, a) {
|
|
|
6357
6353
|
var t = Math.ceil(fe(n) / a) * a, e = t - (a - 1);
|
|
6358
6354
|
return { startPeriod: e, endPeriod: t };
|
|
6359
6355
|
}
|
|
6360
|
-
function
|
|
6356
|
+
function _m(n) {
|
|
6361
6357
|
var a = new Date(n.getFullYear(), n.getMonth(), n.getDate()), t = new Date(n.getFullYear(), n.getMonth(), n.getDate(), 24);
|
|
6362
6358
|
return Math.round((+t - +a) / 36e5);
|
|
6363
6359
|
}
|
|
6364
|
-
function
|
|
6360
|
+
function Oo(n) {
|
|
6365
6361
|
var a = n.getSeconds(), t = n.getMilliseconds();
|
|
6366
6362
|
return oe(n.getTime() - a * 1e3 - t);
|
|
6367
6363
|
}
|
|
6368
|
-
function
|
|
6369
|
-
return
|
|
6364
|
+
function gm(n, a) {
|
|
6365
|
+
return Oo(n).getTime() === Oo(a).getTime();
|
|
6370
6366
|
}
|
|
6371
|
-
function
|
|
6367
|
+
function Ro(n) {
|
|
6372
6368
|
if (!Tt(n))
|
|
6373
6369
|
throw new Error("Invalid date");
|
|
6374
6370
|
var a = new Date(n);
|
|
@@ -6377,13 +6373,13 @@ function Lo(n) {
|
|
|
6377
6373
|
function Ur(n, a) {
|
|
6378
6374
|
if (!Tt(n) || !Tt(a))
|
|
6379
6375
|
throw new Error("Invalid date received");
|
|
6380
|
-
var t =
|
|
6376
|
+
var t = Ro(n), e = Ro(a);
|
|
6381
6377
|
return yt(t, e);
|
|
6382
6378
|
}
|
|
6383
6379
|
function ns(n) {
|
|
6384
6380
|
return n.key === J.Space;
|
|
6385
6381
|
}
|
|
6386
|
-
var
|
|
6382
|
+
var wm = (
|
|
6387
6383
|
/** @class */
|
|
6388
6384
|
function(n) {
|
|
6389
6385
|
ze(a, n);
|
|
@@ -6400,7 +6396,7 @@ var bm = (
|
|
|
6400
6396
|
(i = (o = e.props).onChange) === null || i === void 0 || i.call(o, p);
|
|
6401
6397
|
}, e.renderTimeInput = function() {
|
|
6402
6398
|
var r = e.state.time, o = e.props, i = o.date, s = o.timeString, l = o.customTimeInput;
|
|
6403
|
-
return l ?
|
|
6399
|
+
return l ? mi(l, {
|
|
6404
6400
|
date: i,
|
|
6405
6401
|
value: r,
|
|
6406
6402
|
onChange: e.onTimeChange
|
|
@@ -6431,7 +6427,7 @@ var bm = (
|
|
|
6431
6427
|
);
|
|
6432
6428
|
}, a;
|
|
6433
6429
|
}(He)
|
|
6434
|
-
),
|
|
6430
|
+
), bm = (
|
|
6435
6431
|
/** @class */
|
|
6436
6432
|
function(n) {
|
|
6437
6433
|
ze(a, n);
|
|
@@ -6465,7 +6461,7 @@ var bm = (
|
|
|
6465
6461
|
filterDate: t.props.filterDate
|
|
6466
6462
|
});
|
|
6467
6463
|
}, t.isExcluded = function() {
|
|
6468
|
-
return
|
|
6464
|
+
return za(t.props.day, {
|
|
6469
6465
|
excludeDates: t.props.excludeDates,
|
|
6470
6466
|
excludeDateIntervals: t.props.excludeDateIntervals
|
|
6471
6467
|
});
|
|
@@ -6572,7 +6568,7 @@ var bm = (
|
|
|
6572
6568
|
var e;
|
|
6573
6569
|
t.shouldFocusDay() && ((e = t.dayEl.current) === null || e === void 0 || e.focus({ preventScroll: !0 }));
|
|
6574
6570
|
}, t.renderDayContents = function() {
|
|
6575
|
-
return t.props.monthShowsDuplicateDaysEnd && t.isAfterMonth() || t.props.monthShowsDuplicateDaysStart && t.isBeforeMonth() ? null : t.props.renderDayContents ? t.props.renderDayContents(
|
|
6571
|
+
return t.props.monthShowsDuplicateDaysEnd && t.isAfterMonth() || t.props.monthShowsDuplicateDaysStart && t.isBeforeMonth() ? null : t.props.renderDayContents ? t.props.renderDayContents(so(t.props.day), t.props.day) : so(t.props.day);
|
|
6576
6572
|
}, t.render = function() {
|
|
6577
6573
|
return (
|
|
6578
6574
|
// TODO: Use <option> instead of the "option" role to ensure accessibility across all devices.
|
|
@@ -6602,7 +6598,7 @@ var bm = (
|
|
|
6602
6598
|
);
|
|
6603
6599
|
}, a;
|
|
6604
6600
|
}(He)
|
|
6605
|
-
),
|
|
6601
|
+
), ym = (
|
|
6606
6602
|
/** @class */
|
|
6607
6603
|
function(n) {
|
|
6608
6604
|
ze(a, n);
|
|
@@ -6643,7 +6639,7 @@ var bm = (
|
|
|
6643
6639
|
return T.createElement("div", { ref: this.weekNumberEl, className: N(l), "aria-label": "".concat(i, " ").concat(this.props.weekNumber), onClick: this.handleClick, onKeyDown: this.handleOnKeyDown, tabIndex: this.getTabIndex(), role: "gridcell" }, e);
|
|
6644
6640
|
}, a;
|
|
6645
6641
|
}(He)
|
|
6646
|
-
),
|
|
6642
|
+
), xm = (
|
|
6647
6643
|
/** @class */
|
|
6648
6644
|
function(n) {
|
|
6649
6645
|
ze(a, n);
|
|
@@ -6687,11 +6683,11 @@ var bm = (
|
|
|
6687
6683
|
var e = t.startOfWeek(), r = [], o = t.formatWeekNumber(e);
|
|
6688
6684
|
if (t.props.showWeekNumber) {
|
|
6689
6685
|
var i = t.props.onWeekSelect || t.props.showWeekPicker ? t.handleWeekClick.bind(t, e, o) : void 0;
|
|
6690
|
-
r.push(T.createElement(
|
|
6686
|
+
r.push(T.createElement(ym, ve({ key: "W" }, a.defaultProps, t.props, { weekNumber: o, isWeekDisabled: t.isWeekDisabled(), date: e, onClick: i })));
|
|
6691
6687
|
}
|
|
6692
6688
|
return r.concat([0, 1, 2, 3, 4, 5, 6].map(function(s) {
|
|
6693
6689
|
var l = ut(e, s);
|
|
6694
|
-
return T.createElement(
|
|
6690
|
+
return T.createElement(bm, ve({}, a.defaultProps, t.props, { ariaLabelPrefixWhenEnabled: t.props.chooseDayAriaLabelPrefix, ariaLabelPrefixWhenDisabled: t.props.disabledDayAriaLabelPrefix, key: l.valueOf(), day: l, onClick: t.handleDayClick.bind(t, l), onMouseEnter: t.handleDayMouseEnter.bind(t, l) }));
|
|
6695
6691
|
}));
|
|
6696
6692
|
}, t.startOfWeek = function() {
|
|
6697
6693
|
return At(t.props.day, t.props.locale, t.props.calendarStartDay);
|
|
@@ -6716,7 +6712,7 @@ var bm = (
|
|
|
6716
6712
|
return T.createElement("div", { className: N(t, e), role: "row" }, this.renderDays());
|
|
6717
6713
|
}, a;
|
|
6718
6714
|
}(He)
|
|
6719
|
-
), xn,
|
|
6715
|
+
), xn, km = 6, ln = {
|
|
6720
6716
|
TWO_COLUMNS: "two_columns",
|
|
6721
6717
|
THREE_COLUMNS: "three_columns",
|
|
6722
6718
|
FOUR_COLUMNS: "four_columns"
|
|
@@ -6746,10 +6742,10 @@ var bm = (
|
|
|
6746
6742
|
],
|
|
6747
6743
|
verticalNavigationOffset: 4
|
|
6748
6744
|
}, xn), qn = 1;
|
|
6749
|
-
function
|
|
6745
|
+
function Lo(n, a) {
|
|
6750
6746
|
return n ? ln.FOUR_COLUMNS : a ? ln.TWO_COLUMNS : ln.THREE_COLUMNS;
|
|
6751
6747
|
}
|
|
6752
|
-
var
|
|
6748
|
+
var Dm = (
|
|
6753
6749
|
/** @class */
|
|
6754
6750
|
function(n) {
|
|
6755
6751
|
ze(a, n);
|
|
@@ -6770,7 +6766,7 @@ var Cm = (
|
|
|
6770
6766
|
filterDate: t.props.filterDate
|
|
6771
6767
|
});
|
|
6772
6768
|
}, t.isExcluded = function(e) {
|
|
6773
|
-
return
|
|
6769
|
+
return za(e, {
|
|
6774
6770
|
excludeDates: t.props.excludeDates,
|
|
6775
6771
|
excludeDateIntervals: t.props.excludeDateIntervals
|
|
6776
6772
|
});
|
|
@@ -6838,9 +6834,9 @@ var Cm = (
|
|
|
6838
6834
|
return t.props.showWeekPicker ? At(w, t.props.locale, t.props.calendarStartDay) : t.props.preSelection;
|
|
6839
6835
|
}, p = function(w) {
|
|
6840
6836
|
return t.props.showWeekPicker ? At(w, t.props.locale, t.props.calendarStartDay) : t.props.selected;
|
|
6841
|
-
}, u = t.props.selected ? p(t.props.selected) : void 0, d = t.props.preSelection ? l(t.props.preSelection) : void 0; e.push(T.createElement(
|
|
6837
|
+
}, u = t.props.selected ? p(t.props.selected) : void 0, d = t.props.preSelection ? l(t.props.preSelection) : void 0; e.push(T.createElement(xm, ve({}, t.props, { ariaLabelPrefix: t.props.weekAriaLabelPrefix, key: o, day: s, month: Ue(t.props.day), onDayClick: t.handleDayClick, onDayMouseEnter: t.handleDayMouseEnter, selected: u, preSelection: d, showWeekNumber: t.props.showWeekNumbers }))), !i; ) {
|
|
6842
6838
|
o++, s = rr(s, 1);
|
|
6843
|
-
var m = r && o >=
|
|
6839
|
+
var m = r && o >= km, v = !r && !t.isWeekInMonth(s);
|
|
6844
6840
|
if (m || v)
|
|
6845
6841
|
if (t.props.peekNextMonth)
|
|
6846
6842
|
i = !0;
|
|
@@ -6860,7 +6856,7 @@ var Cm = (
|
|
|
6860
6856
|
}, t.handleKeyboardNavigation = function(e, r, o) {
|
|
6861
6857
|
var i, s = t.props, l = s.selected, p = s.preSelection, u = s.setPreSelection, d = s.minDate, m = s.maxDate, v = s.showFourColumnMonthYearPicker, w = s.showTwoColumnMonthYearPicker;
|
|
6862
6858
|
if (p) {
|
|
6863
|
-
var b =
|
|
6859
|
+
var b = Lo(v, w), y = t.getVerticalOffset(b), D = (i = $r[b]) === null || i === void 0 ? void 0 : i.grid, E = function(H, P, R) {
|
|
6864
6860
|
var K, re, ae = P, G = R;
|
|
6865
6861
|
switch (H) {
|
|
6866
6862
|
case J.ArrowRight:
|
|
@@ -6893,7 +6889,7 @@ var Cm = (
|
|
|
6893
6889
|
var $ = E(re, A, q);
|
|
6894
6890
|
A = $.newCalculatedDate, q = $.newCalculatedMonth;
|
|
6895
6891
|
}
|
|
6896
|
-
if (
|
|
6892
|
+
if (cm(A, t.props)) {
|
|
6897
6893
|
var $ = E(re, A, q);
|
|
6898
6894
|
A = $.newCalculatedDate, q = $.newCalculatedMonth;
|
|
6899
6895
|
} else
|
|
@@ -6924,10 +6920,10 @@ var Cm = (
|
|
|
6924
6920
|
l !== J.Tab && e.preventDefault(), i || t.handleKeyboardNavigation(e, l, r), s && s(e);
|
|
6925
6921
|
}, t.onQuarterClick = function(e, r) {
|
|
6926
6922
|
var o = an(t.props.day, r);
|
|
6927
|
-
jn(o, t.props) || t.handleDayClick(
|
|
6923
|
+
jn(o, t.props) || t.handleDayClick(yo(o), e);
|
|
6928
6924
|
}, t.onQuarterMouseEnter = function(e) {
|
|
6929
6925
|
var r = an(t.props.day, e);
|
|
6930
|
-
jn(r, t.props) || t.handleDayMouseEnter(
|
|
6926
|
+
jn(r, t.props) || t.handleDayMouseEnter(yo(r));
|
|
6931
6927
|
}, t.handleQuarterNavigation = function(e, r) {
|
|
6932
6928
|
var o, i, s, l;
|
|
6933
6929
|
t.isDisabled(r) || t.isExcluded(r) || ((i = (o = t.props).setPreSelection) === null || i === void 0 || i.call(o, r), (l = (s = t.QUARTER_REFS[e - 1]) === null || s === void 0 ? void 0 : s.current) === null || l === void 0 || l.focus());
|
|
@@ -6946,7 +6942,7 @@ var Cm = (
|
|
|
6946
6942
|
case J.ArrowLeft:
|
|
6947
6943
|
if (!t.props.preSelection)
|
|
6948
6944
|
break;
|
|
6949
|
-
t.handleQuarterNavigation(r === 1 ? 4 : r - 1,
|
|
6945
|
+
t.handleQuarterNavigation(r === 1 ? 4 : r - 1, Wi(t.props.preSelection));
|
|
6950
6946
|
break;
|
|
6951
6947
|
}
|
|
6952
6948
|
}, t.isMonthDisabledForLabelDate = function(e) {
|
|
@@ -6998,13 +6994,13 @@ var Cm = (
|
|
|
6998
6994
|
"react-datepicker__quarter-text--today": t.isCurrentQuarter(o, e)
|
|
6999
6995
|
});
|
|
7000
6996
|
}, t.getMonthContent = function(e) {
|
|
7001
|
-
var r = t.props, o = r.showFullMonthYearPicker, i = r.renderMonthContent, s = r.locale, l = r.day, p = Zi(e, s), u =
|
|
6997
|
+
var r = t.props, o = r.showFullMonthYearPicker, i = r.renderMonthContent, s = r.locale, l = r.day, p = Zi(e, s), u = Ha(e, s);
|
|
7002
6998
|
return i ? i(e, p, u, l) : o ? u : p;
|
|
7003
6999
|
}, t.getQuarterContent = function(e) {
|
|
7004
|
-
var r, o = t.props, i = o.renderQuarterContent, s = o.locale, l =
|
|
7000
|
+
var r, o = t.props, i = o.renderQuarterContent, s = o.locale, l = lm(e, s);
|
|
7005
7001
|
return (r = i == null ? void 0 : i(e, l)) !== null && r !== void 0 ? r : l;
|
|
7006
7002
|
}, t.renderMonths = function() {
|
|
7007
|
-
var e, r = t.props, o = r.showTwoColumnMonthYearPicker, i = r.showFourColumnMonthYearPicker, s = r.day, l = r.selected, p = (e = $r[
|
|
7003
|
+
var e, r = t.props, o = r.showTwoColumnMonthYearPicker, i = r.showFourColumnMonthYearPicker, s = r.day, l = r.selected, p = (e = $r[Lo(i, o)]) === null || e === void 0 ? void 0 : e.grid;
|
|
7008
7004
|
return p == null ? void 0 : p.map(function(u, d) {
|
|
7009
7005
|
return T.createElement("div", { className: "react-datepicker__month-wrapper", key: d }, u.map(function(m, v) {
|
|
7010
7006
|
return T.createElement("div", { ref: t.MONTH_REFS[m], key: v, onClick: function(w) {
|
|
@@ -7054,7 +7050,7 @@ var Cm = (
|
|
|
7054
7050
|
);
|
|
7055
7051
|
}, a;
|
|
7056
7052
|
}(He)
|
|
7057
|
-
),
|
|
7053
|
+
), Cm = (
|
|
7058
7054
|
/** @class */
|
|
7059
7055
|
function(n) {
|
|
7060
7056
|
ze(a, n);
|
|
@@ -7100,7 +7096,7 @@ var Cm = (
|
|
|
7100
7096
|
return T.createElement(Nr, { className: "react-datepicker__month-dropdown", onClickOutside: this.handleClickOutside }, this.renderOptions());
|
|
7101
7097
|
}, a;
|
|
7102
7098
|
}(He)
|
|
7103
|
-
),
|
|
7099
|
+
), Sm = (
|
|
7104
7100
|
/** @class */
|
|
7105
7101
|
function(n) {
|
|
7106
7102
|
ze(a, n);
|
|
@@ -7124,7 +7120,7 @@ var Cm = (
|
|
|
7124
7120
|
T.createElement("span", { className: "react-datepicker__month-read-view--selected-month" }, r[t.props.month])
|
|
7125
7121
|
);
|
|
7126
7122
|
}, t.renderDropdown = function(e) {
|
|
7127
|
-
return T.createElement(
|
|
7123
|
+
return T.createElement(Cm, ve({ key: "dropdown" }, t.props, { monthNames: e, onChange: t.onChange, onCancel: t.toggleDropdown }));
|
|
7128
7124
|
}, t.renderScrollMode = function(e) {
|
|
7129
7125
|
var r = t.state.dropdownVisible, o = [t.renderReadView(!r, e)];
|
|
7130
7126
|
return r && o.unshift(t.renderDropdown(e)), o;
|
|
@@ -7140,7 +7136,7 @@ var Cm = (
|
|
|
7140
7136
|
var t = this, e = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].map(this.props.useShortMonthInDropdown ? function(o) {
|
|
7141
7137
|
return Zi(o, t.props.locale);
|
|
7142
7138
|
} : function(o) {
|
|
7143
|
-
return
|
|
7139
|
+
return Ha(o, t.props.locale);
|
|
7144
7140
|
}), r;
|
|
7145
7141
|
switch (this.props.dropdownMode) {
|
|
7146
7142
|
case "scroll":
|
|
@@ -7154,12 +7150,12 @@ var Cm = (
|
|
|
7154
7150
|
}, a;
|
|
7155
7151
|
}(He)
|
|
7156
7152
|
);
|
|
7157
|
-
function
|
|
7153
|
+
function Mm(n, a) {
|
|
7158
7154
|
for (var t = [], e = Ot(n), r = Ot(a); !Bt(e, r); )
|
|
7159
7155
|
t.push(xe(e)), e = ft(e, 1);
|
|
7160
7156
|
return t;
|
|
7161
7157
|
}
|
|
7162
|
-
var
|
|
7158
|
+
var Em = (
|
|
7163
7159
|
/** @class */
|
|
7164
7160
|
function(n) {
|
|
7165
7161
|
ze(a, n);
|
|
@@ -7180,7 +7176,7 @@ var Nm = (
|
|
|
7180
7176
|
}, e.handleClickOutside = function() {
|
|
7181
7177
|
e.props.onCancel();
|
|
7182
7178
|
}, e.state = {
|
|
7183
|
-
monthYearsList:
|
|
7179
|
+
monthYearsList: Mm(e.props.minDate, e.props.maxDate)
|
|
7184
7180
|
}, e;
|
|
7185
7181
|
}
|
|
7186
7182
|
return a.prototype.render = function() {
|
|
@@ -7191,7 +7187,7 @@ var Nm = (
|
|
|
7191
7187
|
return T.createElement(Nr, { className: t, onClickOutside: this.handleClickOutside }, this.renderOptions());
|
|
7192
7188
|
}, a;
|
|
7193
7189
|
}(He)
|
|
7194
|
-
),
|
|
7190
|
+
), Nm = (
|
|
7195
7191
|
/** @class */
|
|
7196
7192
|
function(n) {
|
|
7197
7193
|
ze(a, n);
|
|
@@ -7218,7 +7214,7 @@ var Nm = (
|
|
|
7218
7214
|
T.createElement("span", { className: "react-datepicker__month-year-read-view--selected-month-year" }, r)
|
|
7219
7215
|
);
|
|
7220
7216
|
}, t.renderDropdown = function() {
|
|
7221
|
-
return T.createElement(
|
|
7217
|
+
return T.createElement(Em, ve({ key: "dropdown" }, t.props, { onChange: t.onChange, onCancel: t.toggleDropdown }));
|
|
7222
7218
|
}, t.renderScrollMode = function() {
|
|
7223
7219
|
var e = t.state.dropdownVisible, r = [t.renderReadView(!e)];
|
|
7224
7220
|
return e && r.unshift(t.renderDropdown()), r;
|
|
@@ -7245,7 +7241,7 @@ var Nm = (
|
|
|
7245
7241
|
return T.createElement("div", { className: "react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode) }, t);
|
|
7246
7242
|
}, a;
|
|
7247
7243
|
}(He)
|
|
7248
|
-
),
|
|
7244
|
+
), Tm = (
|
|
7249
7245
|
/** @class */
|
|
7250
7246
|
function(n) {
|
|
7251
7247
|
ze(a, n);
|
|
@@ -7260,11 +7256,11 @@ var Nm = (
|
|
|
7260
7256
|
});
|
|
7261
7257
|
}, t.handleClick = function(e) {
|
|
7262
7258
|
var r, o;
|
|
7263
|
-
(t.props.minTime || t.props.maxTime) &&
|
|
7259
|
+
(t.props.minTime || t.props.maxTime) && So(e, t.props) || (t.props.excludeTimes || t.props.includeTimes || t.props.filterTime) && Co(e, t.props) || (o = (r = t.props).onChange) === null || o === void 0 || o.call(r, e);
|
|
7264
7260
|
}, t.isSelectedTime = function(e) {
|
|
7265
|
-
return t.props.selected &&
|
|
7261
|
+
return t.props.selected && gm(t.props.selected, e);
|
|
7266
7262
|
}, t.isDisabledTime = function(e) {
|
|
7267
|
-
return (t.props.minTime || t.props.maxTime) &&
|
|
7263
|
+
return (t.props.minTime || t.props.maxTime) && So(e, t.props) || (t.props.excludeTimes || t.props.includeTimes || t.props.filterTime) && Co(e, t.props);
|
|
7268
7264
|
}, t.liClasses = function(e) {
|
|
7269
7265
|
var r, o = [
|
|
7270
7266
|
"react-datepicker__time-list-item",
|
|
@@ -7277,10 +7273,10 @@ var Nm = (
|
|
|
7277
7273
|
}, t.renderTimes = function() {
|
|
7278
7274
|
for (var e, r = [], o = typeof t.props.format == "string" ? t.props.format : "p", i = (e = t.props.intervals) !== null && e !== void 0 ? e : a.defaultProps.intervals, s = t.props.selected || t.props.openToDate || xe(), l = Jn(s), p = t.props.injectTimes && t.props.injectTimes.sort(function(y, D) {
|
|
7279
7275
|
return y.getTime() - D.getTime();
|
|
7280
|
-
}), u = 60 *
|
|
7276
|
+
}), u = 60 * _m(s), d = u / i, m = 0; m < d; m++) {
|
|
7281
7277
|
var v = da(l, m * i);
|
|
7282
7278
|
if (r.push(v), p) {
|
|
7283
|
-
var w =
|
|
7279
|
+
var w = vm(l, v, m, i, p);
|
|
7284
7280
|
r = r.concat(w);
|
|
7285
7281
|
}
|
|
7286
7282
|
}
|
|
@@ -7351,7 +7347,7 @@ var Nm = (
|
|
|
7351
7347
|
return e.offsetTop - (t / 2 - e.clientHeight / 2);
|
|
7352
7348
|
}, a;
|
|
7353
7349
|
}(He)
|
|
7354
|
-
),
|
|
7350
|
+
), Fo = 3, Pm = (
|
|
7355
7351
|
/** @class */
|
|
7356
7352
|
function(n) {
|
|
7357
7353
|
ze(a, n);
|
|
@@ -7368,7 +7364,7 @@ var Nm = (
|
|
|
7368
7364
|
filterDate: e.props.filterDate
|
|
7369
7365
|
});
|
|
7370
7366
|
}, e.isExcluded = function(r) {
|
|
7371
|
-
return
|
|
7367
|
+
return za(r, {
|
|
7372
7368
|
excludeDates: e.props.excludeDates
|
|
7373
7369
|
});
|
|
7374
7370
|
}, e.selectingDate = function() {
|
|
@@ -7448,7 +7444,7 @@ var Nm = (
|
|
|
7448
7444
|
case J.ArrowUp: {
|
|
7449
7445
|
if (u === void 0 || d === void 0 || e.props.preSelection == null)
|
|
7450
7446
|
break;
|
|
7451
|
-
var v = Et(u, d).startPeriod, w =
|
|
7447
|
+
var v = Et(u, d).startPeriod, w = Fo, b = o - w;
|
|
7452
7448
|
if (b < v) {
|
|
7453
7449
|
var y = d % w;
|
|
7454
7450
|
o >= v && o < v + y ? w = y : w += y, b = o - w;
|
|
@@ -7459,7 +7455,7 @@ var Nm = (
|
|
|
7459
7455
|
case J.ArrowDown: {
|
|
7460
7456
|
if (u === void 0 || d === void 0 || e.props.preSelection == null)
|
|
7461
7457
|
break;
|
|
7462
|
-
var D = Et(u, d).endPeriod, w =
|
|
7458
|
+
var D = Et(u, d).endPeriod, w = Fo, b = o + w;
|
|
7463
7459
|
if (b > D) {
|
|
7464
7460
|
var y = d % w;
|
|
7465
7461
|
o <= D && o > D - y ? w = y : w += y, b = o + w;
|
|
@@ -7520,14 +7516,14 @@ var Nm = (
|
|
|
7520
7516
|
}, a;
|
|
7521
7517
|
}(He)
|
|
7522
7518
|
);
|
|
7523
|
-
function
|
|
7519
|
+
function Im(n, a, t, e) {
|
|
7524
7520
|
for (var r = [], o = 0; o < 2 * a + 1; o++) {
|
|
7525
7521
|
var i = n + a - o, s = !0;
|
|
7526
7522
|
t && (s = fe(t) <= i), e && s && (s = fe(e) >= i), s && r.push(i);
|
|
7527
7523
|
}
|
|
7528
7524
|
return r;
|
|
7529
7525
|
}
|
|
7530
|
-
var
|
|
7526
|
+
var Om = (
|
|
7531
7527
|
/** @class */
|
|
7532
7528
|
function(n) {
|
|
7533
7529
|
ze(a, n);
|
|
@@ -7593,7 +7589,7 @@ var Rm = (
|
|
|
7593
7589
|
};
|
|
7594
7590
|
var r = t.yearDropdownItemNumber, o = t.scrollableYearDropdown, i = r || (o ? 10 : 5);
|
|
7595
7591
|
return e.state = {
|
|
7596
|
-
yearsList:
|
|
7592
|
+
yearsList: Im(e.props.year, i, e.props.minDate, e.props.maxDate)
|
|
7597
7593
|
}, e.dropdownRef = Wt(), e;
|
|
7598
7594
|
}
|
|
7599
7595
|
return a.prototype.componentDidMount = function() {
|
|
@@ -7612,7 +7608,7 @@ var Rm = (
|
|
|
7612
7608
|
return T.createElement(Nr, { className: t, containerRef: this.dropdownRef, onClickOutside: this.handleClickOutside }, this.renderOptions());
|
|
7613
7609
|
}, a;
|
|
7614
7610
|
}(He)
|
|
7615
|
-
),
|
|
7611
|
+
), Rm = (
|
|
7616
7612
|
/** @class */
|
|
7617
7613
|
function(n) {
|
|
7618
7614
|
ze(a, n);
|
|
@@ -7636,7 +7632,7 @@ var Rm = (
|
|
|
7636
7632
|
T.createElement("span", { className: "react-datepicker__year-read-view--selected-year" }, t.props.year)
|
|
7637
7633
|
);
|
|
7638
7634
|
}, t.renderDropdown = function() {
|
|
7639
|
-
return T.createElement(
|
|
7635
|
+
return T.createElement(Om, ve({ key: "dropdown" }, t.props, { onChange: t.onChange, onCancel: t.toggleDropdown }));
|
|
7640
7636
|
}, t.renderScrollMode = function() {
|
|
7641
7637
|
var e = t.state.dropdownVisible, r = [t.renderReadView(!e)];
|
|
7642
7638
|
return e && r.unshift(t.renderDropdown()), r;
|
|
@@ -7672,16 +7668,16 @@ var Rm = (
|
|
|
7672
7668
|
return T.createElement("div", { className: "react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode) }, t);
|
|
7673
7669
|
}, a;
|
|
7674
7670
|
}(He)
|
|
7675
|
-
),
|
|
7671
|
+
), Lm = [
|
|
7676
7672
|
"react-datepicker__year-select",
|
|
7677
7673
|
"react-datepicker__month-select",
|
|
7678
7674
|
"react-datepicker__month-year-select"
|
|
7679
|
-
], rs = "react-datepicker-ignore-onclickoutside",
|
|
7675
|
+
], rs = "react-datepicker-ignore-onclickoutside", Fm = function(n) {
|
|
7680
7676
|
var a = (n.className || "").split(/\s+/);
|
|
7681
|
-
return
|
|
7677
|
+
return Lm.some(function(t) {
|
|
7682
7678
|
return a.indexOf(t) >= 0;
|
|
7683
7679
|
});
|
|
7684
|
-
},
|
|
7680
|
+
}, Am = (
|
|
7685
7681
|
/** @class */
|
|
7686
7682
|
function(n) {
|
|
7687
7683
|
ze(a, n);
|
|
@@ -7693,7 +7689,7 @@ var Rm = (
|
|
|
7693
7689
|
return e.containerRef.current;
|
|
7694
7690
|
}, e.handleDropdownFocus = function(r) {
|
|
7695
7691
|
var o, i;
|
|
7696
|
-
|
|
7692
|
+
Fm(r.target) && ((i = (o = e.props).onDropdownFocus) === null || i === void 0 || i.call(o, r));
|
|
7697
7693
|
}, e.getDateInView = function() {
|
|
7698
7694
|
var r = e.props, o = r.preSelection, i = r.selected, s = r.openToDate, l = es(e.props), p = ts(e.props), u = xe(), d = s || i || o;
|
|
7699
7695
|
return d || (l && yt(u, l) ? l : p && Bt(u, p) ? p : u);
|
|
@@ -7792,7 +7788,7 @@ var Rm = (
|
|
|
7792
7788
|
);
|
|
7793
7789
|
}));
|
|
7794
7790
|
}, e.formatWeekday = function(r, o) {
|
|
7795
|
-
return e.props.formatWeekDay ?
|
|
7791
|
+
return e.props.formatWeekDay ? om(r, e.props.formatWeekDay, o) : e.props.useWeekdaysShort ? sm(r, o) : im(r, o);
|
|
7796
7792
|
}, e.decreaseYear = function() {
|
|
7797
7793
|
e.setState(function(r) {
|
|
7798
7794
|
var o, i = r.date;
|
|
@@ -7810,16 +7806,16 @@ var Rm = (
|
|
|
7810
7806
|
var s = (r = e.props.monthsShown) !== null && r !== void 0 ? r : a.defaultProps.monthsShown, l = e.props.showPreviousMonths ? s - 1 : 0, p = (o = e.props.monthSelectedIn) !== null && o !== void 0 ? o : l, u = Qt(e.state.date, p), d;
|
|
7811
7807
|
switch (!0) {
|
|
7812
7808
|
case e.props.showMonthYearPicker:
|
|
7813
|
-
d =
|
|
7809
|
+
d = No(e.state.date, e.props);
|
|
7814
7810
|
break;
|
|
7815
7811
|
case e.props.showYearPicker:
|
|
7816
|
-
d =
|
|
7812
|
+
d = dm(e.state.date, e.props);
|
|
7817
7813
|
break;
|
|
7818
7814
|
case e.props.showQuarterYearPicker:
|
|
7819
|
-
d =
|
|
7815
|
+
d = pm(e.state.date, e.props);
|
|
7820
7816
|
break;
|
|
7821
7817
|
default:
|
|
7822
|
-
d =
|
|
7818
|
+
d = Mo(u, e.props);
|
|
7823
7819
|
break;
|
|
7824
7820
|
}
|
|
7825
7821
|
if (!(!((i = e.props.forceShowMonthNavigation) !== null && i !== void 0 ? i : a.defaultProps.forceShowMonthNavigation) && !e.props.showDisabledMonthNavigation && d || e.props.showTimeSelectOnly)) {
|
|
@@ -7854,16 +7850,16 @@ var Rm = (
|
|
|
7854
7850
|
var o;
|
|
7855
7851
|
switch (!0) {
|
|
7856
7852
|
case e.props.showMonthYearPicker:
|
|
7857
|
-
o =
|
|
7853
|
+
o = To(e.state.date, e.props);
|
|
7858
7854
|
break;
|
|
7859
7855
|
case e.props.showYearPicker:
|
|
7860
|
-
o =
|
|
7856
|
+
o = fm(e.state.date, e.props);
|
|
7861
7857
|
break;
|
|
7862
7858
|
case e.props.showQuarterYearPicker:
|
|
7863
|
-
o =
|
|
7859
|
+
o = um(e.state.date, e.props);
|
|
7864
7860
|
break;
|
|
7865
7861
|
default:
|
|
7866
|
-
o =
|
|
7862
|
+
o = Eo(e.state.date, e.props);
|
|
7867
7863
|
break;
|
|
7868
7864
|
}
|
|
7869
7865
|
if (!(!((r = e.props.forceShowMonthNavigation) !== null && r !== void 0 ? r : a.defaultProps.forceShowMonthNavigation) && !e.props.showDisabledMonthNavigation && o || e.props.showTimeSelectOnly)) {
|
|
@@ -7891,15 +7887,15 @@ var Rm = (
|
|
|
7891
7887
|
return e.props.showYearDropdown && o.push("react-datepicker__current-month--hasYearDropdown"), e.props.showMonthDropdown && o.push("react-datepicker__current-month--hasMonthDropdown"), e.props.showMonthYearDropdown && o.push("react-datepicker__current-month--hasMonthYearDropdown"), T.createElement("h2", { className: o.join(" ") }, Ce(r, e.props.dateFormat, e.props.locale));
|
|
7892
7888
|
}, e.renderYearDropdown = function(r) {
|
|
7893
7889
|
if (r === void 0 && (r = !1), !(!e.props.showYearDropdown || r))
|
|
7894
|
-
return T.createElement(
|
|
7890
|
+
return T.createElement(Rm, ve({}, a.defaultProps, e.props, { date: e.state.date, onChange: e.changeYear, year: fe(e.state.date) }));
|
|
7895
7891
|
}, e.renderMonthDropdown = function(r) {
|
|
7896
7892
|
if (r === void 0 && (r = !1), !(!e.props.showMonthDropdown || r))
|
|
7897
|
-
return T.createElement(
|
|
7893
|
+
return T.createElement(Sm, ve({}, a.defaultProps, e.props, { month: Ue(e.state.date), onChange: e.changeMonth }));
|
|
7898
7894
|
}, e.renderMonthYearDropdown = function(r) {
|
|
7899
7895
|
if (r === void 0 && (r = !1), !(!e.props.showMonthYearDropdown || r))
|
|
7900
|
-
return T.createElement(
|
|
7896
|
+
return T.createElement(Nm, ve({}, a.defaultProps, e.props, { date: e.state.date, onChange: e.changeMonthYear }));
|
|
7901
7897
|
}, e.handleTodayButtonClick = function(r) {
|
|
7902
|
-
e.props.onSelect(
|
|
7898
|
+
e.props.onSelect(xo(), r), e.props.setPreSelection && e.props.setPreSelection(xo());
|
|
7903
7899
|
}, e.renderTodayButton = function() {
|
|
7904
7900
|
if (!(!e.props.todayButton || e.props.showTimeSelectOnly))
|
|
7905
7901
|
return T.createElement("div", { className: "react-datepicker__today-button", onClick: e.handleTodayButtonClick }, e.props.todayButton);
|
|
@@ -7931,7 +7927,7 @@ var Rm = (
|
|
|
7931
7927
|
endYear: b
|
|
7932
7928
|
};
|
|
7933
7929
|
}
|
|
7934
|
-
var y =
|
|
7930
|
+
var y = Mo(e.state.date, e.props), D = Eo(e.state.date, e.props), E = No(e.state.date, e.props), S = To(e.state.date, e.props);
|
|
7935
7931
|
return T.createElement("div", { className: "react-datepicker__header react-datepicker__header--custom", onFocus: e.props.onDropdownFocus }, (i = (o = e.props).renderCustomHeader) === null || i === void 0 ? void 0 : i.call(o, ve(ve(ve({}, e.state), u && { visibleYearsRange: m }), { customHeaderCount: l, monthDate: s, changeMonth: e.changeMonth, changeYear: e.changeYear, decreaseMonth: e.decreaseMonth, increaseMonth: e.increaseMonth, decreaseYear: e.decreaseYear, increaseYear: e.increaseYear, prevMonthButtonDisabled: y, nextMonthButtonDisabled: D, prevYearButtonDisabled: E, nextYearButtonDisabled: S })));
|
|
7936
7932
|
}, e.renderYearHeader = function(r) {
|
|
7937
7933
|
var o = r.monthDate, i = e.props, s = i.showYearPicker, l = i.yearItemNumber, p = l === void 0 ? a.defaultProps.yearItemNumber : l, u = Et(o, p), d = u.startPeriod, m = u.endPeriod;
|
|
@@ -7957,7 +7953,7 @@ var Rm = (
|
|
|
7957
7953
|
e.monthContainer = D ?? void 0;
|
|
7958
7954
|
}, className: "react-datepicker__month-container" },
|
|
7959
7955
|
e.renderHeader({ monthDate: v, i: d }),
|
|
7960
|
-
T.createElement(
|
|
7956
|
+
T.createElement(Dm, ve({}, a.defaultProps, e.props, { containerRef: e.containerRef, ariaLabelPrefix: e.props.monthAriaLabelPrefix, day: v, onDayClick: e.handleDayClick, handleOnKeyDown: e.props.handleOnDayKeyDown, handleOnMonthKeyDown: e.props.handleOnKeyDown, onDayMouseEnter: e.handleDayMouseEnter, onMouseLeave: e.handleMonthMouseLeave, orderInDisplay: d, selectingDate: e.state.selectingDate, monthShowsDuplicateDaysEnd: b, monthShowsDuplicateDaysStart: y, dayNamesHeader: e.renderDayNamesHeader(v) }))
|
|
7961
7957
|
));
|
|
7962
7958
|
}
|
|
7963
7959
|
return i;
|
|
@@ -7968,18 +7964,18 @@ var Rm = (
|
|
|
7968
7964
|
"div",
|
|
7969
7965
|
{ className: "react-datepicker__year--container" },
|
|
7970
7966
|
e.renderHeader({ monthDate: e.state.date }),
|
|
7971
|
-
T.createElement(
|
|
7967
|
+
T.createElement(Pm, ve({}, a.defaultProps, e.props, { selectingDate: e.state.selectingDate, date: e.state.date, onDayClick: e.handleDayClick, clearSelectingDate: e.clearSelectingDate, onYearMouseEnter: e.handleYearMouseEnter, onYearMouseLeave: e.handleYearMouseLeave }))
|
|
7972
7968
|
);
|
|
7973
7969
|
}, e.renderTimeSection = function() {
|
|
7974
7970
|
if (e.props.showTimeSelect && (e.state.monthContainer || e.props.showTimeSelectOnly))
|
|
7975
|
-
return T.createElement(
|
|
7971
|
+
return T.createElement(Tm, ve({}, a.defaultProps, e.props, { onChange: e.props.onTimeChange, format: e.props.timeFormat, intervals: e.props.timeIntervals, monthRef: e.state.monthContainer }));
|
|
7976
7972
|
}, e.renderInputTimeSection = function() {
|
|
7977
|
-
var r = e.props.selected ? new Date(e.props.selected) : void 0, o = r && Tr(r) && !!e.props.selected, i = o ? "".concat(
|
|
7973
|
+
var r = e.props.selected ? new Date(e.props.selected) : void 0, o = r && Tr(r) && !!e.props.selected, i = o ? "".concat(Io(r.getHours()), ":").concat(Io(r.getMinutes())) : "";
|
|
7978
7974
|
if (e.props.showTimeInput)
|
|
7979
|
-
return T.createElement(
|
|
7975
|
+
return T.createElement(wm, ve({}, a.defaultProps, e.props, { date: r, timeString: i, onChange: e.props.onTimeChange }));
|
|
7980
7976
|
}, e.renderAriaLiveRegion = function() {
|
|
7981
7977
|
var r, o = Et(e.state.date, (r = e.props.yearItemNumber) !== null && r !== void 0 ? r : a.defaultProps.yearItemNumber), i = o.startPeriod, s = o.endPeriod, l;
|
|
7982
|
-
return e.props.showYearPicker ? l = "".concat(i, " - ").concat(s) : e.props.showMonthYearPicker || e.props.showQuarterYearPicker ? l = fe(e.state.date) : l = "".concat(
|
|
7978
|
+
return e.props.showYearPicker ? l = "".concat(i, " - ").concat(s) : e.props.showMonthYearPicker || e.props.showQuarterYearPicker ? l = fe(e.state.date) : l = "".concat(Ha(Ue(e.state.date), e.props.locale), " ").concat(fe(e.state.date)), T.createElement("span", { role: "alert", "aria-live": "polite", className: "react-datepicker__aria-live" }, e.state.isRenderAriaLiveMessage && l);
|
|
7983
7979
|
}, e.renderChildren = function() {
|
|
7984
7980
|
if (e.props.children)
|
|
7985
7981
|
return T.createElement("div", { className: "react-datepicker__children-container" }, e.props.children);
|
|
@@ -8050,7 +8046,7 @@ var Rm = (
|
|
|
8050
8046
|
);
|
|
8051
8047
|
}, a;
|
|
8052
8048
|
}(He)
|
|
8053
|
-
),
|
|
8049
|
+
), Wm = function(n) {
|
|
8054
8050
|
var a = n.icon, t = n.className, e = t === void 0 ? "" : t, r = n.onClick, o = "react-datepicker__calendar-icon";
|
|
8055
8051
|
if (typeof a == "string")
|
|
8056
8052
|
return T.createElement("i", { className: "".concat(o, " ").concat(a, " ").concat(e), "aria-hidden": "true", onClick: r });
|
|
@@ -8084,7 +8080,7 @@ var Rm = (
|
|
|
8084
8080
|
return gr.createPortal(this.props.children, this.el);
|
|
8085
8081
|
}, a;
|
|
8086
8082
|
}(He)
|
|
8087
|
-
),
|
|
8083
|
+
), Bm = "[tabindex], a, button, input, select, textarea", Ym = function(n) {
|
|
8088
8084
|
return (n instanceof HTMLAnchorElement || !n.disabled) && n.tabIndex !== -1;
|
|
8089
8085
|
}, os = (
|
|
8090
8086
|
/** @class */
|
|
@@ -8094,7 +8090,7 @@ var Rm = (
|
|
|
8094
8090
|
var e = n.call(this, t) || this;
|
|
8095
8091
|
return e.getTabChildren = function() {
|
|
8096
8092
|
var r;
|
|
8097
|
-
return Array.prototype.slice.call((r = e.tabLoopRef.current) === null || r === void 0 ? void 0 : r.querySelectorAll(
|
|
8093
|
+
return Array.prototype.slice.call((r = e.tabLoopRef.current) === null || r === void 0 ? void 0 : r.querySelectorAll(Bm), 1, -1).filter(Ym);
|
|
8098
8094
|
}, e.handleFocusStart = function() {
|
|
8099
8095
|
var r = e.getTabChildren();
|
|
8100
8096
|
r && r.length > 1 && r[r.length - 1].focus();
|
|
@@ -8117,7 +8113,7 @@ var Rm = (
|
|
|
8117
8113
|
}, a;
|
|
8118
8114
|
}(He)
|
|
8119
8115
|
);
|
|
8120
|
-
function
|
|
8116
|
+
function jm(n) {
|
|
8121
8117
|
function a(t) {
|
|
8122
8118
|
var e, r = typeof t.hidePopper == "boolean" ? t.hidePopper : !0, o = Ae(null), i = Kf(ve({ open: !r, whileElementsMounted: Sf, placement: t.popperPlacement, middleware: xt([
|
|
8123
8119
|
Lf({ padding: 15 }),
|
|
@@ -8128,7 +8124,7 @@ function Hm(n) {
|
|
|
8128
8124
|
}
|
|
8129
8125
|
return a.displayName = "withFloating(".concat(n.displayName || n.name || "Component", ")"), a;
|
|
8130
8126
|
}
|
|
8131
|
-
var
|
|
8127
|
+
var Hm = function(n) {
|
|
8132
8128
|
var a = n.className, t = n.wrapperClassName, e = n.hidePopper, r = e === void 0 ? !0 : e, o = n.popperComponent, i = n.targetComponent, s = n.enableTabLoop, l = n.popperOnKeyDown, p = n.portalId, u = n.portalHost, d = n.popperProps, m = n.showArrow, v = void 0;
|
|
8133
8129
|
if (!r) {
|
|
8134
8130
|
var w = N("react-datepicker-popper", a);
|
|
@@ -8151,11 +8147,11 @@ var zm = function(n) {
|
|
|
8151
8147
|
T.createElement("div", { ref: d.refs.setReference, className: b }, i),
|
|
8152
8148
|
v
|
|
8153
8149
|
);
|
|
8154
|
-
},
|
|
8155
|
-
function
|
|
8150
|
+
}, zm = jm(Hm);
|
|
8151
|
+
function qm(n, a) {
|
|
8156
8152
|
return n && a ? Ue(n) !== Ue(a) || fe(n) !== fe(a) : n !== a;
|
|
8157
8153
|
}
|
|
8158
|
-
var Qr = "Date input not valid.",
|
|
8154
|
+
var Qr = "Date input not valid.", Vm = (
|
|
8159
8155
|
/** @class */
|
|
8160
8156
|
function(n) {
|
|
8161
8157
|
ze(a, n);
|
|
@@ -8170,7 +8166,7 @@ var Qr = "Date input not valid.", Um = (
|
|
|
8170
8166
|
return Tr(s) ? xt(xt([], o, !0), [ve(ve({}, i), { date: s })], !1) : o;
|
|
8171
8167
|
}, []);
|
|
8172
8168
|
}, e.calcInitialState = function() {
|
|
8173
|
-
var r, o = e.getPreSelection(), i = es(e.props), s = ts(e.props), l = i && yt(o, Jn(i)) ? i : s && Bt(o,
|
|
8169
|
+
var r, o = e.getPreSelection(), i = es(e.props), s = ts(e.props), l = i && yt(o, Jn(i)) ? i : s && Bt(o, ko(s)) ? s : o;
|
|
8174
8170
|
return {
|
|
8175
8171
|
open: e.props.startOpen || !1,
|
|
8176
8172
|
preventFocus: !1,
|
|
@@ -8178,7 +8174,7 @@ var Qr = "Date input not valid.", Um = (
|
|
|
8178
8174
|
preSelection: (r = e.props.selectsRange ? e.props.startDate : e.props.selected) !== null && r !== void 0 ? r : l,
|
|
8179
8175
|
// transforming highlighted days (perhaps nested array)
|
|
8180
8176
|
// to flat Map for faster access in day.jsx
|
|
8181
|
-
highlightDates:
|
|
8177
|
+
highlightDates: Po(e.props.highlightDates),
|
|
8182
8178
|
focused: !1,
|
|
8183
8179
|
// used to focus day in inline version after month has changed, but not on
|
|
8184
8180
|
// initial render
|
|
@@ -8267,7 +8263,7 @@ var Qr = "Date input not valid.", Um = (
|
|
|
8267
8263
|
if (!(e.props.onChangeRaw && (e.props.onChangeRaw.apply(e, p), !d || typeof d.isDefaultPrevented != "function" || d.isDefaultPrevented()))) {
|
|
8268
8264
|
e.setState({
|
|
8269
8265
|
inputValue: (d == null ? void 0 : d.target) instanceof HTMLInputElement ? d.target.value : null,
|
|
8270
|
-
lastPreSelectChange:
|
|
8266
|
+
lastPreSelectChange: Um
|
|
8271
8267
|
});
|
|
8272
8268
|
var m = e.props, v = m.selectsRange, w = m.startDate, b = m.endDate, y = (r = e.props.dateFormat) !== null && r !== void 0 ? r : a.defaultProps.dateFormat, D = (o = e.props.strictParsing) !== null && o !== void 0 ? o : a.defaultProps.strictParsing, E = (d == null ? void 0 : d.target) instanceof HTMLInputElement ? d.target.value : "";
|
|
8273
8269
|
if (v) {
|
|
@@ -8342,7 +8338,7 @@ var Qr = "Date input not valid.", Um = (
|
|
|
8342
8338
|
var p = Jn(e.props.minDate);
|
|
8343
8339
|
s = Bt(r, p) || Ut(l, p);
|
|
8344
8340
|
} else if (i) {
|
|
8345
|
-
var u =
|
|
8341
|
+
var u = ko(e.props.maxDate);
|
|
8346
8342
|
s = yt(r, u) || Ut(l, u);
|
|
8347
8343
|
}
|
|
8348
8344
|
}
|
|
@@ -8403,10 +8399,10 @@ var Qr = "Date input not valid.", Um = (
|
|
|
8403
8399
|
$ = b ? rr(q, 1) : ut(q, 1);
|
|
8404
8400
|
break;
|
|
8405
8401
|
case J.ArrowLeft:
|
|
8406
|
-
$ = b ?
|
|
8402
|
+
$ = b ? lo(q) : dd(q);
|
|
8407
8403
|
break;
|
|
8408
8404
|
case J.ArrowUp:
|
|
8409
|
-
$ =
|
|
8405
|
+
$ = lo(q);
|
|
8410
8406
|
break;
|
|
8411
8407
|
case J.ArrowDown:
|
|
8412
8408
|
$ = rr(q, 1);
|
|
@@ -8477,9 +8473,9 @@ var Qr = "Date input not valid.", Um = (
|
|
|
8477
8473
|
typeof e.props.closeOnScroll == "boolean" && e.props.closeOnScroll ? (r.target === document || r.target === document.documentElement || r.target === document.body) && e.setOpen(!1) : typeof e.props.closeOnScroll == "function" && e.props.closeOnScroll(r) && e.setOpen(!1);
|
|
8478
8474
|
}, e.renderCalendar = function() {
|
|
8479
8475
|
var r, o;
|
|
8480
|
-
return !e.props.inline && !e.isCalendarOpen() ? null : T.createElement(
|
|
8476
|
+
return !e.props.inline && !e.isCalendarOpen() ? null : T.createElement(Am, ve({ showMonthYearDropdown: void 0, ref: function(i) {
|
|
8481
8477
|
e.calendar = i;
|
|
8482
|
-
} }, e.props, e.state, { setOpen: e.setOpen, dateFormat: (r = e.props.dateFormatCalendar) !== null && r !== void 0 ? r : a.defaultProps.dateFormatCalendar, onSelect: e.handleSelect, onClickOutside: e.handleCalendarClickOutside, holidays:
|
|
8478
|
+
} }, e.props, e.state, { setOpen: e.setOpen, dateFormat: (r = e.props.dateFormatCalendar) !== null && r !== void 0 ? r : a.defaultProps.dateFormatCalendar, onSelect: e.handleSelect, onClickOutside: e.handleCalendarClickOutside, holidays: hm(e.modifyHolidays()), outsideClickIgnoreClass: e.props.outsideClickIgnoreClass, onDropdownFocus: e.handleDropdownFocus, onTimeChange: e.handleTimeChange, className: e.props.calendarClassName, container: e.props.calendarContainer, handleOnKeyDown: e.props.onKeyDown, handleOnDayKeyDown: e.onDayKeyDown, setPreSelection: e.setPreSelection, dropdownMode: (o = e.props.dropdownMode) !== null && o !== void 0 ? o : a.defaultProps.dropdownMode }), e.props.children);
|
|
8483
8479
|
}, e.renderAriaLiveRegion = function() {
|
|
8484
8480
|
var r, o = e.props.locale, i = (r = e.props.dateFormat) !== null && r !== void 0 ? r : a.defaultProps.dateFormat, s = e.props.showTimeInput || e.props.showTimeSelect, l = s ? "PPPPp" : "PPPP", p;
|
|
8485
8481
|
return e.props.selectsRange ? p = "Selected start date: ".concat(at(e.props.startDate, {
|
|
@@ -8497,7 +8493,7 @@ var Qr = "Date input not valid.", Um = (
|
|
|
8497
8493
|
})), T.createElement("span", { role: "alert", "aria-live": "polite", className: "react-datepicker__aria-live" }, p);
|
|
8498
8494
|
}, e.renderDateInput = function() {
|
|
8499
8495
|
var r, o, i = N(e.props.className, (r = {}, r[e.props.outsideClickIgnoreClass || a.defaultProps.outsideClickIgnoreClass] = e.state.open, r)), s = e.props.customInput || T.createElement("input", { type: "text" }), l = e.props.customInputRef || "ref";
|
|
8500
|
-
return
|
|
8496
|
+
return mi(s, (o = {}, o[l] = function(p) {
|
|
8501
8497
|
e.input = p;
|
|
8502
8498
|
}, o.value = e.getInputValue(), o.onBlur = e.handleBlur, o.onChange = e.handleChange, o.onClick = e.onInputClick, o.onFocus = e.handleFocus, o.onKeyDown = e.onInputKeyDown, o.id = e.props.id, o.name = e.props.name, o.form = e.props.form, o.autoFocus = e.props.autoFocus, o.placeholder = e.props.placeholderText, o.disabled = e.props.disabled, o.autoComplete = e.props.autoComplete, o.className = N(s.props.className, i), o.title = e.props.title, o.readOnly = e.props.readOnly, o.required = e.props.required, o.tabIndex = e.props.tabIndex, o["aria-describedby"] = e.props.ariaDescribedBy, o["aria-invalid"] = e.props.ariaInvalid, o["aria-labelledby"] = e.props.ariaLabelledBy, o["aria-required"] = e.props.ariaRequired, o));
|
|
8503
8499
|
}, e.renderClearButton = function() {
|
|
@@ -8562,8 +8558,8 @@ var Qr = "Date input not valid.", Um = (
|
|
|
8562
8558
|
window.addEventListener("scroll", this.onScroll, !0), document.addEventListener("visibilitychange", this.setHiddenStateOnVisibilityHidden);
|
|
8563
8559
|
}, a.prototype.componentDidUpdate = function(t, e) {
|
|
8564
8560
|
var r, o, i, s;
|
|
8565
|
-
t.inline &&
|
|
8566
|
-
highlightDates:
|
|
8561
|
+
t.inline && qm(t.selected, this.props.selected) && this.setPreSelection(this.props.selected), this.state.monthSelectedIn !== void 0 && t.monthsShown !== this.props.monthsShown && this.setState({ monthSelectedIn: 0 }), t.highlightDates !== this.props.highlightDates && this.setState({
|
|
8562
|
+
highlightDates: Po(this.props.highlightDates)
|
|
8567
8563
|
}), !e.focused && !Ut(t.selected, this.props.selected) && this.setState({ inputValue: null }), e.open !== this.state.open && (e.open === !1 && this.state.open === !0 && ((o = (r = this.props).onCalendarOpen) === null || o === void 0 || o.call(r)), e.open === !0 && this.state.open === !1 && ((s = (i = this.props).onCalendarClose) === null || s === void 0 || s.call(i)));
|
|
8568
8564
|
}, a.prototype.componentWillUnmount = function() {
|
|
8569
8565
|
this.clearPreventFocusTimeout(), window.removeEventListener("scroll", this.onScroll, !0), document.removeEventListener("visibilitychange", this.setHiddenStateOnVisibilityHidden);
|
|
@@ -8572,7 +8568,7 @@ var Qr = "Date input not valid.", Um = (
|
|
|
8572
8568
|
return o && console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."), T.createElement(
|
|
8573
8569
|
"div",
|
|
8574
8570
|
{ className: "react-datepicker__input-container".concat(e ? " react-datepicker__view-calendar-icon" : "") },
|
|
8575
|
-
e && T.createElement(
|
|
8571
|
+
e && T.createElement(Wm, ve({ icon: r, className: N(i, !i && o, l && "react-datepicker-ignore-onclickoutside") }, s ? {
|
|
8576
8572
|
onClick: this.toggleCalendar
|
|
8577
8573
|
} : null)),
|
|
8578
8574
|
this.state.isRenderAriaLiveMessage && this.renderAriaLiveRegion(),
|
|
@@ -8596,17 +8592,17 @@ var Qr = "Date input not valid.", Um = (
|
|
|
8596
8592
|
e
|
|
8597
8593
|
);
|
|
8598
8594
|
}
|
|
8599
|
-
return T.createElement(
|
|
8595
|
+
return T.createElement(zm, ve({}, this.props, { className: this.props.popperClassName, hidePopper: !this.isCalendarOpen(), targetComponent: this.renderInputContainer(), popperComponent: t, popperOnKeyDown: this.onPopperKeyDown, showArrow: this.props.showPopperArrow }));
|
|
8600
8596
|
}, a;
|
|
8601
8597
|
}(He)
|
|
8602
|
-
),
|
|
8603
|
-
function
|
|
8598
|
+
), Um = "input", Gr = "navigate";
|
|
8599
|
+
function qa(n) {
|
|
8604
8600
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
8605
8601
|
}
|
|
8606
|
-
var wa = { exports: {} }, Kr,
|
|
8607
|
-
function
|
|
8608
|
-
if (
|
|
8609
|
-
|
|
8602
|
+
var wa = { exports: {} }, Kr, Ao;
|
|
8603
|
+
function $m() {
|
|
8604
|
+
if (Ao) return Kr;
|
|
8605
|
+
Ao = 1;
|
|
8610
8606
|
function n(h) {
|
|
8611
8607
|
return h && typeof h == "object" && "default" in h ? h.default : h;
|
|
8612
8608
|
}
|
|
@@ -8936,10 +8932,10 @@ function Qm() {
|
|
|
8936
8932
|
}(a.Component);
|
|
8937
8933
|
return Kr = X, Kr;
|
|
8938
8934
|
}
|
|
8939
|
-
var Xr,
|
|
8940
|
-
function
|
|
8941
|
-
if (
|
|
8942
|
-
|
|
8935
|
+
var Xr, Wo;
|
|
8936
|
+
function Qm() {
|
|
8937
|
+
if (Wo) return Xr;
|
|
8938
|
+
Wo = 1;
|
|
8943
8939
|
var n = function(a, t, e, r, o, i, s, l) {
|
|
8944
8940
|
if (process.env.NODE_ENV !== "production" && t === void 0)
|
|
8945
8941
|
throw new Error("invariant requires an error message argument");
|
|
@@ -8962,10 +8958,10 @@ function Gm() {
|
|
|
8962
8958
|
};
|
|
8963
8959
|
return Xr = n, Xr;
|
|
8964
8960
|
}
|
|
8965
|
-
var Zr,
|
|
8966
|
-
function
|
|
8967
|
-
if (
|
|
8968
|
-
|
|
8961
|
+
var Zr, Bo;
|
|
8962
|
+
function Gm() {
|
|
8963
|
+
if (Bo) return Zr;
|
|
8964
|
+
Bo = 1;
|
|
8969
8965
|
var n = process.env.NODE_ENV !== "production", a = function() {
|
|
8970
8966
|
};
|
|
8971
8967
|
if (n) {
|
|
@@ -8997,14 +8993,14 @@ function Km() {
|
|
|
8997
8993
|
}
|
|
8998
8994
|
return Zr = a, Zr;
|
|
8999
8995
|
}
|
|
9000
|
-
var Jr,
|
|
9001
|
-
function
|
|
9002
|
-
if (
|
|
9003
|
-
|
|
8996
|
+
var Jr, Yo;
|
|
8997
|
+
function Km() {
|
|
8998
|
+
if (Yo) return Jr;
|
|
8999
|
+
Yo = 1;
|
|
9004
9000
|
function n(h) {
|
|
9005
9001
|
return h && typeof h == "object" && "default" in h ? h.default : h;
|
|
9006
9002
|
}
|
|
9007
|
-
var a = n(T), t = gr, e = n(
|
|
9003
|
+
var a = n(T), t = gr, e = n(Qm()), r = n(Gm());
|
|
9008
9004
|
function o(h, f) {
|
|
9009
9005
|
for (var g = Object.getOwnPropertyNames(f), _ = 0; _ < g.length; _++) {
|
|
9010
9006
|
var c = g[_], k = Object.getOwnPropertyDescriptor(f, c);
|
|
@@ -9479,21 +9475,21 @@ function Xm() {
|
|
|
9479
9475
|
}(a.Component);
|
|
9480
9476
|
return Jr = X, Jr;
|
|
9481
9477
|
}
|
|
9482
|
-
process.env.NODE_ENV === "production" ? wa.exports =
|
|
9483
|
-
var
|
|
9484
|
-
const
|
|
9485
|
-
datepickerInput:
|
|
9486
|
-
datepickerInput_filled:
|
|
9487
|
-
datepickerInput_outlined:
|
|
9488
|
-
datepickerInput__input:
|
|
9489
|
-
datepickerInput__icon:
|
|
9490
|
-
datepickerInput_active:
|
|
9491
|
-
datepickerInput_focused:
|
|
9492
|
-
datepickerInput_error:
|
|
9493
|
-
datepickerInput_changed:
|
|
9494
|
-
datepickerInput_disabled:
|
|
9495
|
-
datepickerInput__input_clearStyles:
|
|
9496
|
-
},
|
|
9478
|
+
process.env.NODE_ENV === "production" ? wa.exports = $m() : wa.exports = Km();
|
|
9479
|
+
var Xm = wa.exports;
|
|
9480
|
+
const Zm = /* @__PURE__ */ qa(Xm), Jm = "_datepickerInput_e80nk_43", eh = "_datepickerInput_filled_e80nk_57", th = "_datepickerInput_outlined_e80nk_61", nh = "_datepickerInput__input_e80nk_65", rh = "_datepickerInput__icon_e80nk_68", ah = "_datepickerInput_active_e80nk_71", oh = "_datepickerInput_focused_e80nk_74", ih = "_datepickerInput_error_e80nk_80", sh = "_datepickerInput_changed_e80nk_83", lh = "_datepickerInput_disabled_e80nk_95", ch = "_datepickerInput__input_clearStyles_e80nk_124", nt = {
|
|
9481
|
+
datepickerInput: Jm,
|
|
9482
|
+
datepickerInput_filled: eh,
|
|
9483
|
+
datepickerInput_outlined: th,
|
|
9484
|
+
datepickerInput__input: nh,
|
|
9485
|
+
datepickerInput__icon: rh,
|
|
9486
|
+
datepickerInput_active: ah,
|
|
9487
|
+
datepickerInput_focused: oh,
|
|
9488
|
+
datepickerInput_error: ih,
|
|
9489
|
+
datepickerInput_changed: sh,
|
|
9490
|
+
datepickerInput_disabled: lh,
|
|
9491
|
+
datepickerInput__input_clearStyles: ch
|
|
9492
|
+
}, ph = (n) => {
|
|
9497
9493
|
const {
|
|
9498
9494
|
value: a,
|
|
9499
9495
|
name: t,
|
|
@@ -9556,7 +9552,7 @@ const Jm = /* @__PURE__ */ Va(Zm), eh = "_datepickerInput_e80nk_43", th = "_date
|
|
|
9556
9552
|
className: P,
|
|
9557
9553
|
children: [
|
|
9558
9554
|
/* @__PURE__ */ M(
|
|
9559
|
-
|
|
9555
|
+
Zm,
|
|
9560
9556
|
{
|
|
9561
9557
|
className: nt.datepickerInput,
|
|
9562
9558
|
alwaysShowMask: !1,
|
|
@@ -9582,15 +9578,15 @@ const Jm = /* @__PURE__ */ Va(Zm), eh = "_datepickerInput_e80nk_43", th = "_date
|
|
|
9582
9578
|
)
|
|
9583
9579
|
}
|
|
9584
9580
|
),
|
|
9585
|
-
/* @__PURE__ */ M(
|
|
9581
|
+
/* @__PURE__ */ M(_i, { className: K })
|
|
9586
9582
|
]
|
|
9587
9583
|
}
|
|
9588
9584
|
);
|
|
9589
|
-
},
|
|
9590
|
-
spLabel:
|
|
9591
|
-
spLabel__text:
|
|
9592
|
-
spLabel__tooltip:
|
|
9593
|
-
spLabel__required:
|
|
9585
|
+
}, uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__tooltip_1mq16_62", mh = "_spLabel__required_1mq16_69", Vn = {
|
|
9586
|
+
spLabel: uh,
|
|
9587
|
+
spLabel__text: dh,
|
|
9588
|
+
spLabel__tooltip: fh,
|
|
9589
|
+
spLabel__required: mh
|
|
9594
9590
|
}, Pr = (n) => {
|
|
9595
9591
|
const {
|
|
9596
9592
|
required: a,
|
|
@@ -9623,20 +9619,18 @@ const Jm = /* @__PURE__ */ Va(Zm), eh = "_datepickerInput_e80nk_43", th = "_date
|
|
|
9623
9619
|
}
|
|
9624
9620
|
)
|
|
9625
9621
|
] });
|
|
9626
|
-
},
|
|
9627
|
-
datePicker:
|
|
9628
|
-
datePicker_relative:
|
|
9629
|
-
datePicker__customHeader:
|
|
9630
|
-
datePicker__navigationWrapper:
|
|
9631
|
-
datePicker__navigation:
|
|
9632
|
-
datePicker__navigation_previous:
|
|
9633
|
-
datePicker__footer:
|
|
9634
|
-
datePicker__footerActions:
|
|
9635
|
-
datePicker__footerActions_clear:
|
|
9636
|
-
datePicker__customContainer:
|
|
9637
|
-
}
|
|
9638
|
-
om("ru", pp);
|
|
9639
|
-
const xw = (n) => {
|
|
9622
|
+
}, hh = "_datePicker_n0fj9_43", vh = "_datePicker_relative_n0fj9_48", _h = "_datePicker__customHeader_n0fj9_51", gh = "_datePicker__navigationWrapper_n0fj9_56", wh = "_datePicker__navigation_n0fj9_56", bh = "_datePicker__navigation_previous_n0fj9_68", yh = "_datePicker__footer_n0fj9_71", xh = "_datePicker__footerActions_n0fj9_76", kh = "_datePicker__footerActions_clear_n0fj9_81", Dh = "_datePicker__customContainer_n0fj9_84", Ye = {
|
|
9623
|
+
datePicker: hh,
|
|
9624
|
+
datePicker_relative: vh,
|
|
9625
|
+
datePicker__customHeader: _h,
|
|
9626
|
+
datePicker__navigationWrapper: gh,
|
|
9627
|
+
datePicker__navigation: wh,
|
|
9628
|
+
datePicker__navigation_previous: bh,
|
|
9629
|
+
datePicker__footer: yh,
|
|
9630
|
+
datePicker__footerActions: xh,
|
|
9631
|
+
datePicker__footerActions_clear: kh,
|
|
9632
|
+
datePicker__customContainer: Dh
|
|
9633
|
+
}, yw = (n) => {
|
|
9640
9634
|
const {
|
|
9641
9635
|
placeholderText: a = "дд.мм.гг",
|
|
9642
9636
|
dateFormatMask: t = "99.99.99",
|
|
@@ -9714,12 +9708,12 @@ const xw = (n) => {
|
|
|
9714
9708
|
}
|
|
9715
9709
|
),
|
|
9716
9710
|
/* @__PURE__ */ M(
|
|
9717
|
-
|
|
9711
|
+
Vm,
|
|
9718
9712
|
{
|
|
9719
9713
|
minDate: R,
|
|
9720
9714
|
maxDate: K,
|
|
9721
9715
|
dateFormat: e,
|
|
9722
|
-
locale:
|
|
9716
|
+
locale: pp,
|
|
9723
9717
|
onBlur: D,
|
|
9724
9718
|
onFocus: E,
|
|
9725
9719
|
required: i,
|
|
@@ -9780,7 +9774,7 @@ const xw = (n) => {
|
|
|
9780
9774
|
) })
|
|
9781
9775
|
] }),
|
|
9782
9776
|
customInput: /* @__PURE__ */ M(
|
|
9783
|
-
|
|
9777
|
+
ph,
|
|
9784
9778
|
{
|
|
9785
9779
|
placeholderText: a,
|
|
9786
9780
|
dateFormatMask: t,
|
|
@@ -9798,22 +9792,22 @@ const xw = (n) => {
|
|
|
9798
9792
|
),
|
|
9799
9793
|
s && /* @__PURE__ */ M("div", { className: c, children: s })
|
|
9800
9794
|
] });
|
|
9801
|
-
},
|
|
9795
|
+
}, Ch = (n) => {
|
|
9802
9796
|
const { getRootProps: a, children: t, disabled: e, name: r, getInputProps: o } = n;
|
|
9803
9797
|
return /* @__PURE__ */ ue("div", { ...a({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
|
|
9804
9798
|
/* @__PURE__ */ M("input", { ...o({}), disabled: e, name: r }),
|
|
9805
9799
|
t
|
|
9806
9800
|
] });
|
|
9807
|
-
},
|
|
9808
|
-
spDropdown:
|
|
9809
|
-
spDropdown__labelText:
|
|
9810
|
-
spDropdown__tooltipContainer:
|
|
9811
|
-
spDropdown__dropdownList:
|
|
9812
|
-
spDropdown__dropdownListHeader:
|
|
9813
|
-
spDropdown__dopdownListItem:
|
|
9814
|
-
spDropdown__dopdownListItem_textCenter:
|
|
9815
|
-
spDropdown__downloadListItemDescription:
|
|
9816
|
-
},
|
|
9801
|
+
}, Sh = "_spDropdown_miycs_43", Mh = "_spDropdown__labelText_miycs_55", Eh = "_spDropdown__tooltipContainer_miycs_63", Nh = "_spDropdown__dropdownList_miycs_68", Th = "_spDropdown__dropdownListHeader_miycs_74", Ph = "_spDropdown__dopdownListItem_miycs_81", Ih = "_spDropdown__dopdownListItem_textCenter_miycs_93", Oh = "_spDropdown__downloadListItemDescription_miycs_97", Lt = {
|
|
9802
|
+
spDropdown: Sh,
|
|
9803
|
+
spDropdown__labelText: Mh,
|
|
9804
|
+
spDropdown__tooltipContainer: Eh,
|
|
9805
|
+
spDropdown__dropdownList: Nh,
|
|
9806
|
+
spDropdown__dropdownListHeader: Th,
|
|
9807
|
+
spDropdown__dopdownListItem: Ph,
|
|
9808
|
+
spDropdown__dopdownListItem_textCenter: Ih,
|
|
9809
|
+
spDropdown__downloadListItemDescription: Oh
|
|
9810
|
+
}, xw = (n) => {
|
|
9817
9811
|
const {
|
|
9818
9812
|
labelText: a = "Выпадающий список",
|
|
9819
9813
|
listName: t,
|
|
@@ -9868,9 +9862,9 @@ const xw = (n) => {
|
|
|
9868
9862
|
] })
|
|
9869
9863
|
}
|
|
9870
9864
|
);
|
|
9871
|
-
},
|
|
9872
|
-
ellipsisTextWithTooltip:
|
|
9873
|
-
ellipsisTextWithTooltip__tooltip:
|
|
9865
|
+
}, Rh = "_ellipsisTextWithTooltip_4tohk_43", Lh = "_ellipsisTextWithTooltip__tooltip_4tohk_47", jo = {
|
|
9866
|
+
ellipsisTextWithTooltip: Rh,
|
|
9867
|
+
ellipsisTextWithTooltip__tooltip: Lh
|
|
9874
9868
|
}, ba = (n) => n == null || n === "" ? !0 : typeof n != "string" && typeof n.toString != "function" ? !1 : n.toString().replace(/\s/g, "").length < 1, ea = (n) => {
|
|
9875
9869
|
var t;
|
|
9876
9870
|
return ba(n) ? "" : ((t = n.split(/[\s.]+/).pop()) == null ? void 0 : t.toLowerCase()) || "";
|
|
@@ -9891,10 +9885,10 @@ const xw = (n) => {
|
|
|
9891
9885
|
window.removeEventListener("resize", b);
|
|
9892
9886
|
}), [a, v]);
|
|
9893
9887
|
const y = N({
|
|
9894
|
-
[
|
|
9888
|
+
[jo.ellipsisTextWithTooltip]: !0,
|
|
9895
9889
|
...e && { [e]: !0 }
|
|
9896
9890
|
}), D = N({
|
|
9897
|
-
[
|
|
9891
|
+
[jo.ellipsisTextWithTooltip__tooltip]: !0,
|
|
9898
9892
|
...r && { [r]: !0 }
|
|
9899
9893
|
});
|
|
9900
9894
|
return /* @__PURE__ */ M(
|
|
@@ -9936,14 +9930,14 @@ const xw = (n) => {
|
|
|
9936
9930
|
] })
|
|
9937
9931
|
}
|
|
9938
9932
|
);
|
|
9939
|
-
},
|
|
9940
|
-
spForm:
|
|
9941
|
-
spForm_fullWidth:
|
|
9942
|
-
spForm_addMargin:
|
|
9933
|
+
}, Fh = "_spForm_1mrvg_43", Ah = "_spForm_fullWidth_1mrvg_48", Wh = "_spForm_addMargin_1mrvg_51", Bh = "_spForm_withSeparator_1mrvg_69", Dn = {
|
|
9934
|
+
spForm: Fh,
|
|
9935
|
+
spForm_fullWidth: Ah,
|
|
9936
|
+
spForm_addMargin: Wh,
|
|
9943
9937
|
"spForm--size-lg": "_spForm--size-lg_1mrvg_51",
|
|
9944
9938
|
"spForm--size-md": "_spForm--size-md_1mrvg_60",
|
|
9945
|
-
spForm_withSeparator:
|
|
9946
|
-
},
|
|
9939
|
+
spForm_withSeparator: Bh
|
|
9940
|
+
}, kw = (n) => {
|
|
9947
9941
|
const {
|
|
9948
9942
|
size: a = "lg",
|
|
9949
9943
|
children: t,
|
|
@@ -9964,20 +9958,20 @@ const xw = (n) => {
|
|
|
9964
9958
|
return /* @__PURE__ */ M("form", { ...l, onSubmit: (d) => {
|
|
9965
9959
|
d.preventDefault(), e && e();
|
|
9966
9960
|
}, className: p, children: t });
|
|
9967
|
-
},
|
|
9968
|
-
spInput:
|
|
9969
|
-
spInput_error:
|
|
9970
|
-
spInput__control:
|
|
9971
|
-
spInput_absolutePositionError:
|
|
9972
|
-
spInput__container:
|
|
9973
|
-
spInput__control_filled:
|
|
9974
|
-
spInput__control_outlined:
|
|
9975
|
-
spInput__control_disabled:
|
|
9976
|
-
spInput__control_clearable:
|
|
9977
|
-
spInput__clear:
|
|
9978
|
-
spInput__error:
|
|
9979
|
-
spInput__error_absolutePosition:
|
|
9980
|
-
},
|
|
9961
|
+
}, Yh = "_spInput_1pucc_43", jh = "_spInput_error_1pucc_48", Hh = "_spInput__control_1pucc_48", zh = "_spInput_absolutePositionError_1pucc_55", qh = "_spInput__container_1pucc_58", Vh = "_spInput__control_filled_1pucc_76", Uh = "_spInput__control_outlined_1pucc_80", $h = "_spInput__control_disabled_1pucc_84", Qh = "_spInput__control_clearable_1pucc_88", Gh = "_spInput__clear_1pucc_115", Kh = "_spInput__error_1pucc_124", Xh = "_spInput__error_absolutePosition_1pucc_131", ct = {
|
|
9962
|
+
spInput: Yh,
|
|
9963
|
+
spInput_error: jh,
|
|
9964
|
+
spInput__control: Hh,
|
|
9965
|
+
spInput_absolutePositionError: zh,
|
|
9966
|
+
spInput__container: qh,
|
|
9967
|
+
spInput__control_filled: Vh,
|
|
9968
|
+
spInput__control_outlined: Uh,
|
|
9969
|
+
spInput__control_disabled: $h,
|
|
9970
|
+
spInput__control_clearable: Qh,
|
|
9971
|
+
spInput__clear: Gh,
|
|
9972
|
+
spInput__error: Kh,
|
|
9973
|
+
spInput__error_absolutePosition: Xh
|
|
9974
|
+
}, Zh = T.forwardRef((n, a) => {
|
|
9981
9975
|
const {
|
|
9982
9976
|
value: t,
|
|
9983
9977
|
onChange: e,
|
|
@@ -10058,19 +10052,19 @@ const xw = (n) => {
|
|
|
10058
10052
|
l && /* @__PURE__ */ M("div", { className: re, children: l })
|
|
10059
10053
|
] });
|
|
10060
10054
|
});
|
|
10061
|
-
|
|
10062
|
-
const
|
|
10055
|
+
Zh.displayName = "Input";
|
|
10056
|
+
const Jh = hi({
|
|
10063
10057
|
device: {
|
|
10064
10058
|
isDesktop: !1,
|
|
10065
10059
|
isMobile: !1,
|
|
10066
10060
|
isTablet: !1
|
|
10067
10061
|
}
|
|
10068
10062
|
});
|
|
10069
|
-
var
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
var
|
|
10073
|
-
function
|
|
10063
|
+
var Va = {};
|
|
10064
|
+
Va.match = ov;
|
|
10065
|
+
Va.parse = is;
|
|
10066
|
+
var ev = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, tv = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, nv = /^(?:(min|max)-)?(.+)/, rv = /(em|rem|px|cm|mm|in|pt|pc)?$/, av = /(dpi|dpcm|dppx)?$/;
|
|
10067
|
+
function ov(n, a) {
|
|
10074
10068
|
return is(n).some(function(t) {
|
|
10075
10069
|
var e = t.inverse, r = t.type === "all" || a.type === t.type;
|
|
10076
10070
|
if (r && e || !(r || e))
|
|
@@ -10087,16 +10081,16 @@ function iv(n, a) {
|
|
|
10087
10081
|
case "height":
|
|
10088
10082
|
case "device-width":
|
|
10089
10083
|
case "device-height":
|
|
10090
|
-
p =
|
|
10084
|
+
p = qo(p), u = qo(u);
|
|
10091
10085
|
break;
|
|
10092
10086
|
case "resolution":
|
|
10093
|
-
p =
|
|
10087
|
+
p = zo(p), u = zo(u);
|
|
10094
10088
|
break;
|
|
10095
10089
|
case "aspect-ratio":
|
|
10096
10090
|
case "device-aspect-ratio":
|
|
10097
10091
|
case /* Deprecated */
|
|
10098
10092
|
"device-pixel-ratio":
|
|
10099
|
-
p =
|
|
10093
|
+
p = Ho(p), u = Ho(u);
|
|
10100
10094
|
break;
|
|
10101
10095
|
case "grid":
|
|
10102
10096
|
case "color":
|
|
@@ -10120,9 +10114,9 @@ function iv(n, a) {
|
|
|
10120
10114
|
function is(n) {
|
|
10121
10115
|
return n.split(",").map(function(a) {
|
|
10122
10116
|
a = a.trim();
|
|
10123
|
-
var t = a.match(
|
|
10117
|
+
var t = a.match(ev), e = t[1], r = t[2], o = t[3] || "", i = {};
|
|
10124
10118
|
return i.inverse = !!e && e.toLowerCase() === "not", i.type = r ? r.toLowerCase() : "all", o = o.match(/\([^\)]+\)/g) || [], i.expressions = o.map(function(s) {
|
|
10125
|
-
var l = s.match(
|
|
10119
|
+
var l = s.match(tv), p = l[1].toLowerCase().match(nv);
|
|
10126
10120
|
return {
|
|
10127
10121
|
modifier: p[1],
|
|
10128
10122
|
feature: p[2],
|
|
@@ -10131,12 +10125,12 @@ function is(n) {
|
|
|
10131
10125
|
}), i;
|
|
10132
10126
|
});
|
|
10133
10127
|
}
|
|
10134
|
-
function
|
|
10128
|
+
function Ho(n) {
|
|
10135
10129
|
var a = Number(n), t;
|
|
10136
10130
|
return a || (t = n.match(/^(\d+)\s*\/\s*(\d+)$/), a = t[1] / t[2]), a;
|
|
10137
10131
|
}
|
|
10138
|
-
function
|
|
10139
|
-
var a = parseFloat(n), t = String(n).match(
|
|
10132
|
+
function zo(n) {
|
|
10133
|
+
var a = parseFloat(n), t = String(n).match(av)[1];
|
|
10140
10134
|
switch (t) {
|
|
10141
10135
|
case "dpcm":
|
|
10142
10136
|
return a / 2.54;
|
|
@@ -10146,8 +10140,8 @@ function qo(n) {
|
|
|
10146
10140
|
return a;
|
|
10147
10141
|
}
|
|
10148
10142
|
}
|
|
10149
|
-
function
|
|
10150
|
-
var a = parseFloat(n), t = String(n).match(
|
|
10143
|
+
function qo(n) {
|
|
10144
|
+
var a = parseFloat(n), t = String(n).match(rv)[1];
|
|
10151
10145
|
switch (t) {
|
|
10152
10146
|
case "em":
|
|
10153
10147
|
return a * 16;
|
|
@@ -10167,10 +10161,10 @@ function Vo(n) {
|
|
|
10167
10161
|
return a;
|
|
10168
10162
|
}
|
|
10169
10163
|
}
|
|
10170
|
-
var
|
|
10171
|
-
function
|
|
10164
|
+
var iv = Va.match, Vo = typeof window < "u" ? window.matchMedia : null;
|
|
10165
|
+
function sv(n, a, t) {
|
|
10172
10166
|
var e = this, r;
|
|
10173
|
-
|
|
10167
|
+
Vo && !t && (r = Vo.call(window, n)), r ? (this.matches = r.matches, this.media = r.media, r.addListener(s)) : (this.matches = iv(n, a), this.media = n), this.addListener = o, this.removeListener = i, this.dispose = l;
|
|
10174
10168
|
function o(p) {
|
|
10175
10169
|
r && r.addListener(p);
|
|
10176
10170
|
}
|
|
@@ -10184,22 +10178,22 @@ function lv(n, a, t) {
|
|
|
10184
10178
|
r && r.removeListener(s);
|
|
10185
10179
|
}
|
|
10186
10180
|
}
|
|
10187
|
-
function
|
|
10188
|
-
return new
|
|
10181
|
+
function lv(n, a, t) {
|
|
10182
|
+
return new sv(n, a, t);
|
|
10189
10183
|
}
|
|
10190
|
-
var
|
|
10191
|
-
const
|
|
10192
|
-
var
|
|
10193
|
-
function
|
|
10184
|
+
var cv = lv;
|
|
10185
|
+
const pv = /* @__PURE__ */ qa(cv);
|
|
10186
|
+
var uv = /[A-Z]/g, dv = /^ms-/, ta = {};
|
|
10187
|
+
function fv(n) {
|
|
10194
10188
|
return "-" + n.toLowerCase();
|
|
10195
10189
|
}
|
|
10196
10190
|
function ss(n) {
|
|
10197
10191
|
if (ta.hasOwnProperty(n))
|
|
10198
10192
|
return ta[n];
|
|
10199
|
-
var a = n.replace(
|
|
10200
|
-
return ta[n] =
|
|
10193
|
+
var a = n.replace(uv, fv);
|
|
10194
|
+
return ta[n] = dv.test(a) ? "-" + a : a;
|
|
10201
10195
|
}
|
|
10202
|
-
function
|
|
10196
|
+
function mv(n, a) {
|
|
10203
10197
|
if (n === a)
|
|
10204
10198
|
return !0;
|
|
10205
10199
|
if (!n || !a)
|
|
@@ -10223,10 +10217,10 @@ var ya = { exports: {} }, Un = { exports: {} }, be = {};
|
|
|
10223
10217
|
* This source code is licensed under the MIT license found in the
|
|
10224
10218
|
* LICENSE file in the root directory of this source tree.
|
|
10225
10219
|
*/
|
|
10226
|
-
var
|
|
10227
|
-
function
|
|
10228
|
-
if (
|
|
10229
|
-
|
|
10220
|
+
var Uo;
|
|
10221
|
+
function hv() {
|
|
10222
|
+
if (Uo) return be;
|
|
10223
|
+
Uo = 1;
|
|
10230
10224
|
var n = typeof Symbol == "function" && Symbol.for, a = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, e = n ? Symbol.for("react.fragment") : 60107, r = n ? Symbol.for("react.strict_mode") : 60108, o = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, s = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, p = n ? Symbol.for("react.concurrent_mode") : 60111, u = n ? Symbol.for("react.forward_ref") : 60112, d = n ? Symbol.for("react.suspense") : 60113, m = n ? Symbol.for("react.suspense_list") : 60120, v = n ? Symbol.for("react.memo") : 60115, w = n ? Symbol.for("react.lazy") : 60116, b = n ? Symbol.for("react.block") : 60121, y = n ? Symbol.for("react.fundamental") : 60117, D = n ? Symbol.for("react.responder") : 60118, E = n ? Symbol.for("react.scope") : 60119;
|
|
10231
10225
|
function S(x) {
|
|
10232
10226
|
if (typeof x == "object" && x !== null) {
|
|
@@ -10298,9 +10292,9 @@ var ye = {};
|
|
|
10298
10292
|
* This source code is licensed under the MIT license found in the
|
|
10299
10293
|
* LICENSE file in the root directory of this source tree.
|
|
10300
10294
|
*/
|
|
10301
|
-
var
|
|
10302
|
-
function
|
|
10303
|
-
return
|
|
10295
|
+
var $o;
|
|
10296
|
+
function vv() {
|
|
10297
|
+
return $o || ($o = 1, process.env.NODE_ENV !== "production" && function() {
|
|
10304
10298
|
var n = typeof Symbol == "function" && Symbol.for, a = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, e = n ? Symbol.for("react.fragment") : 60107, r = n ? Symbol.for("react.strict_mode") : 60108, o = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, s = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, p = n ? Symbol.for("react.concurrent_mode") : 60111, u = n ? Symbol.for("react.forward_ref") : 60112, d = n ? Symbol.for("react.suspense") : 60113, m = n ? Symbol.for("react.suspense_list") : 60120, v = n ? Symbol.for("react.memo") : 60115, w = n ? Symbol.for("react.lazy") : 60116, b = n ? Symbol.for("react.block") : 60121, y = n ? Symbol.for("react.fundamental") : 60117, D = n ? Symbol.for("react.responder") : 60118, E = n ? Symbol.for("react.scope") : 60119;
|
|
10305
10299
|
function S(L) {
|
|
10306
10300
|
return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
@@ -10381,19 +10375,19 @@ function _v() {
|
|
|
10381
10375
|
ye.AsyncMode = x, ye.ConcurrentMode = F, ye.ContextConsumer = H, ye.ContextProvider = P, ye.Element = R, ye.ForwardRef = K, ye.Fragment = re, ye.Lazy = ae, ye.Memo = G, ye.Portal = te, ye.Profiler = A, ye.StrictMode = q, ye.Suspense = $, ye.isAsyncMode = h, ye.isConcurrentMode = f, ye.isContextConsumer = g, ye.isContextProvider = _, ye.isElement = c, ye.isForwardRef = k, ye.isFragment = W, ye.isLazy = z, ye.isMemo = O, ye.isPortal = Y, ye.isProfiler = V, ye.isStrictMode = j, ye.isSuspense = U, ye.isValidElementType = S, ye.typeOf = C;
|
|
10382
10376
|
}()), ye;
|
|
10383
10377
|
}
|
|
10384
|
-
var
|
|
10378
|
+
var Qo;
|
|
10385
10379
|
function ls() {
|
|
10386
|
-
return
|
|
10380
|
+
return Qo || (Qo = 1, process.env.NODE_ENV === "production" ? Un.exports = hv() : Un.exports = vv()), Un.exports;
|
|
10387
10381
|
}
|
|
10388
10382
|
/*
|
|
10389
10383
|
object-assign
|
|
10390
10384
|
(c) Sindre Sorhus
|
|
10391
10385
|
@license MIT
|
|
10392
10386
|
*/
|
|
10393
|
-
var na,
|
|
10394
|
-
function
|
|
10395
|
-
if (
|
|
10396
|
-
|
|
10387
|
+
var na, Go;
|
|
10388
|
+
function _v() {
|
|
10389
|
+
if (Go) return na;
|
|
10390
|
+
Go = 1;
|
|
10397
10391
|
var n = Object.getOwnPropertySymbols, a = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
10398
10392
|
function e(o) {
|
|
10399
10393
|
if (o == null)
|
|
@@ -10436,25 +10430,25 @@ function gv() {
|
|
|
10436
10430
|
return l;
|
|
10437
10431
|
}, na;
|
|
10438
10432
|
}
|
|
10439
|
-
var ra,
|
|
10440
|
-
function
|
|
10441
|
-
if (
|
|
10442
|
-
|
|
10433
|
+
var ra, Ko;
|
|
10434
|
+
function Ua() {
|
|
10435
|
+
if (Ko) return ra;
|
|
10436
|
+
Ko = 1;
|
|
10443
10437
|
var n = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
10444
10438
|
return ra = n, ra;
|
|
10445
10439
|
}
|
|
10446
|
-
var aa,
|
|
10440
|
+
var aa, Xo;
|
|
10447
10441
|
function cs() {
|
|
10448
|
-
return
|
|
10442
|
+
return Xo || (Xo = 1, aa = Function.call.bind(Object.prototype.hasOwnProperty)), aa;
|
|
10449
10443
|
}
|
|
10450
|
-
var oa,
|
|
10451
|
-
function
|
|
10452
|
-
if (
|
|
10453
|
-
|
|
10444
|
+
var oa, Zo;
|
|
10445
|
+
function gv() {
|
|
10446
|
+
if (Zo) return oa;
|
|
10447
|
+
Zo = 1;
|
|
10454
10448
|
var n = function() {
|
|
10455
10449
|
};
|
|
10456
10450
|
if (process.env.NODE_ENV !== "production") {
|
|
10457
|
-
var a =
|
|
10451
|
+
var a = Ua(), t = {}, e = cs();
|
|
10458
10452
|
n = function(o) {
|
|
10459
10453
|
var i = "Warning: " + o;
|
|
10460
10454
|
typeof console < "u" && console.error(i);
|
|
@@ -10496,11 +10490,11 @@ function wv() {
|
|
|
10496
10490
|
process.env.NODE_ENV !== "production" && (t = {});
|
|
10497
10491
|
}, oa = r, oa;
|
|
10498
10492
|
}
|
|
10499
|
-
var ia,
|
|
10500
|
-
function
|
|
10501
|
-
if (
|
|
10502
|
-
|
|
10503
|
-
var n = ls(), a =
|
|
10493
|
+
var ia, Jo;
|
|
10494
|
+
function wv() {
|
|
10495
|
+
if (Jo) return ia;
|
|
10496
|
+
Jo = 1;
|
|
10497
|
+
var n = ls(), a = _v(), t = Ua(), e = cs(), r = gv(), o = function() {
|
|
10504
10498
|
};
|
|
10505
10499
|
process.env.NODE_ENV !== "production" && (o = function(s) {
|
|
10506
10500
|
var l = "Warning: " + s;
|
|
@@ -10817,11 +10811,11 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
10817
10811
|
return v.checkPropTypes = r, v.resetWarningCache = r.resetWarningCache, v.PropTypes = v, v;
|
|
10818
10812
|
}, ia;
|
|
10819
10813
|
}
|
|
10820
|
-
var sa,
|
|
10821
|
-
function
|
|
10822
|
-
if (
|
|
10823
|
-
|
|
10824
|
-
var n =
|
|
10814
|
+
var sa, ei;
|
|
10815
|
+
function bv() {
|
|
10816
|
+
if (ei) return sa;
|
|
10817
|
+
ei = 1;
|
|
10818
|
+
var n = Ua();
|
|
10825
10819
|
function a() {
|
|
10826
10820
|
}
|
|
10827
10821
|
function t() {
|
|
@@ -10866,12 +10860,12 @@ function yv() {
|
|
|
10866
10860
|
}, sa;
|
|
10867
10861
|
}
|
|
10868
10862
|
if (process.env.NODE_ENV !== "production") {
|
|
10869
|
-
var
|
|
10870
|
-
ya.exports =
|
|
10863
|
+
var yv = ls(), xv = !0;
|
|
10864
|
+
ya.exports = wv()(yv.isElement, xv);
|
|
10871
10865
|
} else
|
|
10872
|
-
ya.exports =
|
|
10873
|
-
var
|
|
10874
|
-
const le = /* @__PURE__ */
|
|
10866
|
+
ya.exports = bv()();
|
|
10867
|
+
var kv = ya.exports;
|
|
10868
|
+
const le = /* @__PURE__ */ qa(kv), Ke = le.oneOfType([le.string, le.number]), ps = {
|
|
10875
10869
|
all: le.bool,
|
|
10876
10870
|
grid: le.bool,
|
|
10877
10871
|
aural: le.bool,
|
|
@@ -10883,7 +10877,7 @@ const le = /* @__PURE__ */ Va(Dv), Ke = le.oneOfType([le.string, le.number]), ps
|
|
|
10883
10877
|
tty: le.bool,
|
|
10884
10878
|
tv: le.bool,
|
|
10885
10879
|
embossed: le.bool
|
|
10886
|
-
},
|
|
10880
|
+
}, Dv = {
|
|
10887
10881
|
orientation: le.oneOf(["portrait", "landscape"]),
|
|
10888
10882
|
scan: le.oneOf(["progressive", "interlace"]),
|
|
10889
10883
|
aspectRatio: le.string,
|
|
@@ -10897,7 +10891,7 @@ const le = /* @__PURE__ */ Va(Dv), Ke = le.oneOfType([le.string, le.number]), ps
|
|
|
10897
10891
|
monochrome: le.bool,
|
|
10898
10892
|
resolution: Ke,
|
|
10899
10893
|
type: Object.keys(ps)
|
|
10900
|
-
}, { type:
|
|
10894
|
+
}, { type: Dw, ...Cv } = Dv, Sv = {
|
|
10901
10895
|
minAspectRatio: le.string,
|
|
10902
10896
|
maxAspectRatio: le.string,
|
|
10903
10897
|
minDeviceAspectRatio: le.string,
|
|
@@ -10918,39 +10912,39 @@ const le = /* @__PURE__ */ Va(Dv), Ke = le.oneOfType([le.string, le.number]), ps
|
|
|
10918
10912
|
maxMonochrome: le.number,
|
|
10919
10913
|
minResolution: Ke,
|
|
10920
10914
|
maxResolution: Ke,
|
|
10921
|
-
...
|
|
10922
|
-
},
|
|
10923
|
-
var
|
|
10924
|
-
all:
|
|
10915
|
+
...Cv
|
|
10916
|
+
}, Mv = { ...ps, ...Sv };
|
|
10917
|
+
var Ev = {
|
|
10918
|
+
all: Mv
|
|
10925
10919
|
};
|
|
10926
|
-
const
|
|
10920
|
+
const Nv = (n) => `not ${n}`, Tv = (n, a) => {
|
|
10927
10921
|
const t = ss(n);
|
|
10928
|
-
return typeof a == "number" && (a = `${a}px`), a === !0 ? t : a === !1 ?
|
|
10929
|
-
},
|
|
10922
|
+
return typeof a == "number" && (a = `${a}px`), a === !0 ? t : a === !1 ? Nv(t) : `(${t}: ${a})`;
|
|
10923
|
+
}, Pv = (n) => n.join(" and "), Iv = (n) => {
|
|
10930
10924
|
const a = [];
|
|
10931
|
-
return Object.keys(
|
|
10925
|
+
return Object.keys(Ev.all).forEach((t) => {
|
|
10932
10926
|
const e = n[t];
|
|
10933
|
-
e != null && a.push(
|
|
10934
|
-
}),
|
|
10935
|
-
},
|
|
10927
|
+
e != null && a.push(Tv(t, e));
|
|
10928
|
+
}), Pv(a);
|
|
10929
|
+
}, Ov = hi(void 0), Rv = (n) => n.query || Iv(n), ti = (n) => n ? Object.keys(n).reduce((t, e) => (t[ss(e)] = n[e], t), {}) : void 0, us = () => {
|
|
10936
10930
|
const n = Ae(!1);
|
|
10937
10931
|
return Re(() => {
|
|
10938
10932
|
n.current = !0;
|
|
10939
10933
|
}, []), n.current;
|
|
10940
|
-
},
|
|
10941
|
-
const a = Ts(
|
|
10934
|
+
}, Lv = (n) => {
|
|
10935
|
+
const a = Ts(Ov), t = () => ti(n) || ti(a), [e, r] = Me(t);
|
|
10942
10936
|
return Re(() => {
|
|
10943
10937
|
const o = t();
|
|
10944
|
-
|
|
10938
|
+
mv(e, o) || r(o);
|
|
10945
10939
|
}, [n, a]), e;
|
|
10946
|
-
},
|
|
10947
|
-
const a = () =>
|
|
10940
|
+
}, Fv = (n) => {
|
|
10941
|
+
const a = () => Rv(n), [t, e] = Me(a);
|
|
10948
10942
|
return Re(() => {
|
|
10949
10943
|
const r = a();
|
|
10950
10944
|
t !== r && e(r);
|
|
10951
10945
|
}, [n]), t;
|
|
10952
|
-
},
|
|
10953
|
-
const t = () =>
|
|
10946
|
+
}, Av = (n, a) => {
|
|
10947
|
+
const t = () => pv(n, a || {}, !!a), [e, r] = Me(t), o = us();
|
|
10954
10948
|
return Re(() => {
|
|
10955
10949
|
if (o) {
|
|
10956
10950
|
const i = t();
|
|
@@ -10959,7 +10953,7 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
10959
10953
|
};
|
|
10960
10954
|
}
|
|
10961
10955
|
}, [n, a]), e;
|
|
10962
|
-
},
|
|
10956
|
+
}, Wv = (n) => {
|
|
10963
10957
|
const [a, t] = Me(n.matches);
|
|
10964
10958
|
return Re(() => {
|
|
10965
10959
|
const e = (r) => {
|
|
@@ -10970,15 +10964,15 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
10970
10964
|
};
|
|
10971
10965
|
}, [n]), a;
|
|
10972
10966
|
}, la = (n, a, t) => {
|
|
10973
|
-
const e =
|
|
10967
|
+
const e = Lv(a), r = Fv(n);
|
|
10974
10968
|
if (!r)
|
|
10975
10969
|
throw new Error("Invalid or missing MediaQuery!");
|
|
10976
|
-
const o =
|
|
10970
|
+
const o = Av(r, e), i = Wv(o);
|
|
10977
10971
|
return us(), Re(() => {
|
|
10978
10972
|
}, [i]), Re(() => () => {
|
|
10979
10973
|
o && o.dispose();
|
|
10980
10974
|
}, []), i;
|
|
10981
|
-
},
|
|
10975
|
+
}, Bv = (n) => {
|
|
10982
10976
|
const { desktop: a, tablet: t, mobile: e } = n, r = la(a), o = la(t), i = la(e);
|
|
10983
10977
|
return {
|
|
10984
10978
|
device: {
|
|
@@ -10987,7 +10981,7 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
10987
10981
|
isMobile: i
|
|
10988
10982
|
}
|
|
10989
10983
|
};
|
|
10990
|
-
},
|
|
10984
|
+
}, Cw = (n) => {
|
|
10991
10985
|
const {
|
|
10992
10986
|
breakpoints: a = {
|
|
10993
10987
|
desktop: { minWidth: 1440 },
|
|
@@ -10995,9 +10989,9 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
10995
10989
|
mobile: { maxWidth: 767 }
|
|
10996
10990
|
},
|
|
10997
10991
|
children: t
|
|
10998
|
-
} = n, { device: e } =
|
|
10992
|
+
} = n, { device: e } = Bv(a);
|
|
10999
10993
|
return /* @__PURE__ */ M(
|
|
11000
|
-
|
|
10994
|
+
Jh.Provider,
|
|
11001
10995
|
{
|
|
11002
10996
|
value: {
|
|
11003
10997
|
device: e
|
|
@@ -11005,8 +10999,8 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
11005
10999
|
children: t
|
|
11006
11000
|
}
|
|
11007
11001
|
);
|
|
11008
|
-
},
|
|
11009
|
-
const { targetValue: a, duration: t =
|
|
11002
|
+
}, Yv = 2e3, jv = (n) => {
|
|
11003
|
+
const { targetValue: a, duration: t = Yv, doneValue: e, onSuccessLoaded: r } = n, [o, i] = Me(a), s = Ae(), l = Ae(0), p = Ae(), u = Ae(a), [d, m] = Me(!1), v = Ae();
|
|
11010
11004
|
return Re(() => {
|
|
11011
11005
|
if (u.current = a, a === l.current) return;
|
|
11012
11006
|
if (s.current && cancelAnimationFrame(s.current), a === e && !d) {
|
|
@@ -11030,15 +11024,15 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
11030
11024
|
animatedValue: o,
|
|
11031
11025
|
isLoading: d
|
|
11032
11026
|
};
|
|
11033
|
-
},
|
|
11034
|
-
progressWrapper:
|
|
11035
|
-
progressWrapper_loading:
|
|
11027
|
+
}, Hv = "_progressWrapper_nlwr5_44", zv = "_progressWrapper_loading_nlwr5_50", qv = "_pulse_nlwr5_1", Vv = "_progressWrapper__progressBadge_nlwr5_61", Uv = "_progressWrapper__progressBadge_loading_nlwr5_73", Cn = {
|
|
11028
|
+
progressWrapper: Hv,
|
|
11029
|
+
progressWrapper_loading: zv,
|
|
11036
11030
|
"progressWrapper--animated-pulse": "_progressWrapper--animated-pulse_nlwr5_55",
|
|
11037
|
-
pulse:
|
|
11031
|
+
pulse: qv,
|
|
11038
11032
|
"progressWrapper--animated-backgroundProgress": "_progressWrapper--animated-backgroundProgress_nlwr5_58",
|
|
11039
|
-
progressWrapper__progressBadge:
|
|
11040
|
-
progressWrapper__progressBadge_loading:
|
|
11041
|
-
},
|
|
11033
|
+
progressWrapper__progressBadge: Vv,
|
|
11034
|
+
progressWrapper__progressBadge_loading: Uv
|
|
11035
|
+
}, Sw = (n) => {
|
|
11042
11036
|
const {
|
|
11043
11037
|
value: a,
|
|
11044
11038
|
classNameRoot: t,
|
|
@@ -11048,7 +11042,7 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
11048
11042
|
doneValue: i = 100,
|
|
11049
11043
|
animationVariant: s = "backgroundProgress",
|
|
11050
11044
|
onSuccessLoaded: l
|
|
11051
|
-
} = n, { animatedValue: p, isLoading: u } =
|
|
11045
|
+
} = n, { animatedValue: p, isLoading: u } = jv({
|
|
11052
11046
|
targetValue: a,
|
|
11053
11047
|
duration: r,
|
|
11054
11048
|
doneValue: i,
|
|
@@ -11079,25 +11073,25 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
11079
11073
|
]
|
|
11080
11074
|
}
|
|
11081
11075
|
);
|
|
11082
|
-
},
|
|
11083
|
-
spSelect:
|
|
11084
|
-
spSelect_error:
|
|
11085
|
-
spSelect__control:
|
|
11086
|
-
spSelect__value_empty:
|
|
11087
|
-
spSelect__icon:
|
|
11088
|
-
spSelect_absolutePositionError:
|
|
11089
|
-
spSelect__container:
|
|
11090
|
-
spSelect__control_filled:
|
|
11091
|
-
spSelect__control_outlined:
|
|
11092
|
-
spSelect__control_disabled:
|
|
11093
|
-
spSelect__value:
|
|
11094
|
-
spSelect__list:
|
|
11095
|
-
spSelect__list_scrollable:
|
|
11096
|
-
spSelect__emptyOptions:
|
|
11097
|
-
spSelect__option:
|
|
11098
|
-
spSelect__error:
|
|
11099
|
-
spSelect__error_absolutePosition:
|
|
11100
|
-
},
|
|
11076
|
+
}, $v = 180, Qv = "_spSelect_kmcw2_43", Gv = "_spSelect_error_kmcw2_49", Kv = "_spSelect__control_kmcw2_49", Xv = "_spSelect__value_empty_kmcw2_53", Zv = "_spSelect__icon_kmcw2_56", Jv = "_spSelect_absolutePositionError_kmcw2_59", e_ = "_spSelect__container_kmcw2_62", t_ = "_spSelect__control_filled_kmcw2_79", n_ = "_spSelect__control_outlined_kmcw2_83", r_ = "_spSelect__control_disabled_kmcw2_108", a_ = "_spSelect__value_kmcw2_53", o_ = "_spSelect__list_kmcw2_139", i_ = "_spSelect__list_scrollable_kmcw2_147", s_ = "_spSelect__emptyOptions_kmcw2_163", l_ = "_spSelect__option_kmcw2_175", c_ = "_spSelect__error_kmcw2_191", p_ = "_spSelect__error_absolutePosition_kmcw2_198", Ve = {
|
|
11077
|
+
spSelect: Qv,
|
|
11078
|
+
spSelect_error: Gv,
|
|
11079
|
+
spSelect__control: Kv,
|
|
11080
|
+
spSelect__value_empty: Xv,
|
|
11081
|
+
spSelect__icon: Zv,
|
|
11082
|
+
spSelect_absolutePositionError: Jv,
|
|
11083
|
+
spSelect__container: e_,
|
|
11084
|
+
spSelect__control_filled: t_,
|
|
11085
|
+
spSelect__control_outlined: n_,
|
|
11086
|
+
spSelect__control_disabled: r_,
|
|
11087
|
+
spSelect__value: a_,
|
|
11088
|
+
spSelect__list: o_,
|
|
11089
|
+
spSelect__list_scrollable: i_,
|
|
11090
|
+
spSelect__emptyOptions: s_,
|
|
11091
|
+
spSelect__option: l_,
|
|
11092
|
+
spSelect__error: c_,
|
|
11093
|
+
spSelect__error_absolutePosition: p_
|
|
11094
|
+
}, Mw = (n) => {
|
|
11101
11095
|
const {
|
|
11102
11096
|
options: a = [],
|
|
11103
11097
|
placeholder: t = "Выберите из списка...",
|
|
@@ -11112,7 +11106,7 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
11112
11106
|
tooltipPosition: d,
|
|
11113
11107
|
disabled: m = !1,
|
|
11114
11108
|
required: v,
|
|
11115
|
-
maxHeightList: w =
|
|
11109
|
+
maxHeightList: w = $v,
|
|
11116
11110
|
isVisibleDefaultTitle: b = !0,
|
|
11117
11111
|
isScrollableList: y = !1,
|
|
11118
11112
|
isAbsolutePositionError: D = !1,
|
|
@@ -11226,12 +11220,12 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
11226
11220
|
] }),
|
|
11227
11221
|
l && /* @__PURE__ */ M("div", { className: h, children: l })
|
|
11228
11222
|
] });
|
|
11229
|
-
},
|
|
11230
|
-
skeleton:
|
|
11231
|
-
skeleton_circle:
|
|
11232
|
-
skeleton_customStart:
|
|
11233
|
-
skeleton_customEnd:
|
|
11234
|
-
},
|
|
11223
|
+
}, u_ = "_skeleton_155t5_43", d_ = "_skeleton_circle_155t5_52", f_ = "_skeleton_customStart_155t5_55", m_ = "_skeleton_customEnd_155t5_58", $n = {
|
|
11224
|
+
skeleton: u_,
|
|
11225
|
+
skeleton_circle: d_,
|
|
11226
|
+
skeleton_customStart: f_,
|
|
11227
|
+
skeleton_customEnd: m_
|
|
11228
|
+
}, Ew = (n) => {
|
|
11235
11229
|
const {
|
|
11236
11230
|
startColor: a,
|
|
11237
11231
|
endColor: t,
|
|
@@ -11262,20 +11256,20 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
11262
11256
|
}
|
|
11263
11257
|
}
|
|
11264
11258
|
);
|
|
11265
|
-
},
|
|
11266
|
-
spTable:
|
|
11267
|
-
spTable__tdContentCopyIcon:
|
|
11268
|
-
spTable__tdContent:
|
|
11269
|
-
spTable__tdColorContent:
|
|
11270
|
-
spTable__tdContentCopyIcon_copied:
|
|
11271
|
-
spTable__emptyPage:
|
|
11272
|
-
spStringsGroup:
|
|
11273
|
-
spStringsGroup__groupItem:
|
|
11274
|
-
spStringsGroup__groupItemHeader:
|
|
11275
|
-
spStringsGroup__groupItemContent:
|
|
11276
|
-
spStringsGroup__groupItemContentCopyIcon:
|
|
11277
|
-
spStringsGroup__groupItemContentCopyIcon_copied:
|
|
11278
|
-
},
|
|
11259
|
+
}, h_ = "_spTable_1vuaj_43", v_ = "_spTable__tdContentCopyIcon_1vuaj_62", __ = "_spTable__tdContent_1vuaj_62", g_ = "_spTable__tdColorContent_1vuaj_72", w_ = "_spTable__tdContentCopyIcon_copied_1vuaj_85", b_ = "_spTable__emptyPage_1vuaj_89", y_ = "_spStringsGroup_1vuaj_105", x_ = "_spStringsGroup__groupItem_1vuaj_119", k_ = "_spStringsGroup__groupItemHeader_1vuaj_134", D_ = "_spStringsGroup__groupItemContent_1vuaj_138", C_ = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", S_ = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", rt = {
|
|
11260
|
+
spTable: h_,
|
|
11261
|
+
spTable__tdContentCopyIcon: v_,
|
|
11262
|
+
spTable__tdContent: __,
|
|
11263
|
+
spTable__tdColorContent: g_,
|
|
11264
|
+
spTable__tdContentCopyIcon_copied: w_,
|
|
11265
|
+
spTable__emptyPage: b_,
|
|
11266
|
+
spStringsGroup: y_,
|
|
11267
|
+
spStringsGroup__groupItem: x_,
|
|
11268
|
+
spStringsGroup__groupItemHeader: k_,
|
|
11269
|
+
spStringsGroup__groupItemContent: D_,
|
|
11270
|
+
spStringsGroup__groupItemContentCopyIcon: C_,
|
|
11271
|
+
spStringsGroup__groupItemContentCopyIcon_copied: S_
|
|
11272
|
+
}, Nw = (n) => {
|
|
11279
11273
|
const {
|
|
11280
11274
|
columns: a,
|
|
11281
11275
|
data: t,
|
|
@@ -11422,18 +11416,18 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
11422
11416
|
}
|
|
11423
11417
|
) : b();
|
|
11424
11418
|
return e ? r ? D() : E() : D();
|
|
11425
|
-
},
|
|
11426
|
-
spTabs:
|
|
11427
|
-
spTabs_separated:
|
|
11419
|
+
}, M_ = "_spTabs_1rc64_43", E_ = "_spTabs_separated_1rc64_48", N_ = "_spTabs__tabElement_1rc64_48", T_ = "_spTabs__tabElement_active_1rc64_85", P_ = "_spTabs__tooltip_1rc64_92", jt = {
|
|
11420
|
+
spTabs: M_,
|
|
11421
|
+
spTabs_separated: E_,
|
|
11428
11422
|
"spTabs--size-md": "_spTabs--size-md_1rc64_48",
|
|
11429
|
-
spTabs__tabElement:
|
|
11423
|
+
spTabs__tabElement: N_,
|
|
11430
11424
|
"spTabs--size-lg": "_spTabs--size-lg_1rc64_51",
|
|
11431
11425
|
"spTabs--variant-contained": "_spTabs--variant-contained_1rc64_54",
|
|
11432
|
-
spTabs__tabElement_active:
|
|
11433
|
-
spTabs__tooltip:
|
|
11426
|
+
spTabs__tabElement_active: T_,
|
|
11427
|
+
spTabs__tooltip: P_,
|
|
11434
11428
|
"spTabs--variant-outlined": "_spTabs--variant-outlined_1rc64_95",
|
|
11435
11429
|
"spTabs--variant-filled": "_spTabs--variant-filled_1rc64_114"
|
|
11436
|
-
},
|
|
11430
|
+
}, Tw = (n) => {
|
|
11437
11431
|
const {
|
|
11438
11432
|
panes: a,
|
|
11439
11433
|
isSeparated: t = !1,
|
|
@@ -11478,10 +11472,10 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
11478
11472
|
u.key || d
|
|
11479
11473
|
);
|
|
11480
11474
|
}) });
|
|
11481
|
-
},
|
|
11482
|
-
spTextWithLabel:
|
|
11483
|
-
spTextWithLabel_ellipsis:
|
|
11484
|
-
},
|
|
11475
|
+
}, I_ = "_spTextWithLabel_18nkl_1", O_ = "_spTextWithLabel_ellipsis_18nkl_4", ni = {
|
|
11476
|
+
spTextWithLabel: I_,
|
|
11477
|
+
spTextWithLabel_ellipsis: O_
|
|
11478
|
+
}, Pw = (n) => {
|
|
11485
11479
|
const {
|
|
11486
11480
|
label: a,
|
|
11487
11481
|
required: t,
|
|
@@ -11493,8 +11487,8 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
|
|
|
11493
11487
|
children: l,
|
|
11494
11488
|
...p
|
|
11495
11489
|
} = n, u = N({
|
|
11496
|
-
[
|
|
11497
|
-
[
|
|
11490
|
+
[ni.spTextWithLabel]: !0,
|
|
11491
|
+
[ni.spTextWithLabel_ellipsis]: p.isEllipsis,
|
|
11498
11492
|
...s && { [s]: !0 }
|
|
11499
11493
|
});
|
|
11500
11494
|
return /* @__PURE__ */ ue("div", { className: u, children: [
|
|
@@ -11539,7 +11533,7 @@ function Jt(n, a, t, e) {
|
|
|
11539
11533
|
p((e = e.apply(n, a || [])).next());
|
|
11540
11534
|
});
|
|
11541
11535
|
}
|
|
11542
|
-
const
|
|
11536
|
+
const R_ = /* @__PURE__ */ new Map([
|
|
11543
11537
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
11544
11538
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
11545
11539
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -12743,13 +12737,13 @@ const L_ = /* @__PURE__ */ new Map([
|
|
|
12743
12737
|
["zsh", "text/x-scriptzsh"]
|
|
12744
12738
|
]);
|
|
12745
12739
|
function vn(n, a, t) {
|
|
12746
|
-
const e =
|
|
12747
|
-
return typeof e.path != "string" &&
|
|
12740
|
+
const e = L_(n), { webkitRelativePath: r } = n, o = typeof a == "string" ? a : typeof r == "string" && r.length > 0 ? r : `./${n.name}`;
|
|
12741
|
+
return typeof e.path != "string" && ri(e, "path", o), ri(e, "relativePath", o), e;
|
|
12748
12742
|
}
|
|
12749
|
-
function
|
|
12743
|
+
function L_(n) {
|
|
12750
12744
|
const { name: a } = n;
|
|
12751
12745
|
if (a && a.lastIndexOf(".") !== -1 && !n.type) {
|
|
12752
|
-
const e = a.split(".").pop().toLowerCase(), r =
|
|
12746
|
+
const e = a.split(".").pop().toLowerCase(), r = R_.get(e);
|
|
12753
12747
|
r && Object.defineProperty(n, "type", {
|
|
12754
12748
|
value: r,
|
|
12755
12749
|
writable: !1,
|
|
@@ -12759,7 +12753,7 @@ function F_(n) {
|
|
|
12759
12753
|
}
|
|
12760
12754
|
return n;
|
|
12761
12755
|
}
|
|
12762
|
-
function
|
|
12756
|
+
function ri(n, a, t) {
|
|
12763
12757
|
Object.defineProperty(n, a, {
|
|
12764
12758
|
value: t,
|
|
12765
12759
|
writable: !1,
|
|
@@ -12767,49 +12761,49 @@ function ai(n, a, t) {
|
|
|
12767
12761
|
enumerable: !0
|
|
12768
12762
|
});
|
|
12769
12763
|
}
|
|
12770
|
-
const
|
|
12764
|
+
const F_ = [
|
|
12771
12765
|
// Thumbnail cache files for macOS and Windows
|
|
12772
12766
|
".DS_Store",
|
|
12773
12767
|
// macOs
|
|
12774
12768
|
"Thumbs.db"
|
|
12775
12769
|
// Windows
|
|
12776
12770
|
];
|
|
12777
|
-
function
|
|
12771
|
+
function A_(n) {
|
|
12778
12772
|
return Jt(this, void 0, void 0, function* () {
|
|
12779
|
-
return hr(n) &&
|
|
12773
|
+
return hr(n) && W_(n.dataTransfer) ? H_(n.dataTransfer, n.type) : B_(n) ? Y_(n) : Array.isArray(n) && n.every((a) => "getFile" in a && typeof a.getFile == "function") ? j_(n) : [];
|
|
12780
12774
|
});
|
|
12781
12775
|
}
|
|
12782
|
-
function
|
|
12776
|
+
function W_(n) {
|
|
12783
12777
|
return hr(n);
|
|
12784
12778
|
}
|
|
12785
|
-
function
|
|
12779
|
+
function B_(n) {
|
|
12786
12780
|
return hr(n) && hr(n.target);
|
|
12787
12781
|
}
|
|
12788
12782
|
function hr(n) {
|
|
12789
12783
|
return typeof n == "object" && n !== null;
|
|
12790
12784
|
}
|
|
12791
|
-
function
|
|
12785
|
+
function Y_(n) {
|
|
12792
12786
|
return xa(n.target.files).map((a) => vn(a));
|
|
12793
12787
|
}
|
|
12794
|
-
function
|
|
12788
|
+
function j_(n) {
|
|
12795
12789
|
return Jt(this, void 0, void 0, function* () {
|
|
12796
12790
|
return (yield Promise.all(n.map((t) => t.getFile()))).map((t) => vn(t));
|
|
12797
12791
|
});
|
|
12798
12792
|
}
|
|
12799
|
-
function
|
|
12793
|
+
function H_(n, a) {
|
|
12800
12794
|
return Jt(this, void 0, void 0, function* () {
|
|
12801
12795
|
if (n.items) {
|
|
12802
12796
|
const t = xa(n.items).filter((r) => r.kind === "file");
|
|
12803
12797
|
if (a !== "drop")
|
|
12804
12798
|
return t;
|
|
12805
|
-
const e = yield Promise.all(t.map(
|
|
12806
|
-
return
|
|
12799
|
+
const e = yield Promise.all(t.map(z_));
|
|
12800
|
+
return ai(ds(e));
|
|
12807
12801
|
}
|
|
12808
|
-
return
|
|
12802
|
+
return ai(xa(n.files).map((t) => vn(t)));
|
|
12809
12803
|
});
|
|
12810
12804
|
}
|
|
12811
|
-
function
|
|
12812
|
-
return n.filter((a) =>
|
|
12805
|
+
function ai(n) {
|
|
12806
|
+
return n.filter((a) => F_.indexOf(a.name) === -1);
|
|
12813
12807
|
}
|
|
12814
12808
|
function xa(n) {
|
|
12815
12809
|
if (n === null)
|
|
@@ -12821,11 +12815,11 @@ function xa(n) {
|
|
|
12821
12815
|
}
|
|
12822
12816
|
return a;
|
|
12823
12817
|
}
|
|
12824
|
-
function
|
|
12818
|
+
function z_(n) {
|
|
12825
12819
|
if (typeof n.webkitGetAsEntry != "function")
|
|
12826
|
-
return
|
|
12820
|
+
return oi(n);
|
|
12827
12821
|
const a = n.webkitGetAsEntry();
|
|
12828
|
-
return a && a.isDirectory ? fs(a) :
|
|
12822
|
+
return a && a.isDirectory ? fs(a) : oi(n, a);
|
|
12829
12823
|
}
|
|
12830
12824
|
function ds(n) {
|
|
12831
12825
|
return n.reduce((a, t) => [
|
|
@@ -12833,7 +12827,7 @@ function ds(n) {
|
|
|
12833
12827
|
...Array.isArray(t) ? ds(t) : [t]
|
|
12834
12828
|
], []);
|
|
12835
12829
|
}
|
|
12836
|
-
function
|
|
12830
|
+
function oi(n, a) {
|
|
12837
12831
|
return Jt(this, void 0, void 0, function* () {
|
|
12838
12832
|
var t;
|
|
12839
12833
|
if (globalThis.isSecureContext && typeof n.getAsFileSystemHandle == "function") {
|
|
@@ -12851,9 +12845,9 @@ function ii(n, a) {
|
|
|
12851
12845
|
return vn(e, (t = a == null ? void 0 : a.fullPath) !== null && t !== void 0 ? t : void 0);
|
|
12852
12846
|
});
|
|
12853
12847
|
}
|
|
12854
|
-
function
|
|
12848
|
+
function q_(n) {
|
|
12855
12849
|
return Jt(this, void 0, void 0, function* () {
|
|
12856
|
-
return n.isDirectory ? fs(n) :
|
|
12850
|
+
return n.isDirectory ? fs(n) : V_(n);
|
|
12857
12851
|
});
|
|
12858
12852
|
}
|
|
12859
12853
|
function fs(n) {
|
|
@@ -12863,7 +12857,7 @@ function fs(n) {
|
|
|
12863
12857
|
function o() {
|
|
12864
12858
|
a.readEntries((i) => Jt(this, void 0, void 0, function* () {
|
|
12865
12859
|
if (i.length) {
|
|
12866
|
-
const s = Promise.all(i.map(
|
|
12860
|
+
const s = Promise.all(i.map(q_));
|
|
12867
12861
|
r.push(s), o();
|
|
12868
12862
|
} else
|
|
12869
12863
|
try {
|
|
@@ -12879,7 +12873,7 @@ function fs(n) {
|
|
|
12879
12873
|
o();
|
|
12880
12874
|
});
|
|
12881
12875
|
}
|
|
12882
|
-
function
|
|
12876
|
+
function V_(n) {
|
|
12883
12877
|
return Jt(this, void 0, void 0, function* () {
|
|
12884
12878
|
return new Promise((a, t) => {
|
|
12885
12879
|
n.file((e) => {
|
|
@@ -12904,20 +12898,20 @@ var ca = function(n, a) {
|
|
|
12904
12898
|
}
|
|
12905
12899
|
return !0;
|
|
12906
12900
|
};
|
|
12907
|
-
function
|
|
12908
|
-
return
|
|
12901
|
+
function ii(n) {
|
|
12902
|
+
return Q_(n) || $_(n) || hs(n) || U_();
|
|
12909
12903
|
}
|
|
12910
|
-
function
|
|
12904
|
+
function U_() {
|
|
12911
12905
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
12912
12906
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
12913
12907
|
}
|
|
12914
|
-
function
|
|
12908
|
+
function $_(n) {
|
|
12915
12909
|
if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
|
|
12916
12910
|
}
|
|
12917
|
-
function
|
|
12911
|
+
function Q_(n) {
|
|
12918
12912
|
if (Array.isArray(n)) return ka(n);
|
|
12919
12913
|
}
|
|
12920
|
-
function
|
|
12914
|
+
function si(n, a) {
|
|
12921
12915
|
var t = Object.keys(n);
|
|
12922
12916
|
if (Object.getOwnPropertySymbols) {
|
|
12923
12917
|
var e = Object.getOwnPropertySymbols(n);
|
|
@@ -12927,12 +12921,12 @@ function li(n, a) {
|
|
|
12927
12921
|
}
|
|
12928
12922
|
return t;
|
|
12929
12923
|
}
|
|
12930
|
-
function
|
|
12924
|
+
function li(n) {
|
|
12931
12925
|
for (var a = 1; a < arguments.length; a++) {
|
|
12932
12926
|
var t = arguments[a] != null ? arguments[a] : {};
|
|
12933
|
-
a % 2 ?
|
|
12927
|
+
a % 2 ? si(Object(t), !0).forEach(function(e) {
|
|
12934
12928
|
ms(n, e, t[e]);
|
|
12935
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) :
|
|
12929
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : si(Object(t)).forEach(function(e) {
|
|
12936
12930
|
Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(t, e));
|
|
12937
12931
|
});
|
|
12938
12932
|
}
|
|
@@ -12942,9 +12936,9 @@ function ms(n, a, t) {
|
|
|
12942
12936
|
return a in n ? Object.defineProperty(n, a, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[a] = t, n;
|
|
12943
12937
|
}
|
|
12944
12938
|
function Pn(n, a) {
|
|
12945
|
-
return
|
|
12939
|
+
return X_(n) || K_(n, a) || hs(n, a) || G_();
|
|
12946
12940
|
}
|
|
12947
|
-
function
|
|
12941
|
+
function G_() {
|
|
12948
12942
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
12949
12943
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
12950
12944
|
}
|
|
@@ -12962,7 +12956,7 @@ function ka(n, a) {
|
|
|
12962
12956
|
e[t] = n[t];
|
|
12963
12957
|
return e;
|
|
12964
12958
|
}
|
|
12965
|
-
function
|
|
12959
|
+
function K_(n, a) {
|
|
12966
12960
|
var t = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
|
|
12967
12961
|
if (t != null) {
|
|
12968
12962
|
var e = [], r = !0, o = !1, i, s;
|
|
@@ -12981,52 +12975,52 @@ function X_(n, a) {
|
|
|
12981
12975
|
return e;
|
|
12982
12976
|
}
|
|
12983
12977
|
}
|
|
12984
|
-
function
|
|
12978
|
+
function X_(n) {
|
|
12985
12979
|
if (Array.isArray(n)) return n;
|
|
12986
12980
|
}
|
|
12987
|
-
var
|
|
12981
|
+
var Z_ = typeof ca == "function" ? ca : ca.default, vs = "file-invalid-type", _s = "file-too-large", gs = "file-too-small", J_ = "too-many-files", pa = {
|
|
12988
12982
|
FileInvalidType: vs,
|
|
12989
12983
|
FileTooLarge: _s,
|
|
12990
12984
|
FileTooSmall: gs
|
|
12991
|
-
},
|
|
12985
|
+
}, eg = function() {
|
|
12992
12986
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = a.split(","), e = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
|
|
12993
12987
|
return {
|
|
12994
12988
|
code: vs,
|
|
12995
12989
|
message: "File type must be ".concat(e)
|
|
12996
12990
|
};
|
|
12997
|
-
},
|
|
12991
|
+
}, ci = function(a) {
|
|
12998
12992
|
return {
|
|
12999
12993
|
code: _s,
|
|
13000
12994
|
message: "File is larger than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
|
|
13001
12995
|
};
|
|
13002
|
-
},
|
|
12996
|
+
}, pi = function(a) {
|
|
13003
12997
|
return {
|
|
13004
12998
|
code: gs,
|
|
13005
12999
|
message: "File is smaller than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
|
|
13006
13000
|
};
|
|
13007
|
-
},
|
|
13008
|
-
code:
|
|
13001
|
+
}, tg = {
|
|
13002
|
+
code: J_,
|
|
13009
13003
|
message: "Too many files"
|
|
13010
13004
|
};
|
|
13011
13005
|
function ws(n, a) {
|
|
13012
|
-
var t = n.type === "application/x-moz-file" ||
|
|
13013
|
-
return [t, t ? null :
|
|
13006
|
+
var t = n.type === "application/x-moz-file" || Z_(n, a);
|
|
13007
|
+
return [t, t ? null : eg(a)];
|
|
13014
13008
|
}
|
|
13015
13009
|
function bs(n, a, t) {
|
|
13016
13010
|
if (qt(n.size))
|
|
13017
13011
|
if (qt(a) && qt(t)) {
|
|
13018
|
-
if (n.size > t) return [!1,
|
|
13019
|
-
if (n.size < a) return [!1,
|
|
13012
|
+
if (n.size > t) return [!1, ci(t)];
|
|
13013
|
+
if (n.size < a) return [!1, pi(a)];
|
|
13020
13014
|
} else {
|
|
13021
|
-
if (qt(a) && n.size < a) return [!1,
|
|
13022
|
-
if (qt(t) && n.size > t) return [!1,
|
|
13015
|
+
if (qt(a) && n.size < a) return [!1, pi(a)];
|
|
13016
|
+
if (qt(t) && n.size > t) return [!1, ci(t)];
|
|
13023
13017
|
}
|
|
13024
13018
|
return [!0, null];
|
|
13025
13019
|
}
|
|
13026
13020
|
function qt(n) {
|
|
13027
13021
|
return n != null;
|
|
13028
13022
|
}
|
|
13029
|
-
function
|
|
13023
|
+
function ng(n) {
|
|
13030
13024
|
var a = n.files, t = n.accept, e = n.minSize, r = n.maxSize, o = n.multiple, i = n.maxFiles, s = n.validator;
|
|
13031
13025
|
return !o && a.length > 1 || o && i >= 1 && a.length > i ? !1 : a.every(function(l) {
|
|
13032
13026
|
var p = ws(l, t), u = Pn(p, 1), d = u[0], m = bs(l, e, r), v = Pn(m, 1), w = v[0], b = s ? s(l) : null;
|
|
@@ -13041,18 +13035,18 @@ function Qn(n) {
|
|
|
13041
13035
|
return a === "Files" || a === "application/x-moz-file";
|
|
13042
13036
|
}) : !!n.target && !!n.target.files;
|
|
13043
13037
|
}
|
|
13044
|
-
function
|
|
13038
|
+
function ui(n) {
|
|
13045
13039
|
n.preventDefault();
|
|
13046
13040
|
}
|
|
13047
|
-
function
|
|
13041
|
+
function rg(n) {
|
|
13048
13042
|
return n.indexOf("MSIE") !== -1 || n.indexOf("Trident/") !== -1;
|
|
13049
13043
|
}
|
|
13050
|
-
function
|
|
13044
|
+
function ag(n) {
|
|
13051
13045
|
return n.indexOf("Edge/") !== -1;
|
|
13052
13046
|
}
|
|
13053
|
-
function
|
|
13047
|
+
function og() {
|
|
13054
13048
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
13055
|
-
return
|
|
13049
|
+
return rg(n) || ag(n);
|
|
13056
13050
|
}
|
|
13057
13051
|
function mt() {
|
|
13058
13052
|
for (var n = arguments.length, a = new Array(n), t = 0; t < n; t++)
|
|
@@ -13065,17 +13059,17 @@ function mt() {
|
|
|
13065
13059
|
});
|
|
13066
13060
|
};
|
|
13067
13061
|
}
|
|
13068
|
-
function
|
|
13062
|
+
function ig() {
|
|
13069
13063
|
return "showOpenFilePicker" in window;
|
|
13070
13064
|
}
|
|
13071
|
-
function
|
|
13065
|
+
function sg(n) {
|
|
13072
13066
|
if (qt(n)) {
|
|
13073
13067
|
var a = Object.entries(n).filter(function(t) {
|
|
13074
13068
|
var e = Pn(t, 2), r = e[0], o = e[1], i = !0;
|
|
13075
13069
|
return ys(r) || (console.warn('Skipped "'.concat(r, '" 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.')), i = !1), (!Array.isArray(o) || !o.every(xs)) && (console.warn('Skipped "'.concat(r, '" because an invalid file extension was provided.')), i = !1), i;
|
|
13076
13070
|
}).reduce(function(t, e) {
|
|
13077
13071
|
var r = Pn(e, 2), o = r[0], i = r[1];
|
|
13078
|
-
return
|
|
13072
|
+
return li(li({}, t), {}, ms({}, o, i));
|
|
13079
13073
|
}, {});
|
|
13080
13074
|
return [{
|
|
13081
13075
|
// description is required due to https://crbug.com/1264708
|
|
@@ -13085,19 +13079,19 @@ function lg(n) {
|
|
|
13085
13079
|
}
|
|
13086
13080
|
return n;
|
|
13087
13081
|
}
|
|
13088
|
-
function
|
|
13082
|
+
function lg(n) {
|
|
13089
13083
|
if (qt(n))
|
|
13090
13084
|
return Object.entries(n).reduce(function(a, t) {
|
|
13091
13085
|
var e = Pn(t, 2), r = e[0], o = e[1];
|
|
13092
|
-
return [].concat(
|
|
13086
|
+
return [].concat(ii(a), [r], ii(o));
|
|
13093
13087
|
}, []).filter(function(a) {
|
|
13094
13088
|
return ys(a) || xs(a);
|
|
13095
13089
|
}).join(",");
|
|
13096
13090
|
}
|
|
13097
|
-
function
|
|
13091
|
+
function cg(n) {
|
|
13098
13092
|
return n instanceof DOMException && (n.name === "AbortError" || n.code === n.ABORT_ERR);
|
|
13099
13093
|
}
|
|
13100
|
-
function
|
|
13094
|
+
function pg(n) {
|
|
13101
13095
|
return n instanceof DOMException && (n.name === "SecurityError" || n.code === n.SECURITY_ERR);
|
|
13102
13096
|
}
|
|
13103
13097
|
function ys(n) {
|
|
@@ -13106,24 +13100,24 @@ function ys(n) {
|
|
|
13106
13100
|
function xs(n) {
|
|
13107
13101
|
return /^.*\.[\w]+$/.test(n);
|
|
13108
13102
|
}
|
|
13109
|
-
var
|
|
13110
|
-
function
|
|
13111
|
-
return
|
|
13103
|
+
var ug = ["children"], dg = ["open"], fg = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], mg = ["refKey", "onChange", "onClick"];
|
|
13104
|
+
function hg(n) {
|
|
13105
|
+
return gg(n) || _g(n) || ks(n) || vg();
|
|
13112
13106
|
}
|
|
13113
|
-
function
|
|
13107
|
+
function vg() {
|
|
13114
13108
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
13115
13109
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
13116
13110
|
}
|
|
13117
|
-
function
|
|
13111
|
+
function _g(n) {
|
|
13118
13112
|
if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
|
|
13119
13113
|
}
|
|
13120
|
-
function
|
|
13114
|
+
function gg(n) {
|
|
13121
13115
|
if (Array.isArray(n)) return Da(n);
|
|
13122
13116
|
}
|
|
13123
13117
|
function ua(n, a) {
|
|
13124
|
-
return
|
|
13118
|
+
return yg(n) || bg(n, a) || ks(n, a) || wg();
|
|
13125
13119
|
}
|
|
13126
|
-
function
|
|
13120
|
+
function wg() {
|
|
13127
13121
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
13128
13122
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
13129
13123
|
}
|
|
@@ -13141,7 +13135,7 @@ function Da(n, a) {
|
|
|
13141
13135
|
e[t] = n[t];
|
|
13142
13136
|
return e;
|
|
13143
13137
|
}
|
|
13144
|
-
function
|
|
13138
|
+
function bg(n, a) {
|
|
13145
13139
|
var t = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
|
|
13146
13140
|
if (t != null) {
|
|
13147
13141
|
var e = [], r = !0, o = !1, i, s;
|
|
@@ -13160,10 +13154,10 @@ function yg(n, a) {
|
|
|
13160
13154
|
return e;
|
|
13161
13155
|
}
|
|
13162
13156
|
}
|
|
13163
|
-
function
|
|
13157
|
+
function yg(n) {
|
|
13164
13158
|
if (Array.isArray(n)) return n;
|
|
13165
13159
|
}
|
|
13166
|
-
function
|
|
13160
|
+
function di(n, a) {
|
|
13167
13161
|
var t = Object.keys(n);
|
|
13168
13162
|
if (Object.getOwnPropertySymbols) {
|
|
13169
13163
|
var e = Object.getOwnPropertySymbols(n);
|
|
@@ -13176,9 +13170,9 @@ function fi(n, a) {
|
|
|
13176
13170
|
function Ee(n) {
|
|
13177
13171
|
for (var a = 1; a < arguments.length; a++) {
|
|
13178
13172
|
var t = arguments[a] != null ? arguments[a] : {};
|
|
13179
|
-
a % 2 ?
|
|
13173
|
+
a % 2 ? di(Object(t), !0).forEach(function(e) {
|
|
13180
13174
|
Ca(n, e, t[e]);
|
|
13181
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) :
|
|
13175
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : di(Object(t)).forEach(function(e) {
|
|
13182
13176
|
Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(t, e));
|
|
13183
13177
|
});
|
|
13184
13178
|
}
|
|
@@ -13189,7 +13183,7 @@ function Ca(n, a, t) {
|
|
|
13189
13183
|
}
|
|
13190
13184
|
function _r(n, a) {
|
|
13191
13185
|
if (n == null) return {};
|
|
13192
|
-
var t =
|
|
13186
|
+
var t = xg(n, a), e, r;
|
|
13193
13187
|
if (Object.getOwnPropertySymbols) {
|
|
13194
13188
|
var o = Object.getOwnPropertySymbols(n);
|
|
13195
13189
|
for (r = 0; r < o.length; r++)
|
|
@@ -13197,15 +13191,15 @@ function _r(n, a) {
|
|
|
13197
13191
|
}
|
|
13198
13192
|
return t;
|
|
13199
13193
|
}
|
|
13200
|
-
function
|
|
13194
|
+
function xg(n, a) {
|
|
13201
13195
|
if (n == null) return {};
|
|
13202
13196
|
var t = {}, e = Object.keys(n), r, o;
|
|
13203
13197
|
for (o = 0; o < e.length; o++)
|
|
13204
13198
|
r = e[o], !(a.indexOf(r) >= 0) && (t[r] = n[r]);
|
|
13205
13199
|
return t;
|
|
13206
13200
|
}
|
|
13207
|
-
var
|
|
13208
|
-
var t = n.children, e = _r(n,
|
|
13201
|
+
var $a = /* @__PURE__ */ Is(function(n, a) {
|
|
13202
|
+
var t = n.children, e = _r(n, ug), r = Cs(e), o = r.open, i = _r(r, dg);
|
|
13209
13203
|
return Os(a, function() {
|
|
13210
13204
|
return {
|
|
13211
13205
|
open: o
|
|
@@ -13214,10 +13208,10 @@ var Qa = /* @__PURE__ */ Is(function(n, a) {
|
|
|
13214
13208
|
open: o
|
|
13215
13209
|
})));
|
|
13216
13210
|
});
|
|
13217
|
-
|
|
13211
|
+
$a.displayName = "Dropzone";
|
|
13218
13212
|
var Ds = {
|
|
13219
13213
|
disabled: !1,
|
|
13220
|
-
getFilesFromEvent:
|
|
13214
|
+
getFilesFromEvent: A_,
|
|
13221
13215
|
maxSize: 1 / 0,
|
|
13222
13216
|
minSize: 0,
|
|
13223
13217
|
multiple: !0,
|
|
@@ -13231,8 +13225,8 @@ var Ds = {
|
|
|
13231
13225
|
useFsAccessApi: !1,
|
|
13232
13226
|
autoFocus: !1
|
|
13233
13227
|
};
|
|
13234
|
-
|
|
13235
|
-
|
|
13228
|
+
$a.defaultProps = Ds;
|
|
13229
|
+
$a.propTypes = {
|
|
13236
13230
|
/**
|
|
13237
13231
|
* Render function that exposes the dropzone state and prop getter fns
|
|
13238
13232
|
*
|
|
@@ -13411,14 +13405,14 @@ var Sa = {
|
|
|
13411
13405
|
};
|
|
13412
13406
|
function Cs() {
|
|
13413
13407
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = Ee(Ee({}, Ds), n), t = a.accept, e = a.disabled, r = a.getFilesFromEvent, o = a.maxSize, i = a.minSize, s = a.multiple, l = a.maxFiles, p = a.onDragEnter, u = a.onDragLeave, d = a.onDragOver, m = a.onDrop, v = a.onDropAccepted, w = a.onDropRejected, b = a.onFileDialogCancel, y = a.onFileDialogOpen, D = a.useFsAccessApi, E = a.autoFocus, S = a.preventDropOnDocument, C = a.noClick, x = a.noKeyboard, F = a.noDrag, H = a.noDragEventsBubbling, P = a.onError, R = a.validator, K = tn(function() {
|
|
13414
|
-
return cg(t);
|
|
13415
|
-
}, [t]), re = tn(function() {
|
|
13416
13408
|
return lg(t);
|
|
13409
|
+
}, [t]), re = tn(function() {
|
|
13410
|
+
return sg(t);
|
|
13417
13411
|
}, [t]), ae = tn(function() {
|
|
13418
|
-
return typeof y == "function" ? y :
|
|
13412
|
+
return typeof y == "function" ? y : fi;
|
|
13419
13413
|
}, [y]), G = tn(function() {
|
|
13420
|
-
return typeof b == "function" ? b :
|
|
13421
|
-
}, [b]), te = Ae(null), A = Ae(null), q = Ps(
|
|
13414
|
+
return typeof b == "function" ? b : fi;
|
|
13415
|
+
}, [b]), te = Ae(null), A = Ae(null), q = Ps(kg, Sa), $ = ua(q, 2), X = $[0], h = $[1], f = X.isFocused, g = X.isFileDialogActive, _ = Ae(typeof window < "u" && window.isSecureContext && D && ig()), c = function() {
|
|
13422
13416
|
!_.current && g && setTimeout(function() {
|
|
13423
13417
|
if (A.current) {
|
|
13424
13418
|
var se = A.current.files;
|
|
@@ -13437,8 +13431,8 @@ function Cs() {
|
|
|
13437
13431
|
te.current && te.current.contains(se.target) || (se.preventDefault(), k.current = []);
|
|
13438
13432
|
};
|
|
13439
13433
|
Re(function() {
|
|
13440
|
-
return S && (document.addEventListener("dragover",
|
|
13441
|
-
S && (document.removeEventListener("dragover",
|
|
13434
|
+
return S && (document.addEventListener("dragover", ui, !1), document.addEventListener("drop", W, !1)), function() {
|
|
13435
|
+
S && (document.removeEventListener("dragover", ui), document.removeEventListener("drop", W));
|
|
13442
13436
|
};
|
|
13443
13437
|
}, [te, S]), Re(function() {
|
|
13444
13438
|
return !e && E && te.current && te.current.focus(), function() {
|
|
@@ -13447,9 +13441,9 @@ function Cs() {
|
|
|
13447
13441
|
var z = Ge(function(Z) {
|
|
13448
13442
|
P ? P(Z) : console.error(Z);
|
|
13449
13443
|
}, [P]), O = Ge(function(Z) {
|
|
13450
|
-
Z.preventDefault(), Z.persist(), _e(Z), k.current = [].concat(
|
|
13444
|
+
Z.preventDefault(), Z.persist(), _e(Z), k.current = [].concat(hg(k.current), [Z.target]), Qn(Z) && Promise.resolve(r(Z)).then(function(se) {
|
|
13451
13445
|
if (!(vr(Z) && !H)) {
|
|
13452
|
-
var Se = se.length, Pe = Se > 0 &&
|
|
13446
|
+
var Se = se.length, Pe = Se > 0 && ng({
|
|
13453
13447
|
files: se,
|
|
13454
13448
|
accept: K,
|
|
13455
13449
|
minSize: i,
|
|
@@ -13506,7 +13500,7 @@ function Cs() {
|
|
|
13506
13500
|
}), (!s && Se.length > 1 || s && l >= 1 && Se.length > l) && (Se.forEach(function(Je) {
|
|
13507
13501
|
Pe.push({
|
|
13508
13502
|
file: Je,
|
|
13509
|
-
errors: [
|
|
13503
|
+
errors: [tg]
|
|
13510
13504
|
});
|
|
13511
13505
|
}), Se.splice(0)), h({
|
|
13512
13506
|
acceptedFiles: Se,
|
|
@@ -13538,9 +13532,9 @@ function Cs() {
|
|
|
13538
13532
|
type: "closeDialog"
|
|
13539
13533
|
});
|
|
13540
13534
|
}).catch(function(se) {
|
|
13541
|
-
|
|
13535
|
+
cg(se) ? (G(se), h({
|
|
13542
13536
|
type: "closeDialog"
|
|
13543
|
-
})) :
|
|
13537
|
+
})) : pg(se) ? (_.current = !1, A.current ? (A.current.value = null, A.current.click()) : z(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."))) : z(se);
|
|
13544
13538
|
});
|
|
13545
13539
|
return;
|
|
13546
13540
|
}
|
|
@@ -13558,7 +13552,7 @@ function Cs() {
|
|
|
13558
13552
|
type: "blur"
|
|
13559
13553
|
});
|
|
13560
13554
|
}, []), ce = Ge(function() {
|
|
13561
|
-
C || (
|
|
13555
|
+
C || (og() ? setTimeout(L, 0) : L());
|
|
13562
13556
|
}, [C, L]), ie = function(se) {
|
|
13563
13557
|
return e ? null : se;
|
|
13564
13558
|
}, de = function(se) {
|
|
@@ -13569,7 +13563,7 @@ function Cs() {
|
|
|
13569
13563
|
H && se.stopPropagation();
|
|
13570
13564
|
}, Fe = tn(function() {
|
|
13571
13565
|
return function() {
|
|
13572
|
-
var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, se = Z.refKey, Se = se === void 0 ? "ref" : se, Pe = Z.role, Je = Z.onKeyDown, gn = Z.onFocus, en = Z.onBlur, Ir = Z.onClick, Or = Z.onDragEnter, Rr = Z.onDragOver, Fn = Z.onDragLeave, Lr = Z.onDrop, Fr = _r(Z,
|
|
13566
|
+
var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, se = Z.refKey, Se = se === void 0 ? "ref" : se, Pe = Z.role, Je = Z.onKeyDown, gn = Z.onFocus, en = Z.onBlur, Ir = Z.onClick, Or = Z.onDragEnter, Rr = Z.onDragOver, Fn = Z.onDragLeave, Lr = Z.onDrop, Fr = _r(Z, fg);
|
|
13573
13567
|
return Ee(Ee(Ca({
|
|
13574
13568
|
onKeyDown: de(mt(Je, Q)),
|
|
13575
13569
|
onFocus: de(mt(gn, B)),
|
|
@@ -13588,7 +13582,7 @@ function Cs() {
|
|
|
13588
13582
|
Z.stopPropagation();
|
|
13589
13583
|
}, []), Be = tn(function() {
|
|
13590
13584
|
return function() {
|
|
13591
|
-
var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, se = Z.refKey, Se = se === void 0 ? "ref" : se, Pe = Z.onChange, Je = Z.onClick, gn = _r(Z,
|
|
13585
|
+
var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, se = Z.refKey, Se = se === void 0 ? "ref" : se, Pe = Z.onChange, Je = Z.onClick, gn = _r(Z, mg), en = Ca({
|
|
13592
13586
|
accept: K,
|
|
13593
13587
|
multiple: s,
|
|
13594
13588
|
type: "file",
|
|
@@ -13620,7 +13614,7 @@ function Cs() {
|
|
|
13620
13614
|
open: ie(L)
|
|
13621
13615
|
});
|
|
13622
13616
|
}
|
|
13623
|
-
function
|
|
13617
|
+
function kg(n, a) {
|
|
13624
13618
|
switch (a.type) {
|
|
13625
13619
|
case "focus":
|
|
13626
13620
|
return Ee(Ee({}, n), {}, {
|
|
@@ -13656,43 +13650,43 @@ function Dg(n, a) {
|
|
|
13656
13650
|
return n;
|
|
13657
13651
|
}
|
|
13658
13652
|
}
|
|
13659
|
-
function
|
|
13653
|
+
function fi() {
|
|
13660
13654
|
}
|
|
13661
|
-
const
|
|
13662
|
-
spUploadFiles:
|
|
13663
|
-
spUploadFiles_error:
|
|
13664
|
-
spUploadFiles__control:
|
|
13665
|
-
spUploadFiles__fileNameContainer:
|
|
13666
|
-
spUploadFiles__fileName_dragError:
|
|
13667
|
-
spUploadFiles__placeholderContainer:
|
|
13655
|
+
const Dg = (n) => Cs(n), Cg = "_spUploadFiles_qdbwu_43", Sg = "_spUploadFiles_error_qdbwu_51", Mg = "_spUploadFiles__control_qdbwu_51", Eg = "_spUploadFiles__fileNameContainer_qdbwu_55", Ng = "_spUploadFiles__fileName_dragError_qdbwu_59", Tg = "_spUploadFiles__placeholderContainer_qdbwu_62", Pg = "_spUploadFiles__placeholderContainer_withUloadTooltip_qdbwu_72", Ig = "_spUploadFiles__placeholder_qdbwu_62", Og = "_spUploadFiles__control_loading_qdbwu_104", Rg = "_shimmer_qdbwu_1", Lg = "_spUploadFiles__fileName_qdbwu_55", Fg = "_spUploadFiles__tooltip_qdbwu_130", Ag = "_spUploadFiles_fileUploaded_qdbwu_159", Wg = "_spUploadFiles_disabled_qdbwu_159", Bg = "_spUploadFiles__fileNamesList_qdbwu_170", Yg = "_spUploadFiles__fileNamesList_loading_qdbwu_181", jg = "_spUploadFiles__fileNamesListItem_qdbwu_186", Hg = "_spUploadFiles__fileNamesListItem__iconContainer_qdbwu_223", zg = "_spUploadFiles__fileNamesListItem__iconContainer_error_qdbwu_232", qg = "_spUploadFiles__fileNamesListItem__mainContent_qdbwu_237", Vg = "_spUploadFiles__fileNamesListItem__fileNameWrapper_qdbwu_244", Ug = "_spUploadFiles__fileNamesListItem__fileName_qdbwu_244", $g = "_spUploadFiles__fileNamesListItem__fileNameTooltip_qdbwu_251", Qg = "_spUploadFiles__fileNamesListItem__description_qdbwu_254", Gg = "_spUploadFiles__fileNamesListItem__description__tooltipContent_qdbwu_259", Kg = "_spUploadFiles__fileNamesListItem__description_error_qdbwu_262", Xg = "_spUploadFiles__fileNamesListItemDelete_qdbwu_265", Zg = "_spUploadFiles__fileNamesListItemDelete_error_qdbwu_282", Jg = "_spUploadFiles__delete_qdbwu_295", ew = "_spUploadFiles__delete_loading_qdbwu_299", tw = "_spUploadFiles__error_qdbwu_308", ge = {
|
|
13656
|
+
spUploadFiles: Cg,
|
|
13657
|
+
spUploadFiles_error: Sg,
|
|
13658
|
+
spUploadFiles__control: Mg,
|
|
13659
|
+
spUploadFiles__fileNameContainer: Eg,
|
|
13660
|
+
spUploadFiles__fileName_dragError: Ng,
|
|
13661
|
+
spUploadFiles__placeholderContainer: Tg,
|
|
13668
13662
|
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_qdbwu_65",
|
|
13669
|
-
spUploadFiles__placeholderContainer_withUloadTooltip:
|
|
13670
|
-
spUploadFiles__placeholder:
|
|
13663
|
+
spUploadFiles__placeholderContainer_withUloadTooltip: Pg,
|
|
13664
|
+
spUploadFiles__placeholder: Ig,
|
|
13671
13665
|
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_qdbwu_87",
|
|
13672
|
-
spUploadFiles__control_loading:
|
|
13673
|
-
shimmer:
|
|
13674
|
-
spUploadFiles__fileName:
|
|
13675
|
-
spUploadFiles__tooltip:
|
|
13676
|
-
spUploadFiles_fileUploaded:
|
|
13677
|
-
spUploadFiles_disabled:
|
|
13678
|
-
spUploadFiles__fileNamesList:
|
|
13679
|
-
spUploadFiles__fileNamesList_loading:
|
|
13680
|
-
spUploadFiles__fileNamesListItem:
|
|
13681
|
-
spUploadFiles__fileNamesListItem__iconContainer:
|
|
13682
|
-
spUploadFiles__fileNamesListItem__iconContainer_error:
|
|
13683
|
-
spUploadFiles__fileNamesListItem__mainContent:
|
|
13684
|
-
spUploadFiles__fileNamesListItem__fileNameWrapper:
|
|
13685
|
-
spUploadFiles__fileNamesListItem__fileName:
|
|
13686
|
-
spUploadFiles__fileNamesListItem__fileNameTooltip:
|
|
13687
|
-
spUploadFiles__fileNamesListItem__description:
|
|
13688
|
-
spUploadFiles__fileNamesListItem__description__tooltipContent:
|
|
13689
|
-
spUploadFiles__fileNamesListItem__description_error:
|
|
13690
|
-
spUploadFiles__fileNamesListItemDelete:
|
|
13691
|
-
spUploadFiles__fileNamesListItemDelete_error:
|
|
13692
|
-
spUploadFiles__delete:
|
|
13693
|
-
spUploadFiles__delete_loading:
|
|
13694
|
-
spUploadFiles__error:
|
|
13695
|
-
},
|
|
13666
|
+
spUploadFiles__control_loading: Og,
|
|
13667
|
+
shimmer: Rg,
|
|
13668
|
+
spUploadFiles__fileName: Lg,
|
|
13669
|
+
spUploadFiles__tooltip: Fg,
|
|
13670
|
+
spUploadFiles_fileUploaded: Ag,
|
|
13671
|
+
spUploadFiles_disabled: Wg,
|
|
13672
|
+
spUploadFiles__fileNamesList: Bg,
|
|
13673
|
+
spUploadFiles__fileNamesList_loading: Yg,
|
|
13674
|
+
spUploadFiles__fileNamesListItem: jg,
|
|
13675
|
+
spUploadFiles__fileNamesListItem__iconContainer: Hg,
|
|
13676
|
+
spUploadFiles__fileNamesListItem__iconContainer_error: zg,
|
|
13677
|
+
spUploadFiles__fileNamesListItem__mainContent: qg,
|
|
13678
|
+
spUploadFiles__fileNamesListItem__fileNameWrapper: Vg,
|
|
13679
|
+
spUploadFiles__fileNamesListItem__fileName: Ug,
|
|
13680
|
+
spUploadFiles__fileNamesListItem__fileNameTooltip: $g,
|
|
13681
|
+
spUploadFiles__fileNamesListItem__description: Qg,
|
|
13682
|
+
spUploadFiles__fileNamesListItem__description__tooltipContent: Gg,
|
|
13683
|
+
spUploadFiles__fileNamesListItem__description_error: Kg,
|
|
13684
|
+
spUploadFiles__fileNamesListItemDelete: Xg,
|
|
13685
|
+
spUploadFiles__fileNamesListItemDelete_error: Zg,
|
|
13686
|
+
spUploadFiles__delete: Jg,
|
|
13687
|
+
spUploadFiles__delete_loading: ew,
|
|
13688
|
+
spUploadFiles__error: tw
|
|
13689
|
+
}, nw = (n) => {
|
|
13696
13690
|
switch (n.code) {
|
|
13697
13691
|
case pa.FileInvalidType:
|
|
13698
13692
|
return "Неверный формат файла";
|
|
@@ -13702,12 +13696,12 @@ const Cg = (n) => Cs(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
|
|
|
13702
13696
|
default:
|
|
13703
13697
|
return "";
|
|
13704
13698
|
}
|
|
13705
|
-
},
|
|
13699
|
+
}, rw = (n, a = {}) => {
|
|
13706
13700
|
const { decimals: t = 1, space: e = !0 } = a;
|
|
13707
13701
|
if (n === 0) return "0" + (e ? " " : "") + "B";
|
|
13708
13702
|
const r = 1024, o = ["B", "KB", "MB", "GB", "TB"], i = Math.floor(Math.log(n) / Math.log(r)), s = i === 0 ? 0 : t, l = e ? " " : "";
|
|
13709
13703
|
return parseFloat((n / Math.pow(r, i)).toFixed(s)) + l + o[i];
|
|
13710
|
-
},
|
|
13704
|
+
}, Iw = (n) => {
|
|
13711
13705
|
const {
|
|
13712
13706
|
placeholder: a = "Загрузите файл",
|
|
13713
13707
|
variant: t = "input",
|
|
@@ -13736,7 +13730,7 @@ const Cg = (n) => Cs(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
|
|
|
13736
13730
|
b([..._, ...w]), r(c, e);
|
|
13737
13731
|
},
|
|
13738
13732
|
[w, l, s, e, r]
|
|
13739
|
-
), { getRootProps: D, getInputProps: E } =
|
|
13733
|
+
), { getRootProps: D, getInputProps: E } = Dg({
|
|
13740
13734
|
accept: o,
|
|
13741
13735
|
onDrop: y,
|
|
13742
13736
|
multiple: s,
|
|
@@ -13793,7 +13787,7 @@ const Cg = (n) => Cs(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
|
|
|
13793
13787
|
}
|
|
13794
13788
|
);
|
|
13795
13789
|
}, q = () => /* @__PURE__ */ M("ul", { className: K, children: C.map(({ file: f, errors: g }, _) => {
|
|
13796
|
-
const c = g ? (g == null ? void 0 : g.length) > 0 : void 0, k = () => g ? g == null ? void 0 : g.map(
|
|
13790
|
+
const c = g ? (g == null ? void 0 : g.length) > 0 : void 0, k = () => g ? g == null ? void 0 : g.map(nw).join(", ") : "";
|
|
13797
13791
|
return /* @__PURE__ */ ue(
|
|
13798
13792
|
"li",
|
|
13799
13793
|
{
|
|
@@ -13830,7 +13824,7 @@ const Cg = (n) => Cs(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
|
|
|
13830
13824
|
/* @__PURE__ */ M(
|
|
13831
13825
|
kn,
|
|
13832
13826
|
{
|
|
13833
|
-
text: c ? k() :
|
|
13827
|
+
text: c ? k() : rw(f.size),
|
|
13834
13828
|
classNameBaseTooltipRoot: ge.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
13835
13829
|
classNameRoot: N(
|
|
13836
13830
|
ge.spUploadFiles__fileNamesListItem__description,
|
|
@@ -13876,7 +13870,7 @@ const Cg = (n) => Cs(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
|
|
|
13876
13870
|
)
|
|
13877
13871
|
] });
|
|
13878
13872
|
return /* @__PURE__ */ M(
|
|
13879
|
-
|
|
13873
|
+
Ch,
|
|
13880
13874
|
{
|
|
13881
13875
|
getRootProps: D,
|
|
13882
13876
|
getInputProps: E,
|
|
@@ -13907,15 +13901,15 @@ const Cg = (n) => Cs(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
|
|
|
13907
13901
|
] })
|
|
13908
13902
|
}
|
|
13909
13903
|
);
|
|
13910
|
-
},
|
|
13911
|
-
viewImageModal:
|
|
13912
|
-
viewImageModal__img:
|
|
13913
|
-
viewImageModal__img_loading:
|
|
13914
|
-
viewImageModal__img_error:
|
|
13915
|
-
viewImageModal__spinner:
|
|
13916
|
-
viewImageModal__layer:
|
|
13917
|
-
viewImageModal__closeButton:
|
|
13918
|
-
},
|
|
13904
|
+
}, aw = "_viewImageModal_1xwys_43", ow = "_viewImageModal__img_1xwys_66", iw = "_viewImageModal__img_loading_1xwys_79", sw = "_viewImageModal__img_error_1xwys_82", lw = "_viewImageModal__spinner_1xwys_85", cw = "_viewImageModal__layer_1xwys_112", pw = "_viewImageModal__closeButton_1xwys_117", Mt = {
|
|
13905
|
+
viewImageModal: aw,
|
|
13906
|
+
viewImageModal__img: ow,
|
|
13907
|
+
viewImageModal__img_loading: iw,
|
|
13908
|
+
viewImageModal__img_error: sw,
|
|
13909
|
+
viewImageModal__spinner: lw,
|
|
13910
|
+
viewImageModal__layer: cw,
|
|
13911
|
+
viewImageModal__closeButton: pw
|
|
13912
|
+
}, Ow = (n) => {
|
|
13919
13913
|
const {
|
|
13920
13914
|
classNameRoot: a,
|
|
13921
13915
|
classNameImageRoot: t,
|
|
@@ -13939,7 +13933,7 @@ const Cg = (n) => Cs(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
|
|
|
13939
13933
|
[Mt.viewImageModal__img_error]: d,
|
|
13940
13934
|
...t && { [t]: !0 }
|
|
13941
13935
|
});
|
|
13942
|
-
return /* @__PURE__ */ ue(
|
|
13936
|
+
return /* @__PURE__ */ ue(wi, { classNameRoot: y, children: [
|
|
13943
13937
|
s && p && /* @__PURE__ */ M(Ea, { classNameRoot: E, size: "xl" }),
|
|
13944
13938
|
/* @__PURE__ */ ue("div", { className: b, children: [
|
|
13945
13939
|
/* @__PURE__ */ M(
|
|
@@ -13975,43 +13969,43 @@ const Cg = (n) => Cs(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
|
|
|
13975
13969
|
] });
|
|
13976
13970
|
};
|
|
13977
13971
|
export {
|
|
13978
|
-
|
|
13972
|
+
hw as Accordion,
|
|
13979
13973
|
Yl as ApplyButtons,
|
|
13980
|
-
|
|
13981
|
-
|
|
13982
|
-
|
|
13974
|
+
_w as AuthProtected,
|
|
13975
|
+
bi as BaseTooltip,
|
|
13976
|
+
gw as Breadcrumb,
|
|
13983
13977
|
tr as Button,
|
|
13984
|
-
|
|
13978
|
+
ww as Checkbox,
|
|
13985
13979
|
ec as Confirm,
|
|
13986
|
-
|
|
13987
|
-
|
|
13988
|
-
|
|
13989
|
-
|
|
13990
|
-
|
|
13980
|
+
bw as ContextMenu,
|
|
13981
|
+
yw as DatePicker,
|
|
13982
|
+
ph as DatePickerInput,
|
|
13983
|
+
Ch as DefaultDropzone,
|
|
13984
|
+
xw as Dropdown,
|
|
13991
13985
|
pe as EIconName,
|
|
13992
13986
|
je as ETooltipPosition,
|
|
13993
13987
|
kn as EllipsisTextWithTooltip,
|
|
13994
|
-
|
|
13988
|
+
kw as Form,
|
|
13995
13989
|
We as Icon,
|
|
13996
13990
|
br as InfoTooltip,
|
|
13997
|
-
|
|
13991
|
+
Zh as Input,
|
|
13998
13992
|
Pr as Label,
|
|
13999
|
-
|
|
14000
|
-
|
|
14001
|
-
|
|
13993
|
+
wi as Layer,
|
|
13994
|
+
Jh as MediaContext,
|
|
13995
|
+
Cw as MediaContextProvider,
|
|
14002
13996
|
Jl as Modal,
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
|
|
14006
|
-
|
|
13997
|
+
gi as Portal,
|
|
13998
|
+
Sw as ProgressWrapper,
|
|
13999
|
+
Mw as Select,
|
|
14000
|
+
Ew as Skeleton,
|
|
14007
14001
|
Ea as Spinner,
|
|
14008
|
-
|
|
14009
|
-
|
|
14002
|
+
Nw as Table,
|
|
14003
|
+
Tw as Tabs,
|
|
14010
14004
|
pt as Text,
|
|
14011
|
-
|
|
14005
|
+
Pw as TextWithLabel,
|
|
14012
14006
|
wr as Tooltip,
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14007
|
+
Iw as UploadFiles,
|
|
14008
|
+
Ow as ViewImageModal,
|
|
14009
|
+
jv as useAnimatedValue,
|
|
14010
|
+
vw as useModal
|
|
14017
14011
|
};
|