elcrm 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +284 -277
- package/dist/index.umd.js +9 -9
- package/dist/lib/Store/Store.d.ts +2 -0
- package/dist/lib/Store/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
import C from "react";
|
|
3
|
-
var
|
|
3
|
+
var le = { exports: {} }, V = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -11,20 +11,20 @@ var ce = { exports: {} }, V = {};
|
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
var ze;
|
|
14
|
-
function
|
|
14
|
+
function St() {
|
|
15
15
|
if (ze)
|
|
16
16
|
return V;
|
|
17
17
|
ze = 1;
|
|
18
18
|
var t = C, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
-
function A(R, x,
|
|
20
|
-
var g, b = {},
|
|
21
|
-
|
|
19
|
+
function A(R, x, I) {
|
|
20
|
+
var g, b = {}, w = null, J = null;
|
|
21
|
+
I !== void 0 && (w = "" + I), x.key !== void 0 && (w = "" + x.key), x.ref !== void 0 && (J = x.ref);
|
|
22
22
|
for (g in x)
|
|
23
23
|
i.call(x, g) && !p.hasOwnProperty(g) && (b[g] = x[g]);
|
|
24
24
|
if (R && R.defaultProps)
|
|
25
25
|
for (g in x = R.defaultProps, x)
|
|
26
26
|
b[g] === void 0 && (b[g] = x[g]);
|
|
27
|
-
return { $$typeof: n, type: R, key:
|
|
27
|
+
return { $$typeof: n, type: R, key: w, ref: J, props: b, _owner: v.current };
|
|
28
28
|
}
|
|
29
29
|
return V.Fragment = a, V.jsx = A, V.jsxs = A, V;
|
|
30
30
|
}
|
|
@@ -39,13 +39,13 @@ var B = {};
|
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
41
|
var Ne;
|
|
42
|
-
function
|
|
42
|
+
function Et() {
|
|
43
43
|
return Ne || (Ne = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var t = C, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), A = Symbol.for("react.provider"), R = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"),
|
|
45
|
-
function
|
|
44
|
+
var t = C, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), A = Symbol.for("react.provider"), R = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), J = Symbol.for("react.offscreen"), ue = Symbol.iterator, Ue = "@@iterator";
|
|
45
|
+
function Ve(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var s = ue && e[ue] || e[
|
|
48
|
+
var s = ue && e[ue] || e[Ue];
|
|
49
49
|
return typeof s == "function" ? s : null;
|
|
50
50
|
}
|
|
51
51
|
var F = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -53,10 +53,10 @@ function St() {
|
|
|
53
53
|
{
|
|
54
54
|
for (var s = arguments.length, o = new Array(s > 1 ? s - 1 : 0), c = 1; c < s; c++)
|
|
55
55
|
o[c - 1] = arguments[c];
|
|
56
|
-
|
|
56
|
+
Be("error", e, o);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Be(e, s, o) {
|
|
60
60
|
{
|
|
61
61
|
var c = F.ReactDebugCurrentFrame, d = c.getStackAddendum();
|
|
62
62
|
d !== "" && (s += "%s", o = o.concat([d]));
|
|
@@ -66,16 +66,16 @@ function St() {
|
|
|
66
66
|
_.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, _);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var
|
|
69
|
+
var qe = !1, He = !1, Je = !1, Ge = !1, Ze = !1, fe;
|
|
70
70
|
fe = Symbol.for("react.module.reference");
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === p ||
|
|
71
|
+
function Ke(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === p || Ze || e === v || e === I || e === g || Ge || e === J || qe || He || Je || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === b || e.$$typeof === A || e.$$typeof === R || e.$$typeof === x || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
76
|
e.$$typeof === fe || e.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Xe(e, s, o) {
|
|
79
79
|
var c = e.displayName;
|
|
80
80
|
if (c)
|
|
81
81
|
return c;
|
|
@@ -85,7 +85,7 @@ function St() {
|
|
|
85
85
|
function de(e) {
|
|
86
86
|
return e.displayName || "Context";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function T(e) {
|
|
89
89
|
if (e == null)
|
|
90
90
|
return null;
|
|
91
91
|
if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -101,7 +101,7 @@ function St() {
|
|
|
101
101
|
return "Profiler";
|
|
102
102
|
case v:
|
|
103
103
|
return "StrictMode";
|
|
104
|
-
case
|
|
104
|
+
case I:
|
|
105
105
|
return "Suspense";
|
|
106
106
|
case g:
|
|
107
107
|
return "SuspenseList";
|
|
@@ -115,14 +115,14 @@ function St() {
|
|
|
115
115
|
var o = e;
|
|
116
116
|
return de(o._context) + ".Provider";
|
|
117
117
|
case x:
|
|
118
|
-
return
|
|
118
|
+
return Xe(e, e.render, "ForwardRef");
|
|
119
119
|
case b:
|
|
120
120
|
var c = e.displayName || null;
|
|
121
|
-
return c !== null ? c :
|
|
122
|
-
case
|
|
121
|
+
return c !== null ? c : T(e.type) || "Memo";
|
|
122
|
+
case w: {
|
|
123
123
|
var d = e, _ = d._payload, f = d._init;
|
|
124
124
|
try {
|
|
125
|
-
return
|
|
125
|
+
return T(f(_));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -134,7 +134,7 @@ function St() {
|
|
|
134
134
|
function be() {
|
|
135
135
|
}
|
|
136
136
|
be.__reactDisabledLog = !0;
|
|
137
|
-
function
|
|
137
|
+
function Qe() {
|
|
138
138
|
{
|
|
139
139
|
if (Y === 0) {
|
|
140
140
|
_e = console.log, me = console.info, ve = console.warn, he = console.error, xe = console.group, pe = console.groupCollapsed, ge = console.groupEnd;
|
|
@@ -157,7 +157,7 @@ function St() {
|
|
|
157
157
|
Y++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function et() {
|
|
161
161
|
{
|
|
162
162
|
if (Y--, Y === 0) {
|
|
163
163
|
var e = {
|
|
@@ -192,27 +192,27 @@ function St() {
|
|
|
192
192
|
Y < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var
|
|
195
|
+
var te = F.ReactCurrentDispatcher, re;
|
|
196
196
|
function G(e, s, o) {
|
|
197
197
|
{
|
|
198
|
-
if (
|
|
198
|
+
if (re === void 0)
|
|
199
199
|
try {
|
|
200
200
|
throw Error();
|
|
201
201
|
} catch (d) {
|
|
202
202
|
var c = d.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
-
|
|
203
|
+
re = c && c[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
206
|
-
` +
|
|
206
|
+
` + re + e;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var ne = !1, Z;
|
|
210
210
|
{
|
|
211
|
-
var
|
|
212
|
-
Z = new
|
|
211
|
+
var tt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
Z = new tt();
|
|
213
213
|
}
|
|
214
214
|
function je(e, s) {
|
|
215
|
-
if (!e ||
|
|
215
|
+
if (!e || ne)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
218
|
var o = Z.get(e);
|
|
@@ -220,11 +220,11 @@ function St() {
|
|
|
220
220
|
return o;
|
|
221
221
|
}
|
|
222
222
|
var c;
|
|
223
|
-
|
|
223
|
+
ne = !0;
|
|
224
224
|
var d = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
226
|
var _;
|
|
227
|
-
_ =
|
|
227
|
+
_ = te.current, te.current = null, Qe();
|
|
228
228
|
try {
|
|
229
229
|
if (s) {
|
|
230
230
|
var f = function() {
|
|
@@ -237,29 +237,29 @@ function St() {
|
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
239
|
Reflect.construct(f, []);
|
|
240
|
-
} catch (
|
|
241
|
-
c =
|
|
240
|
+
} catch (P) {
|
|
241
|
+
c = P;
|
|
242
242
|
}
|
|
243
243
|
Reflect.construct(e, [], f);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
246
|
f.call();
|
|
247
|
-
} catch (
|
|
248
|
-
c =
|
|
247
|
+
} catch (P) {
|
|
248
|
+
c = P;
|
|
249
249
|
}
|
|
250
250
|
e.call(f.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
c =
|
|
255
|
+
} catch (P) {
|
|
256
|
+
c = P;
|
|
257
257
|
}
|
|
258
258
|
e();
|
|
259
259
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var u =
|
|
260
|
+
} catch (P) {
|
|
261
|
+
if (P && c && typeof P.stack == "string") {
|
|
262
|
+
for (var u = P.stack.split(`
|
|
263
263
|
`), y = c.stack.split(`
|
|
264
264
|
`), m = u.length - 1, h = y.length - 1; m >= 1 && h >= 0 && u[m] !== y[h]; )
|
|
265
265
|
h--;
|
|
@@ -277,15 +277,15 @@ function St() {
|
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
|
|
280
|
+
ne = !1, te.current = _, et(), Error.prepareStackTrace = d;
|
|
281
281
|
}
|
|
282
282
|
var L = e ? e.displayName || e.name : "", Ae = L ? G(L) : "";
|
|
283
283
|
return typeof e == "function" && Z.set(e, Ae), Ae;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function rt(e, s, o) {
|
|
286
286
|
return je(e, !1);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function nt(e) {
|
|
289
289
|
var s = e.prototype;
|
|
290
290
|
return !!(s && s.isReactComponent);
|
|
291
291
|
}
|
|
@@ -293,11 +293,11 @@ function St() {
|
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
296
|
-
return je(e,
|
|
296
|
+
return je(e, nt(e));
|
|
297
297
|
if (typeof e == "string")
|
|
298
298
|
return G(e);
|
|
299
299
|
switch (e) {
|
|
300
|
-
case
|
|
300
|
+
case I:
|
|
301
301
|
return G("Suspense");
|
|
302
302
|
case g:
|
|
303
303
|
return G("SuspenseList");
|
|
@@ -305,10 +305,10 @@ function St() {
|
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
307
|
case x:
|
|
308
|
-
return
|
|
308
|
+
return rt(e.render);
|
|
309
309
|
case b:
|
|
310
310
|
return K(e.type, s, o);
|
|
311
|
-
case
|
|
311
|
+
case w: {
|
|
312
312
|
var c = e, d = c._payload, _ = c._init;
|
|
313
313
|
try {
|
|
314
314
|
return K(_(d), s, o);
|
|
@@ -326,7 +326,7 @@ function St() {
|
|
|
326
326
|
} else
|
|
327
327
|
Ce.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function st(e, s, o, c, d) {
|
|
330
330
|
{
|
|
331
331
|
var _ = Function.call.bind(X);
|
|
332
332
|
for (var f in e)
|
|
@@ -345,17 +345,17 @@ function St() {
|
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
return
|
|
348
|
+
var at = Array.isArray;
|
|
349
|
+
function se(e) {
|
|
350
|
+
return at(e);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function ot(e) {
|
|
353
353
|
{
|
|
354
354
|
var s = typeof Symbol == "function" && Symbol.toStringTag, o = s && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
355
|
return o;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function it(e) {
|
|
359
359
|
try {
|
|
360
360
|
return Se(e), !1;
|
|
361
361
|
} catch {
|
|
@@ -366,17 +366,17 @@ function St() {
|
|
|
366
366
|
return "" + e;
|
|
367
367
|
}
|
|
368
368
|
function Ee(e) {
|
|
369
|
-
if (
|
|
370
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
369
|
+
if (it(e))
|
|
370
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ot(e)), Se(e);
|
|
371
371
|
}
|
|
372
|
-
var U = F.ReactCurrentOwner,
|
|
372
|
+
var U = F.ReactCurrentOwner, ct = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
|
-
}, Re, ke,
|
|
378
|
-
|
|
379
|
-
function
|
|
377
|
+
}, Re, ke, ae;
|
|
378
|
+
ae = {};
|
|
379
|
+
function lt(e) {
|
|
380
380
|
if (X.call(e, "ref")) {
|
|
381
381
|
var s = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
382
|
if (s && s.isReactWarning)
|
|
@@ -384,7 +384,7 @@ function St() {
|
|
|
384
384
|
}
|
|
385
385
|
return e.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function ut(e) {
|
|
388
388
|
if (X.call(e, "key")) {
|
|
389
389
|
var s = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
390
|
if (s && s.isReactWarning)
|
|
@@ -392,13 +392,13 @@ function St() {
|
|
|
392
392
|
}
|
|
393
393
|
return e.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function ft(e, s) {
|
|
396
396
|
if (typeof e.ref == "string" && U.current && s && U.current.stateNode !== s) {
|
|
397
|
-
var o =
|
|
398
|
-
|
|
397
|
+
var o = T(U.current.type);
|
|
398
|
+
ae[o] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(U.current.type), e.ref), ae[o] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function dt(e, s) {
|
|
402
402
|
{
|
|
403
403
|
var o = function() {
|
|
404
404
|
Re || (Re = !0, j("%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)", s));
|
|
@@ -409,7 +409,7 @@ function St() {
|
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function _t(e, s) {
|
|
413
413
|
{
|
|
414
414
|
var o = function() {
|
|
415
415
|
ke || (ke = !0, j("%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)", s));
|
|
@@ -420,7 +420,7 @@ function St() {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var
|
|
423
|
+
var mt = function(e, s, o, c, d, _, f) {
|
|
424
424
|
var u = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: n,
|
|
@@ -449,12 +449,12 @@ function St() {
|
|
|
449
449
|
value: d
|
|
450
450
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
451
451
|
};
|
|
452
|
-
function
|
|
452
|
+
function vt(e, s, o, c, d) {
|
|
453
453
|
{
|
|
454
454
|
var _, f = {}, u = null, y = null;
|
|
455
|
-
o !== void 0 && (Ee(o), u = "" + o),
|
|
455
|
+
o !== void 0 && (Ee(o), u = "" + o), ut(s) && (Ee(s.key), u = "" + s.key), lt(s) && (y = s.ref, ft(s, d));
|
|
456
456
|
for (_ in s)
|
|
457
|
-
X.call(s, _) && !
|
|
457
|
+
X.call(s, _) && !ct.hasOwnProperty(_) && (f[_] = s[_]);
|
|
458
458
|
if (e && e.defaultProps) {
|
|
459
459
|
var m = e.defaultProps;
|
|
460
460
|
for (_ in m)
|
|
@@ -462,12 +462,12 @@ function St() {
|
|
|
462
462
|
}
|
|
463
463
|
if (u || y) {
|
|
464
464
|
var h = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
-
u &&
|
|
465
|
+
u && dt(f, h), y && _t(f, h);
|
|
466
466
|
}
|
|
467
|
-
return
|
|
467
|
+
return mt(e, u, y, d, c, U.current, f);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var
|
|
470
|
+
var oe = F.ReactCurrentOwner, we = F.ReactDebugCurrentFrame;
|
|
471
471
|
function M(e) {
|
|
472
472
|
if (e) {
|
|
473
473
|
var s = e._owner, o = K(e.type, e._source, s ? s.type : null);
|
|
@@ -475,15 +475,15 @@ function St() {
|
|
|
475
475
|
} else
|
|
476
476
|
we.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
478
|
-
var
|
|
479
|
-
|
|
480
|
-
function
|
|
478
|
+
var ie;
|
|
479
|
+
ie = !1;
|
|
480
|
+
function ce(e) {
|
|
481
481
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
482
482
|
}
|
|
483
483
|
function Te() {
|
|
484
484
|
{
|
|
485
|
-
if (
|
|
486
|
-
var e =
|
|
485
|
+
if (oe.current) {
|
|
486
|
+
var e = T(oe.current.type);
|
|
487
487
|
if (e)
|
|
488
488
|
return `
|
|
489
489
|
|
|
@@ -492,7 +492,7 @@ Check the render method of \`` + e + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function ht(e) {
|
|
496
496
|
{
|
|
497
497
|
if (e !== void 0) {
|
|
498
498
|
var s = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
|
|
@@ -504,7 +504,7 @@ Check your code at ` + s + ":" + o + ".";
|
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
var Pe = {};
|
|
507
|
-
function
|
|
507
|
+
function xt(e) {
|
|
508
508
|
{
|
|
509
509
|
var s = Te();
|
|
510
510
|
if (!s) {
|
|
@@ -521,34 +521,34 @@ Check the top-level render call using <` + o + ">.");
|
|
|
521
521
|
if (!e._store || e._store.validated || e.key != null)
|
|
522
522
|
return;
|
|
523
523
|
e._store.validated = !0;
|
|
524
|
-
var o =
|
|
524
|
+
var o = xt(s);
|
|
525
525
|
if (Pe[o])
|
|
526
526
|
return;
|
|
527
527
|
Pe[o] = !0;
|
|
528
528
|
var c = "";
|
|
529
|
-
e && e._owner && e._owner !==
|
|
529
|
+
e && e._owner && e._owner !== oe.current && (c = " It was passed a child from " + T(e._owner.type) + "."), M(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, c), M(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
function Oe(e, s) {
|
|
533
533
|
{
|
|
534
534
|
if (typeof e != "object")
|
|
535
535
|
return;
|
|
536
|
-
if (
|
|
536
|
+
if (se(e))
|
|
537
537
|
for (var o = 0; o < e.length; o++) {
|
|
538
538
|
var c = e[o];
|
|
539
|
-
|
|
539
|
+
ce(c) && Ie(c, s);
|
|
540
540
|
}
|
|
541
|
-
else if (
|
|
541
|
+
else if (ce(e))
|
|
542
542
|
e._store && (e._store.validated = !0);
|
|
543
543
|
else if (e) {
|
|
544
|
-
var d =
|
|
544
|
+
var d = Ve(e);
|
|
545
545
|
if (typeof d == "function" && d !== e.entries)
|
|
546
546
|
for (var _ = d.call(e), f; !(f = _.next()).done; )
|
|
547
|
-
|
|
547
|
+
ce(f.value) && Ie(f.value, s);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function pt(e) {
|
|
552
552
|
{
|
|
553
553
|
var s = e.type;
|
|
554
554
|
if (s == null || typeof s == "string")
|
|
@@ -563,17 +563,17 @@ Check the top-level render call using <` + o + ">.");
|
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
565
|
if (o) {
|
|
566
|
-
var c =
|
|
567
|
-
|
|
568
|
-
} else if (s.PropTypes !== void 0 && !
|
|
569
|
-
|
|
570
|
-
var d =
|
|
566
|
+
var c = T(s);
|
|
567
|
+
st(o, e.props, "prop", c, e);
|
|
568
|
+
} else if (s.PropTypes !== void 0 && !ie) {
|
|
569
|
+
ie = !0;
|
|
570
|
+
var d = T(s);
|
|
571
571
|
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
572
572
|
}
|
|
573
573
|
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function gt(e) {
|
|
577
577
|
{
|
|
578
578
|
for (var s = Object.keys(e.props), o = 0; o < s.length; o++) {
|
|
579
579
|
var c = s[o];
|
|
@@ -587,23 +587,23 @@ Check the top-level render call using <` + o + ">.");
|
|
|
587
587
|
}
|
|
588
588
|
function $e(e, s, o, c, d, _) {
|
|
589
589
|
{
|
|
590
|
-
var f =
|
|
590
|
+
var f = Ke(e);
|
|
591
591
|
if (!f) {
|
|
592
592
|
var u = "";
|
|
593
593
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
594
|
-
var y =
|
|
594
|
+
var y = ht(d);
|
|
595
595
|
y ? u += y : u += Te();
|
|
596
596
|
var m;
|
|
597
|
-
e === null ? m = "null" :
|
|
597
|
+
e === null ? m = "null" : se(e) ? m = "array" : e !== void 0 && e.$$typeof === n ? (m = "<" + (T(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : m = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, u);
|
|
598
598
|
}
|
|
599
|
-
var h =
|
|
599
|
+
var h = vt(e, s, o, d, _);
|
|
600
600
|
if (h == null)
|
|
601
601
|
return h;
|
|
602
602
|
if (f) {
|
|
603
603
|
var S = s.children;
|
|
604
604
|
if (S !== void 0)
|
|
605
605
|
if (c)
|
|
606
|
-
if (
|
|
606
|
+
if (se(S)) {
|
|
607
607
|
for (var L = 0; L < S.length; L++)
|
|
608
608
|
Oe(S[L], e);
|
|
609
609
|
Object.freeze && Object.freeze(S);
|
|
@@ -612,38 +612,38 @@ Check the top-level render call using <` + o + ">.");
|
|
|
612
612
|
else
|
|
613
613
|
Oe(S, e);
|
|
614
614
|
}
|
|
615
|
-
return e === i ?
|
|
615
|
+
return e === i ? gt(h) : pt(h), h;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function bt(e, s, o) {
|
|
619
619
|
return $e(e, s, o, !0);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function jt(e, s, o) {
|
|
622
622
|
return $e(e, s, o, !1);
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
B.Fragment = i, B.jsx =
|
|
624
|
+
var yt = jt, Ct = bt;
|
|
625
|
+
B.Fragment = i, B.jsx = yt, B.jsxs = Ct;
|
|
626
626
|
}()), B;
|
|
627
627
|
}
|
|
628
|
-
process.env.NODE_ENV === "production" ?
|
|
629
|
-
var r =
|
|
630
|
-
const
|
|
631
|
-
notice:
|
|
632
|
-
error:
|
|
633
|
-
success:
|
|
634
|
-
remark:
|
|
635
|
-
copy:
|
|
628
|
+
process.env.NODE_ENV === "production" ? le.exports = St() : le.exports = Et();
|
|
629
|
+
var r = le.exports;
|
|
630
|
+
const Rt = "_notice_820sc_2", kt = "_error_820sc_9", wt = "_success_820sc_12", Tt = "_remark_820sc_15", Pt = "_copy_820sc_18", It = {
|
|
631
|
+
notice: Rt,
|
|
632
|
+
error: kt,
|
|
633
|
+
success: wt,
|
|
634
|
+
remark: Tt,
|
|
635
|
+
copy: Pt,
|
|
636
636
|
"show-notice": "_show-notice_820sc_1",
|
|
637
637
|
"hide-notice": "_hide-notice_820sc_1"
|
|
638
638
|
};
|
|
639
|
-
let
|
|
640
|
-
function
|
|
639
|
+
let $ = {};
|
|
640
|
+
function Ot() {
|
|
641
641
|
let [t, n] = C.useState([]);
|
|
642
|
-
return
|
|
642
|
+
return $.set = (a) => {
|
|
643
643
|
n([...t, a]);
|
|
644
|
-
},
|
|
644
|
+
}, $.del = (a) => {
|
|
645
645
|
n(t.filter((i) => i.key !== a));
|
|
646
|
-
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className:
|
|
646
|
+
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: It.notice, children: t.map((a) => a.item) });
|
|
647
647
|
}
|
|
648
648
|
function H({ data: t }) {
|
|
649
649
|
let [n, a] = C.useState("show");
|
|
@@ -651,7 +651,7 @@ function H({ data: t }) {
|
|
|
651
651
|
setTimeout(function() {
|
|
652
652
|
a("hide");
|
|
653
653
|
}, 1800), setTimeout(function() {
|
|
654
|
-
|
|
654
|
+
$.del(t.key);
|
|
655
655
|
}, 2500);
|
|
656
656
|
}, [t.key]);
|
|
657
657
|
let i, v;
|
|
@@ -678,25 +678,25 @@ function H({ data: t }) {
|
|
|
678
678
|
/* @__PURE__ */ r.jsx("p", { children: t.text })
|
|
679
679
|
] });
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function $t(t) {
|
|
682
682
|
let n = Date.now(), a = { key: n, ...t };
|
|
683
|
-
|
|
683
|
+
$.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function At(t) {
|
|
686
686
|
let n = Date.now(), a = { key: n, text: t, type: "error" };
|
|
687
|
-
|
|
687
|
+
$.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function zt(t) {
|
|
690
690
|
let n = Date.now(), a = { key: n, text: t, type: "success" };
|
|
691
|
-
|
|
691
|
+
$.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
692
692
|
}
|
|
693
|
-
function
|
|
693
|
+
function Nt(t) {
|
|
694
694
|
let n = Date.now(), a = { key: n, text: t, type: "remark" };
|
|
695
|
-
|
|
695
|
+
$.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function Dt(t) {
|
|
698
698
|
let n = Date.now(), a = { key: n, text: t, type: "copy" };
|
|
699
|
-
|
|
699
|
+
$.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
700
700
|
}
|
|
701
701
|
const N = {};
|
|
702
702
|
N.error = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -731,20 +731,20 @@ N.success = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "n
|
|
|
731
731
|
}
|
|
732
732
|
)
|
|
733
733
|
] });
|
|
734
|
-
const
|
|
735
|
-
alerts:
|
|
736
|
-
menuAnimation:
|
|
737
|
-
menuItemAnimation:
|
|
734
|
+
const Ft = "_alerts_1e9y0_1", Mt = "_menuAnimation_1e9y0_1", Lt = "_menuItemAnimation_1e9y0_1", Wt = "_allert_1e9y0_111", Yt = {
|
|
735
|
+
alerts: Ft,
|
|
736
|
+
menuAnimation: Mt,
|
|
737
|
+
menuItemAnimation: Lt,
|
|
738
738
|
"--body": "_--body_1e9y0_103",
|
|
739
|
-
allert:
|
|
739
|
+
allert: Wt,
|
|
740
740
|
"--form": "_--form_1e9y0_111"
|
|
741
741
|
};
|
|
742
742
|
let q = {};
|
|
743
|
-
function
|
|
743
|
+
function Ut() {
|
|
744
744
|
let [t, n] = C.useState("");
|
|
745
745
|
return q.set = (a) => n(a), q.del = () => n(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
|
|
746
746
|
}
|
|
747
|
-
const
|
|
747
|
+
const Vt = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Yt.alerts, children: [
|
|
748
748
|
/* @__PURE__ */ r.jsxs("dl", { children: [
|
|
749
749
|
/* @__PURE__ */ r.jsx("dt", { children: t.title }),
|
|
750
750
|
/* @__PURE__ */ r.jsx("dd", { children: t.text }),
|
|
@@ -761,16 +761,16 @@ const Ut = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "По
|
|
|
761
761
|
] }),
|
|
762
762
|
/* @__PURE__ */ r.jsx("div", { className: "--body", onClick: q.del })
|
|
763
763
|
] }));
|
|
764
|
-
function
|
|
765
|
-
q.set(/* @__PURE__ */ r.jsx(
|
|
764
|
+
function Bt(t, n) {
|
|
765
|
+
q.set(/* @__PURE__ */ r.jsx(Vt, { data: t, callback: n }));
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function qt({ children: t }) {
|
|
768
768
|
return /* @__PURE__ */ r.jsx("div", { className: "l", children: /* @__PURE__ */ r.jsx("ul", { children: t }) });
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function Ht({ children: t }) {
|
|
771
771
|
return /* @__PURE__ */ r.jsx("div", { className: "s", children: t });
|
|
772
772
|
}
|
|
773
|
-
const
|
|
773
|
+
const Jt = ({
|
|
774
774
|
children: t,
|
|
775
775
|
disabled: n,
|
|
776
776
|
label: a,
|
|
@@ -780,45 +780,45 @@ const Ht = ({
|
|
|
780
780
|
n || i && i(p);
|
|
781
781
|
};
|
|
782
782
|
return /* @__PURE__ */ r.jsx("button", { disabled: n, onClick: v, children: a });
|
|
783
|
-
},
|
|
784
|
-
white:
|
|
785
|
-
black:
|
|
786
|
-
shake:
|
|
787
|
-
modal:
|
|
788
|
-
o:
|
|
789
|
-
w:
|
|
790
|
-
h:
|
|
791
|
-
l:
|
|
792
|
-
t:
|
|
793
|
-
m:
|
|
794
|
-
x:
|
|
795
|
-
s:
|
|
796
|
-
c:
|
|
797
|
-
f:
|
|
798
|
-
btn:
|
|
799
|
-
g:
|
|
783
|
+
}, Gt = "_white_6ax6z_14", Zt = "_black_6ax6z_26", Kt = "_shake_6ax6z_1", Xt = "_modal_6ax6z_73", Qt = "_o_6ax6z_83", er = "_w_6ax6z_14", tr = "_h_6ax6z_106", rr = "_l_6ax6z_120", nr = "_t_6ax6z_158", sr = "_m_6ax6z_73", ar = "_x_6ax6z_166", or = "_s_6ax6z_176", ir = "_c_6ax6z_181", cr = "_f_6ax6z_186", lr = "_btn_6ax6z_229", ur = "_g_6ax6z_242", fr = "_confirm_6ax6z_320", dr = "_cancel_6ax6z_325", _r = "_disabled_6ax6z_330", mr = "_active_6ax6z_387", vr = "_coincidence_6ax6z_393", O = {
|
|
784
|
+
white: Gt,
|
|
785
|
+
black: Zt,
|
|
786
|
+
shake: Kt,
|
|
787
|
+
modal: Xt,
|
|
788
|
+
o: Qt,
|
|
789
|
+
w: er,
|
|
790
|
+
h: tr,
|
|
791
|
+
l: rr,
|
|
792
|
+
t: nr,
|
|
793
|
+
m: sr,
|
|
794
|
+
x: ar,
|
|
795
|
+
s: or,
|
|
796
|
+
c: ir,
|
|
797
|
+
f: cr,
|
|
798
|
+
btn: lr,
|
|
799
|
+
g: ur,
|
|
800
800
|
"size-a": "_size-a_6ax6z_294",
|
|
801
801
|
"size-s": "_size-s_6ax6z_298",
|
|
802
802
|
"size-m": "_size-m_6ax6z_302",
|
|
803
803
|
"size-l": "_size-l_6ax6z_306",
|
|
804
804
|
"size-x": "_size-x_6ax6z_310",
|
|
805
805
|
"size-f": "_size-f_6ax6z_314",
|
|
806
|
-
confirm:
|
|
807
|
-
cancel:
|
|
808
|
-
disabled:
|
|
806
|
+
confirm: fr,
|
|
807
|
+
cancel: dr,
|
|
808
|
+
disabled: _r,
|
|
809
809
|
await: "_await_6ax6z_337",
|
|
810
|
-
active:
|
|
811
|
-
coincidence:
|
|
810
|
+
active: mr,
|
|
811
|
+
coincidence: vr
|
|
812
812
|
};
|
|
813
813
|
let W = {};
|
|
814
|
-
const
|
|
814
|
+
const hr = ({ config: t }) => {
|
|
815
815
|
let [n, a] = C.useState([]);
|
|
816
816
|
return W.x = () => {
|
|
817
817
|
a([]);
|
|
818
818
|
}, W.config = t, W.add = (i) => {
|
|
819
819
|
a([...n, i]);
|
|
820
820
|
}, /* @__PURE__ */ r.jsx(r.Fragment, { children: n.map((i) => i) });
|
|
821
|
-
},
|
|
821
|
+
}, xr = ({
|
|
822
822
|
children: t,
|
|
823
823
|
title: n,
|
|
824
824
|
button: a,
|
|
@@ -826,7 +826,7 @@ const vr = ({ config: t }) => {
|
|
|
826
826
|
size: v = "m",
|
|
827
827
|
menu: p
|
|
828
828
|
}) => {
|
|
829
|
-
const [A, R] = C.useState(!0), x = C.useRef(),
|
|
829
|
+
const [A, R] = C.useState(!0), x = C.useRef(), I = (b) => {
|
|
830
830
|
if (a && a.onClick)
|
|
831
831
|
return a.onClick({ closed: R, disabled: b });
|
|
832
832
|
}, g = () => {
|
|
@@ -837,28 +837,28 @@ const vr = ({ config: t }) => {
|
|
|
837
837
|
return /* @__PURE__ */ r.jsx(r.Fragment, { children: A ? /* @__PURE__ */ r.jsxs(
|
|
838
838
|
"div",
|
|
839
839
|
{
|
|
840
|
-
className: `${
|
|
840
|
+
className: `${O.modal} ${O.white}`,
|
|
841
841
|
children: [
|
|
842
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
843
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
844
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
845
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
846
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
847
|
-
i && /* @__PURE__ */ r.jsx("nav", { children: i.map((b,
|
|
842
|
+
/* @__PURE__ */ r.jsx("div", { className: O.o, onClick: g }),
|
|
843
|
+
/* @__PURE__ */ r.jsxs("div", { className: O.w, ref: x, children: [
|
|
844
|
+
/* @__PURE__ */ r.jsxs("div", { className: O.h, children: [
|
|
845
|
+
/* @__PURE__ */ r.jsx("div", { className: O.t, children: n }),
|
|
846
|
+
/* @__PURE__ */ r.jsxs("div", { className: O.m, children: [
|
|
847
|
+
i && /* @__PURE__ */ r.jsx("nav", { children: i.map((b, w) => /* @__PURE__ */ r.jsx(
|
|
848
848
|
"span",
|
|
849
849
|
{
|
|
850
850
|
onClick: b.onClick,
|
|
851
851
|
className: b.active ? "active" : "",
|
|
852
852
|
children: b.name
|
|
853
853
|
},
|
|
854
|
-
|
|
854
|
+
w
|
|
855
855
|
)) }),
|
|
856
856
|
p
|
|
857
857
|
] }),
|
|
858
858
|
/* @__PURE__ */ r.jsx(
|
|
859
859
|
"div",
|
|
860
860
|
{
|
|
861
|
-
className:
|
|
861
|
+
className: O.x,
|
|
862
862
|
onClick: () => {
|
|
863
863
|
R(!1);
|
|
864
864
|
},
|
|
@@ -868,32 +868,32 @@ const vr = ({ config: t }) => {
|
|
|
868
868
|
] }),
|
|
869
869
|
t,
|
|
870
870
|
a !== void 0 ? /* @__PURE__ */ r.jsx(
|
|
871
|
-
|
|
871
|
+
Jt,
|
|
872
872
|
{
|
|
873
873
|
label: String(a.name),
|
|
874
|
-
onClick:
|
|
874
|
+
onClick: I
|
|
875
875
|
}
|
|
876
876
|
) : ""
|
|
877
877
|
] })
|
|
878
878
|
]
|
|
879
879
|
}
|
|
880
880
|
) : "" });
|
|
881
|
-
},
|
|
882
|
-
W.add(/* @__PURE__ */ r.jsx(
|
|
883
|
-
},
|
|
881
|
+
}, pr = (t) => {
|
|
882
|
+
W.add(/* @__PURE__ */ r.jsx(gr, { children: t }, String(Date.now())));
|
|
883
|
+
}, gr = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), br = ({ type: t, name: n, params: a }) => {
|
|
884
884
|
let [i, v] = C.useState(null);
|
|
885
885
|
return C.useEffect(() => {
|
|
886
886
|
W.config(t, n, a, v);
|
|
887
887
|
}, [a.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: i });
|
|
888
|
-
},
|
|
888
|
+
}, jr = (t, n, a) => {
|
|
889
889
|
W.config(t, n, a);
|
|
890
|
-
},
|
|
891
|
-
let
|
|
892
|
-
const l = {}, E = {};
|
|
893
|
-
function
|
|
894
|
-
if (
|
|
890
|
+
}, yr = { List: qt, Scroll: Ht, Init: hr, Main: xr, Add: pr, Icon: br, Open: jr };
|
|
891
|
+
let k = {};
|
|
892
|
+
const l = {}, E = {}, De = {};
|
|
893
|
+
function Cr(t, n) {
|
|
894
|
+
if (k = t, localStorage.getItem("ssid")) {
|
|
895
895
|
let i = sessionStorage.getItem("page");
|
|
896
|
-
i ? (i =
|
|
896
|
+
i ? (i = k.deCode(i), l.id = i.id, l.tab = i.tab, l.page = i.page, l.module = i.module, l.time = i.time, l.payment = { active: !0 }, l.module_admin = i.module_admin) : (l.id = 0, l.tab = "", l.page = "Main", l.module = l.module || "M05");
|
|
897
897
|
} else
|
|
898
898
|
[
|
|
899
899
|
"ssid",
|
|
@@ -911,7 +911,7 @@ function yr(t, n) {
|
|
|
911
911
|
].forEach((i) => localStorage.removeItem(i)), ["page"].forEach((i) => sessionStorage.removeItem(i)), l.id = 0, l.tab = "", l.page = "Auth", l.module = "M00";
|
|
912
912
|
return n;
|
|
913
913
|
}
|
|
914
|
-
function
|
|
914
|
+
function ee() {
|
|
915
915
|
[
|
|
916
916
|
"ssid",
|
|
917
917
|
"menu",
|
|
@@ -927,10 +927,10 @@ function le() {
|
|
|
927
927
|
"sort"
|
|
928
928
|
].forEach((t) => localStorage.removeItem(t)), ["page"].forEach((t) => sessionStorage.removeItem(t)), window.location.reload();
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function Sr(t) {
|
|
931
931
|
t = t.split("/"), l.page = "Main", l.module = t[0], l.tab = t[1], l.id = 0, sessionStorage.setItem(
|
|
932
932
|
"page",
|
|
933
|
-
|
|
933
|
+
k.enCode({
|
|
934
934
|
module: l.module,
|
|
935
935
|
page: l.page,
|
|
936
936
|
tab: l.tab,
|
|
@@ -939,94 +939,101 @@ function Cr(t) {
|
|
|
939
939
|
})
|
|
940
940
|
), E.page(l.page);
|
|
941
941
|
}
|
|
942
|
-
function
|
|
942
|
+
function Er(t) {
|
|
943
943
|
return localStorage.setItem("ssid", t);
|
|
944
944
|
}
|
|
945
|
-
function
|
|
945
|
+
function Rr() {
|
|
946
946
|
let t = localStorage.getItem("ssid");
|
|
947
|
-
return t !== "" && t !== "undefined" && t !== null ? localStorage.getItem("ssid") : (
|
|
947
|
+
return t !== "" && t !== "undefined" && t !== null ? localStorage.getItem("ssid") : (ee(), !1);
|
|
948
948
|
}
|
|
949
|
-
function
|
|
949
|
+
function kr(t) {
|
|
950
950
|
return localStorage.setItem("auth", t);
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function wr() {
|
|
953
953
|
let t = localStorage.getItem("auth");
|
|
954
|
-
return t !== "" && t !== "undefined" && t !== null ? t : (
|
|
954
|
+
return t !== "" && t !== "undefined" && t !== null ? t : (ee(), !1);
|
|
955
955
|
}
|
|
956
|
-
function
|
|
957
|
-
const [t, n] = C.useState(
|
|
956
|
+
function Tr() {
|
|
957
|
+
const [t, n] = C.useState(We()), a = (i) => {
|
|
958
958
|
n(i);
|
|
959
959
|
};
|
|
960
960
|
return E.page = a, [t];
|
|
961
961
|
}
|
|
962
|
-
function
|
|
963
|
-
l.page = t, sessionStorage.setItem("page",
|
|
962
|
+
function Pr(t) {
|
|
963
|
+
l.page = t, sessionStorage.setItem("page", k.enCode(l)), E.page(t);
|
|
964
964
|
}
|
|
965
|
-
function
|
|
965
|
+
function We() {
|
|
966
966
|
return l.page;
|
|
967
967
|
}
|
|
968
|
-
function
|
|
968
|
+
function Ir(t) {
|
|
969
969
|
E.module = t;
|
|
970
970
|
}
|
|
971
|
-
function
|
|
972
|
-
l.module = t, sessionStorage.setItem("page",
|
|
971
|
+
function Or(t, n) {
|
|
972
|
+
l.module = t, sessionStorage.setItem("page", k.enCode(l)), n !== "false" && E.module(t);
|
|
973
973
|
}
|
|
974
|
-
function
|
|
974
|
+
function $r() {
|
|
975
975
|
return l.module;
|
|
976
976
|
}
|
|
977
|
-
function
|
|
977
|
+
function Ar(t) {
|
|
978
978
|
E.tabs = t;
|
|
979
979
|
}
|
|
980
|
-
function
|
|
981
|
-
l.tab = t, sessionStorage.setItem("page",
|
|
980
|
+
function zr(t, n) {
|
|
981
|
+
l.tab = t, sessionStorage.setItem("page", k.enCode(l)), n !== "false" && E.tabs(t);
|
|
982
982
|
}
|
|
983
|
-
function
|
|
983
|
+
function Nr() {
|
|
984
984
|
return l.tab;
|
|
985
985
|
}
|
|
986
|
-
function
|
|
986
|
+
function Dr() {
|
|
987
987
|
const [t, n] = C.useState(l.id), a = (i) => {
|
|
988
988
|
n(i);
|
|
989
989
|
};
|
|
990
990
|
return E.id = a, [t];
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function Fr(t) {
|
|
993
993
|
E.id = t;
|
|
994
994
|
}
|
|
995
|
-
function
|
|
996
|
-
l.id = t, sessionStorage.setItem("page",
|
|
995
|
+
function Mr(t, n) {
|
|
996
|
+
l.id = t, sessionStorage.setItem("page", k.enCode(l)), n !== "false" && E.id(t);
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function Lr() {
|
|
999
999
|
return l.id;
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1002
|
-
l.module = t, l.id = a, l.tab = n, sessionStorage.setItem("page",
|
|
1001
|
+
function Wr(t, n, a) {
|
|
1002
|
+
l.module = t, l.id = a, l.tab = n, sessionStorage.setItem("page", k.enCode(l)), E.module(t), E.tabs(n);
|
|
1003
|
+
}
|
|
1004
|
+
function Yr(t, n) {
|
|
1005
|
+
De.data[t] = n, localStorage.setItem("sett", k.enCode(De.data));
|
|
1006
|
+
}
|
|
1007
|
+
function Ur(t) {
|
|
1008
|
+
let n = localStorage.getItem("sett");
|
|
1009
|
+
return n === null ? {} : (n = k.deCode(n), n ? t !== void 0 ? n[t] : n : ee());
|
|
1003
1010
|
}
|
|
1004
|
-
const
|
|
1005
|
-
/* @__PURE__ */ r.jsx(
|
|
1006
|
-
/* @__PURE__ */ r.jsx(
|
|
1007
|
-
/* @__PURE__ */ r.jsx(
|
|
1011
|
+
const Vr = ({ children: t, config: n, crypto: a, ...i }) => Cr(a, /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
1012
|
+
/* @__PURE__ */ r.jsx(yr.Init, { config: n.modal }),
|
|
1013
|
+
/* @__PURE__ */ r.jsx(Ot, {}),
|
|
1014
|
+
/* @__PURE__ */ r.jsx(Ut, {}),
|
|
1008
1015
|
t
|
|
1009
|
-
] })),
|
|
1016
|
+
] })), Br = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("menu", { children: t }), qr = ({ children: t, ...n }) => /* @__PURE__ */ r.jsxs("header", { children: [
|
|
1010
1017
|
"xz",
|
|
1011
1018
|
t
|
|
1012
|
-
] }),
|
|
1013
|
-
payment:
|
|
1019
|
+
] }), Hr = "_payment_1lxfv_1", Jr = {
|
|
1020
|
+
payment: Hr
|
|
1014
1021
|
};
|
|
1015
|
-
function
|
|
1022
|
+
function Gr() {
|
|
1016
1023
|
let [t, n] = C.useState({});
|
|
1017
|
-
return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className:
|
|
1024
|
+
return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className: Jr.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
1018
1025
|
}
|
|
1019
|
-
const
|
|
1026
|
+
const En = ({ children: t, ...n }) => {
|
|
1020
1027
|
let a = {};
|
|
1021
1028
|
return a.enCode = (i) => JSON.stringify(i).toString(), a.deCode = (i) => JSON.parse(i), /* @__PURE__ */ r.jsxs("div", { className: "app", children: [
|
|
1029
|
+
/* @__PURE__ */ r.jsx(Gr, {}),
|
|
1030
|
+
/* @__PURE__ */ r.jsx(Br, {}),
|
|
1022
1031
|
/* @__PURE__ */ r.jsx(qr, {}),
|
|
1023
|
-
/* @__PURE__ */ r.jsx(
|
|
1024
|
-
/* @__PURE__ */ r.jsx(Ur, {}),
|
|
1025
|
-
/* @__PURE__ */ r.jsx(Wr, { config: { modal: {} }, crypto: a }),
|
|
1032
|
+
/* @__PURE__ */ r.jsx(Vr, { config: { modal: {} }, crypto: a }),
|
|
1026
1033
|
t
|
|
1027
1034
|
] });
|
|
1028
|
-
},
|
|
1029
|
-
|
|
1035
|
+
}, Zr = ({ list: t, onClick: n, active: a, size: i, view: v }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, v].join(" "), children: t.map((p) => /* @__PURE__ */ r.jsx(
|
|
1036
|
+
Kr,
|
|
1030
1037
|
{
|
|
1031
1038
|
onClick: n,
|
|
1032
1039
|
active: a,
|
|
@@ -1034,9 +1041,9 @@ const yn = ({ children: t, ...n }) => {
|
|
|
1034
1041
|
link: p.link
|
|
1035
1042
|
},
|
|
1036
1043
|
p.link
|
|
1037
|
-
)) }) }),
|
|
1038
|
-
|
|
1039
|
-
const
|
|
1044
|
+
)) }) }), Kr = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
|
|
1045
|
+
Zr.defaultProps = { size: "M", view: "H" };
|
|
1046
|
+
const Xr = ({
|
|
1040
1047
|
title: t = "",
|
|
1041
1048
|
button: n,
|
|
1042
1049
|
description: a = "",
|
|
@@ -1056,9 +1063,9 @@ const Gr = ({
|
|
|
1056
1063
|
] }),
|
|
1057
1064
|
/* @__PURE__ */ r.jsx("ul", { children: i }),
|
|
1058
1065
|
a && /* @__PURE__ */ r.jsx("article", { children: a })
|
|
1059
|
-
] }),
|
|
1060
|
-
setting:
|
|
1061
|
-
},
|
|
1066
|
+
] }), Qr = "_setting_1r0pc_2", en = {
|
|
1067
|
+
setting: Qr
|
|
1068
|
+
}, tn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: en.setting, children: t }), rn = ({ label: t, children: n }) => {
|
|
1062
1069
|
let [a, i] = C.useState(!1);
|
|
1063
1070
|
return /* @__PURE__ */ r.jsxs("li", { "data-item": "accordion", children: [
|
|
1064
1071
|
/* @__PURE__ */ r.jsxs("dl", { onClick: () => i(!a), children: [
|
|
@@ -1067,10 +1074,10 @@ const Gr = ({
|
|
|
1067
1074
|
] }),
|
|
1068
1075
|
a && /* @__PURE__ */ r.jsx("div", { children: n })
|
|
1069
1076
|
] });
|
|
1070
|
-
},
|
|
1077
|
+
}, nn = ({ label: t, onClick: n, button: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1071
1078
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1072
1079
|
/* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => n(), children: a })
|
|
1073
|
-
] }) }),
|
|
1080
|
+
] }) }), sn = ({ active: t, onClick: n }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ r.jsx(
|
|
1074
1081
|
"div",
|
|
1075
1082
|
{
|
|
1076
1083
|
role: "switch",
|
|
@@ -1079,25 +1086,25 @@ const Gr = ({
|
|
|
1079
1086
|
},
|
|
1080
1087
|
"aria-checked": t ? "true" : "false"
|
|
1081
1088
|
}
|
|
1082
|
-
)),
|
|
1089
|
+
)), an = { Switch: sn }, on = ({ label: t, onClick: n, active: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1083
1090
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1084
|
-
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(
|
|
1085
|
-
] }) }),
|
|
1091
|
+
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(an.Switch, { onClick: n, active: a }) })
|
|
1092
|
+
] }) }), cn = ({ label: t, active: n, options: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1086
1093
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1087
1094
|
/* @__PURE__ */ r.jsx("dd", { role: "info", children: n })
|
|
1088
|
-
] }) }),
|
|
1095
|
+
] }) }), ln = ({ label: t, info: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1089
1096
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1090
1097
|
/* @__PURE__ */ r.jsx("dd", { role: "info", children: n })
|
|
1091
|
-
] }) }),
|
|
1098
|
+
] }) }), un = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1092
1099
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1093
1100
|
/* @__PURE__ */ r.jsx("dd", { children: n })
|
|
1094
|
-
] }) }),
|
|
1101
|
+
] }) }), fn = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1095
1102
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1096
1103
|
/* @__PURE__ */ r.jsx("dd", { children: n })
|
|
1097
|
-
] }) }),
|
|
1098
|
-
function
|
|
1104
|
+
] }) }), dn = { Accordion: rn, Button: nn, Switch: on, Info: ln, Select: cn, Component: un, Node: fn };
|
|
1105
|
+
function Ye({ list: t, onClick: n, active: a, size: i, view: v }) {
|
|
1099
1106
|
return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, v].join(" "), children: t.map((p) => /* @__PURE__ */ r.jsx(
|
|
1100
|
-
|
|
1107
|
+
_n,
|
|
1101
1108
|
{
|
|
1102
1109
|
onClick: n,
|
|
1103
1110
|
active: a,
|
|
@@ -1107,24 +1114,24 @@ function We({ list: t, onClick: n, active: a, size: i, view: v }) {
|
|
|
1107
1114
|
p.link
|
|
1108
1115
|
)) }) });
|
|
1109
1116
|
}
|
|
1110
|
-
const
|
|
1111
|
-
|
|
1112
|
-
const
|
|
1113
|
-
h:
|
|
1114
|
-
t:
|
|
1115
|
-
s:
|
|
1116
|
-
u:
|
|
1117
|
-
o:
|
|
1118
|
-
l:
|
|
1119
|
-
hh:
|
|
1120
|
-
},
|
|
1117
|
+
const _n = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
|
|
1118
|
+
Ye.defaultProps = { size: "M", view: "H" };
|
|
1119
|
+
const Rn = { Section: Xr, Main: tn, Item: dn, Tabs: Ye }, mn = "_h_1b5x7_1", vn = "_t_1b5x7_10", hn = "_s_1b5x7_28", xn = "_u_1b5x7_37", pn = "_o_1b5x7_44", gn = "_l_1b5x7_53", bn = "_hh_1b5x7_60", D = {
|
|
1120
|
+
h: mn,
|
|
1121
|
+
t: vn,
|
|
1122
|
+
s: hn,
|
|
1123
|
+
u: xn,
|
|
1124
|
+
o: pn,
|
|
1125
|
+
l: gn,
|
|
1126
|
+
hh: bn
|
|
1127
|
+
}, Fe = ({ title: t, children: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.h, children: [
|
|
1121
1128
|
/* @__PURE__ */ r.jsx("div", { className: D.t, children: t }),
|
|
1122
1129
|
n
|
|
1123
|
-
] }),
|
|
1130
|
+
] }), jn = ({ children: t, title: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.o, children: [
|
|
1124
1131
|
n && /* @__PURE__ */ r.jsx("div", { className: D.hh, children: n }),
|
|
1125
1132
|
t
|
|
1126
|
-
] }),
|
|
1127
|
-
function
|
|
1133
|
+
] }), yn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.u, children: t }), Me = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.s, children: t }), Le = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("div", { className: D.l, children: t }), kn = { Header: Fe, Section: Me, List: Le, U: yn, L: Le, O: jn, S: Me, H: Fe }, wn = { Send: $t, Error: At, Remark: Nt, Success: zt, Copy: Dt }, Tn = { Send: Bt };
|
|
1134
|
+
function Cn() {
|
|
1128
1135
|
return /* @__PURE__ */ r.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ r.jsx(
|
|
1129
1136
|
"path",
|
|
1130
1137
|
{
|
|
@@ -1133,19 +1140,19 @@ function bn() {
|
|
|
1133
1140
|
}
|
|
1134
1141
|
) });
|
|
1135
1142
|
}
|
|
1136
|
-
const
|
|
1143
|
+
const Pn = { Logo: Cn }, In = { setSSID: Er, getSSID: Rr, Logaut: ee, setAUTH: kr, getAUTH: wr, Start: Sr, setSetting: Yr, getSetting: Ur }, On = { Path: Wr, setPage: Pr, getPage: We, usePage: Tr, setModule: Or, getModule: $r, useModule: Ir, setTabs: zr, getTabs: Nr, useTabs: Ar, useId: Dr, setId: Mr, subId: Fr, getId: Lr };
|
|
1137
1144
|
export {
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1145
|
+
an as Action,
|
|
1146
|
+
Tn as Alert,
|
|
1147
|
+
En as Browser,
|
|
1148
|
+
Jt as Button,
|
|
1149
|
+
kn as Component,
|
|
1150
|
+
Pn as Icon,
|
|
1151
|
+
Vr as Init,
|
|
1152
|
+
yr as Modal,
|
|
1153
|
+
wn as Notice,
|
|
1154
|
+
On as Router,
|
|
1155
|
+
Rn as Setting,
|
|
1156
|
+
In as Store,
|
|
1157
|
+
Zr as Tabs
|
|
1151
1158
|
};
|