@elcrm/telegram 0.0.111 → 0.0.112
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 +197 -197
- package/dist/index.umd.js +13 -13
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -15,14 +15,14 @@ function or() {
|
|
|
15
15
|
if (Ut) return tt;
|
|
16
16
|
Ut = 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
|
|
19
|
-
var h, b = {},
|
|
20
|
-
R !== void 0 && (
|
|
18
|
+
function k(m, u, R) {
|
|
19
|
+
var h, b = {}, y = null, T = null;
|
|
20
|
+
R !== void 0 && (y = "" + R), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (T = u.ref);
|
|
21
21
|
for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
|
|
22
22
|
if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
|
|
23
|
-
return { $$typeof: n, type: m, key:
|
|
23
|
+
return { $$typeof: n, type: m, key: y, ref: T, props: b, _owner: l.current };
|
|
24
24
|
}
|
|
25
|
-
return tt.Fragment = a, tt.jsx =
|
|
25
|
+
return tt.Fragment = a, tt.jsx = k, tt.jsxs = k, tt;
|
|
26
26
|
}
|
|
27
27
|
var rt = {};
|
|
28
28
|
/**
|
|
@@ -37,7 +37,7 @@ var rt = {};
|
|
|
37
37
|
var Yt;
|
|
38
38
|
function ar() {
|
|
39
39
|
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"),
|
|
40
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, Te = "@@iterator";
|
|
41
41
|
function pe(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
@@ -56,16 +56,16 @@ function ar() {
|
|
|
56
56
|
{
|
|
57
57
|
var s = W.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
58
58
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
59
|
-
var
|
|
59
|
+
var g = o.map(function(d) {
|
|
60
60
|
return String(d);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
var Ne = !1, Oe = !1, Be = !1, Ie = !1, _ = !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 || _ || e === l || e === R || e === h || Ie || e === T || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Ie || e === T || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === b || e.$$typeof === k || 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.
|
|
@@ -107,7 +107,7 @@ function ar() {
|
|
|
107
107
|
case m:
|
|
108
108
|
var t = e;
|
|
109
109
|
return I(t) + ".Consumer";
|
|
110
|
-
case
|
|
110
|
+
case k:
|
|
111
111
|
var o = e;
|
|
112
112
|
return I(o._context) + ".Provider";
|
|
113
113
|
case u:
|
|
@@ -115,10 +115,10 @@ function ar() {
|
|
|
115
115
|
case b:
|
|
116
116
|
var s = e.displayName || null;
|
|
117
117
|
return s !== null ? s : $(e.type) || "Memo";
|
|
118
|
-
case
|
|
119
|
-
var v = e,
|
|
118
|
+
case y: {
|
|
119
|
+
var v = e, g = v._payload, d = v._init;
|
|
120
120
|
try {
|
|
121
|
-
return $(d(
|
|
121
|
+
return $(d(g));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -202,13 +202,13 @@ function ar() {
|
|
|
202
202
|
` + he + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var ye = !1, ne;
|
|
206
206
|
{
|
|
207
207
|
var dt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
208
|
ne = new dt();
|
|
209
209
|
}
|
|
210
210
|
function We(e, t) {
|
|
211
|
-
if (!e ||
|
|
211
|
+
if (!e || ye)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
214
|
var o = ne.get(e);
|
|
@@ -216,11 +216,11 @@ function ar() {
|
|
|
216
216
|
return o;
|
|
217
217
|
}
|
|
218
218
|
var s;
|
|
219
|
-
|
|
219
|
+
ye = !0;
|
|
220
220
|
var v = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var g;
|
|
223
|
+
g = ve.current, ve.current = null, ut();
|
|
224
224
|
try {
|
|
225
225
|
if (t) {
|
|
226
226
|
var d = function() {
|
|
@@ -257,23 +257,23 @@ function ar() {
|
|
|
257
257
|
if (C && s && typeof C.stack == "string") {
|
|
258
258
|
for (var f = C.stack.split(`
|
|
259
259
|
`), O = s.stack.split(`
|
|
260
|
-
`), S = f.length - 1,
|
|
261
|
-
|
|
262
|
-
for (; S >= 1 &&
|
|
263
|
-
if (f[S] !== O[
|
|
264
|
-
if (S !== 1 ||
|
|
260
|
+
`), S = f.length - 1, x = O.length - 1; S >= 1 && x >= 0 && f[S] !== O[x]; )
|
|
261
|
+
x--;
|
|
262
|
+
for (; S >= 1 && x >= 0; S--, x--)
|
|
263
|
+
if (f[S] !== O[x]) {
|
|
264
|
+
if (S !== 1 || x !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (S--,
|
|
266
|
+
if (S--, x--, x < 0 || f[S] !== O[x]) {
|
|
267
267
|
var w = `
|
|
268
268
|
` + f[S].replace(" at new ", " at ");
|
|
269
269
|
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
|
|
270
270
|
}
|
|
271
|
-
while (S >= 1 &&
|
|
271
|
+
while (S >= 1 && x >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
ye = !1, ve.current = g, ft(), Error.prepareStackTrace = v;
|
|
277
277
|
}
|
|
278
278
|
var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
|
|
279
279
|
return typeof e == "function" && ne.set(e, L), L;
|
|
@@ -304,10 +304,10 @@ function ar() {
|
|
|
304
304
|
return pt(e.render);
|
|
305
305
|
case b:
|
|
306
306
|
return oe(e.type, t, o);
|
|
307
|
-
case
|
|
308
|
-
var s = e, v = s._payload,
|
|
307
|
+
case y: {
|
|
308
|
+
var s = e, v = s._payload, g = s._init;
|
|
309
309
|
try {
|
|
310
|
-
return oe(
|
|
310
|
+
return oe(g(v), t, o);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
@@ -324,9 +324,9 @@ function ar() {
|
|
|
324
324
|
}
|
|
325
325
|
function ht(e, t, o, s, v) {
|
|
326
326
|
{
|
|
327
|
-
var
|
|
327
|
+
var g = Function.call.bind(K);
|
|
328
328
|
for (var d in e)
|
|
329
|
-
if (
|
|
329
|
+
if (g(e, d)) {
|
|
330
330
|
var f = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[d] != "function") {
|
|
@@ -341,11 +341,11 @@ function ar() {
|
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
345
|
-
function
|
|
346
|
-
return
|
|
344
|
+
var yt = Array.isArray;
|
|
345
|
+
function ge(e) {
|
|
346
|
+
return yt(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function gt(e) {
|
|
349
349
|
{
|
|
350
350
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return o;
|
|
@@ -363,7 +363,7 @@ function ar() {
|
|
|
363
363
|
}
|
|
364
364
|
function Ve(e) {
|
|
365
365
|
if (mt(e))
|
|
366
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
366
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gt(e)), Ye(e);
|
|
367
367
|
}
|
|
368
368
|
var ze = W.ReactCurrentOwner, bt = {
|
|
369
369
|
key: !0,
|
|
@@ -390,7 +390,7 @@ function ar() {
|
|
|
390
390
|
function St(e, t) {
|
|
391
391
|
typeof e.ref == "string" && ze.current;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function kt(e, t) {
|
|
394
394
|
{
|
|
395
395
|
var o = function() {
|
|
396
396
|
qe || (qe = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -401,7 +401,7 @@ function ar() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function xt(e, t) {
|
|
405
405
|
{
|
|
406
406
|
var o = function() {
|
|
407
407
|
He || (He = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -412,7 +412,7 @@ function ar() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var Et = function(e, t, o, s, v,
|
|
415
|
+
var Et = function(e, t, o, s, v, g, d) {
|
|
416
416
|
var f = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: n,
|
|
@@ -422,7 +422,7 @@ function ar() {
|
|
|
422
422
|
ref: o,
|
|
423
423
|
props: d,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
|
-
_owner:
|
|
425
|
+
_owner: g
|
|
426
426
|
};
|
|
427
427
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
428
428
|
configurable: !1,
|
|
@@ -443,18 +443,18 @@ function ar() {
|
|
|
443
443
|
};
|
|
444
444
|
function jt(e, t, o, s, v) {
|
|
445
445
|
{
|
|
446
|
-
var
|
|
446
|
+
var g, d = {}, f = null, O = null;
|
|
447
447
|
o !== void 0 && (Ve(o), f = "" + o), Rt(t) && (Ve(t.key), f = "" + t.key), _t(t) && (O = t.ref, St(t, v));
|
|
448
|
-
for (
|
|
449
|
-
K.call(t,
|
|
448
|
+
for (g in t)
|
|
449
|
+
K.call(t, g) && !bt.hasOwnProperty(g) && (d[g] = t[g]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var S = e.defaultProps;
|
|
452
|
-
for (
|
|
453
|
-
d[
|
|
452
|
+
for (g in S)
|
|
453
|
+
d[g] === void 0 && (d[g] = S[g]);
|
|
454
454
|
}
|
|
455
455
|
if (f || O) {
|
|
456
|
-
var
|
|
457
|
-
f &&
|
|
456
|
+
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
+
f && kt(d, x), O && xt(d, x);
|
|
458
458
|
}
|
|
459
459
|
return Et(e, f, O, v, s, ze.current, d);
|
|
460
460
|
}
|
|
@@ -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 (ge(e))
|
|
521
521
|
for (var o = 0; o < e.length; o++) {
|
|
522
522
|
var s = e[o];
|
|
523
523
|
_e(s) && Ze(s, t);
|
|
@@ -527,7 +527,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
527
527
|
else if (e) {
|
|
528
528
|
var v = pe(e);
|
|
529
529
|
if (typeof v == "function" && v !== e.entries)
|
|
530
|
-
for (var
|
|
530
|
+
for (var g = v.call(e), d; !(d = g.next()).done; )
|
|
531
531
|
_e(d.value) && Ze(d.value, t);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
@@ -570,7 +570,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
var Qe = {};
|
|
573
|
-
function et(e, t, o, s, v,
|
|
573
|
+
function et(e, t, o, s, v, g) {
|
|
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 O = Ot();
|
|
580
580
|
O ? f += O : f += Ke();
|
|
581
581
|
var S;
|
|
582
|
-
e === null ? S = "null" :
|
|
582
|
+
e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, f);
|
|
583
583
|
}
|
|
584
|
-
var
|
|
585
|
-
if (
|
|
586
|
-
return
|
|
584
|
+
var x = jt(e, t, o, v, g);
|
|
585
|
+
if (x == null)
|
|
586
|
+
return x;
|
|
587
587
|
if (d) {
|
|
588
588
|
var w = t.children;
|
|
589
589
|
if (w !== void 0)
|
|
590
590
|
if (s)
|
|
591
|
-
if (
|
|
591
|
+
if (ge(w)) {
|
|
592
592
|
for (var z = 0; z < w.length; z++)
|
|
593
593
|
Xe(w[z], e);
|
|
594
594
|
Object.freeze && Object.freeze(w);
|
|
@@ -611,7 +611,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
611
611
|
<%s key={someKey} {...props} />`, Re, L, Bt, L), Qe[L + Re] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === c ? Pt(
|
|
614
|
+
return e === c ? Pt(x) : Ct(x), x;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
function wt(e, t, o) {
|
|
@@ -626,7 +626,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
626
626
|
}
|
|
627
627
|
process.env.NODE_ENV === "production" ? Ft.exports = or() : Ft.exports = ar();
|
|
628
628
|
var i = Ft.exports;
|
|
629
|
-
const sr = "
|
|
629
|
+
const sr = "_o_1ay6z_11", ir = "_x_1ay6z_25", lr = "_p_1ay6z_29", cr = "_m_1ay6z_46", Ae = {
|
|
630
630
|
o: sr,
|
|
631
631
|
x: ir,
|
|
632
632
|
p: lr,
|
|
@@ -641,15 +641,15 @@ var Wt;
|
|
|
641
641
|
nameModal: R,
|
|
642
642
|
offsetTop: h
|
|
643
643
|
}) {
|
|
644
|
-
const [b,
|
|
644
|
+
const [b, y] = J(!1), [T, P] = J(!1);
|
|
645
645
|
if (q[R].onClose = () => {
|
|
646
646
|
N.BackButton(!1), P(!0), setTimeout(() => {
|
|
647
|
-
|
|
647
|
+
y(!1), P(!1), u == null || u(), q.x(R);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, fe(() => {
|
|
650
650
|
b ? q[R].onClose() : (N.BackButton({
|
|
651
651
|
callback: () => q[R].onClose()
|
|
652
|
-
}),
|
|
652
|
+
}), y(!0));
|
|
653
653
|
}, []), !!b)
|
|
654
654
|
return /* @__PURE__ */ i.jsx("div", { className: we(Ae.o, T && Ae.x), children: /* @__PURE__ */ i.jsx(
|
|
655
655
|
"div",
|
|
@@ -695,15 +695,15 @@ var Wt;
|
|
|
695
695
|
r.Add = c;
|
|
696
696
|
function l(m, u = Date.now().toString(), R) {
|
|
697
697
|
return q[u] = {}, {
|
|
698
|
-
Open: (
|
|
698
|
+
Open: (y) => {
|
|
699
699
|
r.Add(
|
|
700
700
|
/* @__PURE__ */ i.jsx(
|
|
701
701
|
m,
|
|
702
702
|
{
|
|
703
|
-
...
|
|
703
|
+
...y,
|
|
704
704
|
onCallbackModal: (T) => {
|
|
705
705
|
var P;
|
|
706
|
-
(P =
|
|
706
|
+
(P = y.callback) == null || P.call(y, T);
|
|
707
707
|
},
|
|
708
708
|
nameModal: u
|
|
709
709
|
},
|
|
@@ -720,12 +720,12 @@ var Wt;
|
|
|
720
720
|
q[m].onClose();
|
|
721
721
|
}
|
|
722
722
|
r.Close = p;
|
|
723
|
-
function
|
|
723
|
+
function k(m, u, R, h) {
|
|
724
724
|
q.i && (h && (R.callback = h), q.i(`${m}/modals/${u}.tsx`).then((b) => {
|
|
725
725
|
b.default.Open(R);
|
|
726
726
|
}));
|
|
727
727
|
}
|
|
728
|
-
r.Open =
|
|
728
|
+
r.Open = k;
|
|
729
729
|
})(Wt || (Wt = {}));
|
|
730
730
|
function Zt() {
|
|
731
731
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
@@ -767,8 +767,8 @@ const lt = (r) => {
|
|
|
767
767
|
const a = new Uint8Array(r.length), c = new Uint8Array(r.length);
|
|
768
768
|
let l = 0;
|
|
769
769
|
for (let p = 0; p < r.length; p++) {
|
|
770
|
-
const
|
|
771
|
-
l = n[
|
|
770
|
+
const k = p % n.length;
|
|
771
|
+
l = n[k] + p + l & 255, c[p] = l;
|
|
772
772
|
}
|
|
773
773
|
for (let p = 0; p < r.length; p++)
|
|
774
774
|
a[p] = r[p] ^ c[p];
|
|
@@ -789,8 +789,8 @@ const lt = (r) => {
|
|
|
789
789
|
try {
|
|
790
790
|
const n = lt(
|
|
791
791
|
Date.now().toString() + Math.random()
|
|
792
|
-
).substring(0, it().saltLength * 2), a = lt(r + n).substring(0, 8), c = Qt(it().key, n), l = ur(r), p = er(l, c),
|
|
793
|
-
return `${n}.${
|
|
792
|
+
).substring(0, it().saltLength * 2), a = lt(r + n).substring(0, 8), c = Qt(it().key, n), l = ur(r), p = er(l, c), k = dr(p);
|
|
793
|
+
return `${n}.${k}.${a}`;
|
|
794
794
|
} catch {
|
|
795
795
|
throw new Error("Не удалось зашифровать данные");
|
|
796
796
|
}
|
|
@@ -799,7 +799,7 @@ const lt = (r) => {
|
|
|
799
799
|
const n = r.split(".");
|
|
800
800
|
if (n.length !== 3)
|
|
801
801
|
throw new Error("Неверный формат зашифрованных данных");
|
|
802
|
-
const a = n[0], c = n[1], l = n[2], p = Qt(it().key, a),
|
|
802
|
+
const a = n[0], c = n[1], l = n[2], p = Qt(it().key, a), k = pr(c), m = er(k, p), u = fr(m);
|
|
803
803
|
if (lt(u + a).substring(
|
|
804
804
|
0,
|
|
805
805
|
8
|
|
@@ -845,18 +845,18 @@ var nt = {};
|
|
|
845
845
|
* LICENSE file in the root directory of this source tree.
|
|
846
846
|
*/
|
|
847
847
|
var zt;
|
|
848
|
-
function
|
|
848
|
+
function yr() {
|
|
849
849
|
if (zt) return nt;
|
|
850
850
|
zt = 1;
|
|
851
851
|
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
|
|
853
|
-
var h, b = {},
|
|
854
|
-
R !== void 0 && (
|
|
852
|
+
function k(m, u, R) {
|
|
853
|
+
var h, b = {}, y = null, T = null;
|
|
854
|
+
R !== void 0 && (y = "" + R), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (T = u.ref);
|
|
855
855
|
for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
|
|
856
856
|
if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
|
|
857
|
-
return { $$typeof: n, type: m, key:
|
|
857
|
+
return { $$typeof: n, type: m, key: y, ref: T, props: b, _owner: l.current };
|
|
858
858
|
}
|
|
859
|
-
return nt.Fragment = a, nt.jsx =
|
|
859
|
+
return nt.Fragment = a, nt.jsx = k, nt.jsxs = k, nt;
|
|
860
860
|
}
|
|
861
861
|
var at = {};
|
|
862
862
|
/**
|
|
@@ -869,9 +869,9 @@ var at = {};
|
|
|
869
869
|
* LICENSE file in the root directory of this source tree.
|
|
870
870
|
*/
|
|
871
871
|
var qt;
|
|
872
|
-
function
|
|
872
|
+
function gr() {
|
|
873
873
|
return qt || (qt = 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"),
|
|
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"), k = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, Te = "@@iterator";
|
|
875
875
|
function pe(e) {
|
|
876
876
|
if (e === null || typeof e != "object")
|
|
877
877
|
return null;
|
|
@@ -890,16 +890,16 @@ function yr() {
|
|
|
890
890
|
{
|
|
891
891
|
var s = W.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
892
892
|
v !== "" && (t += "%s", o = o.concat([v]));
|
|
893
|
-
var
|
|
893
|
+
var g = o.map(function(d) {
|
|
894
894
|
return String(d);
|
|
895
895
|
});
|
|
896
|
-
|
|
896
|
+
g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
899
|
var Ne = !1, Oe = !1, Be = !1, Ie = !1, _ = !1, E;
|
|
900
900
|
E = Symbol.for("react.module.reference");
|
|
901
901
|
function B(e) {
|
|
902
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Ie || e === T || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
902
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Ie || e === T || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === b || e.$$typeof === k || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
|
|
903
903
|
// types supported by any Flight configuration anywhere since
|
|
904
904
|
// we don't know which Flight build this will end up being used
|
|
905
905
|
// with.
|
|
@@ -941,7 +941,7 @@ function yr() {
|
|
|
941
941
|
case m:
|
|
942
942
|
var t = e;
|
|
943
943
|
return I(t) + ".Consumer";
|
|
944
|
-
case
|
|
944
|
+
case k:
|
|
945
945
|
var o = e;
|
|
946
946
|
return I(o._context) + ".Provider";
|
|
947
947
|
case u:
|
|
@@ -949,10 +949,10 @@ function yr() {
|
|
|
949
949
|
case b:
|
|
950
950
|
var s = e.displayName || null;
|
|
951
951
|
return s !== null ? s : $(e.type) || "Memo";
|
|
952
|
-
case
|
|
953
|
-
var v = e,
|
|
952
|
+
case y: {
|
|
953
|
+
var v = e, g = v._payload, d = v._init;
|
|
954
954
|
try {
|
|
955
|
-
return $(d(
|
|
955
|
+
return $(d(g));
|
|
956
956
|
} catch {
|
|
957
957
|
return null;
|
|
958
958
|
}
|
|
@@ -1036,13 +1036,13 @@ function yr() {
|
|
|
1036
1036
|
` + he + e;
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
|
-
var
|
|
1039
|
+
var ye = !1, ne;
|
|
1040
1040
|
{
|
|
1041
1041
|
var dt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1042
1042
|
ne = new dt();
|
|
1043
1043
|
}
|
|
1044
1044
|
function We(e, t) {
|
|
1045
|
-
if (!e ||
|
|
1045
|
+
if (!e || ye)
|
|
1046
1046
|
return "";
|
|
1047
1047
|
{
|
|
1048
1048
|
var o = ne.get(e);
|
|
@@ -1050,11 +1050,11 @@ function yr() {
|
|
|
1050
1050
|
return o;
|
|
1051
1051
|
}
|
|
1052
1052
|
var s;
|
|
1053
|
-
|
|
1053
|
+
ye = !0;
|
|
1054
1054
|
var v = Error.prepareStackTrace;
|
|
1055
1055
|
Error.prepareStackTrace = void 0;
|
|
1056
|
-
var
|
|
1057
|
-
|
|
1056
|
+
var g;
|
|
1057
|
+
g = ve.current, ve.current = null, ut();
|
|
1058
1058
|
try {
|
|
1059
1059
|
if (t) {
|
|
1060
1060
|
var d = function() {
|
|
@@ -1091,23 +1091,23 @@ function yr() {
|
|
|
1091
1091
|
if (C && s && typeof C.stack == "string") {
|
|
1092
1092
|
for (var f = C.stack.split(`
|
|
1093
1093
|
`), O = s.stack.split(`
|
|
1094
|
-
`), S = f.length - 1,
|
|
1095
|
-
|
|
1096
|
-
for (; S >= 1 &&
|
|
1097
|
-
if (f[S] !== O[
|
|
1098
|
-
if (S !== 1 ||
|
|
1094
|
+
`), S = f.length - 1, x = O.length - 1; S >= 1 && x >= 0 && f[S] !== O[x]; )
|
|
1095
|
+
x--;
|
|
1096
|
+
for (; S >= 1 && x >= 0; S--, x--)
|
|
1097
|
+
if (f[S] !== O[x]) {
|
|
1098
|
+
if (S !== 1 || x !== 1)
|
|
1099
1099
|
do
|
|
1100
|
-
if (S--,
|
|
1100
|
+
if (S--, x--, x < 0 || f[S] !== O[x]) {
|
|
1101
1101
|
var w = `
|
|
1102
1102
|
` + f[S].replace(" at new ", " at ");
|
|
1103
1103
|
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
|
|
1104
1104
|
}
|
|
1105
|
-
while (S >= 1 &&
|
|
1105
|
+
while (S >= 1 && x >= 0);
|
|
1106
1106
|
break;
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
1109
|
} finally {
|
|
1110
|
-
|
|
1110
|
+
ye = !1, ve.current = g, ft(), Error.prepareStackTrace = v;
|
|
1111
1111
|
}
|
|
1112
1112
|
var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
|
|
1113
1113
|
return typeof e == "function" && ne.set(e, L), L;
|
|
@@ -1138,10 +1138,10 @@ function yr() {
|
|
|
1138
1138
|
return pt(e.render);
|
|
1139
1139
|
case b:
|
|
1140
1140
|
return oe(e.type, t, o);
|
|
1141
|
-
case
|
|
1142
|
-
var s = e, v = s._payload,
|
|
1141
|
+
case y: {
|
|
1142
|
+
var s = e, v = s._payload, g = s._init;
|
|
1143
1143
|
try {
|
|
1144
|
-
return oe(
|
|
1144
|
+
return oe(g(v), t, o);
|
|
1145
1145
|
} catch {
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
@@ -1158,9 +1158,9 @@ function yr() {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
function ht(e, t, o, s, v) {
|
|
1160
1160
|
{
|
|
1161
|
-
var
|
|
1161
|
+
var g = Function.call.bind(K);
|
|
1162
1162
|
for (var d in e)
|
|
1163
|
-
if (
|
|
1163
|
+
if (g(e, d)) {
|
|
1164
1164
|
var f = void 0;
|
|
1165
1165
|
try {
|
|
1166
1166
|
if (typeof e[d] != "function") {
|
|
@@ -1175,11 +1175,11 @@ function yr() {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
|
-
var
|
|
1179
|
-
function
|
|
1180
|
-
return
|
|
1178
|
+
var yt = Array.isArray;
|
|
1179
|
+
function ge(e) {
|
|
1180
|
+
return yt(e);
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function gt(e) {
|
|
1183
1183
|
{
|
|
1184
1184
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1185
1185
|
return o;
|
|
@@ -1197,7 +1197,7 @@ function yr() {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
function Ve(e) {
|
|
1199
1199
|
if (mt(e))
|
|
1200
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1200
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gt(e)), Ye(e);
|
|
1201
1201
|
}
|
|
1202
1202
|
var ze = W.ReactCurrentOwner, bt = {
|
|
1203
1203
|
key: !0,
|
|
@@ -1224,7 +1224,7 @@ function yr() {
|
|
|
1224
1224
|
function St(e, t) {
|
|
1225
1225
|
typeof e.ref == "string" && ze.current;
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function kt(e, t) {
|
|
1228
1228
|
{
|
|
1229
1229
|
var o = function() {
|
|
1230
1230
|
qe || (qe = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -1235,7 +1235,7 @@ function yr() {
|
|
|
1235
1235
|
});
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function xt(e, t) {
|
|
1239
1239
|
{
|
|
1240
1240
|
var o = function() {
|
|
1241
1241
|
He || (He = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -1246,7 +1246,7 @@ function yr() {
|
|
|
1246
1246
|
});
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
var Et = function(e, t, o, s, v,
|
|
1249
|
+
var Et = function(e, t, o, s, v, g, d) {
|
|
1250
1250
|
var f = {
|
|
1251
1251
|
// This tag allows us to uniquely identify this as a React Element
|
|
1252
1252
|
$$typeof: n,
|
|
@@ -1256,7 +1256,7 @@ function yr() {
|
|
|
1256
1256
|
ref: o,
|
|
1257
1257
|
props: d,
|
|
1258
1258
|
// Record the component responsible for creating this element.
|
|
1259
|
-
_owner:
|
|
1259
|
+
_owner: g
|
|
1260
1260
|
};
|
|
1261
1261
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
1262
1262
|
configurable: !1,
|
|
@@ -1277,18 +1277,18 @@ function yr() {
|
|
|
1277
1277
|
};
|
|
1278
1278
|
function jt(e, t, o, s, v) {
|
|
1279
1279
|
{
|
|
1280
|
-
var
|
|
1280
|
+
var g, d = {}, f = null, O = null;
|
|
1281
1281
|
o !== void 0 && (Ve(o), f = "" + o), Rt(t) && (Ve(t.key), f = "" + t.key), _t(t) && (O = t.ref, St(t));
|
|
1282
|
-
for (
|
|
1283
|
-
K.call(t,
|
|
1282
|
+
for (g in t)
|
|
1283
|
+
K.call(t, g) && !bt.hasOwnProperty(g) && (d[g] = t[g]);
|
|
1284
1284
|
if (e && e.defaultProps) {
|
|
1285
1285
|
var S = e.defaultProps;
|
|
1286
|
-
for (
|
|
1287
|
-
d[
|
|
1286
|
+
for (g in S)
|
|
1287
|
+
d[g] === void 0 && (d[g] = S[g]);
|
|
1288
1288
|
}
|
|
1289
1289
|
if (f || O) {
|
|
1290
|
-
var
|
|
1291
|
-
f &&
|
|
1290
|
+
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1291
|
+
f && kt(d, x), O && xt(d, x);
|
|
1292
1292
|
}
|
|
1293
1293
|
return Et(e, f, O, v, s, ze.current, d);
|
|
1294
1294
|
}
|
|
@@ -1351,7 +1351,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1351
1351
|
{
|
|
1352
1352
|
if (typeof e != "object")
|
|
1353
1353
|
return;
|
|
1354
|
-
if (
|
|
1354
|
+
if (ge(e))
|
|
1355
1355
|
for (var o = 0; o < e.length; o++) {
|
|
1356
1356
|
var s = e[o];
|
|
1357
1357
|
_e(s) && Ze(s, t);
|
|
@@ -1361,7 +1361,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1361
1361
|
else if (e) {
|
|
1362
1362
|
var v = pe(e);
|
|
1363
1363
|
if (typeof v == "function" && v !== e.entries)
|
|
1364
|
-
for (var
|
|
1364
|
+
for (var g = v.call(e), d; !(d = g.next()).done; )
|
|
1365
1365
|
_e(d.value) && Ze(d.value, t);
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
@@ -1404,7 +1404,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1404
1404
|
}
|
|
1405
1405
|
}
|
|
1406
1406
|
var Qe = {};
|
|
1407
|
-
function et(e, t, o, s, v,
|
|
1407
|
+
function et(e, t, o, s, v, g) {
|
|
1408
1408
|
{
|
|
1409
1409
|
var d = B(e);
|
|
1410
1410
|
if (!d) {
|
|
@@ -1413,16 +1413,16 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1413
1413
|
var O = Ot();
|
|
1414
1414
|
O ? f += O : f += Ke();
|
|
1415
1415
|
var S;
|
|
1416
|
-
e === null ? S = "null" :
|
|
1416
|
+
e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, f);
|
|
1417
1417
|
}
|
|
1418
|
-
var
|
|
1419
|
-
if (
|
|
1420
|
-
return
|
|
1418
|
+
var x = jt(e, t, o, v, g);
|
|
1419
|
+
if (x == null)
|
|
1420
|
+
return x;
|
|
1421
1421
|
if (d) {
|
|
1422
1422
|
var w = t.children;
|
|
1423
1423
|
if (w !== void 0)
|
|
1424
1424
|
if (s)
|
|
1425
|
-
if (
|
|
1425
|
+
if (ge(w)) {
|
|
1426
1426
|
for (var z = 0; z < w.length; z++)
|
|
1427
1427
|
Xe(w[z], e);
|
|
1428
1428
|
Object.freeze && Object.freeze(w);
|
|
@@ -1445,7 +1445,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1445
1445
|
<%s key={someKey} {...props} />`, Re, L, Bt, L), Qe[L + Re] = !0;
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
return e === c ? Pt(
|
|
1448
|
+
return e === c ? Pt(x) : Ct(x), x;
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
1451
1451
|
function wt(e, t, o) {
|
|
@@ -1458,7 +1458,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1458
1458
|
at.Fragment = c, at.jsx = $t, at.jsxs = Nt;
|
|
1459
1459
|
}()), at;
|
|
1460
1460
|
}
|
|
1461
|
-
process.env.NODE_ENV === "production" ?
|
|
1461
|
+
process.env.NODE_ENV === "production" ? yr() : gr();
|
|
1462
1462
|
const mr = "0.0.40", tr = {
|
|
1463
1463
|
version: mr
|
|
1464
1464
|
}, se = {}, H = {
|
|
@@ -1488,7 +1488,7 @@ function te(r) {
|
|
|
1488
1488
|
const p = je();
|
|
1489
1489
|
if (p.ROUTER_PARAMS) {
|
|
1490
1490
|
r.debug || p.ROUTER_PARAMS.debug;
|
|
1491
|
-
const
|
|
1491
|
+
const k = {
|
|
1492
1492
|
page: (n = p.ROUTER_PARAMS) == null ? void 0 : n.page,
|
|
1493
1493
|
module: (a = p.ROUTER_PARAMS) == null ? void 0 : a.module,
|
|
1494
1494
|
tab: (c = p.ROUTER_PARAMS) == null ? void 0 : c.tab,
|
|
@@ -1497,17 +1497,17 @@ function te(r) {
|
|
|
1497
1497
|
p.ROUTER_PARAMS = {
|
|
1498
1498
|
...p.ROUTER_PARAMS,
|
|
1499
1499
|
...r,
|
|
1500
|
-
prev:
|
|
1500
|
+
prev: k
|
|
1501
1501
|
};
|
|
1502
1502
|
} else {
|
|
1503
1503
|
r.debug || H.debug;
|
|
1504
|
-
const
|
|
1504
|
+
const k = {
|
|
1505
1505
|
page: H == null ? void 0 : H.page,
|
|
1506
1506
|
module: H == null ? void 0 : H.module,
|
|
1507
1507
|
tab: H == null ? void 0 : H.tab,
|
|
1508
1508
|
id: H == null ? void 0 : H.id
|
|
1509
1509
|
};
|
|
1510
|
-
p.ROUTER_PARAMS = { ...H, ...r, prev:
|
|
1510
|
+
p.ROUTER_PARAMS = { ...H, ...r, prev: k };
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
1513
|
function A() {
|
|
@@ -1564,7 +1564,7 @@ var de;
|
|
|
1564
1564
|
function l(_) {
|
|
1565
1565
|
let E = (I) => (te({ page: I }), I);
|
|
1566
1566
|
const [B, M] = F.useState(
|
|
1567
|
-
|
|
1567
|
+
k() || _ && E(_) || A().page
|
|
1568
1568
|
);
|
|
1569
1569
|
return Se({ page: (I) => {
|
|
1570
1570
|
M(I);
|
|
@@ -1578,10 +1578,10 @@ var de;
|
|
|
1578
1578
|
), E && ie().page(_);
|
|
1579
1579
|
}
|
|
1580
1580
|
r.setPage = p;
|
|
1581
|
-
function
|
|
1581
|
+
function k() {
|
|
1582
1582
|
return A().page;
|
|
1583
1583
|
}
|
|
1584
|
-
r.getPage =
|
|
1584
|
+
r.getPage = k;
|
|
1585
1585
|
function m(_) {
|
|
1586
1586
|
return A().page === _;
|
|
1587
1587
|
}
|
|
@@ -1608,10 +1608,10 @@ var de;
|
|
|
1608
1608
|
return A().module || "";
|
|
1609
1609
|
}
|
|
1610
1610
|
r.getModule = b;
|
|
1611
|
-
function
|
|
1611
|
+
function y(_) {
|
|
1612
1612
|
return A().module === _;
|
|
1613
1613
|
}
|
|
1614
|
-
r.isModule =
|
|
1614
|
+
r.isModule = y;
|
|
1615
1615
|
function T(_, E) {
|
|
1616
1616
|
if (typeof _ != "function") {
|
|
1617
1617
|
const [B, M] = F.useState(!E), [I, $] = F.useState(_ || pe());
|
|
@@ -1747,7 +1747,7 @@ function Rr(r) {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
) });
|
|
1749
1749
|
}
|
|
1750
|
-
let
|
|
1750
|
+
let xe = {
|
|
1751
1751
|
Send: _r,
|
|
1752
1752
|
Init: br
|
|
1753
1753
|
};
|
|
@@ -1802,23 +1802,23 @@ G.users = {
|
|
|
1802
1802
|
};
|
|
1803
1803
|
const Sr = () => {
|
|
1804
1804
|
if (location.hostname === "localhost") {
|
|
1805
|
-
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [
|
|
1805
|
+
let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [k, m] = J(!1), [u, R] = J(!1);
|
|
1806
1806
|
Ee.is = !0, Ee.MainButton.set = n, Ee.BackButton.set = c, fe(() => {
|
|
1807
1807
|
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";
|
|
1808
|
-
for (let
|
|
1808
|
+
for (let y in G[l])
|
|
1809
1809
|
document.documentElement.style.setProperty(
|
|
1810
|
-
|
|
1811
|
-
G[l][
|
|
1810
|
+
y,
|
|
1811
|
+
G[l][y]
|
|
1812
1812
|
);
|
|
1813
1813
|
Pe.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1814
1814
|
"--tg-safe-area-inset-bottom",
|
|
1815
1815
|
"16px"
|
|
1816
1816
|
);
|
|
1817
1817
|
}, []);
|
|
1818
|
-
let h = (
|
|
1819
|
-
for (let T in G[
|
|
1820
|
-
document.documentElement.style.setProperty(T, G[
|
|
1821
|
-
p(
|
|
1818
|
+
let h = (y) => {
|
|
1819
|
+
for (let T in G[y])
|
|
1820
|
+
document.documentElement.style.setProperty(T, G[y][T]);
|
|
1821
|
+
p(y), m(!1);
|
|
1822
1822
|
}, b = () => {
|
|
1823
1823
|
m(!1), R(!0);
|
|
1824
1824
|
};
|
|
@@ -1828,16 +1828,16 @@ const Sr = () => {
|
|
|
1828
1828
|
"div",
|
|
1829
1829
|
{
|
|
1830
1830
|
onClick: () => {
|
|
1831
|
-
var
|
|
1832
|
-
a.page === void 0 ? (
|
|
1831
|
+
var y;
|
|
1832
|
+
a.page === void 0 ? (y = a.callback) == null || y.call(a) : de.setPage(a.page);
|
|
1833
1833
|
},
|
|
1834
1834
|
className: "b",
|
|
1835
1835
|
children: "Назад"
|
|
1836
1836
|
}
|
|
1837
1837
|
),
|
|
1838
|
-
/* @__PURE__ */ i.jsx("div", { className: "o", onClick: () => m(!
|
|
1838
|
+
/* @__PURE__ */ i.jsx("div", { className: "o", onClick: () => m(!k), children: "Меню" })
|
|
1839
1839
|
] }),
|
|
1840
|
-
/* @__PURE__ */ i.jsx(
|
|
1840
|
+
/* @__PURE__ */ i.jsx(xe.Init, {}),
|
|
1841
1841
|
r && /* @__PURE__ */ i.jsx("div", { className: "mb", children: /* @__PURE__ */ i.jsx(
|
|
1842
1842
|
"button",
|
|
1843
1843
|
{
|
|
@@ -1847,7 +1847,7 @@ const Sr = () => {
|
|
|
1847
1847
|
children: r.text
|
|
1848
1848
|
}
|
|
1849
1849
|
) }),
|
|
1850
|
-
|
|
1850
|
+
k ? /* @__PURE__ */ i.jsxs("div", { className: "tm", children: [
|
|
1851
1851
|
/* @__PURE__ */ i.jsxs("ul", { children: [
|
|
1852
1852
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: b, children: "Authorization" }) }),
|
|
1853
1853
|
/* @__PURE__ */ i.jsx("li", {})
|
|
@@ -1879,10 +1879,10 @@ const Sr = () => {
|
|
|
1879
1879
|
) })
|
|
1880
1880
|
] })
|
|
1881
1881
|
] }),
|
|
1882
|
-
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!
|
|
1882
|
+
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!k), children: "Closed" }) })
|
|
1883
1883
|
] })
|
|
1884
1884
|
] }) : "",
|
|
1885
|
-
u ? /* @__PURE__ */ i.jsx(
|
|
1885
|
+
u ? /* @__PURE__ */ i.jsx(kr, { setAuthorization: R }) : ""
|
|
1886
1886
|
] });
|
|
1887
1887
|
} else
|
|
1888
1888
|
return fe(() => {
|
|
@@ -1896,8 +1896,8 @@ const Sr = () => {
|
|
|
1896
1896
|
"--tg-safe-area-inset-bottom",
|
|
1897
1897
|
"16px"
|
|
1898
1898
|
);
|
|
1899
|
-
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
|
|
1900
|
-
},
|
|
1899
|
+
}, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(xe.Init, {}) });
|
|
1900
|
+
}, kr = ({ setAuthorization: r }) => {
|
|
1901
1901
|
let n = {}, a = () => {
|
|
1902
1902
|
localStorage.setItem("auth", n);
|
|
1903
1903
|
};
|
|
@@ -1905,8 +1905,8 @@ const Sr = () => {
|
|
|
1905
1905
|
/* @__PURE__ */ i.jsx("fieldset", {}),
|
|
1906
1906
|
/* @__PURE__ */ i.jsx("div", { onClick: a, children: " Сохранить " })
|
|
1907
1907
|
] }) });
|
|
1908
|
-
},
|
|
1909
|
-
p:
|
|
1908
|
+
}, xr = "_p_12hh1_1", Er = "_s_12hh1_17", Ht = {
|
|
1909
|
+
p: xr,
|
|
1910
1910
|
s: Er
|
|
1911
1911
|
}, jr = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
|
|
1912
1912
|
"div",
|
|
@@ -1922,7 +1922,7 @@ const Sr = () => {
|
|
|
1922
1922
|
className: [Ar.l, n].filter((a) => a !== void 0).join(" "),
|
|
1923
1923
|
children: r
|
|
1924
1924
|
}
|
|
1925
|
-
), Pr = "_m_ppm7n_2", wr = "_g_ppm7n_10", Tr = "_i_ppm7n_18", $r = "_c_ppm7n_35", Nr = "_l_ppm7n_42", Br = "_a_ppm7n_57", Ir = "_n_ppm7n_62",
|
|
1925
|
+
), Pr = "_m_ppm7n_2", wr = "_g_ppm7n_10", Tr = "_i_ppm7n_18", $r = "_c_ppm7n_35", Nr = "_l_ppm7n_42", Br = "_a_ppm7n_57", Ir = "_n_ppm7n_62", ke = {
|
|
1926
1926
|
m: Pr,
|
|
1927
1927
|
g: wr,
|
|
1928
1928
|
i: Tr,
|
|
@@ -1936,27 +1936,27 @@ const Sr = () => {
|
|
|
1936
1936
|
}, a = (c) => {
|
|
1937
1937
|
Pe.openTelegramLink(c);
|
|
1938
1938
|
};
|
|
1939
|
-
return /* @__PURE__ */ i.jsx("div", { className:
|
|
1939
|
+
return /* @__PURE__ */ i.jsx("div", { className: ke.m, children: r.map((c) => /* @__PURE__ */ i.jsx("div", { className: ke.g, children: c.items.map((l, p) => /* @__PURE__ */ i.jsxs(
|
|
1940
1940
|
"div",
|
|
1941
1941
|
{
|
|
1942
|
-
className:
|
|
1942
|
+
className: ke.i,
|
|
1943
1943
|
onClick: () => {
|
|
1944
1944
|
l.link && a(l.link), l.page && n(l.page), l.callback && l.callback();
|
|
1945
1945
|
},
|
|
1946
1946
|
children: [
|
|
1947
|
-
/* @__PURE__ */ i.jsxs("div", { className:
|
|
1947
|
+
/* @__PURE__ */ i.jsxs("div", { className: ke.c, children: [
|
|
1948
1948
|
/* @__PURE__ */ i.jsx(
|
|
1949
1949
|
"span",
|
|
1950
1950
|
{
|
|
1951
|
-
className:
|
|
1951
|
+
className: ke.l,
|
|
1952
1952
|
style: { background: l.color },
|
|
1953
1953
|
children: l.icon
|
|
1954
1954
|
}
|
|
1955
1955
|
),
|
|
1956
1956
|
l.title,
|
|
1957
|
-
l.count && /* @__PURE__ */ i.jsx("span", { className:
|
|
1957
|
+
l.count && /* @__PURE__ */ i.jsx("span", { className: ke.n, children: l.count })
|
|
1958
1958
|
] }),
|
|
1959
|
-
/* @__PURE__ */ i.jsx("span", { className:
|
|
1959
|
+
/* @__PURE__ */ i.jsx("span", { className: ke.a, children: "›" })
|
|
1960
1960
|
]
|
|
1961
1961
|
},
|
|
1962
1962
|
p
|
|
@@ -1978,15 +1978,15 @@ function qr({
|
|
|
1978
1978
|
title: c,
|
|
1979
1979
|
className: l,
|
|
1980
1980
|
view: p = "list",
|
|
1981
|
-
position:
|
|
1981
|
+
position: k = "left"
|
|
1982
1982
|
}) {
|
|
1983
1983
|
const [m, u] = J(!1), [R, h] = J(
|
|
1984
1984
|
null
|
|
1985
1985
|
);
|
|
1986
1986
|
fe(() => {
|
|
1987
|
-
let
|
|
1988
|
-
return
|
|
1989
|
-
|
|
1987
|
+
let y = document.querySelector(".p_sb");
|
|
1988
|
+
return y || (y = document.createElement("div"), y.className = "_p_sb", document.body.appendChild(y)), h(y), () => {
|
|
1989
|
+
y && y.parentNode && y.parentNode.removeChild(y);
|
|
1990
1990
|
};
|
|
1991
1991
|
}, []);
|
|
1992
1992
|
const b = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -1996,7 +1996,7 @@ function qr({
|
|
|
1996
1996
|
{
|
|
1997
1997
|
className: we(
|
|
1998
1998
|
le.m,
|
|
1999
|
-
|
|
1999
|
+
k === "left" ? le.l : le.r,
|
|
2000
2000
|
m && le.x,
|
|
2001
2001
|
l
|
|
2002
2002
|
),
|
|
@@ -2052,7 +2052,7 @@ const rr = ({
|
|
|
2052
2052
|
className: l,
|
|
2053
2053
|
onOpen: p
|
|
2054
2054
|
}) => {
|
|
2055
|
-
const [
|
|
2055
|
+
const [k, m] = F.useState(!1);
|
|
2056
2056
|
return ot = () => {
|
|
2057
2057
|
m(!0), setTimeout(() => {
|
|
2058
2058
|
var u;
|
|
@@ -2061,12 +2061,12 @@ const rr = ({
|
|
|
2061
2061
|
}, /* @__PURE__ */ i.jsx(
|
|
2062
2062
|
"div",
|
|
2063
2063
|
{
|
|
2064
|
-
className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${
|
|
2064
|
+
className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${k ? "closing" : ""} `,
|
|
2065
2065
|
onClick: ot,
|
|
2066
2066
|
children: /* @__PURE__ */ i.jsxs(
|
|
2067
2067
|
"div",
|
|
2068
2068
|
{
|
|
2069
|
-
className: `footer-menu-popup-book ${
|
|
2069
|
+
className: `footer-menu-popup-book ${k ? "closing" : ""} ${l || ""} ${c ? "footer" : ""}`,
|
|
2070
2070
|
onClick: (u) => u.stopPropagation(),
|
|
2071
2071
|
children: [
|
|
2072
2072
|
/* @__PURE__ */ i.jsxs("div", { className: "footer-menu-header", children: [
|
|
@@ -2098,7 +2098,7 @@ const rr = ({
|
|
|
2098
2098
|
toHide: c = !1,
|
|
2099
2099
|
page: l,
|
|
2100
2100
|
onPageChange: p,
|
|
2101
|
-
direction:
|
|
2101
|
+
direction: k = "row"
|
|
2102
2102
|
}) => {
|
|
2103
2103
|
const [m, u] = F.useState(null), [R, h] = F.useState(
|
|
2104
2104
|
l ? Jt(r || [], l) : 0
|
|
@@ -2108,7 +2108,7 @@ const rr = ({
|
|
|
2108
2108
|
}, fe(() => {
|
|
2109
2109
|
if (!c)
|
|
2110
2110
|
return;
|
|
2111
|
-
const b = document.querySelectorAll("[contenteditable]"),
|
|
2111
|
+
const b = document.querySelectorAll("[contenteditable]"), y = () => {
|
|
2112
2112
|
const P = document.querySelector("footer");
|
|
2113
2113
|
P && (P.style.display = "flex");
|
|
2114
2114
|
}, T = () => {
|
|
@@ -2116,10 +2116,10 @@ const rr = ({
|
|
|
2116
2116
|
P && (P.style.display = "none");
|
|
2117
2117
|
};
|
|
2118
2118
|
return b.forEach((P) => {
|
|
2119
|
-
P.addEventListener("focus", T, !0), P.addEventListener("blur",
|
|
2119
|
+
P.addEventListener("focus", T, !0), P.addEventListener("blur", y, !0);
|
|
2120
2120
|
}), () => {
|
|
2121
2121
|
b.forEach((P) => {
|
|
2122
|
-
P.removeEventListener("focus", T, !0), P.removeEventListener("blur",
|
|
2122
|
+
P.removeEventListener("focus", T, !0), P.removeEventListener("blur", y, !0);
|
|
2123
2123
|
});
|
|
2124
2124
|
};
|
|
2125
2125
|
}, []), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -2127,22 +2127,22 @@ const rr = ({
|
|
|
2127
2127
|
/* @__PURE__ */ i.jsxs(
|
|
2128
2128
|
"footer",
|
|
2129
2129
|
{
|
|
2130
|
-
className: `${Mt.h} ${Mt[
|
|
2130
|
+
className: `${Mt.h} ${Mt[k]} ${a} `,
|
|
2131
2131
|
children: [
|
|
2132
2132
|
n,
|
|
2133
|
-
r && r.map((b,
|
|
2133
|
+
r && r.map((b, y) => /* @__PURE__ */ i.jsxs(
|
|
2134
2134
|
"div",
|
|
2135
2135
|
{
|
|
2136
|
-
"data-active": R ===
|
|
2136
|
+
"data-active": R === y ? "true" : "false",
|
|
2137
2137
|
onClick: () => {
|
|
2138
|
-
b.page && (h(
|
|
2138
|
+
b.page && (h(y), p == null || p(b.page)), b.callback && (b.callback(), h(y)), b.component && (R === y ? ot() : (u(b.component), h(y)));
|
|
2139
2139
|
},
|
|
2140
2140
|
children: [
|
|
2141
2141
|
b.icon,
|
|
2142
2142
|
b.badge && /* @__PURE__ */ i.jsx("div", { className: Mt.badge, children: b.badge })
|
|
2143
2143
|
]
|
|
2144
2144
|
},
|
|
2145
|
-
|
|
2145
|
+
y
|
|
2146
2146
|
))
|
|
2147
2147
|
]
|
|
2148
2148
|
}
|
|
@@ -2162,7 +2162,7 @@ function rn({
|
|
|
2162
2162
|
isScroll: l = !0,
|
|
2163
2163
|
nextBackButton: p
|
|
2164
2164
|
}) {
|
|
2165
|
-
const [
|
|
2165
|
+
const [k, m] = J(!1);
|
|
2166
2166
|
return fe(() => {
|
|
2167
2167
|
if (!c) return;
|
|
2168
2168
|
const u = p === void 0 ? dn().pop() : p, R = () => {
|
|
@@ -2189,7 +2189,7 @@ function rn({
|
|
|
2189
2189
|
{
|
|
2190
2190
|
className: we(
|
|
2191
2191
|
st.w,
|
|
2192
|
-
|
|
2192
|
+
k && st.v,
|
|
2193
2193
|
l && st.s
|
|
2194
2194
|
),
|
|
2195
2195
|
children: [
|
|
@@ -2202,7 +2202,7 @@ function rn({
|
|
|
2202
2202
|
const nn = (r, n) => {
|
|
2203
2203
|
var a, c;
|
|
2204
2204
|
n ? (a = Lt[r]) == null || a.onOpen() : (c = Lt[r]) == null || c.onClose();
|
|
2205
|
-
}, on = "
|
|
2205
|
+
}, on = "_s_1y3m3_3", an = "_n_1y3m3_14", Kt = {
|
|
2206
2206
|
s: on,
|
|
2207
2207
|
n: an
|
|
2208
2208
|
};
|
|
@@ -2214,14 +2214,14 @@ function sn({
|
|
|
2214
2214
|
isLoading: l,
|
|
2215
2215
|
isScrollBar: p = !1
|
|
2216
2216
|
}) {
|
|
2217
|
-
const [
|
|
2217
|
+
const [k, m] = J(l || !1);
|
|
2218
2218
|
fe(() => {
|
|
2219
2219
|
m(l || !1);
|
|
2220
2220
|
}, [l]);
|
|
2221
2221
|
let u = {
|
|
2222
2222
|
onScroll: (R) => {
|
|
2223
|
-
const { scrollTop: h, scrollHeight: b, clientHeight:
|
|
2224
|
-
h +
|
|
2223
|
+
const { scrollTop: h, scrollHeight: b, clientHeight: y } = R.currentTarget;
|
|
2224
|
+
h + y >= b - c && !k && (m(!0), a == null || a());
|
|
2225
2225
|
}
|
|
2226
2226
|
};
|
|
2227
2227
|
return /* @__PURE__ */ i.jsx(
|
|
@@ -2270,19 +2270,19 @@ var N;
|
|
|
2270
2270
|
}, r.Notice = {
|
|
2271
2271
|
Send: (n, a, c) => {
|
|
2272
2272
|
var l, p;
|
|
2273
|
-
a !== void 0 ? (
|
|
2273
|
+
a !== void 0 ? (xe.Send({ type: n, text: a, thema: c }), (l = r.WebApp.HapticFeedback) == null || l.notificationOccurred(n)) : (xe.Send(n), (p = r.WebApp.HapticFeedback) == null || p.notificationOccurred(n.type));
|
|
2274
2274
|
},
|
|
2275
2275
|
Error: (n) => {
|
|
2276
2276
|
var a;
|
|
2277
|
-
|
|
2277
|
+
xe.Send({ type: "error", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("error");
|
|
2278
2278
|
},
|
|
2279
2279
|
Success: (n) => {
|
|
2280
2280
|
var a;
|
|
2281
|
-
|
|
2281
|
+
xe.Send({ type: "success", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("success");
|
|
2282
2282
|
},
|
|
2283
2283
|
Warning: (n) => {
|
|
2284
2284
|
var a;
|
|
2285
|
-
|
|
2285
|
+
xe.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
|
|
2286
2286
|
}
|
|
2287
2287
|
}, r.Header = Sr, r.TabBar = Zr, r.BottomSheet = rr, r.toggleBottomSheet = ot, r.SafeArea = jr, r.Loading = Cr, r.Sidebar = qr, r.SidePanel = rn, r.AppBar = fn, r.SidePanelController = nn, r.Scroll = sn, r.Modal = Wt, r.Menu = Mr, r.MainButton = {
|
|
2288
2288
|
callback: [],
|
|
@@ -2302,13 +2302,13 @@ var N;
|
|
|
2302
2302
|
Ee.is ? Ee.BackButton.set(n) : (U.state.push(n), U.router(n));
|
|
2303
2303
|
};
|
|
2304
2304
|
})(N || (N = {}));
|
|
2305
|
-
const hn = N.TabBar,
|
|
2305
|
+
const hn = N.TabBar, yn = rr, Gt = N.BackButton, gn = N.BackButtonPrev, dn = N.BackButtonState, mn = N.Notice, bn = N.SafeArea, _n = N.Loading, Rn = N.Menu, Sn = N.SidePanel, kn = N.Scroll, xn = N.AppBar, En = N.Sidebar, jn = N.SidePanelController, { Header: On, toggleBottomSheet: An, Modal: Cn, MainButton: Pn, WebApp: Pe, getUser: wn } = N;
|
|
2306
2306
|
export {
|
|
2307
|
-
|
|
2307
|
+
xn as AppBar,
|
|
2308
2308
|
Gt as BackButton,
|
|
2309
|
-
|
|
2309
|
+
gn as BackButtonPrev,
|
|
2310
2310
|
dn as BackButtonState,
|
|
2311
|
-
|
|
2311
|
+
yn as BottomSheet,
|
|
2312
2312
|
On as Header,
|
|
2313
2313
|
_n as Loading,
|
|
2314
2314
|
Pn as MainButton,
|
|
@@ -2316,7 +2316,7 @@ export {
|
|
|
2316
2316
|
Cn as Modal,
|
|
2317
2317
|
mn as Notice,
|
|
2318
2318
|
bn as SafeArea,
|
|
2319
|
-
|
|
2319
|
+
kn as Scroll,
|
|
2320
2320
|
Sn as SidePanel,
|
|
2321
2321
|
jn as SidePanelController,
|
|
2322
2322
|
En as Sidebar,
|