elcrm 0.2.6 → 0.2.8
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 +277 -274
- package/dist/index.umd.js +8 -8
- package/dist/lib/Store/Store.d.ts +5 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -10,23 +10,23 @@ var le = { exports: {} }, B = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
13
|
+
var Ne;
|
|
14
14
|
function Et() {
|
|
15
|
-
if (
|
|
15
|
+
if (Ne)
|
|
16
16
|
return B;
|
|
17
|
-
|
|
18
|
-
var t = g, n = Symbol.for("react.element"),
|
|
19
|
-
function k(b,
|
|
17
|
+
Ne = 1;
|
|
18
|
+
var t = g, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, _ = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function k(b, x, O) {
|
|
20
20
|
var j, y = {}, T = null, G = null;
|
|
21
|
-
O !== void 0 && (T = "" + O),
|
|
22
|
-
for (j in
|
|
23
|
-
i.call(
|
|
21
|
+
O !== void 0 && (T = "" + O), x.key !== void 0 && (T = "" + x.key), x.ref !== void 0 && (G = x.ref);
|
|
22
|
+
for (j in x)
|
|
23
|
+
i.call(x, j) && !h.hasOwnProperty(j) && (y[j] = x[j]);
|
|
24
24
|
if (b && b.defaultProps)
|
|
25
|
-
for (j in
|
|
26
|
-
y[j] === void 0 && (y[j] =
|
|
25
|
+
for (j in x = b.defaultProps, x)
|
|
26
|
+
y[j] === void 0 && (y[j] = x[j]);
|
|
27
27
|
return { $$typeof: n, type: b, key: T, ref: G, props: y, _owner: _.current };
|
|
28
28
|
}
|
|
29
|
-
return B.Fragment =
|
|
29
|
+
return B.Fragment = a, B.jsx = k, B.jsxs = k, B;
|
|
30
30
|
}
|
|
31
31
|
var q = {};
|
|
32
32
|
/**
|
|
@@ -38,51 +38,51 @@ var q = {};
|
|
|
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
|
|
41
|
+
var De;
|
|
42
42
|
function Rt() {
|
|
43
|
-
return
|
|
44
|
-
var t = g, n = Symbol.for("react.element"),
|
|
43
|
+
return De || (De = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var t = g, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), de = Symbol.iterator, Ve = "@@iterator";
|
|
45
45
|
function Be(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var
|
|
49
|
-
return typeof
|
|
48
|
+
var s = de && e[de] || e[Ve];
|
|
49
|
+
return typeof s == "function" ? s : null;
|
|
50
50
|
}
|
|
51
51
|
var F = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
52
|
function C(e) {
|
|
53
53
|
{
|
|
54
|
-
for (var
|
|
54
|
+
for (var s = arguments.length, o = new Array(s > 1 ? s - 1 : 0), c = 1; c < s; c++)
|
|
55
55
|
o[c - 1] = arguments[c];
|
|
56
56
|
qe("error", e, o);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function qe(e,
|
|
59
|
+
function qe(e, s, o) {
|
|
60
60
|
{
|
|
61
|
-
var c = F.ReactDebugCurrentFrame,
|
|
62
|
-
|
|
63
|
-
var m = o.map(function(
|
|
64
|
-
return String(
|
|
61
|
+
var c = F.ReactDebugCurrentFrame, f = c.getStackAddendum();
|
|
62
|
+
f !== "" && (s += "%s", o = o.concat([f]));
|
|
63
|
+
var m = o.map(function(d) {
|
|
64
|
+
return String(d);
|
|
65
65
|
});
|
|
66
|
-
m.unshift("Warning: " +
|
|
66
|
+
m.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, m);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
var He = !1, Je = !1, Ge = !1, Ze = !1, Ke = !1, fe;
|
|
70
70
|
fe = Symbol.for("react.module.reference");
|
|
71
71
|
function Xe(e) {
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === h || Ke || e === _ || e === O || e === j || Ze || e === G || He || Je || Ge || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === y || e.$$typeof === k || e.$$typeof === b || e.$$typeof ===
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === h || Ke || e === _ || e === O || e === j || Ze || e === G || He || Je || Ge || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === y || e.$$typeof === k || e.$$typeof === b || e.$$typeof === x || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
76
|
e.$$typeof === fe || e.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function Qe(e,
|
|
78
|
+
function Qe(e, s, o) {
|
|
79
79
|
var c = e.displayName;
|
|
80
80
|
if (c)
|
|
81
81
|
return c;
|
|
82
|
-
var
|
|
83
|
-
return
|
|
82
|
+
var f = s.displayName || s.name || "";
|
|
83
|
+
return f !== "" ? o + "(" + f + ")" : o;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function me(e) {
|
|
86
86
|
return e.displayName || "Context";
|
|
87
87
|
}
|
|
88
88
|
function I(e) {
|
|
@@ -95,7 +95,7 @@ function Rt() {
|
|
|
95
95
|
switch (e) {
|
|
96
96
|
case i:
|
|
97
97
|
return "Fragment";
|
|
98
|
-
case
|
|
98
|
+
case a:
|
|
99
99
|
return "Portal";
|
|
100
100
|
case h:
|
|
101
101
|
return "Profiler";
|
|
@@ -109,20 +109,20 @@ function Rt() {
|
|
|
109
109
|
if (typeof e == "object")
|
|
110
110
|
switch (e.$$typeof) {
|
|
111
111
|
case b:
|
|
112
|
-
var
|
|
113
|
-
return
|
|
112
|
+
var s = e;
|
|
113
|
+
return me(s) + ".Consumer";
|
|
114
114
|
case k:
|
|
115
115
|
var o = e;
|
|
116
|
-
return
|
|
117
|
-
case
|
|
116
|
+
return me(o._context) + ".Provider";
|
|
117
|
+
case x:
|
|
118
118
|
return Qe(e, e.render, "ForwardRef");
|
|
119
119
|
case y:
|
|
120
120
|
var c = e.displayName || null;
|
|
121
121
|
return c !== null ? c : I(e.type) || "Memo";
|
|
122
122
|
case T: {
|
|
123
|
-
var
|
|
123
|
+
var f = e, m = f._payload, d = f._init;
|
|
124
124
|
try {
|
|
125
|
-
return I(
|
|
125
|
+
return I(d(m));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -130,18 +130,18 @@ function Rt() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var z = Object.assign, U = 0,
|
|
134
|
-
function
|
|
133
|
+
var z = Object.assign, U = 0, _e, ve, he, pe, xe, ge, be;
|
|
134
|
+
function je() {
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
je.__reactDisabledLog = !0;
|
|
137
137
|
function et() {
|
|
138
138
|
{
|
|
139
139
|
if (U === 0) {
|
|
140
|
-
|
|
140
|
+
_e = console.log, ve = console.info, he = console.warn, pe = console.error, xe = console.group, ge = console.groupCollapsed, be = console.groupEnd;
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
|
-
value:
|
|
144
|
+
value: je,
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
@@ -167,25 +167,25 @@ function Rt() {
|
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
169
|
log: z({}, e, {
|
|
170
|
-
value:
|
|
170
|
+
value: _e
|
|
171
171
|
}),
|
|
172
172
|
info: z({}, e, {
|
|
173
|
-
value:
|
|
173
|
+
value: ve
|
|
174
174
|
}),
|
|
175
175
|
warn: z({}, e, {
|
|
176
|
-
value:
|
|
176
|
+
value: he
|
|
177
177
|
}),
|
|
178
178
|
error: z({}, e, {
|
|
179
|
-
value:
|
|
179
|
+
value: pe
|
|
180
180
|
}),
|
|
181
181
|
group: z({}, e, {
|
|
182
182
|
value: xe
|
|
183
183
|
}),
|
|
184
184
|
groupCollapsed: z({}, e, {
|
|
185
|
-
value:
|
|
185
|
+
value: ge
|
|
186
186
|
}),
|
|
187
187
|
groupEnd: z({}, e, {
|
|
188
|
-
value:
|
|
188
|
+
value: be
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
@@ -193,13 +193,13 @@ function Rt() {
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
var te = F.ReactCurrentDispatcher, re;
|
|
196
|
-
function Z(e,
|
|
196
|
+
function Z(e, s, o) {
|
|
197
197
|
{
|
|
198
198
|
if (re === void 0)
|
|
199
199
|
try {
|
|
200
200
|
throw Error();
|
|
201
|
-
} catch (
|
|
202
|
-
var c =
|
|
201
|
+
} catch (f) {
|
|
202
|
+
var c = f.stack.trim().match(/\n( *(at )?)/);
|
|
203
203
|
re = c && c[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
@@ -211,7 +211,7 @@ function Rt() {
|
|
|
211
211
|
var rt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
212
|
K = new rt();
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function ye(e, s) {
|
|
215
215
|
if (!e || ne)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
@@ -221,33 +221,33 @@ function Rt() {
|
|
|
221
221
|
}
|
|
222
222
|
var c;
|
|
223
223
|
ne = !0;
|
|
224
|
-
var
|
|
224
|
+
var f = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
226
|
var m;
|
|
227
227
|
m = te.current, te.current = null, et();
|
|
228
228
|
try {
|
|
229
|
-
if (
|
|
230
|
-
var
|
|
229
|
+
if (s) {
|
|
230
|
+
var d = function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
};
|
|
233
|
-
if (Object.defineProperty(
|
|
233
|
+
if (Object.defineProperty(d.prototype, "props", {
|
|
234
234
|
set: function() {
|
|
235
235
|
throw Error();
|
|
236
236
|
}
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
|
-
Reflect.construct(
|
|
239
|
+
Reflect.construct(d, []);
|
|
240
240
|
} catch (P) {
|
|
241
241
|
c = P;
|
|
242
242
|
}
|
|
243
|
-
Reflect.construct(e, [],
|
|
243
|
+
Reflect.construct(e, [], d);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
|
-
|
|
246
|
+
d.call();
|
|
247
247
|
} catch (P) {
|
|
248
248
|
c = P;
|
|
249
249
|
}
|
|
250
|
-
e.call(
|
|
250
|
+
e.call(d.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
@@ -261,39 +261,39 @@ function Rt() {
|
|
|
261
261
|
if (P && c && typeof P.stack == "string") {
|
|
262
262
|
for (var u = P.stack.split(`
|
|
263
263
|
`), S = c.stack.split(`
|
|
264
|
-
`), v = u.length - 1,
|
|
265
|
-
|
|
266
|
-
for (; v >= 1 &&
|
|
267
|
-
if (u[v] !== S[
|
|
268
|
-
if (v !== 1 ||
|
|
264
|
+
`), v = u.length - 1, p = S.length - 1; v >= 1 && p >= 0 && u[v] !== S[p]; )
|
|
265
|
+
p--;
|
|
266
|
+
for (; v >= 1 && p >= 0; v--, p--)
|
|
267
|
+
if (u[v] !== S[p]) {
|
|
268
|
+
if (v !== 1 || p !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (v--,
|
|
270
|
+
if (v--, p--, p < 0 || u[v] !== S[p]) {
|
|
271
271
|
var E = `
|
|
272
272
|
` + u[v].replace(" at new ", " at ");
|
|
273
273
|
return e.displayName && E.includes("<anonymous>") && (E = E.replace("<anonymous>", e.displayName)), typeof e == "function" && K.set(e, E), E;
|
|
274
274
|
}
|
|
275
|
-
while (v >= 1 &&
|
|
275
|
+
while (v >= 1 && p >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
ne = !1, te.current = m, tt(), Error.prepareStackTrace =
|
|
280
|
+
ne = !1, te.current = m, tt(), Error.prepareStackTrace = f;
|
|
281
281
|
}
|
|
282
|
-
var L = e ? e.displayName || e.name : "",
|
|
283
|
-
return typeof e == "function" && K.set(e,
|
|
282
|
+
var L = e ? e.displayName || e.name : "", ze = L ? Z(L) : "";
|
|
283
|
+
return typeof e == "function" && K.set(e, ze), ze;
|
|
284
284
|
}
|
|
285
|
-
function nt(e,
|
|
286
|
-
return
|
|
285
|
+
function nt(e, s, o) {
|
|
286
|
+
return ye(e, !1);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
289
|
-
var
|
|
290
|
-
return !!(
|
|
288
|
+
function st(e) {
|
|
289
|
+
var s = e.prototype;
|
|
290
|
+
return !!(s && s.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function X(e,
|
|
292
|
+
function X(e, s, o) {
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
296
|
-
return
|
|
296
|
+
return ye(e, st(e));
|
|
297
297
|
if (typeof e == "string")
|
|
298
298
|
return Z(e);
|
|
299
299
|
switch (e) {
|
|
@@ -304,104 +304,104 @@ function Rt() {
|
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
|
-
case
|
|
307
|
+
case x:
|
|
308
308
|
return nt(e.render);
|
|
309
309
|
case y:
|
|
310
|
-
return X(e.type,
|
|
310
|
+
return X(e.type, s, o);
|
|
311
311
|
case T: {
|
|
312
|
-
var c = e,
|
|
312
|
+
var c = e, f = c._payload, m = c._init;
|
|
313
313
|
try {
|
|
314
|
-
return X(m(
|
|
314
|
+
return X(m(f), s, o);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var Q = Object.prototype.hasOwnProperty,
|
|
321
|
+
var Q = Object.prototype.hasOwnProperty, Ce = {}, Se = F.ReactDebugCurrentFrame;
|
|
322
322
|
function ee(e) {
|
|
323
323
|
if (e) {
|
|
324
|
-
var
|
|
325
|
-
|
|
324
|
+
var s = e._owner, o = X(e.type, e._source, s ? s.type : null);
|
|
325
|
+
Se.setExtraStackFrame(o);
|
|
326
326
|
} else
|
|
327
|
-
|
|
327
|
+
Se.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function at(e, s, o, c, f) {
|
|
330
330
|
{
|
|
331
331
|
var m = Function.call.bind(Q);
|
|
332
|
-
for (var
|
|
333
|
-
if (m(e,
|
|
332
|
+
for (var d in e)
|
|
333
|
+
if (m(e, d)) {
|
|
334
334
|
var u = void 0;
|
|
335
335
|
try {
|
|
336
|
-
if (typeof e[
|
|
337
|
-
var S = Error((c || "React class") + ": " + o + " type `" +
|
|
336
|
+
if (typeof e[d] != "function") {
|
|
337
|
+
var S = Error((c || "React class") + ": " + o + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
338
|
throw S.name = "Invariant Violation", S;
|
|
339
339
|
}
|
|
340
|
-
u = e[
|
|
340
|
+
u = e[d](s, d, c, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
341
|
} catch (v) {
|
|
342
342
|
u = v;
|
|
343
343
|
}
|
|
344
|
-
u && !(u instanceof Error) && (ee(
|
|
344
|
+
u && !(u instanceof Error) && (ee(f), C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", o, d, typeof u), ee(null)), u instanceof Error && !(u.message in Ce) && (Ce[u.message] = !0, ee(f), C("Failed %s type: %s", o, u.message), ee(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
var ot = Array.isArray;
|
|
349
|
-
function
|
|
349
|
+
function se(e) {
|
|
350
350
|
return ot(e);
|
|
351
351
|
}
|
|
352
352
|
function it(e) {
|
|
353
353
|
{
|
|
354
|
-
var
|
|
354
|
+
var s = typeof Symbol == "function" && Symbol.toStringTag, o = s && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
355
|
return o;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
function ct(e) {
|
|
359
359
|
try {
|
|
360
|
-
return
|
|
360
|
+
return Ee(e), !1;
|
|
361
361
|
} catch {
|
|
362
362
|
return !0;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Ee(e) {
|
|
366
366
|
return "" + e;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Re(e) {
|
|
369
369
|
if (ct(e))
|
|
370
|
-
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)),
|
|
370
|
+
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Ee(e);
|
|
371
371
|
}
|
|
372
372
|
var V = F.ReactCurrentOwner, lt = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
|
-
},
|
|
378
|
-
|
|
377
|
+
}, we, ke, ae;
|
|
378
|
+
ae = {};
|
|
379
379
|
function ut(e) {
|
|
380
380
|
if (Q.call(e, "ref")) {
|
|
381
|
-
var
|
|
382
|
-
if (
|
|
381
|
+
var s = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
|
+
if (s && s.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
385
|
return e.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function dt(e) {
|
|
388
388
|
if (Q.call(e, "key")) {
|
|
389
|
-
var
|
|
390
|
-
if (
|
|
389
|
+
var s = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
|
+
if (s && s.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
393
|
return e.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
if (typeof e.ref == "string" && V.current &&
|
|
395
|
+
function ft(e, s) {
|
|
396
|
+
if (typeof e.ref == "string" && V.current && s && V.current.stateNode !== s) {
|
|
397
397
|
var o = I(V.current.type);
|
|
398
|
-
|
|
398
|
+
ae[o] || (C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', I(V.current.type), e.ref), ae[o] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function mt(e,
|
|
401
|
+
function mt(e, s) {
|
|
402
402
|
{
|
|
403
403
|
var o = function() {
|
|
404
|
-
|
|
404
|
+
we || (we = !0, C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
405
405
|
};
|
|
406
406
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
407
407
|
get: o,
|
|
@@ -409,10 +409,10 @@ function Rt() {
|
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function _t(e,
|
|
412
|
+
function _t(e, s) {
|
|
413
413
|
{
|
|
414
414
|
var o = function() {
|
|
415
|
-
|
|
415
|
+
ke || (ke = !0, C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
416
416
|
};
|
|
417
417
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
418
418
|
get: o,
|
|
@@ -420,15 +420,15 @@ function Rt() {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var vt = function(e,
|
|
423
|
+
var vt = function(e, s, o, c, f, m, d) {
|
|
424
424
|
var u = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: n,
|
|
427
427
|
// Built-in properties that belong on the element
|
|
428
428
|
type: e,
|
|
429
|
-
key:
|
|
429
|
+
key: s,
|
|
430
430
|
ref: o,
|
|
431
|
-
props:
|
|
431
|
+
props: d,
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
433
|
_owner: m
|
|
434
434
|
};
|
|
@@ -446,41 +446,41 @@ function Rt() {
|
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
448
448
|
writable: !1,
|
|
449
|
-
value:
|
|
449
|
+
value: f
|
|
450
450
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
451
451
|
};
|
|
452
|
-
function ht(e,
|
|
452
|
+
function ht(e, s, o, c, f) {
|
|
453
453
|
{
|
|
454
|
-
var m,
|
|
455
|
-
o !== void 0 && (
|
|
456
|
-
for (m in
|
|
457
|
-
Q.call(
|
|
454
|
+
var m, d = {}, u = null, S = null;
|
|
455
|
+
o !== void 0 && (Re(o), u = "" + o), dt(s) && (Re(s.key), u = "" + s.key), ut(s) && (S = s.ref, ft(s, f));
|
|
456
|
+
for (m in s)
|
|
457
|
+
Q.call(s, m) && !lt.hasOwnProperty(m) && (d[m] = s[m]);
|
|
458
458
|
if (e && e.defaultProps) {
|
|
459
459
|
var v = e.defaultProps;
|
|
460
460
|
for (m in v)
|
|
461
|
-
|
|
461
|
+
d[m] === void 0 && (d[m] = v[m]);
|
|
462
462
|
}
|
|
463
463
|
if (u || S) {
|
|
464
|
-
var
|
|
465
|
-
u && mt(
|
|
464
|
+
var p = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
+
u && mt(d, p), S && _t(d, p);
|
|
466
466
|
}
|
|
467
|
-
return vt(e, u, S,
|
|
467
|
+
return vt(e, u, S, f, c, V.current, d);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var oe = F.ReactCurrentOwner,
|
|
470
|
+
var oe = F.ReactCurrentOwner, Te = F.ReactDebugCurrentFrame;
|
|
471
471
|
function M(e) {
|
|
472
472
|
if (e) {
|
|
473
|
-
var
|
|
474
|
-
|
|
473
|
+
var s = e._owner, o = X(e.type, e._source, s ? s.type : null);
|
|
474
|
+
Te.setExtraStackFrame(o);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
Te.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
478
478
|
var ie;
|
|
479
479
|
ie = !1;
|
|
480
480
|
function ce(e) {
|
|
481
481
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Ie() {
|
|
484
484
|
{
|
|
485
485
|
if (oe.current) {
|
|
486
486
|
var e = I(oe.current.type);
|
|
@@ -492,91 +492,91 @@ Check the render method of \`` + e + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function pt(e) {
|
|
496
496
|
{
|
|
497
497
|
if (e !== void 0) {
|
|
498
|
-
var
|
|
498
|
+
var s = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
|
|
499
499
|
return `
|
|
500
500
|
|
|
501
|
-
Check your code at ` +
|
|
501
|
+
Check your code at ` + s + ":" + o + ".";
|
|
502
502
|
}
|
|
503
503
|
return "";
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
var
|
|
507
|
-
function
|
|
506
|
+
var Pe = {};
|
|
507
|
+
function xt(e) {
|
|
508
508
|
{
|
|
509
|
-
var
|
|
510
|
-
if (!
|
|
509
|
+
var s = Ie();
|
|
510
|
+
if (!s) {
|
|
511
511
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
512
|
-
o && (
|
|
512
|
+
o && (s = `
|
|
513
513
|
|
|
514
514
|
Check the top-level render call using <` + o + ">.");
|
|
515
515
|
}
|
|
516
|
-
return
|
|
516
|
+
return s;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Oe(e, s) {
|
|
520
520
|
{
|
|
521
521
|
if (!e._store || e._store.validated || e.key != null)
|
|
522
522
|
return;
|
|
523
523
|
e._store.validated = !0;
|
|
524
|
-
var o =
|
|
525
|
-
if (
|
|
524
|
+
var o = xt(s);
|
|
525
|
+
if (Pe[o])
|
|
526
526
|
return;
|
|
527
|
-
|
|
527
|
+
Pe[o] = !0;
|
|
528
528
|
var c = "";
|
|
529
529
|
e && e._owner && e._owner !== oe.current && (c = " It was passed a child from " + I(e._owner.type) + "."), M(e), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, c), M(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function $e(e, s) {
|
|
533
533
|
{
|
|
534
534
|
if (typeof e != "object")
|
|
535
535
|
return;
|
|
536
|
-
if (
|
|
536
|
+
if (se(e))
|
|
537
537
|
for (var o = 0; o < e.length; o++) {
|
|
538
538
|
var c = e[o];
|
|
539
|
-
ce(c) &&
|
|
539
|
+
ce(c) && Oe(c, s);
|
|
540
540
|
}
|
|
541
541
|
else if (ce(e))
|
|
542
542
|
e._store && (e._store.validated = !0);
|
|
543
543
|
else if (e) {
|
|
544
|
-
var
|
|
545
|
-
if (typeof
|
|
546
|
-
for (var m =
|
|
547
|
-
ce(
|
|
544
|
+
var f = Be(e);
|
|
545
|
+
if (typeof f == "function" && f !== e.entries)
|
|
546
|
+
for (var m = f.call(e), d; !(d = m.next()).done; )
|
|
547
|
+
ce(d.value) && Oe(d.value, s);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
551
|
function gt(e) {
|
|
552
552
|
{
|
|
553
|
-
var
|
|
554
|
-
if (
|
|
553
|
+
var s = e.type;
|
|
554
|
+
if (s == null || typeof s == "string")
|
|
555
555
|
return;
|
|
556
556
|
var o;
|
|
557
|
-
if (typeof
|
|
558
|
-
o =
|
|
559
|
-
else if (typeof
|
|
557
|
+
if (typeof s == "function")
|
|
558
|
+
o = s.propTypes;
|
|
559
|
+
else if (typeof s == "object" && (s.$$typeof === x || // Note: Memo only checks outer props here.
|
|
560
560
|
// Inner props are checked in the reconciler.
|
|
561
|
-
|
|
562
|
-
o =
|
|
561
|
+
s.$$typeof === y))
|
|
562
|
+
o = s.propTypes;
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
565
|
if (o) {
|
|
566
|
-
var c = I(
|
|
567
|
-
|
|
568
|
-
} else if (
|
|
566
|
+
var c = I(s);
|
|
567
|
+
at(o, e.props, "prop", c, e);
|
|
568
|
+
} else if (s.PropTypes !== void 0 && !ie) {
|
|
569
569
|
ie = !0;
|
|
570
|
-
var
|
|
571
|
-
C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
570
|
+
var f = I(s);
|
|
571
|
+
C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
572
572
|
}
|
|
573
|
-
typeof
|
|
573
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
function bt(e) {
|
|
577
577
|
{
|
|
578
|
-
for (var
|
|
579
|
-
var c =
|
|
578
|
+
for (var s = Object.keys(e.props), o = 0; o < s.length; o++) {
|
|
579
|
+
var c = s[o];
|
|
580
580
|
if (c !== "children" && c !== "key") {
|
|
581
581
|
M(e), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), M(null);
|
|
582
582
|
break;
|
|
@@ -585,41 +585,41 @@ Check the top-level render call using <` + o + ">.");
|
|
|
585
585
|
e.ref !== null && (M(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function Ae(e, s, o, c, f, m) {
|
|
589
589
|
{
|
|
590
|
-
var
|
|
591
|
-
if (!
|
|
590
|
+
var d = Xe(e);
|
|
591
|
+
if (!d) {
|
|
592
592
|
var u = "";
|
|
593
593
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
594
|
-
var S =
|
|
595
|
-
S ? u += S : u +=
|
|
594
|
+
var S = pt(f);
|
|
595
|
+
S ? u += S : u += Ie();
|
|
596
596
|
var v;
|
|
597
|
-
e === null ? v = "null" :
|
|
597
|
+
e === null ? v = "null" : se(e) ? v = "array" : e !== void 0 && e.$$typeof === n ? (v = "<" + (I(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : v = typeof e, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", v, u);
|
|
598
598
|
}
|
|
599
|
-
var
|
|
600
|
-
if (
|
|
601
|
-
return
|
|
602
|
-
if (
|
|
603
|
-
var E =
|
|
599
|
+
var p = ht(e, s, o, f, m);
|
|
600
|
+
if (p == null)
|
|
601
|
+
return p;
|
|
602
|
+
if (d) {
|
|
603
|
+
var E = s.children;
|
|
604
604
|
if (E !== void 0)
|
|
605
605
|
if (c)
|
|
606
|
-
if (
|
|
606
|
+
if (se(E)) {
|
|
607
607
|
for (var L = 0; L < E.length; L++)
|
|
608
|
-
|
|
608
|
+
$e(E[L], e);
|
|
609
609
|
Object.freeze && Object.freeze(E);
|
|
610
610
|
} else
|
|
611
611
|
C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
612
612
|
else
|
|
613
|
-
|
|
613
|
+
$e(E, e);
|
|
614
614
|
}
|
|
615
|
-
return e === i ? bt(
|
|
615
|
+
return e === i ? bt(p) : gt(p), p;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function jt(e,
|
|
619
|
-
return
|
|
618
|
+
function jt(e, s, o) {
|
|
619
|
+
return Ae(e, s, o, !0);
|
|
620
620
|
}
|
|
621
|
-
function yt(e,
|
|
622
|
-
return
|
|
621
|
+
function yt(e, s, o) {
|
|
622
|
+
return Ae(e, s, o, !1);
|
|
623
623
|
}
|
|
624
624
|
var Ct = yt, St = jt;
|
|
625
625
|
q.Fragment = i, q.jsx = Ct, q.jsxs = St;
|
|
@@ -639,17 +639,17 @@ const wt = "_notice_820sc_2", kt = "_error_820sc_9", Tt = "_success_820sc_12", I
|
|
|
639
639
|
let A = {};
|
|
640
640
|
function $t() {
|
|
641
641
|
let [t, n] = g.useState([]);
|
|
642
|
-
return A.set = (
|
|
643
|
-
n([...t,
|
|
644
|
-
}, A.del = (
|
|
645
|
-
n(t.filter((i) => i.key !==
|
|
646
|
-
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: Ot.notice, children: t.map((
|
|
642
|
+
return A.set = (a) => {
|
|
643
|
+
n([...t, a]);
|
|
644
|
+
}, A.del = (a) => {
|
|
645
|
+
n(t.filter((i) => i.key !== a));
|
|
646
|
+
}, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: Ot.notice, children: t.map((a) => a.item) });
|
|
647
647
|
}
|
|
648
648
|
function J({ data: t }) {
|
|
649
|
-
let [n,
|
|
649
|
+
let [n, a] = g.useState("show");
|
|
650
650
|
g.useEffect(() => {
|
|
651
651
|
setTimeout(function() {
|
|
652
|
-
|
|
652
|
+
a("hide");
|
|
653
653
|
}, 1800), setTimeout(function() {
|
|
654
654
|
A.del(t.key);
|
|
655
655
|
}, 2500);
|
|
@@ -679,24 +679,24 @@ function J({ data: t }) {
|
|
|
679
679
|
] });
|
|
680
680
|
}
|
|
681
681
|
function At(t) {
|
|
682
|
-
let n = Date.now(),
|
|
683
|
-
A.set({ item: /* @__PURE__ */ r.jsx(J, { data:
|
|
682
|
+
let n = Date.now(), a = { key: n, ...t };
|
|
683
|
+
A.set({ item: /* @__PURE__ */ r.jsx(J, { data: a }, n), key: n });
|
|
684
684
|
}
|
|
685
685
|
function zt(t) {
|
|
686
|
-
let n = Date.now(),
|
|
687
|
-
A.set({ item: /* @__PURE__ */ r.jsx(J, { data:
|
|
686
|
+
let n = Date.now(), a = { key: n, text: t, type: "error" };
|
|
687
|
+
A.set({ item: /* @__PURE__ */ r.jsx(J, { data: a }, n), key: n });
|
|
688
688
|
}
|
|
689
689
|
function Nt(t) {
|
|
690
|
-
let n = Date.now(),
|
|
691
|
-
A.set({ item: /* @__PURE__ */ r.jsx(J, { data:
|
|
690
|
+
let n = Date.now(), a = { key: n, text: t, type: "success" };
|
|
691
|
+
A.set({ item: /* @__PURE__ */ r.jsx(J, { data: a }, n), key: n });
|
|
692
692
|
}
|
|
693
693
|
function Dt(t) {
|
|
694
|
-
let n = Date.now(),
|
|
695
|
-
A.set({ item: /* @__PURE__ */ r.jsx(J, { data:
|
|
694
|
+
let n = Date.now(), a = { key: n, text: t, type: "remark" };
|
|
695
|
+
A.set({ item: /* @__PURE__ */ r.jsx(J, { data: a }, n), key: n });
|
|
696
696
|
}
|
|
697
697
|
function Ft(t) {
|
|
698
|
-
let n = Date.now(),
|
|
699
|
-
A.set({ item: /* @__PURE__ */ r.jsx(J, { data:
|
|
698
|
+
let n = Date.now(), a = { key: n, text: t, type: "copy" };
|
|
699
|
+
A.set({ item: /* @__PURE__ */ r.jsx(J, { data: a }, n), key: n });
|
|
700
700
|
}
|
|
701
701
|
const N = {};
|
|
702
702
|
N.error = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -742,7 +742,7 @@ const Mt = "_alerts_1e9y0_1", Lt = "_menuAnimation_1e9y0_1", Wt = "_menuItemAnim
|
|
|
742
742
|
let H = {};
|
|
743
743
|
function Vt() {
|
|
744
744
|
let [t, n] = g.useState("");
|
|
745
|
-
return H.set = (
|
|
745
|
+
return H.set = (a) => n(a), H.del = () => n(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
|
|
746
746
|
}
|
|
747
747
|
const Bt = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Ut.alerts, children: [
|
|
748
748
|
/* @__PURE__ */ r.jsxs("dl", { children: [
|
|
@@ -773,14 +773,14 @@ function Jt({ children: t }) {
|
|
|
773
773
|
const Gt = ({
|
|
774
774
|
children: t,
|
|
775
775
|
disabled: n,
|
|
776
|
-
label:
|
|
776
|
+
label: a,
|
|
777
777
|
onClick: i
|
|
778
778
|
}) => {
|
|
779
779
|
const _ = (h) => {
|
|
780
780
|
n || i && i(h);
|
|
781
781
|
};
|
|
782
|
-
return /* @__PURE__ */ r.jsx("button", { disabled: n, onClick: _, children:
|
|
783
|
-
}, Zt = "_white_6ax6z_14", Kt = "_black_6ax6z_26", Xt = "_shake_6ax6z_1", Qt = "_modal_6ax6z_73", er = "_o_6ax6z_83", tr = "_w_6ax6z_14", rr = "_h_6ax6z_106", nr = "_l_6ax6z_120",
|
|
782
|
+
return /* @__PURE__ */ r.jsx("button", { disabled: n, onClick: _, children: a });
|
|
783
|
+
}, Zt = "_white_6ax6z_14", Kt = "_black_6ax6z_26", Xt = "_shake_6ax6z_1", Qt = "_modal_6ax6z_73", er = "_o_6ax6z_83", tr = "_w_6ax6z_14", rr = "_h_6ax6z_106", nr = "_l_6ax6z_120", sr = "_t_6ax6z_158", ar = "_m_6ax6z_73", or = "_x_6ax6z_166", ir = "_s_6ax6z_176", cr = "_c_6ax6z_181", lr = "_f_6ax6z_186", ur = "_btn_6ax6z_229", dr = "_g_6ax6z_242", fr = "_confirm_6ax6z_320", mr = "_cancel_6ax6z_325", _r = "_disabled_6ax6z_330", vr = "_active_6ax6z_387", hr = "_coincidence_6ax6z_393", $ = {
|
|
784
784
|
white: Zt,
|
|
785
785
|
black: Kt,
|
|
786
786
|
shake: Xt,
|
|
@@ -789,21 +789,21 @@ const Gt = ({
|
|
|
789
789
|
w: tr,
|
|
790
790
|
h: rr,
|
|
791
791
|
l: nr,
|
|
792
|
-
t:
|
|
793
|
-
m:
|
|
792
|
+
t: sr,
|
|
793
|
+
m: ar,
|
|
794
794
|
x: or,
|
|
795
795
|
s: ir,
|
|
796
796
|
c: cr,
|
|
797
797
|
f: lr,
|
|
798
798
|
btn: ur,
|
|
799
|
-
g:
|
|
799
|
+
g: dr,
|
|
800
800
|
"size-a": "_size-a_6ax6z_294",
|
|
801
801
|
"size-s": "_size-s_6ax6z_298",
|
|
802
802
|
"size-m": "_size-m_6ax6z_302",
|
|
803
803
|
"size-l": "_size-l_6ax6z_306",
|
|
804
804
|
"size-x": "_size-x_6ax6z_310",
|
|
805
805
|
"size-f": "_size-f_6ax6z_314",
|
|
806
|
-
confirm:
|
|
806
|
+
confirm: fr,
|
|
807
807
|
cancel: mr,
|
|
808
808
|
disabled: _r,
|
|
809
809
|
await: "_await_6ax6z_337",
|
|
@@ -811,27 +811,27 @@ const Gt = ({
|
|
|
811
811
|
coincidence: hr
|
|
812
812
|
};
|
|
813
813
|
let W = {};
|
|
814
|
-
const
|
|
815
|
-
let [n,
|
|
814
|
+
const pr = ({ config: t }) => {
|
|
815
|
+
let [n, a] = g.useState([]);
|
|
816
816
|
return W.x = () => {
|
|
817
|
-
|
|
817
|
+
a([]);
|
|
818
818
|
}, W.config = t, W.add = (i) => {
|
|
819
|
-
|
|
819
|
+
a([...n, i]);
|
|
820
820
|
}, /* @__PURE__ */ r.jsx(r.Fragment, { children: n.map((i) => i) });
|
|
821
|
-
},
|
|
821
|
+
}, xr = ({
|
|
822
822
|
children: t,
|
|
823
823
|
title: n,
|
|
824
|
-
button:
|
|
824
|
+
button: a,
|
|
825
825
|
tabs: i,
|
|
826
826
|
size: _ = "m",
|
|
827
827
|
menu: h
|
|
828
828
|
}) => {
|
|
829
|
-
const [k, b] = g.useState(!0),
|
|
830
|
-
if (
|
|
831
|
-
return
|
|
829
|
+
const [k, b] = g.useState(!0), x = g.useRef(), O = (y) => {
|
|
830
|
+
if (a && a.onClick)
|
|
831
|
+
return a.onClick({ closed: b, disabled: y });
|
|
832
832
|
}, j = () => {
|
|
833
|
-
|
|
834
|
-
|
|
833
|
+
x.current.setAttribute("shake", !0), setTimeout(() => {
|
|
834
|
+
x.current.setAttribute("shake", !1);
|
|
835
835
|
}, 1e3);
|
|
836
836
|
};
|
|
837
837
|
return /* @__PURE__ */ r.jsx(r.Fragment, { children: k ? /* @__PURE__ */ r.jsxs(
|
|
@@ -840,7 +840,7 @@ const xr = ({ config: t }) => {
|
|
|
840
840
|
className: `${$.modal} ${$.white}`,
|
|
841
841
|
children: [
|
|
842
842
|
/* @__PURE__ */ r.jsx("div", { className: $.o, onClick: j }),
|
|
843
|
-
/* @__PURE__ */ r.jsxs("div", { className: $.w, ref:
|
|
843
|
+
/* @__PURE__ */ r.jsxs("div", { className: $.w, ref: x, children: [
|
|
844
844
|
/* @__PURE__ */ r.jsxs("div", { className: $.h, children: [
|
|
845
845
|
/* @__PURE__ */ r.jsx("div", { className: $.t, children: n }),
|
|
846
846
|
/* @__PURE__ */ r.jsxs("div", { className: $.m, children: [
|
|
@@ -867,10 +867,10 @@ const xr = ({ config: t }) => {
|
|
|
867
867
|
)
|
|
868
868
|
] }),
|
|
869
869
|
t,
|
|
870
|
-
|
|
870
|
+
a !== void 0 ? /* @__PURE__ */ r.jsx(
|
|
871
871
|
Gt,
|
|
872
872
|
{
|
|
873
|
-
label: String(
|
|
873
|
+
label: String(a.name),
|
|
874
874
|
onClick: O
|
|
875
875
|
}
|
|
876
876
|
) : ""
|
|
@@ -880,16 +880,16 @@ const xr = ({ config: t }) => {
|
|
|
880
880
|
) : "" });
|
|
881
881
|
}, gr = (t) => {
|
|
882
882
|
W.add(/* @__PURE__ */ r.jsx(br, { children: t }, String(Date.now())));
|
|
883
|
-
}, br = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), jr = ({ type: t, name: n, params:
|
|
883
|
+
}, br = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), jr = ({ type: t, name: n, params: a }) => {
|
|
884
884
|
let [i, _] = g.useState(null);
|
|
885
885
|
return g.useEffect(() => {
|
|
886
|
-
W.config(t, n,
|
|
887
|
-
}, [
|
|
888
|
-
}, yr = (t, n,
|
|
889
|
-
W.config(t, n,
|
|
890
|
-
}, Cr = { List: Ht, Scroll: Jt, Init:
|
|
886
|
+
W.config(t, n, a, _);
|
|
887
|
+
}, [a.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: i });
|
|
888
|
+
}, yr = (t, n, a) => {
|
|
889
|
+
W.config(t, n, a);
|
|
890
|
+
}, Cr = { List: Ht, Scroll: Jt, Init: pr, Main: xr, Add: gr, Icon: jr, Open: yr };
|
|
891
891
|
let R = {};
|
|
892
|
-
const l = {}, w = {},
|
|
892
|
+
const l = {}, w = {}, Fe = {};
|
|
893
893
|
function Sr(t, n) {
|
|
894
894
|
if (R = t, localStorage.getItem("ssid")) {
|
|
895
895
|
let i = sessionStorage.getItem("page");
|
|
@@ -954,31 +954,34 @@ function Tr() {
|
|
|
954
954
|
return t !== "" && t !== "undefined" && t !== null ? t : (Y(), !1);
|
|
955
955
|
}
|
|
956
956
|
function Ir() {
|
|
957
|
-
const [t, n] = g.useState(
|
|
957
|
+
const [t, n] = g.useState(Ye()), a = (i) => {
|
|
958
958
|
n(i);
|
|
959
959
|
};
|
|
960
|
-
return w.page =
|
|
960
|
+
return w.page = a, [t];
|
|
961
961
|
}
|
|
962
962
|
function Pr(t) {
|
|
963
963
|
l.page = t, sessionStorage.setItem("page", R.enCode(l)), w.page(t);
|
|
964
964
|
}
|
|
965
|
-
function
|
|
965
|
+
function Ye() {
|
|
966
966
|
return l.page;
|
|
967
967
|
}
|
|
968
968
|
function Or() {
|
|
969
|
-
const [t, n] = g.useState(
|
|
969
|
+
const [t, n] = g.useState(ue()), a = (i) => {
|
|
970
970
|
n(i);
|
|
971
971
|
};
|
|
972
|
-
return w.module =
|
|
972
|
+
return w.module = a, [t];
|
|
973
973
|
}
|
|
974
974
|
function $r(t, n) {
|
|
975
975
|
l.module = t, sessionStorage.setItem("page", R.enCode(l)), n !== "false" && w.module(t);
|
|
976
976
|
}
|
|
977
|
-
function
|
|
977
|
+
function ue() {
|
|
978
978
|
return l.module;
|
|
979
979
|
}
|
|
980
980
|
function Ar(t) {
|
|
981
|
-
|
|
981
|
+
const [n, a] = g.useState(ue() || t), i = (_) => {
|
|
982
|
+
a(_);
|
|
983
|
+
};
|
|
984
|
+
return w.tabs = i, [module];
|
|
982
985
|
}
|
|
983
986
|
function zr(t, n) {
|
|
984
987
|
l.tab = t, sessionStorage.setItem("page", R.enCode(l)), n !== "false" && w.tabs(t);
|
|
@@ -987,10 +990,10 @@ function Nr() {
|
|
|
987
990
|
return l.tab;
|
|
988
991
|
}
|
|
989
992
|
function Dr() {
|
|
990
|
-
const [t, n] = g.useState(l.id),
|
|
993
|
+
const [t, n] = g.useState(l.id), a = (i) => {
|
|
991
994
|
n(i);
|
|
992
995
|
};
|
|
993
|
-
return w.id =
|
|
996
|
+
return w.id = a, [t];
|
|
994
997
|
}
|
|
995
998
|
function Fr(t) {
|
|
996
999
|
w.id = t;
|
|
@@ -1001,11 +1004,11 @@ function Mr(t, n) {
|
|
|
1001
1004
|
function Lr() {
|
|
1002
1005
|
return l.id;
|
|
1003
1006
|
}
|
|
1004
|
-
function Wr(t, n,
|
|
1005
|
-
l.module = t, l.id =
|
|
1007
|
+
function Wr(t, n, a) {
|
|
1008
|
+
l.module = t, l.id = a, l.tab = n, sessionStorage.setItem("page", R.enCode(l)), w.module(t), w.tabs(n);
|
|
1006
1009
|
}
|
|
1007
1010
|
function Yr(t, n) {
|
|
1008
|
-
|
|
1011
|
+
Fe.data[t] = n, localStorage.setItem("sett", R.enCode(Fe.data));
|
|
1009
1012
|
}
|
|
1010
1013
|
function Ur(t) {
|
|
1011
1014
|
let n = localStorage.getItem("sett");
|
|
@@ -1017,19 +1020,19 @@ function Vr(t) {
|
|
|
1017
1020
|
function Br() {
|
|
1018
1021
|
let t = localStorage.getItem("menu");
|
|
1019
1022
|
if (t !== "" && t !== "undefined" && t !== null) {
|
|
1020
|
-
let n = localStorage.getItem("menu"),
|
|
1021
|
-
|
|
1023
|
+
let n = localStorage.getItem("menu"), a = R.deCode(n);
|
|
1024
|
+
a || Y();
|
|
1022
1025
|
const i = (h, k) => {
|
|
1023
1026
|
let b = k + "";
|
|
1024
1027
|
for (; b.length < h; )
|
|
1025
1028
|
b = "0" + b;
|
|
1026
1029
|
return b;
|
|
1027
1030
|
};
|
|
1028
|
-
return
|
|
1031
|
+
return a.data.split(",").map((h) => "M" + i(2, h));
|
|
1029
1032
|
} else
|
|
1030
1033
|
return Y(), !1;
|
|
1031
1034
|
}
|
|
1032
|
-
const qr = ({ children: t, config: n, crypto:
|
|
1035
|
+
const qr = ({ children: t, config: n, crypto: a, ...i }) => Sr(a, /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
1033
1036
|
/* @__PURE__ */ r.jsx(Cr.Init, { config: n.modal }),
|
|
1034
1037
|
/* @__PURE__ */ r.jsx($t, {}),
|
|
1035
1038
|
/* @__PURE__ */ r.jsx(Vt, {}),
|
|
@@ -1045,29 +1048,29 @@ function Kr() {
|
|
|
1045
1048
|
return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className: Zr.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
1046
1049
|
}
|
|
1047
1050
|
const wn = ({ children: t, ...n }) => {
|
|
1048
|
-
let
|
|
1049
|
-
return
|
|
1051
|
+
let a = {};
|
|
1052
|
+
return a.enCode = (i) => JSON.stringify(i).toString(), a.deCode = (i) => JSON.parse(i), /* @__PURE__ */ r.jsxs("div", { className: "app", children: [
|
|
1050
1053
|
/* @__PURE__ */ r.jsx(Kr, {}),
|
|
1051
1054
|
/* @__PURE__ */ r.jsx(Hr, {}),
|
|
1052
1055
|
/* @__PURE__ */ r.jsx(Jr, {}),
|
|
1053
|
-
/* @__PURE__ */ r.jsx(qr, { config: { modal: {} }, crypto:
|
|
1056
|
+
/* @__PURE__ */ r.jsx(qr, { config: { modal: {} }, crypto: a }),
|
|
1054
1057
|
t
|
|
1055
1058
|
] });
|
|
1056
|
-
}, Xr = ({ list: t, onClick: n, active:
|
|
1059
|
+
}, Xr = ({ list: t, onClick: n, active: a, size: i, view: _ }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, _].join(" "), children: t.map((h) => /* @__PURE__ */ r.jsx(
|
|
1057
1060
|
Qr,
|
|
1058
1061
|
{
|
|
1059
1062
|
onClick: n,
|
|
1060
|
-
active:
|
|
1063
|
+
active: a,
|
|
1061
1064
|
label: h.label,
|
|
1062
1065
|
link: h.link
|
|
1063
1066
|
},
|
|
1064
1067
|
h.link
|
|
1065
|
-
)) }) }), Qr = ({ onClick: t, label: n, link:
|
|
1068
|
+
)) }) }), Qr = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
|
|
1066
1069
|
Xr.defaultProps = { size: "M", view: "H" };
|
|
1067
1070
|
const en = ({
|
|
1068
1071
|
title: t = "",
|
|
1069
1072
|
button: n,
|
|
1070
|
-
description:
|
|
1073
|
+
description: a = "",
|
|
1071
1074
|
children: i
|
|
1072
1075
|
}) => /* @__PURE__ */ r.jsxs("fieldset", { children: [
|
|
1073
1076
|
t && /* @__PURE__ */ r.jsxs("legend", { children: [
|
|
@@ -1083,21 +1086,21 @@ const en = ({
|
|
|
1083
1086
|
" "
|
|
1084
1087
|
] }),
|
|
1085
1088
|
/* @__PURE__ */ r.jsx("ul", { children: i }),
|
|
1086
|
-
|
|
1089
|
+
a && /* @__PURE__ */ r.jsx("article", { children: a })
|
|
1087
1090
|
] }), tn = "_setting_1r0pc_2", rn = {
|
|
1088
1091
|
setting: tn
|
|
1089
|
-
}, nn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: rn.setting, children: t }),
|
|
1090
|
-
let [
|
|
1092
|
+
}, nn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: rn.setting, children: t }), sn = ({ label: t, children: n }) => {
|
|
1093
|
+
let [a, i] = g.useState(!1);
|
|
1091
1094
|
return /* @__PURE__ */ r.jsxs("li", { "data-item": "accordion", children: [
|
|
1092
|
-
/* @__PURE__ */ r.jsxs("dl", { onClick: () => i(!
|
|
1095
|
+
/* @__PURE__ */ r.jsxs("dl", { onClick: () => i(!a), children: [
|
|
1093
1096
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1094
|
-
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx("div", { "data-close": String(
|
|
1097
|
+
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx("div", { "data-close": String(a) }) })
|
|
1095
1098
|
] }),
|
|
1096
|
-
|
|
1099
|
+
a && /* @__PURE__ */ r.jsx("div", { children: n })
|
|
1097
1100
|
] });
|
|
1098
|
-
},
|
|
1101
|
+
}, an = ({ label: t, onClick: n, button: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1099
1102
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1100
|
-
/* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => n(), children:
|
|
1103
|
+
/* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => n(), children: a })
|
|
1101
1104
|
] }) }), on = ({ active: t, onClick: n }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ r.jsx(
|
|
1102
1105
|
"div",
|
|
1103
1106
|
{
|
|
@@ -1107,51 +1110,51 @@ const en = ({
|
|
|
1107
1110
|
},
|
|
1108
1111
|
"aria-checked": t ? "true" : "false"
|
|
1109
1112
|
}
|
|
1110
|
-
)), cn = { Switch: on }, ln = ({ label: t, onClick: n, active:
|
|
1113
|
+
)), cn = { Switch: on }, ln = ({ label: t, onClick: n, active: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1111
1114
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1112
|
-
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(cn.Switch, { onClick: n, active:
|
|
1113
|
-
] }) }), un = ({ label: t, active: n, options:
|
|
1115
|
+
/* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(cn.Switch, { onClick: n, active: a }) })
|
|
1116
|
+
] }) }), un = ({ label: t, active: n, options: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1114
1117
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1115
1118
|
/* @__PURE__ */ r.jsx("dd", { role: "info", children: n })
|
|
1116
|
-
] }) }),
|
|
1119
|
+
] }) }), dn = ({ label: t, info: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1117
1120
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1118
1121
|
/* @__PURE__ */ r.jsx("dd", { role: "info", children: n })
|
|
1119
|
-
] }) }),
|
|
1122
|
+
] }) }), fn = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1120
1123
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1121
1124
|
/* @__PURE__ */ r.jsx("dd", { children: n })
|
|
1122
1125
|
] }) }), mn = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
|
|
1123
1126
|
/* @__PURE__ */ r.jsx("dt", { children: t }),
|
|
1124
1127
|
/* @__PURE__ */ r.jsx("dd", { children: n })
|
|
1125
|
-
] }) }), _n = { Accordion:
|
|
1126
|
-
function Ue({ list: t, onClick: n, active:
|
|
1128
|
+
] }) }), _n = { Accordion: sn, Button: an, Switch: ln, Info: dn, Select: un, Component: fn, Node: mn };
|
|
1129
|
+
function Ue({ list: t, onClick: n, active: a, size: i, view: _ }) {
|
|
1127
1130
|
return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, _].join(" "), children: t.map((h) => /* @__PURE__ */ r.jsx(
|
|
1128
1131
|
vn,
|
|
1129
1132
|
{
|
|
1130
1133
|
onClick: n,
|
|
1131
|
-
active:
|
|
1134
|
+
active: a,
|
|
1132
1135
|
label: h.label,
|
|
1133
1136
|
link: h.link
|
|
1134
1137
|
},
|
|
1135
1138
|
h.link
|
|
1136
1139
|
)) }) });
|
|
1137
1140
|
}
|
|
1138
|
-
const vn = ({ onClick: t, label: n, link:
|
|
1141
|
+
const vn = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
|
|
1139
1142
|
Ue.defaultProps = { size: "M", view: "H" };
|
|
1140
|
-
const kn = { Section: en, Main: nn, Item: _n, Tabs: Ue }, hn = "_h_1b5x7_1",
|
|
1143
|
+
const kn = { Section: en, Main: nn, Item: _n, Tabs: Ue }, hn = "_h_1b5x7_1", pn = "_t_1b5x7_10", xn = "_s_1b5x7_28", gn = "_u_1b5x7_37", bn = "_o_1b5x7_44", jn = "_l_1b5x7_53", yn = "_hh_1b5x7_60", D = {
|
|
1141
1144
|
h: hn,
|
|
1142
|
-
t:
|
|
1143
|
-
s:
|
|
1145
|
+
t: pn,
|
|
1146
|
+
s: xn,
|
|
1144
1147
|
u: gn,
|
|
1145
1148
|
o: bn,
|
|
1146
1149
|
l: jn,
|
|
1147
1150
|
hh: yn
|
|
1148
|
-
},
|
|
1151
|
+
}, Me = ({ title: t, children: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.h, children: [
|
|
1149
1152
|
/* @__PURE__ */ r.jsx("div", { className: D.t, children: t }),
|
|
1150
1153
|
n
|
|
1151
1154
|
] }), Cn = ({ children: t, title: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.o, children: [
|
|
1152
1155
|
n && /* @__PURE__ */ r.jsx("div", { className: D.hh, children: n }),
|
|
1153
1156
|
t
|
|
1154
|
-
] }), Sn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.u, children: t }),
|
|
1157
|
+
] }), Sn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.u, children: t }), Le = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.s, children: t }), We = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("div", { className: D.l, children: t }), Tn = { Header: Me, Section: Le, List: We, U: Sn, L: We, O: Cn, S: Le, H: Me }, In = { Send: At, Error: zt, Remark: Dt, Success: Nt, Copy: Ft }, Pn = { Send: qt };
|
|
1155
1158
|
function En() {
|
|
1156
1159
|
return /* @__PURE__ */ r.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ r.jsx(
|
|
1157
1160
|
"path",
|
|
@@ -1161,7 +1164,7 @@ function En() {
|
|
|
1161
1164
|
}
|
|
1162
1165
|
) });
|
|
1163
1166
|
}
|
|
1164
|
-
const On = { Logo: En }, $n = { setSSID: Rr, getSSID: wr, Logaut: Y, setAUTH: kr, getAUTH: Tr, Start: Er, setSetting: Yr, getSetting: Ur, setMenu: Vr, getMenu: Br }, An = { Path: Wr, setPage: Pr, getPage:
|
|
1167
|
+
const On = { Logo: En }, $n = { setSSID: Rr, getSSID: wr, Logaut: Y, setAUTH: kr, getAUTH: Tr, Start: Er, setSetting: Yr, getSetting: Ur, setMenu: Vr, getMenu: Br }, An = { Path: Wr, setPage: Pr, getPage: Ye, usePage: Ir, setModule: $r, getModule: ue, useModule: Or, setTabs: zr, getTabs: Nr, useTabs: Ar, useId: Dr, setId: Mr, subId: Fr, getId: Lr };
|
|
1165
1168
|
export {
|
|
1166
1169
|
cn as Action,
|
|
1167
1170
|
Pn as Alert,
|