elcrm 0.9.39 → 0.9.40

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,14 +1,14 @@
1
1
  import './index.css';var Pa = Object.defineProperty;
2
2
  var Oa = (e, t, n) => t in e ? Pa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var xt = (e, t, n) => Oa(e, typeof t != "symbol" ? t + "" : t, n);
4
- import h, { createContext as Aa, useContext as za, createElement as Ga } from "react";
3
+ var pt = (e, t, n) => Oa(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import h, { createContext as Aa, useContext as Ga, createElement as Za } from "react";
5
5
  let Mt = {
6
6
  enCode: (e) => e,
7
7
  deCode: (e) => e
8
8
  };
9
9
  const kn = (e) => {
10
10
  Mt = e;
11
- }, Za = (e) => Mt.enCode(e), Ua = (e) => Mt.deCode(e), B = { enCode: Za, deCode: Ua, New: kn }, D = {}, X = {}, Ie = {}, yn = {}, fe = {};
11
+ }, Ua = (e) => Mt.enCode(e), za = (e) => Mt.deCode(e), B = { enCode: Ua, deCode: za, New: kn }, D = {}, X = {}, Re = {}, yn = {}, fe = {};
12
12
  let at = "M06";
13
13
  function Ka(e) {
14
14
  at = e;
@@ -16,7 +16,7 @@ function Ka(e) {
16
16
  function Wa() {
17
17
  return at;
18
18
  }
19
- function Ya(e) {
19
+ function qa(e) {
20
20
  if (localStorage.getItem("d")) {
21
21
  let n = sessionStorage.getItem("f");
22
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 || at);
@@ -31,7 +31,7 @@ function ie() {
31
31
  (e) => localStorage.removeItem(e)
32
32
  ), ["f"].forEach((e) => sessionStorage.removeItem(e)), window.location.reload();
33
33
  }
34
- function Ha(e) {
34
+ function Ya(e) {
35
35
  e = e.split("/"), D.page = "Main", D.module = e[0], D.tab = e[1], D.id = 0, sessionStorage.setItem(
36
36
  "f",
37
37
  B.enCode({
@@ -43,7 +43,7 @@ function Ha(e) {
43
43
  })
44
44
  ), X.page(D.page);
45
45
  }
46
- function qa(e) {
46
+ function Ha(e) {
47
47
  return localStorage.setItem("d", e);
48
48
  }
49
49
  function Va() {
@@ -149,16 +149,16 @@ function ur(e, t, n, r) {
149
149
  D.page = e, D.module = t, D.tab = n || "", D.id = r || 0, sessionStorage.setItem("f", B.enCode(D)), X.page(e);
150
150
  }
151
151
  function fr(e) {
152
- Ie.data = e[0], delete Ie.data.id, document.body.dataset.theme = Ie.data.s15, localStorage.setItem("s", B.enCode(Ie.data));
152
+ Re.data = e[0], delete Re.data.id, document.body.dataset.theme = Re.data.s15, localStorage.setItem("s", B.enCode(Re.data));
153
153
  }
154
154
  function mr(e, t) {
155
- Ie.data[e] = t, localStorage.setItem("s", B.enCode(Ie.data));
155
+ Re.data[e] = t, localStorage.setItem("s", B.enCode(Re.data));
156
156
  }
157
157
  function hr(e) {
158
158
  let t = localStorage.getItem("s");
159
159
  return t === null ? {} : (t = B.deCode(t), t ? e !== void 0 ? t[e] : t : ie());
160
160
  }
161
- function Rn(e) {
161
+ function In(e) {
162
162
  localStorage.setItem("m", B.enCode({ data: e }));
163
163
  }
164
164
  function gr() {
@@ -175,10 +175,10 @@ function gr() {
175
175
  } else
176
176
  return ie(), !1;
177
177
  }
178
- function pr(e) {
178
+ function xr(e) {
179
179
  X.sort = e;
180
180
  }
181
- function In(e) {
181
+ function Rn(e) {
182
182
  let t = localStorage.getItem("b");
183
183
  t = t === null ? {} : B.deCode(t), t[Ne()] = e, localStorage.setItem("b", B.enCode(t));
184
184
  }
@@ -198,10 +198,10 @@ function Tn(e, t) {
198
198
  } else
199
199
  return ie(), !1;
200
200
  }
201
- function Ue(e) {
201
+ function ze(e) {
202
202
  fe.data = e, localStorage.setItem("q", B.enCode(fe.data));
203
203
  }
204
- function xr(e, t) {
204
+ function pr(e, t) {
205
205
  fe.data = { ...fe.data, [e]: t }, localStorage.setItem("q", B.enCode(fe.data));
206
206
  }
207
207
  function ge(e, t) {
@@ -275,27 +275,27 @@ function Er(e) {
275
275
  function Dr(e, t) {
276
276
  D[e] = { data: t.data, time: t.time }, localStorage.setItem(e, B.enCode(D[e]));
277
277
  }
278
- function Rr(e, t, n) {
278
+ function Ir(e, t, n) {
279
279
  D[e].time = n, D[e].data[t.item][t.name] = t.value, localStorage.setItem(e, B.enCode(D[e]));
280
280
  }
281
281
  const J = {
282
- setSSID: qa,
282
+ setSSID: Ha,
283
283
  getSSID: Va,
284
284
  getPORT: jt,
285
285
  setPORT: Qa,
286
286
  setAUTH: Ja,
287
287
  getAUTH: Xa,
288
288
  Logaut: ie,
289
- Start: Ha,
290
- setMenu: Rn,
289
+ Start: Ya,
290
+ setMenu: In,
291
291
  getMenu: gr,
292
- useSort: pr,
293
- setSort: In,
292
+ useSort: xr,
293
+ setSort: Rn,
294
294
  getSort: kt,
295
295
  setCompany: Nn,
296
296
  getCompany: Tn,
297
- setSelect: Ue,
298
- addSelect: xr,
297
+ setSelect: ze,
298
+ addSelect: pr,
299
299
  getSelect: ge,
300
300
  setApi: vr,
301
301
  getApi: Cr,
@@ -307,9 +307,9 @@ const J = {
307
307
  getDefaultModules: Wa,
308
308
  getBase: Er,
309
309
  setBase: Dr,
310
- editBase: Rr,
310
+ editBase: Ir,
311
311
  loadBase: Sr
312
- }, Ln = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=", Ir = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), cn = typeof self < "u" && self.Blob && new Blob([Ir(Ln)], { type: "text/javascript;charset=utf-8" });
312
+ }, Ln = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=", Rr = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), cn = typeof self < "u" && self.Blob && new Blob([Rr(Ln)], { type: "text/javascript;charset=utf-8" });
313
313
  function $n(e) {
314
314
  let t;
315
315
  try {
@@ -356,7 +356,7 @@ function Fr(e) {
356
356
  const it = {
357
357
  version: { Api: Tr, Server: Nr, Client: Mr },
358
358
  Host: Lr,
359
- SSID: Zr,
359
+ SSID: Ur,
360
360
  Import: $r,
361
361
  Crypto: Fr,
362
362
  defaultModule: Ka
@@ -370,13 +370,13 @@ function Ar() {
370
370
  };
371
371
  }
372
372
  let Lt = `${Br}.${Pr}.${Or}`;
373
- function zr(e) {
373
+ function Gr(e) {
374
374
  return "https://" + J.getPORT().address + "/audio/" + e;
375
375
  }
376
- function Gr(e) {
376
+ function Zr(e) {
377
377
  return "https://" + J.getPORT().address + "/image/" + e;
378
378
  }
379
- function Zr(e) {
379
+ function Ur(e) {
380
380
  Te = e;
381
381
  }
382
382
  function Ke(e, t = {}, n = Te ? J.getSSID() : J.getAUTH()) {
@@ -395,7 +395,7 @@ function Ke(e, t = {}, n = Te ? J.getSSID() : J.getAUTH()) {
395
395
  });
396
396
  });
397
397
  }
398
- async function Ur(e, t = {}, n = Te ? J.getSSID() : J.getAUTH()) {
398
+ async function zr(e, t = {}, n = Te ? J.getSSID() : J.getAUTH()) {
399
399
  try {
400
400
  return await (await Ke(it.Host() || `https://${Lt}/` + e, {
401
401
  method: "POST",
@@ -434,7 +434,7 @@ let Fn = {
434
434
  "Content-type": "application/json;charset=utf-8",
435
435
  ssid: J.getAUTH() || ""
436
436
  };
437
- async function Yr(e, t, n = {}) {
437
+ async function qr(e, t, n = {}) {
438
438
  try {
439
439
  return await (await Ke("https://" + e + "/" + t, {
440
440
  method: "POST",
@@ -445,7 +445,7 @@ async function Yr(e, t, n = {}) {
445
445
  return { status: "error" };
446
446
  }
447
447
  }
448
- async function Hr(e, t = {}) {
448
+ async function Yr(e, t = {}) {
449
449
  try {
450
450
  return await (await Ke("https://tb.elcrm.online/v1/" + e, {
451
451
  method: "POST",
@@ -456,7 +456,7 @@ async function Hr(e, t = {}) {
456
456
  return { status: "error" };
457
457
  }
458
458
  }
459
- function qr(e = "qJqEtGe93RVTRF1gTKmdEXw6gCgrSx31") {
459
+ function Hr(e = "qJqEtGe93RVTRF1gTKmdEXw6gCgrSx31") {
460
460
  return e[(e.length / 2).toFixed()] + e[(e.length / 3).toFixed()] + e[(e.length / 4).toFixed()] + e[(e.length / 2).toFixed()];
461
461
  }
462
462
  async function Vr(e, t = {}) {
@@ -465,17 +465,17 @@ async function Vr(e, t = {}) {
465
465
  });
466
466
  }
467
467
  const dn = {
468
- audio: zr,
469
- image: Gr,
468
+ audio: Gr,
469
+ image: Zr,
470
470
  fetch: Ke,
471
471
  modules: Kr,
472
- remoute: Yr,
472
+ remoute: qr,
473
473
  url: Ar,
474
474
  test: Vr,
475
- telegram: Hr,
475
+ telegram: Yr,
476
476
  use: Wr,
477
- token: qr,
478
- formData: Ur
477
+ token: Hr,
478
+ formData: zr
479
479
  };
480
480
  var yt = { exports: {} }, Be = {};
481
481
  /**
@@ -493,11 +493,11 @@ function Jr() {
493
493
  _n = 1;
494
494
  var e = h, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
495
495
  function o(l, c, _) {
496
- var u, p = {}, f = null, g = null;
496
+ var u, x = {}, f = null, g = null;
497
497
  _ !== void 0 && (f = "" + _), c.key !== void 0 && (f = "" + c.key), c.ref !== void 0 && (g = c.ref);
498
- for (u in c) r.call(c, u) && !i.hasOwnProperty(u) && (p[u] = c[u]);
499
- if (l && l.defaultProps) for (u in c = l.defaultProps, c) p[u] === void 0 && (p[u] = c[u]);
500
- return { $$typeof: t, type: l, key: f, ref: g, props: p, _owner: s.current };
498
+ for (u in c) r.call(c, u) && !i.hasOwnProperty(u) && (x[u] = c[u]);
499
+ if (l && l.defaultProps) for (u in c = l.defaultProps, c) x[u] === void 0 && (x[u] = c[u]);
500
+ return { $$typeof: t, type: l, key: f, ref: g, props: x, _owner: s.current };
501
501
  }
502
502
  return Be.Fragment = n, Be.jsx = o, Be.jsxs = o, Be;
503
503
  }
@@ -514,11 +514,11 @@ var Pe = {};
514
514
  var un;
515
515
  function Xr() {
516
516
  return un || (un = 1, process.env.NODE_ENV !== "production" && function() {
517
- var e = h, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), j = Symbol.iterator, x = "@@iterator";
517
+ var e = h, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), j = Symbol.iterator, p = "@@iterator";
518
518
  function m(d) {
519
519
  if (d === null || typeof d != "object")
520
520
  return null;
521
- var v = j && d[j] || d[x];
521
+ var v = j && d[j] || d[p];
522
522
  return typeof v == "function" ? v : null;
523
523
  }
524
524
  var C = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -531,34 +531,34 @@ function Xr() {
531
531
  }
532
532
  function N(d, v, w) {
533
533
  {
534
- var M = C.ReactDebugCurrentFrame, G = M.getStackAddendum();
535
- G !== "" && (v += "%s", w = w.concat([G]));
536
- var Z = w.map(function(A) {
534
+ var M = C.ReactDebugCurrentFrame, Z = M.getStackAddendum();
535
+ Z !== "" && (v += "%s", w = w.concat([Z]));
536
+ var U = w.map(function(A) {
537
537
  return String(A);
538
538
  });
539
- Z.unshift("Warning: " + v), Function.prototype.apply.call(console[d], console, Z);
539
+ U.unshift("Warning: " + v), Function.prototype.apply.call(console[d], console, U);
540
540
  }
541
541
  }
542
- var T = !1, k = !1, y = !1, b = !1, E = !1, z;
543
- z = Symbol.for("react.module.reference");
542
+ var T = !1, k = !1, y = !1, b = !1, E = !1, G;
543
+ G = Symbol.for("react.module.reference");
544
544
  function $(d) {
545
- return !!(typeof d == "string" || typeof d == "function" || d === r || d === i || E || d === s || d === _ || d === u || b || d === g || T || k || y || typeof d == "object" && d !== null && (d.$$typeof === f || d.$$typeof === p || d.$$typeof === o || d.$$typeof === l || d.$$typeof === c || // This needs to include all possible module reference object
545
+ return !!(typeof d == "string" || typeof d == "function" || d === r || d === i || E || d === s || d === _ || d === u || b || d === g || T || k || y || typeof d == "object" && d !== null && (d.$$typeof === f || d.$$typeof === x || d.$$typeof === o || d.$$typeof === l || d.$$typeof === c || // This needs to include all possible module reference object
546
546
  // types supported by any Flight configuration anywhere since
547
547
  // we don't know which Flight build this will end up being used
548
548
  // with.
549
- d.$$typeof === z || d.getModuleId !== void 0));
549
+ d.$$typeof === G || d.getModuleId !== void 0));
550
550
  }
551
551
  function O(d, v, w) {
552
552
  var M = d.displayName;
553
553
  if (M)
554
554
  return M;
555
- var G = v.displayName || v.name || "";
556
- return G !== "" ? w + "(" + G + ")" : w;
555
+ var Z = v.displayName || v.name || "";
556
+ return Z !== "" ? w + "(" + Z + ")" : w;
557
557
  }
558
558
  function L(d) {
559
559
  return d.displayName || "Context";
560
560
  }
561
- function I(d) {
561
+ function R(d) {
562
562
  if (d == null)
563
563
  return null;
564
564
  if (typeof d.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof d == "function")
@@ -589,13 +589,13 @@ function Xr() {
589
589
  return L(w._context) + ".Provider";
590
590
  case c:
591
591
  return O(d, d.render, "ForwardRef");
592
- case p:
592
+ case x:
593
593
  var M = d.displayName || null;
594
- return M !== null ? M : I(d.type) || "Memo";
594
+ return M !== null ? M : R(d.type) || "Memo";
595
595
  case f: {
596
- var G = d, Z = G._payload, A = G._init;
596
+ var Z = d, U = Z._payload, A = Z._init;
597
597
  try {
598
- return I(A(Z));
598
+ return R(A(U));
599
599
  } catch {
600
600
  return null;
601
601
  }
@@ -603,14 +603,14 @@ function Xr() {
603
603
  }
604
604
  return null;
605
605
  }
606
- var F = Object.assign, W = 0, ne, se, he, Ee, Le, He, Kt;
606
+ var F = Object.assign, W = 0, ne, se, he, Ee, Le, Ye, Kt;
607
607
  function Wt() {
608
608
  }
609
609
  Wt.__reactDisabledLog = !0;
610
610
  function _a() {
611
611
  {
612
612
  if (W === 0) {
613
- ne = console.log, se = console.info, he = console.warn, Ee = console.error, Le = console.group, He = console.groupCollapsed, Kt = console.groupEnd;
613
+ ne = console.log, se = console.info, he = console.warn, Ee = console.error, Le = console.group, Ye = console.groupCollapsed, Kt = console.groupEnd;
614
614
  var d = {
615
615
  configurable: !0,
616
616
  enumerable: !0,
@@ -655,7 +655,7 @@ function Xr() {
655
655
  value: Le
656
656
  }),
657
657
  groupCollapsed: F({}, d, {
658
- value: He
658
+ value: Ye
659
659
  }),
660
660
  groupEnd: F({}, d, {
661
661
  value: Kt
@@ -666,13 +666,13 @@ function Xr() {
666
666
  }
667
667
  }
668
668
  var ct = C.ReactCurrentDispatcher, dt;
669
- function qe(d, v, w) {
669
+ function He(d, v, w) {
670
670
  {
671
671
  if (dt === void 0)
672
672
  try {
673
673
  throw Error();
674
- } catch (G) {
675
- var M = G.stack.trim().match(/\n( *(at )?)/);
674
+ } catch (Z) {
675
+ var M = Z.stack.trim().match(/\n( *(at )?)/);
676
676
  dt = M && M[1] || "";
677
677
  }
678
678
  return `
@@ -684,7 +684,7 @@ function Xr() {
684
684
  var fa = typeof WeakMap == "function" ? WeakMap : Map;
685
685
  Ve = new fa();
686
686
  }
687
- function Yt(d, v) {
687
+ function qt(d, v) {
688
688
  if (!d || _t)
689
689
  return "";
690
690
  {
@@ -694,10 +694,10 @@ function Xr() {
694
694
  }
695
695
  var M;
696
696
  _t = !0;
697
- var G = Error.prepareStackTrace;
697
+ var Z = Error.prepareStackTrace;
698
698
  Error.prepareStackTrace = void 0;
699
- var Z;
700
- Z = ct.current, ct.current = null, _a();
699
+ var U;
700
+ U = ct.current, ct.current = null, _a();
701
701
  try {
702
702
  if (v) {
703
703
  var A = function() {
@@ -734,29 +734,29 @@ function Xr() {
734
734
  if (ae && M && typeof ae.stack == "string") {
735
735
  for (var P = ae.stack.split(`
736
736
  `), ee = M.stack.split(`
737
- `), H = P.length - 1, V = ee.length - 1; H >= 1 && V >= 0 && P[H] !== ee[V]; )
737
+ `), Y = P.length - 1, V = ee.length - 1; Y >= 1 && V >= 0 && P[Y] !== ee[V]; )
738
738
  V--;
739
- for (; H >= 1 && V >= 0; H--, V--)
740
- if (P[H] !== ee[V]) {
741
- if (H !== 1 || V !== 1)
739
+ for (; Y >= 1 && V >= 0; Y--, V--)
740
+ if (P[Y] !== ee[V]) {
741
+ if (Y !== 1 || V !== 1)
742
742
  do
743
- if (H--, V--, V < 0 || P[H] !== ee[V]) {
743
+ if (Y--, V--, V < 0 || P[Y] !== ee[V]) {
744
744
  var oe = `
745
- ` + P[H].replace(" at new ", " at ");
745
+ ` + P[Y].replace(" at new ", " at ");
746
746
  return d.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", d.displayName)), typeof d == "function" && Ve.set(d, oe), oe;
747
747
  }
748
- while (H >= 1 && V >= 0);
748
+ while (Y >= 1 && V >= 0);
749
749
  break;
750
750
  }
751
751
  }
752
752
  } finally {
753
- _t = !1, ct.current = Z, ua(), Error.prepareStackTrace = G;
753
+ _t = !1, ct.current = U, ua(), Error.prepareStackTrace = Z;
754
754
  }
755
- var Re = d ? d.displayName || d.name : "", ke = Re ? qe(Re) : "";
755
+ var Ie = d ? d.displayName || d.name : "", ke = Ie ? He(Ie) : "";
756
756
  return typeof d == "function" && Ve.set(d, ke), ke;
757
757
  }
758
758
  function ma(d, v, w) {
759
- return Yt(d, !1);
759
+ return qt(d, !1);
760
760
  }
761
761
  function ha(d) {
762
762
  var v = d.prototype;
@@ -766,44 +766,44 @@ function Xr() {
766
766
  if (d == null)
767
767
  return "";
768
768
  if (typeof d == "function")
769
- return Yt(d, ha(d));
769
+ return qt(d, ha(d));
770
770
  if (typeof d == "string")
771
- return qe(d);
771
+ return He(d);
772
772
  switch (d) {
773
773
  case _:
774
- return qe("Suspense");
774
+ return He("Suspense");
775
775
  case u:
776
- return qe("SuspenseList");
776
+ return He("SuspenseList");
777
777
  }
778
778
  if (typeof d == "object")
779
779
  switch (d.$$typeof) {
780
780
  case c:
781
781
  return ma(d.render);
782
- case p:
782
+ case x:
783
783
  return Je(d.type, v, w);
784
784
  case f: {
785
- var M = d, G = M._payload, Z = M._init;
785
+ var M = d, Z = M._payload, U = M._init;
786
786
  try {
787
- return Je(Z(G), v, w);
787
+ return Je(U(Z), v, w);
788
788
  } catch {
789
789
  }
790
790
  }
791
791
  }
792
792
  return "";
793
793
  }
794
- var $e = Object.prototype.hasOwnProperty, Ht = {}, qt = C.ReactDebugCurrentFrame;
794
+ var $e = Object.prototype.hasOwnProperty, Yt = {}, Ht = C.ReactDebugCurrentFrame;
795
795
  function Xe(d) {
796
796
  if (d) {
797
797
  var v = d._owner, w = Je(d.type, d._source, v ? v.type : null);
798
- qt.setExtraStackFrame(w);
798
+ Ht.setExtraStackFrame(w);
799
799
  } else
800
- qt.setExtraStackFrame(null);
800
+ Ht.setExtraStackFrame(null);
801
801
  }
802
- function ga(d, v, w, M, G) {
802
+ function ga(d, v, w, M, Z) {
803
803
  {
804
- var Z = Function.call.bind($e);
804
+ var U = Function.call.bind($e);
805
805
  for (var A in d)
806
- if (Z(d, A)) {
806
+ if (U(d, A)) {
807
807
  var P = void 0;
808
808
  try {
809
809
  if (typeof d[A] != "function") {
@@ -811,18 +811,18 @@ function Xr() {
811
811
  throw ee.name = "Invariant Violation", ee;
812
812
  }
813
813
  P = d[A](v, A, M, w, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
814
- } catch (H) {
815
- P = H;
814
+ } catch (Y) {
815
+ P = Y;
816
816
  }
817
- P && !(P instanceof Error) && (Xe(G), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", M || "React class", w, A, typeof P), Xe(null)), P instanceof Error && !(P.message in Ht) && (Ht[P.message] = !0, Xe(G), S("Failed %s type: %s", w, P.message), Xe(null));
817
+ P && !(P instanceof Error) && (Xe(Z), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", M || "React class", w, A, typeof P), Xe(null)), P instanceof Error && !(P.message in Yt) && (Yt[P.message] = !0, Xe(Z), S("Failed %s type: %s", w, P.message), Xe(null));
818
818
  }
819
819
  }
820
820
  }
821
- var pa = Array.isArray;
821
+ var xa = Array.isArray;
822
822
  function ut(d) {
823
- return pa(d);
823
+ return xa(d);
824
824
  }
825
- function xa(d) {
825
+ function pa(d) {
826
826
  {
827
827
  var v = typeof Symbol == "function" && Symbol.toStringTag, w = v && d[Symbol.toStringTag] || d.constructor.name || "Object";
828
828
  return w;
@@ -840,7 +840,7 @@ function Xr() {
840
840
  }
841
841
  function Jt(d) {
842
842
  if (va(d))
843
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xa(d)), Vt(d);
843
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pa(d)), Vt(d);
844
844
  }
845
845
  var Fe = C.ReactCurrentOwner, Ca = {
846
846
  key: !0,
@@ -867,8 +867,8 @@ function Xr() {
867
867
  }
868
868
  function ya(d, v) {
869
869
  if (typeof d.ref == "string" && Fe.current && v && Fe.current.stateNode !== v) {
870
- var w = I(Fe.current.type);
871
- ft[w] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', I(Fe.current.type), d.ref), ft[w] = !0);
870
+ var w = R(Fe.current.type);
871
+ ft[w] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', R(Fe.current.type), d.ref), ft[w] = !0);
872
872
  }
873
873
  }
874
874
  function ba(d, v) {
@@ -893,7 +893,7 @@ function Xr() {
893
893
  });
894
894
  }
895
895
  }
896
- var Sa = function(d, v, w, M, G, Z, A) {
896
+ var Sa = function(d, v, w, M, Z, U, A) {
897
897
  var P = {
898
898
  // This tag allows us to uniquely identify this as a React Element
899
899
  $$typeof: t,
@@ -903,7 +903,7 @@ function Xr() {
903
903
  ref: w,
904
904
  props: A,
905
905
  // Record the component responsible for creating this element.
906
- _owner: Z
906
+ _owner: U
907
907
  };
908
908
  return P._store = {}, Object.defineProperty(P._store, "validated", {
909
909
  configurable: !1,
@@ -919,25 +919,25 @@ function Xr() {
919
919
  configurable: !1,
920
920
  enumerable: !1,
921
921
  writable: !1,
922
- value: G
922
+ value: Z
923
923
  }), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
924
924
  };
925
- function Ea(d, v, w, M, G) {
925
+ function Ea(d, v, w, M, Z) {
926
926
  {
927
- var Z, A = {}, P = null, ee = null;
928
- w !== void 0 && (Jt(w), P = "" + w), ka(v) && (Jt(v.key), P = "" + v.key), ja(v) && (ee = v.ref, ya(v, G));
929
- for (Z in v)
930
- $e.call(v, Z) && !Ca.hasOwnProperty(Z) && (A[Z] = v[Z]);
927
+ var U, A = {}, P = null, ee = null;
928
+ w !== void 0 && (Jt(w), P = "" + w), ka(v) && (Jt(v.key), P = "" + v.key), ja(v) && (ee = v.ref, ya(v, Z));
929
+ for (U in v)
930
+ $e.call(v, U) && !Ca.hasOwnProperty(U) && (A[U] = v[U]);
931
931
  if (d && d.defaultProps) {
932
- var H = d.defaultProps;
933
- for (Z in H)
934
- A[Z] === void 0 && (A[Z] = H[Z]);
932
+ var Y = d.defaultProps;
933
+ for (U in Y)
934
+ A[U] === void 0 && (A[U] = Y[U]);
935
935
  }
936
936
  if (P || ee) {
937
937
  var V = typeof d == "function" ? d.displayName || d.name || "Unknown" : d;
938
938
  P && ba(A, V), ee && wa(A, V);
939
939
  }
940
- return Sa(d, P, ee, G, M, Fe.current, A);
940
+ return Sa(d, P, ee, Z, M, Fe.current, A);
941
941
  }
942
942
  }
943
943
  var mt = C.ReactCurrentOwner, en = C.ReactDebugCurrentFrame;
@@ -956,7 +956,7 @@ function Xr() {
956
956
  function tn() {
957
957
  {
958
958
  if (mt.current) {
959
- var d = I(mt.current.type);
959
+ var d = R(mt.current.type);
960
960
  if (d)
961
961
  return `
962
962
 
@@ -969,7 +969,7 @@ Check the render method of \`` + d + "`.";
969
969
  return "";
970
970
  }
971
971
  var nn = {};
972
- function Ra(d) {
972
+ function Ia(d) {
973
973
  {
974
974
  var v = tn();
975
975
  if (!v) {
@@ -986,12 +986,12 @@ Check the top-level render call using <` + w + ">.");
986
986
  if (!d._store || d._store.validated || d.key != null)
987
987
  return;
988
988
  d._store.validated = !0;
989
- var w = Ra(v);
989
+ var w = Ia(v);
990
990
  if (nn[w])
991
991
  return;
992
992
  nn[w] = !0;
993
993
  var M = "";
994
- d && d._owner && d._owner !== mt.current && (M = " It was passed a child from " + I(d._owner.type) + "."), De(d), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, M), De(null);
994
+ d && d._owner && d._owner !== mt.current && (M = " It was passed a child from " + R(d._owner.type) + "."), De(d), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, M), De(null);
995
995
  }
996
996
  }
997
997
  function rn(d, v) {
@@ -1006,14 +1006,14 @@ Check the top-level render call using <` + w + ">.");
1006
1006
  else if (gt(d))
1007
1007
  d._store && (d._store.validated = !0);
1008
1008
  else if (d) {
1009
- var G = m(d);
1010
- if (typeof G == "function" && G !== d.entries)
1011
- for (var Z = G.call(d), A; !(A = Z.next()).done; )
1009
+ var Z = m(d);
1010
+ if (typeof Z == "function" && Z !== d.entries)
1011
+ for (var U = Z.call(d), A; !(A = U.next()).done; )
1012
1012
  gt(A.value) && an(A.value, v);
1013
1013
  }
1014
1014
  }
1015
1015
  }
1016
- function Ia(d) {
1016
+ function Ra(d) {
1017
1017
  {
1018
1018
  var v = d.type;
1019
1019
  if (v == null || typeof v == "string")
@@ -1023,17 +1023,17 @@ Check the top-level render call using <` + w + ">.");
1023
1023
  w = v.propTypes;
1024
1024
  else if (typeof v == "object" && (v.$$typeof === c || // Note: Memo only checks outer props here.
1025
1025
  // Inner props are checked in the reconciler.
1026
- v.$$typeof === p))
1026
+ v.$$typeof === x))
1027
1027
  w = v.propTypes;
1028
1028
  else
1029
1029
  return;
1030
1030
  if (w) {
1031
- var M = I(v);
1031
+ var M = R(v);
1032
1032
  ga(w, d.props, "prop", M, d);
1033
1033
  } else if (v.PropTypes !== void 0 && !ht) {
1034
1034
  ht = !0;
1035
- var G = I(v);
1036
- S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "Unknown");
1035
+ var Z = R(v);
1036
+ S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Z || "Unknown");
1037
1037
  }
1038
1038
  typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1039
1039
  }
@@ -1051,7 +1051,7 @@ Check the top-level render call using <` + w + ">.");
1051
1051
  }
1052
1052
  }
1053
1053
  var sn = {};
1054
- function on(d, v, w, M, G, Z) {
1054
+ function on(d, v, w, M, Z, U) {
1055
1055
  {
1056
1056
  var A = $(d);
1057
1057
  if (!A) {
@@ -1059,10 +1059,10 @@ Check the top-level render call using <` + w + ">.");
1059
1059
  (d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (P += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1060
1060
  var ee = Da();
1061
1061
  ee ? P += ee : P += tn();
1062
- var H;
1063
- d === null ? H = "null" : ut(d) ? H = "array" : d !== void 0 && d.$$typeof === t ? (H = "<" + (I(d.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : H = typeof d, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, P);
1062
+ var Y;
1063
+ d === null ? Y = "null" : ut(d) ? Y = "array" : d !== void 0 && d.$$typeof === t ? (Y = "<" + (R(d.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof d, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y, P);
1064
1064
  }
1065
- var V = Ea(d, v, w, G, Z);
1065
+ var V = Ea(d, v, w, Z, U);
1066
1066
  if (V == null)
1067
1067
  return V;
1068
1068
  if (A) {
@@ -1070,8 +1070,8 @@ Check the top-level render call using <` + w + ">.");
1070
1070
  if (oe !== void 0)
1071
1071
  if (M)
1072
1072
  if (ut(oe)) {
1073
- for (var Re = 0; Re < oe.length; Re++)
1074
- rn(oe[Re], d);
1073
+ for (var Ie = 0; Ie < oe.length; Ie++)
1074
+ rn(oe[Ie], d);
1075
1075
  Object.freeze && Object.freeze(oe);
1076
1076
  } else
1077
1077
  S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -1079,20 +1079,20 @@ Check the top-level render call using <` + w + ">.");
1079
1079
  rn(oe, d);
1080
1080
  }
1081
1081
  if ($e.call(v, "key")) {
1082
- var ke = I(d), ae = Object.keys(v).filter(function(Ba) {
1082
+ var ke = R(d), ae = Object.keys(v).filter(function(Ba) {
1083
1083
  return Ba !== "key";
1084
- }), pt = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
1085
- if (!sn[ke + pt]) {
1084
+ }), xt = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
1085
+ if (!sn[ke + xt]) {
1086
1086
  var Fa = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
1087
1087
  S(`A props object containing a "key" prop is being spread into JSX:
1088
1088
  let props = %s;
1089
1089
  <%s {...props} />
1090
1090
  React keys must be passed directly to JSX without using spread:
1091
1091
  let props = %s;
1092
- <%s key={someKey} {...props} />`, pt, ke, Fa, ke), sn[ke + pt] = !0;
1092
+ <%s key={someKey} {...props} />`, xt, ke, Fa, ke), sn[ke + xt] = !0;
1093
1093
  }
1094
1094
  }
1095
- return d === r ? Na(V) : Ia(V), V;
1095
+ return d === r ? Na(V) : Ra(V), V;
1096
1096
  }
1097
1097
  }
1098
1098
  function Ta(d, v, w) {
@@ -1218,23 +1218,23 @@ const ts = (e) => {
1218
1218
  u3: ["тысяча", "тысячи", "тысяч"],
1219
1219
  u2: ["миллион", "миллиона", "миллионов"],
1220
1220
  u1: ["миллиард", "миллиарда", "миллиардов"]
1221
- }, s, i, o, l, m, c, _, x, u, p, f, g;
1221
+ }, s, i, o, l, m, c, _, p, u, x, f, g;
1222
1222
  u = parseFloat(e).toFixed(2).split("."), c = u[0], l = u[1];
1223
1223
  var j = 12 - c.length;
1224
1224
  if (j < 0)
1225
1225
  return !1;
1226
- for (var x = []; j--; )
1227
- x.push("0");
1228
- c = x.join("") + c;
1226
+ for (var p = []; j--; )
1227
+ p.push("0");
1228
+ c = p.join("") + c;
1229
1229
  var m = [];
1230
1230
  if (c > 0) {
1231
- p = t(c, 3);
1232
- for (var C = -1; C < p.length; C++)
1233
- if (_ = p[C], _ > 0 && (f = t(_, 1), s = parseInt(f[0]), i = parseInt(f[1]), o = parseInt(f[2]), m.push(r.a100[s - 1]), g = C + 1 == 3 ? "a2" : "a1", i > 1 ? m.push(
1231
+ x = t(c, 3);
1232
+ for (var C = -1; C < x.length; C++)
1233
+ if (_ = x[C], _ > 0 && (f = t(_, 1), s = parseInt(f[0]), i = parseInt(f[1]), o = parseInt(f[2]), m.push(r.a100[s - 1]), g = C + 1 == 3 ? "a2" : "a1", i > 1 ? m.push(
1234
1234
  r.a20[i - 2] + (o > 0 ? " " + r[g][o - 1] : "")
1235
1235
  ) : m.push(
1236
1236
  i > 0 ? r.a10[o] : r[g][o - 1]
1237
- ), p.length > C + 1)) {
1237
+ ), x.length > C + 1)) {
1238
1238
  var S = r["u" + (C + 1)];
1239
1239
  m.push(n(_, S));
1240
1240
  }
@@ -1376,8 +1376,8 @@ function rs(e, t, n, r) {
1376
1376
  word: function(o, l, c, _) {
1377
1377
  if (_ === this.gcaseNom) return o;
1378
1378
  if (o.match(/[-]/)) {
1379
- for (var u = o.split("-"), p = 0, f = u.length; p < f; p++)
1380
- u[p] = this.word(u[p], l, c, _);
1379
+ for (var u = o.split("-"), x = 0, f = u.length; x < f; x++)
1380
+ u[x] = this.word(u[x], l, c, _);
1381
1381
  return u.join("-");
1382
1382
  }
1383
1383
  if (o.match(/^[А-ЯЁ]\.?$/i)) return o;
@@ -1388,16 +1388,16 @@ function rs(e, t, n, r) {
1388
1388
  },
1389
1389
  // выбираем из списка правил первое подходящее и применяем
1390
1390
  pick: function(o, l, c, _, u) {
1391
- let p = o.toLowerCase();
1391
+ let x = o.toLowerCase();
1392
1392
  for (var f = 0, g = _.length; f < g; f++)
1393
- if (this.ruleMatch(p, l, _[f], u))
1393
+ if (this.ruleMatch(x, l, _[f], u))
1394
1394
  return this.applyMod(o, c, _[f]);
1395
1395
  return !1;
1396
1396
  },
1397
1397
  // проверяем, подходит ли правило к слову
1398
1398
  ruleMatch: function(o, l, c, _) {
1399
1399
  if (c.sex === this.sexM && l === this.sexF || c.sex === this.sexF && l !== this.sexF) return !1;
1400
- for (var u = 0, p = c.test.length; u < p; u++) {
1400
+ for (var u = 0, x = c.test.length; u < x; u++) {
1401
1401
  var f = _ ? o : o.substr(
1402
1402
  Math.max(o.length - c.test[u].length, 0)
1403
1403
  );
@@ -1428,7 +1428,7 @@ function rs(e, t, n, r) {
1428
1428
  _ = c.mods[4];
1429
1429
  break;
1430
1430
  }
1431
- for (var u = 0, p = _.length; u < p; u++) {
1431
+ for (var u = 0, x = _.length; u < x; u++) {
1432
1432
  var f = _.substr(u, 1);
1433
1433
  switch (f) {
1434
1434
  case ".":
@@ -1517,7 +1517,16 @@ function us(e, t, n) {
1517
1517
  function fs(e, t, n, r) {
1518
1518
  return ge(e, t) ? ge(e, t)[n] : r || "";
1519
1519
  }
1520
- function ms(e, t) {
1520
+ function ms() {
1521
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
1522
+ /[xy]/g,
1523
+ function(e) {
1524
+ var t = Math.random() * 16 | 0, n = e == "x" ? t : t & 3 | 8;
1525
+ return n.toString(16);
1526
+ }
1527
+ );
1528
+ }
1529
+ function hs(e, t) {
1521
1530
  return t && (e = e === 0 ? 7 : e), {
1522
1531
  1: { name: "Понедельник", names: "Понедельника", abc: "пн" },
1523
1532
  2: { name: "Вторник", names: "Вторника", abc: "вт" },
@@ -1528,19 +1537,19 @@ function ms(e, t) {
1528
1537
  7: { name: "Воскресенье", names: "Воскресенья", abc: "вс" }
1529
1538
  }[e];
1530
1539
  }
1531
- function hs(e, t) {
1540
+ function gs(e, t) {
1532
1541
  return e.reduce(function(n, r) {
1533
1542
  let s = t instanceof Function ? t(r) : r[t];
1534
1543
  return n[s] !== void 0 || (n[s] = {}), n[s][r.id] = r, n;
1535
1544
  }, {});
1536
1545
  }
1537
- function gs(e) {
1546
+ function xs(e) {
1538
1547
  return parseInt((Date.now() - new Date(e).getTime()) / 31536e6 + "") + "";
1539
1548
  }
1540
1549
  function ps(e) {
1541
1550
  return ["number", "string"].includes(typeof e) ? !isNaN(Number(e)) && !isNaN(parseFloat(e)) : !1;
1542
1551
  }
1543
- function xs(e) {
1552
+ function vs(e) {
1544
1553
  var t = "", n = {
1545
1554
  а: "a",
1546
1555
  б: "b",
@@ -1613,43 +1622,44 @@ function xs(e) {
1613
1622
  n[e[r]] == null ? t += e[r] : t += n[e[r]];
1614
1623
  return t;
1615
1624
  }
1616
- function vs(e, t, n = !1) {
1625
+ function Cs(e, t, n = !1) {
1617
1626
  return n ? e.sort((r, s) => s[t] - r[t]) : e.sort((r, s) => r[t] - s[t]);
1618
1627
  }
1619
- function Cs(e, t) {
1628
+ function js(e, t) {
1620
1629
  return e.reduce(function(n, r) {
1621
1630
  let s = t instanceof Function ? t(r) : r[t];
1622
1631
  return n[s] !== void 0 || (n[s] = {}), n[s][r.id] = r, n;
1623
1632
  }, {});
1624
1633
  }
1625
- function js(e, t, n = !1) {
1634
+ function ks(e, t, n = !1) {
1626
1635
  return n ? e.sort(
1627
1636
  (r, s) => new Date(s[t]).getTime() - new Date(r[t]).getTime()
1628
1637
  ) : e.sort(
1629
1638
  (r, s) => new Date(r[t]).getTime() - new Date(s[t]).getTime()
1630
1639
  );
1631
1640
  }
1632
- function ks(e, t) {
1641
+ function ys(e, t) {
1633
1642
  return e.reduce((n, r) => n + (r[t] || 0), 0);
1634
1643
  }
1635
- function ys(e, t, n, r = !1) {
1644
+ function bs(e, t, n, r = !1) {
1636
1645
  return r ? e.sort((s, i) => n(i[t]) - n(s[t])) : e.sort((s, i) => n(s[t]) - n(i[t]));
1637
1646
  }
1638
- function bs(e) {
1647
+ function ws(e) {
1639
1648
  return { style: { background: `var(--color-${e})` } };
1640
1649
  }
1641
- const U = {
1642
- Age: gs,
1643
- ArraySort: vs,
1644
- ArrayGroup: Cs,
1645
- ArraySortDate: js,
1646
- ArraySortFunction: ys,
1647
- ArraySumma: ks,
1648
- Translit: xs,
1650
+ const z = {
1651
+ Age: xs,
1652
+ ArraySort: Cs,
1653
+ ArrayGroup: js,
1654
+ ArraySortDate: ks,
1655
+ ArraySortFunction: bs,
1656
+ ArraySumma: ys,
1657
+ Translit: vs,
1649
1658
  Date: Qr,
1650
- ColorBackground: bs,
1659
+ ColorBackground: ws,
1651
1660
  MoneyString: ts,
1652
1661
  DateSort: es,
1662
+ UUID: ms,
1653
1663
  Size: ns,
1654
1664
  TypeFiles: as,
1655
1665
  Cases: rs,
@@ -1662,40 +1672,40 @@ const U = {
1662
1672
  DeclensionWord: _s,
1663
1673
  Select: us,
1664
1674
  SelectParams: fs,
1665
- ObjectByArray: hs,
1675
+ ObjectByArray: gs,
1666
1676
  isNumeric: ps,
1667
- Week: ms
1677
+ Week: hs
1668
1678
  };
1669
- U.setFN = (e, t) => {
1670
- U[e] = t;
1679
+ z.setFN = (e, t) => {
1680
+ z[e] = t;
1671
1681
  };
1672
- const ws = ({ before: e, from: t = 0, to: n }) => {
1682
+ const Ss = ({ before: e, from: t = 0, to: n }) => {
1673
1683
  const r = h.useRef();
1674
1684
  return h.useEffect(() => {
1675
1685
  r.n = 0;
1676
1686
  let o = Math.round(1e3 / (n / 10)), l = setInterval(() => {
1677
1687
  r.n = r.n + 10, r.n >= n && clearInterval(l);
1678
1688
  let c = e ? e + " " : "";
1679
- r.current.textContent = `${c}` + U.Money(r.n);
1689
+ r.current.textContent = `${c}` + z.Money(r.n);
1680
1690
  }, o);
1681
1691
  }, [t, n]), /* @__PURE__ */ a.jsx("span", { ref: r });
1682
- }, ed = { Counter: ws }, Ss = "_notice_9i5tr_2", Es = "_error_9i5tr_9", Ds = "_success_9i5tr_12", Rs = "_remark_9i5tr_15", Is = "_copy_9i5tr_18", Ns = {
1683
- notice: Ss,
1684
- error: Es,
1685
- success: Ds,
1692
+ }, td = { Counter: Ss }, Es = "_notice_9i5tr_2", Ds = "_error_9i5tr_9", Is = "_success_9i5tr_12", Rs = "_remark_9i5tr_15", Ns = "_copy_9i5tr_18", Ts = {
1693
+ notice: Es,
1694
+ error: Ds,
1695
+ success: Is,
1686
1696
  remark: Rs,
1687
- copy: Is,
1697
+ copy: Ns,
1688
1698
  "show-notice": "_show-notice_9i5tr_1",
1689
1699
  "hide-notice": "_hide-notice_9i5tr_1"
1690
1700
  };
1691
1701
  let Ce = {};
1692
- function Ts() {
1702
+ function Ms() {
1693
1703
  let [e, t] = h.useState([]);
1694
1704
  return Ce.set = (n) => {
1695
1705
  t([...e, n]);
1696
1706
  }, Ce.del = (n) => {
1697
1707
  t(e.filter((r) => r.key !== n));
1698
- }, e.length === 0 ? "" : /* @__PURE__ */ a.jsx("ul", { className: Ns.notice, children: e.map((n) => n.item) });
1708
+ }, e.length === 0 ? "" : /* @__PURE__ */ a.jsx("ul", { className: Ts.notice, children: e.map((n) => n.item) });
1699
1709
  }
1700
1710
  function We({ data: e }) {
1701
1711
  let [t, n] = h.useState("show");
@@ -1730,23 +1740,23 @@ function We({ data: e }) {
1730
1740
  /* @__PURE__ */ a.jsx("p", { children: e.text })
1731
1741
  ] });
1732
1742
  }
1733
- function Ms(e) {
1743
+ function Ls(e) {
1734
1744
  let t = Date.now(), n = { key: t, ...e };
1735
1745
  Ce.set({ item: /* @__PURE__ */ a.jsx(We, { data: n }, t), key: t });
1736
1746
  }
1737
- function Ls(e) {
1747
+ function $s(e) {
1738
1748
  let t = Date.now(), n = { key: t, text: e, type: "error" };
1739
1749
  Ce.set({ item: /* @__PURE__ */ a.jsx(We, { data: n }, t), key: t });
1740
1750
  }
1741
- function $s(e) {
1751
+ function Fs(e) {
1742
1752
  let t = Date.now(), n = { key: t, text: e, type: "success" };
1743
1753
  Ce.set({ item: /* @__PURE__ */ a.jsx(We, { data: n }, t), key: t });
1744
1754
  }
1745
- function Fs(e) {
1755
+ function Bs(e) {
1746
1756
  let t = Date.now(), n = { key: t, text: e, type: "remark" };
1747
1757
  Ce.set({ item: /* @__PURE__ */ a.jsx(We, { data: n }, t), key: t });
1748
1758
  }
1749
- function Bs(e) {
1759
+ function Ps(e) {
1750
1760
  let t = Date.now(), n = { key: t, text: e, type: "copy" };
1751
1761
  Ce.set({ item: /* @__PURE__ */ a.jsx(We, { data: n }, t), key: t });
1752
1762
  }
@@ -1783,21 +1793,21 @@ ye.success = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "
1783
1793
  }
1784
1794
  )
1785
1795
  ] });
1786
- const Ps = "_alerts_1pds5_1", Os = "_menuAnimation_1pds5_1", As = "_menuItemAnimation_1pds5_1", zs = "_allert_1pds5_111", Gs = "_al_1pds5_1", bt = {
1787
- alerts: Ps,
1788
- menuAnimation: Os,
1789
- menuItemAnimation: As,
1796
+ const Os = "_alerts_1pds5_1", As = "_menuAnimation_1pds5_1", Gs = "_menuItemAnimation_1pds5_1", Zs = "_allert_1pds5_111", Us = "_al_1pds5_1", bt = {
1797
+ alerts: Os,
1798
+ menuAnimation: As,
1799
+ menuItemAnimation: Gs,
1790
1800
  "--body": "_--body_1pds5_103",
1791
- allert: zs,
1801
+ allert: Zs,
1792
1802
  "--form": "_--form_1pds5_111",
1793
- al: Gs
1803
+ al: Us
1794
1804
  };
1795
- let Ge = {};
1796
- function Zs() {
1805
+ let Ze = {};
1806
+ function zs() {
1797
1807
  let [e, t] = h.useState("");
1798
- return Ge.set = (n) => t(n), Ge.del = () => t(""), /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
1808
+ return Ze.set = (n) => t(n), Ze.del = () => t(""), /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
1799
1809
  }
1800
- const Us = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: bt.alerts, children: [
1810
+ const Ks = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: bt.alerts, children: [
1801
1811
  /* @__PURE__ */ a.jsxs("dl", { children: [
1802
1812
  /* @__PURE__ */ a.jsx("dt", { children: e.title }),
1803
1813
  /* @__PURE__ */ a.jsx("dd", { children: e.text }),
@@ -1806,7 +1816,7 @@ const Us = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === voi
1806
1816
  {
1807
1817
  "data-color": e.color || "blue",
1808
1818
  onClick: () => {
1809
- t(), Ge.del();
1819
+ t(), Ze.del();
1810
1820
  },
1811
1821
  children: e.button
1812
1822
  }
@@ -1817,17 +1827,17 @@ const Us = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === voi
1817
1827
  {
1818
1828
  className: bt["--body"],
1819
1829
  onClick: () => {
1820
- n == null || n(), Ge.del();
1830
+ n == null || n(), Ze.del();
1821
1831
  }
1822
1832
  }
1823
1833
  )
1824
1834
  ] }));
1825
- function Ks(e, t, n) {
1826
- Ge.set(
1827
- /* @__PURE__ */ a.jsx(Us, { data: e, callback: t, cancel: n })
1835
+ function Ws(e, t, n) {
1836
+ Ze.set(
1837
+ /* @__PURE__ */ a.jsx(Ks, { data: e, callback: t, cancel: n })
1828
1838
  );
1829
1839
  }
1830
- const we = { Send: Ms, Error: Ls, Remark: Fs, Success: $s, Copy: Bs }, Ae = {
1840
+ const we = { Send: Ls, Error: $s, Remark: Bs, Success: Fs, Copy: Ps }, Ae = {
1831
1841
  Path: _r,
1832
1842
  Push: ur,
1833
1843
  setPage: tr,
@@ -1848,7 +1858,7 @@ const we = { Send: Ms, Error: Ls, Remark: Fs, Success: $s, Copy: Bs }, Ae = {
1848
1858
  getId: Dn,
1849
1859
  isId: dr
1850
1860
  };
1851
- function Ws() {
1861
+ function qs() {
1852
1862
  return /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
1853
1863
  /* @__PURE__ */ a.jsx(
1854
1864
  "path",
@@ -1925,11 +1935,11 @@ function Hs() {
1925
1935
  }
1926
1936
  ) });
1927
1937
  }
1928
- const qs = "_n_euuvm_1", Vs = {
1929
- n: qs
1938
+ const Vs = "_n_euuvm_1", Js = {
1939
+ n: Vs
1930
1940
  };
1931
- let Ye = {}, Oe = [];
1932
- const Js = (e, t) => {
1941
+ let qe = {}, Oe = [];
1942
+ const Xs = (e, t) => {
1933
1943
  switch (t.type) {
1934
1944
  case "open":
1935
1945
  return {
@@ -1970,7 +1980,7 @@ const Js = (e, t) => {
1970
1980
  r = { ...e.take, ...r }, e.active = !1;
1971
1981
  for (let s in r)
1972
1982
  r[s] !== "999" && (e.active = !0);
1973
- return Ye.get(r, e.active), {
1983
+ return qe.get(r, e.active), {
1974
1984
  ...e,
1975
1985
  take: r,
1976
1986
  active: e.active
@@ -1981,27 +1991,27 @@ const Js = (e, t) => {
1981
1991
  throw new Error();
1982
1992
  }
1983
1993
  };
1984
- function Xs(e) {
1985
- Ye.fn({ action: "add", data: e });
1986
- }
1987
1994
  function Qs(e) {
1988
- Ye.fn({ action: "add", data: e });
1995
+ qe.fn({ action: "add", data: e });
1989
1996
  }
1990
1997
  function ei(e) {
1991
- Ye.fn({ action: "new", data: e });
1998
+ qe.fn({ action: "add", data: e });
1992
1999
  }
1993
2000
  function ti(e) {
1994
- Ye.fn = e;
2001
+ qe.fn({ action: "new", data: e });
2002
+ }
2003
+ function ni(e) {
2004
+ qe.fn = e;
1995
2005
  }
1996
- function ni() {
1997
- const [e, t] = h.useReducer(Js, {
2006
+ function ai() {
2007
+ const [e, t] = h.useReducer(Xs, {
1998
2008
  open: !1,
1999
2009
  active: !1,
2000
2010
  news: [],
2001
2011
  take: {}
2002
2012
  });
2003
- pe.useListener("bell", async (r) => {
2004
- }), ti(async (r) => {
2013
+ xe.useListener("bell", async (r) => {
2014
+ }), ni(async (r) => {
2005
2015
  switch (r.action) {
2006
2016
  case "add":
2007
2017
  Oe.push(r.data);
@@ -2009,7 +2019,7 @@ function ni() {
2009
2019
  }
2010
2020
  }), h.useEffect(() => {
2011
2021
  (async () => {
2012
- let r = await pe.Send({
2022
+ let r = await xe.Send({
2013
2023
  type: "module",
2014
2024
  module: "M00",
2015
2025
  query: "x0054",
@@ -2065,11 +2075,11 @@ function ni() {
2065
2075
  /* @__PURE__ */ a.jsx(
2066
2076
  "div",
2067
2077
  {
2068
- className: Vs.n,
2078
+ className: Js.n,
2069
2079
  onClick: () => {
2070
2080
  t({ type: "open", open: !0 });
2071
2081
  },
2072
- children: e.active ? /* @__PURE__ */ a.jsx(Ys, {}) : /* @__PURE__ */ a.jsx(Ws, {})
2082
+ children: e.active ? /* @__PURE__ */ a.jsx(Ys, {}) : /* @__PURE__ */ a.jsx(qs, {})
2073
2083
  }
2074
2084
  ),
2075
2085
  e.open ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -2084,7 +2094,7 @@ function ni() {
2084
2094
  ),
2085
2095
  /* @__PURE__ */ a.jsxs("div", { className: "notify-m", children: [
2086
2096
  /* @__PURE__ */ a.jsx("div", { className: "notify-l", children: e.news.map((r, s) => /* @__PURE__ */ a.jsx(
2087
- ai,
2097
+ ri,
2088
2098
  {
2089
2099
  data: r,
2090
2100
  dispatch: t
@@ -2096,9 +2106,9 @@ function ni() {
2096
2106
  ] }) : ""
2097
2107
  ] });
2098
2108
  }
2099
- const ai = ({ data: e, dispatch: t }) => {
2109
+ const ri = ({ data: e, dispatch: t }) => {
2100
2110
  let n = async (r) => {
2101
- t({ type: "hide", id: r.id }), await pe.Send({
2111
+ t({ type: "hide", id: r.id }), await xe.Send({
2102
2112
  type: "module",
2103
2113
  module: "M00",
2104
2114
  query: "x0055",
@@ -2113,24 +2123,24 @@ const ai = ({ data: e, dispatch: t }) => {
2113
2123
  ] }),
2114
2124
  /* @__PURE__ */ a.jsx("div", { className: "--hide", "data-icon": "F038", onClick: () => n(e), children: " " })
2115
2125
  ] });
2116
- }, ri = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2xldCBhPVtdLHM9bnVsbDtvbmNvbm5lY3Q9ZnVuY3Rpb24obCl7dmFyIHQ9bC5zb3VyY2U7YS5wdXNoKHQpO2NvbnN0IG49ZT0+e3MhPT1udWxsJiZzLnJlYWR5U3RhdGU9PT0xP3Muc2VuZChKU09OLnN0cmluZ2lmeShlKSk6dC5wb3N0TWVzc2FnZSh7dHlwZToibm9TZW5kIn0pfTtsZXQgcj1lPT57aWYocyE9PW51bGwmJnMucmVhZHlTdGF0ZT09PTEpcmV0dXJuIHQucG9zdE1lc3NhZ2Uoe3R5cGU6InRydWUifSk7ZS5say5hZGRyZXNzPT09ImxvY2FsaG9zdCI/cz1uZXcgV2ViU29ja2V0KGB3czovL2xvY2FsaG9zdDoke2UubGsuc29ja2V0KzF9YCk6cz1uZXcgV2ViU29ja2V0KCJ3c3M6Ly8iK2UubGsuYWRkcmVzcysiOiIrKGUubGsuc29ja2V0KzEpKSxzLm9uZXJyb3I9KCk9PnQucG9zdE1lc3NhZ2Uoe3R5cGU6ImVycm9yIn0pLHMub25vcGVuPSgpPT57bih7dHlwZToiY29ubmVjdCIsdWtleTplLnVrZXl9KX0scy5vbm1lc3NhZ2U9bz0+e2xldCBjPUpTT04ucGFyc2Uoby5kYXRhKTthLmZvckVhY2goZD0+e2QucG9zdE1lc3NhZ2UoYyl9KX0scy5vbmNsb3NlPSgpPT50LnBvc3RNZXNzYWdlKHt0eXBlOiJjbG9zZWQifSl9O3Qub25tZXNzYWdlPWZ1bmN0aW9uKGUpe3N3aXRjaChlLmRhdGEudHlwZSl7Y2FzZSJsZW5ndGgiOnJldHVybiB0LnBvc3RNZXNzYWdlKGEubGVuZ3RoKTtjYXNlImFsbCI6cmV0dXJuIGEuZm9yRWFjaChvPT5vLnBvc3RNZXNzYWdlKHthbGw6YS5sZW5ndGh9KSk7Y2FzZSJzZW5kIjpyZXR1cm4gbihlLmRhdGEuanNvbik7Y2FzZSJjb25uZWN0IjpyZXR1cm4gcihlLmRhdGEpO2RlZmF1bHQ6dC5wb3N0TWVzc2FnZSh7dHlwZToiZGVmYXVsdCIsZGF0YTplLmRhdGEuanNvbn0pfX19fSkoKTsK";
2117
- function si(e) {
2126
+ }, si = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2xldCBhPVtdLHM9bnVsbDtvbmNvbm5lY3Q9ZnVuY3Rpb24obCl7dmFyIHQ9bC5zb3VyY2U7YS5wdXNoKHQpO2NvbnN0IG49ZT0+e3MhPT1udWxsJiZzLnJlYWR5U3RhdGU9PT0xP3Muc2VuZChKU09OLnN0cmluZ2lmeShlKSk6dC5wb3N0TWVzc2FnZSh7dHlwZToibm9TZW5kIn0pfTtsZXQgcj1lPT57aWYocyE9PW51bGwmJnMucmVhZHlTdGF0ZT09PTEpcmV0dXJuIHQucG9zdE1lc3NhZ2Uoe3R5cGU6InRydWUifSk7ZS5say5hZGRyZXNzPT09ImxvY2FsaG9zdCI/cz1uZXcgV2ViU29ja2V0KGB3czovL2xvY2FsaG9zdDoke2UubGsuc29ja2V0KzF9YCk6cz1uZXcgV2ViU29ja2V0KCJ3c3M6Ly8iK2UubGsuYWRkcmVzcysiOiIrKGUubGsuc29ja2V0KzEpKSxzLm9uZXJyb3I9KCk9PnQucG9zdE1lc3NhZ2Uoe3R5cGU6ImVycm9yIn0pLHMub25vcGVuPSgpPT57bih7dHlwZToiY29ubmVjdCIsdWtleTplLnVrZXl9KX0scy5vbm1lc3NhZ2U9bz0+e2xldCBjPUpTT04ucGFyc2Uoby5kYXRhKTthLmZvckVhY2goZD0+e2QucG9zdE1lc3NhZ2UoYyl9KX0scy5vbmNsb3NlPSgpPT50LnBvc3RNZXNzYWdlKHt0eXBlOiJjbG9zZWQifSl9O3Qub25tZXNzYWdlPWZ1bmN0aW9uKGUpe3N3aXRjaChlLmRhdGEudHlwZSl7Y2FzZSJsZW5ndGgiOnJldHVybiB0LnBvc3RNZXNzYWdlKGEubGVuZ3RoKTtjYXNlImFsbCI6cmV0dXJuIGEuZm9yRWFjaChvPT5vLnBvc3RNZXNzYWdlKHthbGw6YS5sZW5ndGh9KSk7Y2FzZSJzZW5kIjpyZXR1cm4gbihlLmRhdGEuanNvbik7Y2FzZSJjb25uZWN0IjpyZXR1cm4gcihlLmRhdGEpO2RlZmF1bHQ6dC5wb3N0TWVzc2FnZSh7dHlwZToiZGVmYXVsdCIsZGF0YTplLmRhdGEuanNvbn0pfX19fSkoKTsK";
2127
+ function ii(e) {
2118
2128
  return new SharedWorker(
2119
- "data:text/javascript;base64," + ri,
2129
+ "data:text/javascript;base64," + si,
2120
2130
  {
2121
2131
  name: e == null ? void 0 : e.name
2122
2132
  }
2123
2133
  );
2124
2134
  }
2125
- function ii(e) {
2135
+ function oi(e) {
2126
2136
  let t = {}, n = {};
2127
2137
  e.data.forEach((s) => {
2128
2138
  t[s.id] = { s: s.v, n: s.a }, n[s.id] = s;
2129
2139
  });
2130
2140
  let r = { ...ge(), 901: t };
2131
- Nn(n), Ue(r);
2141
+ Nn(n), ze(r);
2132
2142
  }
2133
- function oi() {
2143
+ function li() {
2134
2144
  let e = Tn(), t = {};
2135
2145
  return Object.keys(e).forEach((n) => {
2136
2146
  t[e[n].id] = {}, t[e[n].id].name = e[n].a;
@@ -2146,10 +2156,10 @@ let de = {}, Q = {}, Qe = [
2146
2156
  "info",
2147
2157
  "job"
2148
2158
  ];
2149
- function li() {
2159
+ function ci() {
2150
2160
  const [e, t] = h.useState(!1), [n, r] = h.useState(!1);
2151
2161
  function s(i) {
2152
- const o = new si();
2162
+ const o = new ii();
2153
2163
  de.laodData = (l) => {
2154
2164
  let c = Qe.indexOf(l);
2155
2165
  c >= 0 && Qe.splice(c, 1), Qe.length === 0 && t(!0);
@@ -2173,11 +2183,11 @@ function li() {
2173
2183
  Q.module = (e) => {
2174
2184
  de[e.listen] !== void 0 && (de[e.listen](e), delete de[e.listen]);
2175
2185
  };
2176
- Q.bell = ei;
2177
- Q.company = ii;
2186
+ Q.bell = ti;
2187
+ Q.company = oi;
2178
2188
  Q.info = (e) => {
2179
2189
  let t = {};
2180
- 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"), Mn(t), Rn(e.data.menu);
2190
+ 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"), Mn(t), In(e.data.menu);
2181
2191
  };
2182
2192
  Q.version = async (e) => {
2183
2193
  it.version.Server(e.data);
@@ -2217,7 +2227,7 @@ Q.users = (e) => {
2217
2227
  };
2218
2228
  });
2219
2229
  let n = { ...ge(), user: t };
2220
- Ue(n);
2230
+ ze(n);
2221
2231
  };
2222
2232
  Q.api = (e) => {
2223
2233
  let t = {};
@@ -2232,25 +2242,25 @@ Q.select = (e) => {
2232
2242
  let t = { ...ge() };
2233
2243
  e.data.forEach((n) => {
2234
2244
  t[n.n] = JSON.parse(n.s);
2235
- }), Ue(t);
2245
+ }), ze(t);
2236
2246
  };
2237
2247
  Q.job = (e) => {
2238
2248
  let t = { ...ge() }, n = {};
2239
2249
  Object.keys(e.data).forEach((r) => {
2240
2250
  n[r] = { s: 1, n: e.data[r] };
2241
- }), t[1] = n, Ue(t);
2251
+ }), t[1] = n, ze(t);
2242
2252
  };
2243
2253
  Q.setting = (e) => {
2244
2254
  fr(e.data);
2245
2255
  };
2246
2256
  Q.app = () => {
2247
2257
  };
2248
- const ci = (e, t) => {
2258
+ const di = (e, t) => {
2249
2259
  de[e] = t;
2250
- }, di = (e, t) => {
2260
+ }, _i = (e, t) => {
2251
2261
  de[e](t);
2252
2262
  };
2253
- function _i(e) {
2263
+ function ui(e) {
2254
2264
  let t = "_" + String(Math.random()).substring(2, 7);
2255
2265
  return new Promise((n) => {
2256
2266
  de[t] = (r) => {
@@ -2258,67 +2268,67 @@ function _i(e) {
2258
2268
  }, e = { ...e, listen: t }, e.type = "modules", de.send(e);
2259
2269
  });
2260
2270
  }
2261
- const pe = { useConnect: li, useListener: ci, setListener: di, Send: _i };
2262
- function ui({ children: e }) {
2271
+ const xe = { useConnect: ci, useListener: di, setListener: _i, Send: ui };
2272
+ function fi({ children: e }) {
2263
2273
  return /* @__PURE__ */ a.jsx("div", { className: "l", children: /* @__PURE__ */ a.jsx("ul", { children: e }) });
2264
2274
  }
2265
- const fi = "_white_fz1h1_14", mi = "_black_fz1h1_26", hi = "_shake_fz1h1_1", gi = "_modal_fz1h1_73", pi = "_o_fz1h1_83", xi = "_w_fz1h1_14", vi = "_h_fz1h1_107", Ci = "_l_fz1h1_121", ji = "_t_fz1h1_159", ki = "_m_fz1h1_73", yi = "_x_fz1h1_167", bi = "_s_fz1h1_177", wi = "_c_fz1h1_182", Si = "_f_fz1h1_187", Ei = "_row_fz1h1_209", Di = "_col_fz1h1_221", Ri = "_g_fz1h1_230", Ii = "_active_fz1h1_349", Ni = "_coincidence_fz1h1_355", Ti = "_sa_fz1h1_391", Mi = "_ss_fz1h1_395", Li = "_sm_fz1h1_399", $i = "_sl_fz1h1_403", Fi = "_sx_fz1h1_407", Bi = "_sf_fz1h1_411", Pi = "_btn_fz1h1_417", te = {
2266
- white: fi,
2267
- black: mi,
2268
- shake: hi,
2269
- modal: gi,
2275
+ const mi = "_white_1qr0c_14", hi = "_black_1qr0c_26", gi = "_shake_1qr0c_1", xi = "_modal_1qr0c_73", pi = "_o_1qr0c_83", vi = "_w_1qr0c_14", Ci = "_h_1qr0c_107", ji = "_l_1qr0c_121", ki = "_t_1qr0c_159", yi = "_m_1qr0c_73", bi = "_x_1qr0c_167", wi = "_s_1qr0c_177", Si = "_c_1qr0c_182", Ei = "_f_1qr0c_187", Di = "_row_1qr0c_209", Ii = "_col_1qr0c_221", Ri = "_g_1qr0c_230", Ni = "_active_1qr0c_350", Ti = "_coincidence_1qr0c_356", Mi = "_sa_1qr0c_392", Li = "_ss_1qr0c_396", $i = "_sm_1qr0c_400", Fi = "_sl_1qr0c_404", Bi = "_sx_1qr0c_408", Pi = "_sf_1qr0c_412", Oi = "_btn_1qr0c_418", te = {
2276
+ white: mi,
2277
+ black: hi,
2278
+ shake: gi,
2279
+ modal: xi,
2270
2280
  o: pi,
2271
- w: xi,
2272
- h: vi,
2273
- l: Ci,
2274
- t: ji,
2275
- m: ki,
2276
- x: yi,
2277
- s: bi,
2278
- c: wi,
2279
- f: Si,
2280
- row: Ei,
2281
- col: Di,
2281
+ w: vi,
2282
+ h: Ci,
2283
+ l: ji,
2284
+ t: ki,
2285
+ m: yi,
2286
+ x: bi,
2287
+ s: wi,
2288
+ c: Si,
2289
+ f: Ei,
2290
+ row: Di,
2291
+ col: Ii,
2282
2292
  g: Ri,
2283
- "size-a": "_size-a_fz1h1_280",
2284
- "size-s": "_size-s_fz1h1_284",
2285
- "size-m": "_size-m_fz1h1_288",
2286
- "size-l": "_size-l_fz1h1_292",
2287
- "size-x": "_size-x_fz1h1_296",
2288
- "size-f": "_size-f_fz1h1_300",
2289
- active: Ii,
2290
- coincidence: Ni,
2291
- sa: Ti,
2292
- ss: Mi,
2293
- sm: Li,
2294
- sl: $i,
2295
- sx: Fi,
2296
- sf: Bi,
2297
- btn: Pi
2293
+ "size-a": "_size-a_1qr0c_280",
2294
+ "size-s": "_size-s_1qr0c_285",
2295
+ "size-m": "_size-m_1qr0c_289",
2296
+ "size-l": "_size-l_1qr0c_293",
2297
+ "size-x": "_size-x_1qr0c_297",
2298
+ "size-f": "_size-f_1qr0c_301",
2299
+ active: Ni,
2300
+ coincidence: Ti,
2301
+ sa: Mi,
2302
+ ss: Li,
2303
+ sm: $i,
2304
+ sl: Fi,
2305
+ sx: Bi,
2306
+ sf: Pi,
2307
+ btn: Oi
2298
2308
  };
2299
- function Oi({ children: e }) {
2309
+ function Ai({ children: e }) {
2300
2310
  return /* @__PURE__ */ a.jsx("div", { className: te.s, children: e });
2301
2311
  }
2302
- function Ai({ children: e, viev: t = "row", className: n }) {
2312
+ function Gi({ children: e, viev: t = "row", className: n }) {
2303
2313
  let r = {};
2304
2314
  return n && (r.className = n), /* @__PURE__ */ a.jsx("ul", { className: [te.f, te[t], r.className].join(" "), children: e });
2305
2315
  }
2306
- function zi({ children: e }) {
2316
+ function Zi({ children: e }) {
2307
2317
  return /* @__PURE__ */ a.jsx("div", { className: te.c, children: e });
2308
2318
  }
2309
- function Gi({ children: e }) {
2319
+ function Ui({ children: e }) {
2310
2320
  return /* @__PURE__ */ a.jsx("div", { className: te.g, children: e });
2311
2321
  }
2312
- const Zi = "_btn_1d6a6_6", Ui = "_confirm_1d6a6_20", Ki = "_cancel_1d6a6_25", Wi = "_disabled_1d6a6_30", Yi = "_m_1d6a6_44", Hi = "_l_1d6a6_48", et = {
2313
- btn: Zi,
2314
- confirm: Ui,
2315
- cancel: Ki,
2316
- disabled: Wi,
2322
+ const zi = "_btn_1d6a6_6", Ki = "_confirm_1d6a6_20", Wi = "_cancel_1d6a6_25", qi = "_disabled_1d6a6_30", Yi = "_m_1d6a6_44", Hi = "_l_1d6a6_48", et = {
2323
+ btn: zi,
2324
+ confirm: Ki,
2325
+ cancel: Wi,
2326
+ disabled: qi,
2317
2327
  await: "_await_1d6a6_37",
2318
2328
  m: Yi,
2319
2329
  l: Hi
2320
2330
  };
2321
- function qi({
2331
+ function Vi({
2322
2332
  onClick: e,
2323
2333
  onSend: t,
2324
2334
  size: n = "m",
@@ -2329,9 +2339,9 @@ function qi({
2329
2339
  onRef: l
2330
2340
  }) {
2331
2341
  let [c, _] = h.useState(!1);
2332
- const u = (p) => {
2342
+ const u = (x) => {
2333
2343
  if (e) return e();
2334
- c || (t ? (_(!0), t(_)) : p.preventDefault());
2344
+ c || (t ? (_(!0), t(_)) : x.preventDefault());
2335
2345
  };
2336
2346
  return /* @__PURE__ */ a.jsx(
2337
2347
  "button",
@@ -2349,7 +2359,7 @@ function qi({
2349
2359
  );
2350
2360
  }
2351
2361
  let rt = {};
2352
- function Vi() {
2362
+ function Ji() {
2353
2363
  let [e, t] = h.useState([]);
2354
2364
  return rt.x = (n) => {
2355
2365
  n || t([]);
@@ -2357,7 +2367,7 @@ function Vi() {
2357
2367
  t([...e, n]);
2358
2368
  }, /* @__PURE__ */ a.jsx(a.Fragment, { children: e.map((n) => n) });
2359
2369
  }
2360
- function Ji({
2370
+ function Xi({
2361
2371
  title: e,
2362
2372
  children: t,
2363
2373
  button: n,
@@ -2376,7 +2386,7 @@ function Ji({
2376
2386
  disabled: f
2377
2387
  });
2378
2388
  }
2379
- }, p = () => {
2389
+ }, x = () => {
2380
2390
  _.current.setAttribute("shake", !0), setTimeout(() => {
2381
2391
  _.current.setAttribute("shake", !1);
2382
2392
  }, 1e3);
@@ -2386,7 +2396,7 @@ function Ji({
2386
2396
  {
2387
2397
  className: `${te.modal} ${te.white}`,
2388
2398
  children: [
2389
- /* @__PURE__ */ a.jsx("div", { className: te.o, onClick: p }),
2399
+ /* @__PURE__ */ a.jsx("div", { className: te.o, onClick: x }),
2390
2400
  /* @__PURE__ */ a.jsxs(
2391
2401
  "div",
2392
2402
  {
@@ -2433,7 +2443,7 @@ function Ji({
2433
2443
  ] }),
2434
2444
  t,
2435
2445
  n !== void 0 ? /* @__PURE__ */ a.jsx(
2436
- qi,
2446
+ Vi,
2437
2447
  {
2438
2448
  label: n.label,
2439
2449
  onSend: u,
@@ -2447,20 +2457,20 @@ function Ji({
2447
2457
  }
2448
2458
  ) : "" });
2449
2459
  }
2450
- function Xi(e) {
2451
- rt.add(/* @__PURE__ */ a.jsx(Qi, { children: e }, String(Date.now())));
2460
+ function Qi(e) {
2461
+ rt.add(/* @__PURE__ */ a.jsx(eo, { children: e }, String(Date.now())));
2452
2462
  }
2453
- function Qi({ children: e }) {
2463
+ function eo({ children: e }) {
2454
2464
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
2455
2465
  }
2456
- function eo(e) {
2466
+ function to(e) {
2457
2467
  if (e.target.classList[0] !== "modal") return;
2458
2468
  let t = e.target.children[0];
2459
2469
  t.setAttribute("shake", !0), setTimeout(() => {
2460
2470
  t.setAttribute("shake", !1);
2461
2471
  }, 1e3);
2462
2472
  }
2463
- function to({ type: e, name: t, params: n }) {
2473
+ function no({ type: e, name: t, params: n }) {
2464
2474
  let [r, s] = h.useState(null);
2465
2475
  return h.useEffect(() => {
2466
2476
  st(`${e}/modal/${t}.tsx`).then((i) => {
@@ -2468,26 +2478,26 @@ function to({ type: e, name: t, params: n }) {
2468
2478
  });
2469
2479
  }, [n.id]), /* @__PURE__ */ a.jsx(a.Fragment, { children: r });
2470
2480
  }
2471
- function no(e, t, n) {
2481
+ function ao(e, t, n) {
2472
2482
  st(`${e}/modal/${t}.tsx`).then((r) => {
2473
2483
  r.default.Open(n);
2474
2484
  });
2475
2485
  }
2476
- function ao(e) {
2486
+ function ro(e) {
2477
2487
  rt.x(e);
2478
2488
  }
2479
2489
  const ot = {
2480
- List: ui,
2481
- Scroll: Oi,
2482
- Main: Ji,
2483
- Add: Xi,
2484
- Icon: to,
2485
- Open: no,
2486
- Shake: eo,
2487
- Form: Ai,
2488
- Center: zi,
2489
- Close: ao,
2490
- Column: Gi
2490
+ List: fi,
2491
+ Scroll: Ai,
2492
+ Main: Xi,
2493
+ Add: Qi,
2494
+ Icon: no,
2495
+ Open: ao,
2496
+ Shake: to,
2497
+ Form: Gi,
2498
+ Center: Zi,
2499
+ Close: ro,
2500
+ Column: Ui
2491
2501
  };
2492
2502
  function Bn({ text: e, type: t, button: n }) {
2493
2503
  let [r, s] = h.useState(!1), i = { active: t };
@@ -2521,22 +2531,22 @@ function Bn({ text: e, type: t, button: n }) {
2521
2531
  n && /* @__PURE__ */ a.jsx("button", { onClick: o, children: n.label })
2522
2532
  ] });
2523
2533
  }
2524
- const ro = "_h_1usnu_1", so = "_g_1usnu_11", io = "_hr_1usnu_16", oo = "_hl_1usnu_28", lo = "_t_1usnu_40", co = "_s_1usnu_60", _o = "_u_1usnu_69", uo = "_o_1usnu_76", fo = "_l_1usnu_105", mo = "_hh_1usnu_115", ho = "_c_1usnu_128", go = "_loadingB_1usnu_1", po = "_m_1usnu_180", xo = "_ul_1usnu_196", vo = "_f_1usnu_226", re = {
2525
- h: ro,
2526
- g: so,
2527
- hr: io,
2528
- hl: oo,
2529
- t: lo,
2530
- s: co,
2531
- u: _o,
2532
- o: uo,
2533
- l: fo,
2534
- hh: mo,
2535
- c: ho,
2536
- loadingB: go,
2534
+ const so = "_h_1usnu_1", io = "_g_1usnu_11", oo = "_hr_1usnu_16", lo = "_hl_1usnu_28", co = "_t_1usnu_40", _o = "_s_1usnu_60", uo = "_u_1usnu_69", fo = "_o_1usnu_76", mo = "_l_1usnu_105", ho = "_hh_1usnu_115", go = "_c_1usnu_128", xo = "_loadingB_1usnu_1", po = "_m_1usnu_180", vo = "_ul_1usnu_196", Co = "_f_1usnu_226", re = {
2535
+ h: so,
2536
+ g: io,
2537
+ hr: oo,
2538
+ hl: lo,
2539
+ t: co,
2540
+ s: _o,
2541
+ u: uo,
2542
+ o: fo,
2543
+ l: mo,
2544
+ hh: ho,
2545
+ c: go,
2546
+ loadingB: xo,
2537
2547
  m: po,
2538
- ul: xo,
2539
- f: vo
2548
+ ul: vo,
2549
+ f: Co
2540
2550
  }, fn = ({ title: e, left: t, right: n, children: r }) => /* @__PURE__ */ a.jsxs("div", { className: re.h, children: [
2541
2551
  /* @__PURE__ */ a.jsx("div", { className: re.t, children: e }),
2542
2552
  t && /* @__PURE__ */ a.jsx("div", { className: re.hl, children: t }),
@@ -2546,29 +2556,29 @@ const ro = "_h_1usnu_1", so = "_g_1usnu_11", io = "_hr_1usnu_16", oo = "_hl_1usn
2546
2556
  const n = {};
2547
2557
  return t && (n.edit = ""), /* @__PURE__ */ a.jsx("div", { ...n, className: re.f, children: e });
2548
2558
  };
2549
- function pn({ children: e }) {
2559
+ function xn({ children: e }) {
2550
2560
  return /* @__PURE__ */ a.jsx("div", { className: re.g, children: e });
2551
2561
  }
2552
- const Co = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("div", { className: [re.o, t].join(" "), children: [
2562
+ const jo = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("div", { className: [re.o, t].join(" "), children: [
2553
2563
  n && /* @__PURE__ */ a.jsx("div", { className: re.hh, children: n }),
2554
2564
  e
2555
- ] }), jo = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.u, children: e }), ko = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.c, children: e }), yo = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.m, children: e }), xn = {
2565
+ ] }), ko = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.u, children: e }), yo = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.c, children: e }), bo = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.m, children: e }), pn = {
2556
2566
  Header: fn,
2557
2567
  Section: hn,
2558
- Group: pn,
2568
+ Group: xn,
2559
2569
  Form: gn,
2560
2570
  List: mn,
2561
2571
  A: Bn,
2562
- U: jo,
2563
- G: pn,
2564
- C: ko,
2572
+ U: ko,
2573
+ G: xn,
2574
+ C: yo,
2565
2575
  L: mn,
2566
- O: Co,
2576
+ O: jo,
2567
2577
  S: hn,
2568
2578
  H: fn,
2569
- M: yo,
2579
+ M: bo,
2570
2580
  F: gn
2571
- }, bo = (e, t) => {
2581
+ }, wo = (e, t) => {
2572
2582
  switch (t.type) {
2573
2583
  case "load":
2574
2584
  return {
@@ -2629,14 +2639,14 @@ const Co = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2629
2639
  default:
2630
2640
  return e;
2631
2641
  }
2632
- }, wo = () => ({
2642
+ }, So = () => ({
2633
2643
  load: !0,
2634
2644
  list: [],
2635
2645
  name: "Файлы",
2636
2646
  add: !1,
2637
2647
  search: !1,
2638
2648
  revers: !0
2639
- }), So = () => {
2649
+ }), Eo = () => {
2640
2650
  let [e, t] = h.useState([]);
2641
2651
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: e.length !== 0 ? /* @__PURE__ */ a.jsxs("div", { className: "upload view", children: [
2642
2652
  /* @__PURE__ */ a.jsxs("div", { className: "--head", children: [
@@ -2652,17 +2662,17 @@ const Co = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2652
2662
  ] }),
2653
2663
  /* @__PURE__ */ a.jsx("div", { className: "--list", children: e.map((n) => n) })
2654
2664
  ] }) : "" });
2655
- }, Eo = ({
2665
+ }, Do = ({
2656
2666
  id: e,
2657
2667
  name: t,
2658
2668
  listen: n,
2659
2669
  dir: r
2660
2670
  }) => {
2661
2671
  t = t || "Файлы";
2662
- const [s, i] = h.useReducer(bo, {}, wo), o = () => {
2672
+ const [s, i] = h.useReducer(wo, {}, So), o = () => {
2663
2673
  ot.Add(
2664
2674
  /* @__PURE__ */ a.jsx(
2665
- Do,
2675
+ Io,
2666
2676
  {
2667
2677
  dir: r,
2668
2678
  dispatch: i,
@@ -2674,7 +2684,7 @@ const Co = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2674
2684
  };
2675
2685
  return h.useEffect(() => {
2676
2686
  (async () => {
2677
- let l = await pe.Send({
2687
+ let l = await xe.Send({
2678
2688
  type: "module",
2679
2689
  module: "M09",
2680
2690
  query: "x0900",
@@ -2682,10 +2692,10 @@ const Co = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2682
2692
  });
2683
2693
  i({ type: "load", list: l });
2684
2694
  })();
2685
- }, [e, r]), /* @__PURE__ */ a.jsxs(xn.O, { children: [
2695
+ }, [e, r]), /* @__PURE__ */ a.jsxs(pn.O, { children: [
2686
2696
  " ",
2687
2697
  /* @__PURE__ */ a.jsx(
2688
- xn.H,
2698
+ pn.H,
2689
2699
  {
2690
2700
  title: t,
2691
2701
  right: /* @__PURE__ */ a.jsx(
@@ -2713,7 +2723,7 @@ const Co = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2713
2723
  /* @__PURE__ */ a.jsx("i", {})
2714
2724
  ] }) : s.list.length === 0 ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : s.list.map((l, c) => /* @__PURE__ */ a.jsx(Ro, { dispatch: i, data: l }, c)) })
2715
2725
  ] });
2716
- }, Do = ({ id: e, dir: t, dispatch: n }) => {
2726
+ }, Io = ({ id: e, dir: t, dispatch: n }) => {
2717
2727
  let [r, s] = h.useState(!0), i = h.useRef(null), o = (_) => {
2718
2728
  _.preventDefault(), _.stopPropagation();
2719
2729
  }, l = (_) => {
@@ -2785,8 +2795,8 @@ const Co = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2785
2795
  })).json()).status === "success" && (t({ type: "delete", id: e.id }), we.Send({ type: "success", text: "Файл успешно удалён" }));
2786
2796
  };
2787
2797
  return /* @__PURE__ */ a.jsxs("li", { children: [
2788
- /* @__PURE__ */ a.jsx("div", { className: "f035", children: U.TypeFiles(e.type) }),
2789
- /* @__PURE__ */ a.jsx("div", { className: "f100", children: U.Date(e.uDate, "dd.mm.yy") }),
2798
+ /* @__PURE__ */ a.jsx("div", { className: "f035", children: z.TypeFiles(e.type) }),
2799
+ /* @__PURE__ */ a.jsx("div", { className: "f100", children: z.Date(e.uDate, "dd.mm.yy") }),
2790
2800
  /* @__PURE__ */ a.jsx("div", { className: "f000", children: e.name }),
2791
2801
  /* @__PURE__ */ a.jsxs("div", { className: "f050 flex button", children: [
2792
2802
  /* @__PURE__ */ a.jsx(
@@ -2808,18 +2818,18 @@ const Co = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2808
2818
  }
2809
2819
  )
2810
2820
  ] }),
2811
- /* @__PURE__ */ a.jsx("div", { className: "f080", children: U.Size(e.size) })
2821
+ /* @__PURE__ */ a.jsx("div", { className: "f080", children: z.Size(e.size) })
2812
2822
  ] });
2813
2823
  }, $t = { setSetting: mr, getSetting: hr };
2814
- let Y = {};
2815
- Y.list = wr();
2816
- Y.active = null;
2817
- const Io = () => {
2824
+ let q = {};
2825
+ q.list = wr();
2826
+ q.active = null;
2827
+ const No = () => {
2818
2828
  var s;
2819
2829
  let [e, t] = h.useState([]), [n, r] = h.useState($t.getSetting("s03"));
2820
2830
  return h.useEffect(() => {
2821
2831
  (async () => {
2822
- let i = Object.keys(Y.list);
2832
+ let i = Object.keys(q.list);
2823
2833
  if (i.length !== 0) {
2824
2834
  let o = [];
2825
2835
  i.forEach((l, c) => {
@@ -2827,24 +2837,24 @@ const Io = () => {
2827
2837
  item: /* @__PURE__ */ a.jsx(
2828
2838
  wt,
2829
2839
  {
2830
- data: Y.list[l]
2840
+ data: q.list[l]
2831
2841
  },
2832
- Y.list[l].id
2842
+ q.list[l].id
2833
2843
  ),
2834
- link: Y.list[l].link
2844
+ link: q.list[l].link
2835
2845
  });
2836
2846
  }), t(o);
2837
2847
  }
2838
2848
  })();
2839
- }, []), Y.active = (i) => {
2849
+ }, []), q.active = (i) => {
2840
2850
  var o;
2841
2851
  r(i), (o = document.querySelector("app-body")) == null || o.setAttribute("bookmarks", i === 1 ? "bottom" : "");
2842
- }, Y.set = (i) => {
2852
+ }, q.set = (i) => {
2843
2853
  t([
2844
2854
  ...e,
2845
2855
  { item: /* @__PURE__ */ a.jsx(wt, { data: i }, i.id), link: i.link }
2846
2856
  ]);
2847
- }, Y.del = (i) => {
2857
+ }, q.del = (i) => {
2848
2858
  e.forEach((o, l) => {
2849
2859
  o.link === i && e.splice(l, 1);
2850
2860
  }), t([...e]);
@@ -2852,15 +2862,15 @@ const Io = () => {
2852
2862
  "bookmarks",
2853
2863
  n === 1 && e.length !== 0 ? "bottom" : ""
2854
2864
  ), n !== 0 ? /* @__PURE__ */ a.jsx(a.Fragment, { children: e.length !== 0 ? /* @__PURE__ */ a.jsx("div", { className: "bookmarks", children: e.map((i) => i.item) }) : "" }) : "";
2855
- }, No = ({ id: e, type: t, name: n }) => {
2865
+ }, To = ({ id: e, type: t, name: n }) => {
2856
2866
  let r = t + "-" + e, [s, i] = h.useState(
2857
- Y.list[r] !== void 0
2867
+ q.list[r] !== void 0
2858
2868
  );
2859
2869
  h.useEffect(() => {
2860
- i(Y.list[r] !== void 0);
2870
+ i(q.list[r] !== void 0);
2861
2871
  }, [r]);
2862
2872
  let o = () => {
2863
- Y.list[r] !== void 0 ? (Y.del(r), delete Y.list[r], ln(Y.list), i(!1), we.Send({ type: "success", text: "Запись удален из закладок" })) : (Y.list[r] = { id: e, name: n, type: t, link: r }, Y.set(Y.list[r]), ln(Y.list), i(!0), we.Send({
2873
+ q.list[r] !== void 0 ? (q.del(r), delete q.list[r], ln(q.list), i(!1), we.Send({ type: "success", text: "Запись удален из закладок" })) : (q.list[r] = { id: e, name: n, type: t, link: r }, q.set(q.list[r]), ln(q.list), i(!0), we.Send({
2864
2874
  type: "success",
2865
2875
  text: "Запись добавлен в закладки"
2866
2876
  }));
@@ -2875,34 +2885,34 @@ const Io = () => {
2875
2885
  ) : "" });
2876
2886
  }, wt = ({ data: e }) => {
2877
2887
  let t = (r) => {
2878
- r.preventDefault(), delete Y.list[e.link], Y.del(e.link);
2888
+ r.preventDefault(), delete q.list[e.link], q.del(e.link);
2879
2889
  }, n = () => {
2880
2890
  Ae.setId(e.id);
2881
2891
  };
2882
2892
  return /* @__PURE__ */ a.jsx("span", { onContextMenu: t, onClick: n, children: e.name });
2883
- }, To = (e) => {
2884
- Y.active(e);
2885
- }, K = {}, St = {}, R = {};
2886
- R.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
2887
- R.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
2888
- R.other = [];
2889
- R.users = {};
2890
- R.asset = 0;
2891
- R.remoute = !1;
2892
- R.stream = null;
2893
- R.user = 0;
2894
- R.connect = !1;
2895
- R.offer = null;
2896
- R.btnRefuse = null;
2897
- R.time = !1;
2893
+ }, Mo = (e) => {
2894
+ q.active(e);
2895
+ }, K = {}, St = {}, I = {};
2896
+ I.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
2897
+ I.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
2898
+ I.other = [];
2899
+ I.users = {};
2900
+ I.asset = 0;
2901
+ I.remoute = !1;
2902
+ I.stream = null;
2903
+ I.user = 0;
2904
+ I.connect = !1;
2905
+ I.offer = null;
2906
+ I.btnRefuse = null;
2907
+ I.time = !1;
2898
2908
  let be;
2899
2909
  be = document.createElement("audio");
2900
2910
  be.setAttribute("autoplay", "true");
2901
2911
  be.setAttribute("muted", "true");
2902
2912
  K.start = async (e) => {
2903
- R.rtc = new RTCPeerConnection(R.config), R.other = [], R.remoute = !1, R.rtc.onicecandidate = (n) => {
2904
- n.candidate && R.other.push(n.candidate);
2905
- }, R.rtc.ontrack = (n) => {
2913
+ I.rtc = new RTCPeerConnection(I.config), I.other = [], I.remoute = !1, I.rtc.onicecandidate = (n) => {
2914
+ n.candidate && I.other.push(n.candidate);
2915
+ }, I.rtc.ontrack = (n) => {
2906
2916
  if (n.streams && n.streams[0])
2907
2917
  be.srcObject = n.streams[0];
2908
2918
  else {
@@ -2915,24 +2925,24 @@ K.start = async (e) => {
2915
2925
  audio: { echoCancellation: !1, autoGainControl: !0 }
2916
2926
  });
2917
2927
  t.getTracks().forEach((n) => {
2918
- R.rtc.addTrack(n, t);
2919
- }), R.rtc.onconnectionstatechange = () => {
2920
- R.rtc.connectionState;
2921
- }, R.rtc.ontrack = async (n) => {
2928
+ I.rtc.addTrack(n, t);
2929
+ }), I.rtc.onconnectionstatechange = () => {
2930
+ I.rtc.connectionState;
2931
+ }, I.rtc.ontrack = async (n) => {
2922
2932
  if (n.streams && n.streams[0])
2923
2933
  be.srcObject = n.streams[0];
2924
2934
  else {
2925
2935
  let r = new MediaStream(n.track);
2926
2936
  be.srcObject = r;
2927
2937
  }
2928
- }, R.rtc.onaddstream = (n) => {
2929
- }, R.rtc.onnegotiationneeded = (n) => {
2930
- }, R.rtc.oniceconnectionstatechange = (n) => {
2931
- }, R.rtc.onsignalingstatechange = (n) => {
2932
- }, R.rtc.onicegatheringstatechange = (n) => {
2933
- }, R.rtc.onicecandidateerror = (n) => {
2934
- }, R.rtc.ondatachannel = (n) => {
2935
- }, R.rtc.onerror = (n) => {
2938
+ }, I.rtc.onaddstream = (n) => {
2939
+ }, I.rtc.onnegotiationneeded = (n) => {
2940
+ }, I.rtc.oniceconnectionstatechange = (n) => {
2941
+ }, I.rtc.onsignalingstatechange = (n) => {
2942
+ }, I.rtc.onicegatheringstatechange = (n) => {
2943
+ }, I.rtc.onicecandidateerror = (n) => {
2944
+ }, I.rtc.ondatachannel = (n) => {
2945
+ }, I.rtc.onerror = (n) => {
2936
2946
  }, e();
2937
2947
  };
2938
2948
  K.useListener = (e) => {
@@ -2943,66 +2953,66 @@ K.setListener = (e) => {
2943
2953
  };
2944
2954
  K.callTo = async (e) => {
2945
2955
  K.start(async () => {
2946
- const t = await R.rtc.createOffer();
2947
- await R.rtc.setLocalDescription(t), R.uid = e, pe.Send({
2956
+ const t = await I.rtc.createOffer();
2957
+ await I.rtc.setLocalDescription(t), I.uid = e, xe.Send({
2948
2958
  type: "module",
2949
2959
  module: "M00",
2950
2960
  query: "x0050",
2951
2961
  data: {
2952
2962
  type: "offer",
2953
2963
  offer: btoa(JSON.stringify(t)),
2954
- user: R.uid
2964
+ user: I.uid
2955
2965
  }
2956
2966
  });
2957
2967
  });
2958
2968
  };
2959
2969
  K.callIn = async (e) => {
2960
- R.asset = e.id, R.offer = e.offer, R.uid = e.id;
2970
+ I.asset = e.id, I.offer = e.offer, I.uid = e.id;
2961
2971
  };
2962
2972
  K.callRise = async () => {
2963
2973
  K.start(async () => {
2964
- R.rtc.setRemoteDescription(
2965
- new RTCSessionDescription(JSON.parse(atob(R.offer)))
2974
+ I.rtc.setRemoteDescription(
2975
+ new RTCSessionDescription(JSON.parse(atob(I.offer)))
2966
2976
  );
2967
- const e = await R.rtc.createAnswer();
2968
- await R.rtc.setLocalDescription(e), pe.Send({
2977
+ const e = await I.rtc.createAnswer();
2978
+ await I.rtc.setLocalDescription(e), xe.Send({
2969
2979
  type: "module",
2970
2980
  module: "M00",
2971
2981
  query: "x0050",
2972
2982
  data: {
2973
2983
  type: "answer",
2974
2984
  answer: btoa(JSON.stringify(e)),
2975
- user: R.uid
2985
+ user: I.uid
2976
2986
  }
2977
2987
  });
2978
2988
  });
2979
2989
  };
2980
2990
  K.callOk = async (e) => {
2981
- R.asset = e.id;
2991
+ I.asset = e.id;
2982
2992
  const t = new RTCSessionDescription(JSON.parse(atob(e.answer)));
2983
- await R.rtc.setRemoteDescription(t), pe.Send({
2993
+ await I.rtc.setRemoteDescription(t), xe.Send({
2984
2994
  type: "module",
2985
2995
  module: "M00",
2986
2996
  query: "x0050",
2987
2997
  data: {
2988
2998
  type: "IceCandidate",
2989
- candidate: JSON.parse(JSON.stringify(R.other)),
2990
- user: R.uid,
2999
+ candidate: JSON.parse(JSON.stringify(I.other)),
3000
+ user: I.uid,
2991
3001
  send: !0
2992
3002
  }
2993
3003
  });
2994
3004
  };
2995
3005
  K.IceCandidate = async (e) => {
2996
3006
  e.candidate.forEach((t) => {
2997
- R.rtc.addIceCandidate(new RTCIceCandidate(t));
2998
- }), e.send && pe.Send({
3007
+ I.rtc.addIceCandidate(new RTCIceCandidate(t));
3008
+ }), e.send && xe.Send({
2999
3009
  type: "module",
3000
3010
  module: "M00",
3001
3011
  query: "x0050",
3002
3012
  data: {
3003
3013
  type: "IceCandidate",
3004
- candidate: JSON.parse(JSON.stringify(R.other)),
3005
- user: R.uid,
3014
+ candidate: JSON.parse(JSON.stringify(I.other)),
3015
+ user: I.uid,
3006
3016
  send: !1
3007
3017
  }
3008
3018
  });
@@ -3010,45 +3020,45 @@ K.IceCandidate = async (e) => {
3010
3020
  K.callFrom = async () => {
3011
3021
  };
3012
3022
  K.callNo = () => {
3013
- R.asset = 0, R.time = !1, R.rtc && R.rtc.close(), K.setListener({ type: "state", data: "closed" });
3023
+ I.asset = 0, I.time = !1, I.rtc && I.rtc.close(), K.setListener({ type: "state", data: "closed" });
3014
3024
  };
3015
3025
  K.callOf = () => {
3016
- R.asset = 0, R.time = !1, R.rtc.close();
3026
+ I.asset = 0, I.time = !1, I.rtc.close();
3017
3027
  };
3018
3028
  K.callRefuser = async () => {
3019
- pe.Send({
3029
+ xe.Send({
3020
3030
  type: "module",
3021
3031
  module: "M00",
3022
3032
  query: "x0050",
3023
- data: { type: "callRefuser", user: R.uid }
3024
- }), R.asset = 0, R.time = !1, R.rtc && R.rtc.close();
3033
+ data: { type: "callRefuser", user: I.uid }
3034
+ }), I.asset = 0, I.time = !1, I.rtc && I.rtc.close();
3025
3035
  };
3026
3036
  K.Run = async (e) => {
3027
3037
  K[e.data.type] && K[e.data.type](e.data);
3028
3038
  };
3029
- let ze = {};
3030
- function Mo() {
3039
+ let Ge = {};
3040
+ function Lo() {
3031
3041
  let [e, t] = h.useState([]), n = h.useRef(null);
3032
3042
  return h.useEffect(() => {
3033
- }, []), ze.set = (r) => {
3043
+ }, []), Ge.set = (r) => {
3034
3044
  t([...e, r]);
3035
- }, ze.del = () => {
3045
+ }, Ge.del = () => {
3036
3046
  t([]);
3037
- }, ze.audio = (r, s) => {
3047
+ }, Ge.audio = (r, s) => {
3038
3048
  n.current.volume = 0.5, n.current.loop = s, n.current.src = "/audio/" + r, n.current.muted = !1;
3039
3049
  }, /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3040
3050
  e.map((r) => r.item),
3041
3051
  /* @__PURE__ */ a.jsx("audio", { id: "audio", ref: n, autoPlay: !0, muted: !0 })
3042
3052
  ] });
3043
3053
  }
3044
- function Lo(e, t) {
3054
+ function $o(e, t) {
3045
3055
  let n = (/* @__PURE__ */ new Date()).getTime();
3046
- ze.set({
3047
- item: /* @__PURE__ */ a.jsx($o, { type: t, id: e }, n),
3056
+ Ge.set({
3057
+ item: /* @__PURE__ */ a.jsx(Fo, { type: t, id: e }, n),
3048
3058
  key: n
3049
3059
  });
3050
3060
  }
3051
- function $o({ id: e, type: t }) {
3061
+ function Fo({ id: e, type: t }) {
3052
3062
  const [n, r] = h.useState({}), [s, i] = h.useState(t);
3053
3063
  h.useEffect(() => {
3054
3064
  r(J.getSelect("user")[e]);
@@ -3139,7 +3149,7 @@ function $o({ id: e, type: t }) {
3139
3149
  );
3140
3150
  }
3141
3151
  }, l = () => {
3142
- K.callRefuser(n.id), ze.del();
3152
+ K.callRefuser(n.id), Ge.del();
3143
3153
  };
3144
3154
  return /* @__PURE__ */ a.jsx("div", { className: "web-phone white", children: /* @__PURE__ */ a.jsxs("div", { className: "w", children: [
3145
3155
  /* @__PURE__ */ a.jsx("div", { className: "x", "data-icon": "F038", onClick: l }),
@@ -3149,13 +3159,13 @@ function $o({ id: e, type: t }) {
3149
3159
  ] }) });
3150
3160
  }
3151
3161
  const Et = {};
3152
- function Fo(e) {
3162
+ function Bo(e) {
3153
3163
  Et.add(e);
3154
3164
  }
3155
- function Bo({ color: e, size: t, name: n }) {
3165
+ function Po({ color: e, size: t, name: n }) {
3156
3166
  return /* @__PURE__ */ a.jsx("svg", { width: t, height: t, color: e, children: /* @__PURE__ */ a.jsx("use", { href: `#${n}` }) });
3157
3167
  }
3158
- function Po() {
3168
+ function Oo() {
3159
3169
  let [e, t] = h.useState([]);
3160
3170
  if (Et.x = () => {
3161
3171
  t([]);
@@ -3176,77 +3186,77 @@ function Po() {
3176
3186
  )) });
3177
3187
  }
3178
3188
  let tt = {}, Pn = {};
3179
- const Oo = (e) => {
3189
+ const Ao = (e) => {
3180
3190
  Pn = e;
3181
3191
  }, On = Aa(
3182
3192
  localStorage.getItem("lang") || navigator.language
3183
- ), Ao = ({ children: e }) => {
3193
+ ), Go = ({ children: e }) => {
3184
3194
  const [t, n] = h.useState(
3185
3195
  localStorage.getItem("lang") || navigator.language
3186
3196
  );
3187
3197
  return tt.update = n, /* @__PURE__ */ a.jsx(On.Provider, { value: Pn[t], children: e });
3188
- }, zo = (e) => {
3198
+ }, Zo = (e) => {
3189
3199
  var t;
3190
3200
  localStorage.setItem("lang", e), (t = tt.update) == null || t.call(tt, e);
3191
- }, Go = () => za(On), Zo = () => localStorage.getItem("lang") || navigator.language, Dt = {};
3201
+ }, Uo = () => Ga(On), zo = () => localStorage.getItem("lang") || navigator.language, Dt = {};
3192
3202
  function Ft(e, t) {
3193
3203
  Dt[e] = t;
3194
3204
  }
3195
- function Uo(e, t) {
3205
+ function Ko(e, t) {
3196
3206
  Dt[e] !== void 0 && Dt[e](t);
3197
3207
  }
3198
3208
  const ve = {};
3199
- function Ko(e, t) {
3209
+ function Wo(e, t) {
3200
3210
  const [n, r] = h.useState(t);
3201
3211
  return h.useEffect(() => {
3202
3212
  if (ve[e]) return ve[e].push(r);
3203
3213
  ve[e] = [r];
3204
3214
  }, []), [n];
3205
3215
  }
3206
- function Wo(e, t) {
3216
+ function qo(e, t) {
3207
3217
  if (ve[e]) return ve[e].push(t);
3208
3218
  ve[e] = [t];
3209
3219
  }
3210
3220
  function Yo(e, t) {
3211
3221
  ve[e] && ve[e].forEach((n) => n(t));
3212
3222
  }
3213
- const Se = { setListener: Uo, useListener: Ft, setEmitter: Yo, useEmitter: Ko, subEmitter: Wo };
3223
+ const Se = { setListener: Ko, useListener: Ft, setEmitter: Yo, useEmitter: Wo, subEmitter: qo };
3214
3224
  function Ho() {
3215
3225
  let [e, t] = h.useState([]);
3216
3226
  return Se.useListener("form", (n) => {
3217
3227
  t([n]);
3218
3228
  }), /* @__PURE__ */ a.jsx(a.Fragment, { children: e.map((n) => n) });
3219
3229
  }
3220
- const qo = ({ children: e, lang: t }) => Ya(
3221
- /* @__PURE__ */ a.jsxs(Ao, { children: [
3222
- /* @__PURE__ */ a.jsx(Vi, {}),
3223
- /* @__PURE__ */ a.jsx(Ts, {}),
3224
- /* @__PURE__ */ a.jsx(Zs, {}),
3225
- /* @__PURE__ */ a.jsx(So, {}),
3226
- /* @__PURE__ */ a.jsx(Po, {}),
3230
+ const Vo = ({ children: e, lang: t }) => qa(
3231
+ /* @__PURE__ */ a.jsxs(Go, { children: [
3232
+ /* @__PURE__ */ a.jsx(Ji, {}),
3233
+ /* @__PURE__ */ a.jsx(Ms, {}),
3234
+ /* @__PURE__ */ a.jsx(zs, {}),
3235
+ /* @__PURE__ */ a.jsx(Eo, {}),
3236
+ /* @__PURE__ */ a.jsx(Oo, {}),
3227
3237
  /* @__PURE__ */ a.jsx(Ho, {}),
3228
- /* @__PURE__ */ a.jsx(Mo, {}),
3229
- /* @__PURE__ */ a.jsx(Io, {}),
3238
+ /* @__PURE__ */ a.jsx(Lo, {}),
3239
+ /* @__PURE__ */ a.jsx(No, {}),
3230
3240
  e
3231
3241
  ] })
3232
- ), Vo = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx("menu", { children: e }), Jo = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("header", { children: [
3242
+ ), Jo = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx("menu", { children: e }), Xo = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("header", { children: [
3233
3243
  "xz",
3234
3244
  e
3235
- ] }), Xo = "_payment_1lxfv_1", Qo = {
3236
- payment: Xo
3245
+ ] }), Qo = "_payment_1lxfv_1", el = {
3246
+ payment: Qo
3237
3247
  };
3238
- function el() {
3248
+ function tl() {
3239
3249
  let [e, t] = h.useState({});
3240
- return !e.active && !e.payment ? "" : /* @__PURE__ */ a.jsx("div", { className: Qo.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
3250
+ return !e.active && !e.payment ? "" : /* @__PURE__ */ a.jsx("div", { className: el.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
3241
3251
  }
3242
- const td = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className: "app", children: [
3243
- /* @__PURE__ */ a.jsx(el, {}),
3244
- /* @__PURE__ */ a.jsx(Vo, {}),
3252
+ const nd = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className: "app", children: [
3253
+ /* @__PURE__ */ a.jsx(tl, {}),
3245
3254
  /* @__PURE__ */ a.jsx(Jo, {}),
3246
- /* @__PURE__ */ a.jsx(qo, {}),
3255
+ /* @__PURE__ */ a.jsx(Xo, {}),
3256
+ /* @__PURE__ */ a.jsx(Vo, {}),
3247
3257
  e
3248
- ] }), tl = ({ list: e, onClick: t, active: n, size: r, view: s }) => /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [r, s].join(" "), children: e.map((i) => /* @__PURE__ */ a.jsx(
3249
- nl,
3258
+ ] }), nl = ({ list: e, onClick: t, active: n, size: r, view: s }) => /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [r, s].join(" "), children: e.map((i) => /* @__PURE__ */ a.jsx(
3259
+ al,
3250
3260
  {
3251
3261
  onClick: t,
3252
3262
  active: n,
@@ -3254,7 +3264,7 @@ const td = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3254
3264
  link: i.link
3255
3265
  },
3256
3266
  i.link
3257
- )) }) }), nl = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t }), An = ({ list: e = [], active: t }) => /* @__PURE__ */ a.jsx("div", { className: "tabs", children: e.map((n) => /* @__PURE__ */ a.jsx(
3267
+ )) }) }), al = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t }), An = ({ list: e = [], active: t }) => /* @__PURE__ */ a.jsx("div", { className: "tabs", children: e.map((n) => /* @__PURE__ */ a.jsx(
3258
3268
  "div",
3259
3269
  {
3260
3270
  onClick: () => En(n.id),
@@ -3262,10 +3272,10 @@ const td = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3262
3272
  children: n.label
3263
3273
  },
3264
3274
  n.id
3265
- )) }), al = ({ list: e = [], active: t, onChange: n }) => {
3275
+ )) }), rl = ({ list: e = [], active: t, onChange: n }) => {
3266
3276
  const [r, s] = h.useState(t);
3267
3277
  return /* @__PURE__ */ a.jsx("ul", { className: "tabs-button", children: e.map((i) => /* @__PURE__ */ a.jsx(
3268
- rl,
3278
+ sl,
3269
3279
  {
3270
3280
  data: i,
3271
3281
  light: i.light,
@@ -3275,7 +3285,7 @@ const td = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3275
3285
  },
3276
3286
  i.id
3277
3287
  )) });
3278
- }, rl = ({ data: e, light: t, active: n, setTabs: r, onChange: s }) => {
3288
+ }, sl = ({ data: e, light: t, active: n, setTabs: r, onChange: s }) => {
3279
3289
  const i = () => {
3280
3290
  e.disabled || (s && s(e.id), r(e.id));
3281
3291
  };
@@ -3293,7 +3303,7 @@ const td = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3293
3303
  ]
3294
3304
  }
3295
3305
  );
3296
- }, nd = { List: tl, Lite: An, Button: al }, sl = ({
3306
+ }, ad = { List: nl, Lite: An, Button: rl }, il = ({
3297
3307
  title: e = "",
3298
3308
  button: t,
3299
3309
  description: n = "",
@@ -3313,9 +3323,9 @@ const td = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3313
3323
  ] }),
3314
3324
  /* @__PURE__ */ a.jsx("ul", { children: r }),
3315
3325
  n && /* @__PURE__ */ a.jsx("article", { children: n })
3316
- ] }), il = "_setting_dva4m_2", ol = {
3317
- setting: il
3318
- }, ll = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ol.setting, children: e }), cl = ({ label: e, children: t }) => {
3326
+ ] }), ol = "_setting_dva4m_2", ll = {
3327
+ setting: ol
3328
+ }, cl = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ll.setting, children: e }), dl = ({ label: e, children: t }) => {
3319
3329
  let [n, r] = h.useState(!1);
3320
3330
  return /* @__PURE__ */ a.jsxs("li", { "data-item": "accordion", children: [
3321
3331
  /* @__PURE__ */ a.jsxs("dl", { onClick: () => r(!n), children: [
@@ -3324,10 +3334,10 @@ const td = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3324
3334
  ] }),
3325
3335
  n && /* @__PURE__ */ a.jsx("div", { children: t })
3326
3336
  ] });
3327
- }, dl = ({ label: e, onClick: t, button: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
3337
+ }, _l = ({ label: e, onClick: t, button: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
3328
3338
  /* @__PURE__ */ a.jsx("dt", { children: e }),
3329
3339
  /* @__PURE__ */ a.jsx("dd", { role: "button", onClick: () => t(), children: n })
3330
- ] }) }), _l = ({ active: e, onClick: t }) => (e = typeof e == "number" ? !!e : e, /* @__PURE__ */ a.jsx(
3340
+ ] }) }), ul = ({ active: e, onClick: t }) => (e = typeof e == "number" ? !!e : e, /* @__PURE__ */ a.jsx(
3331
3341
  "div",
3332
3342
  {
3333
3343
  role: "switch",
@@ -3336,25 +3346,25 @@ const td = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3336
3346
  },
3337
3347
  "aria-checked": e ? "true" : "false"
3338
3348
  }
3339
- )), ul = { Switch: _l }, fl = ({ label: e, onClick: t, active: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
3349
+ )), fl = { Switch: ul }, ml = ({ label: e, onClick: t, active: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
3340
3350
  /* @__PURE__ */ a.jsx("dt", { children: e }),
3341
- /* @__PURE__ */ a.jsx("dd", { children: /* @__PURE__ */ a.jsx(ul.Switch, { onClick: t, active: n }) })
3342
- ] }) }), ml = ({ label: e, active: t, options: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
3351
+ /* @__PURE__ */ a.jsx("dd", { children: /* @__PURE__ */ a.jsx(fl.Switch, { onClick: t, active: n }) })
3352
+ ] }) }), hl = ({ label: e, active: t, options: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
3343
3353
  /* @__PURE__ */ a.jsx("dt", { children: e }),
3344
3354
  /* @__PURE__ */ a.jsx("dd", { role: "info", children: t })
3345
- ] }) }), hl = ({ label: e, info: t }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
3355
+ ] }) }), gl = ({ label: e, info: t }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
3346
3356
  /* @__PURE__ */ a.jsx("dt", { children: e }),
3347
3357
  /* @__PURE__ */ a.jsx("dd", { role: "info", children: t })
3348
- ] }) }), gl = ({ label: e, children: t }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
3358
+ ] }) }), xl = ({ label: e, children: t }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
3349
3359
  /* @__PURE__ */ a.jsx("dt", { children: e }),
3350
3360
  /* @__PURE__ */ a.jsx("dd", { children: t })
3351
3361
  ] }) }), pl = ({ label: e, children: t }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
3352
3362
  /* @__PURE__ */ a.jsx("dt", { children: e }),
3353
3363
  /* @__PURE__ */ a.jsx("dd", { children: t })
3354
- ] }) }), xl = { Accordion: cl, Button: dl, Switch: fl, Info: hl, Select: ml, Component: gl, Node: pl };
3355
- function zn({ list: e, onClick: t, active: n, size: r, view: s }) {
3364
+ ] }) }), vl = { Accordion: dl, Button: _l, Switch: ml, Info: gl, Select: hl, Component: xl, Node: pl };
3365
+ function Gn({ list: e, onClick: t, active: n, size: r, view: s }) {
3356
3366
  return /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [r, s].join(" "), children: e.map((i) => /* @__PURE__ */ a.jsx(
3357
- vl,
3367
+ Cl,
3358
3368
  {
3359
3369
  onClick: t,
3360
3370
  active: n,
@@ -3364,10 +3374,10 @@ function zn({ list: e, onClick: t, active: n, size: r, view: s }) {
3364
3374
  i.link
3365
3375
  )) }) });
3366
3376
  }
3367
- const vl = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t });
3368
- zn.defaultProps = { size: "M", view: "H" };
3369
- const ad = { Section: sl, Main: ll, Item: xl, Tabs: zn }, rd = { Icon: No, Item: wt, Active: To }, sd = { Send: Ks, Line: Bn };
3370
- function Cl() {
3377
+ const Cl = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t });
3378
+ Gn.defaultProps = { size: "M", view: "H" };
3379
+ const rd = { Section: il, Main: cl, Item: vl, Tabs: Gn }, sd = { Icon: To, Item: wt, Active: Mo }, id = { Send: Ws, Line: Bn };
3380
+ function jl() {
3371
3381
  return /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ a.jsx(
3372
3382
  "path",
3373
3383
  {
@@ -3376,32 +3386,32 @@ function Cl() {
3376
3386
  }
3377
3387
  ) });
3378
3388
  }
3379
- let Rt = {};
3380
- function jl(e) {
3381
- Rt = { ...Rt, ...e };
3389
+ let It = {};
3390
+ function kl(e) {
3391
+ It = { ...It, ...e };
3382
3392
  }
3383
3393
  function vn() {
3384
- return Rt;
3394
+ return It;
3385
3395
  }
3386
- function kl({ name: e, hover: t, onClick: n }) {
3396
+ function yl({ name: e, hover: t, onClick: n }) {
3387
3397
  const r = {};
3388
3398
  return n && (r.onClick = n, r.pointer = ""), t && (r.hover = t), vn()[e] ? /* @__PURE__ */ a.jsx("i", { role: "icon", ...r, children: vn()[e]() }) : "";
3389
3399
  }
3390
- const id = { Logo: Cl, Sprite: Fo, set: jl, Symbol: Bo, Default: kl };
3391
- let yl = {};
3392
- yl.setAttribute = (e, t) => {
3400
+ const od = { Logo: jl, Sprite: Bo, set: kl, Symbol: Po, Default: yl };
3401
+ let bl = {};
3402
+ bl.setAttribute = (e, t) => {
3393
3403
  const n = document.getElementById("root");
3394
3404
  n.dataset[e] = t;
3395
3405
  };
3396
- const bl = "_sort_1yrvt_1", wl = {
3397
- sort: bl
3406
+ const wl = "_sort_1yrvt_1", Sl = {
3407
+ sort: wl
3398
3408
  };
3399
3409
  let lt = {};
3400
- function Sl(e, t) {
3410
+ function El(e, t) {
3401
3411
  switch (t.type) {
3402
3412
  case "active":
3403
3413
  let n = "<";
3404
- return e.active === t.data && (n = e.sort === "<" ? ">" : "<"), lt.get({ active: t.data, sort: n }, !1), In({ active: t.data, sort: n }), {
3414
+ return e.active === t.data && (n = e.sort === "<" ? ">" : "<"), lt.get({ active: t.data, sort: n }, !1), Rn({ active: t.data, sort: n }), {
3405
3415
  ...e,
3406
3416
  active: t.data,
3407
3417
  sort: n
@@ -3410,12 +3420,12 @@ function Sl(e, t) {
3410
3420
  throw new Error();
3411
3421
  }
3412
3422
  }
3413
- function El() {
3423
+ function Dl() {
3414
3424
  const [e, t] = h.useReducer(
3415
- Sl,
3425
+ El,
3416
3426
  kt() === void 0 ? { active: 1, sort: "<" } : kt()
3417
3427
  );
3418
- return /* @__PURE__ */ a.jsxs("div", { className: wl.sort, children: [
3428
+ return /* @__PURE__ */ a.jsxs("div", { className: Sl.sort, children: [
3419
3429
  /* @__PURE__ */ a.jsx(
3420
3430
  "i",
3421
3431
  {
@@ -3442,13 +3452,13 @@ function El() {
3442
3452
  )
3443
3453
  ] });
3444
3454
  }
3445
- function Dl(e) {
3455
+ function Il(e) {
3446
3456
  lt.get = e;
3447
3457
  }
3448
3458
  function Rl(e) {
3449
3459
  lt.set(e);
3450
3460
  }
3451
- function Il(e, t, n) {
3461
+ function Nl(e, t, n) {
3452
3462
  let r = 1, s = 0, i = {}, o = 50;
3453
3463
  i[r] = [];
3454
3464
  let l = {}, c = "s1a";
@@ -3467,32 +3477,32 @@ function Il(e, t, n) {
3467
3477
  s++, s <= o || (r++, s = 1, i[r] = []), i[r].push(e[_.id]);
3468
3478
  }), { data: i };
3469
3479
  }
3470
- function Nl(e) {
3480
+ function Tl(e) {
3471
3481
  lt.count(e);
3472
3482
  }
3473
- const od = { Init: El, useValue: Dl, Set: Rl, Run: Il, Count: Nl }, nt = {}, Gn = {};
3474
- function Tl(e) {
3483
+ const ld = { Init: Dl, useValue: Il, Set: Rl, Run: Nl, Count: Tl }, nt = {}, Zn = {};
3484
+ function Ml(e) {
3475
3485
  const [t, n] = h.useState({}), r = async (s) => {
3476
3486
  n(
3477
3487
  Object.keys(nt).reduce((i, o) => (i ? i[o] = nt[o].all : i = {}, i), {})
3478
3488
  );
3479
3489
  };
3480
3490
  return h.useEffect(() => {
3481
- e.forEach((s) => nt[s] = { all: 0 }), Gn.menu = r, r();
3491
+ e.forEach((s) => nt[s] = { all: 0 }), Zn.menu = r, r();
3482
3492
  }, [e]), t;
3483
3493
  }
3484
- function Ml(e, t) {
3494
+ function Ll(e, t) {
3485
3495
  switch (typeof t) {
3486
3496
  case "number":
3487
- nt[e].all += t, Gn.menu();
3497
+ nt[e].all += t, Zn.menu();
3488
3498
  break;
3489
3499
  }
3490
3500
  }
3491
- const ld = { useMenu: Tl, setUpdate: Ml };
3492
- class Ll {
3501
+ const cd = { useMenu: Ml, setUpdate: Ll };
3502
+ class $l {
3493
3503
  constructor(t = "el", n = "db") {
3494
- xt(this, "storeName");
3495
- xt(this, "_dbp");
3504
+ pt(this, "storeName");
3505
+ pt(this, "_dbp");
3496
3506
  this.storeName = n, this._dbp = new Promise((r, s) => {
3497
3507
  const i = indexedDB.open(t, 1);
3498
3508
  i.onerror = () => s(i.error), i.onsuccess = () => r(i.result), i.onupgradeneeded = () => {
@@ -3509,44 +3519,44 @@ class Ll {
3509
3519
  );
3510
3520
  }
3511
3521
  }
3512
- let vt, q = {};
3513
- const Me = () => (vt || (vt = new Ll()), vt), je = (e, t, n = Me()) => n._withIDBStore("readwrite", (r) => {
3514
- q[e] = t, r.put(B.enCode(t), e);
3515
- }), me = (e, t = Me()) => q[e] === void 0 ? new Promise((n, r) => {
3522
+ let vt, H = {};
3523
+ const Me = () => (vt || (vt = new $l()), vt), je = (e, t, n = Me()) => n._withIDBStore("readwrite", (r) => {
3524
+ H[e] = t, r.put(B.enCode(t), e);
3525
+ }), me = (e, t = Me()) => H[e] === void 0 ? new Promise((n, r) => {
3516
3526
  let s;
3517
3527
  t._withIDBStore("readonly", (i) => {
3518
3528
  s = i.get(e);
3519
3529
  }).then(() => {
3520
3530
  if (s.result !== void 0) {
3521
3531
  let i = B.deCode(s.result);
3522
- q[e] = i, n(i);
3532
+ H[e] = i, n(i);
3523
3533
  } else
3524
3534
  n({});
3525
3535
  });
3526
- }) : q[e], $l = (e, t = Me()) => t._withIDBStore("readwrite", (n) => {
3536
+ }) : H[e], Fl = (e, t = Me()) => t._withIDBStore("readwrite", (n) => {
3527
3537
  n.delete(e);
3528
- }), It = (e = Me()) => e._withIDBStore("readwrite", (t) => {
3538
+ }), Rt = (e = Me()) => e._withIDBStore("readwrite", (t) => {
3529
3539
  t.clear();
3530
- }), Fl = (e = Me()) => {
3540
+ }), Bl = (e = Me()) => {
3531
3541
  const t = [];
3532
3542
  return e._withIDBStore("readonly", (n) => {
3533
3543
  (n.openKeyCursor || n.openCursor).call(n).onsuccess = function() {
3534
3544
  this.result && (t.push(this.result.key), this.result.continue());
3535
3545
  };
3536
3546
  }).then(() => t);
3537
- }, Bl = (e, t, n = [], r = {}) => {
3538
- let s = n.length !== 0, i = [], o = r.sort, l = Object.keys(r).length !== 0, c = Object.keys(r), _ = Object.keys(e), u = [], p = (g) => {
3547
+ }, Pl = (e, t, n = [], r = {}) => {
3548
+ let s = n.length !== 0, i = [], o = r.sort, l = Object.keys(r).length !== 0, c = Object.keys(r), _ = Object.keys(e), u = [], x = (g) => {
3539
3549
  let j = "";
3540
- if (n.forEach((x) => {
3541
- j += t[g][x];
3550
+ if (n.forEach((p) => {
3551
+ j += t[g][p];
3542
3552
  }), l) {
3543
- let x = {};
3553
+ let p = {};
3544
3554
  c.forEach((m) => {
3545
- x[m] = t[g][m];
3555
+ p[m] = t[g][m];
3546
3556
  });
3547
3557
  for (let m in o)
3548
- t[g][o[m]] === void 0 && (It(), location.reload()), m === "s1" && (x[m] = new Date(t[g][o[m]]).getTime()), m === "s2" && (x[m] = t[g][o[m]]), m === "s3" && (x[m] = t[g][o[m]].replace(/[^a-zа-яё]/gi, "").substring(0, 1));
3549
- i.push({ id: g, text: j, ...x });
3558
+ t[g][o[m]] === void 0 && (Rt(), location.reload()), m === "s1" && (p[m] = new Date(t[g][o[m]]).getTime()), m === "s2" && (p[m] = t[g][o[m]]), m === "s3" && (p[m] = t[g][o[m]].replace(/[^a-zа-яё]/gi, "").substring(0, 1));
3559
+ i.push({ id: g, text: j, ...p });
3550
3560
  } else
3551
3561
  i.push({ id: g, text: j });
3552
3562
  }, f = (g) => {
@@ -3554,10 +3564,10 @@ const Me = () => (vt || (vt = new Ll()), vt), je = (e, t, n = Me()) => n._withID
3554
3564
  return _.forEach((g) => {
3555
3565
  u.push(t[g]);
3556
3566
  }), u.forEach((g) => {
3557
- g === void 0 ? (It(), location.reload()) : (s && p(g.id), l && f(g.id));
3567
+ g === void 0 ? (Rt(), location.reload()) : (s && x(g.id), l && f(g.id));
3558
3568
  }), { list: u, search: i, filter: r };
3559
- }, Pl = (e, t, n, r = Me()) => {
3560
- if (q[e] === void 0)
3569
+ }, Ol = (e, t, n, r = Me()) => {
3570
+ if (H[e] === void 0)
3561
3571
  return new Promise((s, i) => {
3562
3572
  let o;
3563
3573
  r._withIDBStore("readonly", (l) => {
@@ -3565,57 +3575,57 @@ const Me = () => (vt || (vt = new Ll()), vt), je = (e, t, n = Me()) => n._withID
3565
3575
  }).then(() => {
3566
3576
  if (o.result !== void 0) {
3567
3577
  let l = B.deCode(o.result);
3568
- q[e] = l, q[e][t.id] = {
3569
- ...q[e][t.id],
3578
+ H[e] = l, H[e][t.id] = {
3579
+ ...H[e][t.id],
3570
3580
  ...t.data
3571
- }, r.put(B.enCode(q[e]), e), s({});
3581
+ }, r.put(B.enCode(H[e]), e), s({});
3572
3582
  } else
3573
3583
  s({});
3574
3584
  });
3575
3585
  });
3576
- if (q[e][t.id] !== void 0)
3577
- return q[e][t.id] = { ...q[e][t.id], ...t.data }, n !== void 0 && q[n] !== void 0 ? q[n][t.id] !== void 0 && (q[n][t.id] = t.data.eDate) : q[n] = [], delete q[e][t.id].$_item, delete q[e][t.id].$_send, r._withIDBStore("readwrite", (s) => {
3578
- s.put(B.enCode(q[e]), e), n !== void 0 && s.put(B.enCode(q[n]), n);
3586
+ if (H[e][t.id] !== void 0)
3587
+ return H[e][t.id] = { ...H[e][t.id], ...t.data }, n !== void 0 && H[n] !== void 0 ? H[n][t.id] !== void 0 && (H[n][t.id] = t.data.eDate) : H[n] = [], delete H[e][t.id].$_item, delete H[e][t.id].$_send, r._withIDBStore("readwrite", (s) => {
3588
+ s.put(B.enCode(H[e]), e), n !== void 0 && s.put(B.enCode(H[n]), n);
3579
3589
  });
3580
- }, Ol = async (e, t, n, r) => {
3590
+ }, Al = async (e, t, n, r) => {
3581
3591
  let s, i;
3582
3592
  i = await me(n), i[e.id] = e, await je(n, i), s !== null && (s = await me(t), s[e.id] = e.eDate, await je(t, s)), r !== void 0 && r({ type: "load", page: s, base: i });
3583
- }, Al = async (e, t, n, r) => {
3593
+ }, Gl = async (e, t, n, r) => {
3584
3594
  let s = await me(t), i = await me(n);
3585
3595
  for (let o in e)
3586
3596
  i[o] = e[o], s[o] = e[o].eDate;
3587
3597
  await je(t, s), await je(n, i), r !== void 0 && r({ type: "load", page: s, base: i });
3588
- }, zl = async (e, t, n, r) => {
3598
+ }, Zl = async (e, t, n, r) => {
3589
3599
  let s = await me(t), i = await me(n);
3590
3600
  e.forEach((o) => delete s[o]), await je(t, s), r !== void 0 && r({ type: "load", page: s, base: i });
3591
- }, Gl = async (e, t, n) => {
3601
+ }, Ul = async (e, t, n) => {
3592
3602
  let r = await me(t);
3593
3603
  e.forEach((s) => delete r[s]), await je(t, r);
3594
- }, Zl = async (e, t, n) => {
3604
+ }, zl = async (e, t, n) => {
3595
3605
  let r = await me(t);
3596
3606
  e.forEach((s) => r[s.id] = s.eDate), await je(t, r);
3597
- }, Ul = async (e, t, n) => {
3607
+ }, Kl = async (e, t, n) => {
3598
3608
  let r = await me(t);
3599
3609
  if (n !== void 0)
3600
3610
  n({ type: "load", base: r });
3601
3611
  else
3602
3612
  return r[e];
3603
- }, Kl = (e) => q[e], cd = {
3604
- id: Ul,
3613
+ }, Wl = (e) => H[e], dd = {
3614
+ id: Kl,
3605
3615
  get: me,
3606
3616
  set: je,
3607
- add: Ol,
3608
- del: $l,
3609
- upd: Pl,
3610
- key: Fl,
3611
- load: Kl,
3612
- split: Bl,
3613
- clear: It,
3614
- updAll: Al,
3615
- delAll: zl,
3616
- delList: Gl,
3617
- addList: Zl
3618
- }, Wl = (e, t) => {
3617
+ add: Al,
3618
+ del: Fl,
3619
+ upd: Ol,
3620
+ key: Bl,
3621
+ load: Wl,
3622
+ split: Pl,
3623
+ clear: Rt,
3624
+ updAll: Gl,
3625
+ delAll: Zl,
3626
+ delList: Ul,
3627
+ addList: zl
3628
+ }, ql = (e, t) => {
3619
3629
  const n = [];
3620
3630
  t = t.map((r) => r.charCodeAt(0)), document.onkeydown = function(r) {
3621
3631
  n.push(r.keyCode);
@@ -3626,15 +3636,15 @@ const Me = () => (vt || (vt = new Ll()), vt), je = (e, t, n = Me()) => n._withID
3626
3636
  }, document.onkeyup = function(r) {
3627
3637
  n.length = 0;
3628
3638
  };
3629
- }, dd = { useKey: Wl }, Yl = "_s_18bde_1", Hl = "_loadingB_18bde_1", ql = "_ul_18bde_31", Vl = {
3639
+ }, _d = { useKey: ql }, Yl = "_s_18bde_1", Hl = "_loadingB_18bde_1", Vl = "_ul_18bde_31", Jl = {
3630
3640
  s: Yl,
3631
3641
  loadingB: Hl,
3632
- ul: ql
3642
+ ul: Vl
3633
3643
  };
3634
- function Zn({ children: e }) {
3644
+ function Un({ children: e }) {
3635
3645
  return /* @__PURE__ */ a.jsx("ul", { className: re.ul, children: e });
3636
3646
  }
3637
- function Jl(e, t) {
3647
+ function Xl(e, t) {
3638
3648
  switch (t.type) {
3639
3649
  case "load":
3640
3650
  return {
@@ -3667,13 +3677,13 @@ function Jl(e, t) {
3667
3677
  throw new Error();
3668
3678
  }
3669
3679
  }
3670
- function Xl({
3680
+ function Ql({
3671
3681
  list: e,
3672
3682
  load: t,
3673
3683
  className: n,
3674
3684
  ...r
3675
3685
  }) {
3676
- const s = h.useRef(null), [i, o] = h.useReducer(Jl, {
3686
+ const s = h.useRef(null), [i, o] = h.useReducer(Xl, {
3677
3687
  load: !1,
3678
3688
  list: [],
3679
3689
  data: {},
@@ -3690,10 +3700,10 @@ function Xl({
3690
3700
  return /* @__PURE__ */ a.jsx(
3691
3701
  "div",
3692
3702
  {
3693
- className: [Vl.s, n].join(" "),
3703
+ className: [Jl.s, n].join(" "),
3694
3704
  ref: s,
3695
3705
  onScroll: l,
3696
- children: /* @__PURE__ */ a.jsx(Zn, { "el-empty": "Данные не найдены", children: i.load && i.list !== void 0 ? i.list.map((c) => /* @__PURE__ */ a.jsx(r.item, { data: c }, c.id)) : /* @__PURE__ */ a.jsxs("div", { "data-load": "load", children: [
3706
+ children: /* @__PURE__ */ a.jsx(Un, { "el-empty": "Данные не найдены", children: i.load && i.list !== void 0 ? i.list.map((c) => /* @__PURE__ */ a.jsx(r.item, { data: c }, c.id)) : /* @__PURE__ */ a.jsxs("div", { "data-load": "load", children: [
3697
3707
  /* @__PURE__ */ a.jsx("i", {}),
3698
3708
  /* @__PURE__ */ a.jsx("i", {}),
3699
3709
  /* @__PURE__ */ a.jsx("i", {})
@@ -3701,7 +3711,7 @@ function Xl({
3701
3711
  }
3702
3712
  );
3703
3713
  }
3704
- const _d = { Widget: Eo }, Un = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ a.jsx(
3714
+ const ud = { Widget: Do }, zn = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ a.jsx(
3705
3715
  "div",
3706
3716
  {
3707
3717
  role: "switch",
@@ -3725,7 +3735,7 @@ ce.Focus = (e) => {
3725
3735
  ce.Blur = (e) => {
3726
3736
  e.target.scrollLeft = 0, e.target.querySelector("br") !== null && e.target.querySelector("br").remove();
3727
3737
  };
3728
- function Ze({
3738
+ function Ue({
3729
3739
  id: e,
3730
3740
  value: t,
3731
3741
  onValue: n,
@@ -3737,34 +3747,34 @@ function Ze({
3737
3747
  edit: c = !0,
3738
3748
  active: _ = !0,
3739
3749
  after: u = "",
3740
- show: p = !0,
3750
+ show: x = !0,
3741
3751
  view: f,
3742
3752
  onBlur: g,
3743
3753
  onSave: j,
3744
- className: x = "",
3754
+ className: p = "",
3745
3755
  isCopy: m = !0
3746
3756
  }) {
3747
- let C = !!(l && (t === "" || t === void 0)), S = (z) => {
3748
- n && n({ value: z.target.textContent.trim(), name: r });
3749
- }, N = (z) => {
3750
- z.key === "Enter" && z.preventDefault();
3751
- }, T = (z) => {
3752
- m && (z.preventDefault(), navigator.clipboard.writeText(z.target.textContent.trim()).then(
3757
+ let C = !!(l && (t === "" || t === void 0)), S = (G) => {
3758
+ n && n({ value: G.target.textContent.trim(), name: r });
3759
+ }, N = (G) => {
3760
+ G.key === "Enter" && G.preventDefault();
3761
+ }, T = (G) => {
3762
+ m && (G.preventDefault(), navigator.clipboard.writeText(G.target.textContent.trim()).then(
3753
3763
  function() {
3754
3764
  we.Copy("Данные в буфер обмене");
3755
3765
  },
3756
3766
  function($) {
3757
3767
  }
3758
3768
  ));
3759
- }, k = (z) => {
3769
+ }, k = (G) => {
3760
3770
  };
3761
- if (!(c && _) && !p || !(c && _) && C) return "";
3771
+ if (!(c && _) && !x || !(c && _) && C) return "";
3762
3772
  const y = {};
3763
- y.field = "input", x && (y.className = x);
3773
+ y.field = "input", p && (y.className = p);
3764
3774
  const b = {};
3765
3775
  s && (b.placeholder = s), c && _ && (b.edit = "");
3766
- const E = (z) => {
3767
- ce.Blur(z), j == null || j({ value: z.target.textContent.trim(), name: r });
3776
+ const E = (G) => {
3777
+ ce.Blur(G), j == null || j({ value: G.target.textContent.trim(), name: r });
3768
3778
  };
3769
3779
  return /* @__PURE__ */ a.jsxs("dl", { ...y, children: [
3770
3780
  i ? /* @__PURE__ */ a.jsx("dt", { children: i }) : "",
@@ -3823,7 +3833,7 @@ function Wn({
3823
3833
  _.current.value.length > 0 ? _.current.send && (n(!0), _.current.send = !1, _.current.timerId = setTimeout(() => {
3824
3834
  _.current.send = !0;
3825
3835
  }, 3e3)) : n(!1);
3826
- }, p = (C) => {
3836
+ }, x = (C) => {
3827
3837
  _.current.value = C.target.textContent, u();
3828
3838
  }, f = (C) => {
3829
3839
  C.keyCode === 16 && (_.current.shift = !0), C.keyCode === 13 && !_.current.shift && (C.preventDefault(), _.current.value.length !== 0 && (C.target.textContent = "", r && r(_.current.value), t && t(_.current.value), _.current.value = "", n(!1)));
@@ -3834,7 +3844,7 @@ function Wn({
3834
3844
  window.document.execCommand("insertText", !1, S);
3835
3845
  }).catch((S) => {
3836
3846
  });
3837
- }, x = () => {
3847
+ }, p = () => {
3838
3848
  n(!1);
3839
3849
  }, m = {
3840
3850
  spellCheck: "true"
@@ -3843,17 +3853,17 @@ function Wn({
3843
3853
  "dd",
3844
3854
  {
3845
3855
  onPaste: j,
3846
- onInput: p,
3856
+ onInput: x,
3847
3857
  onKeyUp: g,
3848
3858
  onKeyDown: f,
3849
- onBlur: x,
3859
+ onBlur: p,
3850
3860
  ...m,
3851
3861
  suppressContentEditableWarning: !0,
3852
3862
  children: e
3853
3863
  }
3854
3864
  ) });
3855
3865
  }
3856
- function Yn(e) {
3866
+ function qn(e) {
3857
3867
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = e.edit !== void 0 ? e.edit : !0, r = e.active !== void 0 ? e.active : !0, s = e.placeholder !== void 0 ? e.placeholder : "", i = (c) => {
3858
3868
  e.onValue({ value: c.target.textContent, name: e.name });
3859
3869
  }, o = (c) => {
@@ -3880,7 +3890,7 @@ function Yn(e) {
3880
3890
  )
3881
3891
  ] });
3882
3892
  }
3883
- function Hn({ value: e, onValue: t, placeholder: n = "", name: r }) {
3893
+ function Yn({ value: e, onValue: t, placeholder: n = "", name: r }) {
3884
3894
  let s = (g, j) => Number(Math.round(g + Math.random() * (j - g))), i = h.useRef(null), o = h.useRef(null), l = s(1e4, 99999), c = (g) => {
3885
3895
  g.key !== "Backspace" && (g.key === "Enter" && g.preventDefault(), g.target.textContent.length === 5 && g.preventDefault(), /\d/.test(g.key) || g.preventDefault());
3886
3896
  }, _ = (g) => {
@@ -3899,10 +3909,10 @@ function Hn({ value: e, onValue: t, placeholder: n = "", name: r }) {
3899
3909
  const g = i.current, j = g.getContext("2d");
3900
3910
  j.clearRect(0, 0, g.width, g.height), j.font = "30px brush script mt", j.fillStyle = "#eee", j.textAlign = "center", j.fillText(l, 50, 27), o.current.textContent = "";
3901
3911
  }, [l]);
3902
- const p = {};
3903
- p.field = "captcha";
3912
+ const x = {};
3913
+ x.field = "captcha";
3904
3914
  const f = {};
3905
- return n && (f.placeholder = n), /* @__PURE__ */ a.jsxs("dl", { ...p, children: [
3915
+ return n && (f.placeholder = n), /* @__PURE__ */ a.jsxs("dl", { ...x, children: [
3906
3916
  /* @__PURE__ */ a.jsx(
3907
3917
  "dd",
3908
3918
  {
@@ -3919,7 +3929,7 @@ function Hn({ value: e, onValue: t, placeholder: n = "", name: r }) {
3919
3929
  /* @__PURE__ */ a.jsx("canvas", { ref: i, width: "100", height: "35" })
3920
3930
  ] });
3921
3931
  }
3922
- function qn({
3932
+ function Hn({
3923
3933
  className: e,
3924
3934
  title: t,
3925
3935
  error: n,
@@ -3937,24 +3947,24 @@ function qn({
3937
3947
  n5: "",
3938
3948
  n6: "",
3939
3949
  code: ""
3940
- }, _ = (x) => {
3941
- if (x.preventDefault(), !r) return;
3942
- x.target.textContent = x.target.textContent.slice(-1).replace(/[^+\d]/g, "");
3943
- let m = window.getSelection(), C = x.target.textContent.length;
3944
- if (c[x.target.id] = x.target.textContent, c.code = c.n1 + "" + c.n2 + c.n3 + c.n4 + c.n5 + c.n6, m.collapse(x.target.firstChild, 1), C === 0) {
3945
- x.target.blur(), x.target.focus();
3950
+ }, _ = (p) => {
3951
+ if (p.preventDefault(), !r) return;
3952
+ p.target.textContent = p.target.textContent.slice(-1).replace(/[^+\d]/g, "");
3953
+ let m = window.getSelection(), C = p.target.textContent.length;
3954
+ if (c[p.target.id] = p.target.textContent, c.code = c.n1 + "" + c.n2 + c.n3 + c.n4 + c.n5 + c.n6, m.collapse(p.target.firstChild, 1), C === 0) {
3955
+ p.target.blur(), p.target.focus();
3946
3956
  return;
3947
3957
  }
3948
- x.target.nextSibling != null && x.target.nextSibling.focus();
3949
- }, u = (x) => {
3950
- if (r && (x.key === "Enter" && x.preventDefault(), x.key === "Backspace")) {
3951
- if (x.preventDefault(), x.target.textContent = "", c[x.target.id] = "", x.target.previousSibling != null) {
3952
- let m = x.target.previousSibling.id.slice(1);
3953
- x.target.previousSibling.textContent = "", c["n" + m] = "", x.target.previousSibling.focus();
3958
+ p.target.nextSibling != null && p.target.nextSibling.focus();
3959
+ }, u = (p) => {
3960
+ if (r && (p.key === "Enter" && p.preventDefault(), p.key === "Backspace")) {
3961
+ if (p.preventDefault(), p.target.textContent = "", c[p.target.id] = "", p.target.previousSibling != null) {
3962
+ let m = p.target.previousSibling.id.slice(1);
3963
+ p.target.previousSibling.textContent = "", c["n" + m] = "", p.target.previousSibling.focus();
3954
3964
  }
3955
3965
  c.code = c.n1 + "" + c.n2 + c.n3 + c.n4 + c.n5 + c.n6;
3956
3966
  }
3957
- }, p = (x) => {
3967
+ }, x = (p) => {
3958
3968
  if (r) {
3959
3969
  if (s)
3960
3970
  i && i({ value: c.code, name: l });
@@ -3974,10 +3984,10 @@ function qn({
3974
3984
  }
3975
3985
  }
3976
3986
  }
3977
- }, f = (x) => {
3978
- x.target.textContent = "";
3979
- }, g = (x) => {
3980
- x.preventDefault(), navigator.clipboard.readText().then((m) => {
3987
+ }, f = (p) => {
3988
+ p.target.textContent = "";
3989
+ }, g = (p) => {
3990
+ p.preventDefault(), navigator.clipboard.readText().then((m) => {
3981
3991
  let C = m.split("");
3982
3992
  for (let S = 1; S <= C.length; S++) {
3983
3993
  let N = document.getElementById("n" + S);
@@ -3995,7 +4005,7 @@ function qn({
3995
4005
  {
3996
4006
  id: "n1",
3997
4007
  onKeyDown: u,
3998
- onKeyUp: p,
4008
+ onKeyUp: x,
3999
4009
  onFocus: f,
4000
4010
  onPaste: g,
4001
4011
  onInput: _,
@@ -4007,7 +4017,7 @@ function qn({
4007
4017
  {
4008
4018
  id: "n2",
4009
4019
  onKeyDown: u,
4010
- onKeyUp: p,
4020
+ onKeyUp: x,
4011
4021
  onFocus: f,
4012
4022
  onPaste: g,
4013
4023
  onInput: _,
@@ -4019,7 +4029,7 @@ function qn({
4019
4029
  {
4020
4030
  id: "n3",
4021
4031
  onKeyDown: u,
4022
- onKeyUp: p,
4032
+ onKeyUp: x,
4023
4033
  onFocus: f,
4024
4034
  onPaste: g,
4025
4035
  onInput: _,
@@ -4031,7 +4041,7 @@ function qn({
4031
4041
  {
4032
4042
  id: "n4",
4033
4043
  onKeyDown: u,
4034
- onKeyUp: p,
4044
+ onKeyUp: x,
4035
4045
  onFocus: f,
4036
4046
  onPaste: g,
4037
4047
  onInput: _,
@@ -4043,7 +4053,7 @@ function qn({
4043
4053
  {
4044
4054
  id: "n5",
4045
4055
  onKeyDown: u,
4046
- onKeyUp: p,
4056
+ onKeyUp: x,
4047
4057
  onFocus: f,
4048
4058
  onPaste: g,
4049
4059
  onInput: _,
@@ -4055,7 +4065,7 @@ function qn({
4055
4065
  {
4056
4066
  id: "n6",
4057
4067
  onKeyDown: u,
4058
- onKeyUp: p,
4068
+ onKeyUp: x,
4059
4069
  onFocus: f,
4060
4070
  onPaste: g,
4061
4071
  onInput: _,
@@ -4078,16 +4088,16 @@ function Vn({
4078
4088
  length: c = 6,
4079
4089
  edit: _ = !0,
4080
4090
  active: u = !0,
4081
- after: p = "",
4091
+ after: x = "",
4082
4092
  show: f = !0,
4083
4093
  view: g,
4084
4094
  onBlur: j,
4085
- onSave: x,
4095
+ onSave: p,
4086
4096
  className: m = ""
4087
4097
  }) {
4088
4098
  _ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0;
4089
4099
  let [C, S] = h.useState(t), N = (k) => {
4090
- S(k), n == null || n({ value: k, name: r }), x == null || x({ value: k, name: r });
4100
+ S(k), n == null || n({ value: k, name: r }), p == null || p({ value: k, name: r });
4091
4101
  };
4092
4102
  const T = {};
4093
4103
  return T.field = "color", m && (T.className = m), /* @__PURE__ */ a.jsx(a.Fragment, { children: g === "icon" ? /* @__PURE__ */ a.jsx(
@@ -4111,11 +4121,11 @@ function Vn({
4111
4121
  o && /* @__PURE__ */ a.jsx("em", { children: o })
4112
4122
  ] }) });
4113
4123
  }
4114
- const Ql = "_o_oow80_1", ec = "_c_oow80_11", tc = "_as_oow80_87", nc = "_ap_oow80_90", ue = {
4115
- o: Ql,
4116
- c: ec,
4117
- as: tc,
4118
- ap: nc
4124
+ const ec = "_o_oow80_1", tc = "_c_oow80_11", nc = "_as_oow80_87", ac = "_ap_oow80_90", ue = {
4125
+ o: ec,
4126
+ c: tc,
4127
+ as: nc,
4128
+ ap: ac
4119
4129
  };
4120
4130
  function Bt(e) {
4121
4131
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "", r = e.edit !== void 0 ? e.edit : !0, s = e.active !== void 0 ? e.active : !0, i = e.placeholder !== void 0 ? e.placeholder : "", [o, l] = h.useState(
@@ -4127,13 +4137,13 @@ function Bt(e) {
4127
4137
  let _ = (g) => {
4128
4138
  l(g), e.onValue({ value: g, name: e.name });
4129
4139
  }, u = (g) => {
4130
- const j = g.target.getBoundingClientRect(), x = j.left, m = j.top;
4140
+ const j = g.target.getBoundingClientRect(), p = j.left, m = j.top;
4131
4141
  Se.setListener(
4132
4142
  "form",
4133
4143
  /* @__PURE__ */ a.jsx(
4134
- ac,
4144
+ rc,
4135
4145
  {
4136
- position: { x, y: m },
4146
+ position: { x: p, y: m },
4137
4147
  onValue: _,
4138
4148
  date: o
4139
4149
  },
@@ -4141,8 +4151,8 @@ function Bt(e) {
4141
4151
  )
4142
4152
  );
4143
4153
  };
4144
- const p = {};
4145
- p.field = "input";
4154
+ const x = {};
4155
+ x.field = "input";
4146
4156
  const f = {};
4147
4157
  return i && (f.placeholder = i), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsx(a.Fragment, { children: e.view === "icon" ? /* @__PURE__ */ a.jsx(
4148
4158
  "i",
@@ -4155,7 +4165,7 @@ function Bt(e) {
4155
4165
  ) : /* @__PURE__ */ a.jsxs(
4156
4166
  "dl",
4157
4167
  {
4158
- ...p,
4168
+ ...x,
4159
4169
  children: [
4160
4170
  t(),
4161
4171
  /* @__PURE__ */ a.jsx(
@@ -4164,7 +4174,7 @@ function Bt(e) {
4164
4174
  onClick: u,
4165
4175
  ...f,
4166
4176
  "data-edit": (r && s) + "",
4167
- children: U.Date(o, "dd.mm.yyyy")
4177
+ children: z.Date(o, "dd.mm.yyyy")
4168
4178
  }
4169
4179
  ),
4170
4180
  n()
@@ -4172,7 +4182,7 @@ function Bt(e) {
4172
4182
  }
4173
4183
  ) });
4174
4184
  }
4175
- const ac = (e) => {
4185
+ const rc = (e) => {
4176
4186
  let [t, n] = h.useState(!0), r = /* @__PURE__ */ new Date(), s = new Date(e.date), i = {
4177
4187
  y: parseInt(r.getFullYear()),
4178
4188
  d: parseInt(r.getDate()),
@@ -4184,20 +4194,20 @@ const ac = (e) => {
4184
4194
  }, [l, c] = h.useState({ y: o.y, m: o.m }), _ = (k) => {
4185
4195
  let y = k.getDay();
4186
4196
  return y === 0 && (y = 7), y - 1;
4187
- }, u = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], p = l.m - 1, f = new Date(l.y, p), g = [];
4197
+ }, u = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], x = l.m - 1, f = new Date(l.y, x), g = [];
4188
4198
  for (let k = 0; k < _(f); k++)
4189
4199
  g.push(0);
4190
- for (; f.getMonth() === p; )
4200
+ for (; f.getMonth() === x; )
4191
4201
  g.push(f.getDate()), f.setDate(f.getDate() + 1);
4192
4202
  let j = () => {
4193
4203
  n(!1);
4194
- }, x = () => {
4204
+ }, p = () => {
4195
4205
  S(l.m + 1, l.y);
4196
4206
  }, m = () => {
4197
4207
  S(l.m - 1, l.y);
4198
4208
  }, C = (k) => {
4199
4209
  e.onValue(
4200
- l.y + "-" + U.Number(2, l.m) + "-" + U.Number(2, k)
4210
+ l.y + "-" + z.Number(2, l.m) + "-" + z.Number(2, k)
4201
4211
  ), j();
4202
4212
  }, S = (k, y) => {
4203
4213
  y = k > 12 ? y + 1 : k < 1 ? y - 1 : y, k = k > 12 ? 1 : k < 1 ? 12 : k, c({ y, m: k });
@@ -4230,11 +4240,11 @@ const ac = (e) => {
4230
4240
  }
4231
4241
  ) }),
4232
4242
  /* @__PURE__ */ a.jsxs("h2", { children: [
4233
- U.Month(l.m).name,
4243
+ z.Month(l.m).name,
4234
4244
  " ",
4235
4245
  l.y
4236
4246
  ] }),
4237
- /* @__PURE__ */ a.jsx("i", { onClick: x, children: /* @__PURE__ */ a.jsx(
4247
+ /* @__PURE__ */ a.jsx("i", { onClick: p, children: /* @__PURE__ */ a.jsx(
4238
4248
  "svg",
4239
4249
  {
4240
4250
  width: "16",
@@ -4274,11 +4284,11 @@ function Pt({
4274
4284
  show: c = !0,
4275
4285
  active: _ = !0,
4276
4286
  after: u = "",
4277
- view: p,
4287
+ view: x,
4278
4288
  modal: f,
4279
4289
  module: g,
4280
4290
  options: j,
4281
- className: x
4291
+ className: p
4282
4292
  }) {
4283
4293
  let [m, C] = h.useState(e), S = (k) => {
4284
4294
  if (!(l && _) || !f) return;
@@ -4294,7 +4304,7 @@ function Pt({
4294
4304
  });
4295
4305
  };
4296
4306
  const N = {};
4297
- N.field = "input", x && (N.className = x);
4307
+ N.field = "input", p && (N.className = p);
4298
4308
  const T = {};
4299
4309
  return r && (T.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
4300
4310
  s && /* @__PURE__ */ a.jsx("dt", { children: s }),
@@ -4323,28 +4333,28 @@ function Ot({
4323
4333
  active: c = !0,
4324
4334
  after: _ = "",
4325
4335
  show: u = !0,
4326
- course: p = 100,
4336
+ course: x = 100,
4327
4337
  view: f,
4328
4338
  onBlur: g,
4329
4339
  type: j,
4330
- onSave: x,
4340
+ onSave: p,
4331
4341
  className: m = ""
4332
4342
  }) {
4333
4343
  let C = !!(o && (e === "" || e === void 0));
4334
- e = U.isNumeric(e) ? Number(e) / p : 0;
4344
+ e = z.isNumeric(e) ? Number(e) / x : 0;
4335
4345
  let S = ($) => j === "multi" ? $.replace(/[^+\d.+-]/g, "") : $.replace(/[^+\d.]/g, ""), N = ($, O) => {
4336
- let L = document.createRange(), I = window.getSelection();
4337
- L.setStart(O.childNodes[0], $), L.collapse(!0), I.removeAllRanges(), I.addRange(L), O.focus();
4346
+ let L = document.createRange(), R = window.getSelection();
4347
+ L.setStart(O.childNodes[0], $), L.collapse(!0), R.removeAllRanges(), R.addRange(L), O.focus();
4338
4348
  }, T = ($) => {
4339
4349
  t == null || t({
4340
- value: S($.target.textContent) * p,
4350
+ value: S($.target.textContent) * x,
4341
4351
  name: n
4342
4352
  }), $.target.textContent = S($.target.textContent), $.target.textContent.length > 0 && N($.target.textContent.length, $.target);
4343
4353
  }, k = ($) => {
4344
- ce.Blur($), $.target.textContent === "" && ($.target.textContent = 0), x == null || x({ value: S($.target.textContent) * p, name: n }), t == null || t({
4345
- value: S($.target.textContent) * p,
4354
+ ce.Blur($), $.target.textContent === "" && ($.target.textContent = 0), p == null || p({ value: S($.target.textContent) * x, name: n }), t == null || t({
4355
+ value: S($.target.textContent) * x,
4346
4356
  name: n
4347
- }), $.target.textContent = U.Money($.target.textContent);
4357
+ }), $.target.textContent = z.Money($.target.textContent);
4348
4358
  }, y = ($) => {
4349
4359
  $.target.textContent = S($.target.textContent);
4350
4360
  }, b = ($) => {
@@ -4356,8 +4366,8 @@ function Ot({
4356
4366
  });
4357
4367
  };
4358
4368
  if (!(l && c) && !u || !(l && c) && C) return "";
4359
- const z = {};
4360
- return z.field = "input", m && (z.className = m), /* @__PURE__ */ a.jsxs("dl", { ...z, children: [
4369
+ const G = {};
4370
+ return G.field = "input", m && (G.className = m), /* @__PURE__ */ a.jsxs("dl", { ...G, children: [
4361
4371
  s ? /* @__PURE__ */ a.jsx("dt", { children: s }) : "",
4362
4372
  /* @__PURE__ */ a.jsx(
4363
4373
  "dd",
@@ -4370,7 +4380,7 @@ function Ot({
4370
4380
  contentEditable: l && c ? "plaintext-only" : "false",
4371
4381
  suppressContentEditableWarning: !0,
4372
4382
  "e-after": _,
4373
- children: U.Money(e)
4383
+ children: z.Money(e)
4374
4384
  }
4375
4385
  ),
4376
4386
  i ? /* @__PURE__ */ a.jsx("em", { children: i }) : ""
@@ -4389,7 +4399,7 @@ function Jn({
4389
4399
  className: _,
4390
4400
  after: u
4391
4401
  }) {
4392
- let [p, f] = h.useState(e);
4402
+ let [x, f] = h.useState(e);
4393
4403
  h.useEffect(() => {
4394
4404
  f(e);
4395
4405
  }, [e]);
@@ -4401,31 +4411,31 @@ function Jn({
4401
4411
  Se.setListener(
4402
4412
  "form",
4403
4413
  /* @__PURE__ */ a.jsx(
4404
- rc,
4414
+ sc,
4405
4415
  {
4406
4416
  position: { x: S, y: N },
4407
4417
  onValue: g,
4408
- date: p
4418
+ date: x
4409
4419
  },
4410
4420
  (/* @__PURE__ */ new Date()).getTime()
4411
4421
  )
4412
4422
  );
4413
4423
  };
4414
- const x = {};
4415
- return c && (x.placeholder = c), r === "icon" ? /* @__PURE__ */ a.jsx("i", { "data-icon": "F043", onClick: j }) : /* @__PURE__ */ a.jsxs("dl", { children: [
4424
+ const p = {};
4425
+ return c && (p.placeholder = c), r === "icon" ? /* @__PURE__ */ a.jsx("i", { "data-icon": "F043", onClick: j }) : /* @__PURE__ */ a.jsxs("dl", { children: [
4416
4426
  l && /* @__PURE__ */ a.jsx("dt", { children: l }),
4417
4427
  /* @__PURE__ */ a.jsx(
4418
4428
  "dd",
4419
4429
  {
4420
4430
  onClick: j,
4421
- ...x,
4422
- children: U.Date(p, "mm.yyyy")
4431
+ ...p,
4432
+ children: z.Date(x, "mm.yyyy")
4423
4433
  }
4424
4434
  ),
4425
4435
  s && /* @__PURE__ */ a.jsx("em", { children: s })
4426
4436
  ] });
4427
4437
  }
4428
- const rc = (e) => {
4438
+ const sc = (e) => {
4429
4439
  let [t, n] = h.useState(!0), r = /* @__PURE__ */ new Date(), s = new Date(e.date), i = {
4430
4440
  y: parseInt(r.getFullYear()),
4431
4441
  m: parseInt(r.getMonth()) + 1
@@ -4436,11 +4446,11 @@ const rc = (e) => {
4436
4446
  n(!1);
4437
4447
  }, u = () => {
4438
4448
  c(l + 1);
4439
- }, p = () => {
4449
+ }, x = () => {
4440
4450
  c(l - 1);
4441
4451
  }, f = (C) => {
4442
- e.onValue(l + "-" + U.Number(2, C)), _();
4443
- }, g = (C) => i.y === o.y && i.m === C ? "_FFEB3B" : "", j = Array(12).fill("").map((C, S) => S + 1), x = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, m = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
4452
+ e.onValue(l + "-" + z.Number(2, C)), _();
4453
+ }, g = (C) => i.y === o.y && i.m === C ? "_FFEB3B" : "", j = Array(12).fill("").map((C, S) => S + 1), p = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, m = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
4444
4454
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: t ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4445
4455
  /* @__PURE__ */ a.jsx(
4446
4456
  "div",
@@ -4454,10 +4464,10 @@ const rc = (e) => {
4454
4464
  "div",
4455
4465
  {
4456
4466
  className: ue.c,
4457
- style: { top: x + "px", left: m + "px" },
4467
+ style: { top: p + "px", left: m + "px" },
4458
4468
  children: [
4459
4469
  /* @__PURE__ */ a.jsxs("s", { children: [
4460
- /* @__PURE__ */ a.jsx("i", { onClick: p, children: /* @__PURE__ */ a.jsx(
4470
+ /* @__PURE__ */ a.jsx("i", { onClick: x, children: /* @__PURE__ */ a.jsx(
4461
4471
  "svg",
4462
4472
  {
4463
4473
  width: "16",
@@ -4488,7 +4498,7 @@ const rc = (e) => {
4488
4498
  f(C);
4489
4499
  },
4490
4500
  color: g(C),
4491
- children: /* @__PURE__ */ a.jsx("b", { children: U.Month(C).abc })
4501
+ children: /* @__PURE__ */ a.jsx("b", { children: z.Month(C).abc })
4492
4502
  },
4493
4503
  S
4494
4504
  )) })
@@ -4502,7 +4512,7 @@ function Xn(e) {
4502
4512
  r = i ? !0 : r;
4503
4513
  let _ = e.placeholder !== void 0 ? e.placeholder : "", u = (m) => {
4504
4514
  e.onValue && e.onValue({ value: m.target.innerText, name: e.name });
4505
- }, p = (m) => {
4515
+ }, x = (m) => {
4506
4516
  m.preventDefault(), navigator.clipboard.readText().then((C) => {
4507
4517
  window.document.execCommand("insertText", !1, C);
4508
4518
  }).catch((C) => {
@@ -4514,17 +4524,17 @@ function Xn(e) {
4514
4524
  e.onSave && e.onSave({ value: m.target.innerText, name: e.name });
4515
4525
  }, j = {};
4516
4526
  j.field = "notes", e.className && (j.className = e.className);
4517
- const x = {};
4518
- return _ && (x.placeholder = _), r && (x.open = ""), i && o && (x.edit = ""), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...j, children: [
4527
+ const p = {};
4528
+ return _ && (p.placeholder = _), r && (p.open = ""), i && o && (p.edit = ""), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...j, children: [
4519
4529
  t(),
4520
4530
  /* @__PURE__ */ a.jsx(
4521
4531
  "dd",
4522
4532
  {
4523
- onPaste: p,
4533
+ onPaste: x,
4524
4534
  onInput: u,
4525
4535
  onBlur: g,
4526
4536
  contentEditable: i && o ? "plaintext-only" : "false",
4527
- ...x,
4537
+ ...p,
4528
4538
  onDoubleClick: f,
4529
4539
  suppressContentEditableWarning: !0,
4530
4540
  children: e.value
@@ -4545,7 +4555,7 @@ function At({
4545
4555
  hide: c,
4546
4556
  value: _,
4547
4557
  placeholder: u,
4548
- className: p,
4558
+ className: x,
4549
4559
  name: f,
4550
4560
  after: g,
4551
4561
  view: j
@@ -4561,19 +4571,19 @@ function At({
4561
4571
  }, N = (E) => {
4562
4572
  if (E.which === 17 || E.which === 91) return m = !1;
4563
4573
  }, T = (E) => {
4564
- E.preventDefault(), navigator.clipboard.readText().then((z) => {
4565
- z = z.replace(/\D/g, ""), window.document.execCommand(
4574
+ E.preventDefault(), navigator.clipboard.readText().then((G) => {
4575
+ G = G.replace(/\D/g, ""), window.document.execCommand(
4566
4576
  "insertText",
4567
4577
  !1,
4568
- "" + z.replace(/\D/g, "")
4578
+ "" + G.replace(/\D/g, "")
4569
4579
  );
4570
- }).catch((z) => {
4580
+ }).catch((G) => {
4571
4581
  });
4572
4582
  };
4573
4583
  const k = (E) => {
4574
4584
  ce.Blur(E), t == null || t({ value: E.target.textContent, name: f });
4575
4585
  }, y = {};
4576
- y.field = "input", p && (y.className = p);
4586
+ y.field = "input", x && (y.className = x);
4577
4587
  let b = {};
4578
4588
  return s && n ? (b.edit = "true", b.contentEditable = "plaintext-only") : b.contentEditable = "false", u && (b.placeholder = u), g && (b.after = g), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...y, children: [
4579
4589
  i && /* @__PURE__ */ a.jsx("dt", { children: i }),
@@ -4605,12 +4615,12 @@ function Qn({
4605
4615
  edit: c = !0,
4606
4616
  active: _ = !0,
4607
4617
  reload: u = !1,
4608
- native: p = !1,
4618
+ native: x = !1,
4609
4619
  isShow: f = !1,
4610
4620
  eyes: g = [],
4611
4621
  after: j = ""
4612
4622
  }) {
4613
- const [x, m] = h.useState(f);
4623
+ const [p, m] = h.useState(f);
4614
4624
  let C = (b) => {
4615
4625
  t && t({
4616
4626
  value: b.target.textContent,
@@ -4632,9 +4642,9 @@ function Qn({
4632
4642
  ce.Blur(b), n == null || n({ value: b.target.textContent.trim(), name: r });
4633
4643
  };
4634
4644
  const k = {};
4635
- k.field = "password", x && (k.show = ""), i && (k.className = i);
4645
+ k.field = "password", p && (k.show = ""), i && (k.className = i);
4636
4646
  const y = {};
4637
- return s && (y.placeholder = s), p ? "" : /* @__PURE__ */ a.jsxs("dl", { ...k, children: [
4647
+ return s && (y.placeholder = s), x ? "" : /* @__PURE__ */ a.jsxs("dl", { ...k, children: [
4638
4648
  o ? /* @__PURE__ */ a.jsx("dt", { children: o }) : "",
4639
4649
  /* @__PURE__ */ a.jsx(
4640
4650
  "dd",
@@ -4649,7 +4659,7 @@ function Qn({
4649
4659
  children: e
4650
4660
  }
4651
4661
  ),
4652
- g[0] && /* @__PURE__ */ a.jsx("i", { onClick: () => m(!x), children: x ? g[1] : g[0] }),
4662
+ g[0] && /* @__PURE__ */ a.jsx("i", { onClick: () => m(!p), children: p ? g[1] : g[0] }),
4653
4663
  j,
4654
4664
  l ? /* @__PURE__ */ a.jsx("em", { children: l }) : ""
4655
4665
  ] });
@@ -6036,7 +6046,7 @@ const Ct = {
6036
6046
  mask: "+1939(___) ___-__-__"
6037
6047
  }
6038
6048
  };
6039
- function zt({
6049
+ function Gt({
6040
6050
  value: e,
6041
6051
  onValue: t,
6042
6052
  onSave: n,
@@ -6048,51 +6058,51 @@ function zt({
6048
6058
  edit: c = !0,
6049
6059
  active: _ = !0,
6050
6060
  after: u = "",
6051
- show: p = !0,
6061
+ show: x = !0,
6052
6062
  view: f,
6053
6063
  className: g = ""
6054
6064
  }) {
6055
6065
  c = c !== void 0 ? c : !0, _ = _ !== void 0 ? _ : !0, l = !!(l && (e === "" || e === void 0)) && !(c && _), h.useRef(null);
6056
- let x = "+_(___) ___-__-__", m = !0, C = 0, S = (L, I) => {
6066
+ let p = "+_(___) ___-__-__", m = !0, C = 0, S = (L, R) => {
6057
6067
  let F = document.createRange(), W = window.getSelection();
6058
- F.setStart(I.childNodes[0], L), F.collapse(!0), W.removeAllRanges(), W.addRange(F), I.focus();
6068
+ F.setStart(R.childNodes[0], L), F.collapse(!0), W.removeAllRanges(), W.addRange(F), R.focus();
6059
6069
  }, N = (L) => {
6060
- L.preventDefault(), navigator.clipboard.readText().then((I) => {
6061
- window.document.execCommand("insertText", !1, I);
6062
- }).catch((I) => {
6070
+ L.preventDefault(), navigator.clipboard.readText().then((R) => {
6071
+ window.document.execCommand("insertText", !1, R);
6072
+ }).catch((R) => {
6063
6073
  });
6064
6074
  }, T = (L) => {
6065
- let I = 0, F = "", W = L.replace(/\D/g, "");
6075
+ let R = 0, F = "", W = L.replace(/\D/g, "");
6066
6076
  W === "" && (m = !0);
6067
6077
  let ne = W.split(""), se = "";
6068
6078
  ne.forEach((Le) => {
6069
- m && (se += Le, Ct[se] !== void 0 && m ? (m = !1, x = Ct[se].mask.replace(new RegExp("[0-9]", "g"), "_"), F = Ct[se].code) : (m && (C = ("" + se).length, x = `+${se}_(___) ___-__-__`.replace(
6079
+ m && (se += Le, Ct[se] !== void 0 && m ? (m = !1, p = Ct[se].mask.replace(new RegExp("[0-9]", "g"), "_"), F = Ct[se].code) : (m && (C = ("" + se).length, p = `+${se}_(___) ___-__-__`.replace(
6070
6080
  new RegExp("[0-9]", "g"),
6071
6081
  "_"
6072
- ), F = ""), C > ("" + se).length && (m = !0, x = `+${se}_(___) ___-__-__`.replace(
6082
+ ), F = ""), C > ("" + se).length && (m = !0, p = `+${se}_(___) ___-__-__`.replace(
6073
6083
  new RegExp("[0-9]", "g"),
6074
6084
  "_"
6075
6085
  ), F = "")));
6076
6086
  });
6077
- let he = x.replace(/\D/g, "");
6078
- return he.length >= W.length && (W = he), { q: x.replace(/[_\d]/g, function() {
6079
- return W.charAt(I++) || "_";
6080
- }), i: I, v: W, f: F };
6087
+ let he = p.replace(/\D/g, "");
6088
+ return he.length >= W.length && (W = he), { q: p.replace(/[_\d]/g, function() {
6089
+ return W.charAt(R++) || "_";
6090
+ }), i: R, v: W, f: F };
6081
6091
  }, k = (L) => {
6082
6092
  L.preventDefault(), navigator.clipboard.writeText(L.target.textContent.replace(/\D/g, "")).then(
6083
6093
  function() {
6084
6094
  we.Copy("Данные в буфер обмене");
6085
6095
  },
6086
- function(I) {
6096
+ function(R) {
6087
6097
  }
6088
6098
  );
6089
6099
  }, y = T(e), b = (L) => {
6090
- let I = T(L.target.textContent);
6091
- L.target.textContent = I.q, I.i = I.q.lastIndexOf(I.v.substr(-1)), I.i < I.q.length && I.q !== x ? I.i++ : I.i = I.q.indexOf("_"), S(I.i, L.target), t && t({ value: I.q.replace(/\D/g, ""), name: r });
6100
+ let R = T(L.target.textContent);
6101
+ L.target.textContent = R.q, R.i = R.q.lastIndexOf(R.v.substr(-1)), R.i < R.q.length && R.q !== p ? R.i++ : R.i = R.q.indexOf("_"), S(R.i, L.target), t && t({ value: R.q.replace(/\D/g, ""), name: r });
6092
6102
  }, E = (L) => {
6093
6103
  L.key === "Enter" && L.preventDefault();
6094
6104
  };
6095
- const z = (L) => {
6105
+ const G = (L) => {
6096
6106
  ce.Blur(L), n && n({
6097
6107
  value: L.target.textContent.replace(/\D/g, ""),
6098
6108
  name: r
@@ -6110,7 +6120,7 @@ function zt({
6110
6120
  onInput: b,
6111
6121
  onKeyDown: E,
6112
6122
  onContextMenu: k,
6113
- onBlur: z,
6123
+ onBlur: G,
6114
6124
  suppressContentEditableWarning: !0,
6115
6125
  children: y.q
6116
6126
  }
@@ -6125,9 +6135,9 @@ const ea = (e) => {
6125
6135
  }, l = (u) => {
6126
6136
  u.key === "Enter" && u.preventDefault();
6127
6137
  }, c = (u) => {
6128
- u.preventDefault(), navigator.clipboard.readText().then((p) => {
6129
- window.document.execCommand("insertText", !1, p);
6130
- }).catch((p) => {
6138
+ u.preventDefault(), navigator.clipboard.readText().then((x) => {
6139
+ window.document.execCommand("insertText", !1, x);
6140
+ }).catch((x) => {
6131
6141
  });
6132
6142
  };
6133
6143
  const _ = {};
@@ -6153,7 +6163,7 @@ const ea = (e) => {
6153
6163
  }
6154
6164
  );
6155
6165
  };
6156
- function Gt({
6166
+ function Zt({
6157
6167
  title: e,
6158
6168
  error: t,
6159
6169
  edit: n = !0,
@@ -6165,7 +6175,7 @@ function Gt({
6165
6175
  placeholder: c = "",
6166
6176
  className: _,
6167
6177
  name: u,
6168
- after: p,
6178
+ after: x,
6169
6179
  view: f,
6170
6180
  order: g
6171
6181
  }) {
@@ -6181,7 +6191,7 @@ function Gt({
6181
6191
  Se.setListener(
6182
6192
  "form",
6183
6193
  /* @__PURE__ */ a.jsx(
6184
- sc,
6194
+ ic,
6185
6195
  {
6186
6196
  parent: E,
6187
6197
  onValue: C,
@@ -6194,13 +6204,13 @@ function Gt({
6194
6204
  )
6195
6205
  );
6196
6206
  }, N = { field: "select", className: _ }, T = { onClick: S };
6197
- return c && (T.placeholder = c), p && (T.after = p), n && r && (T.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
6207
+ return c && (T.placeholder = c), x && (T.after = x), n && r && (T.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
6198
6208
  e && /* @__PURE__ */ a.jsx("dt", { children: e }),
6199
6209
  /* @__PURE__ */ a.jsx("dd", { ...T, ref: j, children: m }),
6200
6210
  t && /* @__PURE__ */ a.jsx("em", { children: t })
6201
6211
  ] });
6202
6212
  }
6203
- const sc = ({
6213
+ const ic = ({
6204
6214
  onValue: e,
6205
6215
  parent: t,
6206
6216
  view: n,
@@ -6212,7 +6222,7 @@ const sc = ({
6212
6222
  l(!1);
6213
6223
  }, _ = (f) => {
6214
6224
  l(!1), e(f);
6215
- }, u = window.innerHeight - t.y + t.height < 320 ? t.y - 312 : t.y + 33, p = window.innerWidth - t.x < 265 ? t.x - 235 : t.x;
6225
+ }, u = window.innerHeight - t.y + t.height < 320 ? t.y - 312 : t.y + 33, x = window.innerWidth - t.x < 265 ? t.x - 235 : t.x;
6216
6226
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: o ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6217
6227
  /* @__PURE__ */ a.jsx(
6218
6228
  "div",
@@ -6229,14 +6239,14 @@ const sc = ({
6229
6239
  "data-select": "background " + n,
6230
6240
  style: {
6231
6241
  top: u + "px",
6232
- left: p + "px",
6242
+ left: x + "px",
6233
6243
  width: t.width
6234
6244
  },
6235
- children: /* @__PURE__ */ a.jsx(ic, { order: i, options: s, link: _ })
6245
+ children: /* @__PURE__ */ a.jsx(oc, { order: i, options: s, link: _ })
6236
6246
  }
6237
6247
  )
6238
6248
  ] }) : "" });
6239
- }, ic = ({ order: e, options: t, link: n }) => e ? /* @__PURE__ */ a.jsx("ul", { children: e.map(
6249
+ }, oc = ({ order: e, options: t, link: n }) => e ? /* @__PURE__ */ a.jsx("ul", { children: e.map(
6240
6250
  (r, s) => t[r].s === 1 ? /* @__PURE__ */ a.jsx(
6241
6251
  "li",
6242
6252
  {
@@ -6259,18 +6269,18 @@ const sc = ({
6259
6269
  s
6260
6270
  ) : ""
6261
6271
  ) });
6262
- function Zt(e) {
6272
+ function Ut(e) {
6263
6273
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "", r = e.edit !== void 0 ? e.edit : !0, s = e.active !== void 0 ? e.active : !0, o = !!(e.hide && (e.default === "" || e.options[e.default] === void 0)) && !(r && s), l = e.placeholder !== void 0 ? e.placeholder : "", c = (g) => {
6264
6274
  u(e.options[g]), e.onValue({ value: g, name: e.name });
6265
6275
  }, [_, u] = h.useState(
6266
6276
  e.default !== void 0 ? e.options[e.default] : e.default
6267
- ), p = (g) => {
6277
+ ), x = (g) => {
6268
6278
  if (!(r && s)) return;
6269
6279
  const j = g.target.getBoundingClientRect();
6270
6280
  Se.setListener(
6271
6281
  "form",
6272
6282
  /* @__PURE__ */ a.jsx(
6273
- oc,
6283
+ lc,
6274
6284
  {
6275
6285
  parent: j,
6276
6286
  onValue: c,
@@ -6291,7 +6301,7 @@ function Zt(e) {
6291
6301
  /* @__PURE__ */ a.jsx(
6292
6302
  "dd",
6293
6303
  {
6294
- onClick: p,
6304
+ onClick: x,
6295
6305
  "data-edit": (r && s) + "",
6296
6306
  ...f,
6297
6307
  children: _
@@ -6302,11 +6312,11 @@ function Zt(e) {
6302
6312
  }
6303
6313
  );
6304
6314
  }
6305
- const oc = ({ onValue: e, parent: t, view: n, options: r }) => {
6315
+ const lc = ({ onValue: e, parent: t, view: n, options: r }) => {
6306
6316
  let [s, i] = h.useState(!0), o = () => {
6307
6317
  i(!1);
6308
- }, l = (p) => {
6309
- i(!1), e(p);
6318
+ }, l = (x) => {
6319
+ i(!1), e(x);
6310
6320
  }, c = Object.keys(r).length * 36, _ = window.innerHeight - t.y + t.height < c ? t.y - (c - 33) : t.y + 33, u = window.innerWidth - t.x < 265 ? t.x - 235 : t.x;
6311
6321
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: s ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6312
6322
  /* @__PURE__ */ a.jsx(
@@ -6326,13 +6336,13 @@ const oc = ({ onValue: e, parent: t, view: n, options: r }) => {
6326
6336
  left: u + "px",
6327
6337
  width: t.width
6328
6338
  },
6329
- children: /* @__PURE__ */ a.jsx("ul", { children: Object.keys(r).map((p, f) => /* @__PURE__ */ a.jsx(
6339
+ children: /* @__PURE__ */ a.jsx("ul", { children: Object.keys(r).map((x, f) => /* @__PURE__ */ a.jsx(
6330
6340
  "li",
6331
6341
  {
6332
6342
  onClick: () => {
6333
- l(p);
6343
+ l(x);
6334
6344
  },
6335
- children: r[p]
6345
+ children: r[x]
6336
6346
  },
6337
6347
  f
6338
6348
  )) })
@@ -6352,17 +6362,17 @@ function Nt({
6352
6362
  edit: c = !0,
6353
6363
  show: _ = !0,
6354
6364
  active: u = !0,
6355
- after: p = "",
6365
+ after: x = "",
6356
6366
  view: f,
6357
6367
  module: g,
6358
6368
  item: j,
6359
- className: x = ""
6369
+ className: p = ""
6360
6370
  }) {
6361
6371
  let m = {};
6362
6372
  switch (e) {
6363
6373
  case "Input":
6364
6374
  return /* @__PURE__ */ a.jsx(
6365
- Ze,
6375
+ Ue,
6366
6376
  {
6367
6377
  title: i,
6368
6378
  show: _,
@@ -6374,12 +6384,12 @@ function Nt({
6374
6384
  onValue: n,
6375
6385
  name: r,
6376
6386
  placeholder: s,
6377
- className: x
6387
+ className: p
6378
6388
  }
6379
6389
  );
6380
6390
  case "Select":
6381
6391
  return j && (m = J.getSelect(parseInt(j)) ? J.getSelect(parseInt(j)) : { 0: { s: "1", n: "не известно" } }), /* @__PURE__ */ a.jsx(
6382
- Gt,
6392
+ Zt,
6383
6393
  {
6384
6394
  title: i,
6385
6395
  show: _,
@@ -6391,13 +6401,13 @@ function Nt({
6391
6401
  onValue: n,
6392
6402
  name: r,
6393
6403
  placeholder: s,
6394
- className: x,
6404
+ className: p,
6395
6405
  options: m
6396
6406
  }
6397
6407
  );
6398
6408
  case "Users":
6399
6409
  return J.getSelect("user"), /* @__PURE__ */ a.jsx(
6400
- Zt,
6410
+ Ut,
6401
6411
  {
6402
6412
  title: i,
6403
6413
  show: _,
@@ -6409,7 +6419,7 @@ function Nt({
6409
6419
  onValue: n,
6410
6420
  name: r,
6411
6421
  placeholder: s,
6412
- className: x,
6422
+ className: p,
6413
6423
  options: m
6414
6424
  }
6415
6425
  );
@@ -6427,12 +6437,12 @@ function Nt({
6427
6437
  onValue: n,
6428
6438
  name: r,
6429
6439
  placeholder: s,
6430
- className: x
6440
+ className: p
6431
6441
  }
6432
6442
  );
6433
6443
  case "Phone":
6434
6444
  return /* @__PURE__ */ a.jsx(
6435
- zt,
6445
+ Gt,
6436
6446
  {
6437
6447
  title: i,
6438
6448
  show: _,
@@ -6444,7 +6454,7 @@ function Nt({
6444
6454
  onValue: n,
6445
6455
  name: r,
6446
6456
  placeholder: s,
6447
- className: x
6457
+ className: p
6448
6458
  }
6449
6459
  );
6450
6460
  case "Number":
@@ -6461,7 +6471,7 @@ function Nt({
6461
6471
  onValue: n,
6462
6472
  name: r,
6463
6473
  placeholder: s,
6464
- className: x
6474
+ className: p
6465
6475
  }
6466
6476
  );
6467
6477
  case "Money":
@@ -6478,7 +6488,7 @@ function Nt({
6478
6488
  onValue: n,
6479
6489
  name: r,
6480
6490
  placeholder: s,
6481
- className: x
6491
+ className: p
6482
6492
  }
6483
6493
  );
6484
6494
  case "Modal":
@@ -6495,7 +6505,7 @@ function Nt({
6495
6505
  onValue: n,
6496
6506
  name: r || "",
6497
6507
  placeholder: s,
6498
- className: x,
6508
+ className: p,
6499
6509
  options: m,
6500
6510
  module: g || ""
6501
6511
  }
@@ -6514,13 +6524,13 @@ function ta({
6514
6524
  active: c = !0,
6515
6525
  after: _ = "",
6516
6526
  show: u = !0,
6517
- view: p,
6527
+ view: x,
6518
6528
  onBlur: f,
6519
6529
  onSave: g,
6520
6530
  className: j = ""
6521
6531
  }) {
6522
- let x = !!(o && (e === "" || e === void 0));
6523
- if (!(l && c) && !u || !(l && c) && x) return "";
6532
+ let p = !!(o && (e === "" || e === void 0));
6533
+ if (!(l && c) && !u || !(l && c) && p) return "";
6524
6534
  let m = (k) => {
6525
6535
  t && t({ value: k.target.innerText, name: n });
6526
6536
  }, C = (k) => {
@@ -6563,25 +6573,25 @@ function na({
6563
6573
  active: c = !0,
6564
6574
  after: _ = "",
6565
6575
  show: u = !0,
6566
- view: p,
6576
+ view: x,
6567
6577
  onBlur: f,
6568
6578
  onSave: g,
6569
6579
  className: j = ""
6570
6580
  }) {
6571
- let x = !!(o && (e === "" || e === void 0)), m = U.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), C = h.useRef(null);
6572
- if (!(l && c) && !u || !(l && c) && x) return "";
6581
+ let p = !!(o && (e === "" || e === void 0)), m = z.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), C = h.useRef(null);
6582
+ if (!(l && c) && !u || !(l && c) && p) return "";
6573
6583
  let S = (b) => {
6574
6584
  C.current.textContent = b, t && t({ value: b, name: n });
6575
6585
  }, N = (b) => {
6576
6586
  g && g({ value: b, name: n });
6577
6587
  }, T = (b) => {
6578
- const E = b.target.getBoundingClientRect(), z = E.left, $ = E.top;
6588
+ const E = b.target.getBoundingClientRect(), G = E.left, $ = E.top;
6579
6589
  Se.setListener(
6580
6590
  "form",
6581
6591
  /* @__PURE__ */ a.jsx(
6582
- lc,
6592
+ cc,
6583
6593
  {
6584
- positions: { x: z, y: $ },
6594
+ positions: { x: G, y: $ },
6585
6595
  onSave: N,
6586
6596
  onValue: S,
6587
6597
  date: m
@@ -6593,7 +6603,7 @@ function na({
6593
6603
  const k = {};
6594
6604
  k.field = "input", j && (k.className = j);
6595
6605
  const y = {};
6596
- return r && (y.placeholder = r), /* @__PURE__ */ a.jsx(a.Fragment, { children: p === "icon" ? /* @__PURE__ */ a.jsx(
6606
+ return r && (y.placeholder = r), /* @__PURE__ */ a.jsx(a.Fragment, { children: x === "icon" ? /* @__PURE__ */ a.jsx(
6597
6607
  "i",
6598
6608
  {
6599
6609
  "data-icon": "F043",
@@ -6605,11 +6615,11 @@ function na({
6605
6615
  i ? /* @__PURE__ */ a.jsx("em", { children: i }) : ""
6606
6616
  ] }) });
6607
6617
  }
6608
- const lc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
6618
+ const cc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
6609
6619
  let s = r.split(":"), i = {
6610
- h: U.Number(2, s[0]),
6611
- m: U.Number(2, s[1])
6612
- }, o = "hour", [l, c] = h.useState({}), _ = !1, u = 0, p = 0, f = {
6620
+ h: z.Number(2, s[0]),
6621
+ m: z.Number(2, s[1])
6622
+ }, o = "hour", [l, c] = h.useState({}), _ = !1, u = 0, x = 0, f = {
6613
6623
  body: h.useRef(null),
6614
6624
  time: h.useRef(null),
6615
6625
  hour: h.useRef(null),
@@ -6623,7 +6633,7 @@ const lc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
6623
6633
  _ = !0;
6624
6634
  }, j = () => {
6625
6635
  _ = !1, o = o === "hour" ? "time" : "hour", f.body.current.setAttribute("active", o);
6626
- }, x = (y) => {
6636
+ }, p = (y) => {
6627
6637
  if (_) {
6628
6638
  let E = Math.atan2(
6629
6639
  y.pageX - (l.x + 78),
@@ -6631,10 +6641,10 @@ const lc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
6631
6641
  ) * (180 / Math.PI) * -1 + 180;
6632
6642
  f[o].current.style.transform = "rotate(" + E + "deg)", o === "hour" ? (i = {
6633
6643
  ...i,
6634
- h: U.Number(2, parseInt(String(E / 15), 10))
6644
+ h: z.Number(2, parseInt(String(E / 15), 10))
6635
6645
  }, f.hourText.current.textContent = i.h) : (i = {
6636
6646
  ...i,
6637
- m: U.Number(2, parseInt(String(E / 6), 10))
6647
+ m: z.Number(2, parseInt(String(E / 6), 10))
6638
6648
  }, f.timeText.current.textContent = i.m), n(i.h + ":" + i.m);
6639
6649
  }
6640
6650
  }, m = (y) => {
@@ -6642,35 +6652,35 @@ const lc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
6642
6652
  if (y.deltaY > 0) {
6643
6653
  u += y.deltaY;
6644
6654
  let b = parseInt(String(u / 50));
6645
- if (p !== b) {
6646
- p = b;
6655
+ if (x !== b) {
6656
+ x = b;
6647
6657
  let E = parseInt(i.h, 10) + 1;
6648
- E = E > 23 ? 0 : E, i = { ...i, h: U.Number(2, E) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
6658
+ E = E > 23 ? 0 : E, i = { ...i, h: z.Number(2, E) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
6649
6659
  }
6650
6660
  } else {
6651
6661
  u -= y.deltaY;
6652
6662
  let b = parseInt(String(u / 50));
6653
- if (p !== b) {
6654
- p = b;
6663
+ if (x !== b) {
6664
+ x = b;
6655
6665
  let E = parseInt(i.h, 10) - 1;
6656
- E = E < 0 ? 23 : E, i = { ...i, h: U.Number(2, E) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
6666
+ E = E < 0 ? 23 : E, i = { ...i, h: z.Number(2, E) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
6657
6667
  }
6658
6668
  }
6659
6669
  else if (y.deltaY > 0) {
6660
6670
  u += y.deltaY;
6661
6671
  let b = parseInt(String(u / 50));
6662
- if (p !== b) {
6663
- p = b;
6672
+ if (x !== b) {
6673
+ x = b;
6664
6674
  let E = parseInt(i.m, 10) + 1;
6665
- E = E > 59 ? 0 : E, i = { ...i, m: U.Number(2, E) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
6675
+ E = E > 59 ? 0 : E, i = { ...i, m: z.Number(2, E) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
6666
6676
  }
6667
6677
  } else {
6668
6678
  u -= y.deltaY;
6669
6679
  let b = parseInt(String(u / 50));
6670
- if (p !== b) {
6671
- p = b;
6680
+ if (x !== b) {
6681
+ x = b;
6672
6682
  let E = parseInt(i.m, 10) - 1;
6673
- E = E < 0 ? 59 : E, i = { ...i, m: U.Number(2, E) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
6683
+ E = E < 0 ? 59 : E, i = { ...i, m: z.Number(2, E) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
6674
6684
  }
6675
6685
  }
6676
6686
  n(i.h + ":" + i.m);
@@ -6692,7 +6702,7 @@ const lc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
6692
6702
  className: ue.c,
6693
6703
  onMouseDown: g,
6694
6704
  onMouseUp: j,
6695
- onMouseMove: x,
6705
+ onMouseMove: p,
6696
6706
  onWheel: m,
6697
6707
  ref: f.body,
6698
6708
  style: { top: T + "px", left: k + "px" },
@@ -6743,7 +6753,7 @@ function aa({
6743
6753
  id: l,
6744
6754
  reload: c
6745
6755
  }) {
6746
- const [_, u] = h.useState(!!n), p = t || r;
6756
+ const [_, u] = h.useState(!!n), x = t || r;
6747
6757
  h.useEffect(() => {
6748
6758
  u(!!n);
6749
6759
  }, [n]);
@@ -6752,7 +6762,7 @@ function aa({
6752
6762
  };
6753
6763
  const g = {};
6754
6764
  return g.field = "check", s && (g.className = s), /* @__PURE__ */ a.jsxs("dl", { ...g, children: [
6755
- p ? /* @__PURE__ */ a.jsx("dt", { children: p }) : "",
6765
+ x ? /* @__PURE__ */ a.jsx("dt", { children: x }) : "",
6756
6766
  /* @__PURE__ */ a.jsxs("dd", { onClick: f, children: [
6757
6767
  /* @__PURE__ */ a.jsx("span", { children: o }),
6758
6768
  /* @__PURE__ */ a.jsx(
@@ -6765,7 +6775,7 @@ function aa({
6765
6775
  ] })
6766
6776
  ] });
6767
6777
  }
6768
- const cc = ({ label: e, onValue: t, value: n, name: r, item: s }) => {
6778
+ const dc = ({ label: e, onValue: t, value: n, name: r, item: s }) => {
6769
6779
  const [i, o] = h.useState(!!n);
6770
6780
  h.useEffect(() => {
6771
6781
  o(!!n);
@@ -6812,35 +6822,35 @@ function sa({
6812
6822
  active: c = !0,
6813
6823
  after: _ = "",
6814
6824
  show: u = !0,
6815
- view: p,
6825
+ view: x,
6816
6826
  max: f = 0,
6817
6827
  onSave: g,
6818
6828
  className: j = "",
6819
- separator: x = ","
6829
+ separator: p = ","
6820
6830
  }) {
6821
6831
  const [m, C] = h.useState(
6822
- e !== void 0 ? e.split(x) : []
6832
+ e !== void 0 ? e.split(p) : []
6823
6833
  );
6824
6834
  h.useEffect(() => {
6825
- C(e !== void 0 ? e !== void 0 ? e.split(x) : [] : []);
6835
+ C(e !== void 0 ? e !== void 0 ? e.split(p) : [] : []);
6826
6836
  }, [e]);
6827
6837
  let S = () => {
6828
6838
  if (f !== 0 && m.length >= f)
6829
6839
  return we.Error("Слишком много");
6830
6840
  C([...m, ""]);
6831
6841
  }, N = (O) => {
6832
- m.splice(O, 1), m.length === 0 && m.push(""), C([...m]), g !== void 0 && g({ value: m.join(x), name: n });
6842
+ m.splice(O, 1), m.length === 0 && m.push(""), C([...m]), g !== void 0 && g({ value: m.join(p), name: n });
6833
6843
  }, T = !!(o && (e === "" || e === void 0)), k = (O) => {
6834
6844
  };
6835
6845
  if (!(l && c) && !u || !(l && c) && T) return "";
6836
6846
  const y = {};
6837
6847
  y.field = "group", j && (y.className = j);
6838
6848
  const b = (O, L) => {
6839
- ce.Blur(O), m[L] = O.target.textContent, g && g({ value: m.join(x), name: n });
6849
+ ce.Blur(O), m[L] = O.target.textContent, g && g({ value: m.join(p), name: n });
6840
6850
  };
6841
6851
  let E = (O, L) => {
6842
- m[L] = O.target.textContent, t && t({ value: m.join(x), name: n });
6843
- }, z = (O) => {
6852
+ m[L] = O.target.textContent, t && t({ value: m.join(p), name: n });
6853
+ }, G = (O) => {
6844
6854
  O.key === "Enter" && O.preventDefault();
6845
6855
  };
6846
6856
  const $ = ({ data: O }) => f !== 0 && O.length >= f ? "" : /* @__PURE__ */ a.jsx("i", { onClick: S, children: /* @__PURE__ */ a.jsxs(
@@ -6868,14 +6878,14 @@ function sa({
6868
6878
  /* @__PURE__ */ a.jsx(
6869
6879
  "span",
6870
6880
  {
6871
- onInput: (I) => E(I, L),
6881
+ onInput: (R) => E(R, L),
6872
6882
  edit: "true",
6873
6883
  name: n,
6874
6884
  placeholder: r,
6875
6885
  onPaste: k,
6876
6886
  contentEditable: l && c ? "plaintext-only" : "false",
6877
- onKeyDown: z,
6878
- onBlur: (I) => b(I, L),
6887
+ onKeyDown: G,
6888
+ onBlur: (R) => b(R, L),
6879
6889
  suppressContentEditableWarning: !0,
6880
6890
  children: m[L]
6881
6891
  }
@@ -6908,7 +6918,7 @@ function sa({
6908
6918
  i && /* @__PURE__ */ a.jsx("em", { children: i })
6909
6919
  ] });
6910
6920
  }
6911
- const dc = (e) => (e = e !== void 0 && e !== "" ? e.split(",") : [], e.reduce((t, n) => (t[n] = !0, t), {}));
6921
+ const _c = (e) => (e = e !== void 0 && e !== "" ? e.split(",") : [], e.reduce((t, n) => (t[n] = !0, t), {}));
6912
6922
  function ia({
6913
6923
  value: e,
6914
6924
  onValue: t,
@@ -6921,13 +6931,13 @@ function ia({
6921
6931
  show: c = !0,
6922
6932
  active: _ = !0,
6923
6933
  after: u = "",
6924
- view: p,
6934
+ view: x,
6925
6935
  modal: f,
6926
6936
  module: g,
6927
6937
  options: j,
6928
- className: x
6938
+ className: p
6929
6939
  }) {
6930
- const [m, C] = h.useState(dc(e)), S = (k) => {
6940
+ const [m, C] = h.useState(_c(e)), S = (k) => {
6931
6941
  if (!(l && _) || !f) return;
6932
6942
  let y = f.split(".");
6933
6943
  ot.Open(y[0], y[1], {
@@ -6940,7 +6950,7 @@ function ia({
6940
6950
  value: m
6941
6951
  });
6942
6952
  }, N = {};
6943
- N.field = "group", x && (N.className = x);
6953
+ N.field = "group", p && (N.className = p);
6944
6954
  const T = {};
6945
6955
  return r && (T.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
6946
6956
  /* @__PURE__ */ a.jsxs("dt", { children: [
@@ -6991,19 +7001,19 @@ function Cn({
6991
7001
  edit: c = !0,
6992
7002
  active: _ = !0,
6993
7003
  after: u = "",
6994
- show: p = !0,
7004
+ show: x = !0,
6995
7005
  type: f,
6996
7006
  view: g,
6997
7007
  onBlur: j,
6998
- onSave: x,
7008
+ onSave: p,
6999
7009
  className: m = ""
7000
7010
  }) {
7001
7011
  const C = h.useId();
7002
7012
  let S = !!(l && (e === "" || e === void 0)), [N, T] = h.useState(i);
7003
- if (!(c && _) && !p || !(c && _) && S) return "";
7013
+ if (!(c && _) && !x || !(c && _) && S) return "";
7004
7014
  const k = async (b) => {
7005
7015
  if (f) {
7006
- let E = uc(b, f, e || "default");
7016
+ let E = fc(b, f, e || "default");
7007
7017
  t == null || t({ name: n, value: E }), T(URL.createObjectURL(E));
7008
7018
  } else
7009
7019
  t == null || t({ name: n, value: b }), T(URL.createObjectURL(b));
@@ -7013,7 +7023,7 @@ function Cn({
7013
7023
  s,
7014
7024
  " "
7015
7025
  ] }),
7016
- /* @__PURE__ */ a.jsxs(_c, { onFiles: k, children: [
7026
+ /* @__PURE__ */ a.jsxs(uc, { onFiles: k, children: [
7017
7027
  /* @__PURE__ */ a.jsx(
7018
7028
  "input",
7019
7029
  {
@@ -7031,7 +7041,7 @@ function Cn({
7031
7041
  o && /* @__PURE__ */ a.jsx("em", { children: o })
7032
7042
  ] });
7033
7043
  }
7034
- const _c = ({ children: e, onFiles: t }) => {
7044
+ const uc = ({ children: e, onFiles: t }) => {
7035
7045
  const n = h.useRef(null);
7036
7046
  return h.useEffect(() => {
7037
7047
  if (n.preventDefaults) return;
@@ -7056,71 +7066,71 @@ const _c = ({ children: e, onFiles: t }) => {
7056
7066
  r.addEventListener(s, n.unhighlight, !1);
7057
7067
  }), r.addEventListener("drop", n.onHandleDrop, !1);
7058
7068
  }, []), /* @__PURE__ */ a.jsx("dd", { ref: n, children: e });
7059
- }, uc = (e, t, n) => {
7069
+ }, fc = (e, t, n) => {
7060
7070
  var r = document.getElementsByTagName("body")[0], s = document.createElement("canvas");
7061
7071
  r.appendChild(s);
7062
7072
  const i = s.getContext("2d"), o = new Image();
7063
7073
  o.addEventListener("load", () => {
7064
7074
  i.drawImage(o, 0, 0, o.width, o.height);
7065
- const l = t === "png" ? s.toDataURL() : s.toDataURL(`image/${t}`), c = fc(l, n);
7075
+ const l = t === "png" ? s.toDataURL() : s.toDataURL(`image/${t}`), c = mc(l, n);
7066
7076
  return s.remove(), c;
7067
7077
  }), o.src = URL.createObjectURL(e);
7068
7078
  };
7069
- function fc(e, t) {
7079
+ function mc(e, t) {
7070
7080
  let n = e.split(","), r = n[0].match(/:(.*?);/)[1], s = atob(n[1]), i = s.length, o = new Uint8Array(i);
7071
7081
  for (; i--; )
7072
7082
  o[i] = s.charCodeAt(i);
7073
7083
  return new File([o], t, { type: r });
7074
7084
  }
7075
- const xe = {};
7076
- function mc(e) {
7085
+ const pe = {};
7086
+ function hc(e) {
7077
7087
  const [t, n] = h.useState({}), r = h.useRef(e);
7078
- return xe.u = (s) => {
7088
+ return pe.u = (s) => {
7079
7089
  r.current = { ...r.current, [s.name]: s.value };
7080
- }, xe.n = (s) => {
7090
+ }, pe.n = (s) => {
7081
7091
  r.current = s, n(Date.now());
7082
- }, xe.r = () => {
7092
+ }, pe.r = () => {
7083
7093
  n(Date.now());
7084
- }, [r.current, xe.n];
7094
+ }, [r.current, pe.n];
7085
7095
  }
7086
- function hc(e) {
7087
- xe.u(e), e.reload && xe.r();
7096
+ function gc(e) {
7097
+ pe.u(e), e.reload && pe.r();
7088
7098
  }
7089
- function gc() {
7090
- xe.r && xe.r();
7099
+ function xc() {
7100
+ pe.r && pe.r();
7091
7101
  }
7092
- const ud = {
7102
+ const fd = {
7093
7103
  Color: Vn,
7094
7104
  Date: Bt,
7095
7105
  Mask: Cn,
7096
7106
  Image: Cn,
7097
- Code: qn,
7107
+ Code: Hn,
7098
7108
  Check: aa,
7099
- Switch: Un,
7100
- Input: Ze,
7109
+ Switch: zn,
7110
+ Input: Ue,
7101
7111
  Button: Kn,
7102
7112
  Message: Wn,
7103
- Generator: Yn,
7104
- Captcha: Hn,
7113
+ Generator: qn,
7114
+ Captcha: Yn,
7105
7115
  Modal: Pt,
7106
7116
  Money: Ot,
7107
7117
  Month: Jn,
7108
7118
  Notes: Xn,
7109
7119
  Number: At,
7110
7120
  Password: Qn,
7111
- Phone: zt,
7121
+ Phone: Gt,
7112
7122
  Search: ea,
7113
- Select: Gt,
7123
+ Select: Zt,
7114
7124
  Set: Nt,
7115
7125
  Textarea: ta,
7116
7126
  Time: na,
7117
- Users: Zt,
7118
- String: Ze,
7127
+ Users: Ut,
7128
+ String: Ue,
7119
7129
  Form: Nt,
7120
- runReload: gc,
7121
- useData: mc,
7122
- setValue: hc,
7123
- Palette: cc,
7130
+ runReload: xc,
7131
+ useData: hc,
7132
+ setValue: gc,
7133
+ Palette: dc,
7124
7134
  Toogle: ra,
7125
7135
  Group: sa,
7126
7136
  Options: ia
@@ -7137,54 +7147,54 @@ function pc({
7137
7147
  hide: c = !1,
7138
7148
  edit: _ = !0,
7139
7149
  active: u = !0,
7140
- after: p = "",
7150
+ after: x = "",
7141
7151
  show: f = !0,
7142
7152
  view: g,
7143
7153
  className: j = ""
7144
7154
  }) {
7145
7155
  _ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0, c = !!(c && (e === "" || e === void 0)) && !(_ && u), h.useRef(null);
7146
- let m = s, C = !0, S = 0, N = (I, F) => {
7156
+ let m = s, C = !0, S = 0, N = (R, F) => {
7147
7157
  let W = document.createRange(), ne = window.getSelection();
7148
- W.setStart(F.childNodes[0], I), W.collapse(!0), ne.removeAllRanges(), ne.addRange(W), F.focus();
7149
- }, T = (I) => {
7150
- I.preventDefault(), navigator.clipboard.readText().then((F) => {
7158
+ W.setStart(F.childNodes[0], R), W.collapse(!0), ne.removeAllRanges(), ne.addRange(W), F.focus();
7159
+ }, T = (R) => {
7160
+ R.preventDefault(), navigator.clipboard.readText().then((F) => {
7151
7161
  window.document.execCommand("insertText", !1, F);
7152
7162
  }).catch((F) => {
7153
7163
  });
7154
- }, k = (I) => {
7155
- let F = 0, W = "", ne = I.replace(/\D/g, "");
7164
+ }, k = (R) => {
7165
+ let F = 0, W = "", ne = R.replace(/\D/g, "");
7156
7166
  ne === "" && (C = !0);
7157
7167
  let se = ne.split(""), he = "";
7158
- se.forEach((He) => {
7159
- C && (he += He, C && (S = ("" + he).length, m = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""), S > ("" + he).length && (C = !0, m = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""));
7168
+ se.forEach((Ye) => {
7169
+ C && (he += Ye, C && (S = ("" + he).length, m = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""), S > ("" + he).length && (C = !0, m = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""));
7160
7170
  });
7161
7171
  let Ee = m.replace(/\D/g, "");
7162
7172
  return Ee.length >= ne.length && (ne = Ee), { q: m.replace(/[_\d]/g, function() {
7163
7173
  return ne.charAt(F++) || "_";
7164
7174
  }), i: F, v: ne, f: W };
7165
- }, y = (I) => {
7166
- I.preventDefault(), navigator.clipboard.writeText(I.target.textContent.replace(/\D/g, "")).then(
7175
+ }, y = (R) => {
7176
+ R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.replace(/\D/g, "")).then(
7167
7177
  function() {
7168
7178
  we.Copy("Данные в буфер обмене");
7169
7179
  },
7170
7180
  function(F) {
7171
7181
  }
7172
7182
  );
7173
- }, b = k(e), E = (I) => {
7174
- let F = k(I.target.textContent);
7175
- I.target.textContent = F.q, F.i = F.q.lastIndexOf(F.v.substr(-1)), F.i < F.q.length && F.q !== m ? F.i++ : F.i = F.q.indexOf("_"), N(F.i, I.target), t && t({ value: F.q.replace(/\D/g, ""), name: r });
7176
- }, z = (I) => {
7177
- I.key === "Enter" && I.preventDefault();
7183
+ }, b = k(e), E = (R) => {
7184
+ let F = k(R.target.textContent);
7185
+ R.target.textContent = F.q, F.i = F.q.lastIndexOf(F.v.substr(-1)), F.i < F.q.length && F.q !== m ? F.i++ : F.i = F.q.indexOf("_"), N(F.i, R.target), t && t({ value: F.q.replace(/\D/g, ""), name: r });
7186
+ }, G = (R) => {
7187
+ R.key === "Enter" && R.preventDefault();
7178
7188
  };
7179
- const $ = (I) => {
7180
- ce.Blur(I), n && n({
7181
- value: I.target.textContent.replace(/\D/g, ""),
7189
+ const $ = (R) => {
7190
+ ce.Blur(R), n && n({
7191
+ value: R.target.textContent.replace(/\D/g, ""),
7182
7192
  name: r
7183
7193
  });
7184
7194
  }, O = {};
7185
7195
  O.field = "input", j && (O.className = j);
7186
7196
  let L = {};
7187
- return _ && u ? (L.edit = "true", L.contentEditable = "plaintext-only") : L.contentEditable = "false", i && (L.placeholder = i), p && (L.after = p), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...O, children: [
7197
+ return _ && u ? (L.edit = "true", L.contentEditable = "plaintext-only") : L.contentEditable = "false", i && (L.placeholder = i), x && (L.after = x), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...O, children: [
7188
7198
  o && /* @__PURE__ */ a.jsx("dt", { children: o }),
7189
7199
  /* @__PURE__ */ a.jsx(
7190
7200
  "dd",
@@ -7192,7 +7202,7 @@ function pc({
7192
7202
  ...L,
7193
7203
  onPaste: T,
7194
7204
  onInput: E,
7195
- onKeyDown: z,
7205
+ onKeyDown: G,
7196
7206
  onContextMenu: y,
7197
7207
  onBlur: $,
7198
7208
  suppressContentEditableWarning: !0,
@@ -7202,17 +7212,17 @@ function pc({
7202
7212
  l && /* @__PURE__ */ a.jsx("em", { children: l })
7203
7213
  ] });
7204
7214
  }
7205
- const fd = {
7215
+ const md = {
7206
7216
  Color: Vn,
7207
7217
  Date: Bt,
7208
- Code: qn,
7218
+ Code: Hn,
7209
7219
  Check: aa,
7210
- Switch: Un,
7211
- Input: Ze,
7220
+ Switch: zn,
7221
+ Input: Ue,
7212
7222
  Button: Kn,
7213
7223
  Message: Wn,
7214
- Generator: Yn,
7215
- Captcha: Hn,
7224
+ Generator: qn,
7225
+ Captcha: Yn,
7216
7226
  Modal: Pt,
7217
7227
  Money: Ot,
7218
7228
  Mask: pc,
@@ -7220,23 +7230,23 @@ const fd = {
7220
7230
  Notes: Xn,
7221
7231
  Number: At,
7222
7232
  Password: Qn,
7223
- Phone: zt,
7233
+ Phone: Gt,
7224
7234
  Search: ea,
7225
- Select: Gt,
7235
+ Select: Zt,
7226
7236
  Set: Nt,
7227
7237
  Textarea: ta,
7228
7238
  Time: na,
7229
- Users: Zt,
7230
- String: Ze,
7239
+ Users: Ut,
7240
+ String: Ue,
7231
7241
  Toogle: ra,
7232
7242
  Group: sa,
7233
7243
  Options: ia
7234
- }, xc = "_spinner_o487n_1", vc = "_l_o487n_75", Cc = "_loadingB_o487n_1", oa = {
7235
- spinner: xc,
7236
- l: vc,
7237
- loadingB: Cc
7244
+ }, vc = "_spinner_o487n_1", Cc = "_l_o487n_75", jc = "_loadingB_o487n_1", oa = {
7245
+ spinner: vc,
7246
+ l: Cc,
7247
+ loadingB: jc
7238
7248
  };
7239
- function jc() {
7249
+ function kc() {
7240
7250
  return /* @__PURE__ */ a.jsx("div", { className: oa.spinner, children: /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ a.jsx(
7241
7251
  "path",
7242
7252
  {
@@ -7245,14 +7255,14 @@ function jc() {
7245
7255
  }
7246
7256
  ) }) });
7247
7257
  }
7248
- function kc() {
7258
+ function yc() {
7249
7259
  return /* @__PURE__ */ a.jsxs("div", { className: oa.l, children: [
7250
7260
  /* @__PURE__ */ a.jsx("i", {}),
7251
7261
  /* @__PURE__ */ a.jsx("i", {}),
7252
7262
  /* @__PURE__ */ a.jsx("i", {})
7253
7263
  ] });
7254
7264
  }
7255
- const md = { Spinner: jc, Inline: kc }, yc = function({
7265
+ const hd = { Spinner: kc, Inline: yc }, bc = ({
7256
7266
  title: e,
7257
7267
  affter: t,
7258
7268
  children: n,
@@ -7261,33 +7271,33 @@ const md = { Spinner: jc, Inline: kc }, yc = function({
7261
7271
  tabs: i = [],
7262
7272
  modules: o,
7263
7273
  loading: l
7264
- }) {
7274
+ }) => {
7265
7275
  const [c] = Sn(
7266
- i.map((p) => p.id).includes(Ne()) ? Ne() : s
7276
+ i.map((x) => x.id).includes(Ne()) ? Ne() : s
7267
7277
  ), [_, u] = h.useState(!1);
7268
7278
  return h.useEffect(() => {
7269
7279
  u(!0);
7270
7280
  }, []), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7271
7281
  /* @__PURE__ */ a.jsxs("div", { className: "ph", children: [
7272
- /* @__PURE__ */ a.jsx(Sc, { title: e, affter: t }),
7282
+ /* @__PURE__ */ a.jsx(Ec, { title: e, affter: t }),
7273
7283
  /* @__PURE__ */ a.jsx("div", { className: "e" }),
7274
- /* @__PURE__ */ a.jsx(wc, { button: r })
7284
+ /* @__PURE__ */ a.jsx(Sc, { button: r })
7275
7285
  ] }),
7276
7286
  i.length > 0 && /* @__PURE__ */ a.jsx(An, { list: i, active: c }),
7277
7287
  n,
7278
- _ && /* @__PURE__ */ a.jsx(bc, { loading: l, m: o, t: c })
7288
+ _ && /* @__PURE__ */ a.jsx(wc, { loading: l, m: o, t: c })
7279
7289
  ] });
7280
7290
  };
7281
- let bc = ({ m: e, t, loading: n }) => {
7291
+ let wc = ({ m: e, t, loading: n }) => {
7282
7292
  const r = h.lazy(() => st(e + "/pages/" + t + ".tsx"));
7283
7293
  return /* @__PURE__ */ a.jsx(h.Suspense, { fallback: n, children: /* @__PURE__ */ a.jsx(r, {}) });
7284
- }, wc = ({ button: e }) => {
7294
+ }, Sc = ({ button: e }) => {
7285
7295
  const [t, n] = h.useState(e);
7286
7296
  return Ft("button", n), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7287
7297
  " ",
7288
7298
  t
7289
7299
  ] });
7290
- }, Sc = ({ title: e, affter: t }) => {
7300
+ }, Ec = ({ title: e, affter: t }) => {
7291
7301
  const [n, r] = h.useState(
7292
7302
  /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7293
7303
  e,
@@ -7297,15 +7307,15 @@ let bc = ({ m: e, t, loading: n }) => {
7297
7307
  );
7298
7308
  return Ft("title", r), /* @__PURE__ */ a.jsx("h2", { children: n });
7299
7309
  };
7300
- const hd = {
7301
- Lite: yc
7302
- }, Ec = "_s_t9swc_1", jn = {
7303
- s: Ec
7310
+ const gd = {
7311
+ Lite: bc
7312
+ }, Dc = "_s_t9swc_1", jn = {
7313
+ s: Dc
7304
7314
  };
7305
- let Ut;
7306
- function Dc({ className: e, placeholder: t }) {
7315
+ let zt;
7316
+ function Ic({ className: e, placeholder: t }) {
7307
7317
  let n = (o) => {
7308
- Ut(o.target.textContent);
7318
+ zt(o.target.textContent);
7309
7319
  }, r = (o) => {
7310
7320
  o.key === "Enter" && o.preventDefault();
7311
7321
  }, s = (o) => {
@@ -7335,17 +7345,17 @@ function Rc(e, t, n) {
7335
7345
  i++, i <= l || (s++, i = 1, o[s] = []), o[s].push(n[c]);
7336
7346
  }), o;
7337
7347
  }
7338
- function Ic(e) {
7339
- Ut = e;
7340
- }
7341
7348
  function Nc(e) {
7342
- Ut = e;
7349
+ zt = e;
7350
+ }
7351
+ function Tc(e) {
7352
+ zt = e;
7343
7353
  }
7344
- const gd = { Field: Dc, Run: Rc, Get: Ic, useValue: Nc }, Tc = "_f_q3r0i_1", Mc = {
7345
- f: Tc
7354
+ const xd = { Field: Ic, Run: Rc, Get: Nc, useValue: Tc }, Mc = "_f_q3r0i_1", Lc = {
7355
+ f: Mc
7346
7356
  };
7347
7357
  let le = {};
7348
- function Lc(e, t) {
7358
+ function $c(e, t) {
7349
7359
  switch (t.type) {
7350
7360
  case "open":
7351
7361
  return {
@@ -7395,8 +7405,8 @@ function Lc(e, t) {
7395
7405
  throw new Error();
7396
7406
  }
7397
7407
  }
7398
- function $c() {
7399
- const [e, t] = h.useReducer(Lc, {
7408
+ function Fc() {
7409
+ const [e, t] = h.useReducer($c, {
7400
7410
  open: !1,
7401
7411
  view: null,
7402
7412
  data: {},
@@ -7414,7 +7424,7 @@ function $c() {
7414
7424
  /* @__PURE__ */ a.jsxs(
7415
7425
  "div",
7416
7426
  {
7417
- className: Mc.f,
7427
+ className: Lc.f,
7418
7428
  onClick: () => {
7419
7429
  t({ type: "open", open: !0 });
7420
7430
  },
@@ -7439,7 +7449,7 @@ function $c() {
7439
7449
  ),
7440
7450
  /* @__PURE__ */ a.jsxs("div", { className: "filter m", children: [
7441
7451
  /* @__PURE__ */ a.jsx("div", { className: "filter l", children: Object.keys(e.data).map((n) => /* @__PURE__ */ a.jsx(
7442
- Ac,
7452
+ Gc,
7443
7453
  {
7444
7454
  data: n,
7445
7455
  dispatch: t,
@@ -7461,16 +7471,16 @@ function $c() {
7461
7471
  ] }) : /* @__PURE__ */ a.jsx(a.Fragment, {})
7462
7472
  ] });
7463
7473
  }
7464
- function Fc(e) {
7474
+ function Bc(e) {
7465
7475
  le.get = e;
7466
7476
  }
7467
- function Bc(e) {
7477
+ function Pc(e) {
7468
7478
  le.set !== void 0 && le.set(e);
7469
7479
  }
7470
- function Pc(e) {
7480
+ function Oc(e) {
7471
7481
  le.reset !== void 0 && le.reset(e);
7472
7482
  }
7473
- function Oc(e, t, n, r) {
7483
+ function Ac(e, t, n, r) {
7474
7484
  let s = [], i = 1, o = 0, l = {}, c = 50;
7475
7485
  return l[i] = [], r === !0 && (Object.keys(t).forEach((_) => {
7476
7486
  Number.parseInt(t[_]) !== 999 && (e = e.filter(
@@ -7485,7 +7495,7 @@ function Oc(e, t, n, r) {
7485
7495
  function la(e) {
7486
7496
  le.count(e);
7487
7497
  }
7488
- function Ac({ data: e, state: t, dispatch: n }) {
7498
+ function Gc({ data: e, state: t, dispatch: n }) {
7489
7499
  let r = () => {
7490
7500
  n({ type: "view", view: e });
7491
7501
  }, s = () => {
@@ -7508,7 +7518,7 @@ function Ac({ data: e, state: t, dispatch: n }) {
7508
7518
  ) : ""
7509
7519
  ] }),
7510
7520
  /* @__PURE__ */ a.jsx("div", { className: "filter u", "set-active": (t.view === e) + "", children: Object.keys(t.data[e].list).map((i, o) => /* @__PURE__ */ a.jsx(
7511
- zc,
7521
+ Zc,
7512
7522
  {
7513
7523
  data: t.data[e].list[i],
7514
7524
  head: e,
@@ -7520,7 +7530,7 @@ function Ac({ data: e, state: t, dispatch: n }) {
7520
7530
  )) })
7521
7531
  ] });
7522
7532
  }
7523
- function zc({ data: e, head: t, state: n, dispatch: r, type: s }) {
7533
+ function Zc({ data: e, head: t, state: n, dispatch: r, type: s }) {
7524
7534
  if (s !== "999" && e.count === void 0) return "";
7525
7535
  const i = () => {
7526
7536
  r({ type: "take", list: t, take: s });
@@ -7538,11 +7548,11 @@ function zc({ data: e, head: t, state: n, dispatch: r, type: s }) {
7538
7548
  }
7539
7549
  );
7540
7550
  }
7541
- const pd = { Button: $c, useValue: Fc, Set: Bc, Run: Oc, Count: la, Reset: Pc }, xd = { Bell: ni, Send: Qs, Add: Xs }, Gc = "_p_djnh1_1", Zc = "_l_djnh1_38", ca = {
7542
- p: Gc,
7543
- l: Zc
7551
+ const pd = { Button: Fc, useValue: Bc, Set: Pc, Run: Ac, Count: la, Reset: Oc }, vd = { Bell: ai, Send: ei, Add: Qs }, Uc = "_p_djnh1_1", zc = "_l_djnh1_38", ca = {
7552
+ p: Uc,
7553
+ l: zc
7544
7554
  };
7545
- function Uc(e) {
7555
+ function Kc(e) {
7546
7556
  let t = 3, n = e.page, r = e.count, s = [], i = () => {
7547
7557
  s.push({ page: 1 }), s.push({ text: "..." });
7548
7558
  }, o = () => {
@@ -7555,12 +7565,12 @@ function Uc(e) {
7555
7565
  /* @__PURE__ */ a.jsx("i", { onClick: () => e.onChangePage(n - 1), children: /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ a.jsx("path", { d: "M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z" }) }) }),
7556
7566
  s.map((c, _) => {
7557
7567
  const u = {};
7558
- return c.page && (u.onClick = () => e.onChangePage(c.page)), c.page === e.page && (u.active = ""), /* @__PURE__ */ Ga("span", { ...u, key: _ }, c.page || c.text);
7568
+ return c.page && (u.onClick = () => e.onChangePage(c.page)), c.page === e.page && (u.active = ""), /* @__PURE__ */ Za("span", { ...u, key: _ }, c.page || c.text);
7559
7569
  }),
7560
7570
  /* @__PURE__ */ a.jsx("i", { onClick: () => e.onChangePage(n + 1), children: /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ a.jsx("path", { d: "M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z" }) }) })
7561
7571
  ] });
7562
7572
  }
7563
- function Kc(e, t) {
7573
+ function Wc(e, t) {
7564
7574
  switch (t.type) {
7565
7575
  case "load":
7566
7576
  return {
@@ -7582,7 +7592,7 @@ function Kc(e, t) {
7582
7592
  }
7583
7593
  }
7584
7594
  function da({ load: e, list: t, item: n }) {
7585
- const r = h.useRef(null), [s, i] = h.useReducer(Kc, {
7595
+ const r = h.useRef(null), [s, i] = h.useReducer(Wc, {
7586
7596
  load: !1,
7587
7597
  list: [],
7588
7598
  data: {},
@@ -7600,13 +7610,13 @@ function da({ load: e, list: t, item: n }) {
7600
7610
  };
7601
7611
  return h.useEffect(() => {
7602
7612
  }, [s]), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7603
- /* @__PURE__ */ a.jsx("div", { className: ca.l, ref: r, children: /* @__PURE__ */ a.jsx(Zn, { "el-empty": "Данные не найдены", children: s.load && s.list !== void 0 ? s.list.map((l) => /* @__PURE__ */ a.jsx(s.item, { data: l }, l.id)) : /* @__PURE__ */ a.jsxs("div", { "type-data": "load", children: [
7613
+ /* @__PURE__ */ a.jsx("div", { className: ca.l, ref: r, children: /* @__PURE__ */ a.jsx(Un, { "el-empty": "Данные не найдены", children: s.load && s.list !== void 0 ? s.list.map((l) => /* @__PURE__ */ a.jsx(s.item, { data: l }, l.id)) : /* @__PURE__ */ a.jsxs("div", { "type-data": "load", children: [
7604
7614
  /* @__PURE__ */ a.jsx("i", {}),
7605
7615
  /* @__PURE__ */ a.jsx("i", {}),
7606
7616
  /* @__PURE__ */ a.jsx("i", {})
7607
7617
  ] }) }) }),
7608
7618
  s.load && s.list !== void 0 ? /* @__PURE__ */ a.jsx(
7609
- Uc,
7619
+ Kc,
7610
7620
  {
7611
7621
  page: s.page,
7612
7622
  count: s.size,
@@ -7615,12 +7625,12 @@ function da({ load: e, list: t, item: n }) {
7615
7625
  ) : /* @__PURE__ */ a.jsx(a.Fragment, {})
7616
7626
  ] });
7617
7627
  }
7618
- const vd = { Pagination: da };
7619
- function Wc({ head: e, load: t, list: n, item: r }) {
7628
+ const Cd = { Pagination: da };
7629
+ function qc({ head: e, load: t, list: n, item: r }) {
7620
7630
  const s = e;
7621
7631
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7622
7632
  /* @__PURE__ */ a.jsx(s, {}),
7623
- $t.getSetting("s05") === 1 ? /* @__PURE__ */ a.jsx(da, { list: n, load: t, item: r }) : /* @__PURE__ */ a.jsx(Xl, { list: n, load: t, item: r })
7633
+ $t.getSetting("s05") === 1 ? /* @__PURE__ */ a.jsx(da, { list: n, load: t, item: r }) : /* @__PURE__ */ a.jsx(Ql, { list: n, load: t, item: r })
7624
7634
  ] });
7625
7635
  }
7626
7636
  function Yc(e, t) {
@@ -7668,15 +7678,15 @@ const Tt = {};
7668
7678
  function Hc(e) {
7669
7679
  Tt.get = e;
7670
7680
  }
7671
- function qc(e) {
7681
+ function Vc(e) {
7672
7682
  Tt.get && Tt.get(e);
7673
7683
  }
7674
- const Cd = { View: Wc, Reducer: Yc, useValue: Hc, setValue: qc }, jd = {
7675
- addDictionary: Oo,
7676
- getDictionary: Go,
7677
- setDictionary: zo,
7678
- current: Zo
7679
- }, kd = { Get: oi }, yd = function({
7684
+ const jd = { View: qc, Reducer: Yc, useValue: Hc, setValue: Vc }, kd = {
7685
+ addDictionary: Ao,
7686
+ getDictionary: Uo,
7687
+ setDictionary: Zo,
7688
+ current: zo
7689
+ }, yd = { Get: li }, bd = function({
7680
7690
  title: e,
7681
7691
  children: t,
7682
7692
  imp: n,
@@ -7692,24 +7702,24 @@ const Cd = { View: Wc, Reducer: Yc, useValue: Hc, setValue: qc }, jd = {
7692
7702
  /* @__PURE__ */ a.jsxs("div", { className: "list-info", children: [
7693
7703
  /* @__PURE__ */ a.jsx("h2", { children: e }),
7694
7704
  /* @__PURE__ */ a.jsx("div", { className: "empty" }),
7695
- /* @__PURE__ */ a.jsx(Jc, { button: r })
7705
+ /* @__PURE__ */ a.jsx(Xc, { button: r })
7696
7706
  ] }),
7697
- c && /* @__PURE__ */ a.jsx(Vc, { imp: n, modules: o, t: l }),
7707
+ c && /* @__PURE__ */ a.jsx(Jc, { imp: n, modules: o, t: l }),
7698
7708
  t
7699
7709
  ] });
7700
7710
  };
7701
- let Vc = ({ modules: e, t }) => {
7711
+ let Jc = ({ modules: e, t }) => {
7702
7712
  const n = h.lazy(() => st(e + "/pages/" + t + ".tsx"));
7703
7713
  return /* @__PURE__ */ a.jsx(h.Suspense, { fallback: "", children: /* @__PURE__ */ a.jsx(n, {}) });
7704
- }, Jc = ({ button: e }) => {
7714
+ }, Xc = ({ button: e }) => {
7705
7715
  const [t, n] = h.useState(e);
7706
7716
  return Se.useListener("button", n), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7707
7717
  " ",
7708
7718
  t
7709
7719
  ] });
7710
7720
  };
7711
- const bd = { Open: Lo };
7712
- function wd({ active: e, onActive: t, id: n, name: r }) {
7721
+ const wd = { Open: $o };
7722
+ function Sd({ active: e, onActive: t, id: n, name: r }) {
7713
7723
  const [s, i] = h.useState(!!e);
7714
7724
  h.useEffect(() => {
7715
7725
  i(!!e);
@@ -7734,48 +7744,48 @@ function wd({ active: e, onActive: t, id: n, name: r }) {
7734
7744
  );
7735
7745
  }
7736
7746
  export {
7737
- ul as Action,
7738
- sd as Alert,
7739
- ed as Animation,
7747
+ fl as Action,
7748
+ id as Alert,
7749
+ td as Animation,
7740
7750
  dn as Api,
7741
- ld as Badge,
7742
- rd as Bookmarks,
7743
- td as Browser,
7744
- qi as Button,
7745
- kd as Company,
7746
- xn as Component,
7747
- cd as DataBase,
7751
+ cd as Badge,
7752
+ sd as Bookmarks,
7753
+ nd as Browser,
7754
+ Vi as Button,
7755
+ yd as Company,
7756
+ pn as Component,
7757
+ dd as DataBase,
7748
7758
  Se as Event,
7749
7759
  Se as Events,
7750
- _d as Files,
7760
+ ud as Files,
7751
7761
  pd as Filter,
7752
- ud as Form,
7753
- U as Format,
7754
- dd as HotKey,
7755
- id as Icon,
7756
- qo as Init,
7757
- fd as Input,
7758
- jd as Lang,
7759
- hd as Layout,
7760
- Cd as List,
7761
- md as Loading,
7762
+ fd as Form,
7763
+ z as Format,
7764
+ _d as HotKey,
7765
+ od as Icon,
7766
+ Vo as Init,
7767
+ md as Input,
7768
+ kd as Lang,
7769
+ gd as Layout,
7770
+ jd as List,
7771
+ hd as Loading,
7762
7772
  ot as Modal,
7763
7773
  we as Notice,
7764
- xd as Notifications,
7765
- vd as Pagination,
7766
- bd as Phone,
7767
- yl as Root,
7774
+ vd as Notifications,
7775
+ Cd as Pagination,
7776
+ wd as Phone,
7777
+ bl as Root,
7768
7778
  Ae as Router,
7769
- Xl as Scrolling,
7770
- gd as Search,
7771
- ad as Setting,
7779
+ Ql as Scrolling,
7780
+ xd as Search,
7781
+ rd as Setting,
7772
7782
  it as Sistym,
7773
- pe as Socket,
7783
+ xe as Socket,
7774
7784
  J as Store,
7775
- wd as Switch,
7776
- nd as Tabs,
7777
- yd as Test,
7778
- od as Triage,
7785
+ Sd as Switch,
7786
+ ad as Tabs,
7787
+ bd as Test,
7788
+ ld as Triage,
7779
7789
  $t as User,
7780
7790
  K as WebRTC
7781
7791
  };