elcrm 0.2.4 → 0.2.6
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 +478 -457
- package/dist/index.umd.js +10 -10
- package/dist/lib/Store/Store.d.ts +3 -1
- 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
|
-
import
|
|
3
|
-
var le = { exports: {} },
|
|
2
|
+
import g from "react";
|
|
3
|
+
var le = { exports: {} }, B = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -11,24 +11,24 @@ var le = { exports: {} }, V = {};
|
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
var ze;
|
|
14
|
-
function
|
|
14
|
+
function Et() {
|
|
15
15
|
if (ze)
|
|
16
|
-
return
|
|
16
|
+
return B;
|
|
17
17
|
ze = 1;
|
|
18
|
-
var t =
|
|
19
|
-
function
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
for (
|
|
23
|
-
i.call(
|
|
24
|
-
if (
|
|
25
|
-
for (
|
|
26
|
-
|
|
27
|
-
return { $$typeof: n, type:
|
|
18
|
+
var t = g, n = Symbol.for("react.element"), s = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, _ = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function k(b, p, O) {
|
|
20
|
+
var j, y = {}, T = null, G = null;
|
|
21
|
+
O !== void 0 && (T = "" + O), p.key !== void 0 && (T = "" + p.key), p.ref !== void 0 && (G = p.ref);
|
|
22
|
+
for (j in p)
|
|
23
|
+
i.call(p, j) && !h.hasOwnProperty(j) && (y[j] = p[j]);
|
|
24
|
+
if (b && b.defaultProps)
|
|
25
|
+
for (j in p = b.defaultProps, p)
|
|
26
|
+
y[j] === void 0 && (y[j] = p[j]);
|
|
27
|
+
return { $$typeof: n, type: b, key: T, ref: G, props: y, _owner: _.current };
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return B.Fragment = s, B.jsx = k, B.jsxs = k, B;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var q = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.development.js
|
|
@@ -39,90 +39,90 @@ var B = {};
|
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
41
|
var Ne;
|
|
42
|
-
function
|
|
42
|
+
function Rt() {
|
|
43
43
|
return Ne || (Ne = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var t =
|
|
45
|
-
function
|
|
44
|
+
var t = g, n = Symbol.for("react.element"), s = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), ue = Symbol.iterator, Ve = "@@iterator";
|
|
45
|
+
function Be(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var
|
|
49
|
-
return typeof
|
|
48
|
+
var a = ue && e[ue] || e[Ve];
|
|
49
|
+
return typeof a == "function" ? a : null;
|
|
50
50
|
}
|
|
51
51
|
var F = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
-
function
|
|
52
|
+
function C(e) {
|
|
53
53
|
{
|
|
54
|
-
for (var
|
|
54
|
+
for (var a = arguments.length, o = new Array(a > 1 ? a - 1 : 0), c = 1; c < a; c++)
|
|
55
55
|
o[c - 1] = arguments[c];
|
|
56
|
-
|
|
56
|
+
qe("error", e, o);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function qe(e, a, o) {
|
|
60
60
|
{
|
|
61
61
|
var c = F.ReactDebugCurrentFrame, d = c.getStackAddendum();
|
|
62
|
-
d !== "" && (
|
|
63
|
-
var
|
|
62
|
+
d !== "" && (a += "%s", o = o.concat([d]));
|
|
63
|
+
var m = o.map(function(f) {
|
|
64
64
|
return String(f);
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
m.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, m);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var
|
|
69
|
+
var He = !1, Je = !1, Ge = !1, Ze = !1, Ke = !1, fe;
|
|
70
70
|
fe = Symbol.for("react.module.reference");
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e ===
|
|
71
|
+
function Xe(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === h || Ke || e === _ || e === O || e === j || Ze || e === G || He || Je || Ge || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === y || e.$$typeof === k || e.$$typeof === b || e.$$typeof === p || // 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 Qe(e, a, o) {
|
|
79
79
|
var c = e.displayName;
|
|
80
80
|
if (c)
|
|
81
81
|
return c;
|
|
82
|
-
var d =
|
|
82
|
+
var d = a.displayName || a.name || "";
|
|
83
83
|
return d !== "" ? o + "(" + d + ")" : o;
|
|
84
84
|
}
|
|
85
85
|
function de(e) {
|
|
86
86
|
return e.displayName || "Context";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function I(e) {
|
|
89
89
|
if (e == null)
|
|
90
90
|
return null;
|
|
91
|
-
if (typeof e.tag == "number" &&
|
|
91
|
+
if (typeof e.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
92
|
return e.displayName || e.name || null;
|
|
93
93
|
if (typeof e == "string")
|
|
94
94
|
return e;
|
|
95
95
|
switch (e) {
|
|
96
96
|
case i:
|
|
97
97
|
return "Fragment";
|
|
98
|
-
case
|
|
98
|
+
case s:
|
|
99
99
|
return "Portal";
|
|
100
|
-
case
|
|
100
|
+
case h:
|
|
101
101
|
return "Profiler";
|
|
102
|
-
case
|
|
102
|
+
case _:
|
|
103
103
|
return "StrictMode";
|
|
104
|
-
case
|
|
104
|
+
case O:
|
|
105
105
|
return "Suspense";
|
|
106
|
-
case
|
|
106
|
+
case j:
|
|
107
107
|
return "SuspenseList";
|
|
108
108
|
}
|
|
109
109
|
if (typeof e == "object")
|
|
110
110
|
switch (e.$$typeof) {
|
|
111
|
-
case
|
|
112
|
-
var
|
|
113
|
-
return de(
|
|
114
|
-
case
|
|
111
|
+
case b:
|
|
112
|
+
var a = e;
|
|
113
|
+
return de(a) + ".Consumer";
|
|
114
|
+
case k:
|
|
115
115
|
var o = e;
|
|
116
116
|
return de(o._context) + ".Provider";
|
|
117
|
-
case
|
|
118
|
-
return
|
|
119
|
-
case
|
|
117
|
+
case p:
|
|
118
|
+
return Qe(e, e.render, "ForwardRef");
|
|
119
|
+
case y:
|
|
120
120
|
var c = e.displayName || null;
|
|
121
|
-
return c !== null ? c :
|
|
122
|
-
case
|
|
123
|
-
var d = e,
|
|
121
|
+
return c !== null ? c : I(e.type) || "Memo";
|
|
122
|
+
case T: {
|
|
123
|
+
var d = e, m = d._payload, f = d._init;
|
|
124
124
|
try {
|
|
125
|
-
return
|
|
125
|
+
return I(f(m));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -130,14 +130,14 @@ function Et() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var z = Object.assign,
|
|
133
|
+
var z = Object.assign, U = 0, me, _e, ve, he, xe, pe, ge;
|
|
134
134
|
function be() {
|
|
135
135
|
}
|
|
136
136
|
be.__reactDisabledLog = !0;
|
|
137
|
-
function
|
|
137
|
+
function et() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
140
|
-
|
|
139
|
+
if (U === 0) {
|
|
140
|
+
me = console.log, _e = console.info, ve = console.warn, he = console.error, xe = console.group, pe = console.groupCollapsed, ge = console.groupEnd;
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
@@ -154,12 +154,12 @@ function Et() {
|
|
|
154
154
|
groupEnd: e
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
U++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function tt() {
|
|
161
161
|
{
|
|
162
|
-
if (
|
|
162
|
+
if (U--, U === 0) {
|
|
163
163
|
var e = {
|
|
164
164
|
configurable: !0,
|
|
165
165
|
enumerable: !0,
|
|
@@ -167,10 +167,10 @@ function Et() {
|
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
169
|
log: z({}, e, {
|
|
170
|
-
value:
|
|
170
|
+
value: me
|
|
171
171
|
}),
|
|
172
172
|
info: z({}, e, {
|
|
173
|
-
value:
|
|
173
|
+
value: _e
|
|
174
174
|
}),
|
|
175
175
|
warn: z({}, e, {
|
|
176
176
|
value: ve
|
|
@@ -189,11 +189,11 @@ function Et() {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
U < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
var te = F.ReactCurrentDispatcher, re;
|
|
196
|
-
function
|
|
196
|
+
function Z(e, a, o) {
|
|
197
197
|
{
|
|
198
198
|
if (re === void 0)
|
|
199
199
|
try {
|
|
@@ -206,16 +206,16 @@ function Et() {
|
|
|
206
206
|
` + re + e;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var ne = !1,
|
|
209
|
+
var ne = !1, K;
|
|
210
210
|
{
|
|
211
|
-
var
|
|
212
|
-
|
|
211
|
+
var rt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
K = new rt();
|
|
213
213
|
}
|
|
214
|
-
function je(e,
|
|
214
|
+
function je(e, a) {
|
|
215
215
|
if (!e || ne)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
|
-
var o =
|
|
218
|
+
var o = K.get(e);
|
|
219
219
|
if (o !== void 0)
|
|
220
220
|
return o;
|
|
221
221
|
}
|
|
@@ -223,10 +223,10 @@ function Et() {
|
|
|
223
223
|
ne = !0;
|
|
224
224
|
var d = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
226
|
+
var m;
|
|
227
|
+
m = te.current, te.current = null, et();
|
|
228
228
|
try {
|
|
229
|
-
if (
|
|
229
|
+
if (a) {
|
|
230
230
|
var f = function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
};
|
|
@@ -260,102 +260,102 @@ function Et() {
|
|
|
260
260
|
} catch (P) {
|
|
261
261
|
if (P && c && typeof P.stack == "string") {
|
|
262
262
|
for (var u = P.stack.split(`
|
|
263
|
-
`),
|
|
264
|
-
`),
|
|
265
|
-
|
|
266
|
-
for (;
|
|
267
|
-
if (u[
|
|
268
|
-
if (
|
|
263
|
+
`), S = c.stack.split(`
|
|
264
|
+
`), v = u.length - 1, x = S.length - 1; v >= 1 && x >= 0 && u[v] !== S[x]; )
|
|
265
|
+
x--;
|
|
266
|
+
for (; v >= 1 && x >= 0; v--, x--)
|
|
267
|
+
if (u[v] !== S[x]) {
|
|
268
|
+
if (v !== 1 || x !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (
|
|
271
|
-
var
|
|
272
|
-
` + u[
|
|
273
|
-
return e.displayName &&
|
|
270
|
+
if (v--, x--, x < 0 || u[v] !== S[x]) {
|
|
271
|
+
var E = `
|
|
272
|
+
` + u[v].replace(" at new ", " at ");
|
|
273
|
+
return e.displayName && E.includes("<anonymous>") && (E = E.replace("<anonymous>", e.displayName)), typeof e == "function" && K.set(e, E), E;
|
|
274
274
|
}
|
|
275
|
-
while (
|
|
275
|
+
while (v >= 1 && x >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
ne = !1, te.current =
|
|
280
|
+
ne = !1, te.current = m, tt(), Error.prepareStackTrace = d;
|
|
281
281
|
}
|
|
282
|
-
var L = e ? e.displayName || e.name : "", Ae = L ?
|
|
283
|
-
return typeof e == "function" &&
|
|
282
|
+
var L = e ? e.displayName || e.name : "", Ae = L ? Z(L) : "";
|
|
283
|
+
return typeof e == "function" && K.set(e, Ae), Ae;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function nt(e, a, o) {
|
|
286
286
|
return je(e, !1);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
289
|
-
var
|
|
290
|
-
return !!(
|
|
288
|
+
function at(e) {
|
|
289
|
+
var a = e.prototype;
|
|
290
|
+
return !!(a && a.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function X(e, a, o) {
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
296
|
-
return je(e,
|
|
296
|
+
return je(e, at(e));
|
|
297
297
|
if (typeof e == "string")
|
|
298
|
-
return
|
|
298
|
+
return Z(e);
|
|
299
299
|
switch (e) {
|
|
300
|
-
case
|
|
301
|
-
return
|
|
302
|
-
case
|
|
303
|
-
return
|
|
300
|
+
case O:
|
|
301
|
+
return Z("Suspense");
|
|
302
|
+
case j:
|
|
303
|
+
return Z("SuspenseList");
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
|
-
case
|
|
308
|
-
return
|
|
309
|
-
case
|
|
310
|
-
return
|
|
311
|
-
case
|
|
312
|
-
var c = e, d = c._payload,
|
|
307
|
+
case p:
|
|
308
|
+
return nt(e.render);
|
|
309
|
+
case y:
|
|
310
|
+
return X(e.type, a, o);
|
|
311
|
+
case T: {
|
|
312
|
+
var c = e, d = c._payload, m = c._init;
|
|
313
313
|
try {
|
|
314
|
-
return
|
|
314
|
+
return X(m(d), a, o);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
321
|
+
var Q = Object.prototype.hasOwnProperty, ye = {}, Ce = F.ReactDebugCurrentFrame;
|
|
322
|
+
function ee(e) {
|
|
323
323
|
if (e) {
|
|
324
|
-
var
|
|
324
|
+
var a = e._owner, o = X(e.type, e._source, a ? a.type : null);
|
|
325
325
|
Ce.setExtraStackFrame(o);
|
|
326
326
|
} else
|
|
327
327
|
Ce.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function st(e,
|
|
329
|
+
function st(e, a, o, c, d) {
|
|
330
330
|
{
|
|
331
|
-
var
|
|
331
|
+
var m = Function.call.bind(Q);
|
|
332
332
|
for (var f in e)
|
|
333
|
-
if (
|
|
333
|
+
if (m(e, f)) {
|
|
334
334
|
var u = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof e[f] != "function") {
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
337
|
+
var S = Error((c || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw S.name = "Invariant Violation", S;
|
|
339
339
|
}
|
|
340
|
-
u = e[f](
|
|
341
|
-
} catch (
|
|
342
|
-
u =
|
|
340
|
+
u = e[f](a, f, c, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
+
} catch (v) {
|
|
342
|
+
u = v;
|
|
343
343
|
}
|
|
344
|
-
u && !(u instanceof Error) && (
|
|
344
|
+
u && !(u instanceof Error) && (ee(d), C("%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).", c || "React class", o, f, typeof u), ee(null)), u instanceof Error && !(u.message in ye) && (ye[u.message] = !0, ee(d), C("Failed %s type: %s", o, u.message), ee(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
return
|
|
348
|
+
var ot = Array.isArray;
|
|
349
|
+
function ae(e) {
|
|
350
|
+
return ot(e);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function it(e) {
|
|
353
353
|
{
|
|
354
|
-
var
|
|
354
|
+
var a = typeof Symbol == "function" && Symbol.toStringTag, o = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
355
|
return o;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function ct(e) {
|
|
359
359
|
try {
|
|
360
360
|
return Se(e), !1;
|
|
361
361
|
} catch {
|
|
@@ -366,42 +366,42 @@ function Et() {
|
|
|
366
366
|
return "" + e;
|
|
367
367
|
}
|
|
368
368
|
function Ee(e) {
|
|
369
|
-
if (
|
|
370
|
-
return
|
|
369
|
+
if (ct(e))
|
|
370
|
+
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Se(e);
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var V = F.ReactCurrentOwner, lt = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
|
-
}, Re,
|
|
378
|
-
|
|
379
|
-
function
|
|
380
|
-
if (
|
|
381
|
-
var
|
|
382
|
-
if (
|
|
377
|
+
}, Re, we, se;
|
|
378
|
+
se = {};
|
|
379
|
+
function ut(e) {
|
|
380
|
+
if (Q.call(e, "ref")) {
|
|
381
|
+
var a = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
|
+
if (a && a.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
385
|
return e.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
389
|
-
var
|
|
390
|
-
if (
|
|
387
|
+
function ft(e) {
|
|
388
|
+
if (Q.call(e, "key")) {
|
|
389
|
+
var a = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
|
+
if (a && a.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
393
|
return e.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
if (typeof e.ref == "string" &&
|
|
397
|
-
var o =
|
|
398
|
-
|
|
395
|
+
function dt(e, a) {
|
|
396
|
+
if (typeof e.ref == "string" && V.current && a && V.current.stateNode !== a) {
|
|
397
|
+
var o = I(V.current.type);
|
|
398
|
+
se[o] || (C('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', I(V.current.type), e.ref), se[o] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function mt(e, a) {
|
|
402
402
|
{
|
|
403
403
|
var o = function() {
|
|
404
|
-
Re || (Re = !0,
|
|
404
|
+
Re || (Re = !0, C("%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)", a));
|
|
405
405
|
};
|
|
406
406
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
407
407
|
get: o,
|
|
@@ -409,10 +409,10 @@ function Et() {
|
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function _t(e,
|
|
412
|
+
function _t(e, a) {
|
|
413
413
|
{
|
|
414
414
|
var o = function() {
|
|
415
|
-
|
|
415
|
+
we || (we = !0, C("%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)", a));
|
|
416
416
|
};
|
|
417
417
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
418
418
|
get: o,
|
|
@@ -420,17 +420,17 @@ function Et() {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var
|
|
423
|
+
var vt = function(e, a, o, c, d, m, f) {
|
|
424
424
|
var u = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: n,
|
|
427
427
|
// Built-in properties that belong on the element
|
|
428
428
|
type: e,
|
|
429
|
-
key:
|
|
429
|
+
key: a,
|
|
430
430
|
ref: o,
|
|
431
431
|
props: f,
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
|
-
_owner:
|
|
433
|
+
_owner: m
|
|
434
434
|
};
|
|
435
435
|
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
436
436
|
configurable: !1,
|
|
@@ -449,31 +449,31 @@ function Et() {
|
|
|
449
449
|
value: d
|
|
450
450
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
451
451
|
};
|
|
452
|
-
function
|
|
452
|
+
function ht(e, a, o, c, d) {
|
|
453
453
|
{
|
|
454
|
-
var
|
|
455
|
-
o !== void 0 && (Ee(o), u = "" + o),
|
|
456
|
-
for (
|
|
457
|
-
|
|
454
|
+
var m, f = {}, u = null, S = null;
|
|
455
|
+
o !== void 0 && (Ee(o), u = "" + o), ft(a) && (Ee(a.key), u = "" + a.key), ut(a) && (S = a.ref, dt(a, d));
|
|
456
|
+
for (m in a)
|
|
457
|
+
Q.call(a, m) && !lt.hasOwnProperty(m) && (f[m] = a[m]);
|
|
458
458
|
if (e && e.defaultProps) {
|
|
459
|
-
var
|
|
460
|
-
for (
|
|
461
|
-
f[
|
|
459
|
+
var v = e.defaultProps;
|
|
460
|
+
for (m in v)
|
|
461
|
+
f[m] === void 0 && (f[m] = v[m]);
|
|
462
462
|
}
|
|
463
|
-
if (u ||
|
|
464
|
-
var
|
|
465
|
-
u &&
|
|
463
|
+
if (u || S) {
|
|
464
|
+
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
+
u && mt(f, x), S && _t(f, x);
|
|
466
466
|
}
|
|
467
|
-
return
|
|
467
|
+
return vt(e, u, S, d, c, V.current, f);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var oe = F.ReactCurrentOwner,
|
|
470
|
+
var oe = F.ReactCurrentOwner, ke = F.ReactDebugCurrentFrame;
|
|
471
471
|
function M(e) {
|
|
472
472
|
if (e) {
|
|
473
|
-
var
|
|
474
|
-
|
|
473
|
+
var a = e._owner, o = X(e.type, e._source, a ? a.type : null);
|
|
474
|
+
ke.setExtraStackFrame(o);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
ke.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
478
478
|
var ie;
|
|
479
479
|
ie = !1;
|
|
@@ -483,7 +483,7 @@ function Et() {
|
|
|
483
483
|
function Te() {
|
|
484
484
|
{
|
|
485
485
|
if (oe.current) {
|
|
486
|
-
var e =
|
|
486
|
+
var e = I(oe.current.type);
|
|
487
487
|
if (e)
|
|
488
488
|
return `
|
|
489
489
|
|
|
@@ -492,211 +492,211 @@ Check the render method of \`` + e + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function xt(e) {
|
|
496
496
|
{
|
|
497
497
|
if (e !== void 0) {
|
|
498
|
-
var
|
|
498
|
+
var a = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
|
|
499
499
|
return `
|
|
500
500
|
|
|
501
|
-
Check your code at ` +
|
|
501
|
+
Check your code at ` + a + ":" + o + ".";
|
|
502
502
|
}
|
|
503
503
|
return "";
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
var
|
|
507
|
-
function
|
|
506
|
+
var Ie = {};
|
|
507
|
+
function pt(e) {
|
|
508
508
|
{
|
|
509
|
-
var
|
|
510
|
-
if (!
|
|
509
|
+
var a = Te();
|
|
510
|
+
if (!a) {
|
|
511
511
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
512
|
-
o && (
|
|
512
|
+
o && (a = `
|
|
513
513
|
|
|
514
514
|
Check the top-level render call using <` + o + ">.");
|
|
515
515
|
}
|
|
516
|
-
return
|
|
516
|
+
return a;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Pe(e, a) {
|
|
520
520
|
{
|
|
521
521
|
if (!e._store || e._store.validated || e.key != null)
|
|
522
522
|
return;
|
|
523
523
|
e._store.validated = !0;
|
|
524
|
-
var o =
|
|
525
|
-
if (
|
|
524
|
+
var o = pt(a);
|
|
525
|
+
if (Ie[o])
|
|
526
526
|
return;
|
|
527
|
-
|
|
527
|
+
Ie[o] = !0;
|
|
528
528
|
var c = "";
|
|
529
|
-
e && e._owner && e._owner !== oe.current && (c = " It was passed a child from " +
|
|
529
|
+
e && e._owner && e._owner !== oe.current && (c = " It was passed a child from " + I(e._owner.type) + "."), M(e), C('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
|
-
function Oe(e,
|
|
532
|
+
function Oe(e, a) {
|
|
533
533
|
{
|
|
534
534
|
if (typeof e != "object")
|
|
535
535
|
return;
|
|
536
|
-
if (
|
|
536
|
+
if (ae(e))
|
|
537
537
|
for (var o = 0; o < e.length; o++) {
|
|
538
538
|
var c = e[o];
|
|
539
|
-
ce(c) &&
|
|
539
|
+
ce(c) && Pe(c, a);
|
|
540
540
|
}
|
|
541
541
|
else if (ce(e))
|
|
542
542
|
e._store && (e._store.validated = !0);
|
|
543
543
|
else if (e) {
|
|
544
|
-
var d =
|
|
544
|
+
var d = Be(e);
|
|
545
545
|
if (typeof d == "function" && d !== e.entries)
|
|
546
|
-
for (var
|
|
547
|
-
ce(f.value) &&
|
|
546
|
+
for (var m = d.call(e), f; !(f = m.next()).done; )
|
|
547
|
+
ce(f.value) && Pe(f.value, a);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function gt(e) {
|
|
552
552
|
{
|
|
553
|
-
var
|
|
554
|
-
if (
|
|
553
|
+
var a = e.type;
|
|
554
|
+
if (a == null || typeof a == "string")
|
|
555
555
|
return;
|
|
556
556
|
var o;
|
|
557
|
-
if (typeof
|
|
558
|
-
o =
|
|
559
|
-
else if (typeof
|
|
557
|
+
if (typeof a == "function")
|
|
558
|
+
o = a.propTypes;
|
|
559
|
+
else if (typeof a == "object" && (a.$$typeof === p || // Note: Memo only checks outer props here.
|
|
560
560
|
// Inner props are checked in the reconciler.
|
|
561
|
-
|
|
562
|
-
o =
|
|
561
|
+
a.$$typeof === y))
|
|
562
|
+
o = a.propTypes;
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
565
|
if (o) {
|
|
566
|
-
var c =
|
|
566
|
+
var c = I(a);
|
|
567
567
|
st(o, e.props, "prop", c, e);
|
|
568
|
-
} else if (
|
|
568
|
+
} else if (a.PropTypes !== void 0 && !ie) {
|
|
569
569
|
ie = !0;
|
|
570
|
-
var d =
|
|
571
|
-
|
|
570
|
+
var d = I(a);
|
|
571
|
+
C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
572
572
|
}
|
|
573
|
-
typeof
|
|
573
|
+
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function bt(e) {
|
|
577
577
|
{
|
|
578
|
-
for (var
|
|
579
|
-
var c =
|
|
578
|
+
for (var a = Object.keys(e.props), o = 0; o < a.length; o++) {
|
|
579
|
+
var c = a[o];
|
|
580
580
|
if (c !== "children" && c !== "key") {
|
|
581
|
-
M(e),
|
|
581
|
+
M(e), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), M(null);
|
|
582
582
|
break;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
e.ref !== null && (M(e),
|
|
585
|
+
e.ref !== null && (M(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function $e(e,
|
|
588
|
+
function $e(e, a, o, c, d, m) {
|
|
589
589
|
{
|
|
590
|
-
var f =
|
|
590
|
+
var f = Xe(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
|
|
595
|
-
|
|
596
|
-
var
|
|
597
|
-
e === null ?
|
|
594
|
+
var S = xt(d);
|
|
595
|
+
S ? u += S : u += Te();
|
|
596
|
+
var v;
|
|
597
|
+
e === null ? v = "null" : ae(e) ? v = "array" : e !== void 0 && e.$$typeof === n ? (v = "<" + (I(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : v = typeof e, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", v, u);
|
|
598
598
|
}
|
|
599
|
-
var
|
|
600
|
-
if (
|
|
601
|
-
return
|
|
599
|
+
var x = ht(e, a, o, d, m);
|
|
600
|
+
if (x == null)
|
|
601
|
+
return x;
|
|
602
602
|
if (f) {
|
|
603
|
-
var
|
|
604
|
-
if (
|
|
603
|
+
var E = a.children;
|
|
604
|
+
if (E !== void 0)
|
|
605
605
|
if (c)
|
|
606
|
-
if (
|
|
607
|
-
for (var L = 0; L <
|
|
608
|
-
Oe(
|
|
609
|
-
Object.freeze && Object.freeze(
|
|
606
|
+
if (ae(E)) {
|
|
607
|
+
for (var L = 0; L < E.length; L++)
|
|
608
|
+
Oe(E[L], e);
|
|
609
|
+
Object.freeze && Object.freeze(E);
|
|
610
610
|
} else
|
|
611
|
-
|
|
611
|
+
C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
612
612
|
else
|
|
613
|
-
Oe(
|
|
613
|
+
Oe(E, e);
|
|
614
614
|
}
|
|
615
|
-
return e === i ?
|
|
615
|
+
return e === i ? bt(x) : gt(x), x;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
return $e(e,
|
|
618
|
+
function jt(e, a, o) {
|
|
619
|
+
return $e(e, a, o, !0);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
return $e(e,
|
|
621
|
+
function yt(e, a, o) {
|
|
622
|
+
return $e(e, a, o, !1);
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
|
|
626
|
-
}()),
|
|
624
|
+
var Ct = yt, St = jt;
|
|
625
|
+
q.Fragment = i, q.jsx = Ct, q.jsxs = St;
|
|
626
|
+
}()), q;
|
|
627
627
|
}
|
|
628
|
-
process.env.NODE_ENV === "production" ? le.exports =
|
|
628
|
+
process.env.NODE_ENV === "production" ? le.exports = Et() : le.exports = Rt();
|
|
629
629
|
var r = le.exports;
|
|
630
|
-
const
|
|
631
|
-
notice:
|
|
630
|
+
const wt = "_notice_820sc_2", kt = "_error_820sc_9", Tt = "_success_820sc_12", It = "_remark_820sc_15", Pt = "_copy_820sc_18", Ot = {
|
|
631
|
+
notice: wt,
|
|
632
632
|
error: kt,
|
|
633
|
-
success:
|
|
634
|
-
remark:
|
|
633
|
+
success: Tt,
|
|
634
|
+
remark: It,
|
|
635
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
|
|
641
|
-
let [t, n] =
|
|
642
|
-
return
|
|
643
|
-
n([...t,
|
|
644
|
-
},
|
|
645
|
-
n(t.filter((i) => i.key !==
|
|
646
|
-
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className:
|
|
639
|
+
let A = {};
|
|
640
|
+
function $t() {
|
|
641
|
+
let [t, n] = g.useState([]);
|
|
642
|
+
return A.set = (s) => {
|
|
643
|
+
n([...t, s]);
|
|
644
|
+
}, A.del = (s) => {
|
|
645
|
+
n(t.filter((i) => i.key !== s));
|
|
646
|
+
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: Ot.notice, children: t.map((s) => s.item) });
|
|
647
647
|
}
|
|
648
|
-
function
|
|
649
|
-
let [n,
|
|
650
|
-
|
|
648
|
+
function J({ data: t }) {
|
|
649
|
+
let [n, s] = g.useState("show");
|
|
650
|
+
g.useEffect(() => {
|
|
651
651
|
setTimeout(function() {
|
|
652
|
-
|
|
652
|
+
s("hide");
|
|
653
653
|
}, 1800), setTimeout(function() {
|
|
654
|
-
|
|
654
|
+
A.del(t.key);
|
|
655
655
|
}, 2500);
|
|
656
656
|
}, [t.key]);
|
|
657
|
-
let i,
|
|
657
|
+
let i, _;
|
|
658
658
|
switch (t.type) {
|
|
659
659
|
case "error":
|
|
660
|
-
i = /* @__PURE__ */ r.jsx(N.error, {}),
|
|
660
|
+
i = /* @__PURE__ */ r.jsx(N.error, {}), _ = "Ошибка:";
|
|
661
661
|
break;
|
|
662
662
|
case "success":
|
|
663
|
-
i = /* @__PURE__ */ r.jsx(N.success, {}),
|
|
663
|
+
i = /* @__PURE__ */ r.jsx(N.success, {}), _ = "Информация:";
|
|
664
664
|
break;
|
|
665
665
|
case "copy":
|
|
666
|
-
i = /* @__PURE__ */ r.jsx(N.success, {}),
|
|
666
|
+
i = /* @__PURE__ */ r.jsx(N.success, {}), _ = "Копирование:";
|
|
667
667
|
break;
|
|
668
668
|
case "remark":
|
|
669
|
-
i = /* @__PURE__ */ r.jsx(N.success, {}),
|
|
669
|
+
i = /* @__PURE__ */ r.jsx(N.success, {}), _ = "Подсказка:";
|
|
670
670
|
break;
|
|
671
671
|
default:
|
|
672
|
-
i = /* @__PURE__ */ r.jsx(N.success, {}),
|
|
672
|
+
i = /* @__PURE__ */ r.jsx(N.success, {}), _ = "Предупреждение:";
|
|
673
673
|
break;
|
|
674
674
|
}
|
|
675
675
|
return /* @__PURE__ */ r.jsxs("li", { className: "item " + t.type, "data-status": n, children: [
|
|
676
676
|
i,
|
|
677
|
-
/* @__PURE__ */ r.jsx("b", { children:
|
|
677
|
+
/* @__PURE__ */ r.jsx("b", { children: _ }),
|
|
678
678
|
/* @__PURE__ */ r.jsx("p", { children: t.text })
|
|
679
679
|
] });
|
|
680
680
|
}
|
|
681
|
-
function $t(t) {
|
|
682
|
-
let n = Date.now(), a = { key: n, ...t };
|
|
683
|
-
$.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
|
|
684
|
-
}
|
|
685
681
|
function At(t) {
|
|
686
|
-
let n = Date.now(),
|
|
687
|
-
|
|
682
|
+
let n = Date.now(), s = { key: n, ...t };
|
|
683
|
+
A.set({ item: /* @__PURE__ */ r.jsx(J, { data: s }, n), key: n });
|
|
688
684
|
}
|
|
689
685
|
function zt(t) {
|
|
690
|
-
let n = Date.now(),
|
|
691
|
-
|
|
686
|
+
let n = Date.now(), s = { key: n, text: t, type: "error" };
|
|
687
|
+
A.set({ item: /* @__PURE__ */ r.jsx(J, { data: s }, n), key: n });
|
|
692
688
|
}
|
|
693
689
|
function Nt(t) {
|
|
694
|
-
let n = Date.now(),
|
|
695
|
-
|
|
690
|
+
let n = Date.now(), s = { key: n, text: t, type: "success" };
|
|
691
|
+
A.set({ item: /* @__PURE__ */ r.jsx(J, { data: s }, n), key: n });
|
|
696
692
|
}
|
|
697
693
|
function Dt(t) {
|
|
698
|
-
let n = Date.now(),
|
|
699
|
-
|
|
694
|
+
let n = Date.now(), s = { key: n, text: t, type: "remark" };
|
|
695
|
+
A.set({ item: /* @__PURE__ */ r.jsx(J, { data: s }, n), key: n });
|
|
696
|
+
}
|
|
697
|
+
function Ft(t) {
|
|
698
|
+
let n = Date.now(), s = { key: n, text: t, type: "copy" };
|
|
699
|
+
A.set({ item: /* @__PURE__ */ r.jsx(J, { data: s }, 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 Mt = "_alerts_1e9y0_1", Lt = "_menuAnimation_1e9y0_1", Wt = "_menuItemAnimation_1e9y0_1", Yt = "_allert_1e9y0_111", Ut = {
|
|
735
|
+
alerts: Mt,
|
|
736
|
+
menuAnimation: Lt,
|
|
737
|
+
menuItemAnimation: Wt,
|
|
738
738
|
"--body": "_--body_1e9y0_103",
|
|
739
|
-
allert:
|
|
739
|
+
allert: Yt,
|
|
740
740
|
"--form": "_--form_1e9y0_111"
|
|
741
741
|
};
|
|
742
|
-
let
|
|
743
|
-
function
|
|
744
|
-
let [t, n] =
|
|
745
|
-
return
|
|
742
|
+
let H = {};
|
|
743
|
+
function Vt() {
|
|
744
|
+
let [t, n] = g.useState("");
|
|
745
|
+
return H.set = (s) => n(s), H.del = () => n(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
|
|
746
746
|
}
|
|
747
|
-
const
|
|
747
|
+
const Bt = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Ut.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 }),
|
|
@@ -753,147 +753,147 @@ const Vt = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "По
|
|
|
753
753
|
{
|
|
754
754
|
"data-color": t.color || "blue",
|
|
755
755
|
onClick: () => {
|
|
756
|
-
n(),
|
|
756
|
+
n(), H.del();
|
|
757
757
|
},
|
|
758
758
|
children: t.button
|
|
759
759
|
}
|
|
760
760
|
) })
|
|
761
761
|
] }),
|
|
762
|
-
/* @__PURE__ */ r.jsx("div", { className: "--body", onClick:
|
|
762
|
+
/* @__PURE__ */ r.jsx("div", { className: "--body", onClick: H.del })
|
|
763
763
|
] }));
|
|
764
|
-
function
|
|
765
|
-
|
|
764
|
+
function qt(t, n) {
|
|
765
|
+
H.set(/* @__PURE__ */ r.jsx(Bt, { data: t, callback: n }));
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function Ht({ children: t }) {
|
|
768
768
|
return /* @__PURE__ */ r.jsx("div", { className: "l", children: /* @__PURE__ */ r.jsx("ul", { children: t }) });
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function Jt({ children: t }) {
|
|
771
771
|
return /* @__PURE__ */ r.jsx("div", { className: "s", children: t });
|
|
772
772
|
}
|
|
773
|
-
const
|
|
773
|
+
const Gt = ({
|
|
774
774
|
children: t,
|
|
775
775
|
disabled: n,
|
|
776
|
-
label:
|
|
776
|
+
label: s,
|
|
777
777
|
onClick: i
|
|
778
778
|
}) => {
|
|
779
|
-
const
|
|
780
|
-
n || i && i(
|
|
779
|
+
const _ = (h) => {
|
|
780
|
+
n || i && i(h);
|
|
781
781
|
};
|
|
782
|
-
return /* @__PURE__ */ r.jsx("button", { disabled: n, onClick:
|
|
783
|
-
},
|
|
784
|
-
white:
|
|
785
|
-
black:
|
|
786
|
-
shake:
|
|
787
|
-
modal:
|
|
788
|
-
o:
|
|
789
|
-
w:
|
|
790
|
-
h:
|
|
791
|
-
l:
|
|
792
|
-
t:
|
|
782
|
+
return /* @__PURE__ */ r.jsx("button", { disabled: n, onClick: _, children: s });
|
|
783
|
+
}, Zt = "_white_6ax6z_14", Kt = "_black_6ax6z_26", Xt = "_shake_6ax6z_1", Qt = "_modal_6ax6z_73", er = "_o_6ax6z_83", tr = "_w_6ax6z_14", rr = "_h_6ax6z_106", nr = "_l_6ax6z_120", ar = "_t_6ax6z_158", sr = "_m_6ax6z_73", or = "_x_6ax6z_166", ir = "_s_6ax6z_176", cr = "_c_6ax6z_181", lr = "_f_6ax6z_186", ur = "_btn_6ax6z_229", fr = "_g_6ax6z_242", dr = "_confirm_6ax6z_320", mr = "_cancel_6ax6z_325", _r = "_disabled_6ax6z_330", vr = "_active_6ax6z_387", hr = "_coincidence_6ax6z_393", $ = {
|
|
784
|
+
white: Zt,
|
|
785
|
+
black: Kt,
|
|
786
|
+
shake: Xt,
|
|
787
|
+
modal: Qt,
|
|
788
|
+
o: er,
|
|
789
|
+
w: tr,
|
|
790
|
+
h: rr,
|
|
791
|
+
l: nr,
|
|
792
|
+
t: ar,
|
|
793
793
|
m: sr,
|
|
794
|
-
x:
|
|
795
|
-
s:
|
|
796
|
-
c:
|
|
797
|
-
f:
|
|
798
|
-
btn:
|
|
799
|
-
g:
|
|
794
|
+
x: or,
|
|
795
|
+
s: ir,
|
|
796
|
+
c: cr,
|
|
797
|
+
f: lr,
|
|
798
|
+
btn: ur,
|
|
799
|
+
g: fr,
|
|
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:
|
|
806
|
+
confirm: dr,
|
|
807
|
+
cancel: mr,
|
|
808
808
|
disabled: _r,
|
|
809
809
|
await: "_await_6ax6z_337",
|
|
810
|
-
active:
|
|
811
|
-
coincidence:
|
|
810
|
+
active: vr,
|
|
811
|
+
coincidence: hr
|
|
812
812
|
};
|
|
813
813
|
let W = {};
|
|
814
|
-
const
|
|
815
|
-
let [n,
|
|
814
|
+
const xr = ({ config: t }) => {
|
|
815
|
+
let [n, s] = g.useState([]);
|
|
816
816
|
return W.x = () => {
|
|
817
|
-
|
|
817
|
+
s([]);
|
|
818
818
|
}, W.config = t, W.add = (i) => {
|
|
819
|
-
|
|
819
|
+
s([...n, i]);
|
|
820
820
|
}, /* @__PURE__ */ r.jsx(r.Fragment, { children: n.map((i) => i) });
|
|
821
|
-
},
|
|
821
|
+
}, pr = ({
|
|
822
822
|
children: t,
|
|
823
823
|
title: n,
|
|
824
|
-
button:
|
|
824
|
+
button: s,
|
|
825
825
|
tabs: i,
|
|
826
|
-
size:
|
|
827
|
-
menu:
|
|
826
|
+
size: _ = "m",
|
|
827
|
+
menu: h
|
|
828
828
|
}) => {
|
|
829
|
-
const [
|
|
830
|
-
if (
|
|
831
|
-
return
|
|
832
|
-
},
|
|
833
|
-
|
|
834
|
-
|
|
829
|
+
const [k, b] = g.useState(!0), p = g.useRef(), O = (y) => {
|
|
830
|
+
if (s && s.onClick)
|
|
831
|
+
return s.onClick({ closed: b, disabled: y });
|
|
832
|
+
}, j = () => {
|
|
833
|
+
p.current.setAttribute("shake", !0), setTimeout(() => {
|
|
834
|
+
p.current.setAttribute("shake", !1);
|
|
835
835
|
}, 1e3);
|
|
836
836
|
};
|
|
837
|
-
return /* @__PURE__ */ r.jsx(r.Fragment, { children:
|
|
837
|
+
return /* @__PURE__ */ r.jsx(r.Fragment, { children: k ? /* @__PURE__ */ r.jsxs(
|
|
838
838
|
"div",
|
|
839
839
|
{
|
|
840
|
-
className: `${
|
|
840
|
+
className: `${$.modal} ${$.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((
|
|
842
|
+
/* @__PURE__ */ r.jsx("div", { className: $.o, onClick: j }),
|
|
843
|
+
/* @__PURE__ */ r.jsxs("div", { className: $.w, ref: p, children: [
|
|
844
|
+
/* @__PURE__ */ r.jsxs("div", { className: $.h, children: [
|
|
845
|
+
/* @__PURE__ */ r.jsx("div", { className: $.t, children: n }),
|
|
846
|
+
/* @__PURE__ */ r.jsxs("div", { className: $.m, children: [
|
|
847
|
+
i && /* @__PURE__ */ r.jsx("nav", { children: i.map((y, T) => /* @__PURE__ */ r.jsx(
|
|
848
848
|
"span",
|
|
849
849
|
{
|
|
850
|
-
onClick:
|
|
851
|
-
className:
|
|
852
|
-
children:
|
|
850
|
+
onClick: y.onClick,
|
|
851
|
+
className: y.active ? "active" : "",
|
|
852
|
+
children: y.name
|
|
853
853
|
},
|
|
854
|
-
|
|
854
|
+
T
|
|
855
855
|
)) }),
|
|
856
|
-
|
|
856
|
+
h
|
|
857
857
|
] }),
|
|
858
858
|
/* @__PURE__ */ r.jsx(
|
|
859
859
|
"div",
|
|
860
860
|
{
|
|
861
|
-
className:
|
|
861
|
+
className: $.x,
|
|
862
862
|
onClick: () => {
|
|
863
|
-
|
|
863
|
+
b(!1);
|
|
864
864
|
},
|
|
865
865
|
children: "x"
|
|
866
866
|
}
|
|
867
867
|
)
|
|
868
868
|
] }),
|
|
869
869
|
t,
|
|
870
|
-
|
|
871
|
-
|
|
870
|
+
s !== void 0 ? /* @__PURE__ */ r.jsx(
|
|
871
|
+
Gt,
|
|
872
872
|
{
|
|
873
|
-
label: String(
|
|
874
|
-
onClick:
|
|
873
|
+
label: String(s.name),
|
|
874
|
+
onClick: O
|
|
875
875
|
}
|
|
876
876
|
) : ""
|
|
877
877
|
] })
|
|
878
878
|
]
|
|
879
879
|
}
|
|
880
880
|
) : "" });
|
|
881
|
-
},
|
|
882
|
-
W.add(/* @__PURE__ */ r.jsx(
|
|
883
|
-
},
|
|
884
|
-
let [i,
|
|
885
|
-
return
|
|
886
|
-
W.config(t, n,
|
|
887
|
-
}, [
|
|
888
|
-
},
|
|
889
|
-
W.config(t, n,
|
|
890
|
-
},
|
|
891
|
-
let
|
|
892
|
-
const l = {},
|
|
893
|
-
function
|
|
894
|
-
if (
|
|
881
|
+
}, gr = (t) => {
|
|
882
|
+
W.add(/* @__PURE__ */ r.jsx(br, { children: t }, String(Date.now())));
|
|
883
|
+
}, br = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), jr = ({ type: t, name: n, params: s }) => {
|
|
884
|
+
let [i, _] = g.useState(null);
|
|
885
|
+
return g.useEffect(() => {
|
|
886
|
+
W.config(t, n, s, _);
|
|
887
|
+
}, [s.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: i });
|
|
888
|
+
}, yr = (t, n, s) => {
|
|
889
|
+
W.config(t, n, s);
|
|
890
|
+
}, Cr = { List: Ht, Scroll: Jt, Init: xr, Main: pr, Add: gr, Icon: jr, Open: yr };
|
|
891
|
+
let R = {};
|
|
892
|
+
const l = {}, w = {}, De = {};
|
|
893
|
+
function Sr(t, n) {
|
|
894
|
+
if (R = t, localStorage.getItem("ssid")) {
|
|
895
895
|
let i = sessionStorage.getItem("page");
|
|
896
|
-
i ? (i =
|
|
896
|
+
i ? (i = R.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 Cr(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 Y() {
|
|
915
915
|
[
|
|
916
916
|
"ssid",
|
|
917
917
|
"menu",
|
|
@@ -927,126 +927,147 @@ function ee() {
|
|
|
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 Er(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
|
+
R.enCode({
|
|
934
934
|
module: l.module,
|
|
935
935
|
page: l.page,
|
|
936
936
|
tab: l.tab,
|
|
937
937
|
id: l.id,
|
|
938
938
|
time: (/* @__PURE__ */ new Date()).getTime()
|
|
939
939
|
})
|
|
940
|
-
),
|
|
940
|
+
), w.page(l.page);
|
|
941
941
|
}
|
|
942
|
-
function
|
|
942
|
+
function Rr(t) {
|
|
943
943
|
return localStorage.setItem("ssid", t);
|
|
944
944
|
}
|
|
945
|
-
function
|
|
945
|
+
function wr() {
|
|
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") : (Y(), !1);
|
|
948
948
|
}
|
|
949
949
|
function kr(t) {
|
|
950
950
|
return localStorage.setItem("auth", t);
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function Tr() {
|
|
953
953
|
let t = localStorage.getItem("auth");
|
|
954
|
-
return t !== "" && t !== "undefined" && t !== null ? t : (
|
|
954
|
+
return t !== "" && t !== "undefined" && t !== null ? t : (Y(), !1);
|
|
955
955
|
}
|
|
956
|
-
function
|
|
957
|
-
const [t, n] =
|
|
956
|
+
function Ir() {
|
|
957
|
+
const [t, n] = g.useState(We()), s = (i) => {
|
|
958
958
|
n(i);
|
|
959
959
|
};
|
|
960
|
-
return
|
|
960
|
+
return w.page = s, [t];
|
|
961
961
|
}
|
|
962
962
|
function Pr(t) {
|
|
963
|
-
l.page = t, sessionStorage.setItem("page",
|
|
963
|
+
l.page = t, sessionStorage.setItem("page", R.enCode(l)), w.page(t);
|
|
964
964
|
}
|
|
965
965
|
function We() {
|
|
966
966
|
return l.page;
|
|
967
967
|
}
|
|
968
|
-
function
|
|
969
|
-
|
|
968
|
+
function Or() {
|
|
969
|
+
const [t, n] = g.useState(Ye()), s = (i) => {
|
|
970
|
+
n(i);
|
|
971
|
+
};
|
|
972
|
+
return w.module = s, [t];
|
|
970
973
|
}
|
|
971
|
-
function
|
|
972
|
-
l.module = t, sessionStorage.setItem("page",
|
|
974
|
+
function $r(t, n) {
|
|
975
|
+
l.module = t, sessionStorage.setItem("page", R.enCode(l)), n !== "false" && w.module(t);
|
|
973
976
|
}
|
|
974
|
-
function
|
|
977
|
+
function Ye() {
|
|
975
978
|
return l.module;
|
|
976
979
|
}
|
|
977
980
|
function Ar(t) {
|
|
978
|
-
|
|
981
|
+
w.tabs = t;
|
|
979
982
|
}
|
|
980
983
|
function zr(t, n) {
|
|
981
|
-
l.tab = t, sessionStorage.setItem("page",
|
|
984
|
+
l.tab = t, sessionStorage.setItem("page", R.enCode(l)), n !== "false" && w.tabs(t);
|
|
982
985
|
}
|
|
983
986
|
function Nr() {
|
|
984
987
|
return l.tab;
|
|
985
988
|
}
|
|
986
989
|
function Dr() {
|
|
987
|
-
const [t, n] =
|
|
990
|
+
const [t, n] = g.useState(l.id), s = (i) => {
|
|
988
991
|
n(i);
|
|
989
992
|
};
|
|
990
|
-
return
|
|
993
|
+
return w.id = s, [t];
|
|
991
994
|
}
|
|
992
995
|
function Fr(t) {
|
|
993
|
-
|
|
996
|
+
w.id = t;
|
|
994
997
|
}
|
|
995
998
|
function Mr(t, n) {
|
|
996
|
-
l.id = t, sessionStorage.setItem("page",
|
|
999
|
+
l.id = t, sessionStorage.setItem("page", R.enCode(l)), n !== "false" && w.id(t);
|
|
997
1000
|
}
|
|
998
1001
|
function Lr() {
|
|
999
1002
|
return l.id;
|
|
1000
1003
|
}
|
|
1001
|
-
function Wr(t, n,
|
|
1002
|
-
l.module = t, l.id =
|
|
1004
|
+
function Wr(t, n, s) {
|
|
1005
|
+
l.module = t, l.id = s, l.tab = n, sessionStorage.setItem("page", R.enCode(l)), w.module(t), w.tabs(n);
|
|
1003
1006
|
}
|
|
1004
1007
|
function Yr(t, n) {
|
|
1005
|
-
De.data[t] = n, localStorage.setItem("sett",
|
|
1008
|
+
De.data[t] = n, localStorage.setItem("sett", R.enCode(De.data));
|
|
1006
1009
|
}
|
|
1007
1010
|
function Ur(t) {
|
|
1008
1011
|
let n = localStorage.getItem("sett");
|
|
1009
|
-
return n === null ? {} : (n =
|
|
1012
|
+
return n === null ? {} : (n = R.deCode(n), n ? t !== void 0 ? n[t] : n : Y());
|
|
1013
|
+
}
|
|
1014
|
+
function Vr(t) {
|
|
1015
|
+
localStorage.setItem("menu", R.enCode({ data: t }));
|
|
1016
|
+
}
|
|
1017
|
+
function Br() {
|
|
1018
|
+
let t = localStorage.getItem("menu");
|
|
1019
|
+
if (t !== "" && t !== "undefined" && t !== null) {
|
|
1020
|
+
let n = localStorage.getItem("menu"), s = R.deCode(n);
|
|
1021
|
+
s || Y();
|
|
1022
|
+
const i = (h, k) => {
|
|
1023
|
+
let b = k + "";
|
|
1024
|
+
for (; b.length < h; )
|
|
1025
|
+
b = "0" + b;
|
|
1026
|
+
return b;
|
|
1027
|
+
};
|
|
1028
|
+
return s.data.split(",").map((h) => "M" + i(2, h));
|
|
1029
|
+
} else
|
|
1030
|
+
return Y(), !1;
|
|
1010
1031
|
}
|
|
1011
|
-
const
|
|
1012
|
-
/* @__PURE__ */ r.jsx(
|
|
1013
|
-
/* @__PURE__ */ r.jsx(
|
|
1014
|
-
/* @__PURE__ */ r.jsx(
|
|
1032
|
+
const qr = ({ children: t, config: n, crypto: s, ...i }) => Sr(s, /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
1033
|
+
/* @__PURE__ */ r.jsx(Cr.Init, { config: n.modal }),
|
|
1034
|
+
/* @__PURE__ */ r.jsx($t, {}),
|
|
1035
|
+
/* @__PURE__ */ r.jsx(Vt, {}),
|
|
1015
1036
|
t
|
|
1016
|
-
] })),
|
|
1037
|
+
] })), Hr = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("menu", { children: t }), Jr = ({ children: t, ...n }) => /* @__PURE__ */ r.jsxs("header", { children: [
|
|
1017
1038
|
"xz",
|
|
1018
1039
|
t
|
|
1019
|
-
] }),
|
|
1020
|
-
payment:
|
|
1040
|
+
] }), Gr = "_payment_1lxfv_1", Zr = {
|
|
1041
|
+
payment: Gr
|
|
1021
1042
|
};
|
|
1022
|
-
function
|
|
1023
|
-
let [t, n] =
|
|
1024
|
-
return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className:
|
|
1043
|
+
function Kr() {
|
|
1044
|
+
let [t, n] = g.useState({});
|
|
1045
|
+
return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className: Zr.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
1025
1046
|
}
|
|
1026
|
-
const
|
|
1027
|
-
let
|
|
1028
|
-
return
|
|
1029
|
-
/* @__PURE__ */ r.jsx(
|
|
1030
|
-
/* @__PURE__ */ r.jsx(
|
|
1031
|
-
/* @__PURE__ */ r.jsx(
|
|
1032
|
-
/* @__PURE__ */ r.jsx(
|
|
1047
|
+
const wn = ({ children: t, ...n }) => {
|
|
1048
|
+
let s = {};
|
|
1049
|
+
return s.enCode = (i) => JSON.stringify(i).toString(), s.deCode = (i) => JSON.parse(i), /* @__PURE__ */ r.jsxs("div", { className: "app", children: [
|
|
1050
|
+
/* @__PURE__ */ r.jsx(Kr, {}),
|
|
1051
|
+
/* @__PURE__ */ r.jsx(Hr, {}),
|
|
1052
|
+
/* @__PURE__ */ r.jsx(Jr, {}),
|
|
1053
|
+
/* @__PURE__ */ r.jsx(qr, { config: { modal: {} }, crypto: s }),
|
|
1033
1054
|
t
|
|
1034
1055
|
] });
|
|
1035
|
-
},
|
|
1036
|
-
|
|
1056
|
+
}, Xr = ({ list: t, onClick: n, active: s, size: i, view: _ }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, _].join(" "), children: t.map((h) => /* @__PURE__ */ r.jsx(
|
|
1057
|
+
Qr,
|
|
1037
1058
|
{
|
|
1038
1059
|
onClick: n,
|
|
1039
|
-
active:
|
|
1040
|
-
label:
|
|
1041
|
-
link:
|
|
1060
|
+
active: s,
|
|
1061
|
+
label: h.label,
|
|
1062
|
+
link: h.link
|
|
1042
1063
|
},
|
|
1043
|
-
|
|
1044
|
-
)) }) }),
|
|
1045
|
-
|
|
1046
|
-
const
|
|
1064
|
+
h.link
|
|
1065
|
+
)) }) }), Qr = ({ onClick: t, label: n, link: s, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === s), onClick: () => t(s), children: n });
|
|
1066
|
+
Xr.defaultProps = { size: "M", view: "H" };
|
|
1067
|
+
const en = ({
|
|
1047
1068
|
title: t = "",
|
|
1048
1069
|
button: n,
|
|
1049
|
-
description:
|
|
1070
|
+
description: s = "",
|
|
1050
1071
|
children: i
|
|
1051
1072
|
}) => /* @__PURE__ */ r.jsxs("fieldset", { children: [
|
|
1052
1073
|
t && /* @__PURE__ */ r.jsxs("legend", { children: [
|
|
@@ -1062,22 +1083,22 @@ const Xr = ({
|
|
|
1062
1083
|
" "
|
|
1063
1084
|
] }),
|
|
1064
1085
|
/* @__PURE__ */ r.jsx("ul", { children: i }),
|
|
1065
|
-
|
|
1066
|
-
] }),
|
|
1067
|
-
setting:
|
|
1068
|
-
},
|
|
1069
|
-
let [
|
|
1086
|
+
s && /* @__PURE__ */ r.jsx("article", { children: s })
|
|
1087
|
+
] }), tn = "_setting_1r0pc_2", rn = {
|
|
1088
|
+
setting: tn
|
|
1089
|
+
}, nn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: rn.setting, children: t }), an = ({ label: t, children: n }) => {
|
|
1090
|
+
let [s, i] = g.useState(!1);
|
|
1070
1091
|
return /* @__PURE__ */ r.jsxs("li", { "data-item": "accordion", children: [
|
|
1071
|
-
/* @__PURE__ */ r.jsxs("dl", { onClick: () => i(!
|
|
1092
|
+
/* @__PURE__ */ r.jsxs("dl", { onClick: () => i(!s), children: [
|
|
1072
1093
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1073
|
-
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx("div", { "data-close": String(
|
|
1094
|
+
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx("div", { "data-close": String(s) }) })
|
|
1074
1095
|
] }),
|
|
1075
|
-
|
|
1096
|
+
s && /* @__PURE__ */ r.jsx("div", { children: n })
|
|
1076
1097
|
] });
|
|
1077
|
-
},
|
|
1098
|
+
}, sn = ({ label: t, onClick: n, button: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1078
1099
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1079
|
-
/* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => n(), children:
|
|
1080
|
-
] }) }),
|
|
1100
|
+
/* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => n(), children: s })
|
|
1101
|
+
] }) }), on = ({ active: t, onClick: n }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ r.jsx(
|
|
1081
1102
|
"div",
|
|
1082
1103
|
{
|
|
1083
1104
|
role: "switch",
|
|
@@ -1086,52 +1107,52 @@ const Xr = ({
|
|
|
1086
1107
|
},
|
|
1087
1108
|
"aria-checked": t ? "true" : "false"
|
|
1088
1109
|
}
|
|
1089
|
-
)),
|
|
1110
|
+
)), cn = { Switch: on }, ln = ({ label: t, onClick: n, active: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1090
1111
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1091
|
-
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(
|
|
1092
|
-
] }) }),
|
|
1112
|
+
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(cn.Switch, { onClick: n, active: s }) })
|
|
1113
|
+
] }) }), un = ({ label: t, active: n, options: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1093
1114
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1094
1115
|
/* @__PURE__ */ r.jsx("dd", { role: "info", children: n })
|
|
1095
|
-
] }) }),
|
|
1116
|
+
] }) }), fn = ({ label: t, info: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1096
1117
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1097
1118
|
/* @__PURE__ */ r.jsx("dd", { role: "info", children: n })
|
|
1098
|
-
] }) }),
|
|
1119
|
+
] }) }), dn = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1099
1120
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1100
1121
|
/* @__PURE__ */ r.jsx("dd", { children: n })
|
|
1101
|
-
] }) }),
|
|
1122
|
+
] }) }), mn = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1102
1123
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1103
1124
|
/* @__PURE__ */ r.jsx("dd", { children: n })
|
|
1104
|
-
] }) }),
|
|
1105
|
-
function
|
|
1106
|
-
return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i,
|
|
1107
|
-
|
|
1125
|
+
] }) }), _n = { Accordion: an, Button: sn, Switch: ln, Info: fn, Select: un, Component: dn, Node: mn };
|
|
1126
|
+
function Ue({ list: t, onClick: n, active: s, size: i, view: _ }) {
|
|
1127
|
+
return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, _].join(" "), children: t.map((h) => /* @__PURE__ */ r.jsx(
|
|
1128
|
+
vn,
|
|
1108
1129
|
{
|
|
1109
1130
|
onClick: n,
|
|
1110
|
-
active:
|
|
1111
|
-
label:
|
|
1112
|
-
link:
|
|
1131
|
+
active: s,
|
|
1132
|
+
label: h.label,
|
|
1133
|
+
link: h.link
|
|
1113
1134
|
},
|
|
1114
|
-
|
|
1135
|
+
h.link
|
|
1115
1136
|
)) }) });
|
|
1116
1137
|
}
|
|
1117
|
-
const
|
|
1118
|
-
|
|
1119
|
-
const
|
|
1120
|
-
h:
|
|
1121
|
-
t:
|
|
1122
|
-
s:
|
|
1123
|
-
u:
|
|
1124
|
-
o:
|
|
1125
|
-
l:
|
|
1126
|
-
hh:
|
|
1138
|
+
const vn = ({ onClick: t, label: n, link: s, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === s), onClick: () => t(s), children: n });
|
|
1139
|
+
Ue.defaultProps = { size: "M", view: "H" };
|
|
1140
|
+
const kn = { Section: en, Main: nn, Item: _n, Tabs: Ue }, hn = "_h_1b5x7_1", xn = "_t_1b5x7_10", pn = "_s_1b5x7_28", gn = "_u_1b5x7_37", bn = "_o_1b5x7_44", jn = "_l_1b5x7_53", yn = "_hh_1b5x7_60", D = {
|
|
1141
|
+
h: hn,
|
|
1142
|
+
t: xn,
|
|
1143
|
+
s: pn,
|
|
1144
|
+
u: gn,
|
|
1145
|
+
o: bn,
|
|
1146
|
+
l: jn,
|
|
1147
|
+
hh: yn
|
|
1127
1148
|
}, Fe = ({ title: t, children: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.h, children: [
|
|
1128
1149
|
/* @__PURE__ */ r.jsx("div", { className: D.t, children: t }),
|
|
1129
1150
|
n
|
|
1130
|
-
] }),
|
|
1151
|
+
] }), Cn = ({ children: t, title: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.o, children: [
|
|
1131
1152
|
n && /* @__PURE__ */ r.jsx("div", { className: D.hh, children: n }),
|
|
1132
1153
|
t
|
|
1133
|
-
] }),
|
|
1134
|
-
function
|
|
1154
|
+
] }), Sn = ({ 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 }), Tn = { Header: Fe, Section: Me, List: Le, U: Sn, L: Le, O: Cn, S: Me, H: Fe }, In = { Send: At, Error: zt, Remark: Dt, Success: Nt, Copy: Ft }, Pn = { Send: qt };
|
|
1155
|
+
function En() {
|
|
1135
1156
|
return /* @__PURE__ */ r.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ r.jsx(
|
|
1136
1157
|
"path",
|
|
1137
1158
|
{
|
|
@@ -1140,19 +1161,19 @@ function Cn() {
|
|
|
1140
1161
|
}
|
|
1141
1162
|
) });
|
|
1142
1163
|
}
|
|
1143
|
-
const
|
|
1164
|
+
const On = { Logo: En }, $n = { setSSID: Rr, getSSID: wr, Logaut: Y, setAUTH: kr, getAUTH: Tr, Start: Er, setSetting: Yr, getSetting: Ur, setMenu: Vr, getMenu: Br }, An = { Path: Wr, setPage: Pr, getPage: We, usePage: Ir, setModule: $r, getModule: Ye, useModule: Or, setTabs: zr, getTabs: Nr, useTabs: Ar, useId: Dr, setId: Mr, subId: Fr, getId: Lr };
|
|
1144
1165
|
export {
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1166
|
+
cn as Action,
|
|
1167
|
+
Pn as Alert,
|
|
1168
|
+
wn as Browser,
|
|
1169
|
+
Gt as Button,
|
|
1170
|
+
Tn as Component,
|
|
1171
|
+
On as Icon,
|
|
1172
|
+
qr as Init,
|
|
1173
|
+
Cr as Modal,
|
|
1174
|
+
In as Notice,
|
|
1175
|
+
An as Router,
|
|
1176
|
+
kn as Setting,
|
|
1177
|
+
$n as Store,
|
|
1178
|
+
Xr as Tabs
|
|
1158
1179
|
};
|