elcrm 0.9.5 → 0.9.6

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,19 +1,19 @@
1
- import './index.css';var Sa = Object.defineProperty;
2
- var Ea = (e, t, n) => t in e ? Sa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var ht = (e, t, n) => Ea(e, typeof t != "symbol" ? t + "" : t, n);
4
- import g, { createElement as Ra } from "react";
1
+ import './index.css';var Ea = Object.defineProperty;
2
+ var Ra = (e, t, n) => t in e ? Ea(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var ht = (e, t, n) => Ra(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import g, { createElement as Da } from "react";
5
5
  let Dt = {};
6
- const Da = (e) => {
6
+ const Na = (e) => {
7
7
  console.log("+++++", e), Dt = e;
8
- }, Na = (e) => Dt.enCode(e), Ta = (e) => Dt.deCode(e), $ = { enCode: Na, deCode: Ta, New: Da }, D = {}, J = {}, Ne = {}, gn = {}, fe = {};
8
+ }, Ta = (e) => Dt.enCode(e), Ia = (e) => Dt.deCode(e), $ = { enCode: Ta, deCode: Ia, New: Na }, D = {}, J = {}, De = {}, pn = {}, fe = {};
9
9
  let tt = "M06";
10
- function Ia(e) {
10
+ function Ma(e) {
11
11
  tt = e;
12
12
  }
13
- function Ma() {
13
+ function La() {
14
14
  return tt;
15
15
  }
16
- function La(e) {
16
+ function Fa(e) {
17
17
  let t = localStorage.getItem("d");
18
18
  if (console.log(t), t) {
19
19
  let n = sessionStorage.getItem("f");
@@ -29,7 +29,7 @@ function ie() {
29
29
  (e) => localStorage.removeItem(e)
30
30
  ), ["f"].forEach((e) => sessionStorage.removeItem(e)), window.location.reload();
31
31
  }
32
- function Fa(e) {
32
+ function Ba(e) {
33
33
  e = e.split("/"), D.page = "Main", D.module = e[0], D.tab = e[1], D.id = 0, sessionStorage.setItem(
34
34
  "f",
35
35
  $.enCode({
@@ -41,21 +41,21 @@ function Fa(e) {
41
41
  })
42
42
  ), J.page(D.page);
43
43
  }
44
- function Ba(e) {
44
+ function $a(e) {
45
45
  return localStorage.setItem("d", e);
46
46
  }
47
- function $a() {
47
+ function Pa() {
48
48
  let e = localStorage.getItem("d");
49
49
  return e !== "" && e !== "undefined" && e !== null ? e : "";
50
50
  }
51
- function Pa(e) {
51
+ function Oa(e) {
52
52
  return localStorage.setItem("a", e);
53
53
  }
54
- function Oa() {
54
+ function Aa() {
55
55
  let e = localStorage.getItem("a");
56
56
  return e !== "" && e !== "undefined" && e !== null ? e : "";
57
57
  }
58
- function Aa(e) {
58
+ function Ga(e) {
59
59
  localStorage.setItem("p", $.enCode(e));
60
60
  }
61
61
  function xt() {
@@ -66,47 +66,47 @@ function xt() {
66
66
  } else
67
67
  return ie(), !1;
68
68
  }
69
- function Ga() {
70
- const [e, t] = g.useState(pn()), n = (s) => {
69
+ function Za() {
70
+ const [e, t] = g.useState(xn()), n = (s) => {
71
71
  t(s);
72
72
  };
73
73
  return J.page = n, [e];
74
74
  }
75
- function Za(e, t = !0) {
75
+ function za(e, t = !0) {
76
76
  D.page = e, sessionStorage.setItem("f", $.enCode(D)), t && J.page(e);
77
77
  }
78
- function pn() {
78
+ function xn() {
79
79
  return D.page;
80
80
  }
81
- function za(e) {
81
+ function Ua(e) {
82
82
  return D.page === e;
83
83
  }
84
- function Ua(e) {
84
+ function Wa(e) {
85
85
  if (typeof e != "function") {
86
- const [t, n] = g.useState(e || xn()), s = (r) => {
86
+ const [t, n] = g.useState(e || vn()), s = (r) => {
87
87
  n(r);
88
88
  };
89
89
  return J.module = s, [t];
90
90
  } else
91
91
  J.module = e;
92
92
  }
93
- function Wa(e, t = !0) {
93
+ function Ka(e, t = !0) {
94
94
  D.module = e, sessionStorage.setItem("f", $.enCode(D)), t && J.module(e);
95
95
  }
96
- function xn() {
96
+ function vn() {
97
97
  return D.module;
98
98
  }
99
- function Ka(e) {
99
+ function Ya(e) {
100
100
  return D.module === e;
101
101
  }
102
- function Ya(e) {
102
+ function Ha(e) {
103
103
  if (typeof e != "function") {
104
104
  const [t, n] = g.useState(e || nt());
105
105
  return J.tabs = n, [t];
106
106
  } else
107
107
  J.tabs = e;
108
108
  }
109
- function Ha(e, t = !0) {
109
+ function qa(e, t = !0) {
110
110
  if (D.tab = e, sessionStorage.setItem("f", $.enCode(D)), !!t)
111
111
  if (J.tabs)
112
112
  J.tabs(e);
@@ -116,47 +116,47 @@ function Ha(e, t = !0) {
116
116
  function nt() {
117
117
  return D.tab;
118
118
  }
119
- function qa(e) {
119
+ function Va(e) {
120
120
  return D.tab === e;
121
121
  }
122
- function Va(e) {
122
+ function Ja(e) {
123
123
  if (typeof e != "function") {
124
- const [t, n] = g.useState(e || vn()), s = (r) => {
124
+ const [t, n] = g.useState(e || Cn()), s = (r) => {
125
125
  n(r);
126
126
  };
127
127
  return J.id = s, [t];
128
128
  } else
129
129
  J.id = e;
130
130
  }
131
- function Ja(e) {
131
+ function Xa(e) {
132
132
  J.id = e;
133
133
  }
134
- function Xa(e, t = !0) {
134
+ function Qa(e, t = !0) {
135
135
  D.id = e, sessionStorage.setItem("f", $.enCode(D)), t && J.id(e);
136
136
  }
137
- function vn() {
137
+ function Cn() {
138
138
  return D.id;
139
139
  }
140
- function Qa(e) {
140
+ function es(e) {
141
141
  return Number(D.id) === e;
142
142
  }
143
- function es(e, t, n) {
143
+ function ts(e, t, n) {
144
144
  D.module = e, D.id = n, D.tab = t, sessionStorage.setItem("f", $.enCode(D)), J.module(e), J.tabs(t);
145
145
  }
146
- function ts(e) {
147
- Ne.data = e[0], delete Ne.data.id, document.body.dataset.theme = Ne.data.s15, localStorage.setItem("s", $.enCode(Ne.data));
146
+ function ns(e) {
147
+ De.data = e[0], delete De.data.id, document.body.dataset.theme = De.data.s15, localStorage.setItem("s", $.enCode(De.data));
148
148
  }
149
- function ns(e, t) {
150
- Ne.data[e] = t, localStorage.setItem("s", $.enCode(Ne.data));
149
+ function as(e, t) {
150
+ De.data[e] = t, localStorage.setItem("s", $.enCode(De.data));
151
151
  }
152
- function as(e) {
152
+ function ss(e) {
153
153
  let t = localStorage.getItem("s");
154
154
  return t === null ? {} : (t = $.deCode(t), t ? e !== void 0 ? t[e] : t : ie());
155
155
  }
156
- function Cn(e) {
156
+ function yn(e) {
157
157
  localStorage.setItem("m", $.enCode({ data: e }));
158
158
  }
159
- function ss() {
159
+ function rs() {
160
160
  let e = localStorage.getItem("m");
161
161
  if (e !== "" && e !== "undefined" && e !== null) {
162
162
  let t = localStorage.getItem("m"), n = $.deCode(t);
@@ -170,10 +170,10 @@ function ss() {
170
170
  } else
171
171
  return ie(), !1;
172
172
  }
173
- function rs(e) {
173
+ function is(e) {
174
174
  J.sort = e;
175
175
  }
176
- function yn(e) {
176
+ function jn(e) {
177
177
  let t = localStorage.getItem("b");
178
178
  t = t === null ? {} : $.deCode(t), t[nt()] = e, localStorage.setItem("b", $.enCode(t));
179
179
  }
@@ -181,10 +181,10 @@ function vt() {
181
181
  let e = localStorage.getItem("b");
182
182
  return e === null ? {} : (e = $.deCode(e), e = e[nt()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
183
183
  }
184
- function jn(e) {
184
+ function kn(e) {
185
185
  localStorage.setItem("c", $.enCode(e));
186
186
  }
187
- function kn(e, t) {
187
+ function wn(e, t) {
188
188
  var s;
189
189
  let n = localStorage.getItem("c");
190
190
  if (n !== "" && n !== "undefined" && n !== null) {
@@ -196,7 +196,7 @@ function kn(e, t) {
196
196
  function ze(e) {
197
197
  fe.data = e, localStorage.setItem("q", $.enCode(fe.data));
198
198
  }
199
- function is(e, t) {
199
+ function os(e, t) {
200
200
  fe.data = { ...fe.data, [e]: t }, localStorage.setItem("q", $.enCode(fe.data));
201
201
  }
202
202
  function ge(e, t) {
@@ -206,22 +206,22 @@ function ge(e, t) {
206
206
  }
207
207
  return e === void 0 && t === void 0 ? fe.data : e !== void 0 && t === void 0 ? fe.data[e] : fe.data[e][t];
208
208
  }
209
- function os(e) {
210
- gn.data = e;
211
- }
212
209
  function ls(e) {
213
- return gn.data[e];
210
+ pn.data = e;
214
211
  }
215
212
  function cs(e) {
213
+ return pn.data[e];
214
+ }
215
+ function ds(e) {
216
216
  D.payment = e;
217
217
  }
218
- function ds() {
218
+ function _s() {
219
219
  return D.payment;
220
220
  }
221
- function wn(e) {
221
+ function bn(e) {
222
222
  localStorage.setItem("u", $.enCode(e));
223
223
  }
224
- function _s() {
224
+ function us() {
225
225
  let e = localStorage.getItem("u");
226
226
  if (e !== "" && e !== "undefined" && e !== null) {
227
227
  let t = $.deCode(e);
@@ -229,10 +229,10 @@ function _s() {
229
229
  } else
230
230
  return ie(), !1;
231
231
  }
232
- function nn(e) {
232
+ function an(e) {
233
233
  localStorage.setItem("e", $.enCode(e));
234
234
  }
235
- function us() {
235
+ function fs() {
236
236
  let e = localStorage.getItem("e");
237
237
  if (e !== "" && e !== "undefined" && e !== null)
238
238
  try {
@@ -244,7 +244,7 @@ function us() {
244
244
  else
245
245
  return {};
246
246
  }
247
- function fs(e) {
247
+ function ms(e) {
248
248
  const t = (n) => {
249
249
  let s = localStorage.getItem(n);
250
250
  if (s !== "" && s !== "undefined" && s !== null)
@@ -260,50 +260,50 @@ function fs(e) {
260
260
  };
261
261
  e.forEach((n) => t(n));
262
262
  }
263
- function ms(e) {
263
+ function hs(e) {
264
264
  return D[e] === void 0 ? (D[e] = { data: {}, time: 0 }, { data: {}, time: 0 }) : D[e];
265
265
  }
266
- function hs(e, t) {
266
+ function gs(e, t) {
267
267
  D[e] = { data: t.data, time: t.time }, localStorage.setItem(e, $.enCode(D[e]));
268
268
  }
269
- function gs(e, t, n) {
269
+ function ps(e, t, n) {
270
270
  D[e].time = n, D[e].data[t.item][t.name] = t.value, localStorage.setItem(e, $.enCode(D[e]));
271
271
  }
272
272
  const re = {
273
- setSSID: Ba,
274
- getSSID: $a,
273
+ setSSID: $a,
274
+ getSSID: Pa,
275
275
  getPORT: xt,
276
- setPORT: Aa,
277
- setAUTH: Pa,
278
- getAUTH: Oa,
276
+ setPORT: Ga,
277
+ setAUTH: Oa,
278
+ getAUTH: Aa,
279
279
  Logaut: ie,
280
- Start: Fa,
281
- setMenu: Cn,
282
- getMenu: ss,
283
- useSort: rs,
284
- setSort: yn,
280
+ Start: Ba,
281
+ setMenu: yn,
282
+ getMenu: rs,
283
+ useSort: is,
284
+ setSort: jn,
285
285
  getSort: vt,
286
- setCompany: jn,
287
- getCompany: kn,
286
+ setCompany: kn,
287
+ getCompany: wn,
288
288
  setSelect: ze,
289
- addSelect: is,
289
+ addSelect: os,
290
290
  getSelect: ge,
291
- setApi: os,
292
- getApi: ls,
293
- setPayment: cs,
294
- getPayment: ds,
295
- setUser: wn,
296
- getUser: _s,
297
- getDefaultModules: Ma,
298
- getBase: ms,
299
- setBase: hs,
300
- editBase: gs,
301
- loadBase: fs
302
- }, bn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=", ps = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), an = typeof self < "u" && self.Blob && new Blob([ps(bn)], { type: "text/javascript;charset=utf-8" });
303
- function Sn(e) {
291
+ setApi: ls,
292
+ getApi: cs,
293
+ setPayment: ds,
294
+ getPayment: _s,
295
+ setUser: bn,
296
+ getUser: us,
297
+ getDefaultModules: La,
298
+ getBase: hs,
299
+ setBase: gs,
300
+ editBase: ps,
301
+ loadBase: ms
302
+ }, Sn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=", xs = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), sn = typeof self < "u" && self.Blob && new Blob([xs(Sn)], { type: "text/javascript;charset=utf-8" });
303
+ function En(e) {
304
304
  let t;
305
305
  try {
306
- if (t = an && (self.URL || self.webkitURL).createObjectURL(an), !t) throw "";
306
+ if (t = sn && (self.URL || self.webkitURL).createObjectURL(sn), !t) throw "";
307
307
  const n = new Worker(t, {
308
308
  name: e == null ? void 0 : e.name
309
309
  });
@@ -312,7 +312,7 @@ function Sn(e) {
312
312
  }), n;
313
313
  } catch {
314
314
  return new Worker(
315
- "data:text/javascript;base64," + bn,
315
+ "data:text/javascript;base64," + Sn,
316
316
  {
317
317
  name: e == null ? void 0 : e.name
318
318
  }
@@ -322,25 +322,25 @@ function Sn(e) {
322
322
  }
323
323
  }
324
324
  const _e = {};
325
- function xs(e) {
325
+ function vs(e) {
326
326
  return e && (_e.s = e), _e.s;
327
327
  }
328
- function vs(e) {
328
+ function Cs(e) {
329
329
  return e && (_e.a = e), _e.a;
330
330
  }
331
- function Cs(e) {
331
+ function ys(e) {
332
332
  return e && (_e.c = e), _e.c;
333
333
  }
334
- function ys(e) {
334
+ function js(e) {
335
335
  return e && (_e.h = e), _e.h;
336
336
  }
337
- function js(e) {
337
+ function ks(e) {
338
338
  return e && (_e.i = e), _e.i;
339
339
  }
340
- function ks(e) {
340
+ function Nt(e) {
341
341
  return _e.i(e);
342
342
  }
343
- const at = { version: { Api: vs, Server: xs, Client: Cs }, Host: ys, Import: js };
343
+ const at = { version: { Api: Cs, Server: vs, Client: ys }, Host: js, Import: ks };
344
344
  let ws = "api", bs = "elcrm", Ss = "online";
345
345
  function Es() {
346
346
  let e = re.getPORT(), t = "", n = "";
@@ -349,7 +349,7 @@ function Es() {
349
349
  files: n
350
350
  };
351
351
  }
352
- let Nt = `${ws}.${bs}.${Ss}`;
352
+ let Tt = `${ws}.${bs}.${Ss}`;
353
353
  function Rs(e) {
354
354
  return "https://" + re.getPORT().address + "/audio/" + e;
355
355
  }
@@ -358,20 +358,20 @@ function Ds(e) {
358
358
  }
359
359
  function Ue(e, t = {}, n = re.getAUTH()) {
360
360
  return new Promise((s) => {
361
- const r = new Sn();
361
+ const r = new En();
362
362
  r.onmessage = (i) => {
363
363
  s(i.data), r.terminate();
364
364
  }, r.postMessage({
365
365
  link: e,
366
366
  data: t,
367
367
  ssid: n,
368
- host: at.Host() || `https://${Nt}/`
368
+ host: at.Host() || `https://${Tt}/`
369
369
  });
370
370
  });
371
371
  }
372
372
  async function Ns(e, t = {}, n = re.getAUTH()) {
373
373
  try {
374
- return await (await Ue(at.Host() || `https://${Nt}/` + e, {
374
+ return await (await Ue(at.Host() || `https://${Tt}/` + e, {
375
375
  method: "POST",
376
376
  headers: {
377
377
  ssid: n
@@ -384,14 +384,14 @@ async function Ns(e, t = {}, n = re.getAUTH()) {
384
384
  }
385
385
  function Ts(e, t = {}, n = re.getAUTH()) {
386
386
  return new Promise((s) => {
387
- const r = new Sn();
387
+ const r = new En();
388
388
  r.onmessage = (i) => {
389
389
  s(i.data), r.terminate();
390
390
  }, r.postMessage({
391
391
  link: e,
392
392
  data: t,
393
393
  ssid: n,
394
- host: at.Host() + "modules/" || `https://${Nt}/modules`
394
+ host: at.Host() + "modules/" || `https://${Tt}/modules`
395
395
  });
396
396
  });
397
397
  }
@@ -404,7 +404,7 @@ function Is(e, t = {}, n) {
404
404
  i(t);
405
405
  }, []), [s, i];
406
406
  }
407
- let En = {
407
+ let Rn = {
408
408
  "Content-type": "application/json;charset=utf-8",
409
409
  ssid: re.getAUTH() || ""
410
410
  };
@@ -412,7 +412,7 @@ async function Ms(e, t, n = {}) {
412
412
  try {
413
413
  return await (await Ue("https://" + e + "/" + t, {
414
414
  method: "POST",
415
- headers: En,
415
+ headers: Rn,
416
416
  body: JSON.stringify(n)
417
417
  })).json();
418
418
  } catch {
@@ -423,7 +423,7 @@ async function Ls(e, t = {}) {
423
423
  try {
424
424
  return await (await Ue("https://tb.elcrm.online/v1/" + e, {
425
425
  method: "POST",
426
- headers: En,
426
+ headers: Rn,
427
427
  body: JSON.stringify(t)
428
428
  })).json();
429
429
  } catch {
@@ -438,7 +438,7 @@ async function Bs(e, t = {}) {
438
438
  setTimeout(() => n(t), e);
439
439
  });
440
440
  }
441
- const sn = {
441
+ const rn = {
442
442
  audio: Rs,
443
443
  image: Ds,
444
444
  fetch: Ue,
@@ -461,10 +461,10 @@ var Ct = { exports: {} }, Be = {};
461
461
  * This source code is licensed under the MIT license found in the
462
462
  * LICENSE file in the root directory of this source tree.
463
463
  */
464
- var rn;
464
+ var on;
465
465
  function $s() {
466
- if (rn) return Be;
467
- rn = 1;
466
+ if (on) return Be;
467
+ on = 1;
468
468
  var e = g, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
469
469
  function o(l, c, _) {
470
470
  var u, m = {}, f = null, p = null;
@@ -485,9 +485,9 @@ var $e = {};
485
485
  * This source code is licensed under the MIT license found in the
486
486
  * LICENSE file in the root directory of this source tree.
487
487
  */
488
- var on;
488
+ var ln;
489
489
  function Ps() {
490
- return on || (on = 1, process.env.NODE_ENV !== "production" && function() {
490
+ return ln || (ln = 1, process.env.NODE_ENV !== "production" && function() {
491
491
  var e = g, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), r = 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"), m = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), C = Symbol.iterator, h = "@@iterator";
492
492
  function x(d) {
493
493
  if (d === null || typeof d != "object")
@@ -577,18 +577,18 @@ function Ps() {
577
577
  }
578
578
  return null;
579
579
  }
580
- var F = Object.assign, W = 0, ee, ae, he, Ee, Me, Ye, At;
581
- function Gt() {
580
+ var F = Object.assign, W = 0, ee, ae, he, Se, Me, Ye, Gt;
581
+ function Zt() {
582
582
  }
583
- Gt.__reactDisabledLog = !0;
584
- function Qn() {
583
+ Zt.__reactDisabledLog = !0;
584
+ function ea() {
585
585
  {
586
586
  if (W === 0) {
587
- ee = console.log, ae = console.info, he = console.warn, Ee = console.error, Me = console.group, Ye = console.groupCollapsed, At = console.groupEnd;
587
+ ee = console.log, ae = console.info, he = console.warn, Se = console.error, Me = console.group, Ye = console.groupCollapsed, Gt = console.groupEnd;
588
588
  var d = {
589
589
  configurable: !0,
590
590
  enumerable: !0,
591
- value: Gt,
591
+ value: Zt,
592
592
  writable: !0
593
593
  };
594
594
  Object.defineProperties(console, {
@@ -604,7 +604,7 @@ function Ps() {
604
604
  W++;
605
605
  }
606
606
  }
607
- function ea() {
607
+ function ta() {
608
608
  {
609
609
  if (W--, W === 0) {
610
610
  var d = {
@@ -623,7 +623,7 @@ function Ps() {
623
623
  value: he
624
624
  }),
625
625
  error: F({}, d, {
626
- value: Ee
626
+ value: Se
627
627
  }),
628
628
  group: F({}, d, {
629
629
  value: Me
@@ -632,7 +632,7 @@ function Ps() {
632
632
  value: Ye
633
633
  }),
634
634
  groupEnd: F({}, d, {
635
- value: At
635
+ value: Gt
636
636
  })
637
637
  });
638
638
  }
@@ -655,10 +655,10 @@ function Ps() {
655
655
  }
656
656
  var lt = !1, qe;
657
657
  {
658
- var ta = typeof WeakMap == "function" ? WeakMap : Map;
659
- qe = new ta();
658
+ var na = typeof WeakMap == "function" ? WeakMap : Map;
659
+ qe = new na();
660
660
  }
661
- function Zt(d, v) {
661
+ function zt(d, v) {
662
662
  if (!d || lt)
663
663
  return "";
664
664
  {
@@ -671,7 +671,7 @@ function Ps() {
671
671
  var G = Error.prepareStackTrace;
672
672
  Error.prepareStackTrace = void 0;
673
673
  var Z;
674
- Z = it.current, it.current = null, Qn();
674
+ Z = it.current, it.current = null, ea();
675
675
  try {
676
676
  if (v) {
677
677
  var P = function() {
@@ -724,15 +724,15 @@ function Ps() {
724
724
  }
725
725
  }
726
726
  } finally {
727
- lt = !1, it.current = Z, ea(), Error.prepareStackTrace = G;
727
+ lt = !1, it.current = Z, ta(), Error.prepareStackTrace = G;
728
728
  }
729
- var De = d ? d.displayName || d.name : "", je = De ? He(De) : "";
729
+ var Re = d ? d.displayName || d.name : "", je = Re ? He(Re) : "";
730
730
  return typeof d == "function" && qe.set(d, je), je;
731
731
  }
732
- function na(d, v, k) {
733
- return Zt(d, !1);
732
+ function aa(d, v, k) {
733
+ return zt(d, !1);
734
734
  }
735
- function aa(d) {
735
+ function sa(d) {
736
736
  var v = d.prototype;
737
737
  return !!(v && v.isReactComponent);
738
738
  }
@@ -740,7 +740,7 @@ function Ps() {
740
740
  if (d == null)
741
741
  return "";
742
742
  if (typeof d == "function")
743
- return Zt(d, aa(d));
743
+ return zt(d, sa(d));
744
744
  if (typeof d == "string")
745
745
  return He(d);
746
746
  switch (d) {
@@ -752,7 +752,7 @@ function Ps() {
752
752
  if (typeof d == "object")
753
753
  switch (d.$$typeof) {
754
754
  case c:
755
- return na(d.render);
755
+ return aa(d.render);
756
756
  case m:
757
757
  return Ve(d.type, v, k);
758
758
  case f: {
@@ -765,15 +765,15 @@ function Ps() {
765
765
  }
766
766
  return "";
767
767
  }
768
- var Le = Object.prototype.hasOwnProperty, zt = {}, Ut = y.ReactDebugCurrentFrame;
768
+ var Le = Object.prototype.hasOwnProperty, Ut = {}, Wt = y.ReactDebugCurrentFrame;
769
769
  function Je(d) {
770
770
  if (d) {
771
771
  var v = d._owner, k = Ve(d.type, d._source, v ? v.type : null);
772
- Ut.setExtraStackFrame(k);
772
+ Wt.setExtraStackFrame(k);
773
773
  } else
774
- Ut.setExtraStackFrame(null);
774
+ Wt.setExtraStackFrame(null);
775
775
  }
776
- function sa(d, v, k, M, G) {
776
+ function ra(d, v, k, M, G) {
777
777
  {
778
778
  var Z = Function.call.bind(Le);
779
779
  for (var P in d)
@@ -788,42 +788,42 @@ function Ps() {
788
788
  } catch (H) {
789
789
  B = H;
790
790
  }
791
- B && !(B instanceof Error) && (Je(G), w("%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", k, P, typeof B), Je(null)), B instanceof Error && !(B.message in zt) && (zt[B.message] = !0, Je(G), w("Failed %s type: %s", k, B.message), Je(null));
791
+ B && !(B instanceof Error) && (Je(G), w("%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", k, P, typeof B), Je(null)), B instanceof Error && !(B.message in Ut) && (Ut[B.message] = !0, Je(G), w("Failed %s type: %s", k, B.message), Je(null));
792
792
  }
793
793
  }
794
794
  }
795
- var ra = Array.isArray;
795
+ var ia = Array.isArray;
796
796
  function ct(d) {
797
- return ra(d);
797
+ return ia(d);
798
798
  }
799
- function ia(d) {
799
+ function oa(d) {
800
800
  {
801
801
  var v = typeof Symbol == "function" && Symbol.toStringTag, k = v && d[Symbol.toStringTag] || d.constructor.name || "Object";
802
802
  return k;
803
803
  }
804
804
  }
805
- function oa(d) {
805
+ function la(d) {
806
806
  try {
807
- return Wt(d), !1;
807
+ return Kt(d), !1;
808
808
  } catch {
809
809
  return !0;
810
810
  }
811
811
  }
812
- function Wt(d) {
812
+ function Kt(d) {
813
813
  return "" + d;
814
814
  }
815
- function Kt(d) {
816
- if (oa(d))
817
- return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ia(d)), Wt(d);
815
+ function Yt(d) {
816
+ if (la(d))
817
+ return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", oa(d)), Kt(d);
818
818
  }
819
- var Fe = y.ReactCurrentOwner, la = {
819
+ var Fe = y.ReactCurrentOwner, ca = {
820
820
  key: !0,
821
821
  ref: !0,
822
822
  __self: !0,
823
823
  __source: !0
824
- }, Yt, Ht, dt;
824
+ }, Ht, qt, dt;
825
825
  dt = {};
826
- function ca(d) {
826
+ function da(d) {
827
827
  if (Le.call(d, "ref")) {
828
828
  var v = Object.getOwnPropertyDescriptor(d, "ref").get;
829
829
  if (v && v.isReactWarning)
@@ -831,7 +831,7 @@ function Ps() {
831
831
  }
832
832
  return d.ref !== void 0;
833
833
  }
834
- function da(d) {
834
+ function _a(d) {
835
835
  if (Le.call(d, "key")) {
836
836
  var v = Object.getOwnPropertyDescriptor(d, "key").get;
837
837
  if (v && v.isReactWarning)
@@ -839,16 +839,16 @@ function Ps() {
839
839
  }
840
840
  return d.key !== void 0;
841
841
  }
842
- function _a(d, v) {
842
+ function ua(d, v) {
843
843
  if (typeof d.ref == "string" && Fe.current && v && Fe.current.stateNode !== v) {
844
844
  var k = N(Fe.current.type);
845
845
  dt[k] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', N(Fe.current.type), d.ref), dt[k] = !0);
846
846
  }
847
847
  }
848
- function ua(d, v) {
848
+ function fa(d, v) {
849
849
  {
850
850
  var k = function() {
851
- Yt || (Yt = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
851
+ Ht || (Ht = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
852
852
  };
853
853
  k.isReactWarning = !0, Object.defineProperty(d, "key", {
854
854
  get: k,
@@ -856,10 +856,10 @@ function Ps() {
856
856
  });
857
857
  }
858
858
  }
859
- function fa(d, v) {
859
+ function ma(d, v) {
860
860
  {
861
861
  var k = function() {
862
- Ht || (Ht = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
862
+ qt || (qt = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
863
863
  };
864
864
  k.isReactWarning = !0, Object.defineProperty(d, "ref", {
865
865
  get: k,
@@ -867,7 +867,7 @@ function Ps() {
867
867
  });
868
868
  }
869
869
  }
870
- var ma = function(d, v, k, M, G, Z, P) {
870
+ var ha = function(d, v, k, M, G, Z, P) {
871
871
  var B = {
872
872
  // This tag allows us to uniquely identify this as a React Element
873
873
  $$typeof: t,
@@ -896,12 +896,12 @@ function Ps() {
896
896
  value: G
897
897
  }), Object.freeze && (Object.freeze(B.props), Object.freeze(B)), B;
898
898
  };
899
- function ha(d, v, k, M, G) {
899
+ function ga(d, v, k, M, G) {
900
900
  {
901
901
  var Z, P = {}, B = null, Q = null;
902
- k !== void 0 && (Kt(k), B = "" + k), da(v) && (Kt(v.key), B = "" + v.key), ca(v) && (Q = v.ref, _a(v, G));
902
+ k !== void 0 && (Yt(k), B = "" + k), _a(v) && (Yt(v.key), B = "" + v.key), da(v) && (Q = v.ref, ua(v, G));
903
903
  for (Z in v)
904
- Le.call(v, Z) && !la.hasOwnProperty(Z) && (P[Z] = v[Z]);
904
+ Le.call(v, Z) && !ca.hasOwnProperty(Z) && (P[Z] = v[Z]);
905
905
  if (d && d.defaultProps) {
906
906
  var H = d.defaultProps;
907
907
  for (Z in H)
@@ -909,25 +909,25 @@ function Ps() {
909
909
  }
910
910
  if (B || Q) {
911
911
  var V = typeof d == "function" ? d.displayName || d.name || "Unknown" : d;
912
- B && ua(P, V), Q && fa(P, V);
912
+ B && fa(P, V), Q && ma(P, V);
913
913
  }
914
- return ma(d, B, Q, G, M, Fe.current, P);
914
+ return ha(d, B, Q, G, M, Fe.current, P);
915
915
  }
916
916
  }
917
- var _t = y.ReactCurrentOwner, qt = y.ReactDebugCurrentFrame;
918
- function Re(d) {
917
+ var _t = y.ReactCurrentOwner, Vt = y.ReactDebugCurrentFrame;
918
+ function Ee(d) {
919
919
  if (d) {
920
920
  var v = d._owner, k = Ve(d.type, d._source, v ? v.type : null);
921
- qt.setExtraStackFrame(k);
921
+ Vt.setExtraStackFrame(k);
922
922
  } else
923
- qt.setExtraStackFrame(null);
923
+ Vt.setExtraStackFrame(null);
924
924
  }
925
925
  var ut;
926
926
  ut = !1;
927
927
  function ft(d) {
928
928
  return typeof d == "object" && d !== null && d.$$typeof === t;
929
929
  }
930
- function Vt() {
930
+ function Jt() {
931
931
  {
932
932
  if (_t.current) {
933
933
  var d = N(_t.current.type);
@@ -939,13 +939,13 @@ Check the render method of \`` + d + "`.";
939
939
  return "";
940
940
  }
941
941
  }
942
- function ga(d) {
942
+ function pa(d) {
943
943
  return "";
944
944
  }
945
- var Jt = {};
946
- function pa(d) {
945
+ var Xt = {};
946
+ function xa(d) {
947
947
  {
948
- var v = Vt();
948
+ var v = Jt();
949
949
  if (!v) {
950
950
  var k = typeof d == "string" ? d : d.displayName || d.name;
951
951
  k && (v = `
@@ -955,27 +955,27 @@ Check the top-level render call using <` + k + ">.");
955
955
  return v;
956
956
  }
957
957
  }
958
- function Xt(d, v) {
958
+ function Qt(d, v) {
959
959
  {
960
960
  if (!d._store || d._store.validated || d.key != null)
961
961
  return;
962
962
  d._store.validated = !0;
963
- var k = pa(v);
964
- if (Jt[k])
963
+ var k = xa(v);
964
+ if (Xt[k])
965
965
  return;
966
- Jt[k] = !0;
966
+ Xt[k] = !0;
967
967
  var M = "";
968
- d && d._owner && d._owner !== _t.current && (M = " It was passed a child from " + N(d._owner.type) + "."), Re(d), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, M), Re(null);
968
+ d && d._owner && d._owner !== _t.current && (M = " It was passed a child from " + N(d._owner.type) + "."), Ee(d), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, M), Ee(null);
969
969
  }
970
970
  }
971
- function Qt(d, v) {
971
+ function en(d, v) {
972
972
  {
973
973
  if (typeof d != "object")
974
974
  return;
975
975
  if (ct(d))
976
976
  for (var k = 0; k < d.length; k++) {
977
977
  var M = d[k];
978
- ft(M) && Xt(M, v);
978
+ ft(M) && Qt(M, v);
979
979
  }
980
980
  else if (ft(d))
981
981
  d._store && (d._store.validated = !0);
@@ -983,11 +983,11 @@ Check the top-level render call using <` + k + ">.");
983
983
  var G = x(d);
984
984
  if (typeof G == "function" && G !== d.entries)
985
985
  for (var Z = G.call(d), P; !(P = Z.next()).done; )
986
- ft(P.value) && Xt(P.value, v);
986
+ ft(P.value) && Qt(P.value, v);
987
987
  }
988
988
  }
989
989
  }
990
- function xa(d) {
990
+ function va(d) {
991
991
  {
992
992
  var v = d.type;
993
993
  if (v == null || typeof v == "string")
@@ -1003,7 +1003,7 @@ Check the top-level render call using <` + k + ">.");
1003
1003
  return;
1004
1004
  if (k) {
1005
1005
  var M = N(v);
1006
- sa(k, d.props, "prop", M, d);
1006
+ ra(k, d.props, "prop", M, d);
1007
1007
  } else if (v.PropTypes !== void 0 && !ut) {
1008
1008
  ut = !0;
1009
1009
  var G = N(v);
@@ -1012,31 +1012,31 @@ Check the top-level render call using <` + k + ">.");
1012
1012
  typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1013
1013
  }
1014
1014
  }
1015
- function va(d) {
1015
+ function Ca(d) {
1016
1016
  {
1017
1017
  for (var v = Object.keys(d.props), k = 0; k < v.length; k++) {
1018
1018
  var M = v[k];
1019
1019
  if (M !== "children" && M !== "key") {
1020
- Re(d), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", M), Re(null);
1020
+ Ee(d), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", M), Ee(null);
1021
1021
  break;
1022
1022
  }
1023
1023
  }
1024
- d.ref !== null && (Re(d), w("Invalid attribute `ref` supplied to `React.Fragment`."), Re(null));
1024
+ d.ref !== null && (Ee(d), w("Invalid attribute `ref` supplied to `React.Fragment`."), Ee(null));
1025
1025
  }
1026
1026
  }
1027
- var en = {};
1028
- function tn(d, v, k, M, G, Z) {
1027
+ var tn = {};
1028
+ function nn(d, v, k, M, G, Z) {
1029
1029
  {
1030
1030
  var P = I(d);
1031
1031
  if (!P) {
1032
1032
  var B = "";
1033
1033
  (d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (B += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1034
- var Q = ga();
1035
- Q ? B += Q : B += Vt();
1034
+ var Q = pa();
1035
+ Q ? B += Q : B += Jt();
1036
1036
  var H;
1037
1037
  d === null ? H = "null" : ct(d) ? H = "array" : d !== void 0 && d.$$typeof === t ? (H = "<" + (N(d.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : H = typeof d, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, B);
1038
1038
  }
1039
- var V = ha(d, v, k, G, Z);
1039
+ var V = ga(d, v, k, G, Z);
1040
1040
  if (V == null)
1041
1041
  return V;
1042
1042
  if (P) {
@@ -1044,39 +1044,39 @@ Check the top-level render call using <` + k + ">.");
1044
1044
  if (oe !== void 0)
1045
1045
  if (M)
1046
1046
  if (ct(oe)) {
1047
- for (var De = 0; De < oe.length; De++)
1048
- Qt(oe[De], d);
1047
+ for (var Re = 0; Re < oe.length; Re++)
1048
+ en(oe[Re], d);
1049
1049
  Object.freeze && Object.freeze(oe);
1050
1050
  } else
1051
1051
  w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1052
1052
  else
1053
- Qt(oe, d);
1053
+ en(oe, d);
1054
1054
  }
1055
1055
  if (Le.call(v, "key")) {
1056
- var je = N(d), te = Object.keys(v).filter(function(ba) {
1057
- return ba !== "key";
1056
+ var je = N(d), te = Object.keys(v).filter(function(Sa) {
1057
+ return Sa !== "key";
1058
1058
  }), mt = te.length > 0 ? "{key: someKey, " + te.join(": ..., ") + ": ...}" : "{key: someKey}";
1059
- if (!en[je + mt]) {
1060
- var wa = te.length > 0 ? "{" + te.join(": ..., ") + ": ...}" : "{}";
1059
+ if (!tn[je + mt]) {
1060
+ var ba = te.length > 0 ? "{" + te.join(": ..., ") + ": ...}" : "{}";
1061
1061
  w(`A props object containing a "key" prop is being spread into JSX:
1062
1062
  let props = %s;
1063
1063
  <%s {...props} />
1064
1064
  React keys must be passed directly to JSX without using spread:
1065
1065
  let props = %s;
1066
- <%s key={someKey} {...props} />`, mt, je, wa, je), en[je + mt] = !0;
1066
+ <%s key={someKey} {...props} />`, mt, je, ba, je), tn[je + mt] = !0;
1067
1067
  }
1068
1068
  }
1069
- return d === s ? va(V) : xa(V), V;
1069
+ return d === s ? Ca(V) : va(V), V;
1070
1070
  }
1071
1071
  }
1072
- function Ca(d, v, k) {
1073
- return tn(d, v, k, !0);
1074
- }
1075
1072
  function ya(d, v, k) {
1076
- return tn(d, v, k, !1);
1073
+ return nn(d, v, k, !0);
1074
+ }
1075
+ function ja(d, v, k) {
1076
+ return nn(d, v, k, !1);
1077
1077
  }
1078
- var ja = ya, ka = Ca;
1079
- $e.Fragment = s, $e.jsx = ja, $e.jsxs = ka;
1078
+ var ka = ja, wa = ya;
1079
+ $e.Fragment = s, $e.jsx = ka, $e.jsxs = wa;
1080
1080
  }()), $e;
1081
1081
  }
1082
1082
  process.env.NODE_ENV === "production" ? Ct.exports = $s() : Ct.exports = Ps();
@@ -1794,24 +1794,24 @@ function Nr(e, t, n) {
1794
1794
  );
1795
1795
  }
1796
1796
  const Te = { Send: xr, Error: vr, Remark: yr, Success: Cr, Copy: jr }, Oe = {
1797
- Path: es,
1798
- setPage: Za,
1799
- getPage: pn,
1800
- usePage: Ga,
1801
- isPage: za,
1802
- setModule: Wa,
1803
- getModule: xn,
1804
- useModule: Ua,
1805
- isModule: Ka,
1806
- setTabs: Ha,
1797
+ Path: ts,
1798
+ setPage: za,
1799
+ getPage: xn,
1800
+ usePage: Za,
1801
+ isPage: Ua,
1802
+ setModule: Ka,
1803
+ getModule: vn,
1804
+ useModule: Wa,
1805
+ isModule: Ya,
1806
+ setTabs: qa,
1807
1807
  getTabs: nt,
1808
- useTabs: Ya,
1809
- isTabs: qa,
1810
- useId: Va,
1811
- setId: Xa,
1812
- subId: Ja,
1813
- getId: vn,
1814
- isId: Qa
1808
+ useTabs: Ha,
1809
+ isTabs: Va,
1810
+ useId: Ja,
1811
+ setId: Qa,
1812
+ subId: Xa,
1813
+ getId: Cn,
1814
+ isId: es
1815
1815
  };
1816
1816
  function Tr() {
1817
1817
  return /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
@@ -2097,10 +2097,10 @@ function Wr(e) {
2097
2097
  t[r.id] = { s: r.v, n: r.a }, n[r.id] = r;
2098
2098
  });
2099
2099
  let s = { ...ge(), 901: t };
2100
- jn(n), ze(s);
2100
+ kn(n), ze(s);
2101
2101
  }
2102
2102
  function Kr() {
2103
- let e = kn(), t = {};
2103
+ let e = wn(), t = {};
2104
2104
  return Object.keys(e).forEach((n) => {
2105
2105
  t[e[n].id] = {}, t[e[n].id].name = e[n].a;
2106
2106
  }), t;
@@ -2146,7 +2146,7 @@ X.bell = Or;
2146
2146
  X.company = Wr;
2147
2147
  X.info = (e) => {
2148
2148
  let t = {};
2149
- 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"), wn(t), Cn(e.data.menu);
2149
+ 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"), bn(t), yn(e.data.menu);
2150
2150
  };
2151
2151
  X.version = async (e) => {
2152
2152
  at.version.Server(e.data);
@@ -2212,7 +2212,7 @@ X.job = (e) => {
2212
2212
  }), t[1] = n, ze(t);
2213
2213
  };
2214
2214
  X.setting = (e) => {
2215
- ts(e.data);
2215
+ ns(e.data);
2216
2216
  };
2217
2217
  X.app = () => {
2218
2218
  };
@@ -2321,12 +2321,12 @@ function Ti({
2321
2321
  }
2322
2322
  );
2323
2323
  }
2324
- let be = {};
2324
+ let Ne = {};
2325
2325
  function Ii({ config: e }) {
2326
2326
  let [t, n] = g.useState([]);
2327
- return be.x = (s) => {
2327
+ return Ne.x = (s) => {
2328
2328
  s || n([]);
2329
- }, be.config = e, be.add = (s) => {
2329
+ }, Ne.config = e, Ne.add = (s) => {
2330
2330
  n([...t, s]);
2331
2331
  }, /* @__PURE__ */ a.jsx(a.Fragment, { children: t.map((s) => s) });
2332
2332
  }
@@ -2416,7 +2416,7 @@ function Mi({
2416
2416
  ) : "" });
2417
2417
  }
2418
2418
  function Li(e) {
2419
- be.add(/* @__PURE__ */ a.jsx(Fi, { children: e }, String(Date.now())));
2419
+ Ne.add(/* @__PURE__ */ a.jsx(Fi, { children: e }, String(Date.now())));
2420
2420
  }
2421
2421
  function Fi({ children: e }) {
2422
2422
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
@@ -2431,14 +2431,18 @@ function Bi(e) {
2431
2431
  function $i({ type: e, name: t, params: n }) {
2432
2432
  let [s, r] = g.useState(null);
2433
2433
  return g.useEffect(() => {
2434
- be.config(e, t, n, r);
2434
+ Nt(`${e}/modal/${t}.tsx`).then((i) => {
2435
+ r(i.default.Icon(n));
2436
+ });
2435
2437
  }, [n.id]), /* @__PURE__ */ a.jsx(a.Fragment, { children: s });
2436
2438
  }
2437
2439
  function Pi(e, t, n) {
2438
- be.config(e, t, n);
2440
+ Nt(`${e}/modal/${t}.tsx`).then((s) => {
2441
+ s.default.Open(n);
2442
+ }), Ne.config(e, t, n);
2439
2443
  }
2440
2444
  function Oi(e) {
2441
- be.x(e);
2445
+ Ne.x(e);
2442
2446
  }
2443
2447
  const st = {
2444
2448
  List: Jr,
@@ -2452,7 +2456,7 @@ const st = {
2452
2456
  Center: wi,
2453
2457
  Close: Oi
2454
2458
  };
2455
- function Rn({ text: e, type: t, button: n }) {
2459
+ function Dn({ text: e, type: t, button: n }) {
2456
2460
  let [s, r] = g.useState(!1), i = { active: t };
2457
2461
  const o = () => {
2458
2462
  if (n) {
@@ -2500,37 +2504,37 @@ const Ai = "_h_1usnu_1", Gi = "_g_1usnu_11", Zi = "_hr_1usnu_16", zi = "_hl_1usn
2500
2504
  m: Xi,
2501
2505
  ul: Qi,
2502
2506
  f: eo
2503
- }, ln = ({ title: e, left: t, right: n, children: s }) => /* @__PURE__ */ a.jsxs("div", { className: ne.h, children: [
2507
+ }, cn = ({ title: e, left: t, right: n, children: s }) => /* @__PURE__ */ a.jsxs("div", { className: ne.h, children: [
2504
2508
  /* @__PURE__ */ a.jsx("div", { className: ne.t, children: e }),
2505
2509
  t && /* @__PURE__ */ a.jsx("div", { className: ne.hl, children: t }),
2506
2510
  n && /* @__PURE__ */ a.jsx("div", { className: ne.hr, children: n }),
2507
2511
  s
2508
- ] }), cn = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: ne.l, children: e }), dn = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ne.s, children: e }), _n = ({ children: e, edit: t }) => {
2512
+ ] }), dn = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: ne.l, children: e }), _n = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ne.s, children: e }), un = ({ children: e, edit: t }) => {
2509
2513
  const n = {};
2510
2514
  return t && (n.edit = ""), console.log(n), /* @__PURE__ */ a.jsx("div", { ...n, className: ne.f, children: e });
2511
2515
  };
2512
- function un({ children: e }) {
2516
+ function fn({ children: e }) {
2513
2517
  return /* @__PURE__ */ a.jsx("div", { className: ne.g, children: e });
2514
2518
  }
2515
2519
  const to = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("div", { className: [ne.o, t].join(" "), children: [
2516
2520
  n && /* @__PURE__ */ a.jsx("div", { className: ne.hh, children: n }),
2517
2521
  e
2518
- ] }), no = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ne.u, children: e }), ao = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ne.c, children: e }), so = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ne.m, children: e }), fn = {
2519
- Header: ln,
2520
- Section: dn,
2521
- Group: un,
2522
- Form: _n,
2523
- List: cn,
2524
- A: Rn,
2522
+ ] }), no = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ne.u, children: e }), ao = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ne.c, children: e }), so = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ne.m, children: e }), mn = {
2523
+ Header: cn,
2524
+ Section: _n,
2525
+ Group: fn,
2526
+ Form: un,
2527
+ List: dn,
2528
+ A: Dn,
2525
2529
  U: no,
2526
- G: un,
2530
+ G: fn,
2527
2531
  C: ao,
2528
- L: cn,
2532
+ L: dn,
2529
2533
  O: to,
2530
- S: dn,
2531
- H: ln,
2534
+ S: _n,
2535
+ H: cn,
2532
2536
  M: so,
2533
- F: _n
2537
+ F: un
2534
2538
  }, ro = (e, t) => {
2535
2539
  switch (t.type) {
2536
2540
  case "load":
@@ -2647,10 +2651,10 @@ const to = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2647
2651
  });
2648
2652
  i({ type: "load", list: l });
2649
2653
  })();
2650
- }, [e, s]), /* @__PURE__ */ a.jsxs(fn.O, { children: [
2654
+ }, [e, s]), /* @__PURE__ */ a.jsxs(mn.O, { children: [
2651
2655
  " ",
2652
2656
  /* @__PURE__ */ a.jsx(
2653
- fn.H,
2657
+ mn.H,
2654
2658
  {
2655
2659
  title: t,
2656
2660
  right: /* @__PURE__ */ a.jsx(
@@ -2729,7 +2733,7 @@ const to = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2729
2733
  ) }) : "" });
2730
2734
  }, _o = ({ data: e, dispatch: t }) => {
2731
2735
  let n = async () => {
2732
- let i = await (await fetch(sn.url().files + "/yandex/data/" + e.id, {
2736
+ let i = await (await fetch(rn.url().files + "/yandex/data/" + e.id, {
2733
2737
  headers: {
2734
2738
  "Content-type": "application/json;charset=utf-8",
2735
2739
  SSID: re.getSSID() || ""
@@ -2742,7 +2746,7 @@ const to = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2742
2746
  l.setAttribute("href", o), l.setAttribute("download", e.name), l.click();
2743
2747
  }
2744
2748
  }, s = async () => {
2745
- (await (await fetch(sn.url().files + "/yandex/delete/" + e.id, {
2749
+ (await (await fetch(rn.url().files + "/yandex/delete/" + e.id, {
2746
2750
  headers: {
2747
2751
  "Content-type": "application/json;charset=utf-8",
2748
2752
  SSID: re.getSSID() || ""
@@ -2775,13 +2779,13 @@ const to = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2775
2779
  ] }),
2776
2780
  /* @__PURE__ */ a.jsx("div", { className: "f080", children: K.Size(e.size) })
2777
2781
  ] });
2778
- }, Tt = { setSetting: ns, getSetting: as };
2782
+ }, It = { setSetting: as, getSetting: ss };
2779
2783
  let Y = {};
2780
- Y.list = us();
2784
+ Y.list = fs();
2781
2785
  Y.active = null;
2782
2786
  const uo = () => {
2783
2787
  var r;
2784
- let [e, t] = g.useState([]), [n, s] = g.useState(Tt.getSetting("s03"));
2788
+ let [e, t] = g.useState([]), [n, s] = g.useState(It.getSetting("s03"));
2785
2789
  return g.useEffect(() => {
2786
2790
  (async () => {
2787
2791
  let i = Object.keys(Y.list);
@@ -2825,12 +2829,12 @@ const uo = () => {
2825
2829
  i(Y.list[s] !== void 0);
2826
2830
  }, [s]);
2827
2831
  let o = () => {
2828
- Y.list[s] !== void 0 ? (Y.del(s), delete Y.list[s], nn(Y.list), i(!1), Te.Send({ type: "success", text: "Запись удален из закладок" })) : (Y.list[s] = { id: e, name: n, type: t, link: s }, Y.set(Y.list[s]), nn(Y.list), i(!0), Te.Send({
2832
+ Y.list[s] !== void 0 ? (Y.del(s), delete Y.list[s], an(Y.list), i(!1), Te.Send({ type: "success", text: "Запись удален из закладок" })) : (Y.list[s] = { id: e, name: n, type: t, link: s }, Y.set(Y.list[s]), an(Y.list), i(!0), Te.Send({
2829
2833
  type: "success",
2830
2834
  text: "Запись добавлен в закладки"
2831
2835
  }));
2832
2836
  };
2833
- return /* @__PURE__ */ a.jsx(a.Fragment, { children: Tt.getSetting("s03") !== 0 ? /* @__PURE__ */ a.jsx(
2837
+ return /* @__PURE__ */ a.jsx(a.Fragment, { children: It.getSetting("s03") !== 0 ? /* @__PURE__ */ a.jsx(
2834
2838
  "i",
2835
2839
  {
2836
2840
  "data-icon": "C018",
@@ -3172,14 +3176,14 @@ function wo(e, t) {
3172
3176
  function bo(e, t) {
3173
3177
  ve[e] && ve[e].forEach((n) => n(t));
3174
3178
  }
3175
- const Se = { setListener: jo, useListener: yo, setEmitter: bo, useEmitter: ko, subEmitter: wo };
3179
+ const be = { setListener: jo, useListener: yo, setEmitter: bo, useEmitter: ko, subEmitter: wo };
3176
3180
  function So() {
3177
3181
  let [e, t] = g.useState([]);
3178
- return Se.useListener("form", (n) => {
3182
+ return be.useListener("form", (n) => {
3179
3183
  t([n]);
3180
3184
  }), /* @__PURE__ */ a.jsx(a.Fragment, { children: e.map((n) => n) });
3181
3185
  }
3182
- const Eo = ({ children: e, config: t }) => ($.New(t.crypto), t.defaultModule && Ia(t.defaultModule), La(
3186
+ const Eo = ({ children: e, config: t }) => ($.New(t.crypto), t.defaultModule && Ma(t.defaultModule), Fa(
3183
3187
  /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3184
3188
  /* @__PURE__ */ a.jsx(Ii, { config: t.modal }),
3185
3189
  /* @__PURE__ */ a.jsx(pr, {}),
@@ -3280,7 +3284,7 @@ const Fo = ({
3280
3284
  /* @__PURE__ */ a.jsx("dt", { children: e }),
3281
3285
  /* @__PURE__ */ a.jsx("dd", { children: t })
3282
3286
  ] }) }), Ho = { Accordion: Oo, Button: Ao, Switch: zo, Info: Wo, Select: Uo, Component: Ko, Node: Yo };
3283
- function Dn({ list: e, onClick: t, active: n, size: s, view: r }) {
3287
+ function Nn({ list: e, onClick: t, active: n, size: s, view: r }) {
3284
3288
  return /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [s, r].join(" "), children: e.map((i) => /* @__PURE__ */ a.jsx(
3285
3289
  qo,
3286
3290
  {
@@ -3293,8 +3297,8 @@ function Dn({ list: e, onClick: t, active: n, size: s, view: r }) {
3293
3297
  )) }) });
3294
3298
  }
3295
3299
  const qo = ({ onClick: e, label: t, link: n, active: s }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: t });
3296
- Dn.defaultProps = { size: "M", view: "H" };
3297
- const bc = { Section: Fo, Main: Po, Item: Ho, Tabs: Dn }, Sc = { Icon: fo, Item: jt, Active: mo }, Ec = { Send: Nr, Line: Rn };
3300
+ Nn.defaultProps = { size: "M", view: "H" };
3301
+ const bc = { Section: Fo, Main: Po, Item: Ho, Tabs: Nn }, Sc = { Icon: fo, Item: jt, Active: mo }, Ec = { Send: Nr, Line: Dn };
3298
3302
  function Vo() {
3299
3303
  return /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ a.jsx(
3300
3304
  "path",
@@ -3312,7 +3316,7 @@ function Qo(e, t) {
3312
3316
  switch (t.type) {
3313
3317
  case "active":
3314
3318
  let n = "<";
3315
- return e.active === t.data && (n = e.sort === "<" ? ">" : "<"), rt.get({ active: t.data, sort: n }, !1), yn({ active: t.data, sort: n }), {
3319
+ return e.active === t.data && (n = e.sort === "<" ? ">" : "<"), rt.get({ active: t.data, sort: n }, !1), jn({ active: t.data, sort: n }), {
3316
3320
  ...e,
3317
3321
  active: t.data,
3318
3322
  sort: n
@@ -3381,7 +3385,7 @@ function al(e, t, n) {
3381
3385
  function sl(e) {
3382
3386
  rt.count(e);
3383
3387
  }
3384
- const Dc = { Init: el, useValue: tl, Set: nl, Run: al, Count: sl }, et = {}, Nn = {};
3388
+ const Dc = { Init: el, useValue: tl, Set: nl, Run: al, Count: sl }, et = {}, Tn = {};
3385
3389
  function rl(e) {
3386
3390
  const [t, n] = g.useState({}), s = async (r) => {
3387
3391
  n(
@@ -3389,13 +3393,13 @@ function rl(e) {
3389
3393
  );
3390
3394
  };
3391
3395
  return g.useEffect(() => {
3392
- e.forEach((r) => et[r] = { all: 0 }), Nn.menu = s, s();
3396
+ e.forEach((r) => et[r] = { all: 0 }), Tn.menu = s, s();
3393
3397
  }, [e]), t;
3394
3398
  }
3395
3399
  function il(e, t) {
3396
3400
  switch (typeof t) {
3397
3401
  case "number":
3398
- et[e].all += t, Nn.menu();
3402
+ et[e].all += t, Tn.menu();
3399
3403
  break;
3400
3404
  }
3401
3405
  }
@@ -3542,7 +3546,7 @@ const Ie = () => (gt || (gt = new ol()), gt), ye = (e, t, n = Ie()) => n._withID
3542
3546
  loadingB: yl,
3543
3547
  ul: jl
3544
3548
  };
3545
- function Tn({ children: e }) {
3549
+ function In({ children: e }) {
3546
3550
  return /* @__PURE__ */ a.jsx("ul", { className: ne.ul, children: e });
3547
3551
  }
3548
3552
  function wl(e, t) {
@@ -3604,7 +3608,7 @@ function bl({
3604
3608
  className: [kl.s, n].join(" "),
3605
3609
  ref: r,
3606
3610
  onScroll: l,
3607
- children: /* @__PURE__ */ a.jsx(Tn, { "el-empty": "Данные не найдены", children: i.load && i.list !== void 0 ? i.list.map((c) => /* @__PURE__ */ a.jsx(s.item, { data: c }, c.id)) : /* @__PURE__ */ a.jsxs("div", { "data-load": "load", children: [
3611
+ children: /* @__PURE__ */ a.jsx(In, { "el-empty": "Данные не найдены", children: i.load && i.list !== void 0 ? i.list.map((c) => /* @__PURE__ */ a.jsx(s.item, { data: c }, c.id)) : /* @__PURE__ */ a.jsxs("div", { "data-load": "load", children: [
3608
3612
  /* @__PURE__ */ a.jsx("i", {}),
3609
3613
  /* @__PURE__ */ a.jsx("i", {}),
3610
3614
  /* @__PURE__ */ a.jsx("i", {})
@@ -3612,7 +3616,7 @@ function bl({
3612
3616
  }
3613
3617
  );
3614
3618
  }
3615
- const Mc = { Widget: lo }, In = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ a.jsx(
3619
+ const Mc = { Widget: lo }, Mn = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ a.jsx(
3616
3620
  "div",
3617
3621
  {
3618
3622
  role: "switch",
@@ -3696,7 +3700,7 @@ function Ze({
3696
3700
  o ? /* @__PURE__ */ a.jsx("em", { children: o }) : ""
3697
3701
  ] });
3698
3702
  }
3699
- function Mn({ onClick: e, onSend: t, name: n, onRef: s }) {
3703
+ function Ln({ onClick: e, onSend: t, name: n, onRef: s }) {
3700
3704
  let [r, i] = g.useState(!1);
3701
3705
  const o = () => {
3702
3706
  if (e) return e();
@@ -3713,7 +3717,7 @@ function Mn({ onClick: e, onSend: t, name: n, onRef: s }) {
3713
3717
  }
3714
3718
  );
3715
3719
  }
3716
- function Ln({
3720
+ function Fn({
3717
3721
  value: e,
3718
3722
  onValue: t,
3719
3723
  onActive: n,
@@ -3763,7 +3767,7 @@ function Ln({
3763
3767
  }
3764
3768
  ) });
3765
3769
  }
3766
- function Fn(e) {
3770
+ function Bn(e) {
3767
3771
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = e.edit !== void 0 ? e.edit : !0, s = e.active !== void 0 ? e.active : !0, r = e.placeholder !== void 0 ? e.placeholder : "", i = (c) => {
3768
3772
  e.onValue({ value: c.target.textContent, name: e.name });
3769
3773
  }, o = (c) => {
@@ -3791,7 +3795,7 @@ function Fn(e) {
3791
3795
  )
3792
3796
  ] });
3793
3797
  }
3794
- function Bn({ value: e, onValue: t, placeholder: n = "", name: s }) {
3798
+ function $n({ value: e, onValue: t, placeholder: n = "", name: s }) {
3795
3799
  let r = (p, C) => Number(Math.round(p + Math.random() * (C - p))), i = g.useRef(null), o = g.useRef(null), l = r(1e4, 99999), c = (p) => {
3796
3800
  p.key !== "Backspace" && (p.key === "Enter" && p.preventDefault(), p.target.textContent.length === 5 && p.preventDefault(), /\d/.test(p.key) || p.preventDefault());
3797
3801
  }, _ = (p) => {
@@ -3831,7 +3835,7 @@ function Bn({ value: e, onValue: t, placeholder: n = "", name: s }) {
3831
3835
  /* @__PURE__ */ a.jsx("canvas", { ref: i, width: "100", height: "35" })
3832
3836
  ] });
3833
3837
  }
3834
- function $n({
3838
+ function Pn({
3835
3839
  className: e,
3836
3840
  title: t,
3837
3841
  error: n,
@@ -3979,7 +3983,7 @@ function $n({
3979
3983
  n ? /* @__PURE__ */ a.jsx("em", { children: n }) : ""
3980
3984
  ] });
3981
3985
  }
3982
- function Pn(e) {
3986
+ function On(e) {
3983
3987
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "";
3984
3988
  e.edit !== void 0 && e.edit, e.active !== void 0 && e.active;
3985
3989
  let [s, r] = g.useState(e.value), i = (o) => {
@@ -4015,7 +4019,7 @@ const Sl = "_o_66f7n_1", El = "_c_66f7n_11", Rl = "_as_66f7n_87", Dl = "_ap_66f7
4015
4019
  as: Rl,
4016
4020
  ap: Dl
4017
4021
  };
4018
- function It(e) {
4022
+ function Mt(e) {
4019
4023
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "", s = e.edit !== void 0 ? e.edit : !0, r = e.active !== void 0 ? e.active : !0, i = e.placeholder !== void 0 ? e.placeholder : "", [o, l] = g.useState(
4020
4024
  e.value === void 0 ? /* @__PURE__ */ new Date() : e.value
4021
4025
  ), c = !s && r;
@@ -4026,7 +4030,7 @@ function It(e) {
4026
4030
  l(p), e.onValue({ value: p, name: e.name });
4027
4031
  }, u = (p) => {
4028
4032
  const C = p.target.getBoundingClientRect(), h = C.left, x = C.top;
4029
- Se.setListener(
4033
+ be.setListener(
4030
4034
  "form",
4031
4035
  /* @__PURE__ */ a.jsx(
4032
4036
  Nl,
@@ -4160,7 +4164,7 @@ const Nl = (e) => {
4160
4164
  )
4161
4165
  ] }) : "" });
4162
4166
  };
4163
- function Mt({
4167
+ function Lt({
4164
4168
  value: e,
4165
4169
  onValue: t,
4166
4170
  name: n,
@@ -4210,7 +4214,7 @@ function Mt({
4210
4214
  i && /* @__PURE__ */ a.jsx("em", { children: i })
4211
4215
  ] });
4212
4216
  }
4213
- function Lt({
4217
+ function Ft({
4214
4218
  value: e,
4215
4219
  onValue: t,
4216
4220
  name: n,
@@ -4276,7 +4280,7 @@ function Lt({
4276
4280
  i ? /* @__PURE__ */ a.jsx("em", { children: i }) : ""
4277
4281
  ] });
4278
4282
  }
4279
- function On({
4283
+ function An({
4280
4284
  value: e,
4281
4285
  onValue: t,
4282
4286
  name: n,
@@ -4298,7 +4302,7 @@ function On({
4298
4302
  }, C = (x) => {
4299
4303
  if (!i || !o) return;
4300
4304
  const y = x.target.getBoundingClientRect(), w = y.left, T = y.top;
4301
- Se.setListener(
4305
+ be.setListener(
4302
4306
  "form",
4303
4307
  /* @__PURE__ */ a.jsx(
4304
4308
  Tl,
@@ -4397,7 +4401,7 @@ const Tl = (e) => {
4397
4401
  )
4398
4402
  ] }) : "" });
4399
4403
  };
4400
- function An(e) {
4404
+ function Gn(e) {
4401
4405
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "", [s, r] = g.useState(!1), i = e.edit !== void 0 ? e.edit : !0, o = e.active !== void 0 ? e.active : !0, c = !!(e.hide && (e.value === "" || e.value === void 0)) && !(i && o);
4402
4406
  s = i ? !0 : s;
4403
4407
  let _ = e.placeholder !== void 0 ? e.placeholder : "", u = (x) => {
@@ -4434,7 +4438,7 @@ function An(e) {
4434
4438
  n()
4435
4439
  ] });
4436
4440
  }
4437
- function Ft({
4441
+ function Bt({
4438
4442
  onValue: e,
4439
4443
  onSave: t,
4440
4444
  active: n,
@@ -4495,7 +4499,7 @@ function Ft({
4495
4499
  o && /* @__PURE__ */ a.jsx("em", { children: o })
4496
4500
  ] });
4497
4501
  }
4498
- function Gn({
4502
+ function Zn({
4499
4503
  value: e,
4500
4504
  onValue: t,
4501
4505
  name: n,
@@ -5931,7 +5935,7 @@ const pt = {
5931
5935
  mask: "+1939(___) ___-__-__"
5932
5936
  }
5933
5937
  };
5934
- function Bt({
5938
+ function $t({
5935
5939
  value: e,
5936
5940
  onValue: t,
5937
5941
  onSave: n,
@@ -6015,7 +6019,7 @@ function Bt({
6015
6019
  o && /* @__PURE__ */ a.jsx("em", { children: o })
6016
6020
  ] });
6017
6021
  }
6018
- const Zn = (e) => {
6022
+ const zn = (e) => {
6019
6023
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = e.edit !== void 0 ? e.edit : !0, s = e.active !== void 0 ? e.active : !0, r = e.placeholder !== void 0 ? e.placeholder : "", i = 0, o = () => {
6020
6024
  clearTimeout(i), i = setTimeout(() => console.log("rerrwere"), 1e3);
6021
6025
  }, l = (u) => {
@@ -6050,7 +6054,7 @@ const Zn = (e) => {
6050
6054
  }
6051
6055
  );
6052
6056
  };
6053
- function $t({
6057
+ function Pt({
6054
6058
  title: e,
6055
6059
  error: t,
6056
6060
  edit: n = !0,
@@ -6075,7 +6079,7 @@ function $t({
6075
6079
  }, w = (R) => {
6076
6080
  if (!(n && s)) return;
6077
6081
  const j = R.target.getBoundingClientRect();
6078
- Se.setListener(
6082
+ be.setListener(
6079
6083
  "form",
6080
6084
  /* @__PURE__ */ a.jsx(
6081
6085
  Il,
@@ -6156,7 +6160,7 @@ const Il = ({
6156
6160
  r
6157
6161
  ) : ""
6158
6162
  ) });
6159
- function Pt(e) {
6163
+ function Ot(e) {
6160
6164
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "", s = e.edit !== void 0 ? e.edit : !0, r = e.active !== void 0 ? e.active : !0, o = !!(e.hide && (e.default === "" || e.options[e.default] === void 0)) && !(s && r), l = e.placeholder !== void 0 ? e.placeholder : "", c = (p) => {
6161
6165
  u(e.options[p]), e.onValue({ value: p, name: e.name });
6162
6166
  }, [_, u] = g.useState(
@@ -6164,7 +6168,7 @@ function Pt(e) {
6164
6168
  ), m = (p) => {
6165
6169
  if (!(s && r)) return;
6166
6170
  const C = p.target.getBoundingClientRect();
6167
- Se.setListener(
6171
+ be.setListener(
6168
6172
  "form",
6169
6173
  /* @__PURE__ */ a.jsx(
6170
6174
  Ll,
@@ -6276,7 +6280,7 @@ function Et({
6276
6280
  );
6277
6281
  case "Select":
6278
6282
  return C && (x = re.getSelect(parseInt(C)) ? re.getSelect(parseInt(C)) : { 0: { s: "1", n: "не известно" } }), /* @__PURE__ */ a.jsx(
6279
- $t,
6283
+ Pt,
6280
6284
  {
6281
6285
  title: i,
6282
6286
  show: _,
@@ -6294,7 +6298,7 @@ function Et({
6294
6298
  );
6295
6299
  case "Users":
6296
6300
  return re.getSelect("user"), /* @__PURE__ */ a.jsx(
6297
- Pt,
6301
+ Ot,
6298
6302
  {
6299
6303
  title: i,
6300
6304
  show: _,
@@ -6312,7 +6316,7 @@ function Et({
6312
6316
  );
6313
6317
  case "Date":
6314
6318
  return /* @__PURE__ */ a.jsx(
6315
- It,
6319
+ Mt,
6316
6320
  {
6317
6321
  title: i,
6318
6322
  show: _,
@@ -6329,7 +6333,7 @@ function Et({
6329
6333
  );
6330
6334
  case "Phone":
6331
6335
  return /* @__PURE__ */ a.jsx(
6332
- Bt,
6336
+ $t,
6333
6337
  {
6334
6338
  title: i,
6335
6339
  show: _,
@@ -6346,7 +6350,7 @@ function Et({
6346
6350
  );
6347
6351
  case "Number":
6348
6352
  return /* @__PURE__ */ a.jsx(
6349
- Ft,
6353
+ Bt,
6350
6354
  {
6351
6355
  title: i,
6352
6356
  show: _,
@@ -6363,7 +6367,7 @@ function Et({
6363
6367
  );
6364
6368
  case "Money":
6365
6369
  return /* @__PURE__ */ a.jsx(
6366
- Lt,
6370
+ Ft,
6367
6371
  {
6368
6372
  title: i,
6369
6373
  show: _,
@@ -6380,7 +6384,7 @@ function Et({
6380
6384
  );
6381
6385
  case "Modal":
6382
6386
  return /* @__PURE__ */ a.jsx(
6383
- Mt,
6387
+ Lt,
6384
6388
  {
6385
6389
  title: i,
6386
6390
  show: _,
@@ -6399,7 +6403,7 @@ function Et({
6399
6403
  );
6400
6404
  }
6401
6405
  }
6402
- function zn({
6406
+ function Un({
6403
6407
  value: e,
6404
6408
  onValue: t,
6405
6409
  name: n,
@@ -6449,7 +6453,7 @@ function zn({
6449
6453
  i && /* @__PURE__ */ a.jsx("em", { children: i })
6450
6454
  ] });
6451
6455
  }
6452
- function Un({
6456
+ function Wn({
6453
6457
  value: e,
6454
6458
  onValue: t,
6455
6459
  name: n,
@@ -6474,7 +6478,7 @@ function Un({
6474
6478
  p && p({ value: R, name: n });
6475
6479
  }, L = (R) => {
6476
6480
  const j = R.target.getBoundingClientRect(), O = j.left, I = j.top;
6477
- Se.setListener(
6481
+ be.setListener(
6478
6482
  "form",
6479
6483
  /* @__PURE__ */ a.jsx(
6480
6484
  Fl,
@@ -6630,7 +6634,7 @@ const Fl = ({ positions: e, onSave: t, onValue: n, date: s }) => {
6630
6634
  )
6631
6635
  ] }) : "" });
6632
6636
  };
6633
- function Wn({
6637
+ function Kn({
6634
6638
  onValue: e,
6635
6639
  label: t,
6636
6640
  value: n,
@@ -6680,7 +6684,7 @@ const Bl = ({ label: e, onValue: t, value: n, name: s, item: r }) => {
6680
6684
  "aria-checked": `${i ? "true" : "false"}`
6681
6685
  }
6682
6686
  );
6683
- }, Kn = ({ onValue: e, value: t, name: n, item: s }) => {
6687
+ }, Yn = ({ onValue: e, value: t, name: n, item: s }) => {
6684
6688
  const [r, i] = g.useState(!!t);
6685
6689
  g.useEffect(() => {
6686
6690
  i(!!t);
@@ -6698,7 +6702,7 @@ const Bl = ({ label: e, onValue: t, value: n, name: s, item: r }) => {
6698
6702
  }
6699
6703
  );
6700
6704
  };
6701
- function Yn({
6705
+ function Hn({
6702
6706
  value: e,
6703
6707
  onValue: t,
6704
6708
  name: n,
@@ -6803,7 +6807,7 @@ function Yn({
6803
6807
  ] });
6804
6808
  }
6805
6809
  const $l = (e) => (e = e !== void 0 && e !== "" ? e.split(",") : [], e.reduce((t, n) => (t[n] = !0, t), {}));
6806
- function Hn({
6810
+ function qn({
6807
6811
  value: e,
6808
6812
  onValue: t,
6809
6813
  name: n,
@@ -6874,7 +6878,7 @@ function Hn({
6874
6878
  i && /* @__PURE__ */ a.jsx("em", { children: i })
6875
6879
  ] });
6876
6880
  }
6877
- function mn({
6881
+ function hn({
6878
6882
  value: e,
6879
6883
  onValue: t,
6880
6884
  name: n,
@@ -6987,40 +6991,40 @@ function zl() {
6987
6991
  xe.r && xe.r();
6988
6992
  }
6989
6993
  const Lc = {
6990
- Color: Pn,
6991
- Date: It,
6992
- Mask: mn,
6993
- Image: mn,
6994
- Code: $n,
6995
- Check: Wn,
6996
- Switch: In,
6994
+ Color: On,
6995
+ Date: Mt,
6996
+ Mask: hn,
6997
+ Image: hn,
6998
+ Code: Pn,
6999
+ Check: Kn,
7000
+ Switch: Mn,
6997
7001
  Input: Ze,
6998
- Button: Mn,
6999
- Message: Ln,
7000
- Generator: Fn,
7001
- Captcha: Bn,
7002
- Modal: Mt,
7003
- Money: Lt,
7004
- Month: On,
7005
- Notes: An,
7006
- Number: Ft,
7007
- Password: Gn,
7008
- Phone: Bt,
7009
- Search: Zn,
7010
- Select: $t,
7002
+ Button: Ln,
7003
+ Message: Fn,
7004
+ Generator: Bn,
7005
+ Captcha: $n,
7006
+ Modal: Lt,
7007
+ Money: Ft,
7008
+ Month: An,
7009
+ Notes: Gn,
7010
+ Number: Bt,
7011
+ Password: Zn,
7012
+ Phone: $t,
7013
+ Search: zn,
7014
+ Select: Pt,
7011
7015
  Set: Et,
7012
- Textarea: zn,
7013
- Time: Un,
7014
- Users: Pt,
7016
+ Textarea: Un,
7017
+ Time: Wn,
7018
+ Users: Ot,
7015
7019
  String: Ze,
7016
7020
  Form: Et,
7017
7021
  runReload: zl,
7018
7022
  useData: Gl,
7019
7023
  setValue: Zl,
7020
7024
  Palette: Bl,
7021
- Toogle: Kn,
7022
- Group: Yn,
7023
- Options: Hn
7025
+ Toogle: Yn,
7026
+ Group: Hn,
7027
+ Options: qn
7024
7028
  };
7025
7029
  function Ul({
7026
7030
  value: e = "",
@@ -7056,8 +7060,8 @@ function Ul({
7056
7060
  ae.forEach((Ye) => {
7057
7061
  y && (he += Ye, y && (w = ("" + he).length, x = r.replace(new RegExp("[0-9]", "g"), "_"), W = ""), w > ("" + he).length && (y = !0, x = r.replace(new RegExp("[0-9]", "g"), "_"), W = ""));
7058
7062
  });
7059
- let Ee = x.replace(/\D/g, "");
7060
- return Ee.length >= ee.length && (ee = Ee), { q: x.replace(/[_\d]/g, function() {
7063
+ let Se = x.replace(/\D/g, "");
7064
+ return Se.length >= ee.length && (ee = Se), { q: x.replace(/[_\d]/g, function() {
7061
7065
  return ee.charAt(F++) || "_";
7062
7066
  }), i: F, v: ee, f: W };
7063
7067
  }, S = (N) => {
@@ -7102,41 +7106,41 @@ function Ul({
7102
7106
  ] });
7103
7107
  }
7104
7108
  const Fc = {
7105
- Color: Pn,
7106
- Date: It,
7107
- Code: $n,
7108
- Check: Wn,
7109
- Switch: In,
7109
+ Color: On,
7110
+ Date: Mt,
7111
+ Code: Pn,
7112
+ Check: Kn,
7113
+ Switch: Mn,
7110
7114
  Input: Ze,
7111
- Button: Mn,
7112
- Message: Ln,
7113
- Generator: Fn,
7114
- Captcha: Bn,
7115
- Modal: Mt,
7116
- Money: Lt,
7115
+ Button: Ln,
7116
+ Message: Fn,
7117
+ Generator: Bn,
7118
+ Captcha: $n,
7119
+ Modal: Lt,
7120
+ Money: Ft,
7117
7121
  Mask: Ul,
7118
- Month: On,
7119
- Notes: An,
7120
- Number: Ft,
7121
- Password: Gn,
7122
- Phone: Bt,
7123
- Search: Zn,
7124
- Select: $t,
7122
+ Month: An,
7123
+ Notes: Gn,
7124
+ Number: Bt,
7125
+ Password: Zn,
7126
+ Phone: $t,
7127
+ Search: zn,
7128
+ Select: Pt,
7125
7129
  Set: Et,
7126
- Textarea: zn,
7127
- Time: Un,
7128
- Users: Pt,
7130
+ Textarea: Un,
7131
+ Time: Wn,
7132
+ Users: Ot,
7129
7133
  String: Ze,
7130
- Toogle: Kn,
7131
- Group: Yn,
7132
- Options: Hn
7133
- }, Wl = "_spinner_o487n_1", Kl = "_l_o487n_75", Yl = "_loadingB_o487n_1", qn = {
7134
+ Toogle: Yn,
7135
+ Group: Hn,
7136
+ Options: qn
7137
+ }, Wl = "_spinner_o487n_1", Kl = "_l_o487n_75", Yl = "_loadingB_o487n_1", Vn = {
7134
7138
  spinner: Wl,
7135
7139
  l: Kl,
7136
7140
  loadingB: Yl
7137
7141
  };
7138
7142
  function Hl() {
7139
- return /* @__PURE__ */ a.jsx("div", { className: qn.spinner, children: /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ a.jsx(
7143
+ return /* @__PURE__ */ a.jsx("div", { className: Vn.spinner, children: /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ a.jsx(
7140
7144
  "path",
7141
7145
  {
7142
7146
  d: "M264,492a22.2,22.2,0,0,0,22-22V411a22.2,22.2,0,0,0-22-22H236a22.2,22.2,0,0,0-22,22v59a22.2,22.2,0,0,0,22,22Zm74-134a23.9,23.9,0,0,0-6,16,20.35,20.35,0,0,0,6,15l42,42q7,7,16,7,10,0,16-7l20-20a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16l-42-42q-7-7-16-7-8,0-15,7ZM163,389a18.94,18.94,0,0,0,7-15q0-9-7-16l-20-20q-7-7-16-7-8,0-15,7L70,380q-7,7-7,16a18.94,18.94,0,0,0,7,15l20,20q7,7,16,7a18.94,18.94,0,0,0,15-7ZM112,237a22.2,22.2,0,0,0-22-22H31a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,9,237v28a21.17,21.17,0,0,0,6.5,15.5A21.17,21.17,0,0,0,31,287H90a22.2,22.2,0,0,0,22-22Zm358,50a22.2,22.2,0,0,0,22-22V237a22.2,22.2,0,0,0-22-22H411a22.2,22.2,0,0,0-22,22v28a22.2,22.2,0,0,0,22,22ZM163,142q7-7,7-15.5T163,111L121,69q-7-7-15-7-7,0-16,7L70,89q-7,7-7,16a18.94,18.94,0,0,0,7,15l42,42a18.94,18.94,0,0,0,15,7q10,0,16-7Zm269-22a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16L412,69q-7-7-16-7-7,0-16,7l-42,42q-7,8-7,16t7,15l21,20a18.94,18.94,0,0,0,15,7q10,0,16-7Zm-168-9a22.06,22.06,0,0,0,15.5-6q6.5-6,6.5-16V30a21.17,21.17,0,0,0-6.5-15.5A21.17,21.17,0,0,0,264,8H236a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,214,30V89q0,10,6.5,16a22.06,22.06,0,0,0,15.5,6Z",
@@ -7145,19 +7149,19 @@ function Hl() {
7145
7149
  ) }) });
7146
7150
  }
7147
7151
  function ql() {
7148
- return /* @__PURE__ */ a.jsxs("div", { className: qn.l, children: [
7152
+ return /* @__PURE__ */ a.jsxs("div", { className: Vn.l, children: [
7149
7153
  /* @__PURE__ */ a.jsx("i", {}),
7150
7154
  /* @__PURE__ */ a.jsx("i", {}),
7151
7155
  /* @__PURE__ */ a.jsx("i", {})
7152
7156
  ] });
7153
7157
  }
7154
- const Bc = { Spinner: Hl, Inline: ql }, Vl = "_s_t9swc_1", hn = {
7158
+ const Bc = { Spinner: Hl, Inline: ql }, Vl = "_s_t9swc_1", gn = {
7155
7159
  s: Vl
7156
7160
  };
7157
- let Ot;
7161
+ let At;
7158
7162
  function Jl({ className: e, placeholder: t }) {
7159
7163
  let n = (o) => {
7160
- Ot(o.target.textContent);
7164
+ At(o.target.textContent);
7161
7165
  }, s = (o) => {
7162
7166
  o.key === "Enter" && o.preventDefault();
7163
7167
  }, r = (o) => {
@@ -7168,7 +7172,7 @@ function Jl({ className: e, placeholder: t }) {
7168
7172
  });
7169
7173
  };
7170
7174
  const i = {};
7171
- return t && (i.placeholder = t), i.className = e ? [hn.s, e].join(" ") : hn.s, /* @__PURE__ */ a.jsx(
7175
+ return t && (i.placeholder = t), i.className = e ? [gn.s, e].join(" ") : gn.s, /* @__PURE__ */ a.jsx(
7172
7176
  "div",
7173
7177
  {
7174
7178
  onPaste: r,
@@ -7189,10 +7193,10 @@ function Xl(e, t, n) {
7189
7193
  }), o;
7190
7194
  }
7191
7195
  function Ql(e) {
7192
- Ot = e;
7196
+ At = e;
7193
7197
  }
7194
7198
  function ec(e) {
7195
- Ot = e;
7199
+ At = e;
7196
7200
  }
7197
7201
  const $c = { Field: Jl, Run: Xl, Get: Ql, useValue: ec }, tc = "_f_q3r0i_1", nc = {
7198
7202
  f: tc
@@ -7329,13 +7333,13 @@ function lc(e, t, n, s) {
7329
7333
  Number.parseInt(t[_]) !== 999 && (e = e.filter(
7330
7334
  (u) => Number.parseInt(u[_]) === Number.parseInt(t[_])
7331
7335
  ));
7332
- }), Vn(e.length)), e.forEach((_) => {
7336
+ }), Jn(e.length)), e.forEach((_) => {
7333
7337
  r.push(_.id);
7334
7338
  }), r.forEach((_) => {
7335
7339
  o++, o <= c || (i++, o = 1, l[i] = []), l[i].push(n[_]);
7336
7340
  }), l;
7337
7341
  }
7338
- function Vn(e) {
7342
+ function Jn(e) {
7339
7343
  le.count(e);
7340
7344
  }
7341
7345
  function cc({ data: e, state: t, dispatch: n }) {
@@ -7391,7 +7395,7 @@ function dc({ data: e, head: t, state: n, dispatch: s, type: r }) {
7391
7395
  }
7392
7396
  );
7393
7397
  }
7394
- const Pc = { Button: sc, useValue: rc, Set: ic, Run: lc, Count: Vn, Reset: oc }, Oc = { Bell: Gr, Send: Pr, Add: $r }, _c = "_p_djnh1_1", uc = "_l_djnh1_38", Jn = {
7398
+ const Pc = { Button: sc, useValue: rc, Set: ic, Run: lc, Count: Jn, Reset: oc }, Oc = { Bell: Gr, Send: Pr, Add: $r }, _c = "_p_djnh1_1", uc = "_l_djnh1_38", Xn = {
7395
7399
  p: _c,
7396
7400
  l: uc
7397
7401
  };
@@ -7404,12 +7408,12 @@ function fc(e) {
7404
7408
  for (let u = c; u < _; u++)
7405
7409
  r.push({ page: u });
7406
7410
  };
7407
- return s < t * 2 + 6 ? l(1, s + 1) : n < t * 2 + 1 ? (l(1, t * 2 + 4), o()) : n > s - t * 2 ? (t = s > 1e4 ? 1 : t, i(), l(s - t * 2 - 2, s + 1)) : (t = s > 1e4 ? 1 : t, i(), l(n - t, n + t + 1), o()), r.length === 1 ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("div", { className: Jn.p, children: [
7411
+ return s < t * 2 + 6 ? l(1, s + 1) : n < t * 2 + 1 ? (l(1, t * 2 + 4), o()) : n > s - t * 2 ? (t = s > 1e4 ? 1 : t, i(), l(s - t * 2 - 2, s + 1)) : (t = s > 1e4 ? 1 : t, i(), l(n - t, n + t + 1), o()), r.length === 1 ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("div", { className: Xn.p, children: [
7408
7412
  /* @__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" }) }) }),
7409
7413
  r.map((c, _) => {
7410
7414
  console.log(c, e);
7411
7415
  const u = {};
7412
- return c.page && (u.onClick = () => e.onChangePage(c.page)), c.page === e.page && (u.active = ""), /* @__PURE__ */ Ra("span", { ...u, key: _ }, c.page || c.text);
7416
+ return c.page && (u.onClick = () => e.onChangePage(c.page)), c.page === e.page && (u.active = ""), /* @__PURE__ */ Da("span", { ...u, key: _ }, c.page || c.text);
7413
7417
  }),
7414
7418
  /* @__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" }) }) })
7415
7419
  ] });
@@ -7435,7 +7439,7 @@ function mc(e, t) {
7435
7439
  throw new Error();
7436
7440
  }
7437
7441
  }
7438
- function Xn({ load: e, list: t, item: n }) {
7442
+ function Qn({ load: e, list: t, item: n }) {
7439
7443
  const s = g.useRef(null), [r, i] = g.useReducer(mc, {
7440
7444
  load: !1,
7441
7445
  list: [],
@@ -7454,7 +7458,7 @@ function Xn({ load: e, list: t, item: n }) {
7454
7458
  };
7455
7459
  return g.useEffect(() => {
7456
7460
  }, [r]), console.log(r), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7457
- /* @__PURE__ */ a.jsx("div", { className: Jn.l, ref: s, children: /* @__PURE__ */ a.jsx(Tn, { "el-empty": "Данные не найдены", children: r.load && r.list !== void 0 ? r.list.map((l) => /* @__PURE__ */ a.jsx(r.item, { data: l }, l.id)) : /* @__PURE__ */ a.jsxs("div", { "type-data": "load", children: [
7461
+ /* @__PURE__ */ a.jsx("div", { className: Xn.l, ref: s, children: /* @__PURE__ */ a.jsx(In, { "el-empty": "Данные не найдены", children: r.load && r.list !== void 0 ? r.list.map((l) => /* @__PURE__ */ a.jsx(r.item, { data: l }, l.id)) : /* @__PURE__ */ a.jsxs("div", { "type-data": "load", children: [
7458
7462
  /* @__PURE__ */ a.jsx("i", {}),
7459
7463
  /* @__PURE__ */ a.jsx("i", {}),
7460
7464
  /* @__PURE__ */ a.jsx("i", {})
@@ -7469,12 +7473,12 @@ function Xn({ load: e, list: t, item: n }) {
7469
7473
  ) : /* @__PURE__ */ a.jsx(a.Fragment, {})
7470
7474
  ] });
7471
7475
  }
7472
- const Ac = { Pagination: Xn };
7476
+ const Ac = { Pagination: Qn };
7473
7477
  function hc({ head: e, load: t, list: n, item: s }) {
7474
7478
  const r = e;
7475
7479
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7476
7480
  /* @__PURE__ */ a.jsx(r, {}),
7477
- Tt.getSetting("s05") === 1 ? /* @__PURE__ */ a.jsx(Xn, { list: n, load: t, item: s }) : /* @__PURE__ */ a.jsx(bl, { list: n, load: t, item: s })
7481
+ It.getSetting("s05") === 1 ? /* @__PURE__ */ a.jsx(Qn, { list: n, load: t, item: s }) : /* @__PURE__ */ a.jsx(bl, { list: n, load: t, item: s })
7478
7482
  ] });
7479
7483
  }
7480
7484
  function gc(e, t) {
@@ -7548,11 +7552,11 @@ const Gc = { View: hc, Reducer: gc, useValue: pc, setValue: xc }, Zc = { Get: Kr
7548
7552
  ] });
7549
7553
  };
7550
7554
  let vc = ({ modules: e, t }) => {
7551
- const n = g.lazy(() => ks(e + "/pages/" + t + ".tsx"));
7555
+ const n = g.lazy(() => Nt(e + "/pages/" + t + ".tsx"));
7552
7556
  return /* @__PURE__ */ a.jsx(g.Suspense, { fallback: "", children: /* @__PURE__ */ a.jsx(n, {}) });
7553
7557
  }, Cc = ({ button: e }) => {
7554
7558
  const [t, n] = g.useState(e);
7555
- return Se.useListener("button", n), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7559
+ return be.useListener("button", n), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7556
7560
  " ",
7557
7561
  t
7558
7562
  ] });
@@ -7586,16 +7590,16 @@ export {
7586
7590
  Zo as Action,
7587
7591
  Ec as Alert,
7588
7592
  kc as Animation,
7589
- sn as Api,
7593
+ rn as Api,
7590
7594
  Nc as Badge,
7591
7595
  Sc as Bookmarks,
7592
7596
  wc as Browser,
7593
7597
  Ti as Button,
7594
7598
  Zc as Company,
7595
- fn as Component,
7599
+ mn as Component,
7596
7600
  Tc as DataBase,
7597
- Se as Event,
7598
- Se as Events,
7601
+ be as Event,
7602
+ be as Events,
7599
7603
  Mc as Files,
7600
7604
  Pc as Filter,
7601
7605
  Lc as Form,
@@ -7622,6 +7626,6 @@ export {
7622
7626
  Mo as Tabs,
7623
7627
  zc as Test,
7624
7628
  Dc as Triage,
7625
- Tt as User,
7629
+ It as User,
7626
7630
  U as WebRTC
7627
7631
  };