@elcrm/telegram 0.0.20 → 0.0.21
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.css +1 -1
- package/dist/index.es.js +158 -158
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -135,13 +135,13 @@ function Na(e) {
|
|
|
135
135
|
function Da(e) {
|
|
136
136
|
U.id = e;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function Pa(e, t = !0) {
|
|
139
139
|
j.id = e, sessionStorage.setItem("f", N.enCode(j)), t && U.id(e);
|
|
140
140
|
}
|
|
141
141
|
function on() {
|
|
142
142
|
return j.id;
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function Fa(e) {
|
|
145
145
|
return Number(j.id) === e;
|
|
146
146
|
}
|
|
147
147
|
function $a(e, t, a) {
|
|
@@ -313,18 +313,18 @@ function un(e) {
|
|
|
313
313
|
t && (window.URL || window.webkitURL).revokeObjectURL(t);
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
const
|
|
316
|
+
const _e = {};
|
|
317
317
|
function tr(e) {
|
|
318
|
-
return e && (
|
|
318
|
+
return e && (_e.s = e), _e.s;
|
|
319
319
|
}
|
|
320
320
|
function nr(e) {
|
|
321
|
-
return e && (
|
|
321
|
+
return e && (_e.a = e), _e.a;
|
|
322
322
|
}
|
|
323
323
|
function ar(e) {
|
|
324
|
-
return e && (
|
|
324
|
+
return e && (_e.c = e), _e.c;
|
|
325
325
|
}
|
|
326
326
|
function rr(e) {
|
|
327
|
-
return e && (
|
|
327
|
+
return e && (_e.h = e), _e.h;
|
|
328
328
|
}
|
|
329
329
|
const xt = { version: { Api: nr, Server: tr, Client: ar }, Host: rr };
|
|
330
330
|
let ir = "api", or = "elcrm", sr = "online";
|
|
@@ -461,16 +461,16 @@ function hr() {
|
|
|
461
461
|
{
|
|
462
462
|
var w = C.ReactDebugCurrentFrame, D = w.getStackAddendum();
|
|
463
463
|
D !== "" && (h += "%s", k = k.concat([D]));
|
|
464
|
-
var
|
|
464
|
+
var F = k.map(function(M) {
|
|
465
465
|
return String(M);
|
|
466
466
|
});
|
|
467
|
-
|
|
467
|
+
F.unshift("Warning: " + h), Function.prototype.apply.call(console[s], console, F);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var R = !1,
|
|
470
|
+
var R = !1, P = !1, A = !1, K = !1, oe = !1, z;
|
|
471
471
|
z = Symbol.for("react.module.reference");
|
|
472
472
|
function I(s) {
|
|
473
|
-
return !!(typeof s == "string" || typeof s == "function" || s === r || s === o || oe || s === i || s === _ || s === u || K || s === m || R ||
|
|
473
|
+
return !!(typeof s == "string" || typeof s == "function" || s === r || s === o || oe || s === i || s === _ || s === u || K || s === m || R || P || A || typeof s == "object" && s !== null && (s.$$typeof === x || s.$$typeof === f || s.$$typeof === l || s.$$typeof === c || s.$$typeof === d || // This needs to include all possible module reference object
|
|
474
474
|
// types supported by any Flight configuration anywhere since
|
|
475
475
|
// we don't know which Flight build this will end up being used
|
|
476
476
|
// with.
|
|
@@ -521,9 +521,9 @@ function hr() {
|
|
|
521
521
|
var w = s.displayName || null;
|
|
522
522
|
return w !== null ? w : S(s.type) || "Memo";
|
|
523
523
|
case x: {
|
|
524
|
-
var D = s,
|
|
524
|
+
var D = s, F = D._payload, M = D._init;
|
|
525
525
|
try {
|
|
526
|
-
return S(M(
|
|
526
|
+
return S(M(F));
|
|
527
527
|
} catch {
|
|
528
528
|
return null;
|
|
529
529
|
}
|
|
@@ -624,8 +624,8 @@ function hr() {
|
|
|
624
624
|
Xe = !0;
|
|
625
625
|
var D = Error.prepareStackTrace;
|
|
626
626
|
Error.prepareStackTrace = void 0;
|
|
627
|
-
var
|
|
628
|
-
|
|
627
|
+
var F;
|
|
628
|
+
F = qe.current, qe.current = null, $n();
|
|
629
629
|
try {
|
|
630
630
|
if (h) {
|
|
631
631
|
var M = function() {
|
|
@@ -678,10 +678,10 @@ function hr() {
|
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
} finally {
|
|
681
|
-
Xe = !1, qe.current =
|
|
681
|
+
Xe = !1, qe.current = F, Ln(), Error.prepareStackTrace = D;
|
|
682
682
|
}
|
|
683
|
-
var Ce = s ? s.displayName || s.name : "",
|
|
684
|
-
return typeof s == "function" && Ae.set(s,
|
|
683
|
+
var Ce = s ? s.displayName || s.name : "", me = Ce ? Oe(Ce) : "";
|
|
684
|
+
return typeof s == "function" && Ae.set(s, me), me;
|
|
685
685
|
}
|
|
686
686
|
function An(s, h, k) {
|
|
687
687
|
return It(s, !1);
|
|
@@ -710,9 +710,9 @@ function hr() {
|
|
|
710
710
|
case f:
|
|
711
711
|
return Ge(s.type, h, k);
|
|
712
712
|
case x: {
|
|
713
|
-
var w = s, D = w._payload,
|
|
713
|
+
var w = s, D = w._payload, F = w._init;
|
|
714
714
|
try {
|
|
715
|
-
return Ge(
|
|
715
|
+
return Ge(F(D), h, k);
|
|
716
716
|
} catch {
|
|
717
717
|
}
|
|
718
718
|
}
|
|
@@ -729,9 +729,9 @@ function hr() {
|
|
|
729
729
|
}
|
|
730
730
|
function zn(s, h, k, w, D) {
|
|
731
731
|
{
|
|
732
|
-
var
|
|
732
|
+
var F = Function.call.bind(Te);
|
|
733
733
|
for (var M in s)
|
|
734
|
-
if (
|
|
734
|
+
if (F(s, M)) {
|
|
735
735
|
var B = void 0;
|
|
736
736
|
try {
|
|
737
737
|
if (typeof s[M] != "function") {
|
|
@@ -766,7 +766,7 @@ function hr() {
|
|
|
766
766
|
function Dt(s) {
|
|
767
767
|
return "" + s;
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function Pt(s) {
|
|
770
770
|
if (Zn(s))
|
|
771
771
|
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Kn(s)), Dt(s);
|
|
772
772
|
}
|
|
@@ -775,7 +775,7 @@ function hr() {
|
|
|
775
775
|
ref: !0,
|
|
776
776
|
__self: !0,
|
|
777
777
|
__source: !0
|
|
778
|
-
},
|
|
778
|
+
}, Ft, $t, et;
|
|
779
779
|
et = {};
|
|
780
780
|
function Hn(s) {
|
|
781
781
|
if (Te.call(s, "ref")) {
|
|
@@ -802,7 +802,7 @@ function hr() {
|
|
|
802
802
|
function qn(s, h) {
|
|
803
803
|
{
|
|
804
804
|
var k = function() {
|
|
805
|
-
|
|
805
|
+
Ft || (Ft = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
|
|
806
806
|
};
|
|
807
807
|
k.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
808
808
|
get: k,
|
|
@@ -821,7 +821,7 @@ function hr() {
|
|
|
821
821
|
});
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
|
-
var Xn = function(s, h, k, w, D,
|
|
824
|
+
var Xn = function(s, h, k, w, D, F, M) {
|
|
825
825
|
var B = {
|
|
826
826
|
// This tag allows us to uniquely identify this as a React Element
|
|
827
827
|
$$typeof: t,
|
|
@@ -831,7 +831,7 @@ function hr() {
|
|
|
831
831
|
ref: k,
|
|
832
832
|
props: M,
|
|
833
833
|
// Record the component responsible for creating this element.
|
|
834
|
-
_owner:
|
|
834
|
+
_owner: F
|
|
835
835
|
};
|
|
836
836
|
return B._store = {}, Object.defineProperty(B._store, "validated", {
|
|
837
837
|
configurable: !1,
|
|
@@ -852,14 +852,14 @@ function hr() {
|
|
|
852
852
|
};
|
|
853
853
|
function Qn(s, h, k, w, D) {
|
|
854
854
|
{
|
|
855
|
-
var
|
|
856
|
-
k !== void 0 && (
|
|
857
|
-
for (
|
|
858
|
-
Te.call(h,
|
|
855
|
+
var F, M = {}, B = null, V = null;
|
|
856
|
+
k !== void 0 && (Pt(k), B = "" + k), Yn(h) && (Pt(h.key), B = "" + h.key), Hn(h) && (V = h.ref, Vn(h, D));
|
|
857
|
+
for (F in h)
|
|
858
|
+
Te.call(h, F) && !Un.hasOwnProperty(F) && (M[F] = h[F]);
|
|
859
859
|
if (s && s.defaultProps) {
|
|
860
860
|
var L = s.defaultProps;
|
|
861
|
-
for (
|
|
862
|
-
M[
|
|
861
|
+
for (F in L)
|
|
862
|
+
M[F] === void 0 && (M[F] = L[F]);
|
|
863
863
|
}
|
|
864
864
|
if (B || V) {
|
|
865
865
|
var G = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
@@ -936,7 +936,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
936
936
|
else if (s) {
|
|
937
937
|
var D = p(s);
|
|
938
938
|
if (typeof D == "function" && D !== s.entries)
|
|
939
|
-
for (var
|
|
939
|
+
for (var F = D.call(s), M; !(M = F.next()).done; )
|
|
940
940
|
at(M.value) && Gt(M.value, h);
|
|
941
941
|
}
|
|
942
942
|
}
|
|
@@ -979,7 +979,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
var Wt = {};
|
|
982
|
-
function Kt(s, h, k, w, D,
|
|
982
|
+
function Kt(s, h, k, w, D, F) {
|
|
983
983
|
{
|
|
984
984
|
var M = I(s);
|
|
985
985
|
if (!M) {
|
|
@@ -990,7 +990,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
990
990
|
var L;
|
|
991
991
|
s === null ? L = "null" : Qe(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (S(s.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : L = typeof s, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, B);
|
|
992
992
|
}
|
|
993
|
-
var G = Qn(s, h, k, D,
|
|
993
|
+
var G = Qn(s, h, k, D, F);
|
|
994
994
|
if (G == null)
|
|
995
995
|
return G;
|
|
996
996
|
if (M) {
|
|
@@ -1007,17 +1007,17 @@ Check the top-level render call using <` + k + ">.");
|
|
|
1007
1007
|
zt(Q, s);
|
|
1008
1008
|
}
|
|
1009
1009
|
if (Te.call(h, "key")) {
|
|
1010
|
-
var
|
|
1010
|
+
var me = S(s), q = Object.keys(h).filter(function(ca) {
|
|
1011
1011
|
return ca !== "key";
|
|
1012
1012
|
}), rt = q.length > 0 ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1013
|
-
if (!Wt[
|
|
1013
|
+
if (!Wt[me + rt]) {
|
|
1014
1014
|
var la = q.length > 0 ? "{" + q.join(": ..., ") + ": ...}" : "{}";
|
|
1015
1015
|
y(`A props object containing a "key" prop is being spread into JSX:
|
|
1016
1016
|
let props = %s;
|
|
1017
1017
|
<%s {...props} />
|
|
1018
1018
|
React keys must be passed directly to JSX without using spread:
|
|
1019
1019
|
let props = %s;
|
|
1020
|
-
<%s key={someKey} {...props} />`, rt,
|
|
1020
|
+
<%s key={someKey} {...props} />`, rt, me, la, me), Wt[me + rt] = !0;
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
return s === r ? aa(G) : na(G), G;
|
|
@@ -1044,40 +1044,40 @@ const gr = "_notice_9i5tr_2", pr = "_error_9i5tr_9", xr = "_success_9i5tr_12", v
|
|
|
1044
1044
|
"show-notice": "_show-notice_9i5tr_1",
|
|
1045
1045
|
"hide-notice": "_hide-notice_9i5tr_1"
|
|
1046
1046
|
};
|
|
1047
|
-
let
|
|
1047
|
+
let de = {};
|
|
1048
1048
|
function Cr() {
|
|
1049
1049
|
let [e, t] = b.useState([]);
|
|
1050
|
-
return
|
|
1050
|
+
return de.set = (a) => {
|
|
1051
1051
|
t([...e, a]);
|
|
1052
|
-
},
|
|
1052
|
+
}, de.del = (a) => {
|
|
1053
1053
|
t(e.filter((r) => r.key !== a));
|
|
1054
1054
|
}, e.length === 0 ? "" : /* @__PURE__ */ n.jsx("ul", { className: br.notice, children: e.map((a) => a.item) });
|
|
1055
1055
|
}
|
|
1056
|
-
function
|
|
1056
|
+
function Pe({ data: e }) {
|
|
1057
1057
|
let [t, a] = b.useState("show");
|
|
1058
1058
|
b.useEffect(() => {
|
|
1059
1059
|
setTimeout(function() {
|
|
1060
1060
|
a("hide");
|
|
1061
1061
|
}, 1800), setTimeout(function() {
|
|
1062
|
-
|
|
1062
|
+
de.del(e.key);
|
|
1063
1063
|
}, 2500);
|
|
1064
1064
|
}, [e.key]);
|
|
1065
1065
|
let r, i;
|
|
1066
1066
|
switch (e.type) {
|
|
1067
1067
|
case "error":
|
|
1068
|
-
r = /* @__PURE__ */ n.jsx(
|
|
1068
|
+
r = /* @__PURE__ */ n.jsx(ge.error, {}), i = "Ошибка:";
|
|
1069
1069
|
break;
|
|
1070
1070
|
case "success":
|
|
1071
|
-
r = /* @__PURE__ */ n.jsx(
|
|
1071
|
+
r = /* @__PURE__ */ n.jsx(ge.success, {}), i = "Информация:";
|
|
1072
1072
|
break;
|
|
1073
1073
|
case "copy":
|
|
1074
|
-
r = /* @__PURE__ */ n.jsx(
|
|
1074
|
+
r = /* @__PURE__ */ n.jsx(ge.success, {}), i = "Копирование:";
|
|
1075
1075
|
break;
|
|
1076
1076
|
case "remark":
|
|
1077
|
-
r = /* @__PURE__ */ n.jsx(
|
|
1077
|
+
r = /* @__PURE__ */ n.jsx(ge.success, {}), i = "Подсказка:";
|
|
1078
1078
|
break;
|
|
1079
1079
|
default:
|
|
1080
|
-
r = /* @__PURE__ */ n.jsx(
|
|
1080
|
+
r = /* @__PURE__ */ n.jsx(ge.success, {}), i = "Предупреждение:";
|
|
1081
1081
|
break;
|
|
1082
1082
|
}
|
|
1083
1083
|
return /* @__PURE__ */ n.jsxs("li", { className: "item " + e.type, "data-status": t, children: [
|
|
@@ -1088,26 +1088,26 @@ function Fe({ data: e }) {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
function jr(e) {
|
|
1090
1090
|
let t = Date.now(), a = { key: t, ...e };
|
|
1091
|
-
|
|
1091
|
+
de.set({ item: /* @__PURE__ */ n.jsx(Pe, { data: a }, t), key: t });
|
|
1092
1092
|
}
|
|
1093
1093
|
function yr(e) {
|
|
1094
1094
|
let t = Date.now(), a = { key: t, text: e, type: "error" };
|
|
1095
|
-
|
|
1095
|
+
de.set({ item: /* @__PURE__ */ n.jsx(Pe, { data: a }, t), key: t });
|
|
1096
1096
|
}
|
|
1097
1097
|
function wr(e) {
|
|
1098
1098
|
let t = Date.now(), a = { key: t, text: e, type: "success" };
|
|
1099
|
-
|
|
1099
|
+
de.set({ item: /* @__PURE__ */ n.jsx(Pe, { data: a }, t), key: t });
|
|
1100
1100
|
}
|
|
1101
1101
|
function Sr(e) {
|
|
1102
1102
|
let t = Date.now(), a = { key: t, text: e, type: "remark" };
|
|
1103
|
-
|
|
1103
|
+
de.set({ item: /* @__PURE__ */ n.jsx(Pe, { data: a }, t), key: t });
|
|
1104
1104
|
}
|
|
1105
1105
|
function Er(e) {
|
|
1106
1106
|
let t = Date.now(), a = { key: t, text: e, type: "copy" };
|
|
1107
|
-
|
|
1107
|
+
de.set({ item: /* @__PURE__ */ n.jsx(Pe, { data: a }, t), key: t });
|
|
1108
1108
|
}
|
|
1109
|
-
const
|
|
1110
|
-
|
|
1109
|
+
const ge = {};
|
|
1110
|
+
ge.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
1111
1111
|
/* @__PURE__ */ n.jsx(
|
|
1112
1112
|
"path",
|
|
1113
1113
|
{
|
|
@@ -1123,7 +1123,7 @@ he.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "no
|
|
|
1123
1123
|
}
|
|
1124
1124
|
)
|
|
1125
1125
|
] });
|
|
1126
|
-
|
|
1126
|
+
ge.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
1127
1127
|
/* @__PURE__ */ n.jsx(
|
|
1128
1128
|
"path",
|
|
1129
1129
|
{
|
|
@@ -1170,11 +1170,11 @@ const Dr = ({ data: e, callback: t }) => (e.button = e.button === void 0 ? "По
|
|
|
1170
1170
|
] }),
|
|
1171
1171
|
/* @__PURE__ */ n.jsx("div", { className: dt["--body"], onClick: Ne.del })
|
|
1172
1172
|
] }));
|
|
1173
|
-
function
|
|
1173
|
+
function Pr(e, t) {
|
|
1174
1174
|
Ne.set(/* @__PURE__ */ n.jsx(Dr, { data: e, callback: t }));
|
|
1175
1175
|
}
|
|
1176
|
-
const
|
|
1177
|
-
btn:
|
|
1176
|
+
const Fr = "_btn_1hz2s_6", $r = "_confirm_1hz2s_19", Yt = {
|
|
1177
|
+
btn: Fr,
|
|
1178
1178
|
confirm: $r
|
|
1179
1179
|
};
|
|
1180
1180
|
function Lr({ onClick: e, onSend: t, label: a, onRef: r }) {
|
|
@@ -1230,12 +1230,12 @@ const Or = "_white_11p39_14", Ar = "_black_11p39_26", Gr = "_shake_11p39_1", zr
|
|
|
1230
1230
|
sx: _i,
|
|
1231
1231
|
sf: di
|
|
1232
1232
|
};
|
|
1233
|
-
let
|
|
1233
|
+
let xe = {};
|
|
1234
1234
|
function ui({ config: e }) {
|
|
1235
1235
|
let [t, a] = b.useState([]);
|
|
1236
|
-
return
|
|
1236
|
+
return xe.x = (r) => {
|
|
1237
1237
|
r || a([]);
|
|
1238
|
-
},
|
|
1238
|
+
}, xe.config = e, xe.add = (r) => {
|
|
1239
1239
|
a([...t, r]);
|
|
1240
1240
|
}, /* @__PURE__ */ n.jsx(n.Fragment, { children: t.map((r) => r) });
|
|
1241
1241
|
}
|
|
@@ -1318,7 +1318,7 @@ function fi({
|
|
|
1318
1318
|
) : "" });
|
|
1319
1319
|
}
|
|
1320
1320
|
function mi(e) {
|
|
1321
|
-
|
|
1321
|
+
xe.add(/* @__PURE__ */ n.jsx(hi, { children: e }, String(Date.now())));
|
|
1322
1322
|
}
|
|
1323
1323
|
function hi({ children: e }) {
|
|
1324
1324
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
|
|
@@ -1334,14 +1334,14 @@ function gi(e) {
|
|
|
1334
1334
|
function pi({ type: e, name: t, params: a }) {
|
|
1335
1335
|
let [r, i] = b.useState(null);
|
|
1336
1336
|
return b.useEffect(() => {
|
|
1337
|
-
|
|
1337
|
+
xe.config(e, t, a, i);
|
|
1338
1338
|
}, [a.id]), /* @__PURE__ */ n.jsx(n.Fragment, { children: r });
|
|
1339
1339
|
}
|
|
1340
1340
|
function xi(e, t) {
|
|
1341
|
-
|
|
1341
|
+
xe.config(e, t);
|
|
1342
1342
|
}
|
|
1343
1343
|
function vi(e) {
|
|
1344
|
-
|
|
1344
|
+
xe.x(e);
|
|
1345
1345
|
}
|
|
1346
1346
|
const ut = {};
|
|
1347
1347
|
function ki(e, t) {
|
|
@@ -1374,7 +1374,7 @@ function wi() {
|
|
|
1374
1374
|
t([a]);
|
|
1375
1375
|
}), /* @__PURE__ */ n.jsx(n.Fragment, { children: e.map((a) => a) });
|
|
1376
1376
|
}
|
|
1377
|
-
const
|
|
1377
|
+
const ce = {
|
|
1378
1378
|
Path: $a,
|
|
1379
1379
|
setPage: wa,
|
|
1380
1380
|
getPage: an,
|
|
@@ -1389,10 +1389,10 @@ const xe = {
|
|
|
1389
1389
|
useTabs: Ba,
|
|
1390
1390
|
isTabs: Ma,
|
|
1391
1391
|
useId: Na,
|
|
1392
|
-
setId:
|
|
1392
|
+
setId: Pa,
|
|
1393
1393
|
subId: Da,
|
|
1394
1394
|
getId: on,
|
|
1395
|
-
isId:
|
|
1395
|
+
isId: Fa
|
|
1396
1396
|
}, Ke = { Send: jr, Error: yr, Remark: Sr, Success: wr, Copy: Er }, hn = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ n.jsx(
|
|
1397
1397
|
"div",
|
|
1398
1398
|
{
|
|
@@ -1496,20 +1496,20 @@ function xn(e) {
|
|
|
1496
1496
|
)
|
|
1497
1497
|
] });
|
|
1498
1498
|
}
|
|
1499
|
-
let
|
|
1500
|
-
|
|
1499
|
+
let fe = {};
|
|
1500
|
+
fe.KeyDown = (e) => {
|
|
1501
1501
|
e.key === "Enter" && e.preventDefault();
|
|
1502
1502
|
};
|
|
1503
|
-
|
|
1503
|
+
fe.PasteOne = (e) => {
|
|
1504
1504
|
e.preventDefault(), navigator.clipboard.readText().then((t) => {
|
|
1505
1505
|
t = t.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, t);
|
|
1506
1506
|
}).catch((t) => {
|
|
1507
1507
|
});
|
|
1508
1508
|
};
|
|
1509
|
-
|
|
1509
|
+
fe.Focus = (e) => {
|
|
1510
1510
|
e.target.textContent.length === 0 && (e.target.innerHTML = "<br>");
|
|
1511
1511
|
};
|
|
1512
|
-
|
|
1512
|
+
fe.Blur = (e) => {
|
|
1513
1513
|
e.target.scrollLeft = 0, e.target.querySelector("br") !== null && e.target.querySelector("br").remove();
|
|
1514
1514
|
};
|
|
1515
1515
|
function vn({ value: e, onValue: t, placeholder: a = "", name: r }) {
|
|
@@ -1541,7 +1541,7 @@ function vn({ value: e, onValue: t, placeholder: a = "", name: r }) {
|
|
|
1541
1541
|
ref: l,
|
|
1542
1542
|
onPaste: u,
|
|
1543
1543
|
onInput: _,
|
|
1544
|
-
onBlur:
|
|
1544
|
+
onBlur: fe.Blur,
|
|
1545
1545
|
onKeyDown: d,
|
|
1546
1546
|
contentEditable: "plaintext-only",
|
|
1547
1547
|
suppressContentEditableWarning: !0,
|
|
@@ -1787,7 +1787,7 @@ function kt({
|
|
|
1787
1787
|
options: g,
|
|
1788
1788
|
className: v
|
|
1789
1789
|
}) {
|
|
1790
|
-
let [p, C] = b.useState(e), y = (
|
|
1790
|
+
let [p, C] = b.useState(e), y = (P) => {
|
|
1791
1791
|
if (!(c && _) || !x)
|
|
1792
1792
|
return;
|
|
1793
1793
|
let A = x.split(".");
|
|
@@ -1858,15 +1858,15 @@ function Ii(e) {
|
|
|
1858
1858
|
}
|
|
1859
1859
|
const Mi = (e) => {
|
|
1860
1860
|
function t(T, R) {
|
|
1861
|
-
var
|
|
1861
|
+
var P, K, A;
|
|
1862
1862
|
T = T ?? "", R = R ?? 1;
|
|
1863
|
-
for (var
|
|
1864
|
-
|
|
1865
|
-
return
|
|
1863
|
+
for (var P = [], A = 0, K = T.length; A < K; )
|
|
1864
|
+
P.push(T.slice(A, A += R));
|
|
1865
|
+
return P;
|
|
1866
1866
|
}
|
|
1867
1867
|
function a(T, R) {
|
|
1868
|
-
var
|
|
1869
|
-
return R[T > 4 && T < 20 ? 2 :
|
|
1868
|
+
var P = [2, 0, 1, 1, 1, 2];
|
|
1869
|
+
return R[T > 4 && T < 20 ? 2 : P[Math.min(T, 5)]];
|
|
1870
1870
|
}
|
|
1871
1871
|
var r = {
|
|
1872
1872
|
null: "ноль",
|
|
@@ -1965,7 +1965,7 @@ function Di(e) {
|
|
|
1965
1965
|
let t = {};
|
|
1966
1966
|
return t["application/atom+xml"] = "atom", t["application/json"] = "json", t["application/javascript"] = "js", t["application/ogg"] = "ogg", t["application/pdf"] = "pdf", t["application/soap+xml"] = "soap", t["application/font-woff"] = "woff", t["application/xhtml+xml"] = "xml", t["application/xml-dtd"] = "dtd", t["application/xop+xml"] = "xop", t["application/zip"] = "zip", t["application/gzip"] = "gzip", t["application/x-bittorrent"] = "bittorrent", t["application/x-tex"] = "tex", t["application/xml"] = "xml", t["application/msword"] = "doc", t["image/svg+xml"] = "svg", t[e];
|
|
1967
1967
|
}
|
|
1968
|
-
function
|
|
1968
|
+
function Pi(e, t, a, r) {
|
|
1969
1969
|
let i = {
|
|
1970
1970
|
sexM: "m",
|
|
1971
1971
|
sexF: "f",
|
|
@@ -2181,7 +2181,7 @@ function Fi(e, t, a, r) {
|
|
|
2181
2181
|
}
|
|
2182
2182
|
return i.ln = e, i.fn = t || "", i.mn = a || "", i.sex = r || i.getSex(), i;
|
|
2183
2183
|
}
|
|
2184
|
-
function
|
|
2184
|
+
function Fi(e) {
|
|
2185
2185
|
let t = e.split(" ");
|
|
2186
2186
|
switch (t.length) {
|
|
2187
2187
|
case 2:
|
|
@@ -2248,8 +2248,8 @@ const ye = {
|
|
|
2248
2248
|
DateSort: Ii,
|
|
2249
2249
|
Size: Ni,
|
|
2250
2250
|
TypeFiles: Di,
|
|
2251
|
-
Cases:
|
|
2252
|
-
Initials:
|
|
2251
|
+
Cases: Pi,
|
|
2252
|
+
Initials: Fi,
|
|
2253
2253
|
Month: $i,
|
|
2254
2254
|
Money: Li,
|
|
2255
2255
|
Number: Oi,
|
|
@@ -2543,7 +2543,7 @@ function wn({
|
|
|
2543
2543
|
onPaste: m,
|
|
2544
2544
|
onInput: f,
|
|
2545
2545
|
onKeyDown: x,
|
|
2546
|
-
onBlur:
|
|
2546
|
+
onBlur: fe.Blur,
|
|
2547
2547
|
contentEditable: c && d ? "plaintext-only" : "false",
|
|
2548
2548
|
...v,
|
|
2549
2549
|
suppressContentEditableWarning: !0,
|
|
@@ -3977,7 +3977,7 @@ function jt({
|
|
|
3977
3977
|
return Ee.length >= Y.length && (Y = Ee), { q: v.replace(/[_\d]/g, function() {
|
|
3978
3978
|
return Y.charAt(S++) || "_";
|
|
3979
3979
|
}), i: S, v: Y, f: Z };
|
|
3980
|
-
},
|
|
3980
|
+
}, P = ($) => {
|
|
3981
3981
|
$.preventDefault(), navigator.clipboard.writeText($.target.textContent.replace(/\D/g, "")).then(
|
|
3982
3982
|
function() {
|
|
3983
3983
|
Ke.Copy("Данные в буфер обмене");
|
|
@@ -3992,7 +3992,7 @@ function jt({
|
|
|
3992
3992
|
$.key === "Enter" && $.preventDefault();
|
|
3993
3993
|
};
|
|
3994
3994
|
const z = ($) => {
|
|
3995
|
-
|
|
3995
|
+
fe.Blur($), a && a({
|
|
3996
3996
|
value: $.target.textContent.replace(/\D/g, ""),
|
|
3997
3997
|
name: r
|
|
3998
3998
|
});
|
|
@@ -4008,7 +4008,7 @@ function jt({
|
|
|
4008
4008
|
onPaste: T,
|
|
4009
4009
|
onInput: K,
|
|
4010
4010
|
onKeyDown: oe,
|
|
4011
|
-
onContextMenu:
|
|
4011
|
+
onContextMenu: P,
|
|
4012
4012
|
onBlur: z,
|
|
4013
4013
|
suppressContentEditableWarning: !0,
|
|
4014
4014
|
children: A.q
|
|
@@ -4154,20 +4154,20 @@ function wt({
|
|
|
4154
4154
|
let v = !!(l && (e === "" || e === void 0)), p = (R) => {
|
|
4155
4155
|
t == null || t({ value: R.target.value, name: a });
|
|
4156
4156
|
}, C = (R) => {
|
|
4157
|
-
R.preventDefault(), navigator.clipboard.readText().then((
|
|
4157
|
+
R.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
4158
4158
|
window.document.execCommand(
|
|
4159
4159
|
"insertText",
|
|
4160
4160
|
!1,
|
|
4161
|
-
|
|
4161
|
+
P.replace(/(\r\n|\n|\r)/gm, " ")
|
|
4162
4162
|
);
|
|
4163
|
-
}).catch((
|
|
4163
|
+
}).catch((P) => {
|
|
4164
4164
|
});
|
|
4165
4165
|
}, y = (R) => {
|
|
4166
4166
|
R.preventDefault(), navigator.clipboard.writeText(R.target.value).then(
|
|
4167
4167
|
function() {
|
|
4168
4168
|
Ke.Copy("Данные в буфер обмене");
|
|
4169
4169
|
},
|
|
4170
|
-
function(
|
|
4170
|
+
function(P) {
|
|
4171
4171
|
}
|
|
4172
4172
|
);
|
|
4173
4173
|
};
|
|
@@ -4460,9 +4460,9 @@ function En({
|
|
|
4460
4460
|
}, C = (R) => {
|
|
4461
4461
|
m && m({ value: R.target.innerText, name: a });
|
|
4462
4462
|
}, y = (R) => {
|
|
4463
|
-
R.preventDefault(), navigator.clipboard.readText().then((
|
|
4464
|
-
window.document.execCommand("insertText", !1,
|
|
4465
|
-
}).catch((
|
|
4463
|
+
R.preventDefault(), navigator.clipboard.readText().then((P) => {
|
|
4464
|
+
window.document.execCommand("insertText", !1, P);
|
|
4465
|
+
}).catch((P) => {
|
|
4466
4466
|
});
|
|
4467
4467
|
};
|
|
4468
4468
|
const T = {};
|
|
@@ -4503,16 +4503,16 @@ function Tn({
|
|
|
4503
4503
|
let v = !!(l && (e === "" || e === void 0));
|
|
4504
4504
|
if (ye.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), b.useRef(null), !(c && d) && !u || !(c && d) && v)
|
|
4505
4505
|
return "";
|
|
4506
|
-
const p = "__:__", C = new Set("_"), y = ((I) => Array.from(p, (W, $) => C.has(W) ? I = $ + 1 : I))(0), T = [...p].findIndex((I) => C.has(I)), R = new RegExp("\\d", "g"),
|
|
4506
|
+
const p = "__:__", C = new Set("_"), y = ((I) => Array.from(p, (W, $) => C.has(W) ? I = $ + 1 : I))(0), T = [...p].findIndex((I) => C.has(I)), R = new RegExp("\\d", "g"), P = (I) => (I = I.match(R) || [], Array.from(
|
|
4507
4507
|
p,
|
|
4508
4508
|
(W) => (I[0] === W || C.has(W)) && I.shift() || W
|
|
4509
4509
|
)), A = (I) => {
|
|
4510
4510
|
const [W, $] = [I.target.selectionStart, I.target.selectionEnd].map(
|
|
4511
|
-
(S) => (S =
|
|
4511
|
+
(S) => (S = P(I.target.value.slice(0, S)).findIndex(
|
|
4512
4512
|
(Z) => C.has(Z)
|
|
4513
4513
|
), S < 0 ? y[y.length - 1] : z ? y[S - 1] || T : S)
|
|
4514
4514
|
);
|
|
4515
|
-
I.target.value =
|
|
4515
|
+
I.target.value = P(I.target.value).join(""), I.target.setSelectionRange(W, $), t == null || t({ name: a, value: I.target.value });
|
|
4516
4516
|
}, K = {};
|
|
4517
4517
|
K.field = "input", g && (K.className = g);
|
|
4518
4518
|
const oe = {};
|
|
@@ -4604,17 +4604,17 @@ function In({
|
|
|
4604
4604
|
};
|
|
4605
4605
|
if (!(c && d) && !u || !(c && d) && T)
|
|
4606
4606
|
return "";
|
|
4607
|
-
const
|
|
4608
|
-
|
|
4607
|
+
const P = {};
|
|
4608
|
+
P.field = "group", g && (P.className = g);
|
|
4609
4609
|
const A = (z) => {
|
|
4610
|
-
|
|
4610
|
+
fe.Blur(z), m && m({ value: z.target.textContent, name: a });
|
|
4611
4611
|
};
|
|
4612
4612
|
let K = (z, I) => {
|
|
4613
4613
|
v[I] = z.target.textContent, t !== void 0 && t({ value: v.join(","), name: a });
|
|
4614
4614
|
}, oe = (z) => {
|
|
4615
4615
|
z.key === "Enter" && z.preventDefault();
|
|
4616
4616
|
};
|
|
4617
|
-
return /* @__PURE__ */ n.jsxs("dl", { ...
|
|
4617
|
+
return /* @__PURE__ */ n.jsxs("dl", { ...P, children: [
|
|
4618
4618
|
/* @__PURE__ */ n.jsxs("dt", { children: [
|
|
4619
4619
|
i,
|
|
4620
4620
|
/* @__PURE__ */ n.jsx("i", { onClick: C, children: /* @__PURE__ */ n.jsxs(
|
|
@@ -4697,7 +4697,7 @@ function Mn({
|
|
|
4697
4697
|
options: g,
|
|
4698
4698
|
className: v
|
|
4699
4699
|
}) {
|
|
4700
|
-
const [p, C] = b.useState(Ji(e)), y = (
|
|
4700
|
+
const [p, C] = b.useState(Ji(e)), y = (P) => {
|
|
4701
4701
|
if (!(c && _) || !x)
|
|
4702
4702
|
return;
|
|
4703
4703
|
let A = x.split(".");
|
|
@@ -4741,9 +4741,9 @@ function Mn({
|
|
|
4741
4741
|
onClick: open,
|
|
4742
4742
|
edit: (c && _) + "",
|
|
4743
4743
|
"data-after": u,
|
|
4744
|
-
children: Object.keys(p).map((
|
|
4744
|
+
children: Object.keys(p).map((P) => {
|
|
4745
4745
|
var A;
|
|
4746
|
-
return /* @__PURE__ */ n.jsx("div", { className: "field_group_item", children: (A = g[
|
|
4746
|
+
return /* @__PURE__ */ n.jsx("div", { className: "field_group_item", children: (A = g[P]) == null ? void 0 : A.label }, P);
|
|
4747
4747
|
})
|
|
4748
4748
|
}
|
|
4749
4749
|
),
|
|
@@ -4777,17 +4777,17 @@ const Xi = {
|
|
|
4777
4777
|
Toogle: Bn,
|
|
4778
4778
|
Group: In,
|
|
4779
4779
|
Options: Mn
|
|
4780
|
-
}, Qi = "
|
|
4780
|
+
}, Qi = "_debug_ug20b_34", eo = "_b_ug20b_46", to = "_o_ug20b_50", no = "_mb_ug20b_55", ao = "_tm_ug20b_66", ro = "_ta_ug20b_133", he = {
|
|
4781
4781
|
debug: Qi,
|
|
4782
4782
|
b: eo,
|
|
4783
4783
|
o: to,
|
|
4784
4784
|
mb: no,
|
|
4785
4785
|
tm: ao,
|
|
4786
4786
|
ta: ro,
|
|
4787
|
-
"--body": "_--
|
|
4787
|
+
"--body": "_--body_ug20b_143"
|
|
4788
4788
|
}, E = window.Telegram.WebApp, ve = { is: !1, MainButton: {}, BackButton: {} };
|
|
4789
|
-
let
|
|
4790
|
-
|
|
4789
|
+
let pe = {};
|
|
4790
|
+
pe.dark = {
|
|
4791
4791
|
"--tg-theme-bg-color": "#212121",
|
|
4792
4792
|
"--tg-theme-text-color": "#ffffff",
|
|
4793
4793
|
"--tg-theme-hint-color": "#aaaaaa",
|
|
@@ -4802,7 +4802,7 @@ ge.dark = {
|
|
|
4802
4802
|
"--tg-theme-subtitle-text-color": "#aaaaaa",
|
|
4803
4803
|
"--tg-theme-destructive-text-color": "#e53935"
|
|
4804
4804
|
};
|
|
4805
|
-
|
|
4805
|
+
pe.light = {
|
|
4806
4806
|
"--tg-theme-bg-color": "#ffffff",
|
|
4807
4807
|
"--tg-theme-text-color": "#000000",
|
|
4808
4808
|
"--tg-theme-hint-color": "#999999",
|
|
@@ -4811,7 +4811,7 @@ ge.light = {
|
|
|
4811
4811
|
"--tg-theme-button-text-color": "#ffffff",
|
|
4812
4812
|
"--tg-theme-secondary-bg-color": "#efeff3"
|
|
4813
4813
|
};
|
|
4814
|
-
|
|
4814
|
+
pe.users = {
|
|
4815
4815
|
"--tg-theme-bg-color": "#000000",
|
|
4816
4816
|
"--tg-theme-text-color": "#ffffff",
|
|
4817
4817
|
"--tg-theme-hint-color": "#98989e",
|
|
@@ -4826,7 +4826,7 @@ E.getUser = () => {
|
|
|
4826
4826
|
};
|
|
4827
4827
|
E.MainButton.set = (e) => {
|
|
4828
4828
|
ve.is ? ve.MainButton.set(e) : typeof e == "boolean" ? E.MainButton.isVisible = !1 : (E.MainButton.text = e.text, e.color && (E.MainButton.color = e.color), e.textColor && (E.MainButton.textColor = e.textColor), E.MainButton.isVisible = !0, E.MainButton.isActive = e.isActive ?? !0, e.page === void 0 || E.MainButton.onClick(() => {
|
|
4829
|
-
|
|
4829
|
+
ce.setPage(e.page);
|
|
4830
4830
|
}));
|
|
4831
4831
|
};
|
|
4832
4832
|
E.BackButton.state = [!1];
|
|
@@ -4835,7 +4835,7 @@ E.BackButton.router = (e) => {
|
|
|
4835
4835
|
e === !1 ? (E.BackButton.isVisible = !1, E.BackButton.offClick(E.BackButton.listen[0]), E.BackButton.listen.shift(), E.BackButton.state.length !== 1 && E.BackButton.state.pop()) : (E.BackButton.isVisible = !0, E.BackButton.offClick(E.BackButton.listen[0]), E.BackButton.listen.shift(), E.BackButton.listen.push(() => {
|
|
4836
4836
|
let t = E.BackButton.state.pop();
|
|
4837
4837
|
if (t.page !== void 0)
|
|
4838
|
-
|
|
4838
|
+
ce.setPage(t.page);
|
|
4839
4839
|
else {
|
|
4840
4840
|
let a = E.BackButton.state[E.BackButton.state.length - 1];
|
|
4841
4841
|
E.BackButton.router(a);
|
|
@@ -4852,45 +4852,45 @@ E.Init = ({ dev: e }) => {
|
|
|
4852
4852
|
if (e) {
|
|
4853
4853
|
let [t, a] = b.useState(!1), [r, i] = b.useState(!1), [o, l] = b.useState("dark"), [c, d] = b.useState(!1), [_, u] = b.useState(!1);
|
|
4854
4854
|
ve.is = !0, ve.MainButton.set = a, ve.BackButton.set = i, b.useEffect(() => {
|
|
4855
|
-
for (let m in
|
|
4855
|
+
for (let m in pe[o])
|
|
4856
4856
|
document.documentElement.style.setProperty(
|
|
4857
4857
|
m,
|
|
4858
|
-
|
|
4858
|
+
pe[o][m]
|
|
4859
4859
|
);
|
|
4860
4860
|
}, []);
|
|
4861
4861
|
let f = (m) => {
|
|
4862
|
-
for (let g in
|
|
4863
|
-
document.documentElement.style.setProperty(g,
|
|
4862
|
+
for (let g in pe[m])
|
|
4863
|
+
document.documentElement.style.setProperty(g, pe[m][g]);
|
|
4864
4864
|
l(m), d(!1);
|
|
4865
4865
|
}, x = () => {
|
|
4866
4866
|
d(!1), u(!0);
|
|
4867
4867
|
};
|
|
4868
4868
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
4869
|
-
/* @__PURE__ */ n.jsxs("div", { className:
|
|
4870
|
-
r === !1 ? /* @__PURE__ */ n.jsx("div", { className:
|
|
4869
|
+
/* @__PURE__ */ n.jsxs("div", { className: he.debug, children: [
|
|
4870
|
+
r === !1 ? /* @__PURE__ */ n.jsx("div", { className: he.b, children: "Отмена" }) : /* @__PURE__ */ n.jsx(
|
|
4871
4871
|
"div",
|
|
4872
4872
|
{
|
|
4873
4873
|
onClick: () => {
|
|
4874
|
-
r.page;
|
|
4874
|
+
r.page === void 0 || ce.setPage(r.page);
|
|
4875
4875
|
},
|
|
4876
|
-
className:
|
|
4876
|
+
className: he.b,
|
|
4877
4877
|
children: "Назад"
|
|
4878
4878
|
}
|
|
4879
4879
|
),
|
|
4880
4880
|
/* @__PURE__ */ n.jsx(
|
|
4881
4881
|
"div",
|
|
4882
4882
|
{
|
|
4883
|
-
className:
|
|
4883
|
+
className: he.o,
|
|
4884
4884
|
onClick: () => d(!c),
|
|
4885
4885
|
children: "Меню"
|
|
4886
4886
|
}
|
|
4887
4887
|
)
|
|
4888
4888
|
] }),
|
|
4889
|
-
t && /* @__PURE__ */ n.jsx("div", { className:
|
|
4890
|
-
c ? /* @__PURE__ */ n.jsxs("div", { className:
|
|
4889
|
+
t && /* @__PURE__ */ n.jsx("div", { className: he.mb, children: /* @__PURE__ */ n.jsx("button", { onClick: () => ce.setPage(t.page), children: t.text }) }),
|
|
4890
|
+
c ? /* @__PURE__ */ n.jsxs("div", { className: he.tm, children: [
|
|
4891
4891
|
/* @__PURE__ */ n.jsxs("ul", { children: [
|
|
4892
4892
|
/* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("button", { onClick: x, children: "Authorization" }) }),
|
|
4893
|
-
/* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("button", { onClick: () =>
|
|
4893
|
+
/* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("button", { onClick: () => ce.setPage("Add"), children: "Add Page" }) })
|
|
4894
4894
|
] }),
|
|
4895
4895
|
/* @__PURE__ */ n.jsxs("ul", { children: [
|
|
4896
4896
|
/* @__PURE__ */ n.jsxs("li", { children: [
|
|
@@ -4933,7 +4933,7 @@ const io = ({ setAuthorization: e }) => {
|
|
|
4933
4933
|
}, r = (i) => {
|
|
4934
4934
|
localStorage.setItem("auth", t);
|
|
4935
4935
|
};
|
|
4936
|
-
return /* @__PURE__ */ n.jsx("div", { className:
|
|
4936
|
+
return /* @__PURE__ */ n.jsx("div", { className: he.ta, children: /* @__PURE__ */ n.jsxs("div", { className: "--body", children: [
|
|
4937
4937
|
/* @__PURE__ */ n.jsx("fieldset", { children: /* @__PURE__ */ n.jsx(
|
|
4938
4938
|
Xi.Notes,
|
|
4939
4939
|
{
|
|
@@ -5071,7 +5071,7 @@ function Dn({ text: e, type: t, button: a }) {
|
|
|
5071
5071
|
a && /* @__PURE__ */ n.jsx("button", { onClick: l, children: a.label })
|
|
5072
5072
|
] });
|
|
5073
5073
|
}
|
|
5074
|
-
const yo = "_h_1usnu_1", wo = "_g_1usnu_11", So = "_hr_1usnu_16", Eo = "_hl_1usnu_28", To = "_t_1usnu_40", Ro = "_s_1usnu_60", Bo = "_u_1usnu_69", Io = "_o_1usnu_76", Mo = "_l_1usnu_105", No = "_hh_1usnu_115", Do = "_c_1usnu_128",
|
|
5074
|
+
const yo = "_h_1usnu_1", wo = "_g_1usnu_11", So = "_hr_1usnu_16", Eo = "_hl_1usnu_28", To = "_t_1usnu_40", Ro = "_s_1usnu_60", Bo = "_u_1usnu_69", Io = "_o_1usnu_76", Mo = "_l_1usnu_105", No = "_hh_1usnu_115", Do = "_c_1usnu_128", Po = "_loadingB_1usnu_1", Fo = "_m_1usnu_180", $o = "_ul_1usnu_196", Lo = "_f_1usnu_226", J = {
|
|
5075
5075
|
h: yo,
|
|
5076
5076
|
g: wo,
|
|
5077
5077
|
hr: So,
|
|
@@ -5083,8 +5083,8 @@ const yo = "_h_1usnu_1", wo = "_g_1usnu_11", So = "_hr_1usnu_16", Eo = "_hl_1usn
|
|
|
5083
5083
|
l: Mo,
|
|
5084
5084
|
hh: No,
|
|
5085
5085
|
c: Do,
|
|
5086
|
-
loadingB:
|
|
5087
|
-
m:
|
|
5086
|
+
loadingB: Po,
|
|
5087
|
+
m: Fo,
|
|
5088
5088
|
ul: $o,
|
|
5089
5089
|
f: Lo
|
|
5090
5090
|
}, qt = ({ title: e, left: t, right: a, children: r }) => /* @__PURE__ */ n.jsxs("div", { className: J.h, children: [
|
|
@@ -5118,7 +5118,7 @@ const Oo = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
5118
5118
|
H: qt,
|
|
5119
5119
|
M: zo,
|
|
5120
5120
|
F: Qt
|
|
5121
|
-
}, ml = { Send:
|
|
5121
|
+
}, ml = { Send: Pr, Line: Dn };
|
|
5122
5122
|
function Wo() {
|
|
5123
5123
|
return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ n.jsx(
|
|
5124
5124
|
"path",
|
|
@@ -5216,7 +5216,7 @@ function Vo() {
|
|
|
5216
5216
|
const qo = "_n_euuvm_1", Jo = {
|
|
5217
5217
|
n: qo
|
|
5218
5218
|
};
|
|
5219
|
-
let
|
|
5219
|
+
let Fe = {}, Me = [];
|
|
5220
5220
|
const Xo = (e, t) => {
|
|
5221
5221
|
switch (t.type) {
|
|
5222
5222
|
case "open":
|
|
@@ -5258,7 +5258,7 @@ const Xo = (e, t) => {
|
|
|
5258
5258
|
r = { ...e.take, ...r }, e.active = !1;
|
|
5259
5259
|
for (let i in r)
|
|
5260
5260
|
r[i] !== "999" && (e.active = !0);
|
|
5261
|
-
return
|
|
5261
|
+
return Fe.get(r, e.active), {
|
|
5262
5262
|
...e,
|
|
5263
5263
|
take: r,
|
|
5264
5264
|
active: e.active
|
|
@@ -5270,16 +5270,16 @@ const Xo = (e, t) => {
|
|
|
5270
5270
|
}
|
|
5271
5271
|
};
|
|
5272
5272
|
function Qo(e) {
|
|
5273
|
-
|
|
5273
|
+
Fe.fn({ action: "add", data: e });
|
|
5274
5274
|
}
|
|
5275
5275
|
function es(e) {
|
|
5276
|
-
|
|
5276
|
+
Fe.fn({ action: "add", data: e });
|
|
5277
5277
|
}
|
|
5278
5278
|
function ts(e) {
|
|
5279
|
-
|
|
5279
|
+
Fe.fn({ action: "new", data: e });
|
|
5280
5280
|
}
|
|
5281
5281
|
function ns(e) {
|
|
5282
|
-
|
|
5282
|
+
Fe.fn = e;
|
|
5283
5283
|
}
|
|
5284
5284
|
function as() {
|
|
5285
5285
|
const [e, t] = b.useReducer(Xo, {
|
|
@@ -5471,13 +5471,13 @@ H.offline = async (e) => {
|
|
|
5471
5471
|
H.chat = (e) => {
|
|
5472
5472
|
switch (e.data.action) {
|
|
5473
5473
|
case "new_message":
|
|
5474
|
-
|
|
5474
|
+
ce.getModule();
|
|
5475
5475
|
break;
|
|
5476
5476
|
case "view_message":
|
|
5477
|
-
|
|
5477
|
+
ce.getModule();
|
|
5478
5478
|
break;
|
|
5479
5479
|
case "write_message":
|
|
5480
|
-
|
|
5480
|
+
ce.getModule();
|
|
5481
5481
|
break;
|
|
5482
5482
|
}
|
|
5483
5483
|
};
|
|
@@ -5562,7 +5562,7 @@ class us {
|
|
|
5562
5562
|
}
|
|
5563
5563
|
}
|
|
5564
5564
|
let st, O = {};
|
|
5565
|
-
const Se = () => (st || (st = new us()), st),
|
|
5565
|
+
const Se = () => (st || (st = new us()), st), ue = (e, t, a = Se()) => a._withIDBStore("readwrite", (r) => {
|
|
5566
5566
|
O[e] = t, r.put(N.enCode(t), e);
|
|
5567
5567
|
}), ie = (e, t = Se()) => O[e] === void 0 ? new Promise((a, r) => {
|
|
5568
5568
|
let i;
|
|
@@ -5631,21 +5631,21 @@ const Se = () => (st || (st = new us()), st), de = (e, t, a = Se()) => a._withID
|
|
|
5631
5631
|
});
|
|
5632
5632
|
}, ps = async (e, t, a, r) => {
|
|
5633
5633
|
let i, o;
|
|
5634
|
-
o = await ie(a), o[e.id] = e, await
|
|
5634
|
+
o = await ie(a), o[e.id] = e, await ue(a, o), i !== null && (i = await ie(t), i[e.id] = e.eDate, await ue(t, i)), r !== void 0 && r({ type: "load", page: i, base: o });
|
|
5635
5635
|
}, xs = async (e, t, a, r) => {
|
|
5636
5636
|
let i = await ie(t), o = await ie(a);
|
|
5637
5637
|
for (let l in e)
|
|
5638
5638
|
o[l] = e[l], i[l] = e[l].eDate;
|
|
5639
|
-
await
|
|
5639
|
+
await ue(t, i), await ue(a, o), r !== void 0 && r({ type: "load", page: i, base: o });
|
|
5640
5640
|
}, vs = async (e, t, a, r) => {
|
|
5641
5641
|
let i = await ie(t), o = await ie(a);
|
|
5642
|
-
e.forEach((l) => delete i[l]), await
|
|
5642
|
+
e.forEach((l) => delete i[l]), await ue(t, i), r !== void 0 && r({ type: "load", page: i, base: o });
|
|
5643
5643
|
}, ks = async (e, t, a) => {
|
|
5644
5644
|
let r = await ie(t);
|
|
5645
|
-
e.forEach((i) => delete r[i]), await
|
|
5645
|
+
e.forEach((i) => delete r[i]), await ue(t, r);
|
|
5646
5646
|
}, bs = async (e, t, a) => {
|
|
5647
5647
|
let r = await ie(t);
|
|
5648
|
-
e.forEach((i) => r[i.id] = i.eDate), await
|
|
5648
|
+
e.forEach((i) => r[i.id] = i.eDate), await ue(t, r);
|
|
5649
5649
|
}, Cs = async (e, t, a) => {
|
|
5650
5650
|
let r = await ie(t);
|
|
5651
5651
|
if (a !== void 0)
|
|
@@ -5655,7 +5655,7 @@ const Se = () => (st || (st = new us()), st), de = (e, t, a = Se()) => a._withID
|
|
|
5655
5655
|
}, js = (e) => O[e], gl = {
|
|
5656
5656
|
id: Cs,
|
|
5657
5657
|
get: ie,
|
|
5658
|
-
set:
|
|
5658
|
+
set: ue,
|
|
5659
5659
|
add: ps,
|
|
5660
5660
|
del: fs,
|
|
5661
5661
|
upd: gs,
|
|
@@ -5806,13 +5806,13 @@ const vl = {
|
|
|
5806
5806
|
Toogle: Bn,
|
|
5807
5807
|
Group: In,
|
|
5808
5808
|
Options: Mn
|
|
5809
|
-
}, Ds = "_spinner_1ul0m_1",
|
|
5809
|
+
}, Ds = "_spinner_1ul0m_1", Ps = "_l_1ul0m_75", Fs = "_loadingB_1ul0m_1", Pn = {
|
|
5810
5810
|
spinner: Ds,
|
|
5811
|
-
l:
|
|
5812
|
-
loadingB:
|
|
5811
|
+
l: Ps,
|
|
5812
|
+
loadingB: Fs
|
|
5813
5813
|
};
|
|
5814
5814
|
function $s() {
|
|
5815
|
-
return /* @__PURE__ */ n.jsx("div", { className:
|
|
5815
|
+
return /* @__PURE__ */ n.jsx("div", { className: Pn.spinner, children: /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ n.jsx(
|
|
5816
5816
|
"path",
|
|
5817
5817
|
{
|
|
5818
5818
|
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",
|
|
@@ -5821,7 +5821,7 @@ function $s() {
|
|
|
5821
5821
|
) }) });
|
|
5822
5822
|
}
|
|
5823
5823
|
function Ls() {
|
|
5824
|
-
return /* @__PURE__ */ n.jsxs("div", { className:
|
|
5824
|
+
return /* @__PURE__ */ n.jsxs("div", { className: Pn.l, children: [
|
|
5825
5825
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
5826
5826
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
5827
5827
|
/* @__PURE__ */ n.jsx("i", {})
|
|
@@ -6004,13 +6004,13 @@ function Js(e, t, a, r) {
|
|
|
6004
6004
|
Number.parseInt(t[_]) !== 999 && (e = e.filter(
|
|
6005
6005
|
(u) => Number.parseInt(u[_]) === Number.parseInt(t[_])
|
|
6006
6006
|
));
|
|
6007
|
-
}),
|
|
6007
|
+
}), Fn(e.length)), e.forEach((_) => {
|
|
6008
6008
|
i.push(_.id);
|
|
6009
6009
|
}), i.forEach((_) => {
|
|
6010
6010
|
l++, l <= d || (o++, l = 1, c[o] = []), c[o].push(a[_]);
|
|
6011
6011
|
}), c;
|
|
6012
6012
|
}
|
|
6013
|
-
function
|
|
6013
|
+
function Fn(e) {
|
|
6014
6014
|
ee.count(e);
|
|
6015
6015
|
}
|
|
6016
6016
|
function Xs({ data: e, state: t, dispatch: a }) {
|
|
@@ -6067,7 +6067,7 @@ function Qs({ data: e, head: t, state: a, dispatch: r, type: i }) {
|
|
|
6067
6067
|
}
|
|
6068
6068
|
);
|
|
6069
6069
|
}
|
|
6070
|
-
const Cl = { Button: Hs, useValue: Ys, Set: Vs, Run: Js, Count:
|
|
6070
|
+
const Cl = { Button: Hs, useValue: Ys, Set: Vs, Run: Js, Count: Fn, Reset: qs }, jl = { Bell: as, Send: es, Add: Qo };
|
|
6071
6071
|
function yl({ active: e, onActive: t, id: a, name: r }) {
|
|
6072
6072
|
const [i, o] = b.useState(!!e);
|
|
6073
6073
|
b.useEffect(() => {
|
|
@@ -6182,7 +6182,7 @@ export {
|
|
|
6182
6182
|
Cn as Modal,
|
|
6183
6183
|
Ke as Notice,
|
|
6184
6184
|
jl as Notifications,
|
|
6185
|
-
|
|
6185
|
+
ce as Router,
|
|
6186
6186
|
xl as Scrolling,
|
|
6187
6187
|
bl as Search,
|
|
6188
6188
|
ul as Setting,
|