@elcrm/telegram 0.0.62 → 0.0.64
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/Footer/Footer.d.ts +2 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +453 -434
- package/dist/index.umd.js +16 -16
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import P, { useState as
|
|
2
|
-
import './index.css';var
|
|
1
|
+
import P, { useState as Ot, useEffect as Tt } from "react";
|
|
2
|
+
import './index.css';var Ct = { exports: {} }, Ve = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,17 +9,17 @@ import './index.css';var Tt = { exports: {} }, Ve = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
12
|
+
var Pt;
|
|
13
|
+
function Vt() {
|
|
14
|
+
if (Pt) return Ve;
|
|
15
|
+
Pt = 1;
|
|
16
16
|
var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, m = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
-
function j(
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
for (
|
|
21
|
-
if (
|
|
22
|
-
return { $$typeof: o, type:
|
|
17
|
+
function j(k, d, x) {
|
|
18
|
+
var p, R = {}, I = null, A = null;
|
|
19
|
+
x !== void 0 && (I = "" + x), d.key !== void 0 && (I = "" + d.key), d.ref !== void 0 && (A = d.ref);
|
|
20
|
+
for (p in d) u.call(d, p) && !y.hasOwnProperty(p) && (R[p] = d[p]);
|
|
21
|
+
if (k && k.defaultProps) for (p in d = k.defaultProps, d) R[p] === void 0 && (R[p] = d[p]);
|
|
22
|
+
return { $$typeof: o, type: k, key: I, ref: A, props: R, _owner: m.current };
|
|
23
23
|
}
|
|
24
24
|
return Ve.Fragment = l, Ve.jsx = j, Ve.jsxs = j, Ve;
|
|
25
25
|
}
|
|
@@ -33,17 +33,17 @@ var ze = {};
|
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
return
|
|
39
|
-
var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"),
|
|
40
|
-
function
|
|
36
|
+
var At;
|
|
37
|
+
function zt() {
|
|
38
|
+
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), k = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), V = Symbol.iterator, _e = "@@iterator";
|
|
40
|
+
function Re(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
43
|
-
var t = V && e[V] || e[
|
|
43
|
+
var t = V && e[V] || e[_e];
|
|
44
44
|
return typeof t == "function" ? t : null;
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var N = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
47
|
function S(e) {
|
|
48
48
|
{
|
|
49
49
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
@@ -53,18 +53,18 @@ function Vt() {
|
|
|
53
53
|
}
|
|
54
54
|
function ye(e, t, r) {
|
|
55
55
|
{
|
|
56
|
-
var a =
|
|
56
|
+
var a = N.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
57
57
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
58
|
-
var
|
|
58
|
+
var g = r.map(function(s) {
|
|
59
59
|
return String(s);
|
|
60
60
|
});
|
|
61
|
-
|
|
61
|
+
g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var ke = !1, Ee = !1, h = !1, E = !1,
|
|
64
|
+
var ke = !1, Ee = !1, h = !1, E = !1, F = !1, M;
|
|
65
65
|
M = Symbol.for("react.module.reference");
|
|
66
66
|
function U(e) {
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === y ||
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === y || F || e === m || e === x || e === p || E || e === A || ke || Ee || h || typeof e == "object" && e !== null && (e.$$typeof === I || e.$$typeof === R || e.$$typeof === j || e.$$typeof === k || e.$$typeof === d || // This needs to include all possible module reference object
|
|
68
68
|
// types supported by any Flight configuration anywhere since
|
|
69
69
|
// we don't know which Flight build this will end up being used
|
|
70
70
|
// with.
|
|
@@ -96,14 +96,14 @@ function Vt() {
|
|
|
96
96
|
return "Profiler";
|
|
97
97
|
case m:
|
|
98
98
|
return "StrictMode";
|
|
99
|
-
case
|
|
99
|
+
case x:
|
|
100
100
|
return "Suspense";
|
|
101
|
-
case
|
|
101
|
+
case p:
|
|
102
102
|
return "SuspenseList";
|
|
103
103
|
}
|
|
104
104
|
if (typeof e == "object")
|
|
105
105
|
switch (e.$$typeof) {
|
|
106
|
-
case
|
|
106
|
+
case k:
|
|
107
107
|
var t = e;
|
|
108
108
|
return ae(t) + ".Consumer";
|
|
109
109
|
case j:
|
|
@@ -111,13 +111,13 @@ function Vt() {
|
|
|
111
111
|
return ae(r._context) + ".Provider";
|
|
112
112
|
case d:
|
|
113
113
|
return oe(e, e.render, "ForwardRef");
|
|
114
|
-
case
|
|
114
|
+
case R:
|
|
115
115
|
var a = e.displayName || null;
|
|
116
116
|
return a !== null ? a : B(e.type) || "Memo";
|
|
117
117
|
case I: {
|
|
118
|
-
var f = e,
|
|
118
|
+
var f = e, g = f._payload, s = f._init;
|
|
119
119
|
try {
|
|
120
|
-
return B(s(
|
|
120
|
+
return B(s(g));
|
|
121
121
|
} catch {
|
|
122
122
|
return null;
|
|
123
123
|
}
|
|
@@ -125,13 +125,13 @@ function Vt() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var
|
|
128
|
+
var D = Object.assign, $ = 0, q, K, G, Se, xe, Oe, Te;
|
|
129
129
|
function Ce() {
|
|
130
130
|
}
|
|
131
131
|
Ce.__reactDisabledLog = !0;
|
|
132
|
-
function
|
|
132
|
+
function Qe() {
|
|
133
133
|
{
|
|
134
|
-
if (
|
|
134
|
+
if ($ === 0) {
|
|
135
135
|
q = console.log, K = console.info, G = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed, Te = console.groupEnd;
|
|
136
136
|
var e = {
|
|
137
137
|
configurable: !0,
|
|
@@ -149,46 +149,46 @@ function Vt() {
|
|
|
149
149
|
groupEnd: e
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
$++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function et() {
|
|
156
156
|
{
|
|
157
|
-
if (
|
|
157
|
+
if ($--, $ === 0) {
|
|
158
158
|
var e = {
|
|
159
159
|
configurable: !0,
|
|
160
160
|
enumerable: !0,
|
|
161
161
|
writable: !0
|
|
162
162
|
};
|
|
163
163
|
Object.defineProperties(console, {
|
|
164
|
-
log:
|
|
164
|
+
log: D({}, e, {
|
|
165
165
|
value: q
|
|
166
166
|
}),
|
|
167
|
-
info:
|
|
167
|
+
info: D({}, e, {
|
|
168
168
|
value: K
|
|
169
169
|
}),
|
|
170
|
-
warn:
|
|
170
|
+
warn: D({}, e, {
|
|
171
171
|
value: G
|
|
172
172
|
}),
|
|
173
|
-
error:
|
|
173
|
+
error: D({}, e, {
|
|
174
174
|
value: Se
|
|
175
175
|
}),
|
|
176
|
-
group:
|
|
176
|
+
group: D({}, e, {
|
|
177
177
|
value: xe
|
|
178
178
|
}),
|
|
179
|
-
groupCollapsed:
|
|
179
|
+
groupCollapsed: D({}, e, {
|
|
180
180
|
value: Oe
|
|
181
181
|
}),
|
|
182
|
-
groupEnd:
|
|
182
|
+
groupEnd: D({}, e, {
|
|
183
183
|
value: Te
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
$ < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
var se =
|
|
191
|
-
function
|
|
190
|
+
var se = N.ReactCurrentDispatcher, le;
|
|
191
|
+
function H(e, t, r) {
|
|
192
192
|
{
|
|
193
193
|
if (le === void 0)
|
|
194
194
|
try {
|
|
@@ -201,16 +201,16 @@ function Vt() {
|
|
|
201
201
|
` + le + e;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
var ue = !1,
|
|
204
|
+
var ue = !1, X;
|
|
205
205
|
{
|
|
206
|
-
var
|
|
207
|
-
|
|
206
|
+
var tt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
X = new tt();
|
|
208
208
|
}
|
|
209
209
|
function je(e, t) {
|
|
210
210
|
if (!e || ue)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
213
|
-
var r =
|
|
213
|
+
var r = X.get(e);
|
|
214
214
|
if (r !== void 0)
|
|
215
215
|
return r;
|
|
216
216
|
}
|
|
@@ -218,8 +218,8 @@ function Vt() {
|
|
|
218
218
|
ue = !0;
|
|
219
219
|
var f = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
|
-
var
|
|
222
|
-
|
|
221
|
+
var g;
|
|
222
|
+
g = se.current, se.current = null, Qe();
|
|
223
223
|
try {
|
|
224
224
|
if (t) {
|
|
225
225
|
var s = function() {
|
|
@@ -256,31 +256,31 @@ function Vt() {
|
|
|
256
256
|
if (T && a && typeof T.stack == "string") {
|
|
257
257
|
for (var i = T.stack.split(`
|
|
258
258
|
`), O = a.stack.split(`
|
|
259
|
-
`), b = i.length - 1,
|
|
260
|
-
|
|
261
|
-
for (; b >= 1 &&
|
|
262
|
-
if (i[b] !== O[
|
|
263
|
-
if (b !== 1 ||
|
|
259
|
+
`), b = i.length - 1, _ = O.length - 1; b >= 1 && _ >= 0 && i[b] !== O[_]; )
|
|
260
|
+
_--;
|
|
261
|
+
for (; b >= 1 && _ >= 0; b--, _--)
|
|
262
|
+
if (i[b] !== O[_]) {
|
|
263
|
+
if (b !== 1 || _ !== 1)
|
|
264
264
|
do
|
|
265
|
-
if (b--,
|
|
265
|
+
if (b--, _--, _ < 0 || i[b] !== O[_]) {
|
|
266
266
|
var w = `
|
|
267
267
|
` + i[b].replace(" at new ", " at ");
|
|
268
|
-
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
268
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, w), w;
|
|
269
269
|
}
|
|
270
|
-
while (b >= 1 &&
|
|
270
|
+
while (b >= 1 && _ >= 0);
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
ue = !1, se.current =
|
|
275
|
+
ue = !1, se.current = g, et(), Error.prepareStackTrace = f;
|
|
276
276
|
}
|
|
277
|
-
var W = e ? e.displayName || e.name : "", L = W ?
|
|
278
|
-
return typeof e == "function" &&
|
|
277
|
+
var W = e ? e.displayName || e.name : "", L = W ? H(W) : "";
|
|
278
|
+
return typeof e == "function" && X.set(e, L), L;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function rt(e, t, r) {
|
|
281
281
|
return je(e, !1);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function nt(e) {
|
|
284
284
|
var t = e.prototype;
|
|
285
285
|
return !!(t && t.isReactComponent);
|
|
286
286
|
}
|
|
@@ -288,32 +288,32 @@ function Vt() {
|
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
291
|
-
return je(e,
|
|
291
|
+
return je(e, nt(e));
|
|
292
292
|
if (typeof e == "string")
|
|
293
|
-
return
|
|
293
|
+
return H(e);
|
|
294
294
|
switch (e) {
|
|
295
|
-
case
|
|
296
|
-
return
|
|
297
|
-
case
|
|
298
|
-
return
|
|
295
|
+
case x:
|
|
296
|
+
return H("Suspense");
|
|
297
|
+
case p:
|
|
298
|
+
return H("SuspenseList");
|
|
299
299
|
}
|
|
300
300
|
if (typeof e == "object")
|
|
301
301
|
switch (e.$$typeof) {
|
|
302
302
|
case d:
|
|
303
|
-
return
|
|
304
|
-
case
|
|
303
|
+
return rt(e.render);
|
|
304
|
+
case R:
|
|
305
305
|
return Q(e.type, t, r);
|
|
306
306
|
case I: {
|
|
307
|
-
var a = e, f = a._payload,
|
|
307
|
+
var a = e, f = a._payload, g = a._init;
|
|
308
308
|
try {
|
|
309
|
-
return Q(
|
|
309
|
+
return Q(g(f), t, r);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var z = Object.prototype.hasOwnProperty, we = {}, Pe =
|
|
316
|
+
var z = Object.prototype.hasOwnProperty, we = {}, Pe = N.ReactDebugCurrentFrame;
|
|
317
317
|
function ee(e) {
|
|
318
318
|
if (e) {
|
|
319
319
|
var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
|
|
@@ -321,11 +321,11 @@ function Vt() {
|
|
|
321
321
|
} else
|
|
322
322
|
Pe.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function ot(e, t, r, a, f) {
|
|
325
325
|
{
|
|
326
|
-
var
|
|
326
|
+
var g = Function.call.bind(z);
|
|
327
327
|
for (var s in e)
|
|
328
|
-
if (
|
|
328
|
+
if (g(e, s)) {
|
|
329
329
|
var i = void 0;
|
|
330
330
|
try {
|
|
331
331
|
if (typeof e[s] != "function") {
|
|
@@ -340,17 +340,17 @@ function Vt() {
|
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var at = Array.isArray;
|
|
344
344
|
function ce(e) {
|
|
345
|
-
return
|
|
345
|
+
return at(e);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function it(e) {
|
|
348
348
|
{
|
|
349
349
|
var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
350
|
return r;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function st(e) {
|
|
354
354
|
try {
|
|
355
355
|
return Ae(e), !1;
|
|
356
356
|
} catch {
|
|
@@ -361,16 +361,16 @@ function Vt() {
|
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
363
|
function Be(e) {
|
|
364
|
-
if (
|
|
365
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
364
|
+
if (st(e))
|
|
365
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Ae(e);
|
|
366
366
|
}
|
|
367
|
-
var Ie =
|
|
367
|
+
var Ie = N.ReactCurrentOwner, lt = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
|
-
},
|
|
373
|
-
function
|
|
372
|
+
}, Fe, De;
|
|
373
|
+
function ut(e) {
|
|
374
374
|
if (z.call(e, "ref")) {
|
|
375
375
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
376
|
if (t && t.isReactWarning)
|
|
@@ -378,7 +378,7 @@ function Vt() {
|
|
|
378
378
|
}
|
|
379
379
|
return e.ref !== void 0;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function ct(e) {
|
|
382
382
|
if (z.call(e, "key")) {
|
|
383
383
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
384
384
|
if (t && t.isReactWarning)
|
|
@@ -386,13 +386,13 @@ function Vt() {
|
|
|
386
386
|
}
|
|
387
387
|
return e.key !== void 0;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function ft(e, t) {
|
|
390
390
|
typeof e.ref == "string" && Ie.current;
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function dt(e, t) {
|
|
393
393
|
{
|
|
394
394
|
var r = function() {
|
|
395
|
-
|
|
395
|
+
Fe || (Fe = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
396
396
|
};
|
|
397
397
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
398
|
get: r,
|
|
@@ -400,10 +400,10 @@ function Vt() {
|
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function pt(e, t) {
|
|
404
404
|
{
|
|
405
405
|
var r = function() {
|
|
406
|
-
|
|
406
|
+
De || (De = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
407
407
|
};
|
|
408
408
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
409
|
get: r,
|
|
@@ -411,7 +411,7 @@ function Vt() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var
|
|
414
|
+
var gt = function(e, t, r, a, f, g, s) {
|
|
415
415
|
var i = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
417
|
$$typeof: o,
|
|
@@ -421,7 +421,7 @@ function Vt() {
|
|
|
421
421
|
ref: r,
|
|
422
422
|
props: s,
|
|
423
423
|
// Record the component responsible for creating this element.
|
|
424
|
-
_owner:
|
|
424
|
+
_owner: g
|
|
425
425
|
};
|
|
426
426
|
return i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
427
427
|
configurable: !1,
|
|
@@ -442,23 +442,23 @@ function Vt() {
|
|
|
442
442
|
};
|
|
443
443
|
function vt(e, t, r, a, f) {
|
|
444
444
|
{
|
|
445
|
-
var
|
|
446
|
-
r !== void 0 && (Be(r), i = "" + r),
|
|
447
|
-
for (
|
|
448
|
-
z.call(t,
|
|
445
|
+
var g, s = {}, i = null, O = null;
|
|
446
|
+
r !== void 0 && (Be(r), i = "" + r), ct(t) && (Be(t.key), i = "" + t.key), ut(t) && (O = t.ref, ft(t, f));
|
|
447
|
+
for (g in t)
|
|
448
|
+
z.call(t, g) && !lt.hasOwnProperty(g) && (s[g] = t[g]);
|
|
449
449
|
if (e && e.defaultProps) {
|
|
450
450
|
var b = e.defaultProps;
|
|
451
|
-
for (
|
|
452
|
-
s[
|
|
451
|
+
for (g in b)
|
|
452
|
+
s[g] === void 0 && (s[g] = b[g]);
|
|
453
453
|
}
|
|
454
454
|
if (i || O) {
|
|
455
|
-
var
|
|
456
|
-
i &&
|
|
455
|
+
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
+
i && dt(s, _), O && pt(s, _);
|
|
457
457
|
}
|
|
458
|
-
return
|
|
458
|
+
return gt(e, i, O, f, a, Ie.current, s);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var fe =
|
|
461
|
+
var fe = N.ReactCurrentOwner, Me = N.ReactDebugCurrentFrame;
|
|
462
462
|
function Y(e) {
|
|
463
463
|
if (e) {
|
|
464
464
|
var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
|
|
@@ -471,7 +471,7 @@ function Vt() {
|
|
|
471
471
|
function pe(e) {
|
|
472
472
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function $e() {
|
|
475
475
|
{
|
|
476
476
|
if (fe.current) {
|
|
477
477
|
var e = B(fe.current.type);
|
|
@@ -483,13 +483,13 @@ Check the render method of \`` + e + "`.";
|
|
|
483
483
|
return "";
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function mt(e) {
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
|
-
var
|
|
490
|
-
function
|
|
489
|
+
var Ne = {};
|
|
490
|
+
function yt(e) {
|
|
491
491
|
{
|
|
492
|
-
var t =
|
|
492
|
+
var t = $e();
|
|
493
493
|
if (!t) {
|
|
494
494
|
var r = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
495
|
r && (t = `
|
|
@@ -504,10 +504,10 @@ Check the top-level render call using <` + r + ">.");
|
|
|
504
504
|
if (!e._store || e._store.validated || e.key != null)
|
|
505
505
|
return;
|
|
506
506
|
e._store.validated = !0;
|
|
507
|
-
var r =
|
|
508
|
-
if (
|
|
507
|
+
var r = yt(t);
|
|
508
|
+
if (Ne[r])
|
|
509
509
|
return;
|
|
510
|
-
|
|
510
|
+
Ne[r] = !0;
|
|
511
511
|
var a = "";
|
|
512
512
|
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + B(e._owner.type) + "."), Y(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Y(null);
|
|
513
513
|
}
|
|
@@ -524,14 +524,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
524
524
|
else if (pe(e))
|
|
525
525
|
e._store && (e._store.validated = !0);
|
|
526
526
|
else if (e) {
|
|
527
|
-
var f =
|
|
527
|
+
var f = Re(e);
|
|
528
528
|
if (typeof f == "function" && f !== e.entries)
|
|
529
|
-
for (var
|
|
529
|
+
for (var g = f.call(e), s; !(s = g.next()).done; )
|
|
530
530
|
pe(s.value) && Le(s.value, t);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function ht(e) {
|
|
535
535
|
{
|
|
536
536
|
var t = e.type;
|
|
537
537
|
if (t == null || typeof t == "string")
|
|
@@ -541,13 +541,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
541
541
|
r = t.propTypes;
|
|
542
542
|
else if (typeof t == "object" && (t.$$typeof === d || // Note: Memo only checks outer props here.
|
|
543
543
|
// Inner props are checked in the reconciler.
|
|
544
|
-
t.$$typeof ===
|
|
544
|
+
t.$$typeof === R))
|
|
545
545
|
r = t.propTypes;
|
|
546
546
|
else
|
|
547
547
|
return;
|
|
548
548
|
if (r) {
|
|
549
549
|
var a = B(t);
|
|
550
|
-
|
|
550
|
+
ot(r, e.props, "prop", a, e);
|
|
551
551
|
} else if (t.PropTypes !== void 0 && !de) {
|
|
552
552
|
de = !0;
|
|
553
553
|
var f = B(t);
|
|
@@ -556,7 +556,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
556
556
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function bt(e) {
|
|
560
560
|
{
|
|
561
561
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
562
562
|
var a = t[r];
|
|
@@ -569,20 +569,20 @@ Check the top-level render call using <` + r + ">.");
|
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
var Ye = {};
|
|
572
|
-
function We(e, t, r, a, f,
|
|
572
|
+
function We(e, t, r, a, f, g) {
|
|
573
573
|
{
|
|
574
574
|
var s = U(e);
|
|
575
575
|
if (!s) {
|
|
576
576
|
var i = "";
|
|
577
577
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
|
-
var O =
|
|
579
|
-
O ? i += O : i +=
|
|
578
|
+
var O = mt();
|
|
579
|
+
O ? i += O : i += $e();
|
|
580
580
|
var b;
|
|
581
581
|
e === null ? b = "null" : ce(e) ? b = "array" : e !== void 0 && e.$$typeof === o ? (b = "<" + (B(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, i);
|
|
582
582
|
}
|
|
583
|
-
var
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
583
|
+
var _ = vt(e, t, r, f, g);
|
|
584
|
+
if (_ == null)
|
|
585
|
+
return _;
|
|
586
586
|
if (s) {
|
|
587
587
|
var w = t.children;
|
|
588
588
|
if (w !== void 0)
|
|
@@ -597,73 +597,73 @@ Check the top-level render call using <` + r + ">.");
|
|
|
597
597
|
Ue(w, e);
|
|
598
598
|
}
|
|
599
599
|
if (z.call(t, "key")) {
|
|
600
|
-
var L = B(e), T = Object.keys(t).filter(function(
|
|
601
|
-
return
|
|
602
|
-
}),
|
|
603
|
-
if (!Ye[L +
|
|
604
|
-
var
|
|
600
|
+
var L = B(e), T = Object.keys(t).filter(function(xt) {
|
|
601
|
+
return xt !== "key";
|
|
602
|
+
}), ge = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!Ye[L + ge]) {
|
|
604
|
+
var St = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
|
|
605
605
|
S(`A props object containing a "key" prop is being spread into JSX:
|
|
606
606
|
let props = %s;
|
|
607
607
|
<%s {...props} />
|
|
608
608
|
React keys must be passed directly to JSX without using spread:
|
|
609
609
|
let props = %s;
|
|
610
|
-
<%s key={someKey} {...props} />`,
|
|
610
|
+
<%s key={someKey} {...props} />`, ge, L, St, L), Ye[L + ge] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
return e === u ?
|
|
613
|
+
return e === u ? bt(_) : ht(_), _;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function _t(e, t, r) {
|
|
617
617
|
return We(e, t, r, !0);
|
|
618
618
|
}
|
|
619
619
|
function Rt(e, t, r) {
|
|
620
620
|
return We(e, t, r, !1);
|
|
621
621
|
}
|
|
622
|
-
var
|
|
623
|
-
ze.Fragment = u, ze.jsx =
|
|
622
|
+
var kt = Rt, Et = _t;
|
|
623
|
+
ze.Fragment = u, ze.jsx = kt, ze.jsxs = Et;
|
|
624
624
|
}()), ze;
|
|
625
625
|
}
|
|
626
|
-
process.env.NODE_ENV === "production" ?
|
|
627
|
-
var c =
|
|
626
|
+
process.env.NODE_ENV === "production" ? Ct.exports = Vt() : Ct.exports = zt();
|
|
627
|
+
var c = Ct.exports;
|
|
628
628
|
let Z = {};
|
|
629
|
-
var
|
|
629
|
+
var jt;
|
|
630
630
|
((n) => {
|
|
631
|
-
function o({ children:
|
|
632
|
-
const [d,
|
|
631
|
+
function o({ children: k }) {
|
|
632
|
+
const [d, x] = Ot(!1), [p, R] = Ot(!1);
|
|
633
633
|
if (Z.onClose = () => {
|
|
634
|
-
|
|
635
|
-
|
|
634
|
+
v.BackButton.set(!1), R(!0), setTimeout(() => {
|
|
635
|
+
x(!1), R(!1);
|
|
636
636
|
}, 300);
|
|
637
|
-
},
|
|
638
|
-
d ? Z.onClose() : (
|
|
637
|
+
}, Tt(() => {
|
|
638
|
+
d ? Z.onClose() : (v.BackButton.set({
|
|
639
639
|
callback: () => Z.onClose()
|
|
640
|
-
}),
|
|
640
|
+
}), x(!0));
|
|
641
641
|
}, []), !!d)
|
|
642
|
-
return /* @__PURE__ */ c.jsx("div", { className: `modal-overlay ${
|
|
642
|
+
return /* @__PURE__ */ c.jsx("div", { className: `modal-overlay ${p ? "closing" : ""}`, children: /* @__PURE__ */ c.jsx("div", { className: `modal-popup ${p ? "closing" : ""}`, children: /* @__PURE__ */ c.jsx("div", { children: k }) }) });
|
|
643
643
|
}
|
|
644
644
|
n.Content = o;
|
|
645
645
|
function l({
|
|
646
|
-
import_modules:
|
|
646
|
+
import_modules: k
|
|
647
647
|
}) {
|
|
648
|
-
let [d,
|
|
649
|
-
return Z.x = (
|
|
650
|
-
|
|
651
|
-
},
|
|
652
|
-
|
|
653
|
-
}, []), Z.add = (
|
|
654
|
-
|
|
655
|
-
}, /* @__PURE__ */ c.jsx(c.Fragment, { children: d.map((
|
|
648
|
+
let [d, x] = Ot([]);
|
|
649
|
+
return Z.x = (p) => {
|
|
650
|
+
x(p ? d.filter((R) => R.key !== p) : []);
|
|
651
|
+
}, Tt(() => {
|
|
652
|
+
k && (Z.i = k);
|
|
653
|
+
}, []), Z.add = (p, R = Date.now()) => {
|
|
654
|
+
x([...d, { key: R, item: p }]);
|
|
655
|
+
}, /* @__PURE__ */ c.jsx(c.Fragment, { children: d.map((p) => p.item) });
|
|
656
656
|
}
|
|
657
657
|
n.Init = l;
|
|
658
|
-
function u(
|
|
659
|
-
Z.add(/* @__PURE__ */ c.jsx(o, { children:
|
|
658
|
+
function u(k, d) {
|
|
659
|
+
Z.add(/* @__PURE__ */ c.jsx(o, { children: k }, String(Date.now())), d);
|
|
660
660
|
}
|
|
661
661
|
n.Add = u;
|
|
662
|
-
function m(
|
|
662
|
+
function m(k) {
|
|
663
663
|
return {
|
|
664
|
-
Open: (
|
|
664
|
+
Open: (p) => {
|
|
665
665
|
n.Add(
|
|
666
|
-
/* @__PURE__ */ c.jsx(
|
|
666
|
+
/* @__PURE__ */ c.jsx(k, { ...p }, (/* @__PURE__ */ new Date()).getTime())
|
|
667
667
|
);
|
|
668
668
|
}
|
|
669
669
|
};
|
|
@@ -673,14 +673,14 @@ var Ct;
|
|
|
673
673
|
Z.onClose();
|
|
674
674
|
}
|
|
675
675
|
n.Close = y;
|
|
676
|
-
function j(
|
|
677
|
-
Z.i && Z.i(`${
|
|
678
|
-
|
|
676
|
+
function j(k, d, x) {
|
|
677
|
+
Z.i && Z.i(`${k}/modals/${d}.tsx`).then((p) => {
|
|
678
|
+
p.default.Open(x);
|
|
679
679
|
});
|
|
680
680
|
}
|
|
681
681
|
n.Open = j;
|
|
682
|
-
})(
|
|
683
|
-
function
|
|
682
|
+
})(jt || (jt = {}));
|
|
683
|
+
function $t() {
|
|
684
684
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
685
685
|
}
|
|
686
686
|
const Nt = {
|
|
@@ -688,12 +688,12 @@ const Nt = {
|
|
|
688
688
|
iterations: 7,
|
|
689
689
|
saltLength: 16
|
|
690
690
|
};
|
|
691
|
-
function
|
|
692
|
-
const o =
|
|
691
|
+
function Bt(n) {
|
|
692
|
+
const o = $t();
|
|
693
693
|
o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...n } : o.CRYPTO_PARAMS = { ...Nt, ...n };
|
|
694
694
|
}
|
|
695
695
|
function Ge() {
|
|
696
|
-
return
|
|
696
|
+
return $t().CRYPTO_PARAMS || Nt;
|
|
697
697
|
}
|
|
698
698
|
const Ze = (n) => {
|
|
699
699
|
let o = 0;
|
|
@@ -708,7 +708,7 @@ const Ze = (n) => {
|
|
|
708
708
|
l += m.toString(16).padStart(2, "0");
|
|
709
709
|
}
|
|
710
710
|
return l;
|
|
711
|
-
},
|
|
711
|
+
}, Lt = (n, o) => {
|
|
712
712
|
let l = n + o;
|
|
713
713
|
for (let m = 0; m < Ge().iterations; m++)
|
|
714
714
|
l = Ze(l);
|
|
@@ -716,7 +716,7 @@ const Ze = (n) => {
|
|
|
716
716
|
for (let m = 0; m < 32; m++)
|
|
717
717
|
u[m] = parseInt(l.substring(m * 2, m * 2 + 2), 16);
|
|
718
718
|
return u;
|
|
719
|
-
},
|
|
719
|
+
}, Ut = (n, o) => {
|
|
720
720
|
const l = new Uint8Array(n.length), u = new Uint8Array(n.length);
|
|
721
721
|
let m = 0;
|
|
722
722
|
for (let y = 0; y < n.length; y++) {
|
|
@@ -726,33 +726,33 @@ const Ze = (n) => {
|
|
|
726
726
|
for (let y = 0; y < n.length; y++)
|
|
727
727
|
l[y] = n[y] ^ u[y];
|
|
728
728
|
return l;
|
|
729
|
-
},
|
|
729
|
+
}, Jt = (n) => new TextEncoder().encode(n), qt = (n) => new TextDecoder().decode(n), Kt = (n) => {
|
|
730
730
|
let o = "";
|
|
731
731
|
for (let l = 0; l < n.length; l += 8192) {
|
|
732
732
|
const u = n.slice(l, Math.min(l + 8192, n.length));
|
|
733
733
|
o += String.fromCharCode.apply(null, Array.from(u));
|
|
734
734
|
}
|
|
735
735
|
return btoa(o);
|
|
736
|
-
},
|
|
736
|
+
}, Gt = (n) => {
|
|
737
737
|
const o = atob(n), l = new Uint8Array(o.length);
|
|
738
738
|
for (let u = 0; u < o.length; u++)
|
|
739
739
|
l[u] = o.charCodeAt(u);
|
|
740
740
|
return l;
|
|
741
|
-
},
|
|
741
|
+
}, Zt = (n) => {
|
|
742
742
|
try {
|
|
743
743
|
const o = Ze(
|
|
744
744
|
Date.now().toString() + Math.random()
|
|
745
|
-
).substring(0, Ge().saltLength * 2), l = Ze(n + o).substring(0, 8), u =
|
|
745
|
+
).substring(0, Ge().saltLength * 2), l = Ze(n + o).substring(0, 8), u = Lt(Ge().key, o), m = Jt(n), y = Ut(m, u), j = Kt(y);
|
|
746
746
|
return `${o}.${j}.${l}`;
|
|
747
747
|
} catch {
|
|
748
748
|
throw new Error("Не удалось зашифровать данные");
|
|
749
749
|
}
|
|
750
|
-
},
|
|
750
|
+
}, Ht = (n) => {
|
|
751
751
|
try {
|
|
752
752
|
const o = n.split(".");
|
|
753
753
|
if (o.length !== 3)
|
|
754
754
|
throw new Error("Неверный формат зашифрованных данных");
|
|
755
|
-
const l = o[0], u = o[1], m = o[2], y =
|
|
755
|
+
const l = o[0], u = o[1], m = o[2], y = Lt(Ge().key, l), j = Gt(u), k = Ut(j, y), d = qt(k);
|
|
756
756
|
if (Ze(d + l).substring(
|
|
757
757
|
0,
|
|
758
758
|
8
|
|
@@ -766,11 +766,11 @@ const Ze = (n) => {
|
|
|
766
766
|
var ie;
|
|
767
767
|
((n) => {
|
|
768
768
|
n.setKey = (o) => {
|
|
769
|
-
|
|
769
|
+
Bt({ key: o });
|
|
770
770
|
}, n.enCode = (o) => {
|
|
771
771
|
try {
|
|
772
772
|
const l = JSON.stringify(o);
|
|
773
|
-
return
|
|
773
|
+
return Zt(l);
|
|
774
774
|
} catch {
|
|
775
775
|
throw new Error("Не удалось зашифровать объект");
|
|
776
776
|
}
|
|
@@ -778,13 +778,13 @@ var ie;
|
|
|
778
778
|
try {
|
|
779
779
|
if (!o || o.length < 10)
|
|
780
780
|
return !1;
|
|
781
|
-
const l =
|
|
781
|
+
const l = Ht(o);
|
|
782
782
|
return l && JSON.parse(l) || !1;
|
|
783
783
|
} catch {
|
|
784
784
|
return !1;
|
|
785
785
|
}
|
|
786
786
|
}, n.setSecurityParams = (o, l) => {
|
|
787
|
-
|
|
787
|
+
Bt({ iterations: o, saltLength: l });
|
|
788
788
|
};
|
|
789
789
|
})(ie || (ie = {}));
|
|
790
790
|
var Je = {};
|
|
@@ -797,21 +797,21 @@ var Je = {};
|
|
|
797
797
|
* This source code is licensed under the MIT license found in the
|
|
798
798
|
* LICENSE file in the root directory of this source tree.
|
|
799
799
|
*/
|
|
800
|
-
var
|
|
800
|
+
var It;
|
|
801
801
|
function Xt() {
|
|
802
|
-
if (
|
|
803
|
-
|
|
802
|
+
if (It) return Je;
|
|
803
|
+
It = 1;
|
|
804
804
|
var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, m = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
805
|
-
function j(
|
|
806
|
-
var
|
|
807
|
-
|
|
808
|
-
for (
|
|
809
|
-
if (
|
|
810
|
-
return { $$typeof: o, type:
|
|
805
|
+
function j(k, d, x) {
|
|
806
|
+
var p, R = {}, I = null, A = null;
|
|
807
|
+
x !== void 0 && (I = "" + x), d.key !== void 0 && (I = "" + d.key), d.ref !== void 0 && (A = d.ref);
|
|
808
|
+
for (p in d) u.call(d, p) && !y.hasOwnProperty(p) && (R[p] = d[p]);
|
|
809
|
+
if (k && k.defaultProps) for (p in d = k.defaultProps, d) R[p] === void 0 && (R[p] = d[p]);
|
|
810
|
+
return { $$typeof: o, type: k, key: I, ref: A, props: R, _owner: m.current };
|
|
811
811
|
}
|
|
812
812
|
return Je.Fragment = l, Je.jsx = j, Je.jsxs = j, Je;
|
|
813
813
|
}
|
|
814
|
-
var
|
|
814
|
+
var Ke = {};
|
|
815
815
|
/**
|
|
816
816
|
* @license React
|
|
817
817
|
* react-jsx-runtime.development.js
|
|
@@ -821,17 +821,17 @@ var qe = {};
|
|
|
821
821
|
* This source code is licensed under the MIT license found in the
|
|
822
822
|
* LICENSE file in the root directory of this source tree.
|
|
823
823
|
*/
|
|
824
|
-
var
|
|
825
|
-
function
|
|
826
|
-
return
|
|
827
|
-
var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"),
|
|
828
|
-
function
|
|
824
|
+
var Ft;
|
|
825
|
+
function Qt() {
|
|
826
|
+
return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
|
|
827
|
+
var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), k = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), V = Symbol.iterator, _e = "@@iterator";
|
|
828
|
+
function Re(e) {
|
|
829
829
|
if (e === null || typeof e != "object")
|
|
830
830
|
return null;
|
|
831
|
-
var t = V && e[V] || e[
|
|
831
|
+
var t = V && e[V] || e[_e];
|
|
832
832
|
return typeof t == "function" ? t : null;
|
|
833
833
|
}
|
|
834
|
-
var
|
|
834
|
+
var N = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
835
835
|
function S(e) {
|
|
836
836
|
{
|
|
837
837
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
@@ -841,18 +841,18 @@ function Ht() {
|
|
|
841
841
|
}
|
|
842
842
|
function ye(e, t, r) {
|
|
843
843
|
{
|
|
844
|
-
var a =
|
|
844
|
+
var a = N.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
845
845
|
f !== "" && (t += "%s", r = r.concat([f]));
|
|
846
|
-
var
|
|
846
|
+
var g = r.map(function(s) {
|
|
847
847
|
return String(s);
|
|
848
848
|
});
|
|
849
|
-
|
|
849
|
+
g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
-
var ke = !1, Ee = !1, h = !1, E = !1,
|
|
852
|
+
var ke = !1, Ee = !1, h = !1, E = !1, F = !1, M;
|
|
853
853
|
M = Symbol.for("react.module.reference");
|
|
854
854
|
function U(e) {
|
|
855
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === y ||
|
|
855
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === y || F || e === m || e === x || e === p || E || e === A || ke || Ee || h || typeof e == "object" && e !== null && (e.$$typeof === I || e.$$typeof === R || e.$$typeof === j || e.$$typeof === k || e.$$typeof === d || // This needs to include all possible module reference object
|
|
856
856
|
// types supported by any Flight configuration anywhere since
|
|
857
857
|
// we don't know which Flight build this will end up being used
|
|
858
858
|
// with.
|
|
@@ -884,14 +884,14 @@ function Ht() {
|
|
|
884
884
|
return "Profiler";
|
|
885
885
|
case m:
|
|
886
886
|
return "StrictMode";
|
|
887
|
-
case
|
|
887
|
+
case x:
|
|
888
888
|
return "Suspense";
|
|
889
|
-
case
|
|
889
|
+
case p:
|
|
890
890
|
return "SuspenseList";
|
|
891
891
|
}
|
|
892
892
|
if (typeof e == "object")
|
|
893
893
|
switch (e.$$typeof) {
|
|
894
|
-
case
|
|
894
|
+
case k:
|
|
895
895
|
var t = e;
|
|
896
896
|
return ae(t) + ".Consumer";
|
|
897
897
|
case j:
|
|
@@ -899,13 +899,13 @@ function Ht() {
|
|
|
899
899
|
return ae(r._context) + ".Provider";
|
|
900
900
|
case d:
|
|
901
901
|
return oe(e, e.render, "ForwardRef");
|
|
902
|
-
case
|
|
902
|
+
case R:
|
|
903
903
|
var a = e.displayName || null;
|
|
904
904
|
return a !== null ? a : B(e.type) || "Memo";
|
|
905
905
|
case I: {
|
|
906
|
-
var f = e,
|
|
906
|
+
var f = e, g = f._payload, s = f._init;
|
|
907
907
|
try {
|
|
908
|
-
return B(s(
|
|
908
|
+
return B(s(g));
|
|
909
909
|
} catch {
|
|
910
910
|
return null;
|
|
911
911
|
}
|
|
@@ -913,13 +913,13 @@ function Ht() {
|
|
|
913
913
|
}
|
|
914
914
|
return null;
|
|
915
915
|
}
|
|
916
|
-
var
|
|
916
|
+
var D = Object.assign, $ = 0, q, K, G, Se, xe, Oe, Te;
|
|
917
917
|
function Ce() {
|
|
918
918
|
}
|
|
919
919
|
Ce.__reactDisabledLog = !0;
|
|
920
|
-
function
|
|
920
|
+
function Qe() {
|
|
921
921
|
{
|
|
922
|
-
if (
|
|
922
|
+
if ($ === 0) {
|
|
923
923
|
q = console.log, K = console.info, G = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed, Te = console.groupEnd;
|
|
924
924
|
var e = {
|
|
925
925
|
configurable: !0,
|
|
@@ -937,46 +937,46 @@ function Ht() {
|
|
|
937
937
|
groupEnd: e
|
|
938
938
|
});
|
|
939
939
|
}
|
|
940
|
-
|
|
940
|
+
$++;
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function et() {
|
|
944
944
|
{
|
|
945
|
-
if (
|
|
945
|
+
if ($--, $ === 0) {
|
|
946
946
|
var e = {
|
|
947
947
|
configurable: !0,
|
|
948
948
|
enumerable: !0,
|
|
949
949
|
writable: !0
|
|
950
950
|
};
|
|
951
951
|
Object.defineProperties(console, {
|
|
952
|
-
log:
|
|
952
|
+
log: D({}, e, {
|
|
953
953
|
value: q
|
|
954
954
|
}),
|
|
955
|
-
info:
|
|
955
|
+
info: D({}, e, {
|
|
956
956
|
value: K
|
|
957
957
|
}),
|
|
958
|
-
warn:
|
|
958
|
+
warn: D({}, e, {
|
|
959
959
|
value: G
|
|
960
960
|
}),
|
|
961
|
-
error:
|
|
961
|
+
error: D({}, e, {
|
|
962
962
|
value: Se
|
|
963
963
|
}),
|
|
964
|
-
group:
|
|
964
|
+
group: D({}, e, {
|
|
965
965
|
value: xe
|
|
966
966
|
}),
|
|
967
|
-
groupCollapsed:
|
|
967
|
+
groupCollapsed: D({}, e, {
|
|
968
968
|
value: Oe
|
|
969
969
|
}),
|
|
970
|
-
groupEnd:
|
|
970
|
+
groupEnd: D({}, e, {
|
|
971
971
|
value: Te
|
|
972
972
|
})
|
|
973
973
|
});
|
|
974
974
|
}
|
|
975
|
-
|
|
975
|
+
$ < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
var se =
|
|
979
|
-
function
|
|
978
|
+
var se = N.ReactCurrentDispatcher, le;
|
|
979
|
+
function H(e, t, r) {
|
|
980
980
|
{
|
|
981
981
|
if (le === void 0)
|
|
982
982
|
try {
|
|
@@ -989,16 +989,16 @@ function Ht() {
|
|
|
989
989
|
` + le + e;
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
|
-
var ue = !1,
|
|
992
|
+
var ue = !1, X;
|
|
993
993
|
{
|
|
994
|
-
var
|
|
995
|
-
|
|
994
|
+
var tt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
995
|
+
X = new tt();
|
|
996
996
|
}
|
|
997
997
|
function je(e, t) {
|
|
998
998
|
if (!e || ue)
|
|
999
999
|
return "";
|
|
1000
1000
|
{
|
|
1001
|
-
var r =
|
|
1001
|
+
var r = X.get(e);
|
|
1002
1002
|
if (r !== void 0)
|
|
1003
1003
|
return r;
|
|
1004
1004
|
}
|
|
@@ -1006,8 +1006,8 @@ function Ht() {
|
|
|
1006
1006
|
ue = !0;
|
|
1007
1007
|
var f = Error.prepareStackTrace;
|
|
1008
1008
|
Error.prepareStackTrace = void 0;
|
|
1009
|
-
var
|
|
1010
|
-
|
|
1009
|
+
var g;
|
|
1010
|
+
g = se.current, se.current = null, Qe();
|
|
1011
1011
|
try {
|
|
1012
1012
|
if (t) {
|
|
1013
1013
|
var s = function() {
|
|
@@ -1044,31 +1044,31 @@ function Ht() {
|
|
|
1044
1044
|
if (T && a && typeof T.stack == "string") {
|
|
1045
1045
|
for (var i = T.stack.split(`
|
|
1046
1046
|
`), O = a.stack.split(`
|
|
1047
|
-
`), b = i.length - 1,
|
|
1048
|
-
|
|
1049
|
-
for (; b >= 1 &&
|
|
1050
|
-
if (i[b] !== O[
|
|
1051
|
-
if (b !== 1 ||
|
|
1047
|
+
`), b = i.length - 1, _ = O.length - 1; b >= 1 && _ >= 0 && i[b] !== O[_]; )
|
|
1048
|
+
_--;
|
|
1049
|
+
for (; b >= 1 && _ >= 0; b--, _--)
|
|
1050
|
+
if (i[b] !== O[_]) {
|
|
1051
|
+
if (b !== 1 || _ !== 1)
|
|
1052
1052
|
do
|
|
1053
|
-
if (b--,
|
|
1053
|
+
if (b--, _--, _ < 0 || i[b] !== O[_]) {
|
|
1054
1054
|
var w = `
|
|
1055
1055
|
` + i[b].replace(" at new ", " at ");
|
|
1056
|
-
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
1056
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, w), w;
|
|
1057
1057
|
}
|
|
1058
|
-
while (b >= 1 &&
|
|
1058
|
+
while (b >= 1 && _ >= 0);
|
|
1059
1059
|
break;
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
1062
|
} finally {
|
|
1063
|
-
ue = !1, se.current =
|
|
1063
|
+
ue = !1, se.current = g, et(), Error.prepareStackTrace = f;
|
|
1064
1064
|
}
|
|
1065
|
-
var W = e ? e.displayName || e.name : "", L = W ?
|
|
1066
|
-
return typeof e == "function" &&
|
|
1065
|
+
var W = e ? e.displayName || e.name : "", L = W ? H(W) : "";
|
|
1066
|
+
return typeof e == "function" && X.set(e, L), L;
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function rt(e, t, r) {
|
|
1069
1069
|
return je(e, !1);
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function nt(e) {
|
|
1072
1072
|
var t = e.prototype;
|
|
1073
1073
|
return !!(t && t.isReactComponent);
|
|
1074
1074
|
}
|
|
@@ -1076,32 +1076,32 @@ function Ht() {
|
|
|
1076
1076
|
if (e == null)
|
|
1077
1077
|
return "";
|
|
1078
1078
|
if (typeof e == "function")
|
|
1079
|
-
return je(e,
|
|
1079
|
+
return je(e, nt(e));
|
|
1080
1080
|
if (typeof e == "string")
|
|
1081
|
-
return
|
|
1081
|
+
return H(e);
|
|
1082
1082
|
switch (e) {
|
|
1083
|
-
case
|
|
1084
|
-
return
|
|
1085
|
-
case
|
|
1086
|
-
return
|
|
1083
|
+
case x:
|
|
1084
|
+
return H("Suspense");
|
|
1085
|
+
case p:
|
|
1086
|
+
return H("SuspenseList");
|
|
1087
1087
|
}
|
|
1088
1088
|
if (typeof e == "object")
|
|
1089
1089
|
switch (e.$$typeof) {
|
|
1090
1090
|
case d:
|
|
1091
|
-
return
|
|
1092
|
-
case
|
|
1091
|
+
return rt(e.render);
|
|
1092
|
+
case R:
|
|
1093
1093
|
return Q(e.type, t, r);
|
|
1094
1094
|
case I: {
|
|
1095
|
-
var a = e, f = a._payload,
|
|
1095
|
+
var a = e, f = a._payload, g = a._init;
|
|
1096
1096
|
try {
|
|
1097
|
-
return Q(
|
|
1097
|
+
return Q(g(f), t, r);
|
|
1098
1098
|
} catch {
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
1102
|
return "";
|
|
1103
1103
|
}
|
|
1104
|
-
var z = Object.prototype.hasOwnProperty, we = {}, Pe =
|
|
1104
|
+
var z = Object.prototype.hasOwnProperty, we = {}, Pe = N.ReactDebugCurrentFrame;
|
|
1105
1105
|
function ee(e) {
|
|
1106
1106
|
if (e) {
|
|
1107
1107
|
var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
|
|
@@ -1109,11 +1109,11 @@ function Ht() {
|
|
|
1109
1109
|
} else
|
|
1110
1110
|
Pe.setExtraStackFrame(null);
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function ot(e, t, r, a, f) {
|
|
1113
1113
|
{
|
|
1114
|
-
var
|
|
1114
|
+
var g = Function.call.bind(z);
|
|
1115
1115
|
for (var s in e)
|
|
1116
|
-
if (
|
|
1116
|
+
if (g(e, s)) {
|
|
1117
1117
|
var i = void 0;
|
|
1118
1118
|
try {
|
|
1119
1119
|
if (typeof e[s] != "function") {
|
|
@@ -1128,17 +1128,17 @@ function Ht() {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
|
-
var
|
|
1131
|
+
var at = Array.isArray;
|
|
1132
1132
|
function ce(e) {
|
|
1133
|
-
return
|
|
1133
|
+
return at(e);
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function it(e) {
|
|
1136
1136
|
{
|
|
1137
1137
|
var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1138
1138
|
return r;
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function st(e) {
|
|
1142
1142
|
try {
|
|
1143
1143
|
return Ae(e), !1;
|
|
1144
1144
|
} catch {
|
|
@@ -1149,16 +1149,16 @@ function Ht() {
|
|
|
1149
1149
|
return "" + e;
|
|
1150
1150
|
}
|
|
1151
1151
|
function Be(e) {
|
|
1152
|
-
if (
|
|
1153
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1152
|
+
if (st(e))
|
|
1153
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Ae(e);
|
|
1154
1154
|
}
|
|
1155
|
-
var Ie =
|
|
1155
|
+
var Ie = N.ReactCurrentOwner, lt = {
|
|
1156
1156
|
key: !0,
|
|
1157
1157
|
ref: !0,
|
|
1158
1158
|
__self: !0,
|
|
1159
1159
|
__source: !0
|
|
1160
|
-
},
|
|
1161
|
-
function
|
|
1160
|
+
}, Fe, De;
|
|
1161
|
+
function ut(e) {
|
|
1162
1162
|
if (z.call(e, "ref")) {
|
|
1163
1163
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1164
1164
|
if (t && t.isReactWarning)
|
|
@@ -1166,7 +1166,7 @@ function Ht() {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
return e.ref !== void 0;
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function ct(e) {
|
|
1170
1170
|
if (z.call(e, "key")) {
|
|
1171
1171
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1172
1172
|
if (t && t.isReactWarning)
|
|
@@ -1174,13 +1174,13 @@ function Ht() {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
return e.key !== void 0;
|
|
1176
1176
|
}
|
|
1177
|
-
function
|
|
1177
|
+
function ft(e, t) {
|
|
1178
1178
|
typeof e.ref == "string" && Ie.current;
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1180
|
+
function dt(e, t) {
|
|
1181
1181
|
{
|
|
1182
1182
|
var r = function() {
|
|
1183
|
-
|
|
1183
|
+
Fe || (Fe = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1184
1184
|
};
|
|
1185
1185
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1186
1186
|
get: r,
|
|
@@ -1188,10 +1188,10 @@ function Ht() {
|
|
|
1188
1188
|
});
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function pt(e, t) {
|
|
1192
1192
|
{
|
|
1193
1193
|
var r = function() {
|
|
1194
|
-
|
|
1194
|
+
De || (De = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
1195
1195
|
};
|
|
1196
1196
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1197
1197
|
get: r,
|
|
@@ -1199,7 +1199,7 @@ function Ht() {
|
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
|
-
var
|
|
1202
|
+
var gt = function(e, t, r, a, f, g, s) {
|
|
1203
1203
|
var i = {
|
|
1204
1204
|
// This tag allows us to uniquely identify this as a React Element
|
|
1205
1205
|
$$typeof: o,
|
|
@@ -1209,7 +1209,7 @@ function Ht() {
|
|
|
1209
1209
|
ref: r,
|
|
1210
1210
|
props: s,
|
|
1211
1211
|
// Record the component responsible for creating this element.
|
|
1212
|
-
_owner:
|
|
1212
|
+
_owner: g
|
|
1213
1213
|
};
|
|
1214
1214
|
return i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
1215
1215
|
configurable: !1,
|
|
@@ -1230,23 +1230,23 @@ function Ht() {
|
|
|
1230
1230
|
};
|
|
1231
1231
|
function vt(e, t, r, a, f) {
|
|
1232
1232
|
{
|
|
1233
|
-
var
|
|
1234
|
-
r !== void 0 && (Be(r), i = "" + r),
|
|
1235
|
-
for (
|
|
1236
|
-
z.call(t,
|
|
1233
|
+
var g, s = {}, i = null, O = null;
|
|
1234
|
+
r !== void 0 && (Be(r), i = "" + r), ct(t) && (Be(t.key), i = "" + t.key), ut(t) && (O = t.ref, ft(t));
|
|
1235
|
+
for (g in t)
|
|
1236
|
+
z.call(t, g) && !lt.hasOwnProperty(g) && (s[g] = t[g]);
|
|
1237
1237
|
if (e && e.defaultProps) {
|
|
1238
1238
|
var b = e.defaultProps;
|
|
1239
|
-
for (
|
|
1240
|
-
s[
|
|
1239
|
+
for (g in b)
|
|
1240
|
+
s[g] === void 0 && (s[g] = b[g]);
|
|
1241
1241
|
}
|
|
1242
1242
|
if (i || O) {
|
|
1243
|
-
var
|
|
1244
|
-
i &&
|
|
1243
|
+
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1244
|
+
i && dt(s, _), O && pt(s, _);
|
|
1245
1245
|
}
|
|
1246
|
-
return
|
|
1246
|
+
return gt(e, i, O, f, a, Ie.current, s);
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
var fe =
|
|
1249
|
+
var fe = N.ReactCurrentOwner, Me = N.ReactDebugCurrentFrame;
|
|
1250
1250
|
function Y(e) {
|
|
1251
1251
|
if (e) {
|
|
1252
1252
|
var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
|
|
@@ -1259,7 +1259,7 @@ function Ht() {
|
|
|
1259
1259
|
function pe(e) {
|
|
1260
1260
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1262
|
+
function $e() {
|
|
1263
1263
|
{
|
|
1264
1264
|
if (fe.current) {
|
|
1265
1265
|
var e = B(fe.current.type);
|
|
@@ -1271,13 +1271,13 @@ Check the render method of \`` + e + "`.";
|
|
|
1271
1271
|
return "";
|
|
1272
1272
|
}
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function mt(e) {
|
|
1275
1275
|
return "";
|
|
1276
1276
|
}
|
|
1277
|
-
var
|
|
1278
|
-
function
|
|
1277
|
+
var Ne = {};
|
|
1278
|
+
function yt(e) {
|
|
1279
1279
|
{
|
|
1280
|
-
var t =
|
|
1280
|
+
var t = $e();
|
|
1281
1281
|
if (!t) {
|
|
1282
1282
|
var r = typeof e == "string" ? e : e.displayName || e.name;
|
|
1283
1283
|
r && (t = `
|
|
@@ -1292,10 +1292,10 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1292
1292
|
if (!e._store || e._store.validated || e.key != null)
|
|
1293
1293
|
return;
|
|
1294
1294
|
e._store.validated = !0;
|
|
1295
|
-
var r =
|
|
1296
|
-
if (
|
|
1295
|
+
var r = yt(t);
|
|
1296
|
+
if (Ne[r])
|
|
1297
1297
|
return;
|
|
1298
|
-
|
|
1298
|
+
Ne[r] = !0;
|
|
1299
1299
|
var a = "";
|
|
1300
1300
|
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + B(e._owner.type) + "."), Y(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Y(null);
|
|
1301
1301
|
}
|
|
@@ -1312,14 +1312,14 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1312
1312
|
else if (pe(e))
|
|
1313
1313
|
e._store && (e._store.validated = !0);
|
|
1314
1314
|
else if (e) {
|
|
1315
|
-
var f =
|
|
1315
|
+
var f = Re(e);
|
|
1316
1316
|
if (typeof f == "function" && f !== e.entries)
|
|
1317
|
-
for (var
|
|
1317
|
+
for (var g = f.call(e), s; !(s = g.next()).done; )
|
|
1318
1318
|
pe(s.value) && Le(s.value, t);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function ht(e) {
|
|
1323
1323
|
{
|
|
1324
1324
|
var t = e.type;
|
|
1325
1325
|
if (t == null || typeof t == "string")
|
|
@@ -1329,13 +1329,13 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1329
1329
|
r = t.propTypes;
|
|
1330
1330
|
else if (typeof t == "object" && (t.$$typeof === d || // Note: Memo only checks outer props here.
|
|
1331
1331
|
// Inner props are checked in the reconciler.
|
|
1332
|
-
t.$$typeof ===
|
|
1332
|
+
t.$$typeof === R))
|
|
1333
1333
|
r = t.propTypes;
|
|
1334
1334
|
else
|
|
1335
1335
|
return;
|
|
1336
1336
|
if (r) {
|
|
1337
1337
|
var a = B(t);
|
|
1338
|
-
|
|
1338
|
+
ot(r, e.props, "prop", a, e);
|
|
1339
1339
|
} else if (t.PropTypes !== void 0 && !de) {
|
|
1340
1340
|
de = !0;
|
|
1341
1341
|
var f = B(t);
|
|
@@ -1344,7 +1344,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1344
1344
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
|
-
function
|
|
1347
|
+
function bt(e) {
|
|
1348
1348
|
{
|
|
1349
1349
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
1350
1350
|
var a = t[r];
|
|
@@ -1357,20 +1357,20 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
1359
|
var Ye = {};
|
|
1360
|
-
function We(e, t, r, a, f,
|
|
1360
|
+
function We(e, t, r, a, f, g) {
|
|
1361
1361
|
{
|
|
1362
1362
|
var s = U(e);
|
|
1363
1363
|
if (!s) {
|
|
1364
1364
|
var i = "";
|
|
1365
1365
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1366
|
-
var O =
|
|
1367
|
-
O ? i += O : i +=
|
|
1366
|
+
var O = mt();
|
|
1367
|
+
O ? i += O : i += $e();
|
|
1368
1368
|
var b;
|
|
1369
1369
|
e === null ? b = "null" : ce(e) ? b = "array" : e !== void 0 && e.$$typeof === o ? (b = "<" + (B(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, i);
|
|
1370
1370
|
}
|
|
1371
|
-
var
|
|
1372
|
-
if (
|
|
1373
|
-
return
|
|
1371
|
+
var _ = vt(e, t, r, f, g);
|
|
1372
|
+
if (_ == null)
|
|
1373
|
+
return _;
|
|
1374
1374
|
if (s) {
|
|
1375
1375
|
var w = t.children;
|
|
1376
1376
|
if (w !== void 0)
|
|
@@ -1385,38 +1385,38 @@ Check the top-level render call using <` + r + ">.");
|
|
|
1385
1385
|
Ue(w, e);
|
|
1386
1386
|
}
|
|
1387
1387
|
if (z.call(t, "key")) {
|
|
1388
|
-
var L = B(e), T = Object.keys(t).filter(function(
|
|
1389
|
-
return
|
|
1390
|
-
}),
|
|
1391
|
-
if (!Ye[L +
|
|
1392
|
-
var
|
|
1388
|
+
var L = B(e), T = Object.keys(t).filter(function(xt) {
|
|
1389
|
+
return xt !== "key";
|
|
1390
|
+
}), ge = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1391
|
+
if (!Ye[L + ge]) {
|
|
1392
|
+
var St = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
|
|
1393
1393
|
S(`A props object containing a "key" prop is being spread into JSX:
|
|
1394
1394
|
let props = %s;
|
|
1395
1395
|
<%s {...props} />
|
|
1396
1396
|
React keys must be passed directly to JSX without using spread:
|
|
1397
1397
|
let props = %s;
|
|
1398
|
-
<%s key={someKey} {...props} />`,
|
|
1398
|
+
<%s key={someKey} {...props} />`, ge, L, St, L), Ye[L + ge] = !0;
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
|
-
return e === u ?
|
|
1401
|
+
return e === u ? bt(_) : ht(_), _;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
function
|
|
1404
|
+
function _t(e, t, r) {
|
|
1405
1405
|
return We(e, t, r, !0);
|
|
1406
1406
|
}
|
|
1407
1407
|
function Rt(e, t, r) {
|
|
1408
1408
|
return We(e, t, r, !1);
|
|
1409
1409
|
}
|
|
1410
|
-
var
|
|
1411
|
-
|
|
1412
|
-
}()),
|
|
1410
|
+
var kt = Rt, Et = _t;
|
|
1411
|
+
Ke.Fragment = u, Ke.jsx = kt, Ke.jsxs = Et;
|
|
1412
|
+
}()), Ke;
|
|
1413
1413
|
}
|
|
1414
|
-
process.env.NODE_ENV === "production" ? Xt() :
|
|
1415
|
-
const
|
|
1416
|
-
version:
|
|
1417
|
-
}, te = {},
|
|
1414
|
+
process.env.NODE_ENV === "production" ? Xt() : Qt();
|
|
1415
|
+
const er = "0.0.37", Yt = {
|
|
1416
|
+
version: er
|
|
1417
|
+
}, te = {}, wt = {
|
|
1418
1418
|
module: "",
|
|
1419
|
-
v:
|
|
1419
|
+
v: Yt.version,
|
|
1420
1420
|
page: "Main",
|
|
1421
1421
|
auth: "Auth",
|
|
1422
1422
|
STORAGE: "f",
|
|
@@ -1426,13 +1426,13 @@ function me() {
|
|
|
1426
1426
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1427
1427
|
}
|
|
1428
1428
|
me().elcrm || (me().elcrm = {});
|
|
1429
|
-
Object.assign(me().elcrm, { router:
|
|
1429
|
+
Object.assign(me().elcrm, { router: Yt.version });
|
|
1430
1430
|
function re(n) {
|
|
1431
1431
|
const o = me();
|
|
1432
|
-
o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...n } : o.ROUTER_PARAMS = { ...
|
|
1432
|
+
o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...n } : o.ROUTER_PARAMS = { ...wt, ...n };
|
|
1433
1433
|
}
|
|
1434
1434
|
function C() {
|
|
1435
|
-
return me().ROUTER_PARAMS ||
|
|
1435
|
+
return me().ROUTER_PARAMS || wt;
|
|
1436
1436
|
}
|
|
1437
1437
|
function he(n) {
|
|
1438
1438
|
const o = me();
|
|
@@ -1442,7 +1442,7 @@ function he(n) {
|
|
|
1442
1442
|
} : o.ROUTER_PARAMS.LISTENER = { ...n };
|
|
1443
1443
|
}
|
|
1444
1444
|
function ne() {
|
|
1445
|
-
return me().ROUTER_PARAMS.LISTENER ||
|
|
1445
|
+
return me().ROUTER_PARAMS.LISTENER || wt.LISTENER;
|
|
1446
1446
|
}
|
|
1447
1447
|
var be;
|
|
1448
1448
|
((n) => {
|
|
@@ -1476,23 +1476,23 @@ var be;
|
|
|
1476
1476
|
function u({
|
|
1477
1477
|
module: h = C().module,
|
|
1478
1478
|
page: E = C().page,
|
|
1479
|
-
auth:
|
|
1479
|
+
auth: F = C().auth
|
|
1480
1480
|
}) {
|
|
1481
|
-
re({ page: E, module: h, auth:
|
|
1481
|
+
re({ page: E, module: h, auth: F }), o();
|
|
1482
1482
|
}
|
|
1483
1483
|
n.Default = u;
|
|
1484
1484
|
function m(h) {
|
|
1485
1485
|
let E = (U) => (re({ page: U }), U);
|
|
1486
|
-
const [
|
|
1486
|
+
const [F, M] = P.useState(
|
|
1487
1487
|
j() || h && E(h) || C().page
|
|
1488
1488
|
);
|
|
1489
1489
|
return he({ page: (U) => {
|
|
1490
1490
|
M(U);
|
|
1491
|
-
} }),
|
|
1491
|
+
} }), F;
|
|
1492
1492
|
}
|
|
1493
1493
|
n.usePage = m;
|
|
1494
|
-
function y(h, E = !0,
|
|
1495
|
-
re({ page: h, ...
|
|
1494
|
+
function y(h, E = !0, F = {}) {
|
|
1495
|
+
re({ page: h, ...F }), sessionStorage.setItem(
|
|
1496
1496
|
C().STORAGE,
|
|
1497
1497
|
ie.enCode(C())
|
|
1498
1498
|
), E && ne().page(h);
|
|
@@ -1502,38 +1502,38 @@ var be;
|
|
|
1502
1502
|
return C().page;
|
|
1503
1503
|
}
|
|
1504
1504
|
n.getPage = j;
|
|
1505
|
-
function
|
|
1505
|
+
function k(h) {
|
|
1506
1506
|
return C().page === h;
|
|
1507
1507
|
}
|
|
1508
|
-
n.isPage =
|
|
1508
|
+
n.isPage = k;
|
|
1509
1509
|
function d(h, E) {
|
|
1510
|
-
const [
|
|
1511
|
-
|
|
1510
|
+
const [F, M] = P.useState(
|
|
1511
|
+
p() || h || C().module
|
|
1512
1512
|
);
|
|
1513
|
-
return he({ module: M }),
|
|
1513
|
+
return he({ module: M }), F;
|
|
1514
1514
|
}
|
|
1515
1515
|
n.useModule = d;
|
|
1516
|
-
function
|
|
1516
|
+
function x(h, E = !0) {
|
|
1517
1517
|
re({ module: h }), sessionStorage.setItem(
|
|
1518
1518
|
C().STORAGE,
|
|
1519
1519
|
ie.enCode(C())
|
|
1520
1520
|
), E && ne().module(h);
|
|
1521
1521
|
}
|
|
1522
|
-
n.setModule =
|
|
1523
|
-
function
|
|
1522
|
+
n.setModule = x;
|
|
1523
|
+
function p() {
|
|
1524
1524
|
return C().module || "";
|
|
1525
1525
|
}
|
|
1526
|
-
n.getModule =
|
|
1527
|
-
function
|
|
1526
|
+
n.getModule = p;
|
|
1527
|
+
function R(h) {
|
|
1528
1528
|
return C().module === h;
|
|
1529
1529
|
}
|
|
1530
|
-
n.isModule =
|
|
1530
|
+
n.isModule = R;
|
|
1531
1531
|
function I(h, E) {
|
|
1532
1532
|
if (typeof h != "function") {
|
|
1533
|
-
const [
|
|
1533
|
+
const [F, M] = P.useState(!E), [U, oe] = P.useState(h || V());
|
|
1534
1534
|
return he({ tabs: oe }), E && P.useEffect(() => {
|
|
1535
1535
|
M(!0);
|
|
1536
|
-
}, []), [U,
|
|
1536
|
+
}, []), [U, F];
|
|
1537
1537
|
} else
|
|
1538
1538
|
he({ tabs: h });
|
|
1539
1539
|
}
|
|
@@ -1549,23 +1549,23 @@ var be;
|
|
|
1549
1549
|
return C().tab;
|
|
1550
1550
|
}
|
|
1551
1551
|
n.getTabs = V;
|
|
1552
|
-
function
|
|
1552
|
+
function _e(h) {
|
|
1553
1553
|
return C().tab === h;
|
|
1554
1554
|
}
|
|
1555
|
-
n.isTabs =
|
|
1556
|
-
function
|
|
1555
|
+
n.isTabs = _e;
|
|
1556
|
+
function Re(h) {
|
|
1557
1557
|
if (typeof h != "function") {
|
|
1558
|
-
const [E,
|
|
1558
|
+
const [E, F] = P.useState(h || ye());
|
|
1559
1559
|
return he({ id: (M) => {
|
|
1560
|
-
|
|
1560
|
+
F(M);
|
|
1561
1561
|
} }), E;
|
|
1562
1562
|
} else
|
|
1563
1563
|
he({ id: h });
|
|
1564
1564
|
}
|
|
1565
|
-
n.useId =
|
|
1566
|
-
function
|
|
1565
|
+
n.useId = Re;
|
|
1566
|
+
function N(h) {
|
|
1567
1567
|
}
|
|
1568
|
-
n.subId =
|
|
1568
|
+
n.subId = N;
|
|
1569
1569
|
async function S(h, E = !0) {
|
|
1570
1570
|
re({ id: h }), sessionStorage.setItem(
|
|
1571
1571
|
C().STORAGE,
|
|
@@ -1582,36 +1582,36 @@ var be;
|
|
|
1582
1582
|
}
|
|
1583
1583
|
n.isId = ke;
|
|
1584
1584
|
async function Ee(h) {
|
|
1585
|
-
var E,
|
|
1586
|
-
const { page:
|
|
1587
|
-
|
|
1585
|
+
var E, F, M, U, oe, ae, B, D;
|
|
1586
|
+
const { page: $, module: q, tab: K, id: G } = h;
|
|
1587
|
+
$ !== void 0 && (te.page = $), q !== void 0 && (te.module = q), K !== void 0 && (te.tab = K), G !== void 0 && (te.id = G), re({ ...te }), G !== void 0 && ((F = (E = ne()).id) == null || F.call(E, G)), K !== void 0 && ((U = (M = ne()).tabs) == null || U.call(M, K)), q !== void 0 && ((ae = (oe = ne()).module) == null || ae.call(oe, q)), $ !== void 0 && ((D = (B = ne()).page) == null || D.call(B, $)), sessionStorage.setItem(
|
|
1588
1588
|
C().STORAGE,
|
|
1589
1589
|
ie.enCode(C())
|
|
1590
1590
|
);
|
|
1591
1591
|
}
|
|
1592
1592
|
n.navigate = Ee;
|
|
1593
1593
|
})(be || (be = {}));
|
|
1594
|
-
let
|
|
1595
|
-
function
|
|
1594
|
+
let He = {};
|
|
1595
|
+
function tr() {
|
|
1596
1596
|
const [n, o] = P.useState([]);
|
|
1597
|
-
return
|
|
1597
|
+
return He.set = (l) => {
|
|
1598
1598
|
o([...n, l]);
|
|
1599
|
-
},
|
|
1599
|
+
}, He.del = (l) => {
|
|
1600
1600
|
n.forEach((u, m) => {
|
|
1601
1601
|
u.key === l && n.splice(m, 1);
|
|
1602
1602
|
}), o(n);
|
|
1603
1603
|
}, n.length === 0 ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsx("div", { className: "notice", children: n.map((l) => l.item) });
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1605
|
+
function rr(n) {
|
|
1606
1606
|
let o = (/* @__PURE__ */ new Date()).getTime();
|
|
1607
|
-
n.key = o,
|
|
1607
|
+
n.key = o, He.set({ item: /* @__PURE__ */ c.jsx(nr, { data: n }, o), key: o });
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1609
|
+
function nr(n) {
|
|
1610
1610
|
const o = n.data;
|
|
1611
1611
|
let [l] = P.useState("show"), [u, m] = P.useState(!1);
|
|
1612
1612
|
P.useEffect(() => {
|
|
1613
1613
|
setTimeout(function() {
|
|
1614
|
-
m(!0),
|
|
1614
|
+
m(!0), He.del(o.key);
|
|
1615
1615
|
}, 5e3);
|
|
1616
1616
|
}, [o.key]);
|
|
1617
1617
|
let y;
|
|
@@ -1653,26 +1653,26 @@ function rr(n) {
|
|
|
1653
1653
|
}
|
|
1654
1654
|
) });
|
|
1655
1655
|
}
|
|
1656
|
-
let
|
|
1657
|
-
Send:
|
|
1658
|
-
Init:
|
|
1659
|
-
},
|
|
1656
|
+
let Xe = {
|
|
1657
|
+
Send: rr,
|
|
1658
|
+
Init: tr
|
|
1659
|
+
}, qe = () => {
|
|
1660
1660
|
};
|
|
1661
|
-
const
|
|
1661
|
+
const or = ({
|
|
1662
1662
|
children: n,
|
|
1663
1663
|
title: o,
|
|
1664
1664
|
isOverlay: l = !0
|
|
1665
1665
|
}) => {
|
|
1666
1666
|
const [u, m] = P.useState(!1);
|
|
1667
|
-
return
|
|
1667
|
+
return qe = () => {
|
|
1668
1668
|
m(!0), setTimeout(() => {
|
|
1669
|
-
|
|
1669
|
+
Wt.onClose();
|
|
1670
1670
|
}, 300);
|
|
1671
1671
|
}, /* @__PURE__ */ c.jsx(
|
|
1672
1672
|
"div",
|
|
1673
1673
|
{
|
|
1674
1674
|
className: `footer-menu-overlay ${l ? "is-overlay" : ""} ${u ? "closing" : ""}`,
|
|
1675
|
-
onClick:
|
|
1675
|
+
onClick: qe,
|
|
1676
1676
|
children: /* @__PURE__ */ c.jsxs(
|
|
1677
1677
|
"div",
|
|
1678
1678
|
{
|
|
@@ -1685,7 +1685,7 @@ const nr = ({
|
|
|
1685
1685
|
"button",
|
|
1686
1686
|
{
|
|
1687
1687
|
className: "footer-menu-close-btn",
|
|
1688
|
-
onClick:
|
|
1688
|
+
onClick: qe,
|
|
1689
1689
|
children: "✕"
|
|
1690
1690
|
}
|
|
1691
1691
|
)
|
|
@@ -1696,36 +1696,53 @@ const nr = ({
|
|
|
1696
1696
|
)
|
|
1697
1697
|
}
|
|
1698
1698
|
);
|
|
1699
|
-
},
|
|
1700
|
-
|
|
1701
|
-
|
|
1699
|
+
}, ar = "_h_1g0ig_1", ir = "_row_1g0ig_14", sr = "_column_1g0ig_17", Dt = {
|
|
1700
|
+
h: ar,
|
|
1701
|
+
row: ir,
|
|
1702
|
+
column: sr
|
|
1703
|
+
}, Wt = [], Mt = (n, o) => n.findIndex((l) => (l == null ? void 0 : l.page) === o), lr = ({
|
|
1704
|
+
actions: n,
|
|
1705
|
+
children: o,
|
|
1706
|
+
className: l,
|
|
1707
|
+
page: u,
|
|
1708
|
+
setPage: m,
|
|
1709
|
+
direction: y = "row"
|
|
1710
|
+
}) => {
|
|
1711
|
+
const [j, k] = P.useState(null), [d, x] = P.useState(
|
|
1712
|
+
u ? Mt(n || [], u) : 0
|
|
1702
1713
|
);
|
|
1703
|
-
return
|
|
1704
|
-
|
|
1705
|
-
},
|
|
1714
|
+
return Wt.onClose = () => {
|
|
1715
|
+
k(null), x(u ? Mt(n || [], u) : 0);
|
|
1716
|
+
}, Tt(() => {
|
|
1706
1717
|
document.addEventListener("blur", () => {
|
|
1707
1718
|
document.querySelector("footer").style.display = "flex";
|
|
1708
1719
|
}), document.addEventListener("focus", () => {
|
|
1709
1720
|
document.querySelector("footer").style.display = "none";
|
|
1710
1721
|
});
|
|
1711
1722
|
}, []), /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
1712
|
-
|
|
1713
|
-
/* @__PURE__ */ c.jsxs(
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1723
|
+
j,
|
|
1724
|
+
/* @__PURE__ */ c.jsxs(
|
|
1725
|
+
"footer",
|
|
1726
|
+
{
|
|
1727
|
+
className: `${Dt.h} ${Dt[y]} ${l} `,
|
|
1728
|
+
children: [
|
|
1729
|
+
o,
|
|
1730
|
+
n && n.map((p, R) => /* @__PURE__ */ c.jsx(
|
|
1731
|
+
"div",
|
|
1732
|
+
{
|
|
1733
|
+
"data-active": d === R ? "true" : "false",
|
|
1734
|
+
onClick: () => {
|
|
1735
|
+
p.page && (x(R), m == null || m(p.page)), p.callback && (p.callback(), x(R)), p.component && (d === R ? qe() : (k(p.component), x(R)));
|
|
1736
|
+
},
|
|
1737
|
+
children: p.icon
|
|
1738
|
+
},
|
|
1739
|
+
R
|
|
1740
|
+
))
|
|
1741
|
+
]
|
|
1742
|
+
}
|
|
1743
|
+
)
|
|
1727
1744
|
] });
|
|
1728
|
-
},
|
|
1745
|
+
}, v = window.Telegram.WebApp, ve = { is: !1, MainButton: {}, BackButton: {} };
|
|
1729
1746
|
let J = {};
|
|
1730
1747
|
J.dark = {
|
|
1731
1748
|
"--tg-theme-subtitle-text-color": "#98989e",
|
|
@@ -1770,56 +1787,56 @@ J.users = {
|
|
|
1770
1787
|
"--tg-theme-button-text-color": "#000000",
|
|
1771
1788
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1772
1789
|
};
|
|
1773
|
-
|
|
1790
|
+
v.getUser = () => {
|
|
1774
1791
|
var n;
|
|
1775
|
-
return ((n =
|
|
1792
|
+
return ((n = v.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : v.initDataUnsafe;
|
|
1776
1793
|
};
|
|
1777
|
-
|
|
1794
|
+
v.Notice = (n, o, l) => {
|
|
1778
1795
|
var u, m;
|
|
1779
|
-
o !== void 0 ? (
|
|
1796
|
+
o !== void 0 ? (Xe.Send({ type: n, text: o, thema: l }), (u = v.HapticFeedback) == null || u.notificationOccurred(n)) : (Xe.Send(n), (m = v.HapticFeedback) == null || m.notificationOccurred(n.type));
|
|
1780
1797
|
};
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
}),
|
|
1798
|
+
v.MainButton.callback = [];
|
|
1799
|
+
v.MainButton.set = (n) => {
|
|
1800
|
+
ve.is ? ve.MainButton.set(n) : (v.MainButton.callback.forEach((o) => {
|
|
1801
|
+
v.MainButton.offClick(o);
|
|
1802
|
+
}), v.MainButton.callback = [], typeof n == "boolean" ? v.MainButton.isVisible = !1 : (v.MainButton.text = n.text, n.color && (v.MainButton.color = n.color), n.textColor && (v.MainButton.textColor = n.textColor), v.MainButton.isVisible = !0, v.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, v.MainButton.callback.push(() => {
|
|
1786
1803
|
var o;
|
|
1787
1804
|
n.page === void 0 ? (o = n.callback) == null || o.call(n) : be.setPage(n.page);
|
|
1788
|
-
}),
|
|
1805
|
+
}), v.MainButton.onClick(v.MainButton.callback[0])));
|
|
1789
1806
|
};
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
n === !1 ? (
|
|
1807
|
+
v.BackButton.state = [!1];
|
|
1808
|
+
v.BackButton.listen = [];
|
|
1809
|
+
v.BackButton.router = (n) => {
|
|
1810
|
+
n === !1 ? (v.BackButton.isVisible = !1, v.BackButton.offClick(v.BackButton.listen[0]), v.BackButton.listen.shift(), v.BackButton.state.length !== 1 && v.BackButton.state.pop()) : (v.BackButton.isVisible = !0, v.BackButton.offClick(v.BackButton.listen[0]), v.BackButton.listen.shift(), v.BackButton.listen.push(() => {
|
|
1794
1811
|
var l;
|
|
1795
|
-
let o =
|
|
1812
|
+
let o = v.BackButton.state.pop();
|
|
1796
1813
|
o.page !== void 0 ? be.setPage(o.page) : (l = o.callback) == null || l.call(o);
|
|
1797
|
-
}),
|
|
1814
|
+
}), v.BackButton.onClick(v.BackButton.listen[0]));
|
|
1798
1815
|
};
|
|
1799
|
-
|
|
1800
|
-
|
|
1816
|
+
v.BackButton.set = (n) => {
|
|
1817
|
+
ve.is ? ve.BackButton.set(n) : (v.BackButton.state.push(n), v.BackButton.router(n));
|
|
1801
1818
|
};
|
|
1802
|
-
|
|
1819
|
+
v.Header = ({ dev: n }) => {
|
|
1803
1820
|
if (n) {
|
|
1804
|
-
let [o, l] = P.useState(!1), [u, m] = P.useState(!1), [y, j] = P.useState("dark"), [
|
|
1805
|
-
|
|
1821
|
+
let [o, l] = P.useState(!1), [u, m] = P.useState(!1), [y, j] = P.useState("dark"), [k, d] = P.useState(!1), [x, p] = P.useState(!1);
|
|
1822
|
+
ve.is = !0, ve.MainButton.set = l, ve.BackButton.set = m, P.useEffect(() => {
|
|
1806
1823
|
J[y]["--tg-theme-bg-color-alpha"] = J[y]["--tg-theme-bg-color"] + "b3", J[y]["--tg-theme-secondary-bg-color-alpha"] = J[y]["--tg-theme-secondary-bg-color"] + "d3";
|
|
1807
1824
|
for (let A in J[y])
|
|
1808
1825
|
document.documentElement.style.setProperty(
|
|
1809
1826
|
A,
|
|
1810
1827
|
J[y][A]
|
|
1811
1828
|
);
|
|
1812
|
-
|
|
1829
|
+
v.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1813
1830
|
"--tg-safe-area-inset-bottom",
|
|
1814
1831
|
"16px"
|
|
1815
1832
|
);
|
|
1816
1833
|
}, []);
|
|
1817
|
-
let
|
|
1834
|
+
let R = (A) => {
|
|
1818
1835
|
for (let V in J[A])
|
|
1819
1836
|
document.documentElement.style.setProperty(V, J[A][V]);
|
|
1820
1837
|
j(A), d(!1);
|
|
1821
1838
|
}, I = () => {
|
|
1822
|
-
d(!1),
|
|
1839
|
+
d(!1), p(!0);
|
|
1823
1840
|
};
|
|
1824
1841
|
return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
1825
1842
|
/* @__PURE__ */ c.jsxs("header", { className: "debug", children: [
|
|
@@ -1834,8 +1851,9 @@ g.Init = ({ dev: n }) => {
|
|
|
1834
1851
|
children: "Назад"
|
|
1835
1852
|
}
|
|
1836
1853
|
),
|
|
1837
|
-
/* @__PURE__ */ c.jsx("div", { className: "o", onClick: () => d(!
|
|
1854
|
+
/* @__PURE__ */ c.jsx("div", { className: "o", onClick: () => d(!k), children: "Меню" })
|
|
1838
1855
|
] }),
|
|
1856
|
+
/* @__PURE__ */ c.jsx(Xe.Init, {}),
|
|
1839
1857
|
o && /* @__PURE__ */ c.jsx("div", { className: "mb", children: /* @__PURE__ */ c.jsx(
|
|
1840
1858
|
"button",
|
|
1841
1859
|
{
|
|
@@ -1845,7 +1863,7 @@ g.Init = ({ dev: n }) => {
|
|
|
1845
1863
|
children: o.text
|
|
1846
1864
|
}
|
|
1847
1865
|
) }),
|
|
1848
|
-
|
|
1866
|
+
k ? /* @__PURE__ */ c.jsxs("div", { className: "tm", children: [
|
|
1849
1867
|
/* @__PURE__ */ c.jsxs("ul", { children: [
|
|
1850
1868
|
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: I, children: "Authorization" }) }),
|
|
1851
1869
|
/* @__PURE__ */ c.jsx("li", {})
|
|
@@ -1857,49 +1875,50 @@ g.Init = ({ dev: n }) => {
|
|
|
1857
1875
|
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
|
|
1858
1876
|
"button",
|
|
1859
1877
|
{
|
|
1860
|
-
onClick: () =>
|
|
1878
|
+
onClick: () => R("dark"),
|
|
1861
1879
|
children: "Dark"
|
|
1862
1880
|
}
|
|
1863
1881
|
) }),
|
|
1864
1882
|
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
|
|
1865
1883
|
"button",
|
|
1866
1884
|
{
|
|
1867
|
-
onClick: () =>
|
|
1885
|
+
onClick: () => R("light"),
|
|
1868
1886
|
children: "Light"
|
|
1869
1887
|
}
|
|
1870
1888
|
) }),
|
|
1871
1889
|
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
|
|
1872
1890
|
"button",
|
|
1873
1891
|
{
|
|
1874
|
-
onClick: () =>
|
|
1892
|
+
onClick: () => R("users"),
|
|
1875
1893
|
children: "Users"
|
|
1876
1894
|
}
|
|
1877
1895
|
) })
|
|
1878
1896
|
] })
|
|
1879
1897
|
] }),
|
|
1880
|
-
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: () => d(!
|
|
1898
|
+
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: () => d(!k), children: "Closed" }) })
|
|
1881
1899
|
] })
|
|
1882
1900
|
] }) : "",
|
|
1883
|
-
|
|
1901
|
+
x ? /* @__PURE__ */ c.jsx(ur, { setAuthorization: p }) : ""
|
|
1884
1902
|
] });
|
|
1885
1903
|
} else
|
|
1886
1904
|
return P.useEffect(() => {
|
|
1887
1905
|
document.documentElement.style.setProperty(
|
|
1888
1906
|
"--tg-theme-secondary-bg-color-alpha",
|
|
1889
|
-
|
|
1907
|
+
v.themeParams.secondary_bg_color + "d3"
|
|
1890
1908
|
), document.documentElement.style.setProperty(
|
|
1891
1909
|
"--tg-theme-bg-color-alpha",
|
|
1892
|
-
|
|
1893
|
-
),
|
|
1910
|
+
v.themeParams.bg_color + "b3"
|
|
1911
|
+
), v.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1894
1912
|
"--tg-safe-area-inset-bottom",
|
|
1895
1913
|
"16px"
|
|
1896
1914
|
);
|
|
1897
|
-
}, []), /* @__PURE__ */ c.jsx(c.Fragment, {});
|
|
1915
|
+
}, []), /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx(Xe.Init, {}) });
|
|
1898
1916
|
};
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1917
|
+
v.Modal = jt;
|
|
1918
|
+
v.Footer = lr;
|
|
1919
|
+
v.FooterMenu = or;
|
|
1920
|
+
v.toggleFooterMenu = qe;
|
|
1921
|
+
const ur = ({ setAuthorization: n }) => {
|
|
1903
1922
|
let o = {}, l = () => {
|
|
1904
1923
|
localStorage.setItem("auth", o);
|
|
1905
1924
|
};
|
|
@@ -1909,5 +1928,5 @@ const ar = ({ setAuthorization: n }) => {
|
|
|
1909
1928
|
] }) });
|
|
1910
1929
|
};
|
|
1911
1930
|
export {
|
|
1912
|
-
|
|
1931
|
+
v as default
|
|
1913
1932
|
};
|