@elcrm/form 0.0.30 → 0.0.32
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 +751 -757
- package/dist/index.umd.js +34 -34
- package/dist/src/lib/Field.d.ts +3 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import W, {
|
|
1
|
+
import W, { forwardRef as Jt, useEffect as Zt } from "react";
|
|
2
2
|
import { createPortal as Mt } from "react-dom";
|
|
3
|
-
import './index.css';const
|
|
4
|
-
version:
|
|
3
|
+
import './index.css';const Vt = "0.0.32", Xt = {
|
|
4
|
+
version: Vt
|
|
5
5
|
};
|
|
6
6
|
var Tt = { exports: {} }, mt = {};
|
|
7
7
|
/**
|
|
@@ -14,20 +14,20 @@ var Tt = { exports: {} }, mt = {};
|
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
16
|
var $t;
|
|
17
|
-
function
|
|
17
|
+
function Qt() {
|
|
18
18
|
if ($t) return mt;
|
|
19
19
|
$t = 1;
|
|
20
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
21
|
-
function
|
|
22
|
-
var o, d = {}, k = null,
|
|
23
|
-
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (
|
|
24
|
-
for (o in s) u.call(s, o) && !
|
|
20
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__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, g) {
|
|
22
|
+
var o, d = {}, k = null, C = null;
|
|
23
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + 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
25
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
26
|
-
return { $$typeof: i, type: x, key: k, ref:
|
|
26
|
+
return { $$typeof: i, type: x, key: k, ref: C, props: d, _owner: v.current };
|
|
27
27
|
}
|
|
28
|
-
return mt.Fragment = c, mt.jsx =
|
|
28
|
+
return mt.Fragment = c, mt.jsx = P, mt.jsxs = P, mt;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var yt = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -38,9 +38,9 @@ var pt = {};
|
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
39
|
*/
|
|
40
40
|
var At;
|
|
41
|
-
function
|
|
41
|
+
function er() {
|
|
42
42
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"),
|
|
43
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = 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"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
44
44
|
function $(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
@@ -48,7 +48,7 @@ function Qt() {
|
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
50
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
-
function
|
|
51
|
+
function p(e) {
|
|
52
52
|
{
|
|
53
53
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
54
54
|
r[a - 1] = arguments[a];
|
|
@@ -59,20 +59,20 @@ function Qt() {
|
|
|
59
59
|
{
|
|
60
60
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
62
|
-
var
|
|
62
|
+
var m = r.map(function(l) {
|
|
63
63
|
return String(l);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
|
|
68
|
+
var q = !1, G = !1, L = !1, K = !1, E = !1, D;
|
|
69
|
+
D = Symbol.for("react.module.reference");
|
|
70
70
|
function U(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || K || e === C || q || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || 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.
|
|
75
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
77
|
function R(e, t, r) {
|
|
78
78
|
var a = e.displayName;
|
|
@@ -87,7 +87,7 @@ function Qt() {
|
|
|
87
87
|
function b(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
|
-
if (typeof e.tag == "number" &&
|
|
90
|
+
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
91
91
|
return e.displayName || e.name || null;
|
|
92
92
|
if (typeof e == "string")
|
|
93
93
|
return e;
|
|
@@ -96,7 +96,7 @@ function Qt() {
|
|
|
96
96
|
return "Fragment";
|
|
97
97
|
case c:
|
|
98
98
|
return "Portal";
|
|
99
|
-
case
|
|
99
|
+
case S:
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case v:
|
|
102
102
|
return "StrictMode";
|
|
@@ -110,7 +110,7 @@ function Qt() {
|
|
|
110
110
|
case x:
|
|
111
111
|
var t = e;
|
|
112
112
|
return h(t) + ".Consumer";
|
|
113
|
-
case
|
|
113
|
+
case P:
|
|
114
114
|
var r = e;
|
|
115
115
|
return h(r._context) + ".Provider";
|
|
116
116
|
case s:
|
|
@@ -119,9 +119,9 @@ function Qt() {
|
|
|
119
119
|
var a = e.displayName || null;
|
|
120
120
|
return a !== null ? a : b(e.type) || "Memo";
|
|
121
121
|
case k: {
|
|
122
|
-
var f = e,
|
|
122
|
+
var f = e, m = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
124
|
-
return b(l(
|
|
124
|
+
return b(l(m));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -188,7 +188,7 @@ function Qt() {
|
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
Y < 0 &&
|
|
191
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var le = O.ReactCurrentDispatcher, ce;
|
|
@@ -222,8 +222,8 @@ function Qt() {
|
|
|
222
222
|
ue = !0;
|
|
223
223
|
var f = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var m;
|
|
226
|
+
m = le.current, le.current = null, Le();
|
|
227
227
|
try {
|
|
228
228
|
if (t) {
|
|
229
229
|
var l = function() {
|
|
@@ -259,14 +259,14 @@ function Qt() {
|
|
|
259
259
|
} catch (F) {
|
|
260
260
|
if (F && a && typeof F.stack == "string") {
|
|
261
261
|
for (var _ = F.stack.split(`
|
|
262
|
-
`),
|
|
263
|
-
`), w = _.length - 1, j =
|
|
262
|
+
`), T = a.stack.split(`
|
|
263
|
+
`), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
266
|
-
if (_[w] !==
|
|
266
|
+
if (_[w] !== T[j]) {
|
|
267
267
|
if (w !== 1 || j !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
269
|
+
if (w--, j--, j < 0 || _[w] !== T[j]) {
|
|
270
270
|
var B = `
|
|
271
271
|
` + _[w].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -276,15 +276,15 @@ function Qt() {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
ue = !1, le.current =
|
|
279
|
+
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
280
280
|
}
|
|
281
281
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
282
282
|
return typeof e == "function" && ae.set(e, z), z;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function qe(e, t, r) {
|
|
285
285
|
return je(e, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Ke(e) {
|
|
288
288
|
var t = e.prototype;
|
|
289
289
|
return !!(t && t.isReactComponent);
|
|
290
290
|
}
|
|
@@ -292,7 +292,7 @@ function Qt() {
|
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return je(e,
|
|
295
|
+
return je(e, Ke(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return re(e);
|
|
298
298
|
switch (e) {
|
|
@@ -304,13 +304,13 @@ function Qt() {
|
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case s:
|
|
307
|
-
return
|
|
307
|
+
return qe(e.render);
|
|
308
308
|
case d:
|
|
309
309
|
return ne(e.type, t, r);
|
|
310
310
|
case k: {
|
|
311
|
-
var a = e, f = a._payload,
|
|
311
|
+
var a = e, f = a._payload, m = a._init;
|
|
312
312
|
try {
|
|
313
|
-
return ne(
|
|
313
|
+
return ne(m(f), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -327,20 +327,20 @@ function Qt() {
|
|
|
327
327
|
}
|
|
328
328
|
function Ye(e, t, r, a, f) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
330
|
+
var m = Function.call.bind(X);
|
|
331
331
|
for (var l in e)
|
|
332
|
-
if (
|
|
332
|
+
if (m(e, l)) {
|
|
333
333
|
var _ = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw T.name = "Invariant Violation", T;
|
|
338
338
|
}
|
|
339
339
|
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (w) {
|
|
341
341
|
_ = w;
|
|
342
342
|
}
|
|
343
|
-
_ && !(_ instanceof Error) && (oe(f),
|
|
343
|
+
_ && !(_ instanceof Error) && (oe(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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -366,7 +366,7 @@ function Qt() {
|
|
|
366
366
|
}
|
|
367
367
|
function Re(e) {
|
|
368
368
|
if (He(e))
|
|
369
|
-
return
|
|
369
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
370
370
|
}
|
|
371
371
|
var Ee = O.ReactCurrentOwner, Je = {
|
|
372
372
|
key: !0,
|
|
@@ -396,7 +396,7 @@ function Qt() {
|
|
|
396
396
|
function Qe(e, t) {
|
|
397
397
|
{
|
|
398
398
|
var r = function() {
|
|
399
|
-
Oe || (Oe = !0,
|
|
399
|
+
Oe || (Oe = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
400
400
|
};
|
|
401
401
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
402
402
|
get: r,
|
|
@@ -407,7 +407,7 @@ function Qt() {
|
|
|
407
407
|
function et(e, t) {
|
|
408
408
|
{
|
|
409
409
|
var r = function() {
|
|
410
|
-
Te || (Te = !0,
|
|
410
|
+
Te || (Te = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
411
411
|
};
|
|
412
412
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
413
413
|
get: r,
|
|
@@ -415,7 +415,7 @@ function Qt() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var tt = function(e, t, r, a, f,
|
|
418
|
+
var tt = function(e, t, r, a, f, m, l) {
|
|
419
419
|
var _ = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
421
|
$$typeof: i,
|
|
@@ -425,7 +425,7 @@ function Qt() {
|
|
|
425
425
|
ref: r,
|
|
426
426
|
props: l,
|
|
427
427
|
// Record the component responsible for creating this element.
|
|
428
|
-
_owner:
|
|
428
|
+
_owner: m
|
|
429
429
|
};
|
|
430
430
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
431
431
|
configurable: !1,
|
|
@@ -446,20 +446,20 @@ function Qt() {
|
|
|
446
446
|
};
|
|
447
447
|
function rt(e, t, r, a, f) {
|
|
448
448
|
{
|
|
449
|
-
var
|
|
450
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
451
|
-
for (
|
|
452
|
-
X.call(t,
|
|
449
|
+
var m, l = {}, _ = null, T = null;
|
|
450
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (T = t.ref, Xe(t, f));
|
|
451
|
+
for (m in t)
|
|
452
|
+
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
454
454
|
var w = e.defaultProps;
|
|
455
|
-
for (
|
|
456
|
-
l[
|
|
455
|
+
for (m in w)
|
|
456
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
457
457
|
}
|
|
458
|
-
if (_ ||
|
|
458
|
+
if (_ || T) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
_ && Qe(l, j),
|
|
460
|
+
_ && Qe(l, j), T && et(l, j);
|
|
461
461
|
}
|
|
462
|
-
return tt(e, _,
|
|
462
|
+
return tt(e, _, T, f, a, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
@@ -470,9 +470,9 @@ function Qt() {
|
|
|
470
470
|
} else
|
|
471
471
|
De.setExtraStackFrame(null);
|
|
472
472
|
}
|
|
473
|
-
var
|
|
474
|
-
|
|
475
|
-
function
|
|
473
|
+
var pe;
|
|
474
|
+
pe = !1;
|
|
475
|
+
function me(e) {
|
|
476
476
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
477
477
|
}
|
|
478
478
|
function Pe() {
|
|
@@ -513,7 +513,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
513
513
|
return;
|
|
514
514
|
Ne[r] = !0;
|
|
515
515
|
var a = "";
|
|
516
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e),
|
|
516
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ie(e, t) {
|
|
@@ -523,15 +523,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
523
523
|
if (de(e))
|
|
524
524
|
for (var r = 0; r < e.length; r++) {
|
|
525
525
|
var a = e[r];
|
|
526
|
-
|
|
526
|
+
me(a) && Fe(a, t);
|
|
527
527
|
}
|
|
528
|
-
else if (
|
|
528
|
+
else if (me(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
531
|
var f = $(e);
|
|
532
532
|
if (typeof f == "function" && f !== e.entries)
|
|
533
|
-
for (var
|
|
534
|
-
|
|
533
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
534
|
+
me(l.value) && Fe(l.value, t);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
}
|
|
@@ -552,12 +552,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
552
552
|
if (r) {
|
|
553
553
|
var a = b(t);
|
|
554
554
|
Ye(r, e.props, "prop", a, e);
|
|
555
|
-
} else if (t.PropTypes !== void 0 && !
|
|
556
|
-
|
|
555
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
|
+
pe = !0;
|
|
557
557
|
var f = b(t);
|
|
558
|
-
|
|
558
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
559
559
|
}
|
|
560
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
560
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
function it(e) {
|
|
@@ -565,26 +565,26 @@ Check the top-level render call using <` + r + ">.");
|
|
|
565
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
566
|
var a = t[r];
|
|
567
567
|
if (a !== "children" && a !== "key") {
|
|
568
|
-
J(e),
|
|
568
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
e.ref !== null && (J(e),
|
|
572
|
+
e.ref !== null && (J(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var Me = {};
|
|
576
|
-
function $e(e, t, r, a, f,
|
|
576
|
+
function $e(e, t, r, a, f, m) {
|
|
577
577
|
{
|
|
578
578
|
var l = U(e);
|
|
579
579
|
if (!l) {
|
|
580
580
|
var _ = "";
|
|
581
581
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var
|
|
583
|
-
|
|
582
|
+
var T = at();
|
|
583
|
+
T ? _ += T : _ += Pe();
|
|
584
584
|
var w;
|
|
585
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e,
|
|
585
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
586
586
|
}
|
|
587
|
-
var j = rt(e, t, r, f,
|
|
587
|
+
var j = rt(e, t, r, f, m);
|
|
588
588
|
if (j == null)
|
|
589
589
|
return j;
|
|
590
590
|
if (l) {
|
|
@@ -596,7 +596,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
596
596
|
Ie(B[Z], e);
|
|
597
597
|
Object.freeze && Object.freeze(B);
|
|
598
598
|
} else
|
|
599
|
-
|
|
599
|
+
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
600
|
else
|
|
601
601
|
Ie(B, e);
|
|
602
602
|
}
|
|
@@ -606,7 +606,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
606
606
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!Me[z + ye]) {
|
|
608
608
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
-
|
|
609
|
+
p(`A props object containing a "key" prop is being spread into JSX:
|
|
610
610
|
let props = %s;
|
|
611
611
|
<%s {...props} />
|
|
612
612
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -624,16 +624,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
return $e(e, t, r, !1);
|
|
625
625
|
}
|
|
626
626
|
var lt = st, ct = _t;
|
|
627
|
-
|
|
628
|
-
}()),
|
|
627
|
+
yt.Fragment = u, yt.jsx = lt, yt.jsxs = ct;
|
|
628
|
+
}()), yt;
|
|
629
629
|
}
|
|
630
|
-
process.env.NODE_ENV === "production" ? Tt.exports =
|
|
630
|
+
process.env.NODE_ENV === "production" ? Tt.exports = Qt() : Tt.exports = er();
|
|
631
631
|
var y = Tt.exports;
|
|
632
|
-
function
|
|
633
|
-
let
|
|
632
|
+
function ha({ name: n, value: i, title: c, style: u, className: v }) {
|
|
633
|
+
let S = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
636
|
-
return u && (
|
|
636
|
+
return u && (S.style = u), v && (S.className = v), /* @__PURE__ */ y.jsxs("dl", { ...S, children: [
|
|
637
637
|
c && /* @__PURE__ */ y.jsx("dt", { children: c }),
|
|
638
638
|
/* @__PURE__ */ y.jsx("dd", {})
|
|
639
639
|
] });
|
|
@@ -670,25 +670,23 @@ te.Blur = (n) => {
|
|
|
670
670
|
n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
te.ContentEditable = "plaintext-only";
|
|
673
|
-
const
|
|
674
|
-
l:
|
|
675
|
-
f:
|
|
676
|
-
n:
|
|
677
|
-
w:
|
|
678
|
-
t:
|
|
679
|
-
g:
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
}) {
|
|
691
|
-
return /* @__PURE__ */ y.jsxs(
|
|
673
|
+
const tr = "_l_cfq3k_13", rr = "_f_cfq3k_35", ar = "_n_cfq3k_53", nr = "_w_cfq3k_58", or = "_t_cfq3k_68", ir = "_g_cfq3k_73", V = {
|
|
674
|
+
l: tr,
|
|
675
|
+
f: rr,
|
|
676
|
+
n: ar,
|
|
677
|
+
w: nr,
|
|
678
|
+
t: or,
|
|
679
|
+
g: ir
|
|
680
|
+
}, pt = Jt(
|
|
681
|
+
({
|
|
682
|
+
element_blok: n,
|
|
683
|
+
element_input: i,
|
|
684
|
+
type: c = "input",
|
|
685
|
+
title: u,
|
|
686
|
+
before: v,
|
|
687
|
+
after: S,
|
|
688
|
+
children: P
|
|
689
|
+
}, x) => /* @__PURE__ */ y.jsxs(
|
|
692
690
|
"dl",
|
|
693
691
|
{
|
|
694
692
|
"data-field": c,
|
|
@@ -705,77 +703,77 @@ function bt({
|
|
|
705
703
|
" "
|
|
706
704
|
),
|
|
707
705
|
...i.props,
|
|
708
|
-
children:
|
|
706
|
+
children: P
|
|
709
707
|
}
|
|
710
708
|
),
|
|
711
|
-
|
|
709
|
+
S
|
|
712
710
|
]
|
|
713
711
|
}
|
|
714
|
-
)
|
|
715
|
-
|
|
716
|
-
function
|
|
712
|
+
)
|
|
713
|
+
);
|
|
714
|
+
function ba({
|
|
717
715
|
id: n,
|
|
718
716
|
value: i,
|
|
719
717
|
onValue: c,
|
|
720
718
|
name: u,
|
|
721
719
|
placeholder: v = "",
|
|
722
|
-
title:
|
|
723
|
-
error:
|
|
720
|
+
title: S = "",
|
|
721
|
+
error: P = "",
|
|
724
722
|
hide: x = !1,
|
|
725
723
|
edit: s = !0,
|
|
726
724
|
active: g = !0,
|
|
727
725
|
after: o = "",
|
|
728
726
|
before: d = "",
|
|
729
727
|
show: k = !0,
|
|
730
|
-
maxLength:
|
|
728
|
+
maxLength: C,
|
|
731
729
|
onSave: N,
|
|
732
730
|
className: A = "",
|
|
733
731
|
isCopy: $ = !0,
|
|
734
732
|
isReload: O = !1
|
|
735
733
|
}) {
|
|
736
|
-
let
|
|
734
|
+
let p = !!(x && (i === "" || i === void 0)), I = (E) => {
|
|
737
735
|
c && c({
|
|
738
736
|
value: E.target.textContent.trim(),
|
|
739
737
|
name: u,
|
|
740
738
|
reload: O
|
|
741
739
|
});
|
|
742
|
-
},
|
|
743
|
-
|
|
740
|
+
}, q = (E) => {
|
|
741
|
+
C && E.target.textContent.trim().length >= C && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
744
742
|
}, G = (E) => {
|
|
745
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
746
|
-
if (
|
|
743
|
+
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
744
|
+
if (C) {
|
|
747
745
|
let U = E.target.textContent.length;
|
|
748
|
-
if (U >=
|
|
749
|
-
|
|
746
|
+
if (U >= C) return;
|
|
747
|
+
C -= U, D = D.slice(0, C);
|
|
750
748
|
}
|
|
751
749
|
window.document.execCommand(
|
|
752
750
|
"insertText",
|
|
753
751
|
!1,
|
|
754
|
-
|
|
752
|
+
D.replace(/(\r\n|\n|\r)/gm, " ")
|
|
755
753
|
);
|
|
756
|
-
}).catch((
|
|
754
|
+
}).catch((D) => {
|
|
757
755
|
});
|
|
758
756
|
};
|
|
759
|
-
if (!(s && g) && !k || !(s && g) &&
|
|
757
|
+
if (!(s && g) && !k || !(s && g) && p) return "";
|
|
760
758
|
const L = {};
|
|
761
759
|
v && (L.placeholder = v), s && g && (L.edit = "");
|
|
762
|
-
const
|
|
760
|
+
const K = (E) => {
|
|
763
761
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
764
762
|
};
|
|
765
763
|
return /* @__PURE__ */ y.jsx(
|
|
766
|
-
|
|
764
|
+
pt,
|
|
767
765
|
{
|
|
768
766
|
type: "input",
|
|
769
|
-
title:
|
|
767
|
+
title: S,
|
|
770
768
|
element_blok: { className: [A] },
|
|
771
769
|
element_input: { className: [V.w] },
|
|
772
770
|
children: /* @__PURE__ */ y.jsx(
|
|
773
771
|
"div",
|
|
774
772
|
{
|
|
775
|
-
onBlur:
|
|
773
|
+
onBlur: K,
|
|
776
774
|
onPaste: G,
|
|
777
775
|
onInput: I,
|
|
778
|
-
onKeyDown:
|
|
776
|
+
onKeyDown: q,
|
|
779
777
|
spellCheck: "true",
|
|
780
778
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
781
779
|
suppressContentEditableWarning: !0,
|
|
@@ -786,7 +784,7 @@ function ha({
|
|
|
786
784
|
}
|
|
787
785
|
);
|
|
788
786
|
}
|
|
789
|
-
var Dt = { exports: {} },
|
|
787
|
+
var Dt = { exports: {} }, vt = {};
|
|
790
788
|
/**
|
|
791
789
|
* @license React
|
|
792
790
|
* react-jsx-runtime.production.min.js
|
|
@@ -797,18 +795,18 @@ var Dt = { exports: {} }, yt = {};
|
|
|
797
795
|
* LICENSE file in the root directory of this source tree.
|
|
798
796
|
*/
|
|
799
797
|
var Bt;
|
|
800
|
-
function
|
|
801
|
-
if (Bt) return
|
|
798
|
+
function _r() {
|
|
799
|
+
if (Bt) return vt;
|
|
802
800
|
Bt = 1;
|
|
803
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
804
|
-
function
|
|
805
|
-
var o, d = {}, k = null,
|
|
806
|
-
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (
|
|
807
|
-
for (o in s) u.call(s, o) && !
|
|
801
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
802
|
+
function P(x, s, g) {
|
|
803
|
+
var o, d = {}, k = null, C = null;
|
|
804
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
805
|
+
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
808
806
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
809
|
-
return { $$typeof: i, type: x, key: k, ref:
|
|
807
|
+
return { $$typeof: i, type: x, key: k, ref: C, props: d, _owner: v.current };
|
|
810
808
|
}
|
|
811
|
-
return
|
|
809
|
+
return vt.Fragment = c, vt.jsx = P, vt.jsxs = P, vt;
|
|
812
810
|
}
|
|
813
811
|
var kt = {};
|
|
814
812
|
/**
|
|
@@ -821,9 +819,9 @@ var kt = {};
|
|
|
821
819
|
* LICENSE file in the root directory of this source tree.
|
|
822
820
|
*/
|
|
823
821
|
var Lt;
|
|
824
|
-
function
|
|
822
|
+
function sr() {
|
|
825
823
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
826
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"),
|
|
824
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = 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"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
827
825
|
function $(e) {
|
|
828
826
|
if (e === null || typeof e != "object")
|
|
829
827
|
return null;
|
|
@@ -831,7 +829,7 @@ function _r() {
|
|
|
831
829
|
return typeof t == "function" ? t : null;
|
|
832
830
|
}
|
|
833
831
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
834
|
-
function
|
|
832
|
+
function p(e) {
|
|
835
833
|
{
|
|
836
834
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
837
835
|
r[a - 1] = arguments[a];
|
|
@@ -842,20 +840,20 @@ function _r() {
|
|
|
842
840
|
{
|
|
843
841
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
844
842
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
845
|
-
var
|
|
843
|
+
var m = r.map(function(l) {
|
|
846
844
|
return String(l);
|
|
847
845
|
});
|
|
848
|
-
|
|
846
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
849
847
|
}
|
|
850
848
|
}
|
|
851
|
-
var
|
|
852
|
-
|
|
849
|
+
var q = !1, G = !1, L = !1, K = !1, E = !1, D;
|
|
850
|
+
D = Symbol.for("react.module.reference");
|
|
853
851
|
function U(e) {
|
|
854
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
852
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || K || e === C || q || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
855
853
|
// types supported by any Flight configuration anywhere since
|
|
856
854
|
// we don't know which Flight build this will end up being used
|
|
857
855
|
// with.
|
|
858
|
-
e.$$typeof ===
|
|
856
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
859
857
|
}
|
|
860
858
|
function R(e, t, r) {
|
|
861
859
|
var a = e.displayName;
|
|
@@ -870,7 +868,7 @@ function _r() {
|
|
|
870
868
|
function b(e) {
|
|
871
869
|
if (e == null)
|
|
872
870
|
return null;
|
|
873
|
-
if (typeof e.tag == "number" &&
|
|
871
|
+
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
874
872
|
return e.displayName || e.name || null;
|
|
875
873
|
if (typeof e == "string")
|
|
876
874
|
return e;
|
|
@@ -879,7 +877,7 @@ function _r() {
|
|
|
879
877
|
return "Fragment";
|
|
880
878
|
case c:
|
|
881
879
|
return "Portal";
|
|
882
|
-
case
|
|
880
|
+
case S:
|
|
883
881
|
return "Profiler";
|
|
884
882
|
case v:
|
|
885
883
|
return "StrictMode";
|
|
@@ -893,7 +891,7 @@ function _r() {
|
|
|
893
891
|
case x:
|
|
894
892
|
var t = e;
|
|
895
893
|
return h(t) + ".Consumer";
|
|
896
|
-
case
|
|
894
|
+
case P:
|
|
897
895
|
var r = e;
|
|
898
896
|
return h(r._context) + ".Provider";
|
|
899
897
|
case s:
|
|
@@ -902,9 +900,9 @@ function _r() {
|
|
|
902
900
|
var a = e.displayName || null;
|
|
903
901
|
return a !== null ? a : b(e.type) || "Memo";
|
|
904
902
|
case k: {
|
|
905
|
-
var f = e,
|
|
903
|
+
var f = e, m = f._payload, l = f._init;
|
|
906
904
|
try {
|
|
907
|
-
return b(l(
|
|
905
|
+
return b(l(m));
|
|
908
906
|
} catch {
|
|
909
907
|
return null;
|
|
910
908
|
}
|
|
@@ -971,7 +969,7 @@ function _r() {
|
|
|
971
969
|
})
|
|
972
970
|
});
|
|
973
971
|
}
|
|
974
|
-
Y < 0 &&
|
|
972
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
975
973
|
}
|
|
976
974
|
}
|
|
977
975
|
var le = O.ReactCurrentDispatcher, ce;
|
|
@@ -1005,8 +1003,8 @@ function _r() {
|
|
|
1005
1003
|
ue = !0;
|
|
1006
1004
|
var f = Error.prepareStackTrace;
|
|
1007
1005
|
Error.prepareStackTrace = void 0;
|
|
1008
|
-
var
|
|
1009
|
-
|
|
1006
|
+
var m;
|
|
1007
|
+
m = le.current, le.current = null, Le();
|
|
1010
1008
|
try {
|
|
1011
1009
|
if (t) {
|
|
1012
1010
|
var l = function() {
|
|
@@ -1042,14 +1040,14 @@ function _r() {
|
|
|
1042
1040
|
} catch (F) {
|
|
1043
1041
|
if (F && a && typeof F.stack == "string") {
|
|
1044
1042
|
for (var _ = F.stack.split(`
|
|
1045
|
-
`),
|
|
1046
|
-
`), w = _.length - 1, j =
|
|
1043
|
+
`), T = a.stack.split(`
|
|
1044
|
+
`), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
|
|
1047
1045
|
j--;
|
|
1048
1046
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1049
|
-
if (_[w] !==
|
|
1047
|
+
if (_[w] !== T[j]) {
|
|
1050
1048
|
if (w !== 1 || j !== 1)
|
|
1051
1049
|
do
|
|
1052
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
1050
|
+
if (w--, j--, j < 0 || _[w] !== T[j]) {
|
|
1053
1051
|
var B = `
|
|
1054
1052
|
` + _[w].replace(" at new ", " at ");
|
|
1055
1053
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -1059,15 +1057,15 @@ function _r() {
|
|
|
1059
1057
|
}
|
|
1060
1058
|
}
|
|
1061
1059
|
} finally {
|
|
1062
|
-
ue = !1, le.current =
|
|
1060
|
+
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
1063
1061
|
}
|
|
1064
1062
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1065
1063
|
return typeof e == "function" && ae.set(e, z), z;
|
|
1066
1064
|
}
|
|
1067
|
-
function
|
|
1065
|
+
function qe(e, t, r) {
|
|
1068
1066
|
return je(e, !1);
|
|
1069
1067
|
}
|
|
1070
|
-
function
|
|
1068
|
+
function Ke(e) {
|
|
1071
1069
|
var t = e.prototype;
|
|
1072
1070
|
return !!(t && t.isReactComponent);
|
|
1073
1071
|
}
|
|
@@ -1075,7 +1073,7 @@ function _r() {
|
|
|
1075
1073
|
if (e == null)
|
|
1076
1074
|
return "";
|
|
1077
1075
|
if (typeof e == "function")
|
|
1078
|
-
return je(e,
|
|
1076
|
+
return je(e, Ke(e));
|
|
1079
1077
|
if (typeof e == "string")
|
|
1080
1078
|
return re(e);
|
|
1081
1079
|
switch (e) {
|
|
@@ -1087,13 +1085,13 @@ function _r() {
|
|
|
1087
1085
|
if (typeof e == "object")
|
|
1088
1086
|
switch (e.$$typeof) {
|
|
1089
1087
|
case s:
|
|
1090
|
-
return
|
|
1088
|
+
return qe(e.render);
|
|
1091
1089
|
case d:
|
|
1092
1090
|
return ne(e.type, t, r);
|
|
1093
1091
|
case k: {
|
|
1094
|
-
var a = e, f = a._payload,
|
|
1092
|
+
var a = e, f = a._payload, m = a._init;
|
|
1095
1093
|
try {
|
|
1096
|
-
return ne(
|
|
1094
|
+
return ne(m(f), t, r);
|
|
1097
1095
|
} catch {
|
|
1098
1096
|
}
|
|
1099
1097
|
}
|
|
@@ -1110,20 +1108,20 @@ function _r() {
|
|
|
1110
1108
|
}
|
|
1111
1109
|
function Ye(e, t, r, a, f) {
|
|
1112
1110
|
{
|
|
1113
|
-
var
|
|
1111
|
+
var m = Function.call.bind(X);
|
|
1114
1112
|
for (var l in e)
|
|
1115
|
-
if (
|
|
1113
|
+
if (m(e, l)) {
|
|
1116
1114
|
var _ = void 0;
|
|
1117
1115
|
try {
|
|
1118
1116
|
if (typeof e[l] != "function") {
|
|
1119
|
-
var
|
|
1120
|
-
throw
|
|
1117
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1118
|
+
throw T.name = "Invariant Violation", T;
|
|
1121
1119
|
}
|
|
1122
1120
|
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1123
1121
|
} catch (w) {
|
|
1124
1122
|
_ = w;
|
|
1125
1123
|
}
|
|
1126
|
-
_ && !(_ instanceof Error) && (oe(f),
|
|
1124
|
+
_ && !(_ instanceof Error) && (oe(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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
1127
1125
|
}
|
|
1128
1126
|
}
|
|
1129
1127
|
}
|
|
@@ -1149,7 +1147,7 @@ function _r() {
|
|
|
1149
1147
|
}
|
|
1150
1148
|
function Re(e) {
|
|
1151
1149
|
if (He(e))
|
|
1152
|
-
return
|
|
1150
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
1153
1151
|
}
|
|
1154
1152
|
var Ee = O.ReactCurrentOwner, Je = {
|
|
1155
1153
|
key: !0,
|
|
@@ -1179,7 +1177,7 @@ function _r() {
|
|
|
1179
1177
|
function Qe(e, t) {
|
|
1180
1178
|
{
|
|
1181
1179
|
var r = function() {
|
|
1182
|
-
Oe || (Oe = !0,
|
|
1180
|
+
Oe || (Oe = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1183
1181
|
};
|
|
1184
1182
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1185
1183
|
get: r,
|
|
@@ -1190,7 +1188,7 @@ function _r() {
|
|
|
1190
1188
|
function et(e, t) {
|
|
1191
1189
|
{
|
|
1192
1190
|
var r = function() {
|
|
1193
|
-
Te || (Te = !0,
|
|
1191
|
+
Te || (Te = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1194
1192
|
};
|
|
1195
1193
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1196
1194
|
get: r,
|
|
@@ -1198,7 +1196,7 @@ function _r() {
|
|
|
1198
1196
|
});
|
|
1199
1197
|
}
|
|
1200
1198
|
}
|
|
1201
|
-
var tt = function(e, t, r, a, f,
|
|
1199
|
+
var tt = function(e, t, r, a, f, m, l) {
|
|
1202
1200
|
var _ = {
|
|
1203
1201
|
// This tag allows us to uniquely identify this as a React Element
|
|
1204
1202
|
$$typeof: i,
|
|
@@ -1208,7 +1206,7 @@ function _r() {
|
|
|
1208
1206
|
ref: r,
|
|
1209
1207
|
props: l,
|
|
1210
1208
|
// Record the component responsible for creating this element.
|
|
1211
|
-
_owner:
|
|
1209
|
+
_owner: m
|
|
1212
1210
|
};
|
|
1213
1211
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1214
1212
|
configurable: !1,
|
|
@@ -1229,20 +1227,20 @@ function _r() {
|
|
|
1229
1227
|
};
|
|
1230
1228
|
function rt(e, t, r, a, f) {
|
|
1231
1229
|
{
|
|
1232
|
-
var
|
|
1233
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
1234
|
-
for (
|
|
1235
|
-
X.call(t,
|
|
1230
|
+
var m, l = {}, _ = null, T = null;
|
|
1231
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (T = t.ref, Xe(t));
|
|
1232
|
+
for (m in t)
|
|
1233
|
+
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1236
1234
|
if (e && e.defaultProps) {
|
|
1237
1235
|
var w = e.defaultProps;
|
|
1238
|
-
for (
|
|
1239
|
-
l[
|
|
1236
|
+
for (m in w)
|
|
1237
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
1240
1238
|
}
|
|
1241
|
-
if (_ ||
|
|
1239
|
+
if (_ || T) {
|
|
1242
1240
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1243
|
-
_ && Qe(l, j),
|
|
1241
|
+
_ && Qe(l, j), T && et(l, j);
|
|
1244
1242
|
}
|
|
1245
|
-
return tt(e, _,
|
|
1243
|
+
return tt(e, _, T, f, a, Ee.current, l);
|
|
1246
1244
|
}
|
|
1247
1245
|
}
|
|
1248
1246
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
@@ -1253,9 +1251,9 @@ function _r() {
|
|
|
1253
1251
|
} else
|
|
1254
1252
|
De.setExtraStackFrame(null);
|
|
1255
1253
|
}
|
|
1256
|
-
var
|
|
1257
|
-
|
|
1258
|
-
function
|
|
1254
|
+
var pe;
|
|
1255
|
+
pe = !1;
|
|
1256
|
+
function me(e) {
|
|
1259
1257
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1260
1258
|
}
|
|
1261
1259
|
function Pe() {
|
|
@@ -1296,7 +1294,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1296
1294
|
return;
|
|
1297
1295
|
Ne[r] = !0;
|
|
1298
1296
|
var a = "";
|
|
1299
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e),
|
|
1297
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
1300
1298
|
}
|
|
1301
1299
|
}
|
|
1302
1300
|
function Ie(e, t) {
|
|
@@ -1306,15 +1304,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1306
1304
|
if (de(e))
|
|
1307
1305
|
for (var r = 0; r < e.length; r++) {
|
|
1308
1306
|
var a = e[r];
|
|
1309
|
-
|
|
1307
|
+
me(a) && Fe(a, t);
|
|
1310
1308
|
}
|
|
1311
|
-
else if (
|
|
1309
|
+
else if (me(e))
|
|
1312
1310
|
e._store && (e._store.validated = !0);
|
|
1313
1311
|
else if (e) {
|
|
1314
1312
|
var f = $(e);
|
|
1315
1313
|
if (typeof f == "function" && f !== e.entries)
|
|
1316
|
-
for (var
|
|
1317
|
-
|
|
1314
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
1315
|
+
me(l.value) && Fe(l.value, t);
|
|
1318
1316
|
}
|
|
1319
1317
|
}
|
|
1320
1318
|
}
|
|
@@ -1335,12 +1333,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1335
1333
|
if (r) {
|
|
1336
1334
|
var a = b(t);
|
|
1337
1335
|
Ye(r, e.props, "prop", a, e);
|
|
1338
|
-
} else if (t.PropTypes !== void 0 && !
|
|
1339
|
-
|
|
1336
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
1337
|
+
pe = !0;
|
|
1340
1338
|
var f = b(t);
|
|
1341
|
-
|
|
1339
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
1342
1340
|
}
|
|
1343
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
1341
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1344
1342
|
}
|
|
1345
1343
|
}
|
|
1346
1344
|
function it(e) {
|
|
@@ -1348,26 +1346,26 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1348
1346
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1349
1347
|
var a = t[r];
|
|
1350
1348
|
if (a !== "children" && a !== "key") {
|
|
1351
|
-
J(e),
|
|
1349
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
1352
1350
|
break;
|
|
1353
1351
|
}
|
|
1354
1352
|
}
|
|
1355
|
-
e.ref !== null && (J(e),
|
|
1353
|
+
e.ref !== null && (J(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
1356
1354
|
}
|
|
1357
1355
|
}
|
|
1358
1356
|
var Me = {};
|
|
1359
|
-
function $e(e, t, r, a, f,
|
|
1357
|
+
function $e(e, t, r, a, f, m) {
|
|
1360
1358
|
{
|
|
1361
1359
|
var l = U(e);
|
|
1362
1360
|
if (!l) {
|
|
1363
1361
|
var _ = "";
|
|
1364
1362
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1365
|
-
var
|
|
1366
|
-
|
|
1363
|
+
var T = at();
|
|
1364
|
+
T ? _ += T : _ += Pe();
|
|
1367
1365
|
var w;
|
|
1368
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e,
|
|
1366
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
1369
1367
|
}
|
|
1370
|
-
var j = rt(e, t, r, f,
|
|
1368
|
+
var j = rt(e, t, r, f, m);
|
|
1371
1369
|
if (j == null)
|
|
1372
1370
|
return j;
|
|
1373
1371
|
if (l) {
|
|
@@ -1379,7 +1377,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1379
1377
|
Ie(B[Z], e);
|
|
1380
1378
|
Object.freeze && Object.freeze(B);
|
|
1381
1379
|
} else
|
|
1382
|
-
|
|
1380
|
+
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.");
|
|
1383
1381
|
else
|
|
1384
1382
|
Ie(B, e);
|
|
1385
1383
|
}
|
|
@@ -1389,7 +1387,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1389
1387
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1390
1388
|
if (!Me[z + ye]) {
|
|
1391
1389
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
1392
|
-
|
|
1390
|
+
p(`A props object containing a "key" prop is being spread into JSX:
|
|
1393
1391
|
let props = %s;
|
|
1394
1392
|
<%s {...props} />
|
|
1395
1393
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -1410,33 +1408,33 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1410
1408
|
kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
|
|
1411
1409
|
}()), kt;
|
|
1412
1410
|
}
|
|
1413
|
-
process.env.NODE_ENV === "production" ? Dt.exports =
|
|
1411
|
+
process.env.NODE_ENV === "production" ? Dt.exports = _r() : Dt.exports = sr();
|
|
1414
1412
|
var H = Dt.exports;
|
|
1415
|
-
const
|
|
1416
|
-
shake:
|
|
1417
|
-
modal:
|
|
1418
|
-
sa:
|
|
1419
|
-
ss:
|
|
1420
|
-
sm:
|
|
1421
|
-
sl:
|
|
1413
|
+
const lr = "_shake_oqfdb_1", cr = "_modal_oqfdb_79", ur = "_sa_oqfdb_89", dr = "_ss_oqfdb_94", fr = "_sm_oqfdb_98", pr = "_sl_oqfdb_102", mr = "_sx_oqfdb_106", yr = "_sf_oqfdb_110", vr = "_o_oqfdb_116", gr = "_b_oqfdb_28", hr = "_w_oqfdb_15", br = "_h_oqfdb_146", kr = "_l_oqfdb_160", wr = "_t_oqfdb_197", jr = "_x_oqfdb_201", xr = "_s_oqfdb_89", Cr = "_c_oqfdb_219", Sr = "_f_oqfdb_224", Rr = "_r__oqfdb_235", Er = "_c__oqfdb_250", Or = "_g_oqfdb_259", Tr = "_m_oqfdb_79", _e = {
|
|
1414
|
+
shake: lr,
|
|
1415
|
+
modal: cr,
|
|
1416
|
+
sa: ur,
|
|
1417
|
+
ss: dr,
|
|
1418
|
+
sm: fr,
|
|
1419
|
+
sl: pr,
|
|
1422
1420
|
sx: mr,
|
|
1423
|
-
sf:
|
|
1424
|
-
o:
|
|
1425
|
-
b:
|
|
1426
|
-
w:
|
|
1427
|
-
h:
|
|
1428
|
-
l:
|
|
1429
|
-
t:
|
|
1430
|
-
x:
|
|
1431
|
-
s:
|
|
1432
|
-
c:
|
|
1433
|
-
f:
|
|
1434
|
-
r_:
|
|
1435
|
-
c_:
|
|
1436
|
-
g:
|
|
1437
|
-
m:
|
|
1421
|
+
sf: yr,
|
|
1422
|
+
o: vr,
|
|
1423
|
+
b: gr,
|
|
1424
|
+
w: hr,
|
|
1425
|
+
h: br,
|
|
1426
|
+
l: kr,
|
|
1427
|
+
t: wr,
|
|
1428
|
+
x: jr,
|
|
1429
|
+
s: xr,
|
|
1430
|
+
c: Cr,
|
|
1431
|
+
f: Sr,
|
|
1432
|
+
r_: Rr,
|
|
1433
|
+
c_: Er,
|
|
1434
|
+
g: Or,
|
|
1435
|
+
m: Tr
|
|
1438
1436
|
};
|
|
1439
|
-
function
|
|
1437
|
+
function Dr({ children: n, className: i }) {
|
|
1440
1438
|
return /* @__PURE__ */ H.jsx(
|
|
1441
1439
|
"div",
|
|
1442
1440
|
{
|
|
@@ -1445,7 +1443,7 @@ function Tr({ children: n, className: i }) {
|
|
|
1445
1443
|
}
|
|
1446
1444
|
);
|
|
1447
1445
|
}
|
|
1448
|
-
function
|
|
1446
|
+
function Pr({ children: n, className: i }) {
|
|
1449
1447
|
return /* @__PURE__ */ H.jsx(
|
|
1450
1448
|
"div",
|
|
1451
1449
|
{
|
|
@@ -1454,7 +1452,7 @@ function Dr({ children: n, className: i }) {
|
|
|
1454
1452
|
}
|
|
1455
1453
|
);
|
|
1456
1454
|
}
|
|
1457
|
-
function
|
|
1455
|
+
function Nr({
|
|
1458
1456
|
children: n,
|
|
1459
1457
|
direction: i = "column",
|
|
1460
1458
|
className: c
|
|
@@ -1471,7 +1469,7 @@ function Pr({
|
|
|
1471
1469
|
}
|
|
1472
1470
|
);
|
|
1473
1471
|
}
|
|
1474
|
-
function
|
|
1472
|
+
function Fr({ children: n, className: i }) {
|
|
1475
1473
|
return /* @__PURE__ */ H.jsx(
|
|
1476
1474
|
"div",
|
|
1477
1475
|
{
|
|
@@ -1480,7 +1478,7 @@ function Nr({ children: n, className: i }) {
|
|
|
1480
1478
|
}
|
|
1481
1479
|
);
|
|
1482
1480
|
}
|
|
1483
|
-
function
|
|
1481
|
+
function Ir({ children: n, className: i }) {
|
|
1484
1482
|
return /* @__PURE__ */ H.jsx(
|
|
1485
1483
|
"div",
|
|
1486
1484
|
{
|
|
@@ -1489,13 +1487,13 @@ function Fr({ children: n, className: i }) {
|
|
|
1489
1487
|
}
|
|
1490
1488
|
);
|
|
1491
1489
|
}
|
|
1492
|
-
function
|
|
1490
|
+
function Mr() {
|
|
1493
1491
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1494
1492
|
}
|
|
1495
1493
|
function Wt(n) {
|
|
1496
|
-
return
|
|
1494
|
+
return Mr().IMPORT_MODULES;
|
|
1497
1495
|
}
|
|
1498
|
-
var Pt = { exports: {} },
|
|
1496
|
+
var Pt = { exports: {} }, gt = {};
|
|
1499
1497
|
/**
|
|
1500
1498
|
* @license React
|
|
1501
1499
|
* react-jsx-runtime.production.min.js
|
|
@@ -1506,18 +1504,18 @@ var Pt = { exports: {} }, vt = {};
|
|
|
1506
1504
|
* LICENSE file in the root directory of this source tree.
|
|
1507
1505
|
*/
|
|
1508
1506
|
var Ut;
|
|
1509
|
-
function
|
|
1510
|
-
if (Ut) return
|
|
1507
|
+
function $r() {
|
|
1508
|
+
if (Ut) return gt;
|
|
1511
1509
|
Ut = 1;
|
|
1512
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
1513
|
-
function
|
|
1514
|
-
var o, d = {}, k = null,
|
|
1515
|
-
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (
|
|
1516
|
-
for (o in s) u.call(s, o) && !
|
|
1510
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1511
|
+
function P(x, s, g) {
|
|
1512
|
+
var o, d = {}, k = null, C = null;
|
|
1513
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
1514
|
+
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
1517
1515
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
1518
|
-
return { $$typeof: i, type: x, key: k, ref:
|
|
1516
|
+
return { $$typeof: i, type: x, key: k, ref: C, props: d, _owner: v.current };
|
|
1519
1517
|
}
|
|
1520
|
-
return
|
|
1518
|
+
return gt.Fragment = c, gt.jsx = P, gt.jsxs = P, gt;
|
|
1521
1519
|
}
|
|
1522
1520
|
var wt = {};
|
|
1523
1521
|
/**
|
|
@@ -1529,10 +1527,10 @@ var wt = {};
|
|
|
1529
1527
|
* This source code is licensed under the MIT license found in the
|
|
1530
1528
|
* LICENSE file in the root directory of this source tree.
|
|
1531
1529
|
*/
|
|
1532
|
-
var
|
|
1533
|
-
function
|
|
1534
|
-
return
|
|
1535
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"),
|
|
1530
|
+
var qt;
|
|
1531
|
+
function Ar() {
|
|
1532
|
+
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1533
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = 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"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
1536
1534
|
function $(e) {
|
|
1537
1535
|
if (e === null || typeof e != "object")
|
|
1538
1536
|
return null;
|
|
@@ -1540,7 +1538,7 @@ function $r() {
|
|
|
1540
1538
|
return typeof t == "function" ? t : null;
|
|
1541
1539
|
}
|
|
1542
1540
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1543
|
-
function
|
|
1541
|
+
function p(e) {
|
|
1544
1542
|
{
|
|
1545
1543
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1546
1544
|
r[a - 1] = arguments[a];
|
|
@@ -1551,20 +1549,20 @@ function $r() {
|
|
|
1551
1549
|
{
|
|
1552
1550
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
1553
1551
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
1554
|
-
var
|
|
1552
|
+
var m = r.map(function(l) {
|
|
1555
1553
|
return String(l);
|
|
1556
1554
|
});
|
|
1557
|
-
|
|
1555
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
1558
1556
|
}
|
|
1559
1557
|
}
|
|
1560
|
-
var
|
|
1561
|
-
|
|
1558
|
+
var q = !1, G = !1, L = !1, K = !1, E = !1, D;
|
|
1559
|
+
D = Symbol.for("react.module.reference");
|
|
1562
1560
|
function U(e) {
|
|
1563
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
1561
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || K || e === C || q || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1564
1562
|
// types supported by any Flight configuration anywhere since
|
|
1565
1563
|
// we don't know which Flight build this will end up being used
|
|
1566
1564
|
// with.
|
|
1567
|
-
e.$$typeof ===
|
|
1565
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
1568
1566
|
}
|
|
1569
1567
|
function R(e, t, r) {
|
|
1570
1568
|
var a = e.displayName;
|
|
@@ -1579,7 +1577,7 @@ function $r() {
|
|
|
1579
1577
|
function b(e) {
|
|
1580
1578
|
if (e == null)
|
|
1581
1579
|
return null;
|
|
1582
|
-
if (typeof e.tag == "number" &&
|
|
1580
|
+
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
1583
1581
|
return e.displayName || e.name || null;
|
|
1584
1582
|
if (typeof e == "string")
|
|
1585
1583
|
return e;
|
|
@@ -1588,7 +1586,7 @@ function $r() {
|
|
|
1588
1586
|
return "Fragment";
|
|
1589
1587
|
case c:
|
|
1590
1588
|
return "Portal";
|
|
1591
|
-
case
|
|
1589
|
+
case S:
|
|
1592
1590
|
return "Profiler";
|
|
1593
1591
|
case v:
|
|
1594
1592
|
return "StrictMode";
|
|
@@ -1602,7 +1600,7 @@ function $r() {
|
|
|
1602
1600
|
case x:
|
|
1603
1601
|
var t = e;
|
|
1604
1602
|
return h(t) + ".Consumer";
|
|
1605
|
-
case
|
|
1603
|
+
case P:
|
|
1606
1604
|
var r = e;
|
|
1607
1605
|
return h(r._context) + ".Provider";
|
|
1608
1606
|
case s:
|
|
@@ -1611,9 +1609,9 @@ function $r() {
|
|
|
1611
1609
|
var a = e.displayName || null;
|
|
1612
1610
|
return a !== null ? a : b(e.type) || "Memo";
|
|
1613
1611
|
case k: {
|
|
1614
|
-
var f = e,
|
|
1612
|
+
var f = e, m = f._payload, l = f._init;
|
|
1615
1613
|
try {
|
|
1616
|
-
return b(l(
|
|
1614
|
+
return b(l(m));
|
|
1617
1615
|
} catch {
|
|
1618
1616
|
return null;
|
|
1619
1617
|
}
|
|
@@ -1680,7 +1678,7 @@ function $r() {
|
|
|
1680
1678
|
})
|
|
1681
1679
|
});
|
|
1682
1680
|
}
|
|
1683
|
-
Y < 0 &&
|
|
1681
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1684
1682
|
}
|
|
1685
1683
|
}
|
|
1686
1684
|
var le = O.ReactCurrentDispatcher, ce;
|
|
@@ -1714,8 +1712,8 @@ function $r() {
|
|
|
1714
1712
|
ue = !0;
|
|
1715
1713
|
var f = Error.prepareStackTrace;
|
|
1716
1714
|
Error.prepareStackTrace = void 0;
|
|
1717
|
-
var
|
|
1718
|
-
|
|
1715
|
+
var m;
|
|
1716
|
+
m = le.current, le.current = null, Le();
|
|
1719
1717
|
try {
|
|
1720
1718
|
if (t) {
|
|
1721
1719
|
var l = function() {
|
|
@@ -1751,14 +1749,14 @@ function $r() {
|
|
|
1751
1749
|
} catch (F) {
|
|
1752
1750
|
if (F && a && typeof F.stack == "string") {
|
|
1753
1751
|
for (var _ = F.stack.split(`
|
|
1754
|
-
`),
|
|
1755
|
-
`), w = _.length - 1, j =
|
|
1752
|
+
`), T = a.stack.split(`
|
|
1753
|
+
`), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
|
|
1756
1754
|
j--;
|
|
1757
1755
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1758
|
-
if (_[w] !==
|
|
1756
|
+
if (_[w] !== T[j]) {
|
|
1759
1757
|
if (w !== 1 || j !== 1)
|
|
1760
1758
|
do
|
|
1761
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
1759
|
+
if (w--, j--, j < 0 || _[w] !== T[j]) {
|
|
1762
1760
|
var B = `
|
|
1763
1761
|
` + _[w].replace(" at new ", " at ");
|
|
1764
1762
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -1768,15 +1766,15 @@ function $r() {
|
|
|
1768
1766
|
}
|
|
1769
1767
|
}
|
|
1770
1768
|
} finally {
|
|
1771
|
-
ue = !1, le.current =
|
|
1769
|
+
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
1772
1770
|
}
|
|
1773
1771
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1774
1772
|
return typeof e == "function" && ae.set(e, z), z;
|
|
1775
1773
|
}
|
|
1776
|
-
function
|
|
1774
|
+
function qe(e, t, r) {
|
|
1777
1775
|
return je(e, !1);
|
|
1778
1776
|
}
|
|
1779
|
-
function
|
|
1777
|
+
function Ke(e) {
|
|
1780
1778
|
var t = e.prototype;
|
|
1781
1779
|
return !!(t && t.isReactComponent);
|
|
1782
1780
|
}
|
|
@@ -1784,7 +1782,7 @@ function $r() {
|
|
|
1784
1782
|
if (e == null)
|
|
1785
1783
|
return "";
|
|
1786
1784
|
if (typeof e == "function")
|
|
1787
|
-
return je(e,
|
|
1785
|
+
return je(e, Ke(e));
|
|
1788
1786
|
if (typeof e == "string")
|
|
1789
1787
|
return re(e);
|
|
1790
1788
|
switch (e) {
|
|
@@ -1796,13 +1794,13 @@ function $r() {
|
|
|
1796
1794
|
if (typeof e == "object")
|
|
1797
1795
|
switch (e.$$typeof) {
|
|
1798
1796
|
case s:
|
|
1799
|
-
return
|
|
1797
|
+
return qe(e.render);
|
|
1800
1798
|
case d:
|
|
1801
1799
|
return ne(e.type, t, r);
|
|
1802
1800
|
case k: {
|
|
1803
|
-
var a = e, f = a._payload,
|
|
1801
|
+
var a = e, f = a._payload, m = a._init;
|
|
1804
1802
|
try {
|
|
1805
|
-
return ne(
|
|
1803
|
+
return ne(m(f), t, r);
|
|
1806
1804
|
} catch {
|
|
1807
1805
|
}
|
|
1808
1806
|
}
|
|
@@ -1819,20 +1817,20 @@ function $r() {
|
|
|
1819
1817
|
}
|
|
1820
1818
|
function Ye(e, t, r, a, f) {
|
|
1821
1819
|
{
|
|
1822
|
-
var
|
|
1820
|
+
var m = Function.call.bind(X);
|
|
1823
1821
|
for (var l in e)
|
|
1824
|
-
if (
|
|
1822
|
+
if (m(e, l)) {
|
|
1825
1823
|
var _ = void 0;
|
|
1826
1824
|
try {
|
|
1827
1825
|
if (typeof e[l] != "function") {
|
|
1828
|
-
var
|
|
1829
|
-
throw
|
|
1826
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1827
|
+
throw T.name = "Invariant Violation", T;
|
|
1830
1828
|
}
|
|
1831
1829
|
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1832
1830
|
} catch (w) {
|
|
1833
1831
|
_ = w;
|
|
1834
1832
|
}
|
|
1835
|
-
_ && !(_ instanceof Error) && (oe(f),
|
|
1833
|
+
_ && !(_ instanceof Error) && (oe(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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
1836
1834
|
}
|
|
1837
1835
|
}
|
|
1838
1836
|
}
|
|
@@ -1858,7 +1856,7 @@ function $r() {
|
|
|
1858
1856
|
}
|
|
1859
1857
|
function Re(e) {
|
|
1860
1858
|
if (He(e))
|
|
1861
|
-
return
|
|
1859
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
1862
1860
|
}
|
|
1863
1861
|
var Ee = O.ReactCurrentOwner, Je = {
|
|
1864
1862
|
key: !0,
|
|
@@ -1888,7 +1886,7 @@ function $r() {
|
|
|
1888
1886
|
function Qe(e, t) {
|
|
1889
1887
|
{
|
|
1890
1888
|
var r = function() {
|
|
1891
|
-
Oe || (Oe = !0,
|
|
1889
|
+
Oe || (Oe = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1892
1890
|
};
|
|
1893
1891
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1894
1892
|
get: r,
|
|
@@ -1899,7 +1897,7 @@ function $r() {
|
|
|
1899
1897
|
function et(e, t) {
|
|
1900
1898
|
{
|
|
1901
1899
|
var r = function() {
|
|
1902
|
-
Te || (Te = !0,
|
|
1900
|
+
Te || (Te = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1903
1901
|
};
|
|
1904
1902
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1905
1903
|
get: r,
|
|
@@ -1907,7 +1905,7 @@ function $r() {
|
|
|
1907
1905
|
});
|
|
1908
1906
|
}
|
|
1909
1907
|
}
|
|
1910
|
-
var tt = function(e, t, r, a, f,
|
|
1908
|
+
var tt = function(e, t, r, a, f, m, l) {
|
|
1911
1909
|
var _ = {
|
|
1912
1910
|
// This tag allows us to uniquely identify this as a React Element
|
|
1913
1911
|
$$typeof: i,
|
|
@@ -1917,7 +1915,7 @@ function $r() {
|
|
|
1917
1915
|
ref: r,
|
|
1918
1916
|
props: l,
|
|
1919
1917
|
// Record the component responsible for creating this element.
|
|
1920
|
-
_owner:
|
|
1918
|
+
_owner: m
|
|
1921
1919
|
};
|
|
1922
1920
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1923
1921
|
configurable: !1,
|
|
@@ -1938,20 +1936,20 @@ function $r() {
|
|
|
1938
1936
|
};
|
|
1939
1937
|
function rt(e, t, r, a, f) {
|
|
1940
1938
|
{
|
|
1941
|
-
var
|
|
1942
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
1943
|
-
for (
|
|
1944
|
-
X.call(t,
|
|
1939
|
+
var m, l = {}, _ = null, T = null;
|
|
1940
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (T = t.ref, Xe(t));
|
|
1941
|
+
for (m in t)
|
|
1942
|
+
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1945
1943
|
if (e && e.defaultProps) {
|
|
1946
1944
|
var w = e.defaultProps;
|
|
1947
|
-
for (
|
|
1948
|
-
l[
|
|
1945
|
+
for (m in w)
|
|
1946
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
1949
1947
|
}
|
|
1950
|
-
if (_ ||
|
|
1948
|
+
if (_ || T) {
|
|
1951
1949
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1952
|
-
_ && Qe(l, j),
|
|
1950
|
+
_ && Qe(l, j), T && et(l, j);
|
|
1953
1951
|
}
|
|
1954
|
-
return tt(e, _,
|
|
1952
|
+
return tt(e, _, T, f, a, Ee.current, l);
|
|
1955
1953
|
}
|
|
1956
1954
|
}
|
|
1957
1955
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
@@ -1962,9 +1960,9 @@ function $r() {
|
|
|
1962
1960
|
} else
|
|
1963
1961
|
De.setExtraStackFrame(null);
|
|
1964
1962
|
}
|
|
1965
|
-
var
|
|
1966
|
-
|
|
1967
|
-
function
|
|
1963
|
+
var pe;
|
|
1964
|
+
pe = !1;
|
|
1965
|
+
function me(e) {
|
|
1968
1966
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1969
1967
|
}
|
|
1970
1968
|
function Pe() {
|
|
@@ -2005,7 +2003,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2005
2003
|
return;
|
|
2006
2004
|
Ne[r] = !0;
|
|
2007
2005
|
var a = "";
|
|
2008
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e),
|
|
2006
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
2009
2007
|
}
|
|
2010
2008
|
}
|
|
2011
2009
|
function Ie(e, t) {
|
|
@@ -2015,15 +2013,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2015
2013
|
if (de(e))
|
|
2016
2014
|
for (var r = 0; r < e.length; r++) {
|
|
2017
2015
|
var a = e[r];
|
|
2018
|
-
|
|
2016
|
+
me(a) && Fe(a, t);
|
|
2019
2017
|
}
|
|
2020
|
-
else if (
|
|
2018
|
+
else if (me(e))
|
|
2021
2019
|
e._store && (e._store.validated = !0);
|
|
2022
2020
|
else if (e) {
|
|
2023
2021
|
var f = $(e);
|
|
2024
2022
|
if (typeof f == "function" && f !== e.entries)
|
|
2025
|
-
for (var
|
|
2026
|
-
|
|
2023
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
2024
|
+
me(l.value) && Fe(l.value, t);
|
|
2027
2025
|
}
|
|
2028
2026
|
}
|
|
2029
2027
|
}
|
|
@@ -2044,12 +2042,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2044
2042
|
if (r) {
|
|
2045
2043
|
var a = b(t);
|
|
2046
2044
|
Ye(r, e.props, "prop", a, e);
|
|
2047
|
-
} else if (t.PropTypes !== void 0 && !
|
|
2048
|
-
|
|
2045
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
2046
|
+
pe = !0;
|
|
2049
2047
|
var f = b(t);
|
|
2050
|
-
|
|
2048
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
2051
2049
|
}
|
|
2052
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
2050
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2053
2051
|
}
|
|
2054
2052
|
}
|
|
2055
2053
|
function it(e) {
|
|
@@ -2057,26 +2055,26 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2057
2055
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2058
2056
|
var a = t[r];
|
|
2059
2057
|
if (a !== "children" && a !== "key") {
|
|
2060
|
-
J(e),
|
|
2058
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
2061
2059
|
break;
|
|
2062
2060
|
}
|
|
2063
2061
|
}
|
|
2064
|
-
e.ref !== null && (J(e),
|
|
2062
|
+
e.ref !== null && (J(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
2065
2063
|
}
|
|
2066
2064
|
}
|
|
2067
2065
|
var Me = {};
|
|
2068
|
-
function $e(e, t, r, a, f,
|
|
2066
|
+
function $e(e, t, r, a, f, m) {
|
|
2069
2067
|
{
|
|
2070
2068
|
var l = U(e);
|
|
2071
2069
|
if (!l) {
|
|
2072
2070
|
var _ = "";
|
|
2073
2071
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2074
|
-
var
|
|
2075
|
-
|
|
2072
|
+
var T = at();
|
|
2073
|
+
T ? _ += T : _ += Pe();
|
|
2076
2074
|
var w;
|
|
2077
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e,
|
|
2075
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
2078
2076
|
}
|
|
2079
|
-
var j = rt(e, t, r, f,
|
|
2077
|
+
var j = rt(e, t, r, f, m);
|
|
2080
2078
|
if (j == null)
|
|
2081
2079
|
return j;
|
|
2082
2080
|
if (l) {
|
|
@@ -2088,7 +2086,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2088
2086
|
Ie(B[Z], e);
|
|
2089
2087
|
Object.freeze && Object.freeze(B);
|
|
2090
2088
|
} else
|
|
2091
|
-
|
|
2089
|
+
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.");
|
|
2092
2090
|
else
|
|
2093
2091
|
Ie(B, e);
|
|
2094
2092
|
}
|
|
@@ -2098,7 +2096,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2098
2096
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2099
2097
|
if (!Me[z + ye]) {
|
|
2100
2098
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
2101
|
-
|
|
2099
|
+
p(`A props object containing a "key" prop is being spread into JSX:
|
|
2102
2100
|
let props = %s;
|
|
2103
2101
|
<%s {...props} />
|
|
2104
2102
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -2119,38 +2117,38 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2119
2117
|
wt.Fragment = u, wt.jsx = lt, wt.jsxs = ct;
|
|
2120
2118
|
}()), wt;
|
|
2121
2119
|
}
|
|
2122
|
-
process.env.NODE_ENV === "production" ? Pt.exports =
|
|
2120
|
+
process.env.NODE_ENV === "production" ? Pt.exports = $r() : Pt.exports = Ar();
|
|
2123
2121
|
var Et = Pt.exports;
|
|
2124
|
-
const
|
|
2125
|
-
btn:
|
|
2126
|
-
confirm:
|
|
2127
|
-
cancel:
|
|
2128
|
-
action:
|
|
2129
|
-
disabled:
|
|
2122
|
+
const Br = "_btn_1k1b3_1", Lr = "_confirm_1k1b3_15", Wr = "_cancel_1k1b3_20", Ur = "_action_1k1b3_25", qr = "_disabled_1k1b3_30", Kr = "_m_1k1b3_44", Yr = "_l_1k1b3_48", jt = {
|
|
2123
|
+
btn: Br,
|
|
2124
|
+
confirm: Lr,
|
|
2125
|
+
cancel: Wr,
|
|
2126
|
+
action: Ur,
|
|
2127
|
+
disabled: qr,
|
|
2130
2128
|
await: "_await_1k1b3_37",
|
|
2131
2129
|
m: Kr,
|
|
2132
|
-
l:
|
|
2133
|
-
},
|
|
2130
|
+
l: Yr
|
|
2131
|
+
}, Gr = ({
|
|
2134
2132
|
onClick: n,
|
|
2135
2133
|
onSend: i,
|
|
2136
2134
|
size: c = "m",
|
|
2137
2135
|
view: u = "confirm",
|
|
2138
2136
|
children: v,
|
|
2139
|
-
isDisabled:
|
|
2140
|
-
className:
|
|
2137
|
+
isDisabled: S = !1,
|
|
2138
|
+
className: P,
|
|
2141
2139
|
after: x,
|
|
2142
2140
|
before: s,
|
|
2143
2141
|
label: g,
|
|
2144
2142
|
onRef: o,
|
|
2145
2143
|
awaitText: d = "Ожидайте"
|
|
2146
2144
|
}) => {
|
|
2147
|
-
let [k,
|
|
2145
|
+
let [k, C] = W.useState(!1);
|
|
2148
2146
|
const N = ($) => {
|
|
2149
2147
|
if (n) return n();
|
|
2150
|
-
k || (i ? (
|
|
2148
|
+
k || (i ? (C(!0), i(C)) : $.preventDefault());
|
|
2151
2149
|
};
|
|
2152
2150
|
let A = {};
|
|
2153
|
-
return (
|
|
2151
|
+
return (S || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2154
2152
|
"button",
|
|
2155
2153
|
{
|
|
2156
2154
|
...A,
|
|
@@ -2159,7 +2157,7 @@ const Ar = "_btn_1k1b3_1", Br = "_confirm_1k1b3_15", Lr = "_cancel_1k1b3_20", Wr
|
|
|
2159
2157
|
jt.btn,
|
|
2160
2158
|
k ? jt.disabled : jt[u],
|
|
2161
2159
|
c && jt[c],
|
|
2162
|
-
|
|
2160
|
+
P
|
|
2163
2161
|
].filter(($) => $ != "").join(" "),
|
|
2164
2162
|
onClick: N,
|
|
2165
2163
|
children: k ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
@@ -2173,7 +2171,7 @@ const Ar = "_btn_1k1b3_1", Br = "_confirm_1k1b3_15", Lr = "_cancel_1k1b3_20", Wr
|
|
|
2173
2171
|
);
|
|
2174
2172
|
};
|
|
2175
2173
|
let Ae = {};
|
|
2176
|
-
function
|
|
2174
|
+
function zr({ children: n }) {
|
|
2177
2175
|
return /* @__PURE__ */ H.jsx(H.Fragment, { children: n });
|
|
2178
2176
|
}
|
|
2179
2177
|
var Ct;
|
|
@@ -2182,46 +2180,46 @@ var Ct;
|
|
|
2182
2180
|
import_modules: o
|
|
2183
2181
|
}) {
|
|
2184
2182
|
let [d, k] = W.useState([]);
|
|
2185
|
-
return Ae.x = (
|
|
2186
|
-
k(
|
|
2187
|
-
},
|
|
2183
|
+
return Ae.x = (C) => {
|
|
2184
|
+
k(C ? d.filter((N) => N.key !== C) : []);
|
|
2185
|
+
}, Zt(() => {
|
|
2188
2186
|
o && (Ae.i = o);
|
|
2189
|
-
}, []), Ae.add = (
|
|
2190
|
-
k([...d, { key: N, item:
|
|
2191
|
-
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((
|
|
2187
|
+
}, []), Ae.add = (C, N = Date.now()) => {
|
|
2188
|
+
k([...d, { key: N, item: C }]);
|
|
2189
|
+
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((C) => C.item) });
|
|
2192
2190
|
}
|
|
2193
2191
|
n.Init = i;
|
|
2194
2192
|
function c(o) {
|
|
2195
2193
|
return o && (Ae.i = o), Ae.i;
|
|
2196
2194
|
}
|
|
2197
|
-
n.Import = c, n.List =
|
|
2195
|
+
n.Import = c, n.List = Dr, n.Scroll = Pr, n.Form = Nr, n.Center = Fr, n.Column = Ir;
|
|
2198
2196
|
function u(o, d, k) {
|
|
2199
|
-
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((
|
|
2200
|
-
|
|
2201
|
-
}) : Wt()(`${o}/modal/${d}.tsx`).then((
|
|
2202
|
-
|
|
2197
|
+
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((C) => {
|
|
2198
|
+
C.default.Open(k);
|
|
2199
|
+
}) : Wt()(`${o}/modal/${d}.tsx`).then((C) => {
|
|
2200
|
+
C.default.Open(k);
|
|
2203
2201
|
});
|
|
2204
2202
|
}
|
|
2205
2203
|
n.Open = u;
|
|
2206
2204
|
function v({ type: o, name: d, params: k }) {
|
|
2207
|
-
let [
|
|
2205
|
+
let [C, N] = W.useState(null);
|
|
2208
2206
|
return W.useEffect(() => {
|
|
2209
2207
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2210
2208
|
N(A.default.Icon(k));
|
|
2211
2209
|
}) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2212
2210
|
N(A.default.Icon(k));
|
|
2213
2211
|
});
|
|
2214
|
-
}, [k.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children:
|
|
2212
|
+
}, [k.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: C });
|
|
2215
2213
|
}
|
|
2216
2214
|
n.Icon = v;
|
|
2217
|
-
function
|
|
2218
|
-
Ae.add(/* @__PURE__ */ H.jsx(
|
|
2215
|
+
function S(o, d) {
|
|
2216
|
+
Ae.add(/* @__PURE__ */ H.jsx(zr, { children: o }, String(Date.now())), d);
|
|
2219
2217
|
}
|
|
2220
|
-
n.Add =
|
|
2221
|
-
function
|
|
2218
|
+
n.Add = S;
|
|
2219
|
+
function P(o) {
|
|
2222
2220
|
Ae.x(o);
|
|
2223
2221
|
}
|
|
2224
|
-
n.Close =
|
|
2222
|
+
n.Close = P;
|
|
2225
2223
|
function x(o) {
|
|
2226
2224
|
if (o.target.classList[0] !== "modal") return;
|
|
2227
2225
|
let d = o.target.children[0];
|
|
@@ -2231,13 +2229,13 @@ var Ct;
|
|
|
2231
2229
|
}
|
|
2232
2230
|
n.Shake = x;
|
|
2233
2231
|
function s(o, d) {
|
|
2234
|
-
const k = (
|
|
2232
|
+
const k = (C) => {
|
|
2235
2233
|
n.Add(
|
|
2236
|
-
/* @__PURE__ */ H.jsx(o, { ...
|
|
2234
|
+
/* @__PURE__ */ H.jsx(o, { ...C }, (/* @__PURE__ */ new Date()).getTime())
|
|
2237
2235
|
);
|
|
2238
2236
|
};
|
|
2239
2237
|
return {
|
|
2240
|
-
Icon: (
|
|
2238
|
+
Icon: (C) => /* @__PURE__ */ H.jsx("i", { onClick: () => k(C), children: d && /* @__PURE__ */ H.jsx(d, {}) }),
|
|
2241
2239
|
Open: k
|
|
2242
2240
|
};
|
|
2243
2241
|
}
|
|
@@ -2246,45 +2244,45 @@ var Ct;
|
|
|
2246
2244
|
title: o,
|
|
2247
2245
|
children: d,
|
|
2248
2246
|
button: k,
|
|
2249
|
-
tabs:
|
|
2247
|
+
tabs: C,
|
|
2250
2248
|
size: N = "m",
|
|
2251
2249
|
className: A = "",
|
|
2252
2250
|
shake: $ = !0,
|
|
2253
2251
|
menu: O
|
|
2254
2252
|
}) {
|
|
2255
|
-
const [
|
|
2253
|
+
const [p, I] = W.useState(!0), q = W.useRef(), G = (K) => {
|
|
2256
2254
|
if (k) {
|
|
2257
2255
|
if (k.onClick)
|
|
2258
|
-
return
|
|
2256
|
+
return K(!1), k.onClick({ setOpen: I });
|
|
2259
2257
|
if (k.onSend)
|
|
2260
2258
|
return k.onSend({
|
|
2261
2259
|
setOpen: I,
|
|
2262
|
-
disabled:
|
|
2260
|
+
disabled: K
|
|
2263
2261
|
});
|
|
2264
2262
|
}
|
|
2265
2263
|
}, L = () => {
|
|
2266
2264
|
if (!$) return I(!1);
|
|
2267
|
-
|
|
2268
|
-
|
|
2265
|
+
q.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2266
|
+
q.current.setAttribute("shake", !1);
|
|
2269
2267
|
}, 1e3);
|
|
2270
2268
|
};
|
|
2271
|
-
return
|
|
2269
|
+
return p ? /* @__PURE__ */ H.jsxs("div", { className: `${_e.modal}`, children: [
|
|
2272
2270
|
/* @__PURE__ */ H.jsx("div", { className: _e.o, onClick: L }),
|
|
2273
2271
|
/* @__PURE__ */ H.jsxs(
|
|
2274
2272
|
"div",
|
|
2275
2273
|
{
|
|
2276
|
-
className: [_e.w, _e[`s${N}`], A].filter((
|
|
2277
|
-
ref:
|
|
2274
|
+
className: [_e.w, _e[`s${N}`], A].filter((K) => K != "").join(" "),
|
|
2275
|
+
ref: q,
|
|
2278
2276
|
children: [
|
|
2279
2277
|
/* @__PURE__ */ H.jsxs("div", { className: _e.h, children: [
|
|
2280
2278
|
/* @__PURE__ */ H.jsx("div", { className: _e.t, children: o }),
|
|
2281
2279
|
/* @__PURE__ */ H.jsxs("div", { className: _e.m, children: [
|
|
2282
|
-
|
|
2280
|
+
C && /* @__PURE__ */ H.jsx("nav", { children: C.map((K, E) => /* @__PURE__ */ H.jsx(
|
|
2283
2281
|
"span",
|
|
2284
2282
|
{
|
|
2285
|
-
onClick:
|
|
2286
|
-
className:
|
|
2287
|
-
children:
|
|
2283
|
+
onClick: K.onClick,
|
|
2284
|
+
className: K.active ? "active" : "",
|
|
2285
|
+
children: K.name
|
|
2288
2286
|
},
|
|
2289
2287
|
E
|
|
2290
2288
|
)) }),
|
|
@@ -2312,7 +2310,7 @@ var Ct;
|
|
|
2312
2310
|
] }),
|
|
2313
2311
|
d,
|
|
2314
2312
|
k && /* @__PURE__ */ H.jsx("div", { className: _e.b, children: /* @__PURE__ */ H.jsx(
|
|
2315
|
-
|
|
2313
|
+
Gr,
|
|
2316
2314
|
{
|
|
2317
2315
|
label: k.label,
|
|
2318
2316
|
onSend: G,
|
|
@@ -2327,62 +2325,62 @@ var Ct;
|
|
|
2327
2325
|
}
|
|
2328
2326
|
n.Main = g;
|
|
2329
2327
|
})(Ct || (Ct = {}));
|
|
2330
|
-
const
|
|
2331
|
-
function
|
|
2328
|
+
const Hr = (n, i = ",") => (n = n !== void 0 && n !== "" ? n.split(i) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
2329
|
+
function ka({
|
|
2332
2330
|
value: n,
|
|
2333
2331
|
onValue: i,
|
|
2334
2332
|
name: c,
|
|
2335
2333
|
placeholder: u = "",
|
|
2336
2334
|
separator: v = ",",
|
|
2337
|
-
title:
|
|
2338
|
-
error:
|
|
2335
|
+
title: S,
|
|
2336
|
+
error: P,
|
|
2339
2337
|
hide: x = !1,
|
|
2340
2338
|
edit: s = !0,
|
|
2341
2339
|
active: g = !0,
|
|
2342
2340
|
outFormat: o = "object",
|
|
2343
2341
|
after: d = "",
|
|
2344
2342
|
modal: k,
|
|
2345
|
-
options:
|
|
2343
|
+
options: C,
|
|
2346
2344
|
className: N
|
|
2347
2345
|
}) {
|
|
2348
|
-
const [A, $] = W.useState(
|
|
2346
|
+
const [A, $] = W.useState(Hr(n, v)), O = (p) => {
|
|
2349
2347
|
if (!(s && g) || !k) return;
|
|
2350
2348
|
let I = k.split(".");
|
|
2351
2349
|
Ct.Open(I[0], I[1], {
|
|
2352
|
-
callback: (
|
|
2350
|
+
callback: (q) => {
|
|
2353
2351
|
if (i)
|
|
2354
2352
|
switch (o) {
|
|
2355
2353
|
case "array":
|
|
2356
|
-
i({ value: Object.keys(
|
|
2354
|
+
i({ value: Object.keys(q), name: c });
|
|
2357
2355
|
break;
|
|
2358
2356
|
case "string":
|
|
2359
2357
|
i({
|
|
2360
|
-
value: Object.keys(
|
|
2358
|
+
value: Object.keys(q).filter((G) => q[G]).join(v),
|
|
2361
2359
|
name: c
|
|
2362
2360
|
});
|
|
2363
2361
|
break;
|
|
2364
2362
|
default:
|
|
2365
|
-
i({ value:
|
|
2363
|
+
i({ value: q, name: c });
|
|
2366
2364
|
}
|
|
2367
2365
|
$(
|
|
2368
2366
|
Object.fromEntries(
|
|
2369
|
-
Object.entries(
|
|
2367
|
+
Object.entries(q).filter(
|
|
2370
2368
|
([G, L]) => L !== !1
|
|
2371
2369
|
)
|
|
2372
2370
|
)
|
|
2373
2371
|
);
|
|
2374
2372
|
},
|
|
2375
2373
|
onValue: i,
|
|
2376
|
-
options:
|
|
2374
|
+
options: C,
|
|
2377
2375
|
name: c,
|
|
2378
2376
|
value: A
|
|
2379
2377
|
});
|
|
2380
2378
|
};
|
|
2381
2379
|
return x ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
|
|
2382
|
-
|
|
2380
|
+
pt,
|
|
2383
2381
|
{
|
|
2384
2382
|
type: "group",
|
|
2385
|
-
title:
|
|
2383
|
+
title: S,
|
|
2386
2384
|
element_blok: { className: [N] },
|
|
2387
2385
|
element_input: {
|
|
2388
2386
|
className: [V.g],
|
|
@@ -2390,98 +2388,98 @@ function ba({
|
|
|
2390
2388
|
onClick: O
|
|
2391
2389
|
}
|
|
2392
2390
|
},
|
|
2393
|
-
children: Object.keys(A).map((
|
|
2391
|
+
children: Object.keys(A).map((p) => {
|
|
2394
2392
|
var I;
|
|
2395
|
-
return /* @__PURE__ */ y.jsx("div", { children: (I =
|
|
2393
|
+
return /* @__PURE__ */ y.jsx("div", { children: (I = C[p]) == null ? void 0 : I.label }, p);
|
|
2396
2394
|
})
|
|
2397
2395
|
}
|
|
2398
2396
|
);
|
|
2399
2397
|
}
|
|
2400
|
-
const
|
|
2401
|
-
o:
|
|
2402
|
-
l:
|
|
2403
|
-
f:
|
|
2398
|
+
const Jr = "_o_1wehm_12", Zr = "_l_1wehm_22", Vr = "_f_1wehm_81", Nt = {
|
|
2399
|
+
o: Jr,
|
|
2400
|
+
l: Zr,
|
|
2401
|
+
f: Vr
|
|
2404
2402
|
};
|
|
2405
|
-
function
|
|
2403
|
+
function wa({
|
|
2406
2404
|
title: n,
|
|
2407
2405
|
error: i,
|
|
2408
2406
|
edit: c = !0,
|
|
2409
2407
|
active: u = !0,
|
|
2410
2408
|
hide: v,
|
|
2411
|
-
value:
|
|
2412
|
-
onValue:
|
|
2409
|
+
value: S = 0,
|
|
2410
|
+
onValue: P,
|
|
2413
2411
|
options: x,
|
|
2414
2412
|
placeholder: s = "",
|
|
2415
2413
|
className: g,
|
|
2416
2414
|
isIcon: o = !0,
|
|
2417
2415
|
name: d,
|
|
2418
2416
|
after: k,
|
|
2419
|
-
view:
|
|
2417
|
+
view: C,
|
|
2420
2418
|
order: N,
|
|
2421
2419
|
isReload: A = !1
|
|
2422
2420
|
}) {
|
|
2423
2421
|
var R, h;
|
|
2424
|
-
const $ = W.useRef(null), [O,
|
|
2422
|
+
const $ = W.useRef(null), [O, p] = W.useState(S), [I, q] = W.useState(x), [G, L] = W.useState(!1);
|
|
2425
2423
|
W.useEffect(() => {
|
|
2426
|
-
|
|
2427
|
-
}, [
|
|
2424
|
+
p(S), q(x);
|
|
2425
|
+
}, [S, x]), v = !!(v && (S === 0 || ((R = I == null ? void 0 : I[S]) == null ? void 0 : R.n) === void 0)) && !(c && u);
|
|
2428
2426
|
let E = (b) => {
|
|
2429
|
-
|
|
2430
|
-
},
|
|
2427
|
+
p(b), P && P({ value: b, name: d, reload: A });
|
|
2428
|
+
}, D = (b) => {
|
|
2431
2429
|
Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
|
|
2432
2430
|
}, U = {};
|
|
2433
|
-
return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ y.jsxs(
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
/* @__PURE__ */ y.jsx("div", { ...U, children: (h = I == null ? void 0 : I[O]) == null ? void 0 : h.n })
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
);
|
|
2431
|
+
return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
2432
|
+
/* @__PURE__ */ y.jsx(
|
|
2433
|
+
pt,
|
|
2434
|
+
{
|
|
2435
|
+
type: "select",
|
|
2436
|
+
title: n,
|
|
2437
|
+
element_blok: { className: [g] },
|
|
2438
|
+
element_input: {
|
|
2439
|
+
className: [Nt.f],
|
|
2440
|
+
props: { onClick: D }
|
|
2441
|
+
},
|
|
2442
|
+
ref: $,
|
|
2443
|
+
children: /* @__PURE__ */ y.jsx("div", { ...U, children: (h = I == null ? void 0 : I[O]) == null ? void 0 : h.n })
|
|
2444
|
+
}
|
|
2445
|
+
),
|
|
2446
|
+
G && Mt(
|
|
2447
|
+
/* @__PURE__ */ y.jsx(
|
|
2448
|
+
Xr,
|
|
2449
|
+
{
|
|
2450
|
+
parent: $.position,
|
|
2451
|
+
onValue: E,
|
|
2452
|
+
view: C,
|
|
2453
|
+
className: g,
|
|
2454
|
+
options: I,
|
|
2455
|
+
order: N,
|
|
2456
|
+
setOpen: L
|
|
2457
|
+
},
|
|
2458
|
+
(/* @__PURE__ */ new Date()).getTime()
|
|
2459
|
+
),
|
|
2460
|
+
document.body
|
|
2461
|
+
)
|
|
2462
|
+
] });
|
|
2465
2463
|
}
|
|
2466
|
-
const
|
|
2464
|
+
const Xr = ({
|
|
2467
2465
|
onValue: n,
|
|
2468
2466
|
parent: i,
|
|
2469
2467
|
className: c,
|
|
2470
2468
|
options: u,
|
|
2471
2469
|
order: v,
|
|
2472
|
-
setOpen:
|
|
2470
|
+
setOpen: S
|
|
2473
2471
|
}) => {
|
|
2474
|
-
let
|
|
2475
|
-
|
|
2472
|
+
let P = () => {
|
|
2473
|
+
S(!1);
|
|
2476
2474
|
}, x = (o) => {
|
|
2477
|
-
|
|
2475
|
+
S(!1), n(o);
|
|
2478
2476
|
}, s = window.innerHeight - i.y + i.height < 320 ? i.y - 312 : i.y + 33, g = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
|
|
2479
2477
|
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
2480
2478
|
/* @__PURE__ */ y.jsx(
|
|
2481
2479
|
"div",
|
|
2482
2480
|
{
|
|
2483
2481
|
className: Nt.o,
|
|
2484
|
-
onClick:
|
|
2482
|
+
onClick: P
|
|
2485
2483
|
},
|
|
2486
2484
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2487
2485
|
),
|
|
@@ -2494,11 +2492,11 @@ const Vr = ({
|
|
|
2494
2492
|
left: g + "px",
|
|
2495
2493
|
width: i.width
|
|
2496
2494
|
},
|
|
2497
|
-
children: /* @__PURE__ */ y.jsx(
|
|
2495
|
+
children: /* @__PURE__ */ y.jsx(Qr, { order: v, options: u, link: x })
|
|
2498
2496
|
}
|
|
2499
2497
|
)
|
|
2500
2498
|
] });
|
|
2501
|
-
},
|
|
2499
|
+
}, Qr = ({ order: n, options: i, link: c }) => n ? /* @__PURE__ */ y.jsx("ul", { children: n.map(
|
|
2502
2500
|
(u, v) => i[u].s !== 0 ? /* @__PURE__ */ y.jsx(
|
|
2503
2501
|
"li",
|
|
2504
2502
|
{
|
|
@@ -2521,30 +2519,30 @@ const Vr = ({
|
|
|
2521
2519
|
v
|
|
2522
2520
|
) : ""
|
|
2523
2521
|
) });
|
|
2524
|
-
function
|
|
2522
|
+
function ja({
|
|
2525
2523
|
value: n,
|
|
2526
2524
|
onValue: i,
|
|
2527
2525
|
name: c,
|
|
2528
2526
|
placeholder: u = "",
|
|
2529
2527
|
title: v,
|
|
2530
|
-
error:
|
|
2531
|
-
hide:
|
|
2528
|
+
error: S,
|
|
2529
|
+
hide: P = !1,
|
|
2532
2530
|
edit: x = !0,
|
|
2533
2531
|
show: s = !0,
|
|
2534
2532
|
active: g = !0,
|
|
2535
2533
|
after: o = "",
|
|
2536
2534
|
view: d,
|
|
2537
2535
|
modal: k,
|
|
2538
|
-
module:
|
|
2536
|
+
module: C,
|
|
2539
2537
|
options: N,
|
|
2540
2538
|
className: A
|
|
2541
2539
|
}) {
|
|
2542
|
-
let [$, O] = W.useState(n),
|
|
2540
|
+
let [$, O] = W.useState(n), p = (G) => {
|
|
2543
2541
|
if (!(x && g) || !k) return;
|
|
2544
2542
|
let L = k.split(".");
|
|
2545
2543
|
Ct.Open(L[0], L[1], {
|
|
2546
|
-
callback: (
|
|
2547
|
-
i && i({ value:
|
|
2544
|
+
callback: (K) => {
|
|
2545
|
+
i && i({ value: K, name: c }), O(K);
|
|
2548
2546
|
},
|
|
2549
2547
|
onValue: i,
|
|
2550
2548
|
options: N,
|
|
@@ -2554,42 +2552,42 @@ function wa({
|
|
|
2554
2552
|
};
|
|
2555
2553
|
const I = {};
|
|
2556
2554
|
I.field = "input", A && (I.className = A);
|
|
2557
|
-
const
|
|
2558
|
-
return u && (
|
|
2555
|
+
const q = {};
|
|
2556
|
+
return u && (q.placeholder = u), P ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs("dl", { ...I, children: [
|
|
2559
2557
|
v && /* @__PURE__ */ y.jsx("dt", { children: v }),
|
|
2560
2558
|
/* @__PURE__ */ y.jsx(
|
|
2561
2559
|
"dd",
|
|
2562
2560
|
{
|
|
2563
|
-
...
|
|
2564
|
-
onClick:
|
|
2561
|
+
...q,
|
|
2562
|
+
onClick: p,
|
|
2565
2563
|
edit: (x && g) + "",
|
|
2566
2564
|
"data-after": o,
|
|
2567
2565
|
children: $
|
|
2568
2566
|
}
|
|
2569
2567
|
),
|
|
2570
|
-
|
|
2568
|
+
S && /* @__PURE__ */ y.jsx("em", { children: S })
|
|
2571
2569
|
] });
|
|
2572
2570
|
}
|
|
2573
|
-
function
|
|
2571
|
+
function xa({
|
|
2574
2572
|
value: n,
|
|
2575
2573
|
onValue: i,
|
|
2576
2574
|
onSave: c,
|
|
2577
2575
|
name: u,
|
|
2578
2576
|
placeholder: v = "",
|
|
2579
|
-
className:
|
|
2580
|
-
title:
|
|
2577
|
+
className: S,
|
|
2578
|
+
title: P,
|
|
2581
2579
|
error: x,
|
|
2582
2580
|
edit: s = !0,
|
|
2583
2581
|
active: g = !0,
|
|
2584
2582
|
reload: o = !1,
|
|
2585
2583
|
native: d = !1,
|
|
2586
2584
|
isShow: k = !1,
|
|
2587
|
-
maxLength:
|
|
2585
|
+
maxLength: C,
|
|
2588
2586
|
eyes: N = [],
|
|
2589
2587
|
after: A = ""
|
|
2590
2588
|
}) {
|
|
2591
2589
|
const [$, O] = W.useState(k);
|
|
2592
|
-
let
|
|
2590
|
+
let p = (E) => {
|
|
2593
2591
|
i && i({
|
|
2594
2592
|
value: E.target.textContent,
|
|
2595
2593
|
name: u,
|
|
@@ -2597,37 +2595,37 @@ function ja({
|
|
|
2597
2595
|
});
|
|
2598
2596
|
}, I = (E) => {
|
|
2599
2597
|
E.key === "Enter" && E.preventDefault();
|
|
2600
|
-
},
|
|
2601
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
2602
|
-
if (
|
|
2598
|
+
}, q = (E) => {
|
|
2599
|
+
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
2600
|
+
if (C) {
|
|
2603
2601
|
let U = E.target.textContent.length;
|
|
2604
|
-
if (U >=
|
|
2605
|
-
|
|
2602
|
+
if (U >= C) return;
|
|
2603
|
+
C -= U, D = D.slice(0, C);
|
|
2606
2604
|
}
|
|
2607
2605
|
window.document.execCommand(
|
|
2608
2606
|
"insertText",
|
|
2609
2607
|
!1,
|
|
2610
|
-
|
|
2608
|
+
D.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2611
2609
|
);
|
|
2612
|
-
}).catch((
|
|
2610
|
+
}).catch((D) => {
|
|
2613
2611
|
});
|
|
2614
2612
|
}, G = (E) => {
|
|
2615
2613
|
te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
|
|
2616
2614
|
};
|
|
2617
2615
|
const L = {};
|
|
2618
|
-
L.field = "password", $ && (L.show = ""),
|
|
2619
|
-
const
|
|
2620
|
-
return v && (
|
|
2621
|
-
|
|
2616
|
+
L.field = "password", $ && (L.show = ""), S && (L.className = S);
|
|
2617
|
+
const K = {};
|
|
2618
|
+
return v && (K.placeholder = v), d ? "" : /* @__PURE__ */ y.jsxs("dl", { ...L, children: [
|
|
2619
|
+
P ? /* @__PURE__ */ y.jsx("dt", { children: P }) : "",
|
|
2622
2620
|
/* @__PURE__ */ y.jsx(
|
|
2623
2621
|
"dd",
|
|
2624
2622
|
{
|
|
2625
|
-
onPaste:
|
|
2626
|
-
onInput:
|
|
2623
|
+
onPaste: q,
|
|
2624
|
+
onInput: p,
|
|
2627
2625
|
onKeyDown: I,
|
|
2628
2626
|
onBlur: G,
|
|
2629
2627
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
2630
|
-
...
|
|
2628
|
+
...K,
|
|
2631
2629
|
suppressContentEditableWarning: !0,
|
|
2632
2630
|
children: n
|
|
2633
2631
|
}
|
|
@@ -2637,39 +2635,39 @@ function ja({
|
|
|
2637
2635
|
x ? /* @__PURE__ */ y.jsx("em", { children: x }) : ""
|
|
2638
2636
|
] });
|
|
2639
2637
|
}
|
|
2640
|
-
function
|
|
2638
|
+
function Ca({
|
|
2641
2639
|
onValue: n,
|
|
2642
2640
|
onSave: i,
|
|
2643
2641
|
active: c,
|
|
2644
2642
|
max: u,
|
|
2645
2643
|
edit: v,
|
|
2646
|
-
title:
|
|
2647
|
-
error:
|
|
2644
|
+
title: S,
|
|
2645
|
+
error: P,
|
|
2648
2646
|
show: x,
|
|
2649
2647
|
hide: s,
|
|
2650
2648
|
value: g,
|
|
2651
2649
|
placeholder: o,
|
|
2652
2650
|
className: d,
|
|
2653
2651
|
maxLength: k,
|
|
2654
|
-
name:
|
|
2652
|
+
name: C,
|
|
2655
2653
|
after: N = "",
|
|
2656
2654
|
before: A = "",
|
|
2657
2655
|
view: $
|
|
2658
2656
|
}) {
|
|
2659
2657
|
v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (g === "" || g === void 0)) && !(v && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2660
|
-
let
|
|
2661
|
-
n == null || n({ value:
|
|
2662
|
-
},
|
|
2663
|
-
if (!(
|
|
2664
|
-
if (
|
|
2665
|
-
|
|
2666
|
-
}
|
|
2667
|
-
}, G = (
|
|
2668
|
-
if (
|
|
2669
|
-
}, L = (
|
|
2670
|
-
|
|
2658
|
+
let p = !1, I = (D) => {
|
|
2659
|
+
n == null || n({ value: D.target.textContent, name: C });
|
|
2660
|
+
}, q = (D) => {
|
|
2661
|
+
if (!(p && D.which === 86)) {
|
|
2662
|
+
if (D.which === 17 || D.which === 91) return p = !0;
|
|
2663
|
+
D.key !== "Backspace" && (D.target.textContent.length === u && D.preventDefault(), D.key === "Enter" && D.preventDefault(), isNaN(D.key) && D.preventDefault());
|
|
2664
|
+
}
|
|
2665
|
+
}, G = (D) => {
|
|
2666
|
+
if (D.which === 17 || D.which === 91) return p = !1;
|
|
2667
|
+
}, L = (D) => {
|
|
2668
|
+
D.preventDefault(), navigator.clipboard.readText().then((U) => {
|
|
2671
2669
|
if (U = U.replace(/(?!^\+|\d)./g, ""), k) {
|
|
2672
|
-
let R =
|
|
2670
|
+
let R = D.target.textContent.length;
|
|
2673
2671
|
if (R >= k) return;
|
|
2674
2672
|
k -= R, U = U.slice(0, k);
|
|
2675
2673
|
}
|
|
@@ -2677,17 +2675,17 @@ function xa({
|
|
|
2677
2675
|
}).catch((U) => {
|
|
2678
2676
|
});
|
|
2679
2677
|
};
|
|
2680
|
-
const
|
|
2681
|
-
te.Blur(
|
|
2678
|
+
const K = (D) => {
|
|
2679
|
+
te.Blur(D), i == null || i({ value: D.target.textContent, name: C });
|
|
2682
2680
|
};
|
|
2683
2681
|
let E = {};
|
|
2684
2682
|
return v && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(
|
|
2685
2683
|
"dl",
|
|
2686
2684
|
{
|
|
2687
2685
|
"data-field": "input",
|
|
2688
|
-
className: [V.l, d].filter((
|
|
2686
|
+
className: [V.l, d].filter((D) => D !== void 0).join(" "),
|
|
2689
2687
|
children: [
|
|
2690
|
-
|
|
2688
|
+
S ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: S }) : "",
|
|
2691
2689
|
A,
|
|
2692
2690
|
/* @__PURE__ */ y.jsx(
|
|
2693
2691
|
"dd",
|
|
@@ -2695,8 +2693,8 @@ function xa({
|
|
|
2695
2693
|
className: [V.f, V.w].join(" "),
|
|
2696
2694
|
onPaste: L,
|
|
2697
2695
|
onInput: I,
|
|
2698
|
-
onBlur:
|
|
2699
|
-
onKeyDown:
|
|
2696
|
+
onBlur: K,
|
|
2697
|
+
onKeyDown: q,
|
|
2700
2698
|
onKeyUp: G,
|
|
2701
2699
|
suppressContentEditableWarning: !0,
|
|
2702
2700
|
...E,
|
|
@@ -2704,12 +2702,12 @@ function xa({
|
|
|
2704
2702
|
}
|
|
2705
2703
|
),
|
|
2706
2704
|
N,
|
|
2707
|
-
|
|
2705
|
+
P && /* @__PURE__ */ y.jsx("em", { children: P })
|
|
2708
2706
|
]
|
|
2709
2707
|
}
|
|
2710
2708
|
);
|
|
2711
2709
|
}
|
|
2712
|
-
var Ft = { exports: {} },
|
|
2710
|
+
var Ft = { exports: {} }, ht = {};
|
|
2713
2711
|
/**
|
|
2714
2712
|
* @license React
|
|
2715
2713
|
* react-jsx-runtime.production.min.js
|
|
@@ -2719,19 +2717,19 @@ var Ft = { exports: {} }, gt = {};
|
|
|
2719
2717
|
* This source code is licensed under the MIT license found in the
|
|
2720
2718
|
* LICENSE file in the root directory of this source tree.
|
|
2721
2719
|
*/
|
|
2722
|
-
var
|
|
2723
|
-
function
|
|
2724
|
-
if (
|
|
2725
|
-
|
|
2726
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
2727
|
-
function
|
|
2728
|
-
var o, d = {}, k = null,
|
|
2729
|
-
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (
|
|
2730
|
-
for (o in s) u.call(s, o) && !
|
|
2720
|
+
var Kt;
|
|
2721
|
+
function ea() {
|
|
2722
|
+
if (Kt) return ht;
|
|
2723
|
+
Kt = 1;
|
|
2724
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2725
|
+
function P(x, s, g) {
|
|
2726
|
+
var o, d = {}, k = null, C = null;
|
|
2727
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
2728
|
+
for (o in s) u.call(s, o) && !S.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2731
2729
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2732
|
-
return { $$typeof: i, type: x, key: k, ref:
|
|
2730
|
+
return { $$typeof: i, type: x, key: k, ref: C, props: d, _owner: v.current };
|
|
2733
2731
|
}
|
|
2734
|
-
return
|
|
2732
|
+
return ht.Fragment = c, ht.jsx = P, ht.jsxs = P, ht;
|
|
2735
2733
|
}
|
|
2736
2734
|
var xt = {};
|
|
2737
2735
|
/**
|
|
@@ -2744,9 +2742,9 @@ var xt = {};
|
|
|
2744
2742
|
* LICENSE file in the root directory of this source tree.
|
|
2745
2743
|
*/
|
|
2746
2744
|
var Yt;
|
|
2747
|
-
function
|
|
2745
|
+
function ta() {
|
|
2748
2746
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2749
|
-
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"),
|
|
2747
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = 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"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
2750
2748
|
function $(e) {
|
|
2751
2749
|
if (e === null || typeof e != "object")
|
|
2752
2750
|
return null;
|
|
@@ -2754,7 +2752,7 @@ function ea() {
|
|
|
2754
2752
|
return typeof t == "function" ? t : null;
|
|
2755
2753
|
}
|
|
2756
2754
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2757
|
-
function
|
|
2755
|
+
function p(e) {
|
|
2758
2756
|
{
|
|
2759
2757
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
2760
2758
|
r[a - 1] = arguments[a];
|
|
@@ -2765,20 +2763,20 @@ function ea() {
|
|
|
2765
2763
|
{
|
|
2766
2764
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
2767
2765
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
2768
|
-
var
|
|
2766
|
+
var m = r.map(function(l) {
|
|
2769
2767
|
return String(l);
|
|
2770
2768
|
});
|
|
2771
|
-
|
|
2769
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
2772
2770
|
}
|
|
2773
2771
|
}
|
|
2774
|
-
var
|
|
2775
|
-
|
|
2772
|
+
var q = !1, G = !1, L = !1, K = !1, E = !1, D;
|
|
2773
|
+
D = Symbol.for("react.module.reference");
|
|
2776
2774
|
function U(e) {
|
|
2777
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
2775
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || E || e === v || e === g || e === o || K || e === C || q || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2778
2776
|
// types supported by any Flight configuration anywhere since
|
|
2779
2777
|
// we don't know which Flight build this will end up being used
|
|
2780
2778
|
// with.
|
|
2781
|
-
e.$$typeof ===
|
|
2779
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
2782
2780
|
}
|
|
2783
2781
|
function R(e, t, r) {
|
|
2784
2782
|
var a = e.displayName;
|
|
@@ -2793,7 +2791,7 @@ function ea() {
|
|
|
2793
2791
|
function b(e) {
|
|
2794
2792
|
if (e == null)
|
|
2795
2793
|
return null;
|
|
2796
|
-
if (typeof e.tag == "number" &&
|
|
2794
|
+
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
2797
2795
|
return e.displayName || e.name || null;
|
|
2798
2796
|
if (typeof e == "string")
|
|
2799
2797
|
return e;
|
|
@@ -2802,7 +2800,7 @@ function ea() {
|
|
|
2802
2800
|
return "Fragment";
|
|
2803
2801
|
case c:
|
|
2804
2802
|
return "Portal";
|
|
2805
|
-
case
|
|
2803
|
+
case S:
|
|
2806
2804
|
return "Profiler";
|
|
2807
2805
|
case v:
|
|
2808
2806
|
return "StrictMode";
|
|
@@ -2816,7 +2814,7 @@ function ea() {
|
|
|
2816
2814
|
case x:
|
|
2817
2815
|
var t = e;
|
|
2818
2816
|
return h(t) + ".Consumer";
|
|
2819
|
-
case
|
|
2817
|
+
case P:
|
|
2820
2818
|
var r = e;
|
|
2821
2819
|
return h(r._context) + ".Provider";
|
|
2822
2820
|
case s:
|
|
@@ -2825,9 +2823,9 @@ function ea() {
|
|
|
2825
2823
|
var a = e.displayName || null;
|
|
2826
2824
|
return a !== null ? a : b(e.type) || "Memo";
|
|
2827
2825
|
case k: {
|
|
2828
|
-
var f = e,
|
|
2826
|
+
var f = e, m = f._payload, l = f._init;
|
|
2829
2827
|
try {
|
|
2830
|
-
return b(l(
|
|
2828
|
+
return b(l(m));
|
|
2831
2829
|
} catch {
|
|
2832
2830
|
return null;
|
|
2833
2831
|
}
|
|
@@ -2894,7 +2892,7 @@ function ea() {
|
|
|
2894
2892
|
})
|
|
2895
2893
|
});
|
|
2896
2894
|
}
|
|
2897
|
-
Y < 0 &&
|
|
2895
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2898
2896
|
}
|
|
2899
2897
|
}
|
|
2900
2898
|
var le = O.ReactCurrentDispatcher, ce;
|
|
@@ -2928,8 +2926,8 @@ function ea() {
|
|
|
2928
2926
|
ue = !0;
|
|
2929
2927
|
var f = Error.prepareStackTrace;
|
|
2930
2928
|
Error.prepareStackTrace = void 0;
|
|
2931
|
-
var
|
|
2932
|
-
|
|
2929
|
+
var m;
|
|
2930
|
+
m = le.current, le.current = null, Le();
|
|
2933
2931
|
try {
|
|
2934
2932
|
if (t) {
|
|
2935
2933
|
var l = function() {
|
|
@@ -2965,14 +2963,14 @@ function ea() {
|
|
|
2965
2963
|
} catch (F) {
|
|
2966
2964
|
if (F && a && typeof F.stack == "string") {
|
|
2967
2965
|
for (var _ = F.stack.split(`
|
|
2968
|
-
`),
|
|
2969
|
-
`), w = _.length - 1, j =
|
|
2966
|
+
`), T = a.stack.split(`
|
|
2967
|
+
`), w = _.length - 1, j = T.length - 1; w >= 1 && j >= 0 && _[w] !== T[j]; )
|
|
2970
2968
|
j--;
|
|
2971
2969
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
2972
|
-
if (_[w] !==
|
|
2970
|
+
if (_[w] !== T[j]) {
|
|
2973
2971
|
if (w !== 1 || j !== 1)
|
|
2974
2972
|
do
|
|
2975
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
2973
|
+
if (w--, j--, j < 0 || _[w] !== T[j]) {
|
|
2976
2974
|
var B = `
|
|
2977
2975
|
` + _[w].replace(" at new ", " at ");
|
|
2978
2976
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -2982,15 +2980,15 @@ function ea() {
|
|
|
2982
2980
|
}
|
|
2983
2981
|
}
|
|
2984
2982
|
} finally {
|
|
2985
|
-
ue = !1, le.current =
|
|
2983
|
+
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
2986
2984
|
}
|
|
2987
2985
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
2988
2986
|
return typeof e == "function" && ae.set(e, z), z;
|
|
2989
2987
|
}
|
|
2990
|
-
function
|
|
2988
|
+
function qe(e, t, r) {
|
|
2991
2989
|
return je(e, !1);
|
|
2992
2990
|
}
|
|
2993
|
-
function
|
|
2991
|
+
function Ke(e) {
|
|
2994
2992
|
var t = e.prototype;
|
|
2995
2993
|
return !!(t && t.isReactComponent);
|
|
2996
2994
|
}
|
|
@@ -2998,7 +2996,7 @@ function ea() {
|
|
|
2998
2996
|
if (e == null)
|
|
2999
2997
|
return "";
|
|
3000
2998
|
if (typeof e == "function")
|
|
3001
|
-
return je(e,
|
|
2999
|
+
return je(e, Ke(e));
|
|
3002
3000
|
if (typeof e == "string")
|
|
3003
3001
|
return re(e);
|
|
3004
3002
|
switch (e) {
|
|
@@ -3010,13 +3008,13 @@ function ea() {
|
|
|
3010
3008
|
if (typeof e == "object")
|
|
3011
3009
|
switch (e.$$typeof) {
|
|
3012
3010
|
case s:
|
|
3013
|
-
return
|
|
3011
|
+
return qe(e.render);
|
|
3014
3012
|
case d:
|
|
3015
3013
|
return ne(e.type, t, r);
|
|
3016
3014
|
case k: {
|
|
3017
|
-
var a = e, f = a._payload,
|
|
3015
|
+
var a = e, f = a._payload, m = a._init;
|
|
3018
3016
|
try {
|
|
3019
|
-
return ne(
|
|
3017
|
+
return ne(m(f), t, r);
|
|
3020
3018
|
} catch {
|
|
3021
3019
|
}
|
|
3022
3020
|
}
|
|
@@ -3033,20 +3031,20 @@ function ea() {
|
|
|
3033
3031
|
}
|
|
3034
3032
|
function Ye(e, t, r, a, f) {
|
|
3035
3033
|
{
|
|
3036
|
-
var
|
|
3034
|
+
var m = Function.call.bind(X);
|
|
3037
3035
|
for (var l in e)
|
|
3038
|
-
if (
|
|
3036
|
+
if (m(e, l)) {
|
|
3039
3037
|
var _ = void 0;
|
|
3040
3038
|
try {
|
|
3041
3039
|
if (typeof e[l] != "function") {
|
|
3042
|
-
var
|
|
3043
|
-
throw
|
|
3040
|
+
var T = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3041
|
+
throw T.name = "Invariant Violation", T;
|
|
3044
3042
|
}
|
|
3045
3043
|
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3046
3044
|
} catch (w) {
|
|
3047
3045
|
_ = w;
|
|
3048
3046
|
}
|
|
3049
|
-
_ && !(_ instanceof Error) && (oe(f),
|
|
3047
|
+
_ && !(_ instanceof Error) && (oe(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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
3050
3048
|
}
|
|
3051
3049
|
}
|
|
3052
3050
|
}
|
|
@@ -3072,7 +3070,7 @@ function ea() {
|
|
|
3072
3070
|
}
|
|
3073
3071
|
function Re(e) {
|
|
3074
3072
|
if (He(e))
|
|
3075
|
-
return
|
|
3073
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
3076
3074
|
}
|
|
3077
3075
|
var Ee = O.ReactCurrentOwner, Je = {
|
|
3078
3076
|
key: !0,
|
|
@@ -3102,7 +3100,7 @@ function ea() {
|
|
|
3102
3100
|
function Qe(e, t) {
|
|
3103
3101
|
{
|
|
3104
3102
|
var r = function() {
|
|
3105
|
-
Oe || (Oe = !0,
|
|
3103
|
+
Oe || (Oe = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
3106
3104
|
};
|
|
3107
3105
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
3108
3106
|
get: r,
|
|
@@ -3113,7 +3111,7 @@ function ea() {
|
|
|
3113
3111
|
function et(e, t) {
|
|
3114
3112
|
{
|
|
3115
3113
|
var r = function() {
|
|
3116
|
-
Te || (Te = !0,
|
|
3114
|
+
Te || (Te = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
3117
3115
|
};
|
|
3118
3116
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
3119
3117
|
get: r,
|
|
@@ -3121,7 +3119,7 @@ function ea() {
|
|
|
3121
3119
|
});
|
|
3122
3120
|
}
|
|
3123
3121
|
}
|
|
3124
|
-
var tt = function(e, t, r, a, f,
|
|
3122
|
+
var tt = function(e, t, r, a, f, m, l) {
|
|
3125
3123
|
var _ = {
|
|
3126
3124
|
// This tag allows us to uniquely identify this as a React Element
|
|
3127
3125
|
$$typeof: i,
|
|
@@ -3131,7 +3129,7 @@ function ea() {
|
|
|
3131
3129
|
ref: r,
|
|
3132
3130
|
props: l,
|
|
3133
3131
|
// Record the component responsible for creating this element.
|
|
3134
|
-
_owner:
|
|
3132
|
+
_owner: m
|
|
3135
3133
|
};
|
|
3136
3134
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
3137
3135
|
configurable: !1,
|
|
@@ -3152,20 +3150,20 @@ function ea() {
|
|
|
3152
3150
|
};
|
|
3153
3151
|
function rt(e, t, r, a, f) {
|
|
3154
3152
|
{
|
|
3155
|
-
var
|
|
3156
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
3157
|
-
for (
|
|
3158
|
-
X.call(t,
|
|
3153
|
+
var m, l = {}, _ = null, T = null;
|
|
3154
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (T = t.ref, Xe(t));
|
|
3155
|
+
for (m in t)
|
|
3156
|
+
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
3159
3157
|
if (e && e.defaultProps) {
|
|
3160
3158
|
var w = e.defaultProps;
|
|
3161
|
-
for (
|
|
3162
|
-
l[
|
|
3159
|
+
for (m in w)
|
|
3160
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
3163
3161
|
}
|
|
3164
|
-
if (_ ||
|
|
3162
|
+
if (_ || T) {
|
|
3165
3163
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3166
|
-
_ && Qe(l, j),
|
|
3164
|
+
_ && Qe(l, j), T && et(l, j);
|
|
3167
3165
|
}
|
|
3168
|
-
return tt(e, _,
|
|
3166
|
+
return tt(e, _, T, f, a, Ee.current, l);
|
|
3169
3167
|
}
|
|
3170
3168
|
}
|
|
3171
3169
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
@@ -3176,9 +3174,9 @@ function ea() {
|
|
|
3176
3174
|
} else
|
|
3177
3175
|
De.setExtraStackFrame(null);
|
|
3178
3176
|
}
|
|
3179
|
-
var
|
|
3180
|
-
|
|
3181
|
-
function
|
|
3177
|
+
var pe;
|
|
3178
|
+
pe = !1;
|
|
3179
|
+
function me(e) {
|
|
3182
3180
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
3183
3181
|
}
|
|
3184
3182
|
function Pe() {
|
|
@@ -3219,7 +3217,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3219
3217
|
return;
|
|
3220
3218
|
Ne[r] = !0;
|
|
3221
3219
|
var a = "";
|
|
3222
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e),
|
|
3220
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
3223
3221
|
}
|
|
3224
3222
|
}
|
|
3225
3223
|
function Ie(e, t) {
|
|
@@ -3229,15 +3227,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3229
3227
|
if (de(e))
|
|
3230
3228
|
for (var r = 0; r < e.length; r++) {
|
|
3231
3229
|
var a = e[r];
|
|
3232
|
-
|
|
3230
|
+
me(a) && Fe(a, t);
|
|
3233
3231
|
}
|
|
3234
|
-
else if (
|
|
3232
|
+
else if (me(e))
|
|
3235
3233
|
e._store && (e._store.validated = !0);
|
|
3236
3234
|
else if (e) {
|
|
3237
3235
|
var f = $(e);
|
|
3238
3236
|
if (typeof f == "function" && f !== e.entries)
|
|
3239
|
-
for (var
|
|
3240
|
-
|
|
3237
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
3238
|
+
me(l.value) && Fe(l.value, t);
|
|
3241
3239
|
}
|
|
3242
3240
|
}
|
|
3243
3241
|
}
|
|
@@ -3258,12 +3256,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3258
3256
|
if (r) {
|
|
3259
3257
|
var a = b(t);
|
|
3260
3258
|
Ye(r, e.props, "prop", a, e);
|
|
3261
|
-
} else if (t.PropTypes !== void 0 && !
|
|
3262
|
-
|
|
3259
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3260
|
+
pe = !0;
|
|
3263
3261
|
var f = b(t);
|
|
3264
|
-
|
|
3262
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
3265
3263
|
}
|
|
3266
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
3264
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3267
3265
|
}
|
|
3268
3266
|
}
|
|
3269
3267
|
function it(e) {
|
|
@@ -3271,26 +3269,26 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3271
3269
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3272
3270
|
var a = t[r];
|
|
3273
3271
|
if (a !== "children" && a !== "key") {
|
|
3274
|
-
J(e),
|
|
3272
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
3275
3273
|
break;
|
|
3276
3274
|
}
|
|
3277
3275
|
}
|
|
3278
|
-
e.ref !== null && (J(e),
|
|
3276
|
+
e.ref !== null && (J(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
3279
3277
|
}
|
|
3280
3278
|
}
|
|
3281
3279
|
var Me = {};
|
|
3282
|
-
function $e(e, t, r, a, f,
|
|
3280
|
+
function $e(e, t, r, a, f, m) {
|
|
3283
3281
|
{
|
|
3284
3282
|
var l = U(e);
|
|
3285
3283
|
if (!l) {
|
|
3286
3284
|
var _ = "";
|
|
3287
3285
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3288
|
-
var
|
|
3289
|
-
|
|
3286
|
+
var T = at();
|
|
3287
|
+
T ? _ += T : _ += Pe();
|
|
3290
3288
|
var w;
|
|
3291
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e,
|
|
3289
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
3292
3290
|
}
|
|
3293
|
-
var j = rt(e, t, r, f,
|
|
3291
|
+
var j = rt(e, t, r, f, m);
|
|
3294
3292
|
if (j == null)
|
|
3295
3293
|
return j;
|
|
3296
3294
|
if (l) {
|
|
@@ -3302,7 +3300,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3302
3300
|
Ie(B[Z], e);
|
|
3303
3301
|
Object.freeze && Object.freeze(B);
|
|
3304
3302
|
} else
|
|
3305
|
-
|
|
3303
|
+
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.");
|
|
3306
3304
|
else
|
|
3307
3305
|
Ie(B, e);
|
|
3308
3306
|
}
|
|
@@ -3312,7 +3310,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3312
3310
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3313
3311
|
if (!Me[z + ye]) {
|
|
3314
3312
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
3315
|
-
|
|
3313
|
+
p(`A props object containing a "key" prop is being spread into JSX:
|
|
3316
3314
|
let props = %s;
|
|
3317
3315
|
<%s {...props} />
|
|
3318
3316
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -3333,19 +3331,19 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3333
3331
|
xt.Fragment = u, xt.jsx = lt, xt.jsxs = ct;
|
|
3334
3332
|
}()), xt;
|
|
3335
3333
|
}
|
|
3336
|
-
process.env.NODE_ENV === "production" ? Ft.exports =
|
|
3334
|
+
process.env.NODE_ENV === "production" ? Ft.exports = ea() : Ft.exports = ta();
|
|
3337
3335
|
var ee = Ft.exports;
|
|
3338
|
-
const
|
|
3339
|
-
notice:
|
|
3340
|
-
error:
|
|
3341
|
-
success:
|
|
3342
|
-
remark:
|
|
3343
|
-
copy:
|
|
3336
|
+
const ra = "_notice_13j98_2", aa = "_error_13j98_11", na = "_success_13j98_14", oa = "_remark_13j98_17", ia = "_copy_13j98_20", Ht = {
|
|
3337
|
+
notice: ra,
|
|
3338
|
+
error: aa,
|
|
3339
|
+
success: na,
|
|
3340
|
+
remark: oa,
|
|
3341
|
+
copy: ia,
|
|
3344
3342
|
"show-notice": "_show-notice_13j98_1",
|
|
3345
3343
|
"hide-notice": "_hide-notice_13j98_1"
|
|
3346
3344
|
};
|
|
3347
3345
|
let Be = {};
|
|
3348
|
-
function
|
|
3346
|
+
function bt({ data: n }) {
|
|
3349
3347
|
let [i, c] = W.useState("show");
|
|
3350
3348
|
W.useEffect(() => {
|
|
3351
3349
|
n.hide && (setTimeout(function() {
|
|
@@ -3378,7 +3376,7 @@ function ht({ data: n }) {
|
|
|
3378
3376
|
/* @__PURE__ */ ee.jsx("p", { children: n.text })
|
|
3379
3377
|
] });
|
|
3380
3378
|
}
|
|
3381
|
-
function
|
|
3379
|
+
function _a({ data: n }) {
|
|
3382
3380
|
let [i, c] = W.useState("show");
|
|
3383
3381
|
return W.useEffect(() => {
|
|
3384
3382
|
n.hide && (setTimeout(function() {
|
|
@@ -3435,7 +3433,7 @@ var St;
|
|
|
3435
3433
|
function c(s, g = !0) {
|
|
3436
3434
|
let o = Date.now(), d = { key: o, text: s, hide: g, type: "error" };
|
|
3437
3435
|
Be.set({
|
|
3438
|
-
item: /* @__PURE__ */ ee.jsx(
|
|
3436
|
+
item: /* @__PURE__ */ ee.jsx(bt, { data: d }, o),
|
|
3439
3437
|
key: o
|
|
3440
3438
|
});
|
|
3441
3439
|
}
|
|
@@ -3443,63 +3441,63 @@ var St;
|
|
|
3443
3441
|
function u(s, g = !0) {
|
|
3444
3442
|
let o = Date.now(), d = { key: o, text: s, hide: g, type: "success" };
|
|
3445
3443
|
Be.set({
|
|
3446
|
-
item: /* @__PURE__ */ ee.jsx(
|
|
3444
|
+
item: /* @__PURE__ */ ee.jsx(bt, { data: d }, o),
|
|
3447
3445
|
key: o
|
|
3448
3446
|
});
|
|
3449
3447
|
}
|
|
3450
3448
|
n.Success = u;
|
|
3451
3449
|
function v(s, g = !0) {
|
|
3452
3450
|
let o = Date.now(), d = { key: o, hide: g, text: s };
|
|
3453
|
-
Be.set({ item: /* @__PURE__ */ ee.jsx(
|
|
3451
|
+
Be.set({ item: /* @__PURE__ */ ee.jsx(_a, { data: d }, o), key: o });
|
|
3454
3452
|
}
|
|
3455
3453
|
n.Custom = v;
|
|
3456
|
-
function
|
|
3454
|
+
function S(s) {
|
|
3457
3455
|
let g = Date.now(), o = { key: g, hide: !0, ...s };
|
|
3458
3456
|
Be.set({
|
|
3459
|
-
item: /* @__PURE__ */ ee.jsx(
|
|
3457
|
+
item: /* @__PURE__ */ ee.jsx(bt, { data: o }, g),
|
|
3460
3458
|
key: g
|
|
3461
3459
|
});
|
|
3462
3460
|
}
|
|
3463
|
-
n.Send =
|
|
3464
|
-
function
|
|
3461
|
+
n.Send = S;
|
|
3462
|
+
function P(s, g = !0) {
|
|
3465
3463
|
let o = Date.now(), d = { key: o, text: s, hide: g, type: "remark" };
|
|
3466
3464
|
Be.set({
|
|
3467
|
-
item: /* @__PURE__ */ ee.jsx(
|
|
3465
|
+
item: /* @__PURE__ */ ee.jsx(bt, { data: d }, o),
|
|
3468
3466
|
key: o
|
|
3469
3467
|
});
|
|
3470
3468
|
}
|
|
3471
|
-
n.Remark =
|
|
3469
|
+
n.Remark = P;
|
|
3472
3470
|
function x(s, g = !0) {
|
|
3473
3471
|
let o = Date.now(), d = { key: o, text: s, hide: g, type: "copy" };
|
|
3474
3472
|
Be.set({
|
|
3475
|
-
item: /* @__PURE__ */ ee.jsx(
|
|
3473
|
+
item: /* @__PURE__ */ ee.jsx(bt, { data: d }, o),
|
|
3476
3474
|
key: o
|
|
3477
3475
|
});
|
|
3478
3476
|
}
|
|
3479
3477
|
n.Copy = x;
|
|
3480
3478
|
})(St || (St = {}));
|
|
3481
|
-
function
|
|
3479
|
+
function Sa({
|
|
3482
3480
|
value: n = "",
|
|
3483
3481
|
onValue: i,
|
|
3484
3482
|
onSave: c,
|
|
3485
3483
|
name: u,
|
|
3486
3484
|
format: v = "+_(___) ___-__-__",
|
|
3487
|
-
placeholder:
|
|
3488
|
-
title:
|
|
3485
|
+
placeholder: S = "",
|
|
3486
|
+
title: P = "",
|
|
3489
3487
|
error: x = "",
|
|
3490
3488
|
hide: s = !1,
|
|
3491
3489
|
edit: g = !0,
|
|
3492
3490
|
active: o = !0,
|
|
3493
3491
|
after: d = "",
|
|
3494
3492
|
show: k = !0,
|
|
3495
|
-
view:
|
|
3493
|
+
view: C,
|
|
3496
3494
|
className: N = ""
|
|
3497
3495
|
}) {
|
|
3498
3496
|
g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(g && o), W.useRef(null);
|
|
3499
|
-
let $ = v, O = !0,
|
|
3497
|
+
let $ = v, O = !0, p = 0, I = (h, b) => {
|
|
3500
3498
|
let M = document.createRange(), Y = window.getSelection();
|
|
3501
3499
|
M.setStart(b.childNodes[0], h), M.collapse(!0), Y.removeAllRanges(), Y.addRange(M), b.focus();
|
|
3502
|
-
},
|
|
3500
|
+
}, q = (h) => {
|
|
3503
3501
|
h.preventDefault(), navigator.clipboard.readText().then((b) => {
|
|
3504
3502
|
window.document.execCommand("insertText", !1, b);
|
|
3505
3503
|
}).catch((b) => {
|
|
@@ -3509,7 +3507,7 @@ function Ca({
|
|
|
3509
3507
|
Y === "" && (O = !0);
|
|
3510
3508
|
let Q = Y.split(""), ie = "";
|
|
3511
3509
|
Q.forEach((ge) => {
|
|
3512
|
-
O && (ie += ge, O && (
|
|
3510
|
+
O && (ie += ge, O && (p = ("" + ie).length, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""), p > ("" + ie).length && (O = !0, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
|
|
3513
3511
|
});
|
|
3514
3512
|
let se = $.replace(/\D/g, "");
|
|
3515
3513
|
return se.length >= Y.length && (Y = se), { q: $.replace(/[_\d]/g, function() {
|
|
@@ -3523,10 +3521,10 @@ function Ca({
|
|
|
3523
3521
|
function(b) {
|
|
3524
3522
|
}
|
|
3525
3523
|
);
|
|
3526
|
-
},
|
|
3524
|
+
}, K = G(n), E = (h) => {
|
|
3527
3525
|
let b = G(h.target.textContent);
|
|
3528
3526
|
h.target.textContent = b.q, b.i = b.q.lastIndexOf(b.v.substr(-1)), b.i < b.q.length && b.q !== $ ? b.i++ : b.i = b.q.indexOf("_"), I(b.i, h.target), i && i({ value: b.q.replace(/\D/g, ""), name: u });
|
|
3529
|
-
},
|
|
3527
|
+
}, D = (h) => {
|
|
3530
3528
|
h.key === "Enter" && h.preventDefault();
|
|
3531
3529
|
};
|
|
3532
3530
|
const U = (h) => {
|
|
@@ -3536,100 +3534,96 @@ function Ca({
|
|
|
3536
3534
|
});
|
|
3537
3535
|
};
|
|
3538
3536
|
let R = {};
|
|
3539
|
-
return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false",
|
|
3540
|
-
|
|
3537
|
+
return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", S && (R.placeholder = S), d && (R.after = d), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
|
|
3538
|
+
pt,
|
|
3541
3539
|
{
|
|
3542
3540
|
type: "input",
|
|
3543
|
-
title:
|
|
3541
|
+
title: P,
|
|
3544
3542
|
element_blok: { className: [N] },
|
|
3545
3543
|
element_input: { className: [V.w] },
|
|
3546
3544
|
children: /* @__PURE__ */ y.jsx(
|
|
3547
3545
|
"div",
|
|
3548
3546
|
{
|
|
3549
|
-
onPaste:
|
|
3547
|
+
onPaste: q,
|
|
3550
3548
|
onInput: E,
|
|
3551
|
-
onKeyDown:
|
|
3549
|
+
onKeyDown: D,
|
|
3552
3550
|
onContextMenu: L,
|
|
3553
3551
|
onBlur: U,
|
|
3554
3552
|
suppressContentEditableWarning: !0,
|
|
3555
3553
|
...R,
|
|
3556
|
-
children:
|
|
3554
|
+
children: K.q
|
|
3557
3555
|
}
|
|
3558
3556
|
)
|
|
3559
3557
|
}
|
|
3560
3558
|
);
|
|
3561
3559
|
}
|
|
3562
|
-
function
|
|
3560
|
+
function Ra({
|
|
3563
3561
|
id: n,
|
|
3564
3562
|
value: i,
|
|
3565
3563
|
onValue: c,
|
|
3566
3564
|
name: u,
|
|
3567
3565
|
placeholder: v = "",
|
|
3568
|
-
title:
|
|
3569
|
-
error:
|
|
3566
|
+
title: S = "",
|
|
3567
|
+
error: P = "",
|
|
3570
3568
|
hide: x = !1,
|
|
3571
3569
|
edit: s = !0,
|
|
3572
3570
|
active: g = !0,
|
|
3573
3571
|
after: o = "",
|
|
3574
3572
|
show: d = !0,
|
|
3575
3573
|
maxLength: k,
|
|
3576
|
-
view:
|
|
3574
|
+
view: C,
|
|
3577
3575
|
onSave: N,
|
|
3578
3576
|
className: A = "",
|
|
3579
3577
|
isCopy: $ = !0
|
|
3580
3578
|
}) {
|
|
3581
|
-
let [O,
|
|
3579
|
+
let [O, p] = W.useState(!1);
|
|
3582
3580
|
O = s ? !0 : O;
|
|
3583
3581
|
let I = (E) => {
|
|
3584
3582
|
c == null || c({ value: E.target.innerText, name: u });
|
|
3585
|
-
},
|
|
3583
|
+
}, q = (E) => {
|
|
3586
3584
|
k && E.target.textContent.trim().length >= k && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
3587
3585
|
}, G = (E) => {
|
|
3588
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
3586
|
+
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
3589
3587
|
if (k) {
|
|
3590
3588
|
let U = E.target.textContent.length;
|
|
3591
3589
|
if (U >= k) return;
|
|
3592
|
-
k -= U,
|
|
3590
|
+
k -= U, D = D.slice(0, k);
|
|
3593
3591
|
}
|
|
3594
3592
|
window.document.execCommand(
|
|
3595
3593
|
"insertText",
|
|
3596
3594
|
!1,
|
|
3597
|
-
|
|
3595
|
+
D.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3598
3596
|
);
|
|
3599
|
-
}).catch((
|
|
3597
|
+
}).catch((D) => {
|
|
3600
3598
|
});
|
|
3601
3599
|
};
|
|
3602
3600
|
if (x) return /* @__PURE__ */ y.jsx(y.Fragment, {});
|
|
3603
3601
|
if (!(s && g) && !d) return "";
|
|
3604
3602
|
const L = {};
|
|
3605
3603
|
v && (L.placeholder = v), s && g && (L.edit = ""), O && (L.open = "");
|
|
3606
|
-
const
|
|
3604
|
+
const K = (E) => {
|
|
3607
3605
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
3608
3606
|
};
|
|
3609
|
-
return /* @__PURE__ */ y.
|
|
3610
|
-
|
|
3607
|
+
return /* @__PURE__ */ y.jsx(
|
|
3608
|
+
pt,
|
|
3611
3609
|
{
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
),
|
|
3630
|
-
o,
|
|
3631
|
-
T ? /* @__PURE__ */ y.jsx("em", { children: T }) : ""
|
|
3632
|
-
]
|
|
3610
|
+
type: "note",
|
|
3611
|
+
title: S,
|
|
3612
|
+
element_blok: { className: [A] },
|
|
3613
|
+
element_input: { className: [V.n] },
|
|
3614
|
+
children: /* @__PURE__ */ y.jsx(
|
|
3615
|
+
"div",
|
|
3616
|
+
{
|
|
3617
|
+
onPaste: G,
|
|
3618
|
+
onInput: I,
|
|
3619
|
+
onBlur: K,
|
|
3620
|
+
onKeyDown: q,
|
|
3621
|
+
contentEditable: s && g ? te.ContentEditable : "false",
|
|
3622
|
+
suppressContentEditableWarning: !0,
|
|
3623
|
+
...L,
|
|
3624
|
+
children: i
|
|
3625
|
+
}
|
|
3626
|
+
)
|
|
3633
3627
|
}
|
|
3634
3628
|
);
|
|
3635
3629
|
}
|
|
@@ -5015,30 +5009,30 @@ const Ot = {
|
|
|
5015
5009
|
mask: "+1939(___) ___-__-__"
|
|
5016
5010
|
}
|
|
5017
5011
|
};
|
|
5018
|
-
function
|
|
5012
|
+
function Ea({
|
|
5019
5013
|
value: n,
|
|
5020
5014
|
onValue: i,
|
|
5021
5015
|
onSave: c,
|
|
5022
5016
|
name: u,
|
|
5023
5017
|
placeholder: v = "",
|
|
5024
|
-
title:
|
|
5025
|
-
error:
|
|
5018
|
+
title: S = "",
|
|
5019
|
+
error: P = "",
|
|
5026
5020
|
hide: x = !1,
|
|
5027
5021
|
edit: s = !0,
|
|
5028
5022
|
active: g = !0,
|
|
5029
5023
|
after: o = "",
|
|
5030
5024
|
show: d = !0,
|
|
5031
5025
|
view: k,
|
|
5032
|
-
className:
|
|
5026
|
+
className: C = ""
|
|
5033
5027
|
}) {
|
|
5034
5028
|
s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (n === "" || n === void 0)) && !(s && g), W.useRef(null);
|
|
5035
|
-
let A = "+_(___) ___-__-__", $ = !0, O = 0,
|
|
5029
|
+
let A = "+_(___) ___-__-__", $ = !0, O = 0, p = (R, h) => {
|
|
5036
5030
|
let b = document.createRange(), M = window.getSelection();
|
|
5037
5031
|
b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
|
|
5038
5032
|
}, I = (R) => {
|
|
5039
5033
|
let h = G(R.target.textContent);
|
|
5040
|
-
R.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== A ? h.i++ : h.i = h.q.indexOf("_"),
|
|
5041
|
-
},
|
|
5034
|
+
R.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== A ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, R.target), i && i({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5035
|
+
}, q = (R) => {
|
|
5042
5036
|
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5043
5037
|
window.document.execCommand("insertText", !1, h);
|
|
5044
5038
|
}).catch((h) => {
|
|
@@ -5068,10 +5062,10 @@ function Ra({
|
|
|
5068
5062
|
function(h) {
|
|
5069
5063
|
}
|
|
5070
5064
|
);
|
|
5071
|
-
},
|
|
5065
|
+
}, K = G(n), E = (R) => {
|
|
5072
5066
|
R.key === "Enter" && R.preventDefault();
|
|
5073
5067
|
};
|
|
5074
|
-
const
|
|
5068
|
+
const D = (R) => {
|
|
5075
5069
|
te.Blur(R), c && c({
|
|
5076
5070
|
value: R.target.textContent.replace(/\D/g, ""),
|
|
5077
5071
|
name: u
|
|
@@ -5079,40 +5073,40 @@ function Ra({
|
|
|
5079
5073
|
};
|
|
5080
5074
|
let U = {};
|
|
5081
5075
|
return s && g ? (U.edit = "true", U.contentEditable = te.ContentEditable) : U.contentEditable = "false", v && (U.placeholder = v), x ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
|
|
5082
|
-
|
|
5076
|
+
pt,
|
|
5083
5077
|
{
|
|
5084
5078
|
type: "input",
|
|
5085
|
-
title:
|
|
5086
|
-
element_blok: { className:
|
|
5079
|
+
title: S,
|
|
5080
|
+
element_blok: { className: C },
|
|
5087
5081
|
element_input: { className: [V.w] },
|
|
5088
5082
|
children: /* @__PURE__ */ y.jsx(
|
|
5089
5083
|
"div",
|
|
5090
5084
|
{
|
|
5091
|
-
onPaste:
|
|
5085
|
+
onPaste: q,
|
|
5092
5086
|
onInput: I,
|
|
5093
5087
|
onKeyDown: E,
|
|
5094
5088
|
onContextMenu: L,
|
|
5095
|
-
onBlur:
|
|
5089
|
+
onBlur: D,
|
|
5096
5090
|
suppressContentEditableWarning: !0,
|
|
5097
5091
|
...U,
|
|
5098
|
-
children:
|
|
5092
|
+
children: K.q
|
|
5099
5093
|
}
|
|
5100
5094
|
)
|
|
5101
5095
|
}
|
|
5102
5096
|
);
|
|
5103
5097
|
}
|
|
5104
|
-
const
|
|
5105
|
-
o:
|
|
5106
|
-
c:
|
|
5098
|
+
const sa = "_o_1c9e1_1", la = "_c_1c9e1_11", Rt = {
|
|
5099
|
+
o: sa,
|
|
5100
|
+
c: la
|
|
5107
5101
|
};
|
|
5108
|
-
function
|
|
5102
|
+
function Oa({
|
|
5109
5103
|
title: n,
|
|
5110
5104
|
error: i,
|
|
5111
5105
|
edit: c = !0,
|
|
5112
5106
|
active: u = !0,
|
|
5113
5107
|
className: v,
|
|
5114
|
-
placeholder:
|
|
5115
|
-
max:
|
|
5108
|
+
placeholder: S,
|
|
5109
|
+
max: P,
|
|
5116
5110
|
min: x,
|
|
5117
5111
|
onValue: s,
|
|
5118
5112
|
icon: g,
|
|
@@ -5120,22 +5114,22 @@ function Ea({
|
|
|
5120
5114
|
value: d,
|
|
5121
5115
|
after: k
|
|
5122
5116
|
}) {
|
|
5123
|
-
let [
|
|
5117
|
+
let [C, N] = W.useState(
|
|
5124
5118
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5125
5119
|
);
|
|
5126
5120
|
const A = W.useRef(null), [$, O] = W.useState(!1);
|
|
5127
|
-
let
|
|
5121
|
+
let p = !c && u;
|
|
5128
5122
|
W.useEffect(() => {
|
|
5129
5123
|
N(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5130
5124
|
}, [d]);
|
|
5131
5125
|
let I = (L) => {
|
|
5132
5126
|
N(L), s == null || s({ value: L, name: o });
|
|
5133
|
-
},
|
|
5134
|
-
const
|
|
5135
|
-
A.position = { x: E, b:
|
|
5127
|
+
}, q = (L) => {
|
|
5128
|
+
const K = L.target.getBoundingClientRect(), E = K.left, D = K.bottom, U = K.top;
|
|
5129
|
+
A.position = { x: E, b: D, y: U }, O(!0);
|
|
5136
5130
|
};
|
|
5137
5131
|
const G = {};
|
|
5138
|
-
return
|
|
5132
|
+
return S && (G.placeholder = S), p ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5139
5133
|
g ? g() : /* @__PURE__ */ y.jsxs(
|
|
5140
5134
|
"dl",
|
|
5141
5135
|
{
|
|
@@ -5146,12 +5140,12 @@ function Ea({
|
|
|
5146
5140
|
/* @__PURE__ */ y.jsxs(
|
|
5147
5141
|
"dd",
|
|
5148
5142
|
{
|
|
5149
|
-
onClick:
|
|
5143
|
+
onClick: q,
|
|
5150
5144
|
className: [V.f, V.w].join(" "),
|
|
5151
5145
|
...G,
|
|
5152
5146
|
"data-edit": (c && u) + "",
|
|
5153
5147
|
children: [
|
|
5154
|
-
|
|
5148
|
+
da(C, "dd.mm.yyyy"),
|
|
5155
5149
|
k
|
|
5156
5150
|
]
|
|
5157
5151
|
}
|
|
@@ -5162,12 +5156,12 @@ function Ea({
|
|
|
5162
5156
|
),
|
|
5163
5157
|
$ && Mt(
|
|
5164
5158
|
/* @__PURE__ */ y.jsx(
|
|
5165
|
-
|
|
5159
|
+
ca,
|
|
5166
5160
|
{
|
|
5167
5161
|
position: A.position,
|
|
5168
5162
|
onValue: I,
|
|
5169
|
-
date:
|
|
5170
|
-
max:
|
|
5163
|
+
date: C,
|
|
5164
|
+
max: P,
|
|
5171
5165
|
min: x,
|
|
5172
5166
|
onOpen: O,
|
|
5173
5167
|
className: v
|
|
@@ -5178,14 +5172,14 @@ function Ea({
|
|
|
5178
5172
|
)
|
|
5179
5173
|
] });
|
|
5180
5174
|
}
|
|
5181
|
-
const
|
|
5175
|
+
const ca = ({
|
|
5182
5176
|
date: n,
|
|
5183
5177
|
onValue: i,
|
|
5184
5178
|
position: c,
|
|
5185
5179
|
max: u,
|
|
5186
5180
|
min: v,
|
|
5187
|
-
className:
|
|
5188
|
-
onOpen:
|
|
5181
|
+
className: S,
|
|
5182
|
+
onOpen: P
|
|
5189
5183
|
}) => {
|
|
5190
5184
|
let x = /* @__PURE__ */ new Date(), s = new Date(n), g = {
|
|
5191
5185
|
y: parseInt(x.getFullYear()),
|
|
@@ -5195,28 +5189,28 @@ const la = ({
|
|
|
5195
5189
|
y: parseInt(s.getFullYear()),
|
|
5196
5190
|
d: parseInt(s.getDate()),
|
|
5197
5191
|
m: parseInt(s.getMonth()) + 1
|
|
5198
|
-
}, [d, k] = W.useState({ y: o.y, m: o.m }),
|
|
5192
|
+
}, [d, k] = W.useState({ y: o.y, m: o.m }), C = (h) => {
|
|
5199
5193
|
let b = h.getDay();
|
|
5200
5194
|
return b === 0 && (b = 7), b - 1;
|
|
5201
5195
|
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, $ = new Date(d.y, A), O = [];
|
|
5202
|
-
for (let h = 0; h <
|
|
5196
|
+
for (let h = 0; h < C($); h++)
|
|
5203
5197
|
O.push(0);
|
|
5204
5198
|
for (; $.getMonth() === A; )
|
|
5205
5199
|
O.push($.getDate()), $.setDate($.getDate() + 1);
|
|
5206
|
-
let
|
|
5207
|
-
|
|
5200
|
+
let p = () => {
|
|
5201
|
+
P(!1);
|
|
5208
5202
|
}, I = () => {
|
|
5209
5203
|
L(d.m + 1, d.y);
|
|
5210
|
-
},
|
|
5204
|
+
}, q = () => {
|
|
5211
5205
|
L(d.m - 1, d.y);
|
|
5212
5206
|
}, G = (h) => {
|
|
5213
5207
|
i(
|
|
5214
5208
|
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5215
|
-
),
|
|
5209
|
+
), p();
|
|
5216
5210
|
}, L = (h, b) => {
|
|
5217
5211
|
b = h > 12 ? b + 1 : h < 1 ? b - 1 : b, h = h > 12 ? 1 : h < 1 ? 12 : h, k({ y: b, m: h });
|
|
5218
5212
|
};
|
|
5219
|
-
const
|
|
5213
|
+
const K = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {}, E = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, D = (h) => {
|
|
5220
5214
|
let b = !0;
|
|
5221
5215
|
if (u) {
|
|
5222
5216
|
let M = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
@@ -5230,18 +5224,18 @@ const la = ({
|
|
|
5230
5224
|
};
|
|
5231
5225
|
let U = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, R = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5232
5226
|
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5233
|
-
/* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: () =>
|
|
5227
|
+
/* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: () => p() }),
|
|
5234
5228
|
/* @__PURE__ */ y.jsxs(
|
|
5235
5229
|
"div",
|
|
5236
5230
|
{
|
|
5237
5231
|
className: [
|
|
5238
5232
|
Rt.c,
|
|
5239
|
-
|
|
5233
|
+
S && S + "-backdrop"
|
|
5240
5234
|
].join(" "),
|
|
5241
5235
|
style: { top: U + "px", left: R + "px" },
|
|
5242
5236
|
children: [
|
|
5243
5237
|
/* @__PURE__ */ y.jsxs("s", { children: [
|
|
5244
|
-
/* @__PURE__ */ y.jsx("i", { onClick:
|
|
5238
|
+
/* @__PURE__ */ y.jsx("i", { onClick: q, children: /* @__PURE__ */ y.jsx(
|
|
5245
5239
|
"svg",
|
|
5246
5240
|
{
|
|
5247
5241
|
width: "16",
|
|
@@ -5253,7 +5247,7 @@ const la = ({
|
|
|
5253
5247
|
}
|
|
5254
5248
|
) }),
|
|
5255
5249
|
/* @__PURE__ */ y.jsxs("h2", { children: [
|
|
5256
|
-
|
|
5250
|
+
ua(d.m).name,
|
|
5257
5251
|
" ",
|
|
5258
5252
|
d.y
|
|
5259
5253
|
] }),
|
|
@@ -5271,22 +5265,22 @@ const la = ({
|
|
|
5271
5265
|
] }),
|
|
5272
5266
|
/* @__PURE__ */ y.jsxs("div", { "grid-calendar": "", children: [
|
|
5273
5267
|
N.map((h, b) => /* @__PURE__ */ y.jsx("p", { children: h }, "v" + b)),
|
|
5274
|
-
O.map((h, b) => /* @__PURE__ */ y.jsx("span", { children: h !== 0 &&
|
|
5268
|
+
O.map((h, b) => /* @__PURE__ */ y.jsx("span", { children: h !== 0 && D(h) ? /* @__PURE__ */ y.jsx(
|
|
5275
5269
|
"b",
|
|
5276
5270
|
{
|
|
5277
|
-
...
|
|
5271
|
+
...K(h),
|
|
5278
5272
|
...E(h),
|
|
5279
5273
|
onClick: () => G(h),
|
|
5280
5274
|
children: h
|
|
5281
5275
|
}
|
|
5282
|
-
) : /* @__PURE__ */ y.jsx("p", { ...
|
|
5276
|
+
) : /* @__PURE__ */ y.jsx("p", { ...K(h), ...E(h), children: h !== 0 ? h : "" }) }, b))
|
|
5283
5277
|
] })
|
|
5284
5278
|
]
|
|
5285
5279
|
}
|
|
5286
5280
|
)
|
|
5287
5281
|
] });
|
|
5288
5282
|
};
|
|
5289
|
-
function
|
|
5283
|
+
function ua(n) {
|
|
5290
5284
|
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
5291
5285
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5292
5286
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
@@ -5307,7 +5301,7 @@ function Gt(n, i) {
|
|
|
5307
5301
|
for (; c.length < n; ) c = "0" + c;
|
|
5308
5302
|
return c;
|
|
5309
5303
|
}
|
|
5310
|
-
function
|
|
5304
|
+
function da(n, i) {
|
|
5311
5305
|
i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5312
5306
|
let c = {
|
|
5313
5307
|
yyyy: n.getFullYear(),
|
|
@@ -5324,29 +5318,29 @@ function ua(n, i) {
|
|
|
5324
5318
|
i = i.replace(u, c[u]);
|
|
5325
5319
|
return i;
|
|
5326
5320
|
}
|
|
5327
|
-
function
|
|
5321
|
+
function Ta({
|
|
5328
5322
|
value: n,
|
|
5329
5323
|
onValue: i,
|
|
5330
5324
|
name: c,
|
|
5331
5325
|
error: u,
|
|
5332
5326
|
icon: v,
|
|
5333
|
-
edit:
|
|
5334
|
-
active:
|
|
5327
|
+
edit: S = !0,
|
|
5328
|
+
active: P = !0,
|
|
5335
5329
|
title: x,
|
|
5336
5330
|
placeholder: s = "",
|
|
5337
5331
|
className: g
|
|
5338
5332
|
}) {
|
|
5339
5333
|
let [o, d] = W.useState(n);
|
|
5340
|
-
const k = W.useRef(null), [
|
|
5334
|
+
const k = W.useRef(null), [C, N] = W.useState(!1);
|
|
5341
5335
|
W.useEffect(() => {
|
|
5342
5336
|
d(n);
|
|
5343
5337
|
}, [n]);
|
|
5344
|
-
let A = (
|
|
5345
|
-
d(
|
|
5346
|
-
}, $ = (
|
|
5347
|
-
if (!
|
|
5348
|
-
const I =
|
|
5349
|
-
k.position = { x:
|
|
5338
|
+
let A = (p) => {
|
|
5339
|
+
d(p), i && i({ value: p, name: c });
|
|
5340
|
+
}, $ = (p) => {
|
|
5341
|
+
if (!S || !P) return;
|
|
5342
|
+
const I = p.target.getBoundingClientRect(), q = I.left, G = I.top;
|
|
5343
|
+
k.position = { x: q, y: G }, N(!0);
|
|
5350
5344
|
};
|
|
5351
5345
|
const O = {};
|
|
5352
5346
|
return s && (O.placeholder = s), v || /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
@@ -5354,7 +5348,7 @@ function Oa({
|
|
|
5354
5348
|
"dl",
|
|
5355
5349
|
{
|
|
5356
5350
|
"data-field": "date",
|
|
5357
|
-
className: [V.l, g].filter((
|
|
5351
|
+
className: [V.l, g].filter((p) => p !== void 0).join(" "),
|
|
5358
5352
|
children: [
|
|
5359
5353
|
x ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: x }) : "",
|
|
5360
5354
|
/* @__PURE__ */ y.jsx(
|
|
@@ -5363,16 +5357,16 @@ function Oa({
|
|
|
5363
5357
|
onClick: $,
|
|
5364
5358
|
...O,
|
|
5365
5359
|
className: [V.f, V.w].join(" "),
|
|
5366
|
-
children:
|
|
5360
|
+
children: pa(o, "mm.yyyy")
|
|
5367
5361
|
}
|
|
5368
5362
|
),
|
|
5369
5363
|
u && /* @__PURE__ */ y.jsx("em", { children: u })
|
|
5370
5364
|
]
|
|
5371
5365
|
}
|
|
5372
5366
|
),
|
|
5373
|
-
|
|
5367
|
+
C && Mt(
|
|
5374
5368
|
/* @__PURE__ */ y.jsx(
|
|
5375
|
-
|
|
5369
|
+
fa,
|
|
5376
5370
|
{
|
|
5377
5371
|
position: k.position,
|
|
5378
5372
|
onValue: A,
|
|
@@ -5385,22 +5379,22 @@ function Oa({
|
|
|
5385
5379
|
)
|
|
5386
5380
|
] });
|
|
5387
5381
|
}
|
|
5388
|
-
const
|
|
5389
|
-
let v = /* @__PURE__ */ new Date(),
|
|
5382
|
+
const fa = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
5383
|
+
let v = /* @__PURE__ */ new Date(), S = new Date(i), P = {
|
|
5390
5384
|
y: parseInt(v.getFullYear()),
|
|
5391
5385
|
m: parseInt(v.getMonth()) + 1
|
|
5392
5386
|
}, x = {
|
|
5393
|
-
y: parseInt(
|
|
5394
|
-
m: parseInt(
|
|
5387
|
+
y: parseInt(S.getFullYear()),
|
|
5388
|
+
m: parseInt(S.getMonth()) + 1
|
|
5395
5389
|
}, [s, g] = W.useState(x.y), o = () => {
|
|
5396
5390
|
n(!1);
|
|
5397
5391
|
}, d = () => {
|
|
5398
5392
|
g(s + 1);
|
|
5399
5393
|
}, k = () => {
|
|
5400
5394
|
g(s - 1);
|
|
5401
|
-
},
|
|
5402
|
-
c(s + "-" + ma(2,
|
|
5403
|
-
}, N = (
|
|
5395
|
+
}, C = (p) => {
|
|
5396
|
+
c(s + "-" + ma(2, p)), o();
|
|
5397
|
+
}, N = (p) => P.y === x.y && P.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, I) => I + 1), $ = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, O = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5404
5398
|
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5405
5399
|
/* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: o }),
|
|
5406
5400
|
/* @__PURE__ */ y.jsxs("div", { className: Rt.c, style: { top: $ + "px", left: O + "px" }, children: [
|
|
@@ -5429,21 +5423,21 @@ const da = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5429
5423
|
}
|
|
5430
5424
|
) })
|
|
5431
5425
|
] }),
|
|
5432
|
-
/* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((
|
|
5426
|
+
/* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((p, I) => /* @__PURE__ */ y.jsx(
|
|
5433
5427
|
"span",
|
|
5434
5428
|
{
|
|
5435
5429
|
onClick: () => {
|
|
5436
|
-
|
|
5430
|
+
C(p);
|
|
5437
5431
|
},
|
|
5438
|
-
color: N(
|
|
5439
|
-
children: /* @__PURE__ */ y.jsx("b", { children:
|
|
5432
|
+
color: N(p),
|
|
5433
|
+
children: /* @__PURE__ */ y.jsx("b", { children: ya(p).abc })
|
|
5440
5434
|
},
|
|
5441
5435
|
I
|
|
5442
5436
|
)) })
|
|
5443
5437
|
] })
|
|
5444
5438
|
] });
|
|
5445
5439
|
};
|
|
5446
|
-
function
|
|
5440
|
+
function pa(n, i) {
|
|
5447
5441
|
i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5448
5442
|
let c = {
|
|
5449
5443
|
yyyy: n.getFullYear(),
|
|
@@ -5465,7 +5459,7 @@ function ma(n, i) {
|
|
|
5465
5459
|
for (; c.length < n; ) c = "0" + c;
|
|
5466
5460
|
return c;
|
|
5467
5461
|
}
|
|
5468
|
-
function
|
|
5462
|
+
function ya(n) {
|
|
5469
5463
|
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
5470
5464
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5471
5465
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
@@ -5481,48 +5475,48 @@ function pa(n) {
|
|
|
5481
5475
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5482
5476
|
}[n];
|
|
5483
5477
|
}
|
|
5484
|
-
function
|
|
5478
|
+
function Da({
|
|
5485
5479
|
value: n,
|
|
5486
5480
|
onValue: i,
|
|
5487
5481
|
name: c,
|
|
5488
5482
|
placeholder: u = "",
|
|
5489
5483
|
title: v = "",
|
|
5490
|
-
error:
|
|
5491
|
-
hide:
|
|
5484
|
+
error: S = "",
|
|
5485
|
+
hide: P = !1,
|
|
5492
5486
|
edit: x = !0,
|
|
5493
5487
|
active: s = !0,
|
|
5494
5488
|
after: g = "",
|
|
5495
5489
|
show: o = !0,
|
|
5496
5490
|
course: d = 100,
|
|
5497
5491
|
view: k,
|
|
5498
|
-
type:
|
|
5492
|
+
type: C,
|
|
5499
5493
|
onSave: N,
|
|
5500
5494
|
className: A = "",
|
|
5501
5495
|
isClear: $ = !1
|
|
5502
5496
|
}) {
|
|
5503
|
-
let O = !!(
|
|
5497
|
+
let O = !!(P && (n === "" || n === void 0)), p = (R) => C === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), I = (R, h) => {
|
|
5504
5498
|
let b = document.createRange(), M = window.getSelection();
|
|
5505
5499
|
b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
|
|
5506
|
-
},
|
|
5500
|
+
}, q = (R) => {
|
|
5507
5501
|
i == null || i({
|
|
5508
|
-
value:
|
|
5502
|
+
value: p(R.target.textContent) * d,
|
|
5509
5503
|
name: c
|
|
5510
|
-
}), R.target.textContent =
|
|
5504
|
+
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && I(R.target.textContent.length, R.target);
|
|
5511
5505
|
}, G = (R) => {
|
|
5512
|
-
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value:
|
|
5513
|
-
value:
|
|
5506
|
+
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }), i == null || i({
|
|
5507
|
+
value: p(R.target.textContent) * d,
|
|
5514
5508
|
name: c
|
|
5515
5509
|
}), R.target.textContent = zt(R.target.textContent);
|
|
5516
5510
|
}, L = (R) => {
|
|
5517
|
-
R.target.textContent =
|
|
5518
|
-
},
|
|
5511
|
+
R.target.textContent = p(R.target.textContent);
|
|
5512
|
+
}, K = (R) => {
|
|
5519
5513
|
R.currentTarget.previousElementSibling.textContent = "", i == null || i({
|
|
5520
5514
|
value: 0,
|
|
5521
5515
|
name: c
|
|
5522
5516
|
});
|
|
5523
5517
|
}, E = (R) => {
|
|
5524
5518
|
R.key === "Enter" && R.preventDefault();
|
|
5525
|
-
},
|
|
5519
|
+
}, D = (R) => {
|
|
5526
5520
|
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5527
5521
|
h = h.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, h);
|
|
5528
5522
|
}).catch((h) => {
|
|
@@ -5542,8 +5536,8 @@ function Ta({
|
|
|
5542
5536
|
{
|
|
5543
5537
|
...U,
|
|
5544
5538
|
className: [V.f, V.w].join(" "),
|
|
5545
|
-
onInput:
|
|
5546
|
-
onPaste:
|
|
5539
|
+
onInput: q,
|
|
5540
|
+
onPaste: D,
|
|
5547
5541
|
onBlur: G,
|
|
5548
5542
|
onKeyDown: E,
|
|
5549
5543
|
onFocus: L,
|
|
@@ -5553,8 +5547,8 @@ function Ta({
|
|
|
5553
5547
|
children: !u || n ? zt(n) : ""
|
|
5554
5548
|
}
|
|
5555
5549
|
),
|
|
5556
|
-
$ && /* @__PURE__ */ y.jsx("svg", { "action-type": "delete", onClick:
|
|
5557
|
-
|
|
5550
|
+
$ && /* @__PURE__ */ y.jsx("svg", { "action-type": "delete", onClick: K, viewBox: "0 0 24 24", children: /* @__PURE__ */ y.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
|
|
5551
|
+
S ? /* @__PURE__ */ y.jsx("em", { children: S }) : ""
|
|
5558
5552
|
]
|
|
5559
5553
|
}
|
|
5560
5554
|
);
|
|
@@ -5563,7 +5557,7 @@ function zt(n, i) {
|
|
|
5563
5557
|
return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5564
5558
|
}
|
|
5565
5559
|
const he = {};
|
|
5566
|
-
function
|
|
5560
|
+
function Pa(n) {
|
|
5567
5561
|
const [i, c] = W.useState({}), u = W.useRef(n);
|
|
5568
5562
|
return he.u = (v) => {
|
|
5569
5563
|
u.current = { ...u.current, [v.name]: v.value };
|
|
@@ -5573,19 +5567,19 @@ function Da(n) {
|
|
|
5573
5567
|
c(Date.now());
|
|
5574
5568
|
}, [u.current, he.n];
|
|
5575
5569
|
}
|
|
5576
|
-
function
|
|
5570
|
+
function Na(n) {
|
|
5577
5571
|
he.u(n), n.reload && he.r();
|
|
5578
5572
|
}
|
|
5579
|
-
function
|
|
5573
|
+
function Fa() {
|
|
5580
5574
|
he.r && he.r();
|
|
5581
5575
|
}
|
|
5582
|
-
function
|
|
5576
|
+
function Ia(n) {
|
|
5583
5577
|
const [i, c] = W.useState({}), u = W.useRef(n);
|
|
5584
5578
|
return he.u = (v) => {
|
|
5585
5579
|
u.current = { ...u.current, [v.name]: v.value };
|
|
5586
5580
|
}, he.n = (v) => {
|
|
5587
|
-
Object.keys(v).length > 0 ? Object.keys(v).forEach((
|
|
5588
|
-
u.current[
|
|
5581
|
+
Object.keys(v).length > 0 ? Object.keys(v).forEach((S) => {
|
|
5582
|
+
u.current[S] = v[S];
|
|
5589
5583
|
}) : u.current = {}, c(Date.now());
|
|
5590
5584
|
}, he.r = () => {
|
|
5591
5585
|
c(Date.now());
|
|
@@ -5595,23 +5589,23 @@ function It() {
|
|
|
5595
5589
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
5596
5590
|
}
|
|
5597
5591
|
It().elcrm || (It().elcrm = {});
|
|
5598
|
-
Object.assign(It().elcrm, { form:
|
|
5592
|
+
Object.assign(It().elcrm, { form: Xt.version });
|
|
5599
5593
|
export {
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5594
|
+
Oa as Date,
|
|
5595
|
+
Sa as Mask,
|
|
5596
|
+
ja as Modal,
|
|
5597
|
+
Da as Money,
|
|
5598
|
+
Ta as Month,
|
|
5599
|
+
Ra as Note,
|
|
5600
|
+
Ca as Number,
|
|
5601
|
+
ka as Options,
|
|
5602
|
+
xa as Password,
|
|
5603
|
+
Ea as Phone,
|
|
5604
|
+
ha as Progress,
|
|
5605
|
+
wa as Select,
|
|
5606
|
+
ba as String,
|
|
5607
|
+
Fa as runReload,
|
|
5608
|
+
Na as setValue,
|
|
5609
|
+
Pa as useData,
|
|
5610
|
+
Ia as useError
|
|
5617
5611
|
};
|