@elcrm/form 0.0.57 → 0.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +707 -709
- package/dist/index.umd.js +22 -22
- package/dist/src/lib/fields/Modal.d.ts +2 -3
- package/package.json +7 -1
- package/dist/test/dev.d.ts +0 -0
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import R, { forwardRef as qt, useEffect as Kt } from "react";
|
|
2
2
|
import { createPortal as Nt } from "react-dom";
|
|
3
|
-
import './index.css';const Gt = "0.0.
|
|
3
|
+
import './index.css';const Gt = "0.0.59", Yt = {
|
|
4
4
|
version: Gt
|
|
5
5
|
};
|
|
6
6
|
var Rt = { exports: {} }, pt = {};
|
|
@@ -17,13 +17,13 @@ var Ft;
|
|
|
17
17
|
function zt() {
|
|
18
18
|
if (Ft) return pt;
|
|
19
19
|
Ft = 1;
|
|
20
|
-
var a = R,
|
|
21
|
-
function C(b,
|
|
22
|
-
var n,
|
|
23
|
-
|
|
24
|
-
for (n in
|
|
25
|
-
if (b && b.defaultProps) for (n in
|
|
26
|
-
return { $$typeof:
|
|
20
|
+
var a = R, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function C(b, s, y) {
|
|
22
|
+
var n, l = {}, w = null, j = null;
|
|
23
|
+
y !== void 0 && (w = "" + y), s.key !== void 0 && (w = "" + s.key), s.ref !== void 0 && (j = s.ref);
|
|
24
|
+
for (n in s) c.call(s, n) && !k.hasOwnProperty(n) && (l[n] = s[n]);
|
|
25
|
+
if (b && b.defaultProps) for (n in s = b.defaultProps, s) l[n] === void 0 && (l[n] = s[n]);
|
|
26
|
+
return { $$typeof: _, type: b, key: w, ref: j, props: l, _owner: d.current };
|
|
27
27
|
}
|
|
28
28
|
return pt.Fragment = i, pt.jsx = C, pt.jsxs = C, pt;
|
|
29
29
|
}
|
|
@@ -40,24 +40,24 @@ var yt = {};
|
|
|
40
40
|
var Mt;
|
|
41
41
|
function Ht() {
|
|
42
42
|
return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var a = R,
|
|
43
|
+
var a = R, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), l = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, q = "@@iterator";
|
|
44
44
|
function D(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var t = F && e[F] || e[
|
|
47
|
+
var t = F && e[F] || e[q];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
50
|
var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
-
function
|
|
51
|
+
function p(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
54
|
-
r[
|
|
53
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
54
|
+
r[o - 1] = arguments[o];
|
|
55
55
|
P("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function P(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var
|
|
60
|
+
var o = O.ReactDebugCurrentFrame, h = o.getStackAddendum();
|
|
61
61
|
h !== "" && (t += "%s", r = r.concat([h]));
|
|
62
62
|
var x = r.map(function(m) {
|
|
63
63
|
return String(m);
|
|
@@ -65,19 +65,19 @@ function Ht() {
|
|
|
65
65
|
x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var U = !1, I = !1, L = !1, K = !1, W = !1, N;
|
|
69
69
|
N = Symbol.for("react.module.reference");
|
|
70
70
|
function E(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e === y || e === n || K || e === j || U || I || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === l || e.$$typeof === C || e.$$typeof === b || 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
75
|
e.$$typeof === N || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
77
|
function G(e, t, r) {
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
78
|
+
var o = e.displayName;
|
|
79
|
+
if (o)
|
|
80
|
+
return o;
|
|
81
81
|
var h = t.displayName || t.name || "";
|
|
82
82
|
return h !== "" ? r + "(" + h + ")" : r;
|
|
83
83
|
}
|
|
@@ -87,7 +87,7 @@ function Ht() {
|
|
|
87
87
|
function v(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
|
-
if (typeof e.tag == "number" &&
|
|
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")
|
|
91
91
|
return e.displayName || e.name || null;
|
|
92
92
|
if (typeof e == "string")
|
|
93
93
|
return e;
|
|
@@ -100,7 +100,7 @@ function Ht() {
|
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case d:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case y:
|
|
104
104
|
return "Suspense";
|
|
105
105
|
case n:
|
|
106
106
|
return "SuspenseList";
|
|
@@ -113,11 +113,11 @@ function Ht() {
|
|
|
113
113
|
case C:
|
|
114
114
|
var r = e;
|
|
115
115
|
return g(r._context) + ".Provider";
|
|
116
|
-
case l:
|
|
117
|
-
return G(e, e.render, "ForwardRef");
|
|
118
116
|
case s:
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
return G(e, e.render, "ForwardRef");
|
|
118
|
+
case l:
|
|
119
|
+
var o = e.displayName || null;
|
|
120
|
+
return o !== null ? o : v(e.type) || "Memo";
|
|
121
121
|
case w: {
|
|
122
122
|
var h = e, x = h._payload, m = h._init;
|
|
123
123
|
try {
|
|
@@ -129,14 +129,14 @@ function Ht() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var M = Object.assign,
|
|
132
|
+
var M = Object.assign, $ = 0, te, H, ae, ke, le, we, xe;
|
|
133
133
|
function Ce() {
|
|
134
134
|
}
|
|
135
135
|
Ce.__reactDisabledLog = !0;
|
|
136
136
|
function Ue() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
139
|
-
te = console.log, H = console.info, ae = console.warn, ke = console.error,
|
|
138
|
+
if ($ === 0) {
|
|
139
|
+
te = console.log, H = console.info, ae = console.warn, ke = console.error, le = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -153,12 +153,12 @@ function Ht() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
$++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
function qe() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if ($--, $ === 0) {
|
|
162
162
|
var e = {
|
|
163
163
|
configurable: !0,
|
|
164
164
|
enumerable: !0,
|
|
@@ -178,7 +178,7 @@ function Ht() {
|
|
|
178
178
|
value: ke
|
|
179
179
|
}),
|
|
180
180
|
group: M({}, e, {
|
|
181
|
-
value:
|
|
181
|
+
value: le
|
|
182
182
|
}),
|
|
183
183
|
groupCollapsed: M({}, e, {
|
|
184
184
|
value: we
|
|
@@ -188,7 +188,7 @@ function Ht() {
|
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
$ < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var ce = O.ReactCurrentDispatcher, ue;
|
|
@@ -198,8 +198,8 @@ function Ht() {
|
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (h) {
|
|
201
|
-
var
|
|
202
|
-
ue =
|
|
201
|
+
var o = h.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ue = o && o[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
205
|
` + ue + e;
|
|
@@ -218,7 +218,7 @@ function Ht() {
|
|
|
218
218
|
if (r !== void 0)
|
|
219
219
|
return r;
|
|
220
220
|
}
|
|
221
|
-
var
|
|
221
|
+
var o;
|
|
222
222
|
de = !0;
|
|
223
223
|
var h = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
@@ -236,30 +236,30 @@ function Ht() {
|
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(m, []);
|
|
239
|
-
} catch (
|
|
240
|
-
|
|
239
|
+
} catch (B) {
|
|
240
|
+
o = B;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], m);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
m.call();
|
|
246
|
-
} catch (
|
|
247
|
-
|
|
246
|
+
} catch (B) {
|
|
247
|
+
o = B;
|
|
248
248
|
}
|
|
249
249
|
e.call(m.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
|
|
254
|
+
} catch (B) {
|
|
255
|
+
o = B;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var u =
|
|
262
|
-
`), A =
|
|
259
|
+
} catch (B) {
|
|
260
|
+
if (B && o && typeof B.stack == "string") {
|
|
261
|
+
for (var u = B.stack.split(`
|
|
262
|
+
`), A = o.stack.split(`
|
|
263
263
|
`), S = u.length - 1, T = A.length - 1; S >= 1 && T >= 0 && u[S] !== A[T]; )
|
|
264
264
|
T--;
|
|
265
265
|
for (; S >= 1 && T >= 0; S--, T--)
|
|
@@ -296,19 +296,19 @@ function Ht() {
|
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return ne(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
299
|
+
case y:
|
|
300
300
|
return ne("Suspense");
|
|
301
301
|
case n:
|
|
302
302
|
return ne("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
|
-
case l:
|
|
307
|
-
return Ge(e.render);
|
|
308
306
|
case s:
|
|
307
|
+
return Ge(e.render);
|
|
308
|
+
case l:
|
|
309
309
|
return _e(e.type, t, r);
|
|
310
310
|
case w: {
|
|
311
|
-
var
|
|
311
|
+
var o = e, h = o._payload, x = o._init;
|
|
312
312
|
try {
|
|
313
313
|
return _e(x(h), t, r);
|
|
314
314
|
} catch {
|
|
@@ -325,7 +325,7 @@ function Ht() {
|
|
|
325
325
|
} else
|
|
326
326
|
Se.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function ze(e, t, r,
|
|
328
|
+
function ze(e, t, r, o, h) {
|
|
329
329
|
{
|
|
330
330
|
var x = Function.call.bind(ee);
|
|
331
331
|
for (var m in e)
|
|
@@ -333,14 +333,14 @@ function Ht() {
|
|
|
333
333
|
var u = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[m] != "function") {
|
|
336
|
-
var A = Error((
|
|
336
|
+
var A = Error((o || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
337
|
throw A.name = "Invariant Violation", A;
|
|
338
338
|
}
|
|
339
|
-
u = e[m](t, m,
|
|
339
|
+
u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (S) {
|
|
341
341
|
u = S;
|
|
342
342
|
}
|
|
343
|
-
u && !(u instanceof Error) && (ie(h),
|
|
343
|
+
u && !(u instanceof Error) && (ie(h), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), p("Failed %s type: %s", r, u.message), ie(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -366,7 +366,7 @@ function Ht() {
|
|
|
366
366
|
}
|
|
367
367
|
function Te(e) {
|
|
368
368
|
if (Ze(e))
|
|
369
|
-
return
|
|
369
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
|
|
370
370
|
}
|
|
371
371
|
var Oe = O.ReactCurrentOwner, Ve = {
|
|
372
372
|
key: !0,
|
|
@@ -396,7 +396,7 @@ function Ht() {
|
|
|
396
396
|
function tt(e, t) {
|
|
397
397
|
{
|
|
398
398
|
var r = function() {
|
|
399
|
-
De || (De = !0,
|
|
399
|
+
De || (De = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
400
400
|
};
|
|
401
401
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
402
402
|
get: r,
|
|
@@ -407,7 +407,7 @@ function Ht() {
|
|
|
407
407
|
function rt(e, t) {
|
|
408
408
|
{
|
|
409
409
|
var r = function() {
|
|
410
|
-
Pe || (Pe = !0,
|
|
410
|
+
Pe || (Pe = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
411
411
|
};
|
|
412
412
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
413
413
|
get: r,
|
|
@@ -415,10 +415,10 @@ function Ht() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var at = function(e, t, r,
|
|
418
|
+
var at = function(e, t, r, o, h, x, m) {
|
|
419
419
|
var u = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
|
-
$$typeof:
|
|
421
|
+
$$typeof: _,
|
|
422
422
|
// Built-in properties that belong on the element
|
|
423
423
|
type: e,
|
|
424
424
|
key: t,
|
|
@@ -436,7 +436,7 @@ function Ht() {
|
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !1,
|
|
439
|
-
value:
|
|
439
|
+
value: o
|
|
440
440
|
}), Object.defineProperty(u, "_source", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
@@ -444,7 +444,7 @@ function Ht() {
|
|
|
444
444
|
value: h
|
|
445
445
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
446
446
|
};
|
|
447
|
-
function nt(e, t, r,
|
|
447
|
+
function nt(e, t, r, o, h) {
|
|
448
448
|
{
|
|
449
449
|
var x, m = {}, u = null, A = null;
|
|
450
450
|
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (A = t.ref, et(t, h));
|
|
@@ -459,7 +459,7 @@ function Ht() {
|
|
|
459
459
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
460
|
u && tt(m, T), A && rt(m, T);
|
|
461
461
|
}
|
|
462
|
-
return at(e, u, A, h,
|
|
462
|
+
return at(e, u, A, h, o, Oe.current, m);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
|
|
@@ -473,7 +473,7 @@ function Ht() {
|
|
|
473
473
|
var pe;
|
|
474
474
|
pe = !1;
|
|
475
475
|
function ye(e) {
|
|
476
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
476
|
+
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
477
477
|
}
|
|
478
478
|
function Fe() {
|
|
479
479
|
{
|
|
@@ -512,8 +512,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
512
512
|
if (Me[r])
|
|
513
513
|
return;
|
|
514
514
|
Me[r] = !0;
|
|
515
|
-
var
|
|
516
|
-
e && e._owner && e._owner !== me.current && (
|
|
515
|
+
var o = "";
|
|
516
|
+
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(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, o), V(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ae(e, t) {
|
|
@@ -522,8 +522,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
522
522
|
return;
|
|
523
523
|
if (fe(e))
|
|
524
524
|
for (var r = 0; r < e.length; r++) {
|
|
525
|
-
var
|
|
526
|
-
ye(
|
|
525
|
+
var o = e[r];
|
|
526
|
+
ye(o) && Ie(o, t);
|
|
527
527
|
}
|
|
528
528
|
else if (ye(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
@@ -543,37 +543,37 @@ Check the top-level render call using <` + r + ">.");
|
|
|
543
543
|
var r;
|
|
544
544
|
if (typeof t == "function")
|
|
545
545
|
r = t.propTypes;
|
|
546
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
546
|
+
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
547
547
|
// Inner props are checked in the reconciler.
|
|
548
|
-
t.$$typeof ===
|
|
548
|
+
t.$$typeof === l))
|
|
549
549
|
r = t.propTypes;
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var
|
|
554
|
-
ze(r, e.props, "prop",
|
|
553
|
+
var o = v(t);
|
|
554
|
+
ze(r, e.props, "prop", o, e);
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
556
|
pe = !0;
|
|
557
557
|
var h = v(t);
|
|
558
|
-
|
|
558
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
559
559
|
}
|
|
560
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
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.");
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function lt(e) {
|
|
564
564
|
{
|
|
565
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
V(e),
|
|
566
|
+
var o = t[r];
|
|
567
|
+
if (o !== "children" && o !== "key") {
|
|
568
|
+
V(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
e.ref !== null && (V(e),
|
|
572
|
+
e.ref !== null && (V(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var $e = {};
|
|
576
|
-
function Be(e, t, r,
|
|
576
|
+
function Be(e, t, r, o, h, x) {
|
|
577
577
|
{
|
|
578
578
|
var m = E(e);
|
|
579
579
|
if (!m) {
|
|
@@ -582,7 +582,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
582
582
|
var A = ot();
|
|
583
583
|
A ? u += A : u += Fe();
|
|
584
584
|
var S;
|
|
585
|
-
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof ===
|
|
585
|
+
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === _ ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, u);
|
|
586
586
|
}
|
|
587
587
|
var T = nt(e, t, r, h, x);
|
|
588
588
|
if (T == null)
|
|
@@ -590,23 +590,23 @@ Check the top-level render call using <` + r + ">.");
|
|
|
590
590
|
if (m) {
|
|
591
591
|
var Y = t.children;
|
|
592
592
|
if (Y !== void 0)
|
|
593
|
-
if (
|
|
593
|
+
if (o)
|
|
594
594
|
if (fe(Y)) {
|
|
595
595
|
for (var X = 0; X < Y.length; X++)
|
|
596
596
|
Ae(Y[X], e);
|
|
597
597
|
Object.freeze && Object.freeze(Y);
|
|
598
598
|
} else
|
|
599
|
-
|
|
599
|
+
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
600
|
else
|
|
601
601
|
Ae(Y, e);
|
|
602
602
|
}
|
|
603
603
|
if (ee.call(t, "key")) {
|
|
604
|
-
var J = v(e),
|
|
604
|
+
var J = v(e), B = Object.keys(t).filter(function(mt) {
|
|
605
605
|
return mt !== "key";
|
|
606
|
-
}), ve =
|
|
606
|
+
}), ve = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!$e[J + ve]) {
|
|
608
|
-
var ft =
|
|
609
|
-
|
|
608
|
+
var ft = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
+
p(`A props object containing a "key" prop is being spread into JSX:
|
|
610
610
|
let props = %s;
|
|
611
611
|
<%s {...props} />
|
|
612
612
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -614,22 +614,22 @@ React keys must be passed directly to JSX without using spread:
|
|
|
614
614
|
<%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
return e === c ?
|
|
617
|
+
return e === c ? lt(T) : it(T), T;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function st(e, t, r) {
|
|
621
621
|
return Be(e, t, r, !0);
|
|
622
622
|
}
|
|
623
623
|
function ct(e, t, r) {
|
|
624
624
|
return Be(e, t, r, !1);
|
|
625
625
|
}
|
|
626
|
-
var ut = ct, dt =
|
|
626
|
+
var ut = ct, dt = st;
|
|
627
627
|
yt.Fragment = c, yt.jsx = ut, yt.jsxs = dt;
|
|
628
628
|
}()), yt;
|
|
629
629
|
}
|
|
630
630
|
process.env.NODE_ENV === "production" ? Rt.exports = zt() : Rt.exports = Ht();
|
|
631
631
|
var f = Rt.exports;
|
|
632
|
-
function da({ name: a, value:
|
|
632
|
+
function da({ name: a, value: _, title: i, style: c, className: d }) {
|
|
633
633
|
let k = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
@@ -653,15 +653,15 @@ Z.KeyDown = (a) => {
|
|
|
653
653
|
a.key === "Enter" && a.preventDefault();
|
|
654
654
|
};
|
|
655
655
|
Z.PasteOne = (a) => {
|
|
656
|
-
a.preventDefault(), navigator.clipboard.readText().then((
|
|
657
|
-
|
|
658
|
-
}).catch((
|
|
656
|
+
a.preventDefault(), navigator.clipboard.readText().then((_) => {
|
|
657
|
+
_ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
|
|
658
|
+
}).catch((_) => {
|
|
659
659
|
});
|
|
660
660
|
};
|
|
661
|
-
Z.Paste = (a,
|
|
662
|
-
|
|
661
|
+
Z.Paste = (a, _) => {
|
|
662
|
+
_.preventDefault(), navigator.clipboard.readText().then((i) => {
|
|
663
663
|
if (a) {
|
|
664
|
-
let c =
|
|
664
|
+
let c = _.target.textContent.length;
|
|
665
665
|
if (c >= a) return;
|
|
666
666
|
a -= c, i = i.slice(0, a);
|
|
667
667
|
}
|
|
@@ -689,7 +689,7 @@ const ar = "_n_1ery1_2", nr = "_e_1ery1_8", or = "_s_1ery1_11", _r = "_r_1ery1_1
|
|
|
689
689
|
};
|
|
690
690
|
let be = {};
|
|
691
691
|
function vt({ data: a }) {
|
|
692
|
-
let [
|
|
692
|
+
let [_, i] = R.useState("show");
|
|
693
693
|
R.useEffect(() => {
|
|
694
694
|
a.hide && (setTimeout(function() {
|
|
695
695
|
i("hide");
|
|
@@ -715,17 +715,17 @@ function vt({ data: a }) {
|
|
|
715
715
|
c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Предупреждение:", k = We.с;
|
|
716
716
|
break;
|
|
717
717
|
}
|
|
718
|
-
return /* @__PURE__ */ R.createElement("li", { className: k, "data-status":
|
|
718
|
+
return /* @__PURE__ */ R.createElement("li", { className: k, "data-status": _ }, c, /* @__PURE__ */ R.createElement("b", null, d), /* @__PURE__ */ R.createElement("p", null, a.text));
|
|
719
719
|
}
|
|
720
720
|
function ir({ data: a }) {
|
|
721
|
-
let [
|
|
721
|
+
let [_, i] = R.useState("show");
|
|
722
722
|
return R.useEffect(() => {
|
|
723
723
|
a.hide && (setTimeout(function() {
|
|
724
724
|
i("hide");
|
|
725
725
|
}, 1800), setTimeout(function() {
|
|
726
726
|
be.del(a.key);
|
|
727
727
|
}, 2500));
|
|
728
|
-
}, [a.key]), /* @__PURE__ */ R.createElement("li", { className: "item", "data-status":
|
|
728
|
+
}, [a.key]), /* @__PURE__ */ R.createElement("li", { className: "item", "data-status": _ }, a.text);
|
|
729
729
|
}
|
|
730
730
|
const Le = {};
|
|
731
731
|
Le.error = () => /* @__PURE__ */ R.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ R.createElement(
|
|
@@ -756,56 +756,56 @@ Le.success = () => /* @__PURE__ */ R.createElement("svg", { viewBox: "0 0 24 24"
|
|
|
756
756
|
));
|
|
757
757
|
var xt;
|
|
758
758
|
((a) => {
|
|
759
|
-
function
|
|
760
|
-
let [
|
|
761
|
-
return be.set = (
|
|
762
|
-
n([...
|
|
763
|
-
}, be.del = (
|
|
764
|
-
n(
|
|
765
|
-
},
|
|
759
|
+
function _({ className: s }) {
|
|
760
|
+
let [y, n] = R.useState([]);
|
|
761
|
+
return be.set = (l) => {
|
|
762
|
+
n([...y, l]);
|
|
763
|
+
}, be.del = (l) => {
|
|
764
|
+
n(y.filter((w) => w.key !== l));
|
|
765
|
+
}, y.length === 0 ? "" : /* @__PURE__ */ R.createElement("ul", { className: [We.n, s].filter((l) => l).join(" ") }, y.map((l) => l.item));
|
|
766
766
|
}
|
|
767
|
-
a.Init =
|
|
768
|
-
function i(
|
|
769
|
-
let n = Date.now(),
|
|
767
|
+
a.Init = _;
|
|
768
|
+
function i(s, y = !0) {
|
|
769
|
+
let n = Date.now(), l = { key: n, text: s, hide: y, type: "error" };
|
|
770
770
|
be.set({
|
|
771
|
-
item: /* @__PURE__ */ R.createElement(vt, { key: n, data:
|
|
771
|
+
item: /* @__PURE__ */ R.createElement(vt, { key: n, data: l }),
|
|
772
772
|
key: n
|
|
773
773
|
});
|
|
774
774
|
}
|
|
775
775
|
a.Error = i;
|
|
776
|
-
function c(
|
|
777
|
-
let n = Date.now(),
|
|
776
|
+
function c(s, y = !0) {
|
|
777
|
+
let n = Date.now(), l = { key: n, text: s, hide: y, type: "success" };
|
|
778
778
|
be.set({
|
|
779
|
-
item: /* @__PURE__ */ R.createElement(vt, { key: n, data:
|
|
779
|
+
item: /* @__PURE__ */ R.createElement(vt, { key: n, data: l }),
|
|
780
780
|
key: n
|
|
781
781
|
});
|
|
782
782
|
}
|
|
783
783
|
a.Success = c;
|
|
784
|
-
function d(
|
|
785
|
-
let n = Date.now(),
|
|
786
|
-
be.set({ item: /* @__PURE__ */ R.createElement(ir, { key: n, data:
|
|
784
|
+
function d(s, y = !0) {
|
|
785
|
+
let n = Date.now(), l = { key: n, hide: y, text: s };
|
|
786
|
+
be.set({ item: /* @__PURE__ */ R.createElement(ir, { key: n, data: l }), key: n });
|
|
787
787
|
}
|
|
788
788
|
a.Custom = d;
|
|
789
|
-
function k(
|
|
790
|
-
let
|
|
789
|
+
function k(s) {
|
|
790
|
+
let y = Date.now(), n = { key: y, hide: !0, ...s };
|
|
791
791
|
be.set({
|
|
792
|
-
item: /* @__PURE__ */ R.createElement(vt, { key:
|
|
793
|
-
key:
|
|
792
|
+
item: /* @__PURE__ */ R.createElement(vt, { key: y, data: n }),
|
|
793
|
+
key: y
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
796
|
a.Send = k;
|
|
797
|
-
function C(
|
|
798
|
-
let n = Date.now(),
|
|
797
|
+
function C(s, y = !0) {
|
|
798
|
+
let n = Date.now(), l = { key: n, text: s, hide: y, type: "remark" };
|
|
799
799
|
be.set({
|
|
800
|
-
item: /* @__PURE__ */ R.createElement(vt, { key: n, data:
|
|
800
|
+
item: /* @__PURE__ */ R.createElement(vt, { key: n, data: l }),
|
|
801
801
|
key: n
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
804
|
a.Remark = C;
|
|
805
|
-
function b(
|
|
806
|
-
let n = Date.now(),
|
|
805
|
+
function b(s, y = !0) {
|
|
806
|
+
let n = Date.now(), l = { key: n, text: s, hide: y, type: "copy" };
|
|
807
807
|
be.set({
|
|
808
|
-
item: /* @__PURE__ */ R.createElement(vt, { key: n, data:
|
|
808
|
+
item: /* @__PURE__ */ R.createElement(vt, { key: n, data: l }),
|
|
809
809
|
key: n
|
|
810
810
|
});
|
|
811
811
|
}
|
|
@@ -814,32 +814,31 @@ var xt;
|
|
|
814
814
|
const he = qt(
|
|
815
815
|
({
|
|
816
816
|
element_blok: a,
|
|
817
|
-
element_input:
|
|
817
|
+
element_input: _,
|
|
818
818
|
type: i = "input",
|
|
819
819
|
title: c,
|
|
820
820
|
error: d,
|
|
821
821
|
before: k,
|
|
822
822
|
after: C,
|
|
823
823
|
children: b
|
|
824
|
-
},
|
|
824
|
+
}, s) => /* @__PURE__ */ f.jsxs(
|
|
825
825
|
"dl",
|
|
826
826
|
{
|
|
827
827
|
"data-field": i,
|
|
828
|
-
...
|
|
829
|
-
className: [Q.l, ...a.className].filter((p) => p !== void 0).join(" "),
|
|
828
|
+
className: [Q.l, ...a.className].filter((y) => y !== void 0).join(" "),
|
|
830
829
|
children: [
|
|
831
830
|
c ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: c }) : "",
|
|
832
831
|
k,
|
|
833
832
|
/* @__PURE__ */ f.jsx(
|
|
834
833
|
"dd",
|
|
835
834
|
{
|
|
836
|
-
ref:
|
|
835
|
+
ref: s,
|
|
837
836
|
className: [
|
|
838
837
|
Q.f,
|
|
839
|
-
...
|
|
838
|
+
..._.className,
|
|
840
839
|
d && d.length > 0 ? Q.e : ""
|
|
841
840
|
].join(" "),
|
|
842
|
-
...
|
|
841
|
+
..._.props,
|
|
843
842
|
children: b
|
|
844
843
|
}
|
|
845
844
|
),
|
|
@@ -850,42 +849,42 @@ const he = qt(
|
|
|
850
849
|
);
|
|
851
850
|
function fa({
|
|
852
851
|
value: a = "",
|
|
853
|
-
onValue:
|
|
852
|
+
onValue: _,
|
|
854
853
|
onSave: i,
|
|
855
854
|
name: c,
|
|
856
855
|
format: d = "+_(___) ___-__-__",
|
|
857
856
|
placeholder: k = "",
|
|
858
857
|
title: C = "",
|
|
859
858
|
error: b = "",
|
|
860
|
-
hide:
|
|
861
|
-
edit:
|
|
859
|
+
hide: s = !1,
|
|
860
|
+
edit: y = !0,
|
|
862
861
|
active: n = !0,
|
|
863
|
-
after:
|
|
862
|
+
after: l = "",
|
|
864
863
|
show: w = !0,
|
|
865
864
|
view: j,
|
|
866
865
|
className: F = ""
|
|
867
866
|
}) {
|
|
868
|
-
|
|
869
|
-
let D = d, O = !0,
|
|
870
|
-
let M = document.createRange(),
|
|
871
|
-
M.setStart(v.childNodes[0], g), M.collapse(!0),
|
|
872
|
-
},
|
|
867
|
+
y = y !== void 0 ? y : !0, n = n !== void 0 ? n : !0, s = !!(s && (a === "" || a === void 0)) && !(y && n), R.useRef(null);
|
|
868
|
+
let D = d, O = !0, p = 0, P = (g, v) => {
|
|
869
|
+
let M = document.createRange(), $ = window.getSelection();
|
|
870
|
+
M.setStart(v.childNodes[0], g), M.collapse(!0), $.removeAllRanges(), $.addRange(M), v.focus();
|
|
871
|
+
}, U = (g) => {
|
|
873
872
|
g.preventDefault(), navigator.clipboard.readText().then((v) => {
|
|
874
873
|
window.document.execCommand("insertText", !1, v);
|
|
875
874
|
}).catch((v) => {
|
|
876
875
|
});
|
|
877
876
|
}, I = (g) => {
|
|
878
|
-
let v = 0, M = "",
|
|
879
|
-
|
|
880
|
-
let te =
|
|
881
|
-
te.forEach((
|
|
882
|
-
O && (H +=
|
|
877
|
+
let v = 0, M = "", $ = g.replace(/\D/g, "");
|
|
878
|
+
$ === "" && (O = !0);
|
|
879
|
+
let te = $.split(""), H = "";
|
|
880
|
+
te.forEach((le) => {
|
|
881
|
+
O && (H += le, O && (p = ("" + H).length, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""), p > ("" + H).length && (O = !0, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
|
|
883
882
|
});
|
|
884
883
|
let ae = D.replace(/\D/g, "");
|
|
885
|
-
return ae.length >=
|
|
886
|
-
return
|
|
887
|
-
}), i: v, v:
|
|
888
|
-
},
|
|
884
|
+
return ae.length >= $.length && ($ = ae), { q: D.replace(/[_\d]/g, function() {
|
|
885
|
+
return $.charAt(v++) || "_";
|
|
886
|
+
}), i: v, v: $, f: M };
|
|
887
|
+
}, L = (g) => {
|
|
889
888
|
g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
|
|
890
889
|
function() {
|
|
891
890
|
xt.Copy("Данные в буфер обмене");
|
|
@@ -893,9 +892,9 @@ function fa({
|
|
|
893
892
|
function(v) {
|
|
894
893
|
}
|
|
895
894
|
);
|
|
896
|
-
},
|
|
895
|
+
}, K = I(a), W = (g) => {
|
|
897
896
|
let v = I(g.target.textContent);
|
|
898
|
-
g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target),
|
|
897
|
+
g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target), _ && _({ value: v.q.replace(/\D/g, ""), name: c });
|
|
899
898
|
}, N = (g) => {
|
|
900
899
|
g.key === "Enter" && g.preventDefault();
|
|
901
900
|
};
|
|
@@ -906,7 +905,7 @@ function fa({
|
|
|
906
905
|
});
|
|
907
906
|
};
|
|
908
907
|
let G = {};
|
|
909
|
-
return
|
|
908
|
+
return y && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", k && (G.placeholder = k), l && (G.after = l), s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
910
909
|
he,
|
|
911
910
|
{
|
|
912
911
|
type: "input",
|
|
@@ -916,55 +915,55 @@ function fa({
|
|
|
916
915
|
children: /* @__PURE__ */ f.jsx(
|
|
917
916
|
"div",
|
|
918
917
|
{
|
|
919
|
-
onPaste:
|
|
918
|
+
onPaste: U,
|
|
920
919
|
onInput: W,
|
|
921
920
|
onKeyDown: N,
|
|
922
|
-
onContextMenu:
|
|
921
|
+
onContextMenu: L,
|
|
923
922
|
onBlur: E,
|
|
924
923
|
suppressContentEditableWarning: !0,
|
|
925
924
|
...G,
|
|
926
|
-
children:
|
|
925
|
+
children: K.q
|
|
927
926
|
}
|
|
928
927
|
)
|
|
929
928
|
}
|
|
930
929
|
);
|
|
931
930
|
}
|
|
932
|
-
const
|
|
933
|
-
o:
|
|
934
|
-
c:
|
|
931
|
+
const lr = "_o_1c9e1_1", sr = "_c_1c9e1_11", Ct = {
|
|
932
|
+
o: lr,
|
|
933
|
+
c: sr
|
|
935
934
|
};
|
|
936
935
|
function ma({
|
|
937
936
|
value: a,
|
|
938
|
-
onValue:
|
|
937
|
+
onValue: _,
|
|
939
938
|
name: i,
|
|
940
939
|
error: c,
|
|
941
940
|
icon: d,
|
|
942
941
|
edit: k = !0,
|
|
943
942
|
active: C = !0,
|
|
944
943
|
title: b,
|
|
945
|
-
placeholder:
|
|
946
|
-
className:
|
|
944
|
+
placeholder: s = "",
|
|
945
|
+
className: y
|
|
947
946
|
}) {
|
|
948
|
-
let [n,
|
|
947
|
+
let [n, l] = R.useState(a);
|
|
949
948
|
const w = R.useRef(null), [j, F] = R.useState(!1);
|
|
950
949
|
R.useEffect(() => {
|
|
951
|
-
|
|
950
|
+
l(a);
|
|
952
951
|
}, [a]);
|
|
953
|
-
let
|
|
954
|
-
|
|
955
|
-
}, D = (
|
|
952
|
+
let q = (p) => {
|
|
953
|
+
l(p), _ && _({ value: p, name: i });
|
|
954
|
+
}, D = (p) => {
|
|
956
955
|
if (!k || !C) return;
|
|
957
|
-
const P =
|
|
958
|
-
w.position = { x:
|
|
956
|
+
const P = p.target.getBoundingClientRect(), U = P.left, I = P.top;
|
|
957
|
+
w.position = { x: U, y: I }, F(!0);
|
|
959
958
|
};
|
|
960
959
|
const O = {};
|
|
961
|
-
return
|
|
960
|
+
return s && (O.placeholder = s), d || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
962
961
|
/* @__PURE__ */ f.jsx(
|
|
963
962
|
he,
|
|
964
963
|
{
|
|
965
964
|
type: "date",
|
|
966
965
|
title: b,
|
|
967
|
-
element_blok: { className: [
|
|
966
|
+
element_blok: { className: [y] },
|
|
968
967
|
element_input: { className: [Q.w] },
|
|
969
968
|
children: /* @__PURE__ */ f.jsx("div", { onClick: D, ...O, children: ur(n, "mm.yyyy") })
|
|
970
969
|
}
|
|
@@ -974,7 +973,7 @@ function ma({
|
|
|
974
973
|
cr,
|
|
975
974
|
{
|
|
976
975
|
position: w.position,
|
|
977
|
-
onValue:
|
|
976
|
+
onValue: q,
|
|
978
977
|
date: n,
|
|
979
978
|
onOpen: F
|
|
980
979
|
},
|
|
@@ -984,22 +983,22 @@ function ma({
|
|
|
984
983
|
)
|
|
985
984
|
] });
|
|
986
985
|
}
|
|
987
|
-
const cr = ({ onOpen: a, date:
|
|
988
|
-
let d = /* @__PURE__ */ new Date(), k = new Date(
|
|
986
|
+
const cr = ({ onOpen: a, date: _, onValue: i, position: c }) => {
|
|
987
|
+
let d = /* @__PURE__ */ new Date(), k = new Date(_), C = {
|
|
989
988
|
y: parseInt(d.getFullYear()),
|
|
990
989
|
m: parseInt(d.getMonth()) + 1
|
|
991
990
|
}, b = {
|
|
992
991
|
y: parseInt(k.getFullYear()),
|
|
993
992
|
m: parseInt(k.getMonth()) + 1
|
|
994
|
-
}, [
|
|
993
|
+
}, [s, y] = R.useState(b.y), n = () => {
|
|
995
994
|
a(!1);
|
|
996
|
-
},
|
|
997
|
-
|
|
995
|
+
}, l = () => {
|
|
996
|
+
y(s + 1);
|
|
998
997
|
}, w = () => {
|
|
999
|
-
|
|
1000
|
-
}, j = (
|
|
1001
|
-
i(
|
|
1002
|
-
}, F = (
|
|
998
|
+
y(s - 1);
|
|
999
|
+
}, j = (p) => {
|
|
1000
|
+
i(s + "-" + dr(2, p)), n();
|
|
1001
|
+
}, F = (p) => C.y === b.y && C.m === p ? "_FFEB3B" : "", q = Array(12).fill("").map((p, P) => P + 1), D = window.innerHeight - c.y + 33 < 320 ? c.y - 312 : c.y + 33, O = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
1003
1002
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1004
1003
|
/* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: n }),
|
|
1005
1004
|
/* @__PURE__ */ f.jsxs("div", { className: Ct.c, style: { top: D + "px", left: O + "px" }, children: [
|
|
@@ -1015,8 +1014,8 @@ const cr = ({ onOpen: a, date: o, onValue: i, position: c }) => {
|
|
|
1015
1014
|
children: /* @__PURE__ */ f.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
|
|
1016
1015
|
}
|
|
1017
1016
|
) }),
|
|
1018
|
-
/* @__PURE__ */ f.jsx("h2", { children:
|
|
1019
|
-
/* @__PURE__ */ f.jsx("i", { onClick:
|
|
1017
|
+
/* @__PURE__ */ f.jsx("h2", { children: s }),
|
|
1018
|
+
/* @__PURE__ */ f.jsx("i", { onClick: l, children: /* @__PURE__ */ f.jsx(
|
|
1020
1019
|
"svg",
|
|
1021
1020
|
{
|
|
1022
1021
|
width: "16",
|
|
@@ -1028,22 +1027,22 @@ const cr = ({ onOpen: a, date: o, onValue: i, position: c }) => {
|
|
|
1028
1027
|
}
|
|
1029
1028
|
) })
|
|
1030
1029
|
] }),
|
|
1031
|
-
/* @__PURE__ */ f.jsx("div", { "grid-month": "", children:
|
|
1030
|
+
/* @__PURE__ */ f.jsx("div", { "grid-month": "", children: q.map((p, P) => /* @__PURE__ */ f.jsx(
|
|
1032
1031
|
"span",
|
|
1033
1032
|
{
|
|
1034
1033
|
onClick: () => {
|
|
1035
|
-
j(
|
|
1034
|
+
j(p);
|
|
1036
1035
|
},
|
|
1037
|
-
color: F(
|
|
1038
|
-
children: /* @__PURE__ */ f.jsx("b", { children: fr(
|
|
1036
|
+
color: F(p),
|
|
1037
|
+
children: /* @__PURE__ */ f.jsx("b", { children: fr(p).abc })
|
|
1039
1038
|
},
|
|
1040
1039
|
P
|
|
1041
1040
|
)) })
|
|
1042
1041
|
] })
|
|
1043
1042
|
] });
|
|
1044
1043
|
};
|
|
1045
|
-
function ur(a,
|
|
1046
|
-
|
|
1044
|
+
function ur(a, _) {
|
|
1045
|
+
_ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
1047
1046
|
let i = {
|
|
1048
1047
|
yyyy: a.getFullYear(),
|
|
1049
1048
|
yy: ("" + a.getFullYear()).slice(-2),
|
|
@@ -1056,11 +1055,11 @@ function ur(a, o) {
|
|
|
1056
1055
|
_: " "
|
|
1057
1056
|
};
|
|
1058
1057
|
for (const c in i)
|
|
1059
|
-
|
|
1060
|
-
return
|
|
1058
|
+
_ = _.replace(c, i[c]);
|
|
1059
|
+
return _;
|
|
1061
1060
|
}
|
|
1062
|
-
function dr(a,
|
|
1063
|
-
let i =
|
|
1061
|
+
function dr(a, _) {
|
|
1062
|
+
let i = _ + "";
|
|
1064
1063
|
for (; i.length < a; ) i = "0" + i;
|
|
1065
1064
|
return i;
|
|
1066
1065
|
}
|
|
@@ -1082,39 +1081,39 @@ function fr(a) {
|
|
|
1082
1081
|
}
|
|
1083
1082
|
function pa({
|
|
1084
1083
|
value: a,
|
|
1085
|
-
onValue:
|
|
1084
|
+
onValue: _,
|
|
1086
1085
|
name: i,
|
|
1087
1086
|
placeholder: c = "",
|
|
1088
1087
|
title: d = "",
|
|
1089
1088
|
error: k = "",
|
|
1090
1089
|
hide: C = !1,
|
|
1091
1090
|
edit: b = !0,
|
|
1092
|
-
active:
|
|
1093
|
-
after:
|
|
1091
|
+
active: s = !0,
|
|
1092
|
+
after: y = "",
|
|
1094
1093
|
show: n = !0,
|
|
1095
|
-
course:
|
|
1094
|
+
course: l = 100,
|
|
1096
1095
|
view: w,
|
|
1097
1096
|
type: j,
|
|
1098
1097
|
onSave: F,
|
|
1099
|
-
className:
|
|
1098
|
+
className: q = "",
|
|
1100
1099
|
isClear: D = !1
|
|
1101
1100
|
}) {
|
|
1102
|
-
let O = !!(C && (a === "" || a === void 0)),
|
|
1101
|
+
let O = !!(C && (a === "" || a === void 0)), p = (E) => j === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), P = (E, G) => {
|
|
1103
1102
|
let g = document.createRange(), v = window.getSelection();
|
|
1104
1103
|
g.setStart(G.childNodes[0], E), g.collapse(!0), v.removeAllRanges(), v.addRange(g), G.focus();
|
|
1105
|
-
},
|
|
1106
|
-
|
|
1107
|
-
value:
|
|
1104
|
+
}, U = (E) => {
|
|
1105
|
+
_ == null || _({
|
|
1106
|
+
value: p(E.target.textContent) * l,
|
|
1108
1107
|
name: i
|
|
1109
|
-
}), E.target.textContent =
|
|
1108
|
+
}), E.target.textContent = p(E.target.textContent), E.target.textContent.length > 0 && P(E.target.textContent.length, E.target);
|
|
1110
1109
|
}, I = (E) => {
|
|
1111
|
-
Z.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), F == null || F({ value:
|
|
1112
|
-
value:
|
|
1110
|
+
Z.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), F == null || F({ value: p(E.target.textContent) * l, name: i }), _ == null || _({
|
|
1111
|
+
value: p(E.target.textContent) * l,
|
|
1113
1112
|
name: i
|
|
1114
1113
|
}), E.target.textContent = It(E.target.textContent);
|
|
1115
|
-
},
|
|
1116
|
-
E.target.textContent =
|
|
1117
|
-
},
|
|
1114
|
+
}, L = (E) => {
|
|
1115
|
+
E.target.textContent = p(E.target.textContent);
|
|
1116
|
+
}, K = (E) => {
|
|
1118
1117
|
E.key === "Enter" && E.preventDefault();
|
|
1119
1118
|
}, W = (E) => {
|
|
1120
1119
|
E.preventDefault(), navigator.clipboard.readText().then((G) => {
|
|
@@ -1122,78 +1121,78 @@ function pa({
|
|
|
1122
1121
|
}).catch((G) => {
|
|
1123
1122
|
});
|
|
1124
1123
|
};
|
|
1125
|
-
if (!(b &&
|
|
1124
|
+
if (!(b && s) && !n || !(b && s) && O) return "";
|
|
1126
1125
|
const N = {};
|
|
1127
|
-
return N.inputMode = "decimal", c && (N.placeholder = c), b &&
|
|
1126
|
+
return N.inputMode = "decimal", c && (N.placeholder = c), b && s && (N.edit = ""), /* @__PURE__ */ f.jsx(
|
|
1128
1127
|
he,
|
|
1129
1128
|
{
|
|
1130
1129
|
type: "input",
|
|
1131
1130
|
title: d,
|
|
1132
|
-
element_blok: { className: [
|
|
1131
|
+
element_blok: { className: [q] },
|
|
1133
1132
|
element_input: { className: [Q.w] },
|
|
1134
1133
|
children: /* @__PURE__ */ f.jsx(
|
|
1135
1134
|
"div",
|
|
1136
1135
|
{
|
|
1137
1136
|
...N,
|
|
1138
|
-
onInput:
|
|
1137
|
+
onInput: U,
|
|
1139
1138
|
onPaste: W,
|
|
1140
1139
|
onBlur: I,
|
|
1141
|
-
onKeyDown:
|
|
1142
|
-
onFocus:
|
|
1143
|
-
contentEditable: b &&
|
|
1140
|
+
onKeyDown: K,
|
|
1141
|
+
onFocus: L,
|
|
1142
|
+
contentEditable: b && s ? Z.ContentEditable : "false",
|
|
1144
1143
|
suppressContentEditableWarning: !0,
|
|
1145
|
-
"data-after":
|
|
1144
|
+
"data-after": y,
|
|
1146
1145
|
children: !c || a ? It(a) : ""
|
|
1147
1146
|
}
|
|
1148
1147
|
)
|
|
1149
1148
|
}
|
|
1150
1149
|
);
|
|
1151
1150
|
}
|
|
1152
|
-
function It(a,
|
|
1151
|
+
function It(a, _) {
|
|
1153
1152
|
return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
1154
1153
|
}
|
|
1155
1154
|
function ya({
|
|
1156
1155
|
title: a,
|
|
1157
|
-
error:
|
|
1156
|
+
error: _,
|
|
1158
1157
|
edit: i = !0,
|
|
1159
1158
|
active: c = !0,
|
|
1160
1159
|
className: d,
|
|
1161
1160
|
placeholder: k,
|
|
1162
1161
|
max: C,
|
|
1163
1162
|
min: b,
|
|
1164
|
-
onValue:
|
|
1165
|
-
icon:
|
|
1163
|
+
onValue: s,
|
|
1164
|
+
icon: y,
|
|
1166
1165
|
name: n = "",
|
|
1167
|
-
value:
|
|
1166
|
+
value: l,
|
|
1168
1167
|
after: w
|
|
1169
1168
|
}) {
|
|
1170
1169
|
let [j, F] = R.useState(
|
|
1171
|
-
|
|
1170
|
+
l === void 0 ? /* @__PURE__ */ new Date() : l
|
|
1172
1171
|
);
|
|
1173
|
-
const
|
|
1174
|
-
let
|
|
1172
|
+
const q = R.useRef(null), [D, O] = R.useState(!1);
|
|
1173
|
+
let p = !i && c;
|
|
1175
1174
|
R.useEffect(() => {
|
|
1176
|
-
F(
|
|
1177
|
-
}, [
|
|
1178
|
-
let P = (
|
|
1179
|
-
F(
|
|
1180
|
-
},
|
|
1181
|
-
const
|
|
1182
|
-
|
|
1175
|
+
F(l === void 0 ? /* @__PURE__ */ new Date() : l);
|
|
1176
|
+
}, [l]);
|
|
1177
|
+
let P = (L) => {
|
|
1178
|
+
F(L), s == null || s({ value: L, name: n });
|
|
1179
|
+
}, U = (L) => {
|
|
1180
|
+
const K = L.target.getBoundingClientRect(), W = K.left, N = K.bottom, E = K.top;
|
|
1181
|
+
q.position = { x: W, b: N, y: E }, O(!0);
|
|
1183
1182
|
};
|
|
1184
1183
|
const I = {};
|
|
1185
|
-
return k && (I.placeholder = k),
|
|
1186
|
-
|
|
1184
|
+
return k && (I.placeholder = k), p ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1185
|
+
y ? y() : /* @__PURE__ */ f.jsxs(
|
|
1187
1186
|
"dl",
|
|
1188
1187
|
{
|
|
1189
1188
|
"data-field": "date",
|
|
1190
|
-
className: [Q.l, d].filter((
|
|
1189
|
+
className: [Q.l, d].filter((L) => L !== void 0).join(" "),
|
|
1191
1190
|
children: [
|
|
1192
1191
|
a ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: a }) : "",
|
|
1193
1192
|
/* @__PURE__ */ f.jsxs(
|
|
1194
1193
|
"dd",
|
|
1195
1194
|
{
|
|
1196
|
-
onClick:
|
|
1195
|
+
onClick: U,
|
|
1197
1196
|
className: [Q.f, Q.w].join(" "),
|
|
1198
1197
|
...I,
|
|
1199
1198
|
"data-edit": (i && c) + "",
|
|
@@ -1203,7 +1202,7 @@ function ya({
|
|
|
1203
1202
|
]
|
|
1204
1203
|
}
|
|
1205
1204
|
),
|
|
1206
|
-
|
|
1205
|
+
_ && /* @__PURE__ */ f.jsx("em", { children: _ })
|
|
1207
1206
|
]
|
|
1208
1207
|
}
|
|
1209
1208
|
),
|
|
@@ -1211,7 +1210,7 @@ function ya({
|
|
|
1211
1210
|
/* @__PURE__ */ f.jsx(
|
|
1212
1211
|
mr,
|
|
1213
1212
|
{
|
|
1214
|
-
position:
|
|
1213
|
+
position: q.position,
|
|
1215
1214
|
onValue: P,
|
|
1216
1215
|
date: j,
|
|
1217
1216
|
max: C,
|
|
@@ -1227,57 +1226,57 @@ function ya({
|
|
|
1227
1226
|
}
|
|
1228
1227
|
const mr = ({
|
|
1229
1228
|
date: a,
|
|
1230
|
-
onValue:
|
|
1229
|
+
onValue: _,
|
|
1231
1230
|
position: i,
|
|
1232
1231
|
max: c,
|
|
1233
1232
|
min: d,
|
|
1234
1233
|
className: k,
|
|
1235
1234
|
onOpen: C
|
|
1236
1235
|
}) => {
|
|
1237
|
-
let b = /* @__PURE__ */ new Date(),
|
|
1236
|
+
let b = /* @__PURE__ */ new Date(), s = new Date(a), y = {
|
|
1238
1237
|
y: parseInt(b.getFullYear()),
|
|
1239
1238
|
d: parseInt(b.getDate()),
|
|
1240
1239
|
m: parseInt(b.getMonth()) + 1
|
|
1241
1240
|
}, n = {
|
|
1242
|
-
y: parseInt(
|
|
1243
|
-
d: parseInt(
|
|
1244
|
-
m: parseInt(
|
|
1245
|
-
}, [
|
|
1241
|
+
y: parseInt(s.getFullYear()),
|
|
1242
|
+
d: parseInt(s.getDate()),
|
|
1243
|
+
m: parseInt(s.getMonth()) + 1
|
|
1244
|
+
}, [l, w] = R.useState({ y: n.y, m: n.m }), j = (g) => {
|
|
1246
1245
|
let v = g.getDay();
|
|
1247
1246
|
return v === 0 && (v = 7), v - 1;
|
|
1248
|
-
}, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"],
|
|
1247
|
+
}, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], q = l.m - 1, D = new Date(l.y, q), O = [];
|
|
1249
1248
|
for (let g = 0; g < j(D); g++)
|
|
1250
1249
|
O.push(0);
|
|
1251
|
-
for (; D.getMonth() ===
|
|
1250
|
+
for (; D.getMonth() === q; )
|
|
1252
1251
|
O.push(D.getDate()), D.setDate(D.getDate() + 1);
|
|
1253
|
-
let
|
|
1252
|
+
let p = () => {
|
|
1254
1253
|
C(!1);
|
|
1255
1254
|
}, P = () => {
|
|
1256
|
-
|
|
1257
|
-
},
|
|
1258
|
-
|
|
1255
|
+
L(l.m + 1, l.y);
|
|
1256
|
+
}, U = () => {
|
|
1257
|
+
L(l.m - 1, l.y);
|
|
1259
1258
|
}, I = (g) => {
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
),
|
|
1263
|
-
},
|
|
1259
|
+
_(
|
|
1260
|
+
l.y + "-" + At(2, l.m) + "-" + At(2, g)
|
|
1261
|
+
), p();
|
|
1262
|
+
}, L = (g, v) => {
|
|
1264
1263
|
v = g > 12 ? v + 1 : g < 1 ? v - 1 : v, g = g > 12 ? 1 : g < 1 ? 12 : g, w({ y: v, m: g });
|
|
1265
1264
|
};
|
|
1266
|
-
const
|
|
1265
|
+
const K = (g) => y.y === l.y && y.m === l.m && y.d === g ? { "data-active": "true" } : {}, W = (g) => n.y === l.y && n.m === l.m && n.d === g ? { "data-current": "true" } : {}, N = (g) => {
|
|
1267
1266
|
let v = !0;
|
|
1268
1267
|
if (c) {
|
|
1269
|
-
let M = c.getTime(),
|
|
1270
|
-
M <
|
|
1268
|
+
let M = c.getTime(), $ = new Date(l.y, l.m - 1, g).getTime();
|
|
1269
|
+
M < $ && (v = !1);
|
|
1271
1270
|
}
|
|
1272
1271
|
if (d) {
|
|
1273
|
-
let M = d.getTime(),
|
|
1274
|
-
M >
|
|
1272
|
+
let M = d.getTime(), $ = new Date(l.y, l.m - 1, g).getTime();
|
|
1273
|
+
M > $ && (v = !1);
|
|
1275
1274
|
}
|
|
1276
1275
|
return v;
|
|
1277
1276
|
};
|
|
1278
1277
|
let E = window.innerHeight - i.y < 320 ? i.y - 312 : i.b, G = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
|
|
1279
1278
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1280
|
-
/* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: () =>
|
|
1279
|
+
/* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: () => p() }),
|
|
1281
1280
|
/* @__PURE__ */ f.jsxs(
|
|
1282
1281
|
"div",
|
|
1283
1282
|
{
|
|
@@ -1288,7 +1287,7 @@ const mr = ({
|
|
|
1288
1287
|
style: { top: E + "px", left: G + "px" },
|
|
1289
1288
|
children: [
|
|
1290
1289
|
/* @__PURE__ */ f.jsxs("s", { children: [
|
|
1291
|
-
/* @__PURE__ */ f.jsx("i", { onClick:
|
|
1290
|
+
/* @__PURE__ */ f.jsx("i", { onClick: U, children: /* @__PURE__ */ f.jsx(
|
|
1292
1291
|
"svg",
|
|
1293
1292
|
{
|
|
1294
1293
|
width: "16",
|
|
@@ -1300,9 +1299,9 @@ const mr = ({
|
|
|
1300
1299
|
}
|
|
1301
1300
|
) }),
|
|
1302
1301
|
/* @__PURE__ */ f.jsxs("h2", { children: [
|
|
1303
|
-
pr(
|
|
1302
|
+
pr(l.m).name,
|
|
1304
1303
|
" ",
|
|
1305
|
-
|
|
1304
|
+
l.y
|
|
1306
1305
|
] }),
|
|
1307
1306
|
/* @__PURE__ */ f.jsx("i", { onClick: P, children: /* @__PURE__ */ f.jsx(
|
|
1308
1307
|
"svg",
|
|
@@ -1321,12 +1320,12 @@ const mr = ({
|
|
|
1321
1320
|
O.map((g, v) => /* @__PURE__ */ f.jsx("span", { children: g !== 0 && N(g) ? /* @__PURE__ */ f.jsx(
|
|
1322
1321
|
"b",
|
|
1323
1322
|
{
|
|
1324
|
-
...
|
|
1323
|
+
...K(g),
|
|
1325
1324
|
...W(g),
|
|
1326
1325
|
onClick: () => I(g),
|
|
1327
1326
|
children: g
|
|
1328
1327
|
}
|
|
1329
|
-
) : /* @__PURE__ */ f.jsx("p", { ...
|
|
1328
|
+
) : /* @__PURE__ */ f.jsx("p", { ...K(g), ...W(g), children: g !== 0 ? g : "" }) }, v))
|
|
1330
1329
|
] })
|
|
1331
1330
|
]
|
|
1332
1331
|
}
|
|
@@ -1349,13 +1348,13 @@ function pr(a) {
|
|
|
1349
1348
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
1350
1349
|
}[a];
|
|
1351
1350
|
}
|
|
1352
|
-
function At(a,
|
|
1353
|
-
let i =
|
|
1351
|
+
function At(a, _) {
|
|
1352
|
+
let i = _ + "";
|
|
1354
1353
|
for (; i.length < a; ) i = "0" + i;
|
|
1355
1354
|
return i;
|
|
1356
1355
|
}
|
|
1357
|
-
function yr(a,
|
|
1358
|
-
|
|
1356
|
+
function yr(a, _) {
|
|
1357
|
+
_ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
1359
1358
|
let i = {
|
|
1360
1359
|
yyyy: a.getFullYear(),
|
|
1361
1360
|
yy: ("" + a.getFullYear()).slice(-2),
|
|
@@ -1368,51 +1367,51 @@ function yr(a, o) {
|
|
|
1368
1367
|
_: " "
|
|
1369
1368
|
};
|
|
1370
1369
|
for (const c in i)
|
|
1371
|
-
|
|
1372
|
-
return
|
|
1370
|
+
_ = _.replace(c, i[c]);
|
|
1371
|
+
return _;
|
|
1373
1372
|
}
|
|
1374
1373
|
function va({
|
|
1375
1374
|
value: a,
|
|
1376
|
-
onValue:
|
|
1375
|
+
onValue: _,
|
|
1377
1376
|
name: i,
|
|
1378
1377
|
placeholder: c = "",
|
|
1379
1378
|
title: d = "",
|
|
1380
1379
|
label: k = "",
|
|
1381
1380
|
hide: C = !1,
|
|
1382
1381
|
edit: b = !0,
|
|
1383
|
-
active:
|
|
1384
|
-
after:
|
|
1382
|
+
active: s = !0,
|
|
1383
|
+
after: y = "",
|
|
1385
1384
|
show: n = !0,
|
|
1386
|
-
maxLength:
|
|
1385
|
+
maxLength: l,
|
|
1387
1386
|
error: w = "",
|
|
1388
1387
|
onSave: j,
|
|
1389
1388
|
className: F = "",
|
|
1390
|
-
isCopy:
|
|
1389
|
+
isCopy: q = !0
|
|
1391
1390
|
}) {
|
|
1392
1391
|
const D = (I) => {
|
|
1393
|
-
|
|
1392
|
+
_ == null || _({ value: I.target.innerText, name: i || "" });
|
|
1394
1393
|
}, O = (I) => {
|
|
1395
|
-
|
|
1396
|
-
},
|
|
1397
|
-
I.preventDefault(), navigator.clipboard.readText().then((
|
|
1398
|
-
if (
|
|
1399
|
-
let
|
|
1400
|
-
if (
|
|
1401
|
-
|
|
1394
|
+
l && I.target.textContent.trim().length >= l && I.key !== "Backspace" && I.preventDefault(), I.key === "Enter" && I.preventDefault();
|
|
1395
|
+
}, p = (I) => {
|
|
1396
|
+
I.preventDefault(), navigator.clipboard.readText().then((L) => {
|
|
1397
|
+
if (l) {
|
|
1398
|
+
let K = I.target.textContent.length;
|
|
1399
|
+
if (K >= l) return;
|
|
1400
|
+
l -= K, L = L.slice(0, l);
|
|
1402
1401
|
}
|
|
1403
1402
|
window.document.execCommand(
|
|
1404
1403
|
"insertText",
|
|
1405
1404
|
!1,
|
|
1406
|
-
|
|
1405
|
+
L.replace(/(\r\n|\n|\r)/gm, " ")
|
|
1407
1406
|
);
|
|
1408
|
-
}).catch((
|
|
1407
|
+
}).catch((L) => {
|
|
1409
1408
|
});
|
|
1410
1409
|
};
|
|
1411
1410
|
if (C) return /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
1412
|
-
if (!(b &&
|
|
1411
|
+
if (!(b && s) && !n) return "";
|
|
1413
1412
|
const P = {};
|
|
1414
|
-
c && (P.placeholder = c), b &&
|
|
1415
|
-
const
|
|
1413
|
+
c && (P.placeholder = c), b && s && (P.edit = "");
|
|
1414
|
+
const U = (I) => {
|
|
1416
1415
|
Z.Blur(I), j == null || j({ value: I.target.textContent.trim(), name: i || "" });
|
|
1417
1416
|
};
|
|
1418
1417
|
return /* @__PURE__ */ f.jsx(
|
|
@@ -1426,11 +1425,11 @@ function va({
|
|
|
1426
1425
|
children: /* @__PURE__ */ f.jsx(
|
|
1427
1426
|
"div",
|
|
1428
1427
|
{
|
|
1429
|
-
onPaste:
|
|
1428
|
+
onPaste: p,
|
|
1430
1429
|
onInput: D,
|
|
1431
|
-
onBlur:
|
|
1430
|
+
onBlur: U,
|
|
1432
1431
|
onKeyDown: O,
|
|
1433
|
-
contentEditable: b &&
|
|
1432
|
+
contentEditable: b && s ? Z.ContentEditable : "false",
|
|
1434
1433
|
suppressContentEditableWarning: !0,
|
|
1435
1434
|
...P,
|
|
1436
1435
|
children: a
|
|
@@ -2823,51 +2822,51 @@ const Et = {
|
|
|
2823
2822
|
};
|
|
2824
2823
|
function ga({
|
|
2825
2824
|
value: a,
|
|
2826
|
-
onValue:
|
|
2825
|
+
onValue: _,
|
|
2827
2826
|
onSave: i,
|
|
2828
2827
|
name: c = "",
|
|
2829
2828
|
placeholder: d = "",
|
|
2830
2829
|
title: k = "",
|
|
2831
2830
|
label: C = "",
|
|
2832
2831
|
error: b = "",
|
|
2833
|
-
hide:
|
|
2834
|
-
edit:
|
|
2832
|
+
hide: s = !1,
|
|
2833
|
+
edit: y = !0,
|
|
2835
2834
|
active: n = !0,
|
|
2836
|
-
after:
|
|
2835
|
+
after: l = "",
|
|
2837
2836
|
show: w = !0,
|
|
2838
2837
|
view: j,
|
|
2839
2838
|
className: F = ""
|
|
2840
2839
|
}) {
|
|
2841
|
-
|
|
2842
|
-
let D = "+_(___) ___-__-__", O = !0,
|
|
2843
|
-
let M = document.createRange(),
|
|
2844
|
-
M.setStart(v.childNodes[0], g), M.collapse(!0),
|
|
2845
|
-
},
|
|
2846
|
-
let v =
|
|
2847
|
-
g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target),
|
|
2840
|
+
y = y !== void 0 ? y : !0, n = n !== void 0 ? n : !0, s = !!(s && (a === "" || a === void 0)) && !(y && n), R.useRef(null);
|
|
2841
|
+
let D = "+_(___) ___-__-__", O = !0, p = 0, P = (g, v) => {
|
|
2842
|
+
let M = document.createRange(), $ = window.getSelection();
|
|
2843
|
+
M.setStart(v.childNodes[0], g), M.collapse(!0), $.removeAllRanges(), $.addRange(M), v.focus();
|
|
2844
|
+
}, U = (g) => {
|
|
2845
|
+
let v = L(g.target.textContent);
|
|
2846
|
+
g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target), _ && _({ value: v.q.replace(/\D/g, ""), name: c || "" });
|
|
2848
2847
|
}, I = (g) => {
|
|
2849
2848
|
g.preventDefault(), navigator.clipboard.readText().then((v) => {
|
|
2850
2849
|
window.document.execCommand("insertText", !1, v);
|
|
2851
2850
|
}).catch((v) => {
|
|
2852
2851
|
});
|
|
2853
|
-
},
|
|
2854
|
-
let v = 0, M = "",
|
|
2855
|
-
|
|
2856
|
-
let te =
|
|
2857
|
-
te.forEach((
|
|
2858
|
-
O && (H +=
|
|
2852
|
+
}, L = (g) => {
|
|
2853
|
+
let v = 0, M = "", $ = g.replace(/\D/g, "");
|
|
2854
|
+
$ === "" && (O = !0);
|
|
2855
|
+
let te = $.split(""), H = "";
|
|
2856
|
+
te.forEach((le) => {
|
|
2857
|
+
O && (H += le, Et[H] !== void 0 && O ? (O = !1, D = Et[H].mask.replace(new RegExp("[0-9]", "g"), "_"), M = Et[H].code) : (O && (p = ("" + H).length, D = `+${H}_(___) ___-__-__`.replace(
|
|
2859
2858
|
new RegExp("[0-9]", "g"),
|
|
2860
2859
|
"_"
|
|
2861
|
-
), M = ""),
|
|
2860
|
+
), M = ""), p > ("" + H).length && (O = !0, D = `+${H}_(___) ___-__-__`.replace(
|
|
2862
2861
|
new RegExp("[0-9]", "g"),
|
|
2863
2862
|
"_"
|
|
2864
2863
|
), M = "")));
|
|
2865
2864
|
});
|
|
2866
2865
|
let ae = D.replace(/\D/g, "");
|
|
2867
|
-
return ae.length >=
|
|
2868
|
-
return
|
|
2869
|
-
}), i: v, v:
|
|
2870
|
-
},
|
|
2866
|
+
return ae.length >= $.length && ($ = ae), { q: D.replace(/[_\d]/g, function() {
|
|
2867
|
+
return $.charAt(v++) || "_";
|
|
2868
|
+
}), i: v, v: $, f: M };
|
|
2869
|
+
}, K = (g) => {
|
|
2871
2870
|
g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
|
|
2872
2871
|
function() {
|
|
2873
2872
|
xt.Copy("Данные в буфер обмене");
|
|
@@ -2875,7 +2874,7 @@ function ga({
|
|
|
2875
2874
|
function(v) {
|
|
2876
2875
|
}
|
|
2877
2876
|
);
|
|
2878
|
-
}, W =
|
|
2877
|
+
}, W = L(a), N = (g) => {
|
|
2879
2878
|
g.key === "Enter" && g.preventDefault();
|
|
2880
2879
|
};
|
|
2881
2880
|
const E = (g) => {
|
|
@@ -2885,7 +2884,7 @@ function ga({
|
|
|
2885
2884
|
});
|
|
2886
2885
|
};
|
|
2887
2886
|
let G = {};
|
|
2888
|
-
return
|
|
2887
|
+
return y && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", d && (G.placeholder = d), s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
2889
2888
|
he,
|
|
2890
2889
|
{
|
|
2891
2890
|
type: "input",
|
|
@@ -2897,9 +2896,9 @@ function ga({
|
|
|
2897
2896
|
"div",
|
|
2898
2897
|
{
|
|
2899
2898
|
onPaste: I,
|
|
2900
|
-
onInput:
|
|
2899
|
+
onInput: U,
|
|
2901
2900
|
onKeyDown: N,
|
|
2902
|
-
onContextMenu:
|
|
2901
|
+
onContextMenu: K,
|
|
2903
2902
|
onBlur: E,
|
|
2904
2903
|
inputMode: "tel",
|
|
2905
2904
|
suppressContentEditableWarning: !0,
|
|
@@ -2912,40 +2911,40 @@ function ga({
|
|
|
2912
2911
|
}
|
|
2913
2912
|
function ha({
|
|
2914
2913
|
value: a,
|
|
2915
|
-
onValue:
|
|
2914
|
+
onValue: _,
|
|
2916
2915
|
name: i = "",
|
|
2917
2916
|
inputmode: c = "text",
|
|
2918
2917
|
placeholder: d = "",
|
|
2919
2918
|
title: k = "",
|
|
2920
2919
|
label: C = "",
|
|
2921
2920
|
show: b = !0,
|
|
2922
|
-
hide:
|
|
2923
|
-
edit:
|
|
2921
|
+
hide: s = !1,
|
|
2922
|
+
edit: y = !0,
|
|
2924
2923
|
active: n = !0,
|
|
2925
|
-
maxLength:
|
|
2924
|
+
maxLength: l,
|
|
2926
2925
|
onSave: w,
|
|
2927
2926
|
className: j = "",
|
|
2928
2927
|
spellCheck: F = !0,
|
|
2929
|
-
isCopy:
|
|
2928
|
+
isCopy: q = !0,
|
|
2930
2929
|
isReload: D = !1,
|
|
2931
2930
|
after: O = "",
|
|
2932
|
-
before:
|
|
2931
|
+
before: p = "",
|
|
2933
2932
|
error: P = ""
|
|
2934
2933
|
}) {
|
|
2935
|
-
const
|
|
2936
|
-
|
|
2934
|
+
const U = !!(s && (a === "" || a === void 0)), I = (E) => {
|
|
2935
|
+
_ && _({
|
|
2937
2936
|
value: E.target.textContent.trim(),
|
|
2938
2937
|
name: i,
|
|
2939
2938
|
reload: D
|
|
2940
2939
|
});
|
|
2941
|
-
},
|
|
2942
|
-
|
|
2943
|
-
},
|
|
2940
|
+
}, L = (E) => {
|
|
2941
|
+
l && E.target.textContent.trim().length >= l && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
2942
|
+
}, K = (E) => {
|
|
2944
2943
|
E.preventDefault(), navigator.clipboard.readText().then((G) => {
|
|
2945
|
-
if (
|
|
2944
|
+
if (l) {
|
|
2946
2945
|
let g = E.target.textContent.length;
|
|
2947
|
-
if (g >=
|
|
2948
|
-
|
|
2946
|
+
if (g >= l) return;
|
|
2947
|
+
l -= g, G = G.slice(0, l);
|
|
2949
2948
|
}
|
|
2950
2949
|
window.document.execCommand(
|
|
2951
2950
|
"insertText",
|
|
@@ -2955,9 +2954,9 @@ function ha({
|
|
|
2955
2954
|
}).catch((G) => {
|
|
2956
2955
|
});
|
|
2957
2956
|
};
|
|
2958
|
-
if (!(
|
|
2957
|
+
if (!(y && n) && !b || !(y && n) && U) return "";
|
|
2959
2958
|
const W = {};
|
|
2960
|
-
d && (W.placeholder = d),
|
|
2959
|
+
d && (W.placeholder = d), y && n && (W.edit = "");
|
|
2961
2960
|
const N = (E) => {
|
|
2962
2961
|
Z.Blur(E), w == null || w({ value: E.target.textContent.trim(), name: i });
|
|
2963
2962
|
};
|
|
@@ -2970,17 +2969,17 @@ function ha({
|
|
|
2970
2969
|
element_blok: { className: [j] },
|
|
2971
2970
|
element_input: { className: [Q.w] },
|
|
2972
2971
|
children: [
|
|
2973
|
-
|
|
2972
|
+
p,
|
|
2974
2973
|
/* @__PURE__ */ f.jsx(
|
|
2975
2974
|
"div",
|
|
2976
2975
|
{
|
|
2977
2976
|
onBlur: N,
|
|
2978
|
-
onPaste:
|
|
2977
|
+
onPaste: K,
|
|
2979
2978
|
onInput: I,
|
|
2980
|
-
onKeyDown:
|
|
2979
|
+
onKeyDown: L,
|
|
2981
2980
|
spellCheck: F,
|
|
2982
2981
|
inputMode: c || "text",
|
|
2983
|
-
contentEditable:
|
|
2982
|
+
contentEditable: y && n ? Z.ContentEditable : "false",
|
|
2984
2983
|
suppressContentEditableWarning: !0,
|
|
2985
2984
|
...W,
|
|
2986
2985
|
children: a
|
|
@@ -2993,34 +2992,34 @@ function ha({
|
|
|
2993
2992
|
}
|
|
2994
2993
|
function ka({
|
|
2995
2994
|
onValue: a,
|
|
2996
|
-
onSave:
|
|
2995
|
+
onSave: _,
|
|
2997
2996
|
active: i,
|
|
2998
2997
|
max: c,
|
|
2999
2998
|
edit: d,
|
|
3000
2999
|
title: k,
|
|
3001
3000
|
error: C,
|
|
3002
3001
|
show: b,
|
|
3003
|
-
hide:
|
|
3004
|
-
value:
|
|
3002
|
+
hide: s,
|
|
3003
|
+
value: y,
|
|
3005
3004
|
placeholder: n,
|
|
3006
|
-
className:
|
|
3005
|
+
className: l,
|
|
3007
3006
|
maxLength: w,
|
|
3008
3007
|
name: j = "",
|
|
3009
3008
|
after: F = "",
|
|
3010
|
-
before:
|
|
3009
|
+
before: q = "",
|
|
3011
3010
|
view: D
|
|
3012
3011
|
}) {
|
|
3013
|
-
d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0,
|
|
3014
|
-
let
|
|
3012
|
+
d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, s = !!(s && (y === "" || y === void 0)) && !(d && i), n = n !== void 0 ? n : "", c = c !== void 0 ? c : 99;
|
|
3013
|
+
let p = !1, P = (N) => {
|
|
3015
3014
|
a == null || a({ value: N.target.textContent, name: j });
|
|
3016
|
-
},
|
|
3017
|
-
if (!(
|
|
3018
|
-
if (N.which === 17 || N.which === 91) return
|
|
3015
|
+
}, U = (N) => {
|
|
3016
|
+
if (!(p && N.which === 86)) {
|
|
3017
|
+
if (N.which === 17 || N.which === 91) return p = !0;
|
|
3019
3018
|
N.key !== "Backspace" && (N.target.textContent.length === c && N.preventDefault(), N.key === "Enter" && N.preventDefault(), isNaN(N.key) && N.preventDefault());
|
|
3020
3019
|
}
|
|
3021
3020
|
}, I = (N) => {
|
|
3022
|
-
if (N.which === 17 || N.which === 91) return
|
|
3023
|
-
},
|
|
3021
|
+
if (N.which === 17 || N.which === 91) return p = !1;
|
|
3022
|
+
}, L = (N) => {
|
|
3024
3023
|
N.preventDefault(), navigator.clipboard.readText().then((E) => {
|
|
3025
3024
|
if (E = E.replace(/(?!^\+|\d)./g, ""), w) {
|
|
3026
3025
|
let G = N.target.textContent.length;
|
|
@@ -3031,31 +3030,31 @@ function ka({
|
|
|
3031
3030
|
}).catch((E) => {
|
|
3032
3031
|
});
|
|
3033
3032
|
};
|
|
3034
|
-
const
|
|
3035
|
-
Z.Blur(N),
|
|
3033
|
+
const K = (N) => {
|
|
3034
|
+
Z.Blur(N), _ == null || _({ value: N.target.textContent, name: j });
|
|
3036
3035
|
};
|
|
3037
3036
|
let W = {};
|
|
3038
|
-
return d && i ? (W.edit = "true", W.contentEditable = Z.ContentEditable) : W.contentEditable = "false", W.inputMode = "decimal", n && (W.placeholder = n),
|
|
3037
|
+
return d && i ? (W.edit = "true", W.contentEditable = Z.ContentEditable) : W.contentEditable = "false", W.inputMode = "decimal", n && (W.placeholder = n), s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
3039
3038
|
he,
|
|
3040
3039
|
{
|
|
3041
3040
|
type: "numeric",
|
|
3042
3041
|
title: k,
|
|
3043
3042
|
error: C,
|
|
3044
|
-
element_blok: { className: [
|
|
3043
|
+
element_blok: { className: [l] },
|
|
3045
3044
|
element_input: { className: [Q.w] },
|
|
3046
3045
|
children: /* @__PURE__ */ f.jsx(
|
|
3047
3046
|
"div",
|
|
3048
3047
|
{
|
|
3049
|
-
onPaste:
|
|
3048
|
+
onPaste: L,
|
|
3050
3049
|
onInput: P,
|
|
3051
|
-
onBlur:
|
|
3052
|
-
onKeyDown:
|
|
3050
|
+
onBlur: K,
|
|
3051
|
+
onKeyDown: U,
|
|
3053
3052
|
onKeyUp: I,
|
|
3054
3053
|
spellCheck: "true",
|
|
3055
3054
|
contentEditable: d && i ? Z.ContentEditable : "false",
|
|
3056
3055
|
suppressContentEditableWarning: !0,
|
|
3057
3056
|
...W,
|
|
3058
|
-
children:
|
|
3057
|
+
children: y
|
|
3059
3058
|
}
|
|
3060
3059
|
)
|
|
3061
3060
|
}
|
|
@@ -3075,13 +3074,13 @@ var $t;
|
|
|
3075
3074
|
function vr() {
|
|
3076
3075
|
if ($t) return gt;
|
|
3077
3076
|
$t = 1;
|
|
3078
|
-
var a = R,
|
|
3079
|
-
function C(b,
|
|
3080
|
-
var n,
|
|
3081
|
-
|
|
3082
|
-
for (n in
|
|
3083
|
-
if (b && b.defaultProps) for (n in
|
|
3084
|
-
return { $$typeof:
|
|
3077
|
+
var a = R, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3078
|
+
function C(b, s, y) {
|
|
3079
|
+
var n, l = {}, w = null, j = null;
|
|
3080
|
+
y !== void 0 && (w = "" + y), s.key !== void 0 && (w = "" + s.key), s.ref !== void 0 && (j = s.ref);
|
|
3081
|
+
for (n in s) c.call(s, n) && !k.hasOwnProperty(n) && (l[n] = s[n]);
|
|
3082
|
+
if (b && b.defaultProps) for (n in s = b.defaultProps, s) l[n] === void 0 && (l[n] = s[n]);
|
|
3083
|
+
return { $$typeof: _, type: b, key: w, ref: j, props: l, _owner: d.current };
|
|
3085
3084
|
}
|
|
3086
3085
|
return gt.Fragment = i, gt.jsx = C, gt.jsxs = C, gt;
|
|
3087
3086
|
}
|
|
@@ -3098,24 +3097,24 @@ var kt = {};
|
|
|
3098
3097
|
var Bt;
|
|
3099
3098
|
function gr() {
|
|
3100
3099
|
return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3101
|
-
var a = R,
|
|
3100
|
+
var a = R, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), l = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, q = "@@iterator";
|
|
3102
3101
|
function D(e) {
|
|
3103
3102
|
if (e === null || typeof e != "object")
|
|
3104
3103
|
return null;
|
|
3105
|
-
var t = F && e[F] || e[
|
|
3104
|
+
var t = F && e[F] || e[q];
|
|
3106
3105
|
return typeof t == "function" ? t : null;
|
|
3107
3106
|
}
|
|
3108
3107
|
var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3109
|
-
function
|
|
3108
|
+
function p(e) {
|
|
3110
3109
|
{
|
|
3111
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
3112
|
-
r[
|
|
3110
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
3111
|
+
r[o - 1] = arguments[o];
|
|
3113
3112
|
P("error", e, r);
|
|
3114
3113
|
}
|
|
3115
3114
|
}
|
|
3116
3115
|
function P(e, t, r) {
|
|
3117
3116
|
{
|
|
3118
|
-
var
|
|
3117
|
+
var o = O.ReactDebugCurrentFrame, h = o.getStackAddendum();
|
|
3119
3118
|
h !== "" && (t += "%s", r = r.concat([h]));
|
|
3120
3119
|
var x = r.map(function(m) {
|
|
3121
3120
|
return String(m);
|
|
@@ -3123,19 +3122,19 @@ function gr() {
|
|
|
3123
3122
|
x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
|
|
3124
3123
|
}
|
|
3125
3124
|
}
|
|
3126
|
-
var
|
|
3125
|
+
var U = !1, I = !1, L = !1, K = !1, W = !1, N;
|
|
3127
3126
|
N = Symbol.for("react.module.reference");
|
|
3128
3127
|
function E(e) {
|
|
3129
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e ===
|
|
3128
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e === y || e === n || K || e === j || U || I || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === l || e.$$typeof === C || e.$$typeof === b || e.$$typeof === s || // This needs to include all possible module reference object
|
|
3130
3129
|
// types supported by any Flight configuration anywhere since
|
|
3131
3130
|
// we don't know which Flight build this will end up being used
|
|
3132
3131
|
// with.
|
|
3133
3132
|
e.$$typeof === N || e.getModuleId !== void 0));
|
|
3134
3133
|
}
|
|
3135
3134
|
function G(e, t, r) {
|
|
3136
|
-
var
|
|
3137
|
-
if (
|
|
3138
|
-
return
|
|
3135
|
+
var o = e.displayName;
|
|
3136
|
+
if (o)
|
|
3137
|
+
return o;
|
|
3139
3138
|
var h = t.displayName || t.name || "";
|
|
3140
3139
|
return h !== "" ? r + "(" + h + ")" : r;
|
|
3141
3140
|
}
|
|
@@ -3145,7 +3144,7 @@ function gr() {
|
|
|
3145
3144
|
function v(e) {
|
|
3146
3145
|
if (e == null)
|
|
3147
3146
|
return null;
|
|
3148
|
-
if (typeof e.tag == "number" &&
|
|
3147
|
+
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")
|
|
3149
3148
|
return e.displayName || e.name || null;
|
|
3150
3149
|
if (typeof e == "string")
|
|
3151
3150
|
return e;
|
|
@@ -3158,7 +3157,7 @@ function gr() {
|
|
|
3158
3157
|
return "Profiler";
|
|
3159
3158
|
case d:
|
|
3160
3159
|
return "StrictMode";
|
|
3161
|
-
case
|
|
3160
|
+
case y:
|
|
3162
3161
|
return "Suspense";
|
|
3163
3162
|
case n:
|
|
3164
3163
|
return "SuspenseList";
|
|
@@ -3171,11 +3170,11 @@ function gr() {
|
|
|
3171
3170
|
case C:
|
|
3172
3171
|
var r = e;
|
|
3173
3172
|
return g(r._context) + ".Provider";
|
|
3174
|
-
case l:
|
|
3175
|
-
return G(e, e.render, "ForwardRef");
|
|
3176
3173
|
case s:
|
|
3177
|
-
|
|
3178
|
-
|
|
3174
|
+
return G(e, e.render, "ForwardRef");
|
|
3175
|
+
case l:
|
|
3176
|
+
var o = e.displayName || null;
|
|
3177
|
+
return o !== null ? o : v(e.type) || "Memo";
|
|
3179
3178
|
case w: {
|
|
3180
3179
|
var h = e, x = h._payload, m = h._init;
|
|
3181
3180
|
try {
|
|
@@ -3187,14 +3186,14 @@ function gr() {
|
|
|
3187
3186
|
}
|
|
3188
3187
|
return null;
|
|
3189
3188
|
}
|
|
3190
|
-
var M = Object.assign,
|
|
3189
|
+
var M = Object.assign, $ = 0, te, H, ae, ke, le, we, xe;
|
|
3191
3190
|
function Ce() {
|
|
3192
3191
|
}
|
|
3193
3192
|
Ce.__reactDisabledLog = !0;
|
|
3194
3193
|
function Ue() {
|
|
3195
3194
|
{
|
|
3196
|
-
if (
|
|
3197
|
-
te = console.log, H = console.info, ae = console.warn, ke = console.error,
|
|
3195
|
+
if ($ === 0) {
|
|
3196
|
+
te = console.log, H = console.info, ae = console.warn, ke = console.error, le = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
3198
3197
|
var e = {
|
|
3199
3198
|
configurable: !0,
|
|
3200
3199
|
enumerable: !0,
|
|
@@ -3211,12 +3210,12 @@ function gr() {
|
|
|
3211
3210
|
groupEnd: e
|
|
3212
3211
|
});
|
|
3213
3212
|
}
|
|
3214
|
-
|
|
3213
|
+
$++;
|
|
3215
3214
|
}
|
|
3216
3215
|
}
|
|
3217
3216
|
function qe() {
|
|
3218
3217
|
{
|
|
3219
|
-
if (
|
|
3218
|
+
if ($--, $ === 0) {
|
|
3220
3219
|
var e = {
|
|
3221
3220
|
configurable: !0,
|
|
3222
3221
|
enumerable: !0,
|
|
@@ -3236,7 +3235,7 @@ function gr() {
|
|
|
3236
3235
|
value: ke
|
|
3237
3236
|
}),
|
|
3238
3237
|
group: M({}, e, {
|
|
3239
|
-
value:
|
|
3238
|
+
value: le
|
|
3240
3239
|
}),
|
|
3241
3240
|
groupCollapsed: M({}, e, {
|
|
3242
3241
|
value: we
|
|
@@ -3246,7 +3245,7 @@ function gr() {
|
|
|
3246
3245
|
})
|
|
3247
3246
|
});
|
|
3248
3247
|
}
|
|
3249
|
-
|
|
3248
|
+
$ < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3250
3249
|
}
|
|
3251
3250
|
}
|
|
3252
3251
|
var ce = O.ReactCurrentDispatcher, ue;
|
|
@@ -3256,8 +3255,8 @@ function gr() {
|
|
|
3256
3255
|
try {
|
|
3257
3256
|
throw Error();
|
|
3258
3257
|
} catch (h) {
|
|
3259
|
-
var
|
|
3260
|
-
ue =
|
|
3258
|
+
var o = h.stack.trim().match(/\n( *(at )?)/);
|
|
3259
|
+
ue = o && o[1] || "";
|
|
3261
3260
|
}
|
|
3262
3261
|
return `
|
|
3263
3262
|
` + ue + e;
|
|
@@ -3276,7 +3275,7 @@ function gr() {
|
|
|
3276
3275
|
if (r !== void 0)
|
|
3277
3276
|
return r;
|
|
3278
3277
|
}
|
|
3279
|
-
var
|
|
3278
|
+
var o;
|
|
3280
3279
|
de = !0;
|
|
3281
3280
|
var h = Error.prepareStackTrace;
|
|
3282
3281
|
Error.prepareStackTrace = void 0;
|
|
@@ -3294,30 +3293,30 @@ function gr() {
|
|
|
3294
3293
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
3295
3294
|
try {
|
|
3296
3295
|
Reflect.construct(m, []);
|
|
3297
|
-
} catch (
|
|
3298
|
-
|
|
3296
|
+
} catch (B) {
|
|
3297
|
+
o = B;
|
|
3299
3298
|
}
|
|
3300
3299
|
Reflect.construct(e, [], m);
|
|
3301
3300
|
} else {
|
|
3302
3301
|
try {
|
|
3303
3302
|
m.call();
|
|
3304
|
-
} catch (
|
|
3305
|
-
|
|
3303
|
+
} catch (B) {
|
|
3304
|
+
o = B;
|
|
3306
3305
|
}
|
|
3307
3306
|
e.call(m.prototype);
|
|
3308
3307
|
}
|
|
3309
3308
|
} else {
|
|
3310
3309
|
try {
|
|
3311
3310
|
throw Error();
|
|
3312
|
-
} catch (
|
|
3313
|
-
|
|
3311
|
+
} catch (B) {
|
|
3312
|
+
o = B;
|
|
3314
3313
|
}
|
|
3315
3314
|
e();
|
|
3316
3315
|
}
|
|
3317
|
-
} catch (
|
|
3318
|
-
if (
|
|
3319
|
-
for (var u =
|
|
3320
|
-
`), A =
|
|
3316
|
+
} catch (B) {
|
|
3317
|
+
if (B && o && typeof B.stack == "string") {
|
|
3318
|
+
for (var u = B.stack.split(`
|
|
3319
|
+
`), A = o.stack.split(`
|
|
3321
3320
|
`), S = u.length - 1, T = A.length - 1; S >= 1 && T >= 0 && u[S] !== A[T]; )
|
|
3322
3321
|
T--;
|
|
3323
3322
|
for (; S >= 1 && T >= 0; S--, T--)
|
|
@@ -3354,19 +3353,19 @@ function gr() {
|
|
|
3354
3353
|
if (typeof e == "string")
|
|
3355
3354
|
return ne(e);
|
|
3356
3355
|
switch (e) {
|
|
3357
|
-
case
|
|
3356
|
+
case y:
|
|
3358
3357
|
return ne("Suspense");
|
|
3359
3358
|
case n:
|
|
3360
3359
|
return ne("SuspenseList");
|
|
3361
3360
|
}
|
|
3362
3361
|
if (typeof e == "object")
|
|
3363
3362
|
switch (e.$$typeof) {
|
|
3364
|
-
case l:
|
|
3365
|
-
return Ge(e.render);
|
|
3366
3363
|
case s:
|
|
3364
|
+
return Ge(e.render);
|
|
3365
|
+
case l:
|
|
3367
3366
|
return _e(e.type, t, r);
|
|
3368
3367
|
case w: {
|
|
3369
|
-
var
|
|
3368
|
+
var o = e, h = o._payload, x = o._init;
|
|
3370
3369
|
try {
|
|
3371
3370
|
return _e(x(h), t, r);
|
|
3372
3371
|
} catch {
|
|
@@ -3383,7 +3382,7 @@ function gr() {
|
|
|
3383
3382
|
} else
|
|
3384
3383
|
Se.setExtraStackFrame(null);
|
|
3385
3384
|
}
|
|
3386
|
-
function ze(e, t, r,
|
|
3385
|
+
function ze(e, t, r, o, h) {
|
|
3387
3386
|
{
|
|
3388
3387
|
var x = Function.call.bind(ee);
|
|
3389
3388
|
for (var m in e)
|
|
@@ -3391,14 +3390,14 @@ function gr() {
|
|
|
3391
3390
|
var u = void 0;
|
|
3392
3391
|
try {
|
|
3393
3392
|
if (typeof e[m] != "function") {
|
|
3394
|
-
var A = Error((
|
|
3393
|
+
var A = Error((o || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3395
3394
|
throw A.name = "Invariant Violation", A;
|
|
3396
3395
|
}
|
|
3397
|
-
u = e[m](t, m,
|
|
3396
|
+
u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3398
3397
|
} catch (S) {
|
|
3399
3398
|
u = S;
|
|
3400
3399
|
}
|
|
3401
|
-
u && !(u instanceof Error) && (ie(h),
|
|
3400
|
+
u && !(u instanceof Error) && (ie(h), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), p("Failed %s type: %s", r, u.message), ie(null));
|
|
3402
3401
|
}
|
|
3403
3402
|
}
|
|
3404
3403
|
}
|
|
@@ -3424,7 +3423,7 @@ function gr() {
|
|
|
3424
3423
|
}
|
|
3425
3424
|
function Te(e) {
|
|
3426
3425
|
if (Ze(e))
|
|
3427
|
-
return
|
|
3426
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
|
|
3428
3427
|
}
|
|
3429
3428
|
var Oe = O.ReactCurrentOwner, Ve = {
|
|
3430
3429
|
key: !0,
|
|
@@ -3454,7 +3453,7 @@ function gr() {
|
|
|
3454
3453
|
function tt(e, t) {
|
|
3455
3454
|
{
|
|
3456
3455
|
var r = function() {
|
|
3457
|
-
De || (De = !0,
|
|
3456
|
+
De || (De = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
3458
3457
|
};
|
|
3459
3458
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
3460
3459
|
get: r,
|
|
@@ -3465,7 +3464,7 @@ function gr() {
|
|
|
3465
3464
|
function rt(e, t) {
|
|
3466
3465
|
{
|
|
3467
3466
|
var r = function() {
|
|
3468
|
-
Pe || (Pe = !0,
|
|
3467
|
+
Pe || (Pe = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
3469
3468
|
};
|
|
3470
3469
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
3471
3470
|
get: r,
|
|
@@ -3473,10 +3472,10 @@ function gr() {
|
|
|
3473
3472
|
});
|
|
3474
3473
|
}
|
|
3475
3474
|
}
|
|
3476
|
-
var at = function(e, t, r,
|
|
3475
|
+
var at = function(e, t, r, o, h, x, m) {
|
|
3477
3476
|
var u = {
|
|
3478
3477
|
// This tag allows us to uniquely identify this as a React Element
|
|
3479
|
-
$$typeof:
|
|
3478
|
+
$$typeof: _,
|
|
3480
3479
|
// Built-in properties that belong on the element
|
|
3481
3480
|
type: e,
|
|
3482
3481
|
key: t,
|
|
@@ -3494,7 +3493,7 @@ function gr() {
|
|
|
3494
3493
|
configurable: !1,
|
|
3495
3494
|
enumerable: !1,
|
|
3496
3495
|
writable: !1,
|
|
3497
|
-
value:
|
|
3496
|
+
value: o
|
|
3498
3497
|
}), Object.defineProperty(u, "_source", {
|
|
3499
3498
|
configurable: !1,
|
|
3500
3499
|
enumerable: !1,
|
|
@@ -3502,7 +3501,7 @@ function gr() {
|
|
|
3502
3501
|
value: h
|
|
3503
3502
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
3504
3503
|
};
|
|
3505
|
-
function nt(e, t, r,
|
|
3504
|
+
function nt(e, t, r, o, h) {
|
|
3506
3505
|
{
|
|
3507
3506
|
var x, m = {}, u = null, A = null;
|
|
3508
3507
|
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (A = t.ref, et(t));
|
|
@@ -3517,7 +3516,7 @@ function gr() {
|
|
|
3517
3516
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3518
3517
|
u && tt(m, T), A && rt(m, T);
|
|
3519
3518
|
}
|
|
3520
|
-
return at(e, u, A, h,
|
|
3519
|
+
return at(e, u, A, h, o, Oe.current, m);
|
|
3521
3520
|
}
|
|
3522
3521
|
}
|
|
3523
3522
|
var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
|
|
@@ -3531,7 +3530,7 @@ function gr() {
|
|
|
3531
3530
|
var pe;
|
|
3532
3531
|
pe = !1;
|
|
3533
3532
|
function ye(e) {
|
|
3534
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
3533
|
+
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
3535
3534
|
}
|
|
3536
3535
|
function Fe() {
|
|
3537
3536
|
{
|
|
@@ -3570,8 +3569,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3570
3569
|
if (Me[r])
|
|
3571
3570
|
return;
|
|
3572
3571
|
Me[r] = !0;
|
|
3573
|
-
var
|
|
3574
|
-
e && e._owner && e._owner !== me.current && (
|
|
3572
|
+
var o = "";
|
|
3573
|
+
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(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, o), V(null);
|
|
3575
3574
|
}
|
|
3576
3575
|
}
|
|
3577
3576
|
function Ae(e, t) {
|
|
@@ -3580,8 +3579,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3580
3579
|
return;
|
|
3581
3580
|
if (fe(e))
|
|
3582
3581
|
for (var r = 0; r < e.length; r++) {
|
|
3583
|
-
var
|
|
3584
|
-
ye(
|
|
3582
|
+
var o = e[r];
|
|
3583
|
+
ye(o) && Ie(o, t);
|
|
3585
3584
|
}
|
|
3586
3585
|
else if (ye(e))
|
|
3587
3586
|
e._store && (e._store.validated = !0);
|
|
@@ -3601,37 +3600,37 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3601
3600
|
var r;
|
|
3602
3601
|
if (typeof t == "function")
|
|
3603
3602
|
r = t.propTypes;
|
|
3604
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
3603
|
+
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
3605
3604
|
// Inner props are checked in the reconciler.
|
|
3606
|
-
t.$$typeof ===
|
|
3605
|
+
t.$$typeof === l))
|
|
3607
3606
|
r = t.propTypes;
|
|
3608
3607
|
else
|
|
3609
3608
|
return;
|
|
3610
3609
|
if (r) {
|
|
3611
|
-
var
|
|
3612
|
-
ze(r, e.props, "prop",
|
|
3610
|
+
var o = v(t);
|
|
3611
|
+
ze(r, e.props, "prop", o, e);
|
|
3613
3612
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3614
3613
|
pe = !0;
|
|
3615
3614
|
var h = v(t);
|
|
3616
|
-
|
|
3615
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
3617
3616
|
}
|
|
3618
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
3617
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3619
3618
|
}
|
|
3620
3619
|
}
|
|
3621
|
-
function
|
|
3620
|
+
function lt(e) {
|
|
3622
3621
|
{
|
|
3623
3622
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3624
|
-
var
|
|
3625
|
-
if (
|
|
3626
|
-
V(e),
|
|
3623
|
+
var o = t[r];
|
|
3624
|
+
if (o !== "children" && o !== "key") {
|
|
3625
|
+
V(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
|
|
3627
3626
|
break;
|
|
3628
3627
|
}
|
|
3629
3628
|
}
|
|
3630
|
-
e.ref !== null && (V(e),
|
|
3629
|
+
e.ref !== null && (V(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
3631
3630
|
}
|
|
3632
3631
|
}
|
|
3633
3632
|
var $e = {};
|
|
3634
|
-
function Be(e, t, r,
|
|
3633
|
+
function Be(e, t, r, o, h, x) {
|
|
3635
3634
|
{
|
|
3636
3635
|
var m = E(e);
|
|
3637
3636
|
if (!m) {
|
|
@@ -3640,7 +3639,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3640
3639
|
var A = ot();
|
|
3641
3640
|
A ? u += A : u += Fe();
|
|
3642
3641
|
var S;
|
|
3643
|
-
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof ===
|
|
3642
|
+
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === _ ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, u);
|
|
3644
3643
|
}
|
|
3645
3644
|
var T = nt(e, t, r, h, x);
|
|
3646
3645
|
if (T == null)
|
|
@@ -3648,23 +3647,23 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3648
3647
|
if (m) {
|
|
3649
3648
|
var Y = t.children;
|
|
3650
3649
|
if (Y !== void 0)
|
|
3651
|
-
if (
|
|
3650
|
+
if (o)
|
|
3652
3651
|
if (fe(Y)) {
|
|
3653
3652
|
for (var X = 0; X < Y.length; X++)
|
|
3654
3653
|
Ae(Y[X], e);
|
|
3655
3654
|
Object.freeze && Object.freeze(Y);
|
|
3656
3655
|
} else
|
|
3657
|
-
|
|
3656
|
+
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.");
|
|
3658
3657
|
else
|
|
3659
3658
|
Ae(Y, e);
|
|
3660
3659
|
}
|
|
3661
3660
|
if (ee.call(t, "key")) {
|
|
3662
|
-
var J = v(e),
|
|
3661
|
+
var J = v(e), B = Object.keys(t).filter(function(mt) {
|
|
3663
3662
|
return mt !== "key";
|
|
3664
|
-
}), ve =
|
|
3663
|
+
}), ve = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3665
3664
|
if (!$e[J + ve]) {
|
|
3666
|
-
var ft =
|
|
3667
|
-
|
|
3665
|
+
var ft = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
|
|
3666
|
+
p(`A props object containing a "key" prop is being spread into JSX:
|
|
3668
3667
|
let props = %s;
|
|
3669
3668
|
<%s {...props} />
|
|
3670
3669
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -3672,16 +3671,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3672
3671
|
<%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
|
|
3673
3672
|
}
|
|
3674
3673
|
}
|
|
3675
|
-
return e === c ?
|
|
3674
|
+
return e === c ? lt(T) : it(T), T;
|
|
3676
3675
|
}
|
|
3677
3676
|
}
|
|
3678
|
-
function
|
|
3677
|
+
function st(e, t, r) {
|
|
3679
3678
|
return Be(e, t, r, !0);
|
|
3680
3679
|
}
|
|
3681
3680
|
function ct(e, t, r) {
|
|
3682
3681
|
return Be(e, t, r, !1);
|
|
3683
3682
|
}
|
|
3684
|
-
var ut = ct, dt =
|
|
3683
|
+
var ut = ct, dt = st;
|
|
3685
3684
|
kt.Fragment = c, kt.jsx = ut, kt.jsxs = dt;
|
|
3686
3685
|
}()), kt;
|
|
3687
3686
|
}
|
|
@@ -3711,27 +3710,27 @@ const hr = "_shake_oqfdb_1", kr = "_modal_oqfdb_79", br = "_sa_oqfdb_89", wr = "
|
|
|
3711
3710
|
g: Br,
|
|
3712
3711
|
m: Lr
|
|
3713
3712
|
};
|
|
3714
|
-
function Wr({ children: a, className:
|
|
3713
|
+
function Wr({ children: a, className: _ }) {
|
|
3715
3714
|
return /* @__PURE__ */ z.jsx(
|
|
3716
3715
|
"div",
|
|
3717
3716
|
{
|
|
3718
|
-
className: [re.l,
|
|
3717
|
+
className: [re.l, _].filter((i) => i !== void 0).join(" "),
|
|
3719
3718
|
children: /* @__PURE__ */ z.jsx("ul", { children: a })
|
|
3720
3719
|
}
|
|
3721
3720
|
);
|
|
3722
3721
|
}
|
|
3723
|
-
function Ur({ children: a, className:
|
|
3722
|
+
function Ur({ children: a, className: _ }) {
|
|
3724
3723
|
return /* @__PURE__ */ z.jsx(
|
|
3725
3724
|
"div",
|
|
3726
3725
|
{
|
|
3727
|
-
className: [re.s,
|
|
3726
|
+
className: [re.s, _].filter((i) => i !== void 0).join(" "),
|
|
3728
3727
|
children: a
|
|
3729
3728
|
}
|
|
3730
3729
|
);
|
|
3731
3730
|
}
|
|
3732
3731
|
function qr({
|
|
3733
3732
|
children: a,
|
|
3734
|
-
direction:
|
|
3733
|
+
direction: _ = "column",
|
|
3735
3734
|
className: i
|
|
3736
3735
|
}) {
|
|
3737
3736
|
return /* @__PURE__ */ z.jsx(
|
|
@@ -3739,27 +3738,27 @@ function qr({
|
|
|
3739
3738
|
{
|
|
3740
3739
|
className: [
|
|
3741
3740
|
re.f,
|
|
3742
|
-
re[
|
|
3741
|
+
re[_ === "row" ? "r_" : "c_"],
|
|
3743
3742
|
i
|
|
3744
3743
|
].filter((c) => c !== void 0).join(" "),
|
|
3745
3744
|
children: a
|
|
3746
3745
|
}
|
|
3747
3746
|
);
|
|
3748
3747
|
}
|
|
3749
|
-
function Kr({ children: a, className:
|
|
3748
|
+
function Kr({ children: a, className: _ }) {
|
|
3750
3749
|
return /* @__PURE__ */ z.jsx(
|
|
3751
3750
|
"div",
|
|
3752
3751
|
{
|
|
3753
|
-
className: [re.c,
|
|
3752
|
+
className: [re.c, _].filter((i) => i !== void 0).join(" "),
|
|
3754
3753
|
children: a
|
|
3755
3754
|
}
|
|
3756
3755
|
);
|
|
3757
3756
|
}
|
|
3758
|
-
function Gr({ children: a, className:
|
|
3757
|
+
function Gr({ children: a, className: _ }) {
|
|
3759
3758
|
return /* @__PURE__ */ z.jsx(
|
|
3760
3759
|
"div",
|
|
3761
3760
|
{
|
|
3762
|
-
className: [re.g,
|
|
3761
|
+
className: [re.g, _].filter((i) => i !== void 0).join(" "),
|
|
3763
3762
|
children: a
|
|
3764
3763
|
}
|
|
3765
3764
|
);
|
|
@@ -3784,13 +3783,13 @@ var Wt;
|
|
|
3784
3783
|
function zr() {
|
|
3785
3784
|
if (Wt) return ht;
|
|
3786
3785
|
Wt = 1;
|
|
3787
|
-
var a = R,
|
|
3788
|
-
function C(b,
|
|
3789
|
-
var n,
|
|
3790
|
-
|
|
3791
|
-
for (n in
|
|
3792
|
-
if (b && b.defaultProps) for (n in
|
|
3793
|
-
return { $$typeof:
|
|
3786
|
+
var a = R, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3787
|
+
function C(b, s, y) {
|
|
3788
|
+
var n, l = {}, w = null, j = null;
|
|
3789
|
+
y !== void 0 && (w = "" + y), s.key !== void 0 && (w = "" + s.key), s.ref !== void 0 && (j = s.ref);
|
|
3790
|
+
for (n in s) c.call(s, n) && !k.hasOwnProperty(n) && (l[n] = s[n]);
|
|
3791
|
+
if (b && b.defaultProps) for (n in s = b.defaultProps, s) l[n] === void 0 && (l[n] = s[n]);
|
|
3792
|
+
return { $$typeof: _, type: b, key: w, ref: j, props: l, _owner: d.current };
|
|
3794
3793
|
}
|
|
3795
3794
|
return ht.Fragment = i, ht.jsx = C, ht.jsxs = C, ht;
|
|
3796
3795
|
}
|
|
@@ -3807,24 +3806,24 @@ var bt = {};
|
|
|
3807
3806
|
var Ut;
|
|
3808
3807
|
function Hr() {
|
|
3809
3808
|
return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3810
|
-
var a = R,
|
|
3809
|
+
var a = R, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), l = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, q = "@@iterator";
|
|
3811
3810
|
function D(e) {
|
|
3812
3811
|
if (e === null || typeof e != "object")
|
|
3813
3812
|
return null;
|
|
3814
|
-
var t = F && e[F] || e[
|
|
3813
|
+
var t = F && e[F] || e[q];
|
|
3815
3814
|
return typeof t == "function" ? t : null;
|
|
3816
3815
|
}
|
|
3817
3816
|
var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3818
|
-
function
|
|
3817
|
+
function p(e) {
|
|
3819
3818
|
{
|
|
3820
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
3821
|
-
r[
|
|
3819
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
3820
|
+
r[o - 1] = arguments[o];
|
|
3822
3821
|
P("error", e, r);
|
|
3823
3822
|
}
|
|
3824
3823
|
}
|
|
3825
3824
|
function P(e, t, r) {
|
|
3826
3825
|
{
|
|
3827
|
-
var
|
|
3826
|
+
var o = O.ReactDebugCurrentFrame, h = o.getStackAddendum();
|
|
3828
3827
|
h !== "" && (t += "%s", r = r.concat([h]));
|
|
3829
3828
|
var x = r.map(function(m) {
|
|
3830
3829
|
return String(m);
|
|
@@ -3832,19 +3831,19 @@ function Hr() {
|
|
|
3832
3831
|
x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
|
|
3833
3832
|
}
|
|
3834
3833
|
}
|
|
3835
|
-
var
|
|
3834
|
+
var U = !1, I = !1, L = !1, K = !1, W = !1, N;
|
|
3836
3835
|
N = Symbol.for("react.module.reference");
|
|
3837
3836
|
function E(e) {
|
|
3838
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e ===
|
|
3837
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e === y || e === n || K || e === j || U || I || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === l || e.$$typeof === C || e.$$typeof === b || e.$$typeof === s || // This needs to include all possible module reference object
|
|
3839
3838
|
// types supported by any Flight configuration anywhere since
|
|
3840
3839
|
// we don't know which Flight build this will end up being used
|
|
3841
3840
|
// with.
|
|
3842
3841
|
e.$$typeof === N || e.getModuleId !== void 0));
|
|
3843
3842
|
}
|
|
3844
3843
|
function G(e, t, r) {
|
|
3845
|
-
var
|
|
3846
|
-
if (
|
|
3847
|
-
return
|
|
3844
|
+
var o = e.displayName;
|
|
3845
|
+
if (o)
|
|
3846
|
+
return o;
|
|
3848
3847
|
var h = t.displayName || t.name || "";
|
|
3849
3848
|
return h !== "" ? r + "(" + h + ")" : r;
|
|
3850
3849
|
}
|
|
@@ -3854,7 +3853,7 @@ function Hr() {
|
|
|
3854
3853
|
function v(e) {
|
|
3855
3854
|
if (e == null)
|
|
3856
3855
|
return null;
|
|
3857
|
-
if (typeof e.tag == "number" &&
|
|
3856
|
+
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")
|
|
3858
3857
|
return e.displayName || e.name || null;
|
|
3859
3858
|
if (typeof e == "string")
|
|
3860
3859
|
return e;
|
|
@@ -3867,7 +3866,7 @@ function Hr() {
|
|
|
3867
3866
|
return "Profiler";
|
|
3868
3867
|
case d:
|
|
3869
3868
|
return "StrictMode";
|
|
3870
|
-
case
|
|
3869
|
+
case y:
|
|
3871
3870
|
return "Suspense";
|
|
3872
3871
|
case n:
|
|
3873
3872
|
return "SuspenseList";
|
|
@@ -3880,11 +3879,11 @@ function Hr() {
|
|
|
3880
3879
|
case C:
|
|
3881
3880
|
var r = e;
|
|
3882
3881
|
return g(r._context) + ".Provider";
|
|
3883
|
-
case l:
|
|
3884
|
-
return G(e, e.render, "ForwardRef");
|
|
3885
3882
|
case s:
|
|
3886
|
-
|
|
3887
|
-
|
|
3883
|
+
return G(e, e.render, "ForwardRef");
|
|
3884
|
+
case l:
|
|
3885
|
+
var o = e.displayName || null;
|
|
3886
|
+
return o !== null ? o : v(e.type) || "Memo";
|
|
3888
3887
|
case w: {
|
|
3889
3888
|
var h = e, x = h._payload, m = h._init;
|
|
3890
3889
|
try {
|
|
@@ -3896,14 +3895,14 @@ function Hr() {
|
|
|
3896
3895
|
}
|
|
3897
3896
|
return null;
|
|
3898
3897
|
}
|
|
3899
|
-
var M = Object.assign,
|
|
3898
|
+
var M = Object.assign, $ = 0, te, H, ae, ke, le, we, xe;
|
|
3900
3899
|
function Ce() {
|
|
3901
3900
|
}
|
|
3902
3901
|
Ce.__reactDisabledLog = !0;
|
|
3903
3902
|
function Ue() {
|
|
3904
3903
|
{
|
|
3905
|
-
if (
|
|
3906
|
-
te = console.log, H = console.info, ae = console.warn, ke = console.error,
|
|
3904
|
+
if ($ === 0) {
|
|
3905
|
+
te = console.log, H = console.info, ae = console.warn, ke = console.error, le = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
3907
3906
|
var e = {
|
|
3908
3907
|
configurable: !0,
|
|
3909
3908
|
enumerable: !0,
|
|
@@ -3920,12 +3919,12 @@ function Hr() {
|
|
|
3920
3919
|
groupEnd: e
|
|
3921
3920
|
});
|
|
3922
3921
|
}
|
|
3923
|
-
|
|
3922
|
+
$++;
|
|
3924
3923
|
}
|
|
3925
3924
|
}
|
|
3926
3925
|
function qe() {
|
|
3927
3926
|
{
|
|
3928
|
-
if (
|
|
3927
|
+
if ($--, $ === 0) {
|
|
3929
3928
|
var e = {
|
|
3930
3929
|
configurable: !0,
|
|
3931
3930
|
enumerable: !0,
|
|
@@ -3945,7 +3944,7 @@ function Hr() {
|
|
|
3945
3944
|
value: ke
|
|
3946
3945
|
}),
|
|
3947
3946
|
group: M({}, e, {
|
|
3948
|
-
value:
|
|
3947
|
+
value: le
|
|
3949
3948
|
}),
|
|
3950
3949
|
groupCollapsed: M({}, e, {
|
|
3951
3950
|
value: we
|
|
@@ -3955,7 +3954,7 @@ function Hr() {
|
|
|
3955
3954
|
})
|
|
3956
3955
|
});
|
|
3957
3956
|
}
|
|
3958
|
-
|
|
3957
|
+
$ < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3959
3958
|
}
|
|
3960
3959
|
}
|
|
3961
3960
|
var ce = O.ReactCurrentDispatcher, ue;
|
|
@@ -3965,8 +3964,8 @@ function Hr() {
|
|
|
3965
3964
|
try {
|
|
3966
3965
|
throw Error();
|
|
3967
3966
|
} catch (h) {
|
|
3968
|
-
var
|
|
3969
|
-
ue =
|
|
3967
|
+
var o = h.stack.trim().match(/\n( *(at )?)/);
|
|
3968
|
+
ue = o && o[1] || "";
|
|
3970
3969
|
}
|
|
3971
3970
|
return `
|
|
3972
3971
|
` + ue + e;
|
|
@@ -3985,7 +3984,7 @@ function Hr() {
|
|
|
3985
3984
|
if (r !== void 0)
|
|
3986
3985
|
return r;
|
|
3987
3986
|
}
|
|
3988
|
-
var
|
|
3987
|
+
var o;
|
|
3989
3988
|
de = !0;
|
|
3990
3989
|
var h = Error.prepareStackTrace;
|
|
3991
3990
|
Error.prepareStackTrace = void 0;
|
|
@@ -4003,30 +4002,30 @@ function Hr() {
|
|
|
4003
4002
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
4004
4003
|
try {
|
|
4005
4004
|
Reflect.construct(m, []);
|
|
4006
|
-
} catch (
|
|
4007
|
-
|
|
4005
|
+
} catch (B) {
|
|
4006
|
+
o = B;
|
|
4008
4007
|
}
|
|
4009
4008
|
Reflect.construct(e, [], m);
|
|
4010
4009
|
} else {
|
|
4011
4010
|
try {
|
|
4012
4011
|
m.call();
|
|
4013
|
-
} catch (
|
|
4014
|
-
|
|
4012
|
+
} catch (B) {
|
|
4013
|
+
o = B;
|
|
4015
4014
|
}
|
|
4016
4015
|
e.call(m.prototype);
|
|
4017
4016
|
}
|
|
4018
4017
|
} else {
|
|
4019
4018
|
try {
|
|
4020
4019
|
throw Error();
|
|
4021
|
-
} catch (
|
|
4022
|
-
|
|
4020
|
+
} catch (B) {
|
|
4021
|
+
o = B;
|
|
4023
4022
|
}
|
|
4024
4023
|
e();
|
|
4025
4024
|
}
|
|
4026
|
-
} catch (
|
|
4027
|
-
if (
|
|
4028
|
-
for (var u =
|
|
4029
|
-
`), A =
|
|
4025
|
+
} catch (B) {
|
|
4026
|
+
if (B && o && typeof B.stack == "string") {
|
|
4027
|
+
for (var u = B.stack.split(`
|
|
4028
|
+
`), A = o.stack.split(`
|
|
4030
4029
|
`), S = u.length - 1, T = A.length - 1; S >= 1 && T >= 0 && u[S] !== A[T]; )
|
|
4031
4030
|
T--;
|
|
4032
4031
|
for (; S >= 1 && T >= 0; S--, T--)
|
|
@@ -4063,19 +4062,19 @@ function Hr() {
|
|
|
4063
4062
|
if (typeof e == "string")
|
|
4064
4063
|
return ne(e);
|
|
4065
4064
|
switch (e) {
|
|
4066
|
-
case
|
|
4065
|
+
case y:
|
|
4067
4066
|
return ne("Suspense");
|
|
4068
4067
|
case n:
|
|
4069
4068
|
return ne("SuspenseList");
|
|
4070
4069
|
}
|
|
4071
4070
|
if (typeof e == "object")
|
|
4072
4071
|
switch (e.$$typeof) {
|
|
4073
|
-
case l:
|
|
4074
|
-
return Ge(e.render);
|
|
4075
4072
|
case s:
|
|
4073
|
+
return Ge(e.render);
|
|
4074
|
+
case l:
|
|
4076
4075
|
return _e(e.type, t, r);
|
|
4077
4076
|
case w: {
|
|
4078
|
-
var
|
|
4077
|
+
var o = e, h = o._payload, x = o._init;
|
|
4079
4078
|
try {
|
|
4080
4079
|
return _e(x(h), t, r);
|
|
4081
4080
|
} catch {
|
|
@@ -4092,7 +4091,7 @@ function Hr() {
|
|
|
4092
4091
|
} else
|
|
4093
4092
|
Se.setExtraStackFrame(null);
|
|
4094
4093
|
}
|
|
4095
|
-
function ze(e, t, r,
|
|
4094
|
+
function ze(e, t, r, o, h) {
|
|
4096
4095
|
{
|
|
4097
4096
|
var x = Function.call.bind(ee);
|
|
4098
4097
|
for (var m in e)
|
|
@@ -4100,14 +4099,14 @@ function Hr() {
|
|
|
4100
4099
|
var u = void 0;
|
|
4101
4100
|
try {
|
|
4102
4101
|
if (typeof e[m] != "function") {
|
|
4103
|
-
var A = Error((
|
|
4102
|
+
var A = Error((o || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
4104
4103
|
throw A.name = "Invariant Violation", A;
|
|
4105
4104
|
}
|
|
4106
|
-
u = e[m](t, m,
|
|
4105
|
+
u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4107
4106
|
} catch (S) {
|
|
4108
4107
|
u = S;
|
|
4109
4108
|
}
|
|
4110
|
-
u && !(u instanceof Error) && (ie(h),
|
|
4109
|
+
u && !(u instanceof Error) && (ie(h), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), p("Failed %s type: %s", r, u.message), ie(null));
|
|
4111
4110
|
}
|
|
4112
4111
|
}
|
|
4113
4112
|
}
|
|
@@ -4133,7 +4132,7 @@ function Hr() {
|
|
|
4133
4132
|
}
|
|
4134
4133
|
function Te(e) {
|
|
4135
4134
|
if (Ze(e))
|
|
4136
|
-
return
|
|
4135
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
|
|
4137
4136
|
}
|
|
4138
4137
|
var Oe = O.ReactCurrentOwner, Ve = {
|
|
4139
4138
|
key: !0,
|
|
@@ -4163,7 +4162,7 @@ function Hr() {
|
|
|
4163
4162
|
function tt(e, t) {
|
|
4164
4163
|
{
|
|
4165
4164
|
var r = function() {
|
|
4166
|
-
De || (De = !0,
|
|
4165
|
+
De || (De = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
4167
4166
|
};
|
|
4168
4167
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
4169
4168
|
get: r,
|
|
@@ -4174,7 +4173,7 @@ function Hr() {
|
|
|
4174
4173
|
function rt(e, t) {
|
|
4175
4174
|
{
|
|
4176
4175
|
var r = function() {
|
|
4177
|
-
Pe || (Pe = !0,
|
|
4176
|
+
Pe || (Pe = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
4178
4177
|
};
|
|
4179
4178
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
4180
4179
|
get: r,
|
|
@@ -4182,10 +4181,10 @@ function Hr() {
|
|
|
4182
4181
|
});
|
|
4183
4182
|
}
|
|
4184
4183
|
}
|
|
4185
|
-
var at = function(e, t, r,
|
|
4184
|
+
var at = function(e, t, r, o, h, x, m) {
|
|
4186
4185
|
var u = {
|
|
4187
4186
|
// This tag allows us to uniquely identify this as a React Element
|
|
4188
|
-
$$typeof:
|
|
4187
|
+
$$typeof: _,
|
|
4189
4188
|
// Built-in properties that belong on the element
|
|
4190
4189
|
type: e,
|
|
4191
4190
|
key: t,
|
|
@@ -4203,7 +4202,7 @@ function Hr() {
|
|
|
4203
4202
|
configurable: !1,
|
|
4204
4203
|
enumerable: !1,
|
|
4205
4204
|
writable: !1,
|
|
4206
|
-
value:
|
|
4205
|
+
value: o
|
|
4207
4206
|
}), Object.defineProperty(u, "_source", {
|
|
4208
4207
|
configurable: !1,
|
|
4209
4208
|
enumerable: !1,
|
|
@@ -4211,7 +4210,7 @@ function Hr() {
|
|
|
4211
4210
|
value: h
|
|
4212
4211
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
4213
4212
|
};
|
|
4214
|
-
function nt(e, t, r,
|
|
4213
|
+
function nt(e, t, r, o, h) {
|
|
4215
4214
|
{
|
|
4216
4215
|
var x, m = {}, u = null, A = null;
|
|
4217
4216
|
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (A = t.ref, et(t));
|
|
@@ -4226,7 +4225,7 @@ function Hr() {
|
|
|
4226
4225
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
4227
4226
|
u && tt(m, T), A && rt(m, T);
|
|
4228
4227
|
}
|
|
4229
|
-
return at(e, u, A, h,
|
|
4228
|
+
return at(e, u, A, h, o, Oe.current, m);
|
|
4230
4229
|
}
|
|
4231
4230
|
}
|
|
4232
4231
|
var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
|
|
@@ -4240,7 +4239,7 @@ function Hr() {
|
|
|
4240
4239
|
var pe;
|
|
4241
4240
|
pe = !1;
|
|
4242
4241
|
function ye(e) {
|
|
4243
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
4242
|
+
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
4244
4243
|
}
|
|
4245
4244
|
function Fe() {
|
|
4246
4245
|
{
|
|
@@ -4279,8 +4278,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4279
4278
|
if (Me[r])
|
|
4280
4279
|
return;
|
|
4281
4280
|
Me[r] = !0;
|
|
4282
|
-
var
|
|
4283
|
-
e && e._owner && e._owner !== me.current && (
|
|
4281
|
+
var o = "";
|
|
4282
|
+
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(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, o), V(null);
|
|
4284
4283
|
}
|
|
4285
4284
|
}
|
|
4286
4285
|
function Ae(e, t) {
|
|
@@ -4289,8 +4288,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4289
4288
|
return;
|
|
4290
4289
|
if (fe(e))
|
|
4291
4290
|
for (var r = 0; r < e.length; r++) {
|
|
4292
|
-
var
|
|
4293
|
-
ye(
|
|
4291
|
+
var o = e[r];
|
|
4292
|
+
ye(o) && Ie(o, t);
|
|
4294
4293
|
}
|
|
4295
4294
|
else if (ye(e))
|
|
4296
4295
|
e._store && (e._store.validated = !0);
|
|
@@ -4310,37 +4309,37 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4310
4309
|
var r;
|
|
4311
4310
|
if (typeof t == "function")
|
|
4312
4311
|
r = t.propTypes;
|
|
4313
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
4312
|
+
else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
|
|
4314
4313
|
// Inner props are checked in the reconciler.
|
|
4315
|
-
t.$$typeof ===
|
|
4314
|
+
t.$$typeof === l))
|
|
4316
4315
|
r = t.propTypes;
|
|
4317
4316
|
else
|
|
4318
4317
|
return;
|
|
4319
4318
|
if (r) {
|
|
4320
|
-
var
|
|
4321
|
-
ze(r, e.props, "prop",
|
|
4319
|
+
var o = v(t);
|
|
4320
|
+
ze(r, e.props, "prop", o, e);
|
|
4322
4321
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
4323
4322
|
pe = !0;
|
|
4324
4323
|
var h = v(t);
|
|
4325
|
-
|
|
4324
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
4326
4325
|
}
|
|
4327
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
4326
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
4328
4327
|
}
|
|
4329
4328
|
}
|
|
4330
|
-
function
|
|
4329
|
+
function lt(e) {
|
|
4331
4330
|
{
|
|
4332
4331
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
4333
|
-
var
|
|
4334
|
-
if (
|
|
4335
|
-
V(e),
|
|
4332
|
+
var o = t[r];
|
|
4333
|
+
if (o !== "children" && o !== "key") {
|
|
4334
|
+
V(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
|
|
4336
4335
|
break;
|
|
4337
4336
|
}
|
|
4338
4337
|
}
|
|
4339
|
-
e.ref !== null && (V(e),
|
|
4338
|
+
e.ref !== null && (V(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
4340
4339
|
}
|
|
4341
4340
|
}
|
|
4342
4341
|
var $e = {};
|
|
4343
|
-
function Be(e, t, r,
|
|
4342
|
+
function Be(e, t, r, o, h, x) {
|
|
4344
4343
|
{
|
|
4345
4344
|
var m = E(e);
|
|
4346
4345
|
if (!m) {
|
|
@@ -4349,7 +4348,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4349
4348
|
var A = ot();
|
|
4350
4349
|
A ? u += A : u += Fe();
|
|
4351
4350
|
var S;
|
|
4352
|
-
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof ===
|
|
4351
|
+
e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === _ ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, u);
|
|
4353
4352
|
}
|
|
4354
4353
|
var T = nt(e, t, r, h, x);
|
|
4355
4354
|
if (T == null)
|
|
@@ -4357,23 +4356,23 @@ Check the top-level render call using <` + r + ">.");
|
|
|
4357
4356
|
if (m) {
|
|
4358
4357
|
var Y = t.children;
|
|
4359
4358
|
if (Y !== void 0)
|
|
4360
|
-
if (
|
|
4359
|
+
if (o)
|
|
4361
4360
|
if (fe(Y)) {
|
|
4362
4361
|
for (var X = 0; X < Y.length; X++)
|
|
4363
4362
|
Ae(Y[X], e);
|
|
4364
4363
|
Object.freeze && Object.freeze(Y);
|
|
4365
4364
|
} else
|
|
4366
|
-
|
|
4365
|
+
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.");
|
|
4367
4366
|
else
|
|
4368
4367
|
Ae(Y, e);
|
|
4369
4368
|
}
|
|
4370
4369
|
if (ee.call(t, "key")) {
|
|
4371
|
-
var J = v(e),
|
|
4370
|
+
var J = v(e), B = Object.keys(t).filter(function(mt) {
|
|
4372
4371
|
return mt !== "key";
|
|
4373
|
-
}), ve =
|
|
4372
|
+
}), ve = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
4374
4373
|
if (!$e[J + ve]) {
|
|
4375
|
-
var ft =
|
|
4376
|
-
|
|
4374
|
+
var ft = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
|
|
4375
|
+
p(`A props object containing a "key" prop is being spread into JSX:
|
|
4377
4376
|
let props = %s;
|
|
4378
4377
|
<%s {...props} />
|
|
4379
4378
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -4381,16 +4380,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
4381
4380
|
<%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
|
|
4382
4381
|
}
|
|
4383
4382
|
}
|
|
4384
|
-
return e === c ?
|
|
4383
|
+
return e === c ? lt(T) : it(T), T;
|
|
4385
4384
|
}
|
|
4386
4385
|
}
|
|
4387
|
-
function
|
|
4386
|
+
function st(e, t, r) {
|
|
4388
4387
|
return Be(e, t, r, !0);
|
|
4389
4388
|
}
|
|
4390
4389
|
function ct(e, t, r) {
|
|
4391
4390
|
return Be(e, t, r, !1);
|
|
4392
4391
|
}
|
|
4393
|
-
var ut = ct, dt =
|
|
4392
|
+
var ut = ct, dt = st;
|
|
4394
4393
|
bt.Fragment = c, bt.jsx = ut, bt.jsxs = dt;
|
|
4395
4394
|
}()), bt;
|
|
4396
4395
|
}
|
|
@@ -4407,28 +4406,28 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
|
|
|
4407
4406
|
l: ta
|
|
4408
4407
|
}, ra = ({
|
|
4409
4408
|
onClick: a,
|
|
4410
|
-
onSend:
|
|
4409
|
+
onSend: _,
|
|
4411
4410
|
size: i = "m",
|
|
4412
4411
|
view: c = "confirm",
|
|
4413
4412
|
children: d,
|
|
4414
4413
|
isDisabled: k = !1,
|
|
4415
4414
|
className: C,
|
|
4416
4415
|
after: b,
|
|
4417
|
-
before:
|
|
4418
|
-
label:
|
|
4416
|
+
before: s,
|
|
4417
|
+
label: y,
|
|
4419
4418
|
onRef: n,
|
|
4420
|
-
awaitText:
|
|
4419
|
+
awaitText: l = "Ожидайте"
|
|
4421
4420
|
}) => {
|
|
4422
4421
|
let [w, j] = R.useState(!1);
|
|
4423
4422
|
const F = (D) => {
|
|
4424
4423
|
if (a) return a();
|
|
4425
|
-
w || (
|
|
4424
|
+
w || (_ ? (j(!0), _(j)) : D.preventDefault());
|
|
4426
4425
|
};
|
|
4427
|
-
let
|
|
4428
|
-
return (k || w) && (
|
|
4426
|
+
let q = {};
|
|
4427
|
+
return (k || w) && (q.disabled = !0), /* @__PURE__ */ St.jsx(
|
|
4429
4428
|
"button",
|
|
4430
4429
|
{
|
|
4431
|
-
...
|
|
4430
|
+
...q,
|
|
4432
4431
|
ref: n,
|
|
4433
4432
|
className: [
|
|
4434
4433
|
wt.btn,
|
|
@@ -4437,10 +4436,10 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
|
|
|
4437
4436
|
C
|
|
4438
4437
|
].filter((D) => D != "").join(" "),
|
|
4439
4438
|
onClick: F,
|
|
4440
|
-
children: w ?
|
|
4441
|
-
|
|
4439
|
+
children: w ? l : /* @__PURE__ */ St.jsxs(St.Fragment, { children: [
|
|
4440
|
+
s || "",
|
|
4442
4441
|
" ",
|
|
4443
|
-
|
|
4442
|
+
y,
|
|
4444
4443
|
" ",
|
|
4445
4444
|
b || ""
|
|
4446
4445
|
] }) || d
|
|
@@ -4453,44 +4452,44 @@ function aa({ children: a }) {
|
|
|
4453
4452
|
}
|
|
4454
4453
|
var jt;
|
|
4455
4454
|
((a) => {
|
|
4456
|
-
function
|
|
4455
|
+
function _({
|
|
4457
4456
|
import_modules: n
|
|
4458
4457
|
}) {
|
|
4459
|
-
let [
|
|
4458
|
+
let [l, w] = R.useState([]);
|
|
4460
4459
|
return ge.x = (j) => {
|
|
4461
|
-
w(j ?
|
|
4460
|
+
w(j ? l.filter((F) => F.key !== j) : []);
|
|
4462
4461
|
}, Kt(() => {
|
|
4463
4462
|
n && (ge.i = n);
|
|
4464
4463
|
}, []), ge.add = (j, F = Date.now()) => {
|
|
4465
|
-
w([...
|
|
4466
|
-
}, /* @__PURE__ */ z.jsx(z.Fragment, { children:
|
|
4464
|
+
w([...l, { key: F, item: j }]);
|
|
4465
|
+
}, /* @__PURE__ */ z.jsx(z.Fragment, { children: l.map((j) => j.item) });
|
|
4467
4466
|
}
|
|
4468
|
-
a.Init =
|
|
4467
|
+
a.Init = _;
|
|
4469
4468
|
function i(n) {
|
|
4470
4469
|
return n && (ge.i = n), ge.i;
|
|
4471
4470
|
}
|
|
4472
4471
|
a.Import = i, a.List = Wr, a.Scroll = Ur, a.Form = qr, a.Center = Kr, a.Column = Gr;
|
|
4473
|
-
function c(n,
|
|
4474
|
-
ge.i ? ge.i(`${n}/modal/${
|
|
4472
|
+
function c(n, l, w) {
|
|
4473
|
+
ge.i ? ge.i(`${n}/modal/${l}.tsx`).then((j) => {
|
|
4475
4474
|
j.default.Open(w);
|
|
4476
|
-
}) : Lt()(`${n}/modal/${
|
|
4475
|
+
}) : Lt()(`${n}/modal/${l}.tsx`).then((j) => {
|
|
4477
4476
|
j.default.Open(w);
|
|
4478
4477
|
});
|
|
4479
4478
|
}
|
|
4480
4479
|
a.Open = c;
|
|
4481
|
-
function d({ type: n, name:
|
|
4480
|
+
function d({ type: n, name: l, params: w }) {
|
|
4482
4481
|
let [j, F] = R.useState(null);
|
|
4483
4482
|
return R.useEffect(() => {
|
|
4484
|
-
ge.i ? ge.i(`${n}/modal/${
|
|
4485
|
-
F(
|
|
4486
|
-
}) : Lt()(`${n}/modal/${
|
|
4487
|
-
F(
|
|
4483
|
+
ge.i ? ge.i(`${n}/modal/${l}.tsx`).then((q) => {
|
|
4484
|
+
F(q.default.Icon(w));
|
|
4485
|
+
}) : Lt()(`${n}/modal/${l}.tsx`).then((q) => {
|
|
4486
|
+
F(q.default.Icon(w));
|
|
4488
4487
|
});
|
|
4489
4488
|
}, [w.id]), /* @__PURE__ */ z.jsx(z.Fragment, { children: j });
|
|
4490
4489
|
}
|
|
4491
4490
|
a.Icon = d;
|
|
4492
|
-
function k(n,
|
|
4493
|
-
ge.add(/* @__PURE__ */ z.jsx(aa, { children: n }, String(Date.now())),
|
|
4491
|
+
function k(n, l) {
|
|
4492
|
+
ge.add(/* @__PURE__ */ z.jsx(aa, { children: n }, String(Date.now())), l);
|
|
4494
4493
|
}
|
|
4495
4494
|
a.Add = k;
|
|
4496
4495
|
function C(n) {
|
|
@@ -4499,67 +4498,67 @@ var jt;
|
|
|
4499
4498
|
a.Close = C;
|
|
4500
4499
|
function b(n) {
|
|
4501
4500
|
if (n.target.classList[0] !== "modal") return;
|
|
4502
|
-
let
|
|
4503
|
-
|
|
4504
|
-
|
|
4501
|
+
let l = n.target.children[0];
|
|
4502
|
+
l.setAttribute("shake", !0), setTimeout(() => {
|
|
4503
|
+
l.setAttribute("shake", !1);
|
|
4505
4504
|
}, 1e3);
|
|
4506
4505
|
}
|
|
4507
4506
|
a.Shake = b;
|
|
4508
|
-
function
|
|
4507
|
+
function s(n, l) {
|
|
4509
4508
|
const w = (j) => {
|
|
4510
4509
|
a.Add(
|
|
4511
4510
|
/* @__PURE__ */ z.jsx(n, { ...j }, (/* @__PURE__ */ new Date()).getTime())
|
|
4512
4511
|
);
|
|
4513
4512
|
};
|
|
4514
4513
|
return {
|
|
4515
|
-
Icon: (j) => /* @__PURE__ */ z.jsx("i", { onClick: () => w(j), children:
|
|
4514
|
+
Icon: (j) => /* @__PURE__ */ z.jsx("i", { onClick: () => w(j), children: l && /* @__PURE__ */ z.jsx(l, {}) }),
|
|
4516
4515
|
Open: w
|
|
4517
4516
|
};
|
|
4518
4517
|
}
|
|
4519
|
-
a.Create =
|
|
4520
|
-
function
|
|
4518
|
+
a.Create = s;
|
|
4519
|
+
function y({
|
|
4521
4520
|
title: n,
|
|
4522
|
-
children:
|
|
4521
|
+
children: l,
|
|
4523
4522
|
button: w,
|
|
4524
4523
|
tabs: j,
|
|
4525
4524
|
size: F = "m",
|
|
4526
|
-
className:
|
|
4525
|
+
className: q = "",
|
|
4527
4526
|
shake: D = !0,
|
|
4528
4527
|
menu: O
|
|
4529
4528
|
}) {
|
|
4530
|
-
const [
|
|
4529
|
+
const [p, P] = R.useState(!0), U = R.useRef(), I = (K) => {
|
|
4531
4530
|
if (w) {
|
|
4532
4531
|
if (w.onClick)
|
|
4533
|
-
return
|
|
4532
|
+
return K(!1), w.onClick({ setOpen: P });
|
|
4534
4533
|
if (w.onSend)
|
|
4535
4534
|
return w.onSend({
|
|
4536
4535
|
setOpen: P,
|
|
4537
|
-
disabled:
|
|
4536
|
+
disabled: K
|
|
4538
4537
|
});
|
|
4539
4538
|
}
|
|
4540
|
-
},
|
|
4539
|
+
}, L = () => {
|
|
4541
4540
|
if (!D) return P(!1);
|
|
4542
|
-
|
|
4543
|
-
|
|
4541
|
+
U.current.setAttribute("shake", !0), setTimeout(() => {
|
|
4542
|
+
U.current.setAttribute("shake", !1);
|
|
4544
4543
|
}, 1e3);
|
|
4545
4544
|
};
|
|
4546
|
-
return
|
|
4547
|
-
/* @__PURE__ */ z.jsx("div", { className: re.o, onClick:
|
|
4545
|
+
return p ? /* @__PURE__ */ z.jsxs("div", { className: `${re.modal}`, children: [
|
|
4546
|
+
/* @__PURE__ */ z.jsx("div", { className: re.o, onClick: L }),
|
|
4548
4547
|
/* @__PURE__ */ z.jsxs(
|
|
4549
4548
|
"div",
|
|
4550
4549
|
{
|
|
4551
|
-
className: [re.w, re[`s${F}`],
|
|
4552
|
-
ref:
|
|
4550
|
+
className: [re.w, re[`s${F}`], q].filter((K) => K != "").join(" "),
|
|
4551
|
+
ref: U,
|
|
4553
4552
|
children: [
|
|
4554
4553
|
/* @__PURE__ */ z.jsxs("div", { className: re.h, children: [
|
|
4555
4554
|
/* @__PURE__ */ z.jsx("div", { className: re.t, children: n }),
|
|
4556
4555
|
/* @__PURE__ */ z.jsxs("div", { className: re.m, children: [
|
|
4557
|
-
j && /* @__PURE__ */ z.jsx("nav", { children: j.map((
|
|
4556
|
+
j && /* @__PURE__ */ z.jsx("nav", { children: j.map((K, W) => /* @__PURE__ */ z.jsx(
|
|
4558
4557
|
"span",
|
|
4559
4558
|
{
|
|
4560
|
-
onClick:
|
|
4561
|
-
className:
|
|
4562
|
-
children:
|
|
4559
|
+
onClick: K.onClick,
|
|
4560
|
+
className: K.active ? "active" : "",
|
|
4561
|
+
children: K.name
|
|
4563
4562
|
},
|
|
4564
4563
|
W
|
|
4565
4564
|
)) }),
|
|
@@ -4585,7 +4584,7 @@ var jt;
|
|
|
4585
4584
|
}
|
|
4586
4585
|
)
|
|
4587
4586
|
] }),
|
|
4588
|
-
|
|
4587
|
+
l,
|
|
4589
4588
|
w && /* @__PURE__ */ z.jsx("div", { className: re.b, children: /* @__PURE__ */ z.jsx(
|
|
4590
4589
|
ra,
|
|
4591
4590
|
{
|
|
@@ -4600,57 +4599,57 @@ var jt;
|
|
|
4600
4599
|
)
|
|
4601
4600
|
] }) : "";
|
|
4602
4601
|
}
|
|
4603
|
-
a.Main =
|
|
4602
|
+
a.Main = y;
|
|
4604
4603
|
})(jt || (jt = {}));
|
|
4605
|
-
const na = (a,
|
|
4604
|
+
const na = (a, _ = ",") => (a = a !== void 0 && a !== "" ? a.split(_) : [], a.filter((i) => i !== "").reduce((i, c) => (i[c] = !0, i), {}));
|
|
4606
4605
|
function ba({
|
|
4607
4606
|
value: a,
|
|
4608
|
-
onValue:
|
|
4607
|
+
onValue: _,
|
|
4609
4608
|
name: i,
|
|
4610
4609
|
placeholder: c = "",
|
|
4611
4610
|
separator: d = ",",
|
|
4612
4611
|
title: k,
|
|
4613
4612
|
error: C,
|
|
4614
4613
|
hide: b = !1,
|
|
4615
|
-
edit:
|
|
4616
|
-
active:
|
|
4614
|
+
edit: s = !0,
|
|
4615
|
+
active: y = !0,
|
|
4617
4616
|
outFormat: n = "object",
|
|
4618
|
-
after:
|
|
4617
|
+
after: l = "",
|
|
4619
4618
|
modal: w,
|
|
4620
4619
|
options: j,
|
|
4621
4620
|
className: F
|
|
4622
4621
|
}) {
|
|
4623
|
-
const [
|
|
4624
|
-
if (!(
|
|
4622
|
+
const [q, D] = R.useState(na(a, d)), O = (p) => {
|
|
4623
|
+
if (!(s && y) || !w) return;
|
|
4625
4624
|
let P = w.split(".");
|
|
4626
4625
|
jt.Open(P[0], P[1], {
|
|
4627
|
-
callback: (
|
|
4628
|
-
if (
|
|
4626
|
+
callback: (U) => {
|
|
4627
|
+
if (_)
|
|
4629
4628
|
switch (n) {
|
|
4630
4629
|
case "array":
|
|
4631
|
-
|
|
4630
|
+
_({ value: Object.keys(U), name: i });
|
|
4632
4631
|
break;
|
|
4633
4632
|
case "string":
|
|
4634
|
-
|
|
4635
|
-
value: Object.keys(
|
|
4633
|
+
_({
|
|
4634
|
+
value: Object.keys(U).filter((I) => U[I]).join(d),
|
|
4636
4635
|
name: i
|
|
4637
4636
|
});
|
|
4638
4637
|
break;
|
|
4639
4638
|
default:
|
|
4640
|
-
|
|
4639
|
+
_({ value: U, name: i });
|
|
4641
4640
|
}
|
|
4642
4641
|
D(
|
|
4643
4642
|
Object.fromEntries(
|
|
4644
|
-
Object.entries(
|
|
4645
|
-
([I,
|
|
4643
|
+
Object.entries(U).filter(
|
|
4644
|
+
([I, L]) => L !== !1
|
|
4646
4645
|
)
|
|
4647
4646
|
)
|
|
4648
4647
|
);
|
|
4649
4648
|
},
|
|
4650
|
-
onValue:
|
|
4649
|
+
onValue: _,
|
|
4651
4650
|
options: j,
|
|
4652
4651
|
name: i,
|
|
4653
|
-
value:
|
|
4652
|
+
value: q
|
|
4654
4653
|
});
|
|
4655
4654
|
};
|
|
4656
4655
|
return b ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
@@ -4666,9 +4665,9 @@ function ba({
|
|
|
4666
4665
|
onClick: O
|
|
4667
4666
|
}
|
|
4668
4667
|
},
|
|
4669
|
-
children: Object.keys(
|
|
4668
|
+
children: Object.keys(q).map((p) => {
|
|
4670
4669
|
var P;
|
|
4671
|
-
return /* @__PURE__ */ f.jsx("div", { children: (P = j[
|
|
4670
|
+
return /* @__PURE__ */ f.jsx("div", { children: (P = j[p]) == null ? void 0 : P.label }, p);
|
|
4672
4671
|
})
|
|
4673
4672
|
}
|
|
4674
4673
|
);
|
|
@@ -4680,69 +4679,69 @@ const oa = "_o_1wehm_12", _a = "_l_1wehm_22", ia = "_f_1wehm_81", Dt = {
|
|
|
4680
4679
|
};
|
|
4681
4680
|
function wa({
|
|
4682
4681
|
title: a,
|
|
4683
|
-
error:
|
|
4682
|
+
error: _,
|
|
4684
4683
|
edit: i = !0,
|
|
4685
4684
|
active: c = !0,
|
|
4686
4685
|
hide: d,
|
|
4687
4686
|
value: k = 0,
|
|
4688
4687
|
onValue: C,
|
|
4689
4688
|
options: b,
|
|
4690
|
-
placeholder:
|
|
4691
|
-
className:
|
|
4689
|
+
placeholder: s = "",
|
|
4690
|
+
className: y,
|
|
4692
4691
|
isIcon: n = !0,
|
|
4693
|
-
name:
|
|
4692
|
+
name: l,
|
|
4694
4693
|
after: w,
|
|
4695
4694
|
view: j,
|
|
4696
4695
|
order: F,
|
|
4697
|
-
isReload:
|
|
4696
|
+
isReload: q = !1
|
|
4698
4697
|
}) {
|
|
4699
|
-
const D = R.useRef(null), [O,
|
|
4698
|
+
const D = R.useRef(null), [O, p] = R.useState(k), [P, U] = R.useState(b), [I, L] = R.useState(!1);
|
|
4700
4699
|
R.useEffect(() => {
|
|
4701
|
-
|
|
4700
|
+
p(k), U(b);
|
|
4702
4701
|
}, [k, b]);
|
|
4703
|
-
const
|
|
4704
|
-
var
|
|
4705
|
-
if (
|
|
4702
|
+
const K = Array.isArray(P), W = K ? P.length : Object.keys(P || {}).length, N = (M) => {
|
|
4703
|
+
var $;
|
|
4704
|
+
if (K) {
|
|
4706
4705
|
const te = P.find(
|
|
4707
4706
|
(H) => (H.id || H.i) === M
|
|
4708
4707
|
);
|
|
4709
4708
|
return te == null ? void 0 : te.n;
|
|
4710
4709
|
} else
|
|
4711
|
-
return (
|
|
4710
|
+
return ($ = P == null ? void 0 : P[M]) == null ? void 0 : $.n;
|
|
4712
4711
|
};
|
|
4713
4712
|
d = !!(d && (k === 0 || N(k) === void 0)) && !(i && c);
|
|
4714
4713
|
const G = (M) => {
|
|
4715
|
-
|
|
4714
|
+
p(M), C && C({ value: M, name: l, reload: q });
|
|
4716
4715
|
}, g = (M) => {
|
|
4717
|
-
W !== 0 && i && c && (D.position = D.current.getBoundingClientRect(),
|
|
4716
|
+
W !== 0 && i && c && (D.position = D.current.getBoundingClientRect(), L(!0));
|
|
4718
4717
|
}, v = {};
|
|
4719
|
-
return
|
|
4718
|
+
return s && (v.placeholder = s), d ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
4720
4719
|
/* @__PURE__ */ f.jsx(
|
|
4721
4720
|
he,
|
|
4722
4721
|
{
|
|
4723
4722
|
type: "select",
|
|
4724
4723
|
title: a,
|
|
4725
|
-
element_blok: { className: [
|
|
4726
|
-
error:
|
|
4724
|
+
element_blok: { className: [y] },
|
|
4725
|
+
error: _,
|
|
4727
4726
|
element_input: {
|
|
4728
4727
|
className: [Dt.f],
|
|
4729
4728
|
props: { onClick: g }
|
|
4730
4729
|
},
|
|
4731
4730
|
ref: D,
|
|
4732
|
-
children: /* @__PURE__ */ f.jsx("div", { ...v, children: N(O) ||
|
|
4731
|
+
children: /* @__PURE__ */ f.jsx("div", { ...v, children: N(O) || s || "" })
|
|
4733
4732
|
}
|
|
4734
4733
|
),
|
|
4735
4734
|
I && Nt(
|
|
4736
4735
|
/* @__PURE__ */ f.jsx(
|
|
4737
|
-
|
|
4736
|
+
la,
|
|
4738
4737
|
{
|
|
4739
4738
|
parent: D.position,
|
|
4740
4739
|
onValue: G,
|
|
4741
4740
|
view: j,
|
|
4742
|
-
className:
|
|
4741
|
+
className: y,
|
|
4743
4742
|
options: P,
|
|
4744
4743
|
order: F,
|
|
4745
|
-
setOpen:
|
|
4744
|
+
setOpen: L
|
|
4746
4745
|
},
|
|
4747
4746
|
(/* @__PURE__ */ new Date()).getTime()
|
|
4748
4747
|
),
|
|
@@ -4750,9 +4749,9 @@ function wa({
|
|
|
4750
4749
|
)
|
|
4751
4750
|
] });
|
|
4752
4751
|
}
|
|
4753
|
-
const
|
|
4752
|
+
const la = ({
|
|
4754
4753
|
onValue: a,
|
|
4755
|
-
parent:
|
|
4754
|
+
parent: _,
|
|
4756
4755
|
className: i,
|
|
4757
4756
|
options: c,
|
|
4758
4757
|
order: d,
|
|
@@ -4762,7 +4761,7 @@ const sa = ({
|
|
|
4762
4761
|
k(!1);
|
|
4763
4762
|
}, b = (n) => {
|
|
4764
4763
|
k(!1), a(n);
|
|
4765
|
-
},
|
|
4764
|
+
}, s = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, y = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
|
|
4766
4765
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
4767
4766
|
/* @__PURE__ */ f.jsx(
|
|
4768
4767
|
"div",
|
|
@@ -4777,32 +4776,32 @@ const sa = ({
|
|
|
4777
4776
|
{
|
|
4778
4777
|
className: [Dt.l, i].filter((n) => n !== void 0).join(" "),
|
|
4779
4778
|
style: {
|
|
4780
|
-
top:
|
|
4781
|
-
left:
|
|
4782
|
-
width:
|
|
4779
|
+
top: s + "px",
|
|
4780
|
+
left: y + "px",
|
|
4781
|
+
width: _.width
|
|
4783
4782
|
},
|
|
4784
|
-
children: /* @__PURE__ */ f.jsx(
|
|
4783
|
+
children: /* @__PURE__ */ f.jsx(sa, { order: d, options: c, link: b })
|
|
4785
4784
|
}
|
|
4786
4785
|
)
|
|
4787
4786
|
] });
|
|
4788
|
-
},
|
|
4789
|
-
if (Array.isArray(
|
|
4790
|
-
const d =
|
|
4787
|
+
}, sa = ({ order: a, options: _, link: i }) => {
|
|
4788
|
+
if (Array.isArray(_)) {
|
|
4789
|
+
const d = _;
|
|
4791
4790
|
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((k, C) => {
|
|
4792
4791
|
const b = d.find(
|
|
4793
|
-
(
|
|
4792
|
+
(y) => (y.id || y.i) === k
|
|
4794
4793
|
);
|
|
4795
4794
|
if (!b || b.s === 0 || !b.n) return null;
|
|
4796
|
-
const
|
|
4797
|
-
return
|
|
4795
|
+
const s = b.id || b.i;
|
|
4796
|
+
return s === void 0 ? null : /* @__PURE__ */ f.jsx(
|
|
4798
4797
|
"li",
|
|
4799
4798
|
{
|
|
4800
4799
|
onClick: () => {
|
|
4801
|
-
i(
|
|
4800
|
+
i(s);
|
|
4802
4801
|
},
|
|
4803
4802
|
children: b.n
|
|
4804
4803
|
},
|
|
4805
|
-
`${
|
|
4804
|
+
`${s}-${C}`
|
|
4806
4805
|
);
|
|
4807
4806
|
}) }) : /* @__PURE__ */ f.jsx("ul", { children: d.map((k, C) => {
|
|
4808
4807
|
if (k.s === 0 || !k.n) return null;
|
|
@@ -4820,7 +4819,7 @@ const sa = ({
|
|
|
4820
4819
|
}) });
|
|
4821
4820
|
}
|
|
4822
4821
|
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((d, k) => {
|
|
4823
|
-
const C =
|
|
4822
|
+
const C = _[d];
|
|
4824
4823
|
return !C || C.s === 0 || !C.n ? null : /* @__PURE__ */ f.jsx(
|
|
4825
4824
|
"li",
|
|
4826
4825
|
{
|
|
@@ -4831,8 +4830,8 @@ const sa = ({
|
|
|
4831
4830
|
},
|
|
4832
4831
|
`${d}-${k}`
|
|
4833
4832
|
);
|
|
4834
|
-
}) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(
|
|
4835
|
-
const C = Number(d), b =
|
|
4833
|
+
}) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(_ || {}).map((d, k) => {
|
|
4834
|
+
const C = Number(d), b = _[C];
|
|
4836
4835
|
return !b || b.s === 0 || !b.n ? null : /* @__PURE__ */ f.jsx(
|
|
4837
4836
|
"li",
|
|
4838
4837
|
{
|
|
@@ -4847,78 +4846,77 @@ const sa = ({
|
|
|
4847
4846
|
};
|
|
4848
4847
|
function xa({
|
|
4849
4848
|
value: a,
|
|
4850
|
-
onValue:
|
|
4849
|
+
onValue: _,
|
|
4851
4850
|
name: i,
|
|
4852
4851
|
placeholder: c = "",
|
|
4853
4852
|
title: d,
|
|
4854
4853
|
error: k,
|
|
4855
4854
|
hide: C = !1,
|
|
4856
4855
|
edit: b = !0,
|
|
4857
|
-
show:
|
|
4858
|
-
active:
|
|
4856
|
+
show: s = !0,
|
|
4857
|
+
active: y = !0,
|
|
4859
4858
|
after: n = "",
|
|
4860
|
-
view:
|
|
4859
|
+
view: l,
|
|
4861
4860
|
modal: w,
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
className: U
|
|
4861
|
+
options: j,
|
|
4862
|
+
className: F
|
|
4865
4863
|
}) {
|
|
4866
|
-
const [
|
|
4867
|
-
if (!(b &&
|
|
4868
|
-
let
|
|
4869
|
-
jt.Open(
|
|
4870
|
-
callback: (
|
|
4871
|
-
|
|
4864
|
+
const [q, D] = R.useState(a), O = (P) => {
|
|
4865
|
+
if (!(b && y) || !w) return;
|
|
4866
|
+
let U = w.split(".");
|
|
4867
|
+
U.length < 2 || jt.Open(U[0], U[1], {
|
|
4868
|
+
callback: (I) => {
|
|
4869
|
+
_ && _({ value: I, name: i }), D(I);
|
|
4872
4870
|
},
|
|
4873
|
-
onValue:
|
|
4874
|
-
options:
|
|
4871
|
+
onValue: _,
|
|
4872
|
+
options: j,
|
|
4875
4873
|
name: i,
|
|
4876
4874
|
value: a
|
|
4877
4875
|
});
|
|
4878
|
-
},
|
|
4879
|
-
return c && (
|
|
4876
|
+
}, p = {};
|
|
4877
|
+
return c && (p.placeholder = c), C ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
4880
4878
|
he,
|
|
4881
4879
|
{
|
|
4882
4880
|
type: "input",
|
|
4883
4881
|
title: d,
|
|
4884
|
-
element_blok: { className: [
|
|
4882
|
+
element_blok: { className: [F] },
|
|
4885
4883
|
error: k,
|
|
4886
4884
|
element_input: {
|
|
4887
4885
|
className: [Q.w],
|
|
4888
|
-
props: { onClick:
|
|
4886
|
+
props: { onClick: O }
|
|
4889
4887
|
},
|
|
4890
|
-
children: /* @__PURE__ */ f.jsx("div", { ...
|
|
4888
|
+
children: /* @__PURE__ */ f.jsx("div", { ...p, children: q })
|
|
4891
4889
|
}
|
|
4892
4890
|
);
|
|
4893
4891
|
}
|
|
4894
4892
|
function Ca({
|
|
4895
4893
|
value: a,
|
|
4896
|
-
onValue:
|
|
4894
|
+
onValue: _,
|
|
4897
4895
|
onSave: i,
|
|
4898
4896
|
name: c,
|
|
4899
4897
|
placeholder: d = "",
|
|
4900
4898
|
className: k,
|
|
4901
4899
|
title: C,
|
|
4902
4900
|
error: b,
|
|
4903
|
-
edit:
|
|
4904
|
-
active:
|
|
4901
|
+
edit: s = !0,
|
|
4902
|
+
active: y = !0,
|
|
4905
4903
|
reload: n = !1,
|
|
4906
|
-
native:
|
|
4904
|
+
native: l = !1,
|
|
4907
4905
|
isShow: w = !1,
|
|
4908
4906
|
maxLength: j,
|
|
4909
4907
|
eyes: F = [],
|
|
4910
|
-
after:
|
|
4908
|
+
after: q = ""
|
|
4911
4909
|
}) {
|
|
4912
4910
|
const [D, O] = R.useState(w);
|
|
4913
|
-
let
|
|
4914
|
-
|
|
4911
|
+
let p = (W) => {
|
|
4912
|
+
_ && _({
|
|
4915
4913
|
value: W.target.textContent,
|
|
4916
4914
|
name: c,
|
|
4917
4915
|
reload: n
|
|
4918
4916
|
});
|
|
4919
4917
|
}, P = (W) => {
|
|
4920
4918
|
W.key === "Enter" && W.preventDefault();
|
|
4921
|
-
},
|
|
4919
|
+
}, U = (W) => {
|
|
4922
4920
|
W.preventDefault(), navigator.clipboard.readText().then((N) => {
|
|
4923
4921
|
if (j) {
|
|
4924
4922
|
let E = W.target.textContent.length;
|
|
@@ -4935,94 +4933,94 @@ function Ca({
|
|
|
4935
4933
|
}, I = (W) => {
|
|
4936
4934
|
Z.Blur(W), i == null || i({ value: W.target.textContent.trim(), name: c });
|
|
4937
4935
|
};
|
|
4938
|
-
const
|
|
4939
|
-
|
|
4940
|
-
const
|
|
4941
|
-
return d && (
|
|
4936
|
+
const L = {};
|
|
4937
|
+
L.field = "password", D && (L.show = ""), k && (L.className = k);
|
|
4938
|
+
const K = {};
|
|
4939
|
+
return d && (K.placeholder = d), l ? "" : /* @__PURE__ */ f.jsxs("dl", { ...L, children: [
|
|
4942
4940
|
C ? /* @__PURE__ */ f.jsx("dt", { children: C }) : "",
|
|
4943
4941
|
/* @__PURE__ */ f.jsx(
|
|
4944
4942
|
"dd",
|
|
4945
4943
|
{
|
|
4946
|
-
onPaste:
|
|
4947
|
-
onInput:
|
|
4944
|
+
onPaste: U,
|
|
4945
|
+
onInput: p,
|
|
4948
4946
|
onKeyDown: P,
|
|
4949
4947
|
onBlur: I,
|
|
4950
|
-
contentEditable:
|
|
4951
|
-
...
|
|
4948
|
+
contentEditable: s && y ? Z.ContentEditable : "false",
|
|
4949
|
+
...K,
|
|
4952
4950
|
suppressContentEditableWarning: !0,
|
|
4953
4951
|
children: a
|
|
4954
4952
|
}
|
|
4955
4953
|
),
|
|
4956
4954
|
F[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => O(!D), children: D ? F[1] : F[0] }),
|
|
4957
|
-
|
|
4955
|
+
q,
|
|
4958
4956
|
b ? /* @__PURE__ */ f.jsx("em", { children: b }) : ""
|
|
4959
4957
|
] });
|
|
4960
4958
|
}
|
|
4961
4959
|
function ja({
|
|
4962
4960
|
onValue: a,
|
|
4963
|
-
label:
|
|
4961
|
+
label: _,
|
|
4964
4962
|
value: i,
|
|
4965
4963
|
title: c,
|
|
4966
4964
|
className: d,
|
|
4967
4965
|
name: k,
|
|
4968
4966
|
text: C,
|
|
4969
4967
|
id: b,
|
|
4970
|
-
reload:
|
|
4968
|
+
reload: s
|
|
4971
4969
|
}) {
|
|
4972
|
-
const [
|
|
4970
|
+
const [y, n] = R.useState(!!i);
|
|
4973
4971
|
R.useEffect(() => {
|
|
4974
4972
|
n(!!i);
|
|
4975
4973
|
}, [i]);
|
|
4976
|
-
let
|
|
4977
|
-
a && a({ value:
|
|
4974
|
+
let l = () => {
|
|
4975
|
+
a && a({ value: y ? 0 : 1, name: k, id: b, reload: s }), n(!y);
|
|
4978
4976
|
};
|
|
4979
4977
|
return /* @__PURE__ */ f.jsxs(
|
|
4980
4978
|
he,
|
|
4981
4979
|
{
|
|
4982
4980
|
type: "check",
|
|
4983
|
-
title:
|
|
4981
|
+
title: _ || c,
|
|
4984
4982
|
element_blok: { className: [d] },
|
|
4985
4983
|
element_input: {
|
|
4986
4984
|
className: [Q.h],
|
|
4987
4985
|
props: {
|
|
4988
|
-
onClick:
|
|
4986
|
+
onClick: l
|
|
4989
4987
|
}
|
|
4990
4988
|
},
|
|
4991
4989
|
children: [
|
|
4992
|
-
/* @__PURE__ */ f.jsx("div", { "aria-checked": `${
|
|
4990
|
+
/* @__PURE__ */ f.jsx("div", { "aria-checked": `${y ? "true" : "false"}` }),
|
|
4993
4991
|
/* @__PURE__ */ f.jsx("span", { children: C })
|
|
4994
4992
|
]
|
|
4995
4993
|
}
|
|
4996
4994
|
);
|
|
4997
4995
|
}
|
|
4998
|
-
const
|
|
4996
|
+
const se = {};
|
|
4999
4997
|
function Ea(a) {
|
|
5000
|
-
const [
|
|
5001
|
-
return
|
|
4998
|
+
const [_, i] = R.useState({}), c = R.useRef(a);
|
|
4999
|
+
return se.u = (d) => {
|
|
5002
5000
|
c.current = { ...c.current, [d.name]: d.value };
|
|
5003
|
-
},
|
|
5001
|
+
}, se.n = (d) => {
|
|
5004
5002
|
c.current = d, i(Date.now());
|
|
5005
|
-
},
|
|
5003
|
+
}, se.r = (d) => {
|
|
5006
5004
|
d && d(c.current), i(Date.now());
|
|
5007
|
-
}, [c.current,
|
|
5005
|
+
}, [c.current, se.n];
|
|
5008
5006
|
}
|
|
5009
5007
|
function Sa(a) {
|
|
5010
|
-
|
|
5008
|
+
se.u(a), a.reload && se.r();
|
|
5011
5009
|
}
|
|
5012
5010
|
function Ra(a) {
|
|
5013
|
-
|
|
5011
|
+
se.r && se.r(a);
|
|
5014
5012
|
}
|
|
5015
5013
|
function Ta(a) {
|
|
5016
|
-
const [
|
|
5017
|
-
return
|
|
5014
|
+
const [_, i] = R.useState({}), c = R.useRef(a);
|
|
5015
|
+
return se.u = (d) => {
|
|
5018
5016
|
c.current = { ...c.current, [d.name]: d.value };
|
|
5019
|
-
},
|
|
5017
|
+
}, se.n = (d) => {
|
|
5020
5018
|
Object.keys(d).length > 0 ? Object.keys(d).forEach((k) => {
|
|
5021
5019
|
c.current[k] = d[k];
|
|
5022
5020
|
}) : c.current = {}, i(Date.now());
|
|
5023
|
-
},
|
|
5021
|
+
}, se.r = () => {
|
|
5024
5022
|
i(Date.now());
|
|
5025
|
-
}, [c.current,
|
|
5023
|
+
}, [c.current, se.n];
|
|
5026
5024
|
}
|
|
5027
5025
|
function Pt() {
|
|
5028
5026
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|