@elcrm/form 0.0.40 → 0.0.42
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/index.css +1 -1
- package/dist/index.es.js +572 -571
- package/dist/index.umd.js +33 -33
- package/dist/src/lib/Input.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import U, { forwardRef as Jt, useEffect as Zt } from "react";
|
|
2
2
|
import { createPortal as Mt } from "react-dom";
|
|
3
|
-
import './index.css';const Vt = "0.0.
|
|
3
|
+
import './index.css';const Vt = "0.0.42", Xt = {
|
|
4
4
|
version: Vt
|
|
5
5
|
};
|
|
6
6
|
var Tt = { exports: {} }, mt = {};
|
|
@@ -18,14 +18,14 @@ function Qt() {
|
|
|
18
18
|
if ($t) return mt;
|
|
19
19
|
$t = 1;
|
|
20
20
|
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
-
function
|
|
21
|
+
function D(x, s, v) {
|
|
22
22
|
var o, d = {}, b = null, C = null;
|
|
23
23
|
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
24
24
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
25
25
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
26
26
|
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
27
27
|
}
|
|
28
|
-
return mt.Fragment = c, mt.jsx =
|
|
28
|
+
return mt.Fragment = c, mt.jsx = D, mt.jsxs = D, mt;
|
|
29
29
|
}
|
|
30
30
|
var yt = {};
|
|
31
31
|
/**
|
|
@@ -40,14 +40,14 @@ var yt = {};
|
|
|
40
40
|
var At;
|
|
41
41
|
function er() {
|
|
42
42
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"),
|
|
44
|
-
function
|
|
43
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, L = "@@iterator";
|
|
44
|
+
function F(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var t =
|
|
47
|
+
var t = N && e[N] || e[L];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
50
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function p(e) {
|
|
52
52
|
{
|
|
53
53
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
@@ -57,7 +57,7 @@ function er() {
|
|
|
57
57
|
}
|
|
58
58
|
function M(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var a =
|
|
60
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
62
62
|
var m = r.map(function(l) {
|
|
63
63
|
return String(l);
|
|
@@ -65,16 +65,16 @@ function er() {
|
|
|
65
65
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S ||
|
|
68
|
+
var K = !1, Y = !1, W = !1, q = !1, I = !1, R;
|
|
69
|
+
R = Symbol.for("react.module.reference");
|
|
70
|
+
function E(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || I || e === y || e === v || e === o || q || e === C || K || Y || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
75
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === R || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function A(e, t, r) {
|
|
78
78
|
var a = e.displayName;
|
|
79
79
|
if (a)
|
|
80
80
|
return a;
|
|
@@ -110,11 +110,11 @@ function er() {
|
|
|
110
110
|
case x:
|
|
111
111
|
var t = e;
|
|
112
112
|
return h(t) + ".Consumer";
|
|
113
|
-
case
|
|
113
|
+
case D:
|
|
114
114
|
var r = e;
|
|
115
115
|
return h(r._context) + ".Provider";
|
|
116
116
|
case s:
|
|
117
|
-
return
|
|
117
|
+
return A(e, e.render, "ForwardRef");
|
|
118
118
|
case d:
|
|
119
119
|
var a = e.displayName || null;
|
|
120
120
|
return a !== null ? a : k(e.type) || "Memo";
|
|
@@ -191,7 +191,7 @@ function er() {
|
|
|
191
191
|
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var le =
|
|
194
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
195
195
|
function te(e, t, r) {
|
|
196
196
|
{
|
|
197
197
|
if (ce === void 0)
|
|
@@ -236,40 +236,40 @@ function er() {
|
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(l, []);
|
|
239
|
-
} catch (
|
|
240
|
-
a =
|
|
239
|
+
} catch (P) {
|
|
240
|
+
a = P;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], l);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
l.call();
|
|
246
|
-
} catch (
|
|
247
|
-
a =
|
|
246
|
+
} catch (P) {
|
|
247
|
+
a = P;
|
|
248
248
|
}
|
|
249
249
|
e.call(l.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
a =
|
|
254
|
+
} catch (P) {
|
|
255
|
+
a = P;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var i =
|
|
262
|
-
`),
|
|
263
|
-
`), w = i.length - 1, j =
|
|
259
|
+
} catch (P) {
|
|
260
|
+
if (P && a && typeof P.stack == "string") {
|
|
261
|
+
for (var i = P.stack.split(`
|
|
262
|
+
`), T = a.stack.split(`
|
|
263
|
+
`), w = i.length - 1, j = T.length - 1; w >= 1 && j >= 0 && i[w] !== T[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
266
|
-
if (i[w] !==
|
|
266
|
+
if (i[w] !== T[j]) {
|
|
267
267
|
if (w !== 1 || j !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (w--, j--, j < 0 || i[w] !==
|
|
270
|
-
var
|
|
269
|
+
if (w--, j--, j < 0 || i[w] !== T[j]) {
|
|
270
|
+
var B = `
|
|
271
271
|
` + i[w].replace(" at new ", " at ");
|
|
272
|
-
return e.displayName &&
|
|
272
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
273
273
|
}
|
|
274
274
|
while (w >= 1 && j >= 0);
|
|
275
275
|
break;
|
|
@@ -317,7 +317,7 @@ function er() {
|
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var V = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
320
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
321
321
|
function ae(e) {
|
|
322
322
|
if (e) {
|
|
323
323
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -333,8 +333,8 @@ function er() {
|
|
|
333
333
|
var i = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw T.name = "Invariant Violation", T;
|
|
338
338
|
}
|
|
339
339
|
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (w) {
|
|
@@ -368,7 +368,7 @@ function er() {
|
|
|
368
368
|
if (Je(e))
|
|
369
369
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
370
370
|
}
|
|
371
|
-
var Ee =
|
|
371
|
+
var Ee = O.ReactCurrentOwner, Ze = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
@@ -446,8 +446,8 @@ function er() {
|
|
|
446
446
|
};
|
|
447
447
|
function nt(e, t, r, a, f) {
|
|
448
448
|
{
|
|
449
|
-
var m, l = {}, i = null,
|
|
450
|
-
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (
|
|
449
|
+
var m, l = {}, i = null, T = null;
|
|
450
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (T = t.ref, Qe(t, f));
|
|
451
451
|
for (m in t)
|
|
452
452
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
@@ -455,14 +455,14 @@ function er() {
|
|
|
455
455
|
for (m in w)
|
|
456
456
|
l[m] === void 0 && (l[m] = w[m]);
|
|
457
457
|
}
|
|
458
|
-
if (i ||
|
|
458
|
+
if (i || T) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
i && et(l, j),
|
|
460
|
+
i && et(l, j), T && tt(l, j);
|
|
461
461
|
}
|
|
462
|
-
return rt(e, i,
|
|
462
|
+
return rt(e, i, T, f, a, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
var fe =
|
|
465
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
466
466
|
function J(e) {
|
|
467
467
|
if (e) {
|
|
468
468
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -528,7 +528,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
528
528
|
else if (me(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var f =
|
|
531
|
+
var f = F(e);
|
|
532
532
|
if (typeof f == "function" && f !== e.entries)
|
|
533
533
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
534
534
|
me(l.value) && Fe(l.value, t);
|
|
@@ -575,12 +575,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
575
575
|
var Me = {};
|
|
576
576
|
function $e(e, t, r, a, f, m) {
|
|
577
577
|
{
|
|
578
|
-
var l =
|
|
578
|
+
var l = E(e);
|
|
579
579
|
if (!l) {
|
|
580
580
|
var i = "";
|
|
581
581
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var
|
|
583
|
-
|
|
582
|
+
var T = at();
|
|
583
|
+
T ? i += T : i += Pe();
|
|
584
584
|
var w;
|
|
585
585
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
586
586
|
}
|
|
@@ -588,24 +588,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
588
588
|
if (j == null)
|
|
589
589
|
return j;
|
|
590
590
|
if (l) {
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
591
|
+
var B = t.children;
|
|
592
|
+
if (B !== void 0)
|
|
593
593
|
if (a)
|
|
594
|
-
if (de(
|
|
595
|
-
for (var Z = 0; Z <
|
|
596
|
-
Ie(
|
|
597
|
-
Object.freeze && Object.freeze(
|
|
594
|
+
if (de(B)) {
|
|
595
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
596
|
+
Ie(B[Z], e);
|
|
597
|
+
Object.freeze && Object.freeze(B);
|
|
598
598
|
} else
|
|
599
599
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
600
|
else
|
|
601
|
-
Ie(
|
|
601
|
+
Ie(B, e);
|
|
602
602
|
}
|
|
603
603
|
if (V.call(t, "key")) {
|
|
604
|
-
var z = k(e),
|
|
604
|
+
var z = k(e), P = Object.keys(t).filter(function(ft) {
|
|
605
605
|
return ft !== "key";
|
|
606
|
-
}), ye =
|
|
606
|
+
}), ye = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!Me[z + ye]) {
|
|
608
|
-
var dt =
|
|
608
|
+
var dt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
|
|
609
609
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
610
610
|
let props = %s;
|
|
611
611
|
<%s {...props} />
|
|
@@ -670,7 +670,7 @@ ee.Blur = (n) => {
|
|
|
670
670
|
n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
ee.ContentEditable = "plaintext-only";
|
|
673
|
-
const tr = "
|
|
673
|
+
const tr = "_l_qo8dp_12", rr = "_f_qo8dp_36", nr = "_n_qo8dp_54", ar = "_w_qo8dp_60", or = "_t_qo8dp_70", _r = "_g_qo8dp_75", ir = "_h_qo8dp_79", _e = {
|
|
674
674
|
l: tr,
|
|
675
675
|
f: rr,
|
|
676
676
|
n: nr,
|
|
@@ -686,7 +686,7 @@ const tr = "_l_fqry8_12", rr = "_f_fqry8_36", nr = "_n_fqry8_54", ar = "_w_fqry8
|
|
|
686
686
|
title: u,
|
|
687
687
|
before: y,
|
|
688
688
|
after: S,
|
|
689
|
-
children:
|
|
689
|
+
children: D
|
|
690
690
|
}, x) => /* @__PURE__ */ g.jsxs(
|
|
691
691
|
"dl",
|
|
692
692
|
{
|
|
@@ -704,7 +704,7 @@ const tr = "_l_fqry8_12", rr = "_f_fqry8_36", nr = "_n_fqry8_54", ar = "_w_fqry8
|
|
|
704
704
|
" "
|
|
705
705
|
),
|
|
706
706
|
..._.props,
|
|
707
|
-
children:
|
|
707
|
+
children: D
|
|
708
708
|
}
|
|
709
709
|
),
|
|
710
710
|
S
|
|
@@ -719,7 +719,7 @@ function wn({
|
|
|
719
719
|
name: u,
|
|
720
720
|
placeholder: y = "",
|
|
721
721
|
title: S = "",
|
|
722
|
-
error:
|
|
722
|
+
error: D = "",
|
|
723
723
|
hide: x = !1,
|
|
724
724
|
edit: s = !0,
|
|
725
725
|
active: v = !0,
|
|
@@ -727,58 +727,59 @@ function wn({
|
|
|
727
727
|
before: d = "",
|
|
728
728
|
show: b = !0,
|
|
729
729
|
maxLength: C,
|
|
730
|
-
onSave:
|
|
731
|
-
className:
|
|
732
|
-
|
|
733
|
-
|
|
730
|
+
onSave: N,
|
|
731
|
+
className: L = "",
|
|
732
|
+
spellCheck: F = !0,
|
|
733
|
+
isCopy: O = !0,
|
|
734
|
+
isReload: p = !1
|
|
734
735
|
}) {
|
|
735
|
-
let
|
|
736
|
+
let M = !!(x && (_ === "" || _ === void 0)), K = (R) => {
|
|
736
737
|
c && c({
|
|
737
738
|
value: R.target.textContent.trim(),
|
|
738
739
|
name: u,
|
|
739
|
-
reload:
|
|
740
|
+
reload: p
|
|
740
741
|
});
|
|
741
|
-
},
|
|
742
|
+
}, Y = (R) => {
|
|
742
743
|
C && R.target.textContent.trim().length >= C && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
|
|
743
|
-
},
|
|
744
|
-
R.preventDefault(), navigator.clipboard.readText().then((
|
|
744
|
+
}, W = (R) => {
|
|
745
|
+
R.preventDefault(), navigator.clipboard.readText().then((E) => {
|
|
745
746
|
if (C) {
|
|
746
|
-
let
|
|
747
|
-
if (
|
|
748
|
-
C -=
|
|
747
|
+
let A = R.target.textContent.length;
|
|
748
|
+
if (A >= C) return;
|
|
749
|
+
C -= A, E = E.slice(0, C);
|
|
749
750
|
}
|
|
750
751
|
window.document.execCommand(
|
|
751
752
|
"insertText",
|
|
752
753
|
!1,
|
|
753
|
-
|
|
754
|
+
E.replace(/(\r\n|\n|\r)/gm, " ")
|
|
754
755
|
);
|
|
755
|
-
}).catch((
|
|
756
|
+
}).catch((E) => {
|
|
756
757
|
});
|
|
757
758
|
};
|
|
758
|
-
if (!(s && v) && !b || !(s && v) &&
|
|
759
|
-
const
|
|
760
|
-
y && (
|
|
761
|
-
const
|
|
762
|
-
ee.Blur(R),
|
|
759
|
+
if (!(s && v) && !b || !(s && v) && M) return "";
|
|
760
|
+
const q = {};
|
|
761
|
+
y && (q.placeholder = y), s && v && (q.edit = "");
|
|
762
|
+
const I = (R) => {
|
|
763
|
+
ee.Blur(R), N == null || N({ value: R.target.textContent.trim(), name: u });
|
|
763
764
|
};
|
|
764
765
|
return /* @__PURE__ */ g.jsx(
|
|
765
766
|
Be,
|
|
766
767
|
{
|
|
767
768
|
type: "input",
|
|
768
769
|
title: S,
|
|
769
|
-
element_blok: { className: [
|
|
770
|
+
element_blok: { className: [L] },
|
|
770
771
|
element_input: { className: [_e.w] },
|
|
771
772
|
children: /* @__PURE__ */ g.jsx(
|
|
772
773
|
"div",
|
|
773
774
|
{
|
|
774
|
-
onBlur:
|
|
775
|
-
onPaste:
|
|
776
|
-
onInput:
|
|
777
|
-
onKeyDown:
|
|
778
|
-
spellCheck:
|
|
775
|
+
onBlur: I,
|
|
776
|
+
onPaste: W,
|
|
777
|
+
onInput: K,
|
|
778
|
+
onKeyDown: Y,
|
|
779
|
+
spellCheck: F,
|
|
779
780
|
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
780
781
|
suppressContentEditableWarning: !0,
|
|
781
|
-
...
|
|
782
|
+
...q,
|
|
782
783
|
children: _
|
|
783
784
|
}
|
|
784
785
|
)
|
|
@@ -800,14 +801,14 @@ function sr() {
|
|
|
800
801
|
if (Bt) return vt;
|
|
801
802
|
Bt = 1;
|
|
802
803
|
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
803
|
-
function
|
|
804
|
+
function D(x, s, v) {
|
|
804
805
|
var o, d = {}, b = null, C = null;
|
|
805
806
|
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
806
807
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
807
808
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
808
809
|
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
809
810
|
}
|
|
810
|
-
return vt.Fragment = c, vt.jsx =
|
|
811
|
+
return vt.Fragment = c, vt.jsx = D, vt.jsxs = D, vt;
|
|
811
812
|
}
|
|
812
813
|
var kt = {};
|
|
813
814
|
/**
|
|
@@ -822,14 +823,14 @@ var kt = {};
|
|
|
822
823
|
var Lt;
|
|
823
824
|
function lr() {
|
|
824
825
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
825
|
-
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"),
|
|
826
|
-
function
|
|
826
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, L = "@@iterator";
|
|
827
|
+
function F(e) {
|
|
827
828
|
if (e === null || typeof e != "object")
|
|
828
829
|
return null;
|
|
829
|
-
var t =
|
|
830
|
+
var t = N && e[N] || e[L];
|
|
830
831
|
return typeof t == "function" ? t : null;
|
|
831
832
|
}
|
|
832
|
-
var
|
|
833
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
833
834
|
function p(e) {
|
|
834
835
|
{
|
|
835
836
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
@@ -839,7 +840,7 @@ function lr() {
|
|
|
839
840
|
}
|
|
840
841
|
function M(e, t, r) {
|
|
841
842
|
{
|
|
842
|
-
var a =
|
|
843
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
843
844
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
844
845
|
var m = r.map(function(l) {
|
|
845
846
|
return String(l);
|
|
@@ -847,16 +848,16 @@ function lr() {
|
|
|
847
848
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
848
849
|
}
|
|
849
850
|
}
|
|
850
|
-
var
|
|
851
|
-
|
|
852
|
-
function
|
|
853
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S ||
|
|
851
|
+
var K = !1, Y = !1, W = !1, q = !1, I = !1, R;
|
|
852
|
+
R = Symbol.for("react.module.reference");
|
|
853
|
+
function E(e) {
|
|
854
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || I || e === y || e === v || e === o || q || e === C || K || Y || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
854
855
|
// types supported by any Flight configuration anywhere since
|
|
855
856
|
// we don't know which Flight build this will end up being used
|
|
856
857
|
// with.
|
|
857
|
-
e.$$typeof ===
|
|
858
|
+
e.$$typeof === R || e.getModuleId !== void 0));
|
|
858
859
|
}
|
|
859
|
-
function
|
|
860
|
+
function A(e, t, r) {
|
|
860
861
|
var a = e.displayName;
|
|
861
862
|
if (a)
|
|
862
863
|
return a;
|
|
@@ -892,11 +893,11 @@ function lr() {
|
|
|
892
893
|
case x:
|
|
893
894
|
var t = e;
|
|
894
895
|
return h(t) + ".Consumer";
|
|
895
|
-
case
|
|
896
|
+
case D:
|
|
896
897
|
var r = e;
|
|
897
898
|
return h(r._context) + ".Provider";
|
|
898
899
|
case s:
|
|
899
|
-
return
|
|
900
|
+
return A(e, e.render, "ForwardRef");
|
|
900
901
|
case d:
|
|
901
902
|
var a = e.displayName || null;
|
|
902
903
|
return a !== null ? a : k(e.type) || "Memo";
|
|
@@ -973,7 +974,7 @@ function lr() {
|
|
|
973
974
|
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
974
975
|
}
|
|
975
976
|
}
|
|
976
|
-
var le =
|
|
977
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
977
978
|
function te(e, t, r) {
|
|
978
979
|
{
|
|
979
980
|
if (ce === void 0)
|
|
@@ -1018,40 +1019,40 @@ function lr() {
|
|
|
1018
1019
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1019
1020
|
try {
|
|
1020
1021
|
Reflect.construct(l, []);
|
|
1021
|
-
} catch (
|
|
1022
|
-
a =
|
|
1022
|
+
} catch (P) {
|
|
1023
|
+
a = P;
|
|
1023
1024
|
}
|
|
1024
1025
|
Reflect.construct(e, [], l);
|
|
1025
1026
|
} else {
|
|
1026
1027
|
try {
|
|
1027
1028
|
l.call();
|
|
1028
|
-
} catch (
|
|
1029
|
-
a =
|
|
1029
|
+
} catch (P) {
|
|
1030
|
+
a = P;
|
|
1030
1031
|
}
|
|
1031
1032
|
e.call(l.prototype);
|
|
1032
1033
|
}
|
|
1033
1034
|
} else {
|
|
1034
1035
|
try {
|
|
1035
1036
|
throw Error();
|
|
1036
|
-
} catch (
|
|
1037
|
-
a =
|
|
1037
|
+
} catch (P) {
|
|
1038
|
+
a = P;
|
|
1038
1039
|
}
|
|
1039
1040
|
e();
|
|
1040
1041
|
}
|
|
1041
|
-
} catch (
|
|
1042
|
-
if (
|
|
1043
|
-
for (var i =
|
|
1044
|
-
`),
|
|
1045
|
-
`), w = i.length - 1, j =
|
|
1042
|
+
} catch (P) {
|
|
1043
|
+
if (P && a && typeof P.stack == "string") {
|
|
1044
|
+
for (var i = P.stack.split(`
|
|
1045
|
+
`), T = a.stack.split(`
|
|
1046
|
+
`), w = i.length - 1, j = T.length - 1; w >= 1 && j >= 0 && i[w] !== T[j]; )
|
|
1046
1047
|
j--;
|
|
1047
1048
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1048
|
-
if (i[w] !==
|
|
1049
|
+
if (i[w] !== T[j]) {
|
|
1049
1050
|
if (w !== 1 || j !== 1)
|
|
1050
1051
|
do
|
|
1051
|
-
if (w--, j--, j < 0 || i[w] !==
|
|
1052
|
-
var
|
|
1052
|
+
if (w--, j--, j < 0 || i[w] !== T[j]) {
|
|
1053
|
+
var B = `
|
|
1053
1054
|
` + i[w].replace(" at new ", " at ");
|
|
1054
|
-
return e.displayName &&
|
|
1055
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
1055
1056
|
}
|
|
1056
1057
|
while (w >= 1 && j >= 0);
|
|
1057
1058
|
break;
|
|
@@ -1099,7 +1100,7 @@ function lr() {
|
|
|
1099
1100
|
}
|
|
1100
1101
|
return "";
|
|
1101
1102
|
}
|
|
1102
|
-
var V = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
1103
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
1103
1104
|
function ae(e) {
|
|
1104
1105
|
if (e) {
|
|
1105
1106
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -1115,8 +1116,8 @@ function lr() {
|
|
|
1115
1116
|
var i = void 0;
|
|
1116
1117
|
try {
|
|
1117
1118
|
if (typeof e[l] != "function") {
|
|
1118
|
-
var
|
|
1119
|
-
throw
|
|
1119
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1120
|
+
throw T.name = "Invariant Violation", T;
|
|
1120
1121
|
}
|
|
1121
1122
|
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1122
1123
|
} catch (w) {
|
|
@@ -1150,7 +1151,7 @@ function lr() {
|
|
|
1150
1151
|
if (Je(e))
|
|
1151
1152
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
1152
1153
|
}
|
|
1153
|
-
var Ee =
|
|
1154
|
+
var Ee = O.ReactCurrentOwner, Ze = {
|
|
1154
1155
|
key: !0,
|
|
1155
1156
|
ref: !0,
|
|
1156
1157
|
__self: !0,
|
|
@@ -1228,8 +1229,8 @@ function lr() {
|
|
|
1228
1229
|
};
|
|
1229
1230
|
function nt(e, t, r, a, f) {
|
|
1230
1231
|
{
|
|
1231
|
-
var m, l = {}, i = null,
|
|
1232
|
-
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (
|
|
1232
|
+
var m, l = {}, i = null, T = null;
|
|
1233
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (T = t.ref, Qe(t));
|
|
1233
1234
|
for (m in t)
|
|
1234
1235
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1235
1236
|
if (e && e.defaultProps) {
|
|
@@ -1237,14 +1238,14 @@ function lr() {
|
|
|
1237
1238
|
for (m in w)
|
|
1238
1239
|
l[m] === void 0 && (l[m] = w[m]);
|
|
1239
1240
|
}
|
|
1240
|
-
if (i ||
|
|
1241
|
+
if (i || T) {
|
|
1241
1242
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1242
|
-
i && et(l, j),
|
|
1243
|
+
i && et(l, j), T && tt(l, j);
|
|
1243
1244
|
}
|
|
1244
|
-
return rt(e, i,
|
|
1245
|
+
return rt(e, i, T, f, a, Ee.current, l);
|
|
1245
1246
|
}
|
|
1246
1247
|
}
|
|
1247
|
-
var fe =
|
|
1248
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
1248
1249
|
function J(e) {
|
|
1249
1250
|
if (e) {
|
|
1250
1251
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -1310,7 +1311,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1310
1311
|
else if (me(e))
|
|
1311
1312
|
e._store && (e._store.validated = !0);
|
|
1312
1313
|
else if (e) {
|
|
1313
|
-
var f =
|
|
1314
|
+
var f = F(e);
|
|
1314
1315
|
if (typeof f == "function" && f !== e.entries)
|
|
1315
1316
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
1316
1317
|
me(l.value) && Fe(l.value, t);
|
|
@@ -1357,12 +1358,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1357
1358
|
var Me = {};
|
|
1358
1359
|
function $e(e, t, r, a, f, m) {
|
|
1359
1360
|
{
|
|
1360
|
-
var l =
|
|
1361
|
+
var l = E(e);
|
|
1361
1362
|
if (!l) {
|
|
1362
1363
|
var i = "";
|
|
1363
1364
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1364
|
-
var
|
|
1365
|
-
|
|
1365
|
+
var T = at();
|
|
1366
|
+
T ? i += T : i += Pe();
|
|
1366
1367
|
var w;
|
|
1367
1368
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
1368
1369
|
}
|
|
@@ -1370,24 +1371,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1370
1371
|
if (j == null)
|
|
1371
1372
|
return j;
|
|
1372
1373
|
if (l) {
|
|
1373
|
-
var
|
|
1374
|
-
if (
|
|
1374
|
+
var B = t.children;
|
|
1375
|
+
if (B !== void 0)
|
|
1375
1376
|
if (a)
|
|
1376
|
-
if (de(
|
|
1377
|
-
for (var Z = 0; Z <
|
|
1378
|
-
Ie(
|
|
1379
|
-
Object.freeze && Object.freeze(
|
|
1377
|
+
if (de(B)) {
|
|
1378
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
1379
|
+
Ie(B[Z], e);
|
|
1380
|
+
Object.freeze && Object.freeze(B);
|
|
1380
1381
|
} else
|
|
1381
1382
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1382
1383
|
else
|
|
1383
|
-
Ie(
|
|
1384
|
+
Ie(B, e);
|
|
1384
1385
|
}
|
|
1385
1386
|
if (V.call(t, "key")) {
|
|
1386
|
-
var z = k(e),
|
|
1387
|
+
var z = k(e), P = Object.keys(t).filter(function(ft) {
|
|
1387
1388
|
return ft !== "key";
|
|
1388
|
-
}), ye =
|
|
1389
|
+
}), ye = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1389
1390
|
if (!Me[z + ye]) {
|
|
1390
|
-
var dt =
|
|
1391
|
+
var dt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
|
|
1391
1392
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
1392
1393
|
let props = %s;
|
|
1393
1394
|
<%s {...props} />
|
|
@@ -1509,14 +1510,14 @@ function Ar() {
|
|
|
1509
1510
|
if (Ut) return gt;
|
|
1510
1511
|
Ut = 1;
|
|
1511
1512
|
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1512
|
-
function
|
|
1513
|
+
function D(x, s, v) {
|
|
1513
1514
|
var o, d = {}, b = null, C = null;
|
|
1514
1515
|
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
1515
1516
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
1516
1517
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
1517
1518
|
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
1518
1519
|
}
|
|
1519
|
-
return gt.Fragment = c, gt.jsx =
|
|
1520
|
+
return gt.Fragment = c, gt.jsx = D, gt.jsxs = D, gt;
|
|
1520
1521
|
}
|
|
1521
1522
|
var wt = {};
|
|
1522
1523
|
/**
|
|
@@ -1531,14 +1532,14 @@ var wt = {};
|
|
|
1531
1532
|
var qt;
|
|
1532
1533
|
function Br() {
|
|
1533
1534
|
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1534
|
-
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"),
|
|
1535
|
-
function
|
|
1535
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, L = "@@iterator";
|
|
1536
|
+
function F(e) {
|
|
1536
1537
|
if (e === null || typeof e != "object")
|
|
1537
1538
|
return null;
|
|
1538
|
-
var t =
|
|
1539
|
+
var t = N && e[N] || e[L];
|
|
1539
1540
|
return typeof t == "function" ? t : null;
|
|
1540
1541
|
}
|
|
1541
|
-
var
|
|
1542
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1542
1543
|
function p(e) {
|
|
1543
1544
|
{
|
|
1544
1545
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
@@ -1548,7 +1549,7 @@ function Br() {
|
|
|
1548
1549
|
}
|
|
1549
1550
|
function M(e, t, r) {
|
|
1550
1551
|
{
|
|
1551
|
-
var a =
|
|
1552
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
1552
1553
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
1553
1554
|
var m = r.map(function(l) {
|
|
1554
1555
|
return String(l);
|
|
@@ -1556,16 +1557,16 @@ function Br() {
|
|
|
1556
1557
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
1557
1558
|
}
|
|
1558
1559
|
}
|
|
1559
|
-
var
|
|
1560
|
-
|
|
1561
|
-
function
|
|
1562
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S ||
|
|
1560
|
+
var K = !1, Y = !1, W = !1, q = !1, I = !1, R;
|
|
1561
|
+
R = Symbol.for("react.module.reference");
|
|
1562
|
+
function E(e) {
|
|
1563
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || I || e === y || e === v || e === o || q || e === C || K || Y || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1563
1564
|
// types supported by any Flight configuration anywhere since
|
|
1564
1565
|
// we don't know which Flight build this will end up being used
|
|
1565
1566
|
// with.
|
|
1566
|
-
e.$$typeof ===
|
|
1567
|
+
e.$$typeof === R || e.getModuleId !== void 0));
|
|
1567
1568
|
}
|
|
1568
|
-
function
|
|
1569
|
+
function A(e, t, r) {
|
|
1569
1570
|
var a = e.displayName;
|
|
1570
1571
|
if (a)
|
|
1571
1572
|
return a;
|
|
@@ -1601,11 +1602,11 @@ function Br() {
|
|
|
1601
1602
|
case x:
|
|
1602
1603
|
var t = e;
|
|
1603
1604
|
return h(t) + ".Consumer";
|
|
1604
|
-
case
|
|
1605
|
+
case D:
|
|
1605
1606
|
var r = e;
|
|
1606
1607
|
return h(r._context) + ".Provider";
|
|
1607
1608
|
case s:
|
|
1608
|
-
return
|
|
1609
|
+
return A(e, e.render, "ForwardRef");
|
|
1609
1610
|
case d:
|
|
1610
1611
|
var a = e.displayName || null;
|
|
1611
1612
|
return a !== null ? a : k(e.type) || "Memo";
|
|
@@ -1682,7 +1683,7 @@ function Br() {
|
|
|
1682
1683
|
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1683
1684
|
}
|
|
1684
1685
|
}
|
|
1685
|
-
var le =
|
|
1686
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
1686
1687
|
function te(e, t, r) {
|
|
1687
1688
|
{
|
|
1688
1689
|
if (ce === void 0)
|
|
@@ -1727,40 +1728,40 @@ function Br() {
|
|
|
1727
1728
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1728
1729
|
try {
|
|
1729
1730
|
Reflect.construct(l, []);
|
|
1730
|
-
} catch (
|
|
1731
|
-
a =
|
|
1731
|
+
} catch (P) {
|
|
1732
|
+
a = P;
|
|
1732
1733
|
}
|
|
1733
1734
|
Reflect.construct(e, [], l);
|
|
1734
1735
|
} else {
|
|
1735
1736
|
try {
|
|
1736
1737
|
l.call();
|
|
1737
|
-
} catch (
|
|
1738
|
-
a =
|
|
1738
|
+
} catch (P) {
|
|
1739
|
+
a = P;
|
|
1739
1740
|
}
|
|
1740
1741
|
e.call(l.prototype);
|
|
1741
1742
|
}
|
|
1742
1743
|
} else {
|
|
1743
1744
|
try {
|
|
1744
1745
|
throw Error();
|
|
1745
|
-
} catch (
|
|
1746
|
-
a =
|
|
1746
|
+
} catch (P) {
|
|
1747
|
+
a = P;
|
|
1747
1748
|
}
|
|
1748
1749
|
e();
|
|
1749
1750
|
}
|
|
1750
|
-
} catch (
|
|
1751
|
-
if (
|
|
1752
|
-
for (var i =
|
|
1753
|
-
`),
|
|
1754
|
-
`), w = i.length - 1, j =
|
|
1751
|
+
} catch (P) {
|
|
1752
|
+
if (P && a && typeof P.stack == "string") {
|
|
1753
|
+
for (var i = P.stack.split(`
|
|
1754
|
+
`), T = a.stack.split(`
|
|
1755
|
+
`), w = i.length - 1, j = T.length - 1; w >= 1 && j >= 0 && i[w] !== T[j]; )
|
|
1755
1756
|
j--;
|
|
1756
1757
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1757
|
-
if (i[w] !==
|
|
1758
|
+
if (i[w] !== T[j]) {
|
|
1758
1759
|
if (w !== 1 || j !== 1)
|
|
1759
1760
|
do
|
|
1760
|
-
if (w--, j--, j < 0 || i[w] !==
|
|
1761
|
-
var
|
|
1761
|
+
if (w--, j--, j < 0 || i[w] !== T[j]) {
|
|
1762
|
+
var B = `
|
|
1762
1763
|
` + i[w].replace(" at new ", " at ");
|
|
1763
|
-
return e.displayName &&
|
|
1764
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
1764
1765
|
}
|
|
1765
1766
|
while (w >= 1 && j >= 0);
|
|
1766
1767
|
break;
|
|
@@ -1808,7 +1809,7 @@ function Br() {
|
|
|
1808
1809
|
}
|
|
1809
1810
|
return "";
|
|
1810
1811
|
}
|
|
1811
|
-
var V = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
1812
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
1812
1813
|
function ae(e) {
|
|
1813
1814
|
if (e) {
|
|
1814
1815
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -1824,8 +1825,8 @@ function Br() {
|
|
|
1824
1825
|
var i = void 0;
|
|
1825
1826
|
try {
|
|
1826
1827
|
if (typeof e[l] != "function") {
|
|
1827
|
-
var
|
|
1828
|
-
throw
|
|
1828
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1829
|
+
throw T.name = "Invariant Violation", T;
|
|
1829
1830
|
}
|
|
1830
1831
|
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1831
1832
|
} catch (w) {
|
|
@@ -1859,7 +1860,7 @@ function Br() {
|
|
|
1859
1860
|
if (Je(e))
|
|
1860
1861
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
1861
1862
|
}
|
|
1862
|
-
var Ee =
|
|
1863
|
+
var Ee = O.ReactCurrentOwner, Ze = {
|
|
1863
1864
|
key: !0,
|
|
1864
1865
|
ref: !0,
|
|
1865
1866
|
__self: !0,
|
|
@@ -1937,8 +1938,8 @@ function Br() {
|
|
|
1937
1938
|
};
|
|
1938
1939
|
function nt(e, t, r, a, f) {
|
|
1939
1940
|
{
|
|
1940
|
-
var m, l = {}, i = null,
|
|
1941
|
-
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (
|
|
1941
|
+
var m, l = {}, i = null, T = null;
|
|
1942
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (T = t.ref, Qe(t));
|
|
1942
1943
|
for (m in t)
|
|
1943
1944
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1944
1945
|
if (e && e.defaultProps) {
|
|
@@ -1946,14 +1947,14 @@ function Br() {
|
|
|
1946
1947
|
for (m in w)
|
|
1947
1948
|
l[m] === void 0 && (l[m] = w[m]);
|
|
1948
1949
|
}
|
|
1949
|
-
if (i ||
|
|
1950
|
+
if (i || T) {
|
|
1950
1951
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1951
|
-
i && et(l, j),
|
|
1952
|
+
i && et(l, j), T && tt(l, j);
|
|
1952
1953
|
}
|
|
1953
|
-
return rt(e, i,
|
|
1954
|
+
return rt(e, i, T, f, a, Ee.current, l);
|
|
1954
1955
|
}
|
|
1955
1956
|
}
|
|
1956
|
-
var fe =
|
|
1957
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
1957
1958
|
function J(e) {
|
|
1958
1959
|
if (e) {
|
|
1959
1960
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -2019,7 +2020,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2019
2020
|
else if (me(e))
|
|
2020
2021
|
e._store && (e._store.validated = !0);
|
|
2021
2022
|
else if (e) {
|
|
2022
|
-
var f =
|
|
2023
|
+
var f = F(e);
|
|
2023
2024
|
if (typeof f == "function" && f !== e.entries)
|
|
2024
2025
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
2025
2026
|
me(l.value) && Fe(l.value, t);
|
|
@@ -2066,12 +2067,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2066
2067
|
var Me = {};
|
|
2067
2068
|
function $e(e, t, r, a, f, m) {
|
|
2068
2069
|
{
|
|
2069
|
-
var l =
|
|
2070
|
+
var l = E(e);
|
|
2070
2071
|
if (!l) {
|
|
2071
2072
|
var i = "";
|
|
2072
2073
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2073
|
-
var
|
|
2074
|
-
|
|
2074
|
+
var T = at();
|
|
2075
|
+
T ? i += T : i += Pe();
|
|
2075
2076
|
var w;
|
|
2076
2077
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
2077
2078
|
}
|
|
@@ -2079,24 +2080,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2079
2080
|
if (j == null)
|
|
2080
2081
|
return j;
|
|
2081
2082
|
if (l) {
|
|
2082
|
-
var
|
|
2083
|
-
if (
|
|
2083
|
+
var B = t.children;
|
|
2084
|
+
if (B !== void 0)
|
|
2084
2085
|
if (a)
|
|
2085
|
-
if (de(
|
|
2086
|
-
for (var Z = 0; Z <
|
|
2087
|
-
Ie(
|
|
2088
|
-
Object.freeze && Object.freeze(
|
|
2086
|
+
if (de(B)) {
|
|
2087
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
2088
|
+
Ie(B[Z], e);
|
|
2089
|
+
Object.freeze && Object.freeze(B);
|
|
2089
2090
|
} else
|
|
2090
2091
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2091
2092
|
else
|
|
2092
|
-
Ie(
|
|
2093
|
+
Ie(B, e);
|
|
2093
2094
|
}
|
|
2094
2095
|
if (V.call(t, "key")) {
|
|
2095
|
-
var z = k(e),
|
|
2096
|
+
var z = k(e), P = Object.keys(t).filter(function(ft) {
|
|
2096
2097
|
return ft !== "key";
|
|
2097
|
-
}), ye =
|
|
2098
|
+
}), ye = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2098
2099
|
if (!Me[z + ye]) {
|
|
2099
|
-
var dt =
|
|
2100
|
+
var dt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
|
|
2100
2101
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
2101
2102
|
let props = %s;
|
|
2102
2103
|
<%s {...props} />
|
|
@@ -2136,7 +2137,7 @@ const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", qr
|
|
|
2136
2137
|
view: u = "confirm",
|
|
2137
2138
|
children: y,
|
|
2138
2139
|
isDisabled: S = !1,
|
|
2139
|
-
className:
|
|
2140
|
+
className: D,
|
|
2140
2141
|
after: x,
|
|
2141
2142
|
before: s,
|
|
2142
2143
|
label: v,
|
|
@@ -2144,23 +2145,23 @@ const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", qr
|
|
|
2144
2145
|
awaitText: d = "Ожидайте"
|
|
2145
2146
|
}) => {
|
|
2146
2147
|
let [b, C] = U.useState(!1);
|
|
2147
|
-
const
|
|
2148
|
+
const N = (F) => {
|
|
2148
2149
|
if (n) return n();
|
|
2149
|
-
b || (_ ? (C(!0), _(C)) :
|
|
2150
|
+
b || (_ ? (C(!0), _(C)) : F.preventDefault());
|
|
2150
2151
|
};
|
|
2151
|
-
let
|
|
2152
|
-
return (S || b) && (
|
|
2152
|
+
let L = {};
|
|
2153
|
+
return (S || b) && (L.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2153
2154
|
"button",
|
|
2154
2155
|
{
|
|
2155
|
-
...
|
|
2156
|
+
...L,
|
|
2156
2157
|
ref: o,
|
|
2157
2158
|
className: [
|
|
2158
2159
|
jt.btn,
|
|
2159
2160
|
b ? jt.disabled : jt[u],
|
|
2160
2161
|
c && jt[c],
|
|
2161
|
-
|
|
2162
|
-
].filter((
|
|
2163
|
-
onClick:
|
|
2162
|
+
D
|
|
2163
|
+
].filter((F) => F != "").join(" "),
|
|
2164
|
+
onClick: N,
|
|
2164
2165
|
children: b ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2165
2166
|
s || "",
|
|
2166
2167
|
" ",
|
|
@@ -2182,11 +2183,11 @@ var Ct;
|
|
|
2182
2183
|
}) {
|
|
2183
2184
|
let [d, b] = U.useState([]);
|
|
2184
2185
|
return Ae.x = (C) => {
|
|
2185
|
-
b(C ? d.filter((
|
|
2186
|
+
b(C ? d.filter((N) => N.key !== C) : []);
|
|
2186
2187
|
}, Zt(() => {
|
|
2187
2188
|
o && (Ae.i = o);
|
|
2188
|
-
}, []), Ae.add = (C,
|
|
2189
|
-
b([...d, { key:
|
|
2189
|
+
}, []), Ae.add = (C, N = Date.now()) => {
|
|
2190
|
+
b([...d, { key: N, item: C }]);
|
|
2190
2191
|
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((C) => C.item) });
|
|
2191
2192
|
}
|
|
2192
2193
|
n.Init = _;
|
|
@@ -2203,12 +2204,12 @@ var Ct;
|
|
|
2203
2204
|
}
|
|
2204
2205
|
n.Open = u;
|
|
2205
2206
|
function y({ type: o, name: d, params: b }) {
|
|
2206
|
-
let [C,
|
|
2207
|
+
let [C, N] = U.useState(null);
|
|
2207
2208
|
return U.useEffect(() => {
|
|
2208
|
-
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((
|
|
2209
|
-
|
|
2210
|
-
}) : Wt()(`${o}/modal/${d}.tsx`).then((
|
|
2211
|
-
|
|
2209
|
+
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((L) => {
|
|
2210
|
+
N(L.default.Icon(b));
|
|
2211
|
+
}) : Wt()(`${o}/modal/${d}.tsx`).then((L) => {
|
|
2212
|
+
N(L.default.Icon(b));
|
|
2212
2213
|
});
|
|
2213
2214
|
}, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: C });
|
|
2214
2215
|
}
|
|
@@ -2217,10 +2218,10 @@ var Ct;
|
|
|
2217
2218
|
Ae.add(/* @__PURE__ */ H.jsx(Hr, { children: o }, String(Date.now())), d);
|
|
2218
2219
|
}
|
|
2219
2220
|
n.Add = S;
|
|
2220
|
-
function
|
|
2221
|
+
function D(o) {
|
|
2221
2222
|
Ae.x(o);
|
|
2222
2223
|
}
|
|
2223
|
-
n.Close =
|
|
2224
|
+
n.Close = D;
|
|
2224
2225
|
function x(o) {
|
|
2225
2226
|
if (o.target.classList[0] !== "modal") return;
|
|
2226
2227
|
let d = o.target.children[0];
|
|
@@ -2246,48 +2247,48 @@ var Ct;
|
|
|
2246
2247
|
children: d,
|
|
2247
2248
|
button: b,
|
|
2248
2249
|
tabs: C,
|
|
2249
|
-
size:
|
|
2250
|
-
className:
|
|
2251
|
-
shake:
|
|
2252
|
-
menu:
|
|
2250
|
+
size: N = "m",
|
|
2251
|
+
className: L = "",
|
|
2252
|
+
shake: F = !0,
|
|
2253
|
+
menu: O
|
|
2253
2254
|
}) {
|
|
2254
|
-
const [p, M] = U.useState(!0),
|
|
2255
|
+
const [p, M] = U.useState(!0), K = U.useRef(), Y = (q) => {
|
|
2255
2256
|
if (b) {
|
|
2256
2257
|
if (b.onClick)
|
|
2257
|
-
return
|
|
2258
|
+
return q(!1), b.onClick({ setOpen: M });
|
|
2258
2259
|
if (b.onSend)
|
|
2259
2260
|
return b.onSend({
|
|
2260
2261
|
setOpen: M,
|
|
2261
|
-
disabled:
|
|
2262
|
+
disabled: q
|
|
2262
2263
|
});
|
|
2263
2264
|
}
|
|
2264
|
-
},
|
|
2265
|
-
if (!
|
|
2266
|
-
|
|
2267
|
-
|
|
2265
|
+
}, W = () => {
|
|
2266
|
+
if (!F) return M(!1);
|
|
2267
|
+
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2268
|
+
K.current.setAttribute("shake", !1);
|
|
2268
2269
|
}, 1e3);
|
|
2269
2270
|
};
|
|
2270
2271
|
return p ? /* @__PURE__ */ H.jsxs("div", { className: `${ie.modal}`, children: [
|
|
2271
|
-
/* @__PURE__ */ H.jsx("div", { className: ie.o, onClick:
|
|
2272
|
+
/* @__PURE__ */ H.jsx("div", { className: ie.o, onClick: W }),
|
|
2272
2273
|
/* @__PURE__ */ H.jsxs(
|
|
2273
2274
|
"div",
|
|
2274
2275
|
{
|
|
2275
|
-
className: [ie.w, ie[`s${
|
|
2276
|
-
ref:
|
|
2276
|
+
className: [ie.w, ie[`s${N}`], L].filter((q) => q != "").join(" "),
|
|
2277
|
+
ref: K,
|
|
2277
2278
|
children: [
|
|
2278
2279
|
/* @__PURE__ */ H.jsxs("div", { className: ie.h, children: [
|
|
2279
2280
|
/* @__PURE__ */ H.jsx("div", { className: ie.t, children: o }),
|
|
2280
2281
|
/* @__PURE__ */ H.jsxs("div", { className: ie.m, children: [
|
|
2281
|
-
C && /* @__PURE__ */ H.jsx("nav", { children: C.map((
|
|
2282
|
+
C && /* @__PURE__ */ H.jsx("nav", { children: C.map((q, I) => /* @__PURE__ */ H.jsx(
|
|
2282
2283
|
"span",
|
|
2283
2284
|
{
|
|
2284
|
-
onClick:
|
|
2285
|
-
className:
|
|
2286
|
-
children:
|
|
2285
|
+
onClick: q.onClick,
|
|
2286
|
+
className: q.active ? "active" : "",
|
|
2287
|
+
children: q.name
|
|
2287
2288
|
},
|
|
2288
|
-
|
|
2289
|
+
I
|
|
2289
2290
|
)) }),
|
|
2290
|
-
|
|
2291
|
+
O
|
|
2291
2292
|
] }),
|
|
2292
2293
|
/* @__PURE__ */ H.jsx(
|
|
2293
2294
|
"div",
|
|
@@ -2314,7 +2315,7 @@ var Ct;
|
|
|
2314
2315
|
zr,
|
|
2315
2316
|
{
|
|
2316
2317
|
label: b.label,
|
|
2317
|
-
onSend:
|
|
2318
|
+
onSend: Y,
|
|
2318
2319
|
className: ie.btn,
|
|
2319
2320
|
size: b.size
|
|
2320
2321
|
}
|
|
@@ -2334,7 +2335,7 @@ function jn({
|
|
|
2334
2335
|
placeholder: u = "",
|
|
2335
2336
|
separator: y = ",",
|
|
2336
2337
|
title: S,
|
|
2337
|
-
error:
|
|
2338
|
+
error: D,
|
|
2338
2339
|
hide: x = !1,
|
|
2339
2340
|
edit: s = !0,
|
|
2340
2341
|
active: v = !0,
|
|
@@ -2342,31 +2343,31 @@ function jn({
|
|
|
2342
2343
|
after: d = "",
|
|
2343
2344
|
modal: b,
|
|
2344
2345
|
options: C,
|
|
2345
|
-
className:
|
|
2346
|
+
className: N
|
|
2346
2347
|
}) {
|
|
2347
|
-
const [
|
|
2348
|
+
const [L, F] = U.useState(Jr(n, y)), O = (p) => {
|
|
2348
2349
|
if (!(s && v) || !b) return;
|
|
2349
2350
|
let M = b.split(".");
|
|
2350
2351
|
Ct.Open(M[0], M[1], {
|
|
2351
|
-
callback: (
|
|
2352
|
+
callback: (K) => {
|
|
2352
2353
|
if (_)
|
|
2353
2354
|
switch (o) {
|
|
2354
2355
|
case "array":
|
|
2355
|
-
_({ value: Object.keys(
|
|
2356
|
+
_({ value: Object.keys(K), name: c });
|
|
2356
2357
|
break;
|
|
2357
2358
|
case "string":
|
|
2358
2359
|
_({
|
|
2359
|
-
value: Object.keys(
|
|
2360
|
+
value: Object.keys(K).filter((Y) => K[Y]).join(y),
|
|
2360
2361
|
name: c
|
|
2361
2362
|
});
|
|
2362
2363
|
break;
|
|
2363
2364
|
default:
|
|
2364
|
-
_({ value:
|
|
2365
|
+
_({ value: K, name: c });
|
|
2365
2366
|
}
|
|
2366
|
-
|
|
2367
|
+
F(
|
|
2367
2368
|
Object.fromEntries(
|
|
2368
|
-
Object.entries(
|
|
2369
|
-
([
|
|
2369
|
+
Object.entries(K).filter(
|
|
2370
|
+
([Y, W]) => W !== !1
|
|
2370
2371
|
)
|
|
2371
2372
|
)
|
|
2372
2373
|
);
|
|
@@ -2374,7 +2375,7 @@ function jn({
|
|
|
2374
2375
|
onValue: _,
|
|
2375
2376
|
options: C,
|
|
2376
2377
|
name: c,
|
|
2377
|
-
value:
|
|
2378
|
+
value: L
|
|
2378
2379
|
});
|
|
2379
2380
|
};
|
|
2380
2381
|
return x ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
@@ -2382,14 +2383,14 @@ function jn({
|
|
|
2382
2383
|
{
|
|
2383
2384
|
type: "group",
|
|
2384
2385
|
title: S,
|
|
2385
|
-
element_blok: { className: [
|
|
2386
|
+
element_blok: { className: [N] },
|
|
2386
2387
|
element_input: {
|
|
2387
2388
|
className: [_e.g],
|
|
2388
2389
|
props: {
|
|
2389
|
-
onClick:
|
|
2390
|
+
onClick: O
|
|
2390
2391
|
}
|
|
2391
2392
|
},
|
|
2392
|
-
children: Object.keys(
|
|
2393
|
+
children: Object.keys(L).map((p) => {
|
|
2393
2394
|
var M;
|
|
2394
2395
|
return /* @__PURE__ */ g.jsx("div", { children: (M = C[p]) == null ? void 0 : M.label }, p);
|
|
2395
2396
|
})
|
|
@@ -2408,7 +2409,7 @@ function xn({
|
|
|
2408
2409
|
active: u = !0,
|
|
2409
2410
|
hide: y,
|
|
2410
2411
|
value: S = 0,
|
|
2411
|
-
onValue:
|
|
2412
|
+
onValue: D,
|
|
2412
2413
|
options: x,
|
|
2413
2414
|
placeholder: s = "",
|
|
2414
2415
|
className: v,
|
|
@@ -2416,20 +2417,20 @@ function xn({
|
|
|
2416
2417
|
name: d,
|
|
2417
2418
|
after: b,
|
|
2418
2419
|
view: C,
|
|
2419
|
-
order:
|
|
2420
|
-
isReload:
|
|
2420
|
+
order: N,
|
|
2421
|
+
isReload: L = !1
|
|
2421
2422
|
}) {
|
|
2422
|
-
var
|
|
2423
|
-
const
|
|
2423
|
+
var A, h;
|
|
2424
|
+
const F = U.useRef(null), [O, p] = U.useState(S), [M, K] = U.useState(x), [Y, W] = U.useState(!1);
|
|
2424
2425
|
U.useEffect(() => {
|
|
2425
|
-
p(S),
|
|
2426
|
-
}, [S, x]), y = !!(y && (S === 0 || ((
|
|
2427
|
-
let
|
|
2428
|
-
p(k),
|
|
2429
|
-
},
|
|
2430
|
-
Object.keys(M || {}).length !== 0 && c && u && (
|
|
2431
|
-
},
|
|
2432
|
-
return s && (
|
|
2426
|
+
p(S), K(x);
|
|
2427
|
+
}, [S, x]), y = !!(y && (S === 0 || ((A = M == null ? void 0 : M[S]) == null ? void 0 : A.n) === void 0)) && !(c && u);
|
|
2428
|
+
let I = (k) => {
|
|
2429
|
+
p(k), D && D({ value: k, name: d, reload: L });
|
|
2430
|
+
}, R = (k) => {
|
|
2431
|
+
Object.keys(M || {}).length !== 0 && c && u && (F.position = F.current.getBoundingClientRect(), W(!0));
|
|
2432
|
+
}, E = {};
|
|
2433
|
+
return s && (E.placeholder = s), y ? "" : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
2433
2434
|
/* @__PURE__ */ g.jsx(
|
|
2434
2435
|
Be,
|
|
2435
2436
|
{
|
|
@@ -2438,23 +2439,23 @@ function xn({
|
|
|
2438
2439
|
element_blok: { className: [v] },
|
|
2439
2440
|
element_input: {
|
|
2440
2441
|
className: [Nt.f],
|
|
2441
|
-
props: { onClick:
|
|
2442
|
+
props: { onClick: R }
|
|
2442
2443
|
},
|
|
2443
|
-
ref:
|
|
2444
|
-
children: /* @__PURE__ */ g.jsx("div", { ...
|
|
2444
|
+
ref: F,
|
|
2445
|
+
children: /* @__PURE__ */ g.jsx("div", { ...E, children: (h = M == null ? void 0 : M[O]) == null ? void 0 : h.n })
|
|
2445
2446
|
}
|
|
2446
2447
|
),
|
|
2447
|
-
|
|
2448
|
+
Y && Mt(
|
|
2448
2449
|
/* @__PURE__ */ g.jsx(
|
|
2449
2450
|
Qr,
|
|
2450
2451
|
{
|
|
2451
|
-
parent:
|
|
2452
|
-
onValue:
|
|
2452
|
+
parent: F.position,
|
|
2453
|
+
onValue: I,
|
|
2453
2454
|
view: C,
|
|
2454
2455
|
className: v,
|
|
2455
2456
|
options: M,
|
|
2456
|
-
order:
|
|
2457
|
-
setOpen:
|
|
2457
|
+
order: N,
|
|
2458
|
+
setOpen: W
|
|
2458
2459
|
},
|
|
2459
2460
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2460
2461
|
),
|
|
@@ -2470,7 +2471,7 @@ const Qr = ({
|
|
|
2470
2471
|
order: y,
|
|
2471
2472
|
setOpen: S
|
|
2472
2473
|
}) => {
|
|
2473
|
-
let
|
|
2474
|
+
let D = () => {
|
|
2474
2475
|
S(!1);
|
|
2475
2476
|
}, x = (o) => {
|
|
2476
2477
|
S(!1), n(o);
|
|
@@ -2480,7 +2481,7 @@ const Qr = ({
|
|
|
2480
2481
|
"div",
|
|
2481
2482
|
{
|
|
2482
2483
|
className: Nt.o,
|
|
2483
|
-
onClick:
|
|
2484
|
+
onClick: D
|
|
2484
2485
|
},
|
|
2485
2486
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2486
2487
|
),
|
|
@@ -2527,7 +2528,7 @@ function Cn({
|
|
|
2527
2528
|
placeholder: u = "",
|
|
2528
2529
|
title: y,
|
|
2529
2530
|
error: S,
|
|
2530
|
-
hide:
|
|
2531
|
+
hide: D = !1,
|
|
2531
2532
|
edit: x = !0,
|
|
2532
2533
|
show: s = !0,
|
|
2533
2534
|
active: v = !0,
|
|
@@ -2535,33 +2536,33 @@ function Cn({
|
|
|
2535
2536
|
view: d,
|
|
2536
2537
|
modal: b,
|
|
2537
2538
|
module: C,
|
|
2538
|
-
options:
|
|
2539
|
-
className:
|
|
2539
|
+
options: N,
|
|
2540
|
+
className: L
|
|
2540
2541
|
}) {
|
|
2541
|
-
const [
|
|
2542
|
+
const [F, O] = U.useState(n), p = (K) => {
|
|
2542
2543
|
if (!(x && v) || !b) return;
|
|
2543
|
-
let
|
|
2544
|
-
Ct.Open(
|
|
2545
|
-
callback: (
|
|
2546
|
-
_ && _({ value:
|
|
2544
|
+
let Y = b.split(".");
|
|
2545
|
+
Ct.Open(Y[0], Y[1], {
|
|
2546
|
+
callback: (W) => {
|
|
2547
|
+
_ && _({ value: W, name: c }), O(W);
|
|
2547
2548
|
},
|
|
2548
2549
|
onValue: _,
|
|
2549
|
-
options:
|
|
2550
|
+
options: N,
|
|
2550
2551
|
name: c,
|
|
2551
2552
|
value: n
|
|
2552
2553
|
});
|
|
2553
2554
|
}, M = {};
|
|
2554
|
-
return u && (M.placeholder = u),
|
|
2555
|
+
return u && (M.placeholder = u), D ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
2555
2556
|
Be,
|
|
2556
2557
|
{
|
|
2557
2558
|
type: "input",
|
|
2558
2559
|
title: y,
|
|
2559
|
-
element_blok: { className: [
|
|
2560
|
+
element_blok: { className: [L] },
|
|
2560
2561
|
element_input: {
|
|
2561
2562
|
className: [_e.w],
|
|
2562
2563
|
props: { onClick: p }
|
|
2563
2564
|
},
|
|
2564
|
-
children: /* @__PURE__ */ g.jsx("div", { ...M, children:
|
|
2565
|
+
children: /* @__PURE__ */ g.jsx("div", { ...M, children: F })
|
|
2565
2566
|
}
|
|
2566
2567
|
);
|
|
2567
2568
|
}
|
|
@@ -2572,7 +2573,7 @@ function Sn({
|
|
|
2572
2573
|
name: u,
|
|
2573
2574
|
placeholder: y = "",
|
|
2574
2575
|
className: S,
|
|
2575
|
-
title:
|
|
2576
|
+
title: D,
|
|
2576
2577
|
error: x,
|
|
2577
2578
|
edit: s = !0,
|
|
2578
2579
|
active: v = !0,
|
|
@@ -2580,55 +2581,55 @@ function Sn({
|
|
|
2580
2581
|
native: d = !1,
|
|
2581
2582
|
isShow: b = !1,
|
|
2582
2583
|
maxLength: C,
|
|
2583
|
-
eyes:
|
|
2584
|
-
after:
|
|
2584
|
+
eyes: N = [],
|
|
2585
|
+
after: L = ""
|
|
2585
2586
|
}) {
|
|
2586
|
-
const [
|
|
2587
|
-
let p = (
|
|
2587
|
+
const [F, O] = U.useState(b);
|
|
2588
|
+
let p = (I) => {
|
|
2588
2589
|
_ && _({
|
|
2589
|
-
value:
|
|
2590
|
+
value: I.target.textContent,
|
|
2590
2591
|
name: u,
|
|
2591
2592
|
reload: o
|
|
2592
2593
|
});
|
|
2593
|
-
}, M = (
|
|
2594
|
-
|
|
2595
|
-
},
|
|
2596
|
-
|
|
2594
|
+
}, M = (I) => {
|
|
2595
|
+
I.key === "Enter" && I.preventDefault();
|
|
2596
|
+
}, K = (I) => {
|
|
2597
|
+
I.preventDefault(), navigator.clipboard.readText().then((R) => {
|
|
2597
2598
|
if (C) {
|
|
2598
|
-
let
|
|
2599
|
-
if (
|
|
2600
|
-
C -=
|
|
2599
|
+
let E = I.target.textContent.length;
|
|
2600
|
+
if (E >= C) return;
|
|
2601
|
+
C -= E, R = R.slice(0, C);
|
|
2601
2602
|
}
|
|
2602
2603
|
window.document.execCommand(
|
|
2603
2604
|
"insertText",
|
|
2604
2605
|
!1,
|
|
2605
|
-
|
|
2606
|
+
R.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2606
2607
|
);
|
|
2607
|
-
}).catch((
|
|
2608
|
+
}).catch((R) => {
|
|
2608
2609
|
});
|
|
2609
|
-
},
|
|
2610
|
-
ee.Blur(
|
|
2610
|
+
}, Y = (I) => {
|
|
2611
|
+
ee.Blur(I), c == null || c({ value: I.target.textContent.trim(), name: u });
|
|
2611
2612
|
};
|
|
2612
|
-
const
|
|
2613
|
-
|
|
2614
|
-
const
|
|
2615
|
-
return y && (
|
|
2616
|
-
|
|
2613
|
+
const W = {};
|
|
2614
|
+
W.field = "password", F && (W.show = ""), S && (W.className = S);
|
|
2615
|
+
const q = {};
|
|
2616
|
+
return y && (q.placeholder = y), d ? "" : /* @__PURE__ */ g.jsxs("dl", { ...W, children: [
|
|
2617
|
+
D ? /* @__PURE__ */ g.jsx("dt", { children: D }) : "",
|
|
2617
2618
|
/* @__PURE__ */ g.jsx(
|
|
2618
2619
|
"dd",
|
|
2619
2620
|
{
|
|
2620
|
-
onPaste:
|
|
2621
|
+
onPaste: K,
|
|
2621
2622
|
onInput: p,
|
|
2622
2623
|
onKeyDown: M,
|
|
2623
|
-
onBlur:
|
|
2624
|
+
onBlur: Y,
|
|
2624
2625
|
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
2625
|
-
...
|
|
2626
|
+
...q,
|
|
2626
2627
|
suppressContentEditableWarning: !0,
|
|
2627
2628
|
children: n
|
|
2628
2629
|
}
|
|
2629
2630
|
),
|
|
2630
|
-
|
|
2631
|
-
|
|
2631
|
+
N[0] && /* @__PURE__ */ g.jsx("i", { onClick: () => O(!F), children: F ? N[1] : N[0] }),
|
|
2632
|
+
L,
|
|
2632
2633
|
x ? /* @__PURE__ */ g.jsx("em", { children: x }) : ""
|
|
2633
2634
|
] });
|
|
2634
2635
|
}
|
|
@@ -2639,7 +2640,7 @@ function Rn({
|
|
|
2639
2640
|
max: u,
|
|
2640
2641
|
edit: y,
|
|
2641
2642
|
title: S,
|
|
2642
|
-
error:
|
|
2643
|
+
error: D,
|
|
2643
2644
|
show: x,
|
|
2644
2645
|
hide: s,
|
|
2645
2646
|
value: v,
|
|
@@ -2647,36 +2648,36 @@ function Rn({
|
|
|
2647
2648
|
className: d,
|
|
2648
2649
|
maxLength: b,
|
|
2649
2650
|
name: C,
|
|
2650
|
-
after:
|
|
2651
|
-
before:
|
|
2652
|
-
view:
|
|
2651
|
+
after: N = "",
|
|
2652
|
+
before: L = "",
|
|
2653
|
+
view: F
|
|
2653
2654
|
}) {
|
|
2654
2655
|
y = y !== void 0 ? y : !0, c = c !== void 0 ? c : !0, s = !!(s && (v === "" || v === void 0)) && !(y && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2655
|
-
let p = !1, M = (
|
|
2656
|
-
n == null || n({ value:
|
|
2657
|
-
},
|
|
2658
|
-
if (!(p &&
|
|
2659
|
-
if (
|
|
2660
|
-
|
|
2661
|
-
}
|
|
2662
|
-
},
|
|
2663
|
-
if (
|
|
2664
|
-
},
|
|
2665
|
-
|
|
2666
|
-
if (
|
|
2667
|
-
let
|
|
2668
|
-
if (
|
|
2669
|
-
b -=
|
|
2656
|
+
let p = !1, M = (R) => {
|
|
2657
|
+
n == null || n({ value: R.target.textContent, name: C });
|
|
2658
|
+
}, K = (R) => {
|
|
2659
|
+
if (!(p && R.which === 86)) {
|
|
2660
|
+
if (R.which === 17 || R.which === 91) return p = !0;
|
|
2661
|
+
R.key !== "Backspace" && (R.target.textContent.length === u && R.preventDefault(), R.key === "Enter" && R.preventDefault(), isNaN(R.key) && R.preventDefault());
|
|
2662
|
+
}
|
|
2663
|
+
}, Y = (R) => {
|
|
2664
|
+
if (R.which === 17 || R.which === 91) return p = !1;
|
|
2665
|
+
}, W = (R) => {
|
|
2666
|
+
R.preventDefault(), navigator.clipboard.readText().then((E) => {
|
|
2667
|
+
if (E = E.replace(/(?!^\+|\d)./g, ""), b) {
|
|
2668
|
+
let A = R.target.textContent.length;
|
|
2669
|
+
if (A >= b) return;
|
|
2670
|
+
b -= A, E = E.slice(0, b);
|
|
2670
2671
|
}
|
|
2671
|
-
window.document.execCommand("insertText", !1, "" +
|
|
2672
|
-
}).catch((
|
|
2672
|
+
window.document.execCommand("insertText", !1, "" + E);
|
|
2673
|
+
}).catch((E) => {
|
|
2673
2674
|
});
|
|
2674
2675
|
};
|
|
2675
|
-
const
|
|
2676
|
-
ee.Blur(
|
|
2676
|
+
const q = (R) => {
|
|
2677
|
+
ee.Blur(R), _ == null || _({ value: R.target.textContent, name: C });
|
|
2677
2678
|
};
|
|
2678
|
-
let
|
|
2679
|
-
return y && c ? (
|
|
2679
|
+
let I = {};
|
|
2680
|
+
return y && c ? (I.edit = "true", I.contentEditable = ee.ContentEditable) : I.contentEditable = "false", I.inputMode = "decimal", o && (I.placeholder = o), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
2680
2681
|
Be,
|
|
2681
2682
|
{
|
|
2682
2683
|
type: "numeric",
|
|
@@ -2686,15 +2687,15 @@ function Rn({
|
|
|
2686
2687
|
children: /* @__PURE__ */ g.jsx(
|
|
2687
2688
|
"div",
|
|
2688
2689
|
{
|
|
2689
|
-
onPaste:
|
|
2690
|
+
onPaste: W,
|
|
2690
2691
|
onInput: M,
|
|
2691
|
-
onBlur:
|
|
2692
|
-
onKeyDown:
|
|
2693
|
-
onKeyUp:
|
|
2692
|
+
onBlur: q,
|
|
2693
|
+
onKeyDown: K,
|
|
2694
|
+
onKeyUp: Y,
|
|
2694
2695
|
spellCheck: "true",
|
|
2695
2696
|
contentEditable: y && c ? ee.ContentEditable : "false",
|
|
2696
2697
|
suppressContentEditableWarning: !0,
|
|
2697
|
-
...
|
|
2698
|
+
...I,
|
|
2698
2699
|
children: v
|
|
2699
2700
|
}
|
|
2700
2701
|
)
|
|
@@ -2716,14 +2717,14 @@ function tn() {
|
|
|
2716
2717
|
if (Kt) return ht;
|
|
2717
2718
|
Kt = 1;
|
|
2718
2719
|
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2719
|
-
function
|
|
2720
|
+
function D(x, s, v) {
|
|
2720
2721
|
var o, d = {}, b = null, C = null;
|
|
2721
2722
|
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
2722
2723
|
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2723
2724
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2724
2725
|
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
2725
2726
|
}
|
|
2726
|
-
return ht.Fragment = c, ht.jsx =
|
|
2727
|
+
return ht.Fragment = c, ht.jsx = D, ht.jsxs = D, ht;
|
|
2727
2728
|
}
|
|
2728
2729
|
var xt = {};
|
|
2729
2730
|
/**
|
|
@@ -2738,14 +2739,14 @@ var xt = {};
|
|
|
2738
2739
|
var Yt;
|
|
2739
2740
|
function rn() {
|
|
2740
2741
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2741
|
-
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"),
|
|
2742
|
-
function
|
|
2742
|
+
var n = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, L = "@@iterator";
|
|
2743
|
+
function F(e) {
|
|
2743
2744
|
if (e === null || typeof e != "object")
|
|
2744
2745
|
return null;
|
|
2745
|
-
var t =
|
|
2746
|
+
var t = N && e[N] || e[L];
|
|
2746
2747
|
return typeof t == "function" ? t : null;
|
|
2747
2748
|
}
|
|
2748
|
-
var
|
|
2749
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2749
2750
|
function p(e) {
|
|
2750
2751
|
{
|
|
2751
2752
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
@@ -2755,7 +2756,7 @@ function rn() {
|
|
|
2755
2756
|
}
|
|
2756
2757
|
function M(e, t, r) {
|
|
2757
2758
|
{
|
|
2758
|
-
var a =
|
|
2759
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
2759
2760
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
2760
2761
|
var m = r.map(function(l) {
|
|
2761
2762
|
return String(l);
|
|
@@ -2763,16 +2764,16 @@ function rn() {
|
|
|
2763
2764
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
2764
2765
|
}
|
|
2765
2766
|
}
|
|
2766
|
-
var
|
|
2767
|
-
|
|
2768
|
-
function
|
|
2769
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S ||
|
|
2767
|
+
var K = !1, Y = !1, W = !1, q = !1, I = !1, R;
|
|
2768
|
+
R = Symbol.for("react.module.reference");
|
|
2769
|
+
function E(e) {
|
|
2770
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || I || e === y || e === v || e === o || q || e === C || K || Y || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === D || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2770
2771
|
// types supported by any Flight configuration anywhere since
|
|
2771
2772
|
// we don't know which Flight build this will end up being used
|
|
2772
2773
|
// with.
|
|
2773
|
-
e.$$typeof ===
|
|
2774
|
+
e.$$typeof === R || e.getModuleId !== void 0));
|
|
2774
2775
|
}
|
|
2775
|
-
function
|
|
2776
|
+
function A(e, t, r) {
|
|
2776
2777
|
var a = e.displayName;
|
|
2777
2778
|
if (a)
|
|
2778
2779
|
return a;
|
|
@@ -2808,11 +2809,11 @@ function rn() {
|
|
|
2808
2809
|
case x:
|
|
2809
2810
|
var t = e;
|
|
2810
2811
|
return h(t) + ".Consumer";
|
|
2811
|
-
case
|
|
2812
|
+
case D:
|
|
2812
2813
|
var r = e;
|
|
2813
2814
|
return h(r._context) + ".Provider";
|
|
2814
2815
|
case s:
|
|
2815
|
-
return
|
|
2816
|
+
return A(e, e.render, "ForwardRef");
|
|
2816
2817
|
case d:
|
|
2817
2818
|
var a = e.displayName || null;
|
|
2818
2819
|
return a !== null ? a : k(e.type) || "Memo";
|
|
@@ -2889,7 +2890,7 @@ function rn() {
|
|
|
2889
2890
|
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2890
2891
|
}
|
|
2891
2892
|
}
|
|
2892
|
-
var le =
|
|
2893
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
2893
2894
|
function te(e, t, r) {
|
|
2894
2895
|
{
|
|
2895
2896
|
if (ce === void 0)
|
|
@@ -2934,40 +2935,40 @@ function rn() {
|
|
|
2934
2935
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
2935
2936
|
try {
|
|
2936
2937
|
Reflect.construct(l, []);
|
|
2937
|
-
} catch (
|
|
2938
|
-
a =
|
|
2938
|
+
} catch (P) {
|
|
2939
|
+
a = P;
|
|
2939
2940
|
}
|
|
2940
2941
|
Reflect.construct(e, [], l);
|
|
2941
2942
|
} else {
|
|
2942
2943
|
try {
|
|
2943
2944
|
l.call();
|
|
2944
|
-
} catch (
|
|
2945
|
-
a =
|
|
2945
|
+
} catch (P) {
|
|
2946
|
+
a = P;
|
|
2946
2947
|
}
|
|
2947
2948
|
e.call(l.prototype);
|
|
2948
2949
|
}
|
|
2949
2950
|
} else {
|
|
2950
2951
|
try {
|
|
2951
2952
|
throw Error();
|
|
2952
|
-
} catch (
|
|
2953
|
-
a =
|
|
2953
|
+
} catch (P) {
|
|
2954
|
+
a = P;
|
|
2954
2955
|
}
|
|
2955
2956
|
e();
|
|
2956
2957
|
}
|
|
2957
|
-
} catch (
|
|
2958
|
-
if (
|
|
2959
|
-
for (var i =
|
|
2960
|
-
`),
|
|
2961
|
-
`), w = i.length - 1, j =
|
|
2958
|
+
} catch (P) {
|
|
2959
|
+
if (P && a && typeof P.stack == "string") {
|
|
2960
|
+
for (var i = P.stack.split(`
|
|
2961
|
+
`), T = a.stack.split(`
|
|
2962
|
+
`), w = i.length - 1, j = T.length - 1; w >= 1 && j >= 0 && i[w] !== T[j]; )
|
|
2962
2963
|
j--;
|
|
2963
2964
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
2964
|
-
if (i[w] !==
|
|
2965
|
+
if (i[w] !== T[j]) {
|
|
2965
2966
|
if (w !== 1 || j !== 1)
|
|
2966
2967
|
do
|
|
2967
|
-
if (w--, j--, j < 0 || i[w] !==
|
|
2968
|
-
var
|
|
2968
|
+
if (w--, j--, j < 0 || i[w] !== T[j]) {
|
|
2969
|
+
var B = `
|
|
2969
2970
|
` + i[w].replace(" at new ", " at ");
|
|
2970
|
-
return e.displayName &&
|
|
2971
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
2971
2972
|
}
|
|
2972
2973
|
while (w >= 1 && j >= 0);
|
|
2973
2974
|
break;
|
|
@@ -3015,7 +3016,7 @@ function rn() {
|
|
|
3015
3016
|
}
|
|
3016
3017
|
return "";
|
|
3017
3018
|
}
|
|
3018
|
-
var V = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
3019
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
3019
3020
|
function ae(e) {
|
|
3020
3021
|
if (e) {
|
|
3021
3022
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -3031,8 +3032,8 @@ function rn() {
|
|
|
3031
3032
|
var i = void 0;
|
|
3032
3033
|
try {
|
|
3033
3034
|
if (typeof e[l] != "function") {
|
|
3034
|
-
var
|
|
3035
|
-
throw
|
|
3035
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3036
|
+
throw T.name = "Invariant Violation", T;
|
|
3036
3037
|
}
|
|
3037
3038
|
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3038
3039
|
} catch (w) {
|
|
@@ -3066,7 +3067,7 @@ function rn() {
|
|
|
3066
3067
|
if (Je(e))
|
|
3067
3068
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
3068
3069
|
}
|
|
3069
|
-
var Ee =
|
|
3070
|
+
var Ee = O.ReactCurrentOwner, Ze = {
|
|
3070
3071
|
key: !0,
|
|
3071
3072
|
ref: !0,
|
|
3072
3073
|
__self: !0,
|
|
@@ -3144,8 +3145,8 @@ function rn() {
|
|
|
3144
3145
|
};
|
|
3145
3146
|
function nt(e, t, r, a, f) {
|
|
3146
3147
|
{
|
|
3147
|
-
var m, l = {}, i = null,
|
|
3148
|
-
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (
|
|
3148
|
+
var m, l = {}, i = null, T = null;
|
|
3149
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (T = t.ref, Qe(t));
|
|
3149
3150
|
for (m in t)
|
|
3150
3151
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
3151
3152
|
if (e && e.defaultProps) {
|
|
@@ -3153,14 +3154,14 @@ function rn() {
|
|
|
3153
3154
|
for (m in w)
|
|
3154
3155
|
l[m] === void 0 && (l[m] = w[m]);
|
|
3155
3156
|
}
|
|
3156
|
-
if (i ||
|
|
3157
|
+
if (i || T) {
|
|
3157
3158
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3158
|
-
i && et(l, j),
|
|
3159
|
+
i && et(l, j), T && tt(l, j);
|
|
3159
3160
|
}
|
|
3160
|
-
return rt(e, i,
|
|
3161
|
+
return rt(e, i, T, f, a, Ee.current, l);
|
|
3161
3162
|
}
|
|
3162
3163
|
}
|
|
3163
|
-
var fe =
|
|
3164
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
3164
3165
|
function J(e) {
|
|
3165
3166
|
if (e) {
|
|
3166
3167
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -3226,7 +3227,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3226
3227
|
else if (me(e))
|
|
3227
3228
|
e._store && (e._store.validated = !0);
|
|
3228
3229
|
else if (e) {
|
|
3229
|
-
var f =
|
|
3230
|
+
var f = F(e);
|
|
3230
3231
|
if (typeof f == "function" && f !== e.entries)
|
|
3231
3232
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
3232
3233
|
me(l.value) && Fe(l.value, t);
|
|
@@ -3273,12 +3274,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3273
3274
|
var Me = {};
|
|
3274
3275
|
function $e(e, t, r, a, f, m) {
|
|
3275
3276
|
{
|
|
3276
|
-
var l =
|
|
3277
|
+
var l = E(e);
|
|
3277
3278
|
if (!l) {
|
|
3278
3279
|
var i = "";
|
|
3279
3280
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3280
|
-
var
|
|
3281
|
-
|
|
3281
|
+
var T = at();
|
|
3282
|
+
T ? i += T : i += Pe();
|
|
3282
3283
|
var w;
|
|
3283
3284
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
3284
3285
|
}
|
|
@@ -3286,24 +3287,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3286
3287
|
if (j == null)
|
|
3287
3288
|
return j;
|
|
3288
3289
|
if (l) {
|
|
3289
|
-
var
|
|
3290
|
-
if (
|
|
3290
|
+
var B = t.children;
|
|
3291
|
+
if (B !== void 0)
|
|
3291
3292
|
if (a)
|
|
3292
|
-
if (de(
|
|
3293
|
-
for (var Z = 0; Z <
|
|
3294
|
-
Ie(
|
|
3295
|
-
Object.freeze && Object.freeze(
|
|
3293
|
+
if (de(B)) {
|
|
3294
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
3295
|
+
Ie(B[Z], e);
|
|
3296
|
+
Object.freeze && Object.freeze(B);
|
|
3296
3297
|
} else
|
|
3297
3298
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
3298
3299
|
else
|
|
3299
|
-
Ie(
|
|
3300
|
+
Ie(B, e);
|
|
3300
3301
|
}
|
|
3301
3302
|
if (V.call(t, "key")) {
|
|
3302
|
-
var z = k(e),
|
|
3303
|
+
var z = k(e), P = Object.keys(t).filter(function(ft) {
|
|
3303
3304
|
return ft !== "key";
|
|
3304
|
-
}), ye =
|
|
3305
|
+
}), ye = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3305
3306
|
if (!Me[z + ye]) {
|
|
3306
|
-
var dt =
|
|
3307
|
+
var dt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
|
|
3307
3308
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
3308
3309
|
let props = %s;
|
|
3309
3310
|
<%s {...props} />
|
|
@@ -3453,14 +3454,14 @@ var St;
|
|
|
3453
3454
|
});
|
|
3454
3455
|
}
|
|
3455
3456
|
n.Send = S;
|
|
3456
|
-
function
|
|
3457
|
+
function D(s, v = !0) {
|
|
3457
3458
|
let o = Date.now(), d = { key: o, text: s, hide: v, type: "remark" };
|
|
3458
3459
|
Le.set({
|
|
3459
3460
|
item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
|
|
3460
3461
|
key: o
|
|
3461
3462
|
});
|
|
3462
3463
|
}
|
|
3463
|
-
n.Remark =
|
|
3464
|
+
n.Remark = D;
|
|
3464
3465
|
function x(s, v = !0) {
|
|
3465
3466
|
let o = Date.now(), d = { key: o, text: s, hide: v, type: "copy" };
|
|
3466
3467
|
Le.set({
|
|
@@ -3477,7 +3478,7 @@ function En({
|
|
|
3477
3478
|
name: u,
|
|
3478
3479
|
format: y = "+_(___) ___-__-__",
|
|
3479
3480
|
placeholder: S = "",
|
|
3480
|
-
title:
|
|
3481
|
+
title: D = "",
|
|
3481
3482
|
error: x = "",
|
|
3482
3483
|
hide: s = !1,
|
|
3483
3484
|
edit: v = !0,
|
|
@@ -3485,29 +3486,29 @@ function En({
|
|
|
3485
3486
|
after: d = "",
|
|
3486
3487
|
show: b = !0,
|
|
3487
3488
|
view: C,
|
|
3488
|
-
className:
|
|
3489
|
+
className: N = ""
|
|
3489
3490
|
}) {
|
|
3490
3491
|
v = v !== void 0 ? v : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(v && o), U.useRef(null);
|
|
3491
|
-
let
|
|
3492
|
+
let F = y, O = !0, p = 0, M = (h, k) => {
|
|
3492
3493
|
let $ = document.createRange(), G = window.getSelection();
|
|
3493
3494
|
$.setStart(k.childNodes[0], h), $.collapse(!0), G.removeAllRanges(), G.addRange($), k.focus();
|
|
3494
|
-
},
|
|
3495
|
+
}, K = (h) => {
|
|
3495
3496
|
h.preventDefault(), navigator.clipboard.readText().then((k) => {
|
|
3496
3497
|
window.document.execCommand("insertText", !1, k);
|
|
3497
3498
|
}).catch((k) => {
|
|
3498
3499
|
});
|
|
3499
|
-
},
|
|
3500
|
+
}, Y = (h) => {
|
|
3500
3501
|
let k = 0, $ = "", G = h.replace(/\D/g, "");
|
|
3501
|
-
G === "" && (
|
|
3502
|
+
G === "" && (O = !0);
|
|
3502
3503
|
let X = G.split(""), oe = "";
|
|
3503
3504
|
X.forEach((ge) => {
|
|
3504
|
-
|
|
3505
|
+
O && (oe += ge, O && (p = ("" + oe).length, F = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""), p > ("" + oe).length && (O = !0, F = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""));
|
|
3505
3506
|
});
|
|
3506
|
-
let se =
|
|
3507
|
-
return se.length >= G.length && (G = se), { q:
|
|
3507
|
+
let se = F.replace(/\D/g, "");
|
|
3508
|
+
return se.length >= G.length && (G = se), { q: F.replace(/[_\d]/g, function() {
|
|
3508
3509
|
return G.charAt(k++) || "_";
|
|
3509
3510
|
}), i: k, v: G, f: $ };
|
|
3510
|
-
},
|
|
3511
|
+
}, W = (h) => {
|
|
3511
3512
|
h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
|
|
3512
3513
|
function() {
|
|
3513
3514
|
St.Copy("Данные в буфер обмене");
|
|
@@ -3515,37 +3516,37 @@ function En({
|
|
|
3515
3516
|
function(k) {
|
|
3516
3517
|
}
|
|
3517
3518
|
);
|
|
3518
|
-
},
|
|
3519
|
-
let k =
|
|
3520
|
-
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !==
|
|
3521
|
-
},
|
|
3519
|
+
}, q = Y(n), I = (h) => {
|
|
3520
|
+
let k = Y(h.target.textContent);
|
|
3521
|
+
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== F ? k.i++ : k.i = k.q.indexOf("_"), M(k.i, h.target), _ && _({ value: k.q.replace(/\D/g, ""), name: u });
|
|
3522
|
+
}, R = (h) => {
|
|
3522
3523
|
h.key === "Enter" && h.preventDefault();
|
|
3523
3524
|
};
|
|
3524
|
-
const
|
|
3525
|
+
const E = (h) => {
|
|
3525
3526
|
ee.Blur(h), c && c({
|
|
3526
3527
|
value: h.target.textContent.replace(/\D/g, ""),
|
|
3527
3528
|
name: u
|
|
3528
3529
|
});
|
|
3529
3530
|
};
|
|
3530
|
-
let
|
|
3531
|
-
return v && o ? (
|
|
3531
|
+
let A = {};
|
|
3532
|
+
return v && o ? (A.edit = "true", A.contentEditable = ee.ContentEditable) : A.contentEditable = "false", S && (A.placeholder = S), d && (A.after = d), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
3532
3533
|
Be,
|
|
3533
3534
|
{
|
|
3534
3535
|
type: "input",
|
|
3535
|
-
title:
|
|
3536
|
-
element_blok: { className: [
|
|
3536
|
+
title: D,
|
|
3537
|
+
element_blok: { className: [N] },
|
|
3537
3538
|
element_input: { className: [_e.w] },
|
|
3538
3539
|
children: /* @__PURE__ */ g.jsx(
|
|
3539
3540
|
"div",
|
|
3540
3541
|
{
|
|
3541
|
-
onPaste:
|
|
3542
|
-
onInput:
|
|
3543
|
-
onKeyDown:
|
|
3544
|
-
onContextMenu:
|
|
3545
|
-
onBlur:
|
|
3542
|
+
onPaste: K,
|
|
3543
|
+
onInput: I,
|
|
3544
|
+
onKeyDown: R,
|
|
3545
|
+
onContextMenu: W,
|
|
3546
|
+
onBlur: E,
|
|
3546
3547
|
suppressContentEditableWarning: !0,
|
|
3547
|
-
...
|
|
3548
|
-
children:
|
|
3548
|
+
...A,
|
|
3549
|
+
children: q.q
|
|
3549
3550
|
}
|
|
3550
3551
|
)
|
|
3551
3552
|
}
|
|
@@ -3558,7 +3559,7 @@ function On({
|
|
|
3558
3559
|
name: u,
|
|
3559
3560
|
placeholder: y = "",
|
|
3560
3561
|
title: S = "",
|
|
3561
|
-
error:
|
|
3562
|
+
error: D = "",
|
|
3562
3563
|
hide: x = !1,
|
|
3563
3564
|
edit: s = !0,
|
|
3564
3565
|
active: v = !0,
|
|
@@ -3566,55 +3567,55 @@ function On({
|
|
|
3566
3567
|
show: d = !0,
|
|
3567
3568
|
maxLength: b,
|
|
3568
3569
|
view: C,
|
|
3569
|
-
onSave:
|
|
3570
|
-
className:
|
|
3571
|
-
isCopy:
|
|
3570
|
+
onSave: N,
|
|
3571
|
+
className: L = "",
|
|
3572
|
+
isCopy: F = !0
|
|
3572
3573
|
}) {
|
|
3573
|
-
let [
|
|
3574
|
-
|
|
3575
|
-
let M = (
|
|
3576
|
-
c == null || c({ value:
|
|
3577
|
-
},
|
|
3578
|
-
b &&
|
|
3579
|
-
},
|
|
3580
|
-
|
|
3574
|
+
let [O, p] = U.useState(!1);
|
|
3575
|
+
O = s ? !0 : O;
|
|
3576
|
+
let M = (I) => {
|
|
3577
|
+
c == null || c({ value: I.target.innerText, name: u });
|
|
3578
|
+
}, K = (I) => {
|
|
3579
|
+
b && I.target.textContent.trim().length >= b && I.key !== "Backspace" && I.preventDefault(), I.key === "Enter" && I.preventDefault();
|
|
3580
|
+
}, Y = (I) => {
|
|
3581
|
+
I.preventDefault(), navigator.clipboard.readText().then((R) => {
|
|
3581
3582
|
if (b) {
|
|
3582
|
-
let
|
|
3583
|
-
if (
|
|
3584
|
-
b -=
|
|
3583
|
+
let E = I.target.textContent.length;
|
|
3584
|
+
if (E >= b) return;
|
|
3585
|
+
b -= E, R = R.slice(0, b);
|
|
3585
3586
|
}
|
|
3586
3587
|
window.document.execCommand(
|
|
3587
3588
|
"insertText",
|
|
3588
3589
|
!1,
|
|
3589
|
-
|
|
3590
|
+
R.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3590
3591
|
);
|
|
3591
|
-
}).catch((
|
|
3592
|
+
}).catch((R) => {
|
|
3592
3593
|
});
|
|
3593
3594
|
};
|
|
3594
3595
|
if (x) return /* @__PURE__ */ g.jsx(g.Fragment, {});
|
|
3595
3596
|
if (!(s && v) && !d) return "";
|
|
3596
|
-
const
|
|
3597
|
-
y && (
|
|
3598
|
-
const
|
|
3599
|
-
ee.Blur(
|
|
3597
|
+
const W = {};
|
|
3598
|
+
y && (W.placeholder = y), s && v && (W.edit = ""), O && (W.open = "");
|
|
3599
|
+
const q = (I) => {
|
|
3600
|
+
ee.Blur(I), N == null || N({ value: I.target.textContent.trim(), name: u });
|
|
3600
3601
|
};
|
|
3601
3602
|
return /* @__PURE__ */ g.jsx(
|
|
3602
3603
|
Be,
|
|
3603
3604
|
{
|
|
3604
3605
|
type: "note",
|
|
3605
3606
|
title: S,
|
|
3606
|
-
element_blok: { className: [
|
|
3607
|
+
element_blok: { className: [L] },
|
|
3607
3608
|
element_input: { className: [_e.n] },
|
|
3608
3609
|
children: /* @__PURE__ */ g.jsx(
|
|
3609
3610
|
"div",
|
|
3610
3611
|
{
|
|
3611
|
-
onPaste:
|
|
3612
|
+
onPaste: Y,
|
|
3612
3613
|
onInput: M,
|
|
3613
|
-
onBlur:
|
|
3614
|
-
onKeyDown:
|
|
3614
|
+
onBlur: q,
|
|
3615
|
+
onKeyDown: K,
|
|
3615
3616
|
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
3616
3617
|
suppressContentEditableWarning: !0,
|
|
3617
|
-
...
|
|
3618
|
+
...W,
|
|
3618
3619
|
children: _
|
|
3619
3620
|
}
|
|
3620
3621
|
)
|
|
@@ -5010,7 +5011,7 @@ function Tn({
|
|
|
5010
5011
|
name: u,
|
|
5011
5012
|
placeholder: y = "",
|
|
5012
5013
|
title: S = "",
|
|
5013
|
-
error:
|
|
5014
|
+
error: D = "",
|
|
5014
5015
|
hide: x = !1,
|
|
5015
5016
|
edit: s = !0,
|
|
5016
5017
|
active: v = !0,
|
|
@@ -5020,53 +5021,53 @@ function Tn({
|
|
|
5020
5021
|
className: C = ""
|
|
5021
5022
|
}) {
|
|
5022
5023
|
s = s !== void 0 ? s : !0, v = v !== void 0 ? v : !0, x = !!(x && (n === "" || n === void 0)) && !(s && v), U.useRef(null);
|
|
5023
|
-
let
|
|
5024
|
+
let L = "+_(___) ___-__-__", F = !0, O = 0, p = (A, h) => {
|
|
5024
5025
|
let k = document.createRange(), $ = window.getSelection();
|
|
5025
|
-
k.setStart(h.childNodes[0],
|
|
5026
|
-
}, M = (
|
|
5027
|
-
let h =
|
|
5028
|
-
|
|
5029
|
-
},
|
|
5030
|
-
|
|
5026
|
+
k.setStart(h.childNodes[0], A), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
|
|
5027
|
+
}, M = (A) => {
|
|
5028
|
+
let h = Y(A.target.textContent);
|
|
5029
|
+
A.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== L ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, A.target), _ && _({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5030
|
+
}, K = (A) => {
|
|
5031
|
+
A.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5031
5032
|
window.document.execCommand("insertText", !1, h);
|
|
5032
5033
|
}).catch((h) => {
|
|
5033
5034
|
});
|
|
5034
|
-
},
|
|
5035
|
-
let h = 0, k = "", $ =
|
|
5036
|
-
$ === "" && (
|
|
5035
|
+
}, Y = (A) => {
|
|
5036
|
+
let h = 0, k = "", $ = A.replace(/\D/g, "");
|
|
5037
|
+
$ === "" && (F = !0);
|
|
5037
5038
|
let G = $.split(""), X = "";
|
|
5038
5039
|
G.forEach((ve) => {
|
|
5039
|
-
|
|
5040
|
+
F && (X += ve, Ot[X] !== void 0 && F ? (F = !1, L = Ot[X].mask.replace(new RegExp("[0-9]", "g"), "_"), k = Ot[X].code) : (F && (O = ("" + X).length, L = `+${X}_(___) ___-__-__`.replace(
|
|
5040
5041
|
new RegExp("[0-9]", "g"),
|
|
5041
5042
|
"_"
|
|
5042
|
-
), k = ""),
|
|
5043
|
+
), k = ""), O > ("" + X).length && (F = !0, L = `+${X}_(___) ___-__-__`.replace(
|
|
5043
5044
|
new RegExp("[0-9]", "g"),
|
|
5044
5045
|
"_"
|
|
5045
5046
|
), k = "")));
|
|
5046
5047
|
});
|
|
5047
|
-
let oe =
|
|
5048
|
-
return oe.length >= $.length && ($ = oe), { q:
|
|
5048
|
+
let oe = L.replace(/\D/g, "");
|
|
5049
|
+
return oe.length >= $.length && ($ = oe), { q: L.replace(/[_\d]/g, function() {
|
|
5049
5050
|
return $.charAt(h++) || "_";
|
|
5050
5051
|
}), i: h, v: $, f: k };
|
|
5051
|
-
},
|
|
5052
|
-
|
|
5052
|
+
}, W = (A) => {
|
|
5053
|
+
A.preventDefault(), navigator.clipboard.writeText(A.target.textContent.replace(/\D/g, "")).then(
|
|
5053
5054
|
function() {
|
|
5054
5055
|
St.Copy("Данные в буфер обмене");
|
|
5055
5056
|
},
|
|
5056
5057
|
function(h) {
|
|
5057
5058
|
}
|
|
5058
5059
|
);
|
|
5059
|
-
},
|
|
5060
|
-
|
|
5060
|
+
}, q = Y(n), I = (A) => {
|
|
5061
|
+
A.key === "Enter" && A.preventDefault();
|
|
5061
5062
|
};
|
|
5062
|
-
const
|
|
5063
|
-
ee.Blur(
|
|
5064
|
-
value:
|
|
5063
|
+
const R = (A) => {
|
|
5064
|
+
ee.Blur(A), c && c({
|
|
5065
|
+
value: A.target.textContent.replace(/\D/g, ""),
|
|
5065
5066
|
name: u
|
|
5066
5067
|
});
|
|
5067
5068
|
};
|
|
5068
|
-
let
|
|
5069
|
-
return s && v ? (
|
|
5069
|
+
let E = {};
|
|
5070
|
+
return s && v ? (E.edit = "true", E.contentEditable = ee.ContentEditable) : E.contentEditable = "false", y && (E.placeholder = y), x ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
5070
5071
|
Be,
|
|
5071
5072
|
{
|
|
5072
5073
|
type: "input",
|
|
@@ -5076,14 +5077,14 @@ function Tn({
|
|
|
5076
5077
|
children: /* @__PURE__ */ g.jsx(
|
|
5077
5078
|
"div",
|
|
5078
5079
|
{
|
|
5079
|
-
onPaste:
|
|
5080
|
+
onPaste: K,
|
|
5080
5081
|
onInput: M,
|
|
5081
|
-
onKeyDown:
|
|
5082
|
-
onContextMenu:
|
|
5083
|
-
onBlur:
|
|
5082
|
+
onKeyDown: I,
|
|
5083
|
+
onContextMenu: W,
|
|
5084
|
+
onBlur: R,
|
|
5084
5085
|
suppressContentEditableWarning: !0,
|
|
5085
|
-
...
|
|
5086
|
-
children:
|
|
5086
|
+
...E,
|
|
5087
|
+
children: q.q
|
|
5087
5088
|
}
|
|
5088
5089
|
)
|
|
5089
5090
|
}
|
|
@@ -5100,7 +5101,7 @@ function Dn({
|
|
|
5100
5101
|
active: u = !0,
|
|
5101
5102
|
className: y,
|
|
5102
5103
|
placeholder: S,
|
|
5103
|
-
max:
|
|
5104
|
+
max: D,
|
|
5104
5105
|
min: x,
|
|
5105
5106
|
onValue: s,
|
|
5106
5107
|
icon: v,
|
|
@@ -5108,35 +5109,35 @@ function Dn({
|
|
|
5108
5109
|
value: d,
|
|
5109
5110
|
after: b
|
|
5110
5111
|
}) {
|
|
5111
|
-
let [C,
|
|
5112
|
+
let [C, N] = U.useState(
|
|
5112
5113
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5113
5114
|
);
|
|
5114
|
-
const
|
|
5115
|
+
const L = U.useRef(null), [F, O] = U.useState(!1);
|
|
5115
5116
|
let p = !c && u;
|
|
5116
5117
|
U.useEffect(() => {
|
|
5117
|
-
|
|
5118
|
+
N(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5118
5119
|
}, [d]);
|
|
5119
|
-
let M = (
|
|
5120
|
-
|
|
5121
|
-
},
|
|
5122
|
-
const
|
|
5123
|
-
|
|
5120
|
+
let M = (W) => {
|
|
5121
|
+
N(W), s == null || s({ value: W, name: o });
|
|
5122
|
+
}, K = (W) => {
|
|
5123
|
+
const q = W.target.getBoundingClientRect(), I = q.left, R = q.bottom, E = q.top;
|
|
5124
|
+
L.position = { x: I, b: R, y: E }, O(!0);
|
|
5124
5125
|
};
|
|
5125
|
-
const
|
|
5126
|
-
return S && (
|
|
5126
|
+
const Y = {};
|
|
5127
|
+
return S && (Y.placeholder = S), p ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5127
5128
|
v ? v() : /* @__PURE__ */ g.jsxs(
|
|
5128
5129
|
"dl",
|
|
5129
5130
|
{
|
|
5130
5131
|
"data-field": "date",
|
|
5131
|
-
className: [_e.l, y].filter((
|
|
5132
|
+
className: [_e.l, y].filter((W) => W !== void 0).join(" "),
|
|
5132
5133
|
children: [
|
|
5133
5134
|
n ? /* @__PURE__ */ g.jsx("dt", { className: _e.t, children: n }) : "",
|
|
5134
5135
|
/* @__PURE__ */ g.jsxs(
|
|
5135
5136
|
"dd",
|
|
5136
5137
|
{
|
|
5137
|
-
onClick:
|
|
5138
|
+
onClick: K,
|
|
5138
5139
|
className: [_e.f, _e.w].join(" "),
|
|
5139
|
-
...
|
|
5140
|
+
...Y,
|
|
5140
5141
|
"data-edit": (c && u) + "",
|
|
5141
5142
|
children: [
|
|
5142
5143
|
pn(C, "dd.mm.yyyy"),
|
|
@@ -5148,16 +5149,16 @@ function Dn({
|
|
|
5148
5149
|
]
|
|
5149
5150
|
}
|
|
5150
5151
|
),
|
|
5151
|
-
|
|
5152
|
+
F && Mt(
|
|
5152
5153
|
/* @__PURE__ */ g.jsx(
|
|
5153
5154
|
dn,
|
|
5154
5155
|
{
|
|
5155
|
-
position:
|
|
5156
|
+
position: L.position,
|
|
5156
5157
|
onValue: M,
|
|
5157
5158
|
date: C,
|
|
5158
|
-
max:
|
|
5159
|
+
max: D,
|
|
5159
5160
|
min: x,
|
|
5160
|
-
onOpen:
|
|
5161
|
+
onOpen: O,
|
|
5161
5162
|
className: y
|
|
5162
5163
|
},
|
|
5163
5164
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -5173,7 +5174,7 @@ const dn = ({
|
|
|
5173
5174
|
max: u,
|
|
5174
5175
|
min: y,
|
|
5175
5176
|
className: S,
|
|
5176
|
-
onOpen:
|
|
5177
|
+
onOpen: D
|
|
5177
5178
|
}) => {
|
|
5178
5179
|
let x = /* @__PURE__ */ new Date(), s = new Date(n), v = {
|
|
5179
5180
|
y: parseInt(x.getFullYear()),
|
|
@@ -5186,25 +5187,25 @@ const dn = ({
|
|
|
5186
5187
|
}, [d, b] = U.useState({ y: o.y, m: o.m }), C = (h) => {
|
|
5187
5188
|
let k = h.getDay();
|
|
5188
5189
|
return k === 0 && (k = 7), k - 1;
|
|
5189
|
-
},
|
|
5190
|
-
for (let h = 0; h < C(
|
|
5191
|
-
|
|
5192
|
-
for (;
|
|
5193
|
-
|
|
5190
|
+
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], L = d.m - 1, F = new Date(d.y, L), O = [];
|
|
5191
|
+
for (let h = 0; h < C(F); h++)
|
|
5192
|
+
O.push(0);
|
|
5193
|
+
for (; F.getMonth() === L; )
|
|
5194
|
+
O.push(F.getDate()), F.setDate(F.getDate() + 1);
|
|
5194
5195
|
let p = () => {
|
|
5195
|
-
|
|
5196
|
+
D(!1);
|
|
5196
5197
|
}, M = () => {
|
|
5197
|
-
|
|
5198
|
-
},
|
|
5199
|
-
|
|
5200
|
-
},
|
|
5198
|
+
W(d.m + 1, d.y);
|
|
5199
|
+
}, K = () => {
|
|
5200
|
+
W(d.m - 1, d.y);
|
|
5201
|
+
}, Y = (h) => {
|
|
5201
5202
|
_(
|
|
5202
5203
|
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5203
5204
|
), p();
|
|
5204
|
-
},
|
|
5205
|
+
}, W = (h, k) => {
|
|
5205
5206
|
k = h > 12 ? k + 1 : h < 1 ? k - 1 : k, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: k, m: h });
|
|
5206
5207
|
};
|
|
5207
|
-
const
|
|
5208
|
+
const q = (h) => v.y === d.y && v.m === d.m && v.d === h ? { "data-active": "true" } : {}, I = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, R = (h) => {
|
|
5208
5209
|
let k = !0;
|
|
5209
5210
|
if (u) {
|
|
5210
5211
|
let $ = u.getTime(), G = new Date(d.y, d.m - 1, h).getTime();
|
|
@@ -5216,7 +5217,7 @@ const dn = ({
|
|
|
5216
5217
|
}
|
|
5217
5218
|
return k;
|
|
5218
5219
|
};
|
|
5219
|
-
let
|
|
5220
|
+
let E = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, A = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5220
5221
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5221
5222
|
/* @__PURE__ */ g.jsx("div", { className: Rt.o, onClick: () => p() }),
|
|
5222
5223
|
/* @__PURE__ */ g.jsxs(
|
|
@@ -5226,10 +5227,10 @@ const dn = ({
|
|
|
5226
5227
|
Rt.c,
|
|
5227
5228
|
S && S + "-backdrop"
|
|
5228
5229
|
].join(" "),
|
|
5229
|
-
style: { top:
|
|
5230
|
+
style: { top: E + "px", left: A + "px" },
|
|
5230
5231
|
children: [
|
|
5231
5232
|
/* @__PURE__ */ g.jsxs("s", { children: [
|
|
5232
|
-
/* @__PURE__ */ g.jsx("i", { onClick:
|
|
5233
|
+
/* @__PURE__ */ g.jsx("i", { onClick: K, children: /* @__PURE__ */ g.jsx(
|
|
5233
5234
|
"svg",
|
|
5234
5235
|
{
|
|
5235
5236
|
width: "16",
|
|
@@ -5258,16 +5259,16 @@ const dn = ({
|
|
|
5258
5259
|
) })
|
|
5259
5260
|
] }),
|
|
5260
5261
|
/* @__PURE__ */ g.jsxs("div", { "grid-calendar": "", children: [
|
|
5261
|
-
|
|
5262
|
-
|
|
5262
|
+
N.map((h, k) => /* @__PURE__ */ g.jsx("p", { children: h }, "v" + k)),
|
|
5263
|
+
O.map((h, k) => /* @__PURE__ */ g.jsx("span", { children: h !== 0 && R(h) ? /* @__PURE__ */ g.jsx(
|
|
5263
5264
|
"b",
|
|
5264
5265
|
{
|
|
5265
|
-
...
|
|
5266
|
-
...
|
|
5267
|
-
onClick: () =>
|
|
5266
|
+
...q(h),
|
|
5267
|
+
...I(h),
|
|
5268
|
+
onClick: () => Y(h),
|
|
5268
5269
|
children: h
|
|
5269
5270
|
}
|
|
5270
|
-
) : /* @__PURE__ */ g.jsx("p", { ...
|
|
5271
|
+
) : /* @__PURE__ */ g.jsx("p", { ...q(h), ...I(h), children: h !== 0 ? h : "" }) }, k))
|
|
5271
5272
|
] })
|
|
5272
5273
|
]
|
|
5273
5274
|
}
|
|
@@ -5319,25 +5320,25 @@ function Pn({
|
|
|
5319
5320
|
error: u,
|
|
5320
5321
|
icon: y,
|
|
5321
5322
|
edit: S = !0,
|
|
5322
|
-
active:
|
|
5323
|
+
active: D = !0,
|
|
5323
5324
|
title: x,
|
|
5324
5325
|
placeholder: s = "",
|
|
5325
5326
|
className: v
|
|
5326
5327
|
}) {
|
|
5327
5328
|
let [o, d] = U.useState(n);
|
|
5328
|
-
const b = U.useRef(null), [C,
|
|
5329
|
+
const b = U.useRef(null), [C, N] = U.useState(!1);
|
|
5329
5330
|
U.useEffect(() => {
|
|
5330
5331
|
d(n);
|
|
5331
5332
|
}, [n]);
|
|
5332
|
-
let
|
|
5333
|
+
let L = (p) => {
|
|
5333
5334
|
d(p), _ && _({ value: p, name: c });
|
|
5334
|
-
},
|
|
5335
|
-
if (!S || !
|
|
5336
|
-
const M = p.target.getBoundingClientRect(),
|
|
5337
|
-
b.position = { x:
|
|
5335
|
+
}, F = (p) => {
|
|
5336
|
+
if (!S || !D) return;
|
|
5337
|
+
const M = p.target.getBoundingClientRect(), K = M.left, Y = M.top;
|
|
5338
|
+
b.position = { x: K, y: Y }, N(!0);
|
|
5338
5339
|
};
|
|
5339
|
-
const
|
|
5340
|
-
return s && (
|
|
5340
|
+
const O = {};
|
|
5341
|
+
return s && (O.placeholder = s), y || /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5341
5342
|
/* @__PURE__ */ g.jsx(
|
|
5342
5343
|
Be,
|
|
5343
5344
|
{
|
|
@@ -5345,7 +5346,7 @@ function Pn({
|
|
|
5345
5346
|
title: x,
|
|
5346
5347
|
element_blok: { className: [v] },
|
|
5347
5348
|
element_input: { className: [_e.w] },
|
|
5348
|
-
children: /* @__PURE__ */ g.jsx("div", { onClick:
|
|
5349
|
+
children: /* @__PURE__ */ g.jsx("div", { onClick: F, ...O, children: yn(o, "mm.yyyy") })
|
|
5349
5350
|
}
|
|
5350
5351
|
),
|
|
5351
5352
|
C && Mt(
|
|
@@ -5353,9 +5354,9 @@ function Pn({
|
|
|
5353
5354
|
mn,
|
|
5354
5355
|
{
|
|
5355
5356
|
position: b.position,
|
|
5356
|
-
onValue:
|
|
5357
|
+
onValue: L,
|
|
5357
5358
|
date: o,
|
|
5358
|
-
onOpen:
|
|
5359
|
+
onOpen: N
|
|
5359
5360
|
},
|
|
5360
5361
|
(/* @__PURE__ */ new Date()).getTime()
|
|
5361
5362
|
),
|
|
@@ -5364,7 +5365,7 @@ function Pn({
|
|
|
5364
5365
|
] });
|
|
5365
5366
|
}
|
|
5366
5367
|
const mn = ({ onOpen: n, date: _, onValue: c, position: u }) => {
|
|
5367
|
-
let y = /* @__PURE__ */ new Date(), S = new Date(_),
|
|
5368
|
+
let y = /* @__PURE__ */ new Date(), S = new Date(_), D = {
|
|
5368
5369
|
y: parseInt(y.getFullYear()),
|
|
5369
5370
|
m: parseInt(y.getMonth()) + 1
|
|
5370
5371
|
}, x = {
|
|
@@ -5378,10 +5379,10 @@ const mn = ({ onOpen: n, date: _, onValue: c, position: u }) => {
|
|
|
5378
5379
|
v(s - 1);
|
|
5379
5380
|
}, C = (p) => {
|
|
5380
5381
|
c(s + "-" + vn(2, p)), o();
|
|
5381
|
-
},
|
|
5382
|
+
}, N = (p) => D.y === x.y && D.m === p ? "_FFEB3B" : "", L = Array(12).fill("").map((p, M) => M + 1), F = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, O = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5382
5383
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5383
5384
|
/* @__PURE__ */ g.jsx("div", { className: Rt.o, onClick: o }),
|
|
5384
|
-
/* @__PURE__ */ g.jsxs("div", { className: Rt.c, style: { top:
|
|
5385
|
+
/* @__PURE__ */ g.jsxs("div", { className: Rt.c, style: { top: F + "px", left: O + "px" }, children: [
|
|
5385
5386
|
/* @__PURE__ */ g.jsxs("s", { children: [
|
|
5386
5387
|
/* @__PURE__ */ g.jsx("i", { onClick: b, children: /* @__PURE__ */ g.jsx(
|
|
5387
5388
|
"svg",
|
|
@@ -5407,13 +5408,13 @@ const mn = ({ onOpen: n, date: _, onValue: c, position: u }) => {
|
|
|
5407
5408
|
}
|
|
5408
5409
|
) })
|
|
5409
5410
|
] }),
|
|
5410
|
-
/* @__PURE__ */ g.jsx("div", { "grid-month": "", children:
|
|
5411
|
+
/* @__PURE__ */ g.jsx("div", { "grid-month": "", children: L.map((p, M) => /* @__PURE__ */ g.jsx(
|
|
5411
5412
|
"span",
|
|
5412
5413
|
{
|
|
5413
5414
|
onClick: () => {
|
|
5414
5415
|
C(p);
|
|
5415
5416
|
},
|
|
5416
|
-
color:
|
|
5417
|
+
color: N(p),
|
|
5417
5418
|
children: /* @__PURE__ */ g.jsx("b", { children: gn(p).abc })
|
|
5418
5419
|
},
|
|
5419
5420
|
M
|
|
@@ -5466,7 +5467,7 @@ function Nn({
|
|
|
5466
5467
|
placeholder: u = "",
|
|
5467
5468
|
title: y = "",
|
|
5468
5469
|
error: S = "",
|
|
5469
|
-
hide:
|
|
5470
|
+
hide: D = !1,
|
|
5470
5471
|
edit: x = !0,
|
|
5471
5472
|
active: s = !0,
|
|
5472
5473
|
after: v = "",
|
|
@@ -5474,51 +5475,51 @@ function Nn({
|
|
|
5474
5475
|
course: d = 100,
|
|
5475
5476
|
view: b,
|
|
5476
5477
|
type: C,
|
|
5477
|
-
onSave:
|
|
5478
|
-
className:
|
|
5479
|
-
isClear:
|
|
5478
|
+
onSave: N,
|
|
5479
|
+
className: L = "",
|
|
5480
|
+
isClear: F = !1
|
|
5480
5481
|
}) {
|
|
5481
|
-
let
|
|
5482
|
+
let O = !!(D && (n === "" || n === void 0)), p = (E) => C === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), M = (E, A) => {
|
|
5482
5483
|
let h = document.createRange(), k = window.getSelection();
|
|
5483
|
-
h.setStart(
|
|
5484
|
-
},
|
|
5484
|
+
h.setStart(A.childNodes[0], E), h.collapse(!0), k.removeAllRanges(), k.addRange(h), A.focus();
|
|
5485
|
+
}, K = (E) => {
|
|
5485
5486
|
_ == null || _({
|
|
5486
|
-
value: p(
|
|
5487
|
+
value: p(E.target.textContent) * d,
|
|
5487
5488
|
name: c
|
|
5488
|
-
}),
|
|
5489
|
-
},
|
|
5490
|
-
ee.Blur(
|
|
5491
|
-
value: p(
|
|
5489
|
+
}), E.target.textContent = p(E.target.textContent), E.target.textContent.length > 0 && M(E.target.textContent.length, E.target);
|
|
5490
|
+
}, Y = (E) => {
|
|
5491
|
+
ee.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), N == null || N({ value: p(E.target.textContent) * d, name: c }), _ == null || _({
|
|
5492
|
+
value: p(E.target.textContent) * d,
|
|
5492
5493
|
name: c
|
|
5493
|
-
}),
|
|
5494
|
-
},
|
|
5495
|
-
|
|
5496
|
-
},
|
|
5497
|
-
|
|
5498
|
-
},
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
}).catch((
|
|
5494
|
+
}), E.target.textContent = zt(E.target.textContent);
|
|
5495
|
+
}, W = (E) => {
|
|
5496
|
+
E.target.textContent = p(E.target.textContent);
|
|
5497
|
+
}, q = (E) => {
|
|
5498
|
+
E.key === "Enter" && E.preventDefault();
|
|
5499
|
+
}, I = (E) => {
|
|
5500
|
+
E.preventDefault(), navigator.clipboard.readText().then((A) => {
|
|
5501
|
+
A = A.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, A);
|
|
5502
|
+
}).catch((A) => {
|
|
5502
5503
|
});
|
|
5503
5504
|
};
|
|
5504
|
-
if (!(x && s) && !o || !(x && s) &&
|
|
5505
|
-
const
|
|
5506
|
-
return
|
|
5505
|
+
if (!(x && s) && !o || !(x && s) && O) return "";
|
|
5506
|
+
const R = {};
|
|
5507
|
+
return R.inputMode = "decimal", u && (R.placeholder = u), x && s && (R.edit = ""), /* @__PURE__ */ g.jsx(
|
|
5507
5508
|
Be,
|
|
5508
5509
|
{
|
|
5509
5510
|
type: "input",
|
|
5510
5511
|
title: y,
|
|
5511
|
-
element_blok: { className: [
|
|
5512
|
+
element_blok: { className: [L] },
|
|
5512
5513
|
element_input: { className: [_e.w] },
|
|
5513
5514
|
children: /* @__PURE__ */ g.jsx(
|
|
5514
5515
|
"div",
|
|
5515
5516
|
{
|
|
5516
|
-
...
|
|
5517
|
-
onInput:
|
|
5518
|
-
onPaste:
|
|
5519
|
-
onBlur:
|
|
5520
|
-
onKeyDown:
|
|
5521
|
-
onFocus:
|
|
5517
|
+
...R,
|
|
5518
|
+
onInput: K,
|
|
5519
|
+
onPaste: I,
|
|
5520
|
+
onBlur: Y,
|
|
5521
|
+
onKeyDown: q,
|
|
5522
|
+
onFocus: W,
|
|
5522
5523
|
contentEditable: x && s ? ee.ContentEditable : "false",
|
|
5523
5524
|
suppressContentEditableWarning: !0,
|
|
5524
5525
|
"data-after": v,
|
|
@@ -5538,7 +5539,7 @@ function Fn({
|
|
|
5538
5539
|
title: u,
|
|
5539
5540
|
className: y,
|
|
5540
5541
|
name: S,
|
|
5541
|
-
text:
|
|
5542
|
+
text: D,
|
|
5542
5543
|
id: x,
|
|
5543
5544
|
reload: s
|
|
5544
5545
|
}) {
|
|
@@ -5563,7 +5564,7 @@ function Fn({
|
|
|
5563
5564
|
},
|
|
5564
5565
|
children: [
|
|
5565
5566
|
/* @__PURE__ */ g.jsx("div", { "aria-checked": `${v ? "true" : "false"}` }),
|
|
5566
|
-
/* @__PURE__ */ g.jsx("span", { children:
|
|
5567
|
+
/* @__PURE__ */ g.jsx("span", { children: D })
|
|
5567
5568
|
]
|
|
5568
5569
|
}
|
|
5569
5570
|
);
|