@elcrm/telegram 0.0.140 → 0.0.142

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
- import V, { useState as C, useEffect as F } from "react";
2
- import { createPortal as pr } from "react-dom";
3
- import './index.css';var Yt = { exports: {} }, et = {};
1
+ import U, { useState as T, useEffect as W } from "react";
2
+ import { createPortal as fr } from "react-dom";
3
+ import './index.css';var Ft = { exports: {} }, tt = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.min.js
@@ -10,21 +10,21 @@ import './index.css';var Yt = { exports: {} }, et = {};
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
- var Ht;
14
- function vr() {
15
- if (Ht) return et;
16
- Ht = 1;
17
- var t = V, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function d(p, f, m) {
19
- var b, _ = {}, R = null, k = null;
20
- m !== void 0 && (R = "" + m), f.key !== void 0 && (R = "" + f.key), f.ref !== void 0 && (k = f.ref);
21
- for (b in f) s.call(f, b) && !c.hasOwnProperty(b) && (_[b] = f[b]);
22
- if (p && p.defaultProps) for (b in f = p.defaultProps, f) _[b] === void 0 && (_[b] = f[b]);
23
- return { $$typeof: r, type: p, key: R, ref: k, props: _, _owner: i.current };
13
+ var Jt;
14
+ function dr() {
15
+ if (Jt) return tt;
16
+ Jt = 1;
17
+ var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function d(p, f, h) {
19
+ var b, y = {}, R = null, x = null;
20
+ h !== void 0 && (R = "" + h), f.key !== void 0 && (R = "" + f.key), f.ref !== void 0 && (x = f.ref);
21
+ for (b in f) s.call(f, b) && !l.hasOwnProperty(b) && (y[b] = f[b]);
22
+ if (p && p.defaultProps) for (b in f = p.defaultProps, f) y[b] === void 0 && (y[b] = f[b]);
23
+ return { $$typeof: r, type: p, key: R, ref: x, props: y, _owner: i.current };
24
24
  }
25
- return et.Fragment = o, et.jsx = d, et.jsxs = d, et;
25
+ return tt.Fragment = o, tt.jsx = d, tt.jsxs = d, tt;
26
26
  }
27
- var tt = {};
27
+ var rt = {};
28
28
  /**
29
29
  * @license React
30
30
  * react-jsx-runtime.development.js
@@ -34,18 +34,18 @@ var tt = {};
34
34
  * This source code is licensed under the MIT license found in the
35
35
  * LICENSE file in the root directory of this source tree.
36
36
  */
37
- var Kt;
38
- function hr() {
39
- return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
40
- var t = V, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), T = Symbol.iterator, _e = "@@iterator";
41
- function Re(e) {
37
+ var Ht;
38
+ function pr() {
39
+ return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
40
+ var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), M = Symbol.iterator, ce = "@@iterator";
41
+ function we(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
44
- var n = T && e[T] || e[_e];
44
+ var n = M && e[M] || e[ce];
45
45
  return typeof n == "function" ? n : null;
46
46
  }
47
- var N = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
- function x(e) {
47
+ var C = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
+ function A(e) {
49
49
  {
50
50
  for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
51
51
  a[u - 1] = arguments[u];
@@ -54,37 +54,37 @@ function hr() {
54
54
  }
55
55
  function Se(e, n, a) {
56
56
  {
57
- var u = N.ReactDebugCurrentFrame, g = u.getStackAddendum();
58
- g !== "" && (n += "%s", a = a.concat([g]));
59
- var y = a.map(function(h) {
60
- return String(h);
57
+ var u = C.ReactDebugCurrentFrame, m = u.getStackAddendum();
58
+ m !== "" && (n += "%s", a = a.concat([m]));
59
+ var _ = a.map(function(g) {
60
+ return String(g);
61
61
  });
62
- y.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, y);
62
+ _.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, _);
63
63
  }
64
64
  }
65
- var Ee = !1, xe = !1, M = !1, dt = !1, pt = !1, we;
66
- we = Symbol.for("react.module.reference");
67
- function vt(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || pt || e === i || e === m || e === b || dt || e === k || Ee || xe || M || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === _ || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
65
+ var Pe = !1, K = !1, Ee = !1, xe = !1, Ae = !1, $;
66
+ $ = Symbol.for("react.module.reference");
67
+ function dt(e) {
68
+ return !!(typeof e == "string" || typeof e == "function" || e === s || e === l || Ae || e === i || e === h || e === b || xe || e === x || Pe || K || Ee || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === y || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
69
69
  // types supported by any Flight configuration anywhere since
70
70
  // we don't know which Flight build this will end up being used
71
71
  // with.
72
- e.$$typeof === we || e.getModuleId !== void 0));
72
+ e.$$typeof === $ || e.getModuleId !== void 0));
73
73
  }
74
- function ht(e, n, a) {
74
+ function pt(e, n, a) {
75
75
  var u = e.displayName;
76
76
  if (u)
77
77
  return u;
78
- var g = n.displayName || n.name || "";
79
- return g !== "" ? a + "(" + g + ")" : a;
78
+ var m = n.displayName || n.name || "";
79
+ return m !== "" ? a + "(" + m + ")" : a;
80
80
  }
81
- function Pe(e) {
81
+ function Te(e) {
82
82
  return e.displayName || "Context";
83
83
  }
84
- function $(e) {
84
+ function N(e) {
85
85
  if (e == null)
86
86
  return null;
87
- if (typeof e.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
87
+ if (typeof e.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
88
88
  return e.displayName || e.name || null;
89
89
  if (typeof e == "string")
90
90
  return e;
@@ -93,11 +93,11 @@ function hr() {
93
93
  return "Fragment";
94
94
  case o:
95
95
  return "Portal";
96
- case c:
96
+ case l:
97
97
  return "Profiler";
98
98
  case i:
99
99
  return "StrictMode";
100
- case m:
100
+ case h:
101
101
  return "Suspense";
102
102
  case b:
103
103
  return "SuspenseList";
@@ -106,19 +106,19 @@ function hr() {
106
106
  switch (e.$$typeof) {
107
107
  case p:
108
108
  var n = e;
109
- return Pe(n) + ".Consumer";
109
+ return Te(n) + ".Consumer";
110
110
  case d:
111
111
  var a = e;
112
- return Pe(a._context) + ".Provider";
112
+ return Te(a._context) + ".Provider";
113
113
  case f:
114
- return ht(e, e.render, "ForwardRef");
115
- case _:
114
+ return pt(e, e.render, "ForwardRef");
115
+ case y:
116
116
  var u = e.displayName || null;
117
- return u !== null ? u : $(e.type) || "Memo";
117
+ return u !== null ? u : N(e.type) || "Memo";
118
118
  case R: {
119
- var g = e, y = g._payload, h = g._init;
119
+ var m = e, _ = m._payload, g = m._init;
120
120
  try {
121
- return $(h(y));
121
+ return N(g(_));
122
122
  } catch {
123
123
  return null;
124
124
  }
@@ -126,18 +126,18 @@ function hr() {
126
126
  }
127
127
  return null;
128
128
  }
129
- var I = Object.assign, z = 0, Ce, Te, $e, Ne, Me, Ie, Be;
130
- function Le() {
129
+ var I = Object.assign, z = 0, Ce, $e, Ne, Me, Ie, Be, Le;
130
+ function De() {
131
131
  }
132
- Le.__reactDisabledLog = !0;
133
- function bt() {
132
+ De.__reactDisabledLog = !0;
133
+ function vt() {
134
134
  {
135
135
  if (z === 0) {
136
- Ce = console.log, Te = console.info, $e = console.warn, Ne = console.error, Me = console.group, Ie = console.groupCollapsed, Be = console.groupEnd;
136
+ Ce = console.log, $e = console.info, Ne = console.warn, Me = console.error, Ie = console.group, Be = console.groupCollapsed, Le = console.groupEnd;
137
137
  var e = {
138
138
  configurable: !0,
139
139
  enumerable: !0,
140
- value: Le,
140
+ value: De,
141
141
  writable: !0
142
142
  };
143
143
  Object.defineProperties(console, {
@@ -153,7 +153,7 @@ function hr() {
153
153
  z++;
154
154
  }
155
155
  }
156
- function mt() {
156
+ function gt() {
157
157
  {
158
158
  if (z--, z === 0) {
159
159
  var e = {
@@ -166,84 +166,84 @@ function hr() {
166
166
  value: Ce
167
167
  }),
168
168
  info: I({}, e, {
169
- value: Te
169
+ value: $e
170
170
  }),
171
171
  warn: I({}, e, {
172
- value: $e
172
+ value: Ne
173
173
  }),
174
174
  error: I({}, e, {
175
- value: Ne
175
+ value: Me
176
176
  }),
177
177
  group: I({}, e, {
178
- value: Me
178
+ value: Ie
179
179
  }),
180
180
  groupCollapsed: I({}, e, {
181
- value: Ie
181
+ value: Be
182
182
  }),
183
183
  groupEnd: I({}, e, {
184
- value: Be
184
+ value: Le
185
185
  })
186
186
  });
187
187
  }
188
- z < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
+ z < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
189
  }
190
190
  }
191
- var ie = N.ReactCurrentDispatcher, ce;
192
- function X(e, n, a) {
191
+ var le = C.ReactCurrentDispatcher, ue;
192
+ function Z(e, n, a) {
193
193
  {
194
- if (ce === void 0)
194
+ if (ue === void 0)
195
195
  try {
196
196
  throw Error();
197
- } catch (g) {
198
- var u = g.stack.trim().match(/\n( *(at )?)/);
199
- ce = u && u[1] || "";
197
+ } catch (m) {
198
+ var u = m.stack.trim().match(/\n( *(at )?)/);
199
+ ue = u && u[1] || "";
200
200
  }
201
201
  return `
202
- ` + ce + e;
202
+ ` + ue + e;
203
203
  }
204
204
  }
205
- var le = !1, Z;
205
+ var fe = !1, Q;
206
206
  {
207
- var gt = typeof WeakMap == "function" ? WeakMap : Map;
208
- Z = new gt();
207
+ var ht = typeof WeakMap == "function" ? WeakMap : Map;
208
+ Q = new ht();
209
209
  }
210
- function De(e, n) {
211
- if (!e || le)
210
+ function Ue(e, n) {
211
+ if (!e || fe)
212
212
  return "";
213
213
  {
214
- var a = Z.get(e);
214
+ var a = Q.get(e);
215
215
  if (a !== void 0)
216
216
  return a;
217
217
  }
218
218
  var u;
219
- le = !0;
220
- var g = Error.prepareStackTrace;
219
+ fe = !0;
220
+ var m = Error.prepareStackTrace;
221
221
  Error.prepareStackTrace = void 0;
222
- var y;
223
- y = ie.current, ie.current = null, bt();
222
+ var _;
223
+ _ = le.current, le.current = null, vt();
224
224
  try {
225
225
  if (n) {
226
- var h = function() {
226
+ var g = function() {
227
227
  throw Error();
228
228
  };
229
- if (Object.defineProperty(h.prototype, "props", {
229
+ if (Object.defineProperty(g.prototype, "props", {
230
230
  set: function() {
231
231
  throw Error();
232
232
  }
233
233
  }), typeof Reflect == "object" && Reflect.construct) {
234
234
  try {
235
- Reflect.construct(h, []);
235
+ Reflect.construct(g, []);
236
236
  } catch (O) {
237
237
  u = O;
238
238
  }
239
- Reflect.construct(e, [], h);
239
+ Reflect.construct(e, [], g);
240
240
  } else {
241
241
  try {
242
- h.call();
242
+ g.call();
243
243
  } catch (O) {
244
244
  u = O;
245
245
  }
246
- e.call(h.prototype);
246
+ e.call(g.prototype);
247
247
  }
248
248
  } else {
249
249
  try {
@@ -256,122 +256,122 @@ function hr() {
256
256
  } catch (O) {
257
257
  if (O && u && typeof O.stack == "string") {
258
258
  for (var v = O.stack.split(`
259
- `), A = u.stack.split(`
260
- `), S = v.length - 1, E = A.length - 1; S >= 1 && E >= 0 && v[S] !== A[E]; )
259
+ `), k = u.stack.split(`
260
+ `), S = v.length - 1, E = k.length - 1; S >= 1 && E >= 0 && v[S] !== k[E]; )
261
261
  E--;
262
262
  for (; S >= 1 && E >= 0; S--, E--)
263
- if (v[S] !== A[E]) {
263
+ if (v[S] !== k[E]) {
264
264
  if (S !== 1 || E !== 1)
265
265
  do
266
- if (S--, E--, E < 0 || v[S] !== A[E]) {
266
+ if (S--, E--, E < 0 || v[S] !== k[E]) {
267
267
  var w = `
268
268
  ` + v[S].replace(" at new ", " at ");
269
- return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, w), w;
269
+ return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, w), w;
270
270
  }
271
271
  while (S >= 1 && E >= 0);
272
272
  break;
273
273
  }
274
274
  }
275
275
  } finally {
276
- le = !1, ie.current = y, mt(), Error.prepareStackTrace = g;
276
+ fe = !1, le.current = _, gt(), Error.prepareStackTrace = m;
277
277
  }
278
- var Y = e ? e.displayName || e.name : "", B = Y ? X(Y) : "";
279
- return typeof e == "function" && Z.set(e, B), B;
278
+ var q = e ? e.displayName || e.name : "", B = q ? Z(q) : "";
279
+ return typeof e == "function" && Q.set(e, B), B;
280
280
  }
281
- function yt(e, n, a) {
282
- return De(e, !1);
281
+ function bt(e, n, a) {
282
+ return Ue(e, !1);
283
283
  }
284
- function _t(e) {
284
+ function mt(e) {
285
285
  var n = e.prototype;
286
286
  return !!(n && n.isReactComponent);
287
287
  }
288
- function Q(e, n, a) {
288
+ function ee(e, n, a) {
289
289
  if (e == null)
290
290
  return "";
291
291
  if (typeof e == "function")
292
- return De(e, _t(e));
292
+ return Ue(e, mt(e));
293
293
  if (typeof e == "string")
294
- return X(e);
294
+ return Z(e);
295
295
  switch (e) {
296
- case m:
297
- return X("Suspense");
296
+ case h:
297
+ return Z("Suspense");
298
298
  case b:
299
- return X("SuspenseList");
299
+ return Z("SuspenseList");
300
300
  }
301
301
  if (typeof e == "object")
302
302
  switch (e.$$typeof) {
303
303
  case f:
304
- return yt(e.render);
305
- case _:
306
- return Q(e.type, n, a);
304
+ return bt(e.render);
305
+ case y:
306
+ return ee(e.type, n, a);
307
307
  case R: {
308
- var u = e, g = u._payload, y = u._init;
308
+ var u = e, m = u._payload, _ = u._init;
309
309
  try {
310
- return Q(y(g), n, a);
310
+ return ee(_(m), n, a);
311
311
  } catch {
312
312
  }
313
313
  }
314
314
  }
315
315
  return "";
316
316
  }
317
- var J = Object.prototype.hasOwnProperty, Ue = {}, Fe = N.ReactDebugCurrentFrame;
318
- function ee(e) {
317
+ var J = Object.prototype.hasOwnProperty, Fe = {}, We = C.ReactDebugCurrentFrame;
318
+ function te(e) {
319
319
  if (e) {
320
- var n = e._owner, a = Q(e.type, e._source, n ? n.type : null);
321
- Fe.setExtraStackFrame(a);
320
+ var n = e._owner, a = ee(e.type, e._source, n ? n.type : null);
321
+ We.setExtraStackFrame(a);
322
322
  } else
323
- Fe.setExtraStackFrame(null);
323
+ We.setExtraStackFrame(null);
324
324
  }
325
- function Rt(e, n, a, u, g) {
325
+ function yt(e, n, a, u, m) {
326
326
  {
327
- var y = Function.call.bind(J);
328
- for (var h in e)
329
- if (y(e, h)) {
327
+ var _ = Function.call.bind(J);
328
+ for (var g in e)
329
+ if (_(e, g)) {
330
330
  var v = void 0;
331
331
  try {
332
- if (typeof e[h] != "function") {
333
- var A = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
- throw A.name = "Invariant Violation", A;
332
+ if (typeof e[g] != "function") {
333
+ var k = Error((u || "React class") + ": " + a + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
+ throw k.name = "Invariant Violation", k;
335
335
  }
336
- v = e[h](n, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
+ v = e[g](n, g, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
337
  } catch (S) {
338
338
  v = S;
339
339
  }
340
- v && !(v instanceof Error) && (ee(g), x("%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).", u || "React class", a, h, typeof v), ee(null)), v instanceof Error && !(v.message in Ue) && (Ue[v.message] = !0, ee(g), x("Failed %s type: %s", a, v.message), ee(null));
340
+ v && !(v instanceof Error) && (te(m), A("%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).", u || "React class", a, g, typeof v), te(null)), v instanceof Error && !(v.message in Fe) && (Fe[v.message] = !0, te(m), A("Failed %s type: %s", a, v.message), te(null));
341
341
  }
342
342
  }
343
343
  }
344
- var St = Array.isArray;
345
- function ue(e) {
346
- return St(e);
344
+ var _t = Array.isArray;
345
+ function de(e) {
346
+ return _t(e);
347
347
  }
348
- function Et(e) {
348
+ function Rt(e) {
349
349
  {
350
350
  var n = typeof Symbol == "function" && Symbol.toStringTag, a = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
351
  return a;
352
352
  }
353
353
  }
354
- function xt(e) {
354
+ function St(e) {
355
355
  try {
356
- return We(e), !1;
356
+ return Ye(e), !1;
357
357
  } catch {
358
358
  return !0;
359
359
  }
360
360
  }
361
- function We(e) {
361
+ function Ye(e) {
362
362
  return "" + e;
363
363
  }
364
- function Ye(e) {
365
- if (xt(e))
366
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)), We(e);
364
+ function qe(e) {
365
+ if (St(e))
366
+ return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(e)), Ye(e);
367
367
  }
368
- var qe = N.ReactCurrentOwner, kt = {
368
+ var Ve = C.ReactCurrentOwner, Et = {
369
369
  key: !0,
370
370
  ref: !0,
371
371
  __self: !0,
372
372
  __source: !0
373
- }, Ve, ze;
374
- function jt(e) {
373
+ }, ze, Je;
374
+ function xt(e) {
375
375
  if (J.call(e, "ref")) {
376
376
  var n = Object.getOwnPropertyDescriptor(e, "ref").get;
377
377
  if (n && n.isReactWarning)
@@ -387,13 +387,13 @@ function hr() {
387
387
  }
388
388
  return e.key !== void 0;
389
389
  }
390
- function Ot(e, n) {
391
- typeof e.ref == "string" && qe.current;
390
+ function jt(e, n) {
391
+ typeof e.ref == "string" && Ve.current;
392
392
  }
393
- function wt(e, n) {
393
+ function kt(e, n) {
394
394
  {
395
395
  var a = function() {
396
- Ve || (Ve = !0, x("%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)", n));
396
+ ze || (ze = !0, A("%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)", n));
397
397
  };
398
398
  a.isReactWarning = !0, Object.defineProperty(e, "key", {
399
399
  get: a,
@@ -401,10 +401,10 @@ function hr() {
401
401
  });
402
402
  }
403
403
  }
404
- function Pt(e, n) {
404
+ function Ot(e, n) {
405
405
  {
406
406
  var a = function() {
407
- ze || (ze = !0, x("%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)", n));
407
+ Je || (Je = !0, A("%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)", n));
408
408
  };
409
409
  a.isReactWarning = !0, Object.defineProperty(e, "ref", {
410
410
  get: a,
@@ -412,7 +412,7 @@ function hr() {
412
412
  });
413
413
  }
414
414
  }
415
- var Ct = function(e, n, a, u, g, y, h) {
415
+ var wt = function(e, n, a, u, m, _, g) {
416
416
  var v = {
417
417
  // This tag allows us to uniquely identify this as a React Element
418
418
  $$typeof: r,
@@ -420,9 +420,9 @@ function hr() {
420
420
  type: e,
421
421
  key: n,
422
422
  ref: a,
423
- props: h,
423
+ props: g,
424
424
  // Record the component responsible for creating this element.
425
- _owner: y
425
+ _owner: _
426
426
  };
427
427
  return v._store = {}, Object.defineProperty(v._store, "validated", {
428
428
  configurable: !1,
@@ -438,44 +438,44 @@ function hr() {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !1,
441
- value: g
441
+ value: m
442
442
  }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
443
443
  };
444
- function Tt(e, n, a, u, g) {
444
+ function Pt(e, n, a, u, m) {
445
445
  {
446
- var y, h = {}, v = null, A = null;
447
- a !== void 0 && (Ye(a), v = "" + a), At(n) && (Ye(n.key), v = "" + n.key), jt(n) && (A = n.ref, Ot(n, g));
448
- for (y in n)
449
- J.call(n, y) && !kt.hasOwnProperty(y) && (h[y] = n[y]);
446
+ var _, g = {}, v = null, k = null;
447
+ a !== void 0 && (qe(a), v = "" + a), At(n) && (qe(n.key), v = "" + n.key), xt(n) && (k = n.ref, jt(n, m));
448
+ for (_ in n)
449
+ J.call(n, _) && !Et.hasOwnProperty(_) && (g[_] = n[_]);
450
450
  if (e && e.defaultProps) {
451
451
  var S = e.defaultProps;
452
- for (y in S)
453
- h[y] === void 0 && (h[y] = S[y]);
452
+ for (_ in S)
453
+ g[_] === void 0 && (g[_] = S[_]);
454
454
  }
455
- if (v || A) {
455
+ if (v || k) {
456
456
  var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
- v && wt(h, E), A && Pt(h, E);
457
+ v && kt(g, E), k && Ot(g, E);
458
458
  }
459
- return Ct(e, v, A, g, u, qe.current, h);
459
+ return wt(e, v, k, m, u, Ve.current, g);
460
460
  }
461
461
  }
462
- var fe = N.ReactCurrentOwner, Je = N.ReactDebugCurrentFrame;
463
- function W(e) {
462
+ var pe = C.ReactCurrentOwner, He = C.ReactDebugCurrentFrame;
463
+ function Y(e) {
464
464
  if (e) {
465
- var n = e._owner, a = Q(e.type, e._source, n ? n.type : null);
466
- Je.setExtraStackFrame(a);
465
+ var n = e._owner, a = ee(e.type, e._source, n ? n.type : null);
466
+ He.setExtraStackFrame(a);
467
467
  } else
468
- Je.setExtraStackFrame(null);
468
+ He.setExtraStackFrame(null);
469
469
  }
470
- var de;
471
- de = !1;
472
- function pe(e) {
470
+ var ve;
471
+ ve = !1;
472
+ function ge(e) {
473
473
  return typeof e == "object" && e !== null && e.$$typeof === r;
474
474
  }
475
- function He() {
475
+ function Ke() {
476
476
  {
477
- if (fe.current) {
478
- var e = $(fe.current.type);
477
+ if (pe.current) {
478
+ var e = N(pe.current.type);
479
479
  if (e)
480
480
  return `
481
481
 
@@ -484,13 +484,13 @@ Check the render method of \`` + e + "`.";
484
484
  return "";
485
485
  }
486
486
  }
487
- function $t(e) {
487
+ function Tt(e) {
488
488
  return "";
489
489
  }
490
- var Ke = {};
491
- function Nt(e) {
490
+ var Ge = {};
491
+ function Ct(e) {
492
492
  {
493
- var n = He();
493
+ var n = Ke();
494
494
  if (!n) {
495
495
  var a = typeof e == "string" ? e : e.displayName || e.name;
496
496
  a && (n = `
@@ -500,39 +500,39 @@ Check the top-level render call using <` + a + ">.");
500
500
  return n;
501
501
  }
502
502
  }
503
- function Ge(e, n) {
503
+ function Xe(e, n) {
504
504
  {
505
505
  if (!e._store || e._store.validated || e.key != null)
506
506
  return;
507
507
  e._store.validated = !0;
508
- var a = Nt(n);
509
- if (Ke[a])
508
+ var a = Ct(n);
509
+ if (Ge[a])
510
510
  return;
511
- Ke[a] = !0;
511
+ Ge[a] = !0;
512
512
  var u = "";
513
- e && e._owner && e._owner !== fe.current && (u = " It was passed a child from " + $(e._owner.type) + "."), W(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), W(null);
513
+ e && e._owner && e._owner !== pe.current && (u = " It was passed a child from " + N(e._owner.type) + "."), Y(e), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), Y(null);
514
514
  }
515
515
  }
516
- function Xe(e, n) {
516
+ function Ze(e, n) {
517
517
  {
518
518
  if (typeof e != "object")
519
519
  return;
520
- if (ue(e))
520
+ if (de(e))
521
521
  for (var a = 0; a < e.length; a++) {
522
522
  var u = e[a];
523
- pe(u) && Ge(u, n);
523
+ ge(u) && Xe(u, n);
524
524
  }
525
- else if (pe(e))
525
+ else if (ge(e))
526
526
  e._store && (e._store.validated = !0);
527
527
  else if (e) {
528
- var g = Re(e);
529
- if (typeof g == "function" && g !== e.entries)
530
- for (var y = g.call(e), h; !(h = y.next()).done; )
531
- pe(h.value) && Ge(h.value, n);
528
+ var m = we(e);
529
+ if (typeof m == "function" && m !== e.entries)
530
+ for (var _ = m.call(e), g; !(g = _.next()).done; )
531
+ ge(g.value) && Xe(g.value, n);
532
532
  }
533
533
  }
534
534
  }
535
- function Mt(e) {
535
+ function $t(e) {
536
536
  {
537
537
  var n = e.type;
538
538
  if (n == null || typeof n == "string")
@@ -542,122 +542,122 @@ Check the top-level render call using <` + a + ">.");
542
542
  a = n.propTypes;
543
543
  else if (typeof n == "object" && (n.$$typeof === f || // Note: Memo only checks outer props here.
544
544
  // Inner props are checked in the reconciler.
545
- n.$$typeof === _))
545
+ n.$$typeof === y))
546
546
  a = n.propTypes;
547
547
  else
548
548
  return;
549
549
  if (a) {
550
- var u = $(n);
551
- Rt(a, e.props, "prop", u, e);
552
- } else if (n.PropTypes !== void 0 && !de) {
553
- de = !0;
554
- var g = $(n);
555
- x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown");
550
+ var u = N(n);
551
+ yt(a, e.props, "prop", u, e);
552
+ } else if (n.PropTypes !== void 0 && !ve) {
553
+ ve = !0;
554
+ var m = N(n);
555
+ A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
556
556
  }
557
- typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
+ typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
558
558
  }
559
559
  }
560
- function It(e) {
560
+ function Nt(e) {
561
561
  {
562
562
  for (var n = Object.keys(e.props), a = 0; a < n.length; a++) {
563
563
  var u = n[a];
564
564
  if (u !== "children" && u !== "key") {
565
- W(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), W(null);
565
+ Y(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Y(null);
566
566
  break;
567
567
  }
568
568
  }
569
- e.ref !== null && (W(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), W(null));
569
+ e.ref !== null && (Y(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
570
570
  }
571
571
  }
572
- var Ze = {};
573
- function Qe(e, n, a, u, g, y) {
572
+ var Qe = {};
573
+ function et(e, n, a, u, m, _) {
574
574
  {
575
- var h = vt(e);
576
- if (!h) {
575
+ var g = dt(e);
576
+ if (!g) {
577
577
  var v = "";
578
578
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
579
- var A = $t();
580
- A ? v += A : v += He();
579
+ var k = Tt();
580
+ k ? v += k : v += Ke();
581
581
  var S;
582
- e === null ? S = "null" : ue(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + ($(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
582
+ e === null ? S = "null" : de(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
583
583
  }
584
- var E = Tt(e, n, a, g, y);
584
+ var E = Pt(e, n, a, m, _);
585
585
  if (E == null)
586
586
  return E;
587
- if (h) {
587
+ if (g) {
588
588
  var w = n.children;
589
589
  if (w !== void 0)
590
590
  if (u)
591
- if (ue(w)) {
592
- for (var Y = 0; Y < w.length; Y++)
593
- Xe(w[Y], e);
591
+ if (de(w)) {
592
+ for (var q = 0; q < w.length; q++)
593
+ Ze(w[q], e);
594
594
  Object.freeze && Object.freeze(w);
595
595
  } else
596
- x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
596
+ A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
597
597
  else
598
- Xe(w, e);
598
+ Ze(w, e);
599
599
  }
600
600
  if (J.call(n, "key")) {
601
- var B = $(e), O = Object.keys(n).filter(function(Wt) {
602
- return Wt !== "key";
603
- }), ve = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
604
- if (!Ze[B + ve]) {
605
- var Ft = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
606
- x(`A props object containing a "key" prop is being spread into JSX:
601
+ var B = N(e), O = Object.keys(n).filter(function(Ut) {
602
+ return Ut !== "key";
603
+ }), he = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
604
+ if (!Qe[B + he]) {
605
+ var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
606
+ A(`A props object containing a "key" prop is being spread into JSX:
607
607
  let props = %s;
608
608
  <%s {...props} />
609
609
  React keys must be passed directly to JSX without using spread:
610
610
  let props = %s;
611
- <%s key={someKey} {...props} />`, ve, B, Ft, B), Ze[B + ve] = !0;
611
+ <%s key={someKey} {...props} />`, he, B, Dt, B), Qe[B + he] = !0;
612
612
  }
613
613
  }
614
- return e === s ? It(E) : Mt(E), E;
614
+ return e === s ? Nt(E) : $t(E), E;
615
615
  }
616
616
  }
617
- function Bt(e, n, a) {
618
- return Qe(e, n, a, !0);
617
+ function Mt(e, n, a) {
618
+ return et(e, n, a, !0);
619
619
  }
620
- function Lt(e, n, a) {
621
- return Qe(e, n, a, !1);
620
+ function It(e, n, a) {
621
+ return et(e, n, a, !1);
622
622
  }
623
- var Dt = Lt, Ut = Bt;
624
- tt.Fragment = s, tt.jsx = Dt, tt.jsxs = Ut;
625
- }()), tt;
623
+ var Bt = It, Lt = Mt;
624
+ rt.Fragment = s, rt.jsx = Bt, rt.jsxs = Lt;
625
+ }()), rt;
626
626
  }
627
- process.env.NODE_ENV === "production" ? Yt.exports = vr() : Yt.exports = hr();
628
- var l = Yt.exports;
629
- const br = "_o_1apbm_11", mr = "_x_1apbm_24", gr = "_p_1apbm_28", yr = "_m_1apbm_45", ke = {
630
- o: br,
631
- x: mr,
632
- p: gr,
633
- m: yr
627
+ process.env.NODE_ENV === "production" ? Ft.exports = dr() : Ft.exports = pr();
628
+ var c = Ft.exports;
629
+ const vr = "_o_1apbm_11", gr = "_x_1apbm_24", hr = "_p_1apbm_28", br = "_m_1apbm_45", je = {
630
+ o: vr,
631
+ x: gr,
632
+ p: hr,
633
+ m: br
634
634
  };
635
- let q = {};
636
- var qt;
635
+ let V = {};
636
+ var Wt;
637
637
  ((t) => {
638
638
  function r({
639
639
  children: p,
640
640
  onCallbackModal: f,
641
- nameModal: m,
641
+ nameModal: h,
642
642
  offsetTop: b
643
643
  }) {
644
- const [_, R] = C(!1), [k, T] = C(!1);
645
- if (q[m].onClose = () => {
646
- P.BackButton(!1), T(!0), setTimeout(() => {
647
- R(!1), T(!1), f == null || f(), q.x(m);
644
+ const [y, R] = T(!1), [x, M] = T(!1);
645
+ if (V[h].onClose = () => {
646
+ P.BackButton(!1), M(!0), setTimeout(() => {
647
+ R(!1), M(!1), f == null || f(), V.x(h);
648
648
  }, 300);
649
- }, F(() => {
650
- _ ? q[m].onClose() : (P.BackButton({
651
- callback: () => q[m].onClose()
649
+ }, W(() => {
650
+ y ? V[h].onClose() : (P.BackButton({
651
+ callback: () => V[h].onClose()
652
652
  }), R(!0));
653
- }, []), !!_)
654
- return /* @__PURE__ */ l.jsx("div", { className: ye(ke.o, k && ke.x), children: /* @__PURE__ */ l.jsx(
653
+ }, []), !!y)
654
+ return /* @__PURE__ */ c.jsx("div", { className: Re(je.o, x && je.x), children: /* @__PURE__ */ c.jsx(
655
655
  "div",
656
656
  {
657
- className: ye(
658
- ke.p,
659
- k && ke.x,
660
- b ? ke.o : ke.m
657
+ className: Re(
658
+ je.p,
659
+ x && je.x,
660
+ b ? je.o : je.m
661
661
  ),
662
662
  children: p
663
663
  }
@@ -667,24 +667,24 @@ var qt;
667
667
  function o({
668
668
  import_modules: p
669
669
  }) {
670
- let [f, m] = C([]);
671
- return q.x = (b) => {
672
- m(b ? f.filter((_) => _.key !== b) : []);
673
- }, F(() => {
674
- p && (q.i = p);
675
- }, []), q.add = (b, _ = Date.now()) => {
676
- m([...f, { key: _, item: b }]);
677
- }, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((b) => b.item) });
670
+ let [f, h] = T([]);
671
+ return V.x = (b) => {
672
+ h(b ? f.filter((y) => y.key !== b) : []);
673
+ }, W(() => {
674
+ p && (V.i = p);
675
+ }, []), V.add = (b, y = Date.now()) => {
676
+ h([...f, { key: y, item: b }]);
677
+ }, /* @__PURE__ */ c.jsx(c.Fragment, { children: f.map((b) => b.item) });
678
678
  }
679
679
  t.Init = o;
680
- function s(p, f, m) {
681
- q.add(
682
- /* @__PURE__ */ l.jsx(
680
+ function s(p, f, h) {
681
+ V.add(
682
+ /* @__PURE__ */ c.jsx(
683
683
  r,
684
684
  {
685
- onCallbackModal: q["callback_modal" + f],
685
+ onCallbackModal: V["callback_modal" + f],
686
686
  nameModal: f || "",
687
- offsetTop: m,
687
+ offsetTop: h,
688
688
  children: p
689
689
  },
690
690
  String(Date.now())
@@ -693,55 +693,55 @@ var qt;
693
693
  );
694
694
  }
695
695
  t.Add = s;
696
- function i(p, f = Date.now().toString(), m) {
697
- return q[f] = {}, {
696
+ function i(p, f = Date.now().toString(), h) {
697
+ return V[f] = {}, {
698
698
  Open: (R) => {
699
699
  t.Add(
700
- /* @__PURE__ */ l.jsx(
700
+ /* @__PURE__ */ c.jsx(
701
701
  p,
702
702
  {
703
703
  ...R,
704
- onCallbackModal: (k) => {
705
- var T;
706
- (T = R.callback) == null || T.call(R, k);
704
+ onCallbackModal: (x) => {
705
+ var M;
706
+ (M = R.callback) == null || M.call(R, x);
707
707
  },
708
708
  nameModal: f
709
709
  },
710
710
  (/* @__PURE__ */ new Date()).getTime()
711
711
  ),
712
712
  f,
713
- m === void 0 ? !0 : m
713
+ h === void 0 ? !0 : h
714
714
  );
715
715
  }
716
716
  };
717
717
  }
718
718
  t.Create = i;
719
- function c(p) {
720
- q[p].onClose();
719
+ function l(p) {
720
+ V[p].onClose();
721
721
  }
722
- t.Close = c;
723
- function d(p, f, m, b) {
724
- q.i && (b && (m.callback = b), q.i(`${p}/modals/${f}.tsx`).then((_) => {
722
+ t.Close = l;
723
+ function d(p, f, h, b) {
724
+ V.i && (b && (h.callback = b), V.i(`${p}/modals/${f}.tsx`).then((y) => {
725
725
  var R;
726
- _.Open ? _.Open(m) : (R = _.default) != null && R.Open ? _.default.Open(m) : _.default && _.default(m);
726
+ y.Open ? y.Open(h) : (R = y.default) != null && R.Open ? y.default.Open(h) : y.default && y.default(h);
727
727
  }));
728
728
  }
729
729
  t.Open = d;
730
- })(qt || (qt = {}));
731
- function or() {
730
+ })(Wt || (Wt = {}));
731
+ function rr() {
732
732
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
733
733
  }
734
- const ar = {
734
+ const nr = {
735
735
  key: "Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",
736
736
  iterations: 7,
737
737
  saltLength: 16
738
738
  };
739
- function Gt(t) {
740
- const r = or();
741
- r.CRYPTO_PARAMS ? r.CRYPTO_PARAMS = { ...r.CRYPTO_PARAMS, ...t } : r.CRYPTO_PARAMS = { ...ar, ...t };
739
+ function Kt(t) {
740
+ const r = rr();
741
+ r.CRYPTO_PARAMS ? r.CRYPTO_PARAMS = { ...r.CRYPTO_PARAMS, ...t } : r.CRYPTO_PARAMS = { ...nr, ...t };
742
742
  }
743
743
  function lt() {
744
- return or().CRYPTO_PARAMS || ar;
744
+ return rr().CRYPTO_PARAMS || nr;
745
745
  }
746
746
  const ut = (t) => {
747
747
  let r = 0;
@@ -756,7 +756,7 @@ const ut = (t) => {
756
756
  o += i.toString(16).padStart(2, "0");
757
757
  }
758
758
  return o;
759
- }, sr = (t, r) => {
759
+ }, or = (t, r) => {
760
760
  let o = t + r;
761
761
  for (let i = 0; i < lt().iterations; i++)
762
762
  o = ut(o);
@@ -764,43 +764,43 @@ const ut = (t) => {
764
764
  for (let i = 0; i < 32; i++)
765
765
  s[i] = parseInt(o.substring(i * 2, i * 2 + 2), 16);
766
766
  return s;
767
- }, ir = (t, r) => {
767
+ }, ar = (t, r) => {
768
768
  const o = new Uint8Array(t.length), s = new Uint8Array(t.length);
769
769
  let i = 0;
770
- for (let c = 0; c < t.length; c++) {
771
- const d = c % r.length;
772
- i = r[d] + c + i & 255, s[c] = i;
770
+ for (let l = 0; l < t.length; l++) {
771
+ const d = l % r.length;
772
+ i = r[d] + l + i & 255, s[l] = i;
773
773
  }
774
- for (let c = 0; c < t.length; c++)
775
- o[c] = t[c] ^ s[c];
774
+ for (let l = 0; l < t.length; l++)
775
+ o[l] = t[l] ^ s[l];
776
776
  return o;
777
- }, _r = (t) => new TextEncoder().encode(t), Rr = (t) => new TextDecoder().decode(t), Sr = (t) => {
777
+ }, mr = (t) => new TextEncoder().encode(t), yr = (t) => new TextDecoder().decode(t), _r = (t) => {
778
778
  let r = "";
779
779
  for (let o = 0; o < t.length; o += 8192) {
780
780
  const s = t.slice(o, Math.min(o + 8192, t.length));
781
781
  r += String.fromCharCode.apply(null, Array.from(s));
782
782
  }
783
783
  return btoa(r);
784
- }, Er = (t) => {
784
+ }, Rr = (t) => {
785
785
  const r = atob(t), o = new Uint8Array(r.length);
786
786
  for (let s = 0; s < r.length; s++)
787
787
  o[s] = r.charCodeAt(s);
788
788
  return o;
789
- }, xr = (t) => {
789
+ }, Sr = (t) => {
790
790
  try {
791
791
  const r = ut(
792
792
  Date.now().toString() + Math.random()
793
- ).substring(0, lt().saltLength * 2), o = ut(t + r).substring(0, 8), s = sr(lt().key, r), i = _r(t), c = ir(i, s), d = Sr(c);
793
+ ).substring(0, lt().saltLength * 2), o = ut(t + r).substring(0, 8), s = or(lt().key, r), i = mr(t), l = ar(i, s), d = _r(l);
794
794
  return `${r}.${d}.${o}`;
795
795
  } catch {
796
796
  throw new Error("Не удалось зашифровать данные");
797
797
  }
798
- }, kr = (t) => {
798
+ }, Er = (t) => {
799
799
  try {
800
800
  const r = t.split(".");
801
801
  if (r.length !== 3)
802
802
  throw new Error("Неверный формат зашифрованных данных");
803
- const o = r[0], s = r[1], i = r[2], c = sr(lt().key, o), d = Er(s), p = ir(d, c), f = Rr(p);
803
+ const o = r[0], s = r[1], i = r[2], l = or(lt().key, o), d = Rr(s), p = ar(d, l), f = yr(p);
804
804
  if (ut(f + o).substring(
805
805
  0,
806
806
  8
@@ -811,14 +811,14 @@ const ut = (t) => {
811
811
  return "";
812
812
  }
813
813
  };
814
- var se;
814
+ var ie;
815
815
  ((t) => {
816
816
  t.setKey = (r) => {
817
- Gt({ key: r });
817
+ Kt({ key: r });
818
818
  }, t.enCode = (r) => {
819
819
  try {
820
820
  const o = JSON.stringify(r);
821
- return xr(o);
821
+ return Sr(o);
822
822
  } catch {
823
823
  throw new Error("Не удалось зашифровать объект");
824
824
  }
@@ -826,16 +826,16 @@ var se;
826
826
  try {
827
827
  if (!r || r.length < 10)
828
828
  return !1;
829
- const o = kr(r);
829
+ const o = Er(r);
830
830
  return o && JSON.parse(o) || !1;
831
831
  } catch {
832
832
  return !1;
833
833
  }
834
834
  }, t.setSecurityParams = (r, o) => {
835
- Gt({ iterations: r, saltLength: o });
835
+ Kt({ iterations: r, saltLength: o });
836
836
  };
837
- })(se || (se = {}));
838
- var rt = {};
837
+ })(ie || (ie = {}));
838
+ var nt = {};
839
839
  /**
840
840
  * @license React
841
841
  * react-jsx-runtime.production.min.js
@@ -845,19 +845,19 @@ var rt = {};
845
845
  * This source code is licensed under the MIT license found in the
846
846
  * LICENSE file in the root directory of this source tree.
847
847
  */
848
- var Xt;
849
- function jr() {
850
- if (Xt) return rt;
851
- Xt = 1;
852
- var t = V, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
853
- function d(p, f, m) {
854
- var b, _ = {}, R = null, k = null;
855
- m !== void 0 && (R = "" + m), f.key !== void 0 && (R = "" + f.key), f.ref !== void 0 && (k = f.ref);
856
- for (b in f) s.call(f, b) && !c.hasOwnProperty(b) && (_[b] = f[b]);
857
- if (p && p.defaultProps) for (b in f = p.defaultProps, f) _[b] === void 0 && (_[b] = f[b]);
858
- return { $$typeof: r, type: p, key: R, ref: k, props: _, _owner: i.current };
848
+ var Gt;
849
+ function xr() {
850
+ if (Gt) return nt;
851
+ Gt = 1;
852
+ var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
853
+ function d(p, f, h) {
854
+ var b, y = {}, R = null, x = null;
855
+ h !== void 0 && (R = "" + h), f.key !== void 0 && (R = "" + f.key), f.ref !== void 0 && (x = f.ref);
856
+ for (b in f) s.call(f, b) && !l.hasOwnProperty(b) && (y[b] = f[b]);
857
+ if (p && p.defaultProps) for (b in f = p.defaultProps, f) y[b] === void 0 && (y[b] = f[b]);
858
+ return { $$typeof: r, type: p, key: R, ref: x, props: y, _owner: i.current };
859
859
  }
860
- return rt.Fragment = o, rt.jsx = d, rt.jsxs = d, rt;
860
+ return nt.Fragment = o, nt.jsx = d, nt.jsxs = d, nt;
861
861
  }
862
862
  var ot = {};
863
863
  /**
@@ -869,18 +869,18 @@ var ot = {};
869
869
  * This source code is licensed under the MIT license found in the
870
870
  * LICENSE file in the root directory of this source tree.
871
871
  */
872
- var Zt;
872
+ var Xt;
873
873
  function Ar() {
874
- return Zt || (Zt = 1, process.env.NODE_ENV !== "production" && function() {
875
- var t = V, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), T = Symbol.iterator, _e = "@@iterator";
876
- function Re(e) {
874
+ return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
875
+ var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), M = Symbol.iterator, ce = "@@iterator";
876
+ function we(e) {
877
877
  if (e === null || typeof e != "object")
878
878
  return null;
879
- var n = T && e[T] || e[_e];
879
+ var n = M && e[M] || e[ce];
880
880
  return typeof n == "function" ? n : null;
881
881
  }
882
- var N = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
883
- function x(e) {
882
+ var C = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
883
+ function A(e) {
884
884
  {
885
885
  for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
886
886
  a[u - 1] = arguments[u];
@@ -889,37 +889,37 @@ function Ar() {
889
889
  }
890
890
  function Se(e, n, a) {
891
891
  {
892
- var u = N.ReactDebugCurrentFrame, g = u.getStackAddendum();
893
- g !== "" && (n += "%s", a = a.concat([g]));
894
- var y = a.map(function(h) {
895
- return String(h);
892
+ var u = C.ReactDebugCurrentFrame, m = u.getStackAddendum();
893
+ m !== "" && (n += "%s", a = a.concat([m]));
894
+ var _ = a.map(function(g) {
895
+ return String(g);
896
896
  });
897
- y.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, y);
897
+ _.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, _);
898
898
  }
899
899
  }
900
- var Ee = !1, xe = !1, M = !1, dt = !1, pt = !1, we;
901
- we = Symbol.for("react.module.reference");
902
- function vt(e) {
903
- return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || pt || e === i || e === m || e === b || dt || e === k || Ee || xe || M || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === _ || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
900
+ var Pe = !1, K = !1, Ee = !1, xe = !1, Ae = !1, $;
901
+ $ = Symbol.for("react.module.reference");
902
+ function dt(e) {
903
+ return !!(typeof e == "string" || typeof e == "function" || e === s || e === l || Ae || e === i || e === h || e === b || xe || e === x || Pe || K || Ee || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === y || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
904
904
  // types supported by any Flight configuration anywhere since
905
905
  // we don't know which Flight build this will end up being used
906
906
  // with.
907
- e.$$typeof === we || e.getModuleId !== void 0));
907
+ e.$$typeof === $ || e.getModuleId !== void 0));
908
908
  }
909
- function ht(e, n, a) {
909
+ function pt(e, n, a) {
910
910
  var u = e.displayName;
911
911
  if (u)
912
912
  return u;
913
- var g = n.displayName || n.name || "";
914
- return g !== "" ? a + "(" + g + ")" : a;
913
+ var m = n.displayName || n.name || "";
914
+ return m !== "" ? a + "(" + m + ")" : a;
915
915
  }
916
- function Pe(e) {
916
+ function Te(e) {
917
917
  return e.displayName || "Context";
918
918
  }
919
- function $(e) {
919
+ function N(e) {
920
920
  if (e == null)
921
921
  return null;
922
- if (typeof e.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
922
+ if (typeof e.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
923
923
  return e.displayName || e.name || null;
924
924
  if (typeof e == "string")
925
925
  return e;
@@ -928,11 +928,11 @@ function Ar() {
928
928
  return "Fragment";
929
929
  case o:
930
930
  return "Portal";
931
- case c:
931
+ case l:
932
932
  return "Profiler";
933
933
  case i:
934
934
  return "StrictMode";
935
- case m:
935
+ case h:
936
936
  return "Suspense";
937
937
  case b:
938
938
  return "SuspenseList";
@@ -941,19 +941,19 @@ function Ar() {
941
941
  switch (e.$$typeof) {
942
942
  case p:
943
943
  var n = e;
944
- return Pe(n) + ".Consumer";
944
+ return Te(n) + ".Consumer";
945
945
  case d:
946
946
  var a = e;
947
- return Pe(a._context) + ".Provider";
947
+ return Te(a._context) + ".Provider";
948
948
  case f:
949
- return ht(e, e.render, "ForwardRef");
950
- case _:
949
+ return pt(e, e.render, "ForwardRef");
950
+ case y:
951
951
  var u = e.displayName || null;
952
- return u !== null ? u : $(e.type) || "Memo";
952
+ return u !== null ? u : N(e.type) || "Memo";
953
953
  case R: {
954
- var g = e, y = g._payload, h = g._init;
954
+ var m = e, _ = m._payload, g = m._init;
955
955
  try {
956
- return $(h(y));
956
+ return N(g(_));
957
957
  } catch {
958
958
  return null;
959
959
  }
@@ -961,18 +961,18 @@ function Ar() {
961
961
  }
962
962
  return null;
963
963
  }
964
- var I = Object.assign, z = 0, Ce, Te, $e, Ne, Me, Ie, Be;
965
- function Le() {
964
+ var I = Object.assign, z = 0, Ce, $e, Ne, Me, Ie, Be, Le;
965
+ function De() {
966
966
  }
967
- Le.__reactDisabledLog = !0;
968
- function bt() {
967
+ De.__reactDisabledLog = !0;
968
+ function vt() {
969
969
  {
970
970
  if (z === 0) {
971
- Ce = console.log, Te = console.info, $e = console.warn, Ne = console.error, Me = console.group, Ie = console.groupCollapsed, Be = console.groupEnd;
971
+ Ce = console.log, $e = console.info, Ne = console.warn, Me = console.error, Ie = console.group, Be = console.groupCollapsed, Le = console.groupEnd;
972
972
  var e = {
973
973
  configurable: !0,
974
974
  enumerable: !0,
975
- value: Le,
975
+ value: De,
976
976
  writable: !0
977
977
  };
978
978
  Object.defineProperties(console, {
@@ -988,7 +988,7 @@ function Ar() {
988
988
  z++;
989
989
  }
990
990
  }
991
- function mt() {
991
+ function gt() {
992
992
  {
993
993
  if (z--, z === 0) {
994
994
  var e = {
@@ -1001,84 +1001,84 @@ function Ar() {
1001
1001
  value: Ce
1002
1002
  }),
1003
1003
  info: I({}, e, {
1004
- value: Te
1004
+ value: $e
1005
1005
  }),
1006
1006
  warn: I({}, e, {
1007
- value: $e
1007
+ value: Ne
1008
1008
  }),
1009
1009
  error: I({}, e, {
1010
- value: Ne
1010
+ value: Me
1011
1011
  }),
1012
1012
  group: I({}, e, {
1013
- value: Me
1013
+ value: Ie
1014
1014
  }),
1015
1015
  groupCollapsed: I({}, e, {
1016
- value: Ie
1016
+ value: Be
1017
1017
  }),
1018
1018
  groupEnd: I({}, e, {
1019
- value: Be
1019
+ value: Le
1020
1020
  })
1021
1021
  });
1022
1022
  }
1023
- z < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1023
+ z < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1024
1024
  }
1025
1025
  }
1026
- var ie = N.ReactCurrentDispatcher, ce;
1027
- function X(e, n, a) {
1026
+ var le = C.ReactCurrentDispatcher, ue;
1027
+ function Z(e, n, a) {
1028
1028
  {
1029
- if (ce === void 0)
1029
+ if (ue === void 0)
1030
1030
  try {
1031
1031
  throw Error();
1032
- } catch (g) {
1033
- var u = g.stack.trim().match(/\n( *(at )?)/);
1034
- ce = u && u[1] || "";
1032
+ } catch (m) {
1033
+ var u = m.stack.trim().match(/\n( *(at )?)/);
1034
+ ue = u && u[1] || "";
1035
1035
  }
1036
1036
  return `
1037
- ` + ce + e;
1037
+ ` + ue + e;
1038
1038
  }
1039
1039
  }
1040
- var le = !1, Z;
1040
+ var fe = !1, Q;
1041
1041
  {
1042
- var gt = typeof WeakMap == "function" ? WeakMap : Map;
1043
- Z = new gt();
1042
+ var ht = typeof WeakMap == "function" ? WeakMap : Map;
1043
+ Q = new ht();
1044
1044
  }
1045
- function De(e, n) {
1046
- if (!e || le)
1045
+ function Ue(e, n) {
1046
+ if (!e || fe)
1047
1047
  return "";
1048
1048
  {
1049
- var a = Z.get(e);
1049
+ var a = Q.get(e);
1050
1050
  if (a !== void 0)
1051
1051
  return a;
1052
1052
  }
1053
1053
  var u;
1054
- le = !0;
1055
- var g = Error.prepareStackTrace;
1054
+ fe = !0;
1055
+ var m = Error.prepareStackTrace;
1056
1056
  Error.prepareStackTrace = void 0;
1057
- var y;
1058
- y = ie.current, ie.current = null, bt();
1057
+ var _;
1058
+ _ = le.current, le.current = null, vt();
1059
1059
  try {
1060
1060
  if (n) {
1061
- var h = function() {
1061
+ var g = function() {
1062
1062
  throw Error();
1063
1063
  };
1064
- if (Object.defineProperty(h.prototype, "props", {
1064
+ if (Object.defineProperty(g.prototype, "props", {
1065
1065
  set: function() {
1066
1066
  throw Error();
1067
1067
  }
1068
1068
  }), typeof Reflect == "object" && Reflect.construct) {
1069
1069
  try {
1070
- Reflect.construct(h, []);
1070
+ Reflect.construct(g, []);
1071
1071
  } catch (O) {
1072
1072
  u = O;
1073
1073
  }
1074
- Reflect.construct(e, [], h);
1074
+ Reflect.construct(e, [], g);
1075
1075
  } else {
1076
1076
  try {
1077
- h.call();
1077
+ g.call();
1078
1078
  } catch (O) {
1079
1079
  u = O;
1080
1080
  }
1081
- e.call(h.prototype);
1081
+ e.call(g.prototype);
1082
1082
  }
1083
1083
  } else {
1084
1084
  try {
@@ -1091,122 +1091,122 @@ function Ar() {
1091
1091
  } catch (O) {
1092
1092
  if (O && u && typeof O.stack == "string") {
1093
1093
  for (var v = O.stack.split(`
1094
- `), A = u.stack.split(`
1095
- `), S = v.length - 1, E = A.length - 1; S >= 1 && E >= 0 && v[S] !== A[E]; )
1094
+ `), k = u.stack.split(`
1095
+ `), S = v.length - 1, E = k.length - 1; S >= 1 && E >= 0 && v[S] !== k[E]; )
1096
1096
  E--;
1097
1097
  for (; S >= 1 && E >= 0; S--, E--)
1098
- if (v[S] !== A[E]) {
1098
+ if (v[S] !== k[E]) {
1099
1099
  if (S !== 1 || E !== 1)
1100
1100
  do
1101
- if (S--, E--, E < 0 || v[S] !== A[E]) {
1101
+ if (S--, E--, E < 0 || v[S] !== k[E]) {
1102
1102
  var w = `
1103
1103
  ` + v[S].replace(" at new ", " at ");
1104
- return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, w), w;
1104
+ return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, w), w;
1105
1105
  }
1106
1106
  while (S >= 1 && E >= 0);
1107
1107
  break;
1108
1108
  }
1109
1109
  }
1110
1110
  } finally {
1111
- le = !1, ie.current = y, mt(), Error.prepareStackTrace = g;
1111
+ fe = !1, le.current = _, gt(), Error.prepareStackTrace = m;
1112
1112
  }
1113
- var Y = e ? e.displayName || e.name : "", B = Y ? X(Y) : "";
1114
- return typeof e == "function" && Z.set(e, B), B;
1113
+ var q = e ? e.displayName || e.name : "", B = q ? Z(q) : "";
1114
+ return typeof e == "function" && Q.set(e, B), B;
1115
1115
  }
1116
- function yt(e, n, a) {
1117
- return De(e, !1);
1116
+ function bt(e, n, a) {
1117
+ return Ue(e, !1);
1118
1118
  }
1119
- function _t(e) {
1119
+ function mt(e) {
1120
1120
  var n = e.prototype;
1121
1121
  return !!(n && n.isReactComponent);
1122
1122
  }
1123
- function Q(e, n, a) {
1123
+ function ee(e, n, a) {
1124
1124
  if (e == null)
1125
1125
  return "";
1126
1126
  if (typeof e == "function")
1127
- return De(e, _t(e));
1127
+ return Ue(e, mt(e));
1128
1128
  if (typeof e == "string")
1129
- return X(e);
1129
+ return Z(e);
1130
1130
  switch (e) {
1131
- case m:
1132
- return X("Suspense");
1131
+ case h:
1132
+ return Z("Suspense");
1133
1133
  case b:
1134
- return X("SuspenseList");
1134
+ return Z("SuspenseList");
1135
1135
  }
1136
1136
  if (typeof e == "object")
1137
1137
  switch (e.$$typeof) {
1138
1138
  case f:
1139
- return yt(e.render);
1140
- case _:
1141
- return Q(e.type, n, a);
1139
+ return bt(e.render);
1140
+ case y:
1141
+ return ee(e.type, n, a);
1142
1142
  case R: {
1143
- var u = e, g = u._payload, y = u._init;
1143
+ var u = e, m = u._payload, _ = u._init;
1144
1144
  try {
1145
- return Q(y(g), n, a);
1145
+ return ee(_(m), n, a);
1146
1146
  } catch {
1147
1147
  }
1148
1148
  }
1149
1149
  }
1150
1150
  return "";
1151
1151
  }
1152
- var J = Object.prototype.hasOwnProperty, Ue = {}, Fe = N.ReactDebugCurrentFrame;
1153
- function ee(e) {
1152
+ var J = Object.prototype.hasOwnProperty, Fe = {}, We = C.ReactDebugCurrentFrame;
1153
+ function te(e) {
1154
1154
  if (e) {
1155
- var n = e._owner, a = Q(e.type, e._source, n ? n.type : null);
1156
- Fe.setExtraStackFrame(a);
1155
+ var n = e._owner, a = ee(e.type, e._source, n ? n.type : null);
1156
+ We.setExtraStackFrame(a);
1157
1157
  } else
1158
- Fe.setExtraStackFrame(null);
1158
+ We.setExtraStackFrame(null);
1159
1159
  }
1160
- function Rt(e, n, a, u, g) {
1160
+ function yt(e, n, a, u, m) {
1161
1161
  {
1162
- var y = Function.call.bind(J);
1163
- for (var h in e)
1164
- if (y(e, h)) {
1162
+ var _ = Function.call.bind(J);
1163
+ for (var g in e)
1164
+ if (_(e, g)) {
1165
1165
  var v = void 0;
1166
1166
  try {
1167
- if (typeof e[h] != "function") {
1168
- var A = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1169
- throw A.name = "Invariant Violation", A;
1167
+ if (typeof e[g] != "function") {
1168
+ var k = Error((u || "React class") + ": " + a + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1169
+ throw k.name = "Invariant Violation", k;
1170
1170
  }
1171
- v = e[h](n, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1171
+ v = e[g](n, g, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1172
1172
  } catch (S) {
1173
1173
  v = S;
1174
1174
  }
1175
- v && !(v instanceof Error) && (ee(g), x("%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).", u || "React class", a, h, typeof v), ee(null)), v instanceof Error && !(v.message in Ue) && (Ue[v.message] = !0, ee(g), x("Failed %s type: %s", a, v.message), ee(null));
1175
+ v && !(v instanceof Error) && (te(m), A("%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).", u || "React class", a, g, typeof v), te(null)), v instanceof Error && !(v.message in Fe) && (Fe[v.message] = !0, te(m), A("Failed %s type: %s", a, v.message), te(null));
1176
1176
  }
1177
1177
  }
1178
1178
  }
1179
- var St = Array.isArray;
1180
- function ue(e) {
1181
- return St(e);
1179
+ var _t = Array.isArray;
1180
+ function de(e) {
1181
+ return _t(e);
1182
1182
  }
1183
- function Et(e) {
1183
+ function Rt(e) {
1184
1184
  {
1185
1185
  var n = typeof Symbol == "function" && Symbol.toStringTag, a = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
1186
1186
  return a;
1187
1187
  }
1188
1188
  }
1189
- function xt(e) {
1189
+ function St(e) {
1190
1190
  try {
1191
- return We(e), !1;
1191
+ return Ye(e), !1;
1192
1192
  } catch {
1193
1193
  return !0;
1194
1194
  }
1195
1195
  }
1196
- function We(e) {
1196
+ function Ye(e) {
1197
1197
  return "" + e;
1198
1198
  }
1199
- function Ye(e) {
1200
- if (xt(e))
1201
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)), We(e);
1199
+ function qe(e) {
1200
+ if (St(e))
1201
+ return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(e)), Ye(e);
1202
1202
  }
1203
- var qe = N.ReactCurrentOwner, kt = {
1203
+ var Ve = C.ReactCurrentOwner, Et = {
1204
1204
  key: !0,
1205
1205
  ref: !0,
1206
1206
  __self: !0,
1207
1207
  __source: !0
1208
- }, Ve, ze;
1209
- function jt(e) {
1208
+ }, ze, Je;
1209
+ function xt(e) {
1210
1210
  if (J.call(e, "ref")) {
1211
1211
  var n = Object.getOwnPropertyDescriptor(e, "ref").get;
1212
1212
  if (n && n.isReactWarning)
@@ -1222,13 +1222,13 @@ function Ar() {
1222
1222
  }
1223
1223
  return e.key !== void 0;
1224
1224
  }
1225
- function Ot(e, n) {
1226
- typeof e.ref == "string" && qe.current;
1225
+ function jt(e, n) {
1226
+ typeof e.ref == "string" && Ve.current;
1227
1227
  }
1228
- function wt(e, n) {
1228
+ function kt(e, n) {
1229
1229
  {
1230
1230
  var a = function() {
1231
- Ve || (Ve = !0, x("%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)", n));
1231
+ ze || (ze = !0, A("%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)", n));
1232
1232
  };
1233
1233
  a.isReactWarning = !0, Object.defineProperty(e, "key", {
1234
1234
  get: a,
@@ -1236,10 +1236,10 @@ function Ar() {
1236
1236
  });
1237
1237
  }
1238
1238
  }
1239
- function Pt(e, n) {
1239
+ function Ot(e, n) {
1240
1240
  {
1241
1241
  var a = function() {
1242
- ze || (ze = !0, x("%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)", n));
1242
+ Je || (Je = !0, A("%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)", n));
1243
1243
  };
1244
1244
  a.isReactWarning = !0, Object.defineProperty(e, "ref", {
1245
1245
  get: a,
@@ -1247,7 +1247,7 @@ function Ar() {
1247
1247
  });
1248
1248
  }
1249
1249
  }
1250
- var Ct = function(e, n, a, u, g, y, h) {
1250
+ var wt = function(e, n, a, u, m, _, g) {
1251
1251
  var v = {
1252
1252
  // This tag allows us to uniquely identify this as a React Element
1253
1253
  $$typeof: r,
@@ -1255,9 +1255,9 @@ function Ar() {
1255
1255
  type: e,
1256
1256
  key: n,
1257
1257
  ref: a,
1258
- props: h,
1258
+ props: g,
1259
1259
  // Record the component responsible for creating this element.
1260
- _owner: y
1260
+ _owner: _
1261
1261
  };
1262
1262
  return v._store = {}, Object.defineProperty(v._store, "validated", {
1263
1263
  configurable: !1,
@@ -1273,44 +1273,44 @@ function Ar() {
1273
1273
  configurable: !1,
1274
1274
  enumerable: !1,
1275
1275
  writable: !1,
1276
- value: g
1276
+ value: m
1277
1277
  }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
1278
1278
  };
1279
- function Tt(e, n, a, u, g) {
1279
+ function Pt(e, n, a, u, m) {
1280
1280
  {
1281
- var y, h = {}, v = null, A = null;
1282
- a !== void 0 && (Ye(a), v = "" + a), At(n) && (Ye(n.key), v = "" + n.key), jt(n) && (A = n.ref, Ot(n));
1283
- for (y in n)
1284
- J.call(n, y) && !kt.hasOwnProperty(y) && (h[y] = n[y]);
1281
+ var _, g = {}, v = null, k = null;
1282
+ a !== void 0 && (qe(a), v = "" + a), At(n) && (qe(n.key), v = "" + n.key), xt(n) && (k = n.ref, jt(n));
1283
+ for (_ in n)
1284
+ J.call(n, _) && !Et.hasOwnProperty(_) && (g[_] = n[_]);
1285
1285
  if (e && e.defaultProps) {
1286
1286
  var S = e.defaultProps;
1287
- for (y in S)
1288
- h[y] === void 0 && (h[y] = S[y]);
1287
+ for (_ in S)
1288
+ g[_] === void 0 && (g[_] = S[_]);
1289
1289
  }
1290
- if (v || A) {
1290
+ if (v || k) {
1291
1291
  var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1292
- v && wt(h, E), A && Pt(h, E);
1292
+ v && kt(g, E), k && Ot(g, E);
1293
1293
  }
1294
- return Ct(e, v, A, g, u, qe.current, h);
1294
+ return wt(e, v, k, m, u, Ve.current, g);
1295
1295
  }
1296
1296
  }
1297
- var fe = N.ReactCurrentOwner, Je = N.ReactDebugCurrentFrame;
1298
- function W(e) {
1297
+ var pe = C.ReactCurrentOwner, He = C.ReactDebugCurrentFrame;
1298
+ function Y(e) {
1299
1299
  if (e) {
1300
- var n = e._owner, a = Q(e.type, e._source, n ? n.type : null);
1301
- Je.setExtraStackFrame(a);
1300
+ var n = e._owner, a = ee(e.type, e._source, n ? n.type : null);
1301
+ He.setExtraStackFrame(a);
1302
1302
  } else
1303
- Je.setExtraStackFrame(null);
1303
+ He.setExtraStackFrame(null);
1304
1304
  }
1305
- var de;
1306
- de = !1;
1307
- function pe(e) {
1305
+ var ve;
1306
+ ve = !1;
1307
+ function ge(e) {
1308
1308
  return typeof e == "object" && e !== null && e.$$typeof === r;
1309
1309
  }
1310
- function He() {
1310
+ function Ke() {
1311
1311
  {
1312
- if (fe.current) {
1313
- var e = $(fe.current.type);
1312
+ if (pe.current) {
1313
+ var e = N(pe.current.type);
1314
1314
  if (e)
1315
1315
  return `
1316
1316
 
@@ -1319,13 +1319,13 @@ Check the render method of \`` + e + "`.";
1319
1319
  return "";
1320
1320
  }
1321
1321
  }
1322
- function $t(e) {
1322
+ function Tt(e) {
1323
1323
  return "";
1324
1324
  }
1325
- var Ke = {};
1326
- function Nt(e) {
1325
+ var Ge = {};
1326
+ function Ct(e) {
1327
1327
  {
1328
- var n = He();
1328
+ var n = Ke();
1329
1329
  if (!n) {
1330
1330
  var a = typeof e == "string" ? e : e.displayName || e.name;
1331
1331
  a && (n = `
@@ -1335,39 +1335,39 @@ Check the top-level render call using <` + a + ">.");
1335
1335
  return n;
1336
1336
  }
1337
1337
  }
1338
- function Ge(e, n) {
1338
+ function Xe(e, n) {
1339
1339
  {
1340
1340
  if (!e._store || e._store.validated || e.key != null)
1341
1341
  return;
1342
1342
  e._store.validated = !0;
1343
- var a = Nt(n);
1344
- if (Ke[a])
1343
+ var a = Ct(n);
1344
+ if (Ge[a])
1345
1345
  return;
1346
- Ke[a] = !0;
1346
+ Ge[a] = !0;
1347
1347
  var u = "";
1348
- e && e._owner && e._owner !== fe.current && (u = " It was passed a child from " + $(e._owner.type) + "."), W(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), W(null);
1348
+ e && e._owner && e._owner !== pe.current && (u = " It was passed a child from " + N(e._owner.type) + "."), Y(e), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), Y(null);
1349
1349
  }
1350
1350
  }
1351
- function Xe(e, n) {
1351
+ function Ze(e, n) {
1352
1352
  {
1353
1353
  if (typeof e != "object")
1354
1354
  return;
1355
- if (ue(e))
1355
+ if (de(e))
1356
1356
  for (var a = 0; a < e.length; a++) {
1357
1357
  var u = e[a];
1358
- pe(u) && Ge(u, n);
1358
+ ge(u) && Xe(u, n);
1359
1359
  }
1360
- else if (pe(e))
1360
+ else if (ge(e))
1361
1361
  e._store && (e._store.validated = !0);
1362
1362
  else if (e) {
1363
- var g = Re(e);
1364
- if (typeof g == "function" && g !== e.entries)
1365
- for (var y = g.call(e), h; !(h = y.next()).done; )
1366
- pe(h.value) && Ge(h.value, n);
1363
+ var m = we(e);
1364
+ if (typeof m == "function" && m !== e.entries)
1365
+ for (var _ = m.call(e), g; !(g = _.next()).done; )
1366
+ ge(g.value) && Xe(g.value, n);
1367
1367
  }
1368
1368
  }
1369
1369
  }
1370
- function Mt(e) {
1370
+ function $t(e) {
1371
1371
  {
1372
1372
  var n = e.type;
1373
1373
  if (n == null || typeof n == "string")
@@ -1377,94 +1377,94 @@ Check the top-level render call using <` + a + ">.");
1377
1377
  a = n.propTypes;
1378
1378
  else if (typeof n == "object" && (n.$$typeof === f || // Note: Memo only checks outer props here.
1379
1379
  // Inner props are checked in the reconciler.
1380
- n.$$typeof === _))
1380
+ n.$$typeof === y))
1381
1381
  a = n.propTypes;
1382
1382
  else
1383
1383
  return;
1384
1384
  if (a) {
1385
- var u = $(n);
1386
- Rt(a, e.props, "prop", u, e);
1387
- } else if (n.PropTypes !== void 0 && !de) {
1388
- de = !0;
1389
- var g = $(n);
1390
- x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown");
1385
+ var u = N(n);
1386
+ yt(a, e.props, "prop", u, e);
1387
+ } else if (n.PropTypes !== void 0 && !ve) {
1388
+ ve = !0;
1389
+ var m = N(n);
1390
+ A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
1391
1391
  }
1392
- typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1392
+ typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1393
1393
  }
1394
1394
  }
1395
- function It(e) {
1395
+ function Nt(e) {
1396
1396
  {
1397
1397
  for (var n = Object.keys(e.props), a = 0; a < n.length; a++) {
1398
1398
  var u = n[a];
1399
1399
  if (u !== "children" && u !== "key") {
1400
- W(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), W(null);
1400
+ Y(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Y(null);
1401
1401
  break;
1402
1402
  }
1403
1403
  }
1404
- e.ref !== null && (W(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), W(null));
1404
+ e.ref !== null && (Y(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
1405
1405
  }
1406
1406
  }
1407
- var Ze = {};
1408
- function Qe(e, n, a, u, g, y) {
1407
+ var Qe = {};
1408
+ function et(e, n, a, u, m, _) {
1409
1409
  {
1410
- var h = vt(e);
1411
- if (!h) {
1410
+ var g = dt(e);
1411
+ if (!g) {
1412
1412
  var v = "";
1413
1413
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1414
- var A = $t();
1415
- A ? v += A : v += He();
1414
+ var k = Tt();
1415
+ k ? v += k : v += Ke();
1416
1416
  var S;
1417
- e === null ? S = "null" : ue(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + ($(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
1417
+ e === null ? S = "null" : de(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
1418
1418
  }
1419
- var E = Tt(e, n, a, g, y);
1419
+ var E = Pt(e, n, a, m, _);
1420
1420
  if (E == null)
1421
1421
  return E;
1422
- if (h) {
1422
+ if (g) {
1423
1423
  var w = n.children;
1424
1424
  if (w !== void 0)
1425
1425
  if (u)
1426
- if (ue(w)) {
1427
- for (var Y = 0; Y < w.length; Y++)
1428
- Xe(w[Y], e);
1426
+ if (de(w)) {
1427
+ for (var q = 0; q < w.length; q++)
1428
+ Ze(w[q], e);
1429
1429
  Object.freeze && Object.freeze(w);
1430
1430
  } else
1431
- x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1431
+ A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1432
1432
  else
1433
- Xe(w, e);
1433
+ Ze(w, e);
1434
1434
  }
1435
1435
  if (J.call(n, "key")) {
1436
- var B = $(e), O = Object.keys(n).filter(function(Wt) {
1437
- return Wt !== "key";
1438
- }), ve = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
1439
- if (!Ze[B + ve]) {
1440
- var Ft = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
1441
- x(`A props object containing a "key" prop is being spread into JSX:
1436
+ var B = N(e), O = Object.keys(n).filter(function(Ut) {
1437
+ return Ut !== "key";
1438
+ }), he = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
1439
+ if (!Qe[B + he]) {
1440
+ var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
1441
+ A(`A props object containing a "key" prop is being spread into JSX:
1442
1442
  let props = %s;
1443
1443
  <%s {...props} />
1444
1444
  React keys must be passed directly to JSX without using spread:
1445
1445
  let props = %s;
1446
- <%s key={someKey} {...props} />`, ve, B, Ft, B), Ze[B + ve] = !0;
1446
+ <%s key={someKey} {...props} />`, he, B, Dt, B), Qe[B + he] = !0;
1447
1447
  }
1448
1448
  }
1449
- return e === s ? It(E) : Mt(E), E;
1449
+ return e === s ? Nt(E) : $t(E), E;
1450
1450
  }
1451
1451
  }
1452
- function Bt(e, n, a) {
1453
- return Qe(e, n, a, !0);
1452
+ function Mt(e, n, a) {
1453
+ return et(e, n, a, !0);
1454
1454
  }
1455
- function Lt(e, n, a) {
1456
- return Qe(e, n, a, !1);
1455
+ function It(e, n, a) {
1456
+ return et(e, n, a, !1);
1457
1457
  }
1458
- var Dt = Lt, Ut = Bt;
1459
- ot.Fragment = s, ot.jsx = Dt, ot.jsxs = Ut;
1458
+ var Bt = It, Lt = Mt;
1459
+ ot.Fragment = s, ot.jsx = Bt, ot.jsxs = Lt;
1460
1460
  }()), ot;
1461
1461
  }
1462
- process.env.NODE_ENV === "production" ? jr() : Ar();
1463
- const Or = "0.0.46", cr = {
1464
- version: Or
1465
- }, re = {}, U = {
1462
+ process.env.NODE_ENV === "production" ? xr() : Ar();
1463
+ const jr = "0.0.46", sr = {
1464
+ version: jr
1465
+ }, ne = {}, F = {
1466
1466
  module: "",
1467
- v: cr.version,
1467
+ v: sr.version,
1468
1468
  page: "Main",
1469
1469
  auth: "Auth",
1470
1470
  STORAGE: "f",
@@ -1482,44 +1482,44 @@ const Or = "0.0.46", cr = {
1482
1482
  id: 0
1483
1483
  }
1484
1484
  };
1485
- function K() {
1485
+ function G() {
1486
1486
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
1487
1487
  }
1488
- K().elcrm || (K().elcrm = {});
1489
- Object.assign(K().elcrm, { router: cr.version });
1490
- function G(t) {
1488
+ G().elcrm || (G().elcrm = {});
1489
+ Object.assign(G().elcrm, { router: sr.version });
1490
+ function X(t) {
1491
1491
  var r, o, s, i;
1492
- const c = K();
1493
- if (c.ROUTER_PARAMS) {
1494
- t.debug || c.ROUTER_PARAMS.debug;
1492
+ const l = G();
1493
+ if (l.ROUTER_PARAMS) {
1494
+ t.debug || l.ROUTER_PARAMS.debug;
1495
1495
  const d = {
1496
- page: (r = c.ROUTER_PARAMS) == null ? void 0 : r.page,
1497
- module: (o = c.ROUTER_PARAMS) == null ? void 0 : o.module,
1498
- tab: (s = c.ROUTER_PARAMS) == null ? void 0 : s.tab,
1499
- id: (i = c.ROUTER_PARAMS) == null ? void 0 : i.id
1496
+ page: (r = l.ROUTER_PARAMS) == null ? void 0 : r.page,
1497
+ module: (o = l.ROUTER_PARAMS) == null ? void 0 : o.module,
1498
+ tab: (s = l.ROUTER_PARAMS) == null ? void 0 : s.tab,
1499
+ id: (i = l.ROUTER_PARAMS) == null ? void 0 : i.id
1500
1500
  };
1501
- c.ROUTER_PARAMS = {
1502
- ...c.ROUTER_PARAMS,
1501
+ l.ROUTER_PARAMS = {
1502
+ ...l.ROUTER_PARAMS,
1503
1503
  ...t,
1504
1504
  prev: d
1505
1505
  };
1506
1506
  } else {
1507
- t.debug || U.debug;
1507
+ t.debug || F.debug;
1508
1508
  const d = {
1509
- page: U == null ? void 0 : U.page,
1510
- module: U == null ? void 0 : U.module,
1511
- tab: U == null ? void 0 : U.tab,
1512
- id: U == null ? void 0 : U.id
1509
+ page: F == null ? void 0 : F.page,
1510
+ module: F == null ? void 0 : F.module,
1511
+ tab: F == null ? void 0 : F.tab,
1512
+ id: F == null ? void 0 : F.id
1513
1513
  };
1514
- c.ROUTER_PARAMS = { ...U, ...t, prev: d };
1514
+ l.ROUTER_PARAMS = { ...F, ...t, prev: d };
1515
1515
  }
1516
1516
  }
1517
1517
  function j() {
1518
- return K().ROUTER_PARAMS || U;
1518
+ return G().ROUTER_PARAMS || F;
1519
1519
  }
1520
- function ge(t) {
1521
- const r = K();
1522
- r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...U }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((o) => {
1520
+ function _e(t) {
1521
+ const r = G();
1522
+ r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...F }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((o) => {
1523
1523
  r.ROUTER_PARAMS.LISTENER[o] || (r.ROUTER_PARAMS.LISTENER[o] = []), Array.isArray(r.ROUTER_PARAMS.LISTENER[o]) || (r.ROUTER_PARAMS.LISTENER[o] = [
1524
1524
  r.ROUTER_PARAMS.LISTENER[o]
1525
1525
  ]), r.ROUTER_PARAMS.LISTENER[o].includes(t[o]) || r.ROUTER_PARAMS.LISTENER[o].push(t[o]);
@@ -1527,47 +1527,47 @@ function ge(t) {
1527
1527
  }
1528
1528
  function H() {
1529
1529
  var t;
1530
- const r = K();
1531
- let o = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || U.LISTENER;
1532
- return o || (o = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = o : U.LISTENER = o), new Proxy(o, {
1530
+ const r = G();
1531
+ let o = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || F.LISTENER;
1532
+ return o || (o = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = o : F.LISTENER = o), new Proxy(o, {
1533
1533
  get(s, i) {
1534
- const c = s[i];
1535
- return Array.isArray(c) && c.length > 0 ? (...d) => {
1536
- c.forEach((p) => {
1534
+ const l = s[i];
1535
+ return Array.isArray(l) && l.length > 0 ? (...d) => {
1536
+ l.forEach((p) => {
1537
1537
  if (typeof p == "function")
1538
1538
  try {
1539
1539
  p(...d);
1540
1540
  } catch {
1541
1541
  }
1542
1542
  });
1543
- } : c == null ? () => {
1544
- } : typeof c == "function" ? c : () => {
1543
+ } : l == null ? () => {
1544
+ } : typeof l == "function" ? l : () => {
1545
1545
  };
1546
1546
  }
1547
1547
  });
1548
1548
  }
1549
- function Qt(t, r) {
1549
+ function Zt(t, r) {
1550
1550
  const o = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
1551
1551
  for (const [s, i] of Object.entries(r))
1552
1552
  if (s.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === o)
1553
1553
  return i;
1554
1554
  return null;
1555
1555
  }
1556
- function Vt(t) {
1556
+ function Yt(t) {
1557
1557
  const {
1558
1558
  basePath: r = ".",
1559
1559
  devExtensions: o = [".tsx", ".ts", ".jsx", ".js"],
1560
1560
  prodExtension: s = ".js"
1561
1561
  } = t || {};
1562
1562
  return (i) => {
1563
- const c = i.replace(/\.(tsx|ts|jsx|js)$/, "");
1563
+ const l = i.replace(/\.(tsx|ts|jsx|js)$/, "");
1564
1564
  if (r === ".")
1565
1565
  return import(
1566
1566
  /* @vite-ignore */
1567
- `./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1567
+ `./${l.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1568
1568
  );
1569
1569
  {
1570
- const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1570
+ const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = l.replace(/^\.\//, "").replace(/\/+/g, "/");
1571
1571
  return import(
1572
1572
  /* @vite-ignore */
1573
1573
  `./${d}/${p}.js`
@@ -1575,27 +1575,27 @@ function Vt(t) {
1575
1575
  }
1576
1576
  };
1577
1577
  }
1578
- function wr(t) {
1578
+ function kr(t) {
1579
1579
  const { basePath: r = ".", modules: o, pages: s } = t || {};
1580
1580
  return (i) => {
1581
1581
  if (o) {
1582
- const d = Qt(i, o);
1582
+ const d = Zt(i, o);
1583
1583
  if (d)
1584
1584
  return d();
1585
1585
  }
1586
1586
  if (s) {
1587
- const d = Qt(i, s);
1587
+ const d = Zt(i, s);
1588
1588
  if (d)
1589
1589
  return d();
1590
1590
  }
1591
- const c = i.replace(/\.(tsx|ts|jsx|js)$/, "");
1591
+ const l = i.replace(/\.(tsx|ts|jsx|js)$/, "");
1592
1592
  if (r === ".")
1593
1593
  return import(
1594
1594
  /* @vite-ignore */
1595
- `./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1595
+ `./${l.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1596
1596
  );
1597
1597
  {
1598
- const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1598
+ const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = l.replace(/^\.\//, "").replace(/\/+/g, "/");
1599
1599
  return import(
1600
1600
  /* @vite-ignore */
1601
1601
  `./${d}/${p}.js`
@@ -1603,19 +1603,19 @@ function wr(t) {
1603
1603
  }
1604
1604
  };
1605
1605
  }
1606
- function er(t = ".", r, o) {
1607
- return r || o ? wr({
1606
+ function Qt(t = ".", r, o) {
1607
+ return r || o ? kr({
1608
1608
  basePath: t,
1609
1609
  modules: r,
1610
1610
  pages: o
1611
- }) : Vt({ basePath: t });
1611
+ }) : Yt({ basePath: t });
1612
1612
  }
1613
- function Pr() {
1613
+ function Or() {
1614
1614
  var t;
1615
1615
  let r = sessionStorage.getItem("f");
1616
1616
  if (r) {
1617
- if (r = se.deCode(r), !r) return !1;
1618
- G({
1617
+ if (r = ie.deCode(r), !r) return !1;
1618
+ X({
1619
1619
  id: r.id,
1620
1620
  tab: r.tab,
1621
1621
  page: r.page,
@@ -1625,7 +1625,7 @@ function Pr() {
1625
1625
  module_admin: r.module_admin
1626
1626
  });
1627
1627
  } else
1628
- G({
1628
+ X({
1629
1629
  id: 0,
1630
1630
  tab: "",
1631
1631
  page: (t = localStorage.getItem("d")) != null && t.length ? j().page : j().auth,
@@ -1633,157 +1633,157 @@ function Pr() {
1633
1633
  });
1634
1634
  return !0;
1635
1635
  }
1636
- function lr() {
1636
+ function ir() {
1637
1637
  return j().page;
1638
1638
  }
1639
- function ur() {
1639
+ function cr() {
1640
1640
  return j().module || "";
1641
1641
  }
1642
- function Jt() {
1642
+ function zt() {
1643
1643
  return j().tab;
1644
1644
  }
1645
- function fr() {
1645
+ function lr() {
1646
1646
  return j().id;
1647
1647
  }
1648
- function Cr(t) {
1649
- let r = (i) => (G({ page: i }), i);
1650
- const [o, s] = C(
1651
- lr() || t && r(t) || j().page
1648
+ function wr(t) {
1649
+ let r = (i) => (X({ page: i }), i);
1650
+ const [o, s] = T(
1651
+ ir() || t && r(t) || j().page
1652
1652
  );
1653
- return F(() => {
1654
- const i = (c) => {
1655
- s(c);
1653
+ return W(() => {
1654
+ const i = (l) => {
1655
+ s(l);
1656
1656
  };
1657
- return ge({ page: i }), () => {
1658
- var c, d;
1659
- const p = K();
1660
- if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.page) {
1657
+ return _e({ page: i }), () => {
1658
+ var l, d;
1659
+ const p = G();
1660
+ if ((d = (l = p.ROUTER_PARAMS) == null ? void 0 : l.LISTENER) != null && d.page) {
1661
1661
  const f = p.ROUTER_PARAMS.LISTENER.page;
1662
1662
  if (Array.isArray(f)) {
1663
- const m = f.indexOf(i);
1664
- m > -1 && f.splice(m, 1);
1663
+ const h = f.indexOf(i);
1664
+ h > -1 && f.splice(h, 1);
1665
1665
  }
1666
1666
  }
1667
1667
  };
1668
1668
  }, []), o;
1669
1669
  }
1670
- function Tr(t, r = !0, o = {}) {
1671
- G({ page: t, ...o }), sessionStorage.setItem(
1670
+ function Pr(t, r = !0, o = {}) {
1671
+ X({ page: t, ...o }), sessionStorage.setItem(
1672
1672
  j().STORAGE,
1673
- se.enCode(j())
1673
+ ie.enCode(j())
1674
1674
  ), r && H().page(t);
1675
1675
  }
1676
- function $r(t) {
1676
+ function Tr(t) {
1677
1677
  return j().page === t;
1678
1678
  }
1679
- function Nr() {
1679
+ function Cr() {
1680
1680
  return j().prev;
1681
1681
  }
1682
- function Mr(t, r) {
1683
- const [o, s] = C(
1684
- ur() || t || j().module
1682
+ function $r(t, r) {
1683
+ const [o, s] = T(
1684
+ cr() || t || j().module
1685
1685
  );
1686
- return F(() => (ge({ module: s }), () => {
1686
+ return W(() => (_e({ module: s }), () => {
1687
1687
  const i = H();
1688
1688
  i.module === s && delete i.module;
1689
1689
  }), []), o;
1690
1690
  }
1691
- function Ir(t, r = !0) {
1692
- G({ module: t }), sessionStorage.setItem(
1691
+ function Nr(t, r = !0) {
1692
+ X({ module: t }), sessionStorage.setItem(
1693
1693
  j().STORAGE,
1694
- se.enCode(j())
1694
+ ie.enCode(j())
1695
1695
  ), r && H().module(t);
1696
1696
  }
1697
- function Br(t) {
1697
+ function Mr(t) {
1698
1698
  return j().module === t;
1699
1699
  }
1700
- function Lr(t, r) {
1700
+ function Ir(t, r) {
1701
1701
  if (typeof t != "function") {
1702
- const [o, s] = C(!r), [i, c] = C(t || Jt());
1703
- return ge({ tabs: c }), r && F(() => {
1702
+ const [o, s] = T(!r), [i, l] = T(t || zt());
1703
+ return _e({ tabs: l }), r && W(() => {
1704
1704
  s(!0);
1705
1705
  }, []), [i, o];
1706
1706
  } else
1707
- ge({ tabs: t });
1707
+ _e({ tabs: t });
1708
1708
  }
1709
- function Dr(t) {
1710
- let r = (i) => (G({ tab: i }), i);
1711
- const [o, s] = C(
1712
- Jt() || t && r(t) || j().tab
1709
+ function Br(t) {
1710
+ let r = (i) => (X({ tab: i }), i);
1711
+ const [o, s] = T(
1712
+ zt() || t && r(t) || j().tab
1713
1713
  );
1714
- return F(() => {
1715
- const i = (c) => {
1716
- s(c);
1714
+ return W(() => {
1715
+ const i = (l) => {
1716
+ s(l);
1717
1717
  };
1718
- return ge({ tabs: i }), () => {
1719
- var c, d;
1720
- const p = K();
1721
- if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.tabs) {
1718
+ return _e({ tabs: i }), () => {
1719
+ var l, d;
1720
+ const p = G();
1721
+ if ((d = (l = p.ROUTER_PARAMS) == null ? void 0 : l.LISTENER) != null && d.tabs) {
1722
1722
  const f = p.ROUTER_PARAMS.LISTENER.tabs;
1723
1723
  if (Array.isArray(f)) {
1724
- const m = f.indexOf(i);
1725
- m > -1 && f.splice(m, 1);
1724
+ const h = f.indexOf(i);
1725
+ h > -1 && f.splice(h, 1);
1726
1726
  }
1727
1727
  }
1728
1728
  };
1729
1729
  }, []), o;
1730
1730
  }
1731
- async function Ur(t, r = !0) {
1732
- G({ tab: t }), sessionStorage.setItem(
1731
+ async function Lr(t, r = !0) {
1732
+ X({ tab: t }), sessionStorage.setItem(
1733
1733
  j().STORAGE,
1734
- se.enCode(j())
1734
+ ie.enCode(j())
1735
1735
  ), r && (H().tabs && H().tabs(t));
1736
1736
  }
1737
- function Fr(t) {
1737
+ function Dr(t) {
1738
1738
  return j().tab === t;
1739
1739
  }
1740
- function Wr(t) {
1740
+ function Ur(t) {
1741
1741
  if (typeof t != "function") {
1742
- const [r, o] = C(t || fr());
1743
- return F(() => {
1742
+ const [r, o] = T(t || lr());
1743
+ return W(() => {
1744
1744
  const s = (i) => {
1745
1745
  o(i);
1746
1746
  };
1747
- return ge({ id: s }), () => {
1747
+ return _e({ id: s }), () => {
1748
1748
  const i = H();
1749
1749
  i.id === s && delete i.id;
1750
1750
  };
1751
1751
  }, []), r;
1752
1752
  } else
1753
- F(() => (ge({ id: t }), () => {
1753
+ W(() => (_e({ id: t }), () => {
1754
1754
  var r, o;
1755
- const s = K();
1755
+ const s = G();
1756
1756
  if ((o = (r = s.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && o.id) {
1757
1757
  const i = s.ROUTER_PARAMS.LISTENER.id;
1758
1758
  if (Array.isArray(i)) {
1759
- const c = i.indexOf(t);
1760
- c > -1 && i.splice(c, 1);
1759
+ const l = i.indexOf(t);
1760
+ l > -1 && i.splice(l, 1);
1761
1761
  }
1762
1762
  }
1763
1763
  }), [t]);
1764
1764
  }
1765
- function Yr(t) {
1765
+ function Fr(t) {
1766
1766
  }
1767
- async function qr(t, r = !0) {
1768
- G({ id: t }), sessionStorage.setItem(
1767
+ async function Wr(t, r = !0) {
1768
+ X({ id: t }), sessionStorage.setItem(
1769
1769
  j().STORAGE,
1770
- se.enCode(j())
1770
+ ie.enCode(j())
1771
1771
  ), r && H().id(t);
1772
1772
  }
1773
- function Vr(t) {
1773
+ function Yr(t) {
1774
1774
  return Number(j().id) === t;
1775
1775
  }
1776
- async function zr(t) {
1777
- var r, o, s, i, c, d, p, f;
1778
- const { page: m, module: b, tab: _, id: R } = t;
1779
- m !== void 0 && (re.page = m), b !== void 0 && (re.module = b), _ !== void 0 && (re.tab = _), R !== void 0 && (re.id = R), G({ ...re }), R !== void 0 && ((o = (r = H()).id) == null || o.call(r, R)), _ !== void 0 && ((i = (s = H()).tabs) == null || i.call(s, _)), b !== void 0 && ((d = (c = H()).module) == null || d.call(c, b)), m !== void 0 && ((f = (p = H()).page) == null || f.call(p, m)), sessionStorage.setItem(
1776
+ async function qr(t) {
1777
+ var r, o, s, i, l, d, p, f;
1778
+ const { page: h, module: b, tab: y, id: R } = t;
1779
+ h !== void 0 && (ne.page = h), b !== void 0 && (ne.module = b), y !== void 0 && (ne.tab = y), R !== void 0 && (ne.id = R), X({ ...ne }), R !== void 0 && ((o = (r = H()).id) == null || o.call(r, R)), y !== void 0 && ((i = (s = H()).tabs) == null || i.call(s, y)), b !== void 0 && ((d = (l = H()).module) == null || d.call(l, b)), h !== void 0 && ((f = (p = H()).page) == null || f.call(p, h)), sessionStorage.setItem(
1780
1780
  j().STORAGE,
1781
- se.enCode(j())
1781
+ ie.enCode(j())
1782
1782
  );
1783
1783
  }
1784
1784
  const Oe = {
1785
1785
  Reset() {
1786
- re.id = 0, re.tab = "", re.page = j().page, re.module = j().module;
1786
+ ne.id = 0, ne.tab = "", ne.page = j().page, ne.module = j().module;
1787
1787
  },
1788
1788
  Default({
1789
1789
  module: t = j().module,
@@ -1791,113 +1791,113 @@ const Oe = {
1791
1791
  auth: o = j().auth,
1792
1792
  debug: s = j().debug,
1793
1793
  dir: i = j().dir || ".",
1794
- importModules: c,
1794
+ importModules: l,
1795
1795
  modules: d,
1796
1796
  pages: p,
1797
1797
  glob: f
1798
1798
  // Поддержка единого glob объекта для упрощения
1799
1799
  }) {
1800
- let m = c, b = d, _ = p;
1801
- f ? (b = typeof d == "object" ? d : f, _ = typeof p == "object" ? p : f) : (b = b || f, _ = _ || f), !m && (b || _) ? !f && (typeof b == "string" || typeof _ == "string") ? m = Vt({ basePath: i }) : m = er(
1800
+ let h = l, b = d, y = p;
1801
+ f ? (b = typeof d == "object" ? d : f, y = typeof p == "object" ? p : f) : (b = b || f, y = y || f), !h && (b || y) ? !f && (typeof b == "string" || typeof y == "string") ? h = Yt({ basePath: i }) : h = Qt(
1802
1802
  i,
1803
1803
  b,
1804
- _
1805
- ) : m || (m = Vt({ basePath: i })), G({
1804
+ y
1805
+ ) : h || (h = Yt({ basePath: i })), X({
1806
1806
  page: r,
1807
1807
  module: t,
1808
1808
  auth: o,
1809
1809
  debug: s,
1810
1810
  dir: i,
1811
- importModules: m
1812
- }), Pr();
1811
+ importModules: h
1812
+ }), Or();
1813
1813
  },
1814
1814
  // Упрощенная функция для создания importModules
1815
- createImportModules: er,
1815
+ createImportModules: Qt,
1816
1816
  getImportModules: () => j().importModules,
1817
1817
  // Методы страниц
1818
- usePage: Cr,
1819
- setPage: Tr,
1820
- getPage: lr,
1821
- isPage: $r,
1822
- getBack: Nr,
1818
+ usePage: wr,
1819
+ setPage: Pr,
1820
+ getPage: ir,
1821
+ isPage: Tr,
1822
+ getBack: Cr,
1823
1823
  // Методы модулей
1824
- useModule: Mr,
1825
- setModule: Ir,
1826
- getModule: ur,
1827
- isModule: Br,
1824
+ useModule: $r,
1825
+ setModule: Nr,
1826
+ getModule: cr,
1827
+ isModule: Mr,
1828
1828
  // Методы вкладок
1829
- useTabs: Lr,
1830
- useTab: Dr,
1831
- setTabs: Ur,
1832
- getTabs: Jt,
1833
- isTabs: Fr,
1829
+ useTabs: Ir,
1830
+ useTab: Br,
1831
+ setTabs: Lr,
1832
+ getTabs: zt,
1833
+ isTabs: Dr,
1834
1834
  // Методы ID
1835
- useId: Wr,
1836
- subId: Yr,
1837
- setId: qr,
1838
- getId: fr,
1839
- isId: Vr,
1835
+ useId: Ur,
1836
+ subId: Fr,
1837
+ setId: Wr,
1838
+ getId: lr,
1839
+ isId: Yr,
1840
1840
  // Навигация
1841
- navigate: zr
1842
- }, Jr = "_n_zlj3m_1", Hr = "_i_zlj3m_10", Kr = "_t_zlj3m_28", Gr = "_e_zlj3m_32", Xr = "_s_zlj3m_35", Zr = "_w_zlj3m_38", Qr = "_h_zlj3m_41", be = {
1843
- n: Jr,
1844
- i: Hr,
1845
- t: Kr,
1846
- e: Gr,
1847
- s: Xr,
1848
- w: Zr,
1849
- h: Qr
1841
+ navigate: qr
1842
+ }, Vr = "_n_zlj3m_1", zr = "_i_zlj3m_10", Jr = "_t_zlj3m_28", Hr = "_e_zlj3m_32", Kr = "_s_zlj3m_35", Gr = "_w_zlj3m_38", Xr = "_h_zlj3m_41", me = {
1843
+ n: Vr,
1844
+ i: zr,
1845
+ t: Jr,
1846
+ e: Hr,
1847
+ s: Kr,
1848
+ w: Gr,
1849
+ h: Xr
1850
1850
  };
1851
1851
  let ft = {};
1852
- function en() {
1853
- const [t, r] = V.useState([]);
1852
+ function Zr() {
1853
+ const [t, r] = U.useState([]);
1854
1854
  return ft.set = (o) => {
1855
1855
  r([...t, o]);
1856
1856
  }, ft.del = (o) => {
1857
1857
  t.forEach((s, i) => {
1858
1858
  s.key === o && t.splice(i, 1);
1859
1859
  }), r(t);
1860
- }, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: be.n, children: t.map((o) => o.item) });
1860
+ }, t.length === 0 ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsx("div", { className: me.n, children: t.map((o) => o.item) });
1861
1861
  }
1862
- function tn(t) {
1862
+ function Qr(t) {
1863
1863
  let r = (/* @__PURE__ */ new Date()).getTime();
1864
- t.key = r, ft.set({ item: /* @__PURE__ */ l.jsx(rn, { data: t }, r), key: r });
1864
+ t.key = r, ft.set({ item: /* @__PURE__ */ c.jsx(en, { data: t }, r), key: r });
1865
1865
  }
1866
- function rn(t) {
1866
+ function en(t) {
1867
1867
  const r = t.data;
1868
- let [o] = V.useState("show"), [s, i] = V.useState(!1);
1869
- V.useEffect(() => {
1868
+ let [o] = U.useState("show"), [s, i] = U.useState(!1);
1869
+ U.useEffect(() => {
1870
1870
  setTimeout(function() {
1871
1871
  i(!0), ft.del(r.key);
1872
1872
  }, 5e3);
1873
1873
  }, [r.key]);
1874
- let c;
1874
+ let l;
1875
1875
  switch (r.type) {
1876
1876
  case "error":
1877
- c = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
1877
+ l = /* @__PURE__ */ c.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
1878
1878
  break;
1879
1879
  case "success":
1880
- c = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
1880
+ l = /* @__PURE__ */ c.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
1881
1881
  break;
1882
1882
  case "warning":
1883
- c = /* @__PURE__ */ l.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
1883
+ l = /* @__PURE__ */ c.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
1884
1884
  break;
1885
1885
  default:
1886
- c = "icon fa fa-exclamation-circle";
1886
+ l = "icon fa fa-exclamation-circle";
1887
1887
  break;
1888
1888
  }
1889
1889
  const d = {
1890
- error: be.e,
1891
- success: be.s,
1892
- warning: be.w
1890
+ error: me.e,
1891
+ success: me.s,
1892
+ warning: me.w
1893
1893
  };
1894
- return /* @__PURE__ */ l.jsx(l.Fragment, { children: s ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
1894
+ return /* @__PURE__ */ c.jsx(c.Fragment, { children: s ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsxs(
1895
1895
  "div",
1896
1896
  {
1897
- className: be.i + d[r.type] + ` ${r.thema !== void 0 ? be.h : ""}`,
1897
+ className: me.i + d[r.type] + ` ${r.thema !== void 0 ? me.h : ""}`,
1898
1898
  "data-status": o,
1899
1899
  children: [
1900
- /* @__PURE__ */ l.jsx(
1900
+ /* @__PURE__ */ c.jsx(
1901
1901
  "svg",
1902
1902
  {
1903
1903
  type: "solid",
@@ -1907,27 +1907,27 @@ function rn(t) {
1907
1907
  width: "24",
1908
1908
  height: "24",
1909
1909
  viewBox: "0 0 24 24",
1910
- children: c
1910
+ children: l
1911
1911
  }
1912
1912
  ),
1913
- /* @__PURE__ */ l.jsx("span", { className: be.t, children: r.text })
1913
+ /* @__PURE__ */ c.jsx("span", { className: me.t, children: r.text })
1914
1914
  ]
1915
1915
  }
1916
1916
  ) });
1917
1917
  }
1918
- let me = {
1919
- Send: tn,
1920
- Init: en
1918
+ let ye = {
1919
+ Send: Qr,
1920
+ Init: Zr
1921
1921
  };
1922
- const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_30", cn = "_t_1u25q_41", ln = "_a_1u25q_108", un = "_v_1u25q_118", ne = {
1923
- d: nn,
1924
- b: on,
1925
- o: an,
1926
- m: sn,
1927
- t: cn,
1928
- a: ln,
1929
- v: un
1930
- }, ae = {
1922
+ const tn = "_d_1u25q_1", rn = "_b_1u25q_21", nn = "_o_1u25q_25", on = "_m_1u25q_30", an = "_t_1u25q_41", sn = "_a_1u25q_108", cn = "_v_1u25q_118", oe = {
1923
+ d: tn,
1924
+ b: rn,
1925
+ o: nn,
1926
+ m: on,
1927
+ t: an,
1928
+ a: sn,
1929
+ v: cn
1930
+ }, se = {
1931
1931
  is: !1,
1932
1932
  MainButton: {},
1933
1933
  BackButton: {}
@@ -1979,59 +1979,59 @@ L.users = {
1979
1979
  "--tg-theme-button-text-color": "#000000",
1980
1980
  "--tg-theme-secondary-bg-color": "#000000"
1981
1981
  };
1982
- const fn = () => {
1982
+ const ln = () => {
1983
1983
  if (location.hostname === "localhost") {
1984
- let [t, r] = C(!1), [o, s] = C(!1), [i, c] = C("dark"), [d, p] = C(!1), [f, m] = C(!1);
1985
- ae.is = !0, ae.MainButton.set = r, ae.BackButton.set = s, F(() => {
1984
+ let [t, r] = T(!1), [o, s] = T(!1), [i, l] = T("dark"), [d, p] = T(!1), [f, h] = T(!1);
1985
+ se.is = !0, se.MainButton.set = r, se.BackButton.set = s, W(() => {
1986
1986
  var R;
1987
1987
  L[i]["--tg-theme-bg-color-alpha"] = L[i]["--tg-theme-bg-color"] + "b3", L[i]["--tg-theme-secondary-bg-color-alpha"] = L[i]["--tg-theme-secondary-bg-color"] + "d3", L[i]["--tg-theme-bg-color-alpha-25"] = L[i]["--tg-theme-bg-color"] + "40", L[i]["--tg-theme-secondary-bg-color-alpha-25"] = L[i]["--tg-theme-secondary-bg-color"] + "40";
1988
- for (let k in L[i])
1988
+ for (let x in L[i])
1989
1989
  document.documentElement.style.setProperty(
1990
- k,
1991
- L[i][k]
1990
+ x,
1991
+ L[i][x]
1992
1992
  );
1993
- ((R = oe.safeAreaInset) == null ? void 0 : R.bottom) === 0 ? document.documentElement.style.setProperty(
1993
+ ((R = ae.safeAreaInset) == null ? void 0 : R.bottom) === 0 ? document.documentElement.style.setProperty(
1994
1994
  "--tg-safe-area-inset-bottom",
1995
1995
  "16px"
1996
- ) : oe.safeAreaInset || document.documentElement.style.setProperty(
1996
+ ) : ae.safeAreaInset || document.documentElement.style.setProperty(
1997
1997
  "--tg-safe-area-inset-bottom",
1998
1998
  "16px"
1999
1999
  );
2000
2000
  }, []);
2001
2001
  let b = (R) => {
2002
- for (let k in L[R])
2003
- document.documentElement.style.setProperty(k, L[R][k]), document.documentElement.setAttribute(
2002
+ for (let x in L[R])
2003
+ document.documentElement.style.setProperty(x, L[R][x]), document.documentElement.setAttribute(
2004
2004
  "data-color-scheme",
2005
2005
  R
2006
2006
  );
2007
- c(R), p(!1);
2008
- }, _ = () => {
2009
- p(!1), m(!0);
2007
+ l(R), p(!1);
2008
+ }, y = () => {
2009
+ p(!1), h(!0);
2010
2010
  };
2011
- return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2012
- /* @__PURE__ */ l.jsxs("div", { className: ne.d, children: [
2013
- o === !1 ? /* @__PURE__ */ l.jsx("div", { className: ne.b, children: "Отмена" }) : /* @__PURE__ */ l.jsx(
2011
+ return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
2012
+ /* @__PURE__ */ c.jsxs("div", { className: oe.d, children: [
2013
+ o === !1 ? /* @__PURE__ */ c.jsx("div", { className: oe.b, children: "Отмена" }) : /* @__PURE__ */ c.jsx(
2014
2014
  "div",
2015
2015
  {
2016
2016
  onClick: () => {
2017
2017
  var R;
2018
2018
  o.page === void 0 ? (R = o.callback) == null || R.call(o) : Oe.setPage(o.page);
2019
2019
  },
2020
- className: ne.b,
2020
+ className: oe.b,
2021
2021
  children: "Назад"
2022
2022
  }
2023
2023
  ),
2024
- /* @__PURE__ */ l.jsx(
2024
+ /* @__PURE__ */ c.jsx(
2025
2025
  "div",
2026
2026
  {
2027
- className: ne.o,
2027
+ className: oe.o,
2028
2028
  onClick: () => p(!d),
2029
2029
  children: "Меню"
2030
2030
  }
2031
2031
  )
2032
2032
  ] }),
2033
- /* @__PURE__ */ l.jsx(me.Init, {}),
2034
- t && /* @__PURE__ */ l.jsx("div", { className: ne.m, children: /* @__PURE__ */ l.jsx(
2033
+ /* @__PURE__ */ c.jsx(ye.Init, {}),
2034
+ t && /* @__PURE__ */ c.jsx("div", { className: oe.m, children: /* @__PURE__ */ c.jsx(
2035
2035
  "button",
2036
2036
  {
2037
2037
  onClick: () => {
@@ -2040,30 +2040,30 @@ const fn = () => {
2040
2040
  children: t.text
2041
2041
  }
2042
2042
  ) }),
2043
- d ? /* @__PURE__ */ l.jsxs("div", { className: ne.t, children: [
2044
- /* @__PURE__ */ l.jsxs("ul", { children: [
2045
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: _, children: "Authorization" }) }),
2046
- /* @__PURE__ */ l.jsx("li", {})
2043
+ d ? /* @__PURE__ */ c.jsxs("div", { className: oe.t, children: [
2044
+ /* @__PURE__ */ c.jsxs("ul", { children: [
2045
+ /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: y, children: "Authorization" }) }),
2046
+ /* @__PURE__ */ c.jsx("li", {})
2047
2047
  ] }),
2048
- /* @__PURE__ */ l.jsxs("ul", { children: [
2049
- /* @__PURE__ */ l.jsxs("li", { children: [
2050
- /* @__PURE__ */ l.jsx("button", { children: "Thema" }),
2051
- /* @__PURE__ */ l.jsxs("ol", { children: [
2052
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2048
+ /* @__PURE__ */ c.jsxs("ul", { children: [
2049
+ /* @__PURE__ */ c.jsxs("li", { children: [
2050
+ /* @__PURE__ */ c.jsx("button", { children: "Thema" }),
2051
+ /* @__PURE__ */ c.jsxs("ol", { children: [
2052
+ /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
2053
2053
  "button",
2054
2054
  {
2055
2055
  onClick: () => b("dark"),
2056
2056
  children: "Dark"
2057
2057
  }
2058
2058
  ) }),
2059
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2059
+ /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
2060
2060
  "button",
2061
2061
  {
2062
2062
  onClick: () => b("light"),
2063
2063
  children: "Light"
2064
2064
  }
2065
2065
  ) }),
2066
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2066
+ /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
2067
2067
  "button",
2068
2068
  {
2069
2069
  onClick: () => b("users"),
@@ -2072,139 +2072,139 @@ const fn = () => {
2072
2072
  ) })
2073
2073
  ] })
2074
2074
  ] }),
2075
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!d), children: "Closed" }) })
2075
+ /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: () => p(!d), children: "Closed" }) })
2076
2076
  ] })
2077
2077
  ] }) : "",
2078
- f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization: m }) : ""
2078
+ f ? /* @__PURE__ */ c.jsx(un, { setAuthorization: h }) : ""
2079
2079
  ] });
2080
2080
  } else
2081
- return F(() => {
2081
+ return W(() => {
2082
2082
  var t;
2083
2083
  document.documentElement.style.setProperty(
2084
2084
  "--tg-theme-secondary-bg-color-alpha",
2085
- oe.themeParams.secondary_bg_color + "d3"
2085
+ ae.themeParams.secondary_bg_color + "d3"
2086
2086
  ), document.documentElement.style.setProperty(
2087
2087
  "--tg-theme-bg-color-alpha",
2088
- oe.themeParams.bg_color + "b3"
2089
- ), ((t = oe.safeAreaInset) == null ? void 0 : t.bottom) === 0 ? document.documentElement.style.setProperty(
2088
+ ae.themeParams.bg_color + "b3"
2089
+ ), ((t = ae.safeAreaInset) == null ? void 0 : t.bottom) === 0 ? document.documentElement.style.setProperty(
2090
2090
  "--tg-safe-area-inset-bottom",
2091
2091
  "16px"
2092
- ) : oe.safeAreaInset || document.documentElement.style.setProperty(
2092
+ ) : ae.safeAreaInset || document.documentElement.style.setProperty(
2093
2093
  "--tg-safe-area-inset-bottom",
2094
2094
  "16px"
2095
2095
  );
2096
- }, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(me.Init, {}) });
2097
- }, dn = ({ setAuthorization: t }) => {
2096
+ }, []), /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx(ye.Init, {}) });
2097
+ }, un = ({ setAuthorization: t }) => {
2098
2098
  let r = {}, o = () => {
2099
2099
  localStorage.setItem("auth", r);
2100
2100
  };
2101
- return /* @__PURE__ */ l.jsx("div", { className: ne.a, children: /* @__PURE__ */ l.jsxs("div", { className: ne.v, children: [
2102
- /* @__PURE__ */ l.jsx("fieldset", {}),
2103
- /* @__PURE__ */ l.jsx("div", { onClick: o, children: " Сохранить " })
2101
+ return /* @__PURE__ */ c.jsx("div", { className: oe.a, children: /* @__PURE__ */ c.jsxs("div", { className: oe.v, children: [
2102
+ /* @__PURE__ */ c.jsx("fieldset", {}),
2103
+ /* @__PURE__ */ c.jsx("div", { onClick: o, children: " Сохранить " })
2104
2104
  ] }) });
2105
- }, pn = "_p_1axqy_1", vn = "_s_1axqy_17", tr = {
2106
- p: pn,
2107
- s: vn
2108
- }, hn = ({ className: t, children: r, isScroll: o = !0 }) => /* @__PURE__ */ l.jsx(
2105
+ }, fn = "_p_1axqy_1", dn = "_s_1axqy_17", er = {
2106
+ p: fn,
2107
+ s: dn
2108
+ }, pn = ({ className: t, children: r, isScroll: o = !0 }) => /* @__PURE__ */ c.jsx(
2109
2109
  "div",
2110
2110
  {
2111
- className: [tr.p, o && tr.s, t].filter((s) => s !== void 0).join(" "),
2111
+ className: [er.p, o && er.s, t].filter((s) => s !== void 0).join(" "),
2112
2112
  children: r
2113
2113
  }
2114
- ), bn = "_l_gfyud_1", mn = {
2115
- l: bn
2116
- }, gn = ({ children: t, className: r }) => /* @__PURE__ */ l.jsx(
2114
+ ), vn = "_l_gfyud_1", gn = {
2115
+ l: vn
2116
+ }, hn = ({ children: t, className: r }) => /* @__PURE__ */ c.jsx(
2117
2117
  "div",
2118
2118
  {
2119
- className: [mn.l, r].filter((o) => o !== void 0).join(" "),
2119
+ className: [gn.l, r].filter((o) => o !== void 0).join(" "),
2120
2120
  children: t
2121
2121
  }
2122
- ), yn = "_m_ppm7n_2", _n = "_g_ppm7n_10", Rn = "_i_ppm7n_18", Sn = "_c_ppm7n_35", En = "_l_ppm7n_42", xn = "_a_ppm7n_57", kn = "_n_ppm7n_62", he = {
2123
- m: yn,
2124
- g: _n,
2125
- i: Rn,
2126
- c: Sn,
2127
- l: En,
2128
- a: xn,
2129
- n: kn
2130
- }, jn = ({ items: t }) => {
2122
+ ), bn = "_m_ppm7n_2", mn = "_g_ppm7n_10", yn = "_i_ppm7n_18", _n = "_c_ppm7n_35", Rn = "_l_ppm7n_42", Sn = "_a_ppm7n_57", En = "_n_ppm7n_62", be = {
2123
+ m: bn,
2124
+ g: mn,
2125
+ i: yn,
2126
+ c: _n,
2127
+ l: Rn,
2128
+ a: Sn,
2129
+ n: En
2130
+ }, xn = ({ items: t }) => {
2131
2131
  const r = (s) => {
2132
2132
  Oe.setPage(s);
2133
2133
  }, o = (s) => {
2134
- oe.openTelegramLink(s);
2134
+ ae.openTelegramLink(s);
2135
2135
  };
2136
- return /* @__PURE__ */ l.jsx("div", { className: he.m, children: t.map((s) => /* @__PURE__ */ l.jsx("div", { className: he.g, children: s.items.map((i, c) => /* @__PURE__ */ l.jsxs(
2136
+ return /* @__PURE__ */ c.jsx("div", { className: be.m, children: t.map((s) => /* @__PURE__ */ c.jsx("div", { className: be.g, children: s.items.map((i, l) => /* @__PURE__ */ c.jsxs(
2137
2137
  "div",
2138
2138
  {
2139
- className: he.i,
2139
+ className: be.i,
2140
2140
  onClick: () => {
2141
2141
  i.link && o(i.link), i.page && r(i.page), i.callback && i.callback();
2142
2142
  },
2143
2143
  children: [
2144
- /* @__PURE__ */ l.jsxs("div", { className: he.c, children: [
2145
- /* @__PURE__ */ l.jsx(
2144
+ /* @__PURE__ */ c.jsxs("div", { className: be.c, children: [
2145
+ /* @__PURE__ */ c.jsx(
2146
2146
  "span",
2147
2147
  {
2148
- className: he.l,
2148
+ className: be.l,
2149
2149
  style: { background: i.color },
2150
2150
  children: i.icon
2151
2151
  }
2152
2152
  ),
2153
2153
  i.title,
2154
- i.count && /* @__PURE__ */ l.jsx("span", { className: he.n, children: i.count })
2154
+ i.count && /* @__PURE__ */ c.jsx("span", { className: be.n, children: i.count })
2155
2155
  ] }),
2156
- /* @__PURE__ */ l.jsx("span", { className: he.a, children: "›" })
2156
+ /* @__PURE__ */ c.jsx("span", { className: be.a, children: "›" })
2157
2157
  ]
2158
2158
  },
2159
- c
2159
+ l
2160
2160
  )) }, s.id)) });
2161
- }, An = "_o_8ho2f_3", On = "_m_8ho2f_14", wn = "_l_8ho2f_28", Pn = "_r_8ho2f_33", Cn = "_x_8ho2f_38", Tn = "_h_8ho2f_42", $n = "_c_8ho2f_57", Nn = "_u_8ho2f_72", te = {
2161
+ }, An = "_o_8ho2f_3", jn = "_m_8ho2f_14", kn = "_l_8ho2f_28", On = "_r_8ho2f_33", wn = "_x_8ho2f_38", Pn = "_h_8ho2f_42", Tn = "_c_8ho2f_57", Cn = "_u_8ho2f_72", re = {
2162
2162
  o: An,
2163
- m: On,
2164
- l: wn,
2165
- r: Pn,
2166
- x: Cn,
2167
- h: Tn,
2168
- c: $n,
2169
- u: Nn
2163
+ m: jn,
2164
+ l: kn,
2165
+ r: On,
2166
+ x: wn,
2167
+ h: Pn,
2168
+ c: Tn,
2169
+ u: Cn
2170
2170
  }, ct = {};
2171
- function Mn({
2171
+ function $n({
2172
2172
  children: t,
2173
2173
  icon: r,
2174
2174
  iconBadge: o = 0,
2175
2175
  title: s,
2176
2176
  className: i,
2177
- view: c = "list",
2177
+ view: l = "list",
2178
2178
  position: d = "left",
2179
2179
  name: p = "default"
2180
2180
  }) {
2181
- const [f, m] = C(!1), [b, _] = C(
2181
+ const [f, h] = T(!1), [b, y] = T(
2182
2182
  null
2183
2183
  );
2184
- F(() => {
2185
- let k = document.querySelector(".p_sb");
2186
- return k || (k = document.createElement("div"), k.className = "_p_sb", document.body.appendChild(k)), _(k), ct[p] = (T) => m(T), () => {
2187
- k && k.parentNode && k.parentNode.removeChild(k);
2184
+ W(() => {
2185
+ let x = document.querySelector(".p_sb");
2186
+ return x || (x = document.createElement("div"), x.className = "_p_sb", document.body.appendChild(x)), y(x), ct[p] = (M) => h(M), () => {
2187
+ x && x.parentNode && x.parentNode.removeChild(x);
2188
2188
  };
2189
2189
  }, []);
2190
- const R = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2191
- f && /* @__PURE__ */ l.jsx("div", { className: te.o, onClick: () => m(!1) }),
2192
- /* @__PURE__ */ l.jsxs(
2190
+ const R = /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
2191
+ f && /* @__PURE__ */ c.jsx("div", { className: re.o, onClick: () => h(!1) }),
2192
+ /* @__PURE__ */ c.jsxs(
2193
2193
  "div",
2194
2194
  {
2195
- className: ye(
2196
- te.m,
2197
- d === "left" ? te.l : te.r,
2198
- f && te.x,
2195
+ className: Re(
2196
+ re.m,
2197
+ d === "left" ? re.l : re.r,
2198
+ f && re.x,
2199
2199
  i
2200
2200
  ),
2201
2201
  children: [
2202
- /* @__PURE__ */ l.jsxs("div", { className: te.h, children: [
2203
- s && /* @__PURE__ */ l.jsx("h3", { className: te.t, children: s }),
2204
- /* @__PURE__ */ l.jsxs(
2202
+ /* @__PURE__ */ c.jsxs("div", { className: re.h, children: [
2203
+ s && /* @__PURE__ */ c.jsx("h3", { className: re.t, children: s }),
2204
+ /* @__PURE__ */ c.jsxs(
2205
2205
  "svg",
2206
2206
  {
2207
- onClick: () => m(!1),
2207
+ onClick: () => h(!1),
2208
2208
  fill: "none",
2209
2209
  stroke: "currentColor",
2210
2210
  strokeLinecap: "round",
@@ -2216,68 +2216,64 @@ function Mn({
2216
2216
  "data-pointer": "true",
2217
2217
  style: { cursor: "pointer" },
2218
2218
  children: [
2219
- /* @__PURE__ */ l.jsx("path", { d: "M17.25 17.25 6.75 6.75" }),
2220
- /* @__PURE__ */ l.jsx("path", { d: "m17.25 6.75-10.5 10.5" })
2219
+ /* @__PURE__ */ c.jsx("path", { d: "M17.25 17.25 6.75 6.75" }),
2220
+ /* @__PURE__ */ c.jsx("path", { d: "m17.25 6.75-10.5 10.5" })
2221
2221
  ]
2222
2222
  }
2223
2223
  )
2224
2224
  ] }),
2225
- /* @__PURE__ */ l.jsx("div", { className: te.c, children: c === "list" ? /* @__PURE__ */ l.jsx("ul", { className: te.u, children: t }) : t })
2225
+ /* @__PURE__ */ c.jsx("div", { className: re.c, children: l === "list" ? /* @__PURE__ */ c.jsx("ul", { className: re.u, children: t }) : t })
2226
2226
  ]
2227
2227
  }
2228
2228
  )
2229
2229
  ] });
2230
- return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2231
- r && /* @__PURE__ */ l.jsx(
2230
+ return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
2231
+ r && /* @__PURE__ */ c.jsx(
2232
2232
  "div",
2233
2233
  {
2234
- onClick: () => m(!0),
2234
+ onClick: () => h(!0),
2235
2235
  className: "bage",
2236
2236
  "data-count": o,
2237
2237
  children: r
2238
2238
  }
2239
2239
  ),
2240
- b && pr(R, b)
2240
+ b && fr(R, b)
2241
2241
  ] });
2242
2242
  }
2243
- const In = (t, r) => {
2243
+ const Nn = (t, r) => {
2244
2244
  var o;
2245
2245
  (o = ct[t]) == null || o.call(ct, r);
2246
2246
  };
2247
- let nt = () => {
2247
+ let qt = () => {
2248
2248
  };
2249
- const dr = ({
2249
+ const ur = ({
2250
2250
  children: t,
2251
2251
  title: r,
2252
2252
  isOverlay: o = !0,
2253
2253
  footer: s = !0,
2254
2254
  className: i,
2255
- onOpen: c
2255
+ onOpen: l,
2256
+ name: d
2256
2257
  }) => {
2257
- const [d, p] = V.useState(!1);
2258
- return nt = () => {
2259
- p(!0), setTimeout(() => {
2260
- var f;
2261
- c == null || c(!1), (f = je == null ? void 0 : je.onClose) == null || f.call(je);
2262
- }, 300);
2263
- }, /* @__PURE__ */ l.jsx(
2258
+ const [p, f] = U.useState(!1);
2259
+ return /* @__PURE__ */ c.jsx(
2264
2260
  "div",
2265
2261
  {
2266
- className: `footer-menu-overlay ${o ? "is-overlay" : ""} ${d ? "closing" : ""} `,
2267
- onClick: nt,
2268
- children: /* @__PURE__ */ l.jsxs(
2262
+ className: `footer-menu-overlay ${o ? "is-overlay" : ""} ${p ? "closing" : ""} `,
2263
+ onClick: qt,
2264
+ children: /* @__PURE__ */ c.jsxs(
2269
2265
  "div",
2270
2266
  {
2271
- className: `footer-menu-popup-book ${d ? "closing" : ""} ${i || ""} ${s ? "footer" : ""}`,
2272
- onClick: (f) => f.stopPropagation(),
2267
+ className: `footer-menu-popup-book ${p ? "closing" : ""} ${i || ""} ${s ? "footer" : ""}`,
2268
+ onClick: (h) => h.stopPropagation(),
2273
2269
  children: [
2274
- /* @__PURE__ */ l.jsxs("div", { className: "footer-menu-header", children: [
2275
- /* @__PURE__ */ l.jsx("h3", { children: r }),
2276
- /* @__PURE__ */ l.jsx(
2270
+ /* @__PURE__ */ c.jsxs("div", { className: "footer-menu-header", children: [
2271
+ /* @__PURE__ */ c.jsx("h3", { children: r }),
2272
+ /* @__PURE__ */ c.jsx(
2277
2273
  "button",
2278
2274
  {
2279
2275
  className: "footer-menu-close-btn",
2280
- onClick: nt,
2276
+ onClick: qt,
2281
2277
  children: "✕"
2282
2278
  }
2283
2279
  )
@@ -2288,83 +2284,90 @@ const dr = ({
2288
2284
  )
2289
2285
  }
2290
2286
  );
2291
- }, Bn = "_h_xfork_1", Ln = "_r_xfork_53", Dn = "_c_xfork_56", Un = "_x_xfork_59", Fn = "_b_xfork_63", Wn = "_a_xfork_99", Yn = "_draw_xfork_1", Ae = {
2292
- h: Bn,
2293
- r: Ln,
2294
- c: Dn,
2295
- x: Un,
2296
- b: Fn,
2297
- a: Wn,
2298
- draw: Yn
2287
+ }, Mn = "_h_6lse3_2", In = "_r_6lse3_55", Bn = "_c_6lse3_58", Ln = "_x_6lse3_61", Dn = "_b_6lse3_65", Un = "_a_6lse3_103", Fn = "_draw_6lse3_1", Wn = "_scaleToggleLeft_6lse3_1", Yn = "_scaleToggleRight_6lse3_1", ke = {
2288
+ h: Mn,
2289
+ r: In,
2290
+ c: Bn,
2291
+ x: Ln,
2292
+ b: Dn,
2293
+ a: Un,
2294
+ draw: Fn,
2295
+ scaleToggleLeft: Wn,
2296
+ scaleToggleRight: Yn
2299
2297
  }, qn = "_b_r6m8n_1", Vn = {
2300
2298
  b: qn
2301
- }, zn = ({ className: t, value: r }) => /* @__PURE__ */ l.jsx(
2299
+ }, zn = ({ className: t, value: r }) => /* @__PURE__ */ c.jsx(
2302
2300
  "div",
2303
2301
  {
2304
2302
  className: [Vn.b, t].filter((o) => o !== void 0).join(" "),
2305
2303
  children: r
2306
2304
  }
2307
- ), je = [], rr = (t, r) => t.findIndex((o) => (o == null ? void 0 : o.page) === r), Jn = ({
2305
+ ), Jn = (t, r) => t.findIndex((o) => (o == null ? void 0 : o.page) === r), Hn = ({
2308
2306
  actions: t,
2309
2307
  children: r,
2310
2308
  className: o,
2311
2309
  actual: s,
2312
2310
  toHide: i = !1,
2313
- page: c,
2311
+ page: l,
2314
2312
  style: d = "default",
2315
2313
  onPageChange: p,
2316
2314
  direction: f = "row"
2317
2315
  }) => {
2318
- const [m, b] = V.useState(null), [_, R] = V.useState(
2319
- c ? rr(t || [], c) : 0
2320
- );
2321
- je.onClose = () => {
2322
- b(null), R(c ? rr(t || [], c) : 0);
2323
- }, F(() => {
2316
+ const [h, b] = U.useState(null), [y, R] = U.useState(
2317
+ l ? Jn(t || [], l) : 0
2318
+ ), [x, M] = U.useState(
2319
+ "right"
2320
+ ), ce = U.useRef(y);
2321
+ U.useEffect(() => {
2322
+ ce.current !== y && (M(
2323
+ y > ce.current ? "left" : "right"
2324
+ ), ce.current = y);
2325
+ }, [y]), W(() => {
2324
2326
  if (!i)
2325
2327
  return;
2326
- const Se = document.querySelectorAll("[contenteditable]"), Ee = () => {
2327
- const M = document.querySelector("footer");
2328
- M && M.classList.remove(Ae.x);
2329
- }, xe = () => {
2330
- const M = document.querySelector("footer");
2331
- M && M.classList.add(Ae.x);
2328
+ const Ee = document.querySelectorAll("[contenteditable]"), xe = () => {
2329
+ const $ = document.querySelector("footer");
2330
+ $ && $.classList.remove(ke.x);
2331
+ }, Ae = () => {
2332
+ const $ = document.querySelector("footer");
2333
+ $ && $.classList.add(ke.x);
2332
2334
  };
2333
- return Se.forEach((M) => {
2334
- M.addEventListener("focus", xe, !0), M.addEventListener("blur", Ee, !0);
2335
+ return Ee.forEach(($) => {
2336
+ $.addEventListener("focus", Ae, !0), $.addEventListener("blur", xe, !0);
2335
2337
  }), () => {
2336
- Se.forEach((M) => {
2337
- M.removeEventListener("focus", xe, !0), M.removeEventListener("blur", Ee, !0);
2338
+ Ee.forEach(($) => {
2339
+ $.removeEventListener("focus", Ae, !0), $.removeEventListener("blur", xe, !0);
2338
2340
  });
2339
2341
  };
2340
2342
  }, []);
2341
- const [k, T] = V.useState(!1), _e = () => {
2342
- T(!0);
2343
- }, Re = () => {
2344
- T(!1);
2345
- }, N = () => {
2346
- T(!1);
2347
- }, x = {};
2348
- return d === "liquid-glass" && (x.onMouseDown = _e, x.onMouseUp = Re, x.onMouseLeave = N, x.onTouchStart = _e, x.onTouchEnd = Re), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2349
- m,
2350
- /* @__PURE__ */ l.jsxs(
2343
+ const [we, C] = U.useState(!1), A = () => {
2344
+ C(!0);
2345
+ }, Se = () => {
2346
+ C(!1);
2347
+ }, Pe = () => {
2348
+ C(!1);
2349
+ }, K = {};
2350
+ return d === "liquid-glass" && (K.onMouseDown = A, K.onMouseUp = Se, K.onMouseLeave = Pe, K.onTouchStart = A, K.onTouchEnd = Se), /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
2351
+ h,
2352
+ /* @__PURE__ */ c.jsxs(
2351
2353
  "footer",
2352
2354
  {
2355
+ "data-direction": x,
2353
2356
  "data-style": d,
2354
- "data-scale": k ? "true" : "false",
2355
- ...x,
2356
- className: ye(
2357
- Ae.h,
2358
- Ae[f === "row" ? "r" : "c"],
2357
+ "data-scale": we ? "true" : "false",
2358
+ ...K,
2359
+ className: Re(
2360
+ ke.h,
2361
+ ke[f === "row" ? "r" : "c"],
2359
2362
  o
2360
2363
  ),
2361
2364
  children: [
2362
2365
  r,
2363
- t && /* @__PURE__ */ l.jsx(
2364
- Hn,
2366
+ t && /* @__PURE__ */ c.jsx(
2367
+ Kn,
2365
2368
  {
2366
2369
  actions: t,
2367
- activeIndex: _,
2370
+ activeIndex: y,
2368
2371
  setActiveIndex: R,
2369
2372
  onPageChange: p,
2370
2373
  setComponent: b,
@@ -2375,68 +2378,68 @@ const dr = ({
2375
2378
  }
2376
2379
  )
2377
2380
  ] });
2378
- }, Hn = ({
2381
+ }, Kn = ({
2379
2382
  actions: t,
2380
2383
  activeIndex: r,
2381
2384
  setActiveIndex: o,
2382
2385
  onPageChange: s,
2383
2386
  setComponent: i,
2384
- actual: c
2385
- }) => /* @__PURE__ */ l.jsxs("div", { className: Ae.b, children: [
2386
- t.map((d, p) => /* @__PURE__ */ l.jsxs(
2387
+ actual: l
2388
+ }) => /* @__PURE__ */ c.jsxs("div", { className: ke.b, children: [
2389
+ t.map((d, p) => /* @__PURE__ */ c.jsxs(
2387
2390
  "div",
2388
2391
  {
2389
2392
  "data-active": r === p ? "true" : "false",
2390
2393
  onClick: () => {
2391
- d.page && (o(p), s == null || s(d.page)), d.onClick && d.onClick(() => o(p)), d.component && (r === p ? nt() : (i(d.component), o(p)));
2394
+ d.page && (o(p), s == null || s(d.page)), d.onClick && d.onClick(() => o(p)), d.component && (r === p || (i(d.component), o(p)));
2392
2395
  },
2393
2396
  children: [
2394
2397
  d.icon,
2395
- d.title && /* @__PURE__ */ l.jsx("span", { children: d.title }),
2396
- d.badge && /* @__PURE__ */ l.jsx(zn, { value: d.badge })
2398
+ d.title && /* @__PURE__ */ c.jsx("span", { children: d.title }),
2399
+ d.badge && /* @__PURE__ */ c.jsx(zn, { value: d.badge })
2397
2400
  ]
2398
2401
  },
2399
2402
  p
2400
2403
  )),
2401
- c && /* @__PURE__ */ l.jsx(
2404
+ l && /* @__PURE__ */ c.jsx(
2402
2405
  "div",
2403
2406
  {
2404
- className: Ae.a,
2407
+ className: ke.a,
2405
2408
  style: {
2406
2409
  "--count-options": t.length,
2407
2410
  "--tab-bar-actual-index": r
2408
2411
  }
2409
2412
  }
2410
2413
  )
2411
- ] }), Kn = "_w_yx04q_3", Gn = "_v_yx04q_24", Xn = "_s_yx04q_34", Zn = "_n_yx04q_38", at = {
2412
- w: Kn,
2413
- v: Gn,
2414
- s: Xn,
2415
- n: Zn
2416
- }, zt = {};
2417
- function Qn({
2414
+ ] }), Gn = "_w_yx04q_3", Xn = "_v_yx04q_24", Zn = "_s_yx04q_34", Qn = "_n_yx04q_38", at = {
2415
+ w: Gn,
2416
+ v: Xn,
2417
+ s: Zn,
2418
+ n: Qn
2419
+ }, Vt = {};
2420
+ function eo({
2418
2421
  children: t,
2419
2422
  name: r,
2420
2423
  onClose: o,
2421
2424
  isOpen: s,
2422
2425
  isScroll: i = !0,
2423
- nextBackButton: c
2426
+ nextBackButton: l
2424
2427
  }) {
2425
- const [d, p] = C(!1);
2426
- return F(() => {
2428
+ const [d, p] = T(!1);
2429
+ return W(() => {
2427
2430
  if (!s) return;
2428
- const f = c === void 0 ? fo().pop() : c, m = () => {
2431
+ const f = l === void 0 ? po().pop() : l, h = () => {
2429
2432
  p(!1), setTimeout(() => {
2430
- nr(f || !1), o == null || o();
2433
+ tr(f || !1), o == null || o();
2431
2434
  }, 300);
2432
2435
  };
2433
- zt[r] = {
2434
- onClose: m,
2436
+ Vt[r] = {
2437
+ onClose: h,
2435
2438
  onOpen: () => {
2436
2439
  p(!0);
2437
2440
  }
2438
- }, nr({
2439
- callback: m
2441
+ }, tr({
2442
+ callback: h
2440
2443
  });
2441
2444
  const b = setTimeout(() => {
2442
2445
  p(!0);
@@ -2444,59 +2447,59 @@ function Qn({
2444
2447
  return () => {
2445
2448
  clearTimeout(b);
2446
2449
  };
2447
- }, [s]), s ? /* @__PURE__ */ l.jsxs(
2450
+ }, [s]), s ? /* @__PURE__ */ c.jsxs(
2448
2451
  "div",
2449
2452
  {
2450
- className: ye(
2453
+ className: Re(
2451
2454
  at.w,
2452
2455
  d && at.v,
2453
2456
  i && at.s
2454
2457
  ),
2455
2458
  children: [
2456
- /* @__PURE__ */ l.jsx("div", { className: at.n }),
2459
+ /* @__PURE__ */ c.jsx("div", { className: at.n }),
2457
2460
  t
2458
2461
  ]
2459
2462
  }
2460
2463
  ) : "";
2461
2464
  }
2462
- const eo = (t, r) => {
2465
+ const to = (t, r) => {
2463
2466
  var o, s;
2464
- r ? (o = zt[t]) == null || o.onOpen() : (s = zt[t]) == null || s.onClose();
2465
- }, to = "_s_l7xl0_3", ro = "_n_l7xl0_14", no = "_b_l7xl0_19", oo = "_f_l7xl0_29", st = {
2466
- s: to,
2467
- n: ro,
2468
- b: no,
2469
- f: oo
2467
+ r ? (o = Vt[t]) == null || o.onOpen() : (s = Vt[t]) == null || s.onClose();
2468
+ }, ro = "_s_l7xl0_3", no = "_n_l7xl0_14", oo = "_b_l7xl0_19", ao = "_f_l7xl0_29", st = {
2469
+ s: ro,
2470
+ n: no,
2471
+ b: oo,
2472
+ f: ao
2470
2473
  };
2471
- function ao({
2474
+ function so({
2472
2475
  className: t,
2473
2476
  children: r,
2474
2477
  onScrollEnd: o,
2475
2478
  offset: s = 100,
2476
2479
  isLoading: i,
2477
- fullscreen: c = !1,
2480
+ fullscreen: l = !1,
2478
2481
  isScrollBar: d = !1
2479
2482
  }) {
2480
- const [p, f] = C(i || !1);
2481
- F(() => {
2483
+ const [p, f] = T(i || !1);
2484
+ W(() => {
2482
2485
  f(i || !1);
2483
2486
  }, [i]);
2484
- let m = {
2487
+ let h = {
2485
2488
  onScroll: (b) => {
2486
- const { scrollTop: _, scrollHeight: R, clientHeight: k } = b.currentTarget;
2487
- _ + k >= R - s && !p && (f(!0), o == null || o());
2489
+ const { scrollTop: y, scrollHeight: R, clientHeight: x } = b.currentTarget;
2490
+ y + x >= R - s && !p && (f(!0), o == null || o());
2488
2491
  }
2489
2492
  };
2490
- return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2491
- !d && /* @__PURE__ */ l.jsx("div", { className: st.b }),
2492
- /* @__PURE__ */ l.jsx(
2493
+ return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
2494
+ !d && /* @__PURE__ */ c.jsx("div", { className: st.b }),
2495
+ /* @__PURE__ */ c.jsx(
2493
2496
  "div",
2494
2497
  {
2495
- ...m,
2496
- className: ye(
2498
+ ...h,
2499
+ className: Re(
2497
2500
  st.s,
2498
2501
  !d && st.n,
2499
- c && st.f,
2502
+ l && st.f,
2500
2503
  t
2501
2504
  ),
2502
2505
  children: r
@@ -2504,22 +2507,22 @@ function ao({
2504
2507
  )
2505
2508
  ] });
2506
2509
  }
2507
- const so = "_a_prp23_1", io = "_l_prp23_13", co = "_r_prp23_16", lo = "_b_prp23_19", it = {
2508
- a: so,
2509
- l: io,
2510
- r: co,
2511
- b: lo
2510
+ const io = "_a_prp23_1", co = "_l_prp23_13", lo = "_r_prp23_16", uo = "_b_prp23_19", it = {
2511
+ a: io,
2512
+ l: co,
2513
+ r: lo,
2514
+ b: uo
2512
2515
  };
2513
- function uo({
2516
+ function fo({
2514
2517
  children: t,
2515
2518
  className: r,
2516
2519
  position: o = "center",
2517
2520
  title: s
2518
2521
  }) {
2519
2522
  let i = "";
2520
- return o === "left" ? i = it.l : o === "right" ? i = it.r : o === "between" && (i = it.b), /* @__PURE__ */ l.jsxs("div", { className: ye(it.a, i, r), children: [
2523
+ return o === "left" ? i = it.l : o === "right" ? i = it.r : o === "between" && (i = it.b), /* @__PURE__ */ c.jsxs("div", { className: Re(it.a, i, r), children: [
2521
2524
  t,
2522
- s && /* @__PURE__ */ l.jsx("b", { children: s })
2525
+ s && /* @__PURE__ */ c.jsx("b", { children: s })
2523
2526
  ] });
2524
2527
  }
2525
2528
  const D = {
@@ -2531,9 +2534,9 @@ const D = {
2531
2534
  var o;
2532
2535
  let r = D.state.pop();
2533
2536
  D.prev = Oe.getPage(), r.page !== void 0 ? Oe.setPage(r.page) : (o = r.callback) == null || o.call(r);
2534
- }), oe.BackButton.onClick(D.listen[0]));
2537
+ }), ae.BackButton.onClick(D.listen[0]));
2535
2538
  }
2536
- }, ye = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
2539
+ }, Re = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
2537
2540
  var P;
2538
2541
  ((t) => {
2539
2542
  var r;
@@ -2541,7 +2544,7 @@ var P;
2541
2544
  var o;
2542
2545
  return ((o = t.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : t.WebApp.initDataUnsafe;
2543
2546
  }, t.Location = (o) => {
2544
- if (ae.is)
2547
+ if (se.is)
2545
2548
  return o({ latitude: 55.752555, longitude: 37.623123 });
2546
2549
  let s = () => {
2547
2550
  t.WebApp.LocationManager.getLocation(async (i) => {
@@ -2557,25 +2560,25 @@ var P;
2557
2560
  }) : s();
2558
2561
  }, t.Notice = {
2559
2562
  Send: (o, s, i) => {
2560
- var c, d;
2561
- s !== void 0 ? (me.Send({ type: o, text: s, thema: i }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(o)) : (me.Send(o), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(o.type));
2563
+ var l, d;
2564
+ s !== void 0 ? (ye.Send({ type: o, text: s, thema: i }), (l = t.WebApp.HapticFeedback) == null || l.notificationOccurred(o)) : (ye.Send(o), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(o.type));
2562
2565
  },
2563
2566
  Error: (o) => {
2564
2567
  var s;
2565
- me.Send({ type: "error", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("error");
2568
+ ye.Send({ type: "error", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("error");
2566
2569
  },
2567
2570
  Success: (o) => {
2568
2571
  var s;
2569
- me.Send({ type: "success", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("success");
2572
+ ye.Send({ type: "success", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("success");
2570
2573
  },
2571
2574
  Warning: (o) => {
2572
2575
  var s;
2573
- me.Send({ type: "warning", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
2576
+ ye.Send({ type: "warning", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
2574
2577
  }
2575
- }, t.Header = fn, t.TabBar = Jn, t.BottomSheet = dr, t.toggleBottomSheet = nt, t.SafeArea = hn, t.Loading = gn, t.Sidebar = Mn, t.SidePanel = Qn, t.AppBar = uo, t.SideBarController = In, t.SidePanelController = eo, t.Scroll = ao, t.Modal = qt, t.Menu = jn, t.MainButton = {
2578
+ }, t.Header = ln, t.TabBar = Hn, t.BottomSheet = ur, t.toggleBottomSheet = qt, t.SafeArea = pn, t.Loading = hn, t.Sidebar = $n, t.SidePanel = eo, t.AppBar = fo, t.SideBarController = Nn, t.SidePanelController = to, t.Scroll = so, t.Modal = Wt, t.Menu = xn, t.MainButton = {
2576
2579
  callback: [],
2577
2580
  set: (o) => {
2578
- ae.is ? ae.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((s) => {
2581
+ se.is ? se.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((s) => {
2579
2582
  t.WebApp.MainButton.offClick(s);
2580
2583
  }), t.WebApp.MainButton.callback = [], typeof o == "boolean" ? t.WebApp.MainButton.isVisible = !1 : (t.WebApp.MainButton.text = o.text, o.color && (t.WebApp.MainButton.color = o.color), o.textColor && (t.WebApp.MainButton.textColor = o.textColor), t.WebApp.MainButton.isVisible = !0, t.WebApp.MainButton.isActive = o.isActive === void 0 ? !0 : o.isActive, t.WebApp.MainButton.callback.push(() => {
2581
2584
  var s;
@@ -2587,33 +2590,33 @@ var P;
2587
2590
  }, t.BackButtonPrev = () => {
2588
2591
  D.prev && (0, t.BackButton)(D.prev);
2589
2592
  }, t.BackButtonState = () => D.state, t.BackButton = (o) => {
2590
- ae.is ? ae.BackButton.set(o) : (D.state.push(o), D.router(o));
2593
+ se.is ? se.BackButton.set(o) : (D.state.push(o), D.router(o));
2591
2594
  };
2592
2595
  })(P || (P = {}));
2593
- const ho = P.TabBar, bo = dr, nr = P.BackButton, mo = P.BackButtonPrev, fo = P.BackButtonState, go = P.Notice, yo = P.SafeArea, _o = P.Loading, Ro = P.Menu, So = P.SidePanel, Eo = P.Scroll, xo = P.AppBar, ko = P.Sidebar, jo = P.Location, Ao = P.SidePanelController, Oo = P.SideBarController, { Header: wo, toggleBottomSheet: Po, Modal: Co, MainButton: To, WebApp: oe, getUser: $o } = P;
2596
+ const ho = P.TabBar, bo = ur, tr = P.BackButton, mo = P.BackButtonPrev, po = P.BackButtonState, yo = P.Notice, _o = P.SafeArea, Ro = P.Loading, So = P.Menu, Eo = P.SidePanel, xo = P.Scroll, Ao = P.AppBar, jo = P.Sidebar, ko = P.Location, Oo = P.SidePanelController, wo = P.SideBarController, { Header: Po, toggleBottomSheet: To, Modal: Co, MainButton: $o, WebApp: ae, getUser: No } = P;
2594
2597
  export {
2595
- xo as AppBar,
2596
- nr as BackButton,
2598
+ Ao as AppBar,
2599
+ tr as BackButton,
2597
2600
  mo as BackButtonPrev,
2598
- fo as BackButtonState,
2601
+ po as BackButtonState,
2599
2602
  bo as BottomSheet,
2600
- wo as Header,
2601
- _o as Loading,
2602
- jo as Location,
2603
- To as MainButton,
2604
- Ro as Menu,
2603
+ Po as Header,
2604
+ Ro as Loading,
2605
+ ko as Location,
2606
+ $o as MainButton,
2607
+ So as Menu,
2605
2608
  Co as Modal,
2606
- go as Notice,
2607
- yo as SafeArea,
2608
- Eo as Scroll,
2609
- Oo as SideBarController,
2610
- So as SidePanel,
2611
- Ao as SidePanelController,
2612
- ko as Sidebar,
2609
+ yo as Notice,
2610
+ _o as SafeArea,
2611
+ xo as Scroll,
2612
+ wo as SideBarController,
2613
+ Eo as SidePanel,
2614
+ Oo as SidePanelController,
2615
+ jo as Sidebar,
2613
2616
  ho as TabBar,
2614
- oe as WebApp,
2615
- ye as clsx,
2617
+ ae as WebApp,
2618
+ Re as clsx,
2616
2619
  P as default,
2617
- $o as getUser,
2618
- Po as toggleBottomSheet
2620
+ No as getUser,
2621
+ To as toggleBottomSheet
2619
2622
  };