@elcrm/telegram 0.0.149 → 0.0.151
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/Title/Title.d.ts +5 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +778 -756
- package/dist/index.umd.js +17 -17
- 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,18 +11,18 @@ 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
|
-
var t = C, r = Symbol.for("react.element"),
|
|
18
|
-
function d(p, f,
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
if (p && p.defaultProps) for (
|
|
17
|
+
var t = C, r = Symbol.for("react.element"), n = 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, 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
|
-
return nt.Fragment =
|
|
25
|
+
return nt.Fragment = n, nt.jsx = d, nt.jsxs = d, nt;
|
|
26
26
|
}
|
|
27
27
|
var ot = {};
|
|
28
28
|
/**
|
|
@@ -35,47 +35,47 @@ 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"),
|
|
40
|
+
var t = C, r = Symbol.for("react.element"), n = 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
|
|
45
|
-
return typeof
|
|
44
|
+
var o = B && e[B] || e[ee];
|
|
45
|
+
return typeof o == "function" ? o : null;
|
|
46
46
|
}
|
|
47
47
|
var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
48
|
function x(e) {
|
|
49
49
|
{
|
|
50
|
-
for (var
|
|
50
|
+
for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), u = 1; u < o; u++)
|
|
51
51
|
a[u - 1] = arguments[u];
|
|
52
|
-
|
|
52
|
+
Ae("error", e, a);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ae(e, o, a) {
|
|
56
56
|
{
|
|
57
57
|
var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
58
|
-
y !== "" && (
|
|
58
|
+
y !== "" && (o += "%s", a = a.concat([y]));
|
|
59
59
|
var R = a.map(function(m) {
|
|
60
60
|
return String(m);
|
|
61
61
|
});
|
|
62
|
-
R.unshift("Warning: " +
|
|
62
|
+
R.unshift("Warning: " + o), 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, o, a) {
|
|
75
75
|
var u = e.displayName;
|
|
76
76
|
if (u)
|
|
77
77
|
return u;
|
|
78
|
-
var y =
|
|
78
|
+
var y = o.displayName || o.name || "";
|
|
79
79
|
return y !== "" ? a + "(" + y + ")" : a;
|
|
80
80
|
}
|
|
81
81
|
function $e(e) {
|
|
@@ -91,27 +91,27 @@ function vr() {
|
|
|
91
91
|
switch (e) {
|
|
92
92
|
case s:
|
|
93
93
|
return "Fragment";
|
|
94
|
-
case
|
|
94
|
+
case n:
|
|
95
95
|
return "Portal";
|
|
96
96
|
case c:
|
|
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")
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
107
|
case p:
|
|
108
|
-
var
|
|
109
|
-
return $e(
|
|
108
|
+
var o = e;
|
|
109
|
+
return $e(o) + ".Consumer";
|
|
110
110
|
case d:
|
|
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, o, 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
|
-
function We(e,
|
|
210
|
+
function We(e, o) {
|
|
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,9 +220,9 @@ 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
|
-
if (
|
|
225
|
+
if (o) {
|
|
226
226
|
var m = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
@@ -264,67 +264,67 @@ function vr() {
|
|
|
264
264
|
if (S !== 1 || E !== 1)
|
|
265
265
|
do
|
|
266
266
|
if (S--, E--, E < 0 || v[S] !== k[E]) {
|
|
267
|
-
var
|
|
267
|
+
var P = `
|
|
268
268
|
` + v[S].replace(" at new ", " at ");
|
|
269
|
-
return e.displayName &&
|
|
269
|
+
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, P), P;
|
|
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
|
-
function yt(e,
|
|
281
|
+
function yt(e, o, a) {
|
|
282
282
|
return We(e, !1);
|
|
283
283
|
}
|
|
284
284
|
function _t(e) {
|
|
285
|
-
var
|
|
286
|
-
return !!(
|
|
285
|
+
var o = e.prototype;
|
|
286
|
+
return !!(o && o.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function oe(e, o, 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, o, 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), o, 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
|
|
320
|
+
var o = e._owner, a = oe(e.type, e._source, o ? o.type : null);
|
|
321
321
|
Ye.setExtraStackFrame(a);
|
|
322
322
|
} else
|
|
323
323
|
Ye.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function Rt(e,
|
|
325
|
+
function Rt(e, o, 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;
|
|
@@ -333,21 +333,21 @@ function vr() {
|
|
|
333
333
|
var k = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
334
|
throw k.name = "Invariant Violation", k;
|
|
335
335
|
}
|
|
336
|
-
v = e[m](
|
|
336
|
+
v = e[m](o, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
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) {
|
|
349
349
|
{
|
|
350
|
-
var
|
|
350
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, a = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return a;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
@@ -372,28 +372,28 @@ function vr() {
|
|
|
372
372
|
__source: !0
|
|
373
373
|
}, He, Ke;
|
|
374
374
|
function jt(e) {
|
|
375
|
-
if (
|
|
376
|
-
var
|
|
377
|
-
if (
|
|
375
|
+
if (H.call(e, "ref")) {
|
|
376
|
+
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
|
+
if (o && o.isReactWarning)
|
|
378
378
|
return !1;
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
382
|
function kt(e) {
|
|
383
|
-
if (
|
|
384
|
-
var
|
|
385
|
-
if (
|
|
383
|
+
if (H.call(e, "key")) {
|
|
384
|
+
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
|
+
if (o && o.isReactWarning)
|
|
386
386
|
return !1;
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function wt(e,
|
|
390
|
+
function wt(e, o) {
|
|
391
391
|
typeof e.ref == "string" && Je.current;
|
|
392
392
|
}
|
|
393
|
-
function Ot(e,
|
|
393
|
+
function Ot(e, o) {
|
|
394
394
|
{
|
|
395
395
|
var a = function() {
|
|
396
|
-
He || (He = !0, x("%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)",
|
|
396
|
+
He || (He = !0, x("%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)", o));
|
|
397
397
|
};
|
|
398
398
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
399
|
get: a,
|
|
@@ -401,10 +401,10 @@ function vr() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function Pt(e,
|
|
404
|
+
function Pt(e, o) {
|
|
405
405
|
{
|
|
406
406
|
var a = function() {
|
|
407
|
-
Ke || (Ke = !0, x("%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)",
|
|
407
|
+
Ke || (Ke = !0, x("%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)", o));
|
|
408
408
|
};
|
|
409
409
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
410
|
get: a,
|
|
@@ -412,13 +412,13 @@ function vr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var Ct = function(e,
|
|
415
|
+
var Ct = function(e, o, a, u, y, R, m) {
|
|
416
416
|
var v = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: r,
|
|
419
419
|
// Built-in properties that belong on the element
|
|
420
420
|
type: e,
|
|
421
|
-
key:
|
|
421
|
+
key: o,
|
|
422
422
|
ref: a,
|
|
423
423
|
props: m,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
@@ -441,12 +441,12 @@ function vr() {
|
|
|
441
441
|
value: y
|
|
442
442
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
443
443
|
};
|
|
444
|
-
function Tt(e,
|
|
444
|
+
function Tt(e, o, a, u, y) {
|
|
445
445
|
{
|
|
446
446
|
var R, m = {}, v = null, k = null;
|
|
447
|
-
a !== void 0 && (Ve(a), v = "" + a), kt(
|
|
448
|
-
for (R in
|
|
449
|
-
|
|
447
|
+
a !== void 0 && (Ve(a), v = "" + a), kt(o) && (Ve(o.key), v = "" + o.key), jt(o) && (k = o.ref, wt(o, y));
|
|
448
|
+
for (R in o)
|
|
449
|
+
H.call(o, R) && !At.hasOwnProperty(R) && (m[R] = o[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
|
|
465
|
+
var o = e._owner, a = oe(e.type, e._source, o ? o.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
|
|
|
@@ -490,77 +490,77 @@ Check the render method of \`` + e + "`.";
|
|
|
490
490
|
var Ze = {};
|
|
491
491
|
function Nt(e) {
|
|
492
492
|
{
|
|
493
|
-
var
|
|
494
|
-
if (!
|
|
493
|
+
var o = Xe();
|
|
494
|
+
if (!o) {
|
|
495
495
|
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
496
|
-
a && (
|
|
496
|
+
a && (o = `
|
|
497
497
|
|
|
498
498
|
Check the top-level render call using <` + a + ">.");
|
|
499
499
|
}
|
|
500
|
-
return
|
|
500
|
+
return o;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function Qe(e,
|
|
503
|
+
function Qe(e, o) {
|
|
504
504
|
{
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var a = Nt(
|
|
508
|
+
var a = Nt(o);
|
|
509
509
|
if (Ze[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
|
-
function et(e,
|
|
516
|
+
function et(e, o) {
|
|
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, o);
|
|
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, o);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
function Mt(e) {
|
|
536
536
|
{
|
|
537
|
-
var
|
|
538
|
-
if (
|
|
537
|
+
var o = e.type;
|
|
538
|
+
if (o == null || typeof o == "string")
|
|
539
539
|
return;
|
|
540
540
|
var a;
|
|
541
|
-
if (typeof
|
|
542
|
-
a =
|
|
543
|
-
else if (typeof
|
|
541
|
+
if (typeof o == "function")
|
|
542
|
+
a = o.propTypes;
|
|
543
|
+
else if (typeof o == "object" && (o.$$typeof === f || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
|
-
|
|
546
|
-
a =
|
|
545
|
+
o.$$typeof === b))
|
|
546
|
+
a = o.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
549
|
if (a) {
|
|
550
|
-
var u = N(
|
|
550
|
+
var u = N(o);
|
|
551
551
|
Rt(a, e.props, "prop", u, e);
|
|
552
|
-
} else if (
|
|
553
|
-
|
|
554
|
-
var y = N(
|
|
552
|
+
} else if (o.PropTypes !== void 0 && !ye) {
|
|
553
|
+
ye = !0;
|
|
554
|
+
var y = N(o);
|
|
555
555
|
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
556
556
|
}
|
|
557
|
-
typeof
|
|
557
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
function Bt(e) {
|
|
561
561
|
{
|
|
562
|
-
for (var
|
|
563
|
-
var u =
|
|
562
|
+
for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
|
|
563
|
+
var u = o[a];
|
|
564
564
|
if (u !== "children" && u !== "key") {
|
|
565
565
|
q(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
|
|
566
566
|
break;
|
|
@@ -570,7 +570,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
var tt = {};
|
|
573
|
-
function rt(e,
|
|
573
|
+
function rt(e, o, a, u, y, R) {
|
|
574
574
|
{
|
|
575
575
|
var m = vt(e);
|
|
576
576
|
if (!m) {
|
|
@@ -579,58 +579,58 @@ 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
|
-
var E = Tt(e,
|
|
584
|
+
var E = Tt(e, o, a, y, R);
|
|
585
585
|
if (E == null)
|
|
586
586
|
return E;
|
|
587
587
|
if (m) {
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
588
|
+
var P = o.children;
|
|
589
|
+
if (P !== void 0)
|
|
590
590
|
if (u)
|
|
591
|
-
if (
|
|
592
|
-
for (var Y = 0; Y <
|
|
593
|
-
et(
|
|
594
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (me(P)) {
|
|
592
|
+
for (var Y = 0; Y < P.length; Y++)
|
|
593
|
+
et(P[Y], e);
|
|
594
|
+
Object.freeze && Object.freeze(P);
|
|
595
595
|
} else
|
|
596
596
|
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
597
597
|
else
|
|
598
|
-
et(
|
|
598
|
+
et(P, e);
|
|
599
599
|
}
|
|
600
|
-
if (
|
|
601
|
-
var L = N(e), w = Object.keys(
|
|
600
|
+
if (H.call(o, "key")) {
|
|
601
|
+
var L = N(e), w = Object.keys(o).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;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function It(e,
|
|
618
|
-
return rt(e,
|
|
617
|
+
function It(e, o, a) {
|
|
618
|
+
return rt(e, o, a, !0);
|
|
619
619
|
}
|
|
620
|
-
function Lt(e,
|
|
621
|
-
return rt(e,
|
|
620
|
+
function Lt(e, o, a) {
|
|
621
|
+
return rt(e, o, a, !1);
|
|
622
622
|
}
|
|
623
623
|
var Dt = Lt, Ut = It;
|
|
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,53 +638,53 @@ 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[
|
|
646
|
-
|
|
647
|
-
_(!1), B(!1), f == null || f(), z.x(
|
|
645
|
+
if (z[g].onClose = () => {
|
|
646
|
+
O.BackButton(!1), B(!0), setTimeout(() => {
|
|
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() : (O.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: G(Oe.o, A && Oe.x), children: /* @__PURE__ */ l.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
|
-
className:
|
|
657
|
+
className: G(
|
|
658
658
|
Oe.p,
|
|
659
659
|
A && Oe.x,
|
|
660
|
-
|
|
660
|
+
h ? Oe.o : Oe.m
|
|
661
661
|
),
|
|
662
662
|
children: p
|
|
663
663
|
}
|
|
664
664
|
) });
|
|
665
665
|
}
|
|
666
666
|
t.Content = r;
|
|
667
|
-
function
|
|
667
|
+
function n({
|
|
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
|
-
t.Init =
|
|
680
|
-
function s(p, f,
|
|
679
|
+
t.Init = n;
|
|
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;
|
|
@@ -750,58 +750,58 @@ const dt = (t) => {
|
|
|
750
750
|
r = (r << 5) - r + i, r = r & r;
|
|
751
751
|
}
|
|
752
752
|
r = Math.abs(r);
|
|
753
|
-
let
|
|
753
|
+
let n = "";
|
|
754
754
|
for (let s = 0; s < 64; s++) {
|
|
755
755
|
const i = (r ^ s * 197) & 255;
|
|
756
|
-
|
|
756
|
+
n += i.toString(16).padStart(2, "0");
|
|
757
757
|
}
|
|
758
|
-
return
|
|
759
|
-
},
|
|
760
|
-
let
|
|
758
|
+
return n;
|
|
759
|
+
}, sr = (t, r) => {
|
|
760
|
+
let n = t + r;
|
|
761
761
|
for (let i = 0; i < ft().iterations; i++)
|
|
762
|
-
|
|
762
|
+
n = dt(n);
|
|
763
763
|
const s = new Uint8Array(32);
|
|
764
764
|
for (let i = 0; i < 32; i++)
|
|
765
|
-
s[i] = parseInt(
|
|
765
|
+
s[i] = parseInt(n.substring(i * 2, i * 2 + 2), 16);
|
|
766
766
|
return s;
|
|
767
|
-
},
|
|
768
|
-
const
|
|
767
|
+
}, ir = (t, r) => {
|
|
768
|
+
const n = new Uint8Array(t.length), s = new Uint8Array(t.length);
|
|
769
769
|
let i = 0;
|
|
770
770
|
for (let c = 0; c < t.length; c++) {
|
|
771
771
|
const d = c % r.length;
|
|
772
772
|
i = r[d] + c + i & 255, s[c] = i;
|
|
773
773
|
}
|
|
774
774
|
for (let c = 0; c < t.length; c++)
|
|
775
|
-
|
|
776
|
-
return
|
|
777
|
-
},
|
|
775
|
+
n[c] = t[c] ^ s[c];
|
|
776
|
+
return n;
|
|
777
|
+
}, _r = (t) => new TextEncoder().encode(t), Rr = (t) => new TextDecoder().decode(t), Sr = (t) => {
|
|
778
778
|
let r = "";
|
|
779
|
-
for (let
|
|
780
|
-
const s = t.slice(
|
|
779
|
+
for (let n = 0; n < t.length; n += 8192) {
|
|
780
|
+
const s = t.slice(n, Math.min(n + 8192, t.length));
|
|
781
781
|
r += String.fromCharCode.apply(null, Array.from(s));
|
|
782
782
|
}
|
|
783
783
|
return btoa(r);
|
|
784
|
-
}, Sr = (t) => {
|
|
785
|
-
const r = atob(t), o = new Uint8Array(r.length);
|
|
786
|
-
for (let s = 0; s < r.length; s++)
|
|
787
|
-
o[s] = r.charCodeAt(s);
|
|
788
|
-
return o;
|
|
789
784
|
}, Er = (t) => {
|
|
785
|
+
const r = atob(t), n = new Uint8Array(r.length);
|
|
786
|
+
for (let s = 0; s < r.length; s++)
|
|
787
|
+
n[s] = r.charCodeAt(s);
|
|
788
|
+
return n;
|
|
789
|
+
}, xr = (t) => {
|
|
790
790
|
try {
|
|
791
791
|
const r = dt(
|
|
792
792
|
Date.now().toString() + Math.random()
|
|
793
|
-
).substring(0, ft().saltLength * 2),
|
|
794
|
-
return `${r}.${d}.${
|
|
793
|
+
).substring(0, ft().saltLength * 2), n = dt(t + r).substring(0, 8), s = sr(ft().key, r), i = _r(t), c = ir(i, s), d = Sr(c);
|
|
794
|
+
return `${r}.${d}.${n}`;
|
|
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
|
|
804
|
-
if (dt(f +
|
|
803
|
+
const n = r[0], s = r[1], i = r[2], c = sr(ft().key, n), d = Er(s), p = ir(d, c), f = Rr(p);
|
|
804
|
+
if (dt(f + n).substring(
|
|
805
805
|
0,
|
|
806
806
|
8
|
|
807
807
|
) !== i)
|
|
@@ -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
|
-
const
|
|
821
|
-
return
|
|
820
|
+
const n = JSON.stringify(r);
|
|
821
|
+
return xr(n);
|
|
822
822
|
} catch {
|
|
823
823
|
throw new Error("Не удалось зашифровать объект");
|
|
824
824
|
}
|
|
@@ -826,15 +826,15 @@ var fe;
|
|
|
826
826
|
try {
|
|
827
827
|
if (!r || r.length < 10)
|
|
828
828
|
return !1;
|
|
829
|
-
const
|
|
830
|
-
return
|
|
829
|
+
const n = Ar(r);
|
|
830
|
+
return n && JSON.parse(n) || !1;
|
|
831
831
|
} catch {
|
|
832
832
|
return !1;
|
|
833
833
|
}
|
|
834
|
-
}, t.setSecurityParams = (r,
|
|
835
|
-
Gt({ iterations: r, saltLength:
|
|
834
|
+
}, t.setSecurityParams = (r, n) => {
|
|
835
|
+
Gt({ iterations: r, saltLength: n });
|
|
836
836
|
};
|
|
837
|
-
})(
|
|
837
|
+
})(pe || (pe = {}));
|
|
838
838
|
var at = {};
|
|
839
839
|
/**
|
|
840
840
|
* @license React
|
|
@@ -846,18 +846,18 @@ 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
|
-
var t = C, r = Symbol.for("react.element"),
|
|
853
|
-
function d(p, f,
|
|
854
|
-
var
|
|
855
|
-
|
|
856
|
-
for (
|
|
857
|
-
if (p && p.defaultProps) for (
|
|
852
|
+
var t = C, r = Symbol.for("react.element"), n = 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, 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
|
-
return at.Fragment =
|
|
860
|
+
return at.Fragment = n, at.jsx = d, at.jsxs = d, at;
|
|
861
861
|
}
|
|
862
862
|
var st = {};
|
|
863
863
|
/**
|
|
@@ -870,47 +870,47 @@ 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"),
|
|
875
|
+
var t = C, r = Symbol.for("react.element"), n = 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
|
|
880
|
-
return typeof
|
|
879
|
+
var o = B && e[B] || e[ee];
|
|
880
|
+
return typeof o == "function" ? o : null;
|
|
881
881
|
}
|
|
882
882
|
var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
883
883
|
function x(e) {
|
|
884
884
|
{
|
|
885
|
-
for (var
|
|
885
|
+
for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), u = 1; u < o; u++)
|
|
886
886
|
a[u - 1] = arguments[u];
|
|
887
|
-
|
|
887
|
+
Ae("error", e, a);
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function Ae(e, o, a) {
|
|
891
891
|
{
|
|
892
892
|
var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
893
|
-
y !== "" && (
|
|
893
|
+
y !== "" && (o += "%s", a = a.concat([y]));
|
|
894
894
|
var R = a.map(function(m) {
|
|
895
895
|
return String(m);
|
|
896
896
|
});
|
|
897
|
-
R.unshift("Warning: " +
|
|
897
|
+
R.unshift("Warning: " + o), 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, o, a) {
|
|
910
910
|
var u = e.displayName;
|
|
911
911
|
if (u)
|
|
912
912
|
return u;
|
|
913
|
-
var y =
|
|
913
|
+
var y = o.displayName || o.name || "";
|
|
914
914
|
return y !== "" ? a + "(" + y + ")" : a;
|
|
915
915
|
}
|
|
916
916
|
function $e(e) {
|
|
@@ -926,27 +926,27 @@ function jr() {
|
|
|
926
926
|
switch (e) {
|
|
927
927
|
case s:
|
|
928
928
|
return "Fragment";
|
|
929
|
-
case
|
|
929
|
+
case n:
|
|
930
930
|
return "Portal";
|
|
931
931
|
case c:
|
|
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")
|
|
941
941
|
switch (e.$$typeof) {
|
|
942
942
|
case p:
|
|
943
|
-
var
|
|
944
|
-
return $e(
|
|
943
|
+
var o = e;
|
|
944
|
+
return $e(o) + ".Consumer";
|
|
945
945
|
case d:
|
|
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, o, 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
|
-
function We(e,
|
|
1045
|
+
function We(e, o) {
|
|
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,9 +1055,9 @@ 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
|
-
if (
|
|
1060
|
+
if (o) {
|
|
1061
1061
|
var m = function() {
|
|
1062
1062
|
throw Error();
|
|
1063
1063
|
};
|
|
@@ -1099,67 +1099,67 @@ function jr() {
|
|
|
1099
1099
|
if (S !== 1 || E !== 1)
|
|
1100
1100
|
do
|
|
1101
1101
|
if (S--, E--, E < 0 || v[S] !== k[E]) {
|
|
1102
|
-
var
|
|
1102
|
+
var P = `
|
|
1103
1103
|
` + v[S].replace(" at new ", " at ");
|
|
1104
|
-
return e.displayName &&
|
|
1104
|
+
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, P), P;
|
|
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
|
-
function yt(e,
|
|
1116
|
+
function yt(e, o, a) {
|
|
1117
1117
|
return We(e, !1);
|
|
1118
1118
|
}
|
|
1119
1119
|
function _t(e) {
|
|
1120
|
-
var
|
|
1121
|
-
return !!(
|
|
1120
|
+
var o = e.prototype;
|
|
1121
|
+
return !!(o && o.isReactComponent);
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function oe(e, o, 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, o, 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), o, 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
|
|
1155
|
+
var o = e._owner, a = oe(e.type, e._source, o ? o.type : null);
|
|
1156
1156
|
Ye.setExtraStackFrame(a);
|
|
1157
1157
|
} else
|
|
1158
1158
|
Ye.setExtraStackFrame(null);
|
|
1159
1159
|
}
|
|
1160
|
-
function Rt(e,
|
|
1160
|
+
function Rt(e, o, 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;
|
|
@@ -1168,21 +1168,21 @@ function jr() {
|
|
|
1168
1168
|
var k = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1169
1169
|
throw k.name = "Invariant Violation", k;
|
|
1170
1170
|
}
|
|
1171
|
-
v = e[m](
|
|
1171
|
+
v = e[m](o, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
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) {
|
|
1184
1184
|
{
|
|
1185
|
-
var
|
|
1185
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, a = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1186
1186
|
return a;
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
@@ -1207,28 +1207,28 @@ function jr() {
|
|
|
1207
1207
|
__source: !0
|
|
1208
1208
|
}, He, Ke;
|
|
1209
1209
|
function jt(e) {
|
|
1210
|
-
if (
|
|
1211
|
-
var
|
|
1212
|
-
if (
|
|
1210
|
+
if (H.call(e, "ref")) {
|
|
1211
|
+
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1212
|
+
if (o && o.isReactWarning)
|
|
1213
1213
|
return !1;
|
|
1214
1214
|
}
|
|
1215
1215
|
return e.ref !== void 0;
|
|
1216
1216
|
}
|
|
1217
1217
|
function kt(e) {
|
|
1218
|
-
if (
|
|
1219
|
-
var
|
|
1220
|
-
if (
|
|
1218
|
+
if (H.call(e, "key")) {
|
|
1219
|
+
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1220
|
+
if (o && o.isReactWarning)
|
|
1221
1221
|
return !1;
|
|
1222
1222
|
}
|
|
1223
1223
|
return e.key !== void 0;
|
|
1224
1224
|
}
|
|
1225
|
-
function wt(e,
|
|
1225
|
+
function wt(e, o) {
|
|
1226
1226
|
typeof e.ref == "string" && Je.current;
|
|
1227
1227
|
}
|
|
1228
|
-
function Ot(e,
|
|
1228
|
+
function Ot(e, o) {
|
|
1229
1229
|
{
|
|
1230
1230
|
var a = function() {
|
|
1231
|
-
He || (He = !0, x("%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)",
|
|
1231
|
+
He || (He = !0, x("%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)", o));
|
|
1232
1232
|
};
|
|
1233
1233
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1234
1234
|
get: a,
|
|
@@ -1236,10 +1236,10 @@ function jr() {
|
|
|
1236
1236
|
});
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
|
-
function Pt(e,
|
|
1239
|
+
function Pt(e, o) {
|
|
1240
1240
|
{
|
|
1241
1241
|
var a = function() {
|
|
1242
|
-
Ke || (Ke = !0, x("%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)",
|
|
1242
|
+
Ke || (Ke = !0, x("%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)", o));
|
|
1243
1243
|
};
|
|
1244
1244
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1245
1245
|
get: a,
|
|
@@ -1247,13 +1247,13 @@ function jr() {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
var Ct = function(e,
|
|
1250
|
+
var Ct = function(e, o, a, u, y, R, m) {
|
|
1251
1251
|
var v = {
|
|
1252
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1253
1253
|
$$typeof: r,
|
|
1254
1254
|
// Built-in properties that belong on the element
|
|
1255
1255
|
type: e,
|
|
1256
|
-
key:
|
|
1256
|
+
key: o,
|
|
1257
1257
|
ref: a,
|
|
1258
1258
|
props: m,
|
|
1259
1259
|
// Record the component responsible for creating this element.
|
|
@@ -1276,12 +1276,12 @@ function jr() {
|
|
|
1276
1276
|
value: y
|
|
1277
1277
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
1278
1278
|
};
|
|
1279
|
-
function Tt(e,
|
|
1279
|
+
function Tt(e, o, a, u, y) {
|
|
1280
1280
|
{
|
|
1281
1281
|
var R, m = {}, v = null, k = null;
|
|
1282
|
-
a !== void 0 && (Ve(a), v = "" + a), kt(
|
|
1283
|
-
for (R in
|
|
1284
|
-
|
|
1282
|
+
a !== void 0 && (Ve(a), v = "" + a), kt(o) && (Ve(o.key), v = "" + o.key), jt(o) && (k = o.ref, wt(o));
|
|
1283
|
+
for (R in o)
|
|
1284
|
+
H.call(o, R) && !At.hasOwnProperty(R) && (m[R] = o[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
|
|
1300
|
+
var o = e._owner, a = oe(e.type, e._source, o ? o.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
|
|
|
@@ -1325,77 +1325,77 @@ Check the render method of \`` + e + "`.";
|
|
|
1325
1325
|
var Ze = {};
|
|
1326
1326
|
function Nt(e) {
|
|
1327
1327
|
{
|
|
1328
|
-
var
|
|
1329
|
-
if (!
|
|
1328
|
+
var o = Xe();
|
|
1329
|
+
if (!o) {
|
|
1330
1330
|
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
1331
|
-
a && (
|
|
1331
|
+
a && (o = `
|
|
1332
1332
|
|
|
1333
1333
|
Check the top-level render call using <` + a + ">.");
|
|
1334
1334
|
}
|
|
1335
|
-
return
|
|
1335
|
+
return o;
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
|
-
function Qe(e,
|
|
1338
|
+
function Qe(e, o) {
|
|
1339
1339
|
{
|
|
1340
1340
|
if (!e._store || e._store.validated || e.key != null)
|
|
1341
1341
|
return;
|
|
1342
1342
|
e._store.validated = !0;
|
|
1343
|
-
var a = Nt(
|
|
1343
|
+
var a = Nt(o);
|
|
1344
1344
|
if (Ze[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
|
-
function et(e,
|
|
1351
|
+
function et(e, o) {
|
|
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, o);
|
|
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, o);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
1370
|
function Mt(e) {
|
|
1371
1371
|
{
|
|
1372
|
-
var
|
|
1373
|
-
if (
|
|
1372
|
+
var o = e.type;
|
|
1373
|
+
if (o == null || typeof o == "string")
|
|
1374
1374
|
return;
|
|
1375
1375
|
var a;
|
|
1376
|
-
if (typeof
|
|
1377
|
-
a =
|
|
1378
|
-
else if (typeof
|
|
1376
|
+
if (typeof o == "function")
|
|
1377
|
+
a = o.propTypes;
|
|
1378
|
+
else if (typeof o == "object" && (o.$$typeof === f || // Note: Memo only checks outer props here.
|
|
1379
1379
|
// Inner props are checked in the reconciler.
|
|
1380
|
-
|
|
1381
|
-
a =
|
|
1380
|
+
o.$$typeof === b))
|
|
1381
|
+
a = o.propTypes;
|
|
1382
1382
|
else
|
|
1383
1383
|
return;
|
|
1384
1384
|
if (a) {
|
|
1385
|
-
var u = N(
|
|
1385
|
+
var u = N(o);
|
|
1386
1386
|
Rt(a, e.props, "prop", u, e);
|
|
1387
|
-
} else if (
|
|
1388
|
-
|
|
1389
|
-
var y = N(
|
|
1387
|
+
} else if (o.PropTypes !== void 0 && !ye) {
|
|
1388
|
+
ye = !0;
|
|
1389
|
+
var y = N(o);
|
|
1390
1390
|
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
1391
1391
|
}
|
|
1392
|
-
typeof
|
|
1392
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
1395
|
function Bt(e) {
|
|
1396
1396
|
{
|
|
1397
|
-
for (var
|
|
1398
|
-
var u =
|
|
1397
|
+
for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
|
|
1398
|
+
var u = o[a];
|
|
1399
1399
|
if (u !== "children" && u !== "key") {
|
|
1400
1400
|
q(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
|
|
1401
1401
|
break;
|
|
@@ -1405,7 +1405,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
1407
|
var tt = {};
|
|
1408
|
-
function rt(e,
|
|
1408
|
+
function rt(e, o, a, u, y, R) {
|
|
1409
1409
|
{
|
|
1410
1410
|
var m = vt(e);
|
|
1411
1411
|
if (!m) {
|
|
@@ -1414,57 +1414,57 @@ 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
|
-
var E = Tt(e,
|
|
1419
|
+
var E = Tt(e, o, a, y, R);
|
|
1420
1420
|
if (E == null)
|
|
1421
1421
|
return E;
|
|
1422
1422
|
if (m) {
|
|
1423
|
-
var
|
|
1424
|
-
if (
|
|
1423
|
+
var P = o.children;
|
|
1424
|
+
if (P !== void 0)
|
|
1425
1425
|
if (u)
|
|
1426
|
-
if (
|
|
1427
|
-
for (var Y = 0; Y <
|
|
1428
|
-
et(
|
|
1429
|
-
Object.freeze && Object.freeze(
|
|
1426
|
+
if (me(P)) {
|
|
1427
|
+
for (var Y = 0; Y < P.length; Y++)
|
|
1428
|
+
et(P[Y], e);
|
|
1429
|
+
Object.freeze && Object.freeze(P);
|
|
1430
1430
|
} else
|
|
1431
1431
|
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1432
1432
|
else
|
|
1433
|
-
et(
|
|
1433
|
+
et(P, e);
|
|
1434
1434
|
}
|
|
1435
|
-
if (
|
|
1436
|
-
var L = N(e), w = Object.keys(
|
|
1435
|
+
if (H.call(o, "key")) {
|
|
1436
|
+
var L = N(e), w = Object.keys(o).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;
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
|
-
function It(e,
|
|
1453
|
-
return rt(e,
|
|
1452
|
+
function It(e, o, a) {
|
|
1453
|
+
return rt(e, o, a, !0);
|
|
1454
1454
|
}
|
|
1455
|
-
function Lt(e,
|
|
1456
|
-
return rt(e,
|
|
1455
|
+
function Lt(e, o, a) {
|
|
1456
|
+
return rt(e, o, a, !1);
|
|
1457
1457
|
}
|
|
1458
1458
|
var Dt = Lt, Ut = It;
|
|
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,19 +1482,19 @@ const kr = "0.0.46", ir = {
|
|
|
1482
1482
|
id: 0
|
|
1483
1483
|
}
|
|
1484
1484
|
};
|
|
1485
|
-
function
|
|
1485
|
+
function Z() {
|
|
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
|
|
1491
|
-
var r,
|
|
1492
|
-
const c =
|
|
1488
|
+
Z().elcrm || (Z().elcrm = {});
|
|
1489
|
+
Object.assign(Z().elcrm, { router: cr.version });
|
|
1490
|
+
function Q(t) {
|
|
1491
|
+
var r, n, s, i;
|
|
1492
|
+
const c = Z();
|
|
1493
1493
|
if (c.ROUTER_PARAMS) {
|
|
1494
1494
|
t.debug || c.ROUTER_PARAMS.debug;
|
|
1495
1495
|
const d = {
|
|
1496
1496
|
page: (r = c.ROUTER_PARAMS) == null ? void 0 : r.page,
|
|
1497
|
-
module: (
|
|
1497
|
+
module: (n = c.ROUTER_PARAMS) == null ? void 0 : n.module,
|
|
1498
1498
|
tab: (s = c.ROUTER_PARAMS) == null ? void 0 : s.tab,
|
|
1499
1499
|
id: (i = c.ROUTER_PARAMS) == null ? void 0 : i.id
|
|
1500
1500
|
};
|
|
@@ -1515,21 +1515,21 @@ function X(t) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
1517
1517
|
function j() {
|
|
1518
|
-
return
|
|
1518
|
+
return Z().ROUTER_PARAMS || F;
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1521
|
-
const r =
|
|
1522
|
-
r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...F }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((
|
|
1523
|
-
r.ROUTER_PARAMS.LISTENER[
|
|
1524
|
-
r.ROUTER_PARAMS.LISTENER[
|
|
1525
|
-
]), r.ROUTER_PARAMS.LISTENER[
|
|
1520
|
+
function xe(t) {
|
|
1521
|
+
const r = Z();
|
|
1522
|
+
r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...F }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((n) => {
|
|
1523
|
+
r.ROUTER_PARAMS.LISTENER[n] || (r.ROUTER_PARAMS.LISTENER[n] = []), Array.isArray(r.ROUTER_PARAMS.LISTENER[n]) || (r.ROUTER_PARAMS.LISTENER[n] = [
|
|
1524
|
+
r.ROUTER_PARAMS.LISTENER[n]
|
|
1525
|
+
]), r.ROUTER_PARAMS.LISTENER[n].includes(t[n]) || r.ROUTER_PARAMS.LISTENER[n].push(t[n]);
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function K() {
|
|
1529
1529
|
var t;
|
|
1530
|
-
const r =
|
|
1531
|
-
let
|
|
1532
|
-
return
|
|
1530
|
+
const r = Z();
|
|
1531
|
+
let n = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || F.LISTENER;
|
|
1532
|
+
return n || (n = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = n : F.LISTENER = n), new Proxy(n, {
|
|
1533
1533
|
get(s, i) {
|
|
1534
1534
|
const c = s[i];
|
|
1535
1535
|
return Array.isArray(c) && c.length > 0 ? (...d) => {
|
|
@@ -1547,16 +1547,16 @@ function H() {
|
|
|
1547
1547
|
});
|
|
1548
1548
|
}
|
|
1549
1549
|
function Qt(t, r) {
|
|
1550
|
-
const
|
|
1550
|
+
const n = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1551
1551
|
for (const [s, i] of Object.entries(r))
|
|
1552
|
-
if (s.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") ===
|
|
1552
|
+
if (s.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === n)
|
|
1553
1553
|
return i;
|
|
1554
1554
|
return null;
|
|
1555
1555
|
}
|
|
1556
1556
|
function zt(t) {
|
|
1557
1557
|
const {
|
|
1558
1558
|
basePath: r = ".",
|
|
1559
|
-
devExtensions:
|
|
1559
|
+
devExtensions: n = [".tsx", ".ts", ".jsx", ".js"],
|
|
1560
1560
|
prodExtension: s = ".js"
|
|
1561
1561
|
} = t || {};
|
|
1562
1562
|
return (i) => {
|
|
@@ -1575,11 +1575,11 @@ function zt(t) {
|
|
|
1575
1575
|
}
|
|
1576
1576
|
};
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1579
|
-
const { basePath: r = ".", modules:
|
|
1578
|
+
function Or(t) {
|
|
1579
|
+
const { basePath: r = ".", modules: n, pages: s } = t || {};
|
|
1580
1580
|
return (i) => {
|
|
1581
|
-
if (
|
|
1582
|
-
const d = Qt(i,
|
|
1581
|
+
if (n) {
|
|
1582
|
+
const d = Qt(i, n);
|
|
1583
1583
|
if (d)
|
|
1584
1584
|
return d();
|
|
1585
1585
|
}
|
|
@@ -1603,19 +1603,19 @@ function wr(t) {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
|
-
function er(t = ".", r,
|
|
1607
|
-
return r ||
|
|
1606
|
+
function er(t = ".", r, n) {
|
|
1607
|
+
return r || n ? Or({
|
|
1608
1608
|
basePath: t,
|
|
1609
1609
|
modules: r,
|
|
1610
|
-
pages:
|
|
1610
|
+
pages: n
|
|
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
|
+
Q({
|
|
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
|
+
Q({
|
|
1629
1629
|
id: 0,
|
|
1630
1630
|
tab: "",
|
|
1631
1631
|
page: (t = localStorage.getItem("d")) != null && t.length ? j().page : j().auth,
|
|
@@ -1633,127 +1633,127 @@ 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) => (
|
|
1650
|
-
const [
|
|
1651
|
-
|
|
1648
|
+
function Cr(t) {
|
|
1649
|
+
let r = (i) => (Q({ page: i }), i);
|
|
1650
|
+
const [n, s] = T(
|
|
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 = Z();
|
|
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
|
+
}, []), n;
|
|
1669
1669
|
}
|
|
1670
|
-
function
|
|
1671
|
-
|
|
1670
|
+
function Tr(t, r = !0, n = {}) {
|
|
1671
|
+
Q({ page: t, ...n }), 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
|
|
1683
|
-
const [
|
|
1684
|
-
|
|
1682
|
+
function Mr(t, r) {
|
|
1683
|
+
const [n, s] = T(
|
|
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
|
+
}), []), n;
|
|
1690
1690
|
}
|
|
1691
|
-
function
|
|
1692
|
-
|
|
1691
|
+
function Br(t, r = !0) {
|
|
1692
|
+
Q({ 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
|
-
const [
|
|
1703
|
-
return
|
|
1702
|
+
const [n, s] = T(!r), [i, c] = T(t || Jt());
|
|
1703
|
+
return xe({ tabs: c }), r && W(() => {
|
|
1704
1704
|
s(!0);
|
|
1705
|
-
}, []), [i,
|
|
1705
|
+
}, []), [i, n];
|
|
1706
1706
|
} else
|
|
1707
|
-
|
|
1707
|
+
xe({ tabs: t });
|
|
1708
1708
|
}
|
|
1709
|
-
function
|
|
1710
|
-
let r = (i) => (
|
|
1711
|
-
const [
|
|
1709
|
+
function Dr(t) {
|
|
1710
|
+
let r = (i) => (Q({ tab: i }), i);
|
|
1711
|
+
const [n, s] = T(
|
|
1712
1712
|
Jt() || t && r(t) || j().tab
|
|
1713
1713
|
);
|
|
1714
1714
|
return W(() => {
|
|
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 = Z();
|
|
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
|
+
}, []), n;
|
|
1730
1730
|
}
|
|
1731
|
-
async function
|
|
1732
|
-
|
|
1731
|
+
async function Ur(t, r = !0) {
|
|
1732
|
+
Q({ 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,
|
|
1742
|
+
const [r, n] = T(t || fr());
|
|
1743
1743
|
return W(() => {
|
|
1744
1744
|
const s = (i) => {
|
|
1745
|
-
|
|
1745
|
+
n(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(() => (
|
|
1754
|
-
var r,
|
|
1755
|
-
const s =
|
|
1756
|
-
if ((
|
|
1753
|
+
W(() => (xe({ id: t }), () => {
|
|
1754
|
+
var r, n;
|
|
1755
|
+
const s = Z();
|
|
1756
|
+
if ((n = (r = s.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && n.id) {
|
|
1757
1757
|
const i = s.ROUTER_PARAMS.LISTENER.id;
|
|
1758
1758
|
if (Array.isArray(i)) {
|
|
1759
1759
|
const c = i.indexOf(t);
|
|
@@ -1762,33 +1762,33 @@ 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
|
+
Q({ 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
|
|
1777
|
-
var r,
|
|
1778
|
-
const { page:
|
|
1779
|
-
|
|
1776
|
+
async function Vr(t) {
|
|
1777
|
+
var r, n, s, i, c, d, p, f;
|
|
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 = _), Q({ ...ce }), _ !== void 0 && ((n = (r = K()).id) == null || n.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,
|
|
1790
1790
|
page: r = j().page,
|
|
1791
|
-
auth:
|
|
1791
|
+
auth: n = j().auth,
|
|
1792
1792
|
debug: s = j().debug,
|
|
1793
1793
|
dir: i = j().dir || ".",
|
|
1794
1794
|
importModules: c,
|
|
@@ -1797,75 +1797,75 @@ 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 })), Q({
|
|
1806
1806
|
page: r,
|
|
1807
1807
|
module: t,
|
|
1808
|
-
auth:
|
|
1808
|
+
auth: n,
|
|
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
|
-
return pt.set = (
|
|
1855
|
-
r([...t,
|
|
1856
|
-
}, pt.del = (
|
|
1854
|
+
return pt.set = (n) => {
|
|
1855
|
+
r([...t, n]);
|
|
1856
|
+
}, pt.del = (n) => {
|
|
1857
1857
|
t.forEach((s, i) => {
|
|
1858
|
-
s.key ===
|
|
1858
|
+
s.key === n && 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((n) => n.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
|
-
let [
|
|
1868
|
+
let [n] = C.useState("show"), [s, i] = C.useState(!1);
|
|
1869
1869
|
C.useEffect(() => {
|
|
1870
1870
|
setTimeout(function() {
|
|
1871
1871
|
i(!0), pt.del(r.key);
|
|
@@ -1887,15 +1887,15 @@ 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:
|
|
1898
|
-
"data-status":
|
|
1897
|
+
className: Se.i + d[r.type] + ` ${r.thema !== void 0 ? Se.h : ""}`,
|
|
1898
|
+
"data-status": n,
|
|
1899
1899
|
children: [
|
|
1900
1900
|
/* @__PURE__ */ l.jsx(
|
|
1901
1901
|
"svg",
|
|
@@ -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), [
|
|
1985
|
-
|
|
1984
|
+
let [t, r] = T(!1), [n, 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,18 @@ const un = () => {
|
|
|
1990
1990
|
A,
|
|
1991
1991
|
D[i][A]
|
|
1992
1992
|
);
|
|
1993
|
-
|
|
1993
|
+
document.documentElement.style.setProperty(
|
|
1994
|
+
"--tg-content-safe-area-inset-top",
|
|
1995
|
+
"0px"
|
|
1996
|
+
), ((_ = fe.safeAreaInset) == null ? void 0 : _.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
1994
1997
|
"--tg-safe-area-inset-bottom",
|
|
1995
1998
|
"16px"
|
|
1996
|
-
) :
|
|
1999
|
+
) : fe.safeAreaInset || document.documentElement.style.setProperty(
|
|
1997
2000
|
"--tg-safe-area-inset-bottom",
|
|
1998
2001
|
"16px"
|
|
1999
2002
|
);
|
|
2000
2003
|
}, []);
|
|
2001
|
-
let
|
|
2004
|
+
let h = (_) => {
|
|
2002
2005
|
for (let A in D[_])
|
|
2003
2006
|
document.documentElement.style.setProperty(A, D[_][A]), document.documentElement.setAttribute(
|
|
2004
2007
|
"data-color-scheme",
|
|
@@ -2006,32 +2009,32 @@ const un = () => {
|
|
|
2006
2009
|
);
|
|
2007
2010
|
c(_), p(!1);
|
|
2008
2011
|
}, b = () => {
|
|
2009
|
-
p(!1),
|
|
2012
|
+
p(!1), g(!0);
|
|
2010
2013
|
};
|
|
2011
2014
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2012
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2013
|
-
|
|
2015
|
+
/* @__PURE__ */ l.jsxs("div", { className: ue.d, children: [
|
|
2016
|
+
n === !1 ? /* @__PURE__ */ l.jsx("div", { className: ue.b, children: "Отмена" }) : /* @__PURE__ */ l.jsx(
|
|
2014
2017
|
"div",
|
|
2015
2018
|
{
|
|
2016
2019
|
onClick: () => {
|
|
2017
2020
|
var _;
|
|
2018
|
-
|
|
2021
|
+
n.page === void 0 ? (_ = n.callback) == null || _.call(n) : Ce.setPage(n.page);
|
|
2019
2022
|
},
|
|
2020
|
-
className:
|
|
2023
|
+
className: ue.b,
|
|
2021
2024
|
children: "Назад"
|
|
2022
2025
|
}
|
|
2023
2026
|
),
|
|
2024
2027
|
/* @__PURE__ */ l.jsx(
|
|
2025
2028
|
"div",
|
|
2026
2029
|
{
|
|
2027
|
-
className:
|
|
2030
|
+
className: ue.o,
|
|
2028
2031
|
onClick: () => p(!d),
|
|
2029
2032
|
children: "Меню"
|
|
2030
2033
|
}
|
|
2031
2034
|
)
|
|
2032
2035
|
] }),
|
|
2033
|
-
/* @__PURE__ */ l.jsx(
|
|
2034
|
-
t && /* @__PURE__ */ l.jsx("div", { className:
|
|
2036
|
+
/* @__PURE__ */ l.jsx(Ee.Init, {}),
|
|
2037
|
+
t && /* @__PURE__ */ l.jsx("div", { className: ue.m, children: /* @__PURE__ */ l.jsx(
|
|
2035
2038
|
"button",
|
|
2036
2039
|
{
|
|
2037
2040
|
onClick: () => {
|
|
@@ -2040,7 +2043,7 @@ const un = () => {
|
|
|
2040
2043
|
children: t.text
|
|
2041
2044
|
}
|
|
2042
2045
|
) }),
|
|
2043
|
-
d ? /* @__PURE__ */ l.jsxs("div", { className:
|
|
2046
|
+
d ? /* @__PURE__ */ l.jsxs("div", { className: ue.t, children: [
|
|
2044
2047
|
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
2045
2048
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: b, children: "Authorization" }) }),
|
|
2046
2049
|
/* @__PURE__ */ l.jsx("li", {})
|
|
@@ -2052,21 +2055,21 @@ const un = () => {
|
|
|
2052
2055
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2053
2056
|
"button",
|
|
2054
2057
|
{
|
|
2055
|
-
onClick: () =>
|
|
2058
|
+
onClick: () => h("dark"),
|
|
2056
2059
|
children: "Dark"
|
|
2057
2060
|
}
|
|
2058
2061
|
) }),
|
|
2059
2062
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2060
2063
|
"button",
|
|
2061
2064
|
{
|
|
2062
|
-
onClick: () =>
|
|
2065
|
+
onClick: () => h("light"),
|
|
2063
2066
|
children: "Light"
|
|
2064
2067
|
}
|
|
2065
2068
|
) }),
|
|
2066
2069
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2067
2070
|
"button",
|
|
2068
2071
|
{
|
|
2069
|
-
onClick: () =>
|
|
2072
|
+
onClick: () => h("users"),
|
|
2070
2073
|
children: "Users"
|
|
2071
2074
|
}
|
|
2072
2075
|
) })
|
|
@@ -2075,146 +2078,146 @@ const un = () => {
|
|
|
2075
2078
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!d), children: "Closed" }) })
|
|
2076
2079
|
] })
|
|
2077
2080
|
] }) : "",
|
|
2078
|
-
f ? /* @__PURE__ */ l.jsx(
|
|
2081
|
+
f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization: g }) : ""
|
|
2079
2082
|
] });
|
|
2080
2083
|
} else
|
|
2081
2084
|
return W(() => {
|
|
2082
2085
|
var t;
|
|
2083
2086
|
document.documentElement.style.setProperty(
|
|
2084
2087
|
"--tg-theme-secondary-bg-color-alpha",
|
|
2085
|
-
|
|
2088
|
+
fe.themeParams.secondary_bg_color + "d3"
|
|
2086
2089
|
), document.documentElement.style.setProperty(
|
|
2087
2090
|
"--tg-theme-bg-color-alpha",
|
|
2088
|
-
|
|
2089
|
-
), ((t =
|
|
2091
|
+
fe.themeParams.bg_color + "b3"
|
|
2092
|
+
), ((t = fe.safeAreaInset) == null ? void 0 : t.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
2090
2093
|
"--tg-safe-area-inset-bottom",
|
|
2091
2094
|
"16px"
|
|
2092
|
-
) :
|
|
2095
|
+
) : fe.safeAreaInset || document.documentElement.style.setProperty(
|
|
2093
2096
|
"--tg-safe-area-inset-bottom",
|
|
2094
2097
|
"16px"
|
|
2095
2098
|
);
|
|
2096
|
-
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(
|
|
2097
|
-
},
|
|
2098
|
-
let r = {},
|
|
2099
|
+
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(Ee.Init, {}) });
|
|
2100
|
+
}, dn = ({ setAuthorization: t }) => {
|
|
2101
|
+
let r = {}, n = () => {
|
|
2099
2102
|
localStorage.setItem("auth", r);
|
|
2100
2103
|
};
|
|
2101
|
-
return /* @__PURE__ */ l.jsx("div", { className:
|
|
2104
|
+
return /* @__PURE__ */ l.jsx("div", { className: ue.a, children: /* @__PURE__ */ l.jsxs("div", { className: ue.v, children: [
|
|
2102
2105
|
/* @__PURE__ */ l.jsx("fieldset", {}),
|
|
2103
|
-
/* @__PURE__ */ l.jsx("div", { onClick:
|
|
2106
|
+
/* @__PURE__ */ l.jsx("div", { onClick: n, children: " Сохранить " })
|
|
2104
2107
|
] }) });
|
|
2105
|
-
},
|
|
2106
|
-
p:
|
|
2107
|
-
s:
|
|
2108
|
-
},
|
|
2108
|
+
}, pn = "_p_1axqy_1", vn = "_s_1axqy_17", tr = {
|
|
2109
|
+
p: pn,
|
|
2110
|
+
s: vn
|
|
2111
|
+
}, hn = ({ className: t, children: r, isScroll: n = !0 }) => /* @__PURE__ */ l.jsx(
|
|
2109
2112
|
"div",
|
|
2110
2113
|
{
|
|
2111
|
-
className: [tr.p,
|
|
2114
|
+
className: [tr.p, n && tr.s, t].filter((s) => s !== void 0).join(" "),
|
|
2112
2115
|
children: r
|
|
2113
2116
|
}
|
|
2114
|
-
), gn = "_l_gfyud_1",
|
|
2117
|
+
), gn = "_l_gfyud_1", mn = {
|
|
2115
2118
|
l: gn
|
|
2116
|
-
},
|
|
2119
|
+
}, bn = ({ children: t, className: r }) => /* @__PURE__ */ l.jsx(
|
|
2117
2120
|
"div",
|
|
2118
2121
|
{
|
|
2119
|
-
className: [
|
|
2122
|
+
className: [mn.l, r].filter((n) => n !== void 0).join(" "),
|
|
2120
2123
|
children: t
|
|
2121
2124
|
}
|
|
2122
|
-
),
|
|
2123
|
-
q:
|
|
2124
|
-
m:
|
|
2125
|
-
g:
|
|
2126
|
-
i:
|
|
2127
|
-
c:
|
|
2128
|
-
l:
|
|
2129
|
-
a:
|
|
2130
|
-
n:
|
|
2131
|
-
},
|
|
2132
|
-
const
|
|
2125
|
+
), 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 = {
|
|
2126
|
+
q: yn,
|
|
2127
|
+
m: _n,
|
|
2128
|
+
g: Rn,
|
|
2129
|
+
i: Sn,
|
|
2130
|
+
c: En,
|
|
2131
|
+
l: xn,
|
|
2132
|
+
a: An,
|
|
2133
|
+
n: jn
|
|
2134
|
+
}, kn = ({ items: t, style: r }) => {
|
|
2135
|
+
const n = (i) => {
|
|
2133
2136
|
Ce.setPage(i);
|
|
2134
2137
|
}, s = (i) => {
|
|
2135
|
-
|
|
2138
|
+
fe.openTelegramLink(i);
|
|
2136
2139
|
};
|
|
2137
2140
|
return /* @__PURE__ */ l.jsx(
|
|
2138
2141
|
"div",
|
|
2139
2142
|
{
|
|
2140
|
-
className:
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
+
className: G(
|
|
2144
|
+
le[r === "liquid-glass" ? "q" : ""],
|
|
2145
|
+
le.m
|
|
2143
2146
|
),
|
|
2144
|
-
children: t.map((i) => /* @__PURE__ */ l.jsx("div", { className:
|
|
2147
|
+
children: t.map((i) => /* @__PURE__ */ l.jsx("div", { className: le.g, children: i.items.map((c, d) => /* @__PURE__ */ l.jsxs(
|
|
2145
2148
|
"div",
|
|
2146
2149
|
{
|
|
2147
|
-
className:
|
|
2150
|
+
className: le.i,
|
|
2148
2151
|
onClick: () => {
|
|
2149
|
-
c.link && s(c.link), c.page &&
|
|
2152
|
+
c.link && s(c.link), c.page && n(c.page), c.callback && c.callback();
|
|
2150
2153
|
},
|
|
2151
2154
|
children: [
|
|
2152
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2155
|
+
/* @__PURE__ */ l.jsxs("div", { className: le.c, children: [
|
|
2153
2156
|
/* @__PURE__ */ l.jsx(
|
|
2154
2157
|
"span",
|
|
2155
2158
|
{
|
|
2156
|
-
className:
|
|
2159
|
+
className: le.l,
|
|
2157
2160
|
style: { background: c.color },
|
|
2158
2161
|
children: c.icon
|
|
2159
2162
|
}
|
|
2160
2163
|
),
|
|
2161
2164
|
c.title,
|
|
2162
|
-
c.count && /* @__PURE__ */ l.jsx("span", { className:
|
|
2165
|
+
c.count && /* @__PURE__ */ l.jsx("span", { className: le.n, children: c.count })
|
|
2163
2166
|
] }),
|
|
2164
|
-
/* @__PURE__ */ l.jsx("span", { className:
|
|
2167
|
+
/* @__PURE__ */ l.jsx("span", { className: le.a, children: "›" })
|
|
2165
2168
|
]
|
|
2166
2169
|
},
|
|
2167
2170
|
d
|
|
2168
2171
|
)) }, i.id))
|
|
2169
2172
|
}
|
|
2170
2173
|
);
|
|
2171
|
-
},
|
|
2172
|
-
o:
|
|
2173
|
-
m:
|
|
2174
|
-
l:
|
|
2175
|
-
r:
|
|
2176
|
-
x:
|
|
2177
|
-
h:
|
|
2178
|
-
c:
|
|
2179
|
-
u:
|
|
2174
|
+
}, 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 = {
|
|
2175
|
+
o: wn,
|
|
2176
|
+
m: On,
|
|
2177
|
+
l: Pn,
|
|
2178
|
+
r: Cn,
|
|
2179
|
+
x: Tn,
|
|
2180
|
+
h: $n,
|
|
2181
|
+
c: Nn,
|
|
2182
|
+
u: Mn
|
|
2180
2183
|
}, ut = {};
|
|
2181
|
-
function
|
|
2184
|
+
function Bn({
|
|
2182
2185
|
children: t,
|
|
2183
2186
|
icon: r,
|
|
2184
|
-
iconBadge:
|
|
2187
|
+
iconBadge: n = 0,
|
|
2185
2188
|
title: s,
|
|
2186
2189
|
className: i,
|
|
2187
2190
|
view: c = "list",
|
|
2188
2191
|
position: d = "left",
|
|
2189
2192
|
name: p = "default"
|
|
2190
2193
|
}) {
|
|
2191
|
-
const [f,
|
|
2194
|
+
const [f, g] = T(!1), [h, b] = T(
|
|
2192
2195
|
null
|
|
2193
2196
|
);
|
|
2194
2197
|
W(() => {
|
|
2195
2198
|
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) =>
|
|
2199
|
+
return A || (A = document.createElement("div"), A.className = "_p_sb", document.body.appendChild(A)), b(A), ut[p] = (B) => g(B), () => {
|
|
2197
2200
|
A && A.parentNode && A.parentNode.removeChild(A);
|
|
2198
2201
|
};
|
|
2199
2202
|
}, []);
|
|
2200
2203
|
const _ = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2201
|
-
f && /* @__PURE__ */ l.jsx("div", { className:
|
|
2204
|
+
f && /* @__PURE__ */ l.jsx("div", { className: se.o, onClick: () => g(!1) }),
|
|
2202
2205
|
/* @__PURE__ */ l.jsxs(
|
|
2203
2206
|
"div",
|
|
2204
2207
|
{
|
|
2205
|
-
className:
|
|
2206
|
-
|
|
2207
|
-
d === "left" ?
|
|
2208
|
-
f &&
|
|
2208
|
+
className: G(
|
|
2209
|
+
se.m,
|
|
2210
|
+
d === "left" ? se.l : se.r,
|
|
2211
|
+
f && se.x,
|
|
2209
2212
|
i
|
|
2210
2213
|
),
|
|
2211
2214
|
children: [
|
|
2212
|
-
/* @__PURE__ */ l.jsxs("div", { className:
|
|
2213
|
-
s && /* @__PURE__ */ l.jsx("h3", { className:
|
|
2215
|
+
/* @__PURE__ */ l.jsxs("div", { className: se.h, children: [
|
|
2216
|
+
s && /* @__PURE__ */ l.jsx("h3", { className: se.t, children: s }),
|
|
2214
2217
|
/* @__PURE__ */ l.jsxs(
|
|
2215
2218
|
"svg",
|
|
2216
2219
|
{
|
|
2217
|
-
onClick: () =>
|
|
2220
|
+
onClick: () => g(!1),
|
|
2218
2221
|
fill: "none",
|
|
2219
2222
|
stroke: "currentColor",
|
|
2220
2223
|
strokeLinecap: "round",
|
|
@@ -2232,7 +2235,7 @@ function Mn({
|
|
|
2232
2235
|
}
|
|
2233
2236
|
)
|
|
2234
2237
|
] }),
|
|
2235
|
-
/* @__PURE__ */ l.jsx("div", { className:
|
|
2238
|
+
/* @__PURE__ */ l.jsx("div", { className: se.c, children: c === "list" ? /* @__PURE__ */ l.jsx("ul", { className: se.u, children: t }) : t })
|
|
2236
2239
|
]
|
|
2237
2240
|
}
|
|
2238
2241
|
)
|
|
@@ -2241,39 +2244,39 @@ function Mn({
|
|
|
2241
2244
|
r && /* @__PURE__ */ l.jsx(
|
|
2242
2245
|
"div",
|
|
2243
2246
|
{
|
|
2244
|
-
onClick: () =>
|
|
2247
|
+
onClick: () => g(!0),
|
|
2245
2248
|
className: "bage",
|
|
2246
|
-
"data-count":
|
|
2249
|
+
"data-count": n,
|
|
2247
2250
|
children: r
|
|
2248
2251
|
}
|
|
2249
2252
|
),
|
|
2250
|
-
|
|
2253
|
+
h && pr(_, h)
|
|
2251
2254
|
] });
|
|
2252
2255
|
}
|
|
2253
|
-
const
|
|
2254
|
-
var
|
|
2255
|
-
(
|
|
2256
|
-
},
|
|
2257
|
-
h:
|
|
2258
|
-
r:
|
|
2259
|
-
c:
|
|
2260
|
-
x:
|
|
2261
|
-
b:
|
|
2262
|
-
a:
|
|
2263
|
-
draw:
|
|
2264
|
-
scaleToggleVar:
|
|
2265
|
-
},
|
|
2266
|
-
b:
|
|
2267
|
-
},
|
|
2256
|
+
const In = (t, r) => {
|
|
2257
|
+
var n;
|
|
2258
|
+
(n = ut[t]) == null || n.call(ut, r);
|
|
2259
|
+
}, 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 = {
|
|
2260
|
+
h: Ln,
|
|
2261
|
+
r: Dn,
|
|
2262
|
+
c: Un,
|
|
2263
|
+
x: Fn,
|
|
2264
|
+
b: Wn,
|
|
2265
|
+
a: qn,
|
|
2266
|
+
draw: Yn,
|
|
2267
|
+
scaleToggleVar: zn
|
|
2268
|
+
}, Vn = "_b_r6m8n_1", Jn = {
|
|
2269
|
+
b: Vn
|
|
2270
|
+
}, Hn = ({ className: t, value: r }) => /* @__PURE__ */ l.jsx(
|
|
2268
2271
|
"div",
|
|
2269
2272
|
{
|
|
2270
|
-
className: [
|
|
2273
|
+
className: [Jn.b, t].filter((n) => n !== void 0).join(" "),
|
|
2271
2274
|
children: r
|
|
2272
2275
|
}
|
|
2273
|
-
),
|
|
2276
|
+
), rr = (t, r) => t.findIndex((n) => (n == null ? void 0 : n.page) === r), Kn = ({
|
|
2274
2277
|
actions: t,
|
|
2275
2278
|
children: r,
|
|
2276
|
-
className:
|
|
2279
|
+
className: n,
|
|
2277
2280
|
actual: s,
|
|
2278
2281
|
toHide: i = !1,
|
|
2279
2282
|
page: c,
|
|
@@ -2281,36 +2284,41 @@ const Bn = (t, r) => {
|
|
|
2281
2284
|
onPageChange: p,
|
|
2282
2285
|
direction: f = "row"
|
|
2283
2286
|
}) => {
|
|
2284
|
-
const [
|
|
2285
|
-
c ?
|
|
2287
|
+
const [g, h] = C.useState(null), [b, _] = C.useState(
|
|
2288
|
+
c ? rr(t || [], c) : 0
|
|
2286
2289
|
), [A, B] = C.useState(
|
|
2287
2290
|
"right"
|
|
2288
|
-
),
|
|
2291
|
+
), ee = C.useRef(b);
|
|
2289
2292
|
C.useEffect(() => {
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
+
if (c) {
|
|
2294
|
+
const V = rr(t || [], c);
|
|
2295
|
+
V !== -1 && V !== ee.current && (ee.current = V, _(V));
|
|
2296
|
+
}
|
|
2297
|
+
}, [c, t]), C.useEffect(() => {
|
|
2298
|
+
ee.current !== b && (B(
|
|
2299
|
+
b > ee.current ? "left" : "right"
|
|
2300
|
+
), ee.current = b);
|
|
2293
2301
|
}, [b]), W(() => {
|
|
2294
2302
|
if (!i)
|
|
2295
2303
|
return;
|
|
2296
|
-
const
|
|
2304
|
+
const V = document.querySelectorAll("[contenteditable]"), ke = () => {
|
|
2297
2305
|
const $ = document.querySelector("footer");
|
|
2298
2306
|
$ && $.classList.remove(Pe.x);
|
|
2299
2307
|
}, we = () => {
|
|
2300
2308
|
const $ = document.querySelector("footer");
|
|
2301
2309
|
$ && $.classList.add(Pe.x);
|
|
2302
2310
|
};
|
|
2303
|
-
return
|
|
2311
|
+
return V.forEach(($) => {
|
|
2304
2312
|
$.addEventListener("focus", we, !0), $.addEventListener("blur", ke, !0);
|
|
2305
2313
|
}), () => {
|
|
2306
|
-
|
|
2314
|
+
V.forEach(($) => {
|
|
2307
2315
|
$.removeEventListener("focus", we, !0), $.removeEventListener("blur", ke, !0);
|
|
2308
2316
|
});
|
|
2309
2317
|
};
|
|
2310
2318
|
}, []);
|
|
2311
|
-
const [Te, M] = C.useState(!1), x = C.useRef(null),
|
|
2319
|
+
const [Te, M] = C.useState(!1), x = C.useRef(null), Ae = () => {
|
|
2312
2320
|
x.current && (clearTimeout(x.current), x.current = null), M(!0);
|
|
2313
|
-
},
|
|
2321
|
+
}, je = () => {
|
|
2314
2322
|
requestAnimationFrame(() => {
|
|
2315
2323
|
x.current = setTimeout(() => {
|
|
2316
2324
|
M(!1), x.current = null;
|
|
@@ -2320,20 +2328,20 @@ const Bn = (t, r) => {
|
|
|
2320
2328
|
C.useEffect(() => () => {
|
|
2321
2329
|
x.current && clearTimeout(x.current);
|
|
2322
2330
|
}, []);
|
|
2323
|
-
const
|
|
2324
|
-
return d === "liquid-glass" && (
|
|
2325
|
-
|
|
2331
|
+
const te = {};
|
|
2332
|
+
return d === "liquid-glass" && (te.onMouseDown = Ae, te.onMouseUp = je, te.onTouchStart = Ae, te.onTouchEnd = je), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2333
|
+
g,
|
|
2326
2334
|
/* @__PURE__ */ l.jsxs(
|
|
2327
2335
|
"footer",
|
|
2328
2336
|
{
|
|
2329
2337
|
"data-direction": A,
|
|
2330
2338
|
"data-style": d,
|
|
2331
2339
|
"data-scale": Te ? "true" : "false",
|
|
2332
|
-
...
|
|
2333
|
-
className:
|
|
2340
|
+
...te,
|
|
2341
|
+
className: G(
|
|
2334
2342
|
Pe.h,
|
|
2335
2343
|
Pe[f === "row" ? "r" : "c"],
|
|
2336
|
-
|
|
2344
|
+
n
|
|
2337
2345
|
),
|
|
2338
2346
|
children: [
|
|
2339
2347
|
r,
|
|
@@ -2344,7 +2352,7 @@ const Bn = (t, r) => {
|
|
|
2344
2352
|
activeIndex: b,
|
|
2345
2353
|
setActiveIndex: _,
|
|
2346
2354
|
onPageChange: p,
|
|
2347
|
-
setComponent:
|
|
2355
|
+
setComponent: h,
|
|
2348
2356
|
actual: s
|
|
2349
2357
|
}
|
|
2350
2358
|
)
|
|
@@ -2355,7 +2363,7 @@ const Bn = (t, r) => {
|
|
|
2355
2363
|
}, Gn = ({
|
|
2356
2364
|
actions: t,
|
|
2357
2365
|
activeIndex: r,
|
|
2358
|
-
setActiveIndex:
|
|
2366
|
+
setActiveIndex: n,
|
|
2359
2367
|
onPageChange: s,
|
|
2360
2368
|
setComponent: i,
|
|
2361
2369
|
actual: c
|
|
@@ -2365,12 +2373,12 @@ const Bn = (t, r) => {
|
|
|
2365
2373
|
{
|
|
2366
2374
|
"data-active": r === p ? "true" : "false",
|
|
2367
2375
|
onClick: () => {
|
|
2368
|
-
d.page && (
|
|
2376
|
+
d.page && (n(p), s == null || s(d.page)), d.onClick && d.onClick(() => n(p)), d.component && (r === p || (i(d.component), n(p)));
|
|
2369
2377
|
},
|
|
2370
2378
|
children: [
|
|
2371
2379
|
d.icon,
|
|
2372
2380
|
d.title && /* @__PURE__ */ l.jsx("span", { children: d.title }),
|
|
2373
|
-
d.badge && /* @__PURE__ */ l.jsx(
|
|
2381
|
+
d.badge && /* @__PURE__ */ l.jsx(Hn, { value: d.badge })
|
|
2374
2382
|
]
|
|
2375
2383
|
},
|
|
2376
2384
|
p
|
|
@@ -2385,16 +2393,29 @@ const Bn = (t, r) => {
|
|
|
2385
2393
|
}
|
|
2386
2394
|
}
|
|
2387
2395
|
)
|
|
2388
|
-
] }), Xn = "
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2396
|
+
] }), Xn = "_a_15zsz_1", Zn = {
|
|
2397
|
+
a: Xn
|
|
2398
|
+
};
|
|
2399
|
+
function Qn({
|
|
2400
|
+
children: t,
|
|
2401
|
+
className: r,
|
|
2402
|
+
text: n
|
|
2403
|
+
}) {
|
|
2404
|
+
return /* @__PURE__ */ l.jsxs("div", { className: G(Zn.a, r), children: [
|
|
2405
|
+
t,
|
|
2406
|
+
n && /* @__PURE__ */ l.jsx("b", { children: n })
|
|
2407
|
+
] });
|
|
2408
|
+
}
|
|
2409
|
+
const eo = "_w_yx04q_3", to = "_v_yx04q_24", ro = "_s_yx04q_34", no = "_n_yx04q_38", it = {
|
|
2410
|
+
w: eo,
|
|
2411
|
+
v: to,
|
|
2412
|
+
s: ro,
|
|
2413
|
+
n: no
|
|
2393
2414
|
}, Vt = {};
|
|
2394
|
-
function
|
|
2415
|
+
function oo({
|
|
2395
2416
|
children: t,
|
|
2396
2417
|
name: r,
|
|
2397
|
-
onClose:
|
|
2418
|
+
onClose: n,
|
|
2398
2419
|
isOpen: s,
|
|
2399
2420
|
isScroll: i = !0,
|
|
2400
2421
|
nextBackButton: c
|
|
@@ -2402,29 +2423,29 @@ function to({
|
|
|
2402
2423
|
const [d, p] = T(!1);
|
|
2403
2424
|
return W(() => {
|
|
2404
2425
|
if (!s) return;
|
|
2405
|
-
const f = c === void 0 ?
|
|
2426
|
+
const f = c === void 0 ? jo().pop() : c, g = () => {
|
|
2406
2427
|
p(!1), setTimeout(() => {
|
|
2407
|
-
|
|
2428
|
+
nr(f || !1), n == null || n();
|
|
2408
2429
|
}, 300);
|
|
2409
2430
|
};
|
|
2410
2431
|
Vt[r] = {
|
|
2411
|
-
onClose:
|
|
2432
|
+
onClose: g,
|
|
2412
2433
|
onOpen: () => {
|
|
2413
2434
|
p(!0);
|
|
2414
2435
|
}
|
|
2415
|
-
},
|
|
2416
|
-
callback:
|
|
2436
|
+
}, nr({
|
|
2437
|
+
callback: g
|
|
2417
2438
|
});
|
|
2418
|
-
const
|
|
2439
|
+
const h = setTimeout(() => {
|
|
2419
2440
|
p(!0);
|
|
2420
2441
|
}, 10);
|
|
2421
2442
|
return () => {
|
|
2422
|
-
clearTimeout(
|
|
2443
|
+
clearTimeout(h);
|
|
2423
2444
|
};
|
|
2424
2445
|
}, [s]), s ? /* @__PURE__ */ l.jsxs(
|
|
2425
2446
|
"div",
|
|
2426
2447
|
{
|
|
2427
|
-
className:
|
|
2448
|
+
className: G(
|
|
2428
2449
|
it.w,
|
|
2429
2450
|
d && it.v,
|
|
2430
2451
|
i && it.s
|
|
@@ -2436,19 +2457,19 @@ function to({
|
|
|
2436
2457
|
}
|
|
2437
2458
|
) : "";
|
|
2438
2459
|
}
|
|
2439
|
-
const
|
|
2440
|
-
var
|
|
2441
|
-
r ? (
|
|
2442
|
-
},
|
|
2443
|
-
s:
|
|
2444
|
-
n:
|
|
2445
|
-
b:
|
|
2446
|
-
f:
|
|
2460
|
+
const ao = (t, r) => {
|
|
2461
|
+
var n, s;
|
|
2462
|
+
r ? (n = Vt[t]) == null || n.onOpen() : (s = Vt[t]) == null || s.onClose();
|
|
2463
|
+
}, so = "_s_q79m4_3", io = "_n_q79m4_14", co = "_b_q79m4_19", lo = "_f_q79m4_29", ct = {
|
|
2464
|
+
s: so,
|
|
2465
|
+
n: io,
|
|
2466
|
+
b: co,
|
|
2467
|
+
f: lo
|
|
2447
2468
|
};
|
|
2448
|
-
function
|
|
2469
|
+
function uo({
|
|
2449
2470
|
className: t,
|
|
2450
2471
|
children: r,
|
|
2451
|
-
onScrollEnd:
|
|
2472
|
+
onScrollEnd: n,
|
|
2452
2473
|
offset: s = 100,
|
|
2453
2474
|
isLoading: i,
|
|
2454
2475
|
fullscreen: c = !1,
|
|
@@ -2458,10 +2479,10 @@ function io({
|
|
|
2458
2479
|
W(() => {
|
|
2459
2480
|
f(i || !1);
|
|
2460
2481
|
}, [i]);
|
|
2461
|
-
let
|
|
2462
|
-
onScroll: (
|
|
2463
|
-
const { scrollTop: b, scrollHeight: _, clientHeight: A } =
|
|
2464
|
-
b + A >= _ - s && !p && (f(!0),
|
|
2482
|
+
let g = {
|
|
2483
|
+
onScroll: (h) => {
|
|
2484
|
+
const { scrollTop: b, scrollHeight: _, clientHeight: A } = h.currentTarget;
|
|
2485
|
+
b + A >= _ - s && !p && (f(!0), n == null || n());
|
|
2465
2486
|
}
|
|
2466
2487
|
};
|
|
2467
2488
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
@@ -2469,8 +2490,8 @@ function io({
|
|
|
2469
2490
|
/* @__PURE__ */ l.jsx(
|
|
2470
2491
|
"div",
|
|
2471
2492
|
{
|
|
2472
|
-
...
|
|
2473
|
-
className:
|
|
2493
|
+
...g,
|
|
2494
|
+
className: G(
|
|
2474
2495
|
ct.s,
|
|
2475
2496
|
!d && ct.n,
|
|
2476
2497
|
c && ct.f,
|
|
@@ -2481,83 +2502,83 @@ function io({
|
|
|
2481
2502
|
)
|
|
2482
2503
|
] });
|
|
2483
2504
|
}
|
|
2484
|
-
const
|
|
2485
|
-
a:
|
|
2486
|
-
l:
|
|
2487
|
-
r:
|
|
2488
|
-
b:
|
|
2505
|
+
const fo = "_a_prp23_1", po = "_l_prp23_13", vo = "_r_prp23_16", ho = "_b_prp23_19", lt = {
|
|
2506
|
+
a: fo,
|
|
2507
|
+
l: po,
|
|
2508
|
+
r: vo,
|
|
2509
|
+
b: ho
|
|
2489
2510
|
};
|
|
2490
|
-
function
|
|
2511
|
+
function go({
|
|
2491
2512
|
children: t,
|
|
2492
2513
|
className: r,
|
|
2493
|
-
position:
|
|
2514
|
+
position: n = "center",
|
|
2494
2515
|
title: s
|
|
2495
2516
|
}) {
|
|
2496
2517
|
let i = "";
|
|
2497
|
-
return
|
|
2518
|
+
return n === "left" ? i = lt.l : n === "right" ? i = lt.r : n === "between" && (i = lt.b), /* @__PURE__ */ l.jsxs("div", { className: G(lt.a, i, r), children: [
|
|
2498
2519
|
t,
|
|
2499
2520
|
s && /* @__PURE__ */ l.jsx("b", { children: s })
|
|
2500
2521
|
] });
|
|
2501
2522
|
}
|
|
2502
|
-
const
|
|
2503
|
-
q:
|
|
2504
|
-
o:
|
|
2505
|
-
x:
|
|
2506
|
-
c:
|
|
2507
|
-
p:
|
|
2508
|
-
f:
|
|
2509
|
-
h:
|
|
2510
|
-
b:
|
|
2511
|
-
},
|
|
2523
|
+
const mo = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_29", Ro = "_p_1wgf4_34", So = "_f_1wgf4_50", Eo = "_h_1wgf4_58", xo = "_b_1wgf4_75", ie = {
|
|
2524
|
+
q: mo,
|
|
2525
|
+
o: bo,
|
|
2526
|
+
x: yo,
|
|
2527
|
+
c: _o,
|
|
2528
|
+
p: Ro,
|
|
2529
|
+
f: So,
|
|
2530
|
+
h: Eo,
|
|
2531
|
+
b: xo
|
|
2532
|
+
}, X = {}, dr = ({
|
|
2512
2533
|
children: t,
|
|
2513
2534
|
title: r,
|
|
2514
|
-
isOverlay:
|
|
2535
|
+
isOverlay: n = !0,
|
|
2515
2536
|
footer: s = !0,
|
|
2516
2537
|
className: i,
|
|
2517
2538
|
name: c,
|
|
2518
2539
|
style: d = "default",
|
|
2519
2540
|
onOpen: p
|
|
2520
2541
|
}) => {
|
|
2521
|
-
const [f,
|
|
2542
|
+
const [f, g] = C.useState(!1), [h, b] = C.useState(!1);
|
|
2522
2543
|
return C.useEffect(() => {
|
|
2523
|
-
|
|
2524
|
-
_ ? (b(!1),
|
|
2525
|
-
|
|
2544
|
+
X[c] = (_) => {
|
|
2545
|
+
_ ? (b(!1), g(!0), p == null || p(!0)) : (b(!0), p == null || p(!1), setTimeout(() => {
|
|
2546
|
+
g(!1), b(!1);
|
|
2526
2547
|
}, 300));
|
|
2527
2548
|
};
|
|
2528
|
-
}, [c, p]), !f && !
|
|
2549
|
+
}, [c, p]), !f && !h ? null : /* @__PURE__ */ l.jsx(
|
|
2529
2550
|
"div",
|
|
2530
2551
|
{
|
|
2531
|
-
className:
|
|
2532
|
-
d === "liquid-glass" &&
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2552
|
+
className: G(
|
|
2553
|
+
d === "liquid-glass" && ie.q,
|
|
2554
|
+
ie.o,
|
|
2555
|
+
n && ie.x,
|
|
2556
|
+
h && ie.c
|
|
2536
2557
|
),
|
|
2537
2558
|
onClick: () => {
|
|
2538
2559
|
var _;
|
|
2539
|
-
return (_ =
|
|
2560
|
+
return (_ = X[c]) == null ? void 0 : _.call(X, !1);
|
|
2540
2561
|
},
|
|
2541
2562
|
children: /* @__PURE__ */ l.jsxs(
|
|
2542
2563
|
"div",
|
|
2543
2564
|
{
|
|
2544
|
-
className:
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
s &&
|
|
2565
|
+
className: G(
|
|
2566
|
+
ie.p,
|
|
2567
|
+
h && ie.c,
|
|
2568
|
+
s && ie.f,
|
|
2548
2569
|
i
|
|
2549
2570
|
),
|
|
2550
2571
|
onClick: (_) => _.stopPropagation(),
|
|
2551
2572
|
children: [
|
|
2552
|
-
r && /* @__PURE__ */ l.jsxs("div", { className:
|
|
2573
|
+
r && /* @__PURE__ */ l.jsxs("div", { className: ie.h, children: [
|
|
2553
2574
|
/* @__PURE__ */ l.jsx("h3", { children: r }),
|
|
2554
2575
|
/* @__PURE__ */ l.jsx(
|
|
2555
2576
|
"button",
|
|
2556
2577
|
{
|
|
2557
|
-
className:
|
|
2578
|
+
className: ie.b,
|
|
2558
2579
|
onClick: () => {
|
|
2559
2580
|
var _;
|
|
2560
|
-
return (_ =
|
|
2581
|
+
return (_ = X[c]) == null ? void 0 : _.call(X, !1);
|
|
2561
2582
|
},
|
|
2562
2583
|
children: "✕"
|
|
2563
2584
|
}
|
|
@@ -2569,101 +2590,102 @@ const vo = "_q_1wgf4_2", go = "_o_1wgf4_11", ho = "_x_1wgf4_25", mo = "_c_1wgf4_
|
|
|
2569
2590
|
)
|
|
2570
2591
|
}
|
|
2571
2592
|
);
|
|
2572
|
-
},
|
|
2573
|
-
var
|
|
2574
|
-
(
|
|
2593
|
+
}, Ao = (t, r) => {
|
|
2594
|
+
var n;
|
|
2595
|
+
(n = X[t]) == null || n.call(X, r);
|
|
2575
2596
|
}, U = {
|
|
2576
2597
|
state: [!1],
|
|
2577
2598
|
listen: [],
|
|
2578
2599
|
prev: {},
|
|
2579
2600
|
router: (t) => {
|
|
2580
|
-
t === !1 ? (
|
|
2581
|
-
var
|
|
2601
|
+
t === !1 ? (O.WebApp.BackButton.isVisible = !1, O.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.state.length !== 1 && U.state.pop()) : (O.WebApp.BackButton.isVisible = !0, O.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.listen.push(() => {
|
|
2602
|
+
var n;
|
|
2582
2603
|
let r = U.state.pop();
|
|
2583
|
-
U.prev = Ce.getPage(), r.page !== void 0 ? Ce.setPage(r.page) : (
|
|
2584
|
-
}),
|
|
2604
|
+
U.prev = Ce.getPage(), r.page !== void 0 ? Ce.setPage(r.page) : (n = r.callback) == null || n.call(r);
|
|
2605
|
+
}), fe.BackButton.onClick(U.listen[0]));
|
|
2585
2606
|
}
|
|
2586
|
-
},
|
|
2587
|
-
var
|
|
2607
|
+
}, G = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
|
|
2608
|
+
var O;
|
|
2588
2609
|
((t) => {
|
|
2589
2610
|
var r;
|
|
2590
2611
|
t.WebApp = typeof window < "u" && ((r = window.Telegram) == null ? void 0 : r.WebApp) || {}, t.getUser = () => {
|
|
2591
|
-
var
|
|
2592
|
-
return ((
|
|
2593
|
-
}, t.Location = (
|
|
2594
|
-
if (
|
|
2595
|
-
return
|
|
2612
|
+
var n;
|
|
2613
|
+
return ((n = t.WebApp.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : t.WebApp.initDataUnsafe;
|
|
2614
|
+
}, t.Location = (n) => {
|
|
2615
|
+
if (de.is)
|
|
2616
|
+
return n({ latitude: 55.752555, longitude: 37.623123 });
|
|
2596
2617
|
let s = () => {
|
|
2597
2618
|
t.WebApp.LocationManager.getLocation(async (i) => {
|
|
2598
2619
|
if (!i) {
|
|
2599
2620
|
t.WebApp.LocationManager.isAccessRequested || t.WebApp.LocationManager.openSettings();
|
|
2600
2621
|
return;
|
|
2601
2622
|
}
|
|
2602
|
-
|
|
2623
|
+
n(i);
|
|
2603
2624
|
});
|
|
2604
2625
|
};
|
|
2605
2626
|
!t.WebApp.LocationManager || !t.WebApp.LocationManager.isInited ? t.WebApp.LocationManager.init(() => {
|
|
2606
2627
|
s();
|
|
2607
2628
|
}) : s();
|
|
2608
2629
|
}, t.Notice = {
|
|
2609
|
-
Send: (
|
|
2630
|
+
Send: (n, s, i) => {
|
|
2610
2631
|
var c, d;
|
|
2611
|
-
s !== void 0 ? (
|
|
2632
|
+
s !== void 0 ? (Ee.Send({ type: n, text: s, thema: i }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(n)) : (Ee.Send(n), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(n.type));
|
|
2612
2633
|
},
|
|
2613
|
-
Error: (
|
|
2634
|
+
Error: (n) => {
|
|
2614
2635
|
var s;
|
|
2615
|
-
|
|
2636
|
+
Ee.Send({ type: "error", text: n }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("error");
|
|
2616
2637
|
},
|
|
2617
|
-
Success: (
|
|
2638
|
+
Success: (n) => {
|
|
2618
2639
|
var s;
|
|
2619
|
-
|
|
2640
|
+
Ee.Send({ type: "success", text: n }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("success");
|
|
2620
2641
|
},
|
|
2621
|
-
Warning: (
|
|
2642
|
+
Warning: (n) => {
|
|
2622
2643
|
var s;
|
|
2623
|
-
|
|
2644
|
+
Ee.Send({ type: "warning", text: n }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
|
|
2624
2645
|
}
|
|
2625
|
-
}, t.Header =
|
|
2646
|
+
}, t.Header = fn, t.TabBar = Kn, t.Title = Qn, t.BottomSheet = dr, t.BottomSheetControllerSheet = Ao, t.SafeArea = hn, t.Loading = bn, t.Sidebar = Bn, t.SidePanel = oo, t.AppBar = go, t.SideBarController = In, t.SidePanelController = ao, t.Scroll = uo, t.Modal = Yt, t.Menu = kn, t.MainButton = {
|
|
2626
2647
|
callback: [],
|
|
2627
|
-
set: (
|
|
2628
|
-
|
|
2648
|
+
set: (n) => {
|
|
2649
|
+
de.is ? de.MainButton.set(n) : (t.WebApp.MainButton.callback.forEach((s) => {
|
|
2629
2650
|
t.WebApp.MainButton.offClick(s);
|
|
2630
|
-
}), t.WebApp.MainButton.callback = [], typeof
|
|
2651
|
+
}), t.WebApp.MainButton.callback = [], typeof n == "boolean" ? t.WebApp.MainButton.isVisible = !1 : (t.WebApp.MainButton.text = n.text, n.color && (t.WebApp.MainButton.color = n.color), n.textColor && (t.WebApp.MainButton.textColor = n.textColor), t.WebApp.MainButton.isVisible = !0, t.WebApp.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, t.WebApp.MainButton.callback.push(() => {
|
|
2631
2652
|
var s;
|
|
2632
|
-
|
|
2653
|
+
n.page === void 0 ? (s = n.callback) == null || s.call(n) : Ce.setPage(n.page);
|
|
2633
2654
|
}), t.WebApp.MainButton.onClick(
|
|
2634
2655
|
t.WebApp.MainButton.callback[0]
|
|
2635
2656
|
)));
|
|
2636
2657
|
}
|
|
2637
2658
|
}, t.BackButtonPrev = () => {
|
|
2638
2659
|
U.prev && (0, t.BackButton)(U.prev);
|
|
2639
|
-
}, t.BackButtonState = () => U.state, t.BackButton = (
|
|
2640
|
-
|
|
2660
|
+
}, t.BackButtonState = () => U.state, t.BackButton = (n) => {
|
|
2661
|
+
de.is ? de.BackButton.set(n) : (U.state.push(n), U.router(n));
|
|
2641
2662
|
};
|
|
2642
|
-
})(
|
|
2643
|
-
const
|
|
2663
|
+
})(O || (O = {}));
|
|
2664
|
+
const Oo = O.TabBar, Po = dr, nr = O.BackButton, Co = O.BackButtonPrev, jo = O.BackButtonState, To = O.Notice, $o = O.SafeArea, No = O.Loading, Mo = O.Menu, Bo = O.SidePanel, Io = O.Scroll, Lo = O.AppBar, Do = O.Title, Uo = O.Sidebar, Fo = O.Location, Wo = O.SidePanelController, qo = O.SideBarController, Yo = O.BottomSheetControllerSheet, { Header: zo, Modal: Vo, MainButton: Jo, WebApp: fe, getUser: Ho } = O;
|
|
2644
2665
|
export {
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2666
|
+
Lo as AppBar,
|
|
2667
|
+
nr as BackButton,
|
|
2668
|
+
Co as BackButtonPrev,
|
|
2669
|
+
jo as BackButtonState,
|
|
2670
|
+
Po as BottomSheet,
|
|
2671
|
+
Yo as BottomSheetControllerSheet,
|
|
2672
|
+
zo as Header,
|
|
2673
|
+
No as Loading,
|
|
2674
|
+
Fo as Location,
|
|
2675
|
+
Jo as MainButton,
|
|
2676
|
+
Mo as Menu,
|
|
2677
|
+
Vo as Modal,
|
|
2678
|
+
To as Notice,
|
|
2679
|
+
$o as SafeArea,
|
|
2680
|
+
Io as Scroll,
|
|
2681
|
+
qo as SideBarController,
|
|
2682
|
+
Bo as SidePanel,
|
|
2683
|
+
Wo as SidePanelController,
|
|
2684
|
+
Uo as Sidebar,
|
|
2685
|
+
Oo as TabBar,
|
|
2686
|
+
Do as Title,
|
|
2687
|
+
fe as WebApp,
|
|
2688
|
+
G as clsx,
|
|
2689
|
+
O as default,
|
|
2690
|
+
Ho as getUser
|
|
2669
2691
|
};
|