@elcrm/telegram 0.0.173 → 0.0.175
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/BottomSheet/index.d.ts +0 -12
- package/dist/HeaderSection/HeaderSection.d.ts +19 -0
- package/dist/HeaderSection/index.d.ts +2 -0
- package/dist/Menu/index.d.ts +4 -1
- package/dist/Scroll/Scroll.d.ts +2 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.es.js +1000 -929
- package/dist/index.umd.js +20 -20
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $, { useState as
|
|
2
|
-
import { createPortal as
|
|
3
|
-
import './index.css';var
|
|
1
|
+
import $, { useState as M, useEffect as H } from "react";
|
|
2
|
+
import { createPortal as mr } from "react-dom";
|
|
3
|
+
import './index.css';var qt = { exports: {} }, rt = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,21 +10,21 @@ import './index.css';var Yt = { exports: {} }, tt = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
|
|
13
|
+
var Kt;
|
|
14
|
+
function br() {
|
|
15
|
+
if (Kt) return rt;
|
|
16
|
+
Kt = 1;
|
|
17
17
|
var t = $, 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, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
18
|
function d(g, u, p) {
|
|
19
|
-
var b,
|
|
19
|
+
var b, y = {}, R = null, S = null;
|
|
20
20
|
p !== void 0 && (R = "" + p), u.key !== void 0 && (R = "" + u.key), u.ref !== void 0 && (S = u.ref);
|
|
21
|
-
for (b in u) i.call(u, b) && !l.hasOwnProperty(b) && (
|
|
22
|
-
if (g && g.defaultProps) for (b in u = g.defaultProps, u)
|
|
23
|
-
return { $$typeof: r, type: g, key: R, ref: S, props:
|
|
21
|
+
for (b in u) i.call(u, b) && !l.hasOwnProperty(b) && (y[b] = u[b]);
|
|
22
|
+
if (g && g.defaultProps) for (b in u = g.defaultProps, u) y[b] === void 0 && (y[b] = u[b]);
|
|
23
|
+
return { $$typeof: r, type: g, key: R, ref: S, props: y, _owner: s.current };
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return rt.Fragment = n, rt.jsx = d, rt.jsxs = d, rt;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var nt = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -34,14 +34,14 @@ var rt = {};
|
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
|
-
var
|
|
38
|
-
function
|
|
39
|
-
return
|
|
40
|
-
var t = $, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), g = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"),
|
|
41
|
-
function
|
|
37
|
+
var Gt;
|
|
38
|
+
function hr() {
|
|
39
|
+
return Gt || (Gt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var t = $, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), g = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), k = Symbol.iterator, N = "@@iterator";
|
|
41
|
+
function J(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var o = k && e[k] || e[
|
|
44
|
+
var o = k && e[k] || e[N];
|
|
45
45
|
return typeof o == "function" ? o : null;
|
|
46
46
|
}
|
|
47
47
|
var I = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -49,39 +49,39 @@ function mr() {
|
|
|
49
49
|
{
|
|
50
50
|
for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), f = 1; f < o; f++)
|
|
51
51
|
a[f - 1] = arguments[f];
|
|
52
|
-
|
|
52
|
+
K("error", e, a);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function K(e, o, a) {
|
|
56
56
|
{
|
|
57
|
-
var f = I.ReactDebugCurrentFrame,
|
|
58
|
-
|
|
59
|
-
var _ = a.map(function(
|
|
60
|
-
return String(
|
|
57
|
+
var f = I.ReactDebugCurrentFrame, v = f.getStackAddendum();
|
|
58
|
+
v !== "" && (o += "%s", a = a.concat([v]));
|
|
59
|
+
var _ = a.map(function(h) {
|
|
60
|
+
return String(h);
|
|
61
61
|
});
|
|
62
62
|
_.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, _);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var je = !1, we = !1, ae = !1, de = !1, gt = !1, Pe;
|
|
66
66
|
Pe = Symbol.for("react.module.reference");
|
|
67
|
-
function
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === l ||
|
|
67
|
+
function mt(e) {
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === l || gt || e === s || e === p || e === b || de || e === S || je || we || ae || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === y || e.$$typeof === d || e.$$typeof === g || e.$$typeof === u || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
72
72
|
e.$$typeof === Pe || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function bt(e, o, a) {
|
|
75
75
|
var f = e.displayName;
|
|
76
76
|
if (f)
|
|
77
77
|
return f;
|
|
78
|
-
var
|
|
79
|
-
return
|
|
78
|
+
var v = o.displayName || o.name || "";
|
|
79
|
+
return v !== "" ? a + "(" + v + ")" : a;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function $e(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function B(e) {
|
|
85
85
|
if (e == null)
|
|
86
86
|
return null;
|
|
87
87
|
if (typeof e.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -106,19 +106,19 @@ function mr() {
|
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
107
|
case g:
|
|
108
108
|
var o = e;
|
|
109
|
-
return
|
|
109
|
+
return $e(o) + ".Consumer";
|
|
110
110
|
case d:
|
|
111
111
|
var a = e;
|
|
112
|
-
return
|
|
112
|
+
return $e(a._context) + ".Provider";
|
|
113
113
|
case u:
|
|
114
|
-
return
|
|
115
|
-
case
|
|
114
|
+
return bt(e, e.render, "ForwardRef");
|
|
115
|
+
case y:
|
|
116
116
|
var f = e.displayName || null;
|
|
117
|
-
return f !== null ? f :
|
|
117
|
+
return f !== null ? f : B(e.type) || "Memo";
|
|
118
118
|
case R: {
|
|
119
|
-
var
|
|
119
|
+
var v = e, _ = v._payload, h = v._init;
|
|
120
120
|
try {
|
|
121
|
-
return
|
|
121
|
+
return B(h(_));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,18 +126,18 @@ function mr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var
|
|
130
|
-
function
|
|
129
|
+
var D = Object.assign, G = 0, Te, Ne, Me, Ie, Be, De, Le;
|
|
130
|
+
function Ue() {
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
function
|
|
132
|
+
Ue.__reactDisabledLog = !0;
|
|
133
|
+
function ht() {
|
|
134
134
|
{
|
|
135
|
-
if (
|
|
136
|
-
Te = console.log,
|
|
135
|
+
if (G === 0) {
|
|
136
|
+
Te = console.log, Ne = console.info, Me = console.warn, Ie = console.error, Be = console.group, De = console.groupCollapsed, Le = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: Ue,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -150,100 +150,100 @@ function mr() {
|
|
|
150
150
|
groupEnd: e
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
G++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
function vt() {
|
|
157
157
|
{
|
|
158
|
-
if (
|
|
158
|
+
if (G--, G === 0) {
|
|
159
159
|
var e = {
|
|
160
160
|
configurable: !0,
|
|
161
161
|
enumerable: !0,
|
|
162
162
|
writable: !0
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
|
-
log:
|
|
165
|
+
log: D({}, e, {
|
|
166
166
|
value: Te
|
|
167
167
|
}),
|
|
168
|
-
info:
|
|
169
|
-
value: $e
|
|
170
|
-
}),
|
|
171
|
-
warn: B({}, e, {
|
|
168
|
+
info: D({}, e, {
|
|
172
169
|
value: Ne
|
|
173
170
|
}),
|
|
174
|
-
|
|
171
|
+
warn: D({}, e, {
|
|
175
172
|
value: Me
|
|
176
173
|
}),
|
|
177
|
-
|
|
174
|
+
error: D({}, e, {
|
|
178
175
|
value: Ie
|
|
179
176
|
}),
|
|
180
|
-
|
|
177
|
+
group: D({}, e, {
|
|
181
178
|
value: Be
|
|
182
179
|
}),
|
|
183
|
-
|
|
180
|
+
groupCollapsed: D({}, e, {
|
|
184
181
|
value: De
|
|
182
|
+
}),
|
|
183
|
+
groupEnd: D({}, e, {
|
|
184
|
+
value: Le
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
G < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
function
|
|
191
|
+
var he = I.ReactCurrentDispatcher, ve;
|
|
192
|
+
function se(e, o, a) {
|
|
193
193
|
{
|
|
194
194
|
if (ve === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
|
-
} catch (
|
|
198
|
-
var f =
|
|
197
|
+
} catch (v) {
|
|
198
|
+
var f = v.stack.trim().match(/\n( *(at )?)/);
|
|
199
199
|
ve = f && f[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
202
|
` + ve + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var ye = !1, ie;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
|
|
207
|
+
var yt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
ie = new yt();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
if (!e ||
|
|
210
|
+
function Fe(e, o) {
|
|
211
|
+
if (!e || ye)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
|
-
var a =
|
|
214
|
+
var a = ie.get(e);
|
|
215
215
|
if (a !== void 0)
|
|
216
216
|
return a;
|
|
217
217
|
}
|
|
218
218
|
var f;
|
|
219
|
-
|
|
220
|
-
var
|
|
219
|
+
ye = !0;
|
|
220
|
+
var v = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var _;
|
|
223
|
-
_ =
|
|
223
|
+
_ = he.current, he.current = null, ht();
|
|
224
224
|
try {
|
|
225
225
|
if (o) {
|
|
226
|
-
var
|
|
226
|
+
var h = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
229
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(h.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(h, []);
|
|
236
236
|
} catch (O) {
|
|
237
237
|
f = O;
|
|
238
238
|
}
|
|
239
|
-
Reflect.construct(e, [],
|
|
239
|
+
Reflect.construct(e, [], h);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
|
-
|
|
242
|
+
h.call();
|
|
243
243
|
} catch (O) {
|
|
244
244
|
f = O;
|
|
245
245
|
}
|
|
246
|
-
e.call(
|
|
246
|
+
e.call(h.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
@@ -266,134 +266,134 @@ function mr() {
|
|
|
266
266
|
if (x--, E--, E < 0 || m[x] !== w[E]) {
|
|
267
267
|
var T = `
|
|
268
268
|
` + m[x].replace(" at new ", " at ");
|
|
269
|
-
return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
269
|
+
return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" && ie.set(e, T), T;
|
|
270
270
|
}
|
|
271
271
|
while (x >= 1 && E >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
ye = !1, he.current = _, vt(), Error.prepareStackTrace = v;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
return typeof e == "function" &&
|
|
278
|
+
var q = e ? e.displayName || e.name : "", L = q ? se(q) : "";
|
|
279
|
+
return typeof e == "function" && ie.set(e, L), L;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function _t(e, o, a) {
|
|
282
|
+
return Fe(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Rt(e) {
|
|
285
285
|
var o = e.prototype;
|
|
286
286
|
return !!(o && o.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function ce(e, o, a) {
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return Fe(e, Rt(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
|
-
return
|
|
294
|
+
return se(e);
|
|
295
295
|
switch (e) {
|
|
296
296
|
case p:
|
|
297
|
-
return
|
|
297
|
+
return se("Suspense");
|
|
298
298
|
case b:
|
|
299
|
-
return
|
|
299
|
+
return se("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case u:
|
|
304
|
-
return
|
|
305
|
-
case
|
|
306
|
-
return
|
|
304
|
+
return _t(e.render);
|
|
305
|
+
case y:
|
|
306
|
+
return ce(e.type, o, a);
|
|
307
307
|
case R: {
|
|
308
|
-
var f = e,
|
|
308
|
+
var f = e, v = f._payload, _ = f._init;
|
|
309
309
|
try {
|
|
310
|
-
return
|
|
310
|
+
return ce(_(v), o, a);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
function
|
|
317
|
+
var X = Object.prototype.hasOwnProperty, We = {}, Ye = I.ReactDebugCurrentFrame;
|
|
318
|
+
function le(e) {
|
|
319
319
|
if (e) {
|
|
320
|
-
var o = e._owner, a =
|
|
321
|
-
|
|
320
|
+
var o = e._owner, a = ce(e.type, e._source, o ? o.type : null);
|
|
321
|
+
Ye.setExtraStackFrame(a);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
Ye.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function St(e, o, a, f, v) {
|
|
326
326
|
{
|
|
327
|
-
var _ = Function.call.bind(
|
|
328
|
-
for (var
|
|
329
|
-
if (_(e,
|
|
327
|
+
var _ = Function.call.bind(X);
|
|
328
|
+
for (var h in e)
|
|
329
|
+
if (_(e, h)) {
|
|
330
330
|
var m = void 0;
|
|
331
331
|
try {
|
|
332
|
-
if (typeof e[
|
|
333
|
-
var w = Error((f || "React class") + ": " + a + " type `" +
|
|
332
|
+
if (typeof e[h] != "function") {
|
|
333
|
+
var w = Error((f || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
334
|
throw w.name = "Invariant Violation", w;
|
|
335
335
|
}
|
|
336
|
-
m = e[
|
|
336
|
+
m = e[h](o, h, f, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
337
|
} catch (x) {
|
|
338
338
|
m = x;
|
|
339
339
|
}
|
|
340
|
-
m && !(m instanceof Error) && (
|
|
340
|
+
m && !(m instanceof Error) && (le(v), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", f || "React class", a, h, typeof m), le(null)), m instanceof Error && !(m.message in We) && (We[m.message] = !0, le(v), A("Failed %s type: %s", a, m.message), le(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
345
|
-
function
|
|
346
|
-
return
|
|
344
|
+
var xt = Array.isArray;
|
|
345
|
+
function _e(e) {
|
|
346
|
+
return xt(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function Et(e) {
|
|
349
349
|
{
|
|
350
350
|
var o = typeof Symbol == "function" && Symbol.toStringTag, a = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return a;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function kt(e) {
|
|
355
355
|
try {
|
|
356
|
-
return
|
|
356
|
+
return qe(e), !1;
|
|
357
357
|
} catch {
|
|
358
358
|
return !0;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function qe(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
if (
|
|
366
|
-
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
364
|
+
function Ve(e) {
|
|
365
|
+
if (kt(e))
|
|
366
|
+
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)), qe(e);
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var He = I.ReactCurrentOwner, At = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
function
|
|
375
|
-
if (
|
|
373
|
+
}, ze, Je;
|
|
374
|
+
function jt(e) {
|
|
375
|
+
if (X.call(e, "ref")) {
|
|
376
376
|
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (o && o.isReactWarning)
|
|
378
378
|
return !1;
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
if (
|
|
382
|
+
function wt(e) {
|
|
383
|
+
if (X.call(e, "key")) {
|
|
384
384
|
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (o && o.isReactWarning)
|
|
386
386
|
return !1;
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function wt(e, o) {
|
|
391
|
-
typeof e.ref == "string" && ze.current;
|
|
392
|
-
}
|
|
393
390
|
function Ot(e, o) {
|
|
391
|
+
typeof e.ref == "string" && He.current;
|
|
392
|
+
}
|
|
393
|
+
function Ct(e, o) {
|
|
394
394
|
{
|
|
395
395
|
var a = function() {
|
|
396
|
-
|
|
396
|
+
ze || (ze = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
397
397
|
};
|
|
398
398
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
399
|
get: a,
|
|
@@ -404,7 +404,7 @@ function mr() {
|
|
|
404
404
|
function Pt(e, o) {
|
|
405
405
|
{
|
|
406
406
|
var a = function() {
|
|
407
|
-
|
|
407
|
+
Je || (Je = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
408
408
|
};
|
|
409
409
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
410
|
get: a,
|
|
@@ -412,7 +412,7 @@ function mr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var $t = function(e, o, a, f, v, _, h) {
|
|
416
416
|
var m = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: r,
|
|
@@ -420,7 +420,7 @@ function mr() {
|
|
|
420
420
|
type: e,
|
|
421
421
|
key: o,
|
|
422
422
|
ref: a,
|
|
423
|
-
props:
|
|
423
|
+
props: h,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
425
|
_owner: _
|
|
426
426
|
};
|
|
@@ -438,44 +438,44 @@ function mr() {
|
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !1,
|
|
441
|
-
value:
|
|
441
|
+
value: v
|
|
442
442
|
}), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
|
|
443
443
|
};
|
|
444
|
-
function Tt(e, o, a, f,
|
|
444
|
+
function Tt(e, o, a, f, v) {
|
|
445
445
|
{
|
|
446
|
-
var _,
|
|
447
|
-
a !== void 0 && (
|
|
446
|
+
var _, h = {}, m = null, w = null;
|
|
447
|
+
a !== void 0 && (Ve(a), m = "" + a), wt(o) && (Ve(o.key), m = "" + o.key), jt(o) && (w = o.ref, Ot(o, v));
|
|
448
448
|
for (_ in o)
|
|
449
|
-
|
|
449
|
+
X.call(o, _) && !At.hasOwnProperty(_) && (h[_] = o[_]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var x = e.defaultProps;
|
|
452
452
|
for (_ in x)
|
|
453
|
-
|
|
453
|
+
h[_] === void 0 && (h[_] = x[_]);
|
|
454
454
|
}
|
|
455
455
|
if (m || w) {
|
|
456
456
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
m &&
|
|
457
|
+
m && Ct(h, E), w && Pt(h, E);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return $t(e, m, w, v, f, He.current, h);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var
|
|
463
|
-
function
|
|
462
|
+
var Re = I.ReactCurrentOwner, Ke = I.ReactDebugCurrentFrame;
|
|
463
|
+
function Y(e) {
|
|
464
464
|
if (e) {
|
|
465
|
-
var o = e._owner, a =
|
|
466
|
-
|
|
465
|
+
var o = e._owner, a = ce(e.type, e._source, o ? o.type : null);
|
|
466
|
+
Ke.setExtraStackFrame(a);
|
|
467
467
|
} else
|
|
468
|
-
|
|
468
|
+
Ke.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
|
|
472
|
-
function
|
|
470
|
+
var Se;
|
|
471
|
+
Se = !1;
|
|
472
|
+
function xe(e) {
|
|
473
473
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Ge() {
|
|
476
476
|
{
|
|
477
|
-
if (
|
|
478
|
-
var e =
|
|
477
|
+
if (Re.current) {
|
|
478
|
+
var e = B(Re.current.type);
|
|
479
479
|
if (e)
|
|
480
480
|
return `
|
|
481
481
|
|
|
@@ -484,13 +484,13 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Nt(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
|
-
var
|
|
491
|
-
function
|
|
490
|
+
var Xe = {};
|
|
491
|
+
function Mt(e) {
|
|
492
492
|
{
|
|
493
|
-
var o =
|
|
493
|
+
var o = Ge();
|
|
494
494
|
if (!o) {
|
|
495
495
|
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
496
496
|
a && (o = `
|
|
@@ -500,39 +500,39 @@ Check the top-level render call using <` + a + ">.");
|
|
|
500
500
|
return o;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Ze(e, o) {
|
|
504
504
|
{
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var a =
|
|
509
|
-
if (
|
|
508
|
+
var a = Mt(o);
|
|
509
|
+
if (Xe[a])
|
|
510
510
|
return;
|
|
511
|
-
|
|
511
|
+
Xe[a] = !0;
|
|
512
512
|
var f = "";
|
|
513
|
-
e && e._owner && e._owner !==
|
|
513
|
+
e && e._owner && e._owner !== Re.current && (f = " It was passed a child from " + B(e._owner.type) + "."), Y(e), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, f), Y(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Qe(e, o) {
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
|
-
if (
|
|
520
|
+
if (_e(e))
|
|
521
521
|
for (var a = 0; a < e.length; a++) {
|
|
522
522
|
var f = e[a];
|
|
523
|
-
|
|
523
|
+
xe(f) && Ze(f, o);
|
|
524
524
|
}
|
|
525
|
-
else if (
|
|
525
|
+
else if (xe(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var
|
|
529
|
-
if (typeof
|
|
530
|
-
for (var _ =
|
|
531
|
-
|
|
528
|
+
var v = J(e);
|
|
529
|
+
if (typeof v == "function" && v !== e.entries)
|
|
530
|
+
for (var _ = v.call(e), h; !(h = _.next()).done; )
|
|
531
|
+
xe(h.value) && Ze(h.value, o);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function It(e) {
|
|
536
536
|
{
|
|
537
537
|
var o = e.type;
|
|
538
538
|
if (o == null || typeof o == "string")
|
|
@@ -542,98 +542,98 @@ Check the top-level render call using <` + a + ">.");
|
|
|
542
542
|
a = o.propTypes;
|
|
543
543
|
else if (typeof o == "object" && (o.$$typeof === u || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
|
-
o.$$typeof ===
|
|
545
|
+
o.$$typeof === y))
|
|
546
546
|
a = o.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
549
|
if (a) {
|
|
550
|
-
var f =
|
|
551
|
-
|
|
552
|
-
} else if (o.PropTypes !== void 0 && !
|
|
553
|
-
|
|
554
|
-
var
|
|
555
|
-
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
550
|
+
var f = B(o);
|
|
551
|
+
St(a, e.props, "prop", f, e);
|
|
552
|
+
} else if (o.PropTypes !== void 0 && !Se) {
|
|
553
|
+
Se = !0;
|
|
554
|
+
var v = B(o);
|
|
555
|
+
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
|
|
556
556
|
}
|
|
557
557
|
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function Bt(e) {
|
|
561
561
|
{
|
|
562
562
|
for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
|
|
563
563
|
var f = o[a];
|
|
564
564
|
if (f !== "children" && f !== "key") {
|
|
565
|
-
|
|
565
|
+
Y(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), Y(null);
|
|
566
566
|
break;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
e.ref !== null && (
|
|
569
|
+
e.ref !== null && (Y(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
572
|
+
var et = {};
|
|
573
|
+
function tt(e, o, a, f, v, _) {
|
|
574
574
|
{
|
|
575
|
-
var
|
|
576
|
-
if (!
|
|
575
|
+
var h = mt(e);
|
|
576
|
+
if (!h) {
|
|
577
577
|
var m = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
|
-
var w =
|
|
580
|
-
w ? m += w : m +=
|
|
579
|
+
var w = Nt();
|
|
580
|
+
w ? m += w : m += Ge();
|
|
581
581
|
var x;
|
|
582
|
-
e === null ? x = "null" :
|
|
582
|
+
e === null ? x = "null" : _e(e) ? x = "array" : e !== void 0 && e.$$typeof === r ? (x = "<" + (B(e.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, m);
|
|
583
583
|
}
|
|
584
|
-
var E = Tt(e, o, a,
|
|
584
|
+
var E = Tt(e, o, a, v, _);
|
|
585
585
|
if (E == null)
|
|
586
586
|
return E;
|
|
587
|
-
if (
|
|
587
|
+
if (h) {
|
|
588
588
|
var T = o.children;
|
|
589
589
|
if (T !== void 0)
|
|
590
590
|
if (f)
|
|
591
|
-
if (
|
|
592
|
-
for (var
|
|
593
|
-
|
|
591
|
+
if (_e(T)) {
|
|
592
|
+
for (var q = 0; q < T.length; q++)
|
|
593
|
+
Qe(T[q], e);
|
|
594
594
|
Object.freeze && Object.freeze(T);
|
|
595
595
|
} else
|
|
596
596
|
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
597
597
|
else
|
|
598
|
-
|
|
598
|
+
Qe(T, e);
|
|
599
599
|
}
|
|
600
|
-
if (
|
|
601
|
-
var
|
|
602
|
-
return
|
|
603
|
-
}),
|
|
604
|
-
if (!
|
|
605
|
-
var
|
|
600
|
+
if (X.call(o, "key")) {
|
|
601
|
+
var L = B(e), O = Object.keys(o).filter(function(Yt) {
|
|
602
|
+
return Yt !== "key";
|
|
603
|
+
}), Ee = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!et[L + Ee]) {
|
|
605
|
+
var Wt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
606
606
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`,
|
|
611
|
+
<%s key={someKey} {...props} />`, Ee, L, Wt, L), et[L + Ee] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === i ?
|
|
614
|
+
return e === i ? Bt(E) : It(E), E;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function Bt(e, o, a) {
|
|
618
|
-
return et(e, o, a, !0);
|
|
619
|
-
}
|
|
620
617
|
function Dt(e, o, a) {
|
|
621
|
-
return
|
|
618
|
+
return tt(e, o, a, !0);
|
|
622
619
|
}
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
620
|
+
function Lt(e, o, a) {
|
|
621
|
+
return tt(e, o, a, !1);
|
|
622
|
+
}
|
|
623
|
+
var Ut = Lt, Ft = Dt;
|
|
624
|
+
nt.Fragment = i, nt.jsx = Ut, nt.jsxs = Ft;
|
|
625
|
+
}()), nt;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var c =
|
|
629
|
-
const
|
|
630
|
-
o:
|
|
631
|
-
x:
|
|
632
|
-
p:
|
|
633
|
-
m:
|
|
627
|
+
process.env.NODE_ENV === "production" ? qt.exports = br() : qt.exports = hr();
|
|
628
|
+
var c = qt.exports;
|
|
629
|
+
const vr = "_o_1apbm_11", yr = "_x_1apbm_24", _r = "_p_1apbm_28", Rr = "_m_1apbm_45", Oe = {
|
|
630
|
+
o: vr,
|
|
631
|
+
x: yr,
|
|
632
|
+
p: _r,
|
|
633
|
+
m: Rr
|
|
634
634
|
};
|
|
635
|
-
let
|
|
636
|
-
var
|
|
635
|
+
let V = {};
|
|
636
|
+
var Vt;
|
|
637
637
|
((t) => {
|
|
638
638
|
function r({
|
|
639
639
|
children: g,
|
|
@@ -641,23 +641,23 @@ var qt;
|
|
|
641
641
|
nameModal: p,
|
|
642
642
|
offsetTop: b
|
|
643
643
|
}) {
|
|
644
|
-
const [
|
|
645
|
-
if (
|
|
646
|
-
|
|
647
|
-
R(!1), k(!1), u == null || u(),
|
|
644
|
+
const [y, R] = M(!1), [S, k] = M(!1);
|
|
645
|
+
if (V[p].onClose = () => {
|
|
646
|
+
C.BackButton(!1), k(!0), setTimeout(() => {
|
|
647
|
+
R(!1), k(!1), u == null || u(), V.x(p);
|
|
648
648
|
}, 300);
|
|
649
|
-
},
|
|
650
|
-
|
|
651
|
-
callback: () =>
|
|
649
|
+
}, H(() => {
|
|
650
|
+
y ? V[p].onClose() : (C.BackButton({
|
|
651
|
+
callback: () => V[p].onClose()
|
|
652
652
|
}), R(!0));
|
|
653
|
-
}, []), !!
|
|
654
|
-
return /* @__PURE__ */ c.jsx("div", { className:
|
|
653
|
+
}, []), !!y)
|
|
654
|
+
return /* @__PURE__ */ c.jsx("div", { className: W(Oe.o, S && Oe.x), children: /* @__PURE__ */ c.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
|
-
className:
|
|
658
|
-
|
|
659
|
-
S &&
|
|
660
|
-
b ?
|
|
657
|
+
className: W(
|
|
658
|
+
Oe.p,
|
|
659
|
+
S && Oe.x,
|
|
660
|
+
b ? Oe.o : Oe.m
|
|
661
661
|
),
|
|
662
662
|
children: g
|
|
663
663
|
}
|
|
@@ -667,22 +667,22 @@ var qt;
|
|
|
667
667
|
function n({
|
|
668
668
|
import_modules: g
|
|
669
669
|
}) {
|
|
670
|
-
let [u, p] =
|
|
671
|
-
return
|
|
672
|
-
p(b ? u.filter((
|
|
673
|
-
},
|
|
674
|
-
g && (
|
|
675
|
-
}, []),
|
|
676
|
-
p([...u, { key:
|
|
670
|
+
let [u, p] = M([]);
|
|
671
|
+
return V.x = (b) => {
|
|
672
|
+
p(b ? u.filter((y) => y.key !== b) : []);
|
|
673
|
+
}, H(() => {
|
|
674
|
+
g && (V.i = g);
|
|
675
|
+
}, []), V.add = (b, y = Date.now()) => {
|
|
676
|
+
p([...u, { key: y, item: b }]);
|
|
677
677
|
}, /* @__PURE__ */ c.jsx(c.Fragment, { children: u.map((b) => b.item) });
|
|
678
678
|
}
|
|
679
679
|
t.Init = n;
|
|
680
680
|
function i(g, u, p) {
|
|
681
|
-
|
|
681
|
+
V.add(
|
|
682
682
|
/* @__PURE__ */ c.jsx(
|
|
683
683
|
r,
|
|
684
684
|
{
|
|
685
|
-
onCallbackModal:
|
|
685
|
+
onCallbackModal: V["callback_modal" + u],
|
|
686
686
|
nameModal: u || "",
|
|
687
687
|
offsetTop: p,
|
|
688
688
|
children: g
|
|
@@ -694,7 +694,7 @@ var qt;
|
|
|
694
694
|
}
|
|
695
695
|
t.Add = i;
|
|
696
696
|
function s(g, u = Date.now().toString(), p) {
|
|
697
|
-
return
|
|
697
|
+
return V[u] = {}, {
|
|
698
698
|
Open: (R) => {
|
|
699
699
|
t.Add(
|
|
700
700
|
/* @__PURE__ */ c.jsx(
|
|
@@ -717,33 +717,33 @@ var qt;
|
|
|
717
717
|
}
|
|
718
718
|
t.Create = s;
|
|
719
719
|
function l(g) {
|
|
720
|
-
|
|
720
|
+
V[g].onClose();
|
|
721
721
|
}
|
|
722
722
|
t.Close = l;
|
|
723
723
|
function d(g, u, p, b) {
|
|
724
|
-
|
|
724
|
+
V.i && (b && (p.callback = b), V.i(`${g}/modals/${u}.tsx`).then((y) => {
|
|
725
725
|
var R;
|
|
726
|
-
|
|
726
|
+
y.Open ? y.Open(p) : (R = y.default) != null && R.Open ? y.default.Open(p) : y.default && y.default(p);
|
|
727
727
|
}));
|
|
728
728
|
}
|
|
729
729
|
t.Open = d;
|
|
730
|
-
})(
|
|
731
|
-
function
|
|
730
|
+
})(Vt || (Vt = {}));
|
|
731
|
+
function ar() {
|
|
732
732
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
733
733
|
}
|
|
734
|
-
const
|
|
734
|
+
const sr = {
|
|
735
735
|
key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
|
|
736
736
|
iterations: 7,
|
|
737
737
|
saltLength: 16
|
|
738
738
|
};
|
|
739
|
-
function
|
|
740
|
-
const r =
|
|
741
|
-
r.CRYPTO_PARAMS ? r.CRYPTO_PARAMS = { ...r.CRYPTO_PARAMS, ...t } : r.CRYPTO_PARAMS = { ...
|
|
739
|
+
function Xt(t) {
|
|
740
|
+
const r = ar();
|
|
741
|
+
r.CRYPTO_PARAMS ? r.CRYPTO_PARAMS = { ...r.CRYPTO_PARAMS, ...t } : r.CRYPTO_PARAMS = { ...sr, ...t };
|
|
742
742
|
}
|
|
743
|
-
function
|
|
744
|
-
return
|
|
743
|
+
function ft() {
|
|
744
|
+
return ar().CRYPTO_PARAMS || sr;
|
|
745
745
|
}
|
|
746
|
-
const
|
|
746
|
+
const dt = (t) => {
|
|
747
747
|
let r = 0;
|
|
748
748
|
for (let i = 0; i < t.length; i++) {
|
|
749
749
|
const s = t.charCodeAt(i);
|
|
@@ -756,15 +756,15 @@ const ft = (t) => {
|
|
|
756
756
|
n += s.toString(16).padStart(2, "0");
|
|
757
757
|
}
|
|
758
758
|
return n;
|
|
759
|
-
},
|
|
759
|
+
}, ir = (t, r) => {
|
|
760
760
|
let n = t + r;
|
|
761
|
-
for (let s = 0; s <
|
|
762
|
-
n =
|
|
761
|
+
for (let s = 0; s < ft().iterations; s++)
|
|
762
|
+
n = dt(n);
|
|
763
763
|
const i = new Uint8Array(32);
|
|
764
764
|
for (let s = 0; s < 32; s++)
|
|
765
765
|
i[s] = parseInt(n.substring(s * 2, s * 2 + 2), 16);
|
|
766
766
|
return i;
|
|
767
|
-
},
|
|
767
|
+
}, cr = (t, r) => {
|
|
768
768
|
const n = new Uint8Array(t.length), i = new Uint8Array(t.length);
|
|
769
769
|
let s = 0;
|
|
770
770
|
for (let l = 0; l < t.length; l++) {
|
|
@@ -774,34 +774,34 @@ const ft = (t) => {
|
|
|
774
774
|
for (let l = 0; l < t.length; l++)
|
|
775
775
|
n[l] = t[l] ^ i[l];
|
|
776
776
|
return n;
|
|
777
|
-
},
|
|
777
|
+
}, Sr = (t) => new TextEncoder().encode(t), xr = (t) => new TextDecoder().decode(t), Er = (t) => {
|
|
778
778
|
let r = "";
|
|
779
779
|
for (let n = 0; n < t.length; n += 8192) {
|
|
780
780
|
const i = t.slice(n, Math.min(n + 8192, t.length));
|
|
781
781
|
r += String.fromCharCode.apply(null, Array.from(i));
|
|
782
782
|
}
|
|
783
783
|
return btoa(r);
|
|
784
|
-
},
|
|
784
|
+
}, kr = (t) => {
|
|
785
785
|
const r = atob(t), n = new Uint8Array(r.length);
|
|
786
786
|
for (let i = 0; i < r.length; i++)
|
|
787
787
|
n[i] = r.charCodeAt(i);
|
|
788
788
|
return n;
|
|
789
|
-
},
|
|
789
|
+
}, Ar = (t) => {
|
|
790
790
|
try {
|
|
791
|
-
const r =
|
|
791
|
+
const r = dt(
|
|
792
792
|
Date.now().toString() + Math.random()
|
|
793
|
-
).substring(0,
|
|
793
|
+
).substring(0, ft().saltLength * 2), n = dt(t + r).substring(0, 8), i = ir(ft().key, r), s = Sr(t), l = cr(s, i), d = Er(l);
|
|
794
794
|
return `${r}.${d}.${n}`;
|
|
795
795
|
} catch {
|
|
796
796
|
throw new Error("Не удалось зашифровать данные");
|
|
797
797
|
}
|
|
798
|
-
},
|
|
798
|
+
}, jr = (t) => {
|
|
799
799
|
try {
|
|
800
800
|
const r = t.split(".");
|
|
801
801
|
if (r.length !== 3)
|
|
802
802
|
throw new Error("Неверный формат зашифрованных данных");
|
|
803
|
-
const n = r[0], i = r[1], s = r[2], l =
|
|
804
|
-
if (
|
|
803
|
+
const n = r[0], i = r[1], s = r[2], l = ir(ft().key, n), d = kr(i), g = cr(d, l), u = xr(g);
|
|
804
|
+
if (dt(u + n).substring(
|
|
805
805
|
0,
|
|
806
806
|
8
|
|
807
807
|
) !== s)
|
|
@@ -811,14 +811,14 @@ const ft = (t) => {
|
|
|
811
811
|
return "";
|
|
812
812
|
}
|
|
813
813
|
};
|
|
814
|
-
var
|
|
814
|
+
var be;
|
|
815
815
|
((t) => {
|
|
816
816
|
t.setKey = (r) => {
|
|
817
|
-
|
|
817
|
+
Xt({ key: r });
|
|
818
818
|
}, t.enCode = (r) => {
|
|
819
819
|
try {
|
|
820
820
|
const n = JSON.stringify(r);
|
|
821
|
-
return
|
|
821
|
+
return Ar(n);
|
|
822
822
|
} catch {
|
|
823
823
|
throw new Error("Не удалось зашифровать объект");
|
|
824
824
|
}
|
|
@@ -826,16 +826,16 @@ var me;
|
|
|
826
826
|
try {
|
|
827
827
|
if (!r || r.length < 10)
|
|
828
828
|
return !1;
|
|
829
|
-
const n =
|
|
829
|
+
const n = jr(r);
|
|
830
830
|
return n && JSON.parse(n) || !1;
|
|
831
831
|
} catch {
|
|
832
832
|
return !1;
|
|
833
833
|
}
|
|
834
834
|
}, t.setSecurityParams = (r, n) => {
|
|
835
|
-
|
|
835
|
+
Xt({ iterations: r, saltLength: n });
|
|
836
836
|
};
|
|
837
|
-
})(
|
|
838
|
-
var
|
|
837
|
+
})(be || (be = {}));
|
|
838
|
+
var ot = {};
|
|
839
839
|
/**
|
|
840
840
|
* @license React
|
|
841
841
|
* react-jsx-runtime.production.min.js
|
|
@@ -845,21 +845,21 @@ var nt = {};
|
|
|
845
845
|
* This source code is licensed under the MIT license found in the
|
|
846
846
|
* LICENSE file in the root directory of this source tree.
|
|
847
847
|
*/
|
|
848
|
-
var
|
|
849
|
-
function
|
|
850
|
-
if (
|
|
851
|
-
|
|
848
|
+
var Zt;
|
|
849
|
+
function wr() {
|
|
850
|
+
if (Zt) return ot;
|
|
851
|
+
Zt = 1;
|
|
852
852
|
var t = $, 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, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
853
853
|
function d(g, u, p) {
|
|
854
|
-
var b,
|
|
854
|
+
var b, y = {}, R = null, S = null;
|
|
855
855
|
p !== void 0 && (R = "" + p), u.key !== void 0 && (R = "" + u.key), u.ref !== void 0 && (S = u.ref);
|
|
856
|
-
for (b in u) i.call(u, b) && !l.hasOwnProperty(b) && (
|
|
857
|
-
if (g && g.defaultProps) for (b in u = g.defaultProps, u)
|
|
858
|
-
return { $$typeof: r, type: g, key: R, ref: S, props:
|
|
856
|
+
for (b in u) i.call(u, b) && !l.hasOwnProperty(b) && (y[b] = u[b]);
|
|
857
|
+
if (g && g.defaultProps) for (b in u = g.defaultProps, u) y[b] === void 0 && (y[b] = u[b]);
|
|
858
|
+
return { $$typeof: r, type: g, key: R, ref: S, props: y, _owner: s.current };
|
|
859
859
|
}
|
|
860
|
-
return
|
|
860
|
+
return ot.Fragment = n, ot.jsx = d, ot.jsxs = d, ot;
|
|
861
861
|
}
|
|
862
|
-
var
|
|
862
|
+
var ct = {};
|
|
863
863
|
/**
|
|
864
864
|
* @license React
|
|
865
865
|
* react-jsx-runtime.development.js
|
|
@@ -869,14 +869,14 @@ var st = {};
|
|
|
869
869
|
* This source code is licensed under the MIT license found in the
|
|
870
870
|
* LICENSE file in the root directory of this source tree.
|
|
871
871
|
*/
|
|
872
|
-
var
|
|
873
|
-
function
|
|
874
|
-
return
|
|
875
|
-
var t = $, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), g = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"),
|
|
876
|
-
function
|
|
872
|
+
var Qt;
|
|
873
|
+
function Or() {
|
|
874
|
+
return Qt || (Qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
|
+
var t = $, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), g = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), k = Symbol.iterator, N = "@@iterator";
|
|
876
|
+
function J(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
879
|
-
var o = k && e[k] || e[
|
|
879
|
+
var o = k && e[k] || e[N];
|
|
880
880
|
return typeof o == "function" ? o : null;
|
|
881
881
|
}
|
|
882
882
|
var I = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -884,39 +884,39 @@ function jr() {
|
|
|
884
884
|
{
|
|
885
885
|
for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), f = 1; f < o; f++)
|
|
886
886
|
a[f - 1] = arguments[f];
|
|
887
|
-
|
|
887
|
+
K("error", e, a);
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function K(e, o, a) {
|
|
891
891
|
{
|
|
892
|
-
var f = I.ReactDebugCurrentFrame,
|
|
893
|
-
|
|
894
|
-
var _ = a.map(function(
|
|
895
|
-
return String(
|
|
892
|
+
var f = I.ReactDebugCurrentFrame, v = f.getStackAddendum();
|
|
893
|
+
v !== "" && (o += "%s", a = a.concat([v]));
|
|
894
|
+
var _ = a.map(function(h) {
|
|
895
|
+
return String(h);
|
|
896
896
|
});
|
|
897
897
|
_.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, _);
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
|
-
var
|
|
900
|
+
var je = !1, we = !1, ae = !1, de = !1, gt = !1, Pe;
|
|
901
901
|
Pe = Symbol.for("react.module.reference");
|
|
902
|
-
function
|
|
903
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === l ||
|
|
902
|
+
function mt(e) {
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === l || gt || e === s || e === p || e === b || de || e === S || je || we || ae || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === y || e.$$typeof === d || e.$$typeof === g || e.$$typeof === u || // This needs to include all possible module reference object
|
|
904
904
|
// types supported by any Flight configuration anywhere since
|
|
905
905
|
// we don't know which Flight build this will end up being used
|
|
906
906
|
// with.
|
|
907
907
|
e.$$typeof === Pe || e.getModuleId !== void 0));
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function bt(e, o, a) {
|
|
910
910
|
var f = e.displayName;
|
|
911
911
|
if (f)
|
|
912
912
|
return f;
|
|
913
|
-
var
|
|
914
|
-
return
|
|
913
|
+
var v = o.displayName || o.name || "";
|
|
914
|
+
return v !== "" ? a + "(" + v + ")" : a;
|
|
915
915
|
}
|
|
916
|
-
function
|
|
916
|
+
function $e(e) {
|
|
917
917
|
return e.displayName || "Context";
|
|
918
918
|
}
|
|
919
|
-
function
|
|
919
|
+
function B(e) {
|
|
920
920
|
if (e == null)
|
|
921
921
|
return null;
|
|
922
922
|
if (typeof e.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -941,19 +941,19 @@ function jr() {
|
|
|
941
941
|
switch (e.$$typeof) {
|
|
942
942
|
case g:
|
|
943
943
|
var o = e;
|
|
944
|
-
return
|
|
944
|
+
return $e(o) + ".Consumer";
|
|
945
945
|
case d:
|
|
946
946
|
var a = e;
|
|
947
|
-
return
|
|
947
|
+
return $e(a._context) + ".Provider";
|
|
948
948
|
case u:
|
|
949
|
-
return
|
|
950
|
-
case
|
|
949
|
+
return bt(e, e.render, "ForwardRef");
|
|
950
|
+
case y:
|
|
951
951
|
var f = e.displayName || null;
|
|
952
|
-
return f !== null ? f :
|
|
952
|
+
return f !== null ? f : B(e.type) || "Memo";
|
|
953
953
|
case R: {
|
|
954
|
-
var
|
|
954
|
+
var v = e, _ = v._payload, h = v._init;
|
|
955
955
|
try {
|
|
956
|
-
return
|
|
956
|
+
return B(h(_));
|
|
957
957
|
} catch {
|
|
958
958
|
return null;
|
|
959
959
|
}
|
|
@@ -961,18 +961,18 @@ function jr() {
|
|
|
961
961
|
}
|
|
962
962
|
return null;
|
|
963
963
|
}
|
|
964
|
-
var
|
|
965
|
-
function
|
|
964
|
+
var D = Object.assign, G = 0, Te, Ne, Me, Ie, Be, De, Le;
|
|
965
|
+
function Ue() {
|
|
966
966
|
}
|
|
967
|
-
|
|
968
|
-
function
|
|
967
|
+
Ue.__reactDisabledLog = !0;
|
|
968
|
+
function ht() {
|
|
969
969
|
{
|
|
970
|
-
if (
|
|
971
|
-
Te = console.log,
|
|
970
|
+
if (G === 0) {
|
|
971
|
+
Te = console.log, Ne = console.info, Me = console.warn, Ie = console.error, Be = console.group, De = console.groupCollapsed, Le = console.groupEnd;
|
|
972
972
|
var e = {
|
|
973
973
|
configurable: !0,
|
|
974
974
|
enumerable: !0,
|
|
975
|
-
value:
|
|
975
|
+
value: Ue,
|
|
976
976
|
writable: !0
|
|
977
977
|
};
|
|
978
978
|
Object.defineProperties(console, {
|
|
@@ -985,100 +985,100 @@ function jr() {
|
|
|
985
985
|
groupEnd: e
|
|
986
986
|
});
|
|
987
987
|
}
|
|
988
|
-
|
|
988
|
+
G++;
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
function vt() {
|
|
992
992
|
{
|
|
993
|
-
if (
|
|
993
|
+
if (G--, G === 0) {
|
|
994
994
|
var e = {
|
|
995
995
|
configurable: !0,
|
|
996
996
|
enumerable: !0,
|
|
997
997
|
writable: !0
|
|
998
998
|
};
|
|
999
999
|
Object.defineProperties(console, {
|
|
1000
|
-
log:
|
|
1000
|
+
log: D({}, e, {
|
|
1001
1001
|
value: Te
|
|
1002
1002
|
}),
|
|
1003
|
-
info:
|
|
1004
|
-
value: $e
|
|
1005
|
-
}),
|
|
1006
|
-
warn: B({}, e, {
|
|
1003
|
+
info: D({}, e, {
|
|
1007
1004
|
value: Ne
|
|
1008
1005
|
}),
|
|
1009
|
-
|
|
1006
|
+
warn: D({}, e, {
|
|
1010
1007
|
value: Me
|
|
1011
1008
|
}),
|
|
1012
|
-
|
|
1009
|
+
error: D({}, e, {
|
|
1013
1010
|
value: Ie
|
|
1014
1011
|
}),
|
|
1015
|
-
|
|
1012
|
+
group: D({}, e, {
|
|
1016
1013
|
value: Be
|
|
1017
1014
|
}),
|
|
1018
|
-
|
|
1015
|
+
groupCollapsed: D({}, e, {
|
|
1019
1016
|
value: De
|
|
1017
|
+
}),
|
|
1018
|
+
groupEnd: D({}, e, {
|
|
1019
|
+
value: Le
|
|
1020
1020
|
})
|
|
1021
1021
|
});
|
|
1022
1022
|
}
|
|
1023
|
-
|
|
1023
|
+
G < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
|
-
var
|
|
1027
|
-
function
|
|
1026
|
+
var he = I.ReactCurrentDispatcher, ve;
|
|
1027
|
+
function se(e, o, a) {
|
|
1028
1028
|
{
|
|
1029
1029
|
if (ve === void 0)
|
|
1030
1030
|
try {
|
|
1031
1031
|
throw Error();
|
|
1032
|
-
} catch (
|
|
1033
|
-
var f =
|
|
1032
|
+
} catch (v) {
|
|
1033
|
+
var f = v.stack.trim().match(/\n( *(at )?)/);
|
|
1034
1034
|
ve = f && f[1] || "";
|
|
1035
1035
|
}
|
|
1036
1036
|
return `
|
|
1037
1037
|
` + ve + e;
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
|
-
var
|
|
1040
|
+
var ye = !1, ie;
|
|
1041
1041
|
{
|
|
1042
|
-
var
|
|
1043
|
-
|
|
1042
|
+
var yt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1043
|
+
ie = new yt();
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1046
|
-
if (!e ||
|
|
1045
|
+
function Fe(e, o) {
|
|
1046
|
+
if (!e || ye)
|
|
1047
1047
|
return "";
|
|
1048
1048
|
{
|
|
1049
|
-
var a =
|
|
1049
|
+
var a = ie.get(e);
|
|
1050
1050
|
if (a !== void 0)
|
|
1051
1051
|
return a;
|
|
1052
1052
|
}
|
|
1053
1053
|
var f;
|
|
1054
|
-
|
|
1055
|
-
var
|
|
1054
|
+
ye = !0;
|
|
1055
|
+
var v = Error.prepareStackTrace;
|
|
1056
1056
|
Error.prepareStackTrace = void 0;
|
|
1057
1057
|
var _;
|
|
1058
|
-
_ =
|
|
1058
|
+
_ = he.current, he.current = null, ht();
|
|
1059
1059
|
try {
|
|
1060
1060
|
if (o) {
|
|
1061
|
-
var
|
|
1061
|
+
var h = function() {
|
|
1062
1062
|
throw Error();
|
|
1063
1063
|
};
|
|
1064
|
-
if (Object.defineProperty(
|
|
1064
|
+
if (Object.defineProperty(h.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(h, []);
|
|
1071
1071
|
} catch (O) {
|
|
1072
1072
|
f = O;
|
|
1073
1073
|
}
|
|
1074
|
-
Reflect.construct(e, [],
|
|
1074
|
+
Reflect.construct(e, [], h);
|
|
1075
1075
|
} else {
|
|
1076
1076
|
try {
|
|
1077
|
-
|
|
1077
|
+
h.call();
|
|
1078
1078
|
} catch (O) {
|
|
1079
1079
|
f = O;
|
|
1080
1080
|
}
|
|
1081
|
-
e.call(
|
|
1081
|
+
e.call(h.prototype);
|
|
1082
1082
|
}
|
|
1083
1083
|
} else {
|
|
1084
1084
|
try {
|
|
@@ -1101,134 +1101,134 @@ function jr() {
|
|
|
1101
1101
|
if (x--, E--, E < 0 || m[x] !== w[E]) {
|
|
1102
1102
|
var T = `
|
|
1103
1103
|
` + m[x].replace(" at new ", " at ");
|
|
1104
|
-
return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
1104
|
+
return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" && ie.set(e, T), T;
|
|
1105
1105
|
}
|
|
1106
1106
|
while (x >= 1 && E >= 0);
|
|
1107
1107
|
break;
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
} finally {
|
|
1111
|
-
|
|
1111
|
+
ye = !1, he.current = _, vt(), Error.prepareStackTrace = v;
|
|
1112
1112
|
}
|
|
1113
|
-
var
|
|
1114
|
-
return typeof e == "function" &&
|
|
1113
|
+
var q = e ? e.displayName || e.name : "", L = q ? se(q) : "";
|
|
1114
|
+
return typeof e == "function" && ie.set(e, L), L;
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1117
|
-
return
|
|
1116
|
+
function _t(e, o, a) {
|
|
1117
|
+
return Fe(e, !1);
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function Rt(e) {
|
|
1120
1120
|
var o = e.prototype;
|
|
1121
1121
|
return !!(o && o.isReactComponent);
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function ce(e, o, a) {
|
|
1124
1124
|
if (e == null)
|
|
1125
1125
|
return "";
|
|
1126
1126
|
if (typeof e == "function")
|
|
1127
|
-
return
|
|
1127
|
+
return Fe(e, Rt(e));
|
|
1128
1128
|
if (typeof e == "string")
|
|
1129
|
-
return
|
|
1129
|
+
return se(e);
|
|
1130
1130
|
switch (e) {
|
|
1131
1131
|
case p:
|
|
1132
|
-
return
|
|
1132
|
+
return se("Suspense");
|
|
1133
1133
|
case b:
|
|
1134
|
-
return
|
|
1134
|
+
return se("SuspenseList");
|
|
1135
1135
|
}
|
|
1136
1136
|
if (typeof e == "object")
|
|
1137
1137
|
switch (e.$$typeof) {
|
|
1138
1138
|
case u:
|
|
1139
|
-
return
|
|
1140
|
-
case
|
|
1141
|
-
return
|
|
1139
|
+
return _t(e.render);
|
|
1140
|
+
case y:
|
|
1141
|
+
return ce(e.type, o, a);
|
|
1142
1142
|
case R: {
|
|
1143
|
-
var f = e,
|
|
1143
|
+
var f = e, v = f._payload, _ = f._init;
|
|
1144
1144
|
try {
|
|
1145
|
-
return
|
|
1145
|
+
return ce(_(v), o, a);
|
|
1146
1146
|
} catch {
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
1150
|
return "";
|
|
1151
1151
|
}
|
|
1152
|
-
var
|
|
1153
|
-
function
|
|
1152
|
+
var X = Object.prototype.hasOwnProperty, We = {}, Ye = I.ReactDebugCurrentFrame;
|
|
1153
|
+
function le(e) {
|
|
1154
1154
|
if (e) {
|
|
1155
|
-
var o = e._owner, a =
|
|
1156
|
-
|
|
1155
|
+
var o = e._owner, a = ce(e.type, e._source, o ? o.type : null);
|
|
1156
|
+
Ye.setExtraStackFrame(a);
|
|
1157
1157
|
} else
|
|
1158
|
-
|
|
1158
|
+
Ye.setExtraStackFrame(null);
|
|
1159
1159
|
}
|
|
1160
|
-
function
|
|
1160
|
+
function St(e, o, a, f, v) {
|
|
1161
1161
|
{
|
|
1162
|
-
var _ = Function.call.bind(
|
|
1163
|
-
for (var
|
|
1164
|
-
if (_(e,
|
|
1162
|
+
var _ = Function.call.bind(X);
|
|
1163
|
+
for (var h in e)
|
|
1164
|
+
if (_(e, h)) {
|
|
1165
1165
|
var m = void 0;
|
|
1166
1166
|
try {
|
|
1167
|
-
if (typeof e[
|
|
1168
|
-
var w = Error((f || "React class") + ": " + a + " type `" +
|
|
1167
|
+
if (typeof e[h] != "function") {
|
|
1168
|
+
var w = Error((f || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1169
1169
|
throw w.name = "Invariant Violation", w;
|
|
1170
1170
|
}
|
|
1171
|
-
m = e[
|
|
1171
|
+
m = e[h](o, h, f, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1172
1172
|
} catch (x) {
|
|
1173
1173
|
m = x;
|
|
1174
1174
|
}
|
|
1175
|
-
m && !(m instanceof Error) && (
|
|
1175
|
+
m && !(m instanceof Error) && (le(v), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", f || "React class", a, h, typeof m), le(null)), m instanceof Error && !(m.message in We) && (We[m.message] = !0, le(v), A("Failed %s type: %s", a, m.message), le(null));
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
1179
|
-
var
|
|
1180
|
-
function
|
|
1181
|
-
return
|
|
1179
|
+
var xt = Array.isArray;
|
|
1180
|
+
function _e(e) {
|
|
1181
|
+
return xt(e);
|
|
1182
1182
|
}
|
|
1183
|
-
function
|
|
1183
|
+
function Et(e) {
|
|
1184
1184
|
{
|
|
1185
1185
|
var o = typeof Symbol == "function" && Symbol.toStringTag, a = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1186
1186
|
return a;
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1189
|
+
function kt(e) {
|
|
1190
1190
|
try {
|
|
1191
|
-
return
|
|
1191
|
+
return qe(e), !1;
|
|
1192
1192
|
} catch {
|
|
1193
1193
|
return !0;
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1196
|
+
function qe(e) {
|
|
1197
1197
|
return "" + e;
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1200
|
-
if (
|
|
1201
|
-
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1199
|
+
function Ve(e) {
|
|
1200
|
+
if (kt(e))
|
|
1201
|
+
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)), qe(e);
|
|
1202
1202
|
}
|
|
1203
|
-
var
|
|
1203
|
+
var He = I.ReactCurrentOwner, At = {
|
|
1204
1204
|
key: !0,
|
|
1205
1205
|
ref: !0,
|
|
1206
1206
|
__self: !0,
|
|
1207
1207
|
__source: !0
|
|
1208
|
-
},
|
|
1209
|
-
function
|
|
1210
|
-
if (
|
|
1208
|
+
}, ze, Je;
|
|
1209
|
+
function jt(e) {
|
|
1210
|
+
if (X.call(e, "ref")) {
|
|
1211
1211
|
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1212
1212
|
if (o && o.isReactWarning)
|
|
1213
1213
|
return !1;
|
|
1214
1214
|
}
|
|
1215
1215
|
return e.ref !== void 0;
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1218
|
-
if (
|
|
1217
|
+
function wt(e) {
|
|
1218
|
+
if (X.call(e, "key")) {
|
|
1219
1219
|
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1220
1220
|
if (o && o.isReactWarning)
|
|
1221
1221
|
return !1;
|
|
1222
1222
|
}
|
|
1223
1223
|
return e.key !== void 0;
|
|
1224
1224
|
}
|
|
1225
|
-
function wt(e, o) {
|
|
1226
|
-
typeof e.ref == "string" && ze.current;
|
|
1227
|
-
}
|
|
1228
1225
|
function Ot(e, o) {
|
|
1226
|
+
typeof e.ref == "string" && He.current;
|
|
1227
|
+
}
|
|
1228
|
+
function Ct(e, o) {
|
|
1229
1229
|
{
|
|
1230
1230
|
var a = function() {
|
|
1231
|
-
|
|
1231
|
+
ze || (ze = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
1232
1232
|
};
|
|
1233
1233
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1234
1234
|
get: a,
|
|
@@ -1239,7 +1239,7 @@ function jr() {
|
|
|
1239
1239
|
function Pt(e, o) {
|
|
1240
1240
|
{
|
|
1241
1241
|
var a = function() {
|
|
1242
|
-
|
|
1242
|
+
Je || (Je = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
1243
1243
|
};
|
|
1244
1244
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1245
1245
|
get: a,
|
|
@@ -1247,7 +1247,7 @@ function jr() {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
var
|
|
1250
|
+
var $t = function(e, o, a, f, v, _, h) {
|
|
1251
1251
|
var m = {
|
|
1252
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1253
1253
|
$$typeof: r,
|
|
@@ -1255,7 +1255,7 @@ function jr() {
|
|
|
1255
1255
|
type: e,
|
|
1256
1256
|
key: o,
|
|
1257
1257
|
ref: a,
|
|
1258
|
-
props:
|
|
1258
|
+
props: h,
|
|
1259
1259
|
// Record the component responsible for creating this element.
|
|
1260
1260
|
_owner: _
|
|
1261
1261
|
};
|
|
@@ -1273,44 +1273,44 @@ function jr() {
|
|
|
1273
1273
|
configurable: !1,
|
|
1274
1274
|
enumerable: !1,
|
|
1275
1275
|
writable: !1,
|
|
1276
|
-
value:
|
|
1276
|
+
value: v
|
|
1277
1277
|
}), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
|
|
1278
1278
|
};
|
|
1279
|
-
function Tt(e, o, a, f,
|
|
1279
|
+
function Tt(e, o, a, f, v) {
|
|
1280
1280
|
{
|
|
1281
|
-
var _,
|
|
1282
|
-
a !== void 0 && (
|
|
1281
|
+
var _, h = {}, m = null, w = null;
|
|
1282
|
+
a !== void 0 && (Ve(a), m = "" + a), wt(o) && (Ve(o.key), m = "" + o.key), jt(o) && (w = o.ref, Ot(o));
|
|
1283
1283
|
for (_ in o)
|
|
1284
|
-
|
|
1284
|
+
X.call(o, _) && !At.hasOwnProperty(_) && (h[_] = o[_]);
|
|
1285
1285
|
if (e && e.defaultProps) {
|
|
1286
1286
|
var x = e.defaultProps;
|
|
1287
1287
|
for (_ in x)
|
|
1288
|
-
|
|
1288
|
+
h[_] === void 0 && (h[_] = x[_]);
|
|
1289
1289
|
}
|
|
1290
1290
|
if (m || w) {
|
|
1291
1291
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1292
|
-
m &&
|
|
1292
|
+
m && Ct(h, E), w && Pt(h, E);
|
|
1293
1293
|
}
|
|
1294
|
-
return
|
|
1294
|
+
return $t(e, m, w, v, f, He.current, h);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
|
-
var
|
|
1298
|
-
function
|
|
1297
|
+
var Re = I.ReactCurrentOwner, Ke = I.ReactDebugCurrentFrame;
|
|
1298
|
+
function Y(e) {
|
|
1299
1299
|
if (e) {
|
|
1300
|
-
var o = e._owner, a =
|
|
1301
|
-
|
|
1300
|
+
var o = e._owner, a = ce(e.type, e._source, o ? o.type : null);
|
|
1301
|
+
Ke.setExtraStackFrame(a);
|
|
1302
1302
|
} else
|
|
1303
|
-
|
|
1303
|
+
Ke.setExtraStackFrame(null);
|
|
1304
1304
|
}
|
|
1305
|
-
var
|
|
1306
|
-
|
|
1307
|
-
function
|
|
1305
|
+
var Se;
|
|
1306
|
+
Se = !1;
|
|
1307
|
+
function xe(e) {
|
|
1308
1308
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function Ge() {
|
|
1311
1311
|
{
|
|
1312
|
-
if (
|
|
1313
|
-
var e =
|
|
1312
|
+
if (Re.current) {
|
|
1313
|
+
var e = B(Re.current.type);
|
|
1314
1314
|
if (e)
|
|
1315
1315
|
return `
|
|
1316
1316
|
|
|
@@ -1319,13 +1319,13 @@ Check the render method of \`` + e + "`.";
|
|
|
1319
1319
|
return "";
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function Nt(e) {
|
|
1323
1323
|
return "";
|
|
1324
1324
|
}
|
|
1325
|
-
var
|
|
1326
|
-
function
|
|
1325
|
+
var Xe = {};
|
|
1326
|
+
function Mt(e) {
|
|
1327
1327
|
{
|
|
1328
|
-
var o =
|
|
1328
|
+
var o = Ge();
|
|
1329
1329
|
if (!o) {
|
|
1330
1330
|
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
1331
1331
|
a && (o = `
|
|
@@ -1335,39 +1335,39 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1335
1335
|
return o;
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
|
-
function
|
|
1338
|
+
function Ze(e, o) {
|
|
1339
1339
|
{
|
|
1340
1340
|
if (!e._store || e._store.validated || e.key != null)
|
|
1341
1341
|
return;
|
|
1342
1342
|
e._store.validated = !0;
|
|
1343
|
-
var a =
|
|
1344
|
-
if (
|
|
1343
|
+
var a = Mt(o);
|
|
1344
|
+
if (Xe[a])
|
|
1345
1345
|
return;
|
|
1346
|
-
|
|
1346
|
+
Xe[a] = !0;
|
|
1347
1347
|
var f = "";
|
|
1348
|
-
e && e._owner && e._owner !==
|
|
1348
|
+
e && e._owner && e._owner !== Re.current && (f = " It was passed a child from " + B(e._owner.type) + "."), Y(e), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, f), Y(null);
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1351
|
+
function Qe(e, o) {
|
|
1352
1352
|
{
|
|
1353
1353
|
if (typeof e != "object")
|
|
1354
1354
|
return;
|
|
1355
|
-
if (
|
|
1355
|
+
if (_e(e))
|
|
1356
1356
|
for (var a = 0; a < e.length; a++) {
|
|
1357
1357
|
var f = e[a];
|
|
1358
|
-
|
|
1358
|
+
xe(f) && Ze(f, o);
|
|
1359
1359
|
}
|
|
1360
|
-
else if (
|
|
1360
|
+
else if (xe(e))
|
|
1361
1361
|
e._store && (e._store.validated = !0);
|
|
1362
1362
|
else if (e) {
|
|
1363
|
-
var
|
|
1364
|
-
if (typeof
|
|
1365
|
-
for (var _ =
|
|
1366
|
-
|
|
1363
|
+
var v = J(e);
|
|
1364
|
+
if (typeof v == "function" && v !== e.entries)
|
|
1365
|
+
for (var _ = v.call(e), h; !(h = _.next()).done; )
|
|
1366
|
+
xe(h.value) && Ze(h.value, o);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function It(e) {
|
|
1371
1371
|
{
|
|
1372
1372
|
var o = e.type;
|
|
1373
1373
|
if (o == null || typeof o == "string")
|
|
@@ -1377,94 +1377,94 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1377
1377
|
a = o.propTypes;
|
|
1378
1378
|
else if (typeof o == "object" && (o.$$typeof === u || // Note: Memo only checks outer props here.
|
|
1379
1379
|
// Inner props are checked in the reconciler.
|
|
1380
|
-
o.$$typeof ===
|
|
1380
|
+
o.$$typeof === y))
|
|
1381
1381
|
a = o.propTypes;
|
|
1382
1382
|
else
|
|
1383
1383
|
return;
|
|
1384
1384
|
if (a) {
|
|
1385
|
-
var f =
|
|
1386
|
-
|
|
1387
|
-
} else if (o.PropTypes !== void 0 && !
|
|
1388
|
-
|
|
1389
|
-
var
|
|
1390
|
-
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
1385
|
+
var f = B(o);
|
|
1386
|
+
St(a, e.props, "prop", f, e);
|
|
1387
|
+
} else if (o.PropTypes !== void 0 && !Se) {
|
|
1388
|
+
Se = !0;
|
|
1389
|
+
var v = B(o);
|
|
1390
|
+
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
|
|
1391
1391
|
}
|
|
1392
1392
|
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1395
|
+
function Bt(e) {
|
|
1396
1396
|
{
|
|
1397
1397
|
for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
|
|
1398
1398
|
var f = o[a];
|
|
1399
1399
|
if (f !== "children" && f !== "key") {
|
|
1400
|
-
|
|
1400
|
+
Y(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), Y(null);
|
|
1401
1401
|
break;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
e.ref !== null && (
|
|
1404
|
+
e.ref !== null && (Y(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
|
-
var
|
|
1408
|
-
function
|
|
1407
|
+
var et = {};
|
|
1408
|
+
function tt(e, o, a, f, v, _) {
|
|
1409
1409
|
{
|
|
1410
|
-
var
|
|
1411
|
-
if (!
|
|
1410
|
+
var h = mt(e);
|
|
1411
|
+
if (!h) {
|
|
1412
1412
|
var m = "";
|
|
1413
1413
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1414
|
-
var w =
|
|
1415
|
-
w ? m += w : m +=
|
|
1414
|
+
var w = Nt();
|
|
1415
|
+
w ? m += w : m += Ge();
|
|
1416
1416
|
var x;
|
|
1417
|
-
e === null ? x = "null" :
|
|
1417
|
+
e === null ? x = "null" : _e(e) ? x = "array" : e !== void 0 && e.$$typeof === r ? (x = "<" + (B(e.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, m);
|
|
1418
1418
|
}
|
|
1419
|
-
var E = Tt(e, o, a,
|
|
1419
|
+
var E = Tt(e, o, a, v, _);
|
|
1420
1420
|
if (E == null)
|
|
1421
1421
|
return E;
|
|
1422
|
-
if (
|
|
1422
|
+
if (h) {
|
|
1423
1423
|
var T = o.children;
|
|
1424
1424
|
if (T !== void 0)
|
|
1425
1425
|
if (f)
|
|
1426
|
-
if (
|
|
1427
|
-
for (var
|
|
1428
|
-
|
|
1426
|
+
if (_e(T)) {
|
|
1427
|
+
for (var q = 0; q < T.length; q++)
|
|
1428
|
+
Qe(T[q], e);
|
|
1429
1429
|
Object.freeze && Object.freeze(T);
|
|
1430
1430
|
} else
|
|
1431
1431
|
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1432
1432
|
else
|
|
1433
|
-
|
|
1433
|
+
Qe(T, e);
|
|
1434
1434
|
}
|
|
1435
|
-
if (
|
|
1436
|
-
var
|
|
1437
|
-
return
|
|
1438
|
-
}),
|
|
1439
|
-
if (!
|
|
1440
|
-
var
|
|
1435
|
+
if (X.call(o, "key")) {
|
|
1436
|
+
var L = B(e), O = Object.keys(o).filter(function(Yt) {
|
|
1437
|
+
return Yt !== "key";
|
|
1438
|
+
}), Ee = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1439
|
+
if (!et[L + Ee]) {
|
|
1440
|
+
var Wt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
1441
1441
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
1442
1442
|
let props = %s;
|
|
1443
1443
|
<%s {...props} />
|
|
1444
1444
|
React keys must be passed directly to JSX without using spread:
|
|
1445
1445
|
let props = %s;
|
|
1446
|
-
<%s key={someKey} {...props} />`,
|
|
1446
|
+
<%s key={someKey} {...props} />`, Ee, L, Wt, L), et[L + Ee] = !0;
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
|
-
return e === i ?
|
|
1449
|
+
return e === i ? Bt(E) : It(E), E;
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
|
-
function Bt(e, o, a) {
|
|
1453
|
-
return et(e, o, a, !0);
|
|
1454
|
-
}
|
|
1455
1452
|
function Dt(e, o, a) {
|
|
1456
|
-
return
|
|
1453
|
+
return tt(e, o, a, !0);
|
|
1454
|
+
}
|
|
1455
|
+
function Lt(e, o, a) {
|
|
1456
|
+
return tt(e, o, a, !1);
|
|
1457
1457
|
}
|
|
1458
|
-
var
|
|
1459
|
-
|
|
1460
|
-
}()),
|
|
1458
|
+
var Ut = Lt, Ft = Dt;
|
|
1459
|
+
ct.Fragment = i, ct.jsx = Ut, ct.jsxs = Ft;
|
|
1460
|
+
}()), ct;
|
|
1461
1461
|
}
|
|
1462
|
-
process.env.NODE_ENV === "production" ?
|
|
1463
|
-
const
|
|
1464
|
-
version:
|
|
1465
|
-
},
|
|
1462
|
+
process.env.NODE_ENV === "production" ? wr() : Or();
|
|
1463
|
+
const Cr = "0.0.46", lr = {
|
|
1464
|
+
version: Cr
|
|
1465
|
+
}, fe = {}, F = {
|
|
1466
1466
|
module: "",
|
|
1467
|
-
v:
|
|
1467
|
+
v: lr.version,
|
|
1468
1468
|
page: "Main",
|
|
1469
1469
|
auth: "Auth",
|
|
1470
1470
|
STORAGE: "f",
|
|
@@ -1482,14 +1482,14 @@ const wr = "0.0.46", cr = {
|
|
|
1482
1482
|
id: 0
|
|
1483
1483
|
}
|
|
1484
1484
|
};
|
|
1485
|
-
function
|
|
1485
|
+
function ne() {
|
|
1486
1486
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1487
1487
|
}
|
|
1488
|
-
|
|
1489
|
-
Object.assign(
|
|
1490
|
-
function
|
|
1488
|
+
ne().elcrm || (ne().elcrm = {});
|
|
1489
|
+
Object.assign(ne().elcrm, { router: lr.version });
|
|
1490
|
+
function oe(t) {
|
|
1491
1491
|
var r, n, i, s;
|
|
1492
|
-
const l =
|
|
1492
|
+
const l = ne();
|
|
1493
1493
|
if (l.ROUTER_PARAMS) {
|
|
1494
1494
|
t.debug || l.ROUTER_PARAMS.debug;
|
|
1495
1495
|
const d = {
|
|
@@ -1504,32 +1504,32 @@ function te(t) {
|
|
|
1504
1504
|
prev: d
|
|
1505
1505
|
};
|
|
1506
1506
|
} else {
|
|
1507
|
-
t.debug ||
|
|
1507
|
+
t.debug || F.debug;
|
|
1508
1508
|
const d = {
|
|
1509
|
-
page:
|
|
1510
|
-
module:
|
|
1511
|
-
tab:
|
|
1512
|
-
id:
|
|
1509
|
+
page: F == null ? void 0 : F.page,
|
|
1510
|
+
module: F == null ? void 0 : F.module,
|
|
1511
|
+
tab: F == null ? void 0 : F.tab,
|
|
1512
|
+
id: F == null ? void 0 : F.id
|
|
1513
1513
|
};
|
|
1514
|
-
l.ROUTER_PARAMS = { ...
|
|
1514
|
+
l.ROUTER_PARAMS = { ...F, ...t, prev: d };
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
1517
1517
|
function j() {
|
|
1518
|
-
return
|
|
1518
|
+
return ne().ROUTER_PARAMS || F;
|
|
1519
1519
|
}
|
|
1520
1520
|
function Ae(t) {
|
|
1521
|
-
const r =
|
|
1522
|
-
r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...
|
|
1521
|
+
const r = ne();
|
|
1522
|
+
r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...F }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((n) => {
|
|
1523
1523
|
r.ROUTER_PARAMS.LISTENER[n] || (r.ROUTER_PARAMS.LISTENER[n] = []), Array.isArray(r.ROUTER_PARAMS.LISTENER[n]) || (r.ROUTER_PARAMS.LISTENER[n] = [
|
|
1524
1524
|
r.ROUTER_PARAMS.LISTENER[n]
|
|
1525
1525
|
]), r.ROUTER_PARAMS.LISTENER[n].includes(t[n]) || r.ROUTER_PARAMS.LISTENER[n].push(t[n]);
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function Q() {
|
|
1529
1529
|
var t;
|
|
1530
|
-
const r =
|
|
1531
|
-
let n = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) ||
|
|
1532
|
-
return n || (n = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = n :
|
|
1530
|
+
const r = ne();
|
|
1531
|
+
let n = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || F.LISTENER;
|
|
1532
|
+
return n || (n = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = n : F.LISTENER = n), new Proxy(n, {
|
|
1533
1533
|
get(i, s) {
|
|
1534
1534
|
const l = i[s];
|
|
1535
1535
|
return Array.isArray(l) && l.length > 0 ? (...d) => {
|
|
@@ -1546,14 +1546,14 @@ function Z() {
|
|
|
1546
1546
|
}
|
|
1547
1547
|
});
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function er(t, r) {
|
|
1550
1550
|
const n = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1551
1551
|
for (const [i, s] of Object.entries(r))
|
|
1552
1552
|
if (i.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === n)
|
|
1553
1553
|
return s;
|
|
1554
1554
|
return null;
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function Ht(t) {
|
|
1557
1557
|
const {
|
|
1558
1558
|
basePath: r = ".",
|
|
1559
1559
|
devExtensions: n = [".tsx", ".ts", ".jsx", ".js"],
|
|
@@ -1575,16 +1575,16 @@ function zt(t) {
|
|
|
1575
1575
|
}
|
|
1576
1576
|
};
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1578
|
+
function Pr(t) {
|
|
1579
1579
|
const { basePath: r = ".", modules: n, pages: i } = t || {};
|
|
1580
1580
|
return (s) => {
|
|
1581
1581
|
if (n) {
|
|
1582
|
-
const d =
|
|
1582
|
+
const d = er(s, n);
|
|
1583
1583
|
if (d)
|
|
1584
1584
|
return d();
|
|
1585
1585
|
}
|
|
1586
1586
|
if (i) {
|
|
1587
|
-
const d =
|
|
1587
|
+
const d = er(s, i);
|
|
1588
1588
|
if (d)
|
|
1589
1589
|
return d();
|
|
1590
1590
|
}
|
|
@@ -1603,19 +1603,19 @@ function Or(t) {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1607
|
-
return r || n ?
|
|
1606
|
+
function tr(t = ".", r, n) {
|
|
1607
|
+
return r || n ? Pr({
|
|
1608
1608
|
basePath: t,
|
|
1609
1609
|
modules: r,
|
|
1610
1610
|
pages: n
|
|
1611
|
-
}) :
|
|
1611
|
+
}) : Ht({ basePath: t });
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function $r() {
|
|
1614
1614
|
var t;
|
|
1615
1615
|
let r = sessionStorage.getItem("f");
|
|
1616
1616
|
if (r) {
|
|
1617
|
-
if (r =
|
|
1618
|
-
|
|
1617
|
+
if (r = be.deCode(r), !r) return !1;
|
|
1618
|
+
oe({
|
|
1619
1619
|
id: r.id,
|
|
1620
1620
|
tab: r.tab,
|
|
1621
1621
|
page: r.page,
|
|
@@ -1625,7 +1625,7 @@ function Pr() {
|
|
|
1625
1625
|
module_admin: r.module_admin
|
|
1626
1626
|
});
|
|
1627
1627
|
} else
|
|
1628
|
-
|
|
1628
|
+
oe({
|
|
1629
1629
|
id: 0,
|
|
1630
1630
|
tab: "",
|
|
1631
1631
|
page: (t = localStorage.getItem("d")) != null && t.length ? j().page : j().auth,
|
|
@@ -1633,30 +1633,30 @@ function Pr() {
|
|
|
1633
1633
|
});
|
|
1634
1634
|
return !0;
|
|
1635
1635
|
}
|
|
1636
|
-
function
|
|
1636
|
+
function ur() {
|
|
1637
1637
|
return j().page;
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1639
|
+
function fr() {
|
|
1640
1640
|
return j().module || "";
|
|
1641
1641
|
}
|
|
1642
|
-
function
|
|
1642
|
+
function Jt() {
|
|
1643
1643
|
return j().tab;
|
|
1644
1644
|
}
|
|
1645
|
-
function
|
|
1645
|
+
function dr() {
|
|
1646
1646
|
return j().id;
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1649
|
-
let r = (s) => (
|
|
1650
|
-
const [n, i] =
|
|
1651
|
-
|
|
1648
|
+
function Tr(t) {
|
|
1649
|
+
let r = (s) => (oe({ page: s }), s);
|
|
1650
|
+
const [n, i] = M(
|
|
1651
|
+
ur() || t && r(t) || j().page
|
|
1652
1652
|
);
|
|
1653
|
-
return
|
|
1653
|
+
return H(() => {
|
|
1654
1654
|
const s = (l) => {
|
|
1655
1655
|
i(l);
|
|
1656
1656
|
};
|
|
1657
1657
|
return Ae({ page: s }), () => {
|
|
1658
1658
|
var l, d;
|
|
1659
|
-
const g =
|
|
1659
|
+
const g = ne();
|
|
1660
1660
|
if ((d = (l = g.ROUTER_PARAMS) == null ? void 0 : l.LISTENER) != null && d.page) {
|
|
1661
1661
|
const u = g.ROUTER_PARAMS.LISTENER.page;
|
|
1662
1662
|
if (Array.isArray(u)) {
|
|
@@ -1667,57 +1667,57 @@ function Cr(t) {
|
|
|
1667
1667
|
};
|
|
1668
1668
|
}, []), n;
|
|
1669
1669
|
}
|
|
1670
|
-
function
|
|
1671
|
-
|
|
1670
|
+
function Nr(t, r = !0, n = {}) {
|
|
1671
|
+
oe({ page: t, ...n }), sessionStorage.setItem(
|
|
1672
1672
|
j().STORAGE,
|
|
1673
|
-
|
|
1674
|
-
), r &&
|
|
1673
|
+
be.enCode(j())
|
|
1674
|
+
), r && Q().page(t);
|
|
1675
1675
|
}
|
|
1676
|
-
function
|
|
1676
|
+
function Mr(t) {
|
|
1677
1677
|
return j().page === t;
|
|
1678
1678
|
}
|
|
1679
|
-
function
|
|
1679
|
+
function Ir() {
|
|
1680
1680
|
return j().prev;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1683
|
-
const [n, i] =
|
|
1684
|
-
|
|
1682
|
+
function Br(t, r) {
|
|
1683
|
+
const [n, i] = M(
|
|
1684
|
+
fr() || t || j().module
|
|
1685
1685
|
);
|
|
1686
|
-
return
|
|
1687
|
-
const s =
|
|
1686
|
+
return H(() => (Ae({ module: i }), () => {
|
|
1687
|
+
const s = Q();
|
|
1688
1688
|
s.module === i && delete s.module;
|
|
1689
1689
|
}), []), n;
|
|
1690
1690
|
}
|
|
1691
|
-
function
|
|
1692
|
-
|
|
1691
|
+
function Dr(t, r = !0) {
|
|
1692
|
+
oe({ module: t }), sessionStorage.setItem(
|
|
1693
1693
|
j().STORAGE,
|
|
1694
|
-
|
|
1695
|
-
), r &&
|
|
1694
|
+
be.enCode(j())
|
|
1695
|
+
), r && Q().module(t);
|
|
1696
1696
|
}
|
|
1697
|
-
function
|
|
1697
|
+
function Lr(t) {
|
|
1698
1698
|
return j().module === t;
|
|
1699
1699
|
}
|
|
1700
|
-
function
|
|
1700
|
+
function Ur(t, r) {
|
|
1701
1701
|
if (typeof t != "function") {
|
|
1702
|
-
const [n, i] =
|
|
1703
|
-
return Ae({ tabs: l }), r &&
|
|
1702
|
+
const [n, i] = M(!r), [s, l] = M(t || Jt());
|
|
1703
|
+
return Ae({ tabs: l }), r && H(() => {
|
|
1704
1704
|
i(!0);
|
|
1705
1705
|
}, []), [s, n];
|
|
1706
1706
|
} else
|
|
1707
1707
|
Ae({ tabs: t });
|
|
1708
1708
|
}
|
|
1709
|
-
function
|
|
1710
|
-
let r = (s) => (
|
|
1711
|
-
const [n, i] =
|
|
1712
|
-
|
|
1709
|
+
function Fr(t) {
|
|
1710
|
+
let r = (s) => (oe({ tab: s }), s);
|
|
1711
|
+
const [n, i] = M(
|
|
1712
|
+
Jt() || t && r(t) || j().tab
|
|
1713
1713
|
);
|
|
1714
|
-
return
|
|
1714
|
+
return H(() => {
|
|
1715
1715
|
const s = (l) => {
|
|
1716
1716
|
i(l);
|
|
1717
1717
|
};
|
|
1718
1718
|
return Ae({ tabs: s }), () => {
|
|
1719
1719
|
var l, d;
|
|
1720
|
-
const g =
|
|
1720
|
+
const g = ne();
|
|
1721
1721
|
if ((d = (l = g.ROUTER_PARAMS) == null ? void 0 : l.LISTENER) != null && d.tabs) {
|
|
1722
1722
|
const u = g.ROUTER_PARAMS.LISTENER.tabs;
|
|
1723
1723
|
if (Array.isArray(u)) {
|
|
@@ -1728,31 +1728,31 @@ function Lr(t) {
|
|
|
1728
1728
|
};
|
|
1729
1729
|
}, []), n;
|
|
1730
1730
|
}
|
|
1731
|
-
async function
|
|
1732
|
-
|
|
1731
|
+
async function Wr(t, r = !0) {
|
|
1732
|
+
oe({ tab: t }), sessionStorage.setItem(
|
|
1733
1733
|
j().STORAGE,
|
|
1734
|
-
|
|
1735
|
-
), r && (
|
|
1734
|
+
be.enCode(j())
|
|
1735
|
+
), r && (Q().tabs && Q().tabs(t));
|
|
1736
1736
|
}
|
|
1737
|
-
function
|
|
1737
|
+
function Yr(t) {
|
|
1738
1738
|
return j().tab === t;
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1740
|
+
function qr(t) {
|
|
1741
1741
|
if (typeof t != "function") {
|
|
1742
|
-
const [r, n] =
|
|
1743
|
-
return
|
|
1742
|
+
const [r, n] = M(t || dr());
|
|
1743
|
+
return H(() => {
|
|
1744
1744
|
const i = (s) => {
|
|
1745
1745
|
n(s);
|
|
1746
1746
|
};
|
|
1747
1747
|
return Ae({ id: i }), () => {
|
|
1748
|
-
const s =
|
|
1748
|
+
const s = Q();
|
|
1749
1749
|
s.id === i && delete s.id;
|
|
1750
1750
|
};
|
|
1751
1751
|
}, []), r;
|
|
1752
1752
|
} else
|
|
1753
|
-
|
|
1753
|
+
H(() => (Ae({ id: t }), () => {
|
|
1754
1754
|
var r, n;
|
|
1755
|
-
const i =
|
|
1755
|
+
const i = ne();
|
|
1756
1756
|
if ((n = (r = i.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && n.id) {
|
|
1757
1757
|
const s = i.ROUTER_PARAMS.LISTENER.id;
|
|
1758
1758
|
if (Array.isArray(s)) {
|
|
@@ -1762,28 +1762,28 @@ function Wr(t) {
|
|
|
1762
1762
|
}
|
|
1763
1763
|
}), [t]);
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function Vr(t) {
|
|
1766
1766
|
}
|
|
1767
|
-
async function
|
|
1768
|
-
|
|
1767
|
+
async function Hr(t, r = !0) {
|
|
1768
|
+
oe({ id: t }), sessionStorage.setItem(
|
|
1769
1769
|
j().STORAGE,
|
|
1770
|
-
|
|
1771
|
-
), r &&
|
|
1770
|
+
be.enCode(j())
|
|
1771
|
+
), r && Q().id(t);
|
|
1772
1772
|
}
|
|
1773
1773
|
function zr(t) {
|
|
1774
1774
|
return Number(j().id) === t;
|
|
1775
1775
|
}
|
|
1776
|
-
async function
|
|
1776
|
+
async function Jr(t) {
|
|
1777
1777
|
var r, n, i, s, l, d, g, u;
|
|
1778
|
-
const { page: p, module: b, tab:
|
|
1779
|
-
p !== void 0 && (
|
|
1778
|
+
const { page: p, module: b, tab: y, id: R } = t;
|
|
1779
|
+
p !== void 0 && (fe.page = p), b !== void 0 && (fe.module = b), y !== void 0 && (fe.tab = y), R !== void 0 && (fe.id = R), oe({ ...fe }), R !== void 0 && ((n = (r = Q()).id) == null || n.call(r, R)), y !== void 0 && ((s = (i = Q()).tabs) == null || s.call(i, y)), b !== void 0 && ((d = (l = Q()).module) == null || d.call(l, b)), p !== void 0 && ((u = (g = Q()).page) == null || u.call(g, p)), sessionStorage.setItem(
|
|
1780
1780
|
j().STORAGE,
|
|
1781
|
-
|
|
1781
|
+
be.enCode(j())
|
|
1782
1782
|
);
|
|
1783
1783
|
}
|
|
1784
|
-
const
|
|
1784
|
+
const Ce = {
|
|
1785
1785
|
Reset() {
|
|
1786
|
-
|
|
1786
|
+
fe.id = 0, fe.tab = "", fe.page = j().page, fe.module = j().module;
|
|
1787
1787
|
},
|
|
1788
1788
|
Default({
|
|
1789
1789
|
module: t = j().module,
|
|
@@ -1797,79 +1797,79 @@ const Oe = {
|
|
|
1797
1797
|
glob: u
|
|
1798
1798
|
// Поддержка единого glob объекта для упрощения
|
|
1799
1799
|
}) {
|
|
1800
|
-
let p = l, b = d,
|
|
1801
|
-
u ? (b = typeof d == "object" ? d : u,
|
|
1800
|
+
let p = l, b = d, y = g;
|
|
1801
|
+
u ? (b = typeof d == "object" ? d : u, y = typeof g == "object" ? g : u) : (b = b || u, y = y || u), !p && (b || y) ? !u && (typeof b == "string" || typeof y == "string") ? p = Ht({ basePath: s }) : p = tr(
|
|
1802
1802
|
s,
|
|
1803
1803
|
b,
|
|
1804
|
-
|
|
1805
|
-
) : p || (p =
|
|
1804
|
+
y
|
|
1805
|
+
) : p || (p = Ht({ basePath: s })), oe({
|
|
1806
1806
|
page: r,
|
|
1807
1807
|
module: t,
|
|
1808
1808
|
auth: n,
|
|
1809
1809
|
debug: i,
|
|
1810
1810
|
dir: s,
|
|
1811
1811
|
importModules: p
|
|
1812
|
-
}),
|
|
1812
|
+
}), $r();
|
|
1813
1813
|
},
|
|
1814
1814
|
// Упрощенная функция для создания importModules
|
|
1815
|
-
createImportModules:
|
|
1815
|
+
createImportModules: tr,
|
|
1816
1816
|
getImportModules: () => j().importModules,
|
|
1817
1817
|
// Методы страниц
|
|
1818
|
-
usePage:
|
|
1819
|
-
setPage:
|
|
1820
|
-
getPage:
|
|
1821
|
-
isPage:
|
|
1822
|
-
getBack:
|
|
1818
|
+
usePage: Tr,
|
|
1819
|
+
setPage: Nr,
|
|
1820
|
+
getPage: ur,
|
|
1821
|
+
isPage: Mr,
|
|
1822
|
+
getBack: Ir,
|
|
1823
1823
|
// Методы модулей
|
|
1824
|
-
useModule:
|
|
1825
|
-
setModule:
|
|
1826
|
-
getModule:
|
|
1827
|
-
isModule:
|
|
1824
|
+
useModule: Br,
|
|
1825
|
+
setModule: Dr,
|
|
1826
|
+
getModule: fr,
|
|
1827
|
+
isModule: Lr,
|
|
1828
1828
|
// Методы вкладок
|
|
1829
|
-
useTabs:
|
|
1830
|
-
useTab:
|
|
1831
|
-
setTabs:
|
|
1832
|
-
getTabs:
|
|
1833
|
-
isTabs:
|
|
1829
|
+
useTabs: Ur,
|
|
1830
|
+
useTab: Fr,
|
|
1831
|
+
setTabs: Wr,
|
|
1832
|
+
getTabs: Jt,
|
|
1833
|
+
isTabs: Yr,
|
|
1834
1834
|
// Методы ID
|
|
1835
|
-
useId:
|
|
1836
|
-
subId:
|
|
1837
|
-
setId:
|
|
1838
|
-
getId:
|
|
1835
|
+
useId: qr,
|
|
1836
|
+
subId: Vr,
|
|
1837
|
+
setId: Hr,
|
|
1838
|
+
getId: dr,
|
|
1839
1839
|
isId: zr,
|
|
1840
1840
|
// Навигация
|
|
1841
|
-
navigate:
|
|
1842
|
-
},
|
|
1843
|
-
n:
|
|
1844
|
-
i:
|
|
1845
|
-
closing:
|
|
1846
|
-
t:
|
|
1847
|
-
e:
|
|
1848
|
-
s:
|
|
1849
|
-
w:
|
|
1850
|
-
h:
|
|
1841
|
+
navigate: Jr
|
|
1842
|
+
}, Kr = "_n_gla2k_1", Gr = "_i_gla2k_12", Xr = "_closing_gla2k_53", Zr = "_t_gla2k_60", Qr = "_e_gla2k_64", en = "_s_gla2k_67", tn = "_w_gla2k_70", rn = "_h_gla2k_73", ge = {
|
|
1843
|
+
n: Kr,
|
|
1844
|
+
i: Gr,
|
|
1845
|
+
closing: Xr,
|
|
1846
|
+
t: Zr,
|
|
1847
|
+
e: Qr,
|
|
1848
|
+
s: en,
|
|
1849
|
+
w: tn,
|
|
1850
|
+
h: rn
|
|
1851
1851
|
};
|
|
1852
|
-
let
|
|
1853
|
-
function
|
|
1852
|
+
let pt = {};
|
|
1853
|
+
function nn() {
|
|
1854
1854
|
const [t, r] = $.useState([]);
|
|
1855
|
-
return
|
|
1855
|
+
return pt.set = (n) => {
|
|
1856
1856
|
r([...t, n]);
|
|
1857
|
-
},
|
|
1857
|
+
}, pt.del = (n) => {
|
|
1858
1858
|
t.forEach((i, s) => {
|
|
1859
1859
|
i.key === n && t.splice(s, 1);
|
|
1860
1860
|
}), r(t);
|
|
1861
|
-
}, t.length === 0 ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsx("div", { className:
|
|
1861
|
+
}, t.length === 0 ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsx("div", { className: ge.n, children: t.map((n) => n.item) });
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1863
|
+
function on(t) {
|
|
1864
1864
|
let r = (/* @__PURE__ */ new Date()).getTime();
|
|
1865
|
-
t.key = r,
|
|
1865
|
+
t.key = r, pt.set({ item: /* @__PURE__ */ c.jsx(an, { data: t }, r), key: r });
|
|
1866
1866
|
}
|
|
1867
|
-
function
|
|
1867
|
+
function an(t) {
|
|
1868
1868
|
const r = t.data;
|
|
1869
1869
|
let [n] = $.useState("show"), [i, s] = $.useState(!1), [l, d] = $.useState(!1);
|
|
1870
1870
|
const g = () => {
|
|
1871
1871
|
d(!0), setTimeout(() => {
|
|
1872
|
-
s(!0),
|
|
1872
|
+
s(!0), pt.del(r.key);
|
|
1873
1873
|
}, 300);
|
|
1874
1874
|
};
|
|
1875
1875
|
$.useEffect(() => {
|
|
@@ -1896,18 +1896,18 @@ function nn(t) {
|
|
|
1896
1896
|
break;
|
|
1897
1897
|
}
|
|
1898
1898
|
const p = {
|
|
1899
|
-
error:
|
|
1900
|
-
success:
|
|
1901
|
-
warning:
|
|
1899
|
+
error: ge.e,
|
|
1900
|
+
success: ge.s,
|
|
1901
|
+
warning: ge.w
|
|
1902
1902
|
};
|
|
1903
1903
|
return /* @__PURE__ */ c.jsx(c.Fragment, { children: i ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsxs(
|
|
1904
1904
|
"div",
|
|
1905
1905
|
{
|
|
1906
|
-
className:
|
|
1907
|
-
|
|
1906
|
+
className: W(
|
|
1907
|
+
ge.i,
|
|
1908
1908
|
p[r.type],
|
|
1909
|
-
r.thema !== void 0 ?
|
|
1910
|
-
l &&
|
|
1909
|
+
r.thema !== void 0 ? ge.h : "",
|
|
1910
|
+
l && ge.closing
|
|
1911
1911
|
),
|
|
1912
1912
|
"data-status": n,
|
|
1913
1913
|
onClick: g,
|
|
@@ -1923,7 +1923,7 @@ function nn(t) {
|
|
|
1923
1923
|
children: u
|
|
1924
1924
|
}
|
|
1925
1925
|
),
|
|
1926
|
-
/* @__PURE__ */ c.jsxs("span", { className:
|
|
1926
|
+
/* @__PURE__ */ c.jsxs("span", { className: ge.t, children: [
|
|
1927
1927
|
r.title && /* @__PURE__ */ c.jsx("b", { children: r.title }),
|
|
1928
1928
|
r.text && /* @__PURE__ */ c.jsx("p", { children: r.text })
|
|
1929
1929
|
] })
|
|
@@ -1931,26 +1931,26 @@ function nn(t) {
|
|
|
1931
1931
|
}
|
|
1932
1932
|
) });
|
|
1933
1933
|
}
|
|
1934
|
-
let
|
|
1935
|
-
Send:
|
|
1936
|
-
Init:
|
|
1934
|
+
let ke = {
|
|
1935
|
+
Send: on,
|
|
1936
|
+
Init: nn
|
|
1937
1937
|
};
|
|
1938
|
-
const
|
|
1939
|
-
d:
|
|
1940
|
-
b:
|
|
1941
|
-
o:
|
|
1942
|
-
m:
|
|
1943
|
-
t:
|
|
1944
|
-
a:
|
|
1945
|
-
v:
|
|
1946
|
-
},
|
|
1938
|
+
const sn = "_d_1u25q_1", cn = "_b_1u25q_21", ln = "_o_1u25q_25", un = "_m_1u25q_30", fn = "_t_1u25q_41", dn = "_a_1u25q_108", pn = "_v_1u25q_118", me = {
|
|
1939
|
+
d: sn,
|
|
1940
|
+
b: cn,
|
|
1941
|
+
o: ln,
|
|
1942
|
+
m: un,
|
|
1943
|
+
t: fn,
|
|
1944
|
+
a: dn,
|
|
1945
|
+
v: pn
|
|
1946
|
+
}, z = {
|
|
1947
1947
|
is: !1,
|
|
1948
1948
|
MainButton: {},
|
|
1949
1949
|
BackButton: {},
|
|
1950
1950
|
styled: "default"
|
|
1951
1951
|
};
|
|
1952
|
-
let
|
|
1953
|
-
|
|
1952
|
+
let P = {};
|
|
1953
|
+
P.dark = {
|
|
1954
1954
|
"--tg-color-scheme": "dark",
|
|
1955
1955
|
"--tg-theme-bg-color": "#000000",
|
|
1956
1956
|
"--tg-theme-text-color": "#ffffff",
|
|
@@ -1968,7 +1968,7 @@ C.dark = {
|
|
|
1968
1968
|
"--tg-theme-section-separator-color": "#545458",
|
|
1969
1969
|
"--tg-theme-bottom-bar-bg-color": "#1d1d1d"
|
|
1970
1970
|
};
|
|
1971
|
-
|
|
1971
|
+
P.light = {
|
|
1972
1972
|
"--tg-color-scheme": "light",
|
|
1973
1973
|
"--tg-theme-subtitle-text-color": "#8e8e93",
|
|
1974
1974
|
"--tg-theme-destructive-text-color": "#ff3b30",
|
|
@@ -1986,7 +1986,7 @@ C.light = {
|
|
|
1986
1986
|
"--tg-theme-text-color": "#000000",
|
|
1987
1987
|
"--tg-theme-section-bg-color": "#f8f8f8"
|
|
1988
1988
|
};
|
|
1989
|
-
|
|
1989
|
+
P.users = {
|
|
1990
1990
|
"--tg-color-scheme": "users",
|
|
1991
1991
|
"--tg-theme-bg-color": "#000000",
|
|
1992
1992
|
"--tg-theme-text-color": "#ffffff",
|
|
@@ -1996,74 +1996,74 @@ C.users = {
|
|
|
1996
1996
|
"--tg-theme-button-text-color": "#000000",
|
|
1997
1997
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1998
1998
|
};
|
|
1999
|
-
const
|
|
1999
|
+
const gn = ({ style: t = "default", theme: r }) => {
|
|
2000
2000
|
if (location.hostname === "localhost") {
|
|
2001
|
-
let [n, i] =
|
|
2002
|
-
|
|
2001
|
+
let [n, i] = M(!1), [s, l] = M(!1), [d, g] = M(r || "dark"), [u, p] = M(!1), [b, y] = M(!1);
|
|
2002
|
+
z.is = !0, z.MainButton.set = i, z.BackButton.set = l, z.styled = t, H(() => {
|
|
2003
2003
|
var k;
|
|
2004
|
-
|
|
2005
|
-
for (let
|
|
2004
|
+
P[d]["--tg-theme-bg-color-alpha"] = P[d]["--tg-theme-bg-color"] + "b3", P[d]["--tg-theme-secondary-bg-color-alpha"] = P[d]["--tg-theme-secondary-bg-color"] + "d3", P[d]["--tg-theme-bg-color-alpha-25"] = P[d]["--tg-theme-bg-color"] + "40", P[d]["--tg-theme-secondary-bg-color-alpha-25"] = P[d]["--tg-theme-secondary-bg-color"] + "40";
|
|
2005
|
+
for (let N in P[d])
|
|
2006
2006
|
document.documentElement.style.setProperty(
|
|
2007
|
-
|
|
2008
|
-
|
|
2007
|
+
N,
|
|
2008
|
+
P[d][N]
|
|
2009
2009
|
);
|
|
2010
2010
|
document.documentElement.setAttribute(
|
|
2011
2011
|
"data-color-scheme",
|
|
2012
|
-
|
|
2012
|
+
P[d]["--tg-color-scheme"]
|
|
2013
2013
|
), document.documentElement.setAttribute("data-style", t), document.documentElement.style.setProperty(
|
|
2014
2014
|
"--tg-content-safe-area-inset-top",
|
|
2015
2015
|
"0px"
|
|
2016
|
-
), ((k =
|
|
2016
|
+
), ((k = Z.safeAreaInset) == null ? void 0 : k.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
2017
2017
|
"--tg-safe-area-inset-bottom",
|
|
2018
2018
|
"16px"
|
|
2019
|
-
) :
|
|
2019
|
+
) : Z.safeAreaInset || document.documentElement.style.setProperty(
|
|
2020
2020
|
"--tg-safe-area-inset-bottom",
|
|
2021
2021
|
"16px"
|
|
2022
2022
|
);
|
|
2023
2023
|
}, []);
|
|
2024
2024
|
let R = (k) => {
|
|
2025
|
-
for (let
|
|
2026
|
-
document.documentElement.style.setProperty(
|
|
2025
|
+
for (let N in P[k])
|
|
2026
|
+
document.documentElement.style.setProperty(N, P[k][N]), document.documentElement.setAttribute(
|
|
2027
2027
|
"data-color-scheme",
|
|
2028
2028
|
k
|
|
2029
2029
|
);
|
|
2030
2030
|
g(k), p(!1);
|
|
2031
2031
|
}, S = () => {
|
|
2032
|
-
p(!1),
|
|
2032
|
+
p(!1), y(!0);
|
|
2033
2033
|
};
|
|
2034
2034
|
return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
2035
|
-
/* @__PURE__ */ c.jsxs("div", { className:
|
|
2036
|
-
s === !1 ? /* @__PURE__ */ c.jsx("div", { className:
|
|
2035
|
+
/* @__PURE__ */ c.jsxs("div", { className: me.d, children: [
|
|
2036
|
+
s === !1 ? /* @__PURE__ */ c.jsx("div", { className: me.b, children: "Отмена" }) : /* @__PURE__ */ c.jsx(
|
|
2037
2037
|
"div",
|
|
2038
2038
|
{
|
|
2039
2039
|
onClick: () => {
|
|
2040
2040
|
var k;
|
|
2041
|
-
s.page === void 0 ? (k = s.callback) == null || k.call(s) :
|
|
2041
|
+
s.page === void 0 ? (k = s.callback) == null || k.call(s) : Ce.setPage(s.page);
|
|
2042
2042
|
},
|
|
2043
|
-
className:
|
|
2043
|
+
className: me.b,
|
|
2044
2044
|
children: "Назад"
|
|
2045
2045
|
}
|
|
2046
2046
|
),
|
|
2047
2047
|
/* @__PURE__ */ c.jsx(
|
|
2048
2048
|
"div",
|
|
2049
2049
|
{
|
|
2050
|
-
className:
|
|
2050
|
+
className: me.o,
|
|
2051
2051
|
onClick: () => p(!u),
|
|
2052
2052
|
children: "Меню"
|
|
2053
2053
|
}
|
|
2054
2054
|
)
|
|
2055
2055
|
] }),
|
|
2056
|
-
/* @__PURE__ */ c.jsx(
|
|
2057
|
-
n && /* @__PURE__ */ c.jsx("div", { className:
|
|
2056
|
+
/* @__PURE__ */ c.jsx(ke.Init, {}),
|
|
2057
|
+
n && /* @__PURE__ */ c.jsx("div", { className: me.m, children: /* @__PURE__ */ c.jsx(
|
|
2058
2058
|
"button",
|
|
2059
2059
|
{
|
|
2060
2060
|
onClick: () => {
|
|
2061
|
-
n.page &&
|
|
2061
|
+
n.page && Ce.setPage(n.page), n.callback && n.callback();
|
|
2062
2062
|
},
|
|
2063
2063
|
children: n.text
|
|
2064
2064
|
}
|
|
2065
2065
|
) }),
|
|
2066
|
-
u ? /* @__PURE__ */ c.jsxs("div", { className:
|
|
2066
|
+
u ? /* @__PURE__ */ c.jsxs("div", { className: me.t, children: [
|
|
2067
2067
|
/* @__PURE__ */ c.jsxs("ul", { children: [
|
|
2068
2068
|
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: S, children: "Authorization" }) }),
|
|
2069
2069
|
/* @__PURE__ */ c.jsx("li", {})
|
|
@@ -2098,116 +2098,158 @@ const dn = ({ style: t = "default", theme: r }) => {
|
|
|
2098
2098
|
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: () => p(!u), children: "Closed" }) })
|
|
2099
2099
|
] })
|
|
2100
2100
|
] }) : "",
|
|
2101
|
-
b ? /* @__PURE__ */ c.jsx(
|
|
2101
|
+
b ? /* @__PURE__ */ c.jsx(mn, { setAuthorization: y }) : ""
|
|
2102
2102
|
] });
|
|
2103
2103
|
} else
|
|
2104
|
-
return
|
|
2104
|
+
return z.styled = t, H(() => {
|
|
2105
2105
|
var n;
|
|
2106
|
-
r ? (
|
|
2106
|
+
r ? (Z.setHeaderColor(P[r]["--tg-theme-bg-color"]), Z.setBackgroundColor(P[r]["--tg-theme-bg-color"]), document.documentElement.setAttribute(
|
|
2107
2107
|
"data-color-scheme",
|
|
2108
2108
|
r
|
|
2109
|
-
), document.documentElement.setAttribute("data-style", t),
|
|
2109
|
+
), document.documentElement.setAttribute("data-style", t), P[r]["--tg-theme-bg-color-alpha"] = P[r]["--tg-theme-bg-color"] + "b3", P[r]["--tg-theme-secondary-bg-color-alpha"] = P[r]["--tg-theme-secondary-bg-color"] + "d3", P[r]["--tg-theme-bg-color-alpha-25"] = P[r]["--tg-theme-bg-color"] + "40", P[r]["--tg-theme-secondary-bg-color-alpha-25"] = P[r]["--tg-theme-secondary-bg-color"] + "40") : (document.documentElement.style.setProperty(
|
|
2110
2110
|
"--tg-theme-secondary-bg-color-alpha",
|
|
2111
|
-
|
|
2111
|
+
Z.themeParams.secondary_bg_color + "d3"
|
|
2112
2112
|
), document.documentElement.style.setProperty(
|
|
2113
2113
|
"--tg-theme-bg-color-alpha",
|
|
2114
|
-
|
|
2115
|
-
), ((n =
|
|
2114
|
+
Z.themeParams.bg_color + "b3"
|
|
2115
|
+
), ((n = Z.safeAreaInset) == null ? void 0 : n.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
2116
2116
|
"--tg-safe-area-inset-bottom",
|
|
2117
2117
|
"16px"
|
|
2118
|
-
) :
|
|
2118
|
+
) : Z.safeAreaInset || document.documentElement.style.setProperty(
|
|
2119
2119
|
"--tg-safe-area-inset-bottom",
|
|
2120
2120
|
"16px"
|
|
2121
2121
|
), document.documentElement.setAttribute(
|
|
2122
2122
|
"data-color-scheme",
|
|
2123
|
-
|
|
2123
|
+
Z.colorScheme
|
|
2124
2124
|
), document.documentElement.setAttribute("data-style", t));
|
|
2125
|
-
}, []), /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx(
|
|
2126
|
-
},
|
|
2125
|
+
}, []), /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx(ke.Init, {}) });
|
|
2126
|
+
}, mn = ({ setAuthorization: t }) => {
|
|
2127
2127
|
let r = {}, n = () => {
|
|
2128
2128
|
localStorage.setItem("auth", r);
|
|
2129
2129
|
};
|
|
2130
|
-
return /* @__PURE__ */ c.jsx("div", { className:
|
|
2130
|
+
return /* @__PURE__ */ c.jsx("div", { className: me.a, children: /* @__PURE__ */ c.jsxs("div", { className: me.v, children: [
|
|
2131
2131
|
/* @__PURE__ */ c.jsx("fieldset", {}),
|
|
2132
2132
|
/* @__PURE__ */ c.jsx("div", { onClick: n, children: " Сохранить " })
|
|
2133
2133
|
] }) });
|
|
2134
|
-
},
|
|
2135
|
-
p:
|
|
2136
|
-
s:
|
|
2137
|
-
},
|
|
2134
|
+
}, bn = "_p_1axqy_1", hn = "_s_1axqy_17", rr = {
|
|
2135
|
+
p: bn,
|
|
2136
|
+
s: hn
|
|
2137
|
+
}, vn = ({ className: t, children: r, isScroll: n = !0 }) => /* @__PURE__ */ c.jsx(
|
|
2138
2138
|
"div",
|
|
2139
2139
|
{
|
|
2140
|
-
className: [
|
|
2140
|
+
className: [rr.p, n && rr.s, t].filter((i) => i !== void 0).join(" "),
|
|
2141
2141
|
children: r
|
|
2142
2142
|
}
|
|
2143
|
-
),
|
|
2144
|
-
l:
|
|
2145
|
-
},
|
|
2143
|
+
), yn = "_l_gfyud_1", _n = {
|
|
2144
|
+
l: yn
|
|
2145
|
+
}, Rn = ({ children: t, className: r }) => /* @__PURE__ */ c.jsx(
|
|
2146
2146
|
"div",
|
|
2147
2147
|
{
|
|
2148
|
-
className: [
|
|
2148
|
+
className: [_n.l, r].filter((n) => n !== void 0).join(" "),
|
|
2149
2149
|
children: t
|
|
2150
2150
|
}
|
|
2151
|
-
),
|
|
2152
|
-
q:
|
|
2153
|
-
m:
|
|
2154
|
-
g:
|
|
2155
|
-
i:
|
|
2156
|
-
c:
|
|
2157
|
-
l:
|
|
2158
|
-
a:
|
|
2159
|
-
n:
|
|
2160
|
-
},
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2151
|
+
), Sn = "_q_1ao7y_2", xn = "_m_1ao7y_8", En = "_g_1ao7y_13", kn = "_i_1ao7y_21", An = "_c_1ao7y_38", jn = "_l_1ao7y_45", wn = "_a_1ao7y_60", On = "_n_1ao7y_66", pe = {
|
|
2152
|
+
q: Sn,
|
|
2153
|
+
m: xn,
|
|
2154
|
+
g: En,
|
|
2155
|
+
i: kn,
|
|
2156
|
+
c: An,
|
|
2157
|
+
l: jn,
|
|
2158
|
+
a: wn,
|
|
2159
|
+
n: On
|
|
2160
|
+
}, Cn = "_h_1d5mk_4", Pn = "_c_1d5mk_4", $n = "_l_1d5mk_4", Tn = "_i_1d5mk_4", Nn = "_t_1d5mk_4", Mn = "_r_1d5mk_4", In = "_b_1d5mk_4", Bn = "_s_1d5mk_5", Dn = "_m_1d5mk_5", Ln = "_g_1d5mk_5", ee = {
|
|
2161
|
+
h: Cn,
|
|
2162
|
+
c: Pn,
|
|
2163
|
+
l: $n,
|
|
2164
|
+
i: Tn,
|
|
2165
|
+
t: Nn,
|
|
2166
|
+
r: Mn,
|
|
2167
|
+
b: In,
|
|
2168
|
+
s: Bn,
|
|
2169
|
+
m: Dn,
|
|
2170
|
+
g: Ln
|
|
2171
|
+
}, pr = ({
|
|
2172
|
+
title: t,
|
|
2173
|
+
subtitle: r,
|
|
2174
|
+
icon: n,
|
|
2175
|
+
size: i = "large",
|
|
2176
|
+
rightElement: s,
|
|
2177
|
+
className: l = ""
|
|
2178
|
+
}) => /* @__PURE__ */ c.jsxs(
|
|
2179
|
+
"div",
|
|
2180
|
+
{
|
|
2181
|
+
className: W(
|
|
2182
|
+
ee.h,
|
|
2183
|
+
i === "small" && ee.s,
|
|
2184
|
+
i === "medium" && ee.m,
|
|
2185
|
+
i === "large" && ee.g,
|
|
2186
|
+
l
|
|
2187
|
+
),
|
|
2188
|
+
children: [
|
|
2189
|
+
/* @__PURE__ */ c.jsxs("div", { className: ee.c, children: [
|
|
2190
|
+
/* @__PURE__ */ c.jsxs("div", { className: ee.l, children: [
|
|
2191
|
+
n && /* @__PURE__ */ c.jsx("div", { className: ee.i, children: n }),
|
|
2192
|
+
/* @__PURE__ */ c.jsx("h2", { className: ee.t, children: t })
|
|
2193
|
+
] }),
|
|
2194
|
+
s && /* @__PURE__ */ c.jsx("div", { className: ee.r, children: s })
|
|
2195
|
+
] }),
|
|
2196
|
+
r && /* @__PURE__ */ c.jsx("p", { className: ee.b, children: r })
|
|
2197
|
+
]
|
|
2198
|
+
}
|
|
2199
|
+
), Un = ({ items: t, title: r }) => {
|
|
2200
|
+
const n = (s) => {
|
|
2201
|
+
Ce.setPage(s);
|
|
2202
|
+
}, i = (s) => {
|
|
2203
|
+
Z.openTelegramLink(s);
|
|
2165
2204
|
};
|
|
2166
|
-
return /* @__PURE__ */ c.
|
|
2205
|
+
return /* @__PURE__ */ c.jsxs(
|
|
2167
2206
|
"div",
|
|
2168
2207
|
{
|
|
2169
|
-
className:
|
|
2170
|
-
|
|
2171
|
-
|
|
2208
|
+
className: W(
|
|
2209
|
+
pe[z.styled === "liquid-glass" ? "q" : ""],
|
|
2210
|
+
pe.m
|
|
2172
2211
|
),
|
|
2173
|
-
children:
|
|
2174
|
-
|
|
2175
|
-
{
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2212
|
+
children: [
|
|
2213
|
+
r && /* @__PURE__ */ c.jsx(pr, { ...r }),
|
|
2214
|
+
t.map((s) => /* @__PURE__ */ c.jsx("div", { className: pe.g, children: s.items.map((l, d) => /* @__PURE__ */ c.jsxs(
|
|
2215
|
+
"div",
|
|
2216
|
+
{
|
|
2217
|
+
className: pe.i,
|
|
2218
|
+
onClick: () => {
|
|
2219
|
+
l.link && i(l.link), l.page && n(l.page), l.callback && l.callback();
|
|
2220
|
+
},
|
|
2221
|
+
children: [
|
|
2222
|
+
/* @__PURE__ */ c.jsxs("div", { className: pe.c, children: [
|
|
2223
|
+
/* @__PURE__ */ c.jsx(
|
|
2224
|
+
"span",
|
|
2225
|
+
{
|
|
2226
|
+
className: pe.l,
|
|
2227
|
+
style: { background: l.color },
|
|
2228
|
+
children: l.icon
|
|
2229
|
+
}
|
|
2230
|
+
),
|
|
2231
|
+
l.title,
|
|
2232
|
+
l.count && /* @__PURE__ */ c.jsx("span", { className: pe.n, children: l.count })
|
|
2233
|
+
] }),
|
|
2234
|
+
/* @__PURE__ */ c.jsx("span", { className: pe.a, children: "›" })
|
|
2235
|
+
]
|
|
2179
2236
|
},
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
"span",
|
|
2184
|
-
{
|
|
2185
|
-
className: fe.l,
|
|
2186
|
-
style: { background: s.color },
|
|
2187
|
-
children: s.icon
|
|
2188
|
-
}
|
|
2189
|
-
),
|
|
2190
|
-
s.title,
|
|
2191
|
-
s.count && /* @__PURE__ */ c.jsx("span", { className: fe.n, children: s.count })
|
|
2192
|
-
] }),
|
|
2193
|
-
/* @__PURE__ */ c.jsx("span", { className: fe.a, children: "›" })
|
|
2194
|
-
]
|
|
2195
|
-
},
|
|
2196
|
-
l
|
|
2197
|
-
)) }, i.id))
|
|
2237
|
+
d
|
|
2238
|
+
)) }, s.id))
|
|
2239
|
+
]
|
|
2198
2240
|
}
|
|
2199
2241
|
);
|
|
2200
|
-
},
|
|
2201
|
-
o:
|
|
2202
|
-
m:
|
|
2203
|
-
l:
|
|
2204
|
-
r:
|
|
2205
|
-
x:
|
|
2206
|
-
h:
|
|
2207
|
-
c:
|
|
2208
|
-
u:
|
|
2209
|
-
},
|
|
2210
|
-
function
|
|
2242
|
+
}, Fn = "_o_8ho2f_3", Wn = "_m_8ho2f_14", Yn = "_l_8ho2f_28", qn = "_r_8ho2f_33", Vn = "_x_8ho2f_38", Hn = "_h_8ho2f_42", zn = "_c_8ho2f_57", Jn = "_u_8ho2f_72", ue = {
|
|
2243
|
+
o: Fn,
|
|
2244
|
+
m: Wn,
|
|
2245
|
+
l: Yn,
|
|
2246
|
+
r: qn,
|
|
2247
|
+
x: Vn,
|
|
2248
|
+
h: Hn,
|
|
2249
|
+
c: zn,
|
|
2250
|
+
u: Jn
|
|
2251
|
+
}, ut = {};
|
|
2252
|
+
function Kn({
|
|
2211
2253
|
children: t,
|
|
2212
2254
|
icon: r,
|
|
2213
2255
|
iconBadge: n = 0,
|
|
@@ -2217,29 +2259,29 @@ function Bn({
|
|
|
2217
2259
|
position: d = "left",
|
|
2218
2260
|
id: g = "default"
|
|
2219
2261
|
}) {
|
|
2220
|
-
const [u, p] =
|
|
2262
|
+
const [u, p] = M(!1), [b, y] = M(
|
|
2221
2263
|
null
|
|
2222
2264
|
);
|
|
2223
|
-
|
|
2265
|
+
H(() => {
|
|
2224
2266
|
let S = document.querySelector(".p_sb");
|
|
2225
|
-
return S || (S = document.createElement("div"), S.className = "_p_sb", document.body.appendChild(S)),
|
|
2267
|
+
return S || (S = document.createElement("div"), S.className = "_p_sb", document.body.appendChild(S)), y(S), ut[g] = (k) => p(k), () => {
|
|
2226
2268
|
S && S.parentNode && S.parentNode.removeChild(S);
|
|
2227
2269
|
};
|
|
2228
2270
|
}, []);
|
|
2229
2271
|
const R = /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
2230
|
-
u && /* @__PURE__ */ c.jsx("div", { className:
|
|
2272
|
+
u && /* @__PURE__ */ c.jsx("div", { className: ue.o, onClick: () => p(!1) }),
|
|
2231
2273
|
/* @__PURE__ */ c.jsxs(
|
|
2232
2274
|
"div",
|
|
2233
2275
|
{
|
|
2234
|
-
className:
|
|
2235
|
-
|
|
2236
|
-
d === "left" ?
|
|
2237
|
-
u &&
|
|
2276
|
+
className: W(
|
|
2277
|
+
ue.m,
|
|
2278
|
+
d === "left" ? ue.l : ue.r,
|
|
2279
|
+
u && ue.x,
|
|
2238
2280
|
s
|
|
2239
2281
|
),
|
|
2240
2282
|
children: [
|
|
2241
|
-
/* @__PURE__ */ c.jsxs("div", { className:
|
|
2242
|
-
i && /* @__PURE__ */ c.jsx("h3", { className:
|
|
2283
|
+
/* @__PURE__ */ c.jsxs("div", { className: ue.h, children: [
|
|
2284
|
+
i && /* @__PURE__ */ c.jsx("h3", { className: ue.t, children: i }),
|
|
2243
2285
|
/* @__PURE__ */ c.jsxs(
|
|
2244
2286
|
"svg",
|
|
2245
2287
|
{
|
|
@@ -2261,7 +2303,7 @@ function Bn({
|
|
|
2261
2303
|
}
|
|
2262
2304
|
)
|
|
2263
2305
|
] }),
|
|
2264
|
-
/* @__PURE__ */ c.jsx("div", { className:
|
|
2306
|
+
/* @__PURE__ */ c.jsx("div", { className: ue.c, children: l === "list" ? /* @__PURE__ */ c.jsx("ul", { className: ue.u, children: t }) : t })
|
|
2265
2307
|
]
|
|
2266
2308
|
}
|
|
2267
2309
|
)
|
|
@@ -2276,29 +2318,29 @@ function Bn({
|
|
|
2276
2318
|
children: r
|
|
2277
2319
|
}
|
|
2278
2320
|
),
|
|
2279
|
-
b &&
|
|
2321
|
+
b && mr(R, b)
|
|
2280
2322
|
] });
|
|
2281
2323
|
}
|
|
2282
|
-
const
|
|
2324
|
+
const Gn = (t, r) => {
|
|
2283
2325
|
var n;
|
|
2284
|
-
(n =
|
|
2285
|
-
},
|
|
2286
|
-
h:
|
|
2287
|
-
r:
|
|
2288
|
-
c:
|
|
2289
|
-
b:
|
|
2290
|
-
draw:
|
|
2291
|
-
a:
|
|
2292
|
-
scaleToggleVar:
|
|
2293
|
-
},
|
|
2294
|
-
b:
|
|
2295
|
-
},
|
|
2326
|
+
(n = ut[t]) == null || n.call(ut, r);
|
|
2327
|
+
}, Xn = "_h_btt8r_2", Zn = "_r_btt8r_32", Qn = "_c_btt8r_35", eo = "_b_btt8r_55", to = "_draw_btt8r_1", ro = "_a_btt8r_111", no = "_scaleToggleVar_btt8r_1", it = {
|
|
2328
|
+
h: Xn,
|
|
2329
|
+
r: Zn,
|
|
2330
|
+
c: Qn,
|
|
2331
|
+
b: eo,
|
|
2332
|
+
draw: to,
|
|
2333
|
+
a: ro,
|
|
2334
|
+
scaleToggleVar: no
|
|
2335
|
+
}, oo = "_b_r6m8n_1", ao = {
|
|
2336
|
+
b: oo
|
|
2337
|
+
}, so = ({ className: t, value: r }) => /* @__PURE__ */ c.jsx(
|
|
2296
2338
|
"div",
|
|
2297
2339
|
{
|
|
2298
|
-
className: [
|
|
2340
|
+
className: [ao.b, t].filter((n) => n !== void 0).join(" "),
|
|
2299
2341
|
children: r
|
|
2300
2342
|
}
|
|
2301
|
-
),
|
|
2343
|
+
), nr = (t, r) => t.findIndex((n) => (n == null ? void 0 : n.page) === r), io = ({
|
|
2302
2344
|
after: t,
|
|
2303
2345
|
before: r,
|
|
2304
2346
|
actions: n,
|
|
@@ -2309,44 +2351,44 @@ const Dn = (t, r) => {
|
|
|
2309
2351
|
onPageChange: g,
|
|
2310
2352
|
direction: u = "row"
|
|
2311
2353
|
}) => {
|
|
2312
|
-
const [p, b] = $.useState(null),
|
|
2313
|
-
d ?
|
|
2314
|
-
), [k,
|
|
2354
|
+
const [p, b] = $.useState(null), y = $.useRef(null), [R, S] = $.useState(
|
|
2355
|
+
d ? nr(n || [], d) : 0
|
|
2356
|
+
), [k, N] = $.useState(
|
|
2315
2357
|
"right"
|
|
2316
|
-
),
|
|
2358
|
+
), J = $.useRef(R);
|
|
2317
2359
|
$.useEffect(() => {
|
|
2318
2360
|
if (d) {
|
|
2319
|
-
const
|
|
2320
|
-
|
|
2361
|
+
const de = nr(n || [], d);
|
|
2362
|
+
de !== -1 && de !== J.current && (J.current = de, S(de));
|
|
2321
2363
|
}
|
|
2322
2364
|
}, [d, n]), $.useEffect(() => {
|
|
2323
|
-
|
|
2324
|
-
R >
|
|
2325
|
-
),
|
|
2365
|
+
J.current !== R && (N(
|
|
2366
|
+
R > J.current ? "left" : "right"
|
|
2367
|
+
), J.current = R);
|
|
2326
2368
|
}, [R]);
|
|
2327
|
-
const [I, A] = $.useState(!1),
|
|
2328
|
-
|
|
2329
|
-
},
|
|
2369
|
+
const [I, A] = $.useState(!1), K = $.useRef(null), je = () => {
|
|
2370
|
+
K.current && (clearTimeout(K.current), K.current = null), A(!0);
|
|
2371
|
+
}, we = () => {
|
|
2330
2372
|
requestAnimationFrame(() => {
|
|
2331
|
-
|
|
2332
|
-
A(!1),
|
|
2373
|
+
K.current = setTimeout(() => {
|
|
2374
|
+
A(!1), K.current = null;
|
|
2333
2375
|
}, 50);
|
|
2334
2376
|
});
|
|
2335
2377
|
};
|
|
2336
2378
|
$.useEffect(() => () => {
|
|
2337
|
-
|
|
2379
|
+
K.current && clearTimeout(K.current);
|
|
2338
2380
|
}, []);
|
|
2339
|
-
const
|
|
2340
|
-
return
|
|
2381
|
+
const ae = {};
|
|
2382
|
+
return z.styled === "liquid-glass" && (ae.onMouseDown = je, ae.onMouseUp = we, ae.onTouchStart = je, ae.onTouchEnd = we), /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
2341
2383
|
p,
|
|
2342
|
-
/* @__PURE__ */ c.jsxs("div", { className:
|
|
2384
|
+
/* @__PURE__ */ c.jsxs("div", { className: it.h, ref: y, children: [
|
|
2343
2385
|
r,
|
|
2344
2386
|
n && /* @__PURE__ */ c.jsx(
|
|
2345
|
-
|
|
2387
|
+
co,
|
|
2346
2388
|
{
|
|
2347
2389
|
"data-direction": k,
|
|
2348
2390
|
"data-scale": I ? "true" : "false",
|
|
2349
|
-
...
|
|
2391
|
+
...ae,
|
|
2350
2392
|
actions: n,
|
|
2351
2393
|
activeIndex: R,
|
|
2352
2394
|
setActiveIndex: S,
|
|
@@ -2354,9 +2396,9 @@ const Dn = (t, r) => {
|
|
|
2354
2396
|
setComponent: b,
|
|
2355
2397
|
actual: l,
|
|
2356
2398
|
direction: u,
|
|
2357
|
-
className:
|
|
2358
|
-
|
|
2359
|
-
|
|
2399
|
+
className: W(
|
|
2400
|
+
it.f,
|
|
2401
|
+
it[u === "row" ? "r" : "c"],
|
|
2360
2402
|
s
|
|
2361
2403
|
)
|
|
2362
2404
|
}
|
|
@@ -2365,7 +2407,7 @@ const Dn = (t, r) => {
|
|
|
2365
2407
|
t
|
|
2366
2408
|
] })
|
|
2367
2409
|
] });
|
|
2368
|
-
},
|
|
2410
|
+
}, co = $.forwardRef(
|
|
2369
2411
|
({
|
|
2370
2412
|
actions: t,
|
|
2371
2413
|
activeIndex: r,
|
|
@@ -2378,14 +2420,14 @@ const Dn = (t, r) => {
|
|
|
2378
2420
|
"data-direction": u,
|
|
2379
2421
|
"data-scale": p,
|
|
2380
2422
|
children: b,
|
|
2381
|
-
...
|
|
2423
|
+
...y
|
|
2382
2424
|
}, R) => /* @__PURE__ */ c.jsxs(
|
|
2383
2425
|
"div",
|
|
2384
2426
|
{
|
|
2385
2427
|
"data-direction": u,
|
|
2386
2428
|
"data-scale": p,
|
|
2387
|
-
...
|
|
2388
|
-
className:
|
|
2429
|
+
...y,
|
|
2430
|
+
className: W(it.b, g),
|
|
2389
2431
|
children: [
|
|
2390
2432
|
t.map((S, k) => /* @__PURE__ */ c.jsxs(
|
|
2391
2433
|
"div",
|
|
@@ -2397,7 +2439,7 @@ const Dn = (t, r) => {
|
|
|
2397
2439
|
children: [
|
|
2398
2440
|
S.icon,
|
|
2399
2441
|
S.title && /* @__PURE__ */ c.jsx("span", { children: S.title }),
|
|
2400
|
-
S.badge && /* @__PURE__ */ c.jsx(
|
|
2442
|
+
S.badge && /* @__PURE__ */ c.jsx(so, { value: S.badge })
|
|
2401
2443
|
]
|
|
2402
2444
|
},
|
|
2403
2445
|
k
|
|
@@ -2405,7 +2447,7 @@ const Dn = (t, r) => {
|
|
|
2405
2447
|
l && /* @__PURE__ */ c.jsx(
|
|
2406
2448
|
"div",
|
|
2407
2449
|
{
|
|
2408
|
-
className:
|
|
2450
|
+
className: it.a,
|
|
2409
2451
|
style: {
|
|
2410
2452
|
"--count-options": t.length,
|
|
2411
2453
|
"--tab-bar-actual-index": r
|
|
@@ -2415,26 +2457,26 @@ const Dn = (t, r) => {
|
|
|
2415
2457
|
]
|
|
2416
2458
|
}
|
|
2417
2459
|
)
|
|
2418
|
-
),
|
|
2419
|
-
a:
|
|
2460
|
+
), lo = "_a_15zsz_1", uo = {
|
|
2461
|
+
a: lo
|
|
2420
2462
|
};
|
|
2421
|
-
function
|
|
2463
|
+
function fo({
|
|
2422
2464
|
children: t,
|
|
2423
2465
|
className: r,
|
|
2424
2466
|
text: n
|
|
2425
2467
|
}) {
|
|
2426
|
-
return /* @__PURE__ */ c.jsxs("div", { className:
|
|
2468
|
+
return /* @__PURE__ */ c.jsxs("div", { className: W(uo.a, r), children: [
|
|
2427
2469
|
t,
|
|
2428
2470
|
n && /* @__PURE__ */ c.jsx("b", { children: n })
|
|
2429
2471
|
] });
|
|
2430
2472
|
}
|
|
2431
|
-
const
|
|
2432
|
-
w:
|
|
2433
|
-
v:
|
|
2434
|
-
s:
|
|
2435
|
-
n:
|
|
2436
|
-
},
|
|
2437
|
-
function
|
|
2473
|
+
const po = "_w_yx04q_3", go = "_v_yx04q_24", mo = "_s_yx04q_34", bo = "_n_yx04q_38", lt = {
|
|
2474
|
+
w: po,
|
|
2475
|
+
v: go,
|
|
2476
|
+
s: mo,
|
|
2477
|
+
n: bo
|
|
2478
|
+
}, zt = {};
|
|
2479
|
+
function ho({
|
|
2438
2480
|
children: t,
|
|
2439
2481
|
id: r,
|
|
2440
2482
|
onClose: n,
|
|
@@ -2442,20 +2484,20 @@ function oo({
|
|
|
2442
2484
|
isScroll: s = !0,
|
|
2443
2485
|
nextBackButton: l
|
|
2444
2486
|
}) {
|
|
2445
|
-
const [d, g] =
|
|
2446
|
-
return
|
|
2487
|
+
const [d, g] = M(!1);
|
|
2488
|
+
return H(() => {
|
|
2447
2489
|
if (!i) return;
|
|
2448
|
-
const u = l === void 0 ?
|
|
2490
|
+
const u = l === void 0 ? Fo().pop() : l, p = () => {
|
|
2449
2491
|
g(!1), setTimeout(() => {
|
|
2450
|
-
|
|
2492
|
+
or(u || !1), n == null || n();
|
|
2451
2493
|
}, 300);
|
|
2452
2494
|
};
|
|
2453
|
-
|
|
2495
|
+
zt[r] = {
|
|
2454
2496
|
onClose: p,
|
|
2455
2497
|
onOpen: () => {
|
|
2456
2498
|
g(!0);
|
|
2457
2499
|
}
|
|
2458
|
-
},
|
|
2500
|
+
}, or({
|
|
2459
2501
|
callback: p
|
|
2460
2502
|
});
|
|
2461
2503
|
const b = setTimeout(() => {
|
|
@@ -2467,71 +2509,77 @@ function oo({
|
|
|
2467
2509
|
}, [i]), i ? /* @__PURE__ */ c.jsxs(
|
|
2468
2510
|
"div",
|
|
2469
2511
|
{
|
|
2470
|
-
className:
|
|
2471
|
-
|
|
2472
|
-
d &&
|
|
2473
|
-
s &&
|
|
2512
|
+
className: W(
|
|
2513
|
+
lt.w,
|
|
2514
|
+
d && lt.v,
|
|
2515
|
+
s && lt.s
|
|
2474
2516
|
),
|
|
2475
2517
|
children: [
|
|
2476
|
-
/* @__PURE__ */ c.jsx("div", { className:
|
|
2518
|
+
/* @__PURE__ */ c.jsx("div", { className: lt.n }),
|
|
2477
2519
|
t
|
|
2478
2520
|
]
|
|
2479
2521
|
}
|
|
2480
2522
|
) : "";
|
|
2481
2523
|
}
|
|
2482
|
-
const
|
|
2524
|
+
const vo = (t, r) => {
|
|
2483
2525
|
var n, i;
|
|
2484
|
-
r ? (n =
|
|
2485
|
-
},
|
|
2486
|
-
s:
|
|
2487
|
-
n:
|
|
2488
|
-
b:
|
|
2489
|
-
f:
|
|
2526
|
+
r ? (n = zt[t]) == null || n.onOpen() : (i = zt[t]) == null || i.onClose();
|
|
2527
|
+
}, yo = "_s_1dgz5_3", _o = "_n_1dgz5_14", Ro = "_b_1dgz5_19", So = "_f_1dgz5_29", xo = "_g_1dgz5_67", at = {
|
|
2528
|
+
s: yo,
|
|
2529
|
+
n: _o,
|
|
2530
|
+
b: Ro,
|
|
2531
|
+
f: So,
|
|
2532
|
+
g: xo
|
|
2490
2533
|
};
|
|
2491
|
-
function
|
|
2534
|
+
function Eo({
|
|
2492
2535
|
className: t,
|
|
2493
2536
|
children: r,
|
|
2494
2537
|
onScrollEnd: n,
|
|
2495
2538
|
offset: i = 100,
|
|
2496
2539
|
isLoading: s,
|
|
2497
|
-
|
|
2498
|
-
|
|
2540
|
+
gap: l,
|
|
2541
|
+
fullscreen: d = !1,
|
|
2542
|
+
isScrollBar: g = !1
|
|
2499
2543
|
}) {
|
|
2500
|
-
const [
|
|
2501
|
-
|
|
2502
|
-
|
|
2544
|
+
const [u, p] = M(s || !1);
|
|
2545
|
+
H(() => {
|
|
2546
|
+
p(s || !1);
|
|
2503
2547
|
}, [s]);
|
|
2504
|
-
let
|
|
2505
|
-
onScroll: (
|
|
2506
|
-
const { scrollTop:
|
|
2507
|
-
|
|
2548
|
+
let b = {
|
|
2549
|
+
onScroll: (y) => {
|
|
2550
|
+
const { scrollTop: R, scrollHeight: S, clientHeight: k } = y.currentTarget;
|
|
2551
|
+
R + k >= S - i && !u && (p(!0), n == null || n());
|
|
2508
2552
|
}
|
|
2509
2553
|
};
|
|
2510
2554
|
return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
2511
|
-
!
|
|
2555
|
+
!g && /* @__PURE__ */ c.jsx("div", { className: at.b }),
|
|
2512
2556
|
/* @__PURE__ */ c.jsx(
|
|
2513
2557
|
"div",
|
|
2514
2558
|
{
|
|
2515
|
-
...
|
|
2516
|
-
className:
|
|
2517
|
-
|
|
2518
|
-
!
|
|
2519
|
-
|
|
2559
|
+
...b,
|
|
2560
|
+
className: W(
|
|
2561
|
+
at.s,
|
|
2562
|
+
!g && at.n,
|
|
2563
|
+
d && at.f,
|
|
2564
|
+
l != null && at.g,
|
|
2520
2565
|
t
|
|
2521
2566
|
),
|
|
2567
|
+
style: l != null ? {
|
|
2568
|
+
"--el-scroll-gap": `${l}px`
|
|
2569
|
+
} : void 0,
|
|
2522
2570
|
children: r
|
|
2523
2571
|
}
|
|
2524
2572
|
)
|
|
2525
2573
|
] });
|
|
2526
2574
|
}
|
|
2527
|
-
const
|
|
2528
|
-
f:
|
|
2529
|
-
a:
|
|
2530
|
-
l:
|
|
2531
|
-
r:
|
|
2532
|
-
b:
|
|
2575
|
+
const ko = "_f_145iw_1", Ao = "_a_145iw_6", jo = "_l_145iw_18", wo = "_r_145iw_21", Oo = "_b_145iw_24", st = {
|
|
2576
|
+
f: ko,
|
|
2577
|
+
a: Ao,
|
|
2578
|
+
l: jo,
|
|
2579
|
+
r: wo,
|
|
2580
|
+
b: Oo
|
|
2533
2581
|
};
|
|
2534
|
-
function
|
|
2582
|
+
function Co({
|
|
2535
2583
|
children: t,
|
|
2536
2584
|
className: r,
|
|
2537
2585
|
position: n = "center",
|
|
@@ -2539,13 +2587,13 @@ function vo({
|
|
|
2539
2587
|
fixed: s = !1
|
|
2540
2588
|
}) {
|
|
2541
2589
|
let l = "";
|
|
2542
|
-
return n === "left" ? l =
|
|
2590
|
+
return n === "left" ? l = st.l : n === "right" ? l = st.r : n === "between" && (l = st.b), /* @__PURE__ */ c.jsxs(
|
|
2543
2591
|
"div",
|
|
2544
2592
|
{
|
|
2545
|
-
className:
|
|
2546
|
-
|
|
2593
|
+
className: W(
|
|
2594
|
+
st.a,
|
|
2547
2595
|
l,
|
|
2548
|
-
s &&
|
|
2596
|
+
s && st.f,
|
|
2549
2597
|
r
|
|
2550
2598
|
),
|
|
2551
2599
|
children: [
|
|
@@ -2555,15 +2603,16 @@ function vo({
|
|
|
2555
2603
|
}
|
|
2556
2604
|
);
|
|
2557
2605
|
}
|
|
2558
|
-
const
|
|
2559
|
-
o:
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
f:
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2606
|
+
const Po = "_o_55112_2", $o = "_p_55112_8", To = "_x_55112_28", No = "_c_55112_31", Mo = "_f_55112_62", Io = "_s_55112_86", Bo = "_h_55112_105", Do = "_b_55112_152", te = {
|
|
2607
|
+
o: Po,
|
|
2608
|
+
p: $o,
|
|
2609
|
+
x: To,
|
|
2610
|
+
c: No,
|
|
2611
|
+
f: Mo,
|
|
2612
|
+
s: Io,
|
|
2613
|
+
h: Bo,
|
|
2614
|
+
b: Do
|
|
2615
|
+
}, re = {}, Lo = 80, gr = ({
|
|
2567
2616
|
children: t,
|
|
2568
2617
|
title: r,
|
|
2569
2618
|
isOverlay: n = !0,
|
|
@@ -2572,72 +2621,93 @@ const ho = "_o_xdy5u_2", yo = "_x_xdy5u_16", _o = "_c_xdy5u_20", Ro = "_p_xdy5u_
|
|
|
2572
2621
|
id: l,
|
|
2573
2622
|
onOpen: d
|
|
2574
2623
|
}) => {
|
|
2575
|
-
const [g, u] = $.useState(!1), [p, b] = $.useState(!1);
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
u(!1), b(!1);
|
|
2624
|
+
const [g, u] = $.useState(!1), [p, b] = $.useState(!1), [y, R] = $.useState(0), S = $.useRef(null);
|
|
2625
|
+
$.useEffect(() => {
|
|
2626
|
+
re[l] = (N) => {
|
|
2627
|
+
N ? (b(!1), u(!0), d == null || d(!0)) : (b(!0), d == null || d(!1), setTimeout(() => {
|
|
2628
|
+
u(!1), b(!1), R(0);
|
|
2580
2629
|
}, 300));
|
|
2581
2630
|
};
|
|
2582
|
-
}, [
|
|
2631
|
+
}, [l, d]);
|
|
2632
|
+
const k = $.useCallback(() => {
|
|
2633
|
+
const N = S.current;
|
|
2634
|
+
if (!N) return;
|
|
2635
|
+
const J = N.scrollTop, I = Math.min(J / Lo, 1);
|
|
2636
|
+
R(I);
|
|
2637
|
+
}, []);
|
|
2638
|
+
return !g && !p ? null : /* @__PURE__ */ c.jsx(
|
|
2583
2639
|
"div",
|
|
2584
2640
|
{
|
|
2585
|
-
className:
|
|
2586
|
-
|
|
2587
|
-
n &&
|
|
2588
|
-
p &&
|
|
2641
|
+
className: W(
|
|
2642
|
+
te.o,
|
|
2643
|
+
n && te.x,
|
|
2644
|
+
p && te.c
|
|
2589
2645
|
),
|
|
2590
2646
|
onClick: () => {
|
|
2591
|
-
var
|
|
2592
|
-
return (
|
|
2647
|
+
var N;
|
|
2648
|
+
return (N = re[l]) == null ? void 0 : N.call(re, !1);
|
|
2593
2649
|
},
|
|
2594
2650
|
children: /* @__PURE__ */ c.jsxs(
|
|
2595
2651
|
"div",
|
|
2596
2652
|
{
|
|
2597
|
-
className:
|
|
2598
|
-
|
|
2599
|
-
p &&
|
|
2600
|
-
i &&
|
|
2653
|
+
className: W(
|
|
2654
|
+
te.p,
|
|
2655
|
+
p && te.c,
|
|
2656
|
+
i && te.f,
|
|
2601
2657
|
s
|
|
2602
2658
|
),
|
|
2603
|
-
onClick: (
|
|
2659
|
+
onClick: (N) => N.stopPropagation(),
|
|
2660
|
+
style: {
|
|
2661
|
+
"--header-overlay": y
|
|
2662
|
+
},
|
|
2604
2663
|
children: [
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2664
|
+
/* @__PURE__ */ c.jsxs(
|
|
2665
|
+
"div",
|
|
2666
|
+
{
|
|
2667
|
+
ref: S,
|
|
2668
|
+
className: te.s,
|
|
2669
|
+
onScroll: k,
|
|
2670
|
+
children: [
|
|
2671
|
+
r && /* @__PURE__ */ c.jsxs("div", { className: te.h, children: [
|
|
2672
|
+
/* @__PURE__ */ c.jsx("h3", { children: r }),
|
|
2673
|
+
/* @__PURE__ */ c.jsx(
|
|
2674
|
+
"button",
|
|
2675
|
+
{
|
|
2676
|
+
className: te.b,
|
|
2677
|
+
onClick: () => {
|
|
2678
|
+
var N;
|
|
2679
|
+
return (N = re[l]) == null ? void 0 : N.call(re, !1);
|
|
2680
|
+
},
|
|
2681
|
+
children: "✕"
|
|
2682
|
+
}
|
|
2683
|
+
)
|
|
2684
|
+
] }),
|
|
2685
|
+
t
|
|
2686
|
+
]
|
|
2687
|
+
}
|
|
2688
|
+
),
|
|
2689
|
+
/* @__PURE__ */ c.jsx("div", { className: te.f, "aria-hidden": !0 })
|
|
2620
2690
|
]
|
|
2621
2691
|
}
|
|
2622
2692
|
)
|
|
2623
2693
|
}
|
|
2624
2694
|
);
|
|
2625
|
-
},
|
|
2695
|
+
}, Uo = (t, r) => {
|
|
2626
2696
|
var n;
|
|
2627
|
-
(n =
|
|
2628
|
-
},
|
|
2697
|
+
(n = re[t]) == null || n.call(re, r);
|
|
2698
|
+
}, U = {
|
|
2629
2699
|
state: [!1],
|
|
2630
2700
|
listen: [],
|
|
2631
2701
|
prev: {},
|
|
2632
2702
|
router: (t) => {
|
|
2633
|
-
t === !1 ? (
|
|
2703
|
+
t === !1 ? (C.WebApp.BackButton.isVisible = !1, C.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.state.length !== 1 && U.state.pop()) : (C.WebApp.BackButton.isVisible = !0, C.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.listen.push(() => {
|
|
2634
2704
|
var n;
|
|
2635
|
-
let r =
|
|
2636
|
-
|
|
2637
|
-
}),
|
|
2705
|
+
let r = U.state.pop();
|
|
2706
|
+
U.prev = Ce.getPage(), r.page !== void 0 ? Ce.setPage(r.page) : (n = r.callback) == null || n.call(r);
|
|
2707
|
+
}), Z.BackButton.onClick(U.listen[0]));
|
|
2638
2708
|
}
|
|
2639
|
-
},
|
|
2640
|
-
var
|
|
2709
|
+
}, W = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
|
|
2710
|
+
var C;
|
|
2641
2711
|
((t) => {
|
|
2642
2712
|
var r;
|
|
2643
2713
|
t.WebApp = typeof window < "u" && ((r = window.Telegram) == null ? void 0 : r.WebApp) || {}, t.getUser = () => {
|
|
@@ -2647,7 +2717,7 @@ var P;
|
|
|
2647
2717
|
"data-keyboard",
|
|
2648
2718
|
n.toString()
|
|
2649
2719
|
), t.Location = (n) => {
|
|
2650
|
-
if (
|
|
2720
|
+
if (z.is)
|
|
2651
2721
|
return n({ latitude: 55.752555, longitude: 37.623123 });
|
|
2652
2722
|
let i = () => {
|
|
2653
2723
|
t.WebApp.LocationManager.getLocation(async (s) => {
|
|
@@ -2664,69 +2734,70 @@ var P;
|
|
|
2664
2734
|
}, t.Notice = {
|
|
2665
2735
|
Send: (n, i, s, l) => {
|
|
2666
2736
|
var d, g;
|
|
2667
|
-
s !== void 0 ? (
|
|
2737
|
+
s !== void 0 ? (ke.Send({
|
|
2668
2738
|
type: n,
|
|
2669
2739
|
title: i,
|
|
2670
2740
|
text: s,
|
|
2671
2741
|
thema: l
|
|
2672
|
-
}), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(n)) : (
|
|
2742
|
+
}), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(n)) : (ke.Send(n), (g = t.WebApp.HapticFeedback) == null || g.notificationOccurred(n.type));
|
|
2673
2743
|
},
|
|
2674
2744
|
Error: (n, i) => {
|
|
2675
2745
|
var s;
|
|
2676
|
-
|
|
2746
|
+
ke.Send({ type: "error", title: n, text: i }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("error");
|
|
2677
2747
|
},
|
|
2678
2748
|
Success: (n, i) => {
|
|
2679
2749
|
var s;
|
|
2680
|
-
|
|
2750
|
+
ke.Send({ type: "success", title: n, text: i }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("success");
|
|
2681
2751
|
},
|
|
2682
2752
|
Warning: (n, i) => {
|
|
2683
2753
|
var s;
|
|
2684
|
-
|
|
2754
|
+
ke.Send({ type: "warning", title: n, text: i }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
|
|
2685
2755
|
}
|
|
2686
|
-
}, t.Header =
|
|
2756
|
+
}, t.Header = gn, t.TabBar = io, t.Title = fo, t.HeaderSection = pr, t.BottomSheet = gr, t.BottomSheetController = Uo, t.SafeArea = vn, t.Loading = Rn, t.Sidebar = Kn, t.SidePanel = ho, t.AppBar = Co, t.SideBarController = Gn, t.SidePanelController = vo, t.Scroll = Eo, t.Modal = Vt, t.Menu = Un, t.MainButton = {
|
|
2687
2757
|
callback: [],
|
|
2688
2758
|
set: (n) => {
|
|
2689
|
-
|
|
2759
|
+
z.is ? z.MainButton.set(n) : (t.WebApp.MainButton.callback.forEach((i) => {
|
|
2690
2760
|
t.WebApp.MainButton.offClick(i);
|
|
2691
2761
|
}), 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(() => {
|
|
2692
2762
|
var i;
|
|
2693
|
-
n.page === void 0 ? (i = n.callback) == null || i.call(n) :
|
|
2763
|
+
n.page === void 0 ? (i = n.callback) == null || i.call(n) : Ce.setPage(n.page);
|
|
2694
2764
|
}), t.WebApp.MainButton.onClick(
|
|
2695
2765
|
t.WebApp.MainButton.callback[0]
|
|
2696
2766
|
)));
|
|
2697
2767
|
}
|
|
2698
2768
|
}, t.BackButtonPrev = () => {
|
|
2699
|
-
|
|
2700
|
-
}, t.BackButtonState = () =>
|
|
2701
|
-
|
|
2769
|
+
U.prev && (0, t.BackButton)(U.prev);
|
|
2770
|
+
}, t.BackButtonState = () => U.state, t.BackButton = (n) => {
|
|
2771
|
+
z.is ? z.BackButton.set(n) : (U.state.push(n), U.router(n));
|
|
2702
2772
|
};
|
|
2703
|
-
})(
|
|
2704
|
-
const
|
|
2773
|
+
})(C || (C = {}));
|
|
2774
|
+
const qo = C.TabBar, Vo = gr, or = C.BackButton, Ho = C.BackButtonPrev, Fo = C.BackButtonState, zo = C.Notice, Jo = C.SafeArea, Ko = C.Loading, Go = C.Menu, Xo = C.SidePanel, Zo = C.Scroll, Qo = C.AppBar, ea = C.Title, ta = C.HeaderSection, ra = C.Sidebar, na = C.Location, oa = C.isKeyboard, aa = C.SidePanelController, sa = C.SideBarController, ia = C.BottomSheetController, { Header: ca, Modal: la, MainButton: ua, WebApp: Z, getUser: fa } = C;
|
|
2705
2775
|
export {
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2776
|
+
Qo as AppBar,
|
|
2777
|
+
or as BackButton,
|
|
2778
|
+
Ho as BackButtonPrev,
|
|
2779
|
+
Fo as BackButtonState,
|
|
2780
|
+
Vo as BottomSheet,
|
|
2781
|
+
ia as BottomSheetController,
|
|
2782
|
+
ca as Header,
|
|
2783
|
+
ta as HeaderSection,
|
|
2784
|
+
Ko as Loading,
|
|
2785
|
+
na as Location,
|
|
2786
|
+
ua as MainButton,
|
|
2787
|
+
Go as Menu,
|
|
2788
|
+
la as Modal,
|
|
2789
|
+
zo as Notice,
|
|
2790
|
+
Jo as SafeArea,
|
|
2791
|
+
Zo as Scroll,
|
|
2792
|
+
sa as SideBarController,
|
|
2793
|
+
Xo as SidePanel,
|
|
2794
|
+
aa as SidePanelController,
|
|
2795
|
+
ra as Sidebar,
|
|
2796
|
+
qo as TabBar,
|
|
2797
|
+
ea as Title,
|
|
2798
|
+
Z as WebApp,
|
|
2799
|
+
W as clsx,
|
|
2800
|
+
C as default,
|
|
2801
|
+
fa as getUser,
|
|
2802
|
+
oa as isKeyboard
|
|
2732
2803
|
};
|