@elcrm/telegram 0.0.126 → 0.0.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +238 -232
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -16,11 +16,11 @@ function pr() {
|
|
|
16
16
|
Vt = 1;
|
|
17
17
|
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
18
|
function v(p, f, b) {
|
|
19
|
-
var
|
|
19
|
+
var m, g = {}, y = null, P = null;
|
|
20
20
|
b !== void 0 && (y = "" + b), f.key !== void 0 && (y = "" + f.key), f.ref !== void 0 && (P = f.ref);
|
|
21
|
-
for (
|
|
22
|
-
if (p && p.defaultProps) for (
|
|
23
|
-
return { $$typeof: n, type: p, key: y, ref: P, props:
|
|
21
|
+
for (m in f) i.call(f, m) && !c.hasOwnProperty(m) && (g[m] = f[m]);
|
|
22
|
+
if (p && p.defaultProps) for (m in f = p.defaultProps, f) g[m] === void 0 && (g[m] = f[m]);
|
|
23
|
+
return { $$typeof: n, type: p, key: y, ref: P, props: g, _owner: s.current };
|
|
24
24
|
}
|
|
25
25
|
return Je.Fragment = o, Je.jsx = v, Je.jsxs = v, Je;
|
|
26
26
|
}
|
|
@@ -37,7 +37,7 @@ var He = {};
|
|
|
37
37
|
var Jt;
|
|
38
38
|
function vr() {
|
|
39
39
|
return Jt || (Jt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"),
|
|
40
|
+
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), w = Symbol.iterator, nt = "@@iterator";
|
|
41
41
|
function ot(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
@@ -45,7 +45,7 @@ function vr() {
|
|
|
45
45
|
return typeof r == "function" ? r : null;
|
|
46
46
|
}
|
|
47
47
|
var U = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
|
-
function
|
|
48
|
+
function A(e) {
|
|
49
49
|
{
|
|
50
50
|
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++)
|
|
51
51
|
a[u - 1] = arguments[u];
|
|
@@ -62,14 +62,14 @@ function vr() {
|
|
|
62
62
|
R.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, R);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var st = !1, it = !1, ct = !1, lt = !1, ut = !1,
|
|
66
|
-
|
|
65
|
+
var st = !1, it = !1, ct = !1, lt = !1, ut = !1, Ee;
|
|
66
|
+
Ee = Symbol.for("react.module.reference");
|
|
67
67
|
function ft(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e === m || lt || e === P || st || it || ct || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === g || e.$$typeof === v || 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
|
-
e.$$typeof ===
|
|
72
|
+
e.$$typeof === Ee || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
74
|
function dt(e, r, a) {
|
|
75
75
|
var u = e.displayName;
|
|
@@ -78,13 +78,13 @@ function vr() {
|
|
|
78
78
|
var _ = r.displayName || r.name || "";
|
|
79
79
|
return _ !== "" ? a + "(" + _ + ")" : a;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Se(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
84
|
function $(e) {
|
|
85
85
|
if (e == null)
|
|
86
86
|
return null;
|
|
87
|
-
if (typeof e.tag == "number" &&
|
|
87
|
+
if (typeof e.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
88
88
|
return e.displayName || e.name || null;
|
|
89
89
|
if (typeof e == "string")
|
|
90
90
|
return e;
|
|
@@ -99,20 +99,20 @@ function vr() {
|
|
|
99
99
|
return "StrictMode";
|
|
100
100
|
case b:
|
|
101
101
|
return "Suspense";
|
|
102
|
-
case
|
|
102
|
+
case m:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
107
|
case p:
|
|
108
108
|
var r = e;
|
|
109
|
-
return
|
|
109
|
+
return Se(r) + ".Consumer";
|
|
110
110
|
case v:
|
|
111
111
|
var a = e;
|
|
112
|
-
return
|
|
112
|
+
return Se(a._context) + ".Provider";
|
|
113
113
|
case f:
|
|
114
114
|
return dt(e, e.render, "ForwardRef");
|
|
115
|
-
case
|
|
115
|
+
case g:
|
|
116
116
|
var u = e.displayName || null;
|
|
117
117
|
return u !== null ? u : $(e.type) || "Memo";
|
|
118
118
|
case y: {
|
|
@@ -126,14 +126,14 @@ function vr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var N = Object.assign, q = 0, xe,
|
|
129
|
+
var N = Object.assign, q = 0, xe, Ae, je, ke, Oe, Pe, we;
|
|
130
130
|
function Te() {
|
|
131
131
|
}
|
|
132
132
|
Te.__reactDisabledLog = !0;
|
|
133
133
|
function pt() {
|
|
134
134
|
{
|
|
135
135
|
if (q === 0) {
|
|
136
|
-
xe = console.log,
|
|
136
|
+
xe = console.log, Ae = console.info, je = console.warn, ke = console.error, Oe = console.group, Pe = console.groupCollapsed, we = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
@@ -166,10 +166,10 @@ function vr() {
|
|
|
166
166
|
value: xe
|
|
167
167
|
}),
|
|
168
168
|
info: N({}, e, {
|
|
169
|
-
value:
|
|
169
|
+
value: Ae
|
|
170
170
|
}),
|
|
171
171
|
warn: N({}, e, {
|
|
172
|
-
value:
|
|
172
|
+
value: je
|
|
173
173
|
}),
|
|
174
174
|
error: N({}, e, {
|
|
175
175
|
value: ke
|
|
@@ -185,7 +185,7 @@ function vr() {
|
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
q < 0 &&
|
|
188
|
+
q < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
var se = U.ReactCurrentDispatcher, ie;
|
|
@@ -256,19 +256,19 @@ function vr() {
|
|
|
256
256
|
} catch (k) {
|
|
257
257
|
if (k && u && typeof k.stack == "string") {
|
|
258
258
|
for (var d = k.stack.split(`
|
|
259
|
-
`),
|
|
260
|
-
`),
|
|
261
|
-
|
|
262
|
-
for (;
|
|
263
|
-
if (d[
|
|
264
|
-
if (
|
|
259
|
+
`), j = u.stack.split(`
|
|
260
|
+
`), E = d.length - 1, S = j.length - 1; E >= 1 && S >= 0 && d[E] !== j[S]; )
|
|
261
|
+
S--;
|
|
262
|
+
for (; E >= 1 && S >= 0; E--, S--)
|
|
263
|
+
if (d[E] !== j[S]) {
|
|
264
|
+
if (E !== 1 || S !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (
|
|
266
|
+
if (E--, S--, S < 0 || d[E] !== j[S]) {
|
|
267
267
|
var O = `
|
|
268
|
-
` + d[
|
|
268
|
+
` + d[E].replace(" at new ", " at ");
|
|
269
269
|
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, O), O;
|
|
270
270
|
}
|
|
271
|
-
while (
|
|
271
|
+
while (E >= 1 && S >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
@@ -278,10 +278,10 @@ function vr() {
|
|
|
278
278
|
var W = e ? e.displayName || e.name : "", I = W ? G(W) : "";
|
|
279
279
|
return typeof e == "function" && X.set(e, I), I;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function mt(e, r, a) {
|
|
282
282
|
return Ce(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function gt(e) {
|
|
285
285
|
var r = e.prototype;
|
|
286
286
|
return !!(r && r.isReactComponent);
|
|
287
287
|
}
|
|
@@ -289,20 +289,20 @@ function vr() {
|
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return Ce(e,
|
|
292
|
+
return Ce(e, gt(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return G(e);
|
|
295
295
|
switch (e) {
|
|
296
296
|
case b:
|
|
297
297
|
return G("Suspense");
|
|
298
|
-
case
|
|
298
|
+
case m:
|
|
299
299
|
return G("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case f:
|
|
304
|
-
return
|
|
305
|
-
case
|
|
304
|
+
return mt(e.render);
|
|
305
|
+
case g:
|
|
306
306
|
return Z(e.type, r, a);
|
|
307
307
|
case y: {
|
|
308
308
|
var u = e, _ = u._payload, R = u._init;
|
|
@@ -330,14 +330,14 @@ function vr() {
|
|
|
330
330
|
var d = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[h] != "function") {
|
|
333
|
-
var
|
|
334
|
-
throw
|
|
333
|
+
var j = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
|
+
throw j.name = "Invariant Violation", j;
|
|
335
335
|
}
|
|
336
336
|
d = e[h](r, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
|
-
} catch (
|
|
338
|
-
d =
|
|
337
|
+
} catch (E) {
|
|
338
|
+
d = E;
|
|
339
339
|
}
|
|
340
|
-
d && !(d instanceof Error) && (Q(_),
|
|
340
|
+
d && !(d instanceof Error) && (Q(_), A("%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, h, typeof d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(_), A("Failed %s type: %s", a, d.message), Q(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
@@ -363,15 +363,15 @@ function vr() {
|
|
|
363
363
|
}
|
|
364
364
|
function Me(e) {
|
|
365
365
|
if (Rt(e))
|
|
366
|
-
return
|
|
366
|
+
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), Ie(e);
|
|
367
367
|
}
|
|
368
|
-
var Be = U.ReactCurrentOwner,
|
|
368
|
+
var Be = U.ReactCurrentOwner, Et = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
373
|
}, Le, De;
|
|
374
|
-
function
|
|
374
|
+
function St(e) {
|
|
375
375
|
if (z.call(e, "ref")) {
|
|
376
376
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (r && r.isReactWarning)
|
|
@@ -387,13 +387,13 @@ function vr() {
|
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function At(e, r) {
|
|
391
391
|
typeof e.ref == "string" && Be.current;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function jt(e, r) {
|
|
394
394
|
{
|
|
395
395
|
var a = function() {
|
|
396
|
-
Le || (Le = !0,
|
|
396
|
+
Le || (Le = !0, A("%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)", r));
|
|
397
397
|
};
|
|
398
398
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
399
|
get: a,
|
|
@@ -404,7 +404,7 @@ function vr() {
|
|
|
404
404
|
function kt(e, r) {
|
|
405
405
|
{
|
|
406
406
|
var a = function() {
|
|
407
|
-
De || (De = !0,
|
|
407
|
+
De || (De = !0, A("%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)", r));
|
|
408
408
|
};
|
|
409
409
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
410
|
get: a,
|
|
@@ -443,20 +443,20 @@ function vr() {
|
|
|
443
443
|
};
|
|
444
444
|
function Pt(e, r, a, u, _) {
|
|
445
445
|
{
|
|
446
|
-
var R, h = {}, d = null,
|
|
447
|
-
a !== void 0 && (Me(a), d = "" + a), xt(r) && (Me(r.key), d = "" + r.key),
|
|
446
|
+
var R, h = {}, d = null, j = null;
|
|
447
|
+
a !== void 0 && (Me(a), d = "" + a), xt(r) && (Me(r.key), d = "" + r.key), St(r) && (j = r.ref, At(r, _));
|
|
448
448
|
for (R in r)
|
|
449
|
-
z.call(r, R) && !
|
|
449
|
+
z.call(r, R) && !Et.hasOwnProperty(R) && (h[R] = r[R]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
|
-
var
|
|
452
|
-
for (R in
|
|
453
|
-
h[R] === void 0 && (h[R] =
|
|
451
|
+
var E = e.defaultProps;
|
|
452
|
+
for (R in E)
|
|
453
|
+
h[R] === void 0 && (h[R] = E[R]);
|
|
454
454
|
}
|
|
455
|
-
if (d ||
|
|
456
|
-
var
|
|
457
|
-
d &&
|
|
455
|
+
if (d || j) {
|
|
456
|
+
var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
+
d && jt(h, S), j && kt(h, S);
|
|
458
458
|
}
|
|
459
|
-
return Ot(e, d,
|
|
459
|
+
return Ot(e, d, j, _, u, Be.current, h);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
var ue = U.ReactCurrentOwner, Ue = U.ReactDebugCurrentFrame;
|
|
@@ -510,7 +510,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
510
510
|
return;
|
|
511
511
|
We[a] = !0;
|
|
512
512
|
var u = "";
|
|
513
|
-
e && e._owner && e._owner !== ue.current && (u = " It was passed a child from " + $(e._owner.type) + "."), F(e),
|
|
513
|
+
e && e._owner && e._owner !== ue.current && (u = " It was passed a child from " + $(e._owner.type) + "."), F(e), A('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), F(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
function qe(e, r) {
|
|
@@ -542,7 +542,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
542
542
|
a = r.propTypes;
|
|
543
543
|
else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
|
-
r.$$typeof ===
|
|
545
|
+
r.$$typeof === g))
|
|
546
546
|
a = r.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
@@ -552,9 +552,9 @@ Check the top-level render call using <` + a + ">.");
|
|
|
552
552
|
} else if (r.PropTypes !== void 0 && !fe) {
|
|
553
553
|
fe = !0;
|
|
554
554
|
var _ = $(r);
|
|
555
|
-
|
|
555
|
+
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
|
|
556
556
|
}
|
|
557
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
557
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
function $t(e) {
|
|
@@ -562,11 +562,11 @@ Check the top-level render call using <` + a + ">.");
|
|
|
562
562
|
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
|
563
563
|
var u = r[a];
|
|
564
564
|
if (u !== "children" && u !== "key") {
|
|
565
|
-
F(e),
|
|
565
|
+
F(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), F(null);
|
|
566
566
|
break;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
e.ref !== null && (F(e),
|
|
569
|
+
e.ref !== null && (F(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
var ze = {};
|
|
@@ -576,14 +576,14 @@ Check the top-level render call using <` + a + ">.");
|
|
|
576
576
|
if (!h) {
|
|
577
577
|
var d = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
|
-
var
|
|
580
|
-
|
|
581
|
-
var
|
|
582
|
-
e === null ?
|
|
579
|
+
var j = wt();
|
|
580
|
+
j ? d += j : d += Fe();
|
|
581
|
+
var E;
|
|
582
|
+
e === null ? E = "null" : le(e) ? E = "array" : e !== void 0 && e.$$typeof === n ? (E = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, d);
|
|
583
583
|
}
|
|
584
|
-
var
|
|
585
|
-
if (
|
|
586
|
-
return
|
|
584
|
+
var S = Pt(e, r, a, _, R);
|
|
585
|
+
if (S == null)
|
|
586
|
+
return S;
|
|
587
587
|
if (h) {
|
|
588
588
|
var O = r.children;
|
|
589
589
|
if (O !== void 0)
|
|
@@ -593,7 +593,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
593
593
|
qe(O[W], e);
|
|
594
594
|
Object.freeze && Object.freeze(O);
|
|
595
595
|
} else
|
|
596
|
-
|
|
596
|
+
A("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
598
|
qe(O, e);
|
|
599
599
|
}
|
|
@@ -603,7 +603,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
603
603
|
}), pe = k.length > 0 ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
604
|
if (!ze[I + pe]) {
|
|
605
605
|
var Lt = k.length > 0 ? "{" + k.join(": ..., ") + ": ...}" : "{}";
|
|
606
|
-
|
|
606
|
+
A(`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:
|
|
@@ -611,7 +611,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
611
611
|
<%s key={someKey} {...props} />`, pe, I, Lt, I), ze[I + pe] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === i ? $t(
|
|
614
|
+
return e === i ? $t(S) : Ct(S), S;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
function Nt(e, r, a) {
|
|
@@ -626,10 +626,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
626
626
|
}
|
|
627
627
|
process.env.NODE_ENV === "production" ? Ft.exports = pr() : Ft.exports = vr();
|
|
628
628
|
var l = Ft.exports;
|
|
629
|
-
const hr = "_o_1apbm_11",
|
|
629
|
+
const hr = "_o_1apbm_11", mr = "_x_1apbm_24", gr = "_p_1apbm_28", br = "_m_1apbm_45", ye = {
|
|
630
630
|
o: hr,
|
|
631
|
-
x:
|
|
632
|
-
p:
|
|
631
|
+
x: mr,
|
|
632
|
+
p: gr,
|
|
633
633
|
m: br
|
|
634
634
|
};
|
|
635
635
|
let Y = {};
|
|
@@ -639,25 +639,25 @@ var Wt;
|
|
|
639
639
|
children: p,
|
|
640
640
|
onCallbackModal: f,
|
|
641
641
|
nameModal: b,
|
|
642
|
-
offsetTop:
|
|
642
|
+
offsetTop: m
|
|
643
643
|
}) {
|
|
644
|
-
const [
|
|
644
|
+
const [g, y] = C(!1), [P, w] = C(!1);
|
|
645
645
|
if (Y[b].onClose = () => {
|
|
646
646
|
T.BackButton(!1), w(!0), setTimeout(() => {
|
|
647
647
|
y(!1), w(!1), f == null || f(), Y.x(b);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, D(() => {
|
|
650
|
-
|
|
650
|
+
g ? Y[b].onClose() : (T.BackButton({
|
|
651
651
|
callback: () => Y[b].onClose()
|
|
652
652
|
}), y(!0));
|
|
653
|
-
}, []), !!
|
|
653
|
+
}, []), !!g)
|
|
654
654
|
return /* @__PURE__ */ l.jsx("div", { className: be(ye.o, P && ye.x), children: /* @__PURE__ */ l.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
657
|
className: be(
|
|
658
658
|
ye.p,
|
|
659
659
|
P && ye.x,
|
|
660
|
-
|
|
660
|
+
m ? ye.o : ye.m
|
|
661
661
|
),
|
|
662
662
|
children: p
|
|
663
663
|
}
|
|
@@ -668,13 +668,13 @@ var Wt;
|
|
|
668
668
|
import_modules: p
|
|
669
669
|
}) {
|
|
670
670
|
let [f, b] = C([]);
|
|
671
|
-
return Y.x = (
|
|
672
|
-
b(
|
|
671
|
+
return Y.x = (m) => {
|
|
672
|
+
b(m ? f.filter((g) => g.key !== m) : []);
|
|
673
673
|
}, D(() => {
|
|
674
674
|
p && (Y.i = p);
|
|
675
|
-
}, []), Y.add = (
|
|
676
|
-
b([...f, { key:
|
|
677
|
-
}, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((
|
|
675
|
+
}, []), Y.add = (m, g = Date.now()) => {
|
|
676
|
+
b([...f, { key: g, item: m }]);
|
|
677
|
+
}, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((m) => m.item) });
|
|
678
678
|
}
|
|
679
679
|
t.Init = o;
|
|
680
680
|
function i(p, f, b) {
|
|
@@ -720,10 +720,10 @@ var Wt;
|
|
|
720
720
|
Y[p].onClose();
|
|
721
721
|
}
|
|
722
722
|
t.Close = c;
|
|
723
|
-
function v(p, f, b,
|
|
724
|
-
Y.i && (
|
|
723
|
+
function v(p, f, b, m) {
|
|
724
|
+
Y.i && (m && (b.callback = m), Y.i(`${p}/modals/${f}.tsx`).then((g) => {
|
|
725
725
|
var y;
|
|
726
|
-
|
|
726
|
+
g.Open ? g.Open(b) : (y = g.default) != null && y.Open ? g.default.Open(b) : g.default && g.default(b);
|
|
727
727
|
}));
|
|
728
728
|
}
|
|
729
729
|
t.Open = v;
|
|
@@ -781,12 +781,12 @@ const tt = (t) => {
|
|
|
781
781
|
n += String.fromCharCode.apply(null, Array.from(i));
|
|
782
782
|
}
|
|
783
783
|
return btoa(n);
|
|
784
|
-
},
|
|
784
|
+
}, Er = (t) => {
|
|
785
785
|
const n = atob(t), o = new Uint8Array(n.length);
|
|
786
786
|
for (let i = 0; i < n.length; i++)
|
|
787
787
|
o[i] = n.charCodeAt(i);
|
|
788
788
|
return o;
|
|
789
|
-
},
|
|
789
|
+
}, Sr = (t) => {
|
|
790
790
|
try {
|
|
791
791
|
const n = tt(
|
|
792
792
|
Date.now().toString() + Math.random()
|
|
@@ -800,7 +800,7 @@ const tt = (t) => {
|
|
|
800
800
|
const n = t.split(".");
|
|
801
801
|
if (n.length !== 3)
|
|
802
802
|
throw new Error("Неверный формат зашифрованных данных");
|
|
803
|
-
const o = n[0], i = n[1], s = n[2], c = ar(et().key, o), v =
|
|
803
|
+
const o = n[0], i = n[1], s = n[2], c = ar(et().key, o), v = Er(i), p = sr(v, c), f = _r(p);
|
|
804
804
|
if (tt(f + o).substring(
|
|
805
805
|
0,
|
|
806
806
|
8
|
|
@@ -818,7 +818,7 @@ var ae;
|
|
|
818
818
|
}, t.enCode = (n) => {
|
|
819
819
|
try {
|
|
820
820
|
const o = JSON.stringify(n);
|
|
821
|
-
return
|
|
821
|
+
return Sr(o);
|
|
822
822
|
} catch {
|
|
823
823
|
throw new Error("Не удалось зашифровать объект");
|
|
824
824
|
}
|
|
@@ -846,16 +846,16 @@ var Ke = {};
|
|
|
846
846
|
* LICENSE file in the root directory of this source tree.
|
|
847
847
|
*/
|
|
848
848
|
var Kt;
|
|
849
|
-
function
|
|
849
|
+
function Ar() {
|
|
850
850
|
if (Kt) return Ke;
|
|
851
851
|
Kt = 1;
|
|
852
852
|
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
853
853
|
function v(p, f, b) {
|
|
854
|
-
var
|
|
854
|
+
var m, g = {}, y = null, P = null;
|
|
855
855
|
b !== void 0 && (y = "" + b), f.key !== void 0 && (y = "" + f.key), f.ref !== void 0 && (P = f.ref);
|
|
856
|
-
for (
|
|
857
|
-
if (p && p.defaultProps) for (
|
|
858
|
-
return { $$typeof: n, type: p, key: y, ref: P, props:
|
|
856
|
+
for (m in f) i.call(f, m) && !c.hasOwnProperty(m) && (g[m] = f[m]);
|
|
857
|
+
if (p && p.defaultProps) for (m in f = p.defaultProps, f) g[m] === void 0 && (g[m] = f[m]);
|
|
858
|
+
return { $$typeof: n, type: p, key: y, ref: P, props: g, _owner: s.current };
|
|
859
859
|
}
|
|
860
860
|
return Ke.Fragment = o, Ke.jsx = v, Ke.jsxs = v, Ke;
|
|
861
861
|
}
|
|
@@ -870,9 +870,9 @@ var Xe = {};
|
|
|
870
870
|
* LICENSE file in the root directory of this source tree.
|
|
871
871
|
*/
|
|
872
872
|
var Gt;
|
|
873
|
-
function
|
|
873
|
+
function jr() {
|
|
874
874
|
return Gt || (Gt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
|
-
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"),
|
|
875
|
+
var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), w = Symbol.iterator, nt = "@@iterator";
|
|
876
876
|
function ot(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
@@ -880,7 +880,7 @@ function Ar() {
|
|
|
880
880
|
return typeof r == "function" ? r : null;
|
|
881
881
|
}
|
|
882
882
|
var U = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
883
|
-
function
|
|
883
|
+
function A(e) {
|
|
884
884
|
{
|
|
885
885
|
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++)
|
|
886
886
|
a[u - 1] = arguments[u];
|
|
@@ -897,14 +897,14 @@ function Ar() {
|
|
|
897
897
|
R.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, R);
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
|
-
var st = !1, it = !1, ct = !1, lt = !1, ut = !1,
|
|
901
|
-
|
|
900
|
+
var st = !1, it = !1, ct = !1, lt = !1, ut = !1, Ee;
|
|
901
|
+
Ee = Symbol.for("react.module.reference");
|
|
902
902
|
function ft(e) {
|
|
903
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e ===
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e === m || lt || e === P || st || it || ct || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === g || e.$$typeof === v || 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
|
-
e.$$typeof ===
|
|
907
|
+
e.$$typeof === Ee || e.getModuleId !== void 0));
|
|
908
908
|
}
|
|
909
909
|
function dt(e, r, a) {
|
|
910
910
|
var u = e.displayName;
|
|
@@ -913,13 +913,13 @@ function Ar() {
|
|
|
913
913
|
var _ = r.displayName || r.name || "";
|
|
914
914
|
return _ !== "" ? a + "(" + _ + ")" : a;
|
|
915
915
|
}
|
|
916
|
-
function
|
|
916
|
+
function Se(e) {
|
|
917
917
|
return e.displayName || "Context";
|
|
918
918
|
}
|
|
919
919
|
function $(e) {
|
|
920
920
|
if (e == null)
|
|
921
921
|
return null;
|
|
922
|
-
if (typeof e.tag == "number" &&
|
|
922
|
+
if (typeof e.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
923
923
|
return e.displayName || e.name || null;
|
|
924
924
|
if (typeof e == "string")
|
|
925
925
|
return e;
|
|
@@ -934,20 +934,20 @@ function Ar() {
|
|
|
934
934
|
return "StrictMode";
|
|
935
935
|
case b:
|
|
936
936
|
return "Suspense";
|
|
937
|
-
case
|
|
937
|
+
case m:
|
|
938
938
|
return "SuspenseList";
|
|
939
939
|
}
|
|
940
940
|
if (typeof e == "object")
|
|
941
941
|
switch (e.$$typeof) {
|
|
942
942
|
case p:
|
|
943
943
|
var r = e;
|
|
944
|
-
return
|
|
944
|
+
return Se(r) + ".Consumer";
|
|
945
945
|
case v:
|
|
946
946
|
var a = e;
|
|
947
|
-
return
|
|
947
|
+
return Se(a._context) + ".Provider";
|
|
948
948
|
case f:
|
|
949
949
|
return dt(e, e.render, "ForwardRef");
|
|
950
|
-
case
|
|
950
|
+
case g:
|
|
951
951
|
var u = e.displayName || null;
|
|
952
952
|
return u !== null ? u : $(e.type) || "Memo";
|
|
953
953
|
case y: {
|
|
@@ -961,14 +961,14 @@ function Ar() {
|
|
|
961
961
|
}
|
|
962
962
|
return null;
|
|
963
963
|
}
|
|
964
|
-
var N = Object.assign, q = 0, xe,
|
|
964
|
+
var N = Object.assign, q = 0, xe, Ae, je, ke, Oe, Pe, we;
|
|
965
965
|
function Te() {
|
|
966
966
|
}
|
|
967
967
|
Te.__reactDisabledLog = !0;
|
|
968
968
|
function pt() {
|
|
969
969
|
{
|
|
970
970
|
if (q === 0) {
|
|
971
|
-
xe = console.log,
|
|
971
|
+
xe = console.log, Ae = console.info, je = console.warn, ke = console.error, Oe = console.group, Pe = console.groupCollapsed, we = console.groupEnd;
|
|
972
972
|
var e = {
|
|
973
973
|
configurable: !0,
|
|
974
974
|
enumerable: !0,
|
|
@@ -1001,10 +1001,10 @@ function Ar() {
|
|
|
1001
1001
|
value: xe
|
|
1002
1002
|
}),
|
|
1003
1003
|
info: N({}, e, {
|
|
1004
|
-
value:
|
|
1004
|
+
value: Ae
|
|
1005
1005
|
}),
|
|
1006
1006
|
warn: N({}, e, {
|
|
1007
|
-
value:
|
|
1007
|
+
value: je
|
|
1008
1008
|
}),
|
|
1009
1009
|
error: N({}, e, {
|
|
1010
1010
|
value: ke
|
|
@@ -1020,7 +1020,7 @@ function Ar() {
|
|
|
1020
1020
|
})
|
|
1021
1021
|
});
|
|
1022
1022
|
}
|
|
1023
|
-
q < 0 &&
|
|
1023
|
+
q < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
1026
|
var se = U.ReactCurrentDispatcher, ie;
|
|
@@ -1091,19 +1091,19 @@ function Ar() {
|
|
|
1091
1091
|
} catch (k) {
|
|
1092
1092
|
if (k && u && typeof k.stack == "string") {
|
|
1093
1093
|
for (var d = k.stack.split(`
|
|
1094
|
-
`),
|
|
1095
|
-
`),
|
|
1096
|
-
|
|
1097
|
-
for (;
|
|
1098
|
-
if (d[
|
|
1099
|
-
if (
|
|
1094
|
+
`), j = u.stack.split(`
|
|
1095
|
+
`), E = d.length - 1, S = j.length - 1; E >= 1 && S >= 0 && d[E] !== j[S]; )
|
|
1096
|
+
S--;
|
|
1097
|
+
for (; E >= 1 && S >= 0; E--, S--)
|
|
1098
|
+
if (d[E] !== j[S]) {
|
|
1099
|
+
if (E !== 1 || S !== 1)
|
|
1100
1100
|
do
|
|
1101
|
-
if (
|
|
1101
|
+
if (E--, S--, S < 0 || d[E] !== j[S]) {
|
|
1102
1102
|
var O = `
|
|
1103
|
-
` + d[
|
|
1103
|
+
` + d[E].replace(" at new ", " at ");
|
|
1104
1104
|
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, O), O;
|
|
1105
1105
|
}
|
|
1106
|
-
while (
|
|
1106
|
+
while (E >= 1 && S >= 0);
|
|
1107
1107
|
break;
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
@@ -1113,10 +1113,10 @@ function Ar() {
|
|
|
1113
1113
|
var W = e ? e.displayName || e.name : "", I = W ? G(W) : "";
|
|
1114
1114
|
return typeof e == "function" && X.set(e, I), I;
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1116
|
+
function mt(e, r, a) {
|
|
1117
1117
|
return Ce(e, !1);
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function gt(e) {
|
|
1120
1120
|
var r = e.prototype;
|
|
1121
1121
|
return !!(r && r.isReactComponent);
|
|
1122
1122
|
}
|
|
@@ -1124,20 +1124,20 @@ function Ar() {
|
|
|
1124
1124
|
if (e == null)
|
|
1125
1125
|
return "";
|
|
1126
1126
|
if (typeof e == "function")
|
|
1127
|
-
return Ce(e,
|
|
1127
|
+
return Ce(e, gt(e));
|
|
1128
1128
|
if (typeof e == "string")
|
|
1129
1129
|
return G(e);
|
|
1130
1130
|
switch (e) {
|
|
1131
1131
|
case b:
|
|
1132
1132
|
return G("Suspense");
|
|
1133
|
-
case
|
|
1133
|
+
case m:
|
|
1134
1134
|
return G("SuspenseList");
|
|
1135
1135
|
}
|
|
1136
1136
|
if (typeof e == "object")
|
|
1137
1137
|
switch (e.$$typeof) {
|
|
1138
1138
|
case f:
|
|
1139
|
-
return
|
|
1140
|
-
case
|
|
1139
|
+
return mt(e.render);
|
|
1140
|
+
case g:
|
|
1141
1141
|
return Z(e.type, r, a);
|
|
1142
1142
|
case y: {
|
|
1143
1143
|
var u = e, _ = u._payload, R = u._init;
|
|
@@ -1165,14 +1165,14 @@ function Ar() {
|
|
|
1165
1165
|
var d = void 0;
|
|
1166
1166
|
try {
|
|
1167
1167
|
if (typeof e[h] != "function") {
|
|
1168
|
-
var
|
|
1169
|
-
throw
|
|
1168
|
+
var j = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1169
|
+
throw j.name = "Invariant Violation", j;
|
|
1170
1170
|
}
|
|
1171
1171
|
d = e[h](r, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1172
|
-
} catch (
|
|
1173
|
-
d =
|
|
1172
|
+
} catch (E) {
|
|
1173
|
+
d = E;
|
|
1174
1174
|
}
|
|
1175
|
-
d && !(d instanceof Error) && (Q(_),
|
|
1175
|
+
d && !(d instanceof Error) && (Q(_), A("%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, h, typeof d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(_), A("Failed %s type: %s", a, d.message), Q(null));
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
@@ -1198,15 +1198,15 @@ function Ar() {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
function Me(e) {
|
|
1200
1200
|
if (Rt(e))
|
|
1201
|
-
return
|
|
1201
|
+
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), Ie(e);
|
|
1202
1202
|
}
|
|
1203
|
-
var Be = U.ReactCurrentOwner,
|
|
1203
|
+
var Be = U.ReactCurrentOwner, Et = {
|
|
1204
1204
|
key: !0,
|
|
1205
1205
|
ref: !0,
|
|
1206
1206
|
__self: !0,
|
|
1207
1207
|
__source: !0
|
|
1208
1208
|
}, Le, De;
|
|
1209
|
-
function
|
|
1209
|
+
function St(e) {
|
|
1210
1210
|
if (z.call(e, "ref")) {
|
|
1211
1211
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1212
1212
|
if (r && r.isReactWarning)
|
|
@@ -1222,13 +1222,13 @@ function Ar() {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
return e.key !== void 0;
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function At(e, r) {
|
|
1226
1226
|
typeof e.ref == "string" && Be.current;
|
|
1227
1227
|
}
|
|
1228
|
-
function
|
|
1228
|
+
function jt(e, r) {
|
|
1229
1229
|
{
|
|
1230
1230
|
var a = function() {
|
|
1231
|
-
Le || (Le = !0,
|
|
1231
|
+
Le || (Le = !0, A("%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)", r));
|
|
1232
1232
|
};
|
|
1233
1233
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1234
1234
|
get: a,
|
|
@@ -1239,7 +1239,7 @@ function Ar() {
|
|
|
1239
1239
|
function kt(e, r) {
|
|
1240
1240
|
{
|
|
1241
1241
|
var a = function() {
|
|
1242
|
-
De || (De = !0,
|
|
1242
|
+
De || (De = !0, A("%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)", r));
|
|
1243
1243
|
};
|
|
1244
1244
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1245
1245
|
get: a,
|
|
@@ -1278,20 +1278,20 @@ function Ar() {
|
|
|
1278
1278
|
};
|
|
1279
1279
|
function Pt(e, r, a, u, _) {
|
|
1280
1280
|
{
|
|
1281
|
-
var R, h = {}, d = null,
|
|
1282
|
-
a !== void 0 && (Me(a), d = "" + a), xt(r) && (Me(r.key), d = "" + r.key),
|
|
1281
|
+
var R, h = {}, d = null, j = null;
|
|
1282
|
+
a !== void 0 && (Me(a), d = "" + a), xt(r) && (Me(r.key), d = "" + r.key), St(r) && (j = r.ref, At(r));
|
|
1283
1283
|
for (R in r)
|
|
1284
|
-
z.call(r, R) && !
|
|
1284
|
+
z.call(r, R) && !Et.hasOwnProperty(R) && (h[R] = r[R]);
|
|
1285
1285
|
if (e && e.defaultProps) {
|
|
1286
|
-
var
|
|
1287
|
-
for (R in
|
|
1288
|
-
h[R] === void 0 && (h[R] =
|
|
1286
|
+
var E = e.defaultProps;
|
|
1287
|
+
for (R in E)
|
|
1288
|
+
h[R] === void 0 && (h[R] = E[R]);
|
|
1289
1289
|
}
|
|
1290
|
-
if (d ||
|
|
1291
|
-
var
|
|
1292
|
-
d &&
|
|
1290
|
+
if (d || j) {
|
|
1291
|
+
var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1292
|
+
d && jt(h, S), j && kt(h, S);
|
|
1293
1293
|
}
|
|
1294
|
-
return Ot(e, d,
|
|
1294
|
+
return Ot(e, d, j, _, u, Be.current, h);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
1297
|
var ue = U.ReactCurrentOwner, Ue = U.ReactDebugCurrentFrame;
|
|
@@ -1345,7 +1345,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1345
1345
|
return;
|
|
1346
1346
|
We[a] = !0;
|
|
1347
1347
|
var u = "";
|
|
1348
|
-
e && e._owner && e._owner !== ue.current && (u = " It was passed a child from " + $(e._owner.type) + "."), F(e),
|
|
1348
|
+
e && e._owner && e._owner !== ue.current && (u = " It was passed a child from " + $(e._owner.type) + "."), F(e), A('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), F(null);
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
1351
|
function qe(e, r) {
|
|
@@ -1377,7 +1377,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1377
1377
|
a = r.propTypes;
|
|
1378
1378
|
else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
|
|
1379
1379
|
// Inner props are checked in the reconciler.
|
|
1380
|
-
r.$$typeof ===
|
|
1380
|
+
r.$$typeof === g))
|
|
1381
1381
|
a = r.propTypes;
|
|
1382
1382
|
else
|
|
1383
1383
|
return;
|
|
@@ -1387,9 +1387,9 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1387
1387
|
} else if (r.PropTypes !== void 0 && !fe) {
|
|
1388
1388
|
fe = !0;
|
|
1389
1389
|
var _ = $(r);
|
|
1390
|
-
|
|
1390
|
+
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
|
|
1391
1391
|
}
|
|
1392
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
1392
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
1395
|
function $t(e) {
|
|
@@ -1397,11 +1397,11 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1397
1397
|
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
|
1398
1398
|
var u = r[a];
|
|
1399
1399
|
if (u !== "children" && u !== "key") {
|
|
1400
|
-
F(e),
|
|
1400
|
+
F(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), F(null);
|
|
1401
1401
|
break;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
e.ref !== null && (F(e),
|
|
1404
|
+
e.ref !== null && (F(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
1407
|
var ze = {};
|
|
@@ -1411,14 +1411,14 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1411
1411
|
if (!h) {
|
|
1412
1412
|
var d = "";
|
|
1413
1413
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1414
|
-
var
|
|
1415
|
-
|
|
1416
|
-
var
|
|
1417
|
-
e === null ?
|
|
1414
|
+
var j = wt();
|
|
1415
|
+
j ? d += j : d += Fe();
|
|
1416
|
+
var E;
|
|
1417
|
+
e === null ? E = "null" : le(e) ? E = "array" : e !== void 0 && e.$$typeof === n ? (E = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, d);
|
|
1418
1418
|
}
|
|
1419
|
-
var
|
|
1420
|
-
if (
|
|
1421
|
-
return
|
|
1419
|
+
var S = Pt(e, r, a, _, R);
|
|
1420
|
+
if (S == null)
|
|
1421
|
+
return S;
|
|
1422
1422
|
if (h) {
|
|
1423
1423
|
var O = r.children;
|
|
1424
1424
|
if (O !== void 0)
|
|
@@ -1428,7 +1428,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1428
1428
|
qe(O[W], e);
|
|
1429
1429
|
Object.freeze && Object.freeze(O);
|
|
1430
1430
|
} else
|
|
1431
|
-
|
|
1431
|
+
A("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
1433
|
qe(O, e);
|
|
1434
1434
|
}
|
|
@@ -1438,7 +1438,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1438
1438
|
}), pe = k.length > 0 ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1439
1439
|
if (!ze[I + pe]) {
|
|
1440
1440
|
var Lt = k.length > 0 ? "{" + k.join(": ..., ") + ": ...}" : "{}";
|
|
1441
|
-
|
|
1441
|
+
A(`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:
|
|
@@ -1446,7 +1446,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1446
1446
|
<%s key={someKey} {...props} />`, pe, I, Lt, I), ze[I + pe] = !0;
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
|
-
return e === i ? $t(
|
|
1449
|
+
return e === i ? $t(S) : Ct(S), S;
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
1452
|
function Nt(e, r, a) {
|
|
@@ -1459,7 +1459,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1459
1459
|
Xe.Fragment = i, Xe.jsx = Mt, Xe.jsxs = Bt;
|
|
1460
1460
|
}()), Xe;
|
|
1461
1461
|
}
|
|
1462
|
-
process.env.NODE_ENV === "production" ?
|
|
1462
|
+
process.env.NODE_ENV === "production" ? Ar() : jr();
|
|
1463
1463
|
const kr = "0.0.46", ir = {
|
|
1464
1464
|
version: kr
|
|
1465
1465
|
}, te = {}, L = {
|
|
@@ -1517,7 +1517,7 @@ function K(t) {
|
|
|
1517
1517
|
function x() {
|
|
1518
1518
|
return H().ROUTER_PARAMS || L;
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1520
|
+
function ge(t) {
|
|
1521
1521
|
const n = H();
|
|
1522
1522
|
n.ROUTER_PARAMS || (n.ROUTER_PARAMS = { ...L }), n.ROUTER_PARAMS.LISTENER || (n.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((o) => {
|
|
1523
1523
|
n.ROUTER_PARAMS.LISTENER[o] || (n.ROUTER_PARAMS.LISTENER[o] = []), Array.isArray(n.ROUTER_PARAMS.LISTENER[o]) || (n.ROUTER_PARAMS.LISTENER[o] = [
|
|
@@ -1654,7 +1654,7 @@ function wr(t) {
|
|
|
1654
1654
|
const s = (c) => {
|
|
1655
1655
|
i(c);
|
|
1656
1656
|
};
|
|
1657
|
-
return
|
|
1657
|
+
return ge({ page: s }), () => {
|
|
1658
1658
|
var c, v;
|
|
1659
1659
|
const p = H();
|
|
1660
1660
|
if ((v = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && v.page) {
|
|
@@ -1683,7 +1683,7 @@ function Nr(t, n) {
|
|
|
1683
1683
|
const [o, i] = C(
|
|
1684
1684
|
lr() || t || x().module
|
|
1685
1685
|
);
|
|
1686
|
-
return D(() => (
|
|
1686
|
+
return D(() => (ge({ module: i }), () => {
|
|
1687
1687
|
const s = V();
|
|
1688
1688
|
s.module === i && delete s.module;
|
|
1689
1689
|
}), []), o;
|
|
@@ -1700,11 +1700,11 @@ function Mr(t) {
|
|
|
1700
1700
|
function Br(t, n) {
|
|
1701
1701
|
if (typeof t != "function") {
|
|
1702
1702
|
const [o, i] = C(!n), [s, c] = C(t || zt());
|
|
1703
|
-
return
|
|
1703
|
+
return ge({ tabs: c }), n && D(() => {
|
|
1704
1704
|
i(!0);
|
|
1705
1705
|
}, []), [s, o];
|
|
1706
1706
|
} else
|
|
1707
|
-
|
|
1707
|
+
ge({ tabs: t });
|
|
1708
1708
|
}
|
|
1709
1709
|
function Lr(t) {
|
|
1710
1710
|
let n = (s) => (K({ tab: s }), s);
|
|
@@ -1715,7 +1715,7 @@ function Lr(t) {
|
|
|
1715
1715
|
const s = (c) => {
|
|
1716
1716
|
i(c);
|
|
1717
1717
|
};
|
|
1718
|
-
return
|
|
1718
|
+
return ge({ tabs: s }), () => {
|
|
1719
1719
|
var c, v;
|
|
1720
1720
|
const p = H();
|
|
1721
1721
|
if ((v = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && v.tabs) {
|
|
@@ -1744,13 +1744,13 @@ function Fr(t) {
|
|
|
1744
1744
|
const i = (s) => {
|
|
1745
1745
|
o(s);
|
|
1746
1746
|
};
|
|
1747
|
-
return
|
|
1747
|
+
return ge({ id: i }), () => {
|
|
1748
1748
|
const s = V();
|
|
1749
1749
|
s.id === i && delete s.id;
|
|
1750
1750
|
};
|
|
1751
1751
|
}, []), n;
|
|
1752
1752
|
} else
|
|
1753
|
-
D(() => (
|
|
1753
|
+
D(() => (ge({ id: t }), () => {
|
|
1754
1754
|
var n, o;
|
|
1755
1755
|
const i = H();
|
|
1756
1756
|
if ((o = (n = i.ROUTER_PARAMS) == null ? void 0 : n.LISTENER) != null && o.id) {
|
|
@@ -1775,8 +1775,8 @@ function qr(t) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
async function zr(t) {
|
|
1777
1777
|
var n, o, i, s, c, v, p, f;
|
|
1778
|
-
const { page: b, module:
|
|
1779
|
-
b !== void 0 && (te.page = b),
|
|
1778
|
+
const { page: b, module: m, tab: g, id: y } = t;
|
|
1779
|
+
b !== void 0 && (te.page = b), m !== void 0 && (te.module = m), g !== void 0 && (te.tab = g), y !== void 0 && (te.id = y), K({ ...te }), y !== void 0 && ((o = (n = V()).id) == null || o.call(n, y)), g !== void 0 && ((s = (i = V()).tabs) == null || s.call(i, g)), m !== void 0 && ((v = (c = V()).module) == null || v.call(c, m)), b !== void 0 && ((f = (p = V()).page) == null || f.call(p, b)), sessionStorage.setItem(
|
|
1780
1780
|
x().STORAGE,
|
|
1781
1781
|
ae.enCode(x())
|
|
1782
1782
|
);
|
|
@@ -1797,11 +1797,11 @@ const Re = {
|
|
|
1797
1797
|
glob: f
|
|
1798
1798
|
// Поддержка единого glob объекта для упрощения
|
|
1799
1799
|
}) {
|
|
1800
|
-
let b = c,
|
|
1801
|
-
f ? (
|
|
1800
|
+
let b = c, m = v, g = p;
|
|
1801
|
+
f ? (m = typeof v == "object" ? v : f, g = typeof p == "object" ? p : f) : (m = m || f, g = g || f), !b && (m || g) ? !f && (typeof m == "string" || typeof g == "string") ? b = Yt({ basePath: s }) : b = Zt(
|
|
1802
1802
|
s,
|
|
1803
|
-
|
|
1804
|
-
|
|
1803
|
+
m,
|
|
1804
|
+
g
|
|
1805
1805
|
) : b || (b = Yt({ basePath: s })), K({
|
|
1806
1806
|
page: n,
|
|
1807
1807
|
module: t,
|
|
@@ -1915,7 +1915,7 @@ function tn(t) {
|
|
|
1915
1915
|
}
|
|
1916
1916
|
) });
|
|
1917
1917
|
}
|
|
1918
|
-
let
|
|
1918
|
+
let me = {
|
|
1919
1919
|
Send: en,
|
|
1920
1920
|
Init: Qr
|
|
1921
1921
|
};
|
|
@@ -1934,6 +1934,7 @@ const rn = "_d_1u25q_1", nn = "_b_1u25q_21", on = "_o_1u25q_25", an = "_m_1u25q_
|
|
|
1934
1934
|
};
|
|
1935
1935
|
let M = {};
|
|
1936
1936
|
M.dark = {
|
|
1937
|
+
"--tg-color-scheme": "dark",
|
|
1937
1938
|
"--tg-theme-subtitle-text-color": "#98989e",
|
|
1938
1939
|
"--tg-theme-destructive-text-color": "#e53935",
|
|
1939
1940
|
"--tg-theme-section-separator-color": "#545458",
|
|
@@ -1951,6 +1952,7 @@ M.dark = {
|
|
|
1951
1952
|
"--tg-theme-section-bg-color": "#2c2c2e"
|
|
1952
1953
|
};
|
|
1953
1954
|
M.light = {
|
|
1955
|
+
"--tg-color-scheme": "light",
|
|
1954
1956
|
"--tg-theme-subtitle-text-color": "#8e8e93",
|
|
1955
1957
|
"--tg-theme-destructive-text-color": "#ff3b30",
|
|
1956
1958
|
"--tg-theme-section-separator-color": "#c8c7cc",
|
|
@@ -1968,6 +1970,7 @@ M.light = {
|
|
|
1968
1970
|
"--tg-theme-section-bg-color": "#f8f8f8"
|
|
1969
1971
|
};
|
|
1970
1972
|
M.users = {
|
|
1973
|
+
"--tg-color-scheme": "users",
|
|
1971
1974
|
"--tg-theme-bg-color": "#000000",
|
|
1972
1975
|
"--tg-theme-text-color": "#ffffff",
|
|
1973
1976
|
"--tg-theme-hint-color": "#98989e",
|
|
@@ -1995,11 +1998,14 @@ const un = () => {
|
|
|
1995
1998
|
"16px"
|
|
1996
1999
|
);
|
|
1997
2000
|
}, []);
|
|
1998
|
-
let
|
|
2001
|
+
let m = (y) => {
|
|
1999
2002
|
for (let P in M[y])
|
|
2000
|
-
document.documentElement.style.setProperty(P, M[y][P])
|
|
2003
|
+
document.documentElement.style.setProperty(P, M[y][P]), document.documentElement.setAttribute(
|
|
2004
|
+
"data-color-scheme",
|
|
2005
|
+
y
|
|
2006
|
+
);
|
|
2001
2007
|
c(y), p(!1);
|
|
2002
|
-
},
|
|
2008
|
+
}, g = () => {
|
|
2003
2009
|
p(!1), b(!0);
|
|
2004
2010
|
};
|
|
2005
2011
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
@@ -2024,7 +2030,7 @@ const un = () => {
|
|
|
2024
2030
|
}
|
|
2025
2031
|
)
|
|
2026
2032
|
] }),
|
|
2027
|
-
/* @__PURE__ */ l.jsx(
|
|
2033
|
+
/* @__PURE__ */ l.jsx(me.Init, {}),
|
|
2028
2034
|
t && /* @__PURE__ */ l.jsx("div", { className: re.m, children: /* @__PURE__ */ l.jsx(
|
|
2029
2035
|
"button",
|
|
2030
2036
|
{
|
|
@@ -2036,7 +2042,7 @@ const un = () => {
|
|
|
2036
2042
|
) }),
|
|
2037
2043
|
v ? /* @__PURE__ */ l.jsxs("div", { className: re.t, children: [
|
|
2038
2044
|
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
2039
|
-
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick:
|
|
2045
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: g, children: "Authorization" }) }),
|
|
2040
2046
|
/* @__PURE__ */ l.jsx("li", {})
|
|
2041
2047
|
] }),
|
|
2042
2048
|
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
@@ -2046,21 +2052,21 @@ const un = () => {
|
|
|
2046
2052
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2047
2053
|
"button",
|
|
2048
2054
|
{
|
|
2049
|
-
onClick: () =>
|
|
2055
|
+
onClick: () => m("dark"),
|
|
2050
2056
|
children: "Dark"
|
|
2051
2057
|
}
|
|
2052
2058
|
) }),
|
|
2053
2059
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2054
2060
|
"button",
|
|
2055
2061
|
{
|
|
2056
|
-
onClick: () =>
|
|
2062
|
+
onClick: () => m("light"),
|
|
2057
2063
|
children: "Light"
|
|
2058
2064
|
}
|
|
2059
2065
|
) }),
|
|
2060
2066
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2061
2067
|
"button",
|
|
2062
2068
|
{
|
|
2063
|
-
onClick: () =>
|
|
2069
|
+
onClick: () => m("users"),
|
|
2064
2070
|
children: "Users"
|
|
2065
2071
|
}
|
|
2066
2072
|
) })
|
|
@@ -2087,7 +2093,7 @@ const un = () => {
|
|
|
2087
2093
|
"--tg-safe-area-inset-bottom",
|
|
2088
2094
|
"16px"
|
|
2089
2095
|
);
|
|
2090
|
-
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(
|
|
2096
|
+
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(me.Init, {}) });
|
|
2091
2097
|
}, fn = ({ setAuthorization: t }) => {
|
|
2092
2098
|
let n = {}, o = () => {
|
|
2093
2099
|
localStorage.setItem("auth", n);
|
|
@@ -2105,23 +2111,23 @@ const un = () => {
|
|
|
2105
2111
|
className: [Qt.p, o && Qt.s, t].filter((i) => i !== void 0).join(" "),
|
|
2106
2112
|
children: n
|
|
2107
2113
|
}
|
|
2108
|
-
), hn = "_l_gfyud_1",
|
|
2114
|
+
), hn = "_l_gfyud_1", mn = {
|
|
2109
2115
|
l: hn
|
|
2110
|
-
},
|
|
2116
|
+
}, gn = ({ children: t, className: n }) => /* @__PURE__ */ l.jsx(
|
|
2111
2117
|
"div",
|
|
2112
2118
|
{
|
|
2113
|
-
className: [
|
|
2119
|
+
className: [mn.l, n].filter((o) => o !== void 0).join(" "),
|
|
2114
2120
|
children: t
|
|
2115
2121
|
}
|
|
2116
|
-
), bn = "_m_ppm7n_2", yn = "_g_ppm7n_10", _n = "_i_ppm7n_18", Rn = "_c_ppm7n_35",
|
|
2122
|
+
), bn = "_m_ppm7n_2", yn = "_g_ppm7n_10", _n = "_i_ppm7n_18", Rn = "_c_ppm7n_35", En = "_l_ppm7n_42", Sn = "_a_ppm7n_57", xn = "_n_ppm7n_62", ve = {
|
|
2117
2123
|
m: bn,
|
|
2118
2124
|
g: yn,
|
|
2119
2125
|
i: _n,
|
|
2120
2126
|
c: Rn,
|
|
2121
|
-
l:
|
|
2122
|
-
a:
|
|
2127
|
+
l: En,
|
|
2128
|
+
a: Sn,
|
|
2123
2129
|
n: xn
|
|
2124
|
-
},
|
|
2130
|
+
}, An = ({ items: t }) => {
|
|
2125
2131
|
const n = (i) => {
|
|
2126
2132
|
Re.setPage(i);
|
|
2127
2133
|
}, o = (i) => {
|
|
@@ -2152,8 +2158,8 @@ const un = () => {
|
|
|
2152
2158
|
},
|
|
2153
2159
|
c
|
|
2154
2160
|
)) }, i.id)) });
|
|
2155
|
-
},
|
|
2156
|
-
o:
|
|
2161
|
+
}, jn = "_o_8ho2f_3", kn = "_m_8ho2f_14", On = "_l_8ho2f_28", Pn = "_r_8ho2f_33", wn = "_x_8ho2f_38", Tn = "_h_8ho2f_42", Cn = "_c_8ho2f_57", $n = "_u_8ho2f_72", ee = {
|
|
2162
|
+
o: jn,
|
|
2157
2163
|
m: kn,
|
|
2158
2164
|
l: On,
|
|
2159
2165
|
r: Pn,
|
|
@@ -2171,16 +2177,16 @@ function Nn({
|
|
|
2171
2177
|
view: c = "list",
|
|
2172
2178
|
position: v = "left"
|
|
2173
2179
|
}) {
|
|
2174
|
-
const [p, f] = C(!1), [b,
|
|
2180
|
+
const [p, f] = C(!1), [b, m] = C(
|
|
2175
2181
|
null
|
|
2176
2182
|
);
|
|
2177
2183
|
D(() => {
|
|
2178
2184
|
let y = document.querySelector(".p_sb");
|
|
2179
|
-
return y || (y = document.createElement("div"), y.className = "_p_sb", document.body.appendChild(y)),
|
|
2185
|
+
return y || (y = document.createElement("div"), y.className = "_p_sb", document.body.appendChild(y)), m(y), () => {
|
|
2180
2186
|
y && y.parentNode && y.parentNode.removeChild(y);
|
|
2181
2187
|
};
|
|
2182
2188
|
}, []);
|
|
2183
|
-
const
|
|
2189
|
+
const g = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2184
2190
|
p && /* @__PURE__ */ l.jsx("div", { className: ee.o, onClick: () => f(!1) }),
|
|
2185
2191
|
/* @__PURE__ */ l.jsxs(
|
|
2186
2192
|
"div",
|
|
@@ -2230,7 +2236,7 @@ function Nn({
|
|
|
2230
2236
|
children: n
|
|
2231
2237
|
}
|
|
2232
2238
|
),
|
|
2233
|
-
b && dr(
|
|
2239
|
+
b && dr(g, b)
|
|
2234
2240
|
] });
|
|
2235
2241
|
}
|
|
2236
2242
|
let Ge = () => {
|
|
@@ -2299,25 +2305,25 @@ const fr = ({
|
|
|
2299
2305
|
onPageChange: c,
|
|
2300
2306
|
direction: v = "row"
|
|
2301
2307
|
}) => {
|
|
2302
|
-
const [p, f] = J.useState(null), [b,
|
|
2308
|
+
const [p, f] = J.useState(null), [b, m] = J.useState(
|
|
2303
2309
|
s ? er(t || [], s) : 0
|
|
2304
2310
|
);
|
|
2305
2311
|
return _e.onClose = () => {
|
|
2306
|
-
f(null),
|
|
2312
|
+
f(null), m(s ? er(t || [], s) : 0);
|
|
2307
2313
|
}, D(() => {
|
|
2308
2314
|
if (!i)
|
|
2309
2315
|
return;
|
|
2310
|
-
const
|
|
2316
|
+
const g = document.querySelectorAll("[contenteditable]"), y = () => {
|
|
2311
2317
|
const w = document.querySelector("footer");
|
|
2312
2318
|
w && w.classList.remove(Ze.x);
|
|
2313
2319
|
}, P = () => {
|
|
2314
2320
|
const w = document.querySelector("footer");
|
|
2315
2321
|
w && w.classList.add(Ze.x);
|
|
2316
2322
|
};
|
|
2317
|
-
return
|
|
2323
|
+
return g.forEach((w) => {
|
|
2318
2324
|
w.addEventListener("focus", P, !0), w.addEventListener("blur", y, !0);
|
|
2319
2325
|
}), () => {
|
|
2320
|
-
|
|
2326
|
+
g.forEach((w) => {
|
|
2321
2327
|
w.removeEventListener("focus", P, !0), w.removeEventListener("blur", y, !0);
|
|
2322
2328
|
});
|
|
2323
2329
|
};
|
|
@@ -2333,17 +2339,17 @@ const fr = ({
|
|
|
2333
2339
|
),
|
|
2334
2340
|
children: [
|
|
2335
2341
|
n,
|
|
2336
|
-
t && t.map((
|
|
2342
|
+
t && t.map((g, y) => /* @__PURE__ */ l.jsxs(
|
|
2337
2343
|
"div",
|
|
2338
2344
|
{
|
|
2339
2345
|
"data-active": b === y ? "true" : "false",
|
|
2340
2346
|
onClick: () => {
|
|
2341
|
-
|
|
2347
|
+
g.page && (m(y), c == null || c(g.page)), g.onClick && g.onClick(() => m(y)), g.component && (b === y ? Ge() : (f(g.component), m(y)));
|
|
2342
2348
|
},
|
|
2343
2349
|
children: [
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2350
|
+
g.icon,
|
|
2351
|
+
g.title && /* @__PURE__ */ l.jsx("span", { children: g.title }),
|
|
2352
|
+
g.badge && /* @__PURE__ */ l.jsx(Fn, { value: g.badge })
|
|
2347
2353
|
]
|
|
2348
2354
|
},
|
|
2349
2355
|
y
|
|
@@ -2382,11 +2388,11 @@ function Jn({
|
|
|
2382
2388
|
}, rr({
|
|
2383
2389
|
callback: b
|
|
2384
2390
|
});
|
|
2385
|
-
const
|
|
2391
|
+
const m = setTimeout(() => {
|
|
2386
2392
|
p(!0);
|
|
2387
2393
|
}, 10);
|
|
2388
2394
|
return () => {
|
|
2389
|
-
clearTimeout(
|
|
2395
|
+
clearTimeout(m);
|
|
2390
2396
|
};
|
|
2391
2397
|
}, [i]), i ? /* @__PURE__ */ l.jsxs(
|
|
2392
2398
|
"div",
|
|
@@ -2424,8 +2430,8 @@ function Xn({
|
|
|
2424
2430
|
}, [s]);
|
|
2425
2431
|
let f = {
|
|
2426
2432
|
onScroll: (b) => {
|
|
2427
|
-
const { scrollTop:
|
|
2428
|
-
|
|
2433
|
+
const { scrollTop: m, scrollHeight: g, clientHeight: y } = b.currentTarget;
|
|
2434
|
+
m + y >= g - i && !v && (p(!0), o == null || o());
|
|
2429
2435
|
}
|
|
2430
2436
|
};
|
|
2431
2437
|
return /* @__PURE__ */ l.jsx(
|
|
@@ -2490,21 +2496,21 @@ var T;
|
|
|
2490
2496
|
}, t.Notice = {
|
|
2491
2497
|
Send: (o, i, s) => {
|
|
2492
2498
|
var c, v;
|
|
2493
|
-
i !== void 0 ? (
|
|
2499
|
+
i !== void 0 ? (me.Send({ type: o, text: i, thema: s }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(o)) : (me.Send(o), (v = t.WebApp.HapticFeedback) == null || v.notificationOccurred(o.type));
|
|
2494
2500
|
},
|
|
2495
2501
|
Error: (o) => {
|
|
2496
2502
|
var i;
|
|
2497
|
-
|
|
2503
|
+
me.Send({ type: "error", text: o }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("error");
|
|
2498
2504
|
},
|
|
2499
2505
|
Success: (o) => {
|
|
2500
2506
|
var i;
|
|
2501
|
-
|
|
2507
|
+
me.Send({ type: "success", text: o }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("success");
|
|
2502
2508
|
},
|
|
2503
2509
|
Warning: (o) => {
|
|
2504
2510
|
var i;
|
|
2505
|
-
|
|
2511
|
+
me.Send({ type: "warning", text: o }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("warning");
|
|
2506
2512
|
}
|
|
2507
|
-
}, t.Header = un, t.TabBar = Wn, t.BottomSheet = fr, t.toggleBottomSheet = Ge, t.SafeArea = vn, t.Loading =
|
|
2513
|
+
}, t.Header = un, t.TabBar = Wn, t.BottomSheet = fr, t.toggleBottomSheet = Ge, t.SafeArea = vn, t.Loading = gn, t.Sidebar = Nn, t.SidePanel = Jn, t.AppBar = to, t.SidePanelController = Hn, t.Scroll = Xn, t.Modal = Wt, t.Menu = An, t.MainButton = {
|
|
2508
2514
|
callback: [],
|
|
2509
2515
|
set: (o) => {
|
|
2510
2516
|
oe.is ? oe.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((i) => {
|
|
@@ -2522,7 +2528,7 @@ var T;
|
|
|
2522
2528
|
oe.is ? oe.BackButton.set(o) : (B.state.push(o), B.router(o));
|
|
2523
2529
|
};
|
|
2524
2530
|
})(T || (T = {}));
|
|
2525
|
-
const ao = T.TabBar, so = fr, rr = T.BackButton, io = T.BackButtonPrev, ro = T.BackButtonState, co = T.Notice, lo = T.SafeArea, uo = T.Loading, fo = T.Menu, po = T.SidePanel, vo = T.Scroll, ho = T.AppBar,
|
|
2531
|
+
const ao = T.TabBar, so = fr, rr = T.BackButton, io = T.BackButtonPrev, ro = T.BackButtonState, co = T.Notice, lo = T.SafeArea, uo = T.Loading, fo = T.Menu, po = T.SidePanel, vo = T.Scroll, ho = T.AppBar, mo = T.Sidebar, go = T.Location, bo = T.SidePanelController, { Header: yo, toggleBottomSheet: _o, Modal: Ro, MainButton: Eo, WebApp: ne, getUser: So } = T;
|
|
2526
2532
|
export {
|
|
2527
2533
|
ho as AppBar,
|
|
2528
2534
|
rr as BackButton,
|
|
@@ -2531,8 +2537,8 @@ export {
|
|
|
2531
2537
|
so as BottomSheet,
|
|
2532
2538
|
yo as Header,
|
|
2533
2539
|
uo as Loading,
|
|
2534
|
-
|
|
2535
|
-
|
|
2540
|
+
go as Location,
|
|
2541
|
+
Eo as MainButton,
|
|
2536
2542
|
fo as Menu,
|
|
2537
2543
|
Ro as Modal,
|
|
2538
2544
|
co as Notice,
|
|
@@ -2540,11 +2546,11 @@ export {
|
|
|
2540
2546
|
vo as Scroll,
|
|
2541
2547
|
po as SidePanel,
|
|
2542
2548
|
bo as SidePanelController,
|
|
2543
|
-
|
|
2549
|
+
mo as Sidebar,
|
|
2544
2550
|
ao as TabBar,
|
|
2545
2551
|
ne as WebApp,
|
|
2546
2552
|
be as clsx,
|
|
2547
2553
|
T as default,
|
|
2548
|
-
|
|
2554
|
+
So as getUser,
|
|
2549
2555
|
_o as toggleBottomSheet
|
|
2550
2556
|
};
|