elcrm 0.9.173 → 0.9.174

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,6 +1,6 @@
1
1
  import './index.css';var Ya = Object.defineProperty;
2
2
  var Ha = (e, t, a) => t in e ? Ya(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
- var pt = (e, t, a) => Ha(e, typeof t != "symbol" ? t + "" : t, a);
3
+ var gt = (e, t, a) => Ha(e, typeof t != "symbol" ? t + "" : t, a);
4
4
  import g, { createContext as Ln, useContext as qa, createElement as Mn } from "react";
5
5
  const Bn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57dHJ5e2EuZGF0YS5ob3N0W2EuZGF0YS5ob3N0Lmxlbmd0aC0xXSE9PSIvIiYmKGEuZGF0YS5ob3N0Kz0iLyIpLGEuZGF0YS5saW5rWzBdPT0iLyImJihhLmRhdGEubGluaz1hLmRhdGEubGluay5zdWJzdHJpbmcoMSkpO2xldCB0PWF3YWl0IGZldGNoKGAke2EuZGF0YS5ob3N0fSR7YS5kYXRhLmxpbmt9YCx7bWV0aG9kOiJQT1NUIixoZWFkZXJzOnsiQ29udGVudC10eXBlIjoiYXBwbGljYXRpb24vanNvbjtjaGFyc2V0PXV0Zi04IiwuLi5hLmRhdGEuc3NpZD97c3NpZDphLmRhdGEuc3NpZH06e319LGJvZHk6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=", Ja = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), cn = typeof self < "u" && self.Blob && new Blob([Ja(Bn)], { type: "text/javascript;charset=utf-8" });
6
6
  function dn(e) {
@@ -58,17 +58,17 @@ const nr = () => window.crypto.getRandomValues(new Uint8Array(12)), ar = async (
58
58
  iv: r
59
59
  };
60
60
  }, _n = (e) => window.btoa(String.fromCharCode.apply(null, new Uint8Array(e)));
61
- let gt = !1;
61
+ let xt = !1;
62
62
  const rr = (e) => new TextEncoder().encode(e);
63
63
  function un() {
64
64
  ["a", "b", "c", "d", "e", "m", "u", "s", "q", "p", "t", "w"].forEach(
65
65
  (e) => localStorage.removeItem(e)
66
66
  ), ["f"].forEach((e) => sessionStorage.removeItem(e)), window.history.replaceState({}, "", "/"), window.location.reload();
67
67
  }
68
- function xt() {
69
- if (gt) return gt;
68
+ function et() {
69
+ if (xt) return xt;
70
70
  let e = localStorage.getItem("d");
71
- return gt = e, e;
71
+ return xt = e, e;
72
72
  }
73
73
  var ze;
74
74
  ((e) => {
@@ -90,6 +90,7 @@ var ze;
90
90
  x.postMessage({
91
91
  link: c,
92
92
  data: _n(y) + _n(v),
93
+ ssid: et(),
93
94
  host: ye.url
94
95
  });
95
96
  } catch {
@@ -103,7 +104,7 @@ var ze;
103
104
  return ye.url + "/image" + c;
104
105
  }
105
106
  e.image = i;
106
- function o(c, m = {}, f = xt()) {
107
+ function o(c, m = {}, f = et()) {
107
108
  return new Promise((h) => {
108
109
  const x = new dn();
109
110
  x.onmessage = (p) => {
@@ -117,7 +118,7 @@ var ze;
117
118
  });
118
119
  }
119
120
  e.fetch = o;
120
- async function d(c, m = {}, f = xt()) {
121
+ async function d(c, m = {}, f = et()) {
121
122
  try {
122
123
  return await (await o(ye.url + c, {
123
124
  method: "POST",
@@ -131,7 +132,7 @@ var ze;
131
132
  }
132
133
  }
133
134
  e.formData = d;
134
- function l(c, m = {}, f = xt()) {
135
+ function l(c, m = {}, f = et()) {
135
136
  const [h, x] = g.useState({
136
137
  status: "load",
137
138
  data: {}
@@ -464,27 +465,27 @@ function mr() {
464
465
  W < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
465
466
  }
466
467
  }
467
- var ot = y.ReactCurrentDispatcher, lt;
468
+ var lt = y.ReactCurrentDispatcher, ct;
468
469
  function Je(u, b, T) {
469
470
  {
470
- if (lt === void 0)
471
+ if (ct === void 0)
471
472
  try {
472
473
  throw Error();
473
474
  } catch (U) {
474
475
  var P = U.stack.trim().match(/\n( *(at )?)/);
475
- lt = P && P[1] || "";
476
+ ct = P && P[1] || "";
476
477
  }
477
478
  return `
478
- ` + lt + u;
479
+ ` + ct + u;
479
480
  }
480
481
  }
481
- var ct = !1, Xe;
482
+ var dt = !1, Xe;
482
483
  {
483
484
  var ya = typeof WeakMap == "function" ? WeakMap : Map;
484
485
  Xe = new ya();
485
486
  }
486
487
  function Ht(u, b) {
487
- if (!u || ct)
488
+ if (!u || dt)
488
489
  return "";
489
490
  {
490
491
  var T = Xe.get(u);
@@ -492,11 +493,11 @@ function mr() {
492
493
  return T;
493
494
  }
494
495
  var P;
495
- ct = !0;
496
+ dt = !0;
496
497
  var U = Error.prepareStackTrace;
497
498
  Error.prepareStackTrace = void 0;
498
499
  var K;
499
- K = ot.current, ot.current = null, Ca();
500
+ K = lt.current, lt.current = null, Ca();
500
501
  try {
501
502
  if (b) {
502
503
  var G = function() {
@@ -549,7 +550,7 @@ function mr() {
549
550
  }
550
551
  }
551
552
  } finally {
552
- ct = !1, ot.current = K, ja(), Error.prepareStackTrace = U;
553
+ dt = !1, lt.current = K, ja(), Error.prepareStackTrace = U;
553
554
  }
554
555
  var Le = u ? u.displayName || u.name : "", Ee = Le ? Je(Le) : "";
555
556
  return typeof u == "function" && Xe.set(u, Ee), Ee;
@@ -618,7 +619,7 @@ function mr() {
618
619
  }
619
620
  }
620
621
  var Sa = Array.isArray;
621
- function dt(u) {
622
+ function _t(u) {
622
623
  return Sa(u);
623
624
  }
624
625
  function Ea(u) {
@@ -646,8 +647,8 @@ function mr() {
646
647
  ref: !0,
647
648
  __self: !0,
648
649
  __source: !0
649
- }, Qt, en, _t;
650
- _t = {};
650
+ }, Qt, en, ut;
651
+ ut = {};
651
652
  function Na(u) {
652
653
  if (Fe.call(u, "ref")) {
653
654
  var b = Object.getOwnPropertyDescriptor(u, "ref").get;
@@ -667,7 +668,7 @@ function mr() {
667
668
  function Ta(u, b) {
668
669
  if (typeof u.ref == "string" && Pe.current && b && Pe.current.stateNode !== b) {
669
670
  var T = w(Pe.current.type);
670
- _t[T] || (j('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', w(Pe.current.type), u.ref), _t[T] = !0);
671
+ ut[T] || (j('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', w(Pe.current.type), u.ref), ut[T] = !0);
671
672
  }
672
673
  }
673
674
  function La(u, b) {
@@ -739,7 +740,7 @@ function mr() {
739
740
  return Ba(u, O, te, U, P, Pe.current, G);
740
741
  }
741
742
  }
742
- var ut = y.ReactCurrentOwner, tn = y.ReactDebugCurrentFrame;
743
+ var ft = y.ReactCurrentOwner, tn = y.ReactDebugCurrentFrame;
743
744
  function Te(u) {
744
745
  if (u) {
745
746
  var b = u._owner, T = Ve(u.type, u._source, b ? b.type : null);
@@ -747,15 +748,15 @@ function mr() {
747
748
  } else
748
749
  tn.setExtraStackFrame(null);
749
750
  }
750
- var ft;
751
- ft = !1;
752
- function mt(u) {
751
+ var mt;
752
+ mt = !1;
753
+ function ht(u) {
753
754
  return typeof u == "object" && u !== null && u.$$typeof === t;
754
755
  }
755
756
  function nn() {
756
757
  {
757
- if (ut.current) {
758
- var u = w(ut.current.type);
758
+ if (ft.current) {
759
+ var u = w(ft.current.type);
759
760
  if (u)
760
761
  return `
761
762
 
@@ -790,25 +791,25 @@ Check the top-level render call using <` + T + ">.");
790
791
  return;
791
792
  an[T] = !0;
792
793
  var P = "";
793
- u && u._owner && u._owner !== ut.current && (P = " It was passed a child from " + w(u._owner.type) + "."), Te(u), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, P), Te(null);
794
+ u && u._owner && u._owner !== ft.current && (P = " It was passed a child from " + w(u._owner.type) + "."), Te(u), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, P), Te(null);
794
795
  }
795
796
  }
796
797
  function sn(u, b) {
797
798
  {
798
799
  if (typeof u != "object")
799
800
  return;
800
- if (dt(u))
801
+ if (_t(u))
801
802
  for (var T = 0; T < u.length; T++) {
802
803
  var P = u[T];
803
- mt(P) && rn(P, b);
804
+ ht(P) && rn(P, b);
804
805
  }
805
- else if (mt(u))
806
+ else if (ht(u))
806
807
  u._store && (u._store.validated = !0);
807
808
  else if (u) {
808
809
  var U = v(u);
809
810
  if (typeof U == "function" && U !== u.entries)
810
811
  for (var K = U.call(u), G; !(G = K.next()).done; )
811
- mt(G.value) && rn(G.value, b);
812
+ ht(G.value) && rn(G.value, b);
812
813
  }
813
814
  }
814
815
  }
@@ -829,8 +830,8 @@ Check the top-level render call using <` + T + ">.");
829
830
  if (T) {
830
831
  var P = w(b);
831
832
  ba(T, u.props, "prop", P, u);
832
- } else if (b.PropTypes !== void 0 && !ft) {
833
- ft = !0;
833
+ } else if (b.PropTypes !== void 0 && !mt) {
834
+ mt = !0;
834
835
  var U = w(b);
835
836
  j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", U || "Unknown");
836
837
  }
@@ -859,7 +860,7 @@ Check the top-level render call using <` + T + ">.");
859
860
  var te = Fa();
860
861
  te ? O += te : O += nn();
861
862
  var J;
862
- u === null ? J = "null" : dt(u) ? J = "array" : u !== void 0 && u.$$typeof === t ? (J = "<" + (w(u.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : J = typeof u, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", J, O);
863
+ u === null ? J = "null" : _t(u) ? J = "array" : u !== void 0 && u.$$typeof === t ? (J = "<" + (w(u.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : J = typeof u, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", J, O);
863
864
  }
864
865
  var V = $a(u, b, T, U, K);
865
866
  if (V == null)
@@ -868,7 +869,7 @@ Check the top-level render call using <` + T + ">.");
868
869
  var ce = b.children;
869
870
  if (ce !== void 0)
870
871
  if (P)
871
- if (dt(ce)) {
872
+ if (_t(ce)) {
872
873
  for (var Le = 0; Le < ce.length; Le++)
873
874
  sn(ce[Le], u);
874
875
  Object.freeze && Object.freeze(ce);
@@ -880,15 +881,15 @@ Check the top-level render call using <` + T + ">.");
880
881
  if (Fe.call(b, "key")) {
881
882
  var Ee = w(u), ae = Object.keys(b).filter(function(Ka) {
882
883
  return Ka !== "key";
883
- }), ht = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
884
- if (!on[Ee + ht]) {
884
+ }), pt = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
885
+ if (!on[Ee + pt]) {
885
886
  var za = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
886
887
  j(`A props object containing a "key" prop is being spread into JSX:
887
888
  let props = %s;
888
889
  <%s {...props} />
889
890
  React keys must be passed directly to JSX without using spread:
890
891
  let props = %s;
891
- <%s key={someKey} {...props} />`, ht, Ee, za, Ee), on[Ee + ht] = !0;
892
+ <%s key={someKey} {...props} />`, pt, Ee, za, Ee), on[Ee + pt] = !0;
892
893
  }
893
894
  }
894
895
  return u === r ? Oa(V) : Aa(V), V;
@@ -1200,10 +1201,10 @@ function cs(e) {
1200
1201
  function ds(e) {
1201
1202
  return e && (le.d = e), le.d;
1202
1203
  }
1203
- function rt(e) {
1204
+ function st(e) {
1204
1205
  return le.i(e);
1205
1206
  }
1206
- let et = {};
1207
+ let tt = {};
1207
1208
  function _s({ children: e }) {
1208
1209
  return /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
1209
1210
  }
@@ -1211,15 +1212,15 @@ var Ne;
1211
1212
  ((e) => {
1212
1213
  function t() {
1213
1214
  let [l, _] = g.useState([]);
1214
- return et.x = (c) => {
1215
+ return tt.x = (c) => {
1215
1216
  _(c ? l.filter((m) => m.key !== c) : []);
1216
- }, et.add = (c, m = Date.now()) => {
1217
+ }, tt.add = (c, m = Date.now()) => {
1217
1218
  _([...l, { key: m, item: c }]);
1218
1219
  }, /* @__PURE__ */ n.jsx(n.Fragment, { children: l.map((c) => c.item) });
1219
1220
  }
1220
1221
  e.Init = t, e.List = Ir, e.Scroll = ts, e.Form = ns, e.Center = as, e.Column = rs;
1221
1222
  function a(l, _, c) {
1222
- rt(`${l}/modal/${_}.tsx`).then((m) => {
1223
+ st(`${l}/modal/${_}.tsx`).then((m) => {
1223
1224
  m.default.Open(c);
1224
1225
  });
1225
1226
  }
@@ -1227,18 +1228,18 @@ var Ne;
1227
1228
  function r({ type: l, name: _, params: c }) {
1228
1229
  let [m, f] = g.useState(null);
1229
1230
  return g.useEffect(() => {
1230
- rt(`${l}/modal/${_}.tsx`).then((h) => {
1231
+ st(`${l}/modal/${_}.tsx`).then((h) => {
1231
1232
  f(h.default.Icon(c));
1232
1233
  });
1233
1234
  }, [c.id]), /* @__PURE__ */ n.jsx(n.Fragment, { children: m });
1234
1235
  }
1235
1236
  e.Icon = r;
1236
1237
  function s(l, _) {
1237
- et.add(/* @__PURE__ */ n.jsx(_s, { children: l }, String(Date.now())), _);
1238
+ tt.add(/* @__PURE__ */ n.jsx(_s, { children: l }, String(Date.now())), _);
1238
1239
  }
1239
1240
  e.Add = s;
1240
1241
  function i(l) {
1241
- et.x(l);
1242
+ tt.x(l);
1242
1243
  }
1243
1244
  e.Close = i;
1244
1245
  function o(l) {
@@ -3063,7 +3064,7 @@ function so() {
3063
3064
  s
3064
3065
  )) });
3065
3066
  }
3066
- let nt = {}, Dt = {}, Nt = "ru";
3067
+ let at = {}, Dt = {}, Nt = "ru";
3067
3068
  const io = (e, t) => {
3068
3069
  Dt = e, t ? Nt = t : Nt = Object.keys(e)[0];
3069
3070
  }, zn = Ln(
@@ -3072,10 +3073,10 @@ const io = (e, t) => {
3072
3073
  const [t, a] = g.useState(
3073
3074
  localStorage.getItem("lang") || navigator.language
3074
3075
  );
3075
- return nt.update = a, /* @__PURE__ */ n.jsx(zn.Provider, { value: Dt[t] || Dt[Nt], children: e });
3076
+ return at.update = a, /* @__PURE__ */ n.jsx(zn.Provider, { value: Dt[t] || Dt[Nt], children: e });
3076
3077
  }, lo = (e) => {
3077
3078
  var t;
3078
- localStorage.setItem("lang", e), (t = nt.update) == null || t.call(nt, e);
3079
+ localStorage.setItem("lang", e), (t = at.update) == null || t.call(at, e);
3079
3080
  }, co = () => qa(zn), _o = () => localStorage.getItem("lang") || navigator.language;
3080
3081
  Ln({
3081
3082
  tab: "",
@@ -3140,7 +3141,7 @@ const ad = ({ children: e, ...t }) => /* @__PURE__ */ n.jsxs("div", { className:
3140
3141
  /* @__PURE__ */ n.jsx(vo, {}),
3141
3142
  /* @__PURE__ */ n.jsx(go, {}),
3142
3143
  e
3143
- ] }), wo = "_btn_294gf_1", ko = "_confirm_294gf_15", bo = "_cancel_294gf_20", So = "_action_294gf_25", Eo = "_disabled_294gf_30", Io = "_m_294gf_44", Do = "_l_294gf_48", tt = {
3144
+ ] }), wo = "_btn_294gf_1", ko = "_confirm_294gf_15", bo = "_cancel_294gf_20", So = "_action_294gf_25", Eo = "_disabled_294gf_30", Io = "_m_294gf_44", Do = "_l_294gf_48", nt = {
3144
3145
  btn: wo,
3145
3146
  confirm: ko,
3146
3147
  cancel: bo,
@@ -3176,9 +3177,9 @@ const ad = ({ children: e, ...t }) => /* @__PURE__ */ n.jsxs("div", { className:
3176
3177
  ...v,
3177
3178
  ref: m,
3178
3179
  className: [
3179
- tt.btn,
3180
- h ? tt.disabled : tt[r],
3181
- a && tt[a],
3180
+ nt.btn,
3181
+ h ? nt.disabled : nt[r],
3182
+ a && nt[a],
3182
3183
  d
3183
3184
  ].join(" "),
3184
3185
  onClick: p,
@@ -3520,12 +3521,12 @@ function qn({
3520
3521
  const cd = { Menu: ol, List: qn }, dl = "_sort_1yrvt_1", _l = {
3521
3522
  sort: dl
3522
3523
  };
3523
- let st = {};
3524
+ let it = {};
3524
3525
  function ul(e, t) {
3525
3526
  switch (t.type) {
3526
3527
  case "active":
3527
3528
  let a = "<";
3528
- return e.active === t.data && (a = e.sort === "<" ? ">" : "<"), st.get({ active: t.data, sort: a }, !1), Gn({ active: t.data, sort: a }), {
3529
+ return e.active === t.data && (a = e.sort === "<" ? ">" : "<"), it.get({ active: t.data, sort: a }, !1), Gn({ active: t.data, sort: a }), {
3529
3530
  ...e,
3530
3531
  active: t.data,
3531
3532
  sort: a
@@ -3567,10 +3568,10 @@ function fl() {
3567
3568
  ] });
3568
3569
  }
3569
3570
  function ml(e) {
3570
- st.get = e;
3571
+ it.get = e;
3571
3572
  }
3572
3573
  function hl(e) {
3573
- st.set(e);
3574
+ it.set(e);
3574
3575
  }
3575
3576
  function pl(e, t, a) {
3576
3577
  let r = 1, s = 0, i = {}, o = 50;
@@ -3592,31 +3593,31 @@ function pl(e, t, a) {
3592
3593
  }), { data: i };
3593
3594
  }
3594
3595
  function gl(e) {
3595
- st.count(e);
3596
+ it.count(e);
3596
3597
  }
3597
- const dd = { Init: fl, useValue: ml, Set: hl, Run: pl, Count: gl }, at = {}, Jn = {};
3598
+ const dd = { Init: fl, useValue: ml, Set: hl, Run: pl, Count: gl }, rt = {}, Jn = {};
3598
3599
  function xl(e) {
3599
3600
  const [t, a] = g.useState({}), r = async (s) => {
3600
3601
  a(
3601
- Object.keys(at).reduce((i, o) => (i ? i[o] = at[o].all : i = {}, i), {})
3602
+ Object.keys(rt).reduce((i, o) => (i ? i[o] = rt[o].all : i = {}, i), {})
3602
3603
  );
3603
3604
  };
3604
3605
  return g.useEffect(() => {
3605
- e.forEach((s) => at[s] = { all: 0 }), Jn.menu = r, r();
3606
+ e.forEach((s) => rt[s] = { all: 0 }), Jn.menu = r, r();
3606
3607
  }, [e]), t;
3607
3608
  }
3608
3609
  function vl(e, t) {
3609
3610
  switch (typeof t) {
3610
3611
  case "number":
3611
- at[e].all += t, Jn.menu();
3612
+ rt[e].all += t, Jn.menu();
3612
3613
  break;
3613
3614
  }
3614
3615
  }
3615
3616
  const _d = { useMenu: xl, setUpdate: vl };
3616
3617
  class Cl {
3617
3618
  constructor(t = "el", a = "db") {
3618
- pt(this, "storeName");
3619
- pt(this, "_dbp");
3619
+ gt(this, "storeName");
3620
+ gt(this, "_dbp");
3620
3621
  this.storeName = a, this._dbp = new Promise((r, s) => {
3621
3622
  const i = indexedDB.open(t, 1);
3622
3623
  i.onerror = () => s(i.error), i.onsuccess = () => r(i.result), i.onupgradeneeded = () => {
@@ -7676,7 +7677,7 @@ const xd = { Spinner: cc, Inline: dc }, _c = "_ph_1wjxu_1", uc = "_e_1wjxu_5", R
7676
7677
  ] });
7677
7678
  };
7678
7679
  let mc = ({ m: e, t, loading: a, onDynamicURL: r }) => {
7679
- const s = g.lazy(() => rt(e + "/pages/" + t + ".tsx"));
7680
+ const s = g.lazy(() => st(e + "/pages/" + t + ".tsx"));
7680
7681
  return r && r((e + "/" + t).toLowerCase()), /* @__PURE__ */ n.jsx(g.Suspense, { fallback: a, children: /* @__PURE__ */ n.jsx(s, {}) });
7681
7682
  }, hc = ({ button: e }) => {
7682
7683
  const [t, a] = g.useState(e);
@@ -8016,7 +8017,7 @@ function Mc({ data: e, head: t, state: a, dispatch: r, type: s }) {
8016
8017
  const jd = { Button: Ic, useValue: Dc, Set: Nc, Run: Tc, Count: ga, Reset: Rc }, Bc = "_n_euuvm_1", $c = {
8017
8018
  n: Bc
8018
8019
  };
8019
- let it = {}, jt = [];
8020
+ let ot = {}, jt = [];
8020
8021
  const Fc = (e, t) => {
8021
8022
  switch (t.type) {
8022
8023
  case "open":
@@ -8058,7 +8059,7 @@ const Fc = (e, t) => {
8058
8059
  r = { ...e.take, ...r }, e.active = !1;
8059
8060
  for (let s in r)
8060
8061
  r[s] !== "999" && (e.active = !0);
8061
- return it.get(r, e.active), {
8062
+ return ot.get(r, e.active), {
8062
8063
  ...e,
8063
8064
  take: r,
8064
8065
  active: e.active
@@ -8070,13 +8071,13 @@ const Fc = (e, t) => {
8070
8071
  }
8071
8072
  };
8072
8073
  function Pc(e) {
8073
- it.fn({ action: "add", data: e });
8074
+ ot.fn({ action: "add", data: e });
8074
8075
  }
8075
8076
  function Ac(e) {
8076
- it.fn({ action: "add", data: e });
8077
+ ot.fn({ action: "add", data: e });
8077
8078
  }
8078
8079
  function Oc(e) {
8079
- it.fn = e;
8080
+ ot.fn = e;
8080
8081
  }
8081
8082
  function Zc() {
8082
8083
  const [e, t] = g.useReducer(Fc, {
@@ -8325,7 +8326,7 @@ const Sd = { Get: Xc }, Ed = function({
8325
8326
  ] });
8326
8327
  };
8327
8328
  let Vc = ({ modules: e, t }) => {
8328
- const a = g.lazy(() => rt(e + "/pages/" + t + ".tsx"));
8329
+ const a = g.lazy(() => st(e + "/pages/" + t + ".tsx"));
8329
8330
  return /* @__PURE__ */ n.jsx(g.Suspense, { fallback: "", children: /* @__PURE__ */ n.jsx(a, {}) });
8330
8331
  }, Qc = ({ button: e }) => {
8331
8332
  const [t, a] = g.useState(e);