@elcrm/form 0.0.35 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.es.js +1218 -1257
- package/dist/index.umd.js +38 -38
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import U, { forwardRef as Jt, useEffect as Zt } from "react";
|
|
2
2
|
import { createPortal as Mt } from "react-dom";
|
|
3
|
-
import './index.css';const Vt = "0.0.
|
|
3
|
+
import './index.css';const Vt = "0.0.37", Xt = {
|
|
4
4
|
version: Vt
|
|
5
5
|
};
|
|
6
6
|
var Tt = { exports: {} }, mt = {};
|
|
@@ -17,15 +17,15 @@ var $t;
|
|
|
17
17
|
function Qt() {
|
|
18
18
|
if ($t) return mt;
|
|
19
19
|
$t = 1;
|
|
20
|
-
var a =
|
|
21
|
-
function
|
|
22
|
-
var o, d = {}, b = null,
|
|
23
|
-
g !== void 0 && (b = "" + g),
|
|
24
|
-
for (o in
|
|
25
|
-
if (x && x.defaultProps) for (o in
|
|
26
|
-
return { $$typeof:
|
|
20
|
+
var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function P(x, i, g) {
|
|
22
|
+
var o, d = {}, b = null, C = null;
|
|
23
|
+
g !== void 0 && (b = "" + g), i.key !== void 0 && (b = "" + i.key), i.ref !== void 0 && (C = i.ref);
|
|
24
|
+
for (o in i) u.call(i, o) && !S.hasOwnProperty(o) && (d[o] = i[o]);
|
|
25
|
+
if (x && x.defaultProps) for (o in i = x.defaultProps, i) d[o] === void 0 && (d[o] = i[o]);
|
|
26
|
+
return { $$typeof: s, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
27
27
|
}
|
|
28
|
-
return mt.Fragment = c, mt.jsx =
|
|
28
|
+
return mt.Fragment = c, mt.jsx = P, mt.jsxs = P, mt;
|
|
29
29
|
}
|
|
30
30
|
var yt = {};
|
|
31
31
|
/**
|
|
@@ -40,41 +40,41 @@ var yt = {};
|
|
|
40
40
|
var At;
|
|
41
41
|
function er() {
|
|
42
42
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var a =
|
|
44
|
-
function
|
|
43
|
+
var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
|
|
44
|
+
function M(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var t =
|
|
47
|
+
var t = F && e[F] || e[A];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
50
|
+
var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function p(e) {
|
|
52
52
|
{
|
|
53
53
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
54
54
|
r[n - 1] = arguments[n];
|
|
55
|
-
|
|
55
|
+
I("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function I(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var n =
|
|
60
|
+
var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
61
61
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
62
|
-
var
|
|
62
|
+
var m = r.map(function(l) {
|
|
63
63
|
return String(l);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var K = !1, G = !1, L = !1, q = !1,
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
68
|
+
var K = !1, G = !1, L = !1, q = !1, R = !1, T;
|
|
69
|
+
T = Symbol.for("react.module.reference");
|
|
70
|
+
function O(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === i || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
75
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === T || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function W(e, t, r) {
|
|
78
78
|
var n = e.displayName;
|
|
79
79
|
if (n)
|
|
80
80
|
return n;
|
|
@@ -96,9 +96,9 @@ function er() {
|
|
|
96
96
|
return "Fragment";
|
|
97
97
|
case c:
|
|
98
98
|
return "Portal";
|
|
99
|
-
case
|
|
99
|
+
case S:
|
|
100
100
|
return "Profiler";
|
|
101
|
-
case
|
|
101
|
+
case y:
|
|
102
102
|
return "StrictMode";
|
|
103
103
|
case g:
|
|
104
104
|
return "Suspense";
|
|
@@ -110,18 +110,18 @@ function er() {
|
|
|
110
110
|
case x:
|
|
111
111
|
var t = e;
|
|
112
112
|
return h(t) + ".Consumer";
|
|
113
|
-
case
|
|
113
|
+
case P:
|
|
114
114
|
var r = e;
|
|
115
115
|
return h(r._context) + ".Provider";
|
|
116
|
-
case
|
|
117
|
-
return
|
|
116
|
+
case i:
|
|
117
|
+
return W(e, e.render, "ForwardRef");
|
|
118
118
|
case d:
|
|
119
119
|
var n = e.displayName || null;
|
|
120
120
|
return n !== null ? n : k(e.type) || "Memo";
|
|
121
121
|
case b: {
|
|
122
|
-
var f = e,
|
|
122
|
+
var f = e, m = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
124
|
-
return k(l(
|
|
124
|
+
return k(l(m));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,14 +129,14 @@ function er() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var $ = Object.assign, Y = 0,
|
|
132
|
+
var $ = Object.assign, Y = 0, X, oe, se, ve, ge, be, ke;
|
|
133
133
|
function we() {
|
|
134
134
|
}
|
|
135
135
|
we.__reactDisabledLog = !0;
|
|
136
|
-
function
|
|
136
|
+
function We() {
|
|
137
137
|
{
|
|
138
138
|
if (Y === 0) {
|
|
139
|
-
|
|
139
|
+
X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -156,7 +156,7 @@ function er() {
|
|
|
156
156
|
Y++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Ue() {
|
|
160
160
|
{
|
|
161
161
|
if (Y--, Y === 0) {
|
|
162
162
|
var e = {
|
|
@@ -166,10 +166,10 @@ function er() {
|
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
168
|
log: $({}, e, {
|
|
169
|
-
value:
|
|
169
|
+
value: X
|
|
170
170
|
}),
|
|
171
171
|
info: $({}, e, {
|
|
172
|
-
value:
|
|
172
|
+
value: oe
|
|
173
173
|
}),
|
|
174
174
|
warn: $({}, e, {
|
|
175
175
|
value: se
|
|
@@ -191,8 +191,8 @@ function er() {
|
|
|
191
191
|
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var le =
|
|
195
|
-
function
|
|
194
|
+
var le = E.ReactCurrentDispatcher, ce;
|
|
195
|
+
function te(e, t, r) {
|
|
196
196
|
{
|
|
197
197
|
if (ce === void 0)
|
|
198
198
|
try {
|
|
@@ -205,16 +205,16 @@ function er() {
|
|
|
205
205
|
` + ce + e;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
var ue = !1,
|
|
208
|
+
var ue = !1, re;
|
|
209
209
|
{
|
|
210
|
-
var
|
|
211
|
-
|
|
210
|
+
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
re = new Ke();
|
|
212
212
|
}
|
|
213
213
|
function je(e, t) {
|
|
214
214
|
if (!e || ue)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
217
|
-
var r =
|
|
217
|
+
var r = re.get(e);
|
|
218
218
|
if (r !== void 0)
|
|
219
219
|
return r;
|
|
220
220
|
}
|
|
@@ -222,8 +222,8 @@ function er() {
|
|
|
222
222
|
ue = !0;
|
|
223
223
|
var f = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var m;
|
|
226
|
+
m = le.current, le.current = null, We();
|
|
227
227
|
try {
|
|
228
228
|
if (t) {
|
|
229
229
|
var l = function() {
|
|
@@ -236,29 +236,29 @@ function er() {
|
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(l, []);
|
|
239
|
-
} catch (
|
|
240
|
-
n =
|
|
239
|
+
} catch (N) {
|
|
240
|
+
n = N;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], l);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
l.call();
|
|
246
|
-
} catch (
|
|
247
|
-
n =
|
|
246
|
+
} catch (N) {
|
|
247
|
+
n = N;
|
|
248
248
|
}
|
|
249
249
|
e.call(l.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
n =
|
|
254
|
+
} catch (N) {
|
|
255
|
+
n = N;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var _ =
|
|
259
|
+
} catch (N) {
|
|
260
|
+
if (N && n && typeof N.stack == "string") {
|
|
261
|
+
for (var _ = N.stack.split(`
|
|
262
262
|
`), D = n.stack.split(`
|
|
263
263
|
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
264
264
|
j--;
|
|
@@ -269,22 +269,22 @@ function er() {
|
|
|
269
269
|
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
270
270
|
var B = `
|
|
271
271
|
` + _[w].replace(" at new ", " at ");
|
|
272
|
-
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
272
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
273
273
|
}
|
|
274
274
|
while (w >= 1 && j >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
ue = !1, le.current =
|
|
279
|
+
ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
|
|
280
280
|
}
|
|
281
|
-
var Z = e ? e.displayName || e.name : "", z = Z ?
|
|
282
|
-
return typeof e == "function" &&
|
|
281
|
+
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
282
|
+
return typeof e == "function" && re.set(e, z), z;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function qe(e, t, r) {
|
|
285
285
|
return je(e, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Ye(e) {
|
|
288
288
|
var t = e.prototype;
|
|
289
289
|
return !!(t && t.isReactComponent);
|
|
290
290
|
}
|
|
@@ -292,44 +292,44 @@ function er() {
|
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return je(e,
|
|
295
|
+
return je(e, Ye(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
|
-
return
|
|
297
|
+
return te(e);
|
|
298
298
|
switch (e) {
|
|
299
299
|
case g:
|
|
300
|
-
return
|
|
300
|
+
return te("Suspense");
|
|
301
301
|
case o:
|
|
302
|
-
return
|
|
302
|
+
return te("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
|
-
case
|
|
307
|
-
return
|
|
306
|
+
case i:
|
|
307
|
+
return qe(e.render);
|
|
308
308
|
case d:
|
|
309
309
|
return ne(e.type, t, r);
|
|
310
310
|
case b: {
|
|
311
|
-
var n = e, f = n._payload,
|
|
311
|
+
var n = e, f = n._payload, m = n._init;
|
|
312
312
|
try {
|
|
313
|
-
return ne(
|
|
313
|
+
return ne(m(f), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
function
|
|
320
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
|
|
321
|
+
function ae(e) {
|
|
322
322
|
if (e) {
|
|
323
323
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
324
324
|
Ce.setExtraStackFrame(r);
|
|
325
325
|
} else
|
|
326
326
|
Ce.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Ge(e, t, r, n, f) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
330
|
+
var m = Function.call.bind(V);
|
|
331
331
|
for (var l in e)
|
|
332
|
-
if (
|
|
332
|
+
if (m(e, l)) {
|
|
333
333
|
var _ = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
@@ -340,21 +340,21 @@ function er() {
|
|
|
340
340
|
} catch (w) {
|
|
341
341
|
_ = w;
|
|
342
342
|
}
|
|
343
|
-
_ && !(_ instanceof Error) && (
|
|
343
|
+
_ && !(_ instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), ae(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, ae(f), p("Failed %s type: %s", r, _.message), ae(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
var
|
|
347
|
+
var ze = Array.isArray;
|
|
348
348
|
function de(e) {
|
|
349
|
-
return
|
|
349
|
+
return ze(e);
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function He(e) {
|
|
352
352
|
{
|
|
353
353
|
var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
354
|
return r;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function Je(e) {
|
|
358
358
|
try {
|
|
359
359
|
return Se(e), !1;
|
|
360
360
|
} catch {
|
|
@@ -365,35 +365,35 @@ function er() {
|
|
|
365
365
|
return "" + e;
|
|
366
366
|
}
|
|
367
367
|
function Re(e) {
|
|
368
|
-
if (
|
|
369
|
-
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
368
|
+
if (Je(e))
|
|
369
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
370
370
|
}
|
|
371
|
-
var Ee =
|
|
371
|
+
var Ee = E.ReactCurrentOwner, Ze = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
376
|
}, Oe, Te;
|
|
377
|
-
function
|
|
378
|
-
if (
|
|
377
|
+
function Ve(e) {
|
|
378
|
+
if (V.call(e, "ref")) {
|
|
379
379
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
380
380
|
if (t && t.isReactWarning)
|
|
381
381
|
return !1;
|
|
382
382
|
}
|
|
383
383
|
return e.ref !== void 0;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
386
|
-
if (
|
|
385
|
+
function Xe(e) {
|
|
386
|
+
if (V.call(e, "key")) {
|
|
387
387
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
388
388
|
if (t && t.isReactWarning)
|
|
389
389
|
return !1;
|
|
390
390
|
}
|
|
391
391
|
return e.key !== void 0;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function Qe(e, t) {
|
|
394
394
|
typeof e.ref == "string" && Ee.current;
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function et(e, t) {
|
|
397
397
|
{
|
|
398
398
|
var r = function() {
|
|
399
399
|
Oe || (Oe = !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));
|
|
@@ -404,7 +404,7 @@ function er() {
|
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function tt(e, t) {
|
|
408
408
|
{
|
|
409
409
|
var r = function() {
|
|
410
410
|
Te || (Te = !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));
|
|
@@ -415,17 +415,17 @@ function er() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var
|
|
418
|
+
var rt = function(e, t, r, n, f, m, l) {
|
|
419
419
|
var _ = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
|
-
$$typeof:
|
|
421
|
+
$$typeof: s,
|
|
422
422
|
// Built-in properties that belong on the element
|
|
423
423
|
type: e,
|
|
424
424
|
key: t,
|
|
425
425
|
ref: r,
|
|
426
426
|
props: l,
|
|
427
427
|
// Record the component responsible for creating this element.
|
|
428
|
-
_owner:
|
|
428
|
+
_owner: m
|
|
429
429
|
};
|
|
430
430
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
431
431
|
configurable: !1,
|
|
@@ -444,25 +444,25 @@ function er() {
|
|
|
444
444
|
value: f
|
|
445
445
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
446
446
|
};
|
|
447
|
-
function
|
|
447
|
+
function nt(e, t, r, n, f) {
|
|
448
448
|
{
|
|
449
|
-
var
|
|
450
|
-
r !== void 0 && (Re(r), _ = "" + r),
|
|
451
|
-
for (
|
|
452
|
-
|
|
449
|
+
var m, l = {}, _ = null, D = null;
|
|
450
|
+
r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (D = t.ref, Qe(t, f));
|
|
451
|
+
for (m in t)
|
|
452
|
+
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
454
454
|
var w = e.defaultProps;
|
|
455
|
-
for (
|
|
456
|
-
l[
|
|
455
|
+
for (m in w)
|
|
456
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
457
457
|
}
|
|
458
458
|
if (_ || D) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
_ &&
|
|
460
|
+
_ && et(l, j), D && tt(l, j);
|
|
461
461
|
}
|
|
462
|
-
return
|
|
462
|
+
return rt(e, _, D, f, n, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
var fe =
|
|
465
|
+
var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
|
|
466
466
|
function J(e) {
|
|
467
467
|
if (e) {
|
|
468
468
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -473,7 +473,7 @@ function er() {
|
|
|
473
473
|
var pe;
|
|
474
474
|
pe = !1;
|
|
475
475
|
function me(e) {
|
|
476
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
476
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
477
477
|
}
|
|
478
478
|
function Pe() {
|
|
479
479
|
{
|
|
@@ -491,7 +491,7 @@ Check the render method of \`` + e + "`.";
|
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
493
|
var Ne = {};
|
|
494
|
-
function
|
|
494
|
+
function ot(e) {
|
|
495
495
|
{
|
|
496
496
|
var t = Pe();
|
|
497
497
|
if (!t) {
|
|
@@ -508,7 +508,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
508
508
|
if (!e._store || e._store.validated || e.key != null)
|
|
509
509
|
return;
|
|
510
510
|
e._store.validated = !0;
|
|
511
|
-
var r =
|
|
511
|
+
var r = ot(t);
|
|
512
512
|
if (Ne[r])
|
|
513
513
|
return;
|
|
514
514
|
Ne[r] = !0;
|
|
@@ -528,14 +528,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
528
528
|
else if (me(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var f =
|
|
531
|
+
var f = M(e);
|
|
532
532
|
if (typeof f == "function" && f !== e.entries)
|
|
533
|
-
for (var
|
|
533
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
534
534
|
me(l.value) && Fe(l.value, t);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function _t(e) {
|
|
539
539
|
{
|
|
540
540
|
var t = e.type;
|
|
541
541
|
if (t == null || typeof t == "string")
|
|
@@ -543,7 +543,7 @@ 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 === i || // Note: Memo only checks outer props here.
|
|
547
547
|
// Inner props are checked in the reconciler.
|
|
548
548
|
t.$$typeof === d))
|
|
549
549
|
r = t.propTypes;
|
|
@@ -551,7 +551,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
553
|
var n = k(t);
|
|
554
|
-
|
|
554
|
+
Ge(r, e.props, "prop", n, e);
|
|
555
555
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
556
|
pe = !0;
|
|
557
557
|
var f = k(t);
|
|
@@ -573,18 +573,18 @@ Check the top-level render call using <` + r + ">.");
|
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var Me = {};
|
|
576
|
-
function $e(e, t, r, n, f,
|
|
576
|
+
function $e(e, t, r, n, f, m) {
|
|
577
577
|
{
|
|
578
|
-
var l =
|
|
578
|
+
var l = O(e);
|
|
579
579
|
if (!l) {
|
|
580
580
|
var _ = "";
|
|
581
581
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
582
|
var D = at();
|
|
583
583
|
D ? _ += D : _ += Pe();
|
|
584
584
|
var w;
|
|
585
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
585
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === s ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
586
586
|
}
|
|
587
|
-
var j =
|
|
587
|
+
var j = nt(e, t, r, f, m);
|
|
588
588
|
if (j == null)
|
|
589
589
|
return j;
|
|
590
590
|
if (l) {
|
|
@@ -600,58 +600,58 @@ Check the top-level render call using <` + r + ">.");
|
|
|
600
600
|
else
|
|
601
601
|
Ie(B, e);
|
|
602
602
|
}
|
|
603
|
-
if (
|
|
604
|
-
var z = k(e),
|
|
605
|
-
return
|
|
606
|
-
}), ye =
|
|
603
|
+
if (V.call(t, "key")) {
|
|
604
|
+
var z = k(e), N = Object.keys(t).filter(function(ft) {
|
|
605
|
+
return ft !== "key";
|
|
606
|
+
}), ye = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
607
|
if (!Me[z + ye]) {
|
|
608
|
-
var
|
|
608
|
+
var dt = N.length > 0 ? "{" + N.join(": ..., ") + ": ...}" : "{}";
|
|
609
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:
|
|
613
613
|
let props = %s;
|
|
614
|
-
<%s key={someKey} {...props} />`, ye, z,
|
|
614
|
+
<%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
return e === u ? it(j) :
|
|
617
|
+
return e === u ? it(j) : _t(j), j;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function st(e, t, r) {
|
|
621
621
|
return $e(e, t, r, !0);
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function lt(e, t, r) {
|
|
624
624
|
return $e(e, t, r, !1);
|
|
625
625
|
}
|
|
626
|
-
var
|
|
627
|
-
yt.Fragment = u, yt.jsx =
|
|
626
|
+
var ct = lt, ut = st;
|
|
627
|
+
yt.Fragment = u, yt.jsx = ct, yt.jsxs = ut;
|
|
628
628
|
}()), yt;
|
|
629
629
|
}
|
|
630
630
|
process.env.NODE_ENV === "production" ? Tt.exports = Qt() : Tt.exports = er();
|
|
631
|
-
var
|
|
632
|
-
function
|
|
633
|
-
let
|
|
631
|
+
var v = Tt.exports;
|
|
632
|
+
function bn({ name: a, value: s, title: c, style: u, className: y }) {
|
|
633
|
+
let S = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
636
|
-
return u && (
|
|
637
|
-
c && /* @__PURE__ */
|
|
638
|
-
/* @__PURE__ */
|
|
636
|
+
return u && (S.style = u), y && (S.className = y), /* @__PURE__ */ v.jsxs("dl", { ...S, children: [
|
|
637
|
+
c && /* @__PURE__ */ v.jsx("dt", { children: c }),
|
|
638
|
+
/* @__PURE__ */ v.jsx("dd", {})
|
|
639
639
|
] });
|
|
640
640
|
}
|
|
641
|
-
let
|
|
642
|
-
|
|
641
|
+
let ee = {};
|
|
642
|
+
ee.KeyDown = (a) => {
|
|
643
643
|
a.key === "Enter" && a.preventDefault();
|
|
644
644
|
};
|
|
645
|
-
|
|
646
|
-
a.preventDefault(), navigator.clipboard.readText().then((
|
|
647
|
-
|
|
648
|
-
}).catch((
|
|
645
|
+
ee.PasteOne = (a) => {
|
|
646
|
+
a.preventDefault(), navigator.clipboard.readText().then((s) => {
|
|
647
|
+
s = s.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, s);
|
|
648
|
+
}).catch((s) => {
|
|
649
649
|
});
|
|
650
650
|
};
|
|
651
|
-
|
|
652
|
-
|
|
651
|
+
ee.Paste = (a, s) => {
|
|
652
|
+
s.preventDefault(), navigator.clipboard.readText().then((c) => {
|
|
653
653
|
if (a) {
|
|
654
|
-
let u =
|
|
654
|
+
let u = s.target.textContent.length;
|
|
655
655
|
if (u >= a) return;
|
|
656
656
|
a -= u, c = c.slice(0, a);
|
|
657
657
|
}
|
|
@@ -663,123 +663,123 @@ te.Paste = (a, i) => {
|
|
|
663
663
|
}).catch((c) => {
|
|
664
664
|
});
|
|
665
665
|
};
|
|
666
|
-
|
|
666
|
+
ee.Focus = (a) => {
|
|
667
667
|
a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
|
|
668
668
|
};
|
|
669
|
-
|
|
669
|
+
ee.Blur = (a) => {
|
|
670
670
|
a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
|
-
|
|
673
|
-
const tr = "
|
|
672
|
+
ee.ContentEditable = "plaintext-only";
|
|
673
|
+
const tr = "_l_cnzbf_13", rr = "_f_cnzbf_37", nr = "_n_cnzbf_55", ar = "_w_cnzbf_60", or = "_t_cnzbf_70", _r = "_g_cnzbf_75", ir = "_h_cnzbf_79", ie = {
|
|
674
674
|
l: tr,
|
|
675
675
|
f: rr,
|
|
676
|
-
n:
|
|
677
|
-
w:
|
|
676
|
+
n: nr,
|
|
677
|
+
w: ar,
|
|
678
678
|
t: or,
|
|
679
|
-
g:
|
|
680
|
-
h:
|
|
681
|
-
},
|
|
679
|
+
g: _r,
|
|
680
|
+
h: ir
|
|
681
|
+
}, Le = Jt(
|
|
682
682
|
({
|
|
683
683
|
element_blok: a,
|
|
684
|
-
element_input:
|
|
684
|
+
element_input: s,
|
|
685
685
|
type: c = "input",
|
|
686
686
|
title: u,
|
|
687
|
-
before:
|
|
688
|
-
after:
|
|
689
|
-
children:
|
|
690
|
-
}, x) => /* @__PURE__ */
|
|
687
|
+
before: y,
|
|
688
|
+
after: S,
|
|
689
|
+
children: P
|
|
690
|
+
}, x) => /* @__PURE__ */ v.jsxs(
|
|
691
691
|
"dl",
|
|
692
692
|
{
|
|
693
693
|
"data-field": c,
|
|
694
|
-
...
|
|
695
|
-
className: [
|
|
694
|
+
...s.props,
|
|
695
|
+
className: [ie.l, ...a.className].filter((i) => i !== void 0).join(" "),
|
|
696
696
|
children: [
|
|
697
|
-
u ? /* @__PURE__ */
|
|
698
|
-
|
|
699
|
-
/* @__PURE__ */
|
|
697
|
+
u ? /* @__PURE__ */ v.jsx("dt", { className: ie.t, children: u }) : "",
|
|
698
|
+
y,
|
|
699
|
+
/* @__PURE__ */ v.jsx(
|
|
700
700
|
"dd",
|
|
701
701
|
{
|
|
702
702
|
ref: x,
|
|
703
|
-
className: [
|
|
703
|
+
className: [ie.f, ...s.className].join(
|
|
704
704
|
" "
|
|
705
705
|
),
|
|
706
|
-
...
|
|
707
|
-
children:
|
|
706
|
+
...s.props,
|
|
707
|
+
children: P
|
|
708
708
|
}
|
|
709
709
|
),
|
|
710
|
-
|
|
710
|
+
S
|
|
711
711
|
]
|
|
712
712
|
}
|
|
713
713
|
)
|
|
714
714
|
);
|
|
715
|
-
function
|
|
715
|
+
function kn({
|
|
716
716
|
id: a,
|
|
717
|
-
value:
|
|
717
|
+
value: s,
|
|
718
718
|
onValue: c,
|
|
719
719
|
name: u,
|
|
720
|
-
placeholder:
|
|
721
|
-
title:
|
|
722
|
-
error:
|
|
720
|
+
placeholder: y = "",
|
|
721
|
+
title: S = "",
|
|
722
|
+
error: P = "",
|
|
723
723
|
hide: x = !1,
|
|
724
|
-
edit:
|
|
724
|
+
edit: i = !0,
|
|
725
725
|
active: g = !0,
|
|
726
726
|
after: o = "",
|
|
727
727
|
before: d = "",
|
|
728
728
|
show: b = !0,
|
|
729
|
-
maxLength:
|
|
730
|
-
onSave:
|
|
729
|
+
maxLength: C,
|
|
730
|
+
onSave: F,
|
|
731
731
|
className: A = "",
|
|
732
|
-
isCopy:
|
|
733
|
-
isReload:
|
|
732
|
+
isCopy: M = !0,
|
|
733
|
+
isReload: E = !1
|
|
734
734
|
}) {
|
|
735
|
-
let p = !!(x && (
|
|
735
|
+
let p = !!(x && (s === "" || s === void 0)), I = (R) => {
|
|
736
736
|
c && c({
|
|
737
|
-
value:
|
|
737
|
+
value: R.target.textContent.trim(),
|
|
738
738
|
name: u,
|
|
739
|
-
reload:
|
|
739
|
+
reload: E
|
|
740
740
|
});
|
|
741
|
-
}, K = (
|
|
742
|
-
|
|
743
|
-
}, G = (
|
|
744
|
-
|
|
745
|
-
if (
|
|
746
|
-
let
|
|
747
|
-
if (
|
|
748
|
-
|
|
741
|
+
}, K = (R) => {
|
|
742
|
+
C && R.target.textContent.trim().length >= C && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
|
|
743
|
+
}, G = (R) => {
|
|
744
|
+
R.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
745
|
+
if (C) {
|
|
746
|
+
let O = R.target.textContent.length;
|
|
747
|
+
if (O >= C) return;
|
|
748
|
+
C -= O, T = T.slice(0, C);
|
|
749
749
|
}
|
|
750
750
|
window.document.execCommand(
|
|
751
751
|
"insertText",
|
|
752
752
|
!1,
|
|
753
|
-
|
|
753
|
+
T.replace(/(\r\n|\n|\r)/gm, " ")
|
|
754
754
|
);
|
|
755
|
-
}).catch((
|
|
755
|
+
}).catch((T) => {
|
|
756
756
|
});
|
|
757
757
|
};
|
|
758
|
-
if (!(
|
|
758
|
+
if (!(i && g) && !b || !(i && g) && p) return "";
|
|
759
759
|
const L = {};
|
|
760
|
-
|
|
761
|
-
const q = (
|
|
762
|
-
|
|
760
|
+
y && (L.placeholder = y), i && g && (L.edit = "");
|
|
761
|
+
const q = (R) => {
|
|
762
|
+
ee.Blur(R), F == null || F({ value: R.target.textContent.trim(), name: u });
|
|
763
763
|
};
|
|
764
|
-
return /* @__PURE__ */
|
|
765
|
-
|
|
764
|
+
return /* @__PURE__ */ v.jsx(
|
|
765
|
+
Le,
|
|
766
766
|
{
|
|
767
767
|
type: "input",
|
|
768
|
-
title:
|
|
768
|
+
title: S,
|
|
769
769
|
element_blok: { className: [A] },
|
|
770
|
-
element_input: { className: [
|
|
771
|
-
children: /* @__PURE__ */
|
|
770
|
+
element_input: { className: [ie.w] },
|
|
771
|
+
children: /* @__PURE__ */ v.jsx(
|
|
772
772
|
"div",
|
|
773
773
|
{
|
|
774
774
|
onBlur: q,
|
|
775
775
|
onPaste: G,
|
|
776
|
-
onInput:
|
|
776
|
+
onInput: I,
|
|
777
777
|
onKeyDown: K,
|
|
778
778
|
spellCheck: "true",
|
|
779
|
-
contentEditable:
|
|
779
|
+
contentEditable: i && g ? ee.ContentEditable : "false",
|
|
780
780
|
suppressContentEditableWarning: !0,
|
|
781
781
|
...L,
|
|
782
|
-
children:
|
|
782
|
+
children: s
|
|
783
783
|
}
|
|
784
784
|
)
|
|
785
785
|
}
|
|
@@ -799,15 +799,15 @@ var Bt;
|
|
|
799
799
|
function sr() {
|
|
800
800
|
if (Bt) return vt;
|
|
801
801
|
Bt = 1;
|
|
802
|
-
var a =
|
|
803
|
-
function
|
|
804
|
-
var o, d = {}, b = null,
|
|
805
|
-
g !== void 0 && (b = "" + g),
|
|
806
|
-
for (o in
|
|
807
|
-
if (x && x.defaultProps) for (o in
|
|
808
|
-
return { $$typeof:
|
|
802
|
+
var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
803
|
+
function P(x, i, g) {
|
|
804
|
+
var o, d = {}, b = null, C = null;
|
|
805
|
+
g !== void 0 && (b = "" + g), i.key !== void 0 && (b = "" + i.key), i.ref !== void 0 && (C = i.ref);
|
|
806
|
+
for (o in i) u.call(i, o) && !S.hasOwnProperty(o) && (d[o] = i[o]);
|
|
807
|
+
if (x && x.defaultProps) for (o in i = x.defaultProps, i) d[o] === void 0 && (d[o] = i[o]);
|
|
808
|
+
return { $$typeof: s, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
809
809
|
}
|
|
810
|
-
return vt.Fragment = c, vt.jsx =
|
|
810
|
+
return vt.Fragment = c, vt.jsx = P, vt.jsxs = P, vt;
|
|
811
811
|
}
|
|
812
812
|
var kt = {};
|
|
813
813
|
/**
|
|
@@ -822,41 +822,41 @@ var kt = {};
|
|
|
822
822
|
var Lt;
|
|
823
823
|
function lr() {
|
|
824
824
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
825
|
-
var a =
|
|
826
|
-
function
|
|
825
|
+
var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
|
|
826
|
+
function M(e) {
|
|
827
827
|
if (e === null || typeof e != "object")
|
|
828
828
|
return null;
|
|
829
|
-
var t =
|
|
829
|
+
var t = F && e[F] || e[A];
|
|
830
830
|
return typeof t == "function" ? t : null;
|
|
831
831
|
}
|
|
832
|
-
var
|
|
832
|
+
var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
833
833
|
function p(e) {
|
|
834
834
|
{
|
|
835
835
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
836
836
|
r[n - 1] = arguments[n];
|
|
837
|
-
|
|
837
|
+
I("error", e, r);
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
|
-
function
|
|
840
|
+
function I(e, t, r) {
|
|
841
841
|
{
|
|
842
|
-
var n =
|
|
842
|
+
var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
843
843
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
844
|
-
var
|
|
844
|
+
var m = r.map(function(l) {
|
|
845
845
|
return String(l);
|
|
846
846
|
});
|
|
847
|
-
|
|
847
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
|
-
var K = !1, G = !1, L = !1, q = !1,
|
|
851
|
-
|
|
852
|
-
function
|
|
853
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
850
|
+
var K = !1, G = !1, L = !1, q = !1, R = !1, T;
|
|
851
|
+
T = Symbol.for("react.module.reference");
|
|
852
|
+
function O(e) {
|
|
853
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === i || // This needs to include all possible module reference object
|
|
854
854
|
// types supported by any Flight configuration anywhere since
|
|
855
855
|
// we don't know which Flight build this will end up being used
|
|
856
856
|
// with.
|
|
857
|
-
e.$$typeof ===
|
|
857
|
+
e.$$typeof === T || e.getModuleId !== void 0));
|
|
858
858
|
}
|
|
859
|
-
function
|
|
859
|
+
function W(e, t, r) {
|
|
860
860
|
var n = e.displayName;
|
|
861
861
|
if (n)
|
|
862
862
|
return n;
|
|
@@ -878,9 +878,9 @@ function lr() {
|
|
|
878
878
|
return "Fragment";
|
|
879
879
|
case c:
|
|
880
880
|
return "Portal";
|
|
881
|
-
case
|
|
881
|
+
case S:
|
|
882
882
|
return "Profiler";
|
|
883
|
-
case
|
|
883
|
+
case y:
|
|
884
884
|
return "StrictMode";
|
|
885
885
|
case g:
|
|
886
886
|
return "Suspense";
|
|
@@ -892,18 +892,18 @@ function lr() {
|
|
|
892
892
|
case x:
|
|
893
893
|
var t = e;
|
|
894
894
|
return h(t) + ".Consumer";
|
|
895
|
-
case
|
|
895
|
+
case P:
|
|
896
896
|
var r = e;
|
|
897
897
|
return h(r._context) + ".Provider";
|
|
898
|
-
case
|
|
899
|
-
return
|
|
898
|
+
case i:
|
|
899
|
+
return W(e, e.render, "ForwardRef");
|
|
900
900
|
case d:
|
|
901
901
|
var n = e.displayName || null;
|
|
902
902
|
return n !== null ? n : k(e.type) || "Memo";
|
|
903
903
|
case b: {
|
|
904
|
-
var f = e,
|
|
904
|
+
var f = e, m = f._payload, l = f._init;
|
|
905
905
|
try {
|
|
906
|
-
return k(l(
|
|
906
|
+
return k(l(m));
|
|
907
907
|
} catch {
|
|
908
908
|
return null;
|
|
909
909
|
}
|
|
@@ -911,14 +911,14 @@ function lr() {
|
|
|
911
911
|
}
|
|
912
912
|
return null;
|
|
913
913
|
}
|
|
914
|
-
var $ = Object.assign, Y = 0,
|
|
914
|
+
var $ = Object.assign, Y = 0, X, oe, se, ve, ge, be, ke;
|
|
915
915
|
function we() {
|
|
916
916
|
}
|
|
917
917
|
we.__reactDisabledLog = !0;
|
|
918
|
-
function
|
|
918
|
+
function We() {
|
|
919
919
|
{
|
|
920
920
|
if (Y === 0) {
|
|
921
|
-
|
|
921
|
+
X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
922
922
|
var e = {
|
|
923
923
|
configurable: !0,
|
|
924
924
|
enumerable: !0,
|
|
@@ -938,7 +938,7 @@ function lr() {
|
|
|
938
938
|
Y++;
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
|
-
function
|
|
941
|
+
function Ue() {
|
|
942
942
|
{
|
|
943
943
|
if (Y--, Y === 0) {
|
|
944
944
|
var e = {
|
|
@@ -948,10 +948,10 @@ function lr() {
|
|
|
948
948
|
};
|
|
949
949
|
Object.defineProperties(console, {
|
|
950
950
|
log: $({}, e, {
|
|
951
|
-
value:
|
|
951
|
+
value: X
|
|
952
952
|
}),
|
|
953
953
|
info: $({}, e, {
|
|
954
|
-
value:
|
|
954
|
+
value: oe
|
|
955
955
|
}),
|
|
956
956
|
warn: $({}, e, {
|
|
957
957
|
value: se
|
|
@@ -973,8 +973,8 @@ function lr() {
|
|
|
973
973
|
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
974
974
|
}
|
|
975
975
|
}
|
|
976
|
-
var le =
|
|
977
|
-
function
|
|
976
|
+
var le = E.ReactCurrentDispatcher, ce;
|
|
977
|
+
function te(e, t, r) {
|
|
978
978
|
{
|
|
979
979
|
if (ce === void 0)
|
|
980
980
|
try {
|
|
@@ -987,16 +987,16 @@ function lr() {
|
|
|
987
987
|
` + ce + e;
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
var ue = !1,
|
|
990
|
+
var ue = !1, re;
|
|
991
991
|
{
|
|
992
|
-
var
|
|
993
|
-
|
|
992
|
+
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
993
|
+
re = new Ke();
|
|
994
994
|
}
|
|
995
995
|
function je(e, t) {
|
|
996
996
|
if (!e || ue)
|
|
997
997
|
return "";
|
|
998
998
|
{
|
|
999
|
-
var r =
|
|
999
|
+
var r = re.get(e);
|
|
1000
1000
|
if (r !== void 0)
|
|
1001
1001
|
return r;
|
|
1002
1002
|
}
|
|
@@ -1004,8 +1004,8 @@ function lr() {
|
|
|
1004
1004
|
ue = !0;
|
|
1005
1005
|
var f = Error.prepareStackTrace;
|
|
1006
1006
|
Error.prepareStackTrace = void 0;
|
|
1007
|
-
var
|
|
1008
|
-
|
|
1007
|
+
var m;
|
|
1008
|
+
m = le.current, le.current = null, We();
|
|
1009
1009
|
try {
|
|
1010
1010
|
if (t) {
|
|
1011
1011
|
var l = function() {
|
|
@@ -1018,29 +1018,29 @@ function lr() {
|
|
|
1018
1018
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1019
1019
|
try {
|
|
1020
1020
|
Reflect.construct(l, []);
|
|
1021
|
-
} catch (
|
|
1022
|
-
n =
|
|
1021
|
+
} catch (N) {
|
|
1022
|
+
n = N;
|
|
1023
1023
|
}
|
|
1024
1024
|
Reflect.construct(e, [], l);
|
|
1025
1025
|
} else {
|
|
1026
1026
|
try {
|
|
1027
1027
|
l.call();
|
|
1028
|
-
} catch (
|
|
1029
|
-
n =
|
|
1028
|
+
} catch (N) {
|
|
1029
|
+
n = N;
|
|
1030
1030
|
}
|
|
1031
1031
|
e.call(l.prototype);
|
|
1032
1032
|
}
|
|
1033
1033
|
} else {
|
|
1034
1034
|
try {
|
|
1035
1035
|
throw Error();
|
|
1036
|
-
} catch (
|
|
1037
|
-
n =
|
|
1036
|
+
} catch (N) {
|
|
1037
|
+
n = N;
|
|
1038
1038
|
}
|
|
1039
1039
|
e();
|
|
1040
1040
|
}
|
|
1041
|
-
} catch (
|
|
1042
|
-
if (
|
|
1043
|
-
for (var _ =
|
|
1041
|
+
} catch (N) {
|
|
1042
|
+
if (N && n && typeof N.stack == "string") {
|
|
1043
|
+
for (var _ = N.stack.split(`
|
|
1044
1044
|
`), D = n.stack.split(`
|
|
1045
1045
|
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
1046
1046
|
j--;
|
|
@@ -1051,22 +1051,22 @@ function lr() {
|
|
|
1051
1051
|
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
1052
1052
|
var B = `
|
|
1053
1053
|
` + _[w].replace(" at new ", " at ");
|
|
1054
|
-
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
1054
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
1055
1055
|
}
|
|
1056
1056
|
while (w >= 1 && j >= 0);
|
|
1057
1057
|
break;
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
1060
|
} finally {
|
|
1061
|
-
ue = !1, le.current =
|
|
1061
|
+
ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
|
|
1062
1062
|
}
|
|
1063
|
-
var Z = e ? e.displayName || e.name : "", z = Z ?
|
|
1064
|
-
return typeof e == "function" &&
|
|
1063
|
+
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
1064
|
+
return typeof e == "function" && re.set(e, z), z;
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function qe(e, t, r) {
|
|
1067
1067
|
return je(e, !1);
|
|
1068
1068
|
}
|
|
1069
|
-
function
|
|
1069
|
+
function Ye(e) {
|
|
1070
1070
|
var t = e.prototype;
|
|
1071
1071
|
return !!(t && t.isReactComponent);
|
|
1072
1072
|
}
|
|
@@ -1074,44 +1074,44 @@ function lr() {
|
|
|
1074
1074
|
if (e == null)
|
|
1075
1075
|
return "";
|
|
1076
1076
|
if (typeof e == "function")
|
|
1077
|
-
return je(e,
|
|
1077
|
+
return je(e, Ye(e));
|
|
1078
1078
|
if (typeof e == "string")
|
|
1079
|
-
return
|
|
1079
|
+
return te(e);
|
|
1080
1080
|
switch (e) {
|
|
1081
1081
|
case g:
|
|
1082
|
-
return
|
|
1082
|
+
return te("Suspense");
|
|
1083
1083
|
case o:
|
|
1084
|
-
return
|
|
1084
|
+
return te("SuspenseList");
|
|
1085
1085
|
}
|
|
1086
1086
|
if (typeof e == "object")
|
|
1087
1087
|
switch (e.$$typeof) {
|
|
1088
|
-
case
|
|
1089
|
-
return
|
|
1088
|
+
case i:
|
|
1089
|
+
return qe(e.render);
|
|
1090
1090
|
case d:
|
|
1091
1091
|
return ne(e.type, t, r);
|
|
1092
1092
|
case b: {
|
|
1093
|
-
var n = e, f = n._payload,
|
|
1093
|
+
var n = e, f = n._payload, m = n._init;
|
|
1094
1094
|
try {
|
|
1095
|
-
return ne(
|
|
1095
|
+
return ne(m(f), t, r);
|
|
1096
1096
|
} catch {
|
|
1097
1097
|
}
|
|
1098
1098
|
}
|
|
1099
1099
|
}
|
|
1100
1100
|
return "";
|
|
1101
1101
|
}
|
|
1102
|
-
var
|
|
1103
|
-
function
|
|
1102
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
|
|
1103
|
+
function ae(e) {
|
|
1104
1104
|
if (e) {
|
|
1105
1105
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1106
1106
|
Ce.setExtraStackFrame(r);
|
|
1107
1107
|
} else
|
|
1108
1108
|
Ce.setExtraStackFrame(null);
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function Ge(e, t, r, n, f) {
|
|
1111
1111
|
{
|
|
1112
|
-
var
|
|
1112
|
+
var m = Function.call.bind(V);
|
|
1113
1113
|
for (var l in e)
|
|
1114
|
-
if (
|
|
1114
|
+
if (m(e, l)) {
|
|
1115
1115
|
var _ = void 0;
|
|
1116
1116
|
try {
|
|
1117
1117
|
if (typeof e[l] != "function") {
|
|
@@ -1122,21 +1122,21 @@ function lr() {
|
|
|
1122
1122
|
} catch (w) {
|
|
1123
1123
|
_ = w;
|
|
1124
1124
|
}
|
|
1125
|
-
_ && !(_ instanceof Error) && (
|
|
1125
|
+
_ && !(_ instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), ae(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, ae(f), p("Failed %s type: %s", r, _.message), ae(null));
|
|
1126
1126
|
}
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
|
-
var
|
|
1129
|
+
var ze = Array.isArray;
|
|
1130
1130
|
function de(e) {
|
|
1131
|
-
return
|
|
1131
|
+
return ze(e);
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function He(e) {
|
|
1134
1134
|
{
|
|
1135
1135
|
var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1136
1136
|
return r;
|
|
1137
1137
|
}
|
|
1138
1138
|
}
|
|
1139
|
-
function
|
|
1139
|
+
function Je(e) {
|
|
1140
1140
|
try {
|
|
1141
1141
|
return Se(e), !1;
|
|
1142
1142
|
} catch {
|
|
@@ -1147,35 +1147,35 @@ function lr() {
|
|
|
1147
1147
|
return "" + e;
|
|
1148
1148
|
}
|
|
1149
1149
|
function Re(e) {
|
|
1150
|
-
if (
|
|
1151
|
-
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1150
|
+
if (Je(e))
|
|
1151
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
1152
1152
|
}
|
|
1153
|
-
var Ee =
|
|
1153
|
+
var Ee = E.ReactCurrentOwner, Ze = {
|
|
1154
1154
|
key: !0,
|
|
1155
1155
|
ref: !0,
|
|
1156
1156
|
__self: !0,
|
|
1157
1157
|
__source: !0
|
|
1158
1158
|
}, Oe, Te;
|
|
1159
|
-
function
|
|
1160
|
-
if (
|
|
1159
|
+
function Ve(e) {
|
|
1160
|
+
if (V.call(e, "ref")) {
|
|
1161
1161
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1162
1162
|
if (t && t.isReactWarning)
|
|
1163
1163
|
return !1;
|
|
1164
1164
|
}
|
|
1165
1165
|
return e.ref !== void 0;
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1168
|
-
if (
|
|
1167
|
+
function Xe(e) {
|
|
1168
|
+
if (V.call(e, "key")) {
|
|
1169
1169
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1170
1170
|
if (t && t.isReactWarning)
|
|
1171
1171
|
return !1;
|
|
1172
1172
|
}
|
|
1173
1173
|
return e.key !== void 0;
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function Qe(e, t) {
|
|
1176
1176
|
typeof e.ref == "string" && Ee.current;
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1178
|
+
function et(e, t) {
|
|
1179
1179
|
{
|
|
1180
1180
|
var r = function() {
|
|
1181
1181
|
Oe || (Oe = !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));
|
|
@@ -1186,7 +1186,7 @@ function lr() {
|
|
|
1186
1186
|
});
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1189
|
+
function tt(e, t) {
|
|
1190
1190
|
{
|
|
1191
1191
|
var r = function() {
|
|
1192
1192
|
Te || (Te = !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));
|
|
@@ -1197,17 +1197,17 @@ function lr() {
|
|
|
1197
1197
|
});
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
|
-
var
|
|
1200
|
+
var rt = function(e, t, r, n, f, m, l) {
|
|
1201
1201
|
var _ = {
|
|
1202
1202
|
// This tag allows us to uniquely identify this as a React Element
|
|
1203
|
-
$$typeof:
|
|
1203
|
+
$$typeof: s,
|
|
1204
1204
|
// Built-in properties that belong on the element
|
|
1205
1205
|
type: e,
|
|
1206
1206
|
key: t,
|
|
1207
1207
|
ref: r,
|
|
1208
1208
|
props: l,
|
|
1209
1209
|
// Record the component responsible for creating this element.
|
|
1210
|
-
_owner:
|
|
1210
|
+
_owner: m
|
|
1211
1211
|
};
|
|
1212
1212
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1213
1213
|
configurable: !1,
|
|
@@ -1226,25 +1226,25 @@ function lr() {
|
|
|
1226
1226
|
value: f
|
|
1227
1227
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1228
1228
|
};
|
|
1229
|
-
function
|
|
1229
|
+
function nt(e, t, r, n, f) {
|
|
1230
1230
|
{
|
|
1231
|
-
var
|
|
1232
|
-
r !== void 0 && (Re(r), _ = "" + r),
|
|
1233
|
-
for (
|
|
1234
|
-
|
|
1231
|
+
var m, l = {}, _ = null, D = null;
|
|
1232
|
+
r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (D = t.ref, Qe(t));
|
|
1233
|
+
for (m in t)
|
|
1234
|
+
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1235
1235
|
if (e && e.defaultProps) {
|
|
1236
1236
|
var w = e.defaultProps;
|
|
1237
|
-
for (
|
|
1238
|
-
l[
|
|
1237
|
+
for (m in w)
|
|
1238
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
1239
1239
|
}
|
|
1240
1240
|
if (_ || D) {
|
|
1241
1241
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1242
|
-
_ &&
|
|
1242
|
+
_ && et(l, j), D && tt(l, j);
|
|
1243
1243
|
}
|
|
1244
|
-
return
|
|
1244
|
+
return rt(e, _, D, f, n, Ee.current, l);
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
|
-
var fe =
|
|
1247
|
+
var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
|
|
1248
1248
|
function J(e) {
|
|
1249
1249
|
if (e) {
|
|
1250
1250
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -1255,7 +1255,7 @@ function lr() {
|
|
|
1255
1255
|
var pe;
|
|
1256
1256
|
pe = !1;
|
|
1257
1257
|
function me(e) {
|
|
1258
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
1258
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
1259
1259
|
}
|
|
1260
1260
|
function Pe() {
|
|
1261
1261
|
{
|
|
@@ -1273,7 +1273,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1273
1273
|
return "";
|
|
1274
1274
|
}
|
|
1275
1275
|
var Ne = {};
|
|
1276
|
-
function
|
|
1276
|
+
function ot(e) {
|
|
1277
1277
|
{
|
|
1278
1278
|
var t = Pe();
|
|
1279
1279
|
if (!t) {
|
|
@@ -1290,7 +1290,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1290
1290
|
if (!e._store || e._store.validated || e.key != null)
|
|
1291
1291
|
return;
|
|
1292
1292
|
e._store.validated = !0;
|
|
1293
|
-
var r =
|
|
1293
|
+
var r = ot(t);
|
|
1294
1294
|
if (Ne[r])
|
|
1295
1295
|
return;
|
|
1296
1296
|
Ne[r] = !0;
|
|
@@ -1310,14 +1310,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1310
1310
|
else if (me(e))
|
|
1311
1311
|
e._store && (e._store.validated = !0);
|
|
1312
1312
|
else if (e) {
|
|
1313
|
-
var f =
|
|
1313
|
+
var f = M(e);
|
|
1314
1314
|
if (typeof f == "function" && f !== e.entries)
|
|
1315
|
-
for (var
|
|
1315
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
1316
1316
|
me(l.value) && Fe(l.value, t);
|
|
1317
1317
|
}
|
|
1318
1318
|
}
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function _t(e) {
|
|
1321
1321
|
{
|
|
1322
1322
|
var t = e.type;
|
|
1323
1323
|
if (t == null || typeof t == "string")
|
|
@@ -1325,7 +1325,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1325
1325
|
var r;
|
|
1326
1326
|
if (typeof t == "function")
|
|
1327
1327
|
r = t.propTypes;
|
|
1328
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
1328
|
+
else if (typeof t == "object" && (t.$$typeof === i || // Note: Memo only checks outer props here.
|
|
1329
1329
|
// Inner props are checked in the reconciler.
|
|
1330
1330
|
t.$$typeof === d))
|
|
1331
1331
|
r = t.propTypes;
|
|
@@ -1333,7 +1333,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1333
1333
|
return;
|
|
1334
1334
|
if (r) {
|
|
1335
1335
|
var n = k(t);
|
|
1336
|
-
|
|
1336
|
+
Ge(r, e.props, "prop", n, e);
|
|
1337
1337
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
1338
1338
|
pe = !0;
|
|
1339
1339
|
var f = k(t);
|
|
@@ -1355,18 +1355,18 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1355
1355
|
}
|
|
1356
1356
|
}
|
|
1357
1357
|
var Me = {};
|
|
1358
|
-
function $e(e, t, r, n, f,
|
|
1358
|
+
function $e(e, t, r, n, f, m) {
|
|
1359
1359
|
{
|
|
1360
|
-
var l =
|
|
1360
|
+
var l = O(e);
|
|
1361
1361
|
if (!l) {
|
|
1362
1362
|
var _ = "";
|
|
1363
1363
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1364
1364
|
var D = at();
|
|
1365
1365
|
D ? _ += D : _ += Pe();
|
|
1366
1366
|
var w;
|
|
1367
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
1367
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === s ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
1368
1368
|
}
|
|
1369
|
-
var j =
|
|
1369
|
+
var j = nt(e, t, r, f, m);
|
|
1370
1370
|
if (j == null)
|
|
1371
1371
|
return j;
|
|
1372
1372
|
if (l) {
|
|
@@ -1382,31 +1382,31 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1382
1382
|
else
|
|
1383
1383
|
Ie(B, e);
|
|
1384
1384
|
}
|
|
1385
|
-
if (
|
|
1386
|
-
var z = k(e),
|
|
1387
|
-
return
|
|
1388
|
-
}), ye =
|
|
1385
|
+
if (V.call(t, "key")) {
|
|
1386
|
+
var z = k(e), N = Object.keys(t).filter(function(ft) {
|
|
1387
|
+
return ft !== "key";
|
|
1388
|
+
}), ye = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1389
1389
|
if (!Me[z + ye]) {
|
|
1390
|
-
var
|
|
1390
|
+
var dt = N.length > 0 ? "{" + N.join(": ..., ") + ": ...}" : "{}";
|
|
1391
1391
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
1392
1392
|
let props = %s;
|
|
1393
1393
|
<%s {...props} />
|
|
1394
1394
|
React keys must be passed directly to JSX without using spread:
|
|
1395
1395
|
let props = %s;
|
|
1396
|
-
<%s key={someKey} {...props} />`, ye, z,
|
|
1396
|
+
<%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
|
|
1397
1397
|
}
|
|
1398
1398
|
}
|
|
1399
|
-
return e === u ? it(j) :
|
|
1399
|
+
return e === u ? it(j) : _t(j), j;
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
1402
|
-
function
|
|
1402
|
+
function st(e, t, r) {
|
|
1403
1403
|
return $e(e, t, r, !0);
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1405
|
+
function lt(e, t, r) {
|
|
1406
1406
|
return $e(e, t, r, !1);
|
|
1407
1407
|
}
|
|
1408
|
-
var
|
|
1409
|
-
kt.Fragment = u, kt.jsx =
|
|
1408
|
+
var ct = lt, ut = st;
|
|
1409
|
+
kt.Fragment = u, kt.jsx = ct, kt.jsxs = ut;
|
|
1410
1410
|
}()), kt;
|
|
1411
1411
|
}
|
|
1412
1412
|
process.env.NODE_ENV === "production" ? Dt.exports = sr() : Dt.exports = lr();
|
|
@@ -1435,27 +1435,27 @@ const cr = "_shake_oqfdb_1", ur = "_modal_oqfdb_79", dr = "_sa_oqfdb_89", fr = "
|
|
|
1435
1435
|
g: Tr,
|
|
1436
1436
|
m: Dr
|
|
1437
1437
|
};
|
|
1438
|
-
function Pr({ children: a, className:
|
|
1438
|
+
function Pr({ children: a, className: s }) {
|
|
1439
1439
|
return /* @__PURE__ */ H.jsx(
|
|
1440
1440
|
"div",
|
|
1441
1441
|
{
|
|
1442
|
-
className: [_e.l,
|
|
1442
|
+
className: [_e.l, s].filter((c) => c !== void 0).join(" "),
|
|
1443
1443
|
children: /* @__PURE__ */ H.jsx("ul", { children: a })
|
|
1444
1444
|
}
|
|
1445
1445
|
);
|
|
1446
1446
|
}
|
|
1447
|
-
function Nr({ children: a, className:
|
|
1447
|
+
function Nr({ children: a, className: s }) {
|
|
1448
1448
|
return /* @__PURE__ */ H.jsx(
|
|
1449
1449
|
"div",
|
|
1450
1450
|
{
|
|
1451
|
-
className: [_e.s,
|
|
1451
|
+
className: [_e.s, s].filter((c) => c !== void 0).join(" "),
|
|
1452
1452
|
children: a
|
|
1453
1453
|
}
|
|
1454
1454
|
);
|
|
1455
1455
|
}
|
|
1456
1456
|
function Fr({
|
|
1457
1457
|
children: a,
|
|
1458
|
-
direction:
|
|
1458
|
+
direction: s = "column",
|
|
1459
1459
|
className: c
|
|
1460
1460
|
}) {
|
|
1461
1461
|
return /* @__PURE__ */ H.jsx(
|
|
@@ -1463,27 +1463,27 @@ function Fr({
|
|
|
1463
1463
|
{
|
|
1464
1464
|
className: [
|
|
1465
1465
|
_e.f,
|
|
1466
|
-
_e[
|
|
1466
|
+
_e[s === "row" ? "r_" : "c_"],
|
|
1467
1467
|
c
|
|
1468
1468
|
].filter((u) => u !== void 0).join(" "),
|
|
1469
1469
|
children: a
|
|
1470
1470
|
}
|
|
1471
1471
|
);
|
|
1472
1472
|
}
|
|
1473
|
-
function Ir({ children: a, className:
|
|
1473
|
+
function Ir({ children: a, className: s }) {
|
|
1474
1474
|
return /* @__PURE__ */ H.jsx(
|
|
1475
1475
|
"div",
|
|
1476
1476
|
{
|
|
1477
|
-
className: [_e.c,
|
|
1477
|
+
className: [_e.c, s].filter((c) => c !== void 0).join(" "),
|
|
1478
1478
|
children: a
|
|
1479
1479
|
}
|
|
1480
1480
|
);
|
|
1481
1481
|
}
|
|
1482
|
-
function Mr({ children: a, className:
|
|
1482
|
+
function Mr({ children: a, className: s }) {
|
|
1483
1483
|
return /* @__PURE__ */ H.jsx(
|
|
1484
1484
|
"div",
|
|
1485
1485
|
{
|
|
1486
|
-
className: [_e.g,
|
|
1486
|
+
className: [_e.g, s].filter((c) => c !== void 0).join(" "),
|
|
1487
1487
|
children: a
|
|
1488
1488
|
}
|
|
1489
1489
|
);
|
|
@@ -1508,15 +1508,15 @@ var Ut;
|
|
|
1508
1508
|
function Ar() {
|
|
1509
1509
|
if (Ut) return gt;
|
|
1510
1510
|
Ut = 1;
|
|
1511
|
-
var a =
|
|
1512
|
-
function
|
|
1513
|
-
var o, d = {}, b = null,
|
|
1514
|
-
g !== void 0 && (b = "" + g),
|
|
1515
|
-
for (o in
|
|
1516
|
-
if (x && x.defaultProps) for (o in
|
|
1517
|
-
return { $$typeof:
|
|
1511
|
+
var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1512
|
+
function P(x, i, g) {
|
|
1513
|
+
var o, d = {}, b = null, C = null;
|
|
1514
|
+
g !== void 0 && (b = "" + g), i.key !== void 0 && (b = "" + i.key), i.ref !== void 0 && (C = i.ref);
|
|
1515
|
+
for (o in i) u.call(i, o) && !S.hasOwnProperty(o) && (d[o] = i[o]);
|
|
1516
|
+
if (x && x.defaultProps) for (o in i = x.defaultProps, i) d[o] === void 0 && (d[o] = i[o]);
|
|
1517
|
+
return { $$typeof: s, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
1518
1518
|
}
|
|
1519
|
-
return gt.Fragment = c, gt.jsx =
|
|
1519
|
+
return gt.Fragment = c, gt.jsx = P, gt.jsxs = P, gt;
|
|
1520
1520
|
}
|
|
1521
1521
|
var wt = {};
|
|
1522
1522
|
/**
|
|
@@ -1531,41 +1531,41 @@ var wt = {};
|
|
|
1531
1531
|
var Kt;
|
|
1532
1532
|
function Br() {
|
|
1533
1533
|
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1534
|
-
var a =
|
|
1535
|
-
function
|
|
1534
|
+
var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
|
|
1535
|
+
function M(e) {
|
|
1536
1536
|
if (e === null || typeof e != "object")
|
|
1537
1537
|
return null;
|
|
1538
|
-
var t =
|
|
1538
|
+
var t = F && e[F] || e[A];
|
|
1539
1539
|
return typeof t == "function" ? t : null;
|
|
1540
1540
|
}
|
|
1541
|
-
var
|
|
1541
|
+
var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1542
1542
|
function p(e) {
|
|
1543
1543
|
{
|
|
1544
1544
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
1545
1545
|
r[n - 1] = arguments[n];
|
|
1546
|
-
|
|
1546
|
+
I("error", e, r);
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function I(e, t, r) {
|
|
1550
1550
|
{
|
|
1551
|
-
var n =
|
|
1551
|
+
var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
1552
1552
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
1553
|
-
var
|
|
1553
|
+
var m = r.map(function(l) {
|
|
1554
1554
|
return String(l);
|
|
1555
1555
|
});
|
|
1556
|
-
|
|
1556
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
|
-
var K = !1, G = !1, L = !1, q = !1,
|
|
1560
|
-
|
|
1561
|
-
function
|
|
1562
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
1559
|
+
var K = !1, G = !1, L = !1, q = !1, R = !1, T;
|
|
1560
|
+
T = Symbol.for("react.module.reference");
|
|
1561
|
+
function O(e) {
|
|
1562
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === i || // This needs to include all possible module reference object
|
|
1563
1563
|
// types supported by any Flight configuration anywhere since
|
|
1564
1564
|
// we don't know which Flight build this will end up being used
|
|
1565
1565
|
// with.
|
|
1566
|
-
e.$$typeof ===
|
|
1566
|
+
e.$$typeof === T || e.getModuleId !== void 0));
|
|
1567
1567
|
}
|
|
1568
|
-
function
|
|
1568
|
+
function W(e, t, r) {
|
|
1569
1569
|
var n = e.displayName;
|
|
1570
1570
|
if (n)
|
|
1571
1571
|
return n;
|
|
@@ -1587,9 +1587,9 @@ function Br() {
|
|
|
1587
1587
|
return "Fragment";
|
|
1588
1588
|
case c:
|
|
1589
1589
|
return "Portal";
|
|
1590
|
-
case
|
|
1590
|
+
case S:
|
|
1591
1591
|
return "Profiler";
|
|
1592
|
-
case
|
|
1592
|
+
case y:
|
|
1593
1593
|
return "StrictMode";
|
|
1594
1594
|
case g:
|
|
1595
1595
|
return "Suspense";
|
|
@@ -1601,18 +1601,18 @@ function Br() {
|
|
|
1601
1601
|
case x:
|
|
1602
1602
|
var t = e;
|
|
1603
1603
|
return h(t) + ".Consumer";
|
|
1604
|
-
case
|
|
1604
|
+
case P:
|
|
1605
1605
|
var r = e;
|
|
1606
1606
|
return h(r._context) + ".Provider";
|
|
1607
|
-
case
|
|
1608
|
-
return
|
|
1607
|
+
case i:
|
|
1608
|
+
return W(e, e.render, "ForwardRef");
|
|
1609
1609
|
case d:
|
|
1610
1610
|
var n = e.displayName || null;
|
|
1611
1611
|
return n !== null ? n : k(e.type) || "Memo";
|
|
1612
1612
|
case b: {
|
|
1613
|
-
var f = e,
|
|
1613
|
+
var f = e, m = f._payload, l = f._init;
|
|
1614
1614
|
try {
|
|
1615
|
-
return k(l(
|
|
1615
|
+
return k(l(m));
|
|
1616
1616
|
} catch {
|
|
1617
1617
|
return null;
|
|
1618
1618
|
}
|
|
@@ -1620,14 +1620,14 @@ function Br() {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
return null;
|
|
1622
1622
|
}
|
|
1623
|
-
var $ = Object.assign, Y = 0,
|
|
1623
|
+
var $ = Object.assign, Y = 0, X, oe, se, ve, ge, be, ke;
|
|
1624
1624
|
function we() {
|
|
1625
1625
|
}
|
|
1626
1626
|
we.__reactDisabledLog = !0;
|
|
1627
|
-
function
|
|
1627
|
+
function We() {
|
|
1628
1628
|
{
|
|
1629
1629
|
if (Y === 0) {
|
|
1630
|
-
|
|
1630
|
+
X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
1631
1631
|
var e = {
|
|
1632
1632
|
configurable: !0,
|
|
1633
1633
|
enumerable: !0,
|
|
@@ -1647,7 +1647,7 @@ function Br() {
|
|
|
1647
1647
|
Y++;
|
|
1648
1648
|
}
|
|
1649
1649
|
}
|
|
1650
|
-
function
|
|
1650
|
+
function Ue() {
|
|
1651
1651
|
{
|
|
1652
1652
|
if (Y--, Y === 0) {
|
|
1653
1653
|
var e = {
|
|
@@ -1657,10 +1657,10 @@ function Br() {
|
|
|
1657
1657
|
};
|
|
1658
1658
|
Object.defineProperties(console, {
|
|
1659
1659
|
log: $({}, e, {
|
|
1660
|
-
value:
|
|
1660
|
+
value: X
|
|
1661
1661
|
}),
|
|
1662
1662
|
info: $({}, e, {
|
|
1663
|
-
value:
|
|
1663
|
+
value: oe
|
|
1664
1664
|
}),
|
|
1665
1665
|
warn: $({}, e, {
|
|
1666
1666
|
value: se
|
|
@@ -1682,8 +1682,8 @@ function Br() {
|
|
|
1682
1682
|
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1683
1683
|
}
|
|
1684
1684
|
}
|
|
1685
|
-
var le =
|
|
1686
|
-
function
|
|
1685
|
+
var le = E.ReactCurrentDispatcher, ce;
|
|
1686
|
+
function te(e, t, r) {
|
|
1687
1687
|
{
|
|
1688
1688
|
if (ce === void 0)
|
|
1689
1689
|
try {
|
|
@@ -1696,16 +1696,16 @@ function Br() {
|
|
|
1696
1696
|
` + ce + e;
|
|
1697
1697
|
}
|
|
1698
1698
|
}
|
|
1699
|
-
var ue = !1,
|
|
1699
|
+
var ue = !1, re;
|
|
1700
1700
|
{
|
|
1701
|
-
var
|
|
1702
|
-
|
|
1701
|
+
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1702
|
+
re = new Ke();
|
|
1703
1703
|
}
|
|
1704
1704
|
function je(e, t) {
|
|
1705
1705
|
if (!e || ue)
|
|
1706
1706
|
return "";
|
|
1707
1707
|
{
|
|
1708
|
-
var r =
|
|
1708
|
+
var r = re.get(e);
|
|
1709
1709
|
if (r !== void 0)
|
|
1710
1710
|
return r;
|
|
1711
1711
|
}
|
|
@@ -1713,8 +1713,8 @@ function Br() {
|
|
|
1713
1713
|
ue = !0;
|
|
1714
1714
|
var f = Error.prepareStackTrace;
|
|
1715
1715
|
Error.prepareStackTrace = void 0;
|
|
1716
|
-
var
|
|
1717
|
-
|
|
1716
|
+
var m;
|
|
1717
|
+
m = le.current, le.current = null, We();
|
|
1718
1718
|
try {
|
|
1719
1719
|
if (t) {
|
|
1720
1720
|
var l = function() {
|
|
@@ -1727,29 +1727,29 @@ function Br() {
|
|
|
1727
1727
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1728
1728
|
try {
|
|
1729
1729
|
Reflect.construct(l, []);
|
|
1730
|
-
} catch (
|
|
1731
|
-
n =
|
|
1730
|
+
} catch (N) {
|
|
1731
|
+
n = N;
|
|
1732
1732
|
}
|
|
1733
1733
|
Reflect.construct(e, [], l);
|
|
1734
1734
|
} else {
|
|
1735
1735
|
try {
|
|
1736
1736
|
l.call();
|
|
1737
|
-
} catch (
|
|
1738
|
-
n =
|
|
1737
|
+
} catch (N) {
|
|
1738
|
+
n = N;
|
|
1739
1739
|
}
|
|
1740
1740
|
e.call(l.prototype);
|
|
1741
1741
|
}
|
|
1742
1742
|
} else {
|
|
1743
1743
|
try {
|
|
1744
1744
|
throw Error();
|
|
1745
|
-
} catch (
|
|
1746
|
-
n =
|
|
1745
|
+
} catch (N) {
|
|
1746
|
+
n = N;
|
|
1747
1747
|
}
|
|
1748
1748
|
e();
|
|
1749
1749
|
}
|
|
1750
|
-
} catch (
|
|
1751
|
-
if (
|
|
1752
|
-
for (var _ =
|
|
1750
|
+
} catch (N) {
|
|
1751
|
+
if (N && n && typeof N.stack == "string") {
|
|
1752
|
+
for (var _ = N.stack.split(`
|
|
1753
1753
|
`), D = n.stack.split(`
|
|
1754
1754
|
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
1755
1755
|
j--;
|
|
@@ -1760,22 +1760,22 @@ function Br() {
|
|
|
1760
1760
|
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
1761
1761
|
var B = `
|
|
1762
1762
|
` + _[w].replace(" at new ", " at ");
|
|
1763
|
-
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
1763
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
1764
1764
|
}
|
|
1765
1765
|
while (w >= 1 && j >= 0);
|
|
1766
1766
|
break;
|
|
1767
1767
|
}
|
|
1768
1768
|
}
|
|
1769
1769
|
} finally {
|
|
1770
|
-
ue = !1, le.current =
|
|
1770
|
+
ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
|
|
1771
1771
|
}
|
|
1772
|
-
var Z = e ? e.displayName || e.name : "", z = Z ?
|
|
1773
|
-
return typeof e == "function" &&
|
|
1772
|
+
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
1773
|
+
return typeof e == "function" && re.set(e, z), z;
|
|
1774
1774
|
}
|
|
1775
|
-
function
|
|
1775
|
+
function qe(e, t, r) {
|
|
1776
1776
|
return je(e, !1);
|
|
1777
1777
|
}
|
|
1778
|
-
function
|
|
1778
|
+
function Ye(e) {
|
|
1779
1779
|
var t = e.prototype;
|
|
1780
1780
|
return !!(t && t.isReactComponent);
|
|
1781
1781
|
}
|
|
@@ -1783,44 +1783,44 @@ function Br() {
|
|
|
1783
1783
|
if (e == null)
|
|
1784
1784
|
return "";
|
|
1785
1785
|
if (typeof e == "function")
|
|
1786
|
-
return je(e,
|
|
1786
|
+
return je(e, Ye(e));
|
|
1787
1787
|
if (typeof e == "string")
|
|
1788
|
-
return
|
|
1788
|
+
return te(e);
|
|
1789
1789
|
switch (e) {
|
|
1790
1790
|
case g:
|
|
1791
|
-
return
|
|
1791
|
+
return te("Suspense");
|
|
1792
1792
|
case o:
|
|
1793
|
-
return
|
|
1793
|
+
return te("SuspenseList");
|
|
1794
1794
|
}
|
|
1795
1795
|
if (typeof e == "object")
|
|
1796
1796
|
switch (e.$$typeof) {
|
|
1797
|
-
case
|
|
1798
|
-
return
|
|
1797
|
+
case i:
|
|
1798
|
+
return qe(e.render);
|
|
1799
1799
|
case d:
|
|
1800
1800
|
return ne(e.type, t, r);
|
|
1801
1801
|
case b: {
|
|
1802
|
-
var n = e, f = n._payload,
|
|
1802
|
+
var n = e, f = n._payload, m = n._init;
|
|
1803
1803
|
try {
|
|
1804
|
-
return ne(
|
|
1804
|
+
return ne(m(f), t, r);
|
|
1805
1805
|
} catch {
|
|
1806
1806
|
}
|
|
1807
1807
|
}
|
|
1808
1808
|
}
|
|
1809
1809
|
return "";
|
|
1810
1810
|
}
|
|
1811
|
-
var
|
|
1812
|
-
function
|
|
1811
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
|
|
1812
|
+
function ae(e) {
|
|
1813
1813
|
if (e) {
|
|
1814
1814
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
1815
1815
|
Ce.setExtraStackFrame(r);
|
|
1816
1816
|
} else
|
|
1817
1817
|
Ce.setExtraStackFrame(null);
|
|
1818
1818
|
}
|
|
1819
|
-
function
|
|
1819
|
+
function Ge(e, t, r, n, f) {
|
|
1820
1820
|
{
|
|
1821
|
-
var
|
|
1821
|
+
var m = Function.call.bind(V);
|
|
1822
1822
|
for (var l in e)
|
|
1823
|
-
if (
|
|
1823
|
+
if (m(e, l)) {
|
|
1824
1824
|
var _ = void 0;
|
|
1825
1825
|
try {
|
|
1826
1826
|
if (typeof e[l] != "function") {
|
|
@@ -1831,21 +1831,21 @@ function Br() {
|
|
|
1831
1831
|
} catch (w) {
|
|
1832
1832
|
_ = w;
|
|
1833
1833
|
}
|
|
1834
|
-
_ && !(_ instanceof Error) && (
|
|
1834
|
+
_ && !(_ instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), ae(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, ae(f), p("Failed %s type: %s", r, _.message), ae(null));
|
|
1835
1835
|
}
|
|
1836
1836
|
}
|
|
1837
1837
|
}
|
|
1838
|
-
var
|
|
1838
|
+
var ze = Array.isArray;
|
|
1839
1839
|
function de(e) {
|
|
1840
|
-
return
|
|
1840
|
+
return ze(e);
|
|
1841
1841
|
}
|
|
1842
|
-
function
|
|
1842
|
+
function He(e) {
|
|
1843
1843
|
{
|
|
1844
1844
|
var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1845
1845
|
return r;
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
|
-
function
|
|
1848
|
+
function Je(e) {
|
|
1849
1849
|
try {
|
|
1850
1850
|
return Se(e), !1;
|
|
1851
1851
|
} catch {
|
|
@@ -1856,35 +1856,35 @@ function Br() {
|
|
|
1856
1856
|
return "" + e;
|
|
1857
1857
|
}
|
|
1858
1858
|
function Re(e) {
|
|
1859
|
-
if (
|
|
1860
|
-
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1859
|
+
if (Je(e))
|
|
1860
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
1861
1861
|
}
|
|
1862
|
-
var Ee =
|
|
1862
|
+
var Ee = E.ReactCurrentOwner, Ze = {
|
|
1863
1863
|
key: !0,
|
|
1864
1864
|
ref: !0,
|
|
1865
1865
|
__self: !0,
|
|
1866
1866
|
__source: !0
|
|
1867
1867
|
}, Oe, Te;
|
|
1868
|
-
function
|
|
1869
|
-
if (
|
|
1868
|
+
function Ve(e) {
|
|
1869
|
+
if (V.call(e, "ref")) {
|
|
1870
1870
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1871
1871
|
if (t && t.isReactWarning)
|
|
1872
1872
|
return !1;
|
|
1873
1873
|
}
|
|
1874
1874
|
return e.ref !== void 0;
|
|
1875
1875
|
}
|
|
1876
|
-
function
|
|
1877
|
-
if (
|
|
1876
|
+
function Xe(e) {
|
|
1877
|
+
if (V.call(e, "key")) {
|
|
1878
1878
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1879
1879
|
if (t && t.isReactWarning)
|
|
1880
1880
|
return !1;
|
|
1881
1881
|
}
|
|
1882
1882
|
return e.key !== void 0;
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function Qe(e, t) {
|
|
1885
1885
|
typeof e.ref == "string" && Ee.current;
|
|
1886
1886
|
}
|
|
1887
|
-
function
|
|
1887
|
+
function et(e, t) {
|
|
1888
1888
|
{
|
|
1889
1889
|
var r = function() {
|
|
1890
1890
|
Oe || (Oe = !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));
|
|
@@ -1895,7 +1895,7 @@ function Br() {
|
|
|
1895
1895
|
});
|
|
1896
1896
|
}
|
|
1897
1897
|
}
|
|
1898
|
-
function
|
|
1898
|
+
function tt(e, t) {
|
|
1899
1899
|
{
|
|
1900
1900
|
var r = function() {
|
|
1901
1901
|
Te || (Te = !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));
|
|
@@ -1906,17 +1906,17 @@ function Br() {
|
|
|
1906
1906
|
});
|
|
1907
1907
|
}
|
|
1908
1908
|
}
|
|
1909
|
-
var
|
|
1909
|
+
var rt = function(e, t, r, n, f, m, l) {
|
|
1910
1910
|
var _ = {
|
|
1911
1911
|
// This tag allows us to uniquely identify this as a React Element
|
|
1912
|
-
$$typeof:
|
|
1912
|
+
$$typeof: s,
|
|
1913
1913
|
// Built-in properties that belong on the element
|
|
1914
1914
|
type: e,
|
|
1915
1915
|
key: t,
|
|
1916
1916
|
ref: r,
|
|
1917
1917
|
props: l,
|
|
1918
1918
|
// Record the component responsible for creating this element.
|
|
1919
|
-
_owner:
|
|
1919
|
+
_owner: m
|
|
1920
1920
|
};
|
|
1921
1921
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1922
1922
|
configurable: !1,
|
|
@@ -1935,25 +1935,25 @@ function Br() {
|
|
|
1935
1935
|
value: f
|
|
1936
1936
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1937
1937
|
};
|
|
1938
|
-
function
|
|
1938
|
+
function nt(e, t, r, n, f) {
|
|
1939
1939
|
{
|
|
1940
|
-
var
|
|
1941
|
-
r !== void 0 && (Re(r), _ = "" + r),
|
|
1942
|
-
for (
|
|
1943
|
-
|
|
1940
|
+
var m, l = {}, _ = null, D = null;
|
|
1941
|
+
r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (D = t.ref, Qe(t));
|
|
1942
|
+
for (m in t)
|
|
1943
|
+
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1944
1944
|
if (e && e.defaultProps) {
|
|
1945
1945
|
var w = e.defaultProps;
|
|
1946
|
-
for (
|
|
1947
|
-
l[
|
|
1946
|
+
for (m in w)
|
|
1947
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
1948
1948
|
}
|
|
1949
1949
|
if (_ || D) {
|
|
1950
1950
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1951
|
-
_ &&
|
|
1951
|
+
_ && et(l, j), D && tt(l, j);
|
|
1952
1952
|
}
|
|
1953
|
-
return
|
|
1953
|
+
return rt(e, _, D, f, n, Ee.current, l);
|
|
1954
1954
|
}
|
|
1955
1955
|
}
|
|
1956
|
-
var fe =
|
|
1956
|
+
var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
|
|
1957
1957
|
function J(e) {
|
|
1958
1958
|
if (e) {
|
|
1959
1959
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -1964,7 +1964,7 @@ function Br() {
|
|
|
1964
1964
|
var pe;
|
|
1965
1965
|
pe = !1;
|
|
1966
1966
|
function me(e) {
|
|
1967
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
1967
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
1968
1968
|
}
|
|
1969
1969
|
function Pe() {
|
|
1970
1970
|
{
|
|
@@ -1982,7 +1982,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1982
1982
|
return "";
|
|
1983
1983
|
}
|
|
1984
1984
|
var Ne = {};
|
|
1985
|
-
function
|
|
1985
|
+
function ot(e) {
|
|
1986
1986
|
{
|
|
1987
1987
|
var t = Pe();
|
|
1988
1988
|
if (!t) {
|
|
@@ -1999,7 +1999,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1999
1999
|
if (!e._store || e._store.validated || e.key != null)
|
|
2000
2000
|
return;
|
|
2001
2001
|
e._store.validated = !0;
|
|
2002
|
-
var r =
|
|
2002
|
+
var r = ot(t);
|
|
2003
2003
|
if (Ne[r])
|
|
2004
2004
|
return;
|
|
2005
2005
|
Ne[r] = !0;
|
|
@@ -2019,14 +2019,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2019
2019
|
else if (me(e))
|
|
2020
2020
|
e._store && (e._store.validated = !0);
|
|
2021
2021
|
else if (e) {
|
|
2022
|
-
var f =
|
|
2022
|
+
var f = M(e);
|
|
2023
2023
|
if (typeof f == "function" && f !== e.entries)
|
|
2024
|
-
for (var
|
|
2024
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
2025
2025
|
me(l.value) && Fe(l.value, t);
|
|
2026
2026
|
}
|
|
2027
2027
|
}
|
|
2028
2028
|
}
|
|
2029
|
-
function
|
|
2029
|
+
function _t(e) {
|
|
2030
2030
|
{
|
|
2031
2031
|
var t = e.type;
|
|
2032
2032
|
if (t == null || typeof t == "string")
|
|
@@ -2034,7 +2034,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2034
2034
|
var r;
|
|
2035
2035
|
if (typeof t == "function")
|
|
2036
2036
|
r = t.propTypes;
|
|
2037
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
2037
|
+
else if (typeof t == "object" && (t.$$typeof === i || // Note: Memo only checks outer props here.
|
|
2038
2038
|
// Inner props are checked in the reconciler.
|
|
2039
2039
|
t.$$typeof === d))
|
|
2040
2040
|
r = t.propTypes;
|
|
@@ -2042,7 +2042,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2042
2042
|
return;
|
|
2043
2043
|
if (r) {
|
|
2044
2044
|
var n = k(t);
|
|
2045
|
-
|
|
2045
|
+
Ge(r, e.props, "prop", n, e);
|
|
2046
2046
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
2047
2047
|
pe = !0;
|
|
2048
2048
|
var f = k(t);
|
|
@@ -2064,18 +2064,18 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2064
2064
|
}
|
|
2065
2065
|
}
|
|
2066
2066
|
var Me = {};
|
|
2067
|
-
function $e(e, t, r, n, f,
|
|
2067
|
+
function $e(e, t, r, n, f, m) {
|
|
2068
2068
|
{
|
|
2069
|
-
var l =
|
|
2069
|
+
var l = O(e);
|
|
2070
2070
|
if (!l) {
|
|
2071
2071
|
var _ = "";
|
|
2072
2072
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2073
2073
|
var D = at();
|
|
2074
2074
|
D ? _ += D : _ += Pe();
|
|
2075
2075
|
var w;
|
|
2076
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
2076
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === s ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
2077
2077
|
}
|
|
2078
|
-
var j =
|
|
2078
|
+
var j = nt(e, t, r, f, m);
|
|
2079
2079
|
if (j == null)
|
|
2080
2080
|
return j;
|
|
2081
2081
|
if (l) {
|
|
@@ -2091,31 +2091,31 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2091
2091
|
else
|
|
2092
2092
|
Ie(B, e);
|
|
2093
2093
|
}
|
|
2094
|
-
if (
|
|
2095
|
-
var z = k(e),
|
|
2096
|
-
return
|
|
2097
|
-
}), ye =
|
|
2094
|
+
if (V.call(t, "key")) {
|
|
2095
|
+
var z = k(e), N = Object.keys(t).filter(function(ft) {
|
|
2096
|
+
return ft !== "key";
|
|
2097
|
+
}), ye = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2098
2098
|
if (!Me[z + ye]) {
|
|
2099
|
-
var
|
|
2099
|
+
var dt = N.length > 0 ? "{" + N.join(": ..., ") + ": ...}" : "{}";
|
|
2100
2100
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
2101
2101
|
let props = %s;
|
|
2102
2102
|
<%s {...props} />
|
|
2103
2103
|
React keys must be passed directly to JSX without using spread:
|
|
2104
2104
|
let props = %s;
|
|
2105
|
-
<%s key={someKey} {...props} />`, ye, z,
|
|
2105
|
+
<%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
|
|
2106
2106
|
}
|
|
2107
2107
|
}
|
|
2108
|
-
return e === u ? it(j) :
|
|
2108
|
+
return e === u ? it(j) : _t(j), j;
|
|
2109
2109
|
}
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2111
|
+
function st(e, t, r) {
|
|
2112
2112
|
return $e(e, t, r, !0);
|
|
2113
2113
|
}
|
|
2114
|
-
function
|
|
2114
|
+
function lt(e, t, r) {
|
|
2115
2115
|
return $e(e, t, r, !1);
|
|
2116
2116
|
}
|
|
2117
|
-
var
|
|
2118
|
-
wt.Fragment = u, wt.jsx =
|
|
2117
|
+
var ct = lt, ut = st;
|
|
2118
|
+
wt.Fragment = u, wt.jsx = ct, wt.jsxs = ut;
|
|
2119
2119
|
}()), wt;
|
|
2120
2120
|
}
|
|
2121
2121
|
process.env.NODE_ENV === "production" ? Pt.exports = Ar() : Pt.exports = Br();
|
|
@@ -2131,25 +2131,25 @@ const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", Kr
|
|
|
2131
2131
|
l: Gr
|
|
2132
2132
|
}, zr = ({
|
|
2133
2133
|
onClick: a,
|
|
2134
|
-
onSend:
|
|
2134
|
+
onSend: s,
|
|
2135
2135
|
size: c = "m",
|
|
2136
2136
|
view: u = "confirm",
|
|
2137
|
-
children:
|
|
2138
|
-
isDisabled:
|
|
2139
|
-
className:
|
|
2137
|
+
children: y,
|
|
2138
|
+
isDisabled: S = !1,
|
|
2139
|
+
className: P,
|
|
2140
2140
|
after: x,
|
|
2141
|
-
before:
|
|
2141
|
+
before: i,
|
|
2142
2142
|
label: g,
|
|
2143
2143
|
onRef: o,
|
|
2144
2144
|
awaitText: d = "Ожидайте"
|
|
2145
2145
|
}) => {
|
|
2146
|
-
let [b,
|
|
2147
|
-
const
|
|
2146
|
+
let [b, C] = U.useState(!1);
|
|
2147
|
+
const F = (M) => {
|
|
2148
2148
|
if (a) return a();
|
|
2149
|
-
b || (
|
|
2149
|
+
b || (s ? (C(!0), s(C)) : M.preventDefault());
|
|
2150
2150
|
};
|
|
2151
2151
|
let A = {};
|
|
2152
|
-
return (
|
|
2152
|
+
return (S || b) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2153
2153
|
"button",
|
|
2154
2154
|
{
|
|
2155
2155
|
...A,
|
|
@@ -2158,16 +2158,16 @@ const Lr = "_btn_1k1b3_1", Wr = "_confirm_1k1b3_15", Ur = "_cancel_1k1b3_20", Kr
|
|
|
2158
2158
|
jt.btn,
|
|
2159
2159
|
b ? jt.disabled : jt[u],
|
|
2160
2160
|
c && jt[c],
|
|
2161
|
-
|
|
2162
|
-
].filter((
|
|
2163
|
-
onClick:
|
|
2161
|
+
P
|
|
2162
|
+
].filter((M) => M != "").join(" "),
|
|
2163
|
+
onClick: F,
|
|
2164
2164
|
children: b ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2165
|
-
|
|
2165
|
+
i || "",
|
|
2166
2166
|
" ",
|
|
2167
2167
|
g,
|
|
2168
2168
|
" ",
|
|
2169
2169
|
x || ""
|
|
2170
|
-
] }) ||
|
|
2170
|
+
] }) || y
|
|
2171
2171
|
}
|
|
2172
2172
|
);
|
|
2173
2173
|
};
|
|
@@ -2177,50 +2177,50 @@ function Hr({ children: a }) {
|
|
|
2177
2177
|
}
|
|
2178
2178
|
var Ct;
|
|
2179
2179
|
((a) => {
|
|
2180
|
-
function
|
|
2180
|
+
function s({
|
|
2181
2181
|
import_modules: o
|
|
2182
2182
|
}) {
|
|
2183
|
-
let [d, b] =
|
|
2184
|
-
return Ae.x = (
|
|
2185
|
-
b(
|
|
2183
|
+
let [d, b] = U.useState([]);
|
|
2184
|
+
return Ae.x = (C) => {
|
|
2185
|
+
b(C ? d.filter((F) => F.key !== C) : []);
|
|
2186
2186
|
}, Zt(() => {
|
|
2187
2187
|
o && (Ae.i = o);
|
|
2188
|
-
}, []), Ae.add = (
|
|
2189
|
-
b([...d, { key:
|
|
2190
|
-
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((
|
|
2188
|
+
}, []), Ae.add = (C, F = Date.now()) => {
|
|
2189
|
+
b([...d, { key: F, item: C }]);
|
|
2190
|
+
}, /* @__PURE__ */ H.jsx(H.Fragment, { children: d.map((C) => C.item) });
|
|
2191
2191
|
}
|
|
2192
|
-
a.Init =
|
|
2192
|
+
a.Init = s;
|
|
2193
2193
|
function c(o) {
|
|
2194
2194
|
return o && (Ae.i = o), Ae.i;
|
|
2195
2195
|
}
|
|
2196
2196
|
a.Import = c, a.List = Pr, a.Scroll = Nr, a.Form = Fr, a.Center = Ir, a.Column = Mr;
|
|
2197
2197
|
function u(o, d, b) {
|
|
2198
|
-
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((
|
|
2199
|
-
|
|
2200
|
-
}) : Wt()(`${o}/modal/${d}.tsx`).then((
|
|
2201
|
-
|
|
2198
|
+
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((C) => {
|
|
2199
|
+
C.default.Open(b);
|
|
2200
|
+
}) : Wt()(`${o}/modal/${d}.tsx`).then((C) => {
|
|
2201
|
+
C.default.Open(b);
|
|
2202
2202
|
});
|
|
2203
2203
|
}
|
|
2204
2204
|
a.Open = u;
|
|
2205
|
-
function
|
|
2206
|
-
let [
|
|
2207
|
-
return
|
|
2205
|
+
function y({ type: o, name: d, params: b }) {
|
|
2206
|
+
let [C, F] = U.useState(null);
|
|
2207
|
+
return U.useEffect(() => {
|
|
2208
2208
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2209
|
-
|
|
2209
|
+
F(A.default.Icon(b));
|
|
2210
2210
|
}) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2211
|
-
|
|
2211
|
+
F(A.default.Icon(b));
|
|
2212
2212
|
});
|
|
2213
|
-
}, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children:
|
|
2213
|
+
}, [b.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: C });
|
|
2214
2214
|
}
|
|
2215
|
-
a.Icon =
|
|
2216
|
-
function
|
|
2215
|
+
a.Icon = y;
|
|
2216
|
+
function S(o, d) {
|
|
2217
2217
|
Ae.add(/* @__PURE__ */ H.jsx(Hr, { children: o }, String(Date.now())), d);
|
|
2218
2218
|
}
|
|
2219
|
-
a.Add =
|
|
2220
|
-
function
|
|
2219
|
+
a.Add = S;
|
|
2220
|
+
function P(o) {
|
|
2221
2221
|
Ae.x(o);
|
|
2222
2222
|
}
|
|
2223
|
-
a.Close =
|
|
2223
|
+
a.Close = P;
|
|
2224
2224
|
function x(o) {
|
|
2225
2225
|
if (o.target.classList[0] !== "modal") return;
|
|
2226
2226
|
let d = o.target.children[0];
|
|
@@ -2229,40 +2229,40 @@ var Ct;
|
|
|
2229
2229
|
}, 1e3);
|
|
2230
2230
|
}
|
|
2231
2231
|
a.Shake = x;
|
|
2232
|
-
function
|
|
2233
|
-
const b = (
|
|
2232
|
+
function i(o, d) {
|
|
2233
|
+
const b = (C) => {
|
|
2234
2234
|
a.Add(
|
|
2235
|
-
/* @__PURE__ */ H.jsx(o, { ...
|
|
2235
|
+
/* @__PURE__ */ H.jsx(o, { ...C }, (/* @__PURE__ */ new Date()).getTime())
|
|
2236
2236
|
);
|
|
2237
2237
|
};
|
|
2238
2238
|
return {
|
|
2239
|
-
Icon: (
|
|
2239
|
+
Icon: (C) => /* @__PURE__ */ H.jsx("i", { onClick: () => b(C), children: d && /* @__PURE__ */ H.jsx(d, {}) }),
|
|
2240
2240
|
Open: b
|
|
2241
2241
|
};
|
|
2242
2242
|
}
|
|
2243
|
-
a.Create =
|
|
2243
|
+
a.Create = i;
|
|
2244
2244
|
function g({
|
|
2245
2245
|
title: o,
|
|
2246
2246
|
children: d,
|
|
2247
2247
|
button: b,
|
|
2248
|
-
tabs:
|
|
2249
|
-
size:
|
|
2248
|
+
tabs: C,
|
|
2249
|
+
size: F = "m",
|
|
2250
2250
|
className: A = "",
|
|
2251
|
-
shake:
|
|
2252
|
-
menu:
|
|
2251
|
+
shake: M = !0,
|
|
2252
|
+
menu: E
|
|
2253
2253
|
}) {
|
|
2254
|
-
const [p,
|
|
2254
|
+
const [p, I] = U.useState(!0), K = U.useRef(), G = (q) => {
|
|
2255
2255
|
if (b) {
|
|
2256
2256
|
if (b.onClick)
|
|
2257
|
-
return q(!1), b.onClick({ setOpen:
|
|
2257
|
+
return q(!1), b.onClick({ setOpen: I });
|
|
2258
2258
|
if (b.onSend)
|
|
2259
2259
|
return b.onSend({
|
|
2260
|
-
setOpen:
|
|
2260
|
+
setOpen: I,
|
|
2261
2261
|
disabled: q
|
|
2262
2262
|
});
|
|
2263
2263
|
}
|
|
2264
2264
|
}, L = () => {
|
|
2265
|
-
if (!
|
|
2265
|
+
if (!M) return I(!1);
|
|
2266
2266
|
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2267
2267
|
K.current.setAttribute("shake", !1);
|
|
2268
2268
|
}, 1e3);
|
|
@@ -2272,29 +2272,29 @@ var Ct;
|
|
|
2272
2272
|
/* @__PURE__ */ H.jsxs(
|
|
2273
2273
|
"div",
|
|
2274
2274
|
{
|
|
2275
|
-
className: [_e.w, _e[`s${
|
|
2275
|
+
className: [_e.w, _e[`s${F}`], A].filter((q) => q != "").join(" "),
|
|
2276
2276
|
ref: K,
|
|
2277
2277
|
children: [
|
|
2278
2278
|
/* @__PURE__ */ H.jsxs("div", { className: _e.h, children: [
|
|
2279
2279
|
/* @__PURE__ */ H.jsx("div", { className: _e.t, children: o }),
|
|
2280
2280
|
/* @__PURE__ */ H.jsxs("div", { className: _e.m, children: [
|
|
2281
|
-
|
|
2281
|
+
C && /* @__PURE__ */ H.jsx("nav", { children: C.map((q, R) => /* @__PURE__ */ H.jsx(
|
|
2282
2282
|
"span",
|
|
2283
2283
|
{
|
|
2284
2284
|
onClick: q.onClick,
|
|
2285
2285
|
className: q.active ? "active" : "",
|
|
2286
2286
|
children: q.name
|
|
2287
2287
|
},
|
|
2288
|
-
|
|
2288
|
+
R
|
|
2289
2289
|
)) }),
|
|
2290
|
-
|
|
2290
|
+
E
|
|
2291
2291
|
] }),
|
|
2292
2292
|
/* @__PURE__ */ H.jsx(
|
|
2293
2293
|
"div",
|
|
2294
2294
|
{
|
|
2295
2295
|
className: _e.x,
|
|
2296
2296
|
onClick: () => {
|
|
2297
|
-
|
|
2297
|
+
I(!1);
|
|
2298
2298
|
},
|
|
2299
2299
|
children: /* @__PURE__ */ H.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ H.jsx(
|
|
2300
2300
|
"path",
|
|
@@ -2326,44 +2326,44 @@ var Ct;
|
|
|
2326
2326
|
}
|
|
2327
2327
|
a.Main = g;
|
|
2328
2328
|
})(Ct || (Ct = {}));
|
|
2329
|
-
const Jr = (a,
|
|
2330
|
-
function
|
|
2329
|
+
const Jr = (a, s = ",") => (a = a !== void 0 && a !== "" ? a.split(s) : [], a.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
2330
|
+
function wn({
|
|
2331
2331
|
value: a,
|
|
2332
|
-
onValue:
|
|
2332
|
+
onValue: s,
|
|
2333
2333
|
name: c,
|
|
2334
2334
|
placeholder: u = "",
|
|
2335
|
-
separator:
|
|
2336
|
-
title:
|
|
2337
|
-
error:
|
|
2335
|
+
separator: y = ",",
|
|
2336
|
+
title: S,
|
|
2337
|
+
error: P,
|
|
2338
2338
|
hide: x = !1,
|
|
2339
|
-
edit:
|
|
2339
|
+
edit: i = !0,
|
|
2340
2340
|
active: g = !0,
|
|
2341
2341
|
outFormat: o = "object",
|
|
2342
2342
|
after: d = "",
|
|
2343
2343
|
modal: b,
|
|
2344
|
-
options:
|
|
2345
|
-
className:
|
|
2344
|
+
options: C,
|
|
2345
|
+
className: F
|
|
2346
2346
|
}) {
|
|
2347
|
-
const [A,
|
|
2348
|
-
if (!(
|
|
2349
|
-
let
|
|
2350
|
-
Ct.Open(
|
|
2347
|
+
const [A, M] = U.useState(Jr(a, y)), E = (p) => {
|
|
2348
|
+
if (!(i && g) || !b) return;
|
|
2349
|
+
let I = b.split(".");
|
|
2350
|
+
Ct.Open(I[0], I[1], {
|
|
2351
2351
|
callback: (K) => {
|
|
2352
|
-
if (
|
|
2352
|
+
if (s)
|
|
2353
2353
|
switch (o) {
|
|
2354
2354
|
case "array":
|
|
2355
|
-
|
|
2355
|
+
s({ value: Object.keys(K), name: c });
|
|
2356
2356
|
break;
|
|
2357
2357
|
case "string":
|
|
2358
|
-
|
|
2359
|
-
value: Object.keys(K).filter((G) => K[G]).join(
|
|
2358
|
+
s({
|
|
2359
|
+
value: Object.keys(K).filter((G) => K[G]).join(y),
|
|
2360
2360
|
name: c
|
|
2361
2361
|
});
|
|
2362
2362
|
break;
|
|
2363
2363
|
default:
|
|
2364
|
-
|
|
2364
|
+
s({ value: K, name: c });
|
|
2365
2365
|
}
|
|
2366
|
-
|
|
2366
|
+
M(
|
|
2367
2367
|
Object.fromEntries(
|
|
2368
2368
|
Object.entries(K).filter(
|
|
2369
2369
|
([G, L]) => L !== !1
|
|
@@ -2371,27 +2371,27 @@ function wa({
|
|
|
2371
2371
|
)
|
|
2372
2372
|
);
|
|
2373
2373
|
},
|
|
2374
|
-
onValue:
|
|
2375
|
-
options:
|
|
2374
|
+
onValue: s,
|
|
2375
|
+
options: C,
|
|
2376
2376
|
name: c,
|
|
2377
2377
|
value: A
|
|
2378
2378
|
});
|
|
2379
2379
|
};
|
|
2380
|
-
return x ? /* @__PURE__ */
|
|
2381
|
-
|
|
2380
|
+
return x ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
|
|
2381
|
+
Le,
|
|
2382
2382
|
{
|
|
2383
2383
|
type: "group",
|
|
2384
|
-
title:
|
|
2385
|
-
element_blok: { className: [
|
|
2384
|
+
title: S,
|
|
2385
|
+
element_blok: { className: [F] },
|
|
2386
2386
|
element_input: {
|
|
2387
|
-
className: [
|
|
2387
|
+
className: [ie.g],
|
|
2388
2388
|
props: {
|
|
2389
|
-
onClick:
|
|
2389
|
+
onClick: E
|
|
2390
2390
|
}
|
|
2391
2391
|
},
|
|
2392
2392
|
children: Object.keys(A).map((p) => {
|
|
2393
|
-
var
|
|
2394
|
-
return /* @__PURE__ */
|
|
2393
|
+
var I;
|
|
2394
|
+
return /* @__PURE__ */ v.jsx("div", { children: (I = C[p]) == null ? void 0 : I.label }, p);
|
|
2395
2395
|
})
|
|
2396
2396
|
}
|
|
2397
2397
|
);
|
|
@@ -2401,59 +2401,59 @@ const Zr = "_o_1wehm_12", Vr = "_l_1wehm_22", Xr = "_f_1wehm_81", Nt = {
|
|
|
2401
2401
|
l: Vr,
|
|
2402
2402
|
f: Xr
|
|
2403
2403
|
};
|
|
2404
|
-
function
|
|
2404
|
+
function jn({
|
|
2405
2405
|
title: a,
|
|
2406
|
-
error:
|
|
2406
|
+
error: s,
|
|
2407
2407
|
edit: c = !0,
|
|
2408
2408
|
active: u = !0,
|
|
2409
|
-
hide:
|
|
2410
|
-
value:
|
|
2411
|
-
onValue:
|
|
2409
|
+
hide: y,
|
|
2410
|
+
value: S = 0,
|
|
2411
|
+
onValue: P,
|
|
2412
2412
|
options: x,
|
|
2413
|
-
placeholder:
|
|
2413
|
+
placeholder: i = "",
|
|
2414
2414
|
className: g,
|
|
2415
2415
|
isIcon: o = !0,
|
|
2416
2416
|
name: d,
|
|
2417
2417
|
after: b,
|
|
2418
|
-
view:
|
|
2419
|
-
order:
|
|
2418
|
+
view: C,
|
|
2419
|
+
order: F,
|
|
2420
2420
|
isReload: A = !1
|
|
2421
2421
|
}) {
|
|
2422
|
-
var
|
|
2423
|
-
const
|
|
2424
|
-
|
|
2425
|
-
p(
|
|
2426
|
-
}, [
|
|
2427
|
-
let
|
|
2428
|
-
p(k),
|
|
2429
|
-
},
|
|
2430
|
-
Object.keys(
|
|
2431
|
-
},
|
|
2432
|
-
return
|
|
2433
|
-
/* @__PURE__ */
|
|
2434
|
-
|
|
2422
|
+
var W, h;
|
|
2423
|
+
const M = U.useRef(null), [E, p] = U.useState(S), [I, K] = U.useState(x), [G, L] = U.useState(!1);
|
|
2424
|
+
U.useEffect(() => {
|
|
2425
|
+
p(S), K(x);
|
|
2426
|
+
}, [S, x]), y = !!(y && (S === 0 || ((W = I == null ? void 0 : I[S]) == null ? void 0 : W.n) === void 0)) && !(c && u);
|
|
2427
|
+
let R = (k) => {
|
|
2428
|
+
p(k), P && P({ value: k, name: d, reload: A });
|
|
2429
|
+
}, T = (k) => {
|
|
2430
|
+
Object.keys(I || {}).length !== 0 && c && u && (M.position = M.current.getBoundingClientRect(), L(!0));
|
|
2431
|
+
}, O = {};
|
|
2432
|
+
return i && (O.placeholder = i), y ? "" : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
2433
|
+
/* @__PURE__ */ v.jsx(
|
|
2434
|
+
Le,
|
|
2435
2435
|
{
|
|
2436
2436
|
type: "select",
|
|
2437
2437
|
title: a,
|
|
2438
2438
|
element_blok: { className: [g] },
|
|
2439
2439
|
element_input: {
|
|
2440
2440
|
className: [Nt.f],
|
|
2441
|
-
props: { onClick:
|
|
2441
|
+
props: { onClick: T }
|
|
2442
2442
|
},
|
|
2443
|
-
ref:
|
|
2444
|
-
children: /* @__PURE__ */
|
|
2443
|
+
ref: M,
|
|
2444
|
+
children: /* @__PURE__ */ v.jsx("div", { ...O, children: (h = I == null ? void 0 : I[E]) == null ? void 0 : h.n })
|
|
2445
2445
|
}
|
|
2446
2446
|
),
|
|
2447
2447
|
G && Mt(
|
|
2448
|
-
/* @__PURE__ */
|
|
2448
|
+
/* @__PURE__ */ v.jsx(
|
|
2449
2449
|
Qr,
|
|
2450
2450
|
{
|
|
2451
|
-
parent:
|
|
2452
|
-
onValue:
|
|
2453
|
-
view:
|
|
2451
|
+
parent: M.position,
|
|
2452
|
+
onValue: R,
|
|
2453
|
+
view: C,
|
|
2454
2454
|
className: g,
|
|
2455
|
-
options:
|
|
2456
|
-
order:
|
|
2455
|
+
options: I,
|
|
2456
|
+
order: F,
|
|
2457
2457
|
setOpen: L
|
|
2458
2458
|
},
|
|
2459
2459
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -2464,247 +2464,244 @@ function ja({
|
|
|
2464
2464
|
}
|
|
2465
2465
|
const Qr = ({
|
|
2466
2466
|
onValue: a,
|
|
2467
|
-
parent:
|
|
2467
|
+
parent: s,
|
|
2468
2468
|
className: c,
|
|
2469
2469
|
options: u,
|
|
2470
|
-
order:
|
|
2471
|
-
setOpen:
|
|
2470
|
+
order: y,
|
|
2471
|
+
setOpen: S
|
|
2472
2472
|
}) => {
|
|
2473
|
-
let
|
|
2474
|
-
|
|
2473
|
+
let P = () => {
|
|
2474
|
+
S(!1);
|
|
2475
2475
|
}, x = (o) => {
|
|
2476
|
-
|
|
2477
|
-
},
|
|
2478
|
-
return /* @__PURE__ */
|
|
2479
|
-
/* @__PURE__ */
|
|
2476
|
+
S(!1), a(o);
|
|
2477
|
+
}, i = window.innerHeight - s.y + s.height < 320 ? s.y - 312 : s.y + 33, g = window.innerWidth - s.x < 265 ? s.x - 235 : s.x;
|
|
2478
|
+
return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
2479
|
+
/* @__PURE__ */ v.jsx(
|
|
2480
2480
|
"div",
|
|
2481
2481
|
{
|
|
2482
2482
|
className: Nt.o,
|
|
2483
|
-
onClick:
|
|
2483
|
+
onClick: P
|
|
2484
2484
|
},
|
|
2485
2485
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2486
2486
|
),
|
|
2487
|
-
/* @__PURE__ */
|
|
2487
|
+
/* @__PURE__ */ v.jsx(
|
|
2488
2488
|
"div",
|
|
2489
2489
|
{
|
|
2490
2490
|
className: [Nt.l, c].filter((o) => o !== void 0).join(" "),
|
|
2491
2491
|
style: {
|
|
2492
|
-
top:
|
|
2492
|
+
top: i + "px",
|
|
2493
2493
|
left: g + "px",
|
|
2494
|
-
width:
|
|
2494
|
+
width: s.width
|
|
2495
2495
|
},
|
|
2496
|
-
children: /* @__PURE__ */
|
|
2496
|
+
children: /* @__PURE__ */ v.jsx(en, { order: y, options: u, link: x })
|
|
2497
2497
|
}
|
|
2498
2498
|
)
|
|
2499
2499
|
] });
|
|
2500
|
-
},
|
|
2501
|
-
(u,
|
|
2500
|
+
}, en = ({ order: a, options: s, link: c }) => a ? /* @__PURE__ */ v.jsx("ul", { children: a.map(
|
|
2501
|
+
(u, y) => s[u].s !== 0 ? /* @__PURE__ */ v.jsx(
|
|
2502
2502
|
"li",
|
|
2503
2503
|
{
|
|
2504
2504
|
onClick: () => {
|
|
2505
2505
|
c(u);
|
|
2506
2506
|
},
|
|
2507
|
-
children:
|
|
2507
|
+
children: s[u].n
|
|
2508
2508
|
},
|
|
2509
|
-
|
|
2509
|
+
y
|
|
2510
2510
|
) : ""
|
|
2511
|
-
) }) : /* @__PURE__ */
|
|
2512
|
-
(u,
|
|
2511
|
+
) }) : /* @__PURE__ */ v.jsx("ul", { children: Object.keys(s).map(
|
|
2512
|
+
(u, y) => s[u].s !== 0 ? /* @__PURE__ */ v.jsx(
|
|
2513
2513
|
"li",
|
|
2514
2514
|
{
|
|
2515
2515
|
onClick: () => {
|
|
2516
2516
|
c(u);
|
|
2517
2517
|
},
|
|
2518
|
-
children:
|
|
2518
|
+
children: s[u].n
|
|
2519
2519
|
},
|
|
2520
|
-
|
|
2520
|
+
y
|
|
2521
2521
|
) : ""
|
|
2522
2522
|
) });
|
|
2523
|
-
function
|
|
2523
|
+
function xn({
|
|
2524
2524
|
value: a,
|
|
2525
|
-
onValue:
|
|
2525
|
+
onValue: s,
|
|
2526
2526
|
name: c,
|
|
2527
2527
|
placeholder: u = "",
|
|
2528
|
-
title:
|
|
2529
|
-
error:
|
|
2530
|
-
hide:
|
|
2528
|
+
title: y,
|
|
2529
|
+
error: S,
|
|
2530
|
+
hide: P = !1,
|
|
2531
2531
|
edit: x = !0,
|
|
2532
|
-
show:
|
|
2532
|
+
show: i = !0,
|
|
2533
2533
|
active: g = !0,
|
|
2534
2534
|
after: o = "",
|
|
2535
2535
|
view: d,
|
|
2536
2536
|
modal: b,
|
|
2537
|
-
module:
|
|
2538
|
-
options:
|
|
2537
|
+
module: C,
|
|
2538
|
+
options: F,
|
|
2539
2539
|
className: A
|
|
2540
2540
|
}) {
|
|
2541
|
-
let [
|
|
2541
|
+
let [M, E] = U.useState(a), p = (G) => {
|
|
2542
2542
|
if (!(x && g) || !b) return;
|
|
2543
2543
|
let L = b.split(".");
|
|
2544
2544
|
Ct.Open(L[0], L[1], {
|
|
2545
2545
|
callback: (q) => {
|
|
2546
|
-
|
|
2546
|
+
s && s({ value: q, name: c }), E(q);
|
|
2547
2547
|
},
|
|
2548
|
-
onValue:
|
|
2549
|
-
options:
|
|
2548
|
+
onValue: s,
|
|
2549
|
+
options: F,
|
|
2550
2550
|
name: c,
|
|
2551
2551
|
value: a
|
|
2552
2552
|
});
|
|
2553
2553
|
};
|
|
2554
|
-
const
|
|
2555
|
-
|
|
2554
|
+
const I = {};
|
|
2555
|
+
I.field = "input", A && (I.className = A);
|
|
2556
2556
|
const K = {};
|
|
2557
|
-
return u && (K.placeholder = u),
|
|
2558
|
-
|
|
2559
|
-
/* @__PURE__ */
|
|
2557
|
+
return u && (K.placeholder = u), P ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsxs("dl", { ...I, children: [
|
|
2558
|
+
y && /* @__PURE__ */ v.jsx("dt", { children: y }),
|
|
2559
|
+
/* @__PURE__ */ v.jsx(
|
|
2560
2560
|
"dd",
|
|
2561
2561
|
{
|
|
2562
2562
|
...K,
|
|
2563
2563
|
onClick: p,
|
|
2564
2564
|
edit: (x && g) + "",
|
|
2565
2565
|
"data-after": o,
|
|
2566
|
-
children:
|
|
2566
|
+
children: M
|
|
2567
2567
|
}
|
|
2568
2568
|
),
|
|
2569
|
-
|
|
2569
|
+
S && /* @__PURE__ */ v.jsx("em", { children: S })
|
|
2570
2570
|
] });
|
|
2571
2571
|
}
|
|
2572
|
-
function
|
|
2572
|
+
function Cn({
|
|
2573
2573
|
value: a,
|
|
2574
|
-
onValue:
|
|
2574
|
+
onValue: s,
|
|
2575
2575
|
onSave: c,
|
|
2576
2576
|
name: u,
|
|
2577
|
-
placeholder:
|
|
2578
|
-
className:
|
|
2579
|
-
title:
|
|
2577
|
+
placeholder: y = "",
|
|
2578
|
+
className: S,
|
|
2579
|
+
title: P,
|
|
2580
2580
|
error: x,
|
|
2581
|
-
edit:
|
|
2581
|
+
edit: i = !0,
|
|
2582
2582
|
active: g = !0,
|
|
2583
2583
|
reload: o = !1,
|
|
2584
2584
|
native: d = !1,
|
|
2585
2585
|
isShow: b = !1,
|
|
2586
|
-
maxLength:
|
|
2587
|
-
eyes:
|
|
2586
|
+
maxLength: C,
|
|
2587
|
+
eyes: F = [],
|
|
2588
2588
|
after: A = ""
|
|
2589
2589
|
}) {
|
|
2590
|
-
const [
|
|
2591
|
-
let p = (
|
|
2592
|
-
|
|
2593
|
-
value:
|
|
2590
|
+
const [M, E] = U.useState(b);
|
|
2591
|
+
let p = (R) => {
|
|
2592
|
+
s && s({
|
|
2593
|
+
value: R.target.textContent,
|
|
2594
2594
|
name: u,
|
|
2595
2595
|
reload: o
|
|
2596
2596
|
});
|
|
2597
|
-
},
|
|
2598
|
-
|
|
2599
|
-
}, K = (
|
|
2600
|
-
|
|
2601
|
-
if (
|
|
2602
|
-
let
|
|
2603
|
-
if (
|
|
2604
|
-
|
|
2597
|
+
}, I = (R) => {
|
|
2598
|
+
R.key === "Enter" && R.preventDefault();
|
|
2599
|
+
}, K = (R) => {
|
|
2600
|
+
R.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
2601
|
+
if (C) {
|
|
2602
|
+
let O = R.target.textContent.length;
|
|
2603
|
+
if (O >= C) return;
|
|
2604
|
+
C -= O, T = T.slice(0, C);
|
|
2605
2605
|
}
|
|
2606
2606
|
window.document.execCommand(
|
|
2607
2607
|
"insertText",
|
|
2608
2608
|
!1,
|
|
2609
|
-
|
|
2609
|
+
T.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2610
2610
|
);
|
|
2611
|
-
}).catch((
|
|
2611
|
+
}).catch((T) => {
|
|
2612
2612
|
});
|
|
2613
|
-
}, G = (
|
|
2614
|
-
|
|
2613
|
+
}, G = (R) => {
|
|
2614
|
+
ee.Blur(R), c == null || c({ value: R.target.textContent.trim(), name: u });
|
|
2615
2615
|
};
|
|
2616
2616
|
const L = {};
|
|
2617
|
-
L.field = "password",
|
|
2617
|
+
L.field = "password", M && (L.show = ""), S && (L.className = S);
|
|
2618
2618
|
const q = {};
|
|
2619
|
-
return
|
|
2620
|
-
|
|
2621
|
-
/* @__PURE__ */
|
|
2619
|
+
return y && (q.placeholder = y), d ? "" : /* @__PURE__ */ v.jsxs("dl", { ...L, children: [
|
|
2620
|
+
P ? /* @__PURE__ */ v.jsx("dt", { children: P }) : "",
|
|
2621
|
+
/* @__PURE__ */ v.jsx(
|
|
2622
2622
|
"dd",
|
|
2623
2623
|
{
|
|
2624
2624
|
onPaste: K,
|
|
2625
2625
|
onInput: p,
|
|
2626
|
-
onKeyDown:
|
|
2626
|
+
onKeyDown: I,
|
|
2627
2627
|
onBlur: G,
|
|
2628
|
-
contentEditable:
|
|
2628
|
+
contentEditable: i && g ? ee.ContentEditable : "false",
|
|
2629
2629
|
...q,
|
|
2630
2630
|
suppressContentEditableWarning: !0,
|
|
2631
2631
|
children: a
|
|
2632
2632
|
}
|
|
2633
2633
|
),
|
|
2634
|
-
|
|
2634
|
+
F[0] && /* @__PURE__ */ v.jsx("i", { onClick: () => E(!M), children: M ? F[1] : F[0] }),
|
|
2635
2635
|
A,
|
|
2636
|
-
x ? /* @__PURE__ */
|
|
2636
|
+
x ? /* @__PURE__ */ v.jsx("em", { children: x }) : ""
|
|
2637
2637
|
] });
|
|
2638
2638
|
}
|
|
2639
|
-
function
|
|
2639
|
+
function Sn({
|
|
2640
2640
|
onValue: a,
|
|
2641
|
-
onSave:
|
|
2641
|
+
onSave: s,
|
|
2642
2642
|
active: c,
|
|
2643
2643
|
max: u,
|
|
2644
|
-
edit:
|
|
2645
|
-
title:
|
|
2646
|
-
error:
|
|
2644
|
+
edit: y,
|
|
2645
|
+
title: S,
|
|
2646
|
+
error: P,
|
|
2647
2647
|
show: x,
|
|
2648
|
-
hide:
|
|
2648
|
+
hide: i,
|
|
2649
2649
|
value: g,
|
|
2650
2650
|
placeholder: o,
|
|
2651
2651
|
className: d,
|
|
2652
2652
|
maxLength: b,
|
|
2653
|
-
name:
|
|
2654
|
-
after:
|
|
2653
|
+
name: C,
|
|
2654
|
+
after: F = "",
|
|
2655
2655
|
before: A = "",
|
|
2656
|
-
view:
|
|
2656
|
+
view: M
|
|
2657
2657
|
}) {
|
|
2658
|
-
|
|
2659
|
-
let p = !1,
|
|
2660
|
-
a == null || a({ value:
|
|
2661
|
-
}, K = (
|
|
2662
|
-
if (!(p &&
|
|
2663
|
-
if (
|
|
2664
|
-
|
|
2665
|
-
}
|
|
2666
|
-
}, G = (
|
|
2667
|
-
if (
|
|
2668
|
-
}, L = (
|
|
2669
|
-
|
|
2670
|
-
if (
|
|
2671
|
-
let
|
|
2672
|
-
if (
|
|
2673
|
-
b -=
|
|
2658
|
+
y = y !== void 0 ? y : !0, c = c !== void 0 ? c : !0, i = !!(i && (g === "" || g === void 0)) && !(y && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2659
|
+
let p = !1, I = (T) => {
|
|
2660
|
+
a == null || a({ value: T.target.textContent, name: C });
|
|
2661
|
+
}, K = (T) => {
|
|
2662
|
+
if (!(p && T.which === 86)) {
|
|
2663
|
+
if (T.which === 17 || T.which === 91) return p = !0;
|
|
2664
|
+
T.key !== "Backspace" && (T.target.textContent.length === u && T.preventDefault(), T.key === "Enter" && T.preventDefault(), isNaN(T.key) && T.preventDefault());
|
|
2665
|
+
}
|
|
2666
|
+
}, G = (T) => {
|
|
2667
|
+
if (T.which === 17 || T.which === 91) return p = !1;
|
|
2668
|
+
}, L = (T) => {
|
|
2669
|
+
T.preventDefault(), navigator.clipboard.readText().then((O) => {
|
|
2670
|
+
if (O = O.replace(/(?!^\+|\d)./g, ""), b) {
|
|
2671
|
+
let W = T.target.textContent.length;
|
|
2672
|
+
if (W >= b) return;
|
|
2673
|
+
b -= W, O = O.slice(0, b);
|
|
2674
2674
|
}
|
|
2675
|
-
window.document.execCommand("insertText", !1, "" +
|
|
2676
|
-
}).catch((
|
|
2675
|
+
window.document.execCommand("insertText", !1, "" + O);
|
|
2676
|
+
}).catch((O) => {
|
|
2677
2677
|
});
|
|
2678
2678
|
};
|
|
2679
|
-
const q = (
|
|
2680
|
-
|
|
2679
|
+
const q = (T) => {
|
|
2680
|
+
ee.Blur(T), s == null || s({ value: T.target.textContent, name: C });
|
|
2681
2681
|
};
|
|
2682
|
-
let
|
|
2683
|
-
return
|
|
2684
|
-
|
|
2682
|
+
let R = {};
|
|
2683
|
+
return y && c ? (R.edit = "true", R.contentEditable = ee.ContentEditable) : R.contentEditable = "false", R.inputMode = "decimal", o && (R.placeholder = o), i ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
|
|
2684
|
+
Le,
|
|
2685
2685
|
{
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
N,
|
|
2706
|
-
T && /* @__PURE__ */ m.jsx("em", { children: T })
|
|
2707
|
-
]
|
|
2686
|
+
type: "numeric",
|
|
2687
|
+
title: S,
|
|
2688
|
+
element_blok: { className: [d] },
|
|
2689
|
+
element_input: { className: [ie.w] },
|
|
2690
|
+
children: /* @__PURE__ */ v.jsx(
|
|
2691
|
+
"div",
|
|
2692
|
+
{
|
|
2693
|
+
onPaste: L,
|
|
2694
|
+
onInput: I,
|
|
2695
|
+
onBlur: q,
|
|
2696
|
+
onKeyDown: K,
|
|
2697
|
+
onKeyUp: G,
|
|
2698
|
+
spellCheck: "true",
|
|
2699
|
+
contentEditable: y && c ? ee.ContentEditable : "false",
|
|
2700
|
+
suppressContentEditableWarning: !0,
|
|
2701
|
+
...R,
|
|
2702
|
+
children: g
|
|
2703
|
+
}
|
|
2704
|
+
)
|
|
2708
2705
|
}
|
|
2709
2706
|
);
|
|
2710
2707
|
}
|
|
@@ -2719,18 +2716,18 @@ var Ft = { exports: {} }, ht = {};
|
|
|
2719
2716
|
* LICENSE file in the root directory of this source tree.
|
|
2720
2717
|
*/
|
|
2721
2718
|
var qt;
|
|
2722
|
-
function
|
|
2719
|
+
function tn() {
|
|
2723
2720
|
if (qt) return ht;
|
|
2724
2721
|
qt = 1;
|
|
2725
|
-
var a =
|
|
2726
|
-
function
|
|
2727
|
-
var o, d = {}, b = null,
|
|
2728
|
-
g !== void 0 && (b = "" + g),
|
|
2729
|
-
for (o in
|
|
2730
|
-
if (x && x.defaultProps) for (o in
|
|
2731
|
-
return { $$typeof:
|
|
2722
|
+
var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2723
|
+
function P(x, i, g) {
|
|
2724
|
+
var o, d = {}, b = null, C = null;
|
|
2725
|
+
g !== void 0 && (b = "" + g), i.key !== void 0 && (b = "" + i.key), i.ref !== void 0 && (C = i.ref);
|
|
2726
|
+
for (o in i) u.call(i, o) && !S.hasOwnProperty(o) && (d[o] = i[o]);
|
|
2727
|
+
if (x && x.defaultProps) for (o in i = x.defaultProps, i) d[o] === void 0 && (d[o] = i[o]);
|
|
2728
|
+
return { $$typeof: s, type: x, key: b, ref: C, props: d, _owner: y.current };
|
|
2732
2729
|
}
|
|
2733
|
-
return ht.Fragment = c, ht.jsx =
|
|
2730
|
+
return ht.Fragment = c, ht.jsx = P, ht.jsxs = P, ht;
|
|
2734
2731
|
}
|
|
2735
2732
|
var xt = {};
|
|
2736
2733
|
/**
|
|
@@ -2743,43 +2740,43 @@ var xt = {};
|
|
|
2743
2740
|
* LICENSE file in the root directory of this source tree.
|
|
2744
2741
|
*/
|
|
2745
2742
|
var Yt;
|
|
2746
|
-
function
|
|
2743
|
+
function rn() {
|
|
2747
2744
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2748
|
-
var a =
|
|
2749
|
-
function
|
|
2745
|
+
var a = U, s = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), x = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), F = Symbol.iterator, A = "@@iterator";
|
|
2746
|
+
function M(e) {
|
|
2750
2747
|
if (e === null || typeof e != "object")
|
|
2751
2748
|
return null;
|
|
2752
|
-
var t =
|
|
2749
|
+
var t = F && e[F] || e[A];
|
|
2753
2750
|
return typeof t == "function" ? t : null;
|
|
2754
2751
|
}
|
|
2755
|
-
var
|
|
2752
|
+
var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2756
2753
|
function p(e) {
|
|
2757
2754
|
{
|
|
2758
2755
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
2759
2756
|
r[n - 1] = arguments[n];
|
|
2760
|
-
|
|
2757
|
+
I("error", e, r);
|
|
2761
2758
|
}
|
|
2762
2759
|
}
|
|
2763
|
-
function
|
|
2760
|
+
function I(e, t, r) {
|
|
2764
2761
|
{
|
|
2765
|
-
var n =
|
|
2762
|
+
var n = E.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
2766
2763
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
2767
|
-
var
|
|
2764
|
+
var m = r.map(function(l) {
|
|
2768
2765
|
return String(l);
|
|
2769
2766
|
});
|
|
2770
|
-
|
|
2767
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
2771
2768
|
}
|
|
2772
2769
|
}
|
|
2773
|
-
var K = !1, G = !1, L = !1, q = !1,
|
|
2774
|
-
|
|
2775
|
-
function
|
|
2776
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
2770
|
+
var K = !1, G = !1, L = !1, q = !1, R = !1, T;
|
|
2771
|
+
T = Symbol.for("react.module.reference");
|
|
2772
|
+
function O(e) {
|
|
2773
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === S || R || e === y || e === g || e === o || q || e === C || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === P || e.$$typeof === x || e.$$typeof === i || // This needs to include all possible module reference object
|
|
2777
2774
|
// types supported by any Flight configuration anywhere since
|
|
2778
2775
|
// we don't know which Flight build this will end up being used
|
|
2779
2776
|
// with.
|
|
2780
|
-
e.$$typeof ===
|
|
2777
|
+
e.$$typeof === T || e.getModuleId !== void 0));
|
|
2781
2778
|
}
|
|
2782
|
-
function
|
|
2779
|
+
function W(e, t, r) {
|
|
2783
2780
|
var n = e.displayName;
|
|
2784
2781
|
if (n)
|
|
2785
2782
|
return n;
|
|
@@ -2801,9 +2798,9 @@ function ra() {
|
|
|
2801
2798
|
return "Fragment";
|
|
2802
2799
|
case c:
|
|
2803
2800
|
return "Portal";
|
|
2804
|
-
case
|
|
2801
|
+
case S:
|
|
2805
2802
|
return "Profiler";
|
|
2806
|
-
case
|
|
2803
|
+
case y:
|
|
2807
2804
|
return "StrictMode";
|
|
2808
2805
|
case g:
|
|
2809
2806
|
return "Suspense";
|
|
@@ -2815,18 +2812,18 @@ function ra() {
|
|
|
2815
2812
|
case x:
|
|
2816
2813
|
var t = e;
|
|
2817
2814
|
return h(t) + ".Consumer";
|
|
2818
|
-
case
|
|
2815
|
+
case P:
|
|
2819
2816
|
var r = e;
|
|
2820
2817
|
return h(r._context) + ".Provider";
|
|
2821
|
-
case
|
|
2822
|
-
return
|
|
2818
|
+
case i:
|
|
2819
|
+
return W(e, e.render, "ForwardRef");
|
|
2823
2820
|
case d:
|
|
2824
2821
|
var n = e.displayName || null;
|
|
2825
2822
|
return n !== null ? n : k(e.type) || "Memo";
|
|
2826
2823
|
case b: {
|
|
2827
|
-
var f = e,
|
|
2824
|
+
var f = e, m = f._payload, l = f._init;
|
|
2828
2825
|
try {
|
|
2829
|
-
return k(l(
|
|
2826
|
+
return k(l(m));
|
|
2830
2827
|
} catch {
|
|
2831
2828
|
return null;
|
|
2832
2829
|
}
|
|
@@ -2834,14 +2831,14 @@ function ra() {
|
|
|
2834
2831
|
}
|
|
2835
2832
|
return null;
|
|
2836
2833
|
}
|
|
2837
|
-
var $ = Object.assign, Y = 0,
|
|
2834
|
+
var $ = Object.assign, Y = 0, X, oe, se, ve, ge, be, ke;
|
|
2838
2835
|
function we() {
|
|
2839
2836
|
}
|
|
2840
2837
|
we.__reactDisabledLog = !0;
|
|
2841
|
-
function
|
|
2838
|
+
function We() {
|
|
2842
2839
|
{
|
|
2843
2840
|
if (Y === 0) {
|
|
2844
|
-
|
|
2841
|
+
X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
2845
2842
|
var e = {
|
|
2846
2843
|
configurable: !0,
|
|
2847
2844
|
enumerable: !0,
|
|
@@ -2861,7 +2858,7 @@ function ra() {
|
|
|
2861
2858
|
Y++;
|
|
2862
2859
|
}
|
|
2863
2860
|
}
|
|
2864
|
-
function
|
|
2861
|
+
function Ue() {
|
|
2865
2862
|
{
|
|
2866
2863
|
if (Y--, Y === 0) {
|
|
2867
2864
|
var e = {
|
|
@@ -2871,10 +2868,10 @@ function ra() {
|
|
|
2871
2868
|
};
|
|
2872
2869
|
Object.defineProperties(console, {
|
|
2873
2870
|
log: $({}, e, {
|
|
2874
|
-
value:
|
|
2871
|
+
value: X
|
|
2875
2872
|
}),
|
|
2876
2873
|
info: $({}, e, {
|
|
2877
|
-
value:
|
|
2874
|
+
value: oe
|
|
2878
2875
|
}),
|
|
2879
2876
|
warn: $({}, e, {
|
|
2880
2877
|
value: se
|
|
@@ -2896,8 +2893,8 @@ function ra() {
|
|
|
2896
2893
|
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2897
2894
|
}
|
|
2898
2895
|
}
|
|
2899
|
-
var le =
|
|
2900
|
-
function
|
|
2896
|
+
var le = E.ReactCurrentDispatcher, ce;
|
|
2897
|
+
function te(e, t, r) {
|
|
2901
2898
|
{
|
|
2902
2899
|
if (ce === void 0)
|
|
2903
2900
|
try {
|
|
@@ -2910,16 +2907,16 @@ function ra() {
|
|
|
2910
2907
|
` + ce + e;
|
|
2911
2908
|
}
|
|
2912
2909
|
}
|
|
2913
|
-
var ue = !1,
|
|
2910
|
+
var ue = !1, re;
|
|
2914
2911
|
{
|
|
2915
|
-
var
|
|
2916
|
-
|
|
2912
|
+
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
2913
|
+
re = new Ke();
|
|
2917
2914
|
}
|
|
2918
2915
|
function je(e, t) {
|
|
2919
2916
|
if (!e || ue)
|
|
2920
2917
|
return "";
|
|
2921
2918
|
{
|
|
2922
|
-
var r =
|
|
2919
|
+
var r = re.get(e);
|
|
2923
2920
|
if (r !== void 0)
|
|
2924
2921
|
return r;
|
|
2925
2922
|
}
|
|
@@ -2927,8 +2924,8 @@ function ra() {
|
|
|
2927
2924
|
ue = !0;
|
|
2928
2925
|
var f = Error.prepareStackTrace;
|
|
2929
2926
|
Error.prepareStackTrace = void 0;
|
|
2930
|
-
var
|
|
2931
|
-
|
|
2927
|
+
var m;
|
|
2928
|
+
m = le.current, le.current = null, We();
|
|
2932
2929
|
try {
|
|
2933
2930
|
if (t) {
|
|
2934
2931
|
var l = function() {
|
|
@@ -2941,29 +2938,29 @@ function ra() {
|
|
|
2941
2938
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
2942
2939
|
try {
|
|
2943
2940
|
Reflect.construct(l, []);
|
|
2944
|
-
} catch (
|
|
2945
|
-
n =
|
|
2941
|
+
} catch (N) {
|
|
2942
|
+
n = N;
|
|
2946
2943
|
}
|
|
2947
2944
|
Reflect.construct(e, [], l);
|
|
2948
2945
|
} else {
|
|
2949
2946
|
try {
|
|
2950
2947
|
l.call();
|
|
2951
|
-
} catch (
|
|
2952
|
-
n =
|
|
2948
|
+
} catch (N) {
|
|
2949
|
+
n = N;
|
|
2953
2950
|
}
|
|
2954
2951
|
e.call(l.prototype);
|
|
2955
2952
|
}
|
|
2956
2953
|
} else {
|
|
2957
2954
|
try {
|
|
2958
2955
|
throw Error();
|
|
2959
|
-
} catch (
|
|
2960
|
-
n =
|
|
2956
|
+
} catch (N) {
|
|
2957
|
+
n = N;
|
|
2961
2958
|
}
|
|
2962
2959
|
e();
|
|
2963
2960
|
}
|
|
2964
|
-
} catch (
|
|
2965
|
-
if (
|
|
2966
|
-
for (var _ =
|
|
2961
|
+
} catch (N) {
|
|
2962
|
+
if (N && n && typeof N.stack == "string") {
|
|
2963
|
+
for (var _ = N.stack.split(`
|
|
2967
2964
|
`), D = n.stack.split(`
|
|
2968
2965
|
`), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
|
|
2969
2966
|
j--;
|
|
@@ -2974,22 +2971,22 @@ function ra() {
|
|
|
2974
2971
|
if (w--, j--, j < 0 || _[w] !== D[j]) {
|
|
2975
2972
|
var B = `
|
|
2976
2973
|
` + _[w].replace(" at new ", " at ");
|
|
2977
|
-
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
2974
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, B), B;
|
|
2978
2975
|
}
|
|
2979
2976
|
while (w >= 1 && j >= 0);
|
|
2980
2977
|
break;
|
|
2981
2978
|
}
|
|
2982
2979
|
}
|
|
2983
2980
|
} finally {
|
|
2984
|
-
ue = !1, le.current =
|
|
2981
|
+
ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
|
|
2985
2982
|
}
|
|
2986
|
-
var Z = e ? e.displayName || e.name : "", z = Z ?
|
|
2987
|
-
return typeof e == "function" &&
|
|
2983
|
+
var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
|
|
2984
|
+
return typeof e == "function" && re.set(e, z), z;
|
|
2988
2985
|
}
|
|
2989
|
-
function
|
|
2986
|
+
function qe(e, t, r) {
|
|
2990
2987
|
return je(e, !1);
|
|
2991
2988
|
}
|
|
2992
|
-
function
|
|
2989
|
+
function Ye(e) {
|
|
2993
2990
|
var t = e.prototype;
|
|
2994
2991
|
return !!(t && t.isReactComponent);
|
|
2995
2992
|
}
|
|
@@ -2997,44 +2994,44 @@ function ra() {
|
|
|
2997
2994
|
if (e == null)
|
|
2998
2995
|
return "";
|
|
2999
2996
|
if (typeof e == "function")
|
|
3000
|
-
return je(e,
|
|
2997
|
+
return je(e, Ye(e));
|
|
3001
2998
|
if (typeof e == "string")
|
|
3002
|
-
return
|
|
2999
|
+
return te(e);
|
|
3003
3000
|
switch (e) {
|
|
3004
3001
|
case g:
|
|
3005
|
-
return
|
|
3002
|
+
return te("Suspense");
|
|
3006
3003
|
case o:
|
|
3007
|
-
return
|
|
3004
|
+
return te("SuspenseList");
|
|
3008
3005
|
}
|
|
3009
3006
|
if (typeof e == "object")
|
|
3010
3007
|
switch (e.$$typeof) {
|
|
3011
|
-
case
|
|
3012
|
-
return
|
|
3008
|
+
case i:
|
|
3009
|
+
return qe(e.render);
|
|
3013
3010
|
case d:
|
|
3014
3011
|
return ne(e.type, t, r);
|
|
3015
3012
|
case b: {
|
|
3016
|
-
var n = e, f = n._payload,
|
|
3013
|
+
var n = e, f = n._payload, m = n._init;
|
|
3017
3014
|
try {
|
|
3018
|
-
return ne(
|
|
3015
|
+
return ne(m(f), t, r);
|
|
3019
3016
|
} catch {
|
|
3020
3017
|
}
|
|
3021
3018
|
}
|
|
3022
3019
|
}
|
|
3023
3020
|
return "";
|
|
3024
3021
|
}
|
|
3025
|
-
var
|
|
3026
|
-
function
|
|
3022
|
+
var V = Object.prototype.hasOwnProperty, xe = {}, Ce = E.ReactDebugCurrentFrame;
|
|
3023
|
+
function ae(e) {
|
|
3027
3024
|
if (e) {
|
|
3028
3025
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
3029
3026
|
Ce.setExtraStackFrame(r);
|
|
3030
3027
|
} else
|
|
3031
3028
|
Ce.setExtraStackFrame(null);
|
|
3032
3029
|
}
|
|
3033
|
-
function
|
|
3030
|
+
function Ge(e, t, r, n, f) {
|
|
3034
3031
|
{
|
|
3035
|
-
var
|
|
3032
|
+
var m = Function.call.bind(V);
|
|
3036
3033
|
for (var l in e)
|
|
3037
|
-
if (
|
|
3034
|
+
if (m(e, l)) {
|
|
3038
3035
|
var _ = void 0;
|
|
3039
3036
|
try {
|
|
3040
3037
|
if (typeof e[l] != "function") {
|
|
@@ -3045,21 +3042,21 @@ function ra() {
|
|
|
3045
3042
|
} catch (w) {
|
|
3046
3043
|
_ = w;
|
|
3047
3044
|
}
|
|
3048
|
-
_ && !(_ instanceof Error) && (
|
|
3045
|
+
_ && !(_ instanceof Error) && (ae(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, l, typeof _), ae(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, ae(f), p("Failed %s type: %s", r, _.message), ae(null));
|
|
3049
3046
|
}
|
|
3050
3047
|
}
|
|
3051
3048
|
}
|
|
3052
|
-
var
|
|
3049
|
+
var ze = Array.isArray;
|
|
3053
3050
|
function de(e) {
|
|
3054
|
-
return
|
|
3051
|
+
return ze(e);
|
|
3055
3052
|
}
|
|
3056
|
-
function
|
|
3053
|
+
function He(e) {
|
|
3057
3054
|
{
|
|
3058
3055
|
var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
3059
3056
|
return r;
|
|
3060
3057
|
}
|
|
3061
3058
|
}
|
|
3062
|
-
function
|
|
3059
|
+
function Je(e) {
|
|
3063
3060
|
try {
|
|
3064
3061
|
return Se(e), !1;
|
|
3065
3062
|
} catch {
|
|
@@ -3070,35 +3067,35 @@ function ra() {
|
|
|
3070
3067
|
return "" + e;
|
|
3071
3068
|
}
|
|
3072
3069
|
function Re(e) {
|
|
3073
|
-
if (
|
|
3074
|
-
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
3070
|
+
if (Je(e))
|
|
3071
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Se(e);
|
|
3075
3072
|
}
|
|
3076
|
-
var Ee =
|
|
3073
|
+
var Ee = E.ReactCurrentOwner, Ze = {
|
|
3077
3074
|
key: !0,
|
|
3078
3075
|
ref: !0,
|
|
3079
3076
|
__self: !0,
|
|
3080
3077
|
__source: !0
|
|
3081
3078
|
}, Oe, Te;
|
|
3082
|
-
function
|
|
3083
|
-
if (
|
|
3079
|
+
function Ve(e) {
|
|
3080
|
+
if (V.call(e, "ref")) {
|
|
3084
3081
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
3085
3082
|
if (t && t.isReactWarning)
|
|
3086
3083
|
return !1;
|
|
3087
3084
|
}
|
|
3088
3085
|
return e.ref !== void 0;
|
|
3089
3086
|
}
|
|
3090
|
-
function
|
|
3091
|
-
if (
|
|
3087
|
+
function Xe(e) {
|
|
3088
|
+
if (V.call(e, "key")) {
|
|
3092
3089
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
3093
3090
|
if (t && t.isReactWarning)
|
|
3094
3091
|
return !1;
|
|
3095
3092
|
}
|
|
3096
3093
|
return e.key !== void 0;
|
|
3097
3094
|
}
|
|
3098
|
-
function
|
|
3095
|
+
function Qe(e, t) {
|
|
3099
3096
|
typeof e.ref == "string" && Ee.current;
|
|
3100
3097
|
}
|
|
3101
|
-
function
|
|
3098
|
+
function et(e, t) {
|
|
3102
3099
|
{
|
|
3103
3100
|
var r = function() {
|
|
3104
3101
|
Oe || (Oe = !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));
|
|
@@ -3109,7 +3106,7 @@ function ra() {
|
|
|
3109
3106
|
});
|
|
3110
3107
|
}
|
|
3111
3108
|
}
|
|
3112
|
-
function
|
|
3109
|
+
function tt(e, t) {
|
|
3113
3110
|
{
|
|
3114
3111
|
var r = function() {
|
|
3115
3112
|
Te || (Te = !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));
|
|
@@ -3120,17 +3117,17 @@ function ra() {
|
|
|
3120
3117
|
});
|
|
3121
3118
|
}
|
|
3122
3119
|
}
|
|
3123
|
-
var
|
|
3120
|
+
var rt = function(e, t, r, n, f, m, l) {
|
|
3124
3121
|
var _ = {
|
|
3125
3122
|
// This tag allows us to uniquely identify this as a React Element
|
|
3126
|
-
$$typeof:
|
|
3123
|
+
$$typeof: s,
|
|
3127
3124
|
// Built-in properties that belong on the element
|
|
3128
3125
|
type: e,
|
|
3129
3126
|
key: t,
|
|
3130
3127
|
ref: r,
|
|
3131
3128
|
props: l,
|
|
3132
3129
|
// Record the component responsible for creating this element.
|
|
3133
|
-
_owner:
|
|
3130
|
+
_owner: m
|
|
3134
3131
|
};
|
|
3135
3132
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
3136
3133
|
configurable: !1,
|
|
@@ -3149,25 +3146,25 @@ function ra() {
|
|
|
3149
3146
|
value: f
|
|
3150
3147
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
3151
3148
|
};
|
|
3152
|
-
function
|
|
3149
|
+
function nt(e, t, r, n, f) {
|
|
3153
3150
|
{
|
|
3154
|
-
var
|
|
3155
|
-
r !== void 0 && (Re(r), _ = "" + r),
|
|
3156
|
-
for (
|
|
3157
|
-
|
|
3151
|
+
var m, l = {}, _ = null, D = null;
|
|
3152
|
+
r !== void 0 && (Re(r), _ = "" + r), Xe(t) && (Re(t.key), _ = "" + t.key), Ve(t) && (D = t.ref, Qe(t));
|
|
3153
|
+
for (m in t)
|
|
3154
|
+
V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
|
|
3158
3155
|
if (e && e.defaultProps) {
|
|
3159
3156
|
var w = e.defaultProps;
|
|
3160
|
-
for (
|
|
3161
|
-
l[
|
|
3157
|
+
for (m in w)
|
|
3158
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
3162
3159
|
}
|
|
3163
3160
|
if (_ || D) {
|
|
3164
3161
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3165
|
-
_ &&
|
|
3162
|
+
_ && et(l, j), D && tt(l, j);
|
|
3166
3163
|
}
|
|
3167
|
-
return
|
|
3164
|
+
return rt(e, _, D, f, n, Ee.current, l);
|
|
3168
3165
|
}
|
|
3169
3166
|
}
|
|
3170
|
-
var fe =
|
|
3167
|
+
var fe = E.ReactCurrentOwner, De = E.ReactDebugCurrentFrame;
|
|
3171
3168
|
function J(e) {
|
|
3172
3169
|
if (e) {
|
|
3173
3170
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -3178,7 +3175,7 @@ function ra() {
|
|
|
3178
3175
|
var pe;
|
|
3179
3176
|
pe = !1;
|
|
3180
3177
|
function me(e) {
|
|
3181
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
3178
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
3182
3179
|
}
|
|
3183
3180
|
function Pe() {
|
|
3184
3181
|
{
|
|
@@ -3196,7 +3193,7 @@ Check the render method of \`` + e + "`.";
|
|
|
3196
3193
|
return "";
|
|
3197
3194
|
}
|
|
3198
3195
|
var Ne = {};
|
|
3199
|
-
function
|
|
3196
|
+
function ot(e) {
|
|
3200
3197
|
{
|
|
3201
3198
|
var t = Pe();
|
|
3202
3199
|
if (!t) {
|
|
@@ -3213,7 +3210,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3213
3210
|
if (!e._store || e._store.validated || e.key != null)
|
|
3214
3211
|
return;
|
|
3215
3212
|
e._store.validated = !0;
|
|
3216
|
-
var r =
|
|
3213
|
+
var r = ot(t);
|
|
3217
3214
|
if (Ne[r])
|
|
3218
3215
|
return;
|
|
3219
3216
|
Ne[r] = !0;
|
|
@@ -3233,14 +3230,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3233
3230
|
else if (me(e))
|
|
3234
3231
|
e._store && (e._store.validated = !0);
|
|
3235
3232
|
else if (e) {
|
|
3236
|
-
var f =
|
|
3233
|
+
var f = M(e);
|
|
3237
3234
|
if (typeof f == "function" && f !== e.entries)
|
|
3238
|
-
for (var
|
|
3235
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
3239
3236
|
me(l.value) && Fe(l.value, t);
|
|
3240
3237
|
}
|
|
3241
3238
|
}
|
|
3242
3239
|
}
|
|
3243
|
-
function
|
|
3240
|
+
function _t(e) {
|
|
3244
3241
|
{
|
|
3245
3242
|
var t = e.type;
|
|
3246
3243
|
if (t == null || typeof t == "string")
|
|
@@ -3248,7 +3245,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3248
3245
|
var r;
|
|
3249
3246
|
if (typeof t == "function")
|
|
3250
3247
|
r = t.propTypes;
|
|
3251
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
3248
|
+
else if (typeof t == "object" && (t.$$typeof === i || // Note: Memo only checks outer props here.
|
|
3252
3249
|
// Inner props are checked in the reconciler.
|
|
3253
3250
|
t.$$typeof === d))
|
|
3254
3251
|
r = t.propTypes;
|
|
@@ -3256,7 +3253,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3256
3253
|
return;
|
|
3257
3254
|
if (r) {
|
|
3258
3255
|
var n = k(t);
|
|
3259
|
-
|
|
3256
|
+
Ge(r, e.props, "prop", n, e);
|
|
3260
3257
|
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3261
3258
|
pe = !0;
|
|
3262
3259
|
var f = k(t);
|
|
@@ -3278,18 +3275,18 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3278
3275
|
}
|
|
3279
3276
|
}
|
|
3280
3277
|
var Me = {};
|
|
3281
|
-
function $e(e, t, r, n, f,
|
|
3278
|
+
function $e(e, t, r, n, f, m) {
|
|
3282
3279
|
{
|
|
3283
|
-
var l =
|
|
3280
|
+
var l = O(e);
|
|
3284
3281
|
if (!l) {
|
|
3285
3282
|
var _ = "";
|
|
3286
3283
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3287
3284
|
var D = at();
|
|
3288
3285
|
D ? _ += D : _ += Pe();
|
|
3289
3286
|
var w;
|
|
3290
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
3287
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === s ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
3291
3288
|
}
|
|
3292
|
-
var j =
|
|
3289
|
+
var j = nt(e, t, r, f, m);
|
|
3293
3290
|
if (j == null)
|
|
3294
3291
|
return j;
|
|
3295
3292
|
if (l) {
|
|
@@ -3305,98 +3302,98 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3305
3302
|
else
|
|
3306
3303
|
Ie(B, e);
|
|
3307
3304
|
}
|
|
3308
|
-
if (
|
|
3309
|
-
var z = k(e),
|
|
3310
|
-
return
|
|
3311
|
-
}), ye =
|
|
3305
|
+
if (V.call(t, "key")) {
|
|
3306
|
+
var z = k(e), N = Object.keys(t).filter(function(ft) {
|
|
3307
|
+
return ft !== "key";
|
|
3308
|
+
}), ye = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3312
3309
|
if (!Me[z + ye]) {
|
|
3313
|
-
var
|
|
3310
|
+
var dt = N.length > 0 ? "{" + N.join(": ..., ") + ": ...}" : "{}";
|
|
3314
3311
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
3315
3312
|
let props = %s;
|
|
3316
3313
|
<%s {...props} />
|
|
3317
3314
|
React keys must be passed directly to JSX without using spread:
|
|
3318
3315
|
let props = %s;
|
|
3319
|
-
<%s key={someKey} {...props} />`, ye, z,
|
|
3316
|
+
<%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
|
|
3320
3317
|
}
|
|
3321
3318
|
}
|
|
3322
|
-
return e === u ? it(j) :
|
|
3319
|
+
return e === u ? it(j) : _t(j), j;
|
|
3323
3320
|
}
|
|
3324
3321
|
}
|
|
3325
|
-
function
|
|
3322
|
+
function st(e, t, r) {
|
|
3326
3323
|
return $e(e, t, r, !0);
|
|
3327
3324
|
}
|
|
3328
|
-
function
|
|
3325
|
+
function lt(e, t, r) {
|
|
3329
3326
|
return $e(e, t, r, !1);
|
|
3330
3327
|
}
|
|
3331
|
-
var
|
|
3332
|
-
xt.Fragment = u, xt.jsx =
|
|
3328
|
+
var ct = lt, ut = st;
|
|
3329
|
+
xt.Fragment = u, xt.jsx = ct, xt.jsxs = ut;
|
|
3333
3330
|
}()), xt;
|
|
3334
3331
|
}
|
|
3335
|
-
process.env.NODE_ENV === "production" ? Ft.exports =
|
|
3336
|
-
var
|
|
3337
|
-
const
|
|
3338
|
-
notice:
|
|
3339
|
-
error:
|
|
3340
|
-
success:
|
|
3341
|
-
remark:
|
|
3342
|
-
copy:
|
|
3332
|
+
process.env.NODE_ENV === "production" ? Ft.exports = tn() : Ft.exports = rn();
|
|
3333
|
+
var Q = Ft.exports;
|
|
3334
|
+
const nn = "_notice_13j98_2", an = "_error_13j98_11", on = "_success_13j98_14", _n = "_remark_13j98_17", sn = "_copy_13j98_20", Ht = {
|
|
3335
|
+
notice: nn,
|
|
3336
|
+
error: an,
|
|
3337
|
+
success: on,
|
|
3338
|
+
remark: _n,
|
|
3339
|
+
copy: sn,
|
|
3343
3340
|
"show-notice": "_show-notice_13j98_1",
|
|
3344
3341
|
"hide-notice": "_hide-notice_13j98_1"
|
|
3345
3342
|
};
|
|
3346
3343
|
let Be = {};
|
|
3347
3344
|
function bt({ data: a }) {
|
|
3348
|
-
let [
|
|
3349
|
-
|
|
3345
|
+
let [s, c] = U.useState("show");
|
|
3346
|
+
U.useEffect(() => {
|
|
3350
3347
|
a.hide && (setTimeout(function() {
|
|
3351
3348
|
c("hide");
|
|
3352
3349
|
}, 1800), setTimeout(function() {
|
|
3353
3350
|
Be.del(a.key);
|
|
3354
3351
|
}, 2500));
|
|
3355
3352
|
}, [a.key]);
|
|
3356
|
-
let u,
|
|
3353
|
+
let u, y;
|
|
3357
3354
|
switch (a.type) {
|
|
3358
3355
|
case "error":
|
|
3359
|
-
u = /* @__PURE__ */
|
|
3356
|
+
u = /* @__PURE__ */ Q.jsx(pt.error, {}), y = "Ошибка:";
|
|
3360
3357
|
break;
|
|
3361
3358
|
case "success":
|
|
3362
|
-
u = /* @__PURE__ */
|
|
3359
|
+
u = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Информация:";
|
|
3363
3360
|
break;
|
|
3364
3361
|
case "copy":
|
|
3365
|
-
u = /* @__PURE__ */
|
|
3362
|
+
u = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Копирование:";
|
|
3366
3363
|
break;
|
|
3367
3364
|
case "remark":
|
|
3368
|
-
u = /* @__PURE__ */
|
|
3365
|
+
u = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Подсказка:";
|
|
3369
3366
|
break;
|
|
3370
3367
|
default:
|
|
3371
|
-
u = /* @__PURE__ */
|
|
3368
|
+
u = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Предупреждение:";
|
|
3372
3369
|
break;
|
|
3373
3370
|
}
|
|
3374
|
-
return /* @__PURE__ */
|
|
3371
|
+
return /* @__PURE__ */ Q.jsxs("li", { className: Ht[a.type], "data-status": s, children: [
|
|
3375
3372
|
u,
|
|
3376
|
-
/* @__PURE__ */
|
|
3377
|
-
/* @__PURE__ */
|
|
3373
|
+
/* @__PURE__ */ Q.jsx("b", { children: y }),
|
|
3374
|
+
/* @__PURE__ */ Q.jsx("p", { children: a.text })
|
|
3378
3375
|
] });
|
|
3379
3376
|
}
|
|
3380
|
-
function
|
|
3381
|
-
let [
|
|
3382
|
-
return
|
|
3377
|
+
function ln({ data: a }) {
|
|
3378
|
+
let [s, c] = U.useState("show");
|
|
3379
|
+
return U.useEffect(() => {
|
|
3383
3380
|
a.hide && (setTimeout(function() {
|
|
3384
3381
|
c("hide");
|
|
3385
3382
|
}, 1800), setTimeout(function() {
|
|
3386
3383
|
Be.del(a.key);
|
|
3387
3384
|
}, 2500));
|
|
3388
|
-
}, [a.key]), /* @__PURE__ */
|
|
3385
|
+
}, [a.key]), /* @__PURE__ */ Q.jsx("li", { className: "item", "data-status": s, children: a.text });
|
|
3389
3386
|
}
|
|
3390
|
-
const
|
|
3391
|
-
|
|
3392
|
-
/* @__PURE__ */
|
|
3387
|
+
const pt = {};
|
|
3388
|
+
pt.error = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
3389
|
+
/* @__PURE__ */ Q.jsx(
|
|
3393
3390
|
"path",
|
|
3394
3391
|
{
|
|
3395
3392
|
d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
|
|
3396
3393
|
fill: "#bb2014"
|
|
3397
3394
|
}
|
|
3398
3395
|
),
|
|
3399
|
-
/* @__PURE__ */
|
|
3396
|
+
/* @__PURE__ */ Q.jsx(
|
|
3400
3397
|
"path",
|
|
3401
3398
|
{
|
|
3402
3399
|
d: "M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",
|
|
@@ -3404,15 +3401,15 @@ ft.error = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "n
|
|
|
3404
3401
|
}
|
|
3405
3402
|
)
|
|
3406
3403
|
] });
|
|
3407
|
-
|
|
3408
|
-
/* @__PURE__ */
|
|
3404
|
+
pt.success = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
3405
|
+
/* @__PURE__ */ Q.jsx(
|
|
3409
3406
|
"path",
|
|
3410
3407
|
{
|
|
3411
3408
|
d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
|
|
3412
3409
|
fill: "#367738"
|
|
3413
3410
|
}
|
|
3414
3411
|
),
|
|
3415
|
-
/* @__PURE__ */
|
|
3412
|
+
/* @__PURE__ */ Q.jsx(
|
|
3416
3413
|
"path",
|
|
3417
3414
|
{
|
|
3418
3415
|
d: "M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",
|
|
@@ -3422,80 +3419,80 @@ ft.success = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill:
|
|
|
3422
3419
|
] });
|
|
3423
3420
|
var St;
|
|
3424
3421
|
((a) => {
|
|
3425
|
-
function
|
|
3426
|
-
let [
|
|
3422
|
+
function s() {
|
|
3423
|
+
let [i, g] = U.useState([]);
|
|
3427
3424
|
return Be.set = (o) => {
|
|
3428
|
-
g([...
|
|
3425
|
+
g([...i, o]);
|
|
3429
3426
|
}, Be.del = (o) => {
|
|
3430
|
-
g(
|
|
3431
|
-
},
|
|
3427
|
+
g(i.filter((d) => d.key !== o));
|
|
3428
|
+
}, i.length === 0 ? "" : /* @__PURE__ */ Q.jsx("ul", { className: Ht.notice, children: i.map((o) => o.item) });
|
|
3432
3429
|
}
|
|
3433
|
-
a.Init =
|
|
3434
|
-
function c(
|
|
3435
|
-
let o = Date.now(), d = { key: o, text:
|
|
3430
|
+
a.Init = s;
|
|
3431
|
+
function c(i, g = !0) {
|
|
3432
|
+
let o = Date.now(), d = { key: o, text: i, hide: g, type: "error" };
|
|
3436
3433
|
Be.set({
|
|
3437
|
-
item: /* @__PURE__ */
|
|
3434
|
+
item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
|
|
3438
3435
|
key: o
|
|
3439
3436
|
});
|
|
3440
3437
|
}
|
|
3441
3438
|
a.Error = c;
|
|
3442
|
-
function u(
|
|
3443
|
-
let o = Date.now(), d = { key: o, text:
|
|
3439
|
+
function u(i, g = !0) {
|
|
3440
|
+
let o = Date.now(), d = { key: o, text: i, hide: g, type: "success" };
|
|
3444
3441
|
Be.set({
|
|
3445
|
-
item: /* @__PURE__ */
|
|
3442
|
+
item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
|
|
3446
3443
|
key: o
|
|
3447
3444
|
});
|
|
3448
3445
|
}
|
|
3449
3446
|
a.Success = u;
|
|
3450
|
-
function
|
|
3451
|
-
let o = Date.now(), d = { key: o, hide: g, text:
|
|
3452
|
-
Be.set({ item: /* @__PURE__ */
|
|
3447
|
+
function y(i, g = !0) {
|
|
3448
|
+
let o = Date.now(), d = { key: o, hide: g, text: i };
|
|
3449
|
+
Be.set({ item: /* @__PURE__ */ Q.jsx(ln, { data: d }, o), key: o });
|
|
3453
3450
|
}
|
|
3454
|
-
a.Custom =
|
|
3455
|
-
function
|
|
3456
|
-
let g = Date.now(), o = { key: g, hide: !0, ...
|
|
3451
|
+
a.Custom = y;
|
|
3452
|
+
function S(i) {
|
|
3453
|
+
let g = Date.now(), o = { key: g, hide: !0, ...i };
|
|
3457
3454
|
Be.set({
|
|
3458
|
-
item: /* @__PURE__ */
|
|
3455
|
+
item: /* @__PURE__ */ Q.jsx(bt, { data: o }, g),
|
|
3459
3456
|
key: g
|
|
3460
3457
|
});
|
|
3461
3458
|
}
|
|
3462
|
-
a.Send =
|
|
3463
|
-
function
|
|
3464
|
-
let o = Date.now(), d = { key: o, text:
|
|
3459
|
+
a.Send = S;
|
|
3460
|
+
function P(i, g = !0) {
|
|
3461
|
+
let o = Date.now(), d = { key: o, text: i, hide: g, type: "remark" };
|
|
3465
3462
|
Be.set({
|
|
3466
|
-
item: /* @__PURE__ */
|
|
3463
|
+
item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
|
|
3467
3464
|
key: o
|
|
3468
3465
|
});
|
|
3469
3466
|
}
|
|
3470
|
-
a.Remark =
|
|
3471
|
-
function x(
|
|
3472
|
-
let o = Date.now(), d = { key: o, text:
|
|
3467
|
+
a.Remark = P;
|
|
3468
|
+
function x(i, g = !0) {
|
|
3469
|
+
let o = Date.now(), d = { key: o, text: i, hide: g, type: "copy" };
|
|
3473
3470
|
Be.set({
|
|
3474
|
-
item: /* @__PURE__ */
|
|
3471
|
+
item: /* @__PURE__ */ Q.jsx(bt, { data: d }, o),
|
|
3475
3472
|
key: o
|
|
3476
3473
|
});
|
|
3477
3474
|
}
|
|
3478
3475
|
a.Copy = x;
|
|
3479
3476
|
})(St || (St = {}));
|
|
3480
|
-
function
|
|
3477
|
+
function Rn({
|
|
3481
3478
|
value: a = "",
|
|
3482
|
-
onValue:
|
|
3479
|
+
onValue: s,
|
|
3483
3480
|
onSave: c,
|
|
3484
3481
|
name: u,
|
|
3485
|
-
format:
|
|
3486
|
-
placeholder:
|
|
3487
|
-
title:
|
|
3482
|
+
format: y = "+_(___) ___-__-__",
|
|
3483
|
+
placeholder: S = "",
|
|
3484
|
+
title: P = "",
|
|
3488
3485
|
error: x = "",
|
|
3489
|
-
hide:
|
|
3486
|
+
hide: i = !1,
|
|
3490
3487
|
edit: g = !0,
|
|
3491
3488
|
active: o = !0,
|
|
3492
3489
|
after: d = "",
|
|
3493
3490
|
show: b = !0,
|
|
3494
|
-
view:
|
|
3495
|
-
className:
|
|
3491
|
+
view: C,
|
|
3492
|
+
className: F = ""
|
|
3496
3493
|
}) {
|
|
3497
|
-
g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0,
|
|
3498
|
-
let
|
|
3494
|
+
g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, i = !!(i && (a === "" || a === void 0)) && !(g && o), U.useRef(null);
|
|
3495
|
+
let M = y, E = !0, p = 0, I = (h, k) => {
|
|
3499
3496
|
let $ = document.createRange(), Y = window.getSelection();
|
|
3500
3497
|
$.setStart(k.childNodes[0], h), $.collapse(!0), Y.removeAllRanges(), Y.addRange($), k.focus();
|
|
3501
3498
|
}, K = (h) => {
|
|
@@ -3505,13 +3502,13 @@ function Ra({
|
|
|
3505
3502
|
});
|
|
3506
3503
|
}, G = (h) => {
|
|
3507
3504
|
let k = 0, $ = "", Y = h.replace(/\D/g, "");
|
|
3508
|
-
Y === "" && (
|
|
3509
|
-
let
|
|
3510
|
-
|
|
3511
|
-
|
|
3505
|
+
Y === "" && (E = !0);
|
|
3506
|
+
let X = Y.split(""), oe = "";
|
|
3507
|
+
X.forEach((ge) => {
|
|
3508
|
+
E && (oe += ge, E && (p = ("" + oe).length, M = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""), p > ("" + oe).length && (E = !0, M = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""));
|
|
3512
3509
|
});
|
|
3513
|
-
let se =
|
|
3514
|
-
return se.length >= Y.length && (Y = se), { q:
|
|
3510
|
+
let se = M.replace(/\D/g, "");
|
|
3511
|
+
return se.length >= Y.length && (Y = se), { q: M.replace(/[_\d]/g, function() {
|
|
3515
3512
|
return Y.charAt(k++) || "_";
|
|
3516
3513
|
}), i: k, v: Y, f: $ };
|
|
3517
3514
|
}, L = (h) => {
|
|
@@ -3522,107 +3519,107 @@ function Ra({
|
|
|
3522
3519
|
function(k) {
|
|
3523
3520
|
}
|
|
3524
3521
|
);
|
|
3525
|
-
}, q = G(a),
|
|
3522
|
+
}, q = G(a), R = (h) => {
|
|
3526
3523
|
let k = G(h.target.textContent);
|
|
3527
|
-
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !==
|
|
3528
|
-
},
|
|
3524
|
+
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== M ? k.i++ : k.i = k.q.indexOf("_"), I(k.i, h.target), s && s({ value: k.q.replace(/\D/g, ""), name: u });
|
|
3525
|
+
}, T = (h) => {
|
|
3529
3526
|
h.key === "Enter" && h.preventDefault();
|
|
3530
3527
|
};
|
|
3531
|
-
const
|
|
3532
|
-
|
|
3528
|
+
const O = (h) => {
|
|
3529
|
+
ee.Blur(h), c && c({
|
|
3533
3530
|
value: h.target.textContent.replace(/\D/g, ""),
|
|
3534
3531
|
name: u
|
|
3535
3532
|
});
|
|
3536
3533
|
};
|
|
3537
|
-
let
|
|
3538
|
-
return g && o ? (
|
|
3539
|
-
|
|
3534
|
+
let W = {};
|
|
3535
|
+
return g && o ? (W.edit = "true", W.contentEditable = ee.ContentEditable) : W.contentEditable = "false", S && (W.placeholder = S), d && (W.after = d), i ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
|
|
3536
|
+
Le,
|
|
3540
3537
|
{
|
|
3541
3538
|
type: "input",
|
|
3542
|
-
title:
|
|
3543
|
-
element_blok: { className: [
|
|
3544
|
-
element_input: { className: [
|
|
3545
|
-
children: /* @__PURE__ */
|
|
3539
|
+
title: P,
|
|
3540
|
+
element_blok: { className: [F] },
|
|
3541
|
+
element_input: { className: [ie.w] },
|
|
3542
|
+
children: /* @__PURE__ */ v.jsx(
|
|
3546
3543
|
"div",
|
|
3547
3544
|
{
|
|
3548
3545
|
onPaste: K,
|
|
3549
|
-
onInput:
|
|
3550
|
-
onKeyDown:
|
|
3546
|
+
onInput: R,
|
|
3547
|
+
onKeyDown: T,
|
|
3551
3548
|
onContextMenu: L,
|
|
3552
|
-
onBlur:
|
|
3549
|
+
onBlur: O,
|
|
3553
3550
|
suppressContentEditableWarning: !0,
|
|
3554
|
-
...
|
|
3551
|
+
...W,
|
|
3555
3552
|
children: q.q
|
|
3556
3553
|
}
|
|
3557
3554
|
)
|
|
3558
3555
|
}
|
|
3559
3556
|
);
|
|
3560
3557
|
}
|
|
3561
|
-
function
|
|
3558
|
+
function En({
|
|
3562
3559
|
id: a,
|
|
3563
|
-
value:
|
|
3560
|
+
value: s,
|
|
3564
3561
|
onValue: c,
|
|
3565
3562
|
name: u,
|
|
3566
|
-
placeholder:
|
|
3567
|
-
title:
|
|
3568
|
-
error:
|
|
3563
|
+
placeholder: y = "",
|
|
3564
|
+
title: S = "",
|
|
3565
|
+
error: P = "",
|
|
3569
3566
|
hide: x = !1,
|
|
3570
|
-
edit:
|
|
3567
|
+
edit: i = !0,
|
|
3571
3568
|
active: g = !0,
|
|
3572
3569
|
after: o = "",
|
|
3573
3570
|
show: d = !0,
|
|
3574
3571
|
maxLength: b,
|
|
3575
|
-
view:
|
|
3576
|
-
onSave:
|
|
3572
|
+
view: C,
|
|
3573
|
+
onSave: F,
|
|
3577
3574
|
className: A = "",
|
|
3578
|
-
isCopy:
|
|
3575
|
+
isCopy: M = !0
|
|
3579
3576
|
}) {
|
|
3580
|
-
let [
|
|
3581
|
-
|
|
3582
|
-
let
|
|
3583
|
-
c == null || c({ value:
|
|
3584
|
-
}, K = (
|
|
3585
|
-
b &&
|
|
3586
|
-
}, G = (
|
|
3587
|
-
|
|
3577
|
+
let [E, p] = U.useState(!1);
|
|
3578
|
+
E = i ? !0 : E;
|
|
3579
|
+
let I = (R) => {
|
|
3580
|
+
c == null || c({ value: R.target.innerText, name: u });
|
|
3581
|
+
}, K = (R) => {
|
|
3582
|
+
b && R.target.textContent.trim().length >= b && R.key !== "Backspace" && R.preventDefault(), R.key === "Enter" && R.preventDefault();
|
|
3583
|
+
}, G = (R) => {
|
|
3584
|
+
R.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
3588
3585
|
if (b) {
|
|
3589
|
-
let
|
|
3590
|
-
if (
|
|
3591
|
-
b -=
|
|
3586
|
+
let O = R.target.textContent.length;
|
|
3587
|
+
if (O >= b) return;
|
|
3588
|
+
b -= O, T = T.slice(0, b);
|
|
3592
3589
|
}
|
|
3593
3590
|
window.document.execCommand(
|
|
3594
3591
|
"insertText",
|
|
3595
3592
|
!1,
|
|
3596
|
-
|
|
3593
|
+
T.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3597
3594
|
);
|
|
3598
|
-
}).catch((
|
|
3595
|
+
}).catch((T) => {
|
|
3599
3596
|
});
|
|
3600
3597
|
};
|
|
3601
|
-
if (x) return /* @__PURE__ */
|
|
3602
|
-
if (!(
|
|
3598
|
+
if (x) return /* @__PURE__ */ v.jsx(v.Fragment, {});
|
|
3599
|
+
if (!(i && g) && !d) return "";
|
|
3603
3600
|
const L = {};
|
|
3604
|
-
|
|
3605
|
-
const q = (
|
|
3606
|
-
|
|
3601
|
+
y && (L.placeholder = y), i && g && (L.edit = ""), E && (L.open = "");
|
|
3602
|
+
const q = (R) => {
|
|
3603
|
+
ee.Blur(R), F == null || F({ value: R.target.textContent.trim(), name: u });
|
|
3607
3604
|
};
|
|
3608
|
-
return /* @__PURE__ */
|
|
3609
|
-
|
|
3605
|
+
return /* @__PURE__ */ v.jsx(
|
|
3606
|
+
Le,
|
|
3610
3607
|
{
|
|
3611
3608
|
type: "note",
|
|
3612
|
-
title:
|
|
3609
|
+
title: S,
|
|
3613
3610
|
element_blok: { className: [A] },
|
|
3614
|
-
element_input: { className: [
|
|
3615
|
-
children: /* @__PURE__ */
|
|
3611
|
+
element_input: { className: [ie.n] },
|
|
3612
|
+
children: /* @__PURE__ */ v.jsx(
|
|
3616
3613
|
"div",
|
|
3617
3614
|
{
|
|
3618
3615
|
onPaste: G,
|
|
3619
|
-
onInput:
|
|
3616
|
+
onInput: I,
|
|
3620
3617
|
onBlur: q,
|
|
3621
3618
|
onKeyDown: K,
|
|
3622
|
-
contentEditable:
|
|
3619
|
+
contentEditable: i && g ? ee.ContentEditable : "false",
|
|
3623
3620
|
suppressContentEditableWarning: !0,
|
|
3624
3621
|
...L,
|
|
3625
|
-
children:
|
|
3622
|
+
children: s
|
|
3626
3623
|
}
|
|
3627
3624
|
)
|
|
3628
3625
|
}
|
|
@@ -5010,162 +5007,162 @@ const Ot = {
|
|
|
5010
5007
|
mask: "+1939(___) ___-__-__"
|
|
5011
5008
|
}
|
|
5012
5009
|
};
|
|
5013
|
-
function
|
|
5010
|
+
function On({
|
|
5014
5011
|
value: a,
|
|
5015
|
-
onValue:
|
|
5012
|
+
onValue: s,
|
|
5016
5013
|
onSave: c,
|
|
5017
5014
|
name: u,
|
|
5018
|
-
placeholder:
|
|
5019
|
-
title:
|
|
5020
|
-
error:
|
|
5015
|
+
placeholder: y = "",
|
|
5016
|
+
title: S = "",
|
|
5017
|
+
error: P = "",
|
|
5021
5018
|
hide: x = !1,
|
|
5022
|
-
edit:
|
|
5019
|
+
edit: i = !0,
|
|
5023
5020
|
active: g = !0,
|
|
5024
5021
|
after: o = "",
|
|
5025
5022
|
show: d = !0,
|
|
5026
5023
|
view: b,
|
|
5027
|
-
className:
|
|
5024
|
+
className: C = ""
|
|
5028
5025
|
}) {
|
|
5029
|
-
|
|
5030
|
-
let A = "+_(___) ___-__-__",
|
|
5026
|
+
i = i !== void 0 ? i : !0, g = g !== void 0 ? g : !0, x = !!(x && (a === "" || a === void 0)) && !(i && g), U.useRef(null);
|
|
5027
|
+
let A = "+_(___) ___-__-__", M = !0, E = 0, p = (W, h) => {
|
|
5031
5028
|
let k = document.createRange(), $ = window.getSelection();
|
|
5032
|
-
k.setStart(h.childNodes[0],
|
|
5033
|
-
},
|
|
5034
|
-
let h = G(
|
|
5035
|
-
|
|
5036
|
-
}, K = (
|
|
5037
|
-
|
|
5029
|
+
k.setStart(h.childNodes[0], W), k.collapse(!0), $.removeAllRanges(), $.addRange(k), h.focus();
|
|
5030
|
+
}, I = (W) => {
|
|
5031
|
+
let h = G(W.target.textContent);
|
|
5032
|
+
W.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== A ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, W.target), s && s({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5033
|
+
}, K = (W) => {
|
|
5034
|
+
W.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5038
5035
|
window.document.execCommand("insertText", !1, h);
|
|
5039
5036
|
}).catch((h) => {
|
|
5040
5037
|
});
|
|
5041
|
-
}, G = (
|
|
5042
|
-
let h = 0, k = "", $ =
|
|
5043
|
-
$ === "" && (
|
|
5044
|
-
let Y = $.split(""),
|
|
5038
|
+
}, G = (W) => {
|
|
5039
|
+
let h = 0, k = "", $ = W.replace(/\D/g, "");
|
|
5040
|
+
$ === "" && (M = !0);
|
|
5041
|
+
let Y = $.split(""), X = "";
|
|
5045
5042
|
Y.forEach((ve) => {
|
|
5046
|
-
|
|
5043
|
+
M && (X += ve, Ot[X] !== void 0 && M ? (M = !1, A = Ot[X].mask.replace(new RegExp("[0-9]", "g"), "_"), k = Ot[X].code) : (M && (E = ("" + X).length, A = `+${X}_(___) ___-__-__`.replace(
|
|
5047
5044
|
new RegExp("[0-9]", "g"),
|
|
5048
5045
|
"_"
|
|
5049
|
-
), k = ""),
|
|
5046
|
+
), k = ""), E > ("" + X).length && (M = !0, A = `+${X}_(___) ___-__-__`.replace(
|
|
5050
5047
|
new RegExp("[0-9]", "g"),
|
|
5051
5048
|
"_"
|
|
5052
5049
|
), k = "")));
|
|
5053
5050
|
});
|
|
5054
|
-
let
|
|
5055
|
-
return
|
|
5051
|
+
let oe = A.replace(/\D/g, "");
|
|
5052
|
+
return oe.length >= $.length && ($ = oe), { q: A.replace(/[_\d]/g, function() {
|
|
5056
5053
|
return $.charAt(h++) || "_";
|
|
5057
5054
|
}), i: h, v: $, f: k };
|
|
5058
|
-
}, L = (
|
|
5059
|
-
|
|
5055
|
+
}, L = (W) => {
|
|
5056
|
+
W.preventDefault(), navigator.clipboard.writeText(W.target.textContent.replace(/\D/g, "")).then(
|
|
5060
5057
|
function() {
|
|
5061
5058
|
St.Copy("Данные в буфер обмене");
|
|
5062
5059
|
},
|
|
5063
5060
|
function(h) {
|
|
5064
5061
|
}
|
|
5065
5062
|
);
|
|
5066
|
-
}, q = G(a),
|
|
5067
|
-
|
|
5063
|
+
}, q = G(a), R = (W) => {
|
|
5064
|
+
W.key === "Enter" && W.preventDefault();
|
|
5068
5065
|
};
|
|
5069
|
-
const
|
|
5070
|
-
|
|
5071
|
-
value:
|
|
5066
|
+
const T = (W) => {
|
|
5067
|
+
ee.Blur(W), c && c({
|
|
5068
|
+
value: W.target.textContent.replace(/\D/g, ""),
|
|
5072
5069
|
name: u
|
|
5073
5070
|
});
|
|
5074
5071
|
};
|
|
5075
|
-
let
|
|
5076
|
-
return
|
|
5077
|
-
|
|
5072
|
+
let O = {};
|
|
5073
|
+
return i && g ? (O.edit = "true", O.contentEditable = ee.ContentEditable) : O.contentEditable = "false", y && (O.placeholder = y), x ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
|
|
5074
|
+
Le,
|
|
5078
5075
|
{
|
|
5079
5076
|
type: "input",
|
|
5080
|
-
title:
|
|
5081
|
-
element_blok: { className:
|
|
5082
|
-
element_input: { className: [
|
|
5083
|
-
children: /* @__PURE__ */
|
|
5077
|
+
title: S,
|
|
5078
|
+
element_blok: { className: C },
|
|
5079
|
+
element_input: { className: [ie.w] },
|
|
5080
|
+
children: /* @__PURE__ */ v.jsx(
|
|
5084
5081
|
"div",
|
|
5085
5082
|
{
|
|
5086
5083
|
onPaste: K,
|
|
5087
|
-
onInput:
|
|
5088
|
-
onKeyDown:
|
|
5084
|
+
onInput: I,
|
|
5085
|
+
onKeyDown: R,
|
|
5089
5086
|
onContextMenu: L,
|
|
5090
|
-
onBlur:
|
|
5087
|
+
onBlur: T,
|
|
5091
5088
|
suppressContentEditableWarning: !0,
|
|
5092
|
-
...
|
|
5089
|
+
...O,
|
|
5093
5090
|
children: q.q
|
|
5094
5091
|
}
|
|
5095
5092
|
)
|
|
5096
5093
|
}
|
|
5097
5094
|
);
|
|
5098
5095
|
}
|
|
5099
|
-
const
|
|
5100
|
-
o:
|
|
5101
|
-
c:
|
|
5096
|
+
const cn = "_o_1c9e1_1", un = "_c_1c9e1_11", Rt = {
|
|
5097
|
+
o: cn,
|
|
5098
|
+
c: un
|
|
5102
5099
|
};
|
|
5103
|
-
function
|
|
5100
|
+
function Tn({
|
|
5104
5101
|
title: a,
|
|
5105
|
-
error:
|
|
5102
|
+
error: s,
|
|
5106
5103
|
edit: c = !0,
|
|
5107
5104
|
active: u = !0,
|
|
5108
|
-
className:
|
|
5109
|
-
placeholder:
|
|
5110
|
-
max:
|
|
5105
|
+
className: y,
|
|
5106
|
+
placeholder: S,
|
|
5107
|
+
max: P,
|
|
5111
5108
|
min: x,
|
|
5112
|
-
onValue:
|
|
5109
|
+
onValue: i,
|
|
5113
5110
|
icon: g,
|
|
5114
5111
|
name: o,
|
|
5115
5112
|
value: d,
|
|
5116
5113
|
after: b
|
|
5117
5114
|
}) {
|
|
5118
|
-
let [
|
|
5115
|
+
let [C, F] = U.useState(
|
|
5119
5116
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5120
5117
|
);
|
|
5121
|
-
const A =
|
|
5118
|
+
const A = U.useRef(null), [M, E] = U.useState(!1);
|
|
5122
5119
|
let p = !c && u;
|
|
5123
|
-
|
|
5124
|
-
|
|
5120
|
+
U.useEffect(() => {
|
|
5121
|
+
F(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5125
5122
|
}, [d]);
|
|
5126
|
-
let
|
|
5127
|
-
|
|
5123
|
+
let I = (L) => {
|
|
5124
|
+
F(L), i == null || i({ value: L, name: o });
|
|
5128
5125
|
}, K = (L) => {
|
|
5129
|
-
const q = L.target.getBoundingClientRect(),
|
|
5130
|
-
A.position = { x:
|
|
5126
|
+
const q = L.target.getBoundingClientRect(), R = q.left, T = q.bottom, O = q.top;
|
|
5127
|
+
A.position = { x: R, b: T, y: O }, E(!0);
|
|
5131
5128
|
};
|
|
5132
5129
|
const G = {};
|
|
5133
|
-
return
|
|
5134
|
-
g ? g() : /* @__PURE__ */
|
|
5130
|
+
return S && (G.placeholder = S), p ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
5131
|
+
g ? g() : /* @__PURE__ */ v.jsxs(
|
|
5135
5132
|
"dl",
|
|
5136
5133
|
{
|
|
5137
5134
|
"data-field": "date",
|
|
5138
|
-
className: [
|
|
5135
|
+
className: [ie.l, y].filter((L) => L !== void 0).join(" "),
|
|
5139
5136
|
children: [
|
|
5140
|
-
a ? /* @__PURE__ */
|
|
5141
|
-
/* @__PURE__ */
|
|
5137
|
+
a ? /* @__PURE__ */ v.jsx("dt", { className: ie.t, children: a }) : "",
|
|
5138
|
+
/* @__PURE__ */ v.jsxs(
|
|
5142
5139
|
"dd",
|
|
5143
5140
|
{
|
|
5144
5141
|
onClick: K,
|
|
5145
|
-
className: [
|
|
5142
|
+
className: [ie.f, ie.w].join(" "),
|
|
5146
5143
|
...G,
|
|
5147
5144
|
"data-edit": (c && u) + "",
|
|
5148
5145
|
children: [
|
|
5149
|
-
|
|
5146
|
+
pn(C, "dd.mm.yyyy"),
|
|
5150
5147
|
b
|
|
5151
5148
|
]
|
|
5152
5149
|
}
|
|
5153
5150
|
),
|
|
5154
|
-
|
|
5151
|
+
s && /* @__PURE__ */ v.jsx("em", { children: s })
|
|
5155
5152
|
]
|
|
5156
5153
|
}
|
|
5157
5154
|
),
|
|
5158
|
-
|
|
5159
|
-
/* @__PURE__ */
|
|
5160
|
-
|
|
5155
|
+
M && Mt(
|
|
5156
|
+
/* @__PURE__ */ v.jsx(
|
|
5157
|
+
dn,
|
|
5161
5158
|
{
|
|
5162
5159
|
position: A.position,
|
|
5163
|
-
onValue:
|
|
5164
|
-
date:
|
|
5165
|
-
max:
|
|
5160
|
+
onValue: I,
|
|
5161
|
+
date: C,
|
|
5162
|
+
max: P,
|
|
5166
5163
|
min: x,
|
|
5167
|
-
onOpen:
|
|
5168
|
-
className:
|
|
5164
|
+
onOpen: E,
|
|
5165
|
+
className: y
|
|
5169
5166
|
},
|
|
5170
5167
|
(/* @__PURE__ */ new Date()).getTime()
|
|
5171
5168
|
),
|
|
@@ -5173,70 +5170,70 @@ function Ta({
|
|
|
5173
5170
|
)
|
|
5174
5171
|
] });
|
|
5175
5172
|
}
|
|
5176
|
-
const
|
|
5173
|
+
const dn = ({
|
|
5177
5174
|
date: a,
|
|
5178
|
-
onValue:
|
|
5175
|
+
onValue: s,
|
|
5179
5176
|
position: c,
|
|
5180
5177
|
max: u,
|
|
5181
|
-
min:
|
|
5182
|
-
className:
|
|
5183
|
-
onOpen:
|
|
5178
|
+
min: y,
|
|
5179
|
+
className: S,
|
|
5180
|
+
onOpen: P
|
|
5184
5181
|
}) => {
|
|
5185
|
-
let x = /* @__PURE__ */ new Date(),
|
|
5182
|
+
let x = /* @__PURE__ */ new Date(), i = new Date(a), g = {
|
|
5186
5183
|
y: parseInt(x.getFullYear()),
|
|
5187
5184
|
d: parseInt(x.getDate()),
|
|
5188
5185
|
m: parseInt(x.getMonth()) + 1
|
|
5189
5186
|
}, o = {
|
|
5190
|
-
y: parseInt(
|
|
5191
|
-
d: parseInt(
|
|
5192
|
-
m: parseInt(
|
|
5193
|
-
}, [d, b] =
|
|
5187
|
+
y: parseInt(i.getFullYear()),
|
|
5188
|
+
d: parseInt(i.getDate()),
|
|
5189
|
+
m: parseInt(i.getMonth()) + 1
|
|
5190
|
+
}, [d, b] = U.useState({ y: o.y, m: o.m }), C = (h) => {
|
|
5194
5191
|
let k = h.getDay();
|
|
5195
5192
|
return k === 0 && (k = 7), k - 1;
|
|
5196
|
-
},
|
|
5197
|
-
for (let h = 0; h <
|
|
5198
|
-
|
|
5199
|
-
for (;
|
|
5200
|
-
|
|
5193
|
+
}, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, M = new Date(d.y, A), E = [];
|
|
5194
|
+
for (let h = 0; h < C(M); h++)
|
|
5195
|
+
E.push(0);
|
|
5196
|
+
for (; M.getMonth() === A; )
|
|
5197
|
+
E.push(M.getDate()), M.setDate(M.getDate() + 1);
|
|
5201
5198
|
let p = () => {
|
|
5202
|
-
|
|
5203
|
-
},
|
|
5199
|
+
P(!1);
|
|
5200
|
+
}, I = () => {
|
|
5204
5201
|
L(d.m + 1, d.y);
|
|
5205
5202
|
}, K = () => {
|
|
5206
5203
|
L(d.m - 1, d.y);
|
|
5207
5204
|
}, G = (h) => {
|
|
5208
|
-
|
|
5205
|
+
s(
|
|
5209
5206
|
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5210
5207
|
), p();
|
|
5211
5208
|
}, L = (h, k) => {
|
|
5212
5209
|
k = h > 12 ? k + 1 : h < 1 ? k - 1 : k, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: k, m: h });
|
|
5213
5210
|
};
|
|
5214
|
-
const q = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {},
|
|
5211
|
+
const q = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {}, R = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, T = (h) => {
|
|
5215
5212
|
let k = !0;
|
|
5216
5213
|
if (u) {
|
|
5217
5214
|
let $ = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5218
5215
|
$ < Y && (k = !1);
|
|
5219
5216
|
}
|
|
5220
|
-
if (
|
|
5221
|
-
let $ =
|
|
5217
|
+
if (y) {
|
|
5218
|
+
let $ = y.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5222
5219
|
$ > Y && (k = !1);
|
|
5223
5220
|
}
|
|
5224
5221
|
return k;
|
|
5225
5222
|
};
|
|
5226
|
-
let
|
|
5227
|
-
return /* @__PURE__ */
|
|
5228
|
-
/* @__PURE__ */
|
|
5229
|
-
/* @__PURE__ */
|
|
5223
|
+
let O = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, W = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5224
|
+
return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
5225
|
+
/* @__PURE__ */ v.jsx("div", { className: Rt.o, onClick: () => p() }),
|
|
5226
|
+
/* @__PURE__ */ v.jsxs(
|
|
5230
5227
|
"div",
|
|
5231
5228
|
{
|
|
5232
5229
|
className: [
|
|
5233
5230
|
Rt.c,
|
|
5234
|
-
|
|
5231
|
+
S && S + "-backdrop"
|
|
5235
5232
|
].join(" "),
|
|
5236
|
-
style: { top:
|
|
5233
|
+
style: { top: O + "px", left: W + "px" },
|
|
5237
5234
|
children: [
|
|
5238
|
-
/* @__PURE__ */
|
|
5239
|
-
/* @__PURE__ */
|
|
5235
|
+
/* @__PURE__ */ v.jsxs("s", { children: [
|
|
5236
|
+
/* @__PURE__ */ v.jsx("i", { onClick: K, children: /* @__PURE__ */ v.jsx(
|
|
5240
5237
|
"svg",
|
|
5241
5238
|
{
|
|
5242
5239
|
width: "16",
|
|
@@ -5244,15 +5241,15 @@ const ua = ({
|
|
|
5244
5241
|
fill: "currentColor",
|
|
5245
5242
|
viewBox: "0 0 24 24",
|
|
5246
5243
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5247
|
-
children: /* @__PURE__ */
|
|
5244
|
+
children: /* @__PURE__ */ v.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" })
|
|
5248
5245
|
}
|
|
5249
5246
|
) }),
|
|
5250
|
-
/* @__PURE__ */
|
|
5251
|
-
|
|
5247
|
+
/* @__PURE__ */ v.jsxs("h2", { children: [
|
|
5248
|
+
fn(d.m).name,
|
|
5252
5249
|
" ",
|
|
5253
5250
|
d.y
|
|
5254
5251
|
] }),
|
|
5255
|
-
/* @__PURE__ */
|
|
5252
|
+
/* @__PURE__ */ v.jsx("i", { onClick: I, children: /* @__PURE__ */ v.jsx(
|
|
5256
5253
|
"svg",
|
|
5257
5254
|
{
|
|
5258
5255
|
width: "16",
|
|
@@ -5260,28 +5257,28 @@ const ua = ({
|
|
|
5260
5257
|
fill: "currentColor",
|
|
5261
5258
|
viewBox: "0 0 24 24",
|
|
5262
5259
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5263
|
-
children: /* @__PURE__ */
|
|
5260
|
+
children: /* @__PURE__ */ v.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
|
|
5264
5261
|
}
|
|
5265
5262
|
) })
|
|
5266
5263
|
] }),
|
|
5267
|
-
/* @__PURE__ */
|
|
5268
|
-
|
|
5269
|
-
|
|
5264
|
+
/* @__PURE__ */ v.jsxs("div", { "grid-calendar": "", children: [
|
|
5265
|
+
F.map((h, k) => /* @__PURE__ */ v.jsx("p", { children: h }, "v" + k)),
|
|
5266
|
+
E.map((h, k) => /* @__PURE__ */ v.jsx("span", { children: h !== 0 && T(h) ? /* @__PURE__ */ v.jsx(
|
|
5270
5267
|
"b",
|
|
5271
5268
|
{
|
|
5272
5269
|
...q(h),
|
|
5273
|
-
...
|
|
5270
|
+
...R(h),
|
|
5274
5271
|
onClick: () => G(h),
|
|
5275
5272
|
children: h
|
|
5276
5273
|
}
|
|
5277
|
-
) : /* @__PURE__ */
|
|
5274
|
+
) : /* @__PURE__ */ v.jsx("p", { ...q(h), ...R(h), children: h !== 0 ? h : "" }) }, k))
|
|
5278
5275
|
] })
|
|
5279
5276
|
]
|
|
5280
5277
|
}
|
|
5281
5278
|
)
|
|
5282
5279
|
] });
|
|
5283
5280
|
};
|
|
5284
|
-
function
|
|
5281
|
+
function fn(a) {
|
|
5285
5282
|
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
5286
5283
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5287
5284
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
@@ -5297,13 +5294,13 @@ function da(a) {
|
|
|
5297
5294
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5298
5295
|
}[a];
|
|
5299
5296
|
}
|
|
5300
|
-
function Gt(a,
|
|
5301
|
-
let c =
|
|
5297
|
+
function Gt(a, s) {
|
|
5298
|
+
let c = s + "";
|
|
5302
5299
|
for (; c.length < a; ) c = "0" + c;
|
|
5303
5300
|
return c;
|
|
5304
5301
|
}
|
|
5305
|
-
function
|
|
5306
|
-
|
|
5302
|
+
function pn(a, s) {
|
|
5303
|
+
s === void 0 ? (s = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
5307
5304
|
let c = {
|
|
5308
5305
|
yyyy: a.getFullYear(),
|
|
5309
5306
|
yy: ("" + a.getFullYear()).slice(-2),
|
|
@@ -5316,63 +5313,53 @@ function fa(a, i) {
|
|
|
5316
5313
|
_: " "
|
|
5317
5314
|
};
|
|
5318
5315
|
for (const u in c)
|
|
5319
|
-
|
|
5320
|
-
return
|
|
5316
|
+
s = s.replace(u, c[u]);
|
|
5317
|
+
return s;
|
|
5321
5318
|
}
|
|
5322
|
-
function
|
|
5319
|
+
function Dn({
|
|
5323
5320
|
value: a,
|
|
5324
|
-
onValue:
|
|
5321
|
+
onValue: s,
|
|
5325
5322
|
name: c,
|
|
5326
5323
|
error: u,
|
|
5327
|
-
icon:
|
|
5328
|
-
edit:
|
|
5329
|
-
active:
|
|
5324
|
+
icon: y,
|
|
5325
|
+
edit: S = !0,
|
|
5326
|
+
active: P = !0,
|
|
5330
5327
|
title: x,
|
|
5331
|
-
placeholder:
|
|
5328
|
+
placeholder: i = "",
|
|
5332
5329
|
className: g
|
|
5333
5330
|
}) {
|
|
5334
|
-
let [o, d] =
|
|
5335
|
-
const b =
|
|
5336
|
-
|
|
5331
|
+
let [o, d] = U.useState(a);
|
|
5332
|
+
const b = U.useRef(null), [C, F] = U.useState(!1);
|
|
5333
|
+
U.useEffect(() => {
|
|
5337
5334
|
d(a);
|
|
5338
5335
|
}, [a]);
|
|
5339
5336
|
let A = (p) => {
|
|
5340
|
-
d(p),
|
|
5341
|
-
},
|
|
5342
|
-
if (!
|
|
5343
|
-
const
|
|
5344
|
-
b.position = { x: K, y: G },
|
|
5337
|
+
d(p), s && s({ value: p, name: c });
|
|
5338
|
+
}, M = (p) => {
|
|
5339
|
+
if (!S || !P) return;
|
|
5340
|
+
const I = p.target.getBoundingClientRect(), K = I.left, G = I.top;
|
|
5341
|
+
b.position = { x: K, y: G }, F(!0);
|
|
5345
5342
|
};
|
|
5346
|
-
const
|
|
5347
|
-
return
|
|
5348
|
-
/* @__PURE__ */
|
|
5349
|
-
|
|
5343
|
+
const E = {};
|
|
5344
|
+
return i && (E.placeholder = i), y || /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
5345
|
+
/* @__PURE__ */ v.jsx(
|
|
5346
|
+
Le,
|
|
5350
5347
|
{
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
"dd",
|
|
5357
|
-
{
|
|
5358
|
-
onClick: I,
|
|
5359
|
-
...O,
|
|
5360
|
-
className: [V.f, V.w].join(" "),
|
|
5361
|
-
children: ma(o, "mm.yyyy")
|
|
5362
|
-
}
|
|
5363
|
-
),
|
|
5364
|
-
u && /* @__PURE__ */ m.jsx("em", { children: u })
|
|
5365
|
-
]
|
|
5348
|
+
type: "date",
|
|
5349
|
+
title: x,
|
|
5350
|
+
element_blok: { className: [g] },
|
|
5351
|
+
element_input: { className: [ie.w] },
|
|
5352
|
+
children: /* @__PURE__ */ v.jsx("div", { onClick: M, ...E, children: a })
|
|
5366
5353
|
}
|
|
5367
5354
|
),
|
|
5368
|
-
|
|
5369
|
-
/* @__PURE__ */
|
|
5370
|
-
|
|
5355
|
+
C && Mt(
|
|
5356
|
+
/* @__PURE__ */ v.jsx(
|
|
5357
|
+
mn,
|
|
5371
5358
|
{
|
|
5372
5359
|
position: b.position,
|
|
5373
5360
|
onValue: A,
|
|
5374
5361
|
date: o,
|
|
5375
|
-
onOpen:
|
|
5362
|
+
onOpen: F
|
|
5376
5363
|
},
|
|
5377
5364
|
(/* @__PURE__ */ new Date()).getTime()
|
|
5378
5365
|
),
|
|
@@ -5380,27 +5367,27 @@ function Da({
|
|
|
5380
5367
|
)
|
|
5381
5368
|
] });
|
|
5382
5369
|
}
|
|
5383
|
-
const
|
|
5384
|
-
let
|
|
5385
|
-
y: parseInt(
|
|
5386
|
-
m: parseInt(
|
|
5370
|
+
const mn = ({ onOpen: a, date: s, onValue: c, position: u }) => {
|
|
5371
|
+
let y = /* @__PURE__ */ new Date(), S = new Date(s), P = {
|
|
5372
|
+
y: parseInt(y.getFullYear()),
|
|
5373
|
+
m: parseInt(y.getMonth()) + 1
|
|
5387
5374
|
}, x = {
|
|
5388
|
-
y: parseInt(
|
|
5389
|
-
m: parseInt(
|
|
5390
|
-
}, [
|
|
5375
|
+
y: parseInt(S.getFullYear()),
|
|
5376
|
+
m: parseInt(S.getMonth()) + 1
|
|
5377
|
+
}, [i, g] = U.useState(x.y), o = () => {
|
|
5391
5378
|
a(!1);
|
|
5392
5379
|
}, d = () => {
|
|
5393
|
-
g(
|
|
5380
|
+
g(i + 1);
|
|
5394
5381
|
}, b = () => {
|
|
5395
|
-
g(
|
|
5396
|
-
},
|
|
5397
|
-
c(
|
|
5398
|
-
},
|
|
5399
|
-
return /* @__PURE__ */
|
|
5400
|
-
/* @__PURE__ */
|
|
5401
|
-
/* @__PURE__ */
|
|
5402
|
-
/* @__PURE__ */
|
|
5403
|
-
/* @__PURE__ */
|
|
5382
|
+
g(i - 1);
|
|
5383
|
+
}, C = (p) => {
|
|
5384
|
+
c(i + "-" + yn(2, p)), o();
|
|
5385
|
+
}, F = (p) => P.y === x.y && P.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, I) => I + 1), M = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, E = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5386
|
+
return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
5387
|
+
/* @__PURE__ */ v.jsx("div", { className: Rt.o, onClick: o }),
|
|
5388
|
+
/* @__PURE__ */ v.jsxs("div", { className: Rt.c, style: { top: M + "px", left: E + "px" }, children: [
|
|
5389
|
+
/* @__PURE__ */ v.jsxs("s", { children: [
|
|
5390
|
+
/* @__PURE__ */ v.jsx("i", { onClick: b, children: /* @__PURE__ */ v.jsx(
|
|
5404
5391
|
"svg",
|
|
5405
5392
|
{
|
|
5406
5393
|
width: "16",
|
|
@@ -5408,11 +5395,11 @@ const pa = ({ onOpen: a, date: i, onValue: c, position: u }) => {
|
|
|
5408
5395
|
fill: "currentColor",
|
|
5409
5396
|
viewBox: "0 0 24 24",
|
|
5410
5397
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5411
|
-
children: /* @__PURE__ */
|
|
5398
|
+
children: /* @__PURE__ */ v.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" })
|
|
5412
5399
|
}
|
|
5413
5400
|
) }),
|
|
5414
|
-
/* @__PURE__ */
|
|
5415
|
-
/* @__PURE__ */
|
|
5401
|
+
/* @__PURE__ */ v.jsx("h2", { children: i }),
|
|
5402
|
+
/* @__PURE__ */ v.jsx("i", { onClick: d, children: /* @__PURE__ */ v.jsx(
|
|
5416
5403
|
"svg",
|
|
5417
5404
|
{
|
|
5418
5405
|
width: "16",
|
|
@@ -5420,47 +5407,30 @@ const pa = ({ onOpen: a, date: i, onValue: c, position: u }) => {
|
|
|
5420
5407
|
fill: "currentColor",
|
|
5421
5408
|
viewBox: "0 0 24 24",
|
|
5422
5409
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5423
|
-
children: /* @__PURE__ */
|
|
5410
|
+
children: /* @__PURE__ */ v.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
|
|
5424
5411
|
}
|
|
5425
5412
|
) })
|
|
5426
5413
|
] }),
|
|
5427
|
-
/* @__PURE__ */
|
|
5414
|
+
/* @__PURE__ */ v.jsx("div", { "grid-month": "", children: A.map((p, I) => /* @__PURE__ */ v.jsx(
|
|
5428
5415
|
"span",
|
|
5429
5416
|
{
|
|
5430
5417
|
onClick: () => {
|
|
5431
|
-
|
|
5418
|
+
C(p);
|
|
5432
5419
|
},
|
|
5433
|
-
color:
|
|
5434
|
-
children: /* @__PURE__ */
|
|
5420
|
+
color: F(p),
|
|
5421
|
+
children: /* @__PURE__ */ v.jsx("b", { children: vn(p).abc })
|
|
5435
5422
|
},
|
|
5436
|
-
|
|
5423
|
+
I
|
|
5437
5424
|
)) })
|
|
5438
5425
|
] })
|
|
5439
5426
|
] });
|
|
5440
5427
|
};
|
|
5441
|
-
function
|
|
5442
|
-
|
|
5443
|
-
let c = {
|
|
5444
|
-
yyyy: a.getFullYear(),
|
|
5445
|
-
yy: ("" + a.getFullYear()).slice(-2),
|
|
5446
|
-
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
5447
|
-
dd: ("0" + a.getDate()).slice(-2),
|
|
5448
|
-
HH: ("0" + a.getHours()).slice(-2),
|
|
5449
|
-
MM: ("0" + a.getMinutes()).slice(-2),
|
|
5450
|
-
SS: ("0" + a.getSeconds()).slice(-2),
|
|
5451
|
-
__: " ",
|
|
5452
|
-
_: " "
|
|
5453
|
-
};
|
|
5454
|
-
for (const u in c)
|
|
5455
|
-
i = i.replace(u, c[u]);
|
|
5456
|
-
return i;
|
|
5457
|
-
}
|
|
5458
|
-
function ya(a, i) {
|
|
5459
|
-
let c = i + "";
|
|
5428
|
+
function yn(a, s) {
|
|
5429
|
+
let c = s + "";
|
|
5460
5430
|
for (; c.length < a; ) c = "0" + c;
|
|
5461
5431
|
return c;
|
|
5462
5432
|
}
|
|
5463
|
-
function
|
|
5433
|
+
function vn(a) {
|
|
5464
5434
|
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
5465
5435
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5466
5436
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
@@ -5476,148 +5446,139 @@ function va(a) {
|
|
|
5476
5446
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5477
5447
|
}[a];
|
|
5478
5448
|
}
|
|
5479
|
-
function
|
|
5449
|
+
function Pn({
|
|
5480
5450
|
value: a,
|
|
5481
|
-
onValue:
|
|
5451
|
+
onValue: s,
|
|
5482
5452
|
name: c,
|
|
5483
5453
|
placeholder: u = "",
|
|
5484
|
-
title:
|
|
5485
|
-
error:
|
|
5486
|
-
hide:
|
|
5454
|
+
title: y = "",
|
|
5455
|
+
error: S = "",
|
|
5456
|
+
hide: P = !1,
|
|
5487
5457
|
edit: x = !0,
|
|
5488
|
-
active:
|
|
5458
|
+
active: i = !0,
|
|
5489
5459
|
after: g = "",
|
|
5490
5460
|
show: o = !0,
|
|
5491
5461
|
course: d = 100,
|
|
5492
5462
|
view: b,
|
|
5493
|
-
type:
|
|
5494
|
-
onSave:
|
|
5463
|
+
type: C,
|
|
5464
|
+
onSave: F,
|
|
5495
5465
|
className: A = "",
|
|
5496
|
-
isClear:
|
|
5466
|
+
isClear: M = !1
|
|
5497
5467
|
}) {
|
|
5498
|
-
let
|
|
5499
|
-
let
|
|
5500
|
-
|
|
5501
|
-
}, K = (
|
|
5502
|
-
|
|
5503
|
-
value: p(
|
|
5504
|
-
name: c
|
|
5505
|
-
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && M(R.target.textContent.length, R.target);
|
|
5506
|
-
}, G = (R) => {
|
|
5507
|
-
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }), i == null || i({
|
|
5508
|
-
value: p(R.target.textContent) * d,
|
|
5468
|
+
let E = !!(P && (a === "" || a === void 0)), p = (O) => C === "multi" ? O.replace(/[^+\d.+-]/g, "") : O.replace(/[^+\d.]/g, ""), I = (O, W) => {
|
|
5469
|
+
let h = document.createRange(), k = window.getSelection();
|
|
5470
|
+
h.setStart(W.childNodes[0], O), h.collapse(!0), k.removeAllRanges(), k.addRange(h), W.focus();
|
|
5471
|
+
}, K = (O) => {
|
|
5472
|
+
s == null || s({
|
|
5473
|
+
value: p(O.target.textContent) * d,
|
|
5509
5474
|
name: c
|
|
5510
|
-
}),
|
|
5511
|
-
},
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
R.currentTarget.previousElementSibling.textContent = "", i == null || i({
|
|
5515
|
-
value: 0,
|
|
5475
|
+
}), O.target.textContent = p(O.target.textContent), O.target.textContent.length > 0 && I(O.target.textContent.length, O.target);
|
|
5476
|
+
}, G = (O) => {
|
|
5477
|
+
ee.Blur(O), O.target.textContent === "" && (O.target.textContent = 0), F == null || F({ value: p(O.target.textContent) * d, name: c }), s == null || s({
|
|
5478
|
+
value: p(O.target.textContent) * d,
|
|
5516
5479
|
name: c
|
|
5517
|
-
});
|
|
5518
|
-
},
|
|
5519
|
-
|
|
5520
|
-
},
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5480
|
+
}), O.target.textContent = zt(O.target.textContent);
|
|
5481
|
+
}, L = (O) => {
|
|
5482
|
+
O.target.textContent = p(O.target.textContent);
|
|
5483
|
+
}, q = (O) => {
|
|
5484
|
+
O.key === "Enter" && O.preventDefault();
|
|
5485
|
+
}, R = (O) => {
|
|
5486
|
+
O.preventDefault(), navigator.clipboard.readText().then((W) => {
|
|
5487
|
+
W = W.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, W);
|
|
5488
|
+
}).catch((W) => {
|
|
5524
5489
|
});
|
|
5525
5490
|
};
|
|
5526
|
-
if (!(x &&
|
|
5527
|
-
const
|
|
5528
|
-
return
|
|
5529
|
-
|
|
5491
|
+
if (!(x && i) && !o || !(x && i) && E) return "";
|
|
5492
|
+
const T = {};
|
|
5493
|
+
return T.inputMode = "decimal", u && (T.placeholder = u), x && i && (T.edit = ""), /* @__PURE__ */ v.jsx(
|
|
5494
|
+
Le,
|
|
5530
5495
|
{
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
),
|
|
5551
|
-
I && /* @__PURE__ */ m.jsx("svg", { "action-type": "delete", onClick: q, viewBox: "0 0 24 24", children: /* @__PURE__ */ m.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
|
|
5552
|
-
C ? /* @__PURE__ */ m.jsx("em", { children: C }) : ""
|
|
5553
|
-
]
|
|
5496
|
+
type: "input",
|
|
5497
|
+
title: y,
|
|
5498
|
+
element_blok: { className: [A] },
|
|
5499
|
+
element_input: { className: [ie.w] },
|
|
5500
|
+
children: /* @__PURE__ */ v.jsx(
|
|
5501
|
+
"div",
|
|
5502
|
+
{
|
|
5503
|
+
...T,
|
|
5504
|
+
onInput: K,
|
|
5505
|
+
onPaste: R,
|
|
5506
|
+
onBlur: G,
|
|
5507
|
+
onKeyDown: q,
|
|
5508
|
+
onFocus: L,
|
|
5509
|
+
contentEditable: x && i ? ee.ContentEditable : "false",
|
|
5510
|
+
suppressContentEditableWarning: !0,
|
|
5511
|
+
"data-after": g,
|
|
5512
|
+
children: !u || a ? zt(a) : ""
|
|
5513
|
+
}
|
|
5514
|
+
)
|
|
5554
5515
|
}
|
|
5555
5516
|
);
|
|
5556
5517
|
}
|
|
5557
|
-
function zt(a,
|
|
5518
|
+
function zt(a, s) {
|
|
5558
5519
|
return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5559
5520
|
}
|
|
5560
|
-
function
|
|
5521
|
+
function Nn({
|
|
5561
5522
|
onValue: a,
|
|
5562
|
-
label:
|
|
5523
|
+
label: s,
|
|
5563
5524
|
value: c,
|
|
5564
5525
|
title: u,
|
|
5565
|
-
className:
|
|
5566
|
-
name:
|
|
5567
|
-
text:
|
|
5526
|
+
className: y,
|
|
5527
|
+
name: S,
|
|
5528
|
+
text: P,
|
|
5568
5529
|
id: x,
|
|
5569
|
-
reload:
|
|
5530
|
+
reload: i
|
|
5570
5531
|
}) {
|
|
5571
|
-
const [g, o] =
|
|
5572
|
-
|
|
5532
|
+
const [g, o] = U.useState(!!c);
|
|
5533
|
+
U.useEffect(() => {
|
|
5573
5534
|
o(!!c);
|
|
5574
5535
|
}, [c]);
|
|
5575
5536
|
let d = () => {
|
|
5576
|
-
a && a({ value: g ? 0 : 1, name:
|
|
5537
|
+
a && a({ value: g ? 0 : 1, name: S, id: x, reload: i }), o(!g);
|
|
5577
5538
|
};
|
|
5578
|
-
return /* @__PURE__ */
|
|
5579
|
-
|
|
5539
|
+
return /* @__PURE__ */ v.jsxs(
|
|
5540
|
+
Le,
|
|
5580
5541
|
{
|
|
5581
5542
|
type: "check",
|
|
5582
|
-
title:
|
|
5583
|
-
element_blok: { className: [
|
|
5543
|
+
title: s || u,
|
|
5544
|
+
element_blok: { className: [y] },
|
|
5584
5545
|
element_input: {
|
|
5585
|
-
className: [
|
|
5546
|
+
className: [ie.h],
|
|
5586
5547
|
props: {
|
|
5587
5548
|
onClick: d
|
|
5588
5549
|
}
|
|
5589
5550
|
},
|
|
5590
5551
|
children: [
|
|
5591
|
-
/* @__PURE__ */
|
|
5592
|
-
/* @__PURE__ */
|
|
5552
|
+
/* @__PURE__ */ v.jsx("div", { "aria-checked": `${g ? "true" : "false"}` }),
|
|
5553
|
+
/* @__PURE__ */ v.jsx("span", { children: P })
|
|
5593
5554
|
]
|
|
5594
5555
|
}
|
|
5595
5556
|
);
|
|
5596
5557
|
}
|
|
5597
5558
|
const he = {};
|
|
5598
|
-
function
|
|
5599
|
-
const [
|
|
5600
|
-
return he.u = (
|
|
5601
|
-
u.current = { ...u.current, [
|
|
5602
|
-
}, he.n = (
|
|
5603
|
-
u.current =
|
|
5559
|
+
function Fn(a) {
|
|
5560
|
+
const [s, c] = U.useState({}), u = U.useRef(a);
|
|
5561
|
+
return he.u = (y) => {
|
|
5562
|
+
u.current = { ...u.current, [y.name]: y.value };
|
|
5563
|
+
}, he.n = (y) => {
|
|
5564
|
+
u.current = y, c(Date.now());
|
|
5604
5565
|
}, he.r = () => {
|
|
5605
5566
|
c(Date.now());
|
|
5606
5567
|
}, [u.current, he.n];
|
|
5607
5568
|
}
|
|
5608
|
-
function
|
|
5569
|
+
function In(a) {
|
|
5609
5570
|
he.u(a), a.reload && he.r();
|
|
5610
5571
|
}
|
|
5611
|
-
function
|
|
5572
|
+
function Mn() {
|
|
5612
5573
|
he.r && he.r();
|
|
5613
5574
|
}
|
|
5614
|
-
function $
|
|
5615
|
-
const [
|
|
5616
|
-
return he.u = (
|
|
5617
|
-
u.current = { ...u.current, [
|
|
5618
|
-
}, he.n = (
|
|
5619
|
-
Object.keys(
|
|
5620
|
-
u.current[
|
|
5575
|
+
function $n(a) {
|
|
5576
|
+
const [s, c] = U.useState({}), u = U.useRef(a);
|
|
5577
|
+
return he.u = (y) => {
|
|
5578
|
+
u.current = { ...u.current, [y.name]: y.value };
|
|
5579
|
+
}, he.n = (y) => {
|
|
5580
|
+
Object.keys(y).length > 0 ? Object.keys(y).forEach((S) => {
|
|
5581
|
+
u.current[S] = y[S];
|
|
5621
5582
|
}) : u.current = {}, c(Date.now());
|
|
5622
5583
|
}, he.r = () => {
|
|
5623
5584
|
c(Date.now());
|
|
@@ -5629,22 +5590,22 @@ function It() {
|
|
|
5629
5590
|
It().elcrm || (It().elcrm = {});
|
|
5630
5591
|
Object.assign(It().elcrm, { form: Xt.version });
|
|
5631
5592
|
export {
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
$
|
|
5593
|
+
Nn as Check,
|
|
5594
|
+
Tn as Date,
|
|
5595
|
+
Rn as Mask,
|
|
5596
|
+
xn as Modal,
|
|
5597
|
+
Pn as Money,
|
|
5598
|
+
Dn as Month,
|
|
5599
|
+
Sn as Numeric,
|
|
5600
|
+
wn as Options,
|
|
5601
|
+
Cn as Password,
|
|
5602
|
+
On as Phone,
|
|
5603
|
+
bn as Progress,
|
|
5604
|
+
jn as Select,
|
|
5605
|
+
kn as String,
|
|
5606
|
+
En as Textarea,
|
|
5607
|
+
Mn as runReload,
|
|
5608
|
+
In as setValue,
|
|
5609
|
+
Fn as useData,
|
|
5610
|
+
$n as useError
|
|
5650
5611
|
};
|