@elcrm/telegram 0.0.152 → 0.0.153
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +412 -406
- package/dist/index.umd.js +14 -14
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -14,13 +14,13 @@ var Ht;
|
|
|
14
14
|
function vr() {
|
|
15
15
|
if (Ht) return nt;
|
|
16
16
|
Ht = 1;
|
|
17
|
-
var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"),
|
|
18
|
-
function d(p, f,
|
|
19
|
-
var h, b = {},
|
|
20
|
-
|
|
21
|
-
for (h in f)
|
|
17
|
+
var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function d(p, f, m) {
|
|
19
|
+
var h, b = {}, _ = null, A = null;
|
|
20
|
+
m !== void 0 && (_ = "" + m), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
|
|
21
|
+
for (h in f) i.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
|
|
22
22
|
if (p && p.defaultProps) for (h in f = p.defaultProps, f) b[h] === void 0 && (b[h] = f[h]);
|
|
23
|
-
return { $$typeof: r, type: p, key:
|
|
23
|
+
return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: s.current };
|
|
24
24
|
}
|
|
25
25
|
return nt.Fragment = n, nt.jsx = d, nt.jsxs = d, nt;
|
|
26
26
|
}
|
|
@@ -37,11 +37,11 @@ var ot = {};
|
|
|
37
37
|
var Kt;
|
|
38
38
|
function hr() {
|
|
39
39
|
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.portal"),
|
|
40
|
+
var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), I = Symbol.iterator, ee = "@@iterator";
|
|
41
41
|
function Te(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var o =
|
|
44
|
+
var o = I && e[I] || e[ee];
|
|
45
45
|
return typeof o == "function" ? o : null;
|
|
46
46
|
}
|
|
47
47
|
var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -54,10 +54,10 @@ function hr() {
|
|
|
54
54
|
}
|
|
55
55
|
function Ae(e, o, a) {
|
|
56
56
|
{
|
|
57
|
-
var u = M.ReactDebugCurrentFrame,
|
|
58
|
-
|
|
59
|
-
var R = a.map(function(
|
|
60
|
-
return String(
|
|
57
|
+
var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
58
|
+
y !== "" && (o += "%s", a = a.concat([y]));
|
|
59
|
+
var R = a.map(function(g) {
|
|
60
|
+
return String(g);
|
|
61
61
|
});
|
|
62
62
|
R.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, R);
|
|
63
63
|
}
|
|
@@ -65,7 +65,7 @@ function hr() {
|
|
|
65
65
|
var je = !1, te = !1, V = !1, ke = !1, we = !1, $;
|
|
66
66
|
$ = Symbol.for("react.module.reference");
|
|
67
67
|
function vt(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || we || e === s || e === m || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
@@ -75,8 +75,8 @@ function hr() {
|
|
|
75
75
|
var u = e.displayName;
|
|
76
76
|
if (u)
|
|
77
77
|
return u;
|
|
78
|
-
var
|
|
79
|
-
return
|
|
78
|
+
var y = o.displayName || o.name || "";
|
|
79
|
+
return y !== "" ? a + "(" + y + ")" : a;
|
|
80
80
|
}
|
|
81
81
|
function $e(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
@@ -89,15 +89,15 @@ function hr() {
|
|
|
89
89
|
if (typeof e == "string")
|
|
90
90
|
return e;
|
|
91
91
|
switch (e) {
|
|
92
|
-
case
|
|
92
|
+
case i:
|
|
93
93
|
return "Fragment";
|
|
94
94
|
case n:
|
|
95
95
|
return "Portal";
|
|
96
96
|
case c:
|
|
97
97
|
return "Profiler";
|
|
98
|
-
case
|
|
98
|
+
case s:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case
|
|
100
|
+
case m:
|
|
101
101
|
return "Suspense";
|
|
102
102
|
case h:
|
|
103
103
|
return "SuspenseList";
|
|
@@ -115,10 +115,10 @@ function hr() {
|
|
|
115
115
|
case b:
|
|
116
116
|
var u = e.displayName || null;
|
|
117
117
|
return u !== null ? u : N(e.type) || "Memo";
|
|
118
|
-
case
|
|
119
|
-
var
|
|
118
|
+
case _: {
|
|
119
|
+
var y = e, R = y._payload, g = y._init;
|
|
120
120
|
try {
|
|
121
|
-
return N(
|
|
121
|
+
return N(g(R));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,11 +126,11 @@ function hr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var
|
|
129
|
+
var L = Object.assign, J = 0, Ne, Me, Be, Ie, Le, De, Ue;
|
|
130
130
|
function Fe() {
|
|
131
131
|
}
|
|
132
132
|
Fe.__reactDisabledLog = !0;
|
|
133
|
-
function
|
|
133
|
+
function mt() {
|
|
134
134
|
{
|
|
135
135
|
if (J === 0) {
|
|
136
136
|
Ne = console.log, Me = console.info, Be = console.warn, Ie = console.error, Le = console.group, De = console.groupCollapsed, Ue = console.groupEnd;
|
|
@@ -153,7 +153,7 @@ function hr() {
|
|
|
153
153
|
J++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function gt() {
|
|
157
157
|
{
|
|
158
158
|
if (J--, J === 0) {
|
|
159
159
|
var e = {
|
|
@@ -162,25 +162,25 @@ function hr() {
|
|
|
162
162
|
writable: !0
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
|
-
log:
|
|
165
|
+
log: L({}, e, {
|
|
166
166
|
value: Ne
|
|
167
167
|
}),
|
|
168
|
-
info:
|
|
168
|
+
info: L({}, e, {
|
|
169
169
|
value: Me
|
|
170
170
|
}),
|
|
171
|
-
warn:
|
|
171
|
+
warn: L({}, e, {
|
|
172
172
|
value: Be
|
|
173
173
|
}),
|
|
174
|
-
error:
|
|
174
|
+
error: L({}, e, {
|
|
175
175
|
value: Ie
|
|
176
176
|
}),
|
|
177
|
-
group:
|
|
177
|
+
group: L({}, e, {
|
|
178
178
|
value: Le
|
|
179
179
|
}),
|
|
180
|
-
groupCollapsed:
|
|
180
|
+
groupCollapsed: L({}, e, {
|
|
181
181
|
value: De
|
|
182
182
|
}),
|
|
183
|
-
groupEnd:
|
|
183
|
+
groupEnd: L({}, e, {
|
|
184
184
|
value: Ue
|
|
185
185
|
})
|
|
186
186
|
});
|
|
@@ -194,21 +194,21 @@ function hr() {
|
|
|
194
194
|
if (he === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
|
-
} catch (
|
|
198
|
-
var u =
|
|
197
|
+
} catch (y) {
|
|
198
|
+
var u = y.stack.trim().match(/\n( *(at )?)/);
|
|
199
199
|
he = u && u[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
202
|
` + he + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var me = !1, ne;
|
|
206
206
|
{
|
|
207
207
|
var bt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
208
|
ne = new bt();
|
|
209
209
|
}
|
|
210
210
|
function We(e, o) {
|
|
211
|
-
if (!e ||
|
|
211
|
+
if (!e || me)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
214
|
var a = ne.get(e);
|
|
@@ -216,34 +216,34 @@ function hr() {
|
|
|
216
216
|
return a;
|
|
217
217
|
}
|
|
218
218
|
var u;
|
|
219
|
-
|
|
220
|
-
var
|
|
219
|
+
me = !0;
|
|
220
|
+
var y = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var R;
|
|
223
|
-
R = ve.current, ve.current = null,
|
|
223
|
+
R = ve.current, ve.current = null, mt();
|
|
224
224
|
try {
|
|
225
225
|
if (o) {
|
|
226
|
-
var
|
|
226
|
+
var g = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
229
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(g.prototype, "props", {
|
|
230
230
|
set: function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
}
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
|
-
Reflect.construct(
|
|
235
|
+
Reflect.construct(g, []);
|
|
236
236
|
} catch (w) {
|
|
237
237
|
u = w;
|
|
238
238
|
}
|
|
239
|
-
Reflect.construct(e, [],
|
|
239
|
+
Reflect.construct(e, [], g);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
|
-
|
|
242
|
+
g.call();
|
|
243
243
|
} catch (w) {
|
|
244
244
|
u = w;
|
|
245
245
|
}
|
|
246
|
-
e.call(
|
|
246
|
+
e.call(g.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
@@ -273,10 +273,10 @@ function hr() {
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
me = !1, ve.current = R, gt(), Error.prepareStackTrace = y;
|
|
277
277
|
}
|
|
278
|
-
var Y = e ? e.displayName || e.name : "",
|
|
279
|
-
return typeof e == "function" && ne.set(e,
|
|
278
|
+
var Y = e ? e.displayName || e.name : "", D = Y ? re(Y) : "";
|
|
279
|
+
return typeof e == "function" && ne.set(e, D), D;
|
|
280
280
|
}
|
|
281
281
|
function yt(e, o, a) {
|
|
282
282
|
return We(e, !1);
|
|
@@ -293,7 +293,7 @@ function hr() {
|
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return re(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case
|
|
296
|
+
case m:
|
|
297
297
|
return re("Suspense");
|
|
298
298
|
case h:
|
|
299
299
|
return re("SuspenseList");
|
|
@@ -304,10 +304,10 @@ function hr() {
|
|
|
304
304
|
return yt(e.render);
|
|
305
305
|
case b:
|
|
306
306
|
return oe(e.type, o, a);
|
|
307
|
-
case
|
|
308
|
-
var u = e,
|
|
307
|
+
case _: {
|
|
308
|
+
var u = e, y = u._payload, R = u._init;
|
|
309
309
|
try {
|
|
310
|
-
return oe(R(
|
|
310
|
+
return oe(R(y), o, a);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
@@ -322,27 +322,27 @@ function hr() {
|
|
|
322
322
|
} else
|
|
323
323
|
Ye.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function Rt(e, o, a, u,
|
|
325
|
+
function Rt(e, o, a, u, y) {
|
|
326
326
|
{
|
|
327
327
|
var R = Function.call.bind(H);
|
|
328
|
-
for (var
|
|
329
|
-
if (R(e,
|
|
328
|
+
for (var g in e)
|
|
329
|
+
if (R(e, g)) {
|
|
330
330
|
var v = void 0;
|
|
331
331
|
try {
|
|
332
|
-
if (typeof e[
|
|
333
|
-
var k = Error((u || "React class") + ": " + a + " type `" +
|
|
332
|
+
if (typeof e[g] != "function") {
|
|
333
|
+
var k = Error((u || "React class") + ": " + a + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
334
|
throw k.name = "Invariant Violation", k;
|
|
335
335
|
}
|
|
336
|
-
v = e[
|
|
336
|
+
v = e[g](o, g, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
337
|
} catch (S) {
|
|
338
338
|
v = S;
|
|
339
339
|
}
|
|
340
|
-
v && !(v instanceof Error) && (ae(
|
|
340
|
+
v && !(v instanceof Error) && (ae(y), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a, g, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(y), x("Failed %s type: %s", a, v.message), ae(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
var St = Array.isArray;
|
|
345
|
-
function
|
|
345
|
+
function ge(e) {
|
|
346
346
|
return St(e);
|
|
347
347
|
}
|
|
348
348
|
function Et(e) {
|
|
@@ -412,7 +412,7 @@ function hr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var Ct = function(e, o, a, u,
|
|
415
|
+
var Ct = function(e, o, a, u, y, R, g) {
|
|
416
416
|
var v = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: r,
|
|
@@ -420,7 +420,7 @@ function hr() {
|
|
|
420
420
|
type: e,
|
|
421
421
|
key: o,
|
|
422
422
|
ref: a,
|
|
423
|
-
props:
|
|
423
|
+
props: g,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
425
|
_owner: R
|
|
426
426
|
};
|
|
@@ -438,25 +438,25 @@ function hr() {
|
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !1,
|
|
441
|
-
value:
|
|
441
|
+
value: y
|
|
442
442
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
443
443
|
};
|
|
444
|
-
function Tt(e, o, a, u,
|
|
444
|
+
function Tt(e, o, a, u, y) {
|
|
445
445
|
{
|
|
446
|
-
var R,
|
|
447
|
-
a !== void 0 && (Ve(a), v = "" + a), kt(o) && (Ve(o.key), v = "" + o.key), jt(o) && (k = o.ref, wt(o,
|
|
446
|
+
var R, g = {}, v = null, k = null;
|
|
447
|
+
a !== void 0 && (Ve(a), v = "" + a), kt(o) && (Ve(o.key), v = "" + o.key), jt(o) && (k = o.ref, wt(o, y));
|
|
448
448
|
for (R in o)
|
|
449
|
-
H.call(o, R) && !At.hasOwnProperty(R) && (
|
|
449
|
+
H.call(o, R) && !At.hasOwnProperty(R) && (g[R] = o[R]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var S = e.defaultProps;
|
|
452
452
|
for (R in S)
|
|
453
|
-
|
|
453
|
+
g[R] === void 0 && (g[R] = S[R]);
|
|
454
454
|
}
|
|
455
455
|
if (v || k) {
|
|
456
456
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
v && Ot(
|
|
457
|
+
v && Ot(g, E), k && Pt(g, E);
|
|
458
458
|
}
|
|
459
|
-
return Ct(e, v, k,
|
|
459
|
+
return Ct(e, v, k, y, u, Je.current, g);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
|
|
@@ -517,7 +517,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
|
-
if (
|
|
520
|
+
if (ge(e))
|
|
521
521
|
for (var a = 0; a < e.length; a++) {
|
|
522
522
|
var u = e[a];
|
|
523
523
|
_e(u) && Qe(u, o);
|
|
@@ -525,10 +525,10 @@ Check the top-level render call using <` + a + ">.");
|
|
|
525
525
|
else if (_e(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var
|
|
529
|
-
if (typeof
|
|
530
|
-
for (var R =
|
|
531
|
-
_e(
|
|
528
|
+
var y = Te(e);
|
|
529
|
+
if (typeof y == "function" && y !== e.entries)
|
|
530
|
+
for (var R = y.call(e), g; !(g = R.next()).done; )
|
|
531
|
+
_e(g.value) && Qe(g.value, o);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
@@ -551,8 +551,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
551
551
|
Rt(a, e.props, "prop", u, e);
|
|
552
552
|
} else if (o.PropTypes !== void 0 && !ye) {
|
|
553
553
|
ye = !0;
|
|
554
|
-
var
|
|
555
|
-
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
554
|
+
var y = N(o);
|
|
555
|
+
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
556
556
|
}
|
|
557
557
|
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
@@ -570,25 +570,25 @@ Check the top-level render call using <` + a + ">.");
|
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
var tt = {};
|
|
573
|
-
function rt(e, o, a, u,
|
|
573
|
+
function rt(e, o, a, u, y, R) {
|
|
574
574
|
{
|
|
575
|
-
var
|
|
576
|
-
if (!
|
|
575
|
+
var g = vt(e);
|
|
576
|
+
if (!g) {
|
|
577
577
|
var v = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " 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
579
|
var k = $t();
|
|
580
580
|
k ? v += k : v += Xe();
|
|
581
581
|
var S;
|
|
582
|
-
e === null ? S = "null" :
|
|
582
|
+
e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
|
|
583
583
|
}
|
|
584
|
-
var E = Tt(e, o, a,
|
|
584
|
+
var E = Tt(e, o, a, y, R);
|
|
585
585
|
if (E == null)
|
|
586
586
|
return E;
|
|
587
|
-
if (
|
|
587
|
+
if (g) {
|
|
588
588
|
var P = o.children;
|
|
589
589
|
if (P !== void 0)
|
|
590
590
|
if (u)
|
|
591
|
-
if (
|
|
591
|
+
if (ge(P)) {
|
|
592
592
|
for (var Y = 0; Y < P.length; Y++)
|
|
593
593
|
et(P[Y], e);
|
|
594
594
|
Object.freeze && Object.freeze(P);
|
|
@@ -598,20 +598,20 @@ Check the top-level render call using <` + a + ">.");
|
|
|
598
598
|
et(P, e);
|
|
599
599
|
}
|
|
600
600
|
if (H.call(o, "key")) {
|
|
601
|
-
var
|
|
601
|
+
var D = N(e), w = Object.keys(o).filter(function(Wt) {
|
|
602
602
|
return Wt !== "key";
|
|
603
603
|
}), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
-
if (!tt[
|
|
604
|
+
if (!tt[D + Re]) {
|
|
605
605
|
var Ft = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
|
|
606
606
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`, Re,
|
|
611
|
+
<%s key={someKey} {...props} />`, Re, D, Ft, D), tt[D + Re] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e ===
|
|
614
|
+
return e === i ? Bt(E) : Mt(E), E;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
function It(e, o, a) {
|
|
@@ -621,14 +621,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
621
621
|
return rt(e, o, a, !1);
|
|
622
622
|
}
|
|
623
623
|
var Dt = Lt, Ut = It;
|
|
624
|
-
ot.Fragment =
|
|
624
|
+
ot.Fragment = i, ot.jsx = Dt, ot.jsxs = Ut;
|
|
625
625
|
}()), ot;
|
|
626
626
|
}
|
|
627
627
|
process.env.NODE_ENV === "production" ? qt.exports = vr() : qt.exports = hr();
|
|
628
628
|
var l = qt.exports;
|
|
629
|
-
const
|
|
630
|
-
o:
|
|
631
|
-
x:
|
|
629
|
+
const mr = "_o_1apbm_11", gr = "_x_1apbm_24", br = "_p_1apbm_28", yr = "_m_1apbm_45", Oe = {
|
|
630
|
+
o: mr,
|
|
631
|
+
x: gr,
|
|
632
632
|
p: br,
|
|
633
633
|
m: yr
|
|
634
634
|
};
|
|
@@ -638,18 +638,18 @@ var Yt;
|
|
|
638
638
|
function r({
|
|
639
639
|
children: p,
|
|
640
640
|
onCallbackModal: f,
|
|
641
|
-
nameModal:
|
|
641
|
+
nameModal: m,
|
|
642
642
|
offsetTop: h
|
|
643
643
|
}) {
|
|
644
|
-
const [b,
|
|
645
|
-
if (z[
|
|
646
|
-
O.BackButton(!1),
|
|
647
|
-
|
|
644
|
+
const [b, _] = T(!1), [A, I] = T(!1);
|
|
645
|
+
if (z[m].onClose = () => {
|
|
646
|
+
O.BackButton(!1), I(!0), setTimeout(() => {
|
|
647
|
+
_(!1), I(!1), f == null || f(), z.x(m);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, W(() => {
|
|
650
|
-
b ? z[
|
|
651
|
-
callback: () => z[
|
|
652
|
-
}),
|
|
650
|
+
b ? z[m].onClose() : (O.BackButton({
|
|
651
|
+
callback: () => z[m].onClose()
|
|
652
|
+
}), _(!0));
|
|
653
653
|
}, []), !!b)
|
|
654
654
|
return /* @__PURE__ */ l.jsx("div", { className: G(Oe.o, A && Oe.x), children: /* @__PURE__ */ l.jsx(
|
|
655
655
|
"div",
|
|
@@ -667,24 +667,24 @@ var Yt;
|
|
|
667
667
|
function n({
|
|
668
668
|
import_modules: p
|
|
669
669
|
}) {
|
|
670
|
-
let [f,
|
|
670
|
+
let [f, m] = T([]);
|
|
671
671
|
return z.x = (h) => {
|
|
672
|
-
|
|
672
|
+
m(h ? f.filter((b) => b.key !== h) : []);
|
|
673
673
|
}, W(() => {
|
|
674
674
|
p && (z.i = p);
|
|
675
675
|
}, []), z.add = (h, b = Date.now()) => {
|
|
676
|
-
|
|
676
|
+
m([...f, { key: b, item: h }]);
|
|
677
677
|
}, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((h) => h.item) });
|
|
678
678
|
}
|
|
679
679
|
t.Init = n;
|
|
680
|
-
function
|
|
680
|
+
function i(p, f, m) {
|
|
681
681
|
z.add(
|
|
682
682
|
/* @__PURE__ */ l.jsx(
|
|
683
683
|
r,
|
|
684
684
|
{
|
|
685
685
|
onCallbackModal: z["callback_modal" + f],
|
|
686
686
|
nameModal: f || "",
|
|
687
|
-
offsetTop:
|
|
687
|
+
offsetTop: m,
|
|
688
688
|
children: p
|
|
689
689
|
},
|
|
690
690
|
String(Date.now())
|
|
@@ -692,38 +692,38 @@ var Yt;
|
|
|
692
692
|
f
|
|
693
693
|
);
|
|
694
694
|
}
|
|
695
|
-
t.Add =
|
|
696
|
-
function
|
|
695
|
+
t.Add = i;
|
|
696
|
+
function s(p, f = Date.now().toString(), m) {
|
|
697
697
|
return z[f] = {}, {
|
|
698
|
-
Open: (
|
|
698
|
+
Open: (_) => {
|
|
699
699
|
t.Add(
|
|
700
700
|
/* @__PURE__ */ l.jsx(
|
|
701
701
|
p,
|
|
702
702
|
{
|
|
703
|
-
...
|
|
703
|
+
..._,
|
|
704
704
|
onCallbackModal: (A) => {
|
|
705
|
-
var
|
|
706
|
-
(
|
|
705
|
+
var I;
|
|
706
|
+
(I = _.callback) == null || I.call(_, A);
|
|
707
707
|
},
|
|
708
708
|
nameModal: f
|
|
709
709
|
},
|
|
710
710
|
(/* @__PURE__ */ new Date()).getTime()
|
|
711
711
|
),
|
|
712
712
|
f,
|
|
713
|
-
|
|
713
|
+
m === void 0 ? !0 : m
|
|
714
714
|
);
|
|
715
715
|
}
|
|
716
716
|
};
|
|
717
717
|
}
|
|
718
|
-
t.Create =
|
|
718
|
+
t.Create = s;
|
|
719
719
|
function c(p) {
|
|
720
720
|
z[p].onClose();
|
|
721
721
|
}
|
|
722
722
|
t.Close = c;
|
|
723
|
-
function d(p, f,
|
|
724
|
-
z.i && (h && (
|
|
725
|
-
var
|
|
726
|
-
b.Open ? b.Open(
|
|
723
|
+
function d(p, f, m, h) {
|
|
724
|
+
z.i && (h && (m.callback = h), z.i(`${p}/modals/${f}.tsx`).then((b) => {
|
|
725
|
+
var _;
|
|
726
|
+
b.Open ? b.Open(m) : (_ = b.default) != null && _.Open ? b.default.Open(m) : b.default && b.default(m);
|
|
727
727
|
}));
|
|
728
728
|
}
|
|
729
729
|
t.Open = d;
|
|
@@ -745,52 +745,52 @@ function ft() {
|
|
|
745
745
|
}
|
|
746
746
|
const dt = (t) => {
|
|
747
747
|
let r = 0;
|
|
748
|
-
for (let
|
|
749
|
-
const
|
|
750
|
-
r = (r << 5) - r +
|
|
748
|
+
for (let i = 0; i < t.length; i++) {
|
|
749
|
+
const s = t.charCodeAt(i);
|
|
750
|
+
r = (r << 5) - r + s, r = r & r;
|
|
751
751
|
}
|
|
752
752
|
r = Math.abs(r);
|
|
753
753
|
let n = "";
|
|
754
|
-
for (let
|
|
755
|
-
const
|
|
756
|
-
n +=
|
|
754
|
+
for (let i = 0; i < 64; i++) {
|
|
755
|
+
const s = (r ^ i * 197) & 255;
|
|
756
|
+
n += s.toString(16).padStart(2, "0");
|
|
757
757
|
}
|
|
758
758
|
return n;
|
|
759
759
|
}, sr = (t, r) => {
|
|
760
760
|
let n = t + r;
|
|
761
|
-
for (let
|
|
761
|
+
for (let s = 0; s < ft().iterations; s++)
|
|
762
762
|
n = dt(n);
|
|
763
|
-
const
|
|
764
|
-
for (let
|
|
765
|
-
s
|
|
766
|
-
return
|
|
763
|
+
const i = new Uint8Array(32);
|
|
764
|
+
for (let s = 0; s < 32; s++)
|
|
765
|
+
i[s] = parseInt(n.substring(s * 2, s * 2 + 2), 16);
|
|
766
|
+
return i;
|
|
767
767
|
}, ir = (t, r) => {
|
|
768
|
-
const n = new Uint8Array(t.length),
|
|
769
|
-
let
|
|
768
|
+
const n = new Uint8Array(t.length), i = new Uint8Array(t.length);
|
|
769
|
+
let s = 0;
|
|
770
770
|
for (let c = 0; c < t.length; c++) {
|
|
771
771
|
const d = c % r.length;
|
|
772
|
-
|
|
772
|
+
s = r[d] + c + s & 255, i[c] = s;
|
|
773
773
|
}
|
|
774
774
|
for (let c = 0; c < t.length; c++)
|
|
775
|
-
n[c] = t[c] ^
|
|
775
|
+
n[c] = t[c] ^ i[c];
|
|
776
776
|
return n;
|
|
777
777
|
}, _r = (t) => new TextEncoder().encode(t), Rr = (t) => new TextDecoder().decode(t), Sr = (t) => {
|
|
778
778
|
let r = "";
|
|
779
779
|
for (let n = 0; n < t.length; n += 8192) {
|
|
780
|
-
const
|
|
781
|
-
r += String.fromCharCode.apply(null, Array.from(
|
|
780
|
+
const i = t.slice(n, Math.min(n + 8192, t.length));
|
|
781
|
+
r += String.fromCharCode.apply(null, Array.from(i));
|
|
782
782
|
}
|
|
783
783
|
return btoa(r);
|
|
784
784
|
}, Er = (t) => {
|
|
785
785
|
const r = atob(t), n = new Uint8Array(r.length);
|
|
786
|
-
for (let
|
|
787
|
-
n[
|
|
786
|
+
for (let i = 0; i < r.length; i++)
|
|
787
|
+
n[i] = r.charCodeAt(i);
|
|
788
788
|
return n;
|
|
789
789
|
}, xr = (t) => {
|
|
790
790
|
try {
|
|
791
791
|
const r = dt(
|
|
792
792
|
Date.now().toString() + Math.random()
|
|
793
|
-
).substring(0, ft().saltLength * 2), n = dt(t + r).substring(0, 8),
|
|
793
|
+
).substring(0, ft().saltLength * 2), n = dt(t + r).substring(0, 8), i = sr(ft().key, r), s = _r(t), c = ir(s, i), d = Sr(c);
|
|
794
794
|
return `${r}.${d}.${n}`;
|
|
795
795
|
} catch {
|
|
796
796
|
throw new Error("Не удалось зашифровать данные");
|
|
@@ -800,11 +800,11 @@ const dt = (t) => {
|
|
|
800
800
|
const r = t.split(".");
|
|
801
801
|
if (r.length !== 3)
|
|
802
802
|
throw new Error("Неверный формат зашифрованных данных");
|
|
803
|
-
const n = r[0],
|
|
803
|
+
const n = r[0], i = r[1], s = r[2], c = sr(ft().key, n), d = Er(i), p = ir(d, c), f = Rr(p);
|
|
804
804
|
if (dt(f + n).substring(
|
|
805
805
|
0,
|
|
806
806
|
8
|
|
807
|
-
) !==
|
|
807
|
+
) !== s)
|
|
808
808
|
throw new Error("Контрольная сумма не совпадает");
|
|
809
809
|
return f;
|
|
810
810
|
} catch {
|
|
@@ -849,13 +849,13 @@ var Xt;
|
|
|
849
849
|
function jr() {
|
|
850
850
|
if (Xt) return at;
|
|
851
851
|
Xt = 1;
|
|
852
|
-
var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"),
|
|
853
|
-
function d(p, f,
|
|
854
|
-
var h, b = {},
|
|
855
|
-
|
|
856
|
-
for (h in f)
|
|
852
|
+
var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
853
|
+
function d(p, f, m) {
|
|
854
|
+
var h, b = {}, _ = null, A = null;
|
|
855
|
+
m !== void 0 && (_ = "" + m), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
|
|
856
|
+
for (h in f) i.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
|
|
857
857
|
if (p && p.defaultProps) for (h in f = p.defaultProps, f) b[h] === void 0 && (b[h] = f[h]);
|
|
858
|
-
return { $$typeof: r, type: p, key:
|
|
858
|
+
return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: s.current };
|
|
859
859
|
}
|
|
860
860
|
return at.Fragment = n, at.jsx = d, at.jsxs = d, at;
|
|
861
861
|
}
|
|
@@ -872,11 +872,11 @@ var st = {};
|
|
|
872
872
|
var Zt;
|
|
873
873
|
function kr() {
|
|
874
874
|
return Zt || (Zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
|
-
var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.portal"),
|
|
875
|
+
var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), I = Symbol.iterator, ee = "@@iterator";
|
|
876
876
|
function Te(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
879
|
-
var o =
|
|
879
|
+
var o = I && e[I] || e[ee];
|
|
880
880
|
return typeof o == "function" ? o : null;
|
|
881
881
|
}
|
|
882
882
|
var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -889,10 +889,10 @@ function kr() {
|
|
|
889
889
|
}
|
|
890
890
|
function Ae(e, o, a) {
|
|
891
891
|
{
|
|
892
|
-
var u = M.ReactDebugCurrentFrame,
|
|
893
|
-
|
|
894
|
-
var R = a.map(function(
|
|
895
|
-
return String(
|
|
892
|
+
var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
893
|
+
y !== "" && (o += "%s", a = a.concat([y]));
|
|
894
|
+
var R = a.map(function(g) {
|
|
895
|
+
return String(g);
|
|
896
896
|
});
|
|
897
897
|
R.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, R);
|
|
898
898
|
}
|
|
@@ -900,7 +900,7 @@ function kr() {
|
|
|
900
900
|
var je = !1, te = !1, V = !1, ke = !1, we = !1, $;
|
|
901
901
|
$ = Symbol.for("react.module.reference");
|
|
902
902
|
function vt(e) {
|
|
903
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || we || e === s || e === m || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
|
|
904
904
|
// types supported by any Flight configuration anywhere since
|
|
905
905
|
// we don't know which Flight build this will end up being used
|
|
906
906
|
// with.
|
|
@@ -910,8 +910,8 @@ function kr() {
|
|
|
910
910
|
var u = e.displayName;
|
|
911
911
|
if (u)
|
|
912
912
|
return u;
|
|
913
|
-
var
|
|
914
|
-
return
|
|
913
|
+
var y = o.displayName || o.name || "";
|
|
914
|
+
return y !== "" ? a + "(" + y + ")" : a;
|
|
915
915
|
}
|
|
916
916
|
function $e(e) {
|
|
917
917
|
return e.displayName || "Context";
|
|
@@ -924,15 +924,15 @@ function kr() {
|
|
|
924
924
|
if (typeof e == "string")
|
|
925
925
|
return e;
|
|
926
926
|
switch (e) {
|
|
927
|
-
case
|
|
927
|
+
case i:
|
|
928
928
|
return "Fragment";
|
|
929
929
|
case n:
|
|
930
930
|
return "Portal";
|
|
931
931
|
case c:
|
|
932
932
|
return "Profiler";
|
|
933
|
-
case
|
|
933
|
+
case s:
|
|
934
934
|
return "StrictMode";
|
|
935
|
-
case
|
|
935
|
+
case m:
|
|
936
936
|
return "Suspense";
|
|
937
937
|
case h:
|
|
938
938
|
return "SuspenseList";
|
|
@@ -950,10 +950,10 @@ function kr() {
|
|
|
950
950
|
case b:
|
|
951
951
|
var u = e.displayName || null;
|
|
952
952
|
return u !== null ? u : N(e.type) || "Memo";
|
|
953
|
-
case
|
|
954
|
-
var
|
|
953
|
+
case _: {
|
|
954
|
+
var y = e, R = y._payload, g = y._init;
|
|
955
955
|
try {
|
|
956
|
-
return N(
|
|
956
|
+
return N(g(R));
|
|
957
957
|
} catch {
|
|
958
958
|
return null;
|
|
959
959
|
}
|
|
@@ -961,11 +961,11 @@ function kr() {
|
|
|
961
961
|
}
|
|
962
962
|
return null;
|
|
963
963
|
}
|
|
964
|
-
var
|
|
964
|
+
var L = Object.assign, J = 0, Ne, Me, Be, Ie, Le, De, Ue;
|
|
965
965
|
function Fe() {
|
|
966
966
|
}
|
|
967
967
|
Fe.__reactDisabledLog = !0;
|
|
968
|
-
function
|
|
968
|
+
function mt() {
|
|
969
969
|
{
|
|
970
970
|
if (J === 0) {
|
|
971
971
|
Ne = console.log, Me = console.info, Be = console.warn, Ie = console.error, Le = console.group, De = console.groupCollapsed, Ue = console.groupEnd;
|
|
@@ -988,7 +988,7 @@ function kr() {
|
|
|
988
988
|
J++;
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
|
-
function
|
|
991
|
+
function gt() {
|
|
992
992
|
{
|
|
993
993
|
if (J--, J === 0) {
|
|
994
994
|
var e = {
|
|
@@ -997,25 +997,25 @@ function kr() {
|
|
|
997
997
|
writable: !0
|
|
998
998
|
};
|
|
999
999
|
Object.defineProperties(console, {
|
|
1000
|
-
log:
|
|
1000
|
+
log: L({}, e, {
|
|
1001
1001
|
value: Ne
|
|
1002
1002
|
}),
|
|
1003
|
-
info:
|
|
1003
|
+
info: L({}, e, {
|
|
1004
1004
|
value: Me
|
|
1005
1005
|
}),
|
|
1006
|
-
warn:
|
|
1006
|
+
warn: L({}, e, {
|
|
1007
1007
|
value: Be
|
|
1008
1008
|
}),
|
|
1009
|
-
error:
|
|
1009
|
+
error: L({}, e, {
|
|
1010
1010
|
value: Ie
|
|
1011
1011
|
}),
|
|
1012
|
-
group:
|
|
1012
|
+
group: L({}, e, {
|
|
1013
1013
|
value: Le
|
|
1014
1014
|
}),
|
|
1015
|
-
groupCollapsed:
|
|
1015
|
+
groupCollapsed: L({}, e, {
|
|
1016
1016
|
value: De
|
|
1017
1017
|
}),
|
|
1018
|
-
groupEnd:
|
|
1018
|
+
groupEnd: L({}, e, {
|
|
1019
1019
|
value: Ue
|
|
1020
1020
|
})
|
|
1021
1021
|
});
|
|
@@ -1029,21 +1029,21 @@ function kr() {
|
|
|
1029
1029
|
if (he === void 0)
|
|
1030
1030
|
try {
|
|
1031
1031
|
throw Error();
|
|
1032
|
-
} catch (
|
|
1033
|
-
var u =
|
|
1032
|
+
} catch (y) {
|
|
1033
|
+
var u = y.stack.trim().match(/\n( *(at )?)/);
|
|
1034
1034
|
he = u && u[1] || "";
|
|
1035
1035
|
}
|
|
1036
1036
|
return `
|
|
1037
1037
|
` + he + e;
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
|
-
var
|
|
1040
|
+
var me = !1, ne;
|
|
1041
1041
|
{
|
|
1042
1042
|
var bt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1043
1043
|
ne = new bt();
|
|
1044
1044
|
}
|
|
1045
1045
|
function We(e, o) {
|
|
1046
|
-
if (!e ||
|
|
1046
|
+
if (!e || me)
|
|
1047
1047
|
return "";
|
|
1048
1048
|
{
|
|
1049
1049
|
var a = ne.get(e);
|
|
@@ -1051,34 +1051,34 @@ function kr() {
|
|
|
1051
1051
|
return a;
|
|
1052
1052
|
}
|
|
1053
1053
|
var u;
|
|
1054
|
-
|
|
1055
|
-
var
|
|
1054
|
+
me = !0;
|
|
1055
|
+
var y = Error.prepareStackTrace;
|
|
1056
1056
|
Error.prepareStackTrace = void 0;
|
|
1057
1057
|
var R;
|
|
1058
|
-
R = ve.current, ve.current = null,
|
|
1058
|
+
R = ve.current, ve.current = null, mt();
|
|
1059
1059
|
try {
|
|
1060
1060
|
if (o) {
|
|
1061
|
-
var
|
|
1061
|
+
var g = function() {
|
|
1062
1062
|
throw Error();
|
|
1063
1063
|
};
|
|
1064
|
-
if (Object.defineProperty(
|
|
1064
|
+
if (Object.defineProperty(g.prototype, "props", {
|
|
1065
1065
|
set: function() {
|
|
1066
1066
|
throw Error();
|
|
1067
1067
|
}
|
|
1068
1068
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1069
1069
|
try {
|
|
1070
|
-
Reflect.construct(
|
|
1070
|
+
Reflect.construct(g, []);
|
|
1071
1071
|
} catch (w) {
|
|
1072
1072
|
u = w;
|
|
1073
1073
|
}
|
|
1074
|
-
Reflect.construct(e, [],
|
|
1074
|
+
Reflect.construct(e, [], g);
|
|
1075
1075
|
} else {
|
|
1076
1076
|
try {
|
|
1077
|
-
|
|
1077
|
+
g.call();
|
|
1078
1078
|
} catch (w) {
|
|
1079
1079
|
u = w;
|
|
1080
1080
|
}
|
|
1081
|
-
e.call(
|
|
1081
|
+
e.call(g.prototype);
|
|
1082
1082
|
}
|
|
1083
1083
|
} else {
|
|
1084
1084
|
try {
|
|
@@ -1108,10 +1108,10 @@ function kr() {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
} finally {
|
|
1111
|
-
|
|
1111
|
+
me = !1, ve.current = R, gt(), Error.prepareStackTrace = y;
|
|
1112
1112
|
}
|
|
1113
|
-
var Y = e ? e.displayName || e.name : "",
|
|
1114
|
-
return typeof e == "function" && ne.set(e,
|
|
1113
|
+
var Y = e ? e.displayName || e.name : "", D = Y ? re(Y) : "";
|
|
1114
|
+
return typeof e == "function" && ne.set(e, D), D;
|
|
1115
1115
|
}
|
|
1116
1116
|
function yt(e, o, a) {
|
|
1117
1117
|
return We(e, !1);
|
|
@@ -1128,7 +1128,7 @@ function kr() {
|
|
|
1128
1128
|
if (typeof e == "string")
|
|
1129
1129
|
return re(e);
|
|
1130
1130
|
switch (e) {
|
|
1131
|
-
case
|
|
1131
|
+
case m:
|
|
1132
1132
|
return re("Suspense");
|
|
1133
1133
|
case h:
|
|
1134
1134
|
return re("SuspenseList");
|
|
@@ -1139,10 +1139,10 @@ function kr() {
|
|
|
1139
1139
|
return yt(e.render);
|
|
1140
1140
|
case b:
|
|
1141
1141
|
return oe(e.type, o, a);
|
|
1142
|
-
case
|
|
1143
|
-
var u = e,
|
|
1142
|
+
case _: {
|
|
1143
|
+
var u = e, y = u._payload, R = u._init;
|
|
1144
1144
|
try {
|
|
1145
|
-
return oe(R(
|
|
1145
|
+
return oe(R(y), o, a);
|
|
1146
1146
|
} catch {
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
@@ -1157,27 +1157,27 @@ function kr() {
|
|
|
1157
1157
|
} else
|
|
1158
1158
|
Ye.setExtraStackFrame(null);
|
|
1159
1159
|
}
|
|
1160
|
-
function Rt(e, o, a, u,
|
|
1160
|
+
function Rt(e, o, a, u, y) {
|
|
1161
1161
|
{
|
|
1162
1162
|
var R = Function.call.bind(H);
|
|
1163
|
-
for (var
|
|
1164
|
-
if (R(e,
|
|
1163
|
+
for (var g in e)
|
|
1164
|
+
if (R(e, g)) {
|
|
1165
1165
|
var v = void 0;
|
|
1166
1166
|
try {
|
|
1167
|
-
if (typeof e[
|
|
1168
|
-
var k = Error((u || "React class") + ": " + a + " type `" +
|
|
1167
|
+
if (typeof e[g] != "function") {
|
|
1168
|
+
var k = Error((u || "React class") + ": " + a + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1169
1169
|
throw k.name = "Invariant Violation", k;
|
|
1170
1170
|
}
|
|
1171
|
-
v = e[
|
|
1171
|
+
v = e[g](o, g, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1172
1172
|
} catch (S) {
|
|
1173
1173
|
v = S;
|
|
1174
1174
|
}
|
|
1175
|
-
v && !(v instanceof Error) && (ae(
|
|
1175
|
+
v && !(v instanceof Error) && (ae(y), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a, g, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(y), x("Failed %s type: %s", a, v.message), ae(null));
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
1179
1179
|
var St = Array.isArray;
|
|
1180
|
-
function
|
|
1180
|
+
function ge(e) {
|
|
1181
1181
|
return St(e);
|
|
1182
1182
|
}
|
|
1183
1183
|
function Et(e) {
|
|
@@ -1247,7 +1247,7 @@ function kr() {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
var Ct = function(e, o, a, u,
|
|
1250
|
+
var Ct = function(e, o, a, u, y, R, g) {
|
|
1251
1251
|
var v = {
|
|
1252
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1253
1253
|
$$typeof: r,
|
|
@@ -1255,7 +1255,7 @@ function kr() {
|
|
|
1255
1255
|
type: e,
|
|
1256
1256
|
key: o,
|
|
1257
1257
|
ref: a,
|
|
1258
|
-
props:
|
|
1258
|
+
props: g,
|
|
1259
1259
|
// Record the component responsible for creating this element.
|
|
1260
1260
|
_owner: R
|
|
1261
1261
|
};
|
|
@@ -1273,25 +1273,25 @@ function kr() {
|
|
|
1273
1273
|
configurable: !1,
|
|
1274
1274
|
enumerable: !1,
|
|
1275
1275
|
writable: !1,
|
|
1276
|
-
value:
|
|
1276
|
+
value: y
|
|
1277
1277
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
1278
1278
|
};
|
|
1279
|
-
function Tt(e, o, a, u,
|
|
1279
|
+
function Tt(e, o, a, u, y) {
|
|
1280
1280
|
{
|
|
1281
|
-
var R,
|
|
1281
|
+
var R, g = {}, v = null, k = null;
|
|
1282
1282
|
a !== void 0 && (Ve(a), v = "" + a), kt(o) && (Ve(o.key), v = "" + o.key), jt(o) && (k = o.ref, wt(o));
|
|
1283
1283
|
for (R in o)
|
|
1284
|
-
H.call(o, R) && !At.hasOwnProperty(R) && (
|
|
1284
|
+
H.call(o, R) && !At.hasOwnProperty(R) && (g[R] = o[R]);
|
|
1285
1285
|
if (e && e.defaultProps) {
|
|
1286
1286
|
var S = e.defaultProps;
|
|
1287
1287
|
for (R in S)
|
|
1288
|
-
|
|
1288
|
+
g[R] === void 0 && (g[R] = S[R]);
|
|
1289
1289
|
}
|
|
1290
1290
|
if (v || k) {
|
|
1291
1291
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1292
|
-
v && Ot(
|
|
1292
|
+
v && Ot(g, E), k && Pt(g, E);
|
|
1293
1293
|
}
|
|
1294
|
-
return Ct(e, v, k,
|
|
1294
|
+
return Ct(e, v, k, y, u, Je.current, g);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
1297
|
var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
|
|
@@ -1352,7 +1352,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1352
1352
|
{
|
|
1353
1353
|
if (typeof e != "object")
|
|
1354
1354
|
return;
|
|
1355
|
-
if (
|
|
1355
|
+
if (ge(e))
|
|
1356
1356
|
for (var a = 0; a < e.length; a++) {
|
|
1357
1357
|
var u = e[a];
|
|
1358
1358
|
_e(u) && Qe(u, o);
|
|
@@ -1360,10 +1360,10 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1360
1360
|
else if (_e(e))
|
|
1361
1361
|
e._store && (e._store.validated = !0);
|
|
1362
1362
|
else if (e) {
|
|
1363
|
-
var
|
|
1364
|
-
if (typeof
|
|
1365
|
-
for (var R =
|
|
1366
|
-
_e(
|
|
1363
|
+
var y = Te(e);
|
|
1364
|
+
if (typeof y == "function" && y !== e.entries)
|
|
1365
|
+
for (var R = y.call(e), g; !(g = R.next()).done; )
|
|
1366
|
+
_e(g.value) && Qe(g.value, o);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
@@ -1386,8 +1386,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1386
1386
|
Rt(a, e.props, "prop", u, e);
|
|
1387
1387
|
} else if (o.PropTypes !== void 0 && !ye) {
|
|
1388
1388
|
ye = !0;
|
|
1389
|
-
var
|
|
1390
|
-
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
1389
|
+
var y = N(o);
|
|
1390
|
+
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
1391
1391
|
}
|
|
1392
1392
|
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1393
1393
|
}
|
|
@@ -1405,25 +1405,25 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
1407
|
var tt = {};
|
|
1408
|
-
function rt(e, o, a, u,
|
|
1408
|
+
function rt(e, o, a, u, y, R) {
|
|
1409
1409
|
{
|
|
1410
|
-
var
|
|
1411
|
-
if (!
|
|
1410
|
+
var g = vt(e);
|
|
1411
|
+
if (!g) {
|
|
1412
1412
|
var v = "";
|
|
1413
1413
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1414
1414
|
var k = $t();
|
|
1415
1415
|
k ? v += k : v += Xe();
|
|
1416
1416
|
var S;
|
|
1417
|
-
e === null ? S = "null" :
|
|
1417
|
+
e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
|
|
1418
1418
|
}
|
|
1419
|
-
var E = Tt(e, o, a,
|
|
1419
|
+
var E = Tt(e, o, a, y, R);
|
|
1420
1420
|
if (E == null)
|
|
1421
1421
|
return E;
|
|
1422
|
-
if (
|
|
1422
|
+
if (g) {
|
|
1423
1423
|
var P = o.children;
|
|
1424
1424
|
if (P !== void 0)
|
|
1425
1425
|
if (u)
|
|
1426
|
-
if (
|
|
1426
|
+
if (ge(P)) {
|
|
1427
1427
|
for (var Y = 0; Y < P.length; Y++)
|
|
1428
1428
|
et(P[Y], e);
|
|
1429
1429
|
Object.freeze && Object.freeze(P);
|
|
@@ -1433,20 +1433,20 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1433
1433
|
et(P, e);
|
|
1434
1434
|
}
|
|
1435
1435
|
if (H.call(o, "key")) {
|
|
1436
|
-
var
|
|
1436
|
+
var D = N(e), w = Object.keys(o).filter(function(Wt) {
|
|
1437
1437
|
return Wt !== "key";
|
|
1438
1438
|
}), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1439
|
-
if (!tt[
|
|
1439
|
+
if (!tt[D + Re]) {
|
|
1440
1440
|
var Ft = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
|
|
1441
1441
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1442
1442
|
let props = %s;
|
|
1443
1443
|
<%s {...props} />
|
|
1444
1444
|
React keys must be passed directly to JSX without using spread:
|
|
1445
1445
|
let props = %s;
|
|
1446
|
-
<%s key={someKey} {...props} />`, Re,
|
|
1446
|
+
<%s key={someKey} {...props} />`, Re, D, Ft, D), tt[D + Re] = !0;
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
|
-
return e ===
|
|
1449
|
+
return e === i ? Bt(E) : Mt(E), E;
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
1452
|
function It(e, o, a) {
|
|
@@ -1456,7 +1456,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1456
1456
|
return rt(e, o, a, !1);
|
|
1457
1457
|
}
|
|
1458
1458
|
var Dt = Lt, Ut = It;
|
|
1459
|
-
st.Fragment =
|
|
1459
|
+
st.Fragment = i, st.jsx = Dt, st.jsxs = Ut;
|
|
1460
1460
|
}()), st;
|
|
1461
1461
|
}
|
|
1462
1462
|
process.env.NODE_ENV === "production" ? jr() : kr();
|
|
@@ -1488,15 +1488,15 @@ function Z() {
|
|
|
1488
1488
|
Z().elcrm || (Z().elcrm = {});
|
|
1489
1489
|
Object.assign(Z().elcrm, { router: cr.version });
|
|
1490
1490
|
function Q(t) {
|
|
1491
|
-
var r, n,
|
|
1491
|
+
var r, n, i, s;
|
|
1492
1492
|
const c = Z();
|
|
1493
1493
|
if (c.ROUTER_PARAMS) {
|
|
1494
1494
|
t.debug || c.ROUTER_PARAMS.debug;
|
|
1495
1495
|
const d = {
|
|
1496
1496
|
page: (r = c.ROUTER_PARAMS) == null ? void 0 : r.page,
|
|
1497
1497
|
module: (n = c.ROUTER_PARAMS) == null ? void 0 : n.module,
|
|
1498
|
-
tab: (
|
|
1499
|
-
id: (
|
|
1498
|
+
tab: (i = c.ROUTER_PARAMS) == null ? void 0 : i.tab,
|
|
1499
|
+
id: (s = c.ROUTER_PARAMS) == null ? void 0 : s.id
|
|
1500
1500
|
};
|
|
1501
1501
|
c.ROUTER_PARAMS = {
|
|
1502
1502
|
...c.ROUTER_PARAMS,
|
|
@@ -1530,8 +1530,8 @@ function K() {
|
|
|
1530
1530
|
const r = Z();
|
|
1531
1531
|
let n = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || F.LISTENER;
|
|
1532
1532
|
return n || (n = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = n : F.LISTENER = n), new Proxy(n, {
|
|
1533
|
-
get(
|
|
1534
|
-
const c = s
|
|
1533
|
+
get(i, s) {
|
|
1534
|
+
const c = i[s];
|
|
1535
1535
|
return Array.isArray(c) && c.length > 0 ? (...d) => {
|
|
1536
1536
|
c.forEach((p) => {
|
|
1537
1537
|
if (typeof p == "function")
|
|
@@ -1548,19 +1548,19 @@ function K() {
|
|
|
1548
1548
|
}
|
|
1549
1549
|
function Qt(t, r) {
|
|
1550
1550
|
const n = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1551
|
-
for (const [
|
|
1552
|
-
if (
|
|
1553
|
-
return
|
|
1551
|
+
for (const [i, s] of Object.entries(r))
|
|
1552
|
+
if (i.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === n)
|
|
1553
|
+
return s;
|
|
1554
1554
|
return null;
|
|
1555
1555
|
}
|
|
1556
1556
|
function zt(t) {
|
|
1557
1557
|
const {
|
|
1558
1558
|
basePath: r = ".",
|
|
1559
1559
|
devExtensions: n = [".tsx", ".ts", ".jsx", ".js"],
|
|
1560
|
-
prodExtension:
|
|
1560
|
+
prodExtension: i = ".js"
|
|
1561
1561
|
} = t || {};
|
|
1562
|
-
return (
|
|
1563
|
-
const c =
|
|
1562
|
+
return (s) => {
|
|
1563
|
+
const c = s.replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1564
1564
|
if (r === ".")
|
|
1565
1565
|
return import(
|
|
1566
1566
|
/* @vite-ignore */
|
|
@@ -1576,19 +1576,19 @@ function zt(t) {
|
|
|
1576
1576
|
};
|
|
1577
1577
|
}
|
|
1578
1578
|
function Or(t) {
|
|
1579
|
-
const { basePath: r = ".", modules: n, pages:
|
|
1580
|
-
return (
|
|
1579
|
+
const { basePath: r = ".", modules: n, pages: i } = t || {};
|
|
1580
|
+
return (s) => {
|
|
1581
1581
|
if (n) {
|
|
1582
|
-
const d = Qt(
|
|
1582
|
+
const d = Qt(s, n);
|
|
1583
1583
|
if (d)
|
|
1584
1584
|
return d();
|
|
1585
1585
|
}
|
|
1586
|
-
if (
|
|
1587
|
-
const d = Qt(
|
|
1586
|
+
if (i) {
|
|
1587
|
+
const d = Qt(s, i);
|
|
1588
1588
|
if (d)
|
|
1589
1589
|
return d();
|
|
1590
1590
|
}
|
|
1591
|
-
const c =
|
|
1591
|
+
const c = s.replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1592
1592
|
if (r === ".")
|
|
1593
1593
|
return import(
|
|
1594
1594
|
/* @vite-ignore */
|
|
@@ -1646,22 +1646,22 @@ function fr() {
|
|
|
1646
1646
|
return j().id;
|
|
1647
1647
|
}
|
|
1648
1648
|
function Cr(t) {
|
|
1649
|
-
let r = (
|
|
1650
|
-
const [n,
|
|
1649
|
+
let r = (s) => (Q({ page: s }), s);
|
|
1650
|
+
const [n, i] = T(
|
|
1651
1651
|
lr() || t && r(t) || j().page
|
|
1652
1652
|
);
|
|
1653
1653
|
return W(() => {
|
|
1654
|
-
const
|
|
1655
|
-
|
|
1654
|
+
const s = (c) => {
|
|
1655
|
+
i(c);
|
|
1656
1656
|
};
|
|
1657
|
-
return xe({ page:
|
|
1657
|
+
return xe({ page: s }), () => {
|
|
1658
1658
|
var c, d;
|
|
1659
1659
|
const p = Z();
|
|
1660
1660
|
if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.page) {
|
|
1661
1661
|
const f = p.ROUTER_PARAMS.LISTENER.page;
|
|
1662
1662
|
if (Array.isArray(f)) {
|
|
1663
|
-
const
|
|
1664
|
-
|
|
1663
|
+
const m = f.indexOf(s);
|
|
1664
|
+
m > -1 && f.splice(m, 1);
|
|
1665
1665
|
}
|
|
1666
1666
|
}
|
|
1667
1667
|
};
|
|
@@ -1680,12 +1680,12 @@ function Nr() {
|
|
|
1680
1680
|
return j().prev;
|
|
1681
1681
|
}
|
|
1682
1682
|
function Mr(t, r) {
|
|
1683
|
-
const [n,
|
|
1683
|
+
const [n, i] = T(
|
|
1684
1684
|
ur() || t || j().module
|
|
1685
1685
|
);
|
|
1686
|
-
return W(() => (xe({ module:
|
|
1687
|
-
const
|
|
1688
|
-
|
|
1686
|
+
return W(() => (xe({ module: i }), () => {
|
|
1687
|
+
const s = K();
|
|
1688
|
+
s.module === i && delete s.module;
|
|
1689
1689
|
}), []), n;
|
|
1690
1690
|
}
|
|
1691
1691
|
function Br(t, r = !0) {
|
|
@@ -1699,30 +1699,30 @@ function Ir(t) {
|
|
|
1699
1699
|
}
|
|
1700
1700
|
function Lr(t, r) {
|
|
1701
1701
|
if (typeof t != "function") {
|
|
1702
|
-
const [n,
|
|
1702
|
+
const [n, i] = T(!r), [s, c] = T(t || Jt());
|
|
1703
1703
|
return xe({ tabs: c }), r && W(() => {
|
|
1704
|
-
|
|
1705
|
-
}, []), [
|
|
1704
|
+
i(!0);
|
|
1705
|
+
}, []), [s, n];
|
|
1706
1706
|
} else
|
|
1707
1707
|
xe({ tabs: t });
|
|
1708
1708
|
}
|
|
1709
1709
|
function Dr(t) {
|
|
1710
|
-
let r = (
|
|
1711
|
-
const [n,
|
|
1710
|
+
let r = (s) => (Q({ tab: s }), s);
|
|
1711
|
+
const [n, i] = T(
|
|
1712
1712
|
Jt() || t && r(t) || j().tab
|
|
1713
1713
|
);
|
|
1714
1714
|
return W(() => {
|
|
1715
|
-
const
|
|
1716
|
-
|
|
1715
|
+
const s = (c) => {
|
|
1716
|
+
i(c);
|
|
1717
1717
|
};
|
|
1718
|
-
return xe({ tabs:
|
|
1718
|
+
return xe({ tabs: s }), () => {
|
|
1719
1719
|
var c, d;
|
|
1720
1720
|
const p = Z();
|
|
1721
1721
|
if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.tabs) {
|
|
1722
1722
|
const f = p.ROUTER_PARAMS.LISTENER.tabs;
|
|
1723
1723
|
if (Array.isArray(f)) {
|
|
1724
|
-
const
|
|
1725
|
-
|
|
1724
|
+
const m = f.indexOf(s);
|
|
1725
|
+
m > -1 && f.splice(m, 1);
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
};
|
|
@@ -1741,23 +1741,23 @@ function Wr(t) {
|
|
|
1741
1741
|
if (typeof t != "function") {
|
|
1742
1742
|
const [r, n] = T(t || fr());
|
|
1743
1743
|
return W(() => {
|
|
1744
|
-
const
|
|
1745
|
-
n(
|
|
1744
|
+
const i = (s) => {
|
|
1745
|
+
n(s);
|
|
1746
1746
|
};
|
|
1747
|
-
return xe({ id:
|
|
1748
|
-
const
|
|
1749
|
-
|
|
1747
|
+
return xe({ id: i }), () => {
|
|
1748
|
+
const s = K();
|
|
1749
|
+
s.id === i && delete s.id;
|
|
1750
1750
|
};
|
|
1751
1751
|
}, []), r;
|
|
1752
1752
|
} else
|
|
1753
1753
|
W(() => (xe({ id: t }), () => {
|
|
1754
1754
|
var r, n;
|
|
1755
|
-
const
|
|
1756
|
-
if ((n = (r =
|
|
1757
|
-
const
|
|
1758
|
-
if (Array.isArray(
|
|
1759
|
-
const c =
|
|
1760
|
-
c > -1 &&
|
|
1755
|
+
const i = Z();
|
|
1756
|
+
if ((n = (r = i.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && n.id) {
|
|
1757
|
+
const s = i.ROUTER_PARAMS.LISTENER.id;
|
|
1758
|
+
if (Array.isArray(s)) {
|
|
1759
|
+
const c = s.indexOf(t);
|
|
1760
|
+
c > -1 && s.splice(c, 1);
|
|
1761
1761
|
}
|
|
1762
1762
|
}
|
|
1763
1763
|
}), [t]);
|
|
@@ -1774,9 +1774,9 @@ function zr(t) {
|
|
|
1774
1774
|
return Number(j().id) === t;
|
|
1775
1775
|
}
|
|
1776
1776
|
async function Vr(t) {
|
|
1777
|
-
var r, n,
|
|
1778
|
-
const { page:
|
|
1779
|
-
|
|
1777
|
+
var r, n, i, s, c, d, p, f;
|
|
1778
|
+
const { page: m, module: h, tab: b, id: _ } = t;
|
|
1779
|
+
m !== void 0 && (le.page = m), h !== void 0 && (le.module = h), b !== void 0 && (le.tab = b), _ !== void 0 && (le.id = _), Q({ ...le }), _ !== void 0 && ((n = (r = K()).id) == null || n.call(r, _)), b !== void 0 && ((s = (i = K()).tabs) == null || s.call(i, b)), h !== void 0 && ((d = (c = K()).module) == null || d.call(c, h)), m !== void 0 && ((f = (p = K()).page) == null || f.call(p, m)), sessionStorage.setItem(
|
|
1780
1780
|
j().STORAGE,
|
|
1781
1781
|
pe.enCode(j())
|
|
1782
1782
|
);
|
|
@@ -1789,26 +1789,26 @@ const Ce = {
|
|
|
1789
1789
|
module: t = j().module,
|
|
1790
1790
|
page: r = j().page,
|
|
1791
1791
|
auth: n = j().auth,
|
|
1792
|
-
debug:
|
|
1793
|
-
dir:
|
|
1792
|
+
debug: i = j().debug,
|
|
1793
|
+
dir: s = j().dir || ".",
|
|
1794
1794
|
importModules: c,
|
|
1795
1795
|
modules: d,
|
|
1796
1796
|
pages: p,
|
|
1797
1797
|
glob: f
|
|
1798
1798
|
// Поддержка единого glob объекта для упрощения
|
|
1799
1799
|
}) {
|
|
1800
|
-
let
|
|
1801
|
-
f ? (h = typeof d == "object" ? d : f, b = typeof p == "object" ? p : f) : (h = h || f, b = b || f), !
|
|
1802
|
-
|
|
1800
|
+
let m = c, h = d, b = p;
|
|
1801
|
+
f ? (h = typeof d == "object" ? d : f, b = typeof p == "object" ? p : f) : (h = h || f, b = b || f), !m && (h || b) ? !f && (typeof h == "string" || typeof b == "string") ? m = zt({ basePath: s }) : m = er(
|
|
1802
|
+
s,
|
|
1803
1803
|
h,
|
|
1804
1804
|
b
|
|
1805
|
-
) :
|
|
1805
|
+
) : m || (m = zt({ basePath: s })), Q({
|
|
1806
1806
|
page: r,
|
|
1807
1807
|
module: t,
|
|
1808
1808
|
auth: n,
|
|
1809
|
-
debug:
|
|
1810
|
-
dir:
|
|
1811
|
-
importModules:
|
|
1809
|
+
debug: i,
|
|
1810
|
+
dir: s,
|
|
1811
|
+
importModules: m
|
|
1812
1812
|
}), Pr();
|
|
1813
1813
|
},
|
|
1814
1814
|
// Упрощенная функция для создания importModules
|
|
@@ -1854,8 +1854,8 @@ function en() {
|
|
|
1854
1854
|
return pt.set = (n) => {
|
|
1855
1855
|
r([...t, n]);
|
|
1856
1856
|
}, pt.del = (n) => {
|
|
1857
|
-
t.forEach((
|
|
1858
|
-
|
|
1857
|
+
t.forEach((i, s) => {
|
|
1858
|
+
i.key === n && t.splice(s, 1);
|
|
1859
1859
|
}), r(t);
|
|
1860
1860
|
}, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: Se.n, children: t.map((n) => n.item) });
|
|
1861
1861
|
}
|
|
@@ -1865,10 +1865,10 @@ function tn(t) {
|
|
|
1865
1865
|
}
|
|
1866
1866
|
function rn(t) {
|
|
1867
1867
|
const r = t.data;
|
|
1868
|
-
let [n] = C.useState("show"), [
|
|
1868
|
+
let [n] = C.useState("show"), [i, s] = C.useState(!1);
|
|
1869
1869
|
C.useEffect(() => {
|
|
1870
1870
|
setTimeout(function() {
|
|
1871
|
-
|
|
1871
|
+
s(!0), pt.del(r.key);
|
|
1872
1872
|
}, 5e3);
|
|
1873
1873
|
}, [r.key]);
|
|
1874
1874
|
let c;
|
|
@@ -1891,7 +1891,7 @@ function rn(t) {
|
|
|
1891
1891
|
success: Se.s,
|
|
1892
1892
|
warning: Se.w
|
|
1893
1893
|
};
|
|
1894
|
-
return /* @__PURE__ */ l.jsx(l.Fragment, { children:
|
|
1894
|
+
return /* @__PURE__ */ l.jsx(l.Fragment, { children: i ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
|
|
1895
1895
|
"div",
|
|
1896
1896
|
{
|
|
1897
1897
|
className: Se.i + d[r.type] + ` ${r.thema !== void 0 ? Se.h : ""}`,
|
|
@@ -1932,8 +1932,8 @@ const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_
|
|
|
1932
1932
|
MainButton: {},
|
|
1933
1933
|
BackButton: {}
|
|
1934
1934
|
};
|
|
1935
|
-
let
|
|
1936
|
-
|
|
1935
|
+
let B = {};
|
|
1936
|
+
B.dark = {
|
|
1937
1937
|
"--tg-color-scheme": "dark",
|
|
1938
1938
|
"--tg-theme-subtitle-text-color": "#98989e",
|
|
1939
1939
|
"--tg-theme-destructive-text-color": "#e53935",
|
|
@@ -1951,7 +1951,7 @@ D.dark = {
|
|
|
1951
1951
|
"--tg-theme-text-color": "#ffffff",
|
|
1952
1952
|
"--tg-theme-section-bg-color": "#2c2c2e"
|
|
1953
1953
|
};
|
|
1954
|
-
|
|
1954
|
+
B.light = {
|
|
1955
1955
|
"--tg-color-scheme": "light",
|
|
1956
1956
|
"--tg-theme-subtitle-text-color": "#8e8e93",
|
|
1957
1957
|
"--tg-theme-destructive-text-color": "#ff3b30",
|
|
@@ -1969,7 +1969,7 @@ D.light = {
|
|
|
1969
1969
|
"--tg-theme-text-color": "#000000",
|
|
1970
1970
|
"--tg-theme-section-bg-color": "#f8f8f8"
|
|
1971
1971
|
};
|
|
1972
|
-
|
|
1972
|
+
B.users = {
|
|
1973
1973
|
"--tg-color-scheme": "users",
|
|
1974
1974
|
"--tg-theme-bg-color": "#000000",
|
|
1975
1975
|
"--tg-theme-text-color": "#ffffff",
|
|
@@ -1981,19 +1981,22 @@ D.users = {
|
|
|
1981
1981
|
};
|
|
1982
1982
|
const fn = () => {
|
|
1983
1983
|
if (location.hostname === "localhost") {
|
|
1984
|
-
let [t, r] = T(!1), [n,
|
|
1985
|
-
de.is = !0, de.MainButton.set = r, de.BackButton.set =
|
|
1986
|
-
var
|
|
1987
|
-
|
|
1988
|
-
for (let A in
|
|
1984
|
+
let [t, r] = T(!1), [n, i] = T(!1), [s, c] = T("dark"), [d, p] = T(!1), [f, m] = T(!1);
|
|
1985
|
+
de.is = !0, de.MainButton.set = r, de.BackButton.set = i, W(() => {
|
|
1986
|
+
var _;
|
|
1987
|
+
B[s]["--tg-theme-bg-color-alpha"] = B[s]["--tg-theme-bg-color"] + "b3", B[s]["--tg-theme-secondary-bg-color-alpha"] = B[s]["--tg-theme-secondary-bg-color"] + "d3", B[s]["--tg-theme-bg-color-alpha-25"] = B[s]["--tg-theme-bg-color"] + "40", B[s]["--tg-theme-secondary-bg-color-alpha-25"] = B[s]["--tg-theme-secondary-bg-color"] + "40";
|
|
1988
|
+
for (let A in B[s])
|
|
1989
1989
|
document.documentElement.style.setProperty(
|
|
1990
1990
|
A,
|
|
1991
|
-
|
|
1991
|
+
B[s][A]
|
|
1992
1992
|
);
|
|
1993
|
-
document.documentElement.
|
|
1993
|
+
document.documentElement.setAttribute(
|
|
1994
|
+
"data-color-scheme",
|
|
1995
|
+
B[s]["--tg-color-scheme"]
|
|
1996
|
+
), document.documentElement.style.setProperty(
|
|
1994
1997
|
"--tg-content-safe-area-inset-top",
|
|
1995
1998
|
"0px"
|
|
1996
|
-
), ((
|
|
1999
|
+
), ((_ = ce.safeAreaInset) == null ? void 0 : _.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
1997
2000
|
"--tg-safe-area-inset-bottom",
|
|
1998
2001
|
"16px"
|
|
1999
2002
|
) : ce.safeAreaInset || document.documentElement.style.setProperty(
|
|
@@ -2001,15 +2004,15 @@ const fn = () => {
|
|
|
2001
2004
|
"16px"
|
|
2002
2005
|
);
|
|
2003
2006
|
}, []);
|
|
2004
|
-
let h = (
|
|
2005
|
-
for (let A in
|
|
2006
|
-
document.documentElement.style.setProperty(A,
|
|
2007
|
+
let h = (_) => {
|
|
2008
|
+
for (let A in B[_])
|
|
2009
|
+
document.documentElement.style.setProperty(A, B[_][A]), document.documentElement.setAttribute(
|
|
2007
2010
|
"data-color-scheme",
|
|
2008
|
-
|
|
2011
|
+
_
|
|
2009
2012
|
);
|
|
2010
|
-
|
|
2013
|
+
c(_), p(!1);
|
|
2011
2014
|
}, b = () => {
|
|
2012
|
-
p(!1),
|
|
2015
|
+
p(!1), m(!0);
|
|
2013
2016
|
};
|
|
2014
2017
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2015
2018
|
/* @__PURE__ */ l.jsxs("div", { className: fe.d, children: [
|
|
@@ -2017,8 +2020,8 @@ const fn = () => {
|
|
|
2017
2020
|
"div",
|
|
2018
2021
|
{
|
|
2019
2022
|
onClick: () => {
|
|
2020
|
-
var
|
|
2021
|
-
n.page === void 0 ? (
|
|
2023
|
+
var _;
|
|
2024
|
+
n.page === void 0 ? (_ = n.callback) == null || _.call(n) : Ce.setPage(n.page);
|
|
2022
2025
|
},
|
|
2023
2026
|
className: fe.b,
|
|
2024
2027
|
children: "Назад"
|
|
@@ -2078,7 +2081,7 @@ const fn = () => {
|
|
|
2078
2081
|
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!d), children: "Closed" }) })
|
|
2079
2082
|
] })
|
|
2080
2083
|
] }) : "",
|
|
2081
|
-
f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization:
|
|
2084
|
+
f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization: m }) : ""
|
|
2082
2085
|
] });
|
|
2083
2086
|
} else
|
|
2084
2087
|
return W(() => {
|
|
@@ -2095,7 +2098,10 @@ const fn = () => {
|
|
|
2095
2098
|
) : ce.safeAreaInset || document.documentElement.style.setProperty(
|
|
2096
2099
|
"--tg-safe-area-inset-bottom",
|
|
2097
2100
|
"16px"
|
|
2098
|
-
), document.
|
|
2101
|
+
), document.documentElement.setAttribute(
|
|
2102
|
+
"data-color-scheme",
|
|
2103
|
+
ce.colorScheme
|
|
2104
|
+
);
|
|
2099
2105
|
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(Ee.Init, {}) });
|
|
2100
2106
|
}, dn = ({ setAuthorization: t }) => {
|
|
2101
2107
|
let r = {}, n = () => {
|
|
@@ -2111,15 +2117,15 @@ const fn = () => {
|
|
|
2111
2117
|
}, hn = ({ className: t, children: r, isScroll: n = !0 }) => /* @__PURE__ */ l.jsx(
|
|
2112
2118
|
"div",
|
|
2113
2119
|
{
|
|
2114
|
-
className: [tr.p, n && tr.s, t].filter((
|
|
2120
|
+
className: [tr.p, n && tr.s, t].filter((i) => i !== void 0).join(" "),
|
|
2115
2121
|
children: r
|
|
2116
2122
|
}
|
|
2117
|
-
),
|
|
2118
|
-
l:
|
|
2123
|
+
), mn = "_l_gfyud_1", gn = {
|
|
2124
|
+
l: mn
|
|
2119
2125
|
}, bn = ({ children: t, className: r }) => /* @__PURE__ */ l.jsx(
|
|
2120
2126
|
"div",
|
|
2121
2127
|
{
|
|
2122
|
-
className: [
|
|
2128
|
+
className: [gn.l, r].filter((n) => n !== void 0).join(" "),
|
|
2123
2129
|
children: t
|
|
2124
2130
|
}
|
|
2125
2131
|
), yn = "_q_z5mg9_2", _n = "_m_z5mg9_8", Rn = "_g_z5mg9_15", Sn = "_i_z5mg9_23", En = "_c_z5mg9_40", xn = "_l_z5mg9_47", An = "_a_z5mg9_62", jn = "_n_z5mg9_68", ue = {
|
|
@@ -2132,10 +2138,10 @@ const fn = () => {
|
|
|
2132
2138
|
a: An,
|
|
2133
2139
|
n: jn
|
|
2134
2140
|
}, kn = ({ items: t, style: r }) => {
|
|
2135
|
-
const n = (
|
|
2136
|
-
Ce.setPage(
|
|
2137
|
-
},
|
|
2138
|
-
ce.openTelegramLink(
|
|
2141
|
+
const n = (s) => {
|
|
2142
|
+
Ce.setPage(s);
|
|
2143
|
+
}, i = (s) => {
|
|
2144
|
+
ce.openTelegramLink(s);
|
|
2139
2145
|
};
|
|
2140
2146
|
return /* @__PURE__ */ l.jsx(
|
|
2141
2147
|
"div",
|
|
@@ -2144,12 +2150,12 @@ const fn = () => {
|
|
|
2144
2150
|
ue[r === "liquid-glass" ? "q" : ""],
|
|
2145
2151
|
ue.m
|
|
2146
2152
|
),
|
|
2147
|
-
children: t.map((
|
|
2153
|
+
children: t.map((s) => /* @__PURE__ */ l.jsx("div", { className: ue.g, children: s.items.map((c, d) => /* @__PURE__ */ l.jsxs(
|
|
2148
2154
|
"div",
|
|
2149
2155
|
{
|
|
2150
2156
|
className: ue.i,
|
|
2151
2157
|
onClick: () => {
|
|
2152
|
-
c.link &&
|
|
2158
|
+
c.link && i(c.link), c.page && n(c.page), c.callback && c.callback();
|
|
2153
2159
|
},
|
|
2154
2160
|
children: [
|
|
2155
2161
|
/* @__PURE__ */ l.jsxs("div", { className: ue.c, children: [
|
|
@@ -2168,7 +2174,7 @@ const fn = () => {
|
|
|
2168
2174
|
]
|
|
2169
2175
|
},
|
|
2170
2176
|
d
|
|
2171
|
-
)) },
|
|
2177
|
+
)) }, s.id))
|
|
2172
2178
|
}
|
|
2173
2179
|
);
|
|
2174
2180
|
}, wn = "_o_8ho2f_3", On = "_m_8ho2f_14", Pn = "_l_8ho2f_28", Cn = "_r_8ho2f_33", Tn = "_x_8ho2f_38", $n = "_h_8ho2f_42", Nn = "_c_8ho2f_57", Mn = "_u_8ho2f_72", se = {
|
|
@@ -2185,23 +2191,23 @@ function Bn({
|
|
|
2185
2191
|
children: t,
|
|
2186
2192
|
icon: r,
|
|
2187
2193
|
iconBadge: n = 0,
|
|
2188
|
-
title:
|
|
2189
|
-
className:
|
|
2194
|
+
title: i,
|
|
2195
|
+
className: s,
|
|
2190
2196
|
view: c = "list",
|
|
2191
2197
|
position: d = "left",
|
|
2192
2198
|
name: p = "default"
|
|
2193
2199
|
}) {
|
|
2194
|
-
const [f,
|
|
2200
|
+
const [f, m] = T(!1), [h, b] = T(
|
|
2195
2201
|
null
|
|
2196
2202
|
);
|
|
2197
2203
|
W(() => {
|
|
2198
2204
|
let A = document.querySelector(".p_sb");
|
|
2199
|
-
return A || (A = document.createElement("div"), A.className = "_p_sb", document.body.appendChild(A)), b(A), ut[p] = (
|
|
2205
|
+
return A || (A = document.createElement("div"), A.className = "_p_sb", document.body.appendChild(A)), b(A), ut[p] = (I) => m(I), () => {
|
|
2200
2206
|
A && A.parentNode && A.parentNode.removeChild(A);
|
|
2201
2207
|
};
|
|
2202
2208
|
}, []);
|
|
2203
|
-
const
|
|
2204
|
-
f && /* @__PURE__ */ l.jsx("div", { className: se.o, onClick: () =>
|
|
2209
|
+
const _ = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2210
|
+
f && /* @__PURE__ */ l.jsx("div", { className: se.o, onClick: () => m(!1) }),
|
|
2205
2211
|
/* @__PURE__ */ l.jsxs(
|
|
2206
2212
|
"div",
|
|
2207
2213
|
{
|
|
@@ -2209,15 +2215,15 @@ function Bn({
|
|
|
2209
2215
|
se.m,
|
|
2210
2216
|
d === "left" ? se.l : se.r,
|
|
2211
2217
|
f && se.x,
|
|
2212
|
-
|
|
2218
|
+
s
|
|
2213
2219
|
),
|
|
2214
2220
|
children: [
|
|
2215
2221
|
/* @__PURE__ */ l.jsxs("div", { className: se.h, children: [
|
|
2216
|
-
|
|
2222
|
+
i && /* @__PURE__ */ l.jsx("h3", { className: se.t, children: i }),
|
|
2217
2223
|
/* @__PURE__ */ l.jsxs(
|
|
2218
2224
|
"svg",
|
|
2219
2225
|
{
|
|
2220
|
-
onClick: () =>
|
|
2226
|
+
onClick: () => m(!1),
|
|
2221
2227
|
fill: "none",
|
|
2222
2228
|
stroke: "currentColor",
|
|
2223
2229
|
strokeLinecap: "round",
|
|
@@ -2244,13 +2250,13 @@ function Bn({
|
|
|
2244
2250
|
r && /* @__PURE__ */ l.jsx(
|
|
2245
2251
|
"div",
|
|
2246
2252
|
{
|
|
2247
|
-
onClick: () =>
|
|
2253
|
+
onClick: () => m(!0),
|
|
2248
2254
|
className: "bage",
|
|
2249
2255
|
"data-count": n,
|
|
2250
2256
|
children: r
|
|
2251
2257
|
}
|
|
2252
2258
|
),
|
|
2253
|
-
h && pr(
|
|
2259
|
+
h && pr(_, h)
|
|
2254
2260
|
] });
|
|
2255
2261
|
}
|
|
2256
2262
|
const In = (t, r) => {
|
|
@@ -2277,29 +2283,29 @@ const In = (t, r) => {
|
|
|
2277
2283
|
actions: t,
|
|
2278
2284
|
children: r,
|
|
2279
2285
|
className: n,
|
|
2280
|
-
actual:
|
|
2281
|
-
toHide:
|
|
2286
|
+
actual: i,
|
|
2287
|
+
toHide: s = !1,
|
|
2282
2288
|
page: c,
|
|
2283
2289
|
style: d = "default",
|
|
2284
2290
|
onPageChange: p,
|
|
2285
2291
|
direction: f = "row"
|
|
2286
2292
|
}) => {
|
|
2287
|
-
const [
|
|
2293
|
+
const [m, h] = C.useState(null), [b, _] = C.useState(
|
|
2288
2294
|
c ? rr(t || [], c) : 0
|
|
2289
|
-
), [A,
|
|
2295
|
+
), [A, I] = C.useState(
|
|
2290
2296
|
"right"
|
|
2291
2297
|
), ee = C.useRef(b);
|
|
2292
2298
|
C.useEffect(() => {
|
|
2293
2299
|
if (c) {
|
|
2294
2300
|
const V = rr(t || [], c);
|
|
2295
|
-
V !== -1 && V !== ee.current && (ee.current = V,
|
|
2301
|
+
V !== -1 && V !== ee.current && (ee.current = V, _(V));
|
|
2296
2302
|
}
|
|
2297
2303
|
}, [c, t]), C.useEffect(() => {
|
|
2298
|
-
ee.current !== b && (
|
|
2304
|
+
ee.current !== b && (I(
|
|
2299
2305
|
b > ee.current ? "left" : "right"
|
|
2300
2306
|
), ee.current = b);
|
|
2301
2307
|
}, [b]), W(() => {
|
|
2302
|
-
if (!
|
|
2308
|
+
if (!s)
|
|
2303
2309
|
return;
|
|
2304
2310
|
const V = document.querySelectorAll("[contenteditable]"), ke = () => {
|
|
2305
2311
|
const $ = document.querySelector("footer");
|
|
@@ -2330,7 +2336,7 @@ const In = (t, r) => {
|
|
|
2330
2336
|
}, []);
|
|
2331
2337
|
const te = {};
|
|
2332
2338
|
return d === "liquid-glass" && (te.onMouseDown = Ae, te.onMouseUp = je, te.onTouchStart = Ae, te.onTouchEnd = je), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2333
|
-
|
|
2339
|
+
m,
|
|
2334
2340
|
/* @__PURE__ */ l.jsxs(
|
|
2335
2341
|
"footer",
|
|
2336
2342
|
{
|
|
@@ -2350,10 +2356,10 @@ const In = (t, r) => {
|
|
|
2350
2356
|
{
|
|
2351
2357
|
actions: t,
|
|
2352
2358
|
activeIndex: b,
|
|
2353
|
-
setActiveIndex:
|
|
2359
|
+
setActiveIndex: _,
|
|
2354
2360
|
onPageChange: p,
|
|
2355
2361
|
setComponent: h,
|
|
2356
|
-
actual:
|
|
2362
|
+
actual: i
|
|
2357
2363
|
}
|
|
2358
2364
|
)
|
|
2359
2365
|
]
|
|
@@ -2364,8 +2370,8 @@ const In = (t, r) => {
|
|
|
2364
2370
|
actions: t,
|
|
2365
2371
|
activeIndex: r,
|
|
2366
2372
|
setActiveIndex: n,
|
|
2367
|
-
onPageChange:
|
|
2368
|
-
setComponent:
|
|
2373
|
+
onPageChange: i,
|
|
2374
|
+
setComponent: s,
|
|
2369
2375
|
actual: c
|
|
2370
2376
|
}) => /* @__PURE__ */ l.jsxs("div", { className: Pe.b, children: [
|
|
2371
2377
|
t.map((d, p) => /* @__PURE__ */ l.jsxs(
|
|
@@ -2373,7 +2379,7 @@ const In = (t, r) => {
|
|
|
2373
2379
|
{
|
|
2374
2380
|
"data-active": r === p ? "true" : "false",
|
|
2375
2381
|
onClick: () => {
|
|
2376
|
-
d.page && (n(p),
|
|
2382
|
+
d.page && (n(p), i == null || i(d.page)), d.onClick && d.onClick(() => n(p)), d.component && (r === p || (s(d.component), n(p)));
|
|
2377
2383
|
},
|
|
2378
2384
|
children: [
|
|
2379
2385
|
d.icon,
|
|
@@ -2416,25 +2422,25 @@ function oo({
|
|
|
2416
2422
|
children: t,
|
|
2417
2423
|
name: r,
|
|
2418
2424
|
onClose: n,
|
|
2419
|
-
isOpen:
|
|
2420
|
-
isScroll:
|
|
2425
|
+
isOpen: i,
|
|
2426
|
+
isScroll: s = !0,
|
|
2421
2427
|
nextBackButton: c
|
|
2422
2428
|
}) {
|
|
2423
2429
|
const [d, p] = T(!1);
|
|
2424
2430
|
return W(() => {
|
|
2425
|
-
if (!
|
|
2426
|
-
const f = c === void 0 ? jo().pop() : c,
|
|
2431
|
+
if (!i) return;
|
|
2432
|
+
const f = c === void 0 ? jo().pop() : c, m = () => {
|
|
2427
2433
|
p(!1), setTimeout(() => {
|
|
2428
2434
|
nr(f || !1), n == null || n();
|
|
2429
2435
|
}, 300);
|
|
2430
2436
|
};
|
|
2431
2437
|
Vt[r] = {
|
|
2432
|
-
onClose:
|
|
2438
|
+
onClose: m,
|
|
2433
2439
|
onOpen: () => {
|
|
2434
2440
|
p(!0);
|
|
2435
2441
|
}
|
|
2436
2442
|
}, nr({
|
|
2437
|
-
callback:
|
|
2443
|
+
callback: m
|
|
2438
2444
|
});
|
|
2439
2445
|
const h = setTimeout(() => {
|
|
2440
2446
|
p(!0);
|
|
@@ -2442,13 +2448,13 @@ function oo({
|
|
|
2442
2448
|
return () => {
|
|
2443
2449
|
clearTimeout(h);
|
|
2444
2450
|
};
|
|
2445
|
-
}, [
|
|
2451
|
+
}, [i]), i ? /* @__PURE__ */ l.jsxs(
|
|
2446
2452
|
"div",
|
|
2447
2453
|
{
|
|
2448
2454
|
className: G(
|
|
2449
2455
|
it.w,
|
|
2450
2456
|
d && it.v,
|
|
2451
|
-
|
|
2457
|
+
s && it.s
|
|
2452
2458
|
),
|
|
2453
2459
|
children: [
|
|
2454
2460
|
/* @__PURE__ */ l.jsx("div", { className: it.n }),
|
|
@@ -2458,8 +2464,8 @@ function oo({
|
|
|
2458
2464
|
) : "";
|
|
2459
2465
|
}
|
|
2460
2466
|
const ao = (t, r) => {
|
|
2461
|
-
var n,
|
|
2462
|
-
r ? (n = Vt[t]) == null || n.onOpen() : (
|
|
2467
|
+
var n, i;
|
|
2468
|
+
r ? (n = Vt[t]) == null || n.onOpen() : (i = Vt[t]) == null || i.onClose();
|
|
2463
2469
|
}, so = "_s_q79m4_3", io = "_n_q79m4_14", co = "_b_q79m4_19", lo = "_f_q79m4_29", ct = {
|
|
2464
2470
|
s: so,
|
|
2465
2471
|
n: io,
|
|
@@ -2470,19 +2476,19 @@ function uo({
|
|
|
2470
2476
|
className: t,
|
|
2471
2477
|
children: r,
|
|
2472
2478
|
onScrollEnd: n,
|
|
2473
|
-
offset:
|
|
2474
|
-
isLoading:
|
|
2479
|
+
offset: i = 100,
|
|
2480
|
+
isLoading: s,
|
|
2475
2481
|
fullscreen: c = !1,
|
|
2476
2482
|
isScrollBar: d = !1
|
|
2477
2483
|
}) {
|
|
2478
|
-
const [p, f] = T(
|
|
2484
|
+
const [p, f] = T(s || !1);
|
|
2479
2485
|
W(() => {
|
|
2480
|
-
f(
|
|
2481
|
-
}, [
|
|
2482
|
-
let
|
|
2486
|
+
f(s || !1);
|
|
2487
|
+
}, [s]);
|
|
2488
|
+
let m = {
|
|
2483
2489
|
onScroll: (h) => {
|
|
2484
|
-
const { scrollTop: b, scrollHeight:
|
|
2485
|
-
b + A >=
|
|
2490
|
+
const { scrollTop: b, scrollHeight: _, clientHeight: A } = h.currentTarget;
|
|
2491
|
+
b + A >= _ - i && !p && (f(!0), n == null || n());
|
|
2486
2492
|
}
|
|
2487
2493
|
};
|
|
2488
2494
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
@@ -2490,7 +2496,7 @@ function uo({
|
|
|
2490
2496
|
/* @__PURE__ */ l.jsx(
|
|
2491
2497
|
"div",
|
|
2492
2498
|
{
|
|
2493
|
-
...
|
|
2499
|
+
...m,
|
|
2494
2500
|
className: G(
|
|
2495
2501
|
ct.s,
|
|
2496
2502
|
!d && ct.n,
|
|
@@ -2508,20 +2514,20 @@ const fo = "_a_prp23_1", po = "_l_prp23_13", vo = "_r_prp23_16", ho = "_b_prp23_
|
|
|
2508
2514
|
r: vo,
|
|
2509
2515
|
b: ho
|
|
2510
2516
|
};
|
|
2511
|
-
function
|
|
2517
|
+
function mo({
|
|
2512
2518
|
children: t,
|
|
2513
2519
|
className: r,
|
|
2514
2520
|
position: n = "center",
|
|
2515
|
-
title:
|
|
2521
|
+
title: i
|
|
2516
2522
|
}) {
|
|
2517
|
-
let
|
|
2518
|
-
return n === "left" ?
|
|
2523
|
+
let s = "";
|
|
2524
|
+
return n === "left" ? s = lt.l : n === "right" ? s = lt.r : n === "between" && (s = lt.b), /* @__PURE__ */ l.jsxs("div", { className: G(lt.a, s, r), children: [
|
|
2519
2525
|
t,
|
|
2520
|
-
|
|
2526
|
+
i && /* @__PURE__ */ l.jsx("b", { children: i })
|
|
2521
2527
|
] });
|
|
2522
2528
|
}
|
|
2523
|
-
const
|
|
2524
|
-
q:
|
|
2529
|
+
const go = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_29", Ro = "_p_1wgf4_34", So = "_f_1wgf4_50", Eo = "_h_1wgf4_58", xo = "_b_1wgf4_75", ie = {
|
|
2530
|
+
q: go,
|
|
2525
2531
|
o: bo,
|
|
2526
2532
|
x: yo,
|
|
2527
2533
|
c: _o,
|
|
@@ -2533,17 +2539,17 @@ const mo = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_
|
|
|
2533
2539
|
children: t,
|
|
2534
2540
|
title: r,
|
|
2535
2541
|
isOverlay: n = !0,
|
|
2536
|
-
footer:
|
|
2537
|
-
className:
|
|
2542
|
+
footer: i = !0,
|
|
2543
|
+
className: s,
|
|
2538
2544
|
name: c,
|
|
2539
2545
|
style: d = "default",
|
|
2540
2546
|
onOpen: p
|
|
2541
2547
|
}) => {
|
|
2542
|
-
const [f,
|
|
2548
|
+
const [f, m] = C.useState(!1), [h, b] = C.useState(!1);
|
|
2543
2549
|
return C.useEffect(() => {
|
|
2544
|
-
X[c] = (
|
|
2545
|
-
|
|
2546
|
-
|
|
2550
|
+
X[c] = (_) => {
|
|
2551
|
+
_ ? (b(!1), m(!0), p == null || p(!0)) : (b(!0), p == null || p(!1), setTimeout(() => {
|
|
2552
|
+
m(!1), b(!1);
|
|
2547
2553
|
}, 300));
|
|
2548
2554
|
};
|
|
2549
2555
|
}, [c, p]), !f && !h ? null : /* @__PURE__ */ l.jsx(
|
|
@@ -2556,8 +2562,8 @@ const mo = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_
|
|
|
2556
2562
|
h && ie.c
|
|
2557
2563
|
),
|
|
2558
2564
|
onClick: () => {
|
|
2559
|
-
var
|
|
2560
|
-
return (
|
|
2565
|
+
var _;
|
|
2566
|
+
return (_ = X[c]) == null ? void 0 : _.call(X, !1);
|
|
2561
2567
|
},
|
|
2562
2568
|
children: /* @__PURE__ */ l.jsxs(
|
|
2563
2569
|
"div",
|
|
@@ -2565,10 +2571,10 @@ const mo = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_
|
|
|
2565
2571
|
className: G(
|
|
2566
2572
|
ie.p,
|
|
2567
2573
|
h && ie.c,
|
|
2568
|
-
|
|
2569
|
-
|
|
2574
|
+
i && ie.f,
|
|
2575
|
+
s
|
|
2570
2576
|
),
|
|
2571
|
-
onClick: (
|
|
2577
|
+
onClick: (_) => _.stopPropagation(),
|
|
2572
2578
|
children: [
|
|
2573
2579
|
r && /* @__PURE__ */ l.jsxs("div", { className: ie.h, children: [
|
|
2574
2580
|
/* @__PURE__ */ l.jsx("h3", { children: r }),
|
|
@@ -2577,8 +2583,8 @@ const mo = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_
|
|
|
2577
2583
|
{
|
|
2578
2584
|
className: ie.b,
|
|
2579
2585
|
onClick: () => {
|
|
2580
|
-
var
|
|
2581
|
-
return (
|
|
2586
|
+
var _;
|
|
2587
|
+
return (_ = X[c]) == null ? void 0 : _.call(X, !1);
|
|
2582
2588
|
},
|
|
2583
2589
|
children: "✕"
|
|
2584
2590
|
}
|
|
@@ -2614,43 +2620,43 @@ var O;
|
|
|
2614
2620
|
}, t.Location = (n) => {
|
|
2615
2621
|
if (de.is)
|
|
2616
2622
|
return n({ latitude: 55.752555, longitude: 37.623123 });
|
|
2617
|
-
let
|
|
2618
|
-
t.WebApp.LocationManager.getLocation(async (
|
|
2619
|
-
if (!
|
|
2623
|
+
let i = () => {
|
|
2624
|
+
t.WebApp.LocationManager.getLocation(async (s) => {
|
|
2625
|
+
if (!s) {
|
|
2620
2626
|
t.WebApp.LocationManager.isAccessRequested || t.WebApp.LocationManager.openSettings();
|
|
2621
2627
|
return;
|
|
2622
2628
|
}
|
|
2623
|
-
n(
|
|
2629
|
+
n(s);
|
|
2624
2630
|
});
|
|
2625
2631
|
};
|
|
2626
2632
|
!t.WebApp.LocationManager || !t.WebApp.LocationManager.isInited ? t.WebApp.LocationManager.init(() => {
|
|
2627
|
-
|
|
2628
|
-
}) :
|
|
2633
|
+
i();
|
|
2634
|
+
}) : i();
|
|
2629
2635
|
}, t.Notice = {
|
|
2630
|
-
Send: (n,
|
|
2636
|
+
Send: (n, i, s) => {
|
|
2631
2637
|
var c, d;
|
|
2632
|
-
|
|
2638
|
+
i !== void 0 ? (Ee.Send({ type: n, text: i, thema: s }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(n)) : (Ee.Send(n), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(n.type));
|
|
2633
2639
|
},
|
|
2634
2640
|
Error: (n) => {
|
|
2635
|
-
var
|
|
2636
|
-
Ee.Send({ type: "error", text: n }), (
|
|
2641
|
+
var i;
|
|
2642
|
+
Ee.Send({ type: "error", text: n }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("error");
|
|
2637
2643
|
},
|
|
2638
2644
|
Success: (n) => {
|
|
2639
|
-
var
|
|
2640
|
-
Ee.Send({ type: "success", text: n }), (
|
|
2645
|
+
var i;
|
|
2646
|
+
Ee.Send({ type: "success", text: n }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("success");
|
|
2641
2647
|
},
|
|
2642
2648
|
Warning: (n) => {
|
|
2643
|
-
var
|
|
2644
|
-
Ee.Send({ type: "warning", text: n }), (
|
|
2649
|
+
var i;
|
|
2650
|
+
Ee.Send({ type: "warning", text: n }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("warning");
|
|
2645
2651
|
}
|
|
2646
|
-
}, t.Header = fn, t.TabBar = Kn, t.Title = Qn, t.BottomSheet = dr, t.BottomSheetControllerSheet = Ao, t.SafeArea = hn, t.Loading = bn, t.Sidebar = Bn, t.SidePanel = oo, t.AppBar =
|
|
2652
|
+
}, t.Header = fn, t.TabBar = Kn, t.Title = Qn, t.BottomSheet = dr, t.BottomSheetControllerSheet = Ao, t.SafeArea = hn, t.Loading = bn, t.Sidebar = Bn, t.SidePanel = oo, t.AppBar = mo, t.SideBarController = In, t.SidePanelController = ao, t.Scroll = uo, t.Modal = Yt, t.Menu = kn, t.MainButton = {
|
|
2647
2653
|
callback: [],
|
|
2648
2654
|
set: (n) => {
|
|
2649
|
-
de.is ? de.MainButton.set(n) : (t.WebApp.MainButton.callback.forEach((
|
|
2650
|
-
t.WebApp.MainButton.offClick(
|
|
2655
|
+
de.is ? de.MainButton.set(n) : (t.WebApp.MainButton.callback.forEach((i) => {
|
|
2656
|
+
t.WebApp.MainButton.offClick(i);
|
|
2651
2657
|
}), t.WebApp.MainButton.callback = [], typeof n == "boolean" ? t.WebApp.MainButton.isVisible = !1 : (t.WebApp.MainButton.text = n.text, n.color && (t.WebApp.MainButton.color = n.color), n.textColor && (t.WebApp.MainButton.textColor = n.textColor), t.WebApp.MainButton.isVisible = !0, t.WebApp.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, t.WebApp.MainButton.callback.push(() => {
|
|
2652
|
-
var
|
|
2653
|
-
n.page === void 0 ? (
|
|
2658
|
+
var i;
|
|
2659
|
+
n.page === void 0 ? (i = n.callback) == null || i.call(n) : Ce.setPage(n.page);
|
|
2654
2660
|
}), t.WebApp.MainButton.onClick(
|
|
2655
2661
|
t.WebApp.MainButton.callback[0]
|
|
2656
2662
|
)));
|