@elcrm/telegram 0.0.121 → 0.0.123
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 +255 -254
- package/dist/index.umd.js +13 -13
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -15,12 +15,12 @@ function sr() {
|
|
|
15
15
|
if (zt) return nt;
|
|
16
16
|
zt = 1;
|
|
17
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
|
-
function S(m, u,
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
if (m && m.defaultProps) for (
|
|
23
|
-
return { $$typeof: n, type: m, key:
|
|
18
|
+
function S(m, u, _) {
|
|
19
|
+
var g, y = {}, v = null, $ = null;
|
|
20
|
+
_ !== void 0 && (v = "" + _), u.key !== void 0 && (v = "" + u.key), u.ref !== void 0 && ($ = u.ref);
|
|
21
|
+
for (g in u) c.call(u, g) && !p.hasOwnProperty(g) && (y[g] = u[g]);
|
|
22
|
+
if (m && m.defaultProps) for (g in u = m.defaultProps, u) y[g] === void 0 && (y[g] = u[g]);
|
|
23
|
+
return { $$typeof: n, type: m, key: v, ref: $, props: y, _owner: l.current };
|
|
24
24
|
}
|
|
25
25
|
return nt.Fragment = a, nt.jsx = S, nt.jsxs = S, nt;
|
|
26
26
|
}
|
|
@@ -37,7 +37,7 @@ var ot = {};
|
|
|
37
37
|
var Vt;
|
|
38
38
|
function ir() {
|
|
39
39
|
return Vt || (Vt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
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"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"),
|
|
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"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), P = Symbol.iterator, Ne = "@@iterator";
|
|
41
41
|
function he(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
@@ -54,18 +54,18 @@ function ir() {
|
|
|
54
54
|
}
|
|
55
55
|
function Be(e, t, o) {
|
|
56
56
|
{
|
|
57
|
-
var s = L.ReactDebugCurrentFrame,
|
|
58
|
-
|
|
59
|
-
var
|
|
57
|
+
var s = L.ReactDebugCurrentFrame, h = s.getStackAddendum();
|
|
58
|
+
h !== "" && (t += "%s", o = o.concat([h]));
|
|
59
|
+
var b = o.map(function(d) {
|
|
60
60
|
return String(d);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
b.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, b);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var Ie = !1, Pe = !1, Me = !1, De = !1,
|
|
65
|
+
var Ie = !1, Pe = !1, Me = !1, De = !1, R = !1, E;
|
|
66
66
|
E = Symbol.for("react.module.reference");
|
|
67
67
|
function B(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p ||
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || R || e === l || e === _ || e === g || De || e === $ || Ie || Pe || Me || typeof e == "object" && e !== null && (e.$$typeof === v || e.$$typeof === y || e.$$typeof === S || e.$$typeof === m || 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.
|
|
@@ -75,8 +75,8 @@ function ir() {
|
|
|
75
75
|
var s = e.displayName;
|
|
76
76
|
if (s)
|
|
77
77
|
return s;
|
|
78
|
-
var
|
|
79
|
-
return
|
|
78
|
+
var h = t.displayName || t.name || "";
|
|
79
|
+
return h !== "" ? o + "(" + h + ")" : o;
|
|
80
80
|
}
|
|
81
81
|
function I(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
@@ -97,9 +97,9 @@ function ir() {
|
|
|
97
97
|
return "Profiler";
|
|
98
98
|
case l:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case
|
|
100
|
+
case _:
|
|
101
101
|
return "Suspense";
|
|
102
|
-
case
|
|
102
|
+
case g:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
@@ -112,13 +112,13 @@ function ir() {
|
|
|
112
112
|
return I(o._context) + ".Provider";
|
|
113
113
|
case u:
|
|
114
114
|
return M(e, e.render, "ForwardRef");
|
|
115
|
-
case
|
|
115
|
+
case y:
|
|
116
116
|
var s = e.displayName || null;
|
|
117
117
|
return s !== null ? s : N(e.type) || "Memo";
|
|
118
|
-
case
|
|
119
|
-
var
|
|
118
|
+
case v: {
|
|
119
|
+
var h = e, b = h._payload, d = h._init;
|
|
120
120
|
try {
|
|
121
|
-
return N(d(
|
|
121
|
+
return N(d(b));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -194,21 +194,21 @@ function ir() {
|
|
|
194
194
|
if (ye === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
|
-
} catch (
|
|
198
|
-
var s =
|
|
197
|
+
} catch (h) {
|
|
198
|
+
var s = h.stack.trim().match(/\n( *(at )?)/);
|
|
199
199
|
ye = s && s[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
202
|
` + ye + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var be = !1, ne;
|
|
206
206
|
{
|
|
207
207
|
var ht = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
208
|
ne = new ht();
|
|
209
209
|
}
|
|
210
210
|
function Ue(e, t) {
|
|
211
|
-
if (!e ||
|
|
211
|
+
if (!e || be)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
214
|
var o = ne.get(e);
|
|
@@ -216,11 +216,11 @@ function ir() {
|
|
|
216
216
|
return o;
|
|
217
217
|
}
|
|
218
218
|
var s;
|
|
219
|
-
|
|
220
|
-
var
|
|
219
|
+
be = !0;
|
|
220
|
+
var h = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var b;
|
|
223
|
+
b = ge.current, ge.current = null, pt();
|
|
224
224
|
try {
|
|
225
225
|
if (t) {
|
|
226
226
|
var d = function() {
|
|
@@ -273,7 +273,7 @@ function ir() {
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
be = !1, ge.current = b, vt(), Error.prepareStackTrace = h;
|
|
277
277
|
}
|
|
278
278
|
var V = e ? e.displayName || e.name : "", W = V ? re(V) : "";
|
|
279
279
|
return typeof e == "function" && ne.set(e, W), W;
|
|
@@ -293,21 +293,21 @@ function ir() {
|
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return re(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case
|
|
296
|
+
case _:
|
|
297
297
|
return re("Suspense");
|
|
298
|
-
case
|
|
298
|
+
case g:
|
|
299
299
|
return re("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case u:
|
|
304
304
|
return gt(e.render);
|
|
305
|
-
case
|
|
305
|
+
case y:
|
|
306
306
|
return oe(e.type, t, o);
|
|
307
|
-
case
|
|
308
|
-
var s = e,
|
|
307
|
+
case v: {
|
|
308
|
+
var s = e, h = s._payload, b = s._init;
|
|
309
309
|
try {
|
|
310
|
-
return oe(
|
|
310
|
+
return oe(b(h), t, o);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
@@ -322,11 +322,11 @@ function ir() {
|
|
|
322
322
|
} else
|
|
323
323
|
ze.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function bt(e, t, o, s, h) {
|
|
326
326
|
{
|
|
327
|
-
var
|
|
327
|
+
var b = Function.call.bind(K);
|
|
328
328
|
for (var d in e)
|
|
329
|
-
if (
|
|
329
|
+
if (b(e, d)) {
|
|
330
330
|
var f = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[d] != "function") {
|
|
@@ -337,13 +337,13 @@ function ir() {
|
|
|
337
337
|
} catch (x) {
|
|
338
338
|
f = x;
|
|
339
339
|
}
|
|
340
|
-
f && !(f instanceof Error) && (ae(
|
|
340
|
+
f && !(f instanceof Error) && (ae(h), 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 Ye) && (Ye[f.message] = !0, ae(h), j("Failed %s type: %s", o, f.message), ae(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
345
|
-
function
|
|
346
|
-
return
|
|
344
|
+
var mt = Array.isArray;
|
|
345
|
+
function me(e) {
|
|
346
|
+
return mt(e);
|
|
347
347
|
}
|
|
348
348
|
function _t(e) {
|
|
349
349
|
{
|
|
@@ -412,7 +412,7 @@ function ir() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var Ot = function(e, t, o, s,
|
|
415
|
+
var Ot = function(e, t, o, s, h, b, 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 ir() {
|
|
|
422
422
|
ref: o,
|
|
423
423
|
props: d,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
|
-
_owner:
|
|
425
|
+
_owner: b
|
|
426
426
|
};
|
|
427
427
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
428
428
|
configurable: !1,
|
|
@@ -438,25 +438,25 @@ function ir() {
|
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !1,
|
|
441
|
-
value:
|
|
441
|
+
value: h
|
|
442
442
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
443
443
|
};
|
|
444
|
-
function Ct(e, t, o, s,
|
|
444
|
+
function Ct(e, t, o, s, h) {
|
|
445
445
|
{
|
|
446
|
-
var
|
|
447
|
-
o !== void 0 && (qe(o), f = "" + o), kt(t) && (qe(t.key), f = "" + t.key), xt(t) && (A = t.ref, Et(t,
|
|
448
|
-
for (
|
|
449
|
-
K.call(t,
|
|
446
|
+
var b, d = {}, f = null, A = null;
|
|
447
|
+
o !== void 0 && (qe(o), f = "" + o), kt(t) && (qe(t.key), f = "" + t.key), xt(t) && (A = t.ref, Et(t, h));
|
|
448
|
+
for (b in t)
|
|
449
|
+
K.call(t, b) && !St.hasOwnProperty(b) && (d[b] = t[b]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var x = e.defaultProps;
|
|
452
|
-
for (
|
|
453
|
-
d[
|
|
452
|
+
for (b in x)
|
|
453
|
+
d[b] === void 0 && (d[b] = x[b]);
|
|
454
454
|
}
|
|
455
455
|
if (f || A) {
|
|
456
456
|
var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
457
|
f && jt(d, k), A && At(d, k);
|
|
458
458
|
}
|
|
459
|
-
return Ot(e, f, A,
|
|
459
|
+
return Ot(e, f, A, h, s, He.current, d);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
var _e = L.ReactCurrentOwner, Ge = L.ReactDebugCurrentFrame;
|
|
@@ -517,7 +517,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
|
-
if (
|
|
520
|
+
if (me(e))
|
|
521
521
|
for (var o = 0; o < e.length; o++) {
|
|
522
522
|
var s = e[o];
|
|
523
523
|
Se(s) && Qe(s, t);
|
|
@@ -525,9 +525,9 @@ Check the top-level render call using <` + o + ">.");
|
|
|
525
525
|
else if (Se(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var
|
|
529
|
-
if (typeof
|
|
530
|
-
for (var
|
|
528
|
+
var h = he(e);
|
|
529
|
+
if (typeof h == "function" && h !== e.entries)
|
|
530
|
+
for (var b = h.call(e), d; !(d = b.next()).done; )
|
|
531
531
|
Se(d.value) && Qe(d.value, t);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
@@ -542,17 +542,17 @@ 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 === y))
|
|
546
546
|
o = t.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
549
|
if (o) {
|
|
550
550
|
var s = N(t);
|
|
551
|
-
|
|
551
|
+
bt(o, e.props, "prop", s, e);
|
|
552
552
|
} else if (t.PropTypes !== void 0 && !Re) {
|
|
553
553
|
Re = !0;
|
|
554
|
-
var
|
|
555
|
-
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
554
|
+
var h = N(t);
|
|
555
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
556
556
|
}
|
|
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
|
}
|
|
@@ -570,7 +570,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
var tt = {};
|
|
573
|
-
function rt(e, t, o, s,
|
|
573
|
+
function rt(e, t, o, s, h, b) {
|
|
574
574
|
{
|
|
575
575
|
var d = B(e);
|
|
576
576
|
if (!d) {
|
|
@@ -579,16 +579,16 @@ Check the top-level render call using <` + o + ">.");
|
|
|
579
579
|
var A = Pt();
|
|
580
580
|
A ? f += A : f += Ze();
|
|
581
581
|
var x;
|
|
582
|
-
e === null ? x = "null" :
|
|
582
|
+
e === null ? x = "null" : me(e) ? x = "array" : e !== void 0 && e.$$typeof === n ? (x = "<" + (N(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : x = 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", x, f);
|
|
583
583
|
}
|
|
584
|
-
var k = Ct(e, t, o,
|
|
584
|
+
var k = Ct(e, t, o, h, b);
|
|
585
585
|
if (k == null)
|
|
586
586
|
return k;
|
|
587
587
|
if (d) {
|
|
588
588
|
var w = t.children;
|
|
589
589
|
if (w !== void 0)
|
|
590
590
|
if (s)
|
|
591
|
-
if (
|
|
591
|
+
if (me(w)) {
|
|
592
592
|
for (var V = 0; V < w.length; V++)
|
|
593
593
|
et(w[V], e);
|
|
594
594
|
Object.freeze && Object.freeze(w);
|
|
@@ -638,26 +638,26 @@ var Ut;
|
|
|
638
638
|
function n({
|
|
639
639
|
children: m,
|
|
640
640
|
onCallbackModal: u,
|
|
641
|
-
nameModal:
|
|
642
|
-
offsetTop:
|
|
641
|
+
nameModal: _,
|
|
642
|
+
offsetTop: g
|
|
643
643
|
}) {
|
|
644
|
-
const [
|
|
645
|
-
if (q[
|
|
644
|
+
const [y, v] = J(!1), [$, P] = J(!1);
|
|
645
|
+
if (q[_].onClose = () => {
|
|
646
646
|
T.BackButton(!1), P(!0), setTimeout(() => {
|
|
647
|
-
|
|
647
|
+
v(!1), P(!1), u == null || u(), q.x(_);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, pe(() => {
|
|
650
|
-
|
|
651
|
-
callback: () => q[
|
|
652
|
-
}),
|
|
653
|
-
}, []), !!
|
|
650
|
+
y ? q[_].onClose() : (T.BackButton({
|
|
651
|
+
callback: () => q[_].onClose()
|
|
652
|
+
}), v(!0));
|
|
653
|
+
}, []), !!y)
|
|
654
654
|
return /* @__PURE__ */ i.jsx("div", { className: Ce(we.o, $ && we.x), children: /* @__PURE__ */ i.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
657
|
className: Ce(
|
|
658
658
|
we.p,
|
|
659
659
|
$ && we.x,
|
|
660
|
-
|
|
660
|
+
g ? we.o : we.m
|
|
661
661
|
),
|
|
662
662
|
children: m
|
|
663
663
|
}
|
|
@@ -667,24 +667,24 @@ var Ut;
|
|
|
667
667
|
function a({
|
|
668
668
|
import_modules: m
|
|
669
669
|
}) {
|
|
670
|
-
let [u,
|
|
671
|
-
return q.x = (
|
|
672
|
-
|
|
670
|
+
let [u, _] = J([]);
|
|
671
|
+
return q.x = (g) => {
|
|
672
|
+
_(g ? u.filter((y) => y.key !== g) : []);
|
|
673
673
|
}, pe(() => {
|
|
674
674
|
m && (q.i = m);
|
|
675
|
-
}, []), q.add = (
|
|
676
|
-
|
|
677
|
-
}, /* @__PURE__ */ i.jsx(i.Fragment, { children: u.map((
|
|
675
|
+
}, []), q.add = (g, y = Date.now()) => {
|
|
676
|
+
_([...u, { key: y, item: g }]);
|
|
677
|
+
}, /* @__PURE__ */ i.jsx(i.Fragment, { children: u.map((g) => g.item) });
|
|
678
678
|
}
|
|
679
679
|
r.Init = a;
|
|
680
|
-
function c(m, u,
|
|
680
|
+
function c(m, u, _) {
|
|
681
681
|
q.add(
|
|
682
682
|
/* @__PURE__ */ i.jsx(
|
|
683
683
|
n,
|
|
684
684
|
{
|
|
685
685
|
onCallbackModal: q["callback_modal" + u],
|
|
686
686
|
nameModal: u || "",
|
|
687
|
-
offsetTop:
|
|
687
|
+
offsetTop: _,
|
|
688
688
|
children: m
|
|
689
689
|
},
|
|
690
690
|
String(Date.now())
|
|
@@ -693,24 +693,24 @@ var Ut;
|
|
|
693
693
|
);
|
|
694
694
|
}
|
|
695
695
|
r.Add = c;
|
|
696
|
-
function l(m, u = Date.now().toString(),
|
|
696
|
+
function l(m, u = Date.now().toString(), _) {
|
|
697
697
|
return q[u] = {}, {
|
|
698
|
-
Open: (
|
|
698
|
+
Open: (v) => {
|
|
699
699
|
r.Add(
|
|
700
700
|
/* @__PURE__ */ i.jsx(
|
|
701
701
|
m,
|
|
702
702
|
{
|
|
703
|
-
...
|
|
703
|
+
...v,
|
|
704
704
|
onCallbackModal: ($) => {
|
|
705
705
|
var P;
|
|
706
|
-
(P =
|
|
706
|
+
(P = v.callback) == null || P.call(v, $);
|
|
707
707
|
},
|
|
708
708
|
nameModal: u
|
|
709
709
|
},
|
|
710
710
|
(/* @__PURE__ */ new Date()).getTime()
|
|
711
711
|
),
|
|
712
712
|
u,
|
|
713
|
-
|
|
713
|
+
_ === void 0 ? !0 : _
|
|
714
714
|
);
|
|
715
715
|
}
|
|
716
716
|
};
|
|
@@ -720,9 +720,10 @@ var Ut;
|
|
|
720
720
|
q[m].onClose();
|
|
721
721
|
}
|
|
722
722
|
r.Close = p;
|
|
723
|
-
function S(m, u,
|
|
724
|
-
q.i && (
|
|
725
|
-
|
|
723
|
+
function S(m, u, _, g) {
|
|
724
|
+
q.i && (g && (_.callback = g), q.i(`${m}/modals/${u}.tsx`).then((y) => {
|
|
725
|
+
var v;
|
|
726
|
+
y.Open ? y.Open(_) : (v = y.default) != null && v.Open ? y.default.Open(_) : y.default && y.default(_);
|
|
726
727
|
}));
|
|
727
728
|
}
|
|
728
729
|
r.Open = S;
|
|
@@ -845,16 +846,16 @@ var at = {};
|
|
|
845
846
|
* LICENSE file in the root directory of this source tree.
|
|
846
847
|
*/
|
|
847
848
|
var Ht;
|
|
848
|
-
function
|
|
849
|
+
function br() {
|
|
849
850
|
if (Ht) return at;
|
|
850
851
|
Ht = 1;
|
|
851
852
|
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 };
|
|
852
|
-
function S(m, u,
|
|
853
|
-
var
|
|
854
|
-
|
|
855
|
-
for (
|
|
856
|
-
if (m && m.defaultProps) for (
|
|
857
|
-
return { $$typeof: n, type: m, key:
|
|
853
|
+
function S(m, u, _) {
|
|
854
|
+
var g, y = {}, v = null, $ = null;
|
|
855
|
+
_ !== void 0 && (v = "" + _), u.key !== void 0 && (v = "" + u.key), u.ref !== void 0 && ($ = u.ref);
|
|
856
|
+
for (g in u) c.call(u, g) && !p.hasOwnProperty(g) && (y[g] = u[g]);
|
|
857
|
+
if (m && m.defaultProps) for (g in u = m.defaultProps, u) y[g] === void 0 && (y[g] = u[g]);
|
|
858
|
+
return { $$typeof: n, type: m, key: v, ref: $, props: y, _owner: l.current };
|
|
858
859
|
}
|
|
859
860
|
return at.Fragment = a, at.jsx = S, at.jsxs = S, at;
|
|
860
861
|
}
|
|
@@ -869,9 +870,9 @@ var it = {};
|
|
|
869
870
|
* LICENSE file in the root directory of this source tree.
|
|
870
871
|
*/
|
|
871
872
|
var Jt;
|
|
872
|
-
function
|
|
873
|
+
function mr() {
|
|
873
874
|
return Jt || (Jt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
874
|
-
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"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"),
|
|
875
|
+
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"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), P = Symbol.iterator, Ne = "@@iterator";
|
|
875
876
|
function he(e) {
|
|
876
877
|
if (e === null || typeof e != "object")
|
|
877
878
|
return null;
|
|
@@ -888,18 +889,18 @@ function br() {
|
|
|
888
889
|
}
|
|
889
890
|
function Be(e, t, o) {
|
|
890
891
|
{
|
|
891
|
-
var s = L.ReactDebugCurrentFrame,
|
|
892
|
-
|
|
893
|
-
var
|
|
892
|
+
var s = L.ReactDebugCurrentFrame, h = s.getStackAddendum();
|
|
893
|
+
h !== "" && (t += "%s", o = o.concat([h]));
|
|
894
|
+
var b = o.map(function(d) {
|
|
894
895
|
return String(d);
|
|
895
896
|
});
|
|
896
|
-
|
|
897
|
+
b.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, b);
|
|
897
898
|
}
|
|
898
899
|
}
|
|
899
|
-
var Ie = !1, Pe = !1, Me = !1, De = !1,
|
|
900
|
+
var Ie = !1, Pe = !1, Me = !1, De = !1, R = !1, E;
|
|
900
901
|
E = Symbol.for("react.module.reference");
|
|
901
902
|
function B(e) {
|
|
902
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p ||
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || R || e === l || e === _ || e === g || De || e === $ || Ie || Pe || Me || typeof e == "object" && e !== null && (e.$$typeof === v || e.$$typeof === y || e.$$typeof === S || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
|
|
903
904
|
// types supported by any Flight configuration anywhere since
|
|
904
905
|
// we don't know which Flight build this will end up being used
|
|
905
906
|
// with.
|
|
@@ -909,8 +910,8 @@ function br() {
|
|
|
909
910
|
var s = e.displayName;
|
|
910
911
|
if (s)
|
|
911
912
|
return s;
|
|
912
|
-
var
|
|
913
|
-
return
|
|
913
|
+
var h = t.displayName || t.name || "";
|
|
914
|
+
return h !== "" ? o + "(" + h + ")" : o;
|
|
914
915
|
}
|
|
915
916
|
function I(e) {
|
|
916
917
|
return e.displayName || "Context";
|
|
@@ -931,9 +932,9 @@ function br() {
|
|
|
931
932
|
return "Profiler";
|
|
932
933
|
case l:
|
|
933
934
|
return "StrictMode";
|
|
934
|
-
case
|
|
935
|
+
case _:
|
|
935
936
|
return "Suspense";
|
|
936
|
-
case
|
|
937
|
+
case g:
|
|
937
938
|
return "SuspenseList";
|
|
938
939
|
}
|
|
939
940
|
if (typeof e == "object")
|
|
@@ -946,13 +947,13 @@ function br() {
|
|
|
946
947
|
return I(o._context) + ".Provider";
|
|
947
948
|
case u:
|
|
948
949
|
return M(e, e.render, "ForwardRef");
|
|
949
|
-
case
|
|
950
|
+
case y:
|
|
950
951
|
var s = e.displayName || null;
|
|
951
952
|
return s !== null ? s : N(e.type) || "Memo";
|
|
952
|
-
case
|
|
953
|
-
var
|
|
953
|
+
case v: {
|
|
954
|
+
var h = e, b = h._payload, d = h._init;
|
|
954
955
|
try {
|
|
955
|
-
return N(d(
|
|
956
|
+
return N(d(b));
|
|
956
957
|
} catch {
|
|
957
958
|
return null;
|
|
958
959
|
}
|
|
@@ -1028,21 +1029,21 @@ function br() {
|
|
|
1028
1029
|
if (ye === void 0)
|
|
1029
1030
|
try {
|
|
1030
1031
|
throw Error();
|
|
1031
|
-
} catch (
|
|
1032
|
-
var s =
|
|
1032
|
+
} catch (h) {
|
|
1033
|
+
var s = h.stack.trim().match(/\n( *(at )?)/);
|
|
1033
1034
|
ye = s && s[1] || "";
|
|
1034
1035
|
}
|
|
1035
1036
|
return `
|
|
1036
1037
|
` + ye + e;
|
|
1037
1038
|
}
|
|
1038
1039
|
}
|
|
1039
|
-
var
|
|
1040
|
+
var be = !1, ne;
|
|
1040
1041
|
{
|
|
1041
1042
|
var ht = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1042
1043
|
ne = new ht();
|
|
1043
1044
|
}
|
|
1044
1045
|
function Ue(e, t) {
|
|
1045
|
-
if (!e ||
|
|
1046
|
+
if (!e || be)
|
|
1046
1047
|
return "";
|
|
1047
1048
|
{
|
|
1048
1049
|
var o = ne.get(e);
|
|
@@ -1050,11 +1051,11 @@ function br() {
|
|
|
1050
1051
|
return o;
|
|
1051
1052
|
}
|
|
1052
1053
|
var s;
|
|
1053
|
-
|
|
1054
|
-
var
|
|
1054
|
+
be = !0;
|
|
1055
|
+
var h = Error.prepareStackTrace;
|
|
1055
1056
|
Error.prepareStackTrace = void 0;
|
|
1056
|
-
var
|
|
1057
|
-
|
|
1057
|
+
var b;
|
|
1058
|
+
b = ge.current, ge.current = null, pt();
|
|
1058
1059
|
try {
|
|
1059
1060
|
if (t) {
|
|
1060
1061
|
var d = function() {
|
|
@@ -1107,7 +1108,7 @@ function br() {
|
|
|
1107
1108
|
}
|
|
1108
1109
|
}
|
|
1109
1110
|
} finally {
|
|
1110
|
-
|
|
1111
|
+
be = !1, ge.current = b, vt(), Error.prepareStackTrace = h;
|
|
1111
1112
|
}
|
|
1112
1113
|
var V = e ? e.displayName || e.name : "", W = V ? re(V) : "";
|
|
1113
1114
|
return typeof e == "function" && ne.set(e, W), W;
|
|
@@ -1127,21 +1128,21 @@ function br() {
|
|
|
1127
1128
|
if (typeof e == "string")
|
|
1128
1129
|
return re(e);
|
|
1129
1130
|
switch (e) {
|
|
1130
|
-
case
|
|
1131
|
+
case _:
|
|
1131
1132
|
return re("Suspense");
|
|
1132
|
-
case
|
|
1133
|
+
case g:
|
|
1133
1134
|
return re("SuspenseList");
|
|
1134
1135
|
}
|
|
1135
1136
|
if (typeof e == "object")
|
|
1136
1137
|
switch (e.$$typeof) {
|
|
1137
1138
|
case u:
|
|
1138
1139
|
return gt(e.render);
|
|
1139
|
-
case
|
|
1140
|
+
case y:
|
|
1140
1141
|
return oe(e.type, t, o);
|
|
1141
|
-
case
|
|
1142
|
-
var s = e,
|
|
1142
|
+
case v: {
|
|
1143
|
+
var s = e, h = s._payload, b = s._init;
|
|
1143
1144
|
try {
|
|
1144
|
-
return oe(
|
|
1145
|
+
return oe(b(h), t, o);
|
|
1145
1146
|
} catch {
|
|
1146
1147
|
}
|
|
1147
1148
|
}
|
|
@@ -1156,11 +1157,11 @@ function br() {
|
|
|
1156
1157
|
} else
|
|
1157
1158
|
ze.setExtraStackFrame(null);
|
|
1158
1159
|
}
|
|
1159
|
-
function
|
|
1160
|
+
function bt(e, t, o, s, h) {
|
|
1160
1161
|
{
|
|
1161
|
-
var
|
|
1162
|
+
var b = Function.call.bind(K);
|
|
1162
1163
|
for (var d in e)
|
|
1163
|
-
if (
|
|
1164
|
+
if (b(e, d)) {
|
|
1164
1165
|
var f = void 0;
|
|
1165
1166
|
try {
|
|
1166
1167
|
if (typeof e[d] != "function") {
|
|
@@ -1171,13 +1172,13 @@ function br() {
|
|
|
1171
1172
|
} catch (x) {
|
|
1172
1173
|
f = x;
|
|
1173
1174
|
}
|
|
1174
|
-
f && !(f instanceof Error) && (ae(
|
|
1175
|
+
f && !(f instanceof Error) && (ae(h), 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 Ye) && (Ye[f.message] = !0, ae(h), j("Failed %s type: %s", o, f.message), ae(null));
|
|
1175
1176
|
}
|
|
1176
1177
|
}
|
|
1177
1178
|
}
|
|
1178
|
-
var
|
|
1179
|
-
function
|
|
1180
|
-
return
|
|
1179
|
+
var mt = Array.isArray;
|
|
1180
|
+
function me(e) {
|
|
1181
|
+
return mt(e);
|
|
1181
1182
|
}
|
|
1182
1183
|
function _t(e) {
|
|
1183
1184
|
{
|
|
@@ -1246,7 +1247,7 @@ function br() {
|
|
|
1246
1247
|
});
|
|
1247
1248
|
}
|
|
1248
1249
|
}
|
|
1249
|
-
var Ot = function(e, t, o, s,
|
|
1250
|
+
var Ot = function(e, t, o, s, h, b, d) {
|
|
1250
1251
|
var f = {
|
|
1251
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1252
1253
|
$$typeof: n,
|
|
@@ -1256,7 +1257,7 @@ function br() {
|
|
|
1256
1257
|
ref: o,
|
|
1257
1258
|
props: d,
|
|
1258
1259
|
// Record the component responsible for creating this element.
|
|
1259
|
-
_owner:
|
|
1260
|
+
_owner: b
|
|
1260
1261
|
};
|
|
1261
1262
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
1262
1263
|
configurable: !1,
|
|
@@ -1272,25 +1273,25 @@ function br() {
|
|
|
1272
1273
|
configurable: !1,
|
|
1273
1274
|
enumerable: !1,
|
|
1274
1275
|
writable: !1,
|
|
1275
|
-
value:
|
|
1276
|
+
value: h
|
|
1276
1277
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
1277
1278
|
};
|
|
1278
|
-
function Ct(e, t, o, s,
|
|
1279
|
+
function Ct(e, t, o, s, h) {
|
|
1279
1280
|
{
|
|
1280
|
-
var
|
|
1281
|
+
var b, d = {}, f = null, A = null;
|
|
1281
1282
|
o !== void 0 && (qe(o), f = "" + o), kt(t) && (qe(t.key), f = "" + t.key), xt(t) && (A = t.ref, Et(t));
|
|
1282
|
-
for (
|
|
1283
|
-
K.call(t,
|
|
1283
|
+
for (b in t)
|
|
1284
|
+
K.call(t, b) && !St.hasOwnProperty(b) && (d[b] = t[b]);
|
|
1284
1285
|
if (e && e.defaultProps) {
|
|
1285
1286
|
var x = e.defaultProps;
|
|
1286
|
-
for (
|
|
1287
|
-
d[
|
|
1287
|
+
for (b in x)
|
|
1288
|
+
d[b] === void 0 && (d[b] = x[b]);
|
|
1288
1289
|
}
|
|
1289
1290
|
if (f || A) {
|
|
1290
1291
|
var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1291
1292
|
f && jt(d, k), A && At(d, k);
|
|
1292
1293
|
}
|
|
1293
|
-
return Ot(e, f, A,
|
|
1294
|
+
return Ot(e, f, A, h, s, He.current, d);
|
|
1294
1295
|
}
|
|
1295
1296
|
}
|
|
1296
1297
|
var _e = L.ReactCurrentOwner, Ge = L.ReactDebugCurrentFrame;
|
|
@@ -1351,7 +1352,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1351
1352
|
{
|
|
1352
1353
|
if (typeof e != "object")
|
|
1353
1354
|
return;
|
|
1354
|
-
if (
|
|
1355
|
+
if (me(e))
|
|
1355
1356
|
for (var o = 0; o < e.length; o++) {
|
|
1356
1357
|
var s = e[o];
|
|
1357
1358
|
Se(s) && Qe(s, t);
|
|
@@ -1359,9 +1360,9 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1359
1360
|
else if (Se(e))
|
|
1360
1361
|
e._store && (e._store.validated = !0);
|
|
1361
1362
|
else if (e) {
|
|
1362
|
-
var
|
|
1363
|
-
if (typeof
|
|
1364
|
-
for (var
|
|
1363
|
+
var h = he(e);
|
|
1364
|
+
if (typeof h == "function" && h !== e.entries)
|
|
1365
|
+
for (var b = h.call(e), d; !(d = b.next()).done; )
|
|
1365
1366
|
Se(d.value) && Qe(d.value, t);
|
|
1366
1367
|
}
|
|
1367
1368
|
}
|
|
@@ -1376,17 +1377,17 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1376
1377
|
o = t.propTypes;
|
|
1377
1378
|
else if (typeof t == "object" && (t.$$typeof === u || // Note: Memo only checks outer props here.
|
|
1378
1379
|
// Inner props are checked in the reconciler.
|
|
1379
|
-
t.$$typeof ===
|
|
1380
|
+
t.$$typeof === y))
|
|
1380
1381
|
o = t.propTypes;
|
|
1381
1382
|
else
|
|
1382
1383
|
return;
|
|
1383
1384
|
if (o) {
|
|
1384
1385
|
var s = N(t);
|
|
1385
|
-
|
|
1386
|
+
bt(o, e.props, "prop", s, e);
|
|
1386
1387
|
} else if (t.PropTypes !== void 0 && !Re) {
|
|
1387
1388
|
Re = !0;
|
|
1388
|
-
var
|
|
1389
|
-
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
1389
|
+
var h = N(t);
|
|
1390
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
1390
1391
|
}
|
|
1391
1392
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1392
1393
|
}
|
|
@@ -1404,7 +1405,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1404
1405
|
}
|
|
1405
1406
|
}
|
|
1406
1407
|
var tt = {};
|
|
1407
|
-
function rt(e, t, o, s,
|
|
1408
|
+
function rt(e, t, o, s, h, b) {
|
|
1408
1409
|
{
|
|
1409
1410
|
var d = B(e);
|
|
1410
1411
|
if (!d) {
|
|
@@ -1413,16 +1414,16 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1413
1414
|
var A = Pt();
|
|
1414
1415
|
A ? f += A : f += Ze();
|
|
1415
1416
|
var x;
|
|
1416
|
-
e === null ? x = "null" :
|
|
1417
|
+
e === null ? x = "null" : me(e) ? x = "array" : e !== void 0 && e.$$typeof === n ? (x = "<" + (N(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : x = 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", x, f);
|
|
1417
1418
|
}
|
|
1418
|
-
var k = Ct(e, t, o,
|
|
1419
|
+
var k = Ct(e, t, o, h, b);
|
|
1419
1420
|
if (k == null)
|
|
1420
1421
|
return k;
|
|
1421
1422
|
if (d) {
|
|
1422
1423
|
var w = t.children;
|
|
1423
1424
|
if (w !== void 0)
|
|
1424
1425
|
if (s)
|
|
1425
|
-
if (
|
|
1426
|
+
if (me(w)) {
|
|
1426
1427
|
for (var V = 0; V < w.length; V++)
|
|
1427
1428
|
et(w[V], e);
|
|
1428
1429
|
Object.freeze && Object.freeze(w);
|
|
@@ -1458,7 +1459,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1458
1459
|
it.Fragment = c, it.jsx = It, it.jsxs = Mt;
|
|
1459
1460
|
}()), it;
|
|
1460
1461
|
}
|
|
1461
|
-
process.env.NODE_ENV === "production" ?
|
|
1462
|
+
process.env.NODE_ENV === "production" ? br() : mr();
|
|
1462
1463
|
const _r = "0.0.40", nr = {
|
|
1463
1464
|
version: _r
|
|
1464
1465
|
}, se = {}, H = {
|
|
@@ -1526,7 +1527,7 @@ function ie() {
|
|
|
1526
1527
|
var ve;
|
|
1527
1528
|
((r) => {
|
|
1528
1529
|
function n() {
|
|
1529
|
-
var
|
|
1530
|
+
var R;
|
|
1530
1531
|
let E = sessionStorage.getItem("f");
|
|
1531
1532
|
if (E) {
|
|
1532
1533
|
if (E = ue.deCode(E), !E) return !1;
|
|
@@ -1543,7 +1544,7 @@ var ve;
|
|
|
1543
1544
|
te({
|
|
1544
1545
|
id: 0,
|
|
1545
1546
|
tab: "",
|
|
1546
|
-
page: (
|
|
1547
|
+
page: (R = localStorage.getItem("d")) != null && R.length ? O().page : O().auth,
|
|
1547
1548
|
module: O().module
|
|
1548
1549
|
});
|
|
1549
1550
|
return !0;
|
|
@@ -1553,131 +1554,131 @@ var ve;
|
|
|
1553
1554
|
}
|
|
1554
1555
|
r.Reset = a;
|
|
1555
1556
|
function c({
|
|
1556
|
-
module:
|
|
1557
|
+
module: R = O().module,
|
|
1557
1558
|
page: E = O().page,
|
|
1558
1559
|
auth: B = O().auth,
|
|
1559
1560
|
debug: M = O().debug
|
|
1560
1561
|
}) {
|
|
1561
|
-
te({ page: E, module:
|
|
1562
|
+
te({ page: E, module: R, auth: B, debug: M }), n();
|
|
1562
1563
|
}
|
|
1563
1564
|
r.Default = c;
|
|
1564
|
-
function l(
|
|
1565
|
+
function l(R) {
|
|
1565
1566
|
let E = (I) => (te({ page: I }), I);
|
|
1566
1567
|
const [B, M] = F.useState(
|
|
1567
|
-
S() ||
|
|
1568
|
+
S() || R && E(R) || O().page
|
|
1568
1569
|
);
|
|
1569
1570
|
return ke({ page: (I) => {
|
|
1570
1571
|
M(I);
|
|
1571
1572
|
} }), B;
|
|
1572
1573
|
}
|
|
1573
1574
|
r.usePage = l;
|
|
1574
|
-
function p(
|
|
1575
|
-
te({ page:
|
|
1575
|
+
function p(R, E = !0, B = {}) {
|
|
1576
|
+
te({ page: R, ...B }), sessionStorage.setItem(
|
|
1576
1577
|
O().STORAGE,
|
|
1577
1578
|
ue.enCode(O())
|
|
1578
|
-
), E && ie().page(
|
|
1579
|
+
), E && ie().page(R);
|
|
1579
1580
|
}
|
|
1580
1581
|
r.setPage = p;
|
|
1581
1582
|
function S() {
|
|
1582
1583
|
return O().page;
|
|
1583
1584
|
}
|
|
1584
1585
|
r.getPage = S;
|
|
1585
|
-
function m(
|
|
1586
|
-
return O().page ===
|
|
1586
|
+
function m(R) {
|
|
1587
|
+
return O().page === R;
|
|
1587
1588
|
}
|
|
1588
1589
|
r.isPage = m;
|
|
1589
1590
|
function u() {
|
|
1590
1591
|
return O().prev;
|
|
1591
1592
|
}
|
|
1592
1593
|
r.getBack = u;
|
|
1593
|
-
function R
|
|
1594
|
+
function _(R, E) {
|
|
1594
1595
|
const [B, M] = F.useState(
|
|
1595
|
-
|
|
1596
|
+
y() || R || O().module
|
|
1596
1597
|
);
|
|
1597
1598
|
return ke({ module: M }), B;
|
|
1598
1599
|
}
|
|
1599
|
-
r.useModule =
|
|
1600
|
-
function
|
|
1601
|
-
te({ module:
|
|
1600
|
+
r.useModule = _;
|
|
1601
|
+
function g(R, E = !0) {
|
|
1602
|
+
te({ module: R }), sessionStorage.setItem(
|
|
1602
1603
|
O().STORAGE,
|
|
1603
1604
|
ue.enCode(O())
|
|
1604
|
-
), E && ie().module(
|
|
1605
|
+
), E && ie().module(R);
|
|
1605
1606
|
}
|
|
1606
|
-
r.setModule =
|
|
1607
|
-
function
|
|
1607
|
+
r.setModule = g;
|
|
1608
|
+
function y() {
|
|
1608
1609
|
return O().module || "";
|
|
1609
1610
|
}
|
|
1610
|
-
r.getModule =
|
|
1611
|
-
function
|
|
1612
|
-
return O().module ===
|
|
1611
|
+
r.getModule = y;
|
|
1612
|
+
function v(R) {
|
|
1613
|
+
return O().module === R;
|
|
1613
1614
|
}
|
|
1614
|
-
r.isModule =
|
|
1615
|
-
function $(
|
|
1616
|
-
if (typeof
|
|
1617
|
-
const [B, M] = F.useState(!E), [I, N] = F.useState(
|
|
1615
|
+
r.isModule = v;
|
|
1616
|
+
function $(R, E) {
|
|
1617
|
+
if (typeof R != "function") {
|
|
1618
|
+
const [B, M] = F.useState(!E), [I, N] = F.useState(R || he());
|
|
1618
1619
|
return ke({ tabs: N }), E && F.useEffect(() => {
|
|
1619
1620
|
M(!0);
|
|
1620
1621
|
}, []), [I, B];
|
|
1621
1622
|
} else
|
|
1622
|
-
ke({ tabs:
|
|
1623
|
+
ke({ tabs: R });
|
|
1623
1624
|
}
|
|
1624
1625
|
r.useTabs = $;
|
|
1625
|
-
function P(
|
|
1626
|
+
function P(R) {
|
|
1626
1627
|
let E = (I) => (te({ tab: I }), I);
|
|
1627
1628
|
const [B, M] = F.useState(
|
|
1628
|
-
he() ||
|
|
1629
|
+
he() || R && E(R) || O().tab
|
|
1629
1630
|
);
|
|
1630
1631
|
return ke({ tabs: (I) => {
|
|
1631
1632
|
M(I);
|
|
1632
1633
|
} }), B;
|
|
1633
1634
|
}
|
|
1634
1635
|
r.useTab = P;
|
|
1635
|
-
async function Ne(
|
|
1636
|
-
te({ tab:
|
|
1636
|
+
async function Ne(R, E = !0) {
|
|
1637
|
+
te({ tab: R }), sessionStorage.setItem(
|
|
1637
1638
|
O().STORAGE,
|
|
1638
1639
|
ue.enCode(O())
|
|
1639
|
-
), E && (ie().tabs && ie().tabs(
|
|
1640
|
+
), E && (ie().tabs && ie().tabs(R));
|
|
1640
1641
|
}
|
|
1641
1642
|
r.setTabs = Ne;
|
|
1642
1643
|
function he() {
|
|
1643
1644
|
return O().tab;
|
|
1644
1645
|
}
|
|
1645
1646
|
r.getTabs = he;
|
|
1646
|
-
function L(
|
|
1647
|
-
return O().tab ===
|
|
1647
|
+
function L(R) {
|
|
1648
|
+
return O().tab === R;
|
|
1648
1649
|
}
|
|
1649
1650
|
r.isTabs = L;
|
|
1650
|
-
function j(
|
|
1651
|
-
if (typeof
|
|
1652
|
-
const [E, B] = F.useState(
|
|
1651
|
+
function j(R) {
|
|
1652
|
+
if (typeof R != "function") {
|
|
1653
|
+
const [E, B] = F.useState(R || Pe());
|
|
1653
1654
|
return ke({ id: (M) => {
|
|
1654
1655
|
B(M);
|
|
1655
1656
|
} }), E;
|
|
1656
1657
|
} else
|
|
1657
|
-
ke({ id:
|
|
1658
|
+
ke({ id: R });
|
|
1658
1659
|
}
|
|
1659
1660
|
r.useId = j;
|
|
1660
|
-
function Be(
|
|
1661
|
+
function Be(R) {
|
|
1661
1662
|
}
|
|
1662
1663
|
r.subId = Be;
|
|
1663
|
-
async function Ie(
|
|
1664
|
-
te({ id:
|
|
1664
|
+
async function Ie(R, E = !0) {
|
|
1665
|
+
te({ id: R }), sessionStorage.setItem(
|
|
1665
1666
|
O().STORAGE,
|
|
1666
1667
|
ue.enCode(O())
|
|
1667
|
-
), E && ie().id(
|
|
1668
|
+
), E && ie().id(R);
|
|
1668
1669
|
}
|
|
1669
1670
|
r.setId = Ie;
|
|
1670
1671
|
function Pe() {
|
|
1671
1672
|
return O().id;
|
|
1672
1673
|
}
|
|
1673
1674
|
r.getId = Pe;
|
|
1674
|
-
function Me(
|
|
1675
|
-
return Number(O().id) ===
|
|
1675
|
+
function Me(R) {
|
|
1676
|
+
return Number(O().id) === R;
|
|
1676
1677
|
}
|
|
1677
1678
|
r.isId = Me;
|
|
1678
|
-
async function De(
|
|
1679
|
+
async function De(R) {
|
|
1679
1680
|
var E, B, M, I, N, D, Y, le;
|
|
1680
|
-
const { page: Z, module: X, tab: Q, id: ee } =
|
|
1681
|
+
const { page: Z, module: X, tab: Q, id: ee } = R;
|
|
1681
1682
|
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 && ((B = (E = ie()).id) == null || B.call(E, ee)), Q !== void 0 && ((I = (M = ie()).tabs) == null || I.call(M, Q)), X !== void 0 && ((D = (N = ie()).module) == null || D.call(N, X)), Z !== void 0 && ((le = (Y = ie()).page) == null || le.call(Y, Z)), sessionStorage.setItem(
|
|
1682
1683
|
O().STORAGE,
|
|
1683
1684
|
ue.enCode(O())
|
|
@@ -1824,25 +1825,25 @@ G.users = {
|
|
|
1824
1825
|
};
|
|
1825
1826
|
const Dr = () => {
|
|
1826
1827
|
if (location.hostname === "localhost") {
|
|
1827
|
-
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [S, m] = J(!1), [u,
|
|
1828
|
+
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [S, m] = J(!1), [u, _] = J(!1);
|
|
1828
1829
|
de.is = !0, de.MainButton.set = n, de.BackButton.set = c, pe(() => {
|
|
1829
1830
|
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";
|
|
1830
|
-
for (let
|
|
1831
|
+
for (let v in G[l])
|
|
1831
1832
|
document.documentElement.style.setProperty(
|
|
1832
|
-
|
|
1833
|
-
G[l][
|
|
1833
|
+
v,
|
|
1834
|
+
G[l][v]
|
|
1834
1835
|
);
|
|
1835
1836
|
$e.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1836
1837
|
"--tg-safe-area-inset-bottom",
|
|
1837
1838
|
"16px"
|
|
1838
1839
|
);
|
|
1839
1840
|
}, []);
|
|
1840
|
-
let
|
|
1841
|
-
for (let $ in G[
|
|
1842
|
-
document.documentElement.style.setProperty($, G[
|
|
1843
|
-
p(
|
|
1844
|
-
},
|
|
1845
|
-
m(!1),
|
|
1841
|
+
let g = (v) => {
|
|
1842
|
+
for (let $ in G[v])
|
|
1843
|
+
document.documentElement.style.setProperty($, G[v][$]);
|
|
1844
|
+
p(v), m(!1);
|
|
1845
|
+
}, y = () => {
|
|
1846
|
+
m(!1), _(!0);
|
|
1846
1847
|
};
|
|
1847
1848
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
1848
1849
|
/* @__PURE__ */ i.jsxs("div", { className: fe.d, children: [
|
|
@@ -1850,8 +1851,8 @@ const Dr = () => {
|
|
|
1850
1851
|
"div",
|
|
1851
1852
|
{
|
|
1852
1853
|
onClick: () => {
|
|
1853
|
-
var
|
|
1854
|
-
a.page === void 0 ? (
|
|
1854
|
+
var v;
|
|
1855
|
+
a.page === void 0 ? (v = a.callback) == null || v.call(a) : ve.setPage(a.page);
|
|
1855
1856
|
},
|
|
1856
1857
|
className: fe.b,
|
|
1857
1858
|
children: "Назад"
|
|
@@ -1878,7 +1879,7 @@ const Dr = () => {
|
|
|
1878
1879
|
) }),
|
|
1879
1880
|
S ? /* @__PURE__ */ i.jsxs("div", { className: fe.t, children: [
|
|
1880
1881
|
/* @__PURE__ */ i.jsxs("ul", { children: [
|
|
1881
|
-
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick:
|
|
1882
|
+
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: y, children: "Authorization" }) }),
|
|
1882
1883
|
/* @__PURE__ */ i.jsx("li", {})
|
|
1883
1884
|
] }),
|
|
1884
1885
|
/* @__PURE__ */ i.jsxs("ul", { children: [
|
|
@@ -1888,21 +1889,21 @@ const Dr = () => {
|
|
|
1888
1889
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(
|
|
1889
1890
|
"button",
|
|
1890
1891
|
{
|
|
1891
|
-
onClick: () =>
|
|
1892
|
+
onClick: () => g("dark"),
|
|
1892
1893
|
children: "Dark"
|
|
1893
1894
|
}
|
|
1894
1895
|
) }),
|
|
1895
1896
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(
|
|
1896
1897
|
"button",
|
|
1897
1898
|
{
|
|
1898
|
-
onClick: () =>
|
|
1899
|
+
onClick: () => g("light"),
|
|
1899
1900
|
children: "Light"
|
|
1900
1901
|
}
|
|
1901
1902
|
) }),
|
|
1902
1903
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(
|
|
1903
1904
|
"button",
|
|
1904
1905
|
{
|
|
1905
|
-
onClick: () =>
|
|
1906
|
+
onClick: () => g("users"),
|
|
1906
1907
|
children: "Users"
|
|
1907
1908
|
}
|
|
1908
1909
|
) })
|
|
@@ -1911,7 +1912,7 @@ const Dr = () => {
|
|
|
1911
1912
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!S), children: "Closed" }) })
|
|
1912
1913
|
] })
|
|
1913
1914
|
] }) : "",
|
|
1914
|
-
u ? /* @__PURE__ */ i.jsx(Fr, { setAuthorization:
|
|
1915
|
+
u ? /* @__PURE__ */ i.jsx(Fr, { setAuthorization: _ }) : ""
|
|
1915
1916
|
] });
|
|
1916
1917
|
} else
|
|
1917
1918
|
return pe(() => {
|
|
@@ -2009,16 +2010,16 @@ function ln({
|
|
|
2009
2010
|
view: p = "list",
|
|
2010
2011
|
position: S = "left"
|
|
2011
2012
|
}) {
|
|
2012
|
-
const [m, u] = J(!1), [
|
|
2013
|
+
const [m, u] = J(!1), [_, g] = J(
|
|
2013
2014
|
null
|
|
2014
2015
|
);
|
|
2015
2016
|
pe(() => {
|
|
2016
|
-
let
|
|
2017
|
-
return
|
|
2018
|
-
|
|
2017
|
+
let v = document.querySelector(".p_sb");
|
|
2018
|
+
return v || (v = document.createElement("div"), v.className = "_p_sb", document.body.appendChild(v)), g(v), () => {
|
|
2019
|
+
v && v.parentNode && v.parentNode.removeChild(v);
|
|
2019
2020
|
};
|
|
2020
2021
|
}, []);
|
|
2021
|
-
const
|
|
2022
|
+
const y = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
2022
2023
|
m && /* @__PURE__ */ i.jsx("div", { className: ce.o, onClick: () => u(!1) }),
|
|
2023
2024
|
/* @__PURE__ */ i.jsxs(
|
|
2024
2025
|
"div",
|
|
@@ -2068,7 +2069,7 @@ function ln({
|
|
|
2068
2069
|
children: n
|
|
2069
2070
|
}
|
|
2070
2071
|
),
|
|
2071
|
-
|
|
2072
|
+
_ && ar(y, _)
|
|
2072
2073
|
] });
|
|
2073
2074
|
}
|
|
2074
2075
|
let st = () => {
|
|
@@ -2115,7 +2116,7 @@ const or = ({
|
|
|
2115
2116
|
)
|
|
2116
2117
|
}
|
|
2117
2118
|
);
|
|
2118
|
-
}, un = "
|
|
2119
|
+
}, un = "_h_4aije_1", fn = "_r_4aije_23", dn = "_c_4aije_26", pn = "_x_4aije_29", ct = {
|
|
2119
2120
|
h: un,
|
|
2120
2121
|
r: fn,
|
|
2121
2122
|
c: dn,
|
|
@@ -2137,26 +2138,26 @@ const or = ({
|
|
|
2137
2138
|
onPageChange: p,
|
|
2138
2139
|
direction: S = "row"
|
|
2139
2140
|
}) => {
|
|
2140
|
-
const [m, u] = F.useState(null), [
|
|
2141
|
+
const [m, u] = F.useState(null), [_, g] = F.useState(
|
|
2141
2142
|
l ? Gt(r || [], l) : 0
|
|
2142
2143
|
);
|
|
2143
2144
|
return Te.onClose = () => {
|
|
2144
|
-
u(null),
|
|
2145
|
+
u(null), g(l ? Gt(r || [], l) : 0);
|
|
2145
2146
|
}, pe(() => {
|
|
2146
2147
|
if (!c)
|
|
2147
2148
|
return;
|
|
2148
|
-
const
|
|
2149
|
+
const y = document.querySelectorAll("[contenteditable]"), v = () => {
|
|
2149
2150
|
const P = document.querySelector("footer");
|
|
2150
2151
|
P && P.classList.remove(ct.x);
|
|
2151
2152
|
}, $ = () => {
|
|
2152
2153
|
const P = document.querySelector("footer");
|
|
2153
2154
|
P && P.classList.add(ct.x);
|
|
2154
2155
|
};
|
|
2155
|
-
return
|
|
2156
|
-
P.addEventListener("focus", $, !0), P.addEventListener("blur",
|
|
2156
|
+
return y.forEach((P) => {
|
|
2157
|
+
P.addEventListener("focus", $, !0), P.addEventListener("blur", v, !0);
|
|
2157
2158
|
}), () => {
|
|
2158
|
-
|
|
2159
|
-
P.removeEventListener("focus", $, !0), P.removeEventListener("blur",
|
|
2159
|
+
y.forEach((P) => {
|
|
2160
|
+
P.removeEventListener("focus", $, !0), P.removeEventListener("blur", v, !0);
|
|
2160
2161
|
});
|
|
2161
2162
|
};
|
|
2162
2163
|
}, []), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -2171,27 +2172,27 @@ const or = ({
|
|
|
2171
2172
|
),
|
|
2172
2173
|
children: [
|
|
2173
2174
|
n,
|
|
2174
|
-
r && r.map((
|
|
2175
|
+
r && r.map((y, v) => /* @__PURE__ */ i.jsxs(
|
|
2175
2176
|
"div",
|
|
2176
2177
|
{
|
|
2177
|
-
"data-active":
|
|
2178
|
+
"data-active": _ === v ? "true" : "false",
|
|
2178
2179
|
onClick: () => {
|
|
2179
|
-
|
|
2180
|
+
y.page && (g(v), p == null || p(y.page)), y.onClick && y.onClick(() => g(v)), y.component && (_ === v ? st() : (u(y.component), g(v)));
|
|
2180
2181
|
},
|
|
2181
2182
|
children: [
|
|
2182
|
-
|
|
2183
|
-
|
|
2183
|
+
y.icon,
|
|
2184
|
+
y.badge && /* @__PURE__ */ i.jsx(gn, { value: y.badge })
|
|
2184
2185
|
]
|
|
2185
2186
|
},
|
|
2186
|
-
|
|
2187
|
+
v
|
|
2187
2188
|
))
|
|
2188
2189
|
]
|
|
2189
2190
|
}
|
|
2190
2191
|
)
|
|
2191
2192
|
] });
|
|
2192
|
-
},
|
|
2193
|
-
w:
|
|
2194
|
-
v:
|
|
2193
|
+
}, bn = "_w_yx04q_3", mn = "_v_yx04q_24", _n = "_s_yx04q_34", Rn = "_n_yx04q_38", lt = {
|
|
2194
|
+
w: bn,
|
|
2195
|
+
v: mn,
|
|
2195
2196
|
s: _n,
|
|
2196
2197
|
n: Rn
|
|
2197
2198
|
}, Yt = {};
|
|
@@ -2206,24 +2207,24 @@ function Sn({
|
|
|
2206
2207
|
const [S, m] = J(!1);
|
|
2207
2208
|
return pe(() => {
|
|
2208
2209
|
if (!c) return;
|
|
2209
|
-
const u = p === void 0 ? wn().pop() : p,
|
|
2210
|
+
const u = p === void 0 ? wn().pop() : p, _ = () => {
|
|
2210
2211
|
m(!1), setTimeout(() => {
|
|
2211
2212
|
Xt(u || !1), a == null || a();
|
|
2212
2213
|
}, 300);
|
|
2213
2214
|
};
|
|
2214
2215
|
Yt[n] = {
|
|
2215
|
-
onClose:
|
|
2216
|
+
onClose: _,
|
|
2216
2217
|
onOpen: () => {
|
|
2217
2218
|
m(!0);
|
|
2218
2219
|
}
|
|
2219
2220
|
}, Xt({
|
|
2220
|
-
callback:
|
|
2221
|
+
callback: _
|
|
2221
2222
|
});
|
|
2222
|
-
const
|
|
2223
|
+
const g = setTimeout(() => {
|
|
2223
2224
|
m(!0);
|
|
2224
2225
|
}, 10);
|
|
2225
2226
|
return () => {
|
|
2226
|
-
clearTimeout(
|
|
2227
|
+
clearTimeout(g);
|
|
2227
2228
|
};
|
|
2228
2229
|
}, [c]), c ? /* @__PURE__ */ i.jsxs(
|
|
2229
2230
|
"div",
|
|
@@ -2260,9 +2261,9 @@ function jn({
|
|
|
2260
2261
|
m(l || !1);
|
|
2261
2262
|
}, [l]);
|
|
2262
2263
|
let u = {
|
|
2263
|
-
onScroll: (
|
|
2264
|
-
const { scrollTop:
|
|
2265
|
-
|
|
2264
|
+
onScroll: (_) => {
|
|
2265
|
+
const { scrollTop: g, scrollHeight: y, clientHeight: v } = _.currentTarget;
|
|
2266
|
+
g + v >= y - c && !S && (m(!0), a == null || a());
|
|
2266
2267
|
}
|
|
2267
2268
|
};
|
|
2268
2269
|
return /* @__PURE__ */ i.jsx(
|