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