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