@elcrm/telegram 0.0.65 → 0.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +48 -3
- package/dist/index.es.js +931 -951
- package/dist/index.umd.js +20 -20
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import P, { useState as
|
|
2
|
-
import './index.css';var
|
|
1
|
+
import P, { useState as xt, useEffect as Ot } from "react";
|
|
2
|
+
import './index.css';var wt = { exports: {} }, Ve = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,19 +9,19 @@ import './index.css';var Ct = { exports: {} }, Ve = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
for (
|
|
21
|
-
if (
|
|
22
|
-
return { $$typeof: o, type:
|
|
12
|
+
var At;
|
|
13
|
+
function Lt() {
|
|
14
|
+
if (At) return Ve;
|
|
15
|
+
At = 1;
|
|
16
|
+
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, y = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, b = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function w(_, v, S) {
|
|
18
|
+
var d, R = {}, C = null, N = null;
|
|
19
|
+
S !== void 0 && (C = "" + S), v.key !== void 0 && (C = "" + v.key), v.ref !== void 0 && (N = v.ref);
|
|
20
|
+
for (d in v) f.call(v, d) && !b.hasOwnProperty(d) && (R[d] = v[d]);
|
|
21
|
+
if (_ && _.defaultProps) for (d in v = _.defaultProps, v) R[d] === void 0 && (R[d] = v[d]);
|
|
22
|
+
return { $$typeof: o, type: _, key: C, ref: N, props: R, _owner: y.current };
|
|
23
23
|
}
|
|
24
|
-
return Ve.Fragment =
|
|
24
|
+
return Ve.Fragment = i, Ve.jsx = w, Ve.jsxs = w, Ve;
|
|
25
25
|
}
|
|
26
26
|
var ze = {};
|
|
27
27
|
/**
|
|
@@ -33,91 +33,91 @@ var ze = {};
|
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
return
|
|
39
|
-
var
|
|
36
|
+
var Pt;
|
|
37
|
+
function Ut() {
|
|
38
|
+
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), _ = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), ne = Symbol.iterator, _e = "@@iterator";
|
|
40
40
|
function Re(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
43
|
-
var t =
|
|
43
|
+
var t = ne && e[ne] || e[_e];
|
|
44
44
|
return typeof t == "function" ? t : null;
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
function
|
|
46
|
+
var M = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
+
function E(e) {
|
|
48
48
|
{
|
|
49
|
-
for (var t = arguments.length,
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
50
|
+
n[a - 1] = arguments[a];
|
|
51
|
+
ge("error", e, n);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function ge(e, t, n) {
|
|
55
55
|
{
|
|
56
|
-
var a =
|
|
57
|
-
|
|
58
|
-
var
|
|
59
|
-
return String(
|
|
56
|
+
var a = M.ReactDebugCurrentFrame, l = a.getStackAddendum();
|
|
57
|
+
l !== "" && (t += "%s", n = n.concat([l]));
|
|
58
|
+
var p = n.map(function(u) {
|
|
59
|
+
return String(u);
|
|
60
60
|
});
|
|
61
|
-
|
|
61
|
+
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var ke = !1, Ee = !1, h = !1,
|
|
65
|
-
|
|
66
|
-
function
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
64
|
+
var ke = !1, Ee = !1, h = !1, k = !1, B = !1, F;
|
|
65
|
+
F = Symbol.for("react.module.reference");
|
|
66
|
+
function W(e) {
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === b || B || e === y || e === S || e === d || k || e === N || ke || Ee || h || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === R || e.$$typeof === w || e.$$typeof === _ || e.$$typeof === v || // This needs to include all possible module reference object
|
|
68
68
|
// types supported by any Flight configuration anywhere since
|
|
69
69
|
// we don't know which Flight build this will end up being used
|
|
70
70
|
// with.
|
|
71
|
-
e.$$typeof ===
|
|
71
|
+
e.$$typeof === F || e.getModuleId !== void 0));
|
|
72
72
|
}
|
|
73
|
-
function oe(e, t,
|
|
73
|
+
function oe(e, t, n) {
|
|
74
74
|
var a = e.displayName;
|
|
75
75
|
if (a)
|
|
76
76
|
return a;
|
|
77
|
-
var
|
|
78
|
-
return
|
|
77
|
+
var l = t.displayName || t.name || "";
|
|
78
|
+
return l !== "" ? n + "(" + l + ")" : n;
|
|
79
79
|
}
|
|
80
80
|
function ae(e) {
|
|
81
81
|
return e.displayName || "Context";
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function T(e) {
|
|
84
84
|
if (e == null)
|
|
85
85
|
return null;
|
|
86
|
-
if (typeof e.tag == "number" &&
|
|
86
|
+
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")
|
|
87
87
|
return e.displayName || e.name || null;
|
|
88
88
|
if (typeof e == "string")
|
|
89
89
|
return e;
|
|
90
90
|
switch (e) {
|
|
91
|
-
case
|
|
91
|
+
case f:
|
|
92
92
|
return "Fragment";
|
|
93
|
-
case
|
|
93
|
+
case i:
|
|
94
94
|
return "Portal";
|
|
95
|
-
case
|
|
95
|
+
case b:
|
|
96
96
|
return "Profiler";
|
|
97
|
-
case
|
|
97
|
+
case y:
|
|
98
98
|
return "StrictMode";
|
|
99
|
-
case
|
|
99
|
+
case S:
|
|
100
100
|
return "Suspense";
|
|
101
|
-
case
|
|
101
|
+
case d:
|
|
102
102
|
return "SuspenseList";
|
|
103
103
|
}
|
|
104
104
|
if (typeof e == "object")
|
|
105
105
|
switch (e.$$typeof) {
|
|
106
|
-
case
|
|
106
|
+
case _:
|
|
107
107
|
var t = e;
|
|
108
108
|
return ae(t) + ".Consumer";
|
|
109
|
-
case
|
|
110
|
-
var
|
|
111
|
-
return ae(
|
|
112
|
-
case
|
|
109
|
+
case w:
|
|
110
|
+
var n = e;
|
|
111
|
+
return ae(n._context) + ".Provider";
|
|
112
|
+
case v:
|
|
113
113
|
return oe(e, e.render, "ForwardRef");
|
|
114
114
|
case R:
|
|
115
115
|
var a = e.displayName || null;
|
|
116
|
-
return a !== null ? a :
|
|
117
|
-
case
|
|
118
|
-
var
|
|
116
|
+
return a !== null ? a : T(e.type) || "Memo";
|
|
117
|
+
case C: {
|
|
118
|
+
var l = e, p = l._payload, u = l._init;
|
|
119
119
|
try {
|
|
120
|
-
return
|
|
120
|
+
return T(u(p));
|
|
121
121
|
} catch {
|
|
122
122
|
return null;
|
|
123
123
|
}
|
|
@@ -125,18 +125,18 @@ function zt() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var
|
|
129
|
-
function
|
|
128
|
+
var I = Object.assign, D = 0, z, J, q, Se, xe, Oe, we;
|
|
129
|
+
function je() {
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
function
|
|
131
|
+
je.__reactDisabledLog = !0;
|
|
132
|
+
function Xe() {
|
|
133
133
|
{
|
|
134
|
-
if (
|
|
135
|
-
|
|
134
|
+
if (D === 0) {
|
|
135
|
+
z = console.log, J = console.info, q = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed, we = console.groupEnd;
|
|
136
136
|
var e = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
139
|
-
value:
|
|
139
|
+
value: je,
|
|
140
140
|
writable: !0
|
|
141
141
|
};
|
|
142
142
|
Object.defineProperties(console, {
|
|
@@ -149,320 +149,320 @@ function zt() {
|
|
|
149
149
|
groupEnd: e
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
D++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Qe() {
|
|
156
156
|
{
|
|
157
|
-
if (
|
|
157
|
+
if (D--, D === 0) {
|
|
158
158
|
var e = {
|
|
159
159
|
configurable: !0,
|
|
160
160
|
enumerable: !0,
|
|
161
161
|
writable: !0
|
|
162
162
|
};
|
|
163
163
|
Object.defineProperties(console, {
|
|
164
|
-
log:
|
|
165
|
-
value:
|
|
164
|
+
log: I({}, e, {
|
|
165
|
+
value: z
|
|
166
166
|
}),
|
|
167
|
-
info:
|
|
168
|
-
value:
|
|
167
|
+
info: I({}, e, {
|
|
168
|
+
value: J
|
|
169
169
|
}),
|
|
170
|
-
warn:
|
|
171
|
-
value:
|
|
170
|
+
warn: I({}, e, {
|
|
171
|
+
value: q
|
|
172
172
|
}),
|
|
173
|
-
error:
|
|
173
|
+
error: I({}, e, {
|
|
174
174
|
value: Se
|
|
175
175
|
}),
|
|
176
|
-
group:
|
|
176
|
+
group: I({}, e, {
|
|
177
177
|
value: xe
|
|
178
178
|
}),
|
|
179
|
-
groupCollapsed:
|
|
179
|
+
groupCollapsed: I({}, e, {
|
|
180
180
|
value: Oe
|
|
181
181
|
}),
|
|
182
|
-
groupEnd:
|
|
183
|
-
value:
|
|
182
|
+
groupEnd: I({}, e, {
|
|
183
|
+
value: we
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
D < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
var se =
|
|
191
|
-
function
|
|
190
|
+
var se = M.ReactCurrentDispatcher, ue;
|
|
191
|
+
function K(e, t, n) {
|
|
192
192
|
{
|
|
193
|
-
if (
|
|
193
|
+
if (ue === void 0)
|
|
194
194
|
try {
|
|
195
195
|
throw Error();
|
|
196
|
-
} catch (
|
|
197
|
-
var a =
|
|
198
|
-
|
|
196
|
+
} catch (l) {
|
|
197
|
+
var a = l.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
+
ue = a && a[1] || "";
|
|
199
199
|
}
|
|
200
200
|
return `
|
|
201
|
-
` +
|
|
201
|
+
` + ue + e;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
var
|
|
204
|
+
var le = !1, G;
|
|
205
205
|
{
|
|
206
|
-
var
|
|
207
|
-
|
|
206
|
+
var et = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
G = new et();
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
if (!e ||
|
|
209
|
+
function Ce(e, t) {
|
|
210
|
+
if (!e || le)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
213
|
-
var
|
|
214
|
-
if (
|
|
215
|
-
return
|
|
213
|
+
var n = G.get(e);
|
|
214
|
+
if (n !== void 0)
|
|
215
|
+
return n;
|
|
216
216
|
}
|
|
217
217
|
var a;
|
|
218
|
-
|
|
219
|
-
var
|
|
218
|
+
le = !0;
|
|
219
|
+
var l = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
|
-
var
|
|
222
|
-
|
|
221
|
+
var p;
|
|
222
|
+
p = se.current, se.current = null, Xe();
|
|
223
223
|
try {
|
|
224
224
|
if (t) {
|
|
225
|
-
var
|
|
225
|
+
var u = function() {
|
|
226
226
|
throw Error();
|
|
227
227
|
};
|
|
228
|
-
if (Object.defineProperty(
|
|
228
|
+
if (Object.defineProperty(u.prototype, "props", {
|
|
229
229
|
set: function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
}
|
|
232
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
233
|
try {
|
|
234
|
-
Reflect.construct(
|
|
235
|
-
} catch (
|
|
236
|
-
a =
|
|
234
|
+
Reflect.construct(u, []);
|
|
235
|
+
} catch (O) {
|
|
236
|
+
a = O;
|
|
237
237
|
}
|
|
238
|
-
Reflect.construct(e, [],
|
|
238
|
+
Reflect.construct(e, [], u);
|
|
239
239
|
} else {
|
|
240
240
|
try {
|
|
241
|
-
|
|
242
|
-
} catch (
|
|
243
|
-
a =
|
|
241
|
+
u.call();
|
|
242
|
+
} catch (O) {
|
|
243
|
+
a = O;
|
|
244
244
|
}
|
|
245
|
-
e.call(
|
|
245
|
+
e.call(u.prototype);
|
|
246
246
|
}
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
249
|
throw Error();
|
|
250
|
-
} catch (
|
|
251
|
-
a =
|
|
250
|
+
} catch (O) {
|
|
251
|
+
a = O;
|
|
252
252
|
}
|
|
253
253
|
e();
|
|
254
254
|
}
|
|
255
|
-
} catch (
|
|
256
|
-
if (
|
|
257
|
-
for (var
|
|
258
|
-
`),
|
|
259
|
-
`),
|
|
260
|
-
|
|
261
|
-
for (;
|
|
262
|
-
if (
|
|
263
|
-
if (
|
|
255
|
+
} catch (O) {
|
|
256
|
+
if (O && a && typeof O.stack == "string") {
|
|
257
|
+
for (var s = O.stack.split(`
|
|
258
|
+
`), x = a.stack.split(`
|
|
259
|
+
`), g = s.length - 1, m = x.length - 1; g >= 1 && m >= 0 && s[g] !== x[m]; )
|
|
260
|
+
m--;
|
|
261
|
+
for (; g >= 1 && m >= 0; g--, m--)
|
|
262
|
+
if (s[g] !== x[m]) {
|
|
263
|
+
if (g !== 1 || m !== 1)
|
|
264
264
|
do
|
|
265
|
-
if (
|
|
266
|
-
var
|
|
267
|
-
` +
|
|
268
|
-
return e.displayName &&
|
|
265
|
+
if (g--, m--, m < 0 || s[g] !== x[m]) {
|
|
266
|
+
var A = `
|
|
267
|
+
` + s[g].replace(" at new ", " at ");
|
|
268
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && G.set(e, A), A;
|
|
269
269
|
}
|
|
270
|
-
while (
|
|
270
|
+
while (g >= 1 && m >= 0);
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
|
|
275
|
+
le = !1, se.current = p, Qe(), Error.prepareStackTrace = l;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
278
|
-
return typeof e == "function" &&
|
|
277
|
+
var U = e ? e.displayName || e.name : "", $ = U ? K(U) : "";
|
|
278
|
+
return typeof e == "function" && G.set(e, $), $;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
280
|
+
function tt(e, t, n) {
|
|
281
|
+
return Ce(e, !1);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function rt(e) {
|
|
284
284
|
var t = e.prototype;
|
|
285
285
|
return !!(t && t.isReactComponent);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Z(e, t, n) {
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
291
|
-
return
|
|
291
|
+
return Ce(e, rt(e));
|
|
292
292
|
if (typeof e == "string")
|
|
293
|
-
return
|
|
293
|
+
return K(e);
|
|
294
294
|
switch (e) {
|
|
295
|
-
case
|
|
296
|
-
return
|
|
297
|
-
case
|
|
298
|
-
return
|
|
295
|
+
case S:
|
|
296
|
+
return K("Suspense");
|
|
297
|
+
case d:
|
|
298
|
+
return K("SuspenseList");
|
|
299
299
|
}
|
|
300
300
|
if (typeof e == "object")
|
|
301
301
|
switch (e.$$typeof) {
|
|
302
|
-
case
|
|
303
|
-
return
|
|
302
|
+
case v:
|
|
303
|
+
return tt(e.render);
|
|
304
304
|
case R:
|
|
305
|
-
return
|
|
306
|
-
case
|
|
307
|
-
var a = e,
|
|
305
|
+
return Z(e.type, t, n);
|
|
306
|
+
case C: {
|
|
307
|
+
var a = e, l = a._payload, p = a._init;
|
|
308
308
|
try {
|
|
309
|
-
return
|
|
309
|
+
return Z(p(l), t, n);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var
|
|
317
|
-
function
|
|
316
|
+
var Y = Object.prototype.hasOwnProperty, Ae = {}, Pe = M.ReactDebugCurrentFrame;
|
|
317
|
+
function X(e) {
|
|
318
318
|
if (e) {
|
|
319
|
-
var t = e._owner,
|
|
320
|
-
Pe.setExtraStackFrame(
|
|
319
|
+
var t = e._owner, n = Z(e.type, e._source, t ? t.type : null);
|
|
320
|
+
Pe.setExtraStackFrame(n);
|
|
321
321
|
} else
|
|
322
322
|
Pe.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function nt(e, t, n, a, l) {
|
|
325
325
|
{
|
|
326
|
-
var
|
|
327
|
-
for (var
|
|
328
|
-
if (
|
|
329
|
-
var
|
|
326
|
+
var p = Function.call.bind(Y);
|
|
327
|
+
for (var u in e)
|
|
328
|
+
if (p(e, u)) {
|
|
329
|
+
var s = void 0;
|
|
330
330
|
try {
|
|
331
|
-
if (typeof e[
|
|
332
|
-
var
|
|
333
|
-
throw
|
|
331
|
+
if (typeof e[u] != "function") {
|
|
332
|
+
var x = Error((a || "React class") + ": " + n + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
+
throw x.name = "Invariant Violation", x;
|
|
334
334
|
}
|
|
335
|
-
|
|
336
|
-
} catch (
|
|
337
|
-
|
|
335
|
+
s = e[u](t, u, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
|
+
} catch (g) {
|
|
337
|
+
s = g;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
s && !(s instanceof Error) && (X(l), 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).", a || "React class", n, u, typeof s), X(null)), s instanceof Error && !(s.message in Ae) && (Ae[s.message] = !0, X(l), E("Failed %s type: %s", n, s.message), X(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var ot = Array.isArray;
|
|
344
344
|
function ce(e) {
|
|
345
|
-
return
|
|
345
|
+
return ot(e);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function at(e) {
|
|
348
348
|
{
|
|
349
|
-
var t = typeof Symbol == "function" && Symbol.toStringTag,
|
|
350
|
-
return
|
|
349
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
|
+
return n;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function it(e) {
|
|
354
354
|
try {
|
|
355
|
-
return
|
|
355
|
+
return Te(e), !1;
|
|
356
356
|
} catch {
|
|
357
357
|
return !0;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function Te(e) {
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
363
|
function Be(e) {
|
|
364
|
-
if (
|
|
365
|
-
return
|
|
364
|
+
if (it(e))
|
|
365
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", at(e)), Te(e);
|
|
366
366
|
}
|
|
367
|
-
var Ie =
|
|
367
|
+
var Ie = M.ReactCurrentOwner, st = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
372
|
}, Fe, De;
|
|
373
373
|
function ut(e) {
|
|
374
|
-
if (
|
|
374
|
+
if (Y.call(e, "ref")) {
|
|
375
375
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
376
|
if (t && t.isReactWarning)
|
|
377
377
|
return !1;
|
|
378
378
|
}
|
|
379
379
|
return e.ref !== void 0;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
382
|
-
if (
|
|
381
|
+
function lt(e) {
|
|
382
|
+
if (Y.call(e, "key")) {
|
|
383
383
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
384
384
|
if (t && t.isReactWarning)
|
|
385
385
|
return !1;
|
|
386
386
|
}
|
|
387
387
|
return e.key !== void 0;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function ct(e, t) {
|
|
390
390
|
typeof e.ref == "string" && Ie.current;
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function ft(e, t) {
|
|
393
393
|
{
|
|
394
|
-
var
|
|
395
|
-
Fe || (Fe = !0,
|
|
394
|
+
var n = function() {
|
|
395
|
+
Fe || (Fe = !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)", t));
|
|
396
396
|
};
|
|
397
|
-
|
|
398
|
-
get:
|
|
397
|
+
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
|
+
get: n,
|
|
399
399
|
configurable: !0
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function dt(e, t) {
|
|
404
404
|
{
|
|
405
|
-
var
|
|
406
|
-
De || (De = !0,
|
|
405
|
+
var n = function() {
|
|
406
|
+
De || (De = !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)", t));
|
|
407
407
|
};
|
|
408
|
-
|
|
409
|
-
get:
|
|
408
|
+
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
|
+
get: n,
|
|
410
410
|
configurable: !0
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var
|
|
415
|
-
var
|
|
414
|
+
var pt = function(e, t, n, a, l, p, u) {
|
|
415
|
+
var s = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
417
|
$$typeof: o,
|
|
418
418
|
// Built-in properties that belong on the element
|
|
419
419
|
type: e,
|
|
420
420
|
key: t,
|
|
421
|
-
ref:
|
|
422
|
-
props:
|
|
421
|
+
ref: n,
|
|
422
|
+
props: u,
|
|
423
423
|
// Record the component responsible for creating this element.
|
|
424
|
-
_owner:
|
|
424
|
+
_owner: p
|
|
425
425
|
};
|
|
426
|
-
return
|
|
426
|
+
return s._store = {}, Object.defineProperty(s._store, "validated", {
|
|
427
427
|
configurable: !1,
|
|
428
428
|
enumerable: !1,
|
|
429
429
|
writable: !0,
|
|
430
430
|
value: !1
|
|
431
|
-
}), Object.defineProperty(
|
|
431
|
+
}), Object.defineProperty(s, "_self", {
|
|
432
432
|
configurable: !1,
|
|
433
433
|
enumerable: !1,
|
|
434
434
|
writable: !1,
|
|
435
435
|
value: a
|
|
436
|
-
}), Object.defineProperty(
|
|
436
|
+
}), Object.defineProperty(s, "_source", {
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
|
-
value:
|
|
441
|
-
}), Object.freeze && (Object.freeze(
|
|
440
|
+
value: l
|
|
441
|
+
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
|
|
442
442
|
};
|
|
443
|
-
function
|
|
443
|
+
function vt(e, t, n, a, l) {
|
|
444
444
|
{
|
|
445
|
-
var
|
|
446
|
-
|
|
447
|
-
for (
|
|
448
|
-
|
|
445
|
+
var p, u = {}, s = null, x = null;
|
|
446
|
+
n !== void 0 && (Be(n), s = "" + n), lt(t) && (Be(t.key), s = "" + t.key), ut(t) && (x = t.ref, ct(t, l));
|
|
447
|
+
for (p in t)
|
|
448
|
+
Y.call(t, p) && !st.hasOwnProperty(p) && (u[p] = t[p]);
|
|
449
449
|
if (e && e.defaultProps) {
|
|
450
|
-
var
|
|
451
|
-
for (
|
|
452
|
-
|
|
450
|
+
var g = e.defaultProps;
|
|
451
|
+
for (p in g)
|
|
452
|
+
u[p] === void 0 && (u[p] = g[p]);
|
|
453
453
|
}
|
|
454
|
-
if (
|
|
455
|
-
var
|
|
456
|
-
|
|
454
|
+
if (s || x) {
|
|
455
|
+
var m = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
+
s && ft(u, m), x && dt(u, m);
|
|
457
457
|
}
|
|
458
|
-
return
|
|
458
|
+
return pt(e, s, x, l, a, Ie.current, u);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var fe =
|
|
462
|
-
function
|
|
461
|
+
var fe = M.ReactCurrentOwner, Me = M.ReactDebugCurrentFrame;
|
|
462
|
+
function L(e) {
|
|
463
463
|
if (e) {
|
|
464
|
-
var t = e._owner,
|
|
465
|
-
Me.setExtraStackFrame(
|
|
464
|
+
var t = e._owner, n = Z(e.type, e._source, t ? t.type : null);
|
|
465
|
+
Me.setExtraStackFrame(n);
|
|
466
466
|
} else
|
|
467
467
|
Me.setExtraStackFrame(null);
|
|
468
468
|
}
|
|
@@ -474,7 +474,7 @@ function zt() {
|
|
|
474
474
|
function $e() {
|
|
475
475
|
{
|
|
476
476
|
if (fe.current) {
|
|
477
|
-
var e =
|
|
477
|
+
var e = T(fe.current.type);
|
|
478
478
|
if (e)
|
|
479
479
|
return `
|
|
480
480
|
|
|
@@ -483,308 +483,308 @@ Check the render method of \`` + e + "`.";
|
|
|
483
483
|
return "";
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function yt(e) {
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
489
|
var Ne = {};
|
|
490
|
-
function
|
|
490
|
+
function ht(e) {
|
|
491
491
|
{
|
|
492
492
|
var t = $e();
|
|
493
493
|
if (!t) {
|
|
494
|
-
var
|
|
495
|
-
|
|
494
|
+
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
|
+
n && (t = `
|
|
496
496
|
|
|
497
|
-
Check the top-level render call using <` +
|
|
497
|
+
Check the top-level render call using <` + n + ">.");
|
|
498
498
|
}
|
|
499
499
|
return t;
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function We(e, t) {
|
|
503
503
|
{
|
|
504
504
|
if (!e._store || e._store.validated || e.key != null)
|
|
505
505
|
return;
|
|
506
506
|
e._store.validated = !0;
|
|
507
|
-
var
|
|
508
|
-
if (Ne[
|
|
507
|
+
var n = ht(t);
|
|
508
|
+
if (Ne[n])
|
|
509
509
|
return;
|
|
510
|
-
Ne[
|
|
510
|
+
Ne[n] = !0;
|
|
511
511
|
var a = "";
|
|
512
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
512
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), L(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.', n, a), L(null);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Le(e, t) {
|
|
516
516
|
{
|
|
517
517
|
if (typeof e != "object")
|
|
518
518
|
return;
|
|
519
519
|
if (ce(e))
|
|
520
|
-
for (var
|
|
521
|
-
var a = e[
|
|
522
|
-
pe(a) &&
|
|
520
|
+
for (var n = 0; n < e.length; n++) {
|
|
521
|
+
var a = e[n];
|
|
522
|
+
pe(a) && We(a, t);
|
|
523
523
|
}
|
|
524
524
|
else if (pe(e))
|
|
525
525
|
e._store && (e._store.validated = !0);
|
|
526
526
|
else if (e) {
|
|
527
|
-
var
|
|
528
|
-
if (typeof
|
|
529
|
-
for (var
|
|
530
|
-
pe(
|
|
527
|
+
var l = Re(e);
|
|
528
|
+
if (typeof l == "function" && l !== e.entries)
|
|
529
|
+
for (var p = l.call(e), u; !(u = p.next()).done; )
|
|
530
|
+
pe(u.value) && We(u.value, t);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function gt(e) {
|
|
535
535
|
{
|
|
536
536
|
var t = e.type;
|
|
537
537
|
if (t == null || typeof t == "string")
|
|
538
538
|
return;
|
|
539
|
-
var
|
|
539
|
+
var n;
|
|
540
540
|
if (typeof t == "function")
|
|
541
|
-
|
|
542
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
541
|
+
n = t.propTypes;
|
|
542
|
+
else if (typeof t == "object" && (t.$$typeof === v || // Note: Memo only checks outer props here.
|
|
543
543
|
// Inner props are checked in the reconciler.
|
|
544
544
|
t.$$typeof === R))
|
|
545
|
-
|
|
545
|
+
n = t.propTypes;
|
|
546
546
|
else
|
|
547
547
|
return;
|
|
548
|
-
if (
|
|
549
|
-
var a =
|
|
550
|
-
|
|
548
|
+
if (n) {
|
|
549
|
+
var a = T(t);
|
|
550
|
+
nt(n, e.props, "prop", a, e);
|
|
551
551
|
} else if (t.PropTypes !== void 0 && !de) {
|
|
552
552
|
de = !0;
|
|
553
|
-
var
|
|
554
|
-
|
|
553
|
+
var l = T(t);
|
|
554
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
|
|
555
555
|
}
|
|
556
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
556
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
function bt(e) {
|
|
560
560
|
{
|
|
561
|
-
for (var t = Object.keys(e.props),
|
|
562
|
-
var a = t[
|
|
561
|
+
for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
|
|
562
|
+
var a = t[n];
|
|
563
563
|
if (a !== "children" && a !== "key") {
|
|
564
|
-
|
|
564
|
+
L(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), L(null);
|
|
565
565
|
break;
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
e.ref !== null && (
|
|
568
|
+
e.ref !== null && (L(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), L(null));
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
var
|
|
572
|
-
function
|
|
571
|
+
var Ue = {};
|
|
572
|
+
function Ye(e, t, n, a, l, p) {
|
|
573
573
|
{
|
|
574
|
-
var
|
|
575
|
-
if (!
|
|
576
|
-
var
|
|
577
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
578
|
-
var
|
|
579
|
-
|
|
580
|
-
var
|
|
581
|
-
e === null ?
|
|
574
|
+
var u = W(e);
|
|
575
|
+
if (!u) {
|
|
576
|
+
var s = "";
|
|
577
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
|
+
var x = yt();
|
|
579
|
+
x ? s += x : s += $e();
|
|
580
|
+
var g;
|
|
581
|
+
e === null ? g = "null" : ce(e) ? g = "array" : e !== void 0 && e.$$typeof === o ? (g = "<" + (T(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : g = 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", g, s);
|
|
582
582
|
}
|
|
583
|
-
var
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
586
|
-
if (
|
|
587
|
-
var
|
|
588
|
-
if (
|
|
583
|
+
var m = vt(e, t, n, l, p);
|
|
584
|
+
if (m == null)
|
|
585
|
+
return m;
|
|
586
|
+
if (u) {
|
|
587
|
+
var A = t.children;
|
|
588
|
+
if (A !== void 0)
|
|
589
589
|
if (a)
|
|
590
|
-
if (ce(
|
|
591
|
-
for (var
|
|
592
|
-
|
|
593
|
-
Object.freeze && Object.freeze(
|
|
590
|
+
if (ce(A)) {
|
|
591
|
+
for (var U = 0; U < A.length; U++)
|
|
592
|
+
Le(A[U], e);
|
|
593
|
+
Object.freeze && Object.freeze(A);
|
|
594
594
|
} else
|
|
595
|
-
|
|
595
|
+
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.");
|
|
596
596
|
else
|
|
597
|
-
|
|
597
|
+
Le(A, e);
|
|
598
598
|
}
|
|
599
|
-
if (
|
|
600
|
-
var
|
|
601
|
-
return
|
|
602
|
-
}), ve =
|
|
603
|
-
if (!
|
|
604
|
-
var
|
|
605
|
-
|
|
599
|
+
if (Y.call(t, "key")) {
|
|
600
|
+
var $ = T(e), O = Object.keys(t).filter(function(St) {
|
|
601
|
+
return St !== "key";
|
|
602
|
+
}), ve = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!Ue[$ + ve]) {
|
|
604
|
+
var Et = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
605
|
+
E(`A props object containing a "key" prop is being spread into JSX:
|
|
606
606
|
let props = %s;
|
|
607
607
|
<%s {...props} />
|
|
608
608
|
React keys must be passed directly to JSX without using spread:
|
|
609
609
|
let props = %s;
|
|
610
|
-
<%s key={someKey} {...props} />`, ve,
|
|
610
|
+
<%s key={someKey} {...props} />`, ve, $, Et, $), Ue[$ + ve] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
return e ===
|
|
613
|
+
return e === f ? bt(m) : gt(m), m;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function
|
|
617
|
-
return
|
|
616
|
+
function mt(e, t, n) {
|
|
617
|
+
return Ye(e, t, n, !0);
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
return
|
|
619
|
+
function _t(e, t, n) {
|
|
620
|
+
return Ye(e, t, n, !1);
|
|
621
621
|
}
|
|
622
|
-
var
|
|
623
|
-
ze.Fragment =
|
|
622
|
+
var Rt = _t, kt = mt;
|
|
623
|
+
ze.Fragment = f, ze.jsx = Rt, ze.jsxs = kt;
|
|
624
624
|
}()), ze;
|
|
625
625
|
}
|
|
626
|
-
process.env.NODE_ENV === "production" ?
|
|
627
|
-
var c =
|
|
628
|
-
let
|
|
626
|
+
process.env.NODE_ENV === "production" ? wt.exports = Lt() : wt.exports = Ut();
|
|
627
|
+
var c = wt.exports;
|
|
628
|
+
let H = {};
|
|
629
629
|
var jt;
|
|
630
|
-
((
|
|
631
|
-
function o({ children:
|
|
632
|
-
const [
|
|
633
|
-
if (
|
|
634
|
-
|
|
635
|
-
|
|
630
|
+
((r) => {
|
|
631
|
+
function o({ children: _ }) {
|
|
632
|
+
const [v, S] = xt(!1), [d, R] = xt(!1);
|
|
633
|
+
if (H.onClose = () => {
|
|
634
|
+
re.BackButton.set(!1), R(!0), setTimeout(() => {
|
|
635
|
+
S(!1), R(!1);
|
|
636
636
|
}, 300);
|
|
637
|
-
},
|
|
638
|
-
|
|
639
|
-
callback: () =>
|
|
640
|
-
}),
|
|
641
|
-
}, []), !!
|
|
642
|
-
return /* @__PURE__ */ c.jsx("div", { className: `modal-overlay ${
|
|
637
|
+
}, Ot(() => {
|
|
638
|
+
v ? H.onClose() : (re.BackButton.set({
|
|
639
|
+
callback: () => H.onClose()
|
|
640
|
+
}), S(!0));
|
|
641
|
+
}, []), !!v)
|
|
642
|
+
return /* @__PURE__ */ c.jsx("div", { className: `modal-overlay ${d ? "closing" : ""}`, children: /* @__PURE__ */ c.jsx("div", { className: `modal-popup ${d ? "closing" : ""}`, children: /* @__PURE__ */ c.jsx("div", { children: _ }) }) });
|
|
643
643
|
}
|
|
644
|
-
|
|
645
|
-
function
|
|
646
|
-
import_modules:
|
|
644
|
+
r.Content = o;
|
|
645
|
+
function i({
|
|
646
|
+
import_modules: _
|
|
647
647
|
}) {
|
|
648
|
-
let [
|
|
649
|
-
return
|
|
650
|
-
|
|
651
|
-
},
|
|
652
|
-
|
|
653
|
-
}, []),
|
|
654
|
-
|
|
655
|
-
}, /* @__PURE__ */ c.jsx(c.Fragment, { children:
|
|
648
|
+
let [v, S] = xt([]);
|
|
649
|
+
return H.x = (d) => {
|
|
650
|
+
S(d ? v.filter((R) => R.key !== d) : []);
|
|
651
|
+
}, Ot(() => {
|
|
652
|
+
_ && (H.i = _);
|
|
653
|
+
}, []), H.add = (d, R = Date.now()) => {
|
|
654
|
+
S([...v, { key: R, item: d }]);
|
|
655
|
+
}, /* @__PURE__ */ c.jsx(c.Fragment, { children: v.map((d) => d.item) });
|
|
656
656
|
}
|
|
657
|
-
|
|
658
|
-
function
|
|
659
|
-
|
|
657
|
+
r.Init = i;
|
|
658
|
+
function f(_, v) {
|
|
659
|
+
H.add(/* @__PURE__ */ c.jsx(o, { children: _ }, String(Date.now())), v);
|
|
660
660
|
}
|
|
661
|
-
|
|
662
|
-
function
|
|
661
|
+
r.Add = f;
|
|
662
|
+
function y(_) {
|
|
663
663
|
return {
|
|
664
|
-
Open: (
|
|
665
|
-
|
|
666
|
-
/* @__PURE__ */ c.jsx(
|
|
664
|
+
Open: (d) => {
|
|
665
|
+
r.Add(
|
|
666
|
+
/* @__PURE__ */ c.jsx(_, { ...d }, (/* @__PURE__ */ new Date()).getTime())
|
|
667
667
|
);
|
|
668
668
|
}
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
|
-
|
|
672
|
-
function
|
|
673
|
-
|
|
671
|
+
r.Create = y;
|
|
672
|
+
function b() {
|
|
673
|
+
H.onClose();
|
|
674
674
|
}
|
|
675
|
-
|
|
676
|
-
function
|
|
677
|
-
|
|
678
|
-
|
|
675
|
+
r.Close = b;
|
|
676
|
+
function w(_, v, S) {
|
|
677
|
+
H.i && H.i(`${_}/modals/${v}.tsx`).then((d) => {
|
|
678
|
+
d.default.Open(S);
|
|
679
679
|
});
|
|
680
680
|
}
|
|
681
|
-
|
|
681
|
+
r.Open = w;
|
|
682
682
|
})(jt || (jt = {}));
|
|
683
|
-
function
|
|
683
|
+
function Dt() {
|
|
684
684
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
685
685
|
}
|
|
686
|
-
const
|
|
686
|
+
const Mt = {
|
|
687
687
|
key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
|
|
688
688
|
iterations: 7,
|
|
689
689
|
saltLength: 16
|
|
690
690
|
};
|
|
691
|
-
function
|
|
692
|
-
const o =
|
|
693
|
-
o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...
|
|
691
|
+
function Tt(r) {
|
|
692
|
+
const o = Dt();
|
|
693
|
+
o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...r } : o.CRYPTO_PARAMS = { ...Mt, ...r };
|
|
694
694
|
}
|
|
695
|
-
function
|
|
696
|
-
return
|
|
695
|
+
function He() {
|
|
696
|
+
return Dt().CRYPTO_PARAMS || Mt;
|
|
697
697
|
}
|
|
698
|
-
const
|
|
698
|
+
const Ke = (r) => {
|
|
699
699
|
let o = 0;
|
|
700
|
-
for (let
|
|
701
|
-
const
|
|
702
|
-
o = (o << 5) - o +
|
|
700
|
+
for (let f = 0; f < r.length; f++) {
|
|
701
|
+
const y = r.charCodeAt(f);
|
|
702
|
+
o = (o << 5) - o + y, o = o & o;
|
|
703
703
|
}
|
|
704
704
|
o = Math.abs(o);
|
|
705
|
-
let
|
|
706
|
-
for (let
|
|
707
|
-
const
|
|
708
|
-
|
|
705
|
+
let i = "";
|
|
706
|
+
for (let f = 0; f < 64; f++) {
|
|
707
|
+
const y = (o ^ f * 197) & 255;
|
|
708
|
+
i += y.toString(16).padStart(2, "0");
|
|
709
709
|
}
|
|
710
|
-
return
|
|
711
|
-
},
|
|
712
|
-
let
|
|
713
|
-
for (let
|
|
714
|
-
|
|
715
|
-
const
|
|
716
|
-
for (let
|
|
717
|
-
|
|
718
|
-
return
|
|
719
|
-
},
|
|
720
|
-
const
|
|
721
|
-
let
|
|
722
|
-
for (let
|
|
723
|
-
const
|
|
724
|
-
|
|
710
|
+
return i;
|
|
711
|
+
}, $t = (r, o) => {
|
|
712
|
+
let i = r + o;
|
|
713
|
+
for (let y = 0; y < He().iterations; y++)
|
|
714
|
+
i = Ke(i);
|
|
715
|
+
const f = new Uint8Array(32);
|
|
716
|
+
for (let y = 0; y < 32; y++)
|
|
717
|
+
f[y] = parseInt(i.substring(y * 2, y * 2 + 2), 16);
|
|
718
|
+
return f;
|
|
719
|
+
}, Nt = (r, o) => {
|
|
720
|
+
const i = new Uint8Array(r.length), f = new Uint8Array(r.length);
|
|
721
|
+
let y = 0;
|
|
722
|
+
for (let b = 0; b < r.length; b++) {
|
|
723
|
+
const w = b % o.length;
|
|
724
|
+
y = o[w] + b + y & 255, f[b] = y;
|
|
725
725
|
}
|
|
726
|
-
for (let
|
|
727
|
-
|
|
728
|
-
return
|
|
729
|
-
},
|
|
726
|
+
for (let b = 0; b < r.length; b++)
|
|
727
|
+
i[b] = r[b] ^ f[b];
|
|
728
|
+
return i;
|
|
729
|
+
}, Yt = (r) => new TextEncoder().encode(r), Vt = (r) => new TextDecoder().decode(r), zt = (r) => {
|
|
730
730
|
let o = "";
|
|
731
|
-
for (let
|
|
732
|
-
const
|
|
733
|
-
o += String.fromCharCode.apply(null, Array.from(
|
|
731
|
+
for (let i = 0; i < r.length; i += 8192) {
|
|
732
|
+
const f = r.slice(i, Math.min(i + 8192, r.length));
|
|
733
|
+
o += String.fromCharCode.apply(null, Array.from(f));
|
|
734
734
|
}
|
|
735
735
|
return btoa(o);
|
|
736
|
-
},
|
|
737
|
-
const o = atob(
|
|
738
|
-
for (let
|
|
739
|
-
|
|
740
|
-
return
|
|
741
|
-
},
|
|
736
|
+
}, Jt = (r) => {
|
|
737
|
+
const o = atob(r), i = new Uint8Array(o.length);
|
|
738
|
+
for (let f = 0; f < o.length; f++)
|
|
739
|
+
i[f] = o.charCodeAt(f);
|
|
740
|
+
return i;
|
|
741
|
+
}, qt = (r) => {
|
|
742
742
|
try {
|
|
743
|
-
const o =
|
|
743
|
+
const o = Ke(
|
|
744
744
|
Date.now().toString() + Math.random()
|
|
745
|
-
).substring(0,
|
|
746
|
-
return `${o}.${
|
|
745
|
+
).substring(0, He().saltLength * 2), i = Ke(r + o).substring(0, 8), f = $t(He().key, o), y = Yt(r), b = Nt(y, f), w = zt(b);
|
|
746
|
+
return `${o}.${w}.${i}`;
|
|
747
747
|
} catch {
|
|
748
748
|
throw new Error("Не удалось зашифровать данные");
|
|
749
749
|
}
|
|
750
|
-
}, Ht = (
|
|
750
|
+
}, Ht = (r) => {
|
|
751
751
|
try {
|
|
752
|
-
const o =
|
|
752
|
+
const o = r.split(".");
|
|
753
753
|
if (o.length !== 3)
|
|
754
754
|
throw new Error("Неверный формат зашифрованных данных");
|
|
755
|
-
const
|
|
756
|
-
if (
|
|
755
|
+
const i = o[0], f = o[1], y = o[2], b = $t(He().key, i), w = Jt(f), _ = Nt(w, b), v = Vt(_);
|
|
756
|
+
if (Ke(v + i).substring(
|
|
757
757
|
0,
|
|
758
758
|
8
|
|
759
|
-
) !==
|
|
759
|
+
) !== y)
|
|
760
760
|
throw new Error("Контрольная сумма не совпадает");
|
|
761
|
-
return
|
|
761
|
+
return v;
|
|
762
762
|
} catch {
|
|
763
763
|
return "";
|
|
764
764
|
}
|
|
765
765
|
};
|
|
766
766
|
var ie;
|
|
767
|
-
((
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
},
|
|
767
|
+
((r) => {
|
|
768
|
+
r.setKey = (o) => {
|
|
769
|
+
Tt({ key: o });
|
|
770
|
+
}, r.enCode = (o) => {
|
|
771
771
|
try {
|
|
772
|
-
const
|
|
773
|
-
return
|
|
772
|
+
const i = JSON.stringify(o);
|
|
773
|
+
return qt(i);
|
|
774
774
|
} catch {
|
|
775
775
|
throw new Error("Не удалось зашифровать объект");
|
|
776
776
|
}
|
|
777
|
-
},
|
|
777
|
+
}, r.deCode = (o) => {
|
|
778
778
|
try {
|
|
779
779
|
if (!o || o.length < 10)
|
|
780
780
|
return !1;
|
|
781
|
-
const
|
|
782
|
-
return
|
|
781
|
+
const i = Ht(o);
|
|
782
|
+
return i && JSON.parse(i) || !1;
|
|
783
783
|
} catch {
|
|
784
784
|
return !1;
|
|
785
785
|
}
|
|
786
|
-
},
|
|
787
|
-
|
|
786
|
+
}, r.setSecurityParams = (o, i) => {
|
|
787
|
+
Tt({ iterations: o, saltLength: i });
|
|
788
788
|
};
|
|
789
789
|
})(ie || (ie = {}));
|
|
790
790
|
var Je = {};
|
|
@@ -797,21 +797,21 @@ var Je = {};
|
|
|
797
797
|
* This source code is licensed under the MIT license found in the
|
|
798
798
|
* LICENSE file in the root directory of this source tree.
|
|
799
799
|
*/
|
|
800
|
-
var
|
|
801
|
-
function
|
|
802
|
-
if (
|
|
803
|
-
|
|
804
|
-
var
|
|
805
|
-
function
|
|
806
|
-
var
|
|
807
|
-
|
|
808
|
-
for (
|
|
809
|
-
if (
|
|
810
|
-
return { $$typeof: o, type:
|
|
800
|
+
var Bt;
|
|
801
|
+
function Kt() {
|
|
802
|
+
if (Bt) return Je;
|
|
803
|
+
Bt = 1;
|
|
804
|
+
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, y = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, b = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
805
|
+
function w(_, v, S) {
|
|
806
|
+
var d, R = {}, C = null, N = null;
|
|
807
|
+
S !== void 0 && (C = "" + S), v.key !== void 0 && (C = "" + v.key), v.ref !== void 0 && (N = v.ref);
|
|
808
|
+
for (d in v) f.call(v, d) && !b.hasOwnProperty(d) && (R[d] = v[d]);
|
|
809
|
+
if (_ && _.defaultProps) for (d in v = _.defaultProps, v) R[d] === void 0 && (R[d] = v[d]);
|
|
810
|
+
return { $$typeof: o, type: _, key: C, ref: N, props: R, _owner: y.current };
|
|
811
811
|
}
|
|
812
|
-
return Je.Fragment =
|
|
812
|
+
return Je.Fragment = i, Je.jsx = w, Je.jsxs = w, Je;
|
|
813
813
|
}
|
|
814
|
-
var
|
|
814
|
+
var qe = {};
|
|
815
815
|
/**
|
|
816
816
|
* @license React
|
|
817
817
|
* react-jsx-runtime.development.js
|
|
@@ -821,91 +821,91 @@ var Ke = {};
|
|
|
821
821
|
* This source code is licensed under the MIT license found in the
|
|
822
822
|
* LICENSE file in the root directory of this source tree.
|
|
823
823
|
*/
|
|
824
|
-
var
|
|
825
|
-
function
|
|
826
|
-
return
|
|
827
|
-
var
|
|
824
|
+
var It;
|
|
825
|
+
function Gt() {
|
|
826
|
+
return It || (It = 1, process.env.NODE_ENV !== "production" && function() {
|
|
827
|
+
var r = P, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), _ = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), ne = Symbol.iterator, _e = "@@iterator";
|
|
828
828
|
function Re(e) {
|
|
829
829
|
if (e === null || typeof e != "object")
|
|
830
830
|
return null;
|
|
831
|
-
var t =
|
|
831
|
+
var t = ne && e[ne] || e[_e];
|
|
832
832
|
return typeof t == "function" ? t : null;
|
|
833
833
|
}
|
|
834
|
-
var
|
|
835
|
-
function
|
|
834
|
+
var M = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
835
|
+
function E(e) {
|
|
836
836
|
{
|
|
837
|
-
for (var t = arguments.length,
|
|
838
|
-
|
|
839
|
-
|
|
837
|
+
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
838
|
+
n[a - 1] = arguments[a];
|
|
839
|
+
ge("error", e, n);
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function ge(e, t, n) {
|
|
843
843
|
{
|
|
844
|
-
var a =
|
|
845
|
-
|
|
846
|
-
var
|
|
847
|
-
return String(
|
|
844
|
+
var a = M.ReactDebugCurrentFrame, l = a.getStackAddendum();
|
|
845
|
+
l !== "" && (t += "%s", n = n.concat([l]));
|
|
846
|
+
var p = n.map(function(u) {
|
|
847
|
+
return String(u);
|
|
848
848
|
});
|
|
849
|
-
|
|
849
|
+
p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
-
var ke = !1, Ee = !1, h = !1,
|
|
853
|
-
|
|
854
|
-
function
|
|
855
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
852
|
+
var ke = !1, Ee = !1, h = !1, k = !1, B = !1, F;
|
|
853
|
+
F = Symbol.for("react.module.reference");
|
|
854
|
+
function W(e) {
|
|
855
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === b || B || e === y || e === S || e === d || k || e === N || ke || Ee || h || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === R || e.$$typeof === w || e.$$typeof === _ || e.$$typeof === v || // This needs to include all possible module reference object
|
|
856
856
|
// types supported by any Flight configuration anywhere since
|
|
857
857
|
// we don't know which Flight build this will end up being used
|
|
858
858
|
// with.
|
|
859
|
-
e.$$typeof ===
|
|
859
|
+
e.$$typeof === F || e.getModuleId !== void 0));
|
|
860
860
|
}
|
|
861
|
-
function oe(e, t,
|
|
861
|
+
function oe(e, t, n) {
|
|
862
862
|
var a = e.displayName;
|
|
863
863
|
if (a)
|
|
864
864
|
return a;
|
|
865
|
-
var
|
|
866
|
-
return
|
|
865
|
+
var l = t.displayName || t.name || "";
|
|
866
|
+
return l !== "" ? n + "(" + l + ")" : n;
|
|
867
867
|
}
|
|
868
868
|
function ae(e) {
|
|
869
869
|
return e.displayName || "Context";
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function T(e) {
|
|
872
872
|
if (e == null)
|
|
873
873
|
return null;
|
|
874
|
-
if (typeof e.tag == "number" &&
|
|
874
|
+
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")
|
|
875
875
|
return e.displayName || e.name || null;
|
|
876
876
|
if (typeof e == "string")
|
|
877
877
|
return e;
|
|
878
878
|
switch (e) {
|
|
879
|
-
case
|
|
879
|
+
case f:
|
|
880
880
|
return "Fragment";
|
|
881
|
-
case
|
|
881
|
+
case i:
|
|
882
882
|
return "Portal";
|
|
883
|
-
case
|
|
883
|
+
case b:
|
|
884
884
|
return "Profiler";
|
|
885
|
-
case
|
|
885
|
+
case y:
|
|
886
886
|
return "StrictMode";
|
|
887
|
-
case
|
|
887
|
+
case S:
|
|
888
888
|
return "Suspense";
|
|
889
|
-
case
|
|
889
|
+
case d:
|
|
890
890
|
return "SuspenseList";
|
|
891
891
|
}
|
|
892
892
|
if (typeof e == "object")
|
|
893
893
|
switch (e.$$typeof) {
|
|
894
|
-
case
|
|
894
|
+
case _:
|
|
895
895
|
var t = e;
|
|
896
896
|
return ae(t) + ".Consumer";
|
|
897
|
-
case
|
|
898
|
-
var
|
|
899
|
-
return ae(
|
|
900
|
-
case
|
|
897
|
+
case w:
|
|
898
|
+
var n = e;
|
|
899
|
+
return ae(n._context) + ".Provider";
|
|
900
|
+
case v:
|
|
901
901
|
return oe(e, e.render, "ForwardRef");
|
|
902
902
|
case R:
|
|
903
903
|
var a = e.displayName || null;
|
|
904
|
-
return a !== null ? a :
|
|
905
|
-
case
|
|
906
|
-
var
|
|
904
|
+
return a !== null ? a : T(e.type) || "Memo";
|
|
905
|
+
case C: {
|
|
906
|
+
var l = e, p = l._payload, u = l._init;
|
|
907
907
|
try {
|
|
908
|
-
return
|
|
908
|
+
return T(u(p));
|
|
909
909
|
} catch {
|
|
910
910
|
return null;
|
|
911
911
|
}
|
|
@@ -913,18 +913,18 @@ function Qt() {
|
|
|
913
913
|
}
|
|
914
914
|
return null;
|
|
915
915
|
}
|
|
916
|
-
var
|
|
917
|
-
function
|
|
916
|
+
var I = Object.assign, D = 0, z, J, q, Se, xe, Oe, we;
|
|
917
|
+
function je() {
|
|
918
918
|
}
|
|
919
|
-
|
|
920
|
-
function
|
|
919
|
+
je.__reactDisabledLog = !0;
|
|
920
|
+
function Xe() {
|
|
921
921
|
{
|
|
922
|
-
if (
|
|
923
|
-
|
|
922
|
+
if (D === 0) {
|
|
923
|
+
z = console.log, J = console.info, q = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed, we = console.groupEnd;
|
|
924
924
|
var e = {
|
|
925
925
|
configurable: !0,
|
|
926
926
|
enumerable: !0,
|
|
927
|
-
value:
|
|
927
|
+
value: je,
|
|
928
928
|
writable: !0
|
|
929
929
|
};
|
|
930
930
|
Object.defineProperties(console, {
|
|
@@ -937,320 +937,320 @@ function Qt() {
|
|
|
937
937
|
groupEnd: e
|
|
938
938
|
});
|
|
939
939
|
}
|
|
940
|
-
|
|
940
|
+
D++;
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function Qe() {
|
|
944
944
|
{
|
|
945
|
-
if (
|
|
945
|
+
if (D--, D === 0) {
|
|
946
946
|
var e = {
|
|
947
947
|
configurable: !0,
|
|
948
948
|
enumerable: !0,
|
|
949
949
|
writable: !0
|
|
950
950
|
};
|
|
951
951
|
Object.defineProperties(console, {
|
|
952
|
-
log:
|
|
953
|
-
value:
|
|
952
|
+
log: I({}, e, {
|
|
953
|
+
value: z
|
|
954
954
|
}),
|
|
955
|
-
info:
|
|
956
|
-
value:
|
|
955
|
+
info: I({}, e, {
|
|
956
|
+
value: J
|
|
957
957
|
}),
|
|
958
|
-
warn:
|
|
959
|
-
value:
|
|
958
|
+
warn: I({}, e, {
|
|
959
|
+
value: q
|
|
960
960
|
}),
|
|
961
|
-
error:
|
|
961
|
+
error: I({}, e, {
|
|
962
962
|
value: Se
|
|
963
963
|
}),
|
|
964
|
-
group:
|
|
964
|
+
group: I({}, e, {
|
|
965
965
|
value: xe
|
|
966
966
|
}),
|
|
967
|
-
groupCollapsed:
|
|
967
|
+
groupCollapsed: I({}, e, {
|
|
968
968
|
value: Oe
|
|
969
969
|
}),
|
|
970
|
-
groupEnd:
|
|
971
|
-
value:
|
|
970
|
+
groupEnd: I({}, e, {
|
|
971
|
+
value: we
|
|
972
972
|
})
|
|
973
973
|
});
|
|
974
974
|
}
|
|
975
|
-
|
|
975
|
+
D < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
var se =
|
|
979
|
-
function
|
|
978
|
+
var se = M.ReactCurrentDispatcher, ue;
|
|
979
|
+
function K(e, t, n) {
|
|
980
980
|
{
|
|
981
|
-
if (
|
|
981
|
+
if (ue === void 0)
|
|
982
982
|
try {
|
|
983
983
|
throw Error();
|
|
984
|
-
} catch (
|
|
985
|
-
var a =
|
|
986
|
-
|
|
984
|
+
} catch (l) {
|
|
985
|
+
var a = l.stack.trim().match(/\n( *(at )?)/);
|
|
986
|
+
ue = a && a[1] || "";
|
|
987
987
|
}
|
|
988
988
|
return `
|
|
989
|
-
` +
|
|
989
|
+
` + ue + e;
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
|
-
var
|
|
992
|
+
var le = !1, G;
|
|
993
993
|
{
|
|
994
|
-
var
|
|
995
|
-
|
|
994
|
+
var et = typeof WeakMap == "function" ? WeakMap : Map;
|
|
995
|
+
G = new et();
|
|
996
996
|
}
|
|
997
|
-
function
|
|
998
|
-
if (!e ||
|
|
997
|
+
function Ce(e, t) {
|
|
998
|
+
if (!e || le)
|
|
999
999
|
return "";
|
|
1000
1000
|
{
|
|
1001
|
-
var
|
|
1002
|
-
if (
|
|
1003
|
-
return
|
|
1001
|
+
var n = G.get(e);
|
|
1002
|
+
if (n !== void 0)
|
|
1003
|
+
return n;
|
|
1004
1004
|
}
|
|
1005
1005
|
var a;
|
|
1006
|
-
|
|
1007
|
-
var
|
|
1006
|
+
le = !0;
|
|
1007
|
+
var l = Error.prepareStackTrace;
|
|
1008
1008
|
Error.prepareStackTrace = void 0;
|
|
1009
|
-
var
|
|
1010
|
-
|
|
1009
|
+
var p;
|
|
1010
|
+
p = se.current, se.current = null, Xe();
|
|
1011
1011
|
try {
|
|
1012
1012
|
if (t) {
|
|
1013
|
-
var
|
|
1013
|
+
var u = function() {
|
|
1014
1014
|
throw Error();
|
|
1015
1015
|
};
|
|
1016
|
-
if (Object.defineProperty(
|
|
1016
|
+
if (Object.defineProperty(u.prototype, "props", {
|
|
1017
1017
|
set: function() {
|
|
1018
1018
|
throw Error();
|
|
1019
1019
|
}
|
|
1020
1020
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1021
1021
|
try {
|
|
1022
|
-
Reflect.construct(
|
|
1023
|
-
} catch (
|
|
1024
|
-
a =
|
|
1022
|
+
Reflect.construct(u, []);
|
|
1023
|
+
} catch (O) {
|
|
1024
|
+
a = O;
|
|
1025
1025
|
}
|
|
1026
|
-
Reflect.construct(e, [],
|
|
1026
|
+
Reflect.construct(e, [], u);
|
|
1027
1027
|
} else {
|
|
1028
1028
|
try {
|
|
1029
|
-
|
|
1030
|
-
} catch (
|
|
1031
|
-
a =
|
|
1029
|
+
u.call();
|
|
1030
|
+
} catch (O) {
|
|
1031
|
+
a = O;
|
|
1032
1032
|
}
|
|
1033
|
-
e.call(
|
|
1033
|
+
e.call(u.prototype);
|
|
1034
1034
|
}
|
|
1035
1035
|
} else {
|
|
1036
1036
|
try {
|
|
1037
1037
|
throw Error();
|
|
1038
|
-
} catch (
|
|
1039
|
-
a =
|
|
1038
|
+
} catch (O) {
|
|
1039
|
+
a = O;
|
|
1040
1040
|
}
|
|
1041
1041
|
e();
|
|
1042
1042
|
}
|
|
1043
|
-
} catch (
|
|
1044
|
-
if (
|
|
1045
|
-
for (var
|
|
1046
|
-
`),
|
|
1047
|
-
`),
|
|
1048
|
-
|
|
1049
|
-
for (;
|
|
1050
|
-
if (
|
|
1051
|
-
if (
|
|
1043
|
+
} catch (O) {
|
|
1044
|
+
if (O && a && typeof O.stack == "string") {
|
|
1045
|
+
for (var s = O.stack.split(`
|
|
1046
|
+
`), x = a.stack.split(`
|
|
1047
|
+
`), g = s.length - 1, m = x.length - 1; g >= 1 && m >= 0 && s[g] !== x[m]; )
|
|
1048
|
+
m--;
|
|
1049
|
+
for (; g >= 1 && m >= 0; g--, m--)
|
|
1050
|
+
if (s[g] !== x[m]) {
|
|
1051
|
+
if (g !== 1 || m !== 1)
|
|
1052
1052
|
do
|
|
1053
|
-
if (
|
|
1054
|
-
var
|
|
1055
|
-
` +
|
|
1056
|
-
return e.displayName &&
|
|
1053
|
+
if (g--, m--, m < 0 || s[g] !== x[m]) {
|
|
1054
|
+
var A = `
|
|
1055
|
+
` + s[g].replace(" at new ", " at ");
|
|
1056
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && G.set(e, A), A;
|
|
1057
1057
|
}
|
|
1058
|
-
while (
|
|
1058
|
+
while (g >= 1 && m >= 0);
|
|
1059
1059
|
break;
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
1062
|
} finally {
|
|
1063
|
-
|
|
1063
|
+
le = !1, se.current = p, Qe(), Error.prepareStackTrace = l;
|
|
1064
1064
|
}
|
|
1065
|
-
var
|
|
1066
|
-
return typeof e == "function" &&
|
|
1065
|
+
var U = e ? e.displayName || e.name : "", $ = U ? K(U) : "";
|
|
1066
|
+
return typeof e == "function" && G.set(e, $), $;
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1069
|
-
return
|
|
1068
|
+
function tt(e, t, n) {
|
|
1069
|
+
return Ce(e, !1);
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function rt(e) {
|
|
1072
1072
|
var t = e.prototype;
|
|
1073
1073
|
return !!(t && t.isReactComponent);
|
|
1074
1074
|
}
|
|
1075
|
-
function
|
|
1075
|
+
function Z(e, t, n) {
|
|
1076
1076
|
if (e == null)
|
|
1077
1077
|
return "";
|
|
1078
1078
|
if (typeof e == "function")
|
|
1079
|
-
return
|
|
1079
|
+
return Ce(e, rt(e));
|
|
1080
1080
|
if (typeof e == "string")
|
|
1081
|
-
return
|
|
1081
|
+
return K(e);
|
|
1082
1082
|
switch (e) {
|
|
1083
|
-
case
|
|
1084
|
-
return
|
|
1085
|
-
case
|
|
1086
|
-
return
|
|
1083
|
+
case S:
|
|
1084
|
+
return K("Suspense");
|
|
1085
|
+
case d:
|
|
1086
|
+
return K("SuspenseList");
|
|
1087
1087
|
}
|
|
1088
1088
|
if (typeof e == "object")
|
|
1089
1089
|
switch (e.$$typeof) {
|
|
1090
|
-
case
|
|
1091
|
-
return
|
|
1090
|
+
case v:
|
|
1091
|
+
return tt(e.render);
|
|
1092
1092
|
case R:
|
|
1093
|
-
return
|
|
1094
|
-
case
|
|
1095
|
-
var a = e,
|
|
1093
|
+
return Z(e.type, t, n);
|
|
1094
|
+
case C: {
|
|
1095
|
+
var a = e, l = a._payload, p = a._init;
|
|
1096
1096
|
try {
|
|
1097
|
-
return
|
|
1097
|
+
return Z(p(l), t, n);
|
|
1098
1098
|
} catch {
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
1102
|
return "";
|
|
1103
1103
|
}
|
|
1104
|
-
var
|
|
1105
|
-
function
|
|
1104
|
+
var Y = Object.prototype.hasOwnProperty, Ae = {}, Pe = M.ReactDebugCurrentFrame;
|
|
1105
|
+
function X(e) {
|
|
1106
1106
|
if (e) {
|
|
1107
|
-
var t = e._owner,
|
|
1108
|
-
Pe.setExtraStackFrame(
|
|
1107
|
+
var t = e._owner, n = Z(e.type, e._source, t ? t.type : null);
|
|
1108
|
+
Pe.setExtraStackFrame(n);
|
|
1109
1109
|
} else
|
|
1110
1110
|
Pe.setExtraStackFrame(null);
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function nt(e, t, n, a, l) {
|
|
1113
1113
|
{
|
|
1114
|
-
var
|
|
1115
|
-
for (var
|
|
1116
|
-
if (
|
|
1117
|
-
var
|
|
1114
|
+
var p = Function.call.bind(Y);
|
|
1115
|
+
for (var u in e)
|
|
1116
|
+
if (p(e, u)) {
|
|
1117
|
+
var s = void 0;
|
|
1118
1118
|
try {
|
|
1119
|
-
if (typeof e[
|
|
1120
|
-
var
|
|
1121
|
-
throw
|
|
1119
|
+
if (typeof e[u] != "function") {
|
|
1120
|
+
var x = Error((a || "React class") + ": " + n + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1121
|
+
throw x.name = "Invariant Violation", x;
|
|
1122
1122
|
}
|
|
1123
|
-
|
|
1124
|
-
} catch (
|
|
1125
|
-
|
|
1123
|
+
s = e[u](t, u, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1124
|
+
} catch (g) {
|
|
1125
|
+
s = g;
|
|
1126
1126
|
}
|
|
1127
|
-
|
|
1127
|
+
s && !(s instanceof Error) && (X(l), 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).", a || "React class", n, u, typeof s), X(null)), s instanceof Error && !(s.message in Ae) && (Ae[s.message] = !0, X(l), E("Failed %s type: %s", n, s.message), X(null));
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
|
-
var
|
|
1131
|
+
var ot = Array.isArray;
|
|
1132
1132
|
function ce(e) {
|
|
1133
|
-
return
|
|
1133
|
+
return ot(e);
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function at(e) {
|
|
1136
1136
|
{
|
|
1137
|
-
var t = typeof Symbol == "function" && Symbol.toStringTag,
|
|
1138
|
-
return
|
|
1137
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1138
|
+
return n;
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function it(e) {
|
|
1142
1142
|
try {
|
|
1143
|
-
return
|
|
1143
|
+
return Te(e), !1;
|
|
1144
1144
|
} catch {
|
|
1145
1145
|
return !0;
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function Te(e) {
|
|
1149
1149
|
return "" + e;
|
|
1150
1150
|
}
|
|
1151
1151
|
function Be(e) {
|
|
1152
|
-
if (
|
|
1153
|
-
return
|
|
1152
|
+
if (it(e))
|
|
1153
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", at(e)), Te(e);
|
|
1154
1154
|
}
|
|
1155
|
-
var Ie =
|
|
1155
|
+
var Ie = M.ReactCurrentOwner, st = {
|
|
1156
1156
|
key: !0,
|
|
1157
1157
|
ref: !0,
|
|
1158
1158
|
__self: !0,
|
|
1159
1159
|
__source: !0
|
|
1160
1160
|
}, Fe, De;
|
|
1161
1161
|
function ut(e) {
|
|
1162
|
-
if (
|
|
1162
|
+
if (Y.call(e, "ref")) {
|
|
1163
1163
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1164
1164
|
if (t && t.isReactWarning)
|
|
1165
1165
|
return !1;
|
|
1166
1166
|
}
|
|
1167
1167
|
return e.ref !== void 0;
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1170
|
-
if (
|
|
1169
|
+
function lt(e) {
|
|
1170
|
+
if (Y.call(e, "key")) {
|
|
1171
1171
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1172
1172
|
if (t && t.isReactWarning)
|
|
1173
1173
|
return !1;
|
|
1174
1174
|
}
|
|
1175
1175
|
return e.key !== void 0;
|
|
1176
1176
|
}
|
|
1177
|
-
function
|
|
1177
|
+
function ct(e, t) {
|
|
1178
1178
|
typeof e.ref == "string" && Ie.current;
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1180
|
+
function ft(e, t) {
|
|
1181
1181
|
{
|
|
1182
|
-
var
|
|
1183
|
-
Fe || (Fe = !0,
|
|
1182
|
+
var n = function() {
|
|
1183
|
+
Fe || (Fe = !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)", t));
|
|
1184
1184
|
};
|
|
1185
|
-
|
|
1186
|
-
get:
|
|
1185
|
+
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1186
|
+
get: n,
|
|
1187
1187
|
configurable: !0
|
|
1188
1188
|
});
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function dt(e, t) {
|
|
1192
1192
|
{
|
|
1193
|
-
var
|
|
1194
|
-
De || (De = !0,
|
|
1193
|
+
var n = function() {
|
|
1194
|
+
De || (De = !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)", t));
|
|
1195
1195
|
};
|
|
1196
|
-
|
|
1197
|
-
get:
|
|
1196
|
+
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1197
|
+
get: n,
|
|
1198
1198
|
configurable: !0
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
|
-
var
|
|
1203
|
-
var
|
|
1202
|
+
var pt = function(e, t, n, a, l, p, u) {
|
|
1203
|
+
var s = {
|
|
1204
1204
|
// This tag allows us to uniquely identify this as a React Element
|
|
1205
1205
|
$$typeof: o,
|
|
1206
1206
|
// Built-in properties that belong on the element
|
|
1207
1207
|
type: e,
|
|
1208
1208
|
key: t,
|
|
1209
|
-
ref:
|
|
1210
|
-
props:
|
|
1209
|
+
ref: n,
|
|
1210
|
+
props: u,
|
|
1211
1211
|
// Record the component responsible for creating this element.
|
|
1212
|
-
_owner:
|
|
1212
|
+
_owner: p
|
|
1213
1213
|
};
|
|
1214
|
-
return
|
|
1214
|
+
return s._store = {}, Object.defineProperty(s._store, "validated", {
|
|
1215
1215
|
configurable: !1,
|
|
1216
1216
|
enumerable: !1,
|
|
1217
1217
|
writable: !0,
|
|
1218
1218
|
value: !1
|
|
1219
|
-
}), Object.defineProperty(
|
|
1219
|
+
}), Object.defineProperty(s, "_self", {
|
|
1220
1220
|
configurable: !1,
|
|
1221
1221
|
enumerable: !1,
|
|
1222
1222
|
writable: !1,
|
|
1223
1223
|
value: a
|
|
1224
|
-
}), Object.defineProperty(
|
|
1224
|
+
}), Object.defineProperty(s, "_source", {
|
|
1225
1225
|
configurable: !1,
|
|
1226
1226
|
enumerable: !1,
|
|
1227
1227
|
writable: !1,
|
|
1228
|
-
value:
|
|
1229
|
-
}), Object.freeze && (Object.freeze(
|
|
1228
|
+
value: l
|
|
1229
|
+
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
|
|
1230
1230
|
};
|
|
1231
|
-
function
|
|
1231
|
+
function vt(e, t, n, a, l) {
|
|
1232
1232
|
{
|
|
1233
|
-
var
|
|
1234
|
-
|
|
1235
|
-
for (
|
|
1236
|
-
|
|
1233
|
+
var p, u = {}, s = null, x = null;
|
|
1234
|
+
n !== void 0 && (Be(n), s = "" + n), lt(t) && (Be(t.key), s = "" + t.key), ut(t) && (x = t.ref, ct(t));
|
|
1235
|
+
for (p in t)
|
|
1236
|
+
Y.call(t, p) && !st.hasOwnProperty(p) && (u[p] = t[p]);
|
|
1237
1237
|
if (e && e.defaultProps) {
|
|
1238
|
-
var
|
|
1239
|
-
for (
|
|
1240
|
-
|
|
1238
|
+
var g = e.defaultProps;
|
|
1239
|
+
for (p in g)
|
|
1240
|
+
u[p] === void 0 && (u[p] = g[p]);
|
|
1241
1241
|
}
|
|
1242
|
-
if (
|
|
1243
|
-
var
|
|
1244
|
-
|
|
1242
|
+
if (s || x) {
|
|
1243
|
+
var m = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1244
|
+
s && ft(u, m), x && dt(u, m);
|
|
1245
1245
|
}
|
|
1246
|
-
return
|
|
1246
|
+
return pt(e, s, x, l, a, Ie.current, u);
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
var fe =
|
|
1250
|
-
function
|
|
1249
|
+
var fe = M.ReactCurrentOwner, Me = M.ReactDebugCurrentFrame;
|
|
1250
|
+
function L(e) {
|
|
1251
1251
|
if (e) {
|
|
1252
|
-
var t = e._owner,
|
|
1253
|
-
Me.setExtraStackFrame(
|
|
1252
|
+
var t = e._owner, n = Z(e.type, e._source, t ? t.type : null);
|
|
1253
|
+
Me.setExtraStackFrame(n);
|
|
1254
1254
|
} else
|
|
1255
1255
|
Me.setExtraStackFrame(null);
|
|
1256
1256
|
}
|
|
@@ -1262,7 +1262,7 @@ function Qt() {
|
|
|
1262
1262
|
function $e() {
|
|
1263
1263
|
{
|
|
1264
1264
|
if (fe.current) {
|
|
1265
|
-
var e =
|
|
1265
|
+
var e = T(fe.current.type);
|
|
1266
1266
|
if (e)
|
|
1267
1267
|
return `
|
|
1268
1268
|
|
|
@@ -1271,369 +1271,369 @@ Check the render method of \`` + e + "`.";
|
|
|
1271
1271
|
return "";
|
|
1272
1272
|
}
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function yt(e) {
|
|
1275
1275
|
return "";
|
|
1276
1276
|
}
|
|
1277
1277
|
var Ne = {};
|
|
1278
|
-
function
|
|
1278
|
+
function ht(e) {
|
|
1279
1279
|
{
|
|
1280
1280
|
var t = $e();
|
|
1281
1281
|
if (!t) {
|
|
1282
|
-
var
|
|
1283
|
-
|
|
1282
|
+
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
1283
|
+
n && (t = `
|
|
1284
1284
|
|
|
1285
|
-
Check the top-level render call using <` +
|
|
1285
|
+
Check the top-level render call using <` + n + ">.");
|
|
1286
1286
|
}
|
|
1287
1287
|
return t;
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
|
-
function
|
|
1290
|
+
function We(e, t) {
|
|
1291
1291
|
{
|
|
1292
1292
|
if (!e._store || e._store.validated || e.key != null)
|
|
1293
1293
|
return;
|
|
1294
1294
|
e._store.validated = !0;
|
|
1295
|
-
var
|
|
1296
|
-
if (Ne[
|
|
1295
|
+
var n = ht(t);
|
|
1296
|
+
if (Ne[n])
|
|
1297
1297
|
return;
|
|
1298
|
-
Ne[
|
|
1298
|
+
Ne[n] = !0;
|
|
1299
1299
|
var a = "";
|
|
1300
|
-
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " +
|
|
1300
|
+
e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + T(e._owner.type) + "."), L(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.', n, a), L(null);
|
|
1301
1301
|
}
|
|
1302
1302
|
}
|
|
1303
|
-
function
|
|
1303
|
+
function Le(e, t) {
|
|
1304
1304
|
{
|
|
1305
1305
|
if (typeof e != "object")
|
|
1306
1306
|
return;
|
|
1307
1307
|
if (ce(e))
|
|
1308
|
-
for (var
|
|
1309
|
-
var a = e[
|
|
1310
|
-
pe(a) &&
|
|
1308
|
+
for (var n = 0; n < e.length; n++) {
|
|
1309
|
+
var a = e[n];
|
|
1310
|
+
pe(a) && We(a, t);
|
|
1311
1311
|
}
|
|
1312
1312
|
else if (pe(e))
|
|
1313
1313
|
e._store && (e._store.validated = !0);
|
|
1314
1314
|
else if (e) {
|
|
1315
|
-
var
|
|
1316
|
-
if (typeof
|
|
1317
|
-
for (var
|
|
1318
|
-
pe(
|
|
1315
|
+
var l = Re(e);
|
|
1316
|
+
if (typeof l == "function" && l !== e.entries)
|
|
1317
|
+
for (var p = l.call(e), u; !(u = p.next()).done; )
|
|
1318
|
+
pe(u.value) && We(u.value, t);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function gt(e) {
|
|
1323
1323
|
{
|
|
1324
1324
|
var t = e.type;
|
|
1325
1325
|
if (t == null || typeof t == "string")
|
|
1326
1326
|
return;
|
|
1327
|
-
var
|
|
1327
|
+
var n;
|
|
1328
1328
|
if (typeof t == "function")
|
|
1329
|
-
|
|
1330
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
1329
|
+
n = t.propTypes;
|
|
1330
|
+
else if (typeof t == "object" && (t.$$typeof === v || // Note: Memo only checks outer props here.
|
|
1331
1331
|
// Inner props are checked in the reconciler.
|
|
1332
1332
|
t.$$typeof === R))
|
|
1333
|
-
|
|
1333
|
+
n = t.propTypes;
|
|
1334
1334
|
else
|
|
1335
1335
|
return;
|
|
1336
|
-
if (
|
|
1337
|
-
var a =
|
|
1338
|
-
|
|
1336
|
+
if (n) {
|
|
1337
|
+
var a = T(t);
|
|
1338
|
+
nt(n, e.props, "prop", a, e);
|
|
1339
1339
|
} else if (t.PropTypes !== void 0 && !de) {
|
|
1340
1340
|
de = !0;
|
|
1341
|
-
var
|
|
1342
|
-
|
|
1341
|
+
var l = T(t);
|
|
1342
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
|
|
1343
1343
|
}
|
|
1344
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
1344
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
1347
|
function bt(e) {
|
|
1348
1348
|
{
|
|
1349
|
-
for (var t = Object.keys(e.props),
|
|
1350
|
-
var a = t[
|
|
1349
|
+
for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
|
|
1350
|
+
var a = t[n];
|
|
1351
1351
|
if (a !== "children" && a !== "key") {
|
|
1352
|
-
|
|
1352
|
+
L(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), L(null);
|
|
1353
1353
|
break;
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
e.ref !== null && (
|
|
1356
|
+
e.ref !== null && (L(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), L(null));
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
|
-
var
|
|
1360
|
-
function
|
|
1359
|
+
var Ue = {};
|
|
1360
|
+
function Ye(e, t, n, a, l, p) {
|
|
1361
1361
|
{
|
|
1362
|
-
var
|
|
1363
|
-
if (!
|
|
1364
|
-
var
|
|
1365
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
1366
|
-
var
|
|
1367
|
-
|
|
1368
|
-
var
|
|
1369
|
-
e === null ?
|
|
1362
|
+
var u = W(e);
|
|
1363
|
+
if (!u) {
|
|
1364
|
+
var s = "";
|
|
1365
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1366
|
+
var x = yt();
|
|
1367
|
+
x ? s += x : s += $e();
|
|
1368
|
+
var g;
|
|
1369
|
+
e === null ? g = "null" : ce(e) ? g = "array" : e !== void 0 && e.$$typeof === o ? (g = "<" + (T(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : g = 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", g, s);
|
|
1370
1370
|
}
|
|
1371
|
-
var
|
|
1372
|
-
if (
|
|
1373
|
-
return
|
|
1374
|
-
if (
|
|
1375
|
-
var
|
|
1376
|
-
if (
|
|
1371
|
+
var m = vt(e, t, n, l, p);
|
|
1372
|
+
if (m == null)
|
|
1373
|
+
return m;
|
|
1374
|
+
if (u) {
|
|
1375
|
+
var A = t.children;
|
|
1376
|
+
if (A !== void 0)
|
|
1377
1377
|
if (a)
|
|
1378
|
-
if (ce(
|
|
1379
|
-
for (var
|
|
1380
|
-
|
|
1381
|
-
Object.freeze && Object.freeze(
|
|
1378
|
+
if (ce(A)) {
|
|
1379
|
+
for (var U = 0; U < A.length; U++)
|
|
1380
|
+
Le(A[U], e);
|
|
1381
|
+
Object.freeze && Object.freeze(A);
|
|
1382
1382
|
} else
|
|
1383
|
-
|
|
1383
|
+
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.");
|
|
1384
1384
|
else
|
|
1385
|
-
|
|
1385
|
+
Le(A, e);
|
|
1386
1386
|
}
|
|
1387
|
-
if (
|
|
1388
|
-
var
|
|
1389
|
-
return
|
|
1390
|
-
}), ve =
|
|
1391
|
-
if (!
|
|
1392
|
-
var
|
|
1393
|
-
|
|
1387
|
+
if (Y.call(t, "key")) {
|
|
1388
|
+
var $ = T(e), O = Object.keys(t).filter(function(St) {
|
|
1389
|
+
return St !== "key";
|
|
1390
|
+
}), ve = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1391
|
+
if (!Ue[$ + ve]) {
|
|
1392
|
+
var Et = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
1393
|
+
E(`A props object containing a "key" prop is being spread into JSX:
|
|
1394
1394
|
let props = %s;
|
|
1395
1395
|
<%s {...props} />
|
|
1396
1396
|
React keys must be passed directly to JSX without using spread:
|
|
1397
1397
|
let props = %s;
|
|
1398
|
-
<%s key={someKey} {...props} />`, ve,
|
|
1398
|
+
<%s key={someKey} {...props} />`, ve, $, Et, $), Ue[$ + ve] = !0;
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
|
-
return e ===
|
|
1401
|
+
return e === f ? bt(m) : gt(m), m;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
function
|
|
1405
|
-
return
|
|
1404
|
+
function mt(e, t, n) {
|
|
1405
|
+
return Ye(e, t, n, !0);
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1408
|
-
return
|
|
1407
|
+
function _t(e, t, n) {
|
|
1408
|
+
return Ye(e, t, n, !1);
|
|
1409
1409
|
}
|
|
1410
|
-
var
|
|
1411
|
-
|
|
1412
|
-
}()),
|
|
1410
|
+
var Rt = _t, kt = mt;
|
|
1411
|
+
qe.Fragment = f, qe.jsx = Rt, qe.jsxs = kt;
|
|
1412
|
+
}()), qe;
|
|
1413
1413
|
}
|
|
1414
|
-
process.env.NODE_ENV === "production" ?
|
|
1415
|
-
const
|
|
1416
|
-
version:
|
|
1417
|
-
},
|
|
1414
|
+
process.env.NODE_ENV === "production" ? Kt() : Gt();
|
|
1415
|
+
const Zt = "0.0.37", Wt = {
|
|
1416
|
+
version: Zt
|
|
1417
|
+
}, Q = {}, Ct = {
|
|
1418
1418
|
module: "",
|
|
1419
|
-
v:
|
|
1419
|
+
v: Wt.version,
|
|
1420
1420
|
page: "Main",
|
|
1421
1421
|
auth: "Auth",
|
|
1422
1422
|
STORAGE: "f",
|
|
1423
1423
|
LISTENER: {}
|
|
1424
1424
|
};
|
|
1425
|
-
function
|
|
1425
|
+
function he() {
|
|
1426
1426
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
1427
1427
|
}
|
|
1428
|
-
|
|
1429
|
-
Object.assign(
|
|
1430
|
-
function
|
|
1431
|
-
const o =
|
|
1432
|
-
o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...
|
|
1428
|
+
he().elcrm || (he().elcrm = {});
|
|
1429
|
+
Object.assign(he().elcrm, { router: Wt.version });
|
|
1430
|
+
function ee(r) {
|
|
1431
|
+
const o = he();
|
|
1432
|
+
o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...r } : o.ROUTER_PARAMS = { ...Ct, ...r };
|
|
1433
1433
|
}
|
|
1434
|
-
function
|
|
1435
|
-
return
|
|
1434
|
+
function j() {
|
|
1435
|
+
return he().ROUTER_PARAMS || Ct;
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1438
|
-
const o =
|
|
1437
|
+
function be(r) {
|
|
1438
|
+
const o = he();
|
|
1439
1439
|
o.ROUTER_PARAMS ? o.ROUTER_PARAMS.LISTENER = {
|
|
1440
1440
|
...o.ROUTER_PARAMS.LISTENER,
|
|
1441
|
-
...
|
|
1442
|
-
} : o.ROUTER_PARAMS.LISTENER = { ...
|
|
1441
|
+
...r
|
|
1442
|
+
} : o.ROUTER_PARAMS.LISTENER = { ...r };
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1445
|
-
return
|
|
1444
|
+
function te() {
|
|
1445
|
+
return he().ROUTER_PARAMS.LISTENER || Ct.LISTENER;
|
|
1446
1446
|
}
|
|
1447
|
-
var
|
|
1448
|
-
((
|
|
1447
|
+
var me;
|
|
1448
|
+
((r) => {
|
|
1449
1449
|
function o() {
|
|
1450
1450
|
var h;
|
|
1451
|
-
let
|
|
1452
|
-
if (
|
|
1453
|
-
if (
|
|
1454
|
-
|
|
1455
|
-
id:
|
|
1456
|
-
tab:
|
|
1457
|
-
page:
|
|
1458
|
-
module:
|
|
1459
|
-
time:
|
|
1451
|
+
let k = sessionStorage.getItem("f");
|
|
1452
|
+
if (k) {
|
|
1453
|
+
if (k = ie.deCode(k), !k) return !1;
|
|
1454
|
+
ee({
|
|
1455
|
+
id: k.id,
|
|
1456
|
+
tab: k.tab,
|
|
1457
|
+
page: k.page,
|
|
1458
|
+
module: k.module,
|
|
1459
|
+
time: k.time,
|
|
1460
1460
|
payment: { active: !0 },
|
|
1461
|
-
module_admin:
|
|
1461
|
+
module_admin: k.module_admin
|
|
1462
1462
|
});
|
|
1463
1463
|
} else
|
|
1464
|
-
|
|
1464
|
+
ee({
|
|
1465
1465
|
id: 0,
|
|
1466
1466
|
tab: "",
|
|
1467
|
-
page: (h = localStorage.getItem("d")) != null && h.length ?
|
|
1468
|
-
module:
|
|
1467
|
+
page: (h = localStorage.getItem("d")) != null && h.length ? j().page : j().auth,
|
|
1468
|
+
module: j().module
|
|
1469
1469
|
});
|
|
1470
1470
|
return !0;
|
|
1471
1471
|
}
|
|
1472
|
-
function
|
|
1473
|
-
|
|
1472
|
+
function i() {
|
|
1473
|
+
Q.id = 0, Q.tab = "", Q.page = j().page, Q.module = j().module;
|
|
1474
1474
|
}
|
|
1475
|
-
|
|
1476
|
-
function
|
|
1477
|
-
module: h =
|
|
1478
|
-
page:
|
|
1479
|
-
auth:
|
|
1475
|
+
r.Reset = i;
|
|
1476
|
+
function f({
|
|
1477
|
+
module: h = j().module,
|
|
1478
|
+
page: k = j().page,
|
|
1479
|
+
auth: B = j().auth
|
|
1480
1480
|
}) {
|
|
1481
|
-
|
|
1481
|
+
ee({ page: k, module: h, auth: B }), o();
|
|
1482
1482
|
}
|
|
1483
|
-
|
|
1484
|
-
function
|
|
1485
|
-
let
|
|
1486
|
-
const [
|
|
1487
|
-
|
|
1483
|
+
r.Default = f;
|
|
1484
|
+
function y(h) {
|
|
1485
|
+
let k = (W) => (ee({ page: W }), W);
|
|
1486
|
+
const [B, F] = P.useState(
|
|
1487
|
+
w() || h && k(h) || j().page
|
|
1488
1488
|
);
|
|
1489
|
-
return
|
|
1490
|
-
|
|
1491
|
-
} }),
|
|
1489
|
+
return be({ page: (W) => {
|
|
1490
|
+
F(W);
|
|
1491
|
+
} }), B;
|
|
1492
1492
|
}
|
|
1493
|
-
|
|
1494
|
-
function
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
ie.enCode(
|
|
1498
|
-
),
|
|
1493
|
+
r.usePage = y;
|
|
1494
|
+
function b(h, k = !0, B = {}) {
|
|
1495
|
+
ee({ page: h, ...B }), sessionStorage.setItem(
|
|
1496
|
+
j().STORAGE,
|
|
1497
|
+
ie.enCode(j())
|
|
1498
|
+
), k && te().page(h);
|
|
1499
1499
|
}
|
|
1500
|
-
|
|
1501
|
-
function
|
|
1502
|
-
return
|
|
1500
|
+
r.setPage = b;
|
|
1501
|
+
function w() {
|
|
1502
|
+
return j().page;
|
|
1503
1503
|
}
|
|
1504
|
-
|
|
1505
|
-
function
|
|
1506
|
-
return
|
|
1504
|
+
r.getPage = w;
|
|
1505
|
+
function _(h) {
|
|
1506
|
+
return j().page === h;
|
|
1507
1507
|
}
|
|
1508
|
-
|
|
1509
|
-
function
|
|
1510
|
-
const [
|
|
1511
|
-
|
|
1508
|
+
r.isPage = _;
|
|
1509
|
+
function v(h, k) {
|
|
1510
|
+
const [B, F] = P.useState(
|
|
1511
|
+
d() || h || j().module
|
|
1512
1512
|
);
|
|
1513
|
-
return
|
|
1513
|
+
return be({ module: F }), B;
|
|
1514
1514
|
}
|
|
1515
|
-
|
|
1516
|
-
function
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
ie.enCode(
|
|
1520
|
-
),
|
|
1515
|
+
r.useModule = v;
|
|
1516
|
+
function S(h, k = !0) {
|
|
1517
|
+
ee({ module: h }), sessionStorage.setItem(
|
|
1518
|
+
j().STORAGE,
|
|
1519
|
+
ie.enCode(j())
|
|
1520
|
+
), k && te().module(h);
|
|
1521
1521
|
}
|
|
1522
|
-
|
|
1523
|
-
function
|
|
1524
|
-
return
|
|
1522
|
+
r.setModule = S;
|
|
1523
|
+
function d() {
|
|
1524
|
+
return j().module || "";
|
|
1525
1525
|
}
|
|
1526
|
-
|
|
1526
|
+
r.getModule = d;
|
|
1527
1527
|
function R(h) {
|
|
1528
|
-
return
|
|
1528
|
+
return j().module === h;
|
|
1529
1529
|
}
|
|
1530
|
-
|
|
1531
|
-
function
|
|
1530
|
+
r.isModule = R;
|
|
1531
|
+
function C(h, k) {
|
|
1532
1532
|
if (typeof h != "function") {
|
|
1533
|
-
const [
|
|
1534
|
-
return
|
|
1535
|
-
|
|
1536
|
-
}, []), [
|
|
1533
|
+
const [B, F] = P.useState(!k), [W, oe] = P.useState(h || ne());
|
|
1534
|
+
return be({ tabs: oe }), k && P.useEffect(() => {
|
|
1535
|
+
F(!0);
|
|
1536
|
+
}, []), [W, B];
|
|
1537
1537
|
} else
|
|
1538
|
-
|
|
1538
|
+
be({ tabs: h });
|
|
1539
1539
|
}
|
|
1540
|
-
|
|
1541
|
-
async function
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
ie.enCode(
|
|
1545
|
-
),
|
|
1540
|
+
r.useTabs = C;
|
|
1541
|
+
async function N(h, k = !0) {
|
|
1542
|
+
ee({ tab: h }), sessionStorage.setItem(
|
|
1543
|
+
j().STORAGE,
|
|
1544
|
+
ie.enCode(j())
|
|
1545
|
+
), k && (te().tabs && te().tabs(h));
|
|
1546
1546
|
}
|
|
1547
|
-
|
|
1548
|
-
function
|
|
1549
|
-
return
|
|
1547
|
+
r.setTabs = N;
|
|
1548
|
+
function ne() {
|
|
1549
|
+
return j().tab;
|
|
1550
1550
|
}
|
|
1551
|
-
|
|
1551
|
+
r.getTabs = ne;
|
|
1552
1552
|
function _e(h) {
|
|
1553
|
-
return
|
|
1553
|
+
return j().tab === h;
|
|
1554
1554
|
}
|
|
1555
|
-
|
|
1555
|
+
r.isTabs = _e;
|
|
1556
1556
|
function Re(h) {
|
|
1557
1557
|
if (typeof h != "function") {
|
|
1558
|
-
const [
|
|
1559
|
-
return
|
|
1560
|
-
F
|
|
1561
|
-
} }),
|
|
1558
|
+
const [k, B] = P.useState(h || ge());
|
|
1559
|
+
return be({ id: (F) => {
|
|
1560
|
+
B(F);
|
|
1561
|
+
} }), k;
|
|
1562
1562
|
} else
|
|
1563
|
-
|
|
1563
|
+
be({ id: h });
|
|
1564
1564
|
}
|
|
1565
|
-
|
|
1566
|
-
function
|
|
1565
|
+
r.useId = Re;
|
|
1566
|
+
function M(h) {
|
|
1567
1567
|
}
|
|
1568
|
-
|
|
1569
|
-
async function
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
ie.enCode(
|
|
1573
|
-
),
|
|
1568
|
+
r.subId = M;
|
|
1569
|
+
async function E(h, k = !0) {
|
|
1570
|
+
ee({ id: h }), sessionStorage.setItem(
|
|
1571
|
+
j().STORAGE,
|
|
1572
|
+
ie.enCode(j())
|
|
1573
|
+
), k && te().id(h);
|
|
1574
1574
|
}
|
|
1575
|
-
|
|
1576
|
-
function
|
|
1577
|
-
return
|
|
1575
|
+
r.setId = E;
|
|
1576
|
+
function ge() {
|
|
1577
|
+
return j().id;
|
|
1578
1578
|
}
|
|
1579
|
-
|
|
1579
|
+
r.getId = ge;
|
|
1580
1580
|
function ke(h) {
|
|
1581
|
-
return Number(
|
|
1581
|
+
return Number(j().id) === h;
|
|
1582
1582
|
}
|
|
1583
|
-
|
|
1583
|
+
r.isId = ke;
|
|
1584
1584
|
async function Ee(h) {
|
|
1585
|
-
var
|
|
1586
|
-
const { page:
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
ie.enCode(
|
|
1585
|
+
var k, B, F, W, oe, ae, T, I;
|
|
1586
|
+
const { page: D, module: z, tab: J, id: q } = h;
|
|
1587
|
+
D !== void 0 && (Q.page = D), z !== void 0 && (Q.module = z), J !== void 0 && (Q.tab = J), q !== void 0 && (Q.id = q), ee({ ...Q }), q !== void 0 && ((B = (k = te()).id) == null || B.call(k, q)), J !== void 0 && ((W = (F = te()).tabs) == null || W.call(F, J)), z !== void 0 && ((ae = (oe = te()).module) == null || ae.call(oe, z)), D !== void 0 && ((I = (T = te()).page) == null || I.call(T, D)), sessionStorage.setItem(
|
|
1588
|
+
j().STORAGE,
|
|
1589
|
+
ie.enCode(j())
|
|
1590
1590
|
);
|
|
1591
1591
|
}
|
|
1592
|
-
|
|
1593
|
-
})(
|
|
1594
|
-
let
|
|
1595
|
-
function
|
|
1596
|
-
const [
|
|
1597
|
-
return
|
|
1598
|
-
o([...
|
|
1599
|
-
},
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
}), o(
|
|
1603
|
-
},
|
|
1592
|
+
r.navigate = Ee;
|
|
1593
|
+
})(me || (me = {}));
|
|
1594
|
+
let Ge = {};
|
|
1595
|
+
function Xt() {
|
|
1596
|
+
const [r, o] = P.useState([]);
|
|
1597
|
+
return Ge.set = (i) => {
|
|
1598
|
+
o([...r, i]);
|
|
1599
|
+
}, Ge.del = (i) => {
|
|
1600
|
+
r.forEach((f, y) => {
|
|
1601
|
+
f.key === i && r.splice(y, 1);
|
|
1602
|
+
}), o(r);
|
|
1603
|
+
}, r.length === 0 ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsx("div", { className: "notice", children: r.map((i) => i.item) });
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1605
|
+
function Qt(r) {
|
|
1606
1606
|
let o = (/* @__PURE__ */ new Date()).getTime();
|
|
1607
|
-
|
|
1607
|
+
r.key = o, Ge.set({ item: /* @__PURE__ */ c.jsx(er, { data: r }, o), key: o });
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1610
|
-
const o =
|
|
1611
|
-
let [
|
|
1609
|
+
function er(r) {
|
|
1610
|
+
const o = r.data;
|
|
1611
|
+
let [i] = P.useState("show"), [f, y] = P.useState(!1);
|
|
1612
1612
|
P.useEffect(() => {
|
|
1613
1613
|
setTimeout(function() {
|
|
1614
|
-
|
|
1614
|
+
y(!0), Ge.del(o.key);
|
|
1615
1615
|
}, 5e3);
|
|
1616
1616
|
}, [o.key]);
|
|
1617
|
-
let
|
|
1617
|
+
let b;
|
|
1618
1618
|
switch (o.type) {
|
|
1619
1619
|
case "error":
|
|
1620
|
-
|
|
1620
|
+
b = /* @__PURE__ */ c.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
|
|
1621
1621
|
break;
|
|
1622
1622
|
case "success":
|
|
1623
|
-
|
|
1623
|
+
b = /* @__PURE__ */ c.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
|
|
1624
1624
|
break;
|
|
1625
1625
|
case "warning":
|
|
1626
|
-
|
|
1626
|
+
b = /* @__PURE__ */ c.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
|
|
1627
1627
|
break;
|
|
1628
1628
|
default:
|
|
1629
|
-
|
|
1629
|
+
b = "icon fa fa-exclamation-circle";
|
|
1630
1630
|
break;
|
|
1631
1631
|
}
|
|
1632
|
-
return /* @__PURE__ */ c.jsx(c.Fragment, { children:
|
|
1632
|
+
return /* @__PURE__ */ c.jsx(c.Fragment, { children: f ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsxs(
|
|
1633
1633
|
"div",
|
|
1634
1634
|
{
|
|
1635
1635
|
className: "item " + o.type + ` ${o.thema !== void 0 ? " thema" : ""}`,
|
|
1636
|
-
"data-status":
|
|
1636
|
+
"data-status": i,
|
|
1637
1637
|
children: [
|
|
1638
1638
|
/* @__PURE__ */ c.jsx(
|
|
1639
1639
|
"svg",
|
|
@@ -1645,7 +1645,7 @@ function nr(n) {
|
|
|
1645
1645
|
width: "24",
|
|
1646
1646
|
height: "24",
|
|
1647
1647
|
viewBox: "0 0 24 24",
|
|
1648
|
-
children:
|
|
1648
|
+
children: b
|
|
1649
1649
|
}
|
|
1650
1650
|
),
|
|
1651
1651
|
/* @__PURE__ */ c.jsx("span", { className: "text", children: o.text })
|
|
@@ -1653,88 +1653,48 @@ function nr(n) {
|
|
|
1653
1653
|
}
|
|
1654
1654
|
) });
|
|
1655
1655
|
}
|
|
1656
|
-
let
|
|
1657
|
-
Send:
|
|
1658
|
-
Init:
|
|
1659
|
-
},
|
|
1656
|
+
let Ze = {
|
|
1657
|
+
Send: Qt,
|
|
1658
|
+
Init: Xt
|
|
1659
|
+
}, tr = () => {
|
|
1660
1660
|
};
|
|
1661
|
-
const or =
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
}) => {
|
|
1666
|
-
|
|
1667
|
-
return qe = () => {
|
|
1668
|
-
m(!0), setTimeout(() => {
|
|
1669
|
-
Wt.onClose();
|
|
1670
|
-
}, 300);
|
|
1671
|
-
}, /* @__PURE__ */ c.jsx(
|
|
1672
|
-
"div",
|
|
1673
|
-
{
|
|
1674
|
-
className: `footer-menu-overlay ${l ? "is-overlay" : ""} ${u ? "closing" : ""}`,
|
|
1675
|
-
onClick: qe,
|
|
1676
|
-
children: /* @__PURE__ */ c.jsxs(
|
|
1677
|
-
"div",
|
|
1678
|
-
{
|
|
1679
|
-
className: `footer-menu-popup-book ${u ? "closing" : ""}`,
|
|
1680
|
-
onClick: (y) => y.stopPropagation(),
|
|
1681
|
-
children: [
|
|
1682
|
-
/* @__PURE__ */ c.jsxs("div", { className: "footer-menu-header", children: [
|
|
1683
|
-
/* @__PURE__ */ c.jsx("h3", { children: o }),
|
|
1684
|
-
/* @__PURE__ */ c.jsx(
|
|
1685
|
-
"button",
|
|
1686
|
-
{
|
|
1687
|
-
className: "footer-menu-close-btn",
|
|
1688
|
-
onClick: qe,
|
|
1689
|
-
children: "✕"
|
|
1690
|
-
}
|
|
1691
|
-
)
|
|
1692
|
-
] }),
|
|
1693
|
-
n
|
|
1694
|
-
]
|
|
1695
|
-
}
|
|
1696
|
-
)
|
|
1697
|
-
}
|
|
1698
|
-
);
|
|
1699
|
-
}, ar = "_h_rl5ga_1", ir = "_row_rl5ga_14", sr = "_column_rl5ga_17", Dt = {
|
|
1700
|
-
h: ar,
|
|
1701
|
-
row: ir,
|
|
1702
|
-
column: sr
|
|
1703
|
-
}, Wt = [], Mt = (n, o) => n.findIndex((l) => (l == null ? void 0 : l.page) === o), lr = ({
|
|
1704
|
-
actions: n,
|
|
1661
|
+
const rr = "_h_rl5ga_1", nr = "_row_rl5ga_14", or = "_column_rl5ga_17", Ft = {
|
|
1662
|
+
h: rr,
|
|
1663
|
+
row: nr,
|
|
1664
|
+
column: or
|
|
1665
|
+
}, ar = (r, o) => r.findIndex((i) => (i == null ? void 0 : i.page) === o), ir = ({
|
|
1666
|
+
actions: r,
|
|
1705
1667
|
children: o,
|
|
1706
|
-
className:
|
|
1707
|
-
page:
|
|
1708
|
-
setPage:
|
|
1709
|
-
direction:
|
|
1668
|
+
className: i,
|
|
1669
|
+
page: f,
|
|
1670
|
+
setPage: y,
|
|
1671
|
+
direction: b = "row"
|
|
1710
1672
|
}) => {
|
|
1711
|
-
const [
|
|
1712
|
-
|
|
1673
|
+
const [w, _] = P.useState(null), [v, S] = P.useState(
|
|
1674
|
+
f ? ar(r || [], f) : 0
|
|
1713
1675
|
);
|
|
1714
|
-
return
|
|
1715
|
-
k(null), x(u ? Mt(n || [], u) : 0);
|
|
1716
|
-
}, Tt(() => {
|
|
1676
|
+
return Ot(() => {
|
|
1717
1677
|
document.addEventListener("blur", () => {
|
|
1718
1678
|
document.querySelector("footer").style.display = "flex";
|
|
1719
1679
|
}), document.addEventListener("focus", () => {
|
|
1720
1680
|
document.querySelector("footer").style.display = "none";
|
|
1721
1681
|
});
|
|
1722
1682
|
}, []), /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
1723
|
-
|
|
1683
|
+
w,
|
|
1724
1684
|
/* @__PURE__ */ c.jsxs(
|
|
1725
1685
|
"footer",
|
|
1726
1686
|
{
|
|
1727
|
-
className: `${
|
|
1687
|
+
className: `${Ft.h} ${Ft[b]} ${i} `,
|
|
1728
1688
|
children: [
|
|
1729
1689
|
o,
|
|
1730
|
-
|
|
1690
|
+
r && r.map((d, R) => /* @__PURE__ */ c.jsx(
|
|
1731
1691
|
"div",
|
|
1732
1692
|
{
|
|
1733
|
-
"data-active":
|
|
1693
|
+
"data-active": v === R ? "true" : "false",
|
|
1734
1694
|
onClick: () => {
|
|
1735
|
-
|
|
1695
|
+
d.page && (S(R), y == null || y(d.page)), d.callback && (d.callback(), S(R)), d.component && (v === R || (_(d.component), S(R)));
|
|
1736
1696
|
},
|
|
1737
|
-
children:
|
|
1697
|
+
children: d.icon
|
|
1738
1698
|
},
|
|
1739
1699
|
R
|
|
1740
1700
|
))
|
|
@@ -1742,9 +1702,9 @@ const or = ({
|
|
|
1742
1702
|
}
|
|
1743
1703
|
)
|
|
1744
1704
|
] });
|
|
1745
|
-
},
|
|
1746
|
-
let
|
|
1747
|
-
|
|
1705
|
+
}, ye = { is: !1, MainButton: {}, BackButton: {} };
|
|
1706
|
+
let V = {};
|
|
1707
|
+
V.dark = {
|
|
1748
1708
|
"--tg-theme-subtitle-text-color": "#98989e",
|
|
1749
1709
|
"--tg-theme-destructive-text-color": "#e53935",
|
|
1750
1710
|
"--tg-theme-section-separator-color": "#545458",
|
|
@@ -1761,7 +1721,7 @@ J.dark = {
|
|
|
1761
1721
|
"--tg-theme-text-color": "#ffffff",
|
|
1762
1722
|
"--tg-theme-section-bg-color": "#2c2c2e"
|
|
1763
1723
|
};
|
|
1764
|
-
|
|
1724
|
+
V.light = {
|
|
1765
1725
|
"--tg-theme-subtitle-text-color": "#8e8e93",
|
|
1766
1726
|
"--tg-theme-destructive-text-color": "#ff3b30",
|
|
1767
1727
|
"--tg-theme-section-separator-color": "#c8c7cc",
|
|
@@ -1778,7 +1738,7 @@ J.light = {
|
|
|
1778
1738
|
"--tg-theme-text-color": "#000000",
|
|
1779
1739
|
"--tg-theme-section-bg-color": "#ffffff"
|
|
1780
1740
|
};
|
|
1781
|
-
|
|
1741
|
+
V.users = {
|
|
1782
1742
|
"--tg-theme-bg-color": "#000000",
|
|
1783
1743
|
"--tg-theme-text-color": "#ffffff",
|
|
1784
1744
|
"--tg-theme-hint-color": "#98989e",
|
|
@@ -1787,85 +1747,56 @@ J.users = {
|
|
|
1787
1747
|
"--tg-theme-button-text-color": "#000000",
|
|
1788
1748
|
"--tg-theme-secondary-bg-color": "#000000"
|
|
1789
1749
|
};
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
o !== void 0 ? (Xe.Send({ type: n, text: o, thema: l }), (u = g.HapticFeedback) == null || u.notificationOccurred(n)) : (Xe.Send(n), (m = g.HapticFeedback) == null || m.notificationOccurred(n.type));
|
|
1797
|
-
};
|
|
1798
|
-
g.MainButton.callback = [];
|
|
1799
|
-
g.MainButton.set = (n) => {
|
|
1800
|
-
ge.is ? ge.MainButton.set(n) : (g.MainButton.callback.forEach((o) => {
|
|
1801
|
-
g.MainButton.offClick(o);
|
|
1802
|
-
}), g.MainButton.callback = [], typeof n == "boolean" ? g.MainButton.isVisible = !1 : (g.MainButton.text = n.text, n.color && (g.MainButton.color = n.color), n.textColor && (g.MainButton.textColor = n.textColor), g.MainButton.isVisible = !0, g.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, g.MainButton.callback.push(() => {
|
|
1803
|
-
var o;
|
|
1804
|
-
n.page === void 0 ? (o = n.callback) == null || o.call(n) : be.setPage(n.page);
|
|
1805
|
-
}), g.MainButton.onClick(g.MainButton.callback[0])));
|
|
1806
|
-
};
|
|
1807
|
-
g.BackButton.state = [!1];
|
|
1808
|
-
g.BackButton.listen = [];
|
|
1809
|
-
g.BackButton.router = (n) => {
|
|
1810
|
-
n === !1 ? (g.BackButton.isVisible = !1, g.BackButton.offClick(g.BackButton.listen[0]), g.BackButton.listen.shift(), g.BackButton.state.length !== 1 && g.BackButton.state.pop()) : (g.BackButton.isVisible = !0, g.BackButton.offClick(g.BackButton.listen[0]), g.BackButton.listen.shift(), g.BackButton.listen.push(() => {
|
|
1811
|
-
var l;
|
|
1812
|
-
let o = g.BackButton.state.pop();
|
|
1813
|
-
o.page !== void 0 ? be.setPage(o.page) : (l = o.callback) == null || l.call(o);
|
|
1814
|
-
}), g.BackButton.onClick(g.BackButton.listen[0]));
|
|
1815
|
-
};
|
|
1816
|
-
g.BackButton.set = (n) => {
|
|
1817
|
-
ge.is ? ge.BackButton.set(n) : (g.BackButton.state.push(n), g.BackButton.router(n));
|
|
1818
|
-
};
|
|
1819
|
-
g.Header = ({ dev: n }) => {
|
|
1820
|
-
if (n) {
|
|
1821
|
-
let [o, l] = P.useState(!1), [u, m] = P.useState(!1), [y, j] = P.useState("dark"), [k, d] = P.useState(!1), [x, p] = P.useState(!1);
|
|
1822
|
-
ge.is = !0, ge.MainButton.set = l, ge.BackButton.set = m, P.useEffect(() => {
|
|
1823
|
-
J[y]["--tg-theme-bg-color-alpha"] = J[y]["--tg-theme-bg-color"] + "b3", J[y]["--tg-theme-secondary-bg-color-alpha"] = J[y]["--tg-theme-secondary-bg-color"] + "d3";
|
|
1824
|
-
for (let A in J[y])
|
|
1750
|
+
const sr = () => {
|
|
1751
|
+
if (location.hostname === "localhost") {
|
|
1752
|
+
let [r, o] = P.useState(!1), [i, f] = P.useState(!1), [y, b] = P.useState("dark"), [w, _] = P.useState(!1), [v, S] = P.useState(!1);
|
|
1753
|
+
ye.is = !0, ye.MainButton.set = o, ye.BackButton.set = f, P.useEffect(() => {
|
|
1754
|
+
V[y]["--tg-theme-bg-color-alpha"] = V[y]["--tg-theme-bg-color"] + "b3", V[y]["--tg-theme-secondary-bg-color-alpha"] = V[y]["--tg-theme-secondary-bg-color"] + "d3";
|
|
1755
|
+
for (let C in V[y])
|
|
1825
1756
|
document.documentElement.style.setProperty(
|
|
1826
|
-
|
|
1827
|
-
|
|
1757
|
+
C,
|
|
1758
|
+
V[y][C]
|
|
1828
1759
|
);
|
|
1829
|
-
|
|
1760
|
+
re.WebApp.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1830
1761
|
"--tg-safe-area-inset-bottom",
|
|
1831
1762
|
"16px"
|
|
1832
1763
|
);
|
|
1833
1764
|
}, []);
|
|
1834
|
-
let
|
|
1835
|
-
for (let
|
|
1836
|
-
document.documentElement.style.setProperty(
|
|
1837
|
-
|
|
1838
|
-
},
|
|
1839
|
-
|
|
1765
|
+
let d = (C) => {
|
|
1766
|
+
for (let N in V[C])
|
|
1767
|
+
document.documentElement.style.setProperty(N, V[C][N]);
|
|
1768
|
+
b(C), _(!1);
|
|
1769
|
+
}, R = () => {
|
|
1770
|
+
_(!1), S(!0);
|
|
1840
1771
|
};
|
|
1841
1772
|
return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
1842
1773
|
/* @__PURE__ */ c.jsxs("header", { className: "debug", children: [
|
|
1843
|
-
|
|
1774
|
+
i === !1 ? /* @__PURE__ */ c.jsx("div", { className: "b", children: "Отмена" }) : /* @__PURE__ */ c.jsx(
|
|
1844
1775
|
"div",
|
|
1845
1776
|
{
|
|
1846
1777
|
onClick: () => {
|
|
1847
|
-
var
|
|
1848
|
-
|
|
1778
|
+
var C;
|
|
1779
|
+
i.page === void 0 ? (C = i.callback) == null || C.call(i) : me.setPage(i.page);
|
|
1849
1780
|
},
|
|
1850
1781
|
className: "b",
|
|
1851
1782
|
children: "Назад"
|
|
1852
1783
|
}
|
|
1853
1784
|
),
|
|
1854
|
-
/* @__PURE__ */ c.jsx("div", { className: "o", onClick: () =>
|
|
1785
|
+
/* @__PURE__ */ c.jsx("div", { className: "o", onClick: () => _(!w), children: "Меню" })
|
|
1855
1786
|
] }),
|
|
1856
|
-
/* @__PURE__ */ c.jsx(
|
|
1857
|
-
|
|
1787
|
+
/* @__PURE__ */ c.jsx(Ze.Init, {}),
|
|
1788
|
+
r && /* @__PURE__ */ c.jsx("div", { className: "mb", children: /* @__PURE__ */ c.jsx(
|
|
1858
1789
|
"button",
|
|
1859
1790
|
{
|
|
1860
1791
|
onClick: () => {
|
|
1861
|
-
|
|
1792
|
+
r.page && me.setPage(r.page), r.callback && r.callback();
|
|
1862
1793
|
},
|
|
1863
|
-
children:
|
|
1794
|
+
children: r.text
|
|
1864
1795
|
}
|
|
1865
1796
|
) }),
|
|
1866
|
-
|
|
1797
|
+
w ? /* @__PURE__ */ c.jsxs("div", { className: "tm", children: [
|
|
1867
1798
|
/* @__PURE__ */ c.jsxs("ul", { children: [
|
|
1868
|
-
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick:
|
|
1799
|
+
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: R, children: "Authorization" }) }),
|
|
1869
1800
|
/* @__PURE__ */ c.jsx("li", {})
|
|
1870
1801
|
] }),
|
|
1871
1802
|
/* @__PURE__ */ c.jsxs("ul", { children: [
|
|
@@ -1875,59 +1806,108 @@ g.Header = ({ dev: n }) => {
|
|
|
1875
1806
|
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
|
|
1876
1807
|
"button",
|
|
1877
1808
|
{
|
|
1878
|
-
onClick: () =>
|
|
1809
|
+
onClick: () => d("dark"),
|
|
1879
1810
|
children: "Dark"
|
|
1880
1811
|
}
|
|
1881
1812
|
) }),
|
|
1882
1813
|
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
|
|
1883
1814
|
"button",
|
|
1884
1815
|
{
|
|
1885
|
-
onClick: () =>
|
|
1816
|
+
onClick: () => d("light"),
|
|
1886
1817
|
children: "Light"
|
|
1887
1818
|
}
|
|
1888
1819
|
) }),
|
|
1889
1820
|
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
|
|
1890
1821
|
"button",
|
|
1891
1822
|
{
|
|
1892
|
-
onClick: () =>
|
|
1823
|
+
onClick: () => d("users"),
|
|
1893
1824
|
children: "Users"
|
|
1894
1825
|
}
|
|
1895
1826
|
) })
|
|
1896
1827
|
] })
|
|
1897
1828
|
] }),
|
|
1898
|
-
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: () =>
|
|
1829
|
+
/* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: () => _(!w), children: "Closed" }) })
|
|
1899
1830
|
] })
|
|
1900
1831
|
] }) : "",
|
|
1901
|
-
|
|
1832
|
+
v ? /* @__PURE__ */ c.jsx(ur, { setAuthorization: S }) : ""
|
|
1902
1833
|
] });
|
|
1903
1834
|
} else
|
|
1904
1835
|
return P.useEffect(() => {
|
|
1905
1836
|
document.documentElement.style.setProperty(
|
|
1906
1837
|
"--tg-theme-secondary-bg-color-alpha",
|
|
1907
|
-
|
|
1838
|
+
re.WebApp.themeParams.secondary_bg_color + "d3"
|
|
1908
1839
|
), document.documentElement.style.setProperty(
|
|
1909
1840
|
"--tg-theme-bg-color-alpha",
|
|
1910
|
-
|
|
1911
|
-
),
|
|
1841
|
+
re.WebApp.themeParams.bg_color + "b3"
|
|
1842
|
+
), re.WebApp.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
|
|
1912
1843
|
"--tg-safe-area-inset-bottom",
|
|
1913
1844
|
"16px"
|
|
1914
1845
|
);
|
|
1915
|
-
}, []), /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx(
|
|
1846
|
+
}, []), /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx(Ze.Init, {}) });
|
|
1916
1847
|
};
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1848
|
+
var re;
|
|
1849
|
+
((r) => {
|
|
1850
|
+
r.WebApp = window.Telegram.WebApp, r.getUser = () => {
|
|
1851
|
+
var o;
|
|
1852
|
+
return ((o = r.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
|
|
1853
|
+
}, r.Notice = (o, i, f) => {
|
|
1854
|
+
var y, b;
|
|
1855
|
+
i !== void 0 ? (Ze.Send({ type: o, text: i, thema: f }), (y = r.WebApp.HapticFeedback) == null || y.notificationOccurred(o)) : (Ze.Send(o), (b = r.WebApp.HapticFeedback) == null || b.notificationOccurred(o.type));
|
|
1856
|
+
}, r.Header = sr, r.Footer = ir, r.toggleFooterMenu = tr, r.Modal = jt, r.MainButton = {
|
|
1857
|
+
callback: [],
|
|
1858
|
+
set: (o) => {
|
|
1859
|
+
ye.is ? ye.MainButton.set(o) : (r.WebApp.MainButton.callback.forEach((i) => {
|
|
1860
|
+
r.WebApp.MainButton.offClick(i);
|
|
1861
|
+
}), r.WebApp.MainButton.callback = [], typeof o == "boolean" ? r.WebApp.MainButton.isVisible = !1 : (r.WebApp.MainButton.text = o.text, o.color && (r.WebApp.MainButton.color = o.color), o.textColor && (r.WebApp.MainButton.textColor = o.textColor), r.WebApp.MainButton.isVisible = !0, r.WebApp.MainButton.isActive = o.isActive === void 0 ? !0 : o.isActive, r.WebApp.MainButton.callback.push(() => {
|
|
1862
|
+
var i;
|
|
1863
|
+
o.page === void 0 ? (i = o.callback) == null || i.call(o) : me.setPage(o.page);
|
|
1864
|
+
}), r.WebApp.MainButton.onClick(
|
|
1865
|
+
r.WebApp.MainButton.callback[0]
|
|
1866
|
+
)));
|
|
1867
|
+
}
|
|
1868
|
+
}, r.BackButton = {
|
|
1869
|
+
state: [!1],
|
|
1870
|
+
listen: [],
|
|
1871
|
+
router: (o) => {
|
|
1872
|
+
o === !1 ? (r.WebApp.BackButton.isVisible = !1, r.WebApp.BackButton.offClick(
|
|
1873
|
+
r.BackButton.listen[0]
|
|
1874
|
+
), r.BackButton.listen.shift(), r.WebApp.BackButton.state.length !== 1 && r.WebApp.BackButton.state.pop()) : (r.WebApp.BackButton.isVisible = !0, r.WebApp.BackButton.offClick(
|
|
1875
|
+
r.BackButton.listen[0]
|
|
1876
|
+
), r.BackButton.listen.shift(), r.BackButton.listen.push(() => {
|
|
1877
|
+
var f;
|
|
1878
|
+
let i = r.WebApp.BackButton.state.pop();
|
|
1879
|
+
i.page !== void 0 ? me.setPage(i.page) : (f = i.callback) == null || f.call(i);
|
|
1880
|
+
}), r.WebApp.BackButton.onClick(
|
|
1881
|
+
r.BackButton.listen[0]
|
|
1882
|
+
));
|
|
1883
|
+
},
|
|
1884
|
+
set: (o) => {
|
|
1885
|
+
ye.is ? ye.BackButton.set(o) : (r.BackButton.state.push(o), r.BackButton.router(o));
|
|
1886
|
+
}
|
|
1887
|
+
};
|
|
1888
|
+
})(re || (re = {}));
|
|
1889
|
+
const ur = ({ setAuthorization: r }) => {
|
|
1890
|
+
let o = {}, i = () => {
|
|
1923
1891
|
localStorage.setItem("auth", o);
|
|
1924
1892
|
};
|
|
1925
1893
|
return /* @__PURE__ */ c.jsx("div", { className: "ta", children: /* @__PURE__ */ c.jsxs("div", { className: "--body", children: [
|
|
1926
1894
|
/* @__PURE__ */ c.jsx("fieldset", {}),
|
|
1927
|
-
/* @__PURE__ */ c.jsx("div", { onClick:
|
|
1895
|
+
/* @__PURE__ */ c.jsx("div", { onClick: i, children: " Сохранить " })
|
|
1928
1896
|
] }) });
|
|
1929
|
-
}
|
|
1897
|
+
}, {
|
|
1898
|
+
Header: cr,
|
|
1899
|
+
Footer: fr,
|
|
1900
|
+
toggleFooterMenu: dr,
|
|
1901
|
+
Modal: pr,
|
|
1902
|
+
MainButton: vr,
|
|
1903
|
+
BackButton: yr
|
|
1904
|
+
} = re;
|
|
1930
1905
|
export {
|
|
1931
|
-
|
|
1932
|
-
|
|
1906
|
+
yr as BackButton,
|
|
1907
|
+
fr as Footer,
|
|
1908
|
+
cr as Header,
|
|
1909
|
+
vr as MainButton,
|
|
1910
|
+
pr as Modal,
|
|
1911
|
+
re as default,
|
|
1912
|
+
dr as toggleFooterMenu
|
|
1933
1913
|
};
|