@elcrm/telegram 0.0.149 → 0.0.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +485 -480
- package/dist/index.umd.js +13 -13
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import C, { useState as T, useEffect as W } from "react";
|
|
2
|
-
import { createPortal as
|
|
2
|
+
import { createPortal as pr } from "react-dom";
|
|
3
3
|
import './index.css';var qt = { exports: {} }, nt = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
@@ -11,15 +11,15 @@ import './index.css';var qt = { exports: {} }, nt = {};
|
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
var Ht;
|
|
14
|
-
function
|
|
14
|
+
function vr() {
|
|
15
15
|
if (Ht) return nt;
|
|
16
16
|
Ht = 1;
|
|
17
17
|
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
-
function d(p, f,
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
if (p && p.defaultProps) for (
|
|
18
|
+
function d(p, f, g) {
|
|
19
|
+
var h, b = {}, _ = null, A = null;
|
|
20
|
+
g !== void 0 && (_ = "" + g), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
|
|
21
|
+
for (h in f) s.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
|
|
22
|
+
if (p && p.defaultProps) for (h in f = p.defaultProps, f) b[h] === void 0 && (b[h] = f[h]);
|
|
23
23
|
return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: i.current };
|
|
24
24
|
}
|
|
25
25
|
return nt.Fragment = o, nt.jsx = d, nt.jsxs = d, nt;
|
|
@@ -35,13 +35,13 @@ var ot = {};
|
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
37
|
var Kt;
|
|
38
|
-
function
|
|
38
|
+
function hr() {
|
|
39
39
|
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"),
|
|
40
|
+
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), B = Symbol.iterator, ee = "@@iterator";
|
|
41
41
|
function Te(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var n = B && e[B] || e[
|
|
44
|
+
var n = B && e[B] || e[ee];
|
|
45
45
|
return typeof n == "function" ? n : null;
|
|
46
46
|
}
|
|
47
47
|
var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -49,10 +49,10 @@ function vr() {
|
|
|
49
49
|
{
|
|
50
50
|
for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
|
|
51
51
|
a[u - 1] = arguments[u];
|
|
52
|
-
|
|
52
|
+
Ae("error", e, a);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ae(e, n, a) {
|
|
56
56
|
{
|
|
57
57
|
var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
58
58
|
y !== "" && (n += "%s", a = a.concat([y]));
|
|
@@ -62,16 +62,16 @@ function vr() {
|
|
|
62
62
|
R.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, R);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var je = !1, te = !1, V = !1, ke = !1, we = !1, $;
|
|
66
66
|
$ = Symbol.for("react.module.reference");
|
|
67
67
|
function vt(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e === g || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
72
72
|
e.$$typeof === $ || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ht(e, n, a) {
|
|
75
75
|
var u = e.displayName;
|
|
76
76
|
if (u)
|
|
77
77
|
return u;
|
|
@@ -97,9 +97,9 @@ function vr() {
|
|
|
97
97
|
return "Profiler";
|
|
98
98
|
case i:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case h:
|
|
101
|
-
return "Suspense";
|
|
102
100
|
case g:
|
|
101
|
+
return "Suspense";
|
|
102
|
+
case h:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
@@ -111,7 +111,7 @@ function vr() {
|
|
|
111
111
|
var a = e;
|
|
112
112
|
return $e(a._context) + ".Provider";
|
|
113
113
|
case f:
|
|
114
|
-
return
|
|
114
|
+
return ht(e, e.render, "ForwardRef");
|
|
115
115
|
case b:
|
|
116
116
|
var u = e.displayName || null;
|
|
117
117
|
return u !== null ? u : N(e.type) || "Memo";
|
|
@@ -126,13 +126,13 @@ function vr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var I = Object.assign,
|
|
129
|
+
var I = Object.assign, J = 0, Ne, Me, Be, Ie, Le, De, Ue;
|
|
130
130
|
function Fe() {
|
|
131
131
|
}
|
|
132
132
|
Fe.__reactDisabledLog = !0;
|
|
133
|
-
function
|
|
133
|
+
function gt() {
|
|
134
134
|
{
|
|
135
|
-
if (
|
|
135
|
+
if (J === 0) {
|
|
136
136
|
Ne = console.log, Me = console.info, Be = console.warn, Ie = console.error, Le = console.group, De = console.groupCollapsed, Ue = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
@@ -150,12 +150,12 @@ function vr() {
|
|
|
150
150
|
groupEnd: e
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
J++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
function mt() {
|
|
157
157
|
{
|
|
158
|
-
if (
|
|
158
|
+
if (J--, J === 0) {
|
|
159
159
|
var e = {
|
|
160
160
|
configurable: !0,
|
|
161
161
|
enumerable: !0,
|
|
@@ -185,33 +185,33 @@ function vr() {
|
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
J < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
function
|
|
191
|
+
var ve = M.ReactCurrentDispatcher, he;
|
|
192
|
+
function re(e, n, a) {
|
|
193
193
|
{
|
|
194
|
-
if (
|
|
194
|
+
if (he === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
197
|
} catch (y) {
|
|
198
198
|
var u = y.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
-
|
|
199
|
+
he = u && u[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
|
-
` +
|
|
202
|
+
` + he + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var ge = !1,
|
|
205
|
+
var ge = !1, ne;
|
|
206
206
|
{
|
|
207
207
|
var bt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
-
|
|
208
|
+
ne = new bt();
|
|
209
209
|
}
|
|
210
210
|
function We(e, n) {
|
|
211
211
|
if (!e || ge)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
|
-
var a =
|
|
214
|
+
var a = ne.get(e);
|
|
215
215
|
if (a !== void 0)
|
|
216
216
|
return a;
|
|
217
217
|
}
|
|
@@ -220,7 +220,7 @@ function vr() {
|
|
|
220
220
|
var y = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var R;
|
|
223
|
-
R =
|
|
223
|
+
R = ve.current, ve.current = null, gt();
|
|
224
224
|
try {
|
|
225
225
|
if (n) {
|
|
226
226
|
var m = function() {
|
|
@@ -266,17 +266,17 @@ function vr() {
|
|
|
266
266
|
if (S--, E--, E < 0 || v[S] !== k[E]) {
|
|
267
267
|
var O = `
|
|
268
268
|
` + v[S].replace(" at new ", " at ");
|
|
269
|
-
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
269
|
+
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, O), O;
|
|
270
270
|
}
|
|
271
271
|
while (S >= 1 && E >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
ge = !1,
|
|
276
|
+
ge = !1, ve.current = R, mt(), Error.prepareStackTrace = y;
|
|
277
277
|
}
|
|
278
|
-
var Y = e ? e.displayName || e.name : "", L = Y ?
|
|
279
|
-
return typeof e == "function" &&
|
|
278
|
+
var Y = e ? e.displayName || e.name : "", L = Y ? re(Y) : "";
|
|
279
|
+
return typeof e == "function" && ne.set(e, L), L;
|
|
280
280
|
}
|
|
281
281
|
function yt(e, n, a) {
|
|
282
282
|
return We(e, !1);
|
|
@@ -285,46 +285,46 @@ function vr() {
|
|
|
285
285
|
var n = e.prototype;
|
|
286
286
|
return !!(n && n.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function oe(e, n, a) {
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
292
|
return We(e, _t(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
|
-
return
|
|
294
|
+
return re(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case h:
|
|
297
|
-
return ee("Suspense");
|
|
298
296
|
case g:
|
|
299
|
-
return
|
|
297
|
+
return re("Suspense");
|
|
298
|
+
case h:
|
|
299
|
+
return re("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case f:
|
|
304
304
|
return yt(e.render);
|
|
305
305
|
case b:
|
|
306
|
-
return
|
|
306
|
+
return oe(e.type, n, a);
|
|
307
307
|
case _: {
|
|
308
308
|
var u = e, y = u._payload, R = u._init;
|
|
309
309
|
try {
|
|
310
|
-
return
|
|
310
|
+
return oe(R(y), n, a);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
function
|
|
317
|
+
var H = Object.prototype.hasOwnProperty, qe = {}, Ye = M.ReactDebugCurrentFrame;
|
|
318
|
+
function ae(e) {
|
|
319
319
|
if (e) {
|
|
320
|
-
var n = e._owner, a =
|
|
320
|
+
var n = e._owner, a = oe(e.type, e._source, n ? n.type : null);
|
|
321
321
|
Ye.setExtraStackFrame(a);
|
|
322
322
|
} else
|
|
323
323
|
Ye.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
325
|
function Rt(e, n, a, u, y) {
|
|
326
326
|
{
|
|
327
|
-
var R = Function.call.bind(
|
|
327
|
+
var R = Function.call.bind(H);
|
|
328
328
|
for (var m in e)
|
|
329
329
|
if (R(e, m)) {
|
|
330
330
|
var v = void 0;
|
|
@@ -337,12 +337,12 @@ function vr() {
|
|
|
337
337
|
} catch (S) {
|
|
338
338
|
v = S;
|
|
339
339
|
}
|
|
340
|
-
v && !(v instanceof Error) && (
|
|
340
|
+
v && !(v instanceof Error) && (ae(y), x("%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).", u || "React class", a, m, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(y), x("Failed %s type: %s", a, v.message), ae(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
var St = Array.isArray;
|
|
345
|
-
function
|
|
345
|
+
function me(e) {
|
|
346
346
|
return St(e);
|
|
347
347
|
}
|
|
348
348
|
function Et(e) {
|
|
@@ -372,7 +372,7 @@ function vr() {
|
|
|
372
372
|
__source: !0
|
|
373
373
|
}, He, Ke;
|
|
374
374
|
function jt(e) {
|
|
375
|
-
if (
|
|
375
|
+
if (H.call(e, "ref")) {
|
|
376
376
|
var n = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (n && n.isReactWarning)
|
|
378
378
|
return !1;
|
|
@@ -380,7 +380,7 @@ function vr() {
|
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
382
|
function kt(e) {
|
|
383
|
-
if (
|
|
383
|
+
if (H.call(e, "key")) {
|
|
384
384
|
var n = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (n && n.isReactWarning)
|
|
386
386
|
return !1;
|
|
@@ -446,7 +446,7 @@ function vr() {
|
|
|
446
446
|
var R, m = {}, v = null, k = null;
|
|
447
447
|
a !== void 0 && (Ve(a), v = "" + a), kt(n) && (Ve(n.key), v = "" + n.key), jt(n) && (k = n.ref, wt(n, y));
|
|
448
448
|
for (R in n)
|
|
449
|
-
|
|
449
|
+
H.call(n, R) && !At.hasOwnProperty(R) && (m[R] = n[R]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var S = e.defaultProps;
|
|
452
452
|
for (R in S)
|
|
@@ -459,23 +459,23 @@ function vr() {
|
|
|
459
459
|
return Ct(e, v, k, y, u, Je.current, m);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var
|
|
462
|
+
var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
|
|
463
463
|
function q(e) {
|
|
464
464
|
if (e) {
|
|
465
|
-
var n = e._owner, a =
|
|
465
|
+
var n = e._owner, a = oe(e.type, e._source, n ? n.type : null);
|
|
466
466
|
Ge.setExtraStackFrame(a);
|
|
467
467
|
} else
|
|
468
468
|
Ge.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
|
|
472
|
-
function
|
|
470
|
+
var ye;
|
|
471
|
+
ye = !1;
|
|
472
|
+
function _e(e) {
|
|
473
473
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
474
474
|
}
|
|
475
475
|
function Xe() {
|
|
476
476
|
{
|
|
477
|
-
if (
|
|
478
|
-
var e = N(
|
|
477
|
+
if (be.current) {
|
|
478
|
+
var e = N(be.current.type);
|
|
479
479
|
if (e)
|
|
480
480
|
return `
|
|
481
481
|
|
|
@@ -510,25 +510,25 @@ Check the top-level render call using <` + a + ">.");
|
|
|
510
510
|
return;
|
|
511
511
|
Ze[a] = !0;
|
|
512
512
|
var u = "";
|
|
513
|
-
e && e._owner && e._owner !==
|
|
513
|
+
e && e._owner && e._owner !== be.current && (u = " It was passed a child from " + N(e._owner.type) + "."), q(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), q(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
function et(e, n) {
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
|
-
if (
|
|
520
|
+
if (me(e))
|
|
521
521
|
for (var a = 0; a < e.length; a++) {
|
|
522
522
|
var u = e[a];
|
|
523
|
-
|
|
523
|
+
_e(u) && Qe(u, n);
|
|
524
524
|
}
|
|
525
|
-
else if (
|
|
525
|
+
else if (_e(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
528
|
var y = Te(e);
|
|
529
529
|
if (typeof y == "function" && y !== e.entries)
|
|
530
530
|
for (var R = y.call(e), m; !(m = R.next()).done; )
|
|
531
|
-
|
|
531
|
+
_e(m.value) && Qe(m.value, n);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
@@ -549,8 +549,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
549
549
|
if (a) {
|
|
550
550
|
var u = N(n);
|
|
551
551
|
Rt(a, e.props, "prop", u, e);
|
|
552
|
-
} else if (n.PropTypes !== void 0 && !
|
|
553
|
-
|
|
552
|
+
} else if (n.PropTypes !== void 0 && !ye) {
|
|
553
|
+
ye = !0;
|
|
554
554
|
var y = N(n);
|
|
555
555
|
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
556
556
|
}
|
|
@@ -579,7 +579,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
579
579
|
var k = $t();
|
|
580
580
|
k ? v += k : v += Xe();
|
|
581
581
|
var S;
|
|
582
|
-
e === null ? S = "null" :
|
|
582
|
+
e === null ? S = "null" : me(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
|
|
583
583
|
}
|
|
584
584
|
var E = Tt(e, n, a, y, R);
|
|
585
585
|
if (E == null)
|
|
@@ -588,7 +588,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
588
588
|
var O = n.children;
|
|
589
589
|
if (O !== void 0)
|
|
590
590
|
if (u)
|
|
591
|
-
if (
|
|
591
|
+
if (me(O)) {
|
|
592
592
|
for (var Y = 0; Y < O.length; Y++)
|
|
593
593
|
et(O[Y], e);
|
|
594
594
|
Object.freeze && Object.freeze(O);
|
|
@@ -597,18 +597,18 @@ Check the top-level render call using <` + a + ">.");
|
|
|
597
597
|
else
|
|
598
598
|
et(O, e);
|
|
599
599
|
}
|
|
600
|
-
if (
|
|
600
|
+
if (H.call(n, "key")) {
|
|
601
601
|
var L = N(e), w = Object.keys(n).filter(function(Wt) {
|
|
602
602
|
return Wt !== "key";
|
|
603
|
-
}),
|
|
604
|
-
if (!tt[L +
|
|
603
|
+
}), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!tt[L + Re]) {
|
|
605
605
|
var Ft = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
|
|
606
606
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`,
|
|
611
|
+
<%s key={someKey} {...props} />`, Re, L, Ft, L), tt[L + Re] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
return e === s ? Bt(E) : Mt(E), E;
|
|
@@ -624,13 +624,13 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
ot.Fragment = s, ot.jsx = Dt, ot.jsxs = Ut;
|
|
625
625
|
}()), ot;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ? qt.exports =
|
|
627
|
+
process.env.NODE_ENV === "production" ? qt.exports = vr() : qt.exports = hr();
|
|
628
628
|
var l = qt.exports;
|
|
629
|
-
const gr = "_o_1apbm_11",
|
|
629
|
+
const gr = "_o_1apbm_11", mr = "_x_1apbm_24", br = "_p_1apbm_28", yr = "_m_1apbm_45", Oe = {
|
|
630
630
|
o: gr,
|
|
631
|
-
x:
|
|
632
|
-
p:
|
|
633
|
-
m:
|
|
631
|
+
x: mr,
|
|
632
|
+
p: br,
|
|
633
|
+
m: yr
|
|
634
634
|
};
|
|
635
635
|
let z = {};
|
|
636
636
|
var Yt;
|
|
@@ -638,26 +638,26 @@ var Yt;
|
|
|
638
638
|
function r({
|
|
639
639
|
children: p,
|
|
640
640
|
onCallbackModal: f,
|
|
641
|
-
nameModal:
|
|
642
|
-
offsetTop:
|
|
641
|
+
nameModal: g,
|
|
642
|
+
offsetTop: h
|
|
643
643
|
}) {
|
|
644
644
|
const [b, _] = T(!1), [A, B] = T(!1);
|
|
645
|
-
if (z[
|
|
645
|
+
if (z[g].onClose = () => {
|
|
646
646
|
P.BackButton(!1), B(!0), setTimeout(() => {
|
|
647
|
-
_(!1), B(!1), f == null || f(), z.x(
|
|
647
|
+
_(!1), B(!1), f == null || f(), z.x(g);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, W(() => {
|
|
650
|
-
b ? z[
|
|
651
|
-
callback: () => z[
|
|
650
|
+
b ? z[g].onClose() : (P.BackButton({
|
|
651
|
+
callback: () => z[g].onClose()
|
|
652
652
|
}), _(!0));
|
|
653
653
|
}, []), !!b)
|
|
654
|
-
return /* @__PURE__ */ l.jsx("div", { className:
|
|
654
|
+
return /* @__PURE__ */ l.jsx("div", { className: Q(Oe.o, A && Oe.x), children: /* @__PURE__ */ l.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
|
-
className:
|
|
657
|
+
className: Q(
|
|
658
658
|
Oe.p,
|
|
659
659
|
A && Oe.x,
|
|
660
|
-
|
|
660
|
+
h ? Oe.o : Oe.m
|
|
661
661
|
),
|
|
662
662
|
children: p
|
|
663
663
|
}
|
|
@@ -667,24 +667,24 @@ var Yt;
|
|
|
667
667
|
function o({
|
|
668
668
|
import_modules: p
|
|
669
669
|
}) {
|
|
670
|
-
let [f,
|
|
671
|
-
return z.x = (
|
|
672
|
-
h
|
|
670
|
+
let [f, g] = T([]);
|
|
671
|
+
return z.x = (h) => {
|
|
672
|
+
g(h ? f.filter((b) => b.key !== h) : []);
|
|
673
673
|
}, W(() => {
|
|
674
674
|
p && (z.i = p);
|
|
675
|
-
}, []), z.add = (
|
|
676
|
-
|
|
677
|
-
}, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((
|
|
675
|
+
}, []), z.add = (h, b = Date.now()) => {
|
|
676
|
+
g([...f, { key: b, item: h }]);
|
|
677
|
+
}, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((h) => h.item) });
|
|
678
678
|
}
|
|
679
679
|
t.Init = o;
|
|
680
|
-
function s(p, f,
|
|
680
|
+
function s(p, f, g) {
|
|
681
681
|
z.add(
|
|
682
682
|
/* @__PURE__ */ l.jsx(
|
|
683
683
|
r,
|
|
684
684
|
{
|
|
685
685
|
onCallbackModal: z["callback_modal" + f],
|
|
686
686
|
nameModal: f || "",
|
|
687
|
-
offsetTop:
|
|
687
|
+
offsetTop: g,
|
|
688
688
|
children: p
|
|
689
689
|
},
|
|
690
690
|
String(Date.now())
|
|
@@ -693,7 +693,7 @@ var Yt;
|
|
|
693
693
|
);
|
|
694
694
|
}
|
|
695
695
|
t.Add = s;
|
|
696
|
-
function i(p, f = Date.now().toString(),
|
|
696
|
+
function i(p, f = Date.now().toString(), g) {
|
|
697
697
|
return z[f] = {}, {
|
|
698
698
|
Open: (_) => {
|
|
699
699
|
t.Add(
|
|
@@ -710,7 +710,7 @@ var Yt;
|
|
|
710
710
|
(/* @__PURE__ */ new Date()).getTime()
|
|
711
711
|
),
|
|
712
712
|
f,
|
|
713
|
-
|
|
713
|
+
g === void 0 ? !0 : g
|
|
714
714
|
);
|
|
715
715
|
}
|
|
716
716
|
};
|
|
@@ -720,28 +720,28 @@ var Yt;
|
|
|
720
720
|
z[p].onClose();
|
|
721
721
|
}
|
|
722
722
|
t.Close = c;
|
|
723
|
-
function d(p, f,
|
|
724
|
-
z.i && (
|
|
723
|
+
function d(p, f, g, h) {
|
|
724
|
+
z.i && (h && (g.callback = h), z.i(`${p}/modals/${f}.tsx`).then((b) => {
|
|
725
725
|
var _;
|
|
726
|
-
b.Open ? b.Open(
|
|
726
|
+
b.Open ? b.Open(g) : (_ = b.default) != null && _.Open ? b.default.Open(g) : b.default && b.default(g);
|
|
727
727
|
}));
|
|
728
728
|
}
|
|
729
729
|
t.Open = d;
|
|
730
730
|
})(Yt || (Yt = {}));
|
|
731
|
-
function
|
|
731
|
+
function or() {
|
|
732
732
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
733
733
|
}
|
|
734
|
-
const
|
|
734
|
+
const ar = {
|
|
735
735
|
key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
|
|
736
736
|
iterations: 7,
|
|
737
737
|
saltLength: 16
|
|
738
738
|
};
|
|
739
739
|
function Gt(t) {
|
|
740
|
-
const r =
|
|
741
|
-
r.CRYPTO_PARAMS ? r.CRYPTO_PARAMS = { ...r.CRYPTO_PARAMS, ...t } : r.CRYPTO_PARAMS = { ...
|
|
740
|
+
const r = or();
|
|
741
|
+
r.CRYPTO_PARAMS ? r.CRYPTO_PARAMS = { ...r.CRYPTO_PARAMS, ...t } : r.CRYPTO_PARAMS = { ...ar, ...t };
|
|
742
742
|
}
|
|
743
743
|
function ft() {
|
|
744
|
-
return
|
|
744
|
+
return or().CRYPTO_PARAMS || ar;
|
|
745
745
|
}
|
|
746
746
|
const dt = (t) => {
|
|
747
747
|
let r = 0;
|
|
@@ -756,7 +756,7 @@ const dt = (t) => {
|
|
|
756
756
|
o += i.toString(16).padStart(2, "0");
|
|
757
757
|
}
|
|
758
758
|
return o;
|
|
759
|
-
},
|
|
759
|
+
}, sr = (t, r) => {
|
|
760
760
|
let o = t + r;
|
|
761
761
|
for (let i = 0; i < ft().iterations; i++)
|
|
762
762
|
o = dt(o);
|
|
@@ -764,7 +764,7 @@ const dt = (t) => {
|
|
|
764
764
|
for (let i = 0; i < 32; i++)
|
|
765
765
|
s[i] = parseInt(o.substring(i * 2, i * 2 + 2), 16);
|
|
766
766
|
return s;
|
|
767
|
-
},
|
|
767
|
+
}, ir = (t, r) => {
|
|
768
768
|
const o = new Uint8Array(t.length), s = new Uint8Array(t.length);
|
|
769
769
|
let i = 0;
|
|
770
770
|
for (let c = 0; c < t.length; c++) {
|
|
@@ -774,33 +774,33 @@ const dt = (t) => {
|
|
|
774
774
|
for (let c = 0; c < t.length; c++)
|
|
775
775
|
o[c] = t[c] ^ s[c];
|
|
776
776
|
return o;
|
|
777
|
-
},
|
|
777
|
+
}, _r = (t) => new TextEncoder().encode(t), Rr = (t) => new TextDecoder().decode(t), Sr = (t) => {
|
|
778
778
|
let r = "";
|
|
779
779
|
for (let o = 0; o < t.length; o += 8192) {
|
|
780
780
|
const s = t.slice(o, Math.min(o + 8192, t.length));
|
|
781
781
|
r += String.fromCharCode.apply(null, Array.from(s));
|
|
782
782
|
}
|
|
783
783
|
return btoa(r);
|
|
784
|
-
},
|
|
784
|
+
}, Er = (t) => {
|
|
785
785
|
const r = atob(t), o = new Uint8Array(r.length);
|
|
786
786
|
for (let s = 0; s < r.length; s++)
|
|
787
787
|
o[s] = r.charCodeAt(s);
|
|
788
788
|
return o;
|
|
789
|
-
},
|
|
789
|
+
}, xr = (t) => {
|
|
790
790
|
try {
|
|
791
791
|
const r = dt(
|
|
792
792
|
Date.now().toString() + Math.random()
|
|
793
|
-
).substring(0, ft().saltLength * 2), o = dt(t + r).substring(0, 8), s =
|
|
793
|
+
).substring(0, ft().saltLength * 2), o = dt(t + r).substring(0, 8), s = sr(ft().key, r), i = _r(t), c = ir(i, s), d = Sr(c);
|
|
794
794
|
return `${r}.${d}.${o}`;
|
|
795
795
|
} catch {
|
|
796
796
|
throw new Error("Не удалось зашифровать данные");
|
|
797
797
|
}
|
|
798
|
-
},
|
|
798
|
+
}, Ar = (t) => {
|
|
799
799
|
try {
|
|
800
800
|
const r = t.split(".");
|
|
801
801
|
if (r.length !== 3)
|
|
802
802
|
throw new Error("Неверный формат зашифрованных данных");
|
|
803
|
-
const o = r[0], s = r[1], i = r[2], c =
|
|
803
|
+
const o = r[0], s = r[1], i = r[2], c = sr(ft().key, o), d = Er(s), p = ir(d, c), f = Rr(p);
|
|
804
804
|
if (dt(f + o).substring(
|
|
805
805
|
0,
|
|
806
806
|
8
|
|
@@ -811,14 +811,14 @@ const dt = (t) => {
|
|
|
811
811
|
return "";
|
|
812
812
|
}
|
|
813
813
|
};
|
|
814
|
-
var
|
|
814
|
+
var pe;
|
|
815
815
|
((t) => {
|
|
816
816
|
t.setKey = (r) => {
|
|
817
817
|
Gt({ key: r });
|
|
818
818
|
}, t.enCode = (r) => {
|
|
819
819
|
try {
|
|
820
820
|
const o = JSON.stringify(r);
|
|
821
|
-
return
|
|
821
|
+
return xr(o);
|
|
822
822
|
} catch {
|
|
823
823
|
throw new Error("Не удалось зашифровать объект");
|
|
824
824
|
}
|
|
@@ -826,7 +826,7 @@ var fe;
|
|
|
826
826
|
try {
|
|
827
827
|
if (!r || r.length < 10)
|
|
828
828
|
return !1;
|
|
829
|
-
const o =
|
|
829
|
+
const o = Ar(r);
|
|
830
830
|
return o && JSON.parse(o) || !1;
|
|
831
831
|
} catch {
|
|
832
832
|
return !1;
|
|
@@ -834,7 +834,7 @@ var fe;
|
|
|
834
834
|
}, t.setSecurityParams = (r, o) => {
|
|
835
835
|
Gt({ iterations: r, saltLength: o });
|
|
836
836
|
};
|
|
837
|
-
})(
|
|
837
|
+
})(pe || (pe = {}));
|
|
838
838
|
var at = {};
|
|
839
839
|
/**
|
|
840
840
|
* @license React
|
|
@@ -846,15 +846,15 @@ var at = {};
|
|
|
846
846
|
* LICENSE file in the root directory of this source tree.
|
|
847
847
|
*/
|
|
848
848
|
var Xt;
|
|
849
|
-
function
|
|
849
|
+
function jr() {
|
|
850
850
|
if (Xt) return at;
|
|
851
851
|
Xt = 1;
|
|
852
852
|
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
853
|
-
function d(p, f,
|
|
854
|
-
var
|
|
855
|
-
|
|
856
|
-
for (
|
|
857
|
-
if (p && p.defaultProps) for (
|
|
853
|
+
function d(p, f, g) {
|
|
854
|
+
var h, b = {}, _ = null, A = null;
|
|
855
|
+
g !== void 0 && (_ = "" + g), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
|
|
856
|
+
for (h in f) s.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
|
|
857
|
+
if (p && p.defaultProps) for (h in f = p.defaultProps, f) b[h] === void 0 && (b[h] = f[h]);
|
|
858
858
|
return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: i.current };
|
|
859
859
|
}
|
|
860
860
|
return at.Fragment = o, at.jsx = d, at.jsxs = d, at;
|
|
@@ -870,13 +870,13 @@ var st = {};
|
|
|
870
870
|
* LICENSE file in the root directory of this source tree.
|
|
871
871
|
*/
|
|
872
872
|
var Zt;
|
|
873
|
-
function
|
|
873
|
+
function kr() {
|
|
874
874
|
return Zt || (Zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
|
-
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"),
|
|
875
|
+
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), B = Symbol.iterator, ee = "@@iterator";
|
|
876
876
|
function Te(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
879
|
-
var n = B && e[B] || e[
|
|
879
|
+
var n = B && e[B] || e[ee];
|
|
880
880
|
return typeof n == "function" ? n : null;
|
|
881
881
|
}
|
|
882
882
|
var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -884,10 +884,10 @@ function jr() {
|
|
|
884
884
|
{
|
|
885
885
|
for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
|
|
886
886
|
a[u - 1] = arguments[u];
|
|
887
|
-
|
|
887
|
+
Ae("error", e, a);
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function Ae(e, n, a) {
|
|
891
891
|
{
|
|
892
892
|
var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
893
893
|
y !== "" && (n += "%s", a = a.concat([y]));
|
|
@@ -897,16 +897,16 @@ function jr() {
|
|
|
897
897
|
R.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, R);
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
|
-
var
|
|
900
|
+
var je = !1, te = !1, V = !1, ke = !1, we = !1, $;
|
|
901
901
|
$ = Symbol.for("react.module.reference");
|
|
902
902
|
function vt(e) {
|
|
903
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e ===
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e === g || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
|
|
904
904
|
// types supported by any Flight configuration anywhere since
|
|
905
905
|
// we don't know which Flight build this will end up being used
|
|
906
906
|
// with.
|
|
907
907
|
e.$$typeof === $ || e.getModuleId !== void 0));
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function ht(e, n, a) {
|
|
910
910
|
var u = e.displayName;
|
|
911
911
|
if (u)
|
|
912
912
|
return u;
|
|
@@ -932,9 +932,9 @@ function jr() {
|
|
|
932
932
|
return "Profiler";
|
|
933
933
|
case i:
|
|
934
934
|
return "StrictMode";
|
|
935
|
-
case h:
|
|
936
|
-
return "Suspense";
|
|
937
935
|
case g:
|
|
936
|
+
return "Suspense";
|
|
937
|
+
case h:
|
|
938
938
|
return "SuspenseList";
|
|
939
939
|
}
|
|
940
940
|
if (typeof e == "object")
|
|
@@ -946,7 +946,7 @@ function jr() {
|
|
|
946
946
|
var a = e;
|
|
947
947
|
return $e(a._context) + ".Provider";
|
|
948
948
|
case f:
|
|
949
|
-
return
|
|
949
|
+
return ht(e, e.render, "ForwardRef");
|
|
950
950
|
case b:
|
|
951
951
|
var u = e.displayName || null;
|
|
952
952
|
return u !== null ? u : N(e.type) || "Memo";
|
|
@@ -961,13 +961,13 @@ function jr() {
|
|
|
961
961
|
}
|
|
962
962
|
return null;
|
|
963
963
|
}
|
|
964
|
-
var I = Object.assign,
|
|
964
|
+
var I = Object.assign, J = 0, Ne, Me, Be, Ie, Le, De, Ue;
|
|
965
965
|
function Fe() {
|
|
966
966
|
}
|
|
967
967
|
Fe.__reactDisabledLog = !0;
|
|
968
|
-
function
|
|
968
|
+
function gt() {
|
|
969
969
|
{
|
|
970
|
-
if (
|
|
970
|
+
if (J === 0) {
|
|
971
971
|
Ne = console.log, Me = console.info, Be = console.warn, Ie = console.error, Le = console.group, De = console.groupCollapsed, Ue = console.groupEnd;
|
|
972
972
|
var e = {
|
|
973
973
|
configurable: !0,
|
|
@@ -985,12 +985,12 @@ function jr() {
|
|
|
985
985
|
groupEnd: e
|
|
986
986
|
});
|
|
987
987
|
}
|
|
988
|
-
|
|
988
|
+
J++;
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
function mt() {
|
|
992
992
|
{
|
|
993
|
-
if (
|
|
993
|
+
if (J--, J === 0) {
|
|
994
994
|
var e = {
|
|
995
995
|
configurable: !0,
|
|
996
996
|
enumerable: !0,
|
|
@@ -1020,33 +1020,33 @@ function jr() {
|
|
|
1020
1020
|
})
|
|
1021
1021
|
});
|
|
1022
1022
|
}
|
|
1023
|
-
|
|
1023
|
+
J < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
|
-
var
|
|
1027
|
-
function
|
|
1026
|
+
var ve = M.ReactCurrentDispatcher, he;
|
|
1027
|
+
function re(e, n, a) {
|
|
1028
1028
|
{
|
|
1029
|
-
if (
|
|
1029
|
+
if (he === void 0)
|
|
1030
1030
|
try {
|
|
1031
1031
|
throw Error();
|
|
1032
1032
|
} catch (y) {
|
|
1033
1033
|
var u = y.stack.trim().match(/\n( *(at )?)/);
|
|
1034
|
-
|
|
1034
|
+
he = u && u[1] || "";
|
|
1035
1035
|
}
|
|
1036
1036
|
return `
|
|
1037
|
-
` +
|
|
1037
|
+
` + he + e;
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
|
-
var ge = !1,
|
|
1040
|
+
var ge = !1, ne;
|
|
1041
1041
|
{
|
|
1042
1042
|
var bt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1043
|
-
|
|
1043
|
+
ne = new bt();
|
|
1044
1044
|
}
|
|
1045
1045
|
function We(e, n) {
|
|
1046
1046
|
if (!e || ge)
|
|
1047
1047
|
return "";
|
|
1048
1048
|
{
|
|
1049
|
-
var a =
|
|
1049
|
+
var a = ne.get(e);
|
|
1050
1050
|
if (a !== void 0)
|
|
1051
1051
|
return a;
|
|
1052
1052
|
}
|
|
@@ -1055,7 +1055,7 @@ function jr() {
|
|
|
1055
1055
|
var y = Error.prepareStackTrace;
|
|
1056
1056
|
Error.prepareStackTrace = void 0;
|
|
1057
1057
|
var R;
|
|
1058
|
-
R =
|
|
1058
|
+
R = ve.current, ve.current = null, gt();
|
|
1059
1059
|
try {
|
|
1060
1060
|
if (n) {
|
|
1061
1061
|
var m = function() {
|
|
@@ -1101,17 +1101,17 @@ function jr() {
|
|
|
1101
1101
|
if (S--, E--, E < 0 || v[S] !== k[E]) {
|
|
1102
1102
|
var O = `
|
|
1103
1103
|
` + v[S].replace(" at new ", " at ");
|
|
1104
|
-
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
1104
|
+
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, O), O;
|
|
1105
1105
|
}
|
|
1106
1106
|
while (S >= 1 && E >= 0);
|
|
1107
1107
|
break;
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
} finally {
|
|
1111
|
-
ge = !1,
|
|
1111
|
+
ge = !1, ve.current = R, mt(), Error.prepareStackTrace = y;
|
|
1112
1112
|
}
|
|
1113
|
-
var Y = e ? e.displayName || e.name : "", L = Y ?
|
|
1114
|
-
return typeof e == "function" &&
|
|
1113
|
+
var Y = e ? e.displayName || e.name : "", L = Y ? re(Y) : "";
|
|
1114
|
+
return typeof e == "function" && ne.set(e, L), L;
|
|
1115
1115
|
}
|
|
1116
1116
|
function yt(e, n, a) {
|
|
1117
1117
|
return We(e, !1);
|
|
@@ -1120,46 +1120,46 @@ function jr() {
|
|
|
1120
1120
|
var n = e.prototype;
|
|
1121
1121
|
return !!(n && n.isReactComponent);
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function oe(e, n, a) {
|
|
1124
1124
|
if (e == null)
|
|
1125
1125
|
return "";
|
|
1126
1126
|
if (typeof e == "function")
|
|
1127
1127
|
return We(e, _t(e));
|
|
1128
1128
|
if (typeof e == "string")
|
|
1129
|
-
return
|
|
1129
|
+
return re(e);
|
|
1130
1130
|
switch (e) {
|
|
1131
|
-
case h:
|
|
1132
|
-
return ee("Suspense");
|
|
1133
1131
|
case g:
|
|
1134
|
-
return
|
|
1132
|
+
return re("Suspense");
|
|
1133
|
+
case h:
|
|
1134
|
+
return re("SuspenseList");
|
|
1135
1135
|
}
|
|
1136
1136
|
if (typeof e == "object")
|
|
1137
1137
|
switch (e.$$typeof) {
|
|
1138
1138
|
case f:
|
|
1139
1139
|
return yt(e.render);
|
|
1140
1140
|
case b:
|
|
1141
|
-
return
|
|
1141
|
+
return oe(e.type, n, a);
|
|
1142
1142
|
case _: {
|
|
1143
1143
|
var u = e, y = u._payload, R = u._init;
|
|
1144
1144
|
try {
|
|
1145
|
-
return
|
|
1145
|
+
return oe(R(y), n, a);
|
|
1146
1146
|
} catch {
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
1150
|
return "";
|
|
1151
1151
|
}
|
|
1152
|
-
var
|
|
1153
|
-
function
|
|
1152
|
+
var H = Object.prototype.hasOwnProperty, qe = {}, Ye = M.ReactDebugCurrentFrame;
|
|
1153
|
+
function ae(e) {
|
|
1154
1154
|
if (e) {
|
|
1155
|
-
var n = e._owner, a =
|
|
1155
|
+
var n = e._owner, a = oe(e.type, e._source, n ? n.type : null);
|
|
1156
1156
|
Ye.setExtraStackFrame(a);
|
|
1157
1157
|
} else
|
|
1158
1158
|
Ye.setExtraStackFrame(null);
|
|
1159
1159
|
}
|
|
1160
1160
|
function Rt(e, n, a, u, y) {
|
|
1161
1161
|
{
|
|
1162
|
-
var R = Function.call.bind(
|
|
1162
|
+
var R = Function.call.bind(H);
|
|
1163
1163
|
for (var m in e)
|
|
1164
1164
|
if (R(e, m)) {
|
|
1165
1165
|
var v = void 0;
|
|
@@ -1172,12 +1172,12 @@ function jr() {
|
|
|
1172
1172
|
} catch (S) {
|
|
1173
1173
|
v = S;
|
|
1174
1174
|
}
|
|
1175
|
-
v && !(v instanceof Error) && (
|
|
1175
|
+
v && !(v instanceof Error) && (ae(y), x("%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).", u || "React class", a, m, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(y), x("Failed %s type: %s", a, v.message), ae(null));
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
1179
1179
|
var St = Array.isArray;
|
|
1180
|
-
function
|
|
1180
|
+
function me(e) {
|
|
1181
1181
|
return St(e);
|
|
1182
1182
|
}
|
|
1183
1183
|
function Et(e) {
|
|
@@ -1207,7 +1207,7 @@ function jr() {
|
|
|
1207
1207
|
__source: !0
|
|
1208
1208
|
}, He, Ke;
|
|
1209
1209
|
function jt(e) {
|
|
1210
|
-
if (
|
|
1210
|
+
if (H.call(e, "ref")) {
|
|
1211
1211
|
var n = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1212
1212
|
if (n && n.isReactWarning)
|
|
1213
1213
|
return !1;
|
|
@@ -1215,7 +1215,7 @@ function jr() {
|
|
|
1215
1215
|
return e.ref !== void 0;
|
|
1216
1216
|
}
|
|
1217
1217
|
function kt(e) {
|
|
1218
|
-
if (
|
|
1218
|
+
if (H.call(e, "key")) {
|
|
1219
1219
|
var n = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1220
1220
|
if (n && n.isReactWarning)
|
|
1221
1221
|
return !1;
|
|
@@ -1281,7 +1281,7 @@ function jr() {
|
|
|
1281
1281
|
var R, m = {}, v = null, k = null;
|
|
1282
1282
|
a !== void 0 && (Ve(a), v = "" + a), kt(n) && (Ve(n.key), v = "" + n.key), jt(n) && (k = n.ref, wt(n));
|
|
1283
1283
|
for (R in n)
|
|
1284
|
-
|
|
1284
|
+
H.call(n, R) && !At.hasOwnProperty(R) && (m[R] = n[R]);
|
|
1285
1285
|
if (e && e.defaultProps) {
|
|
1286
1286
|
var S = e.defaultProps;
|
|
1287
1287
|
for (R in S)
|
|
@@ -1294,23 +1294,23 @@ function jr() {
|
|
|
1294
1294
|
return Ct(e, v, k, y, u, Je.current, m);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
|
-
var
|
|
1297
|
+
var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
|
|
1298
1298
|
function q(e) {
|
|
1299
1299
|
if (e) {
|
|
1300
|
-
var n = e._owner, a =
|
|
1300
|
+
var n = e._owner, a = oe(e.type, e._source, n ? n.type : null);
|
|
1301
1301
|
Ge.setExtraStackFrame(a);
|
|
1302
1302
|
} else
|
|
1303
1303
|
Ge.setExtraStackFrame(null);
|
|
1304
1304
|
}
|
|
1305
|
-
var
|
|
1306
|
-
|
|
1307
|
-
function
|
|
1305
|
+
var ye;
|
|
1306
|
+
ye = !1;
|
|
1307
|
+
function _e(e) {
|
|
1308
1308
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
1309
1309
|
}
|
|
1310
1310
|
function Xe() {
|
|
1311
1311
|
{
|
|
1312
|
-
if (
|
|
1313
|
-
var e = N(
|
|
1312
|
+
if (be.current) {
|
|
1313
|
+
var e = N(be.current.type);
|
|
1314
1314
|
if (e)
|
|
1315
1315
|
return `
|
|
1316
1316
|
|
|
@@ -1345,25 +1345,25 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1345
1345
|
return;
|
|
1346
1346
|
Ze[a] = !0;
|
|
1347
1347
|
var u = "";
|
|
1348
|
-
e && e._owner && e._owner !==
|
|
1348
|
+
e && e._owner && e._owner !== be.current && (u = " It was passed a child from " + N(e._owner.type) + "."), q(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), q(null);
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
1351
|
function et(e, n) {
|
|
1352
1352
|
{
|
|
1353
1353
|
if (typeof e != "object")
|
|
1354
1354
|
return;
|
|
1355
|
-
if (
|
|
1355
|
+
if (me(e))
|
|
1356
1356
|
for (var a = 0; a < e.length; a++) {
|
|
1357
1357
|
var u = e[a];
|
|
1358
|
-
|
|
1358
|
+
_e(u) && Qe(u, n);
|
|
1359
1359
|
}
|
|
1360
|
-
else if (
|
|
1360
|
+
else if (_e(e))
|
|
1361
1361
|
e._store && (e._store.validated = !0);
|
|
1362
1362
|
else if (e) {
|
|
1363
1363
|
var y = Te(e);
|
|
1364
1364
|
if (typeof y == "function" && y !== e.entries)
|
|
1365
1365
|
for (var R = y.call(e), m; !(m = R.next()).done; )
|
|
1366
|
-
|
|
1366
|
+
_e(m.value) && Qe(m.value, n);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
@@ -1384,8 +1384,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1384
1384
|
if (a) {
|
|
1385
1385
|
var u = N(n);
|
|
1386
1386
|
Rt(a, e.props, "prop", u, e);
|
|
1387
|
-
} else if (n.PropTypes !== void 0 && !
|
|
1388
|
-
|
|
1387
|
+
} else if (n.PropTypes !== void 0 && !ye) {
|
|
1388
|
+
ye = !0;
|
|
1389
1389
|
var y = N(n);
|
|
1390
1390
|
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
1391
1391
|
}
|
|
@@ -1414,7 +1414,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1414
1414
|
var k = $t();
|
|
1415
1415
|
k ? v += k : v += Xe();
|
|
1416
1416
|
var S;
|
|
1417
|
-
e === null ? S = "null" :
|
|
1417
|
+
e === null ? S = "null" : me(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
|
|
1418
1418
|
}
|
|
1419
1419
|
var E = Tt(e, n, a, y, R);
|
|
1420
1420
|
if (E == null)
|
|
@@ -1423,7 +1423,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1423
1423
|
var O = n.children;
|
|
1424
1424
|
if (O !== void 0)
|
|
1425
1425
|
if (u)
|
|
1426
|
-
if (
|
|
1426
|
+
if (me(O)) {
|
|
1427
1427
|
for (var Y = 0; Y < O.length; Y++)
|
|
1428
1428
|
et(O[Y], e);
|
|
1429
1429
|
Object.freeze && Object.freeze(O);
|
|
@@ -1432,18 +1432,18 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1432
1432
|
else
|
|
1433
1433
|
et(O, e);
|
|
1434
1434
|
}
|
|
1435
|
-
if (
|
|
1435
|
+
if (H.call(n, "key")) {
|
|
1436
1436
|
var L = N(e), w = Object.keys(n).filter(function(Wt) {
|
|
1437
1437
|
return Wt !== "key";
|
|
1438
|
-
}),
|
|
1439
|
-
if (!tt[L +
|
|
1438
|
+
}), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1439
|
+
if (!tt[L + Re]) {
|
|
1440
1440
|
var Ft = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
|
|
1441
1441
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1442
1442
|
let props = %s;
|
|
1443
1443
|
<%s {...props} />
|
|
1444
1444
|
React keys must be passed directly to JSX without using spread:
|
|
1445
1445
|
let props = %s;
|
|
1446
|
-
<%s key={someKey} {...props} />`,
|
|
1446
|
+
<%s key={someKey} {...props} />`, Re, L, Ft, L), tt[L + Re] = !0;
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
1449
|
return e === s ? Bt(E) : Mt(E), E;
|
|
@@ -1459,12 +1459,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1459
1459
|
st.Fragment = s, st.jsx = Dt, st.jsxs = Ut;
|
|
1460
1460
|
}()), st;
|
|
1461
1461
|
}
|
|
1462
|
-
process.env.NODE_ENV === "production" ?
|
|
1463
|
-
const
|
|
1464
|
-
version:
|
|
1465
|
-
},
|
|
1462
|
+
process.env.NODE_ENV === "production" ? jr() : kr();
|
|
1463
|
+
const wr = "0.0.46", cr = {
|
|
1464
|
+
version: wr
|
|
1465
|
+
}, ce = {}, F = {
|
|
1466
1466
|
module: "",
|
|
1467
|
-
v:
|
|
1467
|
+
v: cr.version,
|
|
1468
1468
|
page: "Main",
|
|
1469
1469
|
auth: "Auth",
|
|
1470
1470
|
STORAGE: "f",
|
|
@@ -1482,14 +1482,14 @@ const kr = "0.0.46", ir = {
|
|
|
1482
1482
|
id: 0
|
|
1483
1483
|
}
|
|
1484
1484
|
};
|
|
1485
|
-
function
|
|
1485
|
+
function X() {
|
|
1486
1486
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1487
1487
|
}
|
|
1488
|
-
|
|
1489
|
-
Object.assign(
|
|
1490
|
-
function
|
|
1488
|
+
X().elcrm || (X().elcrm = {});
|
|
1489
|
+
Object.assign(X().elcrm, { router: cr.version });
|
|
1490
|
+
function Z(t) {
|
|
1491
1491
|
var r, o, s, i;
|
|
1492
|
-
const c =
|
|
1492
|
+
const c = X();
|
|
1493
1493
|
if (c.ROUTER_PARAMS) {
|
|
1494
1494
|
t.debug || c.ROUTER_PARAMS.debug;
|
|
1495
1495
|
const d = {
|
|
@@ -1515,19 +1515,19 @@ function X(t) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
1517
1517
|
function j() {
|
|
1518
|
-
return
|
|
1518
|
+
return X().ROUTER_PARAMS || F;
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1521
|
-
const r =
|
|
1520
|
+
function xe(t) {
|
|
1521
|
+
const r = X();
|
|
1522
1522
|
r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...F }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((o) => {
|
|
1523
1523
|
r.ROUTER_PARAMS.LISTENER[o] || (r.ROUTER_PARAMS.LISTENER[o] = []), Array.isArray(r.ROUTER_PARAMS.LISTENER[o]) || (r.ROUTER_PARAMS.LISTENER[o] = [
|
|
1524
1524
|
r.ROUTER_PARAMS.LISTENER[o]
|
|
1525
1525
|
]), r.ROUTER_PARAMS.LISTENER[o].includes(t[o]) || r.ROUTER_PARAMS.LISTENER[o].push(t[o]);
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function K() {
|
|
1529
1529
|
var t;
|
|
1530
|
-
const r =
|
|
1530
|
+
const r = X();
|
|
1531
1531
|
let o = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || F.LISTENER;
|
|
1532
1532
|
return o || (o = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = o : F.LISTENER = o), new Proxy(o, {
|
|
1533
1533
|
get(s, i) {
|
|
@@ -1575,7 +1575,7 @@ function zt(t) {
|
|
|
1575
1575
|
}
|
|
1576
1576
|
};
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1578
|
+
function Or(t) {
|
|
1579
1579
|
const { basePath: r = ".", modules: o, pages: s } = t || {};
|
|
1580
1580
|
return (i) => {
|
|
1581
1581
|
if (o) {
|
|
@@ -1604,18 +1604,18 @@ function wr(t) {
|
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
1606
|
function er(t = ".", r, o) {
|
|
1607
|
-
return r || o ?
|
|
1607
|
+
return r || o ? Or({
|
|
1608
1608
|
basePath: t,
|
|
1609
1609
|
modules: r,
|
|
1610
1610
|
pages: o
|
|
1611
1611
|
}) : zt({ basePath: t });
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function Pr() {
|
|
1614
1614
|
var t;
|
|
1615
1615
|
let r = sessionStorage.getItem("f");
|
|
1616
1616
|
if (r) {
|
|
1617
|
-
if (r =
|
|
1618
|
-
|
|
1617
|
+
if (r = pe.deCode(r), !r) return !1;
|
|
1618
|
+
Z({
|
|
1619
1619
|
id: r.id,
|
|
1620
1620
|
tab: r.tab,
|
|
1621
1621
|
page: r.page,
|
|
@@ -1625,7 +1625,7 @@ function Or() {
|
|
|
1625
1625
|
module_admin: r.module_admin
|
|
1626
1626
|
});
|
|
1627
1627
|
} else
|
|
1628
|
-
|
|
1628
|
+
Z({
|
|
1629
1629
|
id: 0,
|
|
1630
1630
|
tab: "",
|
|
1631
1631
|
page: (t = localStorage.getItem("d")) != null && t.length ? j().page : j().auth,
|
|
@@ -1633,81 +1633,81 @@ function Or() {
|
|
|
1633
1633
|
});
|
|
1634
1634
|
return !0;
|
|
1635
1635
|
}
|
|
1636
|
-
function
|
|
1636
|
+
function lr() {
|
|
1637
1637
|
return j().page;
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1639
|
+
function ur() {
|
|
1640
1640
|
return j().module || "";
|
|
1641
1641
|
}
|
|
1642
1642
|
function Jt() {
|
|
1643
1643
|
return j().tab;
|
|
1644
1644
|
}
|
|
1645
|
-
function
|
|
1645
|
+
function fr() {
|
|
1646
1646
|
return j().id;
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1649
|
-
let r = (i) => (
|
|
1648
|
+
function Cr(t) {
|
|
1649
|
+
let r = (i) => (Z({ page: i }), i);
|
|
1650
1650
|
const [o, s] = T(
|
|
1651
|
-
|
|
1651
|
+
lr() || t && r(t) || j().page
|
|
1652
1652
|
);
|
|
1653
1653
|
return W(() => {
|
|
1654
1654
|
const i = (c) => {
|
|
1655
1655
|
s(c);
|
|
1656
1656
|
};
|
|
1657
|
-
return
|
|
1657
|
+
return xe({ page: i }), () => {
|
|
1658
1658
|
var c, d;
|
|
1659
|
-
const p =
|
|
1659
|
+
const p = X();
|
|
1660
1660
|
if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.page) {
|
|
1661
1661
|
const f = p.ROUTER_PARAMS.LISTENER.page;
|
|
1662
1662
|
if (Array.isArray(f)) {
|
|
1663
|
-
const
|
|
1664
|
-
|
|
1663
|
+
const g = f.indexOf(i);
|
|
1664
|
+
g > -1 && f.splice(g, 1);
|
|
1665
1665
|
}
|
|
1666
1666
|
}
|
|
1667
1667
|
};
|
|
1668
1668
|
}, []), o;
|
|
1669
1669
|
}
|
|
1670
|
-
function
|
|
1671
|
-
|
|
1670
|
+
function Tr(t, r = !0, o = {}) {
|
|
1671
|
+
Z({ page: t, ...o }), sessionStorage.setItem(
|
|
1672
1672
|
j().STORAGE,
|
|
1673
|
-
|
|
1674
|
-
), r &&
|
|
1673
|
+
pe.enCode(j())
|
|
1674
|
+
), r && K().page(t);
|
|
1675
1675
|
}
|
|
1676
|
-
function
|
|
1676
|
+
function $r(t) {
|
|
1677
1677
|
return j().page === t;
|
|
1678
1678
|
}
|
|
1679
|
-
function
|
|
1679
|
+
function Nr() {
|
|
1680
1680
|
return j().prev;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1682
|
+
function Mr(t, r) {
|
|
1683
1683
|
const [o, s] = T(
|
|
1684
|
-
|
|
1684
|
+
ur() || t || j().module
|
|
1685
1685
|
);
|
|
1686
|
-
return W(() => (
|
|
1687
|
-
const i =
|
|
1686
|
+
return W(() => (xe({ module: s }), () => {
|
|
1687
|
+
const i = K();
|
|
1688
1688
|
i.module === s && delete i.module;
|
|
1689
1689
|
}), []), o;
|
|
1690
1690
|
}
|
|
1691
|
-
function
|
|
1692
|
-
|
|
1691
|
+
function Br(t, r = !0) {
|
|
1692
|
+
Z({ module: t }), sessionStorage.setItem(
|
|
1693
1693
|
j().STORAGE,
|
|
1694
|
-
|
|
1695
|
-
), r &&
|
|
1694
|
+
pe.enCode(j())
|
|
1695
|
+
), r && K().module(t);
|
|
1696
1696
|
}
|
|
1697
|
-
function
|
|
1697
|
+
function Ir(t) {
|
|
1698
1698
|
return j().module === t;
|
|
1699
1699
|
}
|
|
1700
|
-
function
|
|
1700
|
+
function Lr(t, r) {
|
|
1701
1701
|
if (typeof t != "function") {
|
|
1702
1702
|
const [o, s] = T(!r), [i, c] = T(t || Jt());
|
|
1703
|
-
return
|
|
1703
|
+
return xe({ tabs: c }), r && W(() => {
|
|
1704
1704
|
s(!0);
|
|
1705
1705
|
}, []), [i, o];
|
|
1706
1706
|
} else
|
|
1707
|
-
|
|
1707
|
+
xe({ tabs: t });
|
|
1708
1708
|
}
|
|
1709
|
-
function
|
|
1710
|
-
let r = (i) => (
|
|
1709
|
+
function Dr(t) {
|
|
1710
|
+
let r = (i) => (Z({ tab: i }), i);
|
|
1711
1711
|
const [o, s] = T(
|
|
1712
1712
|
Jt() || t && r(t) || j().tab
|
|
1713
1713
|
);
|
|
@@ -1715,44 +1715,44 @@ function Lr(t) {
|
|
|
1715
1715
|
const i = (c) => {
|
|
1716
1716
|
s(c);
|
|
1717
1717
|
};
|
|
1718
|
-
return
|
|
1718
|
+
return xe({ tabs: i }), () => {
|
|
1719
1719
|
var c, d;
|
|
1720
|
-
const p =
|
|
1720
|
+
const p = X();
|
|
1721
1721
|
if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.tabs) {
|
|
1722
1722
|
const f = p.ROUTER_PARAMS.LISTENER.tabs;
|
|
1723
1723
|
if (Array.isArray(f)) {
|
|
1724
|
-
const
|
|
1725
|
-
|
|
1724
|
+
const g = f.indexOf(i);
|
|
1725
|
+
g > -1 && f.splice(g, 1);
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
};
|
|
1729
1729
|
}, []), o;
|
|
1730
1730
|
}
|
|
1731
|
-
async function
|
|
1732
|
-
|
|
1731
|
+
async function Ur(t, r = !0) {
|
|
1732
|
+
Z({ tab: t }), sessionStorage.setItem(
|
|
1733
1733
|
j().STORAGE,
|
|
1734
|
-
|
|
1735
|
-
), r && (
|
|
1734
|
+
pe.enCode(j())
|
|
1735
|
+
), r && (K().tabs && K().tabs(t));
|
|
1736
1736
|
}
|
|
1737
|
-
function
|
|
1737
|
+
function Fr(t) {
|
|
1738
1738
|
return j().tab === t;
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1740
|
+
function Wr(t) {
|
|
1741
1741
|
if (typeof t != "function") {
|
|
1742
|
-
const [r, o] = T(t ||
|
|
1742
|
+
const [r, o] = T(t || fr());
|
|
1743
1743
|
return W(() => {
|
|
1744
1744
|
const s = (i) => {
|
|
1745
1745
|
o(i);
|
|
1746
1746
|
};
|
|
1747
|
-
return
|
|
1748
|
-
const i =
|
|
1747
|
+
return xe({ id: s }), () => {
|
|
1748
|
+
const i = K();
|
|
1749
1749
|
i.id === s && delete i.id;
|
|
1750
1750
|
};
|
|
1751
1751
|
}, []), r;
|
|
1752
1752
|
} else
|
|
1753
|
-
W(() => (
|
|
1753
|
+
W(() => (xe({ id: t }), () => {
|
|
1754
1754
|
var r, o;
|
|
1755
|
-
const s =
|
|
1755
|
+
const s = X();
|
|
1756
1756
|
if ((o = (r = s.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && o.id) {
|
|
1757
1757
|
const i = s.ROUTER_PARAMS.LISTENER.id;
|
|
1758
1758
|
if (Array.isArray(i)) {
|
|
@@ -1762,28 +1762,28 @@ function Fr(t) {
|
|
|
1762
1762
|
}
|
|
1763
1763
|
}), [t]);
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function qr(t) {
|
|
1766
1766
|
}
|
|
1767
|
-
async function
|
|
1768
|
-
|
|
1767
|
+
async function Yr(t, r = !0) {
|
|
1768
|
+
Z({ id: t }), sessionStorage.setItem(
|
|
1769
1769
|
j().STORAGE,
|
|
1770
|
-
|
|
1771
|
-
), r &&
|
|
1770
|
+
pe.enCode(j())
|
|
1771
|
+
), r && K().id(t);
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1773
|
+
function zr(t) {
|
|
1774
1774
|
return Number(j().id) === t;
|
|
1775
1775
|
}
|
|
1776
|
-
async function
|
|
1776
|
+
async function Vr(t) {
|
|
1777
1777
|
var r, o, s, i, c, d, p, f;
|
|
1778
|
-
const { page:
|
|
1779
|
-
|
|
1778
|
+
const { page: g, module: h, tab: b, id: _ } = t;
|
|
1779
|
+
g !== void 0 && (ce.page = g), h !== void 0 && (ce.module = h), b !== void 0 && (ce.tab = b), _ !== void 0 && (ce.id = _), Z({ ...ce }), _ !== void 0 && ((o = (r = K()).id) == null || o.call(r, _)), b !== void 0 && ((i = (s = K()).tabs) == null || i.call(s, b)), h !== void 0 && ((d = (c = K()).module) == null || d.call(c, h)), g !== void 0 && ((f = (p = K()).page) == null || f.call(p, g)), sessionStorage.setItem(
|
|
1780
1780
|
j().STORAGE,
|
|
1781
|
-
|
|
1781
|
+
pe.enCode(j())
|
|
1782
1782
|
);
|
|
1783
1783
|
}
|
|
1784
1784
|
const Ce = {
|
|
1785
1785
|
Reset() {
|
|
1786
|
-
|
|
1786
|
+
ce.id = 0, ce.tab = "", ce.page = j().page, ce.module = j().module;
|
|
1787
1787
|
},
|
|
1788
1788
|
Default({
|
|
1789
1789
|
module: t = j().module,
|
|
@@ -1797,59 +1797,59 @@ const Ce = {
|
|
|
1797
1797
|
glob: f
|
|
1798
1798
|
// Поддержка единого glob объекта для упрощения
|
|
1799
1799
|
}) {
|
|
1800
|
-
let
|
|
1801
|
-
f ? (
|
|
1800
|
+
let g = c, h = d, b = p;
|
|
1801
|
+
f ? (h = typeof d == "object" ? d : f, b = typeof p == "object" ? p : f) : (h = h || f, b = b || f), !g && (h || b) ? !f && (typeof h == "string" || typeof b == "string") ? g = zt({ basePath: i }) : g = er(
|
|
1802
1802
|
i,
|
|
1803
|
-
|
|
1803
|
+
h,
|
|
1804
1804
|
b
|
|
1805
|
-
) :
|
|
1805
|
+
) : g || (g = zt({ basePath: i })), Z({
|
|
1806
1806
|
page: r,
|
|
1807
1807
|
module: t,
|
|
1808
1808
|
auth: o,
|
|
1809
1809
|
debug: s,
|
|
1810
1810
|
dir: i,
|
|
1811
|
-
importModules:
|
|
1812
|
-
}),
|
|
1811
|
+
importModules: g
|
|
1812
|
+
}), Pr();
|
|
1813
1813
|
},
|
|
1814
1814
|
// Упрощенная функция для создания importModules
|
|
1815
1815
|
createImportModules: er,
|
|
1816
1816
|
getImportModules: () => j().importModules,
|
|
1817
1817
|
// Методы страниц
|
|
1818
|
-
usePage:
|
|
1819
|
-
setPage:
|
|
1820
|
-
getPage:
|
|
1821
|
-
isPage:
|
|
1822
|
-
getBack:
|
|
1818
|
+
usePage: Cr,
|
|
1819
|
+
setPage: Tr,
|
|
1820
|
+
getPage: lr,
|
|
1821
|
+
isPage: $r,
|
|
1822
|
+
getBack: Nr,
|
|
1823
1823
|
// Методы модулей
|
|
1824
|
-
useModule:
|
|
1825
|
-
setModule:
|
|
1826
|
-
getModule:
|
|
1827
|
-
isModule:
|
|
1824
|
+
useModule: Mr,
|
|
1825
|
+
setModule: Br,
|
|
1826
|
+
getModule: ur,
|
|
1827
|
+
isModule: Ir,
|
|
1828
1828
|
// Методы вкладок
|
|
1829
|
-
useTabs:
|
|
1830
|
-
useTab:
|
|
1831
|
-
setTabs:
|
|
1829
|
+
useTabs: Lr,
|
|
1830
|
+
useTab: Dr,
|
|
1831
|
+
setTabs: Ur,
|
|
1832
1832
|
getTabs: Jt,
|
|
1833
|
-
isTabs:
|
|
1833
|
+
isTabs: Fr,
|
|
1834
1834
|
// Методы ID
|
|
1835
|
-
useId:
|
|
1836
|
-
subId:
|
|
1837
|
-
setId:
|
|
1838
|
-
getId:
|
|
1839
|
-
isId:
|
|
1835
|
+
useId: Wr,
|
|
1836
|
+
subId: qr,
|
|
1837
|
+
setId: Yr,
|
|
1838
|
+
getId: fr,
|
|
1839
|
+
isId: zr,
|
|
1840
1840
|
// Навигация
|
|
1841
|
-
navigate:
|
|
1842
|
-
},
|
|
1843
|
-
n:
|
|
1844
|
-
i:
|
|
1845
|
-
t:
|
|
1846
|
-
e:
|
|
1847
|
-
s:
|
|
1848
|
-
w:
|
|
1849
|
-
h:
|
|
1841
|
+
navigate: Vr
|
|
1842
|
+
}, Jr = "_n_zlj3m_1", Hr = "_i_zlj3m_10", Kr = "_t_zlj3m_28", Gr = "_e_zlj3m_32", Xr = "_s_zlj3m_35", Zr = "_w_zlj3m_38", Qr = "_h_zlj3m_41", Se = {
|
|
1843
|
+
n: Jr,
|
|
1844
|
+
i: Hr,
|
|
1845
|
+
t: Kr,
|
|
1846
|
+
e: Gr,
|
|
1847
|
+
s: Xr,
|
|
1848
|
+
w: Zr,
|
|
1849
|
+
h: Qr
|
|
1850
1850
|
};
|
|
1851
1851
|
let pt = {};
|
|
1852
|
-
function
|
|
1852
|
+
function en() {
|
|
1853
1853
|
const [t, r] = C.useState([]);
|
|
1854
1854
|
return pt.set = (o) => {
|
|
1855
1855
|
r([...t, o]);
|
|
@@ -1857,13 +1857,13 @@ function Qr() {
|
|
|
1857
1857
|
t.forEach((s, i) => {
|
|
1858
1858
|
s.key === o && t.splice(i, 1);
|
|
1859
1859
|
}), r(t);
|
|
1860
|
-
}, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className:
|
|
1860
|
+
}, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: Se.n, children: t.map((o) => o.item) });
|
|
1861
1861
|
}
|
|
1862
|
-
function
|
|
1862
|
+
function tn(t) {
|
|
1863
1863
|
let r = (/* @__PURE__ */ new Date()).getTime();
|
|
1864
|
-
t.key = r, pt.set({ item: /* @__PURE__ */ l.jsx(
|
|
1864
|
+
t.key = r, pt.set({ item: /* @__PURE__ */ l.jsx(rn, { data: t }, r), key: r });
|
|
1865
1865
|
}
|
|
1866
|
-
function
|
|
1866
|
+
function rn(t) {
|
|
1867
1867
|
const r = t.data;
|
|
1868
1868
|
let [o] = C.useState("show"), [s, i] = C.useState(!1);
|
|
1869
1869
|
C.useEffect(() => {
|
|
@@ -1887,14 +1887,14 @@ function tn(t) {
|
|
|
1887
1887
|
break;
|
|
1888
1888
|
}
|
|
1889
1889
|
const d = {
|
|
1890
|
-
error:
|
|
1891
|
-
success:
|
|
1892
|
-
warning:
|
|
1890
|
+
error: Se.e,
|
|
1891
|
+
success: Se.s,
|
|
1892
|
+
warning: Se.w
|
|
1893
1893
|
};
|
|
1894
1894
|
return /* @__PURE__ */ l.jsx(l.Fragment, { children: s ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
|
|
1895
1895
|
"div",
|
|
1896
1896
|
{
|
|
1897
|
-
className:
|
|
1897
|
+
className: Se.i + d[r.type] + ` ${r.thema !== void 0 ? Se.h : ""}`,
|
|
1898
1898
|
"data-status": o,
|
|
1899
1899
|
children: [
|
|
1900
1900
|
/* @__PURE__ */ l.jsx(
|
|
@@ -1910,24 +1910,24 @@ function tn(t) {
|
|
|
1910
1910
|
children: c
|
|
1911
1911
|
}
|
|
1912
1912
|
),
|
|
1913
|
-
/* @__PURE__ */ l.jsx("span", { className:
|
|
1913
|
+
/* @__PURE__ */ l.jsx("span", { className: Se.t, children: r.text })
|
|
1914
1914
|
]
|
|
1915
1915
|
}
|
|
1916
1916
|
) });
|
|
1917
1917
|
}
|
|
1918
|
-
let
|
|
1919
|
-
Send:
|
|
1920
|
-
Init:
|
|
1918
|
+
let Ee = {
|
|
1919
|
+
Send: tn,
|
|
1920
|
+
Init: en
|
|
1921
1921
|
};
|
|
1922
|
-
const
|
|
1923
|
-
d:
|
|
1924
|
-
b:
|
|
1925
|
-
o:
|
|
1926
|
-
m:
|
|
1927
|
-
t:
|
|
1928
|
-
a:
|
|
1929
|
-
v:
|
|
1930
|
-
},
|
|
1922
|
+
const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_30", cn = "_t_1u25q_41", ln = "_a_1u25q_108", un = "_v_1u25q_118", ue = {
|
|
1923
|
+
d: nn,
|
|
1924
|
+
b: on,
|
|
1925
|
+
o: an,
|
|
1926
|
+
m: sn,
|
|
1927
|
+
t: cn,
|
|
1928
|
+
a: ln,
|
|
1929
|
+
v: un
|
|
1930
|
+
}, de = {
|
|
1931
1931
|
is: !1,
|
|
1932
1932
|
MainButton: {},
|
|
1933
1933
|
BackButton: {}
|
|
@@ -1979,10 +1979,10 @@ D.users = {
|
|
|
1979
1979
|
"--tg-theme-button-text-color": "#000000",
|
|
1980
1980
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1981
1981
|
};
|
|
1982
|
-
const
|
|
1982
|
+
const fn = () => {
|
|
1983
1983
|
if (location.hostname === "localhost") {
|
|
1984
|
-
let [t, r] = T(!1), [o, s] = T(!1), [i, c] = T("dark"), [d, p] = T(!1), [f,
|
|
1985
|
-
|
|
1984
|
+
let [t, r] = T(!1), [o, s] = T(!1), [i, c] = T("dark"), [d, p] = T(!1), [f, g] = T(!1);
|
|
1985
|
+
de.is = !0, de.MainButton.set = r, de.BackButton.set = s, W(() => {
|
|
1986
1986
|
var _;
|
|
1987
1987
|
D[i]["--tg-theme-bg-color-alpha"] = D[i]["--tg-theme-bg-color"] + "b3", D[i]["--tg-theme-secondary-bg-color-alpha"] = D[i]["--tg-theme-secondary-bg-color"] + "d3", D[i]["--tg-theme-bg-color-alpha-25"] = D[i]["--tg-theme-bg-color"] + "40", D[i]["--tg-theme-secondary-bg-color-alpha-25"] = D[i]["--tg-theme-secondary-bg-color"] + "40";
|
|
1988
1988
|
for (let A in D[i])
|
|
@@ -1990,15 +1990,15 @@ const un = () => {
|
|
|
1990
1990
|
A,
|
|
1991
1991
|
D[i][A]
|
|
1992
1992
|
);
|
|
1993
|
-
((_ =
|
|
1993
|
+
((_ = fe.safeAreaInset) == null ? void 0 : _.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
1994
1994
|
"--tg-safe-area-inset-bottom",
|
|
1995
1995
|
"16px"
|
|
1996
|
-
) :
|
|
1996
|
+
) : fe.safeAreaInset || document.documentElement.style.setProperty(
|
|
1997
1997
|
"--tg-safe-area-inset-bottom",
|
|
1998
1998
|
"16px"
|
|
1999
1999
|
);
|
|
2000
2000
|
}, []);
|
|
2001
|
-
let
|
|
2001
|
+
let h = (_) => {
|
|
2002
2002
|
for (let A in D[_])
|
|
2003
2003
|
document.documentElement.style.setProperty(A, D[_][A]), document.documentElement.setAttribute(
|
|
2004
2004
|
"data-color-scheme",
|
|
@@ -2006,32 +2006,32 @@ const un = () => {
|
|
|
2006
2006
|
);
|
|
2007
2007
|
c(_), p(!1);
|
|
2008
2008
|
}, b = () => {
|
|
2009
|
-
p(!1),
|
|
2009
|
+
p(!1), g(!0);
|
|
2010
2010
|
};
|
|
2011
2011
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2012
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2013
|
-
o === !1 ? /* @__PURE__ */ l.jsx("div", { className:
|
|
2012
|
+
/* @__PURE__ */ l.jsxs("div", { className: ue.d, children: [
|
|
2013
|
+
o === !1 ? /* @__PURE__ */ l.jsx("div", { className: ue.b, children: "Отмена" }) : /* @__PURE__ */ l.jsx(
|
|
2014
2014
|
"div",
|
|
2015
2015
|
{
|
|
2016
2016
|
onClick: () => {
|
|
2017
2017
|
var _;
|
|
2018
2018
|
o.page === void 0 ? (_ = o.callback) == null || _.call(o) : Ce.setPage(o.page);
|
|
2019
2019
|
},
|
|
2020
|
-
className:
|
|
2020
|
+
className: ue.b,
|
|
2021
2021
|
children: "Назад"
|
|
2022
2022
|
}
|
|
2023
2023
|
),
|
|
2024
2024
|
/* @__PURE__ */ l.jsx(
|
|
2025
2025
|
"div",
|
|
2026
2026
|
{
|
|
2027
|
-
className:
|
|
2027
|
+
className: ue.o,
|
|
2028
2028
|
onClick: () => p(!d),
|
|
2029
2029
|
children: "Меню"
|
|
2030
2030
|
}
|
|
2031
2031
|
)
|
|
2032
2032
|
] }),
|
|
2033
|
-
/* @__PURE__ */ l.jsx(
|
|
2034
|
-
t && /* @__PURE__ */ l.jsx("div", { className:
|
|
2033
|
+
/* @__PURE__ */ l.jsx(Ee.Init, {}),
|
|
2034
|
+
t && /* @__PURE__ */ l.jsx("div", { className: ue.m, children: /* @__PURE__ */ l.jsx(
|
|
2035
2035
|
"button",
|
|
2036
2036
|
{
|
|
2037
2037
|
onClick: () => {
|
|
@@ -2040,7 +2040,7 @@ const un = () => {
|
|
|
2040
2040
|
children: t.text
|
|
2041
2041
|
}
|
|
2042
2042
|
) }),
|
|
2043
|
-
d ? /* @__PURE__ */ l.jsxs("div", { className:
|
|
2043
|
+
d ? /* @__PURE__ */ l.jsxs("div", { className: ue.t, children: [
|
|
2044
2044
|
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
2045
2045
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: b, children: "Authorization" }) }),
|
|
2046
2046
|
/* @__PURE__ */ l.jsx("li", {})
|
|
@@ -2052,21 +2052,21 @@ const un = () => {
|
|
|
2052
2052
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2053
2053
|
"button",
|
|
2054
2054
|
{
|
|
2055
|
-
onClick: () =>
|
|
2055
|
+
onClick: () => h("dark"),
|
|
2056
2056
|
children: "Dark"
|
|
2057
2057
|
}
|
|
2058
2058
|
) }),
|
|
2059
2059
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2060
2060
|
"button",
|
|
2061
2061
|
{
|
|
2062
|
-
onClick: () =>
|
|
2062
|
+
onClick: () => h("light"),
|
|
2063
2063
|
children: "Light"
|
|
2064
2064
|
}
|
|
2065
2065
|
) }),
|
|
2066
2066
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2067
2067
|
"button",
|
|
2068
2068
|
{
|
|
2069
|
-
onClick: () =>
|
|
2069
|
+
onClick: () => h("users"),
|
|
2070
2070
|
children: "Users"
|
|
2071
2071
|
}
|
|
2072
2072
|
) })
|
|
@@ -2075,110 +2075,110 @@ const un = () => {
|
|
|
2075
2075
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!d), children: "Closed" }) })
|
|
2076
2076
|
] })
|
|
2077
2077
|
] }) : "",
|
|
2078
|
-
f ? /* @__PURE__ */ l.jsx(
|
|
2078
|
+
f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization: g }) : ""
|
|
2079
2079
|
] });
|
|
2080
2080
|
} else
|
|
2081
2081
|
return W(() => {
|
|
2082
2082
|
var t;
|
|
2083
2083
|
document.documentElement.style.setProperty(
|
|
2084
2084
|
"--tg-theme-secondary-bg-color-alpha",
|
|
2085
|
-
|
|
2085
|
+
fe.themeParams.secondary_bg_color + "d3"
|
|
2086
2086
|
), document.documentElement.style.setProperty(
|
|
2087
2087
|
"--tg-theme-bg-color-alpha",
|
|
2088
|
-
|
|
2089
|
-
), ((t =
|
|
2088
|
+
fe.themeParams.bg_color + "b3"
|
|
2089
|
+
), ((t = fe.safeAreaInset) == null ? void 0 : t.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
2090
2090
|
"--tg-safe-area-inset-bottom",
|
|
2091
2091
|
"16px"
|
|
2092
|
-
) :
|
|
2092
|
+
) : fe.safeAreaInset || document.documentElement.style.setProperty(
|
|
2093
2093
|
"--tg-safe-area-inset-bottom",
|
|
2094
2094
|
"16px"
|
|
2095
2095
|
);
|
|
2096
|
-
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(
|
|
2097
|
-
},
|
|
2096
|
+
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(Ee.Init, {}) });
|
|
2097
|
+
}, dn = ({ setAuthorization: t }) => {
|
|
2098
2098
|
let r = {}, o = () => {
|
|
2099
2099
|
localStorage.setItem("auth", r);
|
|
2100
2100
|
};
|
|
2101
|
-
return /* @__PURE__ */ l.jsx("div", { className:
|
|
2101
|
+
return /* @__PURE__ */ l.jsx("div", { className: ue.a, children: /* @__PURE__ */ l.jsxs("div", { className: ue.v, children: [
|
|
2102
2102
|
/* @__PURE__ */ l.jsx("fieldset", {}),
|
|
2103
2103
|
/* @__PURE__ */ l.jsx("div", { onClick: o, children: " Сохранить " })
|
|
2104
2104
|
] }) });
|
|
2105
|
-
},
|
|
2106
|
-
p:
|
|
2107
|
-
s:
|
|
2108
|
-
},
|
|
2105
|
+
}, pn = "_p_1axqy_1", vn = "_s_1axqy_17", tr = {
|
|
2106
|
+
p: pn,
|
|
2107
|
+
s: vn
|
|
2108
|
+
}, hn = ({ className: t, children: r, isScroll: o = !0 }) => /* @__PURE__ */ l.jsx(
|
|
2109
2109
|
"div",
|
|
2110
2110
|
{
|
|
2111
2111
|
className: [tr.p, o && tr.s, t].filter((s) => s !== void 0).join(" "),
|
|
2112
2112
|
children: r
|
|
2113
2113
|
}
|
|
2114
|
-
), gn = "_l_gfyud_1",
|
|
2114
|
+
), gn = "_l_gfyud_1", mn = {
|
|
2115
2115
|
l: gn
|
|
2116
|
-
},
|
|
2116
|
+
}, bn = ({ children: t, className: r }) => /* @__PURE__ */ l.jsx(
|
|
2117
2117
|
"div",
|
|
2118
2118
|
{
|
|
2119
|
-
className: [
|
|
2119
|
+
className: [mn.l, r].filter((o) => o !== void 0).join(" "),
|
|
2120
2120
|
children: t
|
|
2121
2121
|
}
|
|
2122
|
-
),
|
|
2123
|
-
q:
|
|
2124
|
-
m:
|
|
2125
|
-
g:
|
|
2126
|
-
i:
|
|
2127
|
-
c:
|
|
2128
|
-
l:
|
|
2129
|
-
a:
|
|
2130
|
-
n:
|
|
2131
|
-
},
|
|
2122
|
+
), yn = "_q_z5mg9_2", _n = "_m_z5mg9_8", Rn = "_g_z5mg9_15", Sn = "_i_z5mg9_23", En = "_c_z5mg9_40", xn = "_l_z5mg9_47", An = "_a_z5mg9_62", jn = "_n_z5mg9_68", le = {
|
|
2123
|
+
q: yn,
|
|
2124
|
+
m: _n,
|
|
2125
|
+
g: Rn,
|
|
2126
|
+
i: Sn,
|
|
2127
|
+
c: En,
|
|
2128
|
+
l: xn,
|
|
2129
|
+
a: An,
|
|
2130
|
+
n: jn
|
|
2131
|
+
}, kn = ({ items: t, style: r }) => {
|
|
2132
2132
|
const o = (i) => {
|
|
2133
2133
|
Ce.setPage(i);
|
|
2134
2134
|
}, s = (i) => {
|
|
2135
|
-
|
|
2135
|
+
fe.openTelegramLink(i);
|
|
2136
2136
|
};
|
|
2137
2137
|
return /* @__PURE__ */ l.jsx(
|
|
2138
2138
|
"div",
|
|
2139
2139
|
{
|
|
2140
|
-
className:
|
|
2141
|
-
|
|
2142
|
-
|
|
2140
|
+
className: Q(
|
|
2141
|
+
le[r === "liquid-glass" ? "q" : ""],
|
|
2142
|
+
le.m
|
|
2143
2143
|
),
|
|
2144
|
-
children: t.map((i) => /* @__PURE__ */ l.jsx("div", { className:
|
|
2144
|
+
children: t.map((i) => /* @__PURE__ */ l.jsx("div", { className: le.g, children: i.items.map((c, d) => /* @__PURE__ */ l.jsxs(
|
|
2145
2145
|
"div",
|
|
2146
2146
|
{
|
|
2147
|
-
className:
|
|
2147
|
+
className: le.i,
|
|
2148
2148
|
onClick: () => {
|
|
2149
2149
|
c.link && s(c.link), c.page && o(c.page), c.callback && c.callback();
|
|
2150
2150
|
},
|
|
2151
2151
|
children: [
|
|
2152
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2152
|
+
/* @__PURE__ */ l.jsxs("div", { className: le.c, children: [
|
|
2153
2153
|
/* @__PURE__ */ l.jsx(
|
|
2154
2154
|
"span",
|
|
2155
2155
|
{
|
|
2156
|
-
className:
|
|
2156
|
+
className: le.l,
|
|
2157
2157
|
style: { background: c.color },
|
|
2158
2158
|
children: c.icon
|
|
2159
2159
|
}
|
|
2160
2160
|
),
|
|
2161
2161
|
c.title,
|
|
2162
|
-
c.count && /* @__PURE__ */ l.jsx("span", { className:
|
|
2162
|
+
c.count && /* @__PURE__ */ l.jsx("span", { className: le.n, children: c.count })
|
|
2163
2163
|
] }),
|
|
2164
|
-
/* @__PURE__ */ l.jsx("span", { className:
|
|
2164
|
+
/* @__PURE__ */ l.jsx("span", { className: le.a, children: "›" })
|
|
2165
2165
|
]
|
|
2166
2166
|
},
|
|
2167
2167
|
d
|
|
2168
2168
|
)) }, i.id))
|
|
2169
2169
|
}
|
|
2170
2170
|
);
|
|
2171
|
-
},
|
|
2172
|
-
o:
|
|
2173
|
-
m:
|
|
2174
|
-
l:
|
|
2175
|
-
r:
|
|
2176
|
-
x:
|
|
2177
|
-
h:
|
|
2178
|
-
c:
|
|
2179
|
-
u:
|
|
2171
|
+
}, wn = "_o_8ho2f_3", On = "_m_8ho2f_14", Pn = "_l_8ho2f_28", Cn = "_r_8ho2f_33", Tn = "_x_8ho2f_38", $n = "_h_8ho2f_42", Nn = "_c_8ho2f_57", Mn = "_u_8ho2f_72", se = {
|
|
2172
|
+
o: wn,
|
|
2173
|
+
m: On,
|
|
2174
|
+
l: Pn,
|
|
2175
|
+
r: Cn,
|
|
2176
|
+
x: Tn,
|
|
2177
|
+
h: $n,
|
|
2178
|
+
c: Nn,
|
|
2179
|
+
u: Mn
|
|
2180
2180
|
}, ut = {};
|
|
2181
|
-
function
|
|
2181
|
+
function Bn({
|
|
2182
2182
|
children: t,
|
|
2183
2183
|
icon: r,
|
|
2184
2184
|
iconBadge: o = 0,
|
|
@@ -2188,33 +2188,33 @@ function Mn({
|
|
|
2188
2188
|
position: d = "left",
|
|
2189
2189
|
name: p = "default"
|
|
2190
2190
|
}) {
|
|
2191
|
-
const [f,
|
|
2191
|
+
const [f, g] = T(!1), [h, b] = T(
|
|
2192
2192
|
null
|
|
2193
2193
|
);
|
|
2194
2194
|
W(() => {
|
|
2195
2195
|
let A = document.querySelector(".p_sb");
|
|
2196
|
-
return A || (A = document.createElement("div"), A.className = "_p_sb", document.body.appendChild(A)), b(A), ut[p] = (B) =>
|
|
2196
|
+
return A || (A = document.createElement("div"), A.className = "_p_sb", document.body.appendChild(A)), b(A), ut[p] = (B) => g(B), () => {
|
|
2197
2197
|
A && A.parentNode && A.parentNode.removeChild(A);
|
|
2198
2198
|
};
|
|
2199
2199
|
}, []);
|
|
2200
2200
|
const _ = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2201
|
-
f && /* @__PURE__ */ l.jsx("div", { className:
|
|
2201
|
+
f && /* @__PURE__ */ l.jsx("div", { className: se.o, onClick: () => g(!1) }),
|
|
2202
2202
|
/* @__PURE__ */ l.jsxs(
|
|
2203
2203
|
"div",
|
|
2204
2204
|
{
|
|
2205
|
-
className:
|
|
2206
|
-
|
|
2207
|
-
d === "left" ?
|
|
2208
|
-
f &&
|
|
2205
|
+
className: Q(
|
|
2206
|
+
se.m,
|
|
2207
|
+
d === "left" ? se.l : se.r,
|
|
2208
|
+
f && se.x,
|
|
2209
2209
|
i
|
|
2210
2210
|
),
|
|
2211
2211
|
children: [
|
|
2212
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2213
|
-
s && /* @__PURE__ */ l.jsx("h3", { className:
|
|
2212
|
+
/* @__PURE__ */ l.jsxs("div", { className: se.h, children: [
|
|
2213
|
+
s && /* @__PURE__ */ l.jsx("h3", { className: se.t, children: s }),
|
|
2214
2214
|
/* @__PURE__ */ l.jsxs(
|
|
2215
2215
|
"svg",
|
|
2216
2216
|
{
|
|
2217
|
-
onClick: () =>
|
|
2217
|
+
onClick: () => g(!1),
|
|
2218
2218
|
fill: "none",
|
|
2219
2219
|
stroke: "currentColor",
|
|
2220
2220
|
strokeLinecap: "round",
|
|
@@ -2232,7 +2232,7 @@ function Mn({
|
|
|
2232
2232
|
}
|
|
2233
2233
|
)
|
|
2234
2234
|
] }),
|
|
2235
|
-
/* @__PURE__ */ l.jsx("div", { className:
|
|
2235
|
+
/* @__PURE__ */ l.jsx("div", { className: se.c, children: c === "list" ? /* @__PURE__ */ l.jsx("ul", { className: se.u, children: t }) : t })
|
|
2236
2236
|
]
|
|
2237
2237
|
}
|
|
2238
2238
|
)
|
|
@@ -2241,36 +2241,36 @@ function Mn({
|
|
|
2241
2241
|
r && /* @__PURE__ */ l.jsx(
|
|
2242
2242
|
"div",
|
|
2243
2243
|
{
|
|
2244
|
-
onClick: () =>
|
|
2244
|
+
onClick: () => g(!0),
|
|
2245
2245
|
className: "bage",
|
|
2246
2246
|
"data-count": o,
|
|
2247
2247
|
children: r
|
|
2248
2248
|
}
|
|
2249
2249
|
),
|
|
2250
|
-
|
|
2250
|
+
h && pr(_, h)
|
|
2251
2251
|
] });
|
|
2252
2252
|
}
|
|
2253
|
-
const
|
|
2253
|
+
const In = (t, r) => {
|
|
2254
2254
|
var o;
|
|
2255
2255
|
(o = ut[t]) == null || o.call(ut, r);
|
|
2256
|
-
},
|
|
2257
|
-
h:
|
|
2258
|
-
r:
|
|
2259
|
-
c:
|
|
2260
|
-
x:
|
|
2261
|
-
b:
|
|
2262
|
-
a:
|
|
2263
|
-
draw:
|
|
2264
|
-
scaleToggleVar:
|
|
2265
|
-
},
|
|
2266
|
-
b:
|
|
2267
|
-
},
|
|
2256
|
+
}, Ln = "_h_1l02r_2", Dn = "_r_1l02r_59", Un = "_c_1l02r_62", Fn = "_x_1l02r_65", Wn = "_b_1l02r_69", qn = "_a_1l02r_107", Yn = "_draw_1l02r_1", zn = "_scaleToggleVar_1l02r_1", Pe = {
|
|
2257
|
+
h: Ln,
|
|
2258
|
+
r: Dn,
|
|
2259
|
+
c: Un,
|
|
2260
|
+
x: Fn,
|
|
2261
|
+
b: Wn,
|
|
2262
|
+
a: qn,
|
|
2263
|
+
draw: Yn,
|
|
2264
|
+
scaleToggleVar: zn
|
|
2265
|
+
}, Vn = "_b_r6m8n_1", Jn = {
|
|
2266
|
+
b: Vn
|
|
2267
|
+
}, Hn = ({ className: t, value: r }) => /* @__PURE__ */ l.jsx(
|
|
2268
2268
|
"div",
|
|
2269
2269
|
{
|
|
2270
|
-
className: [
|
|
2270
|
+
className: [Jn.b, t].filter((o) => o !== void 0).join(" "),
|
|
2271
2271
|
children: r
|
|
2272
2272
|
}
|
|
2273
|
-
),
|
|
2273
|
+
), rr = (t, r) => t.findIndex((o) => (o == null ? void 0 : o.page) === r), Kn = ({
|
|
2274
2274
|
actions: t,
|
|
2275
2275
|
children: r,
|
|
2276
2276
|
className: o,
|
|
@@ -2281,36 +2281,41 @@ const Bn = (t, r) => {
|
|
|
2281
2281
|
onPageChange: p,
|
|
2282
2282
|
direction: f = "row"
|
|
2283
2283
|
}) => {
|
|
2284
|
-
const [
|
|
2285
|
-
c ?
|
|
2284
|
+
const [g, h] = C.useState(null), [b, _] = C.useState(
|
|
2285
|
+
c ? rr(t || [], c) : 0
|
|
2286
2286
|
), [A, B] = C.useState(
|
|
2287
2287
|
"right"
|
|
2288
|
-
),
|
|
2288
|
+
), ee = C.useRef(b);
|
|
2289
2289
|
C.useEffect(() => {
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2290
|
+
if (c) {
|
|
2291
|
+
const V = rr(t || [], c);
|
|
2292
|
+
V !== -1 && V !== ee.current && (ee.current = V, _(V));
|
|
2293
|
+
}
|
|
2294
|
+
}, [c, t]), C.useEffect(() => {
|
|
2295
|
+
ee.current !== b && (B(
|
|
2296
|
+
b > ee.current ? "left" : "right"
|
|
2297
|
+
), ee.current = b);
|
|
2293
2298
|
}, [b]), W(() => {
|
|
2294
2299
|
if (!i)
|
|
2295
2300
|
return;
|
|
2296
|
-
const
|
|
2301
|
+
const V = document.querySelectorAll("[contenteditable]"), ke = () => {
|
|
2297
2302
|
const $ = document.querySelector("footer");
|
|
2298
2303
|
$ && $.classList.remove(Pe.x);
|
|
2299
2304
|
}, we = () => {
|
|
2300
2305
|
const $ = document.querySelector("footer");
|
|
2301
2306
|
$ && $.classList.add(Pe.x);
|
|
2302
2307
|
};
|
|
2303
|
-
return
|
|
2308
|
+
return V.forEach(($) => {
|
|
2304
2309
|
$.addEventListener("focus", we, !0), $.addEventListener("blur", ke, !0);
|
|
2305
2310
|
}), () => {
|
|
2306
|
-
|
|
2311
|
+
V.forEach(($) => {
|
|
2307
2312
|
$.removeEventListener("focus", we, !0), $.removeEventListener("blur", ke, !0);
|
|
2308
2313
|
});
|
|
2309
2314
|
};
|
|
2310
2315
|
}, []);
|
|
2311
|
-
const [Te, M] = C.useState(!1), x = C.useRef(null),
|
|
2316
|
+
const [Te, M] = C.useState(!1), x = C.useRef(null), Ae = () => {
|
|
2312
2317
|
x.current && (clearTimeout(x.current), x.current = null), M(!0);
|
|
2313
|
-
},
|
|
2318
|
+
}, je = () => {
|
|
2314
2319
|
requestAnimationFrame(() => {
|
|
2315
2320
|
x.current = setTimeout(() => {
|
|
2316
2321
|
M(!1), x.current = null;
|
|
@@ -2320,17 +2325,17 @@ const Bn = (t, r) => {
|
|
|
2320
2325
|
C.useEffect(() => () => {
|
|
2321
2326
|
x.current && clearTimeout(x.current);
|
|
2322
2327
|
}, []);
|
|
2323
|
-
const
|
|
2324
|
-
return d === "liquid-glass" && (
|
|
2325
|
-
|
|
2328
|
+
const te = {};
|
|
2329
|
+
return d === "liquid-glass" && (te.onMouseDown = Ae, te.onMouseUp = je, te.onTouchStart = Ae, te.onTouchEnd = je), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2330
|
+
g,
|
|
2326
2331
|
/* @__PURE__ */ l.jsxs(
|
|
2327
2332
|
"footer",
|
|
2328
2333
|
{
|
|
2329
2334
|
"data-direction": A,
|
|
2330
2335
|
"data-style": d,
|
|
2331
2336
|
"data-scale": Te ? "true" : "false",
|
|
2332
|
-
...
|
|
2333
|
-
className:
|
|
2337
|
+
...te,
|
|
2338
|
+
className: Q(
|
|
2334
2339
|
Pe.h,
|
|
2335
2340
|
Pe[f === "row" ? "r" : "c"],
|
|
2336
2341
|
o
|
|
@@ -2344,7 +2349,7 @@ const Bn = (t, r) => {
|
|
|
2344
2349
|
activeIndex: b,
|
|
2345
2350
|
setActiveIndex: _,
|
|
2346
2351
|
onPageChange: p,
|
|
2347
|
-
setComponent:
|
|
2352
|
+
setComponent: h,
|
|
2348
2353
|
actual: s
|
|
2349
2354
|
}
|
|
2350
2355
|
)
|
|
@@ -2370,7 +2375,7 @@ const Bn = (t, r) => {
|
|
|
2370
2375
|
children: [
|
|
2371
2376
|
d.icon,
|
|
2372
2377
|
d.title && /* @__PURE__ */ l.jsx("span", { children: d.title }),
|
|
2373
|
-
d.badge && /* @__PURE__ */ l.jsx(
|
|
2378
|
+
d.badge && /* @__PURE__ */ l.jsx(Hn, { value: d.badge })
|
|
2374
2379
|
]
|
|
2375
2380
|
},
|
|
2376
2381
|
p
|
|
@@ -2402,29 +2407,29 @@ function to({
|
|
|
2402
2407
|
const [d, p] = T(!1);
|
|
2403
2408
|
return W(() => {
|
|
2404
2409
|
if (!s) return;
|
|
2405
|
-
const f = c === void 0 ? Eo().pop() : c,
|
|
2410
|
+
const f = c === void 0 ? Eo().pop() : c, g = () => {
|
|
2406
2411
|
p(!1), setTimeout(() => {
|
|
2407
|
-
|
|
2412
|
+
nr(f || !1), o == null || o();
|
|
2408
2413
|
}, 300);
|
|
2409
2414
|
};
|
|
2410
2415
|
Vt[r] = {
|
|
2411
|
-
onClose:
|
|
2416
|
+
onClose: g,
|
|
2412
2417
|
onOpen: () => {
|
|
2413
2418
|
p(!0);
|
|
2414
2419
|
}
|
|
2415
|
-
},
|
|
2416
|
-
callback:
|
|
2420
|
+
}, nr({
|
|
2421
|
+
callback: g
|
|
2417
2422
|
});
|
|
2418
|
-
const
|
|
2423
|
+
const h = setTimeout(() => {
|
|
2419
2424
|
p(!0);
|
|
2420
2425
|
}, 10);
|
|
2421
2426
|
return () => {
|
|
2422
|
-
clearTimeout(
|
|
2427
|
+
clearTimeout(h);
|
|
2423
2428
|
};
|
|
2424
2429
|
}, [s]), s ? /* @__PURE__ */ l.jsxs(
|
|
2425
2430
|
"div",
|
|
2426
2431
|
{
|
|
2427
|
-
className:
|
|
2432
|
+
className: Q(
|
|
2428
2433
|
it.w,
|
|
2429
2434
|
d && it.v,
|
|
2430
2435
|
i && it.s
|
|
@@ -2458,9 +2463,9 @@ function io({
|
|
|
2458
2463
|
W(() => {
|
|
2459
2464
|
f(i || !1);
|
|
2460
2465
|
}, [i]);
|
|
2461
|
-
let
|
|
2462
|
-
onScroll: (
|
|
2463
|
-
const { scrollTop: b, scrollHeight: _, clientHeight: A } =
|
|
2466
|
+
let g = {
|
|
2467
|
+
onScroll: (h) => {
|
|
2468
|
+
const { scrollTop: b, scrollHeight: _, clientHeight: A } = h.currentTarget;
|
|
2464
2469
|
b + A >= _ - s && !p && (f(!0), o == null || o());
|
|
2465
2470
|
}
|
|
2466
2471
|
};
|
|
@@ -2469,8 +2474,8 @@ function io({
|
|
|
2469
2474
|
/* @__PURE__ */ l.jsx(
|
|
2470
2475
|
"div",
|
|
2471
2476
|
{
|
|
2472
|
-
...
|
|
2473
|
-
className:
|
|
2477
|
+
...g,
|
|
2478
|
+
className: Q(
|
|
2474
2479
|
ct.s,
|
|
2475
2480
|
!d && ct.n,
|
|
2476
2481
|
c && ct.f,
|
|
@@ -2494,21 +2499,21 @@ function po({
|
|
|
2494
2499
|
title: s
|
|
2495
2500
|
}) {
|
|
2496
2501
|
let i = "";
|
|
2497
|
-
return o === "left" ? i = lt.l : o === "right" ? i = lt.r : o === "between" && (i = lt.b), /* @__PURE__ */ l.jsxs("div", { className:
|
|
2502
|
+
return o === "left" ? i = lt.l : o === "right" ? i = lt.r : o === "between" && (i = lt.b), /* @__PURE__ */ l.jsxs("div", { className: Q(lt.a, i, r), children: [
|
|
2498
2503
|
t,
|
|
2499
2504
|
s && /* @__PURE__ */ l.jsx("b", { children: s })
|
|
2500
2505
|
] });
|
|
2501
2506
|
}
|
|
2502
|
-
const vo = "_q_1wgf4_2",
|
|
2507
|
+
const vo = "_q_1wgf4_2", ho = "_o_1wgf4_11", go = "_x_1wgf4_25", mo = "_c_1wgf4_29", bo = "_p_1wgf4_34", yo = "_f_1wgf4_50", _o = "_h_1wgf4_58", Ro = "_b_1wgf4_75", ie = {
|
|
2503
2508
|
q: vo,
|
|
2504
|
-
o:
|
|
2505
|
-
x:
|
|
2509
|
+
o: ho,
|
|
2510
|
+
x: go,
|
|
2506
2511
|
c: mo,
|
|
2507
2512
|
p: bo,
|
|
2508
2513
|
f: yo,
|
|
2509
2514
|
h: _o,
|
|
2510
2515
|
b: Ro
|
|
2511
|
-
},
|
|
2516
|
+
}, G = {}, dr = ({
|
|
2512
2517
|
children: t,
|
|
2513
2518
|
title: r,
|
|
2514
2519
|
isOverlay: o = !0,
|
|
@@ -2518,46 +2523,46 @@ const vo = "_q_1wgf4_2", go = "_o_1wgf4_11", ho = "_x_1wgf4_25", mo = "_c_1wgf4_
|
|
|
2518
2523
|
style: d = "default",
|
|
2519
2524
|
onOpen: p
|
|
2520
2525
|
}) => {
|
|
2521
|
-
const [f,
|
|
2526
|
+
const [f, g] = C.useState(!1), [h, b] = C.useState(!1);
|
|
2522
2527
|
return C.useEffect(() => {
|
|
2523
|
-
|
|
2524
|
-
_ ? (b(!1),
|
|
2525
|
-
|
|
2528
|
+
G[c] = (_) => {
|
|
2529
|
+
_ ? (b(!1), g(!0), p == null || p(!0)) : (b(!0), p == null || p(!1), setTimeout(() => {
|
|
2530
|
+
g(!1), b(!1);
|
|
2526
2531
|
}, 300));
|
|
2527
2532
|
};
|
|
2528
|
-
}, [c, p]), !f && !
|
|
2533
|
+
}, [c, p]), !f && !h ? null : /* @__PURE__ */ l.jsx(
|
|
2529
2534
|
"div",
|
|
2530
2535
|
{
|
|
2531
|
-
className:
|
|
2532
|
-
d === "liquid-glass" &&
|
|
2533
|
-
|
|
2534
|
-
o &&
|
|
2535
|
-
|
|
2536
|
+
className: Q(
|
|
2537
|
+
d === "liquid-glass" && ie.q,
|
|
2538
|
+
ie.o,
|
|
2539
|
+
o && ie.x,
|
|
2540
|
+
h && ie.c
|
|
2536
2541
|
),
|
|
2537
2542
|
onClick: () => {
|
|
2538
2543
|
var _;
|
|
2539
|
-
return (_ =
|
|
2544
|
+
return (_ = G[c]) == null ? void 0 : _.call(G, !1);
|
|
2540
2545
|
},
|
|
2541
2546
|
children: /* @__PURE__ */ l.jsxs(
|
|
2542
2547
|
"div",
|
|
2543
2548
|
{
|
|
2544
|
-
className:
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
s &&
|
|
2549
|
+
className: Q(
|
|
2550
|
+
ie.p,
|
|
2551
|
+
h && ie.c,
|
|
2552
|
+
s && ie.f,
|
|
2548
2553
|
i
|
|
2549
2554
|
),
|
|
2550
2555
|
onClick: (_) => _.stopPropagation(),
|
|
2551
2556
|
children: [
|
|
2552
|
-
r && /* @__PURE__ */ l.jsxs("div", { className:
|
|
2557
|
+
r && /* @__PURE__ */ l.jsxs("div", { className: ie.h, children: [
|
|
2553
2558
|
/* @__PURE__ */ l.jsx("h3", { children: r }),
|
|
2554
2559
|
/* @__PURE__ */ l.jsx(
|
|
2555
2560
|
"button",
|
|
2556
2561
|
{
|
|
2557
|
-
className:
|
|
2562
|
+
className: ie.b,
|
|
2558
2563
|
onClick: () => {
|
|
2559
2564
|
var _;
|
|
2560
|
-
return (_ =
|
|
2565
|
+
return (_ = G[c]) == null ? void 0 : _.call(G, !1);
|
|
2561
2566
|
},
|
|
2562
2567
|
children: "✕"
|
|
2563
2568
|
}
|
|
@@ -2571,7 +2576,7 @@ const vo = "_q_1wgf4_2", go = "_o_1wgf4_11", ho = "_x_1wgf4_25", mo = "_c_1wgf4_
|
|
|
2571
2576
|
);
|
|
2572
2577
|
}, So = (t, r) => {
|
|
2573
2578
|
var o;
|
|
2574
|
-
(o =
|
|
2579
|
+
(o = G[t]) == null || o.call(G, r);
|
|
2575
2580
|
}, U = {
|
|
2576
2581
|
state: [!1],
|
|
2577
2582
|
listen: [],
|
|
@@ -2581,9 +2586,9 @@ const vo = "_q_1wgf4_2", go = "_o_1wgf4_11", ho = "_x_1wgf4_25", mo = "_c_1wgf4_
|
|
|
2581
2586
|
var o;
|
|
2582
2587
|
let r = U.state.pop();
|
|
2583
2588
|
U.prev = Ce.getPage(), r.page !== void 0 ? Ce.setPage(r.page) : (o = r.callback) == null || o.call(r);
|
|
2584
|
-
}),
|
|
2589
|
+
}), fe.BackButton.onClick(U.listen[0]));
|
|
2585
2590
|
}
|
|
2586
|
-
},
|
|
2591
|
+
}, Q = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
|
|
2587
2592
|
var P;
|
|
2588
2593
|
((t) => {
|
|
2589
2594
|
var r;
|
|
@@ -2591,7 +2596,7 @@ var P;
|
|
|
2591
2596
|
var o;
|
|
2592
2597
|
return ((o = t.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : t.WebApp.initDataUnsafe;
|
|
2593
2598
|
}, t.Location = (o) => {
|
|
2594
|
-
if (
|
|
2599
|
+
if (de.is)
|
|
2595
2600
|
return o({ latitude: 55.752555, longitude: 37.623123 });
|
|
2596
2601
|
let s = () => {
|
|
2597
2602
|
t.WebApp.LocationManager.getLocation(async (i) => {
|
|
@@ -2608,24 +2613,24 @@ var P;
|
|
|
2608
2613
|
}, t.Notice = {
|
|
2609
2614
|
Send: (o, s, i) => {
|
|
2610
2615
|
var c, d;
|
|
2611
|
-
s !== void 0 ? (
|
|
2616
|
+
s !== void 0 ? (Ee.Send({ type: o, text: s, thema: i }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(o)) : (Ee.Send(o), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(o.type));
|
|
2612
2617
|
},
|
|
2613
2618
|
Error: (o) => {
|
|
2614
2619
|
var s;
|
|
2615
|
-
|
|
2620
|
+
Ee.Send({ type: "error", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("error");
|
|
2616
2621
|
},
|
|
2617
2622
|
Success: (o) => {
|
|
2618
2623
|
var s;
|
|
2619
|
-
|
|
2624
|
+
Ee.Send({ type: "success", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("success");
|
|
2620
2625
|
},
|
|
2621
2626
|
Warning: (o) => {
|
|
2622
2627
|
var s;
|
|
2623
|
-
|
|
2628
|
+
Ee.Send({ type: "warning", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
|
|
2624
2629
|
}
|
|
2625
|
-
}, t.Header =
|
|
2630
|
+
}, t.Header = fn, t.TabBar = Kn, t.BottomSheet = dr, t.BottomSheetControllerSheet = So, t.SafeArea = hn, t.Loading = bn, t.Sidebar = Bn, t.SidePanel = to, t.AppBar = po, t.SideBarController = In, t.SidePanelController = ro, t.Scroll = io, t.Modal = Yt, t.Menu = kn, t.MainButton = {
|
|
2626
2631
|
callback: [],
|
|
2627
2632
|
set: (o) => {
|
|
2628
|
-
|
|
2633
|
+
de.is ? de.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((s) => {
|
|
2629
2634
|
t.WebApp.MainButton.offClick(s);
|
|
2630
2635
|
}), t.WebApp.MainButton.callback = [], typeof o == "boolean" ? t.WebApp.MainButton.isVisible = !1 : (t.WebApp.MainButton.text = o.text, o.color && (t.WebApp.MainButton.color = o.color), o.textColor && (t.WebApp.MainButton.textColor = o.textColor), t.WebApp.MainButton.isVisible = !0, t.WebApp.MainButton.isActive = o.isActive === void 0 ? !0 : o.isActive, t.WebApp.MainButton.callback.push(() => {
|
|
2631
2636
|
var s;
|
|
@@ -2637,13 +2642,13 @@ var P;
|
|
|
2637
2642
|
}, t.BackButtonPrev = () => {
|
|
2638
2643
|
U.prev && (0, t.BackButton)(U.prev);
|
|
2639
2644
|
}, t.BackButtonState = () => U.state, t.BackButton = (o) => {
|
|
2640
|
-
|
|
2645
|
+
de.is ? de.BackButton.set(o) : (U.state.push(o), U.router(o));
|
|
2641
2646
|
};
|
|
2642
2647
|
})(P || (P = {}));
|
|
2643
|
-
const jo = P.TabBar, ko =
|
|
2648
|
+
const jo = P.TabBar, ko = dr, nr = P.BackButton, wo = P.BackButtonPrev, Eo = P.BackButtonState, Oo = P.Notice, Po = P.SafeArea, Co = P.Loading, To = P.Menu, $o = P.SidePanel, No = P.Scroll, Mo = P.AppBar, Bo = P.Sidebar, Io = P.Location, Lo = P.SidePanelController, Do = P.SideBarController, Uo = P.BottomSheetControllerSheet, { Header: Fo, Modal: Wo, MainButton: qo, WebApp: fe, getUser: Yo } = P;
|
|
2644
2649
|
export {
|
|
2645
2650
|
Mo as AppBar,
|
|
2646
|
-
|
|
2651
|
+
nr as BackButton,
|
|
2647
2652
|
wo as BackButtonPrev,
|
|
2648
2653
|
Eo as BackButtonState,
|
|
2649
2654
|
ko as BottomSheet,
|
|
@@ -2662,8 +2667,8 @@ export {
|
|
|
2662
2667
|
Lo as SidePanelController,
|
|
2663
2668
|
Bo as Sidebar,
|
|
2664
2669
|
jo as TabBar,
|
|
2665
|
-
|
|
2666
|
-
|
|
2670
|
+
fe as WebApp,
|
|
2671
|
+
Q as clsx,
|
|
2667
2672
|
P as default,
|
|
2668
2673
|
Yo as getUser
|
|
2669
2674
|
};
|