@elcrm/form 0.0.17 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -14
- package/dist/index.es.js +781 -793
- package/dist/index.umd.js +22 -22
- package/dist/src/lib/index.d.ts +14 -0
- package/package.json +1 -1
- /package/dist/{Captcha.d.ts → src/lib/Captcha.d.ts} +0 -0
- /package/dist/{Check.d.ts → src/lib/Check.d.ts} +0 -0
- /package/dist/{Code.d.ts → src/lib/Code.d.ts} +0 -0
- /package/dist/{Color.d.ts → src/lib/Color.d.ts} +0 -0
- /package/dist/{Date.d.ts → src/lib/Date.d.ts} +0 -0
- /package/dist/{Files.d.ts → src/lib/Files.d.ts} +0 -0
- /package/dist/{Generator.d.ts → src/lib/Generator.d.ts} +0 -0
- /package/dist/{Group.d.ts → src/lib/Group.d.ts} +0 -0
- /package/dist/{Image.d.ts → src/lib/Image.d.ts} +0 -0
- /package/dist/{Init.d.ts → src/lib/Init.d.ts} +0 -0
- /package/dist/{Input.d.ts → src/lib/Input.d.ts} +0 -0
- /package/dist/{Mask.d.ts → src/lib/Mask.d.ts} +0 -0
- /package/dist/{MaskPhone.d.ts → src/lib/MaskPhone.d.ts} +0 -0
- /package/dist/{Message.d.ts → src/lib/Message.d.ts} +0 -0
- /package/dist/{Modal.d.ts → src/lib/Modal.d.ts} +0 -0
- /package/dist/{Money.d.ts → src/lib/Money.d.ts} +0 -0
- /package/dist/{Month.d.ts → src/lib/Month.d.ts} +0 -0
- /package/dist/{Note.d.ts → src/lib/Note.d.ts} +0 -0
- /package/dist/{Number.d.ts → src/lib/Number.d.ts} +0 -0
- /package/dist/{Options.d.ts → src/lib/Options.d.ts} +0 -0
- /package/dist/{Palette.d.ts → src/lib/Palette.d.ts} +0 -0
- /package/dist/{Password.d.ts → src/lib/Password.d.ts} +0 -0
- /package/dist/{Phone.d.ts → src/lib/Phone.d.ts} +0 -0
- /package/dist/{Progress.d.ts → src/lib/Progress.d.ts} +0 -0
- /package/dist/{Rating.d.ts → src/lib/Rating.d.ts} +0 -0
- /package/dist/{Select.d.ts → src/lib/Select.d.ts} +0 -0
- /package/dist/{Switch.d.ts → src/lib/Switch.d.ts} +0 -0
- /package/dist/{Textarea.d.ts → src/lib/Textarea.d.ts} +0 -0
- /package/dist/{Toogle.d.ts → src/lib/Toogle.d.ts} +0 -0
- /package/dist/{Users.d.ts → src/lib/Users.d.ts} +0 -0
- /package/dist/{_Button.d.ts → src/lib/_Button.d.ts} +0 -0
- /package/dist/{_Set.d.ts → src/lib/_Set.d.ts} +0 -0
- /package/dist/{_Time.d.ts → src/lib/_Time.d.ts} +0 -0
- /package/dist/{interfaface.d.ts → src/lib/interfaface.d.ts} +0 -0
- /package/dist/{onEvent.d.ts → src/lib/onEvent.d.ts} +0 -0
- /package/dist/{use.d.ts → src/lib/use.d.ts} +0 -0
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import K, { useEffect as
|
|
2
|
-
import { createPortal as
|
|
3
|
-
import './index.css';
|
|
1
|
+
import K, { useEffect as Ht } from "react";
|
|
2
|
+
import { createPortal as It } from "react-dom";
|
|
3
|
+
import './index.css';const Jt = "0.0.19", Zt = {
|
|
4
|
+
version: Jt
|
|
5
|
+
};
|
|
6
|
+
var Tt = { exports: {} }, mt = {};
|
|
4
7
|
/**
|
|
5
8
|
* @license React
|
|
6
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,11 +13,11 @@ import './index.css';var Tt = { exports: {} }, mt = {};
|
|
|
10
13
|
* This source code is licensed under the MIT license found in the
|
|
11
14
|
* LICENSE file in the root directory of this source tree.
|
|
12
15
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
|
|
17
|
-
var
|
|
16
|
+
var Mt;
|
|
17
|
+
function Vt() {
|
|
18
|
+
if (Mt) return mt;
|
|
19
|
+
Mt = 1;
|
|
20
|
+
var n = K, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, g = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
21
|
function O(x, s, h) {
|
|
19
22
|
var o, d = {}, k = null, S = null;
|
|
20
23
|
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
@@ -34,27 +37,27 @@ var pt = {};
|
|
|
34
37
|
* This source code is licensed under the MIT license found in the
|
|
35
38
|
* LICENSE file in the root directory of this source tree.
|
|
36
39
|
*/
|
|
37
|
-
var
|
|
38
|
-
function
|
|
39
|
-
return
|
|
40
|
-
var
|
|
41
|
-
function
|
|
40
|
+
var $t;
|
|
41
|
+
function Xt() {
|
|
42
|
+
return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var n = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = 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"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
44
|
+
function $(e) {
|
|
42
45
|
if (e === null || typeof e != "object")
|
|
43
46
|
return null;
|
|
44
|
-
var t =
|
|
47
|
+
var t = N && e[N] || e[A];
|
|
45
48
|
return typeof t == "function" ? t : null;
|
|
46
49
|
}
|
|
47
|
-
var T =
|
|
50
|
+
var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
51
|
function p(e) {
|
|
49
52
|
{
|
|
50
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
51
|
-
r[
|
|
52
|
-
|
|
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
|
+
I("error", e, r);
|
|
53
56
|
}
|
|
54
57
|
}
|
|
55
|
-
function
|
|
58
|
+
function I(e, t, r) {
|
|
56
59
|
{
|
|
57
|
-
var
|
|
60
|
+
var a = T.ReactDebugCurrentFrame, m = a.getStackAddendum();
|
|
58
61
|
m !== "" && (t += "%s", r = r.concat([m]));
|
|
59
62
|
var y = r.map(function(l) {
|
|
60
63
|
return String(l);
|
|
@@ -62,19 +65,19 @@ function Jt() {
|
|
|
62
65
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
63
66
|
}
|
|
64
67
|
}
|
|
65
|
-
var
|
|
66
|
-
|
|
68
|
+
var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
|
|
69
|
+
P = Symbol.for("react.module.reference");
|
|
67
70
|
function W(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C ||
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === g || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
69
72
|
// types supported by any Flight configuration anywhere since
|
|
70
73
|
// we don't know which Flight build this will end up being used
|
|
71
74
|
// with.
|
|
72
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
73
76
|
}
|
|
74
77
|
function R(e, t, r) {
|
|
75
|
-
var
|
|
76
|
-
if (
|
|
77
|
-
return
|
|
78
|
+
var a = e.displayName;
|
|
79
|
+
if (a)
|
|
80
|
+
return a;
|
|
78
81
|
var m = t.displayName || t.name || "";
|
|
79
82
|
return m !== "" ? r + "(" + m + ")" : r;
|
|
80
83
|
}
|
|
@@ -113,8 +116,8 @@ function Jt() {
|
|
|
113
116
|
case s:
|
|
114
117
|
return R(e, e.render, "ForwardRef");
|
|
115
118
|
case d:
|
|
116
|
-
var
|
|
117
|
-
return
|
|
119
|
+
var a = e.displayName || null;
|
|
120
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
118
121
|
case k: {
|
|
119
122
|
var m = e, y = m._payload, l = m._init;
|
|
120
123
|
try {
|
|
@@ -195,27 +198,27 @@ function Jt() {
|
|
|
195
198
|
try {
|
|
196
199
|
throw Error();
|
|
197
200
|
} catch (m) {
|
|
198
|
-
var
|
|
199
|
-
ce =
|
|
201
|
+
var a = m.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ce = a && a[1] || "";
|
|
200
203
|
}
|
|
201
204
|
return `
|
|
202
205
|
` + ce + e;
|
|
203
206
|
}
|
|
204
207
|
}
|
|
205
|
-
var ue = !1,
|
|
208
|
+
var ue = !1, ae;
|
|
206
209
|
{
|
|
207
210
|
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
-
|
|
211
|
+
ae = new Ue();
|
|
209
212
|
}
|
|
210
213
|
function je(e, t) {
|
|
211
214
|
if (!e || ue)
|
|
212
215
|
return "";
|
|
213
216
|
{
|
|
214
|
-
var r =
|
|
217
|
+
var r = ae.get(e);
|
|
215
218
|
if (r !== void 0)
|
|
216
219
|
return r;
|
|
217
220
|
}
|
|
218
|
-
var
|
|
221
|
+
var a;
|
|
219
222
|
ue = !0;
|
|
220
223
|
var m = Error.prepareStackTrace;
|
|
221
224
|
Error.prepareStackTrace = void 0;
|
|
@@ -234,14 +237,14 @@ function Jt() {
|
|
|
234
237
|
try {
|
|
235
238
|
Reflect.construct(l, []);
|
|
236
239
|
} catch (F) {
|
|
237
|
-
|
|
240
|
+
a = F;
|
|
238
241
|
}
|
|
239
242
|
Reflect.construct(e, [], l);
|
|
240
243
|
} else {
|
|
241
244
|
try {
|
|
242
245
|
l.call();
|
|
243
246
|
} catch (F) {
|
|
244
|
-
|
|
247
|
+
a = F;
|
|
245
248
|
}
|
|
246
249
|
e.call(l.prototype);
|
|
247
250
|
}
|
|
@@ -249,14 +252,14 @@ function Jt() {
|
|
|
249
252
|
try {
|
|
250
253
|
throw Error();
|
|
251
254
|
} catch (F) {
|
|
252
|
-
|
|
255
|
+
a = F;
|
|
253
256
|
}
|
|
254
257
|
e();
|
|
255
258
|
}
|
|
256
259
|
} catch (F) {
|
|
257
|
-
if (F &&
|
|
260
|
+
if (F && a && typeof F.stack == "string") {
|
|
258
261
|
for (var i = F.stack.split(`
|
|
259
|
-
`), D =
|
|
262
|
+
`), D = a.stack.split(`
|
|
260
263
|
`), w = i.length - 1, j = D.length - 1; w >= 1 && j >= 0 && i[w] !== D[j]; )
|
|
261
264
|
j--;
|
|
262
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -266,7 +269,7 @@ function Jt() {
|
|
|
266
269
|
if (w--, j--, j < 0 || i[w] !== D[j]) {
|
|
267
270
|
var B = `
|
|
268
271
|
` + i[w].replace(" at new ", " at ");
|
|
269
|
-
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
272
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
270
273
|
}
|
|
271
274
|
while (w >= 1 && j >= 0);
|
|
272
275
|
break;
|
|
@@ -276,7 +279,7 @@ function Jt() {
|
|
|
276
279
|
ue = !1, le.current = y, We(), Error.prepareStackTrace = m;
|
|
277
280
|
}
|
|
278
281
|
var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
|
|
279
|
-
return typeof e == "function" &&
|
|
282
|
+
return typeof e == "function" && ae.set(e, H), H;
|
|
280
283
|
}
|
|
281
284
|
function Ke(e, t, r) {
|
|
282
285
|
return je(e, !1);
|
|
@@ -285,7 +288,7 @@ function Jt() {
|
|
|
285
288
|
var t = e.prototype;
|
|
286
289
|
return !!(t && t.isReactComponent);
|
|
287
290
|
}
|
|
288
|
-
function
|
|
291
|
+
function ne(e, t, r) {
|
|
289
292
|
if (e == null)
|
|
290
293
|
return "";
|
|
291
294
|
if (typeof e == "function")
|
|
@@ -303,11 +306,11 @@ function Jt() {
|
|
|
303
306
|
case s:
|
|
304
307
|
return Ke(e.render);
|
|
305
308
|
case d:
|
|
306
|
-
return
|
|
309
|
+
return ne(e.type, t, r);
|
|
307
310
|
case k: {
|
|
308
|
-
var
|
|
311
|
+
var a = e, m = a._payload, y = a._init;
|
|
309
312
|
try {
|
|
310
|
-
return
|
|
313
|
+
return ne(y(m), t, r);
|
|
311
314
|
} catch {
|
|
312
315
|
}
|
|
313
316
|
}
|
|
@@ -317,12 +320,12 @@ function Jt() {
|
|
|
317
320
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = T.ReactDebugCurrentFrame;
|
|
318
321
|
function oe(e) {
|
|
319
322
|
if (e) {
|
|
320
|
-
var t = e._owner, r =
|
|
323
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
321
324
|
Ce.setExtraStackFrame(r);
|
|
322
325
|
} else
|
|
323
326
|
Ce.setExtraStackFrame(null);
|
|
324
327
|
}
|
|
325
|
-
function Ye(e, t, r,
|
|
328
|
+
function Ye(e, t, r, a, m) {
|
|
326
329
|
{
|
|
327
330
|
var y = Function.call.bind(X);
|
|
328
331
|
for (var l in e)
|
|
@@ -330,14 +333,14 @@ function Jt() {
|
|
|
330
333
|
var i = void 0;
|
|
331
334
|
try {
|
|
332
335
|
if (typeof e[l] != "function") {
|
|
333
|
-
var D = Error((
|
|
336
|
+
var D = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
337
|
throw D.name = "Invariant Violation", D;
|
|
335
338
|
}
|
|
336
|
-
i = e[l](t, l,
|
|
339
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
340
|
} catch (w) {
|
|
338
341
|
i = w;
|
|
339
342
|
}
|
|
340
|
-
i && !(i instanceof Error) && (oe(m), 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).",
|
|
343
|
+
i && !(i instanceof Error) && (oe(m), 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), oe(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, oe(m), p("Failed %s type: %s", r, i.message), oe(null));
|
|
341
344
|
}
|
|
342
345
|
}
|
|
343
346
|
}
|
|
@@ -412,7 +415,7 @@ function Jt() {
|
|
|
412
415
|
});
|
|
413
416
|
}
|
|
414
417
|
}
|
|
415
|
-
var tt = function(e, t, r,
|
|
418
|
+
var tt = function(e, t, r, a, m, y, l) {
|
|
416
419
|
var i = {
|
|
417
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
421
|
$$typeof: _,
|
|
@@ -433,7 +436,7 @@ function Jt() {
|
|
|
433
436
|
configurable: !1,
|
|
434
437
|
enumerable: !1,
|
|
435
438
|
writable: !1,
|
|
436
|
-
value:
|
|
439
|
+
value: a
|
|
437
440
|
}), Object.defineProperty(i, "_source", {
|
|
438
441
|
configurable: !1,
|
|
439
442
|
enumerable: !1,
|
|
@@ -441,7 +444,7 @@ function Jt() {
|
|
|
441
444
|
value: m
|
|
442
445
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
443
446
|
};
|
|
444
|
-
function rt(e, t, r,
|
|
447
|
+
function rt(e, t, r, a, m) {
|
|
445
448
|
{
|
|
446
449
|
var y, l = {}, i = null, D = null;
|
|
447
450
|
r !== void 0 && (Re(r), i = "" + r), Ve(t) && (Re(t.key), i = "" + t.key), Ze(t) && (D = t.ref, Xe(t, m));
|
|
@@ -456,13 +459,13 @@ function Jt() {
|
|
|
456
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
460
|
i && Qe(l, j), D && et(l, j);
|
|
458
461
|
}
|
|
459
|
-
return tt(e, i, D, m,
|
|
462
|
+
return tt(e, i, D, m, a, Ee.current, l);
|
|
460
463
|
}
|
|
461
464
|
}
|
|
462
465
|
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
463
466
|
function Z(e) {
|
|
464
467
|
if (e) {
|
|
465
|
-
var t = e._owner, r =
|
|
468
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
466
469
|
De.setExtraStackFrame(r);
|
|
467
470
|
} else
|
|
468
471
|
De.setExtraStackFrame(null);
|
|
@@ -484,11 +487,11 @@ Check the render method of \`` + e + "`.";
|
|
|
484
487
|
return "";
|
|
485
488
|
}
|
|
486
489
|
}
|
|
487
|
-
function
|
|
490
|
+
function at(e) {
|
|
488
491
|
return "";
|
|
489
492
|
}
|
|
490
493
|
var Ne = {};
|
|
491
|
-
function
|
|
494
|
+
function nt(e) {
|
|
492
495
|
{
|
|
493
496
|
var t = Pe();
|
|
494
497
|
if (!t) {
|
|
@@ -505,12 +508,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
505
508
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
509
|
return;
|
|
507
510
|
e._store.validated = !0;
|
|
508
|
-
var r =
|
|
511
|
+
var r = nt(t);
|
|
509
512
|
if (Ne[r])
|
|
510
513
|
return;
|
|
511
514
|
Ne[r] = !0;
|
|
512
|
-
var
|
|
513
|
-
e && e._owner && e._owner !== fe.current && (
|
|
515
|
+
var a = "";
|
|
516
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), Z(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), Z(null);
|
|
514
517
|
}
|
|
515
518
|
}
|
|
516
519
|
function Ie(e, t) {
|
|
@@ -519,13 +522,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
519
522
|
return;
|
|
520
523
|
if (de(e))
|
|
521
524
|
for (var r = 0; r < e.length; r++) {
|
|
522
|
-
var
|
|
523
|
-
pe(
|
|
525
|
+
var a = e[r];
|
|
526
|
+
pe(a) && Fe(a, t);
|
|
524
527
|
}
|
|
525
528
|
else if (pe(e))
|
|
526
529
|
e._store && (e._store.validated = !0);
|
|
527
530
|
else if (e) {
|
|
528
|
-
var m =
|
|
531
|
+
var m = $(e);
|
|
529
532
|
if (typeof m == "function" && m !== e.entries)
|
|
530
533
|
for (var y = m.call(e), l; !(l = y.next()).done; )
|
|
531
534
|
pe(l.value) && Fe(l.value, t);
|
|
@@ -547,8 +550,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
547
550
|
else
|
|
548
551
|
return;
|
|
549
552
|
if (r) {
|
|
550
|
-
var
|
|
551
|
-
Ye(r, e.props, "prop",
|
|
553
|
+
var a = b(t);
|
|
554
|
+
Ye(r, e.props, "prop", a, e);
|
|
552
555
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
553
556
|
me = !0;
|
|
554
557
|
var m = b(t);
|
|
@@ -560,9 +563,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
560
563
|
function it(e) {
|
|
561
564
|
{
|
|
562
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
563
|
-
var
|
|
564
|
-
if (
|
|
565
|
-
Z(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
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
|
|
566
569
|
break;
|
|
567
570
|
}
|
|
568
571
|
}
|
|
@@ -570,13 +573,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
570
573
|
}
|
|
571
574
|
}
|
|
572
575
|
var Me = {};
|
|
573
|
-
function $e(e, t, r,
|
|
576
|
+
function $e(e, t, r, a, m, y) {
|
|
574
577
|
{
|
|
575
578
|
var l = W(e);
|
|
576
579
|
if (!l) {
|
|
577
580
|
var i = "";
|
|
578
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.");
|
|
579
|
-
var D =
|
|
582
|
+
var D = at();
|
|
580
583
|
D ? i += D : i += Pe();
|
|
581
584
|
var w;
|
|
582
585
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (b(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);
|
|
@@ -587,7 +590,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
587
590
|
if (l) {
|
|
588
591
|
var B = t.children;
|
|
589
592
|
if (B !== void 0)
|
|
590
|
-
if (
|
|
593
|
+
if (a)
|
|
591
594
|
if (de(B)) {
|
|
592
595
|
for (var V = 0; V < B.length; V++)
|
|
593
596
|
Ie(B[V], e);
|
|
@@ -624,9 +627,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
627
|
pt.Fragment = u, pt.jsx = lt, pt.jsxs = ct;
|
|
625
628
|
}()), pt;
|
|
626
629
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ? Tt.exports =
|
|
630
|
+
process.env.NODE_ENV === "production" ? Tt.exports = Vt() : Tt.exports = Xt();
|
|
628
631
|
var f = Tt.exports;
|
|
629
|
-
function
|
|
632
|
+
function va({ name: n, value: _, title: c, style: u, className: g }) {
|
|
630
633
|
let C = {
|
|
631
634
|
field: "progress"
|
|
632
635
|
};
|
|
@@ -636,21 +639,21 @@ function pn({ name: a, value: _, title: c, style: u, className: g }) {
|
|
|
636
639
|
] });
|
|
637
640
|
}
|
|
638
641
|
let te = {};
|
|
639
|
-
te.KeyDown = (
|
|
640
|
-
|
|
642
|
+
te.KeyDown = (n) => {
|
|
643
|
+
n.key === "Enter" && n.preventDefault();
|
|
641
644
|
};
|
|
642
|
-
te.PasteOne = (
|
|
643
|
-
|
|
645
|
+
te.PasteOne = (n) => {
|
|
646
|
+
n.preventDefault(), navigator.clipboard.readText().then((_) => {
|
|
644
647
|
_ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
|
|
645
648
|
}).catch((_) => {
|
|
646
649
|
});
|
|
647
650
|
};
|
|
648
|
-
te.Paste = (
|
|
651
|
+
te.Paste = (n, _) => {
|
|
649
652
|
_.preventDefault(), navigator.clipboard.readText().then((c) => {
|
|
650
|
-
if (
|
|
653
|
+
if (n) {
|
|
651
654
|
let u = _.target.textContent.length;
|
|
652
|
-
if (u >=
|
|
653
|
-
|
|
655
|
+
if (u >= n) return;
|
|
656
|
+
n -= u, c = c.slice(0, n);
|
|
654
657
|
}
|
|
655
658
|
window.document.execCommand(
|
|
656
659
|
"insertText",
|
|
@@ -660,11 +663,11 @@ te.Paste = (a, _) => {
|
|
|
660
663
|
}).catch((c) => {
|
|
661
664
|
});
|
|
662
665
|
};
|
|
663
|
-
te.Focus = (
|
|
664
|
-
|
|
666
|
+
te.Focus = (n) => {
|
|
667
|
+
n.target.textContent.length === 0 && (n.target.innerHTML = "<br>");
|
|
665
668
|
};
|
|
666
|
-
te.Blur = (
|
|
667
|
-
|
|
669
|
+
te.Blur = (n) => {
|
|
670
|
+
n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
|
|
668
671
|
};
|
|
669
672
|
te.ContentEditable = "plaintext-only";
|
|
670
673
|
var Dt = { exports: {} }, yt = {};
|
|
@@ -677,11 +680,11 @@ var Dt = { exports: {} }, yt = {};
|
|
|
677
680
|
* This source code is licensed under the MIT license found in the
|
|
678
681
|
* LICENSE file in the root directory of this source tree.
|
|
679
682
|
*/
|
|
680
|
-
var
|
|
681
|
-
function
|
|
682
|
-
if (
|
|
683
|
-
|
|
684
|
-
var
|
|
683
|
+
var At;
|
|
684
|
+
function Qt() {
|
|
685
|
+
if (At) return yt;
|
|
686
|
+
At = 1;
|
|
687
|
+
var n = K, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, g = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
685
688
|
function O(x, s, h) {
|
|
686
689
|
var o, d = {}, k = null, S = null;
|
|
687
690
|
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
@@ -691,7 +694,7 @@ function Zt() {
|
|
|
691
694
|
}
|
|
692
695
|
return yt.Fragment = c, yt.jsx = O, yt.jsxs = O, yt;
|
|
693
696
|
}
|
|
694
|
-
var
|
|
697
|
+
var bt = {};
|
|
695
698
|
/**
|
|
696
699
|
* @license React
|
|
697
700
|
* react-jsx-runtime.development.js
|
|
@@ -701,27 +704,27 @@ var kt = {};
|
|
|
701
704
|
* This source code is licensed under the MIT license found in the
|
|
702
705
|
* LICENSE file in the root directory of this source tree.
|
|
703
706
|
*/
|
|
704
|
-
var
|
|
705
|
-
function
|
|
706
|
-
return
|
|
707
|
-
var
|
|
708
|
-
function
|
|
707
|
+
var Bt;
|
|
708
|
+
function er() {
|
|
709
|
+
return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
710
|
+
var n = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = 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"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
711
|
+
function $(e) {
|
|
709
712
|
if (e === null || typeof e != "object")
|
|
710
713
|
return null;
|
|
711
|
-
var t =
|
|
714
|
+
var t = N && e[N] || e[A];
|
|
712
715
|
return typeof t == "function" ? t : null;
|
|
713
716
|
}
|
|
714
|
-
var T =
|
|
717
|
+
var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
715
718
|
function p(e) {
|
|
716
719
|
{
|
|
717
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
718
|
-
r[
|
|
719
|
-
|
|
720
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
721
|
+
r[a - 1] = arguments[a];
|
|
722
|
+
I("error", e, r);
|
|
720
723
|
}
|
|
721
724
|
}
|
|
722
|
-
function
|
|
725
|
+
function I(e, t, r) {
|
|
723
726
|
{
|
|
724
|
-
var
|
|
727
|
+
var a = T.ReactDebugCurrentFrame, m = a.getStackAddendum();
|
|
725
728
|
m !== "" && (t += "%s", r = r.concat([m]));
|
|
726
729
|
var y = r.map(function(l) {
|
|
727
730
|
return String(l);
|
|
@@ -729,19 +732,19 @@ function Vt() {
|
|
|
729
732
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
730
733
|
}
|
|
731
734
|
}
|
|
732
|
-
var
|
|
733
|
-
|
|
735
|
+
var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
|
|
736
|
+
P = Symbol.for("react.module.reference");
|
|
734
737
|
function W(e) {
|
|
735
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C ||
|
|
738
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === g || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
736
739
|
// types supported by any Flight configuration anywhere since
|
|
737
740
|
// we don't know which Flight build this will end up being used
|
|
738
741
|
// with.
|
|
739
|
-
e.$$typeof ===
|
|
742
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
740
743
|
}
|
|
741
744
|
function R(e, t, r) {
|
|
742
|
-
var
|
|
743
|
-
if (
|
|
744
|
-
return
|
|
745
|
+
var a = e.displayName;
|
|
746
|
+
if (a)
|
|
747
|
+
return a;
|
|
745
748
|
var m = t.displayName || t.name || "";
|
|
746
749
|
return m !== "" ? r + "(" + m + ")" : r;
|
|
747
750
|
}
|
|
@@ -780,8 +783,8 @@ function Vt() {
|
|
|
780
783
|
case s:
|
|
781
784
|
return R(e, e.render, "ForwardRef");
|
|
782
785
|
case d:
|
|
783
|
-
var
|
|
784
|
-
return
|
|
786
|
+
var a = e.displayName || null;
|
|
787
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
785
788
|
case k: {
|
|
786
789
|
var m = e, y = m._payload, l = m._init;
|
|
787
790
|
try {
|
|
@@ -862,27 +865,27 @@ function Vt() {
|
|
|
862
865
|
try {
|
|
863
866
|
throw Error();
|
|
864
867
|
} catch (m) {
|
|
865
|
-
var
|
|
866
|
-
ce =
|
|
868
|
+
var a = m.stack.trim().match(/\n( *(at )?)/);
|
|
869
|
+
ce = a && a[1] || "";
|
|
867
870
|
}
|
|
868
871
|
return `
|
|
869
872
|
` + ce + e;
|
|
870
873
|
}
|
|
871
874
|
}
|
|
872
|
-
var ue = !1,
|
|
875
|
+
var ue = !1, ae;
|
|
873
876
|
{
|
|
874
877
|
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
875
|
-
|
|
878
|
+
ae = new Ue();
|
|
876
879
|
}
|
|
877
880
|
function je(e, t) {
|
|
878
881
|
if (!e || ue)
|
|
879
882
|
return "";
|
|
880
883
|
{
|
|
881
|
-
var r =
|
|
884
|
+
var r = ae.get(e);
|
|
882
885
|
if (r !== void 0)
|
|
883
886
|
return r;
|
|
884
887
|
}
|
|
885
|
-
var
|
|
888
|
+
var a;
|
|
886
889
|
ue = !0;
|
|
887
890
|
var m = Error.prepareStackTrace;
|
|
888
891
|
Error.prepareStackTrace = void 0;
|
|
@@ -901,14 +904,14 @@ function Vt() {
|
|
|
901
904
|
try {
|
|
902
905
|
Reflect.construct(l, []);
|
|
903
906
|
} catch (F) {
|
|
904
|
-
|
|
907
|
+
a = F;
|
|
905
908
|
}
|
|
906
909
|
Reflect.construct(e, [], l);
|
|
907
910
|
} else {
|
|
908
911
|
try {
|
|
909
912
|
l.call();
|
|
910
913
|
} catch (F) {
|
|
911
|
-
|
|
914
|
+
a = F;
|
|
912
915
|
}
|
|
913
916
|
e.call(l.prototype);
|
|
914
917
|
}
|
|
@@ -916,14 +919,14 @@ function Vt() {
|
|
|
916
919
|
try {
|
|
917
920
|
throw Error();
|
|
918
921
|
} catch (F) {
|
|
919
|
-
|
|
922
|
+
a = F;
|
|
920
923
|
}
|
|
921
924
|
e();
|
|
922
925
|
}
|
|
923
926
|
} catch (F) {
|
|
924
|
-
if (F &&
|
|
927
|
+
if (F && a && typeof F.stack == "string") {
|
|
925
928
|
for (var i = F.stack.split(`
|
|
926
|
-
`), D =
|
|
929
|
+
`), D = a.stack.split(`
|
|
927
930
|
`), w = i.length - 1, j = D.length - 1; w >= 1 && j >= 0 && i[w] !== D[j]; )
|
|
928
931
|
j--;
|
|
929
932
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -933,7 +936,7 @@ function Vt() {
|
|
|
933
936
|
if (w--, j--, j < 0 || i[w] !== D[j]) {
|
|
934
937
|
var B = `
|
|
935
938
|
` + i[w].replace(" at new ", " at ");
|
|
936
|
-
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
939
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
937
940
|
}
|
|
938
941
|
while (w >= 1 && j >= 0);
|
|
939
942
|
break;
|
|
@@ -943,7 +946,7 @@ function Vt() {
|
|
|
943
946
|
ue = !1, le.current = y, We(), Error.prepareStackTrace = m;
|
|
944
947
|
}
|
|
945
948
|
var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
|
|
946
|
-
return typeof e == "function" &&
|
|
949
|
+
return typeof e == "function" && ae.set(e, H), H;
|
|
947
950
|
}
|
|
948
951
|
function Ke(e, t, r) {
|
|
949
952
|
return je(e, !1);
|
|
@@ -952,7 +955,7 @@ function Vt() {
|
|
|
952
955
|
var t = e.prototype;
|
|
953
956
|
return !!(t && t.isReactComponent);
|
|
954
957
|
}
|
|
955
|
-
function
|
|
958
|
+
function ne(e, t, r) {
|
|
956
959
|
if (e == null)
|
|
957
960
|
return "";
|
|
958
961
|
if (typeof e == "function")
|
|
@@ -970,11 +973,11 @@ function Vt() {
|
|
|
970
973
|
case s:
|
|
971
974
|
return Ke(e.render);
|
|
972
975
|
case d:
|
|
973
|
-
return
|
|
976
|
+
return ne(e.type, t, r);
|
|
974
977
|
case k: {
|
|
975
|
-
var
|
|
978
|
+
var a = e, m = a._payload, y = a._init;
|
|
976
979
|
try {
|
|
977
|
-
return
|
|
980
|
+
return ne(y(m), t, r);
|
|
978
981
|
} catch {
|
|
979
982
|
}
|
|
980
983
|
}
|
|
@@ -984,12 +987,12 @@ function Vt() {
|
|
|
984
987
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = T.ReactDebugCurrentFrame;
|
|
985
988
|
function oe(e) {
|
|
986
989
|
if (e) {
|
|
987
|
-
var t = e._owner, r =
|
|
990
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
988
991
|
Ce.setExtraStackFrame(r);
|
|
989
992
|
} else
|
|
990
993
|
Ce.setExtraStackFrame(null);
|
|
991
994
|
}
|
|
992
|
-
function Ye(e, t, r,
|
|
995
|
+
function Ye(e, t, r, a, m) {
|
|
993
996
|
{
|
|
994
997
|
var y = Function.call.bind(X);
|
|
995
998
|
for (var l in e)
|
|
@@ -997,14 +1000,14 @@ function Vt() {
|
|
|
997
1000
|
var i = void 0;
|
|
998
1001
|
try {
|
|
999
1002
|
if (typeof e[l] != "function") {
|
|
1000
|
-
var D = Error((
|
|
1003
|
+
var D = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1001
1004
|
throw D.name = "Invariant Violation", D;
|
|
1002
1005
|
}
|
|
1003
|
-
i = e[l](t, l,
|
|
1006
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1004
1007
|
} catch (w) {
|
|
1005
1008
|
i = w;
|
|
1006
1009
|
}
|
|
1007
|
-
i && !(i instanceof Error) && (oe(m), 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).",
|
|
1010
|
+
i && !(i instanceof Error) && (oe(m), 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), oe(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, oe(m), p("Failed %s type: %s", r, i.message), oe(null));
|
|
1008
1011
|
}
|
|
1009
1012
|
}
|
|
1010
1013
|
}
|
|
@@ -1079,7 +1082,7 @@ function Vt() {
|
|
|
1079
1082
|
});
|
|
1080
1083
|
}
|
|
1081
1084
|
}
|
|
1082
|
-
var tt = function(e, t, r,
|
|
1085
|
+
var tt = function(e, t, r, a, m, y, l) {
|
|
1083
1086
|
var i = {
|
|
1084
1087
|
// This tag allows us to uniquely identify this as a React Element
|
|
1085
1088
|
$$typeof: _,
|
|
@@ -1100,7 +1103,7 @@ function Vt() {
|
|
|
1100
1103
|
configurable: !1,
|
|
1101
1104
|
enumerable: !1,
|
|
1102
1105
|
writable: !1,
|
|
1103
|
-
value:
|
|
1106
|
+
value: a
|
|
1104
1107
|
}), Object.defineProperty(i, "_source", {
|
|
1105
1108
|
configurable: !1,
|
|
1106
1109
|
enumerable: !1,
|
|
@@ -1108,7 +1111,7 @@ function Vt() {
|
|
|
1108
1111
|
value: m
|
|
1109
1112
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
1110
1113
|
};
|
|
1111
|
-
function rt(e, t, r,
|
|
1114
|
+
function rt(e, t, r, a, m) {
|
|
1112
1115
|
{
|
|
1113
1116
|
var y, l = {}, i = null, D = null;
|
|
1114
1117
|
r !== void 0 && (Re(r), i = "" + r), Ve(t) && (Re(t.key), i = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
@@ -1123,13 +1126,13 @@ function Vt() {
|
|
|
1123
1126
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1124
1127
|
i && Qe(l, j), D && et(l, j);
|
|
1125
1128
|
}
|
|
1126
|
-
return tt(e, i, D, m,
|
|
1129
|
+
return tt(e, i, D, m, a, Ee.current, l);
|
|
1127
1130
|
}
|
|
1128
1131
|
}
|
|
1129
1132
|
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
1130
1133
|
function Z(e) {
|
|
1131
1134
|
if (e) {
|
|
1132
|
-
var t = e._owner, r =
|
|
1135
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1133
1136
|
De.setExtraStackFrame(r);
|
|
1134
1137
|
} else
|
|
1135
1138
|
De.setExtraStackFrame(null);
|
|
@@ -1151,11 +1154,11 @@ Check the render method of \`` + e + "`.";
|
|
|
1151
1154
|
return "";
|
|
1152
1155
|
}
|
|
1153
1156
|
}
|
|
1154
|
-
function
|
|
1157
|
+
function at(e) {
|
|
1155
1158
|
return "";
|
|
1156
1159
|
}
|
|
1157
1160
|
var Ne = {};
|
|
1158
|
-
function
|
|
1161
|
+
function nt(e) {
|
|
1159
1162
|
{
|
|
1160
1163
|
var t = Pe();
|
|
1161
1164
|
if (!t) {
|
|
@@ -1172,12 +1175,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1172
1175
|
if (!e._store || e._store.validated || e.key != null)
|
|
1173
1176
|
return;
|
|
1174
1177
|
e._store.validated = !0;
|
|
1175
|
-
var r =
|
|
1178
|
+
var r = nt(t);
|
|
1176
1179
|
if (Ne[r])
|
|
1177
1180
|
return;
|
|
1178
1181
|
Ne[r] = !0;
|
|
1179
|
-
var
|
|
1180
|
-
e && e._owner && e._owner !== fe.current && (
|
|
1182
|
+
var a = "";
|
|
1183
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), Z(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), Z(null);
|
|
1181
1184
|
}
|
|
1182
1185
|
}
|
|
1183
1186
|
function Ie(e, t) {
|
|
@@ -1186,13 +1189,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1186
1189
|
return;
|
|
1187
1190
|
if (de(e))
|
|
1188
1191
|
for (var r = 0; r < e.length; r++) {
|
|
1189
|
-
var
|
|
1190
|
-
pe(
|
|
1192
|
+
var a = e[r];
|
|
1193
|
+
pe(a) && Fe(a, t);
|
|
1191
1194
|
}
|
|
1192
1195
|
else if (pe(e))
|
|
1193
1196
|
e._store && (e._store.validated = !0);
|
|
1194
1197
|
else if (e) {
|
|
1195
|
-
var m =
|
|
1198
|
+
var m = $(e);
|
|
1196
1199
|
if (typeof m == "function" && m !== e.entries)
|
|
1197
1200
|
for (var y = m.call(e), l; !(l = y.next()).done; )
|
|
1198
1201
|
pe(l.value) && Fe(l.value, t);
|
|
@@ -1214,8 +1217,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1214
1217
|
else
|
|
1215
1218
|
return;
|
|
1216
1219
|
if (r) {
|
|
1217
|
-
var
|
|
1218
|
-
Ye(r, e.props, "prop",
|
|
1220
|
+
var a = b(t);
|
|
1221
|
+
Ye(r, e.props, "prop", a, e);
|
|
1219
1222
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
1220
1223
|
me = !0;
|
|
1221
1224
|
var m = b(t);
|
|
@@ -1227,9 +1230,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1227
1230
|
function it(e) {
|
|
1228
1231
|
{
|
|
1229
1232
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1230
|
-
var
|
|
1231
|
-
if (
|
|
1232
|
-
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
1233
|
+
var a = t[r];
|
|
1234
|
+
if (a !== "children" && a !== "key") {
|
|
1235
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
|
|
1233
1236
|
break;
|
|
1234
1237
|
}
|
|
1235
1238
|
}
|
|
@@ -1237,13 +1240,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1237
1240
|
}
|
|
1238
1241
|
}
|
|
1239
1242
|
var Me = {};
|
|
1240
|
-
function $e(e, t, r,
|
|
1243
|
+
function $e(e, t, r, a, m, y) {
|
|
1241
1244
|
{
|
|
1242
1245
|
var l = W(e);
|
|
1243
1246
|
if (!l) {
|
|
1244
1247
|
var i = "";
|
|
1245
1248
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1246
|
-
var D =
|
|
1249
|
+
var D = at();
|
|
1247
1250
|
D ? i += D : i += Pe();
|
|
1248
1251
|
var w;
|
|
1249
1252
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (b(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);
|
|
@@ -1254,7 +1257,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1254
1257
|
if (l) {
|
|
1255
1258
|
var B = t.children;
|
|
1256
1259
|
if (B !== void 0)
|
|
1257
|
-
if (
|
|
1260
|
+
if (a)
|
|
1258
1261
|
if (de(B)) {
|
|
1259
1262
|
for (var V = 0; V < B.length; V++)
|
|
1260
1263
|
Ie(B[V], e);
|
|
@@ -1288,32 +1291,32 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1288
1291
|
return $e(e, t, r, !1);
|
|
1289
1292
|
}
|
|
1290
1293
|
var lt = st, ct = _t;
|
|
1291
|
-
|
|
1292
|
-
}()),
|
|
1294
|
+
bt.Fragment = u, bt.jsx = lt, bt.jsxs = ct;
|
|
1295
|
+
}()), bt;
|
|
1293
1296
|
}
|
|
1294
|
-
process.env.NODE_ENV === "production" ? Dt.exports =
|
|
1297
|
+
process.env.NODE_ENV === "production" ? Dt.exports = Qt() : Dt.exports = er();
|
|
1295
1298
|
var ee = Dt.exports;
|
|
1296
|
-
const
|
|
1297
|
-
notice:
|
|
1298
|
-
error:
|
|
1299
|
-
success:
|
|
1300
|
-
remark:
|
|
1301
|
-
copy:
|
|
1299
|
+
const tr = "_notice_13j98_2", rr = "_error_13j98_11", ar = "_success_13j98_14", nr = "_remark_13j98_17", or = "_copy_13j98_20", zt = {
|
|
1300
|
+
notice: tr,
|
|
1301
|
+
error: rr,
|
|
1302
|
+
success: ar,
|
|
1303
|
+
remark: nr,
|
|
1304
|
+
copy: or,
|
|
1302
1305
|
"show-notice": "_show-notice_13j98_1",
|
|
1303
1306
|
"hide-notice": "_hide-notice_13j98_1"
|
|
1304
1307
|
};
|
|
1305
1308
|
let Be = {};
|
|
1306
|
-
function vt({ data:
|
|
1309
|
+
function vt({ data: n }) {
|
|
1307
1310
|
let [_, c] = K.useState("show");
|
|
1308
1311
|
K.useEffect(() => {
|
|
1309
|
-
|
|
1312
|
+
n.hide && (setTimeout(function() {
|
|
1310
1313
|
c("hide");
|
|
1311
1314
|
}, 1800), setTimeout(function() {
|
|
1312
|
-
Be.del(
|
|
1315
|
+
Be.del(n.key);
|
|
1313
1316
|
}, 2500));
|
|
1314
|
-
}, [
|
|
1317
|
+
}, [n.key]);
|
|
1315
1318
|
let u, g;
|
|
1316
|
-
switch (
|
|
1319
|
+
switch (n.type) {
|
|
1317
1320
|
case "error":
|
|
1318
1321
|
u = /* @__PURE__ */ ee.jsx(ft.error, {}), g = "Ошибка:";
|
|
1319
1322
|
break;
|
|
@@ -1330,21 +1333,21 @@ function vt({ data: a }) {
|
|
|
1330
1333
|
u = /* @__PURE__ */ ee.jsx(ft.success, {}), g = "Предупреждение:";
|
|
1331
1334
|
break;
|
|
1332
1335
|
}
|
|
1333
|
-
return /* @__PURE__ */ ee.jsxs("li", { className:
|
|
1336
|
+
return /* @__PURE__ */ ee.jsxs("li", { className: zt[n.type], "data-status": _, children: [
|
|
1334
1337
|
u,
|
|
1335
1338
|
/* @__PURE__ */ ee.jsx("b", { children: g }),
|
|
1336
|
-
/* @__PURE__ */ ee.jsx("p", { children:
|
|
1339
|
+
/* @__PURE__ */ ee.jsx("p", { children: n.text })
|
|
1337
1340
|
] });
|
|
1338
1341
|
}
|
|
1339
|
-
function
|
|
1342
|
+
function ir({ data: n }) {
|
|
1340
1343
|
let [_, c] = K.useState("show");
|
|
1341
1344
|
return K.useEffect(() => {
|
|
1342
|
-
|
|
1345
|
+
n.hide && (setTimeout(function() {
|
|
1343
1346
|
c("hide");
|
|
1344
1347
|
}, 1800), setTimeout(function() {
|
|
1345
|
-
Be.del(
|
|
1348
|
+
Be.del(n.key);
|
|
1346
1349
|
}, 2500));
|
|
1347
|
-
}, [
|
|
1350
|
+
}, [n.key]), /* @__PURE__ */ ee.jsx("li", { className: "item", "data-status": _, children: n.text });
|
|
1348
1351
|
}
|
|
1349
1352
|
const ft = {};
|
|
1350
1353
|
ft.error = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -1379,17 +1382,17 @@ ft.success = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill:
|
|
|
1379
1382
|
}
|
|
1380
1383
|
)
|
|
1381
1384
|
] });
|
|
1382
|
-
var
|
|
1383
|
-
((
|
|
1385
|
+
var xt;
|
|
1386
|
+
((n) => {
|
|
1384
1387
|
function _() {
|
|
1385
1388
|
let [s, h] = K.useState([]);
|
|
1386
1389
|
return Be.set = (o) => {
|
|
1387
1390
|
h([...s, o]);
|
|
1388
1391
|
}, Be.del = (o) => {
|
|
1389
1392
|
h(s.filter((d) => d.key !== o));
|
|
1390
|
-
}, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className:
|
|
1393
|
+
}, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: zt.notice, children: s.map((o) => o.item) });
|
|
1391
1394
|
}
|
|
1392
|
-
|
|
1395
|
+
n.Init = _;
|
|
1393
1396
|
function c(s, h = !0) {
|
|
1394
1397
|
let o = Date.now(), d = { key: o, text: s, hide: h, type: "error" };
|
|
1395
1398
|
Be.set({
|
|
@@ -1397,7 +1400,7 @@ var bt;
|
|
|
1397
1400
|
key: o
|
|
1398
1401
|
});
|
|
1399
1402
|
}
|
|
1400
|
-
|
|
1403
|
+
n.Error = c;
|
|
1401
1404
|
function u(s, h = !0) {
|
|
1402
1405
|
let o = Date.now(), d = { key: o, text: s, hide: h, type: "success" };
|
|
1403
1406
|
Be.set({
|
|
@@ -1405,12 +1408,12 @@ var bt;
|
|
|
1405
1408
|
key: o
|
|
1406
1409
|
});
|
|
1407
1410
|
}
|
|
1408
|
-
|
|
1411
|
+
n.Success = u;
|
|
1409
1412
|
function g(s, h = !0) {
|
|
1410
1413
|
let o = Date.now(), d = { key: o, hide: h, text: s };
|
|
1411
|
-
Be.set({ item: /* @__PURE__ */ ee.jsx(
|
|
1414
|
+
Be.set({ item: /* @__PURE__ */ ee.jsx(ir, { data: d }, o), key: o });
|
|
1412
1415
|
}
|
|
1413
|
-
|
|
1416
|
+
n.Custom = g;
|
|
1414
1417
|
function C(s) {
|
|
1415
1418
|
let h = Date.now(), o = { key: h, hide: !0, ...s };
|
|
1416
1419
|
Be.set({
|
|
@@ -1418,7 +1421,7 @@ var bt;
|
|
|
1418
1421
|
key: h
|
|
1419
1422
|
});
|
|
1420
1423
|
}
|
|
1421
|
-
|
|
1424
|
+
n.Send = C;
|
|
1422
1425
|
function O(s, h = !0) {
|
|
1423
1426
|
let o = Date.now(), d = { key: o, text: s, hide: h, type: "remark" };
|
|
1424
1427
|
Be.set({
|
|
@@ -1426,7 +1429,7 @@ var bt;
|
|
|
1426
1429
|
key: o
|
|
1427
1430
|
});
|
|
1428
1431
|
}
|
|
1429
|
-
|
|
1432
|
+
n.Remark = O;
|
|
1430
1433
|
function x(s, h = !0) {
|
|
1431
1434
|
let o = Date.now(), d = { key: o, text: s, hide: h, type: "copy" };
|
|
1432
1435
|
Be.set({
|
|
@@ -1434,17 +1437,17 @@ var bt;
|
|
|
1434
1437
|
key: o
|
|
1435
1438
|
});
|
|
1436
1439
|
}
|
|
1437
|
-
|
|
1438
|
-
})(
|
|
1439
|
-
const
|
|
1440
|
-
l:
|
|
1441
|
-
f:
|
|
1442
|
-
n:
|
|
1443
|
-
w:
|
|
1444
|
-
t:
|
|
1440
|
+
n.Copy = x;
|
|
1441
|
+
})(xt || (xt = {}));
|
|
1442
|
+
const _r = "_l_11fst_13", sr = "_f_11fst_20", lr = "_n_11fst_49", cr = "_w_11fst_62", ur = "_t_11fst_72", z = {
|
|
1443
|
+
l: _r,
|
|
1444
|
+
f: sr,
|
|
1445
|
+
n: lr,
|
|
1446
|
+
w: cr,
|
|
1447
|
+
t: ur
|
|
1445
1448
|
};
|
|
1446
|
-
function
|
|
1447
|
-
id:
|
|
1449
|
+
function ga({
|
|
1450
|
+
id: n,
|
|
1448
1451
|
value: _,
|
|
1449
1452
|
onValue: c,
|
|
1450
1453
|
name: u,
|
|
@@ -1458,45 +1461,45 @@ function yn({
|
|
|
1458
1461
|
before: d = "",
|
|
1459
1462
|
show: k = !0,
|
|
1460
1463
|
maxLength: S,
|
|
1461
|
-
onSave:
|
|
1464
|
+
onSave: N,
|
|
1462
1465
|
className: A = "",
|
|
1463
|
-
isCopy:
|
|
1466
|
+
isCopy: $ = !0,
|
|
1464
1467
|
isReload: T = !1
|
|
1465
1468
|
}) {
|
|
1466
|
-
let p = !!(x && (_ === "" || _ === void 0)),
|
|
1469
|
+
let p = !!(x && (_ === "" || _ === void 0)), I = (E) => {
|
|
1467
1470
|
c && c({
|
|
1468
|
-
value:
|
|
1471
|
+
value: E.target.textContent.trim(),
|
|
1469
1472
|
name: u,
|
|
1470
1473
|
reload: T
|
|
1471
1474
|
});
|
|
1472
|
-
},
|
|
1473
|
-
S &&
|
|
1474
|
-
},
|
|
1475
|
-
|
|
1475
|
+
}, q = (E) => {
|
|
1476
|
+
S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
1477
|
+
}, Y = (E) => {
|
|
1478
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
1476
1479
|
if (S) {
|
|
1477
|
-
let W =
|
|
1480
|
+
let W = E.target.textContent.length;
|
|
1478
1481
|
if (W >= S) return;
|
|
1479
|
-
S -= W,
|
|
1482
|
+
S -= W, P = P.slice(0, S);
|
|
1480
1483
|
}
|
|
1481
1484
|
window.document.execCommand(
|
|
1482
1485
|
"insertText",
|
|
1483
1486
|
!1,
|
|
1484
|
-
|
|
1487
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
1485
1488
|
);
|
|
1486
|
-
}).catch((
|
|
1489
|
+
}).catch((P) => {
|
|
1487
1490
|
});
|
|
1488
1491
|
};
|
|
1489
1492
|
if (!(s && h) && !k || !(s && h) && p) return "";
|
|
1490
1493
|
const L = {};
|
|
1491
1494
|
g && (L.placeholder = g), s && h && (L.edit = "");
|
|
1492
|
-
const U = (
|
|
1493
|
-
te.Blur(
|
|
1495
|
+
const U = (E) => {
|
|
1496
|
+
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
1494
1497
|
};
|
|
1495
1498
|
return /* @__PURE__ */ f.jsxs(
|
|
1496
1499
|
"dl",
|
|
1497
1500
|
{
|
|
1498
1501
|
"data-field": "input",
|
|
1499
|
-
className: [z.l, A].filter((
|
|
1502
|
+
className: [z.l, A].filter((E) => E !== void 0).join(" "),
|
|
1500
1503
|
children: [
|
|
1501
1504
|
C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
|
|
1502
1505
|
d,
|
|
@@ -1504,10 +1507,10 @@ function yn({
|
|
|
1504
1507
|
"dd",
|
|
1505
1508
|
{
|
|
1506
1509
|
className: [z.f, z.w].join(" "),
|
|
1507
|
-
onPaste:
|
|
1508
|
-
onInput:
|
|
1510
|
+
onPaste: Y,
|
|
1511
|
+
onInput: I,
|
|
1509
1512
|
onBlur: U,
|
|
1510
|
-
onKeyDown:
|
|
1513
|
+
onKeyDown: q,
|
|
1511
1514
|
spellCheck: "true",
|
|
1512
1515
|
contentEditable: s && h ? te.ContentEditable : "false",
|
|
1513
1516
|
suppressContentEditableWarning: !0,
|
|
@@ -1531,11 +1534,11 @@ var Pt = { exports: {} }, gt = {};
|
|
|
1531
1534
|
* This source code is licensed under the MIT license found in the
|
|
1532
1535
|
* LICENSE file in the root directory of this source tree.
|
|
1533
1536
|
*/
|
|
1534
|
-
var
|
|
1535
|
-
function
|
|
1536
|
-
if (
|
|
1537
|
-
|
|
1538
|
-
var
|
|
1537
|
+
var Lt;
|
|
1538
|
+
function dr() {
|
|
1539
|
+
if (Lt) return gt;
|
|
1540
|
+
Lt = 1;
|
|
1541
|
+
var n = K, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, g = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1539
1542
|
function O(x, s, h) {
|
|
1540
1543
|
var o, d = {}, k = null, S = null;
|
|
1541
1544
|
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
@@ -1545,7 +1548,7 @@ function lr() {
|
|
|
1545
1548
|
}
|
|
1546
1549
|
return gt.Fragment = c, gt.jsx = O, gt.jsxs = O, gt;
|
|
1547
1550
|
}
|
|
1548
|
-
var
|
|
1551
|
+
var kt = {};
|
|
1549
1552
|
/**
|
|
1550
1553
|
* @license React
|
|
1551
1554
|
* react-jsx-runtime.development.js
|
|
@@ -1555,27 +1558,27 @@ var wt = {};
|
|
|
1555
1558
|
* This source code is licensed under the MIT license found in the
|
|
1556
1559
|
* LICENSE file in the root directory of this source tree.
|
|
1557
1560
|
*/
|
|
1558
|
-
var
|
|
1559
|
-
function
|
|
1560
|
-
return
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1561
|
+
var Wt;
|
|
1562
|
+
function fr() {
|
|
1563
|
+
return Wt || (Wt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1564
|
+
var n = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = 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"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
1565
|
+
function $(e) {
|
|
1563
1566
|
if (e === null || typeof e != "object")
|
|
1564
1567
|
return null;
|
|
1565
|
-
var t =
|
|
1568
|
+
var t = N && e[N] || e[A];
|
|
1566
1569
|
return typeof t == "function" ? t : null;
|
|
1567
1570
|
}
|
|
1568
|
-
var T =
|
|
1571
|
+
var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1569
1572
|
function p(e) {
|
|
1570
1573
|
{
|
|
1571
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
1572
|
-
r[
|
|
1573
|
-
|
|
1574
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1575
|
+
r[a - 1] = arguments[a];
|
|
1576
|
+
I("error", e, r);
|
|
1574
1577
|
}
|
|
1575
1578
|
}
|
|
1576
|
-
function
|
|
1579
|
+
function I(e, t, r) {
|
|
1577
1580
|
{
|
|
1578
|
-
var
|
|
1581
|
+
var a = T.ReactDebugCurrentFrame, m = a.getStackAddendum();
|
|
1579
1582
|
m !== "" && (t += "%s", r = r.concat([m]));
|
|
1580
1583
|
var y = r.map(function(l) {
|
|
1581
1584
|
return String(l);
|
|
@@ -1583,19 +1586,19 @@ function cr() {
|
|
|
1583
1586
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
1584
1587
|
}
|
|
1585
1588
|
}
|
|
1586
|
-
var
|
|
1587
|
-
|
|
1589
|
+
var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
|
|
1590
|
+
P = Symbol.for("react.module.reference");
|
|
1588
1591
|
function W(e) {
|
|
1589
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C ||
|
|
1592
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === g || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1590
1593
|
// types supported by any Flight configuration anywhere since
|
|
1591
1594
|
// we don't know which Flight build this will end up being used
|
|
1592
1595
|
// with.
|
|
1593
|
-
e.$$typeof ===
|
|
1596
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
1594
1597
|
}
|
|
1595
1598
|
function R(e, t, r) {
|
|
1596
|
-
var
|
|
1597
|
-
if (
|
|
1598
|
-
return
|
|
1599
|
+
var a = e.displayName;
|
|
1600
|
+
if (a)
|
|
1601
|
+
return a;
|
|
1599
1602
|
var m = t.displayName || t.name || "";
|
|
1600
1603
|
return m !== "" ? r + "(" + m + ")" : r;
|
|
1601
1604
|
}
|
|
@@ -1634,8 +1637,8 @@ function cr() {
|
|
|
1634
1637
|
case s:
|
|
1635
1638
|
return R(e, e.render, "ForwardRef");
|
|
1636
1639
|
case d:
|
|
1637
|
-
var
|
|
1638
|
-
return
|
|
1640
|
+
var a = e.displayName || null;
|
|
1641
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
1639
1642
|
case k: {
|
|
1640
1643
|
var m = e, y = m._payload, l = m._init;
|
|
1641
1644
|
try {
|
|
@@ -1716,27 +1719,27 @@ function cr() {
|
|
|
1716
1719
|
try {
|
|
1717
1720
|
throw Error();
|
|
1718
1721
|
} catch (m) {
|
|
1719
|
-
var
|
|
1720
|
-
ce =
|
|
1722
|
+
var a = m.stack.trim().match(/\n( *(at )?)/);
|
|
1723
|
+
ce = a && a[1] || "";
|
|
1721
1724
|
}
|
|
1722
1725
|
return `
|
|
1723
1726
|
` + ce + e;
|
|
1724
1727
|
}
|
|
1725
1728
|
}
|
|
1726
|
-
var ue = !1,
|
|
1729
|
+
var ue = !1, ae;
|
|
1727
1730
|
{
|
|
1728
1731
|
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1729
|
-
|
|
1732
|
+
ae = new Ue();
|
|
1730
1733
|
}
|
|
1731
1734
|
function je(e, t) {
|
|
1732
1735
|
if (!e || ue)
|
|
1733
1736
|
return "";
|
|
1734
1737
|
{
|
|
1735
|
-
var r =
|
|
1738
|
+
var r = ae.get(e);
|
|
1736
1739
|
if (r !== void 0)
|
|
1737
1740
|
return r;
|
|
1738
1741
|
}
|
|
1739
|
-
var
|
|
1742
|
+
var a;
|
|
1740
1743
|
ue = !0;
|
|
1741
1744
|
var m = Error.prepareStackTrace;
|
|
1742
1745
|
Error.prepareStackTrace = void 0;
|
|
@@ -1755,14 +1758,14 @@ function cr() {
|
|
|
1755
1758
|
try {
|
|
1756
1759
|
Reflect.construct(l, []);
|
|
1757
1760
|
} catch (F) {
|
|
1758
|
-
|
|
1761
|
+
a = F;
|
|
1759
1762
|
}
|
|
1760
1763
|
Reflect.construct(e, [], l);
|
|
1761
1764
|
} else {
|
|
1762
1765
|
try {
|
|
1763
1766
|
l.call();
|
|
1764
1767
|
} catch (F) {
|
|
1765
|
-
|
|
1768
|
+
a = F;
|
|
1766
1769
|
}
|
|
1767
1770
|
e.call(l.prototype);
|
|
1768
1771
|
}
|
|
@@ -1770,14 +1773,14 @@ function cr() {
|
|
|
1770
1773
|
try {
|
|
1771
1774
|
throw Error();
|
|
1772
1775
|
} catch (F) {
|
|
1773
|
-
|
|
1776
|
+
a = F;
|
|
1774
1777
|
}
|
|
1775
1778
|
e();
|
|
1776
1779
|
}
|
|
1777
1780
|
} catch (F) {
|
|
1778
|
-
if (F &&
|
|
1781
|
+
if (F && a && typeof F.stack == "string") {
|
|
1779
1782
|
for (var i = F.stack.split(`
|
|
1780
|
-
`), D =
|
|
1783
|
+
`), D = a.stack.split(`
|
|
1781
1784
|
`), w = i.length - 1, j = D.length - 1; w >= 1 && j >= 0 && i[w] !== D[j]; )
|
|
1782
1785
|
j--;
|
|
1783
1786
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -1787,7 +1790,7 @@ function cr() {
|
|
|
1787
1790
|
if (w--, j--, j < 0 || i[w] !== D[j]) {
|
|
1788
1791
|
var B = `
|
|
1789
1792
|
` + i[w].replace(" at new ", " at ");
|
|
1790
|
-
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
1793
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
1791
1794
|
}
|
|
1792
1795
|
while (w >= 1 && j >= 0);
|
|
1793
1796
|
break;
|
|
@@ -1797,7 +1800,7 @@ function cr() {
|
|
|
1797
1800
|
ue = !1, le.current = y, We(), Error.prepareStackTrace = m;
|
|
1798
1801
|
}
|
|
1799
1802
|
var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
|
|
1800
|
-
return typeof e == "function" &&
|
|
1803
|
+
return typeof e == "function" && ae.set(e, H), H;
|
|
1801
1804
|
}
|
|
1802
1805
|
function Ke(e, t, r) {
|
|
1803
1806
|
return je(e, !1);
|
|
@@ -1806,7 +1809,7 @@ function cr() {
|
|
|
1806
1809
|
var t = e.prototype;
|
|
1807
1810
|
return !!(t && t.isReactComponent);
|
|
1808
1811
|
}
|
|
1809
|
-
function
|
|
1812
|
+
function ne(e, t, r) {
|
|
1810
1813
|
if (e == null)
|
|
1811
1814
|
return "";
|
|
1812
1815
|
if (typeof e == "function")
|
|
@@ -1824,11 +1827,11 @@ function cr() {
|
|
|
1824
1827
|
case s:
|
|
1825
1828
|
return Ke(e.render);
|
|
1826
1829
|
case d:
|
|
1827
|
-
return
|
|
1830
|
+
return ne(e.type, t, r);
|
|
1828
1831
|
case k: {
|
|
1829
|
-
var
|
|
1832
|
+
var a = e, m = a._payload, y = a._init;
|
|
1830
1833
|
try {
|
|
1831
|
-
return
|
|
1834
|
+
return ne(y(m), t, r);
|
|
1832
1835
|
} catch {
|
|
1833
1836
|
}
|
|
1834
1837
|
}
|
|
@@ -1838,12 +1841,12 @@ function cr() {
|
|
|
1838
1841
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = T.ReactDebugCurrentFrame;
|
|
1839
1842
|
function oe(e) {
|
|
1840
1843
|
if (e) {
|
|
1841
|
-
var t = e._owner, r =
|
|
1844
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1842
1845
|
Ce.setExtraStackFrame(r);
|
|
1843
1846
|
} else
|
|
1844
1847
|
Ce.setExtraStackFrame(null);
|
|
1845
1848
|
}
|
|
1846
|
-
function Ye(e, t, r,
|
|
1849
|
+
function Ye(e, t, r, a, m) {
|
|
1847
1850
|
{
|
|
1848
1851
|
var y = Function.call.bind(X);
|
|
1849
1852
|
for (var l in e)
|
|
@@ -1851,14 +1854,14 @@ function cr() {
|
|
|
1851
1854
|
var i = void 0;
|
|
1852
1855
|
try {
|
|
1853
1856
|
if (typeof e[l] != "function") {
|
|
1854
|
-
var D = Error((
|
|
1857
|
+
var D = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1855
1858
|
throw D.name = "Invariant Violation", D;
|
|
1856
1859
|
}
|
|
1857
|
-
i = e[l](t, l,
|
|
1860
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1858
1861
|
} catch (w) {
|
|
1859
1862
|
i = w;
|
|
1860
1863
|
}
|
|
1861
|
-
i && !(i instanceof Error) && (oe(m), 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).",
|
|
1864
|
+
i && !(i instanceof Error) && (oe(m), 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), oe(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, oe(m), p("Failed %s type: %s", r, i.message), oe(null));
|
|
1862
1865
|
}
|
|
1863
1866
|
}
|
|
1864
1867
|
}
|
|
@@ -1933,7 +1936,7 @@ function cr() {
|
|
|
1933
1936
|
});
|
|
1934
1937
|
}
|
|
1935
1938
|
}
|
|
1936
|
-
var tt = function(e, t, r,
|
|
1939
|
+
var tt = function(e, t, r, a, m, y, l) {
|
|
1937
1940
|
var i = {
|
|
1938
1941
|
// This tag allows us to uniquely identify this as a React Element
|
|
1939
1942
|
$$typeof: _,
|
|
@@ -1954,7 +1957,7 @@ function cr() {
|
|
|
1954
1957
|
configurable: !1,
|
|
1955
1958
|
enumerable: !1,
|
|
1956
1959
|
writable: !1,
|
|
1957
|
-
value:
|
|
1960
|
+
value: a
|
|
1958
1961
|
}), Object.defineProperty(i, "_source", {
|
|
1959
1962
|
configurable: !1,
|
|
1960
1963
|
enumerable: !1,
|
|
@@ -1962,7 +1965,7 @@ function cr() {
|
|
|
1962
1965
|
value: m
|
|
1963
1966
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
1964
1967
|
};
|
|
1965
|
-
function rt(e, t, r,
|
|
1968
|
+
function rt(e, t, r, a, m) {
|
|
1966
1969
|
{
|
|
1967
1970
|
var y, l = {}, i = null, D = null;
|
|
1968
1971
|
r !== void 0 && (Re(r), i = "" + r), Ve(t) && (Re(t.key), i = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
@@ -1977,13 +1980,13 @@ function cr() {
|
|
|
1977
1980
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1978
1981
|
i && Qe(l, j), D && et(l, j);
|
|
1979
1982
|
}
|
|
1980
|
-
return tt(e, i, D, m,
|
|
1983
|
+
return tt(e, i, D, m, a, Ee.current, l);
|
|
1981
1984
|
}
|
|
1982
1985
|
}
|
|
1983
1986
|
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
1984
1987
|
function Z(e) {
|
|
1985
1988
|
if (e) {
|
|
1986
|
-
var t = e._owner, r =
|
|
1989
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1987
1990
|
De.setExtraStackFrame(r);
|
|
1988
1991
|
} else
|
|
1989
1992
|
De.setExtraStackFrame(null);
|
|
@@ -2005,11 +2008,11 @@ Check the render method of \`` + e + "`.";
|
|
|
2005
2008
|
return "";
|
|
2006
2009
|
}
|
|
2007
2010
|
}
|
|
2008
|
-
function
|
|
2011
|
+
function at(e) {
|
|
2009
2012
|
return "";
|
|
2010
2013
|
}
|
|
2011
2014
|
var Ne = {};
|
|
2012
|
-
function
|
|
2015
|
+
function nt(e) {
|
|
2013
2016
|
{
|
|
2014
2017
|
var t = Pe();
|
|
2015
2018
|
if (!t) {
|
|
@@ -2026,12 +2029,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2026
2029
|
if (!e._store || e._store.validated || e.key != null)
|
|
2027
2030
|
return;
|
|
2028
2031
|
e._store.validated = !0;
|
|
2029
|
-
var r =
|
|
2032
|
+
var r = nt(t);
|
|
2030
2033
|
if (Ne[r])
|
|
2031
2034
|
return;
|
|
2032
2035
|
Ne[r] = !0;
|
|
2033
|
-
var
|
|
2034
|
-
e && e._owner && e._owner !== fe.current && (
|
|
2036
|
+
var a = "";
|
|
2037
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), Z(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), Z(null);
|
|
2035
2038
|
}
|
|
2036
2039
|
}
|
|
2037
2040
|
function Ie(e, t) {
|
|
@@ -2040,13 +2043,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2040
2043
|
return;
|
|
2041
2044
|
if (de(e))
|
|
2042
2045
|
for (var r = 0; r < e.length; r++) {
|
|
2043
|
-
var
|
|
2044
|
-
pe(
|
|
2046
|
+
var a = e[r];
|
|
2047
|
+
pe(a) && Fe(a, t);
|
|
2045
2048
|
}
|
|
2046
2049
|
else if (pe(e))
|
|
2047
2050
|
e._store && (e._store.validated = !0);
|
|
2048
2051
|
else if (e) {
|
|
2049
|
-
var m =
|
|
2052
|
+
var m = $(e);
|
|
2050
2053
|
if (typeof m == "function" && m !== e.entries)
|
|
2051
2054
|
for (var y = m.call(e), l; !(l = y.next()).done; )
|
|
2052
2055
|
pe(l.value) && Fe(l.value, t);
|
|
@@ -2068,8 +2071,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2068
2071
|
else
|
|
2069
2072
|
return;
|
|
2070
2073
|
if (r) {
|
|
2071
|
-
var
|
|
2072
|
-
Ye(r, e.props, "prop",
|
|
2074
|
+
var a = b(t);
|
|
2075
|
+
Ye(r, e.props, "prop", a, e);
|
|
2073
2076
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
2074
2077
|
me = !0;
|
|
2075
2078
|
var m = b(t);
|
|
@@ -2081,9 +2084,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2081
2084
|
function it(e) {
|
|
2082
2085
|
{
|
|
2083
2086
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2084
|
-
var
|
|
2085
|
-
if (
|
|
2086
|
-
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
2087
|
+
var a = t[r];
|
|
2088
|
+
if (a !== "children" && a !== "key") {
|
|
2089
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
|
|
2087
2090
|
break;
|
|
2088
2091
|
}
|
|
2089
2092
|
}
|
|
@@ -2091,13 +2094,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2091
2094
|
}
|
|
2092
2095
|
}
|
|
2093
2096
|
var Me = {};
|
|
2094
|
-
function $e(e, t, r,
|
|
2097
|
+
function $e(e, t, r, a, m, y) {
|
|
2095
2098
|
{
|
|
2096
2099
|
var l = W(e);
|
|
2097
2100
|
if (!l) {
|
|
2098
2101
|
var i = "";
|
|
2099
2102
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2100
|
-
var D =
|
|
2103
|
+
var D = at();
|
|
2101
2104
|
D ? i += D : i += Pe();
|
|
2102
2105
|
var w;
|
|
2103
2106
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (b(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);
|
|
@@ -2108,7 +2111,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2108
2111
|
if (l) {
|
|
2109
2112
|
var B = t.children;
|
|
2110
2113
|
if (B !== void 0)
|
|
2111
|
-
if (
|
|
2114
|
+
if (a)
|
|
2112
2115
|
if (de(B)) {
|
|
2113
2116
|
for (var V = 0; V < B.length; V++)
|
|
2114
2117
|
Ie(B[V], e);
|
|
@@ -2142,55 +2145,55 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2142
2145
|
return $e(e, t, r, !1);
|
|
2143
2146
|
}
|
|
2144
2147
|
var lt = st, ct = _t;
|
|
2145
|
-
|
|
2146
|
-
}()),
|
|
2148
|
+
kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
|
|
2149
|
+
}()), kt;
|
|
2147
2150
|
}
|
|
2148
|
-
process.env.NODE_ENV === "production" ? Pt.exports =
|
|
2151
|
+
process.env.NODE_ENV === "production" ? Pt.exports = dr() : Pt.exports = fr();
|
|
2149
2152
|
var J = Pt.exports;
|
|
2150
|
-
const
|
|
2151
|
-
shake:
|
|
2152
|
-
modal:
|
|
2153
|
-
sa:
|
|
2154
|
-
ss:
|
|
2155
|
-
sm:
|
|
2156
|
-
sl:
|
|
2157
|
-
sx:
|
|
2158
|
-
sf:
|
|
2159
|
-
o:
|
|
2160
|
-
b:
|
|
2161
|
-
w:
|
|
2162
|
-
h:
|
|
2163
|
-
l:
|
|
2164
|
-
t:
|
|
2165
|
-
x:
|
|
2166
|
-
s:
|
|
2167
|
-
c:
|
|
2168
|
-
f:
|
|
2169
|
-
r_:
|
|
2170
|
-
c_:
|
|
2171
|
-
g:
|
|
2172
|
-
m:
|
|
2153
|
+
const mr = "_shake_oqfdb_1", pr = "_modal_oqfdb_79", yr = "_sa_oqfdb_89", vr = "_ss_oqfdb_94", gr = "_sm_oqfdb_98", hr = "_sl_oqfdb_102", br = "_sx_oqfdb_106", kr = "_sf_oqfdb_110", wr = "_o_oqfdb_116", jr = "_b_oqfdb_28", xr = "_w_oqfdb_15", Cr = "_h_oqfdb_146", Sr = "_l_oqfdb_160", Rr = "_t_oqfdb_197", Er = "_x_oqfdb_201", Or = "_s_oqfdb_89", Tr = "_c_oqfdb_219", Dr = "_f_oqfdb_224", Pr = "_r__oqfdb_235", Nr = "_c__oqfdb_250", Fr = "_g_oqfdb_259", Ir = "_m_oqfdb_79", _e = {
|
|
2154
|
+
shake: mr,
|
|
2155
|
+
modal: pr,
|
|
2156
|
+
sa: yr,
|
|
2157
|
+
ss: vr,
|
|
2158
|
+
sm: gr,
|
|
2159
|
+
sl: hr,
|
|
2160
|
+
sx: br,
|
|
2161
|
+
sf: kr,
|
|
2162
|
+
o: wr,
|
|
2163
|
+
b: jr,
|
|
2164
|
+
w: xr,
|
|
2165
|
+
h: Cr,
|
|
2166
|
+
l: Sr,
|
|
2167
|
+
t: Rr,
|
|
2168
|
+
x: Er,
|
|
2169
|
+
s: Or,
|
|
2170
|
+
c: Tr,
|
|
2171
|
+
f: Dr,
|
|
2172
|
+
r_: Pr,
|
|
2173
|
+
c_: Nr,
|
|
2174
|
+
g: Fr,
|
|
2175
|
+
m: Ir
|
|
2173
2176
|
};
|
|
2174
|
-
function
|
|
2177
|
+
function Mr({ children: n, className: _ }) {
|
|
2175
2178
|
return /* @__PURE__ */ J.jsx(
|
|
2176
2179
|
"div",
|
|
2177
2180
|
{
|
|
2178
2181
|
className: [_e.l, _].filter((c) => c !== void 0).join(" "),
|
|
2179
|
-
children: /* @__PURE__ */ J.jsx("ul", { children:
|
|
2182
|
+
children: /* @__PURE__ */ J.jsx("ul", { children: n })
|
|
2180
2183
|
}
|
|
2181
2184
|
);
|
|
2182
2185
|
}
|
|
2183
|
-
function
|
|
2186
|
+
function $r({ children: n, className: _ }) {
|
|
2184
2187
|
return /* @__PURE__ */ J.jsx(
|
|
2185
2188
|
"div",
|
|
2186
2189
|
{
|
|
2187
2190
|
className: [_e.s, _].filter((c) => c !== void 0).join(" "),
|
|
2188
|
-
children:
|
|
2191
|
+
children: n
|
|
2189
2192
|
}
|
|
2190
2193
|
);
|
|
2191
2194
|
}
|
|
2192
|
-
function
|
|
2193
|
-
children:
|
|
2195
|
+
function Ar({
|
|
2196
|
+
children: n,
|
|
2194
2197
|
direction: _ = "column",
|
|
2195
2198
|
className: c
|
|
2196
2199
|
}) {
|
|
@@ -2202,33 +2205,33 @@ function Ir({
|
|
|
2202
2205
|
_e[_ === "row" ? "r_" : "c_"],
|
|
2203
2206
|
c
|
|
2204
2207
|
].filter((u) => u !== void 0).join(" "),
|
|
2205
|
-
children:
|
|
2208
|
+
children: n
|
|
2206
2209
|
}
|
|
2207
2210
|
);
|
|
2208
2211
|
}
|
|
2209
|
-
function
|
|
2212
|
+
function Br({ children: n, className: _ }) {
|
|
2210
2213
|
return /* @__PURE__ */ J.jsx(
|
|
2211
2214
|
"div",
|
|
2212
2215
|
{
|
|
2213
2216
|
className: [_e.c, _].filter((c) => c !== void 0).join(" "),
|
|
2214
|
-
children:
|
|
2217
|
+
children: n
|
|
2215
2218
|
}
|
|
2216
2219
|
);
|
|
2217
2220
|
}
|
|
2218
|
-
function
|
|
2221
|
+
function Lr({ children: n, className: _ }) {
|
|
2219
2222
|
return /* @__PURE__ */ J.jsx(
|
|
2220
2223
|
"div",
|
|
2221
2224
|
{
|
|
2222
2225
|
className: [_e.g, _].filter((c) => c !== void 0).join(" "),
|
|
2223
|
-
children:
|
|
2226
|
+
children: n
|
|
2224
2227
|
}
|
|
2225
2228
|
);
|
|
2226
2229
|
}
|
|
2227
|
-
function
|
|
2230
|
+
function Wr() {
|
|
2228
2231
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
2229
2232
|
}
|
|
2230
|
-
function
|
|
2231
|
-
return
|
|
2233
|
+
function Ut(n) {
|
|
2234
|
+
return Wr().IMPORT_MODULES;
|
|
2232
2235
|
}
|
|
2233
2236
|
var Nt = { exports: {} }, ht = {};
|
|
2234
2237
|
/**
|
|
@@ -2240,11 +2243,11 @@ var Nt = { exports: {} }, ht = {};
|
|
|
2240
2243
|
* This source code is licensed under the MIT license found in the
|
|
2241
2244
|
* LICENSE file in the root directory of this source tree.
|
|
2242
2245
|
*/
|
|
2243
|
-
var
|
|
2244
|
-
function
|
|
2245
|
-
if (
|
|
2246
|
-
|
|
2247
|
-
var
|
|
2246
|
+
var Kt;
|
|
2247
|
+
function Ur() {
|
|
2248
|
+
if (Kt) return ht;
|
|
2249
|
+
Kt = 1;
|
|
2250
|
+
var n = K, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, g = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2248
2251
|
function O(x, s, h) {
|
|
2249
2252
|
var o, d = {}, k = null, S = null;
|
|
2250
2253
|
h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
@@ -2254,7 +2257,7 @@ function Br() {
|
|
|
2254
2257
|
}
|
|
2255
2258
|
return ht.Fragment = c, ht.jsx = O, ht.jsxs = O, ht;
|
|
2256
2259
|
}
|
|
2257
|
-
var
|
|
2260
|
+
var wt = {};
|
|
2258
2261
|
/**
|
|
2259
2262
|
* @license React
|
|
2260
2263
|
* react-jsx-runtime.development.js
|
|
@@ -2264,27 +2267,27 @@ var jt = {};
|
|
|
2264
2267
|
* This source code is licensed under the MIT license found in the
|
|
2265
2268
|
* LICENSE file in the root directory of this source tree.
|
|
2266
2269
|
*/
|
|
2267
|
-
var
|
|
2268
|
-
function
|
|
2269
|
-
return
|
|
2270
|
-
var
|
|
2271
|
-
function
|
|
2270
|
+
var qt;
|
|
2271
|
+
function Kr() {
|
|
2272
|
+
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2273
|
+
var n = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = 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"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
2274
|
+
function $(e) {
|
|
2272
2275
|
if (e === null || typeof e != "object")
|
|
2273
2276
|
return null;
|
|
2274
|
-
var t =
|
|
2277
|
+
var t = N && e[N] || e[A];
|
|
2275
2278
|
return typeof t == "function" ? t : null;
|
|
2276
2279
|
}
|
|
2277
|
-
var T =
|
|
2280
|
+
var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2278
2281
|
function p(e) {
|
|
2279
2282
|
{
|
|
2280
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
2281
|
-
r[
|
|
2282
|
-
|
|
2283
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
2284
|
+
r[a - 1] = arguments[a];
|
|
2285
|
+
I("error", e, r);
|
|
2283
2286
|
}
|
|
2284
2287
|
}
|
|
2285
|
-
function
|
|
2288
|
+
function I(e, t, r) {
|
|
2286
2289
|
{
|
|
2287
|
-
var
|
|
2290
|
+
var a = T.ReactDebugCurrentFrame, m = a.getStackAddendum();
|
|
2288
2291
|
m !== "" && (t += "%s", r = r.concat([m]));
|
|
2289
2292
|
var y = r.map(function(l) {
|
|
2290
2293
|
return String(l);
|
|
@@ -2292,19 +2295,19 @@ function Lr() {
|
|
|
2292
2295
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
2293
2296
|
}
|
|
2294
2297
|
}
|
|
2295
|
-
var
|
|
2296
|
-
|
|
2298
|
+
var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
|
|
2299
|
+
P = Symbol.for("react.module.reference");
|
|
2297
2300
|
function W(e) {
|
|
2298
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C ||
|
|
2301
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === g || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2299
2302
|
// types supported by any Flight configuration anywhere since
|
|
2300
2303
|
// we don't know which Flight build this will end up being used
|
|
2301
2304
|
// with.
|
|
2302
|
-
e.$$typeof ===
|
|
2305
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
2303
2306
|
}
|
|
2304
2307
|
function R(e, t, r) {
|
|
2305
|
-
var
|
|
2306
|
-
if (
|
|
2307
|
-
return
|
|
2308
|
+
var a = e.displayName;
|
|
2309
|
+
if (a)
|
|
2310
|
+
return a;
|
|
2308
2311
|
var m = t.displayName || t.name || "";
|
|
2309
2312
|
return m !== "" ? r + "(" + m + ")" : r;
|
|
2310
2313
|
}
|
|
@@ -2343,8 +2346,8 @@ function Lr() {
|
|
|
2343
2346
|
case s:
|
|
2344
2347
|
return R(e, e.render, "ForwardRef");
|
|
2345
2348
|
case d:
|
|
2346
|
-
var
|
|
2347
|
-
return
|
|
2349
|
+
var a = e.displayName || null;
|
|
2350
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
2348
2351
|
case k: {
|
|
2349
2352
|
var m = e, y = m._payload, l = m._init;
|
|
2350
2353
|
try {
|
|
@@ -2425,27 +2428,27 @@ function Lr() {
|
|
|
2425
2428
|
try {
|
|
2426
2429
|
throw Error();
|
|
2427
2430
|
} catch (m) {
|
|
2428
|
-
var
|
|
2429
|
-
ce =
|
|
2431
|
+
var a = m.stack.trim().match(/\n( *(at )?)/);
|
|
2432
|
+
ce = a && a[1] || "";
|
|
2430
2433
|
}
|
|
2431
2434
|
return `
|
|
2432
2435
|
` + ce + e;
|
|
2433
2436
|
}
|
|
2434
2437
|
}
|
|
2435
|
-
var ue = !1,
|
|
2438
|
+
var ue = !1, ae;
|
|
2436
2439
|
{
|
|
2437
2440
|
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
2438
|
-
|
|
2441
|
+
ae = new Ue();
|
|
2439
2442
|
}
|
|
2440
2443
|
function je(e, t) {
|
|
2441
2444
|
if (!e || ue)
|
|
2442
2445
|
return "";
|
|
2443
2446
|
{
|
|
2444
|
-
var r =
|
|
2447
|
+
var r = ae.get(e);
|
|
2445
2448
|
if (r !== void 0)
|
|
2446
2449
|
return r;
|
|
2447
2450
|
}
|
|
2448
|
-
var
|
|
2451
|
+
var a;
|
|
2449
2452
|
ue = !0;
|
|
2450
2453
|
var m = Error.prepareStackTrace;
|
|
2451
2454
|
Error.prepareStackTrace = void 0;
|
|
@@ -2464,14 +2467,14 @@ function Lr() {
|
|
|
2464
2467
|
try {
|
|
2465
2468
|
Reflect.construct(l, []);
|
|
2466
2469
|
} catch (F) {
|
|
2467
|
-
|
|
2470
|
+
a = F;
|
|
2468
2471
|
}
|
|
2469
2472
|
Reflect.construct(e, [], l);
|
|
2470
2473
|
} else {
|
|
2471
2474
|
try {
|
|
2472
2475
|
l.call();
|
|
2473
2476
|
} catch (F) {
|
|
2474
|
-
|
|
2477
|
+
a = F;
|
|
2475
2478
|
}
|
|
2476
2479
|
e.call(l.prototype);
|
|
2477
2480
|
}
|
|
@@ -2479,14 +2482,14 @@ function Lr() {
|
|
|
2479
2482
|
try {
|
|
2480
2483
|
throw Error();
|
|
2481
2484
|
} catch (F) {
|
|
2482
|
-
|
|
2485
|
+
a = F;
|
|
2483
2486
|
}
|
|
2484
2487
|
e();
|
|
2485
2488
|
}
|
|
2486
2489
|
} catch (F) {
|
|
2487
|
-
if (F &&
|
|
2490
|
+
if (F && a && typeof F.stack == "string") {
|
|
2488
2491
|
for (var i = F.stack.split(`
|
|
2489
|
-
`), D =
|
|
2492
|
+
`), D = a.stack.split(`
|
|
2490
2493
|
`), w = i.length - 1, j = D.length - 1; w >= 1 && j >= 0 && i[w] !== D[j]; )
|
|
2491
2494
|
j--;
|
|
2492
2495
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
@@ -2496,7 +2499,7 @@ function Lr() {
|
|
|
2496
2499
|
if (w--, j--, j < 0 || i[w] !== D[j]) {
|
|
2497
2500
|
var B = `
|
|
2498
2501
|
` + i[w].replace(" at new ", " at ");
|
|
2499
|
-
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
2502
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
2500
2503
|
}
|
|
2501
2504
|
while (w >= 1 && j >= 0);
|
|
2502
2505
|
break;
|
|
@@ -2506,7 +2509,7 @@ function Lr() {
|
|
|
2506
2509
|
ue = !1, le.current = y, We(), Error.prepareStackTrace = m;
|
|
2507
2510
|
}
|
|
2508
2511
|
var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
|
|
2509
|
-
return typeof e == "function" &&
|
|
2512
|
+
return typeof e == "function" && ae.set(e, H), H;
|
|
2510
2513
|
}
|
|
2511
2514
|
function Ke(e, t, r) {
|
|
2512
2515
|
return je(e, !1);
|
|
@@ -2515,7 +2518,7 @@ function Lr() {
|
|
|
2515
2518
|
var t = e.prototype;
|
|
2516
2519
|
return !!(t && t.isReactComponent);
|
|
2517
2520
|
}
|
|
2518
|
-
function
|
|
2521
|
+
function ne(e, t, r) {
|
|
2519
2522
|
if (e == null)
|
|
2520
2523
|
return "";
|
|
2521
2524
|
if (typeof e == "function")
|
|
@@ -2533,11 +2536,11 @@ function Lr() {
|
|
|
2533
2536
|
case s:
|
|
2534
2537
|
return Ke(e.render);
|
|
2535
2538
|
case d:
|
|
2536
|
-
return
|
|
2539
|
+
return ne(e.type, t, r);
|
|
2537
2540
|
case k: {
|
|
2538
|
-
var
|
|
2541
|
+
var a = e, m = a._payload, y = a._init;
|
|
2539
2542
|
try {
|
|
2540
|
-
return
|
|
2543
|
+
return ne(y(m), t, r);
|
|
2541
2544
|
} catch {
|
|
2542
2545
|
}
|
|
2543
2546
|
}
|
|
@@ -2547,12 +2550,12 @@ function Lr() {
|
|
|
2547
2550
|
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = T.ReactDebugCurrentFrame;
|
|
2548
2551
|
function oe(e) {
|
|
2549
2552
|
if (e) {
|
|
2550
|
-
var t = e._owner, r =
|
|
2553
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
2551
2554
|
Ce.setExtraStackFrame(r);
|
|
2552
2555
|
} else
|
|
2553
2556
|
Ce.setExtraStackFrame(null);
|
|
2554
2557
|
}
|
|
2555
|
-
function Ye(e, t, r,
|
|
2558
|
+
function Ye(e, t, r, a, m) {
|
|
2556
2559
|
{
|
|
2557
2560
|
var y = Function.call.bind(X);
|
|
2558
2561
|
for (var l in e)
|
|
@@ -2560,14 +2563,14 @@ function Lr() {
|
|
|
2560
2563
|
var i = void 0;
|
|
2561
2564
|
try {
|
|
2562
2565
|
if (typeof e[l] != "function") {
|
|
2563
|
-
var D = Error((
|
|
2566
|
+
var D = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
2564
2567
|
throw D.name = "Invariant Violation", D;
|
|
2565
2568
|
}
|
|
2566
|
-
i = e[l](t, l,
|
|
2569
|
+
i = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
2567
2570
|
} catch (w) {
|
|
2568
2571
|
i = w;
|
|
2569
2572
|
}
|
|
2570
|
-
i && !(i instanceof Error) && (oe(m), 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).",
|
|
2573
|
+
i && !(i instanceof Error) && (oe(m), 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), oe(null)), i instanceof Error && !(i.message in xe) && (xe[i.message] = !0, oe(m), p("Failed %s type: %s", r, i.message), oe(null));
|
|
2571
2574
|
}
|
|
2572
2575
|
}
|
|
2573
2576
|
}
|
|
@@ -2642,7 +2645,7 @@ function Lr() {
|
|
|
2642
2645
|
});
|
|
2643
2646
|
}
|
|
2644
2647
|
}
|
|
2645
|
-
var tt = function(e, t, r,
|
|
2648
|
+
var tt = function(e, t, r, a, m, y, l) {
|
|
2646
2649
|
var i = {
|
|
2647
2650
|
// This tag allows us to uniquely identify this as a React Element
|
|
2648
2651
|
$$typeof: _,
|
|
@@ -2663,7 +2666,7 @@ function Lr() {
|
|
|
2663
2666
|
configurable: !1,
|
|
2664
2667
|
enumerable: !1,
|
|
2665
2668
|
writable: !1,
|
|
2666
|
-
value:
|
|
2669
|
+
value: a
|
|
2667
2670
|
}), Object.defineProperty(i, "_source", {
|
|
2668
2671
|
configurable: !1,
|
|
2669
2672
|
enumerable: !1,
|
|
@@ -2671,7 +2674,7 @@ function Lr() {
|
|
|
2671
2674
|
value: m
|
|
2672
2675
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
2673
2676
|
};
|
|
2674
|
-
function rt(e, t, r,
|
|
2677
|
+
function rt(e, t, r, a, m) {
|
|
2675
2678
|
{
|
|
2676
2679
|
var y, l = {}, i = null, D = null;
|
|
2677
2680
|
r !== void 0 && (Re(r), i = "" + r), Ve(t) && (Re(t.key), i = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
@@ -2686,13 +2689,13 @@ function Lr() {
|
|
|
2686
2689
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
2687
2690
|
i && Qe(l, j), D && et(l, j);
|
|
2688
2691
|
}
|
|
2689
|
-
return tt(e, i, D, m,
|
|
2692
|
+
return tt(e, i, D, m, a, Ee.current, l);
|
|
2690
2693
|
}
|
|
2691
2694
|
}
|
|
2692
2695
|
var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
|
|
2693
2696
|
function Z(e) {
|
|
2694
2697
|
if (e) {
|
|
2695
|
-
var t = e._owner, r =
|
|
2698
|
+
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
2696
2699
|
De.setExtraStackFrame(r);
|
|
2697
2700
|
} else
|
|
2698
2701
|
De.setExtraStackFrame(null);
|
|
@@ -2714,11 +2717,11 @@ Check the render method of \`` + e + "`.";
|
|
|
2714
2717
|
return "";
|
|
2715
2718
|
}
|
|
2716
2719
|
}
|
|
2717
|
-
function
|
|
2720
|
+
function at(e) {
|
|
2718
2721
|
return "";
|
|
2719
2722
|
}
|
|
2720
2723
|
var Ne = {};
|
|
2721
|
-
function
|
|
2724
|
+
function nt(e) {
|
|
2722
2725
|
{
|
|
2723
2726
|
var t = Pe();
|
|
2724
2727
|
if (!t) {
|
|
@@ -2735,12 +2738,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2735
2738
|
if (!e._store || e._store.validated || e.key != null)
|
|
2736
2739
|
return;
|
|
2737
2740
|
e._store.validated = !0;
|
|
2738
|
-
var r =
|
|
2741
|
+
var r = nt(t);
|
|
2739
2742
|
if (Ne[r])
|
|
2740
2743
|
return;
|
|
2741
2744
|
Ne[r] = !0;
|
|
2742
|
-
var
|
|
2743
|
-
e && e._owner && e._owner !== fe.current && (
|
|
2745
|
+
var a = "";
|
|
2746
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), Z(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), Z(null);
|
|
2744
2747
|
}
|
|
2745
2748
|
}
|
|
2746
2749
|
function Ie(e, t) {
|
|
@@ -2749,13 +2752,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2749
2752
|
return;
|
|
2750
2753
|
if (de(e))
|
|
2751
2754
|
for (var r = 0; r < e.length; r++) {
|
|
2752
|
-
var
|
|
2753
|
-
pe(
|
|
2755
|
+
var a = e[r];
|
|
2756
|
+
pe(a) && Fe(a, t);
|
|
2754
2757
|
}
|
|
2755
2758
|
else if (pe(e))
|
|
2756
2759
|
e._store && (e._store.validated = !0);
|
|
2757
2760
|
else if (e) {
|
|
2758
|
-
var m =
|
|
2761
|
+
var m = $(e);
|
|
2759
2762
|
if (typeof m == "function" && m !== e.entries)
|
|
2760
2763
|
for (var y = m.call(e), l; !(l = y.next()).done; )
|
|
2761
2764
|
pe(l.value) && Fe(l.value, t);
|
|
@@ -2777,8 +2780,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2777
2780
|
else
|
|
2778
2781
|
return;
|
|
2779
2782
|
if (r) {
|
|
2780
|
-
var
|
|
2781
|
-
Ye(r, e.props, "prop",
|
|
2783
|
+
var a = b(t);
|
|
2784
|
+
Ye(r, e.props, "prop", a, e);
|
|
2782
2785
|
} else if (t.PropTypes !== void 0 && !me) {
|
|
2783
2786
|
me = !0;
|
|
2784
2787
|
var m = b(t);
|
|
@@ -2790,9 +2793,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2790
2793
|
function it(e) {
|
|
2791
2794
|
{
|
|
2792
2795
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2793
|
-
var
|
|
2794
|
-
if (
|
|
2795
|
-
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
2796
|
+
var a = t[r];
|
|
2797
|
+
if (a !== "children" && a !== "key") {
|
|
2798
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
|
|
2796
2799
|
break;
|
|
2797
2800
|
}
|
|
2798
2801
|
}
|
|
@@ -2800,13 +2803,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2800
2803
|
}
|
|
2801
2804
|
}
|
|
2802
2805
|
var Me = {};
|
|
2803
|
-
function $e(e, t, r,
|
|
2806
|
+
function $e(e, t, r, a, m, y) {
|
|
2804
2807
|
{
|
|
2805
2808
|
var l = W(e);
|
|
2806
2809
|
if (!l) {
|
|
2807
2810
|
var i = "";
|
|
2808
2811
|
(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.");
|
|
2809
|
-
var D =
|
|
2812
|
+
var D = at();
|
|
2810
2813
|
D ? i += D : i += Pe();
|
|
2811
2814
|
var w;
|
|
2812
2815
|
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (b(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);
|
|
@@ -2817,7 +2820,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2817
2820
|
if (l) {
|
|
2818
2821
|
var B = t.children;
|
|
2819
2822
|
if (B !== void 0)
|
|
2820
|
-
if (
|
|
2823
|
+
if (a)
|
|
2821
2824
|
if (de(B)) {
|
|
2822
2825
|
for (var V = 0; V < B.length; V++)
|
|
2823
2826
|
Ie(B[V], e);
|
|
@@ -2851,22 +2854,22 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2851
2854
|
return $e(e, t, r, !1);
|
|
2852
2855
|
}
|
|
2853
2856
|
var lt = st, ct = _t;
|
|
2854
|
-
|
|
2855
|
-
}()),
|
|
2857
|
+
wt.Fragment = u, wt.jsx = lt, wt.jsxs = ct;
|
|
2858
|
+
}()), wt;
|
|
2856
2859
|
}
|
|
2857
|
-
process.env.NODE_ENV === "production" ? Nt.exports =
|
|
2860
|
+
process.env.NODE_ENV === "production" ? Nt.exports = Ur() : Nt.exports = Kr();
|
|
2858
2861
|
var Et = Nt.exports;
|
|
2859
|
-
const
|
|
2860
|
-
btn:
|
|
2861
|
-
confirm:
|
|
2862
|
-
cancel:
|
|
2863
|
-
action:
|
|
2864
|
-
disabled:
|
|
2862
|
+
const qr = "_btn_1k1b3_1", Yr = "_confirm_1k1b3_15", Gr = "_cancel_1k1b3_20", zr = "_action_1k1b3_25", Hr = "_disabled_1k1b3_30", Jr = "_m_1k1b3_44", Zr = "_l_1k1b3_48", jt = {
|
|
2863
|
+
btn: qr,
|
|
2864
|
+
confirm: Yr,
|
|
2865
|
+
cancel: Gr,
|
|
2866
|
+
action: zr,
|
|
2867
|
+
disabled: Hr,
|
|
2865
2868
|
await: "_await_1k1b3_37",
|
|
2866
|
-
m:
|
|
2867
|
-
l:
|
|
2868
|
-
},
|
|
2869
|
-
onClick:
|
|
2869
|
+
m: Jr,
|
|
2870
|
+
l: Zr
|
|
2871
|
+
}, Vr = ({
|
|
2872
|
+
onClick: n,
|
|
2870
2873
|
onSend: _,
|
|
2871
2874
|
size: c = "m",
|
|
2872
2875
|
view: u = "confirm",
|
|
@@ -2880,9 +2883,9 @@ const Wr = "_btn_1k1b3_1", Ur = "_confirm_1k1b3_15", Kr = "_cancel_1k1b3_20", qr
|
|
|
2880
2883
|
awaitText: d = "Ожидайте"
|
|
2881
2884
|
}) => {
|
|
2882
2885
|
let [k, S] = K.useState(!1);
|
|
2883
|
-
const
|
|
2884
|
-
if (
|
|
2885
|
-
k || (_ ? (S(!0), _(S)) :
|
|
2886
|
+
const N = ($) => {
|
|
2887
|
+
if (n) return n();
|
|
2888
|
+
k || (_ ? (S(!0), _(S)) : $.preventDefault());
|
|
2886
2889
|
};
|
|
2887
2890
|
let A = {};
|
|
2888
2891
|
return (C || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
@@ -2891,12 +2894,12 @@ const Wr = "_btn_1k1b3_1", Ur = "_confirm_1k1b3_15", Kr = "_cancel_1k1b3_20", qr
|
|
|
2891
2894
|
...A,
|
|
2892
2895
|
ref: o,
|
|
2893
2896
|
className: [
|
|
2894
|
-
|
|
2895
|
-
k ?
|
|
2896
|
-
c &&
|
|
2897
|
+
jt.btn,
|
|
2898
|
+
k ? jt.disabled : jt[u],
|
|
2899
|
+
c && jt[c],
|
|
2897
2900
|
O
|
|
2898
|
-
].filter((
|
|
2899
|
-
onClick:
|
|
2901
|
+
].filter(($) => $ != "").join(" "),
|
|
2902
|
+
onClick: N,
|
|
2900
2903
|
children: k ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2901
2904
|
s || "",
|
|
2902
2905
|
" ",
|
|
@@ -2908,55 +2911,55 @@ const Wr = "_btn_1k1b3_1", Ur = "_confirm_1k1b3_15", Kr = "_cancel_1k1b3_20", qr
|
|
|
2908
2911
|
);
|
|
2909
2912
|
};
|
|
2910
2913
|
let Ae = {};
|
|
2911
|
-
function
|
|
2912
|
-
return /* @__PURE__ */ J.jsx(J.Fragment, { children:
|
|
2914
|
+
function Xr({ children: n }) {
|
|
2915
|
+
return /* @__PURE__ */ J.jsx(J.Fragment, { children: n });
|
|
2913
2916
|
}
|
|
2914
2917
|
var Ct;
|
|
2915
|
-
((
|
|
2918
|
+
((n) => {
|
|
2916
2919
|
function _({
|
|
2917
2920
|
import_modules: o
|
|
2918
2921
|
}) {
|
|
2919
2922
|
let [d, k] = K.useState([]);
|
|
2920
2923
|
return Ae.x = (S) => {
|
|
2921
|
-
k(S ? d.filter((
|
|
2922
|
-
},
|
|
2924
|
+
k(S ? d.filter((N) => N.key !== S) : []);
|
|
2925
|
+
}, Ht(() => {
|
|
2923
2926
|
o && (Ae.i = o);
|
|
2924
|
-
}, []), Ae.add = (S,
|
|
2925
|
-
k([...d, { key:
|
|
2927
|
+
}, []), Ae.add = (S, N = Date.now()) => {
|
|
2928
|
+
k([...d, { key: N, item: S }]);
|
|
2926
2929
|
}, /* @__PURE__ */ J.jsx(J.Fragment, { children: d.map((S) => S.item) });
|
|
2927
2930
|
}
|
|
2928
|
-
|
|
2931
|
+
n.Init = _;
|
|
2929
2932
|
function c(o) {
|
|
2930
2933
|
return o && (Ae.i = o), Ae.i;
|
|
2931
2934
|
}
|
|
2932
|
-
|
|
2935
|
+
n.Import = c, n.List = Mr, n.Scroll = $r, n.Form = Ar, n.Center = Br, n.Column = Lr;
|
|
2933
2936
|
function u(o, d, k) {
|
|
2934
2937
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2935
2938
|
S.default.Open(k);
|
|
2936
|
-
}) :
|
|
2939
|
+
}) : Ut()(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2937
2940
|
S.default.Open(k);
|
|
2938
2941
|
});
|
|
2939
2942
|
}
|
|
2940
|
-
|
|
2943
|
+
n.Open = u;
|
|
2941
2944
|
function g({ type: o, name: d, params: k }) {
|
|
2942
|
-
let [S,
|
|
2945
|
+
let [S, N] = K.useState(null);
|
|
2943
2946
|
return K.useEffect(() => {
|
|
2944
2947
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2945
|
-
|
|
2946
|
-
}) :
|
|
2947
|
-
|
|
2948
|
+
N(A.default.Icon(k));
|
|
2949
|
+
}) : Ut()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2950
|
+
N(A.default.Icon(k));
|
|
2948
2951
|
});
|
|
2949
2952
|
}, [k.id]), /* @__PURE__ */ J.jsx(J.Fragment, { children: S });
|
|
2950
2953
|
}
|
|
2951
|
-
|
|
2954
|
+
n.Icon = g;
|
|
2952
2955
|
function C(o, d) {
|
|
2953
|
-
Ae.add(/* @__PURE__ */ J.jsx(
|
|
2956
|
+
Ae.add(/* @__PURE__ */ J.jsx(Xr, { children: o }, String(Date.now())), d);
|
|
2954
2957
|
}
|
|
2955
|
-
|
|
2958
|
+
n.Add = C;
|
|
2956
2959
|
function O(o) {
|
|
2957
2960
|
Ae.x(o);
|
|
2958
2961
|
}
|
|
2959
|
-
|
|
2962
|
+
n.Close = O;
|
|
2960
2963
|
function x(o) {
|
|
2961
2964
|
if (o.target.classList[0] !== "modal") return;
|
|
2962
2965
|
let d = o.target.children[0];
|
|
@@ -2964,10 +2967,10 @@ var Ct;
|
|
|
2964
2967
|
d.setAttribute("shake", !1);
|
|
2965
2968
|
}, 1e3);
|
|
2966
2969
|
}
|
|
2967
|
-
|
|
2970
|
+
n.Shake = x;
|
|
2968
2971
|
function s(o, d) {
|
|
2969
2972
|
const k = (S) => {
|
|
2970
|
-
|
|
2973
|
+
n.Add(
|
|
2971
2974
|
/* @__PURE__ */ J.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
|
|
2972
2975
|
);
|
|
2973
2976
|
};
|
|
@@ -2976,31 +2979,31 @@ var Ct;
|
|
|
2976
2979
|
Open: k
|
|
2977
2980
|
};
|
|
2978
2981
|
}
|
|
2979
|
-
|
|
2982
|
+
n.Create = s;
|
|
2980
2983
|
function h({
|
|
2981
2984
|
title: o,
|
|
2982
2985
|
children: d,
|
|
2983
2986
|
button: k,
|
|
2984
2987
|
tabs: S,
|
|
2985
|
-
size:
|
|
2988
|
+
size: N = "m",
|
|
2986
2989
|
className: A = "",
|
|
2987
|
-
shake:
|
|
2990
|
+
shake: $ = !0,
|
|
2988
2991
|
menu: T
|
|
2989
2992
|
}) {
|
|
2990
|
-
const [p,
|
|
2993
|
+
const [p, I] = K.useState(!0), q = K.useRef(), Y = (U) => {
|
|
2991
2994
|
if (k) {
|
|
2992
2995
|
if (k.onClick)
|
|
2993
|
-
return U(!1), k.onClick({ setOpen:
|
|
2996
|
+
return U(!1), k.onClick({ setOpen: I });
|
|
2994
2997
|
if (k.onSend)
|
|
2995
2998
|
return k.onSend({
|
|
2996
|
-
setOpen:
|
|
2999
|
+
setOpen: I,
|
|
2997
3000
|
disabled: U
|
|
2998
3001
|
});
|
|
2999
3002
|
}
|
|
3000
3003
|
}, L = () => {
|
|
3001
|
-
if (
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
+
if (!$) return I(!1);
|
|
3005
|
+
q.current.setAttribute("shake", !0), setTimeout(() => {
|
|
3006
|
+
q.current.setAttribute("shake", !1);
|
|
3004
3007
|
}, 1e3);
|
|
3005
3008
|
};
|
|
3006
3009
|
return p ? /* @__PURE__ */ J.jsxs("div", { className: `${_e.modal}`, children: [
|
|
@@ -3008,20 +3011,20 @@ var Ct;
|
|
|
3008
3011
|
/* @__PURE__ */ J.jsxs(
|
|
3009
3012
|
"div",
|
|
3010
3013
|
{
|
|
3011
|
-
className: [_e.w, _e[`s${
|
|
3012
|
-
ref:
|
|
3014
|
+
className: [_e.w, _e[`s${N}`], A].filter((U) => U != "").join(" "),
|
|
3015
|
+
ref: q,
|
|
3013
3016
|
children: [
|
|
3014
3017
|
/* @__PURE__ */ J.jsxs("div", { className: _e.h, children: [
|
|
3015
3018
|
/* @__PURE__ */ J.jsx("div", { className: _e.t, children: o }),
|
|
3016
3019
|
/* @__PURE__ */ J.jsxs("div", { className: _e.m, children: [
|
|
3017
|
-
S && /* @__PURE__ */ J.jsx("nav", { children: S.map((U,
|
|
3020
|
+
S && /* @__PURE__ */ J.jsx("nav", { children: S.map((U, E) => /* @__PURE__ */ J.jsx(
|
|
3018
3021
|
"span",
|
|
3019
3022
|
{
|
|
3020
3023
|
onClick: U.onClick,
|
|
3021
3024
|
className: U.active ? "active" : "",
|
|
3022
3025
|
children: U.name
|
|
3023
3026
|
},
|
|
3024
|
-
|
|
3027
|
+
E
|
|
3025
3028
|
)) }),
|
|
3026
3029
|
T
|
|
3027
3030
|
] }),
|
|
@@ -3030,7 +3033,7 @@ var Ct;
|
|
|
3030
3033
|
{
|
|
3031
3034
|
className: _e.x,
|
|
3032
3035
|
onClick: () => {
|
|
3033
|
-
|
|
3036
|
+
I(!1);
|
|
3034
3037
|
},
|
|
3035
3038
|
children: /* @__PURE__ */ J.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ J.jsx(
|
|
3036
3039
|
"path",
|
|
@@ -3047,10 +3050,10 @@ var Ct;
|
|
|
3047
3050
|
] }),
|
|
3048
3051
|
d,
|
|
3049
3052
|
k && /* @__PURE__ */ J.jsx("div", { className: _e.b, children: /* @__PURE__ */ J.jsx(
|
|
3050
|
-
|
|
3053
|
+
Vr,
|
|
3051
3054
|
{
|
|
3052
3055
|
label: k.label,
|
|
3053
|
-
onSend:
|
|
3056
|
+
onSend: Y,
|
|
3054
3057
|
className: _e.btn,
|
|
3055
3058
|
size: k.size
|
|
3056
3059
|
}
|
|
@@ -3060,11 +3063,11 @@ var Ct;
|
|
|
3060
3063
|
)
|
|
3061
3064
|
] }) : "";
|
|
3062
3065
|
}
|
|
3063
|
-
|
|
3066
|
+
n.Main = h;
|
|
3064
3067
|
})(Ct || (Ct = {}));
|
|
3065
|
-
const
|
|
3066
|
-
function
|
|
3067
|
-
value:
|
|
3068
|
+
const Qr = (n, _ = ",") => (n = n !== void 0 && n !== "" ? n.split(_) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
3069
|
+
function ha({
|
|
3070
|
+
value: n,
|
|
3068
3071
|
onValue: _,
|
|
3069
3072
|
name: c,
|
|
3070
3073
|
placeholder: u = "",
|
|
@@ -3078,31 +3081,31 @@ function vn({
|
|
|
3078
3081
|
after: d = "",
|
|
3079
3082
|
modal: k,
|
|
3080
3083
|
options: S,
|
|
3081
|
-
className:
|
|
3084
|
+
className: N
|
|
3082
3085
|
}) {
|
|
3083
|
-
const [A,
|
|
3086
|
+
const [A, $] = K.useState(Qr(n, g)), T = (I) => {
|
|
3084
3087
|
if (!(s && h) || !k) return;
|
|
3085
3088
|
let q = k.split(".");
|
|
3086
3089
|
Ct.Open(q[0], q[1], {
|
|
3087
|
-
callback: (
|
|
3090
|
+
callback: (Y) => {
|
|
3088
3091
|
if (_)
|
|
3089
3092
|
switch (o) {
|
|
3090
3093
|
case "array":
|
|
3091
|
-
_({ value: Object.keys(
|
|
3094
|
+
_({ value: Object.keys(Y), name: c });
|
|
3092
3095
|
break;
|
|
3093
3096
|
case "string":
|
|
3094
3097
|
_({
|
|
3095
|
-
value: Object.keys(
|
|
3098
|
+
value: Object.keys(Y).filter((L) => Y[L]).join(g),
|
|
3096
3099
|
name: c
|
|
3097
3100
|
});
|
|
3098
3101
|
break;
|
|
3099
3102
|
default:
|
|
3100
|
-
_({ value:
|
|
3103
|
+
_({ value: Y, name: c });
|
|
3101
3104
|
}
|
|
3102
|
-
|
|
3105
|
+
$(
|
|
3103
3106
|
Object.fromEntries(
|
|
3104
|
-
Object.entries(
|
|
3105
|
-
([
|
|
3107
|
+
Object.entries(Y).filter(
|
|
3108
|
+
([L, U]) => U !== !1
|
|
3106
3109
|
)
|
|
3107
3110
|
)
|
|
3108
3111
|
);
|
|
@@ -3113,50 +3116,39 @@ function vn({
|
|
|
3113
3116
|
value: A
|
|
3114
3117
|
});
|
|
3115
3118
|
}, p = {};
|
|
3116
|
-
p.
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
"
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
onClick: T,
|
|
3141
|
-
edit: (s && h) + "",
|
|
3142
|
-
"data-after": d,
|
|
3143
|
-
children: Object.keys(A).map((Y) => {
|
|
3144
|
-
var q;
|
|
3145
|
-
return /* @__PURE__ */ f.jsx("div", { className: "field_group_item", children: (q = S[Y]) == null ? void 0 : q.label }, Y);
|
|
3146
|
-
})
|
|
3147
|
-
}
|
|
3148
|
-
),
|
|
3149
|
-
O && /* @__PURE__ */ f.jsx("em", { children: O })
|
|
3150
|
-
] });
|
|
3119
|
+
return u && (p.placeholder = u), x ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
|
|
3120
|
+
"dl",
|
|
3121
|
+
{
|
|
3122
|
+
"data-field": "group",
|
|
3123
|
+
className: [z.l, N].filter((I) => I !== void 0).join(" "),
|
|
3124
|
+
children: [
|
|
3125
|
+
C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
|
|
3126
|
+
/* @__PURE__ */ f.jsx(
|
|
3127
|
+
"dd",
|
|
3128
|
+
{
|
|
3129
|
+
...p,
|
|
3130
|
+
onClick: T,
|
|
3131
|
+
edit: (s && h) + "",
|
|
3132
|
+
"data-after": d,
|
|
3133
|
+
children: Object.keys(A).map((I) => {
|
|
3134
|
+
var q;
|
|
3135
|
+
return /* @__PURE__ */ f.jsx("div", { className: "field_group_item", children: (q = S[I]) == null ? void 0 : q.label }, I);
|
|
3136
|
+
})
|
|
3137
|
+
}
|
|
3138
|
+
),
|
|
3139
|
+
O && /* @__PURE__ */ f.jsx("em", { children: O })
|
|
3140
|
+
]
|
|
3141
|
+
}
|
|
3142
|
+
);
|
|
3151
3143
|
}
|
|
3152
|
-
const
|
|
3153
|
-
o:
|
|
3154
|
-
l:
|
|
3155
|
-
i:
|
|
3156
|
-
f:
|
|
3144
|
+
const ea = "_o_1wehm_12", ta = "_l_1wehm_22", ra = "_i_1wehm_72", aa = "_f_1wehm_81", St = {
|
|
3145
|
+
o: ea,
|
|
3146
|
+
l: ta,
|
|
3147
|
+
i: ra,
|
|
3148
|
+
f: aa
|
|
3157
3149
|
};
|
|
3158
|
-
function
|
|
3159
|
-
title:
|
|
3150
|
+
function ba({
|
|
3151
|
+
title: n,
|
|
3160
3152
|
error: _,
|
|
3161
3153
|
edit: c = !0,
|
|
3162
3154
|
active: u = !0,
|
|
@@ -3170,18 +3162,18 @@ function gn({
|
|
|
3170
3162
|
name: d,
|
|
3171
3163
|
after: k,
|
|
3172
3164
|
view: S,
|
|
3173
|
-
order:
|
|
3165
|
+
order: N,
|
|
3174
3166
|
isReload: A = !1
|
|
3175
3167
|
}) {
|
|
3176
3168
|
var R, v;
|
|
3177
|
-
const
|
|
3169
|
+
const $ = K.useRef(null), [T, p] = K.useState(C), [I, q] = K.useState(x), [Y, L] = K.useState(!1);
|
|
3178
3170
|
K.useEffect(() => {
|
|
3179
|
-
p(C),
|
|
3180
|
-
}, [C, x]), g = !!(g && (C === 0 || ((R =
|
|
3181
|
-
let
|
|
3171
|
+
p(C), q(x);
|
|
3172
|
+
}, [C, x]), g = !!(g && (C === 0 || ((R = I == null ? void 0 : I[C]) == null ? void 0 : R.n) === void 0)) && !(c && u);
|
|
3173
|
+
let E = (b) => {
|
|
3182
3174
|
p(b), O && O({ value: b, name: d, reload: A });
|
|
3183
3175
|
}, W = { onClick: (b) => {
|
|
3184
|
-
Object.keys(
|
|
3176
|
+
Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
|
|
3185
3177
|
} };
|
|
3186
3178
|
return s && (W.placeholder = s), k && (W.after = k), c && u && (W.edit = ""), g ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
3187
3179
|
/* @__PURE__ */ f.jsxs(
|
|
@@ -3190,17 +3182,17 @@ function gn({
|
|
|
3190
3182
|
"data-field": "select",
|
|
3191
3183
|
className: [z.l, h].filter((b) => b !== void 0).join(" "),
|
|
3192
3184
|
children: [
|
|
3193
|
-
|
|
3185
|
+
n && /* @__PURE__ */ f.jsx("dt", { className: z.t, children: n }),
|
|
3194
3186
|
/* @__PURE__ */ f.jsx(
|
|
3195
3187
|
"dd",
|
|
3196
3188
|
{
|
|
3197
3189
|
...W,
|
|
3198
3190
|
className: [z.f, St.f].join(" "),
|
|
3199
|
-
ref:
|
|
3200
|
-
children: (v =
|
|
3191
|
+
ref: $,
|
|
3192
|
+
children: (v = I == null ? void 0 : I[T]) == null ? void 0 : v.n
|
|
3201
3193
|
}
|
|
3202
3194
|
),
|
|
3203
|
-
Object.keys(
|
|
3195
|
+
Object.keys(I || {}).length !== 0 && o && /* @__PURE__ */ f.jsx(
|
|
3204
3196
|
"svg",
|
|
3205
3197
|
{
|
|
3206
3198
|
className: St.i,
|
|
@@ -3218,16 +3210,16 @@ function gn({
|
|
|
3218
3210
|
]
|
|
3219
3211
|
}
|
|
3220
3212
|
),
|
|
3221
|
-
|
|
3213
|
+
Y && It(
|
|
3222
3214
|
/* @__PURE__ */ f.jsx(
|
|
3223
|
-
|
|
3215
|
+
na,
|
|
3224
3216
|
{
|
|
3225
|
-
parent:
|
|
3226
|
-
onValue:
|
|
3217
|
+
parent: $.position,
|
|
3218
|
+
onValue: E,
|
|
3227
3219
|
view: S,
|
|
3228
3220
|
className: h,
|
|
3229
|
-
options:
|
|
3230
|
-
order:
|
|
3221
|
+
options: I,
|
|
3222
|
+
order: N,
|
|
3231
3223
|
setOpen: L
|
|
3232
3224
|
},
|
|
3233
3225
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -3236,8 +3228,8 @@ function gn({
|
|
|
3236
3228
|
)
|
|
3237
3229
|
] });
|
|
3238
3230
|
}
|
|
3239
|
-
const
|
|
3240
|
-
onValue:
|
|
3231
|
+
const na = ({
|
|
3232
|
+
onValue: n,
|
|
3241
3233
|
parent: _,
|
|
3242
3234
|
className: c,
|
|
3243
3235
|
options: u,
|
|
@@ -3247,7 +3239,7 @@ const tn = ({
|
|
|
3247
3239
|
let O = () => {
|
|
3248
3240
|
C(!1);
|
|
3249
3241
|
}, x = (o) => {
|
|
3250
|
-
C(!1),
|
|
3242
|
+
C(!1), n(o);
|
|
3251
3243
|
}, s = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, h = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
|
|
3252
3244
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
3253
3245
|
/* @__PURE__ */ f.jsx(
|
|
@@ -3267,11 +3259,11 @@ const tn = ({
|
|
|
3267
3259
|
left: h + "px",
|
|
3268
3260
|
width: _.width
|
|
3269
3261
|
},
|
|
3270
|
-
children: /* @__PURE__ */ f.jsx(
|
|
3262
|
+
children: /* @__PURE__ */ f.jsx(oa, { order: g, options: u, link: x })
|
|
3271
3263
|
}
|
|
3272
3264
|
)
|
|
3273
3265
|
] });
|
|
3274
|
-
},
|
|
3266
|
+
}, oa = ({ order: n, options: _, link: c }) => n ? /* @__PURE__ */ f.jsx("ul", { children: n.map(
|
|
3275
3267
|
(u, g) => _[u].s !== 0 ? /* @__PURE__ */ f.jsx(
|
|
3276
3268
|
"li",
|
|
3277
3269
|
{
|
|
@@ -3294,8 +3286,8 @@ const tn = ({
|
|
|
3294
3286
|
g
|
|
3295
3287
|
) : ""
|
|
3296
3288
|
) });
|
|
3297
|
-
function
|
|
3298
|
-
value:
|
|
3289
|
+
function ka({
|
|
3290
|
+
value: n,
|
|
3299
3291
|
onValue: _,
|
|
3300
3292
|
name: c,
|
|
3301
3293
|
placeholder: u = "",
|
|
@@ -3309,10 +3301,10 @@ function hn({
|
|
|
3309
3301
|
view: d,
|
|
3310
3302
|
modal: k,
|
|
3311
3303
|
module: S,
|
|
3312
|
-
options:
|
|
3304
|
+
options: N,
|
|
3313
3305
|
className: A
|
|
3314
3306
|
}) {
|
|
3315
|
-
let [
|
|
3307
|
+
let [$, T] = K.useState(n), p = (Y) => {
|
|
3316
3308
|
if (!(x && h) || !k) return;
|
|
3317
3309
|
let L = k.split(".");
|
|
3318
3310
|
Ct.Open(L[0], L[1], {
|
|
@@ -3320,31 +3312,31 @@ function hn({
|
|
|
3320
3312
|
_ && _({ value: U, name: c }), T(U);
|
|
3321
3313
|
},
|
|
3322
3314
|
onValue: _,
|
|
3323
|
-
options:
|
|
3315
|
+
options: N,
|
|
3324
3316
|
name: c,
|
|
3325
|
-
value:
|
|
3317
|
+
value: n
|
|
3326
3318
|
});
|
|
3327
3319
|
};
|
|
3328
|
-
const
|
|
3329
|
-
|
|
3330
|
-
const
|
|
3331
|
-
return u && (
|
|
3320
|
+
const I = {};
|
|
3321
|
+
I.field = "input", A && (I.className = A);
|
|
3322
|
+
const q = {};
|
|
3323
|
+
return u && (q.placeholder = u), O ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs("dl", { ...I, children: [
|
|
3332
3324
|
g && /* @__PURE__ */ f.jsx("dt", { children: g }),
|
|
3333
3325
|
/* @__PURE__ */ f.jsx(
|
|
3334
3326
|
"dd",
|
|
3335
3327
|
{
|
|
3336
|
-
...
|
|
3328
|
+
...q,
|
|
3337
3329
|
onClick: p,
|
|
3338
3330
|
edit: (x && h) + "",
|
|
3339
3331
|
"data-after": o,
|
|
3340
|
-
children:
|
|
3332
|
+
children: $
|
|
3341
3333
|
}
|
|
3342
3334
|
),
|
|
3343
3335
|
C && /* @__PURE__ */ f.jsx("em", { children: C })
|
|
3344
3336
|
] });
|
|
3345
3337
|
}
|
|
3346
|
-
function
|
|
3347
|
-
value:
|
|
3338
|
+
function wa({
|
|
3339
|
+
value: n,
|
|
3348
3340
|
onValue: _,
|
|
3349
3341
|
onSave: c,
|
|
3350
3342
|
name: u,
|
|
@@ -3358,60 +3350,60 @@ function bn({
|
|
|
3358
3350
|
native: d = !1,
|
|
3359
3351
|
isShow: k = !1,
|
|
3360
3352
|
maxLength: S,
|
|
3361
|
-
eyes:
|
|
3353
|
+
eyes: N = [],
|
|
3362
3354
|
after: A = ""
|
|
3363
3355
|
}) {
|
|
3364
|
-
const [
|
|
3365
|
-
let p = (
|
|
3356
|
+
const [$, T] = K.useState(k);
|
|
3357
|
+
let p = (E) => {
|
|
3366
3358
|
_ && _({
|
|
3367
|
-
value:
|
|
3359
|
+
value: E.target.textContent,
|
|
3368
3360
|
name: u,
|
|
3369
3361
|
reload: o
|
|
3370
3362
|
});
|
|
3371
|
-
},
|
|
3372
|
-
|
|
3373
|
-
},
|
|
3374
|
-
|
|
3363
|
+
}, I = (E) => {
|
|
3364
|
+
E.key === "Enter" && E.preventDefault();
|
|
3365
|
+
}, q = (E) => {
|
|
3366
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
3375
3367
|
if (S) {
|
|
3376
|
-
let W =
|
|
3368
|
+
let W = E.target.textContent.length;
|
|
3377
3369
|
if (W >= S) return;
|
|
3378
|
-
S -= W,
|
|
3370
|
+
S -= W, P = P.slice(0, S);
|
|
3379
3371
|
}
|
|
3380
3372
|
window.document.execCommand(
|
|
3381
3373
|
"insertText",
|
|
3382
3374
|
!1,
|
|
3383
|
-
|
|
3375
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3384
3376
|
);
|
|
3385
|
-
}).catch((
|
|
3377
|
+
}).catch((P) => {
|
|
3386
3378
|
});
|
|
3387
|
-
},
|
|
3388
|
-
te.Blur(
|
|
3379
|
+
}, Y = (E) => {
|
|
3380
|
+
te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
|
|
3389
3381
|
};
|
|
3390
3382
|
const L = {};
|
|
3391
|
-
L.field = "password",
|
|
3383
|
+
L.field = "password", $ && (L.show = ""), C && (L.className = C);
|
|
3392
3384
|
const U = {};
|
|
3393
3385
|
return g && (U.placeholder = g), d ? "" : /* @__PURE__ */ f.jsxs("dl", { ...L, children: [
|
|
3394
3386
|
O ? /* @__PURE__ */ f.jsx("dt", { children: O }) : "",
|
|
3395
3387
|
/* @__PURE__ */ f.jsx(
|
|
3396
3388
|
"dd",
|
|
3397
3389
|
{
|
|
3398
|
-
onPaste:
|
|
3390
|
+
onPaste: q,
|
|
3399
3391
|
onInput: p,
|
|
3400
|
-
onKeyDown:
|
|
3401
|
-
onBlur:
|
|
3392
|
+
onKeyDown: I,
|
|
3393
|
+
onBlur: Y,
|
|
3402
3394
|
contentEditable: s && h ? te.ContentEditable : "false",
|
|
3403
3395
|
...U,
|
|
3404
3396
|
suppressContentEditableWarning: !0,
|
|
3405
|
-
children:
|
|
3397
|
+
children: n
|
|
3406
3398
|
}
|
|
3407
3399
|
),
|
|
3408
|
-
|
|
3400
|
+
N[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => T(!$), children: $ ? N[1] : N[0] }),
|
|
3409
3401
|
A,
|
|
3410
3402
|
x ? /* @__PURE__ */ f.jsx("em", { children: x }) : ""
|
|
3411
3403
|
] });
|
|
3412
3404
|
}
|
|
3413
|
-
function
|
|
3414
|
-
onValue:
|
|
3405
|
+
function ja({
|
|
3406
|
+
onValue: n,
|
|
3415
3407
|
onSave: _,
|
|
3416
3408
|
active: c,
|
|
3417
3409
|
max: u,
|
|
@@ -3425,24 +3417,24 @@ function kn({
|
|
|
3425
3417
|
className: d,
|
|
3426
3418
|
maxLength: k,
|
|
3427
3419
|
name: S,
|
|
3428
|
-
after:
|
|
3420
|
+
after: N = "",
|
|
3429
3421
|
before: A = "",
|
|
3430
|
-
view:
|
|
3422
|
+
view: $
|
|
3431
3423
|
}) {
|
|
3432
3424
|
g = g !== void 0 ? g : !0, c = c !== void 0 ? c : !0, s = !!(s && (h === "" || h === void 0)) && !(g && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
3433
|
-
let p = !1,
|
|
3434
|
-
|
|
3435
|
-
},
|
|
3436
|
-
if (!(p &&
|
|
3437
|
-
if (
|
|
3438
|
-
|
|
3439
|
-
}
|
|
3440
|
-
},
|
|
3441
|
-
if (
|
|
3442
|
-
}, L = (
|
|
3443
|
-
|
|
3425
|
+
let p = !1, I = (P) => {
|
|
3426
|
+
n == null || n({ value: P.target.textContent, name: S });
|
|
3427
|
+
}, q = (P) => {
|
|
3428
|
+
if (!(p && P.which === 86)) {
|
|
3429
|
+
if (P.which === 17 || P.which === 91) return p = !0;
|
|
3430
|
+
P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
|
|
3431
|
+
}
|
|
3432
|
+
}, Y = (P) => {
|
|
3433
|
+
if (P.which === 17 || P.which === 91) return p = !1;
|
|
3434
|
+
}, L = (P) => {
|
|
3435
|
+
P.preventDefault(), navigator.clipboard.readText().then((W) => {
|
|
3444
3436
|
if (W = W.replace(/(?!^\+|\d)./g, ""), k) {
|
|
3445
|
-
let R =
|
|
3437
|
+
let R = P.target.textContent.length;
|
|
3446
3438
|
if (R >= k) return;
|
|
3447
3439
|
k -= R, W = W.slice(0, k);
|
|
3448
3440
|
}
|
|
@@ -3450,15 +3442,15 @@ function kn({
|
|
|
3450
3442
|
}).catch((W) => {
|
|
3451
3443
|
});
|
|
3452
3444
|
};
|
|
3453
|
-
const U = (
|
|
3454
|
-
te.Blur(
|
|
3445
|
+
const U = (P) => {
|
|
3446
|
+
te.Blur(P), _ == null || _({ value: P.target.textContent, name: S });
|
|
3455
3447
|
};
|
|
3456
|
-
let
|
|
3457
|
-
return g && c ? (
|
|
3448
|
+
let E = {};
|
|
3449
|
+
return g && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
|
|
3458
3450
|
"dl",
|
|
3459
3451
|
{
|
|
3460
3452
|
"data-field": "input",
|
|
3461
|
-
className: [z.l, d].filter((
|
|
3453
|
+
className: [z.l, d].filter((P) => P !== void 0).join(" "),
|
|
3462
3454
|
children: [
|
|
3463
3455
|
C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
|
|
3464
3456
|
A,
|
|
@@ -3467,23 +3459,23 @@ function kn({
|
|
|
3467
3459
|
{
|
|
3468
3460
|
className: [z.f, z.w].join(" "),
|
|
3469
3461
|
onPaste: L,
|
|
3470
|
-
onInput:
|
|
3462
|
+
onInput: I,
|
|
3471
3463
|
onBlur: U,
|
|
3472
|
-
onKeyDown:
|
|
3473
|
-
onKeyUp:
|
|
3464
|
+
onKeyDown: q,
|
|
3465
|
+
onKeyUp: Y,
|
|
3474
3466
|
suppressContentEditableWarning: !0,
|
|
3475
|
-
...
|
|
3467
|
+
...E,
|
|
3476
3468
|
children: h
|
|
3477
3469
|
}
|
|
3478
3470
|
),
|
|
3479
|
-
|
|
3471
|
+
N,
|
|
3480
3472
|
O && /* @__PURE__ */ f.jsx("em", { children: O })
|
|
3481
3473
|
]
|
|
3482
3474
|
}
|
|
3483
3475
|
);
|
|
3484
3476
|
}
|
|
3485
|
-
function
|
|
3486
|
-
value:
|
|
3477
|
+
function xa({
|
|
3478
|
+
value: n = "",
|
|
3487
3479
|
onValue: _,
|
|
3488
3480
|
onSave: c,
|
|
3489
3481
|
name: u,
|
|
@@ -3497,40 +3489,40 @@ function wn({
|
|
|
3497
3489
|
after: d = "",
|
|
3498
3490
|
show: k = !0,
|
|
3499
3491
|
view: S,
|
|
3500
|
-
className:
|
|
3492
|
+
className: N = ""
|
|
3501
3493
|
}) {
|
|
3502
|
-
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (
|
|
3503
|
-
let
|
|
3494
|
+
h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(h && o), K.useRef(null);
|
|
3495
|
+
let $ = g, T = !0, p = 0, I = (v, b) => {
|
|
3504
3496
|
let M = document.createRange(), G = window.getSelection();
|
|
3505
3497
|
M.setStart(b.childNodes[0], v), M.collapse(!0), G.removeAllRanges(), G.addRange(M), b.focus();
|
|
3506
|
-
},
|
|
3498
|
+
}, q = (v) => {
|
|
3507
3499
|
v.preventDefault(), navigator.clipboard.readText().then((b) => {
|
|
3508
3500
|
window.document.execCommand("insertText", !1, b);
|
|
3509
3501
|
}).catch((b) => {
|
|
3510
3502
|
});
|
|
3511
|
-
},
|
|
3503
|
+
}, Y = (v) => {
|
|
3512
3504
|
let b = 0, M = "", G = v.replace(/\D/g, "");
|
|
3513
3505
|
G === "" && (T = !0);
|
|
3514
3506
|
let Q = G.split(""), ie = "";
|
|
3515
3507
|
Q.forEach((ge) => {
|
|
3516
|
-
T && (ie += ge, T && (p = ("" + ie).length,
|
|
3508
|
+
T && (ie += ge, T && (p = ("" + ie).length, $ = g.replace(new RegExp("[0-9]", "g"), "_"), M = ""), p > ("" + ie).length && (T = !0, $ = g.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
|
|
3517
3509
|
});
|
|
3518
|
-
let se =
|
|
3519
|
-
return se.length >= G.length && (G = se), { q:
|
|
3510
|
+
let se = $.replace(/\D/g, "");
|
|
3511
|
+
return se.length >= G.length && (G = se), { q: $.replace(/[_\d]/g, function() {
|
|
3520
3512
|
return G.charAt(b++) || "_";
|
|
3521
3513
|
}), i: b, v: G, f: M };
|
|
3522
3514
|
}, L = (v) => {
|
|
3523
3515
|
v.preventDefault(), navigator.clipboard.writeText(v.target.textContent.replace(/\D/g, "")).then(
|
|
3524
3516
|
function() {
|
|
3525
|
-
|
|
3517
|
+
xt.Copy("Данные в буфер обмене");
|
|
3526
3518
|
},
|
|
3527
3519
|
function(b) {
|
|
3528
3520
|
}
|
|
3529
3521
|
);
|
|
3530
|
-
}, U =
|
|
3531
|
-
let b =
|
|
3532
|
-
v.target.textContent = b.q, b.i = b.q.lastIndexOf(b.v.substr(-1)), b.i < b.q.length && b.q !==
|
|
3533
|
-
},
|
|
3522
|
+
}, U = Y(n), E = (v) => {
|
|
3523
|
+
let b = Y(v.target.textContent);
|
|
3524
|
+
v.target.textContent = b.q, b.i = b.q.lastIndexOf(b.v.substr(-1)), b.i < b.q.length && b.q !== $ ? b.i++ : b.i = b.q.indexOf("_"), I(b.i, v.target), _ && _({ value: b.q.replace(/\D/g, ""), name: u });
|
|
3525
|
+
}, P = (v) => {
|
|
3534
3526
|
v.key === "Enter" && v.preventDefault();
|
|
3535
3527
|
};
|
|
3536
3528
|
const W = (v) => {
|
|
@@ -3544,16 +3536,16 @@ function wn({
|
|
|
3544
3536
|
"dl",
|
|
3545
3537
|
{
|
|
3546
3538
|
"data-field": "input",
|
|
3547
|
-
className: [z.l,
|
|
3539
|
+
className: [z.l, N].filter((v) => v !== void 0).join(" "),
|
|
3548
3540
|
children: [
|
|
3549
3541
|
O ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: O }) : "",
|
|
3550
3542
|
/* @__PURE__ */ f.jsx(
|
|
3551
3543
|
"dd",
|
|
3552
3544
|
{
|
|
3553
3545
|
className: [z.f, z.w].join(" "),
|
|
3554
|
-
onPaste:
|
|
3555
|
-
onInput:
|
|
3556
|
-
onKeyDown:
|
|
3546
|
+
onPaste: q,
|
|
3547
|
+
onInput: E,
|
|
3548
|
+
onKeyDown: P,
|
|
3557
3549
|
onContextMenu: L,
|
|
3558
3550
|
onBlur: W,
|
|
3559
3551
|
suppressContentEditableWarning: !0,
|
|
@@ -3566,8 +3558,8 @@ function wn({
|
|
|
3566
3558
|
}
|
|
3567
3559
|
);
|
|
3568
3560
|
}
|
|
3569
|
-
function
|
|
3570
|
-
id:
|
|
3561
|
+
function Ca({
|
|
3562
|
+
id: n,
|
|
3571
3563
|
value: _,
|
|
3572
3564
|
onValue: c,
|
|
3573
3565
|
name: u,
|
|
@@ -3581,45 +3573,37 @@ function jn({
|
|
|
3581
3573
|
show: d = !0,
|
|
3582
3574
|
maxLength: k,
|
|
3583
3575
|
view: S,
|
|
3584
|
-
onSave:
|
|
3576
|
+
onSave: N,
|
|
3585
3577
|
className: A = "",
|
|
3586
|
-
isCopy:
|
|
3578
|
+
isCopy: $ = !0
|
|
3587
3579
|
}) {
|
|
3588
3580
|
let [T, p] = K.useState(!1);
|
|
3589
3581
|
T = s ? !0 : T;
|
|
3590
|
-
let
|
|
3582
|
+
let I = (E) => {
|
|
3591
3583
|
c == null || c({ value: E.target.innerText, name: u });
|
|
3592
|
-
}, Y = (E) => {
|
|
3593
|
-
k && E.target.textContent.trim().length >= k && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
3594
3584
|
}, q = (E) => {
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
},
|
|
3599
|
-
function(W) {
|
|
3600
|
-
}
|
|
3601
|
-
));
|
|
3602
|
-
}, L = (E) => {
|
|
3603
|
-
E.preventDefault(), navigator.clipboard.readText().then((W) => {
|
|
3585
|
+
k && E.target.textContent.trim().length >= k && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
3586
|
+
}, Y = (E) => {
|
|
3587
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
3604
3588
|
if (k) {
|
|
3605
|
-
let
|
|
3606
|
-
if (
|
|
3607
|
-
k -=
|
|
3589
|
+
let W = E.target.textContent.length;
|
|
3590
|
+
if (W >= k) return;
|
|
3591
|
+
k -= W, P = P.slice(0, k);
|
|
3608
3592
|
}
|
|
3609
3593
|
window.document.execCommand(
|
|
3610
3594
|
"insertText",
|
|
3611
3595
|
!1,
|
|
3612
|
-
|
|
3596
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3613
3597
|
);
|
|
3614
|
-
}).catch((
|
|
3598
|
+
}).catch((P) => {
|
|
3615
3599
|
});
|
|
3616
3600
|
};
|
|
3617
3601
|
if (x) return /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
3618
3602
|
if (!(s && h) && !d) return "";
|
|
3619
|
-
const
|
|
3620
|
-
g && (
|
|
3621
|
-
const
|
|
3622
|
-
te.Blur(E),
|
|
3603
|
+
const L = {};
|
|
3604
|
+
g && (L.placeholder = g), s && h && (L.edit = ""), T && (L.open = "");
|
|
3605
|
+
const U = (E) => {
|
|
3606
|
+
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
3623
3607
|
};
|
|
3624
3608
|
return /* @__PURE__ */ f.jsxs(
|
|
3625
3609
|
"dl",
|
|
@@ -3632,14 +3616,13 @@ function jn({
|
|
|
3632
3616
|
"dd",
|
|
3633
3617
|
{
|
|
3634
3618
|
className: [z.f, z.n].join(" "),
|
|
3635
|
-
onPaste:
|
|
3636
|
-
onInput:
|
|
3637
|
-
onBlur:
|
|
3638
|
-
onKeyDown:
|
|
3639
|
-
onContextMenu: q,
|
|
3619
|
+
onPaste: Y,
|
|
3620
|
+
onInput: I,
|
|
3621
|
+
onBlur: U,
|
|
3622
|
+
onKeyDown: q,
|
|
3640
3623
|
contentEditable: s && h ? te.ContentEditable : "false",
|
|
3641
3624
|
suppressContentEditableWarning: !0,
|
|
3642
|
-
...
|
|
3625
|
+
...L,
|
|
3643
3626
|
children: _
|
|
3644
3627
|
}
|
|
3645
3628
|
),
|
|
@@ -5031,8 +5014,8 @@ const Ot = {
|
|
|
5031
5014
|
mask: "+1939(___) ___-__-__"
|
|
5032
5015
|
}
|
|
5033
5016
|
};
|
|
5034
|
-
function
|
|
5035
|
-
value:
|
|
5017
|
+
function Sa({
|
|
5018
|
+
value: n,
|
|
5036
5019
|
onValue: _,
|
|
5037
5020
|
onSave: c,
|
|
5038
5021
|
name: u,
|
|
@@ -5047,27 +5030,27 @@ function xn({
|
|
|
5047
5030
|
view: k,
|
|
5048
5031
|
className: S = ""
|
|
5049
5032
|
}) {
|
|
5050
|
-
s = s !== void 0 ? s : !0, h = h !== void 0 ? h : !0, x = !!(x && (
|
|
5051
|
-
let A = "+_(___) ___-__-__",
|
|
5033
|
+
s = s !== void 0 ? s : !0, h = h !== void 0 ? h : !0, x = !!(x && (n === "" || n === void 0)) && !(s && h), K.useRef(null);
|
|
5034
|
+
let A = "+_(___) ___-__-__", $ = !0, T = 0, p = (R, v) => {
|
|
5052
5035
|
let b = document.createRange(), M = window.getSelection();
|
|
5053
5036
|
b.setStart(v.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), v.focus();
|
|
5054
|
-
},
|
|
5055
|
-
let v =
|
|
5037
|
+
}, I = (R) => {
|
|
5038
|
+
let v = Y(R.target.textContent);
|
|
5056
5039
|
R.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== A ? v.i++ : v.i = v.q.indexOf("_"), p(v.i, R.target), _ && _({ value: v.q.replace(/\D/g, ""), name: u });
|
|
5057
|
-
},
|
|
5040
|
+
}, q = (R) => {
|
|
5058
5041
|
R.preventDefault(), navigator.clipboard.readText().then((v) => {
|
|
5059
5042
|
window.document.execCommand("insertText", !1, v);
|
|
5060
5043
|
}).catch((v) => {
|
|
5061
5044
|
});
|
|
5062
|
-
},
|
|
5045
|
+
}, Y = (R) => {
|
|
5063
5046
|
let v = 0, b = "", M = R.replace(/\D/g, "");
|
|
5064
|
-
M === "" && (
|
|
5047
|
+
M === "" && ($ = !0);
|
|
5065
5048
|
let G = M.split(""), Q = "";
|
|
5066
5049
|
G.forEach((ve) => {
|
|
5067
|
-
|
|
5050
|
+
$ && (Q += ve, Ot[Q] !== void 0 && $ ? ($ = !1, A = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"), b = Ot[Q].code) : ($ && (T = ("" + Q).length, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5068
5051
|
new RegExp("[0-9]", "g"),
|
|
5069
5052
|
"_"
|
|
5070
|
-
), b = ""), T > ("" + Q).length && (
|
|
5053
|
+
), b = ""), T > ("" + Q).length && ($ = !0, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5071
5054
|
new RegExp("[0-9]", "g"),
|
|
5072
5055
|
"_"
|
|
5073
5056
|
), b = "")));
|
|
@@ -5079,15 +5062,15 @@ function xn({
|
|
|
5079
5062
|
}, L = (R) => {
|
|
5080
5063
|
R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.replace(/\D/g, "")).then(
|
|
5081
5064
|
function() {
|
|
5082
|
-
|
|
5065
|
+
xt.Copy("Данные в буфер обмене");
|
|
5083
5066
|
},
|
|
5084
5067
|
function(v) {
|
|
5085
5068
|
}
|
|
5086
5069
|
);
|
|
5087
|
-
}, U =
|
|
5070
|
+
}, U = Y(n), E = (R) => {
|
|
5088
5071
|
R.key === "Enter" && R.preventDefault();
|
|
5089
5072
|
};
|
|
5090
|
-
const
|
|
5073
|
+
const P = (R) => {
|
|
5091
5074
|
te.Blur(R), c && c({
|
|
5092
5075
|
value: R.target.textContent.replace(/\D/g, ""),
|
|
5093
5076
|
name: u
|
|
@@ -5105,11 +5088,11 @@ function xn({
|
|
|
5105
5088
|
"dd",
|
|
5106
5089
|
{
|
|
5107
5090
|
className: [z.f, z.w].join(" "),
|
|
5108
|
-
onPaste:
|
|
5109
|
-
onInput:
|
|
5110
|
-
onKeyDown:
|
|
5091
|
+
onPaste: q,
|
|
5092
|
+
onInput: I,
|
|
5093
|
+
onKeyDown: E,
|
|
5111
5094
|
onContextMenu: L,
|
|
5112
|
-
onBlur:
|
|
5095
|
+
onBlur: P,
|
|
5113
5096
|
suppressContentEditableWarning: !0,
|
|
5114
5097
|
...W,
|
|
5115
5098
|
children: U.q
|
|
@@ -5120,12 +5103,12 @@ function xn({
|
|
|
5120
5103
|
}
|
|
5121
5104
|
);
|
|
5122
5105
|
}
|
|
5123
|
-
const
|
|
5124
|
-
o:
|
|
5125
|
-
c:
|
|
5106
|
+
const ia = "_o_1c9e1_1", _a = "_c_1c9e1_11", Rt = {
|
|
5107
|
+
o: ia,
|
|
5108
|
+
c: _a
|
|
5126
5109
|
};
|
|
5127
|
-
function
|
|
5128
|
-
title:
|
|
5110
|
+
function Ra({
|
|
5111
|
+
title: n,
|
|
5129
5112
|
error: _,
|
|
5130
5113
|
edit: c = !0,
|
|
5131
5114
|
active: u = !0,
|
|
@@ -5139,38 +5122,38 @@ function Cn({
|
|
|
5139
5122
|
value: d,
|
|
5140
5123
|
after: k
|
|
5141
5124
|
}) {
|
|
5142
|
-
let [S,
|
|
5125
|
+
let [S, N] = K.useState(
|
|
5143
5126
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5144
5127
|
);
|
|
5145
|
-
const A = K.useRef(null), [
|
|
5128
|
+
const A = K.useRef(null), [$, T] = K.useState(!1);
|
|
5146
5129
|
let p = !c && u;
|
|
5147
5130
|
K.useEffect(() => {
|
|
5148
|
-
|
|
5131
|
+
N(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5149
5132
|
}, [d]);
|
|
5150
|
-
let
|
|
5151
|
-
|
|
5152
|
-
},
|
|
5153
|
-
const U = L.target.getBoundingClientRect(),
|
|
5154
|
-
A.position = { x:
|
|
5133
|
+
let I = (L) => {
|
|
5134
|
+
N(L), s == null || s({ value: L, name: o });
|
|
5135
|
+
}, q = (L) => {
|
|
5136
|
+
const U = L.target.getBoundingClientRect(), E = U.left, P = U.bottom, W = U.top;
|
|
5137
|
+
A.position = { x: E, b: P, y: W }, T(!0);
|
|
5155
5138
|
};
|
|
5156
|
-
const
|
|
5157
|
-
return C && (
|
|
5139
|
+
const Y = {};
|
|
5140
|
+
return C && (Y.placeholder = C), p ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
5158
5141
|
h ? h() : /* @__PURE__ */ f.jsxs(
|
|
5159
5142
|
"dl",
|
|
5160
5143
|
{
|
|
5161
5144
|
"data-field": "date",
|
|
5162
5145
|
className: [z.l, g].filter((L) => L !== void 0).join(" "),
|
|
5163
5146
|
children: [
|
|
5164
|
-
|
|
5147
|
+
n ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: n }) : "",
|
|
5165
5148
|
/* @__PURE__ */ f.jsxs(
|
|
5166
5149
|
"dd",
|
|
5167
5150
|
{
|
|
5168
|
-
onClick:
|
|
5151
|
+
onClick: q,
|
|
5169
5152
|
className: [z.f, z.w].join(" "),
|
|
5170
|
-
...
|
|
5153
|
+
...Y,
|
|
5171
5154
|
"data-edit": (c && u) + "",
|
|
5172
5155
|
children: [
|
|
5173
|
-
|
|
5156
|
+
ca(S, "dd.mm.yyyy"),
|
|
5174
5157
|
k
|
|
5175
5158
|
]
|
|
5176
5159
|
}
|
|
@@ -5179,12 +5162,12 @@ function Cn({
|
|
|
5179
5162
|
]
|
|
5180
5163
|
}
|
|
5181
5164
|
),
|
|
5182
|
-
|
|
5165
|
+
$ && It(
|
|
5183
5166
|
/* @__PURE__ */ f.jsx(
|
|
5184
|
-
|
|
5167
|
+
sa,
|
|
5185
5168
|
{
|
|
5186
5169
|
position: A.position,
|
|
5187
|
-
onValue:
|
|
5170
|
+
onValue: I,
|
|
5188
5171
|
date: S,
|
|
5189
5172
|
max: O,
|
|
5190
5173
|
min: x,
|
|
@@ -5197,8 +5180,8 @@ function Cn({
|
|
|
5197
5180
|
)
|
|
5198
5181
|
] });
|
|
5199
5182
|
}
|
|
5200
|
-
const
|
|
5201
|
-
date:
|
|
5183
|
+
const sa = ({
|
|
5184
|
+
date: n,
|
|
5202
5185
|
onValue: _,
|
|
5203
5186
|
position: c,
|
|
5204
5187
|
max: u,
|
|
@@ -5206,7 +5189,7 @@ const on = ({
|
|
|
5206
5189
|
className: C,
|
|
5207
5190
|
onOpen: O
|
|
5208
5191
|
}) => {
|
|
5209
|
-
let x = /* @__PURE__ */ new Date(), s = new Date(
|
|
5192
|
+
let x = /* @__PURE__ */ new Date(), s = new Date(n), h = {
|
|
5210
5193
|
y: parseInt(x.getFullYear()),
|
|
5211
5194
|
d: parseInt(x.getDate()),
|
|
5212
5195
|
m: parseInt(x.getMonth()) + 1
|
|
@@ -5217,25 +5200,25 @@ const on = ({
|
|
|
5217
5200
|
}, [d, k] = K.useState({ y: o.y, m: o.m }), S = (v) => {
|
|
5218
5201
|
let b = v.getDay();
|
|
5219
5202
|
return b === 0 && (b = 7), b - 1;
|
|
5220
|
-
},
|
|
5221
|
-
for (let v = 0; v < S(
|
|
5203
|
+
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, $ = new Date(d.y, A), T = [];
|
|
5204
|
+
for (let v = 0; v < S($); v++)
|
|
5222
5205
|
T.push(0);
|
|
5223
|
-
for (;
|
|
5224
|
-
T.push(
|
|
5206
|
+
for (; $.getMonth() === A; )
|
|
5207
|
+
T.push($.getDate()), $.setDate($.getDate() + 1);
|
|
5225
5208
|
let p = () => {
|
|
5226
5209
|
O(!1);
|
|
5227
|
-
},
|
|
5210
|
+
}, I = () => {
|
|
5228
5211
|
L(d.m + 1, d.y);
|
|
5229
|
-
},
|
|
5212
|
+
}, q = () => {
|
|
5230
5213
|
L(d.m - 1, d.y);
|
|
5231
|
-
},
|
|
5214
|
+
}, Y = (v) => {
|
|
5232
5215
|
_(
|
|
5233
|
-
d.y + "-" +
|
|
5216
|
+
d.y + "-" + Yt(2, d.m) + "-" + Yt(2, v)
|
|
5234
5217
|
), p();
|
|
5235
5218
|
}, L = (v, b) => {
|
|
5236
5219
|
b = v > 12 ? b + 1 : v < 1 ? b - 1 : b, v = v > 12 ? 1 : v < 1 ? 12 : v, k({ y: b, m: v });
|
|
5237
5220
|
};
|
|
5238
|
-
const U = (v) => h.y === d.y && h.m === d.m && h.d === v ? { "data-active": "true" } : {},
|
|
5221
|
+
const U = (v) => h.y === d.y && h.m === d.m && h.d === v ? { "data-active": "true" } : {}, E = (v) => o.y === d.y && o.m === d.m && o.d === v ? { "data-current": "true" } : {}, P = (v) => {
|
|
5239
5222
|
let b = !0;
|
|
5240
5223
|
if (u) {
|
|
5241
5224
|
let M = u.getTime(), G = new Date(d.y, d.m - 1, v).getTime();
|
|
@@ -5260,7 +5243,7 @@ const on = ({
|
|
|
5260
5243
|
style: { top: W + "px", left: R + "px" },
|
|
5261
5244
|
children: [
|
|
5262
5245
|
/* @__PURE__ */ f.jsxs("s", { children: [
|
|
5263
|
-
/* @__PURE__ */ f.jsx("i", { onClick:
|
|
5246
|
+
/* @__PURE__ */ f.jsx("i", { onClick: q, children: /* @__PURE__ */ f.jsx(
|
|
5264
5247
|
"svg",
|
|
5265
5248
|
{
|
|
5266
5249
|
width: "16",
|
|
@@ -5272,11 +5255,11 @@ const on = ({
|
|
|
5272
5255
|
}
|
|
5273
5256
|
) }),
|
|
5274
5257
|
/* @__PURE__ */ f.jsxs("h2", { children: [
|
|
5275
|
-
|
|
5258
|
+
la(d.m).name,
|
|
5276
5259
|
" ",
|
|
5277
5260
|
d.y
|
|
5278
5261
|
] }),
|
|
5279
|
-
/* @__PURE__ */ f.jsx("i", { onClick:
|
|
5262
|
+
/* @__PURE__ */ f.jsx("i", { onClick: I, children: /* @__PURE__ */ f.jsx(
|
|
5280
5263
|
"svg",
|
|
5281
5264
|
{
|
|
5282
5265
|
width: "16",
|
|
@@ -5289,24 +5272,24 @@ const on = ({
|
|
|
5289
5272
|
) })
|
|
5290
5273
|
] }),
|
|
5291
5274
|
/* @__PURE__ */ f.jsxs("div", { "grid-calendar": "", children: [
|
|
5292
|
-
|
|
5293
|
-
T.map((v, b) => /* @__PURE__ */ f.jsx("span", { children: v !== 0 &&
|
|
5275
|
+
N.map((v, b) => /* @__PURE__ */ f.jsx("p", { children: v }, "v" + b)),
|
|
5276
|
+
T.map((v, b) => /* @__PURE__ */ f.jsx("span", { children: v !== 0 && P(v) ? /* @__PURE__ */ f.jsx(
|
|
5294
5277
|
"b",
|
|
5295
5278
|
{
|
|
5296
5279
|
...U(v),
|
|
5297
|
-
...
|
|
5298
|
-
onClick: () =>
|
|
5280
|
+
...E(v),
|
|
5281
|
+
onClick: () => Y(v),
|
|
5299
5282
|
children: v
|
|
5300
5283
|
}
|
|
5301
|
-
) : /* @__PURE__ */ f.jsx("p", { ...U(v), ...
|
|
5284
|
+
) : /* @__PURE__ */ f.jsx("p", { ...U(v), ...E(v), children: v !== 0 ? v : "" }) }, b))
|
|
5302
5285
|
] })
|
|
5303
5286
|
]
|
|
5304
5287
|
}
|
|
5305
5288
|
)
|
|
5306
5289
|
] });
|
|
5307
5290
|
};
|
|
5308
|
-
function
|
|
5309
|
-
return
|
|
5291
|
+
function la(n) {
|
|
5292
|
+
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
5310
5293
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5311
5294
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5312
5295
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5319,23 +5302,23 @@ function _n(a) {
|
|
|
5319
5302
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5320
5303
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5321
5304
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5322
|
-
}[
|
|
5305
|
+
}[n];
|
|
5323
5306
|
}
|
|
5324
|
-
function
|
|
5307
|
+
function Yt(n, _) {
|
|
5325
5308
|
let c = _ + "";
|
|
5326
|
-
for (; c.length <
|
|
5309
|
+
for (; c.length < n; ) c = "0" + c;
|
|
5327
5310
|
return c;
|
|
5328
5311
|
}
|
|
5329
|
-
function
|
|
5330
|
-
_ === void 0 ? (_ =
|
|
5312
|
+
function ca(n, _) {
|
|
5313
|
+
_ === void 0 ? (_ = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5331
5314
|
let c = {
|
|
5332
|
-
yyyy:
|
|
5333
|
-
yy: ("" +
|
|
5334
|
-
mm: ("0" + (
|
|
5335
|
-
dd: ("0" +
|
|
5336
|
-
HH: ("0" +
|
|
5337
|
-
MM: ("0" +
|
|
5338
|
-
SS: ("0" +
|
|
5315
|
+
yyyy: n.getFullYear(),
|
|
5316
|
+
yy: ("" + n.getFullYear()).slice(-2),
|
|
5317
|
+
mm: ("0" + (n.getMonth() + 1)).slice(-2),
|
|
5318
|
+
dd: ("0" + n.getDate()).slice(-2),
|
|
5319
|
+
HH: ("0" + n.getHours()).slice(-2),
|
|
5320
|
+
MM: ("0" + n.getMinutes()).slice(-2),
|
|
5321
|
+
SS: ("0" + n.getSeconds()).slice(-2),
|
|
5339
5322
|
__: " ",
|
|
5340
5323
|
_: " "
|
|
5341
5324
|
};
|
|
@@ -5343,8 +5326,8 @@ function sn(a, _) {
|
|
|
5343
5326
|
_ = _.replace(u, c[u]);
|
|
5344
5327
|
return _;
|
|
5345
5328
|
}
|
|
5346
|
-
function
|
|
5347
|
-
value:
|
|
5329
|
+
function Ea({
|
|
5330
|
+
value: n,
|
|
5348
5331
|
onValue: _,
|
|
5349
5332
|
name: c,
|
|
5350
5333
|
error: u,
|
|
@@ -5355,17 +5338,17 @@ function Sn({
|
|
|
5355
5338
|
placeholder: s = "",
|
|
5356
5339
|
className: h
|
|
5357
5340
|
}) {
|
|
5358
|
-
let [o, d] = K.useState(
|
|
5359
|
-
const k = K.useRef(null), [S,
|
|
5341
|
+
let [o, d] = K.useState(n);
|
|
5342
|
+
const k = K.useRef(null), [S, N] = K.useState(!1);
|
|
5360
5343
|
K.useEffect(() => {
|
|
5361
|
-
d(
|
|
5362
|
-
}, [
|
|
5344
|
+
d(n);
|
|
5345
|
+
}, [n]);
|
|
5363
5346
|
let A = (p) => {
|
|
5364
5347
|
d(p), _ && _({ value: p, name: c });
|
|
5365
|
-
},
|
|
5348
|
+
}, $ = (p) => {
|
|
5366
5349
|
if (!C || !O) return;
|
|
5367
|
-
const
|
|
5368
|
-
k.position = { x:
|
|
5350
|
+
const I = p.target.getBoundingClientRect(), q = I.left, Y = I.top;
|
|
5351
|
+
k.position = { x: q, y: Y }, N(!0);
|
|
5369
5352
|
};
|
|
5370
5353
|
const T = {};
|
|
5371
5354
|
return s && (T.placeholder = s), g || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
@@ -5379,24 +5362,24 @@ function Sn({
|
|
|
5379
5362
|
/* @__PURE__ */ f.jsx(
|
|
5380
5363
|
"dd",
|
|
5381
5364
|
{
|
|
5382
|
-
onClick:
|
|
5365
|
+
onClick: $,
|
|
5383
5366
|
...T,
|
|
5384
5367
|
className: [z.f, z.w].join(" "),
|
|
5385
|
-
children:
|
|
5368
|
+
children: da(o, "mm.yyyy")
|
|
5386
5369
|
}
|
|
5387
5370
|
),
|
|
5388
5371
|
u && /* @__PURE__ */ f.jsx("em", { children: u })
|
|
5389
5372
|
]
|
|
5390
5373
|
}
|
|
5391
5374
|
),
|
|
5392
|
-
S &&
|
|
5375
|
+
S && It(
|
|
5393
5376
|
/* @__PURE__ */ f.jsx(
|
|
5394
|
-
|
|
5377
|
+
ua,
|
|
5395
5378
|
{
|
|
5396
5379
|
position: k.position,
|
|
5397
5380
|
onValue: A,
|
|
5398
5381
|
date: o,
|
|
5399
|
-
onOpen:
|
|
5382
|
+
onOpen: N
|
|
5400
5383
|
},
|
|
5401
5384
|
(/* @__PURE__ */ new Date()).getTime()
|
|
5402
5385
|
),
|
|
@@ -5404,7 +5387,7 @@ function Sn({
|
|
|
5404
5387
|
)
|
|
5405
5388
|
] });
|
|
5406
5389
|
}
|
|
5407
|
-
const
|
|
5390
|
+
const ua = ({ onOpen: n, date: _, onValue: c, position: u }) => {
|
|
5408
5391
|
let g = /* @__PURE__ */ new Date(), C = new Date(_), O = {
|
|
5409
5392
|
y: parseInt(g.getFullYear()),
|
|
5410
5393
|
m: parseInt(g.getMonth()) + 1
|
|
@@ -5412,17 +5395,17 @@ const ln = ({ onOpen: a, date: _, onValue: c, position: u }) => {
|
|
|
5412
5395
|
y: parseInt(C.getFullYear()),
|
|
5413
5396
|
m: parseInt(C.getMonth()) + 1
|
|
5414
5397
|
}, [s, h] = K.useState(x.y), o = () => {
|
|
5415
|
-
|
|
5398
|
+
n(!1);
|
|
5416
5399
|
}, d = () => {
|
|
5417
5400
|
h(s + 1);
|
|
5418
5401
|
}, k = () => {
|
|
5419
5402
|
h(s - 1);
|
|
5420
5403
|
}, S = (p) => {
|
|
5421
|
-
c(s + "-" +
|
|
5422
|
-
},
|
|
5404
|
+
c(s + "-" + fa(2, p)), o();
|
|
5405
|
+
}, N = (p) => O.y === x.y && O.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, I) => I + 1), $ = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, T = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5423
5406
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
5424
5407
|
/* @__PURE__ */ f.jsx("div", { className: Rt.o, onClick: o }),
|
|
5425
|
-
/* @__PURE__ */ f.jsxs("div", { className: Rt.c, style: { top:
|
|
5408
|
+
/* @__PURE__ */ f.jsxs("div", { className: Rt.c, style: { top: $ + "px", left: T + "px" }, children: [
|
|
5426
5409
|
/* @__PURE__ */ f.jsxs("s", { children: [
|
|
5427
5410
|
/* @__PURE__ */ f.jsx("i", { onClick: k, children: /* @__PURE__ */ f.jsx(
|
|
5428
5411
|
"svg",
|
|
@@ -5448,30 +5431,30 @@ const ln = ({ onOpen: a, date: _, onValue: c, position: u }) => {
|
|
|
5448
5431
|
}
|
|
5449
5432
|
) })
|
|
5450
5433
|
] }),
|
|
5451
|
-
/* @__PURE__ */ f.jsx("div", { "grid-month": "", children: A.map((p,
|
|
5434
|
+
/* @__PURE__ */ f.jsx("div", { "grid-month": "", children: A.map((p, I) => /* @__PURE__ */ f.jsx(
|
|
5452
5435
|
"span",
|
|
5453
5436
|
{
|
|
5454
5437
|
onClick: () => {
|
|
5455
5438
|
S(p);
|
|
5456
5439
|
},
|
|
5457
|
-
color:
|
|
5458
|
-
children: /* @__PURE__ */ f.jsx("b", { children:
|
|
5440
|
+
color: N(p),
|
|
5441
|
+
children: /* @__PURE__ */ f.jsx("b", { children: ma(p).abc })
|
|
5459
5442
|
},
|
|
5460
|
-
|
|
5443
|
+
I
|
|
5461
5444
|
)) })
|
|
5462
5445
|
] })
|
|
5463
5446
|
] });
|
|
5464
5447
|
};
|
|
5465
|
-
function
|
|
5466
|
-
_ === void 0 ? (_ =
|
|
5448
|
+
function da(n, _) {
|
|
5449
|
+
_ === void 0 ? (_ = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5467
5450
|
let c = {
|
|
5468
|
-
yyyy:
|
|
5469
|
-
yy: ("" +
|
|
5470
|
-
mm: ("0" + (
|
|
5471
|
-
dd: ("0" +
|
|
5472
|
-
HH: ("0" +
|
|
5473
|
-
MM: ("0" +
|
|
5474
|
-
SS: ("0" +
|
|
5451
|
+
yyyy: n.getFullYear(),
|
|
5452
|
+
yy: ("" + n.getFullYear()).slice(-2),
|
|
5453
|
+
mm: ("0" + (n.getMonth() + 1)).slice(-2),
|
|
5454
|
+
dd: ("0" + n.getDate()).slice(-2),
|
|
5455
|
+
HH: ("0" + n.getHours()).slice(-2),
|
|
5456
|
+
MM: ("0" + n.getMinutes()).slice(-2),
|
|
5457
|
+
SS: ("0" + n.getSeconds()).slice(-2),
|
|
5475
5458
|
__: " ",
|
|
5476
5459
|
_: " "
|
|
5477
5460
|
};
|
|
@@ -5479,13 +5462,13 @@ function cn(a, _) {
|
|
|
5479
5462
|
_ = _.replace(u, c[u]);
|
|
5480
5463
|
return _;
|
|
5481
5464
|
}
|
|
5482
|
-
function
|
|
5465
|
+
function fa(n, _) {
|
|
5483
5466
|
let c = _ + "";
|
|
5484
|
-
for (; c.length <
|
|
5467
|
+
for (; c.length < n; ) c = "0" + c;
|
|
5485
5468
|
return c;
|
|
5486
5469
|
}
|
|
5487
|
-
function
|
|
5488
|
-
return
|
|
5470
|
+
function ma(n) {
|
|
5471
|
+
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
5489
5472
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5490
5473
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5491
5474
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5498,10 +5481,10 @@ function dn(a) {
|
|
|
5498
5481
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5499
5482
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5500
5483
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5501
|
-
}[
|
|
5484
|
+
}[n];
|
|
5502
5485
|
}
|
|
5503
|
-
function
|
|
5504
|
-
value:
|
|
5486
|
+
function Oa({
|
|
5487
|
+
value: n,
|
|
5505
5488
|
onValue: _,
|
|
5506
5489
|
name: c,
|
|
5507
5490
|
placeholder: u = "",
|
|
@@ -5515,23 +5498,23 @@ function Rn({
|
|
|
5515
5498
|
course: d = 100,
|
|
5516
5499
|
view: k,
|
|
5517
5500
|
type: S,
|
|
5518
|
-
onSave:
|
|
5501
|
+
onSave: N,
|
|
5519
5502
|
className: A = "",
|
|
5520
|
-
isClear:
|
|
5503
|
+
isClear: $ = !1
|
|
5521
5504
|
}) {
|
|
5522
|
-
let T = !!(O && (
|
|
5505
|
+
let T = !!(O && (n === "" || n === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), I = (R, v) => {
|
|
5523
5506
|
let b = document.createRange(), M = window.getSelection();
|
|
5524
5507
|
b.setStart(v.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), v.focus();
|
|
5525
|
-
},
|
|
5508
|
+
}, q = (R) => {
|
|
5526
5509
|
_ == null || _({
|
|
5527
5510
|
value: p(R.target.textContent) * d,
|
|
5528
5511
|
name: c
|
|
5529
|
-
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 &&
|
|
5530
|
-
},
|
|
5531
|
-
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0),
|
|
5512
|
+
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && I(R.target.textContent.length, R.target);
|
|
5513
|
+
}, Y = (R) => {
|
|
5514
|
+
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }), _ == null || _({
|
|
5532
5515
|
value: p(R.target.textContent) * d,
|
|
5533
5516
|
name: c
|
|
5534
|
-
}), R.target.textContent =
|
|
5517
|
+
}), R.target.textContent = Gt(R.target.textContent);
|
|
5535
5518
|
}, L = (R) => {
|
|
5536
5519
|
R.target.textContent = p(R.target.textContent);
|
|
5537
5520
|
}, U = (R) => {
|
|
@@ -5539,9 +5522,9 @@ function Rn({
|
|
|
5539
5522
|
value: 0,
|
|
5540
5523
|
name: c
|
|
5541
5524
|
});
|
|
5542
|
-
}, N = (R) => {
|
|
5543
|
-
R.key === "Enter" && R.preventDefault();
|
|
5544
5525
|
}, E = (R) => {
|
|
5526
|
+
R.key === "Enter" && R.preventDefault();
|
|
5527
|
+
}, P = (R) => {
|
|
5545
5528
|
R.preventDefault(), navigator.clipboard.readText().then((v) => {
|
|
5546
5529
|
v = v.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, v);
|
|
5547
5530
|
}).catch((v) => {
|
|
@@ -5561,29 +5544,29 @@ function Rn({
|
|
|
5561
5544
|
{
|
|
5562
5545
|
...W,
|
|
5563
5546
|
className: [z.f, z.w].join(" "),
|
|
5564
|
-
onInput:
|
|
5565
|
-
onPaste:
|
|
5566
|
-
onBlur:
|
|
5567
|
-
onKeyDown:
|
|
5547
|
+
onInput: q,
|
|
5548
|
+
onPaste: P,
|
|
5549
|
+
onBlur: Y,
|
|
5550
|
+
onKeyDown: E,
|
|
5568
5551
|
onFocus: L,
|
|
5569
5552
|
contentEditable: x && s ? te.ContentEditable : "false",
|
|
5570
5553
|
suppressContentEditableWarning: !0,
|
|
5571
5554
|
"data-after": h,
|
|
5572
|
-
children: !u ||
|
|
5555
|
+
children: !u || n ? Gt(n) : ""
|
|
5573
5556
|
}
|
|
5574
5557
|
),
|
|
5575
|
-
|
|
5558
|
+
$ && /* @__PURE__ */ f.jsx("svg", { "action-type": "delete", onClick: U, viewBox: "0 0 24 24", children: /* @__PURE__ */ f.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
|
|
5576
5559
|
C ? /* @__PURE__ */ f.jsx("em", { children: C }) : ""
|
|
5577
5560
|
]
|
|
5578
5561
|
}
|
|
5579
5562
|
);
|
|
5580
5563
|
}
|
|
5581
|
-
function
|
|
5582
|
-
return parseFloat(
|
|
5564
|
+
function Gt(n, _) {
|
|
5565
|
+
return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5583
5566
|
}
|
|
5584
5567
|
const he = {};
|
|
5585
|
-
function
|
|
5586
|
-
const [_, c] = K.useState({}), u = K.useRef(
|
|
5568
|
+
function Ta(n) {
|
|
5569
|
+
const [_, c] = K.useState({}), u = K.useRef(n);
|
|
5587
5570
|
return he.u = (g) => {
|
|
5588
5571
|
u.current = { ...u.current, [g.name]: g.value };
|
|
5589
5572
|
}, he.n = (g) => {
|
|
@@ -5592,14 +5575,14 @@ function En(a) {
|
|
|
5592
5575
|
c(Date.now());
|
|
5593
5576
|
}, [u.current, he.n];
|
|
5594
5577
|
}
|
|
5595
|
-
function
|
|
5596
|
-
he.u(
|
|
5578
|
+
function Da(n) {
|
|
5579
|
+
he.u(n), n.reload && he.r();
|
|
5597
5580
|
}
|
|
5598
|
-
function
|
|
5581
|
+
function Pa() {
|
|
5599
5582
|
he.r && he.r();
|
|
5600
5583
|
}
|
|
5601
|
-
function
|
|
5602
|
-
const [_, c] = K.useState({}), u = K.useRef(
|
|
5584
|
+
function Na(n) {
|
|
5585
|
+
const [_, c] = K.useState({}), u = K.useRef(n);
|
|
5603
5586
|
return he.u = (g) => {
|
|
5604
5587
|
u.current = { ...u.current, [g.name]: g.value };
|
|
5605
5588
|
}, he.n = (g) => {
|
|
@@ -5610,22 +5593,27 @@ function Dn(a) {
|
|
|
5610
5593
|
c(Date.now());
|
|
5611
5594
|
}, [u.current, he.n];
|
|
5612
5595
|
}
|
|
5596
|
+
function Ft() {
|
|
5597
|
+
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
5598
|
+
}
|
|
5599
|
+
Ft().elcrm || (Ft().elcrm = {});
|
|
5600
|
+
Object.assign(Ft().elcrm, { form: Zt.version });
|
|
5613
5601
|
export {
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5602
|
+
Ra as Date,
|
|
5603
|
+
xa as Mask,
|
|
5604
|
+
ka as Modal,
|
|
5605
|
+
Oa as Money,
|
|
5606
|
+
Ea as Month,
|
|
5607
|
+
Ca as Note,
|
|
5608
|
+
ja as Number,
|
|
5609
|
+
ha as Options,
|
|
5610
|
+
wa as Password,
|
|
5611
|
+
Sa as Phone,
|
|
5612
|
+
va as Progress,
|
|
5613
|
+
ba as Select,
|
|
5614
|
+
ga as String,
|
|
5615
|
+
Pa as runReload,
|
|
5616
|
+
Da as setValue,
|
|
5617
|
+
Ta as useData,
|
|
5618
|
+
Na as useError
|
|
5631
5619
|
};
|