@elcrm/telegram 0.0.178 → 0.0.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.es.js +186 -188
- package/dist/index.umd.js +11 -11
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import $, { useState as M, useEffect as H } from "react";
|
|
2
2
|
import { createPortal as mr } from "react-dom";
|
|
3
|
-
import './index.css';var
|
|
3
|
+
import './index.css';var Yt = { exports: {} }, rt = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -11,15 +11,15 @@ import './index.css';var qt = { exports: {} }, rt = {};
|
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
var Kt;
|
|
14
|
-
function
|
|
14
|
+
function hr() {
|
|
15
15
|
if (Kt) return rt;
|
|
16
16
|
Kt = 1;
|
|
17
17
|
var t = $, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
18
|
function d(g, u, p) {
|
|
19
|
-
var
|
|
19
|
+
var h, y = {}, R = null, S = null;
|
|
20
20
|
p !== void 0 && (R = "" + p), u.key !== void 0 && (R = "" + u.key), u.ref !== void 0 && (S = u.ref);
|
|
21
|
-
for (
|
|
22
|
-
if (g && g.defaultProps) for (
|
|
21
|
+
for (h in u) i.call(u, h) && !l.hasOwnProperty(h) && (y[h] = u[h]);
|
|
22
|
+
if (g && g.defaultProps) for (h in u = g.defaultProps, u) y[h] === void 0 && (y[h] = u[h]);
|
|
23
23
|
return { $$typeof: r, type: g, key: R, ref: S, props: y, _owner: s.current };
|
|
24
24
|
}
|
|
25
25
|
return rt.Fragment = n, rt.jsx = d, rt.jsxs = d, rt;
|
|
@@ -35,9 +35,9 @@ var nt = {};
|
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
37
|
var Gt;
|
|
38
|
-
function
|
|
38
|
+
function br() {
|
|
39
39
|
return Gt || (Gt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var t = $, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), g = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"),
|
|
40
|
+
var t = $, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), g = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), k = Symbol.iterator, N = "@@iterator";
|
|
41
41
|
function J(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
@@ -56,8 +56,8 @@ function hr() {
|
|
|
56
56
|
{
|
|
57
57
|
var f = I.ReactDebugCurrentFrame, v = f.getStackAddendum();
|
|
58
58
|
v !== "" && (o += "%s", a = a.concat([v]));
|
|
59
|
-
var _ = a.map(function(
|
|
60
|
-
return String(
|
|
59
|
+
var _ = a.map(function(b) {
|
|
60
|
+
return String(b);
|
|
61
61
|
});
|
|
62
62
|
_.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, _);
|
|
63
63
|
}
|
|
@@ -65,13 +65,13 @@ function hr() {
|
|
|
65
65
|
var je = !1, we = !1, ae = !1, de = !1, gt = !1, Pe;
|
|
66
66
|
Pe = Symbol.for("react.module.reference");
|
|
67
67
|
function mt(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === l || gt || e === s || e === p || e ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === l || gt || e === s || e === p || e === h || de || e === S || je || we || ae || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === y || e.$$typeof === d || e.$$typeof === g || 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.
|
|
72
72
|
e.$$typeof === Pe || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ht(e, o, a) {
|
|
75
75
|
var f = e.displayName;
|
|
76
76
|
if (f)
|
|
77
77
|
return f;
|
|
@@ -99,7 +99,7 @@ function hr() {
|
|
|
99
99
|
return "StrictMode";
|
|
100
100
|
case p:
|
|
101
101
|
return "Suspense";
|
|
102
|
-
case
|
|
102
|
+
case h:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
@@ -111,14 +111,14 @@ function hr() {
|
|
|
111
111
|
var a = e;
|
|
112
112
|
return $e(a._context) + ".Provider";
|
|
113
113
|
case u:
|
|
114
|
-
return
|
|
114
|
+
return ht(e, e.render, "ForwardRef");
|
|
115
115
|
case y:
|
|
116
116
|
var f = e.displayName || null;
|
|
117
117
|
return f !== null ? f : B(e.type) || "Memo";
|
|
118
118
|
case R: {
|
|
119
|
-
var v = e, _ = v._payload,
|
|
119
|
+
var v = e, _ = v._payload, b = v._init;
|
|
120
120
|
try {
|
|
121
|
-
return B(
|
|
121
|
+
return B(b(_));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -130,7 +130,7 @@ function hr() {
|
|
|
130
130
|
function Ue() {
|
|
131
131
|
}
|
|
132
132
|
Ue.__reactDisabledLog = !0;
|
|
133
|
-
function
|
|
133
|
+
function bt() {
|
|
134
134
|
{
|
|
135
135
|
if (G === 0) {
|
|
136
136
|
Te = console.log, Ne = console.info, Me = console.warn, Ie = console.error, Be = console.group, De = console.groupCollapsed, Le = console.groupEnd;
|
|
@@ -188,7 +188,7 @@ function hr() {
|
|
|
188
188
|
G < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var be = I.ReactCurrentDispatcher, ve;
|
|
192
192
|
function se(e, o, a) {
|
|
193
193
|
{
|
|
194
194
|
if (ve === void 0)
|
|
@@ -220,30 +220,30 @@ function hr() {
|
|
|
220
220
|
var v = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var _;
|
|
223
|
-
_ =
|
|
223
|
+
_ = be.current, be.current = null, bt();
|
|
224
224
|
try {
|
|
225
225
|
if (o) {
|
|
226
|
-
var
|
|
226
|
+
var b = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
229
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(b.prototype, "props", {
|
|
230
230
|
set: function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
}
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
|
-
Reflect.construct(
|
|
235
|
+
Reflect.construct(b, []);
|
|
236
236
|
} catch (O) {
|
|
237
237
|
f = O;
|
|
238
238
|
}
|
|
239
|
-
Reflect.construct(e, [],
|
|
239
|
+
Reflect.construct(e, [], b);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
|
-
|
|
242
|
+
b.call();
|
|
243
243
|
} catch (O) {
|
|
244
244
|
f = O;
|
|
245
245
|
}
|
|
246
|
-
e.call(
|
|
246
|
+
e.call(b.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
@@ -273,9 +273,9 @@ function hr() {
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
ye = !1,
|
|
276
|
+
ye = !1, be.current = _, vt(), Error.prepareStackTrace = v;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
278
|
+
var Y = e ? e.displayName || e.name : "", L = Y ? se(Y) : "";
|
|
279
279
|
return typeof e == "function" && ie.set(e, L), L;
|
|
280
280
|
}
|
|
281
281
|
function _t(e, o, a) {
|
|
@@ -295,7 +295,7 @@ function hr() {
|
|
|
295
295
|
switch (e) {
|
|
296
296
|
case p:
|
|
297
297
|
return se("Suspense");
|
|
298
|
-
case
|
|
298
|
+
case h:
|
|
299
299
|
return se("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
@@ -314,30 +314,30 @@ function hr() {
|
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var X = Object.prototype.hasOwnProperty, We = {},
|
|
317
|
+
var X = Object.prototype.hasOwnProperty, We = {}, qe = I.ReactDebugCurrentFrame;
|
|
318
318
|
function le(e) {
|
|
319
319
|
if (e) {
|
|
320
320
|
var o = e._owner, a = ce(e.type, e._source, o ? o.type : null);
|
|
321
|
-
|
|
321
|
+
qe.setExtraStackFrame(a);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
qe.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
325
|
function St(e, o, a, f, v) {
|
|
326
326
|
{
|
|
327
327
|
var _ = Function.call.bind(X);
|
|
328
|
-
for (var
|
|
329
|
-
if (_(e,
|
|
328
|
+
for (var b in e)
|
|
329
|
+
if (_(e, b)) {
|
|
330
330
|
var m = void 0;
|
|
331
331
|
try {
|
|
332
|
-
if (typeof e[
|
|
333
|
-
var w = Error((f || "React class") + ": " + a + " type `" +
|
|
332
|
+
if (typeof e[b] != "function") {
|
|
333
|
+
var w = Error((f || "React class") + ": " + a + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
334
|
throw w.name = "Invariant Violation", w;
|
|
335
335
|
}
|
|
336
|
-
m = e[
|
|
336
|
+
m = e[b](o, b, f, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
337
|
} catch (x) {
|
|
338
338
|
m = x;
|
|
339
339
|
}
|
|
340
|
-
m && !(m instanceof Error) && (le(v), A("%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).", f || "React class", a,
|
|
340
|
+
m && !(m instanceof Error) && (le(v), A("%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).", f || "React class", a, b, typeof m), le(null)), m instanceof Error && !(m.message in We) && (We[m.message] = !0, le(v), A("Failed %s type: %s", a, m.message), le(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
@@ -353,17 +353,17 @@ function hr() {
|
|
|
353
353
|
}
|
|
354
354
|
function kt(e) {
|
|
355
355
|
try {
|
|
356
|
-
return
|
|
356
|
+
return Ye(e), !1;
|
|
357
357
|
} catch {
|
|
358
358
|
return !0;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ye(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
364
|
function Ve(e) {
|
|
365
365
|
if (kt(e))
|
|
366
|
-
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)),
|
|
366
|
+
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)), Ye(e);
|
|
367
367
|
}
|
|
368
368
|
var He = I.ReactCurrentOwner, At = {
|
|
369
369
|
key: !0,
|
|
@@ -412,7 +412,7 @@ function hr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var $t = function(e, o, a, f, v, _,
|
|
415
|
+
var $t = function(e, o, a, f, v, _, b) {
|
|
416
416
|
var m = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: r,
|
|
@@ -420,7 +420,7 @@ function hr() {
|
|
|
420
420
|
type: e,
|
|
421
421
|
key: o,
|
|
422
422
|
ref: a,
|
|
423
|
-
props:
|
|
423
|
+
props: b,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
425
|
_owner: _
|
|
426
426
|
};
|
|
@@ -443,24 +443,24 @@ function hr() {
|
|
|
443
443
|
};
|
|
444
444
|
function Tt(e, o, a, f, v) {
|
|
445
445
|
{
|
|
446
|
-
var _,
|
|
446
|
+
var _, b = {}, m = null, w = null;
|
|
447
447
|
a !== void 0 && (Ve(a), m = "" + a), wt(o) && (Ve(o.key), m = "" + o.key), jt(o) && (w = o.ref, Ot(o, v));
|
|
448
448
|
for (_ in o)
|
|
449
|
-
X.call(o, _) && !At.hasOwnProperty(_) && (
|
|
449
|
+
X.call(o, _) && !At.hasOwnProperty(_) && (b[_] = o[_]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var x = e.defaultProps;
|
|
452
452
|
for (_ in x)
|
|
453
|
-
|
|
453
|
+
b[_] === void 0 && (b[_] = x[_]);
|
|
454
454
|
}
|
|
455
455
|
if (m || w) {
|
|
456
456
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
m && Ct(
|
|
457
|
+
m && Ct(b, E), w && Pt(b, E);
|
|
458
458
|
}
|
|
459
|
-
return $t(e, m, w, v, f, He.current,
|
|
459
|
+
return $t(e, m, w, v, f, He.current, b);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
var Re = I.ReactCurrentOwner, Ke = I.ReactDebugCurrentFrame;
|
|
463
|
-
function
|
|
463
|
+
function q(e) {
|
|
464
464
|
if (e) {
|
|
465
465
|
var o = e._owner, a = ce(e.type, e._source, o ? o.type : null);
|
|
466
466
|
Ke.setExtraStackFrame(a);
|
|
@@ -510,7 +510,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
510
510
|
return;
|
|
511
511
|
Xe[a] = !0;
|
|
512
512
|
var f = "";
|
|
513
|
-
e && e._owner && e._owner !== Re.current && (f = " It was passed a child from " + B(e._owner.type) + "."),
|
|
513
|
+
e && e._owner && e._owner !== Re.current && (f = " It was passed a child from " + B(e._owner.type) + "."), q(e), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, f), q(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
function Qe(e, o) {
|
|
@@ -527,8 +527,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
527
527
|
else if (e) {
|
|
528
528
|
var v = J(e);
|
|
529
529
|
if (typeof v == "function" && v !== e.entries)
|
|
530
|
-
for (var _ = v.call(e),
|
|
531
|
-
xe(
|
|
530
|
+
for (var _ = v.call(e), b; !(b = _.next()).done; )
|
|
531
|
+
xe(b.value) && Ze(b.value, o);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
@@ -562,18 +562,18 @@ Check the top-level render call using <` + a + ">.");
|
|
|
562
562
|
for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
|
|
563
563
|
var f = o[a];
|
|
564
564
|
if (f !== "children" && f !== "key") {
|
|
565
|
-
|
|
565
|
+
q(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), q(null);
|
|
566
566
|
break;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
e.ref !== null && (
|
|
569
|
+
e.ref !== null && (q(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
var et = {};
|
|
573
573
|
function tt(e, o, a, f, v, _) {
|
|
574
574
|
{
|
|
575
|
-
var
|
|
576
|
-
if (!
|
|
575
|
+
var b = mt(e);
|
|
576
|
+
if (!b) {
|
|
577
577
|
var m = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " 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
579
|
var w = Nt();
|
|
@@ -584,13 +584,13 @@ Check the top-level render call using <` + a + ">.");
|
|
|
584
584
|
var E = Tt(e, o, a, v, _);
|
|
585
585
|
if (E == null)
|
|
586
586
|
return E;
|
|
587
|
-
if (
|
|
587
|
+
if (b) {
|
|
588
588
|
var T = o.children;
|
|
589
589
|
if (T !== void 0)
|
|
590
590
|
if (f)
|
|
591
591
|
if (_e(T)) {
|
|
592
|
-
for (var
|
|
593
|
-
Qe(T[
|
|
592
|
+
for (var Y = 0; Y < T.length; Y++)
|
|
593
|
+
Qe(T[Y], e);
|
|
594
594
|
Object.freeze && Object.freeze(T);
|
|
595
595
|
} else
|
|
596
596
|
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -598,8 +598,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
598
598
|
Qe(T, e);
|
|
599
599
|
}
|
|
600
600
|
if (X.call(o, "key")) {
|
|
601
|
-
var L = B(e), O = Object.keys(o).filter(function(
|
|
602
|
-
return
|
|
601
|
+
var L = B(e), O = Object.keys(o).filter(function(qt) {
|
|
602
|
+
return qt !== "key";
|
|
603
603
|
}), Ee = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
604
|
if (!et[L + Ee]) {
|
|
605
605
|
var Wt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
@@ -624,8 +624,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
nt.Fragment = i, nt.jsx = Ut, nt.jsxs = Ft;
|
|
625
625
|
}()), nt;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var c =
|
|
627
|
+
process.env.NODE_ENV === "production" ? Yt.exports = hr() : Yt.exports = br();
|
|
628
|
+
var c = Yt.exports;
|
|
629
629
|
const vr = "_o_1apbm_11", yr = "_x_1apbm_24", _r = "_p_1apbm_28", Rr = "_m_1apbm_45", Oe = {
|
|
630
630
|
o: vr,
|
|
631
631
|
x: yr,
|
|
@@ -639,7 +639,7 @@ var Vt;
|
|
|
639
639
|
children: g,
|
|
640
640
|
onCallbackModal: u,
|
|
641
641
|
nameModal: p,
|
|
642
|
-
offsetTop:
|
|
642
|
+
offsetTop: h
|
|
643
643
|
}) {
|
|
644
644
|
const [y, R] = M(!1), [S, k] = M(!1);
|
|
645
645
|
if (V[p].onClose = () => {
|
|
@@ -657,7 +657,7 @@ var Vt;
|
|
|
657
657
|
className: W(
|
|
658
658
|
Oe.p,
|
|
659
659
|
S && Oe.x,
|
|
660
|
-
|
|
660
|
+
h ? Oe.o : Oe.m
|
|
661
661
|
),
|
|
662
662
|
children: g
|
|
663
663
|
}
|
|
@@ -668,13 +668,13 @@ var Vt;
|
|
|
668
668
|
import_modules: g
|
|
669
669
|
}) {
|
|
670
670
|
let [u, p] = M([]);
|
|
671
|
-
return V.x = (
|
|
672
|
-
p(
|
|
671
|
+
return V.x = (h) => {
|
|
672
|
+
p(h ? u.filter((y) => y.key !== h) : []);
|
|
673
673
|
}, H(() => {
|
|
674
674
|
g && (V.i = g);
|
|
675
|
-
}, []), V.add = (
|
|
676
|
-
p([...u, { key: y, item:
|
|
677
|
-
}, /* @__PURE__ */ c.jsx(c.Fragment, { children: u.map((
|
|
675
|
+
}, []), V.add = (h, y = Date.now()) => {
|
|
676
|
+
p([...u, { key: y, item: h }]);
|
|
677
|
+
}, /* @__PURE__ */ c.jsx(c.Fragment, { children: u.map((h) => h.item) });
|
|
678
678
|
}
|
|
679
679
|
t.Init = n;
|
|
680
680
|
function i(g, u, p) {
|
|
@@ -720,8 +720,8 @@ var Vt;
|
|
|
720
720
|
V[g].onClose();
|
|
721
721
|
}
|
|
722
722
|
t.Close = l;
|
|
723
|
-
function d(g, u, p,
|
|
724
|
-
V.i && (
|
|
723
|
+
function d(g, u, p, h) {
|
|
724
|
+
V.i && (h && (p.callback = h), V.i(`${g}/modals/${u}.tsx`).then((y) => {
|
|
725
725
|
var R;
|
|
726
726
|
y.Open ? y.Open(p) : (R = y.default) != null && R.Open ? y.default.Open(p) : y.default && y.default(p);
|
|
727
727
|
}));
|
|
@@ -811,7 +811,7 @@ const dt = (t) => {
|
|
|
811
811
|
return "";
|
|
812
812
|
}
|
|
813
813
|
};
|
|
814
|
-
var
|
|
814
|
+
var he;
|
|
815
815
|
((t) => {
|
|
816
816
|
t.setKey = (r) => {
|
|
817
817
|
Xt({ key: r });
|
|
@@ -834,7 +834,7 @@ var be;
|
|
|
834
834
|
}, t.setSecurityParams = (r, n) => {
|
|
835
835
|
Xt({ iterations: r, saltLength: n });
|
|
836
836
|
};
|
|
837
|
-
})(
|
|
837
|
+
})(he || (he = {}));
|
|
838
838
|
var ot = {};
|
|
839
839
|
/**
|
|
840
840
|
* @license React
|
|
@@ -851,10 +851,10 @@ function wr() {
|
|
|
851
851
|
Zt = 1;
|
|
852
852
|
var t = $, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
853
853
|
function d(g, u, p) {
|
|
854
|
-
var
|
|
854
|
+
var h, y = {}, R = null, S = null;
|
|
855
855
|
p !== void 0 && (R = "" + p), u.key !== void 0 && (R = "" + u.key), u.ref !== void 0 && (S = u.ref);
|
|
856
|
-
for (
|
|
857
|
-
if (g && g.defaultProps) for (
|
|
856
|
+
for (h in u) i.call(u, h) && !l.hasOwnProperty(h) && (y[h] = u[h]);
|
|
857
|
+
if (g && g.defaultProps) for (h in u = g.defaultProps, u) y[h] === void 0 && (y[h] = u[h]);
|
|
858
858
|
return { $$typeof: r, type: g, key: R, ref: S, props: y, _owner: s.current };
|
|
859
859
|
}
|
|
860
860
|
return ot.Fragment = n, ot.jsx = d, ot.jsxs = d, ot;
|
|
@@ -872,7 +872,7 @@ var ct = {};
|
|
|
872
872
|
var Qt;
|
|
873
873
|
function Or() {
|
|
874
874
|
return Qt || (Qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
|
-
var t = $, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), g = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"),
|
|
875
|
+
var t = $, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), g = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), k = Symbol.iterator, N = "@@iterator";
|
|
876
876
|
function J(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
@@ -891,8 +891,8 @@ function Or() {
|
|
|
891
891
|
{
|
|
892
892
|
var f = I.ReactDebugCurrentFrame, v = f.getStackAddendum();
|
|
893
893
|
v !== "" && (o += "%s", a = a.concat([v]));
|
|
894
|
-
var _ = a.map(function(
|
|
895
|
-
return String(
|
|
894
|
+
var _ = a.map(function(b) {
|
|
895
|
+
return String(b);
|
|
896
896
|
});
|
|
897
897
|
_.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, _);
|
|
898
898
|
}
|
|
@@ -900,13 +900,13 @@ function Or() {
|
|
|
900
900
|
var je = !1, we = !1, ae = !1, de = !1, gt = !1, Pe;
|
|
901
901
|
Pe = Symbol.for("react.module.reference");
|
|
902
902
|
function mt(e) {
|
|
903
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === l || gt || e === s || e === p || e ===
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === l || gt || e === s || e === p || e === h || de || e === S || je || we || ae || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === y || e.$$typeof === d || e.$$typeof === g || e.$$typeof === u || // This needs to include all possible module reference object
|
|
904
904
|
// types supported by any Flight configuration anywhere since
|
|
905
905
|
// we don't know which Flight build this will end up being used
|
|
906
906
|
// with.
|
|
907
907
|
e.$$typeof === Pe || e.getModuleId !== void 0));
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function ht(e, o, a) {
|
|
910
910
|
var f = e.displayName;
|
|
911
911
|
if (f)
|
|
912
912
|
return f;
|
|
@@ -934,7 +934,7 @@ function Or() {
|
|
|
934
934
|
return "StrictMode";
|
|
935
935
|
case p:
|
|
936
936
|
return "Suspense";
|
|
937
|
-
case
|
|
937
|
+
case h:
|
|
938
938
|
return "SuspenseList";
|
|
939
939
|
}
|
|
940
940
|
if (typeof e == "object")
|
|
@@ -946,14 +946,14 @@ function Or() {
|
|
|
946
946
|
var a = e;
|
|
947
947
|
return $e(a._context) + ".Provider";
|
|
948
948
|
case u:
|
|
949
|
-
return
|
|
949
|
+
return ht(e, e.render, "ForwardRef");
|
|
950
950
|
case y:
|
|
951
951
|
var f = e.displayName || null;
|
|
952
952
|
return f !== null ? f : B(e.type) || "Memo";
|
|
953
953
|
case R: {
|
|
954
|
-
var v = e, _ = v._payload,
|
|
954
|
+
var v = e, _ = v._payload, b = v._init;
|
|
955
955
|
try {
|
|
956
|
-
return B(
|
|
956
|
+
return B(b(_));
|
|
957
957
|
} catch {
|
|
958
958
|
return null;
|
|
959
959
|
}
|
|
@@ -965,7 +965,7 @@ function Or() {
|
|
|
965
965
|
function Ue() {
|
|
966
966
|
}
|
|
967
967
|
Ue.__reactDisabledLog = !0;
|
|
968
|
-
function
|
|
968
|
+
function bt() {
|
|
969
969
|
{
|
|
970
970
|
if (G === 0) {
|
|
971
971
|
Te = console.log, Ne = console.info, Me = console.warn, Ie = console.error, Be = console.group, De = console.groupCollapsed, Le = console.groupEnd;
|
|
@@ -1023,7 +1023,7 @@ function Or() {
|
|
|
1023
1023
|
G < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
|
-
var
|
|
1026
|
+
var be = I.ReactCurrentDispatcher, ve;
|
|
1027
1027
|
function se(e, o, a) {
|
|
1028
1028
|
{
|
|
1029
1029
|
if (ve === void 0)
|
|
@@ -1055,30 +1055,30 @@ function Or() {
|
|
|
1055
1055
|
var v = Error.prepareStackTrace;
|
|
1056
1056
|
Error.prepareStackTrace = void 0;
|
|
1057
1057
|
var _;
|
|
1058
|
-
_ =
|
|
1058
|
+
_ = be.current, be.current = null, bt();
|
|
1059
1059
|
try {
|
|
1060
1060
|
if (o) {
|
|
1061
|
-
var
|
|
1061
|
+
var b = function() {
|
|
1062
1062
|
throw Error();
|
|
1063
1063
|
};
|
|
1064
|
-
if (Object.defineProperty(
|
|
1064
|
+
if (Object.defineProperty(b.prototype, "props", {
|
|
1065
1065
|
set: function() {
|
|
1066
1066
|
throw Error();
|
|
1067
1067
|
}
|
|
1068
1068
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1069
1069
|
try {
|
|
1070
|
-
Reflect.construct(
|
|
1070
|
+
Reflect.construct(b, []);
|
|
1071
1071
|
} catch (O) {
|
|
1072
1072
|
f = O;
|
|
1073
1073
|
}
|
|
1074
|
-
Reflect.construct(e, [],
|
|
1074
|
+
Reflect.construct(e, [], b);
|
|
1075
1075
|
} else {
|
|
1076
1076
|
try {
|
|
1077
|
-
|
|
1077
|
+
b.call();
|
|
1078
1078
|
} catch (O) {
|
|
1079
1079
|
f = O;
|
|
1080
1080
|
}
|
|
1081
|
-
e.call(
|
|
1081
|
+
e.call(b.prototype);
|
|
1082
1082
|
}
|
|
1083
1083
|
} else {
|
|
1084
1084
|
try {
|
|
@@ -1108,9 +1108,9 @@ function Or() {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
} finally {
|
|
1111
|
-
ye = !1,
|
|
1111
|
+
ye = !1, be.current = _, vt(), Error.prepareStackTrace = v;
|
|
1112
1112
|
}
|
|
1113
|
-
var
|
|
1113
|
+
var Y = e ? e.displayName || e.name : "", L = Y ? se(Y) : "";
|
|
1114
1114
|
return typeof e == "function" && ie.set(e, L), L;
|
|
1115
1115
|
}
|
|
1116
1116
|
function _t(e, o, a) {
|
|
@@ -1130,7 +1130,7 @@ function Or() {
|
|
|
1130
1130
|
switch (e) {
|
|
1131
1131
|
case p:
|
|
1132
1132
|
return se("Suspense");
|
|
1133
|
-
case
|
|
1133
|
+
case h:
|
|
1134
1134
|
return se("SuspenseList");
|
|
1135
1135
|
}
|
|
1136
1136
|
if (typeof e == "object")
|
|
@@ -1149,30 +1149,30 @@ function Or() {
|
|
|
1149
1149
|
}
|
|
1150
1150
|
return "";
|
|
1151
1151
|
}
|
|
1152
|
-
var X = Object.prototype.hasOwnProperty, We = {},
|
|
1152
|
+
var X = Object.prototype.hasOwnProperty, We = {}, qe = I.ReactDebugCurrentFrame;
|
|
1153
1153
|
function le(e) {
|
|
1154
1154
|
if (e) {
|
|
1155
1155
|
var o = e._owner, a = ce(e.type, e._source, o ? o.type : null);
|
|
1156
|
-
|
|
1156
|
+
qe.setExtraStackFrame(a);
|
|
1157
1157
|
} else
|
|
1158
|
-
|
|
1158
|
+
qe.setExtraStackFrame(null);
|
|
1159
1159
|
}
|
|
1160
1160
|
function St(e, o, a, f, v) {
|
|
1161
1161
|
{
|
|
1162
1162
|
var _ = Function.call.bind(X);
|
|
1163
|
-
for (var
|
|
1164
|
-
if (_(e,
|
|
1163
|
+
for (var b in e)
|
|
1164
|
+
if (_(e, b)) {
|
|
1165
1165
|
var m = void 0;
|
|
1166
1166
|
try {
|
|
1167
|
-
if (typeof e[
|
|
1168
|
-
var w = Error((f || "React class") + ": " + a + " type `" +
|
|
1167
|
+
if (typeof e[b] != "function") {
|
|
1168
|
+
var w = Error((f || "React class") + ": " + a + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1169
1169
|
throw w.name = "Invariant Violation", w;
|
|
1170
1170
|
}
|
|
1171
|
-
m = e[
|
|
1171
|
+
m = e[b](o, b, f, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1172
1172
|
} catch (x) {
|
|
1173
1173
|
m = x;
|
|
1174
1174
|
}
|
|
1175
|
-
m && !(m instanceof Error) && (le(v), A("%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).", f || "React class", a,
|
|
1175
|
+
m && !(m instanceof Error) && (le(v), A("%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).", f || "React class", a, b, typeof m), le(null)), m instanceof Error && !(m.message in We) && (We[m.message] = !0, le(v), A("Failed %s type: %s", a, m.message), le(null));
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
@@ -1188,17 +1188,17 @@ function Or() {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
function kt(e) {
|
|
1190
1190
|
try {
|
|
1191
|
-
return
|
|
1191
|
+
return Ye(e), !1;
|
|
1192
1192
|
} catch {
|
|
1193
1193
|
return !0;
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1196
|
+
function Ye(e) {
|
|
1197
1197
|
return "" + e;
|
|
1198
1198
|
}
|
|
1199
1199
|
function Ve(e) {
|
|
1200
1200
|
if (kt(e))
|
|
1201
|
-
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)),
|
|
1201
|
+
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)), Ye(e);
|
|
1202
1202
|
}
|
|
1203
1203
|
var He = I.ReactCurrentOwner, At = {
|
|
1204
1204
|
key: !0,
|
|
@@ -1247,7 +1247,7 @@ function Or() {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
var $t = function(e, o, a, f, v, _,
|
|
1250
|
+
var $t = function(e, o, a, f, v, _, b) {
|
|
1251
1251
|
var m = {
|
|
1252
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1253
1253
|
$$typeof: r,
|
|
@@ -1255,7 +1255,7 @@ function Or() {
|
|
|
1255
1255
|
type: e,
|
|
1256
1256
|
key: o,
|
|
1257
1257
|
ref: a,
|
|
1258
|
-
props:
|
|
1258
|
+
props: b,
|
|
1259
1259
|
// Record the component responsible for creating this element.
|
|
1260
1260
|
_owner: _
|
|
1261
1261
|
};
|
|
@@ -1278,24 +1278,24 @@ function Or() {
|
|
|
1278
1278
|
};
|
|
1279
1279
|
function Tt(e, o, a, f, v) {
|
|
1280
1280
|
{
|
|
1281
|
-
var _,
|
|
1281
|
+
var _, b = {}, m = null, w = null;
|
|
1282
1282
|
a !== void 0 && (Ve(a), m = "" + a), wt(o) && (Ve(o.key), m = "" + o.key), jt(o) && (w = o.ref, Ot(o));
|
|
1283
1283
|
for (_ in o)
|
|
1284
|
-
X.call(o, _) && !At.hasOwnProperty(_) && (
|
|
1284
|
+
X.call(o, _) && !At.hasOwnProperty(_) && (b[_] = o[_]);
|
|
1285
1285
|
if (e && e.defaultProps) {
|
|
1286
1286
|
var x = e.defaultProps;
|
|
1287
1287
|
for (_ in x)
|
|
1288
|
-
|
|
1288
|
+
b[_] === void 0 && (b[_] = x[_]);
|
|
1289
1289
|
}
|
|
1290
1290
|
if (m || w) {
|
|
1291
1291
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1292
|
-
m && Ct(
|
|
1292
|
+
m && Ct(b, E), w && Pt(b, E);
|
|
1293
1293
|
}
|
|
1294
|
-
return $t(e, m, w, v, f, He.current,
|
|
1294
|
+
return $t(e, m, w, v, f, He.current, b);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
1297
|
var Re = I.ReactCurrentOwner, Ke = I.ReactDebugCurrentFrame;
|
|
1298
|
-
function
|
|
1298
|
+
function q(e) {
|
|
1299
1299
|
if (e) {
|
|
1300
1300
|
var o = e._owner, a = ce(e.type, e._source, o ? o.type : null);
|
|
1301
1301
|
Ke.setExtraStackFrame(a);
|
|
@@ -1345,7 +1345,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1345
1345
|
return;
|
|
1346
1346
|
Xe[a] = !0;
|
|
1347
1347
|
var f = "";
|
|
1348
|
-
e && e._owner && e._owner !== Re.current && (f = " It was passed a child from " + B(e._owner.type) + "."),
|
|
1348
|
+
e && e._owner && e._owner !== Re.current && (f = " It was passed a child from " + B(e._owner.type) + "."), q(e), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, f), q(null);
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
1351
|
function Qe(e, o) {
|
|
@@ -1362,8 +1362,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1362
1362
|
else if (e) {
|
|
1363
1363
|
var v = J(e);
|
|
1364
1364
|
if (typeof v == "function" && v !== e.entries)
|
|
1365
|
-
for (var _ = v.call(e),
|
|
1366
|
-
xe(
|
|
1365
|
+
for (var _ = v.call(e), b; !(b = _.next()).done; )
|
|
1366
|
+
xe(b.value) && Ze(b.value, o);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
@@ -1397,18 +1397,18 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1397
1397
|
for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
|
|
1398
1398
|
var f = o[a];
|
|
1399
1399
|
if (f !== "children" && f !== "key") {
|
|
1400
|
-
|
|
1400
|
+
q(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), q(null);
|
|
1401
1401
|
break;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
e.ref !== null && (
|
|
1404
|
+
e.ref !== null && (q(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
1407
|
var et = {};
|
|
1408
1408
|
function tt(e, o, a, f, v, _) {
|
|
1409
1409
|
{
|
|
1410
|
-
var
|
|
1411
|
-
if (!
|
|
1410
|
+
var b = mt(e);
|
|
1411
|
+
if (!b) {
|
|
1412
1412
|
var m = "";
|
|
1413
1413
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1414
1414
|
var w = Nt();
|
|
@@ -1419,13 +1419,13 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1419
1419
|
var E = Tt(e, o, a, v, _);
|
|
1420
1420
|
if (E == null)
|
|
1421
1421
|
return E;
|
|
1422
|
-
if (
|
|
1422
|
+
if (b) {
|
|
1423
1423
|
var T = o.children;
|
|
1424
1424
|
if (T !== void 0)
|
|
1425
1425
|
if (f)
|
|
1426
1426
|
if (_e(T)) {
|
|
1427
|
-
for (var
|
|
1428
|
-
Qe(T[
|
|
1427
|
+
for (var Y = 0; Y < T.length; Y++)
|
|
1428
|
+
Qe(T[Y], e);
|
|
1429
1429
|
Object.freeze && Object.freeze(T);
|
|
1430
1430
|
} else
|
|
1431
1431
|
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -1433,8 +1433,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1433
1433
|
Qe(T, e);
|
|
1434
1434
|
}
|
|
1435
1435
|
if (X.call(o, "key")) {
|
|
1436
|
-
var L = B(e), O = Object.keys(o).filter(function(
|
|
1437
|
-
return
|
|
1436
|
+
var L = B(e), O = Object.keys(o).filter(function(qt) {
|
|
1437
|
+
return qt !== "key";
|
|
1438
1438
|
}), Ee = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1439
1439
|
if (!et[L + Ee]) {
|
|
1440
1440
|
var Wt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
@@ -1614,7 +1614,7 @@ function $r() {
|
|
|
1614
1614
|
var t;
|
|
1615
1615
|
let r = sessionStorage.getItem("f");
|
|
1616
1616
|
if (r) {
|
|
1617
|
-
if (r =
|
|
1617
|
+
if (r = he.deCode(r), !r) return !1;
|
|
1618
1618
|
oe({
|
|
1619
1619
|
id: r.id,
|
|
1620
1620
|
tab: r.tab,
|
|
@@ -1670,7 +1670,7 @@ function Tr(t) {
|
|
|
1670
1670
|
function Nr(t, r = !0, n = {}) {
|
|
1671
1671
|
oe({ page: t, ...n }), sessionStorage.setItem(
|
|
1672
1672
|
j().STORAGE,
|
|
1673
|
-
|
|
1673
|
+
he.enCode(j())
|
|
1674
1674
|
), r && ee().page(t);
|
|
1675
1675
|
}
|
|
1676
1676
|
function Mr(t) {
|
|
@@ -1691,7 +1691,7 @@ function Br(t, r) {
|
|
|
1691
1691
|
function Dr(t, r = !0) {
|
|
1692
1692
|
oe({ module: t }), sessionStorage.setItem(
|
|
1693
1693
|
j().STORAGE,
|
|
1694
|
-
|
|
1694
|
+
he.enCode(j())
|
|
1695
1695
|
), r && ee().module(t);
|
|
1696
1696
|
}
|
|
1697
1697
|
function Lr(t) {
|
|
@@ -1731,13 +1731,13 @@ function Fr(t) {
|
|
|
1731
1731
|
async function Wr(t, r = !0) {
|
|
1732
1732
|
oe({ tab: t }), sessionStorage.setItem(
|
|
1733
1733
|
j().STORAGE,
|
|
1734
|
-
|
|
1734
|
+
he.enCode(j())
|
|
1735
1735
|
), r && (ee().tabs && ee().tabs(t));
|
|
1736
1736
|
}
|
|
1737
|
-
function
|
|
1737
|
+
function qr(t) {
|
|
1738
1738
|
return j().tab === t;
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1740
|
+
function Yr(t) {
|
|
1741
1741
|
if (typeof t != "function") {
|
|
1742
1742
|
const [r, n] = M(t || dr());
|
|
1743
1743
|
return H(() => {
|
|
@@ -1767,7 +1767,7 @@ function Vr(t) {
|
|
|
1767
1767
|
async function Hr(t, r = !0) {
|
|
1768
1768
|
oe({ id: t }), sessionStorage.setItem(
|
|
1769
1769
|
j().STORAGE,
|
|
1770
|
-
|
|
1770
|
+
he.enCode(j())
|
|
1771
1771
|
), r && ee().id(t);
|
|
1772
1772
|
}
|
|
1773
1773
|
function zr(t) {
|
|
@@ -1775,10 +1775,10 @@ function zr(t) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
async function Jr(t) {
|
|
1777
1777
|
var r, n, i, s, l, d, g, u;
|
|
1778
|
-
const { page: p, module:
|
|
1779
|
-
p !== void 0 && (fe.page = p),
|
|
1778
|
+
const { page: p, module: h, tab: y, id: R } = t;
|
|
1779
|
+
p !== void 0 && (fe.page = p), h !== void 0 && (fe.module = h), y !== void 0 && (fe.tab = y), R !== void 0 && (fe.id = R), oe({ ...fe }), R !== void 0 && ((n = (r = ee()).id) == null || n.call(r, R)), y !== void 0 && ((s = (i = ee()).tabs) == null || s.call(i, y)), h !== void 0 && ((d = (l = ee()).module) == null || d.call(l, h)), p !== void 0 && ((u = (g = ee()).page) == null || u.call(g, p)), sessionStorage.setItem(
|
|
1780
1780
|
j().STORAGE,
|
|
1781
|
-
|
|
1781
|
+
he.enCode(j())
|
|
1782
1782
|
);
|
|
1783
1783
|
}
|
|
1784
1784
|
const Ce = {
|
|
@@ -1797,10 +1797,10 @@ const Ce = {
|
|
|
1797
1797
|
glob: u
|
|
1798
1798
|
// Поддержка единого glob объекта для упрощения
|
|
1799
1799
|
}) {
|
|
1800
|
-
let p = l,
|
|
1801
|
-
u ? (
|
|
1800
|
+
let p = l, h = d, y = g;
|
|
1801
|
+
u ? (h = typeof d == "object" ? d : u, y = typeof g == "object" ? g : u) : (h = h || u, y = y || u), !p && (h || y) ? !u && (typeof h == "string" || typeof y == "string") ? p = Ht({ basePath: s }) : p = tr(
|
|
1802
1802
|
s,
|
|
1803
|
-
|
|
1803
|
+
h,
|
|
1804
1804
|
y
|
|
1805
1805
|
) : p || (p = Ht({ basePath: s })), oe({
|
|
1806
1806
|
page: r,
|
|
@@ -1830,9 +1830,9 @@ const Ce = {
|
|
|
1830
1830
|
useTab: Fr,
|
|
1831
1831
|
setTabs: Wr,
|
|
1832
1832
|
getTabs: Jt,
|
|
1833
|
-
isTabs:
|
|
1833
|
+
isTabs: qr,
|
|
1834
1834
|
// Методы ID
|
|
1835
|
-
useId:
|
|
1835
|
+
useId: Yr,
|
|
1836
1836
|
subId: Vr,
|
|
1837
1837
|
setId: Hr,
|
|
1838
1838
|
getId: dr,
|
|
@@ -1873,11 +1873,11 @@ function an(t) {
|
|
|
1873
1873
|
}, 300);
|
|
1874
1874
|
};
|
|
1875
1875
|
$.useEffect(() => {
|
|
1876
|
-
const
|
|
1876
|
+
const h = setTimeout(() => {
|
|
1877
1877
|
g();
|
|
1878
1878
|
}, 5e3);
|
|
1879
1879
|
return () => {
|
|
1880
|
-
clearTimeout(
|
|
1880
|
+
clearTimeout(h);
|
|
1881
1881
|
};
|
|
1882
1882
|
}, [r.key]);
|
|
1883
1883
|
let u;
|
|
@@ -1998,7 +1998,7 @@ P.users = {
|
|
|
1998
1998
|
};
|
|
1999
1999
|
const gn = ({ style: t = "default", theme: r }) => {
|
|
2000
2000
|
if (location.hostname === "localhost") {
|
|
2001
|
-
let [n, i] = M(!1), [s, l] = M(!1), [d, g] = M(r || "dark"), [u, p] = M(!1), [
|
|
2001
|
+
let [n, i] = M(!1), [s, l] = M(!1), [d, g] = M(r || "dark"), [u, p] = M(!1), [h, y] = M(!1);
|
|
2002
2002
|
z.is = !0, z.MainButton.set = i, z.BackButton.set = l, z.styled = t, H(() => {
|
|
2003
2003
|
var k;
|
|
2004
2004
|
P[d]["--tg-theme-bg-color-alpha"] = P[d]["--tg-theme-bg-color"] + "b3", P[d]["--tg-theme-secondary-bg-color-alpha"] = P[d]["--tg-theme-secondary-bg-color"] + "d3", P[d]["--tg-theme-bg-color-alpha-25"] = P[d]["--tg-theme-bg-color"] + "40", P[d]["--tg-theme-secondary-bg-color-alpha-25"] = P[d]["--tg-theme-secondary-bg-color"] + "40";
|
|
@@ -2098,7 +2098,7 @@ const gn = ({ style: t = "default", theme: r }) => {
|
|
|
2098
2098
|
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: () => p(!u), children: "Closed" }) })
|
|
2099
2099
|
] })
|
|
2100
2100
|
] }) : "",
|
|
2101
|
-
|
|
2101
|
+
h ? /* @__PURE__ */ c.jsx(mn, { setAuthorization: y }) : ""
|
|
2102
2102
|
] });
|
|
2103
2103
|
} else
|
|
2104
2104
|
return z.styled = t, H(() => {
|
|
@@ -2131,9 +2131,9 @@ const gn = ({ style: t = "default", theme: r }) => {
|
|
|
2131
2131
|
/* @__PURE__ */ c.jsx("fieldset", {}),
|
|
2132
2132
|
/* @__PURE__ */ c.jsx("div", { onClick: n, children: " Сохранить " })
|
|
2133
2133
|
] }) });
|
|
2134
|
-
},
|
|
2135
|
-
p:
|
|
2136
|
-
s:
|
|
2134
|
+
}, hn = "_p_1axqy_1", bn = "_s_1axqy_17", rr = {
|
|
2135
|
+
p: hn,
|
|
2136
|
+
s: bn
|
|
2137
2137
|
}, vn = ({ className: t, children: r, isScroll: n = !0 }) => /* @__PURE__ */ c.jsx(
|
|
2138
2138
|
"div",
|
|
2139
2139
|
{
|
|
@@ -2239,11 +2239,11 @@ const gn = ({ style: t = "default", theme: r }) => {
|
|
|
2239
2239
|
]
|
|
2240
2240
|
}
|
|
2241
2241
|
);
|
|
2242
|
-
}, Fn = "_o_8ho2f_3", Wn = "_m_8ho2f_14",
|
|
2242
|
+
}, Fn = "_o_8ho2f_3", Wn = "_m_8ho2f_14", qn = "_l_8ho2f_28", Yn = "_r_8ho2f_33", Vn = "_x_8ho2f_38", Hn = "_h_8ho2f_42", zn = "_c_8ho2f_57", Jn = "_u_8ho2f_72", ue = {
|
|
2243
2243
|
o: Fn,
|
|
2244
2244
|
m: Wn,
|
|
2245
|
-
l:
|
|
2246
|
-
r:
|
|
2245
|
+
l: qn,
|
|
2246
|
+
r: Yn,
|
|
2247
2247
|
x: Vn,
|
|
2248
2248
|
h: Hn,
|
|
2249
2249
|
c: zn,
|
|
@@ -2259,7 +2259,7 @@ function Kn({
|
|
|
2259
2259
|
position: d = "left",
|
|
2260
2260
|
id: g = "default"
|
|
2261
2261
|
}) {
|
|
2262
|
-
const [u, p] = M(!1), [
|
|
2262
|
+
const [u, p] = M(!1), [h, y] = M(
|
|
2263
2263
|
null
|
|
2264
2264
|
);
|
|
2265
2265
|
H(() => {
|
|
@@ -2318,7 +2318,7 @@ function Kn({
|
|
|
2318
2318
|
children: r
|
|
2319
2319
|
}
|
|
2320
2320
|
),
|
|
2321
|
-
|
|
2321
|
+
h && mr(R, h)
|
|
2322
2322
|
] });
|
|
2323
2323
|
}
|
|
2324
2324
|
const Gn = (t, r) => {
|
|
@@ -2351,7 +2351,7 @@ const Gn = (t, r) => {
|
|
|
2351
2351
|
onPageChange: g,
|
|
2352
2352
|
direction: u = "row"
|
|
2353
2353
|
}) => {
|
|
2354
|
-
const [p,
|
|
2354
|
+
const [p, h] = $.useState(null), y = $.useRef(null), [R, S] = $.useState(
|
|
2355
2355
|
d ? nr(n || [], d) : 0
|
|
2356
2356
|
), [k, N] = $.useState(
|
|
2357
2357
|
"right"
|
|
@@ -2393,7 +2393,7 @@ const Gn = (t, r) => {
|
|
|
2393
2393
|
activeIndex: R,
|
|
2394
2394
|
setActiveIndex: S,
|
|
2395
2395
|
onPageChange: g,
|
|
2396
|
-
setComponent:
|
|
2396
|
+
setComponent: h,
|
|
2397
2397
|
actual: l,
|
|
2398
2398
|
direction: u,
|
|
2399
2399
|
className: W(
|
|
@@ -2419,7 +2419,7 @@ const Gn = (t, r) => {
|
|
|
2419
2419
|
className: g,
|
|
2420
2420
|
"data-direction": u,
|
|
2421
2421
|
"data-scale": p,
|
|
2422
|
-
children:
|
|
2422
|
+
children: h,
|
|
2423
2423
|
...y
|
|
2424
2424
|
}, R) => /* @__PURE__ */ c.jsxs(
|
|
2425
2425
|
"div",
|
|
@@ -2470,13 +2470,13 @@ function fo({
|
|
|
2470
2470
|
n && /* @__PURE__ */ c.jsx("b", { children: n })
|
|
2471
2471
|
] });
|
|
2472
2472
|
}
|
|
2473
|
-
const po = "_w_yx04q_3", go = "_v_yx04q_24", mo = "_s_yx04q_34",
|
|
2473
|
+
const po = "_w_yx04q_3", go = "_v_yx04q_24", mo = "_s_yx04q_34", ho = "_n_yx04q_38", lt = {
|
|
2474
2474
|
w: po,
|
|
2475
2475
|
v: go,
|
|
2476
2476
|
s: mo,
|
|
2477
|
-
n:
|
|
2477
|
+
n: ho
|
|
2478
2478
|
}, zt = {};
|
|
2479
|
-
function
|
|
2479
|
+
function bo({
|
|
2480
2480
|
children: t,
|
|
2481
2481
|
id: r,
|
|
2482
2482
|
onClose: n,
|
|
@@ -2500,11 +2500,11 @@ function ho({
|
|
|
2500
2500
|
}, or({
|
|
2501
2501
|
callback: p
|
|
2502
2502
|
});
|
|
2503
|
-
const
|
|
2503
|
+
const h = setTimeout(() => {
|
|
2504
2504
|
g(!0);
|
|
2505
2505
|
}, 10);
|
|
2506
2506
|
return () => {
|
|
2507
|
-
clearTimeout(
|
|
2507
|
+
clearTimeout(h);
|
|
2508
2508
|
};
|
|
2509
2509
|
}, [i]), i ? /* @__PURE__ */ c.jsxs(
|
|
2510
2510
|
"div",
|
|
@@ -2545,7 +2545,7 @@ function Eo({
|
|
|
2545
2545
|
H(() => {
|
|
2546
2546
|
p(s || !1);
|
|
2547
2547
|
}, [s]);
|
|
2548
|
-
let
|
|
2548
|
+
let h = {
|
|
2549
2549
|
onScroll: (y) => {
|
|
2550
2550
|
const { scrollTop: R, scrollHeight: S, clientHeight: k } = y.currentTarget;
|
|
2551
2551
|
R + k >= S - i && !u && (p(!0), n == null || n());
|
|
@@ -2556,7 +2556,7 @@ function Eo({
|
|
|
2556
2556
|
/* @__PURE__ */ c.jsx(
|
|
2557
2557
|
"div",
|
|
2558
2558
|
{
|
|
2559
|
-
...
|
|
2559
|
+
...h,
|
|
2560
2560
|
className: W(
|
|
2561
2561
|
at.s,
|
|
2562
2562
|
!g && at.n,
|
|
@@ -2603,7 +2603,7 @@ function Co({
|
|
|
2603
2603
|
}
|
|
2604
2604
|
);
|
|
2605
2605
|
}
|
|
2606
|
-
const Po = "
|
|
2606
|
+
const Po = "_o_3mhqg_2", $o = "_p_3mhqg_7", To = "_x_3mhqg_27", No = "_c_3mhqg_30", Mo = "_f_3mhqg_61", Io = "_s_3mhqg_85", Bo = "_a_3mhqg_106", Do = "_h_3mhqg_120", Lo = "_b_3mhqg_143", Z = {
|
|
2607
2607
|
o: Po,
|
|
2608
2608
|
p: $o,
|
|
2609
2609
|
x: To,
|
|
@@ -2622,11 +2622,11 @@ const Po = "_o_xdl3w_2", $o = "_p_xdl3w_7", To = "_x_xdl3w_27", No = "_c_xdl3w_3
|
|
|
2622
2622
|
id: l,
|
|
2623
2623
|
onOpen: d
|
|
2624
2624
|
}) => {
|
|
2625
|
-
const [g, u] = $.useState(!1), [p,
|
|
2625
|
+
const [g, u] = $.useState(!1), [p, h] = $.useState(!1), [y, R] = $.useState(0), S = $.useRef(null);
|
|
2626
2626
|
$.useEffect(() => {
|
|
2627
2627
|
re[l] = (N) => {
|
|
2628
|
-
N ? (
|
|
2629
|
-
u(!1),
|
|
2628
|
+
N ? (h(!1), u(!0), d == null || d(!0)) : (h(!0), d == null || d(!1), setTimeout(() => {
|
|
2629
|
+
u(!1), h(!1), R(0);
|
|
2630
2630
|
}, 300));
|
|
2631
2631
|
};
|
|
2632
2632
|
}, [l, d]);
|
|
@@ -2663,29 +2663,27 @@ const Po = "_o_xdl3w_2", $o = "_p_xdl3w_7", To = "_x_xdl3w_27", No = "_c_xdl3w_3
|
|
|
2663
2663
|
},
|
|
2664
2664
|
children: [
|
|
2665
2665
|
r && /* @__PURE__ */ c.jsx("div", { className: Z.a, "aria-hidden": !0 }),
|
|
2666
|
-
/* @__PURE__ */ c.jsxs(
|
|
2666
|
+
r && /* @__PURE__ */ c.jsxs("div", { className: Z.h, children: [
|
|
2667
|
+
/* @__PURE__ */ c.jsx("h3", { children: r }),
|
|
2668
|
+
/* @__PURE__ */ c.jsx(
|
|
2669
|
+
"button",
|
|
2670
|
+
{
|
|
2671
|
+
className: Z.b,
|
|
2672
|
+
onClick: () => {
|
|
2673
|
+
var N;
|
|
2674
|
+
return (N = re[l]) == null ? void 0 : N.call(re, !1);
|
|
2675
|
+
},
|
|
2676
|
+
children: "✕"
|
|
2677
|
+
}
|
|
2678
|
+
)
|
|
2679
|
+
] }),
|
|
2680
|
+
/* @__PURE__ */ c.jsx(
|
|
2667
2681
|
"div",
|
|
2668
2682
|
{
|
|
2669
2683
|
ref: S,
|
|
2670
2684
|
className: Z.s,
|
|
2671
2685
|
onScroll: k,
|
|
2672
|
-
children:
|
|
2673
|
-
r && /* @__PURE__ */ c.jsxs("div", { className: Z.h, children: [
|
|
2674
|
-
/* @__PURE__ */ c.jsx("h3", { children: r }),
|
|
2675
|
-
/* @__PURE__ */ c.jsx(
|
|
2676
|
-
"button",
|
|
2677
|
-
{
|
|
2678
|
-
className: Z.b,
|
|
2679
|
-
onClick: () => {
|
|
2680
|
-
var N;
|
|
2681
|
-
return (N = re[l]) == null ? void 0 : N.call(re, !1);
|
|
2682
|
-
},
|
|
2683
|
-
children: "✕"
|
|
2684
|
-
}
|
|
2685
|
-
)
|
|
2686
|
-
] }),
|
|
2687
|
-
t
|
|
2688
|
-
]
|
|
2686
|
+
children: t
|
|
2689
2687
|
}
|
|
2690
2688
|
),
|
|
2691
2689
|
/* @__PURE__ */ c.jsx("div", { className: Z.f, "aria-hidden": !0 })
|
|
@@ -2755,7 +2753,7 @@ var C;
|
|
|
2755
2753
|
var s;
|
|
2756
2754
|
ke.Send({ type: "warning", title: n, text: i }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
|
|
2757
2755
|
}
|
|
2758
|
-
}, t.Header = gn, t.TabBar = io, t.Title = fo, t.HeaderSection = pr, t.BottomSheet = gr, t.BottomSheetController = Fo, t.SafeArea = vn, t.Loading = Rn, t.Sidebar = Kn, t.SidePanel =
|
|
2756
|
+
}, t.Header = gn, t.TabBar = io, t.Title = fo, t.HeaderSection = pr, t.BottomSheet = gr, t.BottomSheetController = Fo, t.SafeArea = vn, t.Loading = Rn, t.Sidebar = Kn, t.SidePanel = bo, t.AppBar = Co, t.SideBarController = Gn, t.SidePanelController = vo, t.Scroll = Eo, t.Modal = Vt, t.Menu = Un, t.MainButton = {
|
|
2759
2757
|
callback: [],
|
|
2760
2758
|
set: (n) => {
|
|
2761
2759
|
z.is ? z.MainButton.set(n) : (t.WebApp.MainButton.callback.forEach((i) => {
|