elcrm 0.1.8 → 0.2.0
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 +579 -534
- package/dist/index.umd.js +11 -11
- package/dist/lib/Router/index.d.ts +8 -0
- package/dist/lib/Store/Store.d.ts +10 -0
- package/dist/lib/Store/index.d.ts +10 -0
- package/dist/lib/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
|
-
import
|
|
3
|
-
var
|
|
2
|
+
import C from "react";
|
|
3
|
+
var oe = { exports: {} }, Y = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,25 +10,25 @@ var ae = { exports: {} }, W = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
for (
|
|
23
|
-
|
|
24
|
-
if (
|
|
25
|
-
for (
|
|
26
|
-
j[
|
|
27
|
-
return { $$typeof:
|
|
13
|
+
var Ae;
|
|
14
|
+
function Cr() {
|
|
15
|
+
if (Ae)
|
|
16
|
+
return Y;
|
|
17
|
+
Ae = 1;
|
|
18
|
+
var r = C, a = Symbol.for("react.element"), s = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, v = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function I(S, h, T) {
|
|
20
|
+
var g, j = {}, R = null, q = null;
|
|
21
|
+
T !== void 0 && (R = "" + T), h.key !== void 0 && (R = "" + h.key), h.ref !== void 0 && (q = h.ref);
|
|
22
|
+
for (g in h)
|
|
23
|
+
i.call(h, g) && !p.hasOwnProperty(g) && (j[g] = h[g]);
|
|
24
|
+
if (S && S.defaultProps)
|
|
25
|
+
for (g in h = S.defaultProps, h)
|
|
26
|
+
j[g] === void 0 && (j[g] = h[g]);
|
|
27
|
+
return { $$typeof: a, type: S, key: R, ref: q, props: j, _owner: v.current };
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return Y.Fragment = s, Y.jsx = I, Y.jsxs = I, Y;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var U = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.development.js
|
|
@@ -38,54 +38,54 @@ var Y = {};
|
|
|
38
38
|
* This source code is licensed under the MIT license found in the
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
|
-
var
|
|
42
|
-
function
|
|
43
|
-
return
|
|
44
|
-
var
|
|
45
|
-
function
|
|
41
|
+
var ze;
|
|
42
|
+
function Er() {
|
|
43
|
+
return ze || (ze = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var r = C, a = Symbol.for("react.element"), s = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), I = Symbol.for("react.provider"), S = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), q = Symbol.for("react.offscreen"), le = Symbol.iterator, Ye = "@@iterator";
|
|
45
|
+
function Ue(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var n =
|
|
48
|
+
var n = le && e[le] || e[Ye];
|
|
49
49
|
return typeof n == "function" ? n : null;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var N = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
52
|
function b(e) {
|
|
53
53
|
{
|
|
54
|
-
for (var n = arguments.length,
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), c = 1; c < n; c++)
|
|
55
|
+
o[c - 1] = arguments[c];
|
|
56
|
+
Ve("error", e, o);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Ve(e, n, o) {
|
|
60
60
|
{
|
|
61
|
-
var
|
|
62
|
-
f !== "" && (n += "%s",
|
|
63
|
-
var d =
|
|
61
|
+
var c = N.ReactDebugCurrentFrame, f = c.getStackAddendum();
|
|
62
|
+
f !== "" && (n += "%s", o = o.concat([f]));
|
|
63
|
+
var d = o.map(function(u) {
|
|
64
64
|
return String(u);
|
|
65
65
|
});
|
|
66
66
|
d.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, d);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
69
|
+
var Be = !1, qe = !1, He = !1, Je = !1, Ge = !1, ue;
|
|
70
|
+
ue = Symbol.for("react.module.reference");
|
|
71
|
+
function Ze(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === p || Ge || e === v || e === T || e === g || Je || e === q || Be || qe || He || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === j || e.$$typeof === I || e.$$typeof === S || e.$$typeof === h || // 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
|
-
e.$$typeof ===
|
|
76
|
+
e.$$typeof === ue || e.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
var
|
|
80
|
-
if (
|
|
81
|
-
return
|
|
78
|
+
function Ke(e, n, o) {
|
|
79
|
+
var c = e.displayName;
|
|
80
|
+
if (c)
|
|
81
|
+
return c;
|
|
82
82
|
var f = n.displayName || n.name || "";
|
|
83
|
-
return f !== "" ?
|
|
83
|
+
return f !== "" ? o + "(" + f + ")" : o;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function fe(e) {
|
|
86
86
|
return e.displayName || "Context";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function k(e) {
|
|
89
89
|
if (e == null)
|
|
90
90
|
return null;
|
|
91
91
|
if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -93,36 +93,36 @@ function br() {
|
|
|
93
93
|
if (typeof e == "string")
|
|
94
94
|
return e;
|
|
95
95
|
switch (e) {
|
|
96
|
-
case
|
|
96
|
+
case i:
|
|
97
97
|
return "Fragment";
|
|
98
|
-
case
|
|
98
|
+
case s:
|
|
99
99
|
return "Portal";
|
|
100
|
-
case
|
|
100
|
+
case p:
|
|
101
101
|
return "Profiler";
|
|
102
102
|
case v:
|
|
103
103
|
return "StrictMode";
|
|
104
|
-
case
|
|
104
|
+
case T:
|
|
105
105
|
return "Suspense";
|
|
106
|
-
case
|
|
106
|
+
case g:
|
|
107
107
|
return "SuspenseList";
|
|
108
108
|
}
|
|
109
109
|
if (typeof e == "object")
|
|
110
110
|
switch (e.$$typeof) {
|
|
111
|
-
case
|
|
111
|
+
case S:
|
|
112
112
|
var n = e;
|
|
113
|
-
return
|
|
114
|
-
case
|
|
115
|
-
var
|
|
116
|
-
return
|
|
117
|
-
case
|
|
118
|
-
return
|
|
113
|
+
return fe(n) + ".Consumer";
|
|
114
|
+
case I:
|
|
115
|
+
var o = e;
|
|
116
|
+
return fe(o._context) + ".Provider";
|
|
117
|
+
case h:
|
|
118
|
+
return Ke(e, e.render, "ForwardRef");
|
|
119
119
|
case j:
|
|
120
|
-
var
|
|
121
|
-
return
|
|
120
|
+
var c = e.displayName || null;
|
|
121
|
+
return c !== null ? c : k(e.type) || "Memo";
|
|
122
122
|
case R: {
|
|
123
123
|
var f = e, d = f._payload, u = f._init;
|
|
124
124
|
try {
|
|
125
|
-
return
|
|
125
|
+
return k(u(d));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -130,18 +130,18 @@ function br() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var $ = Object.assign,
|
|
134
|
-
function
|
|
133
|
+
var $ = Object.assign, M = 0, de, _e, ve, me, he, xe, pe;
|
|
134
|
+
function ge() {
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
function
|
|
136
|
+
ge.__reactDisabledLog = !0;
|
|
137
|
+
function Xe() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
140
|
-
|
|
139
|
+
if (M === 0) {
|
|
140
|
+
de = console.log, _e = console.info, ve = console.warn, me = console.error, he = console.group, xe = console.groupCollapsed, pe = console.groupEnd;
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
|
-
value:
|
|
144
|
+
value: ge,
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
@@ -154,12 +154,12 @@ function br() {
|
|
|
154
154
|
groupEnd: e
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
M++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Qe() {
|
|
161
161
|
{
|
|
162
|
-
if (
|
|
162
|
+
if (M--, M === 0) {
|
|
163
163
|
var e = {
|
|
164
164
|
configurable: !0,
|
|
165
165
|
enumerable: !0,
|
|
@@ -167,64 +167,64 @@ function br() {
|
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
169
|
log: $({}, e, {
|
|
170
|
-
value:
|
|
170
|
+
value: de
|
|
171
171
|
}),
|
|
172
172
|
info: $({}, e, {
|
|
173
|
-
value:
|
|
173
|
+
value: _e
|
|
174
174
|
}),
|
|
175
175
|
warn: $({}, e, {
|
|
176
|
-
value:
|
|
176
|
+
value: ve
|
|
177
177
|
}),
|
|
178
178
|
error: $({}, e, {
|
|
179
|
-
value:
|
|
179
|
+
value: me
|
|
180
180
|
}),
|
|
181
181
|
group: $({}, e, {
|
|
182
|
-
value:
|
|
182
|
+
value: he
|
|
183
183
|
}),
|
|
184
184
|
groupCollapsed: $({}, e, {
|
|
185
|
-
value:
|
|
185
|
+
value: xe
|
|
186
186
|
}),
|
|
187
187
|
groupEnd: $({}, e, {
|
|
188
|
-
value:
|
|
188
|
+
value: pe
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
M < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
195
|
+
var X = N.ReactCurrentDispatcher, Q;
|
|
196
|
+
function H(e, n, o) {
|
|
197
197
|
{
|
|
198
|
-
if (
|
|
198
|
+
if (Q === void 0)
|
|
199
199
|
try {
|
|
200
200
|
throw Error();
|
|
201
201
|
} catch (f) {
|
|
202
|
-
var
|
|
203
|
-
|
|
202
|
+
var c = f.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
+
Q = c && c[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
206
|
-
` +
|
|
206
|
+
` + Q + e;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var ee = !1, J;
|
|
210
210
|
{
|
|
211
|
-
var
|
|
212
|
-
J = new
|
|
211
|
+
var er = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
J = new er();
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
if (!e ||
|
|
214
|
+
function je(e, n) {
|
|
215
|
+
if (!e || ee)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
|
-
var
|
|
219
|
-
if (
|
|
220
|
-
return
|
|
218
|
+
var o = J.get(e);
|
|
219
|
+
if (o !== void 0)
|
|
220
|
+
return o;
|
|
221
221
|
}
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var c;
|
|
223
|
+
ee = !0;
|
|
224
224
|
var f = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
226
|
var d;
|
|
227
|
-
d =
|
|
227
|
+
d = X.current, X.current = null, Xe();
|
|
228
228
|
try {
|
|
229
229
|
if (n) {
|
|
230
230
|
var u = function() {
|
|
@@ -237,197 +237,197 @@ function br() {
|
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
239
|
Reflect.construct(u, []);
|
|
240
|
-
} catch (
|
|
241
|
-
|
|
240
|
+
} catch (w) {
|
|
241
|
+
c = w;
|
|
242
242
|
}
|
|
243
243
|
Reflect.construct(e, [], u);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
246
|
u.call();
|
|
247
|
-
} catch (
|
|
248
|
-
|
|
247
|
+
} catch (w) {
|
|
248
|
+
c = w;
|
|
249
249
|
}
|
|
250
250
|
e.call(u.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
|
|
255
|
+
} catch (w) {
|
|
256
|
+
c = w;
|
|
257
257
|
}
|
|
258
258
|
e();
|
|
259
259
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var l =
|
|
263
|
-
`),
|
|
264
|
-
`), _ = l.length - 1,
|
|
265
|
-
|
|
266
|
-
for (; _ >= 1 &&
|
|
267
|
-
if (l[_] !==
|
|
268
|
-
if (_ !== 1 ||
|
|
260
|
+
} catch (w) {
|
|
261
|
+
if (w && c && typeof w.stack == "string") {
|
|
262
|
+
for (var l = w.stack.split(`
|
|
263
|
+
`), y = c.stack.split(`
|
|
264
|
+
`), _ = l.length - 1, m = y.length - 1; _ >= 1 && m >= 0 && l[_] !== y[m]; )
|
|
265
|
+
m--;
|
|
266
|
+
for (; _ >= 1 && m >= 0; _--, m--)
|
|
267
|
+
if (l[_] !== y[m]) {
|
|
268
|
+
if (_ !== 1 || m !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (_--,
|
|
271
|
-
var
|
|
270
|
+
if (_--, m--, m < 0 || l[_] !== y[m]) {
|
|
271
|
+
var E = `
|
|
272
272
|
` + l[_].replace(" at new ", " at ");
|
|
273
|
-
return e.displayName &&
|
|
273
|
+
return e.displayName && E.includes("<anonymous>") && (E = E.replace("<anonymous>", e.displayName)), typeof e == "function" && J.set(e, E), E;
|
|
274
274
|
}
|
|
275
|
-
while (_ >= 1 &&
|
|
275
|
+
while (_ >= 1 && m >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
|
|
280
|
+
ee = !1, X.current = d, Qe(), Error.prepareStackTrace = f;
|
|
281
281
|
}
|
|
282
|
-
var
|
|
283
|
-
return typeof e == "function" && J.set(e,
|
|
282
|
+
var F = e ? e.displayName || e.name : "", $e = F ? H(F) : "";
|
|
283
|
+
return typeof e == "function" && J.set(e, $e), $e;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
return
|
|
285
|
+
function rr(e, n, o) {
|
|
286
|
+
return je(e, !1);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function tr(e) {
|
|
289
289
|
var n = e.prototype;
|
|
290
290
|
return !!(n && n.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function G(e, n, o) {
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
296
|
-
return
|
|
296
|
+
return je(e, tr(e));
|
|
297
297
|
if (typeof e == "string")
|
|
298
|
-
return
|
|
298
|
+
return H(e);
|
|
299
299
|
switch (e) {
|
|
300
|
-
case
|
|
301
|
-
return
|
|
302
|
-
case
|
|
303
|
-
return
|
|
300
|
+
case T:
|
|
301
|
+
return H("Suspense");
|
|
302
|
+
case g:
|
|
303
|
+
return H("SuspenseList");
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
|
-
case
|
|
308
|
-
return
|
|
307
|
+
case h:
|
|
308
|
+
return rr(e.render);
|
|
309
309
|
case j:
|
|
310
|
-
return
|
|
310
|
+
return G(e.type, n, o);
|
|
311
311
|
case R: {
|
|
312
|
-
var
|
|
312
|
+
var c = e, f = c._payload, d = c._init;
|
|
313
313
|
try {
|
|
314
|
-
return
|
|
314
|
+
return G(d(f), n, o);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
321
|
+
var Z = Object.prototype.hasOwnProperty, be = {}, ye = N.ReactDebugCurrentFrame;
|
|
322
|
+
function K(e) {
|
|
323
323
|
if (e) {
|
|
324
|
-
var n = e._owner,
|
|
325
|
-
|
|
324
|
+
var n = e._owner, o = G(e.type, e._source, n ? n.type : null);
|
|
325
|
+
ye.setExtraStackFrame(o);
|
|
326
326
|
} else
|
|
327
|
-
|
|
327
|
+
ye.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function nr(e, n, o, c, f) {
|
|
330
330
|
{
|
|
331
|
-
var d = Function.call.bind(
|
|
331
|
+
var d = Function.call.bind(Z);
|
|
332
332
|
for (var u in e)
|
|
333
333
|
if (d(e, u)) {
|
|
334
334
|
var l = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof e[u] != "function") {
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
337
|
+
var y = Error((c || "React class") + ": " + o + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw y.name = "Invariant Violation", y;
|
|
339
339
|
}
|
|
340
|
-
l = e[u](n, u,
|
|
340
|
+
l = e[u](n, u, c, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
341
|
} catch (_) {
|
|
342
342
|
l = _;
|
|
343
343
|
}
|
|
344
|
-
l && !(l instanceof Error) && (
|
|
344
|
+
l && !(l instanceof Error) && (K(f), b("%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, u, typeof l), K(null)), l instanceof Error && !(l.message in be) && (be[l.message] = !0, K(f), b("Failed %s type: %s", o, l.message), K(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
return
|
|
348
|
+
var ar = Array.isArray;
|
|
349
|
+
function re(e) {
|
|
350
|
+
return ar(e);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function sr(e) {
|
|
353
353
|
{
|
|
354
|
-
var n = typeof Symbol == "function" && Symbol.toStringTag,
|
|
355
|
-
return
|
|
354
|
+
var n = typeof Symbol == "function" && Symbol.toStringTag, o = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
|
+
return o;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function or(e) {
|
|
359
359
|
try {
|
|
360
|
-
return
|
|
360
|
+
return Ce(e), !1;
|
|
361
361
|
} catch {
|
|
362
362
|
return !0;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Ce(e) {
|
|
366
366
|
return "" + e;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
370
|
-
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
368
|
+
function Ee(e) {
|
|
369
|
+
if (or(e))
|
|
370
|
+
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sr(e)), Ce(e);
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var W = N.ReactCurrentOwner, ir = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
function
|
|
380
|
-
if (
|
|
377
|
+
}, Se, Re, te;
|
|
378
|
+
te = {};
|
|
379
|
+
function cr(e) {
|
|
380
|
+
if (Z.call(e, "ref")) {
|
|
381
381
|
var n = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
382
|
if (n && n.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
385
|
return e.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
387
|
+
function lr(e) {
|
|
388
|
+
if (Z.call(e, "key")) {
|
|
389
389
|
var n = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
390
|
if (n && n.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
|
|
398
|
-
|
|
395
|
+
function ur(e, n) {
|
|
396
|
+
if (typeof e.ref == "string" && W.current && n && W.current.stateNode !== n) {
|
|
397
|
+
var o = k(W.current.type);
|
|
398
|
+
te[o] || (b('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', k(W.current.type), e.ref), te[o] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function fr(e, n) {
|
|
402
402
|
{
|
|
403
|
-
var
|
|
404
|
-
|
|
403
|
+
var o = function() {
|
|
404
|
+
Se || (Se = !0, b("%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)", n));
|
|
405
405
|
};
|
|
406
|
-
|
|
407
|
-
get:
|
|
406
|
+
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
407
|
+
get: o,
|
|
408
408
|
configurable: !0
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function dr(e, n) {
|
|
413
413
|
{
|
|
414
|
-
var
|
|
415
|
-
|
|
414
|
+
var o = function() {
|
|
415
|
+
Re || (Re = !0, b("%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)", n));
|
|
416
416
|
};
|
|
417
|
-
|
|
418
|
-
get:
|
|
417
|
+
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
418
|
+
get: o,
|
|
419
419
|
configurable: !0
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var
|
|
423
|
+
var _r = function(e, n, o, c, f, d, u) {
|
|
424
424
|
var l = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
|
-
$$typeof:
|
|
426
|
+
$$typeof: a,
|
|
427
427
|
// Built-in properties that belong on the element
|
|
428
428
|
type: e,
|
|
429
429
|
key: n,
|
|
430
|
-
ref:
|
|
430
|
+
ref: o,
|
|
431
431
|
props: u,
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
433
|
_owner: d
|
|
@@ -441,7 +441,7 @@ function br() {
|
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
|
-
value:
|
|
444
|
+
value: c
|
|
445
445
|
}), Object.defineProperty(l, "_source", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
@@ -449,41 +449,41 @@ function br() {
|
|
|
449
449
|
value: f
|
|
450
450
|
}), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
|
|
451
451
|
};
|
|
452
|
-
function
|
|
452
|
+
function vr(e, n, o, c, f) {
|
|
453
453
|
{
|
|
454
|
-
var d, u = {}, l = null,
|
|
455
|
-
|
|
454
|
+
var d, u = {}, l = null, y = null;
|
|
455
|
+
o !== void 0 && (Ee(o), l = "" + o), lr(n) && (Ee(n.key), l = "" + n.key), cr(n) && (y = n.ref, ur(n, f));
|
|
456
456
|
for (d in n)
|
|
457
|
-
|
|
457
|
+
Z.call(n, d) && !ir.hasOwnProperty(d) && (u[d] = n[d]);
|
|
458
458
|
if (e && e.defaultProps) {
|
|
459
459
|
var _ = e.defaultProps;
|
|
460
460
|
for (d in _)
|
|
461
461
|
u[d] === void 0 && (u[d] = _[d]);
|
|
462
462
|
}
|
|
463
|
-
if (l ||
|
|
464
|
-
var
|
|
465
|
-
l &&
|
|
463
|
+
if (l || y) {
|
|
464
|
+
var m = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
+
l && fr(u, m), y && dr(u, m);
|
|
466
466
|
}
|
|
467
|
-
return
|
|
467
|
+
return _r(e, l, y, f, c, W.current, u);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
function
|
|
470
|
+
var ne = N.ReactCurrentOwner, ke = N.ReactDebugCurrentFrame;
|
|
471
|
+
function D(e) {
|
|
472
472
|
if (e) {
|
|
473
|
-
var n = e._owner,
|
|
474
|
-
|
|
473
|
+
var n = e._owner, o = G(e.type, e._source, n ? n.type : null);
|
|
474
|
+
ke.setExtraStackFrame(o);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
ke.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
478
|
-
var
|
|
479
|
-
|
|
478
|
+
var ae;
|
|
479
|
+
ae = !1;
|
|
480
480
|
function se(e) {
|
|
481
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
481
|
+
return typeof e == "object" && e !== null && e.$$typeof === a;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function we() {
|
|
484
484
|
{
|
|
485
|
-
if (
|
|
486
|
-
var e =
|
|
485
|
+
if (ne.current) {
|
|
486
|
+
var e = k(ne.current.type);
|
|
487
487
|
if (e)
|
|
488
488
|
return `
|
|
489
489
|
|
|
@@ -492,222 +492,222 @@ Check the render method of \`` + e + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function mr(e) {
|
|
496
496
|
{
|
|
497
497
|
if (e !== void 0) {
|
|
498
|
-
var n = e.fileName.replace(/^.*[\\\/]/, ""),
|
|
498
|
+
var n = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
|
|
499
499
|
return `
|
|
500
500
|
|
|
501
|
-
Check your code at ` + n + ":" +
|
|
501
|
+
Check your code at ` + n + ":" + o + ".";
|
|
502
502
|
}
|
|
503
503
|
return "";
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
var
|
|
507
|
-
function
|
|
506
|
+
var Te = {};
|
|
507
|
+
function hr(e) {
|
|
508
508
|
{
|
|
509
|
-
var n =
|
|
509
|
+
var n = we();
|
|
510
510
|
if (!n) {
|
|
511
|
-
var
|
|
512
|
-
|
|
511
|
+
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
512
|
+
o && (n = `
|
|
513
513
|
|
|
514
|
-
Check the top-level render call using <` +
|
|
514
|
+
Check the top-level render call using <` + o + ">.");
|
|
515
515
|
}
|
|
516
516
|
return n;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Pe(e, n) {
|
|
520
520
|
{
|
|
521
521
|
if (!e._store || e._store.validated || e.key != null)
|
|
522
522
|
return;
|
|
523
523
|
e._store.validated = !0;
|
|
524
|
-
var
|
|
525
|
-
if (
|
|
524
|
+
var o = hr(n);
|
|
525
|
+
if (Te[o])
|
|
526
526
|
return;
|
|
527
|
-
|
|
528
|
-
var
|
|
529
|
-
e && e._owner && e._owner !==
|
|
527
|
+
Te[o] = !0;
|
|
528
|
+
var c = "";
|
|
529
|
+
e && e._owner && e._owner !== ne.current && (c = " It was passed a child from " + k(e._owner.type) + "."), D(e), b('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), D(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function Oe(e, n) {
|
|
533
533
|
{
|
|
534
534
|
if (typeof e != "object")
|
|
535
535
|
return;
|
|
536
|
-
if (
|
|
537
|
-
for (var
|
|
538
|
-
var
|
|
539
|
-
se(
|
|
536
|
+
if (re(e))
|
|
537
|
+
for (var o = 0; o < e.length; o++) {
|
|
538
|
+
var c = e[o];
|
|
539
|
+
se(c) && Pe(c, n);
|
|
540
540
|
}
|
|
541
541
|
else if (se(e))
|
|
542
542
|
e._store && (e._store.validated = !0);
|
|
543
543
|
else if (e) {
|
|
544
|
-
var f =
|
|
544
|
+
var f = Ue(e);
|
|
545
545
|
if (typeof f == "function" && f !== e.entries)
|
|
546
546
|
for (var d = f.call(e), u; !(u = d.next()).done; )
|
|
547
|
-
se(u.value) &&
|
|
547
|
+
se(u.value) && Pe(u.value, n);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function xr(e) {
|
|
552
552
|
{
|
|
553
553
|
var n = e.type;
|
|
554
554
|
if (n == null || typeof n == "string")
|
|
555
555
|
return;
|
|
556
|
-
var
|
|
556
|
+
var o;
|
|
557
557
|
if (typeof n == "function")
|
|
558
|
-
|
|
559
|
-
else if (typeof n == "object" && (n.$$typeof ===
|
|
558
|
+
o = n.propTypes;
|
|
559
|
+
else if (typeof n == "object" && (n.$$typeof === h || // Note: Memo only checks outer props here.
|
|
560
560
|
// Inner props are checked in the reconciler.
|
|
561
561
|
n.$$typeof === j))
|
|
562
|
-
|
|
562
|
+
o = n.propTypes;
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
|
-
if (
|
|
566
|
-
var
|
|
567
|
-
|
|
568
|
-
} else if (n.PropTypes !== void 0 && !
|
|
569
|
-
|
|
570
|
-
var f =
|
|
565
|
+
if (o) {
|
|
566
|
+
var c = k(n);
|
|
567
|
+
nr(o, e.props, "prop", c, e);
|
|
568
|
+
} else if (n.PropTypes !== void 0 && !ae) {
|
|
569
|
+
ae = !0;
|
|
570
|
+
var f = k(n);
|
|
571
571
|
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
572
572
|
}
|
|
573
573
|
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function pr(e) {
|
|
577
577
|
{
|
|
578
|
-
for (var n = Object.keys(e.props),
|
|
579
|
-
var
|
|
580
|
-
if (
|
|
581
|
-
|
|
578
|
+
for (var n = Object.keys(e.props), o = 0; o < n.length; o++) {
|
|
579
|
+
var c = n[o];
|
|
580
|
+
if (c !== "children" && c !== "key") {
|
|
581
|
+
D(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), D(null);
|
|
582
582
|
break;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
e.ref !== null && (
|
|
585
|
+
e.ref !== null && (D(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), D(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function Ie(e, n, o, c, f, d) {
|
|
589
589
|
{
|
|
590
|
-
var u =
|
|
590
|
+
var u = Ze(e);
|
|
591
591
|
if (!u) {
|
|
592
592
|
var l = "";
|
|
593
593
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
594
|
-
var
|
|
595
|
-
|
|
594
|
+
var y = mr(f);
|
|
595
|
+
y ? l += y : l += we();
|
|
596
596
|
var _;
|
|
597
|
-
e === null ? _ = "null" :
|
|
597
|
+
e === null ? _ = "null" : re(e) ? _ = "array" : e !== void 0 && e.$$typeof === a ? (_ = "<" + (k(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, l);
|
|
598
598
|
}
|
|
599
|
-
var
|
|
600
|
-
if (
|
|
601
|
-
return
|
|
599
|
+
var m = vr(e, n, o, f, d);
|
|
600
|
+
if (m == null)
|
|
601
|
+
return m;
|
|
602
602
|
if (u) {
|
|
603
|
-
var
|
|
604
|
-
if (
|
|
605
|
-
if (
|
|
606
|
-
if (
|
|
607
|
-
for (var
|
|
608
|
-
|
|
609
|
-
Object.freeze && Object.freeze(
|
|
603
|
+
var E = n.children;
|
|
604
|
+
if (E !== void 0)
|
|
605
|
+
if (c)
|
|
606
|
+
if (re(E)) {
|
|
607
|
+
for (var F = 0; F < E.length; F++)
|
|
608
|
+
Oe(E[F], e);
|
|
609
|
+
Object.freeze && Object.freeze(E);
|
|
610
610
|
} else
|
|
611
611
|
b("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
|
-
|
|
613
|
+
Oe(E, e);
|
|
614
614
|
}
|
|
615
|
-
return e ===
|
|
615
|
+
return e === i ? pr(m) : xr(m), m;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
return
|
|
618
|
+
function gr(e, n, o) {
|
|
619
|
+
return Ie(e, n, o, !0);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
621
|
+
function jr(e, n, o) {
|
|
622
|
+
return Ie(e, n, o, !1);
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
|
|
626
|
-
}()),
|
|
624
|
+
var br = jr, yr = gr;
|
|
625
|
+
U.Fragment = i, U.jsx = br, U.jsxs = yr;
|
|
626
|
+
}()), U;
|
|
627
627
|
}
|
|
628
|
-
process.env.NODE_ENV === "production" ?
|
|
629
|
-
var
|
|
630
|
-
const
|
|
631
|
-
notice:
|
|
632
|
-
error:
|
|
633
|
-
success:
|
|
634
|
-
remark:
|
|
635
|
-
copy:
|
|
628
|
+
process.env.NODE_ENV === "production" ? oe.exports = Cr() : oe.exports = Er();
|
|
629
|
+
var t = oe.exports;
|
|
630
|
+
const Sr = "_notice_820sc_2", Rr = "_error_820sc_9", kr = "_success_820sc_12", wr = "_remark_820sc_15", Tr = "_copy_820sc_18", Pr = {
|
|
631
|
+
notice: Sr,
|
|
632
|
+
error: Rr,
|
|
633
|
+
success: kr,
|
|
634
|
+
remark: wr,
|
|
635
|
+
copy: Tr,
|
|
636
636
|
"show-notice": "_show-notice_820sc_1",
|
|
637
637
|
"hide-notice": "_hide-notice_820sc_1"
|
|
638
638
|
};
|
|
639
639
|
let O = {};
|
|
640
|
-
function
|
|
641
|
-
let [
|
|
642
|
-
return O.set = (
|
|
643
|
-
|
|
644
|
-
}, O.del = (
|
|
645
|
-
|
|
646
|
-
},
|
|
640
|
+
function Or() {
|
|
641
|
+
let [r, a] = C.useState([]);
|
|
642
|
+
return O.set = (s) => {
|
|
643
|
+
a([...r, s]);
|
|
644
|
+
}, O.del = (s) => {
|
|
645
|
+
a(r.filter((i) => i.key !== s));
|
|
646
|
+
}, r.length === 0 ? "" : /* @__PURE__ */ t.jsx("ul", { className: Pr.notice, children: r.map((s) => s.item) });
|
|
647
647
|
}
|
|
648
|
-
function B({ data:
|
|
649
|
-
let [
|
|
650
|
-
|
|
648
|
+
function B({ data: r }) {
|
|
649
|
+
let [a, s] = C.useState("show");
|
|
650
|
+
C.useEffect(() => {
|
|
651
651
|
setTimeout(function() {
|
|
652
|
-
|
|
652
|
+
s("hide");
|
|
653
653
|
}, 1800), setTimeout(function() {
|
|
654
|
-
O.del(
|
|
654
|
+
O.del(r.key);
|
|
655
655
|
}, 2500);
|
|
656
|
-
}, [
|
|
657
|
-
let
|
|
658
|
-
switch (
|
|
656
|
+
}, [r.key]);
|
|
657
|
+
let i, v;
|
|
658
|
+
switch (r.type) {
|
|
659
659
|
case "error":
|
|
660
|
-
|
|
660
|
+
i = /* @__PURE__ */ t.jsx(A.error, {}), v = "Ошибка:";
|
|
661
661
|
break;
|
|
662
662
|
case "success":
|
|
663
|
-
|
|
663
|
+
i = /* @__PURE__ */ t.jsx(A.success, {}), v = "Информация:";
|
|
664
664
|
break;
|
|
665
665
|
case "copy":
|
|
666
|
-
|
|
666
|
+
i = /* @__PURE__ */ t.jsx(A.success, {}), v = "Копирование:";
|
|
667
667
|
break;
|
|
668
668
|
case "remark":
|
|
669
|
-
|
|
669
|
+
i = /* @__PURE__ */ t.jsx(A.success, {}), v = "Подсказка:";
|
|
670
670
|
break;
|
|
671
671
|
default:
|
|
672
|
-
|
|
672
|
+
i = /* @__PURE__ */ t.jsx(A.success, {}), v = "Предупреждение:";
|
|
673
673
|
break;
|
|
674
674
|
}
|
|
675
|
-
return /* @__PURE__ */
|
|
676
|
-
|
|
677
|
-
/* @__PURE__ */
|
|
678
|
-
/* @__PURE__ */
|
|
675
|
+
return /* @__PURE__ */ t.jsxs("li", { className: "item " + r.type, "data-status": a, children: [
|
|
676
|
+
i,
|
|
677
|
+
/* @__PURE__ */ t.jsx("b", { children: v }),
|
|
678
|
+
/* @__PURE__ */ t.jsx("p", { children: r.text })
|
|
679
679
|
] });
|
|
680
680
|
}
|
|
681
|
-
function
|
|
682
|
-
let
|
|
683
|
-
O.set({ item: /* @__PURE__ */
|
|
681
|
+
function Ir(r) {
|
|
682
|
+
let a = Date.now(), s = { key: a, ...r };
|
|
683
|
+
O.set({ item: /* @__PURE__ */ t.jsx(B, { data: s }, a), key: a });
|
|
684
684
|
}
|
|
685
|
-
function
|
|
686
|
-
let
|
|
687
|
-
O.set({ item: /* @__PURE__ */
|
|
685
|
+
function $r(r) {
|
|
686
|
+
let a = Date.now(), s = { key: a, text: r, type: "error" };
|
|
687
|
+
O.set({ item: /* @__PURE__ */ t.jsx(B, { data: s }, a), key: a });
|
|
688
688
|
}
|
|
689
|
-
function
|
|
690
|
-
let
|
|
691
|
-
O.set({ item: /* @__PURE__ */
|
|
689
|
+
function Ar(r) {
|
|
690
|
+
let a = Date.now(), s = { key: a, text: r, type: "success" };
|
|
691
|
+
O.set({ item: /* @__PURE__ */ t.jsx(B, { data: s }, a), key: a });
|
|
692
692
|
}
|
|
693
|
-
function
|
|
694
|
-
let
|
|
695
|
-
O.set({ item: /* @__PURE__ */
|
|
693
|
+
function zr(r) {
|
|
694
|
+
let a = Date.now(), s = { key: a, text: r, type: "remark" };
|
|
695
|
+
O.set({ item: /* @__PURE__ */ t.jsx(B, { data: s }, a), key: a });
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
let
|
|
699
|
-
O.set({ item: /* @__PURE__ */
|
|
697
|
+
function Nr(r) {
|
|
698
|
+
let a = Date.now(), s = { key: a, text: r, type: "copy" };
|
|
699
|
+
O.set({ item: /* @__PURE__ */ t.jsx(B, { data: s }, a), key: a });
|
|
700
700
|
}
|
|
701
|
-
const
|
|
702
|
-
|
|
703
|
-
/* @__PURE__ */
|
|
701
|
+
const A = {};
|
|
702
|
+
A.error = () => /* @__PURE__ */ t.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
703
|
+
/* @__PURE__ */ t.jsx(
|
|
704
704
|
"path",
|
|
705
705
|
{
|
|
706
706
|
d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
|
|
707
707
|
fill: "#bb2014"
|
|
708
708
|
}
|
|
709
709
|
),
|
|
710
|
-
/* @__PURE__ */
|
|
710
|
+
/* @__PURE__ */ t.jsx(
|
|
711
711
|
"path",
|
|
712
712
|
{
|
|
713
713
|
d: "M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",
|
|
@@ -715,15 +715,15 @@ z.error = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "non
|
|
|
715
715
|
}
|
|
716
716
|
)
|
|
717
717
|
] });
|
|
718
|
-
|
|
719
|
-
/* @__PURE__ */
|
|
718
|
+
A.success = () => /* @__PURE__ */ t.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
719
|
+
/* @__PURE__ */ t.jsx(
|
|
720
720
|
"path",
|
|
721
721
|
{
|
|
722
722
|
d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
|
|
723
723
|
fill: "#367738"
|
|
724
724
|
}
|
|
725
725
|
),
|
|
726
|
-
/* @__PURE__ */
|
|
726
|
+
/* @__PURE__ */ t.jsx(
|
|
727
727
|
"path",
|
|
728
728
|
{
|
|
729
729
|
d: "M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",
|
|
@@ -731,120 +731,120 @@ z.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 Dr = "_alerts_1e9y0_1", Fr = "_menuAnimation_1e9y0_1", Lr = "_menuItemAnimation_1e9y0_1", Mr = "_allert_1e9y0_111", Wr = {
|
|
735
|
+
alerts: Dr,
|
|
736
|
+
menuAnimation: Fr,
|
|
737
|
+
menuItemAnimation: Lr,
|
|
738
738
|
"--body": "_--body_1e9y0_103",
|
|
739
|
-
allert:
|
|
739
|
+
allert: Mr,
|
|
740
740
|
"--form": "_--form_1e9y0_111"
|
|
741
741
|
};
|
|
742
742
|
let V = {};
|
|
743
|
-
function
|
|
744
|
-
let [
|
|
745
|
-
return V.set = (
|
|
743
|
+
function Yr() {
|
|
744
|
+
let [r, a] = C.useState("");
|
|
745
|
+
return V.set = (s) => a(s), V.del = () => a(""), /* @__PURE__ */ t.jsx(t.Fragment, { children: r });
|
|
746
746
|
}
|
|
747
|
-
const
|
|
748
|
-
/* @__PURE__ */
|
|
749
|
-
/* @__PURE__ */
|
|
750
|
-
/* @__PURE__ */
|
|
751
|
-
/* @__PURE__ */
|
|
747
|
+
const Ur = ({ data: r, callback: a }) => (r.button = r.button === void 0 ? "Подтвердить" : r.button, /* @__PURE__ */ t.jsxs("div", { className: Wr.alerts, children: [
|
|
748
|
+
/* @__PURE__ */ t.jsxs("dl", { children: [
|
|
749
|
+
/* @__PURE__ */ t.jsx("dt", { children: r.title }),
|
|
750
|
+
/* @__PURE__ */ t.jsx("dd", { children: r.text }),
|
|
751
|
+
/* @__PURE__ */ t.jsx("ul", { children: /* @__PURE__ */ t.jsx(
|
|
752
752
|
"button",
|
|
753
753
|
{
|
|
754
|
-
"data-color":
|
|
754
|
+
"data-color": r.color || "blue",
|
|
755
755
|
onClick: () => {
|
|
756
|
-
|
|
756
|
+
a(), V.del();
|
|
757
757
|
},
|
|
758
|
-
children:
|
|
758
|
+
children: r.button
|
|
759
759
|
}
|
|
760
760
|
) })
|
|
761
761
|
] }),
|
|
762
|
-
/* @__PURE__ */
|
|
762
|
+
/* @__PURE__ */ t.jsx("div", { className: "--body", onClick: V.del })
|
|
763
763
|
] }));
|
|
764
|
-
function
|
|
765
|
-
V.set(/* @__PURE__ */
|
|
764
|
+
function Vr(r, a) {
|
|
765
|
+
V.set(/* @__PURE__ */ t.jsx(Ur, { data: r, callback: a }));
|
|
766
766
|
}
|
|
767
|
-
function
|
|
768
|
-
return /* @__PURE__ */
|
|
767
|
+
function Br({ children: r }) {
|
|
768
|
+
return /* @__PURE__ */ t.jsx("div", { className: "l", children: /* @__PURE__ */ t.jsx("ul", { children: r }) });
|
|
769
769
|
}
|
|
770
|
-
function
|
|
771
|
-
return /* @__PURE__ */
|
|
770
|
+
function qr({ children: r }) {
|
|
771
|
+
return /* @__PURE__ */ t.jsx("div", { className: "s", children: r });
|
|
772
772
|
}
|
|
773
|
-
const
|
|
774
|
-
children:
|
|
775
|
-
disabled:
|
|
776
|
-
label:
|
|
777
|
-
onClick:
|
|
773
|
+
const Hr = ({
|
|
774
|
+
children: r,
|
|
775
|
+
disabled: a,
|
|
776
|
+
label: s,
|
|
777
|
+
onClick: i
|
|
778
778
|
}) => {
|
|
779
|
-
const v = (
|
|
780
|
-
|
|
779
|
+
const v = (p) => {
|
|
780
|
+
a || i && i(p);
|
|
781
781
|
};
|
|
782
|
-
return /* @__PURE__ */
|
|
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:
|
|
782
|
+
return /* @__PURE__ */ t.jsx("button", { disabled: a, onClick: v, children: s });
|
|
783
|
+
}, Jr = "_white_6ax6z_14", Gr = "_black_6ax6z_26", Zr = "_shake_6ax6z_1", Kr = "_modal_6ax6z_73", Xr = "_o_6ax6z_83", Qr = "_w_6ax6z_14", et = "_h_6ax6z_106", rt = "_l_6ax6z_120", tt = "_t_6ax6z_158", nt = "_m_6ax6z_73", at = "_x_6ax6z_166", st = "_s_6ax6z_176", ot = "_c_6ax6z_181", it = "_f_6ax6z_186", ct = "_btn_6ax6z_229", lt = "_g_6ax6z_242", ut = "_confirm_6ax6z_320", ft = "_cancel_6ax6z_325", dt = "_disabled_6ax6z_330", _t = "_active_6ax6z_387", vt = "_coincidence_6ax6z_393", P = {
|
|
784
|
+
white: Jr,
|
|
785
|
+
black: Gr,
|
|
786
|
+
shake: Zr,
|
|
787
|
+
modal: Kr,
|
|
788
|
+
o: Xr,
|
|
789
|
+
w: Qr,
|
|
790
|
+
h: et,
|
|
791
|
+
l: rt,
|
|
792
|
+
t: tt,
|
|
793
|
+
m: nt,
|
|
794
|
+
x: at,
|
|
795
|
+
s: st,
|
|
796
|
+
c: ot,
|
|
797
|
+
f: it,
|
|
798
|
+
btn: ct,
|
|
799
|
+
g: lt,
|
|
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: ut,
|
|
807
|
+
cancel: ft,
|
|
808
|
+
disabled: dt,
|
|
809
809
|
await: "_await_6ax6z_337",
|
|
810
|
-
active:
|
|
811
|
-
coincidence:
|
|
810
|
+
active: _t,
|
|
811
|
+
coincidence: vt
|
|
812
812
|
};
|
|
813
|
-
let
|
|
814
|
-
const
|
|
815
|
-
let [
|
|
816
|
-
return
|
|
817
|
-
|
|
818
|
-
},
|
|
819
|
-
|
|
820
|
-
}, /* @__PURE__ */
|
|
821
|
-
},
|
|
822
|
-
children:
|
|
823
|
-
title:
|
|
824
|
-
button:
|
|
825
|
-
tabs:
|
|
813
|
+
let L = {};
|
|
814
|
+
const mt = ({ config: r }) => {
|
|
815
|
+
let [a, s] = C.useState([]);
|
|
816
|
+
return L.x = () => {
|
|
817
|
+
s([]);
|
|
818
|
+
}, L.config = r, L.add = (i) => {
|
|
819
|
+
s([...a, i]);
|
|
820
|
+
}, /* @__PURE__ */ t.jsx(t.Fragment, { children: a.map((i) => i) });
|
|
821
|
+
}, ht = ({
|
|
822
|
+
children: r,
|
|
823
|
+
title: a,
|
|
824
|
+
button: s,
|
|
825
|
+
tabs: i,
|
|
826
826
|
size: v = "m",
|
|
827
|
-
menu:
|
|
827
|
+
menu: p
|
|
828
828
|
}) => {
|
|
829
|
-
const [
|
|
830
|
-
if (
|
|
831
|
-
return
|
|
832
|
-
},
|
|
833
|
-
|
|
834
|
-
|
|
829
|
+
const [I, S] = C.useState(!0), h = C.useRef(), T = (j) => {
|
|
830
|
+
if (s && s.onClick)
|
|
831
|
+
return s.onClick({ closed: S, disabled: j });
|
|
832
|
+
}, g = () => {
|
|
833
|
+
h.current.setAttribute("shake", !0), setTimeout(() => {
|
|
834
|
+
h.current.setAttribute("shake", !1);
|
|
835
835
|
}, 1e3);
|
|
836
836
|
};
|
|
837
|
-
return /* @__PURE__ */
|
|
837
|
+
return /* @__PURE__ */ t.jsx(t.Fragment, { children: I ? /* @__PURE__ */ t.jsxs(
|
|
838
838
|
"div",
|
|
839
839
|
{
|
|
840
|
-
className: `${
|
|
840
|
+
className: `${P.modal} ${P.white}`,
|
|
841
841
|
children: [
|
|
842
|
-
/* @__PURE__ */
|
|
843
|
-
/* @__PURE__ */
|
|
844
|
-
/* @__PURE__ */
|
|
845
|
-
/* @__PURE__ */
|
|
846
|
-
/* @__PURE__ */
|
|
847
|
-
|
|
842
|
+
/* @__PURE__ */ t.jsx("div", { className: P.o, onClick: g }),
|
|
843
|
+
/* @__PURE__ */ t.jsxs("div", { className: P.w, ref: h, children: [
|
|
844
|
+
/* @__PURE__ */ t.jsxs("div", { className: P.h, children: [
|
|
845
|
+
/* @__PURE__ */ t.jsx("div", { className: P.t, children: a }),
|
|
846
|
+
/* @__PURE__ */ t.jsxs("div", { className: P.m, children: [
|
|
847
|
+
i && /* @__PURE__ */ t.jsx("nav", { children: i.map((j, R) => /* @__PURE__ */ t.jsx(
|
|
848
848
|
"span",
|
|
849
849
|
{
|
|
850
850
|
onClick: j.onClick,
|
|
@@ -853,46 +853,47 @@ const ft = ({ config: t }) => {
|
|
|
853
853
|
},
|
|
854
854
|
R
|
|
855
855
|
)) }),
|
|
856
|
-
|
|
856
|
+
p
|
|
857
857
|
] }),
|
|
858
|
-
/* @__PURE__ */
|
|
858
|
+
/* @__PURE__ */ t.jsx(
|
|
859
859
|
"div",
|
|
860
860
|
{
|
|
861
|
-
className:
|
|
861
|
+
className: P.x,
|
|
862
862
|
onClick: () => {
|
|
863
|
-
|
|
863
|
+
S(!1);
|
|
864
864
|
},
|
|
865
865
|
children: "x"
|
|
866
866
|
}
|
|
867
867
|
)
|
|
868
868
|
] }),
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
869
|
+
r,
|
|
870
|
+
s !== void 0 ? /* @__PURE__ */ t.jsx(
|
|
871
|
+
Hr,
|
|
872
872
|
{
|
|
873
|
-
label: String(
|
|
874
|
-
onClick:
|
|
873
|
+
label: String(s.name),
|
|
874
|
+
onClick: T
|
|
875
875
|
}
|
|
876
876
|
) : ""
|
|
877
877
|
] })
|
|
878
878
|
]
|
|
879
879
|
}
|
|
880
880
|
) : "" });
|
|
881
|
-
},
|
|
882
|
-
|
|
883
|
-
},
|
|
884
|
-
let [
|
|
885
|
-
return
|
|
886
|
-
|
|
887
|
-
}, [
|
|
888
|
-
},
|
|
889
|
-
|
|
890
|
-
},
|
|
891
|
-
let
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
881
|
+
}, xt = (r) => {
|
|
882
|
+
L.add(/* @__PURE__ */ t.jsx(pt, { children: r }, String(Date.now())));
|
|
883
|
+
}, pt = ({ children: r }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: r }), gt = ({ type: r, name: a, params: s }) => {
|
|
884
|
+
let [i, v] = C.useState(null);
|
|
885
|
+
return C.useEffect(() => {
|
|
886
|
+
L.config(r, a, s, v);
|
|
887
|
+
}, [s.id]), /* @__PURE__ */ t.jsx(t.Fragment, { children: i });
|
|
888
|
+
}, jt = (r, a, s) => {
|
|
889
|
+
L.config(r, a, s);
|
|
890
|
+
}, bt = { List: Br, Scroll: qr, Init: mt, Main: ht, Add: xt, Icon: gt, Open: jt };
|
|
891
|
+
let ie = {};
|
|
892
|
+
const x = {}, Le = {};
|
|
893
|
+
function yt({ crypto: r }) {
|
|
894
|
+
if (ie = r, localStorage.getItem("ssid")) {
|
|
895
|
+
let s = sessionStorage.getItem("page");
|
|
896
|
+
s ? (s = ie.deCode(s), x.id = s.id, x.tab = s.tab, x.page = s.page, x.module = s.module, x.time = s.time, x.payment = { active: !0 }, x.module_admin = s.module_admin) : (x.id = 0, x.tab = "", x.page = "Main", x.module = x.module || "M05");
|
|
896
897
|
} else
|
|
897
898
|
[
|
|
898
899
|
"ssid",
|
|
@@ -907,133 +908,175 @@ function pt({ crypto: t }) {
|
|
|
907
908
|
"port",
|
|
908
909
|
"mark",
|
|
909
910
|
"sort"
|
|
910
|
-
].forEach((
|
|
911
|
+
].forEach((s) => localStorage.removeItem(s)), ["page"].forEach((s) => sessionStorage.removeItem(s)), x.id = 0, x.tab = "", x.page = "Auth", x.module = "M00";
|
|
912
|
+
}
|
|
913
|
+
function ce() {
|
|
914
|
+
[
|
|
915
|
+
"ssid",
|
|
916
|
+
"menu",
|
|
917
|
+
"temp",
|
|
918
|
+
"user",
|
|
919
|
+
"sett",
|
|
920
|
+
"qder",
|
|
921
|
+
"firm",
|
|
922
|
+
"last",
|
|
923
|
+
"auth",
|
|
924
|
+
"port",
|
|
925
|
+
"mark",
|
|
926
|
+
"sort"
|
|
927
|
+
].forEach((r) => localStorage.removeItem(r)), ["page"].forEach((r) => sessionStorage.removeItem(r)), window.location.reload();
|
|
928
|
+
}
|
|
929
|
+
function Ct(r) {
|
|
930
|
+
return localStorage.setItem("ssid", r);
|
|
931
|
+
}
|
|
932
|
+
function Et() {
|
|
933
|
+
let r = localStorage.getItem("ssid");
|
|
934
|
+
return r !== "" && r !== "undefined" && r !== null ? localStorage.getItem("ssid") : (ce(), !1);
|
|
935
|
+
}
|
|
936
|
+
function St(r) {
|
|
937
|
+
return localStorage.setItem("auth", r);
|
|
911
938
|
}
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
939
|
+
function Rt() {
|
|
940
|
+
let r = localStorage.getItem("auth");
|
|
941
|
+
return r !== "" && r !== "undefined" && r !== null ? r : (ce(), !1);
|
|
942
|
+
}
|
|
943
|
+
function kt() {
|
|
944
|
+
const [r, a] = C.useState(Me()), s = (i) => {
|
|
945
|
+
a(i);
|
|
946
|
+
};
|
|
947
|
+
return Le.page = s, [r];
|
|
948
|
+
}
|
|
949
|
+
function wt(r) {
|
|
950
|
+
x.page = r, sessionStorage.setItem("page", ie.enCode(x)), Le.page(r);
|
|
951
|
+
}
|
|
952
|
+
function Me() {
|
|
953
|
+
return x.page;
|
|
954
|
+
}
|
|
955
|
+
const Tt = ({ children: r, config: a, crypto: s, ...i }) => (yt({ crypto: s }), /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
956
|
+
/* @__PURE__ */ t.jsx(bt.Init, { config: a.modal }),
|
|
957
|
+
/* @__PURE__ */ t.jsx(Or, {}),
|
|
958
|
+
/* @__PURE__ */ t.jsx(Yr, {}),
|
|
959
|
+
r
|
|
960
|
+
] })), Pt = ({ children: r, ...a }) => /* @__PURE__ */ t.jsx("menu", { children: r }), Ot = ({ children: r, ...a }) => /* @__PURE__ */ t.jsxs("header", { children: [
|
|
918
961
|
"xz",
|
|
919
|
-
|
|
920
|
-
] }),
|
|
921
|
-
payment:
|
|
962
|
+
r
|
|
963
|
+
] }), It = "_payment_1lxfv_1", $t = {
|
|
964
|
+
payment: It
|
|
922
965
|
};
|
|
923
|
-
function
|
|
924
|
-
let [
|
|
925
|
-
return !
|
|
966
|
+
function At() {
|
|
967
|
+
let [r, a] = C.useState({});
|
|
968
|
+
return !r.active && !r.payment ? "" : /* @__PURE__ */ t.jsx("div", { className: $t.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
926
969
|
}
|
|
927
|
-
const
|
|
928
|
-
let
|
|
929
|
-
return
|
|
930
|
-
/* @__PURE__ */
|
|
931
|
-
/* @__PURE__ */
|
|
932
|
-
/* @__PURE__ */
|
|
933
|
-
/* @__PURE__ */
|
|
934
|
-
|
|
970
|
+
const un = ({ children: r, ...a }) => {
|
|
971
|
+
let s = {};
|
|
972
|
+
return s.enCode = (i) => JSON.stringify(i).toString(), s.deCode = (i) => JSON.parse(i), /* @__PURE__ */ t.jsxs("div", { className: "app", children: [
|
|
973
|
+
/* @__PURE__ */ t.jsx(At, {}),
|
|
974
|
+
/* @__PURE__ */ t.jsx(Pt, {}),
|
|
975
|
+
/* @__PURE__ */ t.jsx(Ot, {}),
|
|
976
|
+
/* @__PURE__ */ t.jsx(Tt, { config: { modal: {} }, crypto: s }),
|
|
977
|
+
r
|
|
935
978
|
] });
|
|
936
|
-
},
|
|
937
|
-
|
|
979
|
+
}, zt = ({ list: r, onClick: a, active: s, size: i, view: v }) => /* @__PURE__ */ t.jsx("nav", { children: /* @__PURE__ */ t.jsx("ul", { className: [i, v].join(" "), children: r.map((p) => /* @__PURE__ */ t.jsx(
|
|
980
|
+
Nt,
|
|
938
981
|
{
|
|
939
|
-
onClick:
|
|
940
|
-
active:
|
|
941
|
-
label:
|
|
942
|
-
link:
|
|
982
|
+
onClick: a,
|
|
983
|
+
active: s,
|
|
984
|
+
label: p.label,
|
|
985
|
+
link: p.link
|
|
943
986
|
},
|
|
944
|
-
|
|
945
|
-
)) }) }),
|
|
946
|
-
|
|
947
|
-
const
|
|
948
|
-
title:
|
|
949
|
-
button:
|
|
950
|
-
description:
|
|
951
|
-
children:
|
|
952
|
-
}) => /* @__PURE__ */
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
987
|
+
p.link
|
|
988
|
+
)) }) }), Nt = ({ onClick: r, label: a, link: s, active: i }) => /* @__PURE__ */ t.jsx("li", { "tabs-active": String(i === s), onClick: () => r(s), children: a });
|
|
989
|
+
zt.defaultProps = { size: "M", view: "H" };
|
|
990
|
+
const Dt = ({
|
|
991
|
+
title: r = "",
|
|
992
|
+
button: a,
|
|
993
|
+
description: s = "",
|
|
994
|
+
children: i
|
|
995
|
+
}) => /* @__PURE__ */ t.jsxs("fieldset", { children: [
|
|
996
|
+
r && /* @__PURE__ */ t.jsxs("legend", { children: [
|
|
997
|
+
r,
|
|
998
|
+
a && /* @__PURE__ */ t.jsx(
|
|
956
999
|
"div",
|
|
957
1000
|
{
|
|
958
1001
|
role: "button-outline",
|
|
959
|
-
onClick: () =>
|
|
960
|
-
children:
|
|
1002
|
+
onClick: () => a.onClick(),
|
|
1003
|
+
children: a.label
|
|
961
1004
|
}
|
|
962
1005
|
),
|
|
963
1006
|
" "
|
|
964
1007
|
] }),
|
|
965
|
-
/* @__PURE__ */
|
|
966
|
-
|
|
967
|
-
] }),
|
|
968
|
-
setting:
|
|
969
|
-
},
|
|
970
|
-
let [
|
|
971
|
-
return /* @__PURE__ */
|
|
972
|
-
/* @__PURE__ */
|
|
973
|
-
/* @__PURE__ */
|
|
974
|
-
/* @__PURE__ */
|
|
1008
|
+
/* @__PURE__ */ t.jsx("ul", { children: i }),
|
|
1009
|
+
s && /* @__PURE__ */ t.jsx("article", { children: s })
|
|
1010
|
+
] }), Ft = "_setting_1r0pc_2", Lt = {
|
|
1011
|
+
setting: Ft
|
|
1012
|
+
}, Mt = ({ children: r }) => /* @__PURE__ */ t.jsx("div", { className: Lt.setting, children: r }), Wt = ({ label: r, children: a }) => {
|
|
1013
|
+
let [s, i] = C.useState(!1);
|
|
1014
|
+
return /* @__PURE__ */ t.jsxs("li", { "data-item": "accordion", children: [
|
|
1015
|
+
/* @__PURE__ */ t.jsxs("dl", { onClick: () => i(!s), children: [
|
|
1016
|
+
/* @__PURE__ */ t.jsx("dt", { children: r }),
|
|
1017
|
+
/* @__PURE__ */ t.jsx("dd", { children: /* @__PURE__ */ t.jsx("div", { "data-close": String(s) }) })
|
|
975
1018
|
] }),
|
|
976
|
-
|
|
1019
|
+
s && /* @__PURE__ */ t.jsx("div", { children: a })
|
|
977
1020
|
] });
|
|
978
|
-
},
|
|
979
|
-
/* @__PURE__ */
|
|
980
|
-
/* @__PURE__ */
|
|
981
|
-
] }) }),
|
|
1021
|
+
}, Yt = ({ label: r, onClick: a, button: s }) => /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsxs("dl", { children: [
|
|
1022
|
+
/* @__PURE__ */ t.jsx("dt", { children: r }),
|
|
1023
|
+
/* @__PURE__ */ t.jsx("dd", { role: "button", onClick: () => a(), children: s })
|
|
1024
|
+
] }) }), Ut = ({ active: r, onClick: a }) => (console.log(r), r = typeof r == "number" ? !!r : r, /* @__PURE__ */ t.jsx(
|
|
982
1025
|
"div",
|
|
983
1026
|
{
|
|
984
1027
|
role: "switch",
|
|
985
1028
|
onClick: () => {
|
|
986
|
-
console.log("Wewew"),
|
|
1029
|
+
console.log("Wewew"), a();
|
|
987
1030
|
},
|
|
988
|
-
"aria-checked":
|
|
1031
|
+
"aria-checked": r ? "true" : "false"
|
|
989
1032
|
}
|
|
990
|
-
)),
|
|
991
|
-
/* @__PURE__ */
|
|
992
|
-
/* @__PURE__ */
|
|
993
|
-
] }) }),
|
|
994
|
-
/* @__PURE__ */
|
|
995
|
-
/* @__PURE__ */
|
|
996
|
-
] }) }),
|
|
997
|
-
/* @__PURE__ */
|
|
998
|
-
/* @__PURE__ */
|
|
999
|
-
] }) }),
|
|
1000
|
-
/* @__PURE__ */
|
|
1001
|
-
/* @__PURE__ */
|
|
1002
|
-
] }) }),
|
|
1003
|
-
/* @__PURE__ */
|
|
1004
|
-
/* @__PURE__ */
|
|
1005
|
-
] }) }),
|
|
1006
|
-
function
|
|
1007
|
-
return /* @__PURE__ */
|
|
1008
|
-
|
|
1033
|
+
)), Vt = { Switch: Ut }, Bt = ({ label: r, onClick: a, active: s }) => /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsxs("dl", { children: [
|
|
1034
|
+
/* @__PURE__ */ t.jsx("dt", { children: r }),
|
|
1035
|
+
/* @__PURE__ */ t.jsx("dd", { children: /* @__PURE__ */ t.jsx(Vt.Switch, { onClick: a, active: s }) })
|
|
1036
|
+
] }) }), qt = ({ label: r, active: a, options: s }) => /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsxs("dl", { children: [
|
|
1037
|
+
/* @__PURE__ */ t.jsx("dt", { children: r }),
|
|
1038
|
+
/* @__PURE__ */ t.jsx("dd", { role: "info", children: a })
|
|
1039
|
+
] }) }), Ht = ({ label: r, info: a }) => /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsxs("dl", { children: [
|
|
1040
|
+
/* @__PURE__ */ t.jsx("dt", { children: r }),
|
|
1041
|
+
/* @__PURE__ */ t.jsx("dd", { role: "info", children: a })
|
|
1042
|
+
] }) }), Jt = ({ label: r, children: a }) => /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsxs("dl", { children: [
|
|
1043
|
+
/* @__PURE__ */ t.jsx("dt", { children: r }),
|
|
1044
|
+
/* @__PURE__ */ t.jsx("dd", { children: a })
|
|
1045
|
+
] }) }), Gt = ({ label: r, children: a }) => /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsxs("dl", { children: [
|
|
1046
|
+
/* @__PURE__ */ t.jsx("dt", { children: r }),
|
|
1047
|
+
/* @__PURE__ */ t.jsx("dd", { children: a })
|
|
1048
|
+
] }) }), Zt = { Accordion: Wt, Button: Yt, Switch: Bt, Info: Ht, Select: qt, Component: Jt, Node: Gt };
|
|
1049
|
+
function We({ list: r, onClick: a, active: s, size: i, view: v }) {
|
|
1050
|
+
return /* @__PURE__ */ t.jsx("nav", { children: /* @__PURE__ */ t.jsx("ul", { className: [i, v].join(" "), children: r.map((p) => /* @__PURE__ */ t.jsx(
|
|
1051
|
+
Kt,
|
|
1009
1052
|
{
|
|
1010
|
-
onClick:
|
|
1011
|
-
active:
|
|
1012
|
-
label:
|
|
1013
|
-
link:
|
|
1053
|
+
onClick: a,
|
|
1054
|
+
active: s,
|
|
1055
|
+
label: p.label,
|
|
1056
|
+
link: p.link
|
|
1014
1057
|
},
|
|
1015
|
-
|
|
1058
|
+
p.link
|
|
1016
1059
|
)) }) });
|
|
1017
1060
|
}
|
|
1018
|
-
const
|
|
1019
|
-
|
|
1020
|
-
const
|
|
1021
|
-
h:
|
|
1022
|
-
t:
|
|
1023
|
-
s:
|
|
1024
|
-
u:
|
|
1025
|
-
o:
|
|
1026
|
-
l:
|
|
1027
|
-
hh:
|
|
1028
|
-
},
|
|
1029
|
-
/* @__PURE__ */
|
|
1030
|
-
|
|
1031
|
-
] }),
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
] }),
|
|
1035
|
-
function
|
|
1036
|
-
return /* @__PURE__ */
|
|
1061
|
+
const Kt = ({ onClick: r, label: a, link: s, active: i }) => /* @__PURE__ */ t.jsx("li", { "tabs-active": String(i === s), onClick: () => r(s), children: a });
|
|
1062
|
+
We.defaultProps = { size: "M", view: "H" };
|
|
1063
|
+
const fn = { Section: Dt, Main: Mt, Item: Zt, Tabs: We }, Xt = "_h_1b5x7_1", Qt = "_t_1b5x7_10", en = "_s_1b5x7_28", rn = "_u_1b5x7_37", tn = "_o_1b5x7_44", nn = "_l_1b5x7_53", an = "_hh_1b5x7_60", z = {
|
|
1064
|
+
h: Xt,
|
|
1065
|
+
t: Qt,
|
|
1066
|
+
s: en,
|
|
1067
|
+
u: rn,
|
|
1068
|
+
o: tn,
|
|
1069
|
+
l: nn,
|
|
1070
|
+
hh: an
|
|
1071
|
+
}, Ne = ({ title: r, children: a }) => /* @__PURE__ */ t.jsxs("div", { className: z.h, children: [
|
|
1072
|
+
/* @__PURE__ */ t.jsx("div", { className: z.t, children: r }),
|
|
1073
|
+
a
|
|
1074
|
+
] }), sn = ({ children: r, title: a }) => /* @__PURE__ */ t.jsxs("div", { className: z.o, children: [
|
|
1075
|
+
a && /* @__PURE__ */ t.jsx("div", { className: z.hh, children: a }),
|
|
1076
|
+
r
|
|
1077
|
+
] }), on = ({ children: r }) => /* @__PURE__ */ t.jsx("div", { className: z.u, children: r }), De = ({ children: r }) => /* @__PURE__ */ t.jsx("div", { className: z.s, children: r }), Fe = ({ children: r, ...a }) => /* @__PURE__ */ t.jsx("div", { className: z.l, children: r }), dn = { Header: Ne, Section: De, List: Fe, U: on, L: Fe, O: sn, S: De, H: Ne }, _n = { Send: Ir, Error: $r, Remark: zr, Success: Ar, Copy: Nr }, vn = { Send: Vr };
|
|
1078
|
+
function cn() {
|
|
1079
|
+
return /* @__PURE__ */ t.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ t.jsx(
|
|
1037
1080
|
"path",
|
|
1038
1081
|
{
|
|
1039
1082
|
d: "M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",
|
|
@@ -1041,17 +1084,19 @@ function Kt() {
|
|
|
1041
1084
|
}
|
|
1042
1085
|
) });
|
|
1043
1086
|
}
|
|
1044
|
-
const
|
|
1087
|
+
const mn = { Logo: cn }, hn = { setSSID: Ct, getSSID: Et, Logaut: ce, setAUTH: St, getAUTH: Rt }, xn = { setPage: wt, getPage: Me, usePage: kt };
|
|
1045
1088
|
export {
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1089
|
+
Vt as Action,
|
|
1090
|
+
vn as Alert,
|
|
1091
|
+
un as Browser,
|
|
1092
|
+
Hr as Button,
|
|
1093
|
+
dn as Component,
|
|
1094
|
+
mn as Icon,
|
|
1095
|
+
Tt as Init,
|
|
1096
|
+
bt as Modal,
|
|
1097
|
+
_n as Notice,
|
|
1098
|
+
xn as Router,
|
|
1099
|
+
fn as Setting,
|
|
1100
|
+
hn as Store,
|
|
1101
|
+
zt as Tabs
|
|
1057
1102
|
};
|