@elcrm/form 0.0.14 → 0.0.15
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.es.js +466 -466
- package/dist/index.umd.js +10 -10
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -14,7 +14,7 @@ var Mt;
|
|
|
14
14
|
function qt() {
|
|
15
15
|
if (Mt) return pt;
|
|
16
16
|
Mt = 1;
|
|
17
|
-
var
|
|
17
|
+
var a = K, s = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, k = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
18
|
function O(S, l, p) {
|
|
19
19
|
var o, h = {}, g = null, D = null;
|
|
20
20
|
p !== void 0 && (g = "" + p), l.key !== void 0 && (g = "" + l.key), l.ref !== void 0 && (D = l.ref);
|
|
@@ -37,24 +37,24 @@ var mt = {};
|
|
|
37
37
|
var It;
|
|
38
38
|
function Ht() {
|
|
39
39
|
return It || (It = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var
|
|
41
|
-
function
|
|
40
|
+
var a = K, s = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), S = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), M = Symbol.iterator, W = "@@iterator";
|
|
41
|
+
function I(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
44
|
var t = M && e[M] || e[W];
|
|
45
45
|
return typeof t == "function" ? t : null;
|
|
46
46
|
}
|
|
47
|
-
var R =
|
|
47
|
+
var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
48
|
function v(e) {
|
|
49
49
|
{
|
|
50
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
51
|
-
r[
|
|
50
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
51
|
+
r[n - 1] = arguments[n];
|
|
52
52
|
B("error", e, r);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
function B(e, t, r) {
|
|
56
56
|
{
|
|
57
|
-
var
|
|
57
|
+
var n = R.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
58
58
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
59
59
|
var y = r.map(function(_) {
|
|
60
60
|
return String(_);
|
|
@@ -62,19 +62,19 @@ function Ht() {
|
|
|
62
62
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var Y = !1, z = !1,
|
|
65
|
+
var Y = !1, z = !1, $ = !1, U = !1, N = !1, C;
|
|
66
66
|
C = Symbol.for("react.module.reference");
|
|
67
67
|
function L(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || N || e === k || e === p || e === o || U || e === D || Y || z ||
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || N || e === k || e === p || e === o || U || e === D || Y || z || $ || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === h || e.$$typeof === O || e.$$typeof === S || e.$$typeof === l || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
72
72
|
e.$$typeof === C || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
74
|
function j(e, t, r) {
|
|
75
|
-
var
|
|
76
|
-
if (
|
|
77
|
-
return
|
|
75
|
+
var n = e.displayName;
|
|
76
|
+
if (n)
|
|
77
|
+
return n;
|
|
78
78
|
var f = t.displayName || t.name || "";
|
|
79
79
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
80
80
|
}
|
|
@@ -113,8 +113,8 @@ function Ht() {
|
|
|
113
113
|
case l:
|
|
114
114
|
return j(e, e.render, "ForwardRef");
|
|
115
115
|
case h:
|
|
116
|
-
var
|
|
117
|
-
return
|
|
116
|
+
var n = e.displayName || null;
|
|
117
|
+
return n !== null ? n : m(e.type) || "Memo";
|
|
118
118
|
case g: {
|
|
119
119
|
var f = e, y = f._payload, _ = f._init;
|
|
120
120
|
try {
|
|
@@ -195,27 +195,27 @@ function Ht() {
|
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
197
|
} catch (f) {
|
|
198
|
-
var
|
|
199
|
-
le =
|
|
198
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
+
le = n && n[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
202
|
` + le + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var ce = !1,
|
|
205
|
+
var ce = !1, ae;
|
|
206
206
|
{
|
|
207
207
|
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
-
|
|
208
|
+
ae = new Ue();
|
|
209
209
|
}
|
|
210
210
|
function je(e, t) {
|
|
211
211
|
if (!e || ce)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
|
-
var r =
|
|
214
|
+
var r = ae.get(e);
|
|
215
215
|
if (r !== void 0)
|
|
216
216
|
return r;
|
|
217
217
|
}
|
|
218
|
-
var
|
|
218
|
+
var n;
|
|
219
219
|
ce = !0;
|
|
220
220
|
var f = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
@@ -234,14 +234,14 @@ function Ht() {
|
|
|
234
234
|
try {
|
|
235
235
|
Reflect.construct(_, []);
|
|
236
236
|
} catch (F) {
|
|
237
|
-
|
|
237
|
+
n = F;
|
|
238
238
|
}
|
|
239
239
|
Reflect.construct(e, [], _);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
242
|
_.call();
|
|
243
243
|
} catch (F) {
|
|
244
|
-
|
|
244
|
+
n = F;
|
|
245
245
|
}
|
|
246
246
|
e.call(_.prototype);
|
|
247
247
|
}
|
|
@@ -249,14 +249,14 @@ function Ht() {
|
|
|
249
249
|
try {
|
|
250
250
|
throw Error();
|
|
251
251
|
} catch (F) {
|
|
252
|
-
|
|
252
|
+
n = F;
|
|
253
253
|
}
|
|
254
254
|
e();
|
|
255
255
|
}
|
|
256
256
|
} catch (F) {
|
|
257
|
-
if (F &&
|
|
257
|
+
if (F && n && typeof F.stack == "string") {
|
|
258
258
|
for (var i = F.stack.split(`
|
|
259
|
-
`), P =
|
|
259
|
+
`), P = n.stack.split(`
|
|
260
260
|
`), b = i.length - 1, w = P.length - 1; b >= 1 && w >= 0 && i[b] !== P[w]; )
|
|
261
261
|
w--;
|
|
262
262
|
for (; b >= 1 && w >= 0; b--, w--)
|
|
@@ -266,7 +266,7 @@ function Ht() {
|
|
|
266
266
|
if (b--, w--, w < 0 || i[b] !== P[w]) {
|
|
267
267
|
var A = `
|
|
268
268
|
` + i[b].replace(" at new ", " at ");
|
|
269
|
-
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
269
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, A), A;
|
|
270
270
|
}
|
|
271
271
|
while (b >= 1 && w >= 0);
|
|
272
272
|
break;
|
|
@@ -276,7 +276,7 @@ function Ht() {
|
|
|
276
276
|
ce = !1, se.current = y, We(), Error.prepareStackTrace = f;
|
|
277
277
|
}
|
|
278
278
|
var Z = e ? e.displayName || e.name : "", H = Z ? re(Z) : "";
|
|
279
|
-
return typeof e == "function" &&
|
|
279
|
+
return typeof e == "function" && ae.set(e, H), H;
|
|
280
280
|
}
|
|
281
281
|
function Ke(e, t, r) {
|
|
282
282
|
return je(e, !1);
|
|
@@ -285,7 +285,7 @@ function Ht() {
|
|
|
285
285
|
var t = e.prototype;
|
|
286
286
|
return !!(t && t.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function ne(e, t, r) {
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
@@ -303,11 +303,11 @@ function Ht() {
|
|
|
303
303
|
case l:
|
|
304
304
|
return Ke(e.render);
|
|
305
305
|
case h:
|
|
306
|
-
return
|
|
306
|
+
return ne(e.type, t, r);
|
|
307
307
|
case g: {
|
|
308
|
-
var
|
|
308
|
+
var n = e, f = n._payload, y = n._init;
|
|
309
309
|
try {
|
|
310
|
-
return
|
|
310
|
+
return ne(y(f), t, r);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
@@ -317,12 +317,12 @@ function Ht() {
|
|
|
317
317
|
var Q = Object.prototype.hasOwnProperty, xe = {}, Se = R.ReactDebugCurrentFrame;
|
|
318
318
|
function oe(e) {
|
|
319
319
|
if (e) {
|
|
320
|
-
var t = e._owner, r =
|
|
320
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
321
321
|
Se.setExtraStackFrame(r);
|
|
322
322
|
} else
|
|
323
323
|
Se.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function ze(e, t, r,
|
|
325
|
+
function ze(e, t, r, n, f) {
|
|
326
326
|
{
|
|
327
327
|
var y = Function.call.bind(Q);
|
|
328
328
|
for (var _ in e)
|
|
@@ -330,14 +330,14 @@ function Ht() {
|
|
|
330
330
|
var i = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[_] != "function") {
|
|
333
|
-
var P = Error((
|
|
333
|
+
var P = Error((n || "React class") + ": " + r + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
334
|
throw P.name = "Invariant Violation", P;
|
|
335
335
|
}
|
|
336
|
-
i = e[_](t, _,
|
|
336
|
+
i = e[_](t, _, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
337
|
} catch (b) {
|
|
338
338
|
i = b;
|
|
339
339
|
}
|
|
340
|
-
i && !(i instanceof Error) && (oe(f), v("%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).",
|
|
340
|
+
i && !(i instanceof Error) && (oe(f), v("%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, _, typeof i), oe(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, oe(f), v("Failed %s type: %s", r, i.message), oe(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
@@ -412,7 +412,7 @@ function Ht() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var tt = function(e, t, r,
|
|
415
|
+
var tt = function(e, t, r, n, f, y, _) {
|
|
416
416
|
var i = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: s,
|
|
@@ -433,7 +433,7 @@ function Ht() {
|
|
|
433
433
|
configurable: !1,
|
|
434
434
|
enumerable: !1,
|
|
435
435
|
writable: !1,
|
|
436
|
-
value:
|
|
436
|
+
value: n
|
|
437
437
|
}), Object.defineProperty(i, "_source", {
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
@@ -441,7 +441,7 @@ function Ht() {
|
|
|
441
441
|
value: f
|
|
442
442
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
443
443
|
};
|
|
444
|
-
function rt(e, t, r,
|
|
444
|
+
function rt(e, t, r, n, f) {
|
|
445
445
|
{
|
|
446
446
|
var y, _ = {}, i = null, P = null;
|
|
447
447
|
r !== void 0 && (Re(r), i = "" + r), Ve(t) && (Re(t.key), i = "" + t.key), Ze(t) && (P = t.ref, Xe(t, f));
|
|
@@ -456,13 +456,13 @@ function Ht() {
|
|
|
456
456
|
var w = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
457
|
i && Qe(_, w), P && et(_, w);
|
|
458
458
|
}
|
|
459
|
-
return tt(e, i, P, f,
|
|
459
|
+
return tt(e, i, P, f, n, Ee.current, _);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
var de = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
463
463
|
function J(e) {
|
|
464
464
|
if (e) {
|
|
465
|
-
var t = e._owner, r =
|
|
465
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
466
466
|
De.setExtraStackFrame(r);
|
|
467
467
|
} else
|
|
468
468
|
De.setExtraStackFrame(null);
|
|
@@ -484,11 +484,11 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function at(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
490
|
var Ne = {};
|
|
491
|
-
function
|
|
491
|
+
function nt(e) {
|
|
492
492
|
{
|
|
493
493
|
var t = Pe();
|
|
494
494
|
if (!t) {
|
|
@@ -505,12 +505,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var r =
|
|
508
|
+
var r = nt(t);
|
|
509
509
|
if (Ne[r])
|
|
510
510
|
return;
|
|
511
511
|
Ne[r] = !0;
|
|
512
|
-
var
|
|
513
|
-
e && e._owner && e._owner !== de.current && (
|
|
512
|
+
var n = "";
|
|
513
|
+
e && e._owner && e._owner !== de.current && (n = " It was passed a child from " + m(e._owner.type) + "."), J(e), v('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), J(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
function Me(e, t) {
|
|
@@ -519,13 +519,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
519
519
|
return;
|
|
520
520
|
if (ue(e))
|
|
521
521
|
for (var r = 0; r < e.length; r++) {
|
|
522
|
-
var
|
|
523
|
-
pe(
|
|
522
|
+
var n = e[r];
|
|
523
|
+
pe(n) && Fe(n, t);
|
|
524
524
|
}
|
|
525
525
|
else if (pe(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var f =
|
|
528
|
+
var f = I(e);
|
|
529
529
|
if (typeof f == "function" && f !== e.entries)
|
|
530
530
|
for (var y = f.call(e), _; !(_ = y.next()).done; )
|
|
531
531
|
pe(_.value) && Fe(_.value, t);
|
|
@@ -547,8 +547,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
549
|
if (r) {
|
|
550
|
-
var
|
|
551
|
-
ze(r, e.props, "prop",
|
|
550
|
+
var n = m(t);
|
|
551
|
+
ze(r, e.props, "prop", n, e);
|
|
552
552
|
} else if (t.PropTypes !== void 0 && !fe) {
|
|
553
553
|
fe = !0;
|
|
554
554
|
var f = m(t);
|
|
@@ -560,9 +560,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
560
560
|
function it(e) {
|
|
561
561
|
{
|
|
562
562
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
563
|
-
var
|
|
564
|
-
if (
|
|
565
|
-
J(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
563
|
+
var n = t[r];
|
|
564
|
+
if (n !== "children" && n !== "key") {
|
|
565
|
+
J(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
566
566
|
break;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
@@ -570,13 +570,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
var Ie = {};
|
|
573
|
-
function $e(e, t, r,
|
|
573
|
+
function $e(e, t, r, n, f, y) {
|
|
574
574
|
{
|
|
575
575
|
var _ = L(e);
|
|
576
576
|
if (!_) {
|
|
577
577
|
var i = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
|
-
var P =
|
|
579
|
+
var P = at();
|
|
580
580
|
P ? i += P : i += Pe();
|
|
581
581
|
var b;
|
|
582
582
|
e === null ? b = "null" : ue(e) ? b = "array" : e !== void 0 && e.$$typeof === s ? (b = "<" + (m(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, i);
|
|
@@ -587,7 +587,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
587
587
|
if (_) {
|
|
588
588
|
var A = t.children;
|
|
589
589
|
if (A !== void 0)
|
|
590
|
-
if (
|
|
590
|
+
if (n)
|
|
591
591
|
if (ue(A)) {
|
|
592
592
|
for (var Z = 0; Z < A.length; Z++)
|
|
593
593
|
Me(A[Z], e);
|
|
@@ -626,7 +626,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
626
626
|
}
|
|
627
627
|
process.env.NODE_ENV === "production" ? Tt.exports = qt() : Tt.exports = Ht();
|
|
628
628
|
var c = Tt.exports;
|
|
629
|
-
function
|
|
629
|
+
function oa({ name: a, value: s, title: u, style: d, className: k }) {
|
|
630
630
|
let x = {
|
|
631
631
|
field: "progress"
|
|
632
632
|
};
|
|
@@ -636,21 +636,21 @@ function on({ name: n, value: s, title: u, style: d, className: k }) {
|
|
|
636
636
|
] });
|
|
637
637
|
}
|
|
638
638
|
let te = {};
|
|
639
|
-
te.KeyDown = (
|
|
640
|
-
|
|
639
|
+
te.KeyDown = (a) => {
|
|
640
|
+
a.key === "Enter" && a.preventDefault();
|
|
641
641
|
};
|
|
642
|
-
te.PasteOne = (
|
|
643
|
-
|
|
642
|
+
te.PasteOne = (a) => {
|
|
643
|
+
a.preventDefault(), navigator.clipboard.readText().then((s) => {
|
|
644
644
|
s = s.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, s);
|
|
645
645
|
}).catch((s) => {
|
|
646
646
|
});
|
|
647
647
|
};
|
|
648
|
-
te.Paste = (
|
|
648
|
+
te.Paste = (a, s) => {
|
|
649
649
|
s.preventDefault(), navigator.clipboard.readText().then((u) => {
|
|
650
|
-
if (
|
|
650
|
+
if (a) {
|
|
651
651
|
let d = s.target.textContent.length;
|
|
652
|
-
if (d >=
|
|
653
|
-
|
|
652
|
+
if (d >= a) return;
|
|
653
|
+
a -= d, u = u.slice(0, a);
|
|
654
654
|
}
|
|
655
655
|
window.document.execCommand(
|
|
656
656
|
"insertText",
|
|
@@ -660,11 +660,11 @@ te.Paste = (n, s) => {
|
|
|
660
660
|
}).catch((u) => {
|
|
661
661
|
});
|
|
662
662
|
};
|
|
663
|
-
te.Focus = (
|
|
664
|
-
|
|
663
|
+
te.Focus = (a) => {
|
|
664
|
+
a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
|
|
665
665
|
};
|
|
666
|
-
te.Blur = (
|
|
667
|
-
|
|
666
|
+
te.Blur = (a) => {
|
|
667
|
+
a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
|
|
668
668
|
};
|
|
669
669
|
te.ContentEditable = "plaintext-only";
|
|
670
670
|
var Dt = { exports: {} }, yt = {};
|
|
@@ -681,7 +681,7 @@ var $t;
|
|
|
681
681
|
function Jt() {
|
|
682
682
|
if ($t) return yt;
|
|
683
683
|
$t = 1;
|
|
684
|
-
var
|
|
684
|
+
var a = K, s = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, k = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
685
685
|
function O(S, l, p) {
|
|
686
686
|
var o, h = {}, g = null, D = null;
|
|
687
687
|
p !== void 0 && (g = "" + p), l.key !== void 0 && (g = "" + l.key), l.ref !== void 0 && (D = l.ref);
|
|
@@ -704,24 +704,24 @@ var bt = {};
|
|
|
704
704
|
var At;
|
|
705
705
|
function Zt() {
|
|
706
706
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
707
|
-
var
|
|
708
|
-
function
|
|
707
|
+
var a = K, s = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), S = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), M = Symbol.iterator, W = "@@iterator";
|
|
708
|
+
function I(e) {
|
|
709
709
|
if (e === null || typeof e != "object")
|
|
710
710
|
return null;
|
|
711
711
|
var t = M && e[M] || e[W];
|
|
712
712
|
return typeof t == "function" ? t : null;
|
|
713
713
|
}
|
|
714
|
-
var R =
|
|
714
|
+
var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
715
715
|
function v(e) {
|
|
716
716
|
{
|
|
717
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
718
|
-
r[
|
|
717
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
718
|
+
r[n - 1] = arguments[n];
|
|
719
719
|
B("error", e, r);
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
722
|
function B(e, t, r) {
|
|
723
723
|
{
|
|
724
|
-
var
|
|
724
|
+
var n = R.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
725
725
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
726
726
|
var y = r.map(function(_) {
|
|
727
727
|
return String(_);
|
|
@@ -729,19 +729,19 @@ function Zt() {
|
|
|
729
729
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
|
-
var Y = !1, z = !1,
|
|
732
|
+
var Y = !1, z = !1, $ = !1, U = !1, N = !1, C;
|
|
733
733
|
C = Symbol.for("react.module.reference");
|
|
734
734
|
function L(e) {
|
|
735
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || N || e === k || e === p || e === o || U || e === D || Y || z ||
|
|
735
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || N || e === k || e === p || e === o || U || e === D || Y || z || $ || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === h || e.$$typeof === O || e.$$typeof === S || e.$$typeof === l || // This needs to include all possible module reference object
|
|
736
736
|
// types supported by any Flight configuration anywhere since
|
|
737
737
|
// we don't know which Flight build this will end up being used
|
|
738
738
|
// with.
|
|
739
739
|
e.$$typeof === C || e.getModuleId !== void 0));
|
|
740
740
|
}
|
|
741
741
|
function j(e, t, r) {
|
|
742
|
-
var
|
|
743
|
-
if (
|
|
744
|
-
return
|
|
742
|
+
var n = e.displayName;
|
|
743
|
+
if (n)
|
|
744
|
+
return n;
|
|
745
745
|
var f = t.displayName || t.name || "";
|
|
746
746
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
747
747
|
}
|
|
@@ -780,8 +780,8 @@ function Zt() {
|
|
|
780
780
|
case l:
|
|
781
781
|
return j(e, e.render, "ForwardRef");
|
|
782
782
|
case h:
|
|
783
|
-
var
|
|
784
|
-
return
|
|
783
|
+
var n = e.displayName || null;
|
|
784
|
+
return n !== null ? n : m(e.type) || "Memo";
|
|
785
785
|
case g: {
|
|
786
786
|
var f = e, y = f._payload, _ = f._init;
|
|
787
787
|
try {
|
|
@@ -862,27 +862,27 @@ function Zt() {
|
|
|
862
862
|
try {
|
|
863
863
|
throw Error();
|
|
864
864
|
} catch (f) {
|
|
865
|
-
var
|
|
866
|
-
le =
|
|
865
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
866
|
+
le = n && n[1] || "";
|
|
867
867
|
}
|
|
868
868
|
return `
|
|
869
869
|
` + le + e;
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
|
-
var ce = !1,
|
|
872
|
+
var ce = !1, ae;
|
|
873
873
|
{
|
|
874
874
|
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
875
|
-
|
|
875
|
+
ae = new Ue();
|
|
876
876
|
}
|
|
877
877
|
function je(e, t) {
|
|
878
878
|
if (!e || ce)
|
|
879
879
|
return "";
|
|
880
880
|
{
|
|
881
|
-
var r =
|
|
881
|
+
var r = ae.get(e);
|
|
882
882
|
if (r !== void 0)
|
|
883
883
|
return r;
|
|
884
884
|
}
|
|
885
|
-
var
|
|
885
|
+
var n;
|
|
886
886
|
ce = !0;
|
|
887
887
|
var f = Error.prepareStackTrace;
|
|
888
888
|
Error.prepareStackTrace = void 0;
|
|
@@ -901,14 +901,14 @@ function Zt() {
|
|
|
901
901
|
try {
|
|
902
902
|
Reflect.construct(_, []);
|
|
903
903
|
} catch (F) {
|
|
904
|
-
|
|
904
|
+
n = F;
|
|
905
905
|
}
|
|
906
906
|
Reflect.construct(e, [], _);
|
|
907
907
|
} else {
|
|
908
908
|
try {
|
|
909
909
|
_.call();
|
|
910
910
|
} catch (F) {
|
|
911
|
-
|
|
911
|
+
n = F;
|
|
912
912
|
}
|
|
913
913
|
e.call(_.prototype);
|
|
914
914
|
}
|
|
@@ -916,14 +916,14 @@ function Zt() {
|
|
|
916
916
|
try {
|
|
917
917
|
throw Error();
|
|
918
918
|
} catch (F) {
|
|
919
|
-
|
|
919
|
+
n = F;
|
|
920
920
|
}
|
|
921
921
|
e();
|
|
922
922
|
}
|
|
923
923
|
} catch (F) {
|
|
924
|
-
if (F &&
|
|
924
|
+
if (F && n && typeof F.stack == "string") {
|
|
925
925
|
for (var i = F.stack.split(`
|
|
926
|
-
`), P =
|
|
926
|
+
`), P = n.stack.split(`
|
|
927
927
|
`), b = i.length - 1, w = P.length - 1; b >= 1 && w >= 0 && i[b] !== P[w]; )
|
|
928
928
|
w--;
|
|
929
929
|
for (; b >= 1 && w >= 0; b--, w--)
|
|
@@ -933,7 +933,7 @@ function Zt() {
|
|
|
933
933
|
if (b--, w--, w < 0 || i[b] !== P[w]) {
|
|
934
934
|
var A = `
|
|
935
935
|
` + i[b].replace(" at new ", " at ");
|
|
936
|
-
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
936
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, A), A;
|
|
937
937
|
}
|
|
938
938
|
while (b >= 1 && w >= 0);
|
|
939
939
|
break;
|
|
@@ -943,7 +943,7 @@ function Zt() {
|
|
|
943
943
|
ce = !1, se.current = y, We(), Error.prepareStackTrace = f;
|
|
944
944
|
}
|
|
945
945
|
var Z = e ? e.displayName || e.name : "", H = Z ? re(Z) : "";
|
|
946
|
-
return typeof e == "function" &&
|
|
946
|
+
return typeof e == "function" && ae.set(e, H), H;
|
|
947
947
|
}
|
|
948
948
|
function Ke(e, t, r) {
|
|
949
949
|
return je(e, !1);
|
|
@@ -952,7 +952,7 @@ function Zt() {
|
|
|
952
952
|
var t = e.prototype;
|
|
953
953
|
return !!(t && t.isReactComponent);
|
|
954
954
|
}
|
|
955
|
-
function
|
|
955
|
+
function ne(e, t, r) {
|
|
956
956
|
if (e == null)
|
|
957
957
|
return "";
|
|
958
958
|
if (typeof e == "function")
|
|
@@ -970,11 +970,11 @@ function Zt() {
|
|
|
970
970
|
case l:
|
|
971
971
|
return Ke(e.render);
|
|
972
972
|
case h:
|
|
973
|
-
return
|
|
973
|
+
return ne(e.type, t, r);
|
|
974
974
|
case g: {
|
|
975
|
-
var
|
|
975
|
+
var n = e, f = n._payload, y = n._init;
|
|
976
976
|
try {
|
|
977
|
-
return
|
|
977
|
+
return ne(y(f), t, r);
|
|
978
978
|
} catch {
|
|
979
979
|
}
|
|
980
980
|
}
|
|
@@ -984,12 +984,12 @@ function Zt() {
|
|
|
984
984
|
var Q = Object.prototype.hasOwnProperty, xe = {}, Se = R.ReactDebugCurrentFrame;
|
|
985
985
|
function oe(e) {
|
|
986
986
|
if (e) {
|
|
987
|
-
var t = e._owner, r =
|
|
987
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
988
988
|
Se.setExtraStackFrame(r);
|
|
989
989
|
} else
|
|
990
990
|
Se.setExtraStackFrame(null);
|
|
991
991
|
}
|
|
992
|
-
function ze(e, t, r,
|
|
992
|
+
function ze(e, t, r, n, f) {
|
|
993
993
|
{
|
|
994
994
|
var y = Function.call.bind(Q);
|
|
995
995
|
for (var _ in e)
|
|
@@ -997,14 +997,14 @@ function Zt() {
|
|
|
997
997
|
var i = void 0;
|
|
998
998
|
try {
|
|
999
999
|
if (typeof e[_] != "function") {
|
|
1000
|
-
var P = Error((
|
|
1000
|
+
var P = Error((n || "React class") + ": " + r + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1001
1001
|
throw P.name = "Invariant Violation", P;
|
|
1002
1002
|
}
|
|
1003
|
-
i = e[_](t, _,
|
|
1003
|
+
i = e[_](t, _, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1004
1004
|
} catch (b) {
|
|
1005
1005
|
i = b;
|
|
1006
1006
|
}
|
|
1007
|
-
i && !(i instanceof Error) && (oe(f), v("%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).",
|
|
1007
|
+
i && !(i instanceof Error) && (oe(f), v("%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, _, typeof i), oe(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, oe(f), v("Failed %s type: %s", r, i.message), oe(null));
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
1010
|
}
|
|
@@ -1079,7 +1079,7 @@ function Zt() {
|
|
|
1079
1079
|
});
|
|
1080
1080
|
}
|
|
1081
1081
|
}
|
|
1082
|
-
var tt = function(e, t, r,
|
|
1082
|
+
var tt = function(e, t, r, n, f, y, _) {
|
|
1083
1083
|
var i = {
|
|
1084
1084
|
// This tag allows us to uniquely identify this as a React Element
|
|
1085
1085
|
$$typeof: s,
|
|
@@ -1100,7 +1100,7 @@ function Zt() {
|
|
|
1100
1100
|
configurable: !1,
|
|
1101
1101
|
enumerable: !1,
|
|
1102
1102
|
writable: !1,
|
|
1103
|
-
value:
|
|
1103
|
+
value: n
|
|
1104
1104
|
}), Object.defineProperty(i, "_source", {
|
|
1105
1105
|
configurable: !1,
|
|
1106
1106
|
enumerable: !1,
|
|
@@ -1108,7 +1108,7 @@ function Zt() {
|
|
|
1108
1108
|
value: f
|
|
1109
1109
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
1110
1110
|
};
|
|
1111
|
-
function rt(e, t, r,
|
|
1111
|
+
function rt(e, t, r, n, f) {
|
|
1112
1112
|
{
|
|
1113
1113
|
var y, _ = {}, i = null, P = null;
|
|
1114
1114
|
r !== void 0 && (Re(r), i = "" + r), Ve(t) && (Re(t.key), i = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
|
|
@@ -1123,13 +1123,13 @@ function Zt() {
|
|
|
1123
1123
|
var w = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1124
1124
|
i && Qe(_, w), P && et(_, w);
|
|
1125
1125
|
}
|
|
1126
|
-
return tt(e, i, P, f,
|
|
1126
|
+
return tt(e, i, P, f, n, Ee.current, _);
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
1129
|
var de = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
1130
1130
|
function J(e) {
|
|
1131
1131
|
if (e) {
|
|
1132
|
-
var t = e._owner, r =
|
|
1132
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1133
1133
|
De.setExtraStackFrame(r);
|
|
1134
1134
|
} else
|
|
1135
1135
|
De.setExtraStackFrame(null);
|
|
@@ -1151,11 +1151,11 @@ Check the render method of \`` + e + "`.";
|
|
|
1151
1151
|
return "";
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1154
|
+
function at(e) {
|
|
1155
1155
|
return "";
|
|
1156
1156
|
}
|
|
1157
1157
|
var Ne = {};
|
|
1158
|
-
function
|
|
1158
|
+
function nt(e) {
|
|
1159
1159
|
{
|
|
1160
1160
|
var t = Pe();
|
|
1161
1161
|
if (!t) {
|
|
@@ -1172,12 +1172,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1172
1172
|
if (!e._store || e._store.validated || e.key != null)
|
|
1173
1173
|
return;
|
|
1174
1174
|
e._store.validated = !0;
|
|
1175
|
-
var r =
|
|
1175
|
+
var r = nt(t);
|
|
1176
1176
|
if (Ne[r])
|
|
1177
1177
|
return;
|
|
1178
1178
|
Ne[r] = !0;
|
|
1179
|
-
var
|
|
1180
|
-
e && e._owner && e._owner !== de.current && (
|
|
1179
|
+
var n = "";
|
|
1180
|
+
e && e._owner && e._owner !== de.current && (n = " It was passed a child from " + m(e._owner.type) + "."), J(e), v('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), J(null);
|
|
1181
1181
|
}
|
|
1182
1182
|
}
|
|
1183
1183
|
function Me(e, t) {
|
|
@@ -1186,13 +1186,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1186
1186
|
return;
|
|
1187
1187
|
if (ue(e))
|
|
1188
1188
|
for (var r = 0; r < e.length; r++) {
|
|
1189
|
-
var
|
|
1190
|
-
pe(
|
|
1189
|
+
var n = e[r];
|
|
1190
|
+
pe(n) && Fe(n, t);
|
|
1191
1191
|
}
|
|
1192
1192
|
else if (pe(e))
|
|
1193
1193
|
e._store && (e._store.validated = !0);
|
|
1194
1194
|
else if (e) {
|
|
1195
|
-
var f =
|
|
1195
|
+
var f = I(e);
|
|
1196
1196
|
if (typeof f == "function" && f !== e.entries)
|
|
1197
1197
|
for (var y = f.call(e), _; !(_ = y.next()).done; )
|
|
1198
1198
|
pe(_.value) && Fe(_.value, t);
|
|
@@ -1214,8 +1214,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1214
1214
|
else
|
|
1215
1215
|
return;
|
|
1216
1216
|
if (r) {
|
|
1217
|
-
var
|
|
1218
|
-
ze(r, e.props, "prop",
|
|
1217
|
+
var n = m(t);
|
|
1218
|
+
ze(r, e.props, "prop", n, e);
|
|
1219
1219
|
} else if (t.PropTypes !== void 0 && !fe) {
|
|
1220
1220
|
fe = !0;
|
|
1221
1221
|
var f = m(t);
|
|
@@ -1227,9 +1227,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1227
1227
|
function it(e) {
|
|
1228
1228
|
{
|
|
1229
1229
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1230
|
-
var
|
|
1231
|
-
if (
|
|
1232
|
-
J(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
1230
|
+
var n = t[r];
|
|
1231
|
+
if (n !== "children" && n !== "key") {
|
|
1232
|
+
J(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
1233
1233
|
break;
|
|
1234
1234
|
}
|
|
1235
1235
|
}
|
|
@@ -1237,13 +1237,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
1239
|
var Ie = {};
|
|
1240
|
-
function $e(e, t, r,
|
|
1240
|
+
function $e(e, t, r, n, f, y) {
|
|
1241
1241
|
{
|
|
1242
1242
|
var _ = L(e);
|
|
1243
1243
|
if (!_) {
|
|
1244
1244
|
var i = "";
|
|
1245
1245
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1246
|
-
var P =
|
|
1246
|
+
var P = at();
|
|
1247
1247
|
P ? i += P : i += Pe();
|
|
1248
1248
|
var b;
|
|
1249
1249
|
e === null ? b = "null" : ue(e) ? b = "array" : e !== void 0 && e.$$typeof === s ? (b = "<" + (m(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, i);
|
|
@@ -1254,7 +1254,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1254
1254
|
if (_) {
|
|
1255
1255
|
var A = t.children;
|
|
1256
1256
|
if (A !== void 0)
|
|
1257
|
-
if (
|
|
1257
|
+
if (n)
|
|
1258
1258
|
if (ue(A)) {
|
|
1259
1259
|
for (var Z = 0; Z < A.length; Z++)
|
|
1260
1260
|
Me(A[Z], e);
|
|
@@ -1303,17 +1303,17 @@ const Vt = "_notice_13j98_2", Xt = "_error_13j98_11", Qt = "_success_13j98_14",
|
|
|
1303
1303
|
"hide-notice": "_hide-notice_13j98_1"
|
|
1304
1304
|
};
|
|
1305
1305
|
let Ae = {};
|
|
1306
|
-
function vt({ data:
|
|
1306
|
+
function vt({ data: a }) {
|
|
1307
1307
|
let [s, u] = K.useState("show");
|
|
1308
1308
|
K.useEffect(() => {
|
|
1309
|
-
|
|
1309
|
+
a.hide && (setTimeout(function() {
|
|
1310
1310
|
u("hide");
|
|
1311
1311
|
}, 1800), setTimeout(function() {
|
|
1312
|
-
Ae.del(
|
|
1312
|
+
Ae.del(a.key);
|
|
1313
1313
|
}, 2500));
|
|
1314
|
-
}, [
|
|
1314
|
+
}, [a.key]);
|
|
1315
1315
|
let d, k;
|
|
1316
|
-
switch (
|
|
1316
|
+
switch (a.type) {
|
|
1317
1317
|
case "error":
|
|
1318
1318
|
d = /* @__PURE__ */ ee.jsx(ft.error, {}), k = "Ошибка:";
|
|
1319
1319
|
break;
|
|
@@ -1330,21 +1330,21 @@ function vt({ data: n }) {
|
|
|
1330
1330
|
d = /* @__PURE__ */ ee.jsx(ft.success, {}), k = "Предупреждение:";
|
|
1331
1331
|
break;
|
|
1332
1332
|
}
|
|
1333
|
-
return /* @__PURE__ */ ee.jsxs("li", { className: zt[
|
|
1333
|
+
return /* @__PURE__ */ ee.jsxs("li", { className: zt[a.type], "data-status": s, children: [
|
|
1334
1334
|
d,
|
|
1335
1335
|
/* @__PURE__ */ ee.jsx("b", { children: k }),
|
|
1336
|
-
/* @__PURE__ */ ee.jsx("p", { children:
|
|
1336
|
+
/* @__PURE__ */ ee.jsx("p", { children: a.text })
|
|
1337
1337
|
] });
|
|
1338
1338
|
}
|
|
1339
|
-
function rr({ data:
|
|
1339
|
+
function rr({ data: a }) {
|
|
1340
1340
|
let [s, u] = K.useState("show");
|
|
1341
1341
|
return K.useEffect(() => {
|
|
1342
|
-
|
|
1342
|
+
a.hide && (setTimeout(function() {
|
|
1343
1343
|
u("hide");
|
|
1344
1344
|
}, 1800), setTimeout(function() {
|
|
1345
|
-
Ae.del(
|
|
1345
|
+
Ae.del(a.key);
|
|
1346
1346
|
}, 2500));
|
|
1347
|
-
}, [
|
|
1347
|
+
}, [a.key]), /* @__PURE__ */ ee.jsx("li", { className: "item", "data-status": s, children: a.text });
|
|
1348
1348
|
}
|
|
1349
1349
|
const ft = {};
|
|
1350
1350
|
ft.error = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -1380,7 +1380,7 @@ ft.success = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill:
|
|
|
1380
1380
|
)
|
|
1381
1381
|
] });
|
|
1382
1382
|
var kt;
|
|
1383
|
-
((
|
|
1383
|
+
((a) => {
|
|
1384
1384
|
function s() {
|
|
1385
1385
|
let [l, p] = K.useState([]);
|
|
1386
1386
|
return Ae.set = (o) => {
|
|
@@ -1389,7 +1389,7 @@ var kt;
|
|
|
1389
1389
|
p(l.filter((h) => h.key !== o));
|
|
1390
1390
|
}, l.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: zt.notice, children: l.map((o) => o.item) });
|
|
1391
1391
|
}
|
|
1392
|
-
|
|
1392
|
+
a.Init = s;
|
|
1393
1393
|
function u(l, p = !0) {
|
|
1394
1394
|
let o = Date.now(), h = { key: o, text: l, hide: p, type: "error" };
|
|
1395
1395
|
Ae.set({
|
|
@@ -1397,7 +1397,7 @@ var kt;
|
|
|
1397
1397
|
key: o
|
|
1398
1398
|
});
|
|
1399
1399
|
}
|
|
1400
|
-
|
|
1400
|
+
a.Error = u;
|
|
1401
1401
|
function d(l, p = !0) {
|
|
1402
1402
|
let o = Date.now(), h = { key: o, text: l, hide: p, type: "success" };
|
|
1403
1403
|
Ae.set({
|
|
@@ -1405,12 +1405,12 @@ var kt;
|
|
|
1405
1405
|
key: o
|
|
1406
1406
|
});
|
|
1407
1407
|
}
|
|
1408
|
-
|
|
1408
|
+
a.Success = d;
|
|
1409
1409
|
function k(l, p = !0) {
|
|
1410
1410
|
let o = Date.now(), h = { key: o, hide: p, text: l };
|
|
1411
1411
|
Ae.set({ item: /* @__PURE__ */ ee.jsx(rr, { data: h }, o), key: o });
|
|
1412
1412
|
}
|
|
1413
|
-
|
|
1413
|
+
a.Custom = k;
|
|
1414
1414
|
function x(l) {
|
|
1415
1415
|
let p = Date.now(), o = { key: p, hide: !0, ...l };
|
|
1416
1416
|
Ae.set({
|
|
@@ -1418,7 +1418,7 @@ var kt;
|
|
|
1418
1418
|
key: p
|
|
1419
1419
|
});
|
|
1420
1420
|
}
|
|
1421
|
-
|
|
1421
|
+
a.Send = x;
|
|
1422
1422
|
function O(l, p = !0) {
|
|
1423
1423
|
let o = Date.now(), h = { key: o, text: l, hide: p, type: "remark" };
|
|
1424
1424
|
Ae.set({
|
|
@@ -1426,7 +1426,7 @@ var kt;
|
|
|
1426
1426
|
key: o
|
|
1427
1427
|
});
|
|
1428
1428
|
}
|
|
1429
|
-
|
|
1429
|
+
a.Remark = O;
|
|
1430
1430
|
function S(l, p = !0) {
|
|
1431
1431
|
let o = Date.now(), h = { key: o, text: l, hide: p, type: "copy" };
|
|
1432
1432
|
Ae.set({
|
|
@@ -1434,17 +1434,17 @@ var kt;
|
|
|
1434
1434
|
key: o
|
|
1435
1435
|
});
|
|
1436
1436
|
}
|
|
1437
|
-
|
|
1437
|
+
a.Copy = S;
|
|
1438
1438
|
})(kt || (kt = {}));
|
|
1439
|
-
const
|
|
1440
|
-
l:
|
|
1441
|
-
f:
|
|
1439
|
+
const ar = "_l_1ho5f_13", nr = "_f_1ho5f_20", or = "_n_1ho5f_40", ir = "_w_1ho5f_53", _r = "_t_1ho5f_63", q = {
|
|
1440
|
+
l: ar,
|
|
1441
|
+
f: nr,
|
|
1442
1442
|
n: or,
|
|
1443
1443
|
w: ir,
|
|
1444
1444
|
t: _r
|
|
1445
1445
|
};
|
|
1446
|
-
function
|
|
1447
|
-
id:
|
|
1446
|
+
function ia({
|
|
1447
|
+
id: a,
|
|
1448
1448
|
value: s,
|
|
1449
1449
|
onValue: u,
|
|
1450
1450
|
name: d,
|
|
@@ -1460,7 +1460,7 @@ function _n({
|
|
|
1460
1460
|
maxLength: D,
|
|
1461
1461
|
onSave: M,
|
|
1462
1462
|
className: W = "",
|
|
1463
|
-
isCopy:
|
|
1463
|
+
isCopy: I = !0,
|
|
1464
1464
|
isReload: R = !1
|
|
1465
1465
|
}) {
|
|
1466
1466
|
let v = !!(S && (s === "" || s === void 0)), B = (N) => {
|
|
@@ -1487,8 +1487,8 @@ function _n({
|
|
|
1487
1487
|
});
|
|
1488
1488
|
};
|
|
1489
1489
|
if (!(l && p) && !g || !(l && p) && v) return "";
|
|
1490
|
-
const
|
|
1491
|
-
k && (
|
|
1490
|
+
const $ = {};
|
|
1491
|
+
k && ($.placeholder = k), l && p && ($.edit = "");
|
|
1492
1492
|
const U = (N) => {
|
|
1493
1493
|
te.Blur(N), M == null || M({ value: N.target.textContent.trim(), name: d });
|
|
1494
1494
|
};
|
|
@@ -1511,7 +1511,7 @@ function _n({
|
|
|
1511
1511
|
spellCheck: "true",
|
|
1512
1512
|
contentEditable: l && p ? te.ContentEditable : "false",
|
|
1513
1513
|
suppressContentEditableWarning: !0,
|
|
1514
|
-
|
|
1514
|
+
...$,
|
|
1515
1515
|
children: s
|
|
1516
1516
|
}
|
|
1517
1517
|
),
|
|
@@ -1535,7 +1535,7 @@ var Bt;
|
|
|
1535
1535
|
function sr() {
|
|
1536
1536
|
if (Bt) return gt;
|
|
1537
1537
|
Bt = 1;
|
|
1538
|
-
var
|
|
1538
|
+
var a = K, s = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, k = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1539
1539
|
function O(S, l, p) {
|
|
1540
1540
|
var o, h = {}, g = null, D = null;
|
|
1541
1541
|
p !== void 0 && (g = "" + p), l.key !== void 0 && (g = "" + l.key), l.ref !== void 0 && (D = l.ref);
|
|
@@ -1558,24 +1558,24 @@ var wt = {};
|
|
|
1558
1558
|
var Lt;
|
|
1559
1559
|
function lr() {
|
|
1560
1560
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1561
|
+
var a = K, s = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), S = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), M = Symbol.iterator, W = "@@iterator";
|
|
1562
|
+
function I(e) {
|
|
1563
1563
|
if (e === null || typeof e != "object")
|
|
1564
1564
|
return null;
|
|
1565
1565
|
var t = M && e[M] || e[W];
|
|
1566
1566
|
return typeof t == "function" ? t : null;
|
|
1567
1567
|
}
|
|
1568
|
-
var R =
|
|
1568
|
+
var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1569
1569
|
function v(e) {
|
|
1570
1570
|
{
|
|
1571
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
1572
|
-
r[
|
|
1571
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
1572
|
+
r[n - 1] = arguments[n];
|
|
1573
1573
|
B("error", e, r);
|
|
1574
1574
|
}
|
|
1575
1575
|
}
|
|
1576
1576
|
function B(e, t, r) {
|
|
1577
1577
|
{
|
|
1578
|
-
var
|
|
1578
|
+
var n = R.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
1579
1579
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
1580
1580
|
var y = r.map(function(_) {
|
|
1581
1581
|
return String(_);
|
|
@@ -1583,19 +1583,19 @@ function lr() {
|
|
|
1583
1583
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
1584
1584
|
}
|
|
1585
1585
|
}
|
|
1586
|
-
var Y = !1, z = !1,
|
|
1586
|
+
var Y = !1, z = !1, $ = !1, U = !1, N = !1, C;
|
|
1587
1587
|
C = Symbol.for("react.module.reference");
|
|
1588
1588
|
function L(e) {
|
|
1589
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || N || e === k || e === p || e === o || U || e === D || Y || z ||
|
|
1589
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || N || e === k || e === p || e === o || U || e === D || Y || z || $ || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === h || e.$$typeof === O || e.$$typeof === S || e.$$typeof === l || // This needs to include all possible module reference object
|
|
1590
1590
|
// types supported by any Flight configuration anywhere since
|
|
1591
1591
|
// we don't know which Flight build this will end up being used
|
|
1592
1592
|
// with.
|
|
1593
1593
|
e.$$typeof === C || e.getModuleId !== void 0));
|
|
1594
1594
|
}
|
|
1595
1595
|
function j(e, t, r) {
|
|
1596
|
-
var
|
|
1597
|
-
if (
|
|
1598
|
-
return
|
|
1596
|
+
var n = e.displayName;
|
|
1597
|
+
if (n)
|
|
1598
|
+
return n;
|
|
1599
1599
|
var f = t.displayName || t.name || "";
|
|
1600
1600
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
1601
1601
|
}
|
|
@@ -1634,8 +1634,8 @@ function lr() {
|
|
|
1634
1634
|
case l:
|
|
1635
1635
|
return j(e, e.render, "ForwardRef");
|
|
1636
1636
|
case h:
|
|
1637
|
-
var
|
|
1638
|
-
return
|
|
1637
|
+
var n = e.displayName || null;
|
|
1638
|
+
return n !== null ? n : m(e.type) || "Memo";
|
|
1639
1639
|
case g: {
|
|
1640
1640
|
var f = e, y = f._payload, _ = f._init;
|
|
1641
1641
|
try {
|
|
@@ -1716,27 +1716,27 @@ function lr() {
|
|
|
1716
1716
|
try {
|
|
1717
1717
|
throw Error();
|
|
1718
1718
|
} catch (f) {
|
|
1719
|
-
var
|
|
1720
|
-
le =
|
|
1719
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
1720
|
+
le = n && n[1] || "";
|
|
1721
1721
|
}
|
|
1722
1722
|
return `
|
|
1723
1723
|
` + le + e;
|
|
1724
1724
|
}
|
|
1725
1725
|
}
|
|
1726
|
-
var ce = !1,
|
|
1726
|
+
var ce = !1, ae;
|
|
1727
1727
|
{
|
|
1728
1728
|
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1729
|
-
|
|
1729
|
+
ae = new Ue();
|
|
1730
1730
|
}
|
|
1731
1731
|
function je(e, t) {
|
|
1732
1732
|
if (!e || ce)
|
|
1733
1733
|
return "";
|
|
1734
1734
|
{
|
|
1735
|
-
var r =
|
|
1735
|
+
var r = ae.get(e);
|
|
1736
1736
|
if (r !== void 0)
|
|
1737
1737
|
return r;
|
|
1738
1738
|
}
|
|
1739
|
-
var
|
|
1739
|
+
var n;
|
|
1740
1740
|
ce = !0;
|
|
1741
1741
|
var f = Error.prepareStackTrace;
|
|
1742
1742
|
Error.prepareStackTrace = void 0;
|
|
@@ -1755,14 +1755,14 @@ function lr() {
|
|
|
1755
1755
|
try {
|
|
1756
1756
|
Reflect.construct(_, []);
|
|
1757
1757
|
} catch (F) {
|
|
1758
|
-
|
|
1758
|
+
n = F;
|
|
1759
1759
|
}
|
|
1760
1760
|
Reflect.construct(e, [], _);
|
|
1761
1761
|
} else {
|
|
1762
1762
|
try {
|
|
1763
1763
|
_.call();
|
|
1764
1764
|
} catch (F) {
|
|
1765
|
-
|
|
1765
|
+
n = F;
|
|
1766
1766
|
}
|
|
1767
1767
|
e.call(_.prototype);
|
|
1768
1768
|
}
|
|
@@ -1770,14 +1770,14 @@ function lr() {
|
|
|
1770
1770
|
try {
|
|
1771
1771
|
throw Error();
|
|
1772
1772
|
} catch (F) {
|
|
1773
|
-
|
|
1773
|
+
n = F;
|
|
1774
1774
|
}
|
|
1775
1775
|
e();
|
|
1776
1776
|
}
|
|
1777
1777
|
} catch (F) {
|
|
1778
|
-
if (F &&
|
|
1778
|
+
if (F && n && typeof F.stack == "string") {
|
|
1779
1779
|
for (var i = F.stack.split(`
|
|
1780
|
-
`), P =
|
|
1780
|
+
`), P = n.stack.split(`
|
|
1781
1781
|
`), b = i.length - 1, w = P.length - 1; b >= 1 && w >= 0 && i[b] !== P[w]; )
|
|
1782
1782
|
w--;
|
|
1783
1783
|
for (; b >= 1 && w >= 0; b--, w--)
|
|
@@ -1787,7 +1787,7 @@ function lr() {
|
|
|
1787
1787
|
if (b--, w--, w < 0 || i[b] !== P[w]) {
|
|
1788
1788
|
var A = `
|
|
1789
1789
|
` + i[b].replace(" at new ", " at ");
|
|
1790
|
-
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
1790
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, A), A;
|
|
1791
1791
|
}
|
|
1792
1792
|
while (b >= 1 && w >= 0);
|
|
1793
1793
|
break;
|
|
@@ -1797,7 +1797,7 @@ function lr() {
|
|
|
1797
1797
|
ce = !1, se.current = y, We(), Error.prepareStackTrace = f;
|
|
1798
1798
|
}
|
|
1799
1799
|
var Z = e ? e.displayName || e.name : "", H = Z ? re(Z) : "";
|
|
1800
|
-
return typeof e == "function" &&
|
|
1800
|
+
return typeof e == "function" && ae.set(e, H), H;
|
|
1801
1801
|
}
|
|
1802
1802
|
function Ke(e, t, r) {
|
|
1803
1803
|
return je(e, !1);
|
|
@@ -1806,7 +1806,7 @@ function lr() {
|
|
|
1806
1806
|
var t = e.prototype;
|
|
1807
1807
|
return !!(t && t.isReactComponent);
|
|
1808
1808
|
}
|
|
1809
|
-
function
|
|
1809
|
+
function ne(e, t, r) {
|
|
1810
1810
|
if (e == null)
|
|
1811
1811
|
return "";
|
|
1812
1812
|
if (typeof e == "function")
|
|
@@ -1824,11 +1824,11 @@ function lr() {
|
|
|
1824
1824
|
case l:
|
|
1825
1825
|
return Ke(e.render);
|
|
1826
1826
|
case h:
|
|
1827
|
-
return
|
|
1827
|
+
return ne(e.type, t, r);
|
|
1828
1828
|
case g: {
|
|
1829
|
-
var
|
|
1829
|
+
var n = e, f = n._payload, y = n._init;
|
|
1830
1830
|
try {
|
|
1831
|
-
return
|
|
1831
|
+
return ne(y(f), t, r);
|
|
1832
1832
|
} catch {
|
|
1833
1833
|
}
|
|
1834
1834
|
}
|
|
@@ -1838,12 +1838,12 @@ function lr() {
|
|
|
1838
1838
|
var Q = Object.prototype.hasOwnProperty, xe = {}, Se = R.ReactDebugCurrentFrame;
|
|
1839
1839
|
function oe(e) {
|
|
1840
1840
|
if (e) {
|
|
1841
|
-
var t = e._owner, r =
|
|
1841
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1842
1842
|
Se.setExtraStackFrame(r);
|
|
1843
1843
|
} else
|
|
1844
1844
|
Se.setExtraStackFrame(null);
|
|
1845
1845
|
}
|
|
1846
|
-
function ze(e, t, r,
|
|
1846
|
+
function ze(e, t, r, n, f) {
|
|
1847
1847
|
{
|
|
1848
1848
|
var y = Function.call.bind(Q);
|
|
1849
1849
|
for (var _ in e)
|
|
@@ -1851,14 +1851,14 @@ function lr() {
|
|
|
1851
1851
|
var i = void 0;
|
|
1852
1852
|
try {
|
|
1853
1853
|
if (typeof e[_] != "function") {
|
|
1854
|
-
var P = Error((
|
|
1854
|
+
var P = Error((n || "React class") + ": " + r + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1855
1855
|
throw P.name = "Invariant Violation", P;
|
|
1856
1856
|
}
|
|
1857
|
-
i = e[_](t, _,
|
|
1857
|
+
i = e[_](t, _, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1858
1858
|
} catch (b) {
|
|
1859
1859
|
i = b;
|
|
1860
1860
|
}
|
|
1861
|
-
i && !(i instanceof Error) && (oe(f), v("%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).",
|
|
1861
|
+
i && !(i instanceof Error) && (oe(f), v("%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, _, typeof i), oe(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, oe(f), v("Failed %s type: %s", r, i.message), oe(null));
|
|
1862
1862
|
}
|
|
1863
1863
|
}
|
|
1864
1864
|
}
|
|
@@ -1933,7 +1933,7 @@ function lr() {
|
|
|
1933
1933
|
});
|
|
1934
1934
|
}
|
|
1935
1935
|
}
|
|
1936
|
-
var tt = function(e, t, r,
|
|
1936
|
+
var tt = function(e, t, r, n, f, y, _) {
|
|
1937
1937
|
var i = {
|
|
1938
1938
|
// This tag allows us to uniquely identify this as a React Element
|
|
1939
1939
|
$$typeof: s,
|
|
@@ -1954,7 +1954,7 @@ function lr() {
|
|
|
1954
1954
|
configurable: !1,
|
|
1955
1955
|
enumerable: !1,
|
|
1956
1956
|
writable: !1,
|
|
1957
|
-
value:
|
|
1957
|
+
value: n
|
|
1958
1958
|
}), Object.defineProperty(i, "_source", {
|
|
1959
1959
|
configurable: !1,
|
|
1960
1960
|
enumerable: !1,
|
|
@@ -1962,7 +1962,7 @@ function lr() {
|
|
|
1962
1962
|
value: f
|
|
1963
1963
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
1964
1964
|
};
|
|
1965
|
-
function rt(e, t, r,
|
|
1965
|
+
function rt(e, t, r, n, f) {
|
|
1966
1966
|
{
|
|
1967
1967
|
var y, _ = {}, i = null, P = null;
|
|
1968
1968
|
r !== void 0 && (Re(r), i = "" + r), Ve(t) && (Re(t.key), i = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
|
|
@@ -1977,13 +1977,13 @@ function lr() {
|
|
|
1977
1977
|
var w = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1978
1978
|
i && Qe(_, w), P && et(_, w);
|
|
1979
1979
|
}
|
|
1980
|
-
return tt(e, i, P, f,
|
|
1980
|
+
return tt(e, i, P, f, n, Ee.current, _);
|
|
1981
1981
|
}
|
|
1982
1982
|
}
|
|
1983
1983
|
var de = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
1984
1984
|
function J(e) {
|
|
1985
1985
|
if (e) {
|
|
1986
|
-
var t = e._owner, r =
|
|
1986
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1987
1987
|
De.setExtraStackFrame(r);
|
|
1988
1988
|
} else
|
|
1989
1989
|
De.setExtraStackFrame(null);
|
|
@@ -2005,11 +2005,11 @@ Check the render method of \`` + e + "`.";
|
|
|
2005
2005
|
return "";
|
|
2006
2006
|
}
|
|
2007
2007
|
}
|
|
2008
|
-
function
|
|
2008
|
+
function at(e) {
|
|
2009
2009
|
return "";
|
|
2010
2010
|
}
|
|
2011
2011
|
var Ne = {};
|
|
2012
|
-
function
|
|
2012
|
+
function nt(e) {
|
|
2013
2013
|
{
|
|
2014
2014
|
var t = Pe();
|
|
2015
2015
|
if (!t) {
|
|
@@ -2026,12 +2026,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2026
2026
|
if (!e._store || e._store.validated || e.key != null)
|
|
2027
2027
|
return;
|
|
2028
2028
|
e._store.validated = !0;
|
|
2029
|
-
var r =
|
|
2029
|
+
var r = nt(t);
|
|
2030
2030
|
if (Ne[r])
|
|
2031
2031
|
return;
|
|
2032
2032
|
Ne[r] = !0;
|
|
2033
|
-
var
|
|
2034
|
-
e && e._owner && e._owner !== de.current && (
|
|
2033
|
+
var n = "";
|
|
2034
|
+
e && e._owner && e._owner !== de.current && (n = " It was passed a child from " + m(e._owner.type) + "."), J(e), v('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), J(null);
|
|
2035
2035
|
}
|
|
2036
2036
|
}
|
|
2037
2037
|
function Me(e, t) {
|
|
@@ -2040,13 +2040,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2040
2040
|
return;
|
|
2041
2041
|
if (ue(e))
|
|
2042
2042
|
for (var r = 0; r < e.length; r++) {
|
|
2043
|
-
var
|
|
2044
|
-
pe(
|
|
2043
|
+
var n = e[r];
|
|
2044
|
+
pe(n) && Fe(n, t);
|
|
2045
2045
|
}
|
|
2046
2046
|
else if (pe(e))
|
|
2047
2047
|
e._store && (e._store.validated = !0);
|
|
2048
2048
|
else if (e) {
|
|
2049
|
-
var f =
|
|
2049
|
+
var f = I(e);
|
|
2050
2050
|
if (typeof f == "function" && f !== e.entries)
|
|
2051
2051
|
for (var y = f.call(e), _; !(_ = y.next()).done; )
|
|
2052
2052
|
pe(_.value) && Fe(_.value, t);
|
|
@@ -2068,8 +2068,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2068
2068
|
else
|
|
2069
2069
|
return;
|
|
2070
2070
|
if (r) {
|
|
2071
|
-
var
|
|
2072
|
-
ze(r, e.props, "prop",
|
|
2071
|
+
var n = m(t);
|
|
2072
|
+
ze(r, e.props, "prop", n, e);
|
|
2073
2073
|
} else if (t.PropTypes !== void 0 && !fe) {
|
|
2074
2074
|
fe = !0;
|
|
2075
2075
|
var f = m(t);
|
|
@@ -2081,9 +2081,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2081
2081
|
function it(e) {
|
|
2082
2082
|
{
|
|
2083
2083
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2084
|
-
var
|
|
2085
|
-
if (
|
|
2086
|
-
J(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
2084
|
+
var n = t[r];
|
|
2085
|
+
if (n !== "children" && n !== "key") {
|
|
2086
|
+
J(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
2087
2087
|
break;
|
|
2088
2088
|
}
|
|
2089
2089
|
}
|
|
@@ -2091,13 +2091,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2091
2091
|
}
|
|
2092
2092
|
}
|
|
2093
2093
|
var Ie = {};
|
|
2094
|
-
function $e(e, t, r,
|
|
2094
|
+
function $e(e, t, r, n, f, y) {
|
|
2095
2095
|
{
|
|
2096
2096
|
var _ = L(e);
|
|
2097
2097
|
if (!_) {
|
|
2098
2098
|
var i = "";
|
|
2099
2099
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2100
|
-
var P =
|
|
2100
|
+
var P = at();
|
|
2101
2101
|
P ? i += P : i += Pe();
|
|
2102
2102
|
var b;
|
|
2103
2103
|
e === null ? b = "null" : ue(e) ? b = "array" : e !== void 0 && e.$$typeof === s ? (b = "<" + (m(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, i);
|
|
@@ -2108,7 +2108,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2108
2108
|
if (_) {
|
|
2109
2109
|
var A = t.children;
|
|
2110
2110
|
if (A !== void 0)
|
|
2111
|
-
if (
|
|
2111
|
+
if (n)
|
|
2112
2112
|
if (ue(A)) {
|
|
2113
2113
|
for (var Z = 0; Z < A.length; Z++)
|
|
2114
2114
|
Me(A[Z], e);
|
|
@@ -2170,21 +2170,21 @@ const cr = "_shake_txgsc_1", ur = "_modal_txgsc_79", dr = "_w_txgsc_15", fr = "_
|
|
|
2170
2170
|
g: jr,
|
|
2171
2171
|
m: xr
|
|
2172
2172
|
};
|
|
2173
|
-
function Sr({ children:
|
|
2174
|
-
return /* @__PURE__ */ X.jsx("div", { className: ye.l, children: /* @__PURE__ */ X.jsx("ul", { children:
|
|
2173
|
+
function Sr({ children: a }) {
|
|
2174
|
+
return /* @__PURE__ */ X.jsx("div", { className: ye.l, children: /* @__PURE__ */ X.jsx("ul", { children: a }) });
|
|
2175
2175
|
}
|
|
2176
|
-
function Cr({ children:
|
|
2177
|
-
return /* @__PURE__ */ X.jsx("div", { className: ye.s, children:
|
|
2176
|
+
function Cr({ children: a }) {
|
|
2177
|
+
return /* @__PURE__ */ X.jsx("div", { className: ye.s, children: a });
|
|
2178
2178
|
}
|
|
2179
|
-
function Rr({ children:
|
|
2179
|
+
function Rr({ children: a, viev: s = "row", className: u }) {
|
|
2180
2180
|
let d = {};
|
|
2181
|
-
return u && (d.className = u), /* @__PURE__ */ X.jsx("ul", { className: [ye.f, ye[s], d.className].join(" "), children:
|
|
2181
|
+
return u && (d.className = u), /* @__PURE__ */ X.jsx("ul", { className: [ye.f, ye[s], d.className].join(" "), children: a });
|
|
2182
2182
|
}
|
|
2183
|
-
function Er({ children:
|
|
2184
|
-
return /* @__PURE__ */ X.jsx("div", { className: ye.c, children:
|
|
2183
|
+
function Er({ children: a }) {
|
|
2184
|
+
return /* @__PURE__ */ X.jsx("div", { className: ye.c, children: a });
|
|
2185
2185
|
}
|
|
2186
|
-
function Or({ children:
|
|
2187
|
-
return /* @__PURE__ */ X.jsx("div", { className: ye.g, children:
|
|
2186
|
+
function Or({ children: a }) {
|
|
2187
|
+
return /* @__PURE__ */ X.jsx("div", { className: ye.g, children: a });
|
|
2188
2188
|
}
|
|
2189
2189
|
var Nt = { exports: {} }, ht = {};
|
|
2190
2190
|
/**
|
|
@@ -2200,7 +2200,7 @@ var Wt;
|
|
|
2200
2200
|
function Tr() {
|
|
2201
2201
|
if (Wt) return ht;
|
|
2202
2202
|
Wt = 1;
|
|
2203
|
-
var
|
|
2203
|
+
var a = K, s = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, k = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2204
2204
|
function O(S, l, p) {
|
|
2205
2205
|
var o, h = {}, g = null, D = null;
|
|
2206
2206
|
p !== void 0 && (g = "" + p), l.key !== void 0 && (g = "" + l.key), l.ref !== void 0 && (D = l.ref);
|
|
@@ -2223,24 +2223,24 @@ var jt = {};
|
|
|
2223
2223
|
var Ut;
|
|
2224
2224
|
function Dr() {
|
|
2225
2225
|
return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2226
|
-
var
|
|
2227
|
-
function
|
|
2226
|
+
var a = K, s = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), S = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), M = Symbol.iterator, W = "@@iterator";
|
|
2227
|
+
function I(e) {
|
|
2228
2228
|
if (e === null || typeof e != "object")
|
|
2229
2229
|
return null;
|
|
2230
2230
|
var t = M && e[M] || e[W];
|
|
2231
2231
|
return typeof t == "function" ? t : null;
|
|
2232
2232
|
}
|
|
2233
|
-
var R =
|
|
2233
|
+
var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2234
2234
|
function v(e) {
|
|
2235
2235
|
{
|
|
2236
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
2237
|
-
r[
|
|
2236
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
2237
|
+
r[n - 1] = arguments[n];
|
|
2238
2238
|
B("error", e, r);
|
|
2239
2239
|
}
|
|
2240
2240
|
}
|
|
2241
2241
|
function B(e, t, r) {
|
|
2242
2242
|
{
|
|
2243
|
-
var
|
|
2243
|
+
var n = R.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
2244
2244
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
2245
2245
|
var y = r.map(function(_) {
|
|
2246
2246
|
return String(_);
|
|
@@ -2248,19 +2248,19 @@ function Dr() {
|
|
|
2248
2248
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
2249
2249
|
}
|
|
2250
2250
|
}
|
|
2251
|
-
var Y = !1, z = !1,
|
|
2251
|
+
var Y = !1, z = !1, $ = !1, U = !1, N = !1, C;
|
|
2252
2252
|
C = Symbol.for("react.module.reference");
|
|
2253
2253
|
function L(e) {
|
|
2254
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || N || e === k || e === p || e === o || U || e === D || Y || z ||
|
|
2254
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || N || e === k || e === p || e === o || U || e === D || Y || z || $ || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === h || e.$$typeof === O || e.$$typeof === S || e.$$typeof === l || // This needs to include all possible module reference object
|
|
2255
2255
|
// types supported by any Flight configuration anywhere since
|
|
2256
2256
|
// we don't know which Flight build this will end up being used
|
|
2257
2257
|
// with.
|
|
2258
2258
|
e.$$typeof === C || e.getModuleId !== void 0));
|
|
2259
2259
|
}
|
|
2260
2260
|
function j(e, t, r) {
|
|
2261
|
-
var
|
|
2262
|
-
if (
|
|
2263
|
-
return
|
|
2261
|
+
var n = e.displayName;
|
|
2262
|
+
if (n)
|
|
2263
|
+
return n;
|
|
2264
2264
|
var f = t.displayName || t.name || "";
|
|
2265
2265
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
2266
2266
|
}
|
|
@@ -2299,8 +2299,8 @@ function Dr() {
|
|
|
2299
2299
|
case l:
|
|
2300
2300
|
return j(e, e.render, "ForwardRef");
|
|
2301
2301
|
case h:
|
|
2302
|
-
var
|
|
2303
|
-
return
|
|
2302
|
+
var n = e.displayName || null;
|
|
2303
|
+
return n !== null ? n : m(e.type) || "Memo";
|
|
2304
2304
|
case g: {
|
|
2305
2305
|
var f = e, y = f._payload, _ = f._init;
|
|
2306
2306
|
try {
|
|
@@ -2381,27 +2381,27 @@ function Dr() {
|
|
|
2381
2381
|
try {
|
|
2382
2382
|
throw Error();
|
|
2383
2383
|
} catch (f) {
|
|
2384
|
-
var
|
|
2385
|
-
le =
|
|
2384
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
2385
|
+
le = n && n[1] || "";
|
|
2386
2386
|
}
|
|
2387
2387
|
return `
|
|
2388
2388
|
` + le + e;
|
|
2389
2389
|
}
|
|
2390
2390
|
}
|
|
2391
|
-
var ce = !1,
|
|
2391
|
+
var ce = !1, ae;
|
|
2392
2392
|
{
|
|
2393
2393
|
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
2394
|
-
|
|
2394
|
+
ae = new Ue();
|
|
2395
2395
|
}
|
|
2396
2396
|
function je(e, t) {
|
|
2397
2397
|
if (!e || ce)
|
|
2398
2398
|
return "";
|
|
2399
2399
|
{
|
|
2400
|
-
var r =
|
|
2400
|
+
var r = ae.get(e);
|
|
2401
2401
|
if (r !== void 0)
|
|
2402
2402
|
return r;
|
|
2403
2403
|
}
|
|
2404
|
-
var
|
|
2404
|
+
var n;
|
|
2405
2405
|
ce = !0;
|
|
2406
2406
|
var f = Error.prepareStackTrace;
|
|
2407
2407
|
Error.prepareStackTrace = void 0;
|
|
@@ -2420,14 +2420,14 @@ function Dr() {
|
|
|
2420
2420
|
try {
|
|
2421
2421
|
Reflect.construct(_, []);
|
|
2422
2422
|
} catch (F) {
|
|
2423
|
-
|
|
2423
|
+
n = F;
|
|
2424
2424
|
}
|
|
2425
2425
|
Reflect.construct(e, [], _);
|
|
2426
2426
|
} else {
|
|
2427
2427
|
try {
|
|
2428
2428
|
_.call();
|
|
2429
2429
|
} catch (F) {
|
|
2430
|
-
|
|
2430
|
+
n = F;
|
|
2431
2431
|
}
|
|
2432
2432
|
e.call(_.prototype);
|
|
2433
2433
|
}
|
|
@@ -2435,14 +2435,14 @@ function Dr() {
|
|
|
2435
2435
|
try {
|
|
2436
2436
|
throw Error();
|
|
2437
2437
|
} catch (F) {
|
|
2438
|
-
|
|
2438
|
+
n = F;
|
|
2439
2439
|
}
|
|
2440
2440
|
e();
|
|
2441
2441
|
}
|
|
2442
2442
|
} catch (F) {
|
|
2443
|
-
if (F &&
|
|
2443
|
+
if (F && n && typeof F.stack == "string") {
|
|
2444
2444
|
for (var i = F.stack.split(`
|
|
2445
|
-
`), P =
|
|
2445
|
+
`), P = n.stack.split(`
|
|
2446
2446
|
`), b = i.length - 1, w = P.length - 1; b >= 1 && w >= 0 && i[b] !== P[w]; )
|
|
2447
2447
|
w--;
|
|
2448
2448
|
for (; b >= 1 && w >= 0; b--, w--)
|
|
@@ -2452,7 +2452,7 @@ function Dr() {
|
|
|
2452
2452
|
if (b--, w--, w < 0 || i[b] !== P[w]) {
|
|
2453
2453
|
var A = `
|
|
2454
2454
|
` + i[b].replace(" at new ", " at ");
|
|
2455
|
-
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
2455
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, A), A;
|
|
2456
2456
|
}
|
|
2457
2457
|
while (b >= 1 && w >= 0);
|
|
2458
2458
|
break;
|
|
@@ -2462,7 +2462,7 @@ function Dr() {
|
|
|
2462
2462
|
ce = !1, se.current = y, We(), Error.prepareStackTrace = f;
|
|
2463
2463
|
}
|
|
2464
2464
|
var Z = e ? e.displayName || e.name : "", H = Z ? re(Z) : "";
|
|
2465
|
-
return typeof e == "function" &&
|
|
2465
|
+
return typeof e == "function" && ae.set(e, H), H;
|
|
2466
2466
|
}
|
|
2467
2467
|
function Ke(e, t, r) {
|
|
2468
2468
|
return je(e, !1);
|
|
@@ -2471,7 +2471,7 @@ function Dr() {
|
|
|
2471
2471
|
var t = e.prototype;
|
|
2472
2472
|
return !!(t && t.isReactComponent);
|
|
2473
2473
|
}
|
|
2474
|
-
function
|
|
2474
|
+
function ne(e, t, r) {
|
|
2475
2475
|
if (e == null)
|
|
2476
2476
|
return "";
|
|
2477
2477
|
if (typeof e == "function")
|
|
@@ -2489,11 +2489,11 @@ function Dr() {
|
|
|
2489
2489
|
case l:
|
|
2490
2490
|
return Ke(e.render);
|
|
2491
2491
|
case h:
|
|
2492
|
-
return
|
|
2492
|
+
return ne(e.type, t, r);
|
|
2493
2493
|
case g: {
|
|
2494
|
-
var
|
|
2494
|
+
var n = e, f = n._payload, y = n._init;
|
|
2495
2495
|
try {
|
|
2496
|
-
return
|
|
2496
|
+
return ne(y(f), t, r);
|
|
2497
2497
|
} catch {
|
|
2498
2498
|
}
|
|
2499
2499
|
}
|
|
@@ -2503,12 +2503,12 @@ function Dr() {
|
|
|
2503
2503
|
var Q = Object.prototype.hasOwnProperty, xe = {}, Se = R.ReactDebugCurrentFrame;
|
|
2504
2504
|
function oe(e) {
|
|
2505
2505
|
if (e) {
|
|
2506
|
-
var t = e._owner, r =
|
|
2506
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
2507
2507
|
Se.setExtraStackFrame(r);
|
|
2508
2508
|
} else
|
|
2509
2509
|
Se.setExtraStackFrame(null);
|
|
2510
2510
|
}
|
|
2511
|
-
function ze(e, t, r,
|
|
2511
|
+
function ze(e, t, r, n, f) {
|
|
2512
2512
|
{
|
|
2513
2513
|
var y = Function.call.bind(Q);
|
|
2514
2514
|
for (var _ in e)
|
|
@@ -2516,14 +2516,14 @@ function Dr() {
|
|
|
2516
2516
|
var i = void 0;
|
|
2517
2517
|
try {
|
|
2518
2518
|
if (typeof e[_] != "function") {
|
|
2519
|
-
var P = Error((
|
|
2519
|
+
var P = Error((n || "React class") + ": " + r + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
2520
2520
|
throw P.name = "Invariant Violation", P;
|
|
2521
2521
|
}
|
|
2522
|
-
i = e[_](t, _,
|
|
2522
|
+
i = e[_](t, _, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
2523
2523
|
} catch (b) {
|
|
2524
2524
|
i = b;
|
|
2525
2525
|
}
|
|
2526
|
-
i && !(i instanceof Error) && (oe(f), v("%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).",
|
|
2526
|
+
i && !(i instanceof Error) && (oe(f), v("%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, _, typeof i), oe(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, oe(f), v("Failed %s type: %s", r, i.message), oe(null));
|
|
2527
2527
|
}
|
|
2528
2528
|
}
|
|
2529
2529
|
}
|
|
@@ -2598,7 +2598,7 @@ function Dr() {
|
|
|
2598
2598
|
});
|
|
2599
2599
|
}
|
|
2600
2600
|
}
|
|
2601
|
-
var tt = function(e, t, r,
|
|
2601
|
+
var tt = function(e, t, r, n, f, y, _) {
|
|
2602
2602
|
var i = {
|
|
2603
2603
|
// This tag allows us to uniquely identify this as a React Element
|
|
2604
2604
|
$$typeof: s,
|
|
@@ -2619,7 +2619,7 @@ function Dr() {
|
|
|
2619
2619
|
configurable: !1,
|
|
2620
2620
|
enumerable: !1,
|
|
2621
2621
|
writable: !1,
|
|
2622
|
-
value:
|
|
2622
|
+
value: n
|
|
2623
2623
|
}), Object.defineProperty(i, "_source", {
|
|
2624
2624
|
configurable: !1,
|
|
2625
2625
|
enumerable: !1,
|
|
@@ -2627,7 +2627,7 @@ function Dr() {
|
|
|
2627
2627
|
value: f
|
|
2628
2628
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
2629
2629
|
};
|
|
2630
|
-
function rt(e, t, r,
|
|
2630
|
+
function rt(e, t, r, n, f) {
|
|
2631
2631
|
{
|
|
2632
2632
|
var y, _ = {}, i = null, P = null;
|
|
2633
2633
|
r !== void 0 && (Re(r), i = "" + r), Ve(t) && (Re(t.key), i = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
|
|
@@ -2642,13 +2642,13 @@ function Dr() {
|
|
|
2642
2642
|
var w = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
2643
2643
|
i && Qe(_, w), P && et(_, w);
|
|
2644
2644
|
}
|
|
2645
|
-
return tt(e, i, P, f,
|
|
2645
|
+
return tt(e, i, P, f, n, Ee.current, _);
|
|
2646
2646
|
}
|
|
2647
2647
|
}
|
|
2648
2648
|
var de = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
2649
2649
|
function J(e) {
|
|
2650
2650
|
if (e) {
|
|
2651
|
-
var t = e._owner, r =
|
|
2651
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
2652
2652
|
De.setExtraStackFrame(r);
|
|
2653
2653
|
} else
|
|
2654
2654
|
De.setExtraStackFrame(null);
|
|
@@ -2670,11 +2670,11 @@ Check the render method of \`` + e + "`.";
|
|
|
2670
2670
|
return "";
|
|
2671
2671
|
}
|
|
2672
2672
|
}
|
|
2673
|
-
function
|
|
2673
|
+
function at(e) {
|
|
2674
2674
|
return "";
|
|
2675
2675
|
}
|
|
2676
2676
|
var Ne = {};
|
|
2677
|
-
function
|
|
2677
|
+
function nt(e) {
|
|
2678
2678
|
{
|
|
2679
2679
|
var t = Pe();
|
|
2680
2680
|
if (!t) {
|
|
@@ -2691,12 +2691,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2691
2691
|
if (!e._store || e._store.validated || e.key != null)
|
|
2692
2692
|
return;
|
|
2693
2693
|
e._store.validated = !0;
|
|
2694
|
-
var r =
|
|
2694
|
+
var r = nt(t);
|
|
2695
2695
|
if (Ne[r])
|
|
2696
2696
|
return;
|
|
2697
2697
|
Ne[r] = !0;
|
|
2698
|
-
var
|
|
2699
|
-
e && e._owner && e._owner !== de.current && (
|
|
2698
|
+
var n = "";
|
|
2699
|
+
e && e._owner && e._owner !== de.current && (n = " It was passed a child from " + m(e._owner.type) + "."), J(e), v('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), J(null);
|
|
2700
2700
|
}
|
|
2701
2701
|
}
|
|
2702
2702
|
function Me(e, t) {
|
|
@@ -2705,13 +2705,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2705
2705
|
return;
|
|
2706
2706
|
if (ue(e))
|
|
2707
2707
|
for (var r = 0; r < e.length; r++) {
|
|
2708
|
-
var
|
|
2709
|
-
pe(
|
|
2708
|
+
var n = e[r];
|
|
2709
|
+
pe(n) && Fe(n, t);
|
|
2710
2710
|
}
|
|
2711
2711
|
else if (pe(e))
|
|
2712
2712
|
e._store && (e._store.validated = !0);
|
|
2713
2713
|
else if (e) {
|
|
2714
|
-
var f =
|
|
2714
|
+
var f = I(e);
|
|
2715
2715
|
if (typeof f == "function" && f !== e.entries)
|
|
2716
2716
|
for (var y = f.call(e), _; !(_ = y.next()).done; )
|
|
2717
2717
|
pe(_.value) && Fe(_.value, t);
|
|
@@ -2733,8 +2733,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2733
2733
|
else
|
|
2734
2734
|
return;
|
|
2735
2735
|
if (r) {
|
|
2736
|
-
var
|
|
2737
|
-
ze(r, e.props, "prop",
|
|
2736
|
+
var n = m(t);
|
|
2737
|
+
ze(r, e.props, "prop", n, e);
|
|
2738
2738
|
} else if (t.PropTypes !== void 0 && !fe) {
|
|
2739
2739
|
fe = !0;
|
|
2740
2740
|
var f = m(t);
|
|
@@ -2746,9 +2746,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2746
2746
|
function it(e) {
|
|
2747
2747
|
{
|
|
2748
2748
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2749
|
-
var
|
|
2750
|
-
if (
|
|
2751
|
-
J(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
2749
|
+
var n = t[r];
|
|
2750
|
+
if (n !== "children" && n !== "key") {
|
|
2751
|
+
J(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), J(null);
|
|
2752
2752
|
break;
|
|
2753
2753
|
}
|
|
2754
2754
|
}
|
|
@@ -2756,13 +2756,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2756
2756
|
}
|
|
2757
2757
|
}
|
|
2758
2758
|
var Ie = {};
|
|
2759
|
-
function $e(e, t, r,
|
|
2759
|
+
function $e(e, t, r, n, f, y) {
|
|
2760
2760
|
{
|
|
2761
2761
|
var _ = L(e);
|
|
2762
2762
|
if (!_) {
|
|
2763
2763
|
var i = "";
|
|
2764
2764
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2765
|
-
var P =
|
|
2765
|
+
var P = at();
|
|
2766
2766
|
P ? i += P : i += Pe();
|
|
2767
2767
|
var b;
|
|
2768
2768
|
e === null ? b = "null" : ue(e) ? b = "array" : e !== void 0 && e.$$typeof === s ? (b = "<" + (m(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, i);
|
|
@@ -2773,7 +2773,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2773
2773
|
if (_) {
|
|
2774
2774
|
var A = t.children;
|
|
2775
2775
|
if (A !== void 0)
|
|
2776
|
-
if (
|
|
2776
|
+
if (n)
|
|
2777
2777
|
if (ue(A)) {
|
|
2778
2778
|
for (var Z = 0; Z < A.length; Z++)
|
|
2779
2779
|
Me(A[Z], e);
|
|
@@ -2822,7 +2822,7 @@ const Pr = "_btn_1k1b3_1", Nr = "_confirm_1k1b3_15", Fr = "_cancel_1k1b3_20", Mr
|
|
|
2822
2822
|
m: $r,
|
|
2823
2823
|
l: Ar
|
|
2824
2824
|
}, Br = ({
|
|
2825
|
-
onClick:
|
|
2825
|
+
onClick: a,
|
|
2826
2826
|
onSend: s,
|
|
2827
2827
|
size: u = "m",
|
|
2828
2828
|
view: d = "confirm",
|
|
@@ -2836,9 +2836,9 @@ const Pr = "_btn_1k1b3_1", Nr = "_confirm_1k1b3_15", Fr = "_cancel_1k1b3_20", Mr
|
|
|
2836
2836
|
awaitText: h = "Ожидайте"
|
|
2837
2837
|
}) => {
|
|
2838
2838
|
let [g, D] = K.useState(!1);
|
|
2839
|
-
const M = (
|
|
2840
|
-
if (
|
|
2841
|
-
g || (s ? (D(!0), s(D)) :
|
|
2839
|
+
const M = (I) => {
|
|
2840
|
+
if (a) return a();
|
|
2841
|
+
g || (s ? (D(!0), s(D)) : I.preventDefault());
|
|
2842
2842
|
};
|
|
2843
2843
|
let W = {};
|
|
2844
2844
|
return (x || g) && (W.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
@@ -2851,7 +2851,7 @@ const Pr = "_btn_1k1b3_1", Nr = "_confirm_1k1b3_15", Fr = "_cancel_1k1b3_20", Mr
|
|
|
2851
2851
|
g ? xt.disabled : xt[d],
|
|
2852
2852
|
u && xt[u],
|
|
2853
2853
|
O
|
|
2854
|
-
].filter((
|
|
2854
|
+
].filter((I) => I != "").join(" "),
|
|
2855
2855
|
onClick: M,
|
|
2856
2856
|
children: g ? h : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2857
2857
|
l || "",
|
|
@@ -2864,11 +2864,11 @@ const Pr = "_btn_1k1b3_1", Nr = "_confirm_1k1b3_15", Fr = "_cancel_1k1b3_20", Mr
|
|
|
2864
2864
|
);
|
|
2865
2865
|
};
|
|
2866
2866
|
let Be = {};
|
|
2867
|
-
function Lr({ children:
|
|
2868
|
-
return /* @__PURE__ */ X.jsx(X.Fragment, { children:
|
|
2867
|
+
function Lr({ children: a }) {
|
|
2868
|
+
return /* @__PURE__ */ X.jsx(X.Fragment, { children: a });
|
|
2869
2869
|
}
|
|
2870
2870
|
var St;
|
|
2871
|
-
((
|
|
2871
|
+
((a) => {
|
|
2872
2872
|
function s({
|
|
2873
2873
|
import_modules: p
|
|
2874
2874
|
}) {
|
|
@@ -2881,17 +2881,17 @@ var St;
|
|
|
2881
2881
|
h([...o, { key: D, item: g }]);
|
|
2882
2882
|
}, /* @__PURE__ */ X.jsx(X.Fragment, { children: o.map((g) => g.item) });
|
|
2883
2883
|
}
|
|
2884
|
-
|
|
2884
|
+
a.Init = s;
|
|
2885
2885
|
function u(p) {
|
|
2886
2886
|
return p && (Be.i = p), Be.i;
|
|
2887
2887
|
}
|
|
2888
|
-
|
|
2888
|
+
a.Import = u, a.List = Sr, a.Scroll = Cr, a.Form = Rr, a.Center = Er, a.Column = Or;
|
|
2889
2889
|
function d(p, o, h) {
|
|
2890
2890
|
Be.i(`${p}/modal/${o}.tsx`).then((g) => {
|
|
2891
2891
|
g.default.Open(h);
|
|
2892
2892
|
});
|
|
2893
2893
|
}
|
|
2894
|
-
|
|
2894
|
+
a.Open = d;
|
|
2895
2895
|
function k({ type: p, name: o, params: h }) {
|
|
2896
2896
|
let [g, D] = K.useState(null);
|
|
2897
2897
|
return K.useEffect(() => {
|
|
@@ -2900,15 +2900,15 @@ var St;
|
|
|
2900
2900
|
});
|
|
2901
2901
|
}, [h.id]), /* @__PURE__ */ X.jsx(X.Fragment, { children: g });
|
|
2902
2902
|
}
|
|
2903
|
-
|
|
2903
|
+
a.Icon = k;
|
|
2904
2904
|
function x(p, o) {
|
|
2905
2905
|
Be.add(/* @__PURE__ */ X.jsx(Lr, { children: p }, String(Date.now())), o);
|
|
2906
2906
|
}
|
|
2907
|
-
|
|
2907
|
+
a.Add = x;
|
|
2908
2908
|
function O(p) {
|
|
2909
2909
|
Be.x(p);
|
|
2910
2910
|
}
|
|
2911
|
-
|
|
2911
|
+
a.Close = O;
|
|
2912
2912
|
function S(p) {
|
|
2913
2913
|
if (p.target.classList[0] !== "modal") return;
|
|
2914
2914
|
let o = p.target.children[0];
|
|
@@ -2916,7 +2916,7 @@ var St;
|
|
|
2916
2916
|
o.setAttribute("shake", !1);
|
|
2917
2917
|
}, 1e3);
|
|
2918
2918
|
}
|
|
2919
|
-
|
|
2919
|
+
a.Shake = S;
|
|
2920
2920
|
function l({
|
|
2921
2921
|
title: p,
|
|
2922
2922
|
children: o,
|
|
@@ -2925,16 +2925,16 @@ var St;
|
|
|
2925
2925
|
size: D = "m",
|
|
2926
2926
|
className: M = "",
|
|
2927
2927
|
shake: W = !0,
|
|
2928
|
-
menu:
|
|
2928
|
+
menu: I
|
|
2929
2929
|
}) {
|
|
2930
|
-
const [R, v] = K.useState(!0), B = K.useRef(), Y = (
|
|
2930
|
+
const [R, v] = K.useState(!0), B = K.useRef(), Y = ($) => {
|
|
2931
2931
|
if (h) {
|
|
2932
2932
|
if (h.onClick)
|
|
2933
|
-
return
|
|
2933
|
+
return $(!1), h.onClick({ setOpen: v });
|
|
2934
2934
|
if (h.onSend)
|
|
2935
2935
|
return h.onSend({
|
|
2936
2936
|
setOpen: v,
|
|
2937
|
-
disabled:
|
|
2937
|
+
disabled: $
|
|
2938
2938
|
});
|
|
2939
2939
|
}
|
|
2940
2940
|
}, z = () => {
|
|
@@ -2948,22 +2948,22 @@ var St;
|
|
|
2948
2948
|
/* @__PURE__ */ X.jsxs(
|
|
2949
2949
|
"div",
|
|
2950
2950
|
{
|
|
2951
|
-
className: [ye.w, ye[`s${D}`], M].filter((
|
|
2951
|
+
className: [ye.w, ye[`s${D}`], M].filter(($) => $ != "").join(" "),
|
|
2952
2952
|
ref: B,
|
|
2953
2953
|
children: [
|
|
2954
2954
|
/* @__PURE__ */ X.jsxs("div", { className: ye.h, children: [
|
|
2955
2955
|
/* @__PURE__ */ X.jsx("div", { className: ye.t, children: p }),
|
|
2956
2956
|
/* @__PURE__ */ X.jsxs("div", { className: ye.m, children: [
|
|
2957
|
-
g && /* @__PURE__ */ X.jsx("nav", { children: g.map((
|
|
2957
|
+
g && /* @__PURE__ */ X.jsx("nav", { children: g.map(($, U) => /* @__PURE__ */ X.jsx(
|
|
2958
2958
|
"span",
|
|
2959
2959
|
{
|
|
2960
|
-
onClick:
|
|
2961
|
-
className:
|
|
2962
|
-
children:
|
|
2960
|
+
onClick: $.onClick,
|
|
2961
|
+
className: $.active ? "active" : "",
|
|
2962
|
+
children: $.name
|
|
2963
2963
|
},
|
|
2964
2964
|
U
|
|
2965
2965
|
)) }),
|
|
2966
|
-
|
|
2966
|
+
I
|
|
2967
2967
|
] }),
|
|
2968
2968
|
/* @__PURE__ */ X.jsx(
|
|
2969
2969
|
"div",
|
|
@@ -2999,11 +2999,11 @@ var St;
|
|
|
2999
2999
|
)
|
|
3000
3000
|
] }) : "";
|
|
3001
3001
|
}
|
|
3002
|
-
|
|
3002
|
+
a.Main = l;
|
|
3003
3003
|
})(St || (St = {}));
|
|
3004
|
-
const Wr = (
|
|
3005
|
-
function
|
|
3006
|
-
value:
|
|
3004
|
+
const Wr = (a, s = ",") => (a = a !== void 0 && a !== "" ? a.split(s) : [], a.filter((u) => u !== "").reduce((u, d) => (u[d] = !0, u), {}));
|
|
3005
|
+
function _a({
|
|
3006
|
+
value: a,
|
|
3007
3007
|
onValue: s,
|
|
3008
3008
|
name: u,
|
|
3009
3009
|
placeholder: d = "",
|
|
@@ -3019,28 +3019,28 @@ function sn({
|
|
|
3019
3019
|
options: D,
|
|
3020
3020
|
className: M
|
|
3021
3021
|
}) {
|
|
3022
|
-
const [W,
|
|
3022
|
+
const [W, I] = K.useState(Wr(a, k)), R = (Y) => {
|
|
3023
3023
|
if (!(l && p) || !g) return;
|
|
3024
3024
|
let z = g.split(".");
|
|
3025
3025
|
St.Open(z[0], z[1], {
|
|
3026
|
-
callback: (
|
|
3026
|
+
callback: ($) => {
|
|
3027
3027
|
if (s)
|
|
3028
3028
|
switch (o) {
|
|
3029
3029
|
case "array":
|
|
3030
|
-
s({ value: Object.keys(
|
|
3030
|
+
s({ value: Object.keys($), name: u });
|
|
3031
3031
|
break;
|
|
3032
3032
|
case "string":
|
|
3033
3033
|
s({
|
|
3034
|
-
value: Object.keys(
|
|
3034
|
+
value: Object.keys($).filter((U) => $[U]).join(k),
|
|
3035
3035
|
name: u
|
|
3036
3036
|
});
|
|
3037
3037
|
break;
|
|
3038
3038
|
default:
|
|
3039
|
-
s({ value:
|
|
3039
|
+
s({ value: $, name: u });
|
|
3040
3040
|
}
|
|
3041
|
-
|
|
3041
|
+
I(
|
|
3042
3042
|
Object.fromEntries(
|
|
3043
|
-
Object.entries(
|
|
3043
|
+
Object.entries($).filter(
|
|
3044
3044
|
([U, N]) => N !== !1
|
|
3045
3045
|
)
|
|
3046
3046
|
)
|
|
@@ -3094,8 +3094,8 @@ const Ur = "_o_1wehm_12", Kr = "_l_1wehm_22", Yr = "_i_1wehm_72", zr = "_f_1wehm
|
|
|
3094
3094
|
i: Yr,
|
|
3095
3095
|
f: zr
|
|
3096
3096
|
};
|
|
3097
|
-
function
|
|
3098
|
-
title:
|
|
3097
|
+
function sa({
|
|
3098
|
+
title: a,
|
|
3099
3099
|
error: s,
|
|
3100
3100
|
edit: u = !0,
|
|
3101
3101
|
active: d = !0,
|
|
@@ -3113,14 +3113,14 @@ function ln({
|
|
|
3113
3113
|
isReload: W = !1
|
|
3114
3114
|
}) {
|
|
3115
3115
|
var j, T;
|
|
3116
|
-
const
|
|
3116
|
+
const I = K.useRef(null), [R, v] = K.useState(x), [B, Y] = K.useState(S), [z, $] = K.useState(!1);
|
|
3117
3117
|
K.useEffect(() => {
|
|
3118
3118
|
v(x), Y(S);
|
|
3119
3119
|
}, [x, S]), k = !!(k && (x === 0 || ((j = B == null ? void 0 : B[x]) == null ? void 0 : j.n) === void 0)) && !(u && d);
|
|
3120
3120
|
let N = (m) => {
|
|
3121
3121
|
v(m), O && O({ value: m, name: h, reload: W });
|
|
3122
3122
|
}, L = { onClick: (m) => {
|
|
3123
|
-
Object.keys(B || {}).length !== 0 && u && d && (
|
|
3123
|
+
Object.keys(B || {}).length !== 0 && u && d && (I.position = m.target.getBoundingClientRect(), $(!0));
|
|
3124
3124
|
} };
|
|
3125
3125
|
return l && (L.placeholder = l), g && (L.after = g), u && d && (L.edit = ""), k ? "" : /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
3126
3126
|
/* @__PURE__ */ c.jsxs(
|
|
@@ -3129,13 +3129,13 @@ function ln({
|
|
|
3129
3129
|
"data-field": "select",
|
|
3130
3130
|
className: [q.l, p].filter((m) => m !== void 0).join(" "),
|
|
3131
3131
|
children: [
|
|
3132
|
-
|
|
3132
|
+
a && /* @__PURE__ */ c.jsx("dt", { className: q.t, children: a }),
|
|
3133
3133
|
/* @__PURE__ */ c.jsx(
|
|
3134
3134
|
"dd",
|
|
3135
3135
|
{
|
|
3136
3136
|
...L,
|
|
3137
3137
|
className: [q.f, Ct.f].join(" "),
|
|
3138
|
-
ref:
|
|
3138
|
+
ref: I,
|
|
3139
3139
|
children: (T = B == null ? void 0 : B[R]) == null ? void 0 : T.n
|
|
3140
3140
|
}
|
|
3141
3141
|
),
|
|
@@ -3161,13 +3161,13 @@ function ln({
|
|
|
3161
3161
|
/* @__PURE__ */ c.jsx(
|
|
3162
3162
|
Gr,
|
|
3163
3163
|
{
|
|
3164
|
-
parent:
|
|
3164
|
+
parent: I.position,
|
|
3165
3165
|
onValue: N,
|
|
3166
3166
|
view: D,
|
|
3167
3167
|
className: p,
|
|
3168
3168
|
options: B,
|
|
3169
3169
|
order: M,
|
|
3170
|
-
setOpen:
|
|
3170
|
+
setOpen: $
|
|
3171
3171
|
},
|
|
3172
3172
|
(/* @__PURE__ */ new Date()).getTime()
|
|
3173
3173
|
),
|
|
@@ -3176,7 +3176,7 @@ function ln({
|
|
|
3176
3176
|
] });
|
|
3177
3177
|
}
|
|
3178
3178
|
const Gr = ({
|
|
3179
|
-
onValue:
|
|
3179
|
+
onValue: a,
|
|
3180
3180
|
parent: s,
|
|
3181
3181
|
className: u,
|
|
3182
3182
|
options: d,
|
|
@@ -3186,7 +3186,7 @@ const Gr = ({
|
|
|
3186
3186
|
let O = () => {
|
|
3187
3187
|
x(!1);
|
|
3188
3188
|
}, S = (o) => {
|
|
3189
|
-
x(!1),
|
|
3189
|
+
x(!1), a(o);
|
|
3190
3190
|
}, l = window.innerHeight - s.y + s.height < 320 ? s.y - 312 : s.y + 33, p = window.innerWidth - s.x < 265 ? s.x - 235 : s.x;
|
|
3191
3191
|
return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
3192
3192
|
/* @__PURE__ */ c.jsx(
|
|
@@ -3210,7 +3210,7 @@ const Gr = ({
|
|
|
3210
3210
|
}
|
|
3211
3211
|
)
|
|
3212
3212
|
] });
|
|
3213
|
-
}, qr = ({ order:
|
|
3213
|
+
}, qr = ({ order: a, options: s, link: u }) => a ? /* @__PURE__ */ c.jsx("ul", { children: a.map(
|
|
3214
3214
|
(d, k) => s[d].s !== 0 ? /* @__PURE__ */ c.jsx(
|
|
3215
3215
|
"li",
|
|
3216
3216
|
{
|
|
@@ -3233,8 +3233,8 @@ const Gr = ({
|
|
|
3233
3233
|
k
|
|
3234
3234
|
) : ""
|
|
3235
3235
|
) });
|
|
3236
|
-
function
|
|
3237
|
-
value:
|
|
3236
|
+
function la({
|
|
3237
|
+
value: a,
|
|
3238
3238
|
onValue: s,
|
|
3239
3239
|
name: u,
|
|
3240
3240
|
placeholder: d = "",
|
|
@@ -3251,17 +3251,17 @@ function cn({
|
|
|
3251
3251
|
options: M,
|
|
3252
3252
|
className: W
|
|
3253
3253
|
}) {
|
|
3254
|
-
let [
|
|
3254
|
+
let [I, R] = K.useState(a), v = (z) => {
|
|
3255
3255
|
if (!(S && p) || !g) return;
|
|
3256
|
-
let
|
|
3257
|
-
St.Open(
|
|
3256
|
+
let $ = g.split(".");
|
|
3257
|
+
St.Open($[0], $[1], {
|
|
3258
3258
|
callback: (U) => {
|
|
3259
3259
|
s && s({ value: U, name: u }), R(U);
|
|
3260
3260
|
},
|
|
3261
3261
|
onValue: s,
|
|
3262
3262
|
options: M,
|
|
3263
3263
|
name: u,
|
|
3264
|
-
value:
|
|
3264
|
+
value: a
|
|
3265
3265
|
});
|
|
3266
3266
|
};
|
|
3267
3267
|
const B = {};
|
|
@@ -3276,14 +3276,14 @@ function cn({
|
|
|
3276
3276
|
onClick: v,
|
|
3277
3277
|
edit: (S && p) + "",
|
|
3278
3278
|
"data-after": o,
|
|
3279
|
-
children:
|
|
3279
|
+
children: I
|
|
3280
3280
|
}
|
|
3281
3281
|
),
|
|
3282
3282
|
x && /* @__PURE__ */ c.jsx("em", { children: x })
|
|
3283
3283
|
] });
|
|
3284
3284
|
}
|
|
3285
|
-
function
|
|
3286
|
-
value:
|
|
3285
|
+
function ca({
|
|
3286
|
+
value: a,
|
|
3287
3287
|
onValue: s,
|
|
3288
3288
|
onSave: u,
|
|
3289
3289
|
name: d,
|
|
@@ -3300,7 +3300,7 @@ function un({
|
|
|
3300
3300
|
eyes: M = [],
|
|
3301
3301
|
after: W = ""
|
|
3302
3302
|
}) {
|
|
3303
|
-
const [
|
|
3303
|
+
const [I, R] = K.useState(g);
|
|
3304
3304
|
let v = (N) => {
|
|
3305
3305
|
s && s({
|
|
3306
3306
|
value: N.target.textContent,
|
|
@@ -3326,10 +3326,10 @@ function un({
|
|
|
3326
3326
|
}, z = (N) => {
|
|
3327
3327
|
te.Blur(N), u == null || u({ value: N.target.textContent.trim(), name: d });
|
|
3328
3328
|
};
|
|
3329
|
-
const
|
|
3330
|
-
|
|
3329
|
+
const $ = {};
|
|
3330
|
+
$.field = "password", I && ($.show = ""), x && ($.className = x);
|
|
3331
3331
|
const U = {};
|
|
3332
|
-
return k && (U.placeholder = k), h ? "" : /* @__PURE__ */ c.jsxs("dl", {
|
|
3332
|
+
return k && (U.placeholder = k), h ? "" : /* @__PURE__ */ c.jsxs("dl", { ...$, children: [
|
|
3333
3333
|
O ? /* @__PURE__ */ c.jsx("dt", { children: O }) : "",
|
|
3334
3334
|
/* @__PURE__ */ c.jsx(
|
|
3335
3335
|
"dd",
|
|
@@ -3341,16 +3341,16 @@ function un({
|
|
|
3341
3341
|
contentEditable: l && p ? te.ContentEditable : "false",
|
|
3342
3342
|
...U,
|
|
3343
3343
|
suppressContentEditableWarning: !0,
|
|
3344
|
-
children:
|
|
3344
|
+
children: a
|
|
3345
3345
|
}
|
|
3346
3346
|
),
|
|
3347
|
-
M[0] && /* @__PURE__ */ c.jsx("i", { onClick: () => R(
|
|
3347
|
+
M[0] && /* @__PURE__ */ c.jsx("i", { onClick: () => R(!I), children: I ? M[1] : M[0] }),
|
|
3348
3348
|
W,
|
|
3349
3349
|
S ? /* @__PURE__ */ c.jsx("em", { children: S }) : ""
|
|
3350
3350
|
] });
|
|
3351
3351
|
}
|
|
3352
|
-
function
|
|
3353
|
-
onValue:
|
|
3352
|
+
function ua({
|
|
3353
|
+
onValue: a,
|
|
3354
3354
|
onSave: s,
|
|
3355
3355
|
active: u,
|
|
3356
3356
|
max: d,
|
|
@@ -3366,11 +3366,11 @@ function dn({
|
|
|
3366
3366
|
name: D,
|
|
3367
3367
|
after: M = "",
|
|
3368
3368
|
before: W = "",
|
|
3369
|
-
view:
|
|
3369
|
+
view: I
|
|
3370
3370
|
}) {
|
|
3371
3371
|
k = k !== void 0 ? k : !0, u = u !== void 0 ? u : !0, l = !!(l && (p === "" || p === void 0)) && !(k && u), o = o !== void 0 ? o : "", d = d !== void 0 ? d : 99;
|
|
3372
3372
|
let v = !1, B = (C) => {
|
|
3373
|
-
|
|
3373
|
+
a == null || a({ value: C.target.textContent, name: D });
|
|
3374
3374
|
}, Y = (C) => {
|
|
3375
3375
|
if (!(v && C.which === 86)) {
|
|
3376
3376
|
if (C.which === 17 || C.which === 91) return v = !0;
|
|
@@ -3378,7 +3378,7 @@ function dn({
|
|
|
3378
3378
|
}
|
|
3379
3379
|
}, z = (C) => {
|
|
3380
3380
|
if (C.which === 17 || C.which === 91) return v = !1;
|
|
3381
|
-
},
|
|
3381
|
+
}, $ = (C) => {
|
|
3382
3382
|
C.preventDefault(), navigator.clipboard.readText().then((L) => {
|
|
3383
3383
|
if (L = L.replace(/(?!^\+|\d)./g, ""), g) {
|
|
3384
3384
|
let j = C.target.textContent.length;
|
|
@@ -3405,7 +3405,7 @@ function dn({
|
|
|
3405
3405
|
"dd",
|
|
3406
3406
|
{
|
|
3407
3407
|
className: [q.f, q.w].join(" "),
|
|
3408
|
-
onPaste:
|
|
3408
|
+
onPaste: $,
|
|
3409
3409
|
onInput: B,
|
|
3410
3410
|
onBlur: U,
|
|
3411
3411
|
onKeyDown: Y,
|
|
@@ -3421,8 +3421,8 @@ function dn({
|
|
|
3421
3421
|
}
|
|
3422
3422
|
);
|
|
3423
3423
|
}
|
|
3424
|
-
function
|
|
3425
|
-
value:
|
|
3424
|
+
function da({
|
|
3425
|
+
value: a = "",
|
|
3426
3426
|
onValue: s,
|
|
3427
3427
|
onSave: u,
|
|
3428
3428
|
name: d,
|
|
@@ -3438,8 +3438,8 @@ function fn({
|
|
|
3438
3438
|
view: D,
|
|
3439
3439
|
className: M = ""
|
|
3440
3440
|
}) {
|
|
3441
|
-
p = p !== void 0 ? p : !0, o = o !== void 0 ? o : !0, l = !!(l && (
|
|
3442
|
-
let
|
|
3441
|
+
p = p !== void 0 ? p : !0, o = o !== void 0 ? o : !0, l = !!(l && (a === "" || a === void 0)) && !(p && o), K.useRef(null);
|
|
3442
|
+
let I = k, R = !0, v = 0, B = (T, m) => {
|
|
3443
3443
|
let E = document.createRange(), G = window.getSelection();
|
|
3444
3444
|
E.setStart(m.childNodes[0], T), E.collapse(!0), G.removeAllRanges(), G.addRange(E), m.focus();
|
|
3445
3445
|
}, Y = (T) => {
|
|
@@ -3452,13 +3452,13 @@ function fn({
|
|
|
3452
3452
|
G === "" && (R = !0);
|
|
3453
3453
|
let V = G.split(""), ie = "";
|
|
3454
3454
|
V.forEach((ge) => {
|
|
3455
|
-
R && (ie += ge, R && (v = ("" + ie).length,
|
|
3455
|
+
R && (ie += ge, R && (v = ("" + ie).length, I = k.replace(new RegExp("[0-9]", "g"), "_"), E = ""), v > ("" + ie).length && (R = !0, I = k.replace(new RegExp("[0-9]", "g"), "_"), E = ""));
|
|
3456
3456
|
});
|
|
3457
|
-
let _e =
|
|
3458
|
-
return _e.length >= G.length && (G = _e), { q:
|
|
3457
|
+
let _e = I.replace(/\D/g, "");
|
|
3458
|
+
return _e.length >= G.length && (G = _e), { q: I.replace(/[_\d]/g, function() {
|
|
3459
3459
|
return G.charAt(m++) || "_";
|
|
3460
3460
|
}), i: m, v: G, f: E };
|
|
3461
|
-
},
|
|
3461
|
+
}, $ = (T) => {
|
|
3462
3462
|
T.preventDefault(), navigator.clipboard.writeText(T.target.textContent.replace(/\D/g, "")).then(
|
|
3463
3463
|
function() {
|
|
3464
3464
|
kt.Copy("Данные в буфер обмене");
|
|
@@ -3466,9 +3466,9 @@ function fn({
|
|
|
3466
3466
|
function(m) {
|
|
3467
3467
|
}
|
|
3468
3468
|
);
|
|
3469
|
-
}, U = z(
|
|
3469
|
+
}, U = z(a), N = (T) => {
|
|
3470
3470
|
let m = z(T.target.textContent);
|
|
3471
|
-
T.target.textContent = m.q, m.i = m.q.lastIndexOf(m.v.substr(-1)), m.i < m.q.length && m.q !==
|
|
3471
|
+
T.target.textContent = m.q, m.i = m.q.lastIndexOf(m.v.substr(-1)), m.i < m.q.length && m.q !== I ? m.i++ : m.i = m.q.indexOf("_"), B(m.i, T.target), s && s({ value: m.q.replace(/\D/g, ""), name: d });
|
|
3472
3472
|
}, C = (T) => {
|
|
3473
3473
|
T.key === "Enter" && T.preventDefault();
|
|
3474
3474
|
};
|
|
@@ -3493,7 +3493,7 @@ function fn({
|
|
|
3493
3493
|
onPaste: Y,
|
|
3494
3494
|
onInput: N,
|
|
3495
3495
|
onKeyDown: C,
|
|
3496
|
-
onContextMenu:
|
|
3496
|
+
onContextMenu: $,
|
|
3497
3497
|
onBlur: L,
|
|
3498
3498
|
suppressContentEditableWarning: !0,
|
|
3499
3499
|
...j,
|
|
@@ -3505,8 +3505,8 @@ function fn({
|
|
|
3505
3505
|
}
|
|
3506
3506
|
);
|
|
3507
3507
|
}
|
|
3508
|
-
function
|
|
3509
|
-
id:
|
|
3508
|
+
function fa({
|
|
3509
|
+
id: a,
|
|
3510
3510
|
value: s,
|
|
3511
3511
|
onValue: u,
|
|
3512
3512
|
name: d,
|
|
@@ -3522,7 +3522,7 @@ function pn({
|
|
|
3522
3522
|
view: D,
|
|
3523
3523
|
onSave: M,
|
|
3524
3524
|
className: W = "",
|
|
3525
|
-
isCopy:
|
|
3525
|
+
isCopy: I = !0
|
|
3526
3526
|
}) {
|
|
3527
3527
|
let [R, v] = K.useState(!1);
|
|
3528
3528
|
R = l ? !0 : R;
|
|
@@ -3531,14 +3531,14 @@ function pn({
|
|
|
3531
3531
|
}, Y = (C) => {
|
|
3532
3532
|
g && C.target.textContent.trim().length >= g && C.key !== "Backspace" && C.preventDefault(), C.key === "Enter" && C.preventDefault();
|
|
3533
3533
|
}, z = (C) => {
|
|
3534
|
-
|
|
3534
|
+
I && (C.preventDefault(), navigator.clipboard.writeText(C.target.textContent.trim()).then(
|
|
3535
3535
|
function() {
|
|
3536
3536
|
kt.Copy("Данные в буфер обмене");
|
|
3537
3537
|
},
|
|
3538
3538
|
function(L) {
|
|
3539
3539
|
}
|
|
3540
3540
|
));
|
|
3541
|
-
},
|
|
3541
|
+
}, $ = (C) => {
|
|
3542
3542
|
C.preventDefault(), navigator.clipboard.readText().then((L) => {
|
|
3543
3543
|
if (g) {
|
|
3544
3544
|
let j = C.target.textContent.length;
|
|
@@ -3571,7 +3571,7 @@ function pn({
|
|
|
3571
3571
|
"dd",
|
|
3572
3572
|
{
|
|
3573
3573
|
className: [q.f, q.n].join(" "),
|
|
3574
|
-
onPaste:
|
|
3574
|
+
onPaste: $,
|
|
3575
3575
|
onInput: B,
|
|
3576
3576
|
onBlur: N,
|
|
3577
3577
|
onKeyDown: Y,
|
|
@@ -4970,8 +4970,8 @@ const Ot = {
|
|
|
4970
4970
|
mask: "+1939(___) ___-__-__"
|
|
4971
4971
|
}
|
|
4972
4972
|
};
|
|
4973
|
-
function
|
|
4974
|
-
value:
|
|
4973
|
+
function pa({
|
|
4974
|
+
value: a,
|
|
4975
4975
|
onValue: s,
|
|
4976
4976
|
onSave: u,
|
|
4977
4977
|
name: d,
|
|
@@ -4986,8 +4986,8 @@ function mn({
|
|
|
4986
4986
|
view: g,
|
|
4987
4987
|
className: D = ""
|
|
4988
4988
|
}) {
|
|
4989
|
-
l = l !== void 0 ? l : !0, p = p !== void 0 ? p : !0, S = !!(S && (
|
|
4990
|
-
let W = "+_(___) ___-__-__",
|
|
4989
|
+
l = l !== void 0 ? l : !0, p = p !== void 0 ? p : !0, S = !!(S && (a === "" || a === void 0)) && !(l && p), K.useRef(null);
|
|
4990
|
+
let W = "+_(___) ___-__-__", I = !0, R = 0, v = (j, T) => {
|
|
4991
4991
|
let m = document.createRange(), E = window.getSelection();
|
|
4992
4992
|
m.setStart(T.childNodes[0], j), m.collapse(!0), E.removeAllRanges(), E.addRange(m), T.focus();
|
|
4993
4993
|
}, B = (j) => {
|
|
@@ -5000,13 +5000,13 @@ function mn({
|
|
|
5000
5000
|
});
|
|
5001
5001
|
}, z = (j) => {
|
|
5002
5002
|
let T = 0, m = "", E = j.replace(/\D/g, "");
|
|
5003
|
-
E === "" && (
|
|
5003
|
+
E === "" && (I = !0);
|
|
5004
5004
|
let G = E.split(""), V = "";
|
|
5005
5005
|
G.forEach((ve) => {
|
|
5006
|
-
|
|
5006
|
+
I && (V += ve, Ot[V] !== void 0 && I ? (I = !1, W = Ot[V].mask.replace(new RegExp("[0-9]", "g"), "_"), m = Ot[V].code) : (I && (R = ("" + V).length, W = `+${V}_(___) ___-__-__`.replace(
|
|
5007
5007
|
new RegExp("[0-9]", "g"),
|
|
5008
5008
|
"_"
|
|
5009
|
-
), m = ""), R > ("" + V).length && (
|
|
5009
|
+
), m = ""), R > ("" + V).length && (I = !0, W = `+${V}_(___) ___-__-__`.replace(
|
|
5010
5010
|
new RegExp("[0-9]", "g"),
|
|
5011
5011
|
"_"
|
|
5012
5012
|
), m = "")));
|
|
@@ -5015,7 +5015,7 @@ function mn({
|
|
|
5015
5015
|
return ie.length >= E.length && (E = ie), { q: W.replace(/[_\d]/g, function() {
|
|
5016
5016
|
return E.charAt(T++) || "_";
|
|
5017
5017
|
}), i: T, v: E, f: m };
|
|
5018
|
-
},
|
|
5018
|
+
}, $ = (j) => {
|
|
5019
5019
|
j.preventDefault(), navigator.clipboard.writeText(j.target.textContent.replace(/\D/g, "")).then(
|
|
5020
5020
|
function() {
|
|
5021
5021
|
kt.Copy("Данные в буфер обмене");
|
|
@@ -5023,7 +5023,7 @@ function mn({
|
|
|
5023
5023
|
function(T) {
|
|
5024
5024
|
}
|
|
5025
5025
|
);
|
|
5026
|
-
}, U = z(
|
|
5026
|
+
}, U = z(a), N = (j) => {
|
|
5027
5027
|
j.key === "Enter" && j.preventDefault();
|
|
5028
5028
|
};
|
|
5029
5029
|
const C = (j) => {
|
|
@@ -5047,7 +5047,7 @@ function mn({
|
|
|
5047
5047
|
onPaste: Y,
|
|
5048
5048
|
onInput: B,
|
|
5049
5049
|
onKeyDown: N,
|
|
5050
|
-
onContextMenu:
|
|
5050
|
+
onContextMenu: $,
|
|
5051
5051
|
onBlur: C,
|
|
5052
5052
|
suppressContentEditableWarning: !0,
|
|
5053
5053
|
...L,
|
|
@@ -5063,8 +5063,8 @@ const Hr = "_o_76l23_1", Jr = "_c_76l23_11", Rt = {
|
|
|
5063
5063
|
o: Hr,
|
|
5064
5064
|
c: Jr
|
|
5065
5065
|
};
|
|
5066
|
-
function
|
|
5067
|
-
title:
|
|
5066
|
+
function ma({
|
|
5067
|
+
title: a,
|
|
5068
5068
|
error: s,
|
|
5069
5069
|
edit: u = !0,
|
|
5070
5070
|
active: d = !0,
|
|
@@ -5082,7 +5082,7 @@ function yn({
|
|
|
5082
5082
|
let [M, W] = K.useState(
|
|
5083
5083
|
g === void 0 ? /* @__PURE__ */ new Date() : g
|
|
5084
5084
|
);
|
|
5085
|
-
const
|
|
5085
|
+
const I = K.useRef(null), [R, v] = K.useState(!1);
|
|
5086
5086
|
let B = !u && d;
|
|
5087
5087
|
K.useEffect(() => {
|
|
5088
5088
|
W(g === void 0 ? /* @__PURE__ */ new Date() : g);
|
|
@@ -5091,23 +5091,23 @@ function yn({
|
|
|
5091
5091
|
W(U), p == null || p({ value: U, name: h });
|
|
5092
5092
|
}, z = (U) => {
|
|
5093
5093
|
const N = U.target.getBoundingClientRect(), C = N.left, L = N.bottom, j = N.top;
|
|
5094
|
-
|
|
5094
|
+
I.position = { x: C, b: L, y: j }, v(!0);
|
|
5095
5095
|
};
|
|
5096
|
-
const
|
|
5097
|
-
return x && (
|
|
5096
|
+
const $ = {};
|
|
5097
|
+
return x && ($.placeholder = x), B ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
5098
5098
|
o ? o() : /* @__PURE__ */ c.jsxs(
|
|
5099
5099
|
"dl",
|
|
5100
5100
|
{
|
|
5101
5101
|
"data-field": "date",
|
|
5102
5102
|
className: [q.l, k].filter((U) => U !== void 0).join(" "),
|
|
5103
5103
|
children: [
|
|
5104
|
-
|
|
5104
|
+
a ? /* @__PURE__ */ c.jsx("dt", { className: q.t, children: a }) : "",
|
|
5105
5105
|
/* @__PURE__ */ c.jsxs(
|
|
5106
5106
|
"dd",
|
|
5107
5107
|
{
|
|
5108
5108
|
onClick: z,
|
|
5109
5109
|
className: [q.f, q.w].join(" "),
|
|
5110
|
-
|
|
5110
|
+
...$,
|
|
5111
5111
|
"data-edit": (u && d) + "",
|
|
5112
5112
|
children: [
|
|
5113
5113
|
Xr(M, "dd.mm.yyyy"),
|
|
@@ -5123,7 +5123,7 @@ function yn({
|
|
|
5123
5123
|
/* @__PURE__ */ c.jsx(
|
|
5124
5124
|
Zr,
|
|
5125
5125
|
{
|
|
5126
|
-
position:
|
|
5126
|
+
position: I.position,
|
|
5127
5127
|
onValue: Y,
|
|
5128
5128
|
date: M,
|
|
5129
5129
|
max: O,
|
|
@@ -5136,8 +5136,8 @@ function yn({
|
|
|
5136
5136
|
)
|
|
5137
5137
|
] });
|
|
5138
5138
|
}
|
|
5139
|
-
const Zr = ({ date:
|
|
5140
|
-
let [O, S] = K.useState(!0), l = /* @__PURE__ */ new Date(), p = new Date(
|
|
5139
|
+
const Zr = ({ date: a, onValue: s, position: u, max: d, min: k, className: x }) => {
|
|
5140
|
+
let [O, S] = K.useState(!0), l = /* @__PURE__ */ new Date(), p = new Date(a), o = {
|
|
5141
5141
|
y: parseInt(l.getFullYear()),
|
|
5142
5142
|
d: parseInt(l.getDate()),
|
|
5143
5143
|
m: parseInt(l.getMonth()) + 1
|
|
@@ -5148,10 +5148,10 @@ const Zr = ({ date: n, onValue: s, position: u, max: d, min: k, className: x })
|
|
|
5148
5148
|
}, [g, D] = K.useState({ y: h.y, m: h.m }), M = (m) => {
|
|
5149
5149
|
let E = m.getDay();
|
|
5150
5150
|
return E === 0 && (E = 7), E - 1;
|
|
5151
|
-
}, W = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"],
|
|
5151
|
+
}, W = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], I = g.m - 1, R = new Date(g.y, I), v = [];
|
|
5152
5152
|
for (let m = 0; m < M(R); m++)
|
|
5153
5153
|
v.push(0);
|
|
5154
|
-
for (; R.getMonth() ===
|
|
5154
|
+
for (; R.getMonth() === I; )
|
|
5155
5155
|
v.push(R.getDate()), R.setDate(R.getDate() + 1);
|
|
5156
5156
|
let B = () => {
|
|
5157
5157
|
S(!1);
|
|
@@ -5159,7 +5159,7 @@ const Zr = ({ date: n, onValue: s, position: u, max: d, min: k, className: x })
|
|
|
5159
5159
|
U(g.m + 1, g.y);
|
|
5160
5160
|
}, z = () => {
|
|
5161
5161
|
U(g.m - 1, g.y);
|
|
5162
|
-
},
|
|
5162
|
+
}, $ = (m) => {
|
|
5163
5163
|
s(
|
|
5164
5164
|
g.y + "-" + Kt(2, g.m) + "-" + Kt(2, m)
|
|
5165
5165
|
), B();
|
|
@@ -5233,7 +5233,7 @@ const Zr = ({ date: n, onValue: s, position: u, max: d, min: k, className: x })
|
|
|
5233
5233
|
{
|
|
5234
5234
|
...N(m),
|
|
5235
5235
|
...C(m),
|
|
5236
|
-
onClick: () =>
|
|
5236
|
+
onClick: () => $(m),
|
|
5237
5237
|
children: m
|
|
5238
5238
|
}
|
|
5239
5239
|
) : /* @__PURE__ */ c.jsx("p", { ...N(m), ...C(m), children: m !== 0 ? m : "" }) }, E))
|
|
@@ -5243,8 +5243,8 @@ const Zr = ({ date: n, onValue: s, position: u, max: d, min: k, className: x })
|
|
|
5243
5243
|
)
|
|
5244
5244
|
] }) : "" });
|
|
5245
5245
|
};
|
|
5246
|
-
function Vr(
|
|
5247
|
-
return
|
|
5246
|
+
function Vr(a) {
|
|
5247
|
+
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
5248
5248
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5249
5249
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5250
5250
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5257,23 +5257,23 @@ function Vr(n) {
|
|
|
5257
5257
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5258
5258
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5259
5259
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5260
|
-
}[
|
|
5260
|
+
}[a];
|
|
5261
5261
|
}
|
|
5262
|
-
function Kt(
|
|
5262
|
+
function Kt(a, s) {
|
|
5263
5263
|
let u = s + "";
|
|
5264
|
-
for (; u.length <
|
|
5264
|
+
for (; u.length < a; ) u = "0" + u;
|
|
5265
5265
|
return u;
|
|
5266
5266
|
}
|
|
5267
|
-
function Xr(
|
|
5268
|
-
s === void 0 ? (s =
|
|
5267
|
+
function Xr(a, s) {
|
|
5268
|
+
s === void 0 ? (s = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
5269
5269
|
let u = {
|
|
5270
|
-
yyyy:
|
|
5271
|
-
yy: ("" +
|
|
5272
|
-
mm: ("0" + (
|
|
5273
|
-
dd: ("0" +
|
|
5274
|
-
HH: ("0" +
|
|
5275
|
-
MM: ("0" +
|
|
5276
|
-
SS: ("0" +
|
|
5270
|
+
yyyy: a.getFullYear(),
|
|
5271
|
+
yy: ("" + a.getFullYear()).slice(-2),
|
|
5272
|
+
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
5273
|
+
dd: ("0" + a.getDate()).slice(-2),
|
|
5274
|
+
HH: ("0" + a.getHours()).slice(-2),
|
|
5275
|
+
MM: ("0" + a.getMinutes()).slice(-2),
|
|
5276
|
+
SS: ("0" + a.getSeconds()).slice(-2),
|
|
5277
5277
|
__: " ",
|
|
5278
5278
|
_: " "
|
|
5279
5279
|
};
|
|
@@ -5281,8 +5281,8 @@ function Xr(n, s) {
|
|
|
5281
5281
|
s = s.replace(d, u[d]);
|
|
5282
5282
|
return s;
|
|
5283
5283
|
}
|
|
5284
|
-
function
|
|
5285
|
-
value:
|
|
5284
|
+
function ya({
|
|
5285
|
+
value: a,
|
|
5286
5286
|
onValue: s,
|
|
5287
5287
|
name: u,
|
|
5288
5288
|
view: d,
|
|
@@ -5295,17 +5295,17 @@ function vn({
|
|
|
5295
5295
|
className: o,
|
|
5296
5296
|
after: h
|
|
5297
5297
|
}) {
|
|
5298
|
-
let [g, D] = K.useState(
|
|
5299
|
-
const M = K.useRef(null), [W,
|
|
5298
|
+
let [g, D] = K.useState(a);
|
|
5299
|
+
const M = K.useRef(null), [W, I] = K.useState(!1);
|
|
5300
5300
|
K.useEffect(() => {
|
|
5301
|
-
D(
|
|
5302
|
-
}, [
|
|
5301
|
+
D(a);
|
|
5302
|
+
}, [a]);
|
|
5303
5303
|
let R = (Y) => {
|
|
5304
5304
|
D(Y), s && s({ value: Y, name: u });
|
|
5305
5305
|
}, v = (Y) => {
|
|
5306
5306
|
if (!O || !S) return;
|
|
5307
|
-
const z = Y.target.getBoundingClientRect(),
|
|
5308
|
-
|
|
5307
|
+
const z = Y.target.getBoundingClientRect(), $ = z.left, U = z.top;
|
|
5308
|
+
M.position = { x: $, y: U }, I(!0);
|
|
5309
5309
|
};
|
|
5310
5310
|
const B = {};
|
|
5311
5311
|
return p && (B.placeholder = p), x || /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
@@ -5322,7 +5322,7 @@ function vn({
|
|
|
5322
5322
|
onClick: v,
|
|
5323
5323
|
...B,
|
|
5324
5324
|
className: [q.f, q.w].join(" "),
|
|
5325
|
-
children:
|
|
5325
|
+
children: ea(g, "mm.yyyy")
|
|
5326
5326
|
}
|
|
5327
5327
|
),
|
|
5328
5328
|
k && /* @__PURE__ */ c.jsx("em", { children: k })
|
|
@@ -5343,8 +5343,8 @@ function vn({
|
|
|
5343
5343
|
)
|
|
5344
5344
|
] });
|
|
5345
5345
|
}
|
|
5346
|
-
const Qr = (
|
|
5347
|
-
let [s, u] = K.useState(!0), d = /* @__PURE__ */ new Date(), k = new Date(
|
|
5346
|
+
const Qr = (a) => {
|
|
5347
|
+
let [s, u] = K.useState(!0), d = /* @__PURE__ */ new Date(), k = new Date(a.date), x = {
|
|
5348
5348
|
y: parseInt(d.getFullYear()),
|
|
5349
5349
|
m: parseInt(d.getMonth()) + 1
|
|
5350
5350
|
}, O = {
|
|
@@ -5357,8 +5357,8 @@ const Qr = (n) => {
|
|
|
5357
5357
|
}, h = () => {
|
|
5358
5358
|
l(S - 1);
|
|
5359
5359
|
}, g = (R) => {
|
|
5360
|
-
|
|
5361
|
-
}, D = (R) => x.y === O.y && x.m === R ? "_FFEB3B" : "", M = Array(12).fill("").map((R, v) => v + 1), W = window.innerHeight -
|
|
5360
|
+
a.onValue(S + "-" + ta(2, R)), p();
|
|
5361
|
+
}, D = (R) => x.y === O.y && x.m === R ? "_FFEB3B" : "", M = Array(12).fill("").map((R, v) => v + 1), W = window.innerHeight - a.position.y + 33 < 320 ? a.position.y - 312 : a.position.y + 33, I = window.innerWidth - a.position.x < 265 ? a.position.x - 235 : a.position.x;
|
|
5362
5362
|
return /* @__PURE__ */ c.jsx(c.Fragment, { children: s ? /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
5363
5363
|
/* @__PURE__ */ c.jsx(
|
|
5364
5364
|
"div",
|
|
@@ -5372,7 +5372,7 @@ const Qr = (n) => {
|
|
|
5372
5372
|
"div",
|
|
5373
5373
|
{
|
|
5374
5374
|
className: Rt.c,
|
|
5375
|
-
style: { top: W + "px", left:
|
|
5375
|
+
style: { top: W + "px", left: I + "px" },
|
|
5376
5376
|
children: [
|
|
5377
5377
|
/* @__PURE__ */ c.jsxs("s", { children: [
|
|
5378
5378
|
/* @__PURE__ */ c.jsx("i", { onClick: h, children: /* @__PURE__ */ c.jsx(
|
|
@@ -5406,7 +5406,7 @@ const Qr = (n) => {
|
|
|
5406
5406
|
g(R);
|
|
5407
5407
|
},
|
|
5408
5408
|
color: D(R),
|
|
5409
|
-
children: /* @__PURE__ */ c.jsx("b", { children:
|
|
5409
|
+
children: /* @__PURE__ */ c.jsx("b", { children: ra(R).abc })
|
|
5410
5410
|
},
|
|
5411
5411
|
v
|
|
5412
5412
|
)) })
|
|
@@ -5415,16 +5415,16 @@ const Qr = (n) => {
|
|
|
5415
5415
|
)
|
|
5416
5416
|
] }) : "" });
|
|
5417
5417
|
};
|
|
5418
|
-
function
|
|
5419
|
-
s === void 0 ? (s =
|
|
5418
|
+
function ea(a, s) {
|
|
5419
|
+
s === void 0 ? (s = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
5420
5420
|
let u = {
|
|
5421
|
-
yyyy:
|
|
5422
|
-
yy: ("" +
|
|
5423
|
-
mm: ("0" + (
|
|
5424
|
-
dd: ("0" +
|
|
5425
|
-
HH: ("0" +
|
|
5426
|
-
MM: ("0" +
|
|
5427
|
-
SS: ("0" +
|
|
5421
|
+
yyyy: a.getFullYear(),
|
|
5422
|
+
yy: ("" + a.getFullYear()).slice(-2),
|
|
5423
|
+
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
5424
|
+
dd: ("0" + a.getDate()).slice(-2),
|
|
5425
|
+
HH: ("0" + a.getHours()).slice(-2),
|
|
5426
|
+
MM: ("0" + a.getMinutes()).slice(-2),
|
|
5427
|
+
SS: ("0" + a.getSeconds()).slice(-2),
|
|
5428
5428
|
__: " ",
|
|
5429
5429
|
_: " "
|
|
5430
5430
|
};
|
|
@@ -5432,13 +5432,13 @@ function en(n, s) {
|
|
|
5432
5432
|
s = s.replace(d, u[d]);
|
|
5433
5433
|
return s;
|
|
5434
5434
|
}
|
|
5435
|
-
function
|
|
5435
|
+
function ta(a, s) {
|
|
5436
5436
|
let u = s + "";
|
|
5437
|
-
for (; u.length <
|
|
5437
|
+
for (; u.length < a; ) u = "0" + u;
|
|
5438
5438
|
return u;
|
|
5439
5439
|
}
|
|
5440
|
-
function
|
|
5441
|
-
return
|
|
5440
|
+
function ra(a) {
|
|
5441
|
+
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
5442
5442
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5443
5443
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5444
5444
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5451,10 +5451,10 @@ function rn(n) {
|
|
|
5451
5451
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5452
5452
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5453
5453
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5454
|
-
}[
|
|
5454
|
+
}[a];
|
|
5455
5455
|
}
|
|
5456
|
-
function
|
|
5457
|
-
value:
|
|
5456
|
+
function va({
|
|
5457
|
+
value: a,
|
|
5458
5458
|
onValue: s,
|
|
5459
5459
|
name: u,
|
|
5460
5460
|
placeholder: d = "",
|
|
@@ -5470,9 +5470,9 @@ function gn({
|
|
|
5470
5470
|
type: D,
|
|
5471
5471
|
onSave: M,
|
|
5472
5472
|
className: W = "",
|
|
5473
|
-
isClear:
|
|
5473
|
+
isClear: I = !1
|
|
5474
5474
|
}) {
|
|
5475
|
-
let R = !!(O && (
|
|
5475
|
+
let R = !!(O && (a === "" || a === void 0)), v = (j) => D === "multi" ? j.replace(/[^+\d.+-]/g, "") : j.replace(/[^+\d.]/g, ""), B = (j, T) => {
|
|
5476
5476
|
let m = document.createRange(), E = window.getSelection();
|
|
5477
5477
|
m.setStart(T.childNodes[0], j), m.collapse(!0), E.removeAllRanges(), E.addRange(m), T.focus();
|
|
5478
5478
|
}, Y = (j) => {
|
|
@@ -5485,7 +5485,7 @@ function gn({
|
|
|
5485
5485
|
value: v(j.target.textContent) * h,
|
|
5486
5486
|
name: u
|
|
5487
5487
|
}), j.target.textContent = Yt(j.target.textContent);
|
|
5488
|
-
},
|
|
5488
|
+
}, $ = (j) => {
|
|
5489
5489
|
j.target.textContent = v(j.target.textContent);
|
|
5490
5490
|
}, U = (j) => {
|
|
5491
5491
|
j.currentTarget.previousElementSibling.textContent = "", s == null || s({
|
|
@@ -5518,25 +5518,25 @@ function gn({
|
|
|
5518
5518
|
onPaste: C,
|
|
5519
5519
|
onBlur: z,
|
|
5520
5520
|
onKeyDown: N,
|
|
5521
|
-
onFocus:
|
|
5521
|
+
onFocus: $,
|
|
5522
5522
|
contentEditable: S && l ? te.ContentEditable : "false",
|
|
5523
5523
|
suppressContentEditableWarning: !0,
|
|
5524
5524
|
"data-after": p,
|
|
5525
|
-
children: !d ||
|
|
5525
|
+
children: !d || a ? Yt(a) : ""
|
|
5526
5526
|
}
|
|
5527
5527
|
),
|
|
5528
|
-
|
|
5528
|
+
I && /* @__PURE__ */ c.jsx("svg", { "action-type": "delete", onClick: U, viewBox: "0 0 24 24", children: /* @__PURE__ */ c.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
|
|
5529
5529
|
x ? /* @__PURE__ */ c.jsx("em", { children: x }) : ""
|
|
5530
5530
|
]
|
|
5531
5531
|
}
|
|
5532
5532
|
);
|
|
5533
5533
|
}
|
|
5534
|
-
function Yt(
|
|
5535
|
-
return parseFloat(
|
|
5534
|
+
function Yt(a, s) {
|
|
5535
|
+
return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5536
5536
|
}
|
|
5537
5537
|
const he = {};
|
|
5538
|
-
function
|
|
5539
|
-
const [s, u] = K.useState({}), d = K.useRef(
|
|
5538
|
+
function ga(a) {
|
|
5539
|
+
const [s, u] = K.useState({}), d = K.useRef(a);
|
|
5540
5540
|
return he.u = (k) => {
|
|
5541
5541
|
d.current = { ...d.current, [k.name]: k.value };
|
|
5542
5542
|
}, he.n = (k) => {
|
|
@@ -5545,14 +5545,14 @@ function hn(n) {
|
|
|
5545
5545
|
u(Date.now());
|
|
5546
5546
|
}, [d.current, he.n];
|
|
5547
5547
|
}
|
|
5548
|
-
function
|
|
5549
|
-
he.u(
|
|
5548
|
+
function ha(a) {
|
|
5549
|
+
he.u(a), a.reload && he.r();
|
|
5550
5550
|
}
|
|
5551
|
-
function
|
|
5551
|
+
function ka() {
|
|
5552
5552
|
he.r && he.r();
|
|
5553
5553
|
}
|
|
5554
|
-
function
|
|
5555
|
-
const [s, u] = K.useState({}), d = K.useRef(
|
|
5554
|
+
function ba(a) {
|
|
5555
|
+
const [s, u] = K.useState({}), d = K.useRef(a);
|
|
5556
5556
|
return he.u = (k) => {
|
|
5557
5557
|
d.current = { ...d.current, [k.name]: k.value };
|
|
5558
5558
|
}, he.n = (k) => {
|
|
@@ -5564,21 +5564,21 @@ function wn(n) {
|
|
|
5564
5564
|
}, [d.current, he.n];
|
|
5565
5565
|
}
|
|
5566
5566
|
export {
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5567
|
+
ma as Date,
|
|
5568
|
+
da as Mask,
|
|
5569
|
+
la as Modal,
|
|
5570
|
+
va as Money,
|
|
5571
|
+
ya as Month,
|
|
5572
|
+
fa as Note,
|
|
5573
|
+
ua as Number,
|
|
5574
|
+
_a as Options,
|
|
5575
|
+
ca as Password,
|
|
5576
|
+
pa as Phone,
|
|
5577
|
+
oa as Progress,
|
|
5578
|
+
sa as Select,
|
|
5579
|
+
ia as String,
|
|
5580
|
+
ka as runReload,
|
|
5581
|
+
ha as setValue,
|
|
5582
|
+
ga as useData,
|
|
5583
|
+
ba as useError
|
|
5584
5584
|
};
|