@elcrm/telegram 0.0.103 → 0.0.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +504 -498
- package/dist/index.umd.js +14 -14
- package/package.json +1 -1
- /package/dist/Madal/{index.d.ts → Modal.d.ts} +0 -0
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import F, { useState as
|
|
1
|
+
import F, { useState as J, useEffect as fe } from "react";
|
|
2
2
|
import { createPortal as nr } from "react-dom";
|
|
3
|
-
import './index.css';var Ft = { exports: {} },
|
|
3
|
+
import './index.css';var Ft = { exports: {} }, et = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -12,19 +12,19 @@ import './index.css';var Ft = { exports: {} }, Qe = {};
|
|
|
12
12
|
*/
|
|
13
13
|
var Ut;
|
|
14
14
|
function or() {
|
|
15
|
-
if (Ut) return
|
|
15
|
+
if (Ut) return et;
|
|
16
16
|
Ut = 1;
|
|
17
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"),
|
|
17
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
18
|
function k(b, u, S) {
|
|
19
|
-
var h,
|
|
19
|
+
var h, g = {}, m = null, w = null;
|
|
20
20
|
S !== void 0 && (m = "" + S), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (w = u.ref);
|
|
21
|
-
for (h in u)
|
|
22
|
-
if (b && b.defaultProps) for (h in u = b.defaultProps, u)
|
|
23
|
-
return { $$typeof: n, type: b, key: m, ref: w, props:
|
|
21
|
+
for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (g[h] = u[h]);
|
|
22
|
+
if (b && b.defaultProps) for (h in u = b.defaultProps, u) g[h] === void 0 && (g[h] = u[h]);
|
|
23
|
+
return { $$typeof: n, type: b, key: m, ref: w, props: g, _owner: l.current };
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return et.Fragment = a, et.jsx = k, et.jsxs = k, et;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var tt = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -37,11 +37,11 @@ var et = {};
|
|
|
37
37
|
var Yt;
|
|
38
38
|
function ar() {
|
|
39
39
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"),
|
|
40
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), I = Symbol.iterator, we = "@@iterator";
|
|
41
41
|
function pe(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var t = I && e[I] || e[
|
|
44
|
+
var t = I && e[I] || e[we];
|
|
45
45
|
return typeof t == "function" ? t : null;
|
|
46
46
|
}
|
|
47
47
|
var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -49,23 +49,23 @@ function ar() {
|
|
|
49
49
|
{
|
|
50
50
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
|
|
51
51
|
o[s - 1] = arguments[s];
|
|
52
|
-
|
|
52
|
+
Te("error", e, o);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Te(e, t, o) {
|
|
56
56
|
{
|
|
57
57
|
var s = W.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
58
58
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
59
|
-
var
|
|
59
|
+
var y = o.map(function(d) {
|
|
60
60
|
return String(d);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var $e = !1, Oe = !1, Ne = !1, Be = !1, _ = !1, E;
|
|
66
66
|
E = Symbol.for("react.module.reference");
|
|
67
67
|
function N(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === S || e === h || Be || e === w || $e || Oe || Ne || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === g || e.$$typeof === k || e.$$typeof === b || e.$$typeof === u || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
@@ -89,13 +89,13 @@ function ar() {
|
|
|
89
89
|
if (typeof e == "string")
|
|
90
90
|
return e;
|
|
91
91
|
switch (e) {
|
|
92
|
-
case
|
|
92
|
+
case c:
|
|
93
93
|
return "Fragment";
|
|
94
94
|
case a:
|
|
95
95
|
return "Portal";
|
|
96
96
|
case p:
|
|
97
97
|
return "Profiler";
|
|
98
|
-
case
|
|
98
|
+
case l:
|
|
99
99
|
return "StrictMode";
|
|
100
100
|
case S:
|
|
101
101
|
return "Suspense";
|
|
@@ -112,13 +112,13 @@ function ar() {
|
|
|
112
112
|
return B(o._context) + ".Provider";
|
|
113
113
|
case u:
|
|
114
114
|
return M(e, e.render, "ForwardRef");
|
|
115
|
-
case
|
|
115
|
+
case g:
|
|
116
116
|
var s = e.displayName || null;
|
|
117
117
|
return s !== null ? s : T(e.type) || "Memo";
|
|
118
118
|
case m: {
|
|
119
|
-
var v = e,
|
|
119
|
+
var v = e, y = v._payload, d = v._init;
|
|
120
120
|
try {
|
|
121
|
-
return T(d(
|
|
121
|
+
return T(d(y));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,18 +126,18 @@ function ar() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var D = Object.assign, Y = 0, ce, Z, X, Q, ee,
|
|
130
|
-
function
|
|
129
|
+
var D = Object.assign, Y = 0, ce, Z, X, Q, ee, Ie, Me;
|
|
130
|
+
function De() {
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
function
|
|
132
|
+
De.__reactDisabledLog = !0;
|
|
133
|
+
function ut() {
|
|
134
134
|
{
|
|
135
135
|
if (Y === 0) {
|
|
136
|
-
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group,
|
|
136
|
+
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Ie = console.groupCollapsed, Me = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: De,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -153,7 +153,7 @@ function ar() {
|
|
|
153
153
|
Y++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function ft() {
|
|
157
157
|
{
|
|
158
158
|
if (Y--, Y === 0) {
|
|
159
159
|
var e = {
|
|
@@ -178,10 +178,10 @@ function ar() {
|
|
|
178
178
|
value: ee
|
|
179
179
|
}),
|
|
180
180
|
groupCollapsed: D({}, e, {
|
|
181
|
-
value:
|
|
181
|
+
value: Ie
|
|
182
182
|
}),
|
|
183
183
|
groupEnd: D({}, e, {
|
|
184
|
-
value:
|
|
184
|
+
value: Me
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
@@ -204,10 +204,10 @@ function ar() {
|
|
|
204
204
|
}
|
|
205
205
|
var ge = !1, ne;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
ne = new
|
|
207
|
+
var dt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
ne = new dt();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Fe(e, t) {
|
|
211
211
|
if (!e || ge)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
@@ -219,8 +219,8 @@ function ar() {
|
|
|
219
219
|
ge = !0;
|
|
220
220
|
var v = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var y;
|
|
223
|
+
y = ve.current, ve.current = null, ut();
|
|
224
224
|
try {
|
|
225
225
|
if (t) {
|
|
226
226
|
var d = function() {
|
|
@@ -273,15 +273,15 @@ function ar() {
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
ge = !1, ve.current =
|
|
276
|
+
ge = !1, ve.current = y, ft(), Error.prepareStackTrace = v;
|
|
277
277
|
}
|
|
278
278
|
var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
|
|
279
279
|
return typeof e == "function" && ne.set(e, L), L;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function pt(e, t, o) {
|
|
282
|
+
return Fe(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function vt(e) {
|
|
285
285
|
var t = e.prototype;
|
|
286
286
|
return !!(t && t.isReactComponent);
|
|
287
287
|
}
|
|
@@ -289,7 +289,7 @@ function ar() {
|
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return Fe(e, vt(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return re(e);
|
|
295
295
|
switch (e) {
|
|
@@ -301,32 +301,32 @@ function ar() {
|
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case u:
|
|
304
|
-
return
|
|
305
|
-
case
|
|
304
|
+
return pt(e.render);
|
|
305
|
+
case g:
|
|
306
306
|
return oe(e.type, t, o);
|
|
307
307
|
case m: {
|
|
308
|
-
var s = e, v = s._payload,
|
|
308
|
+
var s = e, v = s._payload, y = s._init;
|
|
309
309
|
try {
|
|
310
|
-
return oe(
|
|
310
|
+
return oe(y(v), t, o);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var
|
|
317
|
+
var K = Object.prototype.hasOwnProperty, We = {}, Le = W.ReactDebugCurrentFrame;
|
|
318
318
|
function ae(e) {
|
|
319
319
|
if (e) {
|
|
320
320
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
321
|
-
|
|
321
|
+
Le.setExtraStackFrame(o);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
Le.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function ht(e, t, o, s, v) {
|
|
326
326
|
{
|
|
327
|
-
var
|
|
327
|
+
var y = Function.call.bind(K);
|
|
328
328
|
for (var d in e)
|
|
329
|
-
if (
|
|
329
|
+
if (y(e, d)) {
|
|
330
330
|
var f = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[d] != "function") {
|
|
@@ -337,63 +337,63 @@ function ar() {
|
|
|
337
337
|
} catch (R) {
|
|
338
338
|
f = R;
|
|
339
339
|
}
|
|
340
|
-
f && !(f instanceof Error) && (ae(v), j("%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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in
|
|
340
|
+
f && !(f instanceof Error) && (ae(v), j("%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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in We) && (We[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
344
|
+
var gt = Array.isArray;
|
|
345
345
|
function ye(e) {
|
|
346
|
-
return
|
|
346
|
+
return gt(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function yt(e) {
|
|
349
349
|
{
|
|
350
350
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return o;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function mt(e) {
|
|
355
355
|
try {
|
|
356
|
-
return
|
|
356
|
+
return Ue(e), !1;
|
|
357
357
|
} catch {
|
|
358
358
|
return !0;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ue(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
if (
|
|
366
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
364
|
+
function Ye(e) {
|
|
365
|
+
if (mt(e))
|
|
366
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yt(e)), Ue(e);
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var Ve = W.ReactCurrentOwner, bt = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
function
|
|
375
|
-
if (
|
|
373
|
+
}, ze, qe;
|
|
374
|
+
function _t(e) {
|
|
375
|
+
if (K.call(e, "ref")) {
|
|
376
376
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (t && t.isReactWarning)
|
|
378
378
|
return !1;
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
if (
|
|
382
|
+
function Rt(e) {
|
|
383
|
+
if (K.call(e, "key")) {
|
|
384
384
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (t && t.isReactWarning)
|
|
386
386
|
return !1;
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function Rt(e, t) {
|
|
391
|
-
typeof e.ref == "string" && Ye.current;
|
|
392
|
-
}
|
|
393
390
|
function St(e, t) {
|
|
391
|
+
typeof e.ref == "string" && Ve.current;
|
|
392
|
+
}
|
|
393
|
+
function kt(e, t) {
|
|
394
394
|
{
|
|
395
395
|
var o = function() {
|
|
396
|
-
|
|
396
|
+
ze || (ze = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
397
397
|
};
|
|
398
398
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
399
|
get: o,
|
|
@@ -401,10 +401,10 @@ function ar() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function xt(e, t) {
|
|
405
405
|
{
|
|
406
406
|
var o = function() {
|
|
407
|
-
|
|
407
|
+
qe || (qe = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
408
408
|
};
|
|
409
409
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
410
|
get: o,
|
|
@@ -412,7 +412,7 @@ function ar() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var Et = function(e, t, o, s, v, y, d) {
|
|
416
416
|
var f = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: n,
|
|
@@ -422,7 +422,7 @@ function ar() {
|
|
|
422
422
|
ref: o,
|
|
423
423
|
props: d,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
|
-
_owner:
|
|
425
|
+
_owner: y
|
|
426
426
|
};
|
|
427
427
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
428
428
|
configurable: !1,
|
|
@@ -441,38 +441,38 @@ function ar() {
|
|
|
441
441
|
value: v
|
|
442
442
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function jt(e, t, o, s, v) {
|
|
445
445
|
{
|
|
446
|
-
var
|
|
447
|
-
o !== void 0 && (
|
|
448
|
-
for (
|
|
449
|
-
|
|
446
|
+
var y, d = {}, f = null, O = null;
|
|
447
|
+
o !== void 0 && (Ye(o), f = "" + o), Rt(t) && (Ye(t.key), f = "" + t.key), _t(t) && (O = t.ref, St(t, v));
|
|
448
|
+
for (y in t)
|
|
449
|
+
K.call(t, y) && !bt.hasOwnProperty(y) && (d[y] = t[y]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var R = e.defaultProps;
|
|
452
|
-
for (
|
|
453
|
-
d[
|
|
452
|
+
for (y in R)
|
|
453
|
+
d[y] === void 0 && (d[y] = R[y]);
|
|
454
454
|
}
|
|
455
455
|
if (f || O) {
|
|
456
456
|
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
f &&
|
|
457
|
+
f && kt(d, x), O && xt(d, x);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return Et(e, f, O, v, s, Ve.current, d);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var me = W.ReactCurrentOwner,
|
|
462
|
+
var me = W.ReactCurrentOwner, He = W.ReactDebugCurrentFrame;
|
|
463
463
|
function V(e) {
|
|
464
464
|
if (e) {
|
|
465
465
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
466
|
-
|
|
466
|
+
He.setExtraStackFrame(o);
|
|
467
467
|
} else
|
|
468
|
-
|
|
468
|
+
He.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
470
|
var be;
|
|
471
471
|
be = !1;
|
|
472
472
|
function _e(e) {
|
|
473
473
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Je() {
|
|
476
476
|
{
|
|
477
477
|
if (me.current) {
|
|
478
478
|
var e = T(me.current.type);
|
|
@@ -484,13 +484,13 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Ot(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
|
-
var
|
|
491
|
-
function
|
|
490
|
+
var Ke = {};
|
|
491
|
+
function At(e) {
|
|
492
492
|
{
|
|
493
|
-
var t =
|
|
493
|
+
var t = Je();
|
|
494
494
|
if (!t) {
|
|
495
495
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
496
496
|
o && (t = `
|
|
@@ -500,39 +500,39 @@ Check the top-level render call using <` + o + ">.");
|
|
|
500
500
|
return t;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Ge(e, t) {
|
|
504
504
|
{
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var o =
|
|
509
|
-
if (
|
|
508
|
+
var o = At(t);
|
|
509
|
+
if (Ke[o])
|
|
510
510
|
return;
|
|
511
|
-
|
|
511
|
+
Ke[o] = !0;
|
|
512
512
|
var s = "";
|
|
513
513
|
e && e._owner && e._owner !== me.current && (s = " It was passed a child from " + T(e._owner.type) + "."), V(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, s), V(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Ze(e, t) {
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
520
|
if (ye(e))
|
|
521
521
|
for (var o = 0; o < e.length; o++) {
|
|
522
522
|
var s = e[o];
|
|
523
|
-
_e(s) &&
|
|
523
|
+
_e(s) && Ge(s, t);
|
|
524
524
|
}
|
|
525
525
|
else if (_e(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
528
|
var v = pe(e);
|
|
529
529
|
if (typeof v == "function" && v !== e.entries)
|
|
530
|
-
for (var
|
|
531
|
-
_e(d.value) &&
|
|
530
|
+
for (var y = v.call(e), d; !(d = y.next()).done; )
|
|
531
|
+
_e(d.value) && Ge(d.value, t);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Ct(e) {
|
|
536
536
|
{
|
|
537
537
|
var t = e.type;
|
|
538
538
|
if (t == null || typeof t == "string")
|
|
@@ -542,13 +542,13 @@ Check the top-level render call using <` + o + ">.");
|
|
|
542
542
|
o = t.propTypes;
|
|
543
543
|
else if (typeof t == "object" && (t.$$typeof === u || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
|
-
t.$$typeof ===
|
|
545
|
+
t.$$typeof === g))
|
|
546
546
|
o = t.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
549
|
if (o) {
|
|
550
550
|
var s = T(t);
|
|
551
|
-
|
|
551
|
+
ht(o, e.props, "prop", s, e);
|
|
552
552
|
} else if (t.PropTypes !== void 0 && !be) {
|
|
553
553
|
be = !0;
|
|
554
554
|
var v = T(t);
|
|
@@ -557,7 +557,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
557
557
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function Pt(e) {
|
|
561
561
|
{
|
|
562
562
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
563
563
|
var s = t[o];
|
|
@@ -569,19 +569,19 @@ Check the top-level render call using <` + o + ">.");
|
|
|
569
569
|
e.ref !== null && (V(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
572
|
+
var Xe = {};
|
|
573
|
+
function Qe(e, t, o, s, v, y) {
|
|
574
574
|
{
|
|
575
575
|
var d = N(e);
|
|
576
576
|
if (!d) {
|
|
577
577
|
var f = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
|
-
var O =
|
|
580
|
-
O ? f += O : f +=
|
|
579
|
+
var O = Ot();
|
|
580
|
+
O ? f += O : f += Je();
|
|
581
581
|
var R;
|
|
582
582
|
e === null ? R = "null" : ye(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + (T(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, f);
|
|
583
583
|
}
|
|
584
|
-
var x =
|
|
584
|
+
var x = jt(e, t, o, v, y);
|
|
585
585
|
if (x == null)
|
|
586
586
|
return x;
|
|
587
587
|
if (d) {
|
|
@@ -590,42 +590,47 @@ Check the top-level render call using <` + o + ">.");
|
|
|
590
590
|
if (s)
|
|
591
591
|
if (ye(P)) {
|
|
592
592
|
for (var z = 0; z < P.length; z++)
|
|
593
|
-
|
|
593
|
+
Ze(P[z], e);
|
|
594
594
|
Object.freeze && Object.freeze(P);
|
|
595
595
|
} else
|
|
596
596
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
597
597
|
else
|
|
598
|
-
|
|
598
|
+
Ze(P, e);
|
|
599
599
|
}
|
|
600
|
-
if (
|
|
601
|
-
var L = T(e), C = Object.keys(t).filter(function(
|
|
602
|
-
return
|
|
600
|
+
if (K.call(t, "key")) {
|
|
601
|
+
var L = T(e), C = Object.keys(t).filter(function(It) {
|
|
602
|
+
return It !== "key";
|
|
603
603
|
}), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
-
if (!
|
|
605
|
-
var
|
|
604
|
+
if (!Xe[L + Re]) {
|
|
605
|
+
var Bt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
606
606
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`, Re, L,
|
|
611
|
+
<%s key={someKey} {...props} />`, Re, L, Bt, L), Xe[L + Re] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e ===
|
|
614
|
+
return e === c ? Pt(x) : Ct(x), x;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function Pt(e, t, o) {
|
|
618
|
-
return Xe(e, t, o, !0);
|
|
619
|
-
}
|
|
620
617
|
function wt(e, t, o) {
|
|
621
|
-
return
|
|
618
|
+
return Qe(e, t, o, !0);
|
|
622
619
|
}
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
620
|
+
function Tt(e, t, o) {
|
|
621
|
+
return Qe(e, t, o, !1);
|
|
622
|
+
}
|
|
623
|
+
var $t = Tt, Nt = wt;
|
|
624
|
+
tt.Fragment = c, tt.jsx = $t, tt.jsxs = Nt;
|
|
625
|
+
}()), tt;
|
|
626
626
|
}
|
|
627
627
|
process.env.NODE_ENV === "production" ? Ft.exports = or() : Ft.exports = ar();
|
|
628
628
|
var i = Ft.exports;
|
|
629
|
+
const sr = "_o_15jl5_2", ir = "_x_15jl5_16", lr = "_p_15jl5_20", ot = {
|
|
630
|
+
o: sr,
|
|
631
|
+
x: ir,
|
|
632
|
+
p: lr
|
|
633
|
+
};
|
|
629
634
|
let q = {};
|
|
630
635
|
var Wt;
|
|
631
636
|
((r) => {
|
|
@@ -634,33 +639,33 @@ var Wt;
|
|
|
634
639
|
onCallbackModal: u,
|
|
635
640
|
nameModal: S
|
|
636
641
|
}) {
|
|
637
|
-
const [h,
|
|
642
|
+
const [h, g] = J(!1), [m, w] = J(!1);
|
|
638
643
|
if (q[S].onClose = () => {
|
|
639
644
|
$.BackButton(!1), w(!0), setTimeout(() => {
|
|
640
|
-
|
|
645
|
+
g(!1), w(!1), u == null || u(), q.x(S);
|
|
641
646
|
}, 300);
|
|
642
647
|
}, fe(() => {
|
|
643
648
|
h ? q[S].onClose() : ($.BackButton({
|
|
644
649
|
callback: () => q[S].onClose()
|
|
645
|
-
}),
|
|
650
|
+
}), g(!0));
|
|
646
651
|
}, []), !!h)
|
|
647
|
-
return /* @__PURE__ */ i.jsx("div", { className:
|
|
652
|
+
return /* @__PURE__ */ i.jsx("div", { className: Pe(ot.o, m && ot.x), children: /* @__PURE__ */ i.jsx("div", { className: Pe(ot.p, m && ot.x), children: /* @__PURE__ */ i.jsx("div", { children: b }) }) });
|
|
648
653
|
}
|
|
649
654
|
r.Content = n;
|
|
650
655
|
function a({
|
|
651
656
|
import_modules: b
|
|
652
657
|
}) {
|
|
653
|
-
let [u, S] =
|
|
658
|
+
let [u, S] = J([]);
|
|
654
659
|
return q.x = (h) => {
|
|
655
|
-
S(h ? u.filter((
|
|
660
|
+
S(h ? u.filter((g) => g.key !== h) : []);
|
|
656
661
|
}, fe(() => {
|
|
657
662
|
b && (q.i = b);
|
|
658
|
-
}, []), q.add = (h,
|
|
659
|
-
S([...u, { key:
|
|
663
|
+
}, []), q.add = (h, g = Date.now()) => {
|
|
664
|
+
S([...u, { key: g, item: h }]);
|
|
660
665
|
}, /* @__PURE__ */ i.jsx(i.Fragment, { children: u.map((h) => h.item) });
|
|
661
666
|
}
|
|
662
667
|
r.Init = a;
|
|
663
|
-
function
|
|
668
|
+
function c(b, u) {
|
|
664
669
|
q.add(
|
|
665
670
|
/* @__PURE__ */ i.jsx(
|
|
666
671
|
n,
|
|
@@ -674,18 +679,18 @@ var Wt;
|
|
|
674
679
|
u
|
|
675
680
|
);
|
|
676
681
|
}
|
|
677
|
-
r.Add =
|
|
678
|
-
function
|
|
682
|
+
r.Add = c;
|
|
683
|
+
function l(b, u = Date.now().toString()) {
|
|
679
684
|
return q[u] = {}, {
|
|
680
|
-
Open: (
|
|
685
|
+
Open: (g) => {
|
|
681
686
|
r.Add(
|
|
682
687
|
/* @__PURE__ */ i.jsx(
|
|
683
688
|
b,
|
|
684
689
|
{
|
|
685
|
-
...
|
|
690
|
+
...g,
|
|
686
691
|
onCallbackModal: (m) => {
|
|
687
692
|
var w;
|
|
688
|
-
(w =
|
|
693
|
+
(w = g.callback) == null || w.call(g, m);
|
|
689
694
|
},
|
|
690
695
|
nameModal: u
|
|
691
696
|
},
|
|
@@ -696,14 +701,14 @@ var Wt;
|
|
|
696
701
|
}
|
|
697
702
|
};
|
|
698
703
|
}
|
|
699
|
-
r.Create =
|
|
704
|
+
r.Create = l;
|
|
700
705
|
function p(b) {
|
|
701
706
|
q[b].onClose();
|
|
702
707
|
}
|
|
703
708
|
r.Close = p;
|
|
704
709
|
function k(b, u, S, h) {
|
|
705
|
-
q.i && (h && (S.callback = h), q.i(`${b}/modals/${u}.tsx`).then((
|
|
706
|
-
|
|
710
|
+
q.i && (h && (S.callback = h), q.i(`${b}/modals/${u}.tsx`).then((g) => {
|
|
711
|
+
g.default.Open(S);
|
|
707
712
|
}));
|
|
708
713
|
}
|
|
709
714
|
r.Open = k;
|
|
@@ -720,71 +725,71 @@ function Vt(r) {
|
|
|
720
725
|
const n = Zt();
|
|
721
726
|
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...Xt, ...r };
|
|
722
727
|
}
|
|
723
|
-
function
|
|
728
|
+
function it() {
|
|
724
729
|
return Zt().CRYPTO_PARAMS || Xt;
|
|
725
730
|
}
|
|
726
|
-
const
|
|
731
|
+
const lt = (r) => {
|
|
727
732
|
let n = 0;
|
|
728
|
-
for (let
|
|
729
|
-
const
|
|
730
|
-
n = (n << 5) - n +
|
|
733
|
+
for (let c = 0; c < r.length; c++) {
|
|
734
|
+
const l = r.charCodeAt(c);
|
|
735
|
+
n = (n << 5) - n + l, n = n & n;
|
|
731
736
|
}
|
|
732
737
|
n = Math.abs(n);
|
|
733
738
|
let a = "";
|
|
734
|
-
for (let
|
|
735
|
-
const
|
|
736
|
-
a +=
|
|
739
|
+
for (let c = 0; c < 64; c++) {
|
|
740
|
+
const l = (n ^ c * 197) & 255;
|
|
741
|
+
a += l.toString(16).padStart(2, "0");
|
|
737
742
|
}
|
|
738
743
|
return a;
|
|
739
744
|
}, Qt = (r, n) => {
|
|
740
745
|
let a = r + n;
|
|
741
|
-
for (let
|
|
742
|
-
a =
|
|
743
|
-
const
|
|
744
|
-
for (let
|
|
745
|
-
l
|
|
746
|
-
return
|
|
746
|
+
for (let l = 0; l < it().iterations; l++)
|
|
747
|
+
a = lt(a);
|
|
748
|
+
const c = new Uint8Array(32);
|
|
749
|
+
for (let l = 0; l < 32; l++)
|
|
750
|
+
c[l] = parseInt(a.substring(l * 2, l * 2 + 2), 16);
|
|
751
|
+
return c;
|
|
747
752
|
}, er = (r, n) => {
|
|
748
|
-
const a = new Uint8Array(r.length),
|
|
749
|
-
let
|
|
753
|
+
const a = new Uint8Array(r.length), c = new Uint8Array(r.length);
|
|
754
|
+
let l = 0;
|
|
750
755
|
for (let p = 0; p < r.length; p++) {
|
|
751
756
|
const k = p % n.length;
|
|
752
|
-
|
|
757
|
+
l = n[k] + p + l & 255, c[p] = l;
|
|
753
758
|
}
|
|
754
759
|
for (let p = 0; p < r.length; p++)
|
|
755
|
-
a[p] = r[p] ^
|
|
760
|
+
a[p] = r[p] ^ c[p];
|
|
756
761
|
return a;
|
|
757
|
-
},
|
|
762
|
+
}, cr = (r) => new TextEncoder().encode(r), ur = (r) => new TextDecoder().decode(r), fr = (r) => {
|
|
758
763
|
let n = "";
|
|
759
764
|
for (let a = 0; a < r.length; a += 8192) {
|
|
760
|
-
const
|
|
761
|
-
n += String.fromCharCode.apply(null, Array.from(
|
|
765
|
+
const c = r.slice(a, Math.min(a + 8192, r.length));
|
|
766
|
+
n += String.fromCharCode.apply(null, Array.from(c));
|
|
762
767
|
}
|
|
763
768
|
return btoa(n);
|
|
764
|
-
},
|
|
769
|
+
}, dr = (r) => {
|
|
765
770
|
const n = atob(r), a = new Uint8Array(n.length);
|
|
766
|
-
for (let
|
|
767
|
-
a[
|
|
771
|
+
for (let c = 0; c < n.length; c++)
|
|
772
|
+
a[c] = n.charCodeAt(c);
|
|
768
773
|
return a;
|
|
769
|
-
},
|
|
774
|
+
}, pr = (r) => {
|
|
770
775
|
try {
|
|
771
|
-
const n =
|
|
776
|
+
const n = lt(
|
|
772
777
|
Date.now().toString() + Math.random()
|
|
773
|
-
).substring(0,
|
|
778
|
+
).substring(0, it().saltLength * 2), a = lt(r + n).substring(0, 8), c = Qt(it().key, n), l = cr(r), p = er(l, c), k = fr(p);
|
|
774
779
|
return `${n}.${k}.${a}`;
|
|
775
780
|
} catch {
|
|
776
781
|
throw new Error("Не удалось зашифровать данные");
|
|
777
782
|
}
|
|
778
|
-
},
|
|
783
|
+
}, vr = (r) => {
|
|
779
784
|
try {
|
|
780
785
|
const n = r.split(".");
|
|
781
786
|
if (n.length !== 3)
|
|
782
787
|
throw new Error("Неверный формат зашифрованных данных");
|
|
783
|
-
const a = n[0],
|
|
784
|
-
if (
|
|
788
|
+
const a = n[0], c = n[1], l = n[2], p = Qt(it().key, a), k = dr(c), b = er(k, p), u = ur(b);
|
|
789
|
+
if (lt(u + a).substring(
|
|
785
790
|
0,
|
|
786
791
|
8
|
|
787
|
-
) !==
|
|
792
|
+
) !== l)
|
|
788
793
|
throw new Error("Контрольная сумма не совпадает");
|
|
789
794
|
return u;
|
|
790
795
|
} catch {
|
|
@@ -798,7 +803,7 @@ var ue;
|
|
|
798
803
|
}, r.enCode = (n) => {
|
|
799
804
|
try {
|
|
800
805
|
const a = JSON.stringify(n);
|
|
801
|
-
return
|
|
806
|
+
return pr(a);
|
|
802
807
|
} catch {
|
|
803
808
|
throw new Error("Не удалось зашифровать объект");
|
|
804
809
|
}
|
|
@@ -806,7 +811,7 @@ var ue;
|
|
|
806
811
|
try {
|
|
807
812
|
if (!n || n.length < 10)
|
|
808
813
|
return !1;
|
|
809
|
-
const a =
|
|
814
|
+
const a = vr(n);
|
|
810
815
|
return a && JSON.parse(a) || !1;
|
|
811
816
|
} catch {
|
|
812
817
|
return !1;
|
|
@@ -815,7 +820,7 @@ var ue;
|
|
|
815
820
|
Vt({ iterations: n, saltLength: a });
|
|
816
821
|
};
|
|
817
822
|
})(ue || (ue = {}));
|
|
818
|
-
var
|
|
823
|
+
var rt = {};
|
|
819
824
|
/**
|
|
820
825
|
* @license React
|
|
821
826
|
* react-jsx-runtime.production.min.js
|
|
@@ -826,20 +831,20 @@ var tt = {};
|
|
|
826
831
|
* LICENSE file in the root directory of this source tree.
|
|
827
832
|
*/
|
|
828
833
|
var zt;
|
|
829
|
-
function
|
|
830
|
-
if (zt) return
|
|
834
|
+
function hr() {
|
|
835
|
+
if (zt) return rt;
|
|
831
836
|
zt = 1;
|
|
832
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"),
|
|
837
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
833
838
|
function k(b, u, S) {
|
|
834
|
-
var h,
|
|
839
|
+
var h, g = {}, m = null, w = null;
|
|
835
840
|
S !== void 0 && (m = "" + S), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (w = u.ref);
|
|
836
|
-
for (h in u)
|
|
837
|
-
if (b && b.defaultProps) for (h in u = b.defaultProps, u)
|
|
838
|
-
return { $$typeof: n, type: b, key: m, ref: w, props:
|
|
841
|
+
for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (g[h] = u[h]);
|
|
842
|
+
if (b && b.defaultProps) for (h in u = b.defaultProps, u) g[h] === void 0 && (g[h] = u[h]);
|
|
843
|
+
return { $$typeof: n, type: b, key: m, ref: w, props: g, _owner: l.current };
|
|
839
844
|
}
|
|
840
|
-
return
|
|
845
|
+
return rt.Fragment = a, rt.jsx = k, rt.jsxs = k, rt;
|
|
841
846
|
}
|
|
842
|
-
var
|
|
847
|
+
var at = {};
|
|
843
848
|
/**
|
|
844
849
|
* @license React
|
|
845
850
|
* react-jsx-runtime.development.js
|
|
@@ -850,13 +855,13 @@ var nt = {};
|
|
|
850
855
|
* LICENSE file in the root directory of this source tree.
|
|
851
856
|
*/
|
|
852
857
|
var qt;
|
|
853
|
-
function
|
|
858
|
+
function gr() {
|
|
854
859
|
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
855
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"),
|
|
860
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), I = Symbol.iterator, we = "@@iterator";
|
|
856
861
|
function pe(e) {
|
|
857
862
|
if (e === null || typeof e != "object")
|
|
858
863
|
return null;
|
|
859
|
-
var t = I && e[I] || e[
|
|
864
|
+
var t = I && e[I] || e[we];
|
|
860
865
|
return typeof t == "function" ? t : null;
|
|
861
866
|
}
|
|
862
867
|
var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -864,23 +869,23 @@ function pr() {
|
|
|
864
869
|
{
|
|
865
870
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
|
|
866
871
|
o[s - 1] = arguments[s];
|
|
867
|
-
|
|
872
|
+
Te("error", e, o);
|
|
868
873
|
}
|
|
869
874
|
}
|
|
870
|
-
function
|
|
875
|
+
function Te(e, t, o) {
|
|
871
876
|
{
|
|
872
877
|
var s = W.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
873
878
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
874
|
-
var
|
|
879
|
+
var y = o.map(function(d) {
|
|
875
880
|
return String(d);
|
|
876
881
|
});
|
|
877
|
-
|
|
882
|
+
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
878
883
|
}
|
|
879
884
|
}
|
|
880
|
-
var
|
|
885
|
+
var $e = !1, Oe = !1, Ne = !1, Be = !1, _ = !1, E;
|
|
881
886
|
E = Symbol.for("react.module.reference");
|
|
882
887
|
function N(e) {
|
|
883
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
888
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === S || e === h || Be || e === w || $e || Oe || Ne || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === g || e.$$typeof === k || e.$$typeof === b || e.$$typeof === u || // This needs to include all possible module reference object
|
|
884
889
|
// types supported by any Flight configuration anywhere since
|
|
885
890
|
// we don't know which Flight build this will end up being used
|
|
886
891
|
// with.
|
|
@@ -904,13 +909,13 @@ function pr() {
|
|
|
904
909
|
if (typeof e == "string")
|
|
905
910
|
return e;
|
|
906
911
|
switch (e) {
|
|
907
|
-
case
|
|
912
|
+
case c:
|
|
908
913
|
return "Fragment";
|
|
909
914
|
case a:
|
|
910
915
|
return "Portal";
|
|
911
916
|
case p:
|
|
912
917
|
return "Profiler";
|
|
913
|
-
case
|
|
918
|
+
case l:
|
|
914
919
|
return "StrictMode";
|
|
915
920
|
case S:
|
|
916
921
|
return "Suspense";
|
|
@@ -927,13 +932,13 @@ function pr() {
|
|
|
927
932
|
return B(o._context) + ".Provider";
|
|
928
933
|
case u:
|
|
929
934
|
return M(e, e.render, "ForwardRef");
|
|
930
|
-
case
|
|
935
|
+
case g:
|
|
931
936
|
var s = e.displayName || null;
|
|
932
937
|
return s !== null ? s : T(e.type) || "Memo";
|
|
933
938
|
case m: {
|
|
934
|
-
var v = e,
|
|
939
|
+
var v = e, y = v._payload, d = v._init;
|
|
935
940
|
try {
|
|
936
|
-
return T(d(
|
|
941
|
+
return T(d(y));
|
|
937
942
|
} catch {
|
|
938
943
|
return null;
|
|
939
944
|
}
|
|
@@ -941,18 +946,18 @@ function pr() {
|
|
|
941
946
|
}
|
|
942
947
|
return null;
|
|
943
948
|
}
|
|
944
|
-
var D = Object.assign, Y = 0, ce, Z, X, Q, ee,
|
|
945
|
-
function
|
|
949
|
+
var D = Object.assign, Y = 0, ce, Z, X, Q, ee, Ie, Me;
|
|
950
|
+
function De() {
|
|
946
951
|
}
|
|
947
|
-
|
|
948
|
-
function
|
|
952
|
+
De.__reactDisabledLog = !0;
|
|
953
|
+
function ut() {
|
|
949
954
|
{
|
|
950
955
|
if (Y === 0) {
|
|
951
|
-
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group,
|
|
956
|
+
ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Ie = console.groupCollapsed, Me = console.groupEnd;
|
|
952
957
|
var e = {
|
|
953
958
|
configurable: !0,
|
|
954
959
|
enumerable: !0,
|
|
955
|
-
value:
|
|
960
|
+
value: De,
|
|
956
961
|
writable: !0
|
|
957
962
|
};
|
|
958
963
|
Object.defineProperties(console, {
|
|
@@ -968,7 +973,7 @@ function pr() {
|
|
|
968
973
|
Y++;
|
|
969
974
|
}
|
|
970
975
|
}
|
|
971
|
-
function
|
|
976
|
+
function ft() {
|
|
972
977
|
{
|
|
973
978
|
if (Y--, Y === 0) {
|
|
974
979
|
var e = {
|
|
@@ -993,10 +998,10 @@ function pr() {
|
|
|
993
998
|
value: ee
|
|
994
999
|
}),
|
|
995
1000
|
groupCollapsed: D({}, e, {
|
|
996
|
-
value:
|
|
1001
|
+
value: Ie
|
|
997
1002
|
}),
|
|
998
1003
|
groupEnd: D({}, e, {
|
|
999
|
-
value:
|
|
1004
|
+
value: Me
|
|
1000
1005
|
})
|
|
1001
1006
|
});
|
|
1002
1007
|
}
|
|
@@ -1019,10 +1024,10 @@ function pr() {
|
|
|
1019
1024
|
}
|
|
1020
1025
|
var ge = !1, ne;
|
|
1021
1026
|
{
|
|
1022
|
-
var
|
|
1023
|
-
ne = new
|
|
1027
|
+
var dt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1028
|
+
ne = new dt();
|
|
1024
1029
|
}
|
|
1025
|
-
function
|
|
1030
|
+
function Fe(e, t) {
|
|
1026
1031
|
if (!e || ge)
|
|
1027
1032
|
return "";
|
|
1028
1033
|
{
|
|
@@ -1034,8 +1039,8 @@ function pr() {
|
|
|
1034
1039
|
ge = !0;
|
|
1035
1040
|
var v = Error.prepareStackTrace;
|
|
1036
1041
|
Error.prepareStackTrace = void 0;
|
|
1037
|
-
var
|
|
1038
|
-
|
|
1042
|
+
var y;
|
|
1043
|
+
y = ve.current, ve.current = null, ut();
|
|
1039
1044
|
try {
|
|
1040
1045
|
if (t) {
|
|
1041
1046
|
var d = function() {
|
|
@@ -1088,15 +1093,15 @@ function pr() {
|
|
|
1088
1093
|
}
|
|
1089
1094
|
}
|
|
1090
1095
|
} finally {
|
|
1091
|
-
ge = !1, ve.current =
|
|
1096
|
+
ge = !1, ve.current = y, ft(), Error.prepareStackTrace = v;
|
|
1092
1097
|
}
|
|
1093
1098
|
var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
|
|
1094
1099
|
return typeof e == "function" && ne.set(e, L), L;
|
|
1095
1100
|
}
|
|
1096
|
-
function
|
|
1097
|
-
return
|
|
1101
|
+
function pt(e, t, o) {
|
|
1102
|
+
return Fe(e, !1);
|
|
1098
1103
|
}
|
|
1099
|
-
function
|
|
1104
|
+
function vt(e) {
|
|
1100
1105
|
var t = e.prototype;
|
|
1101
1106
|
return !!(t && t.isReactComponent);
|
|
1102
1107
|
}
|
|
@@ -1104,7 +1109,7 @@ function pr() {
|
|
|
1104
1109
|
if (e == null)
|
|
1105
1110
|
return "";
|
|
1106
1111
|
if (typeof e == "function")
|
|
1107
|
-
return
|
|
1112
|
+
return Fe(e, vt(e));
|
|
1108
1113
|
if (typeof e == "string")
|
|
1109
1114
|
return re(e);
|
|
1110
1115
|
switch (e) {
|
|
@@ -1116,32 +1121,32 @@ function pr() {
|
|
|
1116
1121
|
if (typeof e == "object")
|
|
1117
1122
|
switch (e.$$typeof) {
|
|
1118
1123
|
case u:
|
|
1119
|
-
return
|
|
1120
|
-
case
|
|
1124
|
+
return pt(e.render);
|
|
1125
|
+
case g:
|
|
1121
1126
|
return oe(e.type, t, o);
|
|
1122
1127
|
case m: {
|
|
1123
|
-
var s = e, v = s._payload,
|
|
1128
|
+
var s = e, v = s._payload, y = s._init;
|
|
1124
1129
|
try {
|
|
1125
|
-
return oe(
|
|
1130
|
+
return oe(y(v), t, o);
|
|
1126
1131
|
} catch {
|
|
1127
1132
|
}
|
|
1128
1133
|
}
|
|
1129
1134
|
}
|
|
1130
1135
|
return "";
|
|
1131
1136
|
}
|
|
1132
|
-
var
|
|
1137
|
+
var K = Object.prototype.hasOwnProperty, We = {}, Le = W.ReactDebugCurrentFrame;
|
|
1133
1138
|
function ae(e) {
|
|
1134
1139
|
if (e) {
|
|
1135
1140
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
1136
|
-
|
|
1141
|
+
Le.setExtraStackFrame(o);
|
|
1137
1142
|
} else
|
|
1138
|
-
|
|
1143
|
+
Le.setExtraStackFrame(null);
|
|
1139
1144
|
}
|
|
1140
|
-
function
|
|
1145
|
+
function ht(e, t, o, s, v) {
|
|
1141
1146
|
{
|
|
1142
|
-
var
|
|
1147
|
+
var y = Function.call.bind(K);
|
|
1143
1148
|
for (var d in e)
|
|
1144
|
-
if (
|
|
1149
|
+
if (y(e, d)) {
|
|
1145
1150
|
var f = void 0;
|
|
1146
1151
|
try {
|
|
1147
1152
|
if (typeof e[d] != "function") {
|
|
@@ -1152,63 +1157,63 @@ function pr() {
|
|
|
1152
1157
|
} catch (R) {
|
|
1153
1158
|
f = R;
|
|
1154
1159
|
}
|
|
1155
|
-
f && !(f instanceof Error) && (ae(v), j("%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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in
|
|
1160
|
+
f && !(f instanceof Error) && (ae(v), j("%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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in We) && (We[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
|
|
1156
1161
|
}
|
|
1157
1162
|
}
|
|
1158
1163
|
}
|
|
1159
|
-
var
|
|
1164
|
+
var gt = Array.isArray;
|
|
1160
1165
|
function ye(e) {
|
|
1161
|
-
return
|
|
1166
|
+
return gt(e);
|
|
1162
1167
|
}
|
|
1163
|
-
function
|
|
1168
|
+
function yt(e) {
|
|
1164
1169
|
{
|
|
1165
1170
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1166
1171
|
return o;
|
|
1167
1172
|
}
|
|
1168
1173
|
}
|
|
1169
|
-
function
|
|
1174
|
+
function mt(e) {
|
|
1170
1175
|
try {
|
|
1171
|
-
return
|
|
1176
|
+
return Ue(e), !1;
|
|
1172
1177
|
} catch {
|
|
1173
1178
|
return !0;
|
|
1174
1179
|
}
|
|
1175
1180
|
}
|
|
1176
|
-
function
|
|
1181
|
+
function Ue(e) {
|
|
1177
1182
|
return "" + e;
|
|
1178
1183
|
}
|
|
1179
|
-
function
|
|
1180
|
-
if (
|
|
1181
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1184
|
+
function Ye(e) {
|
|
1185
|
+
if (mt(e))
|
|
1186
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yt(e)), Ue(e);
|
|
1182
1187
|
}
|
|
1183
|
-
var
|
|
1188
|
+
var Ve = W.ReactCurrentOwner, bt = {
|
|
1184
1189
|
key: !0,
|
|
1185
1190
|
ref: !0,
|
|
1186
1191
|
__self: !0,
|
|
1187
1192
|
__source: !0
|
|
1188
|
-
},
|
|
1189
|
-
function
|
|
1190
|
-
if (
|
|
1193
|
+
}, ze, qe;
|
|
1194
|
+
function _t(e) {
|
|
1195
|
+
if (K.call(e, "ref")) {
|
|
1191
1196
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1192
1197
|
if (t && t.isReactWarning)
|
|
1193
1198
|
return !1;
|
|
1194
1199
|
}
|
|
1195
1200
|
return e.ref !== void 0;
|
|
1196
1201
|
}
|
|
1197
|
-
function
|
|
1198
|
-
if (
|
|
1202
|
+
function Rt(e) {
|
|
1203
|
+
if (K.call(e, "key")) {
|
|
1199
1204
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1200
1205
|
if (t && t.isReactWarning)
|
|
1201
1206
|
return !1;
|
|
1202
1207
|
}
|
|
1203
1208
|
return e.key !== void 0;
|
|
1204
1209
|
}
|
|
1205
|
-
function Rt(e, t) {
|
|
1206
|
-
typeof e.ref == "string" && Ye.current;
|
|
1207
|
-
}
|
|
1208
1210
|
function St(e, t) {
|
|
1211
|
+
typeof e.ref == "string" && Ve.current;
|
|
1212
|
+
}
|
|
1213
|
+
function kt(e, t) {
|
|
1209
1214
|
{
|
|
1210
1215
|
var o = function() {
|
|
1211
|
-
|
|
1216
|
+
ze || (ze = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1212
1217
|
};
|
|
1213
1218
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1214
1219
|
get: o,
|
|
@@ -1216,10 +1221,10 @@ function pr() {
|
|
|
1216
1221
|
});
|
|
1217
1222
|
}
|
|
1218
1223
|
}
|
|
1219
|
-
function
|
|
1224
|
+
function xt(e, t) {
|
|
1220
1225
|
{
|
|
1221
1226
|
var o = function() {
|
|
1222
|
-
|
|
1227
|
+
qe || (qe = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1223
1228
|
};
|
|
1224
1229
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1225
1230
|
get: o,
|
|
@@ -1227,7 +1232,7 @@ function pr() {
|
|
|
1227
1232
|
});
|
|
1228
1233
|
}
|
|
1229
1234
|
}
|
|
1230
|
-
var
|
|
1235
|
+
var Et = function(e, t, o, s, v, y, d) {
|
|
1231
1236
|
var f = {
|
|
1232
1237
|
// This tag allows us to uniquely identify this as a React Element
|
|
1233
1238
|
$$typeof: n,
|
|
@@ -1237,7 +1242,7 @@ function pr() {
|
|
|
1237
1242
|
ref: o,
|
|
1238
1243
|
props: d,
|
|
1239
1244
|
// Record the component responsible for creating this element.
|
|
1240
|
-
_owner:
|
|
1245
|
+
_owner: y
|
|
1241
1246
|
};
|
|
1242
1247
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
1243
1248
|
configurable: !1,
|
|
@@ -1256,38 +1261,38 @@ function pr() {
|
|
|
1256
1261
|
value: v
|
|
1257
1262
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
1258
1263
|
};
|
|
1259
|
-
function
|
|
1264
|
+
function jt(e, t, o, s, v) {
|
|
1260
1265
|
{
|
|
1261
|
-
var
|
|
1262
|
-
o !== void 0 && (
|
|
1263
|
-
for (
|
|
1264
|
-
|
|
1266
|
+
var y, d = {}, f = null, O = null;
|
|
1267
|
+
o !== void 0 && (Ye(o), f = "" + o), Rt(t) && (Ye(t.key), f = "" + t.key), _t(t) && (O = t.ref, St(t));
|
|
1268
|
+
for (y in t)
|
|
1269
|
+
K.call(t, y) && !bt.hasOwnProperty(y) && (d[y] = t[y]);
|
|
1265
1270
|
if (e && e.defaultProps) {
|
|
1266
1271
|
var R = e.defaultProps;
|
|
1267
|
-
for (
|
|
1268
|
-
d[
|
|
1272
|
+
for (y in R)
|
|
1273
|
+
d[y] === void 0 && (d[y] = R[y]);
|
|
1269
1274
|
}
|
|
1270
1275
|
if (f || O) {
|
|
1271
1276
|
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1272
|
-
f &&
|
|
1277
|
+
f && kt(d, x), O && xt(d, x);
|
|
1273
1278
|
}
|
|
1274
|
-
return
|
|
1279
|
+
return Et(e, f, O, v, s, Ve.current, d);
|
|
1275
1280
|
}
|
|
1276
1281
|
}
|
|
1277
|
-
var me = W.ReactCurrentOwner,
|
|
1282
|
+
var me = W.ReactCurrentOwner, He = W.ReactDebugCurrentFrame;
|
|
1278
1283
|
function V(e) {
|
|
1279
1284
|
if (e) {
|
|
1280
1285
|
var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
|
|
1281
|
-
|
|
1286
|
+
He.setExtraStackFrame(o);
|
|
1282
1287
|
} else
|
|
1283
|
-
|
|
1288
|
+
He.setExtraStackFrame(null);
|
|
1284
1289
|
}
|
|
1285
1290
|
var be;
|
|
1286
1291
|
be = !1;
|
|
1287
1292
|
function _e(e) {
|
|
1288
1293
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
1289
1294
|
}
|
|
1290
|
-
function
|
|
1295
|
+
function Je() {
|
|
1291
1296
|
{
|
|
1292
1297
|
if (me.current) {
|
|
1293
1298
|
var e = T(me.current.type);
|
|
@@ -1299,13 +1304,13 @@ Check the render method of \`` + e + "`.";
|
|
|
1299
1304
|
return "";
|
|
1300
1305
|
}
|
|
1301
1306
|
}
|
|
1302
|
-
function
|
|
1307
|
+
function Ot(e) {
|
|
1303
1308
|
return "";
|
|
1304
1309
|
}
|
|
1305
|
-
var
|
|
1306
|
-
function
|
|
1310
|
+
var Ke = {};
|
|
1311
|
+
function At(e) {
|
|
1307
1312
|
{
|
|
1308
|
-
var t =
|
|
1313
|
+
var t = Je();
|
|
1309
1314
|
if (!t) {
|
|
1310
1315
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
1311
1316
|
o && (t = `
|
|
@@ -1315,39 +1320,39 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1315
1320
|
return t;
|
|
1316
1321
|
}
|
|
1317
1322
|
}
|
|
1318
|
-
function
|
|
1323
|
+
function Ge(e, t) {
|
|
1319
1324
|
{
|
|
1320
1325
|
if (!e._store || e._store.validated || e.key != null)
|
|
1321
1326
|
return;
|
|
1322
1327
|
e._store.validated = !0;
|
|
1323
|
-
var o =
|
|
1324
|
-
if (
|
|
1328
|
+
var o = At(t);
|
|
1329
|
+
if (Ke[o])
|
|
1325
1330
|
return;
|
|
1326
|
-
|
|
1331
|
+
Ke[o] = !0;
|
|
1327
1332
|
var s = "";
|
|
1328
1333
|
e && e._owner && e._owner !== me.current && (s = " It was passed a child from " + T(e._owner.type) + "."), V(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, s), V(null);
|
|
1329
1334
|
}
|
|
1330
1335
|
}
|
|
1331
|
-
function
|
|
1336
|
+
function Ze(e, t) {
|
|
1332
1337
|
{
|
|
1333
1338
|
if (typeof e != "object")
|
|
1334
1339
|
return;
|
|
1335
1340
|
if (ye(e))
|
|
1336
1341
|
for (var o = 0; o < e.length; o++) {
|
|
1337
1342
|
var s = e[o];
|
|
1338
|
-
_e(s) &&
|
|
1343
|
+
_e(s) && Ge(s, t);
|
|
1339
1344
|
}
|
|
1340
1345
|
else if (_e(e))
|
|
1341
1346
|
e._store && (e._store.validated = !0);
|
|
1342
1347
|
else if (e) {
|
|
1343
1348
|
var v = pe(e);
|
|
1344
1349
|
if (typeof v == "function" && v !== e.entries)
|
|
1345
|
-
for (var
|
|
1346
|
-
_e(d.value) &&
|
|
1350
|
+
for (var y = v.call(e), d; !(d = y.next()).done; )
|
|
1351
|
+
_e(d.value) && Ge(d.value, t);
|
|
1347
1352
|
}
|
|
1348
1353
|
}
|
|
1349
1354
|
}
|
|
1350
|
-
function
|
|
1355
|
+
function Ct(e) {
|
|
1351
1356
|
{
|
|
1352
1357
|
var t = e.type;
|
|
1353
1358
|
if (t == null || typeof t == "string")
|
|
@@ -1357,13 +1362,13 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1357
1362
|
o = t.propTypes;
|
|
1358
1363
|
else if (typeof t == "object" && (t.$$typeof === u || // Note: Memo only checks outer props here.
|
|
1359
1364
|
// Inner props are checked in the reconciler.
|
|
1360
|
-
t.$$typeof ===
|
|
1365
|
+
t.$$typeof === g))
|
|
1361
1366
|
o = t.propTypes;
|
|
1362
1367
|
else
|
|
1363
1368
|
return;
|
|
1364
1369
|
if (o) {
|
|
1365
1370
|
var s = T(t);
|
|
1366
|
-
|
|
1371
|
+
ht(o, e.props, "prop", s, e);
|
|
1367
1372
|
} else if (t.PropTypes !== void 0 && !be) {
|
|
1368
1373
|
be = !0;
|
|
1369
1374
|
var v = T(t);
|
|
@@ -1372,7 +1377,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1372
1377
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1373
1378
|
}
|
|
1374
1379
|
}
|
|
1375
|
-
function
|
|
1380
|
+
function Pt(e) {
|
|
1376
1381
|
{
|
|
1377
1382
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
1378
1383
|
var s = t[o];
|
|
@@ -1384,19 +1389,19 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1384
1389
|
e.ref !== null && (V(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
1385
1390
|
}
|
|
1386
1391
|
}
|
|
1387
|
-
var
|
|
1388
|
-
function
|
|
1392
|
+
var Xe = {};
|
|
1393
|
+
function Qe(e, t, o, s, v, y) {
|
|
1389
1394
|
{
|
|
1390
1395
|
var d = N(e);
|
|
1391
1396
|
if (!d) {
|
|
1392
1397
|
var f = "";
|
|
1393
1398
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1394
|
-
var O =
|
|
1395
|
-
O ? f += O : f +=
|
|
1399
|
+
var O = Ot();
|
|
1400
|
+
O ? f += O : f += Je();
|
|
1396
1401
|
var R;
|
|
1397
1402
|
e === null ? R = "null" : ye(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + (T(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, f);
|
|
1398
1403
|
}
|
|
1399
|
-
var x =
|
|
1404
|
+
var x = jt(e, t, o, v, y);
|
|
1400
1405
|
if (x == null)
|
|
1401
1406
|
return x;
|
|
1402
1407
|
if (d) {
|
|
@@ -1405,43 +1410,43 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1405
1410
|
if (s)
|
|
1406
1411
|
if (ye(P)) {
|
|
1407
1412
|
for (var z = 0; z < P.length; z++)
|
|
1408
|
-
|
|
1413
|
+
Ze(P[z], e);
|
|
1409
1414
|
Object.freeze && Object.freeze(P);
|
|
1410
1415
|
} else
|
|
1411
1416
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1412
1417
|
else
|
|
1413
|
-
|
|
1418
|
+
Ze(P, e);
|
|
1414
1419
|
}
|
|
1415
|
-
if (
|
|
1416
|
-
var L = T(e), C = Object.keys(t).filter(function(
|
|
1417
|
-
return
|
|
1420
|
+
if (K.call(t, "key")) {
|
|
1421
|
+
var L = T(e), C = Object.keys(t).filter(function(It) {
|
|
1422
|
+
return It !== "key";
|
|
1418
1423
|
}), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1419
|
-
if (!
|
|
1420
|
-
var
|
|
1424
|
+
if (!Xe[L + Re]) {
|
|
1425
|
+
var Bt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
1421
1426
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
1422
1427
|
let props = %s;
|
|
1423
1428
|
<%s {...props} />
|
|
1424
1429
|
React keys must be passed directly to JSX without using spread:
|
|
1425
1430
|
let props = %s;
|
|
1426
|
-
<%s key={someKey} {...props} />`, Re, L,
|
|
1431
|
+
<%s key={someKey} {...props} />`, Re, L, Bt, L), Xe[L + Re] = !0;
|
|
1427
1432
|
}
|
|
1428
1433
|
}
|
|
1429
|
-
return e ===
|
|
1434
|
+
return e === c ? Pt(x) : Ct(x), x;
|
|
1430
1435
|
}
|
|
1431
1436
|
}
|
|
1432
|
-
function Pt(e, t, o) {
|
|
1433
|
-
return Xe(e, t, o, !0);
|
|
1434
|
-
}
|
|
1435
1437
|
function wt(e, t, o) {
|
|
1436
|
-
return
|
|
1438
|
+
return Qe(e, t, o, !0);
|
|
1437
1439
|
}
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1440
|
+
function Tt(e, t, o) {
|
|
1441
|
+
return Qe(e, t, o, !1);
|
|
1442
|
+
}
|
|
1443
|
+
var $t = Tt, Nt = wt;
|
|
1444
|
+
at.Fragment = c, at.jsx = $t, at.jsxs = Nt;
|
|
1445
|
+
}()), at;
|
|
1441
1446
|
}
|
|
1442
|
-
process.env.NODE_ENV === "production" ?
|
|
1443
|
-
const
|
|
1444
|
-
version:
|
|
1447
|
+
process.env.NODE_ENV === "production" ? hr() : gr();
|
|
1448
|
+
const yr = "0.0.40", tr = {
|
|
1449
|
+
version: yr
|
|
1445
1450
|
}, se = {}, H = {
|
|
1446
1451
|
module: "",
|
|
1447
1452
|
v: tr.version,
|
|
@@ -1465,15 +1470,15 @@ function je() {
|
|
|
1465
1470
|
je().elcrm || (je().elcrm = {});
|
|
1466
1471
|
Object.assign(je().elcrm, { router: tr.version });
|
|
1467
1472
|
function te(r) {
|
|
1468
|
-
var n, a,
|
|
1473
|
+
var n, a, c, l;
|
|
1469
1474
|
const p = je();
|
|
1470
1475
|
if (p.ROUTER_PARAMS) {
|
|
1471
1476
|
r.debug || p.ROUTER_PARAMS.debug;
|
|
1472
1477
|
const k = {
|
|
1473
1478
|
page: (n = p.ROUTER_PARAMS) == null ? void 0 : n.page,
|
|
1474
1479
|
module: (a = p.ROUTER_PARAMS) == null ? void 0 : a.module,
|
|
1475
|
-
tab: (
|
|
1476
|
-
id: (
|
|
1480
|
+
tab: (c = p.ROUTER_PARAMS) == null ? void 0 : c.tab,
|
|
1481
|
+
id: (l = p.ROUTER_PARAMS) == null ? void 0 : l.id
|
|
1477
1482
|
};
|
|
1478
1483
|
p.ROUTER_PARAMS = {
|
|
1479
1484
|
...p.ROUTER_PARAMS,
|
|
@@ -1533,7 +1538,7 @@ var de;
|
|
|
1533
1538
|
se.id = 0, se.tab = "", se.page = A().page, se.module = A().module;
|
|
1534
1539
|
}
|
|
1535
1540
|
r.Reset = a;
|
|
1536
|
-
function
|
|
1541
|
+
function c({
|
|
1537
1542
|
module: _ = A().module,
|
|
1538
1543
|
page: E = A().page,
|
|
1539
1544
|
auth: N = A().auth,
|
|
@@ -1541,8 +1546,8 @@ var de;
|
|
|
1541
1546
|
}) {
|
|
1542
1547
|
te({ page: E, module: _, auth: N, debug: M }), n();
|
|
1543
1548
|
}
|
|
1544
|
-
r.Default =
|
|
1545
|
-
function
|
|
1549
|
+
r.Default = c;
|
|
1550
|
+
function l(_) {
|
|
1546
1551
|
let E = (B) => (te({ page: B }), B);
|
|
1547
1552
|
const [N, M] = F.useState(
|
|
1548
1553
|
k() || _ && E(_) || A().page
|
|
@@ -1551,7 +1556,7 @@ var de;
|
|
|
1551
1556
|
M(B);
|
|
1552
1557
|
} }), N;
|
|
1553
1558
|
}
|
|
1554
|
-
r.usePage =
|
|
1559
|
+
r.usePage = l;
|
|
1555
1560
|
function p(_, E = !0, N = {}) {
|
|
1556
1561
|
te({ page: _, ...N }), sessionStorage.setItem(
|
|
1557
1562
|
A().STORAGE,
|
|
@@ -1573,7 +1578,7 @@ var de;
|
|
|
1573
1578
|
r.getBack = u;
|
|
1574
1579
|
function S(_, E) {
|
|
1575
1580
|
const [N, M] = F.useState(
|
|
1576
|
-
|
|
1581
|
+
g() || _ || A().module
|
|
1577
1582
|
);
|
|
1578
1583
|
return Se({ module: M }), N;
|
|
1579
1584
|
}
|
|
@@ -1585,10 +1590,10 @@ var de;
|
|
|
1585
1590
|
), E && ie().module(_);
|
|
1586
1591
|
}
|
|
1587
1592
|
r.setModule = h;
|
|
1588
|
-
function
|
|
1593
|
+
function g() {
|
|
1589
1594
|
return A().module || "";
|
|
1590
1595
|
}
|
|
1591
|
-
r.getModule =
|
|
1596
|
+
r.getModule = g;
|
|
1592
1597
|
function m(_) {
|
|
1593
1598
|
return A().module === _;
|
|
1594
1599
|
}
|
|
@@ -1613,13 +1618,13 @@ var de;
|
|
|
1613
1618
|
} }), N;
|
|
1614
1619
|
}
|
|
1615
1620
|
r.useTab = I;
|
|
1616
|
-
async function
|
|
1621
|
+
async function we(_, E = !0) {
|
|
1617
1622
|
te({ tab: _ }), sessionStorage.setItem(
|
|
1618
1623
|
A().STORAGE,
|
|
1619
1624
|
ue.enCode(A())
|
|
1620
1625
|
), E && (ie().tabs && ie().tabs(_));
|
|
1621
1626
|
}
|
|
1622
|
-
r.setTabs =
|
|
1627
|
+
r.setTabs = we;
|
|
1623
1628
|
function pe() {
|
|
1624
1629
|
return A().tab;
|
|
1625
1630
|
}
|
|
@@ -1638,25 +1643,25 @@ var de;
|
|
|
1638
1643
|
Se({ id: _ });
|
|
1639
1644
|
}
|
|
1640
1645
|
r.useId = j;
|
|
1641
|
-
function
|
|
1646
|
+
function Te(_) {
|
|
1642
1647
|
}
|
|
1643
|
-
r.subId =
|
|
1644
|
-
async function
|
|
1648
|
+
r.subId = Te;
|
|
1649
|
+
async function $e(_, E = !0) {
|
|
1645
1650
|
te({ id: _ }), sessionStorage.setItem(
|
|
1646
1651
|
A().STORAGE,
|
|
1647
1652
|
ue.enCode(A())
|
|
1648
1653
|
), E && ie().id(_);
|
|
1649
1654
|
}
|
|
1650
|
-
r.setId =
|
|
1655
|
+
r.setId = $e;
|
|
1651
1656
|
function Oe() {
|
|
1652
1657
|
return A().id;
|
|
1653
1658
|
}
|
|
1654
1659
|
r.getId = Oe;
|
|
1655
|
-
function
|
|
1660
|
+
function Ne(_) {
|
|
1656
1661
|
return Number(A().id) === _;
|
|
1657
1662
|
}
|
|
1658
|
-
r.isId =
|
|
1659
|
-
async function
|
|
1663
|
+
r.isId = Ne;
|
|
1664
|
+
async function Be(_) {
|
|
1660
1665
|
var E, N, M, B, T, D, Y, ce;
|
|
1661
1666
|
const { page: Z, module: X, tab: Q, id: ee } = _;
|
|
1662
1667
|
Z !== void 0 && (se.page = Z), X !== void 0 && (se.module = X), Q !== void 0 && (se.tab = Q), ee !== void 0 && (se.id = ee), te({ ...se }), ee !== void 0 && ((N = (E = ie()).id) == null || N.call(E, ee)), Q !== void 0 && ((B = (M = ie()).tabs) == null || B.call(M, Q)), X !== void 0 && ((D = (T = ie()).module) == null || D.call(T, X)), Z !== void 0 && ((ce = (Y = ie()).page) == null || ce.call(Y, Z)), sessionStorage.setItem(
|
|
@@ -1664,29 +1669,29 @@ var de;
|
|
|
1664
1669
|
ue.enCode(A())
|
|
1665
1670
|
);
|
|
1666
1671
|
}
|
|
1667
|
-
r.navigate =
|
|
1672
|
+
r.navigate = Be;
|
|
1668
1673
|
})(de || (de = {}));
|
|
1669
|
-
let
|
|
1670
|
-
function
|
|
1674
|
+
let ct = {};
|
|
1675
|
+
function mr() {
|
|
1671
1676
|
const [r, n] = F.useState([]);
|
|
1672
|
-
return
|
|
1677
|
+
return ct.set = (a) => {
|
|
1673
1678
|
n([...r, a]);
|
|
1674
|
-
},
|
|
1675
|
-
r.forEach((
|
|
1676
|
-
|
|
1679
|
+
}, ct.del = (a) => {
|
|
1680
|
+
r.forEach((c, l) => {
|
|
1681
|
+
c.key === a && r.splice(l, 1);
|
|
1677
1682
|
}), n(r);
|
|
1678
1683
|
}, r.length === 0 ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsx("div", { className: "notice", children: r.map((a) => a.item) });
|
|
1679
1684
|
}
|
|
1680
|
-
function
|
|
1685
|
+
function br(r) {
|
|
1681
1686
|
let n = (/* @__PURE__ */ new Date()).getTime();
|
|
1682
|
-
r.key = n,
|
|
1687
|
+
r.key = n, ct.set({ item: /* @__PURE__ */ i.jsx(_r, { data: r }, n), key: n });
|
|
1683
1688
|
}
|
|
1684
|
-
function
|
|
1689
|
+
function _r(r) {
|
|
1685
1690
|
const n = r.data;
|
|
1686
|
-
let [a] = F.useState("show"), [
|
|
1691
|
+
let [a] = F.useState("show"), [c, l] = F.useState(!1);
|
|
1687
1692
|
F.useEffect(() => {
|
|
1688
1693
|
setTimeout(function() {
|
|
1689
|
-
|
|
1694
|
+
l(!0), ct.del(n.key);
|
|
1690
1695
|
}, 5e3);
|
|
1691
1696
|
}, [n.key]);
|
|
1692
1697
|
let p;
|
|
@@ -1704,7 +1709,7 @@ function yr(r) {
|
|
|
1704
1709
|
p = "icon fa fa-exclamation-circle";
|
|
1705
1710
|
break;
|
|
1706
1711
|
}
|
|
1707
|
-
return /* @__PURE__ */ i.jsx(i.Fragment, { children:
|
|
1712
|
+
return /* @__PURE__ */ i.jsx(i.Fragment, { children: c ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsxs(
|
|
1708
1713
|
"div",
|
|
1709
1714
|
{
|
|
1710
1715
|
className: "item " + n.type + ` ${n.thema !== void 0 ? " thema" : ""}`,
|
|
@@ -1729,16 +1734,16 @@ function yr(r) {
|
|
|
1729
1734
|
) });
|
|
1730
1735
|
}
|
|
1731
1736
|
let xe = {
|
|
1732
|
-
Send:
|
|
1733
|
-
Init:
|
|
1737
|
+
Send: br,
|
|
1738
|
+
Init: mr
|
|
1734
1739
|
};
|
|
1735
1740
|
const Ee = {
|
|
1736
1741
|
is: !1,
|
|
1737
1742
|
MainButton: {},
|
|
1738
1743
|
BackButton: {}
|
|
1739
1744
|
};
|
|
1740
|
-
let
|
|
1741
|
-
|
|
1745
|
+
let G = {};
|
|
1746
|
+
G.dark = {
|
|
1742
1747
|
"--tg-theme-subtitle-text-color": "#98989e",
|
|
1743
1748
|
"--tg-theme-destructive-text-color": "#e53935",
|
|
1744
1749
|
"--tg-theme-section-separator-color": "#545458",
|
|
@@ -1755,7 +1760,7 @@ K.dark = {
|
|
|
1755
1760
|
"--tg-theme-text-color": "#ffffff",
|
|
1756
1761
|
"--tg-theme-section-bg-color": "#2c2c2e"
|
|
1757
1762
|
};
|
|
1758
|
-
|
|
1763
|
+
G.light = {
|
|
1759
1764
|
"--tg-theme-subtitle-text-color": "#8e8e93",
|
|
1760
1765
|
"--tg-theme-destructive-text-color": "#ff3b30",
|
|
1761
1766
|
"--tg-theme-section-separator-color": "#c8c7cc",
|
|
@@ -1772,7 +1777,7 @@ K.light = {
|
|
|
1772
1777
|
"--tg-theme-text-color": "#000000",
|
|
1773
1778
|
"--tg-theme-section-bg-color": "#f8f8f8"
|
|
1774
1779
|
};
|
|
1775
|
-
|
|
1780
|
+
G.users = {
|
|
1776
1781
|
"--tg-theme-bg-color": "#000000",
|
|
1777
1782
|
"--tg-theme-text-color": "#ffffff",
|
|
1778
1783
|
"--tg-theme-hint-color": "#98989e",
|
|
@@ -1781,15 +1786,15 @@ K.users = {
|
|
|
1781
1786
|
"--tg-theme-button-text-color": "#000000",
|
|
1782
1787
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1783
1788
|
};
|
|
1784
|
-
const
|
|
1789
|
+
const Rr = () => {
|
|
1785
1790
|
if (location.hostname === "localhost") {
|
|
1786
|
-
let [r, n] =
|
|
1787
|
-
Ee.is = !0, Ee.MainButton.set = n, Ee.BackButton.set =
|
|
1788
|
-
|
|
1789
|
-
for (let m in
|
|
1791
|
+
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [k, b] = J(!1), [u, S] = J(!1);
|
|
1792
|
+
Ee.is = !0, Ee.MainButton.set = n, Ee.BackButton.set = c, fe(() => {
|
|
1793
|
+
G[l]["--tg-theme-bg-color-alpha"] = G[l]["--tg-theme-bg-color"] + "b3", G[l]["--tg-theme-secondary-bg-color-alpha"] = G[l]["--tg-theme-secondary-bg-color"] + "d3";
|
|
1794
|
+
for (let m in G[l])
|
|
1790
1795
|
document.documentElement.style.setProperty(
|
|
1791
1796
|
m,
|
|
1792
|
-
|
|
1797
|
+
G[l][m]
|
|
1793
1798
|
);
|
|
1794
1799
|
Ce.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1795
1800
|
"--tg-safe-area-inset-bottom",
|
|
@@ -1797,10 +1802,10 @@ const mr = () => {
|
|
|
1797
1802
|
);
|
|
1798
1803
|
}, []);
|
|
1799
1804
|
let h = (m) => {
|
|
1800
|
-
for (let w in
|
|
1801
|
-
document.documentElement.style.setProperty(w,
|
|
1805
|
+
for (let w in G[m])
|
|
1806
|
+
document.documentElement.style.setProperty(w, G[m][w]);
|
|
1802
1807
|
p(m), b(!1);
|
|
1803
|
-
},
|
|
1808
|
+
}, g = () => {
|
|
1804
1809
|
b(!1), S(!0);
|
|
1805
1810
|
};
|
|
1806
1811
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -1830,7 +1835,7 @@ const mr = () => {
|
|
|
1830
1835
|
) }),
|
|
1831
1836
|
k ? /* @__PURE__ */ i.jsxs("div", { className: "tm", children: [
|
|
1832
1837
|
/* @__PURE__ */ i.jsxs("ul", { children: [
|
|
1833
|
-
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick:
|
|
1838
|
+
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: g, children: "Authorization" }) }),
|
|
1834
1839
|
/* @__PURE__ */ i.jsx("li", {})
|
|
1835
1840
|
] }),
|
|
1836
1841
|
/* @__PURE__ */ i.jsxs("ul", { children: [
|
|
@@ -1863,7 +1868,7 @@ const mr = () => {
|
|
|
1863
1868
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => b(!k), children: "Closed" }) })
|
|
1864
1869
|
] })
|
|
1865
1870
|
] }) : "",
|
|
1866
|
-
u ? /* @__PURE__ */ i.jsx(
|
|
1871
|
+
u ? /* @__PURE__ */ i.jsx(Sr, { setAuthorization: S }) : ""
|
|
1867
1872
|
] });
|
|
1868
1873
|
} else
|
|
1869
1874
|
return fe(() => {
|
|
@@ -1878,7 +1883,7 @@ const mr = () => {
|
|
|
1878
1883
|
"16px"
|
|
1879
1884
|
);
|
|
1880
1885
|
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(xe.Init, {}) });
|
|
1881
|
-
},
|
|
1886
|
+
}, Sr = ({ setAuthorization: r }) => {
|
|
1882
1887
|
let n = {}, a = () => {
|
|
1883
1888
|
localStorage.setItem("auth", n);
|
|
1884
1889
|
};
|
|
@@ -1886,43 +1891,43 @@ const mr = () => {
|
|
|
1886
1891
|
/* @__PURE__ */ i.jsx("fieldset", {}),
|
|
1887
1892
|
/* @__PURE__ */ i.jsx("div", { onClick: a, children: " Сохранить " })
|
|
1888
1893
|
] }) });
|
|
1889
|
-
},
|
|
1890
|
-
p:
|
|
1891
|
-
s:
|
|
1892
|
-
},
|
|
1894
|
+
}, kr = "_p_12hh1_1", xr = "_s_12hh1_17", Ht = {
|
|
1895
|
+
p: kr,
|
|
1896
|
+
s: xr
|
|
1897
|
+
}, Er = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
|
|
1893
1898
|
"div",
|
|
1894
1899
|
{
|
|
1895
|
-
className: [Ht.p, a && Ht.s, r].filter((
|
|
1900
|
+
className: [Ht.p, a && Ht.s, r].filter((c) => c !== void 0).join(" "),
|
|
1896
1901
|
children: n
|
|
1897
1902
|
}
|
|
1898
|
-
),
|
|
1899
|
-
l:
|
|
1900
|
-
},
|
|
1903
|
+
), jr = "_l_gfyud_1", Or = {
|
|
1904
|
+
l: jr
|
|
1905
|
+
}, Ar = ({ children: r, className: n }) => /* @__PURE__ */ i.jsx(
|
|
1901
1906
|
"div",
|
|
1902
1907
|
{
|
|
1903
|
-
className: [
|
|
1908
|
+
className: [Or.l, n].filter((a) => a !== void 0).join(" "),
|
|
1904
1909
|
children: r
|
|
1905
1910
|
}
|
|
1906
|
-
),
|
|
1907
|
-
m:
|
|
1908
|
-
g:
|
|
1909
|
-
i:
|
|
1910
|
-
c:
|
|
1911
|
-
l:
|
|
1912
|
-
a:
|
|
1913
|
-
n:
|
|
1914
|
-
},
|
|
1915
|
-
const n = (
|
|
1916
|
-
de.setPage(
|
|
1917
|
-
}, a = (
|
|
1918
|
-
Ce.openTelegramLink(
|
|
1911
|
+
), Cr = "_m_ppm7n_2", Pr = "_g_ppm7n_10", wr = "_i_ppm7n_18", Tr = "_c_ppm7n_35", $r = "_l_ppm7n_42", Nr = "_a_ppm7n_57", Br = "_n_ppm7n_62", ke = {
|
|
1912
|
+
m: Cr,
|
|
1913
|
+
g: Pr,
|
|
1914
|
+
i: wr,
|
|
1915
|
+
c: Tr,
|
|
1916
|
+
l: $r,
|
|
1917
|
+
a: Nr,
|
|
1918
|
+
n: Br
|
|
1919
|
+
}, Ir = ({ items: r }) => {
|
|
1920
|
+
const n = (c) => {
|
|
1921
|
+
de.setPage(c);
|
|
1922
|
+
}, a = (c) => {
|
|
1923
|
+
Ce.openTelegramLink(c);
|
|
1919
1924
|
};
|
|
1920
|
-
return /* @__PURE__ */ i.jsx("div", { className: ke.m, children: r.map((
|
|
1925
|
+
return /* @__PURE__ */ i.jsx("div", { className: ke.m, children: r.map((c) => /* @__PURE__ */ i.jsx("div", { className: ke.g, children: c.items.map((l, p) => /* @__PURE__ */ i.jsxs(
|
|
1921
1926
|
"div",
|
|
1922
1927
|
{
|
|
1923
1928
|
className: ke.i,
|
|
1924
1929
|
onClick: () => {
|
|
1925
|
-
|
|
1930
|
+
l.link && a(l.link), l.page && n(l.page), l.callback && l.callback();
|
|
1926
1931
|
},
|
|
1927
1932
|
children: [
|
|
1928
1933
|
/* @__PURE__ */ i.jsxs("div", { className: ke.c, children: [
|
|
@@ -1930,38 +1935,38 @@ const mr = () => {
|
|
|
1930
1935
|
"span",
|
|
1931
1936
|
{
|
|
1932
1937
|
className: ke.l,
|
|
1933
|
-
style: { background:
|
|
1934
|
-
children:
|
|
1938
|
+
style: { background: l.color },
|
|
1939
|
+
children: l.icon
|
|
1935
1940
|
}
|
|
1936
1941
|
),
|
|
1937
|
-
|
|
1938
|
-
|
|
1942
|
+
l.title,
|
|
1943
|
+
l.count && /* @__PURE__ */ i.jsx("span", { className: ke.n, children: l.count })
|
|
1939
1944
|
] }),
|
|
1940
1945
|
/* @__PURE__ */ i.jsx("span", { className: ke.a, children: "›" })
|
|
1941
1946
|
]
|
|
1942
1947
|
},
|
|
1943
1948
|
p
|
|
1944
|
-
)) },
|
|
1945
|
-
},
|
|
1946
|
-
o:
|
|
1947
|
-
m:
|
|
1948
|
-
l:
|
|
1949
|
-
r:
|
|
1950
|
-
x:
|
|
1951
|
-
h:
|
|
1952
|
-
c:
|
|
1953
|
-
u:
|
|
1949
|
+
)) }, c.id)) });
|
|
1950
|
+
}, Mr = "_o_8ho2f_3", Dr = "_m_8ho2f_14", Fr = "_l_8ho2f_28", Wr = "_r_8ho2f_33", Lr = "_x_8ho2f_38", Ur = "_h_8ho2f_42", Yr = "_c_8ho2f_57", Vr = "_u_8ho2f_72", le = {
|
|
1951
|
+
o: Mr,
|
|
1952
|
+
m: Dr,
|
|
1953
|
+
l: Fr,
|
|
1954
|
+
r: Wr,
|
|
1955
|
+
x: Lr,
|
|
1956
|
+
h: Ur,
|
|
1957
|
+
c: Yr,
|
|
1958
|
+
u: Vr
|
|
1954
1959
|
};
|
|
1955
|
-
function
|
|
1960
|
+
function zr({
|
|
1956
1961
|
children: r,
|
|
1957
1962
|
icon: n,
|
|
1958
1963
|
iconBadge: a = 0,
|
|
1959
|
-
title:
|
|
1960
|
-
className:
|
|
1964
|
+
title: c,
|
|
1965
|
+
className: l,
|
|
1961
1966
|
view: p = "list",
|
|
1962
1967
|
position: k = "left"
|
|
1963
1968
|
}) {
|
|
1964
|
-
const [b, u] =
|
|
1969
|
+
const [b, u] = J(!1), [S, h] = J(
|
|
1965
1970
|
null
|
|
1966
1971
|
);
|
|
1967
1972
|
fe(() => {
|
|
@@ -1970,20 +1975,20 @@ function Ur({
|
|
|
1970
1975
|
m && m.parentNode && m.parentNode.removeChild(m);
|
|
1971
1976
|
};
|
|
1972
1977
|
}, []);
|
|
1973
|
-
const
|
|
1978
|
+
const g = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
1974
1979
|
b && /* @__PURE__ */ i.jsx("div", { className: le.o, onClick: () => u(!1) }),
|
|
1975
1980
|
/* @__PURE__ */ i.jsxs(
|
|
1976
1981
|
"div",
|
|
1977
1982
|
{
|
|
1978
|
-
className:
|
|
1983
|
+
className: Pe(
|
|
1979
1984
|
le.m,
|
|
1980
1985
|
k === "left" ? le.l : le.r,
|
|
1981
1986
|
b && le.x,
|
|
1982
|
-
|
|
1987
|
+
l
|
|
1983
1988
|
),
|
|
1984
1989
|
children: [
|
|
1985
1990
|
/* @__PURE__ */ i.jsxs("div", { className: le.h, children: [
|
|
1986
|
-
|
|
1991
|
+
c && /* @__PURE__ */ i.jsx("h3", { className: le.t, children: c }),
|
|
1987
1992
|
/* @__PURE__ */ i.jsxs(
|
|
1988
1993
|
"svg",
|
|
1989
1994
|
{
|
|
@@ -2020,21 +2025,21 @@ function Ur({
|
|
|
2020
2025
|
children: n
|
|
2021
2026
|
}
|
|
2022
2027
|
),
|
|
2023
|
-
S && nr(
|
|
2028
|
+
S && nr(g, S)
|
|
2024
2029
|
] });
|
|
2025
2030
|
}
|
|
2026
|
-
let
|
|
2031
|
+
let nt = () => {
|
|
2027
2032
|
};
|
|
2028
2033
|
const rr = ({
|
|
2029
2034
|
children: r,
|
|
2030
2035
|
title: n,
|
|
2031
2036
|
isOverlay: a = !0,
|
|
2032
|
-
footer:
|
|
2033
|
-
className:
|
|
2037
|
+
footer: c = !0,
|
|
2038
|
+
className: l,
|
|
2034
2039
|
onOpen: p
|
|
2035
2040
|
}) => {
|
|
2036
2041
|
const [k, b] = F.useState(!1);
|
|
2037
|
-
return
|
|
2042
|
+
return nt = () => {
|
|
2038
2043
|
b(!0), setTimeout(() => {
|
|
2039
2044
|
var u;
|
|
2040
2045
|
p == null || p(!1), (u = Ae == null ? void 0 : Ae.onClose) == null || u.call(Ae);
|
|
@@ -2043,11 +2048,11 @@ const rr = ({
|
|
|
2043
2048
|
"div",
|
|
2044
2049
|
{
|
|
2045
2050
|
className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${k ? "closing" : ""} `,
|
|
2046
|
-
onClick:
|
|
2051
|
+
onClick: nt,
|
|
2047
2052
|
children: /* @__PURE__ */ i.jsxs(
|
|
2048
2053
|
"div",
|
|
2049
2054
|
{
|
|
2050
|
-
className: `footer-menu-popup-book ${k ? "closing" : ""} ${
|
|
2055
|
+
className: `footer-menu-popup-book ${k ? "closing" : ""} ${l || ""} ${c ? "footer" : ""}`,
|
|
2051
2056
|
onClick: (u) => u.stopPropagation(),
|
|
2052
2057
|
children: [
|
|
2053
2058
|
/* @__PURE__ */ i.jsxs("div", { className: "footer-menu-header", children: [
|
|
@@ -2056,7 +2061,7 @@ const rr = ({
|
|
|
2056
2061
|
"button",
|
|
2057
2062
|
{
|
|
2058
2063
|
className: "footer-menu-close-btn",
|
|
2059
|
-
onClick:
|
|
2064
|
+
onClick: nt,
|
|
2060
2065
|
children: "✕"
|
|
2061
2066
|
}
|
|
2062
2067
|
)
|
|
@@ -2067,39 +2072,39 @@ const rr = ({
|
|
|
2067
2072
|
)
|
|
2068
2073
|
}
|
|
2069
2074
|
);
|
|
2070
|
-
},
|
|
2071
|
-
h:
|
|
2072
|
-
row:
|
|
2073
|
-
column:
|
|
2074
|
-
badge:
|
|
2075
|
-
}, Ae = [], Jt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n),
|
|
2075
|
+
}, qr = "_h_1ffr7_1", Hr = "_row_1ffr7_20", Jr = "_column_1ffr7_23", Kr = "_badge_1ffr7_36", Mt = {
|
|
2076
|
+
h: qr,
|
|
2077
|
+
row: Hr,
|
|
2078
|
+
column: Jr,
|
|
2079
|
+
badge: Kr
|
|
2080
|
+
}, Ae = [], Jt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Gr = ({
|
|
2076
2081
|
actions: r,
|
|
2077
2082
|
children: n,
|
|
2078
2083
|
className: a,
|
|
2079
|
-
toHide:
|
|
2080
|
-
page:
|
|
2084
|
+
toHide: c = !1,
|
|
2085
|
+
page: l,
|
|
2081
2086
|
onPageChange: p,
|
|
2082
2087
|
direction: k = "row"
|
|
2083
2088
|
}) => {
|
|
2084
2089
|
const [b, u] = F.useState(null), [S, h] = F.useState(
|
|
2085
|
-
|
|
2090
|
+
l ? Jt(r || [], l) : 0
|
|
2086
2091
|
);
|
|
2087
2092
|
return Ae.onClose = () => {
|
|
2088
|
-
u(null), h(
|
|
2093
|
+
u(null), h(l ? Jt(r || [], l) : 0);
|
|
2089
2094
|
}, fe(() => {
|
|
2090
|
-
if (!
|
|
2095
|
+
if (!c)
|
|
2091
2096
|
return;
|
|
2092
|
-
const
|
|
2097
|
+
const g = document.querySelectorAll("[contenteditable]"), m = () => {
|
|
2093
2098
|
const I = document.querySelector("footer");
|
|
2094
2099
|
I && (I.style.display = "flex");
|
|
2095
2100
|
}, w = () => {
|
|
2096
2101
|
const I = document.querySelector("footer");
|
|
2097
2102
|
I && (I.style.display = "none");
|
|
2098
2103
|
};
|
|
2099
|
-
return
|
|
2104
|
+
return g.forEach((I) => {
|
|
2100
2105
|
I.addEventListener("focus", w, !0), I.addEventListener("blur", m, !0);
|
|
2101
2106
|
}), () => {
|
|
2102
|
-
|
|
2107
|
+
g.forEach((I) => {
|
|
2103
2108
|
I.removeEventListener("focus", w, !0), I.removeEventListener("blur", m, !0);
|
|
2104
2109
|
});
|
|
2105
2110
|
};
|
|
@@ -2108,19 +2113,19 @@ const rr = ({
|
|
|
2108
2113
|
/* @__PURE__ */ i.jsxs(
|
|
2109
2114
|
"footer",
|
|
2110
2115
|
{
|
|
2111
|
-
className: `${
|
|
2116
|
+
className: `${Mt.h} ${Mt[k]} ${a} `,
|
|
2112
2117
|
children: [
|
|
2113
2118
|
n,
|
|
2114
|
-
r && r.map((
|
|
2119
|
+
r && r.map((g, m) => /* @__PURE__ */ i.jsxs(
|
|
2115
2120
|
"div",
|
|
2116
2121
|
{
|
|
2117
2122
|
"data-active": S === m ? "true" : "false",
|
|
2118
2123
|
onClick: () => {
|
|
2119
|
-
|
|
2124
|
+
g.page && (h(m), p == null || p(g.page)), g.callback && (g.callback(), h(m)), g.component && (S === m ? nt() : (u(g.component), h(m)));
|
|
2120
2125
|
},
|
|
2121
2126
|
children: [
|
|
2122
|
-
|
|
2123
|
-
|
|
2127
|
+
g.icon,
|
|
2128
|
+
g.badge && /* @__PURE__ */ i.jsx("div", { className: Mt.badge, children: g.badge })
|
|
2124
2129
|
]
|
|
2125
2130
|
},
|
|
2126
2131
|
m
|
|
@@ -2129,24 +2134,24 @@ const rr = ({
|
|
|
2129
2134
|
}
|
|
2130
2135
|
)
|
|
2131
2136
|
] });
|
|
2132
|
-
},
|
|
2133
|
-
w:
|
|
2134
|
-
v:
|
|
2135
|
-
s:
|
|
2136
|
-
n:
|
|
2137
|
+
}, Zr = "_w_yx04q_3", Xr = "_v_yx04q_24", Qr = "_s_yx04q_34", en = "_n_yx04q_38", st = {
|
|
2138
|
+
w: Zr,
|
|
2139
|
+
v: Xr,
|
|
2140
|
+
s: Qr,
|
|
2141
|
+
n: en
|
|
2137
2142
|
}, Lt = {};
|
|
2138
|
-
function
|
|
2143
|
+
function tn({
|
|
2139
2144
|
children: r,
|
|
2140
2145
|
name: n,
|
|
2141
2146
|
onClose: a,
|
|
2142
|
-
isOpen:
|
|
2143
|
-
isScroll:
|
|
2147
|
+
isOpen: c,
|
|
2148
|
+
isScroll: l = !0,
|
|
2144
2149
|
nextBackButton: p
|
|
2145
2150
|
}) {
|
|
2146
|
-
const [k, b] =
|
|
2151
|
+
const [k, b] = J(!1);
|
|
2147
2152
|
return fe(() => {
|
|
2148
|
-
if (!
|
|
2149
|
-
const u = p === void 0 ?
|
|
2153
|
+
if (!c) return;
|
|
2154
|
+
const u = p === void 0 ? fn().pop() : p, S = () => {
|
|
2150
2155
|
b(!1), setTimeout(() => {
|
|
2151
2156
|
Gt(u || !1), a == null || a();
|
|
2152
2157
|
}, 300);
|
|
@@ -2165,69 +2170,70 @@ function Xr({
|
|
|
2165
2170
|
return () => {
|
|
2166
2171
|
clearTimeout(h);
|
|
2167
2172
|
};
|
|
2168
|
-
}, [
|
|
2173
|
+
}, [c]), c ? /* @__PURE__ */ i.jsxs(
|
|
2169
2174
|
"div",
|
|
2170
2175
|
{
|
|
2171
|
-
className:
|
|
2172
|
-
|
|
2173
|
-
k &&
|
|
2174
|
-
|
|
2176
|
+
className: Pe(
|
|
2177
|
+
st.w,
|
|
2178
|
+
k && st.v,
|
|
2179
|
+
l && st.s
|
|
2175
2180
|
),
|
|
2176
2181
|
children: [
|
|
2177
|
-
/* @__PURE__ */ i.jsx("div", { className:
|
|
2182
|
+
/* @__PURE__ */ i.jsx("div", { className: st.n }),
|
|
2178
2183
|
r
|
|
2179
2184
|
]
|
|
2180
2185
|
}
|
|
2181
2186
|
) : "";
|
|
2182
2187
|
}
|
|
2183
|
-
const
|
|
2184
|
-
var a,
|
|
2185
|
-
n ? (a = Lt[r]) == null || a.onOpen() : (
|
|
2186
|
-
},
|
|
2187
|
-
s:
|
|
2188
|
-
n:
|
|
2189
|
-
}
|
|
2190
|
-
function
|
|
2188
|
+
const rn = (r, n) => {
|
|
2189
|
+
var a, c;
|
|
2190
|
+
n ? (a = Lt[r]) == null || a.onOpen() : (c = Lt[r]) == null || c.onClose();
|
|
2191
|
+
}, nn = "_s_sfyq2_3", on = "_n_sfyq2_13", Kt = {
|
|
2192
|
+
s: nn,
|
|
2193
|
+
n: on
|
|
2194
|
+
};
|
|
2195
|
+
function an({
|
|
2191
2196
|
className: r,
|
|
2192
2197
|
children: n,
|
|
2193
2198
|
onScrollEnd: a,
|
|
2194
|
-
offset:
|
|
2195
|
-
isLoading:
|
|
2199
|
+
offset: c = 100,
|
|
2200
|
+
isLoading: l,
|
|
2196
2201
|
isScrollBar: p = !1
|
|
2197
2202
|
}) {
|
|
2203
|
+
const [k, b] = J(l || !1);
|
|
2198
2204
|
fe(() => {
|
|
2199
|
-
|
|
2200
|
-
}, [
|
|
2201
|
-
let
|
|
2202
|
-
onScroll: (
|
|
2203
|
-
const { scrollTop:
|
|
2204
|
-
|
|
2205
|
+
b(l || !1);
|
|
2206
|
+
}, [l]);
|
|
2207
|
+
let u = {
|
|
2208
|
+
onScroll: (S) => {
|
|
2209
|
+
const { scrollTop: h, scrollHeight: g, clientHeight: m } = S.currentTarget;
|
|
2210
|
+
h + m >= g - c && !k && (b(!0), a == null || a());
|
|
2205
2211
|
}
|
|
2206
2212
|
};
|
|
2207
2213
|
return /* @__PURE__ */ i.jsx(
|
|
2208
2214
|
"div",
|
|
2209
2215
|
{
|
|
2210
|
-
...
|
|
2211
|
-
className:
|
|
2216
|
+
...u,
|
|
2217
|
+
className: Pe(Kt.s, !p && Kt.n, r),
|
|
2212
2218
|
children: n
|
|
2213
2219
|
}
|
|
2214
2220
|
);
|
|
2215
2221
|
}
|
|
2216
|
-
const
|
|
2217
|
-
a:
|
|
2218
|
-
l:
|
|
2219
|
-
r:
|
|
2222
|
+
const sn = "_a_ohhaz_1", ln = "_l_ohhaz_12", cn = "_r_ohhaz_15", Dt = {
|
|
2223
|
+
a: sn,
|
|
2224
|
+
l: ln,
|
|
2225
|
+
r: cn
|
|
2220
2226
|
};
|
|
2221
|
-
function
|
|
2227
|
+
function un({
|
|
2222
2228
|
children: r,
|
|
2223
2229
|
className: n,
|
|
2224
2230
|
position: a = "center",
|
|
2225
|
-
title:
|
|
2231
|
+
title: c
|
|
2226
2232
|
}) {
|
|
2227
|
-
let
|
|
2228
|
-
return a === "left" ?
|
|
2233
|
+
let l = "";
|
|
2234
|
+
return a === "left" ? l = Dt.l : a === "right" && (l = Dt.r), /* @__PURE__ */ i.jsxs("div", { className: Pe(Dt.a, l, n), children: [
|
|
2229
2235
|
r,
|
|
2230
|
-
|
|
2236
|
+
c && /* @__PURE__ */ i.jsx("b", { children: c })
|
|
2231
2237
|
] });
|
|
2232
2238
|
}
|
|
2233
2239
|
const U = {
|
|
@@ -2241,16 +2247,16 @@ const U = {
|
|
|
2241
2247
|
U.prev = de.getPage(), n.page !== void 0 ? de.setPage(n.page) : (a = n.callback) == null || a.call(n);
|
|
2242
2248
|
}), Ce.BackButton.onClick(U.listen[0]));
|
|
2243
2249
|
}
|
|
2244
|
-
},
|
|
2250
|
+
}, Pe = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
|
|
2245
2251
|
var $;
|
|
2246
2252
|
((r) => {
|
|
2247
2253
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
2248
2254
|
var n;
|
|
2249
2255
|
return ((n = r.WebApp.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
|
|
2250
2256
|
}, r.Notice = {
|
|
2251
|
-
Send: (n, a,
|
|
2252
|
-
var
|
|
2253
|
-
a !== void 0 ? (xe.Send({ type: n, text: a, thema:
|
|
2257
|
+
Send: (n, a, c) => {
|
|
2258
|
+
var l, p;
|
|
2259
|
+
a !== void 0 ? (xe.Send({ type: n, text: a, thema: c }), (l = r.WebApp.HapticFeedback) == null || l.notificationOccurred(n)) : (xe.Send(n), (p = r.WebApp.HapticFeedback) == null || p.notificationOccurred(n.type));
|
|
2254
2260
|
},
|
|
2255
2261
|
Error: (n) => {
|
|
2256
2262
|
var a;
|
|
@@ -2264,7 +2270,7 @@ var $;
|
|
|
2264
2270
|
var a;
|
|
2265
2271
|
xe.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
|
|
2266
2272
|
}
|
|
2267
|
-
}, r.Header =
|
|
2273
|
+
}, r.Header = Rr, r.TabBar = Gr, r.BottomSheet = rr, r.toggleBottomSheet = nt, r.SafeArea = Er, r.Loading = Ar, r.Sidebar = zr, r.SidePanel = tn, r.AppBar = un, r.SidePanelController = rn, r.Scroll = an, r.Modal = Wt, r.Menu = Ir, r.MainButton = {
|
|
2268
2274
|
callback: [],
|
|
2269
2275
|
set: (n) => {
|
|
2270
2276
|
Ee.is ? Ee.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
|
|
@@ -2282,28 +2288,28 @@ var $;
|
|
|
2282
2288
|
Ee.is ? Ee.BackButton.set(n) : (U.state.push(n), U.router(n));
|
|
2283
2289
|
};
|
|
2284
2290
|
})($ || ($ = {}));
|
|
2285
|
-
const
|
|
2291
|
+
const vn = $.TabBar, hn = rr, Gt = $.BackButton, gn = $.BackButtonPrev, fn = $.BackButtonState, yn = $.Notice, mn = $.SafeArea, bn = $.Loading, _n = $.Menu, Rn = $.SidePanel, Sn = $.Scroll, kn = $.AppBar, xn = $.Sidebar, En = $.SidePanelController, { Header: jn, toggleBottomSheet: On, Modal: An, MainButton: Cn, WebApp: Ce, getUser: Pn } = $;
|
|
2286
2292
|
export {
|
|
2287
|
-
|
|
2293
|
+
kn as AppBar,
|
|
2288
2294
|
Gt as BackButton,
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2295
|
+
gn as BackButtonPrev,
|
|
2296
|
+
fn as BackButtonState,
|
|
2297
|
+
hn as BottomSheet,
|
|
2298
|
+
jn as Header,
|
|
2299
|
+
bn as Loading,
|
|
2300
|
+
Cn as MainButton,
|
|
2301
|
+
_n as Menu,
|
|
2302
|
+
An as Modal,
|
|
2303
|
+
yn as Notice,
|
|
2304
|
+
mn as SafeArea,
|
|
2305
|
+
Sn as Scroll,
|
|
2306
|
+
Rn as SidePanel,
|
|
2307
|
+
En as SidePanelController,
|
|
2308
|
+
xn as Sidebar,
|
|
2309
|
+
vn as TabBar,
|
|
2304
2310
|
Ce as WebApp,
|
|
2305
|
-
|
|
2311
|
+
Pe as clsx,
|
|
2306
2312
|
$ as default,
|
|
2307
|
-
|
|
2308
|
-
|
|
2313
|
+
Pn as getUser,
|
|
2314
|
+
On as toggleBottomSheet
|
|
2309
2315
|
};
|