elcrm 0.8.44 → 0.8.45
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 +557 -557
- package/dist/index.umd.js +8 -8
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import x, { createElement as Ea } from "react";
|
|
|
5
5
|
let wt = {};
|
|
6
6
|
const Ra = (e) => {
|
|
7
7
|
wt = e;
|
|
8
|
-
}, Na = (e) => wt.enCode(e), Ia = (e) => wt.deCode(e), F = { enCode: Na, deCode: Ia, New: Ra }, b = {},
|
|
8
|
+
}, Na = (e) => wt.enCode(e), Ia = (e) => wt.deCode(e), F = { enCode: Na, deCode: Ia, New: Ra }, b = {}, U = {}, we = {}, mn = {}, ce = {};
|
|
9
9
|
let St = "M06";
|
|
10
10
|
function Ta(e) {
|
|
11
11
|
St = e;
|
|
@@ -38,16 +38,16 @@ function Fa(e) {
|
|
|
38
38
|
id: b.id,
|
|
39
39
|
time: (/* @__PURE__ */ new Date()).getTime()
|
|
40
40
|
})
|
|
41
|
-
),
|
|
41
|
+
), U.page(b.page);
|
|
42
42
|
}
|
|
43
43
|
function La(e) {
|
|
44
44
|
return localStorage.setItem("d", e);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Ba() {
|
|
47
47
|
let e = localStorage.getItem("d");
|
|
48
48
|
return e !== "" && e !== "undefined" && e !== null ? e : "";
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function $a(e) {
|
|
51
51
|
return localStorage.setItem("a", e);
|
|
52
52
|
}
|
|
53
53
|
function Pa() {
|
|
@@ -57,7 +57,7 @@ function Pa() {
|
|
|
57
57
|
function Oa(e) {
|
|
58
58
|
localStorage.setItem("p", F.enCode(e));
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function mt() {
|
|
61
61
|
let e = localStorage.getItem("p");
|
|
62
62
|
if (e !== "" && e !== "undefined" && e !== null) {
|
|
63
63
|
let t = F.deCode(e);
|
|
@@ -69,28 +69,28 @@ function Aa() {
|
|
|
69
69
|
const [e, t] = x.useState(hn()), a = (r) => {
|
|
70
70
|
t(r);
|
|
71
71
|
};
|
|
72
|
-
return
|
|
72
|
+
return U.page = a, [e];
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
b.page = e, sessionStorage.setItem("f", F.enCode(b)), t &&
|
|
74
|
+
function Za(e, t = !0) {
|
|
75
|
+
b.page = e, sessionStorage.setItem("f", F.enCode(b)), t && U.page(e);
|
|
76
76
|
}
|
|
77
77
|
function hn() {
|
|
78
78
|
return b.page;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Ga(e) {
|
|
81
81
|
return b.page === e;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Wa(e) {
|
|
84
84
|
if (typeof e != "function") {
|
|
85
85
|
const [t, a] = x.useState(e || xn()), r = (s) => {
|
|
86
86
|
a(s);
|
|
87
87
|
};
|
|
88
|
-
return
|
|
88
|
+
return U.module = r, [t];
|
|
89
89
|
} else
|
|
90
|
-
|
|
90
|
+
U.module = e;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
b.module = e, sessionStorage.setItem("f", F.enCode(b)), t &&
|
|
92
|
+
function za(e, t = !0) {
|
|
93
|
+
b.module = e, sessionStorage.setItem("f", F.enCode(b)), t && U.module(e);
|
|
94
94
|
}
|
|
95
95
|
function xn() {
|
|
96
96
|
return b.module;
|
|
@@ -98,40 +98,40 @@ function xn() {
|
|
|
98
98
|
function Ka(e) {
|
|
99
99
|
return b.module === e;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Ya(e) {
|
|
102
102
|
if (typeof e != "function") {
|
|
103
103
|
const [t, a] = x.useState(e || Je());
|
|
104
|
-
return
|
|
104
|
+
return U.tabs = a, [t];
|
|
105
105
|
} else
|
|
106
|
-
|
|
106
|
+
U.tabs = e;
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function Ua(e, t = !0) {
|
|
109
109
|
if (b.tab = e, sessionStorage.setItem("f", F.enCode(b)), !!t)
|
|
110
|
-
if (
|
|
111
|
-
|
|
110
|
+
if (U.tabs)
|
|
111
|
+
U.tabs(e);
|
|
112
112
|
else
|
|
113
113
|
throw new Error("useTabs not found");
|
|
114
114
|
}
|
|
115
115
|
function Je() {
|
|
116
116
|
return b.tab;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Va(e) {
|
|
119
119
|
return b.tab === e;
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function Ha(e) {
|
|
122
122
|
if (typeof e != "function") {
|
|
123
123
|
const [t, a] = x.useState(e || pn()), r = (s) => {
|
|
124
124
|
a(s);
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return U.id = r, [t];
|
|
127
127
|
} else
|
|
128
|
-
|
|
128
|
+
U.id = e;
|
|
129
129
|
}
|
|
130
130
|
function qa(e) {
|
|
131
|
-
|
|
131
|
+
U.id = e;
|
|
132
132
|
}
|
|
133
133
|
function Ja(e, t = !0) {
|
|
134
|
-
b.id = e, sessionStorage.setItem("f", F.enCode(b)), t &&
|
|
134
|
+
b.id = e, sessionStorage.setItem("f", F.enCode(b)), t && U.id(e);
|
|
135
135
|
}
|
|
136
136
|
function pn() {
|
|
137
137
|
return b.id;
|
|
@@ -140,7 +140,7 @@ function Xa(e) {
|
|
|
140
140
|
return Number(b.id) === e;
|
|
141
141
|
}
|
|
142
142
|
function Qa(e, t, a) {
|
|
143
|
-
b.module = e, b.id = a, b.tab = t, sessionStorage.setItem("f", F.enCode(b)),
|
|
143
|
+
b.module = e, b.id = a, b.tab = t, sessionStorage.setItem("f", F.enCode(b)), U.module(e), U.tabs(t);
|
|
144
144
|
}
|
|
145
145
|
function er(e) {
|
|
146
146
|
we.data = e[0], delete we.data.id, document.body.dataset.theme = we.data.s15, localStorage.setItem("s", F.enCode(we.data));
|
|
@@ -171,7 +171,7 @@ function ar() {
|
|
|
171
171
|
return te(), !1;
|
|
172
172
|
}
|
|
173
173
|
function rr(e) {
|
|
174
|
-
|
|
174
|
+
U.sort = e;
|
|
175
175
|
}
|
|
176
176
|
function vn(e) {
|
|
177
177
|
let t = localStorage.getItem("b");
|
|
@@ -207,10 +207,10 @@ function je(e, t) {
|
|
|
207
207
|
return e === void 0 && t === void 0 ? ce.data : e !== void 0 && t === void 0 ? ce.data[e] : ce.data[e][t];
|
|
208
208
|
}
|
|
209
209
|
function ir(e) {
|
|
210
|
-
|
|
210
|
+
mn.data = e;
|
|
211
211
|
}
|
|
212
212
|
function or(e) {
|
|
213
|
-
return
|
|
213
|
+
return mn.data[e];
|
|
214
214
|
}
|
|
215
215
|
function lr(e) {
|
|
216
216
|
b.payment = e;
|
|
@@ -261,10 +261,10 @@ function ur(e) {
|
|
|
261
261
|
};
|
|
262
262
|
e.forEach((a) => t(a));
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function fr(e) {
|
|
265
265
|
return b[e] === void 0 ? (b[e] = { data: {}, time: 0 }, { data: {}, time: 0 }) : b[e];
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function mr(e, t) {
|
|
268
268
|
b[e] = { data: t.data, time: t.time }, localStorage.setItem(e, F.enCode(b[e]));
|
|
269
269
|
}
|
|
270
270
|
function hr(e, t, a) {
|
|
@@ -272,10 +272,10 @@ function hr(e, t, a) {
|
|
|
272
272
|
}
|
|
273
273
|
const ie = {
|
|
274
274
|
setSSID: La,
|
|
275
|
-
getSSID:
|
|
276
|
-
getPORT:
|
|
275
|
+
getSSID: Ba,
|
|
276
|
+
getPORT: mt,
|
|
277
277
|
setPORT: Oa,
|
|
278
|
-
setAUTH:
|
|
278
|
+
setAUTH: $a,
|
|
279
279
|
getAUTH: Pa,
|
|
280
280
|
Logaut: te,
|
|
281
281
|
Start: Fa,
|
|
@@ -296,11 +296,11 @@ const ie = {
|
|
|
296
296
|
setUser: jn,
|
|
297
297
|
getUser: dr,
|
|
298
298
|
getDefaultModules: Da,
|
|
299
|
-
getBase:
|
|
300
|
-
setBase:
|
|
299
|
+
getBase: fr,
|
|
300
|
+
setBase: mr,
|
|
301
301
|
editBase: hr,
|
|
302
302
|
loadBase: ur
|
|
303
|
-
}, yn = "
|
|
303
|
+
}, yn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57dHJ5e2xldCB0PWF3YWl0IGZldGNoKGAke2EuZGF0YS5ob3N0fSR7YS5kYXRhLmxpbmt9YCx7bWV0aG9kOiJQT1NUIixoZWFkZXJzOntzc2lkOmEuZGF0YS5zc2lkLCJDb250ZW50LXR5cGUiOiFhLmRhdGEuZGF0YSBpbnN0YW5jZW9mIEZvcm1EYXRhJiYiYXBwbGljYXRpb24vanNvbjtjaGFyc2V0PXV0Zi04In0sYm9keTphLmRhdGEuZGF0YSBpbnN0YW5jZW9mIEZvcm1EYXRhP2EuZGF0YS5kYXRhOkpTT04uc3RyaW5naWZ5KGEuZGF0YS5kYXRhKX0pO3Bvc3RNZXNzYWdlKGF3YWl0IHQuanNvbigpKX1jYXRjaCh0KXtwb3N0TWVzc2FnZSh7c3RhdHVzOiJlcnJvciIsZGF0YToid29ya2VyIixtZXNzYWdlOnR9KX19fSkoKTsK", xr = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), tn = typeof window < "u" && window.Blob && new Blob([xr(yn)], { type: "text/javascript;charset=utf-8" });
|
|
304
304
|
function bn(e) {
|
|
305
305
|
let t;
|
|
306
306
|
try {
|
|
@@ -428,14 +428,14 @@ function Ir() {
|
|
|
428
428
|
an = 1;
|
|
429
429
|
var e = x, t = Symbol.for("react.element"), a = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
430
430
|
function o(l, _, d) {
|
|
431
|
-
var u,
|
|
432
|
-
d !== void 0 && (
|
|
431
|
+
var u, f = {}, m = null, h = null;
|
|
432
|
+
d !== void 0 && (m = "" + d), _.key !== void 0 && (m = "" + _.key), _.ref !== void 0 && (h = _.ref);
|
|
433
433
|
for (u in _)
|
|
434
|
-
r.call(_, u) && !i.hasOwnProperty(u) && (
|
|
434
|
+
r.call(_, u) && !i.hasOwnProperty(u) && (f[u] = _[u]);
|
|
435
435
|
if (l && l.defaultProps)
|
|
436
436
|
for (u in _ = l.defaultProps, _)
|
|
437
|
-
|
|
438
|
-
return { $$typeof: t, type: l, key:
|
|
437
|
+
f[u] === void 0 && (f[u] = _[u]);
|
|
438
|
+
return { $$typeof: t, type: l, key: m, ref: h, props: f, _owner: s.current };
|
|
439
439
|
}
|
|
440
440
|
return De.Fragment = a, De.jsx = o, De.jsxs = o, De;
|
|
441
441
|
}
|
|
@@ -452,7 +452,7 @@ var Me = {};
|
|
|
452
452
|
var rn;
|
|
453
453
|
function Tr() {
|
|
454
454
|
return rn || (rn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
455
|
-
var e = x, t = Symbol.for("react.element"), a = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"),
|
|
455
|
+
var e = x, t = Symbol.for("react.element"), a = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), C = Symbol.iterator, v = "@@iterator";
|
|
456
456
|
function g(c) {
|
|
457
457
|
if (c === null || typeof c != "object")
|
|
458
458
|
return null;
|
|
@@ -469,8 +469,8 @@ function Tr() {
|
|
|
469
469
|
}
|
|
470
470
|
function T(c, p, k) {
|
|
471
471
|
{
|
|
472
|
-
var I = j.ReactDebugCurrentFrame,
|
|
473
|
-
|
|
472
|
+
var I = j.ReactDebugCurrentFrame, $ = I.getStackAddendum();
|
|
473
|
+
$ !== "" && (p += "%s", k = k.concat([$]));
|
|
474
474
|
var P = k.map(function(L) {
|
|
475
475
|
return String(L);
|
|
476
476
|
});
|
|
@@ -480,7 +480,7 @@ function Tr() {
|
|
|
480
480
|
var D = !1, w = !1, R = !1, E = !1, N = !1, A;
|
|
481
481
|
A = Symbol.for("react.module.reference");
|
|
482
482
|
function X(c) {
|
|
483
|
-
return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || N || c === s || c === d || c === u || E || c === h || D || w || R || typeof c == "object" && c !== null && (c.$$typeof ===
|
|
483
|
+
return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || N || c === s || c === d || c === u || E || c === h || D || w || R || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === f || c.$$typeof === o || c.$$typeof === l || c.$$typeof === _ || // This needs to include all possible module reference object
|
|
484
484
|
// types supported by any Flight configuration anywhere since
|
|
485
485
|
// we don't know which Flight build this will end up being used
|
|
486
486
|
// with.
|
|
@@ -490,13 +490,13 @@ function Tr() {
|
|
|
490
490
|
var I = c.displayName;
|
|
491
491
|
if (I)
|
|
492
492
|
return I;
|
|
493
|
-
var
|
|
494
|
-
return
|
|
493
|
+
var $ = p.displayName || p.name || "";
|
|
494
|
+
return $ !== "" ? k + "(" + $ + ")" : k;
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function G(c) {
|
|
497
497
|
return c.displayName || "Context";
|
|
498
498
|
}
|
|
499
|
-
function
|
|
499
|
+
function B(c) {
|
|
500
500
|
if (c == null)
|
|
501
501
|
return null;
|
|
502
502
|
if (typeof c.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
|
|
@@ -521,19 +521,19 @@ function Tr() {
|
|
|
521
521
|
switch (c.$$typeof) {
|
|
522
522
|
case l:
|
|
523
523
|
var p = c;
|
|
524
|
-
return
|
|
524
|
+
return G(p) + ".Consumer";
|
|
525
525
|
case o:
|
|
526
526
|
var k = c;
|
|
527
|
-
return
|
|
527
|
+
return G(k._context) + ".Provider";
|
|
528
528
|
case _:
|
|
529
529
|
return le(c, c.render, "ForwardRef");
|
|
530
|
-
case
|
|
530
|
+
case f:
|
|
531
531
|
var I = c.displayName || null;
|
|
532
|
-
return I !== null ? I :
|
|
533
|
-
case
|
|
534
|
-
var
|
|
532
|
+
return I !== null ? I : B(c.type) || "Memo";
|
|
533
|
+
case m: {
|
|
534
|
+
var $ = c, P = $._payload, L = $._init;
|
|
535
535
|
try {
|
|
536
|
-
return
|
|
536
|
+
return B(L(P));
|
|
537
537
|
} catch {
|
|
538
538
|
return null;
|
|
539
539
|
}
|
|
@@ -541,14 +541,14 @@ function Tr() {
|
|
|
541
541
|
}
|
|
542
542
|
return null;
|
|
543
543
|
}
|
|
544
|
-
var
|
|
544
|
+
var H = Object.assign, q = 0, Ge, re, Ne, tt, We, $t, Pt;
|
|
545
545
|
function Ot() {
|
|
546
546
|
}
|
|
547
547
|
Ot.__reactDisabledLog = !0;
|
|
548
548
|
function Xn() {
|
|
549
549
|
{
|
|
550
550
|
if (q === 0) {
|
|
551
|
-
|
|
551
|
+
Ge = console.log, re = console.info, Ne = console.warn, tt = console.error, We = console.group, $t = console.groupCollapsed, Pt = console.groupEnd;
|
|
552
552
|
var c = {
|
|
553
553
|
configurable: !0,
|
|
554
554
|
enumerable: !0,
|
|
@@ -577,25 +577,25 @@ function Tr() {
|
|
|
577
577
|
writable: !0
|
|
578
578
|
};
|
|
579
579
|
Object.defineProperties(console, {
|
|
580
|
-
log:
|
|
581
|
-
value:
|
|
580
|
+
log: H({}, c, {
|
|
581
|
+
value: Ge
|
|
582
582
|
}),
|
|
583
|
-
info:
|
|
583
|
+
info: H({}, c, {
|
|
584
584
|
value: re
|
|
585
585
|
}),
|
|
586
|
-
warn:
|
|
586
|
+
warn: H({}, c, {
|
|
587
587
|
value: Ne
|
|
588
588
|
}),
|
|
589
|
-
error:
|
|
589
|
+
error: H({}, c, {
|
|
590
590
|
value: tt
|
|
591
591
|
}),
|
|
592
|
-
group:
|
|
593
|
-
value:
|
|
592
|
+
group: H({}, c, {
|
|
593
|
+
value: We
|
|
594
594
|
}),
|
|
595
|
-
groupCollapsed:
|
|
596
|
-
value:
|
|
595
|
+
groupCollapsed: H({}, c, {
|
|
596
|
+
value: $t
|
|
597
597
|
}),
|
|
598
|
-
groupEnd:
|
|
598
|
+
groupEnd: H({}, c, {
|
|
599
599
|
value: Pt
|
|
600
600
|
})
|
|
601
601
|
});
|
|
@@ -604,13 +604,13 @@ function Tr() {
|
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
606
|
var nt = j.ReactCurrentDispatcher, at;
|
|
607
|
-
function
|
|
607
|
+
function ze(c, p, k) {
|
|
608
608
|
{
|
|
609
609
|
if (at === void 0)
|
|
610
610
|
try {
|
|
611
611
|
throw Error();
|
|
612
|
-
} catch (
|
|
613
|
-
var I =
|
|
612
|
+
} catch ($) {
|
|
613
|
+
var I = $.stack.trim().match(/\n( *(at )?)/);
|
|
614
614
|
at = I && I[1] || "";
|
|
615
615
|
}
|
|
616
616
|
return `
|
|
@@ -632,7 +632,7 @@ function Tr() {
|
|
|
632
632
|
}
|
|
633
633
|
var I;
|
|
634
634
|
rt = !0;
|
|
635
|
-
var
|
|
635
|
+
var $ = Error.prepareStackTrace;
|
|
636
636
|
Error.prepareStackTrace = void 0;
|
|
637
637
|
var P;
|
|
638
638
|
P = nt.current, nt.current = null, Xn();
|
|
@@ -672,25 +672,25 @@ function Tr() {
|
|
|
672
672
|
if (Q && I && typeof Q.stack == "string") {
|
|
673
673
|
for (var M = Q.stack.split(`
|
|
674
674
|
`), J = I.stack.split(`
|
|
675
|
-
`),
|
|
676
|
-
|
|
677
|
-
for (;
|
|
678
|
-
if (M[
|
|
679
|
-
if (
|
|
675
|
+
`), W = M.length - 1, Y = J.length - 1; W >= 1 && Y >= 0 && M[W] !== J[Y]; )
|
|
676
|
+
Y--;
|
|
677
|
+
for (; W >= 1 && Y >= 0; W--, Y--)
|
|
678
|
+
if (M[W] !== J[Y]) {
|
|
679
|
+
if (W !== 1 || Y !== 1)
|
|
680
680
|
do
|
|
681
|
-
if (
|
|
681
|
+
if (W--, Y--, Y < 0 || M[W] !== J[Y]) {
|
|
682
682
|
var ne = `
|
|
683
|
-
` + M[
|
|
683
|
+
` + M[W].replace(" at new ", " at ");
|
|
684
684
|
return c.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", c.displayName)), typeof c == "function" && Ke.set(c, ne), ne;
|
|
685
685
|
}
|
|
686
|
-
while (
|
|
686
|
+
while (W >= 1 && Y >= 0);
|
|
687
687
|
break;
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
690
|
} finally {
|
|
691
|
-
rt = !1, nt.current = P, Qn(), Error.prepareStackTrace =
|
|
691
|
+
rt = !1, nt.current = P, Qn(), Error.prepareStackTrace = $;
|
|
692
692
|
}
|
|
693
|
-
var be = c ? c.displayName || c.name : "", ge = be ?
|
|
693
|
+
var be = c ? c.displayName || c.name : "", ge = be ? ze(be) : "";
|
|
694
694
|
return typeof c == "function" && Ke.set(c, ge), ge;
|
|
695
695
|
}
|
|
696
696
|
function ta(c, p, k) {
|
|
@@ -700,44 +700,44 @@ function Tr() {
|
|
|
700
700
|
var p = c.prototype;
|
|
701
701
|
return !!(p && p.isReactComponent);
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function Ye(c, p, k) {
|
|
704
704
|
if (c == null)
|
|
705
705
|
return "";
|
|
706
706
|
if (typeof c == "function")
|
|
707
707
|
return At(c, na(c));
|
|
708
708
|
if (typeof c == "string")
|
|
709
|
-
return
|
|
709
|
+
return ze(c);
|
|
710
710
|
switch (c) {
|
|
711
711
|
case d:
|
|
712
|
-
return
|
|
712
|
+
return ze("Suspense");
|
|
713
713
|
case u:
|
|
714
|
-
return
|
|
714
|
+
return ze("SuspenseList");
|
|
715
715
|
}
|
|
716
716
|
if (typeof c == "object")
|
|
717
717
|
switch (c.$$typeof) {
|
|
718
718
|
case _:
|
|
719
719
|
return ta(c.render);
|
|
720
|
-
case
|
|
721
|
-
return
|
|
722
|
-
case
|
|
723
|
-
var I = c,
|
|
720
|
+
case f:
|
|
721
|
+
return Ye(c.type, p, k);
|
|
722
|
+
case m: {
|
|
723
|
+
var I = c, $ = I._payload, P = I._init;
|
|
724
724
|
try {
|
|
725
|
-
return
|
|
725
|
+
return Ye(P($), p, k);
|
|
726
726
|
} catch {
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
730
|
return "";
|
|
731
731
|
}
|
|
732
|
-
var Ie = Object.prototype.hasOwnProperty,
|
|
733
|
-
function
|
|
732
|
+
var Ie = Object.prototype.hasOwnProperty, Zt = {}, Gt = j.ReactDebugCurrentFrame;
|
|
733
|
+
function Ue(c) {
|
|
734
734
|
if (c) {
|
|
735
|
-
var p = c._owner, k =
|
|
736
|
-
|
|
735
|
+
var p = c._owner, k = Ye(c.type, c._source, p ? p.type : null);
|
|
736
|
+
Gt.setExtraStackFrame(k);
|
|
737
737
|
} else
|
|
738
|
-
|
|
738
|
+
Gt.setExtraStackFrame(null);
|
|
739
739
|
}
|
|
740
|
-
function aa(c, p, k, I,
|
|
740
|
+
function aa(c, p, k, I, $) {
|
|
741
741
|
{
|
|
742
742
|
var P = Function.call.bind(Ie);
|
|
743
743
|
for (var L in c)
|
|
@@ -749,10 +749,10 @@ function Tr() {
|
|
|
749
749
|
throw J.name = "Invariant Violation", J;
|
|
750
750
|
}
|
|
751
751
|
M = c[L](p, L, I, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
752
|
-
} catch (
|
|
753
|
-
M =
|
|
752
|
+
} catch (W) {
|
|
753
|
+
M = W;
|
|
754
754
|
}
|
|
755
|
-
M && !(M instanceof Error) && (
|
|
755
|
+
M && !(M instanceof Error) && (Ue($), S("%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).", I || "React class", k, L, typeof M), Ue(null)), M instanceof Error && !(M.message in Zt) && (Zt[M.message] = !0, Ue($), S("Failed %s type: %s", k, M.message), Ue(null));
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
758
|
}
|
|
@@ -768,24 +768,24 @@ function Tr() {
|
|
|
768
768
|
}
|
|
769
769
|
function ia(c) {
|
|
770
770
|
try {
|
|
771
|
-
return
|
|
771
|
+
return Wt(c), !1;
|
|
772
772
|
} catch {
|
|
773
773
|
return !0;
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function Wt(c) {
|
|
777
777
|
return "" + c;
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function zt(c) {
|
|
780
780
|
if (ia(c))
|
|
781
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sa(c)),
|
|
781
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sa(c)), Wt(c);
|
|
782
782
|
}
|
|
783
783
|
var Te = j.ReactCurrentOwner, oa = {
|
|
784
784
|
key: !0,
|
|
785
785
|
ref: !0,
|
|
786
786
|
__self: !0,
|
|
787
787
|
__source: !0
|
|
788
|
-
}, Kt,
|
|
788
|
+
}, Kt, Yt, it;
|
|
789
789
|
it = {};
|
|
790
790
|
function la(c) {
|
|
791
791
|
if (Ie.call(c, "ref")) {
|
|
@@ -805,8 +805,8 @@ function Tr() {
|
|
|
805
805
|
}
|
|
806
806
|
function da(c, p) {
|
|
807
807
|
if (typeof c.ref == "string" && Te.current && p && Te.current.stateNode !== p) {
|
|
808
|
-
var k =
|
|
809
|
-
it[k] || (S('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',
|
|
808
|
+
var k = B(Te.current.type);
|
|
809
|
+
it[k] || (S('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', B(Te.current.type), c.ref), it[k] = !0);
|
|
810
810
|
}
|
|
811
811
|
}
|
|
812
812
|
function _a(c, p) {
|
|
@@ -823,7 +823,7 @@ function Tr() {
|
|
|
823
823
|
function ua(c, p) {
|
|
824
824
|
{
|
|
825
825
|
var k = function() {
|
|
826
|
-
|
|
826
|
+
Yt || (Yt = !0, S("%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)", p));
|
|
827
827
|
};
|
|
828
828
|
k.isReactWarning = !0, Object.defineProperty(c, "ref", {
|
|
829
829
|
get: k,
|
|
@@ -831,7 +831,7 @@ function Tr() {
|
|
|
831
831
|
});
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
|
-
var
|
|
834
|
+
var fa = function(c, p, k, I, $, P, L) {
|
|
835
835
|
var M = {
|
|
836
836
|
// This tag allows us to uniquely identify this as a React Element
|
|
837
837
|
$$typeof: t,
|
|
@@ -857,44 +857,44 @@ function Tr() {
|
|
|
857
857
|
configurable: !1,
|
|
858
858
|
enumerable: !1,
|
|
859
859
|
writable: !1,
|
|
860
|
-
value:
|
|
860
|
+
value: $
|
|
861
861
|
}), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
|
|
862
862
|
};
|
|
863
|
-
function
|
|
863
|
+
function ma(c, p, k, I, $) {
|
|
864
864
|
{
|
|
865
865
|
var P, L = {}, M = null, J = null;
|
|
866
|
-
k !== void 0 && (
|
|
866
|
+
k !== void 0 && (zt(k), M = "" + k), ca(p) && (zt(p.key), M = "" + p.key), la(p) && (J = p.ref, da(p, $));
|
|
867
867
|
for (P in p)
|
|
868
868
|
Ie.call(p, P) && !oa.hasOwnProperty(P) && (L[P] = p[P]);
|
|
869
869
|
if (c && c.defaultProps) {
|
|
870
|
-
var
|
|
871
|
-
for (P in
|
|
872
|
-
L[P] === void 0 && (L[P] =
|
|
870
|
+
var W = c.defaultProps;
|
|
871
|
+
for (P in W)
|
|
872
|
+
L[P] === void 0 && (L[P] = W[P]);
|
|
873
873
|
}
|
|
874
874
|
if (M || J) {
|
|
875
|
-
var
|
|
876
|
-
M && _a(L,
|
|
875
|
+
var Y = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
|
|
876
|
+
M && _a(L, Y), J && ua(L, Y);
|
|
877
877
|
}
|
|
878
|
-
return
|
|
878
|
+
return fa(c, M, J, $, I, Te.current, L);
|
|
879
879
|
}
|
|
880
880
|
}
|
|
881
|
-
var ot = j.ReactCurrentOwner,
|
|
881
|
+
var ot = j.ReactCurrentOwner, Ut = j.ReactDebugCurrentFrame;
|
|
882
882
|
function ye(c) {
|
|
883
883
|
if (c) {
|
|
884
|
-
var p = c._owner, k =
|
|
885
|
-
|
|
884
|
+
var p = c._owner, k = Ye(c.type, c._source, p ? p.type : null);
|
|
885
|
+
Ut.setExtraStackFrame(k);
|
|
886
886
|
} else
|
|
887
|
-
|
|
887
|
+
Ut.setExtraStackFrame(null);
|
|
888
888
|
}
|
|
889
889
|
var lt;
|
|
890
890
|
lt = !1;
|
|
891
891
|
function ct(c) {
|
|
892
892
|
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function Vt() {
|
|
895
895
|
{
|
|
896
896
|
if (ot.current) {
|
|
897
|
-
var c =
|
|
897
|
+
var c = B(ot.current.type);
|
|
898
898
|
if (c)
|
|
899
899
|
return `
|
|
900
900
|
|
|
@@ -906,10 +906,10 @@ Check the render method of \`` + c + "`.";
|
|
|
906
906
|
function ha(c) {
|
|
907
907
|
return "";
|
|
908
908
|
}
|
|
909
|
-
var
|
|
909
|
+
var Ht = {};
|
|
910
910
|
function xa(c) {
|
|
911
911
|
{
|
|
912
|
-
var p =
|
|
912
|
+
var p = Vt();
|
|
913
913
|
if (!p) {
|
|
914
914
|
var k = typeof c == "string" ? c : c.displayName || c.name;
|
|
915
915
|
k && (p = `
|
|
@@ -925,11 +925,11 @@ Check the top-level render call using <` + k + ">.");
|
|
|
925
925
|
return;
|
|
926
926
|
c._store.validated = !0;
|
|
927
927
|
var k = xa(p);
|
|
928
|
-
if (
|
|
928
|
+
if (Ht[k])
|
|
929
929
|
return;
|
|
930
|
-
|
|
930
|
+
Ht[k] = !0;
|
|
931
931
|
var I = "";
|
|
932
|
-
c && c._owner && c._owner !== ot.current && (I = " It was passed a child from " +
|
|
932
|
+
c && c._owner && c._owner !== ot.current && (I = " It was passed a child from " + B(c._owner.type) + "."), ye(c), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, I), ye(null);
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
935
|
function Jt(c, p) {
|
|
@@ -944,9 +944,9 @@ Check the top-level render call using <` + k + ">.");
|
|
|
944
944
|
else if (ct(c))
|
|
945
945
|
c._store && (c._store.validated = !0);
|
|
946
946
|
else if (c) {
|
|
947
|
-
var
|
|
948
|
-
if (typeof
|
|
949
|
-
for (var P =
|
|
947
|
+
var $ = g(c);
|
|
948
|
+
if (typeof $ == "function" && $ !== c.entries)
|
|
949
|
+
for (var P = $.call(c), L; !(L = P.next()).done; )
|
|
950
950
|
ct(L.value) && qt(L.value, p);
|
|
951
951
|
}
|
|
952
952
|
}
|
|
@@ -961,17 +961,17 @@ Check the top-level render call using <` + k + ">.");
|
|
|
961
961
|
k = p.propTypes;
|
|
962
962
|
else if (typeof p == "object" && (p.$$typeof === _ || // Note: Memo only checks outer props here.
|
|
963
963
|
// Inner props are checked in the reconciler.
|
|
964
|
-
p.$$typeof ===
|
|
964
|
+
p.$$typeof === f))
|
|
965
965
|
k = p.propTypes;
|
|
966
966
|
else
|
|
967
967
|
return;
|
|
968
968
|
if (k) {
|
|
969
|
-
var I =
|
|
969
|
+
var I = B(p);
|
|
970
970
|
aa(k, c.props, "prop", I, c);
|
|
971
971
|
} else if (p.PropTypes !== void 0 && !lt) {
|
|
972
972
|
lt = !0;
|
|
973
|
-
var
|
|
974
|
-
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
973
|
+
var $ = B(p);
|
|
974
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
|
|
975
975
|
}
|
|
976
976
|
typeof p.getDefaultProps == "function" && !p.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
977
977
|
}
|
|
@@ -989,20 +989,20 @@ Check the top-level render call using <` + k + ">.");
|
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
var Xt = {};
|
|
992
|
-
function Qt(c, p, k, I,
|
|
992
|
+
function Qt(c, p, k, I, $, P) {
|
|
993
993
|
{
|
|
994
994
|
var L = X(c);
|
|
995
995
|
if (!L) {
|
|
996
996
|
var M = "";
|
|
997
997
|
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
998
998
|
var J = ha();
|
|
999
|
-
J ? M += J : M +=
|
|
1000
|
-
var
|
|
1001
|
-
c === null ?
|
|
999
|
+
J ? M += J : M += Vt();
|
|
1000
|
+
var W;
|
|
1001
|
+
c === null ? W = "null" : st(c) ? W = "array" : c !== void 0 && c.$$typeof === t ? (W = "<" + (B(c.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : W = typeof c, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, M);
|
|
1002
1002
|
}
|
|
1003
|
-
var
|
|
1004
|
-
if (
|
|
1005
|
-
return
|
|
1003
|
+
var Y = ma(c, p, k, $, P);
|
|
1004
|
+
if (Y == null)
|
|
1005
|
+
return Y;
|
|
1006
1006
|
if (L) {
|
|
1007
1007
|
var ne = p.children;
|
|
1008
1008
|
if (ne !== void 0)
|
|
@@ -1017,7 +1017,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
1017
1017
|
Jt(ne, c);
|
|
1018
1018
|
}
|
|
1019
1019
|
if (Ie.call(p, "key")) {
|
|
1020
|
-
var ge =
|
|
1020
|
+
var ge = B(c), Q = Object.keys(p).filter(function(ba) {
|
|
1021
1021
|
return ba !== "key";
|
|
1022
1022
|
}), dt = Q.length > 0 ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1023
1023
|
if (!Xt[ge + dt]) {
|
|
@@ -1030,7 +1030,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1030
1030
|
<%s key={someKey} {...props} />`, dt, ge, ya, ge), Xt[ge + dt] = !0;
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
|
-
return c === r ? ga(
|
|
1033
|
+
return c === r ? ga(Y) : pa(Y), Y;
|
|
1034
1034
|
}
|
|
1035
1035
|
}
|
|
1036
1036
|
function va(c, p, k) {
|
|
@@ -1045,12 +1045,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1045
1045
|
}
|
|
1046
1046
|
process.env.NODE_ENV === "production" ? xt.exports = Ir() : xt.exports = Tr();
|
|
1047
1047
|
var n = xt.exports;
|
|
1048
|
-
const Dr = "_notice_9i5tr_2", Mr = "_error_9i5tr_9", Fr = "_success_9i5tr_12", Lr = "_remark_9i5tr_15",
|
|
1048
|
+
const Dr = "_notice_9i5tr_2", Mr = "_error_9i5tr_9", Fr = "_success_9i5tr_12", Lr = "_remark_9i5tr_15", Br = "_copy_9i5tr_18", $r = {
|
|
1049
1049
|
notice: Dr,
|
|
1050
1050
|
error: Mr,
|
|
1051
1051
|
success: Fr,
|
|
1052
1052
|
remark: Lr,
|
|
1053
|
-
copy:
|
|
1053
|
+
copy: Br,
|
|
1054
1054
|
"show-notice": "_show-notice_9i5tr_1",
|
|
1055
1055
|
"hide-notice": "_hide-notice_9i5tr_1"
|
|
1056
1056
|
};
|
|
@@ -1061,7 +1061,7 @@ function Pr() {
|
|
|
1061
1061
|
t([...e, a]);
|
|
1062
1062
|
}, xe.del = (a) => {
|
|
1063
1063
|
t(e.filter((r) => r.key !== a));
|
|
1064
|
-
}, e.length === 0 ? "" : /* @__PURE__ */ n.jsx("ul", { className:
|
|
1064
|
+
}, e.length === 0 ? "" : /* @__PURE__ */ n.jsx("ul", { className: $r.notice, children: e.map((a) => a.item) });
|
|
1065
1065
|
}
|
|
1066
1066
|
function Ae({ data: e }) {
|
|
1067
1067
|
let [t, a] = x.useState("show");
|
|
@@ -1104,15 +1104,15 @@ function Ar(e) {
|
|
|
1104
1104
|
let t = Date.now(), a = { key: t, text: e, type: "error" };
|
|
1105
1105
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1106
1106
|
}
|
|
1107
|
-
function
|
|
1107
|
+
function Zr(e) {
|
|
1108
1108
|
let t = Date.now(), a = { key: t, text: e, type: "success" };
|
|
1109
1109
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Gr(e) {
|
|
1112
1112
|
let t = Date.now(), a = { key: t, text: e, type: "remark" };
|
|
1113
1113
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function Wr(e) {
|
|
1116
1116
|
let t = Date.now(), a = { key: t, text: e, type: "copy" };
|
|
1117
1117
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1118
1118
|
}
|
|
@@ -1149,19 +1149,19 @@ ve.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "
|
|
|
1149
1149
|
}
|
|
1150
1150
|
)
|
|
1151
1151
|
] });
|
|
1152
|
-
const
|
|
1153
|
-
alerts:
|
|
1152
|
+
const zr = "_alerts_1pds5_1", Kr = "_menuAnimation_1pds5_1", Yr = "_menuItemAnimation_1pds5_1", Ur = "_allert_1pds5_111", Vr = "_al_1pds5_1", pt = {
|
|
1153
|
+
alerts: zr,
|
|
1154
1154
|
menuAnimation: Kr,
|
|
1155
|
-
menuItemAnimation:
|
|
1155
|
+
menuItemAnimation: Yr,
|
|
1156
1156
|
"--body": "_--body_1pds5_103",
|
|
1157
|
-
allert:
|
|
1157
|
+
allert: Ur,
|
|
1158
1158
|
"--form": "_--form_1pds5_111",
|
|
1159
|
-
al:
|
|
1159
|
+
al: Vr
|
|
1160
1160
|
};
|
|
1161
|
-
let
|
|
1162
|
-
function
|
|
1161
|
+
let Be = {};
|
|
1162
|
+
function Hr() {
|
|
1163
1163
|
let [e, t] = x.useState("");
|
|
1164
|
-
return
|
|
1164
|
+
return Be.set = (a) => t(a), Be.del = () => t(""), /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
|
|
1165
1165
|
}
|
|
1166
1166
|
const qr = ({ data: e, callback: t }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ n.jsxs("div", { className: pt.alerts, children: [
|
|
1167
1167
|
/* @__PURE__ */ n.jsxs("dl", { children: [
|
|
@@ -1172,32 +1172,32 @@ const qr = ({ data: e, callback: t }) => (e.button = e.button === void 0 ? "По
|
|
|
1172
1172
|
{
|
|
1173
1173
|
"data-color": e.color || "blue",
|
|
1174
1174
|
onClick: () => {
|
|
1175
|
-
t(),
|
|
1175
|
+
t(), Be.del();
|
|
1176
1176
|
},
|
|
1177
1177
|
children: e.button
|
|
1178
1178
|
}
|
|
1179
1179
|
) })
|
|
1180
1180
|
] }),
|
|
1181
|
-
/* @__PURE__ */ n.jsx("div", { className: pt["--body"], onClick:
|
|
1181
|
+
/* @__PURE__ */ n.jsx("div", { className: pt["--body"], onClick: Be.del })
|
|
1182
1182
|
] }));
|
|
1183
1183
|
function Jr(e, t) {
|
|
1184
|
-
|
|
1184
|
+
Be.set(/* @__PURE__ */ n.jsx(qr, { data: e, callback: t }));
|
|
1185
1185
|
}
|
|
1186
|
-
const
|
|
1186
|
+
const $e = { Send: Or, Error: Ar, Remark: Gr, Success: Zr, Copy: Wr }, He = {
|
|
1187
1187
|
Path: Qa,
|
|
1188
|
-
setPage:
|
|
1188
|
+
setPage: Za,
|
|
1189
1189
|
getPage: hn,
|
|
1190
1190
|
usePage: Aa,
|
|
1191
|
-
isPage:
|
|
1192
|
-
setModule:
|
|
1191
|
+
isPage: Ga,
|
|
1192
|
+
setModule: za,
|
|
1193
1193
|
getModule: xn,
|
|
1194
|
-
useModule:
|
|
1194
|
+
useModule: Wa,
|
|
1195
1195
|
isModule: Ka,
|
|
1196
|
-
setTabs:
|
|
1196
|
+
setTabs: Ua,
|
|
1197
1197
|
getTabs: Je,
|
|
1198
|
-
useTabs:
|
|
1199
|
-
isTabs:
|
|
1200
|
-
useId:
|
|
1198
|
+
useTabs: Ya,
|
|
1199
|
+
isTabs: Va,
|
|
1200
|
+
useId: Ha,
|
|
1201
1201
|
setId: Ja,
|
|
1202
1202
|
subId: qa,
|
|
1203
1203
|
getId: pn,
|
|
@@ -1283,7 +1283,7 @@ function es() {
|
|
|
1283
1283
|
const ts = "_n_euuvm_1", ns = {
|
|
1284
1284
|
n: ts
|
|
1285
1285
|
};
|
|
1286
|
-
let
|
|
1286
|
+
let Ze = {}, Fe = [];
|
|
1287
1287
|
const as = (e, t) => {
|
|
1288
1288
|
switch (t.type) {
|
|
1289
1289
|
case "open":
|
|
@@ -1325,7 +1325,7 @@ const as = (e, t) => {
|
|
|
1325
1325
|
r = { ...e.take, ...r }, e.active = !1;
|
|
1326
1326
|
for (let s in r)
|
|
1327
1327
|
r[s] !== "999" && (e.active = !0);
|
|
1328
|
-
return
|
|
1328
|
+
return Ze.get(r, e.active), {
|
|
1329
1329
|
...e,
|
|
1330
1330
|
take: r,
|
|
1331
1331
|
active: e.active
|
|
@@ -1337,16 +1337,16 @@ const as = (e, t) => {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
};
|
|
1339
1339
|
function rs(e) {
|
|
1340
|
-
|
|
1340
|
+
Ze.fn({ action: "add", data: e });
|
|
1341
1341
|
}
|
|
1342
1342
|
function ss(e) {
|
|
1343
|
-
|
|
1343
|
+
Ze.fn({ action: "add", data: e });
|
|
1344
1344
|
}
|
|
1345
1345
|
function is(e) {
|
|
1346
|
-
|
|
1346
|
+
Ze.fn({ action: "new", data: e });
|
|
1347
1347
|
}
|
|
1348
1348
|
function os(e) {
|
|
1349
|
-
|
|
1349
|
+
Ze.fn = e;
|
|
1350
1350
|
}
|
|
1351
1351
|
function ls() {
|
|
1352
1352
|
const [e, t] = x.useReducer(as, {
|
|
@@ -1485,13 +1485,13 @@ function us(e) {
|
|
|
1485
1485
|
let r = { ...je(), 901: t };
|
|
1486
1486
|
Cn(a), Oe(r);
|
|
1487
1487
|
}
|
|
1488
|
-
function
|
|
1488
|
+
function fs() {
|
|
1489
1489
|
let e = kn(), t = {};
|
|
1490
1490
|
return Object.keys(e).forEach((a) => {
|
|
1491
1491
|
t[e[a].id] = {}, t[e[a].id].name = e[a].a;
|
|
1492
1492
|
}), t;
|
|
1493
1493
|
}
|
|
1494
|
-
let oe = {},
|
|
1494
|
+
let oe = {}, V = {}, Ve = [
|
|
1495
1495
|
"filter",
|
|
1496
1496
|
"online",
|
|
1497
1497
|
"users",
|
|
@@ -1501,13 +1501,13 @@ let oe = {}, H = {}, He = [
|
|
|
1501
1501
|
"info",
|
|
1502
1502
|
"job"
|
|
1503
1503
|
];
|
|
1504
|
-
function
|
|
1504
|
+
function ms() {
|
|
1505
1505
|
const [e, t] = x.useState(!1), [a, r] = x.useState(!1);
|
|
1506
1506
|
function s(i) {
|
|
1507
1507
|
const o = new _s();
|
|
1508
1508
|
oe.laodData = (l) => {
|
|
1509
|
-
let _ =
|
|
1510
|
-
_ >= 0 &&
|
|
1509
|
+
let _ = Ve.indexOf(l);
|
|
1510
|
+
_ >= 0 && Ve.splice(_, 1), Ve.length === 0 && t(!0);
|
|
1511
1511
|
}, oe.send = (l) => {
|
|
1512
1512
|
o.port.postMessage({ type: "send", json: l });
|
|
1513
1513
|
}, o.port.onmessage = (l) => {
|
|
@@ -1515,46 +1515,46 @@ function fs() {
|
|
|
1515
1515
|
_.type === "error" && r(!0), _.type === "true" && t(!0), _.type === "closed" && o.port.postMessage({
|
|
1516
1516
|
type: "connect",
|
|
1517
1517
|
ukey: i,
|
|
1518
|
-
lk:
|
|
1519
|
-
}),
|
|
1518
|
+
lk: mt()
|
|
1519
|
+
}), Ve.length !== 0 && oe.laodData(_.type), V[_.type] && V[_.type](_);
|
|
1520
1520
|
}, o.port.postMessage({
|
|
1521
1521
|
type: "connect",
|
|
1522
1522
|
ukey: i,
|
|
1523
|
-
lk:
|
|
1523
|
+
lk: mt()
|
|
1524
1524
|
});
|
|
1525
1525
|
}
|
|
1526
1526
|
return [s, e, a];
|
|
1527
1527
|
}
|
|
1528
|
-
|
|
1528
|
+
V.module = (e) => {
|
|
1529
1529
|
oe[e.listen] !== void 0 && (oe[e.listen](e), delete oe[e.listen]);
|
|
1530
1530
|
};
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1531
|
+
V.bell = is;
|
|
1532
|
+
V.company = us;
|
|
1533
|
+
V.info = (e) => {
|
|
1534
1534
|
let t = {};
|
|
1535
1535
|
t.db = e.db, t.id = e.data.id, t.job = e.data.job, t.login = e.data.login, t.name = e.data.p02, t.patronymic = e.data.p03, t.surname = e.data.p01, t.email = e.data.email, t.admin = e.data.menu.includes("99"), jn(t), gn(e.data.menu);
|
|
1536
1536
|
};
|
|
1537
|
-
|
|
1537
|
+
V.version = async (e) => {
|
|
1538
1538
|
Et.version.Server(e.data);
|
|
1539
1539
|
};
|
|
1540
|
-
|
|
1540
|
+
V.online = async (e) => {
|
|
1541
1541
|
};
|
|
1542
|
-
|
|
1542
|
+
V.offline = async (e) => {
|
|
1543
1543
|
};
|
|
1544
|
-
|
|
1544
|
+
V.chat = (e) => {
|
|
1545
1545
|
switch (e.data.action) {
|
|
1546
1546
|
case "new_message":
|
|
1547
|
-
|
|
1547
|
+
He.getModule();
|
|
1548
1548
|
break;
|
|
1549
1549
|
case "view_message":
|
|
1550
|
-
|
|
1550
|
+
He.getModule();
|
|
1551
1551
|
break;
|
|
1552
1552
|
case "write_message":
|
|
1553
|
-
|
|
1553
|
+
He.getModule();
|
|
1554
1554
|
break;
|
|
1555
1555
|
}
|
|
1556
1556
|
};
|
|
1557
|
-
|
|
1557
|
+
V.users = (e) => {
|
|
1558
1558
|
let t = {};
|
|
1559
1559
|
e.data.forEach((r) => {
|
|
1560
1560
|
let s = r.p01 + " " + r.p02 + " " + r.p03, i = r.p01 + " " + r.p02.substring(0, 1) + "." + r.p03.substring(0, 1) + ".", o = r.p01.substring(0, 1) + "" + r.p02.substring(0, 1) + r.p03.substring(0, 1);
|
|
@@ -1574,31 +1574,31 @@ H.users = (e) => {
|
|
|
1574
1574
|
let a = { ...je(), user: t };
|
|
1575
1575
|
Oe(a);
|
|
1576
1576
|
};
|
|
1577
|
-
|
|
1577
|
+
V.api = (e) => {
|
|
1578
1578
|
let t = {};
|
|
1579
1579
|
e.data.forEach((a) => {
|
|
1580
1580
|
t[a.api] = { key: a.key, p01: a.p01, p02: a.p02 };
|
|
1581
1581
|
});
|
|
1582
1582
|
};
|
|
1583
|
-
|
|
1583
|
+
V.delete = () => {
|
|
1584
1584
|
te();
|
|
1585
1585
|
};
|
|
1586
|
-
|
|
1586
|
+
V.select = (e) => {
|
|
1587
1587
|
let t = { ...je() };
|
|
1588
1588
|
e.data.forEach((a) => {
|
|
1589
1589
|
t[a.n] = JSON.parse(a.s);
|
|
1590
1590
|
}), Oe(t);
|
|
1591
1591
|
};
|
|
1592
|
-
|
|
1592
|
+
V.job = (e) => {
|
|
1593
1593
|
let t = { ...je() }, a = {};
|
|
1594
1594
|
Object.keys(e.data).forEach((r) => {
|
|
1595
1595
|
a[r] = { s: 1, n: e.data[r] };
|
|
1596
1596
|
}), t[1] = a, Oe(t);
|
|
1597
1597
|
};
|
|
1598
|
-
|
|
1598
|
+
V.setting = (e) => {
|
|
1599
1599
|
er(e.data);
|
|
1600
1600
|
};
|
|
1601
|
-
|
|
1601
|
+
V.app = () => {
|
|
1602
1602
|
};
|
|
1603
1603
|
const hs = (e, t) => {
|
|
1604
1604
|
oe[e] = t;
|
|
@@ -1613,7 +1613,7 @@ function ps(e) {
|
|
|
1613
1613
|
}, e = { ...e, listen: t }, e.type = "modules", oe.send(e);
|
|
1614
1614
|
});
|
|
1615
1615
|
}
|
|
1616
|
-
const _e = { useConnect:
|
|
1616
|
+
const _e = { useConnect: ms, useListener: hs, setListener: xs, Send: ps };
|
|
1617
1617
|
function gs(e, t) {
|
|
1618
1618
|
t === void 0 ? (t = e, e = /* @__PURE__ */ new Date()) : e = new Date(e);
|
|
1619
1619
|
let a = {
|
|
@@ -1725,7 +1725,7 @@ const Cs = (e) => {
|
|
|
1725
1725
|
u3: ["тысяча", "тысячи", "тысяч"],
|
|
1726
1726
|
u2: ["миллион", "миллиона", "миллионов"],
|
|
1727
1727
|
u1: ["миллиард", "миллиарда", "миллиардов"]
|
|
1728
|
-
}, s, i, o, l, g, _, d, v, u,
|
|
1728
|
+
}, s, i, o, l, g, _, d, v, u, f, m, h;
|
|
1729
1729
|
u = parseFloat(e).toFixed(2).split("."), _ = u[0], l = u[1];
|
|
1730
1730
|
var C = 12 - _.length;
|
|
1731
1731
|
if (C < 0)
|
|
@@ -1735,13 +1735,13 @@ const Cs = (e) => {
|
|
|
1735
1735
|
_ = v.join("") + _;
|
|
1736
1736
|
var g = [];
|
|
1737
1737
|
if (_ > 0) {
|
|
1738
|
-
|
|
1739
|
-
for (var j = -1; j <
|
|
1740
|
-
if (d =
|
|
1738
|
+
f = t(_, 3);
|
|
1739
|
+
for (var j = -1; j < f.length; j++)
|
|
1740
|
+
if (d = f[j], d > 0 && (m = t(d, 1), s = parseInt(m[0]), i = parseInt(m[1]), o = parseInt(m[2]), g.push(r.a100[s - 1]), h = j + 1 == 3 ? "a2" : "a1", i > 1 ? g.push(
|
|
1741
1741
|
r.a20[i - 2] + (o > 0 ? " " + r[h][o - 1] : "")
|
|
1742
1742
|
) : g.push(
|
|
1743
1743
|
i > 0 ? r.a10[o] : r[h][o - 1]
|
|
1744
|
-
),
|
|
1744
|
+
), f.length > j + 1)) {
|
|
1745
1745
|
var S = r["u" + (j + 1)];
|
|
1746
1746
|
g.push(a(d, S));
|
|
1747
1747
|
}
|
|
@@ -1884,8 +1884,8 @@ function ys(e, t, a, r) {
|
|
|
1884
1884
|
if (d === this.gcaseNom)
|
|
1885
1885
|
return o;
|
|
1886
1886
|
if (o.match(/[-]/)) {
|
|
1887
|
-
for (var u = o.split("-"),
|
|
1888
|
-
u[
|
|
1887
|
+
for (var u = o.split("-"), f = 0, m = u.length; f < m; f++)
|
|
1888
|
+
u[f] = this.word(u[f], l, _, d);
|
|
1889
1889
|
return u.join("-");
|
|
1890
1890
|
}
|
|
1891
1891
|
if (o.match(/^[А-ЯЁ]\.?$/i))
|
|
@@ -1897,21 +1897,21 @@ function ys(e, t, a, r) {
|
|
|
1897
1897
|
},
|
|
1898
1898
|
// выбираем из списка правил первое подходящее и применяем
|
|
1899
1899
|
pick: function(o, l, _, d, u) {
|
|
1900
|
-
let
|
|
1901
|
-
for (var
|
|
1902
|
-
if (this.ruleMatch(
|
|
1903
|
-
return this.applyMod(o, _, d[
|
|
1900
|
+
let f = o.toLowerCase();
|
|
1901
|
+
for (var m = 0, h = d.length; m < h; m++)
|
|
1902
|
+
if (this.ruleMatch(f, l, d[m], u))
|
|
1903
|
+
return this.applyMod(o, _, d[m]);
|
|
1904
1904
|
return !1;
|
|
1905
1905
|
},
|
|
1906
1906
|
// проверяем, подходит ли правило к слову
|
|
1907
1907
|
ruleMatch: function(o, l, _, d) {
|
|
1908
1908
|
if (_.sex === this.sexM && l === this.sexF || _.sex === this.sexF && l !== this.sexF)
|
|
1909
1909
|
return !1;
|
|
1910
|
-
for (var u = 0,
|
|
1911
|
-
var
|
|
1910
|
+
for (var u = 0, f = _.test.length; u < f; u++) {
|
|
1911
|
+
var m = d ? o : o.substr(
|
|
1912
1912
|
Math.max(o.length - _.test[u].length, 0)
|
|
1913
1913
|
);
|
|
1914
|
-
if (
|
|
1914
|
+
if (m === _.test[u])
|
|
1915
1915
|
return !0;
|
|
1916
1916
|
}
|
|
1917
1917
|
return !1;
|
|
@@ -1939,16 +1939,16 @@ function ys(e, t, a, r) {
|
|
|
1939
1939
|
d = _.mods[4];
|
|
1940
1940
|
break;
|
|
1941
1941
|
}
|
|
1942
|
-
for (var u = 0,
|
|
1943
|
-
var
|
|
1944
|
-
switch (
|
|
1942
|
+
for (var u = 0, f = d.length; u < f; u++) {
|
|
1943
|
+
var m = d.substr(u, 1);
|
|
1944
|
+
switch (m) {
|
|
1945
1945
|
case ".":
|
|
1946
1946
|
break;
|
|
1947
1947
|
case "-":
|
|
1948
1948
|
o = o.substr(0, o.length - 1);
|
|
1949
1949
|
break;
|
|
1950
1950
|
default:
|
|
1951
|
-
o +=
|
|
1951
|
+
o += m;
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
1954
|
return o;
|
|
@@ -2057,22 +2057,22 @@ const K = {
|
|
|
2057
2057
|
function Fs({ children: e }) {
|
|
2058
2058
|
return /* @__PURE__ */ n.jsx("div", { className: "l", children: /* @__PURE__ */ n.jsx("ul", { children: e }) });
|
|
2059
2059
|
}
|
|
2060
|
-
const Ls = "_white_11p39_14",
|
|
2060
|
+
const Ls = "_white_11p39_14", Bs = "_black_11p39_26", $s = "_shake_11p39_1", Ps = "_modal_11p39_73", Os = "_o_11p39_83", As = "_w_11p39_14", Zs = "_h_11p39_107", Gs = "_l_11p39_121", Ws = "_t_11p39_159", zs = "_m_11p39_73", Ks = "_x_11p39_167", Ys = "_s_11p39_177", Us = "_c_11p39_182", Vs = "_f_11p39_187", Hs = "_btn_11p39_230", qs = "_g_11p39_243", Js = "_confirm_11p39_322", Xs = "_cancel_11p39_327", Qs = "_disabled_11p39_332", ei = "_active_11p39_389", ti = "_coincidence_11p39_395", ni = "_sa_11p39_431", ai = "_ss_11p39_435", ri = "_sm_11p39_439", si = "_sl_11p39_443", ii = "_sx_11p39_447", oi = "_sf_11p39_451", se = {
|
|
2061
2061
|
white: Ls,
|
|
2062
|
-
black:
|
|
2063
|
-
shake:
|
|
2062
|
+
black: Bs,
|
|
2063
|
+
shake: $s,
|
|
2064
2064
|
modal: Ps,
|
|
2065
2065
|
o: Os,
|
|
2066
2066
|
w: As,
|
|
2067
|
-
h:
|
|
2068
|
-
l:
|
|
2069
|
-
t:
|
|
2070
|
-
m:
|
|
2067
|
+
h: Zs,
|
|
2068
|
+
l: Gs,
|
|
2069
|
+
t: Ws,
|
|
2070
|
+
m: zs,
|
|
2071
2071
|
x: Ks,
|
|
2072
|
-
s:
|
|
2073
|
-
c:
|
|
2074
|
-
f:
|
|
2075
|
-
btn:
|
|
2072
|
+
s: Ys,
|
|
2073
|
+
c: Us,
|
|
2074
|
+
f: Vs,
|
|
2075
|
+
btn: Hs,
|
|
2076
2076
|
g: qs,
|
|
2077
2077
|
"size-a": "_size-a_11p39_296",
|
|
2078
2078
|
"size-s": "_size-s_11p39_300",
|
|
@@ -2107,7 +2107,7 @@ const _i = "_btn_1hz2s_6", ui = "_confirm_1hz2s_19", sn = {
|
|
|
2107
2107
|
btn: _i,
|
|
2108
2108
|
confirm: ui
|
|
2109
2109
|
};
|
|
2110
|
-
function
|
|
2110
|
+
function fi({ onClick: e, onSend: t, label: a, onRef: r }) {
|
|
2111
2111
|
let [s, i] = x.useState(!1);
|
|
2112
2112
|
const o = (l) => {
|
|
2113
2113
|
if (e)
|
|
@@ -2125,7 +2125,7 @@ function mi({ onClick: e, onSend: t, label: a, onRef: r }) {
|
|
|
2125
2125
|
);
|
|
2126
2126
|
}
|
|
2127
2127
|
let ke = {};
|
|
2128
|
-
function
|
|
2128
|
+
function mi({ config: e }) {
|
|
2129
2129
|
let [t, a] = x.useState([]);
|
|
2130
2130
|
return ke.x = (r) => {
|
|
2131
2131
|
r || a([]);
|
|
@@ -2141,14 +2141,14 @@ function hi({
|
|
|
2141
2141
|
size: s = "m",
|
|
2142
2142
|
menu: i
|
|
2143
2143
|
}) {
|
|
2144
|
-
const [o, l] = x.useState(!0), _ = x.useRef(), d = (
|
|
2144
|
+
const [o, l] = x.useState(!0), _ = x.useRef(), d = (f) => {
|
|
2145
2145
|
if (a) {
|
|
2146
2146
|
if (a.onClick)
|
|
2147
|
-
return
|
|
2147
|
+
return f(!1), a.onClick({ setOpen: l });
|
|
2148
2148
|
if (a.onSend)
|
|
2149
2149
|
return a.onSend({
|
|
2150
2150
|
setOpen: l,
|
|
2151
|
-
disabled:
|
|
2151
|
+
disabled: f
|
|
2152
2152
|
});
|
|
2153
2153
|
}
|
|
2154
2154
|
}, u = () => {
|
|
@@ -2171,14 +2171,14 @@ function hi({
|
|
|
2171
2171
|
/* @__PURE__ */ n.jsxs("div", { className: se.h, children: [
|
|
2172
2172
|
/* @__PURE__ */ n.jsx("div", { className: se.t, children: e }),
|
|
2173
2173
|
/* @__PURE__ */ n.jsxs("div", { className: se.m, children: [
|
|
2174
|
-
r && /* @__PURE__ */ n.jsx("nav", { children: r.map((
|
|
2174
|
+
r && /* @__PURE__ */ n.jsx("nav", { children: r.map((f, m) => /* @__PURE__ */ n.jsx(
|
|
2175
2175
|
"span",
|
|
2176
2176
|
{
|
|
2177
|
-
onClick:
|
|
2178
|
-
className:
|
|
2179
|
-
children:
|
|
2177
|
+
onClick: f.onClick,
|
|
2178
|
+
className: f.active ? "active" : "",
|
|
2179
|
+
children: f.name
|
|
2180
2180
|
},
|
|
2181
|
-
|
|
2181
|
+
m
|
|
2182
2182
|
)) }),
|
|
2183
2183
|
i
|
|
2184
2184
|
] }),
|
|
@@ -2203,7 +2203,7 @@ function hi({
|
|
|
2203
2203
|
)
|
|
2204
2204
|
] }),
|
|
2205
2205
|
t,
|
|
2206
|
-
a !== void 0 ? /* @__PURE__ */ n.jsx(
|
|
2206
|
+
a !== void 0 ? /* @__PURE__ */ n.jsx(fi, { label: a.label, onSend: d }) : ""
|
|
2207
2207
|
]
|
|
2208
2208
|
}
|
|
2209
2209
|
)
|
|
@@ -2281,7 +2281,7 @@ function En({ text: e, type: t, button: a }) {
|
|
|
2281
2281
|
a && /* @__PURE__ */ n.jsx("button", { onClick: o, children: a.label })
|
|
2282
2282
|
] });
|
|
2283
2283
|
}
|
|
2284
|
-
const ji = "_h_1usnu_1", yi = "_g_1usnu_11", bi = "_hr_1usnu_16", wi = "_hl_1usnu_28", Si = "_t_1usnu_40", Ei = "_s_1usnu_60", Ri = "_u_1usnu_69", Ni = "_o_1usnu_76", Ii = "_l_1usnu_105", Ti = "_hh_1usnu_115", Di = "_c_1usnu_128", Mi = "_loadingB_1usnu_1", Fi = "_m_1usnu_180", Li = "_ul_1usnu_196",
|
|
2284
|
+
const ji = "_h_1usnu_1", yi = "_g_1usnu_11", bi = "_hr_1usnu_16", wi = "_hl_1usnu_28", Si = "_t_1usnu_40", Ei = "_s_1usnu_60", Ri = "_u_1usnu_69", Ni = "_o_1usnu_76", Ii = "_l_1usnu_105", Ti = "_hh_1usnu_115", Di = "_c_1usnu_128", Mi = "_loadingB_1usnu_1", Fi = "_m_1usnu_180", Li = "_ul_1usnu_196", Bi = "_f_1usnu_226", ee = {
|
|
2285
2285
|
h: ji,
|
|
2286
2286
|
g: yi,
|
|
2287
2287
|
hr: bi,
|
|
@@ -2296,7 +2296,7 @@ const ji = "_h_1usnu_1", yi = "_g_1usnu_11", bi = "_hr_1usnu_16", wi = "_hl_1usn
|
|
|
2296
2296
|
loadingB: Mi,
|
|
2297
2297
|
m: Fi,
|
|
2298
2298
|
ul: Li,
|
|
2299
|
-
f:
|
|
2299
|
+
f: Bi
|
|
2300
2300
|
}, on = ({ title: e, left: t, right: a, children: r }) => /* @__PURE__ */ n.jsxs("div", { className: ee.h, children: [
|
|
2301
2301
|
/* @__PURE__ */ n.jsx("div", { className: ee.t, children: e }),
|
|
2302
2302
|
t && /* @__PURE__ */ n.jsx("div", { className: ee.hl, children: t }),
|
|
@@ -2309,7 +2309,7 @@ const ji = "_h_1usnu_1", yi = "_g_1usnu_11", bi = "_hr_1usnu_16", wi = "_hl_1usn
|
|
|
2309
2309
|
function _n({ children: e }) {
|
|
2310
2310
|
return /* @__PURE__ */ n.jsx("div", { className: ee.g, children: e });
|
|
2311
2311
|
}
|
|
2312
|
-
const
|
|
2312
|
+
const $i = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("div", { className: [ee.o, t].join(" "), children: [
|
|
2313
2313
|
a && /* @__PURE__ */ n.jsx("div", { className: ee.hh, children: a }),
|
|
2314
2314
|
e
|
|
2315
2315
|
] }), Pi = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: ee.u, children: e }), Oi = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: ee.c, children: e }), Ai = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: ee.m, children: e }), un = {
|
|
@@ -2323,12 +2323,12 @@ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2323
2323
|
G: _n,
|
|
2324
2324
|
C: Oi,
|
|
2325
2325
|
L: ln,
|
|
2326
|
-
O:
|
|
2326
|
+
O: $i,
|
|
2327
2327
|
S: cn,
|
|
2328
2328
|
H: on,
|
|
2329
2329
|
M: Ai,
|
|
2330
2330
|
F: dn
|
|
2331
|
-
},
|
|
2331
|
+
}, Zi = (e, t) => {
|
|
2332
2332
|
switch (t.type) {
|
|
2333
2333
|
case "load":
|
|
2334
2334
|
return {
|
|
@@ -2389,14 +2389,14 @@ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2389
2389
|
default:
|
|
2390
2390
|
return e;
|
|
2391
2391
|
}
|
|
2392
|
-
},
|
|
2392
|
+
}, Gi = () => ({
|
|
2393
2393
|
load: !0,
|
|
2394
2394
|
list: [],
|
|
2395
2395
|
name: "Файлы",
|
|
2396
2396
|
add: !1,
|
|
2397
2397
|
search: !1,
|
|
2398
2398
|
revers: !0
|
|
2399
|
-
}),
|
|
2399
|
+
}), Wi = () => {
|
|
2400
2400
|
let [e, t] = x.useState([]);
|
|
2401
2401
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: e.length !== 0 ? /* @__PURE__ */ n.jsxs("div", { className: "upload view", children: [
|
|
2402
2402
|
/* @__PURE__ */ n.jsxs("div", { className: "--head", children: [
|
|
@@ -2412,14 +2412,14 @@ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2412
2412
|
] }),
|
|
2413
2413
|
/* @__PURE__ */ n.jsx("div", { className: "--list", children: e.map((a) => a) })
|
|
2414
2414
|
] }) : "" });
|
|
2415
|
-
},
|
|
2415
|
+
}, zi = ({
|
|
2416
2416
|
id: e,
|
|
2417
2417
|
name: t,
|
|
2418
2418
|
listen: a,
|
|
2419
2419
|
dir: r
|
|
2420
2420
|
}) => {
|
|
2421
2421
|
t = t || "Файлы";
|
|
2422
|
-
const [s, i] = x.useReducer(
|
|
2422
|
+
const [s, i] = x.useReducer(Zi, {}, Gi), o = () => {
|
|
2423
2423
|
Qe.Add(
|
|
2424
2424
|
/* @__PURE__ */ n.jsx(
|
|
2425
2425
|
Ki,
|
|
@@ -2471,7 +2471,7 @@ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2471
2471
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
2472
2472
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
2473
2473
|
/* @__PURE__ */ n.jsx("i", {})
|
|
2474
|
-
] }) : s.list.length === 0 ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : s.list.map((l, _) => /* @__PURE__ */ n.jsx(
|
|
2474
|
+
] }) : s.list.length === 0 ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : s.list.map((l, _) => /* @__PURE__ */ n.jsx(Yi, { dispatch: i, data: l }, _)) })
|
|
2475
2475
|
] });
|
|
2476
2476
|
}, Ki = ({ id: e, dir: t, dispatch: a }) => {
|
|
2477
2477
|
let [r, s] = x.useState(!0), i = x.useRef(null), o = (d) => {
|
|
@@ -2522,7 +2522,7 @@ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2522
2522
|
},
|
|
2523
2523
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2524
2524
|
) }) : "" });
|
|
2525
|
-
},
|
|
2525
|
+
}, Yi = ({ data: e, dispatch: t }) => {
|
|
2526
2526
|
let a = async () => {
|
|
2527
2527
|
let i = await (await fetch(nn.url().files + "/yandex/data/" + e.id, {
|
|
2528
2528
|
headers: {
|
|
@@ -2542,7 +2542,7 @@ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2542
2542
|
"Content-type": "application/json;charset=utf-8",
|
|
2543
2543
|
SSID: ie.getSSID() || ""
|
|
2544
2544
|
}
|
|
2545
|
-
})).json()).status === "success" && (t({ type: "delete", id: e.id }),
|
|
2545
|
+
})).json()).status === "success" && (t({ type: "delete", id: e.id }), $e.Send({ type: "success", text: "Файл успешно удалён" }));
|
|
2546
2546
|
};
|
|
2547
2547
|
return /* @__PURE__ */ n.jsxs("li", { children: [
|
|
2548
2548
|
/* @__PURE__ */ n.jsx("div", { className: "f035", children: K.TypeFiles(e.type) }),
|
|
@@ -2571,15 +2571,15 @@ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2571
2571
|
/* @__PURE__ */ n.jsx("div", { className: "f080", children: K.Size(e.size) })
|
|
2572
2572
|
] });
|
|
2573
2573
|
}, Rt = { setSetting: tr, getSetting: nr };
|
|
2574
|
-
let
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
const
|
|
2574
|
+
let Z = {};
|
|
2575
|
+
Z.list = _r();
|
|
2576
|
+
Z.active = null;
|
|
2577
|
+
const Ui = () => {
|
|
2578
2578
|
var s;
|
|
2579
2579
|
let [e, t] = x.useState([]), [a, r] = x.useState(Rt.getSetting("s03"));
|
|
2580
2580
|
return x.useEffect(() => {
|
|
2581
2581
|
(async () => {
|
|
2582
|
-
let i = Object.keys(
|
|
2582
|
+
let i = Object.keys(Z.list);
|
|
2583
2583
|
if (i.length !== 0) {
|
|
2584
2584
|
let o = [];
|
|
2585
2585
|
i.forEach((l, _) => {
|
|
@@ -2587,24 +2587,24 @@ const Yi = () => {
|
|
|
2587
2587
|
item: /* @__PURE__ */ n.jsx(
|
|
2588
2588
|
gt,
|
|
2589
2589
|
{
|
|
2590
|
-
data:
|
|
2590
|
+
data: Z.list[l]
|
|
2591
2591
|
},
|
|
2592
|
-
|
|
2592
|
+
Z.list[l].id
|
|
2593
2593
|
),
|
|
2594
|
-
link:
|
|
2594
|
+
link: Z.list[l].link
|
|
2595
2595
|
});
|
|
2596
2596
|
}), t(o);
|
|
2597
2597
|
}
|
|
2598
2598
|
})();
|
|
2599
|
-
}, []),
|
|
2599
|
+
}, []), Z.active = (i) => {
|
|
2600
2600
|
var o;
|
|
2601
2601
|
r(i), (o = document.querySelector("app-body")) == null || o.setAttribute("bookmarks", i === 1 ? "bottom" : "");
|
|
2602
|
-
},
|
|
2602
|
+
}, Z.set = (i) => {
|
|
2603
2603
|
t([
|
|
2604
2604
|
...e,
|
|
2605
2605
|
{ item: /* @__PURE__ */ n.jsx(gt, { data: i }, i.id), link: i.link }
|
|
2606
2606
|
]);
|
|
2607
|
-
},
|
|
2607
|
+
}, Z.del = (i) => {
|
|
2608
2608
|
e.forEach((o, l) => {
|
|
2609
2609
|
o.link === i && e.splice(l, 1);
|
|
2610
2610
|
}), t([...e]);
|
|
@@ -2612,15 +2612,15 @@ const Yi = () => {
|
|
|
2612
2612
|
"bookmarks",
|
|
2613
2613
|
a === 1 && e.length !== 0 ? "bottom" : ""
|
|
2614
2614
|
), a !== 0 ? /* @__PURE__ */ n.jsx(n.Fragment, { children: e.length !== 0 ? /* @__PURE__ */ n.jsx("div", { className: "bookmarks", children: e.map((i) => i.item) }) : "" }) : "";
|
|
2615
|
-
},
|
|
2615
|
+
}, Vi = ({ id: e, type: t, name: a }) => {
|
|
2616
2616
|
let r = t + "-" + e, [s, i] = x.useState(
|
|
2617
|
-
|
|
2617
|
+
Z.list[r] !== void 0
|
|
2618
2618
|
);
|
|
2619
2619
|
x.useEffect(() => {
|
|
2620
|
-
i(
|
|
2620
|
+
i(Z.list[r] !== void 0);
|
|
2621
2621
|
}, [r]);
|
|
2622
2622
|
let o = () => {
|
|
2623
|
-
|
|
2623
|
+
Z.list[r] !== void 0 ? (Z.del(r), delete Z.list[r], en(Z.list), i(!1), $e.Send({ type: "success", text: "Запись удален из закладок" })) : (Z.list[r] = { id: e, name: a, type: t, link: r }, Z.set(Z.list[r]), en(Z.list), i(!0), $e.Send({
|
|
2624
2624
|
type: "success",
|
|
2625
2625
|
text: "Запись добавлен в закладки"
|
|
2626
2626
|
}));
|
|
@@ -2635,13 +2635,13 @@ const Yi = () => {
|
|
|
2635
2635
|
) : "" });
|
|
2636
2636
|
}, gt = ({ data: e }) => {
|
|
2637
2637
|
let t = (r) => {
|
|
2638
|
-
r.preventDefault(), delete
|
|
2638
|
+
r.preventDefault(), delete Z.list[e.link], Z.del(e.link);
|
|
2639
2639
|
}, a = () => {
|
|
2640
|
-
|
|
2640
|
+
He.setId(e.id);
|
|
2641
2641
|
};
|
|
2642
2642
|
return /* @__PURE__ */ n.jsx("span", { onContextMenu: t, onClick: a, children: e.name });
|
|
2643
|
-
},
|
|
2644
|
-
|
|
2643
|
+
}, Hi = (e) => {
|
|
2644
|
+
Z.active(e);
|
|
2645
2645
|
}, O = {}, vt = {}, y = {};
|
|
2646
2646
|
y.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
|
|
2647
2647
|
y.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
|
|
@@ -2943,22 +2943,22 @@ function no(e, t) {
|
|
|
2943
2943
|
function ao(e, t) {
|
|
2944
2944
|
kt[e] !== void 0 && kt[e](t);
|
|
2945
2945
|
}
|
|
2946
|
-
const
|
|
2946
|
+
const me = {};
|
|
2947
2947
|
function ro(e, t) {
|
|
2948
2948
|
const [a, r] = x.useState(t);
|
|
2949
2949
|
return x.useEffect(() => {
|
|
2950
|
-
if (
|
|
2951
|
-
return
|
|
2952
|
-
|
|
2950
|
+
if (me[e])
|
|
2951
|
+
return me[e].push(r);
|
|
2952
|
+
me[e] = [r];
|
|
2953
2953
|
}, []), [a];
|
|
2954
2954
|
}
|
|
2955
2955
|
function so(e, t) {
|
|
2956
|
-
if (
|
|
2957
|
-
return
|
|
2958
|
-
|
|
2956
|
+
if (me[e])
|
|
2957
|
+
return me[e].push(t);
|
|
2958
|
+
me[e] = [t];
|
|
2959
2959
|
}
|
|
2960
2960
|
function io(e, t) {
|
|
2961
|
-
|
|
2961
|
+
me[e] && me[e].forEach((a) => a(t));
|
|
2962
2962
|
}
|
|
2963
2963
|
const Ee = { setListener: ao, useListener: no, setEmitter: io, useEmitter: ro, subEmitter: so };
|
|
2964
2964
|
function oo() {
|
|
@@ -2969,30 +2969,30 @@ function oo() {
|
|
|
2969
2969
|
}
|
|
2970
2970
|
const lo = ({ children: e, config: t }) => (F.New(t.crypto), t.defaultModule && Ta(t.defaultModule), Ma(
|
|
2971
2971
|
/* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
2972
|
-
/* @__PURE__ */ n.jsx(
|
|
2972
|
+
/* @__PURE__ */ n.jsx(mi, { config: t.modal }),
|
|
2973
2973
|
/* @__PURE__ */ n.jsx(Pr, {}),
|
|
2974
|
-
/* @__PURE__ */ n.jsx(
|
|
2975
|
-
/* @__PURE__ */ n.jsx(
|
|
2974
|
+
/* @__PURE__ */ n.jsx(Hr, {}),
|
|
2975
|
+
/* @__PURE__ */ n.jsx(Wi, {}),
|
|
2976
2976
|
/* @__PURE__ */ n.jsx(to, {}),
|
|
2977
2977
|
/* @__PURE__ */ n.jsx(oo, {}),
|
|
2978
2978
|
/* @__PURE__ */ n.jsx(qi, {}),
|
|
2979
|
-
/* @__PURE__ */ n.jsx(
|
|
2979
|
+
/* @__PURE__ */ n.jsx(Ui, {}),
|
|
2980
2980
|
e
|
|
2981
2981
|
] })
|
|
2982
2982
|
)), co = ({ children: e, ...t }) => /* @__PURE__ */ n.jsx("menu", { children: e }), _o = ({ children: e, ...t }) => /* @__PURE__ */ n.jsxs("header", { children: [
|
|
2983
2983
|
"xz",
|
|
2984
2984
|
e
|
|
2985
|
-
] }), uo = "_payment_1lxfv_1",
|
|
2985
|
+
] }), uo = "_payment_1lxfv_1", fo = {
|
|
2986
2986
|
payment: uo
|
|
2987
2987
|
};
|
|
2988
|
-
function
|
|
2988
|
+
function mo() {
|
|
2989
2989
|
let [e, t] = x.useState({});
|
|
2990
|
-
return !e.active && !e.payment ? "" : /* @__PURE__ */ n.jsx("div", { className:
|
|
2990
|
+
return !e.active && !e.payment ? "" : /* @__PURE__ */ n.jsx("div", { className: fo.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
2991
2991
|
}
|
|
2992
2992
|
const ql = ({ children: e, ...t }) => {
|
|
2993
2993
|
let a = {};
|
|
2994
2994
|
return a.enCode = (r) => JSON.stringify(r).toString(), a.deCode = (r) => JSON.parse(r), /* @__PURE__ */ n.jsxs("div", { className: "app", children: [
|
|
2995
|
-
/* @__PURE__ */ n.jsx(
|
|
2995
|
+
/* @__PURE__ */ n.jsx(mo, {}),
|
|
2996
2996
|
/* @__PURE__ */ n.jsx(co, {}),
|
|
2997
2997
|
/* @__PURE__ */ n.jsx(_o, {}),
|
|
2998
2998
|
/* @__PURE__ */ n.jsx(lo, { config: { modal: {}, crypto: a } }),
|
|
@@ -3082,7 +3082,7 @@ function Rn({ list: e, onClick: t, active: a, size: r, view: s }) {
|
|
|
3082
3082
|
}
|
|
3083
3083
|
const To = ({ onClick: e, label: t, link: a, active: r }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(r === a), onClick: () => e(a), children: t });
|
|
3084
3084
|
Rn.defaultProps = { size: "M", view: "H" };
|
|
3085
|
-
const Jl = { Section: po, Main: Co, Item: Io, Tabs: Rn }, Xl = { Icon:
|
|
3085
|
+
const Jl = { Section: po, Main: Co, Item: Io, Tabs: Rn }, Xl = { Icon: Vi, Item: gt, Active: Hi }, Ql = { Send: Jr, Line: En };
|
|
3086
3086
|
function Do() {
|
|
3087
3087
|
return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ n.jsx(
|
|
3088
3088
|
"path",
|
|
@@ -3109,7 +3109,7 @@ function Lo(e, t) {
|
|
|
3109
3109
|
throw new Error();
|
|
3110
3110
|
}
|
|
3111
3111
|
}
|
|
3112
|
-
function
|
|
3112
|
+
function Bo() {
|
|
3113
3113
|
const [e, t] = x.useReducer(
|
|
3114
3114
|
Lo,
|
|
3115
3115
|
ht() === void 0 ? { active: 1, sort: "<" } : ht()
|
|
@@ -3141,7 +3141,7 @@ function $o() {
|
|
|
3141
3141
|
)
|
|
3142
3142
|
] });
|
|
3143
3143
|
}
|
|
3144
|
-
function
|
|
3144
|
+
function $o(e) {
|
|
3145
3145
|
et.get = e;
|
|
3146
3146
|
}
|
|
3147
3147
|
function Po(e) {
|
|
@@ -3169,8 +3169,8 @@ function Oo(e, t, a) {
|
|
|
3169
3169
|
function Ao(e) {
|
|
3170
3170
|
et.count(e);
|
|
3171
3171
|
}
|
|
3172
|
-
const tc = { Init:
|
|
3173
|
-
function
|
|
3172
|
+
const tc = { Init: Bo, useValue: $o, Set: Po, Run: Oo, Count: Ao }, qe = {}, Nn = {};
|
|
3173
|
+
function Zo(e) {
|
|
3174
3174
|
const [t, a] = x.useState({}), r = async (s) => {
|
|
3175
3175
|
a(
|
|
3176
3176
|
Object.keys(qe).reduce((i, o) => (i ? i[o] = qe[o].all : i = {}, i), {})
|
|
@@ -3180,15 +3180,15 @@ function Go(e) {
|
|
|
3180
3180
|
e.forEach((s) => qe[s] = { all: 0 }), Nn.menu = r, r();
|
|
3181
3181
|
}, [e]), t;
|
|
3182
3182
|
}
|
|
3183
|
-
function
|
|
3183
|
+
function Go(e, t) {
|
|
3184
3184
|
switch (typeof t) {
|
|
3185
3185
|
case "number":
|
|
3186
3186
|
qe[e].all += t, Nn.menu();
|
|
3187
3187
|
break;
|
|
3188
3188
|
}
|
|
3189
3189
|
}
|
|
3190
|
-
const nc = { useMenu:
|
|
3191
|
-
class
|
|
3190
|
+
const nc = { useMenu: Zo, setUpdate: Go };
|
|
3191
|
+
class Wo {
|
|
3192
3192
|
constructor(t = "el", a = "db") {
|
|
3193
3193
|
_t(this, "storeName");
|
|
3194
3194
|
_t(this, "_dbp");
|
|
@@ -3208,21 +3208,21 @@ class zo {
|
|
|
3208
3208
|
);
|
|
3209
3209
|
}
|
|
3210
3210
|
}
|
|
3211
|
-
let ut,
|
|
3212
|
-
const Re = () => (ut || (ut = new
|
|
3213
|
-
|
|
3214
|
-
}), de = (e, t = Re()) =>
|
|
3211
|
+
let ut, z = {};
|
|
3212
|
+
const Re = () => (ut || (ut = new Wo()), ut), pe = (e, t, a = Re()) => a._withIDBStore("readwrite", (r) => {
|
|
3213
|
+
z[e] = t, r.put(F.enCode(t), e);
|
|
3214
|
+
}), de = (e, t = Re()) => z[e] === void 0 ? new Promise((a, r) => {
|
|
3215
3215
|
let s;
|
|
3216
3216
|
t._withIDBStore("readonly", (i) => {
|
|
3217
3217
|
s = i.get(e);
|
|
3218
3218
|
}).then(() => {
|
|
3219
3219
|
if (s.result !== void 0) {
|
|
3220
3220
|
let i = F.deCode(s.result);
|
|
3221
|
-
|
|
3221
|
+
z[e] = i, a(i);
|
|
3222
3222
|
} else
|
|
3223
3223
|
a({});
|
|
3224
3224
|
});
|
|
3225
|
-
}) :
|
|
3225
|
+
}) : z[e], zo = (e, t = Re()) => t._withIDBStore("readwrite", (a) => {
|
|
3226
3226
|
a.delete(e);
|
|
3227
3227
|
}), jt = (e = Re()) => e._withIDBStore("readwrite", (t) => {
|
|
3228
3228
|
t.clear();
|
|
@@ -3233,8 +3233,8 @@ const Re = () => (ut || (ut = new zo()), ut), pe = (e, t, a = Re()) => a._withID
|
|
|
3233
3233
|
this.result && (t.push(this.result.key), this.result.continue());
|
|
3234
3234
|
};
|
|
3235
3235
|
}).then(() => t);
|
|
3236
|
-
},
|
|
3237
|
-
let s = a.length !== 0, i = [], o = r.sort, l = Object.keys(r).length !== 0, _ = Object.keys(r), d = Object.keys(e), u = [],
|
|
3236
|
+
}, Yo = (e, t, a = [], r = {}) => {
|
|
3237
|
+
let s = a.length !== 0, i = [], o = r.sort, l = Object.keys(r).length !== 0, _ = Object.keys(r), d = Object.keys(e), u = [], f = (h) => {
|
|
3238
3238
|
let C = "";
|
|
3239
3239
|
if (a.forEach((v) => {
|
|
3240
3240
|
C += t[h][v];
|
|
@@ -3248,15 +3248,15 @@ const Re = () => (ut || (ut = new zo()), ut), pe = (e, t, a = Re()) => a._withID
|
|
|
3248
3248
|
i.push({ id: h, text: C, ...v });
|
|
3249
3249
|
} else
|
|
3250
3250
|
i.push({ id: h, text: C });
|
|
3251
|
-
},
|
|
3251
|
+
}, m = (h) => {
|
|
3252
3252
|
};
|
|
3253
3253
|
return d.forEach((h) => {
|
|
3254
3254
|
u.push(t[h]);
|
|
3255
3255
|
}), u.forEach((h) => {
|
|
3256
|
-
h === void 0 ? (jt(), location.reload()) : (s &&
|
|
3256
|
+
h === void 0 ? (jt(), location.reload()) : (s && f(h.id), l && m(h.id));
|
|
3257
3257
|
}), { list: u, search: i, filter: r };
|
|
3258
|
-
},
|
|
3259
|
-
if (
|
|
3258
|
+
}, Uo = (e, t, a, r = Re()) => {
|
|
3259
|
+
if (z[e] === void 0)
|
|
3260
3260
|
return new Promise((s, i) => {
|
|
3261
3261
|
let o;
|
|
3262
3262
|
r._withIDBStore("readonly", (l) => {
|
|
@@ -3264,22 +3264,22 @@ const Re = () => (ut || (ut = new zo()), ut), pe = (e, t, a = Re()) => a._withID
|
|
|
3264
3264
|
}).then(() => {
|
|
3265
3265
|
if (o.result !== void 0) {
|
|
3266
3266
|
let l = F.deCode(o.result);
|
|
3267
|
-
|
|
3268
|
-
...
|
|
3267
|
+
z[e] = l, z[e][t.id] = {
|
|
3268
|
+
...z[e][t.id],
|
|
3269
3269
|
...t.data
|
|
3270
|
-
}, r.put(F.enCode(
|
|
3270
|
+
}, r.put(F.enCode(z[e]), e), s({});
|
|
3271
3271
|
} else
|
|
3272
3272
|
s({});
|
|
3273
3273
|
});
|
|
3274
3274
|
});
|
|
3275
|
-
if (
|
|
3276
|
-
return
|
|
3277
|
-
s.put(F.enCode(
|
|
3275
|
+
if (z[e][t.id] !== void 0)
|
|
3276
|
+
return z[e][t.id] = { ...z[e][t.id], ...t.data }, a !== void 0 && z[a] !== void 0 ? z[a][t.id] !== void 0 && (z[a][t.id] = t.data.eDate) : z[a] = [], delete z[e][t.id].$_item, delete z[e][t.id].$_send, r._withIDBStore("readwrite", (s) => {
|
|
3277
|
+
s.put(F.enCode(z[e]), e), a !== void 0 && s.put(F.enCode(z[a]), a);
|
|
3278
3278
|
});
|
|
3279
|
-
},
|
|
3279
|
+
}, Vo = async (e, t, a, r) => {
|
|
3280
3280
|
let s, i;
|
|
3281
3281
|
i = await de(a), i[e.id] = e, await pe(a, i), s !== null && (s = await de(t), s[e.id] = e.eDate, await pe(t, s)), r !== void 0 && r({ type: "load", page: s, base: i });
|
|
3282
|
-
},
|
|
3282
|
+
}, Ho = async (e, t, a, r) => {
|
|
3283
3283
|
let s = await de(t), i = await de(a);
|
|
3284
3284
|
for (let o in e)
|
|
3285
3285
|
i[o] = e[o], s[o] = e[o].eDate;
|
|
@@ -3299,18 +3299,18 @@ const Re = () => (ut || (ut = new zo()), ut), pe = (e, t, a = Re()) => a._withID
|
|
|
3299
3299
|
a({ type: "load", base: r });
|
|
3300
3300
|
else
|
|
3301
3301
|
return r[e];
|
|
3302
|
-
}, el = (e) =>
|
|
3302
|
+
}, el = (e) => z[e], ac = {
|
|
3303
3303
|
id: Qo,
|
|
3304
3304
|
get: de,
|
|
3305
3305
|
set: pe,
|
|
3306
|
-
add:
|
|
3307
|
-
del:
|
|
3308
|
-
upd:
|
|
3306
|
+
add: Vo,
|
|
3307
|
+
del: zo,
|
|
3308
|
+
upd: Uo,
|
|
3309
3309
|
key: Ko,
|
|
3310
3310
|
load: el,
|
|
3311
|
-
split:
|
|
3311
|
+
split: Yo,
|
|
3312
3312
|
clear: jt,
|
|
3313
|
-
updAll:
|
|
3313
|
+
updAll: Ho,
|
|
3314
3314
|
delAll: qo,
|
|
3315
3315
|
delList: Jo,
|
|
3316
3316
|
addList: Xo
|
|
@@ -3400,7 +3400,7 @@ function ol({
|
|
|
3400
3400
|
}
|
|
3401
3401
|
);
|
|
3402
3402
|
}
|
|
3403
|
-
const sc = { Widget:
|
|
3403
|
+
const sc = { Widget: zi }, Tn = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ n.jsx(
|
|
3404
3404
|
"div",
|
|
3405
3405
|
{
|
|
3406
3406
|
role: "switch",
|
|
@@ -3436,8 +3436,8 @@ function Pe({
|
|
|
3436
3436
|
active: _ = !0,
|
|
3437
3437
|
after: d = "",
|
|
3438
3438
|
show: u = !0,
|
|
3439
|
-
view:
|
|
3440
|
-
onBlur:
|
|
3439
|
+
view: f,
|
|
3440
|
+
onBlur: m,
|
|
3441
3441
|
onSave: h,
|
|
3442
3442
|
className: C = ""
|
|
3443
3443
|
}) {
|
|
@@ -3449,7 +3449,7 @@ function Pe({
|
|
|
3449
3449
|
}, T = (E) => {
|
|
3450
3450
|
E.preventDefault(), navigator.clipboard.writeText(E.target.textContent).then(
|
|
3451
3451
|
function() {
|
|
3452
|
-
|
|
3452
|
+
$e.Copy("Данные в буфер обмене");
|
|
3453
3453
|
},
|
|
3454
3454
|
function(N) {
|
|
3455
3455
|
}
|
|
@@ -3521,9 +3521,9 @@ function Mn({
|
|
|
3521
3521
|
d.current.value.length > 0 ? d.current.send && (a(!0), d.current.send = !1, d.current.timerId = setTimeout(() => {
|
|
3522
3522
|
d.current.send = !0;
|
|
3523
3523
|
}, 3e3)) : a(!1);
|
|
3524
|
-
}, m = (j) => {
|
|
3525
|
-
d.current.value = j.target.textContent, u();
|
|
3526
3524
|
}, f = (j) => {
|
|
3525
|
+
d.current.value = j.target.textContent, u();
|
|
3526
|
+
}, m = (j) => {
|
|
3527
3527
|
j.keyCode === 16 && (d.current.shift = !0), j.keyCode === 13 && !d.current.shift && (j.preventDefault(), d.current.value.length !== 0 && (j.target.textContent = "", r && r(d.current.value), t && t(d.current.value), d.current.value = "", a(!1)));
|
|
3528
3528
|
}, h = (j) => {
|
|
3529
3529
|
j.keyCode === 16 && (d.current.shift = !1);
|
|
@@ -3541,9 +3541,9 @@ function Mn({
|
|
|
3541
3541
|
"dd",
|
|
3542
3542
|
{
|
|
3543
3543
|
onPaste: C,
|
|
3544
|
-
onInput:
|
|
3544
|
+
onInput: f,
|
|
3545
3545
|
onKeyUp: h,
|
|
3546
|
-
onKeyDown:
|
|
3546
|
+
onKeyDown: m,
|
|
3547
3547
|
onBlur: v,
|
|
3548
3548
|
...g,
|
|
3549
3549
|
suppressContentEditableWarning: !0,
|
|
@@ -3597,10 +3597,10 @@ function Ln({ value: e, onValue: t, placeholder: a = "", name: r }) {
|
|
|
3597
3597
|
const h = i.current, C = h.getContext("2d");
|
|
3598
3598
|
C.clearRect(0, 0, h.width, h.height), C.font = "30px brush script mt", C.fillStyle = "#eee", C.textAlign = "center", C.fillText(l, 50, 27), o.current.textContent = "";
|
|
3599
3599
|
}, [l]);
|
|
3600
|
-
const m = {};
|
|
3601
|
-
m.field = "captcha";
|
|
3602
3600
|
const f = {};
|
|
3603
|
-
|
|
3601
|
+
f.field = "captcha";
|
|
3602
|
+
const m = {};
|
|
3603
|
+
return a && (m.placeholder = a), /* @__PURE__ */ n.jsxs("dl", { ...f, children: [
|
|
3604
3604
|
/* @__PURE__ */ n.jsx(
|
|
3605
3605
|
"dd",
|
|
3606
3606
|
{
|
|
@@ -3611,13 +3611,13 @@ function Ln({ value: e, onValue: t, placeholder: a = "", name: r }) {
|
|
|
3611
3611
|
onKeyDown: _,
|
|
3612
3612
|
contentEditable: "plaintext-only",
|
|
3613
3613
|
suppressContentEditableWarning: !0,
|
|
3614
|
-
...
|
|
3614
|
+
...m
|
|
3615
3615
|
}
|
|
3616
3616
|
),
|
|
3617
3617
|
/* @__PURE__ */ n.jsx("canvas", { ref: i, width: "100", height: "35" })
|
|
3618
3618
|
] });
|
|
3619
3619
|
}
|
|
3620
|
-
function
|
|
3620
|
+
function Bn(e) {
|
|
3621
3621
|
let t = () => e.title ? /* @__PURE__ */ n.jsx("dt", { children: e.title }) : "", a = () => e.error ? /* @__PURE__ */ n.jsx("em", { children: e.error }) : "", r = {
|
|
3622
3622
|
n1: "",
|
|
3623
3623
|
n2: "",
|
|
@@ -3628,8 +3628,8 @@ function $n(e) {
|
|
|
3628
3628
|
code: ""
|
|
3629
3629
|
}, s = (d) => {
|
|
3630
3630
|
d.preventDefault(), d.target.textContent = d.target.textContent.slice(-1).replace(/[^+\d]/g, "");
|
|
3631
|
-
let u = window.getSelection(),
|
|
3632
|
-
if (r[d.target.id] = d.target.textContent, r.code = r.n1 + "" + r.n2 + r.n3 + r.n4 + r.n5 + r.n6, u.collapse(d.target.firstChild, 1),
|
|
3631
|
+
let u = window.getSelection(), f = d.target.textContent.length;
|
|
3632
|
+
if (r[d.target.id] = d.target.textContent, r.code = r.n1 + "" + r.n2 + r.n3 + r.n4 + r.n5 + r.n6, u.collapse(d.target.firstChild, 1), f === 0) {
|
|
3633
3633
|
d.target.blur(), d.target.focus();
|
|
3634
3634
|
return;
|
|
3635
3635
|
}
|
|
@@ -3656,8 +3656,8 @@ function $n(e) {
|
|
|
3656
3656
|
code: ""
|
|
3657
3657
|
};
|
|
3658
3658
|
for (let u = 1; u <= 6; u++) {
|
|
3659
|
-
let
|
|
3660
|
-
|
|
3659
|
+
let f = document.getElementById("n" + u);
|
|
3660
|
+
f && (f.textContent = "");
|
|
3661
3661
|
}
|
|
3662
3662
|
}
|
|
3663
3663
|
}, l = (d) => {
|
|
@@ -3750,7 +3750,7 @@ function $n(e) {
|
|
|
3750
3750
|
}
|
|
3751
3751
|
);
|
|
3752
3752
|
}
|
|
3753
|
-
function
|
|
3753
|
+
function $n(e) {
|
|
3754
3754
|
let t = () => e.title ? /* @__PURE__ */ n.jsx("dt", { children: e.title }) : "", a = () => e.error ? /* @__PURE__ */ n.jsx("em", { children: e.error }) : "";
|
|
3755
3755
|
e.edit !== void 0 && e.edit, e.active !== void 0 && e.active;
|
|
3756
3756
|
let [r, s] = x.useState(e.value), i = (o) => {
|
|
@@ -3808,10 +3808,10 @@ function Nt(e) {
|
|
|
3808
3808
|
)
|
|
3809
3809
|
);
|
|
3810
3810
|
};
|
|
3811
|
-
const m = {};
|
|
3812
|
-
m.field = "input";
|
|
3813
3811
|
const f = {};
|
|
3814
|
-
|
|
3812
|
+
f.field = "input";
|
|
3813
|
+
const m = {};
|
|
3814
|
+
return i && (m.placeholder = i), _ ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsx(n.Fragment, { children: e.view === "icon" ? /* @__PURE__ */ n.jsx(
|
|
3815
3815
|
"i",
|
|
3816
3816
|
{
|
|
3817
3817
|
"data-icon": "F043",
|
|
@@ -3822,14 +3822,14 @@ function Nt(e) {
|
|
|
3822
3822
|
) : /* @__PURE__ */ n.jsxs(
|
|
3823
3823
|
"dl",
|
|
3824
3824
|
{
|
|
3825
|
-
...
|
|
3825
|
+
...f,
|
|
3826
3826
|
children: [
|
|
3827
3827
|
t(),
|
|
3828
3828
|
/* @__PURE__ */ n.jsx(
|
|
3829
3829
|
"dd",
|
|
3830
3830
|
{
|
|
3831
3831
|
onClick: u,
|
|
3832
|
-
...
|
|
3832
|
+
...m,
|
|
3833
3833
|
"data-edit": (r && s) + "",
|
|
3834
3834
|
children: K.Date(o, "dd.mm.yyyy")
|
|
3835
3835
|
}
|
|
@@ -3851,11 +3851,11 @@ const dl = (e) => {
|
|
|
3851
3851
|
}, [l, _] = x.useState({ y: o.y, m: o.m }), d = (w) => {
|
|
3852
3852
|
let R = w.getDay();
|
|
3853
3853
|
return R === 0 && (R = 7), R - 1;
|
|
3854
|
-
}, u = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"],
|
|
3855
|
-
for (let w = 0; w < d(
|
|
3854
|
+
}, u = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], f = l.m - 1, m = new Date(l.y, f), h = [];
|
|
3855
|
+
for (let w = 0; w < d(m); w++)
|
|
3856
3856
|
h.push(0);
|
|
3857
|
-
for (;
|
|
3858
|
-
h.push(
|
|
3857
|
+
for (; m.getMonth() === f; )
|
|
3858
|
+
h.push(m.getDate()), m.setDate(m.getDate() + 1);
|
|
3859
3859
|
let C = () => {
|
|
3860
3860
|
a(!1);
|
|
3861
3861
|
}, v = () => {
|
|
@@ -3921,16 +3921,16 @@ function It({
|
|
|
3921
3921
|
show: _ = !0,
|
|
3922
3922
|
active: d = !0,
|
|
3923
3923
|
after: u = "",
|
|
3924
|
-
view:
|
|
3925
|
-
modal:
|
|
3924
|
+
view: f,
|
|
3925
|
+
modal: m,
|
|
3926
3926
|
module: h,
|
|
3927
3927
|
options: C,
|
|
3928
3928
|
className: v
|
|
3929
3929
|
}) {
|
|
3930
3930
|
let [g, j] = x.useState(e), S = (w) => {
|
|
3931
|
-
if (!(l && d) || !
|
|
3931
|
+
if (!(l && d) || !m)
|
|
3932
3932
|
return;
|
|
3933
|
-
let R =
|
|
3933
|
+
let R = m.split(".");
|
|
3934
3934
|
Qe.Open(R[0], R[1], {
|
|
3935
3935
|
callback: (E) => {
|
|
3936
3936
|
t && t({ value: E, name: a }), j(E);
|
|
@@ -3960,27 +3960,27 @@ function It({
|
|
|
3960
3960
|
] });
|
|
3961
3961
|
}
|
|
3962
3962
|
function Tt(e) {
|
|
3963
|
-
let t = e.value, a = (
|
|
3963
|
+
let t = e.value, a = (f) => e.type === "multi" ? f.replace(/[^+\d.+-]/g, "") : f.replace(/[^+\d.]/g, ""), r = (f, m) => {
|
|
3964
3964
|
let h = document.createRange(), C = window.getSelection();
|
|
3965
|
-
h.setStart(
|
|
3966
|
-
}, s = (
|
|
3965
|
+
h.setStart(m.childNodes[0], f), h.collapse(!0), C.removeAllRanges(), C.addRange(h), m.focus();
|
|
3966
|
+
}, s = (f) => {
|
|
3967
3967
|
e.onValue({
|
|
3968
|
-
value: a(
|
|
3968
|
+
value: a(f.target.textContent),
|
|
3969
3969
|
name: e.name
|
|
3970
|
-
}),
|
|
3971
|
-
}, i = (
|
|
3972
|
-
|
|
3973
|
-
value: a(
|
|
3970
|
+
}), f.target.textContent = a(f.target.textContent), f.target.textContent.length > 0 && r(f.target.textContent.length, f.target);
|
|
3971
|
+
}, i = (f) => {
|
|
3972
|
+
f.target.textContent === "" && (f.target.textContent = 0), e.onValue({
|
|
3973
|
+
value: a(f.target.textContent),
|
|
3974
3974
|
name: e.name
|
|
3975
|
-
}),
|
|
3976
|
-
}, o = (
|
|
3977
|
-
|
|
3978
|
-
}, l = (
|
|
3979
|
-
|
|
3980
|
-
}, _ = (
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
}).catch((
|
|
3975
|
+
}), f.target.textContent = K.Money(f.target.textContent);
|
|
3976
|
+
}, o = (f) => {
|
|
3977
|
+
f.target.textContent = a(f.target.textContent);
|
|
3978
|
+
}, l = (f) => {
|
|
3979
|
+
f.key === "Enter" && f.preventDefault();
|
|
3980
|
+
}, _ = (f) => {
|
|
3981
|
+
f.preventDefault(), navigator.clipboard.readText().then((m) => {
|
|
3982
|
+
m = m.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, m);
|
|
3983
|
+
}).catch((m) => {
|
|
3984
3984
|
});
|
|
3985
3985
|
}, d = () => e.title ? /* @__PURE__ */ n.jsx("dt", { children: e.title }) : "", u = () => e.error ? /* @__PURE__ */ n.jsx("em", { children: e.error }) : "";
|
|
3986
3986
|
return /* @__PURE__ */ n.jsxs(
|
|
@@ -4020,12 +4020,12 @@ function Pn({
|
|
|
4020
4020
|
placeholder: _ = "",
|
|
4021
4021
|
after: d
|
|
4022
4022
|
}) {
|
|
4023
|
-
let [u,
|
|
4023
|
+
let [u, f] = x.useState(e);
|
|
4024
4024
|
x.useEffect(() => {
|
|
4025
|
-
|
|
4025
|
+
f(e);
|
|
4026
4026
|
}, [e]);
|
|
4027
|
-
let
|
|
4028
|
-
|
|
4027
|
+
let m = (v) => {
|
|
4028
|
+
f(v), t && t({ value: v, name: a });
|
|
4029
4029
|
}, h = (v) => {
|
|
4030
4030
|
if (!i || !o)
|
|
4031
4031
|
return;
|
|
@@ -4036,7 +4036,7 @@ function Pn({
|
|
|
4036
4036
|
_l,
|
|
4037
4037
|
{
|
|
4038
4038
|
position: { x: j, y: S },
|
|
4039
|
-
onValue:
|
|
4039
|
+
onValue: m,
|
|
4040
4040
|
date: u
|
|
4041
4041
|
},
|
|
4042
4042
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -4079,9 +4079,9 @@ const _l = (e) => {
|
|
|
4079
4079
|
a(!1);
|
|
4080
4080
|
}, u = () => {
|
|
4081
4081
|
_(l + 1);
|
|
4082
|
-
},
|
|
4082
|
+
}, f = () => {
|
|
4083
4083
|
_(l - 1);
|
|
4084
|
-
},
|
|
4084
|
+
}, m = (j) => {
|
|
4085
4085
|
e.onValue(l + "-" + K.Number(2, j)), d();
|
|
4086
4086
|
}, h = (j) => i.y === o.y && i.m === j ? "_FFEB3B" : "", C = Array(12).fill("").map((j, S) => S + 1), v = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, g = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
|
|
4087
4087
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: t ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
@@ -4100,7 +4100,7 @@ const _l = (e) => {
|
|
|
4100
4100
|
style: { top: v + "px", left: g + "px" },
|
|
4101
4101
|
children: [
|
|
4102
4102
|
/* @__PURE__ */ n.jsxs("s", { children: [
|
|
4103
|
-
/* @__PURE__ */ n.jsx("i", { "data-icon": "F021", onClick: () =>
|
|
4103
|
+
/* @__PURE__ */ n.jsx("i", { "data-icon": "F021", onClick: () => f() }),
|
|
4104
4104
|
/* @__PURE__ */ n.jsx("h2", { children: l }),
|
|
4105
4105
|
/* @__PURE__ */ n.jsx("i", { "data-icon": "F022", onClick: () => u() })
|
|
4106
4106
|
] }),
|
|
@@ -4111,7 +4111,7 @@ const _l = (e) => {
|
|
|
4111
4111
|
"span",
|
|
4112
4112
|
{
|
|
4113
4113
|
onClick: () => {
|
|
4114
|
-
|
|
4114
|
+
m(j);
|
|
4115
4115
|
},
|
|
4116
4116
|
color: h(j),
|
|
4117
4117
|
children: /* @__PURE__ */ n.jsx("b", { children: K.Month(j).abc })
|
|
@@ -4130,12 +4130,12 @@ function On(e) {
|
|
|
4130
4130
|
r = i ? !0 : r;
|
|
4131
4131
|
let d = e.placeholder !== void 0 ? e.placeholder : "", u = (g) => {
|
|
4132
4132
|
e.onValue && e.onValue({ value: g.target.innerText, name: e.name });
|
|
4133
|
-
},
|
|
4133
|
+
}, f = (g) => {
|
|
4134
4134
|
g.preventDefault(), navigator.clipboard.readText().then((j) => {
|
|
4135
4135
|
window.document.execCommand("insertText", !1, j);
|
|
4136
4136
|
}).catch((j) => {
|
|
4137
4137
|
});
|
|
4138
|
-
},
|
|
4138
|
+
}, m = (g) => {
|
|
4139
4139
|
i || s(!r);
|
|
4140
4140
|
};
|
|
4141
4141
|
const h = (g) => {
|
|
@@ -4148,12 +4148,12 @@ function On(e) {
|
|
|
4148
4148
|
/* @__PURE__ */ n.jsx(
|
|
4149
4149
|
"dd",
|
|
4150
4150
|
{
|
|
4151
|
-
onPaste:
|
|
4151
|
+
onPaste: f,
|
|
4152
4152
|
onInput: u,
|
|
4153
4153
|
onBlur: h,
|
|
4154
4154
|
contentEditable: i && o ? "plaintext-only" : "false",
|
|
4155
4155
|
...v,
|
|
4156
|
-
onDoubleClick:
|
|
4156
|
+
onDoubleClick: m,
|
|
4157
4157
|
suppressContentEditableWarning: !0,
|
|
4158
4158
|
children: e.value
|
|
4159
4159
|
}
|
|
@@ -4173,14 +4173,14 @@ function Dt({
|
|
|
4173
4173
|
value: _,
|
|
4174
4174
|
placeholder: d,
|
|
4175
4175
|
className: u,
|
|
4176
|
-
name:
|
|
4177
|
-
after:
|
|
4176
|
+
name: f,
|
|
4177
|
+
after: m,
|
|
4178
4178
|
view: h
|
|
4179
4179
|
}) {
|
|
4180
4180
|
let C = () => s ? /* @__PURE__ */ n.jsx("dt", { children: s }) : "", v = () => i ? /* @__PURE__ */ n.jsx("em", { children: i }) : "";
|
|
4181
4181
|
r = r !== void 0 ? r : !0, t = t !== void 0 ? t : !0, l = !!(l && (_ === "" || _ === void 0)) && !(r && t), d = d !== void 0 ? d : "", a = a !== void 0 ? a : 99;
|
|
4182
4182
|
let j = !1, S = (N) => {
|
|
4183
|
-
e && e({ value: N.target.textContent, name:
|
|
4183
|
+
e && e({ value: N.target.textContent, name: f });
|
|
4184
4184
|
}, T = (N) => {
|
|
4185
4185
|
if (!(j && N.which === 86)) {
|
|
4186
4186
|
if (N.which === 17 || N.which === 91)
|
|
@@ -4203,7 +4203,7 @@ function Dt({
|
|
|
4203
4203
|
const R = {};
|
|
4204
4204
|
R.field = "input", u && (R.className = u);
|
|
4205
4205
|
let E = {};
|
|
4206
|
-
return r && t ? (E.edit = "true", E.contentEditable = "plaintext-only") : E.contentEditable = "false", d && (E.placeholder = d),
|
|
4206
|
+
return r && t ? (E.edit = "true", E.contentEditable = "plaintext-only") : E.contentEditable = "false", d && (E.placeholder = d), m && (E.after = m), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...R, children: [
|
|
4207
4207
|
C(),
|
|
4208
4208
|
/* @__PURE__ */ n.jsx(
|
|
4209
4209
|
"dd",
|
|
@@ -4233,13 +4233,13 @@ function An({
|
|
|
4233
4233
|
reload: d = !1,
|
|
4234
4234
|
after: u = ""
|
|
4235
4235
|
}) {
|
|
4236
|
-
let
|
|
4236
|
+
let f = (g) => {
|
|
4237
4237
|
t && t({
|
|
4238
4238
|
value: g.target.textContent,
|
|
4239
4239
|
name: a,
|
|
4240
4240
|
reload: d
|
|
4241
4241
|
});
|
|
4242
|
-
},
|
|
4242
|
+
}, m = (g) => {
|
|
4243
4243
|
g.key === "Enter" && g.preventDefault();
|
|
4244
4244
|
}, h = (g) => {
|
|
4245
4245
|
g.preventDefault(), navigator.clipboard.readText().then((j) => {
|
|
@@ -4260,8 +4260,8 @@ function An({
|
|
|
4260
4260
|
"dd",
|
|
4261
4261
|
{
|
|
4262
4262
|
onPaste: h,
|
|
4263
|
-
onInput:
|
|
4264
|
-
onKeyDown:
|
|
4263
|
+
onInput: f,
|
|
4264
|
+
onKeyDown: m,
|
|
4265
4265
|
onBlur: ue.Blur,
|
|
4266
4266
|
contentEditable: l && _ ? "plaintext-only" : "false",
|
|
4267
4267
|
...v,
|
|
@@ -4272,7 +4272,7 @@ function An({
|
|
|
4272
4272
|
o ? /* @__PURE__ */ n.jsx("em", { children: o }) : ""
|
|
4273
4273
|
] });
|
|
4274
4274
|
}
|
|
4275
|
-
const
|
|
4275
|
+
const ft = {
|
|
4276
4276
|
0: {
|
|
4277
4277
|
name: "Heard Island and Mcdonald Islands",
|
|
4278
4278
|
dial_code: "+0",
|
|
@@ -5666,53 +5666,53 @@ function Mt({
|
|
|
5666
5666
|
edit: _ = !0,
|
|
5667
5667
|
active: d = !0,
|
|
5668
5668
|
after: u = "",
|
|
5669
|
-
show:
|
|
5670
|
-
view:
|
|
5669
|
+
show: f = !0,
|
|
5670
|
+
view: m,
|
|
5671
5671
|
className: h = ""
|
|
5672
5672
|
}) {
|
|
5673
5673
|
_ = _ !== void 0 ? _ : !0, d = d !== void 0 ? d : !0, l = !!(l && (e === "" || e === void 0)) && !(_ && d), x.useRef(null);
|
|
5674
|
-
let v = "+_(___) ___-__-__", g = !0, j = 0, S = (
|
|
5675
|
-
let
|
|
5676
|
-
|
|
5677
|
-
}, T = (
|
|
5678
|
-
|
|
5679
|
-
window.document.execCommand("insertText", !1,
|
|
5680
|
-
}).catch((
|
|
5674
|
+
let v = "+_(___) ___-__-__", g = !0, j = 0, S = (G, B) => {
|
|
5675
|
+
let H = document.createRange(), q = window.getSelection();
|
|
5676
|
+
H.setStart(B.childNodes[0], G), H.collapse(!0), q.removeAllRanges(), q.addRange(H), B.focus();
|
|
5677
|
+
}, T = (G) => {
|
|
5678
|
+
G.preventDefault(), navigator.clipboard.readText().then((B) => {
|
|
5679
|
+
window.document.execCommand("insertText", !1, B);
|
|
5680
|
+
}).catch((B) => {
|
|
5681
5681
|
});
|
|
5682
|
-
}, D = (
|
|
5683
|
-
let
|
|
5682
|
+
}, D = (G) => {
|
|
5683
|
+
let B = 0, H = "", q = G.replace(/\D/g, "");
|
|
5684
5684
|
q === "" && (g = !0);
|
|
5685
|
-
let
|
|
5686
|
-
|
|
5687
|
-
g && (re +=
|
|
5685
|
+
let Ge = q.split(""), re = "";
|
|
5686
|
+
Ge.forEach((We) => {
|
|
5687
|
+
g && (re += We, ft[re] !== void 0 && g ? (g = !1, v = ft[re].mask.replace(new RegExp("[0-9]", "g"), "_"), H = ft[re].code) : (g && (j = ("" + re).length, v = `+${re}_(___) ___-__-__`.replace(
|
|
5688
5688
|
new RegExp("[0-9]", "g"),
|
|
5689
5689
|
"_"
|
|
5690
|
-
),
|
|
5690
|
+
), H = ""), j > ("" + re).length && (g = !0, v = `+${re}_(___) ___-__-__`.replace(
|
|
5691
5691
|
new RegExp("[0-9]", "g"),
|
|
5692
5692
|
"_"
|
|
5693
|
-
),
|
|
5693
|
+
), H = "")));
|
|
5694
5694
|
});
|
|
5695
5695
|
let Ne = v.replace(/\D/g, "");
|
|
5696
5696
|
return Ne.length >= q.length && (q = Ne), { q: v.replace(/[_\d]/g, function() {
|
|
5697
|
-
return q.charAt(
|
|
5698
|
-
}), i:
|
|
5699
|
-
}, w = (
|
|
5700
|
-
|
|
5697
|
+
return q.charAt(B++) || "_";
|
|
5698
|
+
}), i: B, v: q, f: H };
|
|
5699
|
+
}, w = (G) => {
|
|
5700
|
+
G.preventDefault(), navigator.clipboard.writeText(G.target.textContent.replace(/\D/g, "")).then(
|
|
5701
5701
|
function() {
|
|
5702
|
-
|
|
5702
|
+
$e.Copy("Данные в буфер обмене");
|
|
5703
5703
|
},
|
|
5704
|
-
function(
|
|
5704
|
+
function(B) {
|
|
5705
5705
|
}
|
|
5706
5706
|
);
|
|
5707
|
-
}, R = D(e), E = (
|
|
5708
|
-
let
|
|
5709
|
-
|
|
5710
|
-
}, N = (
|
|
5711
|
-
|
|
5707
|
+
}, R = D(e), E = (G) => {
|
|
5708
|
+
let B = D(G.target.textContent);
|
|
5709
|
+
G.target.textContent = B.q, B.i = B.q.lastIndexOf(B.v.substr(-1)), B.i < B.q.length && B.q !== v ? B.i++ : B.i = B.q.indexOf("_"), S(B.i, G.target), t && t({ value: B.q.replace(/\D/g, ""), name: r });
|
|
5710
|
+
}, N = (G) => {
|
|
5711
|
+
G.key === "Enter" && G.preventDefault();
|
|
5712
5712
|
};
|
|
5713
|
-
const A = (
|
|
5714
|
-
ue.Blur(
|
|
5715
|
-
value:
|
|
5713
|
+
const A = (G) => {
|
|
5714
|
+
ue.Blur(G), a && a({
|
|
5715
|
+
value: G.target.textContent.replace(/\D/g, ""),
|
|
5716
5716
|
name: r
|
|
5717
5717
|
});
|
|
5718
5718
|
}, X = {};
|
|
@@ -5736,16 +5736,16 @@ function Mt({
|
|
|
5736
5736
|
o && /* @__PURE__ */ n.jsx("em", { children: o })
|
|
5737
5737
|
] });
|
|
5738
5738
|
}
|
|
5739
|
-
const
|
|
5739
|
+
const Zn = (e) => {
|
|
5740
5740
|
let t = () => e.title ? /* @__PURE__ */ n.jsx("dt", { children: e.title }) : "", a = e.edit !== void 0 ? e.edit : !0, r = e.active !== void 0 ? e.active : !0, s = e.placeholder !== void 0 ? e.placeholder : "", i = 0, o = () => {
|
|
5741
5741
|
clearTimeout(i), i = setTimeout(() => {
|
|
5742
5742
|
}, 1e3);
|
|
5743
5743
|
}, l = (u) => {
|
|
5744
5744
|
u.key === "Enter" && u.preventDefault();
|
|
5745
5745
|
}, _ = (u) => {
|
|
5746
|
-
u.preventDefault(), navigator.clipboard.readText().then((
|
|
5747
|
-
window.document.execCommand("insertText", !1,
|
|
5748
|
-
}).catch((
|
|
5746
|
+
u.preventDefault(), navigator.clipboard.readText().then((f) => {
|
|
5747
|
+
window.document.execCommand("insertText", !1, f);
|
|
5748
|
+
}).catch((f) => {
|
|
5749
5749
|
});
|
|
5750
5750
|
};
|
|
5751
5751
|
const d = {};
|
|
@@ -5783,12 +5783,12 @@ function Ft({
|
|
|
5783
5783
|
placeholder: _ = "",
|
|
5784
5784
|
name: d,
|
|
5785
5785
|
after: u,
|
|
5786
|
-
view:
|
|
5786
|
+
view: f
|
|
5787
5787
|
}) {
|
|
5788
|
-
const
|
|
5788
|
+
const m = x.useRef();
|
|
5789
5789
|
s = !!(s && (i === "" || l[i].n === void 0)) && !(a && r);
|
|
5790
5790
|
let C = i !== void 0 && i !== "" ? l[i].n : i, v = (T) => {
|
|
5791
|
-
|
|
5791
|
+
m.current.textContent = l[T].n, o && o({ value: T, name: d });
|
|
5792
5792
|
}, g = (T) => {
|
|
5793
5793
|
if (!(a && r))
|
|
5794
5794
|
return;
|
|
@@ -5800,7 +5800,7 @@ function Ft({
|
|
|
5800
5800
|
{
|
|
5801
5801
|
parent: D,
|
|
5802
5802
|
onValue: v,
|
|
5803
|
-
view:
|
|
5803
|
+
view: f,
|
|
5804
5804
|
options: l
|
|
5805
5805
|
},
|
|
5806
5806
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -5809,7 +5809,7 @@ function Ft({
|
|
|
5809
5809
|
}, j = { field: "select" }, S = { onClick: g };
|
|
5810
5810
|
return _ && (S.placeholder = _), u && (S.after = u), a && r && (S.edit = ""), s ? "" : /* @__PURE__ */ n.jsxs("dl", { ...j, children: [
|
|
5811
5811
|
e && /* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
5812
|
-
/* @__PURE__ */ n.jsx("dd", { ...S, ref:
|
|
5812
|
+
/* @__PURE__ */ n.jsx("dd", { ...S, ref: m, children: C }),
|
|
5813
5813
|
t && /* @__PURE__ */ n.jsx("em", { children: t })
|
|
5814
5814
|
] });
|
|
5815
5815
|
}
|
|
@@ -5838,7 +5838,7 @@ const ul = ({ onValue: e, parent: t, view: a, options: r }) => {
|
|
|
5838
5838
|
width: t.width
|
|
5839
5839
|
},
|
|
5840
5840
|
children: /* @__PURE__ */ n.jsx("ul", { children: Object.keys(r).map(
|
|
5841
|
-
(u,
|
|
5841
|
+
(u, f) => r[u].s === 1 ? /* @__PURE__ */ n.jsx(
|
|
5842
5842
|
"li",
|
|
5843
5843
|
{
|
|
5844
5844
|
onClick: () => {
|
|
@@ -5846,7 +5846,7 @@ const ul = ({ onValue: e, parent: t, view: a, options: r }) => {
|
|
|
5846
5846
|
},
|
|
5847
5847
|
children: r[u].n
|
|
5848
5848
|
},
|
|
5849
|
-
|
|
5849
|
+
f
|
|
5850
5850
|
) : ""
|
|
5851
5851
|
) })
|
|
5852
5852
|
}
|
|
@@ -5858,14 +5858,14 @@ function Lt(e) {
|
|
|
5858
5858
|
u(e.options[h]), e.onValue({ value: h, name: e.name });
|
|
5859
5859
|
}, [d, u] = x.useState(
|
|
5860
5860
|
e.default !== void 0 ? e.options[e.default] : e.default
|
|
5861
|
-
),
|
|
5861
|
+
), f = (h) => {
|
|
5862
5862
|
if (!(r && s))
|
|
5863
5863
|
return;
|
|
5864
5864
|
const C = h.target.getBoundingClientRect();
|
|
5865
5865
|
Ee.setListener(
|
|
5866
5866
|
"form",
|
|
5867
5867
|
/* @__PURE__ */ n.jsx(
|
|
5868
|
-
|
|
5868
|
+
fl,
|
|
5869
5869
|
{
|
|
5870
5870
|
parent: C,
|
|
5871
5871
|
onValue: _,
|
|
@@ -5876,8 +5876,8 @@ function Lt(e) {
|
|
|
5876
5876
|
)
|
|
5877
5877
|
);
|
|
5878
5878
|
};
|
|
5879
|
-
const
|
|
5880
|
-
return l && (
|
|
5879
|
+
const m = {};
|
|
5880
|
+
return l && (m.placeholder = l), o ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs(
|
|
5881
5881
|
"dl",
|
|
5882
5882
|
{
|
|
5883
5883
|
"data-form": "select",
|
|
@@ -5886,9 +5886,9 @@ function Lt(e) {
|
|
|
5886
5886
|
/* @__PURE__ */ n.jsx(
|
|
5887
5887
|
"dd",
|
|
5888
5888
|
{
|
|
5889
|
-
onClick:
|
|
5889
|
+
onClick: f,
|
|
5890
5890
|
"data-edit": (r && s) + "",
|
|
5891
|
-
...
|
|
5891
|
+
...m,
|
|
5892
5892
|
children: d
|
|
5893
5893
|
}
|
|
5894
5894
|
),
|
|
@@ -5897,11 +5897,11 @@ function Lt(e) {
|
|
|
5897
5897
|
}
|
|
5898
5898
|
);
|
|
5899
5899
|
}
|
|
5900
|
-
const
|
|
5900
|
+
const fl = ({ onValue: e, parent: t, view: a, options: r }) => {
|
|
5901
5901
|
let [s, i] = x.useState(!0), o = () => {
|
|
5902
5902
|
i(!1);
|
|
5903
|
-
}, l = (
|
|
5904
|
-
i(!1), e(
|
|
5903
|
+
}, l = (f) => {
|
|
5904
|
+
i(!1), e(f);
|
|
5905
5905
|
}, _ = Object.keys(r).length * 36, d = window.innerHeight - t.y + t.height < _ ? t.y - (_ - 33) : t.y + 33, u = window.innerWidth - t.x < 265 ? t.x - 235 : t.x;
|
|
5906
5906
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: s ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
5907
5907
|
/* @__PURE__ */ n.jsx(
|
|
@@ -5921,15 +5921,15 @@ const ml = ({ onValue: e, parent: t, view: a, options: r }) => {
|
|
|
5921
5921
|
left: u + "px",
|
|
5922
5922
|
width: t.width
|
|
5923
5923
|
},
|
|
5924
|
-
children: /* @__PURE__ */ n.jsx("ul", { children: Object.keys(r).map((
|
|
5924
|
+
children: /* @__PURE__ */ n.jsx("ul", { children: Object.keys(r).map((f, m) => /* @__PURE__ */ n.jsx(
|
|
5925
5925
|
"li",
|
|
5926
5926
|
{
|
|
5927
5927
|
onClick: () => {
|
|
5928
|
-
l(
|
|
5928
|
+
l(f);
|
|
5929
5929
|
},
|
|
5930
|
-
children: r[
|
|
5930
|
+
children: r[f]
|
|
5931
5931
|
},
|
|
5932
|
-
|
|
5932
|
+
m
|
|
5933
5933
|
)) })
|
|
5934
5934
|
}
|
|
5935
5935
|
)
|
|
@@ -5947,8 +5947,8 @@ function yt({
|
|
|
5947
5947
|
edit: _ = !0,
|
|
5948
5948
|
show: d = !0,
|
|
5949
5949
|
active: u = !0,
|
|
5950
|
-
after:
|
|
5951
|
-
view:
|
|
5950
|
+
after: f = "",
|
|
5951
|
+
view: m,
|
|
5952
5952
|
module: h,
|
|
5953
5953
|
item: C,
|
|
5954
5954
|
className: v = ""
|
|
@@ -5962,7 +5962,7 @@ function yt({
|
|
|
5962
5962
|
title: i,
|
|
5963
5963
|
show: d,
|
|
5964
5964
|
hide: l,
|
|
5965
|
-
view:
|
|
5965
|
+
view: m,
|
|
5966
5966
|
edit: _,
|
|
5967
5967
|
active: u,
|
|
5968
5968
|
value: t,
|
|
@@ -5979,7 +5979,7 @@ function yt({
|
|
|
5979
5979
|
title: i,
|
|
5980
5980
|
show: d,
|
|
5981
5981
|
hide: l,
|
|
5982
|
-
view:
|
|
5982
|
+
view: m,
|
|
5983
5983
|
edit: _,
|
|
5984
5984
|
active: u,
|
|
5985
5985
|
value: t,
|
|
@@ -5997,7 +5997,7 @@ function yt({
|
|
|
5997
5997
|
title: i,
|
|
5998
5998
|
show: d,
|
|
5999
5999
|
hide: l,
|
|
6000
|
-
view:
|
|
6000
|
+
view: m,
|
|
6001
6001
|
edit: _,
|
|
6002
6002
|
active: u,
|
|
6003
6003
|
value: t,
|
|
@@ -6015,7 +6015,7 @@ function yt({
|
|
|
6015
6015
|
title: i,
|
|
6016
6016
|
show: d,
|
|
6017
6017
|
hide: l,
|
|
6018
|
-
view:
|
|
6018
|
+
view: m,
|
|
6019
6019
|
edit: _,
|
|
6020
6020
|
active: u,
|
|
6021
6021
|
value: t,
|
|
@@ -6032,7 +6032,7 @@ function yt({
|
|
|
6032
6032
|
title: i,
|
|
6033
6033
|
show: d,
|
|
6034
6034
|
hide: l,
|
|
6035
|
-
view:
|
|
6035
|
+
view: m,
|
|
6036
6036
|
edit: _,
|
|
6037
6037
|
active: u,
|
|
6038
6038
|
value: t,
|
|
@@ -6049,7 +6049,7 @@ function yt({
|
|
|
6049
6049
|
title: i,
|
|
6050
6050
|
show: d,
|
|
6051
6051
|
hide: l,
|
|
6052
|
-
view:
|
|
6052
|
+
view: m,
|
|
6053
6053
|
edit: _,
|
|
6054
6054
|
active: u,
|
|
6055
6055
|
value: t,
|
|
@@ -6066,7 +6066,7 @@ function yt({
|
|
|
6066
6066
|
title: i,
|
|
6067
6067
|
show: d,
|
|
6068
6068
|
hide: l,
|
|
6069
|
-
view:
|
|
6069
|
+
view: m,
|
|
6070
6070
|
edit: _,
|
|
6071
6071
|
active: u,
|
|
6072
6072
|
value: t,
|
|
@@ -6083,7 +6083,7 @@ function yt({
|
|
|
6083
6083
|
title: i,
|
|
6084
6084
|
show: d,
|
|
6085
6085
|
hide: l,
|
|
6086
|
-
view:
|
|
6086
|
+
view: m,
|
|
6087
6087
|
edit: _,
|
|
6088
6088
|
active: u,
|
|
6089
6089
|
value: t,
|
|
@@ -6097,7 +6097,7 @@ function yt({
|
|
|
6097
6097
|
);
|
|
6098
6098
|
}
|
|
6099
6099
|
}
|
|
6100
|
-
function
|
|
6100
|
+
function Gn({
|
|
6101
6101
|
value: e,
|
|
6102
6102
|
onValue: t,
|
|
6103
6103
|
name: a,
|
|
@@ -6109,8 +6109,8 @@ function Zn({
|
|
|
6109
6109
|
active: _ = !0,
|
|
6110
6110
|
after: d = "",
|
|
6111
6111
|
show: u = !0,
|
|
6112
|
-
view:
|
|
6113
|
-
onBlur:
|
|
6112
|
+
view: f,
|
|
6113
|
+
onBlur: m,
|
|
6114
6114
|
onSave: h,
|
|
6115
6115
|
className: C = ""
|
|
6116
6116
|
}) {
|
|
@@ -6145,7 +6145,7 @@ function Zn({
|
|
|
6145
6145
|
i ?? /* @__PURE__ */ n.jsx("em", { children: i })
|
|
6146
6146
|
] });
|
|
6147
6147
|
}
|
|
6148
|
-
function
|
|
6148
|
+
function Wn({
|
|
6149
6149
|
value: e,
|
|
6150
6150
|
onValue: t,
|
|
6151
6151
|
name: a,
|
|
@@ -6157,8 +6157,8 @@ function zn({
|
|
|
6157
6157
|
active: _ = !0,
|
|
6158
6158
|
after: d = "",
|
|
6159
6159
|
show: u = !0,
|
|
6160
|
-
view:
|
|
6161
|
-
onBlur:
|
|
6160
|
+
view: f,
|
|
6161
|
+
onBlur: m,
|
|
6162
6162
|
onSave: h,
|
|
6163
6163
|
className: C = ""
|
|
6164
6164
|
}) {
|
|
@@ -6174,7 +6174,7 @@ function zn({
|
|
|
6174
6174
|
Ee.setListener(
|
|
6175
6175
|
"form",
|
|
6176
6176
|
/* @__PURE__ */ n.jsx(
|
|
6177
|
-
|
|
6177
|
+
ml,
|
|
6178
6178
|
{
|
|
6179
6179
|
positions: { x: A, y: X },
|
|
6180
6180
|
onSave: T,
|
|
@@ -6188,7 +6188,7 @@ function zn({
|
|
|
6188
6188
|
const w = {};
|
|
6189
6189
|
w.field = "input", C && (w.className = C);
|
|
6190
6190
|
const R = {};
|
|
6191
|
-
return r && (R.placeholder = r), /* @__PURE__ */ n.jsx(n.Fragment, { children:
|
|
6191
|
+
return r && (R.placeholder = r), /* @__PURE__ */ n.jsx(n.Fragment, { children: f === "icon" ? /* @__PURE__ */ n.jsx(
|
|
6192
6192
|
"i",
|
|
6193
6193
|
{
|
|
6194
6194
|
"data-icon": "F043",
|
|
@@ -6200,11 +6200,11 @@ function zn({
|
|
|
6200
6200
|
i ? /* @__PURE__ */ n.jsx("em", { children: i }) : ""
|
|
6201
6201
|
] }) });
|
|
6202
6202
|
}
|
|
6203
|
-
const
|
|
6203
|
+
const ml = ({ positions: e, onSave: t, onValue: a, date: r }) => {
|
|
6204
6204
|
let s = r.split(":"), i = {
|
|
6205
6205
|
h: K.Number(2, s[0]),
|
|
6206
6206
|
m: K.Number(2, s[1])
|
|
6207
|
-
}, o = "hour", [l, _] = x.useState({}), d = !1, u = 0,
|
|
6207
|
+
}, o = "hour", [l, _] = x.useState({}), d = !1, u = 0, f = 0, m = {
|
|
6208
6208
|
body: x.useRef(null),
|
|
6209
6209
|
time: x.useRef(null),
|
|
6210
6210
|
hour: x.useRef(null),
|
|
@@ -6212,60 +6212,60 @@ const fl = ({ positions: e, onSave: t, onValue: a, date: r }) => {
|
|
|
6212
6212
|
hourText: x.useRef(null)
|
|
6213
6213
|
};
|
|
6214
6214
|
x.useEffect(() => {
|
|
6215
|
-
_(
|
|
6216
|
-
}, [
|
|
6215
|
+
_(m.body.current.getBoundingClientRect()), m.hour.current.style.transform = "rotate(" + i.h * 15 + "deg)", m.time.current.style.transform = "rotate(" + i.m * 6 + "deg)";
|
|
6216
|
+
}, [m.body, m.hour, m.time, i.m, i.h]);
|
|
6217
6217
|
let h = () => {
|
|
6218
6218
|
d = !0;
|
|
6219
6219
|
}, C = () => {
|
|
6220
|
-
d = !1, o = o === "hour" ? "time" : "hour",
|
|
6220
|
+
d = !1, o = o === "hour" ? "time" : "hour", m.body.current.setAttribute("active", o);
|
|
6221
6221
|
}, v = (R) => {
|
|
6222
6222
|
if (d) {
|
|
6223
6223
|
let N = Math.atan2(
|
|
6224
6224
|
R.pageX - (l.x + 78),
|
|
6225
6225
|
R.pageY - (l.y + 78)
|
|
6226
6226
|
) * (180 / Math.PI) * -1 + 180;
|
|
6227
|
-
|
|
6227
|
+
m[o].current.style.transform = "rotate(" + N + "deg)", o === "hour" ? (i = {
|
|
6228
6228
|
...i,
|
|
6229
6229
|
h: K.Number(2, parseInt(String(N / 15), 10))
|
|
6230
|
-
},
|
|
6230
|
+
}, m.hourText.current.textContent = i.h) : (i = {
|
|
6231
6231
|
...i,
|
|
6232
6232
|
m: K.Number(2, parseInt(String(N / 6), 10))
|
|
6233
|
-
},
|
|
6233
|
+
}, m.timeText.current.textContent = i.m), a(i.h + ":" + i.m);
|
|
6234
6234
|
}
|
|
6235
6235
|
}, g = (R) => {
|
|
6236
6236
|
if (o === "hour")
|
|
6237
6237
|
if (R.deltaY > 0) {
|
|
6238
6238
|
u += R.deltaY;
|
|
6239
6239
|
let E = parseInt(String(u / 50));
|
|
6240
|
-
if (
|
|
6241
|
-
|
|
6240
|
+
if (f !== E) {
|
|
6241
|
+
f = E;
|
|
6242
6242
|
let N = parseInt(i.h, 10) + 1;
|
|
6243
|
-
N = N > 23 ? 0 : N, i = { ...i, h: K.Number(2, N) },
|
|
6243
|
+
N = N > 23 ? 0 : N, i = { ...i, h: K.Number(2, N) }, m.hourText.current.textContent = i.h, m[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
|
|
6244
6244
|
}
|
|
6245
6245
|
} else {
|
|
6246
6246
|
u -= R.deltaY;
|
|
6247
6247
|
let E = parseInt(String(u / 50));
|
|
6248
|
-
if (
|
|
6249
|
-
|
|
6248
|
+
if (f !== E) {
|
|
6249
|
+
f = E;
|
|
6250
6250
|
let N = parseInt(i.h, 10) - 1;
|
|
6251
|
-
N = N < 0 ? 23 : N, i = { ...i, h: K.Number(2, N) },
|
|
6251
|
+
N = N < 0 ? 23 : N, i = { ...i, h: K.Number(2, N) }, m.hourText.current.textContent = i.h, m[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
|
|
6252
6252
|
}
|
|
6253
6253
|
}
|
|
6254
6254
|
else if (R.deltaY > 0) {
|
|
6255
6255
|
u += R.deltaY;
|
|
6256
6256
|
let E = parseInt(String(u / 50));
|
|
6257
|
-
if (
|
|
6258
|
-
|
|
6257
|
+
if (f !== E) {
|
|
6258
|
+
f = E;
|
|
6259
6259
|
let N = parseInt(i.m, 10) + 1;
|
|
6260
|
-
N = N > 59 ? 0 : N, i = { ...i, m: K.Number(2, N) },
|
|
6260
|
+
N = N > 59 ? 0 : N, i = { ...i, m: K.Number(2, N) }, m.timeText.current.textContent = i.m, m[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
|
|
6261
6261
|
}
|
|
6262
6262
|
} else {
|
|
6263
6263
|
u -= R.deltaY;
|
|
6264
6264
|
let E = parseInt(String(u / 50));
|
|
6265
|
-
if (
|
|
6266
|
-
|
|
6265
|
+
if (f !== E) {
|
|
6266
|
+
f = E;
|
|
6267
6267
|
let N = parseInt(i.m, 10) - 1;
|
|
6268
|
-
N = N < 0 ? 59 : N, i = { ...i, m: K.Number(2, N) },
|
|
6268
|
+
N = N < 0 ? 59 : N, i = { ...i, m: K.Number(2, N) }, m.timeText.current.textContent = i.m, m[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
|
|
6269
6269
|
}
|
|
6270
6270
|
}
|
|
6271
6271
|
a(i.h + ":" + i.m);
|
|
@@ -6289,25 +6289,25 @@ const fl = ({ positions: e, onSave: t, onValue: a, date: r }) => {
|
|
|
6289
6289
|
onMouseUp: C,
|
|
6290
6290
|
onMouseMove: v,
|
|
6291
6291
|
onWheel: g,
|
|
6292
|
-
ref:
|
|
6292
|
+
ref: m.body,
|
|
6293
6293
|
style: { top: D + "px", left: w + "px" },
|
|
6294
6294
|
children: [
|
|
6295
6295
|
/* @__PURE__ */ n.jsx("div", { className: "b" }),
|
|
6296
6296
|
/* @__PURE__ */ n.jsxs("div", { className: "s", children: [
|
|
6297
|
-
/* @__PURE__ */ n.jsx("span", { className: "hour", ref:
|
|
6297
|
+
/* @__PURE__ */ n.jsx("span", { className: "hour", ref: m.hourText, children: i.h }),
|
|
6298
6298
|
" ",
|
|
6299
6299
|
":",
|
|
6300
6300
|
" ",
|
|
6301
|
-
/* @__PURE__ */ n.jsx("span", { className: "min", ref:
|
|
6301
|
+
/* @__PURE__ */ n.jsx("span", { className: "min", ref: m.timeText, children: i.m })
|
|
6302
6302
|
] }),
|
|
6303
|
-
/* @__PURE__ */ n.jsx("div", { className: "h", ref:
|
|
6304
|
-
/* @__PURE__ */ n.jsx("div", { className: "t", ref:
|
|
6303
|
+
/* @__PURE__ */ n.jsx("div", { className: "h", ref: m.hour }),
|
|
6304
|
+
/* @__PURE__ */ n.jsx("div", { className: "t", ref: m.time })
|
|
6305
6305
|
]
|
|
6306
6306
|
}
|
|
6307
6307
|
)
|
|
6308
6308
|
] }) : "" });
|
|
6309
6309
|
};
|
|
6310
|
-
function
|
|
6310
|
+
function zn({
|
|
6311
6311
|
onValue: e,
|
|
6312
6312
|
label: t,
|
|
6313
6313
|
value: a,
|
|
@@ -6317,8 +6317,8 @@ function Wn({
|
|
|
6317
6317
|
}) {
|
|
6318
6318
|
a = !!a;
|
|
6319
6319
|
const [o, l] = x.useState(a), _ = () => {
|
|
6320
|
-
let
|
|
6321
|
-
e({ name: s, value:
|
|
6320
|
+
let f = !o;
|
|
6321
|
+
e({ name: s, value: f, reload: i }), l(f);
|
|
6322
6322
|
}, d = {};
|
|
6323
6323
|
d.field = "check", r && (d.className = r);
|
|
6324
6324
|
const u = {};
|
|
@@ -6362,7 +6362,7 @@ const hl = ({ label: e, onValue: t, value: a, name: r, item: s }) => {
|
|
|
6362
6362
|
}
|
|
6363
6363
|
);
|
|
6364
6364
|
};
|
|
6365
|
-
function
|
|
6365
|
+
function Yn({
|
|
6366
6366
|
value: e,
|
|
6367
6367
|
onValue: t,
|
|
6368
6368
|
name: a,
|
|
@@ -6374,8 +6374,8 @@ function Un({
|
|
|
6374
6374
|
active: _ = !0,
|
|
6375
6375
|
after: d = "",
|
|
6376
6376
|
show: u = !0,
|
|
6377
|
-
view:
|
|
6378
|
-
onBlur:
|
|
6377
|
+
view: f,
|
|
6378
|
+
onBlur: m,
|
|
6379
6379
|
onSave: h,
|
|
6380
6380
|
className: C = ""
|
|
6381
6381
|
}) {
|
|
@@ -6388,7 +6388,7 @@ function Un({
|
|
|
6388
6388
|
let j = () => {
|
|
6389
6389
|
g([...v, ""]);
|
|
6390
6390
|
}, S = (A) => {
|
|
6391
|
-
v.splice(A, 1), v.length === 0 && v.push(""), g([...v]),
|
|
6391
|
+
v.splice(A, 1), v.length === 0 && v.push(""), g([...v]), m !== void 0 && m({ value: v.join(","), name: a });
|
|
6392
6392
|
}, T = !!(o && (e === "" || e === void 0)), D = (A) => {
|
|
6393
6393
|
};
|
|
6394
6394
|
if (!(l && _) && !u || !(l && _) && T)
|
|
@@ -6468,7 +6468,7 @@ function Un({
|
|
|
6468
6468
|
] });
|
|
6469
6469
|
}
|
|
6470
6470
|
const xl = (e) => (e = e !== void 0 && e !== "" ? e.split(",") : [], e.reduce((t, a) => (t[a] = !0, t), {}));
|
|
6471
|
-
function
|
|
6471
|
+
function Un({
|
|
6472
6472
|
value: e,
|
|
6473
6473
|
onValue: t,
|
|
6474
6474
|
name: a,
|
|
@@ -6480,16 +6480,16 @@ function Yn({
|
|
|
6480
6480
|
show: _ = !0,
|
|
6481
6481
|
active: d = !0,
|
|
6482
6482
|
after: u = "",
|
|
6483
|
-
view:
|
|
6484
|
-
modal:
|
|
6483
|
+
view: f,
|
|
6484
|
+
modal: m,
|
|
6485
6485
|
module: h,
|
|
6486
6486
|
options: C,
|
|
6487
6487
|
className: v
|
|
6488
6488
|
}) {
|
|
6489
6489
|
const [g, j] = x.useState(xl(e)), S = (w) => {
|
|
6490
|
-
if (!(l && d) || !
|
|
6490
|
+
if (!(l && d) || !m)
|
|
6491
6491
|
return;
|
|
6492
|
-
let R =
|
|
6492
|
+
let R = m.split(".");
|
|
6493
6493
|
Qe.Open(R[0], R[1], {
|
|
6494
6494
|
callback: (E) => {
|
|
6495
6495
|
t && t({ value: E, name: a }), j(E);
|
|
@@ -6539,28 +6539,28 @@ function Yn({
|
|
|
6539
6539
|
i && /* @__PURE__ */ n.jsx("em", { children: i })
|
|
6540
6540
|
] });
|
|
6541
6541
|
}
|
|
6542
|
-
const
|
|
6542
|
+
const fe = {};
|
|
6543
6543
|
function pl(e) {
|
|
6544
6544
|
const [t, a] = x.useState({}), r = x.useRef(e);
|
|
6545
|
-
return
|
|
6545
|
+
return fe.u = (s) => {
|
|
6546
6546
|
r.current = { ...r.current, [s.name]: s.value };
|
|
6547
|
-
},
|
|
6547
|
+
}, fe.n = (s) => {
|
|
6548
6548
|
r.current = s, a(Date.now());
|
|
6549
|
-
},
|
|
6549
|
+
}, fe.r = () => {
|
|
6550
6550
|
a(Date.now());
|
|
6551
|
-
}, [r.current,
|
|
6551
|
+
}, [r.current, fe.n];
|
|
6552
6552
|
}
|
|
6553
6553
|
function gl(e) {
|
|
6554
|
-
|
|
6554
|
+
fe.u(e), e.reload && fe.r();
|
|
6555
6555
|
}
|
|
6556
6556
|
function vl() {
|
|
6557
|
-
|
|
6557
|
+
fe.r && fe.r();
|
|
6558
6558
|
}
|
|
6559
6559
|
const ic = {
|
|
6560
|
-
Color:
|
|
6560
|
+
Color: $n,
|
|
6561
6561
|
Date: Nt,
|
|
6562
|
-
Code:
|
|
6563
|
-
Check:
|
|
6562
|
+
Code: Bn,
|
|
6563
|
+
Check: zn,
|
|
6564
6564
|
Switch: Tn,
|
|
6565
6565
|
Input: Pe,
|
|
6566
6566
|
Button: Dn,
|
|
@@ -6574,11 +6574,11 @@ const ic = {
|
|
|
6574
6574
|
Number: Dt,
|
|
6575
6575
|
Password: An,
|
|
6576
6576
|
Phone: Mt,
|
|
6577
|
-
Search:
|
|
6577
|
+
Search: Zn,
|
|
6578
6578
|
Select: Ft,
|
|
6579
6579
|
Set: yt,
|
|
6580
|
-
Textarea:
|
|
6581
|
-
Time:
|
|
6580
|
+
Textarea: Gn,
|
|
6581
|
+
Time: Wn,
|
|
6582
6582
|
Users: Lt,
|
|
6583
6583
|
String: Pe,
|
|
6584
6584
|
Form: yt,
|
|
@@ -6587,13 +6587,13 @@ const ic = {
|
|
|
6587
6587
|
setValue: gl,
|
|
6588
6588
|
Palette: hl,
|
|
6589
6589
|
Toogle: Kn,
|
|
6590
|
-
Group:
|
|
6591
|
-
Options:
|
|
6590
|
+
Group: Yn,
|
|
6591
|
+
Options: Un
|
|
6592
6592
|
}, oc = {
|
|
6593
|
-
Color:
|
|
6593
|
+
Color: $n,
|
|
6594
6594
|
Date: Nt,
|
|
6595
|
-
Code:
|
|
6596
|
-
Check:
|
|
6595
|
+
Code: Bn,
|
|
6596
|
+
Check: zn,
|
|
6597
6597
|
Switch: Tn,
|
|
6598
6598
|
Input: Pe,
|
|
6599
6599
|
Button: Dn,
|
|
@@ -6607,23 +6607,23 @@ const ic = {
|
|
|
6607
6607
|
Number: Dt,
|
|
6608
6608
|
Password: An,
|
|
6609
6609
|
Phone: Mt,
|
|
6610
|
-
Search:
|
|
6610
|
+
Search: Zn,
|
|
6611
6611
|
Select: Ft,
|
|
6612
6612
|
Set: yt,
|
|
6613
|
-
Textarea:
|
|
6614
|
-
Time:
|
|
6613
|
+
Textarea: Gn,
|
|
6614
|
+
Time: Wn,
|
|
6615
6615
|
Users: Lt,
|
|
6616
6616
|
String: Pe,
|
|
6617
6617
|
Toogle: Kn,
|
|
6618
|
-
Group:
|
|
6619
|
-
Options:
|
|
6620
|
-
}, Cl = "_spinner_1ul0m_1", kl = "_l_1ul0m_75", jl = "_loadingB_1ul0m_1",
|
|
6618
|
+
Group: Yn,
|
|
6619
|
+
Options: Un
|
|
6620
|
+
}, Cl = "_spinner_1ul0m_1", kl = "_l_1ul0m_75", jl = "_loadingB_1ul0m_1", Vn = {
|
|
6621
6621
|
spinner: Cl,
|
|
6622
6622
|
l: kl,
|
|
6623
6623
|
loadingB: jl
|
|
6624
6624
|
};
|
|
6625
6625
|
function yl() {
|
|
6626
|
-
return /* @__PURE__ */ n.jsx("div", { className:
|
|
6626
|
+
return /* @__PURE__ */ n.jsx("div", { className: Vn.spinner, children: /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ n.jsx(
|
|
6627
6627
|
"path",
|
|
6628
6628
|
{
|
|
6629
6629
|
d: "M264,492a22.2,22.2,0,0,0,22-22V411a22.2,22.2,0,0,0-22-22H236a22.2,22.2,0,0,0-22,22v59a22.2,22.2,0,0,0,22,22Zm74-134a23.9,23.9,0,0,0-6,16,20.35,20.35,0,0,0,6,15l42,42q7,7,16,7,10,0,16-7l20-20a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16l-42-42q-7-7-16-7-8,0-15,7ZM163,389a18.94,18.94,0,0,0,7-15q0-9-7-16l-20-20q-7-7-16-7-8,0-15,7L70,380q-7,7-7,16a18.94,18.94,0,0,0,7,15l20,20q7,7,16,7a18.94,18.94,0,0,0,15-7ZM112,237a22.2,22.2,0,0,0-22-22H31a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,9,237v28a21.17,21.17,0,0,0,6.5,15.5A21.17,21.17,0,0,0,31,287H90a22.2,22.2,0,0,0,22-22Zm358,50a22.2,22.2,0,0,0,22-22V237a22.2,22.2,0,0,0-22-22H411a22.2,22.2,0,0,0-22,22v28a22.2,22.2,0,0,0,22,22ZM163,142q7-7,7-15.5T163,111L121,69q-7-7-15-7-7,0-16,7L70,89q-7,7-7,16a18.94,18.94,0,0,0,7,15l42,42a18.94,18.94,0,0,0,15,7q10,0,16-7Zm269-22a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16L412,69q-7-7-16-7-7,0-16,7l-42,42q-7,8-7,16t7,15l21,20a18.94,18.94,0,0,0,15,7q10,0,16-7Zm-168-9a22.06,22.06,0,0,0,15.5-6q6.5-6,6.5-16V30a21.17,21.17,0,0,0-6.5-15.5A21.17,21.17,0,0,0,264,8H236a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,214,30V89q0,10,6.5,16a22.06,22.06,0,0,0,15.5,6Z",
|
|
@@ -6632,19 +6632,19 @@ function yl() {
|
|
|
6632
6632
|
) }) });
|
|
6633
6633
|
}
|
|
6634
6634
|
function bl() {
|
|
6635
|
-
return /* @__PURE__ */ n.jsxs("div", { className:
|
|
6635
|
+
return /* @__PURE__ */ n.jsxs("div", { className: Vn.l, children: [
|
|
6636
6636
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
6637
6637
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
6638
6638
|
/* @__PURE__ */ n.jsx("i", {})
|
|
6639
6639
|
] });
|
|
6640
6640
|
}
|
|
6641
|
-
const lc = { Spinner: yl, Inline: bl }, wl = "_s_t9swc_1",
|
|
6641
|
+
const lc = { Spinner: yl, Inline: bl }, wl = "_s_t9swc_1", fn = {
|
|
6642
6642
|
s: wl
|
|
6643
6643
|
};
|
|
6644
|
-
let
|
|
6644
|
+
let Bt;
|
|
6645
6645
|
function Sl({ className: e, placeholder: t }) {
|
|
6646
6646
|
let a = (o) => {
|
|
6647
|
-
|
|
6647
|
+
Bt(o.target.textContent);
|
|
6648
6648
|
}, r = (o) => {
|
|
6649
6649
|
o.key === "Enter" && o.preventDefault();
|
|
6650
6650
|
}, s = (o) => {
|
|
@@ -6654,7 +6654,7 @@ function Sl({ className: e, placeholder: t }) {
|
|
|
6654
6654
|
});
|
|
6655
6655
|
};
|
|
6656
6656
|
const i = {};
|
|
6657
|
-
return t && (i.placeholder = t), i.className = e ? [
|
|
6657
|
+
return t && (i.placeholder = t), i.className = e ? [fn.s, e].join(" ") : fn.s, /* @__PURE__ */ n.jsx(
|
|
6658
6658
|
"div",
|
|
6659
6659
|
{
|
|
6660
6660
|
onPaste: s,
|
|
@@ -6675,10 +6675,10 @@ function El(e, t, a) {
|
|
|
6675
6675
|
}), o;
|
|
6676
6676
|
}
|
|
6677
6677
|
function Rl(e) {
|
|
6678
|
-
|
|
6678
|
+
Bt = e;
|
|
6679
6679
|
}
|
|
6680
6680
|
function Nl(e) {
|
|
6681
|
-
|
|
6681
|
+
Bt = e;
|
|
6682
6682
|
}
|
|
6683
6683
|
const cc = { Field: Sl, Run: El, Get: Rl, useValue: Nl }, Il = "_f_q3r0i_1", Tl = {
|
|
6684
6684
|
f: Il
|
|
@@ -6806,22 +6806,22 @@ function Fl(e) {
|
|
|
6806
6806
|
function Ll(e) {
|
|
6807
6807
|
ae.set !== void 0 && ae.set(e);
|
|
6808
6808
|
}
|
|
6809
|
-
function
|
|
6809
|
+
function Bl(e) {
|
|
6810
6810
|
ae.reset !== void 0 && ae.reset(e);
|
|
6811
6811
|
}
|
|
6812
|
-
function
|
|
6812
|
+
function $l(e, t, a, r) {
|
|
6813
6813
|
let s = [], i = 1, o = 0, l = {}, _ = 50;
|
|
6814
6814
|
return l[i] = [], r === !0 && (Object.keys(t).forEach((d) => {
|
|
6815
6815
|
Number.parseInt(t[d]) !== 999 && (e = e.filter(
|
|
6816
6816
|
(u) => Number.parseInt(u[d]) === Number.parseInt(t[d])
|
|
6817
6817
|
));
|
|
6818
|
-
}),
|
|
6818
|
+
}), Hn(e.length)), e.forEach((d) => {
|
|
6819
6819
|
s.push(d.id);
|
|
6820
6820
|
}), s.forEach((d) => {
|
|
6821
6821
|
o++, o <= _ || (i++, o = 1, l[i] = []), l[i].push(a[d]);
|
|
6822
6822
|
}), l;
|
|
6823
6823
|
}
|
|
6824
|
-
function
|
|
6824
|
+
function Hn(e) {
|
|
6825
6825
|
ae.count(e);
|
|
6826
6826
|
}
|
|
6827
6827
|
function Pl({ data: e, state: t, dispatch: a }) {
|
|
@@ -6878,11 +6878,11 @@ function Ol({ data: e, head: t, state: a, dispatch: r, type: s }) {
|
|
|
6878
6878
|
}
|
|
6879
6879
|
);
|
|
6880
6880
|
}
|
|
6881
|
-
const dc = { Button: Ml, useValue: Fl, Set: Ll, Run:
|
|
6881
|
+
const dc = { Button: Ml, useValue: Fl, Set: Ll, Run: $l, Count: Hn, Reset: Bl }, _c = { Bell: ls, Send: ss, Add: rs }, Al = "_p_djnh1_1", Zl = "_l_djnh1_38", qn = {
|
|
6882
6882
|
p: Al,
|
|
6883
|
-
l:
|
|
6883
|
+
l: Zl
|
|
6884
6884
|
};
|
|
6885
|
-
function
|
|
6885
|
+
function Gl(e) {
|
|
6886
6886
|
let t = 3, a = e.page, r = e.count, s = [], i = () => {
|
|
6887
6887
|
s.push({ page: 1 }), s.push({ text: "..." });
|
|
6888
6888
|
}, o = () => {
|
|
@@ -6900,7 +6900,7 @@ function Zl(e) {
|
|
|
6900
6900
|
/* @__PURE__ */ n.jsx("i", { onClick: () => e.onChangePage(a + 1), children: /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ n.jsx("path", { d: "M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z" }) }) })
|
|
6901
6901
|
] });
|
|
6902
6902
|
}
|
|
6903
|
-
function
|
|
6903
|
+
function Wl(e, t) {
|
|
6904
6904
|
switch (t.type) {
|
|
6905
6905
|
case "load":
|
|
6906
6906
|
return {
|
|
@@ -6922,7 +6922,7 @@ function zl(e, t) {
|
|
|
6922
6922
|
}
|
|
6923
6923
|
}
|
|
6924
6924
|
function Jn({ load: e, list: t, item: a }) {
|
|
6925
|
-
const r = x.useRef(null), [s, i] = x.useReducer(
|
|
6925
|
+
const r = x.useRef(null), [s, i] = x.useReducer(Wl, {
|
|
6926
6926
|
load: !1,
|
|
6927
6927
|
list: [],
|
|
6928
6928
|
data: {},
|
|
@@ -6948,7 +6948,7 @@ function Jn({ load: e, list: t, item: a }) {
|
|
|
6948
6948
|
/* @__PURE__ */ n.jsx("i", {})
|
|
6949
6949
|
] }) }) }),
|
|
6950
6950
|
s.load && s.list !== void 0 ? /* @__PURE__ */ n.jsx(
|
|
6951
|
-
|
|
6951
|
+
Gl,
|
|
6952
6952
|
{
|
|
6953
6953
|
page: s.page,
|
|
6954
6954
|
count: s.size,
|
|
@@ -6958,7 +6958,7 @@ function Jn({ load: e, list: t, item: a }) {
|
|
|
6958
6958
|
] });
|
|
6959
6959
|
}
|
|
6960
6960
|
const uc = { Pagination: Jn };
|
|
6961
|
-
function
|
|
6961
|
+
function zl({ head: e, load: t, list: a, item: r }) {
|
|
6962
6962
|
const s = e;
|
|
6963
6963
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
6964
6964
|
/* @__PURE__ */ n.jsx(s, {}),
|
|
@@ -7007,13 +7007,13 @@ function Kl(e, t) {
|
|
|
7007
7007
|
}
|
|
7008
7008
|
}
|
|
7009
7009
|
const bt = {};
|
|
7010
|
-
function
|
|
7010
|
+
function Yl(e) {
|
|
7011
7011
|
bt.get = e;
|
|
7012
7012
|
}
|
|
7013
|
-
function
|
|
7013
|
+
function Ul(e) {
|
|
7014
7014
|
bt.get && bt.get(e);
|
|
7015
7015
|
}
|
|
7016
|
-
const
|
|
7016
|
+
const fc = { View: zl, Reducer: Kl, useValue: Yl, setValue: Ul }, mc = { Get: fs }, hc = { Open: Ji };
|
|
7017
7017
|
function xc({ active: e, onActive: t, id: a, name: r }) {
|
|
7018
7018
|
const [s, i] = x.useState(!!e);
|
|
7019
7019
|
x.useEffect(() => {
|
|
@@ -7039,8 +7039,8 @@ export {
|
|
|
7039
7039
|
nc as Badge,
|
|
7040
7040
|
Xl as Bookmarks,
|
|
7041
7041
|
ql as Browser,
|
|
7042
|
-
|
|
7043
|
-
|
|
7042
|
+
fi as Button,
|
|
7043
|
+
mc as Company,
|
|
7044
7044
|
un as Component,
|
|
7045
7045
|
ac as DataBase,
|
|
7046
7046
|
Ee as Event,
|
|
@@ -7053,14 +7053,14 @@ export {
|
|
|
7053
7053
|
ec as Icon,
|
|
7054
7054
|
lo as Init,
|
|
7055
7055
|
oc as Input,
|
|
7056
|
-
|
|
7056
|
+
fc as List,
|
|
7057
7057
|
lc as Loading,
|
|
7058
7058
|
Qe as Modal,
|
|
7059
|
-
|
|
7059
|
+
$e as Notice,
|
|
7060
7060
|
_c as Notifications,
|
|
7061
7061
|
uc as Pagination,
|
|
7062
7062
|
hc as Phone,
|
|
7063
|
-
|
|
7063
|
+
He as Router,
|
|
7064
7064
|
ol as Scrolling,
|
|
7065
7065
|
cc as Search,
|
|
7066
7066
|
Jl as Setting,
|