@elcrm/form 0.0.44 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1000 -998
- package/dist/index.umd.js +26 -26
- package/dist/src/lib/fields/Input.d.ts +3 -3
- package/dist/src/lib/fields/type.d.ts +8 -2
- package/package.json +1 -1
- package/dist/src/lib/interfaface.d.ts +0 -15
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import q, { forwardRef as Jt, useEffect as Zt } from "react";
|
|
2
2
|
import { createPortal as Mt } from "react-dom";
|
|
3
|
-
import './index.css';const Vt = "0.0.
|
|
3
|
+
import './index.css';const Vt = "0.0.46", Xt = {
|
|
4
4
|
version: Vt
|
|
5
5
|
};
|
|
6
6
|
var Tt = { exports: {} }, mt = {};
|
|
@@ -17,15 +17,15 @@ var $t;
|
|
|
17
17
|
function Qt() {
|
|
18
18
|
if ($t) return mt;
|
|
19
19
|
$t = 1;
|
|
20
|
-
var
|
|
20
|
+
var n = q, _ = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = 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 E(x, s, h) {
|
|
22
|
-
var o,
|
|
23
|
-
h !== void 0 && (
|
|
24
|
-
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (
|
|
25
|
-
if (x && x.defaultProps) for (o in s = x.defaultProps, s)
|
|
26
|
-
return { $$typeof: _, type: x, key:
|
|
22
|
+
var o, c = {}, b = null, S = null;
|
|
23
|
+
h !== void 0 && (b = "" + h), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
24
|
+
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (c[o] = s[o]);
|
|
25
|
+
if (x && x.defaultProps) for (o in s = x.defaultProps, s) c[o] === void 0 && (c[o] = s[o]);
|
|
26
|
+
return { $$typeof: _, type: x, key: b, ref: S, props: c, _owner: v.current };
|
|
27
27
|
}
|
|
28
|
-
return mt.Fragment =
|
|
28
|
+
return mt.Fragment = u, mt.jsx = E, mt.jsxs = E, mt;
|
|
29
29
|
}
|
|
30
30
|
var yt = {};
|
|
31
31
|
/**
|
|
@@ -40,24 +40,24 @@ var yt = {};
|
|
|
40
40
|
var At;
|
|
41
41
|
function er() {
|
|
42
42
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var
|
|
44
|
-
function
|
|
43
|
+
var n = q, _ = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), I = Symbol.iterator, Y = "@@iterator";
|
|
44
|
+
function D(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var t =
|
|
47
|
+
var t = I && e[I] || e[Y];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
|
-
var R =
|
|
50
|
+
var R = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function p(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
54
|
-
r[
|
|
53
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
54
|
+
r[a - 1] = arguments[a];
|
|
55
55
|
F("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function F(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var
|
|
60
|
+
var a = R.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
62
62
|
var m = r.map(function(l) {
|
|
63
63
|
return String(l);
|
|
@@ -65,23 +65,23 @@ function er() {
|
|
|
65
65
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
|
|
68
|
+
var M = !1, K = !1, W = !1, B = !1, U = !1, P;
|
|
69
|
+
P = Symbol.for("react.module.reference");
|
|
70
70
|
function N(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C ||
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || U || e === v || e === h || e === o || B || e === S || M || K || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === c || e.$$typeof === E || 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 G(e, t, r) {
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
78
|
+
var a = e.displayName;
|
|
79
|
+
if (a)
|
|
80
|
+
return a;
|
|
81
81
|
var f = t.displayName || t.name || "";
|
|
82
82
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function k(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
87
|
function y(e) {
|
|
@@ -94,7 +94,7 @@ function er() {
|
|
|
94
94
|
switch (e) {
|
|
95
95
|
case d:
|
|
96
96
|
return "Fragment";
|
|
97
|
-
case
|
|
97
|
+
case u:
|
|
98
98
|
return "Portal";
|
|
99
99
|
case C:
|
|
100
100
|
return "Profiler";
|
|
@@ -109,16 +109,16 @@ function er() {
|
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
110
|
case x:
|
|
111
111
|
var t = e;
|
|
112
|
-
return
|
|
112
|
+
return k(t) + ".Consumer";
|
|
113
113
|
case E:
|
|
114
114
|
var r = e;
|
|
115
|
-
return
|
|
115
|
+
return k(r._context) + ".Provider";
|
|
116
116
|
case s:
|
|
117
117
|
return G(e, e.render, "ForwardRef");
|
|
118
|
-
case
|
|
119
|
-
var
|
|
120
|
-
return
|
|
121
|
-
case
|
|
118
|
+
case c:
|
|
119
|
+
var a = e.displayName || null;
|
|
120
|
+
return a !== null ? a : y(e.type) || "Memo";
|
|
121
|
+
case b: {
|
|
122
122
|
var f = e, m = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
124
124
|
return y(l(m));
|
|
@@ -129,7 +129,7 @@ function er() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var $ = Object.assign, L = 0, se, V, oe, ge, le, be, ke;
|
|
133
133
|
function we() {
|
|
134
134
|
}
|
|
135
135
|
we.__reactDisabledLog = !0;
|
|
@@ -165,25 +165,25 @@ function er() {
|
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
168
|
+
log: $({}, e, {
|
|
169
169
|
value: se
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: $({}, e, {
|
|
172
172
|
value: V
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: $({}, e, {
|
|
175
175
|
value: oe
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: $({}, e, {
|
|
178
178
|
value: ge
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
180
|
+
group: $({}, e, {
|
|
181
181
|
value: le
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: $({}, e, {
|
|
184
184
|
value: be
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: $({}, e, {
|
|
187
187
|
value: ke
|
|
188
188
|
})
|
|
189
189
|
});
|
|
@@ -198,8 +198,8 @@ function er() {
|
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (f) {
|
|
201
|
-
var
|
|
202
|
-
ue =
|
|
201
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ue = a && a[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
205
|
` + ue + e;
|
|
@@ -218,7 +218,7 @@ function er() {
|
|
|
218
218
|
if (r !== void 0)
|
|
219
219
|
return r;
|
|
220
220
|
}
|
|
221
|
-
var
|
|
221
|
+
var a;
|
|
222
222
|
de = !0;
|
|
223
223
|
var f = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
@@ -237,14 +237,14 @@ function er() {
|
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(l, []);
|
|
239
239
|
} catch (T) {
|
|
240
|
-
|
|
240
|
+
a = T;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], l);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
l.call();
|
|
246
246
|
} catch (T) {
|
|
247
|
-
|
|
247
|
+
a = T;
|
|
248
248
|
}
|
|
249
249
|
e.call(l.prototype);
|
|
250
250
|
}
|
|
@@ -252,14 +252,14 @@ function er() {
|
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
254
|
} catch (T) {
|
|
255
|
-
|
|
255
|
+
a = T;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
259
|
} catch (T) {
|
|
260
|
-
if (T &&
|
|
260
|
+
if (T && a && typeof T.stack == "string") {
|
|
261
261
|
for (var i = T.stack.split(`
|
|
262
|
-
`), O =
|
|
262
|
+
`), O = a.stack.split(`
|
|
263
263
|
`), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -267,9 +267,9 @@ function er() {
|
|
|
267
267
|
if (w !== 1 || j !== 1)
|
|
268
268
|
do
|
|
269
269
|
if (w--, j--, j < 0 || i[w] !== O[j]) {
|
|
270
|
-
var
|
|
270
|
+
var A = `
|
|
271
271
|
` + i[w].replace(" at new ", " at ");
|
|
272
|
-
return e.displayName &&
|
|
272
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, A), A;
|
|
273
273
|
}
|
|
274
274
|
while (w >= 1 && j >= 0);
|
|
275
275
|
break;
|
|
@@ -288,7 +288,7 @@ function er() {
|
|
|
288
288
|
var t = e.prototype;
|
|
289
289
|
return !!(t && t.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function ne(e, t, r) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
@@ -305,12 +305,12 @@ function er() {
|
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case s:
|
|
307
307
|
return Ke(e.render);
|
|
308
|
-
case
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
var
|
|
308
|
+
case c:
|
|
309
|
+
return ne(e.type, t, r);
|
|
310
|
+
case b: {
|
|
311
|
+
var a = e, f = a._payload, m = a._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return ne(m(f), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -318,14 +318,14 @@ function er() {
|
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
320
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
|
|
321
|
-
function
|
|
321
|
+
function ae(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var t = e._owner, r =
|
|
323
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
324
324
|
Ce.setExtraStackFrame(r);
|
|
325
325
|
} else
|
|
326
326
|
Ce.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function Ge(e, t, r,
|
|
328
|
+
function Ge(e, t, r, a, f) {
|
|
329
329
|
{
|
|
330
330
|
var m = Function.call.bind(X);
|
|
331
331
|
for (var l in e)
|
|
@@ -333,14 +333,14 @@ function er() {
|
|
|
333
333
|
var i = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
336
|
-
var O = Error((
|
|
336
|
+
var O = 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
337
|
throw O.name = "Invariant Violation", O;
|
|
338
338
|
}
|
|
339
|
-
i = e[l](t, l,
|
|
339
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (w) {
|
|
341
341
|
i = w;
|
|
342
342
|
}
|
|
343
|
-
i && !(i instanceof Error) && (
|
|
343
|
+
i && !(i instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof i), ae(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ae(f), p("Failed %s type: %s", r, i.message), ae(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -415,7 +415,7 @@ function er() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var rt = function(e, t, r,
|
|
418
|
+
var rt = function(e, t, r, a, f, m, l) {
|
|
419
419
|
var i = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
421
|
$$typeof: _,
|
|
@@ -436,7 +436,7 @@ function er() {
|
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !1,
|
|
439
|
-
value:
|
|
439
|
+
value: a
|
|
440
440
|
}), Object.defineProperty(i, "_source", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
@@ -444,7 +444,7 @@ function er() {
|
|
|
444
444
|
value: f
|
|
445
445
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
446
446
|
};
|
|
447
|
-
function
|
|
447
|
+
function nt(e, t, r, a, f) {
|
|
448
448
|
{
|
|
449
449
|
var m, l = {}, i = null, O = null;
|
|
450
450
|
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t, f));
|
|
@@ -459,13 +459,13 @@ function er() {
|
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
460
|
i && et(l, j), O && tt(l, j);
|
|
461
461
|
}
|
|
462
|
-
return rt(e, i, O, f,
|
|
462
|
+
return rt(e, i, O, f, a, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
466
466
|
function J(e) {
|
|
467
467
|
if (e) {
|
|
468
|
-
var t = e._owner, r =
|
|
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);
|
|
@@ -487,7 +487,7 @@ Check the render method of \`` + e + "`.";
|
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function at(e) {
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
493
|
var Ne = {};
|
|
@@ -512,8 +512,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
512
512
|
if (Ne[r])
|
|
513
513
|
return;
|
|
514
514
|
Ne[r] = !0;
|
|
515
|
-
var
|
|
516
|
-
e && e._owner && e._owner !== pe.current && (
|
|
515
|
+
var a = "";
|
|
516
|
+
e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + y(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ie(e, t) {
|
|
@@ -522,13 +522,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
522
522
|
return;
|
|
523
523
|
if (fe(e))
|
|
524
524
|
for (var r = 0; r < e.length; r++) {
|
|
525
|
-
var
|
|
526
|
-
ye(
|
|
525
|
+
var a = e[r];
|
|
526
|
+
ye(a) && Fe(a, t);
|
|
527
527
|
}
|
|
528
528
|
else if (ye(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var f =
|
|
531
|
+
var f = D(e);
|
|
532
532
|
if (typeof f == "function" && f !== e.entries)
|
|
533
533
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
534
534
|
ye(l.value) && Fe(l.value, t);
|
|
@@ -545,13 +545,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
545
545
|
r = t.propTypes;
|
|
546
546
|
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
547
547
|
// Inner props are checked in the reconciler.
|
|
548
|
-
t.$$typeof ===
|
|
548
|
+
t.$$typeof === c))
|
|
549
549
|
r = t.propTypes;
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var
|
|
554
|
-
Ge(r, e.props, "prop",
|
|
553
|
+
var a = y(t);
|
|
554
|
+
Ge(r, e.props, "prop", a, e);
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
556
556
|
me = !0;
|
|
557
557
|
var f = y(t);
|
|
@@ -563,9 +563,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
563
563
|
function it(e) {
|
|
564
564
|
{
|
|
565
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
566
|
+
var a = t[r];
|
|
567
|
+
if (a !== "children" && a !== "key") {
|
|
568
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
@@ -573,32 +573,32 @@ Check the top-level render call using <` + r + ">.");
|
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var Me = {};
|
|
576
|
-
function $e(e, t, r,
|
|
576
|
+
function $e(e, t, r, a, f, m) {
|
|
577
577
|
{
|
|
578
578
|
var l = N(e);
|
|
579
579
|
if (!l) {
|
|
580
580
|
var i = "";
|
|
581
581
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var O =
|
|
582
|
+
var O = at();
|
|
583
583
|
O ? i += O : i += Pe();
|
|
584
584
|
var w;
|
|
585
585
|
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (y(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
586
586
|
}
|
|
587
|
-
var j =
|
|
587
|
+
var j = nt(e, t, r, f, m);
|
|
588
588
|
if (j == null)
|
|
589
589
|
return j;
|
|
590
590
|
if (l) {
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
593
|
-
if (
|
|
594
|
-
if (fe(
|
|
595
|
-
for (var Z = 0; Z <
|
|
596
|
-
Ie(
|
|
597
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
var A = t.children;
|
|
592
|
+
if (A !== void 0)
|
|
593
|
+
if (a)
|
|
594
|
+
if (fe(A)) {
|
|
595
|
+
for (var Z = 0; Z < A.length; Z++)
|
|
596
|
+
Ie(A[Z], e);
|
|
597
|
+
Object.freeze && Object.freeze(A);
|
|
598
598
|
} else
|
|
599
599
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
600
|
else
|
|
601
|
-
Ie(
|
|
601
|
+
Ie(A, e);
|
|
602
602
|
}
|
|
603
603
|
if (X.call(t, "key")) {
|
|
604
604
|
var z = y(e), T = Object.keys(t).filter(function(ft) {
|
|
@@ -629,54 +629,54 @@ React keys must be passed directly to JSX without using spread:
|
|
|
629
629
|
}
|
|
630
630
|
process.env.NODE_ENV === "production" ? Tt.exports = Qt() : Tt.exports = er();
|
|
631
631
|
var g = Tt.exports;
|
|
632
|
-
function
|
|
632
|
+
function kn({ name: n, value: _, title: u, style: d, className: v }) {
|
|
633
633
|
let C = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
636
636
|
return d && (C.style = d), v && (C.className = v), /* @__PURE__ */ g.jsxs("dl", { ...C, children: [
|
|
637
|
-
|
|
637
|
+
u && /* @__PURE__ */ g.jsx("dt", { children: u }),
|
|
638
638
|
/* @__PURE__ */ g.jsx("dd", {})
|
|
639
639
|
] });
|
|
640
640
|
}
|
|
641
|
-
const tr = "_l_qo8dp_12", rr = "_f_qo8dp_36",
|
|
641
|
+
const tr = "_l_qo8dp_12", rr = "_f_qo8dp_36", nr = "_n_qo8dp_54", ar = "_w_qo8dp_60", or = "_t_qo8dp_70", _r = "_g_qo8dp_75", ir = "_h_qo8dp_79", _e = {
|
|
642
642
|
l: tr,
|
|
643
643
|
f: rr,
|
|
644
|
-
n:
|
|
645
|
-
w:
|
|
644
|
+
n: nr,
|
|
645
|
+
w: ar,
|
|
646
646
|
t: or,
|
|
647
647
|
g: _r,
|
|
648
648
|
h: ir
|
|
649
649
|
};
|
|
650
650
|
let ee = {};
|
|
651
|
-
ee.KeyDown = (
|
|
652
|
-
|
|
651
|
+
ee.KeyDown = (n) => {
|
|
652
|
+
n.key === "Enter" && n.preventDefault();
|
|
653
653
|
};
|
|
654
|
-
ee.PasteOne = (
|
|
655
|
-
|
|
654
|
+
ee.PasteOne = (n) => {
|
|
655
|
+
n.preventDefault(), navigator.clipboard.readText().then((_) => {
|
|
656
656
|
_ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
|
|
657
657
|
}).catch((_) => {
|
|
658
658
|
});
|
|
659
659
|
};
|
|
660
|
-
ee.Paste = (
|
|
661
|
-
_.preventDefault(), navigator.clipboard.readText().then((
|
|
662
|
-
if (
|
|
660
|
+
ee.Paste = (n, _) => {
|
|
661
|
+
_.preventDefault(), navigator.clipboard.readText().then((u) => {
|
|
662
|
+
if (n) {
|
|
663
663
|
let d = _.target.textContent.length;
|
|
664
|
-
if (d >=
|
|
665
|
-
|
|
664
|
+
if (d >= n) return;
|
|
665
|
+
n -= d, u = u.slice(0, n);
|
|
666
666
|
}
|
|
667
667
|
window.document.execCommand(
|
|
668
668
|
"insertText",
|
|
669
669
|
!1,
|
|
670
|
-
|
|
670
|
+
u.replace(/(\r\n|\n|\r)/gm, " ")
|
|
671
671
|
);
|
|
672
|
-
}).catch((
|
|
672
|
+
}).catch((u) => {
|
|
673
673
|
});
|
|
674
674
|
};
|
|
675
|
-
ee.Focus = (
|
|
676
|
-
|
|
675
|
+
ee.Focus = (n) => {
|
|
676
|
+
n.target.textContent.length === 0 && (n.target.innerHTML = "<br>");
|
|
677
677
|
};
|
|
678
|
-
ee.Blur = (
|
|
679
|
-
|
|
678
|
+
ee.Blur = (n) => {
|
|
679
|
+
n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
|
|
680
680
|
};
|
|
681
681
|
ee.ContentEditable = "plaintext-only";
|
|
682
682
|
var Dt = { exports: {} }, vt = {};
|
|
@@ -693,15 +693,15 @@ var Bt;
|
|
|
693
693
|
function sr() {
|
|
694
694
|
if (Bt) return vt;
|
|
695
695
|
Bt = 1;
|
|
696
|
-
var
|
|
696
|
+
var n = q, _ = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = 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 };
|
|
697
697
|
function E(x, s, h) {
|
|
698
|
-
var o,
|
|
699
|
-
h !== void 0 && (
|
|
700
|
-
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (
|
|
701
|
-
if (x && x.defaultProps) for (o in s = x.defaultProps, s)
|
|
702
|
-
return { $$typeof: _, type: x, key:
|
|
698
|
+
var o, c = {}, b = null, S = null;
|
|
699
|
+
h !== void 0 && (b = "" + h), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
700
|
+
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (c[o] = s[o]);
|
|
701
|
+
if (x && x.defaultProps) for (o in s = x.defaultProps, s) c[o] === void 0 && (c[o] = s[o]);
|
|
702
|
+
return { $$typeof: _, type: x, key: b, ref: S, props: c, _owner: v.current };
|
|
703
703
|
}
|
|
704
|
-
return vt.Fragment =
|
|
704
|
+
return vt.Fragment = u, vt.jsx = E, vt.jsxs = E, vt;
|
|
705
705
|
}
|
|
706
706
|
var kt = {};
|
|
707
707
|
/**
|
|
@@ -716,24 +716,24 @@ var kt = {};
|
|
|
716
716
|
var Lt;
|
|
717
717
|
function lr() {
|
|
718
718
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
719
|
-
var
|
|
720
|
-
function
|
|
719
|
+
var n = q, _ = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), I = Symbol.iterator, Y = "@@iterator";
|
|
720
|
+
function D(e) {
|
|
721
721
|
if (e === null || typeof e != "object")
|
|
722
722
|
return null;
|
|
723
|
-
var t =
|
|
723
|
+
var t = I && e[I] || e[Y];
|
|
724
724
|
return typeof t == "function" ? t : null;
|
|
725
725
|
}
|
|
726
|
-
var R =
|
|
726
|
+
var R = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
727
727
|
function p(e) {
|
|
728
728
|
{
|
|
729
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
730
|
-
r[
|
|
729
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
730
|
+
r[a - 1] = arguments[a];
|
|
731
731
|
F("error", e, r);
|
|
732
732
|
}
|
|
733
733
|
}
|
|
734
734
|
function F(e, t, r) {
|
|
735
735
|
{
|
|
736
|
-
var
|
|
736
|
+
var a = R.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
737
737
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
738
738
|
var m = r.map(function(l) {
|
|
739
739
|
return String(l);
|
|
@@ -741,23 +741,23 @@ function lr() {
|
|
|
741
741
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
|
-
var
|
|
745
|
-
|
|
744
|
+
var M = !1, K = !1, W = !1, B = !1, U = !1, P;
|
|
745
|
+
P = Symbol.for("react.module.reference");
|
|
746
746
|
function N(e) {
|
|
747
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C ||
|
|
747
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || U || e === v || e === h || e === o || B || e === S || M || K || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === c || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
748
748
|
// types supported by any Flight configuration anywhere since
|
|
749
749
|
// we don't know which Flight build this will end up being used
|
|
750
750
|
// with.
|
|
751
|
-
e.$$typeof ===
|
|
751
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
752
752
|
}
|
|
753
753
|
function G(e, t, r) {
|
|
754
|
-
var
|
|
755
|
-
if (
|
|
756
|
-
return
|
|
754
|
+
var a = e.displayName;
|
|
755
|
+
if (a)
|
|
756
|
+
return a;
|
|
757
757
|
var f = t.displayName || t.name || "";
|
|
758
758
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function k(e) {
|
|
761
761
|
return e.displayName || "Context";
|
|
762
762
|
}
|
|
763
763
|
function y(e) {
|
|
@@ -770,7 +770,7 @@ function lr() {
|
|
|
770
770
|
switch (e) {
|
|
771
771
|
case d:
|
|
772
772
|
return "Fragment";
|
|
773
|
-
case
|
|
773
|
+
case u:
|
|
774
774
|
return "Portal";
|
|
775
775
|
case C:
|
|
776
776
|
return "Profiler";
|
|
@@ -785,16 +785,16 @@ function lr() {
|
|
|
785
785
|
switch (e.$$typeof) {
|
|
786
786
|
case x:
|
|
787
787
|
var t = e;
|
|
788
|
-
return
|
|
788
|
+
return k(t) + ".Consumer";
|
|
789
789
|
case E:
|
|
790
790
|
var r = e;
|
|
791
|
-
return
|
|
791
|
+
return k(r._context) + ".Provider";
|
|
792
792
|
case s:
|
|
793
793
|
return G(e, e.render, "ForwardRef");
|
|
794
|
-
case
|
|
795
|
-
var
|
|
796
|
-
return
|
|
797
|
-
case
|
|
794
|
+
case c:
|
|
795
|
+
var a = e.displayName || null;
|
|
796
|
+
return a !== null ? a : y(e.type) || "Memo";
|
|
797
|
+
case b: {
|
|
798
798
|
var f = e, m = f._payload, l = f._init;
|
|
799
799
|
try {
|
|
800
800
|
return y(l(m));
|
|
@@ -805,7 +805,7 @@ function lr() {
|
|
|
805
805
|
}
|
|
806
806
|
return null;
|
|
807
807
|
}
|
|
808
|
-
var
|
|
808
|
+
var $ = Object.assign, L = 0, se, V, oe, ge, le, be, ke;
|
|
809
809
|
function we() {
|
|
810
810
|
}
|
|
811
811
|
we.__reactDisabledLog = !0;
|
|
@@ -841,25 +841,25 @@ function lr() {
|
|
|
841
841
|
writable: !0
|
|
842
842
|
};
|
|
843
843
|
Object.defineProperties(console, {
|
|
844
|
-
log:
|
|
844
|
+
log: $({}, e, {
|
|
845
845
|
value: se
|
|
846
846
|
}),
|
|
847
|
-
info:
|
|
847
|
+
info: $({}, e, {
|
|
848
848
|
value: V
|
|
849
849
|
}),
|
|
850
|
-
warn:
|
|
850
|
+
warn: $({}, e, {
|
|
851
851
|
value: oe
|
|
852
852
|
}),
|
|
853
|
-
error:
|
|
853
|
+
error: $({}, e, {
|
|
854
854
|
value: ge
|
|
855
855
|
}),
|
|
856
|
-
group:
|
|
856
|
+
group: $({}, e, {
|
|
857
857
|
value: le
|
|
858
858
|
}),
|
|
859
|
-
groupCollapsed:
|
|
859
|
+
groupCollapsed: $({}, e, {
|
|
860
860
|
value: be
|
|
861
861
|
}),
|
|
862
|
-
groupEnd:
|
|
862
|
+
groupEnd: $({}, e, {
|
|
863
863
|
value: ke
|
|
864
864
|
})
|
|
865
865
|
});
|
|
@@ -874,8 +874,8 @@ function lr() {
|
|
|
874
874
|
try {
|
|
875
875
|
throw Error();
|
|
876
876
|
} catch (f) {
|
|
877
|
-
var
|
|
878
|
-
ue =
|
|
877
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
878
|
+
ue = a && a[1] || "";
|
|
879
879
|
}
|
|
880
880
|
return `
|
|
881
881
|
` + ue + e;
|
|
@@ -894,7 +894,7 @@ function lr() {
|
|
|
894
894
|
if (r !== void 0)
|
|
895
895
|
return r;
|
|
896
896
|
}
|
|
897
|
-
var
|
|
897
|
+
var a;
|
|
898
898
|
de = !0;
|
|
899
899
|
var f = Error.prepareStackTrace;
|
|
900
900
|
Error.prepareStackTrace = void 0;
|
|
@@ -913,14 +913,14 @@ function lr() {
|
|
|
913
913
|
try {
|
|
914
914
|
Reflect.construct(l, []);
|
|
915
915
|
} catch (T) {
|
|
916
|
-
|
|
916
|
+
a = T;
|
|
917
917
|
}
|
|
918
918
|
Reflect.construct(e, [], l);
|
|
919
919
|
} else {
|
|
920
920
|
try {
|
|
921
921
|
l.call();
|
|
922
922
|
} catch (T) {
|
|
923
|
-
|
|
923
|
+
a = T;
|
|
924
924
|
}
|
|
925
925
|
e.call(l.prototype);
|
|
926
926
|
}
|
|
@@ -928,14 +928,14 @@ function lr() {
|
|
|
928
928
|
try {
|
|
929
929
|
throw Error();
|
|
930
930
|
} catch (T) {
|
|
931
|
-
|
|
931
|
+
a = T;
|
|
932
932
|
}
|
|
933
933
|
e();
|
|
934
934
|
}
|
|
935
935
|
} catch (T) {
|
|
936
|
-
if (T &&
|
|
936
|
+
if (T && a && typeof T.stack == "string") {
|
|
937
937
|
for (var i = T.stack.split(`
|
|
938
|
-
`), O =
|
|
938
|
+
`), O = a.stack.split(`
|
|
939
939
|
`), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
|
|
940
940
|
j--;
|
|
941
941
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -943,9 +943,9 @@ function lr() {
|
|
|
943
943
|
if (w !== 1 || j !== 1)
|
|
944
944
|
do
|
|
945
945
|
if (w--, j--, j < 0 || i[w] !== O[j]) {
|
|
946
|
-
var
|
|
946
|
+
var A = `
|
|
947
947
|
` + i[w].replace(" at new ", " at ");
|
|
948
|
-
return e.displayName &&
|
|
948
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, A), A;
|
|
949
949
|
}
|
|
950
950
|
while (w >= 1 && j >= 0);
|
|
951
951
|
break;
|
|
@@ -964,7 +964,7 @@ function lr() {
|
|
|
964
964
|
var t = e.prototype;
|
|
965
965
|
return !!(t && t.isReactComponent);
|
|
966
966
|
}
|
|
967
|
-
function
|
|
967
|
+
function ne(e, t, r) {
|
|
968
968
|
if (e == null)
|
|
969
969
|
return "";
|
|
970
970
|
if (typeof e == "function")
|
|
@@ -981,12 +981,12 @@ function lr() {
|
|
|
981
981
|
switch (e.$$typeof) {
|
|
982
982
|
case s:
|
|
983
983
|
return Ke(e.render);
|
|
984
|
-
case
|
|
985
|
-
return
|
|
986
|
-
case
|
|
987
|
-
var
|
|
984
|
+
case c:
|
|
985
|
+
return ne(e.type, t, r);
|
|
986
|
+
case b: {
|
|
987
|
+
var a = e, f = a._payload, m = a._init;
|
|
988
988
|
try {
|
|
989
|
-
return
|
|
989
|
+
return ne(m(f), t, r);
|
|
990
990
|
} catch {
|
|
991
991
|
}
|
|
992
992
|
}
|
|
@@ -994,14 +994,14 @@ function lr() {
|
|
|
994
994
|
return "";
|
|
995
995
|
}
|
|
996
996
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
|
|
997
|
-
function
|
|
997
|
+
function ae(e) {
|
|
998
998
|
if (e) {
|
|
999
|
-
var t = e._owner, r =
|
|
999
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1000
1000
|
Ce.setExtraStackFrame(r);
|
|
1001
1001
|
} else
|
|
1002
1002
|
Ce.setExtraStackFrame(null);
|
|
1003
1003
|
}
|
|
1004
|
-
function Ge(e, t, r,
|
|
1004
|
+
function Ge(e, t, r, a, f) {
|
|
1005
1005
|
{
|
|
1006
1006
|
var m = Function.call.bind(X);
|
|
1007
1007
|
for (var l in e)
|
|
@@ -1009,14 +1009,14 @@ function lr() {
|
|
|
1009
1009
|
var i = void 0;
|
|
1010
1010
|
try {
|
|
1011
1011
|
if (typeof e[l] != "function") {
|
|
1012
|
-
var O = Error((
|
|
1012
|
+
var O = 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`.");
|
|
1013
1013
|
throw O.name = "Invariant Violation", O;
|
|
1014
1014
|
}
|
|
1015
|
-
i = e[l](t, l,
|
|
1015
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1016
1016
|
} catch (w) {
|
|
1017
1017
|
i = w;
|
|
1018
1018
|
}
|
|
1019
|
-
i && !(i instanceof Error) && (
|
|
1019
|
+
i && !(i instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof i), ae(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ae(f), p("Failed %s type: %s", r, i.message), ae(null));
|
|
1020
1020
|
}
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
@@ -1091,7 +1091,7 @@ function lr() {
|
|
|
1091
1091
|
});
|
|
1092
1092
|
}
|
|
1093
1093
|
}
|
|
1094
|
-
var rt = function(e, t, r,
|
|
1094
|
+
var rt = function(e, t, r, a, f, m, l) {
|
|
1095
1095
|
var i = {
|
|
1096
1096
|
// This tag allows us to uniquely identify this as a React Element
|
|
1097
1097
|
$$typeof: _,
|
|
@@ -1112,7 +1112,7 @@ function lr() {
|
|
|
1112
1112
|
configurable: !1,
|
|
1113
1113
|
enumerable: !1,
|
|
1114
1114
|
writable: !1,
|
|
1115
|
-
value:
|
|
1115
|
+
value: a
|
|
1116
1116
|
}), Object.defineProperty(i, "_source", {
|
|
1117
1117
|
configurable: !1,
|
|
1118
1118
|
enumerable: !1,
|
|
@@ -1120,7 +1120,7 @@ function lr() {
|
|
|
1120
1120
|
value: f
|
|
1121
1121
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
1122
1122
|
};
|
|
1123
|
-
function
|
|
1123
|
+
function nt(e, t, r, a, f) {
|
|
1124
1124
|
{
|
|
1125
1125
|
var m, l = {}, i = null, O = null;
|
|
1126
1126
|
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t));
|
|
@@ -1135,13 +1135,13 @@ function lr() {
|
|
|
1135
1135
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1136
1136
|
i && et(l, j), O && tt(l, j);
|
|
1137
1137
|
}
|
|
1138
|
-
return rt(e, i, O, f,
|
|
1138
|
+
return rt(e, i, O, f, a, Ee.current, l);
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
1141
|
var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
1142
1142
|
function J(e) {
|
|
1143
1143
|
if (e) {
|
|
1144
|
-
var t = e._owner, r =
|
|
1144
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1145
1145
|
De.setExtraStackFrame(r);
|
|
1146
1146
|
} else
|
|
1147
1147
|
De.setExtraStackFrame(null);
|
|
@@ -1163,7 +1163,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1163
1163
|
return "";
|
|
1164
1164
|
}
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function at(e) {
|
|
1167
1167
|
return "";
|
|
1168
1168
|
}
|
|
1169
1169
|
var Ne = {};
|
|
@@ -1188,8 +1188,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1188
1188
|
if (Ne[r])
|
|
1189
1189
|
return;
|
|
1190
1190
|
Ne[r] = !0;
|
|
1191
|
-
var
|
|
1192
|
-
e && e._owner && e._owner !== pe.current && (
|
|
1191
|
+
var a = "";
|
|
1192
|
+
e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + y(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
1193
1193
|
}
|
|
1194
1194
|
}
|
|
1195
1195
|
function Ie(e, t) {
|
|
@@ -1198,13 +1198,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1198
1198
|
return;
|
|
1199
1199
|
if (fe(e))
|
|
1200
1200
|
for (var r = 0; r < e.length; r++) {
|
|
1201
|
-
var
|
|
1202
|
-
ye(
|
|
1201
|
+
var a = e[r];
|
|
1202
|
+
ye(a) && Fe(a, t);
|
|
1203
1203
|
}
|
|
1204
1204
|
else if (ye(e))
|
|
1205
1205
|
e._store && (e._store.validated = !0);
|
|
1206
1206
|
else if (e) {
|
|
1207
|
-
var f =
|
|
1207
|
+
var f = D(e);
|
|
1208
1208
|
if (typeof f == "function" && f !== e.entries)
|
|
1209
1209
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
1210
1210
|
ye(l.value) && Fe(l.value, t);
|
|
@@ -1221,13 +1221,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1221
1221
|
r = t.propTypes;
|
|
1222
1222
|
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
1223
1223
|
// Inner props are checked in the reconciler.
|
|
1224
|
-
t.$$typeof ===
|
|
1224
|
+
t.$$typeof === c))
|
|
1225
1225
|
r = t.propTypes;
|
|
1226
1226
|
else
|
|
1227
1227
|
return;
|
|
1228
1228
|
if (r) {
|
|
1229
|
-
var
|
|
1230
|
-
Ge(r, e.props, "prop",
|
|
1229
|
+
var a = y(t);
|
|
1230
|
+
Ge(r, e.props, "prop", a, e);
|
|
1231
1231
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
1232
1232
|
me = !0;
|
|
1233
1233
|
var f = y(t);
|
|
@@ -1239,9 +1239,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1239
1239
|
function it(e) {
|
|
1240
1240
|
{
|
|
1241
1241
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1242
|
-
var
|
|
1243
|
-
if (
|
|
1244
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
1242
|
+
var a = t[r];
|
|
1243
|
+
if (a !== "children" && a !== "key") {
|
|
1244
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
1245
1245
|
break;
|
|
1246
1246
|
}
|
|
1247
1247
|
}
|
|
@@ -1249,32 +1249,32 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
1251
|
var Me = {};
|
|
1252
|
-
function $e(e, t, r,
|
|
1252
|
+
function $e(e, t, r, a, f, m) {
|
|
1253
1253
|
{
|
|
1254
1254
|
var l = N(e);
|
|
1255
1255
|
if (!l) {
|
|
1256
1256
|
var i = "";
|
|
1257
1257
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1258
|
-
var O =
|
|
1258
|
+
var O = at();
|
|
1259
1259
|
O ? i += O : i += Pe();
|
|
1260
1260
|
var w;
|
|
1261
1261
|
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (y(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
1262
1262
|
}
|
|
1263
|
-
var j =
|
|
1263
|
+
var j = nt(e, t, r, f, m);
|
|
1264
1264
|
if (j == null)
|
|
1265
1265
|
return j;
|
|
1266
1266
|
if (l) {
|
|
1267
|
-
var
|
|
1268
|
-
if (
|
|
1269
|
-
if (
|
|
1270
|
-
if (fe(
|
|
1271
|
-
for (var Z = 0; Z <
|
|
1272
|
-
Ie(
|
|
1273
|
-
Object.freeze && Object.freeze(
|
|
1267
|
+
var A = t.children;
|
|
1268
|
+
if (A !== void 0)
|
|
1269
|
+
if (a)
|
|
1270
|
+
if (fe(A)) {
|
|
1271
|
+
for (var Z = 0; Z < A.length; Z++)
|
|
1272
|
+
Ie(A[Z], e);
|
|
1273
|
+
Object.freeze && Object.freeze(A);
|
|
1274
1274
|
} else
|
|
1275
1275
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1276
1276
|
else
|
|
1277
|
-
Ie(
|
|
1277
|
+
Ie(A, e);
|
|
1278
1278
|
}
|
|
1279
1279
|
if (X.call(t, "key")) {
|
|
1280
1280
|
var z = y(e), T = Object.keys(t).filter(function(ft) {
|
|
@@ -1315,17 +1315,17 @@ const cr = "_notice_13j98_2", ur = "_error_13j98_11", dr = "_success_13j98_14",
|
|
|
1315
1315
|
"hide-notice": "_hide-notice_13j98_1"
|
|
1316
1316
|
};
|
|
1317
1317
|
let Le = {};
|
|
1318
|
-
function gt({ data:
|
|
1319
|
-
let [_,
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1318
|
+
function gt({ data: n }) {
|
|
1319
|
+
let [_, u] = q.useState("show");
|
|
1320
|
+
q.useEffect(() => {
|
|
1321
|
+
n.hide && (setTimeout(function() {
|
|
1322
|
+
u("hide");
|
|
1323
1323
|
}, 1800), setTimeout(function() {
|
|
1324
|
-
Le.del(
|
|
1324
|
+
Le.del(n.key);
|
|
1325
1325
|
}, 2500));
|
|
1326
|
-
}, [
|
|
1326
|
+
}, [n.key]);
|
|
1327
1327
|
let d, v;
|
|
1328
|
-
switch (
|
|
1328
|
+
switch (n.type) {
|
|
1329
1329
|
case "error":
|
|
1330
1330
|
d = /* @__PURE__ */ Q.jsx(pt.error, {}), v = "Ошибка:";
|
|
1331
1331
|
break;
|
|
@@ -1342,21 +1342,21 @@ function gt({ data: a }) {
|
|
|
1342
1342
|
d = /* @__PURE__ */ Q.jsx(pt.success, {}), v = "Предупреждение:";
|
|
1343
1343
|
break;
|
|
1344
1344
|
}
|
|
1345
|
-
return /* @__PURE__ */ Q.jsxs("li", { className: Ht[
|
|
1345
|
+
return /* @__PURE__ */ Q.jsxs("li", { className: Ht[n.type], "data-status": _, children: [
|
|
1346
1346
|
d,
|
|
1347
1347
|
/* @__PURE__ */ Q.jsx("b", { children: v }),
|
|
1348
|
-
/* @__PURE__ */ Q.jsx("p", { children:
|
|
1348
|
+
/* @__PURE__ */ Q.jsx("p", { children: n.text })
|
|
1349
1349
|
] });
|
|
1350
1350
|
}
|
|
1351
|
-
function mr({ data:
|
|
1352
|
-
let [_,
|
|
1353
|
-
return
|
|
1354
|
-
|
|
1355
|
-
|
|
1351
|
+
function mr({ data: n }) {
|
|
1352
|
+
let [_, u] = q.useState("show");
|
|
1353
|
+
return q.useEffect(() => {
|
|
1354
|
+
n.hide && (setTimeout(function() {
|
|
1355
|
+
u("hide");
|
|
1356
1356
|
}, 1800), setTimeout(function() {
|
|
1357
|
-
Le.del(
|
|
1357
|
+
Le.del(n.key);
|
|
1358
1358
|
}, 2500));
|
|
1359
|
-
}, [
|
|
1359
|
+
}, [n.key]), /* @__PURE__ */ Q.jsx("li", { className: "item", "data-status": _, children: n.text });
|
|
1360
1360
|
}
|
|
1361
1361
|
const pt = {};
|
|
1362
1362
|
pt.error = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -1392,37 +1392,37 @@ pt.success = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "
|
|
|
1392
1392
|
)
|
|
1393
1393
|
] });
|
|
1394
1394
|
var Ct;
|
|
1395
|
-
((
|
|
1395
|
+
((n) => {
|
|
1396
1396
|
function _() {
|
|
1397
|
-
let [s, h] =
|
|
1397
|
+
let [s, h] = q.useState([]);
|
|
1398
1398
|
return Le.set = (o) => {
|
|
1399
1399
|
h([...s, o]);
|
|
1400
1400
|
}, Le.del = (o) => {
|
|
1401
|
-
h(s.filter((
|
|
1401
|
+
h(s.filter((c) => c.key !== o));
|
|
1402
1402
|
}, s.length === 0 ? "" : /* @__PURE__ */ Q.jsx("ul", { className: Ht.notice, children: s.map((o) => o.item) });
|
|
1403
1403
|
}
|
|
1404
|
-
|
|
1405
|
-
function
|
|
1406
|
-
let o = Date.now(),
|
|
1404
|
+
n.Init = _;
|
|
1405
|
+
function u(s, h = !0) {
|
|
1406
|
+
let o = Date.now(), c = { key: o, text: s, hide: h, type: "error" };
|
|
1407
1407
|
Le.set({
|
|
1408
|
-
item: /* @__PURE__ */ Q.jsx(gt, { data:
|
|
1408
|
+
item: /* @__PURE__ */ Q.jsx(gt, { data: c }, o),
|
|
1409
1409
|
key: o
|
|
1410
1410
|
});
|
|
1411
1411
|
}
|
|
1412
|
-
|
|
1412
|
+
n.Error = u;
|
|
1413
1413
|
function d(s, h = !0) {
|
|
1414
|
-
let o = Date.now(),
|
|
1414
|
+
let o = Date.now(), c = { key: o, text: s, hide: h, type: "success" };
|
|
1415
1415
|
Le.set({
|
|
1416
|
-
item: /* @__PURE__ */ Q.jsx(gt, { data:
|
|
1416
|
+
item: /* @__PURE__ */ Q.jsx(gt, { data: c }, o),
|
|
1417
1417
|
key: o
|
|
1418
1418
|
});
|
|
1419
1419
|
}
|
|
1420
|
-
|
|
1420
|
+
n.Success = d;
|
|
1421
1421
|
function v(s, h = !0) {
|
|
1422
|
-
let o = Date.now(),
|
|
1423
|
-
Le.set({ item: /* @__PURE__ */ Q.jsx(mr, { data:
|
|
1422
|
+
let o = Date.now(), c = { key: o, hide: h, text: s };
|
|
1423
|
+
Le.set({ item: /* @__PURE__ */ Q.jsx(mr, { data: c }, o), key: o });
|
|
1424
1424
|
}
|
|
1425
|
-
|
|
1425
|
+
n.Custom = v;
|
|
1426
1426
|
function C(s) {
|
|
1427
1427
|
let h = Date.now(), o = { key: h, hide: !0, ...s };
|
|
1428
1428
|
Le.set({
|
|
@@ -1430,29 +1430,29 @@ var Ct;
|
|
|
1430
1430
|
key: h
|
|
1431
1431
|
});
|
|
1432
1432
|
}
|
|
1433
|
-
|
|
1433
|
+
n.Send = C;
|
|
1434
1434
|
function E(s, h = !0) {
|
|
1435
|
-
let o = Date.now(),
|
|
1435
|
+
let o = Date.now(), c = { key: o, text: s, hide: h, type: "remark" };
|
|
1436
1436
|
Le.set({
|
|
1437
|
-
item: /* @__PURE__ */ Q.jsx(gt, { data:
|
|
1437
|
+
item: /* @__PURE__ */ Q.jsx(gt, { data: c }, o),
|
|
1438
1438
|
key: o
|
|
1439
1439
|
});
|
|
1440
1440
|
}
|
|
1441
|
-
|
|
1441
|
+
n.Remark = E;
|
|
1442
1442
|
function x(s, h = !0) {
|
|
1443
|
-
let o = Date.now(),
|
|
1443
|
+
let o = Date.now(), c = { key: o, text: s, hide: h, type: "copy" };
|
|
1444
1444
|
Le.set({
|
|
1445
|
-
item: /* @__PURE__ */ Q.jsx(gt, { data:
|
|
1445
|
+
item: /* @__PURE__ */ Q.jsx(gt, { data: c }, o),
|
|
1446
1446
|
key: o
|
|
1447
1447
|
});
|
|
1448
1448
|
}
|
|
1449
|
-
|
|
1449
|
+
n.Copy = x;
|
|
1450
1450
|
})(Ct || (Ct = {}));
|
|
1451
1451
|
const Be = Jt(
|
|
1452
1452
|
({
|
|
1453
|
-
element_blok:
|
|
1453
|
+
element_blok: n,
|
|
1454
1454
|
element_input: _,
|
|
1455
|
-
type:
|
|
1455
|
+
type: u = "input",
|
|
1456
1456
|
title: d,
|
|
1457
1457
|
before: v,
|
|
1458
1458
|
after: C,
|
|
@@ -1460,9 +1460,9 @@ const Be = Jt(
|
|
|
1460
1460
|
}, x) => /* @__PURE__ */ g.jsxs(
|
|
1461
1461
|
"dl",
|
|
1462
1462
|
{
|
|
1463
|
-
"data-field":
|
|
1463
|
+
"data-field": u,
|
|
1464
1464
|
..._.props,
|
|
1465
|
-
className: [_e.l, ...
|
|
1465
|
+
className: [_e.l, ...n.className].filter((s) => s !== void 0).join(" "),
|
|
1466
1466
|
children: [
|
|
1467
1467
|
d ? /* @__PURE__ */ g.jsx("dt", { className: _e.t, children: d }) : "",
|
|
1468
1468
|
v,
|
|
@@ -1482,10 +1482,10 @@ const Be = Jt(
|
|
|
1482
1482
|
}
|
|
1483
1483
|
)
|
|
1484
1484
|
);
|
|
1485
|
-
function
|
|
1486
|
-
value:
|
|
1485
|
+
function wn({
|
|
1486
|
+
value: n = "",
|
|
1487
1487
|
onValue: _,
|
|
1488
|
-
onSave:
|
|
1488
|
+
onSave: u,
|
|
1489
1489
|
name: d,
|
|
1490
1490
|
format: v = "+_(___) ___-__-__",
|
|
1491
1491
|
placeholder: C = "",
|
|
@@ -1494,70 +1494,70 @@ function ka({
|
|
|
1494
1494
|
hide: s = !1,
|
|
1495
1495
|
edit: h = !0,
|
|
1496
1496
|
active: o = !0,
|
|
1497
|
-
after:
|
|
1498
|
-
show:
|
|
1497
|
+
after: c = "",
|
|
1498
|
+
show: b = !0,
|
|
1499
1499
|
view: S,
|
|
1500
|
-
className:
|
|
1500
|
+
className: I = ""
|
|
1501
1501
|
}) {
|
|
1502
|
-
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (
|
|
1503
|
-
let
|
|
1504
|
-
let
|
|
1505
|
-
|
|
1506
|
-
},
|
|
1507
|
-
|
|
1502
|
+
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(h && o), q.useRef(null);
|
|
1503
|
+
let D = v, R = !0, p = 0, F = (k, y) => {
|
|
1504
|
+
let $ = document.createRange(), L = window.getSelection();
|
|
1505
|
+
$.setStart(y.childNodes[0], k), $.collapse(!0), L.removeAllRanges(), L.addRange($), y.focus();
|
|
1506
|
+
}, M = (k) => {
|
|
1507
|
+
k.preventDefault(), navigator.clipboard.readText().then((y) => {
|
|
1508
1508
|
window.document.execCommand("insertText", !1, y);
|
|
1509
1509
|
}).catch((y) => {
|
|
1510
1510
|
});
|
|
1511
|
-
}, K = (
|
|
1512
|
-
let y = 0,
|
|
1511
|
+
}, K = (k) => {
|
|
1512
|
+
let y = 0, $ = "", L = k.replace(/\D/g, "");
|
|
1513
1513
|
L === "" && (R = !0);
|
|
1514
1514
|
let se = L.split(""), V = "";
|
|
1515
1515
|
se.forEach((le) => {
|
|
1516
|
-
R && (V += le, R && (p = ("" + V).length,
|
|
1516
|
+
R && (V += le, R && (p = ("" + V).length, D = v.replace(new RegExp("[0-9]", "g"), "_"), $ = ""), p > ("" + V).length && (R = !0, D = v.replace(new RegExp("[0-9]", "g"), "_"), $ = ""));
|
|
1517
1517
|
});
|
|
1518
|
-
let oe =
|
|
1519
|
-
return oe.length >= L.length && (L = oe), { q:
|
|
1518
|
+
let oe = D.replace(/\D/g, "");
|
|
1519
|
+
return oe.length >= L.length && (L = oe), { q: D.replace(/[_\d]/g, function() {
|
|
1520
1520
|
return L.charAt(y++) || "_";
|
|
1521
|
-
}), i: y, v: L, f:
|
|
1522
|
-
},
|
|
1523
|
-
|
|
1521
|
+
}), i: y, v: L, f: $ };
|
|
1522
|
+
}, W = (k) => {
|
|
1523
|
+
k.preventDefault(), navigator.clipboard.writeText(k.target.textContent.replace(/\D/g, "")).then(
|
|
1524
1524
|
function() {
|
|
1525
1525
|
Ct.Copy("Данные в буфер обмене");
|
|
1526
1526
|
},
|
|
1527
1527
|
function(y) {
|
|
1528
1528
|
}
|
|
1529
1529
|
);
|
|
1530
|
-
},
|
|
1531
|
-
let y = K(
|
|
1532
|
-
|
|
1533
|
-
},
|
|
1534
|
-
|
|
1530
|
+
}, B = K(n), U = (k) => {
|
|
1531
|
+
let y = K(k.target.textContent);
|
|
1532
|
+
k.target.textContent = y.q, y.i = y.q.lastIndexOf(y.v.substr(-1)), y.i < y.q.length && y.q !== D ? y.i++ : y.i = y.q.indexOf("_"), F(y.i, k.target), _ && _({ value: y.q.replace(/\D/g, ""), name: d });
|
|
1533
|
+
}, P = (k) => {
|
|
1534
|
+
k.key === "Enter" && k.preventDefault();
|
|
1535
1535
|
};
|
|
1536
|
-
const N = (
|
|
1537
|
-
ee.Blur(
|
|
1538
|
-
value:
|
|
1536
|
+
const N = (k) => {
|
|
1537
|
+
ee.Blur(k), u && u({
|
|
1538
|
+
value: k.target.textContent.replace(/\D/g, ""),
|
|
1539
1539
|
name: d
|
|
1540
1540
|
});
|
|
1541
1541
|
};
|
|
1542
1542
|
let G = {};
|
|
1543
|
-
return h && o ? (G.edit = "true", G.contentEditable = ee.ContentEditable) : G.contentEditable = "false", C && (G.placeholder = C),
|
|
1543
|
+
return h && o ? (G.edit = "true", G.contentEditable = ee.ContentEditable) : G.contentEditable = "false", C && (G.placeholder = C), c && (G.after = c), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
1544
1544
|
Be,
|
|
1545
1545
|
{
|
|
1546
1546
|
type: "input",
|
|
1547
1547
|
title: E,
|
|
1548
|
-
element_blok: { className: [
|
|
1548
|
+
element_blok: { className: [I] },
|
|
1549
1549
|
element_input: { className: [_e.w] },
|
|
1550
1550
|
children: /* @__PURE__ */ g.jsx(
|
|
1551
1551
|
"div",
|
|
1552
1552
|
{
|
|
1553
|
-
onPaste:
|
|
1554
|
-
onInput:
|
|
1555
|
-
onKeyDown:
|
|
1556
|
-
onContextMenu:
|
|
1553
|
+
onPaste: M,
|
|
1554
|
+
onInput: U,
|
|
1555
|
+
onKeyDown: P,
|
|
1556
|
+
onContextMenu: W,
|
|
1557
1557
|
onBlur: N,
|
|
1558
1558
|
suppressContentEditableWarning: !0,
|
|
1559
1559
|
...G,
|
|
1560
|
-
children:
|
|
1560
|
+
children: B.q
|
|
1561
1561
|
}
|
|
1562
1562
|
)
|
|
1563
1563
|
}
|
|
@@ -1567,10 +1567,10 @@ const yr = "_o_1c9e1_1", vr = "_c_1c9e1_11", St = {
|
|
|
1567
1567
|
o: yr,
|
|
1568
1568
|
c: vr
|
|
1569
1569
|
};
|
|
1570
|
-
function
|
|
1571
|
-
value:
|
|
1570
|
+
function jn({
|
|
1571
|
+
value: n,
|
|
1572
1572
|
onValue: _,
|
|
1573
|
-
name:
|
|
1573
|
+
name: u,
|
|
1574
1574
|
error: d,
|
|
1575
1575
|
icon: v,
|
|
1576
1576
|
edit: C = !0,
|
|
@@ -1579,17 +1579,17 @@ function wa({
|
|
|
1579
1579
|
placeholder: s = "",
|
|
1580
1580
|
className: h
|
|
1581
1581
|
}) {
|
|
1582
|
-
let [o,
|
|
1583
|
-
const
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
}, [
|
|
1587
|
-
let
|
|
1588
|
-
|
|
1589
|
-
},
|
|
1582
|
+
let [o, c] = q.useState(n);
|
|
1583
|
+
const b = q.useRef(null), [S, I] = q.useState(!1);
|
|
1584
|
+
q.useEffect(() => {
|
|
1585
|
+
c(n);
|
|
1586
|
+
}, [n]);
|
|
1587
|
+
let Y = (p) => {
|
|
1588
|
+
c(p), _ && _({ value: p, name: u });
|
|
1589
|
+
}, D = (p) => {
|
|
1590
1590
|
if (!C || !E) return;
|
|
1591
|
-
const F = p.target.getBoundingClientRect(),
|
|
1592
|
-
|
|
1591
|
+
const F = p.target.getBoundingClientRect(), M = F.left, K = F.top;
|
|
1592
|
+
b.position = { x: M, y: K }, I(!0);
|
|
1593
1593
|
};
|
|
1594
1594
|
const R = {};
|
|
1595
1595
|
return s && (R.placeholder = s), v || /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
@@ -1600,17 +1600,17 @@ function wa({
|
|
|
1600
1600
|
title: x,
|
|
1601
1601
|
element_blok: { className: [h] },
|
|
1602
1602
|
element_input: { className: [_e.w] },
|
|
1603
|
-
children: /* @__PURE__ */ g.jsx("div", { onClick:
|
|
1603
|
+
children: /* @__PURE__ */ g.jsx("div", { onClick: D, ...R, children: hr(o, "mm.yyyy") })
|
|
1604
1604
|
}
|
|
1605
1605
|
),
|
|
1606
1606
|
S && Mt(
|
|
1607
1607
|
/* @__PURE__ */ g.jsx(
|
|
1608
1608
|
gr,
|
|
1609
1609
|
{
|
|
1610
|
-
position:
|
|
1611
|
-
onValue:
|
|
1610
|
+
position: b.position,
|
|
1611
|
+
onValue: Y,
|
|
1612
1612
|
date: o,
|
|
1613
|
-
onOpen:
|
|
1613
|
+
onOpen: I
|
|
1614
1614
|
},
|
|
1615
1615
|
(/* @__PURE__ */ new Date()).getTime()
|
|
1616
1616
|
),
|
|
@@ -1618,27 +1618,27 @@ function wa({
|
|
|
1618
1618
|
)
|
|
1619
1619
|
] });
|
|
1620
1620
|
}
|
|
1621
|
-
const gr = ({ onOpen:
|
|
1621
|
+
const gr = ({ onOpen: n, date: _, onValue: u, position: d }) => {
|
|
1622
1622
|
let v = /* @__PURE__ */ new Date(), C = new Date(_), E = {
|
|
1623
1623
|
y: parseInt(v.getFullYear()),
|
|
1624
1624
|
m: parseInt(v.getMonth()) + 1
|
|
1625
1625
|
}, x = {
|
|
1626
1626
|
y: parseInt(C.getFullYear()),
|
|
1627
1627
|
m: parseInt(C.getMonth()) + 1
|
|
1628
|
-
}, [s, h] =
|
|
1629
|
-
|
|
1630
|
-
},
|
|
1628
|
+
}, [s, h] = q.useState(x.y), o = () => {
|
|
1629
|
+
n(!1);
|
|
1630
|
+
}, c = () => {
|
|
1631
1631
|
h(s + 1);
|
|
1632
|
-
},
|
|
1632
|
+
}, b = () => {
|
|
1633
1633
|
h(s - 1);
|
|
1634
1634
|
}, S = (p) => {
|
|
1635
|
-
|
|
1636
|
-
},
|
|
1635
|
+
u(s + "-" + br(2, p)), o();
|
|
1636
|
+
}, I = (p) => E.y === x.y && E.m === p ? "_FFEB3B" : "", Y = Array(12).fill("").map((p, F) => F + 1), D = window.innerHeight - d.y + 33 < 320 ? d.y - 312 : d.y + 33, R = window.innerWidth - d.x < 265 ? d.x - 235 : d.x;
|
|
1637
1637
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
1638
1638
|
/* @__PURE__ */ g.jsx("div", { className: St.o, onClick: o }),
|
|
1639
|
-
/* @__PURE__ */ g.jsxs("div", { className: St.c, style: { top:
|
|
1639
|
+
/* @__PURE__ */ g.jsxs("div", { className: St.c, style: { top: D + "px", left: R + "px" }, children: [
|
|
1640
1640
|
/* @__PURE__ */ g.jsxs("s", { children: [
|
|
1641
|
-
/* @__PURE__ */ g.jsx("i", { onClick:
|
|
1641
|
+
/* @__PURE__ */ g.jsx("i", { onClick: b, children: /* @__PURE__ */ g.jsx(
|
|
1642
1642
|
"svg",
|
|
1643
1643
|
{
|
|
1644
1644
|
width: "16",
|
|
@@ -1650,7 +1650,7 @@ const gr = ({ onOpen: a, date: _, onValue: c, position: d }) => {
|
|
|
1650
1650
|
}
|
|
1651
1651
|
) }),
|
|
1652
1652
|
/* @__PURE__ */ g.jsx("h2", { children: s }),
|
|
1653
|
-
/* @__PURE__ */ g.jsx("i", { onClick:
|
|
1653
|
+
/* @__PURE__ */ g.jsx("i", { onClick: c, children: /* @__PURE__ */ g.jsx(
|
|
1654
1654
|
"svg",
|
|
1655
1655
|
{
|
|
1656
1656
|
width: "16",
|
|
@@ -1662,13 +1662,13 @@ const gr = ({ onOpen: a, date: _, onValue: c, position: d }) => {
|
|
|
1662
1662
|
}
|
|
1663
1663
|
) })
|
|
1664
1664
|
] }),
|
|
1665
|
-
/* @__PURE__ */ g.jsx("div", { "grid-month": "", children:
|
|
1665
|
+
/* @__PURE__ */ g.jsx("div", { "grid-month": "", children: Y.map((p, F) => /* @__PURE__ */ g.jsx(
|
|
1666
1666
|
"span",
|
|
1667
1667
|
{
|
|
1668
1668
|
onClick: () => {
|
|
1669
1669
|
S(p);
|
|
1670
1670
|
},
|
|
1671
|
-
color:
|
|
1671
|
+
color: I(p),
|
|
1672
1672
|
children: /* @__PURE__ */ g.jsx("b", { children: kr(p).abc })
|
|
1673
1673
|
},
|
|
1674
1674
|
F
|
|
@@ -1676,30 +1676,30 @@ const gr = ({ onOpen: a, date: _, onValue: c, position: d }) => {
|
|
|
1676
1676
|
] })
|
|
1677
1677
|
] });
|
|
1678
1678
|
};
|
|
1679
|
-
function hr(
|
|
1680
|
-
_ === void 0 ? (_ =
|
|
1681
|
-
let
|
|
1682
|
-
yyyy:
|
|
1683
|
-
yy: ("" +
|
|
1684
|
-
mm: ("0" + (
|
|
1685
|
-
dd: ("0" +
|
|
1686
|
-
HH: ("0" +
|
|
1687
|
-
MM: ("0" +
|
|
1688
|
-
SS: ("0" +
|
|
1679
|
+
function hr(n, _) {
|
|
1680
|
+
_ === void 0 ? (_ = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
1681
|
+
let u = {
|
|
1682
|
+
yyyy: n.getFullYear(),
|
|
1683
|
+
yy: ("" + n.getFullYear()).slice(-2),
|
|
1684
|
+
mm: ("0" + (n.getMonth() + 1)).slice(-2),
|
|
1685
|
+
dd: ("0" + n.getDate()).slice(-2),
|
|
1686
|
+
HH: ("0" + n.getHours()).slice(-2),
|
|
1687
|
+
MM: ("0" + n.getMinutes()).slice(-2),
|
|
1688
|
+
SS: ("0" + n.getSeconds()).slice(-2),
|
|
1689
1689
|
__: " ",
|
|
1690
1690
|
_: " "
|
|
1691
1691
|
};
|
|
1692
|
-
for (const d in
|
|
1693
|
-
_ = _.replace(d,
|
|
1692
|
+
for (const d in u)
|
|
1693
|
+
_ = _.replace(d, u[d]);
|
|
1694
1694
|
return _;
|
|
1695
1695
|
}
|
|
1696
|
-
function br(
|
|
1697
|
-
let
|
|
1698
|
-
for (;
|
|
1699
|
-
return
|
|
1696
|
+
function br(n, _) {
|
|
1697
|
+
let u = _ + "";
|
|
1698
|
+
for (; u.length < n; ) u = "0" + u;
|
|
1699
|
+
return u;
|
|
1700
1700
|
}
|
|
1701
|
-
function kr(
|
|
1702
|
-
return
|
|
1701
|
+
function kr(n) {
|
|
1702
|
+
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
1703
1703
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
1704
1704
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
1705
1705
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -1712,12 +1712,12 @@ function kr(a) {
|
|
|
1712
1712
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
1713
1713
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
1714
1714
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
1715
|
-
}[
|
|
1715
|
+
}[n];
|
|
1716
1716
|
}
|
|
1717
|
-
function
|
|
1718
|
-
value:
|
|
1717
|
+
function xn({
|
|
1718
|
+
value: n,
|
|
1719
1719
|
onValue: _,
|
|
1720
|
-
name:
|
|
1720
|
+
name: u,
|
|
1721
1721
|
placeholder: d = "",
|
|
1722
1722
|
title: v = "",
|
|
1723
1723
|
error: C = "",
|
|
@@ -1726,70 +1726,70 @@ function ja({
|
|
|
1726
1726
|
active: s = !0,
|
|
1727
1727
|
after: h = "",
|
|
1728
1728
|
show: o = !0,
|
|
1729
|
-
course:
|
|
1730
|
-
view:
|
|
1729
|
+
course: c = 100,
|
|
1730
|
+
view: b,
|
|
1731
1731
|
type: S,
|
|
1732
|
-
onSave:
|
|
1733
|
-
className:
|
|
1734
|
-
isClear:
|
|
1732
|
+
onSave: I,
|
|
1733
|
+
className: Y = "",
|
|
1734
|
+
isClear: D = !1
|
|
1735
1735
|
}) {
|
|
1736
|
-
let R = !!(E && (
|
|
1737
|
-
let
|
|
1738
|
-
|
|
1739
|
-
},
|
|
1736
|
+
let R = !!(E && (n === "" || n === void 0)), p = (N) => S === "multi" ? N.replace(/[^+\d.+-]/g, "") : N.replace(/[^+\d.]/g, ""), F = (N, G) => {
|
|
1737
|
+
let k = document.createRange(), y = window.getSelection();
|
|
1738
|
+
k.setStart(G.childNodes[0], N), k.collapse(!0), y.removeAllRanges(), y.addRange(k), G.focus();
|
|
1739
|
+
}, M = (N) => {
|
|
1740
1740
|
_ == null || _({
|
|
1741
|
-
value: p(N.target.textContent) *
|
|
1742
|
-
name:
|
|
1741
|
+
value: p(N.target.textContent) * c,
|
|
1742
|
+
name: u
|
|
1743
1743
|
}), N.target.textContent = p(N.target.textContent), N.target.textContent.length > 0 && F(N.target.textContent.length, N.target);
|
|
1744
1744
|
}, K = (N) => {
|
|
1745
|
-
ee.Blur(N), N.target.textContent === "" && (N.target.textContent = 0),
|
|
1746
|
-
value: p(N.target.textContent) *
|
|
1747
|
-
name:
|
|
1745
|
+
ee.Blur(N), N.target.textContent === "" && (N.target.textContent = 0), I == null || I({ value: p(N.target.textContent) * c, name: u }), _ == null || _({
|
|
1746
|
+
value: p(N.target.textContent) * c,
|
|
1747
|
+
name: u
|
|
1748
1748
|
}), N.target.textContent = Wt(N.target.textContent);
|
|
1749
|
-
},
|
|
1749
|
+
}, W = (N) => {
|
|
1750
1750
|
N.target.textContent = p(N.target.textContent);
|
|
1751
|
-
},
|
|
1751
|
+
}, B = (N) => {
|
|
1752
1752
|
N.key === "Enter" && N.preventDefault();
|
|
1753
|
-
},
|
|
1753
|
+
}, U = (N) => {
|
|
1754
1754
|
N.preventDefault(), navigator.clipboard.readText().then((G) => {
|
|
1755
1755
|
G = G.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, G);
|
|
1756
1756
|
}).catch((G) => {
|
|
1757
1757
|
});
|
|
1758
1758
|
};
|
|
1759
1759
|
if (!(x && s) && !o || !(x && s) && R) return "";
|
|
1760
|
-
const
|
|
1761
|
-
return
|
|
1760
|
+
const P = {};
|
|
1761
|
+
return P.inputMode = "decimal", d && (P.placeholder = d), x && s && (P.edit = ""), /* @__PURE__ */ g.jsx(
|
|
1762
1762
|
Be,
|
|
1763
1763
|
{
|
|
1764
1764
|
type: "input",
|
|
1765
1765
|
title: v,
|
|
1766
|
-
element_blok: { className: [
|
|
1766
|
+
element_blok: { className: [Y] },
|
|
1767
1767
|
element_input: { className: [_e.w] },
|
|
1768
1768
|
children: /* @__PURE__ */ g.jsx(
|
|
1769
1769
|
"div",
|
|
1770
1770
|
{
|
|
1771
|
-
|
|
1772
|
-
onInput:
|
|
1773
|
-
onPaste:
|
|
1771
|
+
...P,
|
|
1772
|
+
onInput: M,
|
|
1773
|
+
onPaste: U,
|
|
1774
1774
|
onBlur: K,
|
|
1775
|
-
onKeyDown:
|
|
1776
|
-
onFocus:
|
|
1775
|
+
onKeyDown: B,
|
|
1776
|
+
onFocus: W,
|
|
1777
1777
|
contentEditable: x && s ? ee.ContentEditable : "false",
|
|
1778
1778
|
suppressContentEditableWarning: !0,
|
|
1779
1779
|
"data-after": h,
|
|
1780
|
-
children: !d ||
|
|
1780
|
+
children: !d || n ? Wt(n) : ""
|
|
1781
1781
|
}
|
|
1782
1782
|
)
|
|
1783
1783
|
}
|
|
1784
1784
|
);
|
|
1785
1785
|
}
|
|
1786
|
-
function Wt(
|
|
1787
|
-
return parseFloat(
|
|
1786
|
+
function Wt(n, _) {
|
|
1787
|
+
return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
1788
1788
|
}
|
|
1789
|
-
function
|
|
1790
|
-
title:
|
|
1789
|
+
function Cn({
|
|
1790
|
+
title: n,
|
|
1791
1791
|
error: _,
|
|
1792
|
-
edit:
|
|
1792
|
+
edit: u = !0,
|
|
1793
1793
|
active: d = !0,
|
|
1794
1794
|
className: v,
|
|
1795
1795
|
placeholder: C,
|
|
@@ -1798,22 +1798,22 @@ function xa({
|
|
|
1798
1798
|
onValue: s,
|
|
1799
1799
|
icon: h,
|
|
1800
1800
|
name: o,
|
|
1801
|
-
value:
|
|
1802
|
-
after:
|
|
1801
|
+
value: c,
|
|
1802
|
+
after: b
|
|
1803
1803
|
}) {
|
|
1804
|
-
let [S,
|
|
1805
|
-
|
|
1804
|
+
let [S, I] = q.useState(
|
|
1805
|
+
c === void 0 ? /* @__PURE__ */ new Date() : c
|
|
1806
1806
|
);
|
|
1807
|
-
const
|
|
1808
|
-
let p = !
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
}, [
|
|
1812
|
-
let F = (
|
|
1813
|
-
|
|
1814
|
-
},
|
|
1815
|
-
const
|
|
1816
|
-
|
|
1807
|
+
const Y = q.useRef(null), [D, R] = q.useState(!1);
|
|
1808
|
+
let p = !u && d;
|
|
1809
|
+
q.useEffect(() => {
|
|
1810
|
+
I(c === void 0 ? /* @__PURE__ */ new Date() : c);
|
|
1811
|
+
}, [c]);
|
|
1812
|
+
let F = (W) => {
|
|
1813
|
+
I(W), s == null || s({ value: W, name: o });
|
|
1814
|
+
}, M = (W) => {
|
|
1815
|
+
const B = W.target.getBoundingClientRect(), U = B.left, P = B.bottom, N = B.top;
|
|
1816
|
+
Y.position = { x: U, b: P, y: N }, R(!0);
|
|
1817
1817
|
};
|
|
1818
1818
|
const K = {};
|
|
1819
1819
|
return C && (K.placeholder = C), p ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
@@ -1821,19 +1821,19 @@ function xa({
|
|
|
1821
1821
|
"dl",
|
|
1822
1822
|
{
|
|
1823
1823
|
"data-field": "date",
|
|
1824
|
-
className: [_e.l, v].filter((
|
|
1824
|
+
className: [_e.l, v].filter((W) => W !== void 0).join(" "),
|
|
1825
1825
|
children: [
|
|
1826
|
-
|
|
1826
|
+
n ? /* @__PURE__ */ g.jsx("dt", { className: _e.t, children: n }) : "",
|
|
1827
1827
|
/* @__PURE__ */ g.jsxs(
|
|
1828
1828
|
"dd",
|
|
1829
1829
|
{
|
|
1830
|
-
onClick:
|
|
1830
|
+
onClick: M,
|
|
1831
1831
|
className: [_e.f, _e.w].join(" "),
|
|
1832
1832
|
...K,
|
|
1833
|
-
"data-edit": (
|
|
1833
|
+
"data-edit": (u && d) + "",
|
|
1834
1834
|
children: [
|
|
1835
1835
|
xr(S, "dd.mm.yyyy"),
|
|
1836
|
-
|
|
1836
|
+
b
|
|
1837
1837
|
]
|
|
1838
1838
|
}
|
|
1839
1839
|
),
|
|
@@ -1841,11 +1841,11 @@ function xa({
|
|
|
1841
1841
|
]
|
|
1842
1842
|
}
|
|
1843
1843
|
),
|
|
1844
|
-
|
|
1844
|
+
D && Mt(
|
|
1845
1845
|
/* @__PURE__ */ g.jsx(
|
|
1846
1846
|
wr,
|
|
1847
1847
|
{
|
|
1848
|
-
position:
|
|
1848
|
+
position: Y.position,
|
|
1849
1849
|
onValue: F,
|
|
1850
1850
|
date: S,
|
|
1851
1851
|
max: E,
|
|
@@ -1860,15 +1860,15 @@ function xa({
|
|
|
1860
1860
|
] });
|
|
1861
1861
|
}
|
|
1862
1862
|
const wr = ({
|
|
1863
|
-
date:
|
|
1863
|
+
date: n,
|
|
1864
1864
|
onValue: _,
|
|
1865
|
-
position:
|
|
1865
|
+
position: u,
|
|
1866
1866
|
max: d,
|
|
1867
1867
|
min: v,
|
|
1868
1868
|
className: C,
|
|
1869
1869
|
onOpen: E
|
|
1870
1870
|
}) => {
|
|
1871
|
-
let x = /* @__PURE__ */ new Date(), s = new Date(
|
|
1871
|
+
let x = /* @__PURE__ */ new Date(), s = new Date(n), h = {
|
|
1872
1872
|
y: parseInt(x.getFullYear()),
|
|
1873
1873
|
d: parseInt(x.getDate()),
|
|
1874
1874
|
m: parseInt(x.getMonth()) + 1
|
|
@@ -1876,40 +1876,40 @@ const wr = ({
|
|
|
1876
1876
|
y: parseInt(s.getFullYear()),
|
|
1877
1877
|
d: parseInt(s.getDate()),
|
|
1878
1878
|
m: parseInt(s.getMonth()) + 1
|
|
1879
|
-
}, [
|
|
1880
|
-
let y =
|
|
1879
|
+
}, [c, b] = q.useState({ y: o.y, m: o.m }), S = (k) => {
|
|
1880
|
+
let y = k.getDay();
|
|
1881
1881
|
return y === 0 && (y = 7), y - 1;
|
|
1882
|
-
},
|
|
1883
|
-
for (let
|
|
1882
|
+
}, I = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], Y = c.m - 1, D = new Date(c.y, Y), R = [];
|
|
1883
|
+
for (let k = 0; k < S(D); k++)
|
|
1884
1884
|
R.push(0);
|
|
1885
|
-
for (;
|
|
1886
|
-
R.push(
|
|
1885
|
+
for (; D.getMonth() === Y; )
|
|
1886
|
+
R.push(D.getDate()), D.setDate(D.getDate() + 1);
|
|
1887
1887
|
let p = () => {
|
|
1888
1888
|
E(!1);
|
|
1889
1889
|
}, F = () => {
|
|
1890
|
-
|
|
1891
|
-
},
|
|
1892
|
-
|
|
1893
|
-
}, K = (
|
|
1890
|
+
W(c.m + 1, c.y);
|
|
1891
|
+
}, M = () => {
|
|
1892
|
+
W(c.m - 1, c.y);
|
|
1893
|
+
}, K = (k) => {
|
|
1894
1894
|
_(
|
|
1895
|
-
|
|
1895
|
+
c.y + "-" + Ut(2, c.m) + "-" + Ut(2, k)
|
|
1896
1896
|
), p();
|
|
1897
|
-
},
|
|
1898
|
-
y =
|
|
1897
|
+
}, W = (k, y) => {
|
|
1898
|
+
y = k > 12 ? y + 1 : k < 1 ? y - 1 : y, k = k > 12 ? 1 : k < 1 ? 12 : k, b({ y, m: k });
|
|
1899
1899
|
};
|
|
1900
|
-
const
|
|
1900
|
+
const B = (k) => h.y === c.y && h.m === c.m && h.d === k ? { "data-active": "true" } : {}, U = (k) => o.y === c.y && o.m === c.m && o.d === k ? { "data-current": "true" } : {}, P = (k) => {
|
|
1901
1901
|
let y = !0;
|
|
1902
1902
|
if (d) {
|
|
1903
|
-
let
|
|
1904
|
-
|
|
1903
|
+
let $ = d.getTime(), L = new Date(c.y, c.m - 1, k).getTime();
|
|
1904
|
+
$ < L && (y = !1);
|
|
1905
1905
|
}
|
|
1906
1906
|
if (v) {
|
|
1907
|
-
let
|
|
1908
|
-
|
|
1907
|
+
let $ = v.getTime(), L = new Date(c.y, c.m - 1, k).getTime();
|
|
1908
|
+
$ > L && (y = !1);
|
|
1909
1909
|
}
|
|
1910
1910
|
return y;
|
|
1911
1911
|
};
|
|
1912
|
-
let N = window.innerHeight -
|
|
1912
|
+
let N = window.innerHeight - u.y < 320 ? u.y - 312 : u.b, G = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
1913
1913
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
1914
1914
|
/* @__PURE__ */ g.jsx("div", { className: St.o, onClick: () => p() }),
|
|
1915
1915
|
/* @__PURE__ */ g.jsxs(
|
|
@@ -1922,7 +1922,7 @@ const wr = ({
|
|
|
1922
1922
|
style: { top: N + "px", left: G + "px" },
|
|
1923
1923
|
children: [
|
|
1924
1924
|
/* @__PURE__ */ g.jsxs("s", { children: [
|
|
1925
|
-
/* @__PURE__ */ g.jsx("i", { onClick:
|
|
1925
|
+
/* @__PURE__ */ g.jsx("i", { onClick: M, children: /* @__PURE__ */ g.jsx(
|
|
1926
1926
|
"svg",
|
|
1927
1927
|
{
|
|
1928
1928
|
width: "16",
|
|
@@ -1934,9 +1934,9 @@ const wr = ({
|
|
|
1934
1934
|
}
|
|
1935
1935
|
) }),
|
|
1936
1936
|
/* @__PURE__ */ g.jsxs("h2", { children: [
|
|
1937
|
-
jr(
|
|
1937
|
+
jr(c.m).name,
|
|
1938
1938
|
" ",
|
|
1939
|
-
|
|
1939
|
+
c.y
|
|
1940
1940
|
] }),
|
|
1941
1941
|
/* @__PURE__ */ g.jsx("i", { onClick: F, children: /* @__PURE__ */ g.jsx(
|
|
1942
1942
|
"svg",
|
|
@@ -1951,24 +1951,24 @@ const wr = ({
|
|
|
1951
1951
|
) })
|
|
1952
1952
|
] }),
|
|
1953
1953
|
/* @__PURE__ */ g.jsxs("div", { "grid-calendar": "", children: [
|
|
1954
|
-
|
|
1955
|
-
R.map((
|
|
1954
|
+
I.map((k, y) => /* @__PURE__ */ g.jsx("p", { children: k }, "v" + y)),
|
|
1955
|
+
R.map((k, y) => /* @__PURE__ */ g.jsx("span", { children: k !== 0 && P(k) ? /* @__PURE__ */ g.jsx(
|
|
1956
1956
|
"b",
|
|
1957
1957
|
{
|
|
1958
|
-
...
|
|
1959
|
-
...
|
|
1960
|
-
onClick: () => K(
|
|
1961
|
-
children:
|
|
1958
|
+
...B(k),
|
|
1959
|
+
...U(k),
|
|
1960
|
+
onClick: () => K(k),
|
|
1961
|
+
children: k
|
|
1962
1962
|
}
|
|
1963
|
-
) : /* @__PURE__ */ g.jsx("p", { ...
|
|
1963
|
+
) : /* @__PURE__ */ g.jsx("p", { ...B(k), ...U(k), children: k !== 0 ? k : "" }) }, y))
|
|
1964
1964
|
] })
|
|
1965
1965
|
]
|
|
1966
1966
|
}
|
|
1967
1967
|
)
|
|
1968
1968
|
] });
|
|
1969
1969
|
};
|
|
1970
|
-
function jr(
|
|
1971
|
-
return
|
|
1970
|
+
function jr(n) {
|
|
1971
|
+
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
1972
1972
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
1973
1973
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
1974
1974
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -1981,34 +1981,34 @@ function jr(a) {
|
|
|
1981
1981
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
1982
1982
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
1983
1983
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
1984
|
-
}[
|
|
1984
|
+
}[n];
|
|
1985
1985
|
}
|
|
1986
|
-
function Ut(
|
|
1987
|
-
let
|
|
1988
|
-
for (;
|
|
1989
|
-
return
|
|
1986
|
+
function Ut(n, _) {
|
|
1987
|
+
let u = _ + "";
|
|
1988
|
+
for (; u.length < n; ) u = "0" + u;
|
|
1989
|
+
return u;
|
|
1990
1990
|
}
|
|
1991
|
-
function xr(
|
|
1992
|
-
_ === void 0 ? (_ =
|
|
1993
|
-
let
|
|
1994
|
-
yyyy:
|
|
1995
|
-
yy: ("" +
|
|
1996
|
-
mm: ("0" + (
|
|
1997
|
-
dd: ("0" +
|
|
1998
|
-
HH: ("0" +
|
|
1999
|
-
MM: ("0" +
|
|
2000
|
-
SS: ("0" +
|
|
1991
|
+
function xr(n, _) {
|
|
1992
|
+
_ === void 0 ? (_ = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
1993
|
+
let u = {
|
|
1994
|
+
yyyy: n.getFullYear(),
|
|
1995
|
+
yy: ("" + n.getFullYear()).slice(-2),
|
|
1996
|
+
mm: ("0" + (n.getMonth() + 1)).slice(-2),
|
|
1997
|
+
dd: ("0" + n.getDate()).slice(-2),
|
|
1998
|
+
HH: ("0" + n.getHours()).slice(-2),
|
|
1999
|
+
MM: ("0" + n.getMinutes()).slice(-2),
|
|
2000
|
+
SS: ("0" + n.getSeconds()).slice(-2),
|
|
2001
2001
|
__: " ",
|
|
2002
2002
|
_: " "
|
|
2003
2003
|
};
|
|
2004
|
-
for (const d in
|
|
2005
|
-
_ = _.replace(d,
|
|
2004
|
+
for (const d in u)
|
|
2005
|
+
_ = _.replace(d, u[d]);
|
|
2006
2006
|
return _;
|
|
2007
2007
|
}
|
|
2008
|
-
function
|
|
2009
|
-
value:
|
|
2008
|
+
function Sn({
|
|
2009
|
+
value: n,
|
|
2010
2010
|
onValue: _,
|
|
2011
|
-
name:
|
|
2011
|
+
name: u,
|
|
2012
2012
|
placeholder: d = "",
|
|
2013
2013
|
title: v = "",
|
|
2014
2014
|
label: C = "",
|
|
@@ -2017,21 +2017,21 @@ function Ca({
|
|
|
2017
2017
|
active: s = !0,
|
|
2018
2018
|
after: h = "",
|
|
2019
2019
|
show: o = !0,
|
|
2020
|
-
maxLength:
|
|
2021
|
-
onSave:
|
|
2020
|
+
maxLength: c,
|
|
2021
|
+
onSave: b,
|
|
2022
2022
|
className: S = "",
|
|
2023
|
-
isCopy:
|
|
2023
|
+
isCopy: I = !0
|
|
2024
2024
|
}) {
|
|
2025
|
-
const
|
|
2026
|
-
_ == null || _({ value:
|
|
2027
|
-
},
|
|
2028
|
-
|
|
2029
|
-
}, R = (
|
|
2030
|
-
|
|
2031
|
-
if (
|
|
2032
|
-
let
|
|
2033
|
-
if (
|
|
2034
|
-
|
|
2025
|
+
const Y = (M) => {
|
|
2026
|
+
_ == null || _({ value: M.target.innerText, name: u });
|
|
2027
|
+
}, D = (M) => {
|
|
2028
|
+
c && M.target.textContent.trim().length >= c && M.key !== "Backspace" && M.preventDefault(), M.key === "Enter" && M.preventDefault();
|
|
2029
|
+
}, R = (M) => {
|
|
2030
|
+
M.preventDefault(), navigator.clipboard.readText().then((K) => {
|
|
2031
|
+
if (c) {
|
|
2032
|
+
let W = M.target.textContent.length;
|
|
2033
|
+
if (W >= c) return;
|
|
2034
|
+
c -= W, K = K.slice(0, c);
|
|
2035
2035
|
}
|
|
2036
2036
|
window.document.execCommand(
|
|
2037
2037
|
"insertText",
|
|
@@ -2045,8 +2045,8 @@ function Ca({
|
|
|
2045
2045
|
if (!(x && s) && !o) return "";
|
|
2046
2046
|
const p = {};
|
|
2047
2047
|
d && (p.placeholder = d), x && s && (p.edit = "");
|
|
2048
|
-
const F = (
|
|
2049
|
-
ee.Blur(
|
|
2048
|
+
const F = (M) => {
|
|
2049
|
+
ee.Blur(M), b == null || b({ value: M.target.textContent.trim(), name: u });
|
|
2050
2050
|
};
|
|
2051
2051
|
return /* @__PURE__ */ g.jsx(
|
|
2052
2052
|
Be,
|
|
@@ -2059,13 +2059,13 @@ function Ca({
|
|
|
2059
2059
|
"div",
|
|
2060
2060
|
{
|
|
2061
2061
|
onPaste: R,
|
|
2062
|
-
onInput:
|
|
2062
|
+
onInput: Y,
|
|
2063
2063
|
onBlur: F,
|
|
2064
|
-
onKeyDown:
|
|
2064
|
+
onKeyDown: D,
|
|
2065
2065
|
contentEditable: x && s ? ee.ContentEditable : "false",
|
|
2066
2066
|
suppressContentEditableWarning: !0,
|
|
2067
2067
|
...p,
|
|
2068
|
-
children:
|
|
2068
|
+
children: n
|
|
2069
2069
|
}
|
|
2070
2070
|
)
|
|
2071
2071
|
}
|
|
@@ -3453,10 +3453,10 @@ const Et = {
|
|
|
3453
3453
|
mask: "+1939(___) ___-__-__"
|
|
3454
3454
|
}
|
|
3455
3455
|
};
|
|
3456
|
-
function
|
|
3457
|
-
value:
|
|
3456
|
+
function Rn({
|
|
3457
|
+
value: n,
|
|
3458
3458
|
onValue: _,
|
|
3459
|
-
onSave:
|
|
3459
|
+
onSave: u,
|
|
3460
3460
|
name: d,
|
|
3461
3461
|
placeholder: v = "",
|
|
3462
3462
|
title: C = "",
|
|
@@ -3465,54 +3465,54 @@ function Sa({
|
|
|
3465
3465
|
hide: s = !1,
|
|
3466
3466
|
edit: h = !0,
|
|
3467
3467
|
active: o = !0,
|
|
3468
|
-
after:
|
|
3469
|
-
show:
|
|
3468
|
+
after: c = "",
|
|
3469
|
+
show: b = !0,
|
|
3470
3470
|
view: S,
|
|
3471
|
-
className:
|
|
3471
|
+
className: I = ""
|
|
3472
3472
|
}) {
|
|
3473
|
-
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (
|
|
3474
|
-
let
|
|
3475
|
-
let
|
|
3476
|
-
|
|
3477
|
-
},
|
|
3478
|
-
let y =
|
|
3479
|
-
|
|
3480
|
-
}, K = (
|
|
3481
|
-
|
|
3473
|
+
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(h && o), q.useRef(null);
|
|
3474
|
+
let D = "+_(___) ___-__-__", R = !0, p = 0, F = (k, y) => {
|
|
3475
|
+
let $ = document.createRange(), L = window.getSelection();
|
|
3476
|
+
$.setStart(y.childNodes[0], k), $.collapse(!0), L.removeAllRanges(), L.addRange($), y.focus();
|
|
3477
|
+
}, M = (k) => {
|
|
3478
|
+
let y = W(k.target.textContent);
|
|
3479
|
+
k.target.textContent = y.q, y.i = y.q.lastIndexOf(y.v.substr(-1)), y.i < y.q.length && y.q !== D ? y.i++ : y.i = y.q.indexOf("_"), F(y.i, k.target), _ && _({ value: y.q.replace(/\D/g, ""), name: d });
|
|
3480
|
+
}, K = (k) => {
|
|
3481
|
+
k.preventDefault(), navigator.clipboard.readText().then((y) => {
|
|
3482
3482
|
window.document.execCommand("insertText", !1, y);
|
|
3483
3483
|
}).catch((y) => {
|
|
3484
3484
|
});
|
|
3485
|
-
},
|
|
3486
|
-
let y = 0,
|
|
3485
|
+
}, W = (k) => {
|
|
3486
|
+
let y = 0, $ = "", L = k.replace(/\D/g, "");
|
|
3487
3487
|
L === "" && (R = !0);
|
|
3488
3488
|
let se = L.split(""), V = "";
|
|
3489
3489
|
se.forEach((le) => {
|
|
3490
|
-
R && (V += le, Et[V] !== void 0 && R ? (R = !1,
|
|
3490
|
+
R && (V += le, Et[V] !== void 0 && R ? (R = !1, D = Et[V].mask.replace(new RegExp("[0-9]", "g"), "_"), $ = Et[V].code) : (R && (p = ("" + V).length, D = `+${V}_(___) ___-__-__`.replace(
|
|
3491
3491
|
new RegExp("[0-9]", "g"),
|
|
3492
3492
|
"_"
|
|
3493
|
-
),
|
|
3493
|
+
), $ = ""), p > ("" + V).length && (R = !0, D = `+${V}_(___) ___-__-__`.replace(
|
|
3494
3494
|
new RegExp("[0-9]", "g"),
|
|
3495
3495
|
"_"
|
|
3496
|
-
),
|
|
3496
|
+
), $ = "")));
|
|
3497
3497
|
});
|
|
3498
|
-
let oe =
|
|
3499
|
-
return oe.length >= L.length && (L = oe), { q:
|
|
3498
|
+
let oe = D.replace(/\D/g, "");
|
|
3499
|
+
return oe.length >= L.length && (L = oe), { q: D.replace(/[_\d]/g, function() {
|
|
3500
3500
|
return L.charAt(y++) || "_";
|
|
3501
|
-
}), i: y, v: L, f:
|
|
3502
|
-
},
|
|
3503
|
-
|
|
3501
|
+
}), i: y, v: L, f: $ };
|
|
3502
|
+
}, B = (k) => {
|
|
3503
|
+
k.preventDefault(), navigator.clipboard.writeText(k.target.textContent.replace(/\D/g, "")).then(
|
|
3504
3504
|
function() {
|
|
3505
3505
|
Ct.Copy("Данные в буфер обмене");
|
|
3506
3506
|
},
|
|
3507
3507
|
function(y) {
|
|
3508
3508
|
}
|
|
3509
3509
|
);
|
|
3510
|
-
},
|
|
3511
|
-
|
|
3510
|
+
}, U = W(n), P = (k) => {
|
|
3511
|
+
k.key === "Enter" && k.preventDefault();
|
|
3512
3512
|
};
|
|
3513
|
-
const N = (
|
|
3514
|
-
ee.Blur(
|
|
3515
|
-
value:
|
|
3513
|
+
const N = (k) => {
|
|
3514
|
+
ee.Blur(k), u && u({
|
|
3515
|
+
value: k.target.textContent.replace(/\D/g, ""),
|
|
3516
3516
|
name: d
|
|
3517
3517
|
});
|
|
3518
3518
|
};
|
|
@@ -3522,100 +3522,102 @@ function Sa({
|
|
|
3522
3522
|
{
|
|
3523
3523
|
type: "input",
|
|
3524
3524
|
title: C || E,
|
|
3525
|
-
element_blok: { className:
|
|
3525
|
+
element_blok: { className: I },
|
|
3526
3526
|
element_input: { className: [_e.w] },
|
|
3527
3527
|
children: /* @__PURE__ */ g.jsx(
|
|
3528
3528
|
"div",
|
|
3529
3529
|
{
|
|
3530
3530
|
onPaste: K,
|
|
3531
|
-
onInput:
|
|
3532
|
-
onKeyDown:
|
|
3533
|
-
onContextMenu:
|
|
3531
|
+
onInput: M,
|
|
3532
|
+
onKeyDown: P,
|
|
3533
|
+
onContextMenu: B,
|
|
3534
3534
|
onBlur: N,
|
|
3535
3535
|
inputmode: "tel",
|
|
3536
3536
|
suppressContentEditableWarning: !0,
|
|
3537
3537
|
...G,
|
|
3538
|
-
children:
|
|
3538
|
+
children: U.q
|
|
3539
3539
|
}
|
|
3540
3540
|
)
|
|
3541
3541
|
}
|
|
3542
3542
|
);
|
|
3543
3543
|
}
|
|
3544
|
-
function
|
|
3545
|
-
value:
|
|
3544
|
+
function En({
|
|
3545
|
+
value: n,
|
|
3546
3546
|
onValue: _,
|
|
3547
|
-
name:
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3547
|
+
name: u,
|
|
3548
|
+
inputmode: d = "text",
|
|
3549
|
+
placeholder: v = "",
|
|
3550
|
+
title: C = "",
|
|
3551
|
+
label: E = "",
|
|
3552
|
+
show: x = !0,
|
|
3553
|
+
hide: s = !1,
|
|
3554
|
+
edit: h = !0,
|
|
3555
|
+
active: o = !0,
|
|
3556
|
+
maxLength: c,
|
|
3557
|
+
onSave: b,
|
|
3558
|
+
className: S = "",
|
|
3559
|
+
spellCheck: I = !0,
|
|
3560
|
+
isCopy: Y = !0,
|
|
3561
|
+
isReload: D = !1
|
|
3561
3562
|
}) {
|
|
3562
|
-
const
|
|
3563
|
+
const R = !!(s && (n === "" || n === void 0)), p = (B) => {
|
|
3563
3564
|
_ && _({
|
|
3564
|
-
value:
|
|
3565
|
-
name:
|
|
3566
|
-
reload:
|
|
3565
|
+
value: B.target.textContent.trim(),
|
|
3566
|
+
name: u,
|
|
3567
|
+
reload: D
|
|
3567
3568
|
});
|
|
3568
|
-
},
|
|
3569
|
-
|
|
3570
|
-
},
|
|
3571
|
-
|
|
3572
|
-
if (
|
|
3573
|
-
let
|
|
3574
|
-
if (
|
|
3575
|
-
|
|
3569
|
+
}, F = (B) => {
|
|
3570
|
+
c && B.target.textContent.trim().length >= c && B.key !== "Backspace" && B.preventDefault(), B.key === "Enter" && B.preventDefault();
|
|
3571
|
+
}, M = (B) => {
|
|
3572
|
+
B.preventDefault(), navigator.clipboard.readText().then((U) => {
|
|
3573
|
+
if (c) {
|
|
3574
|
+
let P = B.target.textContent.length;
|
|
3575
|
+
if (P >= c) return;
|
|
3576
|
+
c -= P, U = U.slice(0, c);
|
|
3576
3577
|
}
|
|
3577
3578
|
window.document.execCommand(
|
|
3578
3579
|
"insertText",
|
|
3579
3580
|
!1,
|
|
3580
|
-
|
|
3581
|
+
U.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3581
3582
|
);
|
|
3582
|
-
}).catch((
|
|
3583
|
+
}).catch((U) => {
|
|
3583
3584
|
});
|
|
3584
3585
|
};
|
|
3585
|
-
if (!(
|
|
3586
|
-
const
|
|
3587
|
-
|
|
3588
|
-
const
|
|
3589
|
-
ee.Blur(
|
|
3586
|
+
if (!(h && o) && !x || !(h && o) && R) return "";
|
|
3587
|
+
const K = {};
|
|
3588
|
+
v && (K.placeholder = v), h && o && (K.edit = "");
|
|
3589
|
+
const W = (B) => {
|
|
3590
|
+
ee.Blur(B), b == null || b({ value: B.target.textContent.trim(), name: u });
|
|
3590
3591
|
};
|
|
3591
3592
|
return /* @__PURE__ */ g.jsx(
|
|
3592
3593
|
Be,
|
|
3593
3594
|
{
|
|
3594
3595
|
type: "input",
|
|
3595
|
-
title:
|
|
3596
|
-
element_blok: { className: [
|
|
3596
|
+
title: C || E,
|
|
3597
|
+
element_blok: { className: [S] },
|
|
3597
3598
|
element_input: { className: [_e.w] },
|
|
3598
3599
|
children: /* @__PURE__ */ g.jsx(
|
|
3599
3600
|
"div",
|
|
3600
3601
|
{
|
|
3601
|
-
onBlur:
|
|
3602
|
-
onPaste:
|
|
3603
|
-
onInput:
|
|
3604
|
-
onKeyDown:
|
|
3605
|
-
spellCheck:
|
|
3606
|
-
|
|
3602
|
+
onBlur: W,
|
|
3603
|
+
onPaste: M,
|
|
3604
|
+
onInput: p,
|
|
3605
|
+
onKeyDown: F,
|
|
3606
|
+
spellCheck: I,
|
|
3607
|
+
inputmode: d,
|
|
3608
|
+
contentEditable: h && o ? ee.ContentEditable : "false",
|
|
3607
3609
|
suppressContentEditableWarning: !0,
|
|
3608
|
-
...
|
|
3609
|
-
children:
|
|
3610
|
+
...K,
|
|
3611
|
+
children: n
|
|
3610
3612
|
}
|
|
3611
3613
|
)
|
|
3612
3614
|
}
|
|
3613
3615
|
);
|
|
3614
3616
|
}
|
|
3615
|
-
function
|
|
3616
|
-
onValue:
|
|
3617
|
+
function On({
|
|
3618
|
+
onValue: n,
|
|
3617
3619
|
onSave: _,
|
|
3618
|
-
active:
|
|
3620
|
+
active: u,
|
|
3619
3621
|
max: d,
|
|
3620
3622
|
edit: v,
|
|
3621
3623
|
title: C,
|
|
@@ -3624,57 +3626,57 @@ function Ea({
|
|
|
3624
3626
|
hide: s,
|
|
3625
3627
|
value: h,
|
|
3626
3628
|
placeholder: o,
|
|
3627
|
-
className:
|
|
3628
|
-
maxLength:
|
|
3629
|
+
className: c,
|
|
3630
|
+
maxLength: b,
|
|
3629
3631
|
name: S,
|
|
3630
|
-
after:
|
|
3631
|
-
before:
|
|
3632
|
-
view:
|
|
3632
|
+
after: I = "",
|
|
3633
|
+
before: Y = "",
|
|
3634
|
+
view: D
|
|
3633
3635
|
}) {
|
|
3634
|
-
v = v !== void 0 ? v : !0,
|
|
3635
|
-
let p = !1, F = (
|
|
3636
|
-
|
|
3637
|
-
},
|
|
3638
|
-
if (!(p &&
|
|
3639
|
-
if (
|
|
3640
|
-
|
|
3641
|
-
}
|
|
3642
|
-
}, K = (
|
|
3643
|
-
if (
|
|
3644
|
-
},
|
|
3645
|
-
|
|
3646
|
-
if (N = N.replace(/(?!^\+|\d)./g, ""),
|
|
3647
|
-
let G =
|
|
3648
|
-
if (G >=
|
|
3649
|
-
|
|
3636
|
+
v = v !== void 0 ? v : !0, u = u !== void 0 ? u : !0, s = !!(s && (h === "" || h === void 0)) && !(v && u), o = o !== void 0 ? o : "", d = d !== void 0 ? d : 99;
|
|
3637
|
+
let p = !1, F = (P) => {
|
|
3638
|
+
n == null || n({ value: P.target.textContent, name: S });
|
|
3639
|
+
}, M = (P) => {
|
|
3640
|
+
if (!(p && P.which === 86)) {
|
|
3641
|
+
if (P.which === 17 || P.which === 91) return p = !0;
|
|
3642
|
+
P.key !== "Backspace" && (P.target.textContent.length === d && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
|
|
3643
|
+
}
|
|
3644
|
+
}, K = (P) => {
|
|
3645
|
+
if (P.which === 17 || P.which === 91) return p = !1;
|
|
3646
|
+
}, W = (P) => {
|
|
3647
|
+
P.preventDefault(), navigator.clipboard.readText().then((N) => {
|
|
3648
|
+
if (N = N.replace(/(?!^\+|\d)./g, ""), b) {
|
|
3649
|
+
let G = P.target.textContent.length;
|
|
3650
|
+
if (G >= b) return;
|
|
3651
|
+
b -= G, N = N.slice(0, b);
|
|
3650
3652
|
}
|
|
3651
3653
|
window.document.execCommand("insertText", !1, "" + N);
|
|
3652
3654
|
}).catch((N) => {
|
|
3653
3655
|
});
|
|
3654
3656
|
};
|
|
3655
|
-
const
|
|
3656
|
-
ee.Blur(
|
|
3657
|
+
const B = (P) => {
|
|
3658
|
+
ee.Blur(P), _ == null || _({ value: P.target.textContent, name: S });
|
|
3657
3659
|
};
|
|
3658
|
-
let
|
|
3659
|
-
return v &&
|
|
3660
|
+
let U = {};
|
|
3661
|
+
return v && u ? (U.edit = "true", U.contentEditable = ee.ContentEditable) : U.contentEditable = "false", U.inputMode = "decimal", o && (U.placeholder = o), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
3660
3662
|
Be,
|
|
3661
3663
|
{
|
|
3662
3664
|
type: "numeric",
|
|
3663
3665
|
title: C,
|
|
3664
|
-
element_blok: { className: [
|
|
3666
|
+
element_blok: { className: [c] },
|
|
3665
3667
|
element_input: { className: [_e.w] },
|
|
3666
3668
|
children: /* @__PURE__ */ g.jsx(
|
|
3667
3669
|
"div",
|
|
3668
3670
|
{
|
|
3669
|
-
onPaste:
|
|
3671
|
+
onPaste: W,
|
|
3670
3672
|
onInput: F,
|
|
3671
|
-
onBlur:
|
|
3672
|
-
onKeyDown:
|
|
3673
|
+
onBlur: B,
|
|
3674
|
+
onKeyDown: M,
|
|
3673
3675
|
onKeyUp: K,
|
|
3674
3676
|
spellCheck: "true",
|
|
3675
|
-
contentEditable: v &&
|
|
3677
|
+
contentEditable: v && u ? ee.ContentEditable : "false",
|
|
3676
3678
|
suppressContentEditableWarning: !0,
|
|
3677
|
-
...
|
|
3679
|
+
...U,
|
|
3678
3680
|
children: h
|
|
3679
3681
|
}
|
|
3680
3682
|
)
|
|
@@ -3695,15 +3697,15 @@ var qt;
|
|
|
3695
3697
|
function Cr() {
|
|
3696
3698
|
if (qt) return ht;
|
|
3697
3699
|
qt = 1;
|
|
3698
|
-
var
|
|
3700
|
+
var n = q, _ = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = 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 };
|
|
3699
3701
|
function E(x, s, h) {
|
|
3700
|
-
var o,
|
|
3701
|
-
h !== void 0 && (
|
|
3702
|
-
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (
|
|
3703
|
-
if (x && x.defaultProps) for (o in s = x.defaultProps, s)
|
|
3704
|
-
return { $$typeof: _, type: x, key:
|
|
3702
|
+
var o, c = {}, b = null, S = null;
|
|
3703
|
+
h !== void 0 && (b = "" + h), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
3704
|
+
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (c[o] = s[o]);
|
|
3705
|
+
if (x && x.defaultProps) for (o in s = x.defaultProps, s) c[o] === void 0 && (c[o] = s[o]);
|
|
3706
|
+
return { $$typeof: _, type: x, key: b, ref: S, props: c, _owner: v.current };
|
|
3705
3707
|
}
|
|
3706
|
-
return ht.Fragment =
|
|
3708
|
+
return ht.Fragment = u, ht.jsx = E, ht.jsxs = E, ht;
|
|
3707
3709
|
}
|
|
3708
3710
|
var wt = {};
|
|
3709
3711
|
/**
|
|
@@ -3718,24 +3720,24 @@ var wt = {};
|
|
|
3718
3720
|
var Kt;
|
|
3719
3721
|
function Sr() {
|
|
3720
3722
|
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3721
|
-
var
|
|
3722
|
-
function
|
|
3723
|
+
var n = q, _ = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), I = Symbol.iterator, Y = "@@iterator";
|
|
3724
|
+
function D(e) {
|
|
3723
3725
|
if (e === null || typeof e != "object")
|
|
3724
3726
|
return null;
|
|
3725
|
-
var t =
|
|
3727
|
+
var t = I && e[I] || e[Y];
|
|
3726
3728
|
return typeof t == "function" ? t : null;
|
|
3727
3729
|
}
|
|
3728
|
-
var R =
|
|
3730
|
+
var R = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3729
3731
|
function p(e) {
|
|
3730
3732
|
{
|
|
3731
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
3732
|
-
r[
|
|
3733
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
3734
|
+
r[a - 1] = arguments[a];
|
|
3733
3735
|
F("error", e, r);
|
|
3734
3736
|
}
|
|
3735
3737
|
}
|
|
3736
3738
|
function F(e, t, r) {
|
|
3737
3739
|
{
|
|
3738
|
-
var
|
|
3740
|
+
var a = R.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
3739
3741
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
3740
3742
|
var m = r.map(function(l) {
|
|
3741
3743
|
return String(l);
|
|
@@ -3743,23 +3745,23 @@ function Sr() {
|
|
|
3743
3745
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
3744
3746
|
}
|
|
3745
3747
|
}
|
|
3746
|
-
var
|
|
3747
|
-
|
|
3748
|
+
var M = !1, K = !1, W = !1, B = !1, U = !1, P;
|
|
3749
|
+
P = Symbol.for("react.module.reference");
|
|
3748
3750
|
function N(e) {
|
|
3749
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C ||
|
|
3751
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || U || e === v || e === h || e === o || B || e === S || M || K || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === c || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
3750
3752
|
// types supported by any Flight configuration anywhere since
|
|
3751
3753
|
// we don't know which Flight build this will end up being used
|
|
3752
3754
|
// with.
|
|
3753
|
-
e.$$typeof ===
|
|
3755
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
3754
3756
|
}
|
|
3755
3757
|
function G(e, t, r) {
|
|
3756
|
-
var
|
|
3757
|
-
if (
|
|
3758
|
-
return
|
|
3758
|
+
var a = e.displayName;
|
|
3759
|
+
if (a)
|
|
3760
|
+
return a;
|
|
3759
3761
|
var f = t.displayName || t.name || "";
|
|
3760
3762
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
3761
3763
|
}
|
|
3762
|
-
function
|
|
3764
|
+
function k(e) {
|
|
3763
3765
|
return e.displayName || "Context";
|
|
3764
3766
|
}
|
|
3765
3767
|
function y(e) {
|
|
@@ -3772,7 +3774,7 @@ function Sr() {
|
|
|
3772
3774
|
switch (e) {
|
|
3773
3775
|
case d:
|
|
3774
3776
|
return "Fragment";
|
|
3775
|
-
case
|
|
3777
|
+
case u:
|
|
3776
3778
|
return "Portal";
|
|
3777
3779
|
case C:
|
|
3778
3780
|
return "Profiler";
|
|
@@ -3787,16 +3789,16 @@ function Sr() {
|
|
|
3787
3789
|
switch (e.$$typeof) {
|
|
3788
3790
|
case x:
|
|
3789
3791
|
var t = e;
|
|
3790
|
-
return
|
|
3792
|
+
return k(t) + ".Consumer";
|
|
3791
3793
|
case E:
|
|
3792
3794
|
var r = e;
|
|
3793
|
-
return
|
|
3795
|
+
return k(r._context) + ".Provider";
|
|
3794
3796
|
case s:
|
|
3795
3797
|
return G(e, e.render, "ForwardRef");
|
|
3796
|
-
case
|
|
3797
|
-
var
|
|
3798
|
-
return
|
|
3799
|
-
case
|
|
3798
|
+
case c:
|
|
3799
|
+
var a = e.displayName || null;
|
|
3800
|
+
return a !== null ? a : y(e.type) || "Memo";
|
|
3801
|
+
case b: {
|
|
3800
3802
|
var f = e, m = f._payload, l = f._init;
|
|
3801
3803
|
try {
|
|
3802
3804
|
return y(l(m));
|
|
@@ -3807,7 +3809,7 @@ function Sr() {
|
|
|
3807
3809
|
}
|
|
3808
3810
|
return null;
|
|
3809
3811
|
}
|
|
3810
|
-
var
|
|
3812
|
+
var $ = Object.assign, L = 0, se, V, oe, ge, le, be, ke;
|
|
3811
3813
|
function we() {
|
|
3812
3814
|
}
|
|
3813
3815
|
we.__reactDisabledLog = !0;
|
|
@@ -3843,25 +3845,25 @@ function Sr() {
|
|
|
3843
3845
|
writable: !0
|
|
3844
3846
|
};
|
|
3845
3847
|
Object.defineProperties(console, {
|
|
3846
|
-
log:
|
|
3848
|
+
log: $({}, e, {
|
|
3847
3849
|
value: se
|
|
3848
3850
|
}),
|
|
3849
|
-
info:
|
|
3851
|
+
info: $({}, e, {
|
|
3850
3852
|
value: V
|
|
3851
3853
|
}),
|
|
3852
|
-
warn:
|
|
3854
|
+
warn: $({}, e, {
|
|
3853
3855
|
value: oe
|
|
3854
3856
|
}),
|
|
3855
|
-
error:
|
|
3857
|
+
error: $({}, e, {
|
|
3856
3858
|
value: ge
|
|
3857
3859
|
}),
|
|
3858
|
-
group:
|
|
3860
|
+
group: $({}, e, {
|
|
3859
3861
|
value: le
|
|
3860
3862
|
}),
|
|
3861
|
-
groupCollapsed:
|
|
3863
|
+
groupCollapsed: $({}, e, {
|
|
3862
3864
|
value: be
|
|
3863
3865
|
}),
|
|
3864
|
-
groupEnd:
|
|
3866
|
+
groupEnd: $({}, e, {
|
|
3865
3867
|
value: ke
|
|
3866
3868
|
})
|
|
3867
3869
|
});
|
|
@@ -3876,8 +3878,8 @@ function Sr() {
|
|
|
3876
3878
|
try {
|
|
3877
3879
|
throw Error();
|
|
3878
3880
|
} catch (f) {
|
|
3879
|
-
var
|
|
3880
|
-
ue =
|
|
3881
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
3882
|
+
ue = a && a[1] || "";
|
|
3881
3883
|
}
|
|
3882
3884
|
return `
|
|
3883
3885
|
` + ue + e;
|
|
@@ -3896,7 +3898,7 @@ function Sr() {
|
|
|
3896
3898
|
if (r !== void 0)
|
|
3897
3899
|
return r;
|
|
3898
3900
|
}
|
|
3899
|
-
var
|
|
3901
|
+
var a;
|
|
3900
3902
|
de = !0;
|
|
3901
3903
|
var f = Error.prepareStackTrace;
|
|
3902
3904
|
Error.prepareStackTrace = void 0;
|
|
@@ -3915,14 +3917,14 @@ function Sr() {
|
|
|
3915
3917
|
try {
|
|
3916
3918
|
Reflect.construct(l, []);
|
|
3917
3919
|
} catch (T) {
|
|
3918
|
-
|
|
3920
|
+
a = T;
|
|
3919
3921
|
}
|
|
3920
3922
|
Reflect.construct(e, [], l);
|
|
3921
3923
|
} else {
|
|
3922
3924
|
try {
|
|
3923
3925
|
l.call();
|
|
3924
3926
|
} catch (T) {
|
|
3925
|
-
|
|
3927
|
+
a = T;
|
|
3926
3928
|
}
|
|
3927
3929
|
e.call(l.prototype);
|
|
3928
3930
|
}
|
|
@@ -3930,14 +3932,14 @@ function Sr() {
|
|
|
3930
3932
|
try {
|
|
3931
3933
|
throw Error();
|
|
3932
3934
|
} catch (T) {
|
|
3933
|
-
|
|
3935
|
+
a = T;
|
|
3934
3936
|
}
|
|
3935
3937
|
e();
|
|
3936
3938
|
}
|
|
3937
3939
|
} catch (T) {
|
|
3938
|
-
if (T &&
|
|
3940
|
+
if (T && a && typeof T.stack == "string") {
|
|
3939
3941
|
for (var i = T.stack.split(`
|
|
3940
|
-
`), O =
|
|
3942
|
+
`), O = a.stack.split(`
|
|
3941
3943
|
`), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
|
|
3942
3944
|
j--;
|
|
3943
3945
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -3945,9 +3947,9 @@ function Sr() {
|
|
|
3945
3947
|
if (w !== 1 || j !== 1)
|
|
3946
3948
|
do
|
|
3947
3949
|
if (w--, j--, j < 0 || i[w] !== O[j]) {
|
|
3948
|
-
var
|
|
3950
|
+
var A = `
|
|
3949
3951
|
` + i[w].replace(" at new ", " at ");
|
|
3950
|
-
return e.displayName &&
|
|
3952
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, A), A;
|
|
3951
3953
|
}
|
|
3952
3954
|
while (w >= 1 && j >= 0);
|
|
3953
3955
|
break;
|
|
@@ -3966,7 +3968,7 @@ function Sr() {
|
|
|
3966
3968
|
var t = e.prototype;
|
|
3967
3969
|
return !!(t && t.isReactComponent);
|
|
3968
3970
|
}
|
|
3969
|
-
function
|
|
3971
|
+
function ne(e, t, r) {
|
|
3970
3972
|
if (e == null)
|
|
3971
3973
|
return "";
|
|
3972
3974
|
if (typeof e == "function")
|
|
@@ -3983,12 +3985,12 @@ function Sr() {
|
|
|
3983
3985
|
switch (e.$$typeof) {
|
|
3984
3986
|
case s:
|
|
3985
3987
|
return Ke(e.render);
|
|
3986
|
-
case
|
|
3987
|
-
return
|
|
3988
|
-
case
|
|
3989
|
-
var
|
|
3988
|
+
case c:
|
|
3989
|
+
return ne(e.type, t, r);
|
|
3990
|
+
case b: {
|
|
3991
|
+
var a = e, f = a._payload, m = a._init;
|
|
3990
3992
|
try {
|
|
3991
|
-
return
|
|
3993
|
+
return ne(m(f), t, r);
|
|
3992
3994
|
} catch {
|
|
3993
3995
|
}
|
|
3994
3996
|
}
|
|
@@ -3996,14 +3998,14 @@ function Sr() {
|
|
|
3996
3998
|
return "";
|
|
3997
3999
|
}
|
|
3998
4000
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
|
|
3999
|
-
function
|
|
4001
|
+
function ae(e) {
|
|
4000
4002
|
if (e) {
|
|
4001
|
-
var t = e._owner, r =
|
|
4003
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
4002
4004
|
Ce.setExtraStackFrame(r);
|
|
4003
4005
|
} else
|
|
4004
4006
|
Ce.setExtraStackFrame(null);
|
|
4005
4007
|
}
|
|
4006
|
-
function Ge(e, t, r,
|
|
4008
|
+
function Ge(e, t, r, a, f) {
|
|
4007
4009
|
{
|
|
4008
4010
|
var m = Function.call.bind(X);
|
|
4009
4011
|
for (var l in e)
|
|
@@ -4011,14 +4013,14 @@ function Sr() {
|
|
|
4011
4013
|
var i = void 0;
|
|
4012
4014
|
try {
|
|
4013
4015
|
if (typeof e[l] != "function") {
|
|
4014
|
-
var O = Error((
|
|
4016
|
+
var O = 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`.");
|
|
4015
4017
|
throw O.name = "Invariant Violation", O;
|
|
4016
4018
|
}
|
|
4017
|
-
i = e[l](t, l,
|
|
4019
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4018
4020
|
} catch (w) {
|
|
4019
4021
|
i = w;
|
|
4020
4022
|
}
|
|
4021
|
-
i && !(i instanceof Error) && (
|
|
4023
|
+
i && !(i instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof i), ae(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ae(f), p("Failed %s type: %s", r, i.message), ae(null));
|
|
4022
4024
|
}
|
|
4023
4025
|
}
|
|
4024
4026
|
}
|
|
@@ -4093,7 +4095,7 @@ function Sr() {
|
|
|
4093
4095
|
});
|
|
4094
4096
|
}
|
|
4095
4097
|
}
|
|
4096
|
-
var rt = function(e, t, r,
|
|
4098
|
+
var rt = function(e, t, r, a, f, m, l) {
|
|
4097
4099
|
var i = {
|
|
4098
4100
|
// This tag allows us to uniquely identify this as a React Element
|
|
4099
4101
|
$$typeof: _,
|
|
@@ -4114,7 +4116,7 @@ function Sr() {
|
|
|
4114
4116
|
configurable: !1,
|
|
4115
4117
|
enumerable: !1,
|
|
4116
4118
|
writable: !1,
|
|
4117
|
-
value:
|
|
4119
|
+
value: a
|
|
4118
4120
|
}), Object.defineProperty(i, "_source", {
|
|
4119
4121
|
configurable: !1,
|
|
4120
4122
|
enumerable: !1,
|
|
@@ -4122,7 +4124,7 @@ function Sr() {
|
|
|
4122
4124
|
value: f
|
|
4123
4125
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
4124
4126
|
};
|
|
4125
|
-
function
|
|
4127
|
+
function nt(e, t, r, a, f) {
|
|
4126
4128
|
{
|
|
4127
4129
|
var m, l = {}, i = null, O = null;
|
|
4128
4130
|
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t));
|
|
@@ -4137,13 +4139,13 @@ function Sr() {
|
|
|
4137
4139
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
4138
4140
|
i && et(l, j), O && tt(l, j);
|
|
4139
4141
|
}
|
|
4140
|
-
return rt(e, i, O, f,
|
|
4142
|
+
return rt(e, i, O, f, a, Ee.current, l);
|
|
4141
4143
|
}
|
|
4142
4144
|
}
|
|
4143
4145
|
var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
4144
4146
|
function J(e) {
|
|
4145
4147
|
if (e) {
|
|
4146
|
-
var t = e._owner, r =
|
|
4148
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
4147
4149
|
De.setExtraStackFrame(r);
|
|
4148
4150
|
} else
|
|
4149
4151
|
De.setExtraStackFrame(null);
|
|
@@ -4165,7 +4167,7 @@ Check the render method of \`` + e + "`.";
|
|
|
4165
4167
|
return "";
|
|
4166
4168
|
}
|
|
4167
4169
|
}
|
|
4168
|
-
function
|
|
4170
|
+
function at(e) {
|
|
4169
4171
|
return "";
|
|
4170
4172
|
}
|
|
4171
4173
|
var Ne = {};
|
|
@@ -4190,8 +4192,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4190
4192
|
if (Ne[r])
|
|
4191
4193
|
return;
|
|
4192
4194
|
Ne[r] = !0;
|
|
4193
|
-
var
|
|
4194
|
-
e && e._owner && e._owner !== pe.current && (
|
|
4195
|
+
var a = "";
|
|
4196
|
+
e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + y(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
4195
4197
|
}
|
|
4196
4198
|
}
|
|
4197
4199
|
function Ie(e, t) {
|
|
@@ -4200,13 +4202,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4200
4202
|
return;
|
|
4201
4203
|
if (fe(e))
|
|
4202
4204
|
for (var r = 0; r < e.length; r++) {
|
|
4203
|
-
var
|
|
4204
|
-
ye(
|
|
4205
|
+
var a = e[r];
|
|
4206
|
+
ye(a) && Fe(a, t);
|
|
4205
4207
|
}
|
|
4206
4208
|
else if (ye(e))
|
|
4207
4209
|
e._store && (e._store.validated = !0);
|
|
4208
4210
|
else if (e) {
|
|
4209
|
-
var f =
|
|
4211
|
+
var f = D(e);
|
|
4210
4212
|
if (typeof f == "function" && f !== e.entries)
|
|
4211
4213
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
4212
4214
|
ye(l.value) && Fe(l.value, t);
|
|
@@ -4223,13 +4225,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4223
4225
|
r = t.propTypes;
|
|
4224
4226
|
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
4225
4227
|
// Inner props are checked in the reconciler.
|
|
4226
|
-
t.$$typeof ===
|
|
4228
|
+
t.$$typeof === c))
|
|
4227
4229
|
r = t.propTypes;
|
|
4228
4230
|
else
|
|
4229
4231
|
return;
|
|
4230
4232
|
if (r) {
|
|
4231
|
-
var
|
|
4232
|
-
Ge(r, e.props, "prop",
|
|
4233
|
+
var a = y(t);
|
|
4234
|
+
Ge(r, e.props, "prop", a, e);
|
|
4233
4235
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
4234
4236
|
me = !0;
|
|
4235
4237
|
var f = y(t);
|
|
@@ -4241,9 +4243,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4241
4243
|
function it(e) {
|
|
4242
4244
|
{
|
|
4243
4245
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
4244
|
-
var
|
|
4245
|
-
if (
|
|
4246
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
4246
|
+
var a = t[r];
|
|
4247
|
+
if (a !== "children" && a !== "key") {
|
|
4248
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
4247
4249
|
break;
|
|
4248
4250
|
}
|
|
4249
4251
|
}
|
|
@@ -4251,32 +4253,32 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4251
4253
|
}
|
|
4252
4254
|
}
|
|
4253
4255
|
var Me = {};
|
|
4254
|
-
function $e(e, t, r,
|
|
4256
|
+
function $e(e, t, r, a, f, m) {
|
|
4255
4257
|
{
|
|
4256
4258
|
var l = N(e);
|
|
4257
4259
|
if (!l) {
|
|
4258
4260
|
var i = "";
|
|
4259
4261
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
4260
|
-
var O =
|
|
4262
|
+
var O = at();
|
|
4261
4263
|
O ? i += O : i += Pe();
|
|
4262
4264
|
var w;
|
|
4263
4265
|
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (y(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
4264
4266
|
}
|
|
4265
|
-
var j =
|
|
4267
|
+
var j = nt(e, t, r, f, m);
|
|
4266
4268
|
if (j == null)
|
|
4267
4269
|
return j;
|
|
4268
4270
|
if (l) {
|
|
4269
|
-
var
|
|
4270
|
-
if (
|
|
4271
|
-
if (
|
|
4272
|
-
if (fe(
|
|
4273
|
-
for (var Z = 0; Z <
|
|
4274
|
-
Ie(
|
|
4275
|
-
Object.freeze && Object.freeze(
|
|
4271
|
+
var A = t.children;
|
|
4272
|
+
if (A !== void 0)
|
|
4273
|
+
if (a)
|
|
4274
|
+
if (fe(A)) {
|
|
4275
|
+
for (var Z = 0; Z < A.length; Z++)
|
|
4276
|
+
Ie(A[Z], e);
|
|
4277
|
+
Object.freeze && Object.freeze(A);
|
|
4276
4278
|
} else
|
|
4277
4279
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
4278
4280
|
else
|
|
4279
|
-
Ie(
|
|
4281
|
+
Ie(A, e);
|
|
4280
4282
|
}
|
|
4281
4283
|
if (X.call(t, "key")) {
|
|
4282
4284
|
var z = y(e), T = Object.keys(t).filter(function(ft) {
|
|
@@ -4331,28 +4333,28 @@ const Rr = "_shake_oqfdb_1", Er = "_modal_oqfdb_79", Or = "_sa_oqfdb_89", Tr = "
|
|
|
4331
4333
|
g: zr,
|
|
4332
4334
|
m: Hr
|
|
4333
4335
|
};
|
|
4334
|
-
function Jr({ children:
|
|
4336
|
+
function Jr({ children: n, className: _ }) {
|
|
4335
4337
|
return /* @__PURE__ */ H.jsx(
|
|
4336
4338
|
"div",
|
|
4337
4339
|
{
|
|
4338
|
-
className: [ie.l, _].filter((
|
|
4339
|
-
children: /* @__PURE__ */ H.jsx("ul", { children:
|
|
4340
|
+
className: [ie.l, _].filter((u) => u !== void 0).join(" "),
|
|
4341
|
+
children: /* @__PURE__ */ H.jsx("ul", { children: n })
|
|
4340
4342
|
}
|
|
4341
4343
|
);
|
|
4342
4344
|
}
|
|
4343
|
-
function Zr({ children:
|
|
4345
|
+
function Zr({ children: n, className: _ }) {
|
|
4344
4346
|
return /* @__PURE__ */ H.jsx(
|
|
4345
4347
|
"div",
|
|
4346
4348
|
{
|
|
4347
|
-
className: [ie.s, _].filter((
|
|
4348
|
-
children:
|
|
4349
|
+
className: [ie.s, _].filter((u) => u !== void 0).join(" "),
|
|
4350
|
+
children: n
|
|
4349
4351
|
}
|
|
4350
4352
|
);
|
|
4351
4353
|
}
|
|
4352
4354
|
function Vr({
|
|
4353
|
-
children:
|
|
4355
|
+
children: n,
|
|
4354
4356
|
direction: _ = "column",
|
|
4355
|
-
className:
|
|
4357
|
+
className: u
|
|
4356
4358
|
}) {
|
|
4357
4359
|
return /* @__PURE__ */ H.jsx(
|
|
4358
4360
|
"ul",
|
|
@@ -4360,35 +4362,35 @@ function Vr({
|
|
|
4360
4362
|
className: [
|
|
4361
4363
|
ie.f,
|
|
4362
4364
|
ie[_ === "row" ? "r_" : "c_"],
|
|
4363
|
-
|
|
4365
|
+
u
|
|
4364
4366
|
].filter((d) => d !== void 0).join(" "),
|
|
4365
|
-
children:
|
|
4367
|
+
children: n
|
|
4366
4368
|
}
|
|
4367
4369
|
);
|
|
4368
4370
|
}
|
|
4369
|
-
function Xr({ children:
|
|
4371
|
+
function Xr({ children: n, className: _ }) {
|
|
4370
4372
|
return /* @__PURE__ */ H.jsx(
|
|
4371
4373
|
"div",
|
|
4372
4374
|
{
|
|
4373
|
-
className: [ie.c, _].filter((
|
|
4374
|
-
children:
|
|
4375
|
+
className: [ie.c, _].filter((u) => u !== void 0).join(" "),
|
|
4376
|
+
children: n
|
|
4375
4377
|
}
|
|
4376
4378
|
);
|
|
4377
4379
|
}
|
|
4378
|
-
function Qr({ children:
|
|
4380
|
+
function Qr({ children: n, className: _ }) {
|
|
4379
4381
|
return /* @__PURE__ */ H.jsx(
|
|
4380
4382
|
"div",
|
|
4381
4383
|
{
|
|
4382
|
-
className: [ie.g, _].filter((
|
|
4383
|
-
children:
|
|
4384
|
+
className: [ie.g, _].filter((u) => u !== void 0).join(" "),
|
|
4385
|
+
children: n
|
|
4384
4386
|
}
|
|
4385
4387
|
);
|
|
4386
4388
|
}
|
|
4387
|
-
function
|
|
4389
|
+
function en() {
|
|
4388
4390
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
4389
4391
|
}
|
|
4390
|
-
function Yt(
|
|
4391
|
-
return
|
|
4392
|
+
function Yt(n) {
|
|
4393
|
+
return en().IMPORT_MODULES;
|
|
4392
4394
|
}
|
|
4393
4395
|
var Nt = { exports: {} }, bt = {};
|
|
4394
4396
|
/**
|
|
@@ -4401,18 +4403,18 @@ var Nt = { exports: {} }, bt = {};
|
|
|
4401
4403
|
* LICENSE file in the root directory of this source tree.
|
|
4402
4404
|
*/
|
|
4403
4405
|
var Gt;
|
|
4404
|
-
function
|
|
4406
|
+
function tn() {
|
|
4405
4407
|
if (Gt) return bt;
|
|
4406
4408
|
Gt = 1;
|
|
4407
|
-
var
|
|
4409
|
+
var n = q, _ = Symbol.for("react.element"), u = Symbol.for("react.fragment"), d = 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 };
|
|
4408
4410
|
function E(x, s, h) {
|
|
4409
|
-
var o,
|
|
4410
|
-
h !== void 0 && (
|
|
4411
|
-
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (
|
|
4412
|
-
if (x && x.defaultProps) for (o in s = x.defaultProps, s)
|
|
4413
|
-
return { $$typeof: _, type: x, key:
|
|
4411
|
+
var o, c = {}, b = null, S = null;
|
|
4412
|
+
h !== void 0 && (b = "" + h), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
4413
|
+
for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (c[o] = s[o]);
|
|
4414
|
+
if (x && x.defaultProps) for (o in s = x.defaultProps, s) c[o] === void 0 && (c[o] = s[o]);
|
|
4415
|
+
return { $$typeof: _, type: x, key: b, ref: S, props: c, _owner: v.current };
|
|
4414
4416
|
}
|
|
4415
|
-
return bt.Fragment =
|
|
4417
|
+
return bt.Fragment = u, bt.jsx = E, bt.jsxs = E, bt;
|
|
4416
4418
|
}
|
|
4417
4419
|
var jt = {};
|
|
4418
4420
|
/**
|
|
@@ -4425,26 +4427,26 @@ var jt = {};
|
|
|
4425
4427
|
* LICENSE file in the root directory of this source tree.
|
|
4426
4428
|
*/
|
|
4427
4429
|
var zt;
|
|
4428
|
-
function
|
|
4430
|
+
function rn() {
|
|
4429
4431
|
return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
4430
|
-
var
|
|
4431
|
-
function
|
|
4432
|
+
var n = q, _ = Symbol.for("react.element"), u = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), I = Symbol.iterator, Y = "@@iterator";
|
|
4433
|
+
function D(e) {
|
|
4432
4434
|
if (e === null || typeof e != "object")
|
|
4433
4435
|
return null;
|
|
4434
|
-
var t =
|
|
4436
|
+
var t = I && e[I] || e[Y];
|
|
4435
4437
|
return typeof t == "function" ? t : null;
|
|
4436
4438
|
}
|
|
4437
|
-
var R =
|
|
4439
|
+
var R = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
4438
4440
|
function p(e) {
|
|
4439
4441
|
{
|
|
4440
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
4441
|
-
r[
|
|
4442
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
4443
|
+
r[a - 1] = arguments[a];
|
|
4442
4444
|
F("error", e, r);
|
|
4443
4445
|
}
|
|
4444
4446
|
}
|
|
4445
4447
|
function F(e, t, r) {
|
|
4446
4448
|
{
|
|
4447
|
-
var
|
|
4449
|
+
var a = R.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
4448
4450
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
4449
4451
|
var m = r.map(function(l) {
|
|
4450
4452
|
return String(l);
|
|
@@ -4452,23 +4454,23 @@ function ra() {
|
|
|
4452
4454
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
4453
4455
|
}
|
|
4454
4456
|
}
|
|
4455
|
-
var
|
|
4456
|
-
|
|
4457
|
+
var M = !1, K = !1, W = !1, B = !1, U = !1, P;
|
|
4458
|
+
P = Symbol.for("react.module.reference");
|
|
4457
4459
|
function N(e) {
|
|
4458
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C ||
|
|
4460
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || U || e === v || e === h || e === o || B || e === S || M || K || W || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === c || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
4459
4461
|
// types supported by any Flight configuration anywhere since
|
|
4460
4462
|
// we don't know which Flight build this will end up being used
|
|
4461
4463
|
// with.
|
|
4462
|
-
e.$$typeof ===
|
|
4464
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
4463
4465
|
}
|
|
4464
4466
|
function G(e, t, r) {
|
|
4465
|
-
var
|
|
4466
|
-
if (
|
|
4467
|
-
return
|
|
4467
|
+
var a = e.displayName;
|
|
4468
|
+
if (a)
|
|
4469
|
+
return a;
|
|
4468
4470
|
var f = t.displayName || t.name || "";
|
|
4469
4471
|
return f !== "" ? r + "(" + f + ")" : r;
|
|
4470
4472
|
}
|
|
4471
|
-
function
|
|
4473
|
+
function k(e) {
|
|
4472
4474
|
return e.displayName || "Context";
|
|
4473
4475
|
}
|
|
4474
4476
|
function y(e) {
|
|
@@ -4481,7 +4483,7 @@ function ra() {
|
|
|
4481
4483
|
switch (e) {
|
|
4482
4484
|
case d:
|
|
4483
4485
|
return "Fragment";
|
|
4484
|
-
case
|
|
4486
|
+
case u:
|
|
4485
4487
|
return "Portal";
|
|
4486
4488
|
case C:
|
|
4487
4489
|
return "Profiler";
|
|
@@ -4496,16 +4498,16 @@ function ra() {
|
|
|
4496
4498
|
switch (e.$$typeof) {
|
|
4497
4499
|
case x:
|
|
4498
4500
|
var t = e;
|
|
4499
|
-
return
|
|
4501
|
+
return k(t) + ".Consumer";
|
|
4500
4502
|
case E:
|
|
4501
4503
|
var r = e;
|
|
4502
|
-
return
|
|
4504
|
+
return k(r._context) + ".Provider";
|
|
4503
4505
|
case s:
|
|
4504
4506
|
return G(e, e.render, "ForwardRef");
|
|
4505
|
-
case
|
|
4506
|
-
var
|
|
4507
|
-
return
|
|
4508
|
-
case
|
|
4507
|
+
case c:
|
|
4508
|
+
var a = e.displayName || null;
|
|
4509
|
+
return a !== null ? a : y(e.type) || "Memo";
|
|
4510
|
+
case b: {
|
|
4509
4511
|
var f = e, m = f._payload, l = f._init;
|
|
4510
4512
|
try {
|
|
4511
4513
|
return y(l(m));
|
|
@@ -4516,7 +4518,7 @@ function ra() {
|
|
|
4516
4518
|
}
|
|
4517
4519
|
return null;
|
|
4518
4520
|
}
|
|
4519
|
-
var
|
|
4521
|
+
var $ = Object.assign, L = 0, se, V, oe, ge, le, be, ke;
|
|
4520
4522
|
function we() {
|
|
4521
4523
|
}
|
|
4522
4524
|
we.__reactDisabledLog = !0;
|
|
@@ -4552,25 +4554,25 @@ function ra() {
|
|
|
4552
4554
|
writable: !0
|
|
4553
4555
|
};
|
|
4554
4556
|
Object.defineProperties(console, {
|
|
4555
|
-
log:
|
|
4557
|
+
log: $({}, e, {
|
|
4556
4558
|
value: se
|
|
4557
4559
|
}),
|
|
4558
|
-
info:
|
|
4560
|
+
info: $({}, e, {
|
|
4559
4561
|
value: V
|
|
4560
4562
|
}),
|
|
4561
|
-
warn:
|
|
4563
|
+
warn: $({}, e, {
|
|
4562
4564
|
value: oe
|
|
4563
4565
|
}),
|
|
4564
|
-
error:
|
|
4566
|
+
error: $({}, e, {
|
|
4565
4567
|
value: ge
|
|
4566
4568
|
}),
|
|
4567
|
-
group:
|
|
4569
|
+
group: $({}, e, {
|
|
4568
4570
|
value: le
|
|
4569
4571
|
}),
|
|
4570
|
-
groupCollapsed:
|
|
4572
|
+
groupCollapsed: $({}, e, {
|
|
4571
4573
|
value: be
|
|
4572
4574
|
}),
|
|
4573
|
-
groupEnd:
|
|
4575
|
+
groupEnd: $({}, e, {
|
|
4574
4576
|
value: ke
|
|
4575
4577
|
})
|
|
4576
4578
|
});
|
|
@@ -4585,8 +4587,8 @@ function ra() {
|
|
|
4585
4587
|
try {
|
|
4586
4588
|
throw Error();
|
|
4587
4589
|
} catch (f) {
|
|
4588
|
-
var
|
|
4589
|
-
ue =
|
|
4590
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
4591
|
+
ue = a && a[1] || "";
|
|
4590
4592
|
}
|
|
4591
4593
|
return `
|
|
4592
4594
|
` + ue + e;
|
|
@@ -4605,7 +4607,7 @@ function ra() {
|
|
|
4605
4607
|
if (r !== void 0)
|
|
4606
4608
|
return r;
|
|
4607
4609
|
}
|
|
4608
|
-
var
|
|
4610
|
+
var a;
|
|
4609
4611
|
de = !0;
|
|
4610
4612
|
var f = Error.prepareStackTrace;
|
|
4611
4613
|
Error.prepareStackTrace = void 0;
|
|
@@ -4624,14 +4626,14 @@ function ra() {
|
|
|
4624
4626
|
try {
|
|
4625
4627
|
Reflect.construct(l, []);
|
|
4626
4628
|
} catch (T) {
|
|
4627
|
-
|
|
4629
|
+
a = T;
|
|
4628
4630
|
}
|
|
4629
4631
|
Reflect.construct(e, [], l);
|
|
4630
4632
|
} else {
|
|
4631
4633
|
try {
|
|
4632
4634
|
l.call();
|
|
4633
4635
|
} catch (T) {
|
|
4634
|
-
|
|
4636
|
+
a = T;
|
|
4635
4637
|
}
|
|
4636
4638
|
e.call(l.prototype);
|
|
4637
4639
|
}
|
|
@@ -4639,14 +4641,14 @@ function ra() {
|
|
|
4639
4641
|
try {
|
|
4640
4642
|
throw Error();
|
|
4641
4643
|
} catch (T) {
|
|
4642
|
-
|
|
4644
|
+
a = T;
|
|
4643
4645
|
}
|
|
4644
4646
|
e();
|
|
4645
4647
|
}
|
|
4646
4648
|
} catch (T) {
|
|
4647
|
-
if (T &&
|
|
4649
|
+
if (T && a && typeof T.stack == "string") {
|
|
4648
4650
|
for (var i = T.stack.split(`
|
|
4649
|
-
`), O =
|
|
4651
|
+
`), O = a.stack.split(`
|
|
4650
4652
|
`), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
|
|
4651
4653
|
j--;
|
|
4652
4654
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -4654,9 +4656,9 @@ function ra() {
|
|
|
4654
4656
|
if (w !== 1 || j !== 1)
|
|
4655
4657
|
do
|
|
4656
4658
|
if (w--, j--, j < 0 || i[w] !== O[j]) {
|
|
4657
|
-
var
|
|
4659
|
+
var A = `
|
|
4658
4660
|
` + i[w].replace(" at new ", " at ");
|
|
4659
|
-
return e.displayName &&
|
|
4661
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, A), A;
|
|
4660
4662
|
}
|
|
4661
4663
|
while (w >= 1 && j >= 0);
|
|
4662
4664
|
break;
|
|
@@ -4675,7 +4677,7 @@ function ra() {
|
|
|
4675
4677
|
var t = e.prototype;
|
|
4676
4678
|
return !!(t && t.isReactComponent);
|
|
4677
4679
|
}
|
|
4678
|
-
function
|
|
4680
|
+
function ne(e, t, r) {
|
|
4679
4681
|
if (e == null)
|
|
4680
4682
|
return "";
|
|
4681
4683
|
if (typeof e == "function")
|
|
@@ -4692,12 +4694,12 @@ function ra() {
|
|
|
4692
4694
|
switch (e.$$typeof) {
|
|
4693
4695
|
case s:
|
|
4694
4696
|
return Ke(e.render);
|
|
4695
|
-
case
|
|
4696
|
-
return
|
|
4697
|
-
case
|
|
4698
|
-
var
|
|
4697
|
+
case c:
|
|
4698
|
+
return ne(e.type, t, r);
|
|
4699
|
+
case b: {
|
|
4700
|
+
var a = e, f = a._payload, m = a._init;
|
|
4699
4701
|
try {
|
|
4700
|
-
return
|
|
4702
|
+
return ne(m(f), t, r);
|
|
4701
4703
|
} catch {
|
|
4702
4704
|
}
|
|
4703
4705
|
}
|
|
@@ -4705,14 +4707,14 @@ function ra() {
|
|
|
4705
4707
|
return "";
|
|
4706
4708
|
}
|
|
4707
4709
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
|
|
4708
|
-
function
|
|
4710
|
+
function ae(e) {
|
|
4709
4711
|
if (e) {
|
|
4710
|
-
var t = e._owner, r =
|
|
4712
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
4711
4713
|
Ce.setExtraStackFrame(r);
|
|
4712
4714
|
} else
|
|
4713
4715
|
Ce.setExtraStackFrame(null);
|
|
4714
4716
|
}
|
|
4715
|
-
function Ge(e, t, r,
|
|
4717
|
+
function Ge(e, t, r, a, f) {
|
|
4716
4718
|
{
|
|
4717
4719
|
var m = Function.call.bind(X);
|
|
4718
4720
|
for (var l in e)
|
|
@@ -4720,14 +4722,14 @@ function ra() {
|
|
|
4720
4722
|
var i = void 0;
|
|
4721
4723
|
try {
|
|
4722
4724
|
if (typeof e[l] != "function") {
|
|
4723
|
-
var O = Error((
|
|
4725
|
+
var O = 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`.");
|
|
4724
4726
|
throw O.name = "Invariant Violation", O;
|
|
4725
4727
|
}
|
|
4726
|
-
i = e[l](t, l,
|
|
4728
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4727
4729
|
} catch (w) {
|
|
4728
4730
|
i = w;
|
|
4729
4731
|
}
|
|
4730
|
-
i && !(i instanceof Error) && (
|
|
4732
|
+
i && !(i instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof i), ae(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, ae(f), p("Failed %s type: %s", r, i.message), ae(null));
|
|
4731
4733
|
}
|
|
4732
4734
|
}
|
|
4733
4735
|
}
|
|
@@ -4802,7 +4804,7 @@ function ra() {
|
|
|
4802
4804
|
});
|
|
4803
4805
|
}
|
|
4804
4806
|
}
|
|
4805
|
-
var rt = function(e, t, r,
|
|
4807
|
+
var rt = function(e, t, r, a, f, m, l) {
|
|
4806
4808
|
var i = {
|
|
4807
4809
|
// This tag allows us to uniquely identify this as a React Element
|
|
4808
4810
|
$$typeof: _,
|
|
@@ -4823,7 +4825,7 @@ function ra() {
|
|
|
4823
4825
|
configurable: !1,
|
|
4824
4826
|
enumerable: !1,
|
|
4825
4827
|
writable: !1,
|
|
4826
|
-
value:
|
|
4828
|
+
value: a
|
|
4827
4829
|
}), Object.defineProperty(i, "_source", {
|
|
4828
4830
|
configurable: !1,
|
|
4829
4831
|
enumerable: !1,
|
|
@@ -4831,7 +4833,7 @@ function ra() {
|
|
|
4831
4833
|
value: f
|
|
4832
4834
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
4833
4835
|
};
|
|
4834
|
-
function
|
|
4836
|
+
function nt(e, t, r, a, f) {
|
|
4835
4837
|
{
|
|
4836
4838
|
var m, l = {}, i = null, O = null;
|
|
4837
4839
|
r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t));
|
|
@@ -4846,13 +4848,13 @@ function ra() {
|
|
|
4846
4848
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
4847
4849
|
i && et(l, j), O && tt(l, j);
|
|
4848
4850
|
}
|
|
4849
|
-
return rt(e, i, O, f,
|
|
4851
|
+
return rt(e, i, O, f, a, Ee.current, l);
|
|
4850
4852
|
}
|
|
4851
4853
|
}
|
|
4852
4854
|
var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
|
|
4853
4855
|
function J(e) {
|
|
4854
4856
|
if (e) {
|
|
4855
|
-
var t = e._owner, r =
|
|
4857
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
4856
4858
|
De.setExtraStackFrame(r);
|
|
4857
4859
|
} else
|
|
4858
4860
|
De.setExtraStackFrame(null);
|
|
@@ -4874,7 +4876,7 @@ Check the render method of \`` + e + "`.";
|
|
|
4874
4876
|
return "";
|
|
4875
4877
|
}
|
|
4876
4878
|
}
|
|
4877
|
-
function
|
|
4879
|
+
function at(e) {
|
|
4878
4880
|
return "";
|
|
4879
4881
|
}
|
|
4880
4882
|
var Ne = {};
|
|
@@ -4899,8 +4901,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4899
4901
|
if (Ne[r])
|
|
4900
4902
|
return;
|
|
4901
4903
|
Ne[r] = !0;
|
|
4902
|
-
var
|
|
4903
|
-
e && e._owner && e._owner !== pe.current && (
|
|
4904
|
+
var a = "";
|
|
4905
|
+
e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + y(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
4904
4906
|
}
|
|
4905
4907
|
}
|
|
4906
4908
|
function Ie(e, t) {
|
|
@@ -4909,13 +4911,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4909
4911
|
return;
|
|
4910
4912
|
if (fe(e))
|
|
4911
4913
|
for (var r = 0; r < e.length; r++) {
|
|
4912
|
-
var
|
|
4913
|
-
ye(
|
|
4914
|
+
var a = e[r];
|
|
4915
|
+
ye(a) && Fe(a, t);
|
|
4914
4916
|
}
|
|
4915
4917
|
else if (ye(e))
|
|
4916
4918
|
e._store && (e._store.validated = !0);
|
|
4917
4919
|
else if (e) {
|
|
4918
|
-
var f =
|
|
4920
|
+
var f = D(e);
|
|
4919
4921
|
if (typeof f == "function" && f !== e.entries)
|
|
4920
4922
|
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
4921
4923
|
ye(l.value) && Fe(l.value, t);
|
|
@@ -4932,13 +4934,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4932
4934
|
r = t.propTypes;
|
|
4933
4935
|
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
4934
4936
|
// Inner props are checked in the reconciler.
|
|
4935
|
-
t.$$typeof ===
|
|
4937
|
+
t.$$typeof === c))
|
|
4936
4938
|
r = t.propTypes;
|
|
4937
4939
|
else
|
|
4938
4940
|
return;
|
|
4939
4941
|
if (r) {
|
|
4940
|
-
var
|
|
4941
|
-
Ge(r, e.props, "prop",
|
|
4942
|
+
var a = y(t);
|
|
4943
|
+
Ge(r, e.props, "prop", a, e);
|
|
4942
4944
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
4943
4945
|
me = !0;
|
|
4944
4946
|
var f = y(t);
|
|
@@ -4950,9 +4952,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4950
4952
|
function it(e) {
|
|
4951
4953
|
{
|
|
4952
4954
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
4953
|
-
var
|
|
4954
|
-
if (
|
|
4955
|
-
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
4955
|
+
var a = t[r];
|
|
4956
|
+
if (a !== "children" && a !== "key") {
|
|
4957
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
4956
4958
|
break;
|
|
4957
4959
|
}
|
|
4958
4960
|
}
|
|
@@ -4960,32 +4962,32 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4960
4962
|
}
|
|
4961
4963
|
}
|
|
4962
4964
|
var Me = {};
|
|
4963
|
-
function $e(e, t, r,
|
|
4965
|
+
function $e(e, t, r, a, f, m) {
|
|
4964
4966
|
{
|
|
4965
4967
|
var l = N(e);
|
|
4966
4968
|
if (!l) {
|
|
4967
4969
|
var i = "";
|
|
4968
4970
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
4969
|
-
var O =
|
|
4971
|
+
var O = at();
|
|
4970
4972
|
O ? i += O : i += Pe();
|
|
4971
4973
|
var w;
|
|
4972
4974
|
e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (y(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
|
|
4973
4975
|
}
|
|
4974
|
-
var j =
|
|
4976
|
+
var j = nt(e, t, r, f, m);
|
|
4975
4977
|
if (j == null)
|
|
4976
4978
|
return j;
|
|
4977
4979
|
if (l) {
|
|
4978
|
-
var
|
|
4979
|
-
if (
|
|
4980
|
-
if (
|
|
4981
|
-
if (fe(
|
|
4982
|
-
for (var Z = 0; Z <
|
|
4983
|
-
Ie(
|
|
4984
|
-
Object.freeze && Object.freeze(
|
|
4980
|
+
var A = t.children;
|
|
4981
|
+
if (A !== void 0)
|
|
4982
|
+
if (a)
|
|
4983
|
+
if (fe(A)) {
|
|
4984
|
+
for (var Z = 0; Z < A.length; Z++)
|
|
4985
|
+
Ie(A[Z], e);
|
|
4986
|
+
Object.freeze && Object.freeze(A);
|
|
4985
4987
|
} else
|
|
4986
4988
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
4987
4989
|
else
|
|
4988
|
-
Ie(
|
|
4990
|
+
Ie(A, e);
|
|
4989
4991
|
}
|
|
4990
4992
|
if (X.call(t, "key")) {
|
|
4991
4993
|
var z = y(e), T = Object.keys(t).filter(function(ft) {
|
|
@@ -5014,21 +5016,21 @@ React keys must be passed directly to JSX without using spread:
|
|
|
5014
5016
|
jt.Fragment = d, jt.jsx = ct, jt.jsxs = ut;
|
|
5015
5017
|
}()), jt;
|
|
5016
5018
|
}
|
|
5017
|
-
process.env.NODE_ENV === "production" ? Nt.exports =
|
|
5019
|
+
process.env.NODE_ENV === "production" ? Nt.exports = tn() : Nt.exports = rn();
|
|
5018
5020
|
var Ot = Nt.exports;
|
|
5019
|
-
const
|
|
5020
|
-
btn:
|
|
5021
|
-
confirm:
|
|
5022
|
-
cancel:
|
|
5023
|
-
action:
|
|
5024
|
-
disabled:
|
|
5021
|
+
const nn = "_btn_1k1b3_1", an = "_confirm_1k1b3_15", on = "_cancel_1k1b3_20", _n = "_action_1k1b3_25", sn = "_disabled_1k1b3_30", ln = "_m_1k1b3_44", cn = "_l_1k1b3_48", xt = {
|
|
5022
|
+
btn: nn,
|
|
5023
|
+
confirm: an,
|
|
5024
|
+
cancel: on,
|
|
5025
|
+
action: _n,
|
|
5026
|
+
disabled: sn,
|
|
5025
5027
|
await: "_await_1k1b3_37",
|
|
5026
|
-
m:
|
|
5027
|
-
l:
|
|
5028
|
-
},
|
|
5029
|
-
onClick:
|
|
5028
|
+
m: ln,
|
|
5029
|
+
l: cn
|
|
5030
|
+
}, un = ({
|
|
5031
|
+
onClick: n,
|
|
5030
5032
|
onSend: _,
|
|
5031
|
-
size:
|
|
5033
|
+
size: u = "m",
|
|
5032
5034
|
view: d = "confirm",
|
|
5033
5035
|
children: v,
|
|
5034
5036
|
isDisabled: C = !1,
|
|
@@ -5037,27 +5039,27 @@ const aa = "_btn_1k1b3_1", na = "_confirm_1k1b3_15", oa = "_cancel_1k1b3_20", _a
|
|
|
5037
5039
|
before: s,
|
|
5038
5040
|
label: h,
|
|
5039
5041
|
onRef: o,
|
|
5040
|
-
awaitText:
|
|
5042
|
+
awaitText: c = "Ожидайте"
|
|
5041
5043
|
}) => {
|
|
5042
|
-
let [
|
|
5043
|
-
const
|
|
5044
|
-
if (
|
|
5045
|
-
|
|
5044
|
+
let [b, S] = q.useState(!1);
|
|
5045
|
+
const I = (D) => {
|
|
5046
|
+
if (n) return n();
|
|
5047
|
+
b || (_ ? (S(!0), _(S)) : D.preventDefault());
|
|
5046
5048
|
};
|
|
5047
|
-
let
|
|
5048
|
-
return (C ||
|
|
5049
|
+
let Y = {};
|
|
5050
|
+
return (C || b) && (Y.disabled = !0), /* @__PURE__ */ Ot.jsx(
|
|
5049
5051
|
"button",
|
|
5050
5052
|
{
|
|
5051
|
-
...
|
|
5053
|
+
...Y,
|
|
5052
5054
|
ref: o,
|
|
5053
5055
|
className: [
|
|
5054
5056
|
xt.btn,
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
+
b ? xt.disabled : xt[d],
|
|
5058
|
+
u && xt[u],
|
|
5057
5059
|
E
|
|
5058
|
-
].filter((
|
|
5059
|
-
onClick:
|
|
5060
|
-
children:
|
|
5060
|
+
].filter((D) => D != "").join(" "),
|
|
5061
|
+
onClick: I,
|
|
5062
|
+
children: b ? c : /* @__PURE__ */ Ot.jsxs(Ot.Fragment, { children: [
|
|
5061
5063
|
s || "",
|
|
5062
5064
|
" ",
|
|
5063
5065
|
h,
|
|
@@ -5068,120 +5070,120 @@ const aa = "_btn_1k1b3_1", na = "_confirm_1k1b3_15", oa = "_cancel_1k1b3_20", _a
|
|
|
5068
5070
|
);
|
|
5069
5071
|
};
|
|
5070
5072
|
let Ae = {};
|
|
5071
|
-
function
|
|
5072
|
-
return /* @__PURE__ */ H.jsx(H.Fragment, { children:
|
|
5073
|
+
function dn({ children: n }) {
|
|
5074
|
+
return /* @__PURE__ */ H.jsx(H.Fragment, { children: n });
|
|
5073
5075
|
}
|
|
5074
5076
|
var Rt;
|
|
5075
|
-
((
|
|
5077
|
+
((n) => {
|
|
5076
5078
|
function _({
|
|
5077
5079
|
import_modules: o
|
|
5078
5080
|
}) {
|
|
5079
|
-
let [
|
|
5081
|
+
let [c, b] = q.useState([]);
|
|
5080
5082
|
return Ae.x = (S) => {
|
|
5081
|
-
|
|
5083
|
+
b(S ? c.filter((I) => I.key !== S) : []);
|
|
5082
5084
|
}, Zt(() => {
|
|
5083
5085
|
o && (Ae.i = o);
|
|
5084
|
-
}, []), Ae.add = (S,
|
|
5085
|
-
|
|
5086
|
-
}, /* @__PURE__ */ H.jsx(H.Fragment, { children:
|
|
5086
|
+
}, []), Ae.add = (S, I = Date.now()) => {
|
|
5087
|
+
b([...c, { key: I, item: S }]);
|
|
5088
|
+
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: c.map((S) => S.item) });
|
|
5087
5089
|
}
|
|
5088
|
-
|
|
5089
|
-
function
|
|
5090
|
+
n.Init = _;
|
|
5091
|
+
function u(o) {
|
|
5090
5092
|
return o && (Ae.i = o), Ae.i;
|
|
5091
5093
|
}
|
|
5092
|
-
|
|
5093
|
-
function d(o,
|
|
5094
|
-
Ae.i ? Ae.i(`${o}/modal/${
|
|
5095
|
-
S.default.Open(
|
|
5096
|
-
}) : Yt()(`${o}/modal/${
|
|
5097
|
-
S.default.Open(
|
|
5094
|
+
n.Import = u, n.List = Jr, n.Scroll = Zr, n.Form = Vr, n.Center = Xr, n.Column = Qr;
|
|
5095
|
+
function d(o, c, b) {
|
|
5096
|
+
Ae.i ? Ae.i(`${o}/modal/${c}.tsx`).then((S) => {
|
|
5097
|
+
S.default.Open(b);
|
|
5098
|
+
}) : Yt()(`${o}/modal/${c}.tsx`).then((S) => {
|
|
5099
|
+
S.default.Open(b);
|
|
5098
5100
|
});
|
|
5099
5101
|
}
|
|
5100
|
-
|
|
5101
|
-
function v({ type: o, name:
|
|
5102
|
-
let [S,
|
|
5103
|
-
return
|
|
5104
|
-
Ae.i ? Ae.i(`${o}/modal/${
|
|
5105
|
-
|
|
5106
|
-
}) : Yt()(`${o}/modal/${
|
|
5107
|
-
|
|
5102
|
+
n.Open = d;
|
|
5103
|
+
function v({ type: o, name: c, params: b }) {
|
|
5104
|
+
let [S, I] = q.useState(null);
|
|
5105
|
+
return q.useEffect(() => {
|
|
5106
|
+
Ae.i ? Ae.i(`${o}/modal/${c}.tsx`).then((Y) => {
|
|
5107
|
+
I(Y.default.Icon(b));
|
|
5108
|
+
}) : Yt()(`${o}/modal/${c}.tsx`).then((Y) => {
|
|
5109
|
+
I(Y.default.Icon(b));
|
|
5108
5110
|
});
|
|
5109
|
-
}, [
|
|
5111
|
+
}, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: S });
|
|
5110
5112
|
}
|
|
5111
|
-
|
|
5112
|
-
function C(o,
|
|
5113
|
-
Ae.add(/* @__PURE__ */ H.jsx(
|
|
5113
|
+
n.Icon = v;
|
|
5114
|
+
function C(o, c) {
|
|
5115
|
+
Ae.add(/* @__PURE__ */ H.jsx(dn, { children: o }, String(Date.now())), c);
|
|
5114
5116
|
}
|
|
5115
|
-
|
|
5117
|
+
n.Add = C;
|
|
5116
5118
|
function E(o) {
|
|
5117
5119
|
Ae.x(o);
|
|
5118
5120
|
}
|
|
5119
|
-
|
|
5121
|
+
n.Close = E;
|
|
5120
5122
|
function x(o) {
|
|
5121
5123
|
if (o.target.classList[0] !== "modal") return;
|
|
5122
|
-
let
|
|
5123
|
-
|
|
5124
|
-
|
|
5124
|
+
let c = o.target.children[0];
|
|
5125
|
+
c.setAttribute("shake", !0), setTimeout(() => {
|
|
5126
|
+
c.setAttribute("shake", !1);
|
|
5125
5127
|
}, 1e3);
|
|
5126
5128
|
}
|
|
5127
|
-
|
|
5128
|
-
function s(o,
|
|
5129
|
-
const
|
|
5130
|
-
|
|
5129
|
+
n.Shake = x;
|
|
5130
|
+
function s(o, c) {
|
|
5131
|
+
const b = (S) => {
|
|
5132
|
+
n.Add(
|
|
5131
5133
|
/* @__PURE__ */ H.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
|
|
5132
5134
|
);
|
|
5133
5135
|
};
|
|
5134
5136
|
return {
|
|
5135
|
-
Icon: (S) => /* @__PURE__ */ H.jsx("i", { onClick: () =>
|
|
5136
|
-
Open:
|
|
5137
|
+
Icon: (S) => /* @__PURE__ */ H.jsx("i", { onClick: () => b(S), children: c && /* @__PURE__ */ H.jsx(c, {}) }),
|
|
5138
|
+
Open: b
|
|
5137
5139
|
};
|
|
5138
5140
|
}
|
|
5139
|
-
|
|
5141
|
+
n.Create = s;
|
|
5140
5142
|
function h({
|
|
5141
5143
|
title: o,
|
|
5142
|
-
children:
|
|
5143
|
-
button:
|
|
5144
|
+
children: c,
|
|
5145
|
+
button: b,
|
|
5144
5146
|
tabs: S,
|
|
5145
|
-
size:
|
|
5146
|
-
className:
|
|
5147
|
-
shake:
|
|
5147
|
+
size: I = "m",
|
|
5148
|
+
className: Y = "",
|
|
5149
|
+
shake: D = !0,
|
|
5148
5150
|
menu: R
|
|
5149
5151
|
}) {
|
|
5150
|
-
const [p, F] =
|
|
5151
|
-
if (
|
|
5152
|
-
if (
|
|
5153
|
-
return
|
|
5154
|
-
if (
|
|
5155
|
-
return
|
|
5152
|
+
const [p, F] = q.useState(!0), M = q.useRef(), K = (B) => {
|
|
5153
|
+
if (b) {
|
|
5154
|
+
if (b.onClick)
|
|
5155
|
+
return B(!1), b.onClick({ setOpen: F });
|
|
5156
|
+
if (b.onSend)
|
|
5157
|
+
return b.onSend({
|
|
5156
5158
|
setOpen: F,
|
|
5157
|
-
disabled:
|
|
5159
|
+
disabled: B
|
|
5158
5160
|
});
|
|
5159
5161
|
}
|
|
5160
|
-
},
|
|
5161
|
-
if (!
|
|
5162
|
-
|
|
5163
|
-
|
|
5162
|
+
}, W = () => {
|
|
5163
|
+
if (!D) return F(!1);
|
|
5164
|
+
M.current.setAttribute("shake", !0), setTimeout(() => {
|
|
5165
|
+
M.current.setAttribute("shake", !1);
|
|
5164
5166
|
}, 1e3);
|
|
5165
5167
|
};
|
|
5166
5168
|
return p ? /* @__PURE__ */ H.jsxs("div", { className: `${ie.modal}`, children: [
|
|
5167
|
-
/* @__PURE__ */ H.jsx("div", { className: ie.o, onClick:
|
|
5169
|
+
/* @__PURE__ */ H.jsx("div", { className: ie.o, onClick: W }),
|
|
5168
5170
|
/* @__PURE__ */ H.jsxs(
|
|
5169
5171
|
"div",
|
|
5170
5172
|
{
|
|
5171
|
-
className: [ie.w, ie[`s${
|
|
5172
|
-
ref:
|
|
5173
|
+
className: [ie.w, ie[`s${I}`], Y].filter((B) => B != "").join(" "),
|
|
5174
|
+
ref: M,
|
|
5173
5175
|
children: [
|
|
5174
5176
|
/* @__PURE__ */ H.jsxs("div", { className: ie.h, children: [
|
|
5175
5177
|
/* @__PURE__ */ H.jsx("div", { className: ie.t, children: o }),
|
|
5176
5178
|
/* @__PURE__ */ H.jsxs("div", { className: ie.m, children: [
|
|
5177
|
-
S && /* @__PURE__ */ H.jsx("nav", { children: S.map((
|
|
5179
|
+
S && /* @__PURE__ */ H.jsx("nav", { children: S.map((B, U) => /* @__PURE__ */ H.jsx(
|
|
5178
5180
|
"span",
|
|
5179
5181
|
{
|
|
5180
|
-
onClick:
|
|
5181
|
-
className:
|
|
5182
|
-
children:
|
|
5182
|
+
onClick: B.onClick,
|
|
5183
|
+
className: B.active ? "active" : "",
|
|
5184
|
+
children: B.name
|
|
5183
5185
|
},
|
|
5184
|
-
|
|
5186
|
+
U
|
|
5185
5187
|
)) }),
|
|
5186
5188
|
R
|
|
5187
5189
|
] }),
|
|
@@ -5205,14 +5207,14 @@ var Rt;
|
|
|
5205
5207
|
}
|
|
5206
5208
|
)
|
|
5207
5209
|
] }),
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5210
|
+
c,
|
|
5211
|
+
b && /* @__PURE__ */ H.jsx("div", { className: ie.b, children: /* @__PURE__ */ H.jsx(
|
|
5212
|
+
un,
|
|
5211
5213
|
{
|
|
5212
|
-
label:
|
|
5214
|
+
label: b.label,
|
|
5213
5215
|
onSend: K,
|
|
5214
5216
|
className: ie.btn,
|
|
5215
|
-
size:
|
|
5217
|
+
size: b.size
|
|
5216
5218
|
}
|
|
5217
5219
|
) })
|
|
5218
5220
|
]
|
|
@@ -5220,13 +5222,13 @@ var Rt;
|
|
|
5220
5222
|
)
|
|
5221
5223
|
] }) : "";
|
|
5222
5224
|
}
|
|
5223
|
-
|
|
5225
|
+
n.Main = h;
|
|
5224
5226
|
})(Rt || (Rt = {}));
|
|
5225
|
-
const
|
|
5226
|
-
function
|
|
5227
|
-
value:
|
|
5227
|
+
const fn = (n, _ = ",") => (n = n !== void 0 && n !== "" ? n.split(_) : [], n.filter((u) => u !== "").reduce((u, d) => (u[d] = !0, u), {}));
|
|
5228
|
+
function Tn({
|
|
5229
|
+
value: n,
|
|
5228
5230
|
onValue: _,
|
|
5229
|
-
name:
|
|
5231
|
+
name: u,
|
|
5230
5232
|
placeholder: d = "",
|
|
5231
5233
|
separator: v = ",",
|
|
5232
5234
|
title: C,
|
|
@@ -5235,42 +5237,42 @@ function Oa({
|
|
|
5235
5237
|
edit: s = !0,
|
|
5236
5238
|
active: h = !0,
|
|
5237
5239
|
outFormat: o = "object",
|
|
5238
|
-
after:
|
|
5239
|
-
modal:
|
|
5240
|
+
after: c = "",
|
|
5241
|
+
modal: b,
|
|
5240
5242
|
options: S,
|
|
5241
|
-
className:
|
|
5243
|
+
className: I
|
|
5242
5244
|
}) {
|
|
5243
|
-
const [
|
|
5244
|
-
if (!(s && h) || !
|
|
5245
|
-
let F =
|
|
5245
|
+
const [Y, D] = q.useState(fn(n, v)), R = (p) => {
|
|
5246
|
+
if (!(s && h) || !b) return;
|
|
5247
|
+
let F = b.split(".");
|
|
5246
5248
|
Rt.Open(F[0], F[1], {
|
|
5247
|
-
callback: (
|
|
5249
|
+
callback: (M) => {
|
|
5248
5250
|
if (_)
|
|
5249
5251
|
switch (o) {
|
|
5250
5252
|
case "array":
|
|
5251
|
-
_({ value: Object.keys(
|
|
5253
|
+
_({ value: Object.keys(M), name: u });
|
|
5252
5254
|
break;
|
|
5253
5255
|
case "string":
|
|
5254
5256
|
_({
|
|
5255
|
-
value: Object.keys(
|
|
5256
|
-
name:
|
|
5257
|
+
value: Object.keys(M).filter((K) => M[K]).join(v),
|
|
5258
|
+
name: u
|
|
5257
5259
|
});
|
|
5258
5260
|
break;
|
|
5259
5261
|
default:
|
|
5260
|
-
_({ value:
|
|
5262
|
+
_({ value: M, name: u });
|
|
5261
5263
|
}
|
|
5262
|
-
|
|
5264
|
+
D(
|
|
5263
5265
|
Object.fromEntries(
|
|
5264
|
-
Object.entries(
|
|
5265
|
-
([K,
|
|
5266
|
+
Object.entries(M).filter(
|
|
5267
|
+
([K, W]) => W !== !1
|
|
5266
5268
|
)
|
|
5267
5269
|
)
|
|
5268
5270
|
);
|
|
5269
5271
|
},
|
|
5270
5272
|
onValue: _,
|
|
5271
5273
|
options: S,
|
|
5272
|
-
name:
|
|
5273
|
-
value:
|
|
5274
|
+
name: u,
|
|
5275
|
+
value: Y
|
|
5274
5276
|
});
|
|
5275
5277
|
};
|
|
5276
5278
|
return x ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
@@ -5278,29 +5280,29 @@ function Oa({
|
|
|
5278
5280
|
{
|
|
5279
5281
|
type: "group",
|
|
5280
5282
|
title: C,
|
|
5281
|
-
element_blok: { className: [
|
|
5283
|
+
element_blok: { className: [I] },
|
|
5282
5284
|
element_input: {
|
|
5283
5285
|
className: [_e.g],
|
|
5284
5286
|
props: {
|
|
5285
5287
|
onClick: R
|
|
5286
5288
|
}
|
|
5287
5289
|
},
|
|
5288
|
-
children: Object.keys(
|
|
5290
|
+
children: Object.keys(Y).map((p) => {
|
|
5289
5291
|
var F;
|
|
5290
5292
|
return /* @__PURE__ */ g.jsx("div", { children: (F = S[p]) == null ? void 0 : F.label }, p);
|
|
5291
5293
|
})
|
|
5292
5294
|
}
|
|
5293
5295
|
);
|
|
5294
5296
|
}
|
|
5295
|
-
const
|
|
5296
|
-
o:
|
|
5297
|
-
l:
|
|
5298
|
-
f:
|
|
5297
|
+
const pn = "_o_1wehm_12", mn = "_l_1wehm_22", yn = "_f_1wehm_81", Ft = {
|
|
5298
|
+
o: pn,
|
|
5299
|
+
l: mn,
|
|
5300
|
+
f: yn
|
|
5299
5301
|
};
|
|
5300
|
-
function
|
|
5301
|
-
title:
|
|
5302
|
+
function Dn({
|
|
5303
|
+
title: n,
|
|
5302
5304
|
error: _,
|
|
5303
|
-
edit:
|
|
5305
|
+
edit: u = !0,
|
|
5304
5306
|
active: d = !0,
|
|
5305
5307
|
hide: v,
|
|
5306
5308
|
value: C = 0,
|
|
@@ -5309,48 +5311,48 @@ function Ta({
|
|
|
5309
5311
|
placeholder: s = "",
|
|
5310
5312
|
className: h,
|
|
5311
5313
|
isIcon: o = !0,
|
|
5312
|
-
name:
|
|
5313
|
-
after:
|
|
5314
|
+
name: c,
|
|
5315
|
+
after: b,
|
|
5314
5316
|
view: S,
|
|
5315
|
-
order:
|
|
5316
|
-
isReload:
|
|
5317
|
+
order: I,
|
|
5318
|
+
isReload: Y = !1
|
|
5317
5319
|
}) {
|
|
5318
|
-
var G,
|
|
5319
|
-
const
|
|
5320
|
-
|
|
5321
|
-
p(C),
|
|
5322
|
-
}, [C, x]), v = !!(v && (C === 0 || ((G = F == null ? void 0 : F[C]) == null ? void 0 : G.n) === void 0)) && !(
|
|
5323
|
-
|
|
5324
|
-
p(y), E && E({ value: y, name:
|
|
5325
|
-
},
|
|
5326
|
-
Object.keys(F || {}).length !== 0 &&
|
|
5320
|
+
var G, k;
|
|
5321
|
+
const D = q.useRef(null), [R, p] = q.useState(C), [F, M] = q.useState(x), [K, W] = q.useState(!1);
|
|
5322
|
+
q.useEffect(() => {
|
|
5323
|
+
p(C), M(x);
|
|
5324
|
+
}, [C, x]), v = !!(v && (C === 0 || ((G = F == null ? void 0 : F[C]) == null ? void 0 : G.n) === void 0)) && !(u && d);
|
|
5325
|
+
const U = (y) => {
|
|
5326
|
+
p(y), E && E({ value: y, name: c, reload: Y });
|
|
5327
|
+
}, P = (y) => {
|
|
5328
|
+
Object.keys(F || {}).length !== 0 && u && d && (D.position = D.current.getBoundingClientRect(), W(!0));
|
|
5327
5329
|
}, N = {};
|
|
5328
5330
|
return s && (N.placeholder = s), v ? "" : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5329
5331
|
/* @__PURE__ */ g.jsx(
|
|
5330
5332
|
Be,
|
|
5331
5333
|
{
|
|
5332
5334
|
type: "select",
|
|
5333
|
-
title:
|
|
5335
|
+
title: n,
|
|
5334
5336
|
element_blok: { className: [h] },
|
|
5335
5337
|
element_input: {
|
|
5336
5338
|
className: [Ft.f],
|
|
5337
|
-
props: { onClick:
|
|
5339
|
+
props: { onClick: P }
|
|
5338
5340
|
},
|
|
5339
|
-
ref:
|
|
5340
|
-
children: /* @__PURE__ */ g.jsx("div", { ...N, children: (
|
|
5341
|
+
ref: D,
|
|
5342
|
+
children: /* @__PURE__ */ g.jsx("div", { ...N, children: (k = F == null ? void 0 : F[R]) == null ? void 0 : k.n })
|
|
5341
5343
|
}
|
|
5342
5344
|
),
|
|
5343
5345
|
K && Mt(
|
|
5344
5346
|
/* @__PURE__ */ g.jsx(
|
|
5345
|
-
|
|
5347
|
+
vn,
|
|
5346
5348
|
{
|
|
5347
|
-
parent:
|
|
5348
|
-
onValue:
|
|
5349
|
+
parent: D.position,
|
|
5350
|
+
onValue: U,
|
|
5349
5351
|
view: S,
|
|
5350
5352
|
className: h,
|
|
5351
5353
|
options: F,
|
|
5352
|
-
order:
|
|
5353
|
-
setOpen:
|
|
5354
|
+
order: I,
|
|
5355
|
+
setOpen: W
|
|
5354
5356
|
},
|
|
5355
5357
|
(/* @__PURE__ */ new Date()).getTime()
|
|
5356
5358
|
),
|
|
@@ -5358,10 +5360,10 @@ function Ta({
|
|
|
5358
5360
|
)
|
|
5359
5361
|
] });
|
|
5360
5362
|
}
|
|
5361
|
-
const
|
|
5362
|
-
onValue:
|
|
5363
|
+
const vn = ({
|
|
5364
|
+
onValue: n,
|
|
5363
5365
|
parent: _,
|
|
5364
|
-
className:
|
|
5366
|
+
className: u,
|
|
5365
5367
|
options: d,
|
|
5366
5368
|
order: v,
|
|
5367
5369
|
setOpen: C
|
|
@@ -5369,7 +5371,7 @@ const ya = ({
|
|
|
5369
5371
|
let E = () => {
|
|
5370
5372
|
C(!1);
|
|
5371
5373
|
}, x = (o) => {
|
|
5372
|
-
C(!1),
|
|
5374
|
+
C(!1), n(o);
|
|
5373
5375
|
}, s = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, h = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
|
|
5374
5376
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
5375
5377
|
/* @__PURE__ */ g.jsx(
|
|
@@ -5383,22 +5385,22 @@ const ya = ({
|
|
|
5383
5385
|
/* @__PURE__ */ g.jsx(
|
|
5384
5386
|
"div",
|
|
5385
5387
|
{
|
|
5386
|
-
className: [Ft.l,
|
|
5388
|
+
className: [Ft.l, u].filter((o) => o !== void 0).join(" "),
|
|
5387
5389
|
style: {
|
|
5388
5390
|
top: s + "px",
|
|
5389
5391
|
left: h + "px",
|
|
5390
5392
|
width: _.width
|
|
5391
5393
|
},
|
|
5392
|
-
children: /* @__PURE__ */ g.jsx(
|
|
5394
|
+
children: /* @__PURE__ */ g.jsx(gn, { order: v, options: d, link: x })
|
|
5393
5395
|
}
|
|
5394
5396
|
)
|
|
5395
5397
|
] });
|
|
5396
|
-
},
|
|
5398
|
+
}, gn = ({ order: n, options: _, link: u }) => n ? /* @__PURE__ */ g.jsx("ul", { children: n.map(
|
|
5397
5399
|
(d, v) => _[d].s !== 0 ? /* @__PURE__ */ g.jsx(
|
|
5398
5400
|
"li",
|
|
5399
5401
|
{
|
|
5400
5402
|
onClick: () => {
|
|
5401
|
-
|
|
5403
|
+
u(d);
|
|
5402
5404
|
},
|
|
5403
5405
|
children: _[d].n
|
|
5404
5406
|
},
|
|
@@ -5409,17 +5411,17 @@ const ya = ({
|
|
|
5409
5411
|
"li",
|
|
5410
5412
|
{
|
|
5411
5413
|
onClick: () => {
|
|
5412
|
-
|
|
5414
|
+
u(d);
|
|
5413
5415
|
},
|
|
5414
5416
|
children: _[d].n
|
|
5415
5417
|
},
|
|
5416
5418
|
v
|
|
5417
5419
|
) : ""
|
|
5418
5420
|
) });
|
|
5419
|
-
function
|
|
5420
|
-
value:
|
|
5421
|
+
function Pn({
|
|
5422
|
+
value: n,
|
|
5421
5423
|
onValue: _,
|
|
5422
|
-
name:
|
|
5424
|
+
name: u,
|
|
5423
5425
|
placeholder: d = "",
|
|
5424
5426
|
title: v,
|
|
5425
5427
|
error: C,
|
|
@@ -5428,23 +5430,23 @@ function Da({
|
|
|
5428
5430
|
show: s = !0,
|
|
5429
5431
|
active: h = !0,
|
|
5430
5432
|
after: o = "",
|
|
5431
|
-
view:
|
|
5432
|
-
modal:
|
|
5433
|
+
view: c,
|
|
5434
|
+
modal: b,
|
|
5433
5435
|
module: S,
|
|
5434
|
-
options:
|
|
5435
|
-
className:
|
|
5436
|
+
options: I,
|
|
5437
|
+
className: Y
|
|
5436
5438
|
}) {
|
|
5437
|
-
const [
|
|
5438
|
-
if (!(x && h) || !
|
|
5439
|
-
let K =
|
|
5439
|
+
const [D, R] = q.useState(n), p = (M) => {
|
|
5440
|
+
if (!(x && h) || !b) return;
|
|
5441
|
+
let K = b.split(".");
|
|
5440
5442
|
Rt.Open(K[0], K[1], {
|
|
5441
|
-
callback: (
|
|
5442
|
-
_ && _({ value:
|
|
5443
|
+
callback: (W) => {
|
|
5444
|
+
_ && _({ value: W, name: u }), R(W);
|
|
5443
5445
|
},
|
|
5444
5446
|
onValue: _,
|
|
5445
|
-
options:
|
|
5446
|
-
name:
|
|
5447
|
-
value:
|
|
5447
|
+
options: I,
|
|
5448
|
+
name: u,
|
|
5449
|
+
value: n
|
|
5448
5450
|
});
|
|
5449
5451
|
}, F = {};
|
|
5450
5452
|
return d && (F.placeholder = d), E ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
|
|
@@ -5452,19 +5454,19 @@ function Da({
|
|
|
5452
5454
|
{
|
|
5453
5455
|
type: "input",
|
|
5454
5456
|
title: v,
|
|
5455
|
-
element_blok: { className: [
|
|
5457
|
+
element_blok: { className: [Y] },
|
|
5456
5458
|
element_input: {
|
|
5457
5459
|
className: [_e.w],
|
|
5458
5460
|
props: { onClick: p }
|
|
5459
5461
|
},
|
|
5460
|
-
children: /* @__PURE__ */ g.jsx("div", { ...F, children:
|
|
5462
|
+
children: /* @__PURE__ */ g.jsx("div", { ...F, children: D })
|
|
5461
5463
|
}
|
|
5462
5464
|
);
|
|
5463
5465
|
}
|
|
5464
|
-
function
|
|
5465
|
-
value:
|
|
5466
|
+
function Nn({
|
|
5467
|
+
value: n,
|
|
5466
5468
|
onValue: _,
|
|
5467
|
-
onSave:
|
|
5469
|
+
onSave: u,
|
|
5468
5470
|
name: d,
|
|
5469
5471
|
placeholder: v = "",
|
|
5470
5472
|
className: C,
|
|
@@ -5473,65 +5475,65 @@ function Pa({
|
|
|
5473
5475
|
edit: s = !0,
|
|
5474
5476
|
active: h = !0,
|
|
5475
5477
|
reload: o = !1,
|
|
5476
|
-
native:
|
|
5477
|
-
isShow:
|
|
5478
|
+
native: c = !1,
|
|
5479
|
+
isShow: b = !1,
|
|
5478
5480
|
maxLength: S,
|
|
5479
|
-
eyes:
|
|
5480
|
-
after:
|
|
5481
|
+
eyes: I = [],
|
|
5482
|
+
after: Y = ""
|
|
5481
5483
|
}) {
|
|
5482
|
-
const [
|
|
5483
|
-
let p = (
|
|
5484
|
+
const [D, R] = q.useState(b);
|
|
5485
|
+
let p = (U) => {
|
|
5484
5486
|
_ && _({
|
|
5485
|
-
value:
|
|
5487
|
+
value: U.target.textContent,
|
|
5486
5488
|
name: d,
|
|
5487
5489
|
reload: o
|
|
5488
5490
|
});
|
|
5489
|
-
}, F = (
|
|
5490
|
-
|
|
5491
|
-
},
|
|
5492
|
-
|
|
5491
|
+
}, F = (U) => {
|
|
5492
|
+
U.key === "Enter" && U.preventDefault();
|
|
5493
|
+
}, M = (U) => {
|
|
5494
|
+
U.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
5493
5495
|
if (S) {
|
|
5494
|
-
let N =
|
|
5496
|
+
let N = U.target.textContent.length;
|
|
5495
5497
|
if (N >= S) return;
|
|
5496
|
-
S -= N,
|
|
5498
|
+
S -= N, P = P.slice(0, S);
|
|
5497
5499
|
}
|
|
5498
5500
|
window.document.execCommand(
|
|
5499
5501
|
"insertText",
|
|
5500
5502
|
!1,
|
|
5501
|
-
|
|
5503
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
5502
5504
|
);
|
|
5503
|
-
}).catch((
|
|
5505
|
+
}).catch((P) => {
|
|
5504
5506
|
});
|
|
5505
|
-
}, K = (
|
|
5506
|
-
ee.Blur(
|
|
5507
|
+
}, K = (U) => {
|
|
5508
|
+
ee.Blur(U), u == null || u({ value: U.target.textContent.trim(), name: d });
|
|
5507
5509
|
};
|
|
5508
|
-
const
|
|
5509
|
-
|
|
5510
|
-
const
|
|
5511
|
-
return v && (
|
|
5510
|
+
const W = {};
|
|
5511
|
+
W.field = "password", D && (W.show = ""), C && (W.className = C);
|
|
5512
|
+
const B = {};
|
|
5513
|
+
return v && (B.placeholder = v), c ? "" : /* @__PURE__ */ g.jsxs("dl", { ...W, children: [
|
|
5512
5514
|
E ? /* @__PURE__ */ g.jsx("dt", { children: E }) : "",
|
|
5513
5515
|
/* @__PURE__ */ g.jsx(
|
|
5514
5516
|
"dd",
|
|
5515
5517
|
{
|
|
5516
|
-
onPaste:
|
|
5518
|
+
onPaste: M,
|
|
5517
5519
|
onInput: p,
|
|
5518
5520
|
onKeyDown: F,
|
|
5519
5521
|
onBlur: K,
|
|
5520
5522
|
contentEditable: s && h ? ee.ContentEditable : "false",
|
|
5521
|
-
...
|
|
5523
|
+
...B,
|
|
5522
5524
|
suppressContentEditableWarning: !0,
|
|
5523
|
-
children:
|
|
5525
|
+
children: n
|
|
5524
5526
|
}
|
|
5525
5527
|
),
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
+
I[0] && /* @__PURE__ */ g.jsx("i", { onClick: () => R(!D), children: D ? I[1] : I[0] }),
|
|
5529
|
+
Y,
|
|
5528
5530
|
x ? /* @__PURE__ */ g.jsx("em", { children: x }) : ""
|
|
5529
5531
|
] });
|
|
5530
5532
|
}
|
|
5531
|
-
function
|
|
5532
|
-
onValue:
|
|
5533
|
+
function Fn({
|
|
5534
|
+
onValue: n,
|
|
5533
5535
|
label: _,
|
|
5534
|
-
value:
|
|
5536
|
+
value: u,
|
|
5535
5537
|
title: d,
|
|
5536
5538
|
className: v,
|
|
5537
5539
|
name: C,
|
|
@@ -5539,12 +5541,12 @@ function Na({
|
|
|
5539
5541
|
id: x,
|
|
5540
5542
|
reload: s
|
|
5541
5543
|
}) {
|
|
5542
|
-
const [h, o] =
|
|
5543
|
-
|
|
5544
|
-
o(!!
|
|
5545
|
-
}, [
|
|
5546
|
-
let
|
|
5547
|
-
|
|
5544
|
+
const [h, o] = q.useState(!!u);
|
|
5545
|
+
q.useEffect(() => {
|
|
5546
|
+
o(!!u);
|
|
5547
|
+
}, [u]);
|
|
5548
|
+
let c = () => {
|
|
5549
|
+
n && n({ value: h ? 0 : 1, name: C, id: x, reload: s }), o(!h);
|
|
5548
5550
|
};
|
|
5549
5551
|
return /* @__PURE__ */ g.jsxs(
|
|
5550
5552
|
Be,
|
|
@@ -5555,7 +5557,7 @@ function Na({
|
|
|
5555
5557
|
element_input: {
|
|
5556
5558
|
className: [_e.h],
|
|
5557
5559
|
props: {
|
|
5558
|
-
onClick:
|
|
5560
|
+
onClick: c
|
|
5559
5561
|
}
|
|
5560
5562
|
},
|
|
5561
5563
|
children: [
|
|
@@ -5566,32 +5568,32 @@ function Na({
|
|
|
5566
5568
|
);
|
|
5567
5569
|
}
|
|
5568
5570
|
const he = {};
|
|
5569
|
-
function
|
|
5570
|
-
const [_,
|
|
5571
|
+
function In(n) {
|
|
5572
|
+
const [_, u] = q.useState({}), d = q.useRef(n);
|
|
5571
5573
|
return he.u = (v) => {
|
|
5572
5574
|
d.current = { ...d.current, [v.name]: v.value };
|
|
5573
5575
|
}, he.n = (v) => {
|
|
5574
|
-
d.current = v,
|
|
5576
|
+
d.current = v, u(Date.now());
|
|
5575
5577
|
}, he.r = (v) => {
|
|
5576
|
-
v && v(d.current),
|
|
5578
|
+
v && v(d.current), u(Date.now());
|
|
5577
5579
|
}, [d.current, he.n];
|
|
5578
5580
|
}
|
|
5579
|
-
function
|
|
5580
|
-
he.u(
|
|
5581
|
+
function Mn(n) {
|
|
5582
|
+
he.u(n), n.reload && he.r();
|
|
5581
5583
|
}
|
|
5582
|
-
function
|
|
5583
|
-
he.r && he.r(
|
|
5584
|
+
function $n(n) {
|
|
5585
|
+
he.r && he.r(n);
|
|
5584
5586
|
}
|
|
5585
|
-
function
|
|
5586
|
-
const [_,
|
|
5587
|
+
function An(n) {
|
|
5588
|
+
const [_, u] = q.useState({}), d = q.useRef(n);
|
|
5587
5589
|
return he.u = (v) => {
|
|
5588
5590
|
d.current = { ...d.current, [v.name]: v.value };
|
|
5589
5591
|
}, he.n = (v) => {
|
|
5590
5592
|
Object.keys(v).length > 0 ? Object.keys(v).forEach((C) => {
|
|
5591
5593
|
d.current[C] = v[C];
|
|
5592
|
-
}) : d.current = {},
|
|
5594
|
+
}) : d.current = {}, u(Date.now());
|
|
5593
5595
|
}, he.r = () => {
|
|
5594
|
-
|
|
5596
|
+
u(Date.now());
|
|
5595
5597
|
}, [d.current, he.n];
|
|
5596
5598
|
}
|
|
5597
5599
|
function It() {
|
|
@@ -5600,22 +5602,22 @@ function It() {
|
|
|
5600
5602
|
It().elcrm || (It().elcrm = {});
|
|
5601
5603
|
Object.assign(It().elcrm, { form: Xt.version });
|
|
5602
5604
|
export {
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5605
|
+
Fn as Check,
|
|
5606
|
+
Cn as DateField,
|
|
5607
|
+
wn as Mask,
|
|
5608
|
+
Pn as ModalField,
|
|
5609
|
+
xn as Money,
|
|
5610
|
+
jn as Month,
|
|
5611
|
+
On as NumberField,
|
|
5612
|
+
Tn as OptionsField,
|
|
5613
|
+
Nn as PasswordField,
|
|
5614
|
+
Rn as PhoneField,
|
|
5615
|
+
kn as Progress,
|
|
5616
|
+
Dn as SelectField,
|
|
5617
|
+
En as StringField,
|
|
5618
|
+
Sn as TextareaField,
|
|
5619
|
+
$n as runReload,
|
|
5620
|
+
Mn as setValue,
|
|
5621
|
+
In as useData,
|
|
5622
|
+
An as useError
|
|
5621
5623
|
};
|