@elcrm/telegram 0.0.120 → 0.0.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.es.js +209 -205
- package/dist/index.umd.js +16 -16
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import F, { useState as J, useEffect as pe } from "react";
|
|
2
2
|
import { createPortal as ar } from "react-dom";
|
|
3
|
-
import './index.css';var
|
|
3
|
+
import './index.css';var Wt = { exports: {} }, nt = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,10 +10,10 @@ import './index.css';var Lt = { exports: {} }, nt = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
13
|
+
var zt;
|
|
14
14
|
function sr() {
|
|
15
|
-
if (
|
|
16
|
-
|
|
15
|
+
if (zt) return nt;
|
|
16
|
+
zt = 1;
|
|
17
17
|
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
18
|
function S(m, u, R) {
|
|
19
19
|
var h, b = {}, g = null, $ = null;
|
|
@@ -34,14 +34,14 @@ var ot = {};
|
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
|
-
var
|
|
37
|
+
var Vt;
|
|
38
38
|
function ir() {
|
|
39
|
-
return
|
|
40
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"),
|
|
39
|
+
return Vt || (Vt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), P = Symbol.iterator, Ne = "@@iterator";
|
|
41
41
|
function he(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var t =
|
|
44
|
+
var t = P && e[P] || e[Ne];
|
|
45
45
|
return typeof t == "function" ? t : null;
|
|
46
46
|
}
|
|
47
47
|
var L = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -62,10 +62,10 @@ function ir() {
|
|
|
62
62
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var Ie = !1,
|
|
65
|
+
var Ie = !1, Pe = !1, Me = !1, De = !1, _ = !1, E;
|
|
66
66
|
E = Symbol.for("react.module.reference");
|
|
67
67
|
function B(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || De || e === $ || Ie ||
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || De || e === $ || Ie || Pe || Me || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === b || e.$$typeof === S || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
@@ -130,7 +130,7 @@ function ir() {
|
|
|
130
130
|
function We() {
|
|
131
131
|
}
|
|
132
132
|
We.__reactDisabledLog = !0;
|
|
133
|
-
function
|
|
133
|
+
function pt() {
|
|
134
134
|
{
|
|
135
135
|
if (Y === 0) {
|
|
136
136
|
le = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Fe = console.groupCollapsed, Le = console.groupEnd;
|
|
@@ -153,7 +153,7 @@ function ir() {
|
|
|
153
153
|
Y++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function vt() {
|
|
157
157
|
{
|
|
158
158
|
if (Y--, Y === 0) {
|
|
159
159
|
var e = {
|
|
@@ -204,8 +204,8 @@ function ir() {
|
|
|
204
204
|
}
|
|
205
205
|
var me = !1, ne;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
ne = new
|
|
207
|
+
var ht = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
ne = new ht();
|
|
209
209
|
}
|
|
210
210
|
function Ue(e, t) {
|
|
211
211
|
if (!e || me)
|
|
@@ -220,7 +220,7 @@ function ir() {
|
|
|
220
220
|
var v = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var y;
|
|
223
|
-
y = ge.current, ge.current = null,
|
|
223
|
+
y = ge.current, ge.current = null, pt();
|
|
224
224
|
try {
|
|
225
225
|
if (t) {
|
|
226
226
|
var d = function() {
|
|
@@ -264,24 +264,24 @@ function ir() {
|
|
|
264
264
|
if (x !== 1 || k !== 1)
|
|
265
265
|
do
|
|
266
266
|
if (x--, k--, k < 0 || f[x] !== A[k]) {
|
|
267
|
-
var
|
|
267
|
+
var w = `
|
|
268
268
|
` + f[x].replace(" at new ", " at ");
|
|
269
|
-
return e.displayName &&
|
|
269
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
|
|
270
270
|
}
|
|
271
271
|
while (x >= 1 && k >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
me = !1, ge.current = y,
|
|
276
|
+
me = !1, ge.current = y, vt(), Error.prepareStackTrace = v;
|
|
277
277
|
}
|
|
278
278
|
var V = e ? e.displayName || e.name : "", W = V ? re(V) : "";
|
|
279
279
|
return typeof e == "function" && ne.set(e, W), W;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function gt(e, t, o) {
|
|
282
282
|
return Ue(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function yt(e) {
|
|
285
285
|
var t = e.prototype;
|
|
286
286
|
return !!(t && t.isReactComponent);
|
|
287
287
|
}
|
|
@@ -289,7 +289,7 @@ function ir() {
|
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return Ue(e,
|
|
292
|
+
return Ue(e, yt(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return re(e);
|
|
295
295
|
switch (e) {
|
|
@@ -301,7 +301,7 @@ function ir() {
|
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case u:
|
|
304
|
-
return
|
|
304
|
+
return gt(e.render);
|
|
305
305
|
case b:
|
|
306
306
|
return oe(e.type, t, o);
|
|
307
307
|
case g: {
|
|
@@ -322,7 +322,7 @@ function ir() {
|
|
|
322
322
|
} else
|
|
323
323
|
ze.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function mt(e, t, o, s, v) {
|
|
326
326
|
{
|
|
327
327
|
var y = Function.call.bind(K);
|
|
328
328
|
for (var d in e)
|
|
@@ -341,17 +341,17 @@ function ir() {
|
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
344
|
+
var bt = Array.isArray;
|
|
345
345
|
function be(e) {
|
|
346
|
-
return
|
|
346
|
+
return bt(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function _t(e) {
|
|
349
349
|
{
|
|
350
350
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return o;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function Rt(e) {
|
|
355
355
|
try {
|
|
356
356
|
return Ve(e), !1;
|
|
357
357
|
} catch {
|
|
@@ -362,16 +362,16 @@ function ir() {
|
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
364
|
function qe(e) {
|
|
365
|
-
if (
|
|
366
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
365
|
+
if (Rt(e))
|
|
366
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), Ve(e);
|
|
367
367
|
}
|
|
368
|
-
var He = L.ReactCurrentOwner,
|
|
368
|
+
var He = L.ReactCurrentOwner, St = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
373
|
}, Je, Ke;
|
|
374
|
-
function
|
|
374
|
+
function xt(e) {
|
|
375
375
|
if (K.call(e, "ref")) {
|
|
376
376
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (t && t.isReactWarning)
|
|
@@ -379,7 +379,7 @@ function ir() {
|
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function kt(e) {
|
|
383
383
|
if (K.call(e, "key")) {
|
|
384
384
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (t && t.isReactWarning)
|
|
@@ -387,10 +387,10 @@ function ir() {
|
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function Et(e, t) {
|
|
391
391
|
typeof e.ref == "string" && He.current;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function jt(e, t) {
|
|
394
394
|
{
|
|
395
395
|
var o = function() {
|
|
396
396
|
Je || (Je = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -401,7 +401,7 @@ function ir() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function At(e, t) {
|
|
405
405
|
{
|
|
406
406
|
var o = function() {
|
|
407
407
|
Ke || (Ke = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -412,7 +412,7 @@ function ir() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var Ot = function(e, t, o, s, v, y, d) {
|
|
416
416
|
var f = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: n,
|
|
@@ -441,12 +441,12 @@ function ir() {
|
|
|
441
441
|
value: v
|
|
442
442
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function Ct(e, t, o, s, v) {
|
|
445
445
|
{
|
|
446
446
|
var y, d = {}, f = null, A = null;
|
|
447
|
-
o !== void 0 && (qe(o), f = "" + o),
|
|
447
|
+
o !== void 0 && (qe(o), f = "" + o), kt(t) && (qe(t.key), f = "" + t.key), xt(t) && (A = t.ref, Et(t, v));
|
|
448
448
|
for (y in t)
|
|
449
|
-
K.call(t, y) && !
|
|
449
|
+
K.call(t, y) && !St.hasOwnProperty(y) && (d[y] = t[y]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var x = e.defaultProps;
|
|
452
452
|
for (y in x)
|
|
@@ -454,9 +454,9 @@ function ir() {
|
|
|
454
454
|
}
|
|
455
455
|
if (f || A) {
|
|
456
456
|
var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
f &&
|
|
457
|
+
f && jt(d, k), A && At(d, k);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return Ot(e, f, A, v, s, He.current, d);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
var _e = L.ReactCurrentOwner, Ge = L.ReactDebugCurrentFrame;
|
|
@@ -484,7 +484,7 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Pt(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
490
|
var Xe = {};
|
|
@@ -532,7 +532,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Tt(e) {
|
|
536
536
|
{
|
|
537
537
|
var t = e.type;
|
|
538
538
|
if (t == null || typeof t == "string")
|
|
@@ -548,7 +548,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
548
548
|
return;
|
|
549
549
|
if (o) {
|
|
550
550
|
var s = N(t);
|
|
551
|
-
|
|
551
|
+
mt(o, e.props, "prop", s, e);
|
|
552
552
|
} else if (t.PropTypes !== void 0 && !Re) {
|
|
553
553
|
Re = !0;
|
|
554
554
|
var v = N(t);
|
|
@@ -557,7 +557,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
557
557
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function $t(e) {
|
|
561
561
|
{
|
|
562
562
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
563
563
|
var s = t[o];
|
|
@@ -576,56 +576,56 @@ Check the top-level render call using <` + o + ">.");
|
|
|
576
576
|
if (!d) {
|
|
577
577
|
var f = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " 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 A =
|
|
579
|
+
var A = Pt();
|
|
580
580
|
A ? f += A : f += Ze();
|
|
581
581
|
var x;
|
|
582
582
|
e === null ? x = "null" : be(e) ? x = "array" : e !== void 0 && e.$$typeof === n ? (x = "<" + (N(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, f);
|
|
583
583
|
}
|
|
584
|
-
var k =
|
|
584
|
+
var k = Ct(e, t, o, v, y);
|
|
585
585
|
if (k == null)
|
|
586
586
|
return k;
|
|
587
587
|
if (d) {
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
588
|
+
var w = t.children;
|
|
589
|
+
if (w !== void 0)
|
|
590
590
|
if (s)
|
|
591
|
-
if (be(
|
|
592
|
-
for (var V = 0; V <
|
|
593
|
-
et(
|
|
594
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (be(w)) {
|
|
592
|
+
for (var V = 0; V < w.length; V++)
|
|
593
|
+
et(w[V], e);
|
|
594
|
+
Object.freeze && Object.freeze(w);
|
|
595
595
|
} else
|
|
596
596
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
597
597
|
else
|
|
598
|
-
et(
|
|
598
|
+
et(w, e);
|
|
599
599
|
}
|
|
600
600
|
if (K.call(t, "key")) {
|
|
601
|
-
var W = N(e), C = Object.keys(t).filter(function(
|
|
602
|
-
return
|
|
601
|
+
var W = N(e), C = Object.keys(t).filter(function(Ft) {
|
|
602
|
+
return Ft !== "key";
|
|
603
603
|
}), xe = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
604
|
if (!tt[W + xe]) {
|
|
605
|
-
var
|
|
605
|
+
var Dt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
606
606
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`, xe, W,
|
|
611
|
+
<%s key={someKey} {...props} />`, xe, W, Dt, W), tt[W + xe] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === c ?
|
|
614
|
+
return e === c ? $t(k) : Tt(k), k;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function
|
|
617
|
+
function Nt(e, t, o) {
|
|
618
618
|
return rt(e, t, o, !0);
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function Bt(e, t, o) {
|
|
621
621
|
return rt(e, t, o, !1);
|
|
622
622
|
}
|
|
623
|
-
var
|
|
624
|
-
ot.Fragment = c, ot.jsx =
|
|
623
|
+
var It = Bt, Mt = Nt;
|
|
624
|
+
ot.Fragment = c, ot.jsx = It, ot.jsxs = Mt;
|
|
625
625
|
}()), ot;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var i =
|
|
627
|
+
process.env.NODE_ENV === "production" ? Wt.exports = sr() : Wt.exports = ir();
|
|
628
|
+
var i = Wt.exports;
|
|
629
629
|
const cr = "_o_1apbm_11", lr = "_x_1apbm_24", ur = "_p_1apbm_28", fr = "_m_1apbm_45", we = {
|
|
630
630
|
o: cr,
|
|
631
631
|
x: lr,
|
|
@@ -633,7 +633,7 @@ const cr = "_o_1apbm_11", lr = "_x_1apbm_24", ur = "_p_1apbm_28", fr = "_m_1apbm
|
|
|
633
633
|
m: fr
|
|
634
634
|
};
|
|
635
635
|
let q = {};
|
|
636
|
-
var
|
|
636
|
+
var Ut;
|
|
637
637
|
((r) => {
|
|
638
638
|
function n({
|
|
639
639
|
children: m,
|
|
@@ -641,20 +641,20 @@ var Wt;
|
|
|
641
641
|
nameModal: R,
|
|
642
642
|
offsetTop: h
|
|
643
643
|
}) {
|
|
644
|
-
const [b, g] = J(!1), [$,
|
|
644
|
+
const [b, g] = J(!1), [$, P] = J(!1);
|
|
645
645
|
if (q[R].onClose = () => {
|
|
646
|
-
T.BackButton(!1),
|
|
647
|
-
g(!1),
|
|
646
|
+
T.BackButton(!1), P(!0), setTimeout(() => {
|
|
647
|
+
g(!1), P(!1), u == null || u(), q.x(R);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, pe(() => {
|
|
650
650
|
b ? q[R].onClose() : (T.BackButton({
|
|
651
651
|
callback: () => q[R].onClose()
|
|
652
652
|
}), g(!0));
|
|
653
653
|
}, []), !!b)
|
|
654
|
-
return /* @__PURE__ */ i.jsx("div", { className:
|
|
654
|
+
return /* @__PURE__ */ i.jsx("div", { className: Ce(we.o, $ && we.x), children: /* @__PURE__ */ i.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
|
-
className:
|
|
657
|
+
className: Ce(
|
|
658
658
|
we.p,
|
|
659
659
|
$ && we.x,
|
|
660
660
|
h ? we.o : we.m
|
|
@@ -702,8 +702,8 @@ var Wt;
|
|
|
702
702
|
{
|
|
703
703
|
...g,
|
|
704
704
|
onCallbackModal: ($) => {
|
|
705
|
-
var
|
|
706
|
-
(
|
|
705
|
+
var P;
|
|
706
|
+
(P = g.callback) == null || P.call(g, $);
|
|
707
707
|
},
|
|
708
708
|
nameModal: u
|
|
709
709
|
},
|
|
@@ -726,7 +726,7 @@ var Wt;
|
|
|
726
726
|
}));
|
|
727
727
|
}
|
|
728
728
|
r.Open = S;
|
|
729
|
-
})(
|
|
729
|
+
})(Ut || (Ut = {}));
|
|
730
730
|
function Qt() {
|
|
731
731
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
732
732
|
}
|
|
@@ -735,14 +735,14 @@ const er = {
|
|
|
735
735
|
iterations: 7,
|
|
736
736
|
saltLength: 16
|
|
737
737
|
};
|
|
738
|
-
function
|
|
738
|
+
function qt(r) {
|
|
739
739
|
const n = Qt();
|
|
740
740
|
n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...er, ...r };
|
|
741
741
|
}
|
|
742
|
-
function
|
|
742
|
+
function ut() {
|
|
743
743
|
return Qt().CRYPTO_PARAMS || er;
|
|
744
744
|
}
|
|
745
|
-
const
|
|
745
|
+
const ft = (r) => {
|
|
746
746
|
let n = 0;
|
|
747
747
|
for (let c = 0; c < r.length; c++) {
|
|
748
748
|
const l = r.charCodeAt(c);
|
|
@@ -757,8 +757,8 @@ const ut = (r) => {
|
|
|
757
757
|
return a;
|
|
758
758
|
}, tr = (r, n) => {
|
|
759
759
|
let a = r + n;
|
|
760
|
-
for (let l = 0; l <
|
|
761
|
-
a =
|
|
760
|
+
for (let l = 0; l < ut().iterations; l++)
|
|
761
|
+
a = ft(a);
|
|
762
762
|
const c = new Uint8Array(32);
|
|
763
763
|
for (let l = 0; l < 32; l++)
|
|
764
764
|
c[l] = parseInt(a.substring(l * 2, l * 2 + 2), 16);
|
|
@@ -787,9 +787,9 @@ const ut = (r) => {
|
|
|
787
787
|
return a;
|
|
788
788
|
}, gr = (r) => {
|
|
789
789
|
try {
|
|
790
|
-
const n =
|
|
790
|
+
const n = ft(
|
|
791
791
|
Date.now().toString() + Math.random()
|
|
792
|
-
).substring(0,
|
|
792
|
+
).substring(0, ut().saltLength * 2), a = ft(r + n).substring(0, 8), c = tr(ut().key, n), l = dr(r), p = rr(l, c), S = vr(p);
|
|
793
793
|
return `${n}.${S}.${a}`;
|
|
794
794
|
} catch {
|
|
795
795
|
throw new Error("Не удалось зашифровать данные");
|
|
@@ -799,8 +799,8 @@ const ut = (r) => {
|
|
|
799
799
|
const n = r.split(".");
|
|
800
800
|
if (n.length !== 3)
|
|
801
801
|
throw new Error("Неверный формат зашифрованных данных");
|
|
802
|
-
const a = n[0], c = n[1], l = n[2], p = tr(
|
|
803
|
-
if (
|
|
802
|
+
const a = n[0], c = n[1], l = n[2], p = tr(ut().key, a), S = hr(c), m = rr(S, p), u = pr(m);
|
|
803
|
+
if (ft(u + a).substring(
|
|
804
804
|
0,
|
|
805
805
|
8
|
|
806
806
|
) !== l)
|
|
@@ -813,7 +813,7 @@ const ut = (r) => {
|
|
|
813
813
|
var ue;
|
|
814
814
|
((r) => {
|
|
815
815
|
r.setKey = (n) => {
|
|
816
|
-
|
|
816
|
+
qt({ key: n });
|
|
817
817
|
}, r.enCode = (n) => {
|
|
818
818
|
try {
|
|
819
819
|
const a = JSON.stringify(n);
|
|
@@ -831,7 +831,7 @@ var ue;
|
|
|
831
831
|
return !1;
|
|
832
832
|
}
|
|
833
833
|
}, r.setSecurityParams = (n, a) => {
|
|
834
|
-
|
|
834
|
+
qt({ iterations: n, saltLength: a });
|
|
835
835
|
};
|
|
836
836
|
})(ue || (ue = {}));
|
|
837
837
|
var at = {};
|
|
@@ -844,10 +844,10 @@ var at = {};
|
|
|
844
844
|
* This source code is licensed under the MIT license found in the
|
|
845
845
|
* LICENSE file in the root directory of this source tree.
|
|
846
846
|
*/
|
|
847
|
-
var
|
|
847
|
+
var Ht;
|
|
848
848
|
function mr() {
|
|
849
|
-
if (
|
|
850
|
-
|
|
849
|
+
if (Ht) return at;
|
|
850
|
+
Ht = 1;
|
|
851
851
|
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
852
852
|
function S(m, u, R) {
|
|
853
853
|
var h, b = {}, g = null, $ = null;
|
|
@@ -868,14 +868,14 @@ var it = {};
|
|
|
868
868
|
* This source code is licensed under the MIT license found in the
|
|
869
869
|
* LICENSE file in the root directory of this source tree.
|
|
870
870
|
*/
|
|
871
|
-
var
|
|
871
|
+
var Jt;
|
|
872
872
|
function br() {
|
|
873
|
-
return
|
|
874
|
-
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"),
|
|
873
|
+
return Jt || (Jt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
874
|
+
var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), P = Symbol.iterator, Ne = "@@iterator";
|
|
875
875
|
function he(e) {
|
|
876
876
|
if (e === null || typeof e != "object")
|
|
877
877
|
return null;
|
|
878
|
-
var t =
|
|
878
|
+
var t = P && e[P] || e[Ne];
|
|
879
879
|
return typeof t == "function" ? t : null;
|
|
880
880
|
}
|
|
881
881
|
var L = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -896,10 +896,10 @@ function br() {
|
|
|
896
896
|
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
|
-
var Ie = !1,
|
|
899
|
+
var Ie = !1, Pe = !1, Me = !1, De = !1, _ = !1, E;
|
|
900
900
|
E = Symbol.for("react.module.reference");
|
|
901
901
|
function B(e) {
|
|
902
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || De || e === $ || Ie ||
|
|
902
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || De || e === $ || Ie || Pe || Me || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === b || e.$$typeof === S || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
|
|
903
903
|
// types supported by any Flight configuration anywhere since
|
|
904
904
|
// we don't know which Flight build this will end up being used
|
|
905
905
|
// with.
|
|
@@ -964,7 +964,7 @@ function br() {
|
|
|
964
964
|
function We() {
|
|
965
965
|
}
|
|
966
966
|
We.__reactDisabledLog = !0;
|
|
967
|
-
function
|
|
967
|
+
function pt() {
|
|
968
968
|
{
|
|
969
969
|
if (Y === 0) {
|
|
970
970
|
le = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Fe = console.groupCollapsed, Le = console.groupEnd;
|
|
@@ -987,7 +987,7 @@ function br() {
|
|
|
987
987
|
Y++;
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
function
|
|
990
|
+
function vt() {
|
|
991
991
|
{
|
|
992
992
|
if (Y--, Y === 0) {
|
|
993
993
|
var e = {
|
|
@@ -1038,8 +1038,8 @@ function br() {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
var me = !1, ne;
|
|
1040
1040
|
{
|
|
1041
|
-
var
|
|
1042
|
-
ne = new
|
|
1041
|
+
var ht = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1042
|
+
ne = new ht();
|
|
1043
1043
|
}
|
|
1044
1044
|
function Ue(e, t) {
|
|
1045
1045
|
if (!e || me)
|
|
@@ -1054,7 +1054,7 @@ function br() {
|
|
|
1054
1054
|
var v = Error.prepareStackTrace;
|
|
1055
1055
|
Error.prepareStackTrace = void 0;
|
|
1056
1056
|
var y;
|
|
1057
|
-
y = ge.current, ge.current = null,
|
|
1057
|
+
y = ge.current, ge.current = null, pt();
|
|
1058
1058
|
try {
|
|
1059
1059
|
if (t) {
|
|
1060
1060
|
var d = function() {
|
|
@@ -1098,24 +1098,24 @@ function br() {
|
|
|
1098
1098
|
if (x !== 1 || k !== 1)
|
|
1099
1099
|
do
|
|
1100
1100
|
if (x--, k--, k < 0 || f[x] !== A[k]) {
|
|
1101
|
-
var
|
|
1101
|
+
var w = `
|
|
1102
1102
|
` + f[x].replace(" at new ", " at ");
|
|
1103
|
-
return e.displayName &&
|
|
1103
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
|
|
1104
1104
|
}
|
|
1105
1105
|
while (x >= 1 && k >= 0);
|
|
1106
1106
|
break;
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
1109
|
} finally {
|
|
1110
|
-
me = !1, ge.current = y,
|
|
1110
|
+
me = !1, ge.current = y, vt(), Error.prepareStackTrace = v;
|
|
1111
1111
|
}
|
|
1112
1112
|
var V = e ? e.displayName || e.name : "", W = V ? re(V) : "";
|
|
1113
1113
|
return typeof e == "function" && ne.set(e, W), W;
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function gt(e, t, o) {
|
|
1116
1116
|
return Ue(e, !1);
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function yt(e) {
|
|
1119
1119
|
var t = e.prototype;
|
|
1120
1120
|
return !!(t && t.isReactComponent);
|
|
1121
1121
|
}
|
|
@@ -1123,7 +1123,7 @@ function br() {
|
|
|
1123
1123
|
if (e == null)
|
|
1124
1124
|
return "";
|
|
1125
1125
|
if (typeof e == "function")
|
|
1126
|
-
return Ue(e,
|
|
1126
|
+
return Ue(e, yt(e));
|
|
1127
1127
|
if (typeof e == "string")
|
|
1128
1128
|
return re(e);
|
|
1129
1129
|
switch (e) {
|
|
@@ -1135,7 +1135,7 @@ function br() {
|
|
|
1135
1135
|
if (typeof e == "object")
|
|
1136
1136
|
switch (e.$$typeof) {
|
|
1137
1137
|
case u:
|
|
1138
|
-
return
|
|
1138
|
+
return gt(e.render);
|
|
1139
1139
|
case b:
|
|
1140
1140
|
return oe(e.type, t, o);
|
|
1141
1141
|
case g: {
|
|
@@ -1156,7 +1156,7 @@ function br() {
|
|
|
1156
1156
|
} else
|
|
1157
1157
|
ze.setExtraStackFrame(null);
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1159
|
+
function mt(e, t, o, s, v) {
|
|
1160
1160
|
{
|
|
1161
1161
|
var y = Function.call.bind(K);
|
|
1162
1162
|
for (var d in e)
|
|
@@ -1175,17 +1175,17 @@ function br() {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
|
-
var
|
|
1178
|
+
var bt = Array.isArray;
|
|
1179
1179
|
function be(e) {
|
|
1180
|
-
return
|
|
1180
|
+
return bt(e);
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function _t(e) {
|
|
1183
1183
|
{
|
|
1184
1184
|
var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1185
1185
|
return o;
|
|
1186
1186
|
}
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function Rt(e) {
|
|
1189
1189
|
try {
|
|
1190
1190
|
return Ve(e), !1;
|
|
1191
1191
|
} catch {
|
|
@@ -1196,16 +1196,16 @@ function br() {
|
|
|
1196
1196
|
return "" + e;
|
|
1197
1197
|
}
|
|
1198
1198
|
function qe(e) {
|
|
1199
|
-
if (
|
|
1200
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1199
|
+
if (Rt(e))
|
|
1200
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), Ve(e);
|
|
1201
1201
|
}
|
|
1202
|
-
var He = L.ReactCurrentOwner,
|
|
1202
|
+
var He = L.ReactCurrentOwner, St = {
|
|
1203
1203
|
key: !0,
|
|
1204
1204
|
ref: !0,
|
|
1205
1205
|
__self: !0,
|
|
1206
1206
|
__source: !0
|
|
1207
1207
|
}, Je, Ke;
|
|
1208
|
-
function
|
|
1208
|
+
function xt(e) {
|
|
1209
1209
|
if (K.call(e, "ref")) {
|
|
1210
1210
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1211
1211
|
if (t && t.isReactWarning)
|
|
@@ -1213,7 +1213,7 @@ function br() {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
return e.ref !== void 0;
|
|
1215
1215
|
}
|
|
1216
|
-
function
|
|
1216
|
+
function kt(e) {
|
|
1217
1217
|
if (K.call(e, "key")) {
|
|
1218
1218
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1219
1219
|
if (t && t.isReactWarning)
|
|
@@ -1221,10 +1221,10 @@ function br() {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
return e.key !== void 0;
|
|
1223
1223
|
}
|
|
1224
|
-
function
|
|
1224
|
+
function Et(e, t) {
|
|
1225
1225
|
typeof e.ref == "string" && He.current;
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function jt(e, t) {
|
|
1228
1228
|
{
|
|
1229
1229
|
var o = function() {
|
|
1230
1230
|
Je || (Je = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -1235,7 +1235,7 @@ function br() {
|
|
|
1235
1235
|
});
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function At(e, t) {
|
|
1239
1239
|
{
|
|
1240
1240
|
var o = function() {
|
|
1241
1241
|
Ke || (Ke = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -1246,7 +1246,7 @@ function br() {
|
|
|
1246
1246
|
});
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
var
|
|
1249
|
+
var Ot = function(e, t, o, s, v, y, d) {
|
|
1250
1250
|
var f = {
|
|
1251
1251
|
// This tag allows us to uniquely identify this as a React Element
|
|
1252
1252
|
$$typeof: n,
|
|
@@ -1275,12 +1275,12 @@ function br() {
|
|
|
1275
1275
|
value: v
|
|
1276
1276
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
1277
1277
|
};
|
|
1278
|
-
function
|
|
1278
|
+
function Ct(e, t, o, s, v) {
|
|
1279
1279
|
{
|
|
1280
1280
|
var y, d = {}, f = null, A = null;
|
|
1281
|
-
o !== void 0 && (qe(o), f = "" + o),
|
|
1281
|
+
o !== void 0 && (qe(o), f = "" + o), kt(t) && (qe(t.key), f = "" + t.key), xt(t) && (A = t.ref, Et(t));
|
|
1282
1282
|
for (y in t)
|
|
1283
|
-
K.call(t, y) && !
|
|
1283
|
+
K.call(t, y) && !St.hasOwnProperty(y) && (d[y] = t[y]);
|
|
1284
1284
|
if (e && e.defaultProps) {
|
|
1285
1285
|
var x = e.defaultProps;
|
|
1286
1286
|
for (y in x)
|
|
@@ -1288,9 +1288,9 @@ function br() {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
if (f || A) {
|
|
1290
1290
|
var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1291
|
-
f &&
|
|
1291
|
+
f && jt(d, k), A && At(d, k);
|
|
1292
1292
|
}
|
|
1293
|
-
return
|
|
1293
|
+
return Ot(e, f, A, v, s, He.current, d);
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
1296
|
var _e = L.ReactCurrentOwner, Ge = L.ReactDebugCurrentFrame;
|
|
@@ -1318,7 +1318,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1318
1318
|
return "";
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1321
|
+
function Pt(e) {
|
|
1322
1322
|
return "";
|
|
1323
1323
|
}
|
|
1324
1324
|
var Xe = {};
|
|
@@ -1366,7 +1366,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function Tt(e) {
|
|
1370
1370
|
{
|
|
1371
1371
|
var t = e.type;
|
|
1372
1372
|
if (t == null || typeof t == "string")
|
|
@@ -1382,7 +1382,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1382
1382
|
return;
|
|
1383
1383
|
if (o) {
|
|
1384
1384
|
var s = N(t);
|
|
1385
|
-
|
|
1385
|
+
mt(o, e.props, "prop", s, e);
|
|
1386
1386
|
} else if (t.PropTypes !== void 0 && !Re) {
|
|
1387
1387
|
Re = !0;
|
|
1388
1388
|
var v = N(t);
|
|
@@ -1391,7 +1391,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1391
1391
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function $t(e) {
|
|
1395
1395
|
{
|
|
1396
1396
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
1397
1397
|
var s = t[o];
|
|
@@ -1410,52 +1410,52 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1410
1410
|
if (!d) {
|
|
1411
1411
|
var f = "";
|
|
1412
1412
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1413
|
-
var A =
|
|
1413
|
+
var A = Pt();
|
|
1414
1414
|
A ? f += A : f += Ze();
|
|
1415
1415
|
var x;
|
|
1416
1416
|
e === null ? x = "null" : be(e) ? x = "array" : e !== void 0 && e.$$typeof === n ? (x = "<" + (N(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, f);
|
|
1417
1417
|
}
|
|
1418
|
-
var k =
|
|
1418
|
+
var k = Ct(e, t, o, v, y);
|
|
1419
1419
|
if (k == null)
|
|
1420
1420
|
return k;
|
|
1421
1421
|
if (d) {
|
|
1422
|
-
var
|
|
1423
|
-
if (
|
|
1422
|
+
var w = t.children;
|
|
1423
|
+
if (w !== void 0)
|
|
1424
1424
|
if (s)
|
|
1425
|
-
if (be(
|
|
1426
|
-
for (var V = 0; V <
|
|
1427
|
-
et(
|
|
1428
|
-
Object.freeze && Object.freeze(
|
|
1425
|
+
if (be(w)) {
|
|
1426
|
+
for (var V = 0; V < w.length; V++)
|
|
1427
|
+
et(w[V], e);
|
|
1428
|
+
Object.freeze && Object.freeze(w);
|
|
1429
1429
|
} else
|
|
1430
1430
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1431
1431
|
else
|
|
1432
|
-
et(
|
|
1432
|
+
et(w, e);
|
|
1433
1433
|
}
|
|
1434
1434
|
if (K.call(t, "key")) {
|
|
1435
|
-
var W = N(e), C = Object.keys(t).filter(function(
|
|
1436
|
-
return
|
|
1435
|
+
var W = N(e), C = Object.keys(t).filter(function(Ft) {
|
|
1436
|
+
return Ft !== "key";
|
|
1437
1437
|
}), xe = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1438
1438
|
if (!tt[W + xe]) {
|
|
1439
|
-
var
|
|
1439
|
+
var Dt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
1440
1440
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
1441
1441
|
let props = %s;
|
|
1442
1442
|
<%s {...props} />
|
|
1443
1443
|
React keys must be passed directly to JSX without using spread:
|
|
1444
1444
|
let props = %s;
|
|
1445
|
-
<%s key={someKey} {...props} />`, xe, W,
|
|
1445
|
+
<%s key={someKey} {...props} />`, xe, W, Dt, W), tt[W + xe] = !0;
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
return e === c ?
|
|
1448
|
+
return e === c ? $t(k) : Tt(k), k;
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
1451
|
-
function
|
|
1451
|
+
function Nt(e, t, o) {
|
|
1452
1452
|
return rt(e, t, o, !0);
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1454
|
+
function Bt(e, t, o) {
|
|
1455
1455
|
return rt(e, t, o, !1);
|
|
1456
1456
|
}
|
|
1457
|
-
var
|
|
1458
|
-
it.Fragment = c, it.jsx =
|
|
1457
|
+
var It = Bt, Mt = Nt;
|
|
1458
|
+
it.Fragment = c, it.jsx = It, it.jsxs = Mt;
|
|
1459
1459
|
}()), it;
|
|
1460
1460
|
}
|
|
1461
1461
|
process.env.NODE_ENV === "production" ? mr() : br();
|
|
@@ -1622,7 +1622,7 @@ var ve;
|
|
|
1622
1622
|
ke({ tabs: _ });
|
|
1623
1623
|
}
|
|
1624
1624
|
r.useTabs = $;
|
|
1625
|
-
function
|
|
1625
|
+
function P(_) {
|
|
1626
1626
|
let E = (I) => (te({ tab: I }), I);
|
|
1627
1627
|
const [B, M] = F.useState(
|
|
1628
1628
|
he() || _ && E(_) || O().tab
|
|
@@ -1631,7 +1631,7 @@ var ve;
|
|
|
1631
1631
|
M(I);
|
|
1632
1632
|
} }), B;
|
|
1633
1633
|
}
|
|
1634
|
-
r.useTab =
|
|
1634
|
+
r.useTab = P;
|
|
1635
1635
|
async function Ne(_, E = !0) {
|
|
1636
1636
|
te({ tab: _ }), sessionStorage.setItem(
|
|
1637
1637
|
O().STORAGE,
|
|
@@ -1649,7 +1649,7 @@ var ve;
|
|
|
1649
1649
|
r.isTabs = L;
|
|
1650
1650
|
function j(_) {
|
|
1651
1651
|
if (typeof _ != "function") {
|
|
1652
|
-
const [E, B] = F.useState(_ ||
|
|
1652
|
+
const [E, B] = F.useState(_ || Pe());
|
|
1653
1653
|
return ke({ id: (M) => {
|
|
1654
1654
|
B(M);
|
|
1655
1655
|
} }), E;
|
|
@@ -1667,10 +1667,10 @@ var ve;
|
|
|
1667
1667
|
), E && ie().id(_);
|
|
1668
1668
|
}
|
|
1669
1669
|
r.setId = Ie;
|
|
1670
|
-
function
|
|
1670
|
+
function Pe() {
|
|
1671
1671
|
return O().id;
|
|
1672
1672
|
}
|
|
1673
|
-
r.getId =
|
|
1673
|
+
r.getId = Pe;
|
|
1674
1674
|
function Me(_) {
|
|
1675
1675
|
return Number(O().id) === _;
|
|
1676
1676
|
}
|
|
@@ -1694,12 +1694,12 @@ const Rr = "_n_zlj3m_1", Sr = "_i_zlj3m_10", xr = "_t_zlj3m_28", kr = "_e_zlj3m_
|
|
|
1694
1694
|
w: jr,
|
|
1695
1695
|
h: Ar
|
|
1696
1696
|
};
|
|
1697
|
-
let
|
|
1697
|
+
let dt = {};
|
|
1698
1698
|
function Or() {
|
|
1699
1699
|
const [r, n] = F.useState([]);
|
|
1700
|
-
return
|
|
1700
|
+
return dt.set = (a) => {
|
|
1701
1701
|
n([...r, a]);
|
|
1702
|
-
},
|
|
1702
|
+
}, dt.del = (a) => {
|
|
1703
1703
|
r.forEach((c, l) => {
|
|
1704
1704
|
c.key === a && r.splice(l, 1);
|
|
1705
1705
|
}), n(r);
|
|
@@ -1707,14 +1707,14 @@ function Or() {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
function Cr(r) {
|
|
1709
1709
|
let n = (/* @__PURE__ */ new Date()).getTime();
|
|
1710
|
-
r.key = n,
|
|
1710
|
+
r.key = n, dt.set({ item: /* @__PURE__ */ i.jsx(Pr, { data: r }, n), key: n });
|
|
1711
1711
|
}
|
|
1712
|
-
function
|
|
1712
|
+
function Pr(r) {
|
|
1713
1713
|
const n = r.data;
|
|
1714
1714
|
let [a] = F.useState("show"), [c, l] = F.useState(!1);
|
|
1715
1715
|
F.useEffect(() => {
|
|
1716
1716
|
setTimeout(function() {
|
|
1717
|
-
l(!0),
|
|
1717
|
+
l(!0), dt.del(n.key);
|
|
1718
1718
|
}, 5e3);
|
|
1719
1719
|
}, [n.key]);
|
|
1720
1720
|
let p;
|
|
@@ -1765,8 +1765,8 @@ let Ae = {
|
|
|
1765
1765
|
Send: Cr,
|
|
1766
1766
|
Init: Or
|
|
1767
1767
|
};
|
|
1768
|
-
const
|
|
1769
|
-
d:
|
|
1768
|
+
const wr = "_d_1u25q_1", Tr = "_b_1u25q_21", $r = "_o_1u25q_25", Nr = "_m_1u25q_30", Br = "_t_1u25q_41", Ir = "_a_1u25q_108", Mr = "_v_1u25q_118", fe = {
|
|
1769
|
+
d: wr,
|
|
1770
1770
|
b: Tr,
|
|
1771
1771
|
o: $r,
|
|
1772
1772
|
m: Nr,
|
|
@@ -1832,7 +1832,7 @@ const Dr = () => {
|
|
|
1832
1832
|
g,
|
|
1833
1833
|
G[l][g]
|
|
1834
1834
|
);
|
|
1835
|
-
|
|
1835
|
+
$e.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1836
1836
|
"--tg-safe-area-inset-bottom",
|
|
1837
1837
|
"16px"
|
|
1838
1838
|
);
|
|
@@ -1917,11 +1917,11 @@ const Dr = () => {
|
|
|
1917
1917
|
return pe(() => {
|
|
1918
1918
|
document.documentElement.style.setProperty(
|
|
1919
1919
|
"--tg-theme-secondary-bg-color-alpha",
|
|
1920
|
-
|
|
1920
|
+
$e.themeParams.secondary_bg_color + "d3"
|
|
1921
1921
|
), document.documentElement.style.setProperty(
|
|
1922
1922
|
"--tg-theme-bg-color-alpha",
|
|
1923
|
-
|
|
1924
|
-
),
|
|
1923
|
+
$e.themeParams.bg_color + "b3"
|
|
1924
|
+
), $e.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1925
1925
|
"--tg-safe-area-inset-bottom",
|
|
1926
1926
|
"16px"
|
|
1927
1927
|
);
|
|
@@ -1934,13 +1934,13 @@ const Dr = () => {
|
|
|
1934
1934
|
/* @__PURE__ */ i.jsx("fieldset", {}),
|
|
1935
1935
|
/* @__PURE__ */ i.jsx("div", { onClick: a, children: " Сохранить " })
|
|
1936
1936
|
] }) });
|
|
1937
|
-
}, Lr = "_p_1axqy_1", Wr = "_s_1axqy_17",
|
|
1937
|
+
}, Lr = "_p_1axqy_1", Wr = "_s_1axqy_17", Kt = {
|
|
1938
1938
|
p: Lr,
|
|
1939
1939
|
s: Wr
|
|
1940
1940
|
}, Ur = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
|
|
1941
1941
|
"div",
|
|
1942
1942
|
{
|
|
1943
|
-
className: [
|
|
1943
|
+
className: [Kt.p, a && Kt.s, r].filter((c) => c !== void 0).join(" "),
|
|
1944
1944
|
children: n
|
|
1945
1945
|
}
|
|
1946
1946
|
), Yr = "_l_gfyud_1", zr = {
|
|
@@ -1963,7 +1963,7 @@ const Dr = () => {
|
|
|
1963
1963
|
const n = (c) => {
|
|
1964
1964
|
ve.setPage(c);
|
|
1965
1965
|
}, a = (c) => {
|
|
1966
|
-
|
|
1966
|
+
$e.openTelegramLink(c);
|
|
1967
1967
|
};
|
|
1968
1968
|
return /* @__PURE__ */ i.jsx("div", { className: Ee.m, children: r.map((c) => /* @__PURE__ */ i.jsx("div", { className: Ee.g, children: c.items.map((l, p) => /* @__PURE__ */ i.jsxs(
|
|
1969
1969
|
"div",
|
|
@@ -2023,7 +2023,7 @@ function ln({
|
|
|
2023
2023
|
/* @__PURE__ */ i.jsxs(
|
|
2024
2024
|
"div",
|
|
2025
2025
|
{
|
|
2026
|
-
className:
|
|
2026
|
+
className: Ce(
|
|
2027
2027
|
ce.m,
|
|
2028
2028
|
S === "left" ? ce.l : ce.r,
|
|
2029
2029
|
m && ce.x,
|
|
@@ -2085,7 +2085,7 @@ const or = ({
|
|
|
2085
2085
|
return st = () => {
|
|
2086
2086
|
m(!0), setTimeout(() => {
|
|
2087
2087
|
var u;
|
|
2088
|
-
p == null || p(!1), (u =
|
|
2088
|
+
p == null || p(!1), (u = Te == null ? void 0 : Te.onClose) == null || u.call(Te);
|
|
2089
2089
|
}, 300);
|
|
2090
2090
|
}, /* @__PURE__ */ i.jsx(
|
|
2091
2091
|
"div",
|
|
@@ -2115,11 +2115,11 @@ const or = ({
|
|
|
2115
2115
|
)
|
|
2116
2116
|
}
|
|
2117
2117
|
);
|
|
2118
|
-
}, un = "
|
|
2118
|
+
}, un = "_h_4aije_1", fn = "_r_4aije_23", dn = "_c_4aije_26", pn = "_x_4aije_29", ct = {
|
|
2119
2119
|
h: un,
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2120
|
+
r: fn,
|
|
2121
|
+
c: dn,
|
|
2122
|
+
x: pn
|
|
2123
2123
|
}, vn = "_b_r6m8n_1", hn = {
|
|
2124
2124
|
b: vn
|
|
2125
2125
|
}, gn = ({ className: r, value: n }) => /* @__PURE__ */ i.jsx(
|
|
@@ -2128,7 +2128,7 @@ const or = ({
|
|
|
2128
2128
|
className: [hn.b, r].filter((a) => a !== void 0).join(" "),
|
|
2129
2129
|
children: n
|
|
2130
2130
|
}
|
|
2131
|
-
),
|
|
2131
|
+
), Te = [], Gt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), yn = ({
|
|
2132
2132
|
actions: r,
|
|
2133
2133
|
children: n,
|
|
2134
2134
|
className: a,
|
|
@@ -2140,23 +2140,23 @@ const or = ({
|
|
|
2140
2140
|
const [m, u] = F.useState(null), [R, h] = F.useState(
|
|
2141
2141
|
l ? Gt(r || [], l) : 0
|
|
2142
2142
|
);
|
|
2143
|
-
return
|
|
2143
|
+
return Te.onClose = () => {
|
|
2144
2144
|
u(null), h(l ? Gt(r || [], l) : 0);
|
|
2145
2145
|
}, pe(() => {
|
|
2146
2146
|
if (!c)
|
|
2147
2147
|
return;
|
|
2148
2148
|
const b = document.querySelectorAll("[contenteditable]"), g = () => {
|
|
2149
|
-
const
|
|
2150
|
-
|
|
2149
|
+
const P = document.querySelector("footer");
|
|
2150
|
+
P && P.classList.remove(ct.x);
|
|
2151
2151
|
}, $ = () => {
|
|
2152
|
-
const
|
|
2153
|
-
|
|
2152
|
+
const P = document.querySelector("footer");
|
|
2153
|
+
P && P.classList.add(ct.x);
|
|
2154
2154
|
};
|
|
2155
|
-
return b.forEach((
|
|
2156
|
-
|
|
2155
|
+
return b.forEach((P) => {
|
|
2156
|
+
P.addEventListener("focus", $, !0), P.addEventListener("blur", g, !0);
|
|
2157
2157
|
}), () => {
|
|
2158
|
-
b.forEach((
|
|
2159
|
-
|
|
2158
|
+
b.forEach((P) => {
|
|
2159
|
+
P.removeEventListener("focus", $, !0), P.removeEventListener("blur", g, !0);
|
|
2160
2160
|
});
|
|
2161
2161
|
};
|
|
2162
2162
|
}, []), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -2164,7 +2164,11 @@ const or = ({
|
|
|
2164
2164
|
/* @__PURE__ */ i.jsxs(
|
|
2165
2165
|
"footer",
|
|
2166
2166
|
{
|
|
2167
|
-
className:
|
|
2167
|
+
className: Ce(
|
|
2168
|
+
ct.h,
|
|
2169
|
+
ct[S === "row" ? "r" : "c"],
|
|
2170
|
+
a
|
|
2171
|
+
),
|
|
2168
2172
|
children: [
|
|
2169
2173
|
n,
|
|
2170
2174
|
r && r.map((b, g) => /* @__PURE__ */ i.jsxs(
|
|
@@ -2185,12 +2189,12 @@ const or = ({
|
|
|
2185
2189
|
}
|
|
2186
2190
|
)
|
|
2187
2191
|
] });
|
|
2188
|
-
}, mn = "_w_yx04q_3", bn = "_v_yx04q_24", _n = "_s_yx04q_34", Rn = "_n_yx04q_38",
|
|
2192
|
+
}, mn = "_w_yx04q_3", bn = "_v_yx04q_24", _n = "_s_yx04q_34", Rn = "_n_yx04q_38", lt = {
|
|
2189
2193
|
w: mn,
|
|
2190
2194
|
v: bn,
|
|
2191
2195
|
s: _n,
|
|
2192
2196
|
n: Rn
|
|
2193
|
-
},
|
|
2197
|
+
}, Yt = {};
|
|
2194
2198
|
function Sn({
|
|
2195
2199
|
children: r,
|
|
2196
2200
|
name: n,
|
|
@@ -2202,12 +2206,12 @@ function Sn({
|
|
|
2202
2206
|
const [S, m] = J(!1);
|
|
2203
2207
|
return pe(() => {
|
|
2204
2208
|
if (!c) return;
|
|
2205
|
-
const u = p === void 0 ?
|
|
2209
|
+
const u = p === void 0 ? wn().pop() : p, R = () => {
|
|
2206
2210
|
m(!1), setTimeout(() => {
|
|
2207
2211
|
Xt(u || !1), a == null || a();
|
|
2208
2212
|
}, 300);
|
|
2209
2213
|
};
|
|
2210
|
-
|
|
2214
|
+
Yt[n] = {
|
|
2211
2215
|
onClose: R,
|
|
2212
2216
|
onOpen: () => {
|
|
2213
2217
|
m(!0);
|
|
@@ -2224,13 +2228,13 @@ function Sn({
|
|
|
2224
2228
|
}, [c]), c ? /* @__PURE__ */ i.jsxs(
|
|
2225
2229
|
"div",
|
|
2226
2230
|
{
|
|
2227
|
-
className:
|
|
2228
|
-
|
|
2229
|
-
S &&
|
|
2230
|
-
l &&
|
|
2231
|
+
className: Ce(
|
|
2232
|
+
lt.w,
|
|
2233
|
+
S && lt.v,
|
|
2234
|
+
l && lt.s
|
|
2231
2235
|
),
|
|
2232
2236
|
children: [
|
|
2233
|
-
/* @__PURE__ */ i.jsx("div", { className:
|
|
2237
|
+
/* @__PURE__ */ i.jsx("div", { className: lt.n }),
|
|
2234
2238
|
r
|
|
2235
2239
|
]
|
|
2236
2240
|
}
|
|
@@ -2238,7 +2242,7 @@ function Sn({
|
|
|
2238
2242
|
}
|
|
2239
2243
|
const xn = (r, n) => {
|
|
2240
2244
|
var a, c;
|
|
2241
|
-
n ? (a =
|
|
2245
|
+
n ? (a = Yt[r]) == null || a.onOpen() : (c = Yt[r]) == null || c.onClose();
|
|
2242
2246
|
}, kn = "_s_ezoxx_3", En = "_n_ezoxx_14", Zt = {
|
|
2243
2247
|
s: kn,
|
|
2244
2248
|
n: En
|
|
@@ -2265,24 +2269,24 @@ function jn({
|
|
|
2265
2269
|
"div",
|
|
2266
2270
|
{
|
|
2267
2271
|
...u,
|
|
2268
|
-
className:
|
|
2272
|
+
className: Ce(Zt.s, !p && Zt.n, r),
|
|
2269
2273
|
children: n
|
|
2270
2274
|
}
|
|
2271
2275
|
);
|
|
2272
2276
|
}
|
|
2273
|
-
const An = "_a_ohhaz_1", On = "_l_ohhaz_12", Cn = "_r_ohhaz_15",
|
|
2277
|
+
const An = "_a_ohhaz_1", On = "_l_ohhaz_12", Cn = "_r_ohhaz_15", Lt = {
|
|
2274
2278
|
a: An,
|
|
2275
2279
|
l: On,
|
|
2276
2280
|
r: Cn
|
|
2277
2281
|
};
|
|
2278
|
-
function
|
|
2282
|
+
function Pn({
|
|
2279
2283
|
children: r,
|
|
2280
2284
|
className: n,
|
|
2281
2285
|
position: a = "center",
|
|
2282
2286
|
title: c
|
|
2283
2287
|
}) {
|
|
2284
2288
|
let l = "";
|
|
2285
|
-
return a === "left" ? l =
|
|
2289
|
+
return a === "left" ? l = Lt.l : a === "right" && (l = Lt.r), /* @__PURE__ */ i.jsxs("div", { className: Ce(Lt.a, l, n), children: [
|
|
2286
2290
|
r,
|
|
2287
2291
|
c && /* @__PURE__ */ i.jsx("b", { children: c })
|
|
2288
2292
|
] });
|
|
@@ -2296,9 +2300,9 @@ const U = {
|
|
|
2296
2300
|
var a;
|
|
2297
2301
|
let n = U.state.pop();
|
|
2298
2302
|
U.prev = ve.getPage(), n.page !== void 0 ? ve.setPage(n.page) : (a = n.callback) == null || a.call(n);
|
|
2299
|
-
}),
|
|
2303
|
+
}), $e.BackButton.onClick(U.listen[0]));
|
|
2300
2304
|
}
|
|
2301
|
-
},
|
|
2305
|
+
}, Ce = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
|
|
2302
2306
|
var T;
|
|
2303
2307
|
((r) => {
|
|
2304
2308
|
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
@@ -2336,7 +2340,7 @@ var T;
|
|
|
2336
2340
|
var a;
|
|
2337
2341
|
Ae.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
|
|
2338
2342
|
}
|
|
2339
|
-
}, r.Header = Dr, r.TabBar = yn, r.BottomSheet = or, r.toggleBottomSheet = st, r.SafeArea = Ur, r.Loading = Vr, r.Sidebar = ln, r.SidePanel = Sn, r.AppBar =
|
|
2343
|
+
}, r.Header = Dr, r.TabBar = yn, r.BottomSheet = or, r.toggleBottomSheet = st, r.SafeArea = Ur, r.Loading = Vr, r.Sidebar = ln, r.SidePanel = Sn, r.AppBar = Pn, r.SidePanelController = xn, r.Scroll = jn, r.Modal = Ut, r.Menu = Qr, r.MainButton = {
|
|
2340
2344
|
callback: [],
|
|
2341
2345
|
set: (n) => {
|
|
2342
2346
|
de.is ? de.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
|
|
@@ -2354,12 +2358,12 @@ var T;
|
|
|
2354
2358
|
de.is ? de.BackButton.set(n) : (U.state.push(n), U.router(n));
|
|
2355
2359
|
};
|
|
2356
2360
|
})(T || (T = {}));
|
|
2357
|
-
const Nn = T.TabBar, Bn = or, Xt = T.BackButton, In = T.BackButtonPrev,
|
|
2361
|
+
const Nn = T.TabBar, Bn = or, Xt = T.BackButton, In = T.BackButtonPrev, wn = T.BackButtonState, Mn = T.Notice, Dn = T.SafeArea, Fn = T.Loading, Ln = T.Menu, Wn = T.SidePanel, Un = T.Scroll, Yn = T.AppBar, zn = T.Sidebar, Vn = T.Location, qn = T.SidePanelController, { Header: Hn, toggleBottomSheet: Jn, Modal: Kn, MainButton: Gn, WebApp: $e, getUser: Zn } = T;
|
|
2358
2362
|
export {
|
|
2359
2363
|
Yn as AppBar,
|
|
2360
2364
|
Xt as BackButton,
|
|
2361
2365
|
In as BackButtonPrev,
|
|
2362
|
-
|
|
2366
|
+
wn as BackButtonState,
|
|
2363
2367
|
Bn as BottomSheet,
|
|
2364
2368
|
Hn as Header,
|
|
2365
2369
|
Fn as Loading,
|
|
@@ -2374,8 +2378,8 @@ export {
|
|
|
2374
2378
|
qn as SidePanelController,
|
|
2375
2379
|
zn as Sidebar,
|
|
2376
2380
|
Nn as TabBar,
|
|
2377
|
-
|
|
2378
|
-
|
|
2381
|
+
$e as WebApp,
|
|
2382
|
+
Ce as clsx,
|
|
2379
2383
|
T as default,
|
|
2380
2384
|
Zn as getUser,
|
|
2381
2385
|
Jn as toggleBottomSheet
|