elcrm 0.1.8 → 0.1.9
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 +205 -181
- package/dist/index.umd.js +9 -9
- package/dist/lib/Store/Store.d.ts +3 -0
- package/dist/lib/Store/index.d.ts +7 -0
- package/dist/lib/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -15,16 +15,16 @@ function jr() {
|
|
|
15
15
|
if (Pe)
|
|
16
16
|
return W;
|
|
17
17
|
Pe = 1;
|
|
18
|
-
var t = y, s = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
19
|
-
function P(E,
|
|
20
|
-
var p, j = {},
|
|
21
|
-
w !== void 0 && (
|
|
22
|
-
for (p in
|
|
23
|
-
c.call(
|
|
18
|
+
var t = y, s = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function P(E, m, w) {
|
|
20
|
+
var p, j = {}, S = null, U = null;
|
|
21
|
+
w !== void 0 && (S = "" + w), m.key !== void 0 && (S = "" + m.key), m.ref !== void 0 && (U = m.ref);
|
|
22
|
+
for (p in m)
|
|
23
|
+
c.call(m, p) && !x.hasOwnProperty(p) && (j[p] = m[p]);
|
|
24
24
|
if (E && E.defaultProps)
|
|
25
|
-
for (p in
|
|
26
|
-
j[p] === void 0 && (j[p] =
|
|
27
|
-
return { $$typeof: s, type: E, key:
|
|
25
|
+
for (p in m = E.defaultProps, m)
|
|
26
|
+
j[p] === void 0 && (j[p] = m[p]);
|
|
27
|
+
return { $$typeof: s, type: E, key: S, ref: U, props: j, _owner: v.current };
|
|
28
28
|
}
|
|
29
29
|
return W.Fragment = a, W.jsx = P, W.jsxs = P, W;
|
|
30
30
|
}
|
|
@@ -38,18 +38,18 @@ 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 t = y, s = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"),
|
|
41
|
+
var Ie;
|
|
42
|
+
function gr() {
|
|
43
|
+
return Ie || (Ie = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var t = y, s = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), E = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), U = Symbol.for("react.offscreen"), ie = Symbol.iterator, Fe = "@@iterator";
|
|
45
45
|
function Le(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
48
48
|
var n = ie && e[ie] || e[Fe];
|
|
49
49
|
return typeof n == "function" ? n : null;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
51
|
+
var A = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
+
function g(e) {
|
|
53
53
|
{
|
|
54
54
|
for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
|
|
55
55
|
i[o - 1] = arguments[o];
|
|
@@ -58,7 +58,7 @@ function br() {
|
|
|
58
58
|
}
|
|
59
59
|
function Me(e, n, i) {
|
|
60
60
|
{
|
|
61
|
-
var o =
|
|
61
|
+
var o = A.ReactDebugCurrentFrame, f = o.getStackAddendum();
|
|
62
62
|
f !== "" && (n += "%s", i = i.concat([f]));
|
|
63
63
|
var d = i.map(function(u) {
|
|
64
64
|
return String(u);
|
|
@@ -69,7 +69,7 @@ function br() {
|
|
|
69
69
|
var We = !1, Ye = !1, Ve = !1, Be = !1, Ue = !1, oe;
|
|
70
70
|
oe = Symbol.for("react.module.reference");
|
|
71
71
|
function qe(e) {
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e ===
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === x || Ue || e === v || e === w || e === p || Be || e === U || We || Ye || Ve || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === j || e.$$typeof === P || e.$$typeof === E || e.$$typeof === m || // 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.
|
|
@@ -85,10 +85,10 @@ function br() {
|
|
|
85
85
|
function ce(e) {
|
|
86
86
|
return e.displayName || "Context";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function R(e) {
|
|
89
89
|
if (e == null)
|
|
90
90
|
return null;
|
|
91
|
-
if (typeof e.tag == "number" &&
|
|
91
|
+
if (typeof e.tag == "number" && g("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;
|
|
@@ -97,7 +97,7 @@ function br() {
|
|
|
97
97
|
return "Fragment";
|
|
98
98
|
case a:
|
|
99
99
|
return "Portal";
|
|
100
|
-
case
|
|
100
|
+
case x:
|
|
101
101
|
return "Profiler";
|
|
102
102
|
case v:
|
|
103
103
|
return "StrictMode";
|
|
@@ -114,15 +114,15 @@ function br() {
|
|
|
114
114
|
case P:
|
|
115
115
|
var i = e;
|
|
116
116
|
return ce(i._context) + ".Provider";
|
|
117
|
-
case
|
|
117
|
+
case m:
|
|
118
118
|
return Je(e, e.render, "ForwardRef");
|
|
119
119
|
case j:
|
|
120
120
|
var o = e.displayName || null;
|
|
121
|
-
return o !== null ? o :
|
|
122
|
-
case
|
|
121
|
+
return o !== null ? o : R(e.type) || "Memo";
|
|
122
|
+
case S: {
|
|
123
123
|
var f = e, d = f._payload, u = f._init;
|
|
124
124
|
try {
|
|
125
|
-
return
|
|
125
|
+
return R(u(d));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -130,10 +130,10 @@ function br() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var
|
|
134
|
-
function
|
|
133
|
+
var I = Object.assign, L = 0, le, ue, fe, de, _e, ve, he;
|
|
134
|
+
function me() {
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
me.__reactDisabledLog = !0;
|
|
137
137
|
function He() {
|
|
138
138
|
{
|
|
139
139
|
if (L === 0) {
|
|
@@ -141,7 +141,7 @@ function br() {
|
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
|
-
value:
|
|
144
|
+
value: me,
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
@@ -166,33 +166,33 @@ function br() {
|
|
|
166
166
|
writable: !0
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
|
-
log:
|
|
169
|
+
log: I({}, e, {
|
|
170
170
|
value: le
|
|
171
171
|
}),
|
|
172
|
-
info:
|
|
172
|
+
info: I({}, e, {
|
|
173
173
|
value: ue
|
|
174
174
|
}),
|
|
175
|
-
warn:
|
|
175
|
+
warn: I({}, e, {
|
|
176
176
|
value: fe
|
|
177
177
|
}),
|
|
178
|
-
error:
|
|
178
|
+
error: I({}, e, {
|
|
179
179
|
value: de
|
|
180
180
|
}),
|
|
181
|
-
group:
|
|
181
|
+
group: I({}, e, {
|
|
182
182
|
value: _e
|
|
183
183
|
}),
|
|
184
|
-
groupCollapsed:
|
|
184
|
+
groupCollapsed: I({}, e, {
|
|
185
185
|
value: ve
|
|
186
186
|
}),
|
|
187
|
-
groupEnd:
|
|
187
|
+
groupEnd: I({}, e, {
|
|
188
188
|
value: he
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
L < 0 &&
|
|
192
|
+
L < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var K =
|
|
195
|
+
var K = A.ReactCurrentDispatcher, X;
|
|
196
196
|
function q(e, n, i) {
|
|
197
197
|
{
|
|
198
198
|
if (X === void 0)
|
|
@@ -211,7 +211,7 @@ function br() {
|
|
|
211
211
|
var Ze = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
212
|
J = new Ze();
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function xe(e, n) {
|
|
215
215
|
if (!e || Q)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
@@ -260,14 +260,14 @@ function br() {
|
|
|
260
260
|
} catch (k) {
|
|
261
261
|
if (k && o && typeof k.stack == "string") {
|
|
262
262
|
for (var l = k.stack.split(`
|
|
263
|
-
`),
|
|
264
|
-
`), _ = l.length - 1, h =
|
|
263
|
+
`), b = o.stack.split(`
|
|
264
|
+
`), _ = l.length - 1, h = b.length - 1; _ >= 1 && h >= 0 && l[_] !== b[h]; )
|
|
265
265
|
h--;
|
|
266
266
|
for (; _ >= 1 && h >= 0; _--, h--)
|
|
267
|
-
if (l[_] !==
|
|
267
|
+
if (l[_] !== b[h]) {
|
|
268
268
|
if (_ !== 1 || h !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (_--, h--, h < 0 || l[_] !==
|
|
270
|
+
if (_--, h--, h < 0 || l[_] !== b[h]) {
|
|
271
271
|
var C = `
|
|
272
272
|
` + l[_].replace(" at new ", " at ");
|
|
273
273
|
return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && J.set(e, C), C;
|
|
@@ -283,7 +283,7 @@ function br() {
|
|
|
283
283
|
return typeof e == "function" && J.set(e, Oe), Oe;
|
|
284
284
|
}
|
|
285
285
|
function Ke(e, n, i) {
|
|
286
|
-
return
|
|
286
|
+
return xe(e, !1);
|
|
287
287
|
}
|
|
288
288
|
function Xe(e) {
|
|
289
289
|
var n = e.prototype;
|
|
@@ -293,7 +293,7 @@ function br() {
|
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
296
|
-
return
|
|
296
|
+
return xe(e, Xe(e));
|
|
297
297
|
if (typeof e == "string")
|
|
298
298
|
return q(e);
|
|
299
299
|
switch (e) {
|
|
@@ -304,11 +304,11 @@ function br() {
|
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
|
-
case
|
|
307
|
+
case m:
|
|
308
308
|
return Ke(e.render);
|
|
309
309
|
case j:
|
|
310
310
|
return H(e.type, n, i);
|
|
311
|
-
case
|
|
311
|
+
case S: {
|
|
312
312
|
var o = e, f = o._payload, d = o._init;
|
|
313
313
|
try {
|
|
314
314
|
return H(d(f), n, i);
|
|
@@ -318,7 +318,7 @@ function br() {
|
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var G = Object.prototype.hasOwnProperty, pe = {}, je =
|
|
321
|
+
var G = Object.prototype.hasOwnProperty, pe = {}, je = A.ReactDebugCurrentFrame;
|
|
322
322
|
function Z(e) {
|
|
323
323
|
if (e) {
|
|
324
324
|
var n = e._owner, i = H(e.type, e._source, n ? n.type : null);
|
|
@@ -334,14 +334,14 @@ function br() {
|
|
|
334
334
|
var l = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof e[u] != "function") {
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
337
|
+
var b = Error((o || "React class") + ": " + i + " 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 b.name = "Invariant Violation", b;
|
|
339
339
|
}
|
|
340
340
|
l = e[u](n, u, o, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
341
|
} catch (_) {
|
|
342
342
|
l = _;
|
|
343
343
|
}
|
|
344
|
-
l && !(l instanceof Error) && (Z(f),
|
|
344
|
+
l && !(l instanceof Error) && (Z(f), g("%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).", o || "React class", i, u, typeof l), Z(null)), l instanceof Error && !(l.message in pe) && (pe[l.message] = !0, Z(f), g("Failed %s type: %s", i, l.message), Z(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
@@ -357,19 +357,19 @@ function br() {
|
|
|
357
357
|
}
|
|
358
358
|
function tr(e) {
|
|
359
359
|
try {
|
|
360
|
-
return
|
|
360
|
+
return ge(e), !1;
|
|
361
361
|
} catch {
|
|
362
362
|
return !0;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function ge(e) {
|
|
366
366
|
return "" + e;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function be(e) {
|
|
369
369
|
if (tr(e))
|
|
370
|
-
return
|
|
370
|
+
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rr(e)), ge(e);
|
|
371
371
|
}
|
|
372
|
-
var M =
|
|
372
|
+
var M = A.ReactCurrentOwner, nr = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
@@ -394,14 +394,14 @@ function br() {
|
|
|
394
394
|
}
|
|
395
395
|
function ir(e, n) {
|
|
396
396
|
if (typeof e.ref == "string" && M.current && n && M.current.stateNode !== n) {
|
|
397
|
-
var i =
|
|
398
|
-
re[i] || (
|
|
397
|
+
var i = R(M.current.type);
|
|
398
|
+
re[i] || (g('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', R(M.current.type), e.ref), re[i] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
function or(e, n) {
|
|
402
402
|
{
|
|
403
403
|
var i = function() {
|
|
404
|
-
ye || (ye = !0,
|
|
404
|
+
ye || (ye = !0, g("%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
406
|
i.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
407
407
|
get: i,
|
|
@@ -412,7 +412,7 @@ function br() {
|
|
|
412
412
|
function cr(e, n) {
|
|
413
413
|
{
|
|
414
414
|
var i = function() {
|
|
415
|
-
Ce || (Ce = !0,
|
|
415
|
+
Ce || (Ce = !0, g("%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
417
|
i.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
418
418
|
get: i,
|
|
@@ -451,8 +451,8 @@ function br() {
|
|
|
451
451
|
};
|
|
452
452
|
function ur(e, n, i, o, f) {
|
|
453
453
|
{
|
|
454
|
-
var d, u = {}, l = null,
|
|
455
|
-
i !== void 0 && (
|
|
454
|
+
var d, u = {}, l = null, b = null;
|
|
455
|
+
i !== void 0 && (be(i), l = "" + i), ar(n) && (be(n.key), l = "" + n.key), sr(n) && (b = n.ref, ir(n, f));
|
|
456
456
|
for (d in n)
|
|
457
457
|
G.call(n, d) && !nr.hasOwnProperty(d) && (u[d] = n[d]);
|
|
458
458
|
if (e && e.defaultProps) {
|
|
@@ -460,14 +460,14 @@ function br() {
|
|
|
460
460
|
for (d in _)
|
|
461
461
|
u[d] === void 0 && (u[d] = _[d]);
|
|
462
462
|
}
|
|
463
|
-
if (l ||
|
|
463
|
+
if (l || b) {
|
|
464
464
|
var h = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
-
l && or(u, h),
|
|
465
|
+
l && or(u, h), b && cr(u, h);
|
|
466
466
|
}
|
|
467
|
-
return lr(e, l,
|
|
467
|
+
return lr(e, l, b, f, o, M.current, u);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var te =
|
|
470
|
+
var te = A.ReactCurrentOwner, Ee = A.ReactDebugCurrentFrame;
|
|
471
471
|
function N(e) {
|
|
472
472
|
if (e) {
|
|
473
473
|
var n = e._owner, i = H(e.type, e._source, n ? n.type : null);
|
|
@@ -480,10 +480,10 @@ function br() {
|
|
|
480
480
|
function se(e) {
|
|
481
481
|
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Se() {
|
|
484
484
|
{
|
|
485
485
|
if (te.current) {
|
|
486
|
-
var e =
|
|
486
|
+
var e = R(te.current.type);
|
|
487
487
|
if (e)
|
|
488
488
|
return `
|
|
489
489
|
|
|
@@ -503,10 +503,10 @@ Check your code at ` + n + ":" + i + ".";
|
|
|
503
503
|
return "";
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
var
|
|
506
|
+
var Re = {};
|
|
507
507
|
function dr(e) {
|
|
508
508
|
{
|
|
509
|
-
var n =
|
|
509
|
+
var n = Se();
|
|
510
510
|
if (!n) {
|
|
511
511
|
var i = typeof e == "string" ? e : e.displayName || e.name;
|
|
512
512
|
i && (n = `
|
|
@@ -522,11 +522,11 @@ Check the top-level render call using <` + i + ">.");
|
|
|
522
522
|
return;
|
|
523
523
|
e._store.validated = !0;
|
|
524
524
|
var i = dr(n);
|
|
525
|
-
if (
|
|
525
|
+
if (Re[i])
|
|
526
526
|
return;
|
|
527
|
-
|
|
527
|
+
Re[i] = !0;
|
|
528
528
|
var o = "";
|
|
529
|
-
e && e._owner && e._owner !== te.current && (o = " It was passed a child from " +
|
|
529
|
+
e && e._owner && e._owner !== te.current && (o = " It was passed a child from " + R(e._owner.type) + "."), N(e), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, o), N(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
function we(e, n) {
|
|
@@ -556,21 +556,21 @@ Check the top-level render call using <` + i + ">.");
|
|
|
556
556
|
var i;
|
|
557
557
|
if (typeof n == "function")
|
|
558
558
|
i = n.propTypes;
|
|
559
|
-
else if (typeof n == "object" && (n.$$typeof ===
|
|
559
|
+
else if (typeof n == "object" && (n.$$typeof === m || // Note: Memo only checks outer props here.
|
|
560
560
|
// Inner props are checked in the reconciler.
|
|
561
561
|
n.$$typeof === j))
|
|
562
562
|
i = n.propTypes;
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
565
|
if (i) {
|
|
566
|
-
var o =
|
|
566
|
+
var o = R(n);
|
|
567
567
|
Qe(i, e.props, "prop", o, e);
|
|
568
568
|
} else if (n.PropTypes !== void 0 && !ne) {
|
|
569
569
|
ne = !0;
|
|
570
|
-
var f =
|
|
571
|
-
|
|
570
|
+
var f = R(n);
|
|
571
|
+
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
572
572
|
}
|
|
573
|
-
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved &&
|
|
573
|
+
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
function vr(e) {
|
|
@@ -578,11 +578,11 @@ Check the top-level render call using <` + i + ">.");
|
|
|
578
578
|
for (var n = Object.keys(e.props), i = 0; i < n.length; i++) {
|
|
579
579
|
var o = n[i];
|
|
580
580
|
if (o !== "children" && o !== "key") {
|
|
581
|
-
N(e),
|
|
581
|
+
N(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), N(null);
|
|
582
582
|
break;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
e.ref !== null && (N(e),
|
|
585
|
+
e.ref !== null && (N(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), N(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
588
|
function Te(e, n, i, o, f, d) {
|
|
@@ -591,10 +591,10 @@ Check the top-level render call using <` + i + ">.");
|
|
|
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 b = fr(f);
|
|
595
|
+
b ? l += b : l += Se();
|
|
596
596
|
var _;
|
|
597
|
-
e === null ? _ = "null" : ee(e) ? _ = "array" : e !== void 0 && e.$$typeof === s ? (_ = "<" + (
|
|
597
|
+
e === null ? _ = "null" : ee(e) ? _ = "array" : e !== void 0 && e.$$typeof === s ? (_ = "<" + (R(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, g("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
599
|
var h = ur(e, n, i, f, d);
|
|
600
600
|
if (h == null)
|
|
@@ -608,7 +608,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
608
608
|
we(C[D], e);
|
|
609
609
|
Object.freeze && Object.freeze(C);
|
|
610
610
|
} else
|
|
611
|
-
|
|
611
|
+
g("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
|
we(C, e);
|
|
614
614
|
}
|
|
@@ -618,21 +618,21 @@ Check the top-level render call using <` + i + ">.");
|
|
|
618
618
|
function hr(e, n, i) {
|
|
619
619
|
return Te(e, n, i, !0);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function mr(e, n, i) {
|
|
622
622
|
return Te(e, n, i, !1);
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
Y.Fragment = c, Y.jsx =
|
|
624
|
+
var xr = mr, pr = hr;
|
|
625
|
+
Y.Fragment = c, Y.jsx = xr, Y.jsxs = pr;
|
|
626
626
|
}()), Y;
|
|
627
627
|
}
|
|
628
|
-
process.env.NODE_ENV === "production" ? ae.exports = jr() : ae.exports =
|
|
628
|
+
process.env.NODE_ENV === "production" ? ae.exports = jr() : ae.exports = gr();
|
|
629
629
|
var r = ae.exports;
|
|
630
|
-
const
|
|
631
|
-
notice:
|
|
630
|
+
const br = "_notice_820sc_2", yr = "_error_820sc_9", Cr = "_success_820sc_12", Er = "_remark_820sc_15", Sr = "_copy_820sc_18", Rr = {
|
|
631
|
+
notice: br,
|
|
632
632
|
error: yr,
|
|
633
633
|
success: Cr,
|
|
634
634
|
remark: Er,
|
|
635
|
-
copy:
|
|
635
|
+
copy: Sr,
|
|
636
636
|
"show-notice": "_show-notice_820sc_1",
|
|
637
637
|
"hide-notice": "_hide-notice_820sc_1"
|
|
638
638
|
};
|
|
@@ -643,7 +643,7 @@ function kr() {
|
|
|
643
643
|
s([...t, a]);
|
|
644
644
|
}, O.del = (a) => {
|
|
645
645
|
s(t.filter((c) => c.key !== a));
|
|
646
|
-
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className:
|
|
646
|
+
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: Rr.notice, children: t.map((a) => a.item) });
|
|
647
647
|
}
|
|
648
648
|
function B({ data: t }) {
|
|
649
649
|
let [s, a] = y.useState("show");
|
|
@@ -657,19 +657,19 @@ function B({ data: t }) {
|
|
|
657
657
|
let c, v;
|
|
658
658
|
switch (t.type) {
|
|
659
659
|
case "error":
|
|
660
|
-
c = /* @__PURE__ */ r.jsx(
|
|
660
|
+
c = /* @__PURE__ */ r.jsx($.error, {}), v = "Ошибка:";
|
|
661
661
|
break;
|
|
662
662
|
case "success":
|
|
663
|
-
c = /* @__PURE__ */ r.jsx(
|
|
663
|
+
c = /* @__PURE__ */ r.jsx($.success, {}), v = "Информация:";
|
|
664
664
|
break;
|
|
665
665
|
case "copy":
|
|
666
|
-
c = /* @__PURE__ */ r.jsx(
|
|
666
|
+
c = /* @__PURE__ */ r.jsx($.success, {}), v = "Копирование:";
|
|
667
667
|
break;
|
|
668
668
|
case "remark":
|
|
669
|
-
c = /* @__PURE__ */ r.jsx(
|
|
669
|
+
c = /* @__PURE__ */ r.jsx($.success, {}), v = "Подсказка:";
|
|
670
670
|
break;
|
|
671
671
|
default:
|
|
672
|
-
c = /* @__PURE__ */ r.jsx(
|
|
672
|
+
c = /* @__PURE__ */ r.jsx($.success, {}), v = "Предупреждение:";
|
|
673
673
|
break;
|
|
674
674
|
}
|
|
675
675
|
return /* @__PURE__ */ r.jsxs("li", { className: "item " + t.type, "data-status": s, children: [
|
|
@@ -694,12 +694,12 @@ function Pr(t) {
|
|
|
694
694
|
let s = Date.now(), a = { key: s, text: t, type: "remark" };
|
|
695
695
|
O.set({ item: /* @__PURE__ */ r.jsx(B, { data: a }, s), key: s });
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function Ir(t) {
|
|
698
698
|
let s = Date.now(), a = { key: s, text: t, type: "copy" };
|
|
699
699
|
O.set({ item: /* @__PURE__ */ r.jsx(B, { data: a }, s), key: s });
|
|
700
700
|
}
|
|
701
|
-
const
|
|
702
|
-
|
|
701
|
+
const $ = {};
|
|
702
|
+
$.error = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
703
703
|
/* @__PURE__ */ r.jsx(
|
|
704
704
|
"path",
|
|
705
705
|
{
|
|
@@ -715,7 +715,7 @@ z.error = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "non
|
|
|
715
715
|
}
|
|
716
716
|
)
|
|
717
717
|
] });
|
|
718
|
-
|
|
718
|
+
$.success = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
719
719
|
/* @__PURE__ */ r.jsx(
|
|
720
720
|
"path",
|
|
721
721
|
{
|
|
@@ -731,10 +731,10 @@ 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 $r = "_alerts_1e9y0_1", zr = "_menuAnimation_1e9y0_1", Ar = "_menuItemAnimation_1e9y0_1", Nr = "_allert_1e9y0_111", Dr = {
|
|
735
|
+
alerts: $r,
|
|
736
|
+
menuAnimation: zr,
|
|
737
|
+
menuItemAnimation: Ar,
|
|
738
738
|
"--body": "_--body_1e9y0_103",
|
|
739
739
|
allert: Nr,
|
|
740
740
|
"--form": "_--form_1e9y0_111"
|
|
@@ -776,8 +776,8 @@ const Vr = ({
|
|
|
776
776
|
label: a,
|
|
777
777
|
onClick: c
|
|
778
778
|
}) => {
|
|
779
|
-
const v = (
|
|
780
|
-
s || c && c(
|
|
779
|
+
const v = (x) => {
|
|
780
|
+
s || c && c(x);
|
|
781
781
|
};
|
|
782
782
|
return /* @__PURE__ */ r.jsx("button", { disabled: s, onClick: v, children: a });
|
|
783
783
|
}, Br = "_white_6ax6z_14", Ur = "_black_6ax6z_26", qr = "_shake_6ax6z_1", Jr = "_modal_6ax6z_73", Hr = "_o_6ax6z_83", Gr = "_w_6ax6z_14", Zr = "_h_6ax6z_106", Kr = "_l_6ax6z_120", Xr = "_t_6ax6z_158", Qr = "_m_6ax6z_73", et = "_x_6ax6z_166", rt = "_s_6ax6z_176", tt = "_c_6ax6z_181", nt = "_f_6ax6z_186", st = "_btn_6ax6z_229", at = "_g_6ax6z_242", it = "_confirm_6ax6z_320", ot = "_cancel_6ax6z_325", ct = "_disabled_6ax6z_330", lt = "_active_6ax6z_387", ut = "_coincidence_6ax6z_393", T = {
|
|
@@ -824,14 +824,14 @@ const ft = ({ config: t }) => {
|
|
|
824
824
|
button: a,
|
|
825
825
|
tabs: c,
|
|
826
826
|
size: v = "m",
|
|
827
|
-
menu:
|
|
827
|
+
menu: x
|
|
828
828
|
}) => {
|
|
829
|
-
const [P, E] = y.useState(!0),
|
|
829
|
+
const [P, E] = y.useState(!0), m = y.useRef(), w = (j) => {
|
|
830
830
|
if (a && a.onClick)
|
|
831
831
|
return a.onClick({ closed: E, disabled: j });
|
|
832
832
|
}, p = () => {
|
|
833
|
-
|
|
834
|
-
|
|
833
|
+
m.current.setAttribute("shake", !0), setTimeout(() => {
|
|
834
|
+
m.current.setAttribute("shake", !1);
|
|
835
835
|
}, 1e3);
|
|
836
836
|
};
|
|
837
837
|
return /* @__PURE__ */ r.jsx(r.Fragment, { children: P ? /* @__PURE__ */ r.jsxs(
|
|
@@ -840,20 +840,20 @@ const ft = ({ config: t }) => {
|
|
|
840
840
|
className: `${T.modal} ${T.white}`,
|
|
841
841
|
children: [
|
|
842
842
|
/* @__PURE__ */ r.jsx("div", { className: T.o, onClick: p }),
|
|
843
|
-
/* @__PURE__ */ r.jsxs("div", { className: T.w, ref:
|
|
843
|
+
/* @__PURE__ */ r.jsxs("div", { className: T.w, ref: m, children: [
|
|
844
844
|
/* @__PURE__ */ r.jsxs("div", { className: T.h, children: [
|
|
845
845
|
/* @__PURE__ */ r.jsx("div", { className: T.t, children: s }),
|
|
846
846
|
/* @__PURE__ */ r.jsxs("div", { className: T.m, children: [
|
|
847
|
-
c && /* @__PURE__ */ r.jsx("nav", { children: c.map((j,
|
|
847
|
+
c && /* @__PURE__ */ r.jsx("nav", { children: c.map((j, S) => /* @__PURE__ */ r.jsx(
|
|
848
848
|
"span",
|
|
849
849
|
{
|
|
850
850
|
onClick: j.onClick,
|
|
851
851
|
className: j.active ? "active" : "",
|
|
852
852
|
children: j.name
|
|
853
853
|
},
|
|
854
|
-
|
|
854
|
+
S
|
|
855
855
|
)) }),
|
|
856
|
-
|
|
856
|
+
x
|
|
857
857
|
] }),
|
|
858
858
|
/* @__PURE__ */ r.jsx(
|
|
859
859
|
"div",
|
|
@@ -885,14 +885,14 @@ const ft = ({ config: t }) => {
|
|
|
885
885
|
return y.useEffect(() => {
|
|
886
886
|
F.config(t, s, a, v);
|
|
887
887
|
}, [a.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: c });
|
|
888
|
-
},
|
|
888
|
+
}, mt = (t, s, a) => {
|
|
889
889
|
F.config(t, s, a);
|
|
890
|
-
},
|
|
891
|
-
let
|
|
890
|
+
}, xt = { List: Wr, Scroll: Yr, Init: ft, Main: dt, Add: _t, Icon: ht, Open: mt };
|
|
891
|
+
let $e = {};
|
|
892
892
|
function pt({ crypto: t }) {
|
|
893
|
-
if (
|
|
893
|
+
if ($e = t, localStorage.getItem("ssid")) {
|
|
894
894
|
let a = sessionStorage.getItem("page");
|
|
895
|
-
a && (a =
|
|
895
|
+
a && (a = $e.deCode(a), a.id, a.tab, a.page, a.module, a.time, a.module_admin);
|
|
896
896
|
} else
|
|
897
897
|
[
|
|
898
898
|
"ssid",
|
|
@@ -909,42 +909,65 @@ function pt({ crypto: t }) {
|
|
|
909
909
|
"sort"
|
|
910
910
|
].forEach((a) => localStorage.removeItem(a)), ["page"].forEach((a) => sessionStorage.removeItem(a));
|
|
911
911
|
}
|
|
912
|
-
|
|
913
|
-
|
|
912
|
+
function jt() {
|
|
913
|
+
[
|
|
914
|
+
"ssid",
|
|
915
|
+
"menu",
|
|
916
|
+
"temp",
|
|
917
|
+
"user",
|
|
918
|
+
"sett",
|
|
919
|
+
"qder",
|
|
920
|
+
"firm",
|
|
921
|
+
"last",
|
|
922
|
+
"auth",
|
|
923
|
+
"port",
|
|
924
|
+
"mark",
|
|
925
|
+
"sort"
|
|
926
|
+
].forEach((t) => localStorage.removeItem(t)), ["page"].forEach((t) => sessionStorage.removeItem(t)), window.location.reload();
|
|
927
|
+
}
|
|
928
|
+
function gt(t) {
|
|
929
|
+
return localStorage.setItem("ssid", t);
|
|
930
|
+
}
|
|
931
|
+
function bt() {
|
|
932
|
+
let t = localStorage.getItem("ssid");
|
|
933
|
+
return t !== "" && t !== "undefined" && t !== null ? localStorage.getItem("ssid") : (jt(), !1);
|
|
934
|
+
}
|
|
935
|
+
const yt = ({ children: t, config: s, crypto: a, ...c }) => (pt({ crypto: a }), /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
936
|
+
/* @__PURE__ */ r.jsx(xt.Init, { config: s.modal }),
|
|
914
937
|
/* @__PURE__ */ r.jsx(kr, {}),
|
|
915
938
|
/* @__PURE__ */ r.jsx(Fr, {}),
|
|
916
939
|
t
|
|
917
|
-
] })),
|
|
940
|
+
] })), Ct = ({ children: t, ...s }) => /* @__PURE__ */ r.jsx("menu", { children: t }), Et = ({ children: t, ...s }) => /* @__PURE__ */ r.jsxs("header", { children: [
|
|
918
941
|
"xz",
|
|
919
942
|
t
|
|
920
|
-
] }),
|
|
921
|
-
payment:
|
|
943
|
+
] }), St = "_payment_1lxfv_1", Rt = {
|
|
944
|
+
payment: St
|
|
922
945
|
};
|
|
923
|
-
function
|
|
946
|
+
function kt() {
|
|
924
947
|
let [t, s] = y.useState({});
|
|
925
|
-
return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className:
|
|
948
|
+
return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className: Rt.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
926
949
|
}
|
|
927
|
-
const
|
|
950
|
+
const tn = ({ children: t, ...s }) => {
|
|
928
951
|
let a = {};
|
|
929
952
|
return a.enCode = (c) => JSON.stringify(c).toString(), a.deCode = (c) => JSON.parse(c), /* @__PURE__ */ r.jsxs("div", { className: "app", children: [
|
|
953
|
+
/* @__PURE__ */ r.jsx(kt, {}),
|
|
954
|
+
/* @__PURE__ */ r.jsx(Ct, {}),
|
|
930
955
|
/* @__PURE__ */ r.jsx(Et, {}),
|
|
931
|
-
/* @__PURE__ */ r.jsx(
|
|
932
|
-
/* @__PURE__ */ r.jsx(gt, {}),
|
|
933
|
-
/* @__PURE__ */ r.jsx(jt, { config: { modal: {} }, crypto: a }),
|
|
956
|
+
/* @__PURE__ */ r.jsx(yt, { config: { modal: {} }, crypto: a }),
|
|
934
957
|
t
|
|
935
958
|
] });
|
|
936
|
-
},
|
|
937
|
-
|
|
959
|
+
}, wt = ({ list: t, onClick: s, active: a, size: c, view: v }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [c, v].join(" "), children: t.map((x) => /* @__PURE__ */ r.jsx(
|
|
960
|
+
Tt,
|
|
938
961
|
{
|
|
939
962
|
onClick: s,
|
|
940
963
|
active: a,
|
|
941
|
-
label:
|
|
942
|
-
link:
|
|
964
|
+
label: x.label,
|
|
965
|
+
link: x.link
|
|
943
966
|
},
|
|
944
|
-
|
|
945
|
-
)) }) }),
|
|
946
|
-
|
|
947
|
-
const
|
|
967
|
+
x.link
|
|
968
|
+
)) }) }), Tt = ({ onClick: t, label: s, link: a, active: c }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(c === a), onClick: () => t(a), children: s });
|
|
969
|
+
wt.defaultProps = { size: "M", view: "H" };
|
|
970
|
+
const Ot = ({
|
|
948
971
|
title: t = "",
|
|
949
972
|
button: s,
|
|
950
973
|
description: a = "",
|
|
@@ -964,9 +987,9 @@ const kt = ({
|
|
|
964
987
|
] }),
|
|
965
988
|
/* @__PURE__ */ r.jsx("ul", { children: c }),
|
|
966
989
|
a && /* @__PURE__ */ r.jsx("article", { children: a })
|
|
967
|
-
] }),
|
|
968
|
-
setting:
|
|
969
|
-
},
|
|
990
|
+
] }), Pt = "_setting_1r0pc_2", It = {
|
|
991
|
+
setting: Pt
|
|
992
|
+
}, $t = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: It.setting, children: t }), zt = ({ label: t, children: s }) => {
|
|
970
993
|
let [a, c] = y.useState(!1);
|
|
971
994
|
return /* @__PURE__ */ r.jsxs("li", { "data-item": "accordion", children: [
|
|
972
995
|
/* @__PURE__ */ r.jsxs("dl", { onClick: () => c(!a), children: [
|
|
@@ -975,10 +998,10 @@ const kt = ({
|
|
|
975
998
|
] }),
|
|
976
999
|
a && /* @__PURE__ */ r.jsx("div", { children: s })
|
|
977
1000
|
] });
|
|
978
|
-
},
|
|
1001
|
+
}, At = ({ label: t, onClick: s, button: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
979
1002
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
980
1003
|
/* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => s(), children: a })
|
|
981
|
-
] }) }),
|
|
1004
|
+
] }) }), Nt = ({ active: t, onClick: s }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ r.jsx(
|
|
982
1005
|
"div",
|
|
983
1006
|
{
|
|
984
1007
|
role: "switch",
|
|
@@ -987,52 +1010,52 @@ const kt = ({
|
|
|
987
1010
|
},
|
|
988
1011
|
"aria-checked": t ? "true" : "false"
|
|
989
1012
|
}
|
|
990
|
-
)),
|
|
1013
|
+
)), Dt = { Switch: Nt }, Ft = ({ label: t, onClick: s, active: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
991
1014
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
992
|
-
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(
|
|
993
|
-
] }) }),
|
|
1015
|
+
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(Dt.Switch, { onClick: s, active: a }) })
|
|
1016
|
+
] }) }), Lt = ({ label: t, active: s, options: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
994
1017
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
995
1018
|
/* @__PURE__ */ r.jsx("dd", { role: "info", children: s })
|
|
996
|
-
] }) }),
|
|
1019
|
+
] }) }), Mt = ({ label: t, info: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
997
1020
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
998
1021
|
/* @__PURE__ */ r.jsx("dd", { role: "info", children: s })
|
|
999
|
-
] }) }),
|
|
1022
|
+
] }) }), Wt = ({ label: t, children: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1000
1023
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1001
1024
|
/* @__PURE__ */ r.jsx("dd", { children: s })
|
|
1002
|
-
] }) }),
|
|
1025
|
+
] }) }), Yt = ({ label: t, children: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1003
1026
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1004
1027
|
/* @__PURE__ */ r.jsx("dd", { children: s })
|
|
1005
|
-
] }) }),
|
|
1028
|
+
] }) }), Vt = { Accordion: zt, Button: At, Switch: Ft, Info: Mt, Select: Lt, Component: Wt, Node: Yt };
|
|
1006
1029
|
function De({ list: t, onClick: s, active: a, size: c, view: v }) {
|
|
1007
|
-
return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [c, v].join(" "), children: t.map((
|
|
1008
|
-
|
|
1030
|
+
return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [c, v].join(" "), children: t.map((x) => /* @__PURE__ */ r.jsx(
|
|
1031
|
+
Bt,
|
|
1009
1032
|
{
|
|
1010
1033
|
onClick: s,
|
|
1011
1034
|
active: a,
|
|
1012
|
-
label:
|
|
1013
|
-
link:
|
|
1035
|
+
label: x.label,
|
|
1036
|
+
link: x.link
|
|
1014
1037
|
},
|
|
1015
|
-
|
|
1038
|
+
x.link
|
|
1016
1039
|
)) }) });
|
|
1017
1040
|
}
|
|
1018
|
-
const
|
|
1041
|
+
const Bt = ({ onClick: t, label: s, link: a, active: c }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(c === a), onClick: () => t(a), children: s });
|
|
1019
1042
|
De.defaultProps = { size: "M", view: "H" };
|
|
1020
|
-
const
|
|
1021
|
-
h:
|
|
1022
|
-
t:
|
|
1023
|
-
s:
|
|
1024
|
-
u:
|
|
1025
|
-
o:
|
|
1026
|
-
l:
|
|
1027
|
-
hh:
|
|
1028
|
-
},
|
|
1029
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
1043
|
+
const nn = { Section: Ot, Main: $t, Item: Vt, Tabs: De }, Ut = "_h_1b5x7_1", qt = "_t_1b5x7_10", Jt = "_s_1b5x7_28", Ht = "_u_1b5x7_37", Gt = "_o_1b5x7_44", Zt = "_l_1b5x7_53", Kt = "_hh_1b5x7_60", z = {
|
|
1044
|
+
h: Ut,
|
|
1045
|
+
t: qt,
|
|
1046
|
+
s: Jt,
|
|
1047
|
+
u: Ht,
|
|
1048
|
+
o: Gt,
|
|
1049
|
+
l: Zt,
|
|
1050
|
+
hh: Kt
|
|
1051
|
+
}, ze = ({ title: t, children: s }) => /* @__PURE__ */ r.jsxs("div", { className: z.h, children: [
|
|
1052
|
+
/* @__PURE__ */ r.jsx("div", { className: z.t, children: t }),
|
|
1030
1053
|
s
|
|
1031
|
-
] }),
|
|
1032
|
-
s && /* @__PURE__ */ r.jsx("div", { className:
|
|
1054
|
+
] }), Xt = ({ children: t, title: s }) => /* @__PURE__ */ r.jsxs("div", { className: z.o, children: [
|
|
1055
|
+
s && /* @__PURE__ */ r.jsx("div", { className: z.hh, children: s }),
|
|
1033
1056
|
t
|
|
1034
|
-
] }),
|
|
1035
|
-
function
|
|
1057
|
+
] }), Qt = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: z.u, children: t }), Ae = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: z.s, children: t }), Ne = ({ children: t, ...s }) => /* @__PURE__ */ r.jsx("div", { className: z.l, children: t }), sn = { Header: ze, Section: Ae, List: Ne, U: Qt, L: Ne, O: Xt, S: Ae, H: ze }, an = { Send: wr, Error: Tr, Remark: Pr, Success: Or, Copy: Ir }, on = { Send: Mr };
|
|
1058
|
+
function en() {
|
|
1036
1059
|
return /* @__PURE__ */ r.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ r.jsx(
|
|
1037
1060
|
"path",
|
|
1038
1061
|
{
|
|
@@ -1041,17 +1064,18 @@ function Kt() {
|
|
|
1041
1064
|
}
|
|
1042
1065
|
) });
|
|
1043
1066
|
}
|
|
1044
|
-
const
|
|
1067
|
+
const cn = { Logo: en }, ln = { setSSID: gt, getSSID: bt };
|
|
1045
1068
|
export {
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1069
|
+
Dt as Action,
|
|
1070
|
+
on as Alert,
|
|
1071
|
+
tn as Browser,
|
|
1049
1072
|
Vr as Button,
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1073
|
+
sn as Component,
|
|
1074
|
+
cn as Icon,
|
|
1075
|
+
yt as Init,
|
|
1076
|
+
xt as Modal,
|
|
1077
|
+
an as Notice,
|
|
1078
|
+
nn as Setting,
|
|
1079
|
+
ln as Store,
|
|
1080
|
+
wt as Tabs
|
|
1057
1081
|
};
|
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(h,m){typeof exports=="object"&&typeof module<"u"?m(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],m):(h=typeof globalThis<"u"?globalThis:h||self,m((h.elCRM=h.elCRM||{},h.elCRM.components={}),h.React))})(this,function(h,m){"use strict";var se=document.createElement("style");se.textContent=`@charset "UTF-8";._notice_820sc_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_820sc_2 ._error_820sc_9{color:#bb2014}._notice_820sc_2 ._success_820sc_12{color:#367738}._notice_820sc_2 ._remark_820sc_15{color:#b77513}._notice_820sc_2 ._copy_820sc_18{color:#3f51b5}._notice_820sc_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:5px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_820sc_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_820sc_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_820sc_1 1s 1;animation-fill-mode:forwards}._notice_820sc_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_820sc_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_820sc_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_820sc_1{0%{opacity:1}to{opacity:0}}._alerts_1e9y0_1{position:fixed;top:0;bottom:0;left:0;right:0;color:var(--system-color);background:#0000009e;z-index:30;display:flex;flex:1;align-content:center;justify-content:center}._alerts_1e9y0_1 dl{margin:auto;overflow:hidden;width:270px;height:auto;border-radius:12px;border:0;height:fit-content;z-index:1;background:var(--system-bg);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-animation:_menuAnimation_1e9y0_1 .4s 0s both;animation:_menuAnimation_1e9y0_1 .4s 0s both;list-style:none;padding-top:20px;font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017}._alerts_1e9y0_1 dt{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;text-align:center;text-transform:capitalize;font-weight:600;line-height:22px;margin:0 0 5px;padding:0 20px}._alerts_1e9y0_1 dd{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:13px;margin:0;text-align:center;line-height:16px;padding:0 20px 20px}._alerts_1e9y0_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1e9y0_1 button{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:10px;cursor:pointer;text-align:center;font-weight:600;background:#0000;border-radius:0;display:block;width:-webkit-fill-available;-webkit-animation:_menuItemAnimation_1e9y0_1 .2s 0s both;animation:_menuItemAnimation_1e9y0_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1e9y0_1 button[color=blue]{color:#1b6ac0}._alerts_1e9y0_1 button[color=red]{color:#c21c0d}._alerts_1e9y0_1 button:hover{background:var(--system-hover)}._alerts_1e9y0_1 ._--body_1e9y0_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1e9y0_111 ._--form_1e9y0_111{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:20px;border-bottom:1px solid var(--system-hr)}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade)}._white_6ax6z_14{--background: #e4ebf5;--shadow: #abb6d2;--shade: #fff;--color: #1f253d;--disabled: #9baacf;--text: #394264;--tinge: #3f51b50a;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px var(--shadow), -1px -1px 1px var(--shade)}._black_6ax6z_26{--background: #506290;--shadow: #1f253d;--shade: #394264;--color: #fff;--disabled: #29314c;--text: #abb6d2;--tinge: #00000026;--inset: inset 1px 1px 1px #394264, inset -1px -1px 1px #39426470;--outset: 1px 1px 1px #394264, -1px -1px 1px #39426470}[shake=true]{-webkit-animation-name:_shake_6ax6z_1;animation-name:_shake_6ax6z_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_6ax6z_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}[data-color-bg=fff1d6]{--inset: inset 1px 1px 1px #c9c1ac, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #c9c1ac, -1px -1px 1px var(--shade)}[data-color-bg=ffd9d9]{--inset: inset 1px 1px 1px #cdb0b1, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #cdb0b1, -1px -1px 1px var(--shade)}[data-color-bg=daffe5]{--inset: inset 1px 1px 1px #b6d2be, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #b6d2be, -1px -1px 1px var(--shade)}._modal_6ax6z_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_6ax6z_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_6ax6z_14{box-shadow:5px 7px 18px #000000a8;background:var(--background);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap}._h_6ax6z_106{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_6ax6z_120{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_6ax6z_120 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_6ax6z_120 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_6ax6z_120 li:last-child{border-bottom:0}._l_6ax6z_120 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_6ax6z_158{padding-right:10px}._m_6ax6z_73{flex:1}._x_6ax6z_166{cursor:pointer;color:#1f253d;font-size:20px;opacity:.5;width:35px;border-radius:5px;text-align:center}._s_6ax6z_176{flex:1;overflow-y:scroll}._c_6ax6z_181{text-align:center;margin:20px}._f_6ax6z_186{padding:0 20px;display:flex;flex-direction:column}._f_6ax6z_186 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_6ax6z_186 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_6ax6z_186 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_6ax6z_186 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_6ax6z_166:hover{opacity:1}._btn_6ax6z_229{min-width:200px;margin:10px auto 20px;opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._g_6ax6z_242{display:flex;gap:10px}._c_6ax6z_181{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;cursor:pointer}._c_6ax6z_181:first-child{margin-left:20px}._c_6ax6z_181:last-child{margin-right:20px}._c_6ax6z_181:hover{opacity:1;background:var(--tinge)}._c_6ax6z_181 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_6ax6z_181 b{text-align:center;display:block;color:var(--color)}._c_6ax6z_181 p{text-align:center;font-size:15px;color:var(--text)}._btn_6ax6z_229:hover{opacity:1}._modal_6ax6z_73._size-a_6ax6z_294 ._w_6ax6z_14{width:auto}._modal_6ax6z_73._size-s_6ax6z_298 ._w_6ax6z_14{width:400px}._modal_6ax6z_73._size-m_6ax6z_302 ._w_6ax6z_14{width:500px}._modal_6ax6z_73._size-l_6ax6z_306 ._w_6ax6z_14{width:800px}._modal_6ax6z_73._size-x_6ax6z_310 ._w_6ax6z_14{width:1000px}._modal_6ax6z_73._size-f_6ax6z_314 ._w_6ax6z_14{width:100%;max-width:1200px;min-width:910px}._btn_6ax6z_229._confirm_6ax6z_320{background:#4caf50;color:#fff}._btn_6ax6z_229._cancel_6ax6z_325{background:#f44336;color:#fff}._btn_6ax6z_229._disabled_6ax6z_330,._btn_6ax6z_229._await_6ax6z_337{background:#efefef;color:#000;opacity:1;cursor:default}._m_6ax6z_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_6ax6z_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_6ax6z_73 big i:hover{box-shadow:var(--inset)}._m_6ax6z_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_6ax6z_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_6ax6z_73 span._active_6ax6z_387{box-shadow:var(--inset);color:var(--color)}._coincidence_6ax6z_393{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_6ax6z_393 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_6ax6z_393 dl{display:flex;padding:0;margin:5px}._coincidence_6ax6z_393 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}menu{border-radius:5px;overflow:hidden;display:flex;flex-direction:column;background:var(--contex);grid-area:m}._payment_1lxfv_1{background:#f44336;height:42px;border-radius:5px;color:#fff;font-weight:700;line-height:42px;margin-top:8px;grid-area:p;text-align:center}._setting_1r0pc_2{width:100%;overflow:auto}._setting_1r0pc_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_1r0pc_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_1r0pc_2 nav li[tabs-active=true]{opacity:1}._setting_1r0pc_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_1r0pc_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_1r0pc_2 li{font-size:20px;line-height:40px}._setting_1r0pc_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;background:var(--setting-bg);color:var(--setting-color)}._setting_1r0pc_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_1r0pc_2 dt{flex:1;padding:0 15px}._setting_1r0pc_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_1r0pc_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_1r0pc_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_1r0pc_2 [data-close]{cursor:pointer;width:10px;height:10px;border-top:3px solid var(--setting-color);border-left:3px solid var(--setting-color);position:absolute;right:10px;top:3px;-webkit-transform:translate(0,-50%) rotate(45deg);-ms-transform:translate(0,-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}._setting_1r0pc_2 [data-close=false]{right:10px;top:0;-webkit-transform:translate(0,-50%) rotate(-135deg);-ms-transform:translate(0,-50%) rotate(-135deg);transform:translateY(-50%) rotate(-135deg)}._setting_1r0pc_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_1r0pc_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_1r0pc_2 [role=button]:hover{background:var(--setting-action)}._setting_1r0pc_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_1r0pc_2 [role=button-outline]:hover{background:#00000038}._setting_1r0pc_2 [role=switch]{cursor:pointer;position:relative;width:44px;height:22px;border-radius:50px;vertical-align:text-bottom;transition:all .3s linear;margin:0}._setting_1r0pc_2 [role=switch]:after{content:"";position:absolute;left:4px;width:16px;height:16px;background-color:#fff;border-radius:50%;box-shadow:0 2px 2px #0000003d;transform:translate3d(0,3px,0);transition:all .2s ease-in-out}._setting_1r0pc_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_1r0pc_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_1r0pc_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_1r0pc_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._h_1b5x7_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex}._t_1b5x7_10{border-bottom:0;cursor:default;display:block;flex:1;margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px;font-size:14px!important;line-height:35px;font-weight:700;text-align:center;color:var(--label);position:relative;height:35px}._s_1b5x7_28{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_1b5x7_37{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_1b5x7_44{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._l_1b5x7_53{flex:1;overflow:hidden;overflow-y:scroll;background:var(--content)}._hh_1b5x7_60{background:#fff;display:block;flex:1 1;font-size:14px;line-height:35px;font-weight:700;text-align:center;color:#1f253d;border-bottom:1px solid #ddd;position:relative}
|
|
1
|
+
(function(p,m){typeof exports=="object"&&typeof module<"u"?m(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],m):(p=typeof globalThis<"u"?globalThis:p||self,m((p.elCRM=p.elCRM||{},p.elCRM.components={}),p.React))})(this,function(p,m){"use strict";var se=document.createElement("style");se.textContent=`@charset "UTF-8";._notice_820sc_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_820sc_2 ._error_820sc_9{color:#bb2014}._notice_820sc_2 ._success_820sc_12{color:#367738}._notice_820sc_2 ._remark_820sc_15{color:#b77513}._notice_820sc_2 ._copy_820sc_18{color:#3f51b5}._notice_820sc_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:5px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_820sc_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_820sc_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_820sc_1 1s 1;animation-fill-mode:forwards}._notice_820sc_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_820sc_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_820sc_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_820sc_1{0%{opacity:1}to{opacity:0}}._alerts_1e9y0_1{position:fixed;top:0;bottom:0;left:0;right:0;color:var(--system-color);background:#0000009e;z-index:30;display:flex;flex:1;align-content:center;justify-content:center}._alerts_1e9y0_1 dl{margin:auto;overflow:hidden;width:270px;height:auto;border-radius:12px;border:0;height:fit-content;z-index:1;background:var(--system-bg);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-animation:_menuAnimation_1e9y0_1 .4s 0s both;animation:_menuAnimation_1e9y0_1 .4s 0s both;list-style:none;padding-top:20px;font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017}._alerts_1e9y0_1 dt{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;text-align:center;text-transform:capitalize;font-weight:600;line-height:22px;margin:0 0 5px;padding:0 20px}._alerts_1e9y0_1 dd{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:13px;margin:0;text-align:center;line-height:16px;padding:0 20px 20px}._alerts_1e9y0_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1e9y0_1 button{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:10px;cursor:pointer;text-align:center;font-weight:600;background:#0000;border-radius:0;display:block;width:-webkit-fill-available;-webkit-animation:_menuItemAnimation_1e9y0_1 .2s 0s both;animation:_menuItemAnimation_1e9y0_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1e9y0_1 button[color=blue]{color:#1b6ac0}._alerts_1e9y0_1 button[color=red]{color:#c21c0d}._alerts_1e9y0_1 button:hover{background:var(--system-hover)}._alerts_1e9y0_1 ._--body_1e9y0_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1e9y0_111 ._--form_1e9y0_111{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:20px;border-bottom:1px solid var(--system-hr)}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade)}._white_6ax6z_14{--background: #e4ebf5;--shadow: #abb6d2;--shade: #fff;--color: #1f253d;--disabled: #9baacf;--text: #394264;--tinge: #3f51b50a;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px var(--shadow), -1px -1px 1px var(--shade)}._black_6ax6z_26{--background: #506290;--shadow: #1f253d;--shade: #394264;--color: #fff;--disabled: #29314c;--text: #abb6d2;--tinge: #00000026;--inset: inset 1px 1px 1px #394264, inset -1px -1px 1px #39426470;--outset: 1px 1px 1px #394264, -1px -1px 1px #39426470}[shake=true]{-webkit-animation-name:_shake_6ax6z_1;animation-name:_shake_6ax6z_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_6ax6z_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}[data-color-bg=fff1d6]{--inset: inset 1px 1px 1px #c9c1ac, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #c9c1ac, -1px -1px 1px var(--shade)}[data-color-bg=ffd9d9]{--inset: inset 1px 1px 1px #cdb0b1, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #cdb0b1, -1px -1px 1px var(--shade)}[data-color-bg=daffe5]{--inset: inset 1px 1px 1px #b6d2be, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #b6d2be, -1px -1px 1px var(--shade)}._modal_6ax6z_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_6ax6z_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_6ax6z_14{box-shadow:5px 7px 18px #000000a8;background:var(--background);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap}._h_6ax6z_106{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_6ax6z_120{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_6ax6z_120 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_6ax6z_120 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_6ax6z_120 li:last-child{border-bottom:0}._l_6ax6z_120 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_6ax6z_158{padding-right:10px}._m_6ax6z_73{flex:1}._x_6ax6z_166{cursor:pointer;color:#1f253d;font-size:20px;opacity:.5;width:35px;border-radius:5px;text-align:center}._s_6ax6z_176{flex:1;overflow-y:scroll}._c_6ax6z_181{text-align:center;margin:20px}._f_6ax6z_186{padding:0 20px;display:flex;flex-direction:column}._f_6ax6z_186 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_6ax6z_186 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_6ax6z_186 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_6ax6z_186 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_6ax6z_166:hover{opacity:1}._btn_6ax6z_229{min-width:200px;margin:10px auto 20px;opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._g_6ax6z_242{display:flex;gap:10px}._c_6ax6z_181{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;cursor:pointer}._c_6ax6z_181:first-child{margin-left:20px}._c_6ax6z_181:last-child{margin-right:20px}._c_6ax6z_181:hover{opacity:1;background:var(--tinge)}._c_6ax6z_181 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_6ax6z_181 b{text-align:center;display:block;color:var(--color)}._c_6ax6z_181 p{text-align:center;font-size:15px;color:var(--text)}._btn_6ax6z_229:hover{opacity:1}._modal_6ax6z_73._size-a_6ax6z_294 ._w_6ax6z_14{width:auto}._modal_6ax6z_73._size-s_6ax6z_298 ._w_6ax6z_14{width:400px}._modal_6ax6z_73._size-m_6ax6z_302 ._w_6ax6z_14{width:500px}._modal_6ax6z_73._size-l_6ax6z_306 ._w_6ax6z_14{width:800px}._modal_6ax6z_73._size-x_6ax6z_310 ._w_6ax6z_14{width:1000px}._modal_6ax6z_73._size-f_6ax6z_314 ._w_6ax6z_14{width:100%;max-width:1200px;min-width:910px}._btn_6ax6z_229._confirm_6ax6z_320{background:#4caf50;color:#fff}._btn_6ax6z_229._cancel_6ax6z_325{background:#f44336;color:#fff}._btn_6ax6z_229._disabled_6ax6z_330,._btn_6ax6z_229._await_6ax6z_337{background:#efefef;color:#000;opacity:1;cursor:default}._m_6ax6z_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_6ax6z_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_6ax6z_73 big i:hover{box-shadow:var(--inset)}._m_6ax6z_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_6ax6z_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_6ax6z_73 span._active_6ax6z_387{box-shadow:var(--inset);color:var(--color)}._coincidence_6ax6z_393{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_6ax6z_393 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_6ax6z_393 dl{display:flex;padding:0;margin:5px}._coincidence_6ax6z_393 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}menu{border-radius:5px;overflow:hidden;display:flex;flex-direction:column;background:var(--contex);grid-area:m}._payment_1lxfv_1{background:#f44336;height:42px;border-radius:5px;color:#fff;font-weight:700;line-height:42px;margin-top:8px;grid-area:p;text-align:center}._setting_1r0pc_2{width:100%;overflow:auto}._setting_1r0pc_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_1r0pc_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_1r0pc_2 nav li[tabs-active=true]{opacity:1}._setting_1r0pc_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_1r0pc_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_1r0pc_2 li{font-size:20px;line-height:40px}._setting_1r0pc_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;background:var(--setting-bg);color:var(--setting-color)}._setting_1r0pc_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_1r0pc_2 dt{flex:1;padding:0 15px}._setting_1r0pc_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_1r0pc_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_1r0pc_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_1r0pc_2 [data-close]{cursor:pointer;width:10px;height:10px;border-top:3px solid var(--setting-color);border-left:3px solid var(--setting-color);position:absolute;right:10px;top:3px;-webkit-transform:translate(0,-50%) rotate(45deg);-ms-transform:translate(0,-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}._setting_1r0pc_2 [data-close=false]{right:10px;top:0;-webkit-transform:translate(0,-50%) rotate(-135deg);-ms-transform:translate(0,-50%) rotate(-135deg);transform:translateY(-50%) rotate(-135deg)}._setting_1r0pc_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_1r0pc_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_1r0pc_2 [role=button]:hover{background:var(--setting-action)}._setting_1r0pc_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_1r0pc_2 [role=button-outline]:hover{background:#00000038}._setting_1r0pc_2 [role=switch]{cursor:pointer;position:relative;width:44px;height:22px;border-radius:50px;vertical-align:text-bottom;transition:all .3s linear;margin:0}._setting_1r0pc_2 [role=switch]:after{content:"";position:absolute;left:4px;width:16px;height:16px;background-color:#fff;border-radius:50%;box-shadow:0 2px 2px #0000003d;transform:translate3d(0,3px,0);transition:all .2s ease-in-out}._setting_1r0pc_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_1r0pc_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_1r0pc_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_1r0pc_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._h_1b5x7_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex}._t_1b5x7_10{border-bottom:0;cursor:default;display:block;flex:1;margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px;font-size:14px!important;line-height:35px;font-weight:700;text-align:center;color:var(--label);position:relative;height:35px}._s_1b5x7_28{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_1b5x7_37{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_1b5x7_44{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._l_1b5x7_53{flex:1;overflow:hidden;overflow-y:scroll;background:var(--content)}._hh_1b5x7_60{background:#fff;display:block;flex:1 1;font-size:14px;line-height:35px;font-weight:700;text-align:center;color:#1f253d;border-bottom:1px solid #ddd;position:relative}
|
|
2
2
|
`,document.head.appendChild(se);var X={exports:{}},L={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var le;function Ue(){if(le)return L;le=1;var r=m,i=Symbol.for("react.element"),
|
|
10
|
+
*/var le;function Ue(){if(le)return L;le=1;var r=m,i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,_=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,b={key:!0,ref:!0,__self:!0,__source:!0};function $(z,g,O){var v,y={},C=null,q=null;O!==void 0&&(C=""+O),g.key!==void 0&&(C=""+g.key),g.ref!==void 0&&(q=g.ref);for(v in g)l.call(g,v)&&!b.hasOwnProperty(v)&&(y[v]=g[v]);if(z&&z.defaultProps)for(v in g=z.defaultProps,g)y[v]===void 0&&(y[v]=g[v]);return{$$typeof:i,type:z,key:C,ref:q,props:y,_owner:_.current}}return L.Fragment=o,L.jsx=$,L.jsxs=$,L}var W={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.development.js
|
|
13
13
|
*
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var ce;function qe(){return ce||(ce=1,process.env.NODE_ENV!=="production"&&function(){var r=m,i=Symbol.for("react.element"),
|
|
19
|
-
`+ee+e}}var te=!1,H;{var
|
|
18
|
+
*/var ce;function qe(){return ce||(ce=1,process.env.NODE_ENV!=="production"&&function(){var r=m,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),$=Symbol.for("react.provider"),z=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),q=Symbol.for("react.offscreen"),ve=Symbol.iterator,Nt="@@iterator";function Dt(e){if(e===null||typeof e!="object")return null;var n=ve&&e[ve]||e[Nt];return typeof n=="function"?n:null}var D=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),s=1;s<n;s++)a[s-1]=arguments[s];Ft("error",e,a)}}function Ft(e,n,a){{var s=D.ReactDebugCurrentFrame,u=s.getStackAddendum();u!==""&&(n+="%s",a=a.concat([u]));var x=a.map(function(d){return String(d)});x.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,x)}}var Mt=!1,Lt=!1,Wt=!1,Yt=!1,Bt=!1,ye;ye=Symbol.for("react.module.reference");function Vt(e){return!!(typeof e=="string"||typeof e=="function"||e===l||e===b||Bt||e===_||e===O||e===v||Yt||e===q||Mt||Lt||Wt||typeof e=="object"&&e!==null&&(e.$$typeof===C||e.$$typeof===y||e.$$typeof===$||e.$$typeof===z||e.$$typeof===g||e.$$typeof===ye||e.getModuleId!==void 0))}function Ut(e,n,a){var s=e.displayName;if(s)return s;var u=n.displayName||n.name||"";return u!==""?a+"("+u+")":a}function we(e){return e.displayName||"Context"}function S(e){if(e==null)return null;if(typeof e.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case l:return"Fragment";case o:return"Portal";case b:return"Profiler";case _:return"StrictMode";case O:return"Suspense";case v:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case z:var n=e;return we(n)+".Consumer";case $:var a=e;return we(a._context)+".Provider";case g:return Ut(e,e.render,"ForwardRef");case y:var s=e.displayName||null;return s!==null?s:S(e.type)||"Memo";case C:{var u=e,x=u._payload,d=u._init;try{return S(d(x))}catch{return null}}}return null}var A=Object.assign,V=0,ke,je,ze,Ce,Se,Ee,Re;function Te(){}Te.__reactDisabledLog=!0;function qt(){{if(V===0){ke=console.log,je=console.info,ze=console.warn,Ce=console.error,Se=console.group,Ee=console.groupCollapsed,Re=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Te,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}V++}}function Jt(){{if(V--,V===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},e,{value:ke}),info:A({},e,{value:je}),warn:A({},e,{value:ze}),error:A({},e,{value:Ce}),group:A({},e,{value:Se}),groupCollapsed:A({},e,{value:Ee}),groupEnd:A({},e,{value:Re})})}V<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Q=D.ReactCurrentDispatcher,ee;function J(e,n,a){{if(ee===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);ee=s&&s[1]||""}return`
|
|
19
|
+
`+ee+e}}var te=!1,H;{var Ht=typeof WeakMap=="function"?WeakMap:Map;H=new Ht}function Oe(e,n){if(!e||te)return"";{var a=H.get(e);if(a!==void 0)return a}var s;te=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var x;x=Q.current,Q.current=null,qt();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(E){s=E}Reflect.construct(e,[],d)}else{try{d.call()}catch(E){s=E}e.call(d.prototype)}}else{try{throw Error()}catch(E){s=E}e()}}catch(E){if(E&&s&&typeof E.stack=="string"){for(var c=E.stack.split(`
|
|
20
20
|
`),k=s.stack.split(`
|
|
21
|
-
`),
|
|
22
|
-
`+c[
|
|
21
|
+
`),f=c.length-1,h=k.length-1;f>=1&&h>=0&&c[f]!==k[h];)h--;for(;f>=1&&h>=0;f--,h--)if(c[f]!==k[h]){if(f!==1||h!==1)do if(f--,h--,h<0||c[f]!==k[h]){var j=`
|
|
22
|
+
`+c[f].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),typeof e=="function"&&H.set(e,j),j}while(f>=1&&h>=0);break}}}finally{te=!1,Q.current=x,Jt(),Error.prepareStackTrace=u}var M=e?e.displayName||e.name:"",Ve=M?J(M):"";return typeof e=="function"&&H.set(e,Ve),Ve}function Zt(e,n,a){return Oe(e,!1)}function Gt(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Z(e,n,a){if(e==null)return"";if(typeof e=="function")return Oe(e,Gt(e));if(typeof e=="string")return J(e);switch(e){case O:return J("Suspense");case v:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case g:return Zt(e.render);case y:return Z(e.type,n,a);case C:{var s=e,u=s._payload,x=s._init;try{return Z(x(u),n,a)}catch{}}}return""}var G=Object.prototype.hasOwnProperty,Pe={},Ie=D.ReactDebugCurrentFrame;function K(e){if(e){var n=e._owner,a=Z(e.type,e._source,n?n.type:null);Ie.setExtraStackFrame(a)}else Ie.setExtraStackFrame(null)}function Kt(e,n,a,s,u){{var x=Function.call.bind(G);for(var d in e)if(x(e,d)){var c=void 0;try{if(typeof e[d]!="function"){var k=Error((s||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw k.name="Invariant Violation",k}c=e[d](n,d,s,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(f){c=f}c&&!(c instanceof Error)&&(K(u),w("%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).",s||"React class",a,d,typeof c),K(null)),c instanceof Error&&!(c.message in Pe)&&(Pe[c.message]=!0,K(u),w("Failed %s type: %s",a,c.message),K(null))}}}var Xt=Array.isArray;function re(e){return Xt(e)}function Qt(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function er(e){try{return $e(e),!1}catch{return!0}}function $e(e){return""+e}function Ae(e){if(er(e))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Qt(e)),$e(e)}var U=D.ReactCurrentOwner,tr={key:!0,ref:!0,__self:!0,__source:!0},Ne,De,ne;ne={};function rr(e){if(G.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function nr(e){if(G.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function ir(e,n){if(typeof e.ref=="string"&&U.current&&n&&U.current.stateNode!==n){var a=S(U.current.type);ne[a]||(w('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',S(U.current.type),e.ref),ne[a]=!0)}}function or(e,n){{var a=function(){Ne||(Ne=!0,w("%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))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function ar(e,n){{var a=function(){De||(De=!0,w("%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))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var sr=function(e,n,a,s,u,x,d){var c={$$typeof:i,type:e,key:n,ref:a,props:d,_owner:x};return c._store={},Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function lr(e,n,a,s,u){{var x,d={},c=null,k=null;a!==void 0&&(Ae(a),c=""+a),nr(n)&&(Ae(n.key),c=""+n.key),rr(n)&&(k=n.ref,ir(n,u));for(x in n)G.call(n,x)&&!tr.hasOwnProperty(x)&&(d[x]=n[x]);if(e&&e.defaultProps){var f=e.defaultProps;for(x in f)d[x]===void 0&&(d[x]=f[x])}if(c||k){var h=typeof e=="function"?e.displayName||e.name||"Unknown":e;c&&or(d,h),k&&ar(d,h)}return sr(e,c,k,u,s,U.current,d)}}var ie=D.ReactCurrentOwner,Fe=D.ReactDebugCurrentFrame;function F(e){if(e){var n=e._owner,a=Z(e.type,e._source,n?n.type:null);Fe.setExtraStackFrame(a)}else Fe.setExtraStackFrame(null)}var oe;oe=!1;function ae(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Me(){{if(ie.current){var e=S(ie.current.type);if(e)return`
|
|
23
23
|
|
|
24
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
24
|
+
Check the render method of \``+e+"`."}return""}}function cr(e){{if(e!==void 0){var n=e.fileName.replace(/^.*[\\\/]/,""),a=e.lineNumber;return`
|
|
25
25
|
|
|
26
|
-
Check your code at `+n+":"+
|
|
26
|
+
Check your code at `+n+":"+a+"."}return""}}var Le={};function dr(e){{var n=Me();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
27
27
|
|
|
28
|
-
Check the top-level render call using <`+o+">.")}return n}}function We(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var o=or(n);if(Le[o])return;Le[o]=!0;var s="";e&&e._owner&&e._owner!==ie.current&&(s=" It was passed a child from "+E(e._owner.type)+"."),D(e),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,s),D(null)}}function Ye(e,n){{if(typeof e!="object")return;if(re(e))for(var o=0;o<e.length;o++){var s=e[o];oe(s)&&We(s,n)}else if(oe(e))e._store&&(e._store.validated=!0);else if(e){var x=$t(e);if(typeof x=="function"&&x!==e.entries)for(var u=x.call(e),d;!(d=u.next()).done;)oe(d.value)&&We(d.value,n)}}}function sr(e){{var n=e.type;if(n==null||typeof n=="string")return;var o;if(typeof n=="function")o=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===g||n.$$typeof===y))o=n.propTypes;else return;if(o){var s=E(n);Jt(o,e.props,"prop",s,e)}else if(n.PropTypes!==void 0&&!ae){ae=!0;var x=E(n);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",x||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(e){{for(var n=Object.keys(e.props),o=0;o<n.length;o++){var s=n[o];if(s!=="children"&&s!=="key"){D(e),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s),D(null);break}}e.ref!==null&&(D(e),w("Invalid attribute `ref` supplied to `React.Fragment`."),D(null))}}function Be(e,n,o,s,x,u){{var d=Lt(e);if(!d){var c="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(c+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var k=ar(x);k?c+=k:c+=Me();var p;e===null?p="null":re(e)?p="array":e!==void 0&&e.$$typeof===i?(p="<"+(E(e.type)||"Unknown")+" />",c=" Did you accidentally export a JSX literal instead of a component?"):p=typeof e,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",p,c)}var _=ir(e,n,o,x,u);if(_==null)return _;if(d){var j=n.children;if(j!==void 0)if(s)if(re(j)){for(var M=0;M<j.length;M++)Ye(j[M],e);Object.freeze&&Object.freeze(j)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ye(j,e)}return e===l?lr(_):sr(_),_}}function cr(e,n,o){return Be(e,n,o,!0)}function dr(e,n,o){return Be(e,n,o,!1)}var xr=dr,ur=cr;W.Fragment=l,W.jsx=xr,W.jsxs=ur}()),W}process.env.NODE_ENV==="production"?X.exports=Ue():X.exports=qe();var t=X.exports;const Je={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let R={};function He(){let[r,i]=m.useState([]);return R.set=a=>{i([...r,a])},R.del=a=>{i(r.filter(l=>l.key!==a))},r.length===0?"":t.jsx("ul",{className:Je.notice,children:r.map(a=>a.item)})}function Y({data:r}){let[i,a]=m.useState("show");m.useEffect(()=>{setTimeout(function(){a("hide")},1800),setTimeout(function(){R.del(r.key)},2500)},[r.key]);let l,f;switch(r.type){case"error":l=t.jsx(P.error,{}),f="Ошибка:";break;case"success":l=t.jsx(P.success,{}),f="Информация:";break;case"copy":l=t.jsx(P.success,{}),f="Копирование:";break;case"remark":l=t.jsx(P.success,{}),f="Подсказка:";break;default:l=t.jsx(P.success,{}),f="Предупреждение:";break}return t.jsxs("li",{className:"item "+r.type,"data-status":i,children:[l,t.jsx("b",{children:f}),t.jsx("p",{children:r.text})]})}function Ze(r){let i=Date.now(),a={key:i,...r};R.set({item:t.jsx(Y,{data:a},i),key:i})}function Ge(r){let i=Date.now(),a={key:i,text:r,type:"error"};R.set({item:t.jsx(Y,{data:a},i),key:i})}function Ke(r){let i=Date.now(),a={key:i,text:r,type:"success"};R.set({item:t.jsx(Y,{data:a},i),key:i})}function Xe(r){let i=Date.now(),a={key:i,text:r,type:"remark"};R.set({item:t.jsx(Y,{data:a},i),key:i})}function Qe(r){let i=Date.now(),a={key:i,text:r,type:"copy"};R.set({item:t.jsx(Y,{data:a},i),key:i})}const P={};P.error=()=>t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[t.jsx("path",{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",fill:"#bb2014"}),t.jsx("path",{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",fill:"#fff"})]}),P.success=()=>t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[t.jsx("path",{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",fill:"#367738"}),t.jsx("path",{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",fill:"#fff"})]});const et={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let B={};function tt(){let[r,i]=m.useState("");return B.set=a=>i(a),B.del=()=>i(""),t.jsx(t.Fragment,{children:r})}const rt=({data:r,callback:i})=>(r.button=r.button===void 0?"Подтвердить":r.button,t.jsxs("div",{className:et.alerts,children:[t.jsxs("dl",{children:[t.jsx("dt",{children:r.title}),t.jsx("dd",{children:r.text}),t.jsx("ul",{children:t.jsx("button",{"data-color":r.color||"blue",onClick:()=>{i(),B.del()},children:r.button})})]}),t.jsx("div",{className:"--body",onClick:B.del})]}));function nt(r,i){B.set(t.jsx(rt,{data:r,callback:i}))}function it({children:r}){return t.jsx("div",{className:"l",children:t.jsx("ul",{children:r})})}function at({children:r}){return t.jsx("div",{className:"s",children:r})}const de=({children:r,disabled:i,label:a,onClick:l})=>{const f=b=>{i||l&&l(b)};return t.jsx("button",{disabled:i,onClick:f,children:a})},T={white:"_white_6ax6z_14",black:"_black_6ax6z_26",shake:"_shake_6ax6z_1",modal:"_modal_6ax6z_73",o:"_o_6ax6z_83",w:"_w_6ax6z_14",h:"_h_6ax6z_106",l:"_l_6ax6z_120",t:"_t_6ax6z_158",m:"_m_6ax6z_73",x:"_x_6ax6z_166",s:"_s_6ax6z_176",c:"_c_6ax6z_181",f:"_f_6ax6z_186",btn:"_btn_6ax6z_229",g:"_g_6ax6z_242","size-a":"_size-a_6ax6z_294","size-s":"_size-s_6ax6z_298","size-m":"_size-m_6ax6z_302","size-l":"_size-l_6ax6z_306","size-x":"_size-x_6ax6z_310","size-f":"_size-f_6ax6z_314",confirm:"_confirm_6ax6z_320",cancel:"_cancel_6ax6z_325",disabled:"_disabled_6ax6z_330",await:"_await_6ax6z_337",active:"_active_6ax6z_387",coincidence:"_coincidence_6ax6z_393"};let N={};const ot=({config:r})=>{let[i,a]=m.useState([]);return N.x=()=>{a([])},N.config=r,N.add=l=>{a([...i,l])},t.jsx(t.Fragment,{children:i.map(l=>l)})},st=({children:r,title:i,button:a,tabs:l,size:f="m",menu:b})=>{const[I,z]=m.useState(!0),g=m.useRef(),O=y=>{if(a&&a.onClick)return a.onClick({closed:z,disabled:y})},v=()=>{g.current.setAttribute("shake",!0),setTimeout(()=>{g.current.setAttribute("shake",!1)},1e3)};return t.jsx(t.Fragment,{children:I?t.jsxs("div",{className:`${T.modal} ${T.white}`,children:[t.jsx("div",{className:T.o,onClick:v}),t.jsxs("div",{className:T.w,ref:g,children:[t.jsxs("div",{className:T.h,children:[t.jsx("div",{className:T.t,children:i}),t.jsxs("div",{className:T.m,children:[l&&t.jsx("nav",{children:l.map((y,C)=>t.jsx("span",{onClick:y.onClick,className:y.active?"active":"",children:y.name},C))}),b]}),t.jsx("div",{className:T.x,onClick:()=>{z(!1)},children:"x"})]}),r,a!==void 0?t.jsx(de,{label:String(a.name),onClick:O}):""]})]}):""})},lt=r=>{N.add(t.jsx(ct,{children:r},String(Date.now())))},ct=({children:r})=>t.jsx(t.Fragment,{children:r}),xe={List:it,Scroll:at,Init:ot,Main:st,Add:lt,Icon:({type:r,name:i,params:a})=>{let[l,f]=m.useState(null);return m.useEffect(()=>{N.config(r,i,a,f)},[a.id]),t.jsx(t.Fragment,{children:l})},Open:(r,i,a)=>{N.config(r,i,a)}};let ue={};function dt({crypto:r}){if(ue=r,localStorage.getItem("ssid")){let a=sessionStorage.getItem("page");a&&(a=ue.deCode(a),a.id,a.tab,a.page,a.module,a.time,a.module_admin)}else["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(a=>localStorage.removeItem(a)),["page"].forEach(a=>sessionStorage.removeItem(a))}const pe=({children:r,config:i,crypto:a,...l})=>(dt({crypto:a}),t.jsxs(t.Fragment,{children:[t.jsx(xe.Init,{config:i.modal}),t.jsx(He,{}),t.jsx(tt,{}),r]})),xt=({children:r,...i})=>t.jsx("menu",{children:r}),ut=({children:r,...i})=>t.jsxs("header",{children:["xz",r]}),pt={payment:"_payment_1lxfv_1"};function ft(){let[r,i]=m.useState({});return!r.active&&!r.payment?"":t.jsx("div",{className:pt.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const _t=({children:r,...i})=>{let a={};return a.enCode=l=>JSON.stringify(l).toString(),a.deCode=l=>JSON.parse(l),t.jsxs("div",{className:"app",children:[t.jsx(ft,{}),t.jsx(xt,{}),t.jsx(ut,{}),t.jsx(pe,{config:{modal:{}},crypto:a}),r]})},fe=({list:r,onClick:i,active:a,size:l,view:f})=>t.jsx("nav",{children:t.jsx("ul",{className:[l,f].join(" "),children:r.map(b=>t.jsx(ht,{onClick:i,active:a,label:b.label,link:b.link},b.link))})}),ht=({onClick:r,label:i,link:a,active:l})=>t.jsx("li",{"tabs-active":String(l===a),onClick:()=>r(a),children:i});fe.defaultProps={size:"M",view:"H"};const gt=({title:r="",button:i,description:a="",children:l})=>t.jsxs("fieldset",{children:[r&&t.jsxs("legend",{children:[r,i&&t.jsx("div",{role:"button-outline",onClick:()=>i.onClick(),children:i.label})," "]}),t.jsx("ul",{children:l}),a&&t.jsx("article",{children:a})]}),mt={setting:"_setting_1r0pc_2"},bt=({children:r})=>t.jsx("div",{className:mt.setting,children:r}),vt=({label:r,children:i})=>{let[a,l]=m.useState(!1);return t.jsxs("li",{"data-item":"accordion",children:[t.jsxs("dl",{onClick:()=>l(!a),children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:t.jsx("div",{"data-close":String(a)})})]}),a&&t.jsx("div",{children:i})]})},yt=({label:r,onClick:i,button:a})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"button",onClick:()=>i(),children:a})]})}),_e={Switch:({active:r,onClick:i})=>(console.log(r),r=typeof r=="number"?!!r:r,t.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),i()},"aria-checked":r?"true":"false"}))},wt={Accordion:vt,Button:yt,Switch:({label:r,onClick:i,active:a})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:t.jsx(_e.Switch,{onClick:i,active:a})})]})}),Info:({label:r,info:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"info",children:i})]})}),Select:({label:r,active:i,options:a})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"info",children:i})]})}),Component:({label:r,children:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:i})]})}),Node:({label:r,children:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:i})]})})};function he({list:r,onClick:i,active:a,size:l,view:f}){return t.jsx("nav",{children:t.jsx("ul",{className:[l,f].join(" "),children:r.map(b=>t.jsx(kt,{onClick:i,active:a,label:b.label,link:b.link},b.link))})})}const kt=({onClick:r,label:i,link:a,active:l})=>t.jsx("li",{"tabs-active":String(l===a),onClick:()=>r(a),children:i});he.defaultProps={size:"M",view:"H"};const jt={Section:gt,Main:bt,Item:wt,Tabs:he},$={h:"_h_1b5x7_1",t:"_t_1b5x7_10",s:"_s_1b5x7_28",u:"_u_1b5x7_37",o:"_o_1b5x7_44",l:"_l_1b5x7_53",hh:"_hh_1b5x7_60"},ge=({title:r,children:i})=>t.jsxs("div",{className:$.h,children:[t.jsx("div",{className:$.t,children:r}),i]}),zt=({children:r,title:i})=>t.jsxs("div",{className:$.o,children:[i&&t.jsx("div",{className:$.hh,children:i}),r]}),Ct=({children:r})=>t.jsx("div",{className:$.u,children:r}),me=({children:r})=>t.jsx("div",{className:$.s,children:r}),be=({children:r,...i})=>t.jsx("div",{className:$.l,children:r}),Et={Header:ge,Section:me,List:be,U:Ct,L:be,O:zt,S:me,H:ge},St={Send:Ze,Error:Ge,Remark:Xe,Success:Ke,Copy:Qe},Rt={Send:nt};function Tt(){return t.jsx("svg",{viewBox:"0 0 462.86 359.96",children:t.jsx("path",{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",transform:"translate(-88.37 0)"})})}const Ot={Logo:Tt};h.Action=_e,h.Alert=Rt,h.Browser=_t,h.Button=de,h.Component=Et,h.Icon=Ot,h.Init=pe,h.Modal=xe,h.Notice=St,h.Setting=jt,h.Tabs=fe,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
|
|
28
|
+
Check the top-level render call using <`+a+">.")}return n}}function We(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=dr(n);if(Le[a])return;Le[a]=!0;var s="";e&&e._owner&&e._owner!==ie.current&&(s=" It was passed a child from "+S(e._owner.type)+"."),F(e),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,s),F(null)}}function Ye(e,n){{if(typeof e!="object")return;if(re(e))for(var a=0;a<e.length;a++){var s=e[a];ae(s)&&We(s,n)}else if(ae(e))e._store&&(e._store.validated=!0);else if(e){var u=Dt(e);if(typeof u=="function"&&u!==e.entries)for(var x=u.call(e),d;!(d=x.next()).done;)ae(d.value)&&We(d.value,n)}}}function ur(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===g||n.$$typeof===y))a=n.propTypes;else return;if(a){var s=S(n);Kt(a,e.props,"prop",s,e)}else if(n.PropTypes!==void 0&&!oe){oe=!0;var u=S(n);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",u||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function xr(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var s=n[a];if(s!=="children"&&s!=="key"){F(e),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s),F(null);break}}e.ref!==null&&(F(e),w("Invalid attribute `ref` supplied to `React.Fragment`."),F(null))}}function Be(e,n,a,s,u,x){{var d=Vt(e);if(!d){var c="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(c+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var k=cr(u);k?c+=k:c+=Me();var f;e===null?f="null":re(e)?f="array":e!==void 0&&e.$$typeof===i?(f="<"+(S(e.type)||"Unknown")+" />",c=" Did you accidentally export a JSX literal instead of a component?"):f=typeof e,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",f,c)}var h=lr(e,n,a,u,x);if(h==null)return h;if(d){var j=n.children;if(j!==void 0)if(s)if(re(j)){for(var M=0;M<j.length;M++)Ye(j[M],e);Object.freeze&&Object.freeze(j)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ye(j,e)}return e===l?xr(h):ur(h),h}}function fr(e,n,a){return Be(e,n,a,!0)}function pr(e,n,a){return Be(e,n,a,!1)}var _r=pr,hr=fr;W.Fragment=l,W.jsx=_r,W.jsxs=hr}()),W}process.env.NODE_ENV==="production"?X.exports=Ue():X.exports=qe();var t=X.exports;const Je={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let R={};function He(){let[r,i]=m.useState([]);return R.set=o=>{i([...r,o])},R.del=o=>{i(r.filter(l=>l.key!==o))},r.length===0?"":t.jsx("ul",{className:Je.notice,children:r.map(o=>o.item)})}function Y({data:r}){let[i,o]=m.useState("show");m.useEffect(()=>{setTimeout(function(){o("hide")},1800),setTimeout(function(){R.del(r.key)},2500)},[r.key]);let l,_;switch(r.type){case"error":l=t.jsx(P.error,{}),_="Ошибка:";break;case"success":l=t.jsx(P.success,{}),_="Информация:";break;case"copy":l=t.jsx(P.success,{}),_="Копирование:";break;case"remark":l=t.jsx(P.success,{}),_="Подсказка:";break;default:l=t.jsx(P.success,{}),_="Предупреждение:";break}return t.jsxs("li",{className:"item "+r.type,"data-status":i,children:[l,t.jsx("b",{children:_}),t.jsx("p",{children:r.text})]})}function Ze(r){let i=Date.now(),o={key:i,...r};R.set({item:t.jsx(Y,{data:o},i),key:i})}function Ge(r){let i=Date.now(),o={key:i,text:r,type:"error"};R.set({item:t.jsx(Y,{data:o},i),key:i})}function Ke(r){let i=Date.now(),o={key:i,text:r,type:"success"};R.set({item:t.jsx(Y,{data:o},i),key:i})}function Xe(r){let i=Date.now(),o={key:i,text:r,type:"remark"};R.set({item:t.jsx(Y,{data:o},i),key:i})}function Qe(r){let i=Date.now(),o={key:i,text:r,type:"copy"};R.set({item:t.jsx(Y,{data:o},i),key:i})}const P={};P.error=()=>t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[t.jsx("path",{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",fill:"#bb2014"}),t.jsx("path",{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",fill:"#fff"})]}),P.success=()=>t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[t.jsx("path",{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",fill:"#367738"}),t.jsx("path",{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",fill:"#fff"})]});const et={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let B={};function tt(){let[r,i]=m.useState("");return B.set=o=>i(o),B.del=()=>i(""),t.jsx(t.Fragment,{children:r})}const rt=({data:r,callback:i})=>(r.button=r.button===void 0?"Подтвердить":r.button,t.jsxs("div",{className:et.alerts,children:[t.jsxs("dl",{children:[t.jsx("dt",{children:r.title}),t.jsx("dd",{children:r.text}),t.jsx("ul",{children:t.jsx("button",{"data-color":r.color||"blue",onClick:()=>{i(),B.del()},children:r.button})})]}),t.jsx("div",{className:"--body",onClick:B.del})]}));function nt(r,i){B.set(t.jsx(rt,{data:r,callback:i}))}function it({children:r}){return t.jsx("div",{className:"l",children:t.jsx("ul",{children:r})})}function ot({children:r}){return t.jsx("div",{className:"s",children:r})}const de=({children:r,disabled:i,label:o,onClick:l})=>{const _=b=>{i||l&&l(b)};return t.jsx("button",{disabled:i,onClick:_,children:o})},T={white:"_white_6ax6z_14",black:"_black_6ax6z_26",shake:"_shake_6ax6z_1",modal:"_modal_6ax6z_73",o:"_o_6ax6z_83",w:"_w_6ax6z_14",h:"_h_6ax6z_106",l:"_l_6ax6z_120",t:"_t_6ax6z_158",m:"_m_6ax6z_73",x:"_x_6ax6z_166",s:"_s_6ax6z_176",c:"_c_6ax6z_181",f:"_f_6ax6z_186",btn:"_btn_6ax6z_229",g:"_g_6ax6z_242","size-a":"_size-a_6ax6z_294","size-s":"_size-s_6ax6z_298","size-m":"_size-m_6ax6z_302","size-l":"_size-l_6ax6z_306","size-x":"_size-x_6ax6z_310","size-f":"_size-f_6ax6z_314",confirm:"_confirm_6ax6z_320",cancel:"_cancel_6ax6z_325",disabled:"_disabled_6ax6z_330",await:"_await_6ax6z_337",active:"_active_6ax6z_387",coincidence:"_coincidence_6ax6z_393"};let N={};const at=({config:r})=>{let[i,o]=m.useState([]);return N.x=()=>{o([])},N.config=r,N.add=l=>{o([...i,l])},t.jsx(t.Fragment,{children:i.map(l=>l)})},st=({children:r,title:i,button:o,tabs:l,size:_="m",menu:b})=>{const[$,z]=m.useState(!0),g=m.useRef(),O=y=>{if(o&&o.onClick)return o.onClick({closed:z,disabled:y})},v=()=>{g.current.setAttribute("shake",!0),setTimeout(()=>{g.current.setAttribute("shake",!1)},1e3)};return t.jsx(t.Fragment,{children:$?t.jsxs("div",{className:`${T.modal} ${T.white}`,children:[t.jsx("div",{className:T.o,onClick:v}),t.jsxs("div",{className:T.w,ref:g,children:[t.jsxs("div",{className:T.h,children:[t.jsx("div",{className:T.t,children:i}),t.jsxs("div",{className:T.m,children:[l&&t.jsx("nav",{children:l.map((y,C)=>t.jsx("span",{onClick:y.onClick,className:y.active?"active":"",children:y.name},C))}),b]}),t.jsx("div",{className:T.x,onClick:()=>{z(!1)},children:"x"})]}),r,o!==void 0?t.jsx(de,{label:String(o.name),onClick:O}):""]})]}):""})},lt=r=>{N.add(t.jsx(ct,{children:r},String(Date.now())))},ct=({children:r})=>t.jsx(t.Fragment,{children:r}),ue={List:it,Scroll:ot,Init:at,Main:st,Add:lt,Icon:({type:r,name:i,params:o})=>{let[l,_]=m.useState(null);return m.useEffect(()=>{N.config(r,i,o,_)},[o.id]),t.jsx(t.Fragment,{children:l})},Open:(r,i,o)=>{N.config(r,i,o)}};let xe={};function dt({crypto:r}){if(xe=r,localStorage.getItem("ssid")){let o=sessionStorage.getItem("page");o&&(o=xe.deCode(o),o.id,o.tab,o.page,o.module,o.time,o.module_admin)}else["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(o=>localStorage.removeItem(o)),["page"].forEach(o=>sessionStorage.removeItem(o))}function ut(){["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(r=>localStorage.removeItem(r)),["page"].forEach(r=>sessionStorage.removeItem(r)),window.location.reload()}function xt(r){return localStorage.setItem("ssid",r)}function ft(){let r=localStorage.getItem("ssid");return r!==""&&r!=="undefined"&&r!==null?localStorage.getItem("ssid"):(ut(),!1)}const fe=({children:r,config:i,crypto:o,...l})=>(dt({crypto:o}),t.jsxs(t.Fragment,{children:[t.jsx(ue.Init,{config:i.modal}),t.jsx(He,{}),t.jsx(tt,{}),r]})),pt=({children:r,...i})=>t.jsx("menu",{children:r}),_t=({children:r,...i})=>t.jsxs("header",{children:["xz",r]}),ht={payment:"_payment_1lxfv_1"};function gt(){let[r,i]=m.useState({});return!r.active&&!r.payment?"":t.jsx("div",{className:ht.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const mt=({children:r,...i})=>{let o={};return o.enCode=l=>JSON.stringify(l).toString(),o.deCode=l=>JSON.parse(l),t.jsxs("div",{className:"app",children:[t.jsx(gt,{}),t.jsx(pt,{}),t.jsx(_t,{}),t.jsx(fe,{config:{modal:{}},crypto:o}),r]})},pe=({list:r,onClick:i,active:o,size:l,view:_})=>t.jsx("nav",{children:t.jsx("ul",{className:[l,_].join(" "),children:r.map(b=>t.jsx(bt,{onClick:i,active:o,label:b.label,link:b.link},b.link))})}),bt=({onClick:r,label:i,link:o,active:l})=>t.jsx("li",{"tabs-active":String(l===o),onClick:()=>r(o),children:i});pe.defaultProps={size:"M",view:"H"};const vt=({title:r="",button:i,description:o="",children:l})=>t.jsxs("fieldset",{children:[r&&t.jsxs("legend",{children:[r,i&&t.jsx("div",{role:"button-outline",onClick:()=>i.onClick(),children:i.label})," "]}),t.jsx("ul",{children:l}),o&&t.jsx("article",{children:o})]}),yt={setting:"_setting_1r0pc_2"},wt=({children:r})=>t.jsx("div",{className:yt.setting,children:r}),kt=({label:r,children:i})=>{let[o,l]=m.useState(!1);return t.jsxs("li",{"data-item":"accordion",children:[t.jsxs("dl",{onClick:()=>l(!o),children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:t.jsx("div",{"data-close":String(o)})})]}),o&&t.jsx("div",{children:i})]})},jt=({label:r,onClick:i,button:o})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"button",onClick:()=>i(),children:o})]})}),_e={Switch:({active:r,onClick:i})=>(console.log(r),r=typeof r=="number"?!!r:r,t.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),i()},"aria-checked":r?"true":"false"}))},zt={Accordion:kt,Button:jt,Switch:({label:r,onClick:i,active:o})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:t.jsx(_e.Switch,{onClick:i,active:o})})]})}),Info:({label:r,info:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"info",children:i})]})}),Select:({label:r,active:i,options:o})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"info",children:i})]})}),Component:({label:r,children:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:i})]})}),Node:({label:r,children:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:i})]})})};function he({list:r,onClick:i,active:o,size:l,view:_}){return t.jsx("nav",{children:t.jsx("ul",{className:[l,_].join(" "),children:r.map(b=>t.jsx(Ct,{onClick:i,active:o,label:b.label,link:b.link},b.link))})})}const Ct=({onClick:r,label:i,link:o,active:l})=>t.jsx("li",{"tabs-active":String(l===o),onClick:()=>r(o),children:i});he.defaultProps={size:"M",view:"H"};const St={Section:vt,Main:wt,Item:zt,Tabs:he},I={h:"_h_1b5x7_1",t:"_t_1b5x7_10",s:"_s_1b5x7_28",u:"_u_1b5x7_37",o:"_o_1b5x7_44",l:"_l_1b5x7_53",hh:"_hh_1b5x7_60"},ge=({title:r,children:i})=>t.jsxs("div",{className:I.h,children:[t.jsx("div",{className:I.t,children:r}),i]}),Et=({children:r,title:i})=>t.jsxs("div",{className:I.o,children:[i&&t.jsx("div",{className:I.hh,children:i}),r]}),Rt=({children:r})=>t.jsx("div",{className:I.u,children:r}),me=({children:r})=>t.jsx("div",{className:I.s,children:r}),be=({children:r,...i})=>t.jsx("div",{className:I.l,children:r}),Tt={Header:ge,Section:me,List:be,U:Rt,L:be,O:Et,S:me,H:ge},Ot={Send:Ze,Error:Ge,Remark:Xe,Success:Ke,Copy:Qe},Pt={Send:nt};function It(){return t.jsx("svg",{viewBox:"0 0 462.86 359.96",children:t.jsx("path",{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",transform:"translate(-88.37 0)"})})}const $t={Logo:It},At={setSSID:xt,getSSID:ft};p.Action=_e,p.Alert=Pt,p.Browser=mt,p.Button=de,p.Component=Tt,p.Icon=$t,p.Init=fe,p.Modal=ue,p.Notice=Ot,p.Setting=St,p.Store=At,p.Tabs=pe,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})});
|
package/dist/lib/index.d.ts
CHANGED