@elcrm/form 0.0.22 → 0.0.23
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 +1910 -1884
- package/dist/index.umd.js +33 -33
- package/dist/src/lib/Field.d.ts +11 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -17,13 +17,13 @@ var Mt;
|
|
|
17
17
|
function Vt() {
|
|
18
18
|
if (Mt) return mt;
|
|
19
19
|
Mt = 1;
|
|
20
|
-
var
|
|
20
|
+
var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function O(x, s, h) {
|
|
22
22
|
var o, d = {}, k = null, S = null;
|
|
23
23
|
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
24
24
|
for (o in s) u.call(s, o) && !C.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
|
-
return { $$typeof:
|
|
26
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
27
27
|
}
|
|
28
28
|
return mt.Fragment = c, mt.jsx = O, mt.jsxs = O, mt;
|
|
29
29
|
}
|
|
@@ -40,24 +40,24 @@ var pt = {};
|
|
|
40
40
|
var $t;
|
|
41
41
|
function Xt() {
|
|
42
42
|
return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var
|
|
43
|
+
var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
44
44
|
function $(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
47
|
var t = N && e[N] || e[A];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
|
-
var T =
|
|
50
|
+
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function p(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
54
|
-
r[
|
|
53
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
54
|
+
r[n - 1] = arguments[n];
|
|
55
55
|
I("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function I(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var
|
|
60
|
+
var n = T.ReactDebugCurrentFrame, m = n.getStackAddendum();
|
|
61
61
|
m !== "" && (t += "%s", r = r.concat([m]));
|
|
62
62
|
var y = r.map(function(l) {
|
|
63
63
|
return String(l);
|
|
@@ -68,20 +68,20 @@ function Xt() {
|
|
|
68
68
|
var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
|
|
69
69
|
P = Symbol.for("react.module.reference");
|
|
70
70
|
function W(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || 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
75
|
e.$$typeof === P || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
77
|
function R(e, t, r) {
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
78
|
+
var n = e.displayName;
|
|
79
|
+
if (n)
|
|
80
|
+
return n;
|
|
81
81
|
var m = t.displayName || t.name || "";
|
|
82
82
|
return m !== "" ? r + "(" + m + ")" : r;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function g(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
87
|
function b(e) {
|
|
@@ -98,7 +98,7 @@ function Xt() {
|
|
|
98
98
|
return "Portal";
|
|
99
99
|
case C:
|
|
100
100
|
return "Profiler";
|
|
101
|
-
case
|
|
101
|
+
case v:
|
|
102
102
|
return "StrictMode";
|
|
103
103
|
case h:
|
|
104
104
|
return "Suspense";
|
|
@@ -109,15 +109,15 @@ function Xt() {
|
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
110
|
case x:
|
|
111
111
|
var t = e;
|
|
112
|
-
return
|
|
112
|
+
return g(t) + ".Consumer";
|
|
113
113
|
case O:
|
|
114
114
|
var r = e;
|
|
115
|
-
return
|
|
115
|
+
return g(r._context) + ".Provider";
|
|
116
116
|
case s:
|
|
117
117
|
return R(e, e.render, "ForwardRef");
|
|
118
118
|
case d:
|
|
119
|
-
var
|
|
120
|
-
return
|
|
119
|
+
var n = e.displayName || null;
|
|
120
|
+
return n !== null ? n : b(e.type) || "Memo";
|
|
121
121
|
case k: {
|
|
122
122
|
var m = e, y = m._payload, l = m._init;
|
|
123
123
|
try {
|
|
@@ -198,8 +198,8 @@ function Xt() {
|
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (m) {
|
|
201
|
-
var
|
|
202
|
-
ce =
|
|
201
|
+
var n = m.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ce = n && n[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
205
|
` + ce + e;
|
|
@@ -218,7 +218,7 @@ function Xt() {
|
|
|
218
218
|
if (r !== void 0)
|
|
219
219
|
return r;
|
|
220
220
|
}
|
|
221
|
-
var
|
|
221
|
+
var n;
|
|
222
222
|
ue = !0;
|
|
223
223
|
var m = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
@@ -237,14 +237,14 @@ function Xt() {
|
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(l, []);
|
|
239
239
|
} catch (F) {
|
|
240
|
-
|
|
240
|
+
n = F;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], l);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
l.call();
|
|
246
246
|
} catch (F) {
|
|
247
|
-
|
|
247
|
+
n = F;
|
|
248
248
|
}
|
|
249
249
|
e.call(l.prototype);
|
|
250
250
|
}
|
|
@@ -252,23 +252,23 @@ function Xt() {
|
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
254
|
} catch (F) {
|
|
255
|
-
|
|
255
|
+
n = F;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
259
|
} catch (F) {
|
|
260
|
-
if (F &&
|
|
261
|
-
for (var
|
|
262
|
-
`), D =
|
|
263
|
-
`), w =
|
|
260
|
+
if (F && n && typeof F.stack == "string") {
|
|
261
|
+
for (var _ = F.stack.split(`
|
|
262
|
+
`), D = n.stack.split(`
|
|
263
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
266
|
-
if (
|
|
266
|
+
if (_[w] !== D[j]) {
|
|
267
267
|
if (w !== 1 || j !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (w--, j--, j < 0 ||
|
|
269
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
270
270
|
var B = `
|
|
271
|
-
` +
|
|
271
|
+
` + _[w].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
273
273
|
}
|
|
274
274
|
while (w >= 1 && j >= 0);
|
|
@@ -308,7 +308,7 @@ function Xt() {
|
|
|
308
308
|
case d:
|
|
309
309
|
return ne(e.type, t, r);
|
|
310
310
|
case k: {
|
|
311
|
-
var
|
|
311
|
+
var n = e, m = n._payload, y = n._init;
|
|
312
312
|
try {
|
|
313
313
|
return ne(y(m), t, r);
|
|
314
314
|
} catch {
|
|
@@ -325,22 +325,22 @@ function Xt() {
|
|
|
325
325
|
} else
|
|
326
326
|
Ce.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function Ye(e, t, r,
|
|
328
|
+
function Ye(e, t, r, n, m) {
|
|
329
329
|
{
|
|
330
330
|
var y = Function.call.bind(X);
|
|
331
331
|
for (var l in e)
|
|
332
332
|
if (y(e, l)) {
|
|
333
|
-
var
|
|
333
|
+
var _ = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
336
|
-
var D = Error((
|
|
336
|
+
var D = Error((n || "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
337
|
throw D.name = "Invariant Violation", D;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
_ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (w) {
|
|
341
|
-
|
|
341
|
+
_ = w;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
_ && !(_ instanceof Error) && (oe(m), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(m), p("Failed %s type: %s", r, _.message), oe(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -415,10 +415,10 @@ function Xt() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var tt = function(e, t, r,
|
|
419
|
-
var
|
|
418
|
+
var tt = function(e, t, r, n, m, y, l) {
|
|
419
|
+
var _ = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
|
-
$$typeof:
|
|
421
|
+
$$typeof: i,
|
|
422
422
|
// Built-in properties that belong on the element
|
|
423
423
|
type: e,
|
|
424
424
|
key: t,
|
|
@@ -427,27 +427,27 @@ function Xt() {
|
|
|
427
427
|
// Record the component responsible for creating this element.
|
|
428
428
|
_owner: y
|
|
429
429
|
};
|
|
430
|
-
return
|
|
430
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
431
431
|
configurable: !1,
|
|
432
432
|
enumerable: !1,
|
|
433
433
|
writable: !0,
|
|
434
434
|
value: !1
|
|
435
|
-
}), Object.defineProperty(
|
|
435
|
+
}), Object.defineProperty(_, "_self", {
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !1,
|
|
439
|
-
value:
|
|
440
|
-
}), Object.defineProperty(
|
|
439
|
+
value: n
|
|
440
|
+
}), Object.defineProperty(_, "_source", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
444
|
value: m
|
|
445
|
-
}), Object.freeze && (Object.freeze(
|
|
445
|
+
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
446
446
|
};
|
|
447
|
-
function rt(e, t, r,
|
|
447
|
+
function rt(e, t, r, n, m) {
|
|
448
448
|
{
|
|
449
|
-
var y, l = {},
|
|
450
|
-
r !== void 0 && (Re(r),
|
|
449
|
+
var y, l = {}, _ = null, D = null;
|
|
450
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t, m));
|
|
451
451
|
for (y in t)
|
|
452
452
|
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
@@ -455,11 +455,11 @@ function Xt() {
|
|
|
455
455
|
for (y in w)
|
|
456
456
|
l[y] === void 0 && (l[y] = w[y]);
|
|
457
457
|
}
|
|
458
|
-
if (
|
|
458
|
+
if (_ || D) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
|
|
460
|
+
_ && Qe(l, j), D && et(l, j);
|
|
461
461
|
}
|
|
462
|
-
return tt(e,
|
|
462
|
+
return tt(e, _, D, m, n, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
@@ -473,7 +473,7 @@ function Xt() {
|
|
|
473
473
|
var me;
|
|
474
474
|
me = !1;
|
|
475
475
|
function pe(e) {
|
|
476
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
476
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
477
477
|
}
|
|
478
478
|
function Pe() {
|
|
479
479
|
{
|
|
@@ -512,8 +512,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
512
512
|
if (Ne[r])
|
|
513
513
|
return;
|
|
514
514
|
Ne[r] = !0;
|
|
515
|
-
var
|
|
516
|
-
e && e._owner && e._owner !== fe.current && (
|
|
515
|
+
var n = "";
|
|
516
|
+
e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), Z(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ie(e, t) {
|
|
@@ -522,8 +522,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
522
522
|
return;
|
|
523
523
|
if (de(e))
|
|
524
524
|
for (var r = 0; r < e.length; r++) {
|
|
525
|
-
var
|
|
526
|
-
pe(
|
|
525
|
+
var n = e[r];
|
|
526
|
+
pe(n) && Fe(n, t);
|
|
527
527
|
}
|
|
528
528
|
else if (pe(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
@@ -550,8 +550,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var
|
|
554
|
-
Ye(r, e.props, "prop",
|
|
553
|
+
var n = b(t);
|
|
554
|
+
Ye(r, e.props, "prop", n, e);
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
556
556
|
me = !0;
|
|
557
557
|
var m = b(t);
|
|
@@ -563,9 +563,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
563
563
|
function it(e) {
|
|
564
564
|
{
|
|
565
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
566
|
+
var n = t[r];
|
|
567
|
+
if (n !== "children" && n !== "key") {
|
|
568
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), Z(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
@@ -573,16 +573,16 @@ Check the top-level render call using <` + r + ">.");
|
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var Me = {};
|
|
576
|
-
function $e(e, t, r,
|
|
576
|
+
function $e(e, t, r, n, m, y) {
|
|
577
577
|
{
|
|
578
578
|
var l = W(e);
|
|
579
579
|
if (!l) {
|
|
580
|
-
var
|
|
581
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
580
|
+
var _ = "";
|
|
581
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " 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
582
|
var D = at();
|
|
583
|
-
D ?
|
|
583
|
+
D ? _ += D : _ += Pe();
|
|
584
584
|
var w;
|
|
585
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
585
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " 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, _);
|
|
586
586
|
}
|
|
587
587
|
var j = rt(e, t, r, m, y);
|
|
588
588
|
if (j == null)
|
|
@@ -590,7 +590,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
590
590
|
if (l) {
|
|
591
591
|
var B = t.children;
|
|
592
592
|
if (B !== void 0)
|
|
593
|
-
if (
|
|
593
|
+
if (n)
|
|
594
594
|
if (de(B)) {
|
|
595
595
|
for (var V = 0; V < B.length; V++)
|
|
596
596
|
Ie(B[V], e);
|
|
@@ -629,31 +629,31 @@ React keys must be passed directly to JSX without using spread:
|
|
|
629
629
|
}
|
|
630
630
|
process.env.NODE_ENV === "production" ? Tt.exports = Vt() : Tt.exports = Xt();
|
|
631
631
|
var f = Tt.exports;
|
|
632
|
-
function
|
|
632
|
+
function ga({ name: a, value: i, title: c, style: u, className: v }) {
|
|
633
633
|
let C = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
636
|
-
return u && (C.style = u),
|
|
636
|
+
return u && (C.style = u), v && (C.className = v), /* @__PURE__ */ f.jsxs("dl", { ...C, children: [
|
|
637
637
|
c && /* @__PURE__ */ f.jsx("dt", { children: c }),
|
|
638
638
|
/* @__PURE__ */ f.jsx("dd", {})
|
|
639
639
|
] });
|
|
640
640
|
}
|
|
641
641
|
let te = {};
|
|
642
|
-
te.KeyDown = (
|
|
643
|
-
|
|
642
|
+
te.KeyDown = (a) => {
|
|
643
|
+
a.key === "Enter" && a.preventDefault();
|
|
644
644
|
};
|
|
645
|
-
te.PasteOne = (
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
}).catch((
|
|
645
|
+
te.PasteOne = (a) => {
|
|
646
|
+
a.preventDefault(), navigator.clipboard.readText().then((i) => {
|
|
647
|
+
i = i.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, i);
|
|
648
|
+
}).catch((i) => {
|
|
649
649
|
});
|
|
650
650
|
};
|
|
651
|
-
te.Paste = (
|
|
652
|
-
|
|
653
|
-
if (
|
|
654
|
-
let u =
|
|
655
|
-
if (u >=
|
|
656
|
-
|
|
651
|
+
te.Paste = (a, i) => {
|
|
652
|
+
i.preventDefault(), navigator.clipboard.readText().then((c) => {
|
|
653
|
+
if (a) {
|
|
654
|
+
let u = i.target.textContent.length;
|
|
655
|
+
if (u >= a) return;
|
|
656
|
+
a -= u, c = c.slice(0, a);
|
|
657
657
|
}
|
|
658
658
|
window.document.execCommand(
|
|
659
659
|
"insertText",
|
|
@@ -663,13 +663,124 @@ te.Paste = (n, _) => {
|
|
|
663
663
|
}).catch((c) => {
|
|
664
664
|
});
|
|
665
665
|
};
|
|
666
|
-
te.Focus = (
|
|
667
|
-
|
|
666
|
+
te.Focus = (a) => {
|
|
667
|
+
a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
|
|
668
668
|
};
|
|
669
|
-
te.Blur = (
|
|
670
|
-
|
|
669
|
+
te.Blur = (a) => {
|
|
670
|
+
a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
te.ContentEditable = "plaintext-only";
|
|
673
|
+
const Qt = "_l_8hznl_13", er = "_f_8hznl_38", tr = "_n_8hznl_55", rr = "_w_8hznl_60", ar = "_t_8hznl_70", z = {
|
|
674
|
+
l: Qt,
|
|
675
|
+
f: er,
|
|
676
|
+
n: tr,
|
|
677
|
+
w: rr,
|
|
678
|
+
t: ar
|
|
679
|
+
};
|
|
680
|
+
function nr({
|
|
681
|
+
element_blok: a,
|
|
682
|
+
element_input: i,
|
|
683
|
+
type: c = "input",
|
|
684
|
+
title: u,
|
|
685
|
+
before: v,
|
|
686
|
+
after: C,
|
|
687
|
+
children: O
|
|
688
|
+
}) {
|
|
689
|
+
return /* @__PURE__ */ f.jsxs(
|
|
690
|
+
"dl",
|
|
691
|
+
{
|
|
692
|
+
"data-field": c,
|
|
693
|
+
...i.props,
|
|
694
|
+
className: [z.l, a.className].filter((x) => x !== void 0).join(" "),
|
|
695
|
+
children: [
|
|
696
|
+
u ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: u }) : "",
|
|
697
|
+
v,
|
|
698
|
+
/* @__PURE__ */ f.jsx(
|
|
699
|
+
"dd",
|
|
700
|
+
{
|
|
701
|
+
className: [z.f, i.className].join(" "),
|
|
702
|
+
...i.props,
|
|
703
|
+
children: O
|
|
704
|
+
}
|
|
705
|
+
),
|
|
706
|
+
C
|
|
707
|
+
]
|
|
708
|
+
}
|
|
709
|
+
);
|
|
710
|
+
}
|
|
711
|
+
function ha({
|
|
712
|
+
id: a,
|
|
713
|
+
value: i,
|
|
714
|
+
onValue: c,
|
|
715
|
+
name: u,
|
|
716
|
+
placeholder: v = "",
|
|
717
|
+
title: C = "",
|
|
718
|
+
error: O = "",
|
|
719
|
+
hide: x = !1,
|
|
720
|
+
edit: s = !0,
|
|
721
|
+
active: h = !0,
|
|
722
|
+
after: o = "",
|
|
723
|
+
before: d = "",
|
|
724
|
+
show: k = !0,
|
|
725
|
+
maxLength: S,
|
|
726
|
+
onSave: N,
|
|
727
|
+
className: A = "",
|
|
728
|
+
isCopy: $ = !0,
|
|
729
|
+
isReload: T = !1
|
|
730
|
+
}) {
|
|
731
|
+
let p = !!(x && (i === "" || i === void 0)), I = (E) => {
|
|
732
|
+
c && c({
|
|
733
|
+
value: E.target.textContent.trim(),
|
|
734
|
+
name: u,
|
|
735
|
+
reload: T
|
|
736
|
+
});
|
|
737
|
+
}, q = (E) => {
|
|
738
|
+
S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
739
|
+
}, Y = (E) => {
|
|
740
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
741
|
+
if (S) {
|
|
742
|
+
let W = E.target.textContent.length;
|
|
743
|
+
if (W >= S) return;
|
|
744
|
+
S -= W, P = P.slice(0, S);
|
|
745
|
+
}
|
|
746
|
+
window.document.execCommand(
|
|
747
|
+
"insertText",
|
|
748
|
+
!1,
|
|
749
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
750
|
+
);
|
|
751
|
+
}).catch((P) => {
|
|
752
|
+
});
|
|
753
|
+
};
|
|
754
|
+
if (!(s && h) && !k || !(s && h) && p) return "";
|
|
755
|
+
const L = {};
|
|
756
|
+
v && (L.placeholder = v), s && h && (L.edit = "");
|
|
757
|
+
const U = (E) => {
|
|
758
|
+
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
759
|
+
};
|
|
760
|
+
return /* @__PURE__ */ f.jsx(
|
|
761
|
+
nr,
|
|
762
|
+
{
|
|
763
|
+
type: "input",
|
|
764
|
+
title: C,
|
|
765
|
+
element_blok: { className: A },
|
|
766
|
+
element_input: { className: A },
|
|
767
|
+
children: /* @__PURE__ */ f.jsx(
|
|
768
|
+
"div",
|
|
769
|
+
{
|
|
770
|
+
onBlur: U,
|
|
771
|
+
onPaste: Y,
|
|
772
|
+
onInput: I,
|
|
773
|
+
onKeyDown: q,
|
|
774
|
+
spellCheck: "true",
|
|
775
|
+
contentEditable: s && h ? te.ContentEditable : "false",
|
|
776
|
+
suppressContentEditableWarning: !0,
|
|
777
|
+
...L,
|
|
778
|
+
children: i
|
|
779
|
+
}
|
|
780
|
+
)
|
|
781
|
+
}
|
|
782
|
+
);
|
|
783
|
+
}
|
|
673
784
|
var Dt = { exports: {} }, yt = {};
|
|
674
785
|
/**
|
|
675
786
|
* @license React
|
|
@@ -681,16 +792,16 @@ var Dt = { exports: {} }, yt = {};
|
|
|
681
792
|
* LICENSE file in the root directory of this source tree.
|
|
682
793
|
*/
|
|
683
794
|
var At;
|
|
684
|
-
function
|
|
795
|
+
function or() {
|
|
685
796
|
if (At) return yt;
|
|
686
797
|
At = 1;
|
|
687
|
-
var
|
|
798
|
+
var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
688
799
|
function O(x, s, h) {
|
|
689
800
|
var o, d = {}, k = null, S = null;
|
|
690
801
|
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
691
802
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
692
803
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
693
|
-
return { $$typeof:
|
|
804
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
694
805
|
}
|
|
695
806
|
return yt.Fragment = c, yt.jsx = O, yt.jsxs = O, yt;
|
|
696
807
|
}
|
|
@@ -705,26 +816,26 @@ var bt = {};
|
|
|
705
816
|
* LICENSE file in the root directory of this source tree.
|
|
706
817
|
*/
|
|
707
818
|
var Bt;
|
|
708
|
-
function
|
|
819
|
+
function ir() {
|
|
709
820
|
return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
710
|
-
var
|
|
821
|
+
var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
711
822
|
function $(e) {
|
|
712
823
|
if (e === null || typeof e != "object")
|
|
713
824
|
return null;
|
|
714
825
|
var t = N && e[N] || e[A];
|
|
715
826
|
return typeof t == "function" ? t : null;
|
|
716
827
|
}
|
|
717
|
-
var T =
|
|
828
|
+
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
718
829
|
function p(e) {
|
|
719
830
|
{
|
|
720
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
721
|
-
r[
|
|
831
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
832
|
+
r[n - 1] = arguments[n];
|
|
722
833
|
I("error", e, r);
|
|
723
834
|
}
|
|
724
835
|
}
|
|
725
836
|
function I(e, t, r) {
|
|
726
837
|
{
|
|
727
|
-
var
|
|
838
|
+
var n = T.ReactDebugCurrentFrame, m = n.getStackAddendum();
|
|
728
839
|
m !== "" && (t += "%s", r = r.concat([m]));
|
|
729
840
|
var y = r.map(function(l) {
|
|
730
841
|
return String(l);
|
|
@@ -735,20 +846,20 @@ function er() {
|
|
|
735
846
|
var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
|
|
736
847
|
P = Symbol.for("react.module.reference");
|
|
737
848
|
function W(e) {
|
|
738
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e ===
|
|
849
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
739
850
|
// types supported by any Flight configuration anywhere since
|
|
740
851
|
// we don't know which Flight build this will end up being used
|
|
741
852
|
// with.
|
|
742
853
|
e.$$typeof === P || e.getModuleId !== void 0));
|
|
743
854
|
}
|
|
744
855
|
function R(e, t, r) {
|
|
745
|
-
var
|
|
746
|
-
if (
|
|
747
|
-
return
|
|
856
|
+
var n = e.displayName;
|
|
857
|
+
if (n)
|
|
858
|
+
return n;
|
|
748
859
|
var m = t.displayName || t.name || "";
|
|
749
860
|
return m !== "" ? r + "(" + m + ")" : r;
|
|
750
861
|
}
|
|
751
|
-
function
|
|
862
|
+
function g(e) {
|
|
752
863
|
return e.displayName || "Context";
|
|
753
864
|
}
|
|
754
865
|
function b(e) {
|
|
@@ -765,7 +876,7 @@ function er() {
|
|
|
765
876
|
return "Portal";
|
|
766
877
|
case C:
|
|
767
878
|
return "Profiler";
|
|
768
|
-
case
|
|
879
|
+
case v:
|
|
769
880
|
return "StrictMode";
|
|
770
881
|
case h:
|
|
771
882
|
return "Suspense";
|
|
@@ -776,15 +887,15 @@ function er() {
|
|
|
776
887
|
switch (e.$$typeof) {
|
|
777
888
|
case x:
|
|
778
889
|
var t = e;
|
|
779
|
-
return
|
|
890
|
+
return g(t) + ".Consumer";
|
|
780
891
|
case O:
|
|
781
892
|
var r = e;
|
|
782
|
-
return
|
|
893
|
+
return g(r._context) + ".Provider";
|
|
783
894
|
case s:
|
|
784
895
|
return R(e, e.render, "ForwardRef");
|
|
785
896
|
case d:
|
|
786
|
-
var
|
|
787
|
-
return
|
|
897
|
+
var n = e.displayName || null;
|
|
898
|
+
return n !== null ? n : b(e.type) || "Memo";
|
|
788
899
|
case k: {
|
|
789
900
|
var m = e, y = m._payload, l = m._init;
|
|
790
901
|
try {
|
|
@@ -865,8 +976,8 @@ function er() {
|
|
|
865
976
|
try {
|
|
866
977
|
throw Error();
|
|
867
978
|
} catch (m) {
|
|
868
|
-
var
|
|
869
|
-
ce =
|
|
979
|
+
var n = m.stack.trim().match(/\n( *(at )?)/);
|
|
980
|
+
ce = n && n[1] || "";
|
|
870
981
|
}
|
|
871
982
|
return `
|
|
872
983
|
` + ce + e;
|
|
@@ -885,7 +996,7 @@ function er() {
|
|
|
885
996
|
if (r !== void 0)
|
|
886
997
|
return r;
|
|
887
998
|
}
|
|
888
|
-
var
|
|
999
|
+
var n;
|
|
889
1000
|
ue = !0;
|
|
890
1001
|
var m = Error.prepareStackTrace;
|
|
891
1002
|
Error.prepareStackTrace = void 0;
|
|
@@ -904,14 +1015,14 @@ function er() {
|
|
|
904
1015
|
try {
|
|
905
1016
|
Reflect.construct(l, []);
|
|
906
1017
|
} catch (F) {
|
|
907
|
-
|
|
1018
|
+
n = F;
|
|
908
1019
|
}
|
|
909
1020
|
Reflect.construct(e, [], l);
|
|
910
1021
|
} else {
|
|
911
1022
|
try {
|
|
912
1023
|
l.call();
|
|
913
1024
|
} catch (F) {
|
|
914
|
-
|
|
1025
|
+
n = F;
|
|
915
1026
|
}
|
|
916
1027
|
e.call(l.prototype);
|
|
917
1028
|
}
|
|
@@ -919,23 +1030,23 @@ function er() {
|
|
|
919
1030
|
try {
|
|
920
1031
|
throw Error();
|
|
921
1032
|
} catch (F) {
|
|
922
|
-
|
|
1033
|
+
n = F;
|
|
923
1034
|
}
|
|
924
1035
|
e();
|
|
925
1036
|
}
|
|
926
1037
|
} catch (F) {
|
|
927
|
-
if (F &&
|
|
928
|
-
for (var
|
|
929
|
-
`), D =
|
|
930
|
-
`), w =
|
|
1038
|
+
if (F && n && typeof F.stack == "string") {
|
|
1039
|
+
for (var _ = F.stack.split(`
|
|
1040
|
+
`), D = n.stack.split(`
|
|
1041
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
931
1042
|
j--;
|
|
932
1043
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
933
|
-
if (
|
|
1044
|
+
if (_[w] !== D[j]) {
|
|
934
1045
|
if (w !== 1 || j !== 1)
|
|
935
1046
|
do
|
|
936
|
-
if (w--, j--, j < 0 ||
|
|
1047
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
937
1048
|
var B = `
|
|
938
|
-
` +
|
|
1049
|
+
` + _[w].replace(" at new ", " at ");
|
|
939
1050
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
940
1051
|
}
|
|
941
1052
|
while (w >= 1 && j >= 0);
|
|
@@ -975,7 +1086,7 @@ function er() {
|
|
|
975
1086
|
case d:
|
|
976
1087
|
return ne(e.type, t, r);
|
|
977
1088
|
case k: {
|
|
978
|
-
var
|
|
1089
|
+
var n = e, m = n._payload, y = n._init;
|
|
979
1090
|
try {
|
|
980
1091
|
return ne(y(m), t, r);
|
|
981
1092
|
} catch {
|
|
@@ -992,22 +1103,22 @@ function er() {
|
|
|
992
1103
|
} else
|
|
993
1104
|
Ce.setExtraStackFrame(null);
|
|
994
1105
|
}
|
|
995
|
-
function Ye(e, t, r,
|
|
1106
|
+
function Ye(e, t, r, n, m) {
|
|
996
1107
|
{
|
|
997
1108
|
var y = Function.call.bind(X);
|
|
998
1109
|
for (var l in e)
|
|
999
1110
|
if (y(e, l)) {
|
|
1000
|
-
var
|
|
1111
|
+
var _ = void 0;
|
|
1001
1112
|
try {
|
|
1002
1113
|
if (typeof e[l] != "function") {
|
|
1003
|
-
var D = Error((
|
|
1114
|
+
var D = Error((n || "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`.");
|
|
1004
1115
|
throw D.name = "Invariant Violation", D;
|
|
1005
1116
|
}
|
|
1006
|
-
|
|
1117
|
+
_ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1007
1118
|
} catch (w) {
|
|
1008
|
-
|
|
1119
|
+
_ = w;
|
|
1009
1120
|
}
|
|
1010
|
-
|
|
1121
|
+
_ && !(_ instanceof Error) && (oe(m), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(m), p("Failed %s type: %s", r, _.message), oe(null));
|
|
1011
1122
|
}
|
|
1012
1123
|
}
|
|
1013
1124
|
}
|
|
@@ -1082,10 +1193,10 @@ function er() {
|
|
|
1082
1193
|
});
|
|
1083
1194
|
}
|
|
1084
1195
|
}
|
|
1085
|
-
var tt = function(e, t, r,
|
|
1086
|
-
var
|
|
1196
|
+
var tt = function(e, t, r, n, m, y, l) {
|
|
1197
|
+
var _ = {
|
|
1087
1198
|
// This tag allows us to uniquely identify this as a React Element
|
|
1088
|
-
$$typeof:
|
|
1199
|
+
$$typeof: i,
|
|
1089
1200
|
// Built-in properties that belong on the element
|
|
1090
1201
|
type: e,
|
|
1091
1202
|
key: t,
|
|
@@ -1094,27 +1205,27 @@ function er() {
|
|
|
1094
1205
|
// Record the component responsible for creating this element.
|
|
1095
1206
|
_owner: y
|
|
1096
1207
|
};
|
|
1097
|
-
return
|
|
1208
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1098
1209
|
configurable: !1,
|
|
1099
1210
|
enumerable: !1,
|
|
1100
1211
|
writable: !0,
|
|
1101
1212
|
value: !1
|
|
1102
|
-
}), Object.defineProperty(
|
|
1213
|
+
}), Object.defineProperty(_, "_self", {
|
|
1103
1214
|
configurable: !1,
|
|
1104
1215
|
enumerable: !1,
|
|
1105
1216
|
writable: !1,
|
|
1106
|
-
value:
|
|
1107
|
-
}), Object.defineProperty(
|
|
1217
|
+
value: n
|
|
1218
|
+
}), Object.defineProperty(_, "_source", {
|
|
1108
1219
|
configurable: !1,
|
|
1109
1220
|
enumerable: !1,
|
|
1110
1221
|
writable: !1,
|
|
1111
1222
|
value: m
|
|
1112
|
-
}), Object.freeze && (Object.freeze(
|
|
1223
|
+
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1113
1224
|
};
|
|
1114
|
-
function rt(e, t, r,
|
|
1225
|
+
function rt(e, t, r, n, m) {
|
|
1115
1226
|
{
|
|
1116
|
-
var y, l = {},
|
|
1117
|
-
r !== void 0 && (Re(r),
|
|
1227
|
+
var y, l = {}, _ = null, D = null;
|
|
1228
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
1118
1229
|
for (y in t)
|
|
1119
1230
|
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
1120
1231
|
if (e && e.defaultProps) {
|
|
@@ -1122,11 +1233,11 @@ function er() {
|
|
|
1122
1233
|
for (y in w)
|
|
1123
1234
|
l[y] === void 0 && (l[y] = w[y]);
|
|
1124
1235
|
}
|
|
1125
|
-
if (
|
|
1236
|
+
if (_ || D) {
|
|
1126
1237
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1127
|
-
|
|
1238
|
+
_ && Qe(l, j), D && et(l, j);
|
|
1128
1239
|
}
|
|
1129
|
-
return tt(e,
|
|
1240
|
+
return tt(e, _, D, m, n, Ee.current, l);
|
|
1130
1241
|
}
|
|
1131
1242
|
}
|
|
1132
1243
|
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
@@ -1140,7 +1251,7 @@ function er() {
|
|
|
1140
1251
|
var me;
|
|
1141
1252
|
me = !1;
|
|
1142
1253
|
function pe(e) {
|
|
1143
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
1254
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1144
1255
|
}
|
|
1145
1256
|
function Pe() {
|
|
1146
1257
|
{
|
|
@@ -1179,8 +1290,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1179
1290
|
if (Ne[r])
|
|
1180
1291
|
return;
|
|
1181
1292
|
Ne[r] = !0;
|
|
1182
|
-
var
|
|
1183
|
-
e && e._owner && e._owner !== fe.current && (
|
|
1293
|
+
var n = "";
|
|
1294
|
+
e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), Z(null);
|
|
1184
1295
|
}
|
|
1185
1296
|
}
|
|
1186
1297
|
function Ie(e, t) {
|
|
@@ -1189,8 +1300,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1189
1300
|
return;
|
|
1190
1301
|
if (de(e))
|
|
1191
1302
|
for (var r = 0; r < e.length; r++) {
|
|
1192
|
-
var
|
|
1193
|
-
pe(
|
|
1303
|
+
var n = e[r];
|
|
1304
|
+
pe(n) && Fe(n, t);
|
|
1194
1305
|
}
|
|
1195
1306
|
else if (pe(e))
|
|
1196
1307
|
e._store && (e._store.validated = !0);
|
|
@@ -1217,8 +1328,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1217
1328
|
else
|
|
1218
1329
|
return;
|
|
1219
1330
|
if (r) {
|
|
1220
|
-
var
|
|
1221
|
-
Ye(r, e.props, "prop",
|
|
1331
|
+
var n = b(t);
|
|
1332
|
+
Ye(r, e.props, "prop", n, e);
|
|
1222
1333
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
1223
1334
|
me = !0;
|
|
1224
1335
|
var m = b(t);
|
|
@@ -1230,9 +1341,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1230
1341
|
function it(e) {
|
|
1231
1342
|
{
|
|
1232
1343
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1233
|
-
var
|
|
1234
|
-
if (
|
|
1235
|
-
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
1344
|
+
var n = t[r];
|
|
1345
|
+
if (n !== "children" && n !== "key") {
|
|
1346
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), Z(null);
|
|
1236
1347
|
break;
|
|
1237
1348
|
}
|
|
1238
1349
|
}
|
|
@@ -1240,16 +1351,16 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1240
1351
|
}
|
|
1241
1352
|
}
|
|
1242
1353
|
var Me = {};
|
|
1243
|
-
function $e(e, t, r,
|
|
1354
|
+
function $e(e, t, r, n, m, y) {
|
|
1244
1355
|
{
|
|
1245
1356
|
var l = W(e);
|
|
1246
1357
|
if (!l) {
|
|
1247
|
-
var
|
|
1248
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
1358
|
+
var _ = "";
|
|
1359
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1249
1360
|
var D = at();
|
|
1250
|
-
D ?
|
|
1361
|
+
D ? _ += D : _ += Pe();
|
|
1251
1362
|
var w;
|
|
1252
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
1363
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " 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, _);
|
|
1253
1364
|
}
|
|
1254
1365
|
var j = rt(e, t, r, m, y);
|
|
1255
1366
|
if (j == null)
|
|
@@ -1257,7 +1368,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1257
1368
|
if (l) {
|
|
1258
1369
|
var B = t.children;
|
|
1259
1370
|
if (B !== void 0)
|
|
1260
|
-
if (
|
|
1371
|
+
if (n)
|
|
1261
1372
|
if (de(B)) {
|
|
1262
1373
|
for (var V = 0; V < B.length; V++)
|
|
1263
1374
|
Ie(B[V], e);
|
|
@@ -1294,237 +1405,92 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1294
1405
|
bt.Fragment = u, bt.jsx = lt, bt.jsxs = ct;
|
|
1295
1406
|
}()), bt;
|
|
1296
1407
|
}
|
|
1297
|
-
process.env.NODE_ENV === "production" ? Dt.exports =
|
|
1298
|
-
var
|
|
1299
|
-
const
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1408
|
+
process.env.NODE_ENV === "production" ? Dt.exports = or() : Dt.exports = ir();
|
|
1409
|
+
var J = Dt.exports;
|
|
1410
|
+
const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "_ss_oqfdb_94", ur = "_sm_oqfdb_98", dr = "_sl_oqfdb_102", fr = "_sx_oqfdb_106", mr = "_sf_oqfdb_110", pr = "_o_oqfdb_116", yr = "_b_oqfdb_28", vr = "_w_oqfdb_15", gr = "_h_oqfdb_146", hr = "_l_oqfdb_160", br = "_t_oqfdb_197", kr = "_x_oqfdb_201", wr = "_s_oqfdb_89", jr = "_c_oqfdb_219", xr = "_f_oqfdb_224", Cr = "_r__oqfdb_235", Sr = "_c__oqfdb_250", Rr = "_g_oqfdb_259", Er = "_m_oqfdb_79", _e = {
|
|
1411
|
+
shake: _r,
|
|
1412
|
+
modal: sr,
|
|
1413
|
+
sa: lr,
|
|
1414
|
+
ss: cr,
|
|
1415
|
+
sm: ur,
|
|
1416
|
+
sl: dr,
|
|
1417
|
+
sx: fr,
|
|
1418
|
+
sf: mr,
|
|
1419
|
+
o: pr,
|
|
1420
|
+
b: yr,
|
|
1421
|
+
w: vr,
|
|
1422
|
+
h: gr,
|
|
1423
|
+
l: hr,
|
|
1424
|
+
t: br,
|
|
1425
|
+
x: kr,
|
|
1426
|
+
s: wr,
|
|
1427
|
+
c: jr,
|
|
1428
|
+
f: xr,
|
|
1429
|
+
r_: Cr,
|
|
1430
|
+
c_: Sr,
|
|
1431
|
+
g: Rr,
|
|
1432
|
+
m: Er
|
|
1307
1433
|
};
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
K.useEffect(() => {
|
|
1312
|
-
n.hide && (setTimeout(function() {
|
|
1313
|
-
c("hide");
|
|
1314
|
-
}, 1800), setTimeout(function() {
|
|
1315
|
-
Be.del(n.key);
|
|
1316
|
-
}, 2500));
|
|
1317
|
-
}, [n.key]);
|
|
1318
|
-
let u, g;
|
|
1319
|
-
switch (n.type) {
|
|
1320
|
-
case "error":
|
|
1321
|
-
u = /* @__PURE__ */ ee.jsx(ft.error, {}), g = "Ошибка:";
|
|
1322
|
-
break;
|
|
1323
|
-
case "success":
|
|
1324
|
-
u = /* @__PURE__ */ ee.jsx(ft.success, {}), g = "Информация:";
|
|
1325
|
-
break;
|
|
1326
|
-
case "copy":
|
|
1327
|
-
u = /* @__PURE__ */ ee.jsx(ft.success, {}), g = "Копирование:";
|
|
1328
|
-
break;
|
|
1329
|
-
case "remark":
|
|
1330
|
-
u = /* @__PURE__ */ ee.jsx(ft.success, {}), g = "Подсказка:";
|
|
1331
|
-
break;
|
|
1332
|
-
default:
|
|
1333
|
-
u = /* @__PURE__ */ ee.jsx(ft.success, {}), g = "Предупреждение:";
|
|
1334
|
-
break;
|
|
1335
|
-
}
|
|
1336
|
-
return /* @__PURE__ */ ee.jsxs("li", { className: zt[n.type], "data-status": _, children: [
|
|
1337
|
-
u,
|
|
1338
|
-
/* @__PURE__ */ ee.jsx("b", { children: g }),
|
|
1339
|
-
/* @__PURE__ */ ee.jsx("p", { children: n.text })
|
|
1340
|
-
] });
|
|
1341
|
-
}
|
|
1342
|
-
function ir({ data: n }) {
|
|
1343
|
-
let [_, c] = K.useState("show");
|
|
1344
|
-
return K.useEffect(() => {
|
|
1345
|
-
n.hide && (setTimeout(function() {
|
|
1346
|
-
c("hide");
|
|
1347
|
-
}, 1800), setTimeout(function() {
|
|
1348
|
-
Be.del(n.key);
|
|
1349
|
-
}, 2500));
|
|
1350
|
-
}, [n.key]), /* @__PURE__ */ ee.jsx("li", { className: "item", "data-status": _, children: n.text });
|
|
1351
|
-
}
|
|
1352
|
-
const ft = {};
|
|
1353
|
-
ft.error = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
1354
|
-
/* @__PURE__ */ ee.jsx(
|
|
1355
|
-
"path",
|
|
1434
|
+
function Or({ children: a, className: i }) {
|
|
1435
|
+
return /* @__PURE__ */ J.jsx(
|
|
1436
|
+
"div",
|
|
1356
1437
|
{
|
|
1357
|
-
|
|
1358
|
-
|
|
1438
|
+
className: [_e.l, i].filter((c) => c !== void 0).join(" "),
|
|
1439
|
+
children: /* @__PURE__ */ J.jsx("ul", { children: a })
|
|
1359
1440
|
}
|
|
1360
|
-
)
|
|
1361
|
-
|
|
1362
|
-
|
|
1441
|
+
);
|
|
1442
|
+
}
|
|
1443
|
+
function Tr({ children: a, className: i }) {
|
|
1444
|
+
return /* @__PURE__ */ J.jsx(
|
|
1445
|
+
"div",
|
|
1363
1446
|
{
|
|
1364
|
-
|
|
1365
|
-
|
|
1447
|
+
className: [_e.s, i].filter((c) => c !== void 0).join(" "),
|
|
1448
|
+
children: a
|
|
1366
1449
|
}
|
|
1367
|
-
)
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1450
|
+
);
|
|
1451
|
+
}
|
|
1452
|
+
function Dr({
|
|
1453
|
+
children: a,
|
|
1454
|
+
direction: i = "column",
|
|
1455
|
+
className: c
|
|
1456
|
+
}) {
|
|
1457
|
+
return /* @__PURE__ */ J.jsx(
|
|
1458
|
+
"ul",
|
|
1372
1459
|
{
|
|
1373
|
-
|
|
1374
|
-
|
|
1460
|
+
className: [
|
|
1461
|
+
_e.f,
|
|
1462
|
+
_e[i === "row" ? "r_" : "c_"],
|
|
1463
|
+
c
|
|
1464
|
+
].filter((u) => u !== void 0).join(" "),
|
|
1465
|
+
children: a
|
|
1375
1466
|
}
|
|
1376
|
-
)
|
|
1377
|
-
|
|
1378
|
-
|
|
1467
|
+
);
|
|
1468
|
+
}
|
|
1469
|
+
function Pr({ children: a, className: i }) {
|
|
1470
|
+
return /* @__PURE__ */ J.jsx(
|
|
1471
|
+
"div",
|
|
1379
1472
|
{
|
|
1380
|
-
|
|
1381
|
-
|
|
1473
|
+
className: [_e.c, i].filter((c) => c !== void 0).join(" "),
|
|
1474
|
+
children: a
|
|
1382
1475
|
}
|
|
1383
|
-
)
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
let [s, h] = K.useState([]);
|
|
1389
|
-
return Be.set = (o) => {
|
|
1390
|
-
h([...s, o]);
|
|
1391
|
-
}, Be.del = (o) => {
|
|
1392
|
-
h(s.filter((d) => d.key !== o));
|
|
1393
|
-
}, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: zt.notice, children: s.map((o) => o.item) });
|
|
1394
|
-
}
|
|
1395
|
-
n.Init = _;
|
|
1396
|
-
function c(s, h = !0) {
|
|
1397
|
-
let o = Date.now(), d = { key: o, text: s, hide: h, type: "error" };
|
|
1398
|
-
Be.set({
|
|
1399
|
-
item: /* @__PURE__ */ ee.jsx(vt, { data: d }, o),
|
|
1400
|
-
key: o
|
|
1401
|
-
});
|
|
1402
|
-
}
|
|
1403
|
-
n.Error = c;
|
|
1404
|
-
function u(s, h = !0) {
|
|
1405
|
-
let o = Date.now(), d = { key: o, text: s, hide: h, type: "success" };
|
|
1406
|
-
Be.set({
|
|
1407
|
-
item: /* @__PURE__ */ ee.jsx(vt, { data: d }, o),
|
|
1408
|
-
key: o
|
|
1409
|
-
});
|
|
1410
|
-
}
|
|
1411
|
-
n.Success = u;
|
|
1412
|
-
function g(s, h = !0) {
|
|
1413
|
-
let o = Date.now(), d = { key: o, hide: h, text: s };
|
|
1414
|
-
Be.set({ item: /* @__PURE__ */ ee.jsx(ir, { data: d }, o), key: o });
|
|
1415
|
-
}
|
|
1416
|
-
n.Custom = g;
|
|
1417
|
-
function C(s) {
|
|
1418
|
-
let h = Date.now(), o = { key: h, hide: !0, ...s };
|
|
1419
|
-
Be.set({
|
|
1420
|
-
item: /* @__PURE__ */ ee.jsx(vt, { data: o }, h),
|
|
1421
|
-
key: h
|
|
1422
|
-
});
|
|
1423
|
-
}
|
|
1424
|
-
n.Send = C;
|
|
1425
|
-
function O(s, h = !0) {
|
|
1426
|
-
let o = Date.now(), d = { key: o, text: s, hide: h, type: "remark" };
|
|
1427
|
-
Be.set({
|
|
1428
|
-
item: /* @__PURE__ */ ee.jsx(vt, { data: d }, o),
|
|
1429
|
-
key: o
|
|
1430
|
-
});
|
|
1431
|
-
}
|
|
1432
|
-
n.Remark = O;
|
|
1433
|
-
function x(s, h = !0) {
|
|
1434
|
-
let o = Date.now(), d = { key: o, text: s, hide: h, type: "copy" };
|
|
1435
|
-
Be.set({
|
|
1436
|
-
item: /* @__PURE__ */ ee.jsx(vt, { data: d }, o),
|
|
1437
|
-
key: o
|
|
1438
|
-
});
|
|
1439
|
-
}
|
|
1440
|
-
n.Copy = x;
|
|
1441
|
-
})(xt || (xt = {}));
|
|
1442
|
-
const _r = "_l_o6yrz_13", sr = "_f_o6yrz_38", lr = "_n_o6yrz_50", cr = "_w_o6yrz_55", ur = "_t_o6yrz_65", z = {
|
|
1443
|
-
l: _r,
|
|
1444
|
-
f: sr,
|
|
1445
|
-
n: lr,
|
|
1446
|
-
w: cr,
|
|
1447
|
-
t: ur
|
|
1448
|
-
};
|
|
1449
|
-
function ga({
|
|
1450
|
-
id: n,
|
|
1451
|
-
value: _,
|
|
1452
|
-
onValue: c,
|
|
1453
|
-
name: u,
|
|
1454
|
-
placeholder: g = "",
|
|
1455
|
-
title: C = "",
|
|
1456
|
-
error: O = "",
|
|
1457
|
-
hide: x = !1,
|
|
1458
|
-
edit: s = !0,
|
|
1459
|
-
active: h = !0,
|
|
1460
|
-
after: o = "",
|
|
1461
|
-
before: d = "",
|
|
1462
|
-
show: k = !0,
|
|
1463
|
-
maxLength: S,
|
|
1464
|
-
onSave: N,
|
|
1465
|
-
className: A = "",
|
|
1466
|
-
isCopy: $ = !0,
|
|
1467
|
-
isReload: T = !1
|
|
1468
|
-
}) {
|
|
1469
|
-
let p = !!(x && (_ === "" || _ === void 0)), I = (E) => {
|
|
1470
|
-
c && c({
|
|
1471
|
-
value: E.target.textContent.trim(),
|
|
1472
|
-
name: u,
|
|
1473
|
-
reload: T
|
|
1474
|
-
});
|
|
1475
|
-
}, q = (E) => {
|
|
1476
|
-
S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
1477
|
-
}, Y = (E) => {
|
|
1478
|
-
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
1479
|
-
if (S) {
|
|
1480
|
-
let W = E.target.textContent.length;
|
|
1481
|
-
if (W >= S) return;
|
|
1482
|
-
S -= W, P = P.slice(0, S);
|
|
1483
|
-
}
|
|
1484
|
-
window.document.execCommand(
|
|
1485
|
-
"insertText",
|
|
1486
|
-
!1,
|
|
1487
|
-
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
1488
|
-
);
|
|
1489
|
-
}).catch((P) => {
|
|
1490
|
-
});
|
|
1491
|
-
};
|
|
1492
|
-
if (!(s && h) && !k || !(s && h) && p) return "";
|
|
1493
|
-
const L = {};
|
|
1494
|
-
g && (L.placeholder = g), s && h && (L.edit = "");
|
|
1495
|
-
const U = (E) => {
|
|
1496
|
-
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
1497
|
-
};
|
|
1498
|
-
return /* @__PURE__ */ f.jsxs(
|
|
1499
|
-
"dl",
|
|
1476
|
+
);
|
|
1477
|
+
}
|
|
1478
|
+
function Nr({ children: a, className: i }) {
|
|
1479
|
+
return /* @__PURE__ */ J.jsx(
|
|
1480
|
+
"div",
|
|
1500
1481
|
{
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
children: [
|
|
1504
|
-
C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
|
|
1505
|
-
d,
|
|
1506
|
-
/* @__PURE__ */ f.jsx(
|
|
1507
|
-
"dd",
|
|
1508
|
-
{
|
|
1509
|
-
className: [z.f, z.w].join(" "),
|
|
1510
|
-
onPaste: Y,
|
|
1511
|
-
onInput: I,
|
|
1512
|
-
onBlur: U,
|
|
1513
|
-
onKeyDown: q,
|
|
1514
|
-
spellCheck: "true",
|
|
1515
|
-
contentEditable: s && h ? te.ContentEditable : "false",
|
|
1516
|
-
suppressContentEditableWarning: !0,
|
|
1517
|
-
...L,
|
|
1518
|
-
children: _
|
|
1519
|
-
}
|
|
1520
|
-
),
|
|
1521
|
-
o,
|
|
1522
|
-
O ? /* @__PURE__ */ f.jsx("em", { children: O }) : ""
|
|
1523
|
-
]
|
|
1482
|
+
className: [_e.g, i].filter((c) => c !== void 0).join(" "),
|
|
1483
|
+
children: a
|
|
1524
1484
|
}
|
|
1525
1485
|
);
|
|
1526
1486
|
}
|
|
1527
|
-
|
|
1487
|
+
function Fr() {
|
|
1488
|
+
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1489
|
+
}
|
|
1490
|
+
function Lt(a) {
|
|
1491
|
+
return Fr().IMPORT_MODULES;
|
|
1492
|
+
}
|
|
1493
|
+
var Pt = { exports: {} }, vt = {};
|
|
1528
1494
|
/**
|
|
1529
1495
|
* @license React
|
|
1530
1496
|
* react-jsx-runtime.production.min.js
|
|
@@ -1534,19 +1500,19 @@ var Pt = { exports: {} }, gt = {};
|
|
|
1534
1500
|
* This source code is licensed under the MIT license found in the
|
|
1535
1501
|
* LICENSE file in the root directory of this source tree.
|
|
1536
1502
|
*/
|
|
1537
|
-
var
|
|
1538
|
-
function
|
|
1539
|
-
if (
|
|
1540
|
-
|
|
1541
|
-
var
|
|
1503
|
+
var Wt;
|
|
1504
|
+
function Ir() {
|
|
1505
|
+
if (Wt) return vt;
|
|
1506
|
+
Wt = 1;
|
|
1507
|
+
var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1542
1508
|
function O(x, s, h) {
|
|
1543
1509
|
var o, d = {}, k = null, S = null;
|
|
1544
1510
|
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
1545
1511
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
1546
1512
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
1547
|
-
return { $$typeof:
|
|
1513
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
1548
1514
|
}
|
|
1549
|
-
return
|
|
1515
|
+
return vt.Fragment = c, vt.jsx = O, vt.jsxs = O, vt;
|
|
1550
1516
|
}
|
|
1551
1517
|
var kt = {};
|
|
1552
1518
|
/**
|
|
@@ -1558,27 +1524,27 @@ var kt = {};
|
|
|
1558
1524
|
* This source code is licensed under the MIT license found in the
|
|
1559
1525
|
* LICENSE file in the root directory of this source tree.
|
|
1560
1526
|
*/
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1563
|
-
return
|
|
1564
|
-
var
|
|
1527
|
+
var Ut;
|
|
1528
|
+
function Mr() {
|
|
1529
|
+
return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1530
|
+
var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
1565
1531
|
function $(e) {
|
|
1566
1532
|
if (e === null || typeof e != "object")
|
|
1567
1533
|
return null;
|
|
1568
1534
|
var t = N && e[N] || e[A];
|
|
1569
1535
|
return typeof t == "function" ? t : null;
|
|
1570
1536
|
}
|
|
1571
|
-
var T =
|
|
1537
|
+
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1572
1538
|
function p(e) {
|
|
1573
1539
|
{
|
|
1574
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
1575
|
-
r[
|
|
1540
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
1541
|
+
r[n - 1] = arguments[n];
|
|
1576
1542
|
I("error", e, r);
|
|
1577
1543
|
}
|
|
1578
1544
|
}
|
|
1579
1545
|
function I(e, t, r) {
|
|
1580
1546
|
{
|
|
1581
|
-
var
|
|
1547
|
+
var n = T.ReactDebugCurrentFrame, m = n.getStackAddendum();
|
|
1582
1548
|
m !== "" && (t += "%s", r = r.concat([m]));
|
|
1583
1549
|
var y = r.map(function(l) {
|
|
1584
1550
|
return String(l);
|
|
@@ -1589,20 +1555,20 @@ function fr() {
|
|
|
1589
1555
|
var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
|
|
1590
1556
|
P = Symbol.for("react.module.reference");
|
|
1591
1557
|
function W(e) {
|
|
1592
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e ===
|
|
1558
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1593
1559
|
// types supported by any Flight configuration anywhere since
|
|
1594
1560
|
// we don't know which Flight build this will end up being used
|
|
1595
1561
|
// with.
|
|
1596
1562
|
e.$$typeof === P || e.getModuleId !== void 0));
|
|
1597
1563
|
}
|
|
1598
1564
|
function R(e, t, r) {
|
|
1599
|
-
var
|
|
1600
|
-
if (
|
|
1601
|
-
return
|
|
1565
|
+
var n = e.displayName;
|
|
1566
|
+
if (n)
|
|
1567
|
+
return n;
|
|
1602
1568
|
var m = t.displayName || t.name || "";
|
|
1603
1569
|
return m !== "" ? r + "(" + m + ")" : r;
|
|
1604
1570
|
}
|
|
1605
|
-
function
|
|
1571
|
+
function g(e) {
|
|
1606
1572
|
return e.displayName || "Context";
|
|
1607
1573
|
}
|
|
1608
1574
|
function b(e) {
|
|
@@ -1619,7 +1585,7 @@ function fr() {
|
|
|
1619
1585
|
return "Portal";
|
|
1620
1586
|
case C:
|
|
1621
1587
|
return "Profiler";
|
|
1622
|
-
case
|
|
1588
|
+
case v:
|
|
1623
1589
|
return "StrictMode";
|
|
1624
1590
|
case h:
|
|
1625
1591
|
return "Suspense";
|
|
@@ -1630,15 +1596,15 @@ function fr() {
|
|
|
1630
1596
|
switch (e.$$typeof) {
|
|
1631
1597
|
case x:
|
|
1632
1598
|
var t = e;
|
|
1633
|
-
return
|
|
1599
|
+
return g(t) + ".Consumer";
|
|
1634
1600
|
case O:
|
|
1635
1601
|
var r = e;
|
|
1636
|
-
return
|
|
1602
|
+
return g(r._context) + ".Provider";
|
|
1637
1603
|
case s:
|
|
1638
1604
|
return R(e, e.render, "ForwardRef");
|
|
1639
1605
|
case d:
|
|
1640
|
-
var
|
|
1641
|
-
return
|
|
1606
|
+
var n = e.displayName || null;
|
|
1607
|
+
return n !== null ? n : b(e.type) || "Memo";
|
|
1642
1608
|
case k: {
|
|
1643
1609
|
var m = e, y = m._payload, l = m._init;
|
|
1644
1610
|
try {
|
|
@@ -1719,8 +1685,8 @@ function fr() {
|
|
|
1719
1685
|
try {
|
|
1720
1686
|
throw Error();
|
|
1721
1687
|
} catch (m) {
|
|
1722
|
-
var
|
|
1723
|
-
ce =
|
|
1688
|
+
var n = m.stack.trim().match(/\n( *(at )?)/);
|
|
1689
|
+
ce = n && n[1] || "";
|
|
1724
1690
|
}
|
|
1725
1691
|
return `
|
|
1726
1692
|
` + ce + e;
|
|
@@ -1739,7 +1705,7 @@ function fr() {
|
|
|
1739
1705
|
if (r !== void 0)
|
|
1740
1706
|
return r;
|
|
1741
1707
|
}
|
|
1742
|
-
var
|
|
1708
|
+
var n;
|
|
1743
1709
|
ue = !0;
|
|
1744
1710
|
var m = Error.prepareStackTrace;
|
|
1745
1711
|
Error.prepareStackTrace = void 0;
|
|
@@ -1758,14 +1724,14 @@ function fr() {
|
|
|
1758
1724
|
try {
|
|
1759
1725
|
Reflect.construct(l, []);
|
|
1760
1726
|
} catch (F) {
|
|
1761
|
-
|
|
1727
|
+
n = F;
|
|
1762
1728
|
}
|
|
1763
1729
|
Reflect.construct(e, [], l);
|
|
1764
1730
|
} else {
|
|
1765
1731
|
try {
|
|
1766
1732
|
l.call();
|
|
1767
1733
|
} catch (F) {
|
|
1768
|
-
|
|
1734
|
+
n = F;
|
|
1769
1735
|
}
|
|
1770
1736
|
e.call(l.prototype);
|
|
1771
1737
|
}
|
|
@@ -1773,23 +1739,23 @@ function fr() {
|
|
|
1773
1739
|
try {
|
|
1774
1740
|
throw Error();
|
|
1775
1741
|
} catch (F) {
|
|
1776
|
-
|
|
1742
|
+
n = F;
|
|
1777
1743
|
}
|
|
1778
1744
|
e();
|
|
1779
1745
|
}
|
|
1780
1746
|
} catch (F) {
|
|
1781
|
-
if (F &&
|
|
1782
|
-
for (var
|
|
1783
|
-
`), D =
|
|
1784
|
-
`), w =
|
|
1747
|
+
if (F && n && typeof F.stack == "string") {
|
|
1748
|
+
for (var _ = F.stack.split(`
|
|
1749
|
+
`), D = n.stack.split(`
|
|
1750
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
1785
1751
|
j--;
|
|
1786
1752
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1787
|
-
if (
|
|
1753
|
+
if (_[w] !== D[j]) {
|
|
1788
1754
|
if (w !== 1 || j !== 1)
|
|
1789
1755
|
do
|
|
1790
|
-
if (w--, j--, j < 0 ||
|
|
1756
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
1791
1757
|
var B = `
|
|
1792
|
-
` +
|
|
1758
|
+
` + _[w].replace(" at new ", " at ");
|
|
1793
1759
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
1794
1760
|
}
|
|
1795
1761
|
while (w >= 1 && j >= 0);
|
|
@@ -1829,7 +1795,7 @@ function fr() {
|
|
|
1829
1795
|
case d:
|
|
1830
1796
|
return ne(e.type, t, r);
|
|
1831
1797
|
case k: {
|
|
1832
|
-
var
|
|
1798
|
+
var n = e, m = n._payload, y = n._init;
|
|
1833
1799
|
try {
|
|
1834
1800
|
return ne(y(m), t, r);
|
|
1835
1801
|
} catch {
|
|
@@ -1846,22 +1812,22 @@ function fr() {
|
|
|
1846
1812
|
} else
|
|
1847
1813
|
Ce.setExtraStackFrame(null);
|
|
1848
1814
|
}
|
|
1849
|
-
function Ye(e, t, r,
|
|
1815
|
+
function Ye(e, t, r, n, m) {
|
|
1850
1816
|
{
|
|
1851
1817
|
var y = Function.call.bind(X);
|
|
1852
1818
|
for (var l in e)
|
|
1853
1819
|
if (y(e, l)) {
|
|
1854
|
-
var
|
|
1820
|
+
var _ = void 0;
|
|
1855
1821
|
try {
|
|
1856
1822
|
if (typeof e[l] != "function") {
|
|
1857
|
-
var D = Error((
|
|
1823
|
+
var D = Error((n || "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`.");
|
|
1858
1824
|
throw D.name = "Invariant Violation", D;
|
|
1859
1825
|
}
|
|
1860
|
-
|
|
1826
|
+
_ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1861
1827
|
} catch (w) {
|
|
1862
|
-
|
|
1828
|
+
_ = w;
|
|
1863
1829
|
}
|
|
1864
|
-
|
|
1830
|
+
_ && !(_ instanceof Error) && (oe(m), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(m), p("Failed %s type: %s", r, _.message), oe(null));
|
|
1865
1831
|
}
|
|
1866
1832
|
}
|
|
1867
1833
|
}
|
|
@@ -1936,10 +1902,10 @@ function fr() {
|
|
|
1936
1902
|
});
|
|
1937
1903
|
}
|
|
1938
1904
|
}
|
|
1939
|
-
var tt = function(e, t, r,
|
|
1940
|
-
var
|
|
1905
|
+
var tt = function(e, t, r, n, m, y, l) {
|
|
1906
|
+
var _ = {
|
|
1941
1907
|
// This tag allows us to uniquely identify this as a React Element
|
|
1942
|
-
$$typeof:
|
|
1908
|
+
$$typeof: i,
|
|
1943
1909
|
// Built-in properties that belong on the element
|
|
1944
1910
|
type: e,
|
|
1945
1911
|
key: t,
|
|
@@ -1948,27 +1914,27 @@ function fr() {
|
|
|
1948
1914
|
// Record the component responsible for creating this element.
|
|
1949
1915
|
_owner: y
|
|
1950
1916
|
};
|
|
1951
|
-
return
|
|
1917
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1952
1918
|
configurable: !1,
|
|
1953
1919
|
enumerable: !1,
|
|
1954
1920
|
writable: !0,
|
|
1955
1921
|
value: !1
|
|
1956
|
-
}), Object.defineProperty(
|
|
1922
|
+
}), Object.defineProperty(_, "_self", {
|
|
1957
1923
|
configurable: !1,
|
|
1958
1924
|
enumerable: !1,
|
|
1959
1925
|
writable: !1,
|
|
1960
|
-
value:
|
|
1961
|
-
}), Object.defineProperty(
|
|
1926
|
+
value: n
|
|
1927
|
+
}), Object.defineProperty(_, "_source", {
|
|
1962
1928
|
configurable: !1,
|
|
1963
1929
|
enumerable: !1,
|
|
1964
1930
|
writable: !1,
|
|
1965
1931
|
value: m
|
|
1966
|
-
}), Object.freeze && (Object.freeze(
|
|
1932
|
+
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1967
1933
|
};
|
|
1968
|
-
function rt(e, t, r,
|
|
1934
|
+
function rt(e, t, r, n, m) {
|
|
1969
1935
|
{
|
|
1970
|
-
var y, l = {},
|
|
1971
|
-
r !== void 0 && (Re(r),
|
|
1936
|
+
var y, l = {}, _ = null, D = null;
|
|
1937
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
1972
1938
|
for (y in t)
|
|
1973
1939
|
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
1974
1940
|
if (e && e.defaultProps) {
|
|
@@ -1976,11 +1942,11 @@ function fr() {
|
|
|
1976
1942
|
for (y in w)
|
|
1977
1943
|
l[y] === void 0 && (l[y] = w[y]);
|
|
1978
1944
|
}
|
|
1979
|
-
if (
|
|
1945
|
+
if (_ || D) {
|
|
1980
1946
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1981
|
-
|
|
1947
|
+
_ && Qe(l, j), D && et(l, j);
|
|
1982
1948
|
}
|
|
1983
|
-
return tt(e,
|
|
1949
|
+
return tt(e, _, D, m, n, Ee.current, l);
|
|
1984
1950
|
}
|
|
1985
1951
|
}
|
|
1986
1952
|
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
@@ -1994,7 +1960,7 @@ function fr() {
|
|
|
1994
1960
|
var me;
|
|
1995
1961
|
me = !1;
|
|
1996
1962
|
function pe(e) {
|
|
1997
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
1963
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1998
1964
|
}
|
|
1999
1965
|
function Pe() {
|
|
2000
1966
|
{
|
|
@@ -2033,8 +1999,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2033
1999
|
if (Ne[r])
|
|
2034
2000
|
return;
|
|
2035
2001
|
Ne[r] = !0;
|
|
2036
|
-
var
|
|
2037
|
-
e && e._owner && e._owner !== fe.current && (
|
|
2002
|
+
var n = "";
|
|
2003
|
+
e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), Z(null);
|
|
2038
2004
|
}
|
|
2039
2005
|
}
|
|
2040
2006
|
function Ie(e, t) {
|
|
@@ -2043,8 +2009,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2043
2009
|
return;
|
|
2044
2010
|
if (de(e))
|
|
2045
2011
|
for (var r = 0; r < e.length; r++) {
|
|
2046
|
-
var
|
|
2047
|
-
pe(
|
|
2012
|
+
var n = e[r];
|
|
2013
|
+
pe(n) && Fe(n, t);
|
|
2048
2014
|
}
|
|
2049
2015
|
else if (pe(e))
|
|
2050
2016
|
e._store && (e._store.validated = !0);
|
|
@@ -2071,8 +2037,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2071
2037
|
else
|
|
2072
2038
|
return;
|
|
2073
2039
|
if (r) {
|
|
2074
|
-
var
|
|
2075
|
-
Ye(r, e.props, "prop",
|
|
2040
|
+
var n = b(t);
|
|
2041
|
+
Ye(r, e.props, "prop", n, e);
|
|
2076
2042
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
2077
2043
|
me = !0;
|
|
2078
2044
|
var m = b(t);
|
|
@@ -2084,9 +2050,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2084
2050
|
function it(e) {
|
|
2085
2051
|
{
|
|
2086
2052
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2087
|
-
var
|
|
2088
|
-
if (
|
|
2089
|
-
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
2053
|
+
var n = t[r];
|
|
2054
|
+
if (n !== "children" && n !== "key") {
|
|
2055
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), Z(null);
|
|
2090
2056
|
break;
|
|
2091
2057
|
}
|
|
2092
2058
|
}
|
|
@@ -2094,16 +2060,16 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2094
2060
|
}
|
|
2095
2061
|
}
|
|
2096
2062
|
var Me = {};
|
|
2097
|
-
function $e(e, t, r,
|
|
2063
|
+
function $e(e, t, r, n, m, y) {
|
|
2098
2064
|
{
|
|
2099
2065
|
var l = W(e);
|
|
2100
2066
|
if (!l) {
|
|
2101
|
-
var
|
|
2102
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
2067
|
+
var _ = "";
|
|
2068
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2103
2069
|
var D = at();
|
|
2104
|
-
D ?
|
|
2070
|
+
D ? _ += D : _ += Pe();
|
|
2105
2071
|
var w;
|
|
2106
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
2072
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " 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, _);
|
|
2107
2073
|
}
|
|
2108
2074
|
var j = rt(e, t, r, m, y);
|
|
2109
2075
|
if (j == null)
|
|
@@ -2111,7 +2077,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2111
2077
|
if (l) {
|
|
2112
2078
|
var B = t.children;
|
|
2113
2079
|
if (B !== void 0)
|
|
2114
|
-
if (
|
|
2080
|
+
if (n)
|
|
2115
2081
|
if (de(B)) {
|
|
2116
2082
|
for (var V = 0; V < B.length; V++)
|
|
2117
2083
|
Ie(B[V], e);
|
|
@@ -2148,1338 +2114,1398 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2148
2114
|
kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
|
|
2149
2115
|
}()), kt;
|
|
2150
2116
|
}
|
|
2151
|
-
process.env.NODE_ENV === "production" ? Pt.exports =
|
|
2152
|
-
var
|
|
2153
|
-
const
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
);
|
|
2185
|
-
}
|
|
2186
|
-
function $r({ children: n, className: _ }) {
|
|
2187
|
-
return /* @__PURE__ */ J.jsx(
|
|
2188
|
-
"div",
|
|
2189
|
-
{
|
|
2190
|
-
className: [_e.s, _].filter((c) => c !== void 0).join(" "),
|
|
2191
|
-
children: n
|
|
2192
|
-
}
|
|
2193
|
-
);
|
|
2194
|
-
}
|
|
2195
|
-
function Ar({
|
|
2196
|
-
children: n,
|
|
2197
|
-
direction: _ = "column",
|
|
2198
|
-
className: c
|
|
2199
|
-
}) {
|
|
2200
|
-
return /* @__PURE__ */ J.jsx(
|
|
2201
|
-
"ul",
|
|
2117
|
+
process.env.NODE_ENV === "production" ? Pt.exports = Ir() : Pt.exports = Mr();
|
|
2118
|
+
var Et = Pt.exports;
|
|
2119
|
+
const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr = "_action_1k1b3_25", Wr = "_disabled_1k1b3_30", Ur = "_m_1k1b3_44", Kr = "_l_1k1b3_48", wt = {
|
|
2120
|
+
btn: $r,
|
|
2121
|
+
confirm: Ar,
|
|
2122
|
+
cancel: Br,
|
|
2123
|
+
action: Lr,
|
|
2124
|
+
disabled: Wr,
|
|
2125
|
+
await: "_await_1k1b3_37",
|
|
2126
|
+
m: Ur,
|
|
2127
|
+
l: Kr
|
|
2128
|
+
}, qr = ({
|
|
2129
|
+
onClick: a,
|
|
2130
|
+
onSend: i,
|
|
2131
|
+
size: c = "m",
|
|
2132
|
+
view: u = "confirm",
|
|
2133
|
+
children: v,
|
|
2134
|
+
isDisabled: C = !1,
|
|
2135
|
+
className: O,
|
|
2136
|
+
after: x,
|
|
2137
|
+
before: s,
|
|
2138
|
+
label: h,
|
|
2139
|
+
onRef: o,
|
|
2140
|
+
awaitText: d = "Ожидайте"
|
|
2141
|
+
}) => {
|
|
2142
|
+
let [k, S] = K.useState(!1);
|
|
2143
|
+
const N = ($) => {
|
|
2144
|
+
if (a) return a();
|
|
2145
|
+
k || (i ? (S(!0), i(S)) : $.preventDefault());
|
|
2146
|
+
};
|
|
2147
|
+
let A = {};
|
|
2148
|
+
return (C || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2149
|
+
"button",
|
|
2202
2150
|
{
|
|
2151
|
+
...A,
|
|
2152
|
+
ref: o,
|
|
2203
2153
|
className: [
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
c
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
children: n
|
|
2154
|
+
wt.btn,
|
|
2155
|
+
k ? wt.disabled : wt[u],
|
|
2156
|
+
c && wt[c],
|
|
2157
|
+
O
|
|
2158
|
+
].filter(($) => $ != "").join(" "),
|
|
2159
|
+
onClick: N,
|
|
2160
|
+
children: k ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2161
|
+
s || "",
|
|
2162
|
+
" ",
|
|
2163
|
+
h,
|
|
2164
|
+
" ",
|
|
2165
|
+
x || ""
|
|
2166
|
+
] }) || v
|
|
2218
2167
|
}
|
|
2219
2168
|
);
|
|
2169
|
+
};
|
|
2170
|
+
let Ae = {};
|
|
2171
|
+
function Yr({ children: a }) {
|
|
2172
|
+
return /* @__PURE__ */ J.jsx(J.Fragment, { children: a });
|
|
2220
2173
|
}
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2174
|
+
var xt;
|
|
2175
|
+
((a) => {
|
|
2176
|
+
function i({
|
|
2177
|
+
import_modules: o
|
|
2178
|
+
}) {
|
|
2179
|
+
let [d, k] = K.useState([]);
|
|
2180
|
+
return Ae.x = (S) => {
|
|
2181
|
+
k(S ? d.filter((N) => N.key !== S) : []);
|
|
2182
|
+
}, Ht(() => {
|
|
2183
|
+
o && (Ae.i = o);
|
|
2184
|
+
}, []), Ae.add = (S, N = Date.now()) => {
|
|
2185
|
+
k([...d, { key: N, item: S }]);
|
|
2186
|
+
}, /* @__PURE__ */ J.jsx(J.Fragment, { children: d.map((S) => S.item) });
|
|
2187
|
+
}
|
|
2188
|
+
a.Init = i;
|
|
2189
|
+
function c(o) {
|
|
2190
|
+
return o && (Ae.i = o), Ae.i;
|
|
2191
|
+
}
|
|
2192
|
+
a.Import = c, a.List = Or, a.Scroll = Tr, a.Form = Dr, a.Center = Pr, a.Column = Nr;
|
|
2193
|
+
function u(o, d, k) {
|
|
2194
|
+
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2195
|
+
S.default.Open(k);
|
|
2196
|
+
}) : Lt()(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2197
|
+
S.default.Open(k);
|
|
2198
|
+
});
|
|
2199
|
+
}
|
|
2200
|
+
a.Open = u;
|
|
2201
|
+
function v({ type: o, name: d, params: k }) {
|
|
2202
|
+
let [S, N] = K.useState(null);
|
|
2203
|
+
return K.useEffect(() => {
|
|
2204
|
+
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2205
|
+
N(A.default.Icon(k));
|
|
2206
|
+
}) : Lt()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2207
|
+
N(A.default.Icon(k));
|
|
2208
|
+
});
|
|
2209
|
+
}, [k.id]), /* @__PURE__ */ J.jsx(J.Fragment, { children: S });
|
|
2210
|
+
}
|
|
2211
|
+
a.Icon = v;
|
|
2212
|
+
function C(o, d) {
|
|
2213
|
+
Ae.add(/* @__PURE__ */ J.jsx(Yr, { children: o }, String(Date.now())), d);
|
|
2214
|
+
}
|
|
2215
|
+
a.Add = C;
|
|
2216
|
+
function O(o) {
|
|
2217
|
+
Ae.x(o);
|
|
2218
|
+
}
|
|
2219
|
+
a.Close = O;
|
|
2220
|
+
function x(o) {
|
|
2221
|
+
if (o.target.classList[0] !== "modal") return;
|
|
2222
|
+
let d = o.target.children[0];
|
|
2223
|
+
d.setAttribute("shake", !0), setTimeout(() => {
|
|
2224
|
+
d.setAttribute("shake", !1);
|
|
2225
|
+
}, 1e3);
|
|
2226
|
+
}
|
|
2227
|
+
a.Shake = x;
|
|
2228
|
+
function s(o, d) {
|
|
2229
|
+
const k = (S) => {
|
|
2230
|
+
a.Add(
|
|
2231
|
+
/* @__PURE__ */ J.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
|
|
2232
|
+
);
|
|
2233
|
+
};
|
|
2234
|
+
return {
|
|
2235
|
+
Icon: (S) => /* @__PURE__ */ J.jsx("i", { onClick: () => k(S), children: d && /* @__PURE__ */ J.jsx(d, {}) }),
|
|
2236
|
+
Open: k
|
|
2237
|
+
};
|
|
2238
|
+
}
|
|
2239
|
+
a.Create = s;
|
|
2240
|
+
function h({
|
|
2241
|
+
title: o,
|
|
2242
|
+
children: d,
|
|
2243
|
+
button: k,
|
|
2244
|
+
tabs: S,
|
|
2245
|
+
size: N = "m",
|
|
2246
|
+
className: A = "",
|
|
2247
|
+
shake: $ = !0,
|
|
2248
|
+
menu: T
|
|
2249
|
+
}) {
|
|
2250
|
+
const [p, I] = K.useState(!0), q = K.useRef(), Y = (U) => {
|
|
2251
|
+
if (k) {
|
|
2252
|
+
if (k.onClick)
|
|
2253
|
+
return U(!1), k.onClick({ setOpen: I });
|
|
2254
|
+
if (k.onSend)
|
|
2255
|
+
return k.onSend({
|
|
2256
|
+
setOpen: I,
|
|
2257
|
+
disabled: U
|
|
2258
|
+
});
|
|
2259
|
+
}
|
|
2260
|
+
}, L = () => {
|
|
2261
|
+
if (!$) return I(!1);
|
|
2262
|
+
q.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2263
|
+
q.current.setAttribute("shake", !1);
|
|
2264
|
+
}, 1e3);
|
|
2265
|
+
};
|
|
2266
|
+
return p ? /* @__PURE__ */ J.jsxs("div", { className: `${_e.modal}`, children: [
|
|
2267
|
+
/* @__PURE__ */ J.jsx("div", { className: _e.o, onClick: L }),
|
|
2268
|
+
/* @__PURE__ */ J.jsxs(
|
|
2269
|
+
"div",
|
|
2270
|
+
{
|
|
2271
|
+
className: [_e.w, _e[`s${N}`], A].filter((U) => U != "").join(" "),
|
|
2272
|
+
ref: q,
|
|
2273
|
+
children: [
|
|
2274
|
+
/* @__PURE__ */ J.jsxs("div", { className: _e.h, children: [
|
|
2275
|
+
/* @__PURE__ */ J.jsx("div", { className: _e.t, children: o }),
|
|
2276
|
+
/* @__PURE__ */ J.jsxs("div", { className: _e.m, children: [
|
|
2277
|
+
S && /* @__PURE__ */ J.jsx("nav", { children: S.map((U, E) => /* @__PURE__ */ J.jsx(
|
|
2278
|
+
"span",
|
|
2279
|
+
{
|
|
2280
|
+
onClick: U.onClick,
|
|
2281
|
+
className: U.active ? "active" : "",
|
|
2282
|
+
children: U.name
|
|
2283
|
+
},
|
|
2284
|
+
E
|
|
2285
|
+
)) }),
|
|
2286
|
+
T
|
|
2287
|
+
] }),
|
|
2288
|
+
/* @__PURE__ */ J.jsx(
|
|
2289
|
+
"div",
|
|
2290
|
+
{
|
|
2291
|
+
className: _e.x,
|
|
2292
|
+
onClick: () => {
|
|
2293
|
+
I(!1);
|
|
2294
|
+
},
|
|
2295
|
+
children: /* @__PURE__ */ J.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ J.jsx(
|
|
2296
|
+
"path",
|
|
2297
|
+
{
|
|
2298
|
+
d: "M20 5L5 20M5 5L20 20",
|
|
2299
|
+
stroke: "currentColor",
|
|
2300
|
+
strokeWidth: "2.5",
|
|
2301
|
+
strokeLinecap: "round",
|
|
2302
|
+
strokeLinejoin: "round"
|
|
2303
|
+
}
|
|
2304
|
+
) })
|
|
2305
|
+
}
|
|
2306
|
+
)
|
|
2307
|
+
] }),
|
|
2308
|
+
d,
|
|
2309
|
+
k && /* @__PURE__ */ J.jsx("div", { className: _e.b, children: /* @__PURE__ */ J.jsx(
|
|
2310
|
+
qr,
|
|
2311
|
+
{
|
|
2312
|
+
label: k.label,
|
|
2313
|
+
onSend: Y,
|
|
2314
|
+
className: _e.btn,
|
|
2315
|
+
size: k.size
|
|
2316
|
+
}
|
|
2317
|
+
) })
|
|
2318
|
+
]
|
|
2319
|
+
}
|
|
2320
|
+
)
|
|
2321
|
+
] }) : "";
|
|
2322
|
+
}
|
|
2323
|
+
a.Main = h;
|
|
2324
|
+
})(xt || (xt = {}));
|
|
2325
|
+
const Gr = (a, i = ",") => (a = a !== void 0 && a !== "" ? a.split(i) : [], a.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
2326
|
+
function ba({
|
|
2327
|
+
value: a,
|
|
2328
|
+
onValue: i,
|
|
2329
|
+
name: c,
|
|
2330
|
+
placeholder: u = "",
|
|
2331
|
+
separator: v = ",",
|
|
2332
|
+
title: C,
|
|
2333
|
+
error: O,
|
|
2334
|
+
hide: x = !1,
|
|
2335
|
+
edit: s = !0,
|
|
2336
|
+
active: h = !0,
|
|
2337
|
+
outFormat: o = "object",
|
|
2338
|
+
after: d = "",
|
|
2339
|
+
modal: k,
|
|
2340
|
+
options: S,
|
|
2341
|
+
className: N
|
|
2342
|
+
}) {
|
|
2343
|
+
const [A, $] = K.useState(Gr(a, v)), T = (I) => {
|
|
2344
|
+
if (!(s && h) || !k) return;
|
|
2345
|
+
let q = k.split(".");
|
|
2346
|
+
xt.Open(q[0], q[1], {
|
|
2347
|
+
callback: (Y) => {
|
|
2348
|
+
if (i)
|
|
2349
|
+
switch (o) {
|
|
2350
|
+
case "array":
|
|
2351
|
+
i({ value: Object.keys(Y), name: c });
|
|
2352
|
+
break;
|
|
2353
|
+
case "string":
|
|
2354
|
+
i({
|
|
2355
|
+
value: Object.keys(Y).filter((L) => Y[L]).join(v),
|
|
2356
|
+
name: c
|
|
2357
|
+
});
|
|
2358
|
+
break;
|
|
2359
|
+
default:
|
|
2360
|
+
i({ value: Y, name: c });
|
|
2361
|
+
}
|
|
2362
|
+
$(
|
|
2363
|
+
Object.fromEntries(
|
|
2364
|
+
Object.entries(Y).filter(
|
|
2365
|
+
([L, U]) => U !== !1
|
|
2366
|
+
)
|
|
2367
|
+
)
|
|
2368
|
+
);
|
|
2369
|
+
},
|
|
2370
|
+
onValue: i,
|
|
2371
|
+
options: S,
|
|
2372
|
+
name: c,
|
|
2373
|
+
value: A
|
|
2374
|
+
});
|
|
2375
|
+
}, p = {};
|
|
2376
|
+
return u && (p.placeholder = u), x ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
|
|
2377
|
+
"dl",
|
|
2224
2378
|
{
|
|
2225
|
-
|
|
2226
|
-
|
|
2379
|
+
"data-field": "group",
|
|
2380
|
+
className: [z.l, N].filter((I) => I !== void 0).join(" "),
|
|
2381
|
+
children: [
|
|
2382
|
+
C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
|
|
2383
|
+
/* @__PURE__ */ f.jsx(
|
|
2384
|
+
"dd",
|
|
2385
|
+
{
|
|
2386
|
+
...p,
|
|
2387
|
+
className: z.f,
|
|
2388
|
+
onClick: T,
|
|
2389
|
+
edit: (s && h) + "",
|
|
2390
|
+
children: Object.keys(A).map((I) => {
|
|
2391
|
+
var q;
|
|
2392
|
+
return /* @__PURE__ */ f.jsx("div", { children: (q = S[I]) == null ? void 0 : q.label }, I);
|
|
2393
|
+
})
|
|
2394
|
+
}
|
|
2395
|
+
),
|
|
2396
|
+
O && /* @__PURE__ */ f.jsx("em", { children: O })
|
|
2397
|
+
]
|
|
2227
2398
|
}
|
|
2228
2399
|
);
|
|
2229
2400
|
}
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
}
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
* This source code is licensed under the MIT license found in the
|
|
2268
|
-
* LICENSE file in the root directory of this source tree.
|
|
2269
|
-
*/
|
|
2270
|
-
var qt;
|
|
2271
|
-
function Kr() {
|
|
2272
|
-
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2273
|
-
var n = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
2274
|
-
function $(e) {
|
|
2275
|
-
if (e === null || typeof e != "object")
|
|
2276
|
-
return null;
|
|
2277
|
-
var t = N && e[N] || e[A];
|
|
2278
|
-
return typeof t == "function" ? t : null;
|
|
2279
|
-
}
|
|
2280
|
-
var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2281
|
-
function p(e) {
|
|
2282
|
-
{
|
|
2283
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
2284
|
-
r[a - 1] = arguments[a];
|
|
2285
|
-
I("error", e, r);
|
|
2286
|
-
}
|
|
2287
|
-
}
|
|
2288
|
-
function I(e, t, r) {
|
|
2401
|
+
const zr = "_o_1wehm_12", Hr = "_l_1wehm_22", Jr = "_i_1wehm_72", Zr = "_f_1wehm_81", Ct = {
|
|
2402
|
+
o: zr,
|
|
2403
|
+
l: Hr,
|
|
2404
|
+
i: Jr,
|
|
2405
|
+
f: Zr
|
|
2406
|
+
};
|
|
2407
|
+
function ka({
|
|
2408
|
+
title: a,
|
|
2409
|
+
error: i,
|
|
2410
|
+
edit: c = !0,
|
|
2411
|
+
active: u = !0,
|
|
2412
|
+
hide: v,
|
|
2413
|
+
value: C = 0,
|
|
2414
|
+
onValue: O,
|
|
2415
|
+
options: x,
|
|
2416
|
+
placeholder: s = "",
|
|
2417
|
+
className: h,
|
|
2418
|
+
isIcon: o = !0,
|
|
2419
|
+
name: d,
|
|
2420
|
+
after: k,
|
|
2421
|
+
view: S,
|
|
2422
|
+
order: N,
|
|
2423
|
+
isReload: A = !1
|
|
2424
|
+
}) {
|
|
2425
|
+
var R, g;
|
|
2426
|
+
const $ = K.useRef(null), [T, p] = K.useState(C), [I, q] = K.useState(x), [Y, L] = K.useState(!1);
|
|
2427
|
+
K.useEffect(() => {
|
|
2428
|
+
p(C), q(x);
|
|
2429
|
+
}, [C, x]), v = !!(v && (C === 0 || ((R = I == null ? void 0 : I[C]) == null ? void 0 : R.n) === void 0)) && !(c && u);
|
|
2430
|
+
let E = (b) => {
|
|
2431
|
+
p(b), O && O({ value: b, name: d, reload: A });
|
|
2432
|
+
}, W = { onClick: (b) => {
|
|
2433
|
+
Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
|
|
2434
|
+
} };
|
|
2435
|
+
return s && (W.placeholder = s), k && (W.after = k), c && u && (W.edit = ""), v ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
2436
|
+
/* @__PURE__ */ f.jsxs(
|
|
2437
|
+
"dl",
|
|
2289
2438
|
{
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === g || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2302
|
-
// types supported by any Flight configuration anywhere since
|
|
2303
|
-
// we don't know which Flight build this will end up being used
|
|
2304
|
-
// with.
|
|
2305
|
-
e.$$typeof === P || e.getModuleId !== void 0));
|
|
2306
|
-
}
|
|
2307
|
-
function R(e, t, r) {
|
|
2308
|
-
var a = e.displayName;
|
|
2309
|
-
if (a)
|
|
2310
|
-
return a;
|
|
2311
|
-
var m = t.displayName || t.name || "";
|
|
2312
|
-
return m !== "" ? r + "(" + m + ")" : r;
|
|
2313
|
-
}
|
|
2314
|
-
function v(e) {
|
|
2315
|
-
return e.displayName || "Context";
|
|
2316
|
-
}
|
|
2317
|
-
function b(e) {
|
|
2318
|
-
if (e == null)
|
|
2319
|
-
return null;
|
|
2320
|
-
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
2321
|
-
return e.displayName || e.name || null;
|
|
2322
|
-
if (typeof e == "string")
|
|
2323
|
-
return e;
|
|
2324
|
-
switch (e) {
|
|
2325
|
-
case u:
|
|
2326
|
-
return "Fragment";
|
|
2327
|
-
case c:
|
|
2328
|
-
return "Portal";
|
|
2329
|
-
case C:
|
|
2330
|
-
return "Profiler";
|
|
2331
|
-
case g:
|
|
2332
|
-
return "StrictMode";
|
|
2333
|
-
case h:
|
|
2334
|
-
return "Suspense";
|
|
2335
|
-
case o:
|
|
2336
|
-
return "SuspenseList";
|
|
2337
|
-
}
|
|
2338
|
-
if (typeof e == "object")
|
|
2339
|
-
switch (e.$$typeof) {
|
|
2340
|
-
case x:
|
|
2341
|
-
var t = e;
|
|
2342
|
-
return v(t) + ".Consumer";
|
|
2343
|
-
case O:
|
|
2344
|
-
var r = e;
|
|
2345
|
-
return v(r._context) + ".Provider";
|
|
2346
|
-
case s:
|
|
2347
|
-
return R(e, e.render, "ForwardRef");
|
|
2348
|
-
case d:
|
|
2349
|
-
var a = e.displayName || null;
|
|
2350
|
-
return a !== null ? a : b(e.type) || "Memo";
|
|
2351
|
-
case k: {
|
|
2352
|
-
var m = e, y = m._payload, l = m._init;
|
|
2353
|
-
try {
|
|
2354
|
-
return b(l(y));
|
|
2355
|
-
} catch {
|
|
2356
|
-
return null;
|
|
2439
|
+
"data-field": "select",
|
|
2440
|
+
className: [z.l, h].filter((b) => b !== void 0).join(" "),
|
|
2441
|
+
children: [
|
|
2442
|
+
a && /* @__PURE__ */ f.jsx("dt", { className: z.t, children: a }),
|
|
2443
|
+
/* @__PURE__ */ f.jsx(
|
|
2444
|
+
"dd",
|
|
2445
|
+
{
|
|
2446
|
+
...W,
|
|
2447
|
+
className: [z.f, Ct.f].join(" "),
|
|
2448
|
+
ref: $,
|
|
2449
|
+
children: (g = I == null ? void 0 : I[T]) == null ? void 0 : g.n
|
|
2357
2450
|
}
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
};
|
|
2376
|
-
Object.defineProperties(console, {
|
|
2377
|
-
info: e,
|
|
2378
|
-
log: e,
|
|
2379
|
-
warn: e,
|
|
2380
|
-
error: e,
|
|
2381
|
-
group: e,
|
|
2382
|
-
groupCollapsed: e,
|
|
2383
|
-
groupEnd: e
|
|
2384
|
-
});
|
|
2385
|
-
}
|
|
2386
|
-
G++;
|
|
2451
|
+
),
|
|
2452
|
+
Object.keys(I || {}).length !== 0 && o && /* @__PURE__ */ f.jsx(
|
|
2453
|
+
"svg",
|
|
2454
|
+
{
|
|
2455
|
+
className: Ct.i,
|
|
2456
|
+
fill: "none",
|
|
2457
|
+
stroke: "currentColor",
|
|
2458
|
+
strokeLinecap: "round",
|
|
2459
|
+
strokeLinejoin: "round",
|
|
2460
|
+
strokeWidth: "1",
|
|
2461
|
+
viewBox: "0 0 24 24",
|
|
2462
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2463
|
+
children: /* @__PURE__ */ f.jsx("path", { d: "m5.25 8.625 6.75 6.75 6.75-6.75" })
|
|
2464
|
+
}
|
|
2465
|
+
),
|
|
2466
|
+
i && /* @__PURE__ */ f.jsx("em", { children: i })
|
|
2467
|
+
]
|
|
2387
2468
|
}
|
|
2388
|
-
|
|
2389
|
-
|
|
2469
|
+
),
|
|
2470
|
+
Y && It(
|
|
2471
|
+
/* @__PURE__ */ f.jsx(
|
|
2472
|
+
Vr,
|
|
2473
|
+
{
|
|
2474
|
+
parent: $.position,
|
|
2475
|
+
onValue: E,
|
|
2476
|
+
view: S,
|
|
2477
|
+
className: h,
|
|
2478
|
+
options: I,
|
|
2479
|
+
order: N,
|
|
2480
|
+
setOpen: L
|
|
2481
|
+
},
|
|
2482
|
+
(/* @__PURE__ */ new Date()).getTime()
|
|
2483
|
+
),
|
|
2484
|
+
document.body
|
|
2485
|
+
)
|
|
2486
|
+
] });
|
|
2487
|
+
}
|
|
2488
|
+
const Vr = ({
|
|
2489
|
+
onValue: a,
|
|
2490
|
+
parent: i,
|
|
2491
|
+
className: c,
|
|
2492
|
+
options: u,
|
|
2493
|
+
order: v,
|
|
2494
|
+
setOpen: C
|
|
2495
|
+
}) => {
|
|
2496
|
+
let O = () => {
|
|
2497
|
+
C(!1);
|
|
2498
|
+
}, x = (o) => {
|
|
2499
|
+
C(!1), a(o);
|
|
2500
|
+
}, s = window.innerHeight - i.y + i.height < 320 ? i.y - 312 : i.y + 33, h = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
|
|
2501
|
+
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
2502
|
+
/* @__PURE__ */ f.jsx(
|
|
2503
|
+
"div",
|
|
2390
2504
|
{
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
log: M({}, e, {
|
|
2399
|
-
value: Q
|
|
2400
|
-
}),
|
|
2401
|
-
info: M({}, e, {
|
|
2402
|
-
value: ie
|
|
2403
|
-
}),
|
|
2404
|
-
warn: M({}, e, {
|
|
2405
|
-
value: se
|
|
2406
|
-
}),
|
|
2407
|
-
error: M({}, e, {
|
|
2408
|
-
value: ve
|
|
2409
|
-
}),
|
|
2410
|
-
group: M({}, e, {
|
|
2411
|
-
value: ge
|
|
2412
|
-
}),
|
|
2413
|
-
groupCollapsed: M({}, e, {
|
|
2414
|
-
value: be
|
|
2415
|
-
}),
|
|
2416
|
-
groupEnd: M({}, e, {
|
|
2417
|
-
value: ke
|
|
2418
|
-
})
|
|
2419
|
-
});
|
|
2420
|
-
}
|
|
2421
|
-
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2422
|
-
}
|
|
2423
|
-
}
|
|
2424
|
-
var le = T.ReactCurrentDispatcher, ce;
|
|
2425
|
-
function re(e, t, r) {
|
|
2505
|
+
className: Ct.o,
|
|
2506
|
+
onClick: O
|
|
2507
|
+
},
|
|
2508
|
+
(/* @__PURE__ */ new Date()).getTime()
|
|
2509
|
+
),
|
|
2510
|
+
/* @__PURE__ */ f.jsx(
|
|
2511
|
+
"div",
|
|
2426
2512
|
{
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
return `
|
|
2435
|
-
` + ce + e;
|
|
2513
|
+
className: [Ct.l, c].filter((o) => o !== void 0).join(" "),
|
|
2514
|
+
style: {
|
|
2515
|
+
top: s + "px",
|
|
2516
|
+
left: h + "px",
|
|
2517
|
+
width: i.width
|
|
2518
|
+
},
|
|
2519
|
+
children: /* @__PURE__ */ f.jsx(Xr, { order: v, options: u, link: x })
|
|
2436
2520
|
}
|
|
2437
|
-
|
|
2438
|
-
|
|
2521
|
+
)
|
|
2522
|
+
] });
|
|
2523
|
+
}, Xr = ({ order: a, options: i, link: c }) => a ? /* @__PURE__ */ f.jsx("ul", { children: a.map(
|
|
2524
|
+
(u, v) => i[u].s !== 0 ? /* @__PURE__ */ f.jsx(
|
|
2525
|
+
"li",
|
|
2439
2526
|
{
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2527
|
+
onClick: () => {
|
|
2528
|
+
c(u);
|
|
2529
|
+
},
|
|
2530
|
+
children: i[u].n
|
|
2531
|
+
},
|
|
2532
|
+
v
|
|
2533
|
+
) : ""
|
|
2534
|
+
) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(i).map(
|
|
2535
|
+
(u, v) => i[u].s !== 0 ? /* @__PURE__ */ f.jsx(
|
|
2536
|
+
"li",
|
|
2537
|
+
{
|
|
2538
|
+
onClick: () => {
|
|
2539
|
+
c(u);
|
|
2540
|
+
},
|
|
2541
|
+
children: i[u].n
|
|
2542
|
+
},
|
|
2543
|
+
v
|
|
2544
|
+
) : ""
|
|
2545
|
+
) });
|
|
2546
|
+
function wa({
|
|
2547
|
+
value: a,
|
|
2548
|
+
onValue: i,
|
|
2549
|
+
name: c,
|
|
2550
|
+
placeholder: u = "",
|
|
2551
|
+
title: v,
|
|
2552
|
+
error: C,
|
|
2553
|
+
hide: O = !1,
|
|
2554
|
+
edit: x = !0,
|
|
2555
|
+
show: s = !0,
|
|
2556
|
+
active: h = !0,
|
|
2557
|
+
after: o = "",
|
|
2558
|
+
view: d,
|
|
2559
|
+
modal: k,
|
|
2560
|
+
module: S,
|
|
2561
|
+
options: N,
|
|
2562
|
+
className: A
|
|
2563
|
+
}) {
|
|
2564
|
+
let [$, T] = K.useState(a), p = (Y) => {
|
|
2565
|
+
if (!(x && h) || !k) return;
|
|
2566
|
+
let L = k.split(".");
|
|
2567
|
+
xt.Open(L[0], L[1], {
|
|
2568
|
+
callback: (U) => {
|
|
2569
|
+
i && i({ value: U, name: c }), T(U);
|
|
2570
|
+
},
|
|
2571
|
+
onValue: i,
|
|
2572
|
+
options: N,
|
|
2573
|
+
name: c,
|
|
2574
|
+
value: a
|
|
2575
|
+
});
|
|
2576
|
+
};
|
|
2577
|
+
const I = {};
|
|
2578
|
+
I.field = "input", A && (I.className = A);
|
|
2579
|
+
const q = {};
|
|
2580
|
+
return u && (q.placeholder = u), O ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs("dl", { ...I, children: [
|
|
2581
|
+
v && /* @__PURE__ */ f.jsx("dt", { children: v }),
|
|
2582
|
+
/* @__PURE__ */ f.jsx(
|
|
2583
|
+
"dd",
|
|
2446
2584
|
{
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
ue = !0;
|
|
2453
|
-
var m = Error.prepareStackTrace;
|
|
2454
|
-
Error.prepareStackTrace = void 0;
|
|
2455
|
-
var y;
|
|
2456
|
-
y = le.current, le.current = null, Le();
|
|
2457
|
-
try {
|
|
2458
|
-
if (t) {
|
|
2459
|
-
var l = function() {
|
|
2460
|
-
throw Error();
|
|
2461
|
-
};
|
|
2462
|
-
if (Object.defineProperty(l.prototype, "props", {
|
|
2463
|
-
set: function() {
|
|
2464
|
-
throw Error();
|
|
2465
|
-
}
|
|
2466
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
2467
|
-
try {
|
|
2468
|
-
Reflect.construct(l, []);
|
|
2469
|
-
} catch (F) {
|
|
2470
|
-
a = F;
|
|
2471
|
-
}
|
|
2472
|
-
Reflect.construct(e, [], l);
|
|
2473
|
-
} else {
|
|
2474
|
-
try {
|
|
2475
|
-
l.call();
|
|
2476
|
-
} catch (F) {
|
|
2477
|
-
a = F;
|
|
2478
|
-
}
|
|
2479
|
-
e.call(l.prototype);
|
|
2480
|
-
}
|
|
2481
|
-
} else {
|
|
2482
|
-
try {
|
|
2483
|
-
throw Error();
|
|
2484
|
-
} catch (F) {
|
|
2485
|
-
a = F;
|
|
2486
|
-
}
|
|
2487
|
-
e();
|
|
2488
|
-
}
|
|
2489
|
-
} catch (F) {
|
|
2490
|
-
if (F && a && typeof F.stack == "string") {
|
|
2491
|
-
for (var i = F.stack.split(`
|
|
2492
|
-
`), D = a.stack.split(`
|
|
2493
|
-
`), w = i.length - 1, j = D.length - 1; w >= 1 && j >= 0 && i[w] !== D[j]; )
|
|
2494
|
-
j--;
|
|
2495
|
-
for (; w >= 1 && j >= 0; w--, j--)
|
|
2496
|
-
if (i[w] !== D[j]) {
|
|
2497
|
-
if (w !== 1 || j !== 1)
|
|
2498
|
-
do
|
|
2499
|
-
if (w--, j--, j < 0 || i[w] !== D[j]) {
|
|
2500
|
-
var B = `
|
|
2501
|
-
` + i[w].replace(" at new ", " at ");
|
|
2502
|
-
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
2503
|
-
}
|
|
2504
|
-
while (w >= 1 && j >= 0);
|
|
2505
|
-
break;
|
|
2506
|
-
}
|
|
2507
|
-
}
|
|
2508
|
-
} finally {
|
|
2509
|
-
ue = !1, le.current = y, We(), Error.prepareStackTrace = m;
|
|
2585
|
+
...q,
|
|
2586
|
+
onClick: p,
|
|
2587
|
+
edit: (x && h) + "",
|
|
2588
|
+
"data-after": o,
|
|
2589
|
+
children: $
|
|
2510
2590
|
}
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2591
|
+
),
|
|
2592
|
+
C && /* @__PURE__ */ f.jsx("em", { children: C })
|
|
2593
|
+
] });
|
|
2594
|
+
}
|
|
2595
|
+
function ja({
|
|
2596
|
+
value: a,
|
|
2597
|
+
onValue: i,
|
|
2598
|
+
onSave: c,
|
|
2599
|
+
name: u,
|
|
2600
|
+
placeholder: v = "",
|
|
2601
|
+
className: C,
|
|
2602
|
+
title: O,
|
|
2603
|
+
error: x,
|
|
2604
|
+
edit: s = !0,
|
|
2605
|
+
active: h = !0,
|
|
2606
|
+
reload: o = !1,
|
|
2607
|
+
native: d = !1,
|
|
2608
|
+
isShow: k = !1,
|
|
2609
|
+
maxLength: S,
|
|
2610
|
+
eyes: N = [],
|
|
2611
|
+
after: A = ""
|
|
2612
|
+
}) {
|
|
2613
|
+
const [$, T] = K.useState(k);
|
|
2614
|
+
let p = (E) => {
|
|
2615
|
+
i && i({
|
|
2616
|
+
value: E.target.textContent,
|
|
2617
|
+
name: u,
|
|
2618
|
+
reload: o
|
|
2619
|
+
});
|
|
2620
|
+
}, I = (E) => {
|
|
2621
|
+
E.key === "Enter" && E.preventDefault();
|
|
2622
|
+
}, q = (E) => {
|
|
2623
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
2624
|
+
if (S) {
|
|
2625
|
+
let W = E.target.textContent.length;
|
|
2626
|
+
if (W >= S) return;
|
|
2627
|
+
S -= W, P = P.slice(0, S);
|
|
2533
2628
|
}
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
function oe(e) {
|
|
2552
|
-
if (e) {
|
|
2553
|
-
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
2554
|
-
Ce.setExtraStackFrame(r);
|
|
2555
|
-
} else
|
|
2556
|
-
Ce.setExtraStackFrame(null);
|
|
2557
|
-
}
|
|
2558
|
-
function Ye(e, t, r, a, m) {
|
|
2629
|
+
window.document.execCommand(
|
|
2630
|
+
"insertText",
|
|
2631
|
+
!1,
|
|
2632
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2633
|
+
);
|
|
2634
|
+
}).catch((P) => {
|
|
2635
|
+
});
|
|
2636
|
+
}, Y = (E) => {
|
|
2637
|
+
te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
|
|
2638
|
+
};
|
|
2639
|
+
const L = {};
|
|
2640
|
+
L.field = "password", $ && (L.show = ""), C && (L.className = C);
|
|
2641
|
+
const U = {};
|
|
2642
|
+
return v && (U.placeholder = v), d ? "" : /* @__PURE__ */ f.jsxs("dl", { ...L, children: [
|
|
2643
|
+
O ? /* @__PURE__ */ f.jsx("dt", { children: O }) : "",
|
|
2644
|
+
/* @__PURE__ */ f.jsx(
|
|
2645
|
+
"dd",
|
|
2559
2646
|
{
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
}
|
|
2569
|
-
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
2570
|
-
} catch (w) {
|
|
2571
|
-
i = w;
|
|
2572
|
-
}
|
|
2573
|
-
i && !(i instanceof Error) && (oe(m), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof i), oe(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, oe(m), p("Failed %s type: %s", r, i.message), oe(null));
|
|
2574
|
-
}
|
|
2647
|
+
onPaste: q,
|
|
2648
|
+
onInput: p,
|
|
2649
|
+
onKeyDown: I,
|
|
2650
|
+
onBlur: Y,
|
|
2651
|
+
contentEditable: s && h ? te.ContentEditable : "false",
|
|
2652
|
+
...U,
|
|
2653
|
+
suppressContentEditableWarning: !0,
|
|
2654
|
+
children: a
|
|
2575
2655
|
}
|
|
2656
|
+
),
|
|
2657
|
+
N[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => T(!$), children: $ ? N[1] : N[0] }),
|
|
2658
|
+
A,
|
|
2659
|
+
x ? /* @__PURE__ */ f.jsx("em", { children: x }) : ""
|
|
2660
|
+
] });
|
|
2661
|
+
}
|
|
2662
|
+
function xa({
|
|
2663
|
+
onValue: a,
|
|
2664
|
+
onSave: i,
|
|
2665
|
+
active: c,
|
|
2666
|
+
max: u,
|
|
2667
|
+
edit: v,
|
|
2668
|
+
title: C,
|
|
2669
|
+
error: O,
|
|
2670
|
+
show: x,
|
|
2671
|
+
hide: s,
|
|
2672
|
+
value: h,
|
|
2673
|
+
placeholder: o,
|
|
2674
|
+
className: d,
|
|
2675
|
+
maxLength: k,
|
|
2676
|
+
name: S,
|
|
2677
|
+
after: N = "",
|
|
2678
|
+
before: A = "",
|
|
2679
|
+
view: $
|
|
2680
|
+
}) {
|
|
2681
|
+
v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (h === "" || h === void 0)) && !(v && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2682
|
+
let p = !1, I = (P) => {
|
|
2683
|
+
a == null || a({ value: P.target.textContent, name: S });
|
|
2684
|
+
}, q = (P) => {
|
|
2685
|
+
if (!(p && P.which === 86)) {
|
|
2686
|
+
if (P.which === 17 || P.which === 91) return p = !0;
|
|
2687
|
+
P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
|
|
2576
2688
|
}
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
}
|
|
2586
|
-
}
|
|
2587
|
-
function He(e) {
|
|
2588
|
-
try {
|
|
2589
|
-
return Se(e), !1;
|
|
2590
|
-
} catch {
|
|
2591
|
-
return !0;
|
|
2592
|
-
}
|
|
2593
|
-
}
|
|
2594
|
-
function Se(e) {
|
|
2595
|
-
return "" + e;
|
|
2596
|
-
}
|
|
2597
|
-
function Re(e) {
|
|
2598
|
-
if (He(e))
|
|
2599
|
-
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
2600
|
-
}
|
|
2601
|
-
var Ee = T.ReactCurrentOwner, Je = {
|
|
2602
|
-
key: !0,
|
|
2603
|
-
ref: !0,
|
|
2604
|
-
__self: !0,
|
|
2605
|
-
__source: !0
|
|
2606
|
-
}, Oe, Te;
|
|
2607
|
-
function Ze(e) {
|
|
2608
|
-
if (X.call(e, "ref")) {
|
|
2609
|
-
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
2610
|
-
if (t && t.isReactWarning)
|
|
2611
|
-
return !1;
|
|
2612
|
-
}
|
|
2613
|
-
return e.ref !== void 0;
|
|
2614
|
-
}
|
|
2615
|
-
function Ve(e) {
|
|
2616
|
-
if (X.call(e, "key")) {
|
|
2617
|
-
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
2618
|
-
if (t && t.isReactWarning)
|
|
2619
|
-
return !1;
|
|
2689
|
+
}, Y = (P) => {
|
|
2690
|
+
if (P.which === 17 || P.which === 91) return p = !1;
|
|
2691
|
+
}, L = (P) => {
|
|
2692
|
+
P.preventDefault(), navigator.clipboard.readText().then((W) => {
|
|
2693
|
+
if (W = W.replace(/(?!^\+|\d)./g, ""), k) {
|
|
2694
|
+
let R = P.target.textContent.length;
|
|
2695
|
+
if (R >= k) return;
|
|
2696
|
+
k -= R, W = W.slice(0, k);
|
|
2620
2697
|
}
|
|
2621
|
-
|
|
2698
|
+
window.document.execCommand("insertText", !1, "" + W);
|
|
2699
|
+
}).catch((W) => {
|
|
2700
|
+
});
|
|
2701
|
+
};
|
|
2702
|
+
const U = (P) => {
|
|
2703
|
+
te.Blur(P), i == null || i({ value: P.target.textContent, name: S });
|
|
2704
|
+
};
|
|
2705
|
+
let E = {};
|
|
2706
|
+
return v && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
|
|
2707
|
+
"dl",
|
|
2708
|
+
{
|
|
2709
|
+
"data-field": "input",
|
|
2710
|
+
className: [z.l, d].filter((P) => P !== void 0).join(" "),
|
|
2711
|
+
children: [
|
|
2712
|
+
C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
|
|
2713
|
+
A,
|
|
2714
|
+
/* @__PURE__ */ f.jsx(
|
|
2715
|
+
"dd",
|
|
2716
|
+
{
|
|
2717
|
+
className: [z.f, z.w].join(" "),
|
|
2718
|
+
onPaste: L,
|
|
2719
|
+
onInput: I,
|
|
2720
|
+
onBlur: U,
|
|
2721
|
+
onKeyDown: q,
|
|
2722
|
+
onKeyUp: Y,
|
|
2723
|
+
suppressContentEditableWarning: !0,
|
|
2724
|
+
...E,
|
|
2725
|
+
children: h
|
|
2726
|
+
}
|
|
2727
|
+
),
|
|
2728
|
+
N,
|
|
2729
|
+
O && /* @__PURE__ */ f.jsx("em", { children: O })
|
|
2730
|
+
]
|
|
2622
2731
|
}
|
|
2623
|
-
|
|
2624
|
-
|
|
2732
|
+
);
|
|
2733
|
+
}
|
|
2734
|
+
var Nt = { exports: {} }, gt = {};
|
|
2735
|
+
/**
|
|
2736
|
+
* @license React
|
|
2737
|
+
* react-jsx-runtime.production.min.js
|
|
2738
|
+
*
|
|
2739
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2740
|
+
*
|
|
2741
|
+
* This source code is licensed under the MIT license found in the
|
|
2742
|
+
* LICENSE file in the root directory of this source tree.
|
|
2743
|
+
*/
|
|
2744
|
+
var Kt;
|
|
2745
|
+
function Qr() {
|
|
2746
|
+
if (Kt) return gt;
|
|
2747
|
+
Kt = 1;
|
|
2748
|
+
var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2749
|
+
function O(x, s, h) {
|
|
2750
|
+
var o, d = {}, k = null, S = null;
|
|
2751
|
+
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
2752
|
+
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2753
|
+
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2754
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
2755
|
+
}
|
|
2756
|
+
return gt.Fragment = c, gt.jsx = O, gt.jsxs = O, gt;
|
|
2757
|
+
}
|
|
2758
|
+
var jt = {};
|
|
2759
|
+
/**
|
|
2760
|
+
* @license React
|
|
2761
|
+
* react-jsx-runtime.development.js
|
|
2762
|
+
*
|
|
2763
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2764
|
+
*
|
|
2765
|
+
* This source code is licensed under the MIT license found in the
|
|
2766
|
+
* LICENSE file in the root directory of this source tree.
|
|
2767
|
+
*/
|
|
2768
|
+
var qt;
|
|
2769
|
+
function ea() {
|
|
2770
|
+
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2771
|
+
var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
2772
|
+
function $(e) {
|
|
2773
|
+
if (e === null || typeof e != "object")
|
|
2774
|
+
return null;
|
|
2775
|
+
var t = N && e[N] || e[A];
|
|
2776
|
+
return typeof t == "function" ? t : null;
|
|
2625
2777
|
}
|
|
2626
|
-
|
|
2778
|
+
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2779
|
+
function p(e) {
|
|
2627
2780
|
{
|
|
2628
|
-
var r =
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
2632
|
-
get: r,
|
|
2633
|
-
configurable: !0
|
|
2634
|
-
});
|
|
2781
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
2782
|
+
r[n - 1] = arguments[n];
|
|
2783
|
+
I("error", e, r);
|
|
2635
2784
|
}
|
|
2636
2785
|
}
|
|
2637
|
-
function
|
|
2786
|
+
function I(e, t, r) {
|
|
2638
2787
|
{
|
|
2639
|
-
var
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
get: r,
|
|
2644
|
-
configurable: !0
|
|
2788
|
+
var n = T.ReactDebugCurrentFrame, m = n.getStackAddendum();
|
|
2789
|
+
m !== "" && (t += "%s", r = r.concat([m]));
|
|
2790
|
+
var y = r.map(function(l) {
|
|
2791
|
+
return String(l);
|
|
2645
2792
|
});
|
|
2793
|
+
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
2646
2794
|
}
|
|
2647
2795
|
}
|
|
2648
|
-
var
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
props: l,
|
|
2657
|
-
// Record the component responsible for creating this element.
|
|
2658
|
-
_owner: y
|
|
2659
|
-
};
|
|
2660
|
-
return i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
2661
|
-
configurable: !1,
|
|
2662
|
-
enumerable: !1,
|
|
2663
|
-
writable: !0,
|
|
2664
|
-
value: !1
|
|
2665
|
-
}), Object.defineProperty(i, "_self", {
|
|
2666
|
-
configurable: !1,
|
|
2667
|
-
enumerable: !1,
|
|
2668
|
-
writable: !1,
|
|
2669
|
-
value: a
|
|
2670
|
-
}), Object.defineProperty(i, "_source", {
|
|
2671
|
-
configurable: !1,
|
|
2672
|
-
enumerable: !1,
|
|
2673
|
-
writable: !1,
|
|
2674
|
-
value: m
|
|
2675
|
-
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
2676
|
-
};
|
|
2677
|
-
function rt(e, t, r, a, m) {
|
|
2678
|
-
{
|
|
2679
|
-
var y, l = {}, i = null, D = null;
|
|
2680
|
-
r !== void 0 && (Re(r), i = "" + r), Ve(t) && (Re(t.key), i = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
2681
|
-
for (y in t)
|
|
2682
|
-
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
2683
|
-
if (e && e.defaultProps) {
|
|
2684
|
-
var w = e.defaultProps;
|
|
2685
|
-
for (y in w)
|
|
2686
|
-
l[y] === void 0 && (l[y] = w[y]);
|
|
2687
|
-
}
|
|
2688
|
-
if (i || D) {
|
|
2689
|
-
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
2690
|
-
i && Qe(l, j), D && et(l, j);
|
|
2691
|
-
}
|
|
2692
|
-
return tt(e, i, D, m, a, Ee.current, l);
|
|
2693
|
-
}
|
|
2796
|
+
var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
|
|
2797
|
+
P = Symbol.for("react.module.reference");
|
|
2798
|
+
function W(e) {
|
|
2799
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2800
|
+
// types supported by any Flight configuration anywhere since
|
|
2801
|
+
// we don't know which Flight build this will end up being used
|
|
2802
|
+
// with.
|
|
2803
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
2694
2804
|
}
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
if (
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
De.setExtraStackFrame(null);
|
|
2805
|
+
function R(e, t, r) {
|
|
2806
|
+
var n = e.displayName;
|
|
2807
|
+
if (n)
|
|
2808
|
+
return n;
|
|
2809
|
+
var m = t.displayName || t.name || "";
|
|
2810
|
+
return m !== "" ? r + "(" + m + ")" : r;
|
|
2702
2811
|
}
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
function pe(e) {
|
|
2706
|
-
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
2812
|
+
function g(e) {
|
|
2813
|
+
return e.displayName || "Context";
|
|
2707
2814
|
}
|
|
2708
|
-
function
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2815
|
+
function b(e) {
|
|
2816
|
+
if (e == null)
|
|
2817
|
+
return null;
|
|
2818
|
+
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
2819
|
+
return e.displayName || e.name || null;
|
|
2820
|
+
if (typeof e == "string")
|
|
2821
|
+
return e;
|
|
2822
|
+
switch (e) {
|
|
2823
|
+
case u:
|
|
2824
|
+
return "Fragment";
|
|
2825
|
+
case c:
|
|
2826
|
+
return "Portal";
|
|
2827
|
+
case C:
|
|
2828
|
+
return "Profiler";
|
|
2829
|
+
case v:
|
|
2830
|
+
return "StrictMode";
|
|
2831
|
+
case h:
|
|
2832
|
+
return "Suspense";
|
|
2833
|
+
case o:
|
|
2834
|
+
return "SuspenseList";
|
|
2718
2835
|
}
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2836
|
+
if (typeof e == "object")
|
|
2837
|
+
switch (e.$$typeof) {
|
|
2838
|
+
case x:
|
|
2839
|
+
var t = e;
|
|
2840
|
+
return g(t) + ".Consumer";
|
|
2841
|
+
case O:
|
|
2842
|
+
var r = e;
|
|
2843
|
+
return g(r._context) + ".Provider";
|
|
2844
|
+
case s:
|
|
2845
|
+
return R(e, e.render, "ForwardRef");
|
|
2846
|
+
case d:
|
|
2847
|
+
var n = e.displayName || null;
|
|
2848
|
+
return n !== null ? n : b(e.type) || "Memo";
|
|
2849
|
+
case k: {
|
|
2850
|
+
var m = e, y = m._payload, l = m._init;
|
|
2851
|
+
try {
|
|
2852
|
+
return b(l(y));
|
|
2853
|
+
} catch {
|
|
2854
|
+
return null;
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2732
2857
|
}
|
|
2733
|
-
|
|
2734
|
-
}
|
|
2858
|
+
return null;
|
|
2735
2859
|
}
|
|
2736
|
-
|
|
2860
|
+
var M = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
|
|
2861
|
+
function we() {
|
|
2862
|
+
}
|
|
2863
|
+
we.__reactDisabledLog = !0;
|
|
2864
|
+
function Le() {
|
|
2737
2865
|
{
|
|
2738
|
-
if (
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
var a = e[r];
|
|
2756
|
-
pe(a) && Fe(a, t);
|
|
2757
|
-
}
|
|
2758
|
-
else if (pe(e))
|
|
2759
|
-
e._store && (e._store.validated = !0);
|
|
2760
|
-
else if (e) {
|
|
2761
|
-
var m = $(e);
|
|
2762
|
-
if (typeof m == "function" && m !== e.entries)
|
|
2763
|
-
for (var y = m.call(e), l; !(l = y.next()).done; )
|
|
2764
|
-
pe(l.value) && Fe(l.value, t);
|
|
2866
|
+
if (G === 0) {
|
|
2867
|
+
Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
2868
|
+
var e = {
|
|
2869
|
+
configurable: !0,
|
|
2870
|
+
enumerable: !0,
|
|
2871
|
+
value: we,
|
|
2872
|
+
writable: !0
|
|
2873
|
+
};
|
|
2874
|
+
Object.defineProperties(console, {
|
|
2875
|
+
info: e,
|
|
2876
|
+
log: e,
|
|
2877
|
+
warn: e,
|
|
2878
|
+
error: e,
|
|
2879
|
+
group: e,
|
|
2880
|
+
groupCollapsed: e,
|
|
2881
|
+
groupEnd: e
|
|
2882
|
+
});
|
|
2765
2883
|
}
|
|
2884
|
+
G++;
|
|
2766
2885
|
}
|
|
2767
2886
|
}
|
|
2768
|
-
function
|
|
2887
|
+
function We() {
|
|
2769
2888
|
{
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2889
|
+
if (G--, G === 0) {
|
|
2890
|
+
var e = {
|
|
2891
|
+
configurable: !0,
|
|
2892
|
+
enumerable: !0,
|
|
2893
|
+
writable: !0
|
|
2894
|
+
};
|
|
2895
|
+
Object.defineProperties(console, {
|
|
2896
|
+
log: M({}, e, {
|
|
2897
|
+
value: Q
|
|
2898
|
+
}),
|
|
2899
|
+
info: M({}, e, {
|
|
2900
|
+
value: ie
|
|
2901
|
+
}),
|
|
2902
|
+
warn: M({}, e, {
|
|
2903
|
+
value: se
|
|
2904
|
+
}),
|
|
2905
|
+
error: M({}, e, {
|
|
2906
|
+
value: ve
|
|
2907
|
+
}),
|
|
2908
|
+
group: M({}, e, {
|
|
2909
|
+
value: ge
|
|
2910
|
+
}),
|
|
2911
|
+
groupCollapsed: M({}, e, {
|
|
2912
|
+
value: be
|
|
2913
|
+
}),
|
|
2914
|
+
groupEnd: M({}, e, {
|
|
2915
|
+
value: ke
|
|
2916
|
+
})
|
|
2917
|
+
});
|
|
2789
2918
|
}
|
|
2790
|
-
|
|
2919
|
+
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2791
2920
|
}
|
|
2792
2921
|
}
|
|
2793
|
-
|
|
2922
|
+
var le = T.ReactCurrentDispatcher, ce;
|
|
2923
|
+
function re(e, t, r) {
|
|
2794
2924
|
{
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2925
|
+
if (ce === void 0)
|
|
2926
|
+
try {
|
|
2927
|
+
throw Error();
|
|
2928
|
+
} catch (m) {
|
|
2929
|
+
var n = m.stack.trim().match(/\n( *(at )?)/);
|
|
2930
|
+
ce = n && n[1] || "";
|
|
2800
2931
|
}
|
|
2801
|
-
|
|
2802
|
-
|
|
2932
|
+
return `
|
|
2933
|
+
` + ce + e;
|
|
2803
2934
|
}
|
|
2804
2935
|
}
|
|
2805
|
-
var
|
|
2806
|
-
|
|
2936
|
+
var ue = !1, ae;
|
|
2937
|
+
{
|
|
2938
|
+
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
2939
|
+
ae = new Ue();
|
|
2940
|
+
}
|
|
2941
|
+
function je(e, t) {
|
|
2942
|
+
if (!e || ue)
|
|
2943
|
+
return "";
|
|
2807
2944
|
{
|
|
2808
|
-
var
|
|
2809
|
-
if (
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2945
|
+
var r = ae.get(e);
|
|
2946
|
+
if (r !== void 0)
|
|
2947
|
+
return r;
|
|
2948
|
+
}
|
|
2949
|
+
var n;
|
|
2950
|
+
ue = !0;
|
|
2951
|
+
var m = Error.prepareStackTrace;
|
|
2952
|
+
Error.prepareStackTrace = void 0;
|
|
2953
|
+
var y;
|
|
2954
|
+
y = le.current, le.current = null, Le();
|
|
2955
|
+
try {
|
|
2956
|
+
if (t) {
|
|
2957
|
+
var l = function() {
|
|
2958
|
+
throw Error();
|
|
2959
|
+
};
|
|
2960
|
+
if (Object.defineProperty(l.prototype, "props", {
|
|
2961
|
+
set: function() {
|
|
2962
|
+
throw Error();
|
|
2963
|
+
}
|
|
2964
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
2965
|
+
try {
|
|
2966
|
+
Reflect.construct(l, []);
|
|
2967
|
+
} catch (F) {
|
|
2968
|
+
n = F;
|
|
2969
|
+
}
|
|
2970
|
+
Reflect.construct(e, [], l);
|
|
2971
|
+
} else {
|
|
2972
|
+
try {
|
|
2973
|
+
l.call();
|
|
2974
|
+
} catch (F) {
|
|
2975
|
+
n = F;
|
|
2976
|
+
}
|
|
2977
|
+
e.call(l.prototype);
|
|
2978
|
+
}
|
|
2979
|
+
} else {
|
|
2980
|
+
try {
|
|
2981
|
+
throw Error();
|
|
2982
|
+
} catch (F) {
|
|
2983
|
+
n = F;
|
|
2984
|
+
}
|
|
2985
|
+
e();
|
|
2816
2986
|
}
|
|
2817
|
-
|
|
2818
|
-
if (
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2987
|
+
} catch (F) {
|
|
2988
|
+
if (F && n && typeof F.stack == "string") {
|
|
2989
|
+
for (var _ = F.stack.split(`
|
|
2990
|
+
`), D = n.stack.split(`
|
|
2991
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
2992
|
+
j--;
|
|
2993
|
+
for (; w >= 1 && j >= 0; w--, j--)
|
|
2994
|
+
if (_[w] !== D[j]) {
|
|
2995
|
+
if (w !== 1 || j !== 1)
|
|
2996
|
+
do
|
|
2997
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
2998
|
+
var B = `
|
|
2999
|
+
` + _[w].replace(" at new ", " at ");
|
|
3000
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
3001
|
+
}
|
|
3002
|
+
while (w >= 1 && j >= 0);
|
|
3003
|
+
break;
|
|
3004
|
+
}
|
|
2832
3005
|
}
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
3006
|
+
} finally {
|
|
3007
|
+
ue = !1, le.current = y, We(), Error.prepareStackTrace = m;
|
|
3008
|
+
}
|
|
3009
|
+
var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
|
|
3010
|
+
return typeof e == "function" && ae.set(e, H), H;
|
|
3011
|
+
}
|
|
3012
|
+
function Ke(e, t, r) {
|
|
3013
|
+
return je(e, !1);
|
|
3014
|
+
}
|
|
3015
|
+
function qe(e) {
|
|
3016
|
+
var t = e.prototype;
|
|
3017
|
+
return !!(t && t.isReactComponent);
|
|
3018
|
+
}
|
|
3019
|
+
function ne(e, t, r) {
|
|
3020
|
+
if (e == null)
|
|
3021
|
+
return "";
|
|
3022
|
+
if (typeof e == "function")
|
|
3023
|
+
return je(e, qe(e));
|
|
3024
|
+
if (typeof e == "string")
|
|
3025
|
+
return re(e);
|
|
3026
|
+
switch (e) {
|
|
3027
|
+
case h:
|
|
3028
|
+
return re("Suspense");
|
|
3029
|
+
case o:
|
|
3030
|
+
return re("SuspenseList");
|
|
3031
|
+
}
|
|
3032
|
+
if (typeof e == "object")
|
|
3033
|
+
switch (e.$$typeof) {
|
|
3034
|
+
case s:
|
|
3035
|
+
return Ke(e.render);
|
|
3036
|
+
case d:
|
|
3037
|
+
return ne(e.type, t, r);
|
|
3038
|
+
case k: {
|
|
3039
|
+
var n = e, m = n._payload, y = n._init;
|
|
3040
|
+
try {
|
|
3041
|
+
return ne(y(m), t, r);
|
|
3042
|
+
} catch {
|
|
3043
|
+
}
|
|
2845
3044
|
}
|
|
2846
3045
|
}
|
|
2847
|
-
|
|
2848
|
-
}
|
|
3046
|
+
return "";
|
|
2849
3047
|
}
|
|
2850
|
-
|
|
2851
|
-
|
|
3048
|
+
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = T.ReactDebugCurrentFrame;
|
|
3049
|
+
function oe(e) {
|
|
3050
|
+
if (e) {
|
|
3051
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
3052
|
+
Ce.setExtraStackFrame(r);
|
|
3053
|
+
} else
|
|
3054
|
+
Ce.setExtraStackFrame(null);
|
|
2852
3055
|
}
|
|
2853
|
-
function
|
|
2854
|
-
|
|
3056
|
+
function Ye(e, t, r, n, m) {
|
|
3057
|
+
{
|
|
3058
|
+
var y = Function.call.bind(X);
|
|
3059
|
+
for (var l in e)
|
|
3060
|
+
if (y(e, l)) {
|
|
3061
|
+
var _ = void 0;
|
|
3062
|
+
try {
|
|
3063
|
+
if (typeof e[l] != "function") {
|
|
3064
|
+
var D = Error((n || "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`.");
|
|
3065
|
+
throw D.name = "Invariant Violation", D;
|
|
3066
|
+
}
|
|
3067
|
+
_ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3068
|
+
} catch (w) {
|
|
3069
|
+
_ = w;
|
|
3070
|
+
}
|
|
3071
|
+
_ && !(_ instanceof Error) && (oe(m), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(m), p("Failed %s type: %s", r, _.message), oe(null));
|
|
3072
|
+
}
|
|
3073
|
+
}
|
|
2855
3074
|
}
|
|
2856
|
-
var
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
}
|
|
2860
|
-
process.env.NODE_ENV === "production" ? Nt.exports = Ur() : Nt.exports = Kr();
|
|
2861
|
-
var Et = Nt.exports;
|
|
2862
|
-
const qr = "_btn_1k1b3_1", Yr = "_confirm_1k1b3_15", Gr = "_cancel_1k1b3_20", zr = "_action_1k1b3_25", Hr = "_disabled_1k1b3_30", Jr = "_m_1k1b3_44", Zr = "_l_1k1b3_48", jt = {
|
|
2863
|
-
btn: qr,
|
|
2864
|
-
confirm: Yr,
|
|
2865
|
-
cancel: Gr,
|
|
2866
|
-
action: zr,
|
|
2867
|
-
disabled: Hr,
|
|
2868
|
-
await: "_await_1k1b3_37",
|
|
2869
|
-
m: Jr,
|
|
2870
|
-
l: Zr
|
|
2871
|
-
}, Vr = ({
|
|
2872
|
-
onClick: n,
|
|
2873
|
-
onSend: _,
|
|
2874
|
-
size: c = "m",
|
|
2875
|
-
view: u = "confirm",
|
|
2876
|
-
children: g,
|
|
2877
|
-
isDisabled: C = !1,
|
|
2878
|
-
className: O,
|
|
2879
|
-
after: x,
|
|
2880
|
-
before: s,
|
|
2881
|
-
label: h,
|
|
2882
|
-
onRef: o,
|
|
2883
|
-
awaitText: d = "Ожидайте"
|
|
2884
|
-
}) => {
|
|
2885
|
-
let [k, S] = K.useState(!1);
|
|
2886
|
-
const N = ($) => {
|
|
2887
|
-
if (n) return n();
|
|
2888
|
-
k || (_ ? (S(!0), _(S)) : $.preventDefault());
|
|
2889
|
-
};
|
|
2890
|
-
let A = {};
|
|
2891
|
-
return (C || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2892
|
-
"button",
|
|
2893
|
-
{
|
|
2894
|
-
...A,
|
|
2895
|
-
ref: o,
|
|
2896
|
-
className: [
|
|
2897
|
-
jt.btn,
|
|
2898
|
-
k ? jt.disabled : jt[u],
|
|
2899
|
-
c && jt[c],
|
|
2900
|
-
O
|
|
2901
|
-
].filter(($) => $ != "").join(" "),
|
|
2902
|
-
onClick: N,
|
|
2903
|
-
children: k ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2904
|
-
s || "",
|
|
2905
|
-
" ",
|
|
2906
|
-
h,
|
|
2907
|
-
" ",
|
|
2908
|
-
x || ""
|
|
2909
|
-
] }) || g
|
|
3075
|
+
var Ge = Array.isArray;
|
|
3076
|
+
function de(e) {
|
|
3077
|
+
return Ge(e);
|
|
2910
3078
|
}
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
return /* @__PURE__ */ J.jsx(J.Fragment, { children: n });
|
|
2916
|
-
}
|
|
2917
|
-
var Ct;
|
|
2918
|
-
((n) => {
|
|
2919
|
-
function _({
|
|
2920
|
-
import_modules: o
|
|
2921
|
-
}) {
|
|
2922
|
-
let [d, k] = K.useState([]);
|
|
2923
|
-
return Ae.x = (S) => {
|
|
2924
|
-
k(S ? d.filter((N) => N.key !== S) : []);
|
|
2925
|
-
}, Ht(() => {
|
|
2926
|
-
o && (Ae.i = o);
|
|
2927
|
-
}, []), Ae.add = (S, N = Date.now()) => {
|
|
2928
|
-
k([...d, { key: N, item: S }]);
|
|
2929
|
-
}, /* @__PURE__ */ J.jsx(J.Fragment, { children: d.map((S) => S.item) });
|
|
2930
|
-
}
|
|
2931
|
-
n.Init = _;
|
|
2932
|
-
function c(o) {
|
|
2933
|
-
return o && (Ae.i = o), Ae.i;
|
|
2934
|
-
}
|
|
2935
|
-
n.Import = c, n.List = Mr, n.Scroll = $r, n.Form = Ar, n.Center = Br, n.Column = Lr;
|
|
2936
|
-
function u(o, d, k) {
|
|
2937
|
-
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2938
|
-
S.default.Open(k);
|
|
2939
|
-
}) : Ut()(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2940
|
-
S.default.Open(k);
|
|
2941
|
-
});
|
|
2942
|
-
}
|
|
2943
|
-
n.Open = u;
|
|
2944
|
-
function g({ type: o, name: d, params: k }) {
|
|
2945
|
-
let [S, N] = K.useState(null);
|
|
2946
|
-
return K.useEffect(() => {
|
|
2947
|
-
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2948
|
-
N(A.default.Icon(k));
|
|
2949
|
-
}) : Ut()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2950
|
-
N(A.default.Icon(k));
|
|
2951
|
-
});
|
|
2952
|
-
}, [k.id]), /* @__PURE__ */ J.jsx(J.Fragment, { children: S });
|
|
2953
|
-
}
|
|
2954
|
-
n.Icon = g;
|
|
2955
|
-
function C(o, d) {
|
|
2956
|
-
Ae.add(/* @__PURE__ */ J.jsx(Xr, { children: o }, String(Date.now())), d);
|
|
2957
|
-
}
|
|
2958
|
-
n.Add = C;
|
|
2959
|
-
function O(o) {
|
|
2960
|
-
Ae.x(o);
|
|
2961
|
-
}
|
|
2962
|
-
n.Close = O;
|
|
2963
|
-
function x(o) {
|
|
2964
|
-
if (o.target.classList[0] !== "modal") return;
|
|
2965
|
-
let d = o.target.children[0];
|
|
2966
|
-
d.setAttribute("shake", !0), setTimeout(() => {
|
|
2967
|
-
d.setAttribute("shake", !1);
|
|
2968
|
-
}, 1e3);
|
|
2969
|
-
}
|
|
2970
|
-
n.Shake = x;
|
|
2971
|
-
function s(o, d) {
|
|
2972
|
-
const k = (S) => {
|
|
2973
|
-
n.Add(
|
|
2974
|
-
/* @__PURE__ */ J.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
|
|
2975
|
-
);
|
|
2976
|
-
};
|
|
2977
|
-
return {
|
|
2978
|
-
Icon: (S) => /* @__PURE__ */ J.jsx("i", { onClick: () => k(S), children: d && /* @__PURE__ */ J.jsx(d, {}) }),
|
|
2979
|
-
Open: k
|
|
2980
|
-
};
|
|
2981
|
-
}
|
|
2982
|
-
n.Create = s;
|
|
2983
|
-
function h({
|
|
2984
|
-
title: o,
|
|
2985
|
-
children: d,
|
|
2986
|
-
button: k,
|
|
2987
|
-
tabs: S,
|
|
2988
|
-
size: N = "m",
|
|
2989
|
-
className: A = "",
|
|
2990
|
-
shake: $ = !0,
|
|
2991
|
-
menu: T
|
|
2992
|
-
}) {
|
|
2993
|
-
const [p, I] = K.useState(!0), q = K.useRef(), Y = (U) => {
|
|
2994
|
-
if (k) {
|
|
2995
|
-
if (k.onClick)
|
|
2996
|
-
return U(!1), k.onClick({ setOpen: I });
|
|
2997
|
-
if (k.onSend)
|
|
2998
|
-
return k.onSend({
|
|
2999
|
-
setOpen: I,
|
|
3000
|
-
disabled: U
|
|
3001
|
-
});
|
|
3079
|
+
function ze(e) {
|
|
3080
|
+
{
|
|
3081
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
3082
|
+
return r;
|
|
3002
3083
|
}
|
|
3003
|
-
}
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
}
|
|
3084
|
+
}
|
|
3085
|
+
function He(e) {
|
|
3086
|
+
try {
|
|
3087
|
+
return Se(e), !1;
|
|
3088
|
+
} catch {
|
|
3089
|
+
return !0;
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
function Se(e) {
|
|
3093
|
+
return "" + e;
|
|
3094
|
+
}
|
|
3095
|
+
function Re(e) {
|
|
3096
|
+
if (He(e))
|
|
3097
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
3098
|
+
}
|
|
3099
|
+
var Ee = T.ReactCurrentOwner, Je = {
|
|
3100
|
+
key: !0,
|
|
3101
|
+
ref: !0,
|
|
3102
|
+
__self: !0,
|
|
3103
|
+
__source: !0
|
|
3104
|
+
}, Oe, Te;
|
|
3105
|
+
function Ze(e) {
|
|
3106
|
+
if (X.call(e, "ref")) {
|
|
3107
|
+
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
3108
|
+
if (t && t.isReactWarning)
|
|
3109
|
+
return !1;
|
|
3110
|
+
}
|
|
3111
|
+
return e.ref !== void 0;
|
|
3112
|
+
}
|
|
3113
|
+
function Ve(e) {
|
|
3114
|
+
if (X.call(e, "key")) {
|
|
3115
|
+
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
3116
|
+
if (t && t.isReactWarning)
|
|
3117
|
+
return !1;
|
|
3118
|
+
}
|
|
3119
|
+
return e.key !== void 0;
|
|
3120
|
+
}
|
|
3121
|
+
function Xe(e, t) {
|
|
3122
|
+
typeof e.ref == "string" && Ee.current;
|
|
3123
|
+
}
|
|
3124
|
+
function Qe(e, t) {
|
|
3125
|
+
{
|
|
3126
|
+
var r = function() {
|
|
3127
|
+
Oe || (Oe = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
3128
|
+
};
|
|
3129
|
+
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
3130
|
+
get: r,
|
|
3131
|
+
configurable: !0
|
|
3132
|
+
});
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3135
|
+
function et(e, t) {
|
|
3136
|
+
{
|
|
3137
|
+
var r = function() {
|
|
3138
|
+
Te || (Te = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
3139
|
+
};
|
|
3140
|
+
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
3141
|
+
get: r,
|
|
3142
|
+
configurable: !0
|
|
3143
|
+
});
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
var tt = function(e, t, r, n, m, y, l) {
|
|
3147
|
+
var _ = {
|
|
3148
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
3149
|
+
$$typeof: i,
|
|
3150
|
+
// Built-in properties that belong on the element
|
|
3151
|
+
type: e,
|
|
3152
|
+
key: t,
|
|
3153
|
+
ref: r,
|
|
3154
|
+
props: l,
|
|
3155
|
+
// Record the component responsible for creating this element.
|
|
3156
|
+
_owner: y
|
|
3157
|
+
};
|
|
3158
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
3159
|
+
configurable: !1,
|
|
3160
|
+
enumerable: !1,
|
|
3161
|
+
writable: !0,
|
|
3162
|
+
value: !1
|
|
3163
|
+
}), Object.defineProperty(_, "_self", {
|
|
3164
|
+
configurable: !1,
|
|
3165
|
+
enumerable: !1,
|
|
3166
|
+
writable: !1,
|
|
3167
|
+
value: n
|
|
3168
|
+
}), Object.defineProperty(_, "_source", {
|
|
3169
|
+
configurable: !1,
|
|
3170
|
+
enumerable: !1,
|
|
3171
|
+
writable: !1,
|
|
3172
|
+
value: m
|
|
3173
|
+
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
3008
3174
|
};
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
"
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
},
|
|
3027
|
-
E
|
|
3028
|
-
)) }),
|
|
3029
|
-
T
|
|
3030
|
-
] }),
|
|
3031
|
-
/* @__PURE__ */ J.jsx(
|
|
3032
|
-
"div",
|
|
3033
|
-
{
|
|
3034
|
-
className: _e.x,
|
|
3035
|
-
onClick: () => {
|
|
3036
|
-
I(!1);
|
|
3037
|
-
},
|
|
3038
|
-
children: /* @__PURE__ */ J.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ J.jsx(
|
|
3039
|
-
"path",
|
|
3040
|
-
{
|
|
3041
|
-
d: "M20 5L5 20M5 5L20 20",
|
|
3042
|
-
stroke: "currentColor",
|
|
3043
|
-
strokeWidth: "2.5",
|
|
3044
|
-
strokeLinecap: "round",
|
|
3045
|
-
strokeLinejoin: "round"
|
|
3046
|
-
}
|
|
3047
|
-
) })
|
|
3048
|
-
}
|
|
3049
|
-
)
|
|
3050
|
-
] }),
|
|
3051
|
-
d,
|
|
3052
|
-
k && /* @__PURE__ */ J.jsx("div", { className: _e.b, children: /* @__PURE__ */ J.jsx(
|
|
3053
|
-
Vr,
|
|
3054
|
-
{
|
|
3055
|
-
label: k.label,
|
|
3056
|
-
onSend: Y,
|
|
3057
|
-
className: _e.btn,
|
|
3058
|
-
size: k.size
|
|
3059
|
-
}
|
|
3060
|
-
) })
|
|
3061
|
-
]
|
|
3062
|
-
}
|
|
3063
|
-
)
|
|
3064
|
-
] }) : "";
|
|
3065
|
-
}
|
|
3066
|
-
n.Main = h;
|
|
3067
|
-
})(Ct || (Ct = {}));
|
|
3068
|
-
const Qr = (n, _ = ",") => (n = n !== void 0 && n !== "" ? n.split(_) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
3069
|
-
function ha({
|
|
3070
|
-
value: n,
|
|
3071
|
-
onValue: _,
|
|
3072
|
-
name: c,
|
|
3073
|
-
placeholder: u = "",
|
|
3074
|
-
separator: g = ",",
|
|
3075
|
-
title: C,
|
|
3076
|
-
error: O,
|
|
3077
|
-
hide: x = !1,
|
|
3078
|
-
edit: s = !0,
|
|
3079
|
-
active: h = !0,
|
|
3080
|
-
outFormat: o = "object",
|
|
3081
|
-
after: d = "",
|
|
3082
|
-
modal: k,
|
|
3083
|
-
options: S,
|
|
3084
|
-
className: N
|
|
3085
|
-
}) {
|
|
3086
|
-
const [A, $] = K.useState(Qr(n, g)), T = (I) => {
|
|
3087
|
-
if (!(s && h) || !k) return;
|
|
3088
|
-
let q = k.split(".");
|
|
3089
|
-
Ct.Open(q[0], q[1], {
|
|
3090
|
-
callback: (Y) => {
|
|
3091
|
-
if (_)
|
|
3092
|
-
switch (o) {
|
|
3093
|
-
case "array":
|
|
3094
|
-
_({ value: Object.keys(Y), name: c });
|
|
3095
|
-
break;
|
|
3096
|
-
case "string":
|
|
3097
|
-
_({
|
|
3098
|
-
value: Object.keys(Y).filter((L) => Y[L]).join(g),
|
|
3099
|
-
name: c
|
|
3100
|
-
});
|
|
3101
|
-
break;
|
|
3102
|
-
default:
|
|
3103
|
-
_({ value: Y, name: c });
|
|
3104
|
-
}
|
|
3105
|
-
$(
|
|
3106
|
-
Object.fromEntries(
|
|
3107
|
-
Object.entries(Y).filter(
|
|
3108
|
-
([L, U]) => U !== !1
|
|
3109
|
-
)
|
|
3110
|
-
)
|
|
3111
|
-
);
|
|
3112
|
-
},
|
|
3113
|
-
onValue: _,
|
|
3114
|
-
options: S,
|
|
3115
|
-
name: c,
|
|
3116
|
-
value: A
|
|
3117
|
-
});
|
|
3118
|
-
}, p = {};
|
|
3119
|
-
return u && (p.placeholder = u), x ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
|
|
3120
|
-
"dl",
|
|
3121
|
-
{
|
|
3122
|
-
"data-field": "group",
|
|
3123
|
-
className: [z.l, N].filter((I) => I !== void 0).join(" "),
|
|
3124
|
-
children: [
|
|
3125
|
-
C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
|
|
3126
|
-
/* @__PURE__ */ f.jsx(
|
|
3127
|
-
"dd",
|
|
3128
|
-
{
|
|
3129
|
-
...p,
|
|
3130
|
-
className: z.f,
|
|
3131
|
-
onClick: T,
|
|
3132
|
-
edit: (s && h) + "",
|
|
3133
|
-
children: Object.keys(A).map((I) => {
|
|
3134
|
-
var q;
|
|
3135
|
-
return /* @__PURE__ */ f.jsx("div", { children: (q = S[I]) == null ? void 0 : q.label }, I);
|
|
3136
|
-
})
|
|
3137
|
-
}
|
|
3138
|
-
),
|
|
3139
|
-
O && /* @__PURE__ */ f.jsx("em", { children: O })
|
|
3140
|
-
]
|
|
3175
|
+
function rt(e, t, r, n, m) {
|
|
3176
|
+
{
|
|
3177
|
+
var y, l = {}, _ = null, D = null;
|
|
3178
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
3179
|
+
for (y in t)
|
|
3180
|
+
X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
|
|
3181
|
+
if (e && e.defaultProps) {
|
|
3182
|
+
var w = e.defaultProps;
|
|
3183
|
+
for (y in w)
|
|
3184
|
+
l[y] === void 0 && (l[y] = w[y]);
|
|
3185
|
+
}
|
|
3186
|
+
if (_ || D) {
|
|
3187
|
+
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3188
|
+
_ && Qe(l, j), D && et(l, j);
|
|
3189
|
+
}
|
|
3190
|
+
return tt(e, _, D, m, n, Ee.current, l);
|
|
3191
|
+
}
|
|
3141
3192
|
}
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
}
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
value: C = 0,
|
|
3157
|
-
onValue: O,
|
|
3158
|
-
options: x,
|
|
3159
|
-
placeholder: s = "",
|
|
3160
|
-
className: h,
|
|
3161
|
-
isIcon: o = !0,
|
|
3162
|
-
name: d,
|
|
3163
|
-
after: k,
|
|
3164
|
-
view: S,
|
|
3165
|
-
order: N,
|
|
3166
|
-
isReload: A = !1
|
|
3167
|
-
}) {
|
|
3168
|
-
var R, v;
|
|
3169
|
-
const $ = K.useRef(null), [T, p] = K.useState(C), [I, q] = K.useState(x), [Y, L] = K.useState(!1);
|
|
3170
|
-
K.useEffect(() => {
|
|
3171
|
-
p(C), q(x);
|
|
3172
|
-
}, [C, x]), g = !!(g && (C === 0 || ((R = I == null ? void 0 : I[C]) == null ? void 0 : R.n) === void 0)) && !(c && u);
|
|
3173
|
-
let E = (b) => {
|
|
3174
|
-
p(b), O && O({ value: b, name: d, reload: A });
|
|
3175
|
-
}, W = { onClick: (b) => {
|
|
3176
|
-
Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
|
|
3177
|
-
} };
|
|
3178
|
-
return s && (W.placeholder = s), k && (W.after = k), c && u && (W.edit = ""), g ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
3179
|
-
/* @__PURE__ */ f.jsxs(
|
|
3180
|
-
"dl",
|
|
3193
|
+
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
3194
|
+
function Z(e) {
|
|
3195
|
+
if (e) {
|
|
3196
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
3197
|
+
De.setExtraStackFrame(r);
|
|
3198
|
+
} else
|
|
3199
|
+
De.setExtraStackFrame(null);
|
|
3200
|
+
}
|
|
3201
|
+
var me;
|
|
3202
|
+
me = !1;
|
|
3203
|
+
function pe(e) {
|
|
3204
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
3205
|
+
}
|
|
3206
|
+
function Pe() {
|
|
3181
3207
|
{
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
className: [z.f, St.f].join(" "),
|
|
3191
|
-
ref: $,
|
|
3192
|
-
children: (v = I == null ? void 0 : I[T]) == null ? void 0 : v.n
|
|
3193
|
-
}
|
|
3194
|
-
),
|
|
3195
|
-
Object.keys(I || {}).length !== 0 && o && /* @__PURE__ */ f.jsx(
|
|
3196
|
-
"svg",
|
|
3197
|
-
{
|
|
3198
|
-
className: St.i,
|
|
3199
|
-
fill: "none",
|
|
3200
|
-
stroke: "currentColor",
|
|
3201
|
-
strokeLinecap: "round",
|
|
3202
|
-
strokeLinejoin: "round",
|
|
3203
|
-
strokeWidth: "1",
|
|
3204
|
-
viewBox: "0 0 24 24",
|
|
3205
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3206
|
-
children: /* @__PURE__ */ f.jsx("path", { d: "m5.25 8.625 6.75 6.75 6.75-6.75" })
|
|
3207
|
-
}
|
|
3208
|
-
),
|
|
3209
|
-
_ && /* @__PURE__ */ f.jsx("em", { children: _ })
|
|
3210
|
-
]
|
|
3208
|
+
if (fe.current) {
|
|
3209
|
+
var e = b(fe.current.type);
|
|
3210
|
+
if (e)
|
|
3211
|
+
return `
|
|
3212
|
+
|
|
3213
|
+
Check the render method of \`` + e + "`.";
|
|
3214
|
+
}
|
|
3215
|
+
return "";
|
|
3211
3216
|
}
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
onValue: E,
|
|
3219
|
-
view: S,
|
|
3220
|
-
className: h,
|
|
3221
|
-
options: I,
|
|
3222
|
-
order: N,
|
|
3223
|
-
setOpen: L
|
|
3224
|
-
},
|
|
3225
|
-
(/* @__PURE__ */ new Date()).getTime()
|
|
3226
|
-
),
|
|
3227
|
-
document.body
|
|
3228
|
-
)
|
|
3229
|
-
] });
|
|
3230
|
-
}
|
|
3231
|
-
const na = ({
|
|
3232
|
-
onValue: n,
|
|
3233
|
-
parent: _,
|
|
3234
|
-
className: c,
|
|
3235
|
-
options: u,
|
|
3236
|
-
order: g,
|
|
3237
|
-
setOpen: C
|
|
3238
|
-
}) => {
|
|
3239
|
-
let O = () => {
|
|
3240
|
-
C(!1);
|
|
3241
|
-
}, x = (o) => {
|
|
3242
|
-
C(!1), n(o);
|
|
3243
|
-
}, s = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, h = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
|
|
3244
|
-
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
3245
|
-
/* @__PURE__ */ f.jsx(
|
|
3246
|
-
"div",
|
|
3217
|
+
}
|
|
3218
|
+
function at(e) {
|
|
3219
|
+
return "";
|
|
3220
|
+
}
|
|
3221
|
+
var Ne = {};
|
|
3222
|
+
function nt(e) {
|
|
3247
3223
|
{
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3224
|
+
var t = Pe();
|
|
3225
|
+
if (!t) {
|
|
3226
|
+
var r = typeof e == "string" ? e : e.displayName || e.name;
|
|
3227
|
+
r && (t = `
|
|
3228
|
+
|
|
3229
|
+
Check the top-level render call using <` + r + ">.");
|
|
3230
|
+
}
|
|
3231
|
+
return t;
|
|
3232
|
+
}
|
|
3233
|
+
}
|
|
3234
|
+
function Fe(e, t) {
|
|
3255
3235
|
{
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3236
|
+
if (!e._store || e._store.validated || e.key != null)
|
|
3237
|
+
return;
|
|
3238
|
+
e._store.validated = !0;
|
|
3239
|
+
var r = nt(t);
|
|
3240
|
+
if (Ne[r])
|
|
3241
|
+
return;
|
|
3242
|
+
Ne[r] = !0;
|
|
3243
|
+
var n = "";
|
|
3244
|
+
e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), Z(null);
|
|
3263
3245
|
}
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
}, oa = ({ order: n, options: _, link: c }) => n ? /* @__PURE__ */ f.jsx("ul", { children: n.map(
|
|
3267
|
-
(u, g) => _[u].s !== 0 ? /* @__PURE__ */ f.jsx(
|
|
3268
|
-
"li",
|
|
3269
|
-
{
|
|
3270
|
-
onClick: () => {
|
|
3271
|
-
c(u);
|
|
3272
|
-
},
|
|
3273
|
-
children: _[u].n
|
|
3274
|
-
},
|
|
3275
|
-
g
|
|
3276
|
-
) : ""
|
|
3277
|
-
) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(_).map(
|
|
3278
|
-
(u, g) => _[u].s !== 0 ? /* @__PURE__ */ f.jsx(
|
|
3279
|
-
"li",
|
|
3280
|
-
{
|
|
3281
|
-
onClick: () => {
|
|
3282
|
-
c(u);
|
|
3283
|
-
},
|
|
3284
|
-
children: _[u].n
|
|
3285
|
-
},
|
|
3286
|
-
g
|
|
3287
|
-
) : ""
|
|
3288
|
-
) });
|
|
3289
|
-
function ka({
|
|
3290
|
-
value: n,
|
|
3291
|
-
onValue: _,
|
|
3292
|
-
name: c,
|
|
3293
|
-
placeholder: u = "",
|
|
3294
|
-
title: g,
|
|
3295
|
-
error: C,
|
|
3296
|
-
hide: O = !1,
|
|
3297
|
-
edit: x = !0,
|
|
3298
|
-
show: s = !0,
|
|
3299
|
-
active: h = !0,
|
|
3300
|
-
after: o = "",
|
|
3301
|
-
view: d,
|
|
3302
|
-
modal: k,
|
|
3303
|
-
module: S,
|
|
3304
|
-
options: N,
|
|
3305
|
-
className: A
|
|
3306
|
-
}) {
|
|
3307
|
-
let [$, T] = K.useState(n), p = (Y) => {
|
|
3308
|
-
if (!(x && h) || !k) return;
|
|
3309
|
-
let L = k.split(".");
|
|
3310
|
-
Ct.Open(L[0], L[1], {
|
|
3311
|
-
callback: (U) => {
|
|
3312
|
-
_ && _({ value: U, name: c }), T(U);
|
|
3313
|
-
},
|
|
3314
|
-
onValue: _,
|
|
3315
|
-
options: N,
|
|
3316
|
-
name: c,
|
|
3317
|
-
value: n
|
|
3318
|
-
});
|
|
3319
|
-
};
|
|
3320
|
-
const I = {};
|
|
3321
|
-
I.field = "input", A && (I.className = A);
|
|
3322
|
-
const q = {};
|
|
3323
|
-
return u && (q.placeholder = u), O ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs("dl", { ...I, children: [
|
|
3324
|
-
g && /* @__PURE__ */ f.jsx("dt", { children: g }),
|
|
3325
|
-
/* @__PURE__ */ f.jsx(
|
|
3326
|
-
"dd",
|
|
3246
|
+
}
|
|
3247
|
+
function Ie(e, t) {
|
|
3327
3248
|
{
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3249
|
+
if (typeof e != "object")
|
|
3250
|
+
return;
|
|
3251
|
+
if (de(e))
|
|
3252
|
+
for (var r = 0; r < e.length; r++) {
|
|
3253
|
+
var n = e[r];
|
|
3254
|
+
pe(n) && Fe(n, t);
|
|
3255
|
+
}
|
|
3256
|
+
else if (pe(e))
|
|
3257
|
+
e._store && (e._store.validated = !0);
|
|
3258
|
+
else if (e) {
|
|
3259
|
+
var m = $(e);
|
|
3260
|
+
if (typeof m == "function" && m !== e.entries)
|
|
3261
|
+
for (var y = m.call(e), l; !(l = y.next()).done; )
|
|
3262
|
+
pe(l.value) && Fe(l.value, t);
|
|
3263
|
+
}
|
|
3333
3264
|
}
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
_ && _({
|
|
3359
|
-
value: E.target.textContent,
|
|
3360
|
-
name: u,
|
|
3361
|
-
reload: o
|
|
3362
|
-
});
|
|
3363
|
-
}, I = (E) => {
|
|
3364
|
-
E.key === "Enter" && E.preventDefault();
|
|
3365
|
-
}, q = (E) => {
|
|
3366
|
-
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
3367
|
-
if (S) {
|
|
3368
|
-
let W = E.target.textContent.length;
|
|
3369
|
-
if (W >= S) return;
|
|
3370
|
-
S -= W, P = P.slice(0, S);
|
|
3265
|
+
}
|
|
3266
|
+
function ot(e) {
|
|
3267
|
+
{
|
|
3268
|
+
var t = e.type;
|
|
3269
|
+
if (t == null || typeof t == "string")
|
|
3270
|
+
return;
|
|
3271
|
+
var r;
|
|
3272
|
+
if (typeof t == "function")
|
|
3273
|
+
r = t.propTypes;
|
|
3274
|
+
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
3275
|
+
// Inner props are checked in the reconciler.
|
|
3276
|
+
t.$$typeof === d))
|
|
3277
|
+
r = t.propTypes;
|
|
3278
|
+
else
|
|
3279
|
+
return;
|
|
3280
|
+
if (r) {
|
|
3281
|
+
var n = b(t);
|
|
3282
|
+
Ye(r, e.props, "prop", n, e);
|
|
3283
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
3284
|
+
me = !0;
|
|
3285
|
+
var m = b(t);
|
|
3286
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
|
|
3287
|
+
}
|
|
3288
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3371
3289
|
}
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
!1,
|
|
3375
|
-
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3376
|
-
);
|
|
3377
|
-
}).catch((P) => {
|
|
3378
|
-
});
|
|
3379
|
-
}, Y = (E) => {
|
|
3380
|
-
te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
|
|
3381
|
-
};
|
|
3382
|
-
const L = {};
|
|
3383
|
-
L.field = "password", $ && (L.show = ""), C && (L.className = C);
|
|
3384
|
-
const U = {};
|
|
3385
|
-
return g && (U.placeholder = g), d ? "" : /* @__PURE__ */ f.jsxs("dl", { ...L, children: [
|
|
3386
|
-
O ? /* @__PURE__ */ f.jsx("dt", { children: O }) : "",
|
|
3387
|
-
/* @__PURE__ */ f.jsx(
|
|
3388
|
-
"dd",
|
|
3290
|
+
}
|
|
3291
|
+
function it(e) {
|
|
3389
3292
|
{
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3293
|
+
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3294
|
+
var n = t[r];
|
|
3295
|
+
if (n !== "children" && n !== "key") {
|
|
3296
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), Z(null);
|
|
3297
|
+
break;
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
e.ref !== null && (Z(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), Z(null));
|
|
3398
3301
|
}
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3302
|
+
}
|
|
3303
|
+
var Me = {};
|
|
3304
|
+
function $e(e, t, r, n, m, y) {
|
|
3305
|
+
{
|
|
3306
|
+
var l = W(e);
|
|
3307
|
+
if (!l) {
|
|
3308
|
+
var _ = "";
|
|
3309
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3310
|
+
var D = at();
|
|
3311
|
+
D ? _ += D : _ += Pe();
|
|
3312
|
+
var w;
|
|
3313
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " 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, _);
|
|
3314
|
+
}
|
|
3315
|
+
var j = rt(e, t, r, m, y);
|
|
3316
|
+
if (j == null)
|
|
3317
|
+
return j;
|
|
3318
|
+
if (l) {
|
|
3319
|
+
var B = t.children;
|
|
3320
|
+
if (B !== void 0)
|
|
3321
|
+
if (n)
|
|
3322
|
+
if (de(B)) {
|
|
3323
|
+
for (var V = 0; V < B.length; V++)
|
|
3324
|
+
Ie(B[V], e);
|
|
3325
|
+
Object.freeze && Object.freeze(B);
|
|
3326
|
+
} else
|
|
3327
|
+
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.");
|
|
3328
|
+
else
|
|
3329
|
+
Ie(B, e);
|
|
3330
|
+
}
|
|
3331
|
+
if (X.call(t, "key")) {
|
|
3332
|
+
var H = b(e), F = Object.keys(t).filter(function(dt) {
|
|
3333
|
+
return dt !== "key";
|
|
3334
|
+
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3335
|
+
if (!Me[H + ye]) {
|
|
3336
|
+
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
3337
|
+
p(`A props object containing a "key" prop is being spread into JSX:
|
|
3338
|
+
let props = %s;
|
|
3339
|
+
<%s {...props} />
|
|
3340
|
+
React keys must be passed directly to JSX without using spread:
|
|
3341
|
+
let props = %s;
|
|
3342
|
+
<%s key={someKey} {...props} />`, ye, H, ut, H), Me[H + ye] = !0;
|
|
3343
|
+
}
|
|
3344
|
+
}
|
|
3345
|
+
return e === u ? it(j) : ot(j), j;
|
|
3346
|
+
}
|
|
3347
|
+
}
|
|
3348
|
+
function _t(e, t, r) {
|
|
3349
|
+
return $e(e, t, r, !0);
|
|
3350
|
+
}
|
|
3351
|
+
function st(e, t, r) {
|
|
3352
|
+
return $e(e, t, r, !1);
|
|
3353
|
+
}
|
|
3354
|
+
var lt = st, ct = _t;
|
|
3355
|
+
jt.Fragment = u, jt.jsx = lt, jt.jsxs = ct;
|
|
3356
|
+
}()), jt;
|
|
3357
|
+
}
|
|
3358
|
+
process.env.NODE_ENV === "production" ? Nt.exports = Qr() : Nt.exports = ea();
|
|
3359
|
+
var ee = Nt.exports;
|
|
3360
|
+
const ta = "_notice_13j98_2", ra = "_error_13j98_11", aa = "_success_13j98_14", na = "_remark_13j98_17", oa = "_copy_13j98_20", zt = {
|
|
3361
|
+
notice: ta,
|
|
3362
|
+
error: ra,
|
|
3363
|
+
success: aa,
|
|
3364
|
+
remark: na,
|
|
3365
|
+
copy: oa,
|
|
3366
|
+
"show-notice": "_show-notice_13j98_1",
|
|
3367
|
+
"hide-notice": "_hide-notice_13j98_1"
|
|
3368
|
+
};
|
|
3369
|
+
let Be = {};
|
|
3370
|
+
function ht({ data: a }) {
|
|
3371
|
+
let [i, c] = K.useState("show");
|
|
3372
|
+
K.useEffect(() => {
|
|
3373
|
+
a.hide && (setTimeout(function() {
|
|
3374
|
+
c("hide");
|
|
3375
|
+
}, 1800), setTimeout(function() {
|
|
3376
|
+
Be.del(a.key);
|
|
3377
|
+
}, 2500));
|
|
3378
|
+
}, [a.key]);
|
|
3379
|
+
let u, v;
|
|
3380
|
+
switch (a.type) {
|
|
3381
|
+
case "error":
|
|
3382
|
+
u = /* @__PURE__ */ ee.jsx(ft.error, {}), v = "Ошибка:";
|
|
3383
|
+
break;
|
|
3384
|
+
case "success":
|
|
3385
|
+
u = /* @__PURE__ */ ee.jsx(ft.success, {}), v = "Информация:";
|
|
3386
|
+
break;
|
|
3387
|
+
case "copy":
|
|
3388
|
+
u = /* @__PURE__ */ ee.jsx(ft.success, {}), v = "Копирование:";
|
|
3389
|
+
break;
|
|
3390
|
+
case "remark":
|
|
3391
|
+
u = /* @__PURE__ */ ee.jsx(ft.success, {}), v = "Подсказка:";
|
|
3392
|
+
break;
|
|
3393
|
+
default:
|
|
3394
|
+
u = /* @__PURE__ */ ee.jsx(ft.success, {}), v = "Предупреждение:";
|
|
3395
|
+
break;
|
|
3396
|
+
}
|
|
3397
|
+
return /* @__PURE__ */ ee.jsxs("li", { className: zt[a.type], "data-status": i, children: [
|
|
3398
|
+
u,
|
|
3399
|
+
/* @__PURE__ */ ee.jsx("b", { children: v }),
|
|
3400
|
+
/* @__PURE__ */ ee.jsx("p", { children: a.text })
|
|
3403
3401
|
] });
|
|
3404
3402
|
}
|
|
3405
|
-
function
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
view: $
|
|
3423
|
-
}) {
|
|
3424
|
-
g = g !== void 0 ? g : !0, c = c !== void 0 ? c : !0, s = !!(s && (h === "" || h === void 0)) && !(g && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
3425
|
-
let p = !1, I = (P) => {
|
|
3426
|
-
n == null || n({ value: P.target.textContent, name: S });
|
|
3427
|
-
}, q = (P) => {
|
|
3428
|
-
if (!(p && P.which === 86)) {
|
|
3429
|
-
if (P.which === 17 || P.which === 91) return p = !0;
|
|
3430
|
-
P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
|
|
3403
|
+
function ia({ data: a }) {
|
|
3404
|
+
let [i, c] = K.useState("show");
|
|
3405
|
+
return K.useEffect(() => {
|
|
3406
|
+
a.hide && (setTimeout(function() {
|
|
3407
|
+
c("hide");
|
|
3408
|
+
}, 1800), setTimeout(function() {
|
|
3409
|
+
Be.del(a.key);
|
|
3410
|
+
}, 2500));
|
|
3411
|
+
}, [a.key]), /* @__PURE__ */ ee.jsx("li", { className: "item", "data-status": i, children: a.text });
|
|
3412
|
+
}
|
|
3413
|
+
const ft = {};
|
|
3414
|
+
ft.error = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
3415
|
+
/* @__PURE__ */ ee.jsx(
|
|
3416
|
+
"path",
|
|
3417
|
+
{
|
|
3418
|
+
d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
|
|
3419
|
+
fill: "#bb2014"
|
|
3431
3420
|
}
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
P.preventDefault(), navigator.clipboard.readText().then((W) => {
|
|
3436
|
-
if (W = W.replace(/(?!^\+|\d)./g, ""), k) {
|
|
3437
|
-
let R = P.target.textContent.length;
|
|
3438
|
-
if (R >= k) return;
|
|
3439
|
-
k -= R, W = W.slice(0, k);
|
|
3440
|
-
}
|
|
3441
|
-
window.document.execCommand("insertText", !1, "" + W);
|
|
3442
|
-
}).catch((W) => {
|
|
3443
|
-
});
|
|
3444
|
-
};
|
|
3445
|
-
const U = (P) => {
|
|
3446
|
-
te.Blur(P), _ == null || _({ value: P.target.textContent, name: S });
|
|
3447
|
-
};
|
|
3448
|
-
let E = {};
|
|
3449
|
-
return g && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
|
|
3450
|
-
"dl",
|
|
3421
|
+
),
|
|
3422
|
+
/* @__PURE__ */ ee.jsx(
|
|
3423
|
+
"path",
|
|
3451
3424
|
{
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
children: [
|
|
3455
|
-
C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
|
|
3456
|
-
A,
|
|
3457
|
-
/* @__PURE__ */ f.jsx(
|
|
3458
|
-
"dd",
|
|
3459
|
-
{
|
|
3460
|
-
className: [z.f, z.w].join(" "),
|
|
3461
|
-
onPaste: L,
|
|
3462
|
-
onInput: I,
|
|
3463
|
-
onBlur: U,
|
|
3464
|
-
onKeyDown: q,
|
|
3465
|
-
onKeyUp: Y,
|
|
3466
|
-
suppressContentEditableWarning: !0,
|
|
3467
|
-
...E,
|
|
3468
|
-
children: h
|
|
3469
|
-
}
|
|
3470
|
-
),
|
|
3471
|
-
N,
|
|
3472
|
-
O && /* @__PURE__ */ f.jsx("em", { children: O })
|
|
3473
|
-
]
|
|
3425
|
+
d: "M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",
|
|
3426
|
+
fill: "#fff"
|
|
3474
3427
|
}
|
|
3475
|
-
)
|
|
3476
|
-
}
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3428
|
+
)
|
|
3429
|
+
] });
|
|
3430
|
+
ft.success = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
3431
|
+
/* @__PURE__ */ ee.jsx(
|
|
3432
|
+
"path",
|
|
3433
|
+
{
|
|
3434
|
+
d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
|
|
3435
|
+
fill: "#367738"
|
|
3436
|
+
}
|
|
3437
|
+
),
|
|
3438
|
+
/* @__PURE__ */ ee.jsx(
|
|
3439
|
+
"path",
|
|
3440
|
+
{
|
|
3441
|
+
d: "M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",
|
|
3442
|
+
fill: "#fff"
|
|
3443
|
+
}
|
|
3444
|
+
)
|
|
3445
|
+
] });
|
|
3446
|
+
var St;
|
|
3447
|
+
((a) => {
|
|
3448
|
+
function i() {
|
|
3449
|
+
let [s, h] = K.useState([]);
|
|
3450
|
+
return Be.set = (o) => {
|
|
3451
|
+
h([...s, o]);
|
|
3452
|
+
}, Be.del = (o) => {
|
|
3453
|
+
h(s.filter((d) => d.key !== o));
|
|
3454
|
+
}, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: zt.notice, children: s.map((o) => o.item) });
|
|
3455
|
+
}
|
|
3456
|
+
a.Init = i;
|
|
3457
|
+
function c(s, h = !0) {
|
|
3458
|
+
let o = Date.now(), d = { key: o, text: s, hide: h, type: "error" };
|
|
3459
|
+
Be.set({
|
|
3460
|
+
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3461
|
+
key: o
|
|
3462
|
+
});
|
|
3463
|
+
}
|
|
3464
|
+
a.Error = c;
|
|
3465
|
+
function u(s, h = !0) {
|
|
3466
|
+
let o = Date.now(), d = { key: o, text: s, hide: h, type: "success" };
|
|
3467
|
+
Be.set({
|
|
3468
|
+
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3469
|
+
key: o
|
|
3470
|
+
});
|
|
3471
|
+
}
|
|
3472
|
+
a.Success = u;
|
|
3473
|
+
function v(s, h = !0) {
|
|
3474
|
+
let o = Date.now(), d = { key: o, hide: h, text: s };
|
|
3475
|
+
Be.set({ item: /* @__PURE__ */ ee.jsx(ia, { data: d }, o), key: o });
|
|
3476
|
+
}
|
|
3477
|
+
a.Custom = v;
|
|
3478
|
+
function C(s) {
|
|
3479
|
+
let h = Date.now(), o = { key: h, hide: !0, ...s };
|
|
3480
|
+
Be.set({
|
|
3481
|
+
item: /* @__PURE__ */ ee.jsx(ht, { data: o }, h),
|
|
3482
|
+
key: h
|
|
3483
|
+
});
|
|
3484
|
+
}
|
|
3485
|
+
a.Send = C;
|
|
3486
|
+
function O(s, h = !0) {
|
|
3487
|
+
let o = Date.now(), d = { key: o, text: s, hide: h, type: "remark" };
|
|
3488
|
+
Be.set({
|
|
3489
|
+
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3490
|
+
key: o
|
|
3491
|
+
});
|
|
3492
|
+
}
|
|
3493
|
+
a.Remark = O;
|
|
3494
|
+
function x(s, h = !0) {
|
|
3495
|
+
let o = Date.now(), d = { key: o, text: s, hide: h, type: "copy" };
|
|
3496
|
+
Be.set({
|
|
3497
|
+
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3498
|
+
key: o
|
|
3499
|
+
});
|
|
3500
|
+
}
|
|
3501
|
+
a.Copy = x;
|
|
3502
|
+
})(St || (St = {}));
|
|
3503
|
+
function Ca({
|
|
3504
|
+
value: a = "",
|
|
3505
|
+
onValue: i,
|
|
3480
3506
|
onSave: c,
|
|
3481
3507
|
name: u,
|
|
3482
|
-
format:
|
|
3508
|
+
format: v = "+_(___) ___-__-__",
|
|
3483
3509
|
placeholder: C = "",
|
|
3484
3510
|
title: O = "",
|
|
3485
3511
|
error: x = "",
|
|
@@ -3491,43 +3517,43 @@ function xa({
|
|
|
3491
3517
|
view: S,
|
|
3492
3518
|
className: N = ""
|
|
3493
3519
|
}) {
|
|
3494
|
-
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (
|
|
3495
|
-
let $ =
|
|
3520
|
+
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (a === "" || a === void 0)) && !(h && o), K.useRef(null);
|
|
3521
|
+
let $ = v, T = !0, p = 0, I = (g, b) => {
|
|
3496
3522
|
let M = document.createRange(), G = window.getSelection();
|
|
3497
|
-
M.setStart(b.childNodes[0],
|
|
3498
|
-
}, q = (
|
|
3499
|
-
|
|
3523
|
+
M.setStart(b.childNodes[0], g), M.collapse(!0), G.removeAllRanges(), G.addRange(M), b.focus();
|
|
3524
|
+
}, q = (g) => {
|
|
3525
|
+
g.preventDefault(), navigator.clipboard.readText().then((b) => {
|
|
3500
3526
|
window.document.execCommand("insertText", !1, b);
|
|
3501
3527
|
}).catch((b) => {
|
|
3502
3528
|
});
|
|
3503
|
-
}, Y = (
|
|
3504
|
-
let b = 0, M = "", G =
|
|
3529
|
+
}, Y = (g) => {
|
|
3530
|
+
let b = 0, M = "", G = g.replace(/\D/g, "");
|
|
3505
3531
|
G === "" && (T = !0);
|
|
3506
3532
|
let Q = G.split(""), ie = "";
|
|
3507
3533
|
Q.forEach((ge) => {
|
|
3508
|
-
T && (ie += ge, T && (p = ("" + ie).length, $ =
|
|
3534
|
+
T && (ie += ge, T && (p = ("" + ie).length, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""), p > ("" + ie).length && (T = !0, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
|
|
3509
3535
|
});
|
|
3510
3536
|
let se = $.replace(/\D/g, "");
|
|
3511
3537
|
return se.length >= G.length && (G = se), { q: $.replace(/[_\d]/g, function() {
|
|
3512
3538
|
return G.charAt(b++) || "_";
|
|
3513
3539
|
}), i: b, v: G, f: M };
|
|
3514
|
-
}, L = (
|
|
3515
|
-
|
|
3540
|
+
}, L = (g) => {
|
|
3541
|
+
g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
|
|
3516
3542
|
function() {
|
|
3517
|
-
|
|
3543
|
+
St.Copy("Данные в буфер обмене");
|
|
3518
3544
|
},
|
|
3519
3545
|
function(b) {
|
|
3520
3546
|
}
|
|
3521
3547
|
);
|
|
3522
|
-
}, U = Y(
|
|
3523
|
-
let b = Y(
|
|
3524
|
-
|
|
3525
|
-
}, P = (
|
|
3526
|
-
|
|
3548
|
+
}, U = Y(a), E = (g) => {
|
|
3549
|
+
let b = Y(g.target.textContent);
|
|
3550
|
+
g.target.textContent = b.q, b.i = b.q.lastIndexOf(b.v.substr(-1)), b.i < b.q.length && b.q !== $ ? b.i++ : b.i = b.q.indexOf("_"), I(b.i, g.target), i && i({ value: b.q.replace(/\D/g, ""), name: u });
|
|
3551
|
+
}, P = (g) => {
|
|
3552
|
+
g.key === "Enter" && g.preventDefault();
|
|
3527
3553
|
};
|
|
3528
|
-
const W = (
|
|
3529
|
-
te.Blur(
|
|
3530
|
-
value:
|
|
3554
|
+
const W = (g) => {
|
|
3555
|
+
te.Blur(g), c && c({
|
|
3556
|
+
value: g.target.textContent.replace(/\D/g, ""),
|
|
3531
3557
|
name: u
|
|
3532
3558
|
});
|
|
3533
3559
|
};
|
|
@@ -3536,7 +3562,7 @@ function xa({
|
|
|
3536
3562
|
"dl",
|
|
3537
3563
|
{
|
|
3538
3564
|
"data-field": "input",
|
|
3539
|
-
className: [z.l, N].filter((
|
|
3565
|
+
className: [z.l, N].filter((g) => g !== void 0).join(" "),
|
|
3540
3566
|
children: [
|
|
3541
3567
|
O ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: O }) : "",
|
|
3542
3568
|
/* @__PURE__ */ f.jsx(
|
|
@@ -3558,12 +3584,12 @@ function xa({
|
|
|
3558
3584
|
}
|
|
3559
3585
|
);
|
|
3560
3586
|
}
|
|
3561
|
-
function
|
|
3562
|
-
id:
|
|
3563
|
-
value:
|
|
3587
|
+
function Sa({
|
|
3588
|
+
id: a,
|
|
3589
|
+
value: i,
|
|
3564
3590
|
onValue: c,
|
|
3565
3591
|
name: u,
|
|
3566
|
-
placeholder:
|
|
3592
|
+
placeholder: v = "",
|
|
3567
3593
|
title: C = "",
|
|
3568
3594
|
error: O = "",
|
|
3569
3595
|
hide: x = !1,
|
|
@@ -3601,7 +3627,7 @@ function Ca({
|
|
|
3601
3627
|
if (x) return /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
3602
3628
|
if (!(s && h) && !d) return "";
|
|
3603
3629
|
const L = {};
|
|
3604
|
-
|
|
3630
|
+
v && (L.placeholder = v), s && h && (L.edit = ""), T && (L.open = "");
|
|
3605
3631
|
const U = (E) => {
|
|
3606
3632
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
3607
3633
|
};
|
|
@@ -3623,7 +3649,7 @@ function Ca({
|
|
|
3623
3649
|
contentEditable: s && h ? te.ContentEditable : "false",
|
|
3624
3650
|
suppressContentEditableWarning: !0,
|
|
3625
3651
|
...L,
|
|
3626
|
-
children:
|
|
3652
|
+
children: i
|
|
3627
3653
|
}
|
|
3628
3654
|
),
|
|
3629
3655
|
o,
|
|
@@ -5014,12 +5040,12 @@ const Ot = {
|
|
|
5014
5040
|
mask: "+1939(___) ___-__-__"
|
|
5015
5041
|
}
|
|
5016
5042
|
};
|
|
5017
|
-
function
|
|
5018
|
-
value:
|
|
5019
|
-
onValue:
|
|
5043
|
+
function Ra({
|
|
5044
|
+
value: a,
|
|
5045
|
+
onValue: i,
|
|
5020
5046
|
onSave: c,
|
|
5021
5047
|
name: u,
|
|
5022
|
-
placeholder:
|
|
5048
|
+
placeholder: v = "",
|
|
5023
5049
|
title: C = "",
|
|
5024
5050
|
error: O = "",
|
|
5025
5051
|
hide: x = !1,
|
|
@@ -5030,20 +5056,20 @@ function Sa({
|
|
|
5030
5056
|
view: k,
|
|
5031
5057
|
className: S = ""
|
|
5032
5058
|
}) {
|
|
5033
|
-
s = s !== void 0 ? s : !0, h = h !== void 0 ? h : !0, x = !!(x && (
|
|
5034
|
-
let A = "+_(___) ___-__-__", $ = !0, T = 0, p = (R,
|
|
5059
|
+
s = s !== void 0 ? s : !0, h = h !== void 0 ? h : !0, x = !!(x && (a === "" || a === void 0)) && !(s && h), K.useRef(null);
|
|
5060
|
+
let A = "+_(___) ___-__-__", $ = !0, T = 0, p = (R, g) => {
|
|
5035
5061
|
let b = document.createRange(), M = window.getSelection();
|
|
5036
|
-
b.setStart(
|
|
5062
|
+
b.setStart(g.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), g.focus();
|
|
5037
5063
|
}, I = (R) => {
|
|
5038
|
-
let
|
|
5039
|
-
R.target.textContent =
|
|
5064
|
+
let g = Y(R.target.textContent);
|
|
5065
|
+
R.target.textContent = g.q, g.i = g.q.lastIndexOf(g.v.substr(-1)), g.i < g.q.length && g.q !== A ? g.i++ : g.i = g.q.indexOf("_"), p(g.i, R.target), i && i({ value: g.q.replace(/\D/g, ""), name: u });
|
|
5040
5066
|
}, q = (R) => {
|
|
5041
|
-
R.preventDefault(), navigator.clipboard.readText().then((
|
|
5042
|
-
window.document.execCommand("insertText", !1,
|
|
5043
|
-
}).catch((
|
|
5067
|
+
R.preventDefault(), navigator.clipboard.readText().then((g) => {
|
|
5068
|
+
window.document.execCommand("insertText", !1, g);
|
|
5069
|
+
}).catch((g) => {
|
|
5044
5070
|
});
|
|
5045
5071
|
}, Y = (R) => {
|
|
5046
|
-
let
|
|
5072
|
+
let g = 0, b = "", M = R.replace(/\D/g, "");
|
|
5047
5073
|
M === "" && ($ = !0);
|
|
5048
5074
|
let G = M.split(""), Q = "";
|
|
5049
5075
|
G.forEach((ve) => {
|
|
@@ -5057,17 +5083,17 @@ function Sa({
|
|
|
5057
5083
|
});
|
|
5058
5084
|
let ie = A.replace(/\D/g, "");
|
|
5059
5085
|
return ie.length >= M.length && (M = ie), { q: A.replace(/[_\d]/g, function() {
|
|
5060
|
-
return M.charAt(
|
|
5061
|
-
}), i:
|
|
5086
|
+
return M.charAt(g++) || "_";
|
|
5087
|
+
}), i: g, v: M, f: b };
|
|
5062
5088
|
}, L = (R) => {
|
|
5063
5089
|
R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.replace(/\D/g, "")).then(
|
|
5064
5090
|
function() {
|
|
5065
|
-
|
|
5091
|
+
St.Copy("Данные в буфер обмене");
|
|
5066
5092
|
},
|
|
5067
|
-
function(
|
|
5093
|
+
function(g) {
|
|
5068
5094
|
}
|
|
5069
5095
|
);
|
|
5070
|
-
}, U = Y(
|
|
5096
|
+
}, U = Y(a), E = (R) => {
|
|
5071
5097
|
R.key === "Enter" && R.preventDefault();
|
|
5072
5098
|
};
|
|
5073
5099
|
const P = (R) => {
|
|
@@ -5077,7 +5103,7 @@ function Sa({
|
|
|
5077
5103
|
});
|
|
5078
5104
|
};
|
|
5079
5105
|
let W = {};
|
|
5080
|
-
return s && h ? (W.edit = "true", W.contentEditable = te.ContentEditable) : W.contentEditable = "false",
|
|
5106
|
+
return s && h ? (W.edit = "true", W.contentEditable = te.ContentEditable) : W.contentEditable = "false", v && (W.placeholder = v), o && (W.after = o), x ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
|
|
5081
5107
|
"dl",
|
|
5082
5108
|
{
|
|
5083
5109
|
"data-field": "input",
|
|
@@ -5103,16 +5129,16 @@ function Sa({
|
|
|
5103
5129
|
}
|
|
5104
5130
|
);
|
|
5105
5131
|
}
|
|
5106
|
-
const
|
|
5107
|
-
o:
|
|
5108
|
-
c:
|
|
5132
|
+
const _a = "_o_1c9e1_1", sa = "_c_1c9e1_11", Rt = {
|
|
5133
|
+
o: _a,
|
|
5134
|
+
c: sa
|
|
5109
5135
|
};
|
|
5110
|
-
function
|
|
5111
|
-
title:
|
|
5112
|
-
error:
|
|
5136
|
+
function Ea({
|
|
5137
|
+
title: a,
|
|
5138
|
+
error: i,
|
|
5113
5139
|
edit: c = !0,
|
|
5114
5140
|
active: u = !0,
|
|
5115
|
-
className:
|
|
5141
|
+
className: v,
|
|
5116
5142
|
placeholder: C,
|
|
5117
5143
|
max: O,
|
|
5118
5144
|
min: x,
|
|
@@ -5142,9 +5168,9 @@ function Ra({
|
|
|
5142
5168
|
"dl",
|
|
5143
5169
|
{
|
|
5144
5170
|
"data-field": "date",
|
|
5145
|
-
className: [z.l,
|
|
5171
|
+
className: [z.l, v].filter((L) => L !== void 0).join(" "),
|
|
5146
5172
|
children: [
|
|
5147
|
-
|
|
5173
|
+
a ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: a }) : "",
|
|
5148
5174
|
/* @__PURE__ */ f.jsxs(
|
|
5149
5175
|
"dd",
|
|
5150
5176
|
{
|
|
@@ -5153,18 +5179,18 @@ function Ra({
|
|
|
5153
5179
|
...Y,
|
|
5154
5180
|
"data-edit": (c && u) + "",
|
|
5155
5181
|
children: [
|
|
5156
|
-
|
|
5182
|
+
ua(S, "dd.mm.yyyy"),
|
|
5157
5183
|
k
|
|
5158
5184
|
]
|
|
5159
5185
|
}
|
|
5160
5186
|
),
|
|
5161
|
-
|
|
5187
|
+
i && /* @__PURE__ */ f.jsx("em", { children: i })
|
|
5162
5188
|
]
|
|
5163
5189
|
}
|
|
5164
5190
|
),
|
|
5165
5191
|
$ && It(
|
|
5166
5192
|
/* @__PURE__ */ f.jsx(
|
|
5167
|
-
|
|
5193
|
+
la,
|
|
5168
5194
|
{
|
|
5169
5195
|
position: A.position,
|
|
5170
5196
|
onValue: I,
|
|
@@ -5172,7 +5198,7 @@ function Ra({
|
|
|
5172
5198
|
max: O,
|
|
5173
5199
|
min: x,
|
|
5174
5200
|
onOpen: T,
|
|
5175
|
-
className:
|
|
5201
|
+
className: v
|
|
5176
5202
|
},
|
|
5177
5203
|
(/* @__PURE__ */ new Date()).getTime()
|
|
5178
5204
|
),
|
|
@@ -5180,16 +5206,16 @@ function Ra({
|
|
|
5180
5206
|
)
|
|
5181
5207
|
] });
|
|
5182
5208
|
}
|
|
5183
|
-
const
|
|
5184
|
-
date:
|
|
5185
|
-
onValue:
|
|
5209
|
+
const la = ({
|
|
5210
|
+
date: a,
|
|
5211
|
+
onValue: i,
|
|
5186
5212
|
position: c,
|
|
5187
5213
|
max: u,
|
|
5188
|
-
min:
|
|
5214
|
+
min: v,
|
|
5189
5215
|
className: C,
|
|
5190
5216
|
onOpen: O
|
|
5191
5217
|
}) => {
|
|
5192
|
-
let x = /* @__PURE__ */ new Date(), s = new Date(
|
|
5218
|
+
let x = /* @__PURE__ */ new Date(), s = new Date(a), h = {
|
|
5193
5219
|
y: parseInt(x.getFullYear()),
|
|
5194
5220
|
d: parseInt(x.getDate()),
|
|
5195
5221
|
m: parseInt(x.getMonth()) + 1
|
|
@@ -5197,11 +5223,11 @@ const sa = ({
|
|
|
5197
5223
|
y: parseInt(s.getFullYear()),
|
|
5198
5224
|
d: parseInt(s.getDate()),
|
|
5199
5225
|
m: parseInt(s.getMonth()) + 1
|
|
5200
|
-
}, [d, k] = K.useState({ y: o.y, m: o.m }), S = (
|
|
5201
|
-
let b =
|
|
5226
|
+
}, [d, k] = K.useState({ y: o.y, m: o.m }), S = (g) => {
|
|
5227
|
+
let b = g.getDay();
|
|
5202
5228
|
return b === 0 && (b = 7), b - 1;
|
|
5203
5229
|
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, $ = new Date(d.y, A), T = [];
|
|
5204
|
-
for (let
|
|
5230
|
+
for (let g = 0; g < S($); g++)
|
|
5205
5231
|
T.push(0);
|
|
5206
5232
|
for (; $.getMonth() === A; )
|
|
5207
5233
|
T.push($.getDate()), $.setDate($.getDate() + 1);
|
|
@@ -5211,21 +5237,21 @@ const sa = ({
|
|
|
5211
5237
|
L(d.m + 1, d.y);
|
|
5212
5238
|
}, q = () => {
|
|
5213
5239
|
L(d.m - 1, d.y);
|
|
5214
|
-
}, Y = (
|
|
5215
|
-
|
|
5216
|
-
d.y + "-" + Yt(2, d.m) + "-" + Yt(2,
|
|
5240
|
+
}, Y = (g) => {
|
|
5241
|
+
i(
|
|
5242
|
+
d.y + "-" + Yt(2, d.m) + "-" + Yt(2, g)
|
|
5217
5243
|
), p();
|
|
5218
|
-
}, L = (
|
|
5219
|
-
b =
|
|
5244
|
+
}, L = (g, b) => {
|
|
5245
|
+
b = g > 12 ? b + 1 : g < 1 ? b - 1 : b, g = g > 12 ? 1 : g < 1 ? 12 : g, k({ y: b, m: g });
|
|
5220
5246
|
};
|
|
5221
|
-
const U = (
|
|
5247
|
+
const U = (g) => h.y === d.y && h.m === d.m && h.d === g ? { "data-active": "true" } : {}, E = (g) => o.y === d.y && o.m === d.m && o.d === g ? { "data-current": "true" } : {}, P = (g) => {
|
|
5222
5248
|
let b = !0;
|
|
5223
5249
|
if (u) {
|
|
5224
|
-
let M = u.getTime(), G = new Date(d.y, d.m - 1,
|
|
5250
|
+
let M = u.getTime(), G = new Date(d.y, d.m - 1, g).getTime();
|
|
5225
5251
|
M < G && (b = !1);
|
|
5226
5252
|
}
|
|
5227
|
-
if (
|
|
5228
|
-
let M =
|
|
5253
|
+
if (v) {
|
|
5254
|
+
let M = v.getTime(), G = new Date(d.y, d.m - 1, g).getTime();
|
|
5229
5255
|
M > G && (b = !1);
|
|
5230
5256
|
}
|
|
5231
5257
|
return b;
|
|
@@ -5255,7 +5281,7 @@ const sa = ({
|
|
|
5255
5281
|
}
|
|
5256
5282
|
) }),
|
|
5257
5283
|
/* @__PURE__ */ f.jsxs("h2", { children: [
|
|
5258
|
-
|
|
5284
|
+
ca(d.m).name,
|
|
5259
5285
|
" ",
|
|
5260
5286
|
d.y
|
|
5261
5287
|
] }),
|
|
@@ -5272,24 +5298,24 @@ const sa = ({
|
|
|
5272
5298
|
) })
|
|
5273
5299
|
] }),
|
|
5274
5300
|
/* @__PURE__ */ f.jsxs("div", { "grid-calendar": "", children: [
|
|
5275
|
-
N.map((
|
|
5276
|
-
T.map((
|
|
5301
|
+
N.map((g, b) => /* @__PURE__ */ f.jsx("p", { children: g }, "v" + b)),
|
|
5302
|
+
T.map((g, b) => /* @__PURE__ */ f.jsx("span", { children: g !== 0 && P(g) ? /* @__PURE__ */ f.jsx(
|
|
5277
5303
|
"b",
|
|
5278
5304
|
{
|
|
5279
|
-
...U(
|
|
5280
|
-
...E(
|
|
5281
|
-
onClick: () => Y(
|
|
5282
|
-
children:
|
|
5305
|
+
...U(g),
|
|
5306
|
+
...E(g),
|
|
5307
|
+
onClick: () => Y(g),
|
|
5308
|
+
children: g
|
|
5283
5309
|
}
|
|
5284
|
-
) : /* @__PURE__ */ f.jsx("p", { ...U(
|
|
5310
|
+
) : /* @__PURE__ */ f.jsx("p", { ...U(g), ...E(g), children: g !== 0 ? g : "" }) }, b))
|
|
5285
5311
|
] })
|
|
5286
5312
|
]
|
|
5287
5313
|
}
|
|
5288
5314
|
)
|
|
5289
5315
|
] });
|
|
5290
5316
|
};
|
|
5291
|
-
function
|
|
5292
|
-
return
|
|
5317
|
+
function ca(a) {
|
|
5318
|
+
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
5293
5319
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5294
5320
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5295
5321
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5302,56 +5328,56 @@ function la(n) {
|
|
|
5302
5328
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5303
5329
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5304
5330
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5305
|
-
}[
|
|
5331
|
+
}[a];
|
|
5306
5332
|
}
|
|
5307
|
-
function Yt(
|
|
5308
|
-
let c =
|
|
5309
|
-
for (; c.length <
|
|
5333
|
+
function Yt(a, i) {
|
|
5334
|
+
let c = i + "";
|
|
5335
|
+
for (; c.length < a; ) c = "0" + c;
|
|
5310
5336
|
return c;
|
|
5311
5337
|
}
|
|
5312
|
-
function
|
|
5313
|
-
|
|
5338
|
+
function ua(a, i) {
|
|
5339
|
+
i === void 0 ? (i = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
5314
5340
|
let c = {
|
|
5315
|
-
yyyy:
|
|
5316
|
-
yy: ("" +
|
|
5317
|
-
mm: ("0" + (
|
|
5318
|
-
dd: ("0" +
|
|
5319
|
-
HH: ("0" +
|
|
5320
|
-
MM: ("0" +
|
|
5321
|
-
SS: ("0" +
|
|
5341
|
+
yyyy: a.getFullYear(),
|
|
5342
|
+
yy: ("" + a.getFullYear()).slice(-2),
|
|
5343
|
+
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
5344
|
+
dd: ("0" + a.getDate()).slice(-2),
|
|
5345
|
+
HH: ("0" + a.getHours()).slice(-2),
|
|
5346
|
+
MM: ("0" + a.getMinutes()).slice(-2),
|
|
5347
|
+
SS: ("0" + a.getSeconds()).slice(-2),
|
|
5322
5348
|
__: " ",
|
|
5323
5349
|
_: " "
|
|
5324
5350
|
};
|
|
5325
5351
|
for (const u in c)
|
|
5326
|
-
|
|
5327
|
-
return
|
|
5352
|
+
i = i.replace(u, c[u]);
|
|
5353
|
+
return i;
|
|
5328
5354
|
}
|
|
5329
|
-
function
|
|
5330
|
-
value:
|
|
5331
|
-
onValue:
|
|
5355
|
+
function Oa({
|
|
5356
|
+
value: a,
|
|
5357
|
+
onValue: i,
|
|
5332
5358
|
name: c,
|
|
5333
5359
|
error: u,
|
|
5334
|
-
icon:
|
|
5360
|
+
icon: v,
|
|
5335
5361
|
edit: C = !0,
|
|
5336
5362
|
active: O = !0,
|
|
5337
5363
|
title: x,
|
|
5338
5364
|
placeholder: s = "",
|
|
5339
5365
|
className: h
|
|
5340
5366
|
}) {
|
|
5341
|
-
let [o, d] = K.useState(
|
|
5367
|
+
let [o, d] = K.useState(a);
|
|
5342
5368
|
const k = K.useRef(null), [S, N] = K.useState(!1);
|
|
5343
5369
|
K.useEffect(() => {
|
|
5344
|
-
d(
|
|
5345
|
-
}, [
|
|
5370
|
+
d(a);
|
|
5371
|
+
}, [a]);
|
|
5346
5372
|
let A = (p) => {
|
|
5347
|
-
d(p),
|
|
5373
|
+
d(p), i && i({ value: p, name: c });
|
|
5348
5374
|
}, $ = (p) => {
|
|
5349
5375
|
if (!C || !O) return;
|
|
5350
5376
|
const I = p.target.getBoundingClientRect(), q = I.left, Y = I.top;
|
|
5351
5377
|
k.position = { x: q, y: Y }, N(!0);
|
|
5352
5378
|
};
|
|
5353
5379
|
const T = {};
|
|
5354
|
-
return s && (T.placeholder = s),
|
|
5380
|
+
return s && (T.placeholder = s), v || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
5355
5381
|
/* @__PURE__ */ f.jsxs(
|
|
5356
5382
|
"dl",
|
|
5357
5383
|
{
|
|
@@ -5365,7 +5391,7 @@ function Ea({
|
|
|
5365
5391
|
onClick: $,
|
|
5366
5392
|
...T,
|
|
5367
5393
|
className: [z.f, z.w].join(" "),
|
|
5368
|
-
children:
|
|
5394
|
+
children: fa(o, "mm.yyyy")
|
|
5369
5395
|
}
|
|
5370
5396
|
),
|
|
5371
5397
|
u && /* @__PURE__ */ f.jsx("em", { children: u })
|
|
@@ -5374,7 +5400,7 @@ function Ea({
|
|
|
5374
5400
|
),
|
|
5375
5401
|
S && It(
|
|
5376
5402
|
/* @__PURE__ */ f.jsx(
|
|
5377
|
-
|
|
5403
|
+
da,
|
|
5378
5404
|
{
|
|
5379
5405
|
position: k.position,
|
|
5380
5406
|
onValue: A,
|
|
@@ -5387,21 +5413,21 @@ function Ea({
|
|
|
5387
5413
|
)
|
|
5388
5414
|
] });
|
|
5389
5415
|
}
|
|
5390
|
-
const
|
|
5391
|
-
let
|
|
5392
|
-
y: parseInt(
|
|
5393
|
-
m: parseInt(
|
|
5416
|
+
const da = ({ onOpen: a, date: i, onValue: c, position: u }) => {
|
|
5417
|
+
let v = /* @__PURE__ */ new Date(), C = new Date(i), O = {
|
|
5418
|
+
y: parseInt(v.getFullYear()),
|
|
5419
|
+
m: parseInt(v.getMonth()) + 1
|
|
5394
5420
|
}, x = {
|
|
5395
5421
|
y: parseInt(C.getFullYear()),
|
|
5396
5422
|
m: parseInt(C.getMonth()) + 1
|
|
5397
5423
|
}, [s, h] = K.useState(x.y), o = () => {
|
|
5398
|
-
|
|
5424
|
+
a(!1);
|
|
5399
5425
|
}, d = () => {
|
|
5400
5426
|
h(s + 1);
|
|
5401
5427
|
}, k = () => {
|
|
5402
5428
|
h(s - 1);
|
|
5403
5429
|
}, S = (p) => {
|
|
5404
|
-
c(s + "-" +
|
|
5430
|
+
c(s + "-" + ma(2, p)), o();
|
|
5405
5431
|
}, N = (p) => O.y === x.y && O.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, I) => I + 1), $ = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, T = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5406
5432
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
5407
5433
|
/* @__PURE__ */ f.jsx("div", { className: Rt.o, onClick: o }),
|
|
@@ -5438,37 +5464,37 @@ const ua = ({ onOpen: n, date: _, onValue: c, position: u }) => {
|
|
|
5438
5464
|
S(p);
|
|
5439
5465
|
},
|
|
5440
5466
|
color: N(p),
|
|
5441
|
-
children: /* @__PURE__ */ f.jsx("b", { children:
|
|
5467
|
+
children: /* @__PURE__ */ f.jsx("b", { children: pa(p).abc })
|
|
5442
5468
|
},
|
|
5443
5469
|
I
|
|
5444
5470
|
)) })
|
|
5445
5471
|
] })
|
|
5446
5472
|
] });
|
|
5447
5473
|
};
|
|
5448
|
-
function
|
|
5449
|
-
|
|
5474
|
+
function fa(a, i) {
|
|
5475
|
+
i === void 0 ? (i = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
5450
5476
|
let c = {
|
|
5451
|
-
yyyy:
|
|
5452
|
-
yy: ("" +
|
|
5453
|
-
mm: ("0" + (
|
|
5454
|
-
dd: ("0" +
|
|
5455
|
-
HH: ("0" +
|
|
5456
|
-
MM: ("0" +
|
|
5457
|
-
SS: ("0" +
|
|
5477
|
+
yyyy: a.getFullYear(),
|
|
5478
|
+
yy: ("" + a.getFullYear()).slice(-2),
|
|
5479
|
+
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
5480
|
+
dd: ("0" + a.getDate()).slice(-2),
|
|
5481
|
+
HH: ("0" + a.getHours()).slice(-2),
|
|
5482
|
+
MM: ("0" + a.getMinutes()).slice(-2),
|
|
5483
|
+
SS: ("0" + a.getSeconds()).slice(-2),
|
|
5458
5484
|
__: " ",
|
|
5459
5485
|
_: " "
|
|
5460
5486
|
};
|
|
5461
5487
|
for (const u in c)
|
|
5462
|
-
|
|
5463
|
-
return
|
|
5488
|
+
i = i.replace(u, c[u]);
|
|
5489
|
+
return i;
|
|
5464
5490
|
}
|
|
5465
|
-
function
|
|
5466
|
-
let c =
|
|
5467
|
-
for (; c.length <
|
|
5491
|
+
function ma(a, i) {
|
|
5492
|
+
let c = i + "";
|
|
5493
|
+
for (; c.length < a; ) c = "0" + c;
|
|
5468
5494
|
return c;
|
|
5469
5495
|
}
|
|
5470
|
-
function
|
|
5471
|
-
return
|
|
5496
|
+
function pa(a) {
|
|
5497
|
+
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
5472
5498
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5473
5499
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5474
5500
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5481,14 +5507,14 @@ function ma(n) {
|
|
|
5481
5507
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5482
5508
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5483
5509
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5484
|
-
}[
|
|
5510
|
+
}[a];
|
|
5485
5511
|
}
|
|
5486
|
-
function
|
|
5487
|
-
value:
|
|
5488
|
-
onValue:
|
|
5512
|
+
function Ta({
|
|
5513
|
+
value: a,
|
|
5514
|
+
onValue: i,
|
|
5489
5515
|
name: c,
|
|
5490
5516
|
placeholder: u = "",
|
|
5491
|
-
title:
|
|
5517
|
+
title: v = "",
|
|
5492
5518
|
error: C = "",
|
|
5493
5519
|
hide: O = !1,
|
|
5494
5520
|
edit: x = !0,
|
|
@@ -5502,32 +5528,32 @@ function Oa({
|
|
|
5502
5528
|
className: A = "",
|
|
5503
5529
|
isClear: $ = !1
|
|
5504
5530
|
}) {
|
|
5505
|
-
let T = !!(O && (
|
|
5531
|
+
let T = !!(O && (a === "" || a === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), I = (R, g) => {
|
|
5506
5532
|
let b = document.createRange(), M = window.getSelection();
|
|
5507
|
-
b.setStart(
|
|
5533
|
+
b.setStart(g.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), g.focus();
|
|
5508
5534
|
}, q = (R) => {
|
|
5509
|
-
|
|
5535
|
+
i == null || i({
|
|
5510
5536
|
value: p(R.target.textContent) * d,
|
|
5511
5537
|
name: c
|
|
5512
5538
|
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && I(R.target.textContent.length, R.target);
|
|
5513
5539
|
}, Y = (R) => {
|
|
5514
|
-
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }),
|
|
5540
|
+
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }), i == null || i({
|
|
5515
5541
|
value: p(R.target.textContent) * d,
|
|
5516
5542
|
name: c
|
|
5517
5543
|
}), R.target.textContent = Gt(R.target.textContent);
|
|
5518
5544
|
}, L = (R) => {
|
|
5519
5545
|
R.target.textContent = p(R.target.textContent);
|
|
5520
5546
|
}, U = (R) => {
|
|
5521
|
-
R.currentTarget.previousElementSibling.textContent = "",
|
|
5547
|
+
R.currentTarget.previousElementSibling.textContent = "", i == null || i({
|
|
5522
5548
|
value: 0,
|
|
5523
5549
|
name: c
|
|
5524
5550
|
});
|
|
5525
5551
|
}, E = (R) => {
|
|
5526
5552
|
R.key === "Enter" && R.preventDefault();
|
|
5527
5553
|
}, P = (R) => {
|
|
5528
|
-
R.preventDefault(), navigator.clipboard.readText().then((
|
|
5529
|
-
|
|
5530
|
-
}).catch((
|
|
5554
|
+
R.preventDefault(), navigator.clipboard.readText().then((g) => {
|
|
5555
|
+
g = g.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, g);
|
|
5556
|
+
}).catch((g) => {
|
|
5531
5557
|
});
|
|
5532
5558
|
};
|
|
5533
5559
|
if (!(x && s) && !o || !(x && s) && T) return "";
|
|
@@ -5538,7 +5564,7 @@ function Oa({
|
|
|
5538
5564
|
"data-field": "date",
|
|
5539
5565
|
className: [z.l, A].filter((R) => R !== void 0).join(" "),
|
|
5540
5566
|
children: [
|
|
5541
|
-
|
|
5567
|
+
v ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: v }) : "",
|
|
5542
5568
|
/* @__PURE__ */ f.jsx(
|
|
5543
5569
|
"dd",
|
|
5544
5570
|
{
|
|
@@ -5552,7 +5578,7 @@ function Oa({
|
|
|
5552
5578
|
contentEditable: x && s ? te.ContentEditable : "false",
|
|
5553
5579
|
suppressContentEditableWarning: !0,
|
|
5554
5580
|
"data-after": h,
|
|
5555
|
-
children: !u ||
|
|
5581
|
+
children: !u || a ? Gt(a) : ""
|
|
5556
5582
|
}
|
|
5557
5583
|
),
|
|
5558
5584
|
$ && /* @__PURE__ */ f.jsx("svg", { "action-type": "delete", onClick: U, viewBox: "0 0 24 24", children: /* @__PURE__ */ f.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
|
|
@@ -5561,33 +5587,33 @@ function Oa({
|
|
|
5561
5587
|
}
|
|
5562
5588
|
);
|
|
5563
5589
|
}
|
|
5564
|
-
function Gt(
|
|
5565
|
-
return parseFloat(
|
|
5590
|
+
function Gt(a, i) {
|
|
5591
|
+
return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5566
5592
|
}
|
|
5567
5593
|
const he = {};
|
|
5568
|
-
function
|
|
5569
|
-
const [
|
|
5570
|
-
return he.u = (
|
|
5571
|
-
u.current = { ...u.current, [
|
|
5572
|
-
}, he.n = (
|
|
5573
|
-
u.current =
|
|
5594
|
+
function Da(a) {
|
|
5595
|
+
const [i, c] = K.useState({}), u = K.useRef(a);
|
|
5596
|
+
return he.u = (v) => {
|
|
5597
|
+
u.current = { ...u.current, [v.name]: v.value };
|
|
5598
|
+
}, he.n = (v) => {
|
|
5599
|
+
u.current = v, c(Date.now());
|
|
5574
5600
|
}, he.r = () => {
|
|
5575
5601
|
c(Date.now());
|
|
5576
5602
|
}, [u.current, he.n];
|
|
5577
5603
|
}
|
|
5578
|
-
function
|
|
5579
|
-
he.u(
|
|
5604
|
+
function Pa(a) {
|
|
5605
|
+
he.u(a), a.reload && he.r();
|
|
5580
5606
|
}
|
|
5581
|
-
function
|
|
5607
|
+
function Na() {
|
|
5582
5608
|
he.r && he.r();
|
|
5583
5609
|
}
|
|
5584
|
-
function
|
|
5585
|
-
const [
|
|
5586
|
-
return he.u = (
|
|
5587
|
-
u.current = { ...u.current, [
|
|
5588
|
-
}, he.n = (
|
|
5589
|
-
Object.keys(
|
|
5590
|
-
u.current[C] =
|
|
5610
|
+
function Fa(a) {
|
|
5611
|
+
const [i, c] = K.useState({}), u = K.useRef(a);
|
|
5612
|
+
return he.u = (v) => {
|
|
5613
|
+
u.current = { ...u.current, [v.name]: v.value };
|
|
5614
|
+
}, he.n = (v) => {
|
|
5615
|
+
Object.keys(v).length > 0 ? Object.keys(v).forEach((C) => {
|
|
5616
|
+
u.current[C] = v[C];
|
|
5591
5617
|
}) : u.current = {}, c(Date.now());
|
|
5592
5618
|
}, he.r = () => {
|
|
5593
5619
|
c(Date.now());
|
|
@@ -5599,21 +5625,21 @@ function Ft() {
|
|
|
5599
5625
|
Ft().elcrm || (Ft().elcrm = {});
|
|
5600
5626
|
Object.assign(Ft().elcrm, { form: Zt.version });
|
|
5601
5627
|
export {
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5628
|
+
Ea as Date,
|
|
5629
|
+
Ca as Mask,
|
|
5630
|
+
wa as Modal,
|
|
5631
|
+
Ta as Money,
|
|
5632
|
+
Oa as Month,
|
|
5633
|
+
Sa as Note,
|
|
5634
|
+
xa as Number,
|
|
5635
|
+
ba as Options,
|
|
5636
|
+
ja as Password,
|
|
5637
|
+
Ra as Phone,
|
|
5638
|
+
ga as Progress,
|
|
5639
|
+
ka as Select,
|
|
5640
|
+
ha as String,
|
|
5641
|
+
Na as runReload,
|
|
5642
|
+
Pa as setValue,
|
|
5643
|
+
Da as useData,
|
|
5644
|
+
Fa as useError
|
|
5619
5645
|
};
|