test-stpr-ui-kit 0.5.52 → 0.5.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/test-stpr-ui-kit.css +1 -1
- package/dist/test-stpr-ui-kit.js +687 -685
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -3,7 +3,7 @@ var Ps = (n, a, t) => a in n ? Ts(n, a, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var re = (n, a, t) => Ps(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 N, { useState as Ce, useEffect as Re, useRef as
|
|
6
|
+
import N, { useState as Ce, useEffect as Re, useRef as Ae, useCallback as Ge, useLayoutEffect as Ma, cloneElement as mi, createRef as Wt, Component as He, createElement as Is, forwardRef as hi, createContext as vi, useContext as Os, useMemo as tn, useReducer as Rs, useImperativeHandle as Ls, Fragment as Fs } from "react";
|
|
7
7
|
import * as As from "react-dom";
|
|
8
8
|
import gr from "react-dom";
|
|
9
9
|
function _i(n) {
|
|
@@ -19,9 +19,9 @@ function E() {
|
|
|
19
19
|
for (var n, a, t = 0, e = "", r = arguments.length; t < r; t++) (n = arguments[t]) && (a = _i(n)) && (e && (e += " "), e += a);
|
|
20
20
|
return e;
|
|
21
21
|
}
|
|
22
|
-
const Ws = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Bs = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Ys = (n) => /* @__PURE__ */ I.createElement("svg", { 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", { 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" })), js = (n) => /* @__PURE__ */ I.createElement("svg", { 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 })), Hs = (n) => /* @__PURE__ */ I.createElement("svg", { 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 })), zs = (n) => /* @__PURE__ */ I.createElement("svg", { 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 })), Vs = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), qs = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Us = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), $s = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Qs = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Gs = (n) => /* @__PURE__ */ I.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M14 2.26953V6.40007C14 6.96012 14 7.24015 14.109 7.45406C14.2049 7.64222 14.3578 7.7952 14.546 7.89108C14.7599 8.00007 15.0399 8.00007 15.6 8.00007H19.7305M16 13H8M16 17H8M10 9H8M14 2H8.8C7.11984 2 6.27976 2 5.63803 2.32698C5.07354 2.6146 4.6146 3.07354 4.32698 3.63803C4 4.27976 4 5.11984 4 6.8V17.2C4 18.8802 4 19.7202 4.32698 20.362C4.6146 20.9265 5.07354 21.3854 5.63803 21.673C6.27976 22 7.11984 22 8.8 22H15.2C16.8802 22 17.7202 22 18.362 21.673C18.9265 21.3854 19.3854 20.9265 19.673 20.362C20 19.7202 20 18.8802 20 17.2V8L14 2Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Ks = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Xs = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Zs = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Js = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), el = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), tl = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), nl = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), rl = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), al = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), ol = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), il = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), sl = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), ll = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), cl = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), pl = (n) => /* @__PURE__ */ I.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M17.8327 19.5L20.3327 17M20.3327 17L17.8327 14.5M20.3327 17H15.3327M11.9993 14.9167H8.24935C7.08638 14.9167 6.50489 14.9167 6.03173 15.0602C4.96639 15.3834 4.13272 16.217 3.80955 17.2824C3.66602 17.7555 3.66602 18.337 3.66602 19.5M14.0827 8.25C14.0827 10.3211 12.4038 12 10.3327 12C8.26161 12 6.58268 10.3211 6.58268 8.25C6.58268 6.17893 8.26161 4.5 10.3327 4.5C12.4038 4.5 14.0827 6.17893 14.0827 8.25Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), ul = (n) => /* @__PURE__ */ I.createElement("svg", { 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 Ws = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Bs = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Ys = (n) => /* @__PURE__ */ I.createElement("svg", { 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", { 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" })), js = (n) => /* @__PURE__ */ I.createElement("svg", { 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 })), Hs = (n) => /* @__PURE__ */ I.createElement("svg", { 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 })), zs = (n) => /* @__PURE__ */ I.createElement("svg", { 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 })), Vs = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Us = (n) => /* @__PURE__ */ I.createElement("svg", { 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", { 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" })), $s = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Qs = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Gs = (n) => /* @__PURE__ */ I.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M14 2.26953V6.40007C14 6.96012 14 7.24015 14.109 7.45406C14.2049 7.64222 14.3578 7.7952 14.546 7.89108C14.7599 8.00007 15.0399 8.00007 15.6 8.00007H19.7305M16 13H8M16 17H8M10 9H8M14 2H8.8C7.11984 2 6.27976 2 5.63803 2.32698C5.07354 2.6146 4.6146 3.07354 4.32698 3.63803C4 4.27976 4 5.11984 4 6.8V17.2C4 18.8802 4 19.7202 4.32698 20.362C4.6146 20.9265 5.07354 21.3854 5.63803 21.673C6.27976 22 7.11984 22 8.8 22H15.2C16.8802 22 17.7202 22 18.362 21.673C18.9265 21.3854 19.3854 20.9265 19.673 20.362C20 19.7202 20 18.8802 20 17.2V8L14 2Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Ks = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Xs = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Zs = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), Js = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), el = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), tl = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), nl = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), rl = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), al = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), ol = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), il = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), sl = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), ll = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), cl = (n) => /* @__PURE__ */ I.createElement("svg", { 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" })), pl = (n) => /* @__PURE__ */ I.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ I.createElement("path", { d: "M17.8327 19.5L20.3327 17M20.3327 17L17.8327 14.5M20.3327 17H15.3327M11.9993 14.9167H8.24935C7.08638 14.9167 6.50489 14.9167 6.03173 15.0602C4.96639 15.3834 4.13272 16.217 3.80955 17.2824C3.66602 17.7555 3.66602 18.337 3.66602 19.5M14.0827 8.25C14.0827 10.3211 12.4038 12 10.3327 12C8.26161 12 6.58268 10.3211 6.58268 8.25C6.58268 6.17893 8.26161 4.5 10.3327 4.5C12.4038 4.5 14.0827 6.17893 14.0827 8.25Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), ul = (n) => /* @__PURE__ */ I.createElement("svg", { 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.FileNotFilled = "fileNotFilled", 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.UserRight = "userRight", n))(pe || {});
|
|
24
|
-
const
|
|
24
|
+
const Fe = (n) => {
|
|
25
25
|
const { name: a, rotate: t, className: e, ...r } = n, o = {
|
|
26
26
|
...r,
|
|
27
27
|
transform: t ? `rotate(${t}deg)` : ""
|
|
@@ -38,7 +38,7 @@ const Be = (n) => {
|
|
|
38
38
|
[pe.Close]: zs,
|
|
39
39
|
[pe.PlusSquare]: rl,
|
|
40
40
|
[pe.WarningColor]: ul,
|
|
41
|
-
[pe.Dots]:
|
|
41
|
+
[pe.Dots]: Us,
|
|
42
42
|
[pe.HistoryClock]: Ks,
|
|
43
43
|
[pe.PlusCircle]: nl,
|
|
44
44
|
[pe.TerminalSquare]: sl,
|
|
@@ -46,7 +46,7 @@ const Be = (n) => {
|
|
|
46
46
|
[pe.InfoError]: Zs,
|
|
47
47
|
[pe.AddFile]: Ws,
|
|
48
48
|
[pe.AddUser]: Bs,
|
|
49
|
-
[pe.Download]:
|
|
49
|
+
[pe.Download]: qs,
|
|
50
50
|
[pe.Edit]: $s,
|
|
51
51
|
[pe.Refresh]: al,
|
|
52
52
|
[pe.Logout]: Js,
|
|
@@ -79,7 +79,7 @@ const Be = (n) => {
|
|
|
79
79
|
spAccordion__childrenWrapper_open: Dl,
|
|
80
80
|
spAccordion__content: Cl,
|
|
81
81
|
spAccordion__content_open: Sl
|
|
82
|
-
},
|
|
82
|
+
}, ww = (n) => {
|
|
83
83
|
const {
|
|
84
84
|
name: a,
|
|
85
85
|
children: t,
|
|
@@ -127,7 +127,7 @@ const Be = (n) => {
|
|
|
127
127
|
return /* @__PURE__ */ ue("div", { className: C, children: [
|
|
128
128
|
/* @__PURE__ */ ue("div", { className: T, children: [
|
|
129
129
|
/* @__PURE__ */ M("div", { className: S, children: /* @__PURE__ */ M("span", { onClick: y, children: a }) }),
|
|
130
|
-
/* @__PURE__ */ M(
|
|
130
|
+
/* @__PURE__ */ M(Fe, { onClick: y, className: D, name: pe.ChevronDown })
|
|
131
131
|
] }),
|
|
132
132
|
/* @__PURE__ */ M("div", { className: x, children: /* @__PURE__ */ M("div", { className: A, children: t }) })
|
|
133
133
|
] });
|
|
@@ -194,7 +194,7 @@ const Be = (n) => {
|
|
|
194
194
|
}), P = E({
|
|
195
195
|
[ct.spButton__iconContainer]: !0,
|
|
196
196
|
...S && { [S]: !0 }
|
|
197
|
-
}), L = () => v ? /* @__PURE__ */ M("div", { className: P, children: /* @__PURE__ */ M(Ea, { size: "md", classNameRoot: ct.spButton__spinner }) }) : o ? /* @__PURE__ */ M("div", { className: P, children: /* @__PURE__ */ M(
|
|
197
|
+
}), L = () => v ? /* @__PURE__ */ M("div", { className: P, children: /* @__PURE__ */ M(Ea, { size: "md", classNameRoot: ct.spButton__spinner }) }) : o ? /* @__PURE__ */ M("div", { className: P, children: /* @__PURE__ */ M(Fe, { name: o, rotate: s }) }) : i ? /* @__PURE__ */ M("div", { className: P, children: i }) : null;
|
|
198
198
|
return /* @__PURE__ */ ue(Mn, { children: [
|
|
199
199
|
u === "start" && L(),
|
|
200
200
|
!b && h && /* @__PURE__ */ M("div", { className: Y, children: h }),
|
|
@@ -291,7 +291,7 @@ const Be = (n) => {
|
|
|
291
291
|
}
|
|
292
292
|
)
|
|
293
293
|
] });
|
|
294
|
-
},
|
|
294
|
+
}, bw = (n = {}) => {
|
|
295
295
|
const { initialValue: a = null } = n, [t, e] = Ce(a);
|
|
296
296
|
return {
|
|
297
297
|
isOpen: !!t,
|
|
@@ -323,9 +323,9 @@ const Be = (n) => {
|
|
|
323
323
|
a || document.body.removeChild(o);
|
|
324
324
|
};
|
|
325
325
|
}, [a, t]), e ? gr.createPortal(n, e) : null;
|
|
326
|
-
},
|
|
327
|
-
layer:
|
|
328
|
-
layer_hidden:
|
|
326
|
+
}, Ul = "_layer_1xwea_43", ql = "_layer_hidden_1xwea_92", Ga = {
|
|
327
|
+
layer: Ul,
|
|
328
|
+
layer_hidden: ql
|
|
329
329
|
}, bi = (n) => {
|
|
330
330
|
const {
|
|
331
331
|
children: a,
|
|
@@ -540,7 +540,7 @@ const Kl = "_modalWrapper_190yy_43", Xl = "_modalWrapper__modal_190yy_76", Zl =
|
|
|
540
540
|
) : null
|
|
541
541
|
}
|
|
542
542
|
);
|
|
543
|
-
},
|
|
543
|
+
}, yw = (n) => {
|
|
544
544
|
const {
|
|
545
545
|
children: a,
|
|
546
546
|
isNeedAuthorized: t,
|
|
@@ -599,7 +599,7 @@ const lc = "_spBreadcrumb_8fr8j_43", cc = "_spBreadcrumb__list_8fr8j_46", pc = "
|
|
|
599
599
|
spBreadcrumb__listItem__separator: uc,
|
|
600
600
|
spBreadcrumb__listItem__text: dc,
|
|
601
601
|
spBreadcrumb__listItem_active: fc
|
|
602
|
-
},
|
|
602
|
+
}, xw = (n) => {
|
|
603
603
|
const {
|
|
604
604
|
classNameRoot: a,
|
|
605
605
|
classNameListRoot: t,
|
|
@@ -620,7 +620,7 @@ const lc = "_spBreadcrumb_8fr8j_43", cc = "_spBreadcrumb__list_8fr8j_46", pc = "
|
|
|
620
620
|
),
|
|
621
621
|
children: [
|
|
622
622
|
/* @__PURE__ */ M("span", { title: i, className: nn.spBreadcrumb__listItem__text, onClick: s, children: i }),
|
|
623
|
-
/* @__PURE__ */ M("div", { className: nn.spBreadcrumb__listItem__separator, children: /* @__PURE__ */ M(
|
|
623
|
+
/* @__PURE__ */ M("div", { className: nn.spBreadcrumb__listItem__separator, children: /* @__PURE__ */ M(Fe, { name: pe.SelectChevronDown, rotate: -90 }) })
|
|
624
624
|
]
|
|
625
625
|
},
|
|
626
626
|
u
|
|
@@ -658,7 +658,7 @@ const wr = (n) => {
|
|
|
658
658
|
classNameBaseTooltipRoot: h,
|
|
659
659
|
classNameBaseTooltipContentRoot: v,
|
|
660
660
|
styleTooltip: w
|
|
661
|
-
} = n, [b, y] = Ce(!1), C =
|
|
661
|
+
} = n, [b, y] = Ce(!1), C = Ae(null), T = Ae(null), [S, D] = Ce(!1);
|
|
662
662
|
Na(
|
|
663
663
|
[C, T],
|
|
664
664
|
() => {
|
|
@@ -667,56 +667,56 @@ const wr = (n) => {
|
|
|
667
667
|
b
|
|
668
668
|
);
|
|
669
669
|
const x = (W) => {
|
|
670
|
-
e && W.stopPropagation(), !a && (b ? s && s() : i && i(), y((
|
|
670
|
+
e && W.stopPropagation(), !a && (b ? s && s() : i && i(), y((V) => t ? !V : !0));
|
|
671
671
|
}, [A, Y] = Ce({
|
|
672
672
|
visibility: "hidden",
|
|
673
673
|
opacity: 0,
|
|
674
674
|
left: "-9999px"
|
|
675
675
|
}), [P, L] = Ce(!1), X = Ge(() => {
|
|
676
676
|
if (!C.current || !T.current) return;
|
|
677
|
-
const W = C.current.getBoundingClientRect(),
|
|
677
|
+
const W = C.current.getBoundingClientRect(), V = T.current.getBoundingClientRect();
|
|
678
678
|
let G = 0, $ = 0;
|
|
679
679
|
switch (p) {
|
|
680
680
|
case je.Right:
|
|
681
|
-
G = W.top + window.scrollY - (
|
|
681
|
+
G = W.top + window.scrollY - (V.height - W.height) / 2, $ = W.right + window.scrollX;
|
|
682
682
|
break;
|
|
683
683
|
case je.RightTop:
|
|
684
684
|
G = W.top + window.scrollY, $ = W.right + window.scrollX;
|
|
685
685
|
break;
|
|
686
686
|
case je.RightBottom:
|
|
687
|
-
G = W.bottom + window.scrollY -
|
|
687
|
+
G = W.bottom + window.scrollY - V.height, $ = W.right + window.scrollX;
|
|
688
688
|
break;
|
|
689
689
|
case je.Left:
|
|
690
|
-
G = W.top + window.scrollY - (
|
|
690
|
+
G = W.top + window.scrollY - (V.height - W.height) / 2, $ = W.left + window.scrollX - V.width;
|
|
691
691
|
break;
|
|
692
692
|
case je.LeftTop:
|
|
693
|
-
G = W.top + window.scrollY, $ = W.left + window.scrollX -
|
|
693
|
+
G = W.top + window.scrollY, $ = W.left + window.scrollX - V.width;
|
|
694
694
|
break;
|
|
695
695
|
case je.LeftBottom:
|
|
696
|
-
G = W.bottom + window.scrollY -
|
|
696
|
+
G = W.bottom + window.scrollY - V.height, $ = W.left + window.scrollX - V.width;
|
|
697
697
|
break;
|
|
698
698
|
case je.Bottom:
|
|
699
|
-
G = W.bottom + window.scrollY, $ = W.left + window.scrollX - (
|
|
699
|
+
G = W.bottom + window.scrollY, $ = W.left + window.scrollX - (V.width - W.width) / 2;
|
|
700
700
|
break;
|
|
701
701
|
case je.BottomLeft:
|
|
702
702
|
G = W.bottom + window.scrollY, $ = W.left + window.scrollX;
|
|
703
703
|
break;
|
|
704
704
|
case je.BottomRight:
|
|
705
|
-
G = W.bottom + window.scrollY, $ = W.right + window.scrollX -
|
|
705
|
+
G = W.bottom + window.scrollY, $ = W.right + window.scrollX - V.width;
|
|
706
706
|
break;
|
|
707
707
|
case je.Top:
|
|
708
|
-
G = W.top + window.scrollY -
|
|
708
|
+
G = W.top + window.scrollY - V.height, $ = W.left + window.scrollX - (V.width - W.width) / 2;
|
|
709
709
|
break;
|
|
710
710
|
case je.TopLeft:
|
|
711
|
-
G = W.top + window.scrollY -
|
|
711
|
+
G = W.top + window.scrollY - V.height, $ = W.left + window.scrollX;
|
|
712
712
|
break;
|
|
713
713
|
case je.TopRight:
|
|
714
|
-
G = W.top + window.scrollY -
|
|
714
|
+
G = W.top + window.scrollY - V.height, $ = W.right + window.scrollX - V.width;
|
|
715
715
|
break;
|
|
716
716
|
default:
|
|
717
717
|
G = W.bottom + window.scrollY, $ = W.left + window.scrollX;
|
|
718
718
|
}
|
|
719
|
-
G +
|
|
719
|
+
G + V.height > window.innerHeight + window.scrollY && p.includes("bottom") ? G = W.top + window.scrollY - V.height : G < window.scrollY && p.includes("top") && (G = W.bottom + window.scrollY), $ + V.width > window.innerWidth + window.scrollX && p.includes("left") ? $ = W.left + window.scrollX - V.width + W.width : $ < window.scrollX && p.includes("right") && ($ = W.right + window.scrollX - W.width), Y((m) => ({
|
|
720
720
|
...m,
|
|
721
721
|
top: `${G}px`,
|
|
722
722
|
left: `${$}px`,
|
|
@@ -776,7 +776,7 @@ const wr = (n) => {
|
|
|
776
776
|
{
|
|
777
777
|
...n,
|
|
778
778
|
classNameTooltip: t,
|
|
779
|
-
trigger: /* @__PURE__ */ M(
|
|
779
|
+
trigger: /* @__PURE__ */ M(Fe, { name: pe.Info })
|
|
780
780
|
}
|
|
781
781
|
);
|
|
782
782
|
}, vc = "_spCheckbox_19b3z_43", _c = "_spCheckbox__control_19b3z_49", gc = "_spCheckbox__label_19b3z_52", wc = "_spCheckbox__box_19b3z_63", bc = "_spCheckbox__box_disabled_19b3z_74", yc = "_spCheckbox__box_error_19b3z_79", xc = "_spCheckbox__box__checkmark_19b3z_85", kc = "_spCheckbox__box__innerSquare_19b3z_104", Dc = "_spCheckbox__box__innerSquare_checked_19b3z_119", Cc = "_spCheckbox__tooltip_19b3z_123", Sc = "_spCheckbox__required_19b3z_127", Mc = "_spCheckbox__error_19b3z_133", Ze = {
|
|
@@ -796,7 +796,7 @@ const wr = (n) => {
|
|
|
796
796
|
spCheckbox__tooltip: Cc,
|
|
797
797
|
spCheckbox__required: Sc,
|
|
798
798
|
spCheckbox__error: Mc
|
|
799
|
-
},
|
|
799
|
+
}, kw = (n) => {
|
|
800
800
|
const {
|
|
801
801
|
size: a = "lg",
|
|
802
802
|
checked: t,
|
|
@@ -862,7 +862,7 @@ const wr = (n) => {
|
|
|
862
862
|
spContextMenu: Ec,
|
|
863
863
|
spContextMenu__item: Nc,
|
|
864
864
|
spContextMenu__item_deleteItem: Tc
|
|
865
|
-
},
|
|
865
|
+
}, Dw = (n) => {
|
|
866
866
|
const { onClickItem: a, options: t, classNameRoot: e } = n, r = E({
|
|
867
867
|
[Yr.spContextMenu]: !0,
|
|
868
868
|
...e && { [e]: !0 }
|
|
@@ -880,7 +880,7 @@ const wr = (n) => {
|
|
|
880
880
|
a && a(o);
|
|
881
881
|
},
|
|
882
882
|
children: [
|
|
883
|
-
(o == null ? void 0 : o.iconName) && /* @__PURE__ */ M(
|
|
883
|
+
(o == null ? void 0 : o.iconName) && /* @__PURE__ */ M(Fe, { name: o.iconName }),
|
|
884
884
|
o.label
|
|
885
885
|
]
|
|
886
886
|
},
|
|
@@ -1210,11 +1210,11 @@ const Vc = {
|
|
|
1210
1210
|
narrow: ["до н.э.", "н.э."],
|
|
1211
1211
|
abbreviated: ["до н. э.", "н. э."],
|
|
1212
1212
|
wide: ["до нашей эры", "нашей эры"]
|
|
1213
|
-
},
|
|
1213
|
+
}, Uc = {
|
|
1214
1214
|
narrow: ["1", "2", "3", "4"],
|
|
1215
1215
|
abbreviated: ["1-й кв.", "2-й кв.", "3-й кв.", "4-й кв."],
|
|
1216
1216
|
wide: ["1-й квартал", "2-й квартал", "3-й квартал", "4-й квартал"]
|
|
1217
|
-
},
|
|
1217
|
+
}, qc = {
|
|
1218
1218
|
narrow: ["Я", "Ф", "М", "А", "М", "И", "И", "А", "С", "О", "Н", "Д"],
|
|
1219
1219
|
abbreviated: [
|
|
1220
1220
|
"янв.",
|
|
@@ -1360,12 +1360,12 @@ const Vc = {
|
|
|
1360
1360
|
defaultWidth: "wide"
|
|
1361
1361
|
}),
|
|
1362
1362
|
quarter: _t({
|
|
1363
|
-
values:
|
|
1363
|
+
values: Uc,
|
|
1364
1364
|
defaultWidth: "wide",
|
|
1365
1365
|
argumentCallback: (n) => n - 1
|
|
1366
1366
|
}),
|
|
1367
1367
|
month: _t({
|
|
1368
|
-
values:
|
|
1368
|
+
values: qc,
|
|
1369
1369
|
defaultWidth: "wide",
|
|
1370
1370
|
formattingValues: $c,
|
|
1371
1371
|
defaultFormattingWidth: "wide"
|
|
@@ -2018,12 +2018,12 @@ const yp = {
|
|
|
2018
2018
|
/^n/i,
|
|
2019
2019
|
/^d/i
|
|
2020
2020
|
]
|
|
2021
|
-
},
|
|
2021
|
+
}, Up = {
|
|
2022
2022
|
narrow: /^[smtwf]/i,
|
|
2023
2023
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
2024
2024
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
2025
2025
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
2026
|
-
},
|
|
2026
|
+
}, qp = {
|
|
2027
2027
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
2028
2028
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
2029
2029
|
}, $p = {
|
|
@@ -2066,9 +2066,9 @@ const yp = {
|
|
|
2066
2066
|
defaultParseWidth: "any"
|
|
2067
2067
|
}),
|
|
2068
2068
|
day: gt({
|
|
2069
|
-
matchPatterns:
|
|
2069
|
+
matchPatterns: Up,
|
|
2070
2070
|
defaultMatchWidth: "wide",
|
|
2071
|
-
parsePatterns:
|
|
2071
|
+
parsePatterns: qp,
|
|
2072
2072
|
defaultParseWidth: "any"
|
|
2073
2073
|
}),
|
|
2074
2074
|
dayPeriod: gt({
|
|
@@ -2809,7 +2809,7 @@ function hu(n, a) {
|
|
|
2809
2809
|
function It(n, a) {
|
|
2810
2810
|
return oe(n, a == null ? void 0 : a.in).getMinutes();
|
|
2811
2811
|
}
|
|
2812
|
-
function
|
|
2812
|
+
function qe(n, a) {
|
|
2813
2813
|
return oe(n, a == null ? void 0 : a.in).getMonth();
|
|
2814
2814
|
}
|
|
2815
2815
|
function Ft(n) {
|
|
@@ -3925,7 +3925,7 @@ class Vu extends we {
|
|
|
3925
3925
|
return t.setHours(Ra(r), 0, 0, 0), t;
|
|
3926
3926
|
}
|
|
3927
3927
|
}
|
|
3928
|
-
class
|
|
3928
|
+
class Uu extends we {
|
|
3929
3929
|
constructor() {
|
|
3930
3930
|
super(...arguments);
|
|
3931
3931
|
re(this, "priority", 80);
|
|
@@ -3966,7 +3966,7 @@ class qu extends we {
|
|
|
3966
3966
|
return t.setHours(Ra(r), 0, 0, 0), t;
|
|
3967
3967
|
}
|
|
3968
3968
|
}
|
|
3969
|
-
class
|
|
3969
|
+
class qu extends we {
|
|
3970
3970
|
constructor() {
|
|
3971
3971
|
super(...arguments);
|
|
3972
3972
|
re(this, "priority", 80);
|
|
@@ -4280,8 +4280,8 @@ const ad = {
|
|
|
4280
4280
|
c: new ju(),
|
|
4281
4281
|
i: new zu(),
|
|
4282
4282
|
a: new Vu(),
|
|
4283
|
-
b: new
|
|
4284
|
-
B: new
|
|
4283
|
+
b: new Uu(),
|
|
4284
|
+
B: new qu(),
|
|
4285
4285
|
h: new $u(),
|
|
4286
4286
|
H: new Qu(),
|
|
4287
4287
|
K: new Gu(),
|
|
@@ -4692,18 +4692,18 @@ function mn(n) {
|
|
|
4692
4692
|
function On(n) {
|
|
4693
4693
|
return n.split("-")[1];
|
|
4694
4694
|
}
|
|
4695
|
-
function
|
|
4695
|
+
function Ud(n) {
|
|
4696
4696
|
return n === "x" ? "y" : "x";
|
|
4697
4697
|
}
|
|
4698
4698
|
function Wa(n) {
|
|
4699
4699
|
return n === "y" ? "height" : "width";
|
|
4700
4700
|
}
|
|
4701
|
-
const
|
|
4702
|
-
function
|
|
4703
|
-
return
|
|
4701
|
+
const qd = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
4702
|
+
function Ut(n) {
|
|
4703
|
+
return qd.has(mn(n)) ? "y" : "x";
|
|
4704
4704
|
}
|
|
4705
4705
|
function Ba(n) {
|
|
4706
|
-
return
|
|
4706
|
+
return Ud(Ut(n));
|
|
4707
4707
|
}
|
|
4708
4708
|
function $d(n, a, t) {
|
|
4709
4709
|
t === void 0 && (t = !1);
|
|
@@ -4797,7 +4797,7 @@ function fo(n, a, t) {
|
|
|
4797
4797
|
reference: e,
|
|
4798
4798
|
floating: r
|
|
4799
4799
|
} = n;
|
|
4800
|
-
const o =
|
|
4800
|
+
const o = Ut(a), i = Ba(a), s = Wa(i), l = mn(a), p = o === "y", u = e.x + e.width / 2 - r.width / 2, d = e.y + e.height / 2 - r.height / 2, h = e[s] / 2 - r[s] / 2;
|
|
4801
4801
|
let v;
|
|
4802
4802
|
switch (l) {
|
|
4803
4803
|
case "top":
|
|
@@ -4970,17 +4970,17 @@ const cf = (n) => ({
|
|
|
4970
4970
|
}, v = Ba(r), w = Wa(v), b = await i.getDimensions(p), y = v === "y", C = y ? "top" : "left", T = y ? "bottom" : "right", S = y ? "clientHeight" : "clientWidth", D = o.reference[w] + o.reference[v] - h[v] - o.floating[w], x = h[v] - o.reference[v], A = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(p));
|
|
4971
4971
|
let Y = A ? A[S] : 0;
|
|
4972
4972
|
(!Y || !await (i.isElement == null ? void 0 : i.isElement(A))) && (Y = s.floating[S] || o.floating[w]);
|
|
4973
|
-
const P = D / 2 - x / 2, L = Y / 2 - b[w] / 2 - 1, X = fn(d[C], L), le = fn(d[T], L), ne = X, K = Y - b[w] - le, te = Y / 2 - b[w] / 2 + P, W = Vd(ne, te, K),
|
|
4973
|
+
const P = D / 2 - x / 2, L = Y / 2 - b[w] / 2 - 1, X = fn(d[C], L), le = fn(d[T], L), ne = X, K = Y - b[w] - le, te = Y / 2 - b[w] / 2 + P, W = Vd(ne, te, K), V = !l.arrow && On(r) != null && te !== W && o.reference[w] / 2 - (te < ne ? X : le) - b[w] / 2 < 0, G = V ? te < ne ? te - ne : te - K : 0;
|
|
4974
4974
|
return {
|
|
4975
4975
|
[v]: h[v] + G,
|
|
4976
4976
|
data: {
|
|
4977
4977
|
[v]: W,
|
|
4978
4978
|
centerOffset: te - W - G,
|
|
4979
|
-
...
|
|
4979
|
+
...V && {
|
|
4980
4980
|
alignmentOffset: G
|
|
4981
4981
|
}
|
|
4982
4982
|
},
|
|
4983
|
-
reset:
|
|
4983
|
+
reset: V
|
|
4984
4984
|
};
|
|
4985
4985
|
}
|
|
4986
4986
|
}), pf = function(n) {
|
|
@@ -5007,7 +5007,7 @@ const cf = (n) => ({
|
|
|
5007
5007
|
} = Mr(n, a);
|
|
5008
5008
|
if ((t = o.arrow) != null && t.alignmentOffset)
|
|
5009
5009
|
return {};
|
|
5010
|
-
const C = mn(r), T =
|
|
5010
|
+
const C = mn(r), T = Ut(s), S = mn(s) === s, D = await (l.isRTL == null ? void 0 : l.isRTL(p.floating)), x = h || (S || !b ? [pr(s)] : Qd(s)), A = w !== "none";
|
|
5011
5011
|
!h && A && x.push(...Zd(s, b, w, D));
|
|
5012
5012
|
const Y = [s, ...x], P = await lf(a, y), L = [];
|
|
5013
5013
|
let X = ((e = o.flip) == null ? void 0 : e.overflows) || [];
|
|
@@ -5021,9 +5021,9 @@ const cf = (n) => ({
|
|
|
5021
5021
|
}], !L.every((te) => te <= 0)) {
|
|
5022
5022
|
var le, ne;
|
|
5023
5023
|
const te = (((le = o.flip) == null ? void 0 : le.index) || 0) + 1, W = Y[te];
|
|
5024
|
-
if (W && (!(d === "alignment" ? T !==
|
|
5024
|
+
if (W && (!(d === "alignment" ? T !== Ut(W) : !1) || // We leave the current main axis only if every placement on that axis
|
|
5025
5025
|
// overflows the main axis.
|
|
5026
|
-
X.every(($) =>
|
|
5026
|
+
X.every(($) => Ut($.placement) === T ? $.overflows[0] > 0 : !0)))
|
|
5027
5027
|
return {
|
|
5028
5028
|
data: {
|
|
5029
5029
|
index: te,
|
|
@@ -5033,31 +5033,31 @@ const cf = (n) => ({
|
|
|
5033
5033
|
placement: W
|
|
5034
5034
|
}
|
|
5035
5035
|
};
|
|
5036
|
-
let
|
|
5037
|
-
if (!
|
|
5036
|
+
let V = (ne = X.filter((G) => G.overflows[0] <= 0).sort((G, $) => G.overflows[1] - $.overflows[1])[0]) == null ? void 0 : ne.placement;
|
|
5037
|
+
if (!V)
|
|
5038
5038
|
switch (v) {
|
|
5039
5039
|
case "bestFit": {
|
|
5040
5040
|
var K;
|
|
5041
5041
|
const G = (K = X.filter(($) => {
|
|
5042
5042
|
if (A) {
|
|
5043
|
-
const m =
|
|
5043
|
+
const m = Ut($.placement);
|
|
5044
5044
|
return m === T || // Create a bias to the `y` side axis due to horizontal
|
|
5045
5045
|
// reading directions favoring greater width.
|
|
5046
5046
|
m === "y";
|
|
5047
5047
|
}
|
|
5048
5048
|
return !0;
|
|
5049
5049
|
}).map(($) => [$.placement, $.overflows.filter((m) => m > 0).reduce((m, f) => m + f, 0)]).sort(($, m) => $[1] - m[1])[0]) == null ? void 0 : K[0];
|
|
5050
|
-
G && (
|
|
5050
|
+
G && (V = G);
|
|
5051
5051
|
break;
|
|
5052
5052
|
}
|
|
5053
5053
|
case "initialPlacement":
|
|
5054
|
-
|
|
5054
|
+
V = s;
|
|
5055
5055
|
break;
|
|
5056
5056
|
}
|
|
5057
|
-
if (r !==
|
|
5057
|
+
if (r !== V)
|
|
5058
5058
|
return {
|
|
5059
5059
|
reset: {
|
|
5060
|
-
placement:
|
|
5060
|
+
placement: V
|
|
5061
5061
|
}
|
|
5062
5062
|
};
|
|
5063
5063
|
}
|
|
@@ -5070,7 +5070,7 @@ async function df(n, a) {
|
|
|
5070
5070
|
placement: t,
|
|
5071
5071
|
platform: e,
|
|
5072
5072
|
elements: r
|
|
5073
|
-
} = n, o = await (e.isRTL == null ? void 0 : e.isRTL(r.floating)), i = mn(t), s = On(t), l =
|
|
5073
|
+
} = n, o = await (e.isRTL == null ? void 0 : e.isRTL(r.floating)), i = mn(t), s = On(t), l = Ut(t) === "y", p = uf.has(i) ? -1 : 1, u = o && l ? -1 : 1, d = Mr(a, n);
|
|
5074
5074
|
let {
|
|
5075
5075
|
mainAxis: h,
|
|
5076
5076
|
crossAxis: v,
|
|
@@ -5180,7 +5180,7 @@ function Er(n, a) {
|
|
|
5180
5180
|
const t = Sr(n).scrollLeft;
|
|
5181
5181
|
return a ? a.left + t : Xt(St(n)).left + t;
|
|
5182
5182
|
}
|
|
5183
|
-
function
|
|
5183
|
+
function Ui(n, a) {
|
|
5184
5184
|
const t = n.getBoundingClientRect(), e = t.left + a.scrollLeft - Er(n, t), r = t.top + a.scrollTop;
|
|
5185
5185
|
return {
|
|
5186
5186
|
x: e,
|
|
@@ -5206,7 +5206,7 @@ function vf(n) {
|
|
|
5206
5206
|
const v = Xt(e);
|
|
5207
5207
|
p = sn(e), u.x = v.x + e.clientLeft, u.y = v.y + e.clientTop;
|
|
5208
5208
|
}
|
|
5209
|
-
const h = i && !d && !o ?
|
|
5209
|
+
const h = i && !d && !o ? Ui(i, l) : kt(0);
|
|
5210
5210
|
return {
|
|
5211
5211
|
width: t.width * p.x,
|
|
5212
5212
|
height: t.height * p.y,
|
|
@@ -5278,9 +5278,9 @@ function ho(n, a, t) {
|
|
|
5278
5278
|
}
|
|
5279
5279
|
return ur(e);
|
|
5280
5280
|
}
|
|
5281
|
-
function
|
|
5281
|
+
function qi(n, a) {
|
|
5282
5282
|
const t = Yt(n);
|
|
5283
|
-
return t === a || !$e(t) || dn(t) ? !1 : lt(t).position === "fixed" ||
|
|
5283
|
+
return t === a || !$e(t) || dn(t) ? !1 : lt(t).position === "fixed" || qi(t, a);
|
|
5284
5284
|
}
|
|
5285
5285
|
function xf(n, a) {
|
|
5286
5286
|
const t = a.get(n);
|
|
@@ -5291,7 +5291,7 @@ function xf(n, a) {
|
|
|
5291
5291
|
let i = o ? Yt(n) : n;
|
|
5292
5292
|
for (; $e(i) && !dn(i); ) {
|
|
5293
5293
|
const s = lt(i), l = Fa(i);
|
|
5294
|
-
!l && s.position === "fixed" && (r = null), (o ? !l && !r : !l && s.position === "static" && !!r && bf.has(r.position) || In(i) && !l &&
|
|
5294
|
+
!l && s.position === "fixed" && (r = null), (o ? !l && !r : !l && s.position === "static" && !!r && bf.has(r.position) || In(i) && !l && qi(n, i)) ? e = e.filter((u) => u !== i) : r = s, i = Yt(i);
|
|
5295
5295
|
}
|
|
5296
5296
|
return a.set(n, e), e;
|
|
5297
5297
|
}
|
|
@@ -5339,7 +5339,7 @@ function Cf(n, a, t) {
|
|
|
5339
5339
|
l.x = v.x + a.clientLeft, l.y = v.y + a.clientTop;
|
|
5340
5340
|
} else r && p();
|
|
5341
5341
|
o && !e && r && p();
|
|
5342
|
-
const u = r && !e && !o ?
|
|
5342
|
+
const u = r && !e && !o ? Ui(r, s) : kt(0), d = i.left + s.scrollLeft - l.x - u.x, h = i.top + s.scrollTop - l.y - u.y;
|
|
5343
5343
|
return {
|
|
5344
5344
|
x: d,
|
|
5345
5345
|
y: h,
|
|
@@ -5616,7 +5616,7 @@ function Ff(n) {
|
|
|
5616
5616
|
floating: Y,
|
|
5617
5617
|
setReference: T,
|
|
5618
5618
|
setFloating: S
|
|
5619
|
-
}), [T, S]),
|
|
5619
|
+
}), [T, S]), V = I.useMemo(() => ({
|
|
5620
5620
|
reference: D,
|
|
5621
5621
|
floating: x
|
|
5622
5622
|
}), [D, x]), G = I.useMemo(() => {
|
|
@@ -5625,13 +5625,13 @@ function Ff(n) {
|
|
|
5625
5625
|
left: 0,
|
|
5626
5626
|
top: 0
|
|
5627
5627
|
};
|
|
5628
|
-
if (!
|
|
5628
|
+
if (!V.floating)
|
|
5629
5629
|
return $;
|
|
5630
|
-
const m = go(
|
|
5630
|
+
const m = go(V.floating, u.x), f = go(V.floating, u.y);
|
|
5631
5631
|
return s ? {
|
|
5632
5632
|
...$,
|
|
5633
5633
|
transform: "translate(" + m + "px, " + f + "px)",
|
|
5634
|
-
...Gi(
|
|
5634
|
+
...Gi(V.floating) >= 1.5 && {
|
|
5635
5635
|
willChange: "transform"
|
|
5636
5636
|
}
|
|
5637
5637
|
} : {
|
|
@@ -5639,14 +5639,14 @@ function Ff(n) {
|
|
|
5639
5639
|
left: m,
|
|
5640
5640
|
top: f
|
|
5641
5641
|
};
|
|
5642
|
-
}, [t, s,
|
|
5642
|
+
}, [t, s, V.floating, u.x, u.y]);
|
|
5643
5643
|
return I.useMemo(() => ({
|
|
5644
5644
|
...u,
|
|
5645
5645
|
update: K,
|
|
5646
5646
|
refs: W,
|
|
5647
|
-
elements:
|
|
5647
|
+
elements: V,
|
|
5648
5648
|
floatingStyles: G
|
|
5649
|
-
}), [u, K, W,
|
|
5649
|
+
}), [u, K, W, V, G]);
|
|
5650
5650
|
}
|
|
5651
5651
|
const Af = (n) => {
|
|
5652
5652
|
function a(t) {
|
|
@@ -5698,7 +5698,7 @@ function zf() {
|
|
|
5698
5698
|
const Vf = jf.useId, Ki = Vf || zf;
|
|
5699
5699
|
let Tn;
|
|
5700
5700
|
process.env.NODE_ENV !== "production" && (Tn = /* @__PURE__ */ new Set());
|
|
5701
|
-
function
|
|
5701
|
+
function Uf() {
|
|
5702
5702
|
for (var n, a = arguments.length, t = new Array(a), e = 0; e < a; e++)
|
|
5703
5703
|
t[e] = arguments[e];
|
|
5704
5704
|
const r = "Floating UI: " + t.join(" ");
|
|
@@ -5707,7 +5707,7 @@ function qf() {
|
|
|
5707
5707
|
(o = Tn) == null || o.add(r), console.warn(r);
|
|
5708
5708
|
}
|
|
5709
5709
|
}
|
|
5710
|
-
function
|
|
5710
|
+
function qf() {
|
|
5711
5711
|
for (var n, a = arguments.length, t = new Array(a), e = 0; e < a; e++)
|
|
5712
5712
|
t[e] = arguments[e];
|
|
5713
5713
|
const r = "Floating UI: " + t.join(" ");
|
|
@@ -5741,7 +5741,7 @@ const $f = /* @__PURE__ */ I.forwardRef(function(a, t) {
|
|
|
5741
5741
|
} = {},
|
|
5742
5742
|
...y
|
|
5743
5743
|
} = a;
|
|
5744
|
-
process.env.NODE_ENV !== "production" && (t ||
|
|
5744
|
+
process.env.NODE_ENV !== "production" && (t || Uf("The `ref` prop is required for `FloatingArrow`."));
|
|
5745
5745
|
const C = Ki(), [T, S] = I.useState(!1);
|
|
5746
5746
|
if (dr(() => {
|
|
5747
5747
|
if (!r) return;
|
|
@@ -5754,7 +5754,7 @@ const $f = /* @__PURE__ */ I.forwardRef(function(a, t) {
|
|
|
5754
5754
|
const P = u * 2, L = P / 2, X = s / 2 * (p / -8 + 1), le = l / 2 * p / 4, ne = !!v, K = Y && x === "end" ? "bottom" : "top";
|
|
5755
5755
|
let te = Y && x === "end" ? "right" : "left";
|
|
5756
5756
|
Y && T && (te = x === "end" ? "left" : "right");
|
|
5757
|
-
const W = (o == null ? void 0 : o.x) != null ? Y || o.x : "",
|
|
5757
|
+
const W = (o == null ? void 0 : o.x) != null ? Y || o.x : "", V = (o == null ? void 0 : o.y) != null ? Y || o.y : "", G = v || "M0,0" + (" H" + s) + (" L" + (s - X) + "," + (l - le)) + (" Q" + s / 2 + "," + l + " " + X + "," + (l - le)) + " Z", $ = {
|
|
5758
5758
|
top: ne ? "rotate(180deg)" : "",
|
|
5759
5759
|
left: ne ? "rotate(90deg)" : "rotate(-90deg)",
|
|
5760
5760
|
bottom: ne ? "" : "rotate(180deg)",
|
|
@@ -5771,7 +5771,7 @@ const $f = /* @__PURE__ */ I.forwardRef(function(a, t) {
|
|
|
5771
5771
|
position: "absolute",
|
|
5772
5772
|
pointerEvents: "none",
|
|
5773
5773
|
[te]: W,
|
|
5774
|
-
[K]:
|
|
5774
|
+
[K]: V,
|
|
5775
5775
|
[D]: A || ne ? "100%" : "calc(100% - " + P / 2 + "px)",
|
|
5776
5776
|
transform: [$, w].filter((m) => !!m).join(" "),
|
|
5777
5777
|
...b
|
|
@@ -5824,7 +5824,7 @@ function Jf(n) {
|
|
|
5824
5824
|
} = n, r = Ki(), o = I.useRef({}), [i] = I.useState(() => Qf()), s = Xf() != null;
|
|
5825
5825
|
if (process.env.NODE_ENV !== "production") {
|
|
5826
5826
|
const v = e.reference;
|
|
5827
|
-
v && !$e(v) &&
|
|
5827
|
+
v && !$e(v) && qf("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
|
|
5828
5828
|
}
|
|
5829
5829
|
const [l, p] = I.useState(e.reference), u = of((v, w, b) => {
|
|
5830
5830
|
o.current.openEvent = v ? w : void 0, i.emit("openchange", {
|
|
@@ -5951,7 +5951,7 @@ var tm = function(n) {
|
|
|
5951
5951
|
var a = n.showTimeSelectOnly, t = a === void 0 ? !1 : a, e = n.showTime, r = e === void 0 ? !1 : e, o = n.className, i = n.children, s = t ? "Choose Time" : "Choose Date".concat(r ? " and Time" : "");
|
|
5952
5952
|
return N.createElement("div", { className: o, role: "dialog", "aria-label": s, "aria-modal": "true" }, i);
|
|
5953
5953
|
}, nm = function(n, a) {
|
|
5954
|
-
var t =
|
|
5954
|
+
var t = Ae(null), e = Ae(n);
|
|
5955
5955
|
e.current = n;
|
|
5956
5956
|
var r = Ge(function(o) {
|
|
5957
5957
|
var i, s = o.composed && o.composedPath && o.composedPath().find(function(l) {
|
|
@@ -6035,7 +6035,7 @@ function am(n, a) {
|
|
|
6035
6035
|
var r = n.length - 1;
|
|
6036
6036
|
return "".concat(t, " (+").concat(r, ")");
|
|
6037
6037
|
}
|
|
6038
|
-
function
|
|
6038
|
+
function Ur(n, a) {
|
|
6039
6039
|
var t = a.hour, e = t === void 0 ? 0 : t, r = a.minute, o = r === void 0 ? 0 : r, i = a.second, s = i === void 0 ? 0 : i;
|
|
6040
6040
|
return Gn(Kn(Xn(n, s), o), e);
|
|
6041
6041
|
}
|
|
@@ -6088,7 +6088,7 @@ function mr(n, a) {
|
|
|
6088
6088
|
function he(n, a) {
|
|
6089
6089
|
return n && a ? gp(n, a) : !n && !a;
|
|
6090
6090
|
}
|
|
6091
|
-
function
|
|
6091
|
+
function qt(n, a) {
|
|
6092
6092
|
return n && a ? vu(n, a) : !n && !a;
|
|
6093
6093
|
}
|
|
6094
6094
|
function zt(n, a, t) {
|
|
@@ -6165,7 +6165,7 @@ function es(n, a) {
|
|
|
6165
6165
|
}) || s && !s(xe(n)) || !1;
|
|
6166
6166
|
}
|
|
6167
6167
|
function Yn(n, a, t, e) {
|
|
6168
|
-
var r = me(n), o =
|
|
6168
|
+
var r = me(n), o = qe(n), i = me(a), s = qe(a), l = me(e);
|
|
6169
6169
|
return r === i && r === l ? o <= t && t <= s : r < i ? l === r && o <= t || l === i && s >= t || l < i && l > r : !1;
|
|
6170
6170
|
}
|
|
6171
6171
|
function fm(n, a) {
|
|
@@ -6377,7 +6377,7 @@ function Ro(n) {
|
|
|
6377
6377
|
var a = new Date(n);
|
|
6378
6378
|
return a.setHours(0, 0, 0, 0), a;
|
|
6379
6379
|
}
|
|
6380
|
-
function
|
|
6380
|
+
function qr(n, a) {
|
|
6381
6381
|
if (!Tt(n) || !Tt(a))
|
|
6382
6382
|
throw new Error("Invalid date received");
|
|
6383
6383
|
var t = Ro(n), e = Ro(a);
|
|
@@ -6497,12 +6497,12 @@ var km = (
|
|
|
6497
6497
|
var e, r = t.props, o = r.day, i = r.selectsStart, s = r.selectsEnd, l = r.selectsRange, p = r.selectsDisabledDaysInRange, u = r.startDate, d = r.swapRange, h = r.endDate, v = (e = t.props.selectingDate) !== null && e !== void 0 ? e : t.props.preSelection;
|
|
6498
6498
|
if (!(i || s || l) || !v || !p && t.isDisabled())
|
|
6499
6499
|
return !1;
|
|
6500
|
-
if (i && h && (yt(v, h) ||
|
|
6500
|
+
if (i && h && (yt(v, h) || qt(v, h)))
|
|
6501
6501
|
return zt(o, v, h);
|
|
6502
|
-
if (s && u && (Bt(v, u) ||
|
|
6502
|
+
if (s && u && (Bt(v, u) || qt(v, u)))
|
|
6503
6503
|
return zt(o, u, v);
|
|
6504
6504
|
if (l && u && !h) {
|
|
6505
|
-
if (
|
|
6505
|
+
if (qt(v, u) || Bt(v, u))
|
|
6506
6506
|
return zt(o, u, v);
|
|
6507
6507
|
if (d && yt(v, u))
|
|
6508
6508
|
return zt(o, v, u);
|
|
@@ -6530,9 +6530,9 @@ var km = (
|
|
|
6530
6530
|
var e = du(t.props.day);
|
|
6531
6531
|
return e === 0 || e === 6;
|
|
6532
6532
|
}, t.isAfterMonth = function() {
|
|
6533
|
-
return t.props.month !== void 0 && (t.props.month + 1) % 12 ===
|
|
6533
|
+
return t.props.month !== void 0 && (t.props.month + 1) % 12 === qe(t.props.day);
|
|
6534
6534
|
}, t.isBeforeMonth = function() {
|
|
6535
|
-
return t.props.month !== void 0 && (
|
|
6535
|
+
return t.props.month !== void 0 && (qe(t.props.day) + 1) % 12 === t.props.month;
|
|
6536
6536
|
}, t.isCurrentDay = function() {
|
|
6537
6537
|
return t.isSameDay(xe());
|
|
6538
6538
|
}, t.isSelected = function() {
|
|
@@ -6820,11 +6820,11 @@ var Em = (
|
|
|
6820
6820
|
var r = t.props.day, o = ut(e, 6);
|
|
6821
6821
|
return Xe(e, r) || Xe(o, r);
|
|
6822
6822
|
}, t.isCurrentMonth = function(e, r) {
|
|
6823
|
-
return me(e) === me(xe()) && r ===
|
|
6823
|
+
return me(e) === me(xe()) && r === qe(xe());
|
|
6824
6824
|
}, t.isCurrentQuarter = function(e, r) {
|
|
6825
6825
|
return me(e) === me(xe()) && r === $t(xe());
|
|
6826
6826
|
}, t.isSelectedMonth = function(e, r, o) {
|
|
6827
|
-
return
|
|
6827
|
+
return qe(o) === r && me(e) === me(o);
|
|
6828
6828
|
}, t.isSelectMonthInList = function(e, r, o) {
|
|
6829
6829
|
return o.some(function(i) {
|
|
6830
6830
|
return t.isSelectedMonth(e, r, i);
|
|
@@ -6832,7 +6832,7 @@ var Em = (
|
|
|
6832
6832
|
}, t.isSelectedQuarter = function(e, r, o) {
|
|
6833
6833
|
return $t(e) === r && me(e) === me(o);
|
|
6834
6834
|
}, t.isMonthSelected = function() {
|
|
6835
|
-
var e = t.props, r = e.day, o = e.selected, i = e.selectedDates, s = e.selectsMultiple, l =
|
|
6835
|
+
var e = t.props, r = e.day, o = e.selected, i = e.selectedDates, s = e.selectsMultiple, l = qe(r);
|
|
6836
6836
|
return s ? i == null ? void 0 : i.some(function(p) {
|
|
6837
6837
|
return t.isSelectedMonth(r, l, p);
|
|
6838
6838
|
}) : !!o && t.isSelectedMonth(r, l, o);
|
|
@@ -6841,7 +6841,7 @@ var Em = (
|
|
|
6841
6841
|
return t.props.showWeekPicker ? At(w, t.props.locale, t.props.calendarStartDay) : t.props.preSelection;
|
|
6842
6842
|
}, p = function(w) {
|
|
6843
6843
|
return t.props.showWeekPicker ? At(w, t.props.locale, t.props.calendarStartDay) : t.props.selected;
|
|
6844
|
-
}, u = t.props.selected ? p(t.props.selected) : void 0, d = t.props.preSelection ? l(t.props.preSelection) : void 0; e.push(N.createElement(Sm, ve({}, t.props, { ariaLabelPrefix: t.props.weekAriaLabelPrefix, key: o, day: s, month:
|
|
6844
|
+
}, u = t.props.selected ? p(t.props.selected) : void 0, d = t.props.preSelection ? l(t.props.preSelection) : void 0; e.push(N.createElement(Sm, ve({}, t.props, { ariaLabelPrefix: t.props.weekAriaLabelPrefix, key: o, day: s, month: qe(t.props.day), onDayClick: t.handleDayClick, onDayMouseEnter: t.handleDayMouseEnter, selected: u, preSelection: d, showWeekNumber: t.props.showWeekNumbers }))), !i; ) {
|
|
6845
6845
|
o++, s = rr(s, 1);
|
|
6846
6846
|
var h = r && o >= Mm, v = !r && !t.isWeekInMonth(s);
|
|
6847
6847
|
if (h || v)
|
|
@@ -6881,29 +6881,29 @@ var Em = (
|
|
|
6881
6881
|
}
|
|
6882
6882
|
return { newCalculatedDate: ne, newCalculatedMonth: K };
|
|
6883
6883
|
}, S = function(Y, P, L) {
|
|
6884
|
-
for (var X = 40, le = Y, ne = !1, K = 0, te = T(le, P, L), W = te.newCalculatedDate,
|
|
6884
|
+
for (var X = 40, le = Y, ne = !1, K = 0, te = T(le, P, L), W = te.newCalculatedDate, V = te.newCalculatedMonth; !ne; ) {
|
|
6885
6885
|
if (K >= X) {
|
|
6886
|
-
W = P,
|
|
6886
|
+
W = P, V = L;
|
|
6887
6887
|
break;
|
|
6888
6888
|
}
|
|
6889
6889
|
if (d && W < d) {
|
|
6890
6890
|
le = ee.ArrowRight;
|
|
6891
|
-
var G = T(le, W,
|
|
6892
|
-
W = G.newCalculatedDate,
|
|
6891
|
+
var G = T(le, W, V);
|
|
6892
|
+
W = G.newCalculatedDate, V = G.newCalculatedMonth;
|
|
6893
6893
|
}
|
|
6894
6894
|
if (h && W > h) {
|
|
6895
6895
|
le = ee.ArrowLeft;
|
|
6896
|
-
var G = T(le, W,
|
|
6897
|
-
W = G.newCalculatedDate,
|
|
6896
|
+
var G = T(le, W, V);
|
|
6897
|
+
W = G.newCalculatedDate, V = G.newCalculatedMonth;
|
|
6898
6898
|
}
|
|
6899
6899
|
if (fm(W, t.props)) {
|
|
6900
|
-
var G = T(le, W,
|
|
6901
|
-
W = G.newCalculatedDate,
|
|
6900
|
+
var G = T(le, W, V);
|
|
6901
|
+
W = G.newCalculatedDate, V = G.newCalculatedMonth;
|
|
6902
6902
|
} else
|
|
6903
6903
|
ne = !0;
|
|
6904
6904
|
K++;
|
|
6905
6905
|
}
|
|
6906
|
-
return { newCalculatedDate: W, newCalculatedMonth:
|
|
6906
|
+
return { newCalculatedDate: W, newCalculatedMonth: V };
|
|
6907
6907
|
};
|
|
6908
6908
|
if (r === ee.Enter) {
|
|
6909
6909
|
t.isMonthDisabled(o) || (t.onMonthClick(e, o), u == null || u(l));
|
|
@@ -6978,7 +6978,7 @@ var Em = (
|
|
|
6978
6978
|
}, t.getTabIndex = function(e) {
|
|
6979
6979
|
if (t.props.preSelection == null)
|
|
6980
6980
|
return "-1";
|
|
6981
|
-
var r =
|
|
6981
|
+
var r = qe(t.props.preSelection), o = t.isMonthDisabledForLabelDate(r).isDisabled, i = e === r && !(o || t.props.disabledKeyboardNavigation) ? "0" : "-1";
|
|
6982
6982
|
return i;
|
|
6983
6983
|
}, t.getQuarterTabIndex = function(e) {
|
|
6984
6984
|
if (t.props.preSelection == null)
|
|
@@ -7772,7 +7772,7 @@ var Am = (
|
|
|
7772
7772
|
e.setState(function(o) {
|
|
7773
7773
|
var i = o.date;
|
|
7774
7774
|
return {
|
|
7775
|
-
date: ht(ot(i,
|
|
7775
|
+
date: ht(ot(i, qe(r)), me(r))
|
|
7776
7776
|
};
|
|
7777
7777
|
}, function() {
|
|
7778
7778
|
return e.handleMonthYearChange(e.state.date);
|
|
@@ -7897,7 +7897,7 @@ var Am = (
|
|
|
7897
7897
|
return N.createElement(Wm, ve({}, a.defaultProps, e.props, { date: e.state.date, onChange: e.changeYear, year: me(e.state.date) }));
|
|
7898
7898
|
}, e.renderMonthDropdown = function(r) {
|
|
7899
7899
|
if (r === void 0 && (r = !1), !(!e.props.showMonthDropdown || r))
|
|
7900
|
-
return N.createElement(Tm, ve({}, a.defaultProps, e.props, { month:
|
|
7900
|
+
return N.createElement(Tm, ve({}, a.defaultProps, e.props, { month: qe(e.state.date), onChange: e.changeMonth }));
|
|
7901
7901
|
}, e.renderMonthYearDropdown = function(r) {
|
|
7902
7902
|
if (r === void 0 && (r = !1), !(!e.props.showMonthYearDropdown || r))
|
|
7903
7903
|
return N.createElement(Om, ve({}, a.defaultProps, e.props, { date: e.state.date, onChange: e.changeMonthYear }));
|
|
@@ -7982,7 +7982,7 @@ var Am = (
|
|
|
7982
7982
|
return N.createElement(km, ve({}, a.defaultProps, e.props, { date: r, timeString: i, onChange: e.props.onTimeChange }));
|
|
7983
7983
|
}, e.renderAriaLiveRegion = function() {
|
|
7984
7984
|
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;
|
|
7985
|
-
return e.props.showYearPicker ? l = "".concat(i, " - ").concat(s) : e.props.showMonthYearPicker || e.props.showQuarterYearPicker ? l = me(e.state.date) : l = "".concat(Ha(
|
|
7985
|
+
return e.props.showYearPicker ? l = "".concat(i, " - ").concat(s) : e.props.showMonthYearPicker || e.props.showQuarterYearPicker ? l = me(e.state.date) : l = "".concat(Ha(qe(e.state.date), e.props.locale), " ").concat(me(e.state.date)), N.createElement("span", { role: "alert", "aria-live": "polite", className: "react-datepicker__aria-live" }, e.state.isRenderAriaLiveMessage && l);
|
|
7986
7986
|
}, e.renderChildren = function() {
|
|
7987
7987
|
if (e.props.children)
|
|
7988
7988
|
return N.createElement("div", { className: "react-datepicker__children-container" }, e.props.children);
|
|
@@ -8120,9 +8120,9 @@ var Am = (
|
|
|
8120
8120
|
}, a;
|
|
8121
8121
|
}(He)
|
|
8122
8122
|
);
|
|
8123
|
-
function
|
|
8123
|
+
function Um(n) {
|
|
8124
8124
|
function a(t) {
|
|
8125
|
-
var e, r = typeof t.hidePopper == "boolean" ? t.hidePopper : !0, o =
|
|
8125
|
+
var e, r = typeof t.hidePopper == "boolean" ? t.hidePopper : !0, o = Ae(null), i = em(ve({ open: !r, whileElementsMounted: Tf, placement: t.popperPlacement, middleware: xt([
|
|
8126
8126
|
Bf({ padding: 15 }),
|
|
8127
8127
|
Wf(10),
|
|
8128
8128
|
Yf({ element: o })
|
|
@@ -8131,7 +8131,7 @@ function qm(n) {
|
|
|
8131
8131
|
}
|
|
8132
8132
|
return a.displayName = "withFloating(".concat(n.displayName || n.name || "Component", ")"), a;
|
|
8133
8133
|
}
|
|
8134
|
-
var
|
|
8134
|
+
var qm = function(n) {
|
|
8135
8135
|
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, h = n.showArrow, v = void 0;
|
|
8136
8136
|
if (!r) {
|
|
8137
8137
|
var w = E("react-datepicker-popper", a);
|
|
@@ -8154,9 +8154,9 @@ var Um = function(n) {
|
|
|
8154
8154
|
N.createElement("div", { ref: d.refs.setReference, className: b }, i),
|
|
8155
8155
|
v
|
|
8156
8156
|
);
|
|
8157
|
-
}, $m = qm
|
|
8157
|
+
}, $m = Um(qm);
|
|
8158
8158
|
function Qm(n, a) {
|
|
8159
|
-
return n && a ?
|
|
8159
|
+
return n && a ? qe(n) !== qe(a) || me(n) !== me(a) : n !== a;
|
|
8160
8160
|
}
|
|
8161
8161
|
var Qr = "Date input not valid.", Gm = (
|
|
8162
8162
|
/** @class */
|
|
@@ -8287,7 +8287,7 @@ var Qr = "Date input not valid.", Gm = (
|
|
|
8287
8287
|
}
|
|
8288
8288
|
}, e.handleSelect = function(r, o, i) {
|
|
8289
8289
|
if (!e.props.readOnly) {
|
|
8290
|
-
var s = e.props, l = s.selectsRange, p = s.startDate, u = s.endDate, d = s.swapRange, h = !l || p && !u && (d || !
|
|
8290
|
+
var s = e.props, l = s.selectsRange, p = s.startDate, u = s.endDate, d = s.swapRange, h = !l || p && !u && (d || !qr(r, p));
|
|
8291
8291
|
e.props.shouldCloseOnSelect && !e.props.showTimeSelect && h && e.sendFocusBackToInput(), e.props.onChangeRaw && e.props.onChangeRaw(o), e.setSelected(r, o, !1, i), e.props.showDateSelect && e.setState({ isRenderAriaLiveMessage: !0 }), !e.props.shouldCloseOnSelect || e.props.showTimeSelect ? e.setPreSelection(r) : h && e.setOpen(!1);
|
|
8292
8292
|
}
|
|
8293
8293
|
}, e.setSelected = function(r, o, i, s) {
|
|
@@ -8301,12 +8301,12 @@ var Qr = "Date input not valid.", Gm = (
|
|
|
8301
8301
|
} else if (u !== null && it(u, e.props))
|
|
8302
8302
|
return;
|
|
8303
8303
|
var d = e.props, h = d.onChange, v = d.selectsRange, w = d.startDate, b = d.endDate, y = d.selectsMultiple, C = d.selectedDates, T = d.minTime, S = d.swapRange;
|
|
8304
|
-
if (!
|
|
8305
|
-
if (u !== null && (e.props.selected && (!i || !e.props.showTimeSelect && !e.props.showTimeSelectOnly && !e.props.showTimeInput) && (u =
|
|
8304
|
+
if (!qt(e.props.selected, u) || e.props.allowSameDay || v || y)
|
|
8305
|
+
if (u !== null && (e.props.selected && (!i || !e.props.showTimeSelect && !e.props.showTimeSelectOnly && !e.props.showTimeInput) && (u = Ur(u, {
|
|
8306
8306
|
hour: Pt(e.props.selected),
|
|
8307
8307
|
minute: It(e.props.selected),
|
|
8308
8308
|
second: Ft(e.props.selected)
|
|
8309
|
-
})), !i && (e.props.showTimeSelect || e.props.showTimeSelectOnly) && T && (u =
|
|
8309
|
+
})), !i && (e.props.showTimeSelect || e.props.showTimeSelectOnly) && T && (u = Ur(u, {
|
|
8310
8310
|
hour: T.getHours(),
|
|
8311
8311
|
minute: T.getMinutes(),
|
|
8312
8312
|
second: T.getSeconds()
|
|
@@ -8314,7 +8314,7 @@ var Qr = "Date input not valid.", Gm = (
|
|
|
8314
8314
|
preSelection: u
|
|
8315
8315
|
}), e.props.focusSelectedMonth || e.setState({ monthSelectedIn: s })), v) {
|
|
8316
8316
|
var D = !w && !b, x = w && !b, A = !w && !!b, Y = w && b;
|
|
8317
|
-
D ? h == null || h([u, null], o) : x ? u === null ? h == null || h([null, null], o) :
|
|
8317
|
+
D ? h == null || h([u, null], o) : x ? u === null ? h == null || h([null, null], o) : qr(u, w) ? S ? h == null || h([u, w], o) : h == null || h([u, null], o) : h == null || h([w, u], o) : A && (u && qr(u, b) ? h == null || h([u, b], o) : h == null || h([u, null], o)), Y && (h == null || h([u, null], o));
|
|
8318
8318
|
} else if (y) {
|
|
8319
8319
|
if (u !== null)
|
|
8320
8320
|
if (!(C != null && C.length))
|
|
@@ -8343,10 +8343,10 @@ var Qr = "Date input not valid.", Gm = (
|
|
|
8343
8343
|
s = zt(r, e.props.minDate, e.props.maxDate);
|
|
8344
8344
|
else if (o) {
|
|
8345
8345
|
var p = Jn(e.props.minDate);
|
|
8346
|
-
s = Bt(r, p) ||
|
|
8346
|
+
s = Bt(r, p) || qt(l, p);
|
|
8347
8347
|
} else if (i) {
|
|
8348
8348
|
var u = ko(e.props.maxDate);
|
|
8349
|
-
s = yt(r, u) ||
|
|
8349
|
+
s = yt(r, u) || qt(l, u);
|
|
8350
8350
|
}
|
|
8351
8351
|
}
|
|
8352
8352
|
s && e.setState({
|
|
@@ -8358,7 +8358,7 @@ var Qr = "Date input not valid.", Gm = (
|
|
|
8358
8358
|
}, e.handleTimeChange = function(r) {
|
|
8359
8359
|
var o, i;
|
|
8360
8360
|
if (!(e.props.selectsRange || e.props.selectsMultiple)) {
|
|
8361
|
-
var s = e.props.selected ? e.props.selected : e.getPreSelection(), l = e.props.selected ? r :
|
|
8361
|
+
var s = e.props.selected ? e.props.selected : e.getPreSelection(), l = e.props.selected ? r : Ur(s, {
|
|
8362
8362
|
hour: Pt(r),
|
|
8363
8363
|
minute: It(r)
|
|
8364
8364
|
});
|
|
@@ -8399,39 +8399,39 @@ var Qr = "Date input not valid.", Gm = (
|
|
|
8399
8399
|
}, e.onDayKeyDown = function(r) {
|
|
8400
8400
|
var o, i, s, l, p, u, d = e.props, h = d.minDate, v = d.maxDate, w = d.disabledKeyboardNavigation, b = d.showWeekPicker, y = d.shouldCloseOnSelect, C = d.locale, T = d.calendarStartDay, S = d.adjustDateOnChange, D = d.inline;
|
|
8401
8401
|
if ((i = (o = e.props).onKeyDown) === null || i === void 0 || i.call(o, r), !w) {
|
|
8402
|
-
var x = r.key, A = r.shiftKey, Y = xe(e.state.preSelection), P = function(W,
|
|
8403
|
-
var G =
|
|
8402
|
+
var x = r.key, A = r.shiftKey, Y = xe(e.state.preSelection), P = function(W, V) {
|
|
8403
|
+
var G = V;
|
|
8404
8404
|
switch (W) {
|
|
8405
8405
|
case ee.ArrowRight:
|
|
8406
|
-
G = b ? rr(
|
|
8406
|
+
G = b ? rr(V, 1) : ut(V, 1);
|
|
8407
8407
|
break;
|
|
8408
8408
|
case ee.ArrowLeft:
|
|
8409
|
-
G = b ? lo(
|
|
8409
|
+
G = b ? lo(V) : vd(V);
|
|
8410
8410
|
break;
|
|
8411
8411
|
case ee.ArrowUp:
|
|
8412
|
-
G = lo(
|
|
8412
|
+
G = lo(V);
|
|
8413
8413
|
break;
|
|
8414
8414
|
case ee.ArrowDown:
|
|
8415
|
-
G = rr(
|
|
8415
|
+
G = rr(V, 1);
|
|
8416
8416
|
break;
|
|
8417
8417
|
case ee.PageUp:
|
|
8418
|
-
G = A ? un(
|
|
8418
|
+
G = A ? un(V, 1) : Qt(V, 1);
|
|
8419
8419
|
break;
|
|
8420
8420
|
case ee.PageDown:
|
|
8421
|
-
G = A ? Nt(
|
|
8421
|
+
G = A ? Nt(V, 1) : ft(V, 1);
|
|
8422
8422
|
break;
|
|
8423
8423
|
case ee.Home:
|
|
8424
|
-
G = At(
|
|
8424
|
+
G = At(V, C, T);
|
|
8425
8425
|
break;
|
|
8426
8426
|
case ee.End:
|
|
8427
|
-
G = sm(
|
|
8427
|
+
G = sm(V);
|
|
8428
8428
|
break;
|
|
8429
8429
|
}
|
|
8430
8430
|
return G;
|
|
8431
|
-
}, L = function(W,
|
|
8432
|
-
for (var G = 40, $ = W, m = !1, f = 0, g = P(W,
|
|
8431
|
+
}, L = function(W, V) {
|
|
8432
|
+
for (var G = 40, $ = W, m = !1, f = 0, g = P(W, V); !m; ) {
|
|
8433
8433
|
if (f >= G) {
|
|
8434
|
-
g =
|
|
8434
|
+
g = V;
|
|
8435
8435
|
break;
|
|
8436
8436
|
}
|
|
8437
8437
|
h && g < h && ($ = ee.ArrowRight, g = it(h, e.props) ? P($, g) : h), v && g > v && ($ = ee.ArrowLeft, g = it(v, e.props) ? P($, g) : v), it(g, e.props) ? (($ === ee.PageUp || $ === ee.Home) && ($ = ee.ArrowRight), ($ === ee.PageDown || $ === ee.End) && ($ = ee.ArrowLeft), g = P($, g)) : m = !0, f++;
|
|
@@ -8463,7 +8463,7 @@ var Qr = "Date input not valid.", Gm = (
|
|
|
8463
8463
|
return;
|
|
8464
8464
|
}
|
|
8465
8465
|
if (r.preventDefault(), e.setState({ lastPreSelectChange: Gr }), S && e.setSelected(X), e.setPreSelection(X), D) {
|
|
8466
|
-
var le =
|
|
8466
|
+
var le = qe(Y), ne = qe(X), K = me(Y), te = me(X);
|
|
8467
8467
|
le !== ne || K !== te ? e.setState({ shouldFocusDayInline: !0 }) : e.setState({ shouldFocusDayInline: !1 });
|
|
8468
8468
|
}
|
|
8469
8469
|
}
|
|
@@ -8567,7 +8567,7 @@ var Qr = "Date input not valid.", Gm = (
|
|
|
8567
8567
|
var r, o, i, s;
|
|
8568
8568
|
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({
|
|
8569
8569
|
highlightDates: Po(this.props.highlightDates)
|
|
8570
|
-
}), !e.focused && !
|
|
8570
|
+
}), !e.focused && !qt(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)));
|
|
8571
8571
|
}, a.prototype.componentWillUnmount = function() {
|
|
8572
8572
|
this.clearPreventFocusTimeout(), window.removeEventListener("scroll", this.onScroll, !0), document.removeEventListener("visibilitychange", this.setHiddenStateOnVisibilityHidden);
|
|
8573
8573
|
}, a.prototype.renderInputContainer = function() {
|
|
@@ -8643,17 +8643,17 @@ function Xm() {
|
|
|
8643
8643
|
if (m === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8644
8644
|
return m;
|
|
8645
8645
|
}
|
|
8646
|
-
var l = function(m, f, g, _, c, k, B,
|
|
8646
|
+
var l = function(m, f, g, _, c, k, B, z) {
|
|
8647
8647
|
if (!m) {
|
|
8648
|
-
var
|
|
8649
|
-
if (f === void 0)
|
|
8648
|
+
var O;
|
|
8649
|
+
if (f === void 0) O = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
|
|
8650
8650
|
else {
|
|
8651
|
-
var H = [g, _, c, k, B,
|
|
8652
|
-
(
|
|
8653
|
-
return H[
|
|
8651
|
+
var H = [g, _, c, k, B, z], U = 0;
|
|
8652
|
+
(O = new Error(f.replace(/%s/g, function() {
|
|
8653
|
+
return H[U++];
|
|
8654
8654
|
}))).name = "Invariant Violation";
|
|
8655
8655
|
}
|
|
8656
|
-
throw
|
|
8656
|
+
throw O.framesToPop = 1, O;
|
|
8657
8657
|
}
|
|
8658
8658
|
}, p = l;
|
|
8659
8659
|
function u(m, f, g) {
|
|
@@ -8676,9 +8676,9 @@ function Xm() {
|
|
|
8676
8676
|
function w(m, f, g) {
|
|
8677
8677
|
var _ = "", c = "", k = null, B = [];
|
|
8678
8678
|
if (f === void 0 && (f = v), g == null && (g = h), !m || typeof m != "string") return { maskChar: f, formatChars: g, mask: null, prefix: null, lastEditablePosition: null, permanents: [] };
|
|
8679
|
-
var
|
|
8680
|
-
return m.split("").forEach(function(
|
|
8681
|
-
|
|
8679
|
+
var z = !1;
|
|
8680
|
+
return m.split("").forEach(function(O) {
|
|
8681
|
+
z = !z && O === "\\" || (z || !g[O] ? (B.push(_.length), _.length === B.length - 1 && (c += O)) : k = _.length + 1, _ += O, !1);
|
|
8682
8682
|
}), { maskChar: f, formatChars: g, prefix: c, mask: _, lastEditablePosition: k, permanents: B };
|
|
8683
8683
|
}
|
|
8684
8684
|
function b(m, f) {
|
|
@@ -8725,31 +8725,31 @@ function Xm() {
|
|
|
8725
8725
|
return f;
|
|
8726
8726
|
}
|
|
8727
8727
|
function x(m, f, g, _) {
|
|
8728
|
-
var c = g + _, k = m.maskChar, B = m.mask,
|
|
8729
|
-
if (k) return
|
|
8730
|
-
return j < g || c <= j ?
|
|
8728
|
+
var c = g + _, k = m.maskChar, B = m.mask, z = m.prefix, O = f.split("");
|
|
8729
|
+
if (k) return O.map(function(U, j) {
|
|
8730
|
+
return j < g || c <= j ? U : b(m, j) ? B[j] : k;
|
|
8731
8731
|
}).join("");
|
|
8732
|
-
for (var H = c; H <
|
|
8733
|
-
return g = Math.max(
|
|
8732
|
+
for (var H = c; H < O.length; H++) b(m, H) && (O[H] = "");
|
|
8733
|
+
return g = Math.max(z.length, g), O.splice(g, c - g), f = O.join(""), D(m, f);
|
|
8734
8734
|
}
|
|
8735
8735
|
function A(m, f, g, _) {
|
|
8736
|
-
var c = m.mask, k = m.maskChar, B = m.prefix,
|
|
8737
|
-
return !k && _ > f.length && (f += c.slice(f.length, _)),
|
|
8738
|
-
for (; F = H, b(m,
|
|
8739
|
-
if (_ >= f.length && (f += c[_]),
|
|
8736
|
+
var c = m.mask, k = m.maskChar, B = m.prefix, z = g.split(""), O = S(m, f);
|
|
8737
|
+
return !k && _ > f.length && (f += c.slice(f.length, _)), z.every(function(H) {
|
|
8738
|
+
for (; F = H, b(m, q = _) && F !== c[q]; ) {
|
|
8739
|
+
if (_ >= f.length && (f += c[_]), U = H, j = _, k && b(m, j) && U === k) return !0;
|
|
8740
8740
|
if (++_ >= c.length) return !1;
|
|
8741
8741
|
}
|
|
8742
|
-
var
|
|
8743
|
-
return !y(m, _, H) && H !== k || (_ < f.length ? f = k ||
|
|
8742
|
+
var U, j, q, F;
|
|
8743
|
+
return !y(m, _, H) && H !== k || (_ < f.length ? f = k || O || _ < B.length ? f.slice(0, _) + H + f.slice(_ + 1) : (f = f.slice(0, _) + H + f.slice(_), D(m, f)) : k || (f += H), ++_ < c.length);
|
|
8744
8744
|
}), f;
|
|
8745
8745
|
}
|
|
8746
8746
|
function Y(m, f, g, _) {
|
|
8747
|
-
var c = m.mask, k = m.maskChar, B = g.split(""),
|
|
8748
|
-
return B.every(function(
|
|
8749
|
-
for (;
|
|
8750
|
-
var H,
|
|
8751
|
-
return (y(m, _,
|
|
8752
|
-
}), _ -
|
|
8747
|
+
var c = m.mask, k = m.maskChar, B = g.split(""), z = _;
|
|
8748
|
+
return B.every(function(O) {
|
|
8749
|
+
for (; U = O, b(m, H = _) && U !== c[H]; ) if (++_ >= c.length) return !1;
|
|
8750
|
+
var H, U;
|
|
8751
|
+
return (y(m, _, O) || O === k) && _++, _ < c.length;
|
|
8752
|
+
}), _ - z;
|
|
8753
8753
|
}
|
|
8754
8754
|
function P(m, f) {
|
|
8755
8755
|
for (var g = f; 0 <= g; --g) if (!b(m, g)) return g;
|
|
@@ -8763,8 +8763,8 @@ function Xm() {
|
|
|
8763
8763
|
return m || m === 0 ? m + "" : "";
|
|
8764
8764
|
}
|
|
8765
8765
|
function le(m, f, g, _, c) {
|
|
8766
|
-
var k = m.mask, B = m.prefix,
|
|
8767
|
-
return g.end > c.start ? j = (
|
|
8766
|
+
var k = m.mask, B = m.prefix, z = m.lastEditablePosition, O = f, H = "", U = 0, j = 0, q = Math.min(c.start, g.start);
|
|
8767
|
+
return g.end > c.start ? j = (U = Y(m, _, H = O.slice(c.start, g.end), q)) ? c.length : 0 : O.length < _.length && (j = _.length - O.length), O = _, j && (j === 1 && !c.length && (q = c.start === g.start ? L(m, g.start) : P(m, g.start)), O = x(m, O, q, j)), O = A(m, O, H, q), (q += U) >= k.length ? q = k.length : q < B.length && !U ? q = B.length : q >= B.length && q < z && U && (q = L(m, q)), H || (H = null), { value: O = D(m, O), enteredString: H, selection: { start: q, end: q } };
|
|
8768
8768
|
}
|
|
8769
8769
|
function ne() {
|
|
8770
8770
|
var m = new RegExp("windows", "i"), f = new RegExp("phone", "i"), g = navigator.userAgent;
|
|
@@ -8779,7 +8779,7 @@ function Xm() {
|
|
|
8779
8779
|
function W() {
|
|
8780
8780
|
return window.cancelAnimationFrame || window.webkitCancelRequestAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame;
|
|
8781
8781
|
}
|
|
8782
|
-
function
|
|
8782
|
+
function V(m) {
|
|
8783
8783
|
return (W() ? te() : function() {
|
|
8784
8784
|
return setTimeout(m, 1e3 / 60);
|
|
8785
8785
|
})(m);
|
|
@@ -8791,32 +8791,32 @@ function Xm() {
|
|
|
8791
8791
|
function f(_) {
|
|
8792
8792
|
var c = m.call(this, _) || this;
|
|
8793
8793
|
c.focused = !1, c.mounted = !1, c.previousSelection = null, c.selectionDeferId = null, c.saveSelectionLoopDeferId = null, c.saveSelectionLoop = function() {
|
|
8794
|
-
c.previousSelection = c.getSelection(), c.saveSelectionLoopDeferId =
|
|
8794
|
+
c.previousSelection = c.getSelection(), c.saveSelectionLoopDeferId = V(c.saveSelectionLoop);
|
|
8795
8795
|
}, c.runSaveSelectionLoop = function() {
|
|
8796
8796
|
c.saveSelectionLoopDeferId === null && c.saveSelectionLoop();
|
|
8797
8797
|
}, c.stopSaveSelectionLoop = function() {
|
|
8798
8798
|
c.saveSelectionLoopDeferId !== null && (G(c.saveSelectionLoopDeferId), c.saveSelectionLoopDeferId = null, c.previousSelection = null);
|
|
8799
8799
|
}, c.getInputDOMNode = function() {
|
|
8800
8800
|
if (!c.mounted) return null;
|
|
8801
|
-
var Q = t.findDOMNode(s(s(c))),
|
|
8802
|
-
if (Q && !
|
|
8801
|
+
var Q = t.findDOMNode(s(s(c))), R = typeof window < "u" && Q instanceof window.Element;
|
|
8802
|
+
if (Q && !R) return null;
|
|
8803
8803
|
if (Q.nodeName !== "INPUT" && (Q = Q.querySelector("input")), !Q) throw new Error("react-input-mask: inputComponent doesn't contain input node");
|
|
8804
8804
|
return Q;
|
|
8805
8805
|
}, c.getInputValue = function() {
|
|
8806
8806
|
var Q = c.getInputDOMNode();
|
|
8807
8807
|
return Q ? Q.value : null;
|
|
8808
8808
|
}, c.setInputValue = function(Q) {
|
|
8809
|
-
var
|
|
8810
|
-
|
|
8809
|
+
var R = c.getInputDOMNode();
|
|
8810
|
+
R && (c.value = Q, R.value = Q);
|
|
8811
8811
|
}, c.setCursorToEnd = function() {
|
|
8812
|
-
var Q = T(c.maskOptions, c.value),
|
|
8813
|
-
|
|
8814
|
-
}, c.setSelection = function(Q,
|
|
8812
|
+
var Q = T(c.maskOptions, c.value), R = L(c.maskOptions, Q);
|
|
8813
|
+
R !== null && c.setCursorPosition(R);
|
|
8814
|
+
}, c.setSelection = function(Q, R, J) {
|
|
8815
8815
|
J === void 0 && (J = {});
|
|
8816
8816
|
var ce = c.getInputDOMNode(), ae = c.isFocused();
|
|
8817
|
-
ce && ae && (J.deferred || u(ce, Q,
|
|
8818
|
-
c.selectionDeferId = null, u(ce, Q,
|
|
8819
|
-
}), c.previousSelection = { start: Q, end:
|
|
8817
|
+
ce && ae && (J.deferred || u(ce, Q, R), c.selectionDeferId !== null && G(c.selectionDeferId), c.selectionDeferId = V(function() {
|
|
8818
|
+
c.selectionDeferId = null, u(ce, Q, R);
|
|
8819
|
+
}), c.previousSelection = { start: Q, end: R, length: Math.abs(R - Q) });
|
|
8820
8820
|
}, c.getSelection = function() {
|
|
8821
8821
|
return d(c.getInputDOMNode());
|
|
8822
8822
|
}, c.getCursorPosition = function() {
|
|
@@ -8826,32 +8826,32 @@ function Xm() {
|
|
|
8826
8826
|
}, c.isFocused = function() {
|
|
8827
8827
|
return c.focused;
|
|
8828
8828
|
}, c.getBeforeMaskedValueChangeConfig = function() {
|
|
8829
|
-
var Q = c.maskOptions,
|
|
8830
|
-
return { mask:
|
|
8831
|
-
}, c.isInputAutofilled = function(Q,
|
|
8829
|
+
var Q = c.maskOptions, R = Q.mask, J = Q.maskChar, ce = Q.permanents, ae = Q.formatChars;
|
|
8830
|
+
return { mask: R, maskChar: J, permanents: ce, alwaysShowMask: !!c.props.alwaysShowMask, formatChars: ae };
|
|
8831
|
+
}, c.isInputAutofilled = function(Q, R, J, ce) {
|
|
8832
8832
|
var ae = c.getInputDOMNode();
|
|
8833
8833
|
try {
|
|
8834
8834
|
if (ae.matches(":-webkit-autofill")) return !0;
|
|
8835
8835
|
} catch {
|
|
8836
8836
|
}
|
|
8837
|
-
return !c.focused || ce.end < J.length &&
|
|
8837
|
+
return !c.focused || ce.end < J.length && R.end === Q.length;
|
|
8838
8838
|
}, c.onChange = function(Q) {
|
|
8839
|
-
var
|
|
8840
|
-
c.isInputAutofilled(ae, fe, de, J) && (de = D(c.maskOptions, ""), J = { start: 0, end: 0, length: 0 }),
|
|
8841
|
-
var
|
|
8839
|
+
var R = s(s(c)).beforePasteState, J = s(s(c)).previousSelection, ce = c.props.beforeMaskedValueChange, ae = c.getInputValue(), de = c.value, fe = c.getSelection();
|
|
8840
|
+
c.isInputAutofilled(ae, fe, de, J) && (de = D(c.maskOptions, ""), J = { start: 0, end: 0, length: 0 }), R && (J = R.selection, de = R.value, fe = { start: J.start + ae.length, end: J.start + ae.length, length: 0 }, ae = de.slice(0, J.start) + ae + de.slice(J.end), c.beforePasteState = null);
|
|
8841
|
+
var ge = le(c.maskOptions, ae, fe, de, J), We = ge.enteredString, Le = ge.selection, Ye = ge.value;
|
|
8842
8842
|
if (K(ce)) {
|
|
8843
|
-
var Z = ce({ value: Ye, selection: Le }, { value: de, selection: J },
|
|
8843
|
+
var Z = ce({ value: Ye, selection: Le }, { value: de, selection: J }, We, c.getBeforeMaskedValueChangeConfig());
|
|
8844
8844
|
Ye = Z.value, Le = Z.selection;
|
|
8845
8845
|
}
|
|
8846
8846
|
c.setInputValue(Ye), K(c.props.onChange) && c.props.onChange(Q), c.isWindowsPhoneBrowser ? c.setSelection(Le.start, Le.end, { deferred: !0 }) : c.setSelection(Le.start, Le.end);
|
|
8847
8847
|
}, c.onFocus = function(Q) {
|
|
8848
|
-
var
|
|
8848
|
+
var R = c.props.beforeMaskedValueChange, J = c.maskOptions, ce = J.mask, ae = J.prefix;
|
|
8849
8849
|
if (c.focused = !0, c.mounted = !0, ce) {
|
|
8850
8850
|
if (c.value) T(c.maskOptions, c.value) < c.maskOptions.mask.length && c.setCursorToEnd();
|
|
8851
8851
|
else {
|
|
8852
|
-
var de = D(c.maskOptions, ae), fe = D(c.maskOptions, de),
|
|
8853
|
-
if (K(
|
|
8854
|
-
var Ye =
|
|
8852
|
+
var de = D(c.maskOptions, ae), fe = D(c.maskOptions, de), ge = T(c.maskOptions, fe), We = L(c.maskOptions, ge), Le = { start: We, end: We };
|
|
8853
|
+
if (K(R)) {
|
|
8854
|
+
var Ye = R({ value: fe, selection: Le }, { value: c.value, selection: null }, null, c.getBeforeMaskedValueChangeConfig());
|
|
8855
8855
|
fe = Ye.value, Le = Ye.selection;
|
|
8856
8856
|
}
|
|
8857
8857
|
var Z = fe !== c.getInputValue();
|
|
@@ -8861,10 +8861,10 @@ function Xm() {
|
|
|
8861
8861
|
}
|
|
8862
8862
|
K(c.props.onFocus) && c.props.onFocus(Q);
|
|
8863
8863
|
}, c.onBlur = function(Q) {
|
|
8864
|
-
var
|
|
8864
|
+
var R = c.props.beforeMaskedValueChange, J = c.maskOptions.mask;
|
|
8865
8865
|
if (c.stopSaveSelectionLoop(), c.focused = !1, J && !c.props.alwaysShowMask && C(c.maskOptions, c.value)) {
|
|
8866
8866
|
var ce = "";
|
|
8867
|
-
K(
|
|
8867
|
+
K(R) && (ce = R({ value: ce, selection: null }, { value: c.value, selection: c.previousSelection }, null, c.getBeforeMaskedValueChangeConfig()).value);
|
|
8868
8868
|
var ae = ce !== c.getInputValue();
|
|
8869
8869
|
ae && c.setInputValue(ce), ae && K(c.props.onChange) && c.props.onChange(Q);
|
|
8870
8870
|
}
|
|
@@ -8872,13 +8872,13 @@ function Xm() {
|
|
|
8872
8872
|
}, c.onMouseDown = function(Q) {
|
|
8873
8873
|
if (!c.focused && document.addEventListener) {
|
|
8874
8874
|
c.mouseDownX = Q.clientX, c.mouseDownY = Q.clientY, c.mouseDownTime = (/* @__PURE__ */ new Date()).getTime();
|
|
8875
|
-
var
|
|
8875
|
+
var R = function J(ce) {
|
|
8876
8876
|
if (document.removeEventListener("mouseup", J), c.focused) {
|
|
8877
|
-
var ae = Math.abs(ce.clientX - c.mouseDownX), de = Math.abs(ce.clientY - c.mouseDownY), fe = Math.max(ae, de),
|
|
8878
|
-
(fe <= 10 &&
|
|
8877
|
+
var ae = Math.abs(ce.clientX - c.mouseDownX), de = Math.abs(ce.clientY - c.mouseDownY), fe = Math.max(ae, de), ge = (/* @__PURE__ */ new Date()).getTime() - c.mouseDownTime;
|
|
8878
|
+
(fe <= 10 && ge <= 200 || fe <= 5 && ge <= 300) && c.setCursorToEnd();
|
|
8879
8879
|
}
|
|
8880
8880
|
};
|
|
8881
|
-
document.addEventListener("mouseup",
|
|
8881
|
+
document.addEventListener("mouseup", R);
|
|
8882
8882
|
}
|
|
8883
8883
|
K(c.props.onMouseDown) && c.props.onMouseDown(Q);
|
|
8884
8884
|
}, c.onPaste = function(Q) {
|
|
@@ -8886,29 +8886,29 @@ function Xm() {
|
|
|
8886
8886
|
}, c.handleRef = function(Q) {
|
|
8887
8887
|
c.props.children == null && K(c.props.inputRef) && c.props.inputRef(Q);
|
|
8888
8888
|
};
|
|
8889
|
-
var k = _.mask, B = _.maskChar,
|
|
8890
|
-
c.maskOptions = w(k, B,
|
|
8891
|
-
var
|
|
8892
|
-
if (c.maskOptions.mask && (
|
|
8889
|
+
var k = _.mask, B = _.maskChar, z = _.formatChars, O = _.alwaysShowMask, H = _.beforeMaskedValueChange, U = _.defaultValue, j = _.value;
|
|
8890
|
+
c.maskOptions = w(k, B, z), U == null && (U = ""), j == null && (j = U);
|
|
8891
|
+
var q = X(j);
|
|
8892
|
+
if (c.maskOptions.mask && (O || q) && (q = D(c.maskOptions, q), K(H))) {
|
|
8893
8893
|
var F = _.value;
|
|
8894
|
-
_.value == null && (F =
|
|
8894
|
+
_.value == null && (F = U), q = H({ value: q, selection: null }, { value: F = X(F), selection: null }, null, c.getBeforeMaskedValueChangeConfig()).value;
|
|
8895
8895
|
}
|
|
8896
|
-
return c.value =
|
|
8896
|
+
return c.value = q, c;
|
|
8897
8897
|
}
|
|
8898
8898
|
o(f, m);
|
|
8899
8899
|
var g = f.prototype;
|
|
8900
8900
|
return g.componentDidMount = function() {
|
|
8901
8901
|
this.mounted = !0, this.getInputDOMNode() && (this.isWindowsPhoneBrowser = ne(), this.maskOptions.mask && this.getInputValue() !== this.value && this.setInputValue(this.value));
|
|
8902
8902
|
}, g.componentDidUpdate = function() {
|
|
8903
|
-
var _ = this.previousSelection, c = this.props, k = c.beforeMaskedValueChange, B = c.alwaysShowMask,
|
|
8904
|
-
if (this.maskOptions = w(
|
|
8905
|
-
!
|
|
8906
|
-
var
|
|
8907
|
-
if (
|
|
8903
|
+
var _ = this.previousSelection, c = this.props, k = c.beforeMaskedValueChange, B = c.alwaysShowMask, z = c.mask, O = c.maskChar, H = c.formatChars, U = this.maskOptions, j = B || this.isFocused(), q = this.props.value != null, F = q ? X(this.props.value) : this.value, Q = _ ? _.start : null;
|
|
8904
|
+
if (this.maskOptions = w(z, O, H), this.maskOptions.mask) {
|
|
8905
|
+
!U.mask && this.isFocused() && this.runSaveSelectionLoop();
|
|
8906
|
+
var R = this.maskOptions.mask && this.maskOptions.mask !== U.mask;
|
|
8907
|
+
if (U.mask || q || (F = this.getInputValue()), (R || this.maskOptions.mask && (F || j)) && (F = D(this.maskOptions, F)), R) {
|
|
8908
8908
|
var J = T(this.maskOptions, F);
|
|
8909
8909
|
(Q === null || J < Q) && (Q = S(this.maskOptions, F) ? J : L(this.maskOptions, J));
|
|
8910
8910
|
}
|
|
8911
|
-
!this.maskOptions.mask || !C(this.maskOptions, F) || j ||
|
|
8911
|
+
!this.maskOptions.mask || !C(this.maskOptions, F) || j || q && this.props.value || (F = "");
|
|
8912
8912
|
var ce = { start: Q, end: Q };
|
|
8913
8913
|
if (K(k)) {
|
|
8914
8914
|
var ae = k({ value: F, selection: ce }, { value: this.value, selection: this.previousSelection }, null, this.getBeforeMaskedValueChangeConfig());
|
|
@@ -8916,21 +8916,21 @@ function Xm() {
|
|
|
8916
8916
|
}
|
|
8917
8917
|
this.value = F;
|
|
8918
8918
|
var de = this.getInputValue() !== this.value;
|
|
8919
|
-
de ? (this.setInputValue(this.value), this.forceUpdate()) :
|
|
8919
|
+
de ? (this.setInputValue(this.value), this.forceUpdate()) : R && this.forceUpdate();
|
|
8920
8920
|
var fe = !1;
|
|
8921
8921
|
ce.start != null && ce.end != null && (fe = !_ || _.start !== ce.start || _.end !== ce.end), (fe || de) && this.setSelection(ce.start, ce.end);
|
|
8922
|
-
} else
|
|
8922
|
+
} else U.mask && (this.stopSaveSelectionLoop(), this.forceUpdate());
|
|
8923
8923
|
}, g.componentWillUnmount = function() {
|
|
8924
8924
|
this.mounted = !1, this.selectionDeferId !== null && G(this.selectionDeferId), this.stopSaveSelectionLoop();
|
|
8925
8925
|
}, g.render = function() {
|
|
8926
8926
|
var _, c = this.props, k = (c.mask, c.alwaysShowMask, c.maskChar, c.formatChars, c.inputRef, c.beforeMaskedValueChange, c.children), B = i(c, ["mask", "alwaysShowMask", "maskChar", "formatChars", "inputRef", "beforeMaskedValueChange", "children"]);
|
|
8927
8927
|
if (k) {
|
|
8928
8928
|
K(k) || p(!1);
|
|
8929
|
-
var
|
|
8930
|
-
|
|
8931
|
-
return delete
|
|
8932
|
-
}), _ = k(
|
|
8933
|
-
return _.props[
|
|
8929
|
+
var z = ["onChange", "onPaste", "onMouseDown", "onFocus", "onBlur", "value", "disabled", "readOnly"], O = r({}, B);
|
|
8930
|
+
z.forEach(function(U) {
|
|
8931
|
+
return delete O[U];
|
|
8932
|
+
}), _ = k(O), z.filter(function(U) {
|
|
8933
|
+
return _.props[U] != null && _.props[U] !== B[U];
|
|
8934
8934
|
}).length && p(!1);
|
|
8935
8935
|
} else _ = a.createElement("input", r({ ref: this.handleRef }, B));
|
|
8936
8936
|
var H = { onFocus: this.onFocus, onBlur: this.onBlur };
|
|
@@ -9078,9 +9078,9 @@ function eh() {
|
|
|
9078
9078
|
lastEditablePosition: null,
|
|
9079
9079
|
permanents: []
|
|
9080
9080
|
};
|
|
9081
|
-
var
|
|
9082
|
-
return m.split("").forEach(function(
|
|
9083
|
-
!
|
|
9081
|
+
var z = !1;
|
|
9082
|
+
return m.split("").forEach(function(O) {
|
|
9083
|
+
!z && O === "\\" ? z = !0 : (z || !g[O] ? (B.push(_.length), _.length === B.length - 1 && (c += O)) : k = _.length + 1, _ += O, z = !1);
|
|
9084
9084
|
}), {
|
|
9085
9085
|
maskChar: f,
|
|
9086
9086
|
formatChars: g,
|
|
@@ -9115,8 +9115,8 @@ function eh() {
|
|
|
9115
9115
|
return f.length;
|
|
9116
9116
|
}
|
|
9117
9117
|
for (var c = _.length, k = f.length; k >= _.length; k--) {
|
|
9118
|
-
var B = f[k],
|
|
9119
|
-
if (
|
|
9118
|
+
var B = f[k], z = !b(m, k) && y(m, k, B);
|
|
9119
|
+
if (z) {
|
|
9120
9120
|
c = k + 1;
|
|
9121
9121
|
break;
|
|
9122
9122
|
}
|
|
@@ -9142,44 +9142,44 @@ function eh() {
|
|
|
9142
9142
|
return f;
|
|
9143
9143
|
}
|
|
9144
9144
|
function x(m, f, g, _) {
|
|
9145
|
-
var c = g + _, k = m.maskChar, B = m.mask,
|
|
9145
|
+
var c = g + _, k = m.maskChar, B = m.mask, z = m.prefix, O = f.split("");
|
|
9146
9146
|
if (!k) {
|
|
9147
|
-
for (var H = c; H <
|
|
9148
|
-
b(m, H) && (
|
|
9149
|
-
return g = Math.max(
|
|
9147
|
+
for (var H = c; H < O.length; H++)
|
|
9148
|
+
b(m, H) && (O[H] = "");
|
|
9149
|
+
return g = Math.max(z.length, g), O.splice(g, c - g), f = O.join(""), D(m, f);
|
|
9150
9150
|
}
|
|
9151
|
-
return
|
|
9152
|
-
return j < g || j >= c ?
|
|
9151
|
+
return O.map(function(U, j) {
|
|
9152
|
+
return j < g || j >= c ? U : b(m, j) ? B[j] : k;
|
|
9153
9153
|
}).join("");
|
|
9154
9154
|
}
|
|
9155
9155
|
function A(m, f, g, _) {
|
|
9156
|
-
var c = m.mask, k = m.maskChar, B = m.prefix,
|
|
9157
|
-
return !b(m,
|
|
9158
|
-
},
|
|
9159
|
-
return !k || !b(m, F) ||
|
|
9156
|
+
var c = m.mask, k = m.maskChar, B = m.prefix, z = g.split(""), O = S(m, f), H = function(q, F) {
|
|
9157
|
+
return !b(m, q) || F === c[q];
|
|
9158
|
+
}, U = function(q, F) {
|
|
9159
|
+
return !k || !b(m, F) || q !== k;
|
|
9160
9160
|
};
|
|
9161
|
-
return !k && _ > f.length && (f += c.slice(f.length, _)),
|
|
9161
|
+
return !k && _ > f.length && (f += c.slice(f.length, _)), z.every(function(j) {
|
|
9162
9162
|
for (; !H(_, j); ) {
|
|
9163
|
-
if (_ >= f.length && (f += c[_]), !
|
|
9163
|
+
if (_ >= f.length && (f += c[_]), !U(j, _))
|
|
9164
9164
|
return !0;
|
|
9165
9165
|
if (_++, _ >= c.length)
|
|
9166
9166
|
return !1;
|
|
9167
9167
|
}
|
|
9168
|
-
var
|
|
9169
|
-
return
|
|
9168
|
+
var q = y(m, _, j) || j === k;
|
|
9169
|
+
return q ? (_ < f.length ? k || O || _ < B.length ? f = f.slice(0, _) + j + f.slice(_ + 1) : (f = f.slice(0, _) + j + f.slice(_), f = D(m, f)) : k || (f += j), _++, _ < c.length) : !0;
|
|
9170
9170
|
}), f;
|
|
9171
9171
|
}
|
|
9172
9172
|
function Y(m, f, g, _) {
|
|
9173
|
-
var c = m.mask, k = m.maskChar, B = g.split(""),
|
|
9174
|
-
return !b(m,
|
|
9173
|
+
var c = m.mask, k = m.maskChar, B = g.split(""), z = _, O = function(U, j) {
|
|
9174
|
+
return !b(m, U) || j === c[U];
|
|
9175
9175
|
};
|
|
9176
9176
|
return B.every(function(H) {
|
|
9177
|
-
for (; !
|
|
9177
|
+
for (; !O(_, H); )
|
|
9178
9178
|
if (_++, _ >= c.length)
|
|
9179
9179
|
return !1;
|
|
9180
|
-
var
|
|
9181
|
-
return
|
|
9182
|
-
}), _ -
|
|
9180
|
+
var U = y(m, _, H) || H === k;
|
|
9181
|
+
return U && _++, _ < c.length;
|
|
9182
|
+
}), _ - z;
|
|
9183
9183
|
}
|
|
9184
9184
|
function P(m, f) {
|
|
9185
9185
|
for (var g = f; g >= 0; --g)
|
|
@@ -9197,20 +9197,20 @@ function eh() {
|
|
|
9197
9197
|
return !m && m !== 0 ? "" : m + "";
|
|
9198
9198
|
}
|
|
9199
9199
|
function le(m, f, g, _, c) {
|
|
9200
|
-
var k = m.mask, B = m.prefix,
|
|
9201
|
-
if (g.end > c.start ? (H =
|
|
9200
|
+
var k = m.mask, B = m.prefix, z = m.lastEditablePosition, O = f, H = "", U = 0, j = 0, q = Math.min(c.start, g.start);
|
|
9201
|
+
if (g.end > c.start ? (H = O.slice(c.start, g.end), U = Y(m, _, H, q), U ? j = c.length : j = 0) : O.length < _.length && (j = _.length - O.length), O = _, j) {
|
|
9202
9202
|
if (j === 1 && !c.length) {
|
|
9203
9203
|
var F = c.start === g.start;
|
|
9204
|
-
|
|
9204
|
+
q = F ? L(m, g.start) : P(m, g.start);
|
|
9205
9205
|
}
|
|
9206
|
-
|
|
9206
|
+
O = x(m, O, q, j);
|
|
9207
9207
|
}
|
|
9208
|
-
return
|
|
9209
|
-
value:
|
|
9208
|
+
return O = A(m, O, H, q), q = q + U, q >= k.length ? q = k.length : q < B.length && !U ? q = B.length : q >= B.length && q < z && U && (q = L(m, q)), O = D(m, O), H || (H = null), {
|
|
9209
|
+
value: O,
|
|
9210
9210
|
enteredString: H,
|
|
9211
9211
|
selection: {
|
|
9212
|
-
start:
|
|
9213
|
-
end:
|
|
9212
|
+
start: q,
|
|
9213
|
+
end: q
|
|
9214
9214
|
}
|
|
9215
9215
|
};
|
|
9216
9216
|
}
|
|
@@ -9227,7 +9227,7 @@ function eh() {
|
|
|
9227
9227
|
function W() {
|
|
9228
9228
|
return window.cancelAnimationFrame || window.webkitCancelRequestAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame;
|
|
9229
9229
|
}
|
|
9230
|
-
function
|
|
9230
|
+
function V(m) {
|
|
9231
9231
|
var f = !!W(), g;
|
|
9232
9232
|
return f ? g = te() : g = function() {
|
|
9233
9233
|
return setTimeout(m, 1e3 / 60);
|
|
@@ -9242,7 +9242,7 @@ function eh() {
|
|
|
9242
9242
|
function f(_) {
|
|
9243
9243
|
var c;
|
|
9244
9244
|
c = m.call(this, _) || this, c.focused = !1, c.mounted = !1, c.previousSelection = null, c.selectionDeferId = null, c.saveSelectionLoopDeferId = null, c.saveSelectionLoop = function() {
|
|
9245
|
-
c.previousSelection = c.getSelection(), c.saveSelectionLoopDeferId =
|
|
9245
|
+
c.previousSelection = c.getSelection(), c.saveSelectionLoopDeferId = V(c.saveSelectionLoop);
|
|
9246
9246
|
}, c.runSaveSelectionLoop = function() {
|
|
9247
9247
|
c.saveSelectionLoopDeferId === null && c.saveSelectionLoop();
|
|
9248
9248
|
}, c.stopSaveSelectionLoop = function() {
|
|
@@ -9250,45 +9250,45 @@ function eh() {
|
|
|
9250
9250
|
}, c.getInputDOMNode = function() {
|
|
9251
9251
|
if (!c.mounted)
|
|
9252
9252
|
return null;
|
|
9253
|
-
var
|
|
9254
|
-
if (
|
|
9253
|
+
var R = t.findDOMNode(p(p(c))), J = typeof window < "u" && R instanceof window.Element;
|
|
9254
|
+
if (R && !J)
|
|
9255
9255
|
return null;
|
|
9256
|
-
if (
|
|
9256
|
+
if (R.nodeName !== "INPUT" && (R = R.querySelector("input")), !R)
|
|
9257
9257
|
throw new Error("react-input-mask: inputComponent doesn't contain input node");
|
|
9258
|
-
return
|
|
9258
|
+
return R;
|
|
9259
9259
|
}, c.getInputValue = function() {
|
|
9260
|
-
var
|
|
9261
|
-
return
|
|
9262
|
-
}, c.setInputValue = function(
|
|
9260
|
+
var R = c.getInputDOMNode();
|
|
9261
|
+
return R ? R.value : null;
|
|
9262
|
+
}, c.setInputValue = function(R) {
|
|
9263
9263
|
var J = c.getInputDOMNode();
|
|
9264
|
-
J && (c.value =
|
|
9264
|
+
J && (c.value = R, J.value = R);
|
|
9265
9265
|
}, c.setCursorToEnd = function() {
|
|
9266
|
-
var
|
|
9266
|
+
var R = T(c.maskOptions, c.value), J = L(c.maskOptions, R);
|
|
9267
9267
|
J !== null && c.setCursorPosition(J);
|
|
9268
|
-
}, c.setSelection = function(
|
|
9268
|
+
}, c.setSelection = function(R, J, ce) {
|
|
9269
9269
|
ce === void 0 && (ce = {});
|
|
9270
9270
|
var ae = c.getInputDOMNode(), de = c.isFocused();
|
|
9271
9271
|
if (!(!ae || !de)) {
|
|
9272
|
-
var fe = ce,
|
|
9273
|
-
|
|
9274
|
-
c.selectionDeferId = null, u(ae,
|
|
9272
|
+
var fe = ce, ge = fe.deferred;
|
|
9273
|
+
ge || u(ae, R, J), c.selectionDeferId !== null && G(c.selectionDeferId), c.selectionDeferId = V(function() {
|
|
9274
|
+
c.selectionDeferId = null, u(ae, R, J);
|
|
9275
9275
|
}), c.previousSelection = {
|
|
9276
|
-
start:
|
|
9276
|
+
start: R,
|
|
9277
9277
|
end: J,
|
|
9278
|
-
length: Math.abs(J -
|
|
9278
|
+
length: Math.abs(J - R)
|
|
9279
9279
|
};
|
|
9280
9280
|
}
|
|
9281
9281
|
}, c.getSelection = function() {
|
|
9282
|
-
var
|
|
9283
|
-
return d(
|
|
9282
|
+
var R = c.getInputDOMNode();
|
|
9283
|
+
return d(R);
|
|
9284
9284
|
}, c.getCursorPosition = function() {
|
|
9285
9285
|
return c.getSelection().start;
|
|
9286
|
-
}, c.setCursorPosition = function(
|
|
9287
|
-
c.setSelection(
|
|
9286
|
+
}, c.setCursorPosition = function(R) {
|
|
9287
|
+
c.setSelection(R, R);
|
|
9288
9288
|
}, c.isFocused = function() {
|
|
9289
9289
|
return c.focused;
|
|
9290
9290
|
}, c.getBeforeMaskedValueChangeConfig = function() {
|
|
9291
|
-
var
|
|
9291
|
+
var R = c.maskOptions, J = R.mask, ce = R.maskChar, ae = R.permanents, de = R.formatChars, fe = c.props.alwaysShowMask;
|
|
9292
9292
|
return {
|
|
9293
9293
|
mask: J,
|
|
9294
9294
|
maskChar: ce,
|
|
@@ -9296,66 +9296,66 @@ function eh() {
|
|
|
9296
9296
|
alwaysShowMask: !!fe,
|
|
9297
9297
|
formatChars: de
|
|
9298
9298
|
};
|
|
9299
|
-
}, c.isInputAutofilled = function(
|
|
9299
|
+
}, c.isInputAutofilled = function(R, J, ce, ae) {
|
|
9300
9300
|
var de = c.getInputDOMNode();
|
|
9301
9301
|
try {
|
|
9302
9302
|
if (de.matches(":-webkit-autofill"))
|
|
9303
9303
|
return !0;
|
|
9304
9304
|
} catch {
|
|
9305
9305
|
}
|
|
9306
|
-
return c.focused ? ae.end < ce.length && J.end ===
|
|
9307
|
-
}, c.onChange = function(
|
|
9308
|
-
var J = p(p(c)), ce = J.beforePasteState, ae = p(p(c)), de = ae.previousSelection, fe = c.props.beforeMaskedValueChange,
|
|
9309
|
-
c.isInputAutofilled(
|
|
9306
|
+
return c.focused ? ae.end < ce.length && J.end === R.length : !0;
|
|
9307
|
+
}, c.onChange = function(R) {
|
|
9308
|
+
var J = p(p(c)), ce = J.beforePasteState, ae = p(p(c)), de = ae.previousSelection, fe = c.props.beforeMaskedValueChange, ge = c.getInputValue(), We = c.value, Le = c.getSelection();
|
|
9309
|
+
c.isInputAutofilled(ge, Le, We, de) && (We = D(c.maskOptions, ""), de = {
|
|
9310
9310
|
start: 0,
|
|
9311
9311
|
end: 0,
|
|
9312
9312
|
length: 0
|
|
9313
|
-
}), ce && (de = ce.selection,
|
|
9314
|
-
start: de.start +
|
|
9315
|
-
end: de.start +
|
|
9313
|
+
}), ce && (de = ce.selection, We = ce.value, Le = {
|
|
9314
|
+
start: de.start + ge.length,
|
|
9315
|
+
end: de.start + ge.length,
|
|
9316
9316
|
length: 0
|
|
9317
|
-
},
|
|
9318
|
-
var Ye = le(c.maskOptions,
|
|
9317
|
+
}, ge = We.slice(0, de.start) + ge + We.slice(de.end), c.beforePasteState = null);
|
|
9318
|
+
var Ye = le(c.maskOptions, ge, Le, We, de), Z = Ye.enteredString, ie = Ye.selection, Me = Ye.value;
|
|
9319
9319
|
if (K(fe)) {
|
|
9320
9320
|
var Pe = fe({
|
|
9321
9321
|
value: Me,
|
|
9322
9322
|
selection: ie
|
|
9323
9323
|
}, {
|
|
9324
|
-
value:
|
|
9324
|
+
value: We,
|
|
9325
9325
|
selection: de
|
|
9326
9326
|
}, Z, c.getBeforeMaskedValueChangeConfig());
|
|
9327
9327
|
Me = Pe.value, ie = Pe.selection;
|
|
9328
9328
|
}
|
|
9329
|
-
c.setInputValue(Me), K(c.props.onChange) && c.props.onChange(
|
|
9329
|
+
c.setInputValue(Me), K(c.props.onChange) && c.props.onChange(R), c.isWindowsPhoneBrowser ? c.setSelection(ie.start, ie.end, {
|
|
9330
9330
|
deferred: !0
|
|
9331
9331
|
}) : c.setSelection(ie.start, ie.end);
|
|
9332
|
-
}, c.onFocus = function(
|
|
9332
|
+
}, c.onFocus = function(R) {
|
|
9333
9333
|
var J = c.props.beforeMaskedValueChange, ce = c.maskOptions, ae = ce.mask, de = ce.prefix;
|
|
9334
9334
|
if (c.focused = !0, c.mounted = !0, ae) {
|
|
9335
9335
|
if (c.value)
|
|
9336
9336
|
T(c.maskOptions, c.value) < c.maskOptions.mask.length && c.setCursorToEnd();
|
|
9337
9337
|
else {
|
|
9338
|
-
var fe = D(c.maskOptions, de),
|
|
9338
|
+
var fe = D(c.maskOptions, de), ge = D(c.maskOptions, fe), We = T(c.maskOptions, ge), Le = L(c.maskOptions, We), Ye = {
|
|
9339
9339
|
start: Le,
|
|
9340
9340
|
end: Le
|
|
9341
9341
|
};
|
|
9342
9342
|
if (K(J)) {
|
|
9343
9343
|
var Z = J({
|
|
9344
|
-
value:
|
|
9344
|
+
value: ge,
|
|
9345
9345
|
selection: Ye
|
|
9346
9346
|
}, {
|
|
9347
9347
|
value: c.value,
|
|
9348
9348
|
selection: null
|
|
9349
9349
|
}, null, c.getBeforeMaskedValueChangeConfig());
|
|
9350
|
-
|
|
9350
|
+
ge = Z.value, Ye = Z.selection;
|
|
9351
9351
|
}
|
|
9352
|
-
var ie =
|
|
9353
|
-
ie && c.setInputValue(
|
|
9352
|
+
var ie = ge !== c.getInputValue();
|
|
9353
|
+
ie && c.setInputValue(ge), ie && K(c.props.onChange) && c.props.onChange(R), c.setSelection(Ye.start, Ye.end);
|
|
9354
9354
|
}
|
|
9355
9355
|
c.runSaveSelectionLoop();
|
|
9356
9356
|
}
|
|
9357
|
-
K(c.props.onFocus) && c.props.onFocus(
|
|
9358
|
-
}, c.onBlur = function(
|
|
9357
|
+
K(c.props.onFocus) && c.props.onFocus(R);
|
|
9358
|
+
}, c.onBlur = function(R) {
|
|
9359
9359
|
var J = c.props.beforeMaskedValueChange, ce = c.maskOptions.mask;
|
|
9360
9360
|
if (c.stopSaveSelectionLoop(), c.focused = !1, ce && !c.props.alwaysShowMask && C(c.maskOptions, c.value)) {
|
|
9361
9361
|
var ae = "";
|
|
@@ -9370,66 +9370,66 @@ function eh() {
|
|
|
9370
9370
|
ae = de.value;
|
|
9371
9371
|
}
|
|
9372
9372
|
var fe = ae !== c.getInputValue();
|
|
9373
|
-
fe && c.setInputValue(ae), fe && K(c.props.onChange) && c.props.onChange(
|
|
9373
|
+
fe && c.setInputValue(ae), fe && K(c.props.onChange) && c.props.onChange(R);
|
|
9374
9374
|
}
|
|
9375
|
-
K(c.props.onBlur) && c.props.onBlur(
|
|
9376
|
-
}, c.onMouseDown = function(
|
|
9375
|
+
K(c.props.onBlur) && c.props.onBlur(R);
|
|
9376
|
+
}, c.onMouseDown = function(R) {
|
|
9377
9377
|
if (!c.focused && document.addEventListener) {
|
|
9378
|
-
c.mouseDownX =
|
|
9378
|
+
c.mouseDownX = R.clientX, c.mouseDownY = R.clientY, c.mouseDownTime = (/* @__PURE__ */ new Date()).getTime();
|
|
9379
9379
|
var J = function ce(ae) {
|
|
9380
9380
|
if (document.removeEventListener("mouseup", ce), !!c.focused) {
|
|
9381
|
-
var de = Math.abs(ae.clientX - c.mouseDownX), fe = Math.abs(ae.clientY - c.mouseDownY),
|
|
9382
|
-
(
|
|
9381
|
+
var de = Math.abs(ae.clientX - c.mouseDownX), fe = Math.abs(ae.clientY - c.mouseDownY), ge = Math.max(de, fe), We = (/* @__PURE__ */ new Date()).getTime() - c.mouseDownTime;
|
|
9382
|
+
(ge <= 10 && We <= 200 || ge <= 5 && We <= 300) && c.setCursorToEnd();
|
|
9383
9383
|
}
|
|
9384
9384
|
};
|
|
9385
9385
|
document.addEventListener("mouseup", J);
|
|
9386
9386
|
}
|
|
9387
|
-
K(c.props.onMouseDown) && c.props.onMouseDown(
|
|
9388
|
-
}, c.onPaste = function(
|
|
9389
|
-
K(c.props.onPaste) && c.props.onPaste(
|
|
9387
|
+
K(c.props.onMouseDown) && c.props.onMouseDown(R);
|
|
9388
|
+
}, c.onPaste = function(R) {
|
|
9389
|
+
K(c.props.onPaste) && c.props.onPaste(R), R.defaultPrevented || (c.beforePasteState = {
|
|
9390
9390
|
value: c.getInputValue(),
|
|
9391
9391
|
selection: c.getSelection()
|
|
9392
9392
|
}, c.setInputValue(""));
|
|
9393
|
-
}, c.handleRef = function(
|
|
9394
|
-
c.props.children == null && K(c.props.inputRef) && c.props.inputRef(
|
|
9393
|
+
}, c.handleRef = function(R) {
|
|
9394
|
+
c.props.children == null && K(c.props.inputRef) && c.props.inputRef(R);
|
|
9395
9395
|
};
|
|
9396
|
-
var k = _.mask, B = _.maskChar,
|
|
9397
|
-
c.maskOptions = w(k, B,
|
|
9398
|
-
var
|
|
9399
|
-
if (c.maskOptions.mask && (
|
|
9396
|
+
var k = _.mask, B = _.maskChar, z = _.formatChars, O = _.alwaysShowMask, H = _.beforeMaskedValueChange, U = _.defaultValue, j = _.value;
|
|
9397
|
+
c.maskOptions = w(k, B, z), U == null && (U = ""), j == null && (j = U);
|
|
9398
|
+
var q = X(j);
|
|
9399
|
+
if (c.maskOptions.mask && (O || q) && (q = D(c.maskOptions, q), K(H))) {
|
|
9400
9400
|
var F = _.value;
|
|
9401
|
-
_.value == null && (F =
|
|
9401
|
+
_.value == null && (F = U), F = X(F);
|
|
9402
9402
|
var Q = H({
|
|
9403
|
-
value:
|
|
9403
|
+
value: q,
|
|
9404
9404
|
selection: null
|
|
9405
9405
|
}, {
|
|
9406
9406
|
value: F,
|
|
9407
9407
|
selection: null
|
|
9408
9408
|
}, null, c.getBeforeMaskedValueChangeConfig());
|
|
9409
|
-
|
|
9409
|
+
q = Q.value;
|
|
9410
9410
|
}
|
|
9411
|
-
return c.value =
|
|
9411
|
+
return c.value = q, c;
|
|
9412
9412
|
}
|
|
9413
9413
|
var g = f.prototype;
|
|
9414
9414
|
return g.componentDidMount = function() {
|
|
9415
9415
|
this.mounted = !0, this.getInputDOMNode() && (this.isWindowsPhoneBrowser = ne(), this.maskOptions.mask && this.getInputValue() !== this.value && this.setInputValue(this.value));
|
|
9416
9416
|
}, g.componentDidUpdate = function() {
|
|
9417
|
-
var c = this.previousSelection, k = this.props, B = k.beforeMaskedValueChange,
|
|
9418
|
-
if (this.maskOptions = w(
|
|
9417
|
+
var c = this.previousSelection, k = this.props, B = k.beforeMaskedValueChange, z = k.alwaysShowMask, O = k.mask, H = k.maskChar, U = k.formatChars, j = this.maskOptions, q = z || this.isFocused(), F = this.props.value != null, Q = F ? X(this.props.value) : this.value, R = c ? c.start : null;
|
|
9418
|
+
if (this.maskOptions = w(O, H, U), this.maskOptions.mask)
|
|
9419
9419
|
!j.mask && this.isFocused() && this.runSaveSelectionLoop();
|
|
9420
9420
|
else {
|
|
9421
9421
|
j.mask && (this.stopSaveSelectionLoop(), this.forceUpdate());
|
|
9422
9422
|
return;
|
|
9423
9423
|
}
|
|
9424
9424
|
var J = this.maskOptions.mask && this.maskOptions.mask !== j.mask;
|
|
9425
|
-
if (!j.mask && !F && (Q = this.getInputValue()), (J || this.maskOptions.mask && (Q ||
|
|
9425
|
+
if (!j.mask && !F && (Q = this.getInputValue()), (J || this.maskOptions.mask && (Q || q)) && (Q = D(this.maskOptions, Q)), J) {
|
|
9426
9426
|
var ce = T(this.maskOptions, Q);
|
|
9427
|
-
(
|
|
9427
|
+
(R === null || ce < R) && (S(this.maskOptions, Q) ? R = ce : R = L(this.maskOptions, ce));
|
|
9428
9428
|
}
|
|
9429
|
-
this.maskOptions.mask && C(this.maskOptions, Q) && !
|
|
9429
|
+
this.maskOptions.mask && C(this.maskOptions, Q) && !q && (!F || !this.props.value) && (Q = "");
|
|
9430
9430
|
var ae = {
|
|
9431
|
-
start:
|
|
9432
|
-
end:
|
|
9431
|
+
start: R,
|
|
9432
|
+
end: R
|
|
9433
9433
|
};
|
|
9434
9434
|
if (K(B)) {
|
|
9435
9435
|
var de = B({
|
|
@@ -9444,40 +9444,40 @@ function eh() {
|
|
|
9444
9444
|
this.value = Q;
|
|
9445
9445
|
var fe = this.getInputValue() !== this.value;
|
|
9446
9446
|
fe ? (this.setInputValue(this.value), this.forceUpdate()) : J && this.forceUpdate();
|
|
9447
|
-
var
|
|
9448
|
-
ae.start != null && ae.end != null && (
|
|
9447
|
+
var ge = !1;
|
|
9448
|
+
ae.start != null && ae.end != null && (ge = !c || c.start !== ae.start || c.end !== ae.end), (ge || fe) && this.setSelection(ae.start, ae.end);
|
|
9449
9449
|
}, g.componentWillUnmount = function() {
|
|
9450
9450
|
this.mounted = !1, this.selectionDeferId !== null && G(this.selectionDeferId), this.stopSaveSelectionLoop();
|
|
9451
9451
|
}, g.render = function() {
|
|
9452
9452
|
var c = this.props, k = c.mask;
|
|
9453
9453
|
c.alwaysShowMask;
|
|
9454
|
-
var B = c.maskChar,
|
|
9454
|
+
var B = c.maskChar, z = c.formatChars, O = c.inputRef;
|
|
9455
9455
|
c.beforeMaskedValueChange;
|
|
9456
|
-
var H = c.children,
|
|
9456
|
+
var H = c.children, U = l(c, ["mask", "alwaysShowMask", "maskChar", "formatChars", "inputRef", "beforeMaskedValueChange", "children"]), j;
|
|
9457
9457
|
if (process.env.NODE_ENV !== "production" && r(
|
|
9458
9458
|
// parse mask to test against actual mask prop as this.maskOptions
|
|
9459
9459
|
// will be updated later in componentDidUpdate
|
|
9460
|
-
!
|
|
9460
|
+
!U.maxLength || !w(k, B, z).mask,
|
|
9461
9461
|
"react-input-mask: maxLength property shouldn't be passed to the masked input. It breaks masking and unnecessary because length is limited by the mask length."
|
|
9462
9462
|
), H) {
|
|
9463
9463
|
K(H) || (process.env.NODE_ENV !== "production" ? e(!1, "react-input-mask: children must be a function") : e(!1));
|
|
9464
|
-
var
|
|
9465
|
-
|
|
9464
|
+
var q = ["onChange", "onPaste", "onMouseDown", "onFocus", "onBlur", "value", "disabled", "readOnly"], F = i({}, U);
|
|
9465
|
+
q.forEach(function(J) {
|
|
9466
9466
|
return delete F[J];
|
|
9467
9467
|
}), j = H(F);
|
|
9468
|
-
var Q =
|
|
9469
|
-
return j.props[J] != null && j.props[J] !==
|
|
9468
|
+
var Q = q.filter(function(J) {
|
|
9469
|
+
return j.props[J] != null && j.props[J] !== U[J];
|
|
9470
9470
|
});
|
|
9471
|
-
Q.length && (process.env.NODE_ENV !== "production" ? e(!1, "react-input-mask: the following props should be passed to the react-input-mask's component and should not be altered in children's function: " + Q.join(", ")) : e(!1)), process.env.NODE_ENV !== "production" && r(!
|
|
9471
|
+
Q.length && (process.env.NODE_ENV !== "production" ? e(!1, "react-input-mask: the following props should be passed to the react-input-mask's component and should not be altered in children's function: " + Q.join(", ")) : e(!1)), process.env.NODE_ENV !== "production" && r(!O, "react-input-mask: inputRef is ignored when children is passed, attach ref to the children instead");
|
|
9472
9472
|
} else
|
|
9473
9473
|
j = a.createElement("input", i({
|
|
9474
9474
|
ref: this.handleRef
|
|
9475
|
-
},
|
|
9476
|
-
var
|
|
9475
|
+
}, U));
|
|
9476
|
+
var R = {
|
|
9477
9477
|
onFocus: this.onFocus,
|
|
9478
9478
|
onBlur: this.onBlur
|
|
9479
9479
|
};
|
|
9480
|
-
return this.maskOptions.mask && (!
|
|
9480
|
+
return this.maskOptions.mask && (!U.disabled && !U.readOnly && (R.onChange = this.onChange, R.onPaste = this.onPaste, R.onMouseDown = this.onMouseDown), U.value != null && (R.value = this.value)), j = a.cloneElement(j, R), j;
|
|
9481
9481
|
}, f;
|
|
9482
9482
|
}(a.Component);
|
|
9483
9483
|
return Jr = $, Jr;
|
|
@@ -9514,7 +9514,7 @@ const ss = /* @__PURE__ */ Va(th), nh = "_datepickerInput_e80nk_43", rh = "_date
|
|
|
9514
9514
|
focused: b,
|
|
9515
9515
|
changed: y,
|
|
9516
9516
|
classNameRoot: C
|
|
9517
|
-
} = n, [T, S] = Ce(!1), D =
|
|
9517
|
+
} = n, [T, S] = Ce(!1), D = Ae(null);
|
|
9518
9518
|
Na(
|
|
9519
9519
|
[D],
|
|
9520
9520
|
() => {
|
|
@@ -9592,7 +9592,7 @@ const ss = /* @__PURE__ */ Va(th), nh = "_datepickerInput_e80nk_43", rh = "_date
|
|
|
9592
9592
|
);
|
|
9593
9593
|
});
|
|
9594
9594
|
ls.displayName = "DatePickerInput";
|
|
9595
|
-
const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__tooltip_1mq16_62", vh = "_spLabel__required_1mq16_69",
|
|
9595
|
+
const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__tooltip_1mq16_62", vh = "_spLabel__required_1mq16_69", Un = {
|
|
9596
9596
|
spLabel: fh,
|
|
9597
9597
|
spLabel__text: mh,
|
|
9598
9598
|
spLabel__tooltip: hh,
|
|
@@ -9606,14 +9606,14 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9606
9606
|
classNameRoot: o,
|
|
9607
9607
|
classNameBaseTooltipRoot: i
|
|
9608
9608
|
} = n, s = E({
|
|
9609
|
-
[
|
|
9609
|
+
[Un.spLabel]: !0,
|
|
9610
9610
|
...o && { [o]: !0 }
|
|
9611
9611
|
}), l = E({
|
|
9612
|
-
[
|
|
9612
|
+
[Un.spLabel__text]: !0
|
|
9613
9613
|
}), p = E({
|
|
9614
|
-
[
|
|
9614
|
+
[Un.spLabel__required]: a
|
|
9615
9615
|
}), u = E({
|
|
9616
|
-
[
|
|
9616
|
+
[Un.spLabel__tooltip]: !0
|
|
9617
9617
|
});
|
|
9618
9618
|
return /* @__PURE__ */ ue("div", { className: s, children: [
|
|
9619
9619
|
/* @__PURE__ */ M("label", { className: l, children: t }),
|
|
@@ -9629,7 +9629,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9629
9629
|
}
|
|
9630
9630
|
)
|
|
9631
9631
|
] });
|
|
9632
|
-
}, _h = "_datePicker_1ejft_43", gh = "_datePicker_relative_1ejft_49", wh = "_datePicker__customHeader_1ejft_52", bh = "_datePicker__navigationWrapper_1ejft_57", yh = "_datePicker__navigation_1ejft_57", xh = "_datePicker__navigation_previous_1ejft_69", kh = "_datePicker__footer_1ejft_72", Dh = "_datePicker__footerActions_1ejft_77", Ch = "_datePicker__footerActions_clear_1ejft_82", Sh = "_datePicker__footerActions_done_1ejft_85", Mh = "_datePicker__customContainer_1ejft_88",
|
|
9632
|
+
}, _h = "_datePicker_1ejft_43", gh = "_datePicker_relative_1ejft_49", wh = "_datePicker__customHeader_1ejft_52", bh = "_datePicker__navigationWrapper_1ejft_57", yh = "_datePicker__navigation_1ejft_57", xh = "_datePicker__navigation_previous_1ejft_69", kh = "_datePicker__footer_1ejft_72", Dh = "_datePicker__footerActions_1ejft_77", Ch = "_datePicker__footerActions_clear_1ejft_82", Sh = "_datePicker__footerActions_done_1ejft_85", Mh = "_datePicker__customContainer_1ejft_88", Be = {
|
|
9633
9633
|
datePicker: _h,
|
|
9634
9634
|
datePicker_relative: gh,
|
|
9635
9635
|
datePicker__customHeader: wh,
|
|
@@ -9641,7 +9641,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9641
9641
|
datePicker__footerActions_clear: Ch,
|
|
9642
9642
|
datePicker__footerActions_done: Sh,
|
|
9643
9643
|
datePicker__customContainer: Mh
|
|
9644
|
-
},
|
|
9644
|
+
}, Cw = (n) => {
|
|
9645
9645
|
const {
|
|
9646
9646
|
variant: a = "outlined",
|
|
9647
9647
|
size: t = "lg",
|
|
@@ -9674,41 +9674,41 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9674
9674
|
maxDate: K,
|
|
9675
9675
|
classNameRoot: te,
|
|
9676
9676
|
classNameDatePickerInputRoot: W,
|
|
9677
|
-
classNameLabel:
|
|
9677
|
+
classNameLabel: V,
|
|
9678
9678
|
classNameBaseTooltipRoot: G
|
|
9679
9679
|
} = n, [$, m] = Ce(!1), [f, g] = Ce(y), _ = () => {
|
|
9680
9680
|
C && C(), A && A(), m(!0);
|
|
9681
9681
|
}, c = () => {
|
|
9682
9682
|
T && T(), x && x(), m(!1);
|
|
9683
|
-
}, k = (
|
|
9684
|
-
D && Y && D({ name: Y, value:
|
|
9685
|
-
}, B = (
|
|
9686
|
-
p && k(
|
|
9687
|
-
},
|
|
9688
|
-
[
|
|
9689
|
-
[
|
|
9690
|
-
[
|
|
9691
|
-
[
|
|
9692
|
-
[
|
|
9683
|
+
}, k = (R, J) => {
|
|
9684
|
+
D && Y && D({ name: Y, value: R });
|
|
9685
|
+
}, B = (R) => {
|
|
9686
|
+
p && k(R), g(R);
|
|
9687
|
+
}, z = E({
|
|
9688
|
+
[Be.datePicker]: !0,
|
|
9689
|
+
[Be.datePicker_size]: t,
|
|
9690
|
+
[Be.datePicker_active]: !!b,
|
|
9691
|
+
[Be.datePicker_error]: !!v,
|
|
9692
|
+
[Be.datePicker_relative]: l,
|
|
9693
9693
|
...te && { [te]: !0 }
|
|
9694
|
-
}),
|
|
9695
|
-
[
|
|
9694
|
+
}), O = Ae(null), H = E({
|
|
9695
|
+
[Be.datePicker__customInput]: !0,
|
|
9696
9696
|
...W && { [W]: !0 }
|
|
9697
|
-
}),
|
|
9698
|
-
[
|
|
9699
|
-
...
|
|
9697
|
+
}), U = E({
|
|
9698
|
+
[Be.datePicker__label]: !0,
|
|
9699
|
+
...V && { [V]: !0 }
|
|
9700
9700
|
}), j = E({
|
|
9701
|
-
[
|
|
9702
|
-
}),
|
|
9703
|
-
|
|
9704
|
-
}, F = (
|
|
9705
|
-
|
|
9701
|
+
[Be.datePicker__error]: !0
|
|
9702
|
+
}), q = (R) => {
|
|
9703
|
+
R.preventDefault(), R.stopPropagation(), k(null), g(null), O.current && O.current.setOpen(!1), c();
|
|
9704
|
+
}, F = (R) => {
|
|
9705
|
+
R.preventDefault(), R.stopPropagation(), O.current && O.current.setOpen(!1), k(f), c();
|
|
9706
9706
|
};
|
|
9707
|
-
return /* @__PURE__ */ ue("div", { onMouseEnter: L, className:
|
|
9707
|
+
return /* @__PURE__ */ ue("div", { onMouseEnter: L, className: z, children: [
|
|
9708
9708
|
w && /* @__PURE__ */ M(
|
|
9709
9709
|
Pr,
|
|
9710
9710
|
{
|
|
9711
|
-
classNameRoot:
|
|
9711
|
+
classNameRoot: U,
|
|
9712
9712
|
tooltipPosition: le,
|
|
9713
9713
|
required: h,
|
|
9714
9714
|
label: w,
|
|
@@ -9721,7 +9721,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9721
9721
|
{
|
|
9722
9722
|
disabledKeyboardNavigation: !f,
|
|
9723
9723
|
onSelect: B,
|
|
9724
|
-
ref:
|
|
9724
|
+
ref: O,
|
|
9725
9725
|
closeOnScroll: u,
|
|
9726
9726
|
shouldCloseOnSelect: p,
|
|
9727
9727
|
minDate: ne,
|
|
@@ -9738,49 +9738,49 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9738
9738
|
value: b,
|
|
9739
9739
|
disabled: d,
|
|
9740
9740
|
renderCustomHeader: ({
|
|
9741
|
-
monthDate:
|
|
9741
|
+
monthDate: R,
|
|
9742
9742
|
decreaseMonth: J,
|
|
9743
9743
|
increaseMonth: ce
|
|
9744
9744
|
}) => {
|
|
9745
|
-
const ae =
|
|
9745
|
+
const ae = R.toLocaleString("ru-RU", {
|
|
9746
9746
|
month: "short"
|
|
9747
|
-
}), de =
|
|
9748
|
-
return /* @__PURE__ */ ue("div", { className:
|
|
9747
|
+
}), de = R.getFullYear(), fe = ae.charAt(0).toUpperCase() + ae.slice(1) + " " + de;
|
|
9748
|
+
return /* @__PURE__ */ ue("div", { className: Be.datePicker__customHeader, children: [
|
|
9749
9749
|
/* @__PURE__ */ M(st, { children: fe.replace(".", "") }),
|
|
9750
|
-
/* @__PURE__ */ ue("div", { className:
|
|
9750
|
+
/* @__PURE__ */ ue("div", { className: Be.datePicker__navigationWrapper, children: [
|
|
9751
9751
|
/* @__PURE__ */ M(
|
|
9752
|
-
|
|
9752
|
+
Fe,
|
|
9753
9753
|
{
|
|
9754
9754
|
name: pe.ArrowBottom,
|
|
9755
9755
|
onClick: J,
|
|
9756
9756
|
className: E(
|
|
9757
|
-
|
|
9758
|
-
|
|
9757
|
+
Be.datePicker__navigation,
|
|
9758
|
+
Be.datePicker__navigation_previous
|
|
9759
9759
|
)
|
|
9760
9760
|
}
|
|
9761
9761
|
),
|
|
9762
9762
|
/* @__PURE__ */ M(
|
|
9763
|
-
|
|
9763
|
+
Fe,
|
|
9764
9764
|
{
|
|
9765
9765
|
name: pe.ArrowBottom,
|
|
9766
9766
|
onClick: ce,
|
|
9767
|
-
className: E(
|
|
9767
|
+
className: E(Be.datePicker__navigation)
|
|
9768
9768
|
}
|
|
9769
9769
|
)
|
|
9770
9770
|
] })
|
|
9771
9771
|
] });
|
|
9772
9772
|
},
|
|
9773
|
-
calendarContainer: ({ className:
|
|
9773
|
+
calendarContainer: ({ className: R, children: J }) => /* @__PURE__ */ ue("div", { className: E(Be.datePicker__customContainer, R), children: [
|
|
9774
9774
|
J,
|
|
9775
|
-
s && /* @__PURE__ */ ue("div", { className:
|
|
9775
|
+
s && /* @__PURE__ */ ue("div", { className: Be.datePicker__footer, children: [
|
|
9776
9776
|
/* @__PURE__ */ M(
|
|
9777
9777
|
st,
|
|
9778
9778
|
{
|
|
9779
9779
|
classNameRoot: E(
|
|
9780
|
-
|
|
9781
|
-
|
|
9780
|
+
Be.datePicker__footerActions,
|
|
9781
|
+
Be.datePicker__footerActions_clear
|
|
9782
9782
|
),
|
|
9783
|
-
onClick:
|
|
9783
|
+
onClick: q,
|
|
9784
9784
|
children: "Очистить"
|
|
9785
9785
|
}
|
|
9786
9786
|
),
|
|
@@ -9788,8 +9788,8 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9788
9788
|
st,
|
|
9789
9789
|
{
|
|
9790
9790
|
classNameRoot: E(
|
|
9791
|
-
|
|
9792
|
-
|
|
9791
|
+
Be.datePicker__footerActions,
|
|
9792
|
+
Be.datePicker__footerActions_done
|
|
9793
9793
|
),
|
|
9794
9794
|
onClick: F,
|
|
9795
9795
|
children: "Готово"
|
|
@@ -9832,7 +9832,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9832
9832
|
spDropdown__dopdownListItem: Rh,
|
|
9833
9833
|
spDropdown__dopdownListItem_textCenter: Lh,
|
|
9834
9834
|
spDropdown__downloadListItemDescription: Fh
|
|
9835
|
-
},
|
|
9835
|
+
}, Sw = (n) => {
|
|
9836
9836
|
const {
|
|
9837
9837
|
labelText: a = "Выпадающий список",
|
|
9838
9838
|
listName: t,
|
|
@@ -9883,7 +9883,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9883
9883
|
isStopPropagationClickOnTrigger: !0,
|
|
9884
9884
|
trigger: /* @__PURE__ */ ue("div", { className: i, children: [
|
|
9885
9885
|
/* @__PURE__ */ M("div", { className: s, children: a }),
|
|
9886
|
-
/* @__PURE__ */ M("div", { className: l, children: /* @__PURE__ */ M(
|
|
9886
|
+
/* @__PURE__ */ M("div", { className: l, children: /* @__PURE__ */ M(Fe, { name: pe.SelectChevronDown, rotate: h ? 180 : void 0 }) })
|
|
9887
9887
|
] })
|
|
9888
9888
|
}
|
|
9889
9889
|
);
|
|
@@ -9903,7 +9903,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9903
9903
|
classNameBaseTooltipRoot: i,
|
|
9904
9904
|
defaultTooltipPosition: s,
|
|
9905
9905
|
...l
|
|
9906
|
-
} = n, p =
|
|
9906
|
+
} = n, p = Ae(null), u = Ae(null), [d, h] = Ce(!1), v = ea(a), w = v !== a, b = () => {
|
|
9907
9907
|
p.current && h(p.current.scrollWidth > p.current.clientWidth);
|
|
9908
9908
|
};
|
|
9909
9909
|
Ma(() => (b(), window.addEventListener("resize", b), () => {
|
|
@@ -9962,7 +9962,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9962
9962
|
"spForm--size-lg": "_spForm--size-lg_1mrvg_51",
|
|
9963
9963
|
"spForm--size-md": "_spForm--size-md_1mrvg_60",
|
|
9964
9964
|
spForm_withSeparator: Hh
|
|
9965
|
-
},
|
|
9965
|
+
}, Mw = (n) => {
|
|
9966
9966
|
const {
|
|
9967
9967
|
size: a = "lg",
|
|
9968
9968
|
children: t,
|
|
@@ -9983,11 +9983,11 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
9983
9983
|
return /* @__PURE__ */ M("form", { ...l, onSubmit: (d) => {
|
|
9984
9984
|
d.preventDefault(), e && e();
|
|
9985
9985
|
}, className: p, children: t });
|
|
9986
|
-
}, zh = "_spInput_z6e58_43", Vh = "_spInput_error_z6e58_48",
|
|
9986
|
+
}, zh = "_spInput_z6e58_43", Vh = "_spInput_error_z6e58_48", Uh = "_spInput__control_z6e58_48", qh = "_spInput_absolutePositionError_z6e58_55", $h = "_spInput__container_z6e58_58", Qh = "_spInput__control_filled_z6e58_78", Gh = "_spInput__control_outlined_z6e58_82", Kh = "_spInput__control_disabled_z6e58_86", Xh = "_spInput__control_clearable_z6e58_90", Zh = "_spInput__clear_z6e58_117", Jh = "_spInput__error_z6e58_126", ev = "_spInput__error_absolutePosition_z6e58_133", pt = {
|
|
9987
9987
|
spInput: zh,
|
|
9988
9988
|
spInput_error: Vh,
|
|
9989
|
-
spInput__control:
|
|
9990
|
-
spInput_absolutePositionError:
|
|
9989
|
+
spInput__control: Uh,
|
|
9990
|
+
spInput_absolutePositionError: qh,
|
|
9991
9991
|
spInput__container: $h,
|
|
9992
9992
|
spInput__control_filled: Qh,
|
|
9993
9993
|
spInput__control_outlined: Gh,
|
|
@@ -10043,7 +10043,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
10043
10043
|
...D && { [D]: !0 }
|
|
10044
10044
|
}), W = ($) => {
|
|
10045
10045
|
e($, { name: u, value: "" });
|
|
10046
|
-
},
|
|
10046
|
+
}, V = ($) => {
|
|
10047
10047
|
const { value: m, name: f } = $.target;
|
|
10048
10048
|
h && m && !new RegExp(h).test(m) || e($, { value: m, name: f });
|
|
10049
10049
|
};
|
|
@@ -10065,7 +10065,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
10065
10065
|
{
|
|
10066
10066
|
className: le,
|
|
10067
10067
|
alwaysShowMask: A,
|
|
10068
|
-
onChange:
|
|
10068
|
+
onChange: V,
|
|
10069
10069
|
disabled: i,
|
|
10070
10070
|
value: t,
|
|
10071
10071
|
mask: Y,
|
|
@@ -10079,7 +10079,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
10079
10079
|
...P,
|
|
10080
10080
|
placeholder: C,
|
|
10081
10081
|
disabled: i,
|
|
10082
|
-
onChange:
|
|
10082
|
+
onChange: V,
|
|
10083
10083
|
title: y ? t : void 0,
|
|
10084
10084
|
value: t,
|
|
10085
10085
|
name: u,
|
|
@@ -10087,7 +10087,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
|
|
|
10087
10087
|
ref: a
|
|
10088
10088
|
}
|
|
10089
10089
|
),
|
|
10090
|
-
d && t && !i && /* @__PURE__ */ M(
|
|
10090
|
+
d && t && !i && /* @__PURE__ */ M(Fe, { onClick: W, className: ne, name: pe.Trash })
|
|
10091
10091
|
] }),
|
|
10092
10092
|
l && /* @__PURE__ */ M("div", { className: K, children: l })
|
|
10093
10093
|
] });
|
|
@@ -10100,9 +10100,9 @@ const nv = vi({
|
|
|
10100
10100
|
isTablet: !1
|
|
10101
10101
|
}
|
|
10102
10102
|
});
|
|
10103
|
-
var
|
|
10104
|
-
|
|
10105
|
-
|
|
10103
|
+
var Ua = {};
|
|
10104
|
+
Ua.match = lv;
|
|
10105
|
+
Ua.parse = cs;
|
|
10106
10106
|
var rv = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, av = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, ov = /^(?:(min|max)-)?(.+)/, iv = /(em|rem|px|cm|mm|in|pt|pc)?$/, sv = /(dpi|dpcm|dppx)?$/;
|
|
10107
10107
|
function lv(n, a) {
|
|
10108
10108
|
return cs(n).some(function(t) {
|
|
@@ -10201,10 +10201,10 @@ function Vo(n) {
|
|
|
10201
10201
|
return a;
|
|
10202
10202
|
}
|
|
10203
10203
|
}
|
|
10204
|
-
var cv =
|
|
10204
|
+
var cv = Ua.match, Uo = typeof window < "u" ? window.matchMedia : null;
|
|
10205
10205
|
function pv(n, a, t) {
|
|
10206
10206
|
var e = this, r;
|
|
10207
|
-
|
|
10207
|
+
Uo && !t && (r = Uo.call(window, n)), r ? (this.matches = r.matches, this.media = r.media, r.addListener(s)) : (this.matches = cv(n, a), this.media = n), this.addListener = o, this.removeListener = i, this.dispose = l;
|
|
10208
10208
|
function o(p) {
|
|
10209
10209
|
r && r.addListener(p);
|
|
10210
10210
|
}
|
|
@@ -10248,7 +10248,7 @@ function _v(n, a) {
|
|
|
10248
10248
|
}
|
|
10249
10249
|
return !0;
|
|
10250
10250
|
}
|
|
10251
|
-
var ya = { exports: {} },
|
|
10251
|
+
var ya = { exports: {} }, qn = { exports: {} }, be = {};
|
|
10252
10252
|
/** @license React v16.13.1
|
|
10253
10253
|
* react-is.production.min.js
|
|
10254
10254
|
*
|
|
@@ -10257,10 +10257,10 @@ var ya = { exports: {} }, Un = { exports: {} }, be = {};
|
|
|
10257
10257
|
* This source code is licensed under the MIT license found in the
|
|
10258
10258
|
* LICENSE file in the root directory of this source tree.
|
|
10259
10259
|
*/
|
|
10260
|
-
var
|
|
10260
|
+
var qo;
|
|
10261
10261
|
function gv() {
|
|
10262
|
-
if (
|
|
10263
|
-
|
|
10262
|
+
if (qo) return be;
|
|
10263
|
+
qo = 1;
|
|
10264
10264
|
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, h = 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, C = n ? Symbol.for("react.responder") : 60118, T = n ? Symbol.for("react.scope") : 60119;
|
|
10265
10265
|
function S(x) {
|
|
10266
10266
|
if (typeof x == "object" && x !== null) {
|
|
@@ -10345,17 +10345,17 @@ function wv() {
|
|
|
10345
10345
|
var Q = F.$$typeof;
|
|
10346
10346
|
switch (Q) {
|
|
10347
10347
|
case a:
|
|
10348
|
-
var
|
|
10349
|
-
switch (
|
|
10348
|
+
var R = F.type;
|
|
10349
|
+
switch (R) {
|
|
10350
10350
|
case l:
|
|
10351
10351
|
case p:
|
|
10352
10352
|
case e:
|
|
10353
10353
|
case o:
|
|
10354
10354
|
case r:
|
|
10355
10355
|
case d:
|
|
10356
|
-
return
|
|
10356
|
+
return R;
|
|
10357
10357
|
default:
|
|
10358
|
-
var J =
|
|
10358
|
+
var J = R && R.$$typeof;
|
|
10359
10359
|
switch (J) {
|
|
10360
10360
|
case s:
|
|
10361
10361
|
case u:
|
|
@@ -10372,7 +10372,7 @@ function wv() {
|
|
|
10372
10372
|
}
|
|
10373
10373
|
}
|
|
10374
10374
|
}
|
|
10375
|
-
var x = l, A = p, Y = s, P = i, L = a, X = u, le = e, ne = w, K = v, te = t, W = o,
|
|
10375
|
+
var x = l, A = p, Y = s, P = i, L = a, X = u, le = e, ne = w, K = v, te = t, W = o, V = r, G = d, $ = !1;
|
|
10376
10376
|
function m(F) {
|
|
10377
10377
|
return $ || ($ = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(F) || D(F) === l;
|
|
10378
10378
|
}
|
|
@@ -10394,30 +10394,30 @@ function wv() {
|
|
|
10394
10394
|
function B(F) {
|
|
10395
10395
|
return D(F) === e;
|
|
10396
10396
|
}
|
|
10397
|
-
function
|
|
10397
|
+
function z(F) {
|
|
10398
10398
|
return D(F) === w;
|
|
10399
10399
|
}
|
|
10400
|
-
function
|
|
10400
|
+
function O(F) {
|
|
10401
10401
|
return D(F) === v;
|
|
10402
10402
|
}
|
|
10403
10403
|
function H(F) {
|
|
10404
10404
|
return D(F) === t;
|
|
10405
10405
|
}
|
|
10406
|
-
function
|
|
10406
|
+
function U(F) {
|
|
10407
10407
|
return D(F) === o;
|
|
10408
10408
|
}
|
|
10409
10409
|
function j(F) {
|
|
10410
10410
|
return D(F) === r;
|
|
10411
10411
|
}
|
|
10412
|
-
function
|
|
10412
|
+
function q(F) {
|
|
10413
10413
|
return D(F) === d;
|
|
10414
10414
|
}
|
|
10415
|
-
ye.AsyncMode = x, ye.ConcurrentMode = A, ye.ContextConsumer = Y, ye.ContextProvider = P, ye.Element = L, ye.ForwardRef = X, ye.Fragment = le, ye.Lazy = ne, ye.Memo = K, ye.Portal = te, ye.Profiler = W, ye.StrictMode =
|
|
10415
|
+
ye.AsyncMode = x, ye.ConcurrentMode = A, ye.ContextConsumer = Y, ye.ContextProvider = P, ye.Element = L, ye.ForwardRef = X, ye.Fragment = le, ye.Lazy = ne, ye.Memo = K, ye.Portal = te, ye.Profiler = W, ye.StrictMode = V, ye.Suspense = G, ye.isAsyncMode = m, ye.isConcurrentMode = f, ye.isContextConsumer = g, ye.isContextProvider = _, ye.isElement = c, ye.isForwardRef = k, ye.isFragment = B, ye.isLazy = z, ye.isMemo = O, ye.isPortal = H, ye.isProfiler = U, ye.isStrictMode = j, ye.isSuspense = q, ye.isValidElementType = S, ye.typeOf = D;
|
|
10416
10416
|
}()), ye;
|
|
10417
10417
|
}
|
|
10418
10418
|
var Qo;
|
|
10419
10419
|
function us() {
|
|
10420
|
-
return Qo || (Qo = 1, process.env.NODE_ENV === "production" ?
|
|
10420
|
+
return Qo || (Qo = 1, process.env.NODE_ENV === "production" ? qn.exports = gv() : qn.exports = wv()), qn.exports;
|
|
10421
10421
|
}
|
|
10422
10422
|
/*
|
|
10423
10423
|
object-assign
|
|
@@ -10471,7 +10471,7 @@ function bv() {
|
|
|
10471
10471
|
}, na;
|
|
10472
10472
|
}
|
|
10473
10473
|
var ra, Ko;
|
|
10474
|
-
function
|
|
10474
|
+
function qa() {
|
|
10475
10475
|
if (Ko) return ra;
|
|
10476
10476
|
Ko = 1;
|
|
10477
10477
|
var n = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
@@ -10488,7 +10488,7 @@ function yv() {
|
|
|
10488
10488
|
var n = function() {
|
|
10489
10489
|
};
|
|
10490
10490
|
if (process.env.NODE_ENV !== "production") {
|
|
10491
|
-
var a =
|
|
10491
|
+
var a = qa(), t = {}, e = ds();
|
|
10492
10492
|
n = function(o) {
|
|
10493
10493
|
var i = "Warning: " + o;
|
|
10494
10494
|
typeof console < "u" && console.error(i);
|
|
@@ -10534,7 +10534,7 @@ var ia, Jo;
|
|
|
10534
10534
|
function xv() {
|
|
10535
10535
|
if (Jo) return ia;
|
|
10536
10536
|
Jo = 1;
|
|
10537
|
-
var n = us(), a = bv(), t =
|
|
10537
|
+
var n = us(), a = bv(), t = qa(), e = ds(), r = yv(), o = function() {
|
|
10538
10538
|
};
|
|
10539
10539
|
process.env.NODE_ENV !== "production" && (o = function(s) {
|
|
10540
10540
|
var l = "Warning: " + s;
|
|
@@ -10585,33 +10585,33 @@ function xv() {
|
|
|
10585
10585
|
function y(f) {
|
|
10586
10586
|
if (process.env.NODE_ENV !== "production")
|
|
10587
10587
|
var g = {}, _ = 0;
|
|
10588
|
-
function c(B,
|
|
10589
|
-
if (H = H || h, j = j ||
|
|
10588
|
+
function c(B, z, O, H, U, j, q) {
|
|
10589
|
+
if (H = H || h, j = j || O, q !== t) {
|
|
10590
10590
|
if (l) {
|
|
10591
10591
|
var F = new Error(
|
|
10592
10592
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
10593
10593
|
);
|
|
10594
10594
|
throw F.name = "Invariant Violation", F;
|
|
10595
10595
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
10596
|
-
var Q = H + ":" +
|
|
10596
|
+
var Q = H + ":" + O;
|
|
10597
10597
|
!g[Q] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
10598
10598
|
_ < 3 && (o(
|
|
10599
10599
|
"You are manually calling a React.PropTypes validation function for the `" + j + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
10600
10600
|
), g[Q] = !0, _++);
|
|
10601
10601
|
}
|
|
10602
10602
|
}
|
|
10603
|
-
return
|
|
10603
|
+
return z[O] == null ? B ? z[O] === null ? new b("The " + U + " `" + j + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new b("The " + U + " `" + j + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : f(z, O, H, U, j);
|
|
10604
10604
|
}
|
|
10605
10605
|
var k = c.bind(null, !1);
|
|
10606
10606
|
return k.isRequired = c.bind(null, !0), k;
|
|
10607
10607
|
}
|
|
10608
10608
|
function C(f) {
|
|
10609
|
-
function g(_, c, k, B,
|
|
10610
|
-
var H = _[c],
|
|
10611
|
-
if (
|
|
10609
|
+
function g(_, c, k, B, z, O) {
|
|
10610
|
+
var H = _[c], U = V(H);
|
|
10611
|
+
if (U !== f) {
|
|
10612
10612
|
var j = G(H);
|
|
10613
10613
|
return new b(
|
|
10614
|
-
"Invalid " + B + " `" +
|
|
10614
|
+
"Invalid " + B + " `" + z + "` of type " + ("`" + j + "` supplied to `" + k + "`, expected ") + ("`" + f + "`."),
|
|
10615
10615
|
{ expectedType: f }
|
|
10616
10616
|
);
|
|
10617
10617
|
}
|
|
@@ -10623,16 +10623,16 @@ function xv() {
|
|
|
10623
10623
|
return y(i);
|
|
10624
10624
|
}
|
|
10625
10625
|
function S(f) {
|
|
10626
|
-
function g(_, c, k, B,
|
|
10626
|
+
function g(_, c, k, B, z) {
|
|
10627
10627
|
if (typeof f != "function")
|
|
10628
|
-
return new b("Property `" +
|
|
10629
|
-
var
|
|
10630
|
-
if (!Array.isArray(
|
|
10631
|
-
var H =
|
|
10632
|
-
return new b("Invalid " + B + " `" +
|
|
10628
|
+
return new b("Property `" + z + "` of component `" + k + "` has invalid PropType notation inside arrayOf.");
|
|
10629
|
+
var O = _[c];
|
|
10630
|
+
if (!Array.isArray(O)) {
|
|
10631
|
+
var H = V(O);
|
|
10632
|
+
return new b("Invalid " + B + " `" + z + "` of type " + ("`" + H + "` supplied to `" + k + "`, expected an array."));
|
|
10633
10633
|
}
|
|
10634
|
-
for (var
|
|
10635
|
-
var j = f(
|
|
10634
|
+
for (var U = 0; U < O.length; U++) {
|
|
10635
|
+
var j = f(O, U, k, B, z + "[" + U + "]", t);
|
|
10636
10636
|
if (j instanceof Error)
|
|
10637
10637
|
return j;
|
|
10638
10638
|
}
|
|
@@ -10642,10 +10642,10 @@ function xv() {
|
|
|
10642
10642
|
}
|
|
10643
10643
|
function D() {
|
|
10644
10644
|
function f(g, _, c, k, B) {
|
|
10645
|
-
var
|
|
10646
|
-
if (!s(
|
|
10647
|
-
var
|
|
10648
|
-
return new b("Invalid " + k + " `" + B + "` of type " + ("`" +
|
|
10645
|
+
var z = g[_];
|
|
10646
|
+
if (!s(z)) {
|
|
10647
|
+
var O = V(z);
|
|
10648
|
+
return new b("Invalid " + k + " `" + B + "` of type " + ("`" + O + "` supplied to `" + c + "`, expected a single ReactElement."));
|
|
10649
10649
|
}
|
|
10650
10650
|
return null;
|
|
10651
10651
|
}
|
|
@@ -10653,20 +10653,20 @@ function xv() {
|
|
|
10653
10653
|
}
|
|
10654
10654
|
function x() {
|
|
10655
10655
|
function f(g, _, c, k, B) {
|
|
10656
|
-
var
|
|
10657
|
-
if (!n.isValidElementType(
|
|
10658
|
-
var
|
|
10659
|
-
return new b("Invalid " + k + " `" + B + "` of type " + ("`" +
|
|
10656
|
+
var z = g[_];
|
|
10657
|
+
if (!n.isValidElementType(z)) {
|
|
10658
|
+
var O = V(z);
|
|
10659
|
+
return new b("Invalid " + k + " `" + B + "` of type " + ("`" + O + "` supplied to `" + c + "`, expected a single ReactElement type."));
|
|
10660
10660
|
}
|
|
10661
10661
|
return null;
|
|
10662
10662
|
}
|
|
10663
10663
|
return y(f);
|
|
10664
10664
|
}
|
|
10665
10665
|
function A(f) {
|
|
10666
|
-
function g(_, c, k, B,
|
|
10666
|
+
function g(_, c, k, B, z) {
|
|
10667
10667
|
if (!(_[c] instanceof f)) {
|
|
10668
|
-
var
|
|
10669
|
-
return new b("Invalid " + B + " `" +
|
|
10668
|
+
var O = f.name || h, H = m(_[c]);
|
|
10669
|
+
return new b("Invalid " + B + " `" + z + "` of type " + ("`" + H + "` supplied to `" + k + "`, expected ") + ("instance of `" + O + "`."));
|
|
10670
10670
|
}
|
|
10671
10671
|
return null;
|
|
10672
10672
|
}
|
|
@@ -10677,28 +10677,28 @@ function xv() {
|
|
|
10677
10677
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
10678
10678
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
10679
10679
|
) : o("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
10680
|
-
function g(_, c, k, B,
|
|
10681
|
-
for (var
|
|
10682
|
-
if (w(
|
|
10680
|
+
function g(_, c, k, B, z) {
|
|
10681
|
+
for (var O = _[c], H = 0; H < f.length; H++)
|
|
10682
|
+
if (w(O, f[H]))
|
|
10683
10683
|
return null;
|
|
10684
|
-
var
|
|
10684
|
+
var U = JSON.stringify(f, function(q, F) {
|
|
10685
10685
|
var Q = G(F);
|
|
10686
10686
|
return Q === "symbol" ? String(F) : F;
|
|
10687
10687
|
});
|
|
10688
|
-
return new b("Invalid " + B + " `" +
|
|
10688
|
+
return new b("Invalid " + B + " `" + z + "` of value `" + String(O) + "` " + ("supplied to `" + k + "`, expected one of " + U + "."));
|
|
10689
10689
|
}
|
|
10690
10690
|
return y(g);
|
|
10691
10691
|
}
|
|
10692
10692
|
function P(f) {
|
|
10693
|
-
function g(_, c, k, B,
|
|
10693
|
+
function g(_, c, k, B, z) {
|
|
10694
10694
|
if (typeof f != "function")
|
|
10695
|
-
return new b("Property `" +
|
|
10696
|
-
var
|
|
10695
|
+
return new b("Property `" + z + "` of component `" + k + "` has invalid PropType notation inside objectOf.");
|
|
10696
|
+
var O = _[c], H = V(O);
|
|
10697
10697
|
if (H !== "object")
|
|
10698
|
-
return new b("Invalid " + B + " `" +
|
|
10699
|
-
for (var
|
|
10700
|
-
if (e(
|
|
10701
|
-
var j = f(
|
|
10698
|
+
return new b("Invalid " + B + " `" + z + "` of type " + ("`" + H + "` supplied to `" + k + "`, expected an object."));
|
|
10699
|
+
for (var U in O)
|
|
10700
|
+
if (e(O, U)) {
|
|
10701
|
+
var j = f(O, U, k, B, z + "." + U, t);
|
|
10702
10702
|
if (j instanceof Error)
|
|
10703
10703
|
return j;
|
|
10704
10704
|
}
|
|
@@ -10716,15 +10716,15 @@ function xv() {
|
|
|
10716
10716
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(_) + " at index " + g + "."
|
|
10717
10717
|
), i;
|
|
10718
10718
|
}
|
|
10719
|
-
function c(k, B,
|
|
10720
|
-
for (var
|
|
10721
|
-
var
|
|
10719
|
+
function c(k, B, z, O, H) {
|
|
10720
|
+
for (var U = [], j = 0; j < f.length; j++) {
|
|
10721
|
+
var q = f[j], F = q(k, B, z, O, H, t);
|
|
10722
10722
|
if (F == null)
|
|
10723
10723
|
return null;
|
|
10724
|
-
F.data && e(F.data, "expectedType") &&
|
|
10724
|
+
F.data && e(F.data, "expectedType") && U.push(F.data.expectedType);
|
|
10725
10725
|
}
|
|
10726
|
-
var Q =
|
|
10727
|
-
return new b("Invalid " +
|
|
10726
|
+
var Q = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
|
|
10727
|
+
return new b("Invalid " + O + " `" + H + "` supplied to " + ("`" + z + "`" + Q + "."));
|
|
10728
10728
|
}
|
|
10729
10729
|
return y(c);
|
|
10730
10730
|
}
|
|
@@ -10740,38 +10740,38 @@ function xv() {
|
|
|
10740
10740
|
);
|
|
10741
10741
|
}
|
|
10742
10742
|
function ne(f) {
|
|
10743
|
-
function g(_, c, k, B,
|
|
10744
|
-
var
|
|
10743
|
+
function g(_, c, k, B, z) {
|
|
10744
|
+
var O = _[c], H = V(O);
|
|
10745
10745
|
if (H !== "object")
|
|
10746
|
-
return new b("Invalid " + B + " `" +
|
|
10747
|
-
for (var
|
|
10748
|
-
var j = f[
|
|
10746
|
+
return new b("Invalid " + B + " `" + z + "` of type `" + H + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
10747
|
+
for (var U in f) {
|
|
10748
|
+
var j = f[U];
|
|
10749
10749
|
if (typeof j != "function")
|
|
10750
|
-
return le(k, B,
|
|
10751
|
-
var
|
|
10752
|
-
if (
|
|
10753
|
-
return
|
|
10750
|
+
return le(k, B, z, U, G(j));
|
|
10751
|
+
var q = j(O, U, k, B, z + "." + U, t);
|
|
10752
|
+
if (q)
|
|
10753
|
+
return q;
|
|
10754
10754
|
}
|
|
10755
10755
|
return null;
|
|
10756
10756
|
}
|
|
10757
10757
|
return y(g);
|
|
10758
10758
|
}
|
|
10759
10759
|
function K(f) {
|
|
10760
|
-
function g(_, c, k, B,
|
|
10761
|
-
var
|
|
10760
|
+
function g(_, c, k, B, z) {
|
|
10761
|
+
var O = _[c], H = V(O);
|
|
10762
10762
|
if (H !== "object")
|
|
10763
|
-
return new b("Invalid " + B + " `" +
|
|
10764
|
-
var
|
|
10765
|
-
for (var j in
|
|
10766
|
-
var
|
|
10767
|
-
if (e(f, j) && typeof
|
|
10768
|
-
return le(k, B,
|
|
10769
|
-
if (!
|
|
10763
|
+
return new b("Invalid " + B + " `" + z + "` of type `" + H + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
10764
|
+
var U = a({}, _[c], f);
|
|
10765
|
+
for (var j in U) {
|
|
10766
|
+
var q = f[j];
|
|
10767
|
+
if (e(f, j) && typeof q != "function")
|
|
10768
|
+
return le(k, B, z, j, G(q));
|
|
10769
|
+
if (!q)
|
|
10770
10770
|
return new b(
|
|
10771
|
-
"Invalid " + B + " `" +
|
|
10771
|
+
"Invalid " + B + " `" + z + "` key `" + j + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(_[c], null, " ") + `
|
|
10772
10772
|
Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
10773
10773
|
);
|
|
10774
|
-
var F =
|
|
10774
|
+
var F = q(O, j, k, B, z + "." + j, t);
|
|
10775
10775
|
if (F)
|
|
10776
10776
|
return F;
|
|
10777
10777
|
}
|
|
@@ -10815,14 +10815,14 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
10815
10815
|
function W(f, g) {
|
|
10816
10816
|
return f === "symbol" ? !0 : g ? g["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && g instanceof Symbol : !1;
|
|
10817
10817
|
}
|
|
10818
|
-
function
|
|
10818
|
+
function V(f) {
|
|
10819
10819
|
var g = typeof f;
|
|
10820
10820
|
return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : W(g, f) ? "symbol" : g;
|
|
10821
10821
|
}
|
|
10822
10822
|
function G(f) {
|
|
10823
10823
|
if (typeof f > "u" || f === null)
|
|
10824
10824
|
return "" + f;
|
|
10825
|
-
var g =
|
|
10825
|
+
var g = V(f);
|
|
10826
10826
|
if (g === "object") {
|
|
10827
10827
|
if (f instanceof Date)
|
|
10828
10828
|
return "date";
|
|
@@ -10855,7 +10855,7 @@ var sa, ei;
|
|
|
10855
10855
|
function kv() {
|
|
10856
10856
|
if (ei) return sa;
|
|
10857
10857
|
ei = 1;
|
|
10858
|
-
var n =
|
|
10858
|
+
var n = qa();
|
|
10859
10859
|
function a() {
|
|
10860
10860
|
}
|
|
10861
10861
|
function t() {
|
|
@@ -10931,7 +10931,7 @@ const se = /* @__PURE__ */ Va(Sv), Ke = se.oneOfType([se.string, se.number]), fs
|
|
|
10931
10931
|
monochrome: se.bool,
|
|
10932
10932
|
resolution: Ke,
|
|
10933
10933
|
type: Object.keys(fs)
|
|
10934
|
-
}, { type:
|
|
10934
|
+
}, { type: Ew, ...Ev } = Mv, Nv = {
|
|
10935
10935
|
minAspectRatio: se.string,
|
|
10936
10936
|
maxAspectRatio: se.string,
|
|
10937
10937
|
minDeviceAspectRatio: se.string,
|
|
@@ -10967,7 +10967,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
10967
10967
|
e != null && a.push(Ov(t, e));
|
|
10968
10968
|
}), Rv(a);
|
|
10969
10969
|
}, Fv = vi(void 0), Av = (n) => n.query || Lv(n), ti = (n) => n ? Object.keys(n).reduce((t, e) => (t[ps(e)] = n[e], t), {}) : void 0, ms = () => {
|
|
10970
|
-
const n =
|
|
10970
|
+
const n = Ae(!1);
|
|
10971
10971
|
return Re(() => {
|
|
10972
10972
|
n.current = !0;
|
|
10973
10973
|
}, []), n.current;
|
|
@@ -11021,7 +11021,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11021
11021
|
isMobile: i
|
|
11022
11022
|
}
|
|
11023
11023
|
};
|
|
11024
|
-
},
|
|
11024
|
+
}, Nw = (n) => {
|
|
11025
11025
|
const {
|
|
11026
11026
|
breakpoints: a = {
|
|
11027
11027
|
desktop: { minWidth: 1440 },
|
|
@@ -11040,7 +11040,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11040
11040
|
}
|
|
11041
11041
|
);
|
|
11042
11042
|
}, zv = 2e3, Vv = (n) => {
|
|
11043
|
-
const { targetValue: a, duration: t = zv, doneValue: e, onSuccessLoaded: r } = n, [o, i] = Ce(a), s =
|
|
11043
|
+
const { targetValue: a, duration: t = zv, doneValue: e, onSuccessLoaded: r } = n, [o, i] = Ce(a), s = Ae(), l = Ae(0), p = Ae(), u = Ae(a), [d, h] = Ce(!1), v = Ae();
|
|
11044
11044
|
return Re(() => {
|
|
11045
11045
|
if (u.current = a, a === l.current) return;
|
|
11046
11046
|
if (s.current && cancelAnimationFrame(s.current), a === e && !d) {
|
|
@@ -11064,15 +11064,15 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11064
11064
|
animatedValue: o,
|
|
11065
11065
|
isLoading: d
|
|
11066
11066
|
};
|
|
11067
|
-
},
|
|
11068
|
-
progressWrapper:
|
|
11069
|
-
progressWrapper_loading:
|
|
11067
|
+
}, Uv = "_progressWrapper_nlwr5_44", qv = "_progressWrapper_loading_nlwr5_50", $v = "_pulse_nlwr5_1", Qv = "_progressWrapper__progressBadge_nlwr5_61", Gv = "_progressWrapper__progressBadge_loading_nlwr5_73", Cn = {
|
|
11068
|
+
progressWrapper: Uv,
|
|
11069
|
+
progressWrapper_loading: qv,
|
|
11070
11070
|
"progressWrapper--animated-pulse": "_progressWrapper--animated-pulse_nlwr5_55",
|
|
11071
11071
|
pulse: $v,
|
|
11072
11072
|
"progressWrapper--animated-backgroundProgress": "_progressWrapper--animated-backgroundProgress_nlwr5_58",
|
|
11073
11073
|
progressWrapper__progressBadge: Qv,
|
|
11074
11074
|
progressWrapper__progressBadge_loading: Gv
|
|
11075
|
-
},
|
|
11075
|
+
}, Tw = (n) => {
|
|
11076
11076
|
const {
|
|
11077
11077
|
value: a,
|
|
11078
11078
|
classNameRoot: t,
|
|
@@ -11113,7 +11113,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11113
11113
|
]
|
|
11114
11114
|
}
|
|
11115
11115
|
);
|
|
11116
|
-
}, Kv = 180, Xv = "_spSelect_1z0hj_43", Zv = "_spSelect_error_1z0hj_49", Jv = "_spSelect__control_1z0hj_49", e_ = "_spSelect__value_empty_1z0hj_53", t_ = "_spSelect__icon_1z0hj_56", n_ = "_spSelect_absolutePositionError_1z0hj_59", r_ = "_spSelect__container_1z0hj_62", a_ = "_spSelect__control_filled_1z0hj_79", o_ = "_spSelect__control_outlined_1z0hj_83", i_ = "_spSelect__control_disabled_1z0hj_108", s_ = "_spSelect__value_1z0hj_53", l_ = "_spSelect__list_1z0hj_139", c_ = "_spSelect__list_scrollable_1z0hj_147", p_ = "_spSelect__emptyOptions_1z0hj_163", u_ = "_spSelect__option_1z0hj_175", d_ = "_spSelect__error_1z0hj_191", f_ = "_spSelect__error_absolutePosition_1z0hj_198",
|
|
11116
|
+
}, Kv = 180, Xv = "_spSelect_1z0hj_43", Zv = "_spSelect_error_1z0hj_49", Jv = "_spSelect__control_1z0hj_49", e_ = "_spSelect__value_empty_1z0hj_53", t_ = "_spSelect__icon_1z0hj_56", n_ = "_spSelect_absolutePositionError_1z0hj_59", r_ = "_spSelect__container_1z0hj_62", a_ = "_spSelect__control_filled_1z0hj_79", o_ = "_spSelect__control_outlined_1z0hj_83", i_ = "_spSelect__control_disabled_1z0hj_108", s_ = "_spSelect__value_1z0hj_53", l_ = "_spSelect__list_1z0hj_139", c_ = "_spSelect__list_scrollable_1z0hj_147", p_ = "_spSelect__emptyOptions_1z0hj_163", u_ = "_spSelect__option_1z0hj_175", d_ = "_spSelect__error_1z0hj_191", f_ = "_spSelect__error_absolutePosition_1z0hj_198", Ue = {
|
|
11117
11117
|
spSelect: Xv,
|
|
11118
11118
|
spSelect_error: Zv,
|
|
11119
11119
|
spSelect__control: Jv,
|
|
@@ -11131,7 +11131,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11131
11131
|
spSelect__option: u_,
|
|
11132
11132
|
spSelect__error: d_,
|
|
11133
11133
|
spSelect__error_absolutePosition: f_
|
|
11134
|
-
},
|
|
11134
|
+
}, Pw = (n) => {
|
|
11135
11135
|
const {
|
|
11136
11136
|
options: a = [],
|
|
11137
11137
|
placeholder: t = "Выберите из списка...",
|
|
@@ -11154,7 +11154,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11154
11154
|
classNameError: S,
|
|
11155
11155
|
classNameLabel: D,
|
|
11156
11156
|
classNameBaseTooltipRoot: x
|
|
11157
|
-
} = n, [A, Y] = Ce(!1), P =
|
|
11157
|
+
} = n, [A, Y] = Ce(!1), P = Ae(null);
|
|
11158
11158
|
Na(
|
|
11159
11159
|
[P],
|
|
11160
11160
|
() => {
|
|
@@ -11167,29 +11167,29 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11167
11167
|
}, le = () => {
|
|
11168
11168
|
h || Y(!A);
|
|
11169
11169
|
}, ne = E({
|
|
11170
|
-
[
|
|
11171
|
-
[
|
|
11172
|
-
[
|
|
11170
|
+
[Ue.spSelect]: !0,
|
|
11171
|
+
[Ue.spSelect_error]: !!l,
|
|
11172
|
+
[Ue.spSelect_absolutePositionError]: C,
|
|
11173
11173
|
...T && { [T]: !0 }
|
|
11174
11174
|
}), K = E({
|
|
11175
|
-
[
|
|
11175
|
+
[Ue.spSelect__container]: !0
|
|
11176
11176
|
}), te = E({
|
|
11177
|
-
[
|
|
11178
|
-
[
|
|
11179
|
-
[
|
|
11177
|
+
[Ue.spSelect__control]: !0,
|
|
11178
|
+
[Ue[`spSelect__control_${o}`]]: o,
|
|
11179
|
+
[Ue.spSelect__control_disabled]: h
|
|
11180
11180
|
}), W = E({
|
|
11181
|
-
[
|
|
11182
|
-
[
|
|
11183
|
-
}),
|
|
11184
|
-
[
|
|
11181
|
+
[Ue.spSelect__value]: !0,
|
|
11182
|
+
[Ue.spSelect__value_empty]: !L
|
|
11183
|
+
}), V = E({
|
|
11184
|
+
[Ue.spSelect__icon]: !0
|
|
11185
11185
|
}), G = E({
|
|
11186
|
-
[
|
|
11187
|
-
[
|
|
11186
|
+
[Ue.spSelect__list]: !0,
|
|
11187
|
+
[Ue.spSelect__list_scrollable]: y
|
|
11188
11188
|
}), $ = E({
|
|
11189
11189
|
...D && { [D]: !0 }
|
|
11190
11190
|
}), m = E({
|
|
11191
|
-
[
|
|
11192
|
-
[
|
|
11191
|
+
[Ue.spSelect__error]: !0,
|
|
11192
|
+
[Ue.spSelect__error_absolutePosition]: C,
|
|
11193
11193
|
...S && { [S]: !0 }
|
|
11194
11194
|
}), f = () => /* @__PURE__ */ ue(
|
|
11195
11195
|
"div",
|
|
@@ -11201,11 +11201,11 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11201
11201
|
children: [
|
|
11202
11202
|
/* @__PURE__ */ M("div", { className: W, children: (L == null ? void 0 : L.label) || t }),
|
|
11203
11203
|
/* @__PURE__ */ M(
|
|
11204
|
-
|
|
11204
|
+
Fe,
|
|
11205
11205
|
{
|
|
11206
11206
|
name: pe.SelectChevronDown,
|
|
11207
11207
|
rotate: A ? 180 : void 0,
|
|
11208
|
-
className:
|
|
11208
|
+
className: V
|
|
11209
11209
|
}
|
|
11210
11210
|
)
|
|
11211
11211
|
]
|
|
@@ -11221,7 +11221,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11221
11221
|
"div",
|
|
11222
11222
|
{
|
|
11223
11223
|
className: E({
|
|
11224
|
-
[
|
|
11224
|
+
[Ue.spSelect__option]: !0
|
|
11225
11225
|
}),
|
|
11226
11226
|
onClick: (k) => {
|
|
11227
11227
|
X(k, {
|
|
@@ -11230,7 +11230,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11230
11230
|
},
|
|
11231
11231
|
children: [
|
|
11232
11232
|
_.label,
|
|
11233
|
-
c && /* @__PURE__ */ M(
|
|
11233
|
+
c && /* @__PURE__ */ M(Fe, { name: pe.Check, className: V })
|
|
11234
11234
|
]
|
|
11235
11235
|
},
|
|
11236
11236
|
_.value
|
|
@@ -11239,7 +11239,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11239
11239
|
"div",
|
|
11240
11240
|
{
|
|
11241
11241
|
className: E({
|
|
11242
|
-
[
|
|
11242
|
+
[Ue.spSelect__emptyOptions]: !0
|
|
11243
11243
|
}),
|
|
11244
11244
|
children: "Нет доступных вариантов выбора..."
|
|
11245
11245
|
}
|
|
@@ -11269,7 +11269,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11269
11269
|
skeleton_circle: h_,
|
|
11270
11270
|
skeleton_customStart: v_,
|
|
11271
11271
|
skeleton_customEnd: __
|
|
11272
|
-
},
|
|
11272
|
+
}, Iw = (n) => {
|
|
11273
11273
|
const {
|
|
11274
11274
|
startColor: a,
|
|
11275
11275
|
endColor: t,
|
|
@@ -11313,7 +11313,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11313
11313
|
spStringsGroup__groupItemContent: M_,
|
|
11314
11314
|
spStringsGroup__groupItemContentCopyIcon: E_,
|
|
11315
11315
|
spStringsGroup__groupItemContentCopyIcon_copied: N_
|
|
11316
|
-
},
|
|
11316
|
+
}, Ow = (n) => {
|
|
11317
11317
|
const {
|
|
11318
11318
|
columns: a,
|
|
11319
11319
|
data: t,
|
|
@@ -11372,7 +11372,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11372
11372
|
children: /* @__PURE__ */ ue("div", { className: l, children: [
|
|
11373
11373
|
/* @__PURE__ */ M("span", { children: A.isColorContentsCurlyBrackets ? y({ row: D, col: A }) : D[A.key] }),
|
|
11374
11374
|
!ba(D[A.key]) && A.isBeCopiedValue && /* @__PURE__ */ M(
|
|
11375
|
-
|
|
11375
|
+
Fe,
|
|
11376
11376
|
{
|
|
11377
11377
|
className: E({
|
|
11378
11378
|
[rt.spTable__tdContentCopyIcon]: !0,
|
|
@@ -11431,7 +11431,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11431
11431
|
children: [
|
|
11432
11432
|
/* @__PURE__ */ M("span", { children: A.isColorContentsCurlyBrackets ? y({ row: D, col: A }) : D[A.key] }),
|
|
11433
11433
|
A.isBeCopiedValue && /* @__PURE__ */ M(
|
|
11434
|
-
|
|
11434
|
+
Fe,
|
|
11435
11435
|
{
|
|
11436
11436
|
className: E({
|
|
11437
11437
|
[rt.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
@@ -11471,7 +11471,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11471
11471
|
spTabs__tooltip: R_,
|
|
11472
11472
|
"spTabs--variant-outlined": "_spTabs--variant-outlined_1rp5k_95",
|
|
11473
11473
|
"spTabs--variant-filled": "_spTabs--variant-filled_1rp5k_114"
|
|
11474
|
-
},
|
|
11474
|
+
}, Rw = (n) => {
|
|
11475
11475
|
const {
|
|
11476
11476
|
panes: a,
|
|
11477
11477
|
isSeparated: t = !1,
|
|
@@ -11519,7 +11519,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
|
|
|
11519
11519
|
}, L_ = "_spTextWithLabel_18nkl_1", F_ = "_spTextWithLabel_ellipsis_18nkl_4", ni = {
|
|
11520
11520
|
spTextWithLabel: L_,
|
|
11521
11521
|
spTextWithLabel_ellipsis: F_
|
|
11522
|
-
},
|
|
11522
|
+
}, Lw = (n) => {
|
|
11523
11523
|
const {
|
|
11524
11524
|
label: a,
|
|
11525
11525
|
required: t,
|
|
@@ -12814,7 +12814,7 @@ const B_ = [
|
|
|
12814
12814
|
];
|
|
12815
12815
|
function Y_(n) {
|
|
12816
12816
|
return Jt(this, void 0, void 0, function* () {
|
|
12817
|
-
return hr(n) && j_(n.dataTransfer) ?
|
|
12817
|
+
return hr(n) && j_(n.dataTransfer) ? U_(n.dataTransfer, n.type) : H_(n) ? z_(n) : Array.isArray(n) && n.every((a) => "getFile" in a && typeof a.getFile == "function") ? V_(n) : [];
|
|
12818
12818
|
});
|
|
12819
12819
|
}
|
|
12820
12820
|
function j_(n) {
|
|
@@ -12834,13 +12834,13 @@ function V_(n) {
|
|
|
12834
12834
|
return (yield Promise.all(n.map((t) => t.getFile()))).map((t) => vn(t));
|
|
12835
12835
|
});
|
|
12836
12836
|
}
|
|
12837
|
-
function
|
|
12837
|
+
function U_(n, a) {
|
|
12838
12838
|
return Jt(this, void 0, void 0, function* () {
|
|
12839
12839
|
if (n.items) {
|
|
12840
12840
|
const t = xa(n.items).filter((r) => r.kind === "file");
|
|
12841
12841
|
if (a !== "drop")
|
|
12842
12842
|
return t;
|
|
12843
|
-
const e = yield Promise.all(t.map(
|
|
12843
|
+
const e = yield Promise.all(t.map(q_));
|
|
12844
12844
|
return ai(hs(e));
|
|
12845
12845
|
}
|
|
12846
12846
|
return ai(xa(n.files).map((t) => vn(t)));
|
|
@@ -12859,7 +12859,7 @@ function xa(n) {
|
|
|
12859
12859
|
}
|
|
12860
12860
|
return a;
|
|
12861
12861
|
}
|
|
12862
|
-
function
|
|
12862
|
+
function q_(n) {
|
|
12863
12863
|
if (typeof n.webkitGetAsEntry != "function")
|
|
12864
12864
|
return oi(n);
|
|
12865
12865
|
const a = n.webkitGetAsEntry();
|
|
@@ -13456,7 +13456,7 @@ function Es() {
|
|
|
13456
13456
|
return typeof y == "function" ? y : fi;
|
|
13457
13457
|
}, [y]), K = tn(function() {
|
|
13458
13458
|
return typeof b == "function" ? b : fi;
|
|
13459
|
-
}, [b]), te =
|
|
13459
|
+
}, [b]), te = Ae(null), W = Ae(null), V = Rs(Sg, Sa), G = ua(V, 2), $ = G[0], m = G[1], f = $.isFocused, g = $.isFileDialogActive, _ = Ae(typeof window < "u" && window.isSecureContext && C && cg()), c = function() {
|
|
13460
13460
|
!_.current && g && setTimeout(function() {
|
|
13461
13461
|
if (W.current) {
|
|
13462
13462
|
var ie = W.current.files;
|
|
@@ -13471,7 +13471,7 @@ function Es() {
|
|
|
13471
13471
|
window.removeEventListener("focus", c, !1);
|
|
13472
13472
|
};
|
|
13473
13473
|
}, [W, g, K, _]);
|
|
13474
|
-
var k =
|
|
13474
|
+
var k = Ae([]), B = function(ie) {
|
|
13475
13475
|
te.current && te.current.contains(ie.target) || (ie.preventDefault(), k.current = []);
|
|
13476
13476
|
};
|
|
13477
13477
|
Re(function() {
|
|
@@ -13482,10 +13482,10 @@ function Es() {
|
|
|
13482
13482
|
return !e && T && te.current && te.current.focus(), function() {
|
|
13483
13483
|
};
|
|
13484
13484
|
}, [te, T, e]);
|
|
13485
|
-
var
|
|
13485
|
+
var z = Ge(function(Z) {
|
|
13486
13486
|
P ? P(Z) : console.error(Z);
|
|
13487
|
-
}, [P]),
|
|
13488
|
-
Z.preventDefault(), Z.persist(),
|
|
13487
|
+
}, [P]), O = Ge(function(Z) {
|
|
13488
|
+
Z.preventDefault(), Z.persist(), ge(Z), k.current = [].concat(gg(k.current), [Z.target]), Qn(Z) && Promise.resolve(r(Z)).then(function(ie) {
|
|
13489
13489
|
if (!(vr(Z) && !Y)) {
|
|
13490
13490
|
var Me = ie.length, Pe = Me > 0 && og({
|
|
13491
13491
|
files: ie,
|
|
@@ -13504,10 +13504,10 @@ function Es() {
|
|
|
13504
13504
|
}), p && p(Z);
|
|
13505
13505
|
}
|
|
13506
13506
|
}).catch(function(ie) {
|
|
13507
|
-
return
|
|
13507
|
+
return z(ie);
|
|
13508
13508
|
});
|
|
13509
|
-
}, [r, p,
|
|
13510
|
-
Z.preventDefault(), Z.persist(),
|
|
13509
|
+
}, [r, p, z, Y, X, i, o, s, l, L]), H = Ge(function(Z) {
|
|
13510
|
+
Z.preventDefault(), Z.persist(), ge(Z);
|
|
13511
13511
|
var ie = Qn(Z);
|
|
13512
13512
|
if (ie && Z.dataTransfer)
|
|
13513
13513
|
try {
|
|
@@ -13515,8 +13515,8 @@ function Es() {
|
|
|
13515
13515
|
} catch {
|
|
13516
13516
|
}
|
|
13517
13517
|
return ie && d && d(Z), !1;
|
|
13518
|
-
}, [d, Y]),
|
|
13519
|
-
Z.preventDefault(), Z.persist(),
|
|
13518
|
+
}, [d, Y]), U = Ge(function(Z) {
|
|
13519
|
+
Z.preventDefault(), Z.persist(), ge(Z);
|
|
13520
13520
|
var ie = k.current.filter(function(Pe) {
|
|
13521
13521
|
return te.current && te.current.contains(Pe);
|
|
13522
13522
|
}), Me = ie.indexOf(Z.target);
|
|
@@ -13552,15 +13552,15 @@ function Es() {
|
|
|
13552
13552
|
isDragReject: Pe.length > 0,
|
|
13553
13553
|
type: "setFiles"
|
|
13554
13554
|
}), h && h(Me, Pe, ie), Pe.length > 0 && w && w(Pe, ie), Me.length > 0 && v && v(Me, ie);
|
|
13555
|
-
}, [m, s, X, i, o, l, h, v, w, L]),
|
|
13556
|
-
Z.preventDefault(), Z.persist(),
|
|
13555
|
+
}, [m, s, X, i, o, l, h, v, w, L]), q = Ge(function(Z) {
|
|
13556
|
+
Z.preventDefault(), Z.persist(), ge(Z), k.current = [], Qn(Z) && Promise.resolve(r(Z)).then(function(ie) {
|
|
13557
13557
|
vr(Z) && !Y || j(ie, Z);
|
|
13558
13558
|
}).catch(function(ie) {
|
|
13559
|
-
return
|
|
13559
|
+
return z(ie);
|
|
13560
13560
|
}), m({
|
|
13561
13561
|
type: "reset"
|
|
13562
13562
|
});
|
|
13563
|
-
}, [r, j,
|
|
13563
|
+
}, [r, j, z, Y]), F = Ge(function() {
|
|
13564
13564
|
if (_.current) {
|
|
13565
13565
|
m({
|
|
13566
13566
|
type: "openDialog"
|
|
@@ -13578,16 +13578,16 @@ function Es() {
|
|
|
13578
13578
|
}).catch(function(ie) {
|
|
13579
13579
|
dg(ie) ? (K(ie), m({
|
|
13580
13580
|
type: "closeDialog"
|
|
13581
|
-
})) : fg(ie) ? (_.current = !1, W.current ? (W.current.value = null, W.current.click()) :
|
|
13581
|
+
})) : fg(ie) ? (_.current = !1, W.current ? (W.current.value = null, W.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(ie);
|
|
13582
13582
|
});
|
|
13583
13583
|
return;
|
|
13584
13584
|
}
|
|
13585
13585
|
W.current && (m({
|
|
13586
13586
|
type: "openDialog"
|
|
13587
13587
|
}), ne(), W.current.value = null, W.current.click());
|
|
13588
|
-
}, [m, ne, K, C, j,
|
|
13588
|
+
}, [m, ne, K, C, j, z, le, s]), Q = Ge(function(Z) {
|
|
13589
13589
|
!te.current || !te.current.isEqualNode(Z.target) || (Z.key === " " || Z.key === "Enter" || Z.keyCode === 32 || Z.keyCode === 13) && (Z.preventDefault(), F());
|
|
13590
|
-
}, [te, F]),
|
|
13590
|
+
}, [te, F]), R = Ge(function() {
|
|
13591
13591
|
m({
|
|
13592
13592
|
type: "focus"
|
|
13593
13593
|
});
|
|
@@ -13603,26 +13603,26 @@ function Es() {
|
|
|
13603
13603
|
return x ? null : ae(ie);
|
|
13604
13604
|
}, fe = function(ie) {
|
|
13605
13605
|
return A ? null : ae(ie);
|
|
13606
|
-
},
|
|
13606
|
+
}, ge = function(ie) {
|
|
13607
13607
|
Y && ie.stopPropagation();
|
|
13608
|
-
},
|
|
13608
|
+
}, We = tn(function() {
|
|
13609
13609
|
return function() {
|
|
13610
13610
|
var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, ie = Z.refKey, Me = ie === void 0 ? "ref" : ie, 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, vg);
|
|
13611
13611
|
return Ee(Ee(Ca({
|
|
13612
13612
|
onKeyDown: de(mt(Je, Q)),
|
|
13613
|
-
onFocus: de(mt(gn,
|
|
13613
|
+
onFocus: de(mt(gn, R)),
|
|
13614
13614
|
onBlur: de(mt(en, J)),
|
|
13615
13615
|
onClick: ae(mt(Ir, ce)),
|
|
13616
|
-
onDragEnter: fe(mt(Or,
|
|
13616
|
+
onDragEnter: fe(mt(Or, O)),
|
|
13617
13617
|
onDragOver: fe(mt(Rr, H)),
|
|
13618
|
-
onDragLeave: fe(mt(Fn,
|
|
13619
|
-
onDrop: fe(mt(Lr,
|
|
13618
|
+
onDragLeave: fe(mt(Fn, U)),
|
|
13619
|
+
onDrop: fe(mt(Lr, q)),
|
|
13620
13620
|
role: typeof Pe == "string" && Pe !== "" ? Pe : "presentation"
|
|
13621
13621
|
}, Me, te), !e && !x ? {
|
|
13622
13622
|
tabIndex: 0
|
|
13623
13623
|
} : {}), Fr);
|
|
13624
13624
|
};
|
|
13625
|
-
}, [te, Q,
|
|
13625
|
+
}, [te, Q, R, J, ce, O, H, U, q, x, A, e]), Le = Ge(function(Z) {
|
|
13626
13626
|
Z.stopPropagation();
|
|
13627
13627
|
}, []), Ye = tn(function() {
|
|
13628
13628
|
return function() {
|
|
@@ -13642,16 +13642,16 @@ function Es() {
|
|
|
13642
13642
|
width: "1px",
|
|
13643
13643
|
whiteSpace: "nowrap"
|
|
13644
13644
|
},
|
|
13645
|
-
onChange: ae(mt(Pe,
|
|
13645
|
+
onChange: ae(mt(Pe, q)),
|
|
13646
13646
|
onClick: ae(mt(Je, Le)),
|
|
13647
13647
|
tabIndex: -1
|
|
13648
13648
|
}, Me, W);
|
|
13649
13649
|
return Ee(Ee({}, en), gn);
|
|
13650
13650
|
};
|
|
13651
|
-
}, [W, t, s,
|
|
13651
|
+
}, [W, t, s, q, e]);
|
|
13652
13652
|
return Ee(Ee({}, $), {}, {
|
|
13653
13653
|
isFocused: f && !e,
|
|
13654
|
-
getRootProps:
|
|
13654
|
+
getRootProps: We,
|
|
13655
13655
|
getInputProps: Ye,
|
|
13656
13656
|
rootRef: te,
|
|
13657
13657
|
inputRef: W,
|
|
@@ -13696,41 +13696,42 @@ function Sg(n, a) {
|
|
|
13696
13696
|
}
|
|
13697
13697
|
function fi() {
|
|
13698
13698
|
}
|
|
13699
|
-
const Mg = (n) => Es(n), Eg = "
|
|
13699
|
+
const Mg = (n) => Es(n), Eg = "_spUploadFiles_1fj75_43", Ng = "_spUploadFiles_error_1fj75_51", Tg = "_spUploadFiles__control_1fj75_51", Pg = "_spUploadFiles__fileNameContainer_1fj75_55", Ig = "_spUploadFiles__fileName_dragError_1fj75_59", Og = "_spUploadFiles__startIcon_error_1fj75_62", Rg = "_spUploadFiles__placeholderContainer_1fj75_65", Lg = "_spUploadFiles__placeholderContainer_withUloadTooltip_1fj75_75", Fg = "_spUploadFiles__placeholder_1fj75_65", Ag = "_spUploadFiles__control_loading_1fj75_107", Wg = "_shimmer_1fj75_1", Bg = "_spUploadFiles__fileName_1fj75_55", Yg = "_spUploadFiles__tooltip_1fj75_133", jg = "_spUploadFiles_fileUploaded_1fj75_162", Hg = "_spUploadFiles_disabled_1fj75_162", zg = "_spUploadFiles__fileNamesList_1fj75_173", Vg = "_spUploadFiles__fileNamesList_loading_1fj75_184", Ug = "_spUploadFiles__fileNamesListItem_1fj75_189", qg = "_spUploadFiles__fileNamesListItem__iconContainer_1fj75_226", $g = "_spUploadFiles__fileNamesListItem__iconContainer_error_1fj75_235", Qg = "_spUploadFiles__fileNamesListItem__mainContent_1fj75_240", Gg = "_spUploadFiles__fileNamesListItem__fileNameWrapper_1fj75_247", Kg = "_spUploadFiles__fileNamesListItem__fileName_1fj75_247", Xg = "_spUploadFiles__fileNamesListItem__fileNameTooltip_1fj75_254", Zg = "_spUploadFiles__fileNamesListItem__description_1fj75_257", Jg = "_spUploadFiles__fileNamesListItem__description__tooltipContent_1fj75_262", ew = "_spUploadFiles__fileNamesListItem__description_error_1fj75_265", tw = "_spUploadFiles__fileNamesListItemDelete_1fj75_268", nw = "_spUploadFiles__fileNamesListItemDelete_error_1fj75_285", rw = "_spUploadFiles__delete_1fj75_298", aw = "_spUploadFiles__delete_loading_1fj75_302", ow = "_spUploadFiles__error_1fj75_311", _e = {
|
|
13700
13700
|
spUploadFiles: Eg,
|
|
13701
13701
|
spUploadFiles_error: Ng,
|
|
13702
13702
|
spUploadFiles__control: Tg,
|
|
13703
13703
|
spUploadFiles__fileNameContainer: Pg,
|
|
13704
13704
|
spUploadFiles__fileName_dragError: Ig,
|
|
13705
|
-
|
|
13706
|
-
|
|
13707
|
-
|
|
13708
|
-
|
|
13709
|
-
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
|
|
13713
|
-
|
|
13714
|
-
|
|
13715
|
-
|
|
13716
|
-
|
|
13717
|
-
|
|
13718
|
-
|
|
13705
|
+
spUploadFiles__startIcon_error: Og,
|
|
13706
|
+
spUploadFiles__placeholderContainer: Rg,
|
|
13707
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_1fj75_68",
|
|
13708
|
+
spUploadFiles__placeholderContainer_withUloadTooltip: Lg,
|
|
13709
|
+
spUploadFiles__placeholder: Fg,
|
|
13710
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_1fj75_90",
|
|
13711
|
+
spUploadFiles__control_loading: Ag,
|
|
13712
|
+
shimmer: Wg,
|
|
13713
|
+
spUploadFiles__fileName: Bg,
|
|
13714
|
+
spUploadFiles__tooltip: Yg,
|
|
13715
|
+
spUploadFiles_fileUploaded: jg,
|
|
13716
|
+
spUploadFiles_disabled: Hg,
|
|
13717
|
+
spUploadFiles__fileNamesList: zg,
|
|
13718
|
+
spUploadFiles__fileNamesList_loading: Vg,
|
|
13719
|
+
spUploadFiles__fileNamesListItem: Ug,
|
|
13719
13720
|
spUploadFiles__fileNamesListItem__iconContainer: qg,
|
|
13720
|
-
spUploadFiles__fileNamesListItem__iconContainer_error:
|
|
13721
|
-
spUploadFiles__fileNamesListItem__mainContent:
|
|
13722
|
-
spUploadFiles__fileNamesListItem__fileNameWrapper:
|
|
13723
|
-
spUploadFiles__fileNamesListItem__fileName:
|
|
13724
|
-
spUploadFiles__fileNamesListItem__fileNameTooltip:
|
|
13725
|
-
spUploadFiles__fileNamesListItem__description:
|
|
13726
|
-
spUploadFiles__fileNamesListItem__description__tooltipContent:
|
|
13727
|
-
spUploadFiles__fileNamesListItem__description_error:
|
|
13728
|
-
spUploadFiles__fileNamesListItemDelete:
|
|
13729
|
-
spUploadFiles__fileNamesListItemDelete_error:
|
|
13730
|
-
spUploadFiles__delete:
|
|
13731
|
-
spUploadFiles__delete_loading:
|
|
13732
|
-
spUploadFiles__error:
|
|
13733
|
-
},
|
|
13721
|
+
spUploadFiles__fileNamesListItem__iconContainer_error: $g,
|
|
13722
|
+
spUploadFiles__fileNamesListItem__mainContent: Qg,
|
|
13723
|
+
spUploadFiles__fileNamesListItem__fileNameWrapper: Gg,
|
|
13724
|
+
spUploadFiles__fileNamesListItem__fileName: Kg,
|
|
13725
|
+
spUploadFiles__fileNamesListItem__fileNameTooltip: Xg,
|
|
13726
|
+
spUploadFiles__fileNamesListItem__description: Zg,
|
|
13727
|
+
spUploadFiles__fileNamesListItem__description__tooltipContent: Jg,
|
|
13728
|
+
spUploadFiles__fileNamesListItem__description_error: ew,
|
|
13729
|
+
spUploadFiles__fileNamesListItemDelete: tw,
|
|
13730
|
+
spUploadFiles__fileNamesListItemDelete_error: nw,
|
|
13731
|
+
spUploadFiles__delete: rw,
|
|
13732
|
+
spUploadFiles__delete_loading: aw,
|
|
13733
|
+
spUploadFiles__error: ow
|
|
13734
|
+
}, iw = (n) => {
|
|
13734
13735
|
switch (n.code) {
|
|
13735
13736
|
case pa.FileInvalidType:
|
|
13736
13737
|
return "Неверный формат файла";
|
|
@@ -13740,12 +13741,12 @@ const Mg = (n) => Es(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
|
|
|
13740
13741
|
default:
|
|
13741
13742
|
return "";
|
|
13742
13743
|
}
|
|
13743
|
-
},
|
|
13744
|
+
}, sw = (n, a = {}) => {
|
|
13744
13745
|
const { decimals: t = 1, space: e = !0 } = a;
|
|
13745
13746
|
if (n === 0) return "0" + (e ? " " : "") + "B";
|
|
13746
13747
|
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 ? " " : "";
|
|
13747
13748
|
return parseFloat((n / Math.pow(r, i)).toFixed(s)) + l + o[i];
|
|
13748
|
-
},
|
|
13749
|
+
}, Fw = (n) => {
|
|
13749
13750
|
const {
|
|
13750
13751
|
placeholder: a = "Загрузите файл",
|
|
13751
13752
|
variant: t = "input",
|
|
@@ -13761,17 +13762,17 @@ const Mg = (n) => Es(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
|
|
|
13761
13762
|
loading: h,
|
|
13762
13763
|
error: v
|
|
13763
13764
|
} = n, [w, b] = Ce([]), y = Ge(
|
|
13764
|
-
(
|
|
13765
|
-
const
|
|
13766
|
-
file:
|
|
13767
|
-
errors:
|
|
13765
|
+
(g, _) => {
|
|
13766
|
+
const c = _.map(({ file: B, errors: z }) => ({
|
|
13767
|
+
file: B,
|
|
13768
|
+
errors: z
|
|
13768
13769
|
}));
|
|
13769
13770
|
if (!s) {
|
|
13770
|
-
b([...
|
|
13771
|
+
b([...c]), r(g, e);
|
|
13771
13772
|
return;
|
|
13772
13773
|
}
|
|
13773
|
-
const
|
|
13774
|
-
b([...
|
|
13774
|
+
const k = [...l, ...g];
|
|
13775
|
+
b([...c, ...w]), r(k, e);
|
|
13775
13776
|
},
|
|
13776
13777
|
[w, l, s, e, r]
|
|
13777
13778
|
), { getRootProps: C, getInputProps: T } = Mg({
|
|
@@ -13779,45 +13780,45 @@ const Mg = (n) => Es(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
|
|
|
13779
13780
|
onDrop: y,
|
|
13780
13781
|
multiple: s,
|
|
13781
13782
|
disabled: i
|
|
13782
|
-
}), S = w ? (w == null ? void 0 : w.length) > 0 : void 0, D = [...l.map((
|
|
13783
|
-
[
|
|
13784
|
-
[
|
|
13785
|
-
[
|
|
13786
|
-
[
|
|
13787
|
-
[
|
|
13783
|
+
}), S = w ? (w == null ? void 0 : w.length) > 0 : void 0, D = [...l.map((g) => ({ file: g, errors: null })), ...w], x = (D == null ? void 0 : D.length) > 0 || (w == null ? void 0 : w.length) > 0, A = t === "input", Y = t === "dropzone", P = E({
|
|
13784
|
+
[_e.spUploadFiles]: !0,
|
|
13785
|
+
[_e[`spUploadFiles--variant-${t}`]]: t,
|
|
13786
|
+
[_e.spUploadFiles_error]: !s && (S || v && v.length > 0),
|
|
13787
|
+
[_e.spUploadFiles_disabled]: i,
|
|
13788
|
+
[_e.spUploadFiles_fileUploaded]: x,
|
|
13788
13789
|
...d && { [d]: !0 }
|
|
13789
13790
|
}), L = E({
|
|
13790
|
-
[
|
|
13791
|
-
[
|
|
13791
|
+
[_e.spUploadFiles__control]: !0,
|
|
13792
|
+
[_e.spUploadFiles__control_loading]: h
|
|
13792
13793
|
}), X = E({
|
|
13793
|
-
[
|
|
13794
|
-
[
|
|
13794
|
+
[_e.spUploadFiles__fileNamesList]: !0,
|
|
13795
|
+
[_e.spUploadFiles__fileNamesList_loading]: h
|
|
13795
13796
|
}), le = E({
|
|
13796
|
-
[
|
|
13797
|
-
[
|
|
13798
|
-
}), ne = (
|
|
13797
|
+
[_e.spUploadFiles__delete]: !0,
|
|
13798
|
+
[_e.spUploadFiles__delete_loading]: h
|
|
13799
|
+
}), ne = (g, _) => {
|
|
13799
13800
|
if (h)
|
|
13800
13801
|
return;
|
|
13801
|
-
if (
|
|
13802
|
-
const
|
|
13803
|
-
|
|
13802
|
+
if (_) {
|
|
13803
|
+
const B = [...w], z = B.findIndex((O) => O.file.name === g);
|
|
13804
|
+
B.splice(z, 1), b(B);
|
|
13804
13805
|
return;
|
|
13805
13806
|
}
|
|
13806
|
-
const
|
|
13807
|
-
|
|
13808
|
-
}, K = (
|
|
13809
|
-
|
|
13810
|
-
}, te = (
|
|
13807
|
+
const c = [...l], k = c.findIndex((B) => B.name === g);
|
|
13808
|
+
c.splice(k, 1), r(c, e);
|
|
13809
|
+
}, K = (g) => {
|
|
13810
|
+
g.stopPropagation(), r([], e), b([]);
|
|
13811
|
+
}, te = (g) => Object.values(g).flatMap((_) => _.map((c) => c.toUpperCase())).join(", "), W = () => {
|
|
13811
13812
|
if (S) {
|
|
13812
|
-
const
|
|
13813
|
+
const g = te(o);
|
|
13813
13814
|
return /* @__PURE__ */ M(
|
|
13814
13815
|
kn,
|
|
13815
13816
|
{
|
|
13816
|
-
text: `Неверный формат файла. Загрузите файл в формате ${
|
|
13817
|
-
classNameTooltipRoot: E(
|
|
13817
|
+
text: `Неверный формат файла. Загрузите файл в формате ${g}`,
|
|
13818
|
+
classNameTooltipRoot: E(_e.spUploadFiles__fileNameContainer),
|
|
13818
13819
|
classNameRoot: E(
|
|
13819
|
-
|
|
13820
|
-
S &&
|
|
13820
|
+
_e.spUploadFiles__fileName,
|
|
13821
|
+
S && _e.spUploadFiles__fileName_dragError
|
|
13821
13822
|
)
|
|
13822
13823
|
}
|
|
13823
13824
|
);
|
|
@@ -13826,53 +13827,53 @@ const Mg = (n) => Es(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
|
|
|
13826
13827
|
kn,
|
|
13827
13828
|
{
|
|
13828
13829
|
text: D[0].file.name,
|
|
13829
|
-
classNameTooltipRoot: E(
|
|
13830
|
-
classNameRoot: E(
|
|
13830
|
+
classNameTooltipRoot: E(_e.spUploadFiles__fileNameContainer),
|
|
13831
|
+
classNameRoot: E(_e.spUploadFiles__fileName)
|
|
13831
13832
|
}
|
|
13832
13833
|
);
|
|
13833
|
-
},
|
|
13834
|
-
const
|
|
13834
|
+
}, V = () => /* @__PURE__ */ M("ul", { className: X, children: D.map(({ file: g, errors: _ }, c) => {
|
|
13835
|
+
const k = _ ? (_ == null ? void 0 : _.length) > 0 : void 0, B = () => _ ? _ == null ? void 0 : _.map(iw).join(", ") : "";
|
|
13835
13836
|
return /* @__PURE__ */ ue(
|
|
13836
13837
|
"li",
|
|
13837
13838
|
{
|
|
13838
13839
|
className: E(
|
|
13839
|
-
|
|
13840
|
-
|
|
13840
|
+
_e.spUploadFiles__fileNamesListItem,
|
|
13841
|
+
k && _e.spUploadFiles__fileNamesListItem_error
|
|
13841
13842
|
),
|
|
13842
|
-
onClick: (
|
|
13843
|
-
|
|
13843
|
+
onClick: (z) => {
|
|
13844
|
+
z.stopPropagation();
|
|
13844
13845
|
},
|
|
13845
13846
|
children: [
|
|
13846
13847
|
/* @__PURE__ */ M(
|
|
13847
13848
|
"div",
|
|
13848
13849
|
{
|
|
13849
13850
|
className: E(
|
|
13850
|
-
|
|
13851
|
-
|
|
13851
|
+
_e.spUploadFiles__fileNamesListItem__iconContainer,
|
|
13852
|
+
k && _e.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
13852
13853
|
),
|
|
13853
|
-
children: /* @__PURE__ */ M(
|
|
13854
|
+
children: /* @__PURE__ */ M(Fe, { name: k ? pe.InfoError : pe.File })
|
|
13854
13855
|
}
|
|
13855
13856
|
),
|
|
13856
|
-
/* @__PURE__ */ ue("div", { className:
|
|
13857
|
+
/* @__PURE__ */ ue("div", { className: _e.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
13857
13858
|
/* @__PURE__ */ M(
|
|
13858
13859
|
kn,
|
|
13859
13860
|
{
|
|
13860
|
-
text:
|
|
13861
|
+
text: g.name,
|
|
13861
13862
|
defaultTooltipPosition: je.TopLeft,
|
|
13862
13863
|
isWithFixedEnd: !0,
|
|
13863
|
-
classNameRoot:
|
|
13864
|
-
classNameTooltipRoot:
|
|
13865
|
-
classNameBaseTooltipRoot:
|
|
13864
|
+
classNameRoot: _e.spUploadFiles__fileNamesListItem__fileName,
|
|
13865
|
+
classNameTooltipRoot: _e.spUploadFiles__fileNamesListItem__fileNameWrapper,
|
|
13866
|
+
classNameBaseTooltipRoot: _e.spUploadFiles__fileNamesListItem__fileNameTooltip
|
|
13866
13867
|
}
|
|
13867
13868
|
),
|
|
13868
13869
|
/* @__PURE__ */ M(
|
|
13869
13870
|
kn,
|
|
13870
13871
|
{
|
|
13871
|
-
text:
|
|
13872
|
-
classNameBaseTooltipRoot:
|
|
13872
|
+
text: k ? B() : sw(g.size),
|
|
13873
|
+
classNameBaseTooltipRoot: _e.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
13873
13874
|
classNameRoot: E(
|
|
13874
|
-
|
|
13875
|
-
|
|
13875
|
+
_e.spUploadFiles__fileNamesListItem__description,
|
|
13876
|
+
k && _e.spUploadFiles__fileNamesListItem__description_error
|
|
13876
13877
|
)
|
|
13877
13878
|
}
|
|
13878
13879
|
)
|
|
@@ -13880,39 +13881,46 @@ const Mg = (n) => Es(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
|
|
|
13880
13881
|
/* @__PURE__ */ M(
|
|
13881
13882
|
"div",
|
|
13882
13883
|
{
|
|
13883
|
-
className: E(
|
|
13884
|
-
onClick: (
|
|
13885
|
-
|
|
13884
|
+
className: E(_e.spUploadFiles__fileNamesListItemDelete),
|
|
13885
|
+
onClick: (z) => {
|
|
13886
|
+
z.stopPropagation(), ne(g.name, k);
|
|
13886
13887
|
},
|
|
13887
|
-
children: /* @__PURE__ */ M(
|
|
13888
|
+
children: /* @__PURE__ */ M(Fe, { name: pe.Close })
|
|
13888
13889
|
}
|
|
13889
13890
|
)
|
|
13890
13891
|
]
|
|
13891
13892
|
},
|
|
13892
|
-
|
|
13893
|
+
c
|
|
13893
13894
|
);
|
|
13894
|
-
}) }), G = () => s ?
|
|
13895
|
+
}) }), G = () => s ? V() : W(), $ = () => /* @__PURE__ */ M(
|
|
13895
13896
|
kn,
|
|
13896
13897
|
{
|
|
13897
|
-
classNameRoot:
|
|
13898
|
+
classNameRoot: _e.spUploadFiles__placeholder,
|
|
13898
13899
|
classNameTooltipRoot: E(
|
|
13899
|
-
|
|
13900
|
-
!!p &&
|
|
13900
|
+
_e.spUploadFiles__placeholderContainer,
|
|
13901
|
+
!!p && _e.spUploadFiles__placeholderContainer_withUloadTooltip
|
|
13901
13902
|
),
|
|
13902
13903
|
text: a
|
|
13903
13904
|
}
|
|
13904
13905
|
), m = () => /* @__PURE__ */ ue(Mn, { children: [
|
|
13905
13906
|
x ? G() : $(),
|
|
13906
|
-
x && A ? /* @__PURE__ */ M("div", { className: le, onClick: K, children: /* @__PURE__ */ M(
|
|
13907
|
+
x && A ? /* @__PURE__ */ M("div", { className: le, onClick: K, children: /* @__PURE__ */ M(Fe, { name: pe.Close }) }) : A && p && /* @__PURE__ */ M(
|
|
13907
13908
|
br,
|
|
13908
13909
|
{
|
|
13909
13910
|
hover: !0,
|
|
13910
13911
|
position: u,
|
|
13911
13912
|
text: p,
|
|
13912
|
-
classNameTooltip:
|
|
13913
|
+
classNameTooltip: _e.spUploadFiles__tooltip
|
|
13913
13914
|
}
|
|
13914
13915
|
)
|
|
13915
|
-
] })
|
|
13916
|
+
] }), f = () => s ? null : S && x ? /* @__PURE__ */ M(
|
|
13917
|
+
Fe,
|
|
13918
|
+
{
|
|
13919
|
+
className: _e.spUploadFiles__startIcon_error,
|
|
13920
|
+
name: pe.InfoError,
|
|
13921
|
+
style: { flexShrink: 0 }
|
|
13922
|
+
}
|
|
13923
|
+
) : x ? /* @__PURE__ */ M(Fe, { name: pe.Check, style: { flexShrink: 0 } }) : /* @__PURE__ */ M(Fe, { name: pe.Upload, style: { flexShrink: 0 } });
|
|
13916
13924
|
return /* @__PURE__ */ M(
|
|
13917
13925
|
Eh,
|
|
13918
13926
|
{
|
|
@@ -13927,33 +13935,27 @@ const Mg = (n) => Es(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
|
|
|
13927
13935
|
hover: !0,
|
|
13928
13936
|
text: p,
|
|
13929
13937
|
position: u,
|
|
13930
|
-
classNameTooltip:
|
|
13938
|
+
classNameTooltip: _e.spUploadFiles__tooltip,
|
|
13931
13939
|
trigger: void 0
|
|
13932
13940
|
}
|
|
13933
13941
|
),
|
|
13934
13942
|
/* @__PURE__ */ ue("div", { className: L, children: [
|
|
13935
|
-
A && (h ? /* @__PURE__ */ M(Ea, {}) :
|
|
13936
|
-
Be,
|
|
13937
|
-
{
|
|
13938
|
-
name: x ? pe.Check : pe.Upload,
|
|
13939
|
-
style: { flexShrink: 0 }
|
|
13940
|
-
}
|
|
13941
|
-
)),
|
|
13943
|
+
A && (h ? /* @__PURE__ */ M(Ea, {}) : f()),
|
|
13942
13944
|
m()
|
|
13943
13945
|
] }),
|
|
13944
|
-
v && /* @__PURE__ */ M("div", { className:
|
|
13946
|
+
v && /* @__PURE__ */ M("div", { className: _e.spUploadFiles__error, children: v })
|
|
13945
13947
|
] })
|
|
13946
13948
|
}
|
|
13947
13949
|
);
|
|
13948
|
-
},
|
|
13949
|
-
viewImageModal:
|
|
13950
|
-
viewImageModal__img:
|
|
13951
|
-
viewImageModal__img_loading:
|
|
13952
|
-
viewImageModal__img_error:
|
|
13953
|
-
viewImageModal__spinner:
|
|
13954
|
-
viewImageModal__layer:
|
|
13955
|
-
viewImageModal__closeButton:
|
|
13956
|
-
},
|
|
13950
|
+
}, lw = "_viewImageModal_1xwys_43", cw = "_viewImageModal__img_1xwys_66", pw = "_viewImageModal__img_loading_1xwys_79", uw = "_viewImageModal__img_error_1xwys_82", dw = "_viewImageModal__spinner_1xwys_85", fw = "_viewImageModal__layer_1xwys_112", mw = "_viewImageModal__closeButton_1xwys_117", Mt = {
|
|
13951
|
+
viewImageModal: lw,
|
|
13952
|
+
viewImageModal__img: cw,
|
|
13953
|
+
viewImageModal__img_loading: pw,
|
|
13954
|
+
viewImageModal__img_error: uw,
|
|
13955
|
+
viewImageModal__spinner: dw,
|
|
13956
|
+
viewImageModal__layer: fw,
|
|
13957
|
+
viewImageModal__closeButton: mw
|
|
13958
|
+
}, Aw = (n) => {
|
|
13957
13959
|
const {
|
|
13958
13960
|
classNameRoot: a,
|
|
13959
13961
|
classNameImageRoot: t,
|
|
@@ -13995,7 +13997,7 @@ const Mg = (n) => Es(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
|
|
|
13995
13997
|
}
|
|
13996
13998
|
),
|
|
13997
13999
|
d && /* @__PURE__ */ ue("div", { className: Mt.viewImage__errorWrapper, children: [
|
|
13998
|
-
/* @__PURE__ */ M(
|
|
14000
|
+
/* @__PURE__ */ M(Fe, { name: pe.InfoError, className: Mt.viewImage__errorIcon }),
|
|
13999
14001
|
/* @__PURE__ */ M(st, { children: "Не удалось загрузить изображение" })
|
|
14000
14002
|
] })
|
|
14001
14003
|
] }),
|
|
@@ -14013,43 +14015,43 @@ const Mg = (n) => Es(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
|
|
|
14013
14015
|
] });
|
|
14014
14016
|
};
|
|
14015
14017
|
export {
|
|
14016
|
-
|
|
14018
|
+
ww as Accordion,
|
|
14017
14019
|
Vl as ApplyButtons,
|
|
14018
|
-
|
|
14020
|
+
yw as AuthProtected,
|
|
14019
14021
|
yi as BaseTooltip,
|
|
14020
|
-
|
|
14022
|
+
xw as Breadcrumb,
|
|
14021
14023
|
tr as Button,
|
|
14022
|
-
|
|
14024
|
+
kw as Checkbox,
|
|
14023
14025
|
ac as Confirm,
|
|
14024
|
-
|
|
14025
|
-
|
|
14026
|
+
Dw as ContextMenu,
|
|
14027
|
+
Cw as DatePicker,
|
|
14026
14028
|
ls as DatePickerInput,
|
|
14027
14029
|
Eh as DefaultDropzone,
|
|
14028
|
-
|
|
14030
|
+
Sw as Dropdown,
|
|
14029
14031
|
pe as EIconName,
|
|
14030
14032
|
je as ETooltipPosition,
|
|
14031
14033
|
kn as EllipsisTextWithTooltip,
|
|
14032
|
-
|
|
14033
|
-
|
|
14034
|
+
Mw as Form,
|
|
14035
|
+
Fe as Icon,
|
|
14034
14036
|
br as InfoTooltip,
|
|
14035
14037
|
tv as Input,
|
|
14036
14038
|
Pr as Label,
|
|
14037
14039
|
bi as Layer,
|
|
14038
14040
|
nv as MediaContext,
|
|
14039
|
-
|
|
14041
|
+
Nw as MediaContextProvider,
|
|
14040
14042
|
rc as Modal,
|
|
14041
14043
|
wi as Portal,
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14044
|
+
Tw as ProgressWrapper,
|
|
14045
|
+
Pw as Select,
|
|
14046
|
+
Iw as Skeleton,
|
|
14045
14047
|
Ea as Spinner,
|
|
14046
|
-
|
|
14047
|
-
|
|
14048
|
+
Ow as Table,
|
|
14049
|
+
Rw as Tabs,
|
|
14048
14050
|
st as Text,
|
|
14049
|
-
|
|
14051
|
+
Lw as TextWithLabel,
|
|
14050
14052
|
wr as Tooltip,
|
|
14051
|
-
|
|
14052
|
-
|
|
14053
|
+
Fw as UploadFiles,
|
|
14054
|
+
Aw as ViewImageModal,
|
|
14053
14055
|
Vv as useAnimatedValue,
|
|
14054
|
-
|
|
14056
|
+
bw as useModal
|
|
14055
14057
|
};
|