@elcrm/form 0.0.29 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +355 -351
- package/dist/index.umd.js +13 -13
- package/dist/src/lib/Field.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import W, { useEffect as Jt } from "react";
|
|
2
2
|
import { createPortal as Mt } from "react-dom";
|
|
3
|
-
import './index.css';const Zt = "0.0.
|
|
3
|
+
import './index.css';const Zt = "0.0.30", Vt = {
|
|
4
4
|
version: Zt
|
|
5
5
|
};
|
|
6
|
-
var Tt = { exports: {} },
|
|
6
|
+
var Tt = { exports: {} }, mt = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -15,7 +15,7 @@ var Tt = { exports: {} }, pt = {};
|
|
|
15
15
|
*/
|
|
16
16
|
var $t;
|
|
17
17
|
function Xt() {
|
|
18
|
-
if ($t) return
|
|
18
|
+
if ($t) return mt;
|
|
19
19
|
$t = 1;
|
|
20
20
|
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function T(x, s, g) {
|
|
@@ -25,9 +25,9 @@ function Xt() {
|
|
|
25
25
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
26
26
|
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return mt.Fragment = c, mt.jsx = T, mt.jsxs = T, mt;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var pt = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -48,7 +48,7 @@ function Qt() {
|
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
50
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
-
function
|
|
51
|
+
function m(e) {
|
|
52
52
|
{
|
|
53
53
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
54
54
|
r[a - 1] = arguments[a];
|
|
@@ -59,10 +59,10 @@ function Qt() {
|
|
|
59
59
|
{
|
|
60
60
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
62
|
-
var
|
|
62
|
+
var p = r.map(function(l) {
|
|
63
63
|
return String(l);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
@@ -87,7 +87,7 @@ function Qt() {
|
|
|
87
87
|
function b(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
|
-
if (typeof e.tag == "number" &&
|
|
90
|
+
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
91
91
|
return e.displayName || e.name || null;
|
|
92
92
|
if (typeof e == "string")
|
|
93
93
|
return e;
|
|
@@ -119,9 +119,9 @@ function Qt() {
|
|
|
119
119
|
var a = e.displayName || null;
|
|
120
120
|
return a !== null ? a : b(e.type) || "Memo";
|
|
121
121
|
case k: {
|
|
122
|
-
var f = e,
|
|
122
|
+
var f = e, p = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
124
|
-
return b(l(
|
|
124
|
+
return b(l(p));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -188,7 +188,7 @@ function Qt() {
|
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
Y < 0 &&
|
|
191
|
+
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var le = O.ReactCurrentDispatcher, ce;
|
|
@@ -222,8 +222,8 @@ function Qt() {
|
|
|
222
222
|
ue = !0;
|
|
223
223
|
var f = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var p;
|
|
226
|
+
p = le.current, le.current = null, Le();
|
|
227
227
|
try {
|
|
228
228
|
if (t) {
|
|
229
229
|
var l = function() {
|
|
@@ -276,7 +276,7 @@ function Qt() {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
ue = !1, le.current =
|
|
279
|
+
ue = !1, le.current = p, We(), Error.prepareStackTrace = f;
|
|
280
280
|
}
|
|
281
281
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
282
282
|
return typeof e == "function" && ae.set(e, z), z;
|
|
@@ -308,9 +308,9 @@ function Qt() {
|
|
|
308
308
|
case d:
|
|
309
309
|
return ne(e.type, t, r);
|
|
310
310
|
case k: {
|
|
311
|
-
var a = e, f = a._payload,
|
|
311
|
+
var a = e, f = a._payload, p = a._init;
|
|
312
312
|
try {
|
|
313
|
-
return ne(
|
|
313
|
+
return ne(p(f), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -327,9 +327,9 @@ function Qt() {
|
|
|
327
327
|
}
|
|
328
328
|
function Ye(e, t, r, a, f) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
330
|
+
var p = Function.call.bind(X);
|
|
331
331
|
for (var l in e)
|
|
332
|
-
if (
|
|
332
|
+
if (p(e, l)) {
|
|
333
333
|
var _ = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
@@ -340,7 +340,7 @@ function Qt() {
|
|
|
340
340
|
} catch (w) {
|
|
341
341
|
_ = w;
|
|
342
342
|
}
|
|
343
|
-
_ && !(_ instanceof Error) && (oe(f),
|
|
343
|
+
_ && !(_ instanceof Error) && (oe(f), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), m("Failed %s type: %s", r, _.message), oe(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -366,7 +366,7 @@ function Qt() {
|
|
|
366
366
|
}
|
|
367
367
|
function Re(e) {
|
|
368
368
|
if (He(e))
|
|
369
|
-
return
|
|
369
|
+
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
370
370
|
}
|
|
371
371
|
var Ee = O.ReactCurrentOwner, Je = {
|
|
372
372
|
key: !0,
|
|
@@ -396,7 +396,7 @@ function Qt() {
|
|
|
396
396
|
function Qe(e, t) {
|
|
397
397
|
{
|
|
398
398
|
var r = function() {
|
|
399
|
-
Oe || (Oe = !0,
|
|
399
|
+
Oe || (Oe = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
400
400
|
};
|
|
401
401
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
402
402
|
get: r,
|
|
@@ -407,7 +407,7 @@ function Qt() {
|
|
|
407
407
|
function et(e, t) {
|
|
408
408
|
{
|
|
409
409
|
var r = function() {
|
|
410
|
-
Te || (Te = !0,
|
|
410
|
+
Te || (Te = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
411
411
|
};
|
|
412
412
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
413
413
|
get: r,
|
|
@@ -415,7 +415,7 @@ function Qt() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var tt = function(e, t, r, a, f,
|
|
418
|
+
var tt = function(e, t, r, a, f, p, l) {
|
|
419
419
|
var _ = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
421
|
$$typeof: i,
|
|
@@ -425,7 +425,7 @@ function Qt() {
|
|
|
425
425
|
ref: r,
|
|
426
426
|
props: l,
|
|
427
427
|
// Record the component responsible for creating this element.
|
|
428
|
-
_owner:
|
|
428
|
+
_owner: p
|
|
429
429
|
};
|
|
430
430
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
431
431
|
configurable: !1,
|
|
@@ -446,14 +446,14 @@ function Qt() {
|
|
|
446
446
|
};
|
|
447
447
|
function rt(e, t, r, a, f) {
|
|
448
448
|
{
|
|
449
|
-
var
|
|
449
|
+
var p, l = {}, _ = null, D = null;
|
|
450
450
|
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t, f));
|
|
451
|
-
for (
|
|
452
|
-
X.call(t,
|
|
451
|
+
for (p in t)
|
|
452
|
+
X.call(t, p) && !Je.hasOwnProperty(p) && (l[p] = t[p]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
454
454
|
var w = e.defaultProps;
|
|
455
|
-
for (
|
|
456
|
-
l[
|
|
455
|
+
for (p in w)
|
|
456
|
+
l[p] === void 0 && (l[p] = w[p]);
|
|
457
457
|
}
|
|
458
458
|
if (_ || D) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
@@ -470,9 +470,9 @@ function Qt() {
|
|
|
470
470
|
} else
|
|
471
471
|
De.setExtraStackFrame(null);
|
|
472
472
|
}
|
|
473
|
-
var
|
|
474
|
-
|
|
475
|
-
function
|
|
473
|
+
var me;
|
|
474
|
+
me = !1;
|
|
475
|
+
function pe(e) {
|
|
476
476
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
477
477
|
}
|
|
478
478
|
function Pe() {
|
|
@@ -513,7 +513,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
513
513
|
return;
|
|
514
514
|
Ne[r] = !0;
|
|
515
515
|
var a = "";
|
|
516
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e),
|
|
516
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ie(e, t) {
|
|
@@ -523,15 +523,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
523
523
|
if (de(e))
|
|
524
524
|
for (var r = 0; r < e.length; r++) {
|
|
525
525
|
var a = e[r];
|
|
526
|
-
|
|
526
|
+
pe(a) && Fe(a, t);
|
|
527
527
|
}
|
|
528
|
-
else if (
|
|
528
|
+
else if (pe(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
531
|
var f = $(e);
|
|
532
532
|
if (typeof f == "function" && f !== e.entries)
|
|
533
|
-
for (var
|
|
534
|
-
|
|
533
|
+
for (var p = f.call(e), l; !(l = p.next()).done; )
|
|
534
|
+
pe(l.value) && Fe(l.value, t);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
}
|
|
@@ -552,12 +552,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
552
552
|
if (r) {
|
|
553
553
|
var a = b(t);
|
|
554
554
|
Ye(r, e.props, "prop", a, e);
|
|
555
|
-
} else if (t.PropTypes !== void 0 && !
|
|
556
|
-
|
|
555
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
556
|
+
me = !0;
|
|
557
557
|
var f = b(t);
|
|
558
|
-
|
|
558
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
559
559
|
}
|
|
560
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
560
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
function it(e) {
|
|
@@ -565,15 +565,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
565
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
566
|
var a = t[r];
|
|
567
567
|
if (a !== "children" && a !== "key") {
|
|
568
|
-
J(e),
|
|
568
|
+
J(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
e.ref !== null && (J(e),
|
|
572
|
+
e.ref !== null && (J(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var Me = {};
|
|
576
|
-
function $e(e, t, r, a, f,
|
|
576
|
+
function $e(e, t, r, a, f, p) {
|
|
577
577
|
{
|
|
578
578
|
var l = U(e);
|
|
579
579
|
if (!l) {
|
|
@@ -582,9 +582,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
582
582
|
var D = at();
|
|
583
583
|
D ? _ += D : _ += Pe();
|
|
584
584
|
var w;
|
|
585
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e,
|
|
585
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
586
586
|
}
|
|
587
|
-
var j = rt(e, t, r, f,
|
|
587
|
+
var j = rt(e, t, r, f, p);
|
|
588
588
|
if (j == null)
|
|
589
589
|
return j;
|
|
590
590
|
if (l) {
|
|
@@ -596,7 +596,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
596
596
|
Ie(B[Z], e);
|
|
597
597
|
Object.freeze && Object.freeze(B);
|
|
598
598
|
} else
|
|
599
|
-
|
|
599
|
+
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
600
|
else
|
|
601
601
|
Ie(B, e);
|
|
602
602
|
}
|
|
@@ -606,7 +606,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
606
606
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!Me[z + ye]) {
|
|
608
608
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
-
|
|
609
|
+
m(`A props object containing a "key" prop is being spread into JSX:
|
|
610
610
|
let props = %s;
|
|
611
611
|
<%s {...props} />
|
|
612
612
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -624,12 +624,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
return $e(e, t, r, !1);
|
|
625
625
|
}
|
|
626
626
|
var lt = st, ct = _t;
|
|
627
|
-
|
|
628
|
-
}()),
|
|
627
|
+
pt.Fragment = u, pt.jsx = lt, pt.jsxs = ct;
|
|
628
|
+
}()), pt;
|
|
629
629
|
}
|
|
630
630
|
process.env.NODE_ENV === "production" ? Tt.exports = Xt() : Tt.exports = Qt();
|
|
631
631
|
var y = Tt.exports;
|
|
632
|
-
function
|
|
632
|
+
function ga({ name: n, value: i, title: c, style: u, className: v }) {
|
|
633
633
|
let C = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
@@ -670,12 +670,13 @@ te.Blur = (n) => {
|
|
|
670
670
|
n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
te.ContentEditable = "plaintext-only";
|
|
673
|
-
const er = "_l_mc013_13", tr = "_f_mc013_35", rr = "_n_mc013_52", ar = "_w_mc013_57", nr = "_t_mc013_67", V = {
|
|
673
|
+
const er = "_l_mc013_13", tr = "_f_mc013_35", rr = "_n_mc013_52", ar = "_w_mc013_57", nr = "_t_mc013_67", or = "_g_mc013_72", V = {
|
|
674
674
|
l: er,
|
|
675
675
|
f: tr,
|
|
676
676
|
n: rr,
|
|
677
677
|
w: ar,
|
|
678
|
-
t: nr
|
|
678
|
+
t: nr,
|
|
679
|
+
g: or
|
|
679
680
|
};
|
|
680
681
|
function bt({
|
|
681
682
|
element_blok: n,
|
|
@@ -684,20 +685,22 @@ function bt({
|
|
|
684
685
|
title: u,
|
|
685
686
|
before: v,
|
|
686
687
|
after: C,
|
|
687
|
-
children: T
|
|
688
|
+
children: T,
|
|
689
|
+
ref: x
|
|
688
690
|
}) {
|
|
689
691
|
return /* @__PURE__ */ y.jsxs(
|
|
690
692
|
"dl",
|
|
691
693
|
{
|
|
692
694
|
"data-field": c,
|
|
693
695
|
...i.props,
|
|
694
|
-
className: [V.l, ...n.className].filter((
|
|
696
|
+
className: [V.l, ...n.className].filter((s) => s !== void 0).join(" "),
|
|
695
697
|
children: [
|
|
696
698
|
u ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: u }) : "",
|
|
697
699
|
v,
|
|
698
700
|
/* @__PURE__ */ y.jsx(
|
|
699
701
|
"dd",
|
|
700
702
|
{
|
|
703
|
+
ref: x,
|
|
701
704
|
className: [V.f, ...i.className].join(
|
|
702
705
|
" "
|
|
703
706
|
),
|
|
@@ -710,7 +713,7 @@ function bt({
|
|
|
710
713
|
}
|
|
711
714
|
);
|
|
712
715
|
}
|
|
713
|
-
function
|
|
716
|
+
function ha({
|
|
714
717
|
id: n,
|
|
715
718
|
value: i,
|
|
716
719
|
onValue: c,
|
|
@@ -730,7 +733,7 @@ function ga({
|
|
|
730
733
|
isCopy: $ = !0,
|
|
731
734
|
isReload: O = !1
|
|
732
735
|
}) {
|
|
733
|
-
let
|
|
736
|
+
let m = !!(x && (i === "" || i === void 0)), I = (E) => {
|
|
734
737
|
c && c({
|
|
735
738
|
value: E.target.textContent.trim(),
|
|
736
739
|
name: u,
|
|
@@ -753,7 +756,7 @@ function ga({
|
|
|
753
756
|
}).catch((P) => {
|
|
754
757
|
});
|
|
755
758
|
};
|
|
756
|
-
if (!(s && g) && !k || !(s && g) &&
|
|
759
|
+
if (!(s && g) && !k || !(s && g) && m) return "";
|
|
757
760
|
const L = {};
|
|
758
761
|
v && (L.placeholder = v), s && g && (L.edit = "");
|
|
759
762
|
const q = (E) => {
|
|
@@ -794,7 +797,7 @@ var Dt = { exports: {} }, yt = {};
|
|
|
794
797
|
* LICENSE file in the root directory of this source tree.
|
|
795
798
|
*/
|
|
796
799
|
var Bt;
|
|
797
|
-
function
|
|
800
|
+
function ir() {
|
|
798
801
|
if (Bt) return yt;
|
|
799
802
|
Bt = 1;
|
|
800
803
|
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
@@ -818,7 +821,7 @@ var kt = {};
|
|
|
818
821
|
* LICENSE file in the root directory of this source tree.
|
|
819
822
|
*/
|
|
820
823
|
var Lt;
|
|
821
|
-
function
|
|
824
|
+
function _r() {
|
|
822
825
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
823
826
|
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
824
827
|
function $(e) {
|
|
@@ -828,7 +831,7 @@ function ir() {
|
|
|
828
831
|
return typeof t == "function" ? t : null;
|
|
829
832
|
}
|
|
830
833
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
831
|
-
function
|
|
834
|
+
function m(e) {
|
|
832
835
|
{
|
|
833
836
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
834
837
|
r[a - 1] = arguments[a];
|
|
@@ -839,10 +842,10 @@ function ir() {
|
|
|
839
842
|
{
|
|
840
843
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
841
844
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
842
|
-
var
|
|
845
|
+
var p = r.map(function(l) {
|
|
843
846
|
return String(l);
|
|
844
847
|
});
|
|
845
|
-
|
|
848
|
+
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
846
849
|
}
|
|
847
850
|
}
|
|
848
851
|
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
@@ -867,7 +870,7 @@ function ir() {
|
|
|
867
870
|
function b(e) {
|
|
868
871
|
if (e == null)
|
|
869
872
|
return null;
|
|
870
|
-
if (typeof e.tag == "number" &&
|
|
873
|
+
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
871
874
|
return e.displayName || e.name || null;
|
|
872
875
|
if (typeof e == "string")
|
|
873
876
|
return e;
|
|
@@ -899,9 +902,9 @@ function ir() {
|
|
|
899
902
|
var a = e.displayName || null;
|
|
900
903
|
return a !== null ? a : b(e.type) || "Memo";
|
|
901
904
|
case k: {
|
|
902
|
-
var f = e,
|
|
905
|
+
var f = e, p = f._payload, l = f._init;
|
|
903
906
|
try {
|
|
904
|
-
return b(l(
|
|
907
|
+
return b(l(p));
|
|
905
908
|
} catch {
|
|
906
909
|
return null;
|
|
907
910
|
}
|
|
@@ -968,7 +971,7 @@ function ir() {
|
|
|
968
971
|
})
|
|
969
972
|
});
|
|
970
973
|
}
|
|
971
|
-
Y < 0 &&
|
|
974
|
+
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
972
975
|
}
|
|
973
976
|
}
|
|
974
977
|
var le = O.ReactCurrentDispatcher, ce;
|
|
@@ -1002,8 +1005,8 @@ function ir() {
|
|
|
1002
1005
|
ue = !0;
|
|
1003
1006
|
var f = Error.prepareStackTrace;
|
|
1004
1007
|
Error.prepareStackTrace = void 0;
|
|
1005
|
-
var
|
|
1006
|
-
|
|
1008
|
+
var p;
|
|
1009
|
+
p = le.current, le.current = null, Le();
|
|
1007
1010
|
try {
|
|
1008
1011
|
if (t) {
|
|
1009
1012
|
var l = function() {
|
|
@@ -1056,7 +1059,7 @@ function ir() {
|
|
|
1056
1059
|
}
|
|
1057
1060
|
}
|
|
1058
1061
|
} finally {
|
|
1059
|
-
ue = !1, le.current =
|
|
1062
|
+
ue = !1, le.current = p, We(), Error.prepareStackTrace = f;
|
|
1060
1063
|
}
|
|
1061
1064
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1062
1065
|
return typeof e == "function" && ae.set(e, z), z;
|
|
@@ -1088,9 +1091,9 @@ function ir() {
|
|
|
1088
1091
|
case d:
|
|
1089
1092
|
return ne(e.type, t, r);
|
|
1090
1093
|
case k: {
|
|
1091
|
-
var a = e, f = a._payload,
|
|
1094
|
+
var a = e, f = a._payload, p = a._init;
|
|
1092
1095
|
try {
|
|
1093
|
-
return ne(
|
|
1096
|
+
return ne(p(f), t, r);
|
|
1094
1097
|
} catch {
|
|
1095
1098
|
}
|
|
1096
1099
|
}
|
|
@@ -1107,9 +1110,9 @@ function ir() {
|
|
|
1107
1110
|
}
|
|
1108
1111
|
function Ye(e, t, r, a, f) {
|
|
1109
1112
|
{
|
|
1110
|
-
var
|
|
1113
|
+
var p = Function.call.bind(X);
|
|
1111
1114
|
for (var l in e)
|
|
1112
|
-
if (
|
|
1115
|
+
if (p(e, l)) {
|
|
1113
1116
|
var _ = void 0;
|
|
1114
1117
|
try {
|
|
1115
1118
|
if (typeof e[l] != "function") {
|
|
@@ -1120,7 +1123,7 @@ function ir() {
|
|
|
1120
1123
|
} catch (w) {
|
|
1121
1124
|
_ = w;
|
|
1122
1125
|
}
|
|
1123
|
-
_ && !(_ instanceof Error) && (oe(f),
|
|
1126
|
+
_ && !(_ instanceof Error) && (oe(f), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), m("Failed %s type: %s", r, _.message), oe(null));
|
|
1124
1127
|
}
|
|
1125
1128
|
}
|
|
1126
1129
|
}
|
|
@@ -1146,7 +1149,7 @@ function ir() {
|
|
|
1146
1149
|
}
|
|
1147
1150
|
function Re(e) {
|
|
1148
1151
|
if (He(e))
|
|
1149
|
-
return
|
|
1152
|
+
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
1150
1153
|
}
|
|
1151
1154
|
var Ee = O.ReactCurrentOwner, Je = {
|
|
1152
1155
|
key: !0,
|
|
@@ -1176,7 +1179,7 @@ function ir() {
|
|
|
1176
1179
|
function Qe(e, t) {
|
|
1177
1180
|
{
|
|
1178
1181
|
var r = function() {
|
|
1179
|
-
Oe || (Oe = !0,
|
|
1182
|
+
Oe || (Oe = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1180
1183
|
};
|
|
1181
1184
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1182
1185
|
get: r,
|
|
@@ -1187,7 +1190,7 @@ function ir() {
|
|
|
1187
1190
|
function et(e, t) {
|
|
1188
1191
|
{
|
|
1189
1192
|
var r = function() {
|
|
1190
|
-
Te || (Te = !0,
|
|
1193
|
+
Te || (Te = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1191
1194
|
};
|
|
1192
1195
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1193
1196
|
get: r,
|
|
@@ -1195,7 +1198,7 @@ function ir() {
|
|
|
1195
1198
|
});
|
|
1196
1199
|
}
|
|
1197
1200
|
}
|
|
1198
|
-
var tt = function(e, t, r, a, f,
|
|
1201
|
+
var tt = function(e, t, r, a, f, p, l) {
|
|
1199
1202
|
var _ = {
|
|
1200
1203
|
// This tag allows us to uniquely identify this as a React Element
|
|
1201
1204
|
$$typeof: i,
|
|
@@ -1205,7 +1208,7 @@ function ir() {
|
|
|
1205
1208
|
ref: r,
|
|
1206
1209
|
props: l,
|
|
1207
1210
|
// Record the component responsible for creating this element.
|
|
1208
|
-
_owner:
|
|
1211
|
+
_owner: p
|
|
1209
1212
|
};
|
|
1210
1213
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1211
1214
|
configurable: !1,
|
|
@@ -1226,14 +1229,14 @@ function ir() {
|
|
|
1226
1229
|
};
|
|
1227
1230
|
function rt(e, t, r, a, f) {
|
|
1228
1231
|
{
|
|
1229
|
-
var
|
|
1232
|
+
var p, l = {}, _ = null, D = null;
|
|
1230
1233
|
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
1231
|
-
for (
|
|
1232
|
-
X.call(t,
|
|
1234
|
+
for (p in t)
|
|
1235
|
+
X.call(t, p) && !Je.hasOwnProperty(p) && (l[p] = t[p]);
|
|
1233
1236
|
if (e && e.defaultProps) {
|
|
1234
1237
|
var w = e.defaultProps;
|
|
1235
|
-
for (
|
|
1236
|
-
l[
|
|
1238
|
+
for (p in w)
|
|
1239
|
+
l[p] === void 0 && (l[p] = w[p]);
|
|
1237
1240
|
}
|
|
1238
1241
|
if (_ || D) {
|
|
1239
1242
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
@@ -1250,9 +1253,9 @@ function ir() {
|
|
|
1250
1253
|
} else
|
|
1251
1254
|
De.setExtraStackFrame(null);
|
|
1252
1255
|
}
|
|
1253
|
-
var
|
|
1254
|
-
|
|
1255
|
-
function
|
|
1256
|
+
var me;
|
|
1257
|
+
me = !1;
|
|
1258
|
+
function pe(e) {
|
|
1256
1259
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1257
1260
|
}
|
|
1258
1261
|
function Pe() {
|
|
@@ -1293,7 +1296,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1293
1296
|
return;
|
|
1294
1297
|
Ne[r] = !0;
|
|
1295
1298
|
var a = "";
|
|
1296
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e),
|
|
1299
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
1297
1300
|
}
|
|
1298
1301
|
}
|
|
1299
1302
|
function Ie(e, t) {
|
|
@@ -1303,15 +1306,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1303
1306
|
if (de(e))
|
|
1304
1307
|
for (var r = 0; r < e.length; r++) {
|
|
1305
1308
|
var a = e[r];
|
|
1306
|
-
|
|
1309
|
+
pe(a) && Fe(a, t);
|
|
1307
1310
|
}
|
|
1308
|
-
else if (
|
|
1311
|
+
else if (pe(e))
|
|
1309
1312
|
e._store && (e._store.validated = !0);
|
|
1310
1313
|
else if (e) {
|
|
1311
1314
|
var f = $(e);
|
|
1312
1315
|
if (typeof f == "function" && f !== e.entries)
|
|
1313
|
-
for (var
|
|
1314
|
-
|
|
1316
|
+
for (var p = f.call(e), l; !(l = p.next()).done; )
|
|
1317
|
+
pe(l.value) && Fe(l.value, t);
|
|
1315
1318
|
}
|
|
1316
1319
|
}
|
|
1317
1320
|
}
|
|
@@ -1332,12 +1335,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1332
1335
|
if (r) {
|
|
1333
1336
|
var a = b(t);
|
|
1334
1337
|
Ye(r, e.props, "prop", a, e);
|
|
1335
|
-
} else if (t.PropTypes !== void 0 && !
|
|
1336
|
-
|
|
1338
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
1339
|
+
me = !0;
|
|
1337
1340
|
var f = b(t);
|
|
1338
|
-
|
|
1341
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
1339
1342
|
}
|
|
1340
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
1343
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1341
1344
|
}
|
|
1342
1345
|
}
|
|
1343
1346
|
function it(e) {
|
|
@@ -1345,15 +1348,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1345
1348
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1346
1349
|
var a = t[r];
|
|
1347
1350
|
if (a !== "children" && a !== "key") {
|
|
1348
|
-
J(e),
|
|
1351
|
+
J(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
1349
1352
|
break;
|
|
1350
1353
|
}
|
|
1351
1354
|
}
|
|
1352
|
-
e.ref !== null && (J(e),
|
|
1355
|
+
e.ref !== null && (J(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
1353
1356
|
}
|
|
1354
1357
|
}
|
|
1355
1358
|
var Me = {};
|
|
1356
|
-
function $e(e, t, r, a, f,
|
|
1359
|
+
function $e(e, t, r, a, f, p) {
|
|
1357
1360
|
{
|
|
1358
1361
|
var l = U(e);
|
|
1359
1362
|
if (!l) {
|
|
@@ -1362,9 +1365,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1362
1365
|
var D = at();
|
|
1363
1366
|
D ? _ += D : _ += Pe();
|
|
1364
1367
|
var w;
|
|
1365
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e,
|
|
1368
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
1366
1369
|
}
|
|
1367
|
-
var j = rt(e, t, r, f,
|
|
1370
|
+
var j = rt(e, t, r, f, p);
|
|
1368
1371
|
if (j == null)
|
|
1369
1372
|
return j;
|
|
1370
1373
|
if (l) {
|
|
@@ -1376,7 +1379,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1376
1379
|
Ie(B[Z], e);
|
|
1377
1380
|
Object.freeze && Object.freeze(B);
|
|
1378
1381
|
} else
|
|
1379
|
-
|
|
1382
|
+
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1380
1383
|
else
|
|
1381
1384
|
Ie(B, e);
|
|
1382
1385
|
}
|
|
@@ -1386,7 +1389,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1386
1389
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1387
1390
|
if (!Me[z + ye]) {
|
|
1388
1391
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
1389
|
-
|
|
1392
|
+
m(`A props object containing a "key" prop is being spread into JSX:
|
|
1390
1393
|
let props = %s;
|
|
1391
1394
|
<%s {...props} />
|
|
1392
1395
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -1407,33 +1410,33 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1407
1410
|
kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
|
|
1408
1411
|
}()), kt;
|
|
1409
1412
|
}
|
|
1410
|
-
process.env.NODE_ENV === "production" ? Dt.exports =
|
|
1413
|
+
process.env.NODE_ENV === "production" ? Dt.exports = ir() : Dt.exports = _r();
|
|
1411
1414
|
var H = Dt.exports;
|
|
1412
|
-
const
|
|
1413
|
-
shake:
|
|
1414
|
-
modal:
|
|
1415
|
-
sa:
|
|
1416
|
-
ss:
|
|
1417
|
-
sm:
|
|
1418
|
-
sl:
|
|
1419
|
-
sx:
|
|
1415
|
+
const sr = "_shake_oqfdb_1", lr = "_modal_oqfdb_79", cr = "_sa_oqfdb_89", ur = "_ss_oqfdb_94", dr = "_sm_oqfdb_98", fr = "_sl_oqfdb_102", mr = "_sx_oqfdb_106", pr = "_sf_oqfdb_110", yr = "_o_oqfdb_116", vr = "_b_oqfdb_28", gr = "_w_oqfdb_15", hr = "_h_oqfdb_146", br = "_l_oqfdb_160", kr = "_t_oqfdb_197", wr = "_x_oqfdb_201", jr = "_s_oqfdb_89", xr = "_c_oqfdb_219", Cr = "_f_oqfdb_224", Sr = "_r__oqfdb_235", Rr = "_c__oqfdb_250", Er = "_g_oqfdb_259", Or = "_m_oqfdb_79", _e = {
|
|
1416
|
+
shake: sr,
|
|
1417
|
+
modal: lr,
|
|
1418
|
+
sa: cr,
|
|
1419
|
+
ss: ur,
|
|
1420
|
+
sm: dr,
|
|
1421
|
+
sl: fr,
|
|
1422
|
+
sx: mr,
|
|
1420
1423
|
sf: pr,
|
|
1421
|
-
o:
|
|
1422
|
-
b:
|
|
1423
|
-
w:
|
|
1424
|
-
h:
|
|
1425
|
-
l:
|
|
1426
|
-
t:
|
|
1427
|
-
x:
|
|
1428
|
-
s:
|
|
1429
|
-
c:
|
|
1430
|
-
f:
|
|
1431
|
-
r_:
|
|
1432
|
-
c_:
|
|
1433
|
-
g:
|
|
1434
|
-
m:
|
|
1424
|
+
o: yr,
|
|
1425
|
+
b: vr,
|
|
1426
|
+
w: gr,
|
|
1427
|
+
h: hr,
|
|
1428
|
+
l: br,
|
|
1429
|
+
t: kr,
|
|
1430
|
+
x: wr,
|
|
1431
|
+
s: jr,
|
|
1432
|
+
c: xr,
|
|
1433
|
+
f: Cr,
|
|
1434
|
+
r_: Sr,
|
|
1435
|
+
c_: Rr,
|
|
1436
|
+
g: Er,
|
|
1437
|
+
m: Or
|
|
1435
1438
|
};
|
|
1436
|
-
function
|
|
1439
|
+
function Tr({ children: n, className: i }) {
|
|
1437
1440
|
return /* @__PURE__ */ H.jsx(
|
|
1438
1441
|
"div",
|
|
1439
1442
|
{
|
|
@@ -1442,7 +1445,7 @@ function Or({ children: n, className: i }) {
|
|
|
1442
1445
|
}
|
|
1443
1446
|
);
|
|
1444
1447
|
}
|
|
1445
|
-
function
|
|
1448
|
+
function Dr({ children: n, className: i }) {
|
|
1446
1449
|
return /* @__PURE__ */ H.jsx(
|
|
1447
1450
|
"div",
|
|
1448
1451
|
{
|
|
@@ -1451,7 +1454,7 @@ function Tr({ children: n, className: i }) {
|
|
|
1451
1454
|
}
|
|
1452
1455
|
);
|
|
1453
1456
|
}
|
|
1454
|
-
function
|
|
1457
|
+
function Pr({
|
|
1455
1458
|
children: n,
|
|
1456
1459
|
direction: i = "column",
|
|
1457
1460
|
className: c
|
|
@@ -1468,7 +1471,7 @@ function Dr({
|
|
|
1468
1471
|
}
|
|
1469
1472
|
);
|
|
1470
1473
|
}
|
|
1471
|
-
function
|
|
1474
|
+
function Nr({ children: n, className: i }) {
|
|
1472
1475
|
return /* @__PURE__ */ H.jsx(
|
|
1473
1476
|
"div",
|
|
1474
1477
|
{
|
|
@@ -1477,7 +1480,7 @@ function Pr({ children: n, className: i }) {
|
|
|
1477
1480
|
}
|
|
1478
1481
|
);
|
|
1479
1482
|
}
|
|
1480
|
-
function
|
|
1483
|
+
function Fr({ children: n, className: i }) {
|
|
1481
1484
|
return /* @__PURE__ */ H.jsx(
|
|
1482
1485
|
"div",
|
|
1483
1486
|
{
|
|
@@ -1486,11 +1489,11 @@ function Nr({ children: n, className: i }) {
|
|
|
1486
1489
|
}
|
|
1487
1490
|
);
|
|
1488
1491
|
}
|
|
1489
|
-
function
|
|
1492
|
+
function Ir() {
|
|
1490
1493
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1491
1494
|
}
|
|
1492
1495
|
function Wt(n) {
|
|
1493
|
-
return
|
|
1496
|
+
return Ir().IMPORT_MODULES;
|
|
1494
1497
|
}
|
|
1495
1498
|
var Pt = { exports: {} }, vt = {};
|
|
1496
1499
|
/**
|
|
@@ -1503,7 +1506,7 @@ var Pt = { exports: {} }, vt = {};
|
|
|
1503
1506
|
* LICENSE file in the root directory of this source tree.
|
|
1504
1507
|
*/
|
|
1505
1508
|
var Ut;
|
|
1506
|
-
function
|
|
1509
|
+
function Mr() {
|
|
1507
1510
|
if (Ut) return vt;
|
|
1508
1511
|
Ut = 1;
|
|
1509
1512
|
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
@@ -1527,7 +1530,7 @@ var wt = {};
|
|
|
1527
1530
|
* LICENSE file in the root directory of this source tree.
|
|
1528
1531
|
*/
|
|
1529
1532
|
var Kt;
|
|
1530
|
-
function
|
|
1533
|
+
function $r() {
|
|
1531
1534
|
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1532
1535
|
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
1533
1536
|
function $(e) {
|
|
@@ -1537,7 +1540,7 @@ function Mr() {
|
|
|
1537
1540
|
return typeof t == "function" ? t : null;
|
|
1538
1541
|
}
|
|
1539
1542
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1540
|
-
function
|
|
1543
|
+
function m(e) {
|
|
1541
1544
|
{
|
|
1542
1545
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1543
1546
|
r[a - 1] = arguments[a];
|
|
@@ -1548,10 +1551,10 @@ function Mr() {
|
|
|
1548
1551
|
{
|
|
1549
1552
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
1550
1553
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
1551
|
-
var
|
|
1554
|
+
var p = r.map(function(l) {
|
|
1552
1555
|
return String(l);
|
|
1553
1556
|
});
|
|
1554
|
-
|
|
1557
|
+
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
1555
1558
|
}
|
|
1556
1559
|
}
|
|
1557
1560
|
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
@@ -1576,7 +1579,7 @@ function Mr() {
|
|
|
1576
1579
|
function b(e) {
|
|
1577
1580
|
if (e == null)
|
|
1578
1581
|
return null;
|
|
1579
|
-
if (typeof e.tag == "number" &&
|
|
1582
|
+
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
1580
1583
|
return e.displayName || e.name || null;
|
|
1581
1584
|
if (typeof e == "string")
|
|
1582
1585
|
return e;
|
|
@@ -1608,9 +1611,9 @@ function Mr() {
|
|
|
1608
1611
|
var a = e.displayName || null;
|
|
1609
1612
|
return a !== null ? a : b(e.type) || "Memo";
|
|
1610
1613
|
case k: {
|
|
1611
|
-
var f = e,
|
|
1614
|
+
var f = e, p = f._payload, l = f._init;
|
|
1612
1615
|
try {
|
|
1613
|
-
return b(l(
|
|
1616
|
+
return b(l(p));
|
|
1614
1617
|
} catch {
|
|
1615
1618
|
return null;
|
|
1616
1619
|
}
|
|
@@ -1677,7 +1680,7 @@ function Mr() {
|
|
|
1677
1680
|
})
|
|
1678
1681
|
});
|
|
1679
1682
|
}
|
|
1680
|
-
Y < 0 &&
|
|
1683
|
+
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1681
1684
|
}
|
|
1682
1685
|
}
|
|
1683
1686
|
var le = O.ReactCurrentDispatcher, ce;
|
|
@@ -1711,8 +1714,8 @@ function Mr() {
|
|
|
1711
1714
|
ue = !0;
|
|
1712
1715
|
var f = Error.prepareStackTrace;
|
|
1713
1716
|
Error.prepareStackTrace = void 0;
|
|
1714
|
-
var
|
|
1715
|
-
|
|
1717
|
+
var p;
|
|
1718
|
+
p = le.current, le.current = null, Le();
|
|
1716
1719
|
try {
|
|
1717
1720
|
if (t) {
|
|
1718
1721
|
var l = function() {
|
|
@@ -1765,7 +1768,7 @@ function Mr() {
|
|
|
1765
1768
|
}
|
|
1766
1769
|
}
|
|
1767
1770
|
} finally {
|
|
1768
|
-
ue = !1, le.current =
|
|
1771
|
+
ue = !1, le.current = p, We(), Error.prepareStackTrace = f;
|
|
1769
1772
|
}
|
|
1770
1773
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1771
1774
|
return typeof e == "function" && ae.set(e, z), z;
|
|
@@ -1797,9 +1800,9 @@ function Mr() {
|
|
|
1797
1800
|
case d:
|
|
1798
1801
|
return ne(e.type, t, r);
|
|
1799
1802
|
case k: {
|
|
1800
|
-
var a = e, f = a._payload,
|
|
1803
|
+
var a = e, f = a._payload, p = a._init;
|
|
1801
1804
|
try {
|
|
1802
|
-
return ne(
|
|
1805
|
+
return ne(p(f), t, r);
|
|
1803
1806
|
} catch {
|
|
1804
1807
|
}
|
|
1805
1808
|
}
|
|
@@ -1816,9 +1819,9 @@ function Mr() {
|
|
|
1816
1819
|
}
|
|
1817
1820
|
function Ye(e, t, r, a, f) {
|
|
1818
1821
|
{
|
|
1819
|
-
var
|
|
1822
|
+
var p = Function.call.bind(X);
|
|
1820
1823
|
for (var l in e)
|
|
1821
|
-
if (
|
|
1824
|
+
if (p(e, l)) {
|
|
1822
1825
|
var _ = void 0;
|
|
1823
1826
|
try {
|
|
1824
1827
|
if (typeof e[l] != "function") {
|
|
@@ -1829,7 +1832,7 @@ function Mr() {
|
|
|
1829
1832
|
} catch (w) {
|
|
1830
1833
|
_ = w;
|
|
1831
1834
|
}
|
|
1832
|
-
_ && !(_ instanceof Error) && (oe(f),
|
|
1835
|
+
_ && !(_ instanceof Error) && (oe(f), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), m("Failed %s type: %s", r, _.message), oe(null));
|
|
1833
1836
|
}
|
|
1834
1837
|
}
|
|
1835
1838
|
}
|
|
@@ -1855,7 +1858,7 @@ function Mr() {
|
|
|
1855
1858
|
}
|
|
1856
1859
|
function Re(e) {
|
|
1857
1860
|
if (He(e))
|
|
1858
|
-
return
|
|
1861
|
+
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
1859
1862
|
}
|
|
1860
1863
|
var Ee = O.ReactCurrentOwner, Je = {
|
|
1861
1864
|
key: !0,
|
|
@@ -1885,7 +1888,7 @@ function Mr() {
|
|
|
1885
1888
|
function Qe(e, t) {
|
|
1886
1889
|
{
|
|
1887
1890
|
var r = function() {
|
|
1888
|
-
Oe || (Oe = !0,
|
|
1891
|
+
Oe || (Oe = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1889
1892
|
};
|
|
1890
1893
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1891
1894
|
get: r,
|
|
@@ -1896,7 +1899,7 @@ function Mr() {
|
|
|
1896
1899
|
function et(e, t) {
|
|
1897
1900
|
{
|
|
1898
1901
|
var r = function() {
|
|
1899
|
-
Te || (Te = !0,
|
|
1902
|
+
Te || (Te = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1900
1903
|
};
|
|
1901
1904
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1902
1905
|
get: r,
|
|
@@ -1904,7 +1907,7 @@ function Mr() {
|
|
|
1904
1907
|
});
|
|
1905
1908
|
}
|
|
1906
1909
|
}
|
|
1907
|
-
var tt = function(e, t, r, a, f,
|
|
1910
|
+
var tt = function(e, t, r, a, f, p, l) {
|
|
1908
1911
|
var _ = {
|
|
1909
1912
|
// This tag allows us to uniquely identify this as a React Element
|
|
1910
1913
|
$$typeof: i,
|
|
@@ -1914,7 +1917,7 @@ function Mr() {
|
|
|
1914
1917
|
ref: r,
|
|
1915
1918
|
props: l,
|
|
1916
1919
|
// Record the component responsible for creating this element.
|
|
1917
|
-
_owner:
|
|
1920
|
+
_owner: p
|
|
1918
1921
|
};
|
|
1919
1922
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1920
1923
|
configurable: !1,
|
|
@@ -1935,14 +1938,14 @@ function Mr() {
|
|
|
1935
1938
|
};
|
|
1936
1939
|
function rt(e, t, r, a, f) {
|
|
1937
1940
|
{
|
|
1938
|
-
var
|
|
1941
|
+
var p, l = {}, _ = null, D = null;
|
|
1939
1942
|
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
1940
|
-
for (
|
|
1941
|
-
X.call(t,
|
|
1943
|
+
for (p in t)
|
|
1944
|
+
X.call(t, p) && !Je.hasOwnProperty(p) && (l[p] = t[p]);
|
|
1942
1945
|
if (e && e.defaultProps) {
|
|
1943
1946
|
var w = e.defaultProps;
|
|
1944
|
-
for (
|
|
1945
|
-
l[
|
|
1947
|
+
for (p in w)
|
|
1948
|
+
l[p] === void 0 && (l[p] = w[p]);
|
|
1946
1949
|
}
|
|
1947
1950
|
if (_ || D) {
|
|
1948
1951
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
@@ -1959,9 +1962,9 @@ function Mr() {
|
|
|
1959
1962
|
} else
|
|
1960
1963
|
De.setExtraStackFrame(null);
|
|
1961
1964
|
}
|
|
1962
|
-
var
|
|
1963
|
-
|
|
1964
|
-
function
|
|
1965
|
+
var me;
|
|
1966
|
+
me = !1;
|
|
1967
|
+
function pe(e) {
|
|
1965
1968
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1966
1969
|
}
|
|
1967
1970
|
function Pe() {
|
|
@@ -2002,7 +2005,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2002
2005
|
return;
|
|
2003
2006
|
Ne[r] = !0;
|
|
2004
2007
|
var a = "";
|
|
2005
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e),
|
|
2008
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
2006
2009
|
}
|
|
2007
2010
|
}
|
|
2008
2011
|
function Ie(e, t) {
|
|
@@ -2012,15 +2015,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2012
2015
|
if (de(e))
|
|
2013
2016
|
for (var r = 0; r < e.length; r++) {
|
|
2014
2017
|
var a = e[r];
|
|
2015
|
-
|
|
2018
|
+
pe(a) && Fe(a, t);
|
|
2016
2019
|
}
|
|
2017
|
-
else if (
|
|
2020
|
+
else if (pe(e))
|
|
2018
2021
|
e._store && (e._store.validated = !0);
|
|
2019
2022
|
else if (e) {
|
|
2020
2023
|
var f = $(e);
|
|
2021
2024
|
if (typeof f == "function" && f !== e.entries)
|
|
2022
|
-
for (var
|
|
2023
|
-
|
|
2025
|
+
for (var p = f.call(e), l; !(l = p.next()).done; )
|
|
2026
|
+
pe(l.value) && Fe(l.value, t);
|
|
2024
2027
|
}
|
|
2025
2028
|
}
|
|
2026
2029
|
}
|
|
@@ -2041,12 +2044,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2041
2044
|
if (r) {
|
|
2042
2045
|
var a = b(t);
|
|
2043
2046
|
Ye(r, e.props, "prop", a, e);
|
|
2044
|
-
} else if (t.PropTypes !== void 0 && !
|
|
2045
|
-
|
|
2047
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
2048
|
+
me = !0;
|
|
2046
2049
|
var f = b(t);
|
|
2047
|
-
|
|
2050
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
2048
2051
|
}
|
|
2049
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
2052
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2050
2053
|
}
|
|
2051
2054
|
}
|
|
2052
2055
|
function it(e) {
|
|
@@ -2054,15 +2057,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2054
2057
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2055
2058
|
var a = t[r];
|
|
2056
2059
|
if (a !== "children" && a !== "key") {
|
|
2057
|
-
J(e),
|
|
2060
|
+
J(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
2058
2061
|
break;
|
|
2059
2062
|
}
|
|
2060
2063
|
}
|
|
2061
|
-
e.ref !== null && (J(e),
|
|
2064
|
+
e.ref !== null && (J(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
2062
2065
|
}
|
|
2063
2066
|
}
|
|
2064
2067
|
var Me = {};
|
|
2065
|
-
function $e(e, t, r, a, f,
|
|
2068
|
+
function $e(e, t, r, a, f, p) {
|
|
2066
2069
|
{
|
|
2067
2070
|
var l = U(e);
|
|
2068
2071
|
if (!l) {
|
|
@@ -2071,9 +2074,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2071
2074
|
var D = at();
|
|
2072
2075
|
D ? _ += D : _ += Pe();
|
|
2073
2076
|
var w;
|
|
2074
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e,
|
|
2077
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
2075
2078
|
}
|
|
2076
|
-
var j = rt(e, t, r, f,
|
|
2079
|
+
var j = rt(e, t, r, f, p);
|
|
2077
2080
|
if (j == null)
|
|
2078
2081
|
return j;
|
|
2079
2082
|
if (l) {
|
|
@@ -2085,7 +2088,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2085
2088
|
Ie(B[Z], e);
|
|
2086
2089
|
Object.freeze && Object.freeze(B);
|
|
2087
2090
|
} else
|
|
2088
|
-
|
|
2091
|
+
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2089
2092
|
else
|
|
2090
2093
|
Ie(B, e);
|
|
2091
2094
|
}
|
|
@@ -2095,7 +2098,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2095
2098
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2096
2099
|
if (!Me[z + ye]) {
|
|
2097
2100
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
2098
|
-
|
|
2101
|
+
m(`A props object containing a "key" prop is being spread into JSX:
|
|
2099
2102
|
let props = %s;
|
|
2100
2103
|
<%s {...props} />
|
|
2101
2104
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -2116,18 +2119,18 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2116
2119
|
wt.Fragment = u, wt.jsx = lt, wt.jsxs = ct;
|
|
2117
2120
|
}()), wt;
|
|
2118
2121
|
}
|
|
2119
|
-
process.env.NODE_ENV === "production" ? Pt.exports =
|
|
2122
|
+
process.env.NODE_ENV === "production" ? Pt.exports = Mr() : Pt.exports = $r();
|
|
2120
2123
|
var Et = Pt.exports;
|
|
2121
|
-
const
|
|
2122
|
-
btn:
|
|
2123
|
-
confirm:
|
|
2124
|
-
cancel:
|
|
2125
|
-
action:
|
|
2126
|
-
disabled:
|
|
2124
|
+
const Ar = "_btn_1k1b3_1", Br = "_confirm_1k1b3_15", Lr = "_cancel_1k1b3_20", Wr = "_action_1k1b3_25", Ur = "_disabled_1k1b3_30", Kr = "_m_1k1b3_44", qr = "_l_1k1b3_48", jt = {
|
|
2125
|
+
btn: Ar,
|
|
2126
|
+
confirm: Br,
|
|
2127
|
+
cancel: Lr,
|
|
2128
|
+
action: Wr,
|
|
2129
|
+
disabled: Ur,
|
|
2127
2130
|
await: "_await_1k1b3_37",
|
|
2128
|
-
m:
|
|
2129
|
-
l:
|
|
2130
|
-
},
|
|
2131
|
+
m: Kr,
|
|
2132
|
+
l: qr
|
|
2133
|
+
}, Yr = ({
|
|
2131
2134
|
onClick: n,
|
|
2132
2135
|
onSend: i,
|
|
2133
2136
|
size: c = "m",
|
|
@@ -2170,7 +2173,7 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
|
|
|
2170
2173
|
);
|
|
2171
2174
|
};
|
|
2172
2175
|
let Ae = {};
|
|
2173
|
-
function
|
|
2176
|
+
function Gr({ children: n }) {
|
|
2174
2177
|
return /* @__PURE__ */ H.jsx(H.Fragment, { children: n });
|
|
2175
2178
|
}
|
|
2176
2179
|
var Ct;
|
|
@@ -2191,7 +2194,7 @@ var Ct;
|
|
|
2191
2194
|
function c(o) {
|
|
2192
2195
|
return o && (Ae.i = o), Ae.i;
|
|
2193
2196
|
}
|
|
2194
|
-
n.Import = c, n.List =
|
|
2197
|
+
n.Import = c, n.List = Tr, n.Scroll = Dr, n.Form = Pr, n.Center = Nr, n.Column = Fr;
|
|
2195
2198
|
function u(o, d, k) {
|
|
2196
2199
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2197
2200
|
S.default.Open(k);
|
|
@@ -2212,7 +2215,7 @@ var Ct;
|
|
|
2212
2215
|
}
|
|
2213
2216
|
n.Icon = v;
|
|
2214
2217
|
function C(o, d) {
|
|
2215
|
-
Ae.add(/* @__PURE__ */ H.jsx(
|
|
2218
|
+
Ae.add(/* @__PURE__ */ H.jsx(Gr, { children: o }, String(Date.now())), d);
|
|
2216
2219
|
}
|
|
2217
2220
|
n.Add = C;
|
|
2218
2221
|
function T(o) {
|
|
@@ -2249,7 +2252,7 @@ var Ct;
|
|
|
2249
2252
|
shake: $ = !0,
|
|
2250
2253
|
menu: O
|
|
2251
2254
|
}) {
|
|
2252
|
-
const [
|
|
2255
|
+
const [m, I] = W.useState(!0), K = W.useRef(), G = (q) => {
|
|
2253
2256
|
if (k) {
|
|
2254
2257
|
if (k.onClick)
|
|
2255
2258
|
return q(!1), k.onClick({ setOpen: I });
|
|
@@ -2265,7 +2268,7 @@ var Ct;
|
|
|
2265
2268
|
K.current.setAttribute("shake", !1);
|
|
2266
2269
|
}, 1e3);
|
|
2267
2270
|
};
|
|
2268
|
-
return
|
|
2271
|
+
return m ? /* @__PURE__ */ H.jsxs("div", { className: `${_e.modal}`, children: [
|
|
2269
2272
|
/* @__PURE__ */ H.jsx("div", { className: _e.o, onClick: L }),
|
|
2270
2273
|
/* @__PURE__ */ H.jsxs(
|
|
2271
2274
|
"div",
|
|
@@ -2309,7 +2312,7 @@ var Ct;
|
|
|
2309
2312
|
] }),
|
|
2310
2313
|
d,
|
|
2311
2314
|
k && /* @__PURE__ */ H.jsx("div", { className: _e.b, children: /* @__PURE__ */ H.jsx(
|
|
2312
|
-
|
|
2315
|
+
Yr,
|
|
2313
2316
|
{
|
|
2314
2317
|
label: k.label,
|
|
2315
2318
|
onSend: G,
|
|
@@ -2324,8 +2327,8 @@ var Ct;
|
|
|
2324
2327
|
}
|
|
2325
2328
|
n.Main = g;
|
|
2326
2329
|
})(Ct || (Ct = {}));
|
|
2327
|
-
const
|
|
2328
|
-
function
|
|
2330
|
+
const zr = (n, i = ",") => (n = n !== void 0 && n !== "" ? n.split(i) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
2331
|
+
function ba({
|
|
2329
2332
|
value: n,
|
|
2330
2333
|
onValue: i,
|
|
2331
2334
|
name: c,
|
|
@@ -2342,7 +2345,7 @@ function ha({
|
|
|
2342
2345
|
options: S,
|
|
2343
2346
|
className: N
|
|
2344
2347
|
}) {
|
|
2345
|
-
const [A, $] = W.useState(
|
|
2348
|
+
const [A, $] = W.useState(zr(n, v)), O = (m) => {
|
|
2346
2349
|
if (!(s && g) || !k) return;
|
|
2347
2350
|
let I = k.split(".");
|
|
2348
2351
|
Ct.Open(I[0], I[1], {
|
|
@@ -2382,24 +2385,24 @@ function ha({
|
|
|
2382
2385
|
title: C,
|
|
2383
2386
|
element_blok: { className: [N] },
|
|
2384
2387
|
element_input: {
|
|
2385
|
-
className: [],
|
|
2388
|
+
className: [V.g],
|
|
2386
2389
|
props: {
|
|
2387
2390
|
onClick: O
|
|
2388
2391
|
}
|
|
2389
2392
|
},
|
|
2390
|
-
children: Object.keys(A).map((
|
|
2393
|
+
children: Object.keys(A).map((m) => {
|
|
2391
2394
|
var I;
|
|
2392
|
-
return /* @__PURE__ */ y.jsx("div", { children: (I = S[
|
|
2395
|
+
return /* @__PURE__ */ y.jsx("div", { children: (I = S[m]) == null ? void 0 : I.label }, m);
|
|
2393
2396
|
})
|
|
2394
2397
|
}
|
|
2395
2398
|
);
|
|
2396
2399
|
}
|
|
2397
|
-
const
|
|
2398
|
-
o:
|
|
2399
|
-
l:
|
|
2400
|
-
f:
|
|
2400
|
+
const Hr = "_o_1wehm_12", Jr = "_l_1wehm_22", Zr = "_f_1wehm_81", Nt = {
|
|
2401
|
+
o: Hr,
|
|
2402
|
+
l: Jr,
|
|
2403
|
+
f: Zr
|
|
2401
2404
|
};
|
|
2402
|
-
function
|
|
2405
|
+
function ka({
|
|
2403
2406
|
title: n,
|
|
2404
2407
|
error: i,
|
|
2405
2408
|
edit: c = !0,
|
|
@@ -2418,12 +2421,12 @@ function ba({
|
|
|
2418
2421
|
isReload: A = !1
|
|
2419
2422
|
}) {
|
|
2420
2423
|
var R, h;
|
|
2421
|
-
const $ = W.useRef(null), [O,
|
|
2424
|
+
const $ = W.useRef(null), [O, m] = W.useState(C), [I, K] = W.useState(x), [G, L] = W.useState(!1);
|
|
2422
2425
|
W.useEffect(() => {
|
|
2423
|
-
|
|
2426
|
+
m(C), K(x);
|
|
2424
2427
|
}, [C, x]), v = !!(v && (C === 0 || ((R = I == null ? void 0 : I[C]) == null ? void 0 : R.n) === void 0)) && !(c && u);
|
|
2425
2428
|
let E = (b) => {
|
|
2426
|
-
|
|
2429
|
+
m(b), T && T({ value: b, name: d, reload: A });
|
|
2427
2430
|
}, P = (b) => {
|
|
2428
2431
|
Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
|
|
2429
2432
|
}, U = {};
|
|
@@ -2435,13 +2438,14 @@ function ba({
|
|
|
2435
2438
|
element_blok: { className: [g] },
|
|
2436
2439
|
element_input: {
|
|
2437
2440
|
className: [Nt.f],
|
|
2438
|
-
props: {
|
|
2441
|
+
props: { onClick: P }
|
|
2439
2442
|
},
|
|
2443
|
+
ref: $,
|
|
2440
2444
|
children: [
|
|
2441
2445
|
/* @__PURE__ */ y.jsx("div", { ...U, children: (h = I == null ? void 0 : I[O]) == null ? void 0 : h.n }),
|
|
2442
2446
|
G && Mt(
|
|
2443
2447
|
/* @__PURE__ */ y.jsx(
|
|
2444
|
-
|
|
2448
|
+
Vr,
|
|
2445
2449
|
{
|
|
2446
2450
|
parent: $.position,
|
|
2447
2451
|
onValue: E,
|
|
@@ -2459,7 +2463,7 @@ function ba({
|
|
|
2459
2463
|
}
|
|
2460
2464
|
);
|
|
2461
2465
|
}
|
|
2462
|
-
const
|
|
2466
|
+
const Vr = ({
|
|
2463
2467
|
onValue: n,
|
|
2464
2468
|
parent: i,
|
|
2465
2469
|
className: c,
|
|
@@ -2490,11 +2494,11 @@ const Zr = ({
|
|
|
2490
2494
|
left: g + "px",
|
|
2491
2495
|
width: i.width
|
|
2492
2496
|
},
|
|
2493
|
-
children: /* @__PURE__ */ y.jsx(
|
|
2497
|
+
children: /* @__PURE__ */ y.jsx(Xr, { order: v, options: u, link: x })
|
|
2494
2498
|
}
|
|
2495
2499
|
)
|
|
2496
2500
|
] });
|
|
2497
|
-
},
|
|
2501
|
+
}, Xr = ({ order: n, options: i, link: c }) => n ? /* @__PURE__ */ y.jsx("ul", { children: n.map(
|
|
2498
2502
|
(u, v) => i[u].s !== 0 ? /* @__PURE__ */ y.jsx(
|
|
2499
2503
|
"li",
|
|
2500
2504
|
{
|
|
@@ -2517,7 +2521,7 @@ const Zr = ({
|
|
|
2517
2521
|
v
|
|
2518
2522
|
) : ""
|
|
2519
2523
|
) });
|
|
2520
|
-
function
|
|
2524
|
+
function wa({
|
|
2521
2525
|
value: n,
|
|
2522
2526
|
onValue: i,
|
|
2523
2527
|
name: c,
|
|
@@ -2535,7 +2539,7 @@ function ka({
|
|
|
2535
2539
|
options: N,
|
|
2536
2540
|
className: A
|
|
2537
2541
|
}) {
|
|
2538
|
-
let [$, O] = W.useState(n),
|
|
2542
|
+
let [$, O] = W.useState(n), m = (G) => {
|
|
2539
2543
|
if (!(x && g) || !k) return;
|
|
2540
2544
|
let L = k.split(".");
|
|
2541
2545
|
Ct.Open(L[0], L[1], {
|
|
@@ -2557,7 +2561,7 @@ function ka({
|
|
|
2557
2561
|
"dd",
|
|
2558
2562
|
{
|
|
2559
2563
|
...K,
|
|
2560
|
-
onClick:
|
|
2564
|
+
onClick: m,
|
|
2561
2565
|
edit: (x && g) + "",
|
|
2562
2566
|
"data-after": o,
|
|
2563
2567
|
children: $
|
|
@@ -2566,7 +2570,7 @@ function ka({
|
|
|
2566
2570
|
C && /* @__PURE__ */ y.jsx("em", { children: C })
|
|
2567
2571
|
] });
|
|
2568
2572
|
}
|
|
2569
|
-
function
|
|
2573
|
+
function ja({
|
|
2570
2574
|
value: n,
|
|
2571
2575
|
onValue: i,
|
|
2572
2576
|
onSave: c,
|
|
@@ -2585,7 +2589,7 @@ function wa({
|
|
|
2585
2589
|
after: A = ""
|
|
2586
2590
|
}) {
|
|
2587
2591
|
const [$, O] = W.useState(k);
|
|
2588
|
-
let
|
|
2592
|
+
let m = (E) => {
|
|
2589
2593
|
i && i({
|
|
2590
2594
|
value: E.target.textContent,
|
|
2591
2595
|
name: u,
|
|
@@ -2619,7 +2623,7 @@ function wa({
|
|
|
2619
2623
|
"dd",
|
|
2620
2624
|
{
|
|
2621
2625
|
onPaste: K,
|
|
2622
|
-
onInput:
|
|
2626
|
+
onInput: m,
|
|
2623
2627
|
onKeyDown: I,
|
|
2624
2628
|
onBlur: G,
|
|
2625
2629
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
@@ -2633,7 +2637,7 @@ function wa({
|
|
|
2633
2637
|
x ? /* @__PURE__ */ y.jsx("em", { children: x }) : ""
|
|
2634
2638
|
] });
|
|
2635
2639
|
}
|
|
2636
|
-
function
|
|
2640
|
+
function xa({
|
|
2637
2641
|
onValue: n,
|
|
2638
2642
|
onSave: i,
|
|
2639
2643
|
active: c,
|
|
@@ -2653,15 +2657,15 @@ function ja({
|
|
|
2653
2657
|
view: $
|
|
2654
2658
|
}) {
|
|
2655
2659
|
v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (g === "" || g === void 0)) && !(v && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2656
|
-
let
|
|
2660
|
+
let m = !1, I = (P) => {
|
|
2657
2661
|
n == null || n({ value: P.target.textContent, name: S });
|
|
2658
2662
|
}, K = (P) => {
|
|
2659
|
-
if (!(
|
|
2660
|
-
if (P.which === 17 || P.which === 91) return
|
|
2663
|
+
if (!(m && P.which === 86)) {
|
|
2664
|
+
if (P.which === 17 || P.which === 91) return m = !0;
|
|
2661
2665
|
P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
|
|
2662
2666
|
}
|
|
2663
2667
|
}, G = (P) => {
|
|
2664
|
-
if (P.which === 17 || P.which === 91) return
|
|
2668
|
+
if (P.which === 17 || P.which === 91) return m = !1;
|
|
2665
2669
|
}, L = (P) => {
|
|
2666
2670
|
P.preventDefault(), navigator.clipboard.readText().then((U) => {
|
|
2667
2671
|
if (U = U.replace(/(?!^\+|\d)./g, ""), k) {
|
|
@@ -2716,7 +2720,7 @@ var Ft = { exports: {} }, gt = {};
|
|
|
2716
2720
|
* LICENSE file in the root directory of this source tree.
|
|
2717
2721
|
*/
|
|
2718
2722
|
var qt;
|
|
2719
|
-
function
|
|
2723
|
+
function Qr() {
|
|
2720
2724
|
if (qt) return gt;
|
|
2721
2725
|
qt = 1;
|
|
2722
2726
|
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
@@ -2740,7 +2744,7 @@ var xt = {};
|
|
|
2740
2744
|
* LICENSE file in the root directory of this source tree.
|
|
2741
2745
|
*/
|
|
2742
2746
|
var Yt;
|
|
2743
|
-
function
|
|
2747
|
+
function ea() {
|
|
2744
2748
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2745
2749
|
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
2746
2750
|
function $(e) {
|
|
@@ -2750,7 +2754,7 @@ function Qr() {
|
|
|
2750
2754
|
return typeof t == "function" ? t : null;
|
|
2751
2755
|
}
|
|
2752
2756
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2753
|
-
function
|
|
2757
|
+
function m(e) {
|
|
2754
2758
|
{
|
|
2755
2759
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
2756
2760
|
r[a - 1] = arguments[a];
|
|
@@ -2761,10 +2765,10 @@ function Qr() {
|
|
|
2761
2765
|
{
|
|
2762
2766
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
2763
2767
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
2764
|
-
var
|
|
2768
|
+
var p = r.map(function(l) {
|
|
2765
2769
|
return String(l);
|
|
2766
2770
|
});
|
|
2767
|
-
|
|
2771
|
+
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
2768
2772
|
}
|
|
2769
2773
|
}
|
|
2770
2774
|
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
@@ -2789,7 +2793,7 @@ function Qr() {
|
|
|
2789
2793
|
function b(e) {
|
|
2790
2794
|
if (e == null)
|
|
2791
2795
|
return null;
|
|
2792
|
-
if (typeof e.tag == "number" &&
|
|
2796
|
+
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
2793
2797
|
return e.displayName || e.name || null;
|
|
2794
2798
|
if (typeof e == "string")
|
|
2795
2799
|
return e;
|
|
@@ -2821,9 +2825,9 @@ function Qr() {
|
|
|
2821
2825
|
var a = e.displayName || null;
|
|
2822
2826
|
return a !== null ? a : b(e.type) || "Memo";
|
|
2823
2827
|
case k: {
|
|
2824
|
-
var f = e,
|
|
2828
|
+
var f = e, p = f._payload, l = f._init;
|
|
2825
2829
|
try {
|
|
2826
|
-
return b(l(
|
|
2830
|
+
return b(l(p));
|
|
2827
2831
|
} catch {
|
|
2828
2832
|
return null;
|
|
2829
2833
|
}
|
|
@@ -2890,7 +2894,7 @@ function Qr() {
|
|
|
2890
2894
|
})
|
|
2891
2895
|
});
|
|
2892
2896
|
}
|
|
2893
|
-
Y < 0 &&
|
|
2897
|
+
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2894
2898
|
}
|
|
2895
2899
|
}
|
|
2896
2900
|
var le = O.ReactCurrentDispatcher, ce;
|
|
@@ -2924,8 +2928,8 @@ function Qr() {
|
|
|
2924
2928
|
ue = !0;
|
|
2925
2929
|
var f = Error.prepareStackTrace;
|
|
2926
2930
|
Error.prepareStackTrace = void 0;
|
|
2927
|
-
var
|
|
2928
|
-
|
|
2931
|
+
var p;
|
|
2932
|
+
p = le.current, le.current = null, Le();
|
|
2929
2933
|
try {
|
|
2930
2934
|
if (t) {
|
|
2931
2935
|
var l = function() {
|
|
@@ -2978,7 +2982,7 @@ function Qr() {
|
|
|
2978
2982
|
}
|
|
2979
2983
|
}
|
|
2980
2984
|
} finally {
|
|
2981
|
-
ue = !1, le.current =
|
|
2985
|
+
ue = !1, le.current = p, We(), Error.prepareStackTrace = f;
|
|
2982
2986
|
}
|
|
2983
2987
|
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
2984
2988
|
return typeof e == "function" && ae.set(e, z), z;
|
|
@@ -3010,9 +3014,9 @@ function Qr() {
|
|
|
3010
3014
|
case d:
|
|
3011
3015
|
return ne(e.type, t, r);
|
|
3012
3016
|
case k: {
|
|
3013
|
-
var a = e, f = a._payload,
|
|
3017
|
+
var a = e, f = a._payload, p = a._init;
|
|
3014
3018
|
try {
|
|
3015
|
-
return ne(
|
|
3019
|
+
return ne(p(f), t, r);
|
|
3016
3020
|
} catch {
|
|
3017
3021
|
}
|
|
3018
3022
|
}
|
|
@@ -3029,9 +3033,9 @@ function Qr() {
|
|
|
3029
3033
|
}
|
|
3030
3034
|
function Ye(e, t, r, a, f) {
|
|
3031
3035
|
{
|
|
3032
|
-
var
|
|
3036
|
+
var p = Function.call.bind(X);
|
|
3033
3037
|
for (var l in e)
|
|
3034
|
-
if (
|
|
3038
|
+
if (p(e, l)) {
|
|
3035
3039
|
var _ = void 0;
|
|
3036
3040
|
try {
|
|
3037
3041
|
if (typeof e[l] != "function") {
|
|
@@ -3042,7 +3046,7 @@ function Qr() {
|
|
|
3042
3046
|
} catch (w) {
|
|
3043
3047
|
_ = w;
|
|
3044
3048
|
}
|
|
3045
|
-
_ && !(_ instanceof Error) && (oe(f),
|
|
3049
|
+
_ && !(_ instanceof Error) && (oe(f), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), m("Failed %s type: %s", r, _.message), oe(null));
|
|
3046
3050
|
}
|
|
3047
3051
|
}
|
|
3048
3052
|
}
|
|
@@ -3068,7 +3072,7 @@ function Qr() {
|
|
|
3068
3072
|
}
|
|
3069
3073
|
function Re(e) {
|
|
3070
3074
|
if (He(e))
|
|
3071
|
-
return
|
|
3075
|
+
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
3072
3076
|
}
|
|
3073
3077
|
var Ee = O.ReactCurrentOwner, Je = {
|
|
3074
3078
|
key: !0,
|
|
@@ -3098,7 +3102,7 @@ function Qr() {
|
|
|
3098
3102
|
function Qe(e, t) {
|
|
3099
3103
|
{
|
|
3100
3104
|
var r = function() {
|
|
3101
|
-
Oe || (Oe = !0,
|
|
3105
|
+
Oe || (Oe = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
3102
3106
|
};
|
|
3103
3107
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
3104
3108
|
get: r,
|
|
@@ -3109,7 +3113,7 @@ function Qr() {
|
|
|
3109
3113
|
function et(e, t) {
|
|
3110
3114
|
{
|
|
3111
3115
|
var r = function() {
|
|
3112
|
-
Te || (Te = !0,
|
|
3116
|
+
Te || (Te = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
3113
3117
|
};
|
|
3114
3118
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
3115
3119
|
get: r,
|
|
@@ -3117,7 +3121,7 @@ function Qr() {
|
|
|
3117
3121
|
});
|
|
3118
3122
|
}
|
|
3119
3123
|
}
|
|
3120
|
-
var tt = function(e, t, r, a, f,
|
|
3124
|
+
var tt = function(e, t, r, a, f, p, l) {
|
|
3121
3125
|
var _ = {
|
|
3122
3126
|
// This tag allows us to uniquely identify this as a React Element
|
|
3123
3127
|
$$typeof: i,
|
|
@@ -3127,7 +3131,7 @@ function Qr() {
|
|
|
3127
3131
|
ref: r,
|
|
3128
3132
|
props: l,
|
|
3129
3133
|
// Record the component responsible for creating this element.
|
|
3130
|
-
_owner:
|
|
3134
|
+
_owner: p
|
|
3131
3135
|
};
|
|
3132
3136
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
3133
3137
|
configurable: !1,
|
|
@@ -3148,14 +3152,14 @@ function Qr() {
|
|
|
3148
3152
|
};
|
|
3149
3153
|
function rt(e, t, r, a, f) {
|
|
3150
3154
|
{
|
|
3151
|
-
var
|
|
3155
|
+
var p, l = {}, _ = null, D = null;
|
|
3152
3156
|
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
3153
|
-
for (
|
|
3154
|
-
X.call(t,
|
|
3157
|
+
for (p in t)
|
|
3158
|
+
X.call(t, p) && !Je.hasOwnProperty(p) && (l[p] = t[p]);
|
|
3155
3159
|
if (e && e.defaultProps) {
|
|
3156
3160
|
var w = e.defaultProps;
|
|
3157
|
-
for (
|
|
3158
|
-
l[
|
|
3161
|
+
for (p in w)
|
|
3162
|
+
l[p] === void 0 && (l[p] = w[p]);
|
|
3159
3163
|
}
|
|
3160
3164
|
if (_ || D) {
|
|
3161
3165
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
@@ -3172,9 +3176,9 @@ function Qr() {
|
|
|
3172
3176
|
} else
|
|
3173
3177
|
De.setExtraStackFrame(null);
|
|
3174
3178
|
}
|
|
3175
|
-
var
|
|
3176
|
-
|
|
3177
|
-
function
|
|
3179
|
+
var me;
|
|
3180
|
+
me = !1;
|
|
3181
|
+
function pe(e) {
|
|
3178
3182
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
3179
3183
|
}
|
|
3180
3184
|
function Pe() {
|
|
@@ -3215,7 +3219,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3215
3219
|
return;
|
|
3216
3220
|
Ne[r] = !0;
|
|
3217
3221
|
var a = "";
|
|
3218
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e),
|
|
3222
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
3219
3223
|
}
|
|
3220
3224
|
}
|
|
3221
3225
|
function Ie(e, t) {
|
|
@@ -3225,15 +3229,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3225
3229
|
if (de(e))
|
|
3226
3230
|
for (var r = 0; r < e.length; r++) {
|
|
3227
3231
|
var a = e[r];
|
|
3228
|
-
|
|
3232
|
+
pe(a) && Fe(a, t);
|
|
3229
3233
|
}
|
|
3230
|
-
else if (
|
|
3234
|
+
else if (pe(e))
|
|
3231
3235
|
e._store && (e._store.validated = !0);
|
|
3232
3236
|
else if (e) {
|
|
3233
3237
|
var f = $(e);
|
|
3234
3238
|
if (typeof f == "function" && f !== e.entries)
|
|
3235
|
-
for (var
|
|
3236
|
-
|
|
3239
|
+
for (var p = f.call(e), l; !(l = p.next()).done; )
|
|
3240
|
+
pe(l.value) && Fe(l.value, t);
|
|
3237
3241
|
}
|
|
3238
3242
|
}
|
|
3239
3243
|
}
|
|
@@ -3254,12 +3258,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3254
3258
|
if (r) {
|
|
3255
3259
|
var a = b(t);
|
|
3256
3260
|
Ye(r, e.props, "prop", a, e);
|
|
3257
|
-
} else if (t.PropTypes !== void 0 && !
|
|
3258
|
-
|
|
3261
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
3262
|
+
me = !0;
|
|
3259
3263
|
var f = b(t);
|
|
3260
|
-
|
|
3264
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
3261
3265
|
}
|
|
3262
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
3266
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3263
3267
|
}
|
|
3264
3268
|
}
|
|
3265
3269
|
function it(e) {
|
|
@@ -3267,15 +3271,15 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3267
3271
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3268
3272
|
var a = t[r];
|
|
3269
3273
|
if (a !== "children" && a !== "key") {
|
|
3270
|
-
J(e),
|
|
3274
|
+
J(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
3271
3275
|
break;
|
|
3272
3276
|
}
|
|
3273
3277
|
}
|
|
3274
|
-
e.ref !== null && (J(e),
|
|
3278
|
+
e.ref !== null && (J(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
3275
3279
|
}
|
|
3276
3280
|
}
|
|
3277
3281
|
var Me = {};
|
|
3278
|
-
function $e(e, t, r, a, f,
|
|
3282
|
+
function $e(e, t, r, a, f, p) {
|
|
3279
3283
|
{
|
|
3280
3284
|
var l = U(e);
|
|
3281
3285
|
if (!l) {
|
|
@@ -3284,9 +3288,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3284
3288
|
var D = at();
|
|
3285
3289
|
D ? _ += D : _ += Pe();
|
|
3286
3290
|
var w;
|
|
3287
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e,
|
|
3291
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
3288
3292
|
}
|
|
3289
|
-
var j = rt(e, t, r, f,
|
|
3293
|
+
var j = rt(e, t, r, f, p);
|
|
3290
3294
|
if (j == null)
|
|
3291
3295
|
return j;
|
|
3292
3296
|
if (l) {
|
|
@@ -3298,7 +3302,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3298
3302
|
Ie(B[Z], e);
|
|
3299
3303
|
Object.freeze && Object.freeze(B);
|
|
3300
3304
|
} else
|
|
3301
|
-
|
|
3305
|
+
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
3302
3306
|
else
|
|
3303
3307
|
Ie(B, e);
|
|
3304
3308
|
}
|
|
@@ -3308,7 +3312,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3308
3312
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3309
3313
|
if (!Me[z + ye]) {
|
|
3310
3314
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
3311
|
-
|
|
3315
|
+
m(`A props object containing a "key" prop is being spread into JSX:
|
|
3312
3316
|
let props = %s;
|
|
3313
3317
|
<%s {...props} />
|
|
3314
3318
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -3329,14 +3333,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3329
3333
|
xt.Fragment = u, xt.jsx = lt, xt.jsxs = ct;
|
|
3330
3334
|
}()), xt;
|
|
3331
3335
|
}
|
|
3332
|
-
process.env.NODE_ENV === "production" ? Ft.exports =
|
|
3336
|
+
process.env.NODE_ENV === "production" ? Ft.exports = Qr() : Ft.exports = ea();
|
|
3333
3337
|
var ee = Ft.exports;
|
|
3334
|
-
const
|
|
3335
|
-
notice:
|
|
3336
|
-
error:
|
|
3337
|
-
success:
|
|
3338
|
-
remark:
|
|
3339
|
-
copy:
|
|
3338
|
+
const ta = "_notice_13j98_2", ra = "_error_13j98_11", aa = "_success_13j98_14", na = "_remark_13j98_17", oa = "_copy_13j98_20", Ht = {
|
|
3339
|
+
notice: ta,
|
|
3340
|
+
error: ra,
|
|
3341
|
+
success: aa,
|
|
3342
|
+
remark: na,
|
|
3343
|
+
copy: oa,
|
|
3340
3344
|
"show-notice": "_show-notice_13j98_1",
|
|
3341
3345
|
"hide-notice": "_hide-notice_13j98_1"
|
|
3342
3346
|
};
|
|
@@ -3374,7 +3378,7 @@ function ht({ data: n }) {
|
|
|
3374
3378
|
/* @__PURE__ */ ee.jsx("p", { children: n.text })
|
|
3375
3379
|
] });
|
|
3376
3380
|
}
|
|
3377
|
-
function
|
|
3381
|
+
function ia({ data: n }) {
|
|
3378
3382
|
let [i, c] = W.useState("show");
|
|
3379
3383
|
return W.useEffect(() => {
|
|
3380
3384
|
n.hide && (setTimeout(function() {
|
|
@@ -3446,7 +3450,7 @@ var St;
|
|
|
3446
3450
|
n.Success = u;
|
|
3447
3451
|
function v(s, g = !0) {
|
|
3448
3452
|
let o = Date.now(), d = { key: o, hide: g, text: s };
|
|
3449
|
-
Be.set({ item: /* @__PURE__ */ ee.jsx(
|
|
3453
|
+
Be.set({ item: /* @__PURE__ */ ee.jsx(ia, { data: d }, o), key: o });
|
|
3450
3454
|
}
|
|
3451
3455
|
n.Custom = v;
|
|
3452
3456
|
function C(s) {
|
|
@@ -3474,7 +3478,7 @@ var St;
|
|
|
3474
3478
|
}
|
|
3475
3479
|
n.Copy = x;
|
|
3476
3480
|
})(St || (St = {}));
|
|
3477
|
-
function
|
|
3481
|
+
function Ca({
|
|
3478
3482
|
value: n = "",
|
|
3479
3483
|
onValue: i,
|
|
3480
3484
|
onSave: c,
|
|
@@ -3492,7 +3496,7 @@ function xa({
|
|
|
3492
3496
|
className: N = ""
|
|
3493
3497
|
}) {
|
|
3494
3498
|
g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(g && o), W.useRef(null);
|
|
3495
|
-
let $ = v, O = !0,
|
|
3499
|
+
let $ = v, O = !0, m = 0, I = (h, b) => {
|
|
3496
3500
|
let M = document.createRange(), Y = window.getSelection();
|
|
3497
3501
|
M.setStart(b.childNodes[0], h), M.collapse(!0), Y.removeAllRanges(), Y.addRange(M), b.focus();
|
|
3498
3502
|
}, K = (h) => {
|
|
@@ -3505,7 +3509,7 @@ function xa({
|
|
|
3505
3509
|
Y === "" && (O = !0);
|
|
3506
3510
|
let Q = Y.split(""), ie = "";
|
|
3507
3511
|
Q.forEach((ge) => {
|
|
3508
|
-
O && (ie += ge, O && (
|
|
3512
|
+
O && (ie += ge, O && (m = ("" + ie).length, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""), m > ("" + ie).length && (O = !0, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
|
|
3509
3513
|
});
|
|
3510
3514
|
let se = $.replace(/\D/g, "");
|
|
3511
3515
|
return se.length >= Y.length && (Y = se), { q: $.replace(/[_\d]/g, function() {
|
|
@@ -3555,7 +3559,7 @@ function xa({
|
|
|
3555
3559
|
}
|
|
3556
3560
|
);
|
|
3557
3561
|
}
|
|
3558
|
-
function
|
|
3562
|
+
function Sa({
|
|
3559
3563
|
id: n,
|
|
3560
3564
|
value: i,
|
|
3561
3565
|
onValue: c,
|
|
@@ -3574,7 +3578,7 @@ function Ca({
|
|
|
3574
3578
|
className: A = "",
|
|
3575
3579
|
isCopy: $ = !0
|
|
3576
3580
|
}) {
|
|
3577
|
-
let [O,
|
|
3581
|
+
let [O, m] = W.useState(!1);
|
|
3578
3582
|
O = s ? !0 : O;
|
|
3579
3583
|
let I = (E) => {
|
|
3580
3584
|
c == null || c({ value: E.target.innerText, name: u });
|
|
@@ -5011,7 +5015,7 @@ const Ot = {
|
|
|
5011
5015
|
mask: "+1939(___) ___-__-__"
|
|
5012
5016
|
}
|
|
5013
5017
|
};
|
|
5014
|
-
function
|
|
5018
|
+
function Ra({
|
|
5015
5019
|
value: n,
|
|
5016
5020
|
onValue: i,
|
|
5017
5021
|
onSave: c,
|
|
@@ -5028,12 +5032,12 @@ function Sa({
|
|
|
5028
5032
|
className: S = ""
|
|
5029
5033
|
}) {
|
|
5030
5034
|
s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (n === "" || n === void 0)) && !(s && g), W.useRef(null);
|
|
5031
|
-
let A = "+_(___) ___-__-__", $ = !0, O = 0,
|
|
5035
|
+
let A = "+_(___) ___-__-__", $ = !0, O = 0, m = (R, h) => {
|
|
5032
5036
|
let b = document.createRange(), M = window.getSelection();
|
|
5033
5037
|
b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
|
|
5034
5038
|
}, I = (R) => {
|
|
5035
5039
|
let h = G(R.target.textContent);
|
|
5036
|
-
R.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== A ? h.i++ : h.i = h.q.indexOf("_"),
|
|
5040
|
+
R.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== A ? h.i++ : h.i = h.q.indexOf("_"), m(h.i, R.target), i && i({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5037
5041
|
}, K = (R) => {
|
|
5038
5042
|
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5039
5043
|
window.document.execCommand("insertText", !1, h);
|
|
@@ -5097,11 +5101,11 @@ function Sa({
|
|
|
5097
5101
|
}
|
|
5098
5102
|
);
|
|
5099
5103
|
}
|
|
5100
|
-
const
|
|
5101
|
-
o:
|
|
5102
|
-
c:
|
|
5104
|
+
const _a = "_o_1c9e1_1", sa = "_c_1c9e1_11", Rt = {
|
|
5105
|
+
o: _a,
|
|
5106
|
+
c: sa
|
|
5103
5107
|
};
|
|
5104
|
-
function
|
|
5108
|
+
function Ea({
|
|
5105
5109
|
title: n,
|
|
5106
5110
|
error: i,
|
|
5107
5111
|
edit: c = !0,
|
|
@@ -5120,7 +5124,7 @@ function Ra({
|
|
|
5120
5124
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5121
5125
|
);
|
|
5122
5126
|
const A = W.useRef(null), [$, O] = W.useState(!1);
|
|
5123
|
-
let
|
|
5127
|
+
let m = !c && u;
|
|
5124
5128
|
W.useEffect(() => {
|
|
5125
5129
|
N(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5126
5130
|
}, [d]);
|
|
@@ -5131,7 +5135,7 @@ function Ra({
|
|
|
5131
5135
|
A.position = { x: E, b: P, y: U }, O(!0);
|
|
5132
5136
|
};
|
|
5133
5137
|
const G = {};
|
|
5134
|
-
return C && (G.placeholder = C),
|
|
5138
|
+
return C && (G.placeholder = C), m ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5135
5139
|
g ? g() : /* @__PURE__ */ y.jsxs(
|
|
5136
5140
|
"dl",
|
|
5137
5141
|
{
|
|
@@ -5147,7 +5151,7 @@ function Ra({
|
|
|
5147
5151
|
...G,
|
|
5148
5152
|
"data-edit": (c && u) + "",
|
|
5149
5153
|
children: [
|
|
5150
|
-
|
|
5154
|
+
ua(S, "dd.mm.yyyy"),
|
|
5151
5155
|
k
|
|
5152
5156
|
]
|
|
5153
5157
|
}
|
|
@@ -5158,7 +5162,7 @@ function Ra({
|
|
|
5158
5162
|
),
|
|
5159
5163
|
$ && Mt(
|
|
5160
5164
|
/* @__PURE__ */ y.jsx(
|
|
5161
|
-
|
|
5165
|
+
la,
|
|
5162
5166
|
{
|
|
5163
5167
|
position: A.position,
|
|
5164
5168
|
onValue: I,
|
|
@@ -5174,7 +5178,7 @@ function Ra({
|
|
|
5174
5178
|
)
|
|
5175
5179
|
] });
|
|
5176
5180
|
}
|
|
5177
|
-
const
|
|
5181
|
+
const la = ({
|
|
5178
5182
|
date: n,
|
|
5179
5183
|
onValue: i,
|
|
5180
5184
|
position: c,
|
|
@@ -5199,7 +5203,7 @@ const sa = ({
|
|
|
5199
5203
|
O.push(0);
|
|
5200
5204
|
for (; $.getMonth() === A; )
|
|
5201
5205
|
O.push($.getDate()), $.setDate($.getDate() + 1);
|
|
5202
|
-
let
|
|
5206
|
+
let m = () => {
|
|
5203
5207
|
T(!1);
|
|
5204
5208
|
}, I = () => {
|
|
5205
5209
|
L(d.m + 1, d.y);
|
|
@@ -5208,7 +5212,7 @@ const sa = ({
|
|
|
5208
5212
|
}, G = (h) => {
|
|
5209
5213
|
i(
|
|
5210
5214
|
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5211
|
-
),
|
|
5215
|
+
), m();
|
|
5212
5216
|
}, L = (h, b) => {
|
|
5213
5217
|
b = h > 12 ? b + 1 : h < 1 ? b - 1 : b, h = h > 12 ? 1 : h < 1 ? 12 : h, k({ y: b, m: h });
|
|
5214
5218
|
};
|
|
@@ -5226,7 +5230,7 @@ const sa = ({
|
|
|
5226
5230
|
};
|
|
5227
5231
|
let U = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, R = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5228
5232
|
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5229
|
-
/* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: () =>
|
|
5233
|
+
/* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: () => m() }),
|
|
5230
5234
|
/* @__PURE__ */ y.jsxs(
|
|
5231
5235
|
"div",
|
|
5232
5236
|
{
|
|
@@ -5249,7 +5253,7 @@ const sa = ({
|
|
|
5249
5253
|
}
|
|
5250
5254
|
) }),
|
|
5251
5255
|
/* @__PURE__ */ y.jsxs("h2", { children: [
|
|
5252
|
-
|
|
5256
|
+
ca(d.m).name,
|
|
5253
5257
|
" ",
|
|
5254
5258
|
d.y
|
|
5255
5259
|
] }),
|
|
@@ -5282,7 +5286,7 @@ const sa = ({
|
|
|
5282
5286
|
)
|
|
5283
5287
|
] });
|
|
5284
5288
|
};
|
|
5285
|
-
function
|
|
5289
|
+
function ca(n) {
|
|
5286
5290
|
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
5287
5291
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5288
5292
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
@@ -5303,7 +5307,7 @@ function Gt(n, i) {
|
|
|
5303
5307
|
for (; c.length < n; ) c = "0" + c;
|
|
5304
5308
|
return c;
|
|
5305
5309
|
}
|
|
5306
|
-
function
|
|
5310
|
+
function ua(n, i) {
|
|
5307
5311
|
i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5308
5312
|
let c = {
|
|
5309
5313
|
yyyy: n.getFullYear(),
|
|
@@ -5320,7 +5324,7 @@ function ca(n, i) {
|
|
|
5320
5324
|
i = i.replace(u, c[u]);
|
|
5321
5325
|
return i;
|
|
5322
5326
|
}
|
|
5323
|
-
function
|
|
5327
|
+
function Oa({
|
|
5324
5328
|
value: n,
|
|
5325
5329
|
onValue: i,
|
|
5326
5330
|
name: c,
|
|
@@ -5337,11 +5341,11 @@ function Ea({
|
|
|
5337
5341
|
W.useEffect(() => {
|
|
5338
5342
|
d(n);
|
|
5339
5343
|
}, [n]);
|
|
5340
|
-
let A = (
|
|
5341
|
-
d(
|
|
5342
|
-
}, $ = (
|
|
5344
|
+
let A = (m) => {
|
|
5345
|
+
d(m), i && i({ value: m, name: c });
|
|
5346
|
+
}, $ = (m) => {
|
|
5343
5347
|
if (!C || !T) return;
|
|
5344
|
-
const I =
|
|
5348
|
+
const I = m.target.getBoundingClientRect(), K = I.left, G = I.top;
|
|
5345
5349
|
k.position = { x: K, y: G }, N(!0);
|
|
5346
5350
|
};
|
|
5347
5351
|
const O = {};
|
|
@@ -5350,7 +5354,7 @@ function Ea({
|
|
|
5350
5354
|
"dl",
|
|
5351
5355
|
{
|
|
5352
5356
|
"data-field": "date",
|
|
5353
|
-
className: [V.l, g].filter((
|
|
5357
|
+
className: [V.l, g].filter((m) => m !== void 0).join(" "),
|
|
5354
5358
|
children: [
|
|
5355
5359
|
x ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: x }) : "",
|
|
5356
5360
|
/* @__PURE__ */ y.jsx(
|
|
@@ -5359,7 +5363,7 @@ function Ea({
|
|
|
5359
5363
|
onClick: $,
|
|
5360
5364
|
...O,
|
|
5361
5365
|
className: [V.f, V.w].join(" "),
|
|
5362
|
-
children:
|
|
5366
|
+
children: fa(o, "mm.yyyy")
|
|
5363
5367
|
}
|
|
5364
5368
|
),
|
|
5365
5369
|
u && /* @__PURE__ */ y.jsx("em", { children: u })
|
|
@@ -5368,7 +5372,7 @@ function Ea({
|
|
|
5368
5372
|
),
|
|
5369
5373
|
S && Mt(
|
|
5370
5374
|
/* @__PURE__ */ y.jsx(
|
|
5371
|
-
|
|
5375
|
+
da,
|
|
5372
5376
|
{
|
|
5373
5377
|
position: k.position,
|
|
5374
5378
|
onValue: A,
|
|
@@ -5381,7 +5385,7 @@ function Ea({
|
|
|
5381
5385
|
)
|
|
5382
5386
|
] });
|
|
5383
5387
|
}
|
|
5384
|
-
const
|
|
5388
|
+
const da = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
5385
5389
|
let v = /* @__PURE__ */ new Date(), C = new Date(i), T = {
|
|
5386
5390
|
y: parseInt(v.getFullYear()),
|
|
5387
5391
|
m: parseInt(v.getMonth()) + 1
|
|
@@ -5394,9 +5398,9 @@ const ua = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5394
5398
|
g(s + 1);
|
|
5395
5399
|
}, k = () => {
|
|
5396
5400
|
g(s - 1);
|
|
5397
|
-
}, S = (
|
|
5398
|
-
c(s + "-" +
|
|
5399
|
-
}, N = (
|
|
5401
|
+
}, S = (m) => {
|
|
5402
|
+
c(s + "-" + ma(2, m)), o();
|
|
5403
|
+
}, N = (m) => T.y === x.y && T.m === m ? "_FFEB3B" : "", A = Array(12).fill("").map((m, I) => I + 1), $ = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, O = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5400
5404
|
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5401
5405
|
/* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: o }),
|
|
5402
5406
|
/* @__PURE__ */ y.jsxs("div", { className: Rt.c, style: { top: $ + "px", left: O + "px" }, children: [
|
|
@@ -5425,21 +5429,21 @@ const ua = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5425
5429
|
}
|
|
5426
5430
|
) })
|
|
5427
5431
|
] }),
|
|
5428
|
-
/* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((
|
|
5432
|
+
/* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((m, I) => /* @__PURE__ */ y.jsx(
|
|
5429
5433
|
"span",
|
|
5430
5434
|
{
|
|
5431
5435
|
onClick: () => {
|
|
5432
|
-
S(
|
|
5436
|
+
S(m);
|
|
5433
5437
|
},
|
|
5434
|
-
color: N(
|
|
5435
|
-
children: /* @__PURE__ */ y.jsx("b", { children: pa(
|
|
5438
|
+
color: N(m),
|
|
5439
|
+
children: /* @__PURE__ */ y.jsx("b", { children: pa(m).abc })
|
|
5436
5440
|
},
|
|
5437
5441
|
I
|
|
5438
5442
|
)) })
|
|
5439
5443
|
] })
|
|
5440
5444
|
] });
|
|
5441
5445
|
};
|
|
5442
|
-
function
|
|
5446
|
+
function fa(n, i) {
|
|
5443
5447
|
i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5444
5448
|
let c = {
|
|
5445
5449
|
yyyy: n.getFullYear(),
|
|
@@ -5456,7 +5460,7 @@ function da(n, i) {
|
|
|
5456
5460
|
i = i.replace(u, c[u]);
|
|
5457
5461
|
return i;
|
|
5458
5462
|
}
|
|
5459
|
-
function
|
|
5463
|
+
function ma(n, i) {
|
|
5460
5464
|
let c = i + "";
|
|
5461
5465
|
for (; c.length < n; ) c = "0" + c;
|
|
5462
5466
|
return c;
|
|
@@ -5477,7 +5481,7 @@ function pa(n) {
|
|
|
5477
5481
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5478
5482
|
}[n];
|
|
5479
5483
|
}
|
|
5480
|
-
function
|
|
5484
|
+
function Ta({
|
|
5481
5485
|
value: n,
|
|
5482
5486
|
onValue: i,
|
|
5483
5487
|
name: c,
|
|
@@ -5496,21 +5500,21 @@ function Oa({
|
|
|
5496
5500
|
className: A = "",
|
|
5497
5501
|
isClear: $ = !1
|
|
5498
5502
|
}) {
|
|
5499
|
-
let O = !!(T && (n === "" || n === void 0)),
|
|
5503
|
+
let O = !!(T && (n === "" || n === void 0)), m = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), I = (R, h) => {
|
|
5500
5504
|
let b = document.createRange(), M = window.getSelection();
|
|
5501
5505
|
b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
|
|
5502
5506
|
}, K = (R) => {
|
|
5503
5507
|
i == null || i({
|
|
5504
|
-
value:
|
|
5508
|
+
value: m(R.target.textContent) * d,
|
|
5505
5509
|
name: c
|
|
5506
|
-
}), R.target.textContent =
|
|
5510
|
+
}), R.target.textContent = m(R.target.textContent), R.target.textContent.length > 0 && I(R.target.textContent.length, R.target);
|
|
5507
5511
|
}, G = (R) => {
|
|
5508
|
-
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value:
|
|
5509
|
-
value:
|
|
5512
|
+
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: m(R.target.textContent) * d, name: c }), i == null || i({
|
|
5513
|
+
value: m(R.target.textContent) * d,
|
|
5510
5514
|
name: c
|
|
5511
5515
|
}), R.target.textContent = zt(R.target.textContent);
|
|
5512
5516
|
}, L = (R) => {
|
|
5513
|
-
R.target.textContent =
|
|
5517
|
+
R.target.textContent = m(R.target.textContent);
|
|
5514
5518
|
}, q = (R) => {
|
|
5515
5519
|
R.currentTarget.previousElementSibling.textContent = "", i == null || i({
|
|
5516
5520
|
value: 0,
|
|
@@ -5559,7 +5563,7 @@ function zt(n, i) {
|
|
|
5559
5563
|
return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5560
5564
|
}
|
|
5561
5565
|
const he = {};
|
|
5562
|
-
function
|
|
5566
|
+
function Da(n) {
|
|
5563
5567
|
const [i, c] = W.useState({}), u = W.useRef(n);
|
|
5564
5568
|
return he.u = (v) => {
|
|
5565
5569
|
u.current = { ...u.current, [v.name]: v.value };
|
|
@@ -5569,13 +5573,13 @@ function Ta(n) {
|
|
|
5569
5573
|
c(Date.now());
|
|
5570
5574
|
}, [u.current, he.n];
|
|
5571
5575
|
}
|
|
5572
|
-
function
|
|
5576
|
+
function Pa(n) {
|
|
5573
5577
|
he.u(n), n.reload && he.r();
|
|
5574
5578
|
}
|
|
5575
|
-
function
|
|
5579
|
+
function Na() {
|
|
5576
5580
|
he.r && he.r();
|
|
5577
5581
|
}
|
|
5578
|
-
function
|
|
5582
|
+
function Fa(n) {
|
|
5579
5583
|
const [i, c] = W.useState({}), u = W.useRef(n);
|
|
5580
5584
|
return he.u = (v) => {
|
|
5581
5585
|
u.current = { ...u.current, [v.name]: v.value };
|
|
@@ -5593,21 +5597,21 @@ function It() {
|
|
|
5593
5597
|
It().elcrm || (It().elcrm = {});
|
|
5594
5598
|
Object.assign(It().elcrm, { form: Vt.version });
|
|
5595
5599
|
export {
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5600
|
+
Ea as Date,
|
|
5601
|
+
Ca as Mask,
|
|
5602
|
+
wa as Modal,
|
|
5603
|
+
Ta as Money,
|
|
5604
|
+
Oa as Month,
|
|
5605
|
+
Sa as Note,
|
|
5606
|
+
xa as Number,
|
|
5607
|
+
ba as Options,
|
|
5608
|
+
ja as Password,
|
|
5609
|
+
Ra as Phone,
|
|
5610
|
+
ga as Progress,
|
|
5611
|
+
ka as Select,
|
|
5612
|
+
ha as String,
|
|
5613
|
+
Na as runReload,
|
|
5614
|
+
Pa as setValue,
|
|
5615
|
+
Da as useData,
|
|
5616
|
+
Fa as useError
|
|
5613
5617
|
};
|