@elcrm/form 0.0.27 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.es.js +504 -505
- package/dist/index.umd.js +34 -34
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import W, { useEffect as Jt } from "react";
|
|
2
2
|
import { createPortal as Mt } from "react-dom";
|
|
3
|
-
import './index.css';const Zt = "0.0.
|
|
3
|
+
import './index.css';const Zt = "0.0.28", Vt = {
|
|
4
4
|
version: Zt
|
|
5
5
|
};
|
|
6
6
|
var Tt = { exports: {} }, pt = {};
|
|
@@ -17,13 +17,13 @@ var $t;
|
|
|
17
17
|
function Xt() {
|
|
18
18
|
if ($t) return pt;
|
|
19
19
|
$t = 1;
|
|
20
|
-
var n =
|
|
20
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function T(x, s, g) {
|
|
22
|
-
var o, d = {},
|
|
23
|
-
g !== void 0 && (
|
|
22
|
+
var o, d = {}, k = null, S = null;
|
|
23
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
24
24
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
25
25
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
26
|
-
return { $$typeof: i, type: x, key:
|
|
26
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
27
27
|
}
|
|
28
28
|
return pt.Fragment = c, pt.jsx = T, pt.jsxs = T, pt;
|
|
29
29
|
}
|
|
@@ -40,7 +40,7 @@ var mt = {};
|
|
|
40
40
|
var At;
|
|
41
41
|
function Qt() {
|
|
42
42
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var n =
|
|
43
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
44
44
|
function $(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
@@ -52,10 +52,10 @@ function Qt() {
|
|
|
52
52
|
{
|
|
53
53
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
54
54
|
r[a - 1] = arguments[a];
|
|
55
|
-
|
|
55
|
+
I("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function I(e, t, r) {
|
|
59
59
|
{
|
|
60
60
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -65,14 +65,14 @@ function Qt() {
|
|
|
65
65
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
68
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
69
|
+
P = Symbol.for("react.module.reference");
|
|
70
|
+
function U(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
75
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
77
|
function R(e, t, r) {
|
|
78
78
|
var a = e.displayName;
|
|
@@ -84,7 +84,7 @@ function Qt() {
|
|
|
84
84
|
function h(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function b(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
90
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -117,11 +117,11 @@ function Qt() {
|
|
|
117
117
|
return R(e, e.render, "ForwardRef");
|
|
118
118
|
case d:
|
|
119
119
|
var a = e.displayName || null;
|
|
120
|
-
return a !== null ? a :
|
|
121
|
-
case
|
|
120
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
121
|
+
case k: {
|
|
122
122
|
var f = e, m = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return b(l(m));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,7 +129,7 @@ function Qt() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
133
133
|
function we() {
|
|
134
134
|
}
|
|
135
135
|
we.__reactDisabledLog = !0;
|
|
@@ -165,25 +165,25 @@ function Qt() {
|
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
168
|
+
log: M({}, e, {
|
|
169
169
|
value: Q
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: M({}, e, {
|
|
172
172
|
value: ie
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: M({}, e, {
|
|
175
175
|
value: se
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: M({}, e, {
|
|
178
178
|
value: ve
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
180
|
+
group: M({}, e, {
|
|
181
181
|
value: ge
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: M({}, e, {
|
|
184
184
|
value: be
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: M({}, e, {
|
|
187
187
|
value: ke
|
|
188
188
|
})
|
|
189
189
|
});
|
|
@@ -259,14 +259,14 @@ function Qt() {
|
|
|
259
259
|
} catch (F) {
|
|
260
260
|
if (F && a && typeof F.stack == "string") {
|
|
261
261
|
for (var _ = F.stack.split(`
|
|
262
|
-
`),
|
|
263
|
-
`), w = _.length - 1, j =
|
|
262
|
+
`), D = a.stack.split(`
|
|
263
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
266
|
-
if (_[w] !==
|
|
266
|
+
if (_[w] !== D[j]) {
|
|
267
267
|
if (w !== 1 || j !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
269
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
270
270
|
var B = `
|
|
271
271
|
` + _[w].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -278,7 +278,7 @@ function Qt() {
|
|
|
278
278
|
} finally {
|
|
279
279
|
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
281
|
+
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
282
282
|
return typeof e == "function" && ae.set(e, z), z;
|
|
283
283
|
}
|
|
284
284
|
function Ke(e, t, r) {
|
|
@@ -307,7 +307,7 @@ function Qt() {
|
|
|
307
307
|
return Ke(e.render);
|
|
308
308
|
case d:
|
|
309
309
|
return ne(e.type, t, r);
|
|
310
|
-
case
|
|
310
|
+
case k: {
|
|
311
311
|
var a = e, f = a._payload, m = a._init;
|
|
312
312
|
try {
|
|
313
313
|
return ne(m(f), t, r);
|
|
@@ -333,8 +333,8 @@ function Qt() {
|
|
|
333
333
|
var _ = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var D = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw D.name = "Invariant Violation", D;
|
|
338
338
|
}
|
|
339
339
|
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (w) {
|
|
@@ -446,8 +446,8 @@ function Qt() {
|
|
|
446
446
|
};
|
|
447
447
|
function rt(e, t, r, a, f) {
|
|
448
448
|
{
|
|
449
|
-
var m, l = {}, _ = null,
|
|
450
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
449
|
+
var m, l = {}, _ = null, D = null;
|
|
450
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t, f));
|
|
451
451
|
for (m in t)
|
|
452
452
|
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
@@ -455,15 +455,15 @@ function Qt() {
|
|
|
455
455
|
for (m in w)
|
|
456
456
|
l[m] === void 0 && (l[m] = w[m]);
|
|
457
457
|
}
|
|
458
|
-
if (_ ||
|
|
458
|
+
if (_ || D) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
_ && Qe(l, j),
|
|
460
|
+
_ && Qe(l, j), D && et(l, j);
|
|
461
461
|
}
|
|
462
|
-
return tt(e, _,
|
|
462
|
+
return tt(e, _, D, f, a, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
466
|
-
function
|
|
466
|
+
function J(e) {
|
|
467
467
|
if (e) {
|
|
468
468
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
469
469
|
De.setExtraStackFrame(r);
|
|
@@ -478,7 +478,7 @@ function Qt() {
|
|
|
478
478
|
function Pe() {
|
|
479
479
|
{
|
|
480
480
|
if (fe.current) {
|
|
481
|
-
var e =
|
|
481
|
+
var e = b(fe.current.type);
|
|
482
482
|
if (e)
|
|
483
483
|
return `
|
|
484
484
|
|
|
@@ -513,7 +513,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
513
513
|
return;
|
|
514
514
|
Ne[r] = !0;
|
|
515
515
|
var a = "";
|
|
516
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
516
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ie(e, t) {
|
|
@@ -550,11 +550,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var a =
|
|
553
|
+
var a = b(t);
|
|
554
554
|
Ye(r, e.props, "prop", a, e);
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
556
|
pe = !0;
|
|
557
|
-
var f =
|
|
557
|
+
var f = b(t);
|
|
558
558
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
559
559
|
}
|
|
560
560
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -565,24 +565,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
565
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
566
|
var a = t[r];
|
|
567
567
|
if (a !== "children" && a !== "key") {
|
|
568
|
-
|
|
568
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
e.ref !== null && (
|
|
572
|
+
e.ref !== null && (J(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var Me = {};
|
|
576
576
|
function $e(e, t, r, a, f, m) {
|
|
577
577
|
{
|
|
578
|
-
var l =
|
|
578
|
+
var l = U(e);
|
|
579
579
|
if (!l) {
|
|
580
580
|
var _ = "";
|
|
581
581
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var
|
|
583
|
-
|
|
582
|
+
var D = at();
|
|
583
|
+
D ? _ += D : _ += Pe();
|
|
584
584
|
var w;
|
|
585
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (
|
|
585
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
586
586
|
}
|
|
587
587
|
var j = rt(e, t, r, f, m);
|
|
588
588
|
if (j == null)
|
|
@@ -592,8 +592,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
592
592
|
if (B !== void 0)
|
|
593
593
|
if (a)
|
|
594
594
|
if (de(B)) {
|
|
595
|
-
for (var
|
|
596
|
-
Ie(B[
|
|
595
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
596
|
+
Ie(B[Z], e);
|
|
597
597
|
Object.freeze && Object.freeze(B);
|
|
598
598
|
} else
|
|
599
599
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -601,7 +601,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
601
601
|
Ie(B, e);
|
|
602
602
|
}
|
|
603
603
|
if (X.call(t, "key")) {
|
|
604
|
-
var z =
|
|
604
|
+
var z = b(e), F = Object.keys(t).filter(function(dt) {
|
|
605
605
|
return dt !== "key";
|
|
606
606
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!Me[z + ye]) {
|
|
@@ -670,14 +670,14 @@ te.Blur = (n) => {
|
|
|
670
670
|
n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
te.ContentEditable = "plaintext-only";
|
|
673
|
-
const er = "
|
|
673
|
+
const er = "_l_mc013_13", tr = "_f_mc013_35", rr = "_n_mc013_52", ar = "_w_mc013_57", nr = "_t_mc013_67", V = {
|
|
674
674
|
l: er,
|
|
675
675
|
f: tr,
|
|
676
676
|
n: rr,
|
|
677
677
|
w: ar,
|
|
678
678
|
t: nr
|
|
679
679
|
};
|
|
680
|
-
function
|
|
680
|
+
function bt({
|
|
681
681
|
element_blok: n,
|
|
682
682
|
element_input: i,
|
|
683
683
|
type: c = "input",
|
|
@@ -691,14 +691,14 @@ function Rt({
|
|
|
691
691
|
{
|
|
692
692
|
"data-field": c,
|
|
693
693
|
...i.props,
|
|
694
|
-
className: [
|
|
694
|
+
className: [V.l, ...n.className].filter((x) => x !== void 0).join(" "),
|
|
695
695
|
children: [
|
|
696
|
-
u ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
696
|
+
u ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: u }) : "",
|
|
697
697
|
v,
|
|
698
698
|
/* @__PURE__ */ y.jsx(
|
|
699
699
|
"dd",
|
|
700
700
|
{
|
|
701
|
-
className: [
|
|
701
|
+
className: [V.f, ...i.className].join(
|
|
702
702
|
" "
|
|
703
703
|
),
|
|
704
704
|
...i.props,
|
|
@@ -723,14 +723,14 @@ function ga({
|
|
|
723
723
|
active: g = !0,
|
|
724
724
|
after: o = "",
|
|
725
725
|
before: d = "",
|
|
726
|
-
show:
|
|
726
|
+
show: k = !0,
|
|
727
727
|
maxLength: S,
|
|
728
728
|
onSave: N,
|
|
729
729
|
className: A = "",
|
|
730
730
|
isCopy: $ = !0,
|
|
731
731
|
isReload: O = !1
|
|
732
732
|
}) {
|
|
733
|
-
let p = !!(x && (i === "" || i === void 0)),
|
|
733
|
+
let p = !!(x && (i === "" || i === void 0)), I = (E) => {
|
|
734
734
|
c && c({
|
|
735
735
|
value: E.target.textContent.trim(),
|
|
736
736
|
name: u,
|
|
@@ -739,39 +739,39 @@ function ga({
|
|
|
739
739
|
}, K = (E) => {
|
|
740
740
|
S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
741
741
|
}, G = (E) => {
|
|
742
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
742
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
743
743
|
if (S) {
|
|
744
|
-
let
|
|
745
|
-
if (
|
|
746
|
-
S -=
|
|
744
|
+
let U = E.target.textContent.length;
|
|
745
|
+
if (U >= S) return;
|
|
746
|
+
S -= U, P = P.slice(0, S);
|
|
747
747
|
}
|
|
748
748
|
window.document.execCommand(
|
|
749
749
|
"insertText",
|
|
750
750
|
!1,
|
|
751
|
-
|
|
751
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
752
752
|
);
|
|
753
|
-
}).catch((
|
|
753
|
+
}).catch((P) => {
|
|
754
754
|
});
|
|
755
755
|
};
|
|
756
|
-
if (!(s && g) && !
|
|
756
|
+
if (!(s && g) && !k || !(s && g) && p) return "";
|
|
757
757
|
const L = {};
|
|
758
758
|
v && (L.placeholder = v), s && g && (L.edit = "");
|
|
759
759
|
const q = (E) => {
|
|
760
760
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
761
761
|
};
|
|
762
762
|
return /* @__PURE__ */ y.jsx(
|
|
763
|
-
|
|
763
|
+
bt,
|
|
764
764
|
{
|
|
765
765
|
type: "input",
|
|
766
766
|
title: C,
|
|
767
767
|
element_blok: { className: [A] },
|
|
768
|
-
element_input: { className: [
|
|
768
|
+
element_input: { className: [V.w] },
|
|
769
769
|
children: /* @__PURE__ */ y.jsx(
|
|
770
770
|
"div",
|
|
771
771
|
{
|
|
772
772
|
onBlur: q,
|
|
773
773
|
onPaste: G,
|
|
774
|
-
onInput:
|
|
774
|
+
onInput: I,
|
|
775
775
|
onKeyDown: K,
|
|
776
776
|
spellCheck: "true",
|
|
777
777
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
@@ -797,17 +797,17 @@ var Bt;
|
|
|
797
797
|
function or() {
|
|
798
798
|
if (Bt) return yt;
|
|
799
799
|
Bt = 1;
|
|
800
|
-
var n =
|
|
800
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
801
801
|
function T(x, s, g) {
|
|
802
|
-
var o, d = {},
|
|
803
|
-
g !== void 0 && (
|
|
802
|
+
var o, d = {}, k = null, S = null;
|
|
803
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
804
804
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
805
805
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
806
|
-
return { $$typeof: i, type: x, key:
|
|
806
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
807
807
|
}
|
|
808
808
|
return yt.Fragment = c, yt.jsx = T, yt.jsxs = T, yt;
|
|
809
809
|
}
|
|
810
|
-
var
|
|
810
|
+
var kt = {};
|
|
811
811
|
/**
|
|
812
812
|
* @license React
|
|
813
813
|
* react-jsx-runtime.development.js
|
|
@@ -820,7 +820,7 @@ var bt = {};
|
|
|
820
820
|
var Lt;
|
|
821
821
|
function ir() {
|
|
822
822
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
823
|
-
var n =
|
|
823
|
+
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
824
|
function $(e) {
|
|
825
825
|
if (e === null || typeof e != "object")
|
|
826
826
|
return null;
|
|
@@ -832,10 +832,10 @@ function ir() {
|
|
|
832
832
|
{
|
|
833
833
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
834
834
|
r[a - 1] = arguments[a];
|
|
835
|
-
|
|
835
|
+
I("error", e, r);
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function I(e, t, r) {
|
|
839
839
|
{
|
|
840
840
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
841
841
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -845,14 +845,14 @@ function ir() {
|
|
|
845
845
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
846
846
|
}
|
|
847
847
|
}
|
|
848
|
-
var K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
849
|
-
|
|
850
|
-
function
|
|
851
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
848
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
849
|
+
P = Symbol.for("react.module.reference");
|
|
850
|
+
function U(e) {
|
|
851
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
852
852
|
// types supported by any Flight configuration anywhere since
|
|
853
853
|
// we don't know which Flight build this will end up being used
|
|
854
854
|
// with.
|
|
855
|
-
e.$$typeof ===
|
|
855
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
856
856
|
}
|
|
857
857
|
function R(e, t, r) {
|
|
858
858
|
var a = e.displayName;
|
|
@@ -864,7 +864,7 @@ function ir() {
|
|
|
864
864
|
function h(e) {
|
|
865
865
|
return e.displayName || "Context";
|
|
866
866
|
}
|
|
867
|
-
function
|
|
867
|
+
function b(e) {
|
|
868
868
|
if (e == null)
|
|
869
869
|
return null;
|
|
870
870
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -897,11 +897,11 @@ function ir() {
|
|
|
897
897
|
return R(e, e.render, "ForwardRef");
|
|
898
898
|
case d:
|
|
899
899
|
var a = e.displayName || null;
|
|
900
|
-
return a !== null ? a :
|
|
901
|
-
case
|
|
900
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
901
|
+
case k: {
|
|
902
902
|
var f = e, m = f._payload, l = f._init;
|
|
903
903
|
try {
|
|
904
|
-
return
|
|
904
|
+
return b(l(m));
|
|
905
905
|
} catch {
|
|
906
906
|
return null;
|
|
907
907
|
}
|
|
@@ -909,7 +909,7 @@ function ir() {
|
|
|
909
909
|
}
|
|
910
910
|
return null;
|
|
911
911
|
}
|
|
912
|
-
var
|
|
912
|
+
var M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
913
913
|
function we() {
|
|
914
914
|
}
|
|
915
915
|
we.__reactDisabledLog = !0;
|
|
@@ -945,25 +945,25 @@ function ir() {
|
|
|
945
945
|
writable: !0
|
|
946
946
|
};
|
|
947
947
|
Object.defineProperties(console, {
|
|
948
|
-
log:
|
|
948
|
+
log: M({}, e, {
|
|
949
949
|
value: Q
|
|
950
950
|
}),
|
|
951
|
-
info:
|
|
951
|
+
info: M({}, e, {
|
|
952
952
|
value: ie
|
|
953
953
|
}),
|
|
954
|
-
warn:
|
|
954
|
+
warn: M({}, e, {
|
|
955
955
|
value: se
|
|
956
956
|
}),
|
|
957
|
-
error:
|
|
957
|
+
error: M({}, e, {
|
|
958
958
|
value: ve
|
|
959
959
|
}),
|
|
960
|
-
group:
|
|
960
|
+
group: M({}, e, {
|
|
961
961
|
value: ge
|
|
962
962
|
}),
|
|
963
|
-
groupCollapsed:
|
|
963
|
+
groupCollapsed: M({}, e, {
|
|
964
964
|
value: be
|
|
965
965
|
}),
|
|
966
|
-
groupEnd:
|
|
966
|
+
groupEnd: M({}, e, {
|
|
967
967
|
value: ke
|
|
968
968
|
})
|
|
969
969
|
});
|
|
@@ -1039,14 +1039,14 @@ function ir() {
|
|
|
1039
1039
|
} catch (F) {
|
|
1040
1040
|
if (F && a && typeof F.stack == "string") {
|
|
1041
1041
|
for (var _ = F.stack.split(`
|
|
1042
|
-
`),
|
|
1043
|
-
`), w = _.length - 1, j =
|
|
1042
|
+
`), D = a.stack.split(`
|
|
1043
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
1044
1044
|
j--;
|
|
1045
1045
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1046
|
-
if (_[w] !==
|
|
1046
|
+
if (_[w] !== D[j]) {
|
|
1047
1047
|
if (w !== 1 || j !== 1)
|
|
1048
1048
|
do
|
|
1049
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
1049
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
1050
1050
|
var B = `
|
|
1051
1051
|
` + _[w].replace(" at new ", " at ");
|
|
1052
1052
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -1058,7 +1058,7 @@ function ir() {
|
|
|
1058
1058
|
} finally {
|
|
1059
1059
|
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
1060
1060
|
}
|
|
1061
|
-
var
|
|
1061
|
+
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1062
1062
|
return typeof e == "function" && ae.set(e, z), z;
|
|
1063
1063
|
}
|
|
1064
1064
|
function Ke(e, t, r) {
|
|
@@ -1087,7 +1087,7 @@ function ir() {
|
|
|
1087
1087
|
return Ke(e.render);
|
|
1088
1088
|
case d:
|
|
1089
1089
|
return ne(e.type, t, r);
|
|
1090
|
-
case
|
|
1090
|
+
case k: {
|
|
1091
1091
|
var a = e, f = a._payload, m = a._init;
|
|
1092
1092
|
try {
|
|
1093
1093
|
return ne(m(f), t, r);
|
|
@@ -1113,8 +1113,8 @@ function ir() {
|
|
|
1113
1113
|
var _ = void 0;
|
|
1114
1114
|
try {
|
|
1115
1115
|
if (typeof e[l] != "function") {
|
|
1116
|
-
var
|
|
1117
|
-
throw
|
|
1116
|
+
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`.");
|
|
1117
|
+
throw D.name = "Invariant Violation", D;
|
|
1118
1118
|
}
|
|
1119
1119
|
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1120
1120
|
} catch (w) {
|
|
@@ -1226,8 +1226,8 @@ function ir() {
|
|
|
1226
1226
|
};
|
|
1227
1227
|
function rt(e, t, r, a, f) {
|
|
1228
1228
|
{
|
|
1229
|
-
var m, l = {}, _ = null,
|
|
1230
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
1229
|
+
var m, l = {}, _ = null, D = null;
|
|
1230
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
1231
1231
|
for (m in t)
|
|
1232
1232
|
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1233
1233
|
if (e && e.defaultProps) {
|
|
@@ -1235,15 +1235,15 @@ function ir() {
|
|
|
1235
1235
|
for (m in w)
|
|
1236
1236
|
l[m] === void 0 && (l[m] = w[m]);
|
|
1237
1237
|
}
|
|
1238
|
-
if (_ ||
|
|
1238
|
+
if (_ || D) {
|
|
1239
1239
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1240
|
-
_ && Qe(l, j),
|
|
1240
|
+
_ && Qe(l, j), D && et(l, j);
|
|
1241
1241
|
}
|
|
1242
|
-
return tt(e, _,
|
|
1242
|
+
return tt(e, _, D, f, a, Ee.current, l);
|
|
1243
1243
|
}
|
|
1244
1244
|
}
|
|
1245
1245
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
1246
|
-
function
|
|
1246
|
+
function J(e) {
|
|
1247
1247
|
if (e) {
|
|
1248
1248
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1249
1249
|
De.setExtraStackFrame(r);
|
|
@@ -1258,7 +1258,7 @@ function ir() {
|
|
|
1258
1258
|
function Pe() {
|
|
1259
1259
|
{
|
|
1260
1260
|
if (fe.current) {
|
|
1261
|
-
var e =
|
|
1261
|
+
var e = b(fe.current.type);
|
|
1262
1262
|
if (e)
|
|
1263
1263
|
return `
|
|
1264
1264
|
|
|
@@ -1293,7 +1293,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1293
1293
|
return;
|
|
1294
1294
|
Ne[r] = !0;
|
|
1295
1295
|
var a = "";
|
|
1296
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
1296
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
1299
|
function Ie(e, t) {
|
|
@@ -1330,11 +1330,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1330
1330
|
else
|
|
1331
1331
|
return;
|
|
1332
1332
|
if (r) {
|
|
1333
|
-
var a =
|
|
1333
|
+
var a = b(t);
|
|
1334
1334
|
Ye(r, e.props, "prop", a, e);
|
|
1335
1335
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
1336
1336
|
pe = !0;
|
|
1337
|
-
var f =
|
|
1337
|
+
var f = b(t);
|
|
1338
1338
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
1339
1339
|
}
|
|
1340
1340
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -1345,24 +1345,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1345
1345
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1346
1346
|
var a = t[r];
|
|
1347
1347
|
if (a !== "children" && a !== "key") {
|
|
1348
|
-
|
|
1348
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
1349
1349
|
break;
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
|
-
e.ref !== null && (
|
|
1352
|
+
e.ref !== null && (J(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
1353
1353
|
}
|
|
1354
1354
|
}
|
|
1355
1355
|
var Me = {};
|
|
1356
1356
|
function $e(e, t, r, a, f, m) {
|
|
1357
1357
|
{
|
|
1358
|
-
var l =
|
|
1358
|
+
var l = U(e);
|
|
1359
1359
|
if (!l) {
|
|
1360
1360
|
var _ = "";
|
|
1361
1361
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1362
|
-
var
|
|
1363
|
-
|
|
1362
|
+
var D = at();
|
|
1363
|
+
D ? _ += D : _ += Pe();
|
|
1364
1364
|
var w;
|
|
1365
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (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, 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, _);
|
|
1366
1366
|
}
|
|
1367
1367
|
var j = rt(e, t, r, f, m);
|
|
1368
1368
|
if (j == null)
|
|
@@ -1372,8 +1372,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1372
1372
|
if (B !== void 0)
|
|
1373
1373
|
if (a)
|
|
1374
1374
|
if (de(B)) {
|
|
1375
|
-
for (var
|
|
1376
|
-
Ie(B[
|
|
1375
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
1376
|
+
Ie(B[Z], e);
|
|
1377
1377
|
Object.freeze && Object.freeze(B);
|
|
1378
1378
|
} else
|
|
1379
1379
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -1381,7 +1381,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1381
1381
|
Ie(B, e);
|
|
1382
1382
|
}
|
|
1383
1383
|
if (X.call(t, "key")) {
|
|
1384
|
-
var z =
|
|
1384
|
+
var z = b(e), F = Object.keys(t).filter(function(dt) {
|
|
1385
1385
|
return dt !== "key";
|
|
1386
1386
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1387
1387
|
if (!Me[z + ye]) {
|
|
@@ -1404,11 +1404,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1404
1404
|
return $e(e, t, r, !1);
|
|
1405
1405
|
}
|
|
1406
1406
|
var lt = st, ct = _t;
|
|
1407
|
-
|
|
1408
|
-
}()),
|
|
1407
|
+
kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
|
|
1408
|
+
}()), kt;
|
|
1409
1409
|
}
|
|
1410
1410
|
process.env.NODE_ENV === "production" ? Dt.exports = or() : Dt.exports = ir();
|
|
1411
|
-
var
|
|
1411
|
+
var H = Dt.exports;
|
|
1412
1412
|
const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "_ss_oqfdb_94", ur = "_sm_oqfdb_98", dr = "_sl_oqfdb_102", fr = "_sx_oqfdb_106", pr = "_sf_oqfdb_110", mr = "_o_oqfdb_116", yr = "_b_oqfdb_28", vr = "_w_oqfdb_15", gr = "_h_oqfdb_146", hr = "_l_oqfdb_160", br = "_t_oqfdb_197", kr = "_x_oqfdb_201", wr = "_s_oqfdb_89", jr = "_c_oqfdb_219", xr = "_f_oqfdb_224", Cr = "_r__oqfdb_235", Sr = "_c__oqfdb_250", Rr = "_g_oqfdb_259", Er = "_m_oqfdb_79", _e = {
|
|
1413
1413
|
shake: _r,
|
|
1414
1414
|
modal: sr,
|
|
@@ -1434,16 +1434,16 @@ const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "
|
|
|
1434
1434
|
m: Er
|
|
1435
1435
|
};
|
|
1436
1436
|
function Or({ children: n, className: i }) {
|
|
1437
|
-
return /* @__PURE__ */
|
|
1437
|
+
return /* @__PURE__ */ H.jsx(
|
|
1438
1438
|
"div",
|
|
1439
1439
|
{
|
|
1440
1440
|
className: [_e.l, i].filter((c) => c !== void 0).join(" "),
|
|
1441
|
-
children: /* @__PURE__ */
|
|
1441
|
+
children: /* @__PURE__ */ H.jsx("ul", { children: n })
|
|
1442
1442
|
}
|
|
1443
1443
|
);
|
|
1444
1444
|
}
|
|
1445
1445
|
function Tr({ children: n, className: i }) {
|
|
1446
|
-
return /* @__PURE__ */
|
|
1446
|
+
return /* @__PURE__ */ H.jsx(
|
|
1447
1447
|
"div",
|
|
1448
1448
|
{
|
|
1449
1449
|
className: [_e.s, i].filter((c) => c !== void 0).join(" "),
|
|
@@ -1456,7 +1456,7 @@ function Dr({
|
|
|
1456
1456
|
direction: i = "column",
|
|
1457
1457
|
className: c
|
|
1458
1458
|
}) {
|
|
1459
|
-
return /* @__PURE__ */
|
|
1459
|
+
return /* @__PURE__ */ H.jsx(
|
|
1460
1460
|
"ul",
|
|
1461
1461
|
{
|
|
1462
1462
|
className: [
|
|
@@ -1469,7 +1469,7 @@ function Dr({
|
|
|
1469
1469
|
);
|
|
1470
1470
|
}
|
|
1471
1471
|
function Pr({ children: n, className: i }) {
|
|
1472
|
-
return /* @__PURE__ */
|
|
1472
|
+
return /* @__PURE__ */ H.jsx(
|
|
1473
1473
|
"div",
|
|
1474
1474
|
{
|
|
1475
1475
|
className: [_e.c, i].filter((c) => c !== void 0).join(" "),
|
|
@@ -1478,7 +1478,7 @@ function Pr({ children: n, className: i }) {
|
|
|
1478
1478
|
);
|
|
1479
1479
|
}
|
|
1480
1480
|
function Nr({ children: n, className: i }) {
|
|
1481
|
-
return /* @__PURE__ */
|
|
1481
|
+
return /* @__PURE__ */ H.jsx(
|
|
1482
1482
|
"div",
|
|
1483
1483
|
{
|
|
1484
1484
|
className: [_e.g, i].filter((c) => c !== void 0).join(" "),
|
|
@@ -1506,17 +1506,17 @@ var Ut;
|
|
|
1506
1506
|
function Ir() {
|
|
1507
1507
|
if (Ut) return vt;
|
|
1508
1508
|
Ut = 1;
|
|
1509
|
-
var n =
|
|
1509
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1510
1510
|
function T(x, s, g) {
|
|
1511
|
-
var o, d = {},
|
|
1512
|
-
g !== void 0 && (
|
|
1511
|
+
var o, d = {}, k = null, S = null;
|
|
1512
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
1513
1513
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
1514
1514
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
1515
|
-
return { $$typeof: i, type: x, key:
|
|
1515
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
1516
1516
|
}
|
|
1517
1517
|
return vt.Fragment = c, vt.jsx = T, vt.jsxs = T, vt;
|
|
1518
1518
|
}
|
|
1519
|
-
var
|
|
1519
|
+
var wt = {};
|
|
1520
1520
|
/**
|
|
1521
1521
|
* @license React
|
|
1522
1522
|
* react-jsx-runtime.development.js
|
|
@@ -1529,7 +1529,7 @@ var kt = {};
|
|
|
1529
1529
|
var Kt;
|
|
1530
1530
|
function Mr() {
|
|
1531
1531
|
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1532
|
-
var n =
|
|
1532
|
+
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
1533
|
function $(e) {
|
|
1534
1534
|
if (e === null || typeof e != "object")
|
|
1535
1535
|
return null;
|
|
@@ -1541,10 +1541,10 @@ function Mr() {
|
|
|
1541
1541
|
{
|
|
1542
1542
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1543
1543
|
r[a - 1] = arguments[a];
|
|
1544
|
-
|
|
1544
|
+
I("error", e, r);
|
|
1545
1545
|
}
|
|
1546
1546
|
}
|
|
1547
|
-
function
|
|
1547
|
+
function I(e, t, r) {
|
|
1548
1548
|
{
|
|
1549
1549
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
1550
1550
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -1554,14 +1554,14 @@ function Mr() {
|
|
|
1554
1554
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
1555
1555
|
}
|
|
1556
1556
|
}
|
|
1557
|
-
var K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
1558
|
-
|
|
1559
|
-
function
|
|
1560
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
1557
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
1558
|
+
P = Symbol.for("react.module.reference");
|
|
1559
|
+
function U(e) {
|
|
1560
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1561
1561
|
// types supported by any Flight configuration anywhere since
|
|
1562
1562
|
// we don't know which Flight build this will end up being used
|
|
1563
1563
|
// with.
|
|
1564
|
-
e.$$typeof ===
|
|
1564
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
1565
1565
|
}
|
|
1566
1566
|
function R(e, t, r) {
|
|
1567
1567
|
var a = e.displayName;
|
|
@@ -1573,7 +1573,7 @@ function Mr() {
|
|
|
1573
1573
|
function h(e) {
|
|
1574
1574
|
return e.displayName || "Context";
|
|
1575
1575
|
}
|
|
1576
|
-
function
|
|
1576
|
+
function b(e) {
|
|
1577
1577
|
if (e == null)
|
|
1578
1578
|
return null;
|
|
1579
1579
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -1606,11 +1606,11 @@ function Mr() {
|
|
|
1606
1606
|
return R(e, e.render, "ForwardRef");
|
|
1607
1607
|
case d:
|
|
1608
1608
|
var a = e.displayName || null;
|
|
1609
|
-
return a !== null ? a :
|
|
1610
|
-
case
|
|
1609
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
1610
|
+
case k: {
|
|
1611
1611
|
var f = e, m = f._payload, l = f._init;
|
|
1612
1612
|
try {
|
|
1613
|
-
return
|
|
1613
|
+
return b(l(m));
|
|
1614
1614
|
} catch {
|
|
1615
1615
|
return null;
|
|
1616
1616
|
}
|
|
@@ -1618,7 +1618,7 @@ function Mr() {
|
|
|
1618
1618
|
}
|
|
1619
1619
|
return null;
|
|
1620
1620
|
}
|
|
1621
|
-
var
|
|
1621
|
+
var M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
1622
1622
|
function we() {
|
|
1623
1623
|
}
|
|
1624
1624
|
we.__reactDisabledLog = !0;
|
|
@@ -1654,25 +1654,25 @@ function Mr() {
|
|
|
1654
1654
|
writable: !0
|
|
1655
1655
|
};
|
|
1656
1656
|
Object.defineProperties(console, {
|
|
1657
|
-
log:
|
|
1657
|
+
log: M({}, e, {
|
|
1658
1658
|
value: Q
|
|
1659
1659
|
}),
|
|
1660
|
-
info:
|
|
1660
|
+
info: M({}, e, {
|
|
1661
1661
|
value: ie
|
|
1662
1662
|
}),
|
|
1663
|
-
warn:
|
|
1663
|
+
warn: M({}, e, {
|
|
1664
1664
|
value: se
|
|
1665
1665
|
}),
|
|
1666
|
-
error:
|
|
1666
|
+
error: M({}, e, {
|
|
1667
1667
|
value: ve
|
|
1668
1668
|
}),
|
|
1669
|
-
group:
|
|
1669
|
+
group: M({}, e, {
|
|
1670
1670
|
value: ge
|
|
1671
1671
|
}),
|
|
1672
|
-
groupCollapsed:
|
|
1672
|
+
groupCollapsed: M({}, e, {
|
|
1673
1673
|
value: be
|
|
1674
1674
|
}),
|
|
1675
|
-
groupEnd:
|
|
1675
|
+
groupEnd: M({}, e, {
|
|
1676
1676
|
value: ke
|
|
1677
1677
|
})
|
|
1678
1678
|
});
|
|
@@ -1748,14 +1748,14 @@ function Mr() {
|
|
|
1748
1748
|
} catch (F) {
|
|
1749
1749
|
if (F && a && typeof F.stack == "string") {
|
|
1750
1750
|
for (var _ = F.stack.split(`
|
|
1751
|
-
`),
|
|
1752
|
-
`), w = _.length - 1, j =
|
|
1751
|
+
`), D = a.stack.split(`
|
|
1752
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
1753
1753
|
j--;
|
|
1754
1754
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1755
|
-
if (_[w] !==
|
|
1755
|
+
if (_[w] !== D[j]) {
|
|
1756
1756
|
if (w !== 1 || j !== 1)
|
|
1757
1757
|
do
|
|
1758
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
1758
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
1759
1759
|
var B = `
|
|
1760
1760
|
` + _[w].replace(" at new ", " at ");
|
|
1761
1761
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -1767,7 +1767,7 @@ function Mr() {
|
|
|
1767
1767
|
} finally {
|
|
1768
1768
|
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
1769
1769
|
}
|
|
1770
|
-
var
|
|
1770
|
+
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
1771
1771
|
return typeof e == "function" && ae.set(e, z), z;
|
|
1772
1772
|
}
|
|
1773
1773
|
function Ke(e, t, r) {
|
|
@@ -1796,7 +1796,7 @@ function Mr() {
|
|
|
1796
1796
|
return Ke(e.render);
|
|
1797
1797
|
case d:
|
|
1798
1798
|
return ne(e.type, t, r);
|
|
1799
|
-
case
|
|
1799
|
+
case k: {
|
|
1800
1800
|
var a = e, f = a._payload, m = a._init;
|
|
1801
1801
|
try {
|
|
1802
1802
|
return ne(m(f), t, r);
|
|
@@ -1822,8 +1822,8 @@ function Mr() {
|
|
|
1822
1822
|
var _ = void 0;
|
|
1823
1823
|
try {
|
|
1824
1824
|
if (typeof e[l] != "function") {
|
|
1825
|
-
var
|
|
1826
|
-
throw
|
|
1825
|
+
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`.");
|
|
1826
|
+
throw D.name = "Invariant Violation", D;
|
|
1827
1827
|
}
|
|
1828
1828
|
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1829
1829
|
} catch (w) {
|
|
@@ -1935,8 +1935,8 @@ function Mr() {
|
|
|
1935
1935
|
};
|
|
1936
1936
|
function rt(e, t, r, a, f) {
|
|
1937
1937
|
{
|
|
1938
|
-
var m, l = {}, _ = null,
|
|
1939
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
1938
|
+
var m, l = {}, _ = null, D = null;
|
|
1939
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
1940
1940
|
for (m in t)
|
|
1941
1941
|
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1942
1942
|
if (e && e.defaultProps) {
|
|
@@ -1944,15 +1944,15 @@ function Mr() {
|
|
|
1944
1944
|
for (m in w)
|
|
1945
1945
|
l[m] === void 0 && (l[m] = w[m]);
|
|
1946
1946
|
}
|
|
1947
|
-
if (_ ||
|
|
1947
|
+
if (_ || D) {
|
|
1948
1948
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1949
|
-
_ && Qe(l, j),
|
|
1949
|
+
_ && Qe(l, j), D && et(l, j);
|
|
1950
1950
|
}
|
|
1951
|
-
return tt(e, _,
|
|
1951
|
+
return tt(e, _, D, f, a, Ee.current, l);
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
1954
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
1955
|
-
function
|
|
1955
|
+
function J(e) {
|
|
1956
1956
|
if (e) {
|
|
1957
1957
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1958
1958
|
De.setExtraStackFrame(r);
|
|
@@ -1967,7 +1967,7 @@ function Mr() {
|
|
|
1967
1967
|
function Pe() {
|
|
1968
1968
|
{
|
|
1969
1969
|
if (fe.current) {
|
|
1970
|
-
var e =
|
|
1970
|
+
var e = b(fe.current.type);
|
|
1971
1971
|
if (e)
|
|
1972
1972
|
return `
|
|
1973
1973
|
|
|
@@ -2002,7 +2002,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2002
2002
|
return;
|
|
2003
2003
|
Ne[r] = !0;
|
|
2004
2004
|
var a = "";
|
|
2005
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
2005
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
2006
2006
|
}
|
|
2007
2007
|
}
|
|
2008
2008
|
function Ie(e, t) {
|
|
@@ -2039,11 +2039,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2039
2039
|
else
|
|
2040
2040
|
return;
|
|
2041
2041
|
if (r) {
|
|
2042
|
-
var a =
|
|
2042
|
+
var a = b(t);
|
|
2043
2043
|
Ye(r, e.props, "prop", a, e);
|
|
2044
2044
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
2045
2045
|
pe = !0;
|
|
2046
|
-
var f =
|
|
2046
|
+
var f = b(t);
|
|
2047
2047
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
2048
2048
|
}
|
|
2049
2049
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -2054,24 +2054,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2054
2054
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2055
2055
|
var a = t[r];
|
|
2056
2056
|
if (a !== "children" && a !== "key") {
|
|
2057
|
-
|
|
2057
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
2058
2058
|
break;
|
|
2059
2059
|
}
|
|
2060
2060
|
}
|
|
2061
|
-
e.ref !== null && (
|
|
2061
|
+
e.ref !== null && (J(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
2062
2062
|
}
|
|
2063
2063
|
}
|
|
2064
2064
|
var Me = {};
|
|
2065
2065
|
function $e(e, t, r, a, f, m) {
|
|
2066
2066
|
{
|
|
2067
|
-
var l =
|
|
2067
|
+
var l = U(e);
|
|
2068
2068
|
if (!l) {
|
|
2069
2069
|
var _ = "";
|
|
2070
2070
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2071
|
-
var
|
|
2072
|
-
|
|
2071
|
+
var D = at();
|
|
2072
|
+
D ? _ += D : _ += Pe();
|
|
2073
2073
|
var w;
|
|
2074
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (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, 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, _);
|
|
2075
2075
|
}
|
|
2076
2076
|
var j = rt(e, t, r, f, m);
|
|
2077
2077
|
if (j == null)
|
|
@@ -2081,8 +2081,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2081
2081
|
if (B !== void 0)
|
|
2082
2082
|
if (a)
|
|
2083
2083
|
if (de(B)) {
|
|
2084
|
-
for (var
|
|
2085
|
-
Ie(B[
|
|
2084
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
2085
|
+
Ie(B[Z], e);
|
|
2086
2086
|
Object.freeze && Object.freeze(B);
|
|
2087
2087
|
} else
|
|
2088
2088
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -2090,7 +2090,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2090
2090
|
Ie(B, e);
|
|
2091
2091
|
}
|
|
2092
2092
|
if (X.call(t, "key")) {
|
|
2093
|
-
var z =
|
|
2093
|
+
var z = b(e), F = Object.keys(t).filter(function(dt) {
|
|
2094
2094
|
return dt !== "key";
|
|
2095
2095
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2096
2096
|
if (!Me[z + ye]) {
|
|
@@ -2113,12 +2113,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2113
2113
|
return $e(e, t, r, !1);
|
|
2114
2114
|
}
|
|
2115
2115
|
var lt = st, ct = _t;
|
|
2116
|
-
|
|
2117
|
-
}()),
|
|
2116
|
+
wt.Fragment = u, wt.jsx = lt, wt.jsxs = ct;
|
|
2117
|
+
}()), wt;
|
|
2118
2118
|
}
|
|
2119
2119
|
process.env.NODE_ENV === "production" ? Pt.exports = Ir() : Pt.exports = Mr();
|
|
2120
2120
|
var Et = Pt.exports;
|
|
2121
|
-
const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr = "_action_1k1b3_25", Wr = "_disabled_1k1b3_30", Ur = "_m_1k1b3_44", Kr = "_l_1k1b3_48",
|
|
2121
|
+
const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr = "_action_1k1b3_25", Wr = "_disabled_1k1b3_30", Ur = "_m_1k1b3_44", Kr = "_l_1k1b3_48", jt = {
|
|
2122
2122
|
btn: $r,
|
|
2123
2123
|
confirm: Ar,
|
|
2124
2124
|
cancel: Br,
|
|
@@ -2141,25 +2141,25 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
|
|
|
2141
2141
|
onRef: o,
|
|
2142
2142
|
awaitText: d = "Ожидайте"
|
|
2143
2143
|
}) => {
|
|
2144
|
-
let [
|
|
2144
|
+
let [k, S] = W.useState(!1);
|
|
2145
2145
|
const N = ($) => {
|
|
2146
2146
|
if (n) return n();
|
|
2147
|
-
|
|
2147
|
+
k || (i ? (S(!0), i(S)) : $.preventDefault());
|
|
2148
2148
|
};
|
|
2149
2149
|
let A = {};
|
|
2150
|
-
return (C ||
|
|
2150
|
+
return (C || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2151
2151
|
"button",
|
|
2152
2152
|
{
|
|
2153
2153
|
...A,
|
|
2154
2154
|
ref: o,
|
|
2155
2155
|
className: [
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
c &&
|
|
2156
|
+
jt.btn,
|
|
2157
|
+
k ? jt.disabled : jt[u],
|
|
2158
|
+
c && jt[c],
|
|
2159
2159
|
T
|
|
2160
2160
|
].filter(($) => $ != "").join(" "),
|
|
2161
2161
|
onClick: N,
|
|
2162
|
-
children:
|
|
2162
|
+
children: k ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2163
2163
|
s || "",
|
|
2164
2164
|
" ",
|
|
2165
2165
|
g,
|
|
@@ -2171,48 +2171,48 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
|
|
|
2171
2171
|
};
|
|
2172
2172
|
let Ae = {};
|
|
2173
2173
|
function Yr({ children: n }) {
|
|
2174
|
-
return /* @__PURE__ */
|
|
2174
|
+
return /* @__PURE__ */ H.jsx(H.Fragment, { children: n });
|
|
2175
2175
|
}
|
|
2176
|
-
var
|
|
2176
|
+
var Ct;
|
|
2177
2177
|
((n) => {
|
|
2178
2178
|
function i({
|
|
2179
2179
|
import_modules: o
|
|
2180
2180
|
}) {
|
|
2181
|
-
let [d,
|
|
2181
|
+
let [d, k] = W.useState([]);
|
|
2182
2182
|
return Ae.x = (S) => {
|
|
2183
|
-
|
|
2183
|
+
k(S ? d.filter((N) => N.key !== S) : []);
|
|
2184
2184
|
}, Jt(() => {
|
|
2185
2185
|
o && (Ae.i = o);
|
|
2186
2186
|
}, []), Ae.add = (S, N = Date.now()) => {
|
|
2187
|
-
|
|
2188
|
-
}, /* @__PURE__ */
|
|
2187
|
+
k([...d, { key: N, item: S }]);
|
|
2188
|
+
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((S) => S.item) });
|
|
2189
2189
|
}
|
|
2190
2190
|
n.Init = i;
|
|
2191
2191
|
function c(o) {
|
|
2192
2192
|
return o && (Ae.i = o), Ae.i;
|
|
2193
2193
|
}
|
|
2194
2194
|
n.Import = c, n.List = Or, n.Scroll = Tr, n.Form = Dr, n.Center = Pr, n.Column = Nr;
|
|
2195
|
-
function u(o, d,
|
|
2195
|
+
function u(o, d, k) {
|
|
2196
2196
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2197
|
-
S.default.Open(
|
|
2197
|
+
S.default.Open(k);
|
|
2198
2198
|
}) : Wt()(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2199
|
-
S.default.Open(
|
|
2199
|
+
S.default.Open(k);
|
|
2200
2200
|
});
|
|
2201
2201
|
}
|
|
2202
2202
|
n.Open = u;
|
|
2203
|
-
function v({ type: o, name: d, params:
|
|
2204
|
-
let [S, N] =
|
|
2205
|
-
return
|
|
2203
|
+
function v({ type: o, name: d, params: k }) {
|
|
2204
|
+
let [S, N] = W.useState(null);
|
|
2205
|
+
return W.useEffect(() => {
|
|
2206
2206
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2207
|
-
N(A.default.Icon(
|
|
2207
|
+
N(A.default.Icon(k));
|
|
2208
2208
|
}) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2209
|
-
N(A.default.Icon(
|
|
2209
|
+
N(A.default.Icon(k));
|
|
2210
2210
|
});
|
|
2211
|
-
}, [
|
|
2211
|
+
}, [k.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: S });
|
|
2212
2212
|
}
|
|
2213
2213
|
n.Icon = v;
|
|
2214
2214
|
function C(o, d) {
|
|
2215
|
-
Ae.add(/* @__PURE__ */
|
|
2215
|
+
Ae.add(/* @__PURE__ */ H.jsx(Yr, { children: o }, String(Date.now())), d);
|
|
2216
2216
|
}
|
|
2217
2217
|
n.Add = C;
|
|
2218
2218
|
function T(o) {
|
|
@@ -2228,55 +2228,55 @@ var xt;
|
|
|
2228
2228
|
}
|
|
2229
2229
|
n.Shake = x;
|
|
2230
2230
|
function s(o, d) {
|
|
2231
|
-
const
|
|
2231
|
+
const k = (S) => {
|
|
2232
2232
|
n.Add(
|
|
2233
|
-
/* @__PURE__ */
|
|
2233
|
+
/* @__PURE__ */ H.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
|
|
2234
2234
|
);
|
|
2235
2235
|
};
|
|
2236
2236
|
return {
|
|
2237
|
-
Icon: (S) => /* @__PURE__ */
|
|
2238
|
-
Open:
|
|
2237
|
+
Icon: (S) => /* @__PURE__ */ H.jsx("i", { onClick: () => k(S), children: d && /* @__PURE__ */ H.jsx(d, {}) }),
|
|
2238
|
+
Open: k
|
|
2239
2239
|
};
|
|
2240
2240
|
}
|
|
2241
2241
|
n.Create = s;
|
|
2242
2242
|
function g({
|
|
2243
2243
|
title: o,
|
|
2244
2244
|
children: d,
|
|
2245
|
-
button:
|
|
2245
|
+
button: k,
|
|
2246
2246
|
tabs: S,
|
|
2247
2247
|
size: N = "m",
|
|
2248
2248
|
className: A = "",
|
|
2249
2249
|
shake: $ = !0,
|
|
2250
2250
|
menu: O
|
|
2251
2251
|
}) {
|
|
2252
|
-
const [p,
|
|
2253
|
-
if (
|
|
2254
|
-
if (
|
|
2255
|
-
return q(!1),
|
|
2256
|
-
if (
|
|
2257
|
-
return
|
|
2258
|
-
setOpen:
|
|
2252
|
+
const [p, I] = W.useState(!0), K = W.useRef(), G = (q) => {
|
|
2253
|
+
if (k) {
|
|
2254
|
+
if (k.onClick)
|
|
2255
|
+
return q(!1), k.onClick({ setOpen: I });
|
|
2256
|
+
if (k.onSend)
|
|
2257
|
+
return k.onSend({
|
|
2258
|
+
setOpen: I,
|
|
2259
2259
|
disabled: q
|
|
2260
2260
|
});
|
|
2261
2261
|
}
|
|
2262
2262
|
}, L = () => {
|
|
2263
|
-
if (!$) return
|
|
2263
|
+
if (!$) return I(!1);
|
|
2264
2264
|
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2265
2265
|
K.current.setAttribute("shake", !1);
|
|
2266
2266
|
}, 1e3);
|
|
2267
2267
|
};
|
|
2268
|
-
return p ? /* @__PURE__ */
|
|
2269
|
-
/* @__PURE__ */
|
|
2270
|
-
/* @__PURE__ */
|
|
2268
|
+
return p ? /* @__PURE__ */ H.jsxs("div", { className: `${_e.modal}`, children: [
|
|
2269
|
+
/* @__PURE__ */ H.jsx("div", { className: _e.o, onClick: L }),
|
|
2270
|
+
/* @__PURE__ */ H.jsxs(
|
|
2271
2271
|
"div",
|
|
2272
2272
|
{
|
|
2273
2273
|
className: [_e.w, _e[`s${N}`], A].filter((q) => q != "").join(" "),
|
|
2274
2274
|
ref: K,
|
|
2275
2275
|
children: [
|
|
2276
|
-
/* @__PURE__ */
|
|
2277
|
-
/* @__PURE__ */
|
|
2278
|
-
/* @__PURE__ */
|
|
2279
|
-
S && /* @__PURE__ */
|
|
2276
|
+
/* @__PURE__ */ H.jsxs("div", { className: _e.h, children: [
|
|
2277
|
+
/* @__PURE__ */ H.jsx("div", { className: _e.t, children: o }),
|
|
2278
|
+
/* @__PURE__ */ H.jsxs("div", { className: _e.m, children: [
|
|
2279
|
+
S && /* @__PURE__ */ H.jsx("nav", { children: S.map((q, E) => /* @__PURE__ */ H.jsx(
|
|
2280
2280
|
"span",
|
|
2281
2281
|
{
|
|
2282
2282
|
onClick: q.onClick,
|
|
@@ -2287,14 +2287,14 @@ var xt;
|
|
|
2287
2287
|
)) }),
|
|
2288
2288
|
O
|
|
2289
2289
|
] }),
|
|
2290
|
-
/* @__PURE__ */
|
|
2290
|
+
/* @__PURE__ */ H.jsx(
|
|
2291
2291
|
"div",
|
|
2292
2292
|
{
|
|
2293
2293
|
className: _e.x,
|
|
2294
2294
|
onClick: () => {
|
|
2295
|
-
|
|
2295
|
+
I(!1);
|
|
2296
2296
|
},
|
|
2297
|
-
children: /* @__PURE__ */
|
|
2297
|
+
children: /* @__PURE__ */ H.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ H.jsx(
|
|
2298
2298
|
"path",
|
|
2299
2299
|
{
|
|
2300
2300
|
d: "M20 5L5 20M5 5L20 20",
|
|
@@ -2308,13 +2308,13 @@ var xt;
|
|
|
2308
2308
|
)
|
|
2309
2309
|
] }),
|
|
2310
2310
|
d,
|
|
2311
|
-
|
|
2311
|
+
k && /* @__PURE__ */ H.jsx("div", { className: _e.b, children: /* @__PURE__ */ H.jsx(
|
|
2312
2312
|
qr,
|
|
2313
2313
|
{
|
|
2314
|
-
label:
|
|
2314
|
+
label: k.label,
|
|
2315
2315
|
onSend: G,
|
|
2316
2316
|
className: _e.btn,
|
|
2317
|
-
size:
|
|
2317
|
+
size: k.size
|
|
2318
2318
|
}
|
|
2319
2319
|
) })
|
|
2320
2320
|
]
|
|
@@ -2323,7 +2323,7 @@ var xt;
|
|
|
2323
2323
|
] }) : "";
|
|
2324
2324
|
}
|
|
2325
2325
|
n.Main = g;
|
|
2326
|
-
})(
|
|
2326
|
+
})(Ct || (Ct = {}));
|
|
2327
2327
|
const Gr = (n, i = ",") => (n = n !== void 0 && n !== "" ? n.split(i) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
2328
2328
|
function ha({
|
|
2329
2329
|
value: n,
|
|
@@ -2338,14 +2338,14 @@ function ha({
|
|
|
2338
2338
|
active: g = !0,
|
|
2339
2339
|
outFormat: o = "object",
|
|
2340
2340
|
after: d = "",
|
|
2341
|
-
modal:
|
|
2341
|
+
modal: k,
|
|
2342
2342
|
options: S,
|
|
2343
2343
|
className: N
|
|
2344
2344
|
}) {
|
|
2345
|
-
const [A, $] =
|
|
2346
|
-
if (!(s && g) || !
|
|
2347
|
-
let
|
|
2348
|
-
|
|
2345
|
+
const [A, $] = W.useState(Gr(n, v)), O = (p) => {
|
|
2346
|
+
if (!(s && g) || !k) return;
|
|
2347
|
+
let I = k.split(".");
|
|
2348
|
+
Ct.Open(I[0], I[1], {
|
|
2349
2349
|
callback: (K) => {
|
|
2350
2350
|
if (i)
|
|
2351
2351
|
switch (o) {
|
|
@@ -2376,20 +2376,20 @@ function ha({
|
|
|
2376
2376
|
});
|
|
2377
2377
|
};
|
|
2378
2378
|
return x ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
|
|
2379
|
-
|
|
2379
|
+
bt,
|
|
2380
2380
|
{
|
|
2381
2381
|
type: "group",
|
|
2382
2382
|
title: C,
|
|
2383
2383
|
element_blok: { className: [N] },
|
|
2384
2384
|
element_input: {
|
|
2385
|
-
className: [
|
|
2385
|
+
className: [],
|
|
2386
2386
|
props: {
|
|
2387
2387
|
onClick: O
|
|
2388
2388
|
}
|
|
2389
2389
|
},
|
|
2390
2390
|
children: Object.keys(A).map((p) => {
|
|
2391
|
-
var
|
|
2392
|
-
return /* @__PURE__ */ y.jsx("div", { children: (
|
|
2391
|
+
var I;
|
|
2392
|
+
return /* @__PURE__ */ y.jsx("div", { children: (I = S[p]) == null ? void 0 : I.label }, p);
|
|
2393
2393
|
})
|
|
2394
2394
|
}
|
|
2395
2395
|
);
|
|
@@ -2412,31 +2412,33 @@ function ba({
|
|
|
2412
2412
|
className: g,
|
|
2413
2413
|
isIcon: o = !0,
|
|
2414
2414
|
name: d,
|
|
2415
|
-
after:
|
|
2415
|
+
after: k,
|
|
2416
2416
|
view: S,
|
|
2417
2417
|
order: N,
|
|
2418
2418
|
isReload: A = !1
|
|
2419
2419
|
}) {
|
|
2420
|
-
var
|
|
2421
|
-
const $ =
|
|
2422
|
-
|
|
2420
|
+
var R, h;
|
|
2421
|
+
const $ = W.useRef(null), [O, p] = W.useState(C), [I, K] = W.useState(x), [G, L] = W.useState(!1);
|
|
2422
|
+
W.useEffect(() => {
|
|
2423
2423
|
p(C), K(x);
|
|
2424
|
-
}, [C, x]), v = !!(v && (C === 0 || ((
|
|
2425
|
-
let E = (
|
|
2426
|
-
p(
|
|
2427
|
-
}
|
|
2428
|
-
|
|
2429
|
-
|
|
2424
|
+
}, [C, x]), v = !!(v && (C === 0 || ((R = I == null ? void 0 : I[C]) == null ? void 0 : R.n) === void 0)) && !(c && u);
|
|
2425
|
+
let E = (b) => {
|
|
2426
|
+
p(b), T && T({ value: b, name: d, reload: A });
|
|
2427
|
+
}, P = (b) => {
|
|
2428
|
+
Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
|
|
2429
|
+
}, U = {};
|
|
2430
|
+
return s && (U.placeholder = s), v ? "" : /* @__PURE__ */ y.jsxs(
|
|
2431
|
+
bt,
|
|
2430
2432
|
{
|
|
2431
2433
|
type: "select",
|
|
2432
2434
|
title: n,
|
|
2433
2435
|
element_blok: { className: [g] },
|
|
2434
2436
|
element_input: {
|
|
2435
2437
|
className: [Nt.f],
|
|
2436
|
-
ref:
|
|
2438
|
+
props: { ref: $, onClick: P }
|
|
2437
2439
|
},
|
|
2438
2440
|
children: [
|
|
2439
|
-
/* @__PURE__ */ y.jsx("div", { children: (
|
|
2441
|
+
/* @__PURE__ */ y.jsx("div", { ...U, children: (h = I == null ? void 0 : I[O]) == null ? void 0 : h.n }),
|
|
2440
2442
|
G && Mt(
|
|
2441
2443
|
/* @__PURE__ */ y.jsx(
|
|
2442
2444
|
Zr,
|
|
@@ -2445,7 +2447,7 @@ function ba({
|
|
|
2445
2447
|
onValue: E,
|
|
2446
2448
|
view: S,
|
|
2447
2449
|
className: g,
|
|
2448
|
-
options:
|
|
2450
|
+
options: I,
|
|
2449
2451
|
order: N,
|
|
2450
2452
|
setOpen: L
|
|
2451
2453
|
},
|
|
@@ -2528,15 +2530,15 @@ function ka({
|
|
|
2528
2530
|
active: g = !0,
|
|
2529
2531
|
after: o = "",
|
|
2530
2532
|
view: d,
|
|
2531
|
-
modal:
|
|
2533
|
+
modal: k,
|
|
2532
2534
|
module: S,
|
|
2533
2535
|
options: N,
|
|
2534
2536
|
className: A
|
|
2535
2537
|
}) {
|
|
2536
|
-
let [$, O] =
|
|
2537
|
-
if (!(x && g) || !
|
|
2538
|
-
let L =
|
|
2539
|
-
|
|
2538
|
+
let [$, O] = W.useState(n), p = (G) => {
|
|
2539
|
+
if (!(x && g) || !k) return;
|
|
2540
|
+
let L = k.split(".");
|
|
2541
|
+
Ct.Open(L[0], L[1], {
|
|
2540
2542
|
callback: (q) => {
|
|
2541
2543
|
i && i({ value: q, name: c }), O(q);
|
|
2542
2544
|
},
|
|
@@ -2546,10 +2548,10 @@ function ka({
|
|
|
2546
2548
|
value: n
|
|
2547
2549
|
});
|
|
2548
2550
|
};
|
|
2549
|
-
const
|
|
2550
|
-
|
|
2551
|
+
const I = {};
|
|
2552
|
+
I.field = "input", A && (I.className = A);
|
|
2551
2553
|
const K = {};
|
|
2552
|
-
return u && (K.placeholder = u), T ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs("dl", { ...
|
|
2554
|
+
return u && (K.placeholder = u), T ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs("dl", { ...I, children: [
|
|
2553
2555
|
v && /* @__PURE__ */ y.jsx("dt", { children: v }),
|
|
2554
2556
|
/* @__PURE__ */ y.jsx(
|
|
2555
2557
|
"dd",
|
|
@@ -2577,33 +2579,33 @@ function wa({
|
|
|
2577
2579
|
active: g = !0,
|
|
2578
2580
|
reload: o = !1,
|
|
2579
2581
|
native: d = !1,
|
|
2580
|
-
isShow:
|
|
2582
|
+
isShow: k = !1,
|
|
2581
2583
|
maxLength: S,
|
|
2582
2584
|
eyes: N = [],
|
|
2583
2585
|
after: A = ""
|
|
2584
2586
|
}) {
|
|
2585
|
-
const [$, O] =
|
|
2587
|
+
const [$, O] = W.useState(k);
|
|
2586
2588
|
let p = (E) => {
|
|
2587
2589
|
i && i({
|
|
2588
2590
|
value: E.target.textContent,
|
|
2589
2591
|
name: u,
|
|
2590
2592
|
reload: o
|
|
2591
2593
|
});
|
|
2592
|
-
},
|
|
2594
|
+
}, I = (E) => {
|
|
2593
2595
|
E.key === "Enter" && E.preventDefault();
|
|
2594
2596
|
}, K = (E) => {
|
|
2595
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
2597
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
2596
2598
|
if (S) {
|
|
2597
|
-
let
|
|
2598
|
-
if (
|
|
2599
|
-
S -=
|
|
2599
|
+
let U = E.target.textContent.length;
|
|
2600
|
+
if (U >= S) return;
|
|
2601
|
+
S -= U, P = P.slice(0, S);
|
|
2600
2602
|
}
|
|
2601
2603
|
window.document.execCommand(
|
|
2602
2604
|
"insertText",
|
|
2603
2605
|
!1,
|
|
2604
|
-
|
|
2606
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2605
2607
|
);
|
|
2606
|
-
}).catch((
|
|
2608
|
+
}).catch((P) => {
|
|
2607
2609
|
});
|
|
2608
2610
|
}, G = (E) => {
|
|
2609
2611
|
te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
|
|
@@ -2618,7 +2620,7 @@ function wa({
|
|
|
2618
2620
|
{
|
|
2619
2621
|
onPaste: K,
|
|
2620
2622
|
onInput: p,
|
|
2621
|
-
onKeyDown:
|
|
2623
|
+
onKeyDown: I,
|
|
2622
2624
|
onBlur: G,
|
|
2623
2625
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
2624
2626
|
...q,
|
|
@@ -2644,51 +2646,51 @@ function ja({
|
|
|
2644
2646
|
value: g,
|
|
2645
2647
|
placeholder: o,
|
|
2646
2648
|
className: d,
|
|
2647
|
-
maxLength:
|
|
2649
|
+
maxLength: k,
|
|
2648
2650
|
name: S,
|
|
2649
2651
|
after: N = "",
|
|
2650
2652
|
before: A = "",
|
|
2651
2653
|
view: $
|
|
2652
2654
|
}) {
|
|
2653
2655
|
v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (g === "" || g === void 0)) && !(v && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2654
|
-
let p = !1,
|
|
2655
|
-
n == null || n({ value:
|
|
2656
|
-
}, K = (
|
|
2657
|
-
if (!(p &&
|
|
2658
|
-
if (
|
|
2659
|
-
|
|
2660
|
-
}
|
|
2661
|
-
}, G = (
|
|
2662
|
-
if (
|
|
2663
|
-
}, L = (
|
|
2664
|
-
|
|
2665
|
-
if (
|
|
2666
|
-
let R =
|
|
2667
|
-
if (R >=
|
|
2668
|
-
|
|
2656
|
+
let p = !1, I = (P) => {
|
|
2657
|
+
n == null || n({ value: P.target.textContent, name: S });
|
|
2658
|
+
}, K = (P) => {
|
|
2659
|
+
if (!(p && P.which === 86)) {
|
|
2660
|
+
if (P.which === 17 || P.which === 91) return p = !0;
|
|
2661
|
+
P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
|
|
2662
|
+
}
|
|
2663
|
+
}, G = (P) => {
|
|
2664
|
+
if (P.which === 17 || P.which === 91) return p = !1;
|
|
2665
|
+
}, L = (P) => {
|
|
2666
|
+
P.preventDefault(), navigator.clipboard.readText().then((U) => {
|
|
2667
|
+
if (U = U.replace(/(?!^\+|\d)./g, ""), k) {
|
|
2668
|
+
let R = P.target.textContent.length;
|
|
2669
|
+
if (R >= k) return;
|
|
2670
|
+
k -= R, U = U.slice(0, k);
|
|
2669
2671
|
}
|
|
2670
|
-
window.document.execCommand("insertText", !1, "" +
|
|
2671
|
-
}).catch((
|
|
2672
|
+
window.document.execCommand("insertText", !1, "" + U);
|
|
2673
|
+
}).catch((U) => {
|
|
2672
2674
|
});
|
|
2673
2675
|
};
|
|
2674
|
-
const q = (
|
|
2675
|
-
te.Blur(
|
|
2676
|
+
const q = (P) => {
|
|
2677
|
+
te.Blur(P), i == null || i({ value: P.target.textContent, name: S });
|
|
2676
2678
|
};
|
|
2677
2679
|
let E = {};
|
|
2678
2680
|
return v && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(
|
|
2679
2681
|
"dl",
|
|
2680
2682
|
{
|
|
2681
2683
|
"data-field": "input",
|
|
2682
|
-
className: [
|
|
2684
|
+
className: [V.l, d].filter((P) => P !== void 0).join(" "),
|
|
2683
2685
|
children: [
|
|
2684
|
-
C ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
2686
|
+
C ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: C }) : "",
|
|
2685
2687
|
A,
|
|
2686
2688
|
/* @__PURE__ */ y.jsx(
|
|
2687
2689
|
"dd",
|
|
2688
2690
|
{
|
|
2689
|
-
className: [
|
|
2691
|
+
className: [V.f, V.w].join(" "),
|
|
2690
2692
|
onPaste: L,
|
|
2691
|
-
onInput:
|
|
2693
|
+
onInput: I,
|
|
2692
2694
|
onBlur: q,
|
|
2693
2695
|
onKeyDown: K,
|
|
2694
2696
|
onKeyUp: G,
|
|
@@ -2717,17 +2719,17 @@ var qt;
|
|
|
2717
2719
|
function Xr() {
|
|
2718
2720
|
if (qt) return gt;
|
|
2719
2721
|
qt = 1;
|
|
2720
|
-
var n =
|
|
2722
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2721
2723
|
function T(x, s, g) {
|
|
2722
|
-
var o, d = {},
|
|
2723
|
-
g !== void 0 && (
|
|
2724
|
+
var o, d = {}, k = null, S = null;
|
|
2725
|
+
g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
2724
2726
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2725
2727
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2726
|
-
return { $$typeof: i, type: x, key:
|
|
2728
|
+
return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
|
|
2727
2729
|
}
|
|
2728
2730
|
return gt.Fragment = c, gt.jsx = T, gt.jsxs = T, gt;
|
|
2729
2731
|
}
|
|
2730
|
-
var
|
|
2732
|
+
var xt = {};
|
|
2731
2733
|
/**
|
|
2732
2734
|
* @license React
|
|
2733
2735
|
* react-jsx-runtime.development.js
|
|
@@ -2740,7 +2742,7 @@ var jt = {};
|
|
|
2740
2742
|
var Yt;
|
|
2741
2743
|
function Qr() {
|
|
2742
2744
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2743
|
-
var n =
|
|
2745
|
+
var n = W, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
2744
2746
|
function $(e) {
|
|
2745
2747
|
if (e === null || typeof e != "object")
|
|
2746
2748
|
return null;
|
|
@@ -2752,10 +2754,10 @@ function Qr() {
|
|
|
2752
2754
|
{
|
|
2753
2755
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
2754
2756
|
r[a - 1] = arguments[a];
|
|
2755
|
-
|
|
2757
|
+
I("error", e, r);
|
|
2756
2758
|
}
|
|
2757
2759
|
}
|
|
2758
|
-
function
|
|
2760
|
+
function I(e, t, r) {
|
|
2759
2761
|
{
|
|
2760
2762
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
2761
2763
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
@@ -2765,14 +2767,14 @@ function Qr() {
|
|
|
2765
2767
|
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
2766
2768
|
}
|
|
2767
2769
|
}
|
|
2768
|
-
var K = !1, G = !1, L = !1, q = !1, E = !1,
|
|
2769
|
-
|
|
2770
|
-
function
|
|
2771
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
2770
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, P;
|
|
2771
|
+
P = Symbol.for("react.module.reference");
|
|
2772
|
+
function U(e) {
|
|
2773
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2772
2774
|
// types supported by any Flight configuration anywhere since
|
|
2773
2775
|
// we don't know which Flight build this will end up being used
|
|
2774
2776
|
// with.
|
|
2775
|
-
e.$$typeof ===
|
|
2777
|
+
e.$$typeof === P || e.getModuleId !== void 0));
|
|
2776
2778
|
}
|
|
2777
2779
|
function R(e, t, r) {
|
|
2778
2780
|
var a = e.displayName;
|
|
@@ -2784,7 +2786,7 @@ function Qr() {
|
|
|
2784
2786
|
function h(e) {
|
|
2785
2787
|
return e.displayName || "Context";
|
|
2786
2788
|
}
|
|
2787
|
-
function
|
|
2789
|
+
function b(e) {
|
|
2788
2790
|
if (e == null)
|
|
2789
2791
|
return null;
|
|
2790
2792
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -2817,11 +2819,11 @@ function Qr() {
|
|
|
2817
2819
|
return R(e, e.render, "ForwardRef");
|
|
2818
2820
|
case d:
|
|
2819
2821
|
var a = e.displayName || null;
|
|
2820
|
-
return a !== null ? a :
|
|
2821
|
-
case
|
|
2822
|
+
return a !== null ? a : b(e.type) || "Memo";
|
|
2823
|
+
case k: {
|
|
2822
2824
|
var f = e, m = f._payload, l = f._init;
|
|
2823
2825
|
try {
|
|
2824
|
-
return
|
|
2826
|
+
return b(l(m));
|
|
2825
2827
|
} catch {
|
|
2826
2828
|
return null;
|
|
2827
2829
|
}
|
|
@@ -2829,7 +2831,7 @@ function Qr() {
|
|
|
2829
2831
|
}
|
|
2830
2832
|
return null;
|
|
2831
2833
|
}
|
|
2832
|
-
var
|
|
2834
|
+
var M = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
2833
2835
|
function we() {
|
|
2834
2836
|
}
|
|
2835
2837
|
we.__reactDisabledLog = !0;
|
|
@@ -2865,25 +2867,25 @@ function Qr() {
|
|
|
2865
2867
|
writable: !0
|
|
2866
2868
|
};
|
|
2867
2869
|
Object.defineProperties(console, {
|
|
2868
|
-
log:
|
|
2870
|
+
log: M({}, e, {
|
|
2869
2871
|
value: Q
|
|
2870
2872
|
}),
|
|
2871
|
-
info:
|
|
2873
|
+
info: M({}, e, {
|
|
2872
2874
|
value: ie
|
|
2873
2875
|
}),
|
|
2874
|
-
warn:
|
|
2876
|
+
warn: M({}, e, {
|
|
2875
2877
|
value: se
|
|
2876
2878
|
}),
|
|
2877
|
-
error:
|
|
2879
|
+
error: M({}, e, {
|
|
2878
2880
|
value: ve
|
|
2879
2881
|
}),
|
|
2880
|
-
group:
|
|
2882
|
+
group: M({}, e, {
|
|
2881
2883
|
value: ge
|
|
2882
2884
|
}),
|
|
2883
|
-
groupCollapsed:
|
|
2885
|
+
groupCollapsed: M({}, e, {
|
|
2884
2886
|
value: be
|
|
2885
2887
|
}),
|
|
2886
|
-
groupEnd:
|
|
2888
|
+
groupEnd: M({}, e, {
|
|
2887
2889
|
value: ke
|
|
2888
2890
|
})
|
|
2889
2891
|
});
|
|
@@ -2959,14 +2961,14 @@ function Qr() {
|
|
|
2959
2961
|
} catch (F) {
|
|
2960
2962
|
if (F && a && typeof F.stack == "string") {
|
|
2961
2963
|
for (var _ = F.stack.split(`
|
|
2962
|
-
`),
|
|
2963
|
-
`), w = _.length - 1, j =
|
|
2964
|
+
`), D = a.stack.split(`
|
|
2965
|
+
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
2964
2966
|
j--;
|
|
2965
2967
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
2966
|
-
if (_[w] !==
|
|
2968
|
+
if (_[w] !== D[j]) {
|
|
2967
2969
|
if (w !== 1 || j !== 1)
|
|
2968
2970
|
do
|
|
2969
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
2971
|
+
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
2970
2972
|
var B = `
|
|
2971
2973
|
` + _[w].replace(" at new ", " at ");
|
|
2972
2974
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -2978,7 +2980,7 @@ function Qr() {
|
|
|
2978
2980
|
} finally {
|
|
2979
2981
|
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
2980
2982
|
}
|
|
2981
|
-
var
|
|
2983
|
+
var Z = e ? e.displayName || e.name : "", z = Z ? re(Z) : "";
|
|
2982
2984
|
return typeof e == "function" && ae.set(e, z), z;
|
|
2983
2985
|
}
|
|
2984
2986
|
function Ke(e, t, r) {
|
|
@@ -3007,7 +3009,7 @@ function Qr() {
|
|
|
3007
3009
|
return Ke(e.render);
|
|
3008
3010
|
case d:
|
|
3009
3011
|
return ne(e.type, t, r);
|
|
3010
|
-
case
|
|
3012
|
+
case k: {
|
|
3011
3013
|
var a = e, f = a._payload, m = a._init;
|
|
3012
3014
|
try {
|
|
3013
3015
|
return ne(m(f), t, r);
|
|
@@ -3033,8 +3035,8 @@ function Qr() {
|
|
|
3033
3035
|
var _ = void 0;
|
|
3034
3036
|
try {
|
|
3035
3037
|
if (typeof e[l] != "function") {
|
|
3036
|
-
var
|
|
3037
|
-
throw
|
|
3038
|
+
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`.");
|
|
3039
|
+
throw D.name = "Invariant Violation", D;
|
|
3038
3040
|
}
|
|
3039
3041
|
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3040
3042
|
} catch (w) {
|
|
@@ -3146,8 +3148,8 @@ function Qr() {
|
|
|
3146
3148
|
};
|
|
3147
3149
|
function rt(e, t, r, a, f) {
|
|
3148
3150
|
{
|
|
3149
|
-
var m, l = {}, _ = null,
|
|
3150
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
3151
|
+
var m, l = {}, _ = null, D = null;
|
|
3152
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
|
|
3151
3153
|
for (m in t)
|
|
3152
3154
|
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
3153
3155
|
if (e && e.defaultProps) {
|
|
@@ -3155,15 +3157,15 @@ function Qr() {
|
|
|
3155
3157
|
for (m in w)
|
|
3156
3158
|
l[m] === void 0 && (l[m] = w[m]);
|
|
3157
3159
|
}
|
|
3158
|
-
if (_ ||
|
|
3160
|
+
if (_ || D) {
|
|
3159
3161
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3160
|
-
_ && Qe(l, j),
|
|
3162
|
+
_ && Qe(l, j), D && et(l, j);
|
|
3161
3163
|
}
|
|
3162
|
-
return tt(e, _,
|
|
3164
|
+
return tt(e, _, D, f, a, Ee.current, l);
|
|
3163
3165
|
}
|
|
3164
3166
|
}
|
|
3165
3167
|
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
3166
|
-
function
|
|
3168
|
+
function J(e) {
|
|
3167
3169
|
if (e) {
|
|
3168
3170
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
3169
3171
|
De.setExtraStackFrame(r);
|
|
@@ -3178,7 +3180,7 @@ function Qr() {
|
|
|
3178
3180
|
function Pe() {
|
|
3179
3181
|
{
|
|
3180
3182
|
if (fe.current) {
|
|
3181
|
-
var e =
|
|
3183
|
+
var e = b(fe.current.type);
|
|
3182
3184
|
if (e)
|
|
3183
3185
|
return `
|
|
3184
3186
|
|
|
@@ -3213,7 +3215,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3213
3215
|
return;
|
|
3214
3216
|
Ne[r] = !0;
|
|
3215
3217
|
var a = "";
|
|
3216
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
3218
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), J(null);
|
|
3217
3219
|
}
|
|
3218
3220
|
}
|
|
3219
3221
|
function Ie(e, t) {
|
|
@@ -3250,11 +3252,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3250
3252
|
else
|
|
3251
3253
|
return;
|
|
3252
3254
|
if (r) {
|
|
3253
|
-
var a =
|
|
3255
|
+
var a = b(t);
|
|
3254
3256
|
Ye(r, e.props, "prop", a, e);
|
|
3255
3257
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3256
3258
|
pe = !0;
|
|
3257
|
-
var f =
|
|
3259
|
+
var f = b(t);
|
|
3258
3260
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
3259
3261
|
}
|
|
3260
3262
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -3265,24 +3267,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3265
3267
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3266
3268
|
var a = t[r];
|
|
3267
3269
|
if (a !== "children" && a !== "key") {
|
|
3268
|
-
|
|
3270
|
+
J(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), J(null);
|
|
3269
3271
|
break;
|
|
3270
3272
|
}
|
|
3271
3273
|
}
|
|
3272
|
-
e.ref !== null && (
|
|
3274
|
+
e.ref !== null && (J(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
3273
3275
|
}
|
|
3274
3276
|
}
|
|
3275
3277
|
var Me = {};
|
|
3276
3278
|
function $e(e, t, r, a, f, m) {
|
|
3277
3279
|
{
|
|
3278
|
-
var l =
|
|
3280
|
+
var l = U(e);
|
|
3279
3281
|
if (!l) {
|
|
3280
3282
|
var _ = "";
|
|
3281
3283
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3282
|
-
var
|
|
3283
|
-
|
|
3284
|
+
var D = at();
|
|
3285
|
+
D ? _ += D : _ += Pe();
|
|
3284
3286
|
var w;
|
|
3285
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (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, 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, _);
|
|
3286
3288
|
}
|
|
3287
3289
|
var j = rt(e, t, r, f, m);
|
|
3288
3290
|
if (j == null)
|
|
@@ -3292,8 +3294,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3292
3294
|
if (B !== void 0)
|
|
3293
3295
|
if (a)
|
|
3294
3296
|
if (de(B)) {
|
|
3295
|
-
for (var
|
|
3296
|
-
Ie(B[
|
|
3297
|
+
for (var Z = 0; Z < B.length; Z++)
|
|
3298
|
+
Ie(B[Z], e);
|
|
3297
3299
|
Object.freeze && Object.freeze(B);
|
|
3298
3300
|
} else
|
|
3299
3301
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -3301,7 +3303,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3301
3303
|
Ie(B, e);
|
|
3302
3304
|
}
|
|
3303
3305
|
if (X.call(t, "key")) {
|
|
3304
|
-
var z =
|
|
3306
|
+
var z = b(e), F = Object.keys(t).filter(function(dt) {
|
|
3305
3307
|
return dt !== "key";
|
|
3306
3308
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3307
3309
|
if (!Me[z + ye]) {
|
|
@@ -3324,8 +3326,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3324
3326
|
return $e(e, t, r, !1);
|
|
3325
3327
|
}
|
|
3326
3328
|
var lt = st, ct = _t;
|
|
3327
|
-
|
|
3328
|
-
}()),
|
|
3329
|
+
xt.Fragment = u, xt.jsx = lt, xt.jsxs = ct;
|
|
3330
|
+
}()), xt;
|
|
3329
3331
|
}
|
|
3330
3332
|
process.env.NODE_ENV === "production" ? Ft.exports = Xr() : Ft.exports = Qr();
|
|
3331
3333
|
var ee = Ft.exports;
|
|
@@ -3340,8 +3342,8 @@ const ea = "_notice_13j98_2", ta = "_error_13j98_11", ra = "_success_13j98_14",
|
|
|
3340
3342
|
};
|
|
3341
3343
|
let Be = {};
|
|
3342
3344
|
function ht({ data: n }) {
|
|
3343
|
-
let [i, c] =
|
|
3344
|
-
|
|
3345
|
+
let [i, c] = W.useState("show");
|
|
3346
|
+
W.useEffect(() => {
|
|
3345
3347
|
n.hide && (setTimeout(function() {
|
|
3346
3348
|
c("hide");
|
|
3347
3349
|
}, 1800), setTimeout(function() {
|
|
@@ -3373,8 +3375,8 @@ function ht({ data: n }) {
|
|
|
3373
3375
|
] });
|
|
3374
3376
|
}
|
|
3375
3377
|
function oa({ data: n }) {
|
|
3376
|
-
let [i, c] =
|
|
3377
|
-
return
|
|
3378
|
+
let [i, c] = W.useState("show");
|
|
3379
|
+
return W.useEffect(() => {
|
|
3378
3380
|
n.hide && (setTimeout(function() {
|
|
3379
3381
|
c("hide");
|
|
3380
3382
|
}, 1800), setTimeout(function() {
|
|
@@ -3415,10 +3417,10 @@ ft.success = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill:
|
|
|
3415
3417
|
}
|
|
3416
3418
|
)
|
|
3417
3419
|
] });
|
|
3418
|
-
var
|
|
3420
|
+
var St;
|
|
3419
3421
|
((n) => {
|
|
3420
3422
|
function i() {
|
|
3421
|
-
let [s, g] =
|
|
3423
|
+
let [s, g] = W.useState([]);
|
|
3422
3424
|
return Be.set = (o) => {
|
|
3423
3425
|
g([...s, o]);
|
|
3424
3426
|
}, Be.del = (o) => {
|
|
@@ -3471,7 +3473,7 @@ var Ct;
|
|
|
3471
3473
|
});
|
|
3472
3474
|
}
|
|
3473
3475
|
n.Copy = x;
|
|
3474
|
-
})(
|
|
3476
|
+
})(St || (St = {}));
|
|
3475
3477
|
function xa({
|
|
3476
3478
|
value: n = "",
|
|
3477
3479
|
onValue: i,
|
|
@@ -3485,74 +3487,71 @@ function xa({
|
|
|
3485
3487
|
edit: g = !0,
|
|
3486
3488
|
active: o = !0,
|
|
3487
3489
|
after: d = "",
|
|
3488
|
-
show:
|
|
3490
|
+
show: k = !0,
|
|
3489
3491
|
view: S,
|
|
3490
3492
|
className: N = ""
|
|
3491
3493
|
}) {
|
|
3492
|
-
g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(g && o),
|
|
3493
|
-
let $ = v, O = !0, p = 0,
|
|
3494
|
-
let
|
|
3495
|
-
|
|
3494
|
+
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, p = 0, I = (h, b) => {
|
|
3496
|
+
let M = document.createRange(), Y = window.getSelection();
|
|
3497
|
+
M.setStart(b.childNodes[0], h), M.collapse(!0), Y.removeAllRanges(), Y.addRange(M), b.focus();
|
|
3496
3498
|
}, K = (h) => {
|
|
3497
|
-
h.preventDefault(), navigator.clipboard.readText().then((
|
|
3498
|
-
window.document.execCommand("insertText", !1,
|
|
3499
|
-
}).catch((
|
|
3499
|
+
h.preventDefault(), navigator.clipboard.readText().then((b) => {
|
|
3500
|
+
window.document.execCommand("insertText", !1, b);
|
|
3501
|
+
}).catch((b) => {
|
|
3500
3502
|
});
|
|
3501
3503
|
}, G = (h) => {
|
|
3502
|
-
let
|
|
3504
|
+
let b = 0, M = "", Y = h.replace(/\D/g, "");
|
|
3503
3505
|
Y === "" && (O = !0);
|
|
3504
3506
|
let Q = Y.split(""), ie = "";
|
|
3505
3507
|
Q.forEach((ge) => {
|
|
3506
|
-
O && (ie += ge, O && (p = ("" + ie).length, $ = v.replace(new RegExp("[0-9]", "g"), "_"),
|
|
3508
|
+
O && (ie += ge, O && (p = ("" + ie).length, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""), p > ("" + ie).length && (O = !0, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
|
|
3507
3509
|
});
|
|
3508
3510
|
let se = $.replace(/\D/g, "");
|
|
3509
3511
|
return se.length >= Y.length && (Y = se), { q: $.replace(/[_\d]/g, function() {
|
|
3510
|
-
return Y.charAt(
|
|
3511
|
-
}), i:
|
|
3512
|
+
return Y.charAt(b++) || "_";
|
|
3513
|
+
}), i: b, v: Y, f: M };
|
|
3512
3514
|
}, L = (h) => {
|
|
3513
3515
|
h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
|
|
3514
3516
|
function() {
|
|
3515
|
-
|
|
3517
|
+
St.Copy("Данные в буфер обмене");
|
|
3516
3518
|
},
|
|
3517
|
-
function(
|
|
3519
|
+
function(b) {
|
|
3518
3520
|
}
|
|
3519
3521
|
);
|
|
3520
3522
|
}, q = G(n), E = (h) => {
|
|
3521
|
-
let
|
|
3522
|
-
h.target.textContent =
|
|
3523
|
-
},
|
|
3523
|
+
let b = G(h.target.textContent);
|
|
3524
|
+
h.target.textContent = b.q, b.i = b.q.lastIndexOf(b.v.substr(-1)), b.i < b.q.length && b.q !== $ ? b.i++ : b.i = b.q.indexOf("_"), I(b.i, h.target), i && i({ value: b.q.replace(/\D/g, ""), name: u });
|
|
3525
|
+
}, P = (h) => {
|
|
3524
3526
|
h.key === "Enter" && h.preventDefault();
|
|
3525
3527
|
};
|
|
3526
|
-
const
|
|
3528
|
+
const U = (h) => {
|
|
3527
3529
|
te.Blur(h), c && c({
|
|
3528
3530
|
value: h.target.textContent.replace(/\D/g, ""),
|
|
3529
3531
|
name: u
|
|
3530
3532
|
});
|
|
3531
3533
|
};
|
|
3532
3534
|
let R = {};
|
|
3533
|
-
return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", C && (R.placeholder = C), d && (R.after = d), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.
|
|
3534
|
-
|
|
3535
|
+
return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", C && (R.placeholder = C), d && (R.after = d), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
|
|
3536
|
+
bt,
|
|
3535
3537
|
{
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
),
|
|
3554
|
-
x && /* @__PURE__ */ y.jsx("em", { children: x })
|
|
3555
|
-
]
|
|
3538
|
+
type: "input",
|
|
3539
|
+
title: T,
|
|
3540
|
+
element_blok: { className: [N] },
|
|
3541
|
+
element_input: { className: [V.w] },
|
|
3542
|
+
children: /* @__PURE__ */ y.jsx(
|
|
3543
|
+
"div",
|
|
3544
|
+
{
|
|
3545
|
+
onPaste: K,
|
|
3546
|
+
onInput: E,
|
|
3547
|
+
onKeyDown: P,
|
|
3548
|
+
onContextMenu: L,
|
|
3549
|
+
onBlur: U,
|
|
3550
|
+
suppressContentEditableWarning: !0,
|
|
3551
|
+
...R,
|
|
3552
|
+
children: q.q
|
|
3553
|
+
}
|
|
3554
|
+
)
|
|
3556
3555
|
}
|
|
3557
3556
|
);
|
|
3558
3557
|
}
|
|
@@ -3569,31 +3568,31 @@ function Ca({
|
|
|
3569
3568
|
active: g = !0,
|
|
3570
3569
|
after: o = "",
|
|
3571
3570
|
show: d = !0,
|
|
3572
|
-
maxLength:
|
|
3571
|
+
maxLength: k,
|
|
3573
3572
|
view: S,
|
|
3574
3573
|
onSave: N,
|
|
3575
3574
|
className: A = "",
|
|
3576
3575
|
isCopy: $ = !0
|
|
3577
3576
|
}) {
|
|
3578
|
-
let [O, p] =
|
|
3577
|
+
let [O, p] = W.useState(!1);
|
|
3579
3578
|
O = s ? !0 : O;
|
|
3580
|
-
let
|
|
3579
|
+
let I = (E) => {
|
|
3581
3580
|
c == null || c({ value: E.target.innerText, name: u });
|
|
3582
3581
|
}, K = (E) => {
|
|
3583
|
-
|
|
3582
|
+
k && E.target.textContent.trim().length >= k && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
3584
3583
|
}, G = (E) => {
|
|
3585
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
3586
|
-
if (
|
|
3587
|
-
let
|
|
3588
|
-
if (
|
|
3589
|
-
|
|
3584
|
+
E.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
3585
|
+
if (k) {
|
|
3586
|
+
let U = E.target.textContent.length;
|
|
3587
|
+
if (U >= k) return;
|
|
3588
|
+
k -= U, P = P.slice(0, k);
|
|
3590
3589
|
}
|
|
3591
3590
|
window.document.execCommand(
|
|
3592
3591
|
"insertText",
|
|
3593
3592
|
!1,
|
|
3594
|
-
|
|
3593
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3595
3594
|
);
|
|
3596
|
-
}).catch((
|
|
3595
|
+
}).catch((P) => {
|
|
3597
3596
|
});
|
|
3598
3597
|
};
|
|
3599
3598
|
if (x) return /* @__PURE__ */ y.jsx(y.Fragment, {});
|
|
@@ -3607,15 +3606,15 @@ function Ca({
|
|
|
3607
3606
|
"dl",
|
|
3608
3607
|
{
|
|
3609
3608
|
"data-field": "note",
|
|
3610
|
-
className: [
|
|
3609
|
+
className: [V.l, A].filter((E) => E !== void 0).join(" "),
|
|
3611
3610
|
children: [
|
|
3612
|
-
C ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
3611
|
+
C ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: C }) : "",
|
|
3613
3612
|
/* @__PURE__ */ y.jsx(
|
|
3614
3613
|
"dd",
|
|
3615
3614
|
{
|
|
3616
|
-
className: [
|
|
3615
|
+
className: [V.f, V.n].join(" "),
|
|
3617
3616
|
onPaste: G,
|
|
3618
|
-
onInput:
|
|
3617
|
+
onInput: I,
|
|
3619
3618
|
onBlur: q,
|
|
3620
3619
|
onKeyDown: K,
|
|
3621
3620
|
contentEditable: s && g ? te.ContentEditable : "false",
|
|
@@ -5025,14 +5024,14 @@ function Sa({
|
|
|
5025
5024
|
active: g = !0,
|
|
5026
5025
|
after: o = "",
|
|
5027
5026
|
show: d = !0,
|
|
5028
|
-
view:
|
|
5027
|
+
view: k,
|
|
5029
5028
|
className: S = ""
|
|
5030
5029
|
}) {
|
|
5031
|
-
s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (n === "" || n === void 0)) && !(s && g),
|
|
5030
|
+
s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (n === "" || n === void 0)) && !(s && g), W.useRef(null);
|
|
5032
5031
|
let A = "+_(___) ___-__-__", $ = !0, O = 0, p = (R, h) => {
|
|
5033
|
-
let
|
|
5034
|
-
|
|
5035
|
-
},
|
|
5032
|
+
let b = document.createRange(), M = window.getSelection();
|
|
5033
|
+
b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
|
|
5034
|
+
}, I = (R) => {
|
|
5036
5035
|
let h = G(R.target.textContent);
|
|
5037
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("_"), p(h.i, R.target), i && i({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5038
5037
|
}, K = (R) => {
|
|
@@ -5041,26 +5040,26 @@ function Sa({
|
|
|
5041
5040
|
}).catch((h) => {
|
|
5042
5041
|
});
|
|
5043
5042
|
}, G = (R) => {
|
|
5044
|
-
let h = 0,
|
|
5045
|
-
|
|
5046
|
-
let Y =
|
|
5043
|
+
let h = 0, b = "", M = R.replace(/\D/g, "");
|
|
5044
|
+
M === "" && ($ = !0);
|
|
5045
|
+
let Y = M.split(""), Q = "";
|
|
5047
5046
|
Y.forEach((ve) => {
|
|
5048
|
-
$ && (Q += ve, Ot[Q] !== void 0 && $ ? ($ = !1, A = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"),
|
|
5047
|
+
$ && (Q += ve, Ot[Q] !== void 0 && $ ? ($ = !1, A = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"), b = Ot[Q].code) : ($ && (O = ("" + Q).length, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5049
5048
|
new RegExp("[0-9]", "g"),
|
|
5050
5049
|
"_"
|
|
5051
|
-
),
|
|
5050
|
+
), b = ""), O > ("" + Q).length && ($ = !0, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5052
5051
|
new RegExp("[0-9]", "g"),
|
|
5053
5052
|
"_"
|
|
5054
|
-
),
|
|
5053
|
+
), b = "")));
|
|
5055
5054
|
});
|
|
5056
5055
|
let ie = A.replace(/\D/g, "");
|
|
5057
|
-
return ie.length >=
|
|
5058
|
-
return
|
|
5059
|
-
}), i: h, v:
|
|
5056
|
+
return ie.length >= M.length && (M = ie), { q: A.replace(/[_\d]/g, function() {
|
|
5057
|
+
return M.charAt(h++) || "_";
|
|
5058
|
+
}), i: h, v: M, f: b };
|
|
5060
5059
|
}, L = (R) => {
|
|
5061
5060
|
R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.replace(/\D/g, "")).then(
|
|
5062
5061
|
function() {
|
|
5063
|
-
|
|
5062
|
+
St.Copy("Данные в буфер обмене");
|
|
5064
5063
|
},
|
|
5065
5064
|
function(h) {
|
|
5066
5065
|
}
|
|
@@ -5068,37 +5067,37 @@ function Sa({
|
|
|
5068
5067
|
}, q = G(n), E = (R) => {
|
|
5069
5068
|
R.key === "Enter" && R.preventDefault();
|
|
5070
5069
|
};
|
|
5071
|
-
const
|
|
5070
|
+
const P = (R) => {
|
|
5072
5071
|
te.Blur(R), c && c({
|
|
5073
5072
|
value: R.target.textContent.replace(/\D/g, ""),
|
|
5074
5073
|
name: u
|
|
5075
5074
|
});
|
|
5076
5075
|
};
|
|
5077
|
-
let
|
|
5078
|
-
return s && g ? (
|
|
5079
|
-
|
|
5076
|
+
let U = {};
|
|
5077
|
+
return s && g ? (U.edit = "true", U.contentEditable = te.ContentEditable) : U.contentEditable = "false", v && (U.placeholder = v), x ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
|
|
5078
|
+
bt,
|
|
5080
5079
|
{
|
|
5081
5080
|
type: "input",
|
|
5082
5081
|
title: C,
|
|
5083
5082
|
element_blok: { className: S },
|
|
5084
|
-
element_input: { className: [
|
|
5083
|
+
element_input: { className: [V.w] },
|
|
5085
5084
|
children: /* @__PURE__ */ y.jsx(
|
|
5086
5085
|
"div",
|
|
5087
5086
|
{
|
|
5088
5087
|
onPaste: K,
|
|
5089
|
-
onInput:
|
|
5088
|
+
onInput: I,
|
|
5090
5089
|
onKeyDown: E,
|
|
5091
5090
|
onContextMenu: L,
|
|
5092
|
-
onBlur:
|
|
5091
|
+
onBlur: P,
|
|
5093
5092
|
suppressContentEditableWarning: !0,
|
|
5094
|
-
...
|
|
5093
|
+
...U,
|
|
5095
5094
|
children: q.q
|
|
5096
5095
|
}
|
|
5097
5096
|
)
|
|
5098
5097
|
}
|
|
5099
5098
|
);
|
|
5100
5099
|
}
|
|
5101
|
-
const ia = "_o_1c9e1_1", _a = "_c_1c9e1_11",
|
|
5100
|
+
const ia = "_o_1c9e1_1", _a = "_c_1c9e1_11", Rt = {
|
|
5102
5101
|
o: ia,
|
|
5103
5102
|
c: _a
|
|
5104
5103
|
};
|
|
@@ -5115,21 +5114,21 @@ function Ra({
|
|
|
5115
5114
|
icon: g,
|
|
5116
5115
|
name: o,
|
|
5117
5116
|
value: d,
|
|
5118
|
-
after:
|
|
5117
|
+
after: k
|
|
5119
5118
|
}) {
|
|
5120
|
-
let [S, N] =
|
|
5119
|
+
let [S, N] = W.useState(
|
|
5121
5120
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5122
5121
|
);
|
|
5123
|
-
const A =
|
|
5122
|
+
const A = W.useRef(null), [$, O] = W.useState(!1);
|
|
5124
5123
|
let p = !c && u;
|
|
5125
|
-
|
|
5124
|
+
W.useEffect(() => {
|
|
5126
5125
|
N(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5127
5126
|
}, [d]);
|
|
5128
|
-
let
|
|
5127
|
+
let I = (L) => {
|
|
5129
5128
|
N(L), s == null || s({ value: L, name: o });
|
|
5130
5129
|
}, K = (L) => {
|
|
5131
|
-
const q = L.target.getBoundingClientRect(), E = q.left,
|
|
5132
|
-
A.position = { x: E, b:
|
|
5130
|
+
const q = L.target.getBoundingClientRect(), E = q.left, P = q.bottom, U = q.top;
|
|
5131
|
+
A.position = { x: E, b: P, y: U }, O(!0);
|
|
5133
5132
|
};
|
|
5134
5133
|
const G = {};
|
|
5135
5134
|
return C && (G.placeholder = C), p ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
@@ -5137,19 +5136,19 @@ function Ra({
|
|
|
5137
5136
|
"dl",
|
|
5138
5137
|
{
|
|
5139
5138
|
"data-field": "date",
|
|
5140
|
-
className: [
|
|
5139
|
+
className: [V.l, v].filter((L) => L !== void 0).join(" "),
|
|
5141
5140
|
children: [
|
|
5142
|
-
n ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
5141
|
+
n ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: n }) : "",
|
|
5143
5142
|
/* @__PURE__ */ y.jsxs(
|
|
5144
5143
|
"dd",
|
|
5145
5144
|
{
|
|
5146
5145
|
onClick: K,
|
|
5147
|
-
className: [
|
|
5146
|
+
className: [V.f, V.w].join(" "),
|
|
5148
5147
|
...G,
|
|
5149
5148
|
"data-edit": (c && u) + "",
|
|
5150
5149
|
children: [
|
|
5151
5150
|
ca(S, "dd.mm.yyyy"),
|
|
5152
|
-
|
|
5151
|
+
k
|
|
5153
5152
|
]
|
|
5154
5153
|
}
|
|
5155
5154
|
),
|
|
@@ -5162,7 +5161,7 @@ function Ra({
|
|
|
5162
5161
|
sa,
|
|
5163
5162
|
{
|
|
5164
5163
|
position: A.position,
|
|
5165
|
-
onValue:
|
|
5164
|
+
onValue: I,
|
|
5166
5165
|
date: S,
|
|
5167
5166
|
max: T,
|
|
5168
5167
|
min: x,
|
|
@@ -5192,9 +5191,9 @@ const sa = ({
|
|
|
5192
5191
|
y: parseInt(s.getFullYear()),
|
|
5193
5192
|
d: parseInt(s.getDate()),
|
|
5194
5193
|
m: parseInt(s.getMonth()) + 1
|
|
5195
|
-
}, [d,
|
|
5196
|
-
let
|
|
5197
|
-
return
|
|
5194
|
+
}, [d, k] = W.useState({ y: o.y, m: o.m }), S = (h) => {
|
|
5195
|
+
let b = h.getDay();
|
|
5196
|
+
return b === 0 && (b = 7), b - 1;
|
|
5198
5197
|
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, $ = new Date(d.y, A), O = [];
|
|
5199
5198
|
for (let h = 0; h < S($); h++)
|
|
5200
5199
|
O.push(0);
|
|
@@ -5202,7 +5201,7 @@ const sa = ({
|
|
|
5202
5201
|
O.push($.getDate()), $.setDate($.getDate() + 1);
|
|
5203
5202
|
let p = () => {
|
|
5204
5203
|
T(!1);
|
|
5205
|
-
},
|
|
5204
|
+
}, I = () => {
|
|
5206
5205
|
L(d.m + 1, d.y);
|
|
5207
5206
|
}, K = () => {
|
|
5208
5207
|
L(d.m - 1, d.y);
|
|
@@ -5210,32 +5209,32 @@ const sa = ({
|
|
|
5210
5209
|
i(
|
|
5211
5210
|
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5212
5211
|
), p();
|
|
5213
|
-
}, L = (h,
|
|
5214
|
-
|
|
5212
|
+
}, L = (h, b) => {
|
|
5213
|
+
b = h > 12 ? b + 1 : h < 1 ? b - 1 : b, h = h > 12 ? 1 : h < 1 ? 12 : h, k({ y: b, m: h });
|
|
5215
5214
|
};
|
|
5216
|
-
const q = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {}, E = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {},
|
|
5217
|
-
let
|
|
5215
|
+
const q = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {}, E = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, P = (h) => {
|
|
5216
|
+
let b = !0;
|
|
5218
5217
|
if (u) {
|
|
5219
|
-
let
|
|
5220
|
-
|
|
5218
|
+
let M = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5219
|
+
M < Y && (b = !1);
|
|
5221
5220
|
}
|
|
5222
5221
|
if (v) {
|
|
5223
|
-
let
|
|
5224
|
-
|
|
5222
|
+
let M = v.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5223
|
+
M > Y && (b = !1);
|
|
5225
5224
|
}
|
|
5226
|
-
return
|
|
5225
|
+
return b;
|
|
5227
5226
|
};
|
|
5228
|
-
let
|
|
5227
|
+
let U = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, R = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5229
5228
|
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5230
|
-
/* @__PURE__ */ y.jsx("div", { className:
|
|
5229
|
+
/* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: () => p() }),
|
|
5231
5230
|
/* @__PURE__ */ y.jsxs(
|
|
5232
5231
|
"div",
|
|
5233
5232
|
{
|
|
5234
5233
|
className: [
|
|
5235
|
-
|
|
5234
|
+
Rt.c,
|
|
5236
5235
|
C && C + "-backdrop"
|
|
5237
5236
|
].join(" "),
|
|
5238
|
-
style: { top:
|
|
5237
|
+
style: { top: U + "px", left: R + "px" },
|
|
5239
5238
|
children: [
|
|
5240
5239
|
/* @__PURE__ */ y.jsxs("s", { children: [
|
|
5241
5240
|
/* @__PURE__ */ y.jsx("i", { onClick: K, children: /* @__PURE__ */ y.jsx(
|
|
@@ -5254,7 +5253,7 @@ const sa = ({
|
|
|
5254
5253
|
" ",
|
|
5255
5254
|
d.y
|
|
5256
5255
|
] }),
|
|
5257
|
-
/* @__PURE__ */ y.jsx("i", { onClick:
|
|
5256
|
+
/* @__PURE__ */ y.jsx("i", { onClick: I, children: /* @__PURE__ */ y.jsx(
|
|
5258
5257
|
"svg",
|
|
5259
5258
|
{
|
|
5260
5259
|
width: "16",
|
|
@@ -5267,8 +5266,8 @@ const sa = ({
|
|
|
5267
5266
|
) })
|
|
5268
5267
|
] }),
|
|
5269
5268
|
/* @__PURE__ */ y.jsxs("div", { "grid-calendar": "", children: [
|
|
5270
|
-
N.map((h,
|
|
5271
|
-
O.map((h,
|
|
5269
|
+
N.map((h, b) => /* @__PURE__ */ y.jsx("p", { children: h }, "v" + b)),
|
|
5270
|
+
O.map((h, b) => /* @__PURE__ */ y.jsx("span", { children: h !== 0 && P(h) ? /* @__PURE__ */ y.jsx(
|
|
5272
5271
|
"b",
|
|
5273
5272
|
{
|
|
5274
5273
|
...q(h),
|
|
@@ -5276,7 +5275,7 @@ const sa = ({
|
|
|
5276
5275
|
onClick: () => G(h),
|
|
5277
5276
|
children: h
|
|
5278
5277
|
}
|
|
5279
|
-
) : /* @__PURE__ */ y.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) },
|
|
5278
|
+
) : /* @__PURE__ */ y.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) }, b))
|
|
5280
5279
|
] })
|
|
5281
5280
|
]
|
|
5282
5281
|
}
|
|
@@ -5333,17 +5332,17 @@ function Ea({
|
|
|
5333
5332
|
placeholder: s = "",
|
|
5334
5333
|
className: g
|
|
5335
5334
|
}) {
|
|
5336
|
-
let [o, d] =
|
|
5337
|
-
const
|
|
5338
|
-
|
|
5335
|
+
let [o, d] = W.useState(n);
|
|
5336
|
+
const k = W.useRef(null), [S, N] = W.useState(!1);
|
|
5337
|
+
W.useEffect(() => {
|
|
5339
5338
|
d(n);
|
|
5340
5339
|
}, [n]);
|
|
5341
5340
|
let A = (p) => {
|
|
5342
5341
|
d(p), i && i({ value: p, name: c });
|
|
5343
5342
|
}, $ = (p) => {
|
|
5344
5343
|
if (!C || !T) return;
|
|
5345
|
-
const
|
|
5346
|
-
|
|
5344
|
+
const I = p.target.getBoundingClientRect(), K = I.left, G = I.top;
|
|
5345
|
+
k.position = { x: K, y: G }, N(!0);
|
|
5347
5346
|
};
|
|
5348
5347
|
const O = {};
|
|
5349
5348
|
return s && (O.placeholder = s), v || /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
@@ -5351,15 +5350,15 @@ function Ea({
|
|
|
5351
5350
|
"dl",
|
|
5352
5351
|
{
|
|
5353
5352
|
"data-field": "date",
|
|
5354
|
-
className: [
|
|
5353
|
+
className: [V.l, g].filter((p) => p !== void 0).join(" "),
|
|
5355
5354
|
children: [
|
|
5356
|
-
x ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
5355
|
+
x ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: x }) : "",
|
|
5357
5356
|
/* @__PURE__ */ y.jsx(
|
|
5358
5357
|
"dd",
|
|
5359
5358
|
{
|
|
5360
5359
|
onClick: $,
|
|
5361
5360
|
...O,
|
|
5362
|
-
className: [
|
|
5361
|
+
className: [V.f, V.w].join(" "),
|
|
5363
5362
|
children: da(o, "mm.yyyy")
|
|
5364
5363
|
}
|
|
5365
5364
|
),
|
|
@@ -5371,7 +5370,7 @@ function Ea({
|
|
|
5371
5370
|
/* @__PURE__ */ y.jsx(
|
|
5372
5371
|
ua,
|
|
5373
5372
|
{
|
|
5374
|
-
position:
|
|
5373
|
+
position: k.position,
|
|
5375
5374
|
onValue: A,
|
|
5376
5375
|
date: o,
|
|
5377
5376
|
onOpen: N
|
|
@@ -5389,20 +5388,20 @@ const ua = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5389
5388
|
}, x = {
|
|
5390
5389
|
y: parseInt(C.getFullYear()),
|
|
5391
5390
|
m: parseInt(C.getMonth()) + 1
|
|
5392
|
-
}, [s, g] =
|
|
5391
|
+
}, [s, g] = W.useState(x.y), o = () => {
|
|
5393
5392
|
n(!1);
|
|
5394
5393
|
}, d = () => {
|
|
5395
5394
|
g(s + 1);
|
|
5396
|
-
},
|
|
5395
|
+
}, k = () => {
|
|
5397
5396
|
g(s - 1);
|
|
5398
5397
|
}, S = (p) => {
|
|
5399
5398
|
c(s + "-" + fa(2, p)), o();
|
|
5400
|
-
}, N = (p) => T.y === x.y && T.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p,
|
|
5399
|
+
}, N = (p) => T.y === x.y && T.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, I) => I + 1), $ = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, O = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5401
5400
|
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5402
|
-
/* @__PURE__ */ y.jsx("div", { className:
|
|
5403
|
-
/* @__PURE__ */ y.jsxs("div", { className:
|
|
5401
|
+
/* @__PURE__ */ y.jsx("div", { className: Rt.o, onClick: o }),
|
|
5402
|
+
/* @__PURE__ */ y.jsxs("div", { className: Rt.c, style: { top: $ + "px", left: O + "px" }, children: [
|
|
5404
5403
|
/* @__PURE__ */ y.jsxs("s", { children: [
|
|
5405
|
-
/* @__PURE__ */ y.jsx("i", { onClick:
|
|
5404
|
+
/* @__PURE__ */ y.jsx("i", { onClick: k, children: /* @__PURE__ */ y.jsx(
|
|
5406
5405
|
"svg",
|
|
5407
5406
|
{
|
|
5408
5407
|
width: "16",
|
|
@@ -5426,7 +5425,7 @@ const ua = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5426
5425
|
}
|
|
5427
5426
|
) })
|
|
5428
5427
|
] }),
|
|
5429
|
-
/* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((p,
|
|
5428
|
+
/* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((p, I) => /* @__PURE__ */ y.jsx(
|
|
5430
5429
|
"span",
|
|
5431
5430
|
{
|
|
5432
5431
|
onClick: () => {
|
|
@@ -5435,7 +5434,7 @@ const ua = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
|
5435
5434
|
color: N(p),
|
|
5436
5435
|
children: /* @__PURE__ */ y.jsx("b", { children: pa(p).abc })
|
|
5437
5436
|
},
|
|
5438
|
-
|
|
5437
|
+
I
|
|
5439
5438
|
)) })
|
|
5440
5439
|
] })
|
|
5441
5440
|
] });
|
|
@@ -5491,20 +5490,20 @@ function Oa({
|
|
|
5491
5490
|
after: g = "",
|
|
5492
5491
|
show: o = !0,
|
|
5493
5492
|
course: d = 100,
|
|
5494
|
-
view:
|
|
5493
|
+
view: k,
|
|
5495
5494
|
type: S,
|
|
5496
5495
|
onSave: N,
|
|
5497
5496
|
className: A = "",
|
|
5498
5497
|
isClear: $ = !1
|
|
5499
5498
|
}) {
|
|
5500
|
-
let O = !!(T && (n === "" || n === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""),
|
|
5501
|
-
let
|
|
5502
|
-
|
|
5499
|
+
let O = !!(T && (n === "" || n === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), I = (R, h) => {
|
|
5500
|
+
let b = document.createRange(), M = window.getSelection();
|
|
5501
|
+
b.setStart(h.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), h.focus();
|
|
5503
5502
|
}, K = (R) => {
|
|
5504
5503
|
i == null || i({
|
|
5505
5504
|
value: p(R.target.textContent) * d,
|
|
5506
5505
|
name: c
|
|
5507
|
-
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 &&
|
|
5506
|
+
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && I(R.target.textContent.length, R.target);
|
|
5508
5507
|
}, G = (R) => {
|
|
5509
5508
|
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }), i == null || i({
|
|
5510
5509
|
value: p(R.target.textContent) * d,
|
|
@@ -5519,28 +5518,28 @@ function Oa({
|
|
|
5519
5518
|
});
|
|
5520
5519
|
}, E = (R) => {
|
|
5521
5520
|
R.key === "Enter" && R.preventDefault();
|
|
5522
|
-
},
|
|
5521
|
+
}, P = (R) => {
|
|
5523
5522
|
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5524
5523
|
h = h.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, h);
|
|
5525
5524
|
}).catch((h) => {
|
|
5526
5525
|
});
|
|
5527
5526
|
};
|
|
5528
5527
|
if (!(x && s) && !o || !(x && s) && O) return "";
|
|
5529
|
-
const
|
|
5530
|
-
return
|
|
5528
|
+
const U = {};
|
|
5529
|
+
return U.inputMode = "decimal", u && (U.placeholder = u), x && s && (U.edit = ""), /* @__PURE__ */ y.jsxs(
|
|
5531
5530
|
"dl",
|
|
5532
5531
|
{
|
|
5533
5532
|
"data-field": "date",
|
|
5534
|
-
className: [
|
|
5533
|
+
className: [V.l, A].filter((R) => R !== void 0).join(" "),
|
|
5535
5534
|
children: [
|
|
5536
|
-
v ? /* @__PURE__ */ y.jsx("dt", { className:
|
|
5535
|
+
v ? /* @__PURE__ */ y.jsx("dt", { className: V.t, children: v }) : "",
|
|
5537
5536
|
/* @__PURE__ */ y.jsx(
|
|
5538
5537
|
"dd",
|
|
5539
5538
|
{
|
|
5540
|
-
...
|
|
5541
|
-
className: [
|
|
5539
|
+
...U,
|
|
5540
|
+
className: [V.f, V.w].join(" "),
|
|
5542
5541
|
onInput: K,
|
|
5543
|
-
onPaste:
|
|
5542
|
+
onPaste: P,
|
|
5544
5543
|
onBlur: G,
|
|
5545
5544
|
onKeyDown: E,
|
|
5546
5545
|
onFocus: L,
|
|
@@ -5561,7 +5560,7 @@ function zt(n, i) {
|
|
|
5561
5560
|
}
|
|
5562
5561
|
const he = {};
|
|
5563
5562
|
function Ta(n) {
|
|
5564
|
-
const [i, c] =
|
|
5563
|
+
const [i, c] = W.useState({}), u = W.useRef(n);
|
|
5565
5564
|
return he.u = (v) => {
|
|
5566
5565
|
u.current = { ...u.current, [v.name]: v.value };
|
|
5567
5566
|
}, he.n = (v) => {
|
|
@@ -5577,7 +5576,7 @@ function Pa() {
|
|
|
5577
5576
|
he.r && he.r();
|
|
5578
5577
|
}
|
|
5579
5578
|
function Na(n) {
|
|
5580
|
-
const [i, c] =
|
|
5579
|
+
const [i, c] = W.useState({}), u = W.useRef(n);
|
|
5581
5580
|
return he.u = (v) => {
|
|
5582
5581
|
u.current = { ...u.current, [v.name]: v.value };
|
|
5583
5582
|
}, he.n = (v) => {
|