@elcrm/form 0.0.28 → 0.0.30
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 +804 -801
- package/dist/index.umd.js +34 -34
- package/dist/src/lib/Field.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import W, { useEffect as Jt } from "react";
|
|
2
2
|
import { createPortal as Mt } from "react-dom";
|
|
3
|
-
import './index.css';const Zt = "0.0.
|
|
3
|
+
import './index.css';const Zt = "0.0.30", Vt = {
|
|
4
4
|
version: Zt
|
|
5
5
|
};
|
|
6
|
-
var Tt = { exports: {} },
|
|
6
|
+
var Tt = { exports: {} }, mt = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -15,19 +15,19 @@ var Tt = { exports: {} }, pt = {};
|
|
|
15
15
|
*/
|
|
16
16
|
var $t;
|
|
17
17
|
function Xt() {
|
|
18
|
-
if ($t) return
|
|
18
|
+
if ($t) return mt;
|
|
19
19
|
$t = 1;
|
|
20
|
-
var n =
|
|
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, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function T(x, s, g) {
|
|
22
|
-
var o, d = {},
|
|
23
|
-
g !== void 0 && (
|
|
22
|
+
var o, d = {}, k = null, S = null;
|
|
23
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
24
24
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
25
25
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
26
|
-
return { $$typeof: i, type: x, key:
|
|
26
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return mt.Fragment = c, mt.jsx = T, mt.jsxs = T, mt;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var pt = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -40,7 +40,7 @@ var mt = {};
|
|
|
40
40
|
var At;
|
|
41
41
|
function Qt() {
|
|
42
42
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var n =
|
|
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"), C = Symbol.for("react.profiler"), T = 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"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
44
44
|
function $(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
@@ -48,31 +48,31 @@ 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 m(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];
|
|
55
|
-
|
|
55
|
+
I("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function I(e, t, r) {
|
|
59
59
|
{
|
|
60
60
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
62
|
-
var
|
|
62
|
+
var p = r.map(function(l) {
|
|
63
63
|
return String(l);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
68
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
69
|
+
P = Symbol.for("react.module.reference");
|
|
70
|
+
function U(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || 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 === P || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
77
|
function R(e, t, r) {
|
|
78
78
|
var a = e.displayName;
|
|
@@ -84,10 +84,10 @@ function Qt() {
|
|
|
84
84
|
function h(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
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" && m("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;
|
|
@@ -117,11 +117,11 @@ function Qt() {
|
|
|
117
117
|
return R(e, e.render, "ForwardRef");
|
|
118
118
|
case d:
|
|
119
119
|
var a = e.displayName || null;
|
|
120
|
-
return a !== null ? a :
|
|
121
|
-
case
|
|
122
|
-
var f = e,
|
|
120
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
121
|
+
case k: {
|
|
122
|
+
var f = e, p = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return b(l(p));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,7 +129,7 @@ function Qt() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
133
133
|
function we() {
|
|
134
134
|
}
|
|
135
135
|
we.__reactDisabledLog = !0;
|
|
@@ -165,30 +165,30 @@ function Qt() {
|
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
168
|
+
log: M({}, e, {
|
|
169
169
|
value: Q
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: M({}, e, {
|
|
172
172
|
value: ie
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: M({}, e, {
|
|
175
175
|
value: se
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: M({}, e, {
|
|
178
178
|
value: ve
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
180
|
+
group: M({}, e, {
|
|
181
181
|
value: ge
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: M({}, e, {
|
|
184
184
|
value: be
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: M({}, e, {
|
|
187
187
|
value: ke
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
Y < 0 &&
|
|
191
|
+
Y < 0 && m("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 p;
|
|
226
|
+
p = 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
|
+
`), D = a.stack.split(`
|
|
263
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
266
|
-
if (_[w] !==
|
|
266
|
+
if (_[w] !== D[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] !== D[j]) {
|
|
270
270
|
var B = `
|
|
271
271
|
` + _[w].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -276,9 +276,9 @@ function Qt() {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
ue = !1, le.current =
|
|
279
|
+
ue = !1, le.current = p, We(), Error.prepareStackTrace = f;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
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
284
|
function Ke(e, t, r) {
|
|
@@ -307,10 +307,10 @@ function Qt() {
|
|
|
307
307
|
return Ke(e.render);
|
|
308
308
|
case d:
|
|
309
309
|
return ne(e.type, t, r);
|
|
310
|
-
case
|
|
311
|
-
var a = e, f = a._payload,
|
|
310
|
+
case k: {
|
|
311
|
+
var a = e, f = a._payload, p = a._init;
|
|
312
312
|
try {
|
|
313
|
-
return ne(
|
|
313
|
+
return ne(p(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 p = Function.call.bind(X);
|
|
331
331
|
for (var l in e)
|
|
332
|
-
if (
|
|
332
|
+
if (p(e, l)) {
|
|
333
333
|
var _ = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var D = 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 D.name = "Invariant Violation", D;
|
|
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), m("%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), m("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 m("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, m("%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, m("%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, p, 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: p
|
|
429
429
|
};
|
|
430
430
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
431
431
|
configurable: !1,
|
|
@@ -446,39 +446,39 @@ 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 p, l = {}, _ = null, D = null;
|
|
450
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t, f));
|
|
451
|
+
for (p in t)
|
|
452
|
+
X.call(t, p) && !Je.hasOwnProperty(p) && (l[p] = t[p]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
454
454
|
var w = e.defaultProps;
|
|
455
|
-
for (
|
|
456
|
-
l[
|
|
455
|
+
for (p in w)
|
|
456
|
+
l[p] === void 0 && (l[p] = w[p]);
|
|
457
457
|
}
|
|
458
|
-
if (_ ||
|
|
458
|
+
if (_ || D) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
_ && Qe(l, j),
|
|
460
|
+
_ && Qe(l, j), D && et(l, j);
|
|
461
461
|
}
|
|
462
|
-
return tt(e, _,
|
|
462
|
+
return tt(e, _, D, f, a, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
466
|
-
function
|
|
466
|
+
function J(e) {
|
|
467
467
|
if (e) {
|
|
468
468
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
469
469
|
De.setExtraStackFrame(r);
|
|
470
470
|
} else
|
|
471
471
|
De.setExtraStackFrame(null);
|
|
472
472
|
}
|
|
473
|
-
var
|
|
474
|
-
|
|
475
|
-
function
|
|
473
|
+
var me;
|
|
474
|
+
me = !1;
|
|
475
|
+
function pe(e) {
|
|
476
476
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
477
477
|
}
|
|
478
478
|
function Pe() {
|
|
479
479
|
{
|
|
480
480
|
if (fe.current) {
|
|
481
|
-
var e =
|
|
481
|
+
var e = b(fe.current.type);
|
|
482
482
|
if (e)
|
|
483
483
|
return `
|
|
484
484
|
|
|
@@ -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 " +
|
|
516
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), m('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
|
+
pe(a) && Fe(a, t);
|
|
527
527
|
}
|
|
528
|
-
else if (
|
|
528
|
+
else if (pe(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 p = f.call(e), l; !(l = p.next()).done; )
|
|
534
|
+
pe(l.value) && Fe(l.value, t);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
}
|
|
@@ -550,14 +550,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var a =
|
|
553
|
+
var a = b(t);
|
|
554
554
|
Ye(r, e.props, "prop", a, e);
|
|
555
|
-
} else if (t.PropTypes !== void 0 && !
|
|
556
|
-
|
|
557
|
-
var f =
|
|
558
|
-
|
|
555
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
556
|
+
me = !0;
|
|
557
|
+
var f = b(t);
|
|
558
|
+
m("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 && m("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
|
-
|
|
568
|
+
J(e), m("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 && (
|
|
572
|
+
e.ref !== null && (J(e), m("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, p) {
|
|
577
577
|
{
|
|
578
|
-
var l =
|
|
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 D = at();
|
|
583
|
+
D ? _ += D : _ += Pe();
|
|
584
584
|
var w;
|
|
585
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (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, m("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, p);
|
|
588
588
|
if (j == null)
|
|
589
589
|
return j;
|
|
590
590
|
if (l) {
|
|
@@ -592,21 +592,21 @@ Check the top-level render call using <` + r + ">.");
|
|
|
592
592
|
if (B !== void 0)
|
|
593
593
|
if (a)
|
|
594
594
|
if (de(B)) {
|
|
595
|
-
for (var
|
|
596
|
-
Ie(B[
|
|
595
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
596
|
+
Ie(B[Z], e);
|
|
597
597
|
Object.freeze && Object.freeze(B);
|
|
598
598
|
} else
|
|
599
|
-
|
|
599
|
+
m("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
|
}
|
|
603
603
|
if (X.call(t, "key")) {
|
|
604
|
-
var z =
|
|
604
|
+
var z = b(e), F = Object.keys(t).filter(function(dt) {
|
|
605
605
|
return dt !== "key";
|
|
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
|
+
m(`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,12 +624,12 @@ 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
|
+
pt.Fragment = u, pt.jsx = lt, pt.jsxs = ct;
|
|
628
|
+
}()), pt;
|
|
629
629
|
}
|
|
630
630
|
process.env.NODE_ENV === "production" ? Tt.exports = Xt() : Tt.exports = Qt();
|
|
631
631
|
var y = Tt.exports;
|
|
632
|
-
function
|
|
632
|
+
function ga({ name: n, value: i, title: c, style: u, className: v }) {
|
|
633
633
|
let C = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
@@ -670,35 +670,38 @@ 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 er = "
|
|
673
|
+
const er = "_l_mc013_13", tr = "_f_mc013_35", rr = "_n_mc013_52", ar = "_w_mc013_57", nr = "_t_mc013_67", or = "_g_mc013_72", V = {
|
|
674
674
|
l: er,
|
|
675
675
|
f: tr,
|
|
676
676
|
n: rr,
|
|
677
677
|
w: ar,
|
|
678
|
-
t: nr
|
|
678
|
+
t: nr,
|
|
679
|
+
g: or
|
|
679
680
|
};
|
|
680
|
-
function
|
|
681
|
+
function bt({
|
|
681
682
|
element_blok: n,
|
|
682
683
|
element_input: i,
|
|
683
684
|
type: c = "input",
|
|
684
685
|
title: u,
|
|
685
686
|
before: v,
|
|
686
687
|
after: C,
|
|
687
|
-
children: T
|
|
688
|
+
children: T,
|
|
689
|
+
ref: x
|
|
688
690
|
}) {
|
|
689
691
|
return /* @__PURE__ */ y.jsxs(
|
|
690
692
|
"dl",
|
|
691
693
|
{
|
|
692
694
|
"data-field": c,
|
|
693
695
|
...i.props,
|
|
694
|
-
className: [
|
|
696
|
+
className: [V.l, ...n.className].filter((s) => s !== void 0).join(" "),
|
|
695
697
|
children: [
|
|
696
|
-
u ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
698
|
+
u ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: u }) : "",
|
|
697
699
|
v,
|
|
698
700
|
/* @__PURE__ */ y.jsx(
|
|
699
701
|
"dd",
|
|
700
702
|
{
|
|
701
|
-
|
|
703
|
+
ref: x,
|
|
704
|
+
className: [V.f, ...i.className].join(
|
|
702
705
|
" "
|
|
703
706
|
),
|
|
704
707
|
...i.props,
|
|
@@ -710,7 +713,7 @@ function Rt({
|
|
|
710
713
|
}
|
|
711
714
|
);
|
|
712
715
|
}
|
|
713
|
-
function
|
|
716
|
+
function ha({
|
|
714
717
|
id: n,
|
|
715
718
|
value: i,
|
|
716
719
|
onValue: c,
|
|
@@ -723,14 +726,14 @@ function ga({
|
|
|
723
726
|
active: g = !0,
|
|
724
727
|
after: o = "",
|
|
725
728
|
before: d = "",
|
|
726
|
-
show:
|
|
729
|
+
show: k = !0,
|
|
727
730
|
maxLength: S,
|
|
728
731
|
onSave: N,
|
|
729
732
|
className: A = "",
|
|
730
733
|
isCopy: $ = !0,
|
|
731
734
|
isReload: O = !1
|
|
732
735
|
}) {
|
|
733
|
-
let
|
|
736
|
+
let m = !!(x && (i === "" || i === void 0)), I = (E) => {
|
|
734
737
|
c && c({
|
|
735
738
|
value: E.target.textContent.trim(),
|
|
736
739
|
name: u,
|
|
@@ -739,39 +742,39 @@ function ga({
|
|
|
739
742
|
}, K = (E) => {
|
|
740
743
|
S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
741
744
|
}, G = (E) => {
|
|
742
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
745
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
743
746
|
if (S) {
|
|
744
|
-
let
|
|
745
|
-
if (
|
|
746
|
-
S -=
|
|
747
|
+
let U = E.target.textContent.length;
|
|
748
|
+
if (U >= S) return;
|
|
749
|
+
S -= U, P = P.slice(0, S);
|
|
747
750
|
}
|
|
748
751
|
window.document.execCommand(
|
|
749
752
|
"insertText",
|
|
750
753
|
!1,
|
|
751
|
-
|
|
754
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
752
755
|
);
|
|
753
|
-
}).catch((
|
|
756
|
+
}).catch((P) => {
|
|
754
757
|
});
|
|
755
758
|
};
|
|
756
|
-
if (!(s && g) && !
|
|
759
|
+
if (!(s && g) && !k || !(s && g) && m) return "";
|
|
757
760
|
const L = {};
|
|
758
761
|
v && (L.placeholder = v), s && g && (L.edit = "");
|
|
759
762
|
const q = (E) => {
|
|
760
763
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
761
764
|
};
|
|
762
765
|
return /* @__PURE__ */ y.jsx(
|
|
763
|
-
|
|
766
|
+
bt,
|
|
764
767
|
{
|
|
765
768
|
type: "input",
|
|
766
769
|
title: C,
|
|
767
770
|
element_blok: { className: [A] },
|
|
768
|
-
element_input: { className: [
|
|
771
|
+
element_input: { className: [V.w] },
|
|
769
772
|
children: /* @__PURE__ */ y.jsx(
|
|
770
773
|
"div",
|
|
771
774
|
{
|
|
772
775
|
onBlur: q,
|
|
773
776
|
onPaste: G,
|
|
774
|
-
onInput:
|
|
777
|
+
onInput: I,
|
|
775
778
|
onKeyDown: K,
|
|
776
779
|
spellCheck: "true",
|
|
777
780
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
@@ -794,20 +797,20 @@ var Dt = { exports: {} }, yt = {};
|
|
|
794
797
|
* LICENSE file in the root directory of this source tree.
|
|
795
798
|
*/
|
|
796
799
|
var Bt;
|
|
797
|
-
function
|
|
800
|
+
function ir() {
|
|
798
801
|
if (Bt) return yt;
|
|
799
802
|
Bt = 1;
|
|
800
|
-
var n =
|
|
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, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
801
804
|
function T(x, s, g) {
|
|
802
|
-
var o, d = {},
|
|
803
|
-
g !== void 0 && (
|
|
805
|
+
var o, d = {}, k = null, S = null;
|
|
806
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
804
807
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
805
808
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
806
|
-
return { $$typeof: i, type: x, key:
|
|
809
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
807
810
|
}
|
|
808
811
|
return yt.Fragment = c, yt.jsx = T, yt.jsxs = T, yt;
|
|
809
812
|
}
|
|
810
|
-
var
|
|
813
|
+
var kt = {};
|
|
811
814
|
/**
|
|
812
815
|
* @license React
|
|
813
816
|
* react-jsx-runtime.development.js
|
|
@@ -818,9 +821,9 @@ var bt = {};
|
|
|
818
821
|
* LICENSE file in the root directory of this source tree.
|
|
819
822
|
*/
|
|
820
823
|
var Lt;
|
|
821
|
-
function
|
|
824
|
+
function _r() {
|
|
822
825
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
823
|
-
var n =
|
|
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"), C = Symbol.for("react.profiler"), T = 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"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
824
827
|
function $(e) {
|
|
825
828
|
if (e === null || typeof e != "object")
|
|
826
829
|
return null;
|
|
@@ -828,31 +831,31 @@ function ir() {
|
|
|
828
831
|
return typeof t == "function" ? t : null;
|
|
829
832
|
}
|
|
830
833
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
831
|
-
function
|
|
834
|
+
function m(e) {
|
|
832
835
|
{
|
|
833
836
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
834
837
|
r[a - 1] = arguments[a];
|
|
835
|
-
|
|
838
|
+
I("error", e, r);
|
|
836
839
|
}
|
|
837
840
|
}
|
|
838
|
-
function
|
|
841
|
+
function I(e, t, r) {
|
|
839
842
|
{
|
|
840
843
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
841
844
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
842
|
-
var
|
|
845
|
+
var p = r.map(function(l) {
|
|
843
846
|
return String(l);
|
|
844
847
|
});
|
|
845
|
-
|
|
848
|
+
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
846
849
|
}
|
|
847
850
|
}
|
|
848
|
-
var K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
849
|
-
|
|
850
|
-
function
|
|
851
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
851
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
852
|
+
P = Symbol.for("react.module.reference");
|
|
853
|
+
function U(e) {
|
|
854
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
852
855
|
// types supported by any Flight configuration anywhere since
|
|
853
856
|
// we don't know which Flight build this will end up being used
|
|
854
857
|
// with.
|
|
855
|
-
e.$$typeof ===
|
|
858
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
856
859
|
}
|
|
857
860
|
function R(e, t, r) {
|
|
858
861
|
var a = e.displayName;
|
|
@@ -864,10 +867,10 @@ function ir() {
|
|
|
864
867
|
function h(e) {
|
|
865
868
|
return e.displayName || "Context";
|
|
866
869
|
}
|
|
867
|
-
function
|
|
870
|
+
function b(e) {
|
|
868
871
|
if (e == null)
|
|
869
872
|
return null;
|
|
870
|
-
if (typeof e.tag == "number" &&
|
|
873
|
+
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
871
874
|
return e.displayName || e.name || null;
|
|
872
875
|
if (typeof e == "string")
|
|
873
876
|
return e;
|
|
@@ -897,11 +900,11 @@ function ir() {
|
|
|
897
900
|
return R(e, e.render, "ForwardRef");
|
|
898
901
|
case d:
|
|
899
902
|
var a = e.displayName || null;
|
|
900
|
-
return a !== null ? a :
|
|
901
|
-
case
|
|
902
|
-
var f = e,
|
|
903
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
904
|
+
case k: {
|
|
905
|
+
var f = e, p = f._payload, l = f._init;
|
|
903
906
|
try {
|
|
904
|
-
return
|
|
907
|
+
return b(l(p));
|
|
905
908
|
} catch {
|
|
906
909
|
return null;
|
|
907
910
|
}
|
|
@@ -909,7 +912,7 @@ function ir() {
|
|
|
909
912
|
}
|
|
910
913
|
return null;
|
|
911
914
|
}
|
|
912
|
-
var
|
|
915
|
+
var M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
913
916
|
function we() {
|
|
914
917
|
}
|
|
915
918
|
we.__reactDisabledLog = !0;
|
|
@@ -945,30 +948,30 @@ function ir() {
|
|
|
945
948
|
writable: !0
|
|
946
949
|
};
|
|
947
950
|
Object.defineProperties(console, {
|
|
948
|
-
log:
|
|
951
|
+
log: M({}, e, {
|
|
949
952
|
value: Q
|
|
950
953
|
}),
|
|
951
|
-
info:
|
|
954
|
+
info: M({}, e, {
|
|
952
955
|
value: ie
|
|
953
956
|
}),
|
|
954
|
-
warn:
|
|
957
|
+
warn: M({}, e, {
|
|
955
958
|
value: se
|
|
956
959
|
}),
|
|
957
|
-
error:
|
|
960
|
+
error: M({}, e, {
|
|
958
961
|
value: ve
|
|
959
962
|
}),
|
|
960
|
-
group:
|
|
963
|
+
group: M({}, e, {
|
|
961
964
|
value: ge
|
|
962
965
|
}),
|
|
963
|
-
groupCollapsed:
|
|
966
|
+
groupCollapsed: M({}, e, {
|
|
964
967
|
value: be
|
|
965
968
|
}),
|
|
966
|
-
groupEnd:
|
|
969
|
+
groupEnd: M({}, e, {
|
|
967
970
|
value: ke
|
|
968
971
|
})
|
|
969
972
|
});
|
|
970
973
|
}
|
|
971
|
-
Y < 0 &&
|
|
974
|
+
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
972
975
|
}
|
|
973
976
|
}
|
|
974
977
|
var le = O.ReactCurrentDispatcher, ce;
|
|
@@ -1002,8 +1005,8 @@ function ir() {
|
|
|
1002
1005
|
ue = !0;
|
|
1003
1006
|
var f = Error.prepareStackTrace;
|
|
1004
1007
|
Error.prepareStackTrace = void 0;
|
|
1005
|
-
var
|
|
1006
|
-
|
|
1008
|
+
var p;
|
|
1009
|
+
p = le.current, le.current = null, Le();
|
|
1007
1010
|
try {
|
|
1008
1011
|
if (t) {
|
|
1009
1012
|
var l = function() {
|
|
@@ -1039,14 +1042,14 @@ function ir() {
|
|
|
1039
1042
|
} catch (F) {
|
|
1040
1043
|
if (F && a && typeof F.stack == "string") {
|
|
1041
1044
|
for (var _ = F.stack.split(`
|
|
1042
|
-
`),
|
|
1043
|
-
`), w = _.length - 1, j =
|
|
1045
|
+
`), D = a.stack.split(`
|
|
1046
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
1044
1047
|
j--;
|
|
1045
1048
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1046
|
-
if (_[w] !==
|
|
1049
|
+
if (_[w] !== D[j]) {
|
|
1047
1050
|
if (w !== 1 || j !== 1)
|
|
1048
1051
|
do
|
|
1049
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
1052
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
1050
1053
|
var B = `
|
|
1051
1054
|
` + _[w].replace(" at new ", " at ");
|
|
1052
1055
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -1056,9 +1059,9 @@ function ir() {
|
|
|
1056
1059
|
}
|
|
1057
1060
|
}
|
|
1058
1061
|
} finally {
|
|
1059
|
-
ue = !1, le.current =
|
|
1062
|
+
ue = !1, le.current = p, We(), Error.prepareStackTrace = f;
|
|
1060
1063
|
}
|
|
1061
|
-
var
|
|
1064
|
+
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1062
1065
|
return typeof e == "function" && ae.set(e, z), z;
|
|
1063
1066
|
}
|
|
1064
1067
|
function Ke(e, t, r) {
|
|
@@ -1087,10 +1090,10 @@ function ir() {
|
|
|
1087
1090
|
return Ke(e.render);
|
|
1088
1091
|
case d:
|
|
1089
1092
|
return ne(e.type, t, r);
|
|
1090
|
-
case
|
|
1091
|
-
var a = e, f = a._payload,
|
|
1093
|
+
case k: {
|
|
1094
|
+
var a = e, f = a._payload, p = a._init;
|
|
1092
1095
|
try {
|
|
1093
|
-
return ne(
|
|
1096
|
+
return ne(p(f), t, r);
|
|
1094
1097
|
} catch {
|
|
1095
1098
|
}
|
|
1096
1099
|
}
|
|
@@ -1107,20 +1110,20 @@ function ir() {
|
|
|
1107
1110
|
}
|
|
1108
1111
|
function Ye(e, t, r, a, f) {
|
|
1109
1112
|
{
|
|
1110
|
-
var
|
|
1113
|
+
var p = Function.call.bind(X);
|
|
1111
1114
|
for (var l in e)
|
|
1112
|
-
if (
|
|
1115
|
+
if (p(e, l)) {
|
|
1113
1116
|
var _ = void 0;
|
|
1114
1117
|
try {
|
|
1115
1118
|
if (typeof e[l] != "function") {
|
|
1116
|
-
var
|
|
1117
|
-
throw
|
|
1119
|
+
var D = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1120
|
+
throw D.name = "Invariant Violation", D;
|
|
1118
1121
|
}
|
|
1119
1122
|
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1120
1123
|
} catch (w) {
|
|
1121
1124
|
_ = w;
|
|
1122
1125
|
}
|
|
1123
|
-
_ && !(_ instanceof Error) && (oe(f),
|
|
1126
|
+
_ && !(_ instanceof Error) && (oe(f), m("%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), m("Failed %s type: %s", r, _.message), oe(null));
|
|
1124
1127
|
}
|
|
1125
1128
|
}
|
|
1126
1129
|
}
|
|
@@ -1146,7 +1149,7 @@ function ir() {
|
|
|
1146
1149
|
}
|
|
1147
1150
|
function Re(e) {
|
|
1148
1151
|
if (He(e))
|
|
1149
|
-
return
|
|
1152
|
+
return m("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);
|
|
1150
1153
|
}
|
|
1151
1154
|
var Ee = O.ReactCurrentOwner, Je = {
|
|
1152
1155
|
key: !0,
|
|
@@ -1176,7 +1179,7 @@ function ir() {
|
|
|
1176
1179
|
function Qe(e, t) {
|
|
1177
1180
|
{
|
|
1178
1181
|
var r = function() {
|
|
1179
|
-
Oe || (Oe = !0,
|
|
1182
|
+
Oe || (Oe = !0, m("%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));
|
|
1180
1183
|
};
|
|
1181
1184
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1182
1185
|
get: r,
|
|
@@ -1187,7 +1190,7 @@ function ir() {
|
|
|
1187
1190
|
function et(e, t) {
|
|
1188
1191
|
{
|
|
1189
1192
|
var r = function() {
|
|
1190
|
-
Te || (Te = !0,
|
|
1193
|
+
Te || (Te = !0, m("%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));
|
|
1191
1194
|
};
|
|
1192
1195
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1193
1196
|
get: r,
|
|
@@ -1195,7 +1198,7 @@ function ir() {
|
|
|
1195
1198
|
});
|
|
1196
1199
|
}
|
|
1197
1200
|
}
|
|
1198
|
-
var tt = function(e, t, r, a, f,
|
|
1201
|
+
var tt = function(e, t, r, a, f, p, l) {
|
|
1199
1202
|
var _ = {
|
|
1200
1203
|
// This tag allows us to uniquely identify this as a React Element
|
|
1201
1204
|
$$typeof: i,
|
|
@@ -1205,7 +1208,7 @@ function ir() {
|
|
|
1205
1208
|
ref: r,
|
|
1206
1209
|
props: l,
|
|
1207
1210
|
// Record the component responsible for creating this element.
|
|
1208
|
-
_owner:
|
|
1211
|
+
_owner: p
|
|
1209
1212
|
};
|
|
1210
1213
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1211
1214
|
configurable: !1,
|
|
@@ -1226,39 +1229,39 @@ function ir() {
|
|
|
1226
1229
|
};
|
|
1227
1230
|
function rt(e, t, r, a, f) {
|
|
1228
1231
|
{
|
|
1229
|
-
var
|
|
1230
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
1231
|
-
for (
|
|
1232
|
-
X.call(t,
|
|
1232
|
+
var p, l = {}, _ = null, D = null;
|
|
1233
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
1234
|
+
for (p in t)
|
|
1235
|
+
X.call(t, p) && !Je.hasOwnProperty(p) && (l[p] = t[p]);
|
|
1233
1236
|
if (e && e.defaultProps) {
|
|
1234
1237
|
var w = e.defaultProps;
|
|
1235
|
-
for (
|
|
1236
|
-
l[
|
|
1238
|
+
for (p in w)
|
|
1239
|
+
l[p] === void 0 && (l[p] = w[p]);
|
|
1237
1240
|
}
|
|
1238
|
-
if (_ ||
|
|
1241
|
+
if (_ || D) {
|
|
1239
1242
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1240
|
-
_ && Qe(l, j),
|
|
1243
|
+
_ && Qe(l, j), D && et(l, j);
|
|
1241
1244
|
}
|
|
1242
|
-
return tt(e, _,
|
|
1245
|
+
return tt(e, _, D, f, a, Ee.current, l);
|
|
1243
1246
|
}
|
|
1244
1247
|
}
|
|
1245
1248
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
1246
|
-
function
|
|
1249
|
+
function J(e) {
|
|
1247
1250
|
if (e) {
|
|
1248
1251
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1249
1252
|
De.setExtraStackFrame(r);
|
|
1250
1253
|
} else
|
|
1251
1254
|
De.setExtraStackFrame(null);
|
|
1252
1255
|
}
|
|
1253
|
-
var
|
|
1254
|
-
|
|
1255
|
-
function
|
|
1256
|
+
var me;
|
|
1257
|
+
me = !1;
|
|
1258
|
+
function pe(e) {
|
|
1256
1259
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1257
1260
|
}
|
|
1258
1261
|
function Pe() {
|
|
1259
1262
|
{
|
|
1260
1263
|
if (fe.current) {
|
|
1261
|
-
var e =
|
|
1264
|
+
var e = b(fe.current.type);
|
|
1262
1265
|
if (e)
|
|
1263
1266
|
return `
|
|
1264
1267
|
|
|
@@ -1293,7 +1296,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1293
1296
|
return;
|
|
1294
1297
|
Ne[r] = !0;
|
|
1295
1298
|
var a = "";
|
|
1296
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
1299
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), m('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);
|
|
1297
1300
|
}
|
|
1298
1301
|
}
|
|
1299
1302
|
function Ie(e, t) {
|
|
@@ -1303,15 +1306,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1303
1306
|
if (de(e))
|
|
1304
1307
|
for (var r = 0; r < e.length; r++) {
|
|
1305
1308
|
var a = e[r];
|
|
1306
|
-
|
|
1309
|
+
pe(a) && Fe(a, t);
|
|
1307
1310
|
}
|
|
1308
|
-
else if (
|
|
1311
|
+
else if (pe(e))
|
|
1309
1312
|
e._store && (e._store.validated = !0);
|
|
1310
1313
|
else if (e) {
|
|
1311
1314
|
var f = $(e);
|
|
1312
1315
|
if (typeof f == "function" && f !== e.entries)
|
|
1313
|
-
for (var
|
|
1314
|
-
|
|
1316
|
+
for (var p = f.call(e), l; !(l = p.next()).done; )
|
|
1317
|
+
pe(l.value) && Fe(l.value, t);
|
|
1315
1318
|
}
|
|
1316
1319
|
}
|
|
1317
1320
|
}
|
|
@@ -1330,14 +1333,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1330
1333
|
else
|
|
1331
1334
|
return;
|
|
1332
1335
|
if (r) {
|
|
1333
|
-
var a =
|
|
1336
|
+
var a = b(t);
|
|
1334
1337
|
Ye(r, e.props, "prop", a, e);
|
|
1335
|
-
} else if (t.PropTypes !== void 0 && !
|
|
1336
|
-
|
|
1337
|
-
var f =
|
|
1338
|
-
|
|
1338
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
1339
|
+
me = !0;
|
|
1340
|
+
var f = b(t);
|
|
1341
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
1339
1342
|
}
|
|
1340
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
1343
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1341
1344
|
}
|
|
1342
1345
|
}
|
|
1343
1346
|
function it(e) {
|
|
@@ -1345,26 +1348,26 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1345
1348
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1346
1349
|
var a = t[r];
|
|
1347
1350
|
if (a !== "children" && a !== "key") {
|
|
1348
|
-
|
|
1351
|
+
J(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
1349
1352
|
break;
|
|
1350
1353
|
}
|
|
1351
1354
|
}
|
|
1352
|
-
e.ref !== null && (
|
|
1355
|
+
e.ref !== null && (J(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
1353
1356
|
}
|
|
1354
1357
|
}
|
|
1355
1358
|
var Me = {};
|
|
1356
|
-
function $e(e, t, r, a, f,
|
|
1359
|
+
function $e(e, t, r, a, f, p) {
|
|
1357
1360
|
{
|
|
1358
|
-
var l =
|
|
1361
|
+
var l = U(e);
|
|
1359
1362
|
if (!l) {
|
|
1360
1363
|
var _ = "";
|
|
1361
1364
|
(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.");
|
|
1362
|
-
var
|
|
1363
|
-
|
|
1365
|
+
var D = at();
|
|
1366
|
+
D ? _ += D : _ += Pe();
|
|
1364
1367
|
var w;
|
|
1365
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (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, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
1366
1369
|
}
|
|
1367
|
-
var j = rt(e, t, r, f,
|
|
1370
|
+
var j = rt(e, t, r, f, p);
|
|
1368
1371
|
if (j == null)
|
|
1369
1372
|
return j;
|
|
1370
1373
|
if (l) {
|
|
@@ -1372,21 +1375,21 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1372
1375
|
if (B !== void 0)
|
|
1373
1376
|
if (a)
|
|
1374
1377
|
if (de(B)) {
|
|
1375
|
-
for (var
|
|
1376
|
-
Ie(B[
|
|
1378
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
1379
|
+
Ie(B[Z], e);
|
|
1377
1380
|
Object.freeze && Object.freeze(B);
|
|
1378
1381
|
} else
|
|
1379
|
-
|
|
1382
|
+
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1380
1383
|
else
|
|
1381
1384
|
Ie(B, e);
|
|
1382
1385
|
}
|
|
1383
1386
|
if (X.call(t, "key")) {
|
|
1384
|
-
var z =
|
|
1387
|
+
var z = b(e), F = Object.keys(t).filter(function(dt) {
|
|
1385
1388
|
return dt !== "key";
|
|
1386
1389
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1387
1390
|
if (!Me[z + ye]) {
|
|
1388
1391
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
1389
|
-
|
|
1392
|
+
m(`A props object containing a "key" prop is being spread into JSX:
|
|
1390
1393
|
let props = %s;
|
|
1391
1394
|
<%s {...props} />
|
|
1392
1395
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -1404,46 +1407,46 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1404
1407
|
return $e(e, t, r, !1);
|
|
1405
1408
|
}
|
|
1406
1409
|
var lt = st, ct = _t;
|
|
1407
|
-
|
|
1408
|
-
}()),
|
|
1410
|
+
kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
|
|
1411
|
+
}()), kt;
|
|
1409
1412
|
}
|
|
1410
|
-
process.env.NODE_ENV === "production" ? Dt.exports =
|
|
1411
|
-
var
|
|
1412
|
-
const
|
|
1413
|
-
shake:
|
|
1414
|
-
modal:
|
|
1415
|
-
sa:
|
|
1416
|
-
ss:
|
|
1417
|
-
sm:
|
|
1418
|
-
sl:
|
|
1419
|
-
sx:
|
|
1413
|
+
process.env.NODE_ENV === "production" ? Dt.exports = ir() : Dt.exports = _r();
|
|
1414
|
+
var H = Dt.exports;
|
|
1415
|
+
const sr = "_shake_oqfdb_1", lr = "_modal_oqfdb_79", cr = "_sa_oqfdb_89", ur = "_ss_oqfdb_94", dr = "_sm_oqfdb_98", fr = "_sl_oqfdb_102", mr = "_sx_oqfdb_106", pr = "_sf_oqfdb_110", yr = "_o_oqfdb_116", vr = "_b_oqfdb_28", gr = "_w_oqfdb_15", hr = "_h_oqfdb_146", br = "_l_oqfdb_160", kr = "_t_oqfdb_197", wr = "_x_oqfdb_201", jr = "_s_oqfdb_89", xr = "_c_oqfdb_219", Cr = "_f_oqfdb_224", Sr = "_r__oqfdb_235", Rr = "_c__oqfdb_250", Er = "_g_oqfdb_259", Or = "_m_oqfdb_79", _e = {
|
|
1416
|
+
shake: sr,
|
|
1417
|
+
modal: lr,
|
|
1418
|
+
sa: cr,
|
|
1419
|
+
ss: ur,
|
|
1420
|
+
sm: dr,
|
|
1421
|
+
sl: fr,
|
|
1422
|
+
sx: mr,
|
|
1420
1423
|
sf: pr,
|
|
1421
|
-
o:
|
|
1422
|
-
b:
|
|
1423
|
-
w:
|
|
1424
|
-
h:
|
|
1425
|
-
l:
|
|
1426
|
-
t:
|
|
1427
|
-
x:
|
|
1428
|
-
s:
|
|
1429
|
-
c:
|
|
1430
|
-
f:
|
|
1431
|
-
r_:
|
|
1432
|
-
c_:
|
|
1433
|
-
g:
|
|
1434
|
-
m:
|
|
1424
|
+
o: yr,
|
|
1425
|
+
b: vr,
|
|
1426
|
+
w: gr,
|
|
1427
|
+
h: hr,
|
|
1428
|
+
l: br,
|
|
1429
|
+
t: kr,
|
|
1430
|
+
x: wr,
|
|
1431
|
+
s: jr,
|
|
1432
|
+
c: xr,
|
|
1433
|
+
f: Cr,
|
|
1434
|
+
r_: Sr,
|
|
1435
|
+
c_: Rr,
|
|
1436
|
+
g: Er,
|
|
1437
|
+
m: Or
|
|
1435
1438
|
};
|
|
1436
|
-
function
|
|
1437
|
-
return /* @__PURE__ */
|
|
1439
|
+
function Tr({ children: n, className: i }) {
|
|
1440
|
+
return /* @__PURE__ */ H.jsx(
|
|
1438
1441
|
"div",
|
|
1439
1442
|
{
|
|
1440
1443
|
className: [_e.l, i].filter((c) => c !== void 0).join(" "),
|
|
1441
|
-
children: /* @__PURE__ */
|
|
1444
|
+
children: /* @__PURE__ */ H.jsx("ul", { children: n })
|
|
1442
1445
|
}
|
|
1443
1446
|
);
|
|
1444
1447
|
}
|
|
1445
|
-
function
|
|
1446
|
-
return /* @__PURE__ */
|
|
1448
|
+
function Dr({ children: n, className: i }) {
|
|
1449
|
+
return /* @__PURE__ */ H.jsx(
|
|
1447
1450
|
"div",
|
|
1448
1451
|
{
|
|
1449
1452
|
className: [_e.s, i].filter((c) => c !== void 0).join(" "),
|
|
@@ -1451,12 +1454,12 @@ function Tr({ children: n, className: i }) {
|
|
|
1451
1454
|
}
|
|
1452
1455
|
);
|
|
1453
1456
|
}
|
|
1454
|
-
function
|
|
1457
|
+
function Pr({
|
|
1455
1458
|
children: n,
|
|
1456
1459
|
direction: i = "column",
|
|
1457
1460
|
className: c
|
|
1458
1461
|
}) {
|
|
1459
|
-
return /* @__PURE__ */
|
|
1462
|
+
return /* @__PURE__ */ H.jsx(
|
|
1460
1463
|
"ul",
|
|
1461
1464
|
{
|
|
1462
1465
|
className: [
|
|
@@ -1468,8 +1471,8 @@ function Dr({
|
|
|
1468
1471
|
}
|
|
1469
1472
|
);
|
|
1470
1473
|
}
|
|
1471
|
-
function
|
|
1472
|
-
return /* @__PURE__ */
|
|
1474
|
+
function Nr({ children: n, className: i }) {
|
|
1475
|
+
return /* @__PURE__ */ H.jsx(
|
|
1473
1476
|
"div",
|
|
1474
1477
|
{
|
|
1475
1478
|
className: [_e.c, i].filter((c) => c !== void 0).join(" "),
|
|
@@ -1477,8 +1480,8 @@ function Pr({ children: n, className: i }) {
|
|
|
1477
1480
|
}
|
|
1478
1481
|
);
|
|
1479
1482
|
}
|
|
1480
|
-
function
|
|
1481
|
-
return /* @__PURE__ */
|
|
1483
|
+
function Fr({ children: n, className: i }) {
|
|
1484
|
+
return /* @__PURE__ */ H.jsx(
|
|
1482
1485
|
"div",
|
|
1483
1486
|
{
|
|
1484
1487
|
className: [_e.g, i].filter((c) => c !== void 0).join(" "),
|
|
@@ -1486,11 +1489,11 @@ function Nr({ children: n, className: i }) {
|
|
|
1486
1489
|
}
|
|
1487
1490
|
);
|
|
1488
1491
|
}
|
|
1489
|
-
function
|
|
1492
|
+
function Ir() {
|
|
1490
1493
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1491
1494
|
}
|
|
1492
1495
|
function Wt(n) {
|
|
1493
|
-
return
|
|
1496
|
+
return Ir().IMPORT_MODULES;
|
|
1494
1497
|
}
|
|
1495
1498
|
var Pt = { exports: {} }, vt = {};
|
|
1496
1499
|
/**
|
|
@@ -1503,20 +1506,20 @@ var Pt = { exports: {} }, vt = {};
|
|
|
1503
1506
|
* LICENSE file in the root directory of this source tree.
|
|
1504
1507
|
*/
|
|
1505
1508
|
var Ut;
|
|
1506
|
-
function
|
|
1509
|
+
function Mr() {
|
|
1507
1510
|
if (Ut) return vt;
|
|
1508
1511
|
Ut = 1;
|
|
1509
|
-
var n =
|
|
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, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1510
1513
|
function T(x, s, g) {
|
|
1511
|
-
var o, d = {},
|
|
1512
|
-
g !== void 0 && (
|
|
1514
|
+
var o, d = {}, k = null, S = null;
|
|
1515
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
1513
1516
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
1514
1517
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
1515
|
-
return { $$typeof: i, type: x, key:
|
|
1518
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
1516
1519
|
}
|
|
1517
1520
|
return vt.Fragment = c, vt.jsx = T, vt.jsxs = T, vt;
|
|
1518
1521
|
}
|
|
1519
|
-
var
|
|
1522
|
+
var wt = {};
|
|
1520
1523
|
/**
|
|
1521
1524
|
* @license React
|
|
1522
1525
|
* react-jsx-runtime.development.js
|
|
@@ -1527,9 +1530,9 @@ var kt = {};
|
|
|
1527
1530
|
* LICENSE file in the root directory of this source tree.
|
|
1528
1531
|
*/
|
|
1529
1532
|
var Kt;
|
|
1530
|
-
function
|
|
1533
|
+
function $r() {
|
|
1531
1534
|
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1532
|
-
var n =
|
|
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"), C = Symbol.for("react.profiler"), T = 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"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
1533
1536
|
function $(e) {
|
|
1534
1537
|
if (e === null || typeof e != "object")
|
|
1535
1538
|
return null;
|
|
@@ -1537,31 +1540,31 @@ function Mr() {
|
|
|
1537
1540
|
return typeof t == "function" ? t : null;
|
|
1538
1541
|
}
|
|
1539
1542
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1540
|
-
function
|
|
1543
|
+
function m(e) {
|
|
1541
1544
|
{
|
|
1542
1545
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1543
1546
|
r[a - 1] = arguments[a];
|
|
1544
|
-
|
|
1547
|
+
I("error", e, r);
|
|
1545
1548
|
}
|
|
1546
1549
|
}
|
|
1547
|
-
function
|
|
1550
|
+
function I(e, t, r) {
|
|
1548
1551
|
{
|
|
1549
1552
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
1550
1553
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
1551
|
-
var
|
|
1554
|
+
var p = r.map(function(l) {
|
|
1552
1555
|
return String(l);
|
|
1553
1556
|
});
|
|
1554
|
-
|
|
1557
|
+
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
1555
1558
|
}
|
|
1556
1559
|
}
|
|
1557
|
-
var K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
1558
|
-
|
|
1559
|
-
function
|
|
1560
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
1560
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
1561
|
+
P = Symbol.for("react.module.reference");
|
|
1562
|
+
function U(e) {
|
|
1563
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1561
1564
|
// types supported by any Flight configuration anywhere since
|
|
1562
1565
|
// we don't know which Flight build this will end up being used
|
|
1563
1566
|
// with.
|
|
1564
|
-
e.$$typeof ===
|
|
1567
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
1565
1568
|
}
|
|
1566
1569
|
function R(e, t, r) {
|
|
1567
1570
|
var a = e.displayName;
|
|
@@ -1573,10 +1576,10 @@ function Mr() {
|
|
|
1573
1576
|
function h(e) {
|
|
1574
1577
|
return e.displayName || "Context";
|
|
1575
1578
|
}
|
|
1576
|
-
function
|
|
1579
|
+
function b(e) {
|
|
1577
1580
|
if (e == null)
|
|
1578
1581
|
return null;
|
|
1579
|
-
if (typeof e.tag == "number" &&
|
|
1582
|
+
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
1580
1583
|
return e.displayName || e.name || null;
|
|
1581
1584
|
if (typeof e == "string")
|
|
1582
1585
|
return e;
|
|
@@ -1606,11 +1609,11 @@ function Mr() {
|
|
|
1606
1609
|
return R(e, e.render, "ForwardRef");
|
|
1607
1610
|
case d:
|
|
1608
1611
|
var a = e.displayName || null;
|
|
1609
|
-
return a !== null ? a :
|
|
1610
|
-
case
|
|
1611
|
-
var f = e,
|
|
1612
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
1613
|
+
case k: {
|
|
1614
|
+
var f = e, p = f._payload, l = f._init;
|
|
1612
1615
|
try {
|
|
1613
|
-
return
|
|
1616
|
+
return b(l(p));
|
|
1614
1617
|
} catch {
|
|
1615
1618
|
return null;
|
|
1616
1619
|
}
|
|
@@ -1618,7 +1621,7 @@ function Mr() {
|
|
|
1618
1621
|
}
|
|
1619
1622
|
return null;
|
|
1620
1623
|
}
|
|
1621
|
-
var
|
|
1624
|
+
var M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
1622
1625
|
function we() {
|
|
1623
1626
|
}
|
|
1624
1627
|
we.__reactDisabledLog = !0;
|
|
@@ -1654,30 +1657,30 @@ function Mr() {
|
|
|
1654
1657
|
writable: !0
|
|
1655
1658
|
};
|
|
1656
1659
|
Object.defineProperties(console, {
|
|
1657
|
-
log:
|
|
1660
|
+
log: M({}, e, {
|
|
1658
1661
|
value: Q
|
|
1659
1662
|
}),
|
|
1660
|
-
info:
|
|
1663
|
+
info: M({}, e, {
|
|
1661
1664
|
value: ie
|
|
1662
1665
|
}),
|
|
1663
|
-
warn:
|
|
1666
|
+
warn: M({}, e, {
|
|
1664
1667
|
value: se
|
|
1665
1668
|
}),
|
|
1666
|
-
error:
|
|
1669
|
+
error: M({}, e, {
|
|
1667
1670
|
value: ve
|
|
1668
1671
|
}),
|
|
1669
|
-
group:
|
|
1672
|
+
group: M({}, e, {
|
|
1670
1673
|
value: ge
|
|
1671
1674
|
}),
|
|
1672
|
-
groupCollapsed:
|
|
1675
|
+
groupCollapsed: M({}, e, {
|
|
1673
1676
|
value: be
|
|
1674
1677
|
}),
|
|
1675
|
-
groupEnd:
|
|
1678
|
+
groupEnd: M({}, e, {
|
|
1676
1679
|
value: ke
|
|
1677
1680
|
})
|
|
1678
1681
|
});
|
|
1679
1682
|
}
|
|
1680
|
-
Y < 0 &&
|
|
1683
|
+
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1681
1684
|
}
|
|
1682
1685
|
}
|
|
1683
1686
|
var le = O.ReactCurrentDispatcher, ce;
|
|
@@ -1711,8 +1714,8 @@ function Mr() {
|
|
|
1711
1714
|
ue = !0;
|
|
1712
1715
|
var f = Error.prepareStackTrace;
|
|
1713
1716
|
Error.prepareStackTrace = void 0;
|
|
1714
|
-
var
|
|
1715
|
-
|
|
1717
|
+
var p;
|
|
1718
|
+
p = le.current, le.current = null, Le();
|
|
1716
1719
|
try {
|
|
1717
1720
|
if (t) {
|
|
1718
1721
|
var l = function() {
|
|
@@ -1748,14 +1751,14 @@ function Mr() {
|
|
|
1748
1751
|
} catch (F) {
|
|
1749
1752
|
if (F && a && typeof F.stack == "string") {
|
|
1750
1753
|
for (var _ = F.stack.split(`
|
|
1751
|
-
`),
|
|
1752
|
-
`), w = _.length - 1, j =
|
|
1754
|
+
`), D = a.stack.split(`
|
|
1755
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
1753
1756
|
j--;
|
|
1754
1757
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1755
|
-
if (_[w] !==
|
|
1758
|
+
if (_[w] !== D[j]) {
|
|
1756
1759
|
if (w !== 1 || j !== 1)
|
|
1757
1760
|
do
|
|
1758
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
1761
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
1759
1762
|
var B = `
|
|
1760
1763
|
` + _[w].replace(" at new ", " at ");
|
|
1761
1764
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -1765,9 +1768,9 @@ function Mr() {
|
|
|
1765
1768
|
}
|
|
1766
1769
|
}
|
|
1767
1770
|
} finally {
|
|
1768
|
-
ue = !1, le.current =
|
|
1771
|
+
ue = !1, le.current = p, We(), Error.prepareStackTrace = f;
|
|
1769
1772
|
}
|
|
1770
|
-
var
|
|
1773
|
+
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1771
1774
|
return typeof e == "function" && ae.set(e, z), z;
|
|
1772
1775
|
}
|
|
1773
1776
|
function Ke(e, t, r) {
|
|
@@ -1796,10 +1799,10 @@ function Mr() {
|
|
|
1796
1799
|
return Ke(e.render);
|
|
1797
1800
|
case d:
|
|
1798
1801
|
return ne(e.type, t, r);
|
|
1799
|
-
case
|
|
1800
|
-
var a = e, f = a._payload,
|
|
1802
|
+
case k: {
|
|
1803
|
+
var a = e, f = a._payload, p = a._init;
|
|
1801
1804
|
try {
|
|
1802
|
-
return ne(
|
|
1805
|
+
return ne(p(f), t, r);
|
|
1803
1806
|
} catch {
|
|
1804
1807
|
}
|
|
1805
1808
|
}
|
|
@@ -1816,20 +1819,20 @@ function Mr() {
|
|
|
1816
1819
|
}
|
|
1817
1820
|
function Ye(e, t, r, a, f) {
|
|
1818
1821
|
{
|
|
1819
|
-
var
|
|
1822
|
+
var p = Function.call.bind(X);
|
|
1820
1823
|
for (var l in e)
|
|
1821
|
-
if (
|
|
1824
|
+
if (p(e, l)) {
|
|
1822
1825
|
var _ = void 0;
|
|
1823
1826
|
try {
|
|
1824
1827
|
if (typeof e[l] != "function") {
|
|
1825
|
-
var
|
|
1826
|
-
throw
|
|
1828
|
+
var D = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1829
|
+
throw D.name = "Invariant Violation", D;
|
|
1827
1830
|
}
|
|
1828
1831
|
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1829
1832
|
} catch (w) {
|
|
1830
1833
|
_ = w;
|
|
1831
1834
|
}
|
|
1832
|
-
_ && !(_ instanceof Error) && (oe(f),
|
|
1835
|
+
_ && !(_ instanceof Error) && (oe(f), m("%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), m("Failed %s type: %s", r, _.message), oe(null));
|
|
1833
1836
|
}
|
|
1834
1837
|
}
|
|
1835
1838
|
}
|
|
@@ -1855,7 +1858,7 @@ function Mr() {
|
|
|
1855
1858
|
}
|
|
1856
1859
|
function Re(e) {
|
|
1857
1860
|
if (He(e))
|
|
1858
|
-
return
|
|
1861
|
+
return m("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);
|
|
1859
1862
|
}
|
|
1860
1863
|
var Ee = O.ReactCurrentOwner, Je = {
|
|
1861
1864
|
key: !0,
|
|
@@ -1885,7 +1888,7 @@ function Mr() {
|
|
|
1885
1888
|
function Qe(e, t) {
|
|
1886
1889
|
{
|
|
1887
1890
|
var r = function() {
|
|
1888
|
-
Oe || (Oe = !0,
|
|
1891
|
+
Oe || (Oe = !0, m("%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));
|
|
1889
1892
|
};
|
|
1890
1893
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1891
1894
|
get: r,
|
|
@@ -1896,7 +1899,7 @@ function Mr() {
|
|
|
1896
1899
|
function et(e, t) {
|
|
1897
1900
|
{
|
|
1898
1901
|
var r = function() {
|
|
1899
|
-
Te || (Te = !0,
|
|
1902
|
+
Te || (Te = !0, m("%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));
|
|
1900
1903
|
};
|
|
1901
1904
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1902
1905
|
get: r,
|
|
@@ -1904,7 +1907,7 @@ function Mr() {
|
|
|
1904
1907
|
});
|
|
1905
1908
|
}
|
|
1906
1909
|
}
|
|
1907
|
-
var tt = function(e, t, r, a, f,
|
|
1910
|
+
var tt = function(e, t, r, a, f, p, l) {
|
|
1908
1911
|
var _ = {
|
|
1909
1912
|
// This tag allows us to uniquely identify this as a React Element
|
|
1910
1913
|
$$typeof: i,
|
|
@@ -1914,7 +1917,7 @@ function Mr() {
|
|
|
1914
1917
|
ref: r,
|
|
1915
1918
|
props: l,
|
|
1916
1919
|
// Record the component responsible for creating this element.
|
|
1917
|
-
_owner:
|
|
1920
|
+
_owner: p
|
|
1918
1921
|
};
|
|
1919
1922
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1920
1923
|
configurable: !1,
|
|
@@ -1935,39 +1938,39 @@ function Mr() {
|
|
|
1935
1938
|
};
|
|
1936
1939
|
function rt(e, t, r, a, f) {
|
|
1937
1940
|
{
|
|
1938
|
-
var
|
|
1939
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
1940
|
-
for (
|
|
1941
|
-
X.call(t,
|
|
1941
|
+
var p, l = {}, _ = null, D = null;
|
|
1942
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
1943
|
+
for (p in t)
|
|
1944
|
+
X.call(t, p) && !Je.hasOwnProperty(p) && (l[p] = t[p]);
|
|
1942
1945
|
if (e && e.defaultProps) {
|
|
1943
1946
|
var w = e.defaultProps;
|
|
1944
|
-
for (
|
|
1945
|
-
l[
|
|
1947
|
+
for (p in w)
|
|
1948
|
+
l[p] === void 0 && (l[p] = w[p]);
|
|
1946
1949
|
}
|
|
1947
|
-
if (_ ||
|
|
1950
|
+
if (_ || D) {
|
|
1948
1951
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1949
|
-
_ && Qe(l, j),
|
|
1952
|
+
_ && Qe(l, j), D && et(l, j);
|
|
1950
1953
|
}
|
|
1951
|
-
return tt(e, _,
|
|
1954
|
+
return tt(e, _, D, f, a, Ee.current, l);
|
|
1952
1955
|
}
|
|
1953
1956
|
}
|
|
1954
1957
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
1955
|
-
function
|
|
1958
|
+
function J(e) {
|
|
1956
1959
|
if (e) {
|
|
1957
1960
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1958
1961
|
De.setExtraStackFrame(r);
|
|
1959
1962
|
} else
|
|
1960
1963
|
De.setExtraStackFrame(null);
|
|
1961
1964
|
}
|
|
1962
|
-
var
|
|
1963
|
-
|
|
1964
|
-
function
|
|
1965
|
+
var me;
|
|
1966
|
+
me = !1;
|
|
1967
|
+
function pe(e) {
|
|
1965
1968
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1966
1969
|
}
|
|
1967
1970
|
function Pe() {
|
|
1968
1971
|
{
|
|
1969
1972
|
if (fe.current) {
|
|
1970
|
-
var e =
|
|
1973
|
+
var e = b(fe.current.type);
|
|
1971
1974
|
if (e)
|
|
1972
1975
|
return `
|
|
1973
1976
|
|
|
@@ -2002,7 +2005,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2002
2005
|
return;
|
|
2003
2006
|
Ne[r] = !0;
|
|
2004
2007
|
var a = "";
|
|
2005
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
2008
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), m('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);
|
|
2006
2009
|
}
|
|
2007
2010
|
}
|
|
2008
2011
|
function Ie(e, t) {
|
|
@@ -2012,15 +2015,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2012
2015
|
if (de(e))
|
|
2013
2016
|
for (var r = 0; r < e.length; r++) {
|
|
2014
2017
|
var a = e[r];
|
|
2015
|
-
|
|
2018
|
+
pe(a) && Fe(a, t);
|
|
2016
2019
|
}
|
|
2017
|
-
else if (
|
|
2020
|
+
else if (pe(e))
|
|
2018
2021
|
e._store && (e._store.validated = !0);
|
|
2019
2022
|
else if (e) {
|
|
2020
2023
|
var f = $(e);
|
|
2021
2024
|
if (typeof f == "function" && f !== e.entries)
|
|
2022
|
-
for (var
|
|
2023
|
-
|
|
2025
|
+
for (var p = f.call(e), l; !(l = p.next()).done; )
|
|
2026
|
+
pe(l.value) && Fe(l.value, t);
|
|
2024
2027
|
}
|
|
2025
2028
|
}
|
|
2026
2029
|
}
|
|
@@ -2039,14 +2042,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2039
2042
|
else
|
|
2040
2043
|
return;
|
|
2041
2044
|
if (r) {
|
|
2042
|
-
var a =
|
|
2045
|
+
var a = b(t);
|
|
2043
2046
|
Ye(r, e.props, "prop", a, e);
|
|
2044
|
-
} else if (t.PropTypes !== void 0 && !
|
|
2045
|
-
|
|
2046
|
-
var f =
|
|
2047
|
-
|
|
2047
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
2048
|
+
me = !0;
|
|
2049
|
+
var f = b(t);
|
|
2050
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
2048
2051
|
}
|
|
2049
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
2052
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2050
2053
|
}
|
|
2051
2054
|
}
|
|
2052
2055
|
function it(e) {
|
|
@@ -2054,26 +2057,26 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2054
2057
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2055
2058
|
var a = t[r];
|
|
2056
2059
|
if (a !== "children" && a !== "key") {
|
|
2057
|
-
|
|
2060
|
+
J(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
2058
2061
|
break;
|
|
2059
2062
|
}
|
|
2060
2063
|
}
|
|
2061
|
-
e.ref !== null && (
|
|
2064
|
+
e.ref !== null && (J(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
2062
2065
|
}
|
|
2063
2066
|
}
|
|
2064
2067
|
var Me = {};
|
|
2065
|
-
function $e(e, t, r, a, f,
|
|
2068
|
+
function $e(e, t, r, a, f, p) {
|
|
2066
2069
|
{
|
|
2067
|
-
var l =
|
|
2070
|
+
var l = U(e);
|
|
2068
2071
|
if (!l) {
|
|
2069
2072
|
var _ = "";
|
|
2070
2073
|
(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.");
|
|
2071
|
-
var
|
|
2072
|
-
|
|
2074
|
+
var D = at();
|
|
2075
|
+
D ? _ += D : _ += Pe();
|
|
2073
2076
|
var w;
|
|
2074
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (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, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
2075
2078
|
}
|
|
2076
|
-
var j = rt(e, t, r, f,
|
|
2079
|
+
var j = rt(e, t, r, f, p);
|
|
2077
2080
|
if (j == null)
|
|
2078
2081
|
return j;
|
|
2079
2082
|
if (l) {
|
|
@@ -2081,21 +2084,21 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2081
2084
|
if (B !== void 0)
|
|
2082
2085
|
if (a)
|
|
2083
2086
|
if (de(B)) {
|
|
2084
|
-
for (var
|
|
2085
|
-
Ie(B[
|
|
2087
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
2088
|
+
Ie(B[Z], e);
|
|
2086
2089
|
Object.freeze && Object.freeze(B);
|
|
2087
2090
|
} else
|
|
2088
|
-
|
|
2091
|
+
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2089
2092
|
else
|
|
2090
2093
|
Ie(B, e);
|
|
2091
2094
|
}
|
|
2092
2095
|
if (X.call(t, "key")) {
|
|
2093
|
-
var z =
|
|
2096
|
+
var z = b(e), F = Object.keys(t).filter(function(dt) {
|
|
2094
2097
|
return dt !== "key";
|
|
2095
2098
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2096
2099
|
if (!Me[z + ye]) {
|
|
2097
2100
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
2098
|
-
|
|
2101
|
+
m(`A props object containing a "key" prop is being spread into JSX:
|
|
2099
2102
|
let props = %s;
|
|
2100
2103
|
<%s {...props} />
|
|
2101
2104
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -2113,21 +2116,21 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2113
2116
|
return $e(e, t, r, !1);
|
|
2114
2117
|
}
|
|
2115
2118
|
var lt = st, ct = _t;
|
|
2116
|
-
|
|
2117
|
-
}()),
|
|
2119
|
+
wt.Fragment = u, wt.jsx = lt, wt.jsxs = ct;
|
|
2120
|
+
}()), wt;
|
|
2118
2121
|
}
|
|
2119
|
-
process.env.NODE_ENV === "production" ? Pt.exports =
|
|
2122
|
+
process.env.NODE_ENV === "production" ? Pt.exports = Mr() : Pt.exports = $r();
|
|
2120
2123
|
var Et = Pt.exports;
|
|
2121
|
-
const
|
|
2122
|
-
btn:
|
|
2123
|
-
confirm:
|
|
2124
|
-
cancel:
|
|
2125
|
-
action:
|
|
2126
|
-
disabled:
|
|
2124
|
+
const Ar = "_btn_1k1b3_1", Br = "_confirm_1k1b3_15", Lr = "_cancel_1k1b3_20", Wr = "_action_1k1b3_25", Ur = "_disabled_1k1b3_30", Kr = "_m_1k1b3_44", qr = "_l_1k1b3_48", jt = {
|
|
2125
|
+
btn: Ar,
|
|
2126
|
+
confirm: Br,
|
|
2127
|
+
cancel: Lr,
|
|
2128
|
+
action: Wr,
|
|
2129
|
+
disabled: Ur,
|
|
2127
2130
|
await: "_await_1k1b3_37",
|
|
2128
|
-
m:
|
|
2129
|
-
l:
|
|
2130
|
-
},
|
|
2131
|
+
m: Kr,
|
|
2132
|
+
l: qr
|
|
2133
|
+
}, Yr = ({
|
|
2131
2134
|
onClick: n,
|
|
2132
2135
|
onSend: i,
|
|
2133
2136
|
size: c = "m",
|
|
@@ -2141,25 +2144,25 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
|
|
|
2141
2144
|
onRef: o,
|
|
2142
2145
|
awaitText: d = "Ожидайте"
|
|
2143
2146
|
}) => {
|
|
2144
|
-
let [
|
|
2147
|
+
let [k, S] = W.useState(!1);
|
|
2145
2148
|
const N = ($) => {
|
|
2146
2149
|
if (n) return n();
|
|
2147
|
-
|
|
2150
|
+
k || (i ? (S(!0), i(S)) : $.preventDefault());
|
|
2148
2151
|
};
|
|
2149
2152
|
let A = {};
|
|
2150
|
-
return (C ||
|
|
2153
|
+
return (C || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2151
2154
|
"button",
|
|
2152
2155
|
{
|
|
2153
2156
|
...A,
|
|
2154
2157
|
ref: o,
|
|
2155
2158
|
className: [
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
c &&
|
|
2159
|
+
jt.btn,
|
|
2160
|
+
k ? jt.disabled : jt[u],
|
|
2161
|
+
c && jt[c],
|
|
2159
2162
|
T
|
|
2160
2163
|
].filter(($) => $ != "").join(" "),
|
|
2161
2164
|
onClick: N,
|
|
2162
|
-
children:
|
|
2165
|
+
children: k ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2163
2166
|
s || "",
|
|
2164
2167
|
" ",
|
|
2165
2168
|
g,
|
|
@@ -2170,49 +2173,49 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
|
|
|
2170
2173
|
);
|
|
2171
2174
|
};
|
|
2172
2175
|
let Ae = {};
|
|
2173
|
-
function
|
|
2174
|
-
return /* @__PURE__ */
|
|
2176
|
+
function Gr({ children: n }) {
|
|
2177
|
+
return /* @__PURE__ */ H.jsx(H.Fragment, { children: n });
|
|
2175
2178
|
}
|
|
2176
|
-
var
|
|
2179
|
+
var Ct;
|
|
2177
2180
|
((n) => {
|
|
2178
2181
|
function i({
|
|
2179
2182
|
import_modules: o
|
|
2180
2183
|
}) {
|
|
2181
|
-
let [d,
|
|
2184
|
+
let [d, k] = W.useState([]);
|
|
2182
2185
|
return Ae.x = (S) => {
|
|
2183
|
-
|
|
2186
|
+
k(S ? d.filter((N) => N.key !== S) : []);
|
|
2184
2187
|
}, Jt(() => {
|
|
2185
2188
|
o && (Ae.i = o);
|
|
2186
2189
|
}, []), Ae.add = (S, N = Date.now()) => {
|
|
2187
|
-
|
|
2188
|
-
}, /* @__PURE__ */
|
|
2190
|
+
k([...d, { key: N, item: S }]);
|
|
2191
|
+
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((S) => S.item) });
|
|
2189
2192
|
}
|
|
2190
2193
|
n.Init = i;
|
|
2191
2194
|
function c(o) {
|
|
2192
2195
|
return o && (Ae.i = o), Ae.i;
|
|
2193
2196
|
}
|
|
2194
|
-
n.Import = c, n.List =
|
|
2195
|
-
function u(o, d,
|
|
2197
|
+
n.Import = c, n.List = Tr, n.Scroll = Dr, n.Form = Pr, n.Center = Nr, n.Column = Fr;
|
|
2198
|
+
function u(o, d, k) {
|
|
2196
2199
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2197
|
-
S.default.Open(
|
|
2200
|
+
S.default.Open(k);
|
|
2198
2201
|
}) : Wt()(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2199
|
-
S.default.Open(
|
|
2202
|
+
S.default.Open(k);
|
|
2200
2203
|
});
|
|
2201
2204
|
}
|
|
2202
2205
|
n.Open = u;
|
|
2203
|
-
function v({ type: o, name: d, params:
|
|
2204
|
-
let [S, N] =
|
|
2205
|
-
return
|
|
2206
|
+
function v({ type: o, name: d, params: k }) {
|
|
2207
|
+
let [S, N] = W.useState(null);
|
|
2208
|
+
return W.useEffect(() => {
|
|
2206
2209
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2207
|
-
N(A.default.Icon(
|
|
2210
|
+
N(A.default.Icon(k));
|
|
2208
2211
|
}) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2209
|
-
N(A.default.Icon(
|
|
2212
|
+
N(A.default.Icon(k));
|
|
2210
2213
|
});
|
|
2211
|
-
}, [
|
|
2214
|
+
}, [k.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: S });
|
|
2212
2215
|
}
|
|
2213
2216
|
n.Icon = v;
|
|
2214
2217
|
function C(o, d) {
|
|
2215
|
-
Ae.add(/* @__PURE__ */
|
|
2218
|
+
Ae.add(/* @__PURE__ */ H.jsx(Gr, { children: o }, String(Date.now())), d);
|
|
2216
2219
|
}
|
|
2217
2220
|
n.Add = C;
|
|
2218
2221
|
function T(o) {
|
|
@@ -2228,55 +2231,55 @@ var xt;
|
|
|
2228
2231
|
}
|
|
2229
2232
|
n.Shake = x;
|
|
2230
2233
|
function s(o, d) {
|
|
2231
|
-
const
|
|
2234
|
+
const k = (S) => {
|
|
2232
2235
|
n.Add(
|
|
2233
|
-
/* @__PURE__ */
|
|
2236
|
+
/* @__PURE__ */ H.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
|
|
2234
2237
|
);
|
|
2235
2238
|
};
|
|
2236
2239
|
return {
|
|
2237
|
-
Icon: (S) => /* @__PURE__ */
|
|
2238
|
-
Open:
|
|
2240
|
+
Icon: (S) => /* @__PURE__ */ H.jsx("i", { onClick: () => k(S), children: d && /* @__PURE__ */ H.jsx(d, {}) }),
|
|
2241
|
+
Open: k
|
|
2239
2242
|
};
|
|
2240
2243
|
}
|
|
2241
2244
|
n.Create = s;
|
|
2242
2245
|
function g({
|
|
2243
2246
|
title: o,
|
|
2244
2247
|
children: d,
|
|
2245
|
-
button:
|
|
2248
|
+
button: k,
|
|
2246
2249
|
tabs: S,
|
|
2247
2250
|
size: N = "m",
|
|
2248
2251
|
className: A = "",
|
|
2249
2252
|
shake: $ = !0,
|
|
2250
2253
|
menu: O
|
|
2251
2254
|
}) {
|
|
2252
|
-
const [
|
|
2253
|
-
if (
|
|
2254
|
-
if (
|
|
2255
|
-
return q(!1),
|
|
2256
|
-
if (
|
|
2257
|
-
return
|
|
2258
|
-
setOpen:
|
|
2255
|
+
const [m, I] = W.useState(!0), K = W.useRef(), G = (q) => {
|
|
2256
|
+
if (k) {
|
|
2257
|
+
if (k.onClick)
|
|
2258
|
+
return q(!1), k.onClick({ setOpen: I });
|
|
2259
|
+
if (k.onSend)
|
|
2260
|
+
return k.onSend({
|
|
2261
|
+
setOpen: I,
|
|
2259
2262
|
disabled: q
|
|
2260
2263
|
});
|
|
2261
2264
|
}
|
|
2262
2265
|
}, L = () => {
|
|
2263
|
-
if (!$) return
|
|
2266
|
+
if (!$) return I(!1);
|
|
2264
2267
|
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2265
2268
|
K.current.setAttribute("shake", !1);
|
|
2266
2269
|
}, 1e3);
|
|
2267
2270
|
};
|
|
2268
|
-
return
|
|
2269
|
-
/* @__PURE__ */
|
|
2270
|
-
/* @__PURE__ */
|
|
2271
|
+
return m ? /* @__PURE__ */ H.jsxs("div", { className: `${_e.modal}`, children: [
|
|
2272
|
+
/* @__PURE__ */ H.jsx("div", { className: _e.o, onClick: L }),
|
|
2273
|
+
/* @__PURE__ */ H.jsxs(
|
|
2271
2274
|
"div",
|
|
2272
2275
|
{
|
|
2273
2276
|
className: [_e.w, _e[`s${N}`], A].filter((q) => q != "").join(" "),
|
|
2274
2277
|
ref: K,
|
|
2275
2278
|
children: [
|
|
2276
|
-
/* @__PURE__ */
|
|
2277
|
-
/* @__PURE__ */
|
|
2278
|
-
/* @__PURE__ */
|
|
2279
|
-
S && /* @__PURE__ */
|
|
2279
|
+
/* @__PURE__ */ H.jsxs("div", { className: _e.h, children: [
|
|
2280
|
+
/* @__PURE__ */ H.jsx("div", { className: _e.t, children: o }),
|
|
2281
|
+
/* @__PURE__ */ H.jsxs("div", { className: _e.m, children: [
|
|
2282
|
+
S && /* @__PURE__ */ H.jsx("nav", { children: S.map((q, E) => /* @__PURE__ */ H.jsx(
|
|
2280
2283
|
"span",
|
|
2281
2284
|
{
|
|
2282
2285
|
onClick: q.onClick,
|
|
@@ -2287,14 +2290,14 @@ var xt;
|
|
|
2287
2290
|
)) }),
|
|
2288
2291
|
O
|
|
2289
2292
|
] }),
|
|
2290
|
-
/* @__PURE__ */
|
|
2293
|
+
/* @__PURE__ */ H.jsx(
|
|
2291
2294
|
"div",
|
|
2292
2295
|
{
|
|
2293
2296
|
className: _e.x,
|
|
2294
2297
|
onClick: () => {
|
|
2295
|
-
|
|
2298
|
+
I(!1);
|
|
2296
2299
|
},
|
|
2297
|
-
children: /* @__PURE__ */
|
|
2300
|
+
children: /* @__PURE__ */ H.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ H.jsx(
|
|
2298
2301
|
"path",
|
|
2299
2302
|
{
|
|
2300
2303
|
d: "M20 5L5 20M5 5L20 20",
|
|
@@ -2308,13 +2311,13 @@ var xt;
|
|
|
2308
2311
|
)
|
|
2309
2312
|
] }),
|
|
2310
2313
|
d,
|
|
2311
|
-
|
|
2312
|
-
|
|
2314
|
+
k && /* @__PURE__ */ H.jsx("div", { className: _e.b, children: /* @__PURE__ */ H.jsx(
|
|
2315
|
+
Yr,
|
|
2313
2316
|
{
|
|
2314
|
-
label:
|
|
2317
|
+
label: k.label,
|
|
2315
2318
|
onSend: G,
|
|
2316
2319
|
className: _e.btn,
|
|
2317
|
-
size:
|
|
2320
|
+
size: k.size
|
|
2318
2321
|
}
|
|
2319
2322
|
) })
|
|
2320
2323
|
]
|
|
@@ -2323,9 +2326,9 @@ var xt;
|
|
|
2323
2326
|
] }) : "";
|
|
2324
2327
|
}
|
|
2325
2328
|
n.Main = g;
|
|
2326
|
-
})(
|
|
2327
|
-
const
|
|
2328
|
-
function
|
|
2329
|
+
})(Ct || (Ct = {}));
|
|
2330
|
+
const zr = (n, i = ",") => (n = n !== void 0 && n !== "" ? n.split(i) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
2331
|
+
function ba({
|
|
2329
2332
|
value: n,
|
|
2330
2333
|
onValue: i,
|
|
2331
2334
|
name: c,
|
|
@@ -2338,14 +2341,14 @@ function ha({
|
|
|
2338
2341
|
active: g = !0,
|
|
2339
2342
|
outFormat: o = "object",
|
|
2340
2343
|
after: d = "",
|
|
2341
|
-
modal:
|
|
2344
|
+
modal: k,
|
|
2342
2345
|
options: S,
|
|
2343
2346
|
className: N
|
|
2344
2347
|
}) {
|
|
2345
|
-
const [A, $] =
|
|
2346
|
-
if (!(s && g) || !
|
|
2347
|
-
let
|
|
2348
|
-
|
|
2348
|
+
const [A, $] = W.useState(zr(n, v)), O = (m) => {
|
|
2349
|
+
if (!(s && g) || !k) return;
|
|
2350
|
+
let I = k.split(".");
|
|
2351
|
+
Ct.Open(I[0], I[1], {
|
|
2349
2352
|
callback: (K) => {
|
|
2350
2353
|
if (i)
|
|
2351
2354
|
switch (o) {
|
|
@@ -2376,30 +2379,30 @@ function ha({
|
|
|
2376
2379
|
});
|
|
2377
2380
|
};
|
|
2378
2381
|
return x ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
|
|
2379
|
-
|
|
2382
|
+
bt,
|
|
2380
2383
|
{
|
|
2381
2384
|
type: "group",
|
|
2382
2385
|
title: C,
|
|
2383
2386
|
element_blok: { className: [N] },
|
|
2384
2387
|
element_input: {
|
|
2385
|
-
className: [
|
|
2388
|
+
className: [V.g],
|
|
2386
2389
|
props: {
|
|
2387
2390
|
onClick: O
|
|
2388
2391
|
}
|
|
2389
2392
|
},
|
|
2390
|
-
children: Object.keys(A).map((
|
|
2391
|
-
var
|
|
2392
|
-
return /* @__PURE__ */ y.jsx("div", { children: (
|
|
2393
|
+
children: Object.keys(A).map((m) => {
|
|
2394
|
+
var I;
|
|
2395
|
+
return /* @__PURE__ */ y.jsx("div", { children: (I = S[m]) == null ? void 0 : I.label }, m);
|
|
2393
2396
|
})
|
|
2394
2397
|
}
|
|
2395
2398
|
);
|
|
2396
2399
|
}
|
|
2397
|
-
const
|
|
2398
|
-
o:
|
|
2399
|
-
l:
|
|
2400
|
-
f:
|
|
2400
|
+
const Hr = "_o_1wehm_12", Jr = "_l_1wehm_22", Zr = "_f_1wehm_81", Nt = {
|
|
2401
|
+
o: Hr,
|
|
2402
|
+
l: Jr,
|
|
2403
|
+
f: Zr
|
|
2401
2404
|
};
|
|
2402
|
-
function
|
|
2405
|
+
function ka({
|
|
2403
2406
|
title: n,
|
|
2404
2407
|
error: i,
|
|
2405
2408
|
edit: c = !0,
|
|
@@ -2412,40 +2415,43 @@ function ba({
|
|
|
2412
2415
|
className: g,
|
|
2413
2416
|
isIcon: o = !0,
|
|
2414
2417
|
name: d,
|
|
2415
|
-
after:
|
|
2418
|
+
after: k,
|
|
2416
2419
|
view: S,
|
|
2417
2420
|
order: N,
|
|
2418
2421
|
isReload: A = !1
|
|
2419
2422
|
}) {
|
|
2420
|
-
var
|
|
2421
|
-
const $ =
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
}, [C, x]), v = !!(v && (C === 0 || ((
|
|
2425
|
-
let E = (
|
|
2426
|
-
|
|
2427
|
-
}
|
|
2428
|
-
|
|
2429
|
-
|
|
2423
|
+
var R, h;
|
|
2424
|
+
const $ = W.useRef(null), [O, m] = W.useState(C), [I, K] = W.useState(x), [G, L] = W.useState(!1);
|
|
2425
|
+
W.useEffect(() => {
|
|
2426
|
+
m(C), K(x);
|
|
2427
|
+
}, [C, x]), v = !!(v && (C === 0 || ((R = I == null ? void 0 : I[C]) == null ? void 0 : R.n) === void 0)) && !(c && u);
|
|
2428
|
+
let E = (b) => {
|
|
2429
|
+
m(b), T && T({ value: b, name: d, reload: A });
|
|
2430
|
+
}, P = (b) => {
|
|
2431
|
+
Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
|
|
2432
|
+
}, U = {};
|
|
2433
|
+
return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ y.jsxs(
|
|
2434
|
+
bt,
|
|
2430
2435
|
{
|
|
2431
2436
|
type: "select",
|
|
2432
2437
|
title: n,
|
|
2433
2438
|
element_blok: { className: [g] },
|
|
2434
2439
|
element_input: {
|
|
2435
2440
|
className: [Nt.f],
|
|
2436
|
-
|
|
2441
|
+
props: { onClick: P }
|
|
2437
2442
|
},
|
|
2443
|
+
ref: $,
|
|
2438
2444
|
children: [
|
|
2439
|
-
/* @__PURE__ */ y.jsx("div", { children: (
|
|
2445
|
+
/* @__PURE__ */ y.jsx("div", { ...U, children: (h = I == null ? void 0 : I[O]) == null ? void 0 : h.n }),
|
|
2440
2446
|
G && Mt(
|
|
2441
2447
|
/* @__PURE__ */ y.jsx(
|
|
2442
|
-
|
|
2448
|
+
Vr,
|
|
2443
2449
|
{
|
|
2444
2450
|
parent: $.position,
|
|
2445
2451
|
onValue: E,
|
|
2446
2452
|
view: S,
|
|
2447
2453
|
className: g,
|
|
2448
|
-
options:
|
|
2454
|
+
options: I,
|
|
2449
2455
|
order: N,
|
|
2450
2456
|
setOpen: L
|
|
2451
2457
|
},
|
|
@@ -2457,7 +2463,7 @@ function ba({
|
|
|
2457
2463
|
}
|
|
2458
2464
|
);
|
|
2459
2465
|
}
|
|
2460
|
-
const
|
|
2466
|
+
const Vr = ({
|
|
2461
2467
|
onValue: n,
|
|
2462
2468
|
parent: i,
|
|
2463
2469
|
className: c,
|
|
@@ -2488,11 +2494,11 @@ const Zr = ({
|
|
|
2488
2494
|
left: g + "px",
|
|
2489
2495
|
width: i.width
|
|
2490
2496
|
},
|
|
2491
|
-
children: /* @__PURE__ */ y.jsx(
|
|
2497
|
+
children: /* @__PURE__ */ y.jsx(Xr, { order: v, options: u, link: x })
|
|
2492
2498
|
}
|
|
2493
2499
|
)
|
|
2494
2500
|
] });
|
|
2495
|
-
},
|
|
2501
|
+
}, Xr = ({ order: n, options: i, link: c }) => n ? /* @__PURE__ */ y.jsx("ul", { children: n.map(
|
|
2496
2502
|
(u, v) => i[u].s !== 0 ? /* @__PURE__ */ y.jsx(
|
|
2497
2503
|
"li",
|
|
2498
2504
|
{
|
|
@@ -2515,7 +2521,7 @@ const Zr = ({
|
|
|
2515
2521
|
v
|
|
2516
2522
|
) : ""
|
|
2517
2523
|
) });
|
|
2518
|
-
function
|
|
2524
|
+
function wa({
|
|
2519
2525
|
value: n,
|
|
2520
2526
|
onValue: i,
|
|
2521
2527
|
name: c,
|
|
@@ -2528,15 +2534,15 @@ function ka({
|
|
|
2528
2534
|
active: g = !0,
|
|
2529
2535
|
after: o = "",
|
|
2530
2536
|
view: d,
|
|
2531
|
-
modal:
|
|
2537
|
+
modal: k,
|
|
2532
2538
|
module: S,
|
|
2533
2539
|
options: N,
|
|
2534
2540
|
className: A
|
|
2535
2541
|
}) {
|
|
2536
|
-
let [$, O] =
|
|
2537
|
-
if (!(x && g) || !
|
|
2538
|
-
let L =
|
|
2539
|
-
|
|
2542
|
+
let [$, O] = W.useState(n), m = (G) => {
|
|
2543
|
+
if (!(x && g) || !k) return;
|
|
2544
|
+
let L = k.split(".");
|
|
2545
|
+
Ct.Open(L[0], L[1], {
|
|
2540
2546
|
callback: (q) => {
|
|
2541
2547
|
i && i({ value: q, name: c }), O(q);
|
|
2542
2548
|
},
|
|
@@ -2546,16 +2552,16 @@ function ka({
|
|
|
2546
2552
|
value: n
|
|
2547
2553
|
});
|
|
2548
2554
|
};
|
|
2549
|
-
const
|
|
2550
|
-
|
|
2555
|
+
const I = {};
|
|
2556
|
+
I.field = "input", A && (I.className = A);
|
|
2551
2557
|
const K = {};
|
|
2552
|
-
return u && (K.placeholder = u), T ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs("dl", { ...
|
|
2558
|
+
return u && (K.placeholder = u), T ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs("dl", { ...I, children: [
|
|
2553
2559
|
v && /* @__PURE__ */ y.jsx("dt", { children: v }),
|
|
2554
2560
|
/* @__PURE__ */ y.jsx(
|
|
2555
2561
|
"dd",
|
|
2556
2562
|
{
|
|
2557
2563
|
...K,
|
|
2558
|
-
onClick:
|
|
2564
|
+
onClick: m,
|
|
2559
2565
|
edit: (x && g) + "",
|
|
2560
2566
|
"data-after": o,
|
|
2561
2567
|
children: $
|
|
@@ -2564,7 +2570,7 @@ function ka({
|
|
|
2564
2570
|
C && /* @__PURE__ */ y.jsx("em", { children: C })
|
|
2565
2571
|
] });
|
|
2566
2572
|
}
|
|
2567
|
-
function
|
|
2573
|
+
function ja({
|
|
2568
2574
|
value: n,
|
|
2569
2575
|
onValue: i,
|
|
2570
2576
|
onSave: c,
|
|
@@ -2577,33 +2583,33 @@ function wa({
|
|
|
2577
2583
|
active: g = !0,
|
|
2578
2584
|
reload: o = !1,
|
|
2579
2585
|
native: d = !1,
|
|
2580
|
-
isShow:
|
|
2586
|
+
isShow: k = !1,
|
|
2581
2587
|
maxLength: S,
|
|
2582
2588
|
eyes: N = [],
|
|
2583
2589
|
after: A = ""
|
|
2584
2590
|
}) {
|
|
2585
|
-
const [$, O] =
|
|
2586
|
-
let
|
|
2591
|
+
const [$, O] = W.useState(k);
|
|
2592
|
+
let m = (E) => {
|
|
2587
2593
|
i && i({
|
|
2588
2594
|
value: E.target.textContent,
|
|
2589
2595
|
name: u,
|
|
2590
2596
|
reload: o
|
|
2591
2597
|
});
|
|
2592
|
-
},
|
|
2598
|
+
}, I = (E) => {
|
|
2593
2599
|
E.key === "Enter" && E.preventDefault();
|
|
2594
2600
|
}, K = (E) => {
|
|
2595
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
2601
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
2596
2602
|
if (S) {
|
|
2597
|
-
let
|
|
2598
|
-
if (
|
|
2599
|
-
S -=
|
|
2603
|
+
let U = E.target.textContent.length;
|
|
2604
|
+
if (U >= S) return;
|
|
2605
|
+
S -= U, P = P.slice(0, S);
|
|
2600
2606
|
}
|
|
2601
2607
|
window.document.execCommand(
|
|
2602
2608
|
"insertText",
|
|
2603
2609
|
!1,
|
|
2604
|
-
|
|
2610
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2605
2611
|
);
|
|
2606
|
-
}).catch((
|
|
2612
|
+
}).catch((P) => {
|
|
2607
2613
|
});
|
|
2608
2614
|
}, G = (E) => {
|
|
2609
2615
|
te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
|
|
@@ -2617,8 +2623,8 @@ function wa({
|
|
|
2617
2623
|
"dd",
|
|
2618
2624
|
{
|
|
2619
2625
|
onPaste: K,
|
|
2620
|
-
onInput:
|
|
2621
|
-
onKeyDown:
|
|
2626
|
+
onInput: m,
|
|
2627
|
+
onKeyDown: I,
|
|
2622
2628
|
onBlur: G,
|
|
2623
2629
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
2624
2630
|
...q,
|
|
@@ -2631,7 +2637,7 @@ function wa({
|
|
|
2631
2637
|
x ? /* @__PURE__ */ y.jsx("em", { children: x }) : ""
|
|
2632
2638
|
] });
|
|
2633
2639
|
}
|
|
2634
|
-
function
|
|
2640
|
+
function xa({
|
|
2635
2641
|
onValue: n,
|
|
2636
2642
|
onSave: i,
|
|
2637
2643
|
active: c,
|
|
@@ -2644,51 +2650,51 @@ function ja({
|
|
|
2644
2650
|
value: g,
|
|
2645
2651
|
placeholder: o,
|
|
2646
2652
|
className: d,
|
|
2647
|
-
maxLength:
|
|
2653
|
+
maxLength: k,
|
|
2648
2654
|
name: S,
|
|
2649
2655
|
after: N = "",
|
|
2650
2656
|
before: A = "",
|
|
2651
2657
|
view: $
|
|
2652
2658
|
}) {
|
|
2653
2659
|
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;
|
|
2654
|
-
let
|
|
2655
|
-
n == null || n({ value:
|
|
2656
|
-
}, K = (
|
|
2657
|
-
if (!(
|
|
2658
|
-
if (
|
|
2659
|
-
|
|
2660
|
-
}
|
|
2661
|
-
}, G = (
|
|
2662
|
-
if (
|
|
2663
|
-
}, L = (
|
|
2664
|
-
|
|
2665
|
-
if (
|
|
2666
|
-
let R =
|
|
2667
|
-
if (R >=
|
|
2668
|
-
|
|
2660
|
+
let m = !1, I = (P) => {
|
|
2661
|
+
n == null || n({ value: P.target.textContent, name: S });
|
|
2662
|
+
}, K = (P) => {
|
|
2663
|
+
if (!(m && P.which === 86)) {
|
|
2664
|
+
if (P.which === 17 || P.which === 91) return m = !0;
|
|
2665
|
+
P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
|
|
2666
|
+
}
|
|
2667
|
+
}, G = (P) => {
|
|
2668
|
+
if (P.which === 17 || P.which === 91) return m = !1;
|
|
2669
|
+
}, L = (P) => {
|
|
2670
|
+
P.preventDefault(), navigator.clipboard.readText().then((U) => {
|
|
2671
|
+
if (U = U.replace(/(?!^\+|\d)./g, ""), k) {
|
|
2672
|
+
let R = P.target.textContent.length;
|
|
2673
|
+
if (R >= k) return;
|
|
2674
|
+
k -= R, U = U.slice(0, k);
|
|
2669
2675
|
}
|
|
2670
|
-
window.document.execCommand("insertText", !1, "" +
|
|
2671
|
-
}).catch((
|
|
2676
|
+
window.document.execCommand("insertText", !1, "" + U);
|
|
2677
|
+
}).catch((U) => {
|
|
2672
2678
|
});
|
|
2673
2679
|
};
|
|
2674
|
-
const q = (
|
|
2675
|
-
te.Blur(
|
|
2680
|
+
const q = (P) => {
|
|
2681
|
+
te.Blur(P), i == null || i({ value: P.target.textContent, name: S });
|
|
2676
2682
|
};
|
|
2677
2683
|
let E = {};
|
|
2678
2684
|
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(
|
|
2679
2685
|
"dl",
|
|
2680
2686
|
{
|
|
2681
2687
|
"data-field": "input",
|
|
2682
|
-
className: [
|
|
2688
|
+
className: [V.l, d].filter((P) => P !== void 0).join(" "),
|
|
2683
2689
|
children: [
|
|
2684
|
-
C ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
2690
|
+
C ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: C }) : "",
|
|
2685
2691
|
A,
|
|
2686
2692
|
/* @__PURE__ */ y.jsx(
|
|
2687
2693
|
"dd",
|
|
2688
2694
|
{
|
|
2689
|
-
className: [
|
|
2695
|
+
className: [V.f, V.w].join(" "),
|
|
2690
2696
|
onPaste: L,
|
|
2691
|
-
onInput:
|
|
2697
|
+
onInput: I,
|
|
2692
2698
|
onBlur: q,
|
|
2693
2699
|
onKeyDown: K,
|
|
2694
2700
|
onKeyUp: G,
|
|
@@ -2714,20 +2720,20 @@ var Ft = { exports: {} }, gt = {};
|
|
|
2714
2720
|
* LICENSE file in the root directory of this source tree.
|
|
2715
2721
|
*/
|
|
2716
2722
|
var qt;
|
|
2717
|
-
function
|
|
2723
|
+
function Qr() {
|
|
2718
2724
|
if (qt) return gt;
|
|
2719
2725
|
qt = 1;
|
|
2720
|
-
var n =
|
|
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, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2721
2727
|
function T(x, s, g) {
|
|
2722
|
-
var o, d = {},
|
|
2723
|
-
g !== void 0 && (
|
|
2728
|
+
var o, d = {}, k = null, S = null;
|
|
2729
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
2724
2730
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2725
2731
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2726
|
-
return { $$typeof: i, type: x, key:
|
|
2732
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
2727
2733
|
}
|
|
2728
2734
|
return gt.Fragment = c, gt.jsx = T, gt.jsxs = T, gt;
|
|
2729
2735
|
}
|
|
2730
|
-
var
|
|
2736
|
+
var xt = {};
|
|
2731
2737
|
/**
|
|
2732
2738
|
* @license React
|
|
2733
2739
|
* react-jsx-runtime.development.js
|
|
@@ -2738,9 +2744,9 @@ var jt = {};
|
|
|
2738
2744
|
* LICENSE file in the root directory of this source tree.
|
|
2739
2745
|
*/
|
|
2740
2746
|
var Yt;
|
|
2741
|
-
function
|
|
2747
|
+
function ea() {
|
|
2742
2748
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2743
|
-
var n =
|
|
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"), C = Symbol.for("react.profiler"), T = 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"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
2744
2750
|
function $(e) {
|
|
2745
2751
|
if (e === null || typeof e != "object")
|
|
2746
2752
|
return null;
|
|
@@ -2748,31 +2754,31 @@ function Qr() {
|
|
|
2748
2754
|
return typeof t == "function" ? t : null;
|
|
2749
2755
|
}
|
|
2750
2756
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2751
|
-
function
|
|
2757
|
+
function m(e) {
|
|
2752
2758
|
{
|
|
2753
2759
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
2754
2760
|
r[a - 1] = arguments[a];
|
|
2755
|
-
|
|
2761
|
+
I("error", e, r);
|
|
2756
2762
|
}
|
|
2757
2763
|
}
|
|
2758
|
-
function
|
|
2764
|
+
function I(e, t, r) {
|
|
2759
2765
|
{
|
|
2760
2766
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
2761
2767
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
2762
|
-
var
|
|
2768
|
+
var p = r.map(function(l) {
|
|
2763
2769
|
return String(l);
|
|
2764
2770
|
});
|
|
2765
|
-
|
|
2771
|
+
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
2766
2772
|
}
|
|
2767
2773
|
}
|
|
2768
|
-
var K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
2769
|
-
|
|
2770
|
-
function
|
|
2771
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
2774
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
2775
|
+
P = Symbol.for("react.module.reference");
|
|
2776
|
+
function U(e) {
|
|
2777
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2772
2778
|
// types supported by any Flight configuration anywhere since
|
|
2773
2779
|
// we don't know which Flight build this will end up being used
|
|
2774
2780
|
// with.
|
|
2775
|
-
e.$$typeof ===
|
|
2781
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
2776
2782
|
}
|
|
2777
2783
|
function R(e, t, r) {
|
|
2778
2784
|
var a = e.displayName;
|
|
@@ -2784,10 +2790,10 @@ function Qr() {
|
|
|
2784
2790
|
function h(e) {
|
|
2785
2791
|
return e.displayName || "Context";
|
|
2786
2792
|
}
|
|
2787
|
-
function
|
|
2793
|
+
function b(e) {
|
|
2788
2794
|
if (e == null)
|
|
2789
2795
|
return null;
|
|
2790
|
-
if (typeof e.tag == "number" &&
|
|
2796
|
+
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
2791
2797
|
return e.displayName || e.name || null;
|
|
2792
2798
|
if (typeof e == "string")
|
|
2793
2799
|
return e;
|
|
@@ -2817,11 +2823,11 @@ function Qr() {
|
|
|
2817
2823
|
return R(e, e.render, "ForwardRef");
|
|
2818
2824
|
case d:
|
|
2819
2825
|
var a = e.displayName || null;
|
|
2820
|
-
return a !== null ? a :
|
|
2821
|
-
case
|
|
2822
|
-
var f = e,
|
|
2826
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
2827
|
+
case k: {
|
|
2828
|
+
var f = e, p = f._payload, l = f._init;
|
|
2823
2829
|
try {
|
|
2824
|
-
return
|
|
2830
|
+
return b(l(p));
|
|
2825
2831
|
} catch {
|
|
2826
2832
|
return null;
|
|
2827
2833
|
}
|
|
@@ -2829,7 +2835,7 @@ function Qr() {
|
|
|
2829
2835
|
}
|
|
2830
2836
|
return null;
|
|
2831
2837
|
}
|
|
2832
|
-
var
|
|
2838
|
+
var M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
2833
2839
|
function we() {
|
|
2834
2840
|
}
|
|
2835
2841
|
we.__reactDisabledLog = !0;
|
|
@@ -2865,30 +2871,30 @@ function Qr() {
|
|
|
2865
2871
|
writable: !0
|
|
2866
2872
|
};
|
|
2867
2873
|
Object.defineProperties(console, {
|
|
2868
|
-
log:
|
|
2874
|
+
log: M({}, e, {
|
|
2869
2875
|
value: Q
|
|
2870
2876
|
}),
|
|
2871
|
-
info:
|
|
2877
|
+
info: M({}, e, {
|
|
2872
2878
|
value: ie
|
|
2873
2879
|
}),
|
|
2874
|
-
warn:
|
|
2880
|
+
warn: M({}, e, {
|
|
2875
2881
|
value: se
|
|
2876
2882
|
}),
|
|
2877
|
-
error:
|
|
2883
|
+
error: M({}, e, {
|
|
2878
2884
|
value: ve
|
|
2879
2885
|
}),
|
|
2880
|
-
group:
|
|
2886
|
+
group: M({}, e, {
|
|
2881
2887
|
value: ge
|
|
2882
2888
|
}),
|
|
2883
|
-
groupCollapsed:
|
|
2889
|
+
groupCollapsed: M({}, e, {
|
|
2884
2890
|
value: be
|
|
2885
2891
|
}),
|
|
2886
|
-
groupEnd:
|
|
2892
|
+
groupEnd: M({}, e, {
|
|
2887
2893
|
value: ke
|
|
2888
2894
|
})
|
|
2889
2895
|
});
|
|
2890
2896
|
}
|
|
2891
|
-
Y < 0 &&
|
|
2897
|
+
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2892
2898
|
}
|
|
2893
2899
|
}
|
|
2894
2900
|
var le = O.ReactCurrentDispatcher, ce;
|
|
@@ -2922,8 +2928,8 @@ function Qr() {
|
|
|
2922
2928
|
ue = !0;
|
|
2923
2929
|
var f = Error.prepareStackTrace;
|
|
2924
2930
|
Error.prepareStackTrace = void 0;
|
|
2925
|
-
var
|
|
2926
|
-
|
|
2931
|
+
var p;
|
|
2932
|
+
p = le.current, le.current = null, Le();
|
|
2927
2933
|
try {
|
|
2928
2934
|
if (t) {
|
|
2929
2935
|
var l = function() {
|
|
@@ -2959,14 +2965,14 @@ function Qr() {
|
|
|
2959
2965
|
} catch (F) {
|
|
2960
2966
|
if (F && a && typeof F.stack == "string") {
|
|
2961
2967
|
for (var _ = F.stack.split(`
|
|
2962
|
-
`),
|
|
2963
|
-
`), w = _.length - 1, j =
|
|
2968
|
+
`), D = a.stack.split(`
|
|
2969
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
2964
2970
|
j--;
|
|
2965
2971
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
2966
|
-
if (_[w] !==
|
|
2972
|
+
if (_[w] !== D[j]) {
|
|
2967
2973
|
if (w !== 1 || j !== 1)
|
|
2968
2974
|
do
|
|
2969
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
2975
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
2970
2976
|
var B = `
|
|
2971
2977
|
` + _[w].replace(" at new ", " at ");
|
|
2972
2978
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -2976,9 +2982,9 @@ function Qr() {
|
|
|
2976
2982
|
}
|
|
2977
2983
|
}
|
|
2978
2984
|
} finally {
|
|
2979
|
-
ue = !1, le.current =
|
|
2985
|
+
ue = !1, le.current = p, We(), Error.prepareStackTrace = f;
|
|
2980
2986
|
}
|
|
2981
|
-
var
|
|
2987
|
+
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
2982
2988
|
return typeof e == "function" && ae.set(e, z), z;
|
|
2983
2989
|
}
|
|
2984
2990
|
function Ke(e, t, r) {
|
|
@@ -3007,10 +3013,10 @@ function Qr() {
|
|
|
3007
3013
|
return Ke(e.render);
|
|
3008
3014
|
case d:
|
|
3009
3015
|
return ne(e.type, t, r);
|
|
3010
|
-
case
|
|
3011
|
-
var a = e, f = a._payload,
|
|
3016
|
+
case k: {
|
|
3017
|
+
var a = e, f = a._payload, p = a._init;
|
|
3012
3018
|
try {
|
|
3013
|
-
return ne(
|
|
3019
|
+
return ne(p(f), t, r);
|
|
3014
3020
|
} catch {
|
|
3015
3021
|
}
|
|
3016
3022
|
}
|
|
@@ -3027,20 +3033,20 @@ function Qr() {
|
|
|
3027
3033
|
}
|
|
3028
3034
|
function Ye(e, t, r, a, f) {
|
|
3029
3035
|
{
|
|
3030
|
-
var
|
|
3036
|
+
var p = Function.call.bind(X);
|
|
3031
3037
|
for (var l in e)
|
|
3032
|
-
if (
|
|
3038
|
+
if (p(e, l)) {
|
|
3033
3039
|
var _ = void 0;
|
|
3034
3040
|
try {
|
|
3035
3041
|
if (typeof e[l] != "function") {
|
|
3036
|
-
var
|
|
3037
|
-
throw
|
|
3042
|
+
var D = 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`.");
|
|
3043
|
+
throw D.name = "Invariant Violation", D;
|
|
3038
3044
|
}
|
|
3039
3045
|
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3040
3046
|
} catch (w) {
|
|
3041
3047
|
_ = w;
|
|
3042
3048
|
}
|
|
3043
|
-
_ && !(_ instanceof Error) && (oe(f),
|
|
3049
|
+
_ && !(_ instanceof Error) && (oe(f), m("%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), m("Failed %s type: %s", r, _.message), oe(null));
|
|
3044
3050
|
}
|
|
3045
3051
|
}
|
|
3046
3052
|
}
|
|
@@ -3066,7 +3072,7 @@ function Qr() {
|
|
|
3066
3072
|
}
|
|
3067
3073
|
function Re(e) {
|
|
3068
3074
|
if (He(e))
|
|
3069
|
-
return
|
|
3075
|
+
return m("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);
|
|
3070
3076
|
}
|
|
3071
3077
|
var Ee = O.ReactCurrentOwner, Je = {
|
|
3072
3078
|
key: !0,
|
|
@@ -3096,7 +3102,7 @@ function Qr() {
|
|
|
3096
3102
|
function Qe(e, t) {
|
|
3097
3103
|
{
|
|
3098
3104
|
var r = function() {
|
|
3099
|
-
Oe || (Oe = !0,
|
|
3105
|
+
Oe || (Oe = !0, m("%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));
|
|
3100
3106
|
};
|
|
3101
3107
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
3102
3108
|
get: r,
|
|
@@ -3107,7 +3113,7 @@ function Qr() {
|
|
|
3107
3113
|
function et(e, t) {
|
|
3108
3114
|
{
|
|
3109
3115
|
var r = function() {
|
|
3110
|
-
Te || (Te = !0,
|
|
3116
|
+
Te || (Te = !0, m("%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));
|
|
3111
3117
|
};
|
|
3112
3118
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
3113
3119
|
get: r,
|
|
@@ -3115,7 +3121,7 @@ function Qr() {
|
|
|
3115
3121
|
});
|
|
3116
3122
|
}
|
|
3117
3123
|
}
|
|
3118
|
-
var tt = function(e, t, r, a, f,
|
|
3124
|
+
var tt = function(e, t, r, a, f, p, l) {
|
|
3119
3125
|
var _ = {
|
|
3120
3126
|
// This tag allows us to uniquely identify this as a React Element
|
|
3121
3127
|
$$typeof: i,
|
|
@@ -3125,7 +3131,7 @@ function Qr() {
|
|
|
3125
3131
|
ref: r,
|
|
3126
3132
|
props: l,
|
|
3127
3133
|
// Record the component responsible for creating this element.
|
|
3128
|
-
_owner:
|
|
3134
|
+
_owner: p
|
|
3129
3135
|
};
|
|
3130
3136
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
3131
3137
|
configurable: !1,
|
|
@@ -3146,39 +3152,39 @@ function Qr() {
|
|
|
3146
3152
|
};
|
|
3147
3153
|
function rt(e, t, r, a, f) {
|
|
3148
3154
|
{
|
|
3149
|
-
var
|
|
3150
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
3151
|
-
for (
|
|
3152
|
-
X.call(t,
|
|
3155
|
+
var p, l = {}, _ = null, D = null;
|
|
3156
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
3157
|
+
for (p in t)
|
|
3158
|
+
X.call(t, p) && !Je.hasOwnProperty(p) && (l[p] = t[p]);
|
|
3153
3159
|
if (e && e.defaultProps) {
|
|
3154
3160
|
var w = e.defaultProps;
|
|
3155
|
-
for (
|
|
3156
|
-
l[
|
|
3161
|
+
for (p in w)
|
|
3162
|
+
l[p] === void 0 && (l[p] = w[p]);
|
|
3157
3163
|
}
|
|
3158
|
-
if (_ ||
|
|
3164
|
+
if (_ || D) {
|
|
3159
3165
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3160
|
-
_ && Qe(l, j),
|
|
3166
|
+
_ && Qe(l, j), D && et(l, j);
|
|
3161
3167
|
}
|
|
3162
|
-
return tt(e, _,
|
|
3168
|
+
return tt(e, _, D, f, a, Ee.current, l);
|
|
3163
3169
|
}
|
|
3164
3170
|
}
|
|
3165
3171
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
3166
|
-
function
|
|
3172
|
+
function J(e) {
|
|
3167
3173
|
if (e) {
|
|
3168
3174
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
3169
3175
|
De.setExtraStackFrame(r);
|
|
3170
3176
|
} else
|
|
3171
3177
|
De.setExtraStackFrame(null);
|
|
3172
3178
|
}
|
|
3173
|
-
var
|
|
3174
|
-
|
|
3175
|
-
function
|
|
3179
|
+
var me;
|
|
3180
|
+
me = !1;
|
|
3181
|
+
function pe(e) {
|
|
3176
3182
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
3177
3183
|
}
|
|
3178
3184
|
function Pe() {
|
|
3179
3185
|
{
|
|
3180
3186
|
if (fe.current) {
|
|
3181
|
-
var e =
|
|
3187
|
+
var e = b(fe.current.type);
|
|
3182
3188
|
if (e)
|
|
3183
3189
|
return `
|
|
3184
3190
|
|
|
@@ -3213,7 +3219,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3213
3219
|
return;
|
|
3214
3220
|
Ne[r] = !0;
|
|
3215
3221
|
var a = "";
|
|
3216
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
3222
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), m('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);
|
|
3217
3223
|
}
|
|
3218
3224
|
}
|
|
3219
3225
|
function Ie(e, t) {
|
|
@@ -3223,15 +3229,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3223
3229
|
if (de(e))
|
|
3224
3230
|
for (var r = 0; r < e.length; r++) {
|
|
3225
3231
|
var a = e[r];
|
|
3226
|
-
|
|
3232
|
+
pe(a) && Fe(a, t);
|
|
3227
3233
|
}
|
|
3228
|
-
else if (
|
|
3234
|
+
else if (pe(e))
|
|
3229
3235
|
e._store && (e._store.validated = !0);
|
|
3230
3236
|
else if (e) {
|
|
3231
3237
|
var f = $(e);
|
|
3232
3238
|
if (typeof f == "function" && f !== e.entries)
|
|
3233
|
-
for (var
|
|
3234
|
-
|
|
3239
|
+
for (var p = f.call(e), l; !(l = p.next()).done; )
|
|
3240
|
+
pe(l.value) && Fe(l.value, t);
|
|
3235
3241
|
}
|
|
3236
3242
|
}
|
|
3237
3243
|
}
|
|
@@ -3250,14 +3256,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3250
3256
|
else
|
|
3251
3257
|
return;
|
|
3252
3258
|
if (r) {
|
|
3253
|
-
var a =
|
|
3259
|
+
var a = b(t);
|
|
3254
3260
|
Ye(r, e.props, "prop", a, e);
|
|
3255
|
-
} else if (t.PropTypes !== void 0 && !
|
|
3256
|
-
|
|
3257
|
-
var f =
|
|
3258
|
-
|
|
3261
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
3262
|
+
me = !0;
|
|
3263
|
+
var f = b(t);
|
|
3264
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
3259
3265
|
}
|
|
3260
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
3266
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3261
3267
|
}
|
|
3262
3268
|
}
|
|
3263
3269
|
function it(e) {
|
|
@@ -3265,26 +3271,26 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3265
3271
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3266
3272
|
var a = t[r];
|
|
3267
3273
|
if (a !== "children" && a !== "key") {
|
|
3268
|
-
|
|
3274
|
+
J(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
3269
3275
|
break;
|
|
3270
3276
|
}
|
|
3271
3277
|
}
|
|
3272
|
-
e.ref !== null && (
|
|
3278
|
+
e.ref !== null && (J(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
3273
3279
|
}
|
|
3274
3280
|
}
|
|
3275
3281
|
var Me = {};
|
|
3276
|
-
function $e(e, t, r, a, f,
|
|
3282
|
+
function $e(e, t, r, a, f, p) {
|
|
3277
3283
|
{
|
|
3278
|
-
var l =
|
|
3284
|
+
var l = U(e);
|
|
3279
3285
|
if (!l) {
|
|
3280
3286
|
var _ = "";
|
|
3281
3287
|
(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.");
|
|
3282
|
-
var
|
|
3283
|
-
|
|
3288
|
+
var D = at();
|
|
3289
|
+
D ? _ += D : _ += Pe();
|
|
3284
3290
|
var w;
|
|
3285
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (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, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
3286
3292
|
}
|
|
3287
|
-
var j = rt(e, t, r, f,
|
|
3293
|
+
var j = rt(e, t, r, f, p);
|
|
3288
3294
|
if (j == null)
|
|
3289
3295
|
return j;
|
|
3290
3296
|
if (l) {
|
|
@@ -3292,21 +3298,21 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3292
3298
|
if (B !== void 0)
|
|
3293
3299
|
if (a)
|
|
3294
3300
|
if (de(B)) {
|
|
3295
|
-
for (var
|
|
3296
|
-
Ie(B[
|
|
3301
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
3302
|
+
Ie(B[Z], e);
|
|
3297
3303
|
Object.freeze && Object.freeze(B);
|
|
3298
3304
|
} else
|
|
3299
|
-
|
|
3305
|
+
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
3300
3306
|
else
|
|
3301
3307
|
Ie(B, e);
|
|
3302
3308
|
}
|
|
3303
3309
|
if (X.call(t, "key")) {
|
|
3304
|
-
var z =
|
|
3310
|
+
var z = b(e), F = Object.keys(t).filter(function(dt) {
|
|
3305
3311
|
return dt !== "key";
|
|
3306
3312
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3307
3313
|
if (!Me[z + ye]) {
|
|
3308
3314
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
3309
|
-
|
|
3315
|
+
m(`A props object containing a "key" prop is being spread into JSX:
|
|
3310
3316
|
let props = %s;
|
|
3311
3317
|
<%s {...props} />
|
|
3312
3318
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -3324,24 +3330,24 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3324
3330
|
return $e(e, t, r, !1);
|
|
3325
3331
|
}
|
|
3326
3332
|
var lt = st, ct = _t;
|
|
3327
|
-
|
|
3328
|
-
}()),
|
|
3333
|
+
xt.Fragment = u, xt.jsx = lt, xt.jsxs = ct;
|
|
3334
|
+
}()), xt;
|
|
3329
3335
|
}
|
|
3330
|
-
process.env.NODE_ENV === "production" ? Ft.exports =
|
|
3336
|
+
process.env.NODE_ENV === "production" ? Ft.exports = Qr() : Ft.exports = ea();
|
|
3331
3337
|
var ee = Ft.exports;
|
|
3332
|
-
const
|
|
3333
|
-
notice:
|
|
3334
|
-
error:
|
|
3335
|
-
success:
|
|
3336
|
-
remark:
|
|
3337
|
-
copy:
|
|
3338
|
+
const ta = "_notice_13j98_2", ra = "_error_13j98_11", aa = "_success_13j98_14", na = "_remark_13j98_17", oa = "_copy_13j98_20", Ht = {
|
|
3339
|
+
notice: ta,
|
|
3340
|
+
error: ra,
|
|
3341
|
+
success: aa,
|
|
3342
|
+
remark: na,
|
|
3343
|
+
copy: oa,
|
|
3338
3344
|
"show-notice": "_show-notice_13j98_1",
|
|
3339
3345
|
"hide-notice": "_hide-notice_13j98_1"
|
|
3340
3346
|
};
|
|
3341
3347
|
let Be = {};
|
|
3342
3348
|
function ht({ data: n }) {
|
|
3343
|
-
let [i, c] =
|
|
3344
|
-
|
|
3349
|
+
let [i, c] = W.useState("show");
|
|
3350
|
+
W.useEffect(() => {
|
|
3345
3351
|
n.hide && (setTimeout(function() {
|
|
3346
3352
|
c("hide");
|
|
3347
3353
|
}, 1800), setTimeout(function() {
|
|
@@ -3372,9 +3378,9 @@ function ht({ data: n }) {
|
|
|
3372
3378
|
/* @__PURE__ */ ee.jsx("p", { children: n.text })
|
|
3373
3379
|
] });
|
|
3374
3380
|
}
|
|
3375
|
-
function
|
|
3376
|
-
let [i, c] =
|
|
3377
|
-
return
|
|
3381
|
+
function ia({ data: n }) {
|
|
3382
|
+
let [i, c] = W.useState("show");
|
|
3383
|
+
return W.useEffect(() => {
|
|
3378
3384
|
n.hide && (setTimeout(function() {
|
|
3379
3385
|
c("hide");
|
|
3380
3386
|
}, 1800), setTimeout(function() {
|
|
@@ -3415,10 +3421,10 @@ ft.success = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill:
|
|
|
3415
3421
|
}
|
|
3416
3422
|
)
|
|
3417
3423
|
] });
|
|
3418
|
-
var
|
|
3424
|
+
var St;
|
|
3419
3425
|
((n) => {
|
|
3420
3426
|
function i() {
|
|
3421
|
-
let [s, g] =
|
|
3427
|
+
let [s, g] = W.useState([]);
|
|
3422
3428
|
return Be.set = (o) => {
|
|
3423
3429
|
g([...s, o]);
|
|
3424
3430
|
}, Be.del = (o) => {
|
|
@@ -3444,7 +3450,7 @@ var Ct;
|
|
|
3444
3450
|
n.Success = u;
|
|
3445
3451
|
function v(s, g = !0) {
|
|
3446
3452
|
let o = Date.now(), d = { key: o, hide: g, text: s };
|
|
3447
|
-
Be.set({ item: /* @__PURE__ */ ee.jsx(
|
|
3453
|
+
Be.set({ item: /* @__PURE__ */ ee.jsx(ia, { data: d }, o), key: o });
|
|
3448
3454
|
}
|
|
3449
3455
|
n.Custom = v;
|
|
3450
3456
|
function C(s) {
|
|
@@ -3471,8 +3477,8 @@ var Ct;
|
|
|
3471
3477
|
});
|
|
3472
3478
|
}
|
|
3473
3479
|
n.Copy = x;
|
|
3474
|
-
})(
|
|
3475
|
-
function
|
|
3480
|
+
})(St || (St = {}));
|
|
3481
|
+
function Ca({
|
|
3476
3482
|
value: n = "",
|
|
3477
3483
|
onValue: i,
|
|
3478
3484
|
onSave: c,
|
|
@@ -3485,78 +3491,75 @@ function xa({
|
|
|
3485
3491
|
edit: g = !0,
|
|
3486
3492
|
active: o = !0,
|
|
3487
3493
|
after: d = "",
|
|
3488
|
-
show:
|
|
3494
|
+
show: k = !0,
|
|
3489
3495
|
view: S,
|
|
3490
3496
|
className: N = ""
|
|
3491
3497
|
}) {
|
|
3492
|
-
g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(g && o),
|
|
3493
|
-
let $ = v, O = !0,
|
|
3494
|
-
let
|
|
3495
|
-
|
|
3498
|
+
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, m = 0, I = (h, b) => {
|
|
3500
|
+
let M = document.createRange(), Y = window.getSelection();
|
|
3501
|
+
M.setStart(b.childNodes[0], h), M.collapse(!0), Y.removeAllRanges(), Y.addRange(M), b.focus();
|
|
3496
3502
|
}, K = (h) => {
|
|
3497
|
-
h.preventDefault(), navigator.clipboard.readText().then((
|
|
3498
|
-
window.document.execCommand("insertText", !1,
|
|
3499
|
-
}).catch((
|
|
3503
|
+
h.preventDefault(), navigator.clipboard.readText().then((b) => {
|
|
3504
|
+
window.document.execCommand("insertText", !1, b);
|
|
3505
|
+
}).catch((b) => {
|
|
3500
3506
|
});
|
|
3501
3507
|
}, G = (h) => {
|
|
3502
|
-
let
|
|
3508
|
+
let b = 0, M = "", Y = h.replace(/\D/g, "");
|
|
3503
3509
|
Y === "" && (O = !0);
|
|
3504
3510
|
let Q = Y.split(""), ie = "";
|
|
3505
3511
|
Q.forEach((ge) => {
|
|
3506
|
-
O && (ie += ge, O && (
|
|
3512
|
+
O && (ie += ge, O && (m = ("" + ie).length, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""), m > ("" + ie).length && (O = !0, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
|
|
3507
3513
|
});
|
|
3508
3514
|
let se = $.replace(/\D/g, "");
|
|
3509
3515
|
return se.length >= Y.length && (Y = se), { q: $.replace(/[_\d]/g, function() {
|
|
3510
|
-
return Y.charAt(
|
|
3511
|
-
}), i:
|
|
3516
|
+
return Y.charAt(b++) || "_";
|
|
3517
|
+
}), i: b, v: Y, f: M };
|
|
3512
3518
|
}, L = (h) => {
|
|
3513
3519
|
h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
|
|
3514
3520
|
function() {
|
|
3515
|
-
|
|
3521
|
+
St.Copy("Данные в буфер обмене");
|
|
3516
3522
|
},
|
|
3517
|
-
function(
|
|
3523
|
+
function(b) {
|
|
3518
3524
|
}
|
|
3519
3525
|
);
|
|
3520
3526
|
}, q = G(n), E = (h) => {
|
|
3521
|
-
let
|
|
3522
|
-
h.target.textContent =
|
|
3523
|
-
},
|
|
3527
|
+
let b = G(h.target.textContent);
|
|
3528
|
+
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
|
+
}, P = (h) => {
|
|
3524
3530
|
h.key === "Enter" && h.preventDefault();
|
|
3525
3531
|
};
|
|
3526
|
-
const
|
|
3532
|
+
const U = (h) => {
|
|
3527
3533
|
te.Blur(h), c && c({
|
|
3528
3534
|
value: h.target.textContent.replace(/\D/g, ""),
|
|
3529
3535
|
name: u
|
|
3530
3536
|
});
|
|
3531
3537
|
};
|
|
3532
3538
|
let R = {};
|
|
3533
|
-
return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", C && (R.placeholder = C), d && (R.after = d), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.
|
|
3534
|
-
|
|
3539
|
+
return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", C && (R.placeholder = C), d && (R.after = d), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
|
|
3540
|
+
bt,
|
|
3535
3541
|
{
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
),
|
|
3554
|
-
x && /* @__PURE__ */ y.jsx("em", { children: x })
|
|
3555
|
-
]
|
|
3542
|
+
type: "input",
|
|
3543
|
+
title: T,
|
|
3544
|
+
element_blok: { className: [N] },
|
|
3545
|
+
element_input: { className: [V.w] },
|
|
3546
|
+
children: /* @__PURE__ */ y.jsx(
|
|
3547
|
+
"div",
|
|
3548
|
+
{
|
|
3549
|
+
onPaste: K,
|
|
3550
|
+
onInput: E,
|
|
3551
|
+
onKeyDown: P,
|
|
3552
|
+
onContextMenu: L,
|
|
3553
|
+
onBlur: U,
|
|
3554
|
+
suppressContentEditableWarning: !0,
|
|
3555
|
+
...R,
|
|
3556
|
+
children: q.q
|
|
3557
|
+
}
|
|
3558
|
+
)
|
|
3556
3559
|
}
|
|
3557
3560
|
);
|
|
3558
3561
|
}
|
|
3559
|
-
function
|
|
3562
|
+
function Sa({
|
|
3560
3563
|
id: n,
|
|
3561
3564
|
value: i,
|
|
3562
3565
|
onValue: c,
|
|
@@ -3569,31 +3572,31 @@ function Ca({
|
|
|
3569
3572
|
active: g = !0,
|
|
3570
3573
|
after: o = "",
|
|
3571
3574
|
show: d = !0,
|
|
3572
|
-
maxLength:
|
|
3575
|
+
maxLength: k,
|
|
3573
3576
|
view: S,
|
|
3574
3577
|
onSave: N,
|
|
3575
3578
|
className: A = "",
|
|
3576
3579
|
isCopy: $ = !0
|
|
3577
3580
|
}) {
|
|
3578
|
-
let [O,
|
|
3581
|
+
let [O, m] = W.useState(!1);
|
|
3579
3582
|
O = s ? !0 : O;
|
|
3580
|
-
let
|
|
3583
|
+
let I = (E) => {
|
|
3581
3584
|
c == null || c({ value: E.target.innerText, name: u });
|
|
3582
3585
|
}, K = (E) => {
|
|
3583
|
-
|
|
3586
|
+
k && E.target.textContent.trim().length >= k && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
3584
3587
|
}, G = (E) => {
|
|
3585
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
3586
|
-
if (
|
|
3587
|
-
let
|
|
3588
|
-
if (
|
|
3589
|
-
|
|
3588
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
3589
|
+
if (k) {
|
|
3590
|
+
let U = E.target.textContent.length;
|
|
3591
|
+
if (U >= k) return;
|
|
3592
|
+
k -= U, P = P.slice(0, k);
|
|
3590
3593
|
}
|
|
3591
3594
|
window.document.execCommand(
|
|
3592
3595
|
"insertText",
|
|
3593
3596
|
!1,
|
|
3594
|
-
|
|
3597
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3595
3598
|
);
|
|
3596
|
-
}).catch((
|
|
3599
|
+
}).catch((P) => {
|
|
3597
3600
|
});
|
|
3598
3601
|
};
|
|
3599
3602
|
if (x) return /* @__PURE__ */ y.jsx(y.Fragment, {});
|
|
@@ -3607,15 +3610,15 @@ function Ca({
|
|
|
3607
3610
|
"dl",
|
|
3608
3611
|
{
|
|
3609
3612
|
"data-field": "note",
|
|
3610
|
-
className: [
|
|
3613
|
+
className: [V.l, A].filter((E) => E !== void 0).join(" "),
|
|
3611
3614
|
children: [
|
|
3612
|
-
C ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
3615
|
+
C ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: C }) : "",
|
|
3613
3616
|
/* @__PURE__ */ y.jsx(
|
|
3614
3617
|
"dd",
|
|
3615
3618
|
{
|
|
3616
|
-
className: [
|
|
3619
|
+
className: [V.f, V.n].join(" "),
|
|
3617
3620
|
onPaste: G,
|
|
3618
|
-
onInput:
|
|
3621
|
+
onInput: I,
|
|
3619
3622
|
onBlur: q,
|
|
3620
3623
|
onKeyDown: K,
|
|
3621
3624
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
@@ -5012,7 +5015,7 @@ const Ot = {
|
|
|
5012
5015
|
mask: "+1939(___) ___-__-__"
|
|
5013
5016
|
}
|
|
5014
5017
|
};
|
|
5015
|
-
function
|
|
5018
|
+
function Ra({
|
|
5016
5019
|
value: n,
|
|
5017
5020
|
onValue: i,
|
|
5018
5021
|
onSave: c,
|
|
@@ -5025,42 +5028,42 @@ function Sa({
|
|
|
5025
5028
|
active: g = !0,
|
|
5026
5029
|
after: o = "",
|
|
5027
5030
|
show: d = !0,
|
|
5028
|
-
view:
|
|
5031
|
+
view: k,
|
|
5029
5032
|
className: S = ""
|
|
5030
5033
|
}) {
|
|
5031
|
-
s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (n === "" || n === void 0)) && !(s && g),
|
|
5032
|
-
let A = "+_(___) ___-__-__", $ = !0, O = 0,
|
|
5033
|
-
let
|
|
5034
|
-
|
|
5035
|
-
},
|
|
5034
|
+
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, m = (R, h) => {
|
|
5036
|
+
let b = document.createRange(), M = window.getSelection();
|
|
5037
|
+
b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
|
|
5038
|
+
}, I = (R) => {
|
|
5036
5039
|
let h = G(R.target.textContent);
|
|
5037
|
-
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("_"),
|
|
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("_"), m(h.i, R.target), i && i({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5038
5041
|
}, K = (R) => {
|
|
5039
5042
|
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5040
5043
|
window.document.execCommand("insertText", !1, h);
|
|
5041
5044
|
}).catch((h) => {
|
|
5042
5045
|
});
|
|
5043
5046
|
}, G = (R) => {
|
|
5044
|
-
let h = 0,
|
|
5045
|
-
|
|
5046
|
-
let Y =
|
|
5047
|
+
let h = 0, b = "", M = R.replace(/\D/g, "");
|
|
5048
|
+
M === "" && ($ = !0);
|
|
5049
|
+
let Y = M.split(""), Q = "";
|
|
5047
5050
|
Y.forEach((ve) => {
|
|
5048
|
-
$ && (Q += ve, Ot[Q] !== void 0 && $ ? ($ = !1, A = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"),
|
|
5051
|
+
$ && (Q += ve, Ot[Q] !== void 0 && $ ? ($ = !1, A = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"), b = Ot[Q].code) : ($ && (O = ("" + Q).length, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5049
5052
|
new RegExp("[0-9]", "g"),
|
|
5050
5053
|
"_"
|
|
5051
|
-
),
|
|
5054
|
+
), b = ""), O > ("" + Q).length && ($ = !0, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5052
5055
|
new RegExp("[0-9]", "g"),
|
|
5053
5056
|
"_"
|
|
5054
|
-
),
|
|
5057
|
+
), b = "")));
|
|
5055
5058
|
});
|
|
5056
5059
|
let ie = A.replace(/\D/g, "");
|
|
5057
|
-
return ie.length >=
|
|
5058
|
-
return
|
|
5059
|
-
}), i: h, v:
|
|
5060
|
+
return ie.length >= M.length && (M = ie), { q: A.replace(/[_\d]/g, function() {
|
|
5061
|
+
return M.charAt(h++) || "_";
|
|
5062
|
+
}), i: h, v: M, f: b };
|
|
5060
5063
|
}, L = (R) => {
|
|
5061
5064
|
R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.replace(/\D/g, "")).then(
|
|
5062
5065
|
function() {
|
|
5063
|
-
|
|
5066
|
+
St.Copy("Данные в буфер обмене");
|
|
5064
5067
|
},
|
|
5065
5068
|
function(h) {
|
|
5066
5069
|
}
|
|
@@ -5068,41 +5071,41 @@ function Sa({
|
|
|
5068
5071
|
}, q = G(n), E = (R) => {
|
|
5069
5072
|
R.key === "Enter" && R.preventDefault();
|
|
5070
5073
|
};
|
|
5071
|
-
const
|
|
5074
|
+
const P = (R) => {
|
|
5072
5075
|
te.Blur(R), c && c({
|
|
5073
5076
|
value: R.target.textContent.replace(/\D/g, ""),
|
|
5074
5077
|
name: u
|
|
5075
5078
|
});
|
|
5076
5079
|
};
|
|
5077
|
-
let
|
|
5078
|
-
return s && g ? (
|
|
5079
|
-
|
|
5080
|
+
let U = {};
|
|
5081
|
+
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
|
+
bt,
|
|
5080
5083
|
{
|
|
5081
5084
|
type: "input",
|
|
5082
5085
|
title: C,
|
|
5083
5086
|
element_blok: { className: S },
|
|
5084
|
-
element_input: { className: [
|
|
5087
|
+
element_input: { className: [V.w] },
|
|
5085
5088
|
children: /* @__PURE__ */ y.jsx(
|
|
5086
5089
|
"div",
|
|
5087
5090
|
{
|
|
5088
5091
|
onPaste: K,
|
|
5089
|
-
onInput:
|
|
5092
|
+
onInput: I,
|
|
5090
5093
|
onKeyDown: E,
|
|
5091
5094
|
onContextMenu: L,
|
|
5092
|
-
onBlur:
|
|
5095
|
+
onBlur: P,
|
|
5093
5096
|
suppressContentEditableWarning: !0,
|
|
5094
|
-
...
|
|
5097
|
+
...U,
|
|
5095
5098
|
children: q.q
|
|
5096
5099
|
}
|
|
5097
5100
|
)
|
|
5098
5101
|
}
|
|
5099
5102
|
);
|
|
5100
5103
|
}
|
|
5101
|
-
const
|
|
5102
|
-
o:
|
|
5103
|
-
c:
|
|
5104
|
+
const _a = "_o_1c9e1_1", sa = "_c_1c9e1_11", Rt = {
|
|
5105
|
+
o: _a,
|
|
5106
|
+
c: sa
|
|
5104
5107
|
};
|
|
5105
|
-
function
|
|
5108
|
+
function Ea({
|
|
5106
5109
|
title: n,
|
|
5107
5110
|
error: i,
|
|
5108
5111
|
edit: c = !0,
|
|
@@ -5115,41 +5118,41 @@ function Ra({
|
|
|
5115
5118
|
icon: g,
|
|
5116
5119
|
name: o,
|
|
5117
5120
|
value: d,
|
|
5118
|
-
after:
|
|
5121
|
+
after: k
|
|
5119
5122
|
}) {
|
|
5120
|
-
let [S, N] =
|
|
5123
|
+
let [S, N] = W.useState(
|
|
5121
5124
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5122
5125
|
);
|
|
5123
|
-
const A =
|
|
5124
|
-
let
|
|
5125
|
-
|
|
5126
|
+
const A = W.useRef(null), [$, O] = W.useState(!1);
|
|
5127
|
+
let m = !c && u;
|
|
5128
|
+
W.useEffect(() => {
|
|
5126
5129
|
N(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5127
5130
|
}, [d]);
|
|
5128
|
-
let
|
|
5131
|
+
let I = (L) => {
|
|
5129
5132
|
N(L), s == null || s({ value: L, name: o });
|
|
5130
5133
|
}, K = (L) => {
|
|
5131
|
-
const q = L.target.getBoundingClientRect(), E = q.left,
|
|
5132
|
-
A.position = { x: E, b:
|
|
5134
|
+
const q = L.target.getBoundingClientRect(), E = q.left, P = q.bottom, U = q.top;
|
|
5135
|
+
A.position = { x: E, b: P, y: U }, O(!0);
|
|
5133
5136
|
};
|
|
5134
5137
|
const G = {};
|
|
5135
|
-
return C && (G.placeholder = C),
|
|
5138
|
+
return C && (G.placeholder = C), m ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5136
5139
|
g ? g() : /* @__PURE__ */ y.jsxs(
|
|
5137
5140
|
"dl",
|
|
5138
5141
|
{
|
|
5139
5142
|
"data-field": "date",
|
|
5140
|
-
className: [
|
|
5143
|
+
className: [V.l, v].filter((L) => L !== void 0).join(" "),
|
|
5141
5144
|
children: [
|
|
5142
|
-
n ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
5145
|
+
n ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: n }) : "",
|
|
5143
5146
|
/* @__PURE__ */ y.jsxs(
|
|
5144
5147
|
"dd",
|
|
5145
5148
|
{
|
|
5146
5149
|
onClick: K,
|
|
5147
|
-
className: [
|
|
5150
|
+
className: [V.f, V.w].join(" "),
|
|
5148
5151
|
...G,
|
|
5149
5152
|
"data-edit": (c && u) + "",
|
|
5150
5153
|
children: [
|
|
5151
|
-
|
|
5152
|
-
|
|
5154
|
+
ua(S, "dd.mm.yyyy"),
|
|
5155
|
+
k
|
|
5153
5156
|
]
|
|
5154
5157
|
}
|
|
5155
5158
|
),
|
|
@@ -5159,10 +5162,10 @@ function Ra({
|
|
|
5159
5162
|
),
|
|
5160
5163
|
$ && Mt(
|
|
5161
5164
|
/* @__PURE__ */ y.jsx(
|
|
5162
|
-
|
|
5165
|
+
la,
|
|
5163
5166
|
{
|
|
5164
5167
|
position: A.position,
|
|
5165
|
-
onValue:
|
|
5168
|
+
onValue: I,
|
|
5166
5169
|
date: S,
|
|
5167
5170
|
max: T,
|
|
5168
5171
|
min: x,
|
|
@@ -5175,7 +5178,7 @@ function Ra({
|
|
|
5175
5178
|
)
|
|
5176
5179
|
] });
|
|
5177
5180
|
}
|
|
5178
|
-
const
|
|
5181
|
+
const la = ({
|
|
5179
5182
|
date: n,
|
|
5180
5183
|
onValue: i,
|
|
5181
5184
|
position: c,
|
|
@@ -5192,50 +5195,50 @@ const sa = ({
|
|
|
5192
5195
|
y: parseInt(s.getFullYear()),
|
|
5193
5196
|
d: parseInt(s.getDate()),
|
|
5194
5197
|
m: parseInt(s.getMonth()) + 1
|
|
5195
|
-
}, [d,
|
|
5196
|
-
let
|
|
5197
|
-
return
|
|
5198
|
+
}, [d, k] = W.useState({ y: o.y, m: o.m }), S = (h) => {
|
|
5199
|
+
let b = h.getDay();
|
|
5200
|
+
return b === 0 && (b = 7), b - 1;
|
|
5198
5201
|
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, $ = new Date(d.y, A), O = [];
|
|
5199
5202
|
for (let h = 0; h < S($); h++)
|
|
5200
5203
|
O.push(0);
|
|
5201
5204
|
for (; $.getMonth() === A; )
|
|
5202
5205
|
O.push($.getDate()), $.setDate($.getDate() + 1);
|
|
5203
|
-
let
|
|
5206
|
+
let m = () => {
|
|
5204
5207
|
T(!1);
|
|
5205
|
-
},
|
|
5208
|
+
}, I = () => {
|
|
5206
5209
|
L(d.m + 1, d.y);
|
|
5207
5210
|
}, K = () => {
|
|
5208
5211
|
L(d.m - 1, d.y);
|
|
5209
5212
|
}, G = (h) => {
|
|
5210
5213
|
i(
|
|
5211
5214
|
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5212
|
-
),
|
|
5213
|
-
}, L = (h,
|
|
5214
|
-
|
|
5215
|
+
), m();
|
|
5216
|
+
}, L = (h, b) => {
|
|
5217
|
+
b = h > 12 ? b + 1 : h < 1 ? b - 1 : b, h = h > 12 ? 1 : h < 1 ? 12 : h, k({ y: b, m: h });
|
|
5215
5218
|
};
|
|
5216
|
-
const q = (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" } : {},
|
|
5217
|
-
let
|
|
5219
|
+
const q = (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" } : {}, P = (h) => {
|
|
5220
|
+
let b = !0;
|
|
5218
5221
|
if (u) {
|
|
5219
|
-
let
|
|
5220
|
-
|
|
5222
|
+
let M = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5223
|
+
M < Y && (b = !1);
|
|
5221
5224
|
}
|
|
5222
5225
|
if (v) {
|
|
5223
|
-
let
|
|
5224
|
-
|
|
5226
|
+
let M = v.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5227
|
+
M > Y && (b = !1);
|
|
5225
5228
|
}
|
|
5226
|
-
return
|
|
5229
|
+
return b;
|
|
5227
5230
|
};
|
|
5228
|
-
let
|
|
5231
|
+
let U = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, R = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5229
5232
|
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5230
|
-
/* @__PURE__ */ y.jsx("div", { className:
|
|
5233
|
+
/* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: () => m() }),
|
|
5231
5234
|
/* @__PURE__ */ y.jsxs(
|
|
5232
5235
|
"div",
|
|
5233
5236
|
{
|
|
5234
5237
|
className: [
|
|
5235
|
-
|
|
5238
|
+
Rt.c,
|
|
5236
5239
|
C && C + "-backdrop"
|
|
5237
5240
|
].join(" "),
|
|
5238
|
-
style: { top:
|
|
5241
|
+
style: { top: U + "px", left: R + "px" },
|
|
5239
5242
|
children: [
|
|
5240
5243
|
/* @__PURE__ */ y.jsxs("s", { children: [
|
|
5241
5244
|
/* @__PURE__ */ y.jsx("i", { onClick: K, children: /* @__PURE__ */ y.jsx(
|
|
@@ -5250,11 +5253,11 @@ const sa = ({
|
|
|
5250
5253
|
}
|
|
5251
5254
|
) }),
|
|
5252
5255
|
/* @__PURE__ */ y.jsxs("h2", { children: [
|
|
5253
|
-
|
|
5256
|
+
ca(d.m).name,
|
|
5254
5257
|
" ",
|
|
5255
5258
|
d.y
|
|
5256
5259
|
] }),
|
|
5257
|
-
/* @__PURE__ */ y.jsx("i", { onClick:
|
|
5260
|
+
/* @__PURE__ */ y.jsx("i", { onClick: I, children: /* @__PURE__ */ y.jsx(
|
|
5258
5261
|
"svg",
|
|
5259
5262
|
{
|
|
5260
5263
|
width: "16",
|
|
@@ -5267,8 +5270,8 @@ const sa = ({
|
|
|
5267
5270
|
) })
|
|
5268
5271
|
] }),
|
|
5269
5272
|
/* @__PURE__ */ y.jsxs("div", { "grid-calendar": "", children: [
|
|
5270
|
-
N.map((h,
|
|
5271
|
-
O.map((h,
|
|
5273
|
+
N.map((h, b) => /* @__PURE__ */ y.jsx("p", { children: h }, "v" + b)),
|
|
5274
|
+
O.map((h, b) => /* @__PURE__ */ y.jsx("span", { children: h !== 0 && P(h) ? /* @__PURE__ */ y.jsx(
|
|
5272
5275
|
"b",
|
|
5273
5276
|
{
|
|
5274
5277
|
...q(h),
|
|
@@ -5276,14 +5279,14 @@ const sa = ({
|
|
|
5276
5279
|
onClick: () => G(h),
|
|
5277
5280
|
children: h
|
|
5278
5281
|
}
|
|
5279
|
-
) : /* @__PURE__ */ y.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) },
|
|
5282
|
+
) : /* @__PURE__ */ y.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) }, b))
|
|
5280
5283
|
] })
|
|
5281
5284
|
]
|
|
5282
5285
|
}
|
|
5283
5286
|
)
|
|
5284
5287
|
] });
|
|
5285
5288
|
};
|
|
5286
|
-
function
|
|
5289
|
+
function ca(n) {
|
|
5287
5290
|
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
5288
5291
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5289
5292
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
@@ -5304,7 +5307,7 @@ function Gt(n, i) {
|
|
|
5304
5307
|
for (; c.length < n; ) c = "0" + c;
|
|
5305
5308
|
return c;
|
|
5306
5309
|
}
|
|
5307
|
-
function
|
|
5310
|
+
function ua(n, i) {
|
|
5308
5311
|
i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5309
5312
|
let c = {
|
|
5310
5313
|
yyyy: n.getFullYear(),
|
|
@@ -5321,7 +5324,7 @@ function ca(n, i) {
|
|
|
5321
5324
|
i = i.replace(u, c[u]);
|
|
5322
5325
|
return i;
|
|
5323
5326
|
}
|
|
5324
|
-
function
|
|
5327
|
+
function Oa({
|
|
5325
5328
|
value: n,
|
|
5326
5329
|
onValue: i,
|
|
5327
5330
|
name: c,
|
|
@@ -5333,17 +5336,17 @@ function Ea({
|
|
|
5333
5336
|
placeholder: s = "",
|
|
5334
5337
|
className: g
|
|
5335
5338
|
}) {
|
|
5336
|
-
let [o, d] =
|
|
5337
|
-
const
|
|
5338
|
-
|
|
5339
|
+
let [o, d] = W.useState(n);
|
|
5340
|
+
const k = W.useRef(null), [S, N] = W.useState(!1);
|
|
5341
|
+
W.useEffect(() => {
|
|
5339
5342
|
d(n);
|
|
5340
5343
|
}, [n]);
|
|
5341
|
-
let A = (
|
|
5342
|
-
d(
|
|
5343
|
-
}, $ = (
|
|
5344
|
+
let A = (m) => {
|
|
5345
|
+
d(m), i && i({ value: m, name: c });
|
|
5346
|
+
}, $ = (m) => {
|
|
5344
5347
|
if (!C || !T) return;
|
|
5345
|
-
const
|
|
5346
|
-
|
|
5348
|
+
const I = m.target.getBoundingClientRect(), K = I.left, G = I.top;
|
|
5349
|
+
k.position = { x: K, y: G }, N(!0);
|
|
5347
5350
|
};
|
|
5348
5351
|
const O = {};
|
|
5349
5352
|
return s && (O.placeholder = s), v || /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
@@ -5351,16 +5354,16 @@ function Ea({
|
|
|
5351
5354
|
"dl",
|
|
5352
5355
|
{
|
|
5353
5356
|
"data-field": "date",
|
|
5354
|
-
className: [
|
|
5357
|
+
className: [V.l, g].filter((m) => m !== void 0).join(" "),
|
|
5355
5358
|
children: [
|
|
5356
|
-
x ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
5359
|
+
x ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: x }) : "",
|
|
5357
5360
|
/* @__PURE__ */ y.jsx(
|
|
5358
5361
|
"dd",
|
|
5359
5362
|
{
|
|
5360
5363
|
onClick: $,
|
|
5361
5364
|
...O,
|
|
5362
|
-
className: [
|
|
5363
|
-
children:
|
|
5365
|
+
className: [V.f, V.w].join(" "),
|
|
5366
|
+
children: fa(o, "mm.yyyy")
|
|
5364
5367
|
}
|
|
5365
5368
|
),
|
|
5366
5369
|
u && /* @__PURE__ */ y.jsx("em", { children: u })
|
|
@@ -5369,9 +5372,9 @@ function Ea({
|
|
|
5369
5372
|
),
|
|
5370
5373
|
S && Mt(
|
|
5371
5374
|
/* @__PURE__ */ y.jsx(
|
|
5372
|
-
|
|
5375
|
+
da,
|
|
5373
5376
|
{
|
|
5374
|
-
position:
|
|
5377
|
+
position: k.position,
|
|
5375
5378
|
onValue: A,
|
|
5376
5379
|
date: o,
|
|
5377
5380
|
onOpen: N
|
|
@@ -5382,27 +5385,27 @@ function Ea({
|
|
|
5382
5385
|
)
|
|
5383
5386
|
] });
|
|
5384
5387
|
}
|
|
5385
|
-
const
|
|
5388
|
+
const da = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
5386
5389
|
let v = /* @__PURE__ */ new Date(), C = new Date(i), T = {
|
|
5387
5390
|
y: parseInt(v.getFullYear()),
|
|
5388
5391
|
m: parseInt(v.getMonth()) + 1
|
|
5389
5392
|
}, x = {
|
|
5390
5393
|
y: parseInt(C.getFullYear()),
|
|
5391
5394
|
m: parseInt(C.getMonth()) + 1
|
|
5392
|
-
}, [s, g] =
|
|
5395
|
+
}, [s, g] = W.useState(x.y), o = () => {
|
|
5393
5396
|
n(!1);
|
|
5394
5397
|
}, d = () => {
|
|
5395
5398
|
g(s + 1);
|
|
5396
|
-
},
|
|
5399
|
+
}, k = () => {
|
|
5397
5400
|
g(s - 1);
|
|
5398
|
-
}, S = (
|
|
5399
|
-
c(s + "-" +
|
|
5400
|
-
}, N = (
|
|
5401
|
+
}, S = (m) => {
|
|
5402
|
+
c(s + "-" + ma(2, m)), o();
|
|
5403
|
+
}, N = (m) => T.y === x.y && T.m === m ? "_FFEB3B" : "", A = Array(12).fill("").map((m, 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;
|
|
5401
5404
|
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5402
|
-
/* @__PURE__ */ y.jsx("div", { className:
|
|
5403
|
-
/* @__PURE__ */ y.jsxs("div", { className:
|
|
5405
|
+
/* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: o }),
|
|
5406
|
+
/* @__PURE__ */ y.jsxs("div", { className: Rt.c, style: { top: $ + "px", left: O + "px" }, children: [
|
|
5404
5407
|
/* @__PURE__ */ y.jsxs("s", { children: [
|
|
5405
|
-
/* @__PURE__ */ y.jsx("i", { onClick:
|
|
5408
|
+
/* @__PURE__ */ y.jsx("i", { onClick: k, children: /* @__PURE__ */ y.jsx(
|
|
5406
5409
|
"svg",
|
|
5407
5410
|
{
|
|
5408
5411
|
width: "16",
|
|
@@ -5426,21 +5429,21 @@ const ua = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5426
5429
|
}
|
|
5427
5430
|
) })
|
|
5428
5431
|
] }),
|
|
5429
|
-
/* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((
|
|
5432
|
+
/* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((m, I) => /* @__PURE__ */ y.jsx(
|
|
5430
5433
|
"span",
|
|
5431
5434
|
{
|
|
5432
5435
|
onClick: () => {
|
|
5433
|
-
S(
|
|
5436
|
+
S(m);
|
|
5434
5437
|
},
|
|
5435
|
-
color: N(
|
|
5436
|
-
children: /* @__PURE__ */ y.jsx("b", { children: pa(
|
|
5438
|
+
color: N(m),
|
|
5439
|
+
children: /* @__PURE__ */ y.jsx("b", { children: pa(m).abc })
|
|
5437
5440
|
},
|
|
5438
|
-
|
|
5441
|
+
I
|
|
5439
5442
|
)) })
|
|
5440
5443
|
] })
|
|
5441
5444
|
] });
|
|
5442
5445
|
};
|
|
5443
|
-
function
|
|
5446
|
+
function fa(n, i) {
|
|
5444
5447
|
i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5445
5448
|
let c = {
|
|
5446
5449
|
yyyy: n.getFullYear(),
|
|
@@ -5457,7 +5460,7 @@ function da(n, i) {
|
|
|
5457
5460
|
i = i.replace(u, c[u]);
|
|
5458
5461
|
return i;
|
|
5459
5462
|
}
|
|
5460
|
-
function
|
|
5463
|
+
function ma(n, i) {
|
|
5461
5464
|
let c = i + "";
|
|
5462
5465
|
for (; c.length < n; ) c = "0" + c;
|
|
5463
5466
|
return c;
|
|
@@ -5478,7 +5481,7 @@ function pa(n) {
|
|
|
5478
5481
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5479
5482
|
}[n];
|
|
5480
5483
|
}
|
|
5481
|
-
function
|
|
5484
|
+
function Ta({
|
|
5482
5485
|
value: n,
|
|
5483
5486
|
onValue: i,
|
|
5484
5487
|
name: c,
|
|
@@ -5491,27 +5494,27 @@ function Oa({
|
|
|
5491
5494
|
after: g = "",
|
|
5492
5495
|
show: o = !0,
|
|
5493
5496
|
course: d = 100,
|
|
5494
|
-
view:
|
|
5497
|
+
view: k,
|
|
5495
5498
|
type: S,
|
|
5496
5499
|
onSave: N,
|
|
5497
5500
|
className: A = "",
|
|
5498
5501
|
isClear: $ = !1
|
|
5499
5502
|
}) {
|
|
5500
|
-
let O = !!(T && (n === "" || n === void 0)),
|
|
5501
|
-
let
|
|
5502
|
-
|
|
5503
|
+
let O = !!(T && (n === "" || n === void 0)), m = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), I = (R, h) => {
|
|
5504
|
+
let b = document.createRange(), M = window.getSelection();
|
|
5505
|
+
b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
|
|
5503
5506
|
}, K = (R) => {
|
|
5504
5507
|
i == null || i({
|
|
5505
|
-
value:
|
|
5508
|
+
value: m(R.target.textContent) * d,
|
|
5506
5509
|
name: c
|
|
5507
|
-
}), R.target.textContent =
|
|
5510
|
+
}), R.target.textContent = m(R.target.textContent), R.target.textContent.length > 0 && I(R.target.textContent.length, R.target);
|
|
5508
5511
|
}, G = (R) => {
|
|
5509
|
-
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value:
|
|
5510
|
-
value:
|
|
5512
|
+
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: m(R.target.textContent) * d, name: c }), i == null || i({
|
|
5513
|
+
value: m(R.target.textContent) * d,
|
|
5511
5514
|
name: c
|
|
5512
5515
|
}), R.target.textContent = zt(R.target.textContent);
|
|
5513
5516
|
}, L = (R) => {
|
|
5514
|
-
R.target.textContent =
|
|
5517
|
+
R.target.textContent = m(R.target.textContent);
|
|
5515
5518
|
}, q = (R) => {
|
|
5516
5519
|
R.currentTarget.previousElementSibling.textContent = "", i == null || i({
|
|
5517
5520
|
value: 0,
|
|
@@ -5519,28 +5522,28 @@ function Oa({
|
|
|
5519
5522
|
});
|
|
5520
5523
|
}, E = (R) => {
|
|
5521
5524
|
R.key === "Enter" && R.preventDefault();
|
|
5522
|
-
},
|
|
5525
|
+
}, P = (R) => {
|
|
5523
5526
|
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5524
5527
|
h = h.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, h);
|
|
5525
5528
|
}).catch((h) => {
|
|
5526
5529
|
});
|
|
5527
5530
|
};
|
|
5528
5531
|
if (!(x && s) && !o || !(x && s) && O) return "";
|
|
5529
|
-
const
|
|
5530
|
-
return
|
|
5532
|
+
const U = {};
|
|
5533
|
+
return U.inputMode = "decimal", u && (U.placeholder = u), x && s && (U.edit = ""), /* @__PURE__ */ y.jsxs(
|
|
5531
5534
|
"dl",
|
|
5532
5535
|
{
|
|
5533
5536
|
"data-field": "date",
|
|
5534
|
-
className: [
|
|
5537
|
+
className: [V.l, A].filter((R) => R !== void 0).join(" "),
|
|
5535
5538
|
children: [
|
|
5536
|
-
v ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
5539
|
+
v ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: v }) : "",
|
|
5537
5540
|
/* @__PURE__ */ y.jsx(
|
|
5538
5541
|
"dd",
|
|
5539
5542
|
{
|
|
5540
|
-
...
|
|
5541
|
-
className: [
|
|
5543
|
+
...U,
|
|
5544
|
+
className: [V.f, V.w].join(" "),
|
|
5542
5545
|
onInput: K,
|
|
5543
|
-
onPaste:
|
|
5546
|
+
onPaste: P,
|
|
5544
5547
|
onBlur: G,
|
|
5545
5548
|
onKeyDown: E,
|
|
5546
5549
|
onFocus: L,
|
|
@@ -5560,8 +5563,8 @@ function zt(n, i) {
|
|
|
5560
5563
|
return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5561
5564
|
}
|
|
5562
5565
|
const he = {};
|
|
5563
|
-
function
|
|
5564
|
-
const [i, c] =
|
|
5566
|
+
function Da(n) {
|
|
5567
|
+
const [i, c] = W.useState({}), u = W.useRef(n);
|
|
5565
5568
|
return he.u = (v) => {
|
|
5566
5569
|
u.current = { ...u.current, [v.name]: v.value };
|
|
5567
5570
|
}, he.n = (v) => {
|
|
@@ -5570,14 +5573,14 @@ function Ta(n) {
|
|
|
5570
5573
|
c(Date.now());
|
|
5571
5574
|
}, [u.current, he.n];
|
|
5572
5575
|
}
|
|
5573
|
-
function
|
|
5576
|
+
function Pa(n) {
|
|
5574
5577
|
he.u(n), n.reload && he.r();
|
|
5575
5578
|
}
|
|
5576
|
-
function
|
|
5579
|
+
function Na() {
|
|
5577
5580
|
he.r && he.r();
|
|
5578
5581
|
}
|
|
5579
|
-
function
|
|
5580
|
-
const [i, c] =
|
|
5582
|
+
function Fa(n) {
|
|
5583
|
+
const [i, c] = W.useState({}), u = W.useRef(n);
|
|
5581
5584
|
return he.u = (v) => {
|
|
5582
5585
|
u.current = { ...u.current, [v.name]: v.value };
|
|
5583
5586
|
}, he.n = (v) => {
|
|
@@ -5594,21 +5597,21 @@ function It() {
|
|
|
5594
5597
|
It().elcrm || (It().elcrm = {});
|
|
5595
5598
|
Object.assign(It().elcrm, { form: Vt.version });
|
|
5596
5599
|
export {
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5600
|
+
Ea as Date,
|
|
5601
|
+
Ca as Mask,
|
|
5602
|
+
wa as Modal,
|
|
5603
|
+
Ta as Money,
|
|
5604
|
+
Oa as Month,
|
|
5605
|
+
Sa as Note,
|
|
5606
|
+
xa as Number,
|
|
5607
|
+
ba as Options,
|
|
5608
|
+
ja as Password,
|
|
5609
|
+
Ra as Phone,
|
|
5610
|
+
ga as Progress,
|
|
5611
|
+
ka as Select,
|
|
5612
|
+
ha as String,
|
|
5613
|
+
Na as runReload,
|
|
5614
|
+
Pa as setValue,
|
|
5615
|
+
Da as useData,
|
|
5616
|
+
Fa as useError
|
|
5614
5617
|
};
|