@elcrm/telegram 0.0.143 → 0.0.144
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 +6 -4
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -20
- package/dist/index.es.js +1102 -1067
- package/dist/index.umd.js +20 -20
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createPortal as
|
|
3
|
-
import './index.css';var
|
|
1
|
+
import C, { useState as T, useEffect as W } from "react";
|
|
2
|
+
import { createPortal as dr } from "react-dom";
|
|
3
|
+
import './index.css';var Yt = { exports: {} }, nt = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,21 +10,21 @@ import './index.css';var Ft = { 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
|
-
|
|
17
|
-
var t =
|
|
18
|
-
function
|
|
19
|
-
var b,
|
|
20
|
-
|
|
21
|
-
for (b in
|
|
22
|
-
if (p && p.defaultProps) for (b in
|
|
23
|
-
return { $$typeof: r, type: p, key: R, ref:
|
|
13
|
+
var Ht;
|
|
14
|
+
function pr() {
|
|
15
|
+
if (Ht) return nt;
|
|
16
|
+
Ht = 1;
|
|
17
|
+
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function f(p, d, h) {
|
|
19
|
+
var b, g = {}, R = null, j = null;
|
|
20
|
+
h !== void 0 && (R = "" + h), d.key !== void 0 && (R = "" + d.key), d.ref !== void 0 && (j = d.ref);
|
|
21
|
+
for (b in d) s.call(d, b) && !c.hasOwnProperty(b) && (g[b] = d[b]);
|
|
22
|
+
if (p && p.defaultProps) for (b in d = p.defaultProps, d) g[b] === void 0 && (g[b] = d[b]);
|
|
23
|
+
return { $$typeof: r, type: p, key: R, ref: j, props: g, _owner: i.current };
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return nt.Fragment = o, nt.jsx = f, nt.jsxs = f, nt;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var ot = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -34,57 +34,57 @@ 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 =
|
|
41
|
-
function
|
|
37
|
+
var Kt;
|
|
38
|
+
function vr() {
|
|
39
|
+
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), p = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), B = Symbol.iterator, fe = "@@iterator";
|
|
41
|
+
function Te(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var n =
|
|
44
|
+
var n = B && e[B] || e[fe];
|
|
45
45
|
return typeof n == "function" ? n : null;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
function
|
|
47
|
+
var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
|
+
function E(e) {
|
|
49
49
|
{
|
|
50
50
|
for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
|
|
51
51
|
a[u - 1] = arguments[u];
|
|
52
|
-
|
|
52
|
+
Ee("error", e, a);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ee(e, n, a) {
|
|
56
56
|
{
|
|
57
|
-
var u =
|
|
58
|
-
|
|
59
|
-
var _ = a.map(function(
|
|
60
|
-
return String(
|
|
57
|
+
var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
58
|
+
y !== "" && (n += "%s", a = a.concat([y]));
|
|
59
|
+
var _ = a.map(function(m) {
|
|
60
|
+
return String(m);
|
|
61
61
|
});
|
|
62
62
|
_.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, _);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var je = !1, Z = !1, ke = !1, Ae = !1, we = !1, $;
|
|
66
66
|
$ = Symbol.for("react.module.reference");
|
|
67
|
-
function
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e ===
|
|
67
|
+
function vt(e) {
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e === h || e === b || Ae || e === j || je || Z || ke || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === g || e.$$typeof === f || e.$$typeof === p || e.$$typeof === d || // 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 === $ || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ht(e, n, a) {
|
|
75
75
|
var u = e.displayName;
|
|
76
76
|
if (u)
|
|
77
77
|
return u;
|
|
78
|
-
var
|
|
79
|
-
return
|
|
78
|
+
var y = n.displayName || n.name || "";
|
|
79
|
+
return y !== "" ? a + "(" + y + ")" : a;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function $e(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
84
|
function N(e) {
|
|
85
85
|
if (e == null)
|
|
86
86
|
return null;
|
|
87
|
-
if (typeof e.tag == "number" &&
|
|
87
|
+
if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
88
88
|
return e.displayName || e.name || null;
|
|
89
89
|
if (typeof e == "string")
|
|
90
90
|
return e;
|
|
@@ -93,11 +93,11 @@ function pr() {
|
|
|
93
93
|
return "Fragment";
|
|
94
94
|
case o:
|
|
95
95
|
return "Portal";
|
|
96
|
-
case
|
|
96
|
+
case c:
|
|
97
97
|
return "Profiler";
|
|
98
98
|
case i:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case
|
|
100
|
+
case h:
|
|
101
101
|
return "Suspense";
|
|
102
102
|
case b:
|
|
103
103
|
return "SuspenseList";
|
|
@@ -106,19 +106,19 @@ function pr() {
|
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
107
|
case p:
|
|
108
108
|
var n = e;
|
|
109
|
-
return
|
|
110
|
-
case d:
|
|
111
|
-
var a = e;
|
|
112
|
-
return Te(a._context) + ".Provider";
|
|
109
|
+
return $e(n) + ".Consumer";
|
|
113
110
|
case f:
|
|
114
|
-
|
|
115
|
-
|
|
111
|
+
var a = e;
|
|
112
|
+
return $e(a._context) + ".Provider";
|
|
113
|
+
case d:
|
|
114
|
+
return ht(e, e.render, "ForwardRef");
|
|
115
|
+
case g:
|
|
116
116
|
var u = e.displayName || null;
|
|
117
117
|
return u !== null ? u : N(e.type) || "Memo";
|
|
118
118
|
case R: {
|
|
119
|
-
var
|
|
119
|
+
var y = e, _ = y._payload, m = y._init;
|
|
120
120
|
try {
|
|
121
|
-
return N(
|
|
121
|
+
return N(m(_));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,18 +126,18 @@ function pr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var I = Object.assign, z = 0,
|
|
130
|
-
function
|
|
129
|
+
var I = Object.assign, z = 0, Ne, Me, Be, Ie, Le, De, Ue;
|
|
130
|
+
function Fe() {
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
function
|
|
132
|
+
Fe.__reactDisabledLog = !0;
|
|
133
|
+
function bt() {
|
|
134
134
|
{
|
|
135
135
|
if (z === 0) {
|
|
136
|
-
|
|
136
|
+
Ne = console.log, Me = console.info, Be = console.warn, Ie = console.error, Le = console.group, De = console.groupCollapsed, Ue = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: Fe,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -153,7 +153,7 @@ function pr() {
|
|
|
153
153
|
z++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function gt() {
|
|
157
157
|
{
|
|
158
158
|
if (z--, z === 0) {
|
|
159
159
|
var e = {
|
|
@@ -163,215 +163,215 @@ function pr() {
|
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
165
|
log: I({}, e, {
|
|
166
|
-
value:
|
|
166
|
+
value: Ne
|
|
167
167
|
}),
|
|
168
168
|
info: I({}, e, {
|
|
169
|
-
value:
|
|
169
|
+
value: Me
|
|
170
170
|
}),
|
|
171
171
|
warn: I({}, e, {
|
|
172
|
-
value:
|
|
172
|
+
value: Be
|
|
173
173
|
}),
|
|
174
174
|
error: I({}, e, {
|
|
175
|
-
value:
|
|
175
|
+
value: Ie
|
|
176
176
|
}),
|
|
177
177
|
group: I({}, e, {
|
|
178
|
-
value:
|
|
178
|
+
value: Le
|
|
179
179
|
}),
|
|
180
180
|
groupCollapsed: I({}, e, {
|
|
181
|
-
value:
|
|
181
|
+
value: De
|
|
182
182
|
}),
|
|
183
183
|
groupEnd: I({}, e, {
|
|
184
|
-
value:
|
|
184
|
+
value: Ue
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
z < 0 &&
|
|
188
|
+
z < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
function
|
|
191
|
+
var de = M.ReactCurrentDispatcher, pe;
|
|
192
|
+
function Q(e, n, a) {
|
|
193
193
|
{
|
|
194
|
-
if (
|
|
194
|
+
if (pe === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
|
-
} catch (
|
|
198
|
-
var u =
|
|
199
|
-
|
|
197
|
+
} catch (y) {
|
|
198
|
+
var u = y.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
+
pe = u && u[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
|
-
` +
|
|
202
|
+
` + pe + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var ve = !1, ee;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
|
|
207
|
+
var mt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
ee = new mt();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
if (!e ||
|
|
210
|
+
function We(e, n) {
|
|
211
|
+
if (!e || ve)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
|
-
var a =
|
|
214
|
+
var a = ee.get(e);
|
|
215
215
|
if (a !== void 0)
|
|
216
216
|
return a;
|
|
217
217
|
}
|
|
218
218
|
var u;
|
|
219
|
-
|
|
220
|
-
var
|
|
219
|
+
ve = !0;
|
|
220
|
+
var y = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var _;
|
|
223
|
-
_ =
|
|
223
|
+
_ = de.current, de.current = null, bt();
|
|
224
224
|
try {
|
|
225
225
|
if (n) {
|
|
226
|
-
var
|
|
226
|
+
var m = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
229
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(m.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(
|
|
236
|
-
} catch (
|
|
237
|
-
u =
|
|
235
|
+
Reflect.construct(m, []);
|
|
236
|
+
} catch (w) {
|
|
237
|
+
u = w;
|
|
238
238
|
}
|
|
239
|
-
Reflect.construct(e, [],
|
|
239
|
+
Reflect.construct(e, [], m);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
|
-
|
|
243
|
-
} catch (
|
|
244
|
-
u =
|
|
242
|
+
m.call();
|
|
243
|
+
} catch (w) {
|
|
244
|
+
u = w;
|
|
245
245
|
}
|
|
246
|
-
e.call(
|
|
246
|
+
e.call(m.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
250
|
throw Error();
|
|
251
|
-
} catch (
|
|
252
|
-
u =
|
|
251
|
+
} catch (w) {
|
|
252
|
+
u = w;
|
|
253
253
|
}
|
|
254
254
|
e();
|
|
255
255
|
}
|
|
256
|
-
} catch (
|
|
257
|
-
if (
|
|
258
|
-
for (var v =
|
|
259
|
-
`),
|
|
260
|
-
`), S = v.length - 1,
|
|
261
|
-
|
|
262
|
-
for (; S >= 1 &&
|
|
263
|
-
if (v[S] !==
|
|
264
|
-
if (S !== 1 ||
|
|
256
|
+
} catch (w) {
|
|
257
|
+
if (w && u && typeof w.stack == "string") {
|
|
258
|
+
for (var v = w.stack.split(`
|
|
259
|
+
`), A = u.stack.split(`
|
|
260
|
+
`), S = v.length - 1, x = A.length - 1; S >= 1 && x >= 0 && v[S] !== A[x]; )
|
|
261
|
+
x--;
|
|
262
|
+
for (; S >= 1 && x >= 0; S--, x--)
|
|
263
|
+
if (v[S] !== A[x]) {
|
|
264
|
+
if (S !== 1 || x !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (S--,
|
|
267
|
-
var
|
|
266
|
+
if (S--, x--, x < 0 || v[S] !== A[x]) {
|
|
267
|
+
var O = `
|
|
268
268
|
` + v[S].replace(" at new ", " at ");
|
|
269
|
-
return e.displayName &&
|
|
269
|
+
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && ee.set(e, O), O;
|
|
270
270
|
}
|
|
271
|
-
while (S >= 1 &&
|
|
271
|
+
while (S >= 1 && x >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
ve = !1, de.current = _, gt(), Error.prepareStackTrace = y;
|
|
277
277
|
}
|
|
278
|
-
var q = e ? e.displayName || e.name : "",
|
|
279
|
-
return typeof e == "function" &&
|
|
278
|
+
var q = e ? e.displayName || e.name : "", L = q ? Q(q) : "";
|
|
279
|
+
return typeof e == "function" && ee.set(e, L), L;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function yt(e, n, a) {
|
|
282
|
+
return We(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function _t(e) {
|
|
285
285
|
var n = e.prototype;
|
|
286
286
|
return !!(n && n.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function te(e, n, a) {
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return We(e, _t(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
|
-
return
|
|
294
|
+
return Q(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case
|
|
297
|
-
return
|
|
296
|
+
case h:
|
|
297
|
+
return Q("Suspense");
|
|
298
298
|
case b:
|
|
299
|
-
return
|
|
299
|
+
return Q("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
|
-
case
|
|
304
|
-
return
|
|
305
|
-
case
|
|
306
|
-
return
|
|
303
|
+
case d:
|
|
304
|
+
return yt(e.render);
|
|
305
|
+
case g:
|
|
306
|
+
return te(e.type, n, a);
|
|
307
307
|
case R: {
|
|
308
|
-
var u = e,
|
|
308
|
+
var u = e, y = u._payload, _ = u._init;
|
|
309
309
|
try {
|
|
310
|
-
return
|
|
310
|
+
return te(_(y), n, a);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var J = Object.prototype.hasOwnProperty,
|
|
318
|
-
function
|
|
317
|
+
var J = Object.prototype.hasOwnProperty, Ye = {}, qe = M.ReactDebugCurrentFrame;
|
|
318
|
+
function re(e) {
|
|
319
319
|
if (e) {
|
|
320
|
-
var n = e._owner, a =
|
|
321
|
-
|
|
320
|
+
var n = e._owner, a = te(e.type, e._source, n ? n.type : null);
|
|
321
|
+
qe.setExtraStackFrame(a);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
qe.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Rt(e, n, a, u, y) {
|
|
326
326
|
{
|
|
327
327
|
var _ = Function.call.bind(J);
|
|
328
|
-
for (var
|
|
329
|
-
if (_(e,
|
|
328
|
+
for (var m in e)
|
|
329
|
+
if (_(e, m)) {
|
|
330
330
|
var v = void 0;
|
|
331
331
|
try {
|
|
332
|
-
if (typeof e[
|
|
333
|
-
var
|
|
334
|
-
throw
|
|
332
|
+
if (typeof e[m] != "function") {
|
|
333
|
+
var A = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
|
+
throw A.name = "Invariant Violation", A;
|
|
335
335
|
}
|
|
336
|
-
v = e[
|
|
336
|
+
v = e[m](n, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
337
|
} catch (S) {
|
|
338
338
|
v = S;
|
|
339
339
|
}
|
|
340
|
-
v && !(v instanceof Error) && (
|
|
340
|
+
v && !(v instanceof Error) && (re(y), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a, m, typeof v), re(null)), v instanceof Error && !(v.message in Ye) && (Ye[v.message] = !0, re(y), E("Failed %s type: %s", a, v.message), re(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
345
|
-
function
|
|
346
|
-
return
|
|
344
|
+
var St = Array.isArray;
|
|
345
|
+
function he(e) {
|
|
346
|
+
return St(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function xt(e) {
|
|
349
349
|
{
|
|
350
350
|
var n = typeof Symbol == "function" && Symbol.toStringTag, a = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return a;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function Et(e) {
|
|
355
355
|
try {
|
|
356
|
-
return
|
|
356
|
+
return Ve(e), !1;
|
|
357
357
|
} catch {
|
|
358
358
|
return !0;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ve(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
if (
|
|
366
|
-
return
|
|
364
|
+
function ze(e) {
|
|
365
|
+
if (Et(e))
|
|
366
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xt(e)), Ve(e);
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var Je = M.ReactCurrentOwner, jt = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
function
|
|
373
|
+
}, He, Ke;
|
|
374
|
+
function kt(e) {
|
|
375
375
|
if (J.call(e, "ref")) {
|
|
376
376
|
var n = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (n && n.isReactWarning)
|
|
@@ -387,13 +387,13 @@ function pr() {
|
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
391
|
-
typeof e.ref == "string" &&
|
|
390
|
+
function wt(e, n) {
|
|
391
|
+
typeof e.ref == "string" && Je.current;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function Ot(e, n) {
|
|
394
394
|
{
|
|
395
395
|
var a = function() {
|
|
396
|
-
|
|
396
|
+
He || (He = !0, E("%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)", n));
|
|
397
397
|
};
|
|
398
398
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
399
|
get: a,
|
|
@@ -401,10 +401,10 @@ function pr() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Pt(e, n) {
|
|
405
405
|
{
|
|
406
406
|
var a = function() {
|
|
407
|
-
|
|
407
|
+
Ke || (Ke = !0, E("%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)", n));
|
|
408
408
|
};
|
|
409
409
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
410
|
get: a,
|
|
@@ -412,7 +412,7 @@ function pr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var Ct = function(e, n, a, u, y, _, m) {
|
|
416
416
|
var v = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: r,
|
|
@@ -420,7 +420,7 @@ function pr() {
|
|
|
420
420
|
type: e,
|
|
421
421
|
key: n,
|
|
422
422
|
ref: a,
|
|
423
|
-
props:
|
|
423
|
+
props: m,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
425
|
_owner: _
|
|
426
426
|
};
|
|
@@ -438,44 +438,44 @@ function pr() {
|
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !1,
|
|
441
|
-
value:
|
|
441
|
+
value: y
|
|
442
442
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function Tt(e, n, a, u, y) {
|
|
445
445
|
{
|
|
446
|
-
var _,
|
|
447
|
-
a !== void 0 && (
|
|
446
|
+
var _, m = {}, v = null, A = null;
|
|
447
|
+
a !== void 0 && (ze(a), v = "" + a), At(n) && (ze(n.key), v = "" + n.key), kt(n) && (A = n.ref, wt(n, y));
|
|
448
448
|
for (_ in n)
|
|
449
|
-
J.call(n, _) && !
|
|
449
|
+
J.call(n, _) && !jt.hasOwnProperty(_) && (m[_] = n[_]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
451
|
var S = e.defaultProps;
|
|
452
452
|
for (_ in S)
|
|
453
|
-
|
|
453
|
+
m[_] === void 0 && (m[_] = S[_]);
|
|
454
454
|
}
|
|
455
|
-
if (v ||
|
|
456
|
-
var
|
|
457
|
-
v &&
|
|
455
|
+
if (v || A) {
|
|
456
|
+
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
+
v && Ot(m, x), A && Pt(m, x);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return Ct(e, v, A, y, u, Je.current, m);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var
|
|
462
|
+
var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
|
|
463
463
|
function Y(e) {
|
|
464
464
|
if (e) {
|
|
465
|
-
var n = e._owner, a =
|
|
466
|
-
|
|
465
|
+
var n = e._owner, a = te(e.type, e._source, n ? n.type : null);
|
|
466
|
+
Ge.setExtraStackFrame(a);
|
|
467
467
|
} else
|
|
468
|
-
|
|
468
|
+
Ge.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
|
|
472
|
-
function
|
|
470
|
+
var ge;
|
|
471
|
+
ge = !1;
|
|
472
|
+
function me(e) {
|
|
473
473
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Xe() {
|
|
476
476
|
{
|
|
477
|
-
if (
|
|
478
|
-
var e = N(
|
|
477
|
+
if (be.current) {
|
|
478
|
+
var e = N(be.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 $t(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
|
-
var
|
|
491
|
-
function
|
|
490
|
+
var Ze = {};
|
|
491
|
+
function Nt(e) {
|
|
492
492
|
{
|
|
493
|
-
var n =
|
|
493
|
+
var n = Xe();
|
|
494
494
|
if (!n) {
|
|
495
495
|
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
496
496
|
a && (n = `
|
|
@@ -500,39 +500,39 @@ Check the top-level render call using <` + a + ">.");
|
|
|
500
500
|
return n;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Qe(e, n) {
|
|
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 = Nt(n);
|
|
509
|
+
if (Ze[a])
|
|
510
510
|
return;
|
|
511
|
-
|
|
511
|
+
Ze[a] = !0;
|
|
512
512
|
var u = "";
|
|
513
|
-
e && e._owner && e._owner !==
|
|
513
|
+
e && e._owner && e._owner !== be.current && (u = " It was passed a child from " + N(e._owner.type) + "."), Y(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), Y(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function et(e, n) {
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
|
-
if (
|
|
520
|
+
if (he(e))
|
|
521
521
|
for (var a = 0; a < e.length; a++) {
|
|
522
522
|
var u = e[a];
|
|
523
|
-
|
|
523
|
+
me(u) && Qe(u, n);
|
|
524
524
|
}
|
|
525
|
-
else if (
|
|
525
|
+
else if (me(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 y = Te(e);
|
|
529
|
+
if (typeof y == "function" && y !== e.entries)
|
|
530
|
+
for (var _ = y.call(e), m; !(m = _.next()).done; )
|
|
531
|
+
me(m.value) && Qe(m.value, n);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Mt(e) {
|
|
536
536
|
{
|
|
537
537
|
var n = e.type;
|
|
538
538
|
if (n == null || typeof n == "string")
|
|
@@ -540,124 +540,124 @@ Check the top-level render call using <` + a + ">.");
|
|
|
540
540
|
var a;
|
|
541
541
|
if (typeof n == "function")
|
|
542
542
|
a = n.propTypes;
|
|
543
|
-
else if (typeof n == "object" && (n.$$typeof ===
|
|
543
|
+
else if (typeof n == "object" && (n.$$typeof === d || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
|
-
n.$$typeof ===
|
|
545
|
+
n.$$typeof === g))
|
|
546
546
|
a = n.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
549
|
if (a) {
|
|
550
550
|
var u = N(n);
|
|
551
|
-
|
|
552
|
-
} else if (n.PropTypes !== void 0 && !
|
|
553
|
-
|
|
554
|
-
var
|
|
555
|
-
|
|
551
|
+
Rt(a, e.props, "prop", u, e);
|
|
552
|
+
} else if (n.PropTypes !== void 0 && !ge) {
|
|
553
|
+
ge = !0;
|
|
554
|
+
var y = N(n);
|
|
555
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
556
556
|
}
|
|
557
|
-
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved &&
|
|
557
|
+
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && E("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 n = Object.keys(e.props), a = 0; a < n.length; a++) {
|
|
563
563
|
var u = n[a];
|
|
564
564
|
if (u !== "children" && u !== "key") {
|
|
565
|
-
Y(e),
|
|
565
|
+
Y(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Y(null);
|
|
566
566
|
break;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
e.ref !== null && (Y(e),
|
|
569
|
+
e.ref !== null && (Y(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
572
|
+
var tt = {};
|
|
573
|
+
function rt(e, n, a, u, y, _) {
|
|
574
574
|
{
|
|
575
|
-
var
|
|
576
|
-
if (!
|
|
575
|
+
var m = vt(e);
|
|
576
|
+
if (!m) {
|
|
577
577
|
var v = "";
|
|
578
578
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
|
-
var
|
|
580
|
-
|
|
579
|
+
var A = $t();
|
|
580
|
+
A ? v += A : v += Xe();
|
|
581
581
|
var S;
|
|
582
|
-
e === null ? S = "null" :
|
|
582
|
+
e === null ? S = "null" : he(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
|
|
583
583
|
}
|
|
584
|
-
var
|
|
585
|
-
if (
|
|
586
|
-
return
|
|
587
|
-
if (
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
584
|
+
var x = Tt(e, n, a, y, _);
|
|
585
|
+
if (x == null)
|
|
586
|
+
return x;
|
|
587
|
+
if (m) {
|
|
588
|
+
var O = n.children;
|
|
589
|
+
if (O !== void 0)
|
|
590
590
|
if (u)
|
|
591
|
-
if (
|
|
592
|
-
for (var q = 0; q <
|
|
593
|
-
|
|
594
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (he(O)) {
|
|
592
|
+
for (var q = 0; q < O.length; q++)
|
|
593
|
+
et(O[q], e);
|
|
594
|
+
Object.freeze && Object.freeze(O);
|
|
595
595
|
} else
|
|
596
|
-
|
|
596
|
+
E("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
|
+
et(O, e);
|
|
599
599
|
}
|
|
600
600
|
if (J.call(n, "key")) {
|
|
601
|
-
var
|
|
602
|
-
return
|
|
603
|
-
}),
|
|
604
|
-
if (!
|
|
605
|
-
var
|
|
606
|
-
|
|
601
|
+
var L = N(e), w = Object.keys(n).filter(function(Wt) {
|
|
602
|
+
return Wt !== "key";
|
|
603
|
+
}), ye = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!tt[L + ye]) {
|
|
605
|
+
var Ft = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
|
|
606
|
+
E(`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} />`, ye, L, Ft, L), tt[L + ye] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e === s ?
|
|
614
|
+
return e === s ? Bt(x) : Mt(x), x;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function Mt(e, n, a) {
|
|
618
|
-
return et(e, n, a, !0);
|
|
619
|
-
}
|
|
620
617
|
function It(e, n, a) {
|
|
621
|
-
return
|
|
618
|
+
return rt(e, n, a, !0);
|
|
619
|
+
}
|
|
620
|
+
function Lt(e, n, a) {
|
|
621
|
+
return rt(e, n, a, !1);
|
|
622
622
|
}
|
|
623
|
-
var
|
|
624
|
-
|
|
625
|
-
}()),
|
|
623
|
+
var Dt = Lt, Ut = It;
|
|
624
|
+
ot.Fragment = s, ot.jsx = Dt, ot.jsxs = Ut;
|
|
625
|
+
}()), ot;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var
|
|
629
|
-
const
|
|
630
|
-
o:
|
|
631
|
-
x:
|
|
627
|
+
process.env.NODE_ENV === "production" ? Yt.exports = pr() : Yt.exports = vr();
|
|
628
|
+
var l = Yt.exports;
|
|
629
|
+
const hr = "_o_1apbm_11", br = "_x_1apbm_24", gr = "_p_1apbm_28", mr = "_m_1apbm_45", Oe = {
|
|
630
|
+
o: hr,
|
|
631
|
+
x: br,
|
|
632
632
|
p: gr,
|
|
633
|
-
m:
|
|
633
|
+
m: mr
|
|
634
634
|
};
|
|
635
635
|
let V = {};
|
|
636
|
-
var
|
|
636
|
+
var qt;
|
|
637
637
|
((t) => {
|
|
638
638
|
function r({
|
|
639
639
|
children: p,
|
|
640
|
-
onCallbackModal:
|
|
641
|
-
nameModal:
|
|
640
|
+
onCallbackModal: d,
|
|
641
|
+
nameModal: h,
|
|
642
642
|
offsetTop: b
|
|
643
643
|
}) {
|
|
644
|
-
const [
|
|
645
|
-
if (V[
|
|
646
|
-
P.BackButton(!1),
|
|
647
|
-
R(!1),
|
|
644
|
+
const [g, R] = T(!1), [j, B] = T(!1);
|
|
645
|
+
if (V[h].onClose = () => {
|
|
646
|
+
P.BackButton(!1), B(!0), setTimeout(() => {
|
|
647
|
+
R(!1), B(!1), d == null || d(), V.x(h);
|
|
648
648
|
}, 300);
|
|
649
649
|
}, W(() => {
|
|
650
|
-
|
|
651
|
-
callback: () => V[
|
|
650
|
+
g ? V[h].onClose() : (P.BackButton({
|
|
651
|
+
callback: () => V[h].onClose()
|
|
652
652
|
}), R(!0));
|
|
653
|
-
}, []), !!
|
|
654
|
-
return /* @__PURE__ */
|
|
653
|
+
}, []), !!g)
|
|
654
|
+
return /* @__PURE__ */ l.jsx("div", { className: ae(Oe.o, j && Oe.x), children: /* @__PURE__ */ l.jsx(
|
|
655
655
|
"div",
|
|
656
656
|
{
|
|
657
|
-
className:
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
b ?
|
|
657
|
+
className: ae(
|
|
658
|
+
Oe.p,
|
|
659
|
+
j && Oe.x,
|
|
660
|
+
b ? Oe.o : Oe.m
|
|
661
661
|
),
|
|
662
662
|
children: p
|
|
663
663
|
}
|
|
@@ -667,83 +667,83 @@ var Wt;
|
|
|
667
667
|
function o({
|
|
668
668
|
import_modules: p
|
|
669
669
|
}) {
|
|
670
|
-
let [
|
|
670
|
+
let [d, h] = T([]);
|
|
671
671
|
return V.x = (b) => {
|
|
672
|
-
|
|
672
|
+
h(b ? d.filter((g) => g.key !== b) : []);
|
|
673
673
|
}, W(() => {
|
|
674
674
|
p && (V.i = p);
|
|
675
|
-
}, []), V.add = (b,
|
|
676
|
-
|
|
677
|
-
}, /* @__PURE__ */
|
|
675
|
+
}, []), V.add = (b, g = Date.now()) => {
|
|
676
|
+
h([...d, { key: g, item: b }]);
|
|
677
|
+
}, /* @__PURE__ */ l.jsx(l.Fragment, { children: d.map((b) => b.item) });
|
|
678
678
|
}
|
|
679
679
|
t.Init = o;
|
|
680
|
-
function s(p,
|
|
680
|
+
function s(p, d, h) {
|
|
681
681
|
V.add(
|
|
682
|
-
/* @__PURE__ */
|
|
682
|
+
/* @__PURE__ */ l.jsx(
|
|
683
683
|
r,
|
|
684
684
|
{
|
|
685
|
-
onCallbackModal: V["callback_modal" +
|
|
686
|
-
nameModal:
|
|
687
|
-
offsetTop:
|
|
685
|
+
onCallbackModal: V["callback_modal" + d],
|
|
686
|
+
nameModal: d || "",
|
|
687
|
+
offsetTop: h,
|
|
688
688
|
children: p
|
|
689
689
|
},
|
|
690
690
|
String(Date.now())
|
|
691
691
|
),
|
|
692
|
-
|
|
692
|
+
d
|
|
693
693
|
);
|
|
694
694
|
}
|
|
695
695
|
t.Add = s;
|
|
696
|
-
function i(p,
|
|
697
|
-
return V[
|
|
696
|
+
function i(p, d = Date.now().toString(), h) {
|
|
697
|
+
return V[d] = {}, {
|
|
698
698
|
Open: (R) => {
|
|
699
699
|
t.Add(
|
|
700
|
-
/* @__PURE__ */
|
|
700
|
+
/* @__PURE__ */ l.jsx(
|
|
701
701
|
p,
|
|
702
702
|
{
|
|
703
703
|
...R,
|
|
704
|
-
onCallbackModal: (
|
|
705
|
-
var
|
|
706
|
-
(
|
|
704
|
+
onCallbackModal: (j) => {
|
|
705
|
+
var B;
|
|
706
|
+
(B = R.callback) == null || B.call(R, j);
|
|
707
707
|
},
|
|
708
|
-
nameModal:
|
|
708
|
+
nameModal: d
|
|
709
709
|
},
|
|
710
710
|
(/* @__PURE__ */ new Date()).getTime()
|
|
711
711
|
),
|
|
712
|
-
|
|
713
|
-
|
|
712
|
+
d,
|
|
713
|
+
h === void 0 ? !0 : h
|
|
714
714
|
);
|
|
715
715
|
}
|
|
716
716
|
};
|
|
717
717
|
}
|
|
718
718
|
t.Create = i;
|
|
719
|
-
function
|
|
719
|
+
function c(p) {
|
|
720
720
|
V[p].onClose();
|
|
721
721
|
}
|
|
722
|
-
t.Close =
|
|
723
|
-
function
|
|
724
|
-
V.i && (b && (
|
|
722
|
+
t.Close = c;
|
|
723
|
+
function f(p, d, h, b) {
|
|
724
|
+
V.i && (b && (h.callback = b), V.i(`${p}/modals/${d}.tsx`).then((g) => {
|
|
725
725
|
var R;
|
|
726
|
-
|
|
726
|
+
g.Open ? g.Open(h) : (R = g.default) != null && R.Open ? g.default.Open(h) : g.default && g.default(h);
|
|
727
727
|
}));
|
|
728
728
|
}
|
|
729
|
-
t.Open =
|
|
730
|
-
})(
|
|
731
|
-
function
|
|
729
|
+
t.Open = f;
|
|
730
|
+
})(qt || (qt = {}));
|
|
731
|
+
function nr() {
|
|
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 or = {
|
|
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 Gt(t) {
|
|
740
|
+
const r = nr();
|
|
741
|
+
r.CRYPTO_PARAMS ? r.CRYPTO_PARAMS = { ...r.CRYPTO_PARAMS, ...t } : r.CRYPTO_PARAMS = { ...or, ...t };
|
|
742
742
|
}
|
|
743
|
-
function
|
|
744
|
-
return
|
|
743
|
+
function ft() {
|
|
744
|
+
return nr().CRYPTO_PARAMS || or;
|
|
745
745
|
}
|
|
746
|
-
const
|
|
746
|
+
const dt = (t) => {
|
|
747
747
|
let r = 0;
|
|
748
748
|
for (let s = 0; s < t.length; s++) {
|
|
749
749
|
const i = t.charCodeAt(s);
|
|
@@ -756,42 +756,42 @@ const ut = (t) => {
|
|
|
756
756
|
o += i.toString(16).padStart(2, "0");
|
|
757
757
|
}
|
|
758
758
|
return o;
|
|
759
|
-
},
|
|
759
|
+
}, ar = (t, r) => {
|
|
760
760
|
let o = t + r;
|
|
761
|
-
for (let i = 0; i <
|
|
762
|
-
o =
|
|
761
|
+
for (let i = 0; i < ft().iterations; i++)
|
|
762
|
+
o = dt(o);
|
|
763
763
|
const s = new Uint8Array(32);
|
|
764
764
|
for (let i = 0; i < 32; i++)
|
|
765
765
|
s[i] = parseInt(o.substring(i * 2, i * 2 + 2), 16);
|
|
766
766
|
return s;
|
|
767
|
-
},
|
|
767
|
+
}, sr = (t, r) => {
|
|
768
768
|
const o = new Uint8Array(t.length), s = new Uint8Array(t.length);
|
|
769
769
|
let i = 0;
|
|
770
|
-
for (let
|
|
771
|
-
const
|
|
772
|
-
i = r[
|
|
770
|
+
for (let c = 0; c < t.length; c++) {
|
|
771
|
+
const f = c % r.length;
|
|
772
|
+
i = r[f] + c + i & 255, s[c] = i;
|
|
773
773
|
}
|
|
774
|
-
for (let
|
|
775
|
-
o[
|
|
774
|
+
for (let c = 0; c < t.length; c++)
|
|
775
|
+
o[c] = t[c] ^ s[c];
|
|
776
776
|
return o;
|
|
777
|
-
},
|
|
777
|
+
}, yr = (t) => new TextEncoder().encode(t), _r = (t) => new TextDecoder().decode(t), Rr = (t) => {
|
|
778
778
|
let r = "";
|
|
779
779
|
for (let o = 0; o < t.length; o += 8192) {
|
|
780
780
|
const s = t.slice(o, Math.min(o + 8192, t.length));
|
|
781
781
|
r += String.fromCharCode.apply(null, Array.from(s));
|
|
782
782
|
}
|
|
783
783
|
return btoa(r);
|
|
784
|
-
},
|
|
784
|
+
}, Sr = (t) => {
|
|
785
785
|
const r = atob(t), o = new Uint8Array(r.length);
|
|
786
786
|
for (let s = 0; s < r.length; s++)
|
|
787
787
|
o[s] = r.charCodeAt(s);
|
|
788
788
|
return o;
|
|
789
|
-
},
|
|
789
|
+
}, xr = (t) => {
|
|
790
790
|
try {
|
|
791
|
-
const r =
|
|
791
|
+
const r = dt(
|
|
792
792
|
Date.now().toString() + Math.random()
|
|
793
|
-
).substring(0,
|
|
794
|
-
return `${r}.${
|
|
793
|
+
).substring(0, ft().saltLength * 2), o = dt(t + r).substring(0, 8), s = ar(ft().key, r), i = yr(t), c = sr(i, s), f = Rr(c);
|
|
794
|
+
return `${r}.${f}.${o}`;
|
|
795
795
|
} catch {
|
|
796
796
|
throw new Error("Не удалось зашифровать данные");
|
|
797
797
|
}
|
|
@@ -800,25 +800,25 @@ const ut = (t) => {
|
|
|
800
800
|
const r = t.split(".");
|
|
801
801
|
if (r.length !== 3)
|
|
802
802
|
throw new Error("Неверный формат зашифрованных данных");
|
|
803
|
-
const o = r[0], s = r[1], i = r[2],
|
|
804
|
-
if (
|
|
803
|
+
const o = r[0], s = r[1], i = r[2], c = ar(ft().key, o), f = Sr(s), p = sr(f, c), d = _r(p);
|
|
804
|
+
if (dt(d + o).substring(
|
|
805
805
|
0,
|
|
806
806
|
8
|
|
807
807
|
) !== i)
|
|
808
808
|
throw new Error("Контрольная сумма не совпадает");
|
|
809
|
-
return
|
|
809
|
+
return d;
|
|
810
810
|
} catch {
|
|
811
811
|
return "";
|
|
812
812
|
}
|
|
813
813
|
};
|
|
814
|
-
var
|
|
814
|
+
var ue;
|
|
815
815
|
((t) => {
|
|
816
816
|
t.setKey = (r) => {
|
|
817
|
-
|
|
817
|
+
Gt({ key: r });
|
|
818
818
|
}, t.enCode = (r) => {
|
|
819
819
|
try {
|
|
820
820
|
const o = JSON.stringify(r);
|
|
821
|
-
return
|
|
821
|
+
return xr(o);
|
|
822
822
|
} catch {
|
|
823
823
|
throw new Error("Не удалось зашифровать объект");
|
|
824
824
|
}
|
|
@@ -832,10 +832,10 @@ var ie;
|
|
|
832
832
|
return !1;
|
|
833
833
|
}
|
|
834
834
|
}, t.setSecurityParams = (r, o) => {
|
|
835
|
-
|
|
835
|
+
Gt({ iterations: r, saltLength: o });
|
|
836
836
|
};
|
|
837
|
-
})(
|
|
838
|
-
var
|
|
837
|
+
})(ue || (ue = {}));
|
|
838
|
+
var at = {};
|
|
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
|
-
|
|
852
|
-
var t =
|
|
853
|
-
function
|
|
854
|
-
var b,
|
|
855
|
-
|
|
856
|
-
for (b in
|
|
857
|
-
if (p && p.defaultProps) for (b in
|
|
858
|
-
return { $$typeof: r, type: p, key: R, ref:
|
|
848
|
+
var Xt;
|
|
849
|
+
function jr() {
|
|
850
|
+
if (Xt) return at;
|
|
851
|
+
Xt = 1;
|
|
852
|
+
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
853
|
+
function f(p, d, h) {
|
|
854
|
+
var b, g = {}, R = null, j = null;
|
|
855
|
+
h !== void 0 && (R = "" + h), d.key !== void 0 && (R = "" + d.key), d.ref !== void 0 && (j = d.ref);
|
|
856
|
+
for (b in d) s.call(d, b) && !c.hasOwnProperty(b) && (g[b] = d[b]);
|
|
857
|
+
if (p && p.defaultProps) for (b in d = p.defaultProps, d) g[b] === void 0 && (g[b] = d[b]);
|
|
858
|
+
return { $$typeof: r, type: p, key: R, ref: j, props: g, _owner: i.current };
|
|
859
859
|
}
|
|
860
|
-
return
|
|
860
|
+
return at.Fragment = o, at.jsx = f, at.jsxs = f, at;
|
|
861
861
|
}
|
|
862
|
-
var
|
|
862
|
+
var st = {};
|
|
863
863
|
/**
|
|
864
864
|
* @license React
|
|
865
865
|
* react-jsx-runtime.development.js
|
|
@@ -869,57 +869,57 @@ var ot = {};
|
|
|
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 =
|
|
876
|
-
function
|
|
872
|
+
var Zt;
|
|
873
|
+
function kr() {
|
|
874
|
+
return Zt || (Zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
|
+
var t = C, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), p = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), B = Symbol.iterator, fe = "@@iterator";
|
|
876
|
+
function Te(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
879
|
-
var n =
|
|
879
|
+
var n = B && e[B] || e[fe];
|
|
880
880
|
return typeof n == "function" ? n : null;
|
|
881
881
|
}
|
|
882
|
-
var
|
|
883
|
-
function
|
|
882
|
+
var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
883
|
+
function E(e) {
|
|
884
884
|
{
|
|
885
885
|
for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
|
|
886
886
|
a[u - 1] = arguments[u];
|
|
887
|
-
|
|
887
|
+
Ee("error", e, a);
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function Ee(e, n, a) {
|
|
891
891
|
{
|
|
892
|
-
var u =
|
|
893
|
-
|
|
894
|
-
var _ = a.map(function(
|
|
895
|
-
return String(
|
|
892
|
+
var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
|
|
893
|
+
y !== "" && (n += "%s", a = a.concat([y]));
|
|
894
|
+
var _ = a.map(function(m) {
|
|
895
|
+
return String(m);
|
|
896
896
|
});
|
|
897
897
|
_.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, _);
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
|
-
var
|
|
900
|
+
var je = !1, Z = !1, ke = !1, Ae = !1, we = !1, $;
|
|
901
901
|
$ = Symbol.for("react.module.reference");
|
|
902
|
-
function
|
|
903
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e ===
|
|
902
|
+
function vt(e) {
|
|
903
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e === h || e === b || Ae || e === j || je || Z || ke || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === g || e.$$typeof === f || e.$$typeof === p || e.$$typeof === d || // 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 === $ || e.getModuleId !== void 0));
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function ht(e, n, a) {
|
|
910
910
|
var u = e.displayName;
|
|
911
911
|
if (u)
|
|
912
912
|
return u;
|
|
913
|
-
var
|
|
914
|
-
return
|
|
913
|
+
var y = n.displayName || n.name || "";
|
|
914
|
+
return y !== "" ? a + "(" + y + ")" : a;
|
|
915
915
|
}
|
|
916
|
-
function
|
|
916
|
+
function $e(e) {
|
|
917
917
|
return e.displayName || "Context";
|
|
918
918
|
}
|
|
919
919
|
function N(e) {
|
|
920
920
|
if (e == null)
|
|
921
921
|
return null;
|
|
922
|
-
if (typeof e.tag == "number" &&
|
|
922
|
+
if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
923
923
|
return e.displayName || e.name || null;
|
|
924
924
|
if (typeof e == "string")
|
|
925
925
|
return e;
|
|
@@ -928,11 +928,11 @@ function Ar() {
|
|
|
928
928
|
return "Fragment";
|
|
929
929
|
case o:
|
|
930
930
|
return "Portal";
|
|
931
|
-
case
|
|
931
|
+
case c:
|
|
932
932
|
return "Profiler";
|
|
933
933
|
case i:
|
|
934
934
|
return "StrictMode";
|
|
935
|
-
case
|
|
935
|
+
case h:
|
|
936
936
|
return "Suspense";
|
|
937
937
|
case b:
|
|
938
938
|
return "SuspenseList";
|
|
@@ -941,19 +941,19 @@ function Ar() {
|
|
|
941
941
|
switch (e.$$typeof) {
|
|
942
942
|
case p:
|
|
943
943
|
var n = e;
|
|
944
|
-
return
|
|
945
|
-
case d:
|
|
946
|
-
var a = e;
|
|
947
|
-
return Te(a._context) + ".Provider";
|
|
944
|
+
return $e(n) + ".Consumer";
|
|
948
945
|
case f:
|
|
949
|
-
|
|
950
|
-
|
|
946
|
+
var a = e;
|
|
947
|
+
return $e(a._context) + ".Provider";
|
|
948
|
+
case d:
|
|
949
|
+
return ht(e, e.render, "ForwardRef");
|
|
950
|
+
case g:
|
|
951
951
|
var u = e.displayName || null;
|
|
952
952
|
return u !== null ? u : N(e.type) || "Memo";
|
|
953
953
|
case R: {
|
|
954
|
-
var
|
|
954
|
+
var y = e, _ = y._payload, m = y._init;
|
|
955
955
|
try {
|
|
956
|
-
return N(
|
|
956
|
+
return N(m(_));
|
|
957
957
|
} catch {
|
|
958
958
|
return null;
|
|
959
959
|
}
|
|
@@ -961,18 +961,18 @@ function Ar() {
|
|
|
961
961
|
}
|
|
962
962
|
return null;
|
|
963
963
|
}
|
|
964
|
-
var I = Object.assign, z = 0,
|
|
965
|
-
function
|
|
964
|
+
var I = Object.assign, z = 0, Ne, Me, Be, Ie, Le, De, Ue;
|
|
965
|
+
function Fe() {
|
|
966
966
|
}
|
|
967
|
-
|
|
968
|
-
function
|
|
967
|
+
Fe.__reactDisabledLog = !0;
|
|
968
|
+
function bt() {
|
|
969
969
|
{
|
|
970
970
|
if (z === 0) {
|
|
971
|
-
|
|
971
|
+
Ne = console.log, Me = console.info, Be = console.warn, Ie = console.error, Le = console.group, De = console.groupCollapsed, Ue = console.groupEnd;
|
|
972
972
|
var e = {
|
|
973
973
|
configurable: !0,
|
|
974
974
|
enumerable: !0,
|
|
975
|
-
value:
|
|
975
|
+
value: Fe,
|
|
976
976
|
writable: !0
|
|
977
977
|
};
|
|
978
978
|
Object.defineProperties(console, {
|
|
@@ -988,7 +988,7 @@ function Ar() {
|
|
|
988
988
|
z++;
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
|
-
function
|
|
991
|
+
function gt() {
|
|
992
992
|
{
|
|
993
993
|
if (z--, z === 0) {
|
|
994
994
|
var e = {
|
|
@@ -998,215 +998,215 @@ function Ar() {
|
|
|
998
998
|
};
|
|
999
999
|
Object.defineProperties(console, {
|
|
1000
1000
|
log: I({}, e, {
|
|
1001
|
-
value:
|
|
1001
|
+
value: Ne
|
|
1002
1002
|
}),
|
|
1003
1003
|
info: I({}, e, {
|
|
1004
|
-
value:
|
|
1004
|
+
value: Me
|
|
1005
1005
|
}),
|
|
1006
1006
|
warn: I({}, e, {
|
|
1007
|
-
value:
|
|
1007
|
+
value: Be
|
|
1008
1008
|
}),
|
|
1009
1009
|
error: I({}, e, {
|
|
1010
|
-
value:
|
|
1010
|
+
value: Ie
|
|
1011
1011
|
}),
|
|
1012
1012
|
group: I({}, e, {
|
|
1013
|
-
value:
|
|
1013
|
+
value: Le
|
|
1014
1014
|
}),
|
|
1015
1015
|
groupCollapsed: I({}, e, {
|
|
1016
|
-
value:
|
|
1016
|
+
value: De
|
|
1017
1017
|
}),
|
|
1018
1018
|
groupEnd: I({}, e, {
|
|
1019
|
-
value:
|
|
1019
|
+
value: Ue
|
|
1020
1020
|
})
|
|
1021
1021
|
});
|
|
1022
1022
|
}
|
|
1023
|
-
z < 0 &&
|
|
1023
|
+
z < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
|
-
var
|
|
1027
|
-
function
|
|
1026
|
+
var de = M.ReactCurrentDispatcher, pe;
|
|
1027
|
+
function Q(e, n, a) {
|
|
1028
1028
|
{
|
|
1029
|
-
if (
|
|
1029
|
+
if (pe === void 0)
|
|
1030
1030
|
try {
|
|
1031
1031
|
throw Error();
|
|
1032
|
-
} catch (
|
|
1033
|
-
var u =
|
|
1034
|
-
|
|
1032
|
+
} catch (y) {
|
|
1033
|
+
var u = y.stack.trim().match(/\n( *(at )?)/);
|
|
1034
|
+
pe = u && u[1] || "";
|
|
1035
1035
|
}
|
|
1036
1036
|
return `
|
|
1037
|
-
` +
|
|
1037
|
+
` + pe + e;
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
|
-
var
|
|
1040
|
+
var ve = !1, ee;
|
|
1041
1041
|
{
|
|
1042
|
-
var
|
|
1043
|
-
|
|
1042
|
+
var mt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1043
|
+
ee = new mt();
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1046
|
-
if (!e ||
|
|
1045
|
+
function We(e, n) {
|
|
1046
|
+
if (!e || ve)
|
|
1047
1047
|
return "";
|
|
1048
1048
|
{
|
|
1049
|
-
var a =
|
|
1049
|
+
var a = ee.get(e);
|
|
1050
1050
|
if (a !== void 0)
|
|
1051
1051
|
return a;
|
|
1052
1052
|
}
|
|
1053
1053
|
var u;
|
|
1054
|
-
|
|
1055
|
-
var
|
|
1054
|
+
ve = !0;
|
|
1055
|
+
var y = Error.prepareStackTrace;
|
|
1056
1056
|
Error.prepareStackTrace = void 0;
|
|
1057
1057
|
var _;
|
|
1058
|
-
_ =
|
|
1058
|
+
_ = de.current, de.current = null, bt();
|
|
1059
1059
|
try {
|
|
1060
1060
|
if (n) {
|
|
1061
|
-
var
|
|
1061
|
+
var m = function() {
|
|
1062
1062
|
throw Error();
|
|
1063
1063
|
};
|
|
1064
|
-
if (Object.defineProperty(
|
|
1064
|
+
if (Object.defineProperty(m.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(
|
|
1071
|
-
} catch (
|
|
1072
|
-
u =
|
|
1070
|
+
Reflect.construct(m, []);
|
|
1071
|
+
} catch (w) {
|
|
1072
|
+
u = w;
|
|
1073
1073
|
}
|
|
1074
|
-
Reflect.construct(e, [],
|
|
1074
|
+
Reflect.construct(e, [], m);
|
|
1075
1075
|
} else {
|
|
1076
1076
|
try {
|
|
1077
|
-
|
|
1078
|
-
} catch (
|
|
1079
|
-
u =
|
|
1077
|
+
m.call();
|
|
1078
|
+
} catch (w) {
|
|
1079
|
+
u = w;
|
|
1080
1080
|
}
|
|
1081
|
-
e.call(
|
|
1081
|
+
e.call(m.prototype);
|
|
1082
1082
|
}
|
|
1083
1083
|
} else {
|
|
1084
1084
|
try {
|
|
1085
1085
|
throw Error();
|
|
1086
|
-
} catch (
|
|
1087
|
-
u =
|
|
1086
|
+
} catch (w) {
|
|
1087
|
+
u = w;
|
|
1088
1088
|
}
|
|
1089
1089
|
e();
|
|
1090
1090
|
}
|
|
1091
|
-
} catch (
|
|
1092
|
-
if (
|
|
1093
|
-
for (var v =
|
|
1094
|
-
`),
|
|
1095
|
-
`), S = v.length - 1,
|
|
1096
|
-
|
|
1097
|
-
for (; S >= 1 &&
|
|
1098
|
-
if (v[S] !==
|
|
1099
|
-
if (S !== 1 ||
|
|
1091
|
+
} catch (w) {
|
|
1092
|
+
if (w && u && typeof w.stack == "string") {
|
|
1093
|
+
for (var v = w.stack.split(`
|
|
1094
|
+
`), A = u.stack.split(`
|
|
1095
|
+
`), S = v.length - 1, x = A.length - 1; S >= 1 && x >= 0 && v[S] !== A[x]; )
|
|
1096
|
+
x--;
|
|
1097
|
+
for (; S >= 1 && x >= 0; S--, x--)
|
|
1098
|
+
if (v[S] !== A[x]) {
|
|
1099
|
+
if (S !== 1 || x !== 1)
|
|
1100
1100
|
do
|
|
1101
|
-
if (S--,
|
|
1102
|
-
var
|
|
1101
|
+
if (S--, x--, x < 0 || v[S] !== A[x]) {
|
|
1102
|
+
var O = `
|
|
1103
1103
|
` + v[S].replace(" at new ", " at ");
|
|
1104
|
-
return e.displayName &&
|
|
1104
|
+
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && ee.set(e, O), O;
|
|
1105
1105
|
}
|
|
1106
|
-
while (S >= 1 &&
|
|
1106
|
+
while (S >= 1 && x >= 0);
|
|
1107
1107
|
break;
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
} finally {
|
|
1111
|
-
|
|
1111
|
+
ve = !1, de.current = _, gt(), Error.prepareStackTrace = y;
|
|
1112
1112
|
}
|
|
1113
|
-
var q = e ? e.displayName || e.name : "",
|
|
1114
|
-
return typeof e == "function" &&
|
|
1113
|
+
var q = e ? e.displayName || e.name : "", L = q ? Q(q) : "";
|
|
1114
|
+
return typeof e == "function" && ee.set(e, L), L;
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1117
|
-
return
|
|
1116
|
+
function yt(e, n, a) {
|
|
1117
|
+
return We(e, !1);
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function _t(e) {
|
|
1120
1120
|
var n = e.prototype;
|
|
1121
1121
|
return !!(n && n.isReactComponent);
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function te(e, n, a) {
|
|
1124
1124
|
if (e == null)
|
|
1125
1125
|
return "";
|
|
1126
1126
|
if (typeof e == "function")
|
|
1127
|
-
return
|
|
1127
|
+
return We(e, _t(e));
|
|
1128
1128
|
if (typeof e == "string")
|
|
1129
|
-
return
|
|
1129
|
+
return Q(e);
|
|
1130
1130
|
switch (e) {
|
|
1131
|
-
case
|
|
1132
|
-
return
|
|
1131
|
+
case h:
|
|
1132
|
+
return Q("Suspense");
|
|
1133
1133
|
case b:
|
|
1134
|
-
return
|
|
1134
|
+
return Q("SuspenseList");
|
|
1135
1135
|
}
|
|
1136
1136
|
if (typeof e == "object")
|
|
1137
1137
|
switch (e.$$typeof) {
|
|
1138
|
-
case
|
|
1139
|
-
return
|
|
1140
|
-
case
|
|
1141
|
-
return
|
|
1138
|
+
case d:
|
|
1139
|
+
return yt(e.render);
|
|
1140
|
+
case g:
|
|
1141
|
+
return te(e.type, n, a);
|
|
1142
1142
|
case R: {
|
|
1143
|
-
var u = e,
|
|
1143
|
+
var u = e, y = u._payload, _ = u._init;
|
|
1144
1144
|
try {
|
|
1145
|
-
return
|
|
1145
|
+
return te(_(y), n, a);
|
|
1146
1146
|
} catch {
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
1150
|
return "";
|
|
1151
1151
|
}
|
|
1152
|
-
var J = Object.prototype.hasOwnProperty,
|
|
1153
|
-
function
|
|
1152
|
+
var J = Object.prototype.hasOwnProperty, Ye = {}, qe = M.ReactDebugCurrentFrame;
|
|
1153
|
+
function re(e) {
|
|
1154
1154
|
if (e) {
|
|
1155
|
-
var n = e._owner, a =
|
|
1156
|
-
|
|
1155
|
+
var n = e._owner, a = te(e.type, e._source, n ? n.type : null);
|
|
1156
|
+
qe.setExtraStackFrame(a);
|
|
1157
1157
|
} else
|
|
1158
|
-
|
|
1158
|
+
qe.setExtraStackFrame(null);
|
|
1159
1159
|
}
|
|
1160
|
-
function
|
|
1160
|
+
function Rt(e, n, a, u, y) {
|
|
1161
1161
|
{
|
|
1162
1162
|
var _ = Function.call.bind(J);
|
|
1163
|
-
for (var
|
|
1164
|
-
if (_(e,
|
|
1163
|
+
for (var m in e)
|
|
1164
|
+
if (_(e, m)) {
|
|
1165
1165
|
var v = void 0;
|
|
1166
1166
|
try {
|
|
1167
|
-
if (typeof e[
|
|
1168
|
-
var
|
|
1169
|
-
throw
|
|
1167
|
+
if (typeof e[m] != "function") {
|
|
1168
|
+
var A = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1169
|
+
throw A.name = "Invariant Violation", A;
|
|
1170
1170
|
}
|
|
1171
|
-
v = e[
|
|
1171
|
+
v = e[m](n, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1172
1172
|
} catch (S) {
|
|
1173
1173
|
v = S;
|
|
1174
1174
|
}
|
|
1175
|
-
v && !(v instanceof Error) && (
|
|
1175
|
+
v && !(v instanceof Error) && (re(y), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a, m, typeof v), re(null)), v instanceof Error && !(v.message in Ye) && (Ye[v.message] = !0, re(y), E("Failed %s type: %s", a, v.message), re(null));
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
1179
|
-
var
|
|
1180
|
-
function
|
|
1181
|
-
return
|
|
1179
|
+
var St = Array.isArray;
|
|
1180
|
+
function he(e) {
|
|
1181
|
+
return St(e);
|
|
1182
1182
|
}
|
|
1183
|
-
function
|
|
1183
|
+
function xt(e) {
|
|
1184
1184
|
{
|
|
1185
1185
|
var n = typeof Symbol == "function" && Symbol.toStringTag, a = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1186
1186
|
return a;
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1189
|
+
function Et(e) {
|
|
1190
1190
|
try {
|
|
1191
|
-
return
|
|
1191
|
+
return Ve(e), !1;
|
|
1192
1192
|
} catch {
|
|
1193
1193
|
return !0;
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1196
|
+
function Ve(e) {
|
|
1197
1197
|
return "" + e;
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1200
|
-
if (
|
|
1201
|
-
return
|
|
1199
|
+
function ze(e) {
|
|
1200
|
+
if (Et(e))
|
|
1201
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xt(e)), Ve(e);
|
|
1202
1202
|
}
|
|
1203
|
-
var
|
|
1203
|
+
var Je = M.ReactCurrentOwner, jt = {
|
|
1204
1204
|
key: !0,
|
|
1205
1205
|
ref: !0,
|
|
1206
1206
|
__self: !0,
|
|
1207
1207
|
__source: !0
|
|
1208
|
-
},
|
|
1209
|
-
function
|
|
1208
|
+
}, He, Ke;
|
|
1209
|
+
function kt(e) {
|
|
1210
1210
|
if (J.call(e, "ref")) {
|
|
1211
1211
|
var n = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1212
1212
|
if (n && n.isReactWarning)
|
|
@@ -1222,13 +1222,13 @@ function Ar() {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
return e.key !== void 0;
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1226
|
-
typeof e.ref == "string" &&
|
|
1225
|
+
function wt(e, n) {
|
|
1226
|
+
typeof e.ref == "string" && Je.current;
|
|
1227
1227
|
}
|
|
1228
|
-
function
|
|
1228
|
+
function Ot(e, n) {
|
|
1229
1229
|
{
|
|
1230
1230
|
var a = function() {
|
|
1231
|
-
|
|
1231
|
+
He || (He = !0, E("%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)", n));
|
|
1232
1232
|
};
|
|
1233
1233
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1234
1234
|
get: a,
|
|
@@ -1236,10 +1236,10 @@ function Ar() {
|
|
|
1236
1236
|
});
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function Pt(e, n) {
|
|
1240
1240
|
{
|
|
1241
1241
|
var a = function() {
|
|
1242
|
-
|
|
1242
|
+
Ke || (Ke = !0, E("%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)", n));
|
|
1243
1243
|
};
|
|
1244
1244
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1245
1245
|
get: a,
|
|
@@ -1247,7 +1247,7 @@ function Ar() {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
var
|
|
1250
|
+
var Ct = function(e, n, a, u, y, _, m) {
|
|
1251
1251
|
var v = {
|
|
1252
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1253
1253
|
$$typeof: r,
|
|
@@ -1255,7 +1255,7 @@ function Ar() {
|
|
|
1255
1255
|
type: e,
|
|
1256
1256
|
key: n,
|
|
1257
1257
|
ref: a,
|
|
1258
|
-
props:
|
|
1258
|
+
props: m,
|
|
1259
1259
|
// Record the component responsible for creating this element.
|
|
1260
1260
|
_owner: _
|
|
1261
1261
|
};
|
|
@@ -1273,44 +1273,44 @@ function Ar() {
|
|
|
1273
1273
|
configurable: !1,
|
|
1274
1274
|
enumerable: !1,
|
|
1275
1275
|
writable: !1,
|
|
1276
|
-
value:
|
|
1276
|
+
value: y
|
|
1277
1277
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
1278
1278
|
};
|
|
1279
|
-
function
|
|
1279
|
+
function Tt(e, n, a, u, y) {
|
|
1280
1280
|
{
|
|
1281
|
-
var _,
|
|
1282
|
-
a !== void 0 && (
|
|
1281
|
+
var _, m = {}, v = null, A = null;
|
|
1282
|
+
a !== void 0 && (ze(a), v = "" + a), At(n) && (ze(n.key), v = "" + n.key), kt(n) && (A = n.ref, wt(n));
|
|
1283
1283
|
for (_ in n)
|
|
1284
|
-
J.call(n, _) && !
|
|
1284
|
+
J.call(n, _) && !jt.hasOwnProperty(_) && (m[_] = n[_]);
|
|
1285
1285
|
if (e && e.defaultProps) {
|
|
1286
1286
|
var S = e.defaultProps;
|
|
1287
1287
|
for (_ in S)
|
|
1288
|
-
|
|
1288
|
+
m[_] === void 0 && (m[_] = S[_]);
|
|
1289
1289
|
}
|
|
1290
|
-
if (v ||
|
|
1291
|
-
var
|
|
1292
|
-
v &&
|
|
1290
|
+
if (v || A) {
|
|
1291
|
+
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1292
|
+
v && Ot(m, x), A && Pt(m, x);
|
|
1293
1293
|
}
|
|
1294
|
-
return
|
|
1294
|
+
return Ct(e, v, A, y, u, Je.current, m);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
|
-
var
|
|
1297
|
+
var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
|
|
1298
1298
|
function Y(e) {
|
|
1299
1299
|
if (e) {
|
|
1300
|
-
var n = e._owner, a =
|
|
1301
|
-
|
|
1300
|
+
var n = e._owner, a = te(e.type, e._source, n ? n.type : null);
|
|
1301
|
+
Ge.setExtraStackFrame(a);
|
|
1302
1302
|
} else
|
|
1303
|
-
|
|
1303
|
+
Ge.setExtraStackFrame(null);
|
|
1304
1304
|
}
|
|
1305
|
-
var
|
|
1306
|
-
|
|
1307
|
-
function
|
|
1305
|
+
var ge;
|
|
1306
|
+
ge = !1;
|
|
1307
|
+
function me(e) {
|
|
1308
1308
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function Xe() {
|
|
1311
1311
|
{
|
|
1312
|
-
if (
|
|
1313
|
-
var e = N(
|
|
1312
|
+
if (be.current) {
|
|
1313
|
+
var e = N(be.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 $t(e) {
|
|
1323
1323
|
return "";
|
|
1324
1324
|
}
|
|
1325
|
-
var
|
|
1326
|
-
function
|
|
1325
|
+
var Ze = {};
|
|
1326
|
+
function Nt(e) {
|
|
1327
1327
|
{
|
|
1328
|
-
var n =
|
|
1328
|
+
var n = Xe();
|
|
1329
1329
|
if (!n) {
|
|
1330
1330
|
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
1331
1331
|
a && (n = `
|
|
@@ -1335,39 +1335,39 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1335
1335
|
return n;
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
|
-
function
|
|
1338
|
+
function Qe(e, n) {
|
|
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 = Nt(n);
|
|
1344
|
+
if (Ze[a])
|
|
1345
1345
|
return;
|
|
1346
|
-
|
|
1346
|
+
Ze[a] = !0;
|
|
1347
1347
|
var u = "";
|
|
1348
|
-
e && e._owner && e._owner !==
|
|
1348
|
+
e && e._owner && e._owner !== be.current && (u = " It was passed a child from " + N(e._owner.type) + "."), Y(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), Y(null);
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1351
|
+
function et(e, n) {
|
|
1352
1352
|
{
|
|
1353
1353
|
if (typeof e != "object")
|
|
1354
1354
|
return;
|
|
1355
|
-
if (
|
|
1355
|
+
if (he(e))
|
|
1356
1356
|
for (var a = 0; a < e.length; a++) {
|
|
1357
1357
|
var u = e[a];
|
|
1358
|
-
|
|
1358
|
+
me(u) && Qe(u, n);
|
|
1359
1359
|
}
|
|
1360
|
-
else if (
|
|
1360
|
+
else if (me(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 y = Te(e);
|
|
1364
|
+
if (typeof y == "function" && y !== e.entries)
|
|
1365
|
+
for (var _ = y.call(e), m; !(m = _.next()).done; )
|
|
1366
|
+
me(m.value) && Qe(m.value, n);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function Mt(e) {
|
|
1371
1371
|
{
|
|
1372
1372
|
var n = e.type;
|
|
1373
1373
|
if (n == null || typeof n == "string")
|
|
@@ -1375,96 +1375,96 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1375
1375
|
var a;
|
|
1376
1376
|
if (typeof n == "function")
|
|
1377
1377
|
a = n.propTypes;
|
|
1378
|
-
else if (typeof n == "object" && (n.$$typeof ===
|
|
1378
|
+
else if (typeof n == "object" && (n.$$typeof === d || // Note: Memo only checks outer props here.
|
|
1379
1379
|
// Inner props are checked in the reconciler.
|
|
1380
|
-
n.$$typeof ===
|
|
1380
|
+
n.$$typeof === g))
|
|
1381
1381
|
a = n.propTypes;
|
|
1382
1382
|
else
|
|
1383
1383
|
return;
|
|
1384
1384
|
if (a) {
|
|
1385
1385
|
var u = N(n);
|
|
1386
|
-
|
|
1387
|
-
} else if (n.PropTypes !== void 0 && !
|
|
1388
|
-
|
|
1389
|
-
var
|
|
1390
|
-
|
|
1386
|
+
Rt(a, e.props, "prop", u, e);
|
|
1387
|
+
} else if (n.PropTypes !== void 0 && !ge) {
|
|
1388
|
+
ge = !0;
|
|
1389
|
+
var y = N(n);
|
|
1390
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
1391
1391
|
}
|
|
1392
|
-
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved &&
|
|
1392
|
+
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && E("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 n = Object.keys(e.props), a = 0; a < n.length; a++) {
|
|
1398
1398
|
var u = n[a];
|
|
1399
1399
|
if (u !== "children" && u !== "key") {
|
|
1400
|
-
Y(e),
|
|
1400
|
+
Y(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Y(null);
|
|
1401
1401
|
break;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
e.ref !== null && (Y(e),
|
|
1404
|
+
e.ref !== null && (Y(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
|
-
var
|
|
1408
|
-
function
|
|
1407
|
+
var tt = {};
|
|
1408
|
+
function rt(e, n, a, u, y, _) {
|
|
1409
1409
|
{
|
|
1410
|
-
var
|
|
1411
|
-
if (!
|
|
1410
|
+
var m = vt(e);
|
|
1411
|
+
if (!m) {
|
|
1412
1412
|
var v = "";
|
|
1413
1413
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1414
|
-
var
|
|
1415
|
-
|
|
1414
|
+
var A = $t();
|
|
1415
|
+
A ? v += A : v += Xe();
|
|
1416
1416
|
var S;
|
|
1417
|
-
e === null ? S = "null" :
|
|
1417
|
+
e === null ? S = "null" : he(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
|
|
1418
1418
|
}
|
|
1419
|
-
var
|
|
1420
|
-
if (
|
|
1421
|
-
return
|
|
1422
|
-
if (
|
|
1423
|
-
var
|
|
1424
|
-
if (
|
|
1419
|
+
var x = Tt(e, n, a, y, _);
|
|
1420
|
+
if (x == null)
|
|
1421
|
+
return x;
|
|
1422
|
+
if (m) {
|
|
1423
|
+
var O = n.children;
|
|
1424
|
+
if (O !== void 0)
|
|
1425
1425
|
if (u)
|
|
1426
|
-
if (
|
|
1427
|
-
for (var q = 0; q <
|
|
1428
|
-
|
|
1429
|
-
Object.freeze && Object.freeze(
|
|
1426
|
+
if (he(O)) {
|
|
1427
|
+
for (var q = 0; q < O.length; q++)
|
|
1428
|
+
et(O[q], e);
|
|
1429
|
+
Object.freeze && Object.freeze(O);
|
|
1430
1430
|
} else
|
|
1431
|
-
|
|
1431
|
+
E("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
|
+
et(O, e);
|
|
1434
1434
|
}
|
|
1435
1435
|
if (J.call(n, "key")) {
|
|
1436
|
-
var
|
|
1437
|
-
return
|
|
1438
|
-
}),
|
|
1439
|
-
if (!
|
|
1440
|
-
var
|
|
1441
|
-
|
|
1436
|
+
var L = N(e), w = Object.keys(n).filter(function(Wt) {
|
|
1437
|
+
return Wt !== "key";
|
|
1438
|
+
}), ye = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1439
|
+
if (!tt[L + ye]) {
|
|
1440
|
+
var Ft = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
|
|
1441
|
+
E(`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} />`, ye, L, Ft, L), tt[L + ye] = !0;
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
|
-
return e === s ?
|
|
1449
|
+
return e === s ? Bt(x) : Mt(x), x;
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
|
-
function Mt(e, n, a) {
|
|
1453
|
-
return et(e, n, a, !0);
|
|
1454
|
-
}
|
|
1455
1452
|
function It(e, n, a) {
|
|
1456
|
-
return
|
|
1453
|
+
return rt(e, n, a, !0);
|
|
1457
1454
|
}
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1455
|
+
function Lt(e, n, a) {
|
|
1456
|
+
return rt(e, n, a, !1);
|
|
1457
|
+
}
|
|
1458
|
+
var Dt = Lt, Ut = It;
|
|
1459
|
+
st.Fragment = s, st.jsx = Dt, st.jsxs = Ut;
|
|
1460
|
+
}()), st;
|
|
1461
1461
|
}
|
|
1462
|
-
process.env.NODE_ENV === "production" ?
|
|
1463
|
-
const
|
|
1464
|
-
version:
|
|
1465
|
-
},
|
|
1462
|
+
process.env.NODE_ENV === "production" ? jr() : kr();
|
|
1463
|
+
const Ar = "0.0.46", ir = {
|
|
1464
|
+
version: Ar
|
|
1465
|
+
}, oe = {}, F = {
|
|
1466
1466
|
module: "",
|
|
1467
|
-
v:
|
|
1467
|
+
v: ir.version,
|
|
1468
1468
|
page: "Main",
|
|
1469
1469
|
auth: "Auth",
|
|
1470
1470
|
STORAGE: "f",
|
|
@@ -1486,38 +1486,38 @@ function G() {
|
|
|
1486
1486
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1487
1487
|
}
|
|
1488
1488
|
G().elcrm || (G().elcrm = {});
|
|
1489
|
-
Object.assign(G().elcrm, { router:
|
|
1489
|
+
Object.assign(G().elcrm, { router: ir.version });
|
|
1490
1490
|
function X(t) {
|
|
1491
1491
|
var r, o, s, i;
|
|
1492
|
-
const
|
|
1493
|
-
if (
|
|
1494
|
-
t.debug ||
|
|
1495
|
-
const
|
|
1496
|
-
page: (r =
|
|
1497
|
-
module: (o =
|
|
1498
|
-
tab: (s =
|
|
1499
|
-
id: (i =
|
|
1492
|
+
const c = G();
|
|
1493
|
+
if (c.ROUTER_PARAMS) {
|
|
1494
|
+
t.debug || c.ROUTER_PARAMS.debug;
|
|
1495
|
+
const f = {
|
|
1496
|
+
page: (r = c.ROUTER_PARAMS) == null ? void 0 : r.page,
|
|
1497
|
+
module: (o = c.ROUTER_PARAMS) == null ? void 0 : o.module,
|
|
1498
|
+
tab: (s = c.ROUTER_PARAMS) == null ? void 0 : s.tab,
|
|
1499
|
+
id: (i = c.ROUTER_PARAMS) == null ? void 0 : i.id
|
|
1500
1500
|
};
|
|
1501
|
-
|
|
1502
|
-
...
|
|
1501
|
+
c.ROUTER_PARAMS = {
|
|
1502
|
+
...c.ROUTER_PARAMS,
|
|
1503
1503
|
...t,
|
|
1504
|
-
prev:
|
|
1504
|
+
prev: f
|
|
1505
1505
|
};
|
|
1506
1506
|
} else {
|
|
1507
1507
|
t.debug || F.debug;
|
|
1508
|
-
const
|
|
1508
|
+
const f = {
|
|
1509
1509
|
page: F == null ? void 0 : F.page,
|
|
1510
1510
|
module: F == null ? void 0 : F.module,
|
|
1511
1511
|
tab: F == null ? void 0 : F.tab,
|
|
1512
1512
|
id: F == null ? void 0 : F.id
|
|
1513
1513
|
};
|
|
1514
|
-
|
|
1514
|
+
c.ROUTER_PARAMS = { ...F, ...t, prev: f };
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1517
|
+
function k() {
|
|
1518
1518
|
return G().ROUTER_PARAMS || F;
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1520
|
+
function xe(t) {
|
|
1521
1521
|
const r = G();
|
|
1522
1522
|
r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...F }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((o) => {
|
|
1523
1523
|
r.ROUTER_PARAMS.LISTENER[o] || (r.ROUTER_PARAMS.LISTENER[o] = []), Array.isArray(r.ROUTER_PARAMS.LISTENER[o]) || (r.ROUTER_PARAMS.LISTENER[o] = [
|
|
@@ -1531,90 +1531,90 @@ function H() {
|
|
|
1531
1531
|
let o = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || F.LISTENER;
|
|
1532
1532
|
return o || (o = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = o : F.LISTENER = o), new Proxy(o, {
|
|
1533
1533
|
get(s, i) {
|
|
1534
|
-
const
|
|
1535
|
-
return Array.isArray(
|
|
1536
|
-
|
|
1534
|
+
const c = s[i];
|
|
1535
|
+
return Array.isArray(c) && c.length > 0 ? (...f) => {
|
|
1536
|
+
c.forEach((p) => {
|
|
1537
1537
|
if (typeof p == "function")
|
|
1538
1538
|
try {
|
|
1539
|
-
p(...
|
|
1539
|
+
p(...f);
|
|
1540
1540
|
} catch {
|
|
1541
1541
|
}
|
|
1542
1542
|
});
|
|
1543
|
-
} :
|
|
1544
|
-
} : typeof
|
|
1543
|
+
} : c == null ? () => {
|
|
1544
|
+
} : typeof c == "function" ? c : () => {
|
|
1545
1545
|
};
|
|
1546
1546
|
}
|
|
1547
1547
|
});
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function Qt(t, r) {
|
|
1550
1550
|
const o = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1551
1551
|
for (const [s, i] of Object.entries(r))
|
|
1552
1552
|
if (s.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === o)
|
|
1553
1553
|
return i;
|
|
1554
1554
|
return null;
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function Vt(t) {
|
|
1557
1557
|
const {
|
|
1558
1558
|
basePath: r = ".",
|
|
1559
1559
|
devExtensions: o = [".tsx", ".ts", ".jsx", ".js"],
|
|
1560
1560
|
prodExtension: s = ".js"
|
|
1561
1561
|
} = t || {};
|
|
1562
1562
|
return (i) => {
|
|
1563
|
-
const
|
|
1563
|
+
const c = i.replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1564
1564
|
if (r === ".")
|
|
1565
1565
|
return import(
|
|
1566
1566
|
/* @vite-ignore */
|
|
1567
|
-
`./${
|
|
1567
|
+
`./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
|
|
1568
1568
|
);
|
|
1569
1569
|
{
|
|
1570
|
-
const
|
|
1570
|
+
const f = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
|
|
1571
1571
|
return import(
|
|
1572
1572
|
/* @vite-ignore */
|
|
1573
|
-
`./${
|
|
1573
|
+
`./${f}/${p}.js`
|
|
1574
1574
|
);
|
|
1575
1575
|
}
|
|
1576
1576
|
};
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1578
|
+
function wr(t) {
|
|
1579
1579
|
const { basePath: r = ".", modules: o, pages: s } = t || {};
|
|
1580
1580
|
return (i) => {
|
|
1581
1581
|
if (o) {
|
|
1582
|
-
const
|
|
1583
|
-
if (
|
|
1584
|
-
return
|
|
1582
|
+
const f = Qt(i, o);
|
|
1583
|
+
if (f)
|
|
1584
|
+
return f();
|
|
1585
1585
|
}
|
|
1586
1586
|
if (s) {
|
|
1587
|
-
const
|
|
1588
|
-
if (
|
|
1589
|
-
return
|
|
1587
|
+
const f = Qt(i, s);
|
|
1588
|
+
if (f)
|
|
1589
|
+
return f();
|
|
1590
1590
|
}
|
|
1591
|
-
const
|
|
1591
|
+
const c = i.replace(/\.(tsx|ts|jsx|js)$/, "");
|
|
1592
1592
|
if (r === ".")
|
|
1593
1593
|
return import(
|
|
1594
1594
|
/* @vite-ignore */
|
|
1595
|
-
`./${
|
|
1595
|
+
`./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
|
|
1596
1596
|
);
|
|
1597
1597
|
{
|
|
1598
|
-
const
|
|
1598
|
+
const f = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
|
|
1599
1599
|
return import(
|
|
1600
1600
|
/* @vite-ignore */
|
|
1601
|
-
`./${
|
|
1601
|
+
`./${f}/${p}.js`
|
|
1602
1602
|
);
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1607
|
-
return r || o ?
|
|
1606
|
+
function er(t = ".", r, o) {
|
|
1607
|
+
return r || o ? wr({
|
|
1608
1608
|
basePath: t,
|
|
1609
1609
|
modules: r,
|
|
1610
1610
|
pages: o
|
|
1611
|
-
}) :
|
|
1611
|
+
}) : Vt({ basePath: t });
|
|
1612
1612
|
}
|
|
1613
1613
|
function Or() {
|
|
1614
1614
|
var t;
|
|
1615
1615
|
let r = sessionStorage.getItem("f");
|
|
1616
1616
|
if (r) {
|
|
1617
|
-
if (r =
|
|
1617
|
+
if (r = ue.deCode(r), !r) return !1;
|
|
1618
1618
|
X({
|
|
1619
1619
|
id: r.id,
|
|
1620
1620
|
tab: r.tab,
|
|
@@ -1628,276 +1628,276 @@ function Or() {
|
|
|
1628
1628
|
X({
|
|
1629
1629
|
id: 0,
|
|
1630
1630
|
tab: "",
|
|
1631
|
-
page: (t = localStorage.getItem("d")) != null && t.length ?
|
|
1632
|
-
module:
|
|
1631
|
+
page: (t = localStorage.getItem("d")) != null && t.length ? k().page : k().auth,
|
|
1632
|
+
module: k().module
|
|
1633
1633
|
});
|
|
1634
1634
|
return !0;
|
|
1635
1635
|
}
|
|
1636
|
-
function ir() {
|
|
1637
|
-
return j().page;
|
|
1638
|
-
}
|
|
1639
1636
|
function cr() {
|
|
1640
|
-
return
|
|
1641
|
-
}
|
|
1642
|
-
function zt() {
|
|
1643
|
-
return j().tab;
|
|
1637
|
+
return k().page;
|
|
1644
1638
|
}
|
|
1645
1639
|
function lr() {
|
|
1646
|
-
return
|
|
1640
|
+
return k().module || "";
|
|
1647
1641
|
}
|
|
1648
|
-
function
|
|
1642
|
+
function Jt() {
|
|
1643
|
+
return k().tab;
|
|
1644
|
+
}
|
|
1645
|
+
function ur() {
|
|
1646
|
+
return k().id;
|
|
1647
|
+
}
|
|
1648
|
+
function Pr(t) {
|
|
1649
1649
|
let r = (i) => (X({ page: i }), i);
|
|
1650
1650
|
const [o, s] = T(
|
|
1651
|
-
|
|
1651
|
+
cr() || t && r(t) || k().page
|
|
1652
1652
|
);
|
|
1653
1653
|
return W(() => {
|
|
1654
|
-
const i = (
|
|
1655
|
-
s(
|
|
1654
|
+
const i = (c) => {
|
|
1655
|
+
s(c);
|
|
1656
1656
|
};
|
|
1657
|
-
return
|
|
1658
|
-
var
|
|
1657
|
+
return xe({ page: i }), () => {
|
|
1658
|
+
var c, f;
|
|
1659
1659
|
const p = G();
|
|
1660
|
-
if ((
|
|
1661
|
-
const
|
|
1662
|
-
if (Array.isArray(
|
|
1663
|
-
const
|
|
1664
|
-
|
|
1660
|
+
if ((f = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && f.page) {
|
|
1661
|
+
const d = p.ROUTER_PARAMS.LISTENER.page;
|
|
1662
|
+
if (Array.isArray(d)) {
|
|
1663
|
+
const h = d.indexOf(i);
|
|
1664
|
+
h > -1 && d.splice(h, 1);
|
|
1665
1665
|
}
|
|
1666
1666
|
}
|
|
1667
1667
|
};
|
|
1668
1668
|
}, []), o;
|
|
1669
1669
|
}
|
|
1670
|
-
function
|
|
1670
|
+
function Cr(t, r = !0, o = {}) {
|
|
1671
1671
|
X({ page: t, ...o }), sessionStorage.setItem(
|
|
1672
|
-
|
|
1673
|
-
|
|
1672
|
+
k().STORAGE,
|
|
1673
|
+
ue.enCode(k())
|
|
1674
1674
|
), r && H().page(t);
|
|
1675
1675
|
}
|
|
1676
1676
|
function Tr(t) {
|
|
1677
|
-
return
|
|
1677
|
+
return k().page === t;
|
|
1678
1678
|
}
|
|
1679
|
-
function
|
|
1680
|
-
return
|
|
1679
|
+
function $r() {
|
|
1680
|
+
return k().prev;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1682
|
+
function Nr(t, r) {
|
|
1683
1683
|
const [o, s] = T(
|
|
1684
|
-
|
|
1684
|
+
lr() || t || k().module
|
|
1685
1685
|
);
|
|
1686
|
-
return W(() => (
|
|
1686
|
+
return W(() => (xe({ module: s }), () => {
|
|
1687
1687
|
const i = H();
|
|
1688
1688
|
i.module === s && delete i.module;
|
|
1689
1689
|
}), []), o;
|
|
1690
1690
|
}
|
|
1691
|
-
function
|
|
1691
|
+
function Mr(t, r = !0) {
|
|
1692
1692
|
X({ module: t }), sessionStorage.setItem(
|
|
1693
|
-
|
|
1694
|
-
|
|
1693
|
+
k().STORAGE,
|
|
1694
|
+
ue.enCode(k())
|
|
1695
1695
|
), r && H().module(t);
|
|
1696
1696
|
}
|
|
1697
|
-
function
|
|
1698
|
-
return
|
|
1697
|
+
function Br(t) {
|
|
1698
|
+
return k().module === t;
|
|
1699
1699
|
}
|
|
1700
1700
|
function Ir(t, r) {
|
|
1701
1701
|
if (typeof t != "function") {
|
|
1702
|
-
const [o, s] = T(!r), [i,
|
|
1703
|
-
return
|
|
1702
|
+
const [o, s] = T(!r), [i, c] = T(t || Jt());
|
|
1703
|
+
return xe({ tabs: c }), r && W(() => {
|
|
1704
1704
|
s(!0);
|
|
1705
1705
|
}, []), [i, o];
|
|
1706
1706
|
} else
|
|
1707
|
-
|
|
1707
|
+
xe({ tabs: t });
|
|
1708
1708
|
}
|
|
1709
|
-
function
|
|
1709
|
+
function Lr(t) {
|
|
1710
1710
|
let r = (i) => (X({ tab: i }), i);
|
|
1711
1711
|
const [o, s] = T(
|
|
1712
|
-
|
|
1712
|
+
Jt() || t && r(t) || k().tab
|
|
1713
1713
|
);
|
|
1714
1714
|
return W(() => {
|
|
1715
|
-
const i = (
|
|
1716
|
-
s(
|
|
1715
|
+
const i = (c) => {
|
|
1716
|
+
s(c);
|
|
1717
1717
|
};
|
|
1718
|
-
return
|
|
1719
|
-
var
|
|
1718
|
+
return xe({ tabs: i }), () => {
|
|
1719
|
+
var c, f;
|
|
1720
1720
|
const p = G();
|
|
1721
|
-
if ((
|
|
1722
|
-
const
|
|
1723
|
-
if (Array.isArray(
|
|
1724
|
-
const
|
|
1725
|
-
|
|
1721
|
+
if ((f = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && f.tabs) {
|
|
1722
|
+
const d = p.ROUTER_PARAMS.LISTENER.tabs;
|
|
1723
|
+
if (Array.isArray(d)) {
|
|
1724
|
+
const h = d.indexOf(i);
|
|
1725
|
+
h > -1 && d.splice(h, 1);
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
};
|
|
1729
1729
|
}, []), o;
|
|
1730
1730
|
}
|
|
1731
|
-
async function
|
|
1731
|
+
async function Dr(t, r = !0) {
|
|
1732
1732
|
X({ tab: t }), sessionStorage.setItem(
|
|
1733
|
-
|
|
1734
|
-
|
|
1733
|
+
k().STORAGE,
|
|
1734
|
+
ue.enCode(k())
|
|
1735
1735
|
), r && (H().tabs && H().tabs(t));
|
|
1736
1736
|
}
|
|
1737
|
-
function Dr(t) {
|
|
1738
|
-
return j().tab === t;
|
|
1739
|
-
}
|
|
1740
1737
|
function Ur(t) {
|
|
1738
|
+
return k().tab === t;
|
|
1739
|
+
}
|
|
1740
|
+
function Fr(t) {
|
|
1741
1741
|
if (typeof t != "function") {
|
|
1742
|
-
const [r, o] = T(t ||
|
|
1742
|
+
const [r, o] = T(t || ur());
|
|
1743
1743
|
return W(() => {
|
|
1744
1744
|
const s = (i) => {
|
|
1745
1745
|
o(i);
|
|
1746
1746
|
};
|
|
1747
|
-
return
|
|
1747
|
+
return xe({ id: s }), () => {
|
|
1748
1748
|
const i = H();
|
|
1749
1749
|
i.id === s && delete i.id;
|
|
1750
1750
|
};
|
|
1751
1751
|
}, []), r;
|
|
1752
1752
|
} else
|
|
1753
|
-
W(() => (
|
|
1753
|
+
W(() => (xe({ id: t }), () => {
|
|
1754
1754
|
var r, o;
|
|
1755
1755
|
const s = G();
|
|
1756
1756
|
if ((o = (r = s.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && o.id) {
|
|
1757
1757
|
const i = s.ROUTER_PARAMS.LISTENER.id;
|
|
1758
1758
|
if (Array.isArray(i)) {
|
|
1759
|
-
const
|
|
1760
|
-
|
|
1759
|
+
const c = i.indexOf(t);
|
|
1760
|
+
c > -1 && i.splice(c, 1);
|
|
1761
1761
|
}
|
|
1762
1762
|
}
|
|
1763
1763
|
}), [t]);
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function Wr(t) {
|
|
1766
1766
|
}
|
|
1767
|
-
async function
|
|
1767
|
+
async function Yr(t, r = !0) {
|
|
1768
1768
|
X({ id: t }), sessionStorage.setItem(
|
|
1769
|
-
|
|
1770
|
-
|
|
1769
|
+
k().STORAGE,
|
|
1770
|
+
ue.enCode(k())
|
|
1771
1771
|
), r && H().id(t);
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1774
|
-
return Number(
|
|
1773
|
+
function qr(t) {
|
|
1774
|
+
return Number(k().id) === t;
|
|
1775
1775
|
}
|
|
1776
|
-
async function
|
|
1777
|
-
var r, o, s, i,
|
|
1778
|
-
const { page:
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1776
|
+
async function Vr(t) {
|
|
1777
|
+
var r, o, s, i, c, f, p, d;
|
|
1778
|
+
const { page: h, module: b, tab: g, id: R } = t;
|
|
1779
|
+
h !== void 0 && (oe.page = h), b !== void 0 && (oe.module = b), g !== void 0 && (oe.tab = g), R !== void 0 && (oe.id = R), X({ ...oe }), R !== void 0 && ((o = (r = H()).id) == null || o.call(r, R)), g !== void 0 && ((i = (s = H()).tabs) == null || i.call(s, g)), b !== void 0 && ((f = (c = H()).module) == null || f.call(c, b)), h !== void 0 && ((d = (p = H()).page) == null || d.call(p, h)), sessionStorage.setItem(
|
|
1780
|
+
k().STORAGE,
|
|
1781
|
+
ue.enCode(k())
|
|
1782
1782
|
);
|
|
1783
1783
|
}
|
|
1784
|
-
const
|
|
1784
|
+
const Ce = {
|
|
1785
1785
|
Reset() {
|
|
1786
|
-
|
|
1786
|
+
oe.id = 0, oe.tab = "", oe.page = k().page, oe.module = k().module;
|
|
1787
1787
|
},
|
|
1788
1788
|
Default({
|
|
1789
|
-
module: t =
|
|
1790
|
-
page: r =
|
|
1791
|
-
auth: o =
|
|
1792
|
-
debug: s =
|
|
1793
|
-
dir: i =
|
|
1794
|
-
importModules:
|
|
1795
|
-
modules:
|
|
1789
|
+
module: t = k().module,
|
|
1790
|
+
page: r = k().page,
|
|
1791
|
+
auth: o = k().auth,
|
|
1792
|
+
debug: s = k().debug,
|
|
1793
|
+
dir: i = k().dir || ".",
|
|
1794
|
+
importModules: c,
|
|
1795
|
+
modules: f,
|
|
1796
1796
|
pages: p,
|
|
1797
|
-
glob:
|
|
1797
|
+
glob: d
|
|
1798
1798
|
// Поддержка единого glob объекта для упрощения
|
|
1799
1799
|
}) {
|
|
1800
|
-
let
|
|
1801
|
-
|
|
1800
|
+
let h = c, b = f, g = p;
|
|
1801
|
+
d ? (b = typeof f == "object" ? f : d, g = typeof p == "object" ? p : d) : (b = b || d, g = g || d), !h && (b || g) ? !d && (typeof b == "string" || typeof g == "string") ? h = Vt({ basePath: i }) : h = er(
|
|
1802
1802
|
i,
|
|
1803
1803
|
b,
|
|
1804
|
-
|
|
1805
|
-
) :
|
|
1804
|
+
g
|
|
1805
|
+
) : h || (h = Vt({ basePath: i })), X({
|
|
1806
1806
|
page: r,
|
|
1807
1807
|
module: t,
|
|
1808
1808
|
auth: o,
|
|
1809
1809
|
debug: s,
|
|
1810
1810
|
dir: i,
|
|
1811
|
-
importModules:
|
|
1811
|
+
importModules: h
|
|
1812
1812
|
}), Or();
|
|
1813
1813
|
},
|
|
1814
1814
|
// Упрощенная функция для создания importModules
|
|
1815
|
-
createImportModules:
|
|
1816
|
-
getImportModules: () =>
|
|
1815
|
+
createImportModules: er,
|
|
1816
|
+
getImportModules: () => k().importModules,
|
|
1817
1817
|
// Методы страниц
|
|
1818
|
-
usePage:
|
|
1819
|
-
setPage:
|
|
1820
|
-
getPage:
|
|
1818
|
+
usePage: Pr,
|
|
1819
|
+
setPage: Cr,
|
|
1820
|
+
getPage: cr,
|
|
1821
1821
|
isPage: Tr,
|
|
1822
|
-
getBack:
|
|
1822
|
+
getBack: $r,
|
|
1823
1823
|
// Методы модулей
|
|
1824
|
-
useModule:
|
|
1825
|
-
setModule:
|
|
1826
|
-
getModule:
|
|
1827
|
-
isModule:
|
|
1824
|
+
useModule: Nr,
|
|
1825
|
+
setModule: Mr,
|
|
1826
|
+
getModule: lr,
|
|
1827
|
+
isModule: Br,
|
|
1828
1828
|
// Методы вкладок
|
|
1829
1829
|
useTabs: Ir,
|
|
1830
|
-
useTab:
|
|
1831
|
-
setTabs:
|
|
1832
|
-
getTabs:
|
|
1833
|
-
isTabs:
|
|
1830
|
+
useTab: Lr,
|
|
1831
|
+
setTabs: Dr,
|
|
1832
|
+
getTabs: Jt,
|
|
1833
|
+
isTabs: Ur,
|
|
1834
1834
|
// Методы ID
|
|
1835
|
-
useId:
|
|
1836
|
-
subId:
|
|
1837
|
-
setId:
|
|
1838
|
-
getId:
|
|
1839
|
-
isId:
|
|
1835
|
+
useId: Fr,
|
|
1836
|
+
subId: Wr,
|
|
1837
|
+
setId: Yr,
|
|
1838
|
+
getId: ur,
|
|
1839
|
+
isId: qr,
|
|
1840
1840
|
// Навигация
|
|
1841
|
-
navigate:
|
|
1842
|
-
},
|
|
1843
|
-
n:
|
|
1844
|
-
i:
|
|
1845
|
-
t:
|
|
1846
|
-
e:
|
|
1847
|
-
s:
|
|
1848
|
-
w:
|
|
1849
|
-
h:
|
|
1841
|
+
navigate: Vr
|
|
1842
|
+
}, zr = "_n_zlj3m_1", Jr = "_i_zlj3m_10", Hr = "_t_zlj3m_28", Kr = "_e_zlj3m_32", Gr = "_s_zlj3m_35", Xr = "_w_zlj3m_38", Zr = "_h_zlj3m_41", Re = {
|
|
1843
|
+
n: zr,
|
|
1844
|
+
i: Jr,
|
|
1845
|
+
t: Hr,
|
|
1846
|
+
e: Kr,
|
|
1847
|
+
s: Gr,
|
|
1848
|
+
w: Xr,
|
|
1849
|
+
h: Zr
|
|
1850
1850
|
};
|
|
1851
|
-
let
|
|
1852
|
-
function
|
|
1853
|
-
const [t, r] =
|
|
1854
|
-
return
|
|
1851
|
+
let pt = {};
|
|
1852
|
+
function Qr() {
|
|
1853
|
+
const [t, r] = C.useState([]);
|
|
1854
|
+
return pt.set = (o) => {
|
|
1855
1855
|
r([...t, o]);
|
|
1856
|
-
},
|
|
1856
|
+
}, pt.del = (o) => {
|
|
1857
1857
|
t.forEach((s, i) => {
|
|
1858
1858
|
s.key === o && t.splice(i, 1);
|
|
1859
1859
|
}), r(t);
|
|
1860
|
-
}, t.length === 0 ? /* @__PURE__ */
|
|
1860
|
+
}, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: Re.n, children: t.map((o) => o.item) });
|
|
1861
1861
|
}
|
|
1862
|
-
function
|
|
1862
|
+
function en(t) {
|
|
1863
1863
|
let r = (/* @__PURE__ */ new Date()).getTime();
|
|
1864
|
-
t.key = r,
|
|
1864
|
+
t.key = r, pt.set({ item: /* @__PURE__ */ l.jsx(tn, { data: t }, r), key: r });
|
|
1865
1865
|
}
|
|
1866
|
-
function
|
|
1866
|
+
function tn(t) {
|
|
1867
1867
|
const r = t.data;
|
|
1868
|
-
let [o] =
|
|
1869
|
-
|
|
1868
|
+
let [o] = C.useState("show"), [s, i] = C.useState(!1);
|
|
1869
|
+
C.useEffect(() => {
|
|
1870
1870
|
setTimeout(function() {
|
|
1871
|
-
i(!0),
|
|
1871
|
+
i(!0), pt.del(r.key);
|
|
1872
1872
|
}, 5e3);
|
|
1873
1873
|
}, [r.key]);
|
|
1874
|
-
let
|
|
1874
|
+
let c;
|
|
1875
1875
|
switch (r.type) {
|
|
1876
1876
|
case "error":
|
|
1877
|
-
|
|
1877
|
+
c = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
|
|
1878
1878
|
break;
|
|
1879
1879
|
case "success":
|
|
1880
|
-
|
|
1880
|
+
c = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
|
|
1881
1881
|
break;
|
|
1882
1882
|
case "warning":
|
|
1883
|
-
|
|
1883
|
+
c = /* @__PURE__ */ l.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
|
|
1884
1884
|
break;
|
|
1885
1885
|
default:
|
|
1886
|
-
|
|
1886
|
+
c = "icon fa fa-exclamation-circle";
|
|
1887
1887
|
break;
|
|
1888
1888
|
}
|
|
1889
|
-
const
|
|
1890
|
-
error:
|
|
1891
|
-
success:
|
|
1892
|
-
warning:
|
|
1889
|
+
const f = {
|
|
1890
|
+
error: Re.e,
|
|
1891
|
+
success: Re.s,
|
|
1892
|
+
warning: Re.w
|
|
1893
1893
|
};
|
|
1894
|
-
return /* @__PURE__ */
|
|
1894
|
+
return /* @__PURE__ */ l.jsx(l.Fragment, { children: s ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
|
|
1895
1895
|
"div",
|
|
1896
1896
|
{
|
|
1897
|
-
className:
|
|
1897
|
+
className: Re.i + f[r.type] + ` ${r.thema !== void 0 ? Re.h : ""}`,
|
|
1898
1898
|
"data-status": o,
|
|
1899
1899
|
children: [
|
|
1900
|
-
/* @__PURE__ */
|
|
1900
|
+
/* @__PURE__ */ l.jsx(
|
|
1901
1901
|
"svg",
|
|
1902
1902
|
{
|
|
1903
1903
|
type: "solid",
|
|
@@ -1907,33 +1907,33 @@ function en(t) {
|
|
|
1907
1907
|
width: "24",
|
|
1908
1908
|
height: "24",
|
|
1909
1909
|
viewBox: "0 0 24 24",
|
|
1910
|
-
children:
|
|
1910
|
+
children: c
|
|
1911
1911
|
}
|
|
1912
1912
|
),
|
|
1913
|
-
/* @__PURE__ */
|
|
1913
|
+
/* @__PURE__ */ l.jsx("span", { className: Re.t, children: r.text })
|
|
1914
1914
|
]
|
|
1915
1915
|
}
|
|
1916
1916
|
) });
|
|
1917
1917
|
}
|
|
1918
|
-
let
|
|
1919
|
-
Send:
|
|
1920
|
-
Init:
|
|
1918
|
+
let Se = {
|
|
1919
|
+
Send: en,
|
|
1920
|
+
Init: Qr
|
|
1921
1921
|
};
|
|
1922
|
-
const
|
|
1923
|
-
d:
|
|
1924
|
-
b:
|
|
1925
|
-
o:
|
|
1926
|
-
m:
|
|
1927
|
-
t:
|
|
1928
|
-
a:
|
|
1929
|
-
v:
|
|
1930
|
-
},
|
|
1922
|
+
const rn = "_d_1u25q_1", nn = "_b_1u25q_21", on = "_o_1u25q_25", an = "_m_1u25q_30", sn = "_t_1u25q_41", cn = "_a_1u25q_108", ln = "_v_1u25q_118", ie = {
|
|
1923
|
+
d: rn,
|
|
1924
|
+
b: nn,
|
|
1925
|
+
o: on,
|
|
1926
|
+
m: an,
|
|
1927
|
+
t: sn,
|
|
1928
|
+
a: cn,
|
|
1929
|
+
v: ln
|
|
1930
|
+
}, le = {
|
|
1931
1931
|
is: !1,
|
|
1932
1932
|
MainButton: {},
|
|
1933
1933
|
BackButton: {}
|
|
1934
1934
|
};
|
|
1935
|
-
let
|
|
1936
|
-
|
|
1935
|
+
let D = {};
|
|
1936
|
+
D.dark = {
|
|
1937
1937
|
"--tg-color-scheme": "dark",
|
|
1938
1938
|
"--tg-theme-subtitle-text-color": "#98989e",
|
|
1939
1939
|
"--tg-theme-destructive-text-color": "#e53935",
|
|
@@ -1951,7 +1951,7 @@ L.dark = {
|
|
|
1951
1951
|
"--tg-theme-text-color": "#ffffff",
|
|
1952
1952
|
"--tg-theme-section-bg-color": "#2c2c2e"
|
|
1953
1953
|
};
|
|
1954
|
-
|
|
1954
|
+
D.light = {
|
|
1955
1955
|
"--tg-color-scheme": "light",
|
|
1956
1956
|
"--tg-theme-subtitle-text-color": "#8e8e93",
|
|
1957
1957
|
"--tg-theme-destructive-text-color": "#ff3b30",
|
|
@@ -1969,7 +1969,7 @@ L.light = {
|
|
|
1969
1969
|
"--tg-theme-text-color": "#000000",
|
|
1970
1970
|
"--tg-theme-section-bg-color": "#f8f8f8"
|
|
1971
1971
|
};
|
|
1972
|
-
|
|
1972
|
+
D.users = {
|
|
1973
1973
|
"--tg-color-scheme": "users",
|
|
1974
1974
|
"--tg-theme-bg-color": "#000000",
|
|
1975
1975
|
"--tg-theme-text-color": "#ffffff",
|
|
@@ -1979,91 +1979,91 @@ L.users = {
|
|
|
1979
1979
|
"--tg-theme-button-text-color": "#000000",
|
|
1980
1980
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1981
1981
|
};
|
|
1982
|
-
const
|
|
1982
|
+
const un = () => {
|
|
1983
1983
|
if (location.hostname === "localhost") {
|
|
1984
|
-
let [t, r] = T(!1), [o, s] = T(!1), [i,
|
|
1985
|
-
|
|
1984
|
+
let [t, r] = T(!1), [o, s] = T(!1), [i, c] = T("dark"), [f, p] = T(!1), [d, h] = T(!1);
|
|
1985
|
+
le.is = !0, le.MainButton.set = r, le.BackButton.set = s, W(() => {
|
|
1986
1986
|
var R;
|
|
1987
|
-
|
|
1988
|
-
for (let
|
|
1987
|
+
D[i]["--tg-theme-bg-color-alpha"] = D[i]["--tg-theme-bg-color"] + "b3", D[i]["--tg-theme-secondary-bg-color-alpha"] = D[i]["--tg-theme-secondary-bg-color"] + "d3", D[i]["--tg-theme-bg-color-alpha-25"] = D[i]["--tg-theme-bg-color"] + "40", D[i]["--tg-theme-secondary-bg-color-alpha-25"] = D[i]["--tg-theme-secondary-bg-color"] + "40";
|
|
1988
|
+
for (let j in D[i])
|
|
1989
1989
|
document.documentElement.style.setProperty(
|
|
1990
|
-
|
|
1991
|
-
|
|
1990
|
+
j,
|
|
1991
|
+
D[i][j]
|
|
1992
1992
|
);
|
|
1993
|
-
((R =
|
|
1993
|
+
((R = ce.safeAreaInset) == null ? void 0 : R.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
1994
1994
|
"--tg-safe-area-inset-bottom",
|
|
1995
1995
|
"16px"
|
|
1996
|
-
) :
|
|
1996
|
+
) : ce.safeAreaInset || document.documentElement.style.setProperty(
|
|
1997
1997
|
"--tg-safe-area-inset-bottom",
|
|
1998
1998
|
"16px"
|
|
1999
1999
|
);
|
|
2000
2000
|
}, []);
|
|
2001
2001
|
let b = (R) => {
|
|
2002
|
-
for (let
|
|
2003
|
-
document.documentElement.style.setProperty(
|
|
2002
|
+
for (let j in D[R])
|
|
2003
|
+
document.documentElement.style.setProperty(j, D[R][j]), document.documentElement.setAttribute(
|
|
2004
2004
|
"data-color-scheme",
|
|
2005
2005
|
R
|
|
2006
2006
|
);
|
|
2007
|
-
|
|
2008
|
-
},
|
|
2009
|
-
p(!1),
|
|
2007
|
+
c(R), p(!1);
|
|
2008
|
+
}, g = () => {
|
|
2009
|
+
p(!1), h(!0);
|
|
2010
2010
|
};
|
|
2011
|
-
return /* @__PURE__ */
|
|
2012
|
-
/* @__PURE__ */
|
|
2013
|
-
o === !1 ? /* @__PURE__ */
|
|
2011
|
+
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2012
|
+
/* @__PURE__ */ l.jsxs("div", { className: ie.d, children: [
|
|
2013
|
+
o === !1 ? /* @__PURE__ */ l.jsx("div", { className: ie.b, children: "Отмена" }) : /* @__PURE__ */ l.jsx(
|
|
2014
2014
|
"div",
|
|
2015
2015
|
{
|
|
2016
2016
|
onClick: () => {
|
|
2017
2017
|
var R;
|
|
2018
|
-
o.page === void 0 ? (R = o.callback) == null || R.call(o) :
|
|
2018
|
+
o.page === void 0 ? (R = o.callback) == null || R.call(o) : Ce.setPage(o.page);
|
|
2019
2019
|
},
|
|
2020
|
-
className:
|
|
2020
|
+
className: ie.b,
|
|
2021
2021
|
children: "Назад"
|
|
2022
2022
|
}
|
|
2023
2023
|
),
|
|
2024
|
-
/* @__PURE__ */
|
|
2024
|
+
/* @__PURE__ */ l.jsx(
|
|
2025
2025
|
"div",
|
|
2026
2026
|
{
|
|
2027
|
-
className:
|
|
2028
|
-
onClick: () => p(!
|
|
2027
|
+
className: ie.o,
|
|
2028
|
+
onClick: () => p(!f),
|
|
2029
2029
|
children: "Меню"
|
|
2030
2030
|
}
|
|
2031
2031
|
)
|
|
2032
2032
|
] }),
|
|
2033
|
-
/* @__PURE__ */
|
|
2034
|
-
t && /* @__PURE__ */
|
|
2033
|
+
/* @__PURE__ */ l.jsx(Se.Init, {}),
|
|
2034
|
+
t && /* @__PURE__ */ l.jsx("div", { className: ie.m, children: /* @__PURE__ */ l.jsx(
|
|
2035
2035
|
"button",
|
|
2036
2036
|
{
|
|
2037
2037
|
onClick: () => {
|
|
2038
|
-
t.page &&
|
|
2038
|
+
t.page && Ce.setPage(t.page), t.callback && t.callback();
|
|
2039
2039
|
},
|
|
2040
2040
|
children: t.text
|
|
2041
2041
|
}
|
|
2042
2042
|
) }),
|
|
2043
|
-
|
|
2044
|
-
/* @__PURE__ */
|
|
2045
|
-
/* @__PURE__ */
|
|
2046
|
-
/* @__PURE__ */
|
|
2043
|
+
f ? /* @__PURE__ */ l.jsxs("div", { className: ie.t, children: [
|
|
2044
|
+
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
2045
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: g, children: "Authorization" }) }),
|
|
2046
|
+
/* @__PURE__ */ l.jsx("li", {})
|
|
2047
2047
|
] }),
|
|
2048
|
-
/* @__PURE__ */
|
|
2049
|
-
/* @__PURE__ */
|
|
2050
|
-
/* @__PURE__ */
|
|
2051
|
-
/* @__PURE__ */
|
|
2052
|
-
/* @__PURE__ */
|
|
2048
|
+
/* @__PURE__ */ l.jsxs("ul", { children: [
|
|
2049
|
+
/* @__PURE__ */ l.jsxs("li", { children: [
|
|
2050
|
+
/* @__PURE__ */ l.jsx("button", { children: "Thema" }),
|
|
2051
|
+
/* @__PURE__ */ l.jsxs("ol", { children: [
|
|
2052
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2053
2053
|
"button",
|
|
2054
2054
|
{
|
|
2055
2055
|
onClick: () => b("dark"),
|
|
2056
2056
|
children: "Dark"
|
|
2057
2057
|
}
|
|
2058
2058
|
) }),
|
|
2059
|
-
/* @__PURE__ */
|
|
2059
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2060
2060
|
"button",
|
|
2061
2061
|
{
|
|
2062
2062
|
onClick: () => b("light"),
|
|
2063
2063
|
children: "Light"
|
|
2064
2064
|
}
|
|
2065
2065
|
) }),
|
|
2066
|
-
/* @__PURE__ */
|
|
2066
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
|
|
2067
2067
|
"button",
|
|
2068
2068
|
{
|
|
2069
2069
|
onClick: () => b("users"),
|
|
@@ -2072,139 +2072,139 @@ const ln = () => {
|
|
|
2072
2072
|
) })
|
|
2073
2073
|
] })
|
|
2074
2074
|
] }),
|
|
2075
|
-
/* @__PURE__ */
|
|
2075
|
+
/* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!f), children: "Closed" }) })
|
|
2076
2076
|
] })
|
|
2077
2077
|
] }) : "",
|
|
2078
|
-
|
|
2078
|
+
d ? /* @__PURE__ */ l.jsx(fn, { setAuthorization: h }) : ""
|
|
2079
2079
|
] });
|
|
2080
2080
|
} else
|
|
2081
2081
|
return W(() => {
|
|
2082
2082
|
var t;
|
|
2083
2083
|
document.documentElement.style.setProperty(
|
|
2084
2084
|
"--tg-theme-secondary-bg-color-alpha",
|
|
2085
|
-
|
|
2085
|
+
ce.themeParams.secondary_bg_color + "d3"
|
|
2086
2086
|
), document.documentElement.style.setProperty(
|
|
2087
2087
|
"--tg-theme-bg-color-alpha",
|
|
2088
|
-
|
|
2089
|
-
), ((t =
|
|
2088
|
+
ce.themeParams.bg_color + "b3"
|
|
2089
|
+
), ((t = ce.safeAreaInset) == null ? void 0 : t.bottom) === 0 ? document.documentElement.style.setProperty(
|
|
2090
2090
|
"--tg-safe-area-inset-bottom",
|
|
2091
2091
|
"16px"
|
|
2092
|
-
) :
|
|
2092
|
+
) : ce.safeAreaInset || document.documentElement.style.setProperty(
|
|
2093
2093
|
"--tg-safe-area-inset-bottom",
|
|
2094
2094
|
"16px"
|
|
2095
2095
|
);
|
|
2096
|
-
}, []), /* @__PURE__ */
|
|
2097
|
-
},
|
|
2096
|
+
}, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(Se.Init, {}) });
|
|
2097
|
+
}, fn = ({ setAuthorization: t }) => {
|
|
2098
2098
|
let r = {}, o = () => {
|
|
2099
2099
|
localStorage.setItem("auth", r);
|
|
2100
2100
|
};
|
|
2101
|
-
return /* @__PURE__ */
|
|
2102
|
-
/* @__PURE__ */
|
|
2103
|
-
/* @__PURE__ */
|
|
2101
|
+
return /* @__PURE__ */ l.jsx("div", { className: ie.a, children: /* @__PURE__ */ l.jsxs("div", { className: ie.v, children: [
|
|
2102
|
+
/* @__PURE__ */ l.jsx("fieldset", {}),
|
|
2103
|
+
/* @__PURE__ */ l.jsx("div", { onClick: o, children: " Сохранить " })
|
|
2104
2104
|
] }) });
|
|
2105
|
-
},
|
|
2106
|
-
p:
|
|
2107
|
-
s:
|
|
2108
|
-
},
|
|
2105
|
+
}, dn = "_p_1axqy_1", pn = "_s_1axqy_17", tr = {
|
|
2106
|
+
p: dn,
|
|
2107
|
+
s: pn
|
|
2108
|
+
}, vn = ({ className: t, children: r, isScroll: o = !0 }) => /* @__PURE__ */ l.jsx(
|
|
2109
2109
|
"div",
|
|
2110
2110
|
{
|
|
2111
|
-
className: [
|
|
2111
|
+
className: [tr.p, o && tr.s, t].filter((s) => s !== void 0).join(" "),
|
|
2112
2112
|
children: r
|
|
2113
2113
|
}
|
|
2114
|
-
),
|
|
2115
|
-
l:
|
|
2116
|
-
}, gn = ({ children: t, className: r }) => /* @__PURE__ */
|
|
2114
|
+
), hn = "_l_gfyud_1", bn = {
|
|
2115
|
+
l: hn
|
|
2116
|
+
}, gn = ({ children: t, className: r }) => /* @__PURE__ */ l.jsx(
|
|
2117
2117
|
"div",
|
|
2118
2118
|
{
|
|
2119
|
-
className: [
|
|
2119
|
+
className: [bn.l, r].filter((o) => o !== void 0).join(" "),
|
|
2120
2120
|
children: t
|
|
2121
2121
|
}
|
|
2122
|
-
),
|
|
2123
|
-
m:
|
|
2124
|
-
g:
|
|
2125
|
-
i:
|
|
2126
|
-
c:
|
|
2127
|
-
l:
|
|
2128
|
-
a:
|
|
2122
|
+
), mn = "_m_ppm7n_2", yn = "_g_ppm7n_10", _n = "_i_ppm7n_18", Rn = "_c_ppm7n_35", Sn = "_l_ppm7n_42", xn = "_a_ppm7n_57", En = "_n_ppm7n_62", _e = {
|
|
2123
|
+
m: mn,
|
|
2124
|
+
g: yn,
|
|
2125
|
+
i: _n,
|
|
2126
|
+
c: Rn,
|
|
2127
|
+
l: Sn,
|
|
2128
|
+
a: xn,
|
|
2129
2129
|
n: En
|
|
2130
|
-
},
|
|
2130
|
+
}, jn = ({ items: t }) => {
|
|
2131
2131
|
const r = (s) => {
|
|
2132
|
-
|
|
2132
|
+
Ce.setPage(s);
|
|
2133
2133
|
}, o = (s) => {
|
|
2134
|
-
|
|
2134
|
+
ce.openTelegramLink(s);
|
|
2135
2135
|
};
|
|
2136
|
-
return /* @__PURE__ */
|
|
2136
|
+
return /* @__PURE__ */ l.jsx("div", { className: _e.m, children: t.map((s) => /* @__PURE__ */ l.jsx("div", { className: _e.g, children: s.items.map((i, c) => /* @__PURE__ */ l.jsxs(
|
|
2137
2137
|
"div",
|
|
2138
2138
|
{
|
|
2139
|
-
className:
|
|
2139
|
+
className: _e.i,
|
|
2140
2140
|
onClick: () => {
|
|
2141
2141
|
i.link && o(i.link), i.page && r(i.page), i.callback && i.callback();
|
|
2142
2142
|
},
|
|
2143
2143
|
children: [
|
|
2144
|
-
/* @__PURE__ */
|
|
2145
|
-
/* @__PURE__ */
|
|
2144
|
+
/* @__PURE__ */ l.jsxs("div", { className: _e.c, children: [
|
|
2145
|
+
/* @__PURE__ */ l.jsx(
|
|
2146
2146
|
"span",
|
|
2147
2147
|
{
|
|
2148
|
-
className:
|
|
2148
|
+
className: _e.l,
|
|
2149
2149
|
style: { background: i.color },
|
|
2150
2150
|
children: i.icon
|
|
2151
2151
|
}
|
|
2152
2152
|
),
|
|
2153
2153
|
i.title,
|
|
2154
|
-
i.count && /* @__PURE__ */
|
|
2154
|
+
i.count && /* @__PURE__ */ l.jsx("span", { className: _e.n, children: i.count })
|
|
2155
2155
|
] }),
|
|
2156
|
-
/* @__PURE__ */
|
|
2156
|
+
/* @__PURE__ */ l.jsx("span", { className: _e.a, children: "›" })
|
|
2157
2157
|
]
|
|
2158
2158
|
},
|
|
2159
|
-
|
|
2159
|
+
c
|
|
2160
2160
|
)) }, s.id)) });
|
|
2161
|
-
},
|
|
2162
|
-
o:
|
|
2163
|
-
m:
|
|
2164
|
-
l:
|
|
2161
|
+
}, kn = "_o_8ho2f_3", An = "_m_8ho2f_14", wn = "_l_8ho2f_28", On = "_r_8ho2f_33", Pn = "_x_8ho2f_38", Cn = "_h_8ho2f_42", Tn = "_c_8ho2f_57", $n = "_u_8ho2f_72", ne = {
|
|
2162
|
+
o: kn,
|
|
2163
|
+
m: An,
|
|
2164
|
+
l: wn,
|
|
2165
2165
|
r: On,
|
|
2166
|
-
x:
|
|
2167
|
-
h:
|
|
2166
|
+
x: Pn,
|
|
2167
|
+
h: Cn,
|
|
2168
2168
|
c: Tn,
|
|
2169
|
-
u:
|
|
2170
|
-
},
|
|
2171
|
-
function
|
|
2169
|
+
u: $n
|
|
2170
|
+
}, ut = {};
|
|
2171
|
+
function Nn({
|
|
2172
2172
|
children: t,
|
|
2173
2173
|
icon: r,
|
|
2174
2174
|
iconBadge: o = 0,
|
|
2175
2175
|
title: s,
|
|
2176
2176
|
className: i,
|
|
2177
|
-
view:
|
|
2178
|
-
position:
|
|
2177
|
+
view: c = "list",
|
|
2178
|
+
position: f = "left",
|
|
2179
2179
|
name: p = "default"
|
|
2180
2180
|
}) {
|
|
2181
|
-
const [
|
|
2181
|
+
const [d, h] = T(!1), [b, g] = T(
|
|
2182
2182
|
null
|
|
2183
2183
|
);
|
|
2184
2184
|
W(() => {
|
|
2185
|
-
let
|
|
2186
|
-
return
|
|
2187
|
-
|
|
2185
|
+
let j = document.querySelector(".p_sb");
|
|
2186
|
+
return j || (j = document.createElement("div"), j.className = "_p_sb", document.body.appendChild(j)), g(j), ut[p] = (B) => h(B), () => {
|
|
2187
|
+
j && j.parentNode && j.parentNode.removeChild(j);
|
|
2188
2188
|
};
|
|
2189
2189
|
}, []);
|
|
2190
|
-
const R = /* @__PURE__ */
|
|
2191
|
-
|
|
2192
|
-
/* @__PURE__ */
|
|
2190
|
+
const R = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2191
|
+
d && /* @__PURE__ */ l.jsx("div", { className: ne.o, onClick: () => h(!1) }),
|
|
2192
|
+
/* @__PURE__ */ l.jsxs(
|
|
2193
2193
|
"div",
|
|
2194
2194
|
{
|
|
2195
|
-
className:
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2195
|
+
className: ae(
|
|
2196
|
+
ne.m,
|
|
2197
|
+
f === "left" ? ne.l : ne.r,
|
|
2198
|
+
d && ne.x,
|
|
2199
2199
|
i
|
|
2200
2200
|
),
|
|
2201
2201
|
children: [
|
|
2202
|
-
/* @__PURE__ */
|
|
2203
|
-
s && /* @__PURE__ */
|
|
2204
|
-
/* @__PURE__ */
|
|
2202
|
+
/* @__PURE__ */ l.jsxs("div", { className: ne.h, children: [
|
|
2203
|
+
s && /* @__PURE__ */ l.jsx("h3", { className: ne.t, children: s }),
|
|
2204
|
+
/* @__PURE__ */ l.jsxs(
|
|
2205
2205
|
"svg",
|
|
2206
2206
|
{
|
|
2207
|
-
onClick: () =>
|
|
2207
|
+
onClick: () => h(!1),
|
|
2208
2208
|
fill: "none",
|
|
2209
2209
|
stroke: "currentColor",
|
|
2210
2210
|
strokeLinecap: "round",
|
|
@@ -2216,157 +2216,122 @@ function $n({
|
|
|
2216
2216
|
"data-pointer": "true",
|
|
2217
2217
|
style: { cursor: "pointer" },
|
|
2218
2218
|
children: [
|
|
2219
|
-
/* @__PURE__ */
|
|
2220
|
-
/* @__PURE__ */
|
|
2219
|
+
/* @__PURE__ */ l.jsx("path", { d: "M17.25 17.25 6.75 6.75" }),
|
|
2220
|
+
/* @__PURE__ */ l.jsx("path", { d: "m17.25 6.75-10.5 10.5" })
|
|
2221
2221
|
]
|
|
2222
2222
|
}
|
|
2223
2223
|
)
|
|
2224
2224
|
] }),
|
|
2225
|
-
/* @__PURE__ */
|
|
2225
|
+
/* @__PURE__ */ l.jsx("div", { className: ne.c, children: c === "list" ? /* @__PURE__ */ l.jsx("ul", { className: ne.u, children: t }) : t })
|
|
2226
2226
|
]
|
|
2227
2227
|
}
|
|
2228
2228
|
)
|
|
2229
2229
|
] });
|
|
2230
|
-
return /* @__PURE__ */
|
|
2231
|
-
r && /* @__PURE__ */
|
|
2230
|
+
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2231
|
+
r && /* @__PURE__ */ l.jsx(
|
|
2232
2232
|
"div",
|
|
2233
2233
|
{
|
|
2234
|
-
onClick: () =>
|
|
2234
|
+
onClick: () => h(!0),
|
|
2235
2235
|
className: "bage",
|
|
2236
2236
|
"data-count": o,
|
|
2237
2237
|
children: r
|
|
2238
2238
|
}
|
|
2239
2239
|
),
|
|
2240
|
-
b &&
|
|
2240
|
+
b && dr(R, b)
|
|
2241
2241
|
] });
|
|
2242
2242
|
}
|
|
2243
|
-
const
|
|
2243
|
+
const Mn = (t, r) => {
|
|
2244
2244
|
var o;
|
|
2245
|
-
(o =
|
|
2246
|
-
}
|
|
2247
|
-
|
|
2248
|
-
};
|
|
2249
|
-
const ur = ({
|
|
2250
|
-
children: t,
|
|
2251
|
-
title: r,
|
|
2252
|
-
isOverlay: o = !0,
|
|
2253
|
-
footer: s = !0,
|
|
2254
|
-
className: i,
|
|
2255
|
-
onOpen: l,
|
|
2256
|
-
name: d
|
|
2257
|
-
}) => {
|
|
2258
|
-
const [p, f] = U.useState(!1);
|
|
2259
|
-
return /* @__PURE__ */ c.jsx(
|
|
2260
|
-
"div",
|
|
2261
|
-
{
|
|
2262
|
-
className: `footer-menu-overlay ${o ? "is-overlay" : ""} ${p ? "closing" : ""} `,
|
|
2263
|
-
onClick: qt,
|
|
2264
|
-
children: /* @__PURE__ */ c.jsxs(
|
|
2265
|
-
"div",
|
|
2266
|
-
{
|
|
2267
|
-
className: `footer-menu-popup-book ${p ? "closing" : ""} ${i || ""} ${s ? "footer" : ""}`,
|
|
2268
|
-
onClick: (g) => g.stopPropagation(),
|
|
2269
|
-
children: [
|
|
2270
|
-
/* @__PURE__ */ c.jsxs("div", { className: "footer-menu-header", children: [
|
|
2271
|
-
/* @__PURE__ */ c.jsx("h3", { children: r }),
|
|
2272
|
-
/* @__PURE__ */ c.jsx(
|
|
2273
|
-
"button",
|
|
2274
|
-
{
|
|
2275
|
-
className: "footer-menu-close-btn",
|
|
2276
|
-
onClick: qt,
|
|
2277
|
-
children: "✕"
|
|
2278
|
-
}
|
|
2279
|
-
)
|
|
2280
|
-
] }),
|
|
2281
|
-
t
|
|
2282
|
-
]
|
|
2283
|
-
}
|
|
2284
|
-
)
|
|
2285
|
-
}
|
|
2286
|
-
);
|
|
2287
|
-
}, Mn = "_h_1xsu6_2", In = "_r_1xsu6_55", Bn = "_c_1xsu6_58", Ln = "_x_1xsu6_61", Dn = "_b_1xsu6_65", Un = "_a_1xsu6_103", Fn = "_draw_1xsu6_1", Wn = "_scaleToggleVar_1xsu6_1", ke = {
|
|
2288
|
-
h: Mn,
|
|
2245
|
+
(o = ut[t]) == null || o.call(ut, r);
|
|
2246
|
+
}, Bn = "_h_fak6j_2", In = "_r_fak6j_60", Ln = "_c_fak6j_63", Dn = "_x_fak6j_66", Un = "_b_fak6j_70", Fn = "_a_fak6j_108", Wn = "_draw_fak6j_1", Yn = "_scaleToggleVar_fak6j_1", Pe = {
|
|
2247
|
+
h: Bn,
|
|
2289
2248
|
r: In,
|
|
2290
|
-
c:
|
|
2291
|
-
x:
|
|
2292
|
-
b:
|
|
2293
|
-
a:
|
|
2294
|
-
draw:
|
|
2295
|
-
scaleToggleVar:
|
|
2296
|
-
},
|
|
2297
|
-
b:
|
|
2298
|
-
},
|
|
2249
|
+
c: Ln,
|
|
2250
|
+
x: Dn,
|
|
2251
|
+
b: Un,
|
|
2252
|
+
a: Fn,
|
|
2253
|
+
draw: Wn,
|
|
2254
|
+
scaleToggleVar: Yn
|
|
2255
|
+
}, qn = "_b_r6m8n_1", Vn = {
|
|
2256
|
+
b: qn
|
|
2257
|
+
}, zn = ({ className: t, value: r }) => /* @__PURE__ */ l.jsx(
|
|
2299
2258
|
"div",
|
|
2300
2259
|
{
|
|
2301
|
-
className: [
|
|
2260
|
+
className: [Vn.b, t].filter((o) => o !== void 0).join(" "),
|
|
2302
2261
|
children: r
|
|
2303
2262
|
}
|
|
2304
|
-
),
|
|
2263
|
+
), Jn = (t, r) => t.findIndex((o) => (o == null ? void 0 : o.page) === r), Hn = ({
|
|
2305
2264
|
actions: t,
|
|
2306
2265
|
children: r,
|
|
2307
2266
|
className: o,
|
|
2308
2267
|
actual: s,
|
|
2309
2268
|
toHide: i = !1,
|
|
2310
|
-
page:
|
|
2311
|
-
style:
|
|
2269
|
+
page: c,
|
|
2270
|
+
style: f = "default",
|
|
2312
2271
|
onPageChange: p,
|
|
2313
|
-
direction:
|
|
2272
|
+
direction: d = "row"
|
|
2314
2273
|
}) => {
|
|
2315
|
-
const [
|
|
2316
|
-
|
|
2317
|
-
), [
|
|
2274
|
+
const [h, b] = C.useState(null), [g, R] = C.useState(
|
|
2275
|
+
c ? Jn(t || [], c) : 0
|
|
2276
|
+
), [j, B] = C.useState(
|
|
2318
2277
|
"right"
|
|
2319
|
-
),
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
),
|
|
2324
|
-
}, [
|
|
2278
|
+
), fe = C.useRef(g);
|
|
2279
|
+
C.useEffect(() => {
|
|
2280
|
+
fe.current !== g && (B(
|
|
2281
|
+
g > fe.current ? "left" : "right"
|
|
2282
|
+
), fe.current = g);
|
|
2283
|
+
}, [g]), W(() => {
|
|
2325
2284
|
if (!i)
|
|
2326
2285
|
return;
|
|
2327
|
-
const
|
|
2286
|
+
const ke = document.querySelectorAll("[contenteditable]"), Ae = () => {
|
|
2328
2287
|
const $ = document.querySelector("footer");
|
|
2329
|
-
$ && $.classList.remove(
|
|
2330
|
-
},
|
|
2288
|
+
$ && $.classList.remove(Pe.x);
|
|
2289
|
+
}, we = () => {
|
|
2331
2290
|
const $ = document.querySelector("footer");
|
|
2332
|
-
$ && $.classList.add(
|
|
2291
|
+
$ && $.classList.add(Pe.x);
|
|
2333
2292
|
};
|
|
2334
|
-
return
|
|
2335
|
-
$.addEventListener("focus",
|
|
2293
|
+
return ke.forEach(($) => {
|
|
2294
|
+
$.addEventListener("focus", we, !0), $.addEventListener("blur", Ae, !0);
|
|
2336
2295
|
}), () => {
|
|
2337
|
-
|
|
2338
|
-
$.removeEventListener("focus",
|
|
2296
|
+
ke.forEach(($) => {
|
|
2297
|
+
$.removeEventListener("focus", we, !0), $.removeEventListener("blur", Ae, !0);
|
|
2339
2298
|
});
|
|
2340
2299
|
};
|
|
2341
2300
|
}, []);
|
|
2342
|
-
const [
|
|
2343
|
-
|
|
2344
|
-
},
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2301
|
+
const [Te, M] = C.useState(!1), E = C.useRef(null), Ee = () => {
|
|
2302
|
+
E.current && (clearTimeout(E.current), E.current = null), M(!0);
|
|
2303
|
+
}, je = () => {
|
|
2304
|
+
requestAnimationFrame(() => {
|
|
2305
|
+
E.current = setTimeout(() => {
|
|
2306
|
+
M(!1), E.current = null;
|
|
2307
|
+
}, 50);
|
|
2308
|
+
});
|
|
2309
|
+
};
|
|
2310
|
+
C.useEffect(() => () => {
|
|
2311
|
+
E.current && clearTimeout(E.current);
|
|
2312
|
+
}, []);
|
|
2313
|
+
const Z = {};
|
|
2314
|
+
return f === "liquid-glass" && (Z.onMouseDown = Ee, Z.onMouseUp = je, Z.onTouchStart = Ee, Z.onTouchEnd = je), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2315
|
+
h,
|
|
2316
|
+
/* @__PURE__ */ l.jsxs(
|
|
2352
2317
|
"footer",
|
|
2353
2318
|
{
|
|
2354
|
-
"data-direction":
|
|
2355
|
-
"data-style":
|
|
2356
|
-
"data-scale":
|
|
2357
|
-
...
|
|
2358
|
-
className:
|
|
2359
|
-
|
|
2360
|
-
|
|
2319
|
+
"data-direction": j,
|
|
2320
|
+
"data-style": f,
|
|
2321
|
+
"data-scale": Te ? "true" : "false",
|
|
2322
|
+
...Z,
|
|
2323
|
+
className: ae(
|
|
2324
|
+
Pe.h,
|
|
2325
|
+
Pe[d === "row" ? "r" : "c"],
|
|
2361
2326
|
o
|
|
2362
2327
|
),
|
|
2363
2328
|
children: [
|
|
2364
2329
|
r,
|
|
2365
|
-
t && /* @__PURE__ */
|
|
2366
|
-
|
|
2330
|
+
t && /* @__PURE__ */ l.jsx(
|
|
2331
|
+
Kn,
|
|
2367
2332
|
{
|
|
2368
2333
|
actions: t,
|
|
2369
|
-
activeIndex:
|
|
2334
|
+
activeIndex: g,
|
|
2370
2335
|
setActiveIndex: R,
|
|
2371
2336
|
onPageChange: p,
|
|
2372
2337
|
setComponent: b,
|
|
@@ -2377,68 +2342,68 @@ const ur = ({
|
|
|
2377
2342
|
}
|
|
2378
2343
|
)
|
|
2379
2344
|
] });
|
|
2380
|
-
},
|
|
2345
|
+
}, Kn = ({
|
|
2381
2346
|
actions: t,
|
|
2382
2347
|
activeIndex: r,
|
|
2383
2348
|
setActiveIndex: o,
|
|
2384
2349
|
onPageChange: s,
|
|
2385
2350
|
setComponent: i,
|
|
2386
|
-
actual:
|
|
2387
|
-
}) => /* @__PURE__ */
|
|
2388
|
-
t.map((
|
|
2351
|
+
actual: c
|
|
2352
|
+
}) => /* @__PURE__ */ l.jsxs("div", { className: Pe.b, children: [
|
|
2353
|
+
t.map((f, p) => /* @__PURE__ */ l.jsxs(
|
|
2389
2354
|
"div",
|
|
2390
2355
|
{
|
|
2391
2356
|
"data-active": r === p ? "true" : "false",
|
|
2392
2357
|
onClick: () => {
|
|
2393
|
-
|
|
2358
|
+
f.page && (o(p), s == null || s(f.page)), f.onClick && f.onClick(() => o(p)), f.component && (r === p || (i(f.component), o(p)));
|
|
2394
2359
|
},
|
|
2395
2360
|
children: [
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2361
|
+
f.icon,
|
|
2362
|
+
f.title && /* @__PURE__ */ l.jsx("span", { children: f.title }),
|
|
2363
|
+
f.badge && /* @__PURE__ */ l.jsx(zn, { value: f.badge })
|
|
2399
2364
|
]
|
|
2400
2365
|
},
|
|
2401
2366
|
p
|
|
2402
2367
|
)),
|
|
2403
|
-
|
|
2368
|
+
c && /* @__PURE__ */ l.jsx(
|
|
2404
2369
|
"div",
|
|
2405
2370
|
{
|
|
2406
|
-
className:
|
|
2371
|
+
className: Pe.a,
|
|
2407
2372
|
style: {
|
|
2408
2373
|
"--count-options": t.length,
|
|
2409
2374
|
"--tab-bar-actual-index": r
|
|
2410
2375
|
}
|
|
2411
2376
|
}
|
|
2412
2377
|
)
|
|
2413
|
-
] }),
|
|
2414
|
-
w:
|
|
2415
|
-
v:
|
|
2416
|
-
s:
|
|
2417
|
-
n:
|
|
2418
|
-
},
|
|
2419
|
-
function
|
|
2378
|
+
] }), Gn = "_w_yx04q_3", Xn = "_v_yx04q_24", Zn = "_s_yx04q_34", Qn = "_n_yx04q_38", it = {
|
|
2379
|
+
w: Gn,
|
|
2380
|
+
v: Xn,
|
|
2381
|
+
s: Zn,
|
|
2382
|
+
n: Qn
|
|
2383
|
+
}, zt = {};
|
|
2384
|
+
function eo({
|
|
2420
2385
|
children: t,
|
|
2421
2386
|
name: r,
|
|
2422
2387
|
onClose: o,
|
|
2423
2388
|
isOpen: s,
|
|
2424
2389
|
isScroll: i = !0,
|
|
2425
|
-
nextBackButton:
|
|
2390
|
+
nextBackButton: c
|
|
2426
2391
|
}) {
|
|
2427
|
-
const [
|
|
2392
|
+
const [f, p] = T(!1);
|
|
2428
2393
|
return W(() => {
|
|
2429
2394
|
if (!s) return;
|
|
2430
|
-
const
|
|
2395
|
+
const d = c === void 0 ? Ro().pop() : c, h = () => {
|
|
2431
2396
|
p(!1), setTimeout(() => {
|
|
2432
|
-
|
|
2397
|
+
rr(d || !1), o == null || o();
|
|
2433
2398
|
}, 300);
|
|
2434
2399
|
};
|
|
2435
|
-
|
|
2436
|
-
onClose:
|
|
2400
|
+
zt[r] = {
|
|
2401
|
+
onClose: h,
|
|
2437
2402
|
onOpen: () => {
|
|
2438
2403
|
p(!0);
|
|
2439
2404
|
}
|
|
2440
|
-
},
|
|
2441
|
-
callback:
|
|
2405
|
+
}, rr({
|
|
2406
|
+
callback: h
|
|
2442
2407
|
});
|
|
2443
2408
|
const b = setTimeout(() => {
|
|
2444
2409
|
p(!0);
|
|
@@ -2446,59 +2411,59 @@ function Qn({
|
|
|
2446
2411
|
return () => {
|
|
2447
2412
|
clearTimeout(b);
|
|
2448
2413
|
};
|
|
2449
|
-
}, [s]), s ? /* @__PURE__ */
|
|
2414
|
+
}, [s]), s ? /* @__PURE__ */ l.jsxs(
|
|
2450
2415
|
"div",
|
|
2451
2416
|
{
|
|
2452
|
-
className:
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
i &&
|
|
2417
|
+
className: ae(
|
|
2418
|
+
it.w,
|
|
2419
|
+
f && it.v,
|
|
2420
|
+
i && it.s
|
|
2456
2421
|
),
|
|
2457
2422
|
children: [
|
|
2458
|
-
/* @__PURE__ */
|
|
2423
|
+
/* @__PURE__ */ l.jsx("div", { className: it.n }),
|
|
2459
2424
|
t
|
|
2460
2425
|
]
|
|
2461
2426
|
}
|
|
2462
2427
|
) : "";
|
|
2463
2428
|
}
|
|
2464
|
-
const
|
|
2429
|
+
const to = (t, r) => {
|
|
2465
2430
|
var o, s;
|
|
2466
|
-
r ? (o =
|
|
2467
|
-
},
|
|
2468
|
-
s:
|
|
2469
|
-
n:
|
|
2470
|
-
b:
|
|
2471
|
-
f:
|
|
2431
|
+
r ? (o = zt[t]) == null || o.onOpen() : (s = zt[t]) == null || s.onClose();
|
|
2432
|
+
}, ro = "_s_l7xl0_3", no = "_n_l7xl0_14", oo = "_b_l7xl0_19", ao = "_f_l7xl0_29", ct = {
|
|
2433
|
+
s: ro,
|
|
2434
|
+
n: no,
|
|
2435
|
+
b: oo,
|
|
2436
|
+
f: ao
|
|
2472
2437
|
};
|
|
2473
|
-
function
|
|
2438
|
+
function so({
|
|
2474
2439
|
className: t,
|
|
2475
2440
|
children: r,
|
|
2476
2441
|
onScrollEnd: o,
|
|
2477
2442
|
offset: s = 100,
|
|
2478
2443
|
isLoading: i,
|
|
2479
|
-
fullscreen:
|
|
2480
|
-
isScrollBar:
|
|
2444
|
+
fullscreen: c = !1,
|
|
2445
|
+
isScrollBar: f = !1
|
|
2481
2446
|
}) {
|
|
2482
|
-
const [p,
|
|
2447
|
+
const [p, d] = T(i || !1);
|
|
2483
2448
|
W(() => {
|
|
2484
|
-
|
|
2449
|
+
d(i || !1);
|
|
2485
2450
|
}, [i]);
|
|
2486
|
-
let
|
|
2451
|
+
let h = {
|
|
2487
2452
|
onScroll: (b) => {
|
|
2488
|
-
const { scrollTop:
|
|
2489
|
-
|
|
2453
|
+
const { scrollTop: g, scrollHeight: R, clientHeight: j } = b.currentTarget;
|
|
2454
|
+
g + j >= R - s && !p && (d(!0), o == null || o());
|
|
2490
2455
|
}
|
|
2491
2456
|
};
|
|
2492
|
-
return /* @__PURE__ */
|
|
2493
|
-
!
|
|
2494
|
-
/* @__PURE__ */
|
|
2457
|
+
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
2458
|
+
!f && /* @__PURE__ */ l.jsx("div", { className: ct.b }),
|
|
2459
|
+
/* @__PURE__ */ l.jsx(
|
|
2495
2460
|
"div",
|
|
2496
2461
|
{
|
|
2497
|
-
...
|
|
2498
|
-
className:
|
|
2499
|
-
|
|
2500
|
-
!
|
|
2501
|
-
|
|
2462
|
+
...h,
|
|
2463
|
+
className: ae(
|
|
2464
|
+
ct.s,
|
|
2465
|
+
!f && ct.n,
|
|
2466
|
+
c && ct.f,
|
|
2502
2467
|
t
|
|
2503
2468
|
),
|
|
2504
2469
|
children: r
|
|
@@ -2506,36 +2471,106 @@ function ao({
|
|
|
2506
2471
|
)
|
|
2507
2472
|
] });
|
|
2508
2473
|
}
|
|
2509
|
-
const
|
|
2510
|
-
a:
|
|
2511
|
-
l:
|
|
2512
|
-
r:
|
|
2513
|
-
b:
|
|
2474
|
+
const io = "_a_prp23_1", co = "_l_prp23_13", lo = "_r_prp23_16", uo = "_b_prp23_19", lt = {
|
|
2475
|
+
a: io,
|
|
2476
|
+
l: co,
|
|
2477
|
+
r: lo,
|
|
2478
|
+
b: uo
|
|
2514
2479
|
};
|
|
2515
|
-
function
|
|
2480
|
+
function fo({
|
|
2516
2481
|
children: t,
|
|
2517
2482
|
className: r,
|
|
2518
2483
|
position: o = "center",
|
|
2519
2484
|
title: s
|
|
2520
2485
|
}) {
|
|
2521
2486
|
let i = "";
|
|
2522
|
-
return o === "left" ? i =
|
|
2487
|
+
return o === "left" ? i = lt.l : o === "right" ? i = lt.r : o === "between" && (i = lt.b), /* @__PURE__ */ l.jsxs("div", { className: ae(lt.a, i, r), children: [
|
|
2523
2488
|
t,
|
|
2524
|
-
s && /* @__PURE__ */
|
|
2489
|
+
s && /* @__PURE__ */ l.jsx("b", { children: s })
|
|
2525
2490
|
] });
|
|
2526
2491
|
}
|
|
2527
|
-
const
|
|
2492
|
+
const po = "_o_mg6bb_2", vo = "_x_mg6bb_16", ho = "_c_mg6bb_20", bo = "_p_mg6bb_25", go = "_f_mg6bb_40", mo = "_h_mg6bb_48", yo = "_closeBtn_mg6bb_65", se = {
|
|
2493
|
+
o: po,
|
|
2494
|
+
x: vo,
|
|
2495
|
+
c: ho,
|
|
2496
|
+
p: bo,
|
|
2497
|
+
f: go,
|
|
2498
|
+
h: mo,
|
|
2499
|
+
closeBtn: yo
|
|
2500
|
+
}, K = {}, fr = ({
|
|
2501
|
+
children: t,
|
|
2502
|
+
title: r,
|
|
2503
|
+
isOverlay: o = !0,
|
|
2504
|
+
footer: s = !0,
|
|
2505
|
+
className: i,
|
|
2506
|
+
name: c,
|
|
2507
|
+
onOpen: f
|
|
2508
|
+
}) => {
|
|
2509
|
+
const [p, d] = C.useState(!1), [h, b] = C.useState(!1);
|
|
2510
|
+
return C.useEffect(() => {
|
|
2511
|
+
K[c] = (g) => {
|
|
2512
|
+
g ? (b(!1), d(!0), f == null || f(!0)) : (b(!0), f == null || f(!1), setTimeout(() => {
|
|
2513
|
+
d(!1), b(!1);
|
|
2514
|
+
}, 300));
|
|
2515
|
+
};
|
|
2516
|
+
}, [c, f]), !p && !h ? null : /* @__PURE__ */ l.jsx(
|
|
2517
|
+
"div",
|
|
2518
|
+
{
|
|
2519
|
+
className: ae(
|
|
2520
|
+
se.o,
|
|
2521
|
+
o && se.x,
|
|
2522
|
+
h && se.c
|
|
2523
|
+
),
|
|
2524
|
+
onClick: () => {
|
|
2525
|
+
var g;
|
|
2526
|
+
return (g = K[c]) == null ? void 0 : g.call(K, !1);
|
|
2527
|
+
},
|
|
2528
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
2529
|
+
"div",
|
|
2530
|
+
{
|
|
2531
|
+
className: ae(
|
|
2532
|
+
se.p,
|
|
2533
|
+
h && se.c,
|
|
2534
|
+
s && se.f,
|
|
2535
|
+
i
|
|
2536
|
+
),
|
|
2537
|
+
onClick: (g) => g.stopPropagation(),
|
|
2538
|
+
children: [
|
|
2539
|
+
r && /* @__PURE__ */ l.jsxs("div", { className: se.h, children: [
|
|
2540
|
+
/* @__PURE__ */ l.jsx("h3", { children: r }),
|
|
2541
|
+
/* @__PURE__ */ l.jsx(
|
|
2542
|
+
"button",
|
|
2543
|
+
{
|
|
2544
|
+
className: se.closeBtn,
|
|
2545
|
+
onClick: () => {
|
|
2546
|
+
var g;
|
|
2547
|
+
return (g = K[c]) == null ? void 0 : g.call(K, !1);
|
|
2548
|
+
},
|
|
2549
|
+
children: "✕"
|
|
2550
|
+
}
|
|
2551
|
+
)
|
|
2552
|
+
] }),
|
|
2553
|
+
t
|
|
2554
|
+
]
|
|
2555
|
+
}
|
|
2556
|
+
)
|
|
2557
|
+
}
|
|
2558
|
+
);
|
|
2559
|
+
}, _o = (t, r) => {
|
|
2560
|
+
var o;
|
|
2561
|
+
(o = K[t]) == null || o.call(K, r);
|
|
2562
|
+
}, U = {
|
|
2528
2563
|
state: [!1],
|
|
2529
2564
|
listen: [],
|
|
2530
2565
|
prev: {},
|
|
2531
2566
|
router: (t) => {
|
|
2532
|
-
t === !1 ? (P.WebApp.BackButton.isVisible = !1, P.WebApp.BackButton.offClick(
|
|
2567
|
+
t === !1 ? (P.WebApp.BackButton.isVisible = !1, P.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.state.length !== 1 && U.state.pop()) : (P.WebApp.BackButton.isVisible = !0, P.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.listen.push(() => {
|
|
2533
2568
|
var o;
|
|
2534
|
-
let r =
|
|
2535
|
-
|
|
2536
|
-
}),
|
|
2569
|
+
let r = U.state.pop();
|
|
2570
|
+
U.prev = Ce.getPage(), r.page !== void 0 ? Ce.setPage(r.page) : (o = r.callback) == null || o.call(r);
|
|
2571
|
+
}), ce.BackButton.onClick(U.listen[0]));
|
|
2537
2572
|
}
|
|
2538
|
-
},
|
|
2573
|
+
}, ae = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
|
|
2539
2574
|
var P;
|
|
2540
2575
|
((t) => {
|
|
2541
2576
|
var r;
|
|
@@ -2543,7 +2578,7 @@ var P;
|
|
|
2543
2578
|
var o;
|
|
2544
2579
|
return ((o = t.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : t.WebApp.initDataUnsafe;
|
|
2545
2580
|
}, t.Location = (o) => {
|
|
2546
|
-
if (
|
|
2581
|
+
if (le.is)
|
|
2547
2582
|
return o({ latitude: 55.752555, longitude: 37.623123 });
|
|
2548
2583
|
let s = () => {
|
|
2549
2584
|
t.WebApp.LocationManager.getLocation(async (i) => {
|
|
@@ -2559,63 +2594,63 @@ var P;
|
|
|
2559
2594
|
}) : s();
|
|
2560
2595
|
}, t.Notice = {
|
|
2561
2596
|
Send: (o, s, i) => {
|
|
2562
|
-
var
|
|
2563
|
-
s !== void 0 ? (
|
|
2597
|
+
var c, f;
|
|
2598
|
+
s !== void 0 ? (Se.Send({ type: o, text: s, thema: i }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(o)) : (Se.Send(o), (f = t.WebApp.HapticFeedback) == null || f.notificationOccurred(o.type));
|
|
2564
2599
|
},
|
|
2565
2600
|
Error: (o) => {
|
|
2566
2601
|
var s;
|
|
2567
|
-
|
|
2602
|
+
Se.Send({ type: "error", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("error");
|
|
2568
2603
|
},
|
|
2569
2604
|
Success: (o) => {
|
|
2570
2605
|
var s;
|
|
2571
|
-
|
|
2606
|
+
Se.Send({ type: "success", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("success");
|
|
2572
2607
|
},
|
|
2573
2608
|
Warning: (o) => {
|
|
2574
2609
|
var s;
|
|
2575
|
-
|
|
2610
|
+
Se.Send({ type: "warning", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
|
|
2576
2611
|
}
|
|
2577
|
-
}, t.Header =
|
|
2612
|
+
}, t.Header = un, t.TabBar = Hn, t.BottomSheet = fr, t.BottomSheetControllerSheet = _o, t.SafeArea = vn, t.Loading = gn, t.Sidebar = Nn, t.SidePanel = eo, t.AppBar = fo, t.SideBarController = Mn, t.SidePanelController = to, t.Scroll = so, t.Modal = qt, t.Menu = jn, t.MainButton = {
|
|
2578
2613
|
callback: [],
|
|
2579
2614
|
set: (o) => {
|
|
2580
|
-
|
|
2615
|
+
le.is ? le.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((s) => {
|
|
2581
2616
|
t.WebApp.MainButton.offClick(s);
|
|
2582
2617
|
}), t.WebApp.MainButton.callback = [], typeof o == "boolean" ? t.WebApp.MainButton.isVisible = !1 : (t.WebApp.MainButton.text = o.text, o.color && (t.WebApp.MainButton.color = o.color), o.textColor && (t.WebApp.MainButton.textColor = o.textColor), t.WebApp.MainButton.isVisible = !0, t.WebApp.MainButton.isActive = o.isActive === void 0 ? !0 : o.isActive, t.WebApp.MainButton.callback.push(() => {
|
|
2583
2618
|
var s;
|
|
2584
|
-
o.page === void 0 ? (s = o.callback) == null || s.call(o) :
|
|
2619
|
+
o.page === void 0 ? (s = o.callback) == null || s.call(o) : Ce.setPage(o.page);
|
|
2585
2620
|
}), t.WebApp.MainButton.onClick(
|
|
2586
2621
|
t.WebApp.MainButton.callback[0]
|
|
2587
2622
|
)));
|
|
2588
2623
|
}
|
|
2589
2624
|
}, t.BackButtonPrev = () => {
|
|
2590
|
-
|
|
2591
|
-
}, t.BackButtonState = () =>
|
|
2592
|
-
|
|
2625
|
+
U.prev && (0, t.BackButton)(U.prev);
|
|
2626
|
+
}, t.BackButtonState = () => U.state, t.BackButton = (o) => {
|
|
2627
|
+
le.is ? le.BackButton.set(o) : (U.state.push(o), U.router(o));
|
|
2593
2628
|
};
|
|
2594
2629
|
})(P || (P = {}));
|
|
2595
|
-
const
|
|
2630
|
+
const Eo = P.TabBar, jo = fr, rr = P.BackButton, ko = P.BackButtonPrev, Ro = P.BackButtonState, Ao = P.Notice, wo = P.SafeArea, Oo = P.Loading, Po = P.Menu, Co = P.SidePanel, To = P.Scroll, $o = P.AppBar, No = P.Sidebar, Mo = P.Location, Bo = P.SidePanelController, Io = P.SideBarController, Lo = P.BottomSheetControllerSheet, { Header: Do, Modal: Uo, MainButton: Fo, WebApp: ce, getUser: Wo } = P;
|
|
2596
2631
|
export {
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2632
|
+
$o as AppBar,
|
|
2633
|
+
rr as BackButton,
|
|
2634
|
+
ko as BackButtonPrev,
|
|
2635
|
+
Ro as BackButtonState,
|
|
2636
|
+
jo as BottomSheet,
|
|
2637
|
+
Lo as BottomSheetControllerSheet,
|
|
2638
|
+
Do as Header,
|
|
2639
|
+
Oo as Loading,
|
|
2640
|
+
Mo as Location,
|
|
2641
|
+
Fo as MainButton,
|
|
2642
|
+
Po as Menu,
|
|
2643
|
+
Uo as Modal,
|
|
2644
|
+
Ao as Notice,
|
|
2645
|
+
wo as SafeArea,
|
|
2646
|
+
To as Scroll,
|
|
2647
|
+
Io as SideBarController,
|
|
2648
|
+
Co as SidePanel,
|
|
2649
|
+
Bo as SidePanelController,
|
|
2650
|
+
No as Sidebar,
|
|
2651
|
+
Eo as TabBar,
|
|
2652
|
+
ce as WebApp,
|
|
2653
|
+
ae as clsx,
|
|
2618
2654
|
P as default,
|
|
2619
|
-
|
|
2620
|
-
Po as toggleBottomSheet
|
|
2655
|
+
Wo as getUser
|
|
2621
2656
|
};
|