@elcrm/form 0.0.37 → 0.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.es.js +796 -783
- package/dist/index.umd.js +37 -37
- package/dist/src/lib/Files.d.ts +1 -1
- package/dist/src/lib/Group.d.ts +1 -1
- package/dist/src/lib/Image.d.ts +1 -1
- package/dist/src/lib/Input.d.ts +1 -1
- package/dist/src/lib/Money.d.ts +1 -1
- package/dist/src/lib/Password.d.ts +1 -1
- package/dist/src/lib/Select.d.ts +1 -1
- package/dist/src/lib/Textarea.d.ts +1 -1
- package/package.json +1 -1
- package/dist/src/lib/_Button.d.ts +0 -8
- package/dist/src/lib/_Set.d.ts +0 -0
- package/dist/src/lib/_Textarea.d.ts +0 -20
package/dist/index.es.js
CHANGED
|
@@ -17,13 +17,13 @@ var $t;
|
|
|
17
17
|
function Qt() {
|
|
18
18
|
if ($t) return mt;
|
|
19
19
|
$t = 1;
|
|
20
|
-
var a = U,
|
|
21
|
-
function P(x,
|
|
20
|
+
var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function P(x, s, v) {
|
|
22
22
|
var o, d = {}, b = null, C = null;
|
|
23
|
-
|
|
24
|
-
for (o in
|
|
25
|
-
if (x && x.defaultProps) for (o in
|
|
26
|
-
return { $$typeof:
|
|
23
|
+
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
24
|
+
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
25
|
+
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
26
|
+
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
27
27
|
}
|
|
28
28
|
return mt.Fragment = c, mt.jsx = P, mt.jsxs = P, mt;
|
|
29
29
|
}
|
|
@@ -40,11 +40,11 @@ var yt = {};
|
|
|
40
40
|
var At;
|
|
41
41
|
function er() {
|
|
42
42
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var a = U,
|
|
44
|
-
function
|
|
43
|
+
var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, B = "@@iterator";
|
|
44
|
+
function I(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var t = F && e[F] || e[
|
|
47
|
+
var t = F && e[F] || e[B];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
50
|
var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -52,10 +52,10 @@ function er() {
|
|
|
52
52
|
{
|
|
53
53
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
54
54
|
r[n - 1] = arguments[n];
|
|
55
|
-
|
|
55
|
+
M("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function M(e, t, r) {
|
|
59
59
|
{
|
|
60
60
|
var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -65,10 +65,10 @@ function er() {
|
|
|
65
65
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var K = !1,
|
|
68
|
+
var K = !1, q = !1, L = !1, Y = !1, R = !1, T;
|
|
69
69
|
T = Symbol.for("react.module.reference");
|
|
70
70
|
function O(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C || K || q || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
@@ -100,7 +100,7 @@ function er() {
|
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case y:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case v:
|
|
104
104
|
return "Suspense";
|
|
105
105
|
case o:
|
|
106
106
|
return "SuspenseList";
|
|
@@ -113,7 +113,7 @@ function er() {
|
|
|
113
113
|
case P:
|
|
114
114
|
var r = e;
|
|
115
115
|
return h(r._context) + ".Provider";
|
|
116
|
-
case
|
|
116
|
+
case s:
|
|
117
117
|
return W(e, e.render, "ForwardRef");
|
|
118
118
|
case d:
|
|
119
119
|
var n = e.displayName || null;
|
|
@@ -129,13 +129,13 @@ function er() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var $ = Object.assign,
|
|
132
|
+
var $ = Object.assign, G = 0, X, oe, se, ve, ge, be, ke;
|
|
133
133
|
function we() {
|
|
134
134
|
}
|
|
135
135
|
we.__reactDisabledLog = !0;
|
|
136
136
|
function We() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
138
|
+
if (G === 0) {
|
|
139
139
|
X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
@@ -153,12 +153,12 @@ function er() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
G++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
function Ue() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (G--, G === 0) {
|
|
162
162
|
var e = {
|
|
163
163
|
configurable: !0,
|
|
164
164
|
enumerable: !0,
|
|
@@ -188,7 +188,7 @@ function er() {
|
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var le = E.ReactCurrentDispatcher, ce;
|
|
@@ -258,18 +258,18 @@ function er() {
|
|
|
258
258
|
}
|
|
259
259
|
} catch (N) {
|
|
260
260
|
if (N && n && typeof N.stack == "string") {
|
|
261
|
-
for (var
|
|
261
|
+
for (var i = N.stack.split(`
|
|
262
262
|
`), D = n.stack.split(`
|
|
263
|
-
`), w =
|
|
263
|
+
`), w = i.length - 1, j = D.length - 1; w >= 1 && j >= 0 && i[w] !== D[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
266
|
-
if (
|
|
266
|
+
if (i[w] !== D[j]) {
|
|
267
267
|
if (w !== 1 || j !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (w--, j--, j < 0 ||
|
|
270
|
-
var
|
|
271
|
-
` +
|
|
272
|
-
return e.displayName &&
|
|
269
|
+
if (w--, j--, j < 0 || i[w] !== D[j]) {
|
|
270
|
+
var A = `
|
|
271
|
+
` + i[w].replace(" at new ", " at ");
|
|
272
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, A), A;
|
|
273
273
|
}
|
|
274
274
|
while (w >= 1 && j >= 0);
|
|
275
275
|
break;
|
|
@@ -288,7 +288,7 @@ function er() {
|
|
|
288
288
|
var t = e.prototype;
|
|
289
289
|
return !!(t && t.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function ae(e, t, r) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
@@ -296,21 +296,21 @@ function er() {
|
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return te(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
299
|
+
case v:
|
|
300
300
|
return te("Suspense");
|
|
301
301
|
case o:
|
|
302
302
|
return te("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
|
-
case
|
|
306
|
+
case s:
|
|
307
307
|
return qe(e.render);
|
|
308
308
|
case d:
|
|
309
|
-
return
|
|
309
|
+
return ae(e.type, t, r);
|
|
310
310
|
case b: {
|
|
311
311
|
var n = e, f = n._payload, m = n._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return ae(m(f), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -318,9 +318,9 @@ function er() {
|
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
320
|
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
|
|
321
|
-
function
|
|
321
|
+
function ne(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var t = e._owner, r =
|
|
323
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
324
324
|
Ce.setExtraStackFrame(r);
|
|
325
325
|
} else
|
|
326
326
|
Ce.setExtraStackFrame(null);
|
|
@@ -330,17 +330,17 @@ function er() {
|
|
|
330
330
|
var m = Function.call.bind(V);
|
|
331
331
|
for (var l in e)
|
|
332
332
|
if (m(e, l)) {
|
|
333
|
-
var
|
|
333
|
+
var i = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
336
336
|
var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
337
|
throw D.name = "Invariant Violation", D;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
i = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (w) {
|
|
341
|
-
|
|
341
|
+
i = w;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
i && !(i instanceof Error) && (ne(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof i), ne(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ne(f), p("Failed %s type: %s", r, i.message), ne(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -416,9 +416,9 @@ function er() {
|
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
var rt = function(e, t, r, n, f, m, l) {
|
|
419
|
-
var
|
|
419
|
+
var i = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
|
-
$$typeof:
|
|
421
|
+
$$typeof: _,
|
|
422
422
|
// Built-in properties that belong on the element
|
|
423
423
|
type: e,
|
|
424
424
|
key: t,
|
|
@@ -427,27 +427,27 @@ function er() {
|
|
|
427
427
|
// Record the component responsible for creating this element.
|
|
428
428
|
_owner: m
|
|
429
429
|
};
|
|
430
|
-
return
|
|
430
|
+
return i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
431
431
|
configurable: !1,
|
|
432
432
|
enumerable: !1,
|
|
433
433
|
writable: !0,
|
|
434
434
|
value: !1
|
|
435
|
-
}), Object.defineProperty(
|
|
435
|
+
}), Object.defineProperty(i, "_self", {
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !1,
|
|
439
439
|
value: n
|
|
440
|
-
}), Object.defineProperty(
|
|
440
|
+
}), Object.defineProperty(i, "_source", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
444
|
value: f
|
|
445
|
-
}), Object.freeze && (Object.freeze(
|
|
445
|
+
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
446
446
|
};
|
|
447
|
-
function
|
|
447
|
+
function at(e, t, r, n, f) {
|
|
448
448
|
{
|
|
449
|
-
var m, l = {},
|
|
450
|
-
r !== void 0 && (Re(r),
|
|
449
|
+
var m, l = {}, i = null, D = null;
|
|
450
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (D = t.ref, Qe(t, f));
|
|
451
451
|
for (m in t)
|
|
452
452
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
@@ -455,17 +455,17 @@ function er() {
|
|
|
455
455
|
for (m in w)
|
|
456
456
|
l[m] === void 0 && (l[m] = w[m]);
|
|
457
457
|
}
|
|
458
|
-
if (
|
|
458
|
+
if (i || D) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
|
|
460
|
+
i && et(l, j), D && tt(l, j);
|
|
461
461
|
}
|
|
462
|
-
return rt(e,
|
|
462
|
+
return rt(e, i, D, f, n, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
|
|
466
466
|
function J(e) {
|
|
467
467
|
if (e) {
|
|
468
|
-
var t = e._owner, r =
|
|
468
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
469
469
|
De.setExtraStackFrame(r);
|
|
470
470
|
} else
|
|
471
471
|
De.setExtraStackFrame(null);
|
|
@@ -473,7 +473,7 @@ function er() {
|
|
|
473
473
|
var pe;
|
|
474
474
|
pe = !1;
|
|
475
475
|
function me(e) {
|
|
476
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
476
|
+
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
477
477
|
}
|
|
478
478
|
function Pe() {
|
|
479
479
|
{
|
|
@@ -487,7 +487,7 @@ Check the render method of \`` + e + "`.";
|
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function nt(e) {
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
493
|
var Ne = {};
|
|
@@ -528,7 +528,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
528
528
|
else if (me(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var f =
|
|
531
|
+
var f = I(e);
|
|
532
532
|
if (typeof f == "function" && f !== e.entries)
|
|
533
533
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
534
534
|
me(l.value) && Fe(l.value, t);
|
|
@@ -543,7 +543,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
543
543
|
var r;
|
|
544
544
|
if (typeof t == "function")
|
|
545
545
|
r = t.propTypes;
|
|
546
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
546
|
+
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
547
547
|
// Inner props are checked in the reconciler.
|
|
548
548
|
t.$$typeof === d))
|
|
549
549
|
r = t.propTypes;
|
|
@@ -577,28 +577,28 @@ Check the top-level render call using <` + r + ">.");
|
|
|
577
577
|
{
|
|
578
578
|
var l = O(e);
|
|
579
579
|
if (!l) {
|
|
580
|
-
var
|
|
581
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
582
|
-
var D =
|
|
583
|
-
D ?
|
|
580
|
+
var i = "";
|
|
581
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
+
var D = nt();
|
|
583
|
+
D ? i += D : i += Pe();
|
|
584
584
|
var w;
|
|
585
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
585
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
586
586
|
}
|
|
587
|
-
var j =
|
|
587
|
+
var j = at(e, t, r, f, m);
|
|
588
588
|
if (j == null)
|
|
589
589
|
return j;
|
|
590
590
|
if (l) {
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
591
|
+
var A = t.children;
|
|
592
|
+
if (A !== void 0)
|
|
593
593
|
if (n)
|
|
594
|
-
if (de(
|
|
595
|
-
for (var Z = 0; Z <
|
|
596
|
-
Ie(
|
|
597
|
-
Object.freeze && Object.freeze(
|
|
594
|
+
if (de(A)) {
|
|
595
|
+
for (var Z = 0; Z < A.length; Z++)
|
|
596
|
+
Ie(A[Z], e);
|
|
597
|
+
Object.freeze && Object.freeze(A);
|
|
598
598
|
} else
|
|
599
599
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
600
|
else
|
|
601
|
-
Ie(
|
|
601
|
+
Ie(A, e);
|
|
602
602
|
}
|
|
603
603
|
if (V.call(t, "key")) {
|
|
604
604
|
var z = k(e), N = Object.keys(t).filter(function(ft) {
|
|
@@ -628,14 +628,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
628
628
|
}()), yt;
|
|
629
629
|
}
|
|
630
630
|
process.env.NODE_ENV === "production" ? Tt.exports = Qt() : Tt.exports = er();
|
|
631
|
-
var
|
|
632
|
-
function
|
|
631
|
+
var g = Tt.exports;
|
|
632
|
+
function ba({ name: a, value: _, title: c, style: u, className: y }) {
|
|
633
633
|
let S = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
636
|
-
return u && (S.style = u), y && (S.className = y), /* @__PURE__ */
|
|
637
|
-
c && /* @__PURE__ */
|
|
638
|
-
/* @__PURE__ */
|
|
636
|
+
return u && (S.style = u), y && (S.className = y), /* @__PURE__ */ g.jsxs("dl", { ...S, children: [
|
|
637
|
+
c && /* @__PURE__ */ g.jsx("dt", { children: c }),
|
|
638
|
+
/* @__PURE__ */ g.jsx("dd", {})
|
|
639
639
|
] });
|
|
640
640
|
}
|
|
641
641
|
let ee = {};
|
|
@@ -643,15 +643,15 @@ ee.KeyDown = (a) => {
|
|
|
643
643
|
a.key === "Enter" && a.preventDefault();
|
|
644
644
|
};
|
|
645
645
|
ee.PasteOne = (a) => {
|
|
646
|
-
a.preventDefault(), navigator.clipboard.readText().then((
|
|
647
|
-
|
|
648
|
-
}).catch((
|
|
646
|
+
a.preventDefault(), navigator.clipboard.readText().then((_) => {
|
|
647
|
+
_ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
|
|
648
|
+
}).catch((_) => {
|
|
649
649
|
});
|
|
650
650
|
};
|
|
651
|
-
ee.Paste = (a,
|
|
652
|
-
|
|
651
|
+
ee.Paste = (a, _) => {
|
|
652
|
+
_.preventDefault(), navigator.clipboard.readText().then((c) => {
|
|
653
653
|
if (a) {
|
|
654
|
-
let u =
|
|
654
|
+
let u = _.target.textContent.length;
|
|
655
655
|
if (u >= a) return;
|
|
656
656
|
a -= u, c = c.slice(0, a);
|
|
657
657
|
}
|
|
@@ -670,40 +670,40 @@ ee.Blur = (a) => {
|
|
|
670
670
|
a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
ee.ContentEditable = "plaintext-only";
|
|
673
|
-
const tr = "
|
|
673
|
+
const tr = "_l_do7az_13", rr = "_f_do7az_37", ar = "_n_do7az_55", nr = "_w_do7az_60", or = "_t_do7az_70", _r = "_g_do7az_75", ir = "_h_do7az_79", _e = {
|
|
674
674
|
l: tr,
|
|
675
675
|
f: rr,
|
|
676
|
-
n:
|
|
677
|
-
w:
|
|
676
|
+
n: ar,
|
|
677
|
+
w: nr,
|
|
678
678
|
t: or,
|
|
679
679
|
g: _r,
|
|
680
680
|
h: ir
|
|
681
|
-
},
|
|
681
|
+
}, Be = Jt(
|
|
682
682
|
({
|
|
683
683
|
element_blok: a,
|
|
684
|
-
element_input:
|
|
684
|
+
element_input: _,
|
|
685
685
|
type: c = "input",
|
|
686
686
|
title: u,
|
|
687
687
|
before: y,
|
|
688
688
|
after: S,
|
|
689
689
|
children: P
|
|
690
|
-
}, x) => /* @__PURE__ */
|
|
690
|
+
}, x) => /* @__PURE__ */ g.jsxs(
|
|
691
691
|
"dl",
|
|
692
692
|
{
|
|
693
693
|
"data-field": c,
|
|
694
|
-
...
|
|
695
|
-
className: [
|
|
694
|
+
..._.props,
|
|
695
|
+
className: [_e.l, ...a.className].filter((s) => s !== void 0).join(" "),
|
|
696
696
|
children: [
|
|
697
|
-
u ? /* @__PURE__ */
|
|
697
|
+
u ? /* @__PURE__ */ g.jsx("dt", { className: _e.t, children: u }) : "",
|
|
698
698
|
y,
|
|
699
|
-
/* @__PURE__ */
|
|
699
|
+
/* @__PURE__ */ g.jsx(
|
|
700
700
|
"dd",
|
|
701
701
|
{
|
|
702
702
|
ref: x,
|
|
703
|
-
className: [
|
|
703
|
+
className: [_e.f, ..._.className].join(
|
|
704
704
|
" "
|
|
705
705
|
),
|
|
706
|
-
...
|
|
706
|
+
..._.props,
|
|
707
707
|
children: P
|
|
708
708
|
}
|
|
709
709
|
),
|
|
@@ -712,27 +712,27 @@ const tr = "_l_cnzbf_13", rr = "_f_cnzbf_37", nr = "_n_cnzbf_55", ar = "_w_cnzbf
|
|
|
712
712
|
}
|
|
713
713
|
)
|
|
714
714
|
);
|
|
715
|
-
function
|
|
715
|
+
function ka({
|
|
716
716
|
id: a,
|
|
717
|
-
value:
|
|
717
|
+
value: _,
|
|
718
718
|
onValue: c,
|
|
719
719
|
name: u,
|
|
720
720
|
placeholder: y = "",
|
|
721
721
|
title: S = "",
|
|
722
722
|
error: P = "",
|
|
723
723
|
hide: x = !1,
|
|
724
|
-
edit:
|
|
725
|
-
active:
|
|
724
|
+
edit: s = !0,
|
|
725
|
+
active: v = !0,
|
|
726
726
|
after: o = "",
|
|
727
727
|
before: d = "",
|
|
728
728
|
show: b = !0,
|
|
729
729
|
maxLength: C,
|
|
730
730
|
onSave: F,
|
|
731
|
-
className:
|
|
732
|
-
isCopy:
|
|
731
|
+
className: B = "",
|
|
732
|
+
isCopy: I = !0,
|
|
733
733
|
isReload: E = !1
|
|
734
734
|
}) {
|
|
735
|
-
let p = !!(x && (
|
|
735
|
+
let p = !!(x && (_ === "" || _ === void 0)), M = (R) => {
|
|
736
736
|
c && c({
|
|
737
737
|
value: R.target.textContent.trim(),
|
|
738
738
|
name: u,
|
|
@@ -740,7 +740,7 @@ function kn({
|
|
|
740
740
|
});
|
|
741
741
|
}, K = (R) => {
|
|
742
742
|
C && R.target.textContent.trim().length >= C && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
|
|
743
|
-
},
|
|
743
|
+
}, q = (R) => {
|
|
744
744
|
R.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
745
745
|
if (C) {
|
|
746
746
|
let O = R.target.textContent.length;
|
|
@@ -755,31 +755,31 @@ function kn({
|
|
|
755
755
|
}).catch((T) => {
|
|
756
756
|
});
|
|
757
757
|
};
|
|
758
|
-
if (!(
|
|
758
|
+
if (!(s && v) && !b || !(s && v) && p) return "";
|
|
759
759
|
const L = {};
|
|
760
|
-
y && (L.placeholder = y),
|
|
761
|
-
const
|
|
760
|
+
y && (L.placeholder = y), s && v && (L.edit = "");
|
|
761
|
+
const Y = (R) => {
|
|
762
762
|
ee.Blur(R), F == null || F({ value: R.target.textContent.trim(), name: u });
|
|
763
763
|
};
|
|
764
|
-
return /* @__PURE__ */
|
|
765
|
-
|
|
764
|
+
return /* @__PURE__ */ g.jsx(
|
|
765
|
+
Be,
|
|
766
766
|
{
|
|
767
767
|
type: "input",
|
|
768
768
|
title: S,
|
|
769
|
-
element_blok: { className: [
|
|
770
|
-
element_input: { className: [
|
|
771
|
-
children: /* @__PURE__ */
|
|
769
|
+
element_blok: { className: [B] },
|
|
770
|
+
element_input: { className: [_e.w] },
|
|
771
|
+
children: /* @__PURE__ */ g.jsx(
|
|
772
772
|
"div",
|
|
773
773
|
{
|
|
774
|
-
onBlur:
|
|
775
|
-
onPaste:
|
|
776
|
-
onInput:
|
|
774
|
+
onBlur: Y,
|
|
775
|
+
onPaste: q,
|
|
776
|
+
onInput: M,
|
|
777
777
|
onKeyDown: K,
|
|
778
778
|
spellCheck: "true",
|
|
779
|
-
contentEditable:
|
|
779
|
+
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
780
780
|
suppressContentEditableWarning: !0,
|
|
781
781
|
...L,
|
|
782
|
-
children:
|
|
782
|
+
children: _
|
|
783
783
|
}
|
|
784
784
|
)
|
|
785
785
|
}
|
|
@@ -799,13 +799,13 @@ var Bt;
|
|
|
799
799
|
function sr() {
|
|
800
800
|
if (Bt) return vt;
|
|
801
801
|
Bt = 1;
|
|
802
|
-
var a = U,
|
|
803
|
-
function P(x,
|
|
802
|
+
var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
803
|
+
function P(x, s, v) {
|
|
804
804
|
var o, d = {}, b = null, C = null;
|
|
805
|
-
|
|
806
|
-
for (o in
|
|
807
|
-
if (x && x.defaultProps) for (o in
|
|
808
|
-
return { $$typeof:
|
|
805
|
+
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
806
|
+
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
807
|
+
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
808
|
+
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
809
809
|
}
|
|
810
810
|
return vt.Fragment = c, vt.jsx = P, vt.jsxs = P, vt;
|
|
811
811
|
}
|
|
@@ -822,11 +822,11 @@ var kt = {};
|
|
|
822
822
|
var Lt;
|
|
823
823
|
function lr() {
|
|
824
824
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
825
|
-
var a = U,
|
|
826
|
-
function
|
|
825
|
+
var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, B = "@@iterator";
|
|
826
|
+
function I(e) {
|
|
827
827
|
if (e === null || typeof e != "object")
|
|
828
828
|
return null;
|
|
829
|
-
var t = F && e[F] || e[
|
|
829
|
+
var t = F && e[F] || e[B];
|
|
830
830
|
return typeof t == "function" ? t : null;
|
|
831
831
|
}
|
|
832
832
|
var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -834,10 +834,10 @@ function lr() {
|
|
|
834
834
|
{
|
|
835
835
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
836
836
|
r[n - 1] = arguments[n];
|
|
837
|
-
|
|
837
|
+
M("error", e, r);
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
|
-
function
|
|
840
|
+
function M(e, t, r) {
|
|
841
841
|
{
|
|
842
842
|
var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
843
843
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -847,10 +847,10 @@ function lr() {
|
|
|
847
847
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
|
-
var K = !1,
|
|
850
|
+
var K = !1, q = !1, L = !1, Y = !1, R = !1, T;
|
|
851
851
|
T = Symbol.for("react.module.reference");
|
|
852
852
|
function O(e) {
|
|
853
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e ===
|
|
853
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C || K || q || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
854
854
|
// types supported by any Flight configuration anywhere since
|
|
855
855
|
// we don't know which Flight build this will end up being used
|
|
856
856
|
// with.
|
|
@@ -882,7 +882,7 @@ function lr() {
|
|
|
882
882
|
return "Profiler";
|
|
883
883
|
case y:
|
|
884
884
|
return "StrictMode";
|
|
885
|
-
case
|
|
885
|
+
case v:
|
|
886
886
|
return "Suspense";
|
|
887
887
|
case o:
|
|
888
888
|
return "SuspenseList";
|
|
@@ -895,7 +895,7 @@ function lr() {
|
|
|
895
895
|
case P:
|
|
896
896
|
var r = e;
|
|
897
897
|
return h(r._context) + ".Provider";
|
|
898
|
-
case
|
|
898
|
+
case s:
|
|
899
899
|
return W(e, e.render, "ForwardRef");
|
|
900
900
|
case d:
|
|
901
901
|
var n = e.displayName || null;
|
|
@@ -911,13 +911,13 @@ function lr() {
|
|
|
911
911
|
}
|
|
912
912
|
return null;
|
|
913
913
|
}
|
|
914
|
-
var $ = Object.assign,
|
|
914
|
+
var $ = Object.assign, G = 0, X, oe, se, ve, ge, be, ke;
|
|
915
915
|
function we() {
|
|
916
916
|
}
|
|
917
917
|
we.__reactDisabledLog = !0;
|
|
918
918
|
function We() {
|
|
919
919
|
{
|
|
920
|
-
if (
|
|
920
|
+
if (G === 0) {
|
|
921
921
|
X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
922
922
|
var e = {
|
|
923
923
|
configurable: !0,
|
|
@@ -935,12 +935,12 @@ function lr() {
|
|
|
935
935
|
groupEnd: e
|
|
936
936
|
});
|
|
937
937
|
}
|
|
938
|
-
|
|
938
|
+
G++;
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
941
|
function Ue() {
|
|
942
942
|
{
|
|
943
|
-
if (
|
|
943
|
+
if (G--, G === 0) {
|
|
944
944
|
var e = {
|
|
945
945
|
configurable: !0,
|
|
946
946
|
enumerable: !0,
|
|
@@ -970,7 +970,7 @@ function lr() {
|
|
|
970
970
|
})
|
|
971
971
|
});
|
|
972
972
|
}
|
|
973
|
-
|
|
973
|
+
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
974
974
|
}
|
|
975
975
|
}
|
|
976
976
|
var le = E.ReactCurrentDispatcher, ce;
|
|
@@ -1040,18 +1040,18 @@ function lr() {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
} catch (N) {
|
|
1042
1042
|
if (N && n && typeof N.stack == "string") {
|
|
1043
|
-
for (var
|
|
1043
|
+
for (var i = N.stack.split(`
|
|
1044
1044
|
`), D = n.stack.split(`
|
|
1045
|
-
`), w =
|
|
1045
|
+
`), w = i.length - 1, j = D.length - 1; w >= 1 && j >= 0 && i[w] !== D[j]; )
|
|
1046
1046
|
j--;
|
|
1047
1047
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1048
|
-
if (
|
|
1048
|
+
if (i[w] !== D[j]) {
|
|
1049
1049
|
if (w !== 1 || j !== 1)
|
|
1050
1050
|
do
|
|
1051
|
-
if (w--, j--, j < 0 ||
|
|
1052
|
-
var
|
|
1053
|
-
` +
|
|
1054
|
-
return e.displayName &&
|
|
1051
|
+
if (w--, j--, j < 0 || i[w] !== D[j]) {
|
|
1052
|
+
var A = `
|
|
1053
|
+
` + i[w].replace(" at new ", " at ");
|
|
1054
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, A), A;
|
|
1055
1055
|
}
|
|
1056
1056
|
while (w >= 1 && j >= 0);
|
|
1057
1057
|
break;
|
|
@@ -1070,7 +1070,7 @@ function lr() {
|
|
|
1070
1070
|
var t = e.prototype;
|
|
1071
1071
|
return !!(t && t.isReactComponent);
|
|
1072
1072
|
}
|
|
1073
|
-
function
|
|
1073
|
+
function ae(e, t, r) {
|
|
1074
1074
|
if (e == null)
|
|
1075
1075
|
return "";
|
|
1076
1076
|
if (typeof e == "function")
|
|
@@ -1078,21 +1078,21 @@ function lr() {
|
|
|
1078
1078
|
if (typeof e == "string")
|
|
1079
1079
|
return te(e);
|
|
1080
1080
|
switch (e) {
|
|
1081
|
-
case
|
|
1081
|
+
case v:
|
|
1082
1082
|
return te("Suspense");
|
|
1083
1083
|
case o:
|
|
1084
1084
|
return te("SuspenseList");
|
|
1085
1085
|
}
|
|
1086
1086
|
if (typeof e == "object")
|
|
1087
1087
|
switch (e.$$typeof) {
|
|
1088
|
-
case
|
|
1088
|
+
case s:
|
|
1089
1089
|
return qe(e.render);
|
|
1090
1090
|
case d:
|
|
1091
|
-
return
|
|
1091
|
+
return ae(e.type, t, r);
|
|
1092
1092
|
case b: {
|
|
1093
1093
|
var n = e, f = n._payload, m = n._init;
|
|
1094
1094
|
try {
|
|
1095
|
-
return
|
|
1095
|
+
return ae(m(f), t, r);
|
|
1096
1096
|
} catch {
|
|
1097
1097
|
}
|
|
1098
1098
|
}
|
|
@@ -1100,9 +1100,9 @@ function lr() {
|
|
|
1100
1100
|
return "";
|
|
1101
1101
|
}
|
|
1102
1102
|
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
|
|
1103
|
-
function
|
|
1103
|
+
function ne(e) {
|
|
1104
1104
|
if (e) {
|
|
1105
|
-
var t = e._owner, r =
|
|
1105
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
1106
1106
|
Ce.setExtraStackFrame(r);
|
|
1107
1107
|
} else
|
|
1108
1108
|
Ce.setExtraStackFrame(null);
|
|
@@ -1112,17 +1112,17 @@ function lr() {
|
|
|
1112
1112
|
var m = Function.call.bind(V);
|
|
1113
1113
|
for (var l in e)
|
|
1114
1114
|
if (m(e, l)) {
|
|
1115
|
-
var
|
|
1115
|
+
var i = void 0;
|
|
1116
1116
|
try {
|
|
1117
1117
|
if (typeof e[l] != "function") {
|
|
1118
1118
|
var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1119
1119
|
throw D.name = "Invariant Violation", D;
|
|
1120
1120
|
}
|
|
1121
|
-
|
|
1121
|
+
i = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1122
1122
|
} catch (w) {
|
|
1123
|
-
|
|
1123
|
+
i = w;
|
|
1124
1124
|
}
|
|
1125
|
-
|
|
1125
|
+
i && !(i instanceof Error) && (ne(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof i), ne(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ne(f), p("Failed %s type: %s", r, i.message), ne(null));
|
|
1126
1126
|
}
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
@@ -1198,9 +1198,9 @@ function lr() {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
var rt = function(e, t, r, n, f, m, l) {
|
|
1201
|
-
var
|
|
1201
|
+
var i = {
|
|
1202
1202
|
// This tag allows us to uniquely identify this as a React Element
|
|
1203
|
-
$$typeof:
|
|
1203
|
+
$$typeof: _,
|
|
1204
1204
|
// Built-in properties that belong on the element
|
|
1205
1205
|
type: e,
|
|
1206
1206
|
key: t,
|
|
@@ -1209,27 +1209,27 @@ function lr() {
|
|
|
1209
1209
|
// Record the component responsible for creating this element.
|
|
1210
1210
|
_owner: m
|
|
1211
1211
|
};
|
|
1212
|
-
return
|
|
1212
|
+
return i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
1213
1213
|
configurable: !1,
|
|
1214
1214
|
enumerable: !1,
|
|
1215
1215
|
writable: !0,
|
|
1216
1216
|
value: !1
|
|
1217
|
-
}), Object.defineProperty(
|
|
1217
|
+
}), Object.defineProperty(i, "_self", {
|
|
1218
1218
|
configurable: !1,
|
|
1219
1219
|
enumerable: !1,
|
|
1220
1220
|
writable: !1,
|
|
1221
1221
|
value: n
|
|
1222
|
-
}), Object.defineProperty(
|
|
1222
|
+
}), Object.defineProperty(i, "_source", {
|
|
1223
1223
|
configurable: !1,
|
|
1224
1224
|
enumerable: !1,
|
|
1225
1225
|
writable: !1,
|
|
1226
1226
|
value: f
|
|
1227
|
-
}), Object.freeze && (Object.freeze(
|
|
1227
|
+
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
1228
1228
|
};
|
|
1229
|
-
function
|
|
1229
|
+
function at(e, t, r, n, f) {
|
|
1230
1230
|
{
|
|
1231
|
-
var m, l = {},
|
|
1232
|
-
r !== void 0 && (Re(r),
|
|
1231
|
+
var m, l = {}, i = null, D = null;
|
|
1232
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (D = t.ref, Qe(t));
|
|
1233
1233
|
for (m in t)
|
|
1234
1234
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1235
1235
|
if (e && e.defaultProps) {
|
|
@@ -1237,17 +1237,17 @@ function lr() {
|
|
|
1237
1237
|
for (m in w)
|
|
1238
1238
|
l[m] === void 0 && (l[m] = w[m]);
|
|
1239
1239
|
}
|
|
1240
|
-
if (
|
|
1240
|
+
if (i || D) {
|
|
1241
1241
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1242
|
-
|
|
1242
|
+
i && et(l, j), D && tt(l, j);
|
|
1243
1243
|
}
|
|
1244
|
-
return rt(e,
|
|
1244
|
+
return rt(e, i, D, f, n, Ee.current, l);
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
|
|
1248
1248
|
function J(e) {
|
|
1249
1249
|
if (e) {
|
|
1250
|
-
var t = e._owner, r =
|
|
1250
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
1251
1251
|
De.setExtraStackFrame(r);
|
|
1252
1252
|
} else
|
|
1253
1253
|
De.setExtraStackFrame(null);
|
|
@@ -1255,7 +1255,7 @@ function lr() {
|
|
|
1255
1255
|
var pe;
|
|
1256
1256
|
pe = !1;
|
|
1257
1257
|
function me(e) {
|
|
1258
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
1258
|
+
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
1259
1259
|
}
|
|
1260
1260
|
function Pe() {
|
|
1261
1261
|
{
|
|
@@ -1269,7 +1269,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1269
1269
|
return "";
|
|
1270
1270
|
}
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function nt(e) {
|
|
1273
1273
|
return "";
|
|
1274
1274
|
}
|
|
1275
1275
|
var Ne = {};
|
|
@@ -1310,7 +1310,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1310
1310
|
else if (me(e))
|
|
1311
1311
|
e._store && (e._store.validated = !0);
|
|
1312
1312
|
else if (e) {
|
|
1313
|
-
var f =
|
|
1313
|
+
var f = I(e);
|
|
1314
1314
|
if (typeof f == "function" && f !== e.entries)
|
|
1315
1315
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
1316
1316
|
me(l.value) && Fe(l.value, t);
|
|
@@ -1325,7 +1325,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1325
1325
|
var r;
|
|
1326
1326
|
if (typeof t == "function")
|
|
1327
1327
|
r = t.propTypes;
|
|
1328
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
1328
|
+
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
1329
1329
|
// Inner props are checked in the reconciler.
|
|
1330
1330
|
t.$$typeof === d))
|
|
1331
1331
|
r = t.propTypes;
|
|
@@ -1359,28 +1359,28 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1359
1359
|
{
|
|
1360
1360
|
var l = O(e);
|
|
1361
1361
|
if (!l) {
|
|
1362
|
-
var
|
|
1363
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
1364
|
-
var D =
|
|
1365
|
-
D ?
|
|
1362
|
+
var i = "";
|
|
1363
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1364
|
+
var D = nt();
|
|
1365
|
+
D ? i += D : i += Pe();
|
|
1366
1366
|
var w;
|
|
1367
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
1367
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
1368
1368
|
}
|
|
1369
|
-
var j =
|
|
1369
|
+
var j = at(e, t, r, f, m);
|
|
1370
1370
|
if (j == null)
|
|
1371
1371
|
return j;
|
|
1372
1372
|
if (l) {
|
|
1373
|
-
var
|
|
1374
|
-
if (
|
|
1373
|
+
var A = t.children;
|
|
1374
|
+
if (A !== void 0)
|
|
1375
1375
|
if (n)
|
|
1376
|
-
if (de(
|
|
1377
|
-
for (var Z = 0; Z <
|
|
1378
|
-
Ie(
|
|
1379
|
-
Object.freeze && Object.freeze(
|
|
1376
|
+
if (de(A)) {
|
|
1377
|
+
for (var Z = 0; Z < A.length; Z++)
|
|
1378
|
+
Ie(A[Z], e);
|
|
1379
|
+
Object.freeze && Object.freeze(A);
|
|
1380
1380
|
} else
|
|
1381
1381
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1382
1382
|
else
|
|
1383
|
-
Ie(
|
|
1383
|
+
Ie(A, e);
|
|
1384
1384
|
}
|
|
1385
1385
|
if (V.call(t, "key")) {
|
|
1386
1386
|
var z = k(e), N = Object.keys(t).filter(function(ft) {
|
|
@@ -1411,7 +1411,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1411
1411
|
}
|
|
1412
1412
|
process.env.NODE_ENV === "production" ? Dt.exports = sr() : Dt.exports = lr();
|
|
1413
1413
|
var H = Dt.exports;
|
|
1414
|
-
const cr = "_shake_oqfdb_1", ur = "_modal_oqfdb_79", dr = "_sa_oqfdb_89", fr = "_ss_oqfdb_94", pr = "_sm_oqfdb_98", mr = "_sl_oqfdb_102", yr = "_sx_oqfdb_106", vr = "_sf_oqfdb_110", gr = "_o_oqfdb_116", hr = "_b_oqfdb_28", br = "_w_oqfdb_15", kr = "_h_oqfdb_146", wr = "_l_oqfdb_160", jr = "_t_oqfdb_197", xr = "_x_oqfdb_201", Cr = "_s_oqfdb_89", Sr = "_c_oqfdb_219", Rr = "_f_oqfdb_224", Er = "_r__oqfdb_235", Or = "_c__oqfdb_250", Tr = "_g_oqfdb_259", Dr = "_m_oqfdb_79",
|
|
1414
|
+
const cr = "_shake_oqfdb_1", ur = "_modal_oqfdb_79", dr = "_sa_oqfdb_89", fr = "_ss_oqfdb_94", pr = "_sm_oqfdb_98", mr = "_sl_oqfdb_102", yr = "_sx_oqfdb_106", vr = "_sf_oqfdb_110", gr = "_o_oqfdb_116", hr = "_b_oqfdb_28", br = "_w_oqfdb_15", kr = "_h_oqfdb_146", wr = "_l_oqfdb_160", jr = "_t_oqfdb_197", xr = "_x_oqfdb_201", Cr = "_s_oqfdb_89", Sr = "_c_oqfdb_219", Rr = "_f_oqfdb_224", Er = "_r__oqfdb_235", Or = "_c__oqfdb_250", Tr = "_g_oqfdb_259", Dr = "_m_oqfdb_79", ie = {
|
|
1415
1415
|
shake: cr,
|
|
1416
1416
|
modal: ur,
|
|
1417
1417
|
sa: dr,
|
|
@@ -1435,55 +1435,55 @@ const cr = "_shake_oqfdb_1", ur = "_modal_oqfdb_79", dr = "_sa_oqfdb_89", fr = "
|
|
|
1435
1435
|
g: Tr,
|
|
1436
1436
|
m: Dr
|
|
1437
1437
|
};
|
|
1438
|
-
function Pr({ children: a, className:
|
|
1438
|
+
function Pr({ children: a, className: _ }) {
|
|
1439
1439
|
return /* @__PURE__ */ H.jsx(
|
|
1440
1440
|
"div",
|
|
1441
1441
|
{
|
|
1442
|
-
className: [
|
|
1442
|
+
className: [ie.l, _].filter((c) => c !== void 0).join(" "),
|
|
1443
1443
|
children: /* @__PURE__ */ H.jsx("ul", { children: a })
|
|
1444
1444
|
}
|
|
1445
1445
|
);
|
|
1446
1446
|
}
|
|
1447
|
-
function Nr({ children: a, className:
|
|
1447
|
+
function Nr({ children: a, className: _ }) {
|
|
1448
1448
|
return /* @__PURE__ */ H.jsx(
|
|
1449
1449
|
"div",
|
|
1450
1450
|
{
|
|
1451
|
-
className: [
|
|
1451
|
+
className: [ie.s, _].filter((c) => c !== void 0).join(" "),
|
|
1452
1452
|
children: a
|
|
1453
1453
|
}
|
|
1454
1454
|
);
|
|
1455
1455
|
}
|
|
1456
1456
|
function Fr({
|
|
1457
1457
|
children: a,
|
|
1458
|
-
direction:
|
|
1458
|
+
direction: _ = "column",
|
|
1459
1459
|
className: c
|
|
1460
1460
|
}) {
|
|
1461
1461
|
return /* @__PURE__ */ H.jsx(
|
|
1462
1462
|
"ul",
|
|
1463
1463
|
{
|
|
1464
1464
|
className: [
|
|
1465
|
-
|
|
1466
|
-
|
|
1465
|
+
ie.f,
|
|
1466
|
+
ie[_ === "row" ? "r_" : "c_"],
|
|
1467
1467
|
c
|
|
1468
1468
|
].filter((u) => u !== void 0).join(" "),
|
|
1469
1469
|
children: a
|
|
1470
1470
|
}
|
|
1471
1471
|
);
|
|
1472
1472
|
}
|
|
1473
|
-
function Ir({ children: a, className:
|
|
1473
|
+
function Ir({ children: a, className: _ }) {
|
|
1474
1474
|
return /* @__PURE__ */ H.jsx(
|
|
1475
1475
|
"div",
|
|
1476
1476
|
{
|
|
1477
|
-
className: [
|
|
1477
|
+
className: [ie.c, _].filter((c) => c !== void 0).join(" "),
|
|
1478
1478
|
children: a
|
|
1479
1479
|
}
|
|
1480
1480
|
);
|
|
1481
1481
|
}
|
|
1482
|
-
function Mr({ children: a, className:
|
|
1482
|
+
function Mr({ children: a, className: _ }) {
|
|
1483
1483
|
return /* @__PURE__ */ H.jsx(
|
|
1484
1484
|
"div",
|
|
1485
1485
|
{
|
|
1486
|
-
className: [
|
|
1486
|
+
className: [ie.g, _].filter((c) => c !== void 0).join(" "),
|
|
1487
1487
|
children: a
|
|
1488
1488
|
}
|
|
1489
1489
|
);
|
|
@@ -1508,13 +1508,13 @@ var Ut;
|
|
|
1508
1508
|
function Ar() {
|
|
1509
1509
|
if (Ut) return gt;
|
|
1510
1510
|
Ut = 1;
|
|
1511
|
-
var a = U,
|
|
1512
|
-
function P(x,
|
|
1511
|
+
var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1512
|
+
function P(x, s, v) {
|
|
1513
1513
|
var o, d = {}, b = null, C = null;
|
|
1514
|
-
|
|
1515
|
-
for (o in
|
|
1516
|
-
if (x && x.defaultProps) for (o in
|
|
1517
|
-
return { $$typeof:
|
|
1514
|
+
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
1515
|
+
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
1516
|
+
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
1517
|
+
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
1518
1518
|
}
|
|
1519
1519
|
return gt.Fragment = c, gt.jsx = P, gt.jsxs = P, gt;
|
|
1520
1520
|
}
|
|
@@ -1531,11 +1531,11 @@ var wt = {};
|
|
|
1531
1531
|
var Kt;
|
|
1532
1532
|
function Br() {
|
|
1533
1533
|
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1534
|
-
var a = U,
|
|
1535
|
-
function
|
|
1534
|
+
var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, B = "@@iterator";
|
|
1535
|
+
function I(e) {
|
|
1536
1536
|
if (e === null || typeof e != "object")
|
|
1537
1537
|
return null;
|
|
1538
|
-
var t = F && e[F] || e[
|
|
1538
|
+
var t = F && e[F] || e[B];
|
|
1539
1539
|
return typeof t == "function" ? t : null;
|
|
1540
1540
|
}
|
|
1541
1541
|
var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -1543,10 +1543,10 @@ function Br() {
|
|
|
1543
1543
|
{
|
|
1544
1544
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
1545
1545
|
r[n - 1] = arguments[n];
|
|
1546
|
-
|
|
1546
|
+
M("error", e, r);
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function M(e, t, r) {
|
|
1550
1550
|
{
|
|
1551
1551
|
var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
1552
1552
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -1556,10 +1556,10 @@ function Br() {
|
|
|
1556
1556
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
|
-
var K = !1,
|
|
1559
|
+
var K = !1, q = !1, L = !1, Y = !1, R = !1, T;
|
|
1560
1560
|
T = Symbol.for("react.module.reference");
|
|
1561
1561
|
function O(e) {
|
|
1562
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e ===
|
|
1562
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C || K || q || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1563
1563
|
// types supported by any Flight configuration anywhere since
|
|
1564
1564
|
// we don't know which Flight build this will end up being used
|
|
1565
1565
|
// with.
|
|
@@ -1591,7 +1591,7 @@ function Br() {
|
|
|
1591
1591
|
return "Profiler";
|
|
1592
1592
|
case y:
|
|
1593
1593
|
return "StrictMode";
|
|
1594
|
-
case
|
|
1594
|
+
case v:
|
|
1595
1595
|
return "Suspense";
|
|
1596
1596
|
case o:
|
|
1597
1597
|
return "SuspenseList";
|
|
@@ -1604,7 +1604,7 @@ function Br() {
|
|
|
1604
1604
|
case P:
|
|
1605
1605
|
var r = e;
|
|
1606
1606
|
return h(r._context) + ".Provider";
|
|
1607
|
-
case
|
|
1607
|
+
case s:
|
|
1608
1608
|
return W(e, e.render, "ForwardRef");
|
|
1609
1609
|
case d:
|
|
1610
1610
|
var n = e.displayName || null;
|
|
@@ -1620,13 +1620,13 @@ function Br() {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
return null;
|
|
1622
1622
|
}
|
|
1623
|
-
var $ = Object.assign,
|
|
1623
|
+
var $ = Object.assign, G = 0, X, oe, se, ve, ge, be, ke;
|
|
1624
1624
|
function we() {
|
|
1625
1625
|
}
|
|
1626
1626
|
we.__reactDisabledLog = !0;
|
|
1627
1627
|
function We() {
|
|
1628
1628
|
{
|
|
1629
|
-
if (
|
|
1629
|
+
if (G === 0) {
|
|
1630
1630
|
X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
1631
1631
|
var e = {
|
|
1632
1632
|
configurable: !0,
|
|
@@ -1644,12 +1644,12 @@ function Br() {
|
|
|
1644
1644
|
groupEnd: e
|
|
1645
1645
|
});
|
|
1646
1646
|
}
|
|
1647
|
-
|
|
1647
|
+
G++;
|
|
1648
1648
|
}
|
|
1649
1649
|
}
|
|
1650
1650
|
function Ue() {
|
|
1651
1651
|
{
|
|
1652
|
-
if (
|
|
1652
|
+
if (G--, G === 0) {
|
|
1653
1653
|
var e = {
|
|
1654
1654
|
configurable: !0,
|
|
1655
1655
|
enumerable: !0,
|
|
@@ -1679,7 +1679,7 @@ function Br() {
|
|
|
1679
1679
|
})
|
|
1680
1680
|
});
|
|
1681
1681
|
}
|
|
1682
|
-
|
|
1682
|
+
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1683
1683
|
}
|
|
1684
1684
|
}
|
|
1685
1685
|
var le = E.ReactCurrentDispatcher, ce;
|
|
@@ -1749,18 +1749,18 @@ function Br() {
|
|
|
1749
1749
|
}
|
|
1750
1750
|
} catch (N) {
|
|
1751
1751
|
if (N && n && typeof N.stack == "string") {
|
|
1752
|
-
for (var
|
|
1752
|
+
for (var i = N.stack.split(`
|
|
1753
1753
|
`), D = n.stack.split(`
|
|
1754
|
-
`), w =
|
|
1754
|
+
`), w = i.length - 1, j = D.length - 1; w >= 1 && j >= 0 && i[w] !== D[j]; )
|
|
1755
1755
|
j--;
|
|
1756
1756
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1757
|
-
if (
|
|
1757
|
+
if (i[w] !== D[j]) {
|
|
1758
1758
|
if (w !== 1 || j !== 1)
|
|
1759
1759
|
do
|
|
1760
|
-
if (w--, j--, j < 0 ||
|
|
1761
|
-
var
|
|
1762
|
-
` +
|
|
1763
|
-
return e.displayName &&
|
|
1760
|
+
if (w--, j--, j < 0 || i[w] !== D[j]) {
|
|
1761
|
+
var A = `
|
|
1762
|
+
` + i[w].replace(" at new ", " at ");
|
|
1763
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, A), A;
|
|
1764
1764
|
}
|
|
1765
1765
|
while (w >= 1 && j >= 0);
|
|
1766
1766
|
break;
|
|
@@ -1779,7 +1779,7 @@ function Br() {
|
|
|
1779
1779
|
var t = e.prototype;
|
|
1780
1780
|
return !!(t && t.isReactComponent);
|
|
1781
1781
|
}
|
|
1782
|
-
function
|
|
1782
|
+
function ae(e, t, r) {
|
|
1783
1783
|
if (e == null)
|
|
1784
1784
|
return "";
|
|
1785
1785
|
if (typeof e == "function")
|
|
@@ -1787,21 +1787,21 @@ function Br() {
|
|
|
1787
1787
|
if (typeof e == "string")
|
|
1788
1788
|
return te(e);
|
|
1789
1789
|
switch (e) {
|
|
1790
|
-
case
|
|
1790
|
+
case v:
|
|
1791
1791
|
return te("Suspense");
|
|
1792
1792
|
case o:
|
|
1793
1793
|
return te("SuspenseList");
|
|
1794
1794
|
}
|
|
1795
1795
|
if (typeof e == "object")
|
|
1796
1796
|
switch (e.$$typeof) {
|
|
1797
|
-
case
|
|
1797
|
+
case s:
|
|
1798
1798
|
return qe(e.render);
|
|
1799
1799
|
case d:
|
|
1800
|
-
return
|
|
1800
|
+
return ae(e.type, t, r);
|
|
1801
1801
|
case b: {
|
|
1802
1802
|
var n = e, f = n._payload, m = n._init;
|
|
1803
1803
|
try {
|
|
1804
|
-
return
|
|
1804
|
+
return ae(m(f), t, r);
|
|
1805
1805
|
} catch {
|
|
1806
1806
|
}
|
|
1807
1807
|
}
|
|
@@ -1809,9 +1809,9 @@ function Br() {
|
|
|
1809
1809
|
return "";
|
|
1810
1810
|
}
|
|
1811
1811
|
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
|
|
1812
|
-
function
|
|
1812
|
+
function ne(e) {
|
|
1813
1813
|
if (e) {
|
|
1814
|
-
var t = e._owner, r =
|
|
1814
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
1815
1815
|
Ce.setExtraStackFrame(r);
|
|
1816
1816
|
} else
|
|
1817
1817
|
Ce.setExtraStackFrame(null);
|
|
@@ -1821,17 +1821,17 @@ function Br() {
|
|
|
1821
1821
|
var m = Function.call.bind(V);
|
|
1822
1822
|
for (var l in e)
|
|
1823
1823
|
if (m(e, l)) {
|
|
1824
|
-
var
|
|
1824
|
+
var i = void 0;
|
|
1825
1825
|
try {
|
|
1826
1826
|
if (typeof e[l] != "function") {
|
|
1827
1827
|
var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1828
1828
|
throw D.name = "Invariant Violation", D;
|
|
1829
1829
|
}
|
|
1830
|
-
|
|
1830
|
+
i = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1831
1831
|
} catch (w) {
|
|
1832
|
-
|
|
1832
|
+
i = w;
|
|
1833
1833
|
}
|
|
1834
|
-
|
|
1834
|
+
i && !(i instanceof Error) && (ne(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof i), ne(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ne(f), p("Failed %s type: %s", r, i.message), ne(null));
|
|
1835
1835
|
}
|
|
1836
1836
|
}
|
|
1837
1837
|
}
|
|
@@ -1907,9 +1907,9 @@ function Br() {
|
|
|
1907
1907
|
}
|
|
1908
1908
|
}
|
|
1909
1909
|
var rt = function(e, t, r, n, f, m, l) {
|
|
1910
|
-
var
|
|
1910
|
+
var i = {
|
|
1911
1911
|
// This tag allows us to uniquely identify this as a React Element
|
|
1912
|
-
$$typeof:
|
|
1912
|
+
$$typeof: _,
|
|
1913
1913
|
// Built-in properties that belong on the element
|
|
1914
1914
|
type: e,
|
|
1915
1915
|
key: t,
|
|
@@ -1918,27 +1918,27 @@ function Br() {
|
|
|
1918
1918
|
// Record the component responsible for creating this element.
|
|
1919
1919
|
_owner: m
|
|
1920
1920
|
};
|
|
1921
|
-
return
|
|
1921
|
+
return i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
1922
1922
|
configurable: !1,
|
|
1923
1923
|
enumerable: !1,
|
|
1924
1924
|
writable: !0,
|
|
1925
1925
|
value: !1
|
|
1926
|
-
}), Object.defineProperty(
|
|
1926
|
+
}), Object.defineProperty(i, "_self", {
|
|
1927
1927
|
configurable: !1,
|
|
1928
1928
|
enumerable: !1,
|
|
1929
1929
|
writable: !1,
|
|
1930
1930
|
value: n
|
|
1931
|
-
}), Object.defineProperty(
|
|
1931
|
+
}), Object.defineProperty(i, "_source", {
|
|
1932
1932
|
configurable: !1,
|
|
1933
1933
|
enumerable: !1,
|
|
1934
1934
|
writable: !1,
|
|
1935
1935
|
value: f
|
|
1936
|
-
}), Object.freeze && (Object.freeze(
|
|
1936
|
+
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
1937
1937
|
};
|
|
1938
|
-
function
|
|
1938
|
+
function at(e, t, r, n, f) {
|
|
1939
1939
|
{
|
|
1940
|
-
var m, l = {},
|
|
1941
|
-
r !== void 0 && (Re(r),
|
|
1940
|
+
var m, l = {}, i = null, D = null;
|
|
1941
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (D = t.ref, Qe(t));
|
|
1942
1942
|
for (m in t)
|
|
1943
1943
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1944
1944
|
if (e && e.defaultProps) {
|
|
@@ -1946,17 +1946,17 @@ function Br() {
|
|
|
1946
1946
|
for (m in w)
|
|
1947
1947
|
l[m] === void 0 && (l[m] = w[m]);
|
|
1948
1948
|
}
|
|
1949
|
-
if (
|
|
1949
|
+
if (i || D) {
|
|
1950
1950
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1951
|
-
|
|
1951
|
+
i && et(l, j), D && tt(l, j);
|
|
1952
1952
|
}
|
|
1953
|
-
return rt(e,
|
|
1953
|
+
return rt(e, i, D, f, n, Ee.current, l);
|
|
1954
1954
|
}
|
|
1955
1955
|
}
|
|
1956
1956
|
var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
|
|
1957
1957
|
function J(e) {
|
|
1958
1958
|
if (e) {
|
|
1959
|
-
var t = e._owner, r =
|
|
1959
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
1960
1960
|
De.setExtraStackFrame(r);
|
|
1961
1961
|
} else
|
|
1962
1962
|
De.setExtraStackFrame(null);
|
|
@@ -1964,7 +1964,7 @@ function Br() {
|
|
|
1964
1964
|
var pe;
|
|
1965
1965
|
pe = !1;
|
|
1966
1966
|
function me(e) {
|
|
1967
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
1967
|
+
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
1968
1968
|
}
|
|
1969
1969
|
function Pe() {
|
|
1970
1970
|
{
|
|
@@ -1978,7 +1978,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1978
1978
|
return "";
|
|
1979
1979
|
}
|
|
1980
1980
|
}
|
|
1981
|
-
function
|
|
1981
|
+
function nt(e) {
|
|
1982
1982
|
return "";
|
|
1983
1983
|
}
|
|
1984
1984
|
var Ne = {};
|
|
@@ -2019,7 +2019,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2019
2019
|
else if (me(e))
|
|
2020
2020
|
e._store && (e._store.validated = !0);
|
|
2021
2021
|
else if (e) {
|
|
2022
|
-
var f =
|
|
2022
|
+
var f = I(e);
|
|
2023
2023
|
if (typeof f == "function" && f !== e.entries)
|
|
2024
2024
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
2025
2025
|
me(l.value) && Fe(l.value, t);
|
|
@@ -2034,7 +2034,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2034
2034
|
var r;
|
|
2035
2035
|
if (typeof t == "function")
|
|
2036
2036
|
r = t.propTypes;
|
|
2037
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
2037
|
+
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
2038
2038
|
// Inner props are checked in the reconciler.
|
|
2039
2039
|
t.$$typeof === d))
|
|
2040
2040
|
r = t.propTypes;
|
|
@@ -2068,28 +2068,28 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2068
2068
|
{
|
|
2069
2069
|
var l = O(e);
|
|
2070
2070
|
if (!l) {
|
|
2071
|
-
var
|
|
2072
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
2073
|
-
var D =
|
|
2074
|
-
D ?
|
|
2071
|
+
var i = "";
|
|
2072
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2073
|
+
var D = nt();
|
|
2074
|
+
D ? i += D : i += Pe();
|
|
2075
2075
|
var w;
|
|
2076
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
2076
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
2077
2077
|
}
|
|
2078
|
-
var j =
|
|
2078
|
+
var j = at(e, t, r, f, m);
|
|
2079
2079
|
if (j == null)
|
|
2080
2080
|
return j;
|
|
2081
2081
|
if (l) {
|
|
2082
|
-
var
|
|
2083
|
-
if (
|
|
2082
|
+
var A = t.children;
|
|
2083
|
+
if (A !== void 0)
|
|
2084
2084
|
if (n)
|
|
2085
|
-
if (de(
|
|
2086
|
-
for (var Z = 0; Z <
|
|
2087
|
-
Ie(
|
|
2088
|
-
Object.freeze && Object.freeze(
|
|
2085
|
+
if (de(A)) {
|
|
2086
|
+
for (var Z = 0; Z < A.length; Z++)
|
|
2087
|
+
Ie(A[Z], e);
|
|
2088
|
+
Object.freeze && Object.freeze(A);
|
|
2089
2089
|
} else
|
|
2090
2090
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2091
2091
|
else
|
|
2092
|
-
Ie(
|
|
2092
|
+
Ie(A, e);
|
|
2093
2093
|
}
|
|
2094
2094
|
if (V.call(t, "key")) {
|
|
2095
2095
|
var z = k(e), N = Object.keys(t).filter(function(ft) {
|
|
@@ -2131,40 +2131,40 @@ const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", Kr
|
|
|
2131
2131
|
l: Gr
|
|
2132
2132
|
}, zr = ({
|
|
2133
2133
|
onClick: a,
|
|
2134
|
-
onSend:
|
|
2134
|
+
onSend: _,
|
|
2135
2135
|
size: c = "m",
|
|
2136
2136
|
view: u = "confirm",
|
|
2137
2137
|
children: y,
|
|
2138
2138
|
isDisabled: S = !1,
|
|
2139
2139
|
className: P,
|
|
2140
2140
|
after: x,
|
|
2141
|
-
before:
|
|
2142
|
-
label:
|
|
2141
|
+
before: s,
|
|
2142
|
+
label: v,
|
|
2143
2143
|
onRef: o,
|
|
2144
2144
|
awaitText: d = "Ожидайте"
|
|
2145
2145
|
}) => {
|
|
2146
2146
|
let [b, C] = U.useState(!1);
|
|
2147
|
-
const F = (
|
|
2147
|
+
const F = (I) => {
|
|
2148
2148
|
if (a) return a();
|
|
2149
|
-
b || (
|
|
2149
|
+
b || (_ ? (C(!0), _(C)) : I.preventDefault());
|
|
2150
2150
|
};
|
|
2151
|
-
let
|
|
2152
|
-
return (S || b) && (
|
|
2151
|
+
let B = {};
|
|
2152
|
+
return (S || b) && (B.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2153
2153
|
"button",
|
|
2154
2154
|
{
|
|
2155
|
-
...
|
|
2155
|
+
...B,
|
|
2156
2156
|
ref: o,
|
|
2157
2157
|
className: [
|
|
2158
2158
|
jt.btn,
|
|
2159
2159
|
b ? jt.disabled : jt[u],
|
|
2160
2160
|
c && jt[c],
|
|
2161
2161
|
P
|
|
2162
|
-
].filter((
|
|
2162
|
+
].filter((I) => I != "").join(" "),
|
|
2163
2163
|
onClick: F,
|
|
2164
2164
|
children: b ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2165
|
-
|
|
2165
|
+
s || "",
|
|
2166
2166
|
" ",
|
|
2167
|
-
|
|
2167
|
+
v,
|
|
2168
2168
|
" ",
|
|
2169
2169
|
x || ""
|
|
2170
2170
|
] }) || y
|
|
@@ -2177,7 +2177,7 @@ function Hr({ children: a }) {
|
|
|
2177
2177
|
}
|
|
2178
2178
|
var Ct;
|
|
2179
2179
|
((a) => {
|
|
2180
|
-
function
|
|
2180
|
+
function _({
|
|
2181
2181
|
import_modules: o
|
|
2182
2182
|
}) {
|
|
2183
2183
|
let [d, b] = U.useState([]);
|
|
@@ -2189,7 +2189,7 @@ var Ct;
|
|
|
2189
2189
|
b([...d, { key: F, item: C }]);
|
|
2190
2190
|
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((C) => C.item) });
|
|
2191
2191
|
}
|
|
2192
|
-
a.Init =
|
|
2192
|
+
a.Init = _;
|
|
2193
2193
|
function c(o) {
|
|
2194
2194
|
return o && (Ae.i = o), Ae.i;
|
|
2195
2195
|
}
|
|
@@ -2205,10 +2205,10 @@ var Ct;
|
|
|
2205
2205
|
function y({ type: o, name: d, params: b }) {
|
|
2206
2206
|
let [C, F] = U.useState(null);
|
|
2207
2207
|
return U.useEffect(() => {
|
|
2208
|
-
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((
|
|
2209
|
-
F(
|
|
2210
|
-
}) : Wt()(`${o}/modal/${d}.tsx`).then((
|
|
2211
|
-
F(
|
|
2208
|
+
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((B) => {
|
|
2209
|
+
F(B.default.Icon(b));
|
|
2210
|
+
}) : Wt()(`${o}/modal/${d}.tsx`).then((B) => {
|
|
2211
|
+
F(B.default.Icon(b));
|
|
2212
2212
|
});
|
|
2213
2213
|
}, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: C });
|
|
2214
2214
|
}
|
|
@@ -2229,7 +2229,7 @@ var Ct;
|
|
|
2229
2229
|
}, 1e3);
|
|
2230
2230
|
}
|
|
2231
2231
|
a.Shake = x;
|
|
2232
|
-
function
|
|
2232
|
+
function s(o, d) {
|
|
2233
2233
|
const b = (C) => {
|
|
2234
2234
|
a.Add(
|
|
2235
2235
|
/* @__PURE__ */ H.jsx(o, { ...C }, (/* @__PURE__ */ new Date()).getTime())
|
|
@@ -2240,50 +2240,50 @@ var Ct;
|
|
|
2240
2240
|
Open: b
|
|
2241
2241
|
};
|
|
2242
2242
|
}
|
|
2243
|
-
a.Create =
|
|
2244
|
-
function
|
|
2243
|
+
a.Create = s;
|
|
2244
|
+
function v({
|
|
2245
2245
|
title: o,
|
|
2246
2246
|
children: d,
|
|
2247
2247
|
button: b,
|
|
2248
2248
|
tabs: C,
|
|
2249
2249
|
size: F = "m",
|
|
2250
|
-
className:
|
|
2251
|
-
shake:
|
|
2250
|
+
className: B = "",
|
|
2251
|
+
shake: I = !0,
|
|
2252
2252
|
menu: E
|
|
2253
2253
|
}) {
|
|
2254
|
-
const [p,
|
|
2254
|
+
const [p, M] = U.useState(!0), K = U.useRef(), q = (Y) => {
|
|
2255
2255
|
if (b) {
|
|
2256
2256
|
if (b.onClick)
|
|
2257
|
-
return
|
|
2257
|
+
return Y(!1), b.onClick({ setOpen: M });
|
|
2258
2258
|
if (b.onSend)
|
|
2259
2259
|
return b.onSend({
|
|
2260
|
-
setOpen:
|
|
2261
|
-
disabled:
|
|
2260
|
+
setOpen: M,
|
|
2261
|
+
disabled: Y
|
|
2262
2262
|
});
|
|
2263
2263
|
}
|
|
2264
2264
|
}, L = () => {
|
|
2265
|
-
if (!
|
|
2265
|
+
if (!I) return M(!1);
|
|
2266
2266
|
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2267
2267
|
K.current.setAttribute("shake", !1);
|
|
2268
2268
|
}, 1e3);
|
|
2269
2269
|
};
|
|
2270
|
-
return p ? /* @__PURE__ */ H.jsxs("div", { className: `${
|
|
2271
|
-
/* @__PURE__ */ H.jsx("div", { className:
|
|
2270
|
+
return p ? /* @__PURE__ */ H.jsxs("div", { className: `${ie.modal}`, children: [
|
|
2271
|
+
/* @__PURE__ */ H.jsx("div", { className: ie.o, onClick: L }),
|
|
2272
2272
|
/* @__PURE__ */ H.jsxs(
|
|
2273
2273
|
"div",
|
|
2274
2274
|
{
|
|
2275
|
-
className: [
|
|
2275
|
+
className: [ie.w, ie[`s${F}`], B].filter((Y) => Y != "").join(" "),
|
|
2276
2276
|
ref: K,
|
|
2277
2277
|
children: [
|
|
2278
|
-
/* @__PURE__ */ H.jsxs("div", { className:
|
|
2279
|
-
/* @__PURE__ */ H.jsx("div", { className:
|
|
2280
|
-
/* @__PURE__ */ H.jsxs("div", { className:
|
|
2281
|
-
C && /* @__PURE__ */ H.jsx("nav", { children: C.map((
|
|
2278
|
+
/* @__PURE__ */ H.jsxs("div", { className: ie.h, children: [
|
|
2279
|
+
/* @__PURE__ */ H.jsx("div", { className: ie.t, children: o }),
|
|
2280
|
+
/* @__PURE__ */ H.jsxs("div", { className: ie.m, children: [
|
|
2281
|
+
C && /* @__PURE__ */ H.jsx("nav", { children: C.map((Y, R) => /* @__PURE__ */ H.jsx(
|
|
2282
2282
|
"span",
|
|
2283
2283
|
{
|
|
2284
|
-
onClick:
|
|
2285
|
-
className:
|
|
2286
|
-
children:
|
|
2284
|
+
onClick: Y.onClick,
|
|
2285
|
+
className: Y.active ? "active" : "",
|
|
2286
|
+
children: Y.name
|
|
2287
2287
|
},
|
|
2288
2288
|
R
|
|
2289
2289
|
)) }),
|
|
@@ -2292,9 +2292,9 @@ var Ct;
|
|
|
2292
2292
|
/* @__PURE__ */ H.jsx(
|
|
2293
2293
|
"div",
|
|
2294
2294
|
{
|
|
2295
|
-
className:
|
|
2295
|
+
className: ie.x,
|
|
2296
2296
|
onClick: () => {
|
|
2297
|
-
|
|
2297
|
+
M(!1);
|
|
2298
2298
|
},
|
|
2299
2299
|
children: /* @__PURE__ */ H.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ H.jsx(
|
|
2300
2300
|
"path",
|
|
@@ -2310,12 +2310,12 @@ var Ct;
|
|
|
2310
2310
|
)
|
|
2311
2311
|
] }),
|
|
2312
2312
|
d,
|
|
2313
|
-
b && /* @__PURE__ */ H.jsx("div", { className:
|
|
2313
|
+
b && /* @__PURE__ */ H.jsx("div", { className: ie.b, children: /* @__PURE__ */ H.jsx(
|
|
2314
2314
|
zr,
|
|
2315
2315
|
{
|
|
2316
2316
|
label: b.label,
|
|
2317
|
-
onSend:
|
|
2318
|
-
className:
|
|
2317
|
+
onSend: q,
|
|
2318
|
+
className: ie.btn,
|
|
2319
2319
|
size: b.size
|
|
2320
2320
|
}
|
|
2321
2321
|
) })
|
|
@@ -2324,74 +2324,74 @@ var Ct;
|
|
|
2324
2324
|
)
|
|
2325
2325
|
] }) : "";
|
|
2326
2326
|
}
|
|
2327
|
-
a.Main =
|
|
2327
|
+
a.Main = v;
|
|
2328
2328
|
})(Ct || (Ct = {}));
|
|
2329
|
-
const Jr = (a,
|
|
2330
|
-
function
|
|
2329
|
+
const Jr = (a, _ = ",") => (a = a !== void 0 && a !== "" ? a.split(_) : [], a.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
2330
|
+
function wa({
|
|
2331
2331
|
value: a,
|
|
2332
|
-
onValue:
|
|
2332
|
+
onValue: _,
|
|
2333
2333
|
name: c,
|
|
2334
2334
|
placeholder: u = "",
|
|
2335
2335
|
separator: y = ",",
|
|
2336
2336
|
title: S,
|
|
2337
2337
|
error: P,
|
|
2338
2338
|
hide: x = !1,
|
|
2339
|
-
edit:
|
|
2340
|
-
active:
|
|
2339
|
+
edit: s = !0,
|
|
2340
|
+
active: v = !0,
|
|
2341
2341
|
outFormat: o = "object",
|
|
2342
2342
|
after: d = "",
|
|
2343
2343
|
modal: b,
|
|
2344
2344
|
options: C,
|
|
2345
2345
|
className: F
|
|
2346
2346
|
}) {
|
|
2347
|
-
const [
|
|
2348
|
-
if (!(
|
|
2349
|
-
let
|
|
2350
|
-
Ct.Open(
|
|
2347
|
+
const [B, I] = U.useState(Jr(a, y)), E = (p) => {
|
|
2348
|
+
if (!(s && v) || !b) return;
|
|
2349
|
+
let M = b.split(".");
|
|
2350
|
+
Ct.Open(M[0], M[1], {
|
|
2351
2351
|
callback: (K) => {
|
|
2352
|
-
if (
|
|
2352
|
+
if (_)
|
|
2353
2353
|
switch (o) {
|
|
2354
2354
|
case "array":
|
|
2355
|
-
|
|
2355
|
+
_({ value: Object.keys(K), name: c });
|
|
2356
2356
|
break;
|
|
2357
2357
|
case "string":
|
|
2358
|
-
|
|
2359
|
-
value: Object.keys(K).filter((
|
|
2358
|
+
_({
|
|
2359
|
+
value: Object.keys(K).filter((q) => K[q]).join(y),
|
|
2360
2360
|
name: c
|
|
2361
2361
|
});
|
|
2362
2362
|
break;
|
|
2363
2363
|
default:
|
|
2364
|
-
|
|
2364
|
+
_({ value: K, name: c });
|
|
2365
2365
|
}
|
|
2366
|
-
|
|
2366
|
+
I(
|
|
2367
2367
|
Object.fromEntries(
|
|
2368
2368
|
Object.entries(K).filter(
|
|
2369
|
-
([
|
|
2369
|
+
([q, L]) => L !== !1
|
|
2370
2370
|
)
|
|
2371
2371
|
)
|
|
2372
2372
|
);
|
|
2373
2373
|
},
|
|
2374
|
-
onValue:
|
|
2374
|
+
onValue: _,
|
|
2375
2375
|
options: C,
|
|
2376
2376
|
name: c,
|
|
2377
|
-
value:
|
|
2377
|
+
value: B
|
|
2378
2378
|
});
|
|
2379
2379
|
};
|
|
2380
|
-
return x ? /* @__PURE__ */
|
|
2381
|
-
|
|
2380
|
+
return x ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
2381
|
+
Be,
|
|
2382
2382
|
{
|
|
2383
2383
|
type: "group",
|
|
2384
2384
|
title: S,
|
|
2385
2385
|
element_blok: { className: [F] },
|
|
2386
2386
|
element_input: {
|
|
2387
|
-
className: [
|
|
2387
|
+
className: [_e.g],
|
|
2388
2388
|
props: {
|
|
2389
2389
|
onClick: E
|
|
2390
2390
|
}
|
|
2391
2391
|
},
|
|
2392
|
-
children: Object.keys(
|
|
2393
|
-
var
|
|
2394
|
-
return /* @__PURE__ */
|
|
2392
|
+
children: Object.keys(B).map((p) => {
|
|
2393
|
+
var M;
|
|
2394
|
+
return /* @__PURE__ */ g.jsx("div", { children: (M = C[p]) == null ? void 0 : M.label }, p);
|
|
2395
2395
|
})
|
|
2396
2396
|
}
|
|
2397
2397
|
);
|
|
@@ -2401,58 +2401,58 @@ const Zr = "_o_1wehm_12", Vr = "_l_1wehm_22", Xr = "_f_1wehm_81", Nt = {
|
|
|
2401
2401
|
l: Vr,
|
|
2402
2402
|
f: Xr
|
|
2403
2403
|
};
|
|
2404
|
-
function
|
|
2404
|
+
function ja({
|
|
2405
2405
|
title: a,
|
|
2406
|
-
error:
|
|
2406
|
+
error: _,
|
|
2407
2407
|
edit: c = !0,
|
|
2408
2408
|
active: u = !0,
|
|
2409
2409
|
hide: y,
|
|
2410
2410
|
value: S = 0,
|
|
2411
2411
|
onValue: P,
|
|
2412
2412
|
options: x,
|
|
2413
|
-
placeholder:
|
|
2414
|
-
className:
|
|
2413
|
+
placeholder: s = "",
|
|
2414
|
+
className: v,
|
|
2415
2415
|
isIcon: o = !0,
|
|
2416
2416
|
name: d,
|
|
2417
2417
|
after: b,
|
|
2418
2418
|
view: C,
|
|
2419
2419
|
order: F,
|
|
2420
|
-
isReload:
|
|
2420
|
+
isReload: B = !1
|
|
2421
2421
|
}) {
|
|
2422
2422
|
var W, h;
|
|
2423
|
-
const
|
|
2423
|
+
const I = U.useRef(null), [E, p] = U.useState(S), [M, K] = U.useState(x), [q, L] = U.useState(!1);
|
|
2424
2424
|
U.useEffect(() => {
|
|
2425
2425
|
p(S), K(x);
|
|
2426
|
-
}, [S, x]), y = !!(y && (S === 0 || ((W =
|
|
2426
|
+
}, [S, x]), y = !!(y && (S === 0 || ((W = M == null ? void 0 : M[S]) == null ? void 0 : W.n) === void 0)) && !(c && u);
|
|
2427
2427
|
let R = (k) => {
|
|
2428
|
-
p(k), P && P({ value: k, name: d, reload:
|
|
2428
|
+
p(k), P && P({ value: k, name: d, reload: B });
|
|
2429
2429
|
}, T = (k) => {
|
|
2430
|
-
Object.keys(
|
|
2430
|
+
Object.keys(M || {}).length !== 0 && c && u && (I.position = I.current.getBoundingClientRect(), L(!0));
|
|
2431
2431
|
}, O = {};
|
|
2432
|
-
return
|
|
2433
|
-
/* @__PURE__ */
|
|
2434
|
-
|
|
2432
|
+
return s && (O.placeholder = s), y ? "" : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
2433
|
+
/* @__PURE__ */ g.jsx(
|
|
2434
|
+
Be,
|
|
2435
2435
|
{
|
|
2436
2436
|
type: "select",
|
|
2437
2437
|
title: a,
|
|
2438
|
-
element_blok: { className: [
|
|
2438
|
+
element_blok: { className: [v] },
|
|
2439
2439
|
element_input: {
|
|
2440
2440
|
className: [Nt.f],
|
|
2441
2441
|
props: { onClick: T }
|
|
2442
2442
|
},
|
|
2443
|
-
ref:
|
|
2444
|
-
children: /* @__PURE__ */
|
|
2443
|
+
ref: I,
|
|
2444
|
+
children: /* @__PURE__ */ g.jsx("div", { ...O, children: (h = M == null ? void 0 : M[E]) == null ? void 0 : h.n })
|
|
2445
2445
|
}
|
|
2446
2446
|
),
|
|
2447
|
-
|
|
2448
|
-
/* @__PURE__ */
|
|
2447
|
+
q && Mt(
|
|
2448
|
+
/* @__PURE__ */ g.jsx(
|
|
2449
2449
|
Qr,
|
|
2450
2450
|
{
|
|
2451
|
-
parent:
|
|
2451
|
+
parent: I.position,
|
|
2452
2452
|
onValue: R,
|
|
2453
2453
|
view: C,
|
|
2454
|
-
className:
|
|
2455
|
-
options:
|
|
2454
|
+
className: v,
|
|
2455
|
+
options: M,
|
|
2456
2456
|
order: F,
|
|
2457
2457
|
setOpen: L
|
|
2458
2458
|
},
|
|
@@ -2464,7 +2464,7 @@ function jn({
|
|
|
2464
2464
|
}
|
|
2465
2465
|
const Qr = ({
|
|
2466
2466
|
onValue: a,
|
|
2467
|
-
parent:
|
|
2467
|
+
parent: _,
|
|
2468
2468
|
className: c,
|
|
2469
2469
|
options: u,
|
|
2470
2470
|
order: y,
|
|
@@ -2474,9 +2474,9 @@ const Qr = ({
|
|
|
2474
2474
|
S(!1);
|
|
2475
2475
|
}, x = (o) => {
|
|
2476
2476
|
S(!1), a(o);
|
|
2477
|
-
},
|
|
2478
|
-
return /* @__PURE__ */
|
|
2479
|
-
/* @__PURE__ */
|
|
2477
|
+
}, s = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, v = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
|
|
2478
|
+
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
2479
|
+
/* @__PURE__ */ g.jsx(
|
|
2480
2480
|
"div",
|
|
2481
2481
|
{
|
|
2482
2482
|
className: Nt.o,
|
|
@@ -2484,117 +2484,113 @@ const Qr = ({
|
|
|
2484
2484
|
},
|
|
2485
2485
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2486
2486
|
),
|
|
2487
|
-
/* @__PURE__ */
|
|
2487
|
+
/* @__PURE__ */ g.jsx(
|
|
2488
2488
|
"div",
|
|
2489
2489
|
{
|
|
2490
2490
|
className: [Nt.l, c].filter((o) => o !== void 0).join(" "),
|
|
2491
2491
|
style: {
|
|
2492
|
-
top:
|
|
2493
|
-
left:
|
|
2494
|
-
width:
|
|
2492
|
+
top: s + "px",
|
|
2493
|
+
left: v + "px",
|
|
2494
|
+
width: _.width
|
|
2495
2495
|
},
|
|
2496
|
-
children: /* @__PURE__ */
|
|
2496
|
+
children: /* @__PURE__ */ g.jsx(ea, { order: y, options: u, link: x })
|
|
2497
2497
|
}
|
|
2498
2498
|
)
|
|
2499
2499
|
] });
|
|
2500
|
-
},
|
|
2501
|
-
(u, y) =>
|
|
2500
|
+
}, ea = ({ order: a, options: _, link: c }) => a ? /* @__PURE__ */ g.jsx("ul", { children: a.map(
|
|
2501
|
+
(u, y) => _[u].s !== 0 ? /* @__PURE__ */ g.jsx(
|
|
2502
2502
|
"li",
|
|
2503
2503
|
{
|
|
2504
2504
|
onClick: () => {
|
|
2505
2505
|
c(u);
|
|
2506
2506
|
},
|
|
2507
|
-
children:
|
|
2507
|
+
children: _[u].n
|
|
2508
2508
|
},
|
|
2509
2509
|
y
|
|
2510
2510
|
) : ""
|
|
2511
|
-
) }) : /* @__PURE__ */
|
|
2512
|
-
(u, y) =>
|
|
2511
|
+
) }) : /* @__PURE__ */ g.jsx("ul", { children: Object.keys(_).map(
|
|
2512
|
+
(u, y) => _[u].s !== 0 ? /* @__PURE__ */ g.jsx(
|
|
2513
2513
|
"li",
|
|
2514
2514
|
{
|
|
2515
2515
|
onClick: () => {
|
|
2516
2516
|
c(u);
|
|
2517
2517
|
},
|
|
2518
|
-
children:
|
|
2518
|
+
children: _[u].n
|
|
2519
2519
|
},
|
|
2520
2520
|
y
|
|
2521
2521
|
) : ""
|
|
2522
2522
|
) });
|
|
2523
|
-
function
|
|
2523
|
+
function xa({
|
|
2524
2524
|
value: a,
|
|
2525
|
-
onValue:
|
|
2525
|
+
onValue: _,
|
|
2526
2526
|
name: c,
|
|
2527
2527
|
placeholder: u = "",
|
|
2528
2528
|
title: y,
|
|
2529
2529
|
error: S,
|
|
2530
2530
|
hide: P = !1,
|
|
2531
2531
|
edit: x = !0,
|
|
2532
|
-
show:
|
|
2533
|
-
active:
|
|
2532
|
+
show: s = !0,
|
|
2533
|
+
active: v = !0,
|
|
2534
2534
|
after: o = "",
|
|
2535
2535
|
view: d,
|
|
2536
2536
|
modal: b,
|
|
2537
2537
|
module: C,
|
|
2538
2538
|
options: F,
|
|
2539
|
-
className:
|
|
2539
|
+
className: B
|
|
2540
2540
|
}) {
|
|
2541
|
-
|
|
2542
|
-
if (!(x &&
|
|
2543
|
-
let
|
|
2544
|
-
Ct.Open(
|
|
2545
|
-
callback: (
|
|
2546
|
-
|
|
2541
|
+
const [I, E] = U.useState(a), p = (K) => {
|
|
2542
|
+
if (!(x && v) || !b) return;
|
|
2543
|
+
let q = b.split(".");
|
|
2544
|
+
Ct.Open(q[0], q[1], {
|
|
2545
|
+
callback: (L) => {
|
|
2546
|
+
_ && _({ value: L, name: c }), E(L);
|
|
2547
2547
|
},
|
|
2548
|
-
onValue:
|
|
2548
|
+
onValue: _,
|
|
2549
2549
|
options: F,
|
|
2550
2550
|
name: c,
|
|
2551
2551
|
value: a
|
|
2552
2552
|
});
|
|
2553
|
-
};
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
}
|
|
2568
|
-
),
|
|
2569
|
-
S && /* @__PURE__ */ v.jsx("em", { children: S })
|
|
2570
|
-
] });
|
|
2553
|
+
}, M = {};
|
|
2554
|
+
return u && (M.placeholder = u), P ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
2555
|
+
Be,
|
|
2556
|
+
{
|
|
2557
|
+
type: "input",
|
|
2558
|
+
title: y,
|
|
2559
|
+
element_blok: { className: [B] },
|
|
2560
|
+
element_input: {
|
|
2561
|
+
className: [_e.w],
|
|
2562
|
+
props: { onClick: p }
|
|
2563
|
+
},
|
|
2564
|
+
children: /* @__PURE__ */ g.jsx("div", { ...M, children: I })
|
|
2565
|
+
}
|
|
2566
|
+
);
|
|
2571
2567
|
}
|
|
2572
|
-
function
|
|
2568
|
+
function Ca({
|
|
2573
2569
|
value: a,
|
|
2574
|
-
onValue:
|
|
2570
|
+
onValue: _,
|
|
2575
2571
|
onSave: c,
|
|
2576
2572
|
name: u,
|
|
2577
2573
|
placeholder: y = "",
|
|
2578
2574
|
className: S,
|
|
2579
2575
|
title: P,
|
|
2580
2576
|
error: x,
|
|
2581
|
-
edit:
|
|
2582
|
-
active:
|
|
2577
|
+
edit: s = !0,
|
|
2578
|
+
active: v = !0,
|
|
2583
2579
|
reload: o = !1,
|
|
2584
2580
|
native: d = !1,
|
|
2585
2581
|
isShow: b = !1,
|
|
2586
2582
|
maxLength: C,
|
|
2587
2583
|
eyes: F = [],
|
|
2588
|
-
after:
|
|
2584
|
+
after: B = ""
|
|
2589
2585
|
}) {
|
|
2590
|
-
const [
|
|
2586
|
+
const [I, E] = U.useState(b);
|
|
2591
2587
|
let p = (R) => {
|
|
2592
|
-
|
|
2588
|
+
_ && _({
|
|
2593
2589
|
value: R.target.textContent,
|
|
2594
2590
|
name: u,
|
|
2595
2591
|
reload: o
|
|
2596
2592
|
});
|
|
2597
|
-
},
|
|
2593
|
+
}, M = (R) => {
|
|
2598
2594
|
R.key === "Enter" && R.preventDefault();
|
|
2599
2595
|
}, K = (R) => {
|
|
2600
2596
|
R.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
@@ -2610,60 +2606,60 @@ function Cn({
|
|
|
2610
2606
|
);
|
|
2611
2607
|
}).catch((T) => {
|
|
2612
2608
|
});
|
|
2613
|
-
},
|
|
2609
|
+
}, q = (R) => {
|
|
2614
2610
|
ee.Blur(R), c == null || c({ value: R.target.textContent.trim(), name: u });
|
|
2615
2611
|
};
|
|
2616
2612
|
const L = {};
|
|
2617
|
-
L.field = "password",
|
|
2618
|
-
const
|
|
2619
|
-
return y && (
|
|
2620
|
-
P ? /* @__PURE__ */
|
|
2621
|
-
/* @__PURE__ */
|
|
2613
|
+
L.field = "password", I && (L.show = ""), S && (L.className = S);
|
|
2614
|
+
const Y = {};
|
|
2615
|
+
return y && (Y.placeholder = y), d ? "" : /* @__PURE__ */ g.jsxs("dl", { ...L, children: [
|
|
2616
|
+
P ? /* @__PURE__ */ g.jsx("dt", { children: P }) : "",
|
|
2617
|
+
/* @__PURE__ */ g.jsx(
|
|
2622
2618
|
"dd",
|
|
2623
2619
|
{
|
|
2624
2620
|
onPaste: K,
|
|
2625
2621
|
onInput: p,
|
|
2626
|
-
onKeyDown:
|
|
2627
|
-
onBlur:
|
|
2628
|
-
contentEditable:
|
|
2629
|
-
...
|
|
2622
|
+
onKeyDown: M,
|
|
2623
|
+
onBlur: q,
|
|
2624
|
+
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
2625
|
+
...Y,
|
|
2630
2626
|
suppressContentEditableWarning: !0,
|
|
2631
2627
|
children: a
|
|
2632
2628
|
}
|
|
2633
2629
|
),
|
|
2634
|
-
F[0] && /* @__PURE__ */
|
|
2635
|
-
|
|
2636
|
-
x ? /* @__PURE__ */
|
|
2630
|
+
F[0] && /* @__PURE__ */ g.jsx("i", { onClick: () => E(!I), children: I ? F[1] : F[0] }),
|
|
2631
|
+
B,
|
|
2632
|
+
x ? /* @__PURE__ */ g.jsx("em", { children: x }) : ""
|
|
2637
2633
|
] });
|
|
2638
2634
|
}
|
|
2639
|
-
function
|
|
2635
|
+
function Sa({
|
|
2640
2636
|
onValue: a,
|
|
2641
|
-
onSave:
|
|
2637
|
+
onSave: _,
|
|
2642
2638
|
active: c,
|
|
2643
2639
|
max: u,
|
|
2644
2640
|
edit: y,
|
|
2645
2641
|
title: S,
|
|
2646
2642
|
error: P,
|
|
2647
2643
|
show: x,
|
|
2648
|
-
hide:
|
|
2649
|
-
value:
|
|
2644
|
+
hide: s,
|
|
2645
|
+
value: v,
|
|
2650
2646
|
placeholder: o,
|
|
2651
2647
|
className: d,
|
|
2652
2648
|
maxLength: b,
|
|
2653
2649
|
name: C,
|
|
2654
2650
|
after: F = "",
|
|
2655
|
-
before:
|
|
2656
|
-
view:
|
|
2651
|
+
before: B = "",
|
|
2652
|
+
view: I
|
|
2657
2653
|
}) {
|
|
2658
|
-
y = y !== void 0 ? y : !0, c = c !== void 0 ? c : !0,
|
|
2659
|
-
let p = !1,
|
|
2654
|
+
y = y !== void 0 ? y : !0, c = c !== void 0 ? c : !0, s = !!(s && (v === "" || v === void 0)) && !(y && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2655
|
+
let p = !1, M = (T) => {
|
|
2660
2656
|
a == null || a({ value: T.target.textContent, name: C });
|
|
2661
2657
|
}, K = (T) => {
|
|
2662
2658
|
if (!(p && T.which === 86)) {
|
|
2663
2659
|
if (T.which === 17 || T.which === 91) return p = !0;
|
|
2664
2660
|
T.key !== "Backspace" && (T.target.textContent.length === u && T.preventDefault(), T.key === "Enter" && T.preventDefault(), isNaN(T.key) && T.preventDefault());
|
|
2665
2661
|
}
|
|
2666
|
-
},
|
|
2662
|
+
}, q = (T) => {
|
|
2667
2663
|
if (T.which === 17 || T.which === 91) return p = !1;
|
|
2668
2664
|
}, L = (T) => {
|
|
2669
2665
|
T.preventDefault(), navigator.clipboard.readText().then((O) => {
|
|
@@ -2676,30 +2672,30 @@ function Sn({
|
|
|
2676
2672
|
}).catch((O) => {
|
|
2677
2673
|
});
|
|
2678
2674
|
};
|
|
2679
|
-
const
|
|
2680
|
-
ee.Blur(T),
|
|
2675
|
+
const Y = (T) => {
|
|
2676
|
+
ee.Blur(T), _ == null || _({ value: T.target.textContent, name: C });
|
|
2681
2677
|
};
|
|
2682
2678
|
let R = {};
|
|
2683
|
-
return y && c ? (R.edit = "true", R.contentEditable = ee.ContentEditable) : R.contentEditable = "false", R.inputMode = "decimal", o && (R.placeholder = o),
|
|
2684
|
-
|
|
2679
|
+
return y && c ? (R.edit = "true", R.contentEditable = ee.ContentEditable) : R.contentEditable = "false", R.inputMode = "decimal", o && (R.placeholder = o), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
2680
|
+
Be,
|
|
2685
2681
|
{
|
|
2686
2682
|
type: "numeric",
|
|
2687
2683
|
title: S,
|
|
2688
2684
|
element_blok: { className: [d] },
|
|
2689
|
-
element_input: { className: [
|
|
2690
|
-
children: /* @__PURE__ */
|
|
2685
|
+
element_input: { className: [_e.w] },
|
|
2686
|
+
children: /* @__PURE__ */ g.jsx(
|
|
2691
2687
|
"div",
|
|
2692
2688
|
{
|
|
2693
2689
|
onPaste: L,
|
|
2694
|
-
onInput:
|
|
2695
|
-
onBlur:
|
|
2690
|
+
onInput: M,
|
|
2691
|
+
onBlur: Y,
|
|
2696
2692
|
onKeyDown: K,
|
|
2697
|
-
onKeyUp:
|
|
2693
|
+
onKeyUp: q,
|
|
2698
2694
|
spellCheck: "true",
|
|
2699
2695
|
contentEditable: y && c ? ee.ContentEditable : "false",
|
|
2700
2696
|
suppressContentEditableWarning: !0,
|
|
2701
2697
|
...R,
|
|
2702
|
-
children:
|
|
2698
|
+
children: v
|
|
2703
2699
|
}
|
|
2704
2700
|
)
|
|
2705
2701
|
}
|
|
@@ -2716,16 +2712,16 @@ var Ft = { exports: {} }, ht = {};
|
|
|
2716
2712
|
* LICENSE file in the root directory of this source tree.
|
|
2717
2713
|
*/
|
|
2718
2714
|
var qt;
|
|
2719
|
-
function
|
|
2715
|
+
function ta() {
|
|
2720
2716
|
if (qt) return ht;
|
|
2721
2717
|
qt = 1;
|
|
2722
|
-
var a = U,
|
|
2723
|
-
function P(x,
|
|
2718
|
+
var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2719
|
+
function P(x, s, v) {
|
|
2724
2720
|
var o, d = {}, b = null, C = null;
|
|
2725
|
-
|
|
2726
|
-
for (o in
|
|
2727
|
-
if (x && x.defaultProps) for (o in
|
|
2728
|
-
return { $$typeof:
|
|
2721
|
+
v !== void 0 && (b = "" + v), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
2722
|
+
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2723
|
+
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2724
|
+
return { $$typeof: _, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
2729
2725
|
}
|
|
2730
2726
|
return ht.Fragment = c, ht.jsx = P, ht.jsxs = P, ht;
|
|
2731
2727
|
}
|
|
@@ -2740,13 +2736,13 @@ var xt = {};
|
|
|
2740
2736
|
* LICENSE file in the root directory of this source tree.
|
|
2741
2737
|
*/
|
|
2742
2738
|
var Yt;
|
|
2743
|
-
function
|
|
2739
|
+
function ra() {
|
|
2744
2740
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2745
|
-
var a = U,
|
|
2746
|
-
function
|
|
2741
|
+
var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, B = "@@iterator";
|
|
2742
|
+
function I(e) {
|
|
2747
2743
|
if (e === null || typeof e != "object")
|
|
2748
2744
|
return null;
|
|
2749
|
-
var t = F && e[F] || e[
|
|
2745
|
+
var t = F && e[F] || e[B];
|
|
2750
2746
|
return typeof t == "function" ? t : null;
|
|
2751
2747
|
}
|
|
2752
2748
|
var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -2754,10 +2750,10 @@ function rn() {
|
|
|
2754
2750
|
{
|
|
2755
2751
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
2756
2752
|
r[n - 1] = arguments[n];
|
|
2757
|
-
|
|
2753
|
+
M("error", e, r);
|
|
2758
2754
|
}
|
|
2759
2755
|
}
|
|
2760
|
-
function
|
|
2756
|
+
function M(e, t, r) {
|
|
2761
2757
|
{
|
|
2762
2758
|
var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
2763
2759
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -2767,10 +2763,10 @@ function rn() {
|
|
|
2767
2763
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
2768
2764
|
}
|
|
2769
2765
|
}
|
|
2770
|
-
var K = !1,
|
|
2766
|
+
var K = !1, q = !1, L = !1, Y = !1, R = !1, T;
|
|
2771
2767
|
T = Symbol.for("react.module.reference");
|
|
2772
2768
|
function O(e) {
|
|
2773
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e ===
|
|
2769
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === v || e === o || Y || e === C || K || q || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2774
2770
|
// types supported by any Flight configuration anywhere since
|
|
2775
2771
|
// we don't know which Flight build this will end up being used
|
|
2776
2772
|
// with.
|
|
@@ -2802,7 +2798,7 @@ function rn() {
|
|
|
2802
2798
|
return "Profiler";
|
|
2803
2799
|
case y:
|
|
2804
2800
|
return "StrictMode";
|
|
2805
|
-
case
|
|
2801
|
+
case v:
|
|
2806
2802
|
return "Suspense";
|
|
2807
2803
|
case o:
|
|
2808
2804
|
return "SuspenseList";
|
|
@@ -2815,7 +2811,7 @@ function rn() {
|
|
|
2815
2811
|
case P:
|
|
2816
2812
|
var r = e;
|
|
2817
2813
|
return h(r._context) + ".Provider";
|
|
2818
|
-
case
|
|
2814
|
+
case s:
|
|
2819
2815
|
return W(e, e.render, "ForwardRef");
|
|
2820
2816
|
case d:
|
|
2821
2817
|
var n = e.displayName || null;
|
|
@@ -2831,13 +2827,13 @@ function rn() {
|
|
|
2831
2827
|
}
|
|
2832
2828
|
return null;
|
|
2833
2829
|
}
|
|
2834
|
-
var $ = Object.assign,
|
|
2830
|
+
var $ = Object.assign, G = 0, X, oe, se, ve, ge, be, ke;
|
|
2835
2831
|
function we() {
|
|
2836
2832
|
}
|
|
2837
2833
|
we.__reactDisabledLog = !0;
|
|
2838
2834
|
function We() {
|
|
2839
2835
|
{
|
|
2840
|
-
if (
|
|
2836
|
+
if (G === 0) {
|
|
2841
2837
|
X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
2842
2838
|
var e = {
|
|
2843
2839
|
configurable: !0,
|
|
@@ -2855,12 +2851,12 @@ function rn() {
|
|
|
2855
2851
|
groupEnd: e
|
|
2856
2852
|
});
|
|
2857
2853
|
}
|
|
2858
|
-
|
|
2854
|
+
G++;
|
|
2859
2855
|
}
|
|
2860
2856
|
}
|
|
2861
2857
|
function Ue() {
|
|
2862
2858
|
{
|
|
2863
|
-
if (
|
|
2859
|
+
if (G--, G === 0) {
|
|
2864
2860
|
var e = {
|
|
2865
2861
|
configurable: !0,
|
|
2866
2862
|
enumerable: !0,
|
|
@@ -2890,7 +2886,7 @@ function rn() {
|
|
|
2890
2886
|
})
|
|
2891
2887
|
});
|
|
2892
2888
|
}
|
|
2893
|
-
|
|
2889
|
+
G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2894
2890
|
}
|
|
2895
2891
|
}
|
|
2896
2892
|
var le = E.ReactCurrentDispatcher, ce;
|
|
@@ -2960,18 +2956,18 @@ function rn() {
|
|
|
2960
2956
|
}
|
|
2961
2957
|
} catch (N) {
|
|
2962
2958
|
if (N && n && typeof N.stack == "string") {
|
|
2963
|
-
for (var
|
|
2959
|
+
for (var i = N.stack.split(`
|
|
2964
2960
|
`), D = n.stack.split(`
|
|
2965
|
-
`), w =
|
|
2961
|
+
`), w = i.length - 1, j = D.length - 1; w >= 1 && j >= 0 && i[w] !== D[j]; )
|
|
2966
2962
|
j--;
|
|
2967
2963
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
2968
|
-
if (
|
|
2964
|
+
if (i[w] !== D[j]) {
|
|
2969
2965
|
if (w !== 1 || j !== 1)
|
|
2970
2966
|
do
|
|
2971
|
-
if (w--, j--, j < 0 ||
|
|
2972
|
-
var
|
|
2973
|
-
` +
|
|
2974
|
-
return e.displayName &&
|
|
2967
|
+
if (w--, j--, j < 0 || i[w] !== D[j]) {
|
|
2968
|
+
var A = `
|
|
2969
|
+
` + i[w].replace(" at new ", " at ");
|
|
2970
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, A), A;
|
|
2975
2971
|
}
|
|
2976
2972
|
while (w >= 1 && j >= 0);
|
|
2977
2973
|
break;
|
|
@@ -2990,7 +2986,7 @@ function rn() {
|
|
|
2990
2986
|
var t = e.prototype;
|
|
2991
2987
|
return !!(t && t.isReactComponent);
|
|
2992
2988
|
}
|
|
2993
|
-
function
|
|
2989
|
+
function ae(e, t, r) {
|
|
2994
2990
|
if (e == null)
|
|
2995
2991
|
return "";
|
|
2996
2992
|
if (typeof e == "function")
|
|
@@ -2998,21 +2994,21 @@ function rn() {
|
|
|
2998
2994
|
if (typeof e == "string")
|
|
2999
2995
|
return te(e);
|
|
3000
2996
|
switch (e) {
|
|
3001
|
-
case
|
|
2997
|
+
case v:
|
|
3002
2998
|
return te("Suspense");
|
|
3003
2999
|
case o:
|
|
3004
3000
|
return te("SuspenseList");
|
|
3005
3001
|
}
|
|
3006
3002
|
if (typeof e == "object")
|
|
3007
3003
|
switch (e.$$typeof) {
|
|
3008
|
-
case
|
|
3004
|
+
case s:
|
|
3009
3005
|
return qe(e.render);
|
|
3010
3006
|
case d:
|
|
3011
|
-
return
|
|
3007
|
+
return ae(e.type, t, r);
|
|
3012
3008
|
case b: {
|
|
3013
3009
|
var n = e, f = n._payload, m = n._init;
|
|
3014
3010
|
try {
|
|
3015
|
-
return
|
|
3011
|
+
return ae(m(f), t, r);
|
|
3016
3012
|
} catch {
|
|
3017
3013
|
}
|
|
3018
3014
|
}
|
|
@@ -3020,9 +3016,9 @@ function rn() {
|
|
|
3020
3016
|
return "";
|
|
3021
3017
|
}
|
|
3022
3018
|
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
|
|
3023
|
-
function
|
|
3019
|
+
function ne(e) {
|
|
3024
3020
|
if (e) {
|
|
3025
|
-
var t = e._owner, r =
|
|
3021
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
3026
3022
|
Ce.setExtraStackFrame(r);
|
|
3027
3023
|
} else
|
|
3028
3024
|
Ce.setExtraStackFrame(null);
|
|
@@ -3032,17 +3028,17 @@ function rn() {
|
|
|
3032
3028
|
var m = Function.call.bind(V);
|
|
3033
3029
|
for (var l in e)
|
|
3034
3030
|
if (m(e, l)) {
|
|
3035
|
-
var
|
|
3031
|
+
var i = void 0;
|
|
3036
3032
|
try {
|
|
3037
3033
|
if (typeof e[l] != "function") {
|
|
3038
3034
|
var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3039
3035
|
throw D.name = "Invariant Violation", D;
|
|
3040
3036
|
}
|
|
3041
|
-
|
|
3037
|
+
i = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3042
3038
|
} catch (w) {
|
|
3043
|
-
|
|
3039
|
+
i = w;
|
|
3044
3040
|
}
|
|
3045
|
-
|
|
3041
|
+
i && !(i instanceof Error) && (ne(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof i), ne(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ne(f), p("Failed %s type: %s", r, i.message), ne(null));
|
|
3046
3042
|
}
|
|
3047
3043
|
}
|
|
3048
3044
|
}
|
|
@@ -3118,9 +3114,9 @@ function rn() {
|
|
|
3118
3114
|
}
|
|
3119
3115
|
}
|
|
3120
3116
|
var rt = function(e, t, r, n, f, m, l) {
|
|
3121
|
-
var
|
|
3117
|
+
var i = {
|
|
3122
3118
|
// This tag allows us to uniquely identify this as a React Element
|
|
3123
|
-
$$typeof:
|
|
3119
|
+
$$typeof: _,
|
|
3124
3120
|
// Built-in properties that belong on the element
|
|
3125
3121
|
type: e,
|
|
3126
3122
|
key: t,
|
|
@@ -3129,27 +3125,27 @@ function rn() {
|
|
|
3129
3125
|
// Record the component responsible for creating this element.
|
|
3130
3126
|
_owner: m
|
|
3131
3127
|
};
|
|
3132
|
-
return
|
|
3128
|
+
return i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
3133
3129
|
configurable: !1,
|
|
3134
3130
|
enumerable: !1,
|
|
3135
3131
|
writable: !0,
|
|
3136
3132
|
value: !1
|
|
3137
|
-
}), Object.defineProperty(
|
|
3133
|
+
}), Object.defineProperty(i, "_self", {
|
|
3138
3134
|
configurable: !1,
|
|
3139
3135
|
enumerable: !1,
|
|
3140
3136
|
writable: !1,
|
|
3141
3137
|
value: n
|
|
3142
|
-
}), Object.defineProperty(
|
|
3138
|
+
}), Object.defineProperty(i, "_source", {
|
|
3143
3139
|
configurable: !1,
|
|
3144
3140
|
enumerable: !1,
|
|
3145
3141
|
writable: !1,
|
|
3146
3142
|
value: f
|
|
3147
|
-
}), Object.freeze && (Object.freeze(
|
|
3143
|
+
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
3148
3144
|
};
|
|
3149
|
-
function
|
|
3145
|
+
function at(e, t, r, n, f) {
|
|
3150
3146
|
{
|
|
3151
|
-
var m, l = {},
|
|
3152
|
-
r !== void 0 && (Re(r),
|
|
3147
|
+
var m, l = {}, i = null, D = null;
|
|
3148
|
+
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (D = t.ref, Qe(t));
|
|
3153
3149
|
for (m in t)
|
|
3154
3150
|
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
3155
3151
|
if (e && e.defaultProps) {
|
|
@@ -3157,17 +3153,17 @@ function rn() {
|
|
|
3157
3153
|
for (m in w)
|
|
3158
3154
|
l[m] === void 0 && (l[m] = w[m]);
|
|
3159
3155
|
}
|
|
3160
|
-
if (
|
|
3156
|
+
if (i || D) {
|
|
3161
3157
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3162
|
-
|
|
3158
|
+
i && et(l, j), D && tt(l, j);
|
|
3163
3159
|
}
|
|
3164
|
-
return rt(e,
|
|
3160
|
+
return rt(e, i, D, f, n, Ee.current, l);
|
|
3165
3161
|
}
|
|
3166
3162
|
}
|
|
3167
3163
|
var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
|
|
3168
3164
|
function J(e) {
|
|
3169
3165
|
if (e) {
|
|
3170
|
-
var t = e._owner, r =
|
|
3166
|
+
var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
|
|
3171
3167
|
De.setExtraStackFrame(r);
|
|
3172
3168
|
} else
|
|
3173
3169
|
De.setExtraStackFrame(null);
|
|
@@ -3175,7 +3171,7 @@ function rn() {
|
|
|
3175
3171
|
var pe;
|
|
3176
3172
|
pe = !1;
|
|
3177
3173
|
function me(e) {
|
|
3178
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
3174
|
+
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
3179
3175
|
}
|
|
3180
3176
|
function Pe() {
|
|
3181
3177
|
{
|
|
@@ -3189,7 +3185,7 @@ Check the render method of \`` + e + "`.";
|
|
|
3189
3185
|
return "";
|
|
3190
3186
|
}
|
|
3191
3187
|
}
|
|
3192
|
-
function
|
|
3188
|
+
function nt(e) {
|
|
3193
3189
|
return "";
|
|
3194
3190
|
}
|
|
3195
3191
|
var Ne = {};
|
|
@@ -3230,7 +3226,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3230
3226
|
else if (me(e))
|
|
3231
3227
|
e._store && (e._store.validated = !0);
|
|
3232
3228
|
else if (e) {
|
|
3233
|
-
var f =
|
|
3229
|
+
var f = I(e);
|
|
3234
3230
|
if (typeof f == "function" && f !== e.entries)
|
|
3235
3231
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
3236
3232
|
me(l.value) && Fe(l.value, t);
|
|
@@ -3245,7 +3241,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3245
3241
|
var r;
|
|
3246
3242
|
if (typeof t == "function")
|
|
3247
3243
|
r = t.propTypes;
|
|
3248
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
3244
|
+
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
3249
3245
|
// Inner props are checked in the reconciler.
|
|
3250
3246
|
t.$$typeof === d))
|
|
3251
3247
|
r = t.propTypes;
|
|
@@ -3279,28 +3275,28 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3279
3275
|
{
|
|
3280
3276
|
var l = O(e);
|
|
3281
3277
|
if (!l) {
|
|
3282
|
-
var
|
|
3283
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
3284
|
-
var D =
|
|
3285
|
-
D ?
|
|
3278
|
+
var i = "";
|
|
3279
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3280
|
+
var D = nt();
|
|
3281
|
+
D ? i += D : i += Pe();
|
|
3286
3282
|
var w;
|
|
3287
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
3283
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (k(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
3288
3284
|
}
|
|
3289
|
-
var j =
|
|
3285
|
+
var j = at(e, t, r, f, m);
|
|
3290
3286
|
if (j == null)
|
|
3291
3287
|
return j;
|
|
3292
3288
|
if (l) {
|
|
3293
|
-
var
|
|
3294
|
-
if (
|
|
3289
|
+
var A = t.children;
|
|
3290
|
+
if (A !== void 0)
|
|
3295
3291
|
if (n)
|
|
3296
|
-
if (de(
|
|
3297
|
-
for (var Z = 0; Z <
|
|
3298
|
-
Ie(
|
|
3299
|
-
Object.freeze && Object.freeze(
|
|
3292
|
+
if (de(A)) {
|
|
3293
|
+
for (var Z = 0; Z < A.length; Z++)
|
|
3294
|
+
Ie(A[Z], e);
|
|
3295
|
+
Object.freeze && Object.freeze(A);
|
|
3300
3296
|
} else
|
|
3301
3297
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
3302
3298
|
else
|
|
3303
|
-
Ie(
|
|
3299
|
+
Ie(A, e);
|
|
3304
3300
|
}
|
|
3305
3301
|
if (V.call(t, "key")) {
|
|
3306
3302
|
var z = k(e), N = Object.keys(t).filter(function(ft) {
|
|
@@ -3329,25 +3325,25 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3329
3325
|
xt.Fragment = u, xt.jsx = ct, xt.jsxs = ut;
|
|
3330
3326
|
}()), xt;
|
|
3331
3327
|
}
|
|
3332
|
-
process.env.NODE_ENV === "production" ? Ft.exports =
|
|
3328
|
+
process.env.NODE_ENV === "production" ? Ft.exports = ta() : Ft.exports = ra();
|
|
3333
3329
|
var Q = Ft.exports;
|
|
3334
|
-
const
|
|
3335
|
-
notice:
|
|
3336
|
-
error:
|
|
3337
|
-
success:
|
|
3338
|
-
remark:
|
|
3339
|
-
copy:
|
|
3330
|
+
const aa = "_notice_13j98_2", na = "_error_13j98_11", oa = "_success_13j98_14", _a = "_remark_13j98_17", ia = "_copy_13j98_20", Ht = {
|
|
3331
|
+
notice: aa,
|
|
3332
|
+
error: na,
|
|
3333
|
+
success: oa,
|
|
3334
|
+
remark: _a,
|
|
3335
|
+
copy: ia,
|
|
3340
3336
|
"show-notice": "_show-notice_13j98_1",
|
|
3341
3337
|
"hide-notice": "_hide-notice_13j98_1"
|
|
3342
3338
|
};
|
|
3343
|
-
let
|
|
3339
|
+
let Le = {};
|
|
3344
3340
|
function bt({ data: a }) {
|
|
3345
|
-
let [
|
|
3341
|
+
let [_, c] = U.useState("show");
|
|
3346
3342
|
U.useEffect(() => {
|
|
3347
3343
|
a.hide && (setTimeout(function() {
|
|
3348
3344
|
c("hide");
|
|
3349
3345
|
}, 1800), setTimeout(function() {
|
|
3350
|
-
|
|
3346
|
+
Le.del(a.key);
|
|
3351
3347
|
}, 2500));
|
|
3352
3348
|
}, [a.key]);
|
|
3353
3349
|
let u, y;
|
|
@@ -3368,21 +3364,21 @@ function bt({ data: a }) {
|
|
|
3368
3364
|
u = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Предупреждение:";
|
|
3369
3365
|
break;
|
|
3370
3366
|
}
|
|
3371
|
-
return /* @__PURE__ */ Q.jsxs("li", { className: Ht[a.type], "data-status":
|
|
3367
|
+
return /* @__PURE__ */ Q.jsxs("li", { className: Ht[a.type], "data-status": _, children: [
|
|
3372
3368
|
u,
|
|
3373
3369
|
/* @__PURE__ */ Q.jsx("b", { children: y }),
|
|
3374
3370
|
/* @__PURE__ */ Q.jsx("p", { children: a.text })
|
|
3375
3371
|
] });
|
|
3376
3372
|
}
|
|
3377
|
-
function
|
|
3378
|
-
let [
|
|
3373
|
+
function sa({ data: a }) {
|
|
3374
|
+
let [_, c] = U.useState("show");
|
|
3379
3375
|
return U.useEffect(() => {
|
|
3380
3376
|
a.hide && (setTimeout(function() {
|
|
3381
3377
|
c("hide");
|
|
3382
3378
|
}, 1800), setTimeout(function() {
|
|
3383
|
-
|
|
3379
|
+
Le.del(a.key);
|
|
3384
3380
|
}, 2500));
|
|
3385
|
-
}, [a.key]), /* @__PURE__ */ Q.jsx("li", { className: "item", "data-status":
|
|
3381
|
+
}, [a.key]), /* @__PURE__ */ Q.jsx("li", { className: "item", "data-status": _, children: a.text });
|
|
3386
3382
|
}
|
|
3387
3383
|
const pt = {};
|
|
3388
3384
|
pt.error = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -3419,98 +3415,98 @@ pt.success = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "
|
|
|
3419
3415
|
] });
|
|
3420
3416
|
var St;
|
|
3421
3417
|
((a) => {
|
|
3422
|
-
function
|
|
3423
|
-
let [
|
|
3424
|
-
return
|
|
3425
|
-
|
|
3426
|
-
},
|
|
3427
|
-
|
|
3428
|
-
},
|
|
3418
|
+
function _() {
|
|
3419
|
+
let [s, v] = U.useState([]);
|
|
3420
|
+
return Le.set = (o) => {
|
|
3421
|
+
v([...s, o]);
|
|
3422
|
+
}, Le.del = (o) => {
|
|
3423
|
+
v(s.filter((d) => d.key !== o));
|
|
3424
|
+
}, s.length === 0 ? "" : /* @__PURE__ */ Q.jsx("ul", { className: Ht.notice, children: s.map((o) => o.item) });
|
|
3429
3425
|
}
|
|
3430
|
-
a.Init =
|
|
3431
|
-
function c(
|
|
3432
|
-
let o = Date.now(), d = { key: o, text:
|
|
3433
|
-
|
|
3426
|
+
a.Init = _;
|
|
3427
|
+
function c(s, v = !0) {
|
|
3428
|
+
let o = Date.now(), d = { key: o, text: s, hide: v, type: "error" };
|
|
3429
|
+
Le.set({
|
|
3434
3430
|
item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
|
|
3435
3431
|
key: o
|
|
3436
3432
|
});
|
|
3437
3433
|
}
|
|
3438
3434
|
a.Error = c;
|
|
3439
|
-
function u(
|
|
3440
|
-
let o = Date.now(), d = { key: o, text:
|
|
3441
|
-
|
|
3435
|
+
function u(s, v = !0) {
|
|
3436
|
+
let o = Date.now(), d = { key: o, text: s, hide: v, type: "success" };
|
|
3437
|
+
Le.set({
|
|
3442
3438
|
item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
|
|
3443
3439
|
key: o
|
|
3444
3440
|
});
|
|
3445
3441
|
}
|
|
3446
3442
|
a.Success = u;
|
|
3447
|
-
function y(
|
|
3448
|
-
let o = Date.now(), d = { key: o, hide:
|
|
3449
|
-
|
|
3443
|
+
function y(s, v = !0) {
|
|
3444
|
+
let o = Date.now(), d = { key: o, hide: v, text: s };
|
|
3445
|
+
Le.set({ item: /* @__PURE__ */ Q.jsx(sa, { data: d }, o), key: o });
|
|
3450
3446
|
}
|
|
3451
3447
|
a.Custom = y;
|
|
3452
|
-
function S(
|
|
3453
|
-
let
|
|
3454
|
-
|
|
3455
|
-
item: /* @__PURE__ */ Q.jsx(bt, { data: o },
|
|
3456
|
-
key:
|
|
3448
|
+
function S(s) {
|
|
3449
|
+
let v = Date.now(), o = { key: v, hide: !0, ...s };
|
|
3450
|
+
Le.set({
|
|
3451
|
+
item: /* @__PURE__ */ Q.jsx(bt, { data: o }, v),
|
|
3452
|
+
key: v
|
|
3457
3453
|
});
|
|
3458
3454
|
}
|
|
3459
3455
|
a.Send = S;
|
|
3460
|
-
function P(
|
|
3461
|
-
let o = Date.now(), d = { key: o, text:
|
|
3462
|
-
|
|
3456
|
+
function P(s, v = !0) {
|
|
3457
|
+
let o = Date.now(), d = { key: o, text: s, hide: v, type: "remark" };
|
|
3458
|
+
Le.set({
|
|
3463
3459
|
item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
|
|
3464
3460
|
key: o
|
|
3465
3461
|
});
|
|
3466
3462
|
}
|
|
3467
3463
|
a.Remark = P;
|
|
3468
|
-
function x(
|
|
3469
|
-
let o = Date.now(), d = { key: o, text:
|
|
3470
|
-
|
|
3464
|
+
function x(s, v = !0) {
|
|
3465
|
+
let o = Date.now(), d = { key: o, text: s, hide: v, type: "copy" };
|
|
3466
|
+
Le.set({
|
|
3471
3467
|
item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
|
|
3472
3468
|
key: o
|
|
3473
3469
|
});
|
|
3474
3470
|
}
|
|
3475
3471
|
a.Copy = x;
|
|
3476
3472
|
})(St || (St = {}));
|
|
3477
|
-
function
|
|
3473
|
+
function Ra({
|
|
3478
3474
|
value: a = "",
|
|
3479
|
-
onValue:
|
|
3475
|
+
onValue: _,
|
|
3480
3476
|
onSave: c,
|
|
3481
3477
|
name: u,
|
|
3482
3478
|
format: y = "+_(___) ___-__-__",
|
|
3483
3479
|
placeholder: S = "",
|
|
3484
3480
|
title: P = "",
|
|
3485
3481
|
error: x = "",
|
|
3486
|
-
hide:
|
|
3487
|
-
edit:
|
|
3482
|
+
hide: s = !1,
|
|
3483
|
+
edit: v = !0,
|
|
3488
3484
|
active: o = !0,
|
|
3489
3485
|
after: d = "",
|
|
3490
3486
|
show: b = !0,
|
|
3491
3487
|
view: C,
|
|
3492
3488
|
className: F = ""
|
|
3493
3489
|
}) {
|
|
3494
|
-
|
|
3495
|
-
let
|
|
3496
|
-
let $ = document.createRange(),
|
|
3497
|
-
$.setStart(k.childNodes[0], h), $.collapse(!0),
|
|
3490
|
+
v = v !== void 0 ? v : !0, o = o !== void 0 ? o : !0, s = !!(s && (a === "" || a === void 0)) && !(v && o), U.useRef(null);
|
|
3491
|
+
let I = y, E = !0, p = 0, M = (h, k) => {
|
|
3492
|
+
let $ = document.createRange(), G = window.getSelection();
|
|
3493
|
+
$.setStart(k.childNodes[0], h), $.collapse(!0), G.removeAllRanges(), G.addRange($), k.focus();
|
|
3498
3494
|
}, K = (h) => {
|
|
3499
3495
|
h.preventDefault(), navigator.clipboard.readText().then((k) => {
|
|
3500
3496
|
window.document.execCommand("insertText", !1, k);
|
|
3501
3497
|
}).catch((k) => {
|
|
3502
3498
|
});
|
|
3503
|
-
},
|
|
3504
|
-
let k = 0, $ = "",
|
|
3505
|
-
|
|
3506
|
-
let X =
|
|
3499
|
+
}, q = (h) => {
|
|
3500
|
+
let k = 0, $ = "", G = h.replace(/\D/g, "");
|
|
3501
|
+
G === "" && (E = !0);
|
|
3502
|
+
let X = G.split(""), oe = "";
|
|
3507
3503
|
X.forEach((ge) => {
|
|
3508
|
-
E && (oe += ge, E && (p = ("" + oe).length,
|
|
3504
|
+
E && (oe += ge, E && (p = ("" + oe).length, I = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""), p > ("" + oe).length && (E = !0, I = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""));
|
|
3509
3505
|
});
|
|
3510
|
-
let se =
|
|
3511
|
-
return se.length >=
|
|
3512
|
-
return
|
|
3513
|
-
}), i: k, v:
|
|
3506
|
+
let se = I.replace(/\D/g, "");
|
|
3507
|
+
return se.length >= G.length && (G = se), { q: I.replace(/[_\d]/g, function() {
|
|
3508
|
+
return G.charAt(k++) || "_";
|
|
3509
|
+
}), i: k, v: G, f: $ };
|
|
3514
3510
|
}, L = (h) => {
|
|
3515
3511
|
h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
|
|
3516
3512
|
function() {
|
|
@@ -3519,9 +3515,9 @@ function Rn({
|
|
|
3519
3515
|
function(k) {
|
|
3520
3516
|
}
|
|
3521
3517
|
);
|
|
3522
|
-
},
|
|
3523
|
-
let k =
|
|
3524
|
-
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !==
|
|
3518
|
+
}, Y = q(a), R = (h) => {
|
|
3519
|
+
let k = q(h.target.textContent);
|
|
3520
|
+
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== I ? k.i++ : k.i = k.q.indexOf("_"), M(k.i, h.target), _ && _({ value: k.q.replace(/\D/g, ""), name: u });
|
|
3525
3521
|
}, T = (h) => {
|
|
3526
3522
|
h.key === "Enter" && h.preventDefault();
|
|
3527
3523
|
};
|
|
@@ -3532,14 +3528,14 @@ function Rn({
|
|
|
3532
3528
|
});
|
|
3533
3529
|
};
|
|
3534
3530
|
let W = {};
|
|
3535
|
-
return
|
|
3536
|
-
|
|
3531
|
+
return v && o ? (W.edit = "true", W.contentEditable = ee.ContentEditable) : W.contentEditable = "false", S && (W.placeholder = S), d && (W.after = d), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
3532
|
+
Be,
|
|
3537
3533
|
{
|
|
3538
3534
|
type: "input",
|
|
3539
3535
|
title: P,
|
|
3540
3536
|
element_blok: { className: [F] },
|
|
3541
|
-
element_input: { className: [
|
|
3542
|
-
children: /* @__PURE__ */
|
|
3537
|
+
element_input: { className: [_e.w] },
|
|
3538
|
+
children: /* @__PURE__ */ g.jsx(
|
|
3543
3539
|
"div",
|
|
3544
3540
|
{
|
|
3545
3541
|
onPaste: K,
|
|
@@ -3549,38 +3545,38 @@ function Rn({
|
|
|
3549
3545
|
onBlur: O,
|
|
3550
3546
|
suppressContentEditableWarning: !0,
|
|
3551
3547
|
...W,
|
|
3552
|
-
children:
|
|
3548
|
+
children: Y.q
|
|
3553
3549
|
}
|
|
3554
3550
|
)
|
|
3555
3551
|
}
|
|
3556
3552
|
);
|
|
3557
3553
|
}
|
|
3558
|
-
function
|
|
3554
|
+
function Ea({
|
|
3559
3555
|
id: a,
|
|
3560
|
-
value:
|
|
3556
|
+
value: _,
|
|
3561
3557
|
onValue: c,
|
|
3562
3558
|
name: u,
|
|
3563
3559
|
placeholder: y = "",
|
|
3564
3560
|
title: S = "",
|
|
3565
3561
|
error: P = "",
|
|
3566
3562
|
hide: x = !1,
|
|
3567
|
-
edit:
|
|
3568
|
-
active:
|
|
3563
|
+
edit: s = !0,
|
|
3564
|
+
active: v = !0,
|
|
3569
3565
|
after: o = "",
|
|
3570
3566
|
show: d = !0,
|
|
3571
3567
|
maxLength: b,
|
|
3572
3568
|
view: C,
|
|
3573
3569
|
onSave: F,
|
|
3574
|
-
className:
|
|
3575
|
-
isCopy:
|
|
3570
|
+
className: B = "",
|
|
3571
|
+
isCopy: I = !0
|
|
3576
3572
|
}) {
|
|
3577
3573
|
let [E, p] = U.useState(!1);
|
|
3578
|
-
E =
|
|
3579
|
-
let
|
|
3574
|
+
E = s ? !0 : E;
|
|
3575
|
+
let M = (R) => {
|
|
3580
3576
|
c == null || c({ value: R.target.innerText, name: u });
|
|
3581
3577
|
}, K = (R) => {
|
|
3582
3578
|
b && R.target.textContent.trim().length >= b && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
|
|
3583
|
-
},
|
|
3579
|
+
}, q = (R) => {
|
|
3584
3580
|
R.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
3585
3581
|
if (b) {
|
|
3586
3582
|
let O = R.target.textContent.length;
|
|
@@ -3595,31 +3591,31 @@ function En({
|
|
|
3595
3591
|
}).catch((T) => {
|
|
3596
3592
|
});
|
|
3597
3593
|
};
|
|
3598
|
-
if (x) return /* @__PURE__ */
|
|
3599
|
-
if (!(
|
|
3594
|
+
if (x) return /* @__PURE__ */ g.jsx(g.Fragment, {});
|
|
3595
|
+
if (!(s && v) && !d) return "";
|
|
3600
3596
|
const L = {};
|
|
3601
|
-
y && (L.placeholder = y),
|
|
3602
|
-
const
|
|
3597
|
+
y && (L.placeholder = y), s && v && (L.edit = ""), E && (L.open = "");
|
|
3598
|
+
const Y = (R) => {
|
|
3603
3599
|
ee.Blur(R), F == null || F({ value: R.target.textContent.trim(), name: u });
|
|
3604
3600
|
};
|
|
3605
|
-
return /* @__PURE__ */
|
|
3606
|
-
|
|
3601
|
+
return /* @__PURE__ */ g.jsx(
|
|
3602
|
+
Be,
|
|
3607
3603
|
{
|
|
3608
3604
|
type: "note",
|
|
3609
3605
|
title: S,
|
|
3610
|
-
element_blok: { className: [
|
|
3611
|
-
element_input: { className: [
|
|
3612
|
-
children: /* @__PURE__ */
|
|
3606
|
+
element_blok: { className: [B] },
|
|
3607
|
+
element_input: { className: [_e.n] },
|
|
3608
|
+
children: /* @__PURE__ */ g.jsx(
|
|
3613
3609
|
"div",
|
|
3614
3610
|
{
|
|
3615
|
-
onPaste:
|
|
3616
|
-
onInput:
|
|
3617
|
-
onBlur:
|
|
3611
|
+
onPaste: q,
|
|
3612
|
+
onInput: M,
|
|
3613
|
+
onBlur: Y,
|
|
3618
3614
|
onKeyDown: K,
|
|
3619
|
-
contentEditable:
|
|
3615
|
+
contentEditable: s && v ? ee.ContentEditable : "false",
|
|
3620
3616
|
suppressContentEditableWarning: !0,
|
|
3621
3617
|
...L,
|
|
3622
|
-
children:
|
|
3618
|
+
children: _
|
|
3623
3619
|
}
|
|
3624
3620
|
)
|
|
3625
3621
|
}
|
|
@@ -5007,49 +5003,49 @@ const Ot = {
|
|
|
5007
5003
|
mask: "+1939(___) ___-__-__"
|
|
5008
5004
|
}
|
|
5009
5005
|
};
|
|
5010
|
-
function
|
|
5006
|
+
function Oa({
|
|
5011
5007
|
value: a,
|
|
5012
|
-
onValue:
|
|
5008
|
+
onValue: _,
|
|
5013
5009
|
onSave: c,
|
|
5014
5010
|
name: u,
|
|
5015
5011
|
placeholder: y = "",
|
|
5016
5012
|
title: S = "",
|
|
5017
5013
|
error: P = "",
|
|
5018
5014
|
hide: x = !1,
|
|
5019
|
-
edit:
|
|
5020
|
-
active:
|
|
5015
|
+
edit: s = !0,
|
|
5016
|
+
active: v = !0,
|
|
5021
5017
|
after: o = "",
|
|
5022
5018
|
show: d = !0,
|
|
5023
5019
|
view: b,
|
|
5024
5020
|
className: C = ""
|
|
5025
5021
|
}) {
|
|
5026
|
-
|
|
5027
|
-
let
|
|
5022
|
+
s = s !== void 0 ? s : !0, v = v !== void 0 ? v : !0, x = !!(x && (a === "" || a === void 0)) && !(s && v), U.useRef(null);
|
|
5023
|
+
let B = "+_(___) ___-__-__", I = !0, E = 0, p = (W, h) => {
|
|
5028
5024
|
let k = document.createRange(), $ = window.getSelection();
|
|
5029
5025
|
k.setStart(h.childNodes[0], W), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
|
|
5030
|
-
},
|
|
5031
|
-
let h =
|
|
5032
|
-
W.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !==
|
|
5026
|
+
}, M = (W) => {
|
|
5027
|
+
let h = q(W.target.textContent);
|
|
5028
|
+
W.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== B ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, W.target), _ && _({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5033
5029
|
}, K = (W) => {
|
|
5034
5030
|
W.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5035
5031
|
window.document.execCommand("insertText", !1, h);
|
|
5036
5032
|
}).catch((h) => {
|
|
5037
5033
|
});
|
|
5038
|
-
},
|
|
5034
|
+
}, q = (W) => {
|
|
5039
5035
|
let h = 0, k = "", $ = W.replace(/\D/g, "");
|
|
5040
|
-
$ === "" && (
|
|
5041
|
-
let
|
|
5042
|
-
|
|
5043
|
-
|
|
5036
|
+
$ === "" && (I = !0);
|
|
5037
|
+
let G = $.split(""), X = "";
|
|
5038
|
+
G.forEach((ve) => {
|
|
5039
|
+
I && (X += ve, Ot[X] !== void 0 && I ? (I = !1, B = Ot[X].mask.replace(new RegExp("[0-9]", "g"), "_"), k = Ot[X].code) : (I && (E = ("" + X).length, B = `+${X}_(___) ___-__-__`.replace(
|
|
5044
5040
|
new RegExp("[0-9]", "g"),
|
|
5045
5041
|
"_"
|
|
5046
|
-
), k = ""), E > ("" + X).length && (
|
|
5042
|
+
), k = ""), E > ("" + X).length && (I = !0, B = `+${X}_(___) ___-__-__`.replace(
|
|
5047
5043
|
new RegExp("[0-9]", "g"),
|
|
5048
5044
|
"_"
|
|
5049
5045
|
), k = "")));
|
|
5050
5046
|
});
|
|
5051
|
-
let oe =
|
|
5052
|
-
return oe.length >= $.length && ($ = oe), { q:
|
|
5047
|
+
let oe = B.replace(/\D/g, "");
|
|
5048
|
+
return oe.length >= $.length && ($ = oe), { q: B.replace(/[_\d]/g, function() {
|
|
5053
5049
|
return $.charAt(h++) || "_";
|
|
5054
5050
|
}), i: h, v: $, f: k };
|
|
5055
5051
|
}, L = (W) => {
|
|
@@ -5060,7 +5056,7 @@ function On({
|
|
|
5060
5056
|
function(h) {
|
|
5061
5057
|
}
|
|
5062
5058
|
);
|
|
5063
|
-
},
|
|
5059
|
+
}, Y = q(a), R = (W) => {
|
|
5064
5060
|
W.key === "Enter" && W.preventDefault();
|
|
5065
5061
|
};
|
|
5066
5062
|
const T = (W) => {
|
|
@@ -5070,44 +5066,44 @@ function On({
|
|
|
5070
5066
|
});
|
|
5071
5067
|
};
|
|
5072
5068
|
let O = {};
|
|
5073
|
-
return
|
|
5074
|
-
|
|
5069
|
+
return s && v ? (O.edit = "true", O.contentEditable = ee.ContentEditable) : O.contentEditable = "false", y && (O.placeholder = y), x ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
5070
|
+
Be,
|
|
5075
5071
|
{
|
|
5076
5072
|
type: "input",
|
|
5077
5073
|
title: S,
|
|
5078
5074
|
element_blok: { className: C },
|
|
5079
|
-
element_input: { className: [
|
|
5080
|
-
children: /* @__PURE__ */
|
|
5075
|
+
element_input: { className: [_e.w] },
|
|
5076
|
+
children: /* @__PURE__ */ g.jsx(
|
|
5081
5077
|
"div",
|
|
5082
5078
|
{
|
|
5083
5079
|
onPaste: K,
|
|
5084
|
-
onInput:
|
|
5080
|
+
onInput: M,
|
|
5085
5081
|
onKeyDown: R,
|
|
5086
5082
|
onContextMenu: L,
|
|
5087
5083
|
onBlur: T,
|
|
5088
5084
|
suppressContentEditableWarning: !0,
|
|
5089
5085
|
...O,
|
|
5090
|
-
children:
|
|
5086
|
+
children: Y.q
|
|
5091
5087
|
}
|
|
5092
5088
|
)
|
|
5093
5089
|
}
|
|
5094
5090
|
);
|
|
5095
5091
|
}
|
|
5096
|
-
const
|
|
5097
|
-
o:
|
|
5098
|
-
c:
|
|
5092
|
+
const la = "_o_1c9e1_1", ca = "_c_1c9e1_11", Rt = {
|
|
5093
|
+
o: la,
|
|
5094
|
+
c: ca
|
|
5099
5095
|
};
|
|
5100
|
-
function
|
|
5096
|
+
function Ta({
|
|
5101
5097
|
title: a,
|
|
5102
|
-
error:
|
|
5098
|
+
error: _,
|
|
5103
5099
|
edit: c = !0,
|
|
5104
5100
|
active: u = !0,
|
|
5105
5101
|
className: y,
|
|
5106
5102
|
placeholder: S,
|
|
5107
5103
|
max: P,
|
|
5108
5104
|
min: x,
|
|
5109
|
-
onValue:
|
|
5110
|
-
icon:
|
|
5105
|
+
onValue: s,
|
|
5106
|
+
icon: v,
|
|
5111
5107
|
name: o,
|
|
5112
5108
|
value: d,
|
|
5113
5109
|
after: b
|
|
@@ -5115,49 +5111,49 @@ function Tn({
|
|
|
5115
5111
|
let [C, F] = U.useState(
|
|
5116
5112
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5117
5113
|
);
|
|
5118
|
-
const
|
|
5114
|
+
const B = U.useRef(null), [I, E] = U.useState(!1);
|
|
5119
5115
|
let p = !c && u;
|
|
5120
5116
|
U.useEffect(() => {
|
|
5121
5117
|
F(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5122
5118
|
}, [d]);
|
|
5123
|
-
let
|
|
5124
|
-
F(L),
|
|
5119
|
+
let M = (L) => {
|
|
5120
|
+
F(L), s == null || s({ value: L, name: o });
|
|
5125
5121
|
}, K = (L) => {
|
|
5126
|
-
const
|
|
5127
|
-
|
|
5122
|
+
const Y = L.target.getBoundingClientRect(), R = Y.left, T = Y.bottom, O = Y.top;
|
|
5123
|
+
B.position = { x: R, b: T, y: O }, E(!0);
|
|
5128
5124
|
};
|
|
5129
|
-
const
|
|
5130
|
-
return S && (
|
|
5131
|
-
|
|
5125
|
+
const q = {};
|
|
5126
|
+
return S && (q.placeholder = S), p ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5127
|
+
v ? v() : /* @__PURE__ */ g.jsxs(
|
|
5132
5128
|
"dl",
|
|
5133
5129
|
{
|
|
5134
5130
|
"data-field": "date",
|
|
5135
|
-
className: [
|
|
5131
|
+
className: [_e.l, y].filter((L) => L !== void 0).join(" "),
|
|
5136
5132
|
children: [
|
|
5137
|
-
a ? /* @__PURE__ */
|
|
5138
|
-
/* @__PURE__ */
|
|
5133
|
+
a ? /* @__PURE__ */ g.jsx("dt", { className: _e.t, children: a }) : "",
|
|
5134
|
+
/* @__PURE__ */ g.jsxs(
|
|
5139
5135
|
"dd",
|
|
5140
5136
|
{
|
|
5141
5137
|
onClick: K,
|
|
5142
|
-
className: [
|
|
5143
|
-
...
|
|
5138
|
+
className: [_e.f, _e.w].join(" "),
|
|
5139
|
+
...q,
|
|
5144
5140
|
"data-edit": (c && u) + "",
|
|
5145
5141
|
children: [
|
|
5146
|
-
|
|
5142
|
+
fa(C, "dd.mm.yyyy"),
|
|
5147
5143
|
b
|
|
5148
5144
|
]
|
|
5149
5145
|
}
|
|
5150
5146
|
),
|
|
5151
|
-
|
|
5147
|
+
_ && /* @__PURE__ */ g.jsx("em", { children: _ })
|
|
5152
5148
|
]
|
|
5153
5149
|
}
|
|
5154
5150
|
),
|
|
5155
|
-
|
|
5156
|
-
/* @__PURE__ */
|
|
5157
|
-
|
|
5151
|
+
I && Mt(
|
|
5152
|
+
/* @__PURE__ */ g.jsx(
|
|
5153
|
+
ua,
|
|
5158
5154
|
{
|
|
5159
|
-
position:
|
|
5160
|
-
onValue:
|
|
5155
|
+
position: B.position,
|
|
5156
|
+
onValue: M,
|
|
5161
5157
|
date: C,
|
|
5162
5158
|
max: P,
|
|
5163
5159
|
min: x,
|
|
@@ -5170,60 +5166,60 @@ function Tn({
|
|
|
5170
5166
|
)
|
|
5171
5167
|
] });
|
|
5172
5168
|
}
|
|
5173
|
-
const
|
|
5169
|
+
const ua = ({
|
|
5174
5170
|
date: a,
|
|
5175
|
-
onValue:
|
|
5171
|
+
onValue: _,
|
|
5176
5172
|
position: c,
|
|
5177
5173
|
max: u,
|
|
5178
5174
|
min: y,
|
|
5179
5175
|
className: S,
|
|
5180
5176
|
onOpen: P
|
|
5181
5177
|
}) => {
|
|
5182
|
-
let x = /* @__PURE__ */ new Date(),
|
|
5178
|
+
let x = /* @__PURE__ */ new Date(), s = new Date(a), v = {
|
|
5183
5179
|
y: parseInt(x.getFullYear()),
|
|
5184
5180
|
d: parseInt(x.getDate()),
|
|
5185
5181
|
m: parseInt(x.getMonth()) + 1
|
|
5186
5182
|
}, o = {
|
|
5187
|
-
y: parseInt(
|
|
5188
|
-
d: parseInt(
|
|
5189
|
-
m: parseInt(
|
|
5183
|
+
y: parseInt(s.getFullYear()),
|
|
5184
|
+
d: parseInt(s.getDate()),
|
|
5185
|
+
m: parseInt(s.getMonth()) + 1
|
|
5190
5186
|
}, [d, b] = U.useState({ y: o.y, m: o.m }), C = (h) => {
|
|
5191
5187
|
let k = h.getDay();
|
|
5192
5188
|
return k === 0 && (k = 7), k - 1;
|
|
5193
|
-
}, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"],
|
|
5194
|
-
for (let h = 0; h < C(
|
|
5189
|
+
}, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], B = d.m - 1, I = new Date(d.y, B), E = [];
|
|
5190
|
+
for (let h = 0; h < C(I); h++)
|
|
5195
5191
|
E.push(0);
|
|
5196
|
-
for (;
|
|
5197
|
-
E.push(
|
|
5192
|
+
for (; I.getMonth() === B; )
|
|
5193
|
+
E.push(I.getDate()), I.setDate(I.getDate() + 1);
|
|
5198
5194
|
let p = () => {
|
|
5199
5195
|
P(!1);
|
|
5200
|
-
},
|
|
5196
|
+
}, M = () => {
|
|
5201
5197
|
L(d.m + 1, d.y);
|
|
5202
5198
|
}, K = () => {
|
|
5203
5199
|
L(d.m - 1, d.y);
|
|
5204
|
-
},
|
|
5205
|
-
|
|
5200
|
+
}, q = (h) => {
|
|
5201
|
+
_(
|
|
5206
5202
|
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5207
5203
|
), p();
|
|
5208
5204
|
}, L = (h, k) => {
|
|
5209
5205
|
k = h > 12 ? k + 1 : h < 1 ? k - 1 : k, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: k, m: h });
|
|
5210
5206
|
};
|
|
5211
|
-
const
|
|
5207
|
+
const Y = (h) => v.y === d.y && v.m === d.m && v.d === h ? { "data-active": "true" } : {}, R = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, T = (h) => {
|
|
5212
5208
|
let k = !0;
|
|
5213
5209
|
if (u) {
|
|
5214
|
-
let $ = u.getTime(),
|
|
5215
|
-
$ <
|
|
5210
|
+
let $ = u.getTime(), G = new Date(d.y, d.m - 1, h).getTime();
|
|
5211
|
+
$ < G && (k = !1);
|
|
5216
5212
|
}
|
|
5217
5213
|
if (y) {
|
|
5218
|
-
let $ = y.getTime(),
|
|
5219
|
-
$ >
|
|
5214
|
+
let $ = y.getTime(), G = new Date(d.y, d.m - 1, h).getTime();
|
|
5215
|
+
$ > G && (k = !1);
|
|
5220
5216
|
}
|
|
5221
5217
|
return k;
|
|
5222
5218
|
};
|
|
5223
5219
|
let O = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, W = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5224
|
-
return /* @__PURE__ */
|
|
5225
|
-
/* @__PURE__ */
|
|
5226
|
-
/* @__PURE__ */
|
|
5220
|
+
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5221
|
+
/* @__PURE__ */ g.jsx("div", { className: Rt.o, onClick: () => p() }),
|
|
5222
|
+
/* @__PURE__ */ g.jsxs(
|
|
5227
5223
|
"div",
|
|
5228
5224
|
{
|
|
5229
5225
|
className: [
|
|
@@ -5232,8 +5228,8 @@ const dn = ({
|
|
|
5232
5228
|
].join(" "),
|
|
5233
5229
|
style: { top: O + "px", left: W + "px" },
|
|
5234
5230
|
children: [
|
|
5235
|
-
/* @__PURE__ */
|
|
5236
|
-
/* @__PURE__ */
|
|
5231
|
+
/* @__PURE__ */ g.jsxs("s", { children: [
|
|
5232
|
+
/* @__PURE__ */ g.jsx("i", { onClick: K, children: /* @__PURE__ */ g.jsx(
|
|
5237
5233
|
"svg",
|
|
5238
5234
|
{
|
|
5239
5235
|
width: "16",
|
|
@@ -5241,15 +5237,15 @@ const dn = ({
|
|
|
5241
5237
|
fill: "currentColor",
|
|
5242
5238
|
viewBox: "0 0 24 24",
|
|
5243
5239
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5244
|
-
children: /* @__PURE__ */
|
|
5240
|
+
children: /* @__PURE__ */ g.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
|
|
5245
5241
|
}
|
|
5246
5242
|
) }),
|
|
5247
|
-
/* @__PURE__ */
|
|
5248
|
-
|
|
5243
|
+
/* @__PURE__ */ g.jsxs("h2", { children: [
|
|
5244
|
+
da(d.m).name,
|
|
5249
5245
|
" ",
|
|
5250
5246
|
d.y
|
|
5251
5247
|
] }),
|
|
5252
|
-
/* @__PURE__ */
|
|
5248
|
+
/* @__PURE__ */ g.jsx("i", { onClick: M, children: /* @__PURE__ */ g.jsx(
|
|
5253
5249
|
"svg",
|
|
5254
5250
|
{
|
|
5255
5251
|
width: "16",
|
|
@@ -5257,28 +5253,28 @@ const dn = ({
|
|
|
5257
5253
|
fill: "currentColor",
|
|
5258
5254
|
viewBox: "0 0 24 24",
|
|
5259
5255
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5260
|
-
children: /* @__PURE__ */
|
|
5256
|
+
children: /* @__PURE__ */ g.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
|
|
5261
5257
|
}
|
|
5262
5258
|
) })
|
|
5263
5259
|
] }),
|
|
5264
|
-
/* @__PURE__ */
|
|
5265
|
-
F.map((h, k) => /* @__PURE__ */
|
|
5266
|
-
E.map((h, k) => /* @__PURE__ */
|
|
5260
|
+
/* @__PURE__ */ g.jsxs("div", { "grid-calendar": "", children: [
|
|
5261
|
+
F.map((h, k) => /* @__PURE__ */ g.jsx("p", { children: h }, "v" + k)),
|
|
5262
|
+
E.map((h, k) => /* @__PURE__ */ g.jsx("span", { children: h !== 0 && T(h) ? /* @__PURE__ */ g.jsx(
|
|
5267
5263
|
"b",
|
|
5268
5264
|
{
|
|
5269
|
-
...
|
|
5265
|
+
...Y(h),
|
|
5270
5266
|
...R(h),
|
|
5271
|
-
onClick: () =>
|
|
5267
|
+
onClick: () => q(h),
|
|
5272
5268
|
children: h
|
|
5273
5269
|
}
|
|
5274
|
-
) : /* @__PURE__ */
|
|
5270
|
+
) : /* @__PURE__ */ g.jsx("p", { ...Y(h), ...R(h), children: h !== 0 ? h : "" }) }, k))
|
|
5275
5271
|
] })
|
|
5276
5272
|
]
|
|
5277
5273
|
}
|
|
5278
5274
|
)
|
|
5279
5275
|
] });
|
|
5280
5276
|
};
|
|
5281
|
-
function
|
|
5277
|
+
function da(a) {
|
|
5282
5278
|
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
5283
5279
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5284
5280
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
@@ -5294,13 +5290,13 @@ function fn(a) {
|
|
|
5294
5290
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5295
5291
|
}[a];
|
|
5296
5292
|
}
|
|
5297
|
-
function Gt(a,
|
|
5298
|
-
let c =
|
|
5293
|
+
function Gt(a, _) {
|
|
5294
|
+
let c = _ + "";
|
|
5299
5295
|
for (; c.length < a; ) c = "0" + c;
|
|
5300
5296
|
return c;
|
|
5301
5297
|
}
|
|
5302
|
-
function
|
|
5303
|
-
|
|
5298
|
+
function fa(a, _) {
|
|
5299
|
+
_ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
5304
5300
|
let c = {
|
|
5305
5301
|
yyyy: a.getFullYear(),
|
|
5306
5302
|
yy: ("" + a.getFullYear()).slice(-2),
|
|
@@ -5313,51 +5309,51 @@ function pn(a, s) {
|
|
|
5313
5309
|
_: " "
|
|
5314
5310
|
};
|
|
5315
5311
|
for (const u in c)
|
|
5316
|
-
|
|
5317
|
-
return
|
|
5312
|
+
_ = _.replace(u, c[u]);
|
|
5313
|
+
return _;
|
|
5318
5314
|
}
|
|
5319
|
-
function
|
|
5315
|
+
function Da({
|
|
5320
5316
|
value: a,
|
|
5321
|
-
onValue:
|
|
5317
|
+
onValue: _,
|
|
5322
5318
|
name: c,
|
|
5323
5319
|
error: u,
|
|
5324
5320
|
icon: y,
|
|
5325
5321
|
edit: S = !0,
|
|
5326
5322
|
active: P = !0,
|
|
5327
5323
|
title: x,
|
|
5328
|
-
placeholder:
|
|
5329
|
-
className:
|
|
5324
|
+
placeholder: s = "",
|
|
5325
|
+
className: v
|
|
5330
5326
|
}) {
|
|
5331
5327
|
let [o, d] = U.useState(a);
|
|
5332
5328
|
const b = U.useRef(null), [C, F] = U.useState(!1);
|
|
5333
5329
|
U.useEffect(() => {
|
|
5334
5330
|
d(a);
|
|
5335
5331
|
}, [a]);
|
|
5336
|
-
let
|
|
5337
|
-
d(p),
|
|
5338
|
-
},
|
|
5332
|
+
let B = (p) => {
|
|
5333
|
+
d(p), _ && _({ value: p, name: c });
|
|
5334
|
+
}, I = (p) => {
|
|
5339
5335
|
if (!S || !P) return;
|
|
5340
|
-
const
|
|
5341
|
-
b.position = { x: K, y:
|
|
5336
|
+
const M = p.target.getBoundingClientRect(), K = M.left, q = M.top;
|
|
5337
|
+
b.position = { x: K, y: q }, F(!0);
|
|
5342
5338
|
};
|
|
5343
5339
|
const E = {};
|
|
5344
|
-
return
|
|
5345
|
-
/* @__PURE__ */
|
|
5346
|
-
|
|
5340
|
+
return s && (E.placeholder = s), y || /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5341
|
+
/* @__PURE__ */ g.jsx(
|
|
5342
|
+
Be,
|
|
5347
5343
|
{
|
|
5348
5344
|
type: "date",
|
|
5349
5345
|
title: x,
|
|
5350
|
-
element_blok: { className: [
|
|
5351
|
-
element_input: { className: [
|
|
5352
|
-
children: /* @__PURE__ */
|
|
5346
|
+
element_blok: { className: [v] },
|
|
5347
|
+
element_input: { className: [_e.w] },
|
|
5348
|
+
children: /* @__PURE__ */ g.jsx("div", { onClick: I, ...E, children: ma(o, "mm.yyyy") })
|
|
5353
5349
|
}
|
|
5354
5350
|
),
|
|
5355
5351
|
C && Mt(
|
|
5356
|
-
/* @__PURE__ */
|
|
5357
|
-
|
|
5352
|
+
/* @__PURE__ */ g.jsx(
|
|
5353
|
+
pa,
|
|
5358
5354
|
{
|
|
5359
5355
|
position: b.position,
|
|
5360
|
-
onValue:
|
|
5356
|
+
onValue: B,
|
|
5361
5357
|
date: o,
|
|
5362
5358
|
onOpen: F
|
|
5363
5359
|
},
|
|
@@ -5367,27 +5363,27 @@ function Dn({
|
|
|
5367
5363
|
)
|
|
5368
5364
|
] });
|
|
5369
5365
|
}
|
|
5370
|
-
const
|
|
5371
|
-
let y = /* @__PURE__ */ new Date(), S = new Date(
|
|
5366
|
+
const pa = ({ onOpen: a, date: _, onValue: c, position: u }) => {
|
|
5367
|
+
let y = /* @__PURE__ */ new Date(), S = new Date(_), P = {
|
|
5372
5368
|
y: parseInt(y.getFullYear()),
|
|
5373
5369
|
m: parseInt(y.getMonth()) + 1
|
|
5374
5370
|
}, x = {
|
|
5375
5371
|
y: parseInt(S.getFullYear()),
|
|
5376
5372
|
m: parseInt(S.getMonth()) + 1
|
|
5377
|
-
}, [
|
|
5373
|
+
}, [s, v] = U.useState(x.y), o = () => {
|
|
5378
5374
|
a(!1);
|
|
5379
5375
|
}, d = () => {
|
|
5380
|
-
|
|
5376
|
+
v(s + 1);
|
|
5381
5377
|
}, b = () => {
|
|
5382
|
-
|
|
5378
|
+
v(s - 1);
|
|
5383
5379
|
}, C = (p) => {
|
|
5384
|
-
c(
|
|
5385
|
-
}, F = (p) => P.y === x.y && P.m === p ? "_FFEB3B" : "",
|
|
5386
|
-
return /* @__PURE__ */
|
|
5387
|
-
/* @__PURE__ */
|
|
5388
|
-
/* @__PURE__ */
|
|
5389
|
-
/* @__PURE__ */
|
|
5390
|
-
/* @__PURE__ */
|
|
5380
|
+
c(s + "-" + ya(2, p)), o();
|
|
5381
|
+
}, F = (p) => P.y === x.y && P.m === p ? "_FFEB3B" : "", B = Array(12).fill("").map((p, M) => M + 1), I = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, E = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5382
|
+
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5383
|
+
/* @__PURE__ */ g.jsx("div", { className: Rt.o, onClick: o }),
|
|
5384
|
+
/* @__PURE__ */ g.jsxs("div", { className: Rt.c, style: { top: I + "px", left: E + "px" }, children: [
|
|
5385
|
+
/* @__PURE__ */ g.jsxs("s", { children: [
|
|
5386
|
+
/* @__PURE__ */ g.jsx("i", { onClick: b, children: /* @__PURE__ */ g.jsx(
|
|
5391
5387
|
"svg",
|
|
5392
5388
|
{
|
|
5393
5389
|
width: "16",
|
|
@@ -5395,11 +5391,11 @@ const mn = ({ onOpen: a, date: s, onValue: c, position: u }) => {
|
|
|
5395
5391
|
fill: "currentColor",
|
|
5396
5392
|
viewBox: "0 0 24 24",
|
|
5397
5393
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5398
|
-
children: /* @__PURE__ */
|
|
5394
|
+
children: /* @__PURE__ */ g.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
|
|
5399
5395
|
}
|
|
5400
5396
|
) }),
|
|
5401
|
-
/* @__PURE__ */
|
|
5402
|
-
/* @__PURE__ */
|
|
5397
|
+
/* @__PURE__ */ g.jsx("h2", { children: s }),
|
|
5398
|
+
/* @__PURE__ */ g.jsx("i", { onClick: d, children: /* @__PURE__ */ g.jsx(
|
|
5403
5399
|
"svg",
|
|
5404
5400
|
{
|
|
5405
5401
|
width: "16",
|
|
@@ -5407,30 +5403,47 @@ const mn = ({ onOpen: a, date: s, onValue: c, position: u }) => {
|
|
|
5407
5403
|
fill: "currentColor",
|
|
5408
5404
|
viewBox: "0 0 24 24",
|
|
5409
5405
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5410
|
-
children: /* @__PURE__ */
|
|
5406
|
+
children: /* @__PURE__ */ g.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
|
|
5411
5407
|
}
|
|
5412
5408
|
) })
|
|
5413
5409
|
] }),
|
|
5414
|
-
/* @__PURE__ */
|
|
5410
|
+
/* @__PURE__ */ g.jsx("div", { "grid-month": "", children: B.map((p, M) => /* @__PURE__ */ g.jsx(
|
|
5415
5411
|
"span",
|
|
5416
5412
|
{
|
|
5417
5413
|
onClick: () => {
|
|
5418
5414
|
C(p);
|
|
5419
5415
|
},
|
|
5420
5416
|
color: F(p),
|
|
5421
|
-
children: /* @__PURE__ */
|
|
5417
|
+
children: /* @__PURE__ */ g.jsx("b", { children: va(p).abc })
|
|
5422
5418
|
},
|
|
5423
|
-
|
|
5419
|
+
M
|
|
5424
5420
|
)) })
|
|
5425
5421
|
] })
|
|
5426
5422
|
] });
|
|
5427
5423
|
};
|
|
5428
|
-
function
|
|
5429
|
-
|
|
5424
|
+
function ma(a, _) {
|
|
5425
|
+
_ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
5426
|
+
let c = {
|
|
5427
|
+
yyyy: a.getFullYear(),
|
|
5428
|
+
yy: ("" + a.getFullYear()).slice(-2),
|
|
5429
|
+
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
5430
|
+
dd: ("0" + a.getDate()).slice(-2),
|
|
5431
|
+
HH: ("0" + a.getHours()).slice(-2),
|
|
5432
|
+
MM: ("0" + a.getMinutes()).slice(-2),
|
|
5433
|
+
SS: ("0" + a.getSeconds()).slice(-2),
|
|
5434
|
+
__: " ",
|
|
5435
|
+
_: " "
|
|
5436
|
+
};
|
|
5437
|
+
for (const u in c)
|
|
5438
|
+
_ = _.replace(u, c[u]);
|
|
5439
|
+
return _;
|
|
5440
|
+
}
|
|
5441
|
+
function ya(a, _) {
|
|
5442
|
+
let c = _ + "";
|
|
5430
5443
|
for (; c.length < a; ) c = "0" + c;
|
|
5431
5444
|
return c;
|
|
5432
5445
|
}
|
|
5433
|
-
function
|
|
5446
|
+
function va(a) {
|
|
5434
5447
|
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
5435
5448
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5436
5449
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
@@ -5446,41 +5459,41 @@ function vn(a) {
|
|
|
5446
5459
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5447
5460
|
}[a];
|
|
5448
5461
|
}
|
|
5449
|
-
function
|
|
5462
|
+
function Pa({
|
|
5450
5463
|
value: a,
|
|
5451
|
-
onValue:
|
|
5464
|
+
onValue: _,
|
|
5452
5465
|
name: c,
|
|
5453
5466
|
placeholder: u = "",
|
|
5454
5467
|
title: y = "",
|
|
5455
5468
|
error: S = "",
|
|
5456
5469
|
hide: P = !1,
|
|
5457
5470
|
edit: x = !0,
|
|
5458
|
-
active:
|
|
5459
|
-
after:
|
|
5471
|
+
active: s = !0,
|
|
5472
|
+
after: v = "",
|
|
5460
5473
|
show: o = !0,
|
|
5461
5474
|
course: d = 100,
|
|
5462
5475
|
view: b,
|
|
5463
5476
|
type: C,
|
|
5464
5477
|
onSave: F,
|
|
5465
|
-
className:
|
|
5466
|
-
isClear:
|
|
5478
|
+
className: B = "",
|
|
5479
|
+
isClear: I = !1
|
|
5467
5480
|
}) {
|
|
5468
|
-
let E = !!(P && (a === "" || a === void 0)), p = (O) => C === "multi" ? O.replace(/[^+\d.+-]/g, "") : O.replace(/[^+\d.]/g, ""),
|
|
5481
|
+
let E = !!(P && (a === "" || a === void 0)), p = (O) => C === "multi" ? O.replace(/[^+\d.+-]/g, "") : O.replace(/[^+\d.]/g, ""), M = (O, W) => {
|
|
5469
5482
|
let h = document.createRange(), k = window.getSelection();
|
|
5470
5483
|
h.setStart(W.childNodes[0], O), h.collapse(!0), k.removeAllRanges(), k.addRange(h), W.focus();
|
|
5471
5484
|
}, K = (O) => {
|
|
5472
|
-
|
|
5485
|
+
_ == null || _({
|
|
5473
5486
|
value: p(O.target.textContent) * d,
|
|
5474
5487
|
name: c
|
|
5475
|
-
}), O.target.textContent = p(O.target.textContent), O.target.textContent.length > 0 &&
|
|
5476
|
-
},
|
|
5477
|
-
ee.Blur(O), O.target.textContent === "" && (O.target.textContent = 0), F == null || F({ value: p(O.target.textContent) * d, name: c }),
|
|
5488
|
+
}), O.target.textContent = p(O.target.textContent), O.target.textContent.length > 0 && M(O.target.textContent.length, O.target);
|
|
5489
|
+
}, q = (O) => {
|
|
5490
|
+
ee.Blur(O), O.target.textContent === "" && (O.target.textContent = 0), F == null || F({ value: p(O.target.textContent) * d, name: c }), _ == null || _({
|
|
5478
5491
|
value: p(O.target.textContent) * d,
|
|
5479
5492
|
name: c
|
|
5480
5493
|
}), O.target.textContent = zt(O.target.textContent);
|
|
5481
5494
|
}, L = (O) => {
|
|
5482
5495
|
O.target.textContent = p(O.target.textContent);
|
|
5483
|
-
},
|
|
5496
|
+
}, Y = (O) => {
|
|
5484
5497
|
O.key === "Enter" && O.preventDefault();
|
|
5485
5498
|
}, R = (O) => {
|
|
5486
5499
|
O.preventDefault(), navigator.clipboard.readText().then((W) => {
|
|
@@ -5488,76 +5501,76 @@ function Pn({
|
|
|
5488
5501
|
}).catch((W) => {
|
|
5489
5502
|
});
|
|
5490
5503
|
};
|
|
5491
|
-
if (!(x &&
|
|
5504
|
+
if (!(x && s) && !o || !(x && s) && E) return "";
|
|
5492
5505
|
const T = {};
|
|
5493
|
-
return T.inputMode = "decimal", u && (T.placeholder = u), x &&
|
|
5494
|
-
|
|
5506
|
+
return T.inputMode = "decimal", u && (T.placeholder = u), x && s && (T.edit = ""), /* @__PURE__ */ g.jsx(
|
|
5507
|
+
Be,
|
|
5495
5508
|
{
|
|
5496
5509
|
type: "input",
|
|
5497
5510
|
title: y,
|
|
5498
|
-
element_blok: { className: [
|
|
5499
|
-
element_input: { className: [
|
|
5500
|
-
children: /* @__PURE__ */
|
|
5511
|
+
element_blok: { className: [B] },
|
|
5512
|
+
element_input: { className: [_e.w] },
|
|
5513
|
+
children: /* @__PURE__ */ g.jsx(
|
|
5501
5514
|
"div",
|
|
5502
5515
|
{
|
|
5503
5516
|
...T,
|
|
5504
5517
|
onInput: K,
|
|
5505
5518
|
onPaste: R,
|
|
5506
|
-
onBlur:
|
|
5507
|
-
onKeyDown:
|
|
5519
|
+
onBlur: q,
|
|
5520
|
+
onKeyDown: Y,
|
|
5508
5521
|
onFocus: L,
|
|
5509
|
-
contentEditable: x &&
|
|
5522
|
+
contentEditable: x && s ? ee.ContentEditable : "false",
|
|
5510
5523
|
suppressContentEditableWarning: !0,
|
|
5511
|
-
"data-after":
|
|
5524
|
+
"data-after": v,
|
|
5512
5525
|
children: !u || a ? zt(a) : ""
|
|
5513
5526
|
}
|
|
5514
5527
|
)
|
|
5515
5528
|
}
|
|
5516
5529
|
);
|
|
5517
5530
|
}
|
|
5518
|
-
function zt(a,
|
|
5531
|
+
function zt(a, _) {
|
|
5519
5532
|
return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5520
5533
|
}
|
|
5521
|
-
function
|
|
5534
|
+
function Na({
|
|
5522
5535
|
onValue: a,
|
|
5523
|
-
label:
|
|
5536
|
+
label: _,
|
|
5524
5537
|
value: c,
|
|
5525
5538
|
title: u,
|
|
5526
5539
|
className: y,
|
|
5527
5540
|
name: S,
|
|
5528
5541
|
text: P,
|
|
5529
5542
|
id: x,
|
|
5530
|
-
reload:
|
|
5543
|
+
reload: s
|
|
5531
5544
|
}) {
|
|
5532
|
-
const [
|
|
5545
|
+
const [v, o] = U.useState(!!c);
|
|
5533
5546
|
U.useEffect(() => {
|
|
5534
5547
|
o(!!c);
|
|
5535
5548
|
}, [c]);
|
|
5536
5549
|
let d = () => {
|
|
5537
|
-
a && a({ value:
|
|
5550
|
+
a && a({ value: v ? 0 : 1, name: S, id: x, reload: s }), o(!v);
|
|
5538
5551
|
};
|
|
5539
|
-
return /* @__PURE__ */
|
|
5540
|
-
|
|
5552
|
+
return /* @__PURE__ */ g.jsxs(
|
|
5553
|
+
Be,
|
|
5541
5554
|
{
|
|
5542
5555
|
type: "check",
|
|
5543
|
-
title:
|
|
5556
|
+
title: _ || u,
|
|
5544
5557
|
element_blok: { className: [y] },
|
|
5545
5558
|
element_input: {
|
|
5546
|
-
className: [
|
|
5559
|
+
className: [_e.h],
|
|
5547
5560
|
props: {
|
|
5548
5561
|
onClick: d
|
|
5549
5562
|
}
|
|
5550
5563
|
},
|
|
5551
5564
|
children: [
|
|
5552
|
-
/* @__PURE__ */
|
|
5553
|
-
/* @__PURE__ */
|
|
5565
|
+
/* @__PURE__ */ g.jsx("div", { "aria-checked": `${v ? "true" : "false"}` }),
|
|
5566
|
+
/* @__PURE__ */ g.jsx("span", { children: P })
|
|
5554
5567
|
]
|
|
5555
5568
|
}
|
|
5556
5569
|
);
|
|
5557
5570
|
}
|
|
5558
5571
|
const he = {};
|
|
5559
|
-
function
|
|
5560
|
-
const [
|
|
5572
|
+
function Fa(a) {
|
|
5573
|
+
const [_, c] = U.useState({}), u = U.useRef(a);
|
|
5561
5574
|
return he.u = (y) => {
|
|
5562
5575
|
u.current = { ...u.current, [y.name]: y.value };
|
|
5563
5576
|
}, he.n = (y) => {
|
|
@@ -5566,14 +5579,14 @@ function Fn(a) {
|
|
|
5566
5579
|
c(Date.now());
|
|
5567
5580
|
}, [u.current, he.n];
|
|
5568
5581
|
}
|
|
5569
|
-
function
|
|
5582
|
+
function Ia(a) {
|
|
5570
5583
|
he.u(a), a.reload && he.r();
|
|
5571
5584
|
}
|
|
5572
|
-
function
|
|
5585
|
+
function Ma() {
|
|
5573
5586
|
he.r && he.r();
|
|
5574
5587
|
}
|
|
5575
|
-
function $
|
|
5576
|
-
const [
|
|
5588
|
+
function $a(a) {
|
|
5589
|
+
const [_, c] = U.useState({}), u = U.useRef(a);
|
|
5577
5590
|
return he.u = (y) => {
|
|
5578
5591
|
u.current = { ...u.current, [y.name]: y.value };
|
|
5579
5592
|
}, he.n = (y) => {
|
|
@@ -5590,22 +5603,22 @@ function It() {
|
|
|
5590
5603
|
It().elcrm || (It().elcrm = {});
|
|
5591
5604
|
Object.assign(It().elcrm, { form: Xt.version });
|
|
5592
5605
|
export {
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
$
|
|
5606
|
+
Na as Check,
|
|
5607
|
+
Ta as Date,
|
|
5608
|
+
Ra as Mask,
|
|
5609
|
+
xa as Modal,
|
|
5610
|
+
Pa as Money,
|
|
5611
|
+
Da as Month,
|
|
5612
|
+
Sa as Numeric,
|
|
5613
|
+
wa as Options,
|
|
5614
|
+
Ca as Password,
|
|
5615
|
+
Oa as Phone,
|
|
5616
|
+
ba as Progress,
|
|
5617
|
+
ja as Select,
|
|
5618
|
+
ka as String,
|
|
5619
|
+
Ea as Textarea,
|
|
5620
|
+
Ma as runReload,
|
|
5621
|
+
Ia as setValue,
|
|
5622
|
+
Fa as useData,
|
|
5623
|
+
$a as useError
|
|
5611
5624
|
};
|