@elcrm/form 0.0.10 → 0.0.11
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/Search.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +1019 -950
- package/dist/index.umd.js +33 -33
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createPortal as
|
|
1
|
+
import I, { useEffect as Ur } from "react";
|
|
2
|
+
import { createPortal as Br } from "react-dom";
|
|
3
3
|
import './index.css';var Sr = { exports: {} }, yr = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
@@ -11,18 +11,18 @@ import './index.css';var Sr = { exports: {} }, yr = {};
|
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
var Pr;
|
|
14
|
-
function
|
|
14
|
+
function zr() {
|
|
15
15
|
if (Pr) return yr;
|
|
16
16
|
Pr = 1;
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
var i,
|
|
17
|
+
var l = I, p = Symbol.for("react.element"), h = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, b = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function S(j, c, d) {
|
|
19
|
+
var i, m = {}, _ = null, E = null;
|
|
20
20
|
d !== void 0 && (_ = "" + d), c.key !== void 0 && (_ = "" + c.key), c.ref !== void 0 && (E = c.ref);
|
|
21
|
-
for (i in c) f.call(c, i) && !w.hasOwnProperty(i) && (
|
|
22
|
-
if (
|
|
23
|
-
return { $$typeof: p, type:
|
|
21
|
+
for (i in c) f.call(c, i) && !w.hasOwnProperty(i) && (m[i] = c[i]);
|
|
22
|
+
if (j && j.defaultProps) for (i in c = j.defaultProps, c) m[i] === void 0 && (m[i] = c[i]);
|
|
23
|
+
return { $$typeof: p, type: j, key: _, ref: E, props: m, _owner: b.current };
|
|
24
24
|
}
|
|
25
|
-
return yr.Fragment = h, yr.jsx =
|
|
25
|
+
return yr.Fragment = h, yr.jsx = S, yr.jsxs = S, yr;
|
|
26
26
|
}
|
|
27
27
|
var vr = {};
|
|
28
28
|
/**
|
|
@@ -35,16 +35,16 @@ var vr = {};
|
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
37
|
var Dr;
|
|
38
|
-
function
|
|
38
|
+
function Yr() {
|
|
39
39
|
return Dr || (Dr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var
|
|
41
|
-
function
|
|
40
|
+
var l = I, p = Symbol.for("react.element"), h = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), j = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), C = Symbol.iterator, A = "@@iterator";
|
|
41
|
+
function M(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var r =
|
|
44
|
+
var r = C && e[C] || e[A];
|
|
45
45
|
return typeof r == "function" ? r : null;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var D = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
48
|
function v(e) {
|
|
49
49
|
{
|
|
50
50
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
@@ -54,22 +54,22 @@ function Br() {
|
|
|
54
54
|
}
|
|
55
55
|
function N(e, r, t) {
|
|
56
56
|
{
|
|
57
|
-
var n =
|
|
57
|
+
var n = D.ReactDebugCurrentFrame, s = n.getStackAddendum();
|
|
58
58
|
s !== "" && (r += "%s", t = t.concat([s]));
|
|
59
|
-
var
|
|
59
|
+
var u = t.map(function(o) {
|
|
60
60
|
return String(o);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var K = !1,
|
|
66
|
-
|
|
67
|
-
function
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === f || e === w ||
|
|
65
|
+
var K = !1, J = !1, F = !1, V = !1, T = !1, U;
|
|
66
|
+
U = Symbol.for("react.module.reference");
|
|
67
|
+
function $(e) {
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === w || T || e === b || e === d || e === i || V || e === E || K || J || F || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === m || e.$$typeof === S || e.$$typeof === j || e.$$typeof === c || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
72
|
-
e.$$typeof ===
|
|
72
|
+
e.$$typeof === U || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
74
|
function re(e, r, t) {
|
|
75
75
|
var n = e.displayName;
|
|
@@ -81,7 +81,7 @@ function Br() {
|
|
|
81
81
|
function te(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function P(e) {
|
|
85
85
|
if (e == null)
|
|
86
86
|
return null;
|
|
87
87
|
if (typeof e.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -104,21 +104,21 @@ function Br() {
|
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
|
-
case
|
|
107
|
+
case j:
|
|
108
108
|
var r = e;
|
|
109
109
|
return te(r) + ".Consumer";
|
|
110
|
-
case
|
|
110
|
+
case S:
|
|
111
111
|
var t = e;
|
|
112
112
|
return te(t._context) + ".Provider";
|
|
113
113
|
case c:
|
|
114
114
|
return re(e, e.render, "ForwardRef");
|
|
115
|
-
case
|
|
115
|
+
case m:
|
|
116
116
|
var n = e.displayName || null;
|
|
117
|
-
return n !== null ? n :
|
|
117
|
+
return n !== null ? n : P(e.type) || "Memo";
|
|
118
118
|
case _: {
|
|
119
|
-
var s = e,
|
|
119
|
+
var s = e, u = s._payload, o = s._init;
|
|
120
120
|
try {
|
|
121
|
-
return
|
|
121
|
+
return P(o(u));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,11 +126,11 @@ function Br() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var
|
|
129
|
+
var W = Object.assign, q = 0, ye, ve, me, ge, he, be, _e;
|
|
130
130
|
function je() {
|
|
131
131
|
}
|
|
132
132
|
je.__reactDisabledLog = !0;
|
|
133
|
-
function
|
|
133
|
+
function Me() {
|
|
134
134
|
{
|
|
135
135
|
if (q === 0) {
|
|
136
136
|
ye = console.log, ve = console.info, me = console.warn, ge = console.error, he = console.group, be = console.groupCollapsed, _e = console.groupEnd;
|
|
@@ -162,25 +162,25 @@ function Br() {
|
|
|
162
162
|
writable: !0
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
|
-
log:
|
|
165
|
+
log: W({}, e, {
|
|
166
166
|
value: ye
|
|
167
167
|
}),
|
|
168
|
-
info:
|
|
168
|
+
info: W({}, e, {
|
|
169
169
|
value: ve
|
|
170
170
|
}),
|
|
171
|
-
warn:
|
|
171
|
+
warn: W({}, e, {
|
|
172
172
|
value: me
|
|
173
173
|
}),
|
|
174
|
-
error:
|
|
174
|
+
error: W({}, e, {
|
|
175
175
|
value: ge
|
|
176
176
|
}),
|
|
177
|
-
group:
|
|
177
|
+
group: W({}, e, {
|
|
178
178
|
value: he
|
|
179
179
|
}),
|
|
180
|
-
groupCollapsed:
|
|
180
|
+
groupCollapsed: W({}, e, {
|
|
181
181
|
value: be
|
|
182
182
|
}),
|
|
183
|
-
groupEnd:
|
|
183
|
+
groupEnd: W({}, e, {
|
|
184
184
|
value: _e
|
|
185
185
|
})
|
|
186
186
|
});
|
|
@@ -188,7 +188,7 @@ function Br() {
|
|
|
188
188
|
q < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var ne =
|
|
191
|
+
var ne = D.ReactCurrentDispatcher, ae;
|
|
192
192
|
function G(e, r, t) {
|
|
193
193
|
{
|
|
194
194
|
if (ae === void 0)
|
|
@@ -204,8 +204,8 @@ function Br() {
|
|
|
204
204
|
}
|
|
205
205
|
var oe = !1, Z;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
Z = new
|
|
207
|
+
var Be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
Z = new Be();
|
|
209
209
|
}
|
|
210
210
|
function ke(e, r) {
|
|
211
211
|
if (!e || oe)
|
|
@@ -219,8 +219,8 @@ function Br() {
|
|
|
219
219
|
oe = !0;
|
|
220
220
|
var s = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var u;
|
|
223
|
+
u = ne.current, ne.current = null, Me();
|
|
224
224
|
try {
|
|
225
225
|
if (r) {
|
|
226
226
|
var o = function() {
|
|
@@ -233,50 +233,50 @@ function Br() {
|
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
235
|
Reflect.construct(o, []);
|
|
236
|
-
} catch (
|
|
237
|
-
n =
|
|
236
|
+
} catch (x) {
|
|
237
|
+
n = x;
|
|
238
238
|
}
|
|
239
239
|
Reflect.construct(e, [], o);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
242
|
o.call();
|
|
243
|
-
} catch (
|
|
244
|
-
n =
|
|
243
|
+
} catch (x) {
|
|
244
|
+
n = x;
|
|
245
245
|
}
|
|
246
246
|
e.call(o.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
250
|
throw Error();
|
|
251
|
-
} catch (
|
|
252
|
-
n =
|
|
251
|
+
} catch (x) {
|
|
252
|
+
n = x;
|
|
253
253
|
}
|
|
254
254
|
e();
|
|
255
255
|
}
|
|
256
|
-
} catch (
|
|
257
|
-
if (
|
|
258
|
-
for (var a =
|
|
259
|
-
`),
|
|
260
|
-
`), y = a.length - 1,
|
|
261
|
-
|
|
262
|
-
for (; y >= 1 &&
|
|
263
|
-
if (a[y] !==
|
|
264
|
-
if (y !== 1 ||
|
|
256
|
+
} catch (x) {
|
|
257
|
+
if (x && n && typeof x.stack == "string") {
|
|
258
|
+
for (var a = x.stack.split(`
|
|
259
|
+
`), k = n.stack.split(`
|
|
260
|
+
`), y = a.length - 1, g = k.length - 1; y >= 1 && g >= 0 && a[y] !== k[g]; )
|
|
261
|
+
g--;
|
|
262
|
+
for (; y >= 1 && g >= 0; y--, g--)
|
|
263
|
+
if (a[y] !== k[g]) {
|
|
264
|
+
if (y !== 1 || g !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (y--,
|
|
267
|
-
var
|
|
266
|
+
if (y--, g--, g < 0 || a[y] !== k[g]) {
|
|
267
|
+
var O = `
|
|
268
268
|
` + a[y].replace(" at new ", " at ");
|
|
269
|
-
return e.displayName &&
|
|
269
|
+
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, O), O;
|
|
270
270
|
}
|
|
271
|
-
while (y >= 1 &&
|
|
271
|
+
while (y >= 1 && g >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
oe = !1, ne.current =
|
|
276
|
+
oe = !1, ne.current = u, Ue(), Error.prepareStackTrace = s;
|
|
277
277
|
}
|
|
278
|
-
var z = e ? e.displayName || e.name : "",
|
|
279
|
-
return typeof e == "function" && Z.set(e,
|
|
278
|
+
var z = e ? e.displayName || e.name : "", L = z ? G(z) : "";
|
|
279
|
+
return typeof e == "function" && Z.set(e, L), L;
|
|
280
280
|
}
|
|
281
281
|
function ze(e, r, t) {
|
|
282
282
|
return ke(e, !1);
|
|
@@ -302,19 +302,19 @@ function Br() {
|
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case c:
|
|
304
304
|
return ze(e.render);
|
|
305
|
-
case
|
|
305
|
+
case m:
|
|
306
306
|
return Q(e.type, r, t);
|
|
307
307
|
case _: {
|
|
308
|
-
var n = e, s = n._payload,
|
|
308
|
+
var n = e, s = n._payload, u = n._init;
|
|
309
309
|
try {
|
|
310
|
-
return Q(
|
|
310
|
+
return Q(u(s), r, t);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var X = Object.prototype.hasOwnProperty, we = {}, xe =
|
|
317
|
+
var X = Object.prototype.hasOwnProperty, we = {}, xe = D.ReactDebugCurrentFrame;
|
|
318
318
|
function ee(e) {
|
|
319
319
|
if (e) {
|
|
320
320
|
var r = e._owner, t = Q(e.type, e._source, r ? r.type : null);
|
|
@@ -322,16 +322,16 @@ function Br() {
|
|
|
322
322
|
} else
|
|
323
323
|
xe.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Ke(e, r, t, n, s) {
|
|
326
326
|
{
|
|
327
|
-
var
|
|
327
|
+
var u = Function.call.bind(X);
|
|
328
328
|
for (var o in e)
|
|
329
|
-
if (
|
|
329
|
+
if (u(e, o)) {
|
|
330
330
|
var a = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[o] != "function") {
|
|
333
|
-
var
|
|
334
|
-
throw
|
|
333
|
+
var k = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
|
+
throw k.name = "Invariant Violation", k;
|
|
335
335
|
}
|
|
336
336
|
a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
337
|
} catch (y) {
|
|
@@ -341,9 +341,9 @@ function Br() {
|
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
344
|
+
var Je = Array.isArray;
|
|
345
345
|
function ie(e) {
|
|
346
|
-
return
|
|
346
|
+
return Je(e);
|
|
347
347
|
}
|
|
348
348
|
function Ve(e) {
|
|
349
349
|
{
|
|
@@ -351,7 +351,7 @@ function Br() {
|
|
|
351
351
|
return t;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function qe(e) {
|
|
355
355
|
try {
|
|
356
356
|
return Re(e), !1;
|
|
357
357
|
} catch {
|
|
@@ -362,16 +362,16 @@ function Br() {
|
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
364
|
function Ee(e) {
|
|
365
|
-
if (
|
|
365
|
+
if (qe(e))
|
|
366
366
|
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(e)), Re(e);
|
|
367
367
|
}
|
|
368
|
-
var Se =
|
|
368
|
+
var Se = D.ReactCurrentOwner, Xe = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
373
|
}, Oe, Ce;
|
|
374
|
-
function
|
|
374
|
+
function He(e) {
|
|
375
375
|
if (X.call(e, "ref")) {
|
|
376
376
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (r && r.isReactWarning)
|
|
@@ -379,7 +379,7 @@ function Br() {
|
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function Ge(e) {
|
|
383
383
|
if (X.call(e, "key")) {
|
|
384
384
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (r && r.isReactWarning)
|
|
@@ -387,10 +387,10 @@ function Br() {
|
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function Ze(e, r) {
|
|
391
391
|
typeof e.ref == "string" && Se.current;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function Qe(e, r) {
|
|
394
394
|
{
|
|
395
395
|
var t = function() {
|
|
396
396
|
Oe || (Oe = !0, v("%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)", r));
|
|
@@ -401,7 +401,7 @@ function Br() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function er(e, r) {
|
|
405
405
|
{
|
|
406
406
|
var t = function() {
|
|
407
407
|
Ce || (Ce = !0, v("%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)", r));
|
|
@@ -412,7 +412,7 @@ function Br() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var rr = function(e, r, t, n, s, u, o) {
|
|
416
416
|
var a = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: p,
|
|
@@ -422,7 +422,7 @@ function Br() {
|
|
|
422
422
|
ref: t,
|
|
423
423
|
props: o,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
|
-
_owner:
|
|
425
|
+
_owner: u
|
|
426
426
|
};
|
|
427
427
|
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
428
428
|
configurable: !1,
|
|
@@ -441,41 +441,41 @@ function Br() {
|
|
|
441
441
|
value: s
|
|
442
442
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function tr(e, r, t, n, s) {
|
|
445
445
|
{
|
|
446
|
-
var
|
|
447
|
-
t !== void 0 && (Ee(t), a = "" + t),
|
|
448
|
-
for (
|
|
449
|
-
X.call(r,
|
|
446
|
+
var u, o = {}, a = null, k = null;
|
|
447
|
+
t !== void 0 && (Ee(t), a = "" + t), Ge(r) && (Ee(r.key), a = "" + r.key), He(r) && (k = r.ref, Ze(r, s));
|
|
448
|
+
for (u in r)
|
|
449
|
+
X.call(r, u) && !Xe.hasOwnProperty(u) && (o[u] = r[u]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var y = e.defaultProps;
|
|
452
|
-
for (
|
|
453
|
-
o[
|
|
452
|
+
for (u in y)
|
|
453
|
+
o[u] === void 0 && (o[u] = y[u]);
|
|
454
454
|
}
|
|
455
|
-
if (a ||
|
|
456
|
-
var
|
|
457
|
-
a &&
|
|
455
|
+
if (a || k) {
|
|
456
|
+
var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
+
a && Qe(o, g), k && er(o, g);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return rr(e, a, k, s, n, Se.current, o);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var se =
|
|
463
|
-
function
|
|
462
|
+
var se = D.ReactCurrentOwner, Te = D.ReactDebugCurrentFrame;
|
|
463
|
+
function B(e) {
|
|
464
464
|
if (e) {
|
|
465
465
|
var r = e._owner, t = Q(e.type, e._source, r ? r.type : null);
|
|
466
466
|
Te.setExtraStackFrame(t);
|
|
467
467
|
} else
|
|
468
468
|
Te.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
|
|
472
|
-
function
|
|
470
|
+
var le;
|
|
471
|
+
le = !1;
|
|
472
|
+
function ue(e) {
|
|
473
473
|
return typeof e == "object" && e !== null && e.$$typeof === p;
|
|
474
474
|
}
|
|
475
475
|
function Pe() {
|
|
476
476
|
{
|
|
477
477
|
if (se.current) {
|
|
478
|
-
var e =
|
|
478
|
+
var e = P(se.current.type);
|
|
479
479
|
if (e)
|
|
480
480
|
return `
|
|
481
481
|
|
|
@@ -484,11 +484,11 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function nr(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
490
|
var De = {};
|
|
491
|
-
function
|
|
491
|
+
function ar(e) {
|
|
492
492
|
{
|
|
493
493
|
var r = Pe();
|
|
494
494
|
if (!r) {
|
|
@@ -505,12 +505,12 @@ Check the top-level render call using <` + t + ">.");
|
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var t =
|
|
508
|
+
var t = ar(r);
|
|
509
509
|
if (De[t])
|
|
510
510
|
return;
|
|
511
511
|
De[t] = !0;
|
|
512
512
|
var n = "";
|
|
513
|
-
e && e._owner && e._owner !== se.current && (n = " It was passed a child from " +
|
|
513
|
+
e && e._owner && e._owner !== se.current && (n = " It was passed a child from " + P(e._owner.type) + "."), B(e), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), B(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
function Fe(e, r) {
|
|
@@ -520,19 +520,19 @@ Check the top-level render call using <` + t + ">.");
|
|
|
520
520
|
if (ie(e))
|
|
521
521
|
for (var t = 0; t < e.length; t++) {
|
|
522
522
|
var n = e[t];
|
|
523
|
-
|
|
523
|
+
ue(n) && $e(n, r);
|
|
524
524
|
}
|
|
525
|
-
else if (
|
|
525
|
+
else if (ue(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var s =
|
|
528
|
+
var s = M(e);
|
|
529
529
|
if (typeof s == "function" && s !== e.entries)
|
|
530
|
-
for (var
|
|
531
|
-
|
|
530
|
+
for (var u = s.call(e), o; !(o = u.next()).done; )
|
|
531
|
+
ue(o.value) && $e(o.value, r);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function or(e) {
|
|
536
536
|
{
|
|
537
537
|
var r = e.type;
|
|
538
538
|
if (r == null || typeof r == "string")
|
|
@@ -542,91 +542,91 @@ Check the top-level render call using <` + t + ">.");
|
|
|
542
542
|
t = r.propTypes;
|
|
543
543
|
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
|
-
r.$$typeof ===
|
|
545
|
+
r.$$typeof === m))
|
|
546
546
|
t = r.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
549
|
if (t) {
|
|
550
|
-
var n =
|
|
551
|
-
|
|
552
|
-
} else if (r.PropTypes !== void 0 && !
|
|
553
|
-
|
|
554
|
-
var s =
|
|
550
|
+
var n = P(r);
|
|
551
|
+
Ke(t, e.props, "prop", n, e);
|
|
552
|
+
} else if (r.PropTypes !== void 0 && !le) {
|
|
553
|
+
le = !0;
|
|
554
|
+
var s = P(r);
|
|
555
555
|
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
|
|
556
556
|
}
|
|
557
557
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function ir(e) {
|
|
561
561
|
{
|
|
562
562
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
563
563
|
var n = r[t];
|
|
564
564
|
if (n !== "children" && n !== "key") {
|
|
565
|
-
|
|
565
|
+
B(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), B(null);
|
|
566
566
|
break;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
e.ref !== null && (
|
|
569
|
+
e.ref !== null && (B(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
var Ne = {};
|
|
573
|
-
function Ie(e, r, t, n, s,
|
|
573
|
+
function Ie(e, r, t, n, s, u) {
|
|
574
574
|
{
|
|
575
|
-
var o =
|
|
575
|
+
var o = $(e);
|
|
576
576
|
if (!o) {
|
|
577
577
|
var a = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
|
-
var
|
|
580
|
-
|
|
579
|
+
var k = nr();
|
|
580
|
+
k ? a += k : a += Pe();
|
|
581
581
|
var y;
|
|
582
|
-
e === null ? y = "null" : ie(e) ? y = "array" : e !== void 0 && e.$$typeof === p ? (y = "<" + (
|
|
582
|
+
e === null ? y = "null" : ie(e) ? y = "array" : e !== void 0 && e.$$typeof === p ? (y = "<" + (P(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, a);
|
|
583
583
|
}
|
|
584
|
-
var
|
|
585
|
-
if (
|
|
586
|
-
return
|
|
584
|
+
var g = tr(e, r, t, s, u);
|
|
585
|
+
if (g == null)
|
|
586
|
+
return g;
|
|
587
587
|
if (o) {
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
588
|
+
var O = r.children;
|
|
589
|
+
if (O !== void 0)
|
|
590
590
|
if (n)
|
|
591
|
-
if (ie(
|
|
592
|
-
for (var z = 0; z <
|
|
593
|
-
Fe(
|
|
594
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (ie(O)) {
|
|
592
|
+
for (var z = 0; z < O.length; z++)
|
|
593
|
+
Fe(O[z], e);
|
|
594
|
+
Object.freeze && Object.freeze(O);
|
|
595
595
|
} else
|
|
596
596
|
v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
597
597
|
else
|
|
598
|
-
Fe(
|
|
598
|
+
Fe(O, e);
|
|
599
599
|
}
|
|
600
600
|
if (X.call(r, "key")) {
|
|
601
|
-
var
|
|
602
|
-
return
|
|
603
|
-
}), ce =
|
|
604
|
-
if (!Ne[
|
|
605
|
-
var
|
|
601
|
+
var L = P(e), x = Object.keys(r).filter(function(pr) {
|
|
602
|
+
return pr !== "key";
|
|
603
|
+
}), ce = x.length > 0 ? "{key: someKey, " + x.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!Ne[L + ce]) {
|
|
605
|
+
var fr = x.length > 0 ? "{" + x.join(": ..., ") + ": ...}" : "{}";
|
|
606
606
|
v(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`, ce,
|
|
611
|
+
<%s key={someKey} {...props} />`, ce, L, fr, L), Ne[L + ce] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === f ?
|
|
614
|
+
return e === f ? ir(g) : or(g), g;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function
|
|
617
|
+
function sr(e, r, t) {
|
|
618
618
|
return Ie(e, r, t, !0);
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function lr(e, r, t) {
|
|
621
621
|
return Ie(e, r, t, !1);
|
|
622
622
|
}
|
|
623
|
-
var ur =
|
|
624
|
-
vr.Fragment = f, vr.jsx = ur, vr.jsxs =
|
|
623
|
+
var ur = lr, cr = sr;
|
|
624
|
+
vr.Fragment = f, vr.jsx = ur, vr.jsxs = cr;
|
|
625
625
|
}()), vr;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ? Sr.exports =
|
|
627
|
+
process.env.NODE_ENV === "production" ? Sr.exports = zr() : Sr.exports = Yr();
|
|
628
628
|
var R = Sr.exports;
|
|
629
|
-
function
|
|
629
|
+
function Vt({ name: l, value: p, title: h, style: f, className: b }) {
|
|
630
630
|
let w = {
|
|
631
631
|
field: "progress"
|
|
632
632
|
};
|
|
@@ -635,22 +635,22 @@ function Kt({ name: u, value: p, title: h, style: f, className: b }) {
|
|
|
635
635
|
/* @__PURE__ */ R.jsx("dd", {})
|
|
636
636
|
] });
|
|
637
637
|
}
|
|
638
|
-
let
|
|
639
|
-
|
|
640
|
-
|
|
638
|
+
let pe = {};
|
|
639
|
+
pe.KeyDown = (l) => {
|
|
640
|
+
l.key === "Enter" && l.preventDefault();
|
|
641
641
|
};
|
|
642
|
-
|
|
643
|
-
|
|
642
|
+
pe.PasteOne = (l) => {
|
|
643
|
+
l.preventDefault(), navigator.clipboard.readText().then((p) => {
|
|
644
644
|
p = p.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, p);
|
|
645
645
|
}).catch((p) => {
|
|
646
646
|
});
|
|
647
647
|
};
|
|
648
|
-
|
|
648
|
+
pe.Paste = (l, p) => {
|
|
649
649
|
p.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
650
|
-
if (
|
|
650
|
+
if (l) {
|
|
651
651
|
let f = p.target.textContent.length;
|
|
652
|
-
if (f >=
|
|
653
|
-
|
|
652
|
+
if (f >= l) return;
|
|
653
|
+
l -= f, h = h.slice(0, l);
|
|
654
654
|
}
|
|
655
655
|
window.document.execCommand(
|
|
656
656
|
"insertText",
|
|
@@ -660,13 +660,13 @@ de.Paste = (u, p) => {
|
|
|
660
660
|
}).catch((h) => {
|
|
661
661
|
});
|
|
662
662
|
};
|
|
663
|
-
|
|
664
|
-
|
|
663
|
+
pe.Focus = (l) => {
|
|
664
|
+
l.target.textContent.length === 0 && (l.target.innerHTML = "<br>");
|
|
665
665
|
};
|
|
666
|
-
|
|
667
|
-
|
|
666
|
+
pe.Blur = (l) => {
|
|
667
|
+
l.target.scrollLeft = 0, l.target.querySelector("br") !== null && l.target.querySelector("br").remove();
|
|
668
668
|
};
|
|
669
|
-
|
|
669
|
+
pe.ContentEditable = "plaintext-only";
|
|
670
670
|
var Or = { exports: {} }, mr = {};
|
|
671
671
|
/**
|
|
672
672
|
* @license React
|
|
@@ -681,15 +681,15 @@ var $r;
|
|
|
681
681
|
function Kr() {
|
|
682
682
|
if ($r) return mr;
|
|
683
683
|
$r = 1;
|
|
684
|
-
var
|
|
685
|
-
function
|
|
686
|
-
var i,
|
|
684
|
+
var l = I, p = Symbol.for("react.element"), h = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, b = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
685
|
+
function S(j, c, d) {
|
|
686
|
+
var i, m = {}, _ = null, E = null;
|
|
687
687
|
d !== void 0 && (_ = "" + d), c.key !== void 0 && (_ = "" + c.key), c.ref !== void 0 && (E = c.ref);
|
|
688
|
-
for (i in c) f.call(c, i) && !w.hasOwnProperty(i) && (
|
|
689
|
-
if (
|
|
690
|
-
return { $$typeof: p, type:
|
|
688
|
+
for (i in c) f.call(c, i) && !w.hasOwnProperty(i) && (m[i] = c[i]);
|
|
689
|
+
if (j && j.defaultProps) for (i in c = j.defaultProps, c) m[i] === void 0 && (m[i] = c[i]);
|
|
690
|
+
return { $$typeof: p, type: j, key: _, ref: E, props: m, _owner: b.current };
|
|
691
691
|
}
|
|
692
|
-
return mr.Fragment = h, mr.jsx =
|
|
692
|
+
return mr.Fragment = h, mr.jsx = S, mr.jsxs = S, mr;
|
|
693
693
|
}
|
|
694
694
|
var _r = {};
|
|
695
695
|
/**
|
|
@@ -702,16 +702,16 @@ var _r = {};
|
|
|
702
702
|
* LICENSE file in the root directory of this source tree.
|
|
703
703
|
*/
|
|
704
704
|
var Fr;
|
|
705
|
-
function
|
|
705
|
+
function Jr() {
|
|
706
706
|
return Fr || (Fr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
707
|
-
var
|
|
708
|
-
function
|
|
707
|
+
var l = I, p = Symbol.for("react.element"), h = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), j = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), C = Symbol.iterator, A = "@@iterator";
|
|
708
|
+
function M(e) {
|
|
709
709
|
if (e === null || typeof e != "object")
|
|
710
710
|
return null;
|
|
711
|
-
var r =
|
|
711
|
+
var r = C && e[C] || e[A];
|
|
712
712
|
return typeof r == "function" ? r : null;
|
|
713
713
|
}
|
|
714
|
-
var
|
|
714
|
+
var D = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
715
715
|
function v(e) {
|
|
716
716
|
{
|
|
717
717
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
@@ -721,22 +721,22 @@ function Vr() {
|
|
|
721
721
|
}
|
|
722
722
|
function N(e, r, t) {
|
|
723
723
|
{
|
|
724
|
-
var n =
|
|
724
|
+
var n = D.ReactDebugCurrentFrame, s = n.getStackAddendum();
|
|
725
725
|
s !== "" && (r += "%s", t = t.concat([s]));
|
|
726
|
-
var
|
|
726
|
+
var u = t.map(function(o) {
|
|
727
727
|
return String(o);
|
|
728
728
|
});
|
|
729
|
-
|
|
729
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
|
-
var K = !1,
|
|
733
|
-
|
|
734
|
-
function
|
|
735
|
-
return !!(typeof e == "string" || typeof e == "function" || e === f || e === w ||
|
|
732
|
+
var K = !1, J = !1, F = !1, V = !1, T = !1, U;
|
|
733
|
+
U = Symbol.for("react.module.reference");
|
|
734
|
+
function $(e) {
|
|
735
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === w || T || e === b || e === d || e === i || V || e === E || K || J || F || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === m || e.$$typeof === S || e.$$typeof === j || e.$$typeof === c || // This needs to include all possible module reference object
|
|
736
736
|
// types supported by any Flight configuration anywhere since
|
|
737
737
|
// we don't know which Flight build this will end up being used
|
|
738
738
|
// with.
|
|
739
|
-
e.$$typeof ===
|
|
739
|
+
e.$$typeof === U || e.getModuleId !== void 0));
|
|
740
740
|
}
|
|
741
741
|
function re(e, r, t) {
|
|
742
742
|
var n = e.displayName;
|
|
@@ -748,7 +748,7 @@ function Vr() {
|
|
|
748
748
|
function te(e) {
|
|
749
749
|
return e.displayName || "Context";
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function P(e) {
|
|
752
752
|
if (e == null)
|
|
753
753
|
return null;
|
|
754
754
|
if (typeof e.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -771,21 +771,21 @@ function Vr() {
|
|
|
771
771
|
}
|
|
772
772
|
if (typeof e == "object")
|
|
773
773
|
switch (e.$$typeof) {
|
|
774
|
-
case
|
|
774
|
+
case j:
|
|
775
775
|
var r = e;
|
|
776
776
|
return te(r) + ".Consumer";
|
|
777
|
-
case
|
|
777
|
+
case S:
|
|
778
778
|
var t = e;
|
|
779
779
|
return te(t._context) + ".Provider";
|
|
780
780
|
case c:
|
|
781
781
|
return re(e, e.render, "ForwardRef");
|
|
782
|
-
case
|
|
782
|
+
case m:
|
|
783
783
|
var n = e.displayName || null;
|
|
784
|
-
return n !== null ? n :
|
|
784
|
+
return n !== null ? n : P(e.type) || "Memo";
|
|
785
785
|
case _: {
|
|
786
|
-
var s = e,
|
|
786
|
+
var s = e, u = s._payload, o = s._init;
|
|
787
787
|
try {
|
|
788
|
-
return
|
|
788
|
+
return P(o(u));
|
|
789
789
|
} catch {
|
|
790
790
|
return null;
|
|
791
791
|
}
|
|
@@ -793,11 +793,11 @@ function Vr() {
|
|
|
793
793
|
}
|
|
794
794
|
return null;
|
|
795
795
|
}
|
|
796
|
-
var
|
|
796
|
+
var W = Object.assign, q = 0, ye, ve, me, ge, he, be, _e;
|
|
797
797
|
function je() {
|
|
798
798
|
}
|
|
799
799
|
je.__reactDisabledLog = !0;
|
|
800
|
-
function
|
|
800
|
+
function Me() {
|
|
801
801
|
{
|
|
802
802
|
if (q === 0) {
|
|
803
803
|
ye = console.log, ve = console.info, me = console.warn, ge = console.error, he = console.group, be = console.groupCollapsed, _e = console.groupEnd;
|
|
@@ -829,25 +829,25 @@ function Vr() {
|
|
|
829
829
|
writable: !0
|
|
830
830
|
};
|
|
831
831
|
Object.defineProperties(console, {
|
|
832
|
-
log:
|
|
832
|
+
log: W({}, e, {
|
|
833
833
|
value: ye
|
|
834
834
|
}),
|
|
835
|
-
info:
|
|
835
|
+
info: W({}, e, {
|
|
836
836
|
value: ve
|
|
837
837
|
}),
|
|
838
|
-
warn:
|
|
838
|
+
warn: W({}, e, {
|
|
839
839
|
value: me
|
|
840
840
|
}),
|
|
841
|
-
error:
|
|
841
|
+
error: W({}, e, {
|
|
842
842
|
value: ge
|
|
843
843
|
}),
|
|
844
|
-
group:
|
|
844
|
+
group: W({}, e, {
|
|
845
845
|
value: he
|
|
846
846
|
}),
|
|
847
|
-
groupCollapsed:
|
|
847
|
+
groupCollapsed: W({}, e, {
|
|
848
848
|
value: be
|
|
849
849
|
}),
|
|
850
|
-
groupEnd:
|
|
850
|
+
groupEnd: W({}, e, {
|
|
851
851
|
value: _e
|
|
852
852
|
})
|
|
853
853
|
});
|
|
@@ -855,7 +855,7 @@ function Vr() {
|
|
|
855
855
|
q < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
|
-
var ne =
|
|
858
|
+
var ne = D.ReactCurrentDispatcher, ae;
|
|
859
859
|
function G(e, r, t) {
|
|
860
860
|
{
|
|
861
861
|
if (ae === void 0)
|
|
@@ -871,8 +871,8 @@ function Vr() {
|
|
|
871
871
|
}
|
|
872
872
|
var oe = !1, Z;
|
|
873
873
|
{
|
|
874
|
-
var
|
|
875
|
-
Z = new
|
|
874
|
+
var Be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
875
|
+
Z = new Be();
|
|
876
876
|
}
|
|
877
877
|
function ke(e, r) {
|
|
878
878
|
if (!e || oe)
|
|
@@ -886,8 +886,8 @@ function Vr() {
|
|
|
886
886
|
oe = !0;
|
|
887
887
|
var s = Error.prepareStackTrace;
|
|
888
888
|
Error.prepareStackTrace = void 0;
|
|
889
|
-
var
|
|
890
|
-
|
|
889
|
+
var u;
|
|
890
|
+
u = ne.current, ne.current = null, Me();
|
|
891
891
|
try {
|
|
892
892
|
if (r) {
|
|
893
893
|
var o = function() {
|
|
@@ -900,50 +900,50 @@ function Vr() {
|
|
|
900
900
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
901
901
|
try {
|
|
902
902
|
Reflect.construct(o, []);
|
|
903
|
-
} catch (
|
|
904
|
-
n =
|
|
903
|
+
} catch (x) {
|
|
904
|
+
n = x;
|
|
905
905
|
}
|
|
906
906
|
Reflect.construct(e, [], o);
|
|
907
907
|
} else {
|
|
908
908
|
try {
|
|
909
909
|
o.call();
|
|
910
|
-
} catch (
|
|
911
|
-
n =
|
|
910
|
+
} catch (x) {
|
|
911
|
+
n = x;
|
|
912
912
|
}
|
|
913
913
|
e.call(o.prototype);
|
|
914
914
|
}
|
|
915
915
|
} else {
|
|
916
916
|
try {
|
|
917
917
|
throw Error();
|
|
918
|
-
} catch (
|
|
919
|
-
n =
|
|
918
|
+
} catch (x) {
|
|
919
|
+
n = x;
|
|
920
920
|
}
|
|
921
921
|
e();
|
|
922
922
|
}
|
|
923
|
-
} catch (
|
|
924
|
-
if (
|
|
925
|
-
for (var a =
|
|
926
|
-
`),
|
|
927
|
-
`), y = a.length - 1,
|
|
928
|
-
|
|
929
|
-
for (; y >= 1 &&
|
|
930
|
-
if (a[y] !==
|
|
931
|
-
if (y !== 1 ||
|
|
923
|
+
} catch (x) {
|
|
924
|
+
if (x && n && typeof x.stack == "string") {
|
|
925
|
+
for (var a = x.stack.split(`
|
|
926
|
+
`), k = n.stack.split(`
|
|
927
|
+
`), y = a.length - 1, g = k.length - 1; y >= 1 && g >= 0 && a[y] !== k[g]; )
|
|
928
|
+
g--;
|
|
929
|
+
for (; y >= 1 && g >= 0; y--, g--)
|
|
930
|
+
if (a[y] !== k[g]) {
|
|
931
|
+
if (y !== 1 || g !== 1)
|
|
932
932
|
do
|
|
933
|
-
if (y--,
|
|
934
|
-
var
|
|
933
|
+
if (y--, g--, g < 0 || a[y] !== k[g]) {
|
|
934
|
+
var O = `
|
|
935
935
|
` + a[y].replace(" at new ", " at ");
|
|
936
|
-
return e.displayName &&
|
|
936
|
+
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, O), O;
|
|
937
937
|
}
|
|
938
|
-
while (y >= 1 &&
|
|
938
|
+
while (y >= 1 && g >= 0);
|
|
939
939
|
break;
|
|
940
940
|
}
|
|
941
941
|
}
|
|
942
942
|
} finally {
|
|
943
|
-
oe = !1, ne.current =
|
|
943
|
+
oe = !1, ne.current = u, Ue(), Error.prepareStackTrace = s;
|
|
944
944
|
}
|
|
945
|
-
var z = e ? e.displayName || e.name : "",
|
|
946
|
-
return typeof e == "function" && Z.set(e,
|
|
945
|
+
var z = e ? e.displayName || e.name : "", L = z ? G(z) : "";
|
|
946
|
+
return typeof e == "function" && Z.set(e, L), L;
|
|
947
947
|
}
|
|
948
948
|
function ze(e, r, t) {
|
|
949
949
|
return ke(e, !1);
|
|
@@ -969,19 +969,19 @@ function Vr() {
|
|
|
969
969
|
switch (e.$$typeof) {
|
|
970
970
|
case c:
|
|
971
971
|
return ze(e.render);
|
|
972
|
-
case
|
|
972
|
+
case m:
|
|
973
973
|
return Q(e.type, r, t);
|
|
974
974
|
case _: {
|
|
975
|
-
var n = e, s = n._payload,
|
|
975
|
+
var n = e, s = n._payload, u = n._init;
|
|
976
976
|
try {
|
|
977
|
-
return Q(
|
|
977
|
+
return Q(u(s), r, t);
|
|
978
978
|
} catch {
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
982
|
return "";
|
|
983
983
|
}
|
|
984
|
-
var X = Object.prototype.hasOwnProperty, we = {}, xe =
|
|
984
|
+
var X = Object.prototype.hasOwnProperty, we = {}, xe = D.ReactDebugCurrentFrame;
|
|
985
985
|
function ee(e) {
|
|
986
986
|
if (e) {
|
|
987
987
|
var r = e._owner, t = Q(e.type, e._source, r ? r.type : null);
|
|
@@ -989,16 +989,16 @@ function Vr() {
|
|
|
989
989
|
} else
|
|
990
990
|
xe.setExtraStackFrame(null);
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function Ke(e, r, t, n, s) {
|
|
993
993
|
{
|
|
994
|
-
var
|
|
994
|
+
var u = Function.call.bind(X);
|
|
995
995
|
for (var o in e)
|
|
996
|
-
if (
|
|
996
|
+
if (u(e, o)) {
|
|
997
997
|
var a = void 0;
|
|
998
998
|
try {
|
|
999
999
|
if (typeof e[o] != "function") {
|
|
1000
|
-
var
|
|
1001
|
-
throw
|
|
1000
|
+
var k = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1001
|
+
throw k.name = "Invariant Violation", k;
|
|
1002
1002
|
}
|
|
1003
1003
|
a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1004
1004
|
} catch (y) {
|
|
@@ -1008,9 +1008,9 @@ function Vr() {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
1010
|
}
|
|
1011
|
-
var
|
|
1011
|
+
var Je = Array.isArray;
|
|
1012
1012
|
function ie(e) {
|
|
1013
|
-
return
|
|
1013
|
+
return Je(e);
|
|
1014
1014
|
}
|
|
1015
1015
|
function Ve(e) {
|
|
1016
1016
|
{
|
|
@@ -1018,7 +1018,7 @@ function Vr() {
|
|
|
1018
1018
|
return t;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1021
|
+
function qe(e) {
|
|
1022
1022
|
try {
|
|
1023
1023
|
return Re(e), !1;
|
|
1024
1024
|
} catch {
|
|
@@ -1029,16 +1029,16 @@ function Vr() {
|
|
|
1029
1029
|
return "" + e;
|
|
1030
1030
|
}
|
|
1031
1031
|
function Ee(e) {
|
|
1032
|
-
if (
|
|
1032
|
+
if (qe(e))
|
|
1033
1033
|
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(e)), Re(e);
|
|
1034
1034
|
}
|
|
1035
|
-
var Se =
|
|
1035
|
+
var Se = D.ReactCurrentOwner, Xe = {
|
|
1036
1036
|
key: !0,
|
|
1037
1037
|
ref: !0,
|
|
1038
1038
|
__self: !0,
|
|
1039
1039
|
__source: !0
|
|
1040
1040
|
}, Oe, Ce;
|
|
1041
|
-
function
|
|
1041
|
+
function He(e) {
|
|
1042
1042
|
if (X.call(e, "ref")) {
|
|
1043
1043
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1044
1044
|
if (r && r.isReactWarning)
|
|
@@ -1046,7 +1046,7 @@ function Vr() {
|
|
|
1046
1046
|
}
|
|
1047
1047
|
return e.ref !== void 0;
|
|
1048
1048
|
}
|
|
1049
|
-
function
|
|
1049
|
+
function Ge(e) {
|
|
1050
1050
|
if (X.call(e, "key")) {
|
|
1051
1051
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1052
1052
|
if (r && r.isReactWarning)
|
|
@@ -1054,10 +1054,10 @@ function Vr() {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
return e.key !== void 0;
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function Ze(e, r) {
|
|
1058
1058
|
typeof e.ref == "string" && Se.current;
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function Qe(e, r) {
|
|
1061
1061
|
{
|
|
1062
1062
|
var t = function() {
|
|
1063
1063
|
Oe || (Oe = !0, v("%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)", r));
|
|
@@ -1068,7 +1068,7 @@ function Vr() {
|
|
|
1068
1068
|
});
|
|
1069
1069
|
}
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function er(e, r) {
|
|
1072
1072
|
{
|
|
1073
1073
|
var t = function() {
|
|
1074
1074
|
Ce || (Ce = !0, v("%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)", r));
|
|
@@ -1079,7 +1079,7 @@ function Vr() {
|
|
|
1079
1079
|
});
|
|
1080
1080
|
}
|
|
1081
1081
|
}
|
|
1082
|
-
var
|
|
1082
|
+
var rr = function(e, r, t, n, s, u, o) {
|
|
1083
1083
|
var a = {
|
|
1084
1084
|
// This tag allows us to uniquely identify this as a React Element
|
|
1085
1085
|
$$typeof: p,
|
|
@@ -1089,7 +1089,7 @@ function Vr() {
|
|
|
1089
1089
|
ref: t,
|
|
1090
1090
|
props: o,
|
|
1091
1091
|
// Record the component responsible for creating this element.
|
|
1092
|
-
_owner:
|
|
1092
|
+
_owner: u
|
|
1093
1093
|
};
|
|
1094
1094
|
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
1095
1095
|
configurable: !1,
|
|
@@ -1108,41 +1108,41 @@ function Vr() {
|
|
|
1108
1108
|
value: s
|
|
1109
1109
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
1110
1110
|
};
|
|
1111
|
-
function
|
|
1111
|
+
function tr(e, r, t, n, s) {
|
|
1112
1112
|
{
|
|
1113
|
-
var
|
|
1114
|
-
t !== void 0 && (Ee(t), a = "" + t),
|
|
1115
|
-
for (
|
|
1116
|
-
X.call(r,
|
|
1113
|
+
var u, o = {}, a = null, k = null;
|
|
1114
|
+
t !== void 0 && (Ee(t), a = "" + t), Ge(r) && (Ee(r.key), a = "" + r.key), He(r) && (k = r.ref, Ze(r));
|
|
1115
|
+
for (u in r)
|
|
1116
|
+
X.call(r, u) && !Xe.hasOwnProperty(u) && (o[u] = r[u]);
|
|
1117
1117
|
if (e && e.defaultProps) {
|
|
1118
1118
|
var y = e.defaultProps;
|
|
1119
|
-
for (
|
|
1120
|
-
o[
|
|
1119
|
+
for (u in y)
|
|
1120
|
+
o[u] === void 0 && (o[u] = y[u]);
|
|
1121
1121
|
}
|
|
1122
|
-
if (a ||
|
|
1123
|
-
var
|
|
1124
|
-
a &&
|
|
1122
|
+
if (a || k) {
|
|
1123
|
+
var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1124
|
+
a && Qe(o, g), k && er(o, g);
|
|
1125
1125
|
}
|
|
1126
|
-
return
|
|
1126
|
+
return rr(e, a, k, s, n, Se.current, o);
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
|
-
var se =
|
|
1130
|
-
function
|
|
1129
|
+
var se = D.ReactCurrentOwner, Te = D.ReactDebugCurrentFrame;
|
|
1130
|
+
function B(e) {
|
|
1131
1131
|
if (e) {
|
|
1132
1132
|
var r = e._owner, t = Q(e.type, e._source, r ? r.type : null);
|
|
1133
1133
|
Te.setExtraStackFrame(t);
|
|
1134
1134
|
} else
|
|
1135
1135
|
Te.setExtraStackFrame(null);
|
|
1136
1136
|
}
|
|
1137
|
-
var
|
|
1138
|
-
|
|
1139
|
-
function
|
|
1137
|
+
var le;
|
|
1138
|
+
le = !1;
|
|
1139
|
+
function ue(e) {
|
|
1140
1140
|
return typeof e == "object" && e !== null && e.$$typeof === p;
|
|
1141
1141
|
}
|
|
1142
1142
|
function Pe() {
|
|
1143
1143
|
{
|
|
1144
1144
|
if (se.current) {
|
|
1145
|
-
var e =
|
|
1145
|
+
var e = P(se.current.type);
|
|
1146
1146
|
if (e)
|
|
1147
1147
|
return `
|
|
1148
1148
|
|
|
@@ -1151,11 +1151,11 @@ Check the render method of \`` + e + "`.";
|
|
|
1151
1151
|
return "";
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1154
|
+
function nr(e) {
|
|
1155
1155
|
return "";
|
|
1156
1156
|
}
|
|
1157
1157
|
var De = {};
|
|
1158
|
-
function
|
|
1158
|
+
function ar(e) {
|
|
1159
1159
|
{
|
|
1160
1160
|
var r = Pe();
|
|
1161
1161
|
if (!r) {
|
|
@@ -1172,12 +1172,12 @@ Check the top-level render call using <` + t + ">.");
|
|
|
1172
1172
|
if (!e._store || e._store.validated || e.key != null)
|
|
1173
1173
|
return;
|
|
1174
1174
|
e._store.validated = !0;
|
|
1175
|
-
var t =
|
|
1175
|
+
var t = ar(r);
|
|
1176
1176
|
if (De[t])
|
|
1177
1177
|
return;
|
|
1178
1178
|
De[t] = !0;
|
|
1179
1179
|
var n = "";
|
|
1180
|
-
e && e._owner && e._owner !== se.current && (n = " It was passed a child from " +
|
|
1180
|
+
e && e._owner && e._owner !== se.current && (n = " It was passed a child from " + P(e._owner.type) + "."), B(e), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), B(null);
|
|
1181
1181
|
}
|
|
1182
1182
|
}
|
|
1183
1183
|
function Fe(e, r) {
|
|
@@ -1187,19 +1187,19 @@ Check the top-level render call using <` + t + ">.");
|
|
|
1187
1187
|
if (ie(e))
|
|
1188
1188
|
for (var t = 0; t < e.length; t++) {
|
|
1189
1189
|
var n = e[t];
|
|
1190
|
-
|
|
1190
|
+
ue(n) && $e(n, r);
|
|
1191
1191
|
}
|
|
1192
|
-
else if (
|
|
1192
|
+
else if (ue(e))
|
|
1193
1193
|
e._store && (e._store.validated = !0);
|
|
1194
1194
|
else if (e) {
|
|
1195
|
-
var s =
|
|
1195
|
+
var s = M(e);
|
|
1196
1196
|
if (typeof s == "function" && s !== e.entries)
|
|
1197
|
-
for (var
|
|
1198
|
-
|
|
1197
|
+
for (var u = s.call(e), o; !(o = u.next()).done; )
|
|
1198
|
+
ue(o.value) && $e(o.value, r);
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function or(e) {
|
|
1203
1203
|
{
|
|
1204
1204
|
var r = e.type;
|
|
1205
1205
|
if (r == null || typeof r == "string")
|
|
@@ -1209,92 +1209,92 @@ Check the top-level render call using <` + t + ">.");
|
|
|
1209
1209
|
t = r.propTypes;
|
|
1210
1210
|
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
1211
1211
|
// Inner props are checked in the reconciler.
|
|
1212
|
-
r.$$typeof ===
|
|
1212
|
+
r.$$typeof === m))
|
|
1213
1213
|
t = r.propTypes;
|
|
1214
1214
|
else
|
|
1215
1215
|
return;
|
|
1216
1216
|
if (t) {
|
|
1217
|
-
var n =
|
|
1218
|
-
|
|
1219
|
-
} else if (r.PropTypes !== void 0 && !
|
|
1220
|
-
|
|
1221
|
-
var s =
|
|
1217
|
+
var n = P(r);
|
|
1218
|
+
Ke(t, e.props, "prop", n, e);
|
|
1219
|
+
} else if (r.PropTypes !== void 0 && !le) {
|
|
1220
|
+
le = !0;
|
|
1221
|
+
var s = P(r);
|
|
1222
1222
|
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
|
|
1223
1223
|
}
|
|
1224
1224
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1225
1225
|
}
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function ir(e) {
|
|
1228
1228
|
{
|
|
1229
1229
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
1230
1230
|
var n = r[t];
|
|
1231
1231
|
if (n !== "children" && n !== "key") {
|
|
1232
|
-
|
|
1232
|
+
B(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), B(null);
|
|
1233
1233
|
break;
|
|
1234
1234
|
}
|
|
1235
1235
|
}
|
|
1236
|
-
e.ref !== null && (
|
|
1236
|
+
e.ref !== null && (B(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
1239
|
var Ne = {};
|
|
1240
|
-
function Ie(e, r, t, n, s,
|
|
1240
|
+
function Ie(e, r, t, n, s, u) {
|
|
1241
1241
|
{
|
|
1242
|
-
var o =
|
|
1242
|
+
var o = $(e);
|
|
1243
1243
|
if (!o) {
|
|
1244
1244
|
var a = "";
|
|
1245
1245
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1246
|
-
var
|
|
1247
|
-
|
|
1246
|
+
var k = nr();
|
|
1247
|
+
k ? a += k : a += Pe();
|
|
1248
1248
|
var y;
|
|
1249
|
-
e === null ? y = "null" : ie(e) ? y = "array" : e !== void 0 && e.$$typeof === p ? (y = "<" + (
|
|
1249
|
+
e === null ? y = "null" : ie(e) ? y = "array" : e !== void 0 && e.$$typeof === p ? (y = "<" + (P(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, a);
|
|
1250
1250
|
}
|
|
1251
|
-
var
|
|
1252
|
-
if (
|
|
1253
|
-
return
|
|
1251
|
+
var g = tr(e, r, t, s, u);
|
|
1252
|
+
if (g == null)
|
|
1253
|
+
return g;
|
|
1254
1254
|
if (o) {
|
|
1255
|
-
var
|
|
1256
|
-
if (
|
|
1255
|
+
var O = r.children;
|
|
1256
|
+
if (O !== void 0)
|
|
1257
1257
|
if (n)
|
|
1258
|
-
if (ie(
|
|
1259
|
-
for (var z = 0; z <
|
|
1260
|
-
Fe(
|
|
1261
|
-
Object.freeze && Object.freeze(
|
|
1258
|
+
if (ie(O)) {
|
|
1259
|
+
for (var z = 0; z < O.length; z++)
|
|
1260
|
+
Fe(O[z], e);
|
|
1261
|
+
Object.freeze && Object.freeze(O);
|
|
1262
1262
|
} else
|
|
1263
1263
|
v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1264
1264
|
else
|
|
1265
|
-
Fe(
|
|
1265
|
+
Fe(O, e);
|
|
1266
1266
|
}
|
|
1267
1267
|
if (X.call(r, "key")) {
|
|
1268
|
-
var
|
|
1269
|
-
return
|
|
1270
|
-
}), ce =
|
|
1271
|
-
if (!Ne[
|
|
1272
|
-
var
|
|
1268
|
+
var L = P(e), x = Object.keys(r).filter(function(pr) {
|
|
1269
|
+
return pr !== "key";
|
|
1270
|
+
}), ce = x.length > 0 ? "{key: someKey, " + x.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1271
|
+
if (!Ne[L + ce]) {
|
|
1272
|
+
var fr = x.length > 0 ? "{" + x.join(": ..., ") + ": ...}" : "{}";
|
|
1273
1273
|
v(`A props object containing a "key" prop is being spread into JSX:
|
|
1274
1274
|
let props = %s;
|
|
1275
1275
|
<%s {...props} />
|
|
1276
1276
|
React keys must be passed directly to JSX without using spread:
|
|
1277
1277
|
let props = %s;
|
|
1278
|
-
<%s key={someKey} {...props} />`, ce,
|
|
1278
|
+
<%s key={someKey} {...props} />`, ce, L, fr, L), Ne[L + ce] = !0;
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
1281
|
-
return e === f ?
|
|
1281
|
+
return e === f ? ir(g) : or(g), g;
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
|
-
function
|
|
1284
|
+
function sr(e, r, t) {
|
|
1285
1285
|
return Ie(e, r, t, !0);
|
|
1286
1286
|
}
|
|
1287
|
-
function
|
|
1287
|
+
function lr(e, r, t) {
|
|
1288
1288
|
return Ie(e, r, t, !1);
|
|
1289
1289
|
}
|
|
1290
|
-
var ur =
|
|
1291
|
-
_r.Fragment = f, _r.jsx = ur, _r.jsxs =
|
|
1290
|
+
var ur = lr, cr = sr;
|
|
1291
|
+
_r.Fragment = f, _r.jsx = ur, _r.jsxs = cr;
|
|
1292
1292
|
}()), _r;
|
|
1293
1293
|
}
|
|
1294
|
-
process.env.NODE_ENV === "production" ? Or.exports = Kr() : Or.exports =
|
|
1294
|
+
process.env.NODE_ENV === "production" ? Or.exports = Kr() : Or.exports = Jr();
|
|
1295
1295
|
var H = Or.exports;
|
|
1296
|
-
const
|
|
1297
|
-
notice:
|
|
1296
|
+
const Vr = "_notice_13j98_2", qr = "_error_13j98_11", Xr = "_success_13j98_14", Hr = "_remark_13j98_17", Gr = "_copy_13j98_20", Mr = {
|
|
1297
|
+
notice: Vr,
|
|
1298
1298
|
error: qr,
|
|
1299
1299
|
success: Xr,
|
|
1300
1300
|
remark: Hr,
|
|
@@ -1303,51 +1303,51 @@ const Jr = "_notice_13j98_2", qr = "_error_13j98_11", Xr = "_success_13j98_14",
|
|
|
1303
1303
|
"hide-notice": "_hide-notice_13j98_1"
|
|
1304
1304
|
};
|
|
1305
1305
|
let Ae = {};
|
|
1306
|
-
function gr({ data:
|
|
1307
|
-
let [p, h] =
|
|
1308
|
-
|
|
1309
|
-
|
|
1306
|
+
function gr({ data: l }) {
|
|
1307
|
+
let [p, h] = I.useState("show");
|
|
1308
|
+
I.useEffect(() => {
|
|
1309
|
+
l.hide && (setTimeout(function() {
|
|
1310
1310
|
h("hide");
|
|
1311
1311
|
}, 1800), setTimeout(function() {
|
|
1312
|
-
Ae.del(
|
|
1312
|
+
Ae.del(l.key);
|
|
1313
1313
|
}, 2500));
|
|
1314
|
-
}, [
|
|
1314
|
+
}, [l.key]);
|
|
1315
1315
|
let f, b;
|
|
1316
|
-
switch (
|
|
1316
|
+
switch (l.type) {
|
|
1317
1317
|
case "error":
|
|
1318
|
-
f = /* @__PURE__ */ H.jsx(
|
|
1318
|
+
f = /* @__PURE__ */ H.jsx(dr.error, {}), b = "Ошибка:";
|
|
1319
1319
|
break;
|
|
1320
1320
|
case "success":
|
|
1321
|
-
f = /* @__PURE__ */ H.jsx(
|
|
1321
|
+
f = /* @__PURE__ */ H.jsx(dr.success, {}), b = "Информация:";
|
|
1322
1322
|
break;
|
|
1323
1323
|
case "copy":
|
|
1324
|
-
f = /* @__PURE__ */ H.jsx(
|
|
1324
|
+
f = /* @__PURE__ */ H.jsx(dr.success, {}), b = "Копирование:";
|
|
1325
1325
|
break;
|
|
1326
1326
|
case "remark":
|
|
1327
|
-
f = /* @__PURE__ */ H.jsx(
|
|
1327
|
+
f = /* @__PURE__ */ H.jsx(dr.success, {}), b = "Подсказка:";
|
|
1328
1328
|
break;
|
|
1329
1329
|
default:
|
|
1330
|
-
f = /* @__PURE__ */ H.jsx(
|
|
1330
|
+
f = /* @__PURE__ */ H.jsx(dr.success, {}), b = "Предупреждение:";
|
|
1331
1331
|
break;
|
|
1332
1332
|
}
|
|
1333
|
-
return /* @__PURE__ */ H.jsxs("li", { className:
|
|
1333
|
+
return /* @__PURE__ */ H.jsxs("li", { className: Mr[l.type], "data-status": p, children: [
|
|
1334
1334
|
f,
|
|
1335
1335
|
/* @__PURE__ */ H.jsx("b", { children: b }),
|
|
1336
|
-
/* @__PURE__ */ H.jsx("p", { children:
|
|
1336
|
+
/* @__PURE__ */ H.jsx("p", { children: l.text })
|
|
1337
1337
|
] });
|
|
1338
1338
|
}
|
|
1339
|
-
function Zr({ data:
|
|
1340
|
-
let [p, h] =
|
|
1341
|
-
return
|
|
1342
|
-
|
|
1339
|
+
function Zr({ data: l }) {
|
|
1340
|
+
let [p, h] = I.useState("show");
|
|
1341
|
+
return I.useEffect(() => {
|
|
1342
|
+
l.hide && (setTimeout(function() {
|
|
1343
1343
|
h("hide");
|
|
1344
1344
|
}, 1800), setTimeout(function() {
|
|
1345
|
-
Ae.del(
|
|
1345
|
+
Ae.del(l.key);
|
|
1346
1346
|
}, 2500));
|
|
1347
|
-
}, [
|
|
1347
|
+
}, [l.key]), /* @__PURE__ */ H.jsx("li", { className: "item", "data-status": p, children: l.text });
|
|
1348
1348
|
}
|
|
1349
|
-
const
|
|
1350
|
-
|
|
1349
|
+
const dr = {};
|
|
1350
|
+
dr.error = () => /* @__PURE__ */ H.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
1351
1351
|
/* @__PURE__ */ H.jsx(
|
|
1352
1352
|
"path",
|
|
1353
1353
|
{
|
|
@@ -1363,7 +1363,7 @@ pr.error = () => /* @__PURE__ */ H.jsxs("svg", { viewBox: "0 0 24 24", fill: "no
|
|
|
1363
1363
|
}
|
|
1364
1364
|
)
|
|
1365
1365
|
] });
|
|
1366
|
-
|
|
1366
|
+
dr.success = () => /* @__PURE__ */ H.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
1367
1367
|
/* @__PURE__ */ H.jsx(
|
|
1368
1368
|
"path",
|
|
1369
1369
|
{
|
|
@@ -1380,37 +1380,37 @@ pr.success = () => /* @__PURE__ */ H.jsxs("svg", { viewBox: "0 0 24 24", fill: "
|
|
|
1380
1380
|
)
|
|
1381
1381
|
] });
|
|
1382
1382
|
var Nr;
|
|
1383
|
-
((
|
|
1383
|
+
((l) => {
|
|
1384
1384
|
function p() {
|
|
1385
|
-
let [c, d] =
|
|
1385
|
+
let [c, d] = I.useState([]);
|
|
1386
1386
|
return Ae.set = (i) => {
|
|
1387
1387
|
d([...c, i]);
|
|
1388
1388
|
}, Ae.del = (i) => {
|
|
1389
|
-
d(c.filter((
|
|
1390
|
-
}, c.length === 0 ? "" : /* @__PURE__ */ H.jsx("ul", { className:
|
|
1389
|
+
d(c.filter((m) => m.key !== i));
|
|
1390
|
+
}, c.length === 0 ? "" : /* @__PURE__ */ H.jsx("ul", { className: Mr.notice, children: c.map((i) => i.item) });
|
|
1391
1391
|
}
|
|
1392
|
-
|
|
1392
|
+
l.Init = p;
|
|
1393
1393
|
function h(c, d = !0) {
|
|
1394
|
-
let i = Date.now(),
|
|
1394
|
+
let i = Date.now(), m = { key: i, text: c, hide: d, type: "error" };
|
|
1395
1395
|
Ae.set({
|
|
1396
|
-
item: /* @__PURE__ */ H.jsx(gr, { data:
|
|
1396
|
+
item: /* @__PURE__ */ H.jsx(gr, { data: m }, i),
|
|
1397
1397
|
key: i
|
|
1398
1398
|
});
|
|
1399
1399
|
}
|
|
1400
|
-
|
|
1400
|
+
l.Error = h;
|
|
1401
1401
|
function f(c, d = !0) {
|
|
1402
|
-
let i = Date.now(),
|
|
1402
|
+
let i = Date.now(), m = { key: i, text: c, hide: d, type: "success" };
|
|
1403
1403
|
Ae.set({
|
|
1404
|
-
item: /* @__PURE__ */ H.jsx(gr, { data:
|
|
1404
|
+
item: /* @__PURE__ */ H.jsx(gr, { data: m }, i),
|
|
1405
1405
|
key: i
|
|
1406
1406
|
});
|
|
1407
1407
|
}
|
|
1408
|
-
|
|
1408
|
+
l.Success = f;
|
|
1409
1409
|
function b(c, d = !0) {
|
|
1410
|
-
let i = Date.now(),
|
|
1411
|
-
Ae.set({ item: /* @__PURE__ */ H.jsx(Zr, { data:
|
|
1410
|
+
let i = Date.now(), m = { key: i, hide: d, text: c };
|
|
1411
|
+
Ae.set({ item: /* @__PURE__ */ H.jsx(Zr, { data: m }, i), key: i });
|
|
1412
1412
|
}
|
|
1413
|
-
|
|
1413
|
+
l.Custom = b;
|
|
1414
1414
|
function w(c) {
|
|
1415
1415
|
let d = Date.now(), i = { key: d, hide: !0, ...c };
|
|
1416
1416
|
Ae.set({
|
|
@@ -1418,104 +1418,104 @@ var Nr;
|
|
|
1418
1418
|
key: d
|
|
1419
1419
|
});
|
|
1420
1420
|
}
|
|
1421
|
-
|
|
1422
|
-
function
|
|
1423
|
-
let i = Date.now(),
|
|
1421
|
+
l.Send = w;
|
|
1422
|
+
function S(c, d = !0) {
|
|
1423
|
+
let i = Date.now(), m = { key: i, text: c, hide: d, type: "remark" };
|
|
1424
1424
|
Ae.set({
|
|
1425
|
-
item: /* @__PURE__ */ H.jsx(gr, { data:
|
|
1425
|
+
item: /* @__PURE__ */ H.jsx(gr, { data: m }, i),
|
|
1426
1426
|
key: i
|
|
1427
1427
|
});
|
|
1428
1428
|
}
|
|
1429
|
-
|
|
1430
|
-
function
|
|
1431
|
-
let i = Date.now(),
|
|
1429
|
+
l.Remark = S;
|
|
1430
|
+
function j(c, d = !0) {
|
|
1431
|
+
let i = Date.now(), m = { key: i, text: c, hide: d, type: "copy" };
|
|
1432
1432
|
Ae.set({
|
|
1433
|
-
item: /* @__PURE__ */ H.jsx(gr, { data:
|
|
1433
|
+
item: /* @__PURE__ */ H.jsx(gr, { data: m }, i),
|
|
1434
1434
|
key: i
|
|
1435
1435
|
});
|
|
1436
1436
|
}
|
|
1437
|
-
|
|
1437
|
+
l.Copy = j;
|
|
1438
1438
|
})(Nr || (Nr = {}));
|
|
1439
|
-
const Qr = "
|
|
1439
|
+
const Qr = "_l_8c2n7_13", et = "_f_8c2n7_20", rt = "_w_8c2n7_40", tt = "_t_8c2n7_50", Le = {
|
|
1440
1440
|
l: Qr,
|
|
1441
1441
|
f: et,
|
|
1442
1442
|
w: rt,
|
|
1443
1443
|
t: tt
|
|
1444
1444
|
};
|
|
1445
|
-
function
|
|
1446
|
-
id:
|
|
1445
|
+
function qt({
|
|
1446
|
+
id: l,
|
|
1447
1447
|
value: p,
|
|
1448
1448
|
onValue: h,
|
|
1449
1449
|
name: f,
|
|
1450
1450
|
placeholder: b = "",
|
|
1451
1451
|
title: w = "",
|
|
1452
|
-
error:
|
|
1453
|
-
hide:
|
|
1452
|
+
error: S = "",
|
|
1453
|
+
hide: j = !1,
|
|
1454
1454
|
edit: c = !0,
|
|
1455
1455
|
active: d = !0,
|
|
1456
1456
|
after: i = "",
|
|
1457
|
-
before:
|
|
1457
|
+
before: m = "",
|
|
1458
1458
|
show: _ = !0,
|
|
1459
1459
|
maxLength: E,
|
|
1460
|
-
onSave:
|
|
1461
|
-
className:
|
|
1462
|
-
isCopy:
|
|
1463
|
-
isReload:
|
|
1460
|
+
onSave: C,
|
|
1461
|
+
className: A = "",
|
|
1462
|
+
isCopy: M = !0,
|
|
1463
|
+
isReload: D = !1
|
|
1464
1464
|
}) {
|
|
1465
|
-
let v = !!(
|
|
1465
|
+
let v = !!(j && (p === "" || p === void 0)), N = (T) => {
|
|
1466
1466
|
h && h({
|
|
1467
|
-
value:
|
|
1467
|
+
value: T.target.textContent.trim(),
|
|
1468
1468
|
name: f,
|
|
1469
|
-
reload:
|
|
1469
|
+
reload: D
|
|
1470
1470
|
});
|
|
1471
|
-
}, K = (
|
|
1472
|
-
E &&
|
|
1473
|
-
},
|
|
1474
|
-
|
|
1471
|
+
}, K = (T) => {
|
|
1472
|
+
E && T.target.textContent.trim().length >= E && T.key !== "Backspace" && T.preventDefault(), T.key === "Enter" && T.preventDefault();
|
|
1473
|
+
}, J = (T) => {
|
|
1474
|
+
T.preventDefault(), navigator.clipboard.readText().then((U) => {
|
|
1475
1475
|
if (E) {
|
|
1476
|
-
let
|
|
1477
|
-
if (
|
|
1478
|
-
E -=
|
|
1476
|
+
let $ = T.target.textContent.length;
|
|
1477
|
+
if ($ >= E) return;
|
|
1478
|
+
E -= $, U = U.slice(0, E);
|
|
1479
1479
|
}
|
|
1480
1480
|
window.document.execCommand(
|
|
1481
1481
|
"insertText",
|
|
1482
1482
|
!1,
|
|
1483
|
-
|
|
1483
|
+
U.replace(/(\r\n|\n|\r)/gm, " ")
|
|
1484
1484
|
);
|
|
1485
|
-
}).catch((
|
|
1485
|
+
}).catch((U) => {
|
|
1486
1486
|
});
|
|
1487
1487
|
};
|
|
1488
1488
|
if (!(c && d) && !_ || !(c && d) && v) return "";
|
|
1489
|
-
const
|
|
1490
|
-
b && (
|
|
1491
|
-
const
|
|
1492
|
-
|
|
1489
|
+
const F = {};
|
|
1490
|
+
b && (F.placeholder = b), c && d && (F.edit = "");
|
|
1491
|
+
const V = (T) => {
|
|
1492
|
+
pe.Blur(T), C == null || C({ value: T.target.textContent.trim(), name: f });
|
|
1493
1493
|
};
|
|
1494
1494
|
return /* @__PURE__ */ R.jsxs(
|
|
1495
1495
|
"dl",
|
|
1496
1496
|
{
|
|
1497
1497
|
"data-field": "input",
|
|
1498
|
-
className: [
|
|
1498
|
+
className: [Le.l, A].filter((T) => T !== void 0).join(" "),
|
|
1499
1499
|
children: [
|
|
1500
|
-
w ? /* @__PURE__ */ R.jsx("dt", { className:
|
|
1501
|
-
|
|
1500
|
+
w ? /* @__PURE__ */ R.jsx("dt", { className: Le.t, children: w }) : "",
|
|
1501
|
+
m,
|
|
1502
1502
|
/* @__PURE__ */ R.jsx(
|
|
1503
1503
|
"dd",
|
|
1504
1504
|
{
|
|
1505
|
-
className: [
|
|
1506
|
-
onPaste:
|
|
1505
|
+
className: [Le.f, Le.w].join(" "),
|
|
1506
|
+
onPaste: J,
|
|
1507
1507
|
onInput: N,
|
|
1508
|
-
onBlur:
|
|
1508
|
+
onBlur: V,
|
|
1509
1509
|
onKeyDown: K,
|
|
1510
1510
|
spellCheck: "true",
|
|
1511
|
-
contentEditable: c && d ?
|
|
1511
|
+
contentEditable: c && d ? pe.ContentEditable : "false",
|
|
1512
1512
|
suppressContentEditableWarning: !0,
|
|
1513
|
-
|
|
1513
|
+
...F,
|
|
1514
1514
|
children: p
|
|
1515
1515
|
}
|
|
1516
1516
|
),
|
|
1517
1517
|
i,
|
|
1518
|
-
|
|
1518
|
+
S ? /* @__PURE__ */ R.jsx("em", { children: S }) : ""
|
|
1519
1519
|
]
|
|
1520
1520
|
}
|
|
1521
1521
|
);
|
|
@@ -1534,15 +1534,15 @@ var Ir;
|
|
|
1534
1534
|
function nt() {
|
|
1535
1535
|
if (Ir) return hr;
|
|
1536
1536
|
Ir = 1;
|
|
1537
|
-
var
|
|
1538
|
-
function
|
|
1539
|
-
var i,
|
|
1537
|
+
var l = I, p = Symbol.for("react.element"), h = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, b = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1538
|
+
function S(j, c, d) {
|
|
1539
|
+
var i, m = {}, _ = null, E = null;
|
|
1540
1540
|
d !== void 0 && (_ = "" + d), c.key !== void 0 && (_ = "" + c.key), c.ref !== void 0 && (E = c.ref);
|
|
1541
|
-
for (i in c) f.call(c, i) && !w.hasOwnProperty(i) && (
|
|
1542
|
-
if (
|
|
1543
|
-
return { $$typeof: p, type:
|
|
1541
|
+
for (i in c) f.call(c, i) && !w.hasOwnProperty(i) && (m[i] = c[i]);
|
|
1542
|
+
if (j && j.defaultProps) for (i in c = j.defaultProps, c) m[i] === void 0 && (m[i] = c[i]);
|
|
1543
|
+
return { $$typeof: p, type: j, key: _, ref: E, props: m, _owner: b.current };
|
|
1544
1544
|
}
|
|
1545
|
-
return hr.Fragment = h, hr.jsx =
|
|
1545
|
+
return hr.Fragment = h, hr.jsx = S, hr.jsxs = S, hr;
|
|
1546
1546
|
}
|
|
1547
1547
|
var jr = {};
|
|
1548
1548
|
/**
|
|
@@ -1557,14 +1557,14 @@ var jr = {};
|
|
|
1557
1557
|
var Ar;
|
|
1558
1558
|
function at() {
|
|
1559
1559
|
return Ar || (Ar = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1560
|
-
var
|
|
1561
|
-
function
|
|
1560
|
+
var l = I, p = Symbol.for("react.element"), h = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), j = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), C = Symbol.iterator, A = "@@iterator";
|
|
1561
|
+
function M(e) {
|
|
1562
1562
|
if (e === null || typeof e != "object")
|
|
1563
1563
|
return null;
|
|
1564
|
-
var r =
|
|
1564
|
+
var r = C && e[C] || e[A];
|
|
1565
1565
|
return typeof r == "function" ? r : null;
|
|
1566
1566
|
}
|
|
1567
|
-
var
|
|
1567
|
+
var D = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1568
1568
|
function v(e) {
|
|
1569
1569
|
{
|
|
1570
1570
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
@@ -1574,22 +1574,22 @@ function at() {
|
|
|
1574
1574
|
}
|
|
1575
1575
|
function N(e, r, t) {
|
|
1576
1576
|
{
|
|
1577
|
-
var n =
|
|
1577
|
+
var n = D.ReactDebugCurrentFrame, s = n.getStackAddendum();
|
|
1578
1578
|
s !== "" && (r += "%s", t = t.concat([s]));
|
|
1579
|
-
var
|
|
1579
|
+
var u = t.map(function(o) {
|
|
1580
1580
|
return String(o);
|
|
1581
1581
|
});
|
|
1582
|
-
|
|
1582
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
1583
1583
|
}
|
|
1584
1584
|
}
|
|
1585
|
-
var K = !1,
|
|
1586
|
-
|
|
1587
|
-
function
|
|
1588
|
-
return !!(typeof e == "string" || typeof e == "function" || e === f || e === w ||
|
|
1585
|
+
var K = !1, J = !1, F = !1, V = !1, T = !1, U;
|
|
1586
|
+
U = Symbol.for("react.module.reference");
|
|
1587
|
+
function $(e) {
|
|
1588
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === w || T || e === b || e === d || e === i || V || e === E || K || J || F || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === m || e.$$typeof === S || e.$$typeof === j || e.$$typeof === c || // This needs to include all possible module reference object
|
|
1589
1589
|
// types supported by any Flight configuration anywhere since
|
|
1590
1590
|
// we don't know which Flight build this will end up being used
|
|
1591
1591
|
// with.
|
|
1592
|
-
e.$$typeof ===
|
|
1592
|
+
e.$$typeof === U || e.getModuleId !== void 0));
|
|
1593
1593
|
}
|
|
1594
1594
|
function re(e, r, t) {
|
|
1595
1595
|
var n = e.displayName;
|
|
@@ -1601,7 +1601,7 @@ function at() {
|
|
|
1601
1601
|
function te(e) {
|
|
1602
1602
|
return e.displayName || "Context";
|
|
1603
1603
|
}
|
|
1604
|
-
function
|
|
1604
|
+
function P(e) {
|
|
1605
1605
|
if (e == null)
|
|
1606
1606
|
return null;
|
|
1607
1607
|
if (typeof e.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -1624,21 +1624,21 @@ function at() {
|
|
|
1624
1624
|
}
|
|
1625
1625
|
if (typeof e == "object")
|
|
1626
1626
|
switch (e.$$typeof) {
|
|
1627
|
-
case
|
|
1627
|
+
case j:
|
|
1628
1628
|
var r = e;
|
|
1629
1629
|
return te(r) + ".Consumer";
|
|
1630
|
-
case
|
|
1630
|
+
case S:
|
|
1631
1631
|
var t = e;
|
|
1632
1632
|
return te(t._context) + ".Provider";
|
|
1633
1633
|
case c:
|
|
1634
1634
|
return re(e, e.render, "ForwardRef");
|
|
1635
|
-
case
|
|
1635
|
+
case m:
|
|
1636
1636
|
var n = e.displayName || null;
|
|
1637
|
-
return n !== null ? n :
|
|
1637
|
+
return n !== null ? n : P(e.type) || "Memo";
|
|
1638
1638
|
case _: {
|
|
1639
|
-
var s = e,
|
|
1639
|
+
var s = e, u = s._payload, o = s._init;
|
|
1640
1640
|
try {
|
|
1641
|
-
return
|
|
1641
|
+
return P(o(u));
|
|
1642
1642
|
} catch {
|
|
1643
1643
|
return null;
|
|
1644
1644
|
}
|
|
@@ -1646,11 +1646,11 @@ function at() {
|
|
|
1646
1646
|
}
|
|
1647
1647
|
return null;
|
|
1648
1648
|
}
|
|
1649
|
-
var
|
|
1649
|
+
var W = Object.assign, q = 0, ye, ve, me, ge, he, be, _e;
|
|
1650
1650
|
function je() {
|
|
1651
1651
|
}
|
|
1652
1652
|
je.__reactDisabledLog = !0;
|
|
1653
|
-
function
|
|
1653
|
+
function Me() {
|
|
1654
1654
|
{
|
|
1655
1655
|
if (q === 0) {
|
|
1656
1656
|
ye = console.log, ve = console.info, me = console.warn, ge = console.error, he = console.group, be = console.groupCollapsed, _e = console.groupEnd;
|
|
@@ -1682,25 +1682,25 @@ function at() {
|
|
|
1682
1682
|
writable: !0
|
|
1683
1683
|
};
|
|
1684
1684
|
Object.defineProperties(console, {
|
|
1685
|
-
log:
|
|
1685
|
+
log: W({}, e, {
|
|
1686
1686
|
value: ye
|
|
1687
1687
|
}),
|
|
1688
|
-
info:
|
|
1688
|
+
info: W({}, e, {
|
|
1689
1689
|
value: ve
|
|
1690
1690
|
}),
|
|
1691
|
-
warn:
|
|
1691
|
+
warn: W({}, e, {
|
|
1692
1692
|
value: me
|
|
1693
1693
|
}),
|
|
1694
|
-
error:
|
|
1694
|
+
error: W({}, e, {
|
|
1695
1695
|
value: ge
|
|
1696
1696
|
}),
|
|
1697
|
-
group:
|
|
1697
|
+
group: W({}, e, {
|
|
1698
1698
|
value: he
|
|
1699
1699
|
}),
|
|
1700
|
-
groupCollapsed:
|
|
1700
|
+
groupCollapsed: W({}, e, {
|
|
1701
1701
|
value: be
|
|
1702
1702
|
}),
|
|
1703
|
-
groupEnd:
|
|
1703
|
+
groupEnd: W({}, e, {
|
|
1704
1704
|
value: _e
|
|
1705
1705
|
})
|
|
1706
1706
|
});
|
|
@@ -1708,7 +1708,7 @@ function at() {
|
|
|
1708
1708
|
q < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1709
1709
|
}
|
|
1710
1710
|
}
|
|
1711
|
-
var ne =
|
|
1711
|
+
var ne = D.ReactCurrentDispatcher, ae;
|
|
1712
1712
|
function G(e, r, t) {
|
|
1713
1713
|
{
|
|
1714
1714
|
if (ae === void 0)
|
|
@@ -1724,8 +1724,8 @@ function at() {
|
|
|
1724
1724
|
}
|
|
1725
1725
|
var oe = !1, Z;
|
|
1726
1726
|
{
|
|
1727
|
-
var
|
|
1728
|
-
Z = new
|
|
1727
|
+
var Be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1728
|
+
Z = new Be();
|
|
1729
1729
|
}
|
|
1730
1730
|
function ke(e, r) {
|
|
1731
1731
|
if (!e || oe)
|
|
@@ -1739,8 +1739,8 @@ function at() {
|
|
|
1739
1739
|
oe = !0;
|
|
1740
1740
|
var s = Error.prepareStackTrace;
|
|
1741
1741
|
Error.prepareStackTrace = void 0;
|
|
1742
|
-
var
|
|
1743
|
-
|
|
1742
|
+
var u;
|
|
1743
|
+
u = ne.current, ne.current = null, Me();
|
|
1744
1744
|
try {
|
|
1745
1745
|
if (r) {
|
|
1746
1746
|
var o = function() {
|
|
@@ -1753,50 +1753,50 @@ function at() {
|
|
|
1753
1753
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1754
1754
|
try {
|
|
1755
1755
|
Reflect.construct(o, []);
|
|
1756
|
-
} catch (
|
|
1757
|
-
n =
|
|
1756
|
+
} catch (x) {
|
|
1757
|
+
n = x;
|
|
1758
1758
|
}
|
|
1759
1759
|
Reflect.construct(e, [], o);
|
|
1760
1760
|
} else {
|
|
1761
1761
|
try {
|
|
1762
1762
|
o.call();
|
|
1763
|
-
} catch (
|
|
1764
|
-
n =
|
|
1763
|
+
} catch (x) {
|
|
1764
|
+
n = x;
|
|
1765
1765
|
}
|
|
1766
1766
|
e.call(o.prototype);
|
|
1767
1767
|
}
|
|
1768
1768
|
} else {
|
|
1769
1769
|
try {
|
|
1770
1770
|
throw Error();
|
|
1771
|
-
} catch (
|
|
1772
|
-
n =
|
|
1771
|
+
} catch (x) {
|
|
1772
|
+
n = x;
|
|
1773
1773
|
}
|
|
1774
1774
|
e();
|
|
1775
1775
|
}
|
|
1776
|
-
} catch (
|
|
1777
|
-
if (
|
|
1778
|
-
for (var a =
|
|
1779
|
-
`),
|
|
1780
|
-
`), y = a.length - 1,
|
|
1781
|
-
|
|
1782
|
-
for (; y >= 1 &&
|
|
1783
|
-
if (a[y] !==
|
|
1784
|
-
if (y !== 1 ||
|
|
1776
|
+
} catch (x) {
|
|
1777
|
+
if (x && n && typeof x.stack == "string") {
|
|
1778
|
+
for (var a = x.stack.split(`
|
|
1779
|
+
`), k = n.stack.split(`
|
|
1780
|
+
`), y = a.length - 1, g = k.length - 1; y >= 1 && g >= 0 && a[y] !== k[g]; )
|
|
1781
|
+
g--;
|
|
1782
|
+
for (; y >= 1 && g >= 0; y--, g--)
|
|
1783
|
+
if (a[y] !== k[g]) {
|
|
1784
|
+
if (y !== 1 || g !== 1)
|
|
1785
1785
|
do
|
|
1786
|
-
if (y--,
|
|
1787
|
-
var
|
|
1786
|
+
if (y--, g--, g < 0 || a[y] !== k[g]) {
|
|
1787
|
+
var O = `
|
|
1788
1788
|
` + a[y].replace(" at new ", " at ");
|
|
1789
|
-
return e.displayName &&
|
|
1789
|
+
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, O), O;
|
|
1790
1790
|
}
|
|
1791
|
-
while (y >= 1 &&
|
|
1791
|
+
while (y >= 1 && g >= 0);
|
|
1792
1792
|
break;
|
|
1793
1793
|
}
|
|
1794
1794
|
}
|
|
1795
1795
|
} finally {
|
|
1796
|
-
oe = !1, ne.current =
|
|
1796
|
+
oe = !1, ne.current = u, Ue(), Error.prepareStackTrace = s;
|
|
1797
1797
|
}
|
|
1798
|
-
var z = e ? e.displayName || e.name : "",
|
|
1799
|
-
return typeof e == "function" && Z.set(e,
|
|
1798
|
+
var z = e ? e.displayName || e.name : "", L = z ? G(z) : "";
|
|
1799
|
+
return typeof e == "function" && Z.set(e, L), L;
|
|
1800
1800
|
}
|
|
1801
1801
|
function ze(e, r, t) {
|
|
1802
1802
|
return ke(e, !1);
|
|
@@ -1822,19 +1822,19 @@ function at() {
|
|
|
1822
1822
|
switch (e.$$typeof) {
|
|
1823
1823
|
case c:
|
|
1824
1824
|
return ze(e.render);
|
|
1825
|
-
case
|
|
1825
|
+
case m:
|
|
1826
1826
|
return Q(e.type, r, t);
|
|
1827
1827
|
case _: {
|
|
1828
|
-
var n = e, s = n._payload,
|
|
1828
|
+
var n = e, s = n._payload, u = n._init;
|
|
1829
1829
|
try {
|
|
1830
|
-
return Q(
|
|
1830
|
+
return Q(u(s), r, t);
|
|
1831
1831
|
} catch {
|
|
1832
1832
|
}
|
|
1833
1833
|
}
|
|
1834
1834
|
}
|
|
1835
1835
|
return "";
|
|
1836
1836
|
}
|
|
1837
|
-
var X = Object.prototype.hasOwnProperty, we = {}, xe =
|
|
1837
|
+
var X = Object.prototype.hasOwnProperty, we = {}, xe = D.ReactDebugCurrentFrame;
|
|
1838
1838
|
function ee(e) {
|
|
1839
1839
|
if (e) {
|
|
1840
1840
|
var r = e._owner, t = Q(e.type, e._source, r ? r.type : null);
|
|
@@ -1842,16 +1842,16 @@ function at() {
|
|
|
1842
1842
|
} else
|
|
1843
1843
|
xe.setExtraStackFrame(null);
|
|
1844
1844
|
}
|
|
1845
|
-
function
|
|
1845
|
+
function Ke(e, r, t, n, s) {
|
|
1846
1846
|
{
|
|
1847
|
-
var
|
|
1847
|
+
var u = Function.call.bind(X);
|
|
1848
1848
|
for (var o in e)
|
|
1849
|
-
if (
|
|
1849
|
+
if (u(e, o)) {
|
|
1850
1850
|
var a = void 0;
|
|
1851
1851
|
try {
|
|
1852
1852
|
if (typeof e[o] != "function") {
|
|
1853
|
-
var
|
|
1854
|
-
throw
|
|
1853
|
+
var k = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1854
|
+
throw k.name = "Invariant Violation", k;
|
|
1855
1855
|
}
|
|
1856
1856
|
a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1857
1857
|
} catch (y) {
|
|
@@ -1861,9 +1861,9 @@ function at() {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
}
|
|
1863
1863
|
}
|
|
1864
|
-
var
|
|
1864
|
+
var Je = Array.isArray;
|
|
1865
1865
|
function ie(e) {
|
|
1866
|
-
return
|
|
1866
|
+
return Je(e);
|
|
1867
1867
|
}
|
|
1868
1868
|
function Ve(e) {
|
|
1869
1869
|
{
|
|
@@ -1871,7 +1871,7 @@ function at() {
|
|
|
1871
1871
|
return t;
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
|
-
function
|
|
1874
|
+
function qe(e) {
|
|
1875
1875
|
try {
|
|
1876
1876
|
return Re(e), !1;
|
|
1877
1877
|
} catch {
|
|
@@ -1882,16 +1882,16 @@ function at() {
|
|
|
1882
1882
|
return "" + e;
|
|
1883
1883
|
}
|
|
1884
1884
|
function Ee(e) {
|
|
1885
|
-
if (
|
|
1885
|
+
if (qe(e))
|
|
1886
1886
|
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(e)), Re(e);
|
|
1887
1887
|
}
|
|
1888
|
-
var Se =
|
|
1888
|
+
var Se = D.ReactCurrentOwner, Xe = {
|
|
1889
1889
|
key: !0,
|
|
1890
1890
|
ref: !0,
|
|
1891
1891
|
__self: !0,
|
|
1892
1892
|
__source: !0
|
|
1893
1893
|
}, Oe, Ce;
|
|
1894
|
-
function
|
|
1894
|
+
function He(e) {
|
|
1895
1895
|
if (X.call(e, "ref")) {
|
|
1896
1896
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1897
1897
|
if (r && r.isReactWarning)
|
|
@@ -1899,7 +1899,7 @@ function at() {
|
|
|
1899
1899
|
}
|
|
1900
1900
|
return e.ref !== void 0;
|
|
1901
1901
|
}
|
|
1902
|
-
function
|
|
1902
|
+
function Ge(e) {
|
|
1903
1903
|
if (X.call(e, "key")) {
|
|
1904
1904
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1905
1905
|
if (r && r.isReactWarning)
|
|
@@ -1907,10 +1907,10 @@ function at() {
|
|
|
1907
1907
|
}
|
|
1908
1908
|
return e.key !== void 0;
|
|
1909
1909
|
}
|
|
1910
|
-
function
|
|
1910
|
+
function Ze(e, r) {
|
|
1911
1911
|
typeof e.ref == "string" && Se.current;
|
|
1912
1912
|
}
|
|
1913
|
-
function
|
|
1913
|
+
function Qe(e, r) {
|
|
1914
1914
|
{
|
|
1915
1915
|
var t = function() {
|
|
1916
1916
|
Oe || (Oe = !0, v("%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)", r));
|
|
@@ -1921,7 +1921,7 @@ function at() {
|
|
|
1921
1921
|
});
|
|
1922
1922
|
}
|
|
1923
1923
|
}
|
|
1924
|
-
function
|
|
1924
|
+
function er(e, r) {
|
|
1925
1925
|
{
|
|
1926
1926
|
var t = function() {
|
|
1927
1927
|
Ce || (Ce = !0, v("%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)", r));
|
|
@@ -1932,7 +1932,7 @@ function at() {
|
|
|
1932
1932
|
});
|
|
1933
1933
|
}
|
|
1934
1934
|
}
|
|
1935
|
-
var
|
|
1935
|
+
var rr = function(e, r, t, n, s, u, o) {
|
|
1936
1936
|
var a = {
|
|
1937
1937
|
// This tag allows us to uniquely identify this as a React Element
|
|
1938
1938
|
$$typeof: p,
|
|
@@ -1942,7 +1942,7 @@ function at() {
|
|
|
1942
1942
|
ref: t,
|
|
1943
1943
|
props: o,
|
|
1944
1944
|
// Record the component responsible for creating this element.
|
|
1945
|
-
_owner:
|
|
1945
|
+
_owner: u
|
|
1946
1946
|
};
|
|
1947
1947
|
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
1948
1948
|
configurable: !1,
|
|
@@ -1961,41 +1961,41 @@ function at() {
|
|
|
1961
1961
|
value: s
|
|
1962
1962
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
1963
1963
|
};
|
|
1964
|
-
function
|
|
1964
|
+
function tr(e, r, t, n, s) {
|
|
1965
1965
|
{
|
|
1966
|
-
var
|
|
1967
|
-
t !== void 0 && (Ee(t), a = "" + t),
|
|
1968
|
-
for (
|
|
1969
|
-
X.call(r,
|
|
1966
|
+
var u, o = {}, a = null, k = null;
|
|
1967
|
+
t !== void 0 && (Ee(t), a = "" + t), Ge(r) && (Ee(r.key), a = "" + r.key), He(r) && (k = r.ref, Ze(r));
|
|
1968
|
+
for (u in r)
|
|
1969
|
+
X.call(r, u) && !Xe.hasOwnProperty(u) && (o[u] = r[u]);
|
|
1970
1970
|
if (e && e.defaultProps) {
|
|
1971
1971
|
var y = e.defaultProps;
|
|
1972
|
-
for (
|
|
1973
|
-
o[
|
|
1972
|
+
for (u in y)
|
|
1973
|
+
o[u] === void 0 && (o[u] = y[u]);
|
|
1974
1974
|
}
|
|
1975
|
-
if (a ||
|
|
1976
|
-
var
|
|
1977
|
-
a &&
|
|
1975
|
+
if (a || k) {
|
|
1976
|
+
var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1977
|
+
a && Qe(o, g), k && er(o, g);
|
|
1978
1978
|
}
|
|
1979
|
-
return
|
|
1979
|
+
return rr(e, a, k, s, n, Se.current, o);
|
|
1980
1980
|
}
|
|
1981
1981
|
}
|
|
1982
|
-
var se =
|
|
1983
|
-
function
|
|
1982
|
+
var se = D.ReactCurrentOwner, Te = D.ReactDebugCurrentFrame;
|
|
1983
|
+
function B(e) {
|
|
1984
1984
|
if (e) {
|
|
1985
1985
|
var r = e._owner, t = Q(e.type, e._source, r ? r.type : null);
|
|
1986
1986
|
Te.setExtraStackFrame(t);
|
|
1987
1987
|
} else
|
|
1988
1988
|
Te.setExtraStackFrame(null);
|
|
1989
1989
|
}
|
|
1990
|
-
var
|
|
1991
|
-
|
|
1992
|
-
function
|
|
1990
|
+
var le;
|
|
1991
|
+
le = !1;
|
|
1992
|
+
function ue(e) {
|
|
1993
1993
|
return typeof e == "object" && e !== null && e.$$typeof === p;
|
|
1994
1994
|
}
|
|
1995
1995
|
function Pe() {
|
|
1996
1996
|
{
|
|
1997
1997
|
if (se.current) {
|
|
1998
|
-
var e =
|
|
1998
|
+
var e = P(se.current.type);
|
|
1999
1999
|
if (e)
|
|
2000
2000
|
return `
|
|
2001
2001
|
|
|
@@ -2004,11 +2004,11 @@ Check the render method of \`` + e + "`.";
|
|
|
2004
2004
|
return "";
|
|
2005
2005
|
}
|
|
2006
2006
|
}
|
|
2007
|
-
function
|
|
2007
|
+
function nr(e) {
|
|
2008
2008
|
return "";
|
|
2009
2009
|
}
|
|
2010
2010
|
var De = {};
|
|
2011
|
-
function
|
|
2011
|
+
function ar(e) {
|
|
2012
2012
|
{
|
|
2013
2013
|
var r = Pe();
|
|
2014
2014
|
if (!r) {
|
|
@@ -2025,12 +2025,12 @@ Check the top-level render call using <` + t + ">.");
|
|
|
2025
2025
|
if (!e._store || e._store.validated || e.key != null)
|
|
2026
2026
|
return;
|
|
2027
2027
|
e._store.validated = !0;
|
|
2028
|
-
var t =
|
|
2028
|
+
var t = ar(r);
|
|
2029
2029
|
if (De[t])
|
|
2030
2030
|
return;
|
|
2031
2031
|
De[t] = !0;
|
|
2032
2032
|
var n = "";
|
|
2033
|
-
e && e._owner && e._owner !== se.current && (n = " It was passed a child from " +
|
|
2033
|
+
e && e._owner && e._owner !== se.current && (n = " It was passed a child from " + P(e._owner.type) + "."), B(e), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), B(null);
|
|
2034
2034
|
}
|
|
2035
2035
|
}
|
|
2036
2036
|
function Fe(e, r) {
|
|
@@ -2040,19 +2040,19 @@ Check the top-level render call using <` + t + ">.");
|
|
|
2040
2040
|
if (ie(e))
|
|
2041
2041
|
for (var t = 0; t < e.length; t++) {
|
|
2042
2042
|
var n = e[t];
|
|
2043
|
-
|
|
2043
|
+
ue(n) && $e(n, r);
|
|
2044
2044
|
}
|
|
2045
|
-
else if (
|
|
2045
|
+
else if (ue(e))
|
|
2046
2046
|
e._store && (e._store.validated = !0);
|
|
2047
2047
|
else if (e) {
|
|
2048
|
-
var s =
|
|
2048
|
+
var s = M(e);
|
|
2049
2049
|
if (typeof s == "function" && s !== e.entries)
|
|
2050
|
-
for (var
|
|
2051
|
-
|
|
2050
|
+
for (var u = s.call(e), o; !(o = u.next()).done; )
|
|
2051
|
+
ue(o.value) && $e(o.value, r);
|
|
2052
2052
|
}
|
|
2053
2053
|
}
|
|
2054
2054
|
}
|
|
2055
|
-
function
|
|
2055
|
+
function or(e) {
|
|
2056
2056
|
{
|
|
2057
2057
|
var r = e.type;
|
|
2058
2058
|
if (r == null || typeof r == "string")
|
|
@@ -2062,91 +2062,91 @@ Check the top-level render call using <` + t + ">.");
|
|
|
2062
2062
|
t = r.propTypes;
|
|
2063
2063
|
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
2064
2064
|
// Inner props are checked in the reconciler.
|
|
2065
|
-
r.$$typeof ===
|
|
2065
|
+
r.$$typeof === m))
|
|
2066
2066
|
t = r.propTypes;
|
|
2067
2067
|
else
|
|
2068
2068
|
return;
|
|
2069
2069
|
if (t) {
|
|
2070
|
-
var n =
|
|
2071
|
-
|
|
2072
|
-
} else if (r.PropTypes !== void 0 && !
|
|
2073
|
-
|
|
2074
|
-
var s =
|
|
2070
|
+
var n = P(r);
|
|
2071
|
+
Ke(t, e.props, "prop", n, e);
|
|
2072
|
+
} else if (r.PropTypes !== void 0 && !le) {
|
|
2073
|
+
le = !0;
|
|
2074
|
+
var s = P(r);
|
|
2075
2075
|
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
|
|
2076
2076
|
}
|
|
2077
2077
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2078
2078
|
}
|
|
2079
2079
|
}
|
|
2080
|
-
function
|
|
2080
|
+
function ir(e) {
|
|
2081
2081
|
{
|
|
2082
2082
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
2083
2083
|
var n = r[t];
|
|
2084
2084
|
if (n !== "children" && n !== "key") {
|
|
2085
|
-
|
|
2085
|
+
B(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), B(null);
|
|
2086
2086
|
break;
|
|
2087
2087
|
}
|
|
2088
2088
|
}
|
|
2089
|
-
e.ref !== null && (
|
|
2089
|
+
e.ref !== null && (B(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
|
|
2090
2090
|
}
|
|
2091
2091
|
}
|
|
2092
2092
|
var Ne = {};
|
|
2093
|
-
function Ie(e, r, t, n, s,
|
|
2093
|
+
function Ie(e, r, t, n, s, u) {
|
|
2094
2094
|
{
|
|
2095
|
-
var o =
|
|
2095
|
+
var o = $(e);
|
|
2096
2096
|
if (!o) {
|
|
2097
2097
|
var a = "";
|
|
2098
2098
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2099
|
-
var
|
|
2100
|
-
|
|
2099
|
+
var k = nr();
|
|
2100
|
+
k ? a += k : a += Pe();
|
|
2101
2101
|
var y;
|
|
2102
|
-
e === null ? y = "null" : ie(e) ? y = "array" : e !== void 0 && e.$$typeof === p ? (y = "<" + (
|
|
2102
|
+
e === null ? y = "null" : ie(e) ? y = "array" : e !== void 0 && e.$$typeof === p ? (y = "<" + (P(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, a);
|
|
2103
2103
|
}
|
|
2104
|
-
var
|
|
2105
|
-
if (
|
|
2106
|
-
return
|
|
2104
|
+
var g = tr(e, r, t, s, u);
|
|
2105
|
+
if (g == null)
|
|
2106
|
+
return g;
|
|
2107
2107
|
if (o) {
|
|
2108
|
-
var
|
|
2109
|
-
if (
|
|
2108
|
+
var O = r.children;
|
|
2109
|
+
if (O !== void 0)
|
|
2110
2110
|
if (n)
|
|
2111
|
-
if (ie(
|
|
2112
|
-
for (var z = 0; z <
|
|
2113
|
-
Fe(
|
|
2114
|
-
Object.freeze && Object.freeze(
|
|
2111
|
+
if (ie(O)) {
|
|
2112
|
+
for (var z = 0; z < O.length; z++)
|
|
2113
|
+
Fe(O[z], e);
|
|
2114
|
+
Object.freeze && Object.freeze(O);
|
|
2115
2115
|
} else
|
|
2116
2116
|
v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2117
2117
|
else
|
|
2118
|
-
Fe(
|
|
2118
|
+
Fe(O, e);
|
|
2119
2119
|
}
|
|
2120
2120
|
if (X.call(r, "key")) {
|
|
2121
|
-
var
|
|
2122
|
-
return
|
|
2123
|
-
}), ce =
|
|
2124
|
-
if (!Ne[
|
|
2125
|
-
var
|
|
2121
|
+
var L = P(e), x = Object.keys(r).filter(function(pr) {
|
|
2122
|
+
return pr !== "key";
|
|
2123
|
+
}), ce = x.length > 0 ? "{key: someKey, " + x.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2124
|
+
if (!Ne[L + ce]) {
|
|
2125
|
+
var fr = x.length > 0 ? "{" + x.join(": ..., ") + ": ...}" : "{}";
|
|
2126
2126
|
v(`A props object containing a "key" prop is being spread into JSX:
|
|
2127
2127
|
let props = %s;
|
|
2128
2128
|
<%s {...props} />
|
|
2129
2129
|
React keys must be passed directly to JSX without using spread:
|
|
2130
2130
|
let props = %s;
|
|
2131
|
-
<%s key={someKey} {...props} />`, ce,
|
|
2131
|
+
<%s key={someKey} {...props} />`, ce, L, fr, L), Ne[L + ce] = !0;
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
2134
|
-
return e === f ?
|
|
2134
|
+
return e === f ? ir(g) : or(g), g;
|
|
2135
2135
|
}
|
|
2136
2136
|
}
|
|
2137
|
-
function
|
|
2137
|
+
function sr(e, r, t) {
|
|
2138
2138
|
return Ie(e, r, t, !0);
|
|
2139
2139
|
}
|
|
2140
|
-
function
|
|
2140
|
+
function lr(e, r, t) {
|
|
2141
2141
|
return Ie(e, r, t, !1);
|
|
2142
2142
|
}
|
|
2143
|
-
var ur =
|
|
2144
|
-
jr.Fragment = f, jr.jsx = ur, jr.jsxs =
|
|
2143
|
+
var ur = lr, cr = sr;
|
|
2144
|
+
jr.Fragment = f, jr.jsx = ur, jr.jsxs = cr;
|
|
2145
2145
|
}()), jr;
|
|
2146
2146
|
}
|
|
2147
2147
|
process.env.NODE_ENV === "production" ? Cr.exports = nt() : Cr.exports = at();
|
|
2148
|
-
var
|
|
2149
|
-
const ot = "_shake_txgsc_1", it = "_modal_txgsc_79", st = "_w_txgsc_15",
|
|
2148
|
+
var Y = Cr.exports;
|
|
2149
|
+
const ot = "_shake_txgsc_1", it = "_modal_txgsc_79", st = "_w_txgsc_15", lt = "_o_txgsc_116", ut = "_h_txgsc_141", ct = "_l_txgsc_155", ft = "_t_txgsc_192", pt = "_x_txgsc_196", dt = "_s_txgsc_89", yt = "_c_txgsc_214", vt = "_f_txgsc_219", mt = "_row_txgsc_241", gt = "_col_txgsc_253", ht = "_g_txgsc_258", bt = "_m_txgsc_79", fe = {
|
|
2150
2150
|
shake: ot,
|
|
2151
2151
|
modal: it,
|
|
2152
2152
|
"size-a": "_size-a_txgsc_89",
|
|
@@ -2156,8 +2156,8 @@ const ot = "_shake_txgsc_1", it = "_modal_txgsc_79", st = "_w_txgsc_15", ut = "_
|
|
|
2156
2156
|
"size-l": "_size-l_txgsc_102",
|
|
2157
2157
|
"size-x": "_size-x_txgsc_106",
|
|
2158
2158
|
"size-f": "_size-f_txgsc_110",
|
|
2159
|
-
o:
|
|
2160
|
-
h:
|
|
2159
|
+
o: lt,
|
|
2160
|
+
h: ut,
|
|
2161
2161
|
l: ct,
|
|
2162
2162
|
t: ft,
|
|
2163
2163
|
x: pt,
|
|
@@ -2169,21 +2169,21 @@ const ot = "_shake_txgsc_1", it = "_modal_txgsc_79", st = "_w_txgsc_15", ut = "_
|
|
|
2169
2169
|
g: ht,
|
|
2170
2170
|
m: bt
|
|
2171
2171
|
};
|
|
2172
|
-
function _t({ children:
|
|
2173
|
-
return /* @__PURE__ */
|
|
2172
|
+
function _t({ children: l }) {
|
|
2173
|
+
return /* @__PURE__ */ Y.jsx("div", { className: fe.l, children: /* @__PURE__ */ Y.jsx("ul", { children: l }) });
|
|
2174
2174
|
}
|
|
2175
|
-
function jt({ children:
|
|
2176
|
-
return /* @__PURE__ */
|
|
2175
|
+
function jt({ children: l }) {
|
|
2176
|
+
return /* @__PURE__ */ Y.jsx("div", { className: fe.s, children: l });
|
|
2177
2177
|
}
|
|
2178
|
-
function kt({ children:
|
|
2178
|
+
function kt({ children: l, viev: p = "row", className: h }) {
|
|
2179
2179
|
let f = {};
|
|
2180
|
-
return h && (f.className = h), /* @__PURE__ */
|
|
2180
|
+
return h && (f.className = h), /* @__PURE__ */ Y.jsx("ul", { className: [fe.f, fe[p], f.className].join(" "), children: l });
|
|
2181
2181
|
}
|
|
2182
|
-
function wt({ children:
|
|
2183
|
-
return /* @__PURE__ */
|
|
2182
|
+
function wt({ children: l }) {
|
|
2183
|
+
return /* @__PURE__ */ Y.jsx("div", { className: fe.c, children: l });
|
|
2184
2184
|
}
|
|
2185
|
-
function xt({ children:
|
|
2186
|
-
return /* @__PURE__ */
|
|
2185
|
+
function xt({ children: l }) {
|
|
2186
|
+
return /* @__PURE__ */ Y.jsx("div", { className: fe.g, children: l });
|
|
2187
2187
|
}
|
|
2188
2188
|
var Tr = { exports: {} }, br = {};
|
|
2189
2189
|
/**
|
|
@@ -2199,15 +2199,15 @@ var Wr;
|
|
|
2199
2199
|
function Rt() {
|
|
2200
2200
|
if (Wr) return br;
|
|
2201
2201
|
Wr = 1;
|
|
2202
|
-
var
|
|
2203
|
-
function
|
|
2204
|
-
var i,
|
|
2202
|
+
var l = I, p = Symbol.for("react.element"), h = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, b = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2203
|
+
function S(j, c, d) {
|
|
2204
|
+
var i, m = {}, _ = null, E = null;
|
|
2205
2205
|
d !== void 0 && (_ = "" + d), c.key !== void 0 && (_ = "" + c.key), c.ref !== void 0 && (E = c.ref);
|
|
2206
|
-
for (i in c) f.call(c, i) && !w.hasOwnProperty(i) && (
|
|
2207
|
-
if (
|
|
2208
|
-
return { $$typeof: p, type:
|
|
2206
|
+
for (i in c) f.call(c, i) && !w.hasOwnProperty(i) && (m[i] = c[i]);
|
|
2207
|
+
if (j && j.defaultProps) for (i in c = j.defaultProps, c) m[i] === void 0 && (m[i] = c[i]);
|
|
2208
|
+
return { $$typeof: p, type: j, key: _, ref: E, props: m, _owner: b.current };
|
|
2209
2209
|
}
|
|
2210
|
-
return br.Fragment = h, br.jsx =
|
|
2210
|
+
return br.Fragment = h, br.jsx = S, br.jsxs = S, br;
|
|
2211
2211
|
}
|
|
2212
2212
|
var kr = {};
|
|
2213
2213
|
/**
|
|
@@ -2222,14 +2222,14 @@ var kr = {};
|
|
|
2222
2222
|
var Lr;
|
|
2223
2223
|
function Et() {
|
|
2224
2224
|
return Lr || (Lr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2225
|
-
var
|
|
2226
|
-
function
|
|
2225
|
+
var l = I, p = Symbol.for("react.element"), h = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), j = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), C = Symbol.iterator, A = "@@iterator";
|
|
2226
|
+
function M(e) {
|
|
2227
2227
|
if (e === null || typeof e != "object")
|
|
2228
2228
|
return null;
|
|
2229
|
-
var r =
|
|
2229
|
+
var r = C && e[C] || e[A];
|
|
2230
2230
|
return typeof r == "function" ? r : null;
|
|
2231
2231
|
}
|
|
2232
|
-
var
|
|
2232
|
+
var D = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2233
2233
|
function v(e) {
|
|
2234
2234
|
{
|
|
2235
2235
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
@@ -2239,22 +2239,22 @@ function Et() {
|
|
|
2239
2239
|
}
|
|
2240
2240
|
function N(e, r, t) {
|
|
2241
2241
|
{
|
|
2242
|
-
var n =
|
|
2242
|
+
var n = D.ReactDebugCurrentFrame, s = n.getStackAddendum();
|
|
2243
2243
|
s !== "" && (r += "%s", t = t.concat([s]));
|
|
2244
|
-
var
|
|
2244
|
+
var u = t.map(function(o) {
|
|
2245
2245
|
return String(o);
|
|
2246
2246
|
});
|
|
2247
|
-
|
|
2247
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
2248
2248
|
}
|
|
2249
2249
|
}
|
|
2250
|
-
var K = !1,
|
|
2251
|
-
|
|
2252
|
-
function
|
|
2253
|
-
return !!(typeof e == "string" || typeof e == "function" || e === f || e === w ||
|
|
2250
|
+
var K = !1, J = !1, F = !1, V = !1, T = !1, U;
|
|
2251
|
+
U = Symbol.for("react.module.reference");
|
|
2252
|
+
function $(e) {
|
|
2253
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === w || T || e === b || e === d || e === i || V || e === E || K || J || F || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === m || e.$$typeof === S || e.$$typeof === j || e.$$typeof === c || // This needs to include all possible module reference object
|
|
2254
2254
|
// types supported by any Flight configuration anywhere since
|
|
2255
2255
|
// we don't know which Flight build this will end up being used
|
|
2256
2256
|
// with.
|
|
2257
|
-
e.$$typeof ===
|
|
2257
|
+
e.$$typeof === U || e.getModuleId !== void 0));
|
|
2258
2258
|
}
|
|
2259
2259
|
function re(e, r, t) {
|
|
2260
2260
|
var n = e.displayName;
|
|
@@ -2266,7 +2266,7 @@ function Et() {
|
|
|
2266
2266
|
function te(e) {
|
|
2267
2267
|
return e.displayName || "Context";
|
|
2268
2268
|
}
|
|
2269
|
-
function
|
|
2269
|
+
function P(e) {
|
|
2270
2270
|
if (e == null)
|
|
2271
2271
|
return null;
|
|
2272
2272
|
if (typeof e.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -2289,21 +2289,21 @@ function Et() {
|
|
|
2289
2289
|
}
|
|
2290
2290
|
if (typeof e == "object")
|
|
2291
2291
|
switch (e.$$typeof) {
|
|
2292
|
-
case
|
|
2292
|
+
case j:
|
|
2293
2293
|
var r = e;
|
|
2294
2294
|
return te(r) + ".Consumer";
|
|
2295
|
-
case
|
|
2295
|
+
case S:
|
|
2296
2296
|
var t = e;
|
|
2297
2297
|
return te(t._context) + ".Provider";
|
|
2298
2298
|
case c:
|
|
2299
2299
|
return re(e, e.render, "ForwardRef");
|
|
2300
|
-
case
|
|
2300
|
+
case m:
|
|
2301
2301
|
var n = e.displayName || null;
|
|
2302
|
-
return n !== null ? n :
|
|
2302
|
+
return n !== null ? n : P(e.type) || "Memo";
|
|
2303
2303
|
case _: {
|
|
2304
|
-
var s = e,
|
|
2304
|
+
var s = e, u = s._payload, o = s._init;
|
|
2305
2305
|
try {
|
|
2306
|
-
return
|
|
2306
|
+
return P(o(u));
|
|
2307
2307
|
} catch {
|
|
2308
2308
|
return null;
|
|
2309
2309
|
}
|
|
@@ -2311,11 +2311,11 @@ function Et() {
|
|
|
2311
2311
|
}
|
|
2312
2312
|
return null;
|
|
2313
2313
|
}
|
|
2314
|
-
var
|
|
2314
|
+
var W = Object.assign, q = 0, ye, ve, me, ge, he, be, _e;
|
|
2315
2315
|
function je() {
|
|
2316
2316
|
}
|
|
2317
2317
|
je.__reactDisabledLog = !0;
|
|
2318
|
-
function
|
|
2318
|
+
function Me() {
|
|
2319
2319
|
{
|
|
2320
2320
|
if (q === 0) {
|
|
2321
2321
|
ye = console.log, ve = console.info, me = console.warn, ge = console.error, he = console.group, be = console.groupCollapsed, _e = console.groupEnd;
|
|
@@ -2347,25 +2347,25 @@ function Et() {
|
|
|
2347
2347
|
writable: !0
|
|
2348
2348
|
};
|
|
2349
2349
|
Object.defineProperties(console, {
|
|
2350
|
-
log:
|
|
2350
|
+
log: W({}, e, {
|
|
2351
2351
|
value: ye
|
|
2352
2352
|
}),
|
|
2353
|
-
info:
|
|
2353
|
+
info: W({}, e, {
|
|
2354
2354
|
value: ve
|
|
2355
2355
|
}),
|
|
2356
|
-
warn:
|
|
2356
|
+
warn: W({}, e, {
|
|
2357
2357
|
value: me
|
|
2358
2358
|
}),
|
|
2359
|
-
error:
|
|
2359
|
+
error: W({}, e, {
|
|
2360
2360
|
value: ge
|
|
2361
2361
|
}),
|
|
2362
|
-
group:
|
|
2362
|
+
group: W({}, e, {
|
|
2363
2363
|
value: he
|
|
2364
2364
|
}),
|
|
2365
|
-
groupCollapsed:
|
|
2365
|
+
groupCollapsed: W({}, e, {
|
|
2366
2366
|
value: be
|
|
2367
2367
|
}),
|
|
2368
|
-
groupEnd:
|
|
2368
|
+
groupEnd: W({}, e, {
|
|
2369
2369
|
value: _e
|
|
2370
2370
|
})
|
|
2371
2371
|
});
|
|
@@ -2373,7 +2373,7 @@ function Et() {
|
|
|
2373
2373
|
q < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2374
2374
|
}
|
|
2375
2375
|
}
|
|
2376
|
-
var ne =
|
|
2376
|
+
var ne = D.ReactCurrentDispatcher, ae;
|
|
2377
2377
|
function G(e, r, t) {
|
|
2378
2378
|
{
|
|
2379
2379
|
if (ae === void 0)
|
|
@@ -2389,8 +2389,8 @@ function Et() {
|
|
|
2389
2389
|
}
|
|
2390
2390
|
var oe = !1, Z;
|
|
2391
2391
|
{
|
|
2392
|
-
var
|
|
2393
|
-
Z = new
|
|
2392
|
+
var Be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
2393
|
+
Z = new Be();
|
|
2394
2394
|
}
|
|
2395
2395
|
function ke(e, r) {
|
|
2396
2396
|
if (!e || oe)
|
|
@@ -2404,8 +2404,8 @@ function Et() {
|
|
|
2404
2404
|
oe = !0;
|
|
2405
2405
|
var s = Error.prepareStackTrace;
|
|
2406
2406
|
Error.prepareStackTrace = void 0;
|
|
2407
|
-
var
|
|
2408
|
-
|
|
2407
|
+
var u;
|
|
2408
|
+
u = ne.current, ne.current = null, Me();
|
|
2409
2409
|
try {
|
|
2410
2410
|
if (r) {
|
|
2411
2411
|
var o = function() {
|
|
@@ -2418,50 +2418,50 @@ function Et() {
|
|
|
2418
2418
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
2419
2419
|
try {
|
|
2420
2420
|
Reflect.construct(o, []);
|
|
2421
|
-
} catch (
|
|
2422
|
-
n =
|
|
2421
|
+
} catch (x) {
|
|
2422
|
+
n = x;
|
|
2423
2423
|
}
|
|
2424
2424
|
Reflect.construct(e, [], o);
|
|
2425
2425
|
} else {
|
|
2426
2426
|
try {
|
|
2427
2427
|
o.call();
|
|
2428
|
-
} catch (
|
|
2429
|
-
n =
|
|
2428
|
+
} catch (x) {
|
|
2429
|
+
n = x;
|
|
2430
2430
|
}
|
|
2431
2431
|
e.call(o.prototype);
|
|
2432
2432
|
}
|
|
2433
2433
|
} else {
|
|
2434
2434
|
try {
|
|
2435
2435
|
throw Error();
|
|
2436
|
-
} catch (
|
|
2437
|
-
n =
|
|
2436
|
+
} catch (x) {
|
|
2437
|
+
n = x;
|
|
2438
2438
|
}
|
|
2439
2439
|
e();
|
|
2440
2440
|
}
|
|
2441
|
-
} catch (
|
|
2442
|
-
if (
|
|
2443
|
-
for (var a =
|
|
2444
|
-
`),
|
|
2445
|
-
`), y = a.length - 1,
|
|
2446
|
-
|
|
2447
|
-
for (; y >= 1 &&
|
|
2448
|
-
if (a[y] !==
|
|
2449
|
-
if (y !== 1 ||
|
|
2441
|
+
} catch (x) {
|
|
2442
|
+
if (x && n && typeof x.stack == "string") {
|
|
2443
|
+
for (var a = x.stack.split(`
|
|
2444
|
+
`), k = n.stack.split(`
|
|
2445
|
+
`), y = a.length - 1, g = k.length - 1; y >= 1 && g >= 0 && a[y] !== k[g]; )
|
|
2446
|
+
g--;
|
|
2447
|
+
for (; y >= 1 && g >= 0; y--, g--)
|
|
2448
|
+
if (a[y] !== k[g]) {
|
|
2449
|
+
if (y !== 1 || g !== 1)
|
|
2450
2450
|
do
|
|
2451
|
-
if (y--,
|
|
2452
|
-
var
|
|
2451
|
+
if (y--, g--, g < 0 || a[y] !== k[g]) {
|
|
2452
|
+
var O = `
|
|
2453
2453
|
` + a[y].replace(" at new ", " at ");
|
|
2454
|
-
return e.displayName &&
|
|
2454
|
+
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, O), O;
|
|
2455
2455
|
}
|
|
2456
|
-
while (y >= 1 &&
|
|
2456
|
+
while (y >= 1 && g >= 0);
|
|
2457
2457
|
break;
|
|
2458
2458
|
}
|
|
2459
2459
|
}
|
|
2460
2460
|
} finally {
|
|
2461
|
-
oe = !1, ne.current =
|
|
2461
|
+
oe = !1, ne.current = u, Ue(), Error.prepareStackTrace = s;
|
|
2462
2462
|
}
|
|
2463
|
-
var z = e ? e.displayName || e.name : "",
|
|
2464
|
-
return typeof e == "function" && Z.set(e,
|
|
2463
|
+
var z = e ? e.displayName || e.name : "", L = z ? G(z) : "";
|
|
2464
|
+
return typeof e == "function" && Z.set(e, L), L;
|
|
2465
2465
|
}
|
|
2466
2466
|
function ze(e, r, t) {
|
|
2467
2467
|
return ke(e, !1);
|
|
@@ -2487,19 +2487,19 @@ function Et() {
|
|
|
2487
2487
|
switch (e.$$typeof) {
|
|
2488
2488
|
case c:
|
|
2489
2489
|
return ze(e.render);
|
|
2490
|
-
case
|
|
2490
|
+
case m:
|
|
2491
2491
|
return Q(e.type, r, t);
|
|
2492
2492
|
case _: {
|
|
2493
|
-
var n = e, s = n._payload,
|
|
2493
|
+
var n = e, s = n._payload, u = n._init;
|
|
2494
2494
|
try {
|
|
2495
|
-
return Q(
|
|
2495
|
+
return Q(u(s), r, t);
|
|
2496
2496
|
} catch {
|
|
2497
2497
|
}
|
|
2498
2498
|
}
|
|
2499
2499
|
}
|
|
2500
2500
|
return "";
|
|
2501
2501
|
}
|
|
2502
|
-
var X = Object.prototype.hasOwnProperty, we = {}, xe =
|
|
2502
|
+
var X = Object.prototype.hasOwnProperty, we = {}, xe = D.ReactDebugCurrentFrame;
|
|
2503
2503
|
function ee(e) {
|
|
2504
2504
|
if (e) {
|
|
2505
2505
|
var r = e._owner, t = Q(e.type, e._source, r ? r.type : null);
|
|
@@ -2507,16 +2507,16 @@ function Et() {
|
|
|
2507
2507
|
} else
|
|
2508
2508
|
xe.setExtraStackFrame(null);
|
|
2509
2509
|
}
|
|
2510
|
-
function
|
|
2510
|
+
function Ke(e, r, t, n, s) {
|
|
2511
2511
|
{
|
|
2512
|
-
var
|
|
2512
|
+
var u = Function.call.bind(X);
|
|
2513
2513
|
for (var o in e)
|
|
2514
|
-
if (
|
|
2514
|
+
if (u(e, o)) {
|
|
2515
2515
|
var a = void 0;
|
|
2516
2516
|
try {
|
|
2517
2517
|
if (typeof e[o] != "function") {
|
|
2518
|
-
var
|
|
2519
|
-
throw
|
|
2518
|
+
var k = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
2519
|
+
throw k.name = "Invariant Violation", k;
|
|
2520
2520
|
}
|
|
2521
2521
|
a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
2522
2522
|
} catch (y) {
|
|
@@ -2526,9 +2526,9 @@ function Et() {
|
|
|
2526
2526
|
}
|
|
2527
2527
|
}
|
|
2528
2528
|
}
|
|
2529
|
-
var
|
|
2529
|
+
var Je = Array.isArray;
|
|
2530
2530
|
function ie(e) {
|
|
2531
|
-
return
|
|
2531
|
+
return Je(e);
|
|
2532
2532
|
}
|
|
2533
2533
|
function Ve(e) {
|
|
2534
2534
|
{
|
|
@@ -2536,7 +2536,7 @@ function Et() {
|
|
|
2536
2536
|
return t;
|
|
2537
2537
|
}
|
|
2538
2538
|
}
|
|
2539
|
-
function
|
|
2539
|
+
function qe(e) {
|
|
2540
2540
|
try {
|
|
2541
2541
|
return Re(e), !1;
|
|
2542
2542
|
} catch {
|
|
@@ -2547,16 +2547,16 @@ function Et() {
|
|
|
2547
2547
|
return "" + e;
|
|
2548
2548
|
}
|
|
2549
2549
|
function Ee(e) {
|
|
2550
|
-
if (
|
|
2550
|
+
if (qe(e))
|
|
2551
2551
|
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(e)), Re(e);
|
|
2552
2552
|
}
|
|
2553
|
-
var Se =
|
|
2553
|
+
var Se = D.ReactCurrentOwner, Xe = {
|
|
2554
2554
|
key: !0,
|
|
2555
2555
|
ref: !0,
|
|
2556
2556
|
__self: !0,
|
|
2557
2557
|
__source: !0
|
|
2558
2558
|
}, Oe, Ce;
|
|
2559
|
-
function
|
|
2559
|
+
function He(e) {
|
|
2560
2560
|
if (X.call(e, "ref")) {
|
|
2561
2561
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
2562
2562
|
if (r && r.isReactWarning)
|
|
@@ -2564,7 +2564,7 @@ function Et() {
|
|
|
2564
2564
|
}
|
|
2565
2565
|
return e.ref !== void 0;
|
|
2566
2566
|
}
|
|
2567
|
-
function
|
|
2567
|
+
function Ge(e) {
|
|
2568
2568
|
if (X.call(e, "key")) {
|
|
2569
2569
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
2570
2570
|
if (r && r.isReactWarning)
|
|
@@ -2572,10 +2572,10 @@ function Et() {
|
|
|
2572
2572
|
}
|
|
2573
2573
|
return e.key !== void 0;
|
|
2574
2574
|
}
|
|
2575
|
-
function
|
|
2575
|
+
function Ze(e, r) {
|
|
2576
2576
|
typeof e.ref == "string" && Se.current;
|
|
2577
2577
|
}
|
|
2578
|
-
function
|
|
2578
|
+
function Qe(e, r) {
|
|
2579
2579
|
{
|
|
2580
2580
|
var t = function() {
|
|
2581
2581
|
Oe || (Oe = !0, v("%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)", r));
|
|
@@ -2586,7 +2586,7 @@ function Et() {
|
|
|
2586
2586
|
});
|
|
2587
2587
|
}
|
|
2588
2588
|
}
|
|
2589
|
-
function
|
|
2589
|
+
function er(e, r) {
|
|
2590
2590
|
{
|
|
2591
2591
|
var t = function() {
|
|
2592
2592
|
Ce || (Ce = !0, v("%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)", r));
|
|
@@ -2597,7 +2597,7 @@ function Et() {
|
|
|
2597
2597
|
});
|
|
2598
2598
|
}
|
|
2599
2599
|
}
|
|
2600
|
-
var
|
|
2600
|
+
var rr = function(e, r, t, n, s, u, o) {
|
|
2601
2601
|
var a = {
|
|
2602
2602
|
// This tag allows us to uniquely identify this as a React Element
|
|
2603
2603
|
$$typeof: p,
|
|
@@ -2607,7 +2607,7 @@ function Et() {
|
|
|
2607
2607
|
ref: t,
|
|
2608
2608
|
props: o,
|
|
2609
2609
|
// Record the component responsible for creating this element.
|
|
2610
|
-
_owner:
|
|
2610
|
+
_owner: u
|
|
2611
2611
|
};
|
|
2612
2612
|
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
2613
2613
|
configurable: !1,
|
|
@@ -2626,41 +2626,41 @@ function Et() {
|
|
|
2626
2626
|
value: s
|
|
2627
2627
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
2628
2628
|
};
|
|
2629
|
-
function
|
|
2629
|
+
function tr(e, r, t, n, s) {
|
|
2630
2630
|
{
|
|
2631
|
-
var
|
|
2632
|
-
t !== void 0 && (Ee(t), a = "" + t),
|
|
2633
|
-
for (
|
|
2634
|
-
X.call(r,
|
|
2631
|
+
var u, o = {}, a = null, k = null;
|
|
2632
|
+
t !== void 0 && (Ee(t), a = "" + t), Ge(r) && (Ee(r.key), a = "" + r.key), He(r) && (k = r.ref, Ze(r));
|
|
2633
|
+
for (u in r)
|
|
2634
|
+
X.call(r, u) && !Xe.hasOwnProperty(u) && (o[u] = r[u]);
|
|
2635
2635
|
if (e && e.defaultProps) {
|
|
2636
2636
|
var y = e.defaultProps;
|
|
2637
|
-
for (
|
|
2638
|
-
o[
|
|
2637
|
+
for (u in y)
|
|
2638
|
+
o[u] === void 0 && (o[u] = y[u]);
|
|
2639
2639
|
}
|
|
2640
|
-
if (a ||
|
|
2641
|
-
var
|
|
2642
|
-
a &&
|
|
2640
|
+
if (a || k) {
|
|
2641
|
+
var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
2642
|
+
a && Qe(o, g), k && er(o, g);
|
|
2643
2643
|
}
|
|
2644
|
-
return
|
|
2644
|
+
return rr(e, a, k, s, n, Se.current, o);
|
|
2645
2645
|
}
|
|
2646
2646
|
}
|
|
2647
|
-
var se =
|
|
2648
|
-
function
|
|
2647
|
+
var se = D.ReactCurrentOwner, Te = D.ReactDebugCurrentFrame;
|
|
2648
|
+
function B(e) {
|
|
2649
2649
|
if (e) {
|
|
2650
2650
|
var r = e._owner, t = Q(e.type, e._source, r ? r.type : null);
|
|
2651
2651
|
Te.setExtraStackFrame(t);
|
|
2652
2652
|
} else
|
|
2653
2653
|
Te.setExtraStackFrame(null);
|
|
2654
2654
|
}
|
|
2655
|
-
var
|
|
2656
|
-
|
|
2657
|
-
function
|
|
2655
|
+
var le;
|
|
2656
|
+
le = !1;
|
|
2657
|
+
function ue(e) {
|
|
2658
2658
|
return typeof e == "object" && e !== null && e.$$typeof === p;
|
|
2659
2659
|
}
|
|
2660
2660
|
function Pe() {
|
|
2661
2661
|
{
|
|
2662
2662
|
if (se.current) {
|
|
2663
|
-
var e =
|
|
2663
|
+
var e = P(se.current.type);
|
|
2664
2664
|
if (e)
|
|
2665
2665
|
return `
|
|
2666
2666
|
|
|
@@ -2669,11 +2669,11 @@ Check the render method of \`` + e + "`.";
|
|
|
2669
2669
|
return "";
|
|
2670
2670
|
}
|
|
2671
2671
|
}
|
|
2672
|
-
function
|
|
2672
|
+
function nr(e) {
|
|
2673
2673
|
return "";
|
|
2674
2674
|
}
|
|
2675
2675
|
var De = {};
|
|
2676
|
-
function
|
|
2676
|
+
function ar(e) {
|
|
2677
2677
|
{
|
|
2678
2678
|
var r = Pe();
|
|
2679
2679
|
if (!r) {
|
|
@@ -2690,12 +2690,12 @@ Check the top-level render call using <` + t + ">.");
|
|
|
2690
2690
|
if (!e._store || e._store.validated || e.key != null)
|
|
2691
2691
|
return;
|
|
2692
2692
|
e._store.validated = !0;
|
|
2693
|
-
var t =
|
|
2693
|
+
var t = ar(r);
|
|
2694
2694
|
if (De[t])
|
|
2695
2695
|
return;
|
|
2696
2696
|
De[t] = !0;
|
|
2697
2697
|
var n = "";
|
|
2698
|
-
e && e._owner && e._owner !== se.current && (n = " It was passed a child from " +
|
|
2698
|
+
e && e._owner && e._owner !== se.current && (n = " It was passed a child from " + P(e._owner.type) + "."), B(e), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), B(null);
|
|
2699
2699
|
}
|
|
2700
2700
|
}
|
|
2701
2701
|
function Fe(e, r) {
|
|
@@ -2705,19 +2705,19 @@ Check the top-level render call using <` + t + ">.");
|
|
|
2705
2705
|
if (ie(e))
|
|
2706
2706
|
for (var t = 0; t < e.length; t++) {
|
|
2707
2707
|
var n = e[t];
|
|
2708
|
-
|
|
2708
|
+
ue(n) && $e(n, r);
|
|
2709
2709
|
}
|
|
2710
|
-
else if (
|
|
2710
|
+
else if (ue(e))
|
|
2711
2711
|
e._store && (e._store.validated = !0);
|
|
2712
2712
|
else if (e) {
|
|
2713
|
-
var s =
|
|
2713
|
+
var s = M(e);
|
|
2714
2714
|
if (typeof s == "function" && s !== e.entries)
|
|
2715
|
-
for (var
|
|
2716
|
-
|
|
2715
|
+
for (var u = s.call(e), o; !(o = u.next()).done; )
|
|
2716
|
+
ue(o.value) && $e(o.value, r);
|
|
2717
2717
|
}
|
|
2718
2718
|
}
|
|
2719
2719
|
}
|
|
2720
|
-
function
|
|
2720
|
+
function or(e) {
|
|
2721
2721
|
{
|
|
2722
2722
|
var r = e.type;
|
|
2723
2723
|
if (r == null || typeof r == "string")
|
|
@@ -2727,86 +2727,86 @@ Check the top-level render call using <` + t + ">.");
|
|
|
2727
2727
|
t = r.propTypes;
|
|
2728
2728
|
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
2729
2729
|
// Inner props are checked in the reconciler.
|
|
2730
|
-
r.$$typeof ===
|
|
2730
|
+
r.$$typeof === m))
|
|
2731
2731
|
t = r.propTypes;
|
|
2732
2732
|
else
|
|
2733
2733
|
return;
|
|
2734
2734
|
if (t) {
|
|
2735
|
-
var n =
|
|
2736
|
-
|
|
2737
|
-
} else if (r.PropTypes !== void 0 && !
|
|
2738
|
-
|
|
2739
|
-
var s =
|
|
2735
|
+
var n = P(r);
|
|
2736
|
+
Ke(t, e.props, "prop", n, e);
|
|
2737
|
+
} else if (r.PropTypes !== void 0 && !le) {
|
|
2738
|
+
le = !0;
|
|
2739
|
+
var s = P(r);
|
|
2740
2740
|
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
|
|
2741
2741
|
}
|
|
2742
2742
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2743
2743
|
}
|
|
2744
2744
|
}
|
|
2745
|
-
function
|
|
2745
|
+
function ir(e) {
|
|
2746
2746
|
{
|
|
2747
2747
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
2748
2748
|
var n = r[t];
|
|
2749
2749
|
if (n !== "children" && n !== "key") {
|
|
2750
|
-
|
|
2750
|
+
B(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), B(null);
|
|
2751
2751
|
break;
|
|
2752
2752
|
}
|
|
2753
2753
|
}
|
|
2754
|
-
e.ref !== null && (
|
|
2754
|
+
e.ref !== null && (B(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
|
|
2755
2755
|
}
|
|
2756
2756
|
}
|
|
2757
2757
|
var Ne = {};
|
|
2758
|
-
function Ie(e, r, t, n, s,
|
|
2758
|
+
function Ie(e, r, t, n, s, u) {
|
|
2759
2759
|
{
|
|
2760
|
-
var o =
|
|
2760
|
+
var o = $(e);
|
|
2761
2761
|
if (!o) {
|
|
2762
2762
|
var a = "";
|
|
2763
2763
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2764
|
-
var
|
|
2765
|
-
|
|
2764
|
+
var k = nr();
|
|
2765
|
+
k ? a += k : a += Pe();
|
|
2766
2766
|
var y;
|
|
2767
|
-
e === null ? y = "null" : ie(e) ? y = "array" : e !== void 0 && e.$$typeof === p ? (y = "<" + (
|
|
2767
|
+
e === null ? y = "null" : ie(e) ? y = "array" : e !== void 0 && e.$$typeof === p ? (y = "<" + (P(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, a);
|
|
2768
2768
|
}
|
|
2769
|
-
var
|
|
2770
|
-
if (
|
|
2771
|
-
return
|
|
2769
|
+
var g = tr(e, r, t, s, u);
|
|
2770
|
+
if (g == null)
|
|
2771
|
+
return g;
|
|
2772
2772
|
if (o) {
|
|
2773
|
-
var
|
|
2774
|
-
if (
|
|
2773
|
+
var O = r.children;
|
|
2774
|
+
if (O !== void 0)
|
|
2775
2775
|
if (n)
|
|
2776
|
-
if (ie(
|
|
2777
|
-
for (var z = 0; z <
|
|
2778
|
-
Fe(
|
|
2779
|
-
Object.freeze && Object.freeze(
|
|
2776
|
+
if (ie(O)) {
|
|
2777
|
+
for (var z = 0; z < O.length; z++)
|
|
2778
|
+
Fe(O[z], e);
|
|
2779
|
+
Object.freeze && Object.freeze(O);
|
|
2780
2780
|
} else
|
|
2781
2781
|
v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2782
2782
|
else
|
|
2783
|
-
Fe(
|
|
2783
|
+
Fe(O, e);
|
|
2784
2784
|
}
|
|
2785
2785
|
if (X.call(r, "key")) {
|
|
2786
|
-
var
|
|
2787
|
-
return
|
|
2788
|
-
}), ce =
|
|
2789
|
-
if (!Ne[
|
|
2790
|
-
var
|
|
2786
|
+
var L = P(e), x = Object.keys(r).filter(function(pr) {
|
|
2787
|
+
return pr !== "key";
|
|
2788
|
+
}), ce = x.length > 0 ? "{key: someKey, " + x.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2789
|
+
if (!Ne[L + ce]) {
|
|
2790
|
+
var fr = x.length > 0 ? "{" + x.join(": ..., ") + ": ...}" : "{}";
|
|
2791
2791
|
v(`A props object containing a "key" prop is being spread into JSX:
|
|
2792
2792
|
let props = %s;
|
|
2793
2793
|
<%s {...props} />
|
|
2794
2794
|
React keys must be passed directly to JSX without using spread:
|
|
2795
2795
|
let props = %s;
|
|
2796
|
-
<%s key={someKey} {...props} />`, ce,
|
|
2796
|
+
<%s key={someKey} {...props} />`, ce, L, fr, L), Ne[L + ce] = !0;
|
|
2797
2797
|
}
|
|
2798
2798
|
}
|
|
2799
|
-
return e === f ?
|
|
2799
|
+
return e === f ? ir(g) : or(g), g;
|
|
2800
2800
|
}
|
|
2801
2801
|
}
|
|
2802
|
-
function
|
|
2802
|
+
function sr(e, r, t) {
|
|
2803
2803
|
return Ie(e, r, t, !0);
|
|
2804
2804
|
}
|
|
2805
|
-
function
|
|
2805
|
+
function lr(e, r, t) {
|
|
2806
2806
|
return Ie(e, r, t, !1);
|
|
2807
2807
|
}
|
|
2808
|
-
var ur =
|
|
2809
|
-
kr.Fragment = f, kr.jsx = ur, kr.jsxs =
|
|
2808
|
+
var ur = lr, cr = sr;
|
|
2809
|
+
kr.Fragment = f, kr.jsx = ur, kr.jsxs = cr;
|
|
2810
2810
|
}()), kr;
|
|
2811
2811
|
}
|
|
2812
2812
|
process.env.NODE_ENV === "production" ? Tr.exports = Rt() : Tr.exports = Et();
|
|
@@ -2821,157 +2821,157 @@ const St = "_btn_1k1b3_1", Ot = "_confirm_1k1b3_15", Ct = "_cancel_1k1b3_20", Tt
|
|
|
2821
2821
|
m: Dt,
|
|
2822
2822
|
l: $t
|
|
2823
2823
|
}, Ft = ({
|
|
2824
|
-
onClick:
|
|
2824
|
+
onClick: l,
|
|
2825
2825
|
onSend: p,
|
|
2826
2826
|
size: h = "m",
|
|
2827
2827
|
view: f = "confirm",
|
|
2828
2828
|
children: b,
|
|
2829
2829
|
isDisabled: w = !1,
|
|
2830
|
-
className:
|
|
2831
|
-
after:
|
|
2830
|
+
className: S,
|
|
2831
|
+
after: j,
|
|
2832
2832
|
before: c,
|
|
2833
2833
|
label: d,
|
|
2834
2834
|
onRef: i,
|
|
2835
|
-
awaitText:
|
|
2835
|
+
awaitText: m = "Ожидайте"
|
|
2836
2836
|
}) => {
|
|
2837
|
-
let [_, E] =
|
|
2838
|
-
const
|
|
2839
|
-
if (
|
|
2840
|
-
_ || (p ? (E(!0), p(E)) :
|
|
2837
|
+
let [_, E] = I.useState(!1);
|
|
2838
|
+
const C = (M) => {
|
|
2839
|
+
if (l) return l();
|
|
2840
|
+
_ || (p ? (E(!0), p(E)) : M.preventDefault());
|
|
2841
2841
|
};
|
|
2842
|
-
let
|
|
2843
|
-
return (w || _) && (
|
|
2842
|
+
let A = {};
|
|
2843
|
+
return (w || _) && (A.disabled = !0), /* @__PURE__ */ Er.jsx(
|
|
2844
2844
|
"button",
|
|
2845
2845
|
{
|
|
2846
|
-
...
|
|
2846
|
+
...A,
|
|
2847
2847
|
ref: i,
|
|
2848
2848
|
className: [
|
|
2849
2849
|
wr.btn,
|
|
2850
2850
|
_ ? wr.disabled : wr[f],
|
|
2851
2851
|
h && wr[h],
|
|
2852
|
-
|
|
2853
|
-
].filter((
|
|
2854
|
-
onClick:
|
|
2855
|
-
children: _ ?
|
|
2852
|
+
S
|
|
2853
|
+
].filter((M) => M != "").join(" "),
|
|
2854
|
+
onClick: C,
|
|
2855
|
+
children: _ ? m : /* @__PURE__ */ Er.jsxs(Er.Fragment, { children: [
|
|
2856
2856
|
c || "",
|
|
2857
2857
|
" ",
|
|
2858
2858
|
d,
|
|
2859
2859
|
" ",
|
|
2860
|
-
|
|
2860
|
+
j || ""
|
|
2861
2861
|
] }) || b
|
|
2862
2862
|
}
|
|
2863
2863
|
);
|
|
2864
2864
|
};
|
|
2865
2865
|
let We = {};
|
|
2866
|
-
function Nt({ children:
|
|
2867
|
-
return /* @__PURE__ */
|
|
2866
|
+
function Nt({ children: l }) {
|
|
2867
|
+
return /* @__PURE__ */ Y.jsx(Y.Fragment, { children: l });
|
|
2868
2868
|
}
|
|
2869
2869
|
var xr;
|
|
2870
|
-
((
|
|
2870
|
+
((l) => {
|
|
2871
2871
|
function p({
|
|
2872
2872
|
import_modules: d
|
|
2873
2873
|
}) {
|
|
2874
|
-
let [i,
|
|
2874
|
+
let [i, m] = I.useState([]);
|
|
2875
2875
|
return We.x = (_) => {
|
|
2876
|
-
|
|
2877
|
-
},
|
|
2876
|
+
m(_ ? i.filter((E) => E.key !== _) : []);
|
|
2877
|
+
}, Ur(() => {
|
|
2878
2878
|
d && (We.i = d);
|
|
2879
2879
|
}, []), We.add = (_, E = Date.now()) => {
|
|
2880
|
-
|
|
2881
|
-
}, /* @__PURE__ */
|
|
2880
|
+
m([...i, { key: E, item: _ }]);
|
|
2881
|
+
}, /* @__PURE__ */ Y.jsx(Y.Fragment, { children: i.map((_) => _.item) });
|
|
2882
2882
|
}
|
|
2883
|
-
|
|
2883
|
+
l.Init = p;
|
|
2884
2884
|
function h(d) {
|
|
2885
2885
|
return d && (We.i = d), We.i;
|
|
2886
2886
|
}
|
|
2887
|
-
|
|
2888
|
-
function f(d, i,
|
|
2887
|
+
l.Import = h, l.List = _t, l.Scroll = jt, l.Form = kt, l.Center = wt, l.Column = xt;
|
|
2888
|
+
function f(d, i, m) {
|
|
2889
2889
|
We.i(`${d}/modal/${i}.tsx`).then((_) => {
|
|
2890
|
-
_.default.Open(
|
|
2890
|
+
_.default.Open(m);
|
|
2891
2891
|
});
|
|
2892
2892
|
}
|
|
2893
|
-
|
|
2894
|
-
function b({ type: d, name: i, params:
|
|
2895
|
-
let [_, E] =
|
|
2896
|
-
return
|
|
2897
|
-
We.i(`${d}/modal/${i}.tsx`).then((
|
|
2898
|
-
E(
|
|
2893
|
+
l.Open = f;
|
|
2894
|
+
function b({ type: d, name: i, params: m }) {
|
|
2895
|
+
let [_, E] = I.useState(null);
|
|
2896
|
+
return I.useEffect(() => {
|
|
2897
|
+
We.i(`${d}/modal/${i}.tsx`).then((C) => {
|
|
2898
|
+
E(C.default.Icon(m));
|
|
2899
2899
|
});
|
|
2900
|
-
}, [
|
|
2900
|
+
}, [m.id]), /* @__PURE__ */ Y.jsx(Y.Fragment, { children: _ });
|
|
2901
2901
|
}
|
|
2902
|
-
|
|
2902
|
+
l.Icon = b;
|
|
2903
2903
|
function w(d, i) {
|
|
2904
|
-
We.add(/* @__PURE__ */
|
|
2904
|
+
We.add(/* @__PURE__ */ Y.jsx(Nt, { children: d }, String(Date.now())), i);
|
|
2905
2905
|
}
|
|
2906
|
-
|
|
2907
|
-
function
|
|
2906
|
+
l.Add = w;
|
|
2907
|
+
function S(d) {
|
|
2908
2908
|
We.x(d);
|
|
2909
2909
|
}
|
|
2910
|
-
|
|
2911
|
-
function
|
|
2910
|
+
l.Close = S;
|
|
2911
|
+
function j(d) {
|
|
2912
2912
|
if (d.target.classList[0] !== "modal") return;
|
|
2913
2913
|
let i = d.target.children[0];
|
|
2914
2914
|
i.setAttribute("shake", !0), setTimeout(() => {
|
|
2915
2915
|
i.setAttribute("shake", !1);
|
|
2916
2916
|
}, 1e3);
|
|
2917
2917
|
}
|
|
2918
|
-
|
|
2918
|
+
l.Shake = j;
|
|
2919
2919
|
function c({
|
|
2920
2920
|
title: d,
|
|
2921
2921
|
children: i,
|
|
2922
|
-
button:
|
|
2922
|
+
button: m,
|
|
2923
2923
|
tabs: _,
|
|
2924
2924
|
size: E = "m",
|
|
2925
|
-
className:
|
|
2926
|
-
shake:
|
|
2927
|
-
menu:
|
|
2925
|
+
className: C = "",
|
|
2926
|
+
shake: A = !0,
|
|
2927
|
+
menu: M
|
|
2928
2928
|
}) {
|
|
2929
|
-
const [
|
|
2930
|
-
if (
|
|
2931
|
-
if (
|
|
2932
|
-
return
|
|
2933
|
-
if (
|
|
2934
|
-
return
|
|
2929
|
+
const [D, v] = I.useState(!0), N = I.useRef(), K = (F) => {
|
|
2930
|
+
if (m) {
|
|
2931
|
+
if (m.onClick)
|
|
2932
|
+
return F(!1), m.onClick({ setOpen: v });
|
|
2933
|
+
if (m.onSend)
|
|
2934
|
+
return m.onSend({
|
|
2935
2935
|
setOpen: v,
|
|
2936
|
-
disabled:
|
|
2936
|
+
disabled: F
|
|
2937
2937
|
});
|
|
2938
2938
|
}
|
|
2939
|
-
},
|
|
2940
|
-
if (!
|
|
2939
|
+
}, J = () => {
|
|
2940
|
+
if (!A) return v(!1);
|
|
2941
2941
|
N.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2942
2942
|
N.current.setAttribute("shake", !1);
|
|
2943
2943
|
}, 1e3);
|
|
2944
2944
|
};
|
|
2945
|
-
return
|
|
2946
|
-
/* @__PURE__ */
|
|
2947
|
-
/* @__PURE__ */
|
|
2945
|
+
return D ? /* @__PURE__ */ Y.jsxs("div", { className: `${fe.modal}`, children: [
|
|
2946
|
+
/* @__PURE__ */ Y.jsx("div", { className: fe.o, onClick: J }),
|
|
2947
|
+
/* @__PURE__ */ Y.jsxs(
|
|
2948
2948
|
"div",
|
|
2949
2949
|
{
|
|
2950
|
-
className: [fe.w, fe[`s${E}`],
|
|
2950
|
+
className: [fe.w, fe[`s${E}`], C].filter((F) => F != "").join(" "),
|
|
2951
2951
|
ref: N,
|
|
2952
2952
|
children: [
|
|
2953
|
-
/* @__PURE__ */
|
|
2954
|
-
/* @__PURE__ */
|
|
2955
|
-
/* @__PURE__ */
|
|
2956
|
-
_ && /* @__PURE__ */
|
|
2953
|
+
/* @__PURE__ */ Y.jsxs("div", { className: fe.h, children: [
|
|
2954
|
+
/* @__PURE__ */ Y.jsx("div", { className: fe.t, children: d }),
|
|
2955
|
+
/* @__PURE__ */ Y.jsxs("div", { className: fe.m, children: [
|
|
2956
|
+
_ && /* @__PURE__ */ Y.jsx("nav", { children: _.map((F, V) => /* @__PURE__ */ Y.jsx(
|
|
2957
2957
|
"span",
|
|
2958
2958
|
{
|
|
2959
|
-
onClick:
|
|
2960
|
-
className:
|
|
2961
|
-
children:
|
|
2959
|
+
onClick: F.onClick,
|
|
2960
|
+
className: F.active ? "active" : "",
|
|
2961
|
+
children: F.name
|
|
2962
2962
|
},
|
|
2963
|
-
|
|
2963
|
+
V
|
|
2964
2964
|
)) }),
|
|
2965
|
-
|
|
2965
|
+
M
|
|
2966
2966
|
] }),
|
|
2967
|
-
/* @__PURE__ */
|
|
2967
|
+
/* @__PURE__ */ Y.jsx(
|
|
2968
2968
|
"div",
|
|
2969
2969
|
{
|
|
2970
2970
|
className: fe.x,
|
|
2971
2971
|
onClick: () => {
|
|
2972
2972
|
v(!1);
|
|
2973
2973
|
},
|
|
2974
|
-
children: /* @__PURE__ */
|
|
2974
|
+
children: /* @__PURE__ */ Y.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ Y.jsx(
|
|
2975
2975
|
"path",
|
|
2976
2976
|
{
|
|
2977
2977
|
d: "M20 5L5 20M5 5L20 20",
|
|
@@ -2985,10 +2985,10 @@ var xr;
|
|
|
2985
2985
|
)
|
|
2986
2986
|
] }),
|
|
2987
2987
|
i,
|
|
2988
|
-
|
|
2988
|
+
m !== void 0 ? /* @__PURE__ */ Y.jsx(
|
|
2989
2989
|
Ft,
|
|
2990
2990
|
{
|
|
2991
|
-
label:
|
|
2991
|
+
label: m.label,
|
|
2992
2992
|
onSend: K,
|
|
2993
2993
|
className: fe.btn
|
|
2994
2994
|
}
|
|
@@ -2998,49 +2998,49 @@ var xr;
|
|
|
2998
2998
|
)
|
|
2999
2999
|
] }) : "";
|
|
3000
3000
|
}
|
|
3001
|
-
|
|
3001
|
+
l.Main = c;
|
|
3002
3002
|
})(xr || (xr = {}));
|
|
3003
|
-
const It = (
|
|
3004
|
-
function
|
|
3005
|
-
value:
|
|
3003
|
+
const It = (l, p = ",") => (l = l !== void 0 && l !== "" ? l.split(p) : [], l.filter((h) => h !== "").reduce((h, f) => (h[f] = !0, h), {}));
|
|
3004
|
+
function Xt({
|
|
3005
|
+
value: l,
|
|
3006
3006
|
onValue: p,
|
|
3007
3007
|
name: h,
|
|
3008
3008
|
placeholder: f = "",
|
|
3009
3009
|
separator: b = ",",
|
|
3010
3010
|
title: w,
|
|
3011
|
-
error:
|
|
3012
|
-
hide:
|
|
3011
|
+
error: S,
|
|
3012
|
+
hide: j = !1,
|
|
3013
3013
|
edit: c = !0,
|
|
3014
3014
|
active: d = !0,
|
|
3015
3015
|
outFormat: i = "object",
|
|
3016
|
-
after:
|
|
3016
|
+
after: m = "",
|
|
3017
3017
|
modal: _,
|
|
3018
3018
|
options: E,
|
|
3019
|
-
className:
|
|
3019
|
+
className: C
|
|
3020
3020
|
}) {
|
|
3021
|
-
const [
|
|
3021
|
+
const [A, M] = I.useState(It(l, b)), D = (K) => {
|
|
3022
3022
|
if (!(c && d) || !_) return;
|
|
3023
|
-
let
|
|
3024
|
-
xr.Open(
|
|
3025
|
-
callback: (
|
|
3023
|
+
let J = _.split(".");
|
|
3024
|
+
xr.Open(J[0], J[1], {
|
|
3025
|
+
callback: (F) => {
|
|
3026
3026
|
if (p)
|
|
3027
3027
|
switch (i) {
|
|
3028
3028
|
case "array":
|
|
3029
|
-
p({ value: Object.keys(
|
|
3029
|
+
p({ value: Object.keys(F), name: h });
|
|
3030
3030
|
break;
|
|
3031
3031
|
case "string":
|
|
3032
3032
|
p({
|
|
3033
|
-
value: Object.keys(
|
|
3033
|
+
value: Object.keys(F).filter((V) => F[V]).join(b),
|
|
3034
3034
|
name: h
|
|
3035
3035
|
});
|
|
3036
3036
|
break;
|
|
3037
3037
|
default:
|
|
3038
|
-
p({ value:
|
|
3038
|
+
p({ value: F, name: h });
|
|
3039
3039
|
}
|
|
3040
|
-
|
|
3040
|
+
M(
|
|
3041
3041
|
Object.fromEntries(
|
|
3042
|
-
Object.entries(
|
|
3043
|
-
([
|
|
3042
|
+
Object.entries(F).filter(
|
|
3043
|
+
([V, T]) => T !== !1
|
|
3044
3044
|
)
|
|
3045
3045
|
)
|
|
3046
3046
|
);
|
|
@@ -3048,15 +3048,15 @@ function Jt({
|
|
|
3048
3048
|
onValue: p,
|
|
3049
3049
|
options: E,
|
|
3050
3050
|
name: h,
|
|
3051
|
-
value:
|
|
3051
|
+
value: A
|
|
3052
3052
|
});
|
|
3053
3053
|
}, v = {};
|
|
3054
|
-
v.field = "group",
|
|
3054
|
+
v.field = "group", C && (v.className = C);
|
|
3055
3055
|
const N = {};
|
|
3056
|
-
return f && (N.placeholder = f),
|
|
3056
|
+
return f && (N.placeholder = f), j ? /* @__PURE__ */ R.jsx(R.Fragment, {}) : /* @__PURE__ */ R.jsxs("dl", { ...v, children: [
|
|
3057
3057
|
/* @__PURE__ */ R.jsxs("dt", { children: [
|
|
3058
3058
|
w,
|
|
3059
|
-
/* @__PURE__ */ R.jsx("i", { onClick:
|
|
3059
|
+
/* @__PURE__ */ R.jsx("i", { onClick: D, children: /* @__PURE__ */ R.jsx(
|
|
3060
3060
|
"svg",
|
|
3061
3061
|
{
|
|
3062
3062
|
width: "20",
|
|
@@ -3075,67 +3075,67 @@ function Jt({
|
|
|
3075
3075
|
"dd",
|
|
3076
3076
|
{
|
|
3077
3077
|
...N,
|
|
3078
|
-
onClick:
|
|
3078
|
+
onClick: D,
|
|
3079
3079
|
edit: (c && d) + "",
|
|
3080
|
-
"data-after":
|
|
3081
|
-
children: Object.keys(
|
|
3082
|
-
var
|
|
3083
|
-
return /* @__PURE__ */ R.jsx("div", { className: "field_group_item", children: (
|
|
3080
|
+
"data-after": m,
|
|
3081
|
+
children: Object.keys(A).map((K) => {
|
|
3082
|
+
var J;
|
|
3083
|
+
return /* @__PURE__ */ R.jsx("div", { className: "field_group_item", children: (J = E[K]) == null ? void 0 : J.label }, K);
|
|
3084
3084
|
})
|
|
3085
3085
|
}
|
|
3086
3086
|
),
|
|
3087
|
-
|
|
3087
|
+
S && /* @__PURE__ */ R.jsx("em", { children: S })
|
|
3088
3088
|
] });
|
|
3089
3089
|
}
|
|
3090
|
-
const At = "_o_1vba1_12", Wt = "_l_1vba1_22", Lt = "_i_1vba1_71",
|
|
3090
|
+
const At = "_o_1vba1_12", Wt = "_l_1vba1_22", Lt = "_i_1vba1_71", Mt = "_f_1vba1_80", Rr = {
|
|
3091
3091
|
o: At,
|
|
3092
3092
|
l: Wt,
|
|
3093
3093
|
i: Lt,
|
|
3094
|
-
f:
|
|
3094
|
+
f: Mt
|
|
3095
3095
|
};
|
|
3096
|
-
function
|
|
3097
|
-
title:
|
|
3096
|
+
function Ht({
|
|
3097
|
+
title: l,
|
|
3098
3098
|
error: p,
|
|
3099
3099
|
edit: h = !0,
|
|
3100
3100
|
active: f = !0,
|
|
3101
3101
|
hide: b,
|
|
3102
3102
|
value: w = 0,
|
|
3103
|
-
onValue:
|
|
3104
|
-
options:
|
|
3103
|
+
onValue: S,
|
|
3104
|
+
options: j,
|
|
3105
3105
|
placeholder: c = "",
|
|
3106
3106
|
className: d,
|
|
3107
3107
|
isIcon: i = !0,
|
|
3108
|
-
name:
|
|
3108
|
+
name: m,
|
|
3109
3109
|
after: _,
|
|
3110
3110
|
view: E,
|
|
3111
|
-
order:
|
|
3112
|
-
isReload:
|
|
3111
|
+
order: C,
|
|
3112
|
+
isReload: A = !1
|
|
3113
3113
|
}) {
|
|
3114
3114
|
var re, te;
|
|
3115
|
-
const
|
|
3116
|
-
|
|
3117
|
-
v(w), K(
|
|
3118
|
-
}, [w,
|
|
3119
|
-
let
|
|
3120
|
-
v(
|
|
3121
|
-
},
|
|
3122
|
-
Object.keys(N || {}).length !== 0 && h && f && (
|
|
3115
|
+
const M = I.useRef(null), [D, v] = I.useState(w), [N, K] = I.useState(j), [J, F] = I.useState(!1);
|
|
3116
|
+
I.useEffect(() => {
|
|
3117
|
+
v(w), K(j);
|
|
3118
|
+
}, [w, j]), b = !!(b && (w === 0 || ((re = N == null ? void 0 : N[w]) == null ? void 0 : re.n) === void 0)) && !(h && f);
|
|
3119
|
+
let T = (P) => {
|
|
3120
|
+
v(P), S && S({ value: P, name: m, reload: A });
|
|
3121
|
+
}, $ = { onClick: (P) => {
|
|
3122
|
+
Object.keys(N || {}).length !== 0 && h && f && (M.position = P.target.getBoundingClientRect(), F(!0));
|
|
3123
3123
|
} };
|
|
3124
|
-
return c && (
|
|
3124
|
+
return c && ($.placeholder = c), _ && ($.after = _), h && f && ($.edit = ""), b ? "" : /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
|
|
3125
3125
|
/* @__PURE__ */ R.jsxs(
|
|
3126
3126
|
"dl",
|
|
3127
3127
|
{
|
|
3128
3128
|
"data-field": "select",
|
|
3129
|
-
className: [
|
|
3129
|
+
className: [Le.l, d].filter((P) => P !== void 0).join(" "),
|
|
3130
3130
|
children: [
|
|
3131
|
-
|
|
3131
|
+
l && /* @__PURE__ */ R.jsx("dt", { className: Le.t, children: l }),
|
|
3132
3132
|
/* @__PURE__ */ R.jsx(
|
|
3133
3133
|
"dd",
|
|
3134
3134
|
{
|
|
3135
|
-
|
|
3136
|
-
className: [
|
|
3137
|
-
ref:
|
|
3138
|
-
children: (te = N == null ? void 0 : N[
|
|
3135
|
+
...$,
|
|
3136
|
+
className: [Le.f, Rr.f].join(" "),
|
|
3137
|
+
ref: M,
|
|
3138
|
+
children: (te = N == null ? void 0 : N[D]) == null ? void 0 : te.n
|
|
3139
3139
|
}
|
|
3140
3140
|
),
|
|
3141
3141
|
Object.keys(N || {}).length !== 0 && i && /* @__PURE__ */ R.jsx(
|
|
@@ -3156,17 +3156,17 @@ function qt({
|
|
|
3156
3156
|
]
|
|
3157
3157
|
}
|
|
3158
3158
|
),
|
|
3159
|
-
|
|
3159
|
+
J && Br(
|
|
3160
3160
|
/* @__PURE__ */ R.jsx(
|
|
3161
|
-
|
|
3161
|
+
Ut,
|
|
3162
3162
|
{
|
|
3163
|
-
parent:
|
|
3164
|
-
onValue:
|
|
3163
|
+
parent: M.position,
|
|
3164
|
+
onValue: T,
|
|
3165
3165
|
view: E,
|
|
3166
3166
|
className: d,
|
|
3167
3167
|
options: N,
|
|
3168
|
-
order:
|
|
3169
|
-
setOpen:
|
|
3168
|
+
order: C,
|
|
3169
|
+
setOpen: F
|
|
3170
3170
|
},
|
|
3171
3171
|
(/* @__PURE__ */ new Date()).getTime()
|
|
3172
3172
|
),
|
|
@@ -3174,25 +3174,25 @@ function qt({
|
|
|
3174
3174
|
)
|
|
3175
3175
|
] });
|
|
3176
3176
|
}
|
|
3177
|
-
const
|
|
3178
|
-
onValue:
|
|
3177
|
+
const Ut = ({
|
|
3178
|
+
onValue: l,
|
|
3179
3179
|
parent: p,
|
|
3180
3180
|
className: h,
|
|
3181
3181
|
options: f,
|
|
3182
3182
|
order: b,
|
|
3183
3183
|
setOpen: w
|
|
3184
3184
|
}) => {
|
|
3185
|
-
let
|
|
3185
|
+
let S = () => {
|
|
3186
3186
|
w(!1);
|
|
3187
|
-
},
|
|
3188
|
-
w(!1),
|
|
3187
|
+
}, j = (i) => {
|
|
3188
|
+
w(!1), l(i);
|
|
3189
3189
|
}, c = window.innerHeight - p.y + p.height < 320 ? p.y - 312 : p.y + 33, d = window.innerWidth - p.x < 265 ? p.x - 235 : p.x;
|
|
3190
3190
|
return /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
|
|
3191
3191
|
/* @__PURE__ */ R.jsx(
|
|
3192
3192
|
"div",
|
|
3193
3193
|
{
|
|
3194
3194
|
className: Rr.o,
|
|
3195
|
-
onClick:
|
|
3195
|
+
onClick: S
|
|
3196
3196
|
},
|
|
3197
3197
|
(/* @__PURE__ */ new Date()).getTime()
|
|
3198
3198
|
),
|
|
@@ -3205,11 +3205,11 @@ const Mt = ({
|
|
|
3205
3205
|
left: d + "px",
|
|
3206
3206
|
width: p.width
|
|
3207
3207
|
},
|
|
3208
|
-
children: /* @__PURE__ */ R.jsx(
|
|
3208
|
+
children: /* @__PURE__ */ R.jsx(Bt, { order: b, options: f, link: j })
|
|
3209
3209
|
}
|
|
3210
3210
|
)
|
|
3211
3211
|
] });
|
|
3212
|
-
},
|
|
3212
|
+
}, Bt = ({ order: l, options: p, link: h }) => l ? /* @__PURE__ */ R.jsx("ul", { children: l.map(
|
|
3213
3213
|
(f, b) => p[f].s !== 0 ? /* @__PURE__ */ R.jsx(
|
|
3214
3214
|
"li",
|
|
3215
3215
|
{
|
|
@@ -3232,155 +3232,155 @@ const Mt = ({
|
|
|
3232
3232
|
b
|
|
3233
3233
|
) : ""
|
|
3234
3234
|
) });
|
|
3235
|
-
function
|
|
3236
|
-
value:
|
|
3235
|
+
function Gt({
|
|
3236
|
+
value: l,
|
|
3237
3237
|
onValue: p,
|
|
3238
3238
|
name: h,
|
|
3239
3239
|
placeholder: f = "",
|
|
3240
3240
|
title: b,
|
|
3241
3241
|
error: w,
|
|
3242
|
-
hide:
|
|
3243
|
-
edit:
|
|
3242
|
+
hide: S = !1,
|
|
3243
|
+
edit: j = !0,
|
|
3244
3244
|
show: c = !0,
|
|
3245
3245
|
active: d = !0,
|
|
3246
3246
|
after: i = "",
|
|
3247
|
-
view:
|
|
3247
|
+
view: m,
|
|
3248
3248
|
modal: _,
|
|
3249
3249
|
module: E,
|
|
3250
|
-
options:
|
|
3251
|
-
className:
|
|
3250
|
+
options: C,
|
|
3251
|
+
className: A
|
|
3252
3252
|
}) {
|
|
3253
|
-
let [
|
|
3254
|
-
if (!(
|
|
3255
|
-
let
|
|
3256
|
-
xr.Open(
|
|
3257
|
-
callback: (
|
|
3258
|
-
p && p({ value:
|
|
3253
|
+
let [M, D] = I.useState(l), v = (J) => {
|
|
3254
|
+
if (!(j && d) || !_) return;
|
|
3255
|
+
let F = _.split(".");
|
|
3256
|
+
xr.Open(F[0], F[1], {
|
|
3257
|
+
callback: (V) => {
|
|
3258
|
+
p && p({ value: V, name: h }), D(V);
|
|
3259
3259
|
},
|
|
3260
3260
|
onValue: p,
|
|
3261
|
-
options:
|
|
3261
|
+
options: C,
|
|
3262
3262
|
name: h,
|
|
3263
|
-
value:
|
|
3263
|
+
value: l
|
|
3264
3264
|
});
|
|
3265
3265
|
};
|
|
3266
3266
|
const N = {};
|
|
3267
|
-
N.field = "input",
|
|
3267
|
+
N.field = "input", A && (N.className = A);
|
|
3268
3268
|
const K = {};
|
|
3269
|
-
return f && (K.placeholder = f),
|
|
3269
|
+
return f && (K.placeholder = f), S ? /* @__PURE__ */ R.jsx(R.Fragment, {}) : /* @__PURE__ */ R.jsxs("dl", { ...N, children: [
|
|
3270
3270
|
b && /* @__PURE__ */ R.jsx("dt", { children: b }),
|
|
3271
3271
|
/* @__PURE__ */ R.jsx(
|
|
3272
3272
|
"dd",
|
|
3273
3273
|
{
|
|
3274
3274
|
...K,
|
|
3275
3275
|
onClick: v,
|
|
3276
|
-
edit: (
|
|
3276
|
+
edit: (j && d) + "",
|
|
3277
3277
|
"data-after": i,
|
|
3278
|
-
children:
|
|
3278
|
+
children: M
|
|
3279
3279
|
}
|
|
3280
3280
|
),
|
|
3281
3281
|
w && /* @__PURE__ */ R.jsx("em", { children: w })
|
|
3282
3282
|
] });
|
|
3283
3283
|
}
|
|
3284
|
-
function
|
|
3285
|
-
value:
|
|
3284
|
+
function Zt({
|
|
3285
|
+
value: l,
|
|
3286
3286
|
onValue: p,
|
|
3287
3287
|
onSave: h,
|
|
3288
3288
|
name: f,
|
|
3289
3289
|
placeholder: b = "",
|
|
3290
3290
|
className: w,
|
|
3291
|
-
title:
|
|
3292
|
-
error:
|
|
3291
|
+
title: S,
|
|
3292
|
+
error: j,
|
|
3293
3293
|
edit: c = !0,
|
|
3294
3294
|
active: d = !0,
|
|
3295
3295
|
reload: i = !1,
|
|
3296
|
-
native:
|
|
3296
|
+
native: m = !1,
|
|
3297
3297
|
isShow: _ = !1,
|
|
3298
3298
|
maxLength: E,
|
|
3299
|
-
eyes:
|
|
3300
|
-
after:
|
|
3299
|
+
eyes: C = [],
|
|
3300
|
+
after: A = ""
|
|
3301
3301
|
}) {
|
|
3302
|
-
const [
|
|
3303
|
-
let v = (
|
|
3302
|
+
const [M, D] = I.useState(_);
|
|
3303
|
+
let v = (T) => {
|
|
3304
3304
|
p && p({
|
|
3305
|
-
value:
|
|
3305
|
+
value: T.target.textContent,
|
|
3306
3306
|
name: f,
|
|
3307
3307
|
reload: i
|
|
3308
3308
|
});
|
|
3309
|
-
}, N = (
|
|
3310
|
-
|
|
3311
|
-
}, K = (
|
|
3312
|
-
|
|
3309
|
+
}, N = (T) => {
|
|
3310
|
+
T.key === "Enter" && T.preventDefault();
|
|
3311
|
+
}, K = (T) => {
|
|
3312
|
+
T.preventDefault(), navigator.clipboard.readText().then((U) => {
|
|
3313
3313
|
if (E) {
|
|
3314
|
-
let
|
|
3315
|
-
if (
|
|
3316
|
-
E -=
|
|
3314
|
+
let $ = T.target.textContent.length;
|
|
3315
|
+
if ($ >= E) return;
|
|
3316
|
+
E -= $, U = U.slice(0, E);
|
|
3317
3317
|
}
|
|
3318
3318
|
window.document.execCommand(
|
|
3319
3319
|
"insertText",
|
|
3320
3320
|
!1,
|
|
3321
|
-
|
|
3321
|
+
U.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3322
3322
|
);
|
|
3323
|
-
}).catch((
|
|
3323
|
+
}).catch((U) => {
|
|
3324
3324
|
});
|
|
3325
|
-
},
|
|
3326
|
-
|
|
3325
|
+
}, J = (T) => {
|
|
3326
|
+
pe.Blur(T), h == null || h({ value: T.target.textContent.trim(), name: f });
|
|
3327
3327
|
};
|
|
3328
|
-
const
|
|
3329
|
-
|
|
3330
|
-
const
|
|
3331
|
-
return b && (
|
|
3332
|
-
|
|
3328
|
+
const F = {};
|
|
3329
|
+
F.field = "password", M && (F.show = ""), w && (F.className = w);
|
|
3330
|
+
const V = {};
|
|
3331
|
+
return b && (V.placeholder = b), m ? "" : /* @__PURE__ */ R.jsxs("dl", { ...F, children: [
|
|
3332
|
+
S ? /* @__PURE__ */ R.jsx("dt", { children: S }) : "",
|
|
3333
3333
|
/* @__PURE__ */ R.jsx(
|
|
3334
3334
|
"dd",
|
|
3335
3335
|
{
|
|
3336
3336
|
onPaste: K,
|
|
3337
3337
|
onInput: v,
|
|
3338
3338
|
onKeyDown: N,
|
|
3339
|
-
onBlur:
|
|
3340
|
-
contentEditable: c && d ?
|
|
3341
|
-
...
|
|
3339
|
+
onBlur: J,
|
|
3340
|
+
contentEditable: c && d ? pe.ContentEditable : "false",
|
|
3341
|
+
...V,
|
|
3342
3342
|
suppressContentEditableWarning: !0,
|
|
3343
|
-
children:
|
|
3343
|
+
children: l
|
|
3344
3344
|
}
|
|
3345
3345
|
),
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3346
|
+
C[0] && /* @__PURE__ */ R.jsx("i", { onClick: () => D(!M), children: M ? C[1] : C[0] }),
|
|
3347
|
+
A,
|
|
3348
|
+
j ? /* @__PURE__ */ R.jsx("em", { children: j }) : ""
|
|
3349
3349
|
] });
|
|
3350
3350
|
}
|
|
3351
|
-
function
|
|
3352
|
-
onValue:
|
|
3351
|
+
function Qt({
|
|
3352
|
+
onValue: l,
|
|
3353
3353
|
onSave: p,
|
|
3354
3354
|
active: h,
|
|
3355
3355
|
max: f,
|
|
3356
3356
|
edit: b,
|
|
3357
3357
|
title: w,
|
|
3358
|
-
error:
|
|
3359
|
-
show:
|
|
3358
|
+
error: S,
|
|
3359
|
+
show: j,
|
|
3360
3360
|
hide: c,
|
|
3361
3361
|
value: d,
|
|
3362
3362
|
placeholder: i,
|
|
3363
|
-
className:
|
|
3363
|
+
className: m,
|
|
3364
3364
|
maxLength: _,
|
|
3365
3365
|
name: E,
|
|
3366
|
-
after:
|
|
3367
|
-
before:
|
|
3368
|
-
view:
|
|
3366
|
+
after: C = "",
|
|
3367
|
+
before: A = "",
|
|
3368
|
+
view: M
|
|
3369
3369
|
}) {
|
|
3370
3370
|
b = b !== void 0 ? b : !0, h = h !== void 0 ? h : !0, c = !!(c && (d === "" || d === void 0)) && !(b && h), i = i !== void 0 ? i : "", f = f !== void 0 ? f : 99;
|
|
3371
|
-
let v = !1, N = (
|
|
3372
|
-
|
|
3373
|
-
}, K = (
|
|
3374
|
-
if (!(v &&
|
|
3375
|
-
if (
|
|
3376
|
-
|
|
3377
|
-
}
|
|
3378
|
-
},
|
|
3379
|
-
if (
|
|
3380
|
-
},
|
|
3381
|
-
|
|
3371
|
+
let v = !1, N = ($) => {
|
|
3372
|
+
l == null || l({ value: $.target.textContent, name: E });
|
|
3373
|
+
}, K = ($) => {
|
|
3374
|
+
if (!(v && $.which === 86)) {
|
|
3375
|
+
if ($.which === 17 || $.which === 91) return v = !0;
|
|
3376
|
+
$.key !== "Backspace" && ($.target.textContent.length === f && $.preventDefault(), $.key === "Enter" && $.preventDefault(), isNaN($.key) && $.preventDefault());
|
|
3377
|
+
}
|
|
3378
|
+
}, J = ($) => {
|
|
3379
|
+
if ($.which === 17 || $.which === 91) return v = !1;
|
|
3380
|
+
}, F = ($) => {
|
|
3381
|
+
$.preventDefault(), navigator.clipboard.readText().then((re) => {
|
|
3382
3382
|
if (re = re.replace(/(?!^\+|\d)./g, ""), _) {
|
|
3383
|
-
let te =
|
|
3383
|
+
let te = $.target.textContent.length;
|
|
3384
3384
|
if (te >= _) return;
|
|
3385
3385
|
_ -= te, re = re.slice(0, _);
|
|
3386
3386
|
}
|
|
@@ -3388,70 +3388,139 @@ function Gt({
|
|
|
3388
3388
|
}).catch((re) => {
|
|
3389
3389
|
});
|
|
3390
3390
|
};
|
|
3391
|
-
const
|
|
3392
|
-
|
|
3393
|
-
},
|
|
3394
|
-
|
|
3395
|
-
let
|
|
3396
|
-
return b && h ? (
|
|
3391
|
+
const V = ($) => {
|
|
3392
|
+
pe.Blur($), p == null || p({ value: $.target.textContent, name: E });
|
|
3393
|
+
}, T = {};
|
|
3394
|
+
T.field = "input", m && (T.className = m);
|
|
3395
|
+
let U = {};
|
|
3396
|
+
return b && h ? (U.edit = "true", U.contentEditable = pe.ContentEditable) : U.contentEditable = "false", U.inputMode = "decimal", i && (U.placeholder = i), c ? /* @__PURE__ */ R.jsx(R.Fragment, {}) : /* @__PURE__ */ R.jsxs("dl", { ...T, children: [
|
|
3397
3397
|
w && /* @__PURE__ */ R.jsx("dt", { children: w }),
|
|
3398
|
-
|
|
3398
|
+
A,
|
|
3399
3399
|
/* @__PURE__ */ R.jsx(
|
|
3400
3400
|
"dd",
|
|
3401
3401
|
{
|
|
3402
|
-
...
|
|
3403
|
-
onPaste:
|
|
3402
|
+
...U,
|
|
3403
|
+
onPaste: F,
|
|
3404
3404
|
onInput: N,
|
|
3405
|
-
onBlur:
|
|
3405
|
+
onBlur: V,
|
|
3406
3406
|
onKeyDown: K,
|
|
3407
|
-
onKeyUp:
|
|
3407
|
+
onKeyUp: J,
|
|
3408
3408
|
suppressContentEditableWarning: !0,
|
|
3409
3409
|
children: d
|
|
3410
3410
|
}
|
|
3411
3411
|
),
|
|
3412
|
-
|
|
3413
|
-
|
|
3412
|
+
C,
|
|
3413
|
+
S && /* @__PURE__ */ R.jsx("em", { children: S })
|
|
3414
3414
|
] });
|
|
3415
3415
|
}
|
|
3416
|
-
const
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3416
|
+
const zt = "_s_l1314_1", Yt = {
|
|
3417
|
+
s: zt
|
|
3418
|
+
}, en = ({
|
|
3419
|
+
className: l,
|
|
3420
|
+
timeout: p = 1e3,
|
|
3421
|
+
placeholder: h,
|
|
3422
|
+
value: f,
|
|
3423
|
+
onValue: b,
|
|
3424
|
+
maxLength: w = 20
|
|
3425
|
+
}) => {
|
|
3426
|
+
let S = 0, j = I.useRef({
|
|
3427
|
+
textContent: f
|
|
3428
|
+
}), c = () => {
|
|
3429
|
+
j.current.textContent.trim().length === 0 && (j.current.textContent = ""), clearTimeout(S), S = setTimeout(
|
|
3430
|
+
() => {
|
|
3431
|
+
var C;
|
|
3432
|
+
return b((C = j.current) == null ? void 0 : C.textContent);
|
|
3433
|
+
},
|
|
3434
|
+
p
|
|
3435
|
+
);
|
|
3436
|
+
}, d = () => {
|
|
3437
|
+
j.current && (j.current.textContent = ""), b("");
|
|
3438
|
+
}, i = (C) => {
|
|
3439
|
+
w && C.target.textContent.trim().length >= w && C.key !== "Backspace" && C.preventDefault(), C.key === "Enter" && C.preventDefault();
|
|
3440
|
+
}, m = (C) => {
|
|
3441
|
+
C.preventDefault(), navigator.clipboard.readText().then((A) => {
|
|
3442
|
+
if (w) {
|
|
3443
|
+
let M = C.target.textContent.length;
|
|
3444
|
+
if (M >= w) return;
|
|
3445
|
+
w -= M, A = A.slice(0, w);
|
|
3446
|
+
}
|
|
3447
|
+
window.document.execCommand(
|
|
3448
|
+
"insertText",
|
|
3449
|
+
!1,
|
|
3450
|
+
A.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3451
|
+
);
|
|
3452
|
+
}).catch((A) => {
|
|
3453
|
+
});
|
|
3454
|
+
}, _ = () => {
|
|
3455
|
+
j.current.textContent = j.current.textContent.trim();
|
|
3456
|
+
};
|
|
3457
|
+
const E = {};
|
|
3458
|
+
return h && (E.placeholder = h), /* @__PURE__ */ R.jsxs(
|
|
3459
|
+
"dl",
|
|
3460
|
+
{
|
|
3461
|
+
"data-field": "search",
|
|
3462
|
+
className: [Le.l, Yt.s, l].filter((C) => C !== void 0).join(" "),
|
|
3463
|
+
children: [
|
|
3464
|
+
/* @__PURE__ */ R.jsx("svg", { "aria-label": "icon", viewBox: "0 0 24 24", children: /* @__PURE__ */ R.jsx("path", { d: "M17.5 17.5L22 22m-2-11a9 9 0 1 0-18 0a9 9 0 0 0 18 0" }) }),
|
|
3465
|
+
/* @__PURE__ */ R.jsx(
|
|
3466
|
+
"dd",
|
|
3467
|
+
{
|
|
3468
|
+
className: Le.f,
|
|
3469
|
+
ref: j,
|
|
3470
|
+
onPaste: m,
|
|
3471
|
+
onInput: c,
|
|
3472
|
+
onKeyDown: i,
|
|
3473
|
+
onBlur: _,
|
|
3474
|
+
contentEditable: pe.ContentEditable,
|
|
3475
|
+
...E,
|
|
3476
|
+
suppressContentEditableWarning: !0,
|
|
3477
|
+
children: f
|
|
3478
|
+
}
|
|
3479
|
+
),
|
|
3480
|
+
/* @__PURE__ */ R.jsx("svg", { "action-type": "delete", onClick: d, viewBox: "0 0 24 24", children: /* @__PURE__ */ R.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) })
|
|
3481
|
+
]
|
|
3482
|
+
}
|
|
3483
|
+
);
|
|
3484
|
+
}, de = {};
|
|
3485
|
+
function rn(l) {
|
|
3486
|
+
const [p, h] = I.useState({}), f = I.useRef(l);
|
|
3487
|
+
return de.u = (b) => {
|
|
3420
3488
|
f.current = { ...f.current, [b.name]: b.value };
|
|
3421
|
-
},
|
|
3489
|
+
}, de.n = (b) => {
|
|
3422
3490
|
f.current = b, h(Date.now());
|
|
3423
|
-
},
|
|
3491
|
+
}, de.r = () => {
|
|
3424
3492
|
h(Date.now());
|
|
3425
|
-
}, [f.current,
|
|
3493
|
+
}, [f.current, de.n];
|
|
3426
3494
|
}
|
|
3427
|
-
function
|
|
3428
|
-
|
|
3495
|
+
function tn(l) {
|
|
3496
|
+
de.u(l), l.reload && de.r();
|
|
3429
3497
|
}
|
|
3430
|
-
function
|
|
3431
|
-
|
|
3498
|
+
function nn() {
|
|
3499
|
+
de.r && de.r();
|
|
3432
3500
|
}
|
|
3433
|
-
function
|
|
3434
|
-
const [p, h] =
|
|
3435
|
-
return
|
|
3501
|
+
function an(l) {
|
|
3502
|
+
const [p, h] = I.useState({}), f = I.useRef(l);
|
|
3503
|
+
return de.u = (b) => {
|
|
3436
3504
|
f.current = { ...f.current, [b.name]: b.value };
|
|
3437
|
-
},
|
|
3505
|
+
}, de.n = (b) => {
|
|
3438
3506
|
Object.keys(b).length > 0 ? Object.keys(b).forEach((w) => {
|
|
3439
3507
|
f.current[w] = b[w];
|
|
3440
3508
|
}) : f.current = {}, h(Date.now());
|
|
3441
|
-
},
|
|
3509
|
+
}, de.r = () => {
|
|
3442
3510
|
h(Date.now());
|
|
3443
|
-
}, [f.current,
|
|
3511
|
+
}, [f.current, de.n];
|
|
3444
3512
|
}
|
|
3445
3513
|
export {
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
rn as
|
|
3514
|
+
Gt as Modal,
|
|
3515
|
+
Qt as Number,
|
|
3516
|
+
Xt as Options,
|
|
3517
|
+
Zt as Password,
|
|
3518
|
+
Vt as Progress,
|
|
3519
|
+
en as Search,
|
|
3520
|
+
Ht as Select,
|
|
3521
|
+
qt as String,
|
|
3522
|
+
nn as runReload,
|
|
3523
|
+
tn as setValue,
|
|
3524
|
+
rn as useData,
|
|
3525
|
+
an as useError
|
|
3457
3526
|
};
|