@elcrm/telegram 0.0.78 → 0.0.79
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 +207 -207
- package/dist/index.umd.js +11 -11
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -13,11 +13,11 @@ var It;
|
|
|
13
13
|
function Ht() {
|
|
14
14
|
if (It) return Je;
|
|
15
15
|
It = 1;
|
|
16
|
-
var r = N, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, d = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
16
|
+
var r = N, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, d = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
17
|
function w(R, v, x) {
|
|
18
18
|
var m, b = {}, E = null, D = null;
|
|
19
19
|
x !== void 0 && (E = "" + x), v.key !== void 0 && (E = "" + v.key), v.ref !== void 0 && (D = v.ref);
|
|
20
|
-
for (m in v) f.call(v, m) && !
|
|
20
|
+
for (m in v) f.call(v, m) && !h.hasOwnProperty(m) && (b[m] = v[m]);
|
|
21
21
|
if (R && R.defaultProps) for (m in v = R.defaultProps, v) b[m] === void 0 && (b[m] = v[m]);
|
|
22
22
|
return { $$typeof: o, type: R, key: E, ref: D, props: b, _owner: d.current };
|
|
23
23
|
}
|
|
@@ -36,7 +36,7 @@ var qe = {};
|
|
|
36
36
|
var $t;
|
|
37
37
|
function Gt() {
|
|
38
38
|
return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
-
var r = N, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"),
|
|
39
|
+
var r = N, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), R = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), A = Symbol.iterator, Ee = "@@iterator";
|
|
40
40
|
function ke(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
@@ -53,18 +53,18 @@ function Gt() {
|
|
|
53
53
|
}
|
|
54
54
|
function be(e, t, n) {
|
|
55
55
|
{
|
|
56
|
-
var a = M.ReactDebugCurrentFrame,
|
|
57
|
-
|
|
56
|
+
var a = M.ReactDebugCurrentFrame, c = a.getStackAddendum();
|
|
57
|
+
c !== "" && (t += "%s", n = n.concat([c]));
|
|
58
58
|
var p = n.map(function(l) {
|
|
59
59
|
return String(l);
|
|
60
60
|
});
|
|
61
61
|
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var Se = !1, xe = !1,
|
|
64
|
+
var Se = !1, xe = !1, g = !1, k = !1, I = !1, B;
|
|
65
65
|
B = Symbol.for("react.module.reference");
|
|
66
66
|
function L(e) {
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e === f || e ===
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === h || I || e === d || e === x || e === m || k || e === D || Se || xe || g || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === b || e.$$typeof === w || e.$$typeof === R || e.$$typeof === v || // This needs to include all possible module reference object
|
|
68
68
|
// types supported by any Flight configuration anywhere since
|
|
69
69
|
// we don't know which Flight build this will end up being used
|
|
70
70
|
// with.
|
|
@@ -74,8 +74,8 @@ function Gt() {
|
|
|
74
74
|
var a = e.displayName;
|
|
75
75
|
if (a)
|
|
76
76
|
return a;
|
|
77
|
-
var
|
|
78
|
-
return
|
|
77
|
+
var c = t.displayName || t.name || "";
|
|
78
|
+
return c !== "" ? n + "(" + c + ")" : n;
|
|
79
79
|
}
|
|
80
80
|
function ie(e) {
|
|
81
81
|
return e.displayName || "Context";
|
|
@@ -92,7 +92,7 @@ function Gt() {
|
|
|
92
92
|
return "Fragment";
|
|
93
93
|
case i:
|
|
94
94
|
return "Portal";
|
|
95
|
-
case
|
|
95
|
+
case h:
|
|
96
96
|
return "Profiler";
|
|
97
97
|
case d:
|
|
98
98
|
return "StrictMode";
|
|
@@ -115,7 +115,7 @@ function Gt() {
|
|
|
115
115
|
var a = e.displayName || null;
|
|
116
116
|
return a !== null ? a : T(e.type) || "Memo";
|
|
117
117
|
case E: {
|
|
118
|
-
var
|
|
118
|
+
var c = e, p = c._payload, l = c._init;
|
|
119
119
|
try {
|
|
120
120
|
return T(l(p));
|
|
121
121
|
} catch {
|
|
@@ -187,18 +187,18 @@ function Gt() {
|
|
|
187
187
|
F < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
var
|
|
190
|
+
var ue = M.ReactCurrentDispatcher, ce;
|
|
191
191
|
function X(e, t, n) {
|
|
192
192
|
{
|
|
193
|
-
if (
|
|
193
|
+
if (ce === void 0)
|
|
194
194
|
try {
|
|
195
195
|
throw Error();
|
|
196
|
-
} catch (
|
|
197
|
-
var a =
|
|
198
|
-
|
|
196
|
+
} catch (c) {
|
|
197
|
+
var a = c.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
+
ce = a && a[1] || "";
|
|
199
199
|
}
|
|
200
200
|
return `
|
|
201
|
-
` +
|
|
201
|
+
` + ce + e;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
var fe = !1, Q;
|
|
@@ -216,10 +216,10 @@ function Gt() {
|
|
|
216
216
|
}
|
|
217
217
|
var a;
|
|
218
218
|
fe = !0;
|
|
219
|
-
var
|
|
219
|
+
var c = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
221
|
var p;
|
|
222
|
-
p =
|
|
222
|
+
p = ue.current, ue.current = null, nt();
|
|
223
223
|
try {
|
|
224
224
|
if (t) {
|
|
225
225
|
var l = function() {
|
|
@@ -272,7 +272,7 @@ function Gt() {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
fe = !1,
|
|
275
|
+
fe = !1, ue.current = p, ot(), Error.prepareStackTrace = c;
|
|
276
276
|
}
|
|
277
277
|
var Y = e ? e.displayName || e.name : "", W = Y ? X(Y) : "";
|
|
278
278
|
return typeof e == "function" && Q.set(e, W), W;
|
|
@@ -304,9 +304,9 @@ function Gt() {
|
|
|
304
304
|
case b:
|
|
305
305
|
return ee(e.type, t, n);
|
|
306
306
|
case E: {
|
|
307
|
-
var a = e,
|
|
307
|
+
var a = e, c = a._payload, p = a._init;
|
|
308
308
|
try {
|
|
309
|
-
return ee(p(
|
|
309
|
+
return ee(p(c), t, n);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
@@ -321,7 +321,7 @@ function Gt() {
|
|
|
321
321
|
} else
|
|
322
322
|
Ie.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function lt(e, t, n, a,
|
|
324
|
+
function lt(e, t, n, a, c) {
|
|
325
325
|
{
|
|
326
326
|
var p = Function.call.bind(z);
|
|
327
327
|
for (var l in e)
|
|
@@ -336,15 +336,15 @@ function Gt() {
|
|
|
336
336
|
} catch (y) {
|
|
337
337
|
s = y;
|
|
338
338
|
}
|
|
339
|
-
s && !(s instanceof Error) && (te(
|
|
339
|
+
s && !(s instanceof Error) && (te(c), S("%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).", a || "React class", n, l, typeof s), te(null)), s instanceof Error && !(s.message in Te) && (Te[s.message] = !0, te(c), S("Failed %s type: %s", n, s.message), te(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var ut = Array.isArray;
|
|
344
344
|
function de(e) {
|
|
345
|
-
return
|
|
345
|
+
return ut(e);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function ct(e) {
|
|
348
348
|
{
|
|
349
349
|
var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
350
|
return n;
|
|
@@ -362,7 +362,7 @@ function Gt() {
|
|
|
362
362
|
}
|
|
363
363
|
function De(e) {
|
|
364
364
|
if (ft(e))
|
|
365
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
365
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ct(e)), $e(e);
|
|
366
366
|
}
|
|
367
367
|
var Ne = M.ReactCurrentOwner, dt = {
|
|
368
368
|
key: !0,
|
|
@@ -389,7 +389,7 @@ function Gt() {
|
|
|
389
389
|
function mt(e, t) {
|
|
390
390
|
typeof e.ref == "string" && Ne.current;
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function ht(e, t) {
|
|
393
393
|
{
|
|
394
394
|
var n = function() {
|
|
395
395
|
Be || (Be = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -400,7 +400,7 @@ function Gt() {
|
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function gt(e, t) {
|
|
404
404
|
{
|
|
405
405
|
var n = function() {
|
|
406
406
|
Fe || (Fe = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -411,7 +411,7 @@ function Gt() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var yt = function(e, t, n, a,
|
|
414
|
+
var yt = function(e, t, n, a, c, p, l) {
|
|
415
415
|
var s = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
417
|
$$typeof: o,
|
|
@@ -437,13 +437,13 @@ function Gt() {
|
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
|
-
value:
|
|
440
|
+
value: c
|
|
441
441
|
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
|
|
442
442
|
};
|
|
443
|
-
function bt(e, t, n, a,
|
|
443
|
+
function bt(e, t, n, a, c) {
|
|
444
444
|
{
|
|
445
445
|
var p, l = {}, s = null, O = null;
|
|
446
|
-
n !== void 0 && (De(n), s = "" + n), vt(t) && (De(t.key), s = "" + t.key), pt(t) && (O = t.ref, mt(t,
|
|
446
|
+
n !== void 0 && (De(n), s = "" + n), vt(t) && (De(t.key), s = "" + t.key), pt(t) && (O = t.ref, mt(t, c));
|
|
447
447
|
for (p in t)
|
|
448
448
|
z.call(t, p) && !dt.hasOwnProperty(p) && (l[p] = t[p]);
|
|
449
449
|
if (e && e.defaultProps) {
|
|
@@ -453,9 +453,9 @@ function Gt() {
|
|
|
453
453
|
}
|
|
454
454
|
if (s || O) {
|
|
455
455
|
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
-
s &&
|
|
456
|
+
s && ht(l, _), O && gt(l, _);
|
|
457
457
|
}
|
|
458
|
-
return yt(e, s, O,
|
|
458
|
+
return yt(e, s, O, c, a, Ne.current, l);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
var pe = M.ReactCurrentOwner, Me = M.ReactDebugCurrentFrame;
|
|
@@ -524,9 +524,9 @@ Check the top-level render call using <` + n + ">.");
|
|
|
524
524
|
else if (me(e))
|
|
525
525
|
e._store && (e._store.validated = !0);
|
|
526
526
|
else if (e) {
|
|
527
|
-
var
|
|
528
|
-
if (typeof
|
|
529
|
-
for (var p =
|
|
527
|
+
var c = ke(e);
|
|
528
|
+
if (typeof c == "function" && c !== e.entries)
|
|
529
|
+
for (var p = c.call(e), l; !(l = p.next()).done; )
|
|
530
530
|
me(l.value) && Ue(l.value, t);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
@@ -550,8 +550,8 @@ Check the top-level render call using <` + n + ">.");
|
|
|
550
550
|
lt(n, e.props, "prop", a, e);
|
|
551
551
|
} else if (t.PropTypes !== void 0 && !ve) {
|
|
552
552
|
ve = !0;
|
|
553
|
-
var
|
|
554
|
-
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
553
|
+
var c = T(t);
|
|
554
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", c || "Unknown");
|
|
555
555
|
}
|
|
556
556
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
557
|
}
|
|
@@ -569,7 +569,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
var Ve = {};
|
|
572
|
-
function ze(e, t, n, a,
|
|
572
|
+
function ze(e, t, n, a, c, p) {
|
|
573
573
|
{
|
|
574
574
|
var l = L(e);
|
|
575
575
|
if (!l) {
|
|
@@ -580,7 +580,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
580
580
|
var y;
|
|
581
581
|
e === null ? y = "null" : de(e) ? y = "array" : e !== void 0 && e.$$typeof === o ? (y = "<" + (T(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, s);
|
|
582
582
|
}
|
|
583
|
-
var _ = bt(e, t, n,
|
|
583
|
+
var _ = bt(e, t, n, c, p);
|
|
584
584
|
if (_ == null)
|
|
585
585
|
return _;
|
|
586
586
|
if (l) {
|
|
@@ -599,15 +599,15 @@ Check the top-level render call using <` + n + ">.");
|
|
|
599
599
|
if (z.call(t, "key")) {
|
|
600
600
|
var W = T(e), j = Object.keys(t).filter(function(Ct) {
|
|
601
601
|
return Ct !== "key";
|
|
602
|
-
}),
|
|
603
|
-
if (!Ve[W +
|
|
602
|
+
}), he = j.length > 0 ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!Ve[W + he]) {
|
|
604
604
|
var wt = j.length > 0 ? "{" + j.join(": ..., ") + ": ...}" : "{}";
|
|
605
605
|
S(`A props object containing a "key" prop is being spread into JSX:
|
|
606
606
|
let props = %s;
|
|
607
607
|
<%s {...props} />
|
|
608
608
|
React keys must be passed directly to JSX without using spread:
|
|
609
609
|
let props = %s;
|
|
610
|
-
<%s key={someKey} {...props} />`,
|
|
610
|
+
<%s key={someKey} {...props} />`, he, W, wt, W), Ve[W + he] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
return e === f ? kt(_) : Et(_), _;
|
|
@@ -624,7 +624,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
}()), qe;
|
|
625
625
|
}
|
|
626
626
|
process.env.NODE_ENV === "production" ? Pt.exports = Ht() : Pt.exports = Gt();
|
|
627
|
-
var
|
|
627
|
+
var u = Pt.exports;
|
|
628
628
|
let Z = {};
|
|
629
629
|
var At;
|
|
630
630
|
((r) => {
|
|
@@ -639,7 +639,7 @@ var At;
|
|
|
639
639
|
callback: () => Z.onClose()
|
|
640
640
|
}), x(!0));
|
|
641
641
|
}, []), !!v)
|
|
642
|
-
return /* @__PURE__ */
|
|
642
|
+
return /* @__PURE__ */ u.jsx("div", { className: `modal-overlay ${m ? "closing" : ""}`, children: /* @__PURE__ */ u.jsx("div", { className: `modal-popup ${m ? "closing" : ""}`, children: /* @__PURE__ */ u.jsx("div", { children: R }) }) });
|
|
643
643
|
}
|
|
644
644
|
r.Content = o;
|
|
645
645
|
function i({
|
|
@@ -652,27 +652,27 @@ var At;
|
|
|
652
652
|
R && (Z.i = R);
|
|
653
653
|
}, []), Z.add = (m, b = Date.now()) => {
|
|
654
654
|
x([...v, { key: b, item: m }]);
|
|
655
|
-
}, /* @__PURE__ */
|
|
655
|
+
}, /* @__PURE__ */ u.jsx(u.Fragment, { children: v.map((m) => m.item) });
|
|
656
656
|
}
|
|
657
657
|
r.Init = i;
|
|
658
658
|
function f(R, v) {
|
|
659
|
-
Z.add(/* @__PURE__ */
|
|
659
|
+
Z.add(/* @__PURE__ */ u.jsx(o, { children: R }, String(Date.now())), v);
|
|
660
660
|
}
|
|
661
661
|
r.Add = f;
|
|
662
662
|
function d(R) {
|
|
663
663
|
return {
|
|
664
664
|
Open: (m) => {
|
|
665
665
|
r.Add(
|
|
666
|
-
/* @__PURE__ */
|
|
666
|
+
/* @__PURE__ */ u.jsx(R, { ...m }, (/* @__PURE__ */ new Date()).getTime())
|
|
667
667
|
);
|
|
668
668
|
}
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
671
|
r.Create = d;
|
|
672
|
-
function
|
|
672
|
+
function h() {
|
|
673
673
|
Z.onClose();
|
|
674
674
|
}
|
|
675
|
-
r.Close =
|
|
675
|
+
r.Close = h;
|
|
676
676
|
function w(R, v, x) {
|
|
677
677
|
Z.i && Z.i(`${R}/modals/${v}.tsx`).then((m) => {
|
|
678
678
|
m.default.Open(x);
|
|
@@ -719,12 +719,12 @@ const et = (r) => {
|
|
|
719
719
|
}, Vt = (r, o) => {
|
|
720
720
|
const i = new Uint8Array(r.length), f = new Uint8Array(r.length);
|
|
721
721
|
let d = 0;
|
|
722
|
-
for (let
|
|
723
|
-
const w =
|
|
724
|
-
d = o[w] +
|
|
722
|
+
for (let h = 0; h < r.length; h++) {
|
|
723
|
+
const w = h % o.length;
|
|
724
|
+
d = o[w] + h + d & 255, f[h] = d;
|
|
725
725
|
}
|
|
726
|
-
for (let
|
|
727
|
-
i[
|
|
726
|
+
for (let h = 0; h < r.length; h++)
|
|
727
|
+
i[h] = r[h] ^ f[h];
|
|
728
728
|
return i;
|
|
729
729
|
}, Zt = (r) => new TextEncoder().encode(r), Xt = (r) => new TextDecoder().decode(r), Qt = (r) => {
|
|
730
730
|
let o = "";
|
|
@@ -742,7 +742,7 @@ const et = (r) => {
|
|
|
742
742
|
try {
|
|
743
743
|
const o = et(
|
|
744
744
|
Date.now().toString() + Math.random()
|
|
745
|
-
).substring(0, Qe().saltLength * 2), i = et(r + o).substring(0, 8), f = Yt(Qe().key, o), d = Zt(r),
|
|
745
|
+
).substring(0, Qe().saltLength * 2), i = et(r + o).substring(0, 8), f = Yt(Qe().key, o), d = Zt(r), h = Vt(d, f), w = Qt(h);
|
|
746
746
|
return `${o}.${w}.${i}`;
|
|
747
747
|
} catch {
|
|
748
748
|
throw new Error("Не удалось зашифровать данные");
|
|
@@ -752,7 +752,7 @@ const et = (r) => {
|
|
|
752
752
|
const o = r.split(".");
|
|
753
753
|
if (o.length !== 3)
|
|
754
754
|
throw new Error("Неверный формат зашифрованных данных");
|
|
755
|
-
const i = o[0], f = o[1], d = o[2],
|
|
755
|
+
const i = o[0], f = o[1], d = o[2], h = Yt(Qe().key, i), w = er(f), R = Vt(w, h), v = Xt(R);
|
|
756
756
|
if (et(v + i).substring(
|
|
757
757
|
0,
|
|
758
758
|
8
|
|
@@ -801,11 +801,11 @@ var Nt;
|
|
|
801
801
|
function nr() {
|
|
802
802
|
if (Nt) return Ke;
|
|
803
803
|
Nt = 1;
|
|
804
|
-
var r = N, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, d = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
804
|
+
var r = N, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, d = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
805
805
|
function w(R, v, x) {
|
|
806
806
|
var m, b = {}, E = null, D = null;
|
|
807
807
|
x !== void 0 && (E = "" + x), v.key !== void 0 && (E = "" + v.key), v.ref !== void 0 && (D = v.ref);
|
|
808
|
-
for (m in v) f.call(v, m) && !
|
|
808
|
+
for (m in v) f.call(v, m) && !h.hasOwnProperty(m) && (b[m] = v[m]);
|
|
809
809
|
if (R && R.defaultProps) for (m in v = R.defaultProps, v) b[m] === void 0 && (b[m] = v[m]);
|
|
810
810
|
return { $$typeof: o, type: R, key: E, ref: D, props: b, _owner: d.current };
|
|
811
811
|
}
|
|
@@ -824,7 +824,7 @@ var Xe = {};
|
|
|
824
824
|
var Bt;
|
|
825
825
|
function or() {
|
|
826
826
|
return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
827
|
-
var r = N, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"),
|
|
827
|
+
var r = N, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), R = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), A = Symbol.iterator, Ee = "@@iterator";
|
|
828
828
|
function ke(e) {
|
|
829
829
|
if (e === null || typeof e != "object")
|
|
830
830
|
return null;
|
|
@@ -841,18 +841,18 @@ function or() {
|
|
|
841
841
|
}
|
|
842
842
|
function be(e, t, n) {
|
|
843
843
|
{
|
|
844
|
-
var a = M.ReactDebugCurrentFrame,
|
|
845
|
-
|
|
844
|
+
var a = M.ReactDebugCurrentFrame, c = a.getStackAddendum();
|
|
845
|
+
c !== "" && (t += "%s", n = n.concat([c]));
|
|
846
846
|
var p = n.map(function(l) {
|
|
847
847
|
return String(l);
|
|
848
848
|
});
|
|
849
849
|
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
-
var Se = !1, xe = !1,
|
|
852
|
+
var Se = !1, xe = !1, g = !1, k = !1, I = !1, B;
|
|
853
853
|
B = Symbol.for("react.module.reference");
|
|
854
854
|
function L(e) {
|
|
855
|
-
return !!(typeof e == "string" || typeof e == "function" || e === f || e ===
|
|
855
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === h || I || e === d || e === x || e === m || k || e === D || Se || xe || g || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === b || e.$$typeof === w || e.$$typeof === R || e.$$typeof === v || // This needs to include all possible module reference object
|
|
856
856
|
// types supported by any Flight configuration anywhere since
|
|
857
857
|
// we don't know which Flight build this will end up being used
|
|
858
858
|
// with.
|
|
@@ -862,8 +862,8 @@ function or() {
|
|
|
862
862
|
var a = e.displayName;
|
|
863
863
|
if (a)
|
|
864
864
|
return a;
|
|
865
|
-
var
|
|
866
|
-
return
|
|
865
|
+
var c = t.displayName || t.name || "";
|
|
866
|
+
return c !== "" ? n + "(" + c + ")" : n;
|
|
867
867
|
}
|
|
868
868
|
function ie(e) {
|
|
869
869
|
return e.displayName || "Context";
|
|
@@ -880,7 +880,7 @@ function or() {
|
|
|
880
880
|
return "Fragment";
|
|
881
881
|
case i:
|
|
882
882
|
return "Portal";
|
|
883
|
-
case
|
|
883
|
+
case h:
|
|
884
884
|
return "Profiler";
|
|
885
885
|
case d:
|
|
886
886
|
return "StrictMode";
|
|
@@ -903,7 +903,7 @@ function or() {
|
|
|
903
903
|
var a = e.displayName || null;
|
|
904
904
|
return a !== null ? a : T(e.type) || "Memo";
|
|
905
905
|
case E: {
|
|
906
|
-
var
|
|
906
|
+
var c = e, p = c._payload, l = c._init;
|
|
907
907
|
try {
|
|
908
908
|
return T(l(p));
|
|
909
909
|
} catch {
|
|
@@ -975,18 +975,18 @@ function or() {
|
|
|
975
975
|
F < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
var
|
|
978
|
+
var ue = M.ReactCurrentDispatcher, ce;
|
|
979
979
|
function X(e, t, n) {
|
|
980
980
|
{
|
|
981
|
-
if (
|
|
981
|
+
if (ce === void 0)
|
|
982
982
|
try {
|
|
983
983
|
throw Error();
|
|
984
|
-
} catch (
|
|
985
|
-
var a =
|
|
986
|
-
|
|
984
|
+
} catch (c) {
|
|
985
|
+
var a = c.stack.trim().match(/\n( *(at )?)/);
|
|
986
|
+
ce = a && a[1] || "";
|
|
987
987
|
}
|
|
988
988
|
return `
|
|
989
|
-
` +
|
|
989
|
+
` + ce + e;
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
992
|
var fe = !1, Q;
|
|
@@ -1004,10 +1004,10 @@ function or() {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
var a;
|
|
1006
1006
|
fe = !0;
|
|
1007
|
-
var
|
|
1007
|
+
var c = Error.prepareStackTrace;
|
|
1008
1008
|
Error.prepareStackTrace = void 0;
|
|
1009
1009
|
var p;
|
|
1010
|
-
p =
|
|
1010
|
+
p = ue.current, ue.current = null, nt();
|
|
1011
1011
|
try {
|
|
1012
1012
|
if (t) {
|
|
1013
1013
|
var l = function() {
|
|
@@ -1060,7 +1060,7 @@ function or() {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
1062
|
} finally {
|
|
1063
|
-
fe = !1,
|
|
1063
|
+
fe = !1, ue.current = p, ot(), Error.prepareStackTrace = c;
|
|
1064
1064
|
}
|
|
1065
1065
|
var Y = e ? e.displayName || e.name : "", W = Y ? X(Y) : "";
|
|
1066
1066
|
return typeof e == "function" && Q.set(e, W), W;
|
|
@@ -1092,9 +1092,9 @@ function or() {
|
|
|
1092
1092
|
case b:
|
|
1093
1093
|
return ee(e.type, t, n);
|
|
1094
1094
|
case E: {
|
|
1095
|
-
var a = e,
|
|
1095
|
+
var a = e, c = a._payload, p = a._init;
|
|
1096
1096
|
try {
|
|
1097
|
-
return ee(p(
|
|
1097
|
+
return ee(p(c), t, n);
|
|
1098
1098
|
} catch {
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
@@ -1109,7 +1109,7 @@ function or() {
|
|
|
1109
1109
|
} else
|
|
1110
1110
|
Ie.setExtraStackFrame(null);
|
|
1111
1111
|
}
|
|
1112
|
-
function lt(e, t, n, a,
|
|
1112
|
+
function lt(e, t, n, a, c) {
|
|
1113
1113
|
{
|
|
1114
1114
|
var p = Function.call.bind(z);
|
|
1115
1115
|
for (var l in e)
|
|
@@ -1124,15 +1124,15 @@ function or() {
|
|
|
1124
1124
|
} catch (y) {
|
|
1125
1125
|
s = y;
|
|
1126
1126
|
}
|
|
1127
|
-
s && !(s instanceof Error) && (te(
|
|
1127
|
+
s && !(s instanceof Error) && (te(c), S("%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).", a || "React class", n, l, typeof s), te(null)), s instanceof Error && !(s.message in Te) && (Te[s.message] = !0, te(c), S("Failed %s type: %s", n, s.message), te(null));
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
|
-
var
|
|
1131
|
+
var ut = Array.isArray;
|
|
1132
1132
|
function de(e) {
|
|
1133
|
-
return
|
|
1133
|
+
return ut(e);
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function ct(e) {
|
|
1136
1136
|
{
|
|
1137
1137
|
var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1138
1138
|
return n;
|
|
@@ -1150,7 +1150,7 @@ function or() {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
function De(e) {
|
|
1152
1152
|
if (ft(e))
|
|
1153
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1153
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ct(e)), $e(e);
|
|
1154
1154
|
}
|
|
1155
1155
|
var Ne = M.ReactCurrentOwner, dt = {
|
|
1156
1156
|
key: !0,
|
|
@@ -1177,7 +1177,7 @@ function or() {
|
|
|
1177
1177
|
function mt(e, t) {
|
|
1178
1178
|
typeof e.ref == "string" && Ne.current;
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1180
|
+
function ht(e, t) {
|
|
1181
1181
|
{
|
|
1182
1182
|
var n = function() {
|
|
1183
1183
|
Be || (Be = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -1188,7 +1188,7 @@ function or() {
|
|
|
1188
1188
|
});
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function gt(e, t) {
|
|
1192
1192
|
{
|
|
1193
1193
|
var n = function() {
|
|
1194
1194
|
Fe || (Fe = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -1199,7 +1199,7 @@ function or() {
|
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
|
-
var yt = function(e, t, n, a,
|
|
1202
|
+
var yt = function(e, t, n, a, c, p, l) {
|
|
1203
1203
|
var s = {
|
|
1204
1204
|
// This tag allows us to uniquely identify this as a React Element
|
|
1205
1205
|
$$typeof: o,
|
|
@@ -1225,10 +1225,10 @@ function or() {
|
|
|
1225
1225
|
configurable: !1,
|
|
1226
1226
|
enumerable: !1,
|
|
1227
1227
|
writable: !1,
|
|
1228
|
-
value:
|
|
1228
|
+
value: c
|
|
1229
1229
|
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
|
|
1230
1230
|
};
|
|
1231
|
-
function bt(e, t, n, a,
|
|
1231
|
+
function bt(e, t, n, a, c) {
|
|
1232
1232
|
{
|
|
1233
1233
|
var p, l = {}, s = null, O = null;
|
|
1234
1234
|
n !== void 0 && (De(n), s = "" + n), vt(t) && (De(t.key), s = "" + t.key), pt(t) && (O = t.ref, mt(t));
|
|
@@ -1241,9 +1241,9 @@ function or() {
|
|
|
1241
1241
|
}
|
|
1242
1242
|
if (s || O) {
|
|
1243
1243
|
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1244
|
-
s &&
|
|
1244
|
+
s && ht(l, _), O && gt(l, _);
|
|
1245
1245
|
}
|
|
1246
|
-
return yt(e, s, O,
|
|
1246
|
+
return yt(e, s, O, c, a, Ne.current, l);
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
1249
|
var pe = M.ReactCurrentOwner, Me = M.ReactDebugCurrentFrame;
|
|
@@ -1312,9 +1312,9 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1312
1312
|
else if (me(e))
|
|
1313
1313
|
e._store && (e._store.validated = !0);
|
|
1314
1314
|
else if (e) {
|
|
1315
|
-
var
|
|
1316
|
-
if (typeof
|
|
1317
|
-
for (var p =
|
|
1315
|
+
var c = ke(e);
|
|
1316
|
+
if (typeof c == "function" && c !== e.entries)
|
|
1317
|
+
for (var p = c.call(e), l; !(l = p.next()).done; )
|
|
1318
1318
|
me(l.value) && Ue(l.value, t);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
@@ -1338,8 +1338,8 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1338
1338
|
lt(n, e.props, "prop", a, e);
|
|
1339
1339
|
} else if (t.PropTypes !== void 0 && !ve) {
|
|
1340
1340
|
ve = !0;
|
|
1341
|
-
var
|
|
1342
|
-
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
1341
|
+
var c = T(t);
|
|
1342
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", c || "Unknown");
|
|
1343
1343
|
}
|
|
1344
1344
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1345
1345
|
}
|
|
@@ -1357,7 +1357,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
1359
|
var Ve = {};
|
|
1360
|
-
function ze(e, t, n, a,
|
|
1360
|
+
function ze(e, t, n, a, c, p) {
|
|
1361
1361
|
{
|
|
1362
1362
|
var l = L(e);
|
|
1363
1363
|
if (!l) {
|
|
@@ -1368,7 +1368,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1368
1368
|
var y;
|
|
1369
1369
|
e === null ? y = "null" : de(e) ? y = "array" : e !== void 0 && e.$$typeof === o ? (y = "<" + (T(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, s);
|
|
1370
1370
|
}
|
|
1371
|
-
var _ = bt(e, t, n,
|
|
1371
|
+
var _ = bt(e, t, n, c, p);
|
|
1372
1372
|
if (_ == null)
|
|
1373
1373
|
return _;
|
|
1374
1374
|
if (l) {
|
|
@@ -1387,15 +1387,15 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1387
1387
|
if (z.call(t, "key")) {
|
|
1388
1388
|
var W = T(e), j = Object.keys(t).filter(function(Ct) {
|
|
1389
1389
|
return Ct !== "key";
|
|
1390
|
-
}),
|
|
1391
|
-
if (!Ve[W +
|
|
1390
|
+
}), he = j.length > 0 ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1391
|
+
if (!Ve[W + he]) {
|
|
1392
1392
|
var wt = j.length > 0 ? "{" + j.join(": ..., ") + ": ...}" : "{}";
|
|
1393
1393
|
S(`A props object containing a "key" prop is being spread into JSX:
|
|
1394
1394
|
let props = %s;
|
|
1395
1395
|
<%s {...props} />
|
|
1396
1396
|
React keys must be passed directly to JSX without using spread:
|
|
1397
1397
|
let props = %s;
|
|
1398
|
-
<%s key={someKey} {...props} />`,
|
|
1398
|
+
<%s key={someKey} {...props} />`, he, W, wt, W), Ve[W + he] = !0;
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
1401
|
return e === f ? kt(_) : Et(_), _;
|
|
@@ -1447,7 +1447,7 @@ function oe() {
|
|
|
1447
1447
|
var Re;
|
|
1448
1448
|
((r) => {
|
|
1449
1449
|
function o() {
|
|
1450
|
-
var
|
|
1450
|
+
var g;
|
|
1451
1451
|
let k = sessionStorage.getItem("f");
|
|
1452
1452
|
if (k) {
|
|
1453
1453
|
if (k = se.deCode(k), !k) return !1;
|
|
@@ -1464,7 +1464,7 @@ var Re;
|
|
|
1464
1464
|
ne({
|
|
1465
1465
|
id: 0,
|
|
1466
1466
|
tab: "",
|
|
1467
|
-
page: (
|
|
1467
|
+
page: (g = localStorage.getItem("d")) != null && g.length ? C().page : C().auth,
|
|
1468
1468
|
module: C().module
|
|
1469
1469
|
});
|
|
1470
1470
|
return !0;
|
|
@@ -1474,116 +1474,116 @@ var Re;
|
|
|
1474
1474
|
}
|
|
1475
1475
|
r.Reset = i;
|
|
1476
1476
|
function f({
|
|
1477
|
-
module:
|
|
1477
|
+
module: g = C().module,
|
|
1478
1478
|
page: k = C().page,
|
|
1479
1479
|
auth: I = C().auth
|
|
1480
1480
|
}) {
|
|
1481
|
-
ne({ page: k, module:
|
|
1481
|
+
ne({ page: k, module: g, auth: I }), o();
|
|
1482
1482
|
}
|
|
1483
1483
|
r.Default = f;
|
|
1484
|
-
function d(
|
|
1484
|
+
function d(g) {
|
|
1485
1485
|
let k = (L) => (ne({ page: L }), L);
|
|
1486
1486
|
const [I, B] = N.useState(
|
|
1487
|
-
w() ||
|
|
1487
|
+
w() || g && k(g) || C().page
|
|
1488
1488
|
);
|
|
1489
1489
|
return _e({ page: (L) => {
|
|
1490
1490
|
B(L);
|
|
1491
1491
|
} }), I;
|
|
1492
1492
|
}
|
|
1493
1493
|
r.usePage = d;
|
|
1494
|
-
function g
|
|
1495
|
-
ne({ page:
|
|
1494
|
+
function h(g, k = !0, I = {}) {
|
|
1495
|
+
ne({ page: g, ...I }), sessionStorage.setItem(
|
|
1496
1496
|
C().STORAGE,
|
|
1497
1497
|
se.enCode(C())
|
|
1498
|
-
), k && oe().page(
|
|
1498
|
+
), k && oe().page(g);
|
|
1499
1499
|
}
|
|
1500
|
-
r.setPage =
|
|
1500
|
+
r.setPage = h;
|
|
1501
1501
|
function w() {
|
|
1502
1502
|
return C().page;
|
|
1503
1503
|
}
|
|
1504
1504
|
r.getPage = w;
|
|
1505
|
-
function R(
|
|
1506
|
-
return C().page ===
|
|
1505
|
+
function R(g) {
|
|
1506
|
+
return C().page === g;
|
|
1507
1507
|
}
|
|
1508
1508
|
r.isPage = R;
|
|
1509
|
-
function v(
|
|
1509
|
+
function v(g, k) {
|
|
1510
1510
|
const [I, B] = N.useState(
|
|
1511
|
-
m() ||
|
|
1511
|
+
m() || g || C().module
|
|
1512
1512
|
);
|
|
1513
1513
|
return _e({ module: B }), I;
|
|
1514
1514
|
}
|
|
1515
1515
|
r.useModule = v;
|
|
1516
|
-
function x(
|
|
1517
|
-
ne({ module:
|
|
1516
|
+
function x(g, k = !0) {
|
|
1517
|
+
ne({ module: g }), sessionStorage.setItem(
|
|
1518
1518
|
C().STORAGE,
|
|
1519
1519
|
se.enCode(C())
|
|
1520
|
-
), k && oe().module(
|
|
1520
|
+
), k && oe().module(g);
|
|
1521
1521
|
}
|
|
1522
1522
|
r.setModule = x;
|
|
1523
1523
|
function m() {
|
|
1524
1524
|
return C().module || "";
|
|
1525
1525
|
}
|
|
1526
1526
|
r.getModule = m;
|
|
1527
|
-
function b(
|
|
1528
|
-
return C().module ===
|
|
1527
|
+
function b(g) {
|
|
1528
|
+
return C().module === g;
|
|
1529
1529
|
}
|
|
1530
1530
|
r.isModule = b;
|
|
1531
|
-
function E(
|
|
1532
|
-
if (typeof
|
|
1533
|
-
const [I, B] = N.useState(!k), [L, ae] = N.useState(
|
|
1531
|
+
function E(g, k) {
|
|
1532
|
+
if (typeof g != "function") {
|
|
1533
|
+
const [I, B] = N.useState(!k), [L, ae] = N.useState(g || A());
|
|
1534
1534
|
return _e({ tabs: ae }), k && N.useEffect(() => {
|
|
1535
1535
|
B(!0);
|
|
1536
1536
|
}, []), [L, I];
|
|
1537
1537
|
} else
|
|
1538
|
-
_e({ tabs:
|
|
1538
|
+
_e({ tabs: g });
|
|
1539
1539
|
}
|
|
1540
1540
|
r.useTabs = E;
|
|
1541
|
-
async function D(
|
|
1542
|
-
ne({ tab:
|
|
1541
|
+
async function D(g, k = !0) {
|
|
1542
|
+
ne({ tab: g }), sessionStorage.setItem(
|
|
1543
1543
|
C().STORAGE,
|
|
1544
1544
|
se.enCode(C())
|
|
1545
|
-
), k && (oe().tabs && oe().tabs(
|
|
1545
|
+
), k && (oe().tabs && oe().tabs(g));
|
|
1546
1546
|
}
|
|
1547
1547
|
r.setTabs = D;
|
|
1548
1548
|
function A() {
|
|
1549
1549
|
return C().tab;
|
|
1550
1550
|
}
|
|
1551
1551
|
r.getTabs = A;
|
|
1552
|
-
function Ee(
|
|
1553
|
-
return C().tab ===
|
|
1552
|
+
function Ee(g) {
|
|
1553
|
+
return C().tab === g;
|
|
1554
1554
|
}
|
|
1555
1555
|
r.isTabs = Ee;
|
|
1556
|
-
function ke(
|
|
1557
|
-
if (typeof
|
|
1558
|
-
const [k, I] = N.useState(
|
|
1556
|
+
function ke(g) {
|
|
1557
|
+
if (typeof g != "function") {
|
|
1558
|
+
const [k, I] = N.useState(g || be());
|
|
1559
1559
|
return _e({ id: (B) => {
|
|
1560
1560
|
I(B);
|
|
1561
1561
|
} }), k;
|
|
1562
1562
|
} else
|
|
1563
|
-
_e({ id:
|
|
1563
|
+
_e({ id: g });
|
|
1564
1564
|
}
|
|
1565
1565
|
r.useId = ke;
|
|
1566
|
-
function M(
|
|
1566
|
+
function M(g) {
|
|
1567
1567
|
}
|
|
1568
1568
|
r.subId = M;
|
|
1569
|
-
async function S(
|
|
1570
|
-
ne({ id:
|
|
1569
|
+
async function S(g, k = !0) {
|
|
1570
|
+
ne({ id: g }), sessionStorage.setItem(
|
|
1571
1571
|
C().STORAGE,
|
|
1572
1572
|
se.enCode(C())
|
|
1573
|
-
), k && oe().id(
|
|
1573
|
+
), k && oe().id(g);
|
|
1574
1574
|
}
|
|
1575
1575
|
r.setId = S;
|
|
1576
1576
|
function be() {
|
|
1577
1577
|
return C().id;
|
|
1578
1578
|
}
|
|
1579
1579
|
r.getId = be;
|
|
1580
|
-
function Se(
|
|
1581
|
-
return Number(C().id) ===
|
|
1580
|
+
function Se(g) {
|
|
1581
|
+
return Number(C().id) === g;
|
|
1582
1582
|
}
|
|
1583
1583
|
r.isId = Se;
|
|
1584
|
-
async function xe(
|
|
1584
|
+
async function xe(g) {
|
|
1585
1585
|
var k, I, B, L, ae, ie, T, $;
|
|
1586
|
-
const { page: F, module: K, tab: H, id: G } =
|
|
1586
|
+
const { page: F, module: K, tab: H, id: G } = g;
|
|
1587
1587
|
F !== void 0 && (re.page = F), K !== void 0 && (re.module = K), H !== void 0 && (re.tab = H), G !== void 0 && (re.id = G), ne({ ...re }), G !== void 0 && ((I = (k = oe()).id) == null || I.call(k, G)), H !== void 0 && ((L = (B = oe()).tabs) == null || L.call(B, H)), K !== void 0 && ((ie = (ae = oe()).module) == null || ie.call(ae, K)), F !== void 0 && (($ = (T = oe()).page) == null || $.call(T, F)), sessionStorage.setItem(
|
|
1588
1588
|
C().STORAGE,
|
|
1589
1589
|
se.enCode(C())
|
|
@@ -1600,11 +1600,11 @@ function ir() {
|
|
|
1600
1600
|
r.forEach((f, d) => {
|
|
1601
1601
|
f.key === i && r.splice(d, 1);
|
|
1602
1602
|
}), o(r);
|
|
1603
|
-
}, r.length === 0 ? /* @__PURE__ */
|
|
1603
|
+
}, r.length === 0 ? /* @__PURE__ */ u.jsx(u.Fragment, {}) : /* @__PURE__ */ u.jsx("div", { className: "notice", children: r.map((i) => i.item) });
|
|
1604
1604
|
}
|
|
1605
1605
|
function sr(r) {
|
|
1606
1606
|
let o = (/* @__PURE__ */ new Date()).getTime();
|
|
1607
|
-
r.key = o, tt.set({ item: /* @__PURE__ */
|
|
1607
|
+
r.key = o, tt.set({ item: /* @__PURE__ */ u.jsx(lr, { data: r }, o), key: o });
|
|
1608
1608
|
}
|
|
1609
1609
|
function lr(r) {
|
|
1610
1610
|
const o = r.data;
|
|
@@ -1614,28 +1614,28 @@ function lr(r) {
|
|
|
1614
1614
|
d(!0), tt.del(o.key);
|
|
1615
1615
|
}, 5e3);
|
|
1616
1616
|
}, [o.key]);
|
|
1617
|
-
let
|
|
1617
|
+
let h;
|
|
1618
1618
|
switch (o.type) {
|
|
1619
1619
|
case "error":
|
|
1620
|
-
|
|
1620
|
+
h = /* @__PURE__ */ u.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
|
|
1621
1621
|
break;
|
|
1622
1622
|
case "success":
|
|
1623
|
-
|
|
1623
|
+
h = /* @__PURE__ */ u.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
|
|
1624
1624
|
break;
|
|
1625
1625
|
case "warning":
|
|
1626
|
-
|
|
1626
|
+
h = /* @__PURE__ */ u.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
|
|
1627
1627
|
break;
|
|
1628
1628
|
default:
|
|
1629
|
-
|
|
1629
|
+
h = "icon fa fa-exclamation-circle";
|
|
1630
1630
|
break;
|
|
1631
1631
|
}
|
|
1632
|
-
return /* @__PURE__ */
|
|
1632
|
+
return /* @__PURE__ */ u.jsx(u.Fragment, { children: f ? /* @__PURE__ */ u.jsx(u.Fragment, {}) : /* @__PURE__ */ u.jsxs(
|
|
1633
1633
|
"div",
|
|
1634
1634
|
{
|
|
1635
1635
|
className: "item " + o.type + ` ${o.thema !== void 0 ? " thema" : ""}`,
|
|
1636
1636
|
"data-status": i,
|
|
1637
1637
|
children: [
|
|
1638
|
-
/* @__PURE__ */
|
|
1638
|
+
/* @__PURE__ */ u.jsx(
|
|
1639
1639
|
"svg",
|
|
1640
1640
|
{
|
|
1641
1641
|
type: "solid",
|
|
@@ -1645,10 +1645,10 @@ function lr(r) {
|
|
|
1645
1645
|
width: "24",
|
|
1646
1646
|
height: "24",
|
|
1647
1647
|
viewBox: "0 0 24 24",
|
|
1648
|
-
children:
|
|
1648
|
+
children: h
|
|
1649
1649
|
}
|
|
1650
1650
|
),
|
|
1651
|
-
/* @__PURE__ */
|
|
1651
|
+
/* @__PURE__ */ u.jsx("span", { className: "text", children: o.text })
|
|
1652
1652
|
]
|
|
1653
1653
|
}
|
|
1654
1654
|
) });
|
|
@@ -1664,20 +1664,20 @@ const Jt = ({ children: r, title: o, isOverlay: i = !0 }) => {
|
|
|
1664
1664
|
d(!0), setTimeout(() => {
|
|
1665
1665
|
qt.onClose();
|
|
1666
1666
|
}, 300);
|
|
1667
|
-
}, /* @__PURE__ */
|
|
1667
|
+
}, /* @__PURE__ */ u.jsx(
|
|
1668
1668
|
"div",
|
|
1669
1669
|
{
|
|
1670
1670
|
className: `footer-menu-overlay ${i ? "is-overlay" : ""} ${f ? "closing" : ""}`,
|
|
1671
1671
|
onClick: Ge,
|
|
1672
|
-
children: /* @__PURE__ */
|
|
1672
|
+
children: /* @__PURE__ */ u.jsxs(
|
|
1673
1673
|
"div",
|
|
1674
1674
|
{
|
|
1675
1675
|
className: `footer-menu-popup-book ${f ? "closing" : ""}`,
|
|
1676
|
-
onClick: (
|
|
1676
|
+
onClick: (h) => h.stopPropagation(),
|
|
1677
1677
|
children: [
|
|
1678
|
-
/* @__PURE__ */
|
|
1679
|
-
/* @__PURE__ */
|
|
1680
|
-
/* @__PURE__ */
|
|
1678
|
+
/* @__PURE__ */ u.jsxs("div", { className: "footer-menu-header", children: [
|
|
1679
|
+
/* @__PURE__ */ u.jsx("h3", { children: o }),
|
|
1680
|
+
/* @__PURE__ */ u.jsx(
|
|
1681
1681
|
"button",
|
|
1682
1682
|
{
|
|
1683
1683
|
className: "footer-menu-close-btn",
|
|
@@ -1692,9 +1692,9 @@ const Jt = ({ children: r, title: o, isOverlay: i = !0 }) => {
|
|
|
1692
1692
|
)
|
|
1693
1693
|
}
|
|
1694
1694
|
);
|
|
1695
|
-
},
|
|
1696
|
-
h:
|
|
1697
|
-
row:
|
|
1695
|
+
}, ur = "_h_rl5ga_1", cr = "_row_rl5ga_14", fr = "_column_rl5ga_17", Ft = {
|
|
1696
|
+
h: ur,
|
|
1697
|
+
row: cr,
|
|
1698
1698
|
column: fr
|
|
1699
1699
|
}, qt = [], Mt = (r, o) => r.findIndex((i) => (i == null ? void 0 : i.page) === o), Kt = ({
|
|
1700
1700
|
actions: r,
|
|
@@ -1702,7 +1702,7 @@ const Jt = ({ children: r, title: o, isOverlay: i = !0 }) => {
|
|
|
1702
1702
|
className: i,
|
|
1703
1703
|
toHide: f = !1,
|
|
1704
1704
|
page: d,
|
|
1705
|
-
onPageChange:
|
|
1705
|
+
onPageChange: h,
|
|
1706
1706
|
direction: w = "row"
|
|
1707
1707
|
}) => {
|
|
1708
1708
|
const [R, v] = N.useState(null), [x, m] = N.useState(
|
|
@@ -1727,20 +1727,20 @@ const Jt = ({ children: r, title: o, isOverlay: i = !0 }) => {
|
|
|
1727
1727
|
A.removeEventListener("focus", D, !0), A.removeEventListener("blur", E, !0);
|
|
1728
1728
|
});
|
|
1729
1729
|
};
|
|
1730
|
-
}, []), /* @__PURE__ */
|
|
1730
|
+
}, []), /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
1731
1731
|
R,
|
|
1732
|
-
/* @__PURE__ */
|
|
1732
|
+
/* @__PURE__ */ u.jsxs(
|
|
1733
1733
|
"footer",
|
|
1734
1734
|
{
|
|
1735
1735
|
className: `${Ft.h} ${Ft[w]} ${i} `,
|
|
1736
1736
|
children: [
|
|
1737
1737
|
o,
|
|
1738
|
-
r && r.map((b, E) => /* @__PURE__ */
|
|
1738
|
+
r && r.map((b, E) => /* @__PURE__ */ u.jsx(
|
|
1739
1739
|
"div",
|
|
1740
1740
|
{
|
|
1741
1741
|
"data-active": x === E ? "true" : "false",
|
|
1742
1742
|
onClick: () => {
|
|
1743
|
-
b.page && (m(E),
|
|
1743
|
+
b.page && (m(E), h == null || h(b.page)), b.callback && (b.callback(), m(E)), b.component && (x === E ? Ge() : (v(b.component), m(E)));
|
|
1744
1744
|
},
|
|
1745
1745
|
children: b.icon
|
|
1746
1746
|
},
|
|
@@ -1750,7 +1750,7 @@ const Jt = ({ children: r, title: o, isOverlay: i = !0 }) => {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
)
|
|
1752
1752
|
] });
|
|
1753
|
-
},
|
|
1753
|
+
}, ge = {
|
|
1754
1754
|
is: !1,
|
|
1755
1755
|
MainButton: {},
|
|
1756
1756
|
BackButton: {}
|
|
@@ -1801,8 +1801,8 @@ q.users = {
|
|
|
1801
1801
|
};
|
|
1802
1802
|
const dr = () => {
|
|
1803
1803
|
if (location.hostname === "localhost") {
|
|
1804
|
-
let [r, o] = le(!1), [i, f] = le(!1), [d,
|
|
1805
|
-
|
|
1804
|
+
let [r, o] = le(!1), [i, f] = le(!1), [d, h] = le("dark"), [w, R] = le(!1), [v, x] = le(!1);
|
|
1805
|
+
ge.is = !0, ge.MainButton.set = o, ge.BackButton.set = f, Ze(() => {
|
|
1806
1806
|
q[d]["--tg-theme-bg-color-alpha"] = q[d]["--tg-theme-bg-color"] + "b3", q[d]["--tg-theme-secondary-bg-color-alpha"] = q[d]["--tg-theme-secondary-bg-color"] + "d3";
|
|
1807
1807
|
for (let E in q[d])
|
|
1808
1808
|
document.documentElement.style.setProperty(
|
|
@@ -1817,13 +1817,13 @@ const dr = () => {
|
|
|
1817
1817
|
let m = (E) => {
|
|
1818
1818
|
for (let D in q[E])
|
|
1819
1819
|
document.documentElement.style.setProperty(D, q[E][D]);
|
|
1820
|
-
|
|
1820
|
+
h(E), R(!1);
|
|
1821
1821
|
}, b = () => {
|
|
1822
1822
|
R(!1), x(!0);
|
|
1823
1823
|
};
|
|
1824
|
-
return /* @__PURE__ */
|
|
1825
|
-
/* @__PURE__ */
|
|
1826
|
-
i === !1 ? /* @__PURE__ */
|
|
1824
|
+
return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
1825
|
+
/* @__PURE__ */ u.jsxs("header", { className: "debug", children: [
|
|
1826
|
+
i === !1 ? /* @__PURE__ */ u.jsx("div", { className: "b", children: "Отмена" }) : /* @__PURE__ */ u.jsx(
|
|
1827
1827
|
"div",
|
|
1828
1828
|
{
|
|
1829
1829
|
onClick: () => {
|
|
@@ -1834,10 +1834,10 @@ const dr = () => {
|
|
|
1834
1834
|
children: "Назад"
|
|
1835
1835
|
}
|
|
1836
1836
|
),
|
|
1837
|
-
/* @__PURE__ */
|
|
1837
|
+
/* @__PURE__ */ u.jsx("div", { className: "o", onClick: () => R(!w), children: "Меню" })
|
|
1838
1838
|
] }),
|
|
1839
|
-
/* @__PURE__ */
|
|
1840
|
-
r && /* @__PURE__ */
|
|
1839
|
+
/* @__PURE__ */ u.jsx(rt.Init, {}),
|
|
1840
|
+
r && /* @__PURE__ */ u.jsx("div", { className: "mb", children: /* @__PURE__ */ u.jsx(
|
|
1841
1841
|
"button",
|
|
1842
1842
|
{
|
|
1843
1843
|
onClick: () => {
|
|
@@ -1846,30 +1846,30 @@ const dr = () => {
|
|
|
1846
1846
|
children: r.text
|
|
1847
1847
|
}
|
|
1848
1848
|
) }),
|
|
1849
|
-
w ? /* @__PURE__ */
|
|
1850
|
-
/* @__PURE__ */
|
|
1851
|
-
/* @__PURE__ */
|
|
1852
|
-
/* @__PURE__ */
|
|
1849
|
+
w ? /* @__PURE__ */ u.jsxs("div", { className: "tm", children: [
|
|
1850
|
+
/* @__PURE__ */ u.jsxs("ul", { children: [
|
|
1851
|
+
/* @__PURE__ */ u.jsx("li", { children: /* @__PURE__ */ u.jsx("button", { onClick: b, children: "Authorization" }) }),
|
|
1852
|
+
/* @__PURE__ */ u.jsx("li", {})
|
|
1853
1853
|
] }),
|
|
1854
|
-
/* @__PURE__ */
|
|
1855
|
-
/* @__PURE__ */
|
|
1856
|
-
/* @__PURE__ */
|
|
1857
|
-
/* @__PURE__ */
|
|
1858
|
-
/* @__PURE__ */
|
|
1854
|
+
/* @__PURE__ */ u.jsxs("ul", { children: [
|
|
1855
|
+
/* @__PURE__ */ u.jsxs("li", { children: [
|
|
1856
|
+
/* @__PURE__ */ u.jsx("button", { children: "Thema" }),
|
|
1857
|
+
/* @__PURE__ */ u.jsxs("ol", { children: [
|
|
1858
|
+
/* @__PURE__ */ u.jsx("li", { children: /* @__PURE__ */ u.jsx(
|
|
1859
1859
|
"button",
|
|
1860
1860
|
{
|
|
1861
1861
|
onClick: () => m("dark"),
|
|
1862
1862
|
children: "Dark"
|
|
1863
1863
|
}
|
|
1864
1864
|
) }),
|
|
1865
|
-
/* @__PURE__ */
|
|
1865
|
+
/* @__PURE__ */ u.jsx("li", { children: /* @__PURE__ */ u.jsx(
|
|
1866
1866
|
"button",
|
|
1867
1867
|
{
|
|
1868
1868
|
onClick: () => m("light"),
|
|
1869
1869
|
children: "Light"
|
|
1870
1870
|
}
|
|
1871
1871
|
) }),
|
|
1872
|
-
/* @__PURE__ */
|
|
1872
|
+
/* @__PURE__ */ u.jsx("li", { children: /* @__PURE__ */ u.jsx(
|
|
1873
1873
|
"button",
|
|
1874
1874
|
{
|
|
1875
1875
|
onClick: () => m("users"),
|
|
@@ -1878,10 +1878,10 @@ const dr = () => {
|
|
|
1878
1878
|
) })
|
|
1879
1879
|
] })
|
|
1880
1880
|
] }),
|
|
1881
|
-
/* @__PURE__ */
|
|
1881
|
+
/* @__PURE__ */ u.jsx("li", { children: /* @__PURE__ */ u.jsx("button", { onClick: () => R(!w), children: "Closed" }) })
|
|
1882
1882
|
] })
|
|
1883
1883
|
] }) : "",
|
|
1884
|
-
v ? /* @__PURE__ */
|
|
1884
|
+
v ? /* @__PURE__ */ u.jsx(pr, { setAuthorization: x }) : ""
|
|
1885
1885
|
] });
|
|
1886
1886
|
} else
|
|
1887
1887
|
return Ze(() => {
|
|
@@ -1895,27 +1895,27 @@ const dr = () => {
|
|
|
1895
1895
|
"--tg-safe-area-inset-bottom",
|
|
1896
1896
|
"16px"
|
|
1897
1897
|
);
|
|
1898
|
-
}, []), /* @__PURE__ */
|
|
1898
|
+
}, []), /* @__PURE__ */ u.jsx(u.Fragment, { children: /* @__PURE__ */ u.jsx(rt.Init, {}) });
|
|
1899
1899
|
}, pr = ({ setAuthorization: r }) => {
|
|
1900
1900
|
let o = {}, i = () => {
|
|
1901
1901
|
localStorage.setItem("auth", o);
|
|
1902
1902
|
};
|
|
1903
|
-
return /* @__PURE__ */
|
|
1904
|
-
/* @__PURE__ */
|
|
1905
|
-
/* @__PURE__ */
|
|
1903
|
+
return /* @__PURE__ */ u.jsx("div", { className: "ta", children: /* @__PURE__ */ u.jsxs("div", { className: "--body", children: [
|
|
1904
|
+
/* @__PURE__ */ u.jsx("fieldset", {}),
|
|
1905
|
+
/* @__PURE__ */ u.jsx("div", { onClick: i, children: " Сохранить " })
|
|
1906
1906
|
] }) });
|
|
1907
|
-
}, vr = "
|
|
1907
|
+
}, vr = "_p_12hh1_1", mr = "_s_12hh1_17", Wt = {
|
|
1908
1908
|
p: vr,
|
|
1909
1909
|
s: mr
|
|
1910
|
-
},
|
|
1910
|
+
}, hr = ({ className: r, children: o, isScroll: i = !0 }) => /* @__PURE__ */ u.jsx(
|
|
1911
1911
|
"div",
|
|
1912
1912
|
{
|
|
1913
1913
|
className: [Wt.p, i && Wt.s, r].filter((f) => f !== void 0).join(" "),
|
|
1914
1914
|
children: o
|
|
1915
1915
|
}
|
|
1916
|
-
),
|
|
1917
|
-
l:
|
|
1918
|
-
}, br = ({ children: r, className: o }) => /* @__PURE__ */
|
|
1916
|
+
), gr = "_l_gfyud_1", yr = {
|
|
1917
|
+
l: gr
|
|
1918
|
+
}, br = ({ children: r, className: o }) => /* @__PURE__ */ u.jsx(
|
|
1919
1919
|
"div",
|
|
1920
1920
|
{
|
|
1921
1921
|
className: [yr.l, o].filter((i) => i !== void 0).join(" "),
|
|
@@ -1938,12 +1938,12 @@ var V;
|
|
|
1938
1938
|
var o;
|
|
1939
1939
|
return ((o = r.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
|
|
1940
1940
|
}, r.Notice = (o, i, f) => {
|
|
1941
|
-
var d,
|
|
1942
|
-
i !== void 0 ? (rt.Send({ type: o, text: i, thema: f }), (d = r.WebApp.HapticFeedback) == null || d.notificationOccurred(o)) : (rt.Send(o), (
|
|
1943
|
-
}, r.Header = dr, r.Footer = Kt, r.BottomSheet = Jt, r.toggleBottomSheet = Ge, r.SafeArea =
|
|
1941
|
+
var d, h;
|
|
1942
|
+
i !== void 0 ? (rt.Send({ type: o, text: i, thema: f }), (d = r.WebApp.HapticFeedback) == null || d.notificationOccurred(o)) : (rt.Send(o), (h = r.WebApp.HapticFeedback) == null || h.notificationOccurred(o.type));
|
|
1943
|
+
}, r.Header = dr, r.Footer = Kt, r.BottomSheet = Jt, r.toggleBottomSheet = Ge, r.SafeArea = hr, r.Loading = br, r.Modal = At, r.MainButton = {
|
|
1944
1944
|
callback: [],
|
|
1945
1945
|
set: (o) => {
|
|
1946
|
-
|
|
1946
|
+
ge.is ? ge.MainButton.set(o) : (r.WebApp.MainButton.callback.forEach((i) => {
|
|
1947
1947
|
r.WebApp.MainButton.offClick(i);
|
|
1948
1948
|
}), r.WebApp.MainButton.callback = [], typeof o == "boolean" ? r.WebApp.MainButton.isVisible = !1 : (r.WebApp.MainButton.text = o.text, o.color && (r.WebApp.MainButton.color = o.color), o.textColor && (r.WebApp.MainButton.textColor = o.textColor), r.WebApp.MainButton.isVisible = !0, r.WebApp.MainButton.isActive = o.isActive === void 0 ? !0 : o.isActive, r.WebApp.MainButton.callback.push(() => {
|
|
1949
1949
|
var i;
|
|
@@ -1953,7 +1953,7 @@ var V;
|
|
|
1953
1953
|
)));
|
|
1954
1954
|
}
|
|
1955
1955
|
}, r.BackButton = (o) => {
|
|
1956
|
-
|
|
1956
|
+
ge.is ? ge.BackButton.set(o) : (J.state.push(o), J.router(o));
|
|
1957
1957
|
};
|
|
1958
1958
|
})(V || (V = {}));
|
|
1959
1959
|
const Rr = Kt, Er = Jt, kr = V.BackButton, Sr = V.Notice, xr = V.SafeArea, Or = V.Loading, { Header: jr, toggleBottomSheet: wr, Modal: Cr, MainButton: Pr, WebApp: He, getUser: Ar } = V;
|