@elcrm/form 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1239 -1270
- package/dist/index.umd.js +38 -38
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createPortal as
|
|
3
|
-
import './index.css';const
|
|
4
|
-
version:
|
|
1
|
+
import U, { useEffect as Jt } from "react";
|
|
2
|
+
import { createPortal as Mt } from "react-dom";
|
|
3
|
+
import './index.css';const Zt = "0.0.25", Vt = {
|
|
4
|
+
version: Zt
|
|
5
5
|
};
|
|
6
|
-
var Tt = { exports: {} },
|
|
6
|
+
var Tt = { exports: {} }, pt = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,21 +13,21 @@ var Tt = { exports: {} }, mt = {};
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
function
|
|
22
|
-
var o, d = {},
|
|
23
|
-
|
|
16
|
+
var $t;
|
|
17
|
+
function Xt() {
|
|
18
|
+
if ($t) return pt;
|
|
19
|
+
$t = 1;
|
|
20
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function T(x, s, g) {
|
|
22
|
+
var o, d = {}, b = null, S = null;
|
|
23
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
24
24
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
25
25
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
26
|
-
return { $$typeof: i, type: x, key:
|
|
26
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return pt.Fragment = c, pt.jsx = T, pt.jsxs = T, pt;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var mt = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -37,54 +37,54 @@ var pt = {};
|
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
39
|
*/
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
var
|
|
40
|
+
var At;
|
|
41
|
+
function Qt() {
|
|
42
|
+
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
44
44
|
function $(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
47
|
var t = N && e[N] || e[A];
|
|
48
48
|
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
50
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function p(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
54
|
-
r[
|
|
55
|
-
|
|
53
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
54
|
+
r[a - 1] = arguments[a];
|
|
55
|
+
M("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function M(e, t, r) {
|
|
59
59
|
{
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
var
|
|
60
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
61
|
+
f !== "" && (t += "%s", r = r.concat([f]));
|
|
62
|
+
var m = r.map(function(l) {
|
|
63
63
|
return String(l);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
|
|
68
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
69
|
+
D = Symbol.for("react.module.reference");
|
|
70
70
|
function W(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
75
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
77
|
function R(e, t, r) {
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
81
|
-
var
|
|
82
|
-
return
|
|
78
|
+
var a = e.displayName;
|
|
79
|
+
if (a)
|
|
80
|
+
return a;
|
|
81
|
+
var f = t.displayName || t.name || "";
|
|
82
|
+
return f !== "" ? r + "(" + f + ")" : r;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function h(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function k(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
90
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -100,7 +100,7 @@ function Xt() {
|
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case v:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case g:
|
|
104
104
|
return "Suspense";
|
|
105
105
|
case o:
|
|
106
106
|
return "SuspenseList";
|
|
@@ -109,19 +109,19 @@ function Xt() {
|
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
110
|
case x:
|
|
111
111
|
var t = e;
|
|
112
|
-
return
|
|
113
|
-
case
|
|
112
|
+
return h(t) + ".Consumer";
|
|
113
|
+
case T:
|
|
114
114
|
var r = e;
|
|
115
|
-
return
|
|
115
|
+
return h(r._context) + ".Provider";
|
|
116
116
|
case s:
|
|
117
117
|
return R(e, e.render, "ForwardRef");
|
|
118
118
|
case d:
|
|
119
|
-
var
|
|
120
|
-
return
|
|
121
|
-
case
|
|
122
|
-
var
|
|
119
|
+
var a = e.displayName || null;
|
|
120
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
121
|
+
case b: {
|
|
122
|
+
var f = e, m = f._payload, l = f._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return k(l(m));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,13 +129,13 @@ function Xt() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
133
133
|
function we() {
|
|
134
134
|
}
|
|
135
135
|
we.__reactDisabledLog = !0;
|
|
136
136
|
function Le() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
138
|
+
if (Y === 0) {
|
|
139
139
|
Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
@@ -153,53 +153,53 @@ function Xt() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
Y++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
function We() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (Y--, Y === 0) {
|
|
162
162
|
var e = {
|
|
163
163
|
configurable: !0,
|
|
164
164
|
enumerable: !0,
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
168
|
+
log: I({}, e, {
|
|
169
169
|
value: Q
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: I({}, e, {
|
|
172
172
|
value: ie
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: I({}, e, {
|
|
175
175
|
value: se
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: I({}, e, {
|
|
178
178
|
value: ve
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
180
|
+
group: I({}, e, {
|
|
181
181
|
value: ge
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: I({}, e, {
|
|
184
184
|
value: be
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: I({}, e, {
|
|
187
187
|
value: ke
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var le =
|
|
194
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
195
195
|
function re(e, t, r) {
|
|
196
196
|
{
|
|
197
197
|
if (ce === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
|
-
} catch (
|
|
201
|
-
var
|
|
202
|
-
ce =
|
|
200
|
+
} catch (f) {
|
|
201
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ce = a && a[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
205
|
` + ce + e;
|
|
@@ -218,12 +218,12 @@ function Xt() {
|
|
|
218
218
|
if (r !== void 0)
|
|
219
219
|
return r;
|
|
220
220
|
}
|
|
221
|
-
var
|
|
221
|
+
var a;
|
|
222
222
|
ue = !0;
|
|
223
|
-
var
|
|
223
|
+
var f = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var m;
|
|
226
|
+
m = le.current, le.current = null, Le();
|
|
227
227
|
try {
|
|
228
228
|
if (t) {
|
|
229
229
|
var l = function() {
|
|
@@ -237,14 +237,14 @@ function Xt() {
|
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(l, []);
|
|
239
239
|
} catch (F) {
|
|
240
|
-
|
|
240
|
+
a = F;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], l);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
l.call();
|
|
246
246
|
} catch (F) {
|
|
247
|
-
|
|
247
|
+
a = F;
|
|
248
248
|
}
|
|
249
249
|
e.call(l.prototype);
|
|
250
250
|
}
|
|
@@ -252,21 +252,21 @@ function Xt() {
|
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
254
|
} catch (F) {
|
|
255
|
-
|
|
255
|
+
a = F;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
259
|
} catch (F) {
|
|
260
|
-
if (F &&
|
|
260
|
+
if (F && a && typeof F.stack == "string") {
|
|
261
261
|
for (var _ = F.stack.split(`
|
|
262
|
-
`),
|
|
263
|
-
`), w = _.length - 1, j =
|
|
262
|
+
`), P = a.stack.split(`
|
|
263
|
+
`), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
|
|
264
264
|
j--;
|
|
265
265
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
266
|
-
if (_[w] !==
|
|
266
|
+
if (_[w] !== P[j]) {
|
|
267
267
|
if (w !== 1 || j !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
269
|
+
if (w--, j--, j < 0 || _[w] !== P[j]) {
|
|
270
270
|
var B = `
|
|
271
271
|
` + _[w].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -276,10 +276,10 @@ function Xt() {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
ue = !1, le.current =
|
|
279
|
+
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
280
280
|
}
|
|
281
|
-
var V = e ? e.displayName || e.name : "",
|
|
282
|
-
return typeof e == "function" && ae.set(e,
|
|
281
|
+
var V = e ? e.displayName || e.name : "", z = V ? re(V) : "";
|
|
282
|
+
return typeof e == "function" && ae.set(e, z), z;
|
|
283
283
|
}
|
|
284
284
|
function Ke(e, t, r) {
|
|
285
285
|
return je(e, !1);
|
|
@@ -296,7 +296,7 @@ function Xt() {
|
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return re(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
299
|
+
case g:
|
|
300
300
|
return re("Suspense");
|
|
301
301
|
case o:
|
|
302
302
|
return re("SuspenseList");
|
|
@@ -307,17 +307,17 @@ function Xt() {
|
|
|
307
307
|
return Ke(e.render);
|
|
308
308
|
case d:
|
|
309
309
|
return ne(e.type, t, r);
|
|
310
|
-
case
|
|
311
|
-
var
|
|
310
|
+
case b: {
|
|
311
|
+
var a = e, f = a._payload, m = a._init;
|
|
312
312
|
try {
|
|
313
|
-
return ne(
|
|
313
|
+
return ne(m(f), t, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var X = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
320
|
+
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
321
321
|
function oe(e) {
|
|
322
322
|
if (e) {
|
|
323
323
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -325,22 +325,22 @@ function Xt() {
|
|
|
325
325
|
} else
|
|
326
326
|
Ce.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function Ye(e, t, r,
|
|
328
|
+
function Ye(e, t, r, a, f) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
330
|
+
var m = Function.call.bind(X);
|
|
331
331
|
for (var l in e)
|
|
332
|
-
if (
|
|
332
|
+
if (m(e, l)) {
|
|
333
333
|
var _ = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[l] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw P.name = "Invariant Violation", P;
|
|
338
338
|
}
|
|
339
|
-
_ = e[l](t, l,
|
|
339
|
+
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (w) {
|
|
341
341
|
_ = w;
|
|
342
342
|
}
|
|
343
|
-
_ && !(_ instanceof Error) && (oe(
|
|
343
|
+
_ && !(_ instanceof Error) && (oe(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -368,7 +368,7 @@ function Xt() {
|
|
|
368
368
|
if (He(e))
|
|
369
369
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
370
370
|
}
|
|
371
|
-
var Ee =
|
|
371
|
+
var Ee = O.ReactCurrentOwner, Je = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
@@ -415,7 +415,7 @@ function Xt() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var tt = function(e, t, r,
|
|
418
|
+
var tt = function(e, t, r, a, f, m, l) {
|
|
419
419
|
var _ = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
421
|
$$typeof: i,
|
|
@@ -425,7 +425,7 @@ function Xt() {
|
|
|
425
425
|
ref: r,
|
|
426
426
|
props: l,
|
|
427
427
|
// Record the component responsible for creating this element.
|
|
428
|
-
_owner:
|
|
428
|
+
_owner: m
|
|
429
429
|
};
|
|
430
430
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
431
431
|
configurable: !1,
|
|
@@ -436,33 +436,33 @@ function Xt() {
|
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !1,
|
|
439
|
-
value:
|
|
439
|
+
value: a
|
|
440
440
|
}), Object.defineProperty(_, "_source", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
|
-
value:
|
|
444
|
+
value: f
|
|
445
445
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
446
446
|
};
|
|
447
|
-
function rt(e, t, r,
|
|
447
|
+
function rt(e, t, r, a, f) {
|
|
448
448
|
{
|
|
449
|
-
var
|
|
450
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
451
|
-
for (
|
|
452
|
-
X.call(t,
|
|
449
|
+
var m, l = {}, _ = null, P = null;
|
|
450
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t, f));
|
|
451
|
+
for (m in t)
|
|
452
|
+
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
454
454
|
var w = e.defaultProps;
|
|
455
|
-
for (
|
|
456
|
-
l[
|
|
455
|
+
for (m in w)
|
|
456
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
457
457
|
}
|
|
458
|
-
if (_ ||
|
|
458
|
+
if (_ || P) {
|
|
459
459
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
_ && Qe(l, j),
|
|
460
|
+
_ && Qe(l, j), P && et(l, j);
|
|
461
461
|
}
|
|
462
|
-
return tt(e, _,
|
|
462
|
+
return tt(e, _, P, f, a, Ee.current, l);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
var fe =
|
|
465
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
466
466
|
function Z(e) {
|
|
467
467
|
if (e) {
|
|
468
468
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -470,15 +470,15 @@ function Xt() {
|
|
|
470
470
|
} else
|
|
471
471
|
De.setExtraStackFrame(null);
|
|
472
472
|
}
|
|
473
|
-
var
|
|
474
|
-
|
|
475
|
-
function
|
|
473
|
+
var pe;
|
|
474
|
+
pe = !1;
|
|
475
|
+
function me(e) {
|
|
476
476
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
477
477
|
}
|
|
478
478
|
function Pe() {
|
|
479
479
|
{
|
|
480
480
|
if (fe.current) {
|
|
481
|
-
var e =
|
|
481
|
+
var e = k(fe.current.type);
|
|
482
482
|
if (e)
|
|
483
483
|
return `
|
|
484
484
|
|
|
@@ -512,8 +512,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
512
512
|
if (Ne[r])
|
|
513
513
|
return;
|
|
514
514
|
Ne[r] = !0;
|
|
515
|
-
var
|
|
516
|
-
e && e._owner && e._owner !== fe.current && (
|
|
515
|
+
var a = "";
|
|
516
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Z(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Ie(e, t) {
|
|
@@ -522,16 +522,16 @@ Check the top-level render call using <` + r + ">.");
|
|
|
522
522
|
return;
|
|
523
523
|
if (de(e))
|
|
524
524
|
for (var r = 0; r < e.length; r++) {
|
|
525
|
-
var
|
|
526
|
-
|
|
525
|
+
var a = e[r];
|
|
526
|
+
me(a) && Fe(a, t);
|
|
527
527
|
}
|
|
528
|
-
else if (
|
|
528
|
+
else if (me(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var
|
|
532
|
-
if (typeof
|
|
533
|
-
for (var
|
|
534
|
-
|
|
531
|
+
var f = $(e);
|
|
532
|
+
if (typeof f == "function" && f !== e.entries)
|
|
533
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
534
|
+
me(l.value) && Fe(l.value, t);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
}
|
|
@@ -550,12 +550,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (r) {
|
|
553
|
-
var
|
|
554
|
-
Ye(r, e.props, "prop",
|
|
555
|
-
} else if (t.PropTypes !== void 0 && !
|
|
556
|
-
|
|
557
|
-
var
|
|
558
|
-
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
553
|
+
var a = k(t);
|
|
554
|
+
Ye(r, e.props, "prop", a, e);
|
|
555
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
|
+
pe = !0;
|
|
557
|
+
var f = k(t);
|
|
558
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
559
559
|
}
|
|
560
560
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
@@ -563,9 +563,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
563
563
|
function it(e) {
|
|
564
564
|
{
|
|
565
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
566
|
+
var a = t[r];
|
|
567
|
+
if (a !== "children" && a !== "key") {
|
|
568
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
@@ -573,24 +573,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
var Me = {};
|
|
576
|
-
function $e(e, t, r,
|
|
576
|
+
function $e(e, t, r, a, f, m) {
|
|
577
577
|
{
|
|
578
578
|
var l = W(e);
|
|
579
579
|
if (!l) {
|
|
580
580
|
var _ = "";
|
|
581
581
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var
|
|
583
|
-
|
|
582
|
+
var P = at();
|
|
583
|
+
P ? _ += P : _ += Pe();
|
|
584
584
|
var w;
|
|
585
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (
|
|
585
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
586
586
|
}
|
|
587
|
-
var j = rt(e, t, r,
|
|
587
|
+
var j = rt(e, t, r, f, m);
|
|
588
588
|
if (j == null)
|
|
589
589
|
return j;
|
|
590
590
|
if (l) {
|
|
591
591
|
var B = t.children;
|
|
592
592
|
if (B !== void 0)
|
|
593
|
-
if (
|
|
593
|
+
if (a)
|
|
594
594
|
if (de(B)) {
|
|
595
595
|
for (var V = 0; V < B.length; V++)
|
|
596
596
|
Ie(B[V], e);
|
|
@@ -601,17 +601,17 @@ Check the top-level render call using <` + r + ">.");
|
|
|
601
601
|
Ie(B, e);
|
|
602
602
|
}
|
|
603
603
|
if (X.call(t, "key")) {
|
|
604
|
-
var
|
|
604
|
+
var z = k(e), F = Object.keys(t).filter(function(dt) {
|
|
605
605
|
return dt !== "key";
|
|
606
606
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
|
-
if (!Me[
|
|
607
|
+
if (!Me[z + ye]) {
|
|
608
608
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
609
609
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
610
610
|
let props = %s;
|
|
611
611
|
<%s {...props} />
|
|
612
612
|
React keys must be passed directly to JSX without using spread:
|
|
613
613
|
let props = %s;
|
|
614
|
-
<%s key={someKey} {...props} />`, ye,
|
|
614
|
+
<%s key={someKey} {...props} />`, ye, z, ut, z), Me[z + ye] = !0;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
return e === u ? it(j) : ot(j), j;
|
|
@@ -624,36 +624,36 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
return $e(e, t, r, !1);
|
|
625
625
|
}
|
|
626
626
|
var lt = st, ct = _t;
|
|
627
|
-
|
|
628
|
-
}()),
|
|
627
|
+
mt.Fragment = u, mt.jsx = lt, mt.jsxs = ct;
|
|
628
|
+
}()), mt;
|
|
629
629
|
}
|
|
630
|
-
process.env.NODE_ENV === "production" ? Tt.exports =
|
|
631
|
-
var
|
|
632
|
-
function
|
|
630
|
+
process.env.NODE_ENV === "production" ? Tt.exports = Xt() : Tt.exports = Qt();
|
|
631
|
+
var y = Tt.exports;
|
|
632
|
+
function va({ name: n, value: i, title: c, style: u, className: v }) {
|
|
633
633
|
let C = {
|
|
634
634
|
field: "progress"
|
|
635
635
|
};
|
|
636
|
-
return u && (C.style = u), v && (C.className = v), /* @__PURE__ */
|
|
637
|
-
c && /* @__PURE__ */
|
|
638
|
-
/* @__PURE__ */
|
|
636
|
+
return u && (C.style = u), v && (C.className = v), /* @__PURE__ */ y.jsxs("dl", { ...C, children: [
|
|
637
|
+
c && /* @__PURE__ */ y.jsx("dt", { children: c }),
|
|
638
|
+
/* @__PURE__ */ y.jsx("dd", {})
|
|
639
639
|
] });
|
|
640
640
|
}
|
|
641
641
|
let te = {};
|
|
642
|
-
te.KeyDown = (
|
|
643
|
-
|
|
642
|
+
te.KeyDown = (n) => {
|
|
643
|
+
n.key === "Enter" && n.preventDefault();
|
|
644
644
|
};
|
|
645
|
-
te.PasteOne = (
|
|
646
|
-
|
|
645
|
+
te.PasteOne = (n) => {
|
|
646
|
+
n.preventDefault(), navigator.clipboard.readText().then((i) => {
|
|
647
647
|
i = i.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, i);
|
|
648
648
|
}).catch((i) => {
|
|
649
649
|
});
|
|
650
650
|
};
|
|
651
|
-
te.Paste = (
|
|
651
|
+
te.Paste = (n, i) => {
|
|
652
652
|
i.preventDefault(), navigator.clipboard.readText().then((c) => {
|
|
653
|
-
if (
|
|
653
|
+
if (n) {
|
|
654
654
|
let u = i.target.textContent.length;
|
|
655
|
-
if (u >=
|
|
656
|
-
|
|
655
|
+
if (u >= n) return;
|
|
656
|
+
n -= u, c = c.slice(0, n);
|
|
657
657
|
}
|
|
658
658
|
window.document.execCommand(
|
|
659
659
|
"insertText",
|
|
@@ -663,44 +663,46 @@ te.Paste = (a, i) => {
|
|
|
663
663
|
}).catch((c) => {
|
|
664
664
|
});
|
|
665
665
|
};
|
|
666
|
-
te.Focus = (
|
|
667
|
-
|
|
666
|
+
te.Focus = (n) => {
|
|
667
|
+
n.target.textContent.length === 0 && (n.target.innerHTML = "<br>");
|
|
668
668
|
};
|
|
669
|
-
te.Blur = (
|
|
670
|
-
|
|
669
|
+
te.Blur = (n) => {
|
|
670
|
+
n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
|
|
671
671
|
};
|
|
672
672
|
te.ContentEditable = "plaintext-only";
|
|
673
|
-
const
|
|
674
|
-
l:
|
|
675
|
-
f:
|
|
676
|
-
n:
|
|
677
|
-
w:
|
|
678
|
-
t:
|
|
673
|
+
const er = "_l_8hznl_13", tr = "_f_8hznl_38", rr = "_n_8hznl_55", ar = "_w_8hznl_60", nr = "_t_8hznl_70", H = {
|
|
674
|
+
l: er,
|
|
675
|
+
f: tr,
|
|
676
|
+
n: rr,
|
|
677
|
+
w: ar,
|
|
678
|
+
t: nr
|
|
679
679
|
};
|
|
680
|
-
function
|
|
681
|
-
element_blok:
|
|
680
|
+
function Rt({
|
|
681
|
+
element_blok: n,
|
|
682
682
|
element_input: i,
|
|
683
683
|
type: c = "input",
|
|
684
684
|
title: u,
|
|
685
685
|
before: v,
|
|
686
686
|
after: C,
|
|
687
|
-
children:
|
|
687
|
+
children: T
|
|
688
688
|
}) {
|
|
689
|
-
return /* @__PURE__ */
|
|
689
|
+
return /* @__PURE__ */ y.jsxs(
|
|
690
690
|
"dl",
|
|
691
691
|
{
|
|
692
692
|
"data-field": c,
|
|
693
693
|
...i.props,
|
|
694
|
-
className: [
|
|
694
|
+
className: [H.l, ...n.className].filter((x) => x !== void 0).join(" "),
|
|
695
695
|
children: [
|
|
696
|
-
u ? /* @__PURE__ */
|
|
696
|
+
u ? /* @__PURE__ */ y.jsx("dt", { className: H.t, children: u }) : "",
|
|
697
697
|
v,
|
|
698
|
-
/* @__PURE__ */
|
|
698
|
+
/* @__PURE__ */ y.jsx(
|
|
699
699
|
"dd",
|
|
700
700
|
{
|
|
701
|
-
className: [
|
|
701
|
+
className: [H.f, ...i.className].join(
|
|
702
|
+
" "
|
|
703
|
+
),
|
|
702
704
|
...i.props,
|
|
703
|
-
children:
|
|
705
|
+
children: T
|
|
704
706
|
}
|
|
705
707
|
),
|
|
706
708
|
C
|
|
@@ -708,71 +710,71 @@ function nr({
|
|
|
708
710
|
}
|
|
709
711
|
);
|
|
710
712
|
}
|
|
711
|
-
function
|
|
712
|
-
id:
|
|
713
|
+
function ga({
|
|
714
|
+
id: n,
|
|
713
715
|
value: i,
|
|
714
716
|
onValue: c,
|
|
715
717
|
name: u,
|
|
716
718
|
placeholder: v = "",
|
|
717
719
|
title: C = "",
|
|
718
|
-
error:
|
|
720
|
+
error: T = "",
|
|
719
721
|
hide: x = !1,
|
|
720
722
|
edit: s = !0,
|
|
721
|
-
active:
|
|
723
|
+
active: g = !0,
|
|
722
724
|
after: o = "",
|
|
723
725
|
before: d = "",
|
|
724
|
-
show:
|
|
726
|
+
show: b = !0,
|
|
725
727
|
maxLength: S,
|
|
726
728
|
onSave: N,
|
|
727
729
|
className: A = "",
|
|
728
730
|
isCopy: $ = !0,
|
|
729
|
-
isReload:
|
|
731
|
+
isReload: O = !1
|
|
730
732
|
}) {
|
|
731
|
-
let p = !!(x && (i === "" || i === void 0)),
|
|
733
|
+
let p = !!(x && (i === "" || i === void 0)), M = (E) => {
|
|
732
734
|
c && c({
|
|
733
735
|
value: E.target.textContent.trim(),
|
|
734
736
|
name: u,
|
|
735
|
-
reload:
|
|
737
|
+
reload: O
|
|
736
738
|
});
|
|
737
|
-
},
|
|
739
|
+
}, K = (E) => {
|
|
738
740
|
S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
739
|
-
},
|
|
740
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
741
|
+
}, G = (E) => {
|
|
742
|
+
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
741
743
|
if (S) {
|
|
742
744
|
let W = E.target.textContent.length;
|
|
743
745
|
if (W >= S) return;
|
|
744
|
-
S -= W,
|
|
746
|
+
S -= W, D = D.slice(0, S);
|
|
745
747
|
}
|
|
746
748
|
window.document.execCommand(
|
|
747
749
|
"insertText",
|
|
748
750
|
!1,
|
|
749
|
-
|
|
751
|
+
D.replace(/(\r\n|\n|\r)/gm, " ")
|
|
750
752
|
);
|
|
751
|
-
}).catch((
|
|
753
|
+
}).catch((D) => {
|
|
752
754
|
});
|
|
753
755
|
};
|
|
754
|
-
if (!(s &&
|
|
756
|
+
if (!(s && g) && !b || !(s && g) && p) return "";
|
|
755
757
|
const L = {};
|
|
756
|
-
v && (L.placeholder = v), s &&
|
|
757
|
-
const
|
|
758
|
+
v && (L.placeholder = v), s && g && (L.edit = "");
|
|
759
|
+
const q = (E) => {
|
|
758
760
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
759
761
|
};
|
|
760
|
-
return /* @__PURE__ */
|
|
761
|
-
|
|
762
|
+
return /* @__PURE__ */ y.jsx(
|
|
763
|
+
Rt,
|
|
762
764
|
{
|
|
763
765
|
type: "input",
|
|
764
766
|
title: C,
|
|
765
767
|
element_blok: { className: A },
|
|
766
|
-
element_input: { className:
|
|
767
|
-
children: /* @__PURE__ */
|
|
768
|
+
element_input: { className: [H.w] },
|
|
769
|
+
children: /* @__PURE__ */ y.jsx(
|
|
768
770
|
"div",
|
|
769
771
|
{
|
|
770
|
-
onBlur:
|
|
771
|
-
onPaste:
|
|
772
|
-
onInput:
|
|
773
|
-
onKeyDown:
|
|
772
|
+
onBlur: q,
|
|
773
|
+
onPaste: G,
|
|
774
|
+
onInput: M,
|
|
775
|
+
onKeyDown: K,
|
|
774
776
|
spellCheck: "true",
|
|
775
|
-
contentEditable: s &&
|
|
777
|
+
contentEditable: s && g ? te.ContentEditable : "false",
|
|
776
778
|
suppressContentEditableWarning: !0,
|
|
777
779
|
...L,
|
|
778
780
|
children: i
|
|
@@ -791,19 +793,19 @@ var Dt = { exports: {} }, yt = {};
|
|
|
791
793
|
* This source code is licensed under the MIT license found in the
|
|
792
794
|
* LICENSE file in the root directory of this source tree.
|
|
793
795
|
*/
|
|
794
|
-
var
|
|
796
|
+
var Bt;
|
|
795
797
|
function or() {
|
|
796
|
-
if (
|
|
797
|
-
|
|
798
|
-
var
|
|
799
|
-
function
|
|
800
|
-
var o, d = {},
|
|
801
|
-
|
|
798
|
+
if (Bt) return yt;
|
|
799
|
+
Bt = 1;
|
|
800
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
801
|
+
function T(x, s, g) {
|
|
802
|
+
var o, d = {}, b = null, S = null;
|
|
803
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
802
804
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
803
805
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
804
|
-
return { $$typeof: i, type: x, key:
|
|
806
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
805
807
|
}
|
|
806
|
-
return yt.Fragment = c, yt.jsx =
|
|
808
|
+
return yt.Fragment = c, yt.jsx = T, yt.jsxs = T, yt;
|
|
807
809
|
}
|
|
808
810
|
var bt = {};
|
|
809
811
|
/**
|
|
@@ -815,54 +817,54 @@ var bt = {};
|
|
|
815
817
|
* This source code is licensed under the MIT license found in the
|
|
816
818
|
* LICENSE file in the root directory of this source tree.
|
|
817
819
|
*/
|
|
818
|
-
var
|
|
820
|
+
var Lt;
|
|
819
821
|
function ir() {
|
|
820
|
-
return
|
|
821
|
-
var
|
|
822
|
+
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
823
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
822
824
|
function $(e) {
|
|
823
825
|
if (e === null || typeof e != "object")
|
|
824
826
|
return null;
|
|
825
827
|
var t = N && e[N] || e[A];
|
|
826
828
|
return typeof t == "function" ? t : null;
|
|
827
829
|
}
|
|
828
|
-
var
|
|
830
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
829
831
|
function p(e) {
|
|
830
832
|
{
|
|
831
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
832
|
-
r[
|
|
833
|
-
|
|
833
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
834
|
+
r[a - 1] = arguments[a];
|
|
835
|
+
M("error", e, r);
|
|
834
836
|
}
|
|
835
837
|
}
|
|
836
|
-
function
|
|
838
|
+
function M(e, t, r) {
|
|
837
839
|
{
|
|
838
|
-
var
|
|
839
|
-
|
|
840
|
-
var
|
|
840
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
841
|
+
f !== "" && (t += "%s", r = r.concat([f]));
|
|
842
|
+
var m = r.map(function(l) {
|
|
841
843
|
return String(l);
|
|
842
844
|
});
|
|
843
|
-
|
|
845
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
844
846
|
}
|
|
845
847
|
}
|
|
846
|
-
var
|
|
847
|
-
|
|
848
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
849
|
+
D = Symbol.for("react.module.reference");
|
|
848
850
|
function W(e) {
|
|
849
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e ===
|
|
851
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
850
852
|
// types supported by any Flight configuration anywhere since
|
|
851
853
|
// we don't know which Flight build this will end up being used
|
|
852
854
|
// with.
|
|
853
|
-
e.$$typeof ===
|
|
855
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
854
856
|
}
|
|
855
857
|
function R(e, t, r) {
|
|
856
|
-
var
|
|
857
|
-
if (
|
|
858
|
-
return
|
|
859
|
-
var
|
|
860
|
-
return
|
|
858
|
+
var a = e.displayName;
|
|
859
|
+
if (a)
|
|
860
|
+
return a;
|
|
861
|
+
var f = t.displayName || t.name || "";
|
|
862
|
+
return f !== "" ? r + "(" + f + ")" : r;
|
|
861
863
|
}
|
|
862
|
-
function
|
|
864
|
+
function h(e) {
|
|
863
865
|
return e.displayName || "Context";
|
|
864
866
|
}
|
|
865
|
-
function
|
|
867
|
+
function k(e) {
|
|
866
868
|
if (e == null)
|
|
867
869
|
return null;
|
|
868
870
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -878,7 +880,7 @@ function ir() {
|
|
|
878
880
|
return "Profiler";
|
|
879
881
|
case v:
|
|
880
882
|
return "StrictMode";
|
|
881
|
-
case
|
|
883
|
+
case g:
|
|
882
884
|
return "Suspense";
|
|
883
885
|
case o:
|
|
884
886
|
return "SuspenseList";
|
|
@@ -887,19 +889,19 @@ function ir() {
|
|
|
887
889
|
switch (e.$$typeof) {
|
|
888
890
|
case x:
|
|
889
891
|
var t = e;
|
|
890
|
-
return
|
|
891
|
-
case
|
|
892
|
+
return h(t) + ".Consumer";
|
|
893
|
+
case T:
|
|
892
894
|
var r = e;
|
|
893
|
-
return
|
|
895
|
+
return h(r._context) + ".Provider";
|
|
894
896
|
case s:
|
|
895
897
|
return R(e, e.render, "ForwardRef");
|
|
896
898
|
case d:
|
|
897
|
-
var
|
|
898
|
-
return
|
|
899
|
-
case
|
|
900
|
-
var
|
|
899
|
+
var a = e.displayName || null;
|
|
900
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
901
|
+
case b: {
|
|
902
|
+
var f = e, m = f._payload, l = f._init;
|
|
901
903
|
try {
|
|
902
|
-
return
|
|
904
|
+
return k(l(m));
|
|
903
905
|
} catch {
|
|
904
906
|
return null;
|
|
905
907
|
}
|
|
@@ -907,13 +909,13 @@ function ir() {
|
|
|
907
909
|
}
|
|
908
910
|
return null;
|
|
909
911
|
}
|
|
910
|
-
var
|
|
912
|
+
var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
911
913
|
function we() {
|
|
912
914
|
}
|
|
913
915
|
we.__reactDisabledLog = !0;
|
|
914
916
|
function Le() {
|
|
915
917
|
{
|
|
916
|
-
if (
|
|
918
|
+
if (Y === 0) {
|
|
917
919
|
Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
918
920
|
var e = {
|
|
919
921
|
configurable: !0,
|
|
@@ -931,53 +933,53 @@ function ir() {
|
|
|
931
933
|
groupEnd: e
|
|
932
934
|
});
|
|
933
935
|
}
|
|
934
|
-
|
|
936
|
+
Y++;
|
|
935
937
|
}
|
|
936
938
|
}
|
|
937
939
|
function We() {
|
|
938
940
|
{
|
|
939
|
-
if (
|
|
941
|
+
if (Y--, Y === 0) {
|
|
940
942
|
var e = {
|
|
941
943
|
configurable: !0,
|
|
942
944
|
enumerable: !0,
|
|
943
945
|
writable: !0
|
|
944
946
|
};
|
|
945
947
|
Object.defineProperties(console, {
|
|
946
|
-
log:
|
|
948
|
+
log: I({}, e, {
|
|
947
949
|
value: Q
|
|
948
950
|
}),
|
|
949
|
-
info:
|
|
951
|
+
info: I({}, e, {
|
|
950
952
|
value: ie
|
|
951
953
|
}),
|
|
952
|
-
warn:
|
|
954
|
+
warn: I({}, e, {
|
|
953
955
|
value: se
|
|
954
956
|
}),
|
|
955
|
-
error:
|
|
957
|
+
error: I({}, e, {
|
|
956
958
|
value: ve
|
|
957
959
|
}),
|
|
958
|
-
group:
|
|
960
|
+
group: I({}, e, {
|
|
959
961
|
value: ge
|
|
960
962
|
}),
|
|
961
|
-
groupCollapsed:
|
|
963
|
+
groupCollapsed: I({}, e, {
|
|
962
964
|
value: be
|
|
963
965
|
}),
|
|
964
|
-
groupEnd:
|
|
966
|
+
groupEnd: I({}, e, {
|
|
965
967
|
value: ke
|
|
966
968
|
})
|
|
967
969
|
});
|
|
968
970
|
}
|
|
969
|
-
|
|
971
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
970
972
|
}
|
|
971
973
|
}
|
|
972
|
-
var le =
|
|
974
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
973
975
|
function re(e, t, r) {
|
|
974
976
|
{
|
|
975
977
|
if (ce === void 0)
|
|
976
978
|
try {
|
|
977
979
|
throw Error();
|
|
978
|
-
} catch (
|
|
979
|
-
var
|
|
980
|
-
ce =
|
|
980
|
+
} catch (f) {
|
|
981
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
982
|
+
ce = a && a[1] || "";
|
|
981
983
|
}
|
|
982
984
|
return `
|
|
983
985
|
` + ce + e;
|
|
@@ -996,12 +998,12 @@ function ir() {
|
|
|
996
998
|
if (r !== void 0)
|
|
997
999
|
return r;
|
|
998
1000
|
}
|
|
999
|
-
var
|
|
1001
|
+
var a;
|
|
1000
1002
|
ue = !0;
|
|
1001
|
-
var
|
|
1003
|
+
var f = Error.prepareStackTrace;
|
|
1002
1004
|
Error.prepareStackTrace = void 0;
|
|
1003
|
-
var
|
|
1004
|
-
|
|
1005
|
+
var m;
|
|
1006
|
+
m = le.current, le.current = null, Le();
|
|
1005
1007
|
try {
|
|
1006
1008
|
if (t) {
|
|
1007
1009
|
var l = function() {
|
|
@@ -1015,14 +1017,14 @@ function ir() {
|
|
|
1015
1017
|
try {
|
|
1016
1018
|
Reflect.construct(l, []);
|
|
1017
1019
|
} catch (F) {
|
|
1018
|
-
|
|
1020
|
+
a = F;
|
|
1019
1021
|
}
|
|
1020
1022
|
Reflect.construct(e, [], l);
|
|
1021
1023
|
} else {
|
|
1022
1024
|
try {
|
|
1023
1025
|
l.call();
|
|
1024
1026
|
} catch (F) {
|
|
1025
|
-
|
|
1027
|
+
a = F;
|
|
1026
1028
|
}
|
|
1027
1029
|
e.call(l.prototype);
|
|
1028
1030
|
}
|
|
@@ -1030,21 +1032,21 @@ function ir() {
|
|
|
1030
1032
|
try {
|
|
1031
1033
|
throw Error();
|
|
1032
1034
|
} catch (F) {
|
|
1033
|
-
|
|
1035
|
+
a = F;
|
|
1034
1036
|
}
|
|
1035
1037
|
e();
|
|
1036
1038
|
}
|
|
1037
1039
|
} catch (F) {
|
|
1038
|
-
if (F &&
|
|
1040
|
+
if (F && a && typeof F.stack == "string") {
|
|
1039
1041
|
for (var _ = F.stack.split(`
|
|
1040
|
-
`),
|
|
1041
|
-
`), w = _.length - 1, j =
|
|
1042
|
+
`), P = a.stack.split(`
|
|
1043
|
+
`), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
|
|
1042
1044
|
j--;
|
|
1043
1045
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1044
|
-
if (_[w] !==
|
|
1046
|
+
if (_[w] !== P[j]) {
|
|
1045
1047
|
if (w !== 1 || j !== 1)
|
|
1046
1048
|
do
|
|
1047
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
1049
|
+
if (w--, j--, j < 0 || _[w] !== P[j]) {
|
|
1048
1050
|
var B = `
|
|
1049
1051
|
` + _[w].replace(" at new ", " at ");
|
|
1050
1052
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -1054,10 +1056,10 @@ function ir() {
|
|
|
1054
1056
|
}
|
|
1055
1057
|
}
|
|
1056
1058
|
} finally {
|
|
1057
|
-
ue = !1, le.current =
|
|
1059
|
+
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
1058
1060
|
}
|
|
1059
|
-
var V = e ? e.displayName || e.name : "",
|
|
1060
|
-
return typeof e == "function" && ae.set(e,
|
|
1061
|
+
var V = e ? e.displayName || e.name : "", z = V ? re(V) : "";
|
|
1062
|
+
return typeof e == "function" && ae.set(e, z), z;
|
|
1061
1063
|
}
|
|
1062
1064
|
function Ke(e, t, r) {
|
|
1063
1065
|
return je(e, !1);
|
|
@@ -1074,7 +1076,7 @@ function ir() {
|
|
|
1074
1076
|
if (typeof e == "string")
|
|
1075
1077
|
return re(e);
|
|
1076
1078
|
switch (e) {
|
|
1077
|
-
case
|
|
1079
|
+
case g:
|
|
1078
1080
|
return re("Suspense");
|
|
1079
1081
|
case o:
|
|
1080
1082
|
return re("SuspenseList");
|
|
@@ -1085,17 +1087,17 @@ function ir() {
|
|
|
1085
1087
|
return Ke(e.render);
|
|
1086
1088
|
case d:
|
|
1087
1089
|
return ne(e.type, t, r);
|
|
1088
|
-
case
|
|
1089
|
-
var
|
|
1090
|
+
case b: {
|
|
1091
|
+
var a = e, f = a._payload, m = a._init;
|
|
1090
1092
|
try {
|
|
1091
|
-
return ne(
|
|
1093
|
+
return ne(m(f), t, r);
|
|
1092
1094
|
} catch {
|
|
1093
1095
|
}
|
|
1094
1096
|
}
|
|
1095
1097
|
}
|
|
1096
1098
|
return "";
|
|
1097
1099
|
}
|
|
1098
|
-
var X = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
1100
|
+
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
1099
1101
|
function oe(e) {
|
|
1100
1102
|
if (e) {
|
|
1101
1103
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -1103,22 +1105,22 @@ function ir() {
|
|
|
1103
1105
|
} else
|
|
1104
1106
|
Ce.setExtraStackFrame(null);
|
|
1105
1107
|
}
|
|
1106
|
-
function Ye(e, t, r,
|
|
1108
|
+
function Ye(e, t, r, a, f) {
|
|
1107
1109
|
{
|
|
1108
|
-
var
|
|
1110
|
+
var m = Function.call.bind(X);
|
|
1109
1111
|
for (var l in e)
|
|
1110
|
-
if (
|
|
1112
|
+
if (m(e, l)) {
|
|
1111
1113
|
var _ = void 0;
|
|
1112
1114
|
try {
|
|
1113
1115
|
if (typeof e[l] != "function") {
|
|
1114
|
-
var
|
|
1115
|
-
throw
|
|
1116
|
+
var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1117
|
+
throw P.name = "Invariant Violation", P;
|
|
1116
1118
|
}
|
|
1117
|
-
_ = e[l](t, l,
|
|
1119
|
+
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1118
1120
|
} catch (w) {
|
|
1119
1121
|
_ = w;
|
|
1120
1122
|
}
|
|
1121
|
-
_ && !(_ instanceof Error) && (oe(
|
|
1123
|
+
_ && !(_ instanceof Error) && (oe(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
1122
1124
|
}
|
|
1123
1125
|
}
|
|
1124
1126
|
}
|
|
@@ -1146,7 +1148,7 @@ function ir() {
|
|
|
1146
1148
|
if (He(e))
|
|
1147
1149
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
1148
1150
|
}
|
|
1149
|
-
var Ee =
|
|
1151
|
+
var Ee = O.ReactCurrentOwner, Je = {
|
|
1150
1152
|
key: !0,
|
|
1151
1153
|
ref: !0,
|
|
1152
1154
|
__self: !0,
|
|
@@ -1193,7 +1195,7 @@ function ir() {
|
|
|
1193
1195
|
});
|
|
1194
1196
|
}
|
|
1195
1197
|
}
|
|
1196
|
-
var tt = function(e, t, r,
|
|
1198
|
+
var tt = function(e, t, r, a, f, m, l) {
|
|
1197
1199
|
var _ = {
|
|
1198
1200
|
// This tag allows us to uniquely identify this as a React Element
|
|
1199
1201
|
$$typeof: i,
|
|
@@ -1203,7 +1205,7 @@ function ir() {
|
|
|
1203
1205
|
ref: r,
|
|
1204
1206
|
props: l,
|
|
1205
1207
|
// Record the component responsible for creating this element.
|
|
1206
|
-
_owner:
|
|
1208
|
+
_owner: m
|
|
1207
1209
|
};
|
|
1208
1210
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1209
1211
|
configurable: !1,
|
|
@@ -1214,33 +1216,33 @@ function ir() {
|
|
|
1214
1216
|
configurable: !1,
|
|
1215
1217
|
enumerable: !1,
|
|
1216
1218
|
writable: !1,
|
|
1217
|
-
value:
|
|
1219
|
+
value: a
|
|
1218
1220
|
}), Object.defineProperty(_, "_source", {
|
|
1219
1221
|
configurable: !1,
|
|
1220
1222
|
enumerable: !1,
|
|
1221
1223
|
writable: !1,
|
|
1222
|
-
value:
|
|
1224
|
+
value: f
|
|
1223
1225
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1224
1226
|
};
|
|
1225
|
-
function rt(e, t, r,
|
|
1227
|
+
function rt(e, t, r, a, f) {
|
|
1226
1228
|
{
|
|
1227
|
-
var
|
|
1228
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
1229
|
-
for (
|
|
1230
|
-
X.call(t,
|
|
1229
|
+
var m, l = {}, _ = null, P = null;
|
|
1230
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
|
|
1231
|
+
for (m in t)
|
|
1232
|
+
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1231
1233
|
if (e && e.defaultProps) {
|
|
1232
1234
|
var w = e.defaultProps;
|
|
1233
|
-
for (
|
|
1234
|
-
l[
|
|
1235
|
+
for (m in w)
|
|
1236
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
1235
1237
|
}
|
|
1236
|
-
if (_ ||
|
|
1238
|
+
if (_ || P) {
|
|
1237
1239
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1238
|
-
_ && Qe(l, j),
|
|
1240
|
+
_ && Qe(l, j), P && et(l, j);
|
|
1239
1241
|
}
|
|
1240
|
-
return tt(e, _,
|
|
1242
|
+
return tt(e, _, P, f, a, Ee.current, l);
|
|
1241
1243
|
}
|
|
1242
1244
|
}
|
|
1243
|
-
var fe =
|
|
1245
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
1244
1246
|
function Z(e) {
|
|
1245
1247
|
if (e) {
|
|
1246
1248
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -1248,15 +1250,15 @@ function ir() {
|
|
|
1248
1250
|
} else
|
|
1249
1251
|
De.setExtraStackFrame(null);
|
|
1250
1252
|
}
|
|
1251
|
-
var
|
|
1252
|
-
|
|
1253
|
-
function
|
|
1253
|
+
var pe;
|
|
1254
|
+
pe = !1;
|
|
1255
|
+
function me(e) {
|
|
1254
1256
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1255
1257
|
}
|
|
1256
1258
|
function Pe() {
|
|
1257
1259
|
{
|
|
1258
1260
|
if (fe.current) {
|
|
1259
|
-
var e =
|
|
1261
|
+
var e = k(fe.current.type);
|
|
1260
1262
|
if (e)
|
|
1261
1263
|
return `
|
|
1262
1264
|
|
|
@@ -1290,8 +1292,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1290
1292
|
if (Ne[r])
|
|
1291
1293
|
return;
|
|
1292
1294
|
Ne[r] = !0;
|
|
1293
|
-
var
|
|
1294
|
-
e && e._owner && e._owner !== fe.current && (
|
|
1295
|
+
var a = "";
|
|
1296
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Z(null);
|
|
1295
1297
|
}
|
|
1296
1298
|
}
|
|
1297
1299
|
function Ie(e, t) {
|
|
@@ -1300,16 +1302,16 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1300
1302
|
return;
|
|
1301
1303
|
if (de(e))
|
|
1302
1304
|
for (var r = 0; r < e.length; r++) {
|
|
1303
|
-
var
|
|
1304
|
-
|
|
1305
|
+
var a = e[r];
|
|
1306
|
+
me(a) && Fe(a, t);
|
|
1305
1307
|
}
|
|
1306
|
-
else if (
|
|
1308
|
+
else if (me(e))
|
|
1307
1309
|
e._store && (e._store.validated = !0);
|
|
1308
1310
|
else if (e) {
|
|
1309
|
-
var
|
|
1310
|
-
if (typeof
|
|
1311
|
-
for (var
|
|
1312
|
-
|
|
1311
|
+
var f = $(e);
|
|
1312
|
+
if (typeof f == "function" && f !== e.entries)
|
|
1313
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
1314
|
+
me(l.value) && Fe(l.value, t);
|
|
1313
1315
|
}
|
|
1314
1316
|
}
|
|
1315
1317
|
}
|
|
@@ -1328,12 +1330,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1328
1330
|
else
|
|
1329
1331
|
return;
|
|
1330
1332
|
if (r) {
|
|
1331
|
-
var
|
|
1332
|
-
Ye(r, e.props, "prop",
|
|
1333
|
-
} else if (t.PropTypes !== void 0 && !
|
|
1334
|
-
|
|
1335
|
-
var
|
|
1336
|
-
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
1333
|
+
var a = k(t);
|
|
1334
|
+
Ye(r, e.props, "prop", a, e);
|
|
1335
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
1336
|
+
pe = !0;
|
|
1337
|
+
var f = k(t);
|
|
1338
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
1337
1339
|
}
|
|
1338
1340
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1339
1341
|
}
|
|
@@ -1341,9 +1343,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1341
1343
|
function it(e) {
|
|
1342
1344
|
{
|
|
1343
1345
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1344
|
-
var
|
|
1345
|
-
if (
|
|
1346
|
-
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
1346
|
+
var a = t[r];
|
|
1347
|
+
if (a !== "children" && a !== "key") {
|
|
1348
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
|
|
1347
1349
|
break;
|
|
1348
1350
|
}
|
|
1349
1351
|
}
|
|
@@ -1351,24 +1353,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1351
1353
|
}
|
|
1352
1354
|
}
|
|
1353
1355
|
var Me = {};
|
|
1354
|
-
function $e(e, t, r,
|
|
1356
|
+
function $e(e, t, r, a, f, m) {
|
|
1355
1357
|
{
|
|
1356
1358
|
var l = W(e);
|
|
1357
1359
|
if (!l) {
|
|
1358
1360
|
var _ = "";
|
|
1359
1361
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1360
|
-
var
|
|
1361
|
-
|
|
1362
|
+
var P = at();
|
|
1363
|
+
P ? _ += P : _ += Pe();
|
|
1362
1364
|
var w;
|
|
1363
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (
|
|
1365
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
1364
1366
|
}
|
|
1365
|
-
var j = rt(e, t, r,
|
|
1367
|
+
var j = rt(e, t, r, f, m);
|
|
1366
1368
|
if (j == null)
|
|
1367
1369
|
return j;
|
|
1368
1370
|
if (l) {
|
|
1369
1371
|
var B = t.children;
|
|
1370
1372
|
if (B !== void 0)
|
|
1371
|
-
if (
|
|
1373
|
+
if (a)
|
|
1372
1374
|
if (de(B)) {
|
|
1373
1375
|
for (var V = 0; V < B.length; V++)
|
|
1374
1376
|
Ie(B[V], e);
|
|
@@ -1379,17 +1381,17 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1379
1381
|
Ie(B, e);
|
|
1380
1382
|
}
|
|
1381
1383
|
if (X.call(t, "key")) {
|
|
1382
|
-
var
|
|
1384
|
+
var z = k(e), F = Object.keys(t).filter(function(dt) {
|
|
1383
1385
|
return dt !== "key";
|
|
1384
1386
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1385
|
-
if (!Me[
|
|
1387
|
+
if (!Me[z + ye]) {
|
|
1386
1388
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
1387
1389
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
1388
1390
|
let props = %s;
|
|
1389
1391
|
<%s {...props} />
|
|
1390
1392
|
React keys must be passed directly to JSX without using spread:
|
|
1391
1393
|
let props = %s;
|
|
1392
|
-
<%s key={someKey} {...props} />`, ye,
|
|
1394
|
+
<%s key={someKey} {...props} />`, ye, z, ut, z), Me[z + ye] = !0;
|
|
1393
1395
|
}
|
|
1394
1396
|
}
|
|
1395
1397
|
return e === u ? it(j) : ot(j), j;
|
|
@@ -1407,7 +1409,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1407
1409
|
}
|
|
1408
1410
|
process.env.NODE_ENV === "production" ? Dt.exports = or() : Dt.exports = ir();
|
|
1409
1411
|
var J = Dt.exports;
|
|
1410
|
-
const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "_ss_oqfdb_94", ur = "_sm_oqfdb_98", dr = "_sl_oqfdb_102", fr = "_sx_oqfdb_106",
|
|
1412
|
+
const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "_ss_oqfdb_94", ur = "_sm_oqfdb_98", dr = "_sl_oqfdb_102", fr = "_sx_oqfdb_106", pr = "_sf_oqfdb_110", mr = "_o_oqfdb_116", yr = "_b_oqfdb_28", vr = "_w_oqfdb_15", gr = "_h_oqfdb_146", hr = "_l_oqfdb_160", br = "_t_oqfdb_197", kr = "_x_oqfdb_201", wr = "_s_oqfdb_89", jr = "_c_oqfdb_219", xr = "_f_oqfdb_224", Cr = "_r__oqfdb_235", Sr = "_c__oqfdb_250", Rr = "_g_oqfdb_259", Er = "_m_oqfdb_79", _e = {
|
|
1411
1413
|
shake: _r,
|
|
1412
1414
|
modal: sr,
|
|
1413
1415
|
sa: lr,
|
|
@@ -1415,8 +1417,8 @@ const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "
|
|
|
1415
1417
|
sm: ur,
|
|
1416
1418
|
sl: dr,
|
|
1417
1419
|
sx: fr,
|
|
1418
|
-
sf:
|
|
1419
|
-
o:
|
|
1420
|
+
sf: pr,
|
|
1421
|
+
o: mr,
|
|
1420
1422
|
b: yr,
|
|
1421
1423
|
w: vr,
|
|
1422
1424
|
h: gr,
|
|
@@ -1431,26 +1433,26 @@ const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "
|
|
|
1431
1433
|
g: Rr,
|
|
1432
1434
|
m: Er
|
|
1433
1435
|
};
|
|
1434
|
-
function Or({ children:
|
|
1436
|
+
function Or({ children: n, className: i }) {
|
|
1435
1437
|
return /* @__PURE__ */ J.jsx(
|
|
1436
1438
|
"div",
|
|
1437
1439
|
{
|
|
1438
1440
|
className: [_e.l, i].filter((c) => c !== void 0).join(" "),
|
|
1439
|
-
children: /* @__PURE__ */ J.jsx("ul", { children:
|
|
1441
|
+
children: /* @__PURE__ */ J.jsx("ul", { children: n })
|
|
1440
1442
|
}
|
|
1441
1443
|
);
|
|
1442
1444
|
}
|
|
1443
|
-
function Tr({ children:
|
|
1445
|
+
function Tr({ children: n, className: i }) {
|
|
1444
1446
|
return /* @__PURE__ */ J.jsx(
|
|
1445
1447
|
"div",
|
|
1446
1448
|
{
|
|
1447
1449
|
className: [_e.s, i].filter((c) => c !== void 0).join(" "),
|
|
1448
|
-
children:
|
|
1450
|
+
children: n
|
|
1449
1451
|
}
|
|
1450
1452
|
);
|
|
1451
1453
|
}
|
|
1452
1454
|
function Dr({
|
|
1453
|
-
children:
|
|
1455
|
+
children: n,
|
|
1454
1456
|
direction: i = "column",
|
|
1455
1457
|
className: c
|
|
1456
1458
|
}) {
|
|
@@ -1462,32 +1464,32 @@ function Dr({
|
|
|
1462
1464
|
_e[i === "row" ? "r_" : "c_"],
|
|
1463
1465
|
c
|
|
1464
1466
|
].filter((u) => u !== void 0).join(" "),
|
|
1465
|
-
children:
|
|
1467
|
+
children: n
|
|
1466
1468
|
}
|
|
1467
1469
|
);
|
|
1468
1470
|
}
|
|
1469
|
-
function Pr({ children:
|
|
1471
|
+
function Pr({ children: n, className: i }) {
|
|
1470
1472
|
return /* @__PURE__ */ J.jsx(
|
|
1471
1473
|
"div",
|
|
1472
1474
|
{
|
|
1473
1475
|
className: [_e.c, i].filter((c) => c !== void 0).join(" "),
|
|
1474
|
-
children:
|
|
1476
|
+
children: n
|
|
1475
1477
|
}
|
|
1476
1478
|
);
|
|
1477
1479
|
}
|
|
1478
|
-
function Nr({ children:
|
|
1480
|
+
function Nr({ children: n, className: i }) {
|
|
1479
1481
|
return /* @__PURE__ */ J.jsx(
|
|
1480
1482
|
"div",
|
|
1481
1483
|
{
|
|
1482
1484
|
className: [_e.g, i].filter((c) => c !== void 0).join(" "),
|
|
1483
|
-
children:
|
|
1485
|
+
children: n
|
|
1484
1486
|
}
|
|
1485
1487
|
);
|
|
1486
1488
|
}
|
|
1487
1489
|
function Fr() {
|
|
1488
1490
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1489
1491
|
}
|
|
1490
|
-
function
|
|
1492
|
+
function Wt(n) {
|
|
1491
1493
|
return Fr().IMPORT_MODULES;
|
|
1492
1494
|
}
|
|
1493
1495
|
var Pt = { exports: {} }, vt = {};
|
|
@@ -1500,19 +1502,19 @@ var Pt = { exports: {} }, vt = {};
|
|
|
1500
1502
|
* This source code is licensed under the MIT license found in the
|
|
1501
1503
|
* LICENSE file in the root directory of this source tree.
|
|
1502
1504
|
*/
|
|
1503
|
-
var
|
|
1505
|
+
var Ut;
|
|
1504
1506
|
function Ir() {
|
|
1505
|
-
if (
|
|
1506
|
-
|
|
1507
|
-
var
|
|
1508
|
-
function
|
|
1509
|
-
var o, d = {},
|
|
1510
|
-
|
|
1507
|
+
if (Ut) return vt;
|
|
1508
|
+
Ut = 1;
|
|
1509
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1510
|
+
function T(x, s, g) {
|
|
1511
|
+
var o, d = {}, b = null, S = null;
|
|
1512
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
1511
1513
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
1512
1514
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
1513
|
-
return { $$typeof: i, type: x, key:
|
|
1515
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
1514
1516
|
}
|
|
1515
|
-
return vt.Fragment = c, vt.jsx =
|
|
1517
|
+
return vt.Fragment = c, vt.jsx = T, vt.jsxs = T, vt;
|
|
1516
1518
|
}
|
|
1517
1519
|
var kt = {};
|
|
1518
1520
|
/**
|
|
@@ -1524,54 +1526,54 @@ var kt = {};
|
|
|
1524
1526
|
* This source code is licensed under the MIT license found in the
|
|
1525
1527
|
* LICENSE file in the root directory of this source tree.
|
|
1526
1528
|
*/
|
|
1527
|
-
var
|
|
1529
|
+
var Kt;
|
|
1528
1530
|
function Mr() {
|
|
1529
|
-
return
|
|
1530
|
-
var
|
|
1531
|
+
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1532
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
1531
1533
|
function $(e) {
|
|
1532
1534
|
if (e === null || typeof e != "object")
|
|
1533
1535
|
return null;
|
|
1534
1536
|
var t = N && e[N] || e[A];
|
|
1535
1537
|
return typeof t == "function" ? t : null;
|
|
1536
1538
|
}
|
|
1537
|
-
var
|
|
1539
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1538
1540
|
function p(e) {
|
|
1539
1541
|
{
|
|
1540
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
1541
|
-
r[
|
|
1542
|
-
|
|
1542
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1543
|
+
r[a - 1] = arguments[a];
|
|
1544
|
+
M("error", e, r);
|
|
1543
1545
|
}
|
|
1544
1546
|
}
|
|
1545
|
-
function
|
|
1547
|
+
function M(e, t, r) {
|
|
1546
1548
|
{
|
|
1547
|
-
var
|
|
1548
|
-
|
|
1549
|
-
var
|
|
1549
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
1550
|
+
f !== "" && (t += "%s", r = r.concat([f]));
|
|
1551
|
+
var m = r.map(function(l) {
|
|
1550
1552
|
return String(l);
|
|
1551
1553
|
});
|
|
1552
|
-
|
|
1554
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
1553
1555
|
}
|
|
1554
1556
|
}
|
|
1555
|
-
var
|
|
1556
|
-
|
|
1557
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
1558
|
+
D = Symbol.for("react.module.reference");
|
|
1557
1559
|
function W(e) {
|
|
1558
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e ===
|
|
1560
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
1559
1561
|
// types supported by any Flight configuration anywhere since
|
|
1560
1562
|
// we don't know which Flight build this will end up being used
|
|
1561
1563
|
// with.
|
|
1562
|
-
e.$$typeof ===
|
|
1564
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
1563
1565
|
}
|
|
1564
1566
|
function R(e, t, r) {
|
|
1565
|
-
var
|
|
1566
|
-
if (
|
|
1567
|
-
return
|
|
1568
|
-
var
|
|
1569
|
-
return
|
|
1567
|
+
var a = e.displayName;
|
|
1568
|
+
if (a)
|
|
1569
|
+
return a;
|
|
1570
|
+
var f = t.displayName || t.name || "";
|
|
1571
|
+
return f !== "" ? r + "(" + f + ")" : r;
|
|
1570
1572
|
}
|
|
1571
|
-
function
|
|
1573
|
+
function h(e) {
|
|
1572
1574
|
return e.displayName || "Context";
|
|
1573
1575
|
}
|
|
1574
|
-
function
|
|
1576
|
+
function k(e) {
|
|
1575
1577
|
if (e == null)
|
|
1576
1578
|
return null;
|
|
1577
1579
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -1587,7 +1589,7 @@ function Mr() {
|
|
|
1587
1589
|
return "Profiler";
|
|
1588
1590
|
case v:
|
|
1589
1591
|
return "StrictMode";
|
|
1590
|
-
case
|
|
1592
|
+
case g:
|
|
1591
1593
|
return "Suspense";
|
|
1592
1594
|
case o:
|
|
1593
1595
|
return "SuspenseList";
|
|
@@ -1596,19 +1598,19 @@ function Mr() {
|
|
|
1596
1598
|
switch (e.$$typeof) {
|
|
1597
1599
|
case x:
|
|
1598
1600
|
var t = e;
|
|
1599
|
-
return
|
|
1600
|
-
case
|
|
1601
|
+
return h(t) + ".Consumer";
|
|
1602
|
+
case T:
|
|
1601
1603
|
var r = e;
|
|
1602
|
-
return
|
|
1604
|
+
return h(r._context) + ".Provider";
|
|
1603
1605
|
case s:
|
|
1604
1606
|
return R(e, e.render, "ForwardRef");
|
|
1605
1607
|
case d:
|
|
1606
|
-
var
|
|
1607
|
-
return
|
|
1608
|
-
case
|
|
1609
|
-
var
|
|
1608
|
+
var a = e.displayName || null;
|
|
1609
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
1610
|
+
case b: {
|
|
1611
|
+
var f = e, m = f._payload, l = f._init;
|
|
1610
1612
|
try {
|
|
1611
|
-
return
|
|
1613
|
+
return k(l(m));
|
|
1612
1614
|
} catch {
|
|
1613
1615
|
return null;
|
|
1614
1616
|
}
|
|
@@ -1616,13 +1618,13 @@ function Mr() {
|
|
|
1616
1618
|
}
|
|
1617
1619
|
return null;
|
|
1618
1620
|
}
|
|
1619
|
-
var
|
|
1621
|
+
var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
1620
1622
|
function we() {
|
|
1621
1623
|
}
|
|
1622
1624
|
we.__reactDisabledLog = !0;
|
|
1623
1625
|
function Le() {
|
|
1624
1626
|
{
|
|
1625
|
-
if (
|
|
1627
|
+
if (Y === 0) {
|
|
1626
1628
|
Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
1627
1629
|
var e = {
|
|
1628
1630
|
configurable: !0,
|
|
@@ -1640,53 +1642,53 @@ function Mr() {
|
|
|
1640
1642
|
groupEnd: e
|
|
1641
1643
|
});
|
|
1642
1644
|
}
|
|
1643
|
-
|
|
1645
|
+
Y++;
|
|
1644
1646
|
}
|
|
1645
1647
|
}
|
|
1646
1648
|
function We() {
|
|
1647
1649
|
{
|
|
1648
|
-
if (
|
|
1650
|
+
if (Y--, Y === 0) {
|
|
1649
1651
|
var e = {
|
|
1650
1652
|
configurable: !0,
|
|
1651
1653
|
enumerable: !0,
|
|
1652
1654
|
writable: !0
|
|
1653
1655
|
};
|
|
1654
1656
|
Object.defineProperties(console, {
|
|
1655
|
-
log:
|
|
1657
|
+
log: I({}, e, {
|
|
1656
1658
|
value: Q
|
|
1657
1659
|
}),
|
|
1658
|
-
info:
|
|
1660
|
+
info: I({}, e, {
|
|
1659
1661
|
value: ie
|
|
1660
1662
|
}),
|
|
1661
|
-
warn:
|
|
1663
|
+
warn: I({}, e, {
|
|
1662
1664
|
value: se
|
|
1663
1665
|
}),
|
|
1664
|
-
error:
|
|
1666
|
+
error: I({}, e, {
|
|
1665
1667
|
value: ve
|
|
1666
1668
|
}),
|
|
1667
|
-
group:
|
|
1669
|
+
group: I({}, e, {
|
|
1668
1670
|
value: ge
|
|
1669
1671
|
}),
|
|
1670
|
-
groupCollapsed:
|
|
1672
|
+
groupCollapsed: I({}, e, {
|
|
1671
1673
|
value: be
|
|
1672
1674
|
}),
|
|
1673
|
-
groupEnd:
|
|
1675
|
+
groupEnd: I({}, e, {
|
|
1674
1676
|
value: ke
|
|
1675
1677
|
})
|
|
1676
1678
|
});
|
|
1677
1679
|
}
|
|
1678
|
-
|
|
1680
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1679
1681
|
}
|
|
1680
1682
|
}
|
|
1681
|
-
var le =
|
|
1683
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
1682
1684
|
function re(e, t, r) {
|
|
1683
1685
|
{
|
|
1684
1686
|
if (ce === void 0)
|
|
1685
1687
|
try {
|
|
1686
1688
|
throw Error();
|
|
1687
|
-
} catch (
|
|
1688
|
-
var
|
|
1689
|
-
ce =
|
|
1689
|
+
} catch (f) {
|
|
1690
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
1691
|
+
ce = a && a[1] || "";
|
|
1690
1692
|
}
|
|
1691
1693
|
return `
|
|
1692
1694
|
` + ce + e;
|
|
@@ -1705,12 +1707,12 @@ function Mr() {
|
|
|
1705
1707
|
if (r !== void 0)
|
|
1706
1708
|
return r;
|
|
1707
1709
|
}
|
|
1708
|
-
var
|
|
1710
|
+
var a;
|
|
1709
1711
|
ue = !0;
|
|
1710
|
-
var
|
|
1712
|
+
var f = Error.prepareStackTrace;
|
|
1711
1713
|
Error.prepareStackTrace = void 0;
|
|
1712
|
-
var
|
|
1713
|
-
|
|
1714
|
+
var m;
|
|
1715
|
+
m = le.current, le.current = null, Le();
|
|
1714
1716
|
try {
|
|
1715
1717
|
if (t) {
|
|
1716
1718
|
var l = function() {
|
|
@@ -1724,14 +1726,14 @@ function Mr() {
|
|
|
1724
1726
|
try {
|
|
1725
1727
|
Reflect.construct(l, []);
|
|
1726
1728
|
} catch (F) {
|
|
1727
|
-
|
|
1729
|
+
a = F;
|
|
1728
1730
|
}
|
|
1729
1731
|
Reflect.construct(e, [], l);
|
|
1730
1732
|
} else {
|
|
1731
1733
|
try {
|
|
1732
1734
|
l.call();
|
|
1733
1735
|
} catch (F) {
|
|
1734
|
-
|
|
1736
|
+
a = F;
|
|
1735
1737
|
}
|
|
1736
1738
|
e.call(l.prototype);
|
|
1737
1739
|
}
|
|
@@ -1739,21 +1741,21 @@ function Mr() {
|
|
|
1739
1741
|
try {
|
|
1740
1742
|
throw Error();
|
|
1741
1743
|
} catch (F) {
|
|
1742
|
-
|
|
1744
|
+
a = F;
|
|
1743
1745
|
}
|
|
1744
1746
|
e();
|
|
1745
1747
|
}
|
|
1746
1748
|
} catch (F) {
|
|
1747
|
-
if (F &&
|
|
1749
|
+
if (F && a && typeof F.stack == "string") {
|
|
1748
1750
|
for (var _ = F.stack.split(`
|
|
1749
|
-
`),
|
|
1750
|
-
`), w = _.length - 1, j =
|
|
1751
|
+
`), P = a.stack.split(`
|
|
1752
|
+
`), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
|
|
1751
1753
|
j--;
|
|
1752
1754
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
1753
|
-
if (_[w] !==
|
|
1755
|
+
if (_[w] !== P[j]) {
|
|
1754
1756
|
if (w !== 1 || j !== 1)
|
|
1755
1757
|
do
|
|
1756
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
1758
|
+
if (w--, j--, j < 0 || _[w] !== P[j]) {
|
|
1757
1759
|
var B = `
|
|
1758
1760
|
` + _[w].replace(" at new ", " at ");
|
|
1759
1761
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -1763,10 +1765,10 @@ function Mr() {
|
|
|
1763
1765
|
}
|
|
1764
1766
|
}
|
|
1765
1767
|
} finally {
|
|
1766
|
-
ue = !1, le.current =
|
|
1768
|
+
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
1767
1769
|
}
|
|
1768
|
-
var V = e ? e.displayName || e.name : "",
|
|
1769
|
-
return typeof e == "function" && ae.set(e,
|
|
1770
|
+
var V = e ? e.displayName || e.name : "", z = V ? re(V) : "";
|
|
1771
|
+
return typeof e == "function" && ae.set(e, z), z;
|
|
1770
1772
|
}
|
|
1771
1773
|
function Ke(e, t, r) {
|
|
1772
1774
|
return je(e, !1);
|
|
@@ -1783,7 +1785,7 @@ function Mr() {
|
|
|
1783
1785
|
if (typeof e == "string")
|
|
1784
1786
|
return re(e);
|
|
1785
1787
|
switch (e) {
|
|
1786
|
-
case
|
|
1788
|
+
case g:
|
|
1787
1789
|
return re("Suspense");
|
|
1788
1790
|
case o:
|
|
1789
1791
|
return re("SuspenseList");
|
|
@@ -1794,17 +1796,17 @@ function Mr() {
|
|
|
1794
1796
|
return Ke(e.render);
|
|
1795
1797
|
case d:
|
|
1796
1798
|
return ne(e.type, t, r);
|
|
1797
|
-
case
|
|
1798
|
-
var
|
|
1799
|
+
case b: {
|
|
1800
|
+
var a = e, f = a._payload, m = a._init;
|
|
1799
1801
|
try {
|
|
1800
|
-
return ne(
|
|
1802
|
+
return ne(m(f), t, r);
|
|
1801
1803
|
} catch {
|
|
1802
1804
|
}
|
|
1803
1805
|
}
|
|
1804
1806
|
}
|
|
1805
1807
|
return "";
|
|
1806
1808
|
}
|
|
1807
|
-
var X = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
1809
|
+
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
1808
1810
|
function oe(e) {
|
|
1809
1811
|
if (e) {
|
|
1810
1812
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -1812,22 +1814,22 @@ function Mr() {
|
|
|
1812
1814
|
} else
|
|
1813
1815
|
Ce.setExtraStackFrame(null);
|
|
1814
1816
|
}
|
|
1815
|
-
function Ye(e, t, r,
|
|
1817
|
+
function Ye(e, t, r, a, f) {
|
|
1816
1818
|
{
|
|
1817
|
-
var
|
|
1819
|
+
var m = Function.call.bind(X);
|
|
1818
1820
|
for (var l in e)
|
|
1819
|
-
if (
|
|
1821
|
+
if (m(e, l)) {
|
|
1820
1822
|
var _ = void 0;
|
|
1821
1823
|
try {
|
|
1822
1824
|
if (typeof e[l] != "function") {
|
|
1823
|
-
var
|
|
1824
|
-
throw
|
|
1825
|
+
var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1826
|
+
throw P.name = "Invariant Violation", P;
|
|
1825
1827
|
}
|
|
1826
|
-
_ = e[l](t, l,
|
|
1828
|
+
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1827
1829
|
} catch (w) {
|
|
1828
1830
|
_ = w;
|
|
1829
1831
|
}
|
|
1830
|
-
_ && !(_ instanceof Error) && (oe(
|
|
1832
|
+
_ && !(_ instanceof Error) && (oe(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
1831
1833
|
}
|
|
1832
1834
|
}
|
|
1833
1835
|
}
|
|
@@ -1855,7 +1857,7 @@ function Mr() {
|
|
|
1855
1857
|
if (He(e))
|
|
1856
1858
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
1857
1859
|
}
|
|
1858
|
-
var Ee =
|
|
1860
|
+
var Ee = O.ReactCurrentOwner, Je = {
|
|
1859
1861
|
key: !0,
|
|
1860
1862
|
ref: !0,
|
|
1861
1863
|
__self: !0,
|
|
@@ -1902,7 +1904,7 @@ function Mr() {
|
|
|
1902
1904
|
});
|
|
1903
1905
|
}
|
|
1904
1906
|
}
|
|
1905
|
-
var tt = function(e, t, r,
|
|
1907
|
+
var tt = function(e, t, r, a, f, m, l) {
|
|
1906
1908
|
var _ = {
|
|
1907
1909
|
// This tag allows us to uniquely identify this as a React Element
|
|
1908
1910
|
$$typeof: i,
|
|
@@ -1912,7 +1914,7 @@ function Mr() {
|
|
|
1912
1914
|
ref: r,
|
|
1913
1915
|
props: l,
|
|
1914
1916
|
// Record the component responsible for creating this element.
|
|
1915
|
-
_owner:
|
|
1917
|
+
_owner: m
|
|
1916
1918
|
};
|
|
1917
1919
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1918
1920
|
configurable: !1,
|
|
@@ -1923,33 +1925,33 @@ function Mr() {
|
|
|
1923
1925
|
configurable: !1,
|
|
1924
1926
|
enumerable: !1,
|
|
1925
1927
|
writable: !1,
|
|
1926
|
-
value:
|
|
1928
|
+
value: a
|
|
1927
1929
|
}), Object.defineProperty(_, "_source", {
|
|
1928
1930
|
configurable: !1,
|
|
1929
1931
|
enumerable: !1,
|
|
1930
1932
|
writable: !1,
|
|
1931
|
-
value:
|
|
1933
|
+
value: f
|
|
1932
1934
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1933
1935
|
};
|
|
1934
|
-
function rt(e, t, r,
|
|
1936
|
+
function rt(e, t, r, a, f) {
|
|
1935
1937
|
{
|
|
1936
|
-
var
|
|
1937
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
1938
|
-
for (
|
|
1939
|
-
X.call(t,
|
|
1938
|
+
var m, l = {}, _ = null, P = null;
|
|
1939
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
|
|
1940
|
+
for (m in t)
|
|
1941
|
+
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
1940
1942
|
if (e && e.defaultProps) {
|
|
1941
1943
|
var w = e.defaultProps;
|
|
1942
|
-
for (
|
|
1943
|
-
l[
|
|
1944
|
+
for (m in w)
|
|
1945
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
1944
1946
|
}
|
|
1945
|
-
if (_ ||
|
|
1947
|
+
if (_ || P) {
|
|
1946
1948
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1947
|
-
_ && Qe(l, j),
|
|
1949
|
+
_ && Qe(l, j), P && et(l, j);
|
|
1948
1950
|
}
|
|
1949
|
-
return tt(e, _,
|
|
1951
|
+
return tt(e, _, P, f, a, Ee.current, l);
|
|
1950
1952
|
}
|
|
1951
1953
|
}
|
|
1952
|
-
var fe =
|
|
1954
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
1953
1955
|
function Z(e) {
|
|
1954
1956
|
if (e) {
|
|
1955
1957
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -1957,15 +1959,15 @@ function Mr() {
|
|
|
1957
1959
|
} else
|
|
1958
1960
|
De.setExtraStackFrame(null);
|
|
1959
1961
|
}
|
|
1960
|
-
var
|
|
1961
|
-
|
|
1962
|
-
function
|
|
1962
|
+
var pe;
|
|
1963
|
+
pe = !1;
|
|
1964
|
+
function me(e) {
|
|
1963
1965
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
1964
1966
|
}
|
|
1965
1967
|
function Pe() {
|
|
1966
1968
|
{
|
|
1967
1969
|
if (fe.current) {
|
|
1968
|
-
var e =
|
|
1970
|
+
var e = k(fe.current.type);
|
|
1969
1971
|
if (e)
|
|
1970
1972
|
return `
|
|
1971
1973
|
|
|
@@ -1999,8 +2001,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1999
2001
|
if (Ne[r])
|
|
2000
2002
|
return;
|
|
2001
2003
|
Ne[r] = !0;
|
|
2002
|
-
var
|
|
2003
|
-
e && e._owner && e._owner !== fe.current && (
|
|
2004
|
+
var a = "";
|
|
2005
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Z(null);
|
|
2004
2006
|
}
|
|
2005
2007
|
}
|
|
2006
2008
|
function Ie(e, t) {
|
|
@@ -2009,16 +2011,16 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2009
2011
|
return;
|
|
2010
2012
|
if (de(e))
|
|
2011
2013
|
for (var r = 0; r < e.length; r++) {
|
|
2012
|
-
var
|
|
2013
|
-
|
|
2014
|
+
var a = e[r];
|
|
2015
|
+
me(a) && Fe(a, t);
|
|
2014
2016
|
}
|
|
2015
|
-
else if (
|
|
2017
|
+
else if (me(e))
|
|
2016
2018
|
e._store && (e._store.validated = !0);
|
|
2017
2019
|
else if (e) {
|
|
2018
|
-
var
|
|
2019
|
-
if (typeof
|
|
2020
|
-
for (var
|
|
2021
|
-
|
|
2020
|
+
var f = $(e);
|
|
2021
|
+
if (typeof f == "function" && f !== e.entries)
|
|
2022
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
2023
|
+
me(l.value) && Fe(l.value, t);
|
|
2022
2024
|
}
|
|
2023
2025
|
}
|
|
2024
2026
|
}
|
|
@@ -2037,12 +2039,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2037
2039
|
else
|
|
2038
2040
|
return;
|
|
2039
2041
|
if (r) {
|
|
2040
|
-
var
|
|
2041
|
-
Ye(r, e.props, "prop",
|
|
2042
|
-
} else if (t.PropTypes !== void 0 && !
|
|
2043
|
-
|
|
2044
|
-
var
|
|
2045
|
-
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
2042
|
+
var a = k(t);
|
|
2043
|
+
Ye(r, e.props, "prop", a, e);
|
|
2044
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
2045
|
+
pe = !0;
|
|
2046
|
+
var f = k(t);
|
|
2047
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
2046
2048
|
}
|
|
2047
2049
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2048
2050
|
}
|
|
@@ -2050,9 +2052,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2050
2052
|
function it(e) {
|
|
2051
2053
|
{
|
|
2052
2054
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
2053
|
-
var
|
|
2054
|
-
if (
|
|
2055
|
-
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
2055
|
+
var a = t[r];
|
|
2056
|
+
if (a !== "children" && a !== "key") {
|
|
2057
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
|
|
2056
2058
|
break;
|
|
2057
2059
|
}
|
|
2058
2060
|
}
|
|
@@ -2060,24 +2062,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2060
2062
|
}
|
|
2061
2063
|
}
|
|
2062
2064
|
var Me = {};
|
|
2063
|
-
function $e(e, t, r,
|
|
2065
|
+
function $e(e, t, r, a, f, m) {
|
|
2064
2066
|
{
|
|
2065
2067
|
var l = W(e);
|
|
2066
2068
|
if (!l) {
|
|
2067
2069
|
var _ = "";
|
|
2068
2070
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2069
|
-
var
|
|
2070
|
-
|
|
2071
|
+
var P = at();
|
|
2072
|
+
P ? _ += P : _ += Pe();
|
|
2071
2073
|
var w;
|
|
2072
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (
|
|
2074
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
2073
2075
|
}
|
|
2074
|
-
var j = rt(e, t, r,
|
|
2076
|
+
var j = rt(e, t, r, f, m);
|
|
2075
2077
|
if (j == null)
|
|
2076
2078
|
return j;
|
|
2077
2079
|
if (l) {
|
|
2078
2080
|
var B = t.children;
|
|
2079
2081
|
if (B !== void 0)
|
|
2080
|
-
if (
|
|
2082
|
+
if (a)
|
|
2081
2083
|
if (de(B)) {
|
|
2082
2084
|
for (var V = 0; V < B.length; V++)
|
|
2083
2085
|
Ie(B[V], e);
|
|
@@ -2088,17 +2090,17 @@ Check the top-level render call using <` + r + ">.");
|
|
|
2088
2090
|
Ie(B, e);
|
|
2089
2091
|
}
|
|
2090
2092
|
if (X.call(t, "key")) {
|
|
2091
|
-
var
|
|
2093
|
+
var z = k(e), F = Object.keys(t).filter(function(dt) {
|
|
2092
2094
|
return dt !== "key";
|
|
2093
2095
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2094
|
-
if (!Me[
|
|
2096
|
+
if (!Me[z + ye]) {
|
|
2095
2097
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
2096
2098
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
2097
2099
|
let props = %s;
|
|
2098
2100
|
<%s {...props} />
|
|
2099
2101
|
React keys must be passed directly to JSX without using spread:
|
|
2100
2102
|
let props = %s;
|
|
2101
|
-
<%s key={someKey} {...props} />`, ye,
|
|
2103
|
+
<%s key={someKey} {...props} />`, ye, z, ut, z), Me[z + ye] = !0;
|
|
2102
2104
|
}
|
|
2103
2105
|
}
|
|
2104
2106
|
return e === u ? it(j) : ot(j), j;
|
|
@@ -2126,41 +2128,41 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
|
|
|
2126
2128
|
m: Ur,
|
|
2127
2129
|
l: Kr
|
|
2128
2130
|
}, qr = ({
|
|
2129
|
-
onClick:
|
|
2131
|
+
onClick: n,
|
|
2130
2132
|
onSend: i,
|
|
2131
2133
|
size: c = "m",
|
|
2132
2134
|
view: u = "confirm",
|
|
2133
2135
|
children: v,
|
|
2134
2136
|
isDisabled: C = !1,
|
|
2135
|
-
className:
|
|
2137
|
+
className: T,
|
|
2136
2138
|
after: x,
|
|
2137
2139
|
before: s,
|
|
2138
|
-
label:
|
|
2140
|
+
label: g,
|
|
2139
2141
|
onRef: o,
|
|
2140
2142
|
awaitText: d = "Ожидайте"
|
|
2141
2143
|
}) => {
|
|
2142
|
-
let [
|
|
2144
|
+
let [b, S] = U.useState(!1);
|
|
2143
2145
|
const N = ($) => {
|
|
2144
|
-
if (
|
|
2145
|
-
|
|
2146
|
+
if (n) return n();
|
|
2147
|
+
b || (i ? (S(!0), i(S)) : $.preventDefault());
|
|
2146
2148
|
};
|
|
2147
2149
|
let A = {};
|
|
2148
|
-
return (C ||
|
|
2150
|
+
return (C || b) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
2149
2151
|
"button",
|
|
2150
2152
|
{
|
|
2151
2153
|
...A,
|
|
2152
2154
|
ref: o,
|
|
2153
2155
|
className: [
|
|
2154
2156
|
wt.btn,
|
|
2155
|
-
|
|
2157
|
+
b ? wt.disabled : wt[u],
|
|
2156
2158
|
c && wt[c],
|
|
2157
|
-
|
|
2159
|
+
T
|
|
2158
2160
|
].filter(($) => $ != "").join(" "),
|
|
2159
2161
|
onClick: N,
|
|
2160
|
-
children:
|
|
2162
|
+
children: b ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
2161
2163
|
s || "",
|
|
2162
2164
|
" ",
|
|
2163
|
-
|
|
2165
|
+
g,
|
|
2164
2166
|
" ",
|
|
2165
2167
|
x || ""
|
|
2166
2168
|
] }) || v
|
|
@@ -2168,55 +2170,55 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
|
|
|
2168
2170
|
);
|
|
2169
2171
|
};
|
|
2170
2172
|
let Ae = {};
|
|
2171
|
-
function Yr({ children:
|
|
2172
|
-
return /* @__PURE__ */ J.jsx(J.Fragment, { children:
|
|
2173
|
+
function Yr({ children: n }) {
|
|
2174
|
+
return /* @__PURE__ */ J.jsx(J.Fragment, { children: n });
|
|
2173
2175
|
}
|
|
2174
2176
|
var xt;
|
|
2175
|
-
((
|
|
2177
|
+
((n) => {
|
|
2176
2178
|
function i({
|
|
2177
2179
|
import_modules: o
|
|
2178
2180
|
}) {
|
|
2179
|
-
let [d,
|
|
2181
|
+
let [d, b] = U.useState([]);
|
|
2180
2182
|
return Ae.x = (S) => {
|
|
2181
|
-
|
|
2182
|
-
},
|
|
2183
|
+
b(S ? d.filter((N) => N.key !== S) : []);
|
|
2184
|
+
}, Jt(() => {
|
|
2183
2185
|
o && (Ae.i = o);
|
|
2184
2186
|
}, []), Ae.add = (S, N = Date.now()) => {
|
|
2185
|
-
|
|
2187
|
+
b([...d, { key: N, item: S }]);
|
|
2186
2188
|
}, /* @__PURE__ */ J.jsx(J.Fragment, { children: d.map((S) => S.item) });
|
|
2187
2189
|
}
|
|
2188
|
-
|
|
2190
|
+
n.Init = i;
|
|
2189
2191
|
function c(o) {
|
|
2190
2192
|
return o && (Ae.i = o), Ae.i;
|
|
2191
2193
|
}
|
|
2192
|
-
|
|
2193
|
-
function u(o, d,
|
|
2194
|
+
n.Import = c, n.List = Or, n.Scroll = Tr, n.Form = Dr, n.Center = Pr, n.Column = Nr;
|
|
2195
|
+
function u(o, d, b) {
|
|
2194
2196
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2195
|
-
S.default.Open(
|
|
2196
|
-
}) :
|
|
2197
|
-
S.default.Open(
|
|
2197
|
+
S.default.Open(b);
|
|
2198
|
+
}) : Wt()(`${o}/modal/${d}.tsx`).then((S) => {
|
|
2199
|
+
S.default.Open(b);
|
|
2198
2200
|
});
|
|
2199
2201
|
}
|
|
2200
|
-
|
|
2201
|
-
function v({ type: o, name: d, params:
|
|
2202
|
-
let [S, N] =
|
|
2203
|
-
return
|
|
2202
|
+
n.Open = u;
|
|
2203
|
+
function v({ type: o, name: d, params: b }) {
|
|
2204
|
+
let [S, N] = U.useState(null);
|
|
2205
|
+
return U.useEffect(() => {
|
|
2204
2206
|
Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2205
|
-
N(A.default.Icon(
|
|
2206
|
-
}) :
|
|
2207
|
-
N(A.default.Icon(
|
|
2207
|
+
N(A.default.Icon(b));
|
|
2208
|
+
}) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
|
|
2209
|
+
N(A.default.Icon(b));
|
|
2208
2210
|
});
|
|
2209
|
-
}, [
|
|
2211
|
+
}, [b.id]), /* @__PURE__ */ J.jsx(J.Fragment, { children: S });
|
|
2210
2212
|
}
|
|
2211
|
-
|
|
2213
|
+
n.Icon = v;
|
|
2212
2214
|
function C(o, d) {
|
|
2213
2215
|
Ae.add(/* @__PURE__ */ J.jsx(Yr, { children: o }, String(Date.now())), d);
|
|
2214
2216
|
}
|
|
2215
|
-
|
|
2216
|
-
function
|
|
2217
|
+
n.Add = C;
|
|
2218
|
+
function T(o) {
|
|
2217
2219
|
Ae.x(o);
|
|
2218
2220
|
}
|
|
2219
|
-
|
|
2221
|
+
n.Close = T;
|
|
2220
2222
|
function x(o) {
|
|
2221
2223
|
if (o.target.classList[0] !== "modal") return;
|
|
2222
2224
|
let d = o.target.children[0];
|
|
@@ -2224,43 +2226,43 @@ var xt;
|
|
|
2224
2226
|
d.setAttribute("shake", !1);
|
|
2225
2227
|
}, 1e3);
|
|
2226
2228
|
}
|
|
2227
|
-
|
|
2229
|
+
n.Shake = x;
|
|
2228
2230
|
function s(o, d) {
|
|
2229
|
-
const
|
|
2230
|
-
|
|
2231
|
+
const b = (S) => {
|
|
2232
|
+
n.Add(
|
|
2231
2233
|
/* @__PURE__ */ J.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
|
|
2232
2234
|
);
|
|
2233
2235
|
};
|
|
2234
2236
|
return {
|
|
2235
|
-
Icon: (S) => /* @__PURE__ */ J.jsx("i", { onClick: () =>
|
|
2236
|
-
Open:
|
|
2237
|
+
Icon: (S) => /* @__PURE__ */ J.jsx("i", { onClick: () => b(S), children: d && /* @__PURE__ */ J.jsx(d, {}) }),
|
|
2238
|
+
Open: b
|
|
2237
2239
|
};
|
|
2238
2240
|
}
|
|
2239
|
-
|
|
2240
|
-
function
|
|
2241
|
+
n.Create = s;
|
|
2242
|
+
function g({
|
|
2241
2243
|
title: o,
|
|
2242
2244
|
children: d,
|
|
2243
|
-
button:
|
|
2245
|
+
button: b,
|
|
2244
2246
|
tabs: S,
|
|
2245
2247
|
size: N = "m",
|
|
2246
2248
|
className: A = "",
|
|
2247
2249
|
shake: $ = !0,
|
|
2248
|
-
menu:
|
|
2250
|
+
menu: O
|
|
2249
2251
|
}) {
|
|
2250
|
-
const [p,
|
|
2251
|
-
if (
|
|
2252
|
-
if (
|
|
2253
|
-
return
|
|
2254
|
-
if (
|
|
2255
|
-
return
|
|
2256
|
-
setOpen:
|
|
2257
|
-
disabled:
|
|
2252
|
+
const [p, M] = U.useState(!0), K = U.useRef(), G = (q) => {
|
|
2253
|
+
if (b) {
|
|
2254
|
+
if (b.onClick)
|
|
2255
|
+
return q(!1), b.onClick({ setOpen: M });
|
|
2256
|
+
if (b.onSend)
|
|
2257
|
+
return b.onSend({
|
|
2258
|
+
setOpen: M,
|
|
2259
|
+
disabled: q
|
|
2258
2260
|
});
|
|
2259
2261
|
}
|
|
2260
2262
|
}, L = () => {
|
|
2261
|
-
if (!$) return
|
|
2262
|
-
|
|
2263
|
-
|
|
2263
|
+
if (!$) return M(!1);
|
|
2264
|
+
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
2265
|
+
K.current.setAttribute("shake", !1);
|
|
2264
2266
|
}, 1e3);
|
|
2265
2267
|
};
|
|
2266
2268
|
return p ? /* @__PURE__ */ J.jsxs("div", { className: `${_e.modal}`, children: [
|
|
@@ -2268,29 +2270,29 @@ var xt;
|
|
|
2268
2270
|
/* @__PURE__ */ J.jsxs(
|
|
2269
2271
|
"div",
|
|
2270
2272
|
{
|
|
2271
|
-
className: [_e.w, _e[`s${N}`], A].filter((
|
|
2272
|
-
ref:
|
|
2273
|
+
className: [_e.w, _e[`s${N}`], A].filter((q) => q != "").join(" "),
|
|
2274
|
+
ref: K,
|
|
2273
2275
|
children: [
|
|
2274
2276
|
/* @__PURE__ */ J.jsxs("div", { className: _e.h, children: [
|
|
2275
2277
|
/* @__PURE__ */ J.jsx("div", { className: _e.t, children: o }),
|
|
2276
2278
|
/* @__PURE__ */ J.jsxs("div", { className: _e.m, children: [
|
|
2277
|
-
S && /* @__PURE__ */ J.jsx("nav", { children: S.map((
|
|
2279
|
+
S && /* @__PURE__ */ J.jsx("nav", { children: S.map((q, E) => /* @__PURE__ */ J.jsx(
|
|
2278
2280
|
"span",
|
|
2279
2281
|
{
|
|
2280
|
-
onClick:
|
|
2281
|
-
className:
|
|
2282
|
-
children:
|
|
2282
|
+
onClick: q.onClick,
|
|
2283
|
+
className: q.active ? "active" : "",
|
|
2284
|
+
children: q.name
|
|
2283
2285
|
},
|
|
2284
2286
|
E
|
|
2285
2287
|
)) }),
|
|
2286
|
-
|
|
2288
|
+
O
|
|
2287
2289
|
] }),
|
|
2288
2290
|
/* @__PURE__ */ J.jsx(
|
|
2289
2291
|
"div",
|
|
2290
2292
|
{
|
|
2291
2293
|
className: _e.x,
|
|
2292
2294
|
onClick: () => {
|
|
2293
|
-
|
|
2295
|
+
M(!1);
|
|
2294
2296
|
},
|
|
2295
2297
|
children: /* @__PURE__ */ J.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ J.jsx(
|
|
2296
2298
|
"path",
|
|
@@ -2306,13 +2308,13 @@ var xt;
|
|
|
2306
2308
|
)
|
|
2307
2309
|
] }),
|
|
2308
2310
|
d,
|
|
2309
|
-
|
|
2311
|
+
b && /* @__PURE__ */ J.jsx("div", { className: _e.b, children: /* @__PURE__ */ J.jsx(
|
|
2310
2312
|
qr,
|
|
2311
2313
|
{
|
|
2312
|
-
label:
|
|
2313
|
-
onSend:
|
|
2314
|
+
label: b.label,
|
|
2315
|
+
onSend: G,
|
|
2314
2316
|
className: _e.btn,
|
|
2315
|
-
size:
|
|
2317
|
+
size: b.size
|
|
2316
2318
|
}
|
|
2317
2319
|
) })
|
|
2318
2320
|
]
|
|
@@ -2320,49 +2322,49 @@ var xt;
|
|
|
2320
2322
|
)
|
|
2321
2323
|
] }) : "";
|
|
2322
2324
|
}
|
|
2323
|
-
|
|
2325
|
+
n.Main = g;
|
|
2324
2326
|
})(xt || (xt = {}));
|
|
2325
|
-
const Gr = (
|
|
2326
|
-
function
|
|
2327
|
-
value:
|
|
2327
|
+
const Gr = (n, i = ",") => (n = n !== void 0 && n !== "" ? n.split(i) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
|
|
2328
|
+
function ha({
|
|
2329
|
+
value: n,
|
|
2328
2330
|
onValue: i,
|
|
2329
2331
|
name: c,
|
|
2330
2332
|
placeholder: u = "",
|
|
2331
2333
|
separator: v = ",",
|
|
2332
2334
|
title: C,
|
|
2333
|
-
error:
|
|
2335
|
+
error: T,
|
|
2334
2336
|
hide: x = !1,
|
|
2335
2337
|
edit: s = !0,
|
|
2336
|
-
active:
|
|
2338
|
+
active: g = !0,
|
|
2337
2339
|
outFormat: o = "object",
|
|
2338
2340
|
after: d = "",
|
|
2339
|
-
modal:
|
|
2341
|
+
modal: b,
|
|
2340
2342
|
options: S,
|
|
2341
2343
|
className: N
|
|
2342
2344
|
}) {
|
|
2343
|
-
const [A, $] =
|
|
2344
|
-
if (!(s &&
|
|
2345
|
-
let
|
|
2346
|
-
xt.Open(
|
|
2347
|
-
callback: (
|
|
2345
|
+
const [A, $] = U.useState(Gr(n, v)), O = (p) => {
|
|
2346
|
+
if (!(s && g) || !b) return;
|
|
2347
|
+
let M = b.split(".");
|
|
2348
|
+
xt.Open(M[0], M[1], {
|
|
2349
|
+
callback: (K) => {
|
|
2348
2350
|
if (i)
|
|
2349
2351
|
switch (o) {
|
|
2350
2352
|
case "array":
|
|
2351
|
-
i({ value: Object.keys(
|
|
2353
|
+
i({ value: Object.keys(K), name: c });
|
|
2352
2354
|
break;
|
|
2353
2355
|
case "string":
|
|
2354
2356
|
i({
|
|
2355
|
-
value: Object.keys(
|
|
2357
|
+
value: Object.keys(K).filter((G) => K[G]).join(v),
|
|
2356
2358
|
name: c
|
|
2357
2359
|
});
|
|
2358
2360
|
break;
|
|
2359
2361
|
default:
|
|
2360
|
-
i({ value:
|
|
2362
|
+
i({ value: K, name: c });
|
|
2361
2363
|
}
|
|
2362
2364
|
$(
|
|
2363
2365
|
Object.fromEntries(
|
|
2364
|
-
Object.entries(
|
|
2365
|
-
([
|
|
2366
|
+
Object.entries(K).filter(
|
|
2367
|
+
([G, L]) => L !== !1
|
|
2366
2368
|
)
|
|
2367
2369
|
)
|
|
2368
2370
|
);
|
|
@@ -2372,156 +2374,126 @@ function ba({
|
|
|
2372
2374
|
name: c,
|
|
2373
2375
|
value: A
|
|
2374
2376
|
});
|
|
2375
|
-
}
|
|
2376
|
-
return
|
|
2377
|
-
|
|
2377
|
+
};
|
|
2378
|
+
return x ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
|
|
2379
|
+
Rt,
|
|
2378
2380
|
{
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
return /* @__PURE__ */ f.jsx("div", { children: (q = S[I]) == null ? void 0 : q.label }, I);
|
|
2393
|
-
})
|
|
2394
|
-
}
|
|
2395
|
-
),
|
|
2396
|
-
O && /* @__PURE__ */ f.jsx("em", { children: O })
|
|
2397
|
-
]
|
|
2381
|
+
type: "group",
|
|
2382
|
+
title: C,
|
|
2383
|
+
element_blok: { className: N },
|
|
2384
|
+
element_input: {
|
|
2385
|
+
className: [H.w],
|
|
2386
|
+
props: {
|
|
2387
|
+
onClick: O
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
children: Object.keys(A).map((p) => {
|
|
2391
|
+
var M;
|
|
2392
|
+
return /* @__PURE__ */ y.jsx("div", { children: (M = S[p]) == null ? void 0 : M.label }, p);
|
|
2393
|
+
})
|
|
2398
2394
|
}
|
|
2399
2395
|
);
|
|
2400
2396
|
}
|
|
2401
|
-
const zr = "_o_1wehm_12", Hr = "_l_1wehm_22", Jr = "
|
|
2397
|
+
const zr = "_o_1wehm_12", Hr = "_l_1wehm_22", Jr = "_f_1wehm_81", Nt = {
|
|
2402
2398
|
o: zr,
|
|
2403
2399
|
l: Hr,
|
|
2404
|
-
|
|
2405
|
-
f: Zr
|
|
2400
|
+
f: Jr
|
|
2406
2401
|
};
|
|
2407
|
-
function
|
|
2408
|
-
title:
|
|
2402
|
+
function ba({
|
|
2403
|
+
title: n,
|
|
2409
2404
|
error: i,
|
|
2410
2405
|
edit: c = !0,
|
|
2411
2406
|
active: u = !0,
|
|
2412
2407
|
hide: v,
|
|
2413
2408
|
value: C = 0,
|
|
2414
|
-
onValue:
|
|
2409
|
+
onValue: T,
|
|
2415
2410
|
options: x,
|
|
2416
2411
|
placeholder: s = "",
|
|
2417
|
-
className:
|
|
2412
|
+
className: g,
|
|
2418
2413
|
isIcon: o = !0,
|
|
2419
2414
|
name: d,
|
|
2420
|
-
after:
|
|
2415
|
+
after: b,
|
|
2421
2416
|
view: S,
|
|
2422
2417
|
order: N,
|
|
2423
2418
|
isReload: A = !1
|
|
2424
2419
|
}) {
|
|
2425
|
-
var
|
|
2426
|
-
const $ =
|
|
2427
|
-
|
|
2428
|
-
p(C),
|
|
2429
|
-
}, [C, x]), v = !!(v && (C === 0 || ((
|
|
2430
|
-
let E = (
|
|
2431
|
-
p(
|
|
2432
|
-
}
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
{
|
|
2439
|
-
|
|
2440
|
-
className: [
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2420
|
+
var D, W;
|
|
2421
|
+
const $ = U.useRef(null), [O, p] = U.useState(C), [M, K] = U.useState(x), [G, L] = U.useState(!1);
|
|
2422
|
+
U.useEffect(() => {
|
|
2423
|
+
p(C), K(x);
|
|
2424
|
+
}, [C, x]), v = !!(v && (C === 0 || ((D = M == null ? void 0 : M[C]) == null ? void 0 : D.n) === void 0)) && !(c && u);
|
|
2425
|
+
let E = (R) => {
|
|
2426
|
+
p(R), T && T({ value: R, name: d, reload: A });
|
|
2427
|
+
};
|
|
2428
|
+
return v ? "" : /* @__PURE__ */ y.jsxs(
|
|
2429
|
+
Rt,
|
|
2430
|
+
{
|
|
2431
|
+
type: "select",
|
|
2432
|
+
title: n,
|
|
2433
|
+
element_blok: { className: g },
|
|
2434
|
+
element_input: {
|
|
2435
|
+
className: [Nt.f],
|
|
2436
|
+
ref: $
|
|
2437
|
+
},
|
|
2438
|
+
children: [
|
|
2439
|
+
/* @__PURE__ */ y.jsx("div", { children: (W = M == null ? void 0 : M[O]) == null ? void 0 : W.n }),
|
|
2440
|
+
G && Mt(
|
|
2441
|
+
/* @__PURE__ */ y.jsx(
|
|
2442
|
+
Zr,
|
|
2445
2443
|
{
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2444
|
+
parent: $.position,
|
|
2445
|
+
onValue: E,
|
|
2446
|
+
view: S,
|
|
2447
|
+
className: g,
|
|
2448
|
+
options: M,
|
|
2449
|
+
order: N,
|
|
2450
|
+
setOpen: L
|
|
2451
|
+
},
|
|
2452
|
+
(/* @__PURE__ */ new Date()).getTime()
|
|
2451
2453
|
),
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
stroke: "currentColor",
|
|
2458
|
-
strokeLinecap: "round",
|
|
2459
|
-
strokeLinejoin: "round",
|
|
2460
|
-
strokeWidth: "1",
|
|
2461
|
-
viewBox: "0 0 24 24",
|
|
2462
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2463
|
-
children: /* @__PURE__ */ f.jsx("path", { d: "m5.25 8.625 6.75 6.75 6.75-6.75" })
|
|
2464
|
-
}
|
|
2465
|
-
),
|
|
2466
|
-
i && /* @__PURE__ */ f.jsx("em", { children: i })
|
|
2467
|
-
]
|
|
2468
|
-
}
|
|
2469
|
-
),
|
|
2470
|
-
Y && It(
|
|
2471
|
-
/* @__PURE__ */ f.jsx(
|
|
2472
|
-
Vr,
|
|
2473
|
-
{
|
|
2474
|
-
parent: $.position,
|
|
2475
|
-
onValue: E,
|
|
2476
|
-
view: S,
|
|
2477
|
-
className: h,
|
|
2478
|
-
options: I,
|
|
2479
|
-
order: N,
|
|
2480
|
-
setOpen: L
|
|
2481
|
-
},
|
|
2482
|
-
(/* @__PURE__ */ new Date()).getTime()
|
|
2483
|
-
),
|
|
2484
|
-
document.body
|
|
2485
|
-
)
|
|
2486
|
-
] });
|
|
2454
|
+
document.body
|
|
2455
|
+
)
|
|
2456
|
+
]
|
|
2457
|
+
}
|
|
2458
|
+
);
|
|
2487
2459
|
}
|
|
2488
|
-
const
|
|
2489
|
-
onValue:
|
|
2460
|
+
const Zr = ({
|
|
2461
|
+
onValue: n,
|
|
2490
2462
|
parent: i,
|
|
2491
2463
|
className: c,
|
|
2492
2464
|
options: u,
|
|
2493
2465
|
order: v,
|
|
2494
2466
|
setOpen: C
|
|
2495
2467
|
}) => {
|
|
2496
|
-
let
|
|
2468
|
+
let T = () => {
|
|
2497
2469
|
C(!1);
|
|
2498
2470
|
}, x = (o) => {
|
|
2499
|
-
C(!1),
|
|
2500
|
-
}, s = window.innerHeight - i.y + i.height < 320 ? i.y - 312 : i.y + 33,
|
|
2501
|
-
return /* @__PURE__ */
|
|
2502
|
-
/* @__PURE__ */
|
|
2471
|
+
C(!1), n(o);
|
|
2472
|
+
}, s = window.innerHeight - i.y + i.height < 320 ? i.y - 312 : i.y + 33, g = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
|
|
2473
|
+
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
2474
|
+
/* @__PURE__ */ y.jsx(
|
|
2503
2475
|
"div",
|
|
2504
2476
|
{
|
|
2505
|
-
className:
|
|
2506
|
-
onClick:
|
|
2477
|
+
className: Nt.o,
|
|
2478
|
+
onClick: T
|
|
2507
2479
|
},
|
|
2508
2480
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2509
2481
|
),
|
|
2510
|
-
/* @__PURE__ */
|
|
2482
|
+
/* @__PURE__ */ y.jsx(
|
|
2511
2483
|
"div",
|
|
2512
2484
|
{
|
|
2513
|
-
className: [
|
|
2485
|
+
className: [Nt.l, c].filter((o) => o !== void 0).join(" "),
|
|
2514
2486
|
style: {
|
|
2515
2487
|
top: s + "px",
|
|
2516
|
-
left:
|
|
2488
|
+
left: g + "px",
|
|
2517
2489
|
width: i.width
|
|
2518
2490
|
},
|
|
2519
|
-
children: /* @__PURE__ */
|
|
2491
|
+
children: /* @__PURE__ */ y.jsx(Vr, { order: v, options: u, link: x })
|
|
2520
2492
|
}
|
|
2521
2493
|
)
|
|
2522
2494
|
] });
|
|
2523
|
-
},
|
|
2524
|
-
(u, v) => i[u].s !== 0 ? /* @__PURE__ */
|
|
2495
|
+
}, Vr = ({ order: n, options: i, link: c }) => n ? /* @__PURE__ */ y.jsx("ul", { children: n.map(
|
|
2496
|
+
(u, v) => i[u].s !== 0 ? /* @__PURE__ */ y.jsx(
|
|
2525
2497
|
"li",
|
|
2526
2498
|
{
|
|
2527
2499
|
onClick: () => {
|
|
@@ -2531,8 +2503,8 @@ const Vr = ({
|
|
|
2531
2503
|
},
|
|
2532
2504
|
v
|
|
2533
2505
|
) : ""
|
|
2534
|
-
) }) : /* @__PURE__ */
|
|
2535
|
-
(u, v) => i[u].s !== 0 ? /* @__PURE__ */
|
|
2506
|
+
) }) : /* @__PURE__ */ y.jsx("ul", { children: Object.keys(i).map(
|
|
2507
|
+
(u, v) => i[u].s !== 0 ? /* @__PURE__ */ y.jsx(
|
|
2536
2508
|
"li",
|
|
2537
2509
|
{
|
|
2538
2510
|
onClick: () => {
|
|
@@ -2543,195 +2515,195 @@ const Vr = ({
|
|
|
2543
2515
|
v
|
|
2544
2516
|
) : ""
|
|
2545
2517
|
) });
|
|
2546
|
-
function
|
|
2547
|
-
value:
|
|
2518
|
+
function ka({
|
|
2519
|
+
value: n,
|
|
2548
2520
|
onValue: i,
|
|
2549
2521
|
name: c,
|
|
2550
2522
|
placeholder: u = "",
|
|
2551
2523
|
title: v,
|
|
2552
2524
|
error: C,
|
|
2553
|
-
hide:
|
|
2525
|
+
hide: T = !1,
|
|
2554
2526
|
edit: x = !0,
|
|
2555
2527
|
show: s = !0,
|
|
2556
|
-
active:
|
|
2528
|
+
active: g = !0,
|
|
2557
2529
|
after: o = "",
|
|
2558
2530
|
view: d,
|
|
2559
|
-
modal:
|
|
2531
|
+
modal: b,
|
|
2560
2532
|
module: S,
|
|
2561
2533
|
options: N,
|
|
2562
2534
|
className: A
|
|
2563
2535
|
}) {
|
|
2564
|
-
let [$,
|
|
2565
|
-
if (!(x &&
|
|
2566
|
-
let L =
|
|
2536
|
+
let [$, O] = U.useState(n), p = (G) => {
|
|
2537
|
+
if (!(x && g) || !b) return;
|
|
2538
|
+
let L = b.split(".");
|
|
2567
2539
|
xt.Open(L[0], L[1], {
|
|
2568
|
-
callback: (
|
|
2569
|
-
i && i({ value:
|
|
2540
|
+
callback: (q) => {
|
|
2541
|
+
i && i({ value: q, name: c }), O(q);
|
|
2570
2542
|
},
|
|
2571
2543
|
onValue: i,
|
|
2572
2544
|
options: N,
|
|
2573
2545
|
name: c,
|
|
2574
|
-
value:
|
|
2546
|
+
value: n
|
|
2575
2547
|
});
|
|
2576
2548
|
};
|
|
2577
|
-
const
|
|
2578
|
-
|
|
2579
|
-
const
|
|
2580
|
-
return u && (
|
|
2581
|
-
v && /* @__PURE__ */
|
|
2582
|
-
/* @__PURE__ */
|
|
2549
|
+
const M = {};
|
|
2550
|
+
M.field = "input", A && (M.className = A);
|
|
2551
|
+
const K = {};
|
|
2552
|
+
return u && (K.placeholder = u), T ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs("dl", { ...M, children: [
|
|
2553
|
+
v && /* @__PURE__ */ y.jsx("dt", { children: v }),
|
|
2554
|
+
/* @__PURE__ */ y.jsx(
|
|
2583
2555
|
"dd",
|
|
2584
2556
|
{
|
|
2585
|
-
...
|
|
2557
|
+
...K,
|
|
2586
2558
|
onClick: p,
|
|
2587
|
-
edit: (x &&
|
|
2559
|
+
edit: (x && g) + "",
|
|
2588
2560
|
"data-after": o,
|
|
2589
2561
|
children: $
|
|
2590
2562
|
}
|
|
2591
2563
|
),
|
|
2592
|
-
C && /* @__PURE__ */
|
|
2564
|
+
C && /* @__PURE__ */ y.jsx("em", { children: C })
|
|
2593
2565
|
] });
|
|
2594
2566
|
}
|
|
2595
|
-
function
|
|
2596
|
-
value:
|
|
2567
|
+
function wa({
|
|
2568
|
+
value: n,
|
|
2597
2569
|
onValue: i,
|
|
2598
2570
|
onSave: c,
|
|
2599
2571
|
name: u,
|
|
2600
2572
|
placeholder: v = "",
|
|
2601
2573
|
className: C,
|
|
2602
|
-
title:
|
|
2574
|
+
title: T,
|
|
2603
2575
|
error: x,
|
|
2604
2576
|
edit: s = !0,
|
|
2605
|
-
active:
|
|
2577
|
+
active: g = !0,
|
|
2606
2578
|
reload: o = !1,
|
|
2607
2579
|
native: d = !1,
|
|
2608
|
-
isShow:
|
|
2580
|
+
isShow: b = !1,
|
|
2609
2581
|
maxLength: S,
|
|
2610
2582
|
eyes: N = [],
|
|
2611
2583
|
after: A = ""
|
|
2612
2584
|
}) {
|
|
2613
|
-
const [$,
|
|
2585
|
+
const [$, O] = U.useState(b);
|
|
2614
2586
|
let p = (E) => {
|
|
2615
2587
|
i && i({
|
|
2616
2588
|
value: E.target.textContent,
|
|
2617
2589
|
name: u,
|
|
2618
2590
|
reload: o
|
|
2619
2591
|
});
|
|
2620
|
-
},
|
|
2592
|
+
}, M = (E) => {
|
|
2621
2593
|
E.key === "Enter" && E.preventDefault();
|
|
2622
|
-
},
|
|
2623
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
2594
|
+
}, K = (E) => {
|
|
2595
|
+
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
2624
2596
|
if (S) {
|
|
2625
2597
|
let W = E.target.textContent.length;
|
|
2626
2598
|
if (W >= S) return;
|
|
2627
|
-
S -= W,
|
|
2599
|
+
S -= W, D = D.slice(0, S);
|
|
2628
2600
|
}
|
|
2629
2601
|
window.document.execCommand(
|
|
2630
2602
|
"insertText",
|
|
2631
2603
|
!1,
|
|
2632
|
-
|
|
2604
|
+
D.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2633
2605
|
);
|
|
2634
|
-
}).catch((
|
|
2606
|
+
}).catch((D) => {
|
|
2635
2607
|
});
|
|
2636
|
-
},
|
|
2608
|
+
}, G = (E) => {
|
|
2637
2609
|
te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
|
|
2638
2610
|
};
|
|
2639
2611
|
const L = {};
|
|
2640
2612
|
L.field = "password", $ && (L.show = ""), C && (L.className = C);
|
|
2641
|
-
const
|
|
2642
|
-
return v && (
|
|
2643
|
-
|
|
2644
|
-
/* @__PURE__ */
|
|
2613
|
+
const q = {};
|
|
2614
|
+
return v && (q.placeholder = v), d ? "" : /* @__PURE__ */ y.jsxs("dl", { ...L, children: [
|
|
2615
|
+
T ? /* @__PURE__ */ y.jsx("dt", { children: T }) : "",
|
|
2616
|
+
/* @__PURE__ */ y.jsx(
|
|
2645
2617
|
"dd",
|
|
2646
2618
|
{
|
|
2647
|
-
onPaste:
|
|
2619
|
+
onPaste: K,
|
|
2648
2620
|
onInput: p,
|
|
2649
|
-
onKeyDown:
|
|
2650
|
-
onBlur:
|
|
2651
|
-
contentEditable: s &&
|
|
2652
|
-
...
|
|
2621
|
+
onKeyDown: M,
|
|
2622
|
+
onBlur: G,
|
|
2623
|
+
contentEditable: s && g ? te.ContentEditable : "false",
|
|
2624
|
+
...q,
|
|
2653
2625
|
suppressContentEditableWarning: !0,
|
|
2654
|
-
children:
|
|
2626
|
+
children: n
|
|
2655
2627
|
}
|
|
2656
2628
|
),
|
|
2657
|
-
N[0] && /* @__PURE__ */
|
|
2629
|
+
N[0] && /* @__PURE__ */ y.jsx("i", { onClick: () => O(!$), children: $ ? N[1] : N[0] }),
|
|
2658
2630
|
A,
|
|
2659
|
-
x ? /* @__PURE__ */
|
|
2631
|
+
x ? /* @__PURE__ */ y.jsx("em", { children: x }) : ""
|
|
2660
2632
|
] });
|
|
2661
2633
|
}
|
|
2662
|
-
function
|
|
2663
|
-
onValue:
|
|
2634
|
+
function ja({
|
|
2635
|
+
onValue: n,
|
|
2664
2636
|
onSave: i,
|
|
2665
2637
|
active: c,
|
|
2666
2638
|
max: u,
|
|
2667
2639
|
edit: v,
|
|
2668
2640
|
title: C,
|
|
2669
|
-
error:
|
|
2641
|
+
error: T,
|
|
2670
2642
|
show: x,
|
|
2671
2643
|
hide: s,
|
|
2672
|
-
value:
|
|
2644
|
+
value: g,
|
|
2673
2645
|
placeholder: o,
|
|
2674
2646
|
className: d,
|
|
2675
|
-
maxLength:
|
|
2647
|
+
maxLength: b,
|
|
2676
2648
|
name: S,
|
|
2677
2649
|
after: N = "",
|
|
2678
2650
|
before: A = "",
|
|
2679
2651
|
view: $
|
|
2680
2652
|
}) {
|
|
2681
|
-
v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (
|
|
2682
|
-
let p = !1,
|
|
2683
|
-
|
|
2684
|
-
},
|
|
2685
|
-
if (!(p &&
|
|
2686
|
-
if (
|
|
2687
|
-
|
|
2688
|
-
}
|
|
2689
|
-
},
|
|
2690
|
-
if (
|
|
2691
|
-
}, L = (
|
|
2692
|
-
|
|
2693
|
-
if (W = W.replace(/(?!^\+|\d)./g, ""),
|
|
2694
|
-
let R =
|
|
2695
|
-
if (R >=
|
|
2696
|
-
|
|
2653
|
+
v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (g === "" || g === void 0)) && !(v && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
|
|
2654
|
+
let p = !1, M = (D) => {
|
|
2655
|
+
n == null || n({ value: D.target.textContent, name: S });
|
|
2656
|
+
}, K = (D) => {
|
|
2657
|
+
if (!(p && D.which === 86)) {
|
|
2658
|
+
if (D.which === 17 || D.which === 91) return p = !0;
|
|
2659
|
+
D.key !== "Backspace" && (D.target.textContent.length === u && D.preventDefault(), D.key === "Enter" && D.preventDefault(), isNaN(D.key) && D.preventDefault());
|
|
2660
|
+
}
|
|
2661
|
+
}, G = (D) => {
|
|
2662
|
+
if (D.which === 17 || D.which === 91) return p = !1;
|
|
2663
|
+
}, L = (D) => {
|
|
2664
|
+
D.preventDefault(), navigator.clipboard.readText().then((W) => {
|
|
2665
|
+
if (W = W.replace(/(?!^\+|\d)./g, ""), b) {
|
|
2666
|
+
let R = D.target.textContent.length;
|
|
2667
|
+
if (R >= b) return;
|
|
2668
|
+
b -= R, W = W.slice(0, b);
|
|
2697
2669
|
}
|
|
2698
2670
|
window.document.execCommand("insertText", !1, "" + W);
|
|
2699
2671
|
}).catch((W) => {
|
|
2700
2672
|
});
|
|
2701
2673
|
};
|
|
2702
|
-
const
|
|
2703
|
-
te.Blur(
|
|
2674
|
+
const q = (D) => {
|
|
2675
|
+
te.Blur(D), i == null || i({ value: D.target.textContent, name: S });
|
|
2704
2676
|
};
|
|
2705
2677
|
let E = {};
|
|
2706
|
-
return v && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */
|
|
2678
|
+
return v && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(
|
|
2707
2679
|
"dl",
|
|
2708
2680
|
{
|
|
2709
2681
|
"data-field": "input",
|
|
2710
|
-
className: [
|
|
2682
|
+
className: [H.l, d].filter((D) => D !== void 0).join(" "),
|
|
2711
2683
|
children: [
|
|
2712
|
-
C ? /* @__PURE__ */
|
|
2684
|
+
C ? /* @__PURE__ */ y.jsx("dt", { className: H.t, children: C }) : "",
|
|
2713
2685
|
A,
|
|
2714
|
-
/* @__PURE__ */
|
|
2686
|
+
/* @__PURE__ */ y.jsx(
|
|
2715
2687
|
"dd",
|
|
2716
2688
|
{
|
|
2717
|
-
className: [
|
|
2689
|
+
className: [H.f, H.w].join(" "),
|
|
2718
2690
|
onPaste: L,
|
|
2719
|
-
onInput:
|
|
2720
|
-
onBlur:
|
|
2721
|
-
onKeyDown:
|
|
2722
|
-
onKeyUp:
|
|
2691
|
+
onInput: M,
|
|
2692
|
+
onBlur: q,
|
|
2693
|
+
onKeyDown: K,
|
|
2694
|
+
onKeyUp: G,
|
|
2723
2695
|
suppressContentEditableWarning: !0,
|
|
2724
2696
|
...E,
|
|
2725
|
-
children:
|
|
2697
|
+
children: g
|
|
2726
2698
|
}
|
|
2727
2699
|
),
|
|
2728
2700
|
N,
|
|
2729
|
-
|
|
2701
|
+
T && /* @__PURE__ */ y.jsx("em", { children: T })
|
|
2730
2702
|
]
|
|
2731
2703
|
}
|
|
2732
2704
|
);
|
|
2733
2705
|
}
|
|
2734
|
-
var
|
|
2706
|
+
var Ft = { exports: {} }, gt = {};
|
|
2735
2707
|
/**
|
|
2736
2708
|
* @license React
|
|
2737
2709
|
* react-jsx-runtime.production.min.js
|
|
@@ -2741,19 +2713,19 @@ var Nt = { exports: {} }, gt = {};
|
|
|
2741
2713
|
* This source code is licensed under the MIT license found in the
|
|
2742
2714
|
* LICENSE file in the root directory of this source tree.
|
|
2743
2715
|
*/
|
|
2744
|
-
var
|
|
2745
|
-
function
|
|
2746
|
-
if (
|
|
2747
|
-
|
|
2748
|
-
var
|
|
2749
|
-
function
|
|
2750
|
-
var o, d = {},
|
|
2751
|
-
|
|
2716
|
+
var qt;
|
|
2717
|
+
function Xr() {
|
|
2718
|
+
if (qt) return gt;
|
|
2719
|
+
qt = 1;
|
|
2720
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2721
|
+
function T(x, s, g) {
|
|
2722
|
+
var o, d = {}, b = null, S = null;
|
|
2723
|
+
g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
|
|
2752
2724
|
for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
|
|
2753
2725
|
if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
|
|
2754
|
-
return { $$typeof: i, type: x, key:
|
|
2726
|
+
return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
|
|
2755
2727
|
}
|
|
2756
|
-
return gt.Fragment = c, gt.jsx =
|
|
2728
|
+
return gt.Fragment = c, gt.jsx = T, gt.jsxs = T, gt;
|
|
2757
2729
|
}
|
|
2758
2730
|
var jt = {};
|
|
2759
2731
|
/**
|
|
@@ -2765,54 +2737,54 @@ var jt = {};
|
|
|
2765
2737
|
* This source code is licensed under the MIT license found in the
|
|
2766
2738
|
* LICENSE file in the root directory of this source tree.
|
|
2767
2739
|
*/
|
|
2768
|
-
var
|
|
2769
|
-
function
|
|
2770
|
-
return
|
|
2771
|
-
var
|
|
2740
|
+
var Yt;
|
|
2741
|
+
function Qr() {
|
|
2742
|
+
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2743
|
+
var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
|
|
2772
2744
|
function $(e) {
|
|
2773
2745
|
if (e === null || typeof e != "object")
|
|
2774
2746
|
return null;
|
|
2775
2747
|
var t = N && e[N] || e[A];
|
|
2776
2748
|
return typeof t == "function" ? t : null;
|
|
2777
2749
|
}
|
|
2778
|
-
var
|
|
2750
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2779
2751
|
function p(e) {
|
|
2780
2752
|
{
|
|
2781
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0),
|
|
2782
|
-
r[
|
|
2783
|
-
|
|
2753
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
2754
|
+
r[a - 1] = arguments[a];
|
|
2755
|
+
M("error", e, r);
|
|
2784
2756
|
}
|
|
2785
2757
|
}
|
|
2786
|
-
function
|
|
2758
|
+
function M(e, t, r) {
|
|
2787
2759
|
{
|
|
2788
|
-
var
|
|
2789
|
-
|
|
2790
|
-
var
|
|
2760
|
+
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
2761
|
+
f !== "" && (t += "%s", r = r.concat([f]));
|
|
2762
|
+
var m = r.map(function(l) {
|
|
2791
2763
|
return String(l);
|
|
2792
2764
|
});
|
|
2793
|
-
|
|
2765
|
+
m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
|
|
2794
2766
|
}
|
|
2795
2767
|
}
|
|
2796
|
-
var
|
|
2797
|
-
|
|
2768
|
+
var K = !1, G = !1, L = !1, q = !1, E = !1, D;
|
|
2769
|
+
D = Symbol.for("react.module.reference");
|
|
2798
2770
|
function W(e) {
|
|
2799
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e ===
|
|
2771
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
|
|
2800
2772
|
// types supported by any Flight configuration anywhere since
|
|
2801
2773
|
// we don't know which Flight build this will end up being used
|
|
2802
2774
|
// with.
|
|
2803
|
-
e.$$typeof ===
|
|
2775
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
2804
2776
|
}
|
|
2805
2777
|
function R(e, t, r) {
|
|
2806
|
-
var
|
|
2807
|
-
if (
|
|
2808
|
-
return
|
|
2809
|
-
var
|
|
2810
|
-
return
|
|
2778
|
+
var a = e.displayName;
|
|
2779
|
+
if (a)
|
|
2780
|
+
return a;
|
|
2781
|
+
var f = t.displayName || t.name || "";
|
|
2782
|
+
return f !== "" ? r + "(" + f + ")" : r;
|
|
2811
2783
|
}
|
|
2812
|
-
function
|
|
2784
|
+
function h(e) {
|
|
2813
2785
|
return e.displayName || "Context";
|
|
2814
2786
|
}
|
|
2815
|
-
function
|
|
2787
|
+
function k(e) {
|
|
2816
2788
|
if (e == null)
|
|
2817
2789
|
return null;
|
|
2818
2790
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -2828,7 +2800,7 @@ function ea() {
|
|
|
2828
2800
|
return "Profiler";
|
|
2829
2801
|
case v:
|
|
2830
2802
|
return "StrictMode";
|
|
2831
|
-
case
|
|
2803
|
+
case g:
|
|
2832
2804
|
return "Suspense";
|
|
2833
2805
|
case o:
|
|
2834
2806
|
return "SuspenseList";
|
|
@@ -2837,19 +2809,19 @@ function ea() {
|
|
|
2837
2809
|
switch (e.$$typeof) {
|
|
2838
2810
|
case x:
|
|
2839
2811
|
var t = e;
|
|
2840
|
-
return
|
|
2841
|
-
case
|
|
2812
|
+
return h(t) + ".Consumer";
|
|
2813
|
+
case T:
|
|
2842
2814
|
var r = e;
|
|
2843
|
-
return
|
|
2815
|
+
return h(r._context) + ".Provider";
|
|
2844
2816
|
case s:
|
|
2845
2817
|
return R(e, e.render, "ForwardRef");
|
|
2846
2818
|
case d:
|
|
2847
|
-
var
|
|
2848
|
-
return
|
|
2849
|
-
case
|
|
2850
|
-
var
|
|
2819
|
+
var a = e.displayName || null;
|
|
2820
|
+
return a !== null ? a : k(e.type) || "Memo";
|
|
2821
|
+
case b: {
|
|
2822
|
+
var f = e, m = f._payload, l = f._init;
|
|
2851
2823
|
try {
|
|
2852
|
-
return
|
|
2824
|
+
return k(l(m));
|
|
2853
2825
|
} catch {
|
|
2854
2826
|
return null;
|
|
2855
2827
|
}
|
|
@@ -2857,13 +2829,13 @@ function ea() {
|
|
|
2857
2829
|
}
|
|
2858
2830
|
return null;
|
|
2859
2831
|
}
|
|
2860
|
-
var
|
|
2832
|
+
var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
|
|
2861
2833
|
function we() {
|
|
2862
2834
|
}
|
|
2863
2835
|
we.__reactDisabledLog = !0;
|
|
2864
2836
|
function Le() {
|
|
2865
2837
|
{
|
|
2866
|
-
if (
|
|
2838
|
+
if (Y === 0) {
|
|
2867
2839
|
Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
|
|
2868
2840
|
var e = {
|
|
2869
2841
|
configurable: !0,
|
|
@@ -2881,53 +2853,53 @@ function ea() {
|
|
|
2881
2853
|
groupEnd: e
|
|
2882
2854
|
});
|
|
2883
2855
|
}
|
|
2884
|
-
|
|
2856
|
+
Y++;
|
|
2885
2857
|
}
|
|
2886
2858
|
}
|
|
2887
2859
|
function We() {
|
|
2888
2860
|
{
|
|
2889
|
-
if (
|
|
2861
|
+
if (Y--, Y === 0) {
|
|
2890
2862
|
var e = {
|
|
2891
2863
|
configurable: !0,
|
|
2892
2864
|
enumerable: !0,
|
|
2893
2865
|
writable: !0
|
|
2894
2866
|
};
|
|
2895
2867
|
Object.defineProperties(console, {
|
|
2896
|
-
log:
|
|
2868
|
+
log: I({}, e, {
|
|
2897
2869
|
value: Q
|
|
2898
2870
|
}),
|
|
2899
|
-
info:
|
|
2871
|
+
info: I({}, e, {
|
|
2900
2872
|
value: ie
|
|
2901
2873
|
}),
|
|
2902
|
-
warn:
|
|
2874
|
+
warn: I({}, e, {
|
|
2903
2875
|
value: se
|
|
2904
2876
|
}),
|
|
2905
|
-
error:
|
|
2877
|
+
error: I({}, e, {
|
|
2906
2878
|
value: ve
|
|
2907
2879
|
}),
|
|
2908
|
-
group:
|
|
2880
|
+
group: I({}, e, {
|
|
2909
2881
|
value: ge
|
|
2910
2882
|
}),
|
|
2911
|
-
groupCollapsed:
|
|
2883
|
+
groupCollapsed: I({}, e, {
|
|
2912
2884
|
value: be
|
|
2913
2885
|
}),
|
|
2914
|
-
groupEnd:
|
|
2886
|
+
groupEnd: I({}, e, {
|
|
2915
2887
|
value: ke
|
|
2916
2888
|
})
|
|
2917
2889
|
});
|
|
2918
2890
|
}
|
|
2919
|
-
|
|
2891
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2920
2892
|
}
|
|
2921
2893
|
}
|
|
2922
|
-
var le =
|
|
2894
|
+
var le = O.ReactCurrentDispatcher, ce;
|
|
2923
2895
|
function re(e, t, r) {
|
|
2924
2896
|
{
|
|
2925
2897
|
if (ce === void 0)
|
|
2926
2898
|
try {
|
|
2927
2899
|
throw Error();
|
|
2928
|
-
} catch (
|
|
2929
|
-
var
|
|
2930
|
-
ce =
|
|
2900
|
+
} catch (f) {
|
|
2901
|
+
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
2902
|
+
ce = a && a[1] || "";
|
|
2931
2903
|
}
|
|
2932
2904
|
return `
|
|
2933
2905
|
` + ce + e;
|
|
@@ -2946,12 +2918,12 @@ function ea() {
|
|
|
2946
2918
|
if (r !== void 0)
|
|
2947
2919
|
return r;
|
|
2948
2920
|
}
|
|
2949
|
-
var
|
|
2921
|
+
var a;
|
|
2950
2922
|
ue = !0;
|
|
2951
|
-
var
|
|
2923
|
+
var f = Error.prepareStackTrace;
|
|
2952
2924
|
Error.prepareStackTrace = void 0;
|
|
2953
|
-
var
|
|
2954
|
-
|
|
2925
|
+
var m;
|
|
2926
|
+
m = le.current, le.current = null, Le();
|
|
2955
2927
|
try {
|
|
2956
2928
|
if (t) {
|
|
2957
2929
|
var l = function() {
|
|
@@ -2965,14 +2937,14 @@ function ea() {
|
|
|
2965
2937
|
try {
|
|
2966
2938
|
Reflect.construct(l, []);
|
|
2967
2939
|
} catch (F) {
|
|
2968
|
-
|
|
2940
|
+
a = F;
|
|
2969
2941
|
}
|
|
2970
2942
|
Reflect.construct(e, [], l);
|
|
2971
2943
|
} else {
|
|
2972
2944
|
try {
|
|
2973
2945
|
l.call();
|
|
2974
2946
|
} catch (F) {
|
|
2975
|
-
|
|
2947
|
+
a = F;
|
|
2976
2948
|
}
|
|
2977
2949
|
e.call(l.prototype);
|
|
2978
2950
|
}
|
|
@@ -2980,21 +2952,21 @@ function ea() {
|
|
|
2980
2952
|
try {
|
|
2981
2953
|
throw Error();
|
|
2982
2954
|
} catch (F) {
|
|
2983
|
-
|
|
2955
|
+
a = F;
|
|
2984
2956
|
}
|
|
2985
2957
|
e();
|
|
2986
2958
|
}
|
|
2987
2959
|
} catch (F) {
|
|
2988
|
-
if (F &&
|
|
2960
|
+
if (F && a && typeof F.stack == "string") {
|
|
2989
2961
|
for (var _ = F.stack.split(`
|
|
2990
|
-
`),
|
|
2991
|
-
`), w = _.length - 1, j =
|
|
2962
|
+
`), P = a.stack.split(`
|
|
2963
|
+
`), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
|
|
2992
2964
|
j--;
|
|
2993
2965
|
for (; w >= 1 && j >= 0; w--, j--)
|
|
2994
|
-
if (_[w] !==
|
|
2966
|
+
if (_[w] !== P[j]) {
|
|
2995
2967
|
if (w !== 1 || j !== 1)
|
|
2996
2968
|
do
|
|
2997
|
-
if (w--, j--, j < 0 || _[w] !==
|
|
2969
|
+
if (w--, j--, j < 0 || _[w] !== P[j]) {
|
|
2998
2970
|
var B = `
|
|
2999
2971
|
` + _[w].replace(" at new ", " at ");
|
|
3000
2972
|
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
|
|
@@ -3004,10 +2976,10 @@ function ea() {
|
|
|
3004
2976
|
}
|
|
3005
2977
|
}
|
|
3006
2978
|
} finally {
|
|
3007
|
-
ue = !1, le.current =
|
|
2979
|
+
ue = !1, le.current = m, We(), Error.prepareStackTrace = f;
|
|
3008
2980
|
}
|
|
3009
|
-
var V = e ? e.displayName || e.name : "",
|
|
3010
|
-
return typeof e == "function" && ae.set(e,
|
|
2981
|
+
var V = e ? e.displayName || e.name : "", z = V ? re(V) : "";
|
|
2982
|
+
return typeof e == "function" && ae.set(e, z), z;
|
|
3011
2983
|
}
|
|
3012
2984
|
function Ke(e, t, r) {
|
|
3013
2985
|
return je(e, !1);
|
|
@@ -3024,7 +2996,7 @@ function ea() {
|
|
|
3024
2996
|
if (typeof e == "string")
|
|
3025
2997
|
return re(e);
|
|
3026
2998
|
switch (e) {
|
|
3027
|
-
case
|
|
2999
|
+
case g:
|
|
3028
3000
|
return re("Suspense");
|
|
3029
3001
|
case o:
|
|
3030
3002
|
return re("SuspenseList");
|
|
@@ -3035,17 +3007,17 @@ function ea() {
|
|
|
3035
3007
|
return Ke(e.render);
|
|
3036
3008
|
case d:
|
|
3037
3009
|
return ne(e.type, t, r);
|
|
3038
|
-
case
|
|
3039
|
-
var
|
|
3010
|
+
case b: {
|
|
3011
|
+
var a = e, f = a._payload, m = a._init;
|
|
3040
3012
|
try {
|
|
3041
|
-
return ne(
|
|
3013
|
+
return ne(m(f), t, r);
|
|
3042
3014
|
} catch {
|
|
3043
3015
|
}
|
|
3044
3016
|
}
|
|
3045
3017
|
}
|
|
3046
3018
|
return "";
|
|
3047
3019
|
}
|
|
3048
|
-
var X = Object.prototype.hasOwnProperty, xe = {}, Ce =
|
|
3020
|
+
var X = Object.prototype.hasOwnProperty, xe = {}, Ce = O.ReactDebugCurrentFrame;
|
|
3049
3021
|
function oe(e) {
|
|
3050
3022
|
if (e) {
|
|
3051
3023
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -3053,22 +3025,22 @@ function ea() {
|
|
|
3053
3025
|
} else
|
|
3054
3026
|
Ce.setExtraStackFrame(null);
|
|
3055
3027
|
}
|
|
3056
|
-
function Ye(e, t, r,
|
|
3028
|
+
function Ye(e, t, r, a, f) {
|
|
3057
3029
|
{
|
|
3058
|
-
var
|
|
3030
|
+
var m = Function.call.bind(X);
|
|
3059
3031
|
for (var l in e)
|
|
3060
|
-
if (
|
|
3032
|
+
if (m(e, l)) {
|
|
3061
3033
|
var _ = void 0;
|
|
3062
3034
|
try {
|
|
3063
3035
|
if (typeof e[l] != "function") {
|
|
3064
|
-
var
|
|
3065
|
-
throw
|
|
3036
|
+
var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3037
|
+
throw P.name = "Invariant Violation", P;
|
|
3066
3038
|
}
|
|
3067
|
-
_ = e[l](t, l,
|
|
3039
|
+
_ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3068
3040
|
} catch (w) {
|
|
3069
3041
|
_ = w;
|
|
3070
3042
|
}
|
|
3071
|
-
_ && !(_ instanceof Error) && (oe(
|
|
3043
|
+
_ && !(_ instanceof Error) && (oe(f), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
|
|
3072
3044
|
}
|
|
3073
3045
|
}
|
|
3074
3046
|
}
|
|
@@ -3096,7 +3068,7 @@ function ea() {
|
|
|
3096
3068
|
if (He(e))
|
|
3097
3069
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), Se(e);
|
|
3098
3070
|
}
|
|
3099
|
-
var Ee =
|
|
3071
|
+
var Ee = O.ReactCurrentOwner, Je = {
|
|
3100
3072
|
key: !0,
|
|
3101
3073
|
ref: !0,
|
|
3102
3074
|
__self: !0,
|
|
@@ -3143,7 +3115,7 @@ function ea() {
|
|
|
3143
3115
|
});
|
|
3144
3116
|
}
|
|
3145
3117
|
}
|
|
3146
|
-
var tt = function(e, t, r,
|
|
3118
|
+
var tt = function(e, t, r, a, f, m, l) {
|
|
3147
3119
|
var _ = {
|
|
3148
3120
|
// This tag allows us to uniquely identify this as a React Element
|
|
3149
3121
|
$$typeof: i,
|
|
@@ -3153,7 +3125,7 @@ function ea() {
|
|
|
3153
3125
|
ref: r,
|
|
3154
3126
|
props: l,
|
|
3155
3127
|
// Record the component responsible for creating this element.
|
|
3156
|
-
_owner:
|
|
3128
|
+
_owner: m
|
|
3157
3129
|
};
|
|
3158
3130
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
3159
3131
|
configurable: !1,
|
|
@@ -3164,33 +3136,33 @@ function ea() {
|
|
|
3164
3136
|
configurable: !1,
|
|
3165
3137
|
enumerable: !1,
|
|
3166
3138
|
writable: !1,
|
|
3167
|
-
value:
|
|
3139
|
+
value: a
|
|
3168
3140
|
}), Object.defineProperty(_, "_source", {
|
|
3169
3141
|
configurable: !1,
|
|
3170
3142
|
enumerable: !1,
|
|
3171
3143
|
writable: !1,
|
|
3172
|
-
value:
|
|
3144
|
+
value: f
|
|
3173
3145
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
3174
3146
|
};
|
|
3175
|
-
function rt(e, t, r,
|
|
3147
|
+
function rt(e, t, r, a, f) {
|
|
3176
3148
|
{
|
|
3177
|
-
var
|
|
3178
|
-
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (
|
|
3179
|
-
for (
|
|
3180
|
-
X.call(t,
|
|
3149
|
+
var m, l = {}, _ = null, P = null;
|
|
3150
|
+
r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
|
|
3151
|
+
for (m in t)
|
|
3152
|
+
X.call(t, m) && !Je.hasOwnProperty(m) && (l[m] = t[m]);
|
|
3181
3153
|
if (e && e.defaultProps) {
|
|
3182
3154
|
var w = e.defaultProps;
|
|
3183
|
-
for (
|
|
3184
|
-
l[
|
|
3155
|
+
for (m in w)
|
|
3156
|
+
l[m] === void 0 && (l[m] = w[m]);
|
|
3185
3157
|
}
|
|
3186
|
-
if (_ ||
|
|
3158
|
+
if (_ || P) {
|
|
3187
3159
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3188
|
-
_ && Qe(l, j),
|
|
3160
|
+
_ && Qe(l, j), P && et(l, j);
|
|
3189
3161
|
}
|
|
3190
|
-
return tt(e, _,
|
|
3162
|
+
return tt(e, _, P, f, a, Ee.current, l);
|
|
3191
3163
|
}
|
|
3192
3164
|
}
|
|
3193
|
-
var fe =
|
|
3165
|
+
var fe = O.ReactCurrentOwner, De = O.ReactDebugCurrentFrame;
|
|
3194
3166
|
function Z(e) {
|
|
3195
3167
|
if (e) {
|
|
3196
3168
|
var t = e._owner, r = ne(e.type, e._source, t ? t.type : null);
|
|
@@ -3198,15 +3170,15 @@ function ea() {
|
|
|
3198
3170
|
} else
|
|
3199
3171
|
De.setExtraStackFrame(null);
|
|
3200
3172
|
}
|
|
3201
|
-
var
|
|
3202
|
-
|
|
3203
|
-
function
|
|
3173
|
+
var pe;
|
|
3174
|
+
pe = !1;
|
|
3175
|
+
function me(e) {
|
|
3204
3176
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
3205
3177
|
}
|
|
3206
3178
|
function Pe() {
|
|
3207
3179
|
{
|
|
3208
3180
|
if (fe.current) {
|
|
3209
|
-
var e =
|
|
3181
|
+
var e = k(fe.current.type);
|
|
3210
3182
|
if (e)
|
|
3211
3183
|
return `
|
|
3212
3184
|
|
|
@@ -3240,8 +3212,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3240
3212
|
if (Ne[r])
|
|
3241
3213
|
return;
|
|
3242
3214
|
Ne[r] = !0;
|
|
3243
|
-
var
|
|
3244
|
-
e && e._owner && e._owner !== fe.current && (
|
|
3215
|
+
var a = "";
|
|
3216
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Z(null);
|
|
3245
3217
|
}
|
|
3246
3218
|
}
|
|
3247
3219
|
function Ie(e, t) {
|
|
@@ -3250,16 +3222,16 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3250
3222
|
return;
|
|
3251
3223
|
if (de(e))
|
|
3252
3224
|
for (var r = 0; r < e.length; r++) {
|
|
3253
|
-
var
|
|
3254
|
-
|
|
3225
|
+
var a = e[r];
|
|
3226
|
+
me(a) && Fe(a, t);
|
|
3255
3227
|
}
|
|
3256
|
-
else if (
|
|
3228
|
+
else if (me(e))
|
|
3257
3229
|
e._store && (e._store.validated = !0);
|
|
3258
3230
|
else if (e) {
|
|
3259
|
-
var
|
|
3260
|
-
if (typeof
|
|
3261
|
-
for (var
|
|
3262
|
-
|
|
3231
|
+
var f = $(e);
|
|
3232
|
+
if (typeof f == "function" && f !== e.entries)
|
|
3233
|
+
for (var m = f.call(e), l; !(l = m.next()).done; )
|
|
3234
|
+
me(l.value) && Fe(l.value, t);
|
|
3263
3235
|
}
|
|
3264
3236
|
}
|
|
3265
3237
|
}
|
|
@@ -3278,12 +3250,12 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3278
3250
|
else
|
|
3279
3251
|
return;
|
|
3280
3252
|
if (r) {
|
|
3281
|
-
var
|
|
3282
|
-
Ye(r, e.props, "prop",
|
|
3283
|
-
} else if (t.PropTypes !== void 0 && !
|
|
3284
|
-
|
|
3285
|
-
var
|
|
3286
|
-
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
3253
|
+
var a = k(t);
|
|
3254
|
+
Ye(r, e.props, "prop", a, e);
|
|
3255
|
+
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3256
|
+
pe = !0;
|
|
3257
|
+
var f = k(t);
|
|
3258
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
3287
3259
|
}
|
|
3288
3260
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3289
3261
|
}
|
|
@@ -3291,9 +3263,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3291
3263
|
function it(e) {
|
|
3292
3264
|
{
|
|
3293
3265
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3294
|
-
var
|
|
3295
|
-
if (
|
|
3296
|
-
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
3266
|
+
var a = t[r];
|
|
3267
|
+
if (a !== "children" && a !== "key") {
|
|
3268
|
+
Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
|
|
3297
3269
|
break;
|
|
3298
3270
|
}
|
|
3299
3271
|
}
|
|
@@ -3301,24 +3273,24 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3301
3273
|
}
|
|
3302
3274
|
}
|
|
3303
3275
|
var Me = {};
|
|
3304
|
-
function $e(e, t, r,
|
|
3276
|
+
function $e(e, t, r, a, f, m) {
|
|
3305
3277
|
{
|
|
3306
3278
|
var l = W(e);
|
|
3307
3279
|
if (!l) {
|
|
3308
3280
|
var _ = "";
|
|
3309
3281
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3310
|
-
var
|
|
3311
|
-
|
|
3282
|
+
var P = at();
|
|
3283
|
+
P ? _ += P : _ += Pe();
|
|
3312
3284
|
var w;
|
|
3313
|
-
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (
|
|
3285
|
+
e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, _);
|
|
3314
3286
|
}
|
|
3315
|
-
var j = rt(e, t, r,
|
|
3287
|
+
var j = rt(e, t, r, f, m);
|
|
3316
3288
|
if (j == null)
|
|
3317
3289
|
return j;
|
|
3318
3290
|
if (l) {
|
|
3319
3291
|
var B = t.children;
|
|
3320
3292
|
if (B !== void 0)
|
|
3321
|
-
if (
|
|
3293
|
+
if (a)
|
|
3322
3294
|
if (de(B)) {
|
|
3323
3295
|
for (var V = 0; V < B.length; V++)
|
|
3324
3296
|
Ie(B[V], e);
|
|
@@ -3329,17 +3301,17 @@ Check the top-level render call using <` + r + ">.");
|
|
|
3329
3301
|
Ie(B, e);
|
|
3330
3302
|
}
|
|
3331
3303
|
if (X.call(t, "key")) {
|
|
3332
|
-
var
|
|
3304
|
+
var z = k(e), F = Object.keys(t).filter(function(dt) {
|
|
3333
3305
|
return dt !== "key";
|
|
3334
3306
|
}), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3335
|
-
if (!Me[
|
|
3307
|
+
if (!Me[z + ye]) {
|
|
3336
3308
|
var ut = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
3337
3309
|
p(`A props object containing a "key" prop is being spread into JSX:
|
|
3338
3310
|
let props = %s;
|
|
3339
3311
|
<%s {...props} />
|
|
3340
3312
|
React keys must be passed directly to JSX without using spread:
|
|
3341
3313
|
let props = %s;
|
|
3342
|
-
<%s key={someKey} {...props} />`, ye,
|
|
3314
|
+
<%s key={someKey} {...props} />`, ye, z, ut, z), Me[z + ye] = !0;
|
|
3343
3315
|
}
|
|
3344
3316
|
}
|
|
3345
3317
|
return e === u ? it(j) : ot(j), j;
|
|
@@ -3355,29 +3327,29 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3355
3327
|
jt.Fragment = u, jt.jsx = lt, jt.jsxs = ct;
|
|
3356
3328
|
}()), jt;
|
|
3357
3329
|
}
|
|
3358
|
-
process.env.NODE_ENV === "production" ?
|
|
3359
|
-
var ee =
|
|
3360
|
-
const
|
|
3361
|
-
notice:
|
|
3362
|
-
error:
|
|
3363
|
-
success:
|
|
3364
|
-
remark:
|
|
3365
|
-
copy:
|
|
3330
|
+
process.env.NODE_ENV === "production" ? Ft.exports = Xr() : Ft.exports = Qr();
|
|
3331
|
+
var ee = Ft.exports;
|
|
3332
|
+
const ea = "_notice_13j98_2", ta = "_error_13j98_11", ra = "_success_13j98_14", aa = "_remark_13j98_17", na = "_copy_13j98_20", Ht = {
|
|
3333
|
+
notice: ea,
|
|
3334
|
+
error: ta,
|
|
3335
|
+
success: ra,
|
|
3336
|
+
remark: aa,
|
|
3337
|
+
copy: na,
|
|
3366
3338
|
"show-notice": "_show-notice_13j98_1",
|
|
3367
3339
|
"hide-notice": "_hide-notice_13j98_1"
|
|
3368
3340
|
};
|
|
3369
3341
|
let Be = {};
|
|
3370
|
-
function ht({ data:
|
|
3371
|
-
let [i, c] =
|
|
3372
|
-
|
|
3373
|
-
|
|
3342
|
+
function ht({ data: n }) {
|
|
3343
|
+
let [i, c] = U.useState("show");
|
|
3344
|
+
U.useEffect(() => {
|
|
3345
|
+
n.hide && (setTimeout(function() {
|
|
3374
3346
|
c("hide");
|
|
3375
3347
|
}, 1800), setTimeout(function() {
|
|
3376
|
-
Be.del(
|
|
3348
|
+
Be.del(n.key);
|
|
3377
3349
|
}, 2500));
|
|
3378
|
-
}, [
|
|
3350
|
+
}, [n.key]);
|
|
3379
3351
|
let u, v;
|
|
3380
|
-
switch (
|
|
3352
|
+
switch (n.type) {
|
|
3381
3353
|
case "error":
|
|
3382
3354
|
u = /* @__PURE__ */ ee.jsx(ft.error, {}), v = "Ошибка:";
|
|
3383
3355
|
break;
|
|
@@ -3394,21 +3366,21 @@ function ht({ data: a }) {
|
|
|
3394
3366
|
u = /* @__PURE__ */ ee.jsx(ft.success, {}), v = "Предупреждение:";
|
|
3395
3367
|
break;
|
|
3396
3368
|
}
|
|
3397
|
-
return /* @__PURE__ */ ee.jsxs("li", { className:
|
|
3369
|
+
return /* @__PURE__ */ ee.jsxs("li", { className: Ht[n.type], "data-status": i, children: [
|
|
3398
3370
|
u,
|
|
3399
3371
|
/* @__PURE__ */ ee.jsx("b", { children: v }),
|
|
3400
|
-
/* @__PURE__ */ ee.jsx("p", { children:
|
|
3372
|
+
/* @__PURE__ */ ee.jsx("p", { children: n.text })
|
|
3401
3373
|
] });
|
|
3402
3374
|
}
|
|
3403
|
-
function
|
|
3404
|
-
let [i, c] =
|
|
3405
|
-
return
|
|
3406
|
-
|
|
3375
|
+
function oa({ data: n }) {
|
|
3376
|
+
let [i, c] = U.useState("show");
|
|
3377
|
+
return U.useEffect(() => {
|
|
3378
|
+
n.hide && (setTimeout(function() {
|
|
3407
3379
|
c("hide");
|
|
3408
3380
|
}, 1800), setTimeout(function() {
|
|
3409
|
-
Be.del(
|
|
3381
|
+
Be.del(n.key);
|
|
3410
3382
|
}, 2500));
|
|
3411
|
-
}, [
|
|
3383
|
+
}, [n.key]), /* @__PURE__ */ ee.jsx("li", { className: "item", "data-status": i, children: n.text });
|
|
3412
3384
|
}
|
|
3413
3385
|
const ft = {};
|
|
3414
3386
|
ft.error = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -3443,217 +3415,217 @@ ft.success = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill:
|
|
|
3443
3415
|
}
|
|
3444
3416
|
)
|
|
3445
3417
|
] });
|
|
3446
|
-
var
|
|
3447
|
-
((
|
|
3418
|
+
var Ct;
|
|
3419
|
+
((n) => {
|
|
3448
3420
|
function i() {
|
|
3449
|
-
let [s,
|
|
3421
|
+
let [s, g] = U.useState([]);
|
|
3450
3422
|
return Be.set = (o) => {
|
|
3451
|
-
|
|
3423
|
+
g([...s, o]);
|
|
3452
3424
|
}, Be.del = (o) => {
|
|
3453
|
-
|
|
3454
|
-
}, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className:
|
|
3425
|
+
g(s.filter((d) => d.key !== o));
|
|
3426
|
+
}, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: Ht.notice, children: s.map((o) => o.item) });
|
|
3455
3427
|
}
|
|
3456
|
-
|
|
3457
|
-
function c(s,
|
|
3458
|
-
let o = Date.now(), d = { key: o, text: s, hide:
|
|
3428
|
+
n.Init = i;
|
|
3429
|
+
function c(s, g = !0) {
|
|
3430
|
+
let o = Date.now(), d = { key: o, text: s, hide: g, type: "error" };
|
|
3459
3431
|
Be.set({
|
|
3460
3432
|
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3461
3433
|
key: o
|
|
3462
3434
|
});
|
|
3463
3435
|
}
|
|
3464
|
-
|
|
3465
|
-
function u(s,
|
|
3466
|
-
let o = Date.now(), d = { key: o, text: s, hide:
|
|
3436
|
+
n.Error = c;
|
|
3437
|
+
function u(s, g = !0) {
|
|
3438
|
+
let o = Date.now(), d = { key: o, text: s, hide: g, type: "success" };
|
|
3467
3439
|
Be.set({
|
|
3468
3440
|
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3469
3441
|
key: o
|
|
3470
3442
|
});
|
|
3471
3443
|
}
|
|
3472
|
-
|
|
3473
|
-
function v(s,
|
|
3474
|
-
let o = Date.now(), d = { key: o, hide:
|
|
3475
|
-
Be.set({ item: /* @__PURE__ */ ee.jsx(
|
|
3444
|
+
n.Success = u;
|
|
3445
|
+
function v(s, g = !0) {
|
|
3446
|
+
let o = Date.now(), d = { key: o, hide: g, text: s };
|
|
3447
|
+
Be.set({ item: /* @__PURE__ */ ee.jsx(oa, { data: d }, o), key: o });
|
|
3476
3448
|
}
|
|
3477
|
-
|
|
3449
|
+
n.Custom = v;
|
|
3478
3450
|
function C(s) {
|
|
3479
|
-
let
|
|
3451
|
+
let g = Date.now(), o = { key: g, hide: !0, ...s };
|
|
3480
3452
|
Be.set({
|
|
3481
|
-
item: /* @__PURE__ */ ee.jsx(ht, { data: o },
|
|
3482
|
-
key:
|
|
3453
|
+
item: /* @__PURE__ */ ee.jsx(ht, { data: o }, g),
|
|
3454
|
+
key: g
|
|
3483
3455
|
});
|
|
3484
3456
|
}
|
|
3485
|
-
|
|
3486
|
-
function
|
|
3487
|
-
let o = Date.now(), d = { key: o, text: s, hide:
|
|
3457
|
+
n.Send = C;
|
|
3458
|
+
function T(s, g = !0) {
|
|
3459
|
+
let o = Date.now(), d = { key: o, text: s, hide: g, type: "remark" };
|
|
3488
3460
|
Be.set({
|
|
3489
3461
|
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3490
3462
|
key: o
|
|
3491
3463
|
});
|
|
3492
3464
|
}
|
|
3493
|
-
|
|
3494
|
-
function x(s,
|
|
3495
|
-
let o = Date.now(), d = { key: o, text: s, hide:
|
|
3465
|
+
n.Remark = T;
|
|
3466
|
+
function x(s, g = !0) {
|
|
3467
|
+
let o = Date.now(), d = { key: o, text: s, hide: g, type: "copy" };
|
|
3496
3468
|
Be.set({
|
|
3497
3469
|
item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
|
|
3498
3470
|
key: o
|
|
3499
3471
|
});
|
|
3500
3472
|
}
|
|
3501
|
-
|
|
3502
|
-
})(
|
|
3503
|
-
function
|
|
3504
|
-
value:
|
|
3473
|
+
n.Copy = x;
|
|
3474
|
+
})(Ct || (Ct = {}));
|
|
3475
|
+
function xa({
|
|
3476
|
+
value: n = "",
|
|
3505
3477
|
onValue: i,
|
|
3506
3478
|
onSave: c,
|
|
3507
3479
|
name: u,
|
|
3508
3480
|
format: v = "+_(___) ___-__-__",
|
|
3509
3481
|
placeholder: C = "",
|
|
3510
|
-
title:
|
|
3482
|
+
title: T = "",
|
|
3511
3483
|
error: x = "",
|
|
3512
3484
|
hide: s = !1,
|
|
3513
|
-
edit:
|
|
3485
|
+
edit: g = !0,
|
|
3514
3486
|
active: o = !0,
|
|
3515
3487
|
after: d = "",
|
|
3516
|
-
show:
|
|
3488
|
+
show: b = !0,
|
|
3517
3489
|
view: S,
|
|
3518
3490
|
className: N = ""
|
|
3519
3491
|
}) {
|
|
3520
|
-
|
|
3521
|
-
let $ = v,
|
|
3522
|
-
let
|
|
3523
|
-
|
|
3524
|
-
},
|
|
3525
|
-
|
|
3526
|
-
window.document.execCommand("insertText", !1,
|
|
3527
|
-
}).catch((
|
|
3492
|
+
g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(g && o), U.useRef(null);
|
|
3493
|
+
let $ = v, O = !0, p = 0, M = (h, k) => {
|
|
3494
|
+
let I = document.createRange(), Y = window.getSelection();
|
|
3495
|
+
I.setStart(k.childNodes[0], h), I.collapse(!0), Y.removeAllRanges(), Y.addRange(I), k.focus();
|
|
3496
|
+
}, K = (h) => {
|
|
3497
|
+
h.preventDefault(), navigator.clipboard.readText().then((k) => {
|
|
3498
|
+
window.document.execCommand("insertText", !1, k);
|
|
3499
|
+
}).catch((k) => {
|
|
3528
3500
|
});
|
|
3529
|
-
},
|
|
3530
|
-
let
|
|
3531
|
-
|
|
3532
|
-
let Q =
|
|
3501
|
+
}, G = (h) => {
|
|
3502
|
+
let k = 0, I = "", Y = h.replace(/\D/g, "");
|
|
3503
|
+
Y === "" && (O = !0);
|
|
3504
|
+
let Q = Y.split(""), ie = "";
|
|
3533
3505
|
Q.forEach((ge) => {
|
|
3534
|
-
|
|
3506
|
+
O && (ie += ge, O && (p = ("" + ie).length, $ = v.replace(new RegExp("[0-9]", "g"), "_"), I = ""), p > ("" + ie).length && (O = !0, $ = v.replace(new RegExp("[0-9]", "g"), "_"), I = ""));
|
|
3535
3507
|
});
|
|
3536
3508
|
let se = $.replace(/\D/g, "");
|
|
3537
|
-
return se.length >=
|
|
3538
|
-
return
|
|
3539
|
-
}), i:
|
|
3540
|
-
}, L = (
|
|
3541
|
-
|
|
3509
|
+
return se.length >= Y.length && (Y = se), { q: $.replace(/[_\d]/g, function() {
|
|
3510
|
+
return Y.charAt(k++) || "_";
|
|
3511
|
+
}), i: k, v: Y, f: I };
|
|
3512
|
+
}, L = (h) => {
|
|
3513
|
+
h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
|
|
3542
3514
|
function() {
|
|
3543
|
-
|
|
3515
|
+
Ct.Copy("Данные в буфер обмене");
|
|
3544
3516
|
},
|
|
3545
|
-
function(
|
|
3517
|
+
function(k) {
|
|
3546
3518
|
}
|
|
3547
3519
|
);
|
|
3548
|
-
},
|
|
3549
|
-
let
|
|
3550
|
-
|
|
3551
|
-
},
|
|
3552
|
-
|
|
3520
|
+
}, q = G(n), E = (h) => {
|
|
3521
|
+
let k = G(h.target.textContent);
|
|
3522
|
+
h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== $ ? k.i++ : k.i = k.q.indexOf("_"), M(k.i, h.target), i && i({ value: k.q.replace(/\D/g, ""), name: u });
|
|
3523
|
+
}, D = (h) => {
|
|
3524
|
+
h.key === "Enter" && h.preventDefault();
|
|
3553
3525
|
};
|
|
3554
|
-
const W = (
|
|
3555
|
-
te.Blur(
|
|
3556
|
-
value:
|
|
3526
|
+
const W = (h) => {
|
|
3527
|
+
te.Blur(h), c && c({
|
|
3528
|
+
value: h.target.textContent.replace(/\D/g, ""),
|
|
3557
3529
|
name: u
|
|
3558
3530
|
});
|
|
3559
3531
|
};
|
|
3560
3532
|
let R = {};
|
|
3561
|
-
return
|
|
3533
|
+
return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", C && (R.placeholder = C), d && (R.after = d), s ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(
|
|
3562
3534
|
"dl",
|
|
3563
3535
|
{
|
|
3564
3536
|
"data-field": "input",
|
|
3565
|
-
className: [
|
|
3537
|
+
className: [H.l, N].filter((h) => h !== void 0).join(" "),
|
|
3566
3538
|
children: [
|
|
3567
|
-
|
|
3568
|
-
/* @__PURE__ */
|
|
3539
|
+
T ? /* @__PURE__ */ y.jsx("dt", { className: H.t, children: T }) : "",
|
|
3540
|
+
/* @__PURE__ */ y.jsx(
|
|
3569
3541
|
"dd",
|
|
3570
3542
|
{
|
|
3571
|
-
className: [
|
|
3572
|
-
onPaste:
|
|
3543
|
+
className: [H.f, H.w].join(" "),
|
|
3544
|
+
onPaste: K,
|
|
3573
3545
|
onInput: E,
|
|
3574
|
-
onKeyDown:
|
|
3546
|
+
onKeyDown: D,
|
|
3575
3547
|
onContextMenu: L,
|
|
3576
3548
|
onBlur: W,
|
|
3577
3549
|
suppressContentEditableWarning: !0,
|
|
3578
3550
|
...R,
|
|
3579
|
-
children:
|
|
3551
|
+
children: q.q
|
|
3580
3552
|
}
|
|
3581
3553
|
),
|
|
3582
|
-
x && /* @__PURE__ */
|
|
3554
|
+
x && /* @__PURE__ */ y.jsx("em", { children: x })
|
|
3583
3555
|
]
|
|
3584
3556
|
}
|
|
3585
3557
|
);
|
|
3586
3558
|
}
|
|
3587
|
-
function
|
|
3588
|
-
id:
|
|
3559
|
+
function Ca({
|
|
3560
|
+
id: n,
|
|
3589
3561
|
value: i,
|
|
3590
3562
|
onValue: c,
|
|
3591
3563
|
name: u,
|
|
3592
3564
|
placeholder: v = "",
|
|
3593
3565
|
title: C = "",
|
|
3594
|
-
error:
|
|
3566
|
+
error: T = "",
|
|
3595
3567
|
hide: x = !1,
|
|
3596
3568
|
edit: s = !0,
|
|
3597
|
-
active:
|
|
3569
|
+
active: g = !0,
|
|
3598
3570
|
after: o = "",
|
|
3599
3571
|
show: d = !0,
|
|
3600
|
-
maxLength:
|
|
3572
|
+
maxLength: b,
|
|
3601
3573
|
view: S,
|
|
3602
3574
|
onSave: N,
|
|
3603
3575
|
className: A = "",
|
|
3604
3576
|
isCopy: $ = !0
|
|
3605
3577
|
}) {
|
|
3606
|
-
let [
|
|
3607
|
-
|
|
3608
|
-
let
|
|
3578
|
+
let [O, p] = U.useState(!1);
|
|
3579
|
+
O = s ? !0 : O;
|
|
3580
|
+
let M = (E) => {
|
|
3609
3581
|
c == null || c({ value: E.target.innerText, name: u });
|
|
3610
|
-
},
|
|
3611
|
-
|
|
3612
|
-
},
|
|
3613
|
-
E.preventDefault(), navigator.clipboard.readText().then((
|
|
3614
|
-
if (
|
|
3582
|
+
}, K = (E) => {
|
|
3583
|
+
b && E.target.textContent.trim().length >= b && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
3584
|
+
}, G = (E) => {
|
|
3585
|
+
E.preventDefault(), navigator.clipboard.readText().then((D) => {
|
|
3586
|
+
if (b) {
|
|
3615
3587
|
let W = E.target.textContent.length;
|
|
3616
|
-
if (W >=
|
|
3617
|
-
|
|
3588
|
+
if (W >= b) return;
|
|
3589
|
+
b -= W, D = D.slice(0, b);
|
|
3618
3590
|
}
|
|
3619
3591
|
window.document.execCommand(
|
|
3620
3592
|
"insertText",
|
|
3621
3593
|
!1,
|
|
3622
|
-
|
|
3594
|
+
D.replace(/(\r\n|\n|\r)/gm, " ")
|
|
3623
3595
|
);
|
|
3624
|
-
}).catch((
|
|
3596
|
+
}).catch((D) => {
|
|
3625
3597
|
});
|
|
3626
3598
|
};
|
|
3627
|
-
if (x) return /* @__PURE__ */
|
|
3628
|
-
if (!(s &&
|
|
3599
|
+
if (x) return /* @__PURE__ */ y.jsx(y.Fragment, {});
|
|
3600
|
+
if (!(s && g) && !d) return "";
|
|
3629
3601
|
const L = {};
|
|
3630
|
-
v && (L.placeholder = v), s &&
|
|
3631
|
-
const
|
|
3602
|
+
v && (L.placeholder = v), s && g && (L.edit = ""), O && (L.open = "");
|
|
3603
|
+
const q = (E) => {
|
|
3632
3604
|
te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
|
|
3633
3605
|
};
|
|
3634
|
-
return /* @__PURE__ */
|
|
3606
|
+
return /* @__PURE__ */ y.jsxs(
|
|
3635
3607
|
"dl",
|
|
3636
3608
|
{
|
|
3637
3609
|
"data-field": "note",
|
|
3638
|
-
className: [
|
|
3610
|
+
className: [H.l, A].filter((E) => E !== void 0).join(" "),
|
|
3639
3611
|
children: [
|
|
3640
|
-
C ? /* @__PURE__ */
|
|
3641
|
-
/* @__PURE__ */
|
|
3612
|
+
C ? /* @__PURE__ */ y.jsx("dt", { className: H.t, children: C }) : "",
|
|
3613
|
+
/* @__PURE__ */ y.jsx(
|
|
3642
3614
|
"dd",
|
|
3643
3615
|
{
|
|
3644
|
-
className: [
|
|
3645
|
-
onPaste:
|
|
3646
|
-
onInput:
|
|
3647
|
-
onBlur:
|
|
3648
|
-
onKeyDown:
|
|
3649
|
-
contentEditable: s &&
|
|
3616
|
+
className: [H.f, H.n].join(" "),
|
|
3617
|
+
onPaste: G,
|
|
3618
|
+
onInput: M,
|
|
3619
|
+
onBlur: q,
|
|
3620
|
+
onKeyDown: K,
|
|
3621
|
+
contentEditable: s && g ? te.ContentEditable : "false",
|
|
3650
3622
|
suppressContentEditableWarning: !0,
|
|
3651
3623
|
...L,
|
|
3652
3624
|
children: i
|
|
3653
3625
|
}
|
|
3654
3626
|
),
|
|
3655
3627
|
o,
|
|
3656
|
-
|
|
3628
|
+
T ? /* @__PURE__ */ y.jsx("em", { children: T }) : ""
|
|
3657
3629
|
]
|
|
3658
3630
|
}
|
|
3659
3631
|
);
|
|
@@ -5040,164 +5012,161 @@ const Ot = {
|
|
|
5040
5012
|
mask: "+1939(___) ___-__-__"
|
|
5041
5013
|
}
|
|
5042
5014
|
};
|
|
5043
|
-
function
|
|
5044
|
-
value:
|
|
5015
|
+
function Sa({
|
|
5016
|
+
value: n,
|
|
5045
5017
|
onValue: i,
|
|
5046
5018
|
onSave: c,
|
|
5047
5019
|
name: u,
|
|
5048
5020
|
placeholder: v = "",
|
|
5049
5021
|
title: C = "",
|
|
5050
|
-
error:
|
|
5022
|
+
error: T = "",
|
|
5051
5023
|
hide: x = !1,
|
|
5052
5024
|
edit: s = !0,
|
|
5053
|
-
active:
|
|
5025
|
+
active: g = !0,
|
|
5054
5026
|
after: o = "",
|
|
5055
5027
|
show: d = !0,
|
|
5056
|
-
view:
|
|
5028
|
+
view: b,
|
|
5057
5029
|
className: S = ""
|
|
5058
5030
|
}) {
|
|
5059
|
-
s = s !== void 0 ? s : !0,
|
|
5060
|
-
let A = "+_(___) ___-__-__", $ = !0,
|
|
5061
|
-
let
|
|
5062
|
-
|
|
5063
|
-
},
|
|
5064
|
-
let
|
|
5065
|
-
R.target.textContent =
|
|
5066
|
-
},
|
|
5067
|
-
R.preventDefault(), navigator.clipboard.readText().then((
|
|
5068
|
-
window.document.execCommand("insertText", !1,
|
|
5069
|
-
}).catch((
|
|
5031
|
+
s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (n === "" || n === void 0)) && !(s && g), U.useRef(null);
|
|
5032
|
+
let A = "+_(___) ___-__-__", $ = !0, O = 0, p = (R, h) => {
|
|
5033
|
+
let k = document.createRange(), I = window.getSelection();
|
|
5034
|
+
k.setStart(h.childNodes[0], R), k.collapse(!0), I.removeAllRanges(), I.addRange(k), h.focus();
|
|
5035
|
+
}, M = (R) => {
|
|
5036
|
+
let h = G(R.target.textContent);
|
|
5037
|
+
R.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== A ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, R.target), i && i({ value: h.q.replace(/\D/g, ""), name: u });
|
|
5038
|
+
}, K = (R) => {
|
|
5039
|
+
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5040
|
+
window.document.execCommand("insertText", !1, h);
|
|
5041
|
+
}).catch((h) => {
|
|
5070
5042
|
});
|
|
5071
|
-
},
|
|
5072
|
-
let
|
|
5073
|
-
|
|
5074
|
-
let
|
|
5075
|
-
|
|
5076
|
-
$ && (Q += ve, Ot[Q] !== void 0 && $ ? ($ = !1, A = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"),
|
|
5043
|
+
}, G = (R) => {
|
|
5044
|
+
let h = 0, k = "", I = R.replace(/\D/g, "");
|
|
5045
|
+
I === "" && ($ = !0);
|
|
5046
|
+
let Y = I.split(""), Q = "";
|
|
5047
|
+
Y.forEach((ve) => {
|
|
5048
|
+
$ && (Q += ve, Ot[Q] !== void 0 && $ ? ($ = !1, A = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"), k = Ot[Q].code) : ($ && (O = ("" + Q).length, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5077
5049
|
new RegExp("[0-9]", "g"),
|
|
5078
5050
|
"_"
|
|
5079
|
-
),
|
|
5051
|
+
), k = ""), O > ("" + Q).length && ($ = !0, A = `+${Q}_(___) ___-__-__`.replace(
|
|
5080
5052
|
new RegExp("[0-9]", "g"),
|
|
5081
5053
|
"_"
|
|
5082
|
-
),
|
|
5054
|
+
), k = "")));
|
|
5083
5055
|
});
|
|
5084
5056
|
let ie = A.replace(/\D/g, "");
|
|
5085
|
-
return ie.length >=
|
|
5086
|
-
return
|
|
5087
|
-
}), i:
|
|
5057
|
+
return ie.length >= I.length && (I = ie), { q: A.replace(/[_\d]/g, function() {
|
|
5058
|
+
return I.charAt(h++) || "_";
|
|
5059
|
+
}), i: h, v: I, f: k };
|
|
5088
5060
|
}, L = (R) => {
|
|
5089
5061
|
R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.replace(/\D/g, "")).then(
|
|
5090
5062
|
function() {
|
|
5091
|
-
|
|
5063
|
+
Ct.Copy("Данные в буфер обмене");
|
|
5092
5064
|
},
|
|
5093
|
-
function(
|
|
5065
|
+
function(h) {
|
|
5094
5066
|
}
|
|
5095
5067
|
);
|
|
5096
|
-
},
|
|
5068
|
+
}, q = G(n), E = (R) => {
|
|
5097
5069
|
R.key === "Enter" && R.preventDefault();
|
|
5098
5070
|
};
|
|
5099
|
-
const
|
|
5071
|
+
const D = (R) => {
|
|
5100
5072
|
te.Blur(R), c && c({
|
|
5101
5073
|
value: R.target.textContent.replace(/\D/g, ""),
|
|
5102
5074
|
name: u
|
|
5103
5075
|
});
|
|
5104
5076
|
};
|
|
5105
5077
|
let W = {};
|
|
5106
|
-
return s &&
|
|
5107
|
-
|
|
5078
|
+
return s && g ? (W.edit = "true", W.contentEditable = te.ContentEditable) : W.contentEditable = "false", v && (W.placeholder = v), o && (W.after = o), x ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsx(
|
|
5079
|
+
Rt,
|
|
5108
5080
|
{
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
),
|
|
5127
|
-
O && /* @__PURE__ */ f.jsx("em", { children: O })
|
|
5128
|
-
]
|
|
5081
|
+
type: "input",
|
|
5082
|
+
title: C,
|
|
5083
|
+
element_blok: { className: S },
|
|
5084
|
+
element_input: { className: [H.w] },
|
|
5085
|
+
children: /* @__PURE__ */ y.jsx(
|
|
5086
|
+
"div",
|
|
5087
|
+
{
|
|
5088
|
+
onPaste: K,
|
|
5089
|
+
onInput: M,
|
|
5090
|
+
onKeyDown: E,
|
|
5091
|
+
onContextMenu: L,
|
|
5092
|
+
onBlur: D,
|
|
5093
|
+
suppressContentEditableWarning: !0,
|
|
5094
|
+
...W,
|
|
5095
|
+
children: q.q
|
|
5096
|
+
}
|
|
5097
|
+
)
|
|
5129
5098
|
}
|
|
5130
5099
|
);
|
|
5131
5100
|
}
|
|
5132
|
-
const
|
|
5133
|
-
o:
|
|
5134
|
-
c:
|
|
5101
|
+
const ia = "_o_1c9e1_1", _a = "_c_1c9e1_11", St = {
|
|
5102
|
+
o: ia,
|
|
5103
|
+
c: _a
|
|
5135
5104
|
};
|
|
5136
|
-
function
|
|
5137
|
-
title:
|
|
5105
|
+
function Ra({
|
|
5106
|
+
title: n,
|
|
5138
5107
|
error: i,
|
|
5139
5108
|
edit: c = !0,
|
|
5140
5109
|
active: u = !0,
|
|
5141
5110
|
className: v,
|
|
5142
5111
|
placeholder: C,
|
|
5143
|
-
max:
|
|
5112
|
+
max: T,
|
|
5144
5113
|
min: x,
|
|
5145
5114
|
onValue: s,
|
|
5146
|
-
icon:
|
|
5115
|
+
icon: g,
|
|
5147
5116
|
name: o,
|
|
5148
5117
|
value: d,
|
|
5149
|
-
after:
|
|
5118
|
+
after: b
|
|
5150
5119
|
}) {
|
|
5151
|
-
let [S, N] =
|
|
5120
|
+
let [S, N] = U.useState(
|
|
5152
5121
|
d === void 0 ? /* @__PURE__ */ new Date() : d
|
|
5153
5122
|
);
|
|
5154
|
-
const A =
|
|
5123
|
+
const A = U.useRef(null), [$, O] = U.useState(!1);
|
|
5155
5124
|
let p = !c && u;
|
|
5156
|
-
|
|
5125
|
+
U.useEffect(() => {
|
|
5157
5126
|
N(d === void 0 ? /* @__PURE__ */ new Date() : d);
|
|
5158
5127
|
}, [d]);
|
|
5159
|
-
let
|
|
5128
|
+
let M = (L) => {
|
|
5160
5129
|
N(L), s == null || s({ value: L, name: o });
|
|
5161
|
-
},
|
|
5162
|
-
const
|
|
5163
|
-
A.position = { x: E, b:
|
|
5130
|
+
}, K = (L) => {
|
|
5131
|
+
const q = L.target.getBoundingClientRect(), E = q.left, D = q.bottom, W = q.top;
|
|
5132
|
+
A.position = { x: E, b: D, y: W }, O(!0);
|
|
5164
5133
|
};
|
|
5165
|
-
const
|
|
5166
|
-
return C && (
|
|
5167
|
-
|
|
5134
|
+
const G = {};
|
|
5135
|
+
return C && (G.placeholder = C), p ? /* @__PURE__ */ y.jsx(y.Fragment, {}) : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5136
|
+
g ? g() : /* @__PURE__ */ y.jsxs(
|
|
5168
5137
|
"dl",
|
|
5169
5138
|
{
|
|
5170
5139
|
"data-field": "date",
|
|
5171
|
-
className: [
|
|
5140
|
+
className: [H.l, v].filter((L) => L !== void 0).join(" "),
|
|
5172
5141
|
children: [
|
|
5173
|
-
|
|
5174
|
-
/* @__PURE__ */
|
|
5142
|
+
n ? /* @__PURE__ */ y.jsx("dt", { className: H.t, children: n }) : "",
|
|
5143
|
+
/* @__PURE__ */ y.jsxs(
|
|
5175
5144
|
"dd",
|
|
5176
5145
|
{
|
|
5177
|
-
onClick:
|
|
5178
|
-
className: [
|
|
5179
|
-
...
|
|
5146
|
+
onClick: K,
|
|
5147
|
+
className: [H.f, H.w].join(" "),
|
|
5148
|
+
...G,
|
|
5180
5149
|
"data-edit": (c && u) + "",
|
|
5181
5150
|
children: [
|
|
5182
|
-
|
|
5183
|
-
|
|
5151
|
+
ca(S, "dd.mm.yyyy"),
|
|
5152
|
+
b
|
|
5184
5153
|
]
|
|
5185
5154
|
}
|
|
5186
5155
|
),
|
|
5187
|
-
i && /* @__PURE__ */
|
|
5156
|
+
i && /* @__PURE__ */ y.jsx("em", { children: i })
|
|
5188
5157
|
]
|
|
5189
5158
|
}
|
|
5190
5159
|
),
|
|
5191
|
-
$ &&
|
|
5192
|
-
/* @__PURE__ */
|
|
5193
|
-
|
|
5160
|
+
$ && Mt(
|
|
5161
|
+
/* @__PURE__ */ y.jsx(
|
|
5162
|
+
sa,
|
|
5194
5163
|
{
|
|
5195
5164
|
position: A.position,
|
|
5196
|
-
onValue:
|
|
5165
|
+
onValue: M,
|
|
5197
5166
|
date: S,
|
|
5198
|
-
max:
|
|
5167
|
+
max: T,
|
|
5199
5168
|
min: x,
|
|
5200
|
-
onOpen:
|
|
5169
|
+
onOpen: O,
|
|
5201
5170
|
className: v
|
|
5202
5171
|
},
|
|
5203
5172
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -5206,16 +5175,16 @@ function Ea({
|
|
|
5206
5175
|
)
|
|
5207
5176
|
] });
|
|
5208
5177
|
}
|
|
5209
|
-
const
|
|
5210
|
-
date:
|
|
5178
|
+
const sa = ({
|
|
5179
|
+
date: n,
|
|
5211
5180
|
onValue: i,
|
|
5212
5181
|
position: c,
|
|
5213
5182
|
max: u,
|
|
5214
5183
|
min: v,
|
|
5215
5184
|
className: C,
|
|
5216
|
-
onOpen:
|
|
5185
|
+
onOpen: T
|
|
5217
5186
|
}) => {
|
|
5218
|
-
let x = /* @__PURE__ */ new Date(), s = new Date(
|
|
5187
|
+
let x = /* @__PURE__ */ new Date(), s = new Date(n), g = {
|
|
5219
5188
|
y: parseInt(x.getFullYear()),
|
|
5220
5189
|
d: parseInt(x.getDate()),
|
|
5221
5190
|
m: parseInt(x.getMonth()) + 1
|
|
@@ -5223,53 +5192,53 @@ const la = ({
|
|
|
5223
5192
|
y: parseInt(s.getFullYear()),
|
|
5224
5193
|
d: parseInt(s.getDate()),
|
|
5225
5194
|
m: parseInt(s.getMonth()) + 1
|
|
5226
|
-
}, [d,
|
|
5227
|
-
let
|
|
5228
|
-
return
|
|
5229
|
-
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, $ = new Date(d.y, A),
|
|
5230
|
-
for (let
|
|
5231
|
-
|
|
5195
|
+
}, [d, b] = U.useState({ y: o.y, m: o.m }), S = (h) => {
|
|
5196
|
+
let k = h.getDay();
|
|
5197
|
+
return k === 0 && (k = 7), k - 1;
|
|
5198
|
+
}, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, $ = new Date(d.y, A), O = [];
|
|
5199
|
+
for (let h = 0; h < S($); h++)
|
|
5200
|
+
O.push(0);
|
|
5232
5201
|
for (; $.getMonth() === A; )
|
|
5233
|
-
|
|
5202
|
+
O.push($.getDate()), $.setDate($.getDate() + 1);
|
|
5234
5203
|
let p = () => {
|
|
5235
|
-
|
|
5236
|
-
},
|
|
5204
|
+
T(!1);
|
|
5205
|
+
}, M = () => {
|
|
5237
5206
|
L(d.m + 1, d.y);
|
|
5238
|
-
},
|
|
5207
|
+
}, K = () => {
|
|
5239
5208
|
L(d.m - 1, d.y);
|
|
5240
|
-
},
|
|
5209
|
+
}, G = (h) => {
|
|
5241
5210
|
i(
|
|
5242
|
-
d.y + "-" +
|
|
5211
|
+
d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
|
|
5243
5212
|
), p();
|
|
5244
|
-
}, L = (
|
|
5245
|
-
|
|
5213
|
+
}, L = (h, k) => {
|
|
5214
|
+
k = h > 12 ? k + 1 : h < 1 ? k - 1 : k, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: k, m: h });
|
|
5246
5215
|
};
|
|
5247
|
-
const
|
|
5248
|
-
let
|
|
5216
|
+
const q = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {}, E = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, D = (h) => {
|
|
5217
|
+
let k = !0;
|
|
5249
5218
|
if (u) {
|
|
5250
|
-
let
|
|
5251
|
-
|
|
5219
|
+
let I = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5220
|
+
I < Y && (k = !1);
|
|
5252
5221
|
}
|
|
5253
5222
|
if (v) {
|
|
5254
|
-
let
|
|
5255
|
-
|
|
5223
|
+
let I = v.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
|
|
5224
|
+
I > Y && (k = !1);
|
|
5256
5225
|
}
|
|
5257
|
-
return
|
|
5226
|
+
return k;
|
|
5258
5227
|
};
|
|
5259
5228
|
let W = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, R = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
5260
|
-
return /* @__PURE__ */
|
|
5261
|
-
/* @__PURE__ */
|
|
5262
|
-
/* @__PURE__ */
|
|
5229
|
+
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5230
|
+
/* @__PURE__ */ y.jsx("div", { className: St.o, onClick: () => p() }),
|
|
5231
|
+
/* @__PURE__ */ y.jsxs(
|
|
5263
5232
|
"div",
|
|
5264
5233
|
{
|
|
5265
5234
|
className: [
|
|
5266
|
-
|
|
5235
|
+
St.c,
|
|
5267
5236
|
C && C + "-backdrop"
|
|
5268
5237
|
].join(" "),
|
|
5269
5238
|
style: { top: W + "px", left: R + "px" },
|
|
5270
5239
|
children: [
|
|
5271
|
-
/* @__PURE__ */
|
|
5272
|
-
/* @__PURE__ */
|
|
5240
|
+
/* @__PURE__ */ y.jsxs("s", { children: [
|
|
5241
|
+
/* @__PURE__ */ y.jsx("i", { onClick: K, children: /* @__PURE__ */ y.jsx(
|
|
5273
5242
|
"svg",
|
|
5274
5243
|
{
|
|
5275
5244
|
width: "16",
|
|
@@ -5277,15 +5246,15 @@ const la = ({
|
|
|
5277
5246
|
fill: "currentColor",
|
|
5278
5247
|
viewBox: "0 0 24 24",
|
|
5279
5248
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5280
|
-
children: /* @__PURE__ */
|
|
5249
|
+
children: /* @__PURE__ */ y.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
|
|
5281
5250
|
}
|
|
5282
5251
|
) }),
|
|
5283
|
-
/* @__PURE__ */
|
|
5284
|
-
|
|
5252
|
+
/* @__PURE__ */ y.jsxs("h2", { children: [
|
|
5253
|
+
la(d.m).name,
|
|
5285
5254
|
" ",
|
|
5286
5255
|
d.y
|
|
5287
5256
|
] }),
|
|
5288
|
-
/* @__PURE__ */
|
|
5257
|
+
/* @__PURE__ */ y.jsx("i", { onClick: M, children: /* @__PURE__ */ y.jsx(
|
|
5289
5258
|
"svg",
|
|
5290
5259
|
{
|
|
5291
5260
|
width: "16",
|
|
@@ -5293,29 +5262,29 @@ const la = ({
|
|
|
5293
5262
|
fill: "currentColor",
|
|
5294
5263
|
viewBox: "0 0 24 24",
|
|
5295
5264
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5296
|
-
children: /* @__PURE__ */
|
|
5265
|
+
children: /* @__PURE__ */ y.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
|
|
5297
5266
|
}
|
|
5298
5267
|
) })
|
|
5299
5268
|
] }),
|
|
5300
|
-
/* @__PURE__ */
|
|
5301
|
-
N.map((
|
|
5302
|
-
|
|
5269
|
+
/* @__PURE__ */ y.jsxs("div", { "grid-calendar": "", children: [
|
|
5270
|
+
N.map((h, k) => /* @__PURE__ */ y.jsx("p", { children: h }, "v" + k)),
|
|
5271
|
+
O.map((h, k) => /* @__PURE__ */ y.jsx("span", { children: h !== 0 && D(h) ? /* @__PURE__ */ y.jsx(
|
|
5303
5272
|
"b",
|
|
5304
5273
|
{
|
|
5305
|
-
...
|
|
5306
|
-
...E(
|
|
5307
|
-
onClick: () =>
|
|
5308
|
-
children:
|
|
5274
|
+
...q(h),
|
|
5275
|
+
...E(h),
|
|
5276
|
+
onClick: () => G(h),
|
|
5277
|
+
children: h
|
|
5309
5278
|
}
|
|
5310
|
-
) : /* @__PURE__ */
|
|
5279
|
+
) : /* @__PURE__ */ y.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) }, k))
|
|
5311
5280
|
] })
|
|
5312
5281
|
]
|
|
5313
5282
|
}
|
|
5314
5283
|
)
|
|
5315
5284
|
] });
|
|
5316
5285
|
};
|
|
5317
|
-
function
|
|
5318
|
-
return
|
|
5286
|
+
function la(n) {
|
|
5287
|
+
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
5319
5288
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5320
5289
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5321
5290
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5328,23 +5297,23 @@ function ca(a) {
|
|
|
5328
5297
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5329
5298
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5330
5299
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5331
|
-
}[
|
|
5300
|
+
}[n];
|
|
5332
5301
|
}
|
|
5333
|
-
function
|
|
5302
|
+
function Gt(n, i) {
|
|
5334
5303
|
let c = i + "";
|
|
5335
|
-
for (; c.length <
|
|
5304
|
+
for (; c.length < n; ) c = "0" + c;
|
|
5336
5305
|
return c;
|
|
5337
5306
|
}
|
|
5338
|
-
function
|
|
5339
|
-
i === void 0 ? (i =
|
|
5307
|
+
function ca(n, i) {
|
|
5308
|
+
i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5340
5309
|
let c = {
|
|
5341
|
-
yyyy:
|
|
5342
|
-
yy: ("" +
|
|
5343
|
-
mm: ("0" + (
|
|
5344
|
-
dd: ("0" +
|
|
5345
|
-
HH: ("0" +
|
|
5346
|
-
MM: ("0" +
|
|
5347
|
-
SS: ("0" +
|
|
5310
|
+
yyyy: n.getFullYear(),
|
|
5311
|
+
yy: ("" + n.getFullYear()).slice(-2),
|
|
5312
|
+
mm: ("0" + (n.getMonth() + 1)).slice(-2),
|
|
5313
|
+
dd: ("0" + n.getDate()).slice(-2),
|
|
5314
|
+
HH: ("0" + n.getHours()).slice(-2),
|
|
5315
|
+
MM: ("0" + n.getMinutes()).slice(-2),
|
|
5316
|
+
SS: ("0" + n.getSeconds()).slice(-2),
|
|
5348
5317
|
__: " ",
|
|
5349
5318
|
_: " "
|
|
5350
5319
|
};
|
|
@@ -5352,57 +5321,57 @@ function ua(a, i) {
|
|
|
5352
5321
|
i = i.replace(u, c[u]);
|
|
5353
5322
|
return i;
|
|
5354
5323
|
}
|
|
5355
|
-
function
|
|
5356
|
-
value:
|
|
5324
|
+
function Ea({
|
|
5325
|
+
value: n,
|
|
5357
5326
|
onValue: i,
|
|
5358
5327
|
name: c,
|
|
5359
5328
|
error: u,
|
|
5360
5329
|
icon: v,
|
|
5361
5330
|
edit: C = !0,
|
|
5362
|
-
active:
|
|
5331
|
+
active: T = !0,
|
|
5363
5332
|
title: x,
|
|
5364
5333
|
placeholder: s = "",
|
|
5365
|
-
className:
|
|
5334
|
+
className: g
|
|
5366
5335
|
}) {
|
|
5367
|
-
let [o, d] =
|
|
5368
|
-
const
|
|
5369
|
-
|
|
5370
|
-
d(
|
|
5371
|
-
}, [
|
|
5336
|
+
let [o, d] = U.useState(n);
|
|
5337
|
+
const b = U.useRef(null), [S, N] = U.useState(!1);
|
|
5338
|
+
U.useEffect(() => {
|
|
5339
|
+
d(n);
|
|
5340
|
+
}, [n]);
|
|
5372
5341
|
let A = (p) => {
|
|
5373
5342
|
d(p), i && i({ value: p, name: c });
|
|
5374
5343
|
}, $ = (p) => {
|
|
5375
|
-
if (!C || !
|
|
5376
|
-
const
|
|
5377
|
-
|
|
5344
|
+
if (!C || !T) return;
|
|
5345
|
+
const M = p.target.getBoundingClientRect(), K = M.left, G = M.top;
|
|
5346
|
+
b.position = { x: K, y: G }, N(!0);
|
|
5378
5347
|
};
|
|
5379
|
-
const
|
|
5380
|
-
return s && (
|
|
5381
|
-
/* @__PURE__ */
|
|
5348
|
+
const O = {};
|
|
5349
|
+
return s && (O.placeholder = s), v || /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5350
|
+
/* @__PURE__ */ y.jsxs(
|
|
5382
5351
|
"dl",
|
|
5383
5352
|
{
|
|
5384
5353
|
"data-field": "date",
|
|
5385
|
-
className: [
|
|
5354
|
+
className: [H.l, g].filter((p) => p !== void 0).join(" "),
|
|
5386
5355
|
children: [
|
|
5387
|
-
x ? /* @__PURE__ */
|
|
5388
|
-
/* @__PURE__ */
|
|
5356
|
+
x ? /* @__PURE__ */ y.jsx("dt", { className: H.t, children: x }) : "",
|
|
5357
|
+
/* @__PURE__ */ y.jsx(
|
|
5389
5358
|
"dd",
|
|
5390
5359
|
{
|
|
5391
5360
|
onClick: $,
|
|
5392
|
-
...
|
|
5393
|
-
className: [
|
|
5394
|
-
children:
|
|
5361
|
+
...O,
|
|
5362
|
+
className: [H.f, H.w].join(" "),
|
|
5363
|
+
children: da(o, "mm.yyyy")
|
|
5395
5364
|
}
|
|
5396
5365
|
),
|
|
5397
|
-
u && /* @__PURE__ */
|
|
5366
|
+
u && /* @__PURE__ */ y.jsx("em", { children: u })
|
|
5398
5367
|
]
|
|
5399
5368
|
}
|
|
5400
5369
|
),
|
|
5401
|
-
S &&
|
|
5402
|
-
/* @__PURE__ */
|
|
5403
|
-
|
|
5370
|
+
S && Mt(
|
|
5371
|
+
/* @__PURE__ */ y.jsx(
|
|
5372
|
+
ua,
|
|
5404
5373
|
{
|
|
5405
|
-
position:
|
|
5374
|
+
position: b.position,
|
|
5406
5375
|
onValue: A,
|
|
5407
5376
|
date: o,
|
|
5408
5377
|
onOpen: N
|
|
@@ -5413,27 +5382,27 @@ function Oa({
|
|
|
5413
5382
|
)
|
|
5414
5383
|
] });
|
|
5415
5384
|
}
|
|
5416
|
-
const
|
|
5417
|
-
let v = /* @__PURE__ */ new Date(), C = new Date(i),
|
|
5385
|
+
const ua = ({ onOpen: n, date: i, onValue: c, position: u }) => {
|
|
5386
|
+
let v = /* @__PURE__ */ new Date(), C = new Date(i), T = {
|
|
5418
5387
|
y: parseInt(v.getFullYear()),
|
|
5419
5388
|
m: parseInt(v.getMonth()) + 1
|
|
5420
5389
|
}, x = {
|
|
5421
5390
|
y: parseInt(C.getFullYear()),
|
|
5422
5391
|
m: parseInt(C.getMonth()) + 1
|
|
5423
|
-
}, [s,
|
|
5424
|
-
|
|
5392
|
+
}, [s, g] = U.useState(x.y), o = () => {
|
|
5393
|
+
n(!1);
|
|
5425
5394
|
}, d = () => {
|
|
5426
|
-
|
|
5427
|
-
},
|
|
5428
|
-
|
|
5395
|
+
g(s + 1);
|
|
5396
|
+
}, b = () => {
|
|
5397
|
+
g(s - 1);
|
|
5429
5398
|
}, S = (p) => {
|
|
5430
|
-
c(s + "-" +
|
|
5431
|
-
}, N = (p) =>
|
|
5432
|
-
return /* @__PURE__ */
|
|
5433
|
-
/* @__PURE__ */
|
|
5434
|
-
/* @__PURE__ */
|
|
5435
|
-
/* @__PURE__ */
|
|
5436
|
-
/* @__PURE__ */
|
|
5399
|
+
c(s + "-" + fa(2, p)), o();
|
|
5400
|
+
}, N = (p) => T.y === x.y && T.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, M) => M + 1), $ = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, O = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
|
|
5401
|
+
return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
5402
|
+
/* @__PURE__ */ y.jsx("div", { className: St.o, onClick: o }),
|
|
5403
|
+
/* @__PURE__ */ y.jsxs("div", { className: St.c, style: { top: $ + "px", left: O + "px" }, children: [
|
|
5404
|
+
/* @__PURE__ */ y.jsxs("s", { children: [
|
|
5405
|
+
/* @__PURE__ */ y.jsx("i", { onClick: b, children: /* @__PURE__ */ y.jsx(
|
|
5437
5406
|
"svg",
|
|
5438
5407
|
{
|
|
5439
5408
|
width: "16",
|
|
@@ -5441,11 +5410,11 @@ const da = ({ onOpen: a, date: i, onValue: c, position: u }) => {
|
|
|
5441
5410
|
fill: "currentColor",
|
|
5442
5411
|
viewBox: "0 0 24 24",
|
|
5443
5412
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5444
|
-
children: /* @__PURE__ */
|
|
5413
|
+
children: /* @__PURE__ */ y.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
|
|
5445
5414
|
}
|
|
5446
5415
|
) }),
|
|
5447
|
-
/* @__PURE__ */
|
|
5448
|
-
/* @__PURE__ */
|
|
5416
|
+
/* @__PURE__ */ y.jsx("h2", { children: s }),
|
|
5417
|
+
/* @__PURE__ */ y.jsx("i", { onClick: d, children: /* @__PURE__ */ y.jsx(
|
|
5449
5418
|
"svg",
|
|
5450
5419
|
{
|
|
5451
5420
|
width: "16",
|
|
@@ -5453,34 +5422,34 @@ const da = ({ onOpen: a, date: i, onValue: c, position: u }) => {
|
|
|
5453
5422
|
fill: "currentColor",
|
|
5454
5423
|
viewBox: "0 0 24 24",
|
|
5455
5424
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5456
|
-
children: /* @__PURE__ */
|
|
5425
|
+
children: /* @__PURE__ */ y.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
|
|
5457
5426
|
}
|
|
5458
5427
|
) })
|
|
5459
5428
|
] }),
|
|
5460
|
-
/* @__PURE__ */
|
|
5429
|
+
/* @__PURE__ */ y.jsx("div", { "grid-month": "", children: A.map((p, M) => /* @__PURE__ */ y.jsx(
|
|
5461
5430
|
"span",
|
|
5462
5431
|
{
|
|
5463
5432
|
onClick: () => {
|
|
5464
5433
|
S(p);
|
|
5465
5434
|
},
|
|
5466
5435
|
color: N(p),
|
|
5467
|
-
children: /* @__PURE__ */
|
|
5436
|
+
children: /* @__PURE__ */ y.jsx("b", { children: pa(p).abc })
|
|
5468
5437
|
},
|
|
5469
|
-
|
|
5438
|
+
M
|
|
5470
5439
|
)) })
|
|
5471
5440
|
] })
|
|
5472
5441
|
] });
|
|
5473
5442
|
};
|
|
5474
|
-
function
|
|
5475
|
-
i === void 0 ? (i =
|
|
5443
|
+
function da(n, i) {
|
|
5444
|
+
i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
|
|
5476
5445
|
let c = {
|
|
5477
|
-
yyyy:
|
|
5478
|
-
yy: ("" +
|
|
5479
|
-
mm: ("0" + (
|
|
5480
|
-
dd: ("0" +
|
|
5481
|
-
HH: ("0" +
|
|
5482
|
-
MM: ("0" +
|
|
5483
|
-
SS: ("0" +
|
|
5446
|
+
yyyy: n.getFullYear(),
|
|
5447
|
+
yy: ("" + n.getFullYear()).slice(-2),
|
|
5448
|
+
mm: ("0" + (n.getMonth() + 1)).slice(-2),
|
|
5449
|
+
dd: ("0" + n.getDate()).slice(-2),
|
|
5450
|
+
HH: ("0" + n.getHours()).slice(-2),
|
|
5451
|
+
MM: ("0" + n.getMinutes()).slice(-2),
|
|
5452
|
+
SS: ("0" + n.getSeconds()).slice(-2),
|
|
5484
5453
|
__: " ",
|
|
5485
5454
|
_: " "
|
|
5486
5455
|
};
|
|
@@ -5488,13 +5457,13 @@ function fa(a, i) {
|
|
|
5488
5457
|
i = i.replace(u, c[u]);
|
|
5489
5458
|
return i;
|
|
5490
5459
|
}
|
|
5491
|
-
function
|
|
5460
|
+
function fa(n, i) {
|
|
5492
5461
|
let c = i + "";
|
|
5493
|
-
for (; c.length <
|
|
5462
|
+
for (; c.length < n; ) c = "0" + c;
|
|
5494
5463
|
return c;
|
|
5495
5464
|
}
|
|
5496
|
-
function pa(
|
|
5497
|
-
return
|
|
5465
|
+
function pa(n) {
|
|
5466
|
+
return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
|
|
5498
5467
|
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
5499
5468
|
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
5500
5469
|
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
@@ -5507,92 +5476,92 @@ function pa(a) {
|
|
|
5507
5476
|
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
5508
5477
|
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
5509
5478
|
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
5510
|
-
}[
|
|
5479
|
+
}[n];
|
|
5511
5480
|
}
|
|
5512
|
-
function
|
|
5513
|
-
value:
|
|
5481
|
+
function Oa({
|
|
5482
|
+
value: n,
|
|
5514
5483
|
onValue: i,
|
|
5515
5484
|
name: c,
|
|
5516
5485
|
placeholder: u = "",
|
|
5517
5486
|
title: v = "",
|
|
5518
5487
|
error: C = "",
|
|
5519
|
-
hide:
|
|
5488
|
+
hide: T = !1,
|
|
5520
5489
|
edit: x = !0,
|
|
5521
5490
|
active: s = !0,
|
|
5522
|
-
after:
|
|
5491
|
+
after: g = "",
|
|
5523
5492
|
show: o = !0,
|
|
5524
5493
|
course: d = 100,
|
|
5525
|
-
view:
|
|
5494
|
+
view: b,
|
|
5526
5495
|
type: S,
|
|
5527
5496
|
onSave: N,
|
|
5528
5497
|
className: A = "",
|
|
5529
5498
|
isClear: $ = !1
|
|
5530
5499
|
}) {
|
|
5531
|
-
let
|
|
5532
|
-
let
|
|
5533
|
-
|
|
5534
|
-
},
|
|
5500
|
+
let O = !!(T && (n === "" || n === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), M = (R, h) => {
|
|
5501
|
+
let k = document.createRange(), I = window.getSelection();
|
|
5502
|
+
k.setStart(h.childNodes[0], R), k.collapse(!0), I.removeAllRanges(), I.addRange(k), h.focus();
|
|
5503
|
+
}, K = (R) => {
|
|
5535
5504
|
i == null || i({
|
|
5536
5505
|
value: p(R.target.textContent) * d,
|
|
5537
5506
|
name: c
|
|
5538
|
-
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 &&
|
|
5539
|
-
},
|
|
5507
|
+
}), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && M(R.target.textContent.length, R.target);
|
|
5508
|
+
}, G = (R) => {
|
|
5540
5509
|
te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }), i == null || i({
|
|
5541
5510
|
value: p(R.target.textContent) * d,
|
|
5542
5511
|
name: c
|
|
5543
|
-
}), R.target.textContent =
|
|
5512
|
+
}), R.target.textContent = zt(R.target.textContent);
|
|
5544
5513
|
}, L = (R) => {
|
|
5545
5514
|
R.target.textContent = p(R.target.textContent);
|
|
5546
|
-
},
|
|
5515
|
+
}, q = (R) => {
|
|
5547
5516
|
R.currentTarget.previousElementSibling.textContent = "", i == null || i({
|
|
5548
5517
|
value: 0,
|
|
5549
5518
|
name: c
|
|
5550
5519
|
});
|
|
5551
5520
|
}, E = (R) => {
|
|
5552
5521
|
R.key === "Enter" && R.preventDefault();
|
|
5553
|
-
},
|
|
5554
|
-
R.preventDefault(), navigator.clipboard.readText().then((
|
|
5555
|
-
|
|
5556
|
-
}).catch((
|
|
5522
|
+
}, D = (R) => {
|
|
5523
|
+
R.preventDefault(), navigator.clipboard.readText().then((h) => {
|
|
5524
|
+
h = h.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, h);
|
|
5525
|
+
}).catch((h) => {
|
|
5557
5526
|
});
|
|
5558
5527
|
};
|
|
5559
|
-
if (!(x && s) && !o || !(x && s) &&
|
|
5528
|
+
if (!(x && s) && !o || !(x && s) && O) return "";
|
|
5560
5529
|
const W = {};
|
|
5561
|
-
return W.inputMode = "decimal", u && (W.placeholder = u), x && s && (W.edit = ""), /* @__PURE__ */
|
|
5530
|
+
return W.inputMode = "decimal", u && (W.placeholder = u), x && s && (W.edit = ""), /* @__PURE__ */ y.jsxs(
|
|
5562
5531
|
"dl",
|
|
5563
5532
|
{
|
|
5564
5533
|
"data-field": "date",
|
|
5565
|
-
className: [
|
|
5534
|
+
className: [H.l, A].filter((R) => R !== void 0).join(" "),
|
|
5566
5535
|
children: [
|
|
5567
|
-
v ? /* @__PURE__ */
|
|
5568
|
-
/* @__PURE__ */
|
|
5536
|
+
v ? /* @__PURE__ */ y.jsx("dt", { className: H.t, children: v }) : "",
|
|
5537
|
+
/* @__PURE__ */ y.jsx(
|
|
5569
5538
|
"dd",
|
|
5570
5539
|
{
|
|
5571
5540
|
...W,
|
|
5572
|
-
className: [
|
|
5573
|
-
onInput:
|
|
5574
|
-
onPaste:
|
|
5575
|
-
onBlur:
|
|
5541
|
+
className: [H.f, H.w].join(" "),
|
|
5542
|
+
onInput: K,
|
|
5543
|
+
onPaste: D,
|
|
5544
|
+
onBlur: G,
|
|
5576
5545
|
onKeyDown: E,
|
|
5577
5546
|
onFocus: L,
|
|
5578
5547
|
contentEditable: x && s ? te.ContentEditable : "false",
|
|
5579
5548
|
suppressContentEditableWarning: !0,
|
|
5580
|
-
"data-after":
|
|
5581
|
-
children: !u ||
|
|
5549
|
+
"data-after": g,
|
|
5550
|
+
children: !u || n ? zt(n) : ""
|
|
5582
5551
|
}
|
|
5583
5552
|
),
|
|
5584
|
-
$ && /* @__PURE__ */
|
|
5585
|
-
C ? /* @__PURE__ */
|
|
5553
|
+
$ && /* @__PURE__ */ y.jsx("svg", { "action-type": "delete", onClick: q, viewBox: "0 0 24 24", children: /* @__PURE__ */ y.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
|
|
5554
|
+
C ? /* @__PURE__ */ y.jsx("em", { children: C }) : ""
|
|
5586
5555
|
]
|
|
5587
5556
|
}
|
|
5588
5557
|
);
|
|
5589
5558
|
}
|
|
5590
|
-
function
|
|
5591
|
-
return parseFloat(
|
|
5559
|
+
function zt(n, i) {
|
|
5560
|
+
return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
5592
5561
|
}
|
|
5593
5562
|
const he = {};
|
|
5594
|
-
function
|
|
5595
|
-
const [i, c] =
|
|
5563
|
+
function Ta(n) {
|
|
5564
|
+
const [i, c] = U.useState({}), u = U.useRef(n);
|
|
5596
5565
|
return he.u = (v) => {
|
|
5597
5566
|
u.current = { ...u.current, [v.name]: v.value };
|
|
5598
5567
|
}, he.n = (v) => {
|
|
@@ -5601,14 +5570,14 @@ function Da(a) {
|
|
|
5601
5570
|
c(Date.now());
|
|
5602
5571
|
}, [u.current, he.n];
|
|
5603
5572
|
}
|
|
5604
|
-
function
|
|
5605
|
-
he.u(
|
|
5573
|
+
function Da(n) {
|
|
5574
|
+
he.u(n), n.reload && he.r();
|
|
5606
5575
|
}
|
|
5607
|
-
function
|
|
5576
|
+
function Pa() {
|
|
5608
5577
|
he.r && he.r();
|
|
5609
5578
|
}
|
|
5610
|
-
function
|
|
5611
|
-
const [i, c] =
|
|
5579
|
+
function Na(n) {
|
|
5580
|
+
const [i, c] = U.useState({}), u = U.useRef(n);
|
|
5612
5581
|
return he.u = (v) => {
|
|
5613
5582
|
u.current = { ...u.current, [v.name]: v.value };
|
|
5614
5583
|
}, he.n = (v) => {
|
|
@@ -5619,27 +5588,27 @@ function Fa(a) {
|
|
|
5619
5588
|
c(Date.now());
|
|
5620
5589
|
}, [u.current, he.n];
|
|
5621
5590
|
}
|
|
5622
|
-
function
|
|
5591
|
+
function It() {
|
|
5623
5592
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
5624
5593
|
}
|
|
5625
|
-
|
|
5626
|
-
Object.assign(
|
|
5594
|
+
It().elcrm || (It().elcrm = {});
|
|
5595
|
+
Object.assign(It().elcrm, { form: Vt.version });
|
|
5627
5596
|
export {
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5597
|
+
Ra as Date,
|
|
5598
|
+
xa as Mask,
|
|
5599
|
+
ka as Modal,
|
|
5600
|
+
Oa as Money,
|
|
5601
|
+
Ea as Month,
|
|
5602
|
+
Ca as Note,
|
|
5603
|
+
ja as Number,
|
|
5604
|
+
ha as Options,
|
|
5605
|
+
wa as Password,
|
|
5606
|
+
Sa as Phone,
|
|
5607
|
+
va as Progress,
|
|
5608
|
+
ba as Select,
|
|
5609
|
+
ga as String,
|
|
5610
|
+
Pa as runReload,
|
|
5611
|
+
Da as setValue,
|
|
5612
|
+
Ta as useData,
|
|
5613
|
+
Na as useError
|
|
5645
5614
|
};
|