elcrm 0.9.25 → 0.9.26

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 CHANGED
@@ -1,29 +1,29 @@
1
1
  import './index.css';var Ba = Object.defineProperty;
2
2
  var Pa = (e, t, n) => t in e ? Ba(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var xt = (e, t, n) => Pa(e, typeof t != "symbol" ? t + "" : t, n);
3
+ var pt = (e, t, n) => Pa(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import m, { createContext as Oa, useContext as Aa, createElement as za } from "react";
5
- let Mt = {
5
+ let Tt = {
6
6
  enCode: (e) => e,
7
7
  deCode: (e) => e
8
8
  };
9
9
  const kn = (e) => {
10
- Mt = e;
11
- }, Ga = (e) => Mt.enCode(e), Za = (e) => Mt.deCode(e), B = { enCode: Ga, deCode: Za, New: kn }, D = {}, J = {}, De = {}, yn = {}, fe = {};
12
- let tt = "M06";
10
+ Tt = e;
11
+ }, Ga = (e) => Tt.enCode(e), Za = (e) => Tt.deCode(e), B = { enCode: Ga, deCode: Za, New: kn }, D = {}, J = {}, De = {}, yn = {}, fe = {};
12
+ let nt = "M06";
13
13
  function Ua(e) {
14
- tt = e;
14
+ nt = e;
15
15
  }
16
16
  function Ka() {
17
- return tt;
17
+ return nt;
18
18
  }
19
19
  function Wa(e) {
20
20
  if (localStorage.getItem("d")) {
21
21
  let n = sessionStorage.getItem("f");
22
- n ? (n = B.deCode(n), n || ie(), D.id = n.id, D.tab = n.tab, D.page = n.page, D.module = n.module, D.time = n.time, D.payment = { active: !0 }, D.module_admin = n.module_admin) : (D.id = 0, D.tab = "", D.page = "Main", D.module = D.module || tt);
22
+ n ? (n = B.deCode(n), n || ie(), D.id = n.id, D.tab = n.tab, D.page = n.page, D.module = n.module, D.time = n.time, D.payment = { active: !0 }, D.module_admin = n.module_admin) : (D.id = 0, D.tab = "", D.page = "Main", D.module = D.module || nt);
23
23
  } else
24
24
  ["a", "b", "c", "d", "e", "m", "u", "s", "q", "p"].forEach(
25
25
  (n) => localStorage.removeItem(n)
26
- ), ["f"].forEach((n) => sessionStorage.removeItem(n)), D.id = 0, D.tab = "", D.page = "Auth", D.module = tt;
26
+ ), ["f"].forEach((n) => sessionStorage.removeItem(n)), D.id = 0, D.tab = "", D.page = "Auth", D.module = nt;
27
27
  return e;
28
28
  }
29
29
  function ie() {
@@ -60,7 +60,7 @@ function Ja() {
60
60
  function Xa(e) {
61
61
  localStorage.setItem("p", B.enCode(e));
62
62
  }
63
- function jt() {
63
+ function Ct() {
64
64
  let e = localStorage.getItem("p");
65
65
  if (e !== "" && e !== "undefined" && e !== null) {
66
66
  let t = B.deCode(e);
@@ -69,7 +69,7 @@ function jt() {
69
69
  return ie(), !1;
70
70
  }
71
71
  function Qa() {
72
- const [e, t] = m.useState(nt()), n = (r) => {
72
+ const [e, t] = m.useState(Mt()), n = (r) => {
73
73
  t(r);
74
74
  };
75
75
  return J.page = n, [e];
@@ -77,7 +77,7 @@ function Qa() {
77
77
  function er(e, t = !0) {
78
78
  D.page = e, sessionStorage.setItem("f", B.enCode(D)), t && J.page(e);
79
79
  }
80
- function nt() {
80
+ function Mt() {
81
81
  return D.page;
82
82
  }
83
83
  function tr(e) {
@@ -103,7 +103,7 @@ function rr(e) {
103
103
  }
104
104
  function wn(e) {
105
105
  if (typeof e != "function") {
106
- const [t, n] = m.useState(e || rt());
106
+ const [t, n] = m.useState(e || Ge());
107
107
  return J.tabs = n, [t];
108
108
  } else
109
109
  J.tabs = e;
@@ -115,7 +115,7 @@ function Sn(e, t = !0) {
115
115
  else
116
116
  throw new Error("useTabs not found");
117
117
  }
118
- function rt() {
118
+ function Ge() {
119
119
  return D.tab;
120
120
  }
121
121
  function sr(e) {
@@ -177,11 +177,11 @@ function hr(e) {
177
177
  }
178
178
  function Dn(e) {
179
179
  let t = localStorage.getItem("b");
180
- t = t === null ? {} : B.deCode(t), t[rt()] = e, localStorage.setItem("b", B.enCode(t));
180
+ t = t === null ? {} : B.deCode(t), t[Ge()] = e, localStorage.setItem("b", B.enCode(t));
181
181
  }
182
- function kt() {
182
+ function jt() {
183
183
  let e = localStorage.getItem("b");
184
- return e === null ? {} : (e = B.deCode(e), e = e[rt()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
184
+ return e === null ? {} : (e = B.deCode(e), e = e[Ge()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
185
185
  }
186
186
  function Nn(e) {
187
187
  localStorage.setItem("c", B.enCode(e));
@@ -195,7 +195,7 @@ function In(e, t) {
195
195
  } else
196
196
  return ie(), !1;
197
197
  }
198
- function Ge(e) {
198
+ function Ze(e) {
199
199
  fe.data = e, localStorage.setItem("q", B.enCode(fe.data));
200
200
  }
201
201
  function gr(e, t) {
@@ -274,7 +274,7 @@ function Sr(e, t, n) {
274
274
  const se = {
275
275
  setSSID: Ha,
276
276
  getSSID: qa,
277
- getPORT: jt,
277
+ getPORT: Ct,
278
278
  setPORT: Xa,
279
279
  setAUTH: Va,
280
280
  getAUTH: Ja,
@@ -284,10 +284,10 @@ const se = {
284
284
  getMenu: mr,
285
285
  useSort: hr,
286
286
  setSort: Dn,
287
- getSort: kt,
287
+ getSort: jt,
288
288
  setCompany: Nn,
289
289
  getCompany: In,
290
- setSelect: Ge,
290
+ setSelect: Ze,
291
291
  addSelect: gr,
292
292
  getSelect: ge,
293
293
  setApi: pr,
@@ -339,13 +339,13 @@ function Ir(e) {
339
339
  function Tr(e) {
340
340
  return e && (_e.i = e), _e.i;
341
341
  }
342
- function st(e) {
342
+ function rt(e) {
343
343
  return _e.i(e);
344
344
  }
345
345
  function Mr(e) {
346
346
  kn(e);
347
347
  }
348
- const it = {
348
+ const st = {
349
349
  version: { Api: Dr, Server: Rr, Client: Nr },
350
350
  Host: Ir,
351
351
  Import: Tr,
@@ -367,7 +367,7 @@ function Pr(e) {
367
367
  function Or(e) {
368
368
  return "https://" + se.getPORT().address + "/image/" + e;
369
369
  }
370
- function Ze(e, t = {}, n = se.getAUTH()) {
370
+ function Ue(e, t = {}, n = se.getAUTH()) {
371
371
  return new Promise((r) => {
372
372
  const s = new Ln();
373
373
  s.onmessage = (i) => {
@@ -376,13 +376,13 @@ function Ze(e, t = {}, n = se.getAUTH()) {
376
376
  link: e,
377
377
  data: t,
378
378
  ssid: n,
379
- host: it.Host() || `https://${Lt}/`
379
+ host: st.Host() || `https://${Lt}/`
380
380
  });
381
381
  });
382
382
  }
383
383
  async function Ar(e, t = {}, n = se.getAUTH()) {
384
384
  try {
385
- return await (await Ze(it.Host() || `https://${Lt}/` + e, {
385
+ return await (await Ue(st.Host() || `https://${Lt}/` + e, {
386
386
  method: "POST",
387
387
  headers: {
388
388
  ssid: n
@@ -402,13 +402,13 @@ function zr(e, t = {}, n = se.getAUTH()) {
402
402
  link: e,
403
403
  data: t,
404
404
  ssid: n,
405
- host: it.Host() + "modules/" || `https://${Lt}/modules`
405
+ host: st.Host() + "modules/" || `https://${Lt}/modules`
406
406
  });
407
407
  });
408
408
  }
409
409
  function Gr(e, t = {}, n) {
410
410
  const [r, s] = m.useState({ status: "load" }), i = async (o) => {
411
- let l = await Ze(e, o, n);
411
+ let l = await Ue(e, o, n);
412
412
  s(l);
413
413
  };
414
414
  return m.useEffect(() => {
@@ -421,7 +421,7 @@ let Fn = {
421
421
  };
422
422
  async function Zr(e, t, n = {}) {
423
423
  try {
424
- return await (await Ze("https://" + e + "/" + t, {
424
+ return await (await Ue("https://" + e + "/" + t, {
425
425
  method: "POST",
426
426
  headers: Fn,
427
427
  body: JSON.stringify(n)
@@ -432,7 +432,7 @@ async function Zr(e, t, n = {}) {
432
432
  }
433
433
  async function Ur(e, t = {}) {
434
434
  try {
435
- return await (await Ze("https://tb.elcrm.online/v1/" + e, {
435
+ return await (await Ue("https://tb.elcrm.online/v1/" + e, {
436
436
  method: "POST",
437
437
  headers: Fn,
438
438
  body: JSON.stringify(t)
@@ -452,7 +452,7 @@ async function Wr(e, t = {}) {
452
452
  const dn = {
453
453
  audio: Pr,
454
454
  image: Or,
455
- fetch: Ze,
455
+ fetch: Ue,
456
456
  modules: zr,
457
457
  remoute: Zr,
458
458
  url: Br,
@@ -462,7 +462,7 @@ const dn = {
462
462
  token: Kr,
463
463
  formData: Ar
464
464
  };
465
- var yt = { exports: {} }, Fe = {};
465
+ var kt = { exports: {} }, Fe = {};
466
466
  /**
467
467
  * @license React
468
468
  * react-jsx-runtime.production.min.js
@@ -588,14 +588,14 @@ function Hr() {
588
588
  }
589
589
  return null;
590
590
  }
591
- var F = Object.assign, W = 0, te, re, he, Se, Te, We, Kt;
591
+ var F = Object.assign, W = 0, te, re, he, Se, Te, Ye, Kt;
592
592
  function Wt() {
593
593
  }
594
594
  Wt.__reactDisabledLog = !0;
595
595
  function da() {
596
596
  {
597
597
  if (W === 0) {
598
- te = console.log, re = console.info, he = console.warn, Se = console.error, Te = console.group, We = console.groupCollapsed, Kt = console.groupEnd;
598
+ te = console.log, re = console.info, he = console.warn, Se = console.error, Te = console.group, Ye = console.groupCollapsed, Kt = console.groupEnd;
599
599
  var d = {
600
600
  configurable: !0,
601
601
  enumerable: !0,
@@ -640,7 +640,7 @@ function Hr() {
640
640
  value: Te
641
641
  }),
642
642
  groupCollapsed: F({}, d, {
643
- value: We
643
+ value: Ye
644
644
  }),
645
645
  groupEnd: F({}, d, {
646
646
  value: Kt
@@ -650,39 +650,39 @@ function Hr() {
650
650
  W < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
651
651
  }
652
652
  }
653
- var ct = C.ReactCurrentDispatcher, dt;
654
- function Ye(d, v, w) {
653
+ var lt = C.ReactCurrentDispatcher, ct;
654
+ function He(d, v, w) {
655
655
  {
656
- if (dt === void 0)
656
+ if (ct === void 0)
657
657
  try {
658
658
  throw Error();
659
659
  } catch (z) {
660
660
  var L = z.stack.trim().match(/\n( *(at )?)/);
661
- dt = L && L[1] || "";
661
+ ct = L && L[1] || "";
662
662
  }
663
663
  return `
664
- ` + dt + d;
664
+ ` + ct + d;
665
665
  }
666
666
  }
667
- var _t = !1, He;
667
+ var dt = !1, qe;
668
668
  {
669
669
  var ua = typeof WeakMap == "function" ? WeakMap : Map;
670
- He = new ua();
670
+ qe = new ua();
671
671
  }
672
672
  function Yt(d, v) {
673
- if (!d || _t)
673
+ if (!d || dt)
674
674
  return "";
675
675
  {
676
- var w = He.get(d);
676
+ var w = qe.get(d);
677
677
  if (w !== void 0)
678
678
  return w;
679
679
  }
680
680
  var L;
681
- _t = !0;
681
+ dt = !0;
682
682
  var z = Error.prepareStackTrace;
683
683
  Error.prepareStackTrace = void 0;
684
684
  var G;
685
- G = ct.current, ct.current = null, da();
685
+ G = lt.current, lt.current = null, da();
686
686
  try {
687
687
  if (v) {
688
688
  var P = function() {
@@ -728,17 +728,17 @@ function Hr() {
728
728
  if (H--, V--, V < 0 || $[H] !== Q[V]) {
729
729
  var oe = `
730
730
  ` + $[H].replace(" at new ", " at ");
731
- return d.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", d.displayName)), typeof d == "function" && He.set(d, oe), oe;
731
+ return d.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", d.displayName)), typeof d == "function" && qe.set(d, oe), oe;
732
732
  }
733
733
  while (H >= 1 && V >= 0);
734
734
  break;
735
735
  }
736
736
  }
737
737
  } finally {
738
- _t = !1, ct.current = G, _a(), Error.prepareStackTrace = z;
738
+ dt = !1, lt.current = G, _a(), Error.prepareStackTrace = z;
739
739
  }
740
- var Re = d ? d.displayName || d.name : "", ke = Re ? Ye(Re) : "";
741
- return typeof d == "function" && He.set(d, ke), ke;
740
+ var Re = d ? d.displayName || d.name : "", ke = Re ? He(Re) : "";
741
+ return typeof d == "function" && qe.set(d, ke), ke;
742
742
  }
743
743
  function fa(d, v, w) {
744
744
  return Yt(d, !1);
@@ -747,29 +747,29 @@ function Hr() {
747
747
  var v = d.prototype;
748
748
  return !!(v && v.isReactComponent);
749
749
  }
750
- function qe(d, v, w) {
750
+ function Ve(d, v, w) {
751
751
  if (d == null)
752
752
  return "";
753
753
  if (typeof d == "function")
754
754
  return Yt(d, ma(d));
755
755
  if (typeof d == "string")
756
- return Ye(d);
756
+ return He(d);
757
757
  switch (d) {
758
758
  case _:
759
- return Ye("Suspense");
759
+ return He("Suspense");
760
760
  case u:
761
- return Ye("SuspenseList");
761
+ return He("SuspenseList");
762
762
  }
763
763
  if (typeof d == "object")
764
764
  switch (d.$$typeof) {
765
765
  case c:
766
766
  return fa(d.render);
767
767
  case g:
768
- return qe(d.type, v, w);
768
+ return Ve(d.type, v, w);
769
769
  case f: {
770
770
  var L = d, z = L._payload, G = L._init;
771
771
  try {
772
- return qe(G(z), v, w);
772
+ return Ve(G(z), v, w);
773
773
  } catch {
774
774
  }
775
775
  }
@@ -777,9 +777,9 @@ function Hr() {
777
777
  return "";
778
778
  }
779
779
  var Me = Object.prototype.hasOwnProperty, Ht = {}, qt = C.ReactDebugCurrentFrame;
780
- function Ve(d) {
780
+ function Je(d) {
781
781
  if (d) {
782
- var v = d._owner, w = qe(d.type, d._source, v ? v.type : null);
782
+ var v = d._owner, w = Ve(d.type, d._source, v ? v.type : null);
783
783
  qt.setExtraStackFrame(w);
784
784
  } else
785
785
  qt.setExtraStackFrame(null);
@@ -799,12 +799,12 @@ function Hr() {
799
799
  } catch (H) {
800
800
  $ = H;
801
801
  }
802
- $ && !($ instanceof Error) && (Ve(z), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", L || "React class", w, P, typeof $), Ve(null)), $ instanceof Error && !($.message in Ht) && (Ht[$.message] = !0, Ve(z), b("Failed %s type: %s", w, $.message), Ve(null));
802
+ $ && !($ instanceof Error) && (Je(z), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", L || "React class", w, P, typeof $), Je(null)), $ instanceof Error && !($.message in Ht) && (Ht[$.message] = !0, Je(z), b("Failed %s type: %s", w, $.message), Je(null));
803
803
  }
804
804
  }
805
805
  }
806
806
  var ga = Array.isArray;
807
- function ut(d) {
807
+ function _t(d) {
808
808
  return ga(d);
809
809
  }
810
810
  function pa(d) {
@@ -832,8 +832,8 @@ function Hr() {
832
832
  ref: !0,
833
833
  __self: !0,
834
834
  __source: !0
835
- }, Xt, Qt, ft;
836
- ft = {};
835
+ }, Xt, Qt, ut;
836
+ ut = {};
837
837
  function Ca(d) {
838
838
  if (Me.call(d, "ref")) {
839
839
  var v = Object.getOwnPropertyDescriptor(d, "ref").get;
@@ -853,7 +853,7 @@ function Hr() {
853
853
  function ka(d, v) {
854
854
  if (typeof d.ref == "string" && Le.current && v && Le.current.stateNode !== v) {
855
855
  var w = N(Le.current.type);
856
- ft[w] || (b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', N(Le.current.type), d.ref), ft[w] = !0);
856
+ ut[w] || (b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', N(Le.current.type), d.ref), ut[w] = !0);
857
857
  }
858
858
  }
859
859
  function ya(d, v) {
@@ -925,23 +925,23 @@ function Hr() {
925
925
  return wa(d, $, Q, z, L, Le.current, P);
926
926
  }
927
927
  }
928
- var mt = C.ReactCurrentOwner, en = C.ReactDebugCurrentFrame;
928
+ var ft = C.ReactCurrentOwner, en = C.ReactDebugCurrentFrame;
929
929
  function Ee(d) {
930
930
  if (d) {
931
- var v = d._owner, w = qe(d.type, d._source, v ? v.type : null);
931
+ var v = d._owner, w = Ve(d.type, d._source, v ? v.type : null);
932
932
  en.setExtraStackFrame(w);
933
933
  } else
934
934
  en.setExtraStackFrame(null);
935
935
  }
936
- var ht;
937
- ht = !1;
938
- function gt(d) {
936
+ var mt;
937
+ mt = !1;
938
+ function ht(d) {
939
939
  return typeof d == "object" && d !== null && d.$$typeof === t;
940
940
  }
941
941
  function tn() {
942
942
  {
943
- if (mt.current) {
944
- var d = N(mt.current.type);
943
+ if (ft.current) {
944
+ var d = N(ft.current.type);
945
945
  if (d)
946
946
  return `
947
947
 
@@ -976,25 +976,25 @@ Check the top-level render call using <` + w + ">.");
976
976
  return;
977
977
  nn[w] = !0;
978
978
  var L = "";
979
- d && d._owner && d._owner !== mt.current && (L = " It was passed a child from " + N(d._owner.type) + "."), Ee(d), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, L), Ee(null);
979
+ d && d._owner && d._owner !== ft.current && (L = " It was passed a child from " + N(d._owner.type) + "."), Ee(d), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, L), Ee(null);
980
980
  }
981
981
  }
982
982
  function rn(d, v) {
983
983
  {
984
984
  if (typeof d != "object")
985
985
  return;
986
- if (ut(d))
986
+ if (_t(d))
987
987
  for (var w = 0; w < d.length; w++) {
988
988
  var L = d[w];
989
- gt(L) && an(L, v);
989
+ ht(L) && an(L, v);
990
990
  }
991
- else if (gt(d))
991
+ else if (ht(d))
992
992
  d._store && (d._store.validated = !0);
993
993
  else if (d) {
994
994
  var z = x(d);
995
995
  if (typeof z == "function" && z !== d.entries)
996
996
  for (var G = z.call(d), P; !(P = G.next()).done; )
997
- gt(P.value) && an(P.value, v);
997
+ ht(P.value) && an(P.value, v);
998
998
  }
999
999
  }
1000
1000
  }
@@ -1015,8 +1015,8 @@ Check the top-level render call using <` + w + ">.");
1015
1015
  if (w) {
1016
1016
  var L = N(v);
1017
1017
  ha(w, d.props, "prop", L, d);
1018
- } else if (v.PropTypes !== void 0 && !ht) {
1019
- ht = !0;
1018
+ } else if (v.PropTypes !== void 0 && !mt) {
1019
+ mt = !0;
1020
1020
  var z = N(v);
1021
1021
  b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", z || "Unknown");
1022
1022
  }
@@ -1045,7 +1045,7 @@ Check the top-level render call using <` + w + ">.");
1045
1045
  var Q = Ea();
1046
1046
  Q ? $ += Q : $ += tn();
1047
1047
  var H;
1048
- d === null ? H = "null" : ut(d) ? H = "array" : d !== void 0 && d.$$typeof === t ? (H = "<" + (N(d.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : H = typeof d, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, $);
1048
+ d === null ? H = "null" : _t(d) ? H = "array" : d !== void 0 && d.$$typeof === t ? (H = "<" + (N(d.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : H = typeof d, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, $);
1049
1049
  }
1050
1050
  var V = Sa(d, v, w, z, G);
1051
1051
  if (V == null)
@@ -1054,7 +1054,7 @@ Check the top-level render call using <` + w + ">.");
1054
1054
  var oe = v.children;
1055
1055
  if (oe !== void 0)
1056
1056
  if (L)
1057
- if (ut(oe)) {
1057
+ if (_t(oe)) {
1058
1058
  for (var Re = 0; Re < oe.length; Re++)
1059
1059
  rn(oe[Re], d);
1060
1060
  Object.freeze && Object.freeze(oe);
@@ -1066,15 +1066,15 @@ Check the top-level render call using <` + w + ">.");
1066
1066
  if (Me.call(v, "key")) {
1067
1067
  var ke = N(d), ne = Object.keys(v).filter(function($a) {
1068
1068
  return $a !== "key";
1069
- }), pt = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
1070
- if (!sn[ke + pt]) {
1069
+ }), gt = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
1070
+ if (!sn[ke + gt]) {
1071
1071
  var Fa = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
1072
1072
  b(`A props object containing a "key" prop is being spread into JSX:
1073
1073
  let props = %s;
1074
1074
  <%s {...props} />
1075
1075
  React keys must be passed directly to JSX without using spread:
1076
1076
  let props = %s;
1077
- <%s key={someKey} {...props} />`, pt, ke, Fa, ke), sn[ke + pt] = !0;
1077
+ <%s key={someKey} {...props} />`, gt, ke, Fa, ke), sn[ke + gt] = !0;
1078
1078
  }
1079
1079
  }
1080
1080
  return d === r ? Na(V) : Da(V), V;
@@ -1090,8 +1090,8 @@ React keys must be passed directly to JSX without using spread:
1090
1090
  $e.Fragment = r, $e.jsx = Ma, $e.jsxs = La;
1091
1091
  }()), $e;
1092
1092
  }
1093
- process.env.NODE_ENV === "production" ? yt.exports = Yr() : yt.exports = Hr();
1094
- var a = yt.exports;
1093
+ process.env.NODE_ENV === "production" ? kt.exports = Yr() : kt.exports = Hr();
1094
+ var a = kt.exports;
1095
1095
  function qr(e, t) {
1096
1096
  t === void 0 ? (t = e, e = /* @__PURE__ */ new Date()) : e = new Date(e);
1097
1097
  let n = {
@@ -1682,7 +1682,7 @@ function Rs() {
1682
1682
  t(e.filter((r) => r.key !== n));
1683
1683
  }, e.length === 0 ? "" : /* @__PURE__ */ a.jsx("ul", { className: Es.notice, children: e.map((n) => n.item) });
1684
1684
  }
1685
- function Ue({ data: e }) {
1685
+ function Ke({ data: e }) {
1686
1686
  let [t, n] = m.useState("show");
1687
1687
  m.useEffect(() => {
1688
1688
  setTimeout(function() {
@@ -1717,23 +1717,23 @@ function Ue({ data: e }) {
1717
1717
  }
1718
1718
  function Ds(e) {
1719
1719
  let t = Date.now(), n = { key: t, ...e };
1720
- Ce.set({ item: /* @__PURE__ */ a.jsx(Ue, { data: n }, t), key: t });
1720
+ Ce.set({ item: /* @__PURE__ */ a.jsx(Ke, { data: n }, t), key: t });
1721
1721
  }
1722
1722
  function Ns(e) {
1723
1723
  let t = Date.now(), n = { key: t, text: e, type: "error" };
1724
- Ce.set({ item: /* @__PURE__ */ a.jsx(Ue, { data: n }, t), key: t });
1724
+ Ce.set({ item: /* @__PURE__ */ a.jsx(Ke, { data: n }, t), key: t });
1725
1725
  }
1726
1726
  function Is(e) {
1727
1727
  let t = Date.now(), n = { key: t, text: e, type: "success" };
1728
- Ce.set({ item: /* @__PURE__ */ a.jsx(Ue, { data: n }, t), key: t });
1728
+ Ce.set({ item: /* @__PURE__ */ a.jsx(Ke, { data: n }, t), key: t });
1729
1729
  }
1730
1730
  function Ts(e) {
1731
1731
  let t = Date.now(), n = { key: t, text: e, type: "remark" };
1732
- Ce.set({ item: /* @__PURE__ */ a.jsx(Ue, { data: n }, t), key: t });
1732
+ Ce.set({ item: /* @__PURE__ */ a.jsx(Ke, { data: n }, t), key: t });
1733
1733
  }
1734
1734
  function Ms(e) {
1735
1735
  let t = Date.now(), n = { key: t, text: e, type: "copy" };
1736
- Ce.set({ item: /* @__PURE__ */ a.jsx(Ue, { data: n }, t), key: t });
1736
+ Ce.set({ item: /* @__PURE__ */ a.jsx(Ke, { data: n }, t), key: t });
1737
1737
  }
1738
1738
  const ye = {};
1739
1739
  ye.error = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
@@ -1768,7 +1768,7 @@ ye.success = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "
1768
1768
  }
1769
1769
  )
1770
1770
  ] });
1771
- const Ls = "_alerts_1pds5_1", Fs = "_menuAnimation_1pds5_1", $s = "_menuItemAnimation_1pds5_1", Bs = "_allert_1pds5_111", Ps = "_al_1pds5_1", bt = {
1771
+ const Ls = "_alerts_1pds5_1", Fs = "_menuAnimation_1pds5_1", $s = "_menuItemAnimation_1pds5_1", Bs = "_allert_1pds5_111", Ps = "_al_1pds5_1", yt = {
1772
1772
  alerts: Ls,
1773
1773
  menuAnimation: Fs,
1774
1774
  menuItemAnimation: $s,
@@ -1782,7 +1782,7 @@ function Os() {
1782
1782
  let [e, t] = m.useState("");
1783
1783
  return Ae.set = (n) => t(n), Ae.del = () => t(""), /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
1784
1784
  }
1785
- const As = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: bt.alerts, children: [
1785
+ const As = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: yt.alerts, children: [
1786
1786
  /* @__PURE__ */ a.jsxs("dl", { children: [
1787
1787
  /* @__PURE__ */ a.jsx("dt", { children: e.title }),
1788
1788
  /* @__PURE__ */ a.jsx("dd", { children: e.text }),
@@ -1800,7 +1800,7 @@ const As = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === voi
1800
1800
  /* @__PURE__ */ a.jsx(
1801
1801
  "div",
1802
1802
  {
1803
- className: bt["--body"],
1803
+ className: yt["--body"],
1804
1804
  onClick: () => {
1805
1805
  n == null || n(), Ae.del();
1806
1806
  }
@@ -1815,7 +1815,7 @@ function zs(e, t, n) {
1815
1815
  const Ne = { Send: Ds, Error: Ns, Remark: Ts, Success: Is, Copy: Ms }, Pe = {
1816
1816
  Path: dr,
1817
1817
  setPage: er,
1818
- getPage: nt,
1818
+ getPage: Mt,
1819
1819
  usePage: Qa,
1820
1820
  isPage: tr,
1821
1821
  setModule: ar,
@@ -1823,7 +1823,7 @@ const Ne = { Send: Ds, Error: Ns, Remark: Ts, Success: Is, Copy: Ms }, Pe = {
1823
1823
  useModule: nr,
1824
1824
  isModule: rr,
1825
1825
  setTabs: Sn,
1826
- getTabs: rt,
1826
+ getTabs: Ge,
1827
1827
  useTabs: wn,
1828
1828
  isTabs: sr,
1829
1829
  useId: ir,
@@ -1912,7 +1912,7 @@ function Us() {
1912
1912
  const Ks = "_n_euuvm_1", Ws = {
1913
1913
  n: Ks
1914
1914
  };
1915
- let Ke = {}, Be = [];
1915
+ let We = {}, Be = [];
1916
1916
  const Ys = (e, t) => {
1917
1917
  switch (t.type) {
1918
1918
  case "open":
@@ -1954,7 +1954,7 @@ const Ys = (e, t) => {
1954
1954
  r = { ...e.take, ...r }, e.active = !1;
1955
1955
  for (let s in r)
1956
1956
  r[s] !== "999" && (e.active = !0);
1957
- return Ke.get(r, e.active), {
1957
+ return We.get(r, e.active), {
1958
1958
  ...e,
1959
1959
  take: r,
1960
1960
  active: e.active
@@ -1966,16 +1966,16 @@ const Ys = (e, t) => {
1966
1966
  }
1967
1967
  };
1968
1968
  function Hs(e) {
1969
- Ke.fn({ action: "add", data: e });
1969
+ We.fn({ action: "add", data: e });
1970
1970
  }
1971
1971
  function qs(e) {
1972
- Ke.fn({ action: "add", data: e });
1972
+ We.fn({ action: "add", data: e });
1973
1973
  }
1974
1974
  function Vs(e) {
1975
- Ke.fn({ action: "new", data: e });
1975
+ We.fn({ action: "new", data: e });
1976
1976
  }
1977
1977
  function Js(e) {
1978
- Ke.fn = e;
1978
+ We.fn = e;
1979
1979
  }
1980
1980
  function Xs() {
1981
1981
  const [e, t] = m.useReducer(Ys, {
@@ -2112,7 +2112,7 @@ function ni(e) {
2112
2112
  t[s.id] = { s: s.v, n: s.a }, n[s.id] = s;
2113
2113
  });
2114
2114
  let r = { ...ge(), 901: t };
2115
- Nn(n), Ge(r);
2115
+ Nn(n), Ze(r);
2116
2116
  }
2117
2117
  function ai() {
2118
2118
  let e = In(), t = {};
@@ -2120,7 +2120,7 @@ function ai() {
2120
2120
  t[e[n].id] = {}, t[e[n].id].name = e[n].a;
2121
2121
  }), t;
2122
2122
  }
2123
- let de = {}, X = {}, Je = [
2123
+ let de = {}, X = {}, Xe = [
2124
2124
  "filter",
2125
2125
  "online",
2126
2126
  "users",
@@ -2135,8 +2135,8 @@ function ri() {
2135
2135
  function s(i) {
2136
2136
  const o = new ti();
2137
2137
  de.laodData = (l) => {
2138
- let c = Je.indexOf(l);
2139
- c >= 0 && Je.splice(c, 1), Je.length === 0 && t(!0);
2138
+ let c = Xe.indexOf(l);
2139
+ c >= 0 && Xe.splice(c, 1), Xe.length === 0 && t(!0);
2140
2140
  }, de.send = (l) => {
2141
2141
  o.port.postMessage({ type: "send", json: l });
2142
2142
  }, o.port.onmessage = (l) => {
@@ -2144,12 +2144,12 @@ function ri() {
2144
2144
  c.type === "error" && r(!0), c.type === "true" && t(!0), c.type === "closed" && o.port.postMessage({
2145
2145
  type: "connect",
2146
2146
  ukey: i,
2147
- lk: jt()
2148
- }), Je.length !== 0 && de.laodData(c.type), X[c.type] && X[c.type](c);
2147
+ lk: Ct()
2148
+ }), Xe.length !== 0 && de.laodData(c.type), X[c.type] && X[c.type](c);
2149
2149
  }, o.port.postMessage({
2150
2150
  type: "connect",
2151
2151
  ukey: i,
2152
- lk: jt()
2152
+ lk: Ct()
2153
2153
  });
2154
2154
  }
2155
2155
  return [s, e, n];
@@ -2164,7 +2164,7 @@ X.info = (e) => {
2164
2164
  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"), Tn(t), Rn(e.data.menu);
2165
2165
  };
2166
2166
  X.version = async (e) => {
2167
- it.version.Server(e.data);
2167
+ st.version.Server(e.data);
2168
2168
  };
2169
2169
  X.online = async (e) => {
2170
2170
  };
@@ -2201,7 +2201,7 @@ X.users = (e) => {
2201
2201
  };
2202
2202
  });
2203
2203
  let n = { ...ge(), user: t };
2204
- Ge(n);
2204
+ Ze(n);
2205
2205
  };
2206
2206
  X.api = (e) => {
2207
2207
  let t = {};
@@ -2216,13 +2216,13 @@ X.select = (e) => {
2216
2216
  let t = { ...ge() };
2217
2217
  e.data.forEach((n) => {
2218
2218
  t[n.n] = JSON.parse(n.s);
2219
- }), Ge(t);
2219
+ }), Ze(t);
2220
2220
  };
2221
2221
  X.job = (e) => {
2222
2222
  let t = { ...ge() }, n = {};
2223
2223
  Object.keys(e.data).forEach((r) => {
2224
2224
  n[r] = { s: 1, n: e.data[r] };
2225
- }), t[1] = n, Ge(t);
2225
+ }), t[1] = n, Ze(t);
2226
2226
  };
2227
2227
  X.setting = (e) => {
2228
2228
  _r(e.data);
@@ -2293,7 +2293,7 @@ function Bi({ children: e }) {
2293
2293
  function Pi({ children: e }) {
2294
2294
  return /* @__PURE__ */ a.jsx("div", { className: ee.g, children: e });
2295
2295
  }
2296
- const Oi = "_btn_1d6a6_6", Ai = "_confirm_1d6a6_20", zi = "_cancel_1d6a6_25", Gi = "_disabled_1d6a6_30", Zi = "_m_1d6a6_44", Ui = "_l_1d6a6_48", Xe = {
2296
+ const Oi = "_btn_1d6a6_6", Ai = "_confirm_1d6a6_20", zi = "_cancel_1d6a6_25", Gi = "_disabled_1d6a6_30", Zi = "_m_1d6a6_44", Ui = "_l_1d6a6_48", Qe = {
2297
2297
  btn: Oi,
2298
2298
  confirm: Ai,
2299
2299
  cancel: zi,
@@ -2322,9 +2322,9 @@ function Ki({
2322
2322
  {
2323
2323
  ref: l,
2324
2324
  className: [
2325
- Xe.btn,
2326
- c ? Xe.disabled : Xe[r],
2327
- n && Xe[n],
2325
+ Qe.btn,
2326
+ c ? Qe.disabled : Qe[r],
2327
+ n && Qe[n],
2328
2328
  i
2329
2329
  ].join(" "),
2330
2330
  onClick: u,
@@ -2442,20 +2442,20 @@ function Vi(e) {
2442
2442
  function Ji({ type: e, name: t, params: n }) {
2443
2443
  let [r, s] = m.useState(null);
2444
2444
  return m.useEffect(() => {
2445
- st(`${e}/modal/${t}.tsx`).then((i) => {
2445
+ rt(`${e}/modal/${t}.tsx`).then((i) => {
2446
2446
  s(i.default.Icon(n));
2447
2447
  });
2448
2448
  }, [n.id]), /* @__PURE__ */ a.jsx(a.Fragment, { children: r });
2449
2449
  }
2450
2450
  function Xi(e, t, n) {
2451
- st(`${e}/modal/${t}.tsx`).then((r) => {
2451
+ rt(`${e}/modal/${t}.tsx`).then((r) => {
2452
2452
  r.default.Open(n);
2453
2453
  });
2454
2454
  }
2455
2455
  function Qi(e) {
2456
2456
  at.x(e);
2457
2457
  }
2458
- const ot = {
2458
+ const it = {
2459
2459
  List: li,
2460
2460
  Scroll: Fi,
2461
2461
  Main: Yi,
@@ -2478,7 +2478,7 @@ function $n({ text: e, type: t, button: n }) {
2478
2478
  return r ? void 0 : (s(!0), n.onSend(s));
2479
2479
  }
2480
2480
  };
2481
- return /* @__PURE__ */ a.jsxs("div", { className: bt.al, ...i, children: [
2481
+ return /* @__PURE__ */ a.jsxs("div", { className: yt.al, ...i, children: [
2482
2482
  /* @__PURE__ */ a.jsx(
2483
2483
  "svg",
2484
2484
  {
@@ -2639,7 +2639,7 @@ const go = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2639
2639
  }) => {
2640
2640
  t = t || "Файлы";
2641
2641
  const [s, i] = m.useReducer(Co, {}, jo), o = () => {
2642
- ot.Add(
2642
+ it.Add(
2643
2643
  /* @__PURE__ */ a.jsx(
2644
2644
  bo,
2645
2645
  {
@@ -2711,7 +2711,7 @@ const go = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2711
2711
  "div",
2712
2712
  {
2713
2713
  className: "modal o ",
2714
- onClick: ot.Shake,
2714
+ onClick: it.Shake,
2715
2715
  children: /* @__PURE__ */ a.jsxs("div", { className: "b", children: [
2716
2716
  /* @__PURE__ */ a.jsx("div", { className: "h", children: "Загрузка файлов" }),
2717
2717
  /* @__PURE__ */ a.jsx(
@@ -2804,7 +2804,7 @@ const So = () => {
2804
2804
  i.forEach((l, c) => {
2805
2805
  o.push({
2806
2806
  item: /* @__PURE__ */ a.jsx(
2807
- wt,
2807
+ bt,
2808
2808
  {
2809
2809
  data: Y.list[l]
2810
2810
  },
@@ -2821,7 +2821,7 @@ const So = () => {
2821
2821
  }, Y.set = (i) => {
2822
2822
  t([
2823
2823
  ...e,
2824
- { item: /* @__PURE__ */ a.jsx(wt, { data: i }, i.id), link: i.link }
2824
+ { item: /* @__PURE__ */ a.jsx(bt, { data: i }, i.id), link: i.link }
2825
2825
  ]);
2826
2826
  }, Y.del = (i) => {
2827
2827
  e.forEach((o, l) => {
@@ -2852,7 +2852,7 @@ const So = () => {
2852
2852
  onClick: o
2853
2853
  }
2854
2854
  ) : "" });
2855
- }, wt = ({ data: e }) => {
2855
+ }, bt = ({ data: e }) => {
2856
2856
  let t = (r) => {
2857
2857
  r.preventDefault(), delete Y.list[e.link], Y.del(e.link);
2858
2858
  }, n = () => {
@@ -2861,7 +2861,7 @@ const So = () => {
2861
2861
  return /* @__PURE__ */ a.jsx("span", { onContextMenu: t, onClick: n, children: e.name });
2862
2862
  }, Ro = (e) => {
2863
2863
  Y.active(e);
2864
- }, K = {}, St = {}, E = {};
2864
+ }, K = {}, wt = {}, E = {};
2865
2865
  E.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
2866
2866
  E.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
2867
2867
  E.other = [];
@@ -2915,10 +2915,10 @@ K.start = async (e) => {
2915
2915
  }, e();
2916
2916
  };
2917
2917
  K.useListener = (e) => {
2918
- St.rtc = e;
2918
+ wt.rtc = e;
2919
2919
  };
2920
2920
  K.setListener = (e) => {
2921
- St.rtc && St.rtc(e);
2921
+ wt.rtc && wt.rtc(e);
2922
2922
  };
2923
2923
  K.callTo = async (e) => {
2924
2924
  K.start(async () => {
@@ -3127,18 +3127,18 @@ function Io({ id: e, type: t }) {
3127
3127
  /* @__PURE__ */ a.jsx("div", { className: "b", children: o() })
3128
3128
  ] }) });
3129
3129
  }
3130
- const Et = {};
3130
+ const St = {};
3131
3131
  function To(e) {
3132
- Et.add(e);
3132
+ St.add(e);
3133
3133
  }
3134
3134
  function Mo({ color: e, size: t, name: n }) {
3135
3135
  return /* @__PURE__ */ a.jsx("svg", { width: t, height: t, color: e, children: /* @__PURE__ */ a.jsx("use", { href: `#${n}` }) });
3136
3136
  }
3137
3137
  function Lo() {
3138
3138
  let [e, t] = m.useState([]);
3139
- if (Et.x = () => {
3139
+ if (St.x = () => {
3140
3140
  t([]);
3141
- }, Et.add = (r) => {
3141
+ }, St.add = (r) => {
3142
3142
  t(r);
3143
3143
  }, e.length === 0) return "";
3144
3144
  const n = { sprite: "" };
@@ -3154,7 +3154,7 @@ function Lo() {
3154
3154
  s
3155
3155
  )) });
3156
3156
  }
3157
- let Qe = {}, Bn = {};
3157
+ let et = {}, Bn = {};
3158
3158
  const Fo = (e) => {
3159
3159
  Bn = e;
3160
3160
  }, Pn = Oa(
@@ -3163,16 +3163,16 @@ const Fo = (e) => {
3163
3163
  const [t, n] = m.useState(
3164
3164
  localStorage.getItem("lang") || navigator.language
3165
3165
  );
3166
- return Qe.update = n, /* @__PURE__ */ a.jsx(Pn.Provider, { value: Bn[t], children: e });
3166
+ return et.update = n, /* @__PURE__ */ a.jsx(Pn.Provider, { value: Bn[t], children: e });
3167
3167
  }, Bo = (e) => {
3168
3168
  var t;
3169
- localStorage.setItem("lang", e), (t = Qe.update) == null || t.call(Qe, e);
3170
- }, Po = () => Aa(Pn), Oo = () => localStorage.getItem("lang") || navigator.language, Rt = {};
3169
+ localStorage.setItem("lang", e), (t = et.update) == null || t.call(et, e);
3170
+ }, Po = () => Aa(Pn), Oo = () => localStorage.getItem("lang") || navigator.language, Et = {};
3171
3171
  function $t(e, t) {
3172
- Rt[e] = t;
3172
+ Et[e] = t;
3173
3173
  }
3174
3174
  function Ao(e, t) {
3175
- Rt[e] !== void 0 && Rt[e](t);
3175
+ Et[e] !== void 0 && Et[e](t);
3176
3176
  }
3177
3177
  const ve = {};
3178
3178
  function zo(e, t) {
@@ -3345,7 +3345,7 @@ function An({ list: e, onClick: t, active: n, size: r, view: s }) {
3345
3345
  }
3346
3346
  const hl = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t });
3347
3347
  An.defaultProps = { size: "M", view: "H" };
3348
- const Xc = { Section: tl, Main: rl, Item: ml, Tabs: An }, Qc = { Icon: Eo, Item: wt, Active: Ro }, ed = { Send: zs, Line: $n };
3348
+ const Xc = { Section: tl, Main: rl, Item: ml, Tabs: An }, Qc = { Icon: Eo, Item: bt, Active: Ro }, ed = { Send: zs, Line: $n };
3349
3349
  function gl() {
3350
3350
  return /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ a.jsx(
3351
3351
  "path",
@@ -3355,12 +3355,12 @@ function gl() {
3355
3355
  }
3356
3356
  ) });
3357
3357
  }
3358
- let Dt = {};
3358
+ let Rt = {};
3359
3359
  function pl(e) {
3360
- Dt = { ...Dt, ...e };
3360
+ Rt = { ...Rt, ...e };
3361
3361
  }
3362
3362
  function vn() {
3363
- return Dt;
3363
+ return Rt;
3364
3364
  }
3365
3365
  function xl({ name: e, hover: t, onClick: n }) {
3366
3366
  const r = {};
@@ -3369,12 +3369,12 @@ function xl({ name: e, hover: t, onClick: n }) {
3369
3369
  const td = { Logo: gl, Sprite: To, set: pl, Symbol: Mo, Default: xl }, vl = "_sort_1yrvt_1", Cl = {
3370
3370
  sort: vl
3371
3371
  };
3372
- let lt = {};
3372
+ let ot = {};
3373
3373
  function jl(e, t) {
3374
3374
  switch (t.type) {
3375
3375
  case "active":
3376
3376
  let n = "<";
3377
- return e.active === t.data && (n = e.sort === "<" ? ">" : "<"), lt.get({ active: t.data, sort: n }, !1), Dn({ active: t.data, sort: n }), {
3377
+ return e.active === t.data && (n = e.sort === "<" ? ">" : "<"), ot.get({ active: t.data, sort: n }, !1), Dn({ active: t.data, sort: n }), {
3378
3378
  ...e,
3379
3379
  active: t.data,
3380
3380
  sort: n
@@ -3386,7 +3386,7 @@ function jl(e, t) {
3386
3386
  function kl() {
3387
3387
  const [e, t] = m.useReducer(
3388
3388
  jl,
3389
- kt() === void 0 ? { active: 1, sort: "<" } : kt()
3389
+ jt() === void 0 ? { active: 1, sort: "<" } : jt()
3390
3390
  );
3391
3391
  return /* @__PURE__ */ a.jsxs("div", { className: Cl.sort, children: [
3392
3392
  /* @__PURE__ */ a.jsx(
@@ -3416,10 +3416,10 @@ function kl() {
3416
3416
  ] });
3417
3417
  }
3418
3418
  function yl(e) {
3419
- lt.get = e;
3419
+ ot.get = e;
3420
3420
  }
3421
3421
  function bl(e) {
3422
- lt.set(e);
3422
+ ot.set(e);
3423
3423
  }
3424
3424
  function wl(e, t, n) {
3425
3425
  let r = 1, s = 0, i = {}, o = 50;
@@ -3441,31 +3441,31 @@ function wl(e, t, n) {
3441
3441
  }), { data: i };
3442
3442
  }
3443
3443
  function Sl(e) {
3444
- lt.count(e);
3444
+ ot.count(e);
3445
3445
  }
3446
- const nd = { Init: kl, useValue: yl, Set: bl, Run: wl, Count: Sl }, et = {}, zn = {};
3446
+ const nd = { Init: kl, useValue: yl, Set: bl, Run: wl, Count: Sl }, tt = {}, zn = {};
3447
3447
  function El(e) {
3448
3448
  const [t, n] = m.useState({}), r = async (s) => {
3449
3449
  n(
3450
- Object.keys(et).reduce((i, o) => (i ? i[o] = et[o].all : i = {}, i), {})
3450
+ Object.keys(tt).reduce((i, o) => (i ? i[o] = tt[o].all : i = {}, i), {})
3451
3451
  );
3452
3452
  };
3453
3453
  return m.useEffect(() => {
3454
- e.forEach((s) => et[s] = { all: 0 }), zn.menu = r, r();
3454
+ e.forEach((s) => tt[s] = { all: 0 }), zn.menu = r, r();
3455
3455
  }, [e]), t;
3456
3456
  }
3457
3457
  function Rl(e, t) {
3458
3458
  switch (typeof t) {
3459
3459
  case "number":
3460
- et[e].all += t, zn.menu();
3460
+ tt[e].all += t, zn.menu();
3461
3461
  break;
3462
3462
  }
3463
3463
  }
3464
3464
  const ad = { useMenu: El, setUpdate: Rl };
3465
3465
  class Dl {
3466
3466
  constructor(t = "el", n = "db") {
3467
- xt(this, "storeName");
3468
- xt(this, "_dbp");
3467
+ pt(this, "storeName");
3468
+ pt(this, "_dbp");
3469
3469
  this.storeName = n, this._dbp = new Promise((r, s) => {
3470
3470
  const i = indexedDB.open(t, 1);
3471
3471
  i.onerror = () => s(i.error), i.onsuccess = () => r(i.result), i.onupgradeneeded = () => {
@@ -3482,8 +3482,8 @@ class Dl {
3482
3482
  );
3483
3483
  }
3484
3484
  }
3485
- let vt, q = {};
3486
- const Ie = () => (vt || (vt = new Dl()), vt), je = (e, t, n = Ie()) => n._withIDBStore("readwrite", (r) => {
3485
+ let xt, q = {};
3486
+ const Ie = () => (xt || (xt = new Dl()), xt), je = (e, t, n = Ie()) => n._withIDBStore("readwrite", (r) => {
3487
3487
  q[e] = t, r.put(B.enCode(t), e);
3488
3488
  }), me = (e, t = Ie()) => q[e] === void 0 ? new Promise((n, r) => {
3489
3489
  let s;
@@ -3498,7 +3498,7 @@ const Ie = () => (vt || (vt = new Dl()), vt), je = (e, t, n = Ie()) => n._withID
3498
3498
  });
3499
3499
  }) : q[e], Nl = (e, t = Ie()) => t._withIDBStore("readwrite", (n) => {
3500
3500
  n.delete(e);
3501
- }), Nt = (e = Ie()) => e._withIDBStore("readwrite", (t) => {
3501
+ }), Dt = (e = Ie()) => e._withIDBStore("readwrite", (t) => {
3502
3502
  t.clear();
3503
3503
  }), Il = (e = Ie()) => {
3504
3504
  const t = [];
@@ -3518,7 +3518,7 @@ const Ie = () => (vt || (vt = new Dl()), vt), je = (e, t, n = Ie()) => n._withID
3518
3518
  h[x] = t[p][x];
3519
3519
  });
3520
3520
  for (let x in o)
3521
- t[p][o[x]] === void 0 && (Nt(), location.reload()), x === "s1" && (h[x] = new Date(t[p][o[x]]).getTime()), x === "s2" && (h[x] = t[p][o[x]]), x === "s3" && (h[x] = t[p][o[x]].replace(/[^a-zа-яё]/gi, "").substring(0, 1));
3521
+ t[p][o[x]] === void 0 && (Dt(), location.reload()), x === "s1" && (h[x] = new Date(t[p][o[x]]).getTime()), x === "s2" && (h[x] = t[p][o[x]]), x === "s3" && (h[x] = t[p][o[x]].replace(/[^a-zа-яё]/gi, "").substring(0, 1));
3522
3522
  i.push({ id: p, text: j, ...h });
3523
3523
  } else
3524
3524
  i.push({ id: p, text: j });
@@ -3527,7 +3527,7 @@ const Ie = () => (vt || (vt = new Dl()), vt), je = (e, t, n = Ie()) => n._withID
3527
3527
  return _.forEach((p) => {
3528
3528
  u.push(t[p]);
3529
3529
  }), u.forEach((p) => {
3530
- p === void 0 ? (Nt(), location.reload()) : (s && g(p.id), l && f(p.id));
3530
+ p === void 0 ? (Dt(), location.reload()) : (s && g(p.id), l && f(p.id));
3531
3531
  }), { list: u, search: i, filter: r };
3532
3532
  }, Ml = (e, t, n, r = Ie()) => {
3533
3533
  if (q[e] === void 0)
@@ -3583,7 +3583,7 @@ const Ie = () => (vt || (vt = new Dl()), vt), je = (e, t, n = Ie()) => n._withID
3583
3583
  key: Il,
3584
3584
  load: Al,
3585
3585
  split: Tl,
3586
- clear: Nt,
3586
+ clear: Dt,
3587
3587
  updAll: Fl,
3588
3588
  delAll: $l,
3589
3589
  delList: Bl,
@@ -4254,7 +4254,7 @@ function Pt({
4254
4254
  let [x, C] = m.useState(e), b = (k) => {
4255
4255
  if (!(l && _) || !f) return;
4256
4256
  let S = f.split(".");
4257
- ot.Open(S[0], S[1], {
4257
+ it.Open(S[0], S[1], {
4258
4258
  callback: (R) => {
4259
4259
  t && t({ value: R, name: n }), C(R);
4260
4260
  },
@@ -4617,7 +4617,7 @@ function Xn({
4617
4617
  o ? /* @__PURE__ */ a.jsx("em", { children: o }) : ""
4618
4618
  ] });
4619
4619
  }
4620
- const Ct = {
4620
+ const vt = {
4621
4621
  0: {
4622
4622
  name: "Heard Island and Mcdonald Islands",
4623
4623
  dial_code: "+0",
@@ -6029,7 +6029,7 @@ function zt({
6029
6029
  W === "" && (x = !0);
6030
6030
  let te = W.split(""), re = "";
6031
6031
  te.forEach((Te) => {
6032
- x && (re += Te, Ct[re] !== void 0 && x ? (x = !1, h = Ct[re].mask.replace(new RegExp("[0-9]", "g"), "_"), F = Ct[re].code) : (x && (C = ("" + re).length, h = `+${re}_(___) ___-__-__`.replace(
6032
+ x && (re += Te, vt[re] !== void 0 && x ? (x = !1, h = vt[re].mask.replace(new RegExp("[0-9]", "g"), "_"), F = vt[re].code) : (x && (C = ("" + re).length, h = `+${re}_(___) ___-__-__`.replace(
6033
6033
  new RegExp("[0-9]", "g"),
6034
6034
  "_"
6035
6035
  ), F = ""), C > ("" + re).length && (x = !0, h = `+${re}_(___) ___-__-__`.replace(
@@ -6303,7 +6303,7 @@ const nc = ({ onValue: e, parent: t, view: n, options: r }) => {
6303
6303
  )
6304
6304
  ] }) : "" });
6305
6305
  };
6306
- function It({
6306
+ function Nt({
6307
6307
  set: e,
6308
6308
  value: t,
6309
6309
  onValue: n,
@@ -6889,7 +6889,7 @@ function sa({
6889
6889
  const [x, C] = m.useState(sc(e)), b = (k) => {
6890
6890
  if (!(l && _) || !f) return;
6891
6891
  let S = f.split(".");
6892
- ot.Open(S[0], S[1], {
6892
+ it.Open(S[0], S[1], {
6893
6893
  callback: (R) => {
6894
6894
  t && t({ value: R, name: n }), C(R);
6895
6895
  },
@@ -7070,12 +7070,12 @@ const od = {
7070
7070
  Phone: zt,
7071
7071
  Search: Qn,
7072
7072
  Select: Gt,
7073
- Set: It,
7073
+ Set: Nt,
7074
7074
  Textarea: ea,
7075
7075
  Time: ta,
7076
7076
  Users: Zt,
7077
7077
  String: ze,
7078
- Form: It,
7078
+ Form: Nt,
7079
7079
  runReload: _c,
7080
7080
  useData: cc,
7081
7081
  setValue: dc,
@@ -7114,8 +7114,8 @@ function uc({
7114
7114
  let F = 0, W = "", te = N.replace(/\D/g, "");
7115
7115
  te === "" && (C = !0);
7116
7116
  let re = te.split(""), he = "";
7117
- re.forEach((We) => {
7118
- C && (he += We, C && (b = ("" + he).length, x = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""), b > ("" + he).length && (C = !0, x = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""));
7117
+ re.forEach((Ye) => {
7118
+ C && (he += Ye, C && (b = ("" + he).length, x = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""), b > ("" + he).length && (C = !0, x = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""));
7119
7119
  });
7120
7120
  let Se = x.replace(/\D/g, "");
7121
7121
  return Se.length >= te.length && (te = Se), { q: x.replace(/[_\d]/g, function() {
@@ -7182,7 +7182,7 @@ const ld = {
7182
7182
  Phone: zt,
7183
7183
  Search: Qn,
7184
7184
  Select: Gt,
7185
- Set: It,
7185
+ Set: Nt,
7186
7186
  Textarea: ea,
7187
7187
  Time: ta,
7188
7188
  Users: Zt,
@@ -7222,7 +7222,7 @@ const cd = { Spinner: gc, Inline: pc }, xc = function({
7222
7222
  loading: l
7223
7223
  }) {
7224
7224
  const [c] = wn(
7225
- i.map((g) => g.id).includes(nt()) ? nt() : s
7225
+ i.map((g) => g.id).includes(Ge()) ? Mt() : s
7226
7226
  ), [_, u] = m.useState(!1);
7227
7227
  return m.useEffect(() => {
7228
7228
  u(!0);
@@ -7238,7 +7238,7 @@ const cd = { Spinner: gc, Inline: pc }, xc = function({
7238
7238
  ] });
7239
7239
  };
7240
7240
  let vc = ({ m: e, t, loading: n }) => {
7241
- const r = m.lazy(() => st(e + "/pages/" + t + ".tsx"));
7241
+ const r = m.lazy(() => rt(e + "/pages/" + t + ".tsx"));
7242
7242
  return /* @__PURE__ */ a.jsx(m.Suspense, { fallback: n, children: /* @__PURE__ */ a.jsx(r, {}) });
7243
7243
  }, Cc = ({ button: e }) => {
7244
7244
  const [t, n] = m.useState(e);
@@ -7623,12 +7623,12 @@ function Gc(e, t) {
7623
7623
  throw new Error();
7624
7624
  }
7625
7625
  }
7626
- const Tt = {};
7626
+ const It = {};
7627
7627
  function Zc(e) {
7628
- Tt.get = e;
7628
+ It.get = e;
7629
7629
  }
7630
7630
  function Uc(e) {
7631
- Tt.get && Tt.get(e);
7631
+ It.get && It.get(e);
7632
7632
  }
7633
7633
  const hd = { View: zc, Reducer: Gc, useValue: Zc, setValue: Uc }, gd = {
7634
7634
  addDictionary: Fo,
@@ -7658,7 +7658,7 @@ const hd = { View: zc, Reducer: Gc, useValue: Zc, setValue: Uc }, gd = {
7658
7658
  ] });
7659
7659
  };
7660
7660
  let Kc = ({ modules: e, t }) => {
7661
- const n = m.lazy(() => st(e + "/pages/" + t + ".tsx"));
7661
+ const n = m.lazy(() => rt(e + "/pages/" + t + ".tsx"));
7662
7662
  return /* @__PURE__ */ a.jsx(m.Suspense, { fallback: "", children: /* @__PURE__ */ a.jsx(n, {}) });
7663
7663
  }, Wc = ({ button: e }) => {
7664
7664
  const [t, n] = m.useState(e);
@@ -7718,7 +7718,7 @@ export {
7718
7718
  dd as Layout,
7719
7719
  hd as List,
7720
7720
  cd as Loading,
7721
- ot as Modal,
7721
+ it as Modal,
7722
7722
  Ne as Notice,
7723
7723
  fd as Notifications,
7724
7724
  md as Pagination,
@@ -7727,7 +7727,7 @@ export {
7727
7727
  Yl as Scrolling,
7728
7728
  _d as Search,
7729
7729
  Xc as Setting,
7730
- it as Sistym,
7730
+ st as Sistym,
7731
7731
  pe as Socket,
7732
7732
  se as Store,
7733
7733
  Cd as Switch,