@elcrm/telegram 0.0.62 → 0.0.64

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,5 +1,5 @@
1
- import P, { useState as xt, useEffect as Ot } from "react";
2
- import './index.css';var Tt = { exports: {} }, Ve = {};
1
+ import P, { useState as Ot, useEffect as Tt } from "react";
2
+ import './index.css';var Ct = { exports: {} }, Ve = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -9,17 +9,17 @@ import './index.css';var Tt = { exports: {} }, Ve = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var wt;
13
- function Wt() {
14
- if (wt) return Ve;
15
- wt = 1;
12
+ var Pt;
13
+ function Vt() {
14
+ if (Pt) return Ve;
15
+ Pt = 1;
16
16
  var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, m = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function j(_, d, k) {
18
- var v, x = {}, I = null, A = null;
19
- k !== void 0 && (I = "" + k), d.key !== void 0 && (I = "" + d.key), d.ref !== void 0 && (A = d.ref);
20
- for (v in d) u.call(d, v) && !y.hasOwnProperty(v) && (x[v] = d[v]);
21
- if (_ && _.defaultProps) for (v in d = _.defaultProps, d) x[v] === void 0 && (x[v] = d[v]);
22
- return { $$typeof: o, type: _, key: I, ref: A, props: x, _owner: m.current };
17
+ function j(k, d, x) {
18
+ var p, R = {}, I = null, A = null;
19
+ x !== void 0 && (I = "" + x), d.key !== void 0 && (I = "" + d.key), d.ref !== void 0 && (A = d.ref);
20
+ for (p in d) u.call(d, p) && !y.hasOwnProperty(p) && (R[p] = d[p]);
21
+ if (k && k.defaultProps) for (p in d = k.defaultProps, d) R[p] === void 0 && (R[p] = d[p]);
22
+ return { $$typeof: o, type: k, key: I, ref: A, props: R, _owner: m.current };
23
23
  }
24
24
  return Ve.Fragment = l, Ve.jsx = j, Ve.jsxs = j, Ve;
25
25
  }
@@ -33,17 +33,17 @@ var ze = {};
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
35
  */
36
- var Pt;
37
- function Vt() {
38
- return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
39
- var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), _ = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), V = Symbol.iterator, Re = "@@iterator";
40
- function _e(e) {
36
+ var At;
37
+ function zt() {
38
+ return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
39
+ var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), k = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), V = Symbol.iterator, _e = "@@iterator";
40
+ function Re(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
- var t = V && e[V] || e[Re];
43
+ var t = V && e[V] || e[_e];
44
44
  return typeof t == "function" ? t : null;
45
45
  }
46
- var $ = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
46
+ var N = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
47
  function S(e) {
48
48
  {
49
49
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
@@ -53,18 +53,18 @@ function Vt() {
53
53
  }
54
54
  function ye(e, t, r) {
55
55
  {
56
- var a = $.ReactDebugCurrentFrame, f = a.getStackAddendum();
56
+ var a = N.ReactDebugCurrentFrame, f = a.getStackAddendum();
57
57
  f !== "" && (t += "%s", r = r.concat([f]));
58
- var p = r.map(function(s) {
58
+ var g = r.map(function(s) {
59
59
  return String(s);
60
60
  });
61
- p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
61
+ g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
62
62
  }
63
63
  }
64
- var ke = !1, Ee = !1, h = !1, E = !1, D = !1, M;
64
+ var ke = !1, Ee = !1, h = !1, E = !1, F = !1, M;
65
65
  M = Symbol.for("react.module.reference");
66
66
  function U(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === y || D || e === m || e === k || e === v || E || e === A || ke || Ee || h || typeof e == "object" && e !== null && (e.$$typeof === I || e.$$typeof === x || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === d || // This needs to include all possible module reference object
67
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === y || F || e === m || e === x || e === p || E || e === A || ke || Ee || h || typeof e == "object" && e !== null && (e.$$typeof === I || e.$$typeof === R || e.$$typeof === j || e.$$typeof === k || e.$$typeof === d || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
@@ -96,14 +96,14 @@ function Vt() {
96
96
  return "Profiler";
97
97
  case m:
98
98
  return "StrictMode";
99
- case k:
99
+ case x:
100
100
  return "Suspense";
101
- case v:
101
+ case p:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof e == "object")
105
105
  switch (e.$$typeof) {
106
- case _:
106
+ case k:
107
107
  var t = e;
108
108
  return ae(t) + ".Consumer";
109
109
  case j:
@@ -111,13 +111,13 @@ function Vt() {
111
111
  return ae(r._context) + ".Provider";
112
112
  case d:
113
113
  return oe(e, e.render, "ForwardRef");
114
- case x:
114
+ case R:
115
115
  var a = e.displayName || null;
116
116
  return a !== null ? a : B(e.type) || "Memo";
117
117
  case I: {
118
- var f = e, p = f._payload, s = f._init;
118
+ var f = e, g = f._payload, s = f._init;
119
119
  try {
120
- return B(s(p));
120
+ return B(s(g));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -125,13 +125,13 @@ function Vt() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var F = Object.assign, N = 0, q, K, G, Se, xe, Oe, Te;
128
+ var D = Object.assign, $ = 0, q, K, G, Se, xe, Oe, Te;
129
129
  function Ce() {
130
130
  }
131
131
  Ce.__reactDisabledLog = !0;
132
- function He() {
132
+ function Qe() {
133
133
  {
134
- if (N === 0) {
134
+ if ($ === 0) {
135
135
  q = console.log, K = console.info, G = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed, Te = console.groupEnd;
136
136
  var e = {
137
137
  configurable: !0,
@@ -149,46 +149,46 @@ function Vt() {
149
149
  groupEnd: e
150
150
  });
151
151
  }
152
- N++;
152
+ $++;
153
153
  }
154
154
  }
155
- function Qe() {
155
+ function et() {
156
156
  {
157
- if (N--, N === 0) {
157
+ if ($--, $ === 0) {
158
158
  var e = {
159
159
  configurable: !0,
160
160
  enumerable: !0,
161
161
  writable: !0
162
162
  };
163
163
  Object.defineProperties(console, {
164
- log: F({}, e, {
164
+ log: D({}, e, {
165
165
  value: q
166
166
  }),
167
- info: F({}, e, {
167
+ info: D({}, e, {
168
168
  value: K
169
169
  }),
170
- warn: F({}, e, {
170
+ warn: D({}, e, {
171
171
  value: G
172
172
  }),
173
- error: F({}, e, {
173
+ error: D({}, e, {
174
174
  value: Se
175
175
  }),
176
- group: F({}, e, {
176
+ group: D({}, e, {
177
177
  value: xe
178
178
  }),
179
- groupCollapsed: F({}, e, {
179
+ groupCollapsed: D({}, e, {
180
180
  value: Oe
181
181
  }),
182
- groupEnd: F({}, e, {
182
+ groupEnd: D({}, e, {
183
183
  value: Te
184
184
  })
185
185
  });
186
186
  }
187
- N < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
187
+ $ < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
- var se = $.ReactCurrentDispatcher, le;
191
- function X(e, t, r) {
190
+ var se = N.ReactCurrentDispatcher, le;
191
+ function H(e, t, r) {
192
192
  {
193
193
  if (le === void 0)
194
194
  try {
@@ -201,16 +201,16 @@ function Vt() {
201
201
  ` + le + e;
202
202
  }
203
203
  }
204
- var ue = !1, H;
204
+ var ue = !1, X;
205
205
  {
206
- var et = typeof WeakMap == "function" ? WeakMap : Map;
207
- H = new et();
206
+ var tt = typeof WeakMap == "function" ? WeakMap : Map;
207
+ X = new tt();
208
208
  }
209
209
  function je(e, t) {
210
210
  if (!e || ue)
211
211
  return "";
212
212
  {
213
- var r = H.get(e);
213
+ var r = X.get(e);
214
214
  if (r !== void 0)
215
215
  return r;
216
216
  }
@@ -218,8 +218,8 @@ function Vt() {
218
218
  ue = !0;
219
219
  var f = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
- var p;
222
- p = se.current, se.current = null, He();
221
+ var g;
222
+ g = se.current, se.current = null, Qe();
223
223
  try {
224
224
  if (t) {
225
225
  var s = function() {
@@ -256,31 +256,31 @@ function Vt() {
256
256
  if (T && a && typeof T.stack == "string") {
257
257
  for (var i = T.stack.split(`
258
258
  `), O = a.stack.split(`
259
- `), b = i.length - 1, R = O.length - 1; b >= 1 && R >= 0 && i[b] !== O[R]; )
260
- R--;
261
- for (; b >= 1 && R >= 0; b--, R--)
262
- if (i[b] !== O[R]) {
263
- if (b !== 1 || R !== 1)
259
+ `), b = i.length - 1, _ = O.length - 1; b >= 1 && _ >= 0 && i[b] !== O[_]; )
260
+ _--;
261
+ for (; b >= 1 && _ >= 0; b--, _--)
262
+ if (i[b] !== O[_]) {
263
+ if (b !== 1 || _ !== 1)
264
264
  do
265
- if (b--, R--, R < 0 || i[b] !== O[R]) {
265
+ if (b--, _--, _ < 0 || i[b] !== O[_]) {
266
266
  var w = `
267
267
  ` + i[b].replace(" at new ", " at ");
268
- return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, w), w;
268
+ return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, w), w;
269
269
  }
270
- while (b >= 1 && R >= 0);
270
+ while (b >= 1 && _ >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- ue = !1, se.current = p, Qe(), Error.prepareStackTrace = f;
275
+ ue = !1, se.current = g, et(), Error.prepareStackTrace = f;
276
276
  }
277
- var W = e ? e.displayName || e.name : "", L = W ? X(W) : "";
278
- return typeof e == "function" && H.set(e, L), L;
277
+ var W = e ? e.displayName || e.name : "", L = W ? H(W) : "";
278
+ return typeof e == "function" && X.set(e, L), L;
279
279
  }
280
- function tt(e, t, r) {
280
+ function rt(e, t, r) {
281
281
  return je(e, !1);
282
282
  }
283
- function rt(e) {
283
+ function nt(e) {
284
284
  var t = e.prototype;
285
285
  return !!(t && t.isReactComponent);
286
286
  }
@@ -288,32 +288,32 @@ function Vt() {
288
288
  if (e == null)
289
289
  return "";
290
290
  if (typeof e == "function")
291
- return je(e, rt(e));
291
+ return je(e, nt(e));
292
292
  if (typeof e == "string")
293
- return X(e);
293
+ return H(e);
294
294
  switch (e) {
295
- case k:
296
- return X("Suspense");
297
- case v:
298
- return X("SuspenseList");
295
+ case x:
296
+ return H("Suspense");
297
+ case p:
298
+ return H("SuspenseList");
299
299
  }
300
300
  if (typeof e == "object")
301
301
  switch (e.$$typeof) {
302
302
  case d:
303
- return tt(e.render);
304
- case x:
303
+ return rt(e.render);
304
+ case R:
305
305
  return Q(e.type, t, r);
306
306
  case I: {
307
- var a = e, f = a._payload, p = a._init;
307
+ var a = e, f = a._payload, g = a._init;
308
308
  try {
309
- return Q(p(f), t, r);
309
+ return Q(g(f), t, r);
310
310
  } catch {
311
311
  }
312
312
  }
313
313
  }
314
314
  return "";
315
315
  }
316
- var z = Object.prototype.hasOwnProperty, we = {}, Pe = $.ReactDebugCurrentFrame;
316
+ var z = Object.prototype.hasOwnProperty, we = {}, Pe = N.ReactDebugCurrentFrame;
317
317
  function ee(e) {
318
318
  if (e) {
319
319
  var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
@@ -321,11 +321,11 @@ function Vt() {
321
321
  } else
322
322
  Pe.setExtraStackFrame(null);
323
323
  }
324
- function nt(e, t, r, a, f) {
324
+ function ot(e, t, r, a, f) {
325
325
  {
326
- var p = Function.call.bind(z);
326
+ var g = Function.call.bind(z);
327
327
  for (var s in e)
328
- if (p(e, s)) {
328
+ if (g(e, s)) {
329
329
  var i = void 0;
330
330
  try {
331
331
  if (typeof e[s] != "function") {
@@ -340,17 +340,17 @@ function Vt() {
340
340
  }
341
341
  }
342
342
  }
343
- var ot = Array.isArray;
343
+ var at = Array.isArray;
344
344
  function ce(e) {
345
- return ot(e);
345
+ return at(e);
346
346
  }
347
- function at(e) {
347
+ function it(e) {
348
348
  {
349
349
  var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
350
350
  return r;
351
351
  }
352
352
  }
353
- function it(e) {
353
+ function st(e) {
354
354
  try {
355
355
  return Ae(e), !1;
356
356
  } catch {
@@ -361,16 +361,16 @@ function Vt() {
361
361
  return "" + e;
362
362
  }
363
363
  function Be(e) {
364
- if (it(e))
365
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", at(e)), Ae(e);
364
+ if (st(e))
365
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Ae(e);
366
366
  }
367
- var Ie = $.ReactCurrentOwner, st = {
367
+ var Ie = N.ReactCurrentOwner, lt = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
- }, De, Fe;
373
- function lt(e) {
372
+ }, Fe, De;
373
+ function ut(e) {
374
374
  if (z.call(e, "ref")) {
375
375
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
376
376
  if (t && t.isReactWarning)
@@ -378,7 +378,7 @@ function Vt() {
378
378
  }
379
379
  return e.ref !== void 0;
380
380
  }
381
- function ut(e) {
381
+ function ct(e) {
382
382
  if (z.call(e, "key")) {
383
383
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
384
384
  if (t && t.isReactWarning)
@@ -386,13 +386,13 @@ function Vt() {
386
386
  }
387
387
  return e.key !== void 0;
388
388
  }
389
- function ct(e, t) {
389
+ function ft(e, t) {
390
390
  typeof e.ref == "string" && Ie.current;
391
391
  }
392
- function ft(e, t) {
392
+ function dt(e, t) {
393
393
  {
394
394
  var r = function() {
395
- De || (De = !0, S("%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)", t));
395
+ Fe || (Fe = !0, S("%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)", t));
396
396
  };
397
397
  r.isReactWarning = !0, Object.defineProperty(e, "key", {
398
398
  get: r,
@@ -400,10 +400,10 @@ function Vt() {
400
400
  });
401
401
  }
402
402
  }
403
- function dt(e, t) {
403
+ function pt(e, t) {
404
404
  {
405
405
  var r = function() {
406
- Fe || (Fe = !0, S("%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)", t));
406
+ De || (De = !0, S("%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)", t));
407
407
  };
408
408
  r.isReactWarning = !0, Object.defineProperty(e, "ref", {
409
409
  get: r,
@@ -411,7 +411,7 @@ function Vt() {
411
411
  });
412
412
  }
413
413
  }
414
- var pt = function(e, t, r, a, f, p, s) {
414
+ var gt = function(e, t, r, a, f, g, s) {
415
415
  var i = {
416
416
  // This tag allows us to uniquely identify this as a React Element
417
417
  $$typeof: o,
@@ -421,7 +421,7 @@ function Vt() {
421
421
  ref: r,
422
422
  props: s,
423
423
  // Record the component responsible for creating this element.
424
- _owner: p
424
+ _owner: g
425
425
  };
426
426
  return i._store = {}, Object.defineProperty(i._store, "validated", {
427
427
  configurable: !1,
@@ -442,23 +442,23 @@ function Vt() {
442
442
  };
443
443
  function vt(e, t, r, a, f) {
444
444
  {
445
- var p, s = {}, i = null, O = null;
446
- r !== void 0 && (Be(r), i = "" + r), ut(t) && (Be(t.key), i = "" + t.key), lt(t) && (O = t.ref, ct(t, f));
447
- for (p in t)
448
- z.call(t, p) && !st.hasOwnProperty(p) && (s[p] = t[p]);
445
+ var g, s = {}, i = null, O = null;
446
+ r !== void 0 && (Be(r), i = "" + r), ct(t) && (Be(t.key), i = "" + t.key), ut(t) && (O = t.ref, ft(t, f));
447
+ for (g in t)
448
+ z.call(t, g) && !lt.hasOwnProperty(g) && (s[g] = t[g]);
449
449
  if (e && e.defaultProps) {
450
450
  var b = e.defaultProps;
451
- for (p in b)
452
- s[p] === void 0 && (s[p] = b[p]);
451
+ for (g in b)
452
+ s[g] === void 0 && (s[g] = b[g]);
453
453
  }
454
454
  if (i || O) {
455
- var R = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- i && ft(s, R), O && dt(s, R);
455
+ var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
+ i && dt(s, _), O && pt(s, _);
457
457
  }
458
- return pt(e, i, O, f, a, Ie.current, s);
458
+ return gt(e, i, O, f, a, Ie.current, s);
459
459
  }
460
460
  }
461
- var fe = $.ReactCurrentOwner, Me = $.ReactDebugCurrentFrame;
461
+ var fe = N.ReactCurrentOwner, Me = N.ReactDebugCurrentFrame;
462
462
  function Y(e) {
463
463
  if (e) {
464
464
  var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
@@ -471,7 +471,7 @@ function Vt() {
471
471
  function pe(e) {
472
472
  return typeof e == "object" && e !== null && e.$$typeof === o;
473
473
  }
474
- function Ne() {
474
+ function $e() {
475
475
  {
476
476
  if (fe.current) {
477
477
  var e = B(fe.current.type);
@@ -483,13 +483,13 @@ Check the render method of \`` + e + "`.";
483
483
  return "";
484
484
  }
485
485
  }
486
- function gt(e) {
486
+ function mt(e) {
487
487
  return "";
488
488
  }
489
- var $e = {};
490
- function mt(e) {
489
+ var Ne = {};
490
+ function yt(e) {
491
491
  {
492
- var t = Ne();
492
+ var t = $e();
493
493
  if (!t) {
494
494
  var r = typeof e == "string" ? e : e.displayName || e.name;
495
495
  r && (t = `
@@ -504,10 +504,10 @@ Check the top-level render call using <` + r + ">.");
504
504
  if (!e._store || e._store.validated || e.key != null)
505
505
  return;
506
506
  e._store.validated = !0;
507
- var r = mt(t);
508
- if ($e[r])
507
+ var r = yt(t);
508
+ if (Ne[r])
509
509
  return;
510
- $e[r] = !0;
510
+ Ne[r] = !0;
511
511
  var a = "";
512
512
  e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + B(e._owner.type) + "."), Y(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Y(null);
513
513
  }
@@ -524,14 +524,14 @@ Check the top-level render call using <` + r + ">.");
524
524
  else if (pe(e))
525
525
  e._store && (e._store.validated = !0);
526
526
  else if (e) {
527
- var f = _e(e);
527
+ var f = Re(e);
528
528
  if (typeof f == "function" && f !== e.entries)
529
- for (var p = f.call(e), s; !(s = p.next()).done; )
529
+ for (var g = f.call(e), s; !(s = g.next()).done; )
530
530
  pe(s.value) && Le(s.value, t);
531
531
  }
532
532
  }
533
533
  }
534
- function yt(e) {
534
+ function ht(e) {
535
535
  {
536
536
  var t = e.type;
537
537
  if (t == null || typeof t == "string")
@@ -541,13 +541,13 @@ Check the top-level render call using <` + r + ">.");
541
541
  r = t.propTypes;
542
542
  else if (typeof t == "object" && (t.$$typeof === d || // Note: Memo only checks outer props here.
543
543
  // Inner props are checked in the reconciler.
544
- t.$$typeof === x))
544
+ t.$$typeof === R))
545
545
  r = t.propTypes;
546
546
  else
547
547
  return;
548
548
  if (r) {
549
549
  var a = B(t);
550
- nt(r, e.props, "prop", a, e);
550
+ ot(r, e.props, "prop", a, e);
551
551
  } else if (t.PropTypes !== void 0 && !de) {
552
552
  de = !0;
553
553
  var f = B(t);
@@ -556,7 +556,7 @@ Check the top-level render call using <` + r + ">.");
556
556
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
557
  }
558
558
  }
559
- function ht(e) {
559
+ function bt(e) {
560
560
  {
561
561
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
562
562
  var a = t[r];
@@ -569,20 +569,20 @@ Check the top-level render call using <` + r + ">.");
569
569
  }
570
570
  }
571
571
  var Ye = {};
572
- function We(e, t, r, a, f, p) {
572
+ function We(e, t, r, a, f, g) {
573
573
  {
574
574
  var s = U(e);
575
575
  if (!s) {
576
576
  var i = "";
577
577
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
- var O = gt();
579
- O ? i += O : i += Ne();
578
+ var O = mt();
579
+ O ? i += O : i += $e();
580
580
  var b;
581
581
  e === null ? b = "null" : ce(e) ? b = "array" : e !== void 0 && e.$$typeof === o ? (b = "<" + (B(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, i);
582
582
  }
583
- var R = vt(e, t, r, f, p);
584
- if (R == null)
585
- return R;
583
+ var _ = vt(e, t, r, f, g);
584
+ if (_ == null)
585
+ return _;
586
586
  if (s) {
587
587
  var w = t.children;
588
588
  if (w !== void 0)
@@ -597,73 +597,73 @@ Check the top-level render call using <` + r + ">.");
597
597
  Ue(w, e);
598
598
  }
599
599
  if (z.call(t, "key")) {
600
- var L = B(e), T = Object.keys(t).filter(function(St) {
601
- return St !== "key";
602
- }), ve = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
603
- if (!Ye[L + ve]) {
604
- var Et = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
600
+ var L = B(e), T = Object.keys(t).filter(function(xt) {
601
+ return xt !== "key";
602
+ }), ge = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
603
+ if (!Ye[L + ge]) {
604
+ var St = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
605
605
  S(`A props object containing a "key" prop is being spread into JSX:
606
606
  let props = %s;
607
607
  <%s {...props} />
608
608
  React keys must be passed directly to JSX without using spread:
609
609
  let props = %s;
610
- <%s key={someKey} {...props} />`, ve, L, Et, L), Ye[L + ve] = !0;
610
+ <%s key={someKey} {...props} />`, ge, L, St, L), Ye[L + ge] = !0;
611
611
  }
612
612
  }
613
- return e === u ? ht(R) : yt(R), R;
613
+ return e === u ? bt(_) : ht(_), _;
614
614
  }
615
615
  }
616
- function bt(e, t, r) {
616
+ function _t(e, t, r) {
617
617
  return We(e, t, r, !0);
618
618
  }
619
619
  function Rt(e, t, r) {
620
620
  return We(e, t, r, !1);
621
621
  }
622
- var _t = Rt, kt = bt;
623
- ze.Fragment = u, ze.jsx = _t, ze.jsxs = kt;
622
+ var kt = Rt, Et = _t;
623
+ ze.Fragment = u, ze.jsx = kt, ze.jsxs = Et;
624
624
  }()), ze;
625
625
  }
626
- process.env.NODE_ENV === "production" ? Tt.exports = Wt() : Tt.exports = Vt();
627
- var c = Tt.exports;
626
+ process.env.NODE_ENV === "production" ? Ct.exports = Vt() : Ct.exports = zt();
627
+ var c = Ct.exports;
628
628
  let Z = {};
629
- var Ct;
629
+ var jt;
630
630
  ((n) => {
631
- function o({ children: _ }) {
632
- const [d, k] = xt(!1), [v, x] = xt(!1);
631
+ function o({ children: k }) {
632
+ const [d, x] = Ot(!1), [p, R] = Ot(!1);
633
633
  if (Z.onClose = () => {
634
- g.BackButton.set(!1), x(!0), setTimeout(() => {
635
- k(!1), x(!1);
634
+ v.BackButton.set(!1), R(!0), setTimeout(() => {
635
+ x(!1), R(!1);
636
636
  }, 300);
637
- }, Ot(() => {
638
- d ? Z.onClose() : (g.BackButton.set({
637
+ }, Tt(() => {
638
+ d ? Z.onClose() : (v.BackButton.set({
639
639
  callback: () => Z.onClose()
640
- }), k(!0));
640
+ }), x(!0));
641
641
  }, []), !!d)
642
- return /* @__PURE__ */ c.jsx("div", { className: `modal-overlay ${v ? "closing" : ""}`, children: /* @__PURE__ */ c.jsx("div", { className: `modal-popup ${v ? "closing" : ""}`, children: /* @__PURE__ */ c.jsx("div", { children: _ }) }) });
642
+ return /* @__PURE__ */ c.jsx("div", { className: `modal-overlay ${p ? "closing" : ""}`, children: /* @__PURE__ */ c.jsx("div", { className: `modal-popup ${p ? "closing" : ""}`, children: /* @__PURE__ */ c.jsx("div", { children: k }) }) });
643
643
  }
644
644
  n.Content = o;
645
645
  function l({
646
- import_modules: _
646
+ import_modules: k
647
647
  }) {
648
- let [d, k] = xt([]);
649
- return Z.x = (v) => {
650
- k(v ? d.filter((x) => x.key !== v) : []);
651
- }, Ot(() => {
652
- _ && (Z.i = _);
653
- }, []), Z.add = (v, x = Date.now()) => {
654
- k([...d, { key: x, item: v }]);
655
- }, /* @__PURE__ */ c.jsx(c.Fragment, { children: d.map((v) => v.item) });
648
+ let [d, x] = Ot([]);
649
+ return Z.x = (p) => {
650
+ x(p ? d.filter((R) => R.key !== p) : []);
651
+ }, Tt(() => {
652
+ k && (Z.i = k);
653
+ }, []), Z.add = (p, R = Date.now()) => {
654
+ x([...d, { key: R, item: p }]);
655
+ }, /* @__PURE__ */ c.jsx(c.Fragment, { children: d.map((p) => p.item) });
656
656
  }
657
657
  n.Init = l;
658
- function u(_, d) {
659
- Z.add(/* @__PURE__ */ c.jsx(o, { children: _ }, String(Date.now())), d);
658
+ function u(k, d) {
659
+ Z.add(/* @__PURE__ */ c.jsx(o, { children: k }, String(Date.now())), d);
660
660
  }
661
661
  n.Add = u;
662
- function m(_) {
662
+ function m(k) {
663
663
  return {
664
- Open: (v) => {
664
+ Open: (p) => {
665
665
  n.Add(
666
- /* @__PURE__ */ c.jsx(_, { ...v }, (/* @__PURE__ */ new Date()).getTime())
666
+ /* @__PURE__ */ c.jsx(k, { ...p }, (/* @__PURE__ */ new Date()).getTime())
667
667
  );
668
668
  }
669
669
  };
@@ -673,14 +673,14 @@ var Ct;
673
673
  Z.onClose();
674
674
  }
675
675
  n.Close = y;
676
- function j(_, d, k) {
677
- Z.i && Z.i(`${_}/modals/${d}.tsx`).then((v) => {
678
- v.default.Open(k);
676
+ function j(k, d, x) {
677
+ Z.i && Z.i(`${k}/modals/${d}.tsx`).then((p) => {
678
+ p.default.Open(x);
679
679
  });
680
680
  }
681
681
  n.Open = j;
682
- })(Ct || (Ct = {}));
683
- function Mt() {
682
+ })(jt || (jt = {}));
683
+ function $t() {
684
684
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
685
685
  }
686
686
  const Nt = {
@@ -688,12 +688,12 @@ const Nt = {
688
688
  iterations: 7,
689
689
  saltLength: 16
690
690
  };
691
- function At(n) {
692
- const o = Mt();
691
+ function Bt(n) {
692
+ const o = $t();
693
693
  o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...n } : o.CRYPTO_PARAMS = { ...Nt, ...n };
694
694
  }
695
695
  function Ge() {
696
- return Mt().CRYPTO_PARAMS || Nt;
696
+ return $t().CRYPTO_PARAMS || Nt;
697
697
  }
698
698
  const Ze = (n) => {
699
699
  let o = 0;
@@ -708,7 +708,7 @@ const Ze = (n) => {
708
708
  l += m.toString(16).padStart(2, "0");
709
709
  }
710
710
  return l;
711
- }, $t = (n, o) => {
711
+ }, Lt = (n, o) => {
712
712
  let l = n + o;
713
713
  for (let m = 0; m < Ge().iterations; m++)
714
714
  l = Ze(l);
@@ -716,7 +716,7 @@ const Ze = (n) => {
716
716
  for (let m = 0; m < 32; m++)
717
717
  u[m] = parseInt(l.substring(m * 2, m * 2 + 2), 16);
718
718
  return u;
719
- }, Lt = (n, o) => {
719
+ }, Ut = (n, o) => {
720
720
  const l = new Uint8Array(n.length), u = new Uint8Array(n.length);
721
721
  let m = 0;
722
722
  for (let y = 0; y < n.length; y++) {
@@ -726,33 +726,33 @@ const Ze = (n) => {
726
726
  for (let y = 0; y < n.length; y++)
727
727
  l[y] = n[y] ^ u[y];
728
728
  return l;
729
- }, zt = (n) => new TextEncoder().encode(n), Jt = (n) => new TextDecoder().decode(n), qt = (n) => {
729
+ }, Jt = (n) => new TextEncoder().encode(n), qt = (n) => new TextDecoder().decode(n), Kt = (n) => {
730
730
  let o = "";
731
731
  for (let l = 0; l < n.length; l += 8192) {
732
732
  const u = n.slice(l, Math.min(l + 8192, n.length));
733
733
  o += String.fromCharCode.apply(null, Array.from(u));
734
734
  }
735
735
  return btoa(o);
736
- }, Kt = (n) => {
736
+ }, Gt = (n) => {
737
737
  const o = atob(n), l = new Uint8Array(o.length);
738
738
  for (let u = 0; u < o.length; u++)
739
739
  l[u] = o.charCodeAt(u);
740
740
  return l;
741
- }, Gt = (n) => {
741
+ }, Zt = (n) => {
742
742
  try {
743
743
  const o = Ze(
744
744
  Date.now().toString() + Math.random()
745
- ).substring(0, Ge().saltLength * 2), l = Ze(n + o).substring(0, 8), u = $t(Ge().key, o), m = zt(n), y = Lt(m, u), j = qt(y);
745
+ ).substring(0, Ge().saltLength * 2), l = Ze(n + o).substring(0, 8), u = Lt(Ge().key, o), m = Jt(n), y = Ut(m, u), j = Kt(y);
746
746
  return `${o}.${j}.${l}`;
747
747
  } catch {
748
748
  throw new Error("Не удалось зашифровать данные");
749
749
  }
750
- }, Zt = (n) => {
750
+ }, Ht = (n) => {
751
751
  try {
752
752
  const o = n.split(".");
753
753
  if (o.length !== 3)
754
754
  throw new Error("Неверный формат зашифрованных данных");
755
- const l = o[0], u = o[1], m = o[2], y = $t(Ge().key, l), j = Kt(u), _ = Lt(j, y), d = Jt(_);
755
+ const l = o[0], u = o[1], m = o[2], y = Lt(Ge().key, l), j = Gt(u), k = Ut(j, y), d = qt(k);
756
756
  if (Ze(d + l).substring(
757
757
  0,
758
758
  8
@@ -766,11 +766,11 @@ const Ze = (n) => {
766
766
  var ie;
767
767
  ((n) => {
768
768
  n.setKey = (o) => {
769
- At({ key: o });
769
+ Bt({ key: o });
770
770
  }, n.enCode = (o) => {
771
771
  try {
772
772
  const l = JSON.stringify(o);
773
- return Gt(l);
773
+ return Zt(l);
774
774
  } catch {
775
775
  throw new Error("Не удалось зашифровать объект");
776
776
  }
@@ -778,13 +778,13 @@ var ie;
778
778
  try {
779
779
  if (!o || o.length < 10)
780
780
  return !1;
781
- const l = Zt(o);
781
+ const l = Ht(o);
782
782
  return l && JSON.parse(l) || !1;
783
783
  } catch {
784
784
  return !1;
785
785
  }
786
786
  }, n.setSecurityParams = (o, l) => {
787
- At({ iterations: o, saltLength: l });
787
+ Bt({ iterations: o, saltLength: l });
788
788
  };
789
789
  })(ie || (ie = {}));
790
790
  var Je = {};
@@ -797,21 +797,21 @@ var Je = {};
797
797
  * This source code is licensed under the MIT license found in the
798
798
  * LICENSE file in the root directory of this source tree.
799
799
  */
800
- var Bt;
800
+ var It;
801
801
  function Xt() {
802
- if (Bt) return Je;
803
- Bt = 1;
802
+ if (It) return Je;
803
+ It = 1;
804
804
  var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, m = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
805
- function j(_, d, k) {
806
- var v, x = {}, I = null, A = null;
807
- k !== void 0 && (I = "" + k), d.key !== void 0 && (I = "" + d.key), d.ref !== void 0 && (A = d.ref);
808
- for (v in d) u.call(d, v) && !y.hasOwnProperty(v) && (x[v] = d[v]);
809
- if (_ && _.defaultProps) for (v in d = _.defaultProps, d) x[v] === void 0 && (x[v] = d[v]);
810
- return { $$typeof: o, type: _, key: I, ref: A, props: x, _owner: m.current };
805
+ function j(k, d, x) {
806
+ var p, R = {}, I = null, A = null;
807
+ x !== void 0 && (I = "" + x), d.key !== void 0 && (I = "" + d.key), d.ref !== void 0 && (A = d.ref);
808
+ for (p in d) u.call(d, p) && !y.hasOwnProperty(p) && (R[p] = d[p]);
809
+ if (k && k.defaultProps) for (p in d = k.defaultProps, d) R[p] === void 0 && (R[p] = d[p]);
810
+ return { $$typeof: o, type: k, key: I, ref: A, props: R, _owner: m.current };
811
811
  }
812
812
  return Je.Fragment = l, Je.jsx = j, Je.jsxs = j, Je;
813
813
  }
814
- var qe = {};
814
+ var Ke = {};
815
815
  /**
816
816
  * @license React
817
817
  * react-jsx-runtime.development.js
@@ -821,17 +821,17 @@ var qe = {};
821
821
  * This source code is licensed under the MIT license found in the
822
822
  * LICENSE file in the root directory of this source tree.
823
823
  */
824
- var It;
825
- function Ht() {
826
- return It || (It = 1, process.env.NODE_ENV !== "production" && function() {
827
- var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), _ = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), V = Symbol.iterator, Re = "@@iterator";
828
- function _e(e) {
824
+ var Ft;
825
+ function Qt() {
826
+ return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
827
+ var n = P, o = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), k = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), V = Symbol.iterator, _e = "@@iterator";
828
+ function Re(e) {
829
829
  if (e === null || typeof e != "object")
830
830
  return null;
831
- var t = V && e[V] || e[Re];
831
+ var t = V && e[V] || e[_e];
832
832
  return typeof t == "function" ? t : null;
833
833
  }
834
- var $ = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
834
+ var N = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
835
835
  function S(e) {
836
836
  {
837
837
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
@@ -841,18 +841,18 @@ function Ht() {
841
841
  }
842
842
  function ye(e, t, r) {
843
843
  {
844
- var a = $.ReactDebugCurrentFrame, f = a.getStackAddendum();
844
+ var a = N.ReactDebugCurrentFrame, f = a.getStackAddendum();
845
845
  f !== "" && (t += "%s", r = r.concat([f]));
846
- var p = r.map(function(s) {
846
+ var g = r.map(function(s) {
847
847
  return String(s);
848
848
  });
849
- p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
849
+ g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
850
850
  }
851
851
  }
852
- var ke = !1, Ee = !1, h = !1, E = !1, D = !1, M;
852
+ var ke = !1, Ee = !1, h = !1, E = !1, F = !1, M;
853
853
  M = Symbol.for("react.module.reference");
854
854
  function U(e) {
855
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === y || D || e === m || e === k || e === v || E || e === A || ke || Ee || h || typeof e == "object" && e !== null && (e.$$typeof === I || e.$$typeof === x || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === d || // This needs to include all possible module reference object
855
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === y || F || e === m || e === x || e === p || E || e === A || ke || Ee || h || typeof e == "object" && e !== null && (e.$$typeof === I || e.$$typeof === R || e.$$typeof === j || e.$$typeof === k || e.$$typeof === d || // This needs to include all possible module reference object
856
856
  // types supported by any Flight configuration anywhere since
857
857
  // we don't know which Flight build this will end up being used
858
858
  // with.
@@ -884,14 +884,14 @@ function Ht() {
884
884
  return "Profiler";
885
885
  case m:
886
886
  return "StrictMode";
887
- case k:
887
+ case x:
888
888
  return "Suspense";
889
- case v:
889
+ case p:
890
890
  return "SuspenseList";
891
891
  }
892
892
  if (typeof e == "object")
893
893
  switch (e.$$typeof) {
894
- case _:
894
+ case k:
895
895
  var t = e;
896
896
  return ae(t) + ".Consumer";
897
897
  case j:
@@ -899,13 +899,13 @@ function Ht() {
899
899
  return ae(r._context) + ".Provider";
900
900
  case d:
901
901
  return oe(e, e.render, "ForwardRef");
902
- case x:
902
+ case R:
903
903
  var a = e.displayName || null;
904
904
  return a !== null ? a : B(e.type) || "Memo";
905
905
  case I: {
906
- var f = e, p = f._payload, s = f._init;
906
+ var f = e, g = f._payload, s = f._init;
907
907
  try {
908
- return B(s(p));
908
+ return B(s(g));
909
909
  } catch {
910
910
  return null;
911
911
  }
@@ -913,13 +913,13 @@ function Ht() {
913
913
  }
914
914
  return null;
915
915
  }
916
- var F = Object.assign, N = 0, q, K, G, Se, xe, Oe, Te;
916
+ var D = Object.assign, $ = 0, q, K, G, Se, xe, Oe, Te;
917
917
  function Ce() {
918
918
  }
919
919
  Ce.__reactDisabledLog = !0;
920
- function He() {
920
+ function Qe() {
921
921
  {
922
- if (N === 0) {
922
+ if ($ === 0) {
923
923
  q = console.log, K = console.info, G = console.warn, Se = console.error, xe = console.group, Oe = console.groupCollapsed, Te = console.groupEnd;
924
924
  var e = {
925
925
  configurable: !0,
@@ -937,46 +937,46 @@ function Ht() {
937
937
  groupEnd: e
938
938
  });
939
939
  }
940
- N++;
940
+ $++;
941
941
  }
942
942
  }
943
- function Qe() {
943
+ function et() {
944
944
  {
945
- if (N--, N === 0) {
945
+ if ($--, $ === 0) {
946
946
  var e = {
947
947
  configurable: !0,
948
948
  enumerable: !0,
949
949
  writable: !0
950
950
  };
951
951
  Object.defineProperties(console, {
952
- log: F({}, e, {
952
+ log: D({}, e, {
953
953
  value: q
954
954
  }),
955
- info: F({}, e, {
955
+ info: D({}, e, {
956
956
  value: K
957
957
  }),
958
- warn: F({}, e, {
958
+ warn: D({}, e, {
959
959
  value: G
960
960
  }),
961
- error: F({}, e, {
961
+ error: D({}, e, {
962
962
  value: Se
963
963
  }),
964
- group: F({}, e, {
964
+ group: D({}, e, {
965
965
  value: xe
966
966
  }),
967
- groupCollapsed: F({}, e, {
967
+ groupCollapsed: D({}, e, {
968
968
  value: Oe
969
969
  }),
970
- groupEnd: F({}, e, {
970
+ groupEnd: D({}, e, {
971
971
  value: Te
972
972
  })
973
973
  });
974
974
  }
975
- N < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
975
+ $ < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
976
976
  }
977
977
  }
978
- var se = $.ReactCurrentDispatcher, le;
979
- function X(e, t, r) {
978
+ var se = N.ReactCurrentDispatcher, le;
979
+ function H(e, t, r) {
980
980
  {
981
981
  if (le === void 0)
982
982
  try {
@@ -989,16 +989,16 @@ function Ht() {
989
989
  ` + le + e;
990
990
  }
991
991
  }
992
- var ue = !1, H;
992
+ var ue = !1, X;
993
993
  {
994
- var et = typeof WeakMap == "function" ? WeakMap : Map;
995
- H = new et();
994
+ var tt = typeof WeakMap == "function" ? WeakMap : Map;
995
+ X = new tt();
996
996
  }
997
997
  function je(e, t) {
998
998
  if (!e || ue)
999
999
  return "";
1000
1000
  {
1001
- var r = H.get(e);
1001
+ var r = X.get(e);
1002
1002
  if (r !== void 0)
1003
1003
  return r;
1004
1004
  }
@@ -1006,8 +1006,8 @@ function Ht() {
1006
1006
  ue = !0;
1007
1007
  var f = Error.prepareStackTrace;
1008
1008
  Error.prepareStackTrace = void 0;
1009
- var p;
1010
- p = se.current, se.current = null, He();
1009
+ var g;
1010
+ g = se.current, se.current = null, Qe();
1011
1011
  try {
1012
1012
  if (t) {
1013
1013
  var s = function() {
@@ -1044,31 +1044,31 @@ function Ht() {
1044
1044
  if (T && a && typeof T.stack == "string") {
1045
1045
  for (var i = T.stack.split(`
1046
1046
  `), O = a.stack.split(`
1047
- `), b = i.length - 1, R = O.length - 1; b >= 1 && R >= 0 && i[b] !== O[R]; )
1048
- R--;
1049
- for (; b >= 1 && R >= 0; b--, R--)
1050
- if (i[b] !== O[R]) {
1051
- if (b !== 1 || R !== 1)
1047
+ `), b = i.length - 1, _ = O.length - 1; b >= 1 && _ >= 0 && i[b] !== O[_]; )
1048
+ _--;
1049
+ for (; b >= 1 && _ >= 0; b--, _--)
1050
+ if (i[b] !== O[_]) {
1051
+ if (b !== 1 || _ !== 1)
1052
1052
  do
1053
- if (b--, R--, R < 0 || i[b] !== O[R]) {
1053
+ if (b--, _--, _ < 0 || i[b] !== O[_]) {
1054
1054
  var w = `
1055
1055
  ` + i[b].replace(" at new ", " at ");
1056
- return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, w), w;
1056
+ return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, w), w;
1057
1057
  }
1058
- while (b >= 1 && R >= 0);
1058
+ while (b >= 1 && _ >= 0);
1059
1059
  break;
1060
1060
  }
1061
1061
  }
1062
1062
  } finally {
1063
- ue = !1, se.current = p, Qe(), Error.prepareStackTrace = f;
1063
+ ue = !1, se.current = g, et(), Error.prepareStackTrace = f;
1064
1064
  }
1065
- var W = e ? e.displayName || e.name : "", L = W ? X(W) : "";
1066
- return typeof e == "function" && H.set(e, L), L;
1065
+ var W = e ? e.displayName || e.name : "", L = W ? H(W) : "";
1066
+ return typeof e == "function" && X.set(e, L), L;
1067
1067
  }
1068
- function tt(e, t, r) {
1068
+ function rt(e, t, r) {
1069
1069
  return je(e, !1);
1070
1070
  }
1071
- function rt(e) {
1071
+ function nt(e) {
1072
1072
  var t = e.prototype;
1073
1073
  return !!(t && t.isReactComponent);
1074
1074
  }
@@ -1076,32 +1076,32 @@ function Ht() {
1076
1076
  if (e == null)
1077
1077
  return "";
1078
1078
  if (typeof e == "function")
1079
- return je(e, rt(e));
1079
+ return je(e, nt(e));
1080
1080
  if (typeof e == "string")
1081
- return X(e);
1081
+ return H(e);
1082
1082
  switch (e) {
1083
- case k:
1084
- return X("Suspense");
1085
- case v:
1086
- return X("SuspenseList");
1083
+ case x:
1084
+ return H("Suspense");
1085
+ case p:
1086
+ return H("SuspenseList");
1087
1087
  }
1088
1088
  if (typeof e == "object")
1089
1089
  switch (e.$$typeof) {
1090
1090
  case d:
1091
- return tt(e.render);
1092
- case x:
1091
+ return rt(e.render);
1092
+ case R:
1093
1093
  return Q(e.type, t, r);
1094
1094
  case I: {
1095
- var a = e, f = a._payload, p = a._init;
1095
+ var a = e, f = a._payload, g = a._init;
1096
1096
  try {
1097
- return Q(p(f), t, r);
1097
+ return Q(g(f), t, r);
1098
1098
  } catch {
1099
1099
  }
1100
1100
  }
1101
1101
  }
1102
1102
  return "";
1103
1103
  }
1104
- var z = Object.prototype.hasOwnProperty, we = {}, Pe = $.ReactDebugCurrentFrame;
1104
+ var z = Object.prototype.hasOwnProperty, we = {}, Pe = N.ReactDebugCurrentFrame;
1105
1105
  function ee(e) {
1106
1106
  if (e) {
1107
1107
  var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
@@ -1109,11 +1109,11 @@ function Ht() {
1109
1109
  } else
1110
1110
  Pe.setExtraStackFrame(null);
1111
1111
  }
1112
- function nt(e, t, r, a, f) {
1112
+ function ot(e, t, r, a, f) {
1113
1113
  {
1114
- var p = Function.call.bind(z);
1114
+ var g = Function.call.bind(z);
1115
1115
  for (var s in e)
1116
- if (p(e, s)) {
1116
+ if (g(e, s)) {
1117
1117
  var i = void 0;
1118
1118
  try {
1119
1119
  if (typeof e[s] != "function") {
@@ -1128,17 +1128,17 @@ function Ht() {
1128
1128
  }
1129
1129
  }
1130
1130
  }
1131
- var ot = Array.isArray;
1131
+ var at = Array.isArray;
1132
1132
  function ce(e) {
1133
- return ot(e);
1133
+ return at(e);
1134
1134
  }
1135
- function at(e) {
1135
+ function it(e) {
1136
1136
  {
1137
1137
  var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
1138
1138
  return r;
1139
1139
  }
1140
1140
  }
1141
- function it(e) {
1141
+ function st(e) {
1142
1142
  try {
1143
1143
  return Ae(e), !1;
1144
1144
  } catch {
@@ -1149,16 +1149,16 @@ function Ht() {
1149
1149
  return "" + e;
1150
1150
  }
1151
1151
  function Be(e) {
1152
- if (it(e))
1153
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", at(e)), Ae(e);
1152
+ if (st(e))
1153
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Ae(e);
1154
1154
  }
1155
- var Ie = $.ReactCurrentOwner, st = {
1155
+ var Ie = N.ReactCurrentOwner, lt = {
1156
1156
  key: !0,
1157
1157
  ref: !0,
1158
1158
  __self: !0,
1159
1159
  __source: !0
1160
- }, De, Fe;
1161
- function lt(e) {
1160
+ }, Fe, De;
1161
+ function ut(e) {
1162
1162
  if (z.call(e, "ref")) {
1163
1163
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
1164
1164
  if (t && t.isReactWarning)
@@ -1166,7 +1166,7 @@ function Ht() {
1166
1166
  }
1167
1167
  return e.ref !== void 0;
1168
1168
  }
1169
- function ut(e) {
1169
+ function ct(e) {
1170
1170
  if (z.call(e, "key")) {
1171
1171
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
1172
1172
  if (t && t.isReactWarning)
@@ -1174,13 +1174,13 @@ function Ht() {
1174
1174
  }
1175
1175
  return e.key !== void 0;
1176
1176
  }
1177
- function ct(e, t) {
1177
+ function ft(e, t) {
1178
1178
  typeof e.ref == "string" && Ie.current;
1179
1179
  }
1180
- function ft(e, t) {
1180
+ function dt(e, t) {
1181
1181
  {
1182
1182
  var r = function() {
1183
- De || (De = !0, S("%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)", t));
1183
+ Fe || (Fe = !0, S("%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)", t));
1184
1184
  };
1185
1185
  r.isReactWarning = !0, Object.defineProperty(e, "key", {
1186
1186
  get: r,
@@ -1188,10 +1188,10 @@ function Ht() {
1188
1188
  });
1189
1189
  }
1190
1190
  }
1191
- function dt(e, t) {
1191
+ function pt(e, t) {
1192
1192
  {
1193
1193
  var r = function() {
1194
- Fe || (Fe = !0, S("%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)", t));
1194
+ De || (De = !0, S("%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)", t));
1195
1195
  };
1196
1196
  r.isReactWarning = !0, Object.defineProperty(e, "ref", {
1197
1197
  get: r,
@@ -1199,7 +1199,7 @@ function Ht() {
1199
1199
  });
1200
1200
  }
1201
1201
  }
1202
- var pt = function(e, t, r, a, f, p, s) {
1202
+ var gt = function(e, t, r, a, f, g, s) {
1203
1203
  var i = {
1204
1204
  // This tag allows us to uniquely identify this as a React Element
1205
1205
  $$typeof: o,
@@ -1209,7 +1209,7 @@ function Ht() {
1209
1209
  ref: r,
1210
1210
  props: s,
1211
1211
  // Record the component responsible for creating this element.
1212
- _owner: p
1212
+ _owner: g
1213
1213
  };
1214
1214
  return i._store = {}, Object.defineProperty(i._store, "validated", {
1215
1215
  configurable: !1,
@@ -1230,23 +1230,23 @@ function Ht() {
1230
1230
  };
1231
1231
  function vt(e, t, r, a, f) {
1232
1232
  {
1233
- var p, s = {}, i = null, O = null;
1234
- r !== void 0 && (Be(r), i = "" + r), ut(t) && (Be(t.key), i = "" + t.key), lt(t) && (O = t.ref, ct(t));
1235
- for (p in t)
1236
- z.call(t, p) && !st.hasOwnProperty(p) && (s[p] = t[p]);
1233
+ var g, s = {}, i = null, O = null;
1234
+ r !== void 0 && (Be(r), i = "" + r), ct(t) && (Be(t.key), i = "" + t.key), ut(t) && (O = t.ref, ft(t));
1235
+ for (g in t)
1236
+ z.call(t, g) && !lt.hasOwnProperty(g) && (s[g] = t[g]);
1237
1237
  if (e && e.defaultProps) {
1238
1238
  var b = e.defaultProps;
1239
- for (p in b)
1240
- s[p] === void 0 && (s[p] = b[p]);
1239
+ for (g in b)
1240
+ s[g] === void 0 && (s[g] = b[g]);
1241
1241
  }
1242
1242
  if (i || O) {
1243
- var R = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1244
- i && ft(s, R), O && dt(s, R);
1243
+ var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1244
+ i && dt(s, _), O && pt(s, _);
1245
1245
  }
1246
- return pt(e, i, O, f, a, Ie.current, s);
1246
+ return gt(e, i, O, f, a, Ie.current, s);
1247
1247
  }
1248
1248
  }
1249
- var fe = $.ReactCurrentOwner, Me = $.ReactDebugCurrentFrame;
1249
+ var fe = N.ReactCurrentOwner, Me = N.ReactDebugCurrentFrame;
1250
1250
  function Y(e) {
1251
1251
  if (e) {
1252
1252
  var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
@@ -1259,7 +1259,7 @@ function Ht() {
1259
1259
  function pe(e) {
1260
1260
  return typeof e == "object" && e !== null && e.$$typeof === o;
1261
1261
  }
1262
- function Ne() {
1262
+ function $e() {
1263
1263
  {
1264
1264
  if (fe.current) {
1265
1265
  var e = B(fe.current.type);
@@ -1271,13 +1271,13 @@ Check the render method of \`` + e + "`.";
1271
1271
  return "";
1272
1272
  }
1273
1273
  }
1274
- function gt(e) {
1274
+ function mt(e) {
1275
1275
  return "";
1276
1276
  }
1277
- var $e = {};
1278
- function mt(e) {
1277
+ var Ne = {};
1278
+ function yt(e) {
1279
1279
  {
1280
- var t = Ne();
1280
+ var t = $e();
1281
1281
  if (!t) {
1282
1282
  var r = typeof e == "string" ? e : e.displayName || e.name;
1283
1283
  r && (t = `
@@ -1292,10 +1292,10 @@ Check the top-level render call using <` + r + ">.");
1292
1292
  if (!e._store || e._store.validated || e.key != null)
1293
1293
  return;
1294
1294
  e._store.validated = !0;
1295
- var r = mt(t);
1296
- if ($e[r])
1295
+ var r = yt(t);
1296
+ if (Ne[r])
1297
1297
  return;
1298
- $e[r] = !0;
1298
+ Ne[r] = !0;
1299
1299
  var a = "";
1300
1300
  e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + B(e._owner.type) + "."), Y(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), Y(null);
1301
1301
  }
@@ -1312,14 +1312,14 @@ Check the top-level render call using <` + r + ">.");
1312
1312
  else if (pe(e))
1313
1313
  e._store && (e._store.validated = !0);
1314
1314
  else if (e) {
1315
- var f = _e(e);
1315
+ var f = Re(e);
1316
1316
  if (typeof f == "function" && f !== e.entries)
1317
- for (var p = f.call(e), s; !(s = p.next()).done; )
1317
+ for (var g = f.call(e), s; !(s = g.next()).done; )
1318
1318
  pe(s.value) && Le(s.value, t);
1319
1319
  }
1320
1320
  }
1321
1321
  }
1322
- function yt(e) {
1322
+ function ht(e) {
1323
1323
  {
1324
1324
  var t = e.type;
1325
1325
  if (t == null || typeof t == "string")
@@ -1329,13 +1329,13 @@ Check the top-level render call using <` + r + ">.");
1329
1329
  r = t.propTypes;
1330
1330
  else if (typeof t == "object" && (t.$$typeof === d || // Note: Memo only checks outer props here.
1331
1331
  // Inner props are checked in the reconciler.
1332
- t.$$typeof === x))
1332
+ t.$$typeof === R))
1333
1333
  r = t.propTypes;
1334
1334
  else
1335
1335
  return;
1336
1336
  if (r) {
1337
1337
  var a = B(t);
1338
- nt(r, e.props, "prop", a, e);
1338
+ ot(r, e.props, "prop", a, e);
1339
1339
  } else if (t.PropTypes !== void 0 && !de) {
1340
1340
  de = !0;
1341
1341
  var f = B(t);
@@ -1344,7 +1344,7 @@ Check the top-level render call using <` + r + ">.");
1344
1344
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1345
1345
  }
1346
1346
  }
1347
- function ht(e) {
1347
+ function bt(e) {
1348
1348
  {
1349
1349
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
1350
1350
  var a = t[r];
@@ -1357,20 +1357,20 @@ Check the top-level render call using <` + r + ">.");
1357
1357
  }
1358
1358
  }
1359
1359
  var Ye = {};
1360
- function We(e, t, r, a, f, p) {
1360
+ function We(e, t, r, a, f, g) {
1361
1361
  {
1362
1362
  var s = U(e);
1363
1363
  if (!s) {
1364
1364
  var i = "";
1365
1365
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1366
- var O = gt();
1367
- O ? i += O : i += Ne();
1366
+ var O = mt();
1367
+ O ? i += O : i += $e();
1368
1368
  var b;
1369
1369
  e === null ? b = "null" : ce(e) ? b = "array" : e !== void 0 && e.$$typeof === o ? (b = "<" + (B(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, i);
1370
1370
  }
1371
- var R = vt(e, t, r, f, p);
1372
- if (R == null)
1373
- return R;
1371
+ var _ = vt(e, t, r, f, g);
1372
+ if (_ == null)
1373
+ return _;
1374
1374
  if (s) {
1375
1375
  var w = t.children;
1376
1376
  if (w !== void 0)
@@ -1385,38 +1385,38 @@ Check the top-level render call using <` + r + ">.");
1385
1385
  Ue(w, e);
1386
1386
  }
1387
1387
  if (z.call(t, "key")) {
1388
- var L = B(e), T = Object.keys(t).filter(function(St) {
1389
- return St !== "key";
1390
- }), ve = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
1391
- if (!Ye[L + ve]) {
1392
- var Et = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
1388
+ var L = B(e), T = Object.keys(t).filter(function(xt) {
1389
+ return xt !== "key";
1390
+ }), ge = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
1391
+ if (!Ye[L + ge]) {
1392
+ var St = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
1393
1393
  S(`A props object containing a "key" prop is being spread into JSX:
1394
1394
  let props = %s;
1395
1395
  <%s {...props} />
1396
1396
  React keys must be passed directly to JSX without using spread:
1397
1397
  let props = %s;
1398
- <%s key={someKey} {...props} />`, ve, L, Et, L), Ye[L + ve] = !0;
1398
+ <%s key={someKey} {...props} />`, ge, L, St, L), Ye[L + ge] = !0;
1399
1399
  }
1400
1400
  }
1401
- return e === u ? ht(R) : yt(R), R;
1401
+ return e === u ? bt(_) : ht(_), _;
1402
1402
  }
1403
1403
  }
1404
- function bt(e, t, r) {
1404
+ function _t(e, t, r) {
1405
1405
  return We(e, t, r, !0);
1406
1406
  }
1407
1407
  function Rt(e, t, r) {
1408
1408
  return We(e, t, r, !1);
1409
1409
  }
1410
- var _t = Rt, kt = bt;
1411
- qe.Fragment = u, qe.jsx = _t, qe.jsxs = kt;
1412
- }()), qe;
1410
+ var kt = Rt, Et = _t;
1411
+ Ke.Fragment = u, Ke.jsx = kt, Ke.jsxs = Et;
1412
+ }()), Ke;
1413
1413
  }
1414
- process.env.NODE_ENV === "production" ? Xt() : Ht();
1415
- const Qt = "0.0.37", Ut = {
1416
- version: Qt
1417
- }, te = {}, jt = {
1414
+ process.env.NODE_ENV === "production" ? Xt() : Qt();
1415
+ const er = "0.0.37", Yt = {
1416
+ version: er
1417
+ }, te = {}, wt = {
1418
1418
  module: "",
1419
- v: Ut.version,
1419
+ v: Yt.version,
1420
1420
  page: "Main",
1421
1421
  auth: "Auth",
1422
1422
  STORAGE: "f",
@@ -1426,13 +1426,13 @@ function me() {
1426
1426
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
1427
1427
  }
1428
1428
  me().elcrm || (me().elcrm = {});
1429
- Object.assign(me().elcrm, { router: Ut.version });
1429
+ Object.assign(me().elcrm, { router: Yt.version });
1430
1430
  function re(n) {
1431
1431
  const o = me();
1432
- o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...n } : o.ROUTER_PARAMS = { ...jt, ...n };
1432
+ o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...n } : o.ROUTER_PARAMS = { ...wt, ...n };
1433
1433
  }
1434
1434
  function C() {
1435
- return me().ROUTER_PARAMS || jt;
1435
+ return me().ROUTER_PARAMS || wt;
1436
1436
  }
1437
1437
  function he(n) {
1438
1438
  const o = me();
@@ -1442,7 +1442,7 @@ function he(n) {
1442
1442
  } : o.ROUTER_PARAMS.LISTENER = { ...n };
1443
1443
  }
1444
1444
  function ne() {
1445
- return me().ROUTER_PARAMS.LISTENER || jt.LISTENER;
1445
+ return me().ROUTER_PARAMS.LISTENER || wt.LISTENER;
1446
1446
  }
1447
1447
  var be;
1448
1448
  ((n) => {
@@ -1476,23 +1476,23 @@ var be;
1476
1476
  function u({
1477
1477
  module: h = C().module,
1478
1478
  page: E = C().page,
1479
- auth: D = C().auth
1479
+ auth: F = C().auth
1480
1480
  }) {
1481
- re({ page: E, module: h, auth: D }), o();
1481
+ re({ page: E, module: h, auth: F }), o();
1482
1482
  }
1483
1483
  n.Default = u;
1484
1484
  function m(h) {
1485
1485
  let E = (U) => (re({ page: U }), U);
1486
- const [D, M] = P.useState(
1486
+ const [F, M] = P.useState(
1487
1487
  j() || h && E(h) || C().page
1488
1488
  );
1489
1489
  return he({ page: (U) => {
1490
1490
  M(U);
1491
- } }), D;
1491
+ } }), F;
1492
1492
  }
1493
1493
  n.usePage = m;
1494
- function y(h, E = !0, D = {}) {
1495
- re({ page: h, ...D }), sessionStorage.setItem(
1494
+ function y(h, E = !0, F = {}) {
1495
+ re({ page: h, ...F }), sessionStorage.setItem(
1496
1496
  C().STORAGE,
1497
1497
  ie.enCode(C())
1498
1498
  ), E && ne().page(h);
@@ -1502,38 +1502,38 @@ var be;
1502
1502
  return C().page;
1503
1503
  }
1504
1504
  n.getPage = j;
1505
- function _(h) {
1505
+ function k(h) {
1506
1506
  return C().page === h;
1507
1507
  }
1508
- n.isPage = _;
1508
+ n.isPage = k;
1509
1509
  function d(h, E) {
1510
- const [D, M] = P.useState(
1511
- v() || h || C().module
1510
+ const [F, M] = P.useState(
1511
+ p() || h || C().module
1512
1512
  );
1513
- return he({ module: M }), D;
1513
+ return he({ module: M }), F;
1514
1514
  }
1515
1515
  n.useModule = d;
1516
- function k(h, E = !0) {
1516
+ function x(h, E = !0) {
1517
1517
  re({ module: h }), sessionStorage.setItem(
1518
1518
  C().STORAGE,
1519
1519
  ie.enCode(C())
1520
1520
  ), E && ne().module(h);
1521
1521
  }
1522
- n.setModule = k;
1523
- function v() {
1522
+ n.setModule = x;
1523
+ function p() {
1524
1524
  return C().module || "";
1525
1525
  }
1526
- n.getModule = v;
1527
- function x(h) {
1526
+ n.getModule = p;
1527
+ function R(h) {
1528
1528
  return C().module === h;
1529
1529
  }
1530
- n.isModule = x;
1530
+ n.isModule = R;
1531
1531
  function I(h, E) {
1532
1532
  if (typeof h != "function") {
1533
- const [D, M] = P.useState(!E), [U, oe] = P.useState(h || V());
1533
+ const [F, M] = P.useState(!E), [U, oe] = P.useState(h || V());
1534
1534
  return he({ tabs: oe }), E && P.useEffect(() => {
1535
1535
  M(!0);
1536
- }, []), [U, D];
1536
+ }, []), [U, F];
1537
1537
  } else
1538
1538
  he({ tabs: h });
1539
1539
  }
@@ -1549,23 +1549,23 @@ var be;
1549
1549
  return C().tab;
1550
1550
  }
1551
1551
  n.getTabs = V;
1552
- function Re(h) {
1552
+ function _e(h) {
1553
1553
  return C().tab === h;
1554
1554
  }
1555
- n.isTabs = Re;
1556
- function _e(h) {
1555
+ n.isTabs = _e;
1556
+ function Re(h) {
1557
1557
  if (typeof h != "function") {
1558
- const [E, D] = P.useState(h || ye());
1558
+ const [E, F] = P.useState(h || ye());
1559
1559
  return he({ id: (M) => {
1560
- D(M);
1560
+ F(M);
1561
1561
  } }), E;
1562
1562
  } else
1563
1563
  he({ id: h });
1564
1564
  }
1565
- n.useId = _e;
1566
- function $(h) {
1565
+ n.useId = Re;
1566
+ function N(h) {
1567
1567
  }
1568
- n.subId = $;
1568
+ n.subId = N;
1569
1569
  async function S(h, E = !0) {
1570
1570
  re({ id: h }), sessionStorage.setItem(
1571
1571
  C().STORAGE,
@@ -1582,36 +1582,36 @@ var be;
1582
1582
  }
1583
1583
  n.isId = ke;
1584
1584
  async function Ee(h) {
1585
- var E, D, M, U, oe, ae, B, F;
1586
- const { page: N, module: q, tab: K, id: G } = h;
1587
- N !== void 0 && (te.page = N), q !== void 0 && (te.module = q), K !== void 0 && (te.tab = K), G !== void 0 && (te.id = G), re({ ...te }), G !== void 0 && ((D = (E = ne()).id) == null || D.call(E, G)), K !== void 0 && ((U = (M = ne()).tabs) == null || U.call(M, K)), q !== void 0 && ((ae = (oe = ne()).module) == null || ae.call(oe, q)), N !== void 0 && ((F = (B = ne()).page) == null || F.call(B, N)), sessionStorage.setItem(
1585
+ var E, F, M, U, oe, ae, B, D;
1586
+ const { page: $, module: q, tab: K, id: G } = h;
1587
+ $ !== void 0 && (te.page = $), q !== void 0 && (te.module = q), K !== void 0 && (te.tab = K), G !== void 0 && (te.id = G), re({ ...te }), G !== void 0 && ((F = (E = ne()).id) == null || F.call(E, G)), K !== void 0 && ((U = (M = ne()).tabs) == null || U.call(M, K)), q !== void 0 && ((ae = (oe = ne()).module) == null || ae.call(oe, q)), $ !== void 0 && ((D = (B = ne()).page) == null || D.call(B, $)), sessionStorage.setItem(
1588
1588
  C().STORAGE,
1589
1589
  ie.enCode(C())
1590
1590
  );
1591
1591
  }
1592
1592
  n.navigate = Ee;
1593
1593
  })(be || (be = {}));
1594
- let Xe = {};
1595
- function er() {
1594
+ let He = {};
1595
+ function tr() {
1596
1596
  const [n, o] = P.useState([]);
1597
- return Xe.set = (l) => {
1597
+ return He.set = (l) => {
1598
1598
  o([...n, l]);
1599
- }, Xe.del = (l) => {
1599
+ }, He.del = (l) => {
1600
1600
  n.forEach((u, m) => {
1601
1601
  u.key === l && n.splice(m, 1);
1602
1602
  }), o(n);
1603
1603
  }, n.length === 0 ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsx("div", { className: "notice", children: n.map((l) => l.item) });
1604
1604
  }
1605
- function tr(n) {
1605
+ function rr(n) {
1606
1606
  let o = (/* @__PURE__ */ new Date()).getTime();
1607
- n.key = o, Xe.set({ item: /* @__PURE__ */ c.jsx(rr, { data: n }, o), key: o });
1607
+ n.key = o, He.set({ item: /* @__PURE__ */ c.jsx(nr, { data: n }, o), key: o });
1608
1608
  }
1609
- function rr(n) {
1609
+ function nr(n) {
1610
1610
  const o = n.data;
1611
1611
  let [l] = P.useState("show"), [u, m] = P.useState(!1);
1612
1612
  P.useEffect(() => {
1613
1613
  setTimeout(function() {
1614
- m(!0), Xe.del(o.key);
1614
+ m(!0), He.del(o.key);
1615
1615
  }, 5e3);
1616
1616
  }, [o.key]);
1617
1617
  let y;
@@ -1653,26 +1653,26 @@ function rr(n) {
1653
1653
  }
1654
1654
  ) });
1655
1655
  }
1656
- let Dt = {
1657
- Send: tr,
1658
- Init: er
1659
- }, Ke = () => {
1656
+ let Xe = {
1657
+ Send: rr,
1658
+ Init: tr
1659
+ }, qe = () => {
1660
1660
  };
1661
- const nr = ({
1661
+ const or = ({
1662
1662
  children: n,
1663
1663
  title: o,
1664
1664
  isOverlay: l = !0
1665
1665
  }) => {
1666
1666
  const [u, m] = P.useState(!1);
1667
- return Ke = () => {
1667
+ return qe = () => {
1668
1668
  m(!0), setTimeout(() => {
1669
- Yt.onClose();
1669
+ Wt.onClose();
1670
1670
  }, 300);
1671
1671
  }, /* @__PURE__ */ c.jsx(
1672
1672
  "div",
1673
1673
  {
1674
1674
  className: `footer-menu-overlay ${l ? "is-overlay" : ""} ${u ? "closing" : ""}`,
1675
- onClick: Ke,
1675
+ onClick: qe,
1676
1676
  children: /* @__PURE__ */ c.jsxs(
1677
1677
  "div",
1678
1678
  {
@@ -1685,7 +1685,7 @@ const nr = ({
1685
1685
  "button",
1686
1686
  {
1687
1687
  className: "footer-menu-close-btn",
1688
- onClick: Ke,
1688
+ onClick: qe,
1689
1689
  children: "✕"
1690
1690
  }
1691
1691
  )
@@ -1696,36 +1696,53 @@ const nr = ({
1696
1696
  )
1697
1697
  }
1698
1698
  );
1699
- }, Yt = [], Ft = (n, o) => n.findIndex((l) => (l == null ? void 0 : l.page) === o), or = ({ actions: n, children: o, className: l, page: u, setPage: m }) => {
1700
- const [y, j] = P.useState(null), [_, d] = P.useState(
1701
- u ? Ft(n || [], u) : 0
1699
+ }, ar = "_h_1g0ig_1", ir = "_row_1g0ig_14", sr = "_column_1g0ig_17", Dt = {
1700
+ h: ar,
1701
+ row: ir,
1702
+ column: sr
1703
+ }, Wt = [], Mt = (n, o) => n.findIndex((l) => (l == null ? void 0 : l.page) === o), lr = ({
1704
+ actions: n,
1705
+ children: o,
1706
+ className: l,
1707
+ page: u,
1708
+ setPage: m,
1709
+ direction: y = "row"
1710
+ }) => {
1711
+ const [j, k] = P.useState(null), [d, x] = P.useState(
1712
+ u ? Mt(n || [], u) : 0
1702
1713
  );
1703
- return Yt.onClose = () => {
1704
- j(null), d(u ? Ft(n || [], u) : 0);
1705
- }, Ot(() => {
1714
+ return Wt.onClose = () => {
1715
+ k(null), x(u ? Mt(n || [], u) : 0);
1716
+ }, Tt(() => {
1706
1717
  document.addEventListener("blur", () => {
1707
1718
  document.querySelector("footer").style.display = "flex";
1708
1719
  }), document.addEventListener("focus", () => {
1709
1720
  document.querySelector("footer").style.display = "none";
1710
1721
  });
1711
1722
  }, []), /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
1712
- y,
1713
- /* @__PURE__ */ c.jsxs("footer", { className: l, children: [
1714
- o,
1715
- n && /* @__PURE__ */ c.jsx("div", { className: "actions-book", children: n.map((k, v) => /* @__PURE__ */ c.jsx(
1716
- "div",
1717
- {
1718
- "data-active": _ === v ? "true" : "false",
1719
- onClick: () => {
1720
- k.page && (d(v), m == null || m(k.page)), k.callback && (k.callback(), d(v)), k.component && (_ === v ? Ke() : (j(k.component), d(v)));
1721
- },
1722
- children: k.icon
1723
- },
1724
- v
1725
- )) })
1726
- ] })
1723
+ j,
1724
+ /* @__PURE__ */ c.jsxs(
1725
+ "footer",
1726
+ {
1727
+ className: `${Dt.h} ${Dt[y]} ${l} `,
1728
+ children: [
1729
+ o,
1730
+ n && n.map((p, R) => /* @__PURE__ */ c.jsx(
1731
+ "div",
1732
+ {
1733
+ "data-active": d === R ? "true" : "false",
1734
+ onClick: () => {
1735
+ p.page && (x(R), m == null || m(p.page)), p.callback && (p.callback(), x(R)), p.component && (d === R ? qe() : (k(p.component), x(R)));
1736
+ },
1737
+ children: p.icon
1738
+ },
1739
+ R
1740
+ ))
1741
+ ]
1742
+ }
1743
+ )
1727
1744
  ] });
1728
- }, g = window.Telegram.WebApp, ge = { is: !1, MainButton: {}, BackButton: {} };
1745
+ }, v = window.Telegram.WebApp, ve = { is: !1, MainButton: {}, BackButton: {} };
1729
1746
  let J = {};
1730
1747
  J.dark = {
1731
1748
  "--tg-theme-subtitle-text-color": "#98989e",
@@ -1770,56 +1787,56 @@ J.users = {
1770
1787
  "--tg-theme-button-text-color": "#000000",
1771
1788
  "--tg-theme-secondary-bg-color": "#000000"
1772
1789
  };
1773
- g.getUser = () => {
1790
+ v.getUser = () => {
1774
1791
  var n;
1775
- return ((n = g.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : g.initDataUnsafe;
1792
+ return ((n = v.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : v.initDataUnsafe;
1776
1793
  };
1777
- g.Notice = (n, o, l) => {
1794
+ v.Notice = (n, o, l) => {
1778
1795
  var u, m;
1779
- o !== void 0 ? (Dt.Send({ type: n, text: o, thema: l }), (u = g.HapticFeedback) == null || u.notificationOccurred(n)) : (Dt.Send(n), (m = g.HapticFeedback) == null || m.notificationOccurred(n.type));
1796
+ o !== void 0 ? (Xe.Send({ type: n, text: o, thema: l }), (u = v.HapticFeedback) == null || u.notificationOccurred(n)) : (Xe.Send(n), (m = v.HapticFeedback) == null || m.notificationOccurred(n.type));
1780
1797
  };
1781
- g.MainButton.callback = [];
1782
- g.MainButton.set = (n) => {
1783
- ge.is ? ge.MainButton.set(n) : (g.MainButton.callback.forEach((o) => {
1784
- g.MainButton.offClick(o);
1785
- }), g.MainButton.callback = [], typeof n == "boolean" ? g.MainButton.isVisible = !1 : (g.MainButton.text = n.text, n.color && (g.MainButton.color = n.color), n.textColor && (g.MainButton.textColor = n.textColor), g.MainButton.isVisible = !0, g.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, g.MainButton.callback.push(() => {
1798
+ v.MainButton.callback = [];
1799
+ v.MainButton.set = (n) => {
1800
+ ve.is ? ve.MainButton.set(n) : (v.MainButton.callback.forEach((o) => {
1801
+ v.MainButton.offClick(o);
1802
+ }), v.MainButton.callback = [], typeof n == "boolean" ? v.MainButton.isVisible = !1 : (v.MainButton.text = n.text, n.color && (v.MainButton.color = n.color), n.textColor && (v.MainButton.textColor = n.textColor), v.MainButton.isVisible = !0, v.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, v.MainButton.callback.push(() => {
1786
1803
  var o;
1787
1804
  n.page === void 0 ? (o = n.callback) == null || o.call(n) : be.setPage(n.page);
1788
- }), g.MainButton.onClick(g.MainButton.callback[0])));
1805
+ }), v.MainButton.onClick(v.MainButton.callback[0])));
1789
1806
  };
1790
- g.BackButton.state = [!1];
1791
- g.BackButton.listen = [];
1792
- g.BackButton.router = (n) => {
1793
- n === !1 ? (g.BackButton.isVisible = !1, g.BackButton.offClick(g.BackButton.listen[0]), g.BackButton.listen.shift(), g.BackButton.state.length !== 1 && g.BackButton.state.pop()) : (g.BackButton.isVisible = !0, g.BackButton.offClick(g.BackButton.listen[0]), g.BackButton.listen.shift(), g.BackButton.listen.push(() => {
1807
+ v.BackButton.state = [!1];
1808
+ v.BackButton.listen = [];
1809
+ v.BackButton.router = (n) => {
1810
+ n === !1 ? (v.BackButton.isVisible = !1, v.BackButton.offClick(v.BackButton.listen[0]), v.BackButton.listen.shift(), v.BackButton.state.length !== 1 && v.BackButton.state.pop()) : (v.BackButton.isVisible = !0, v.BackButton.offClick(v.BackButton.listen[0]), v.BackButton.listen.shift(), v.BackButton.listen.push(() => {
1794
1811
  var l;
1795
- let o = g.BackButton.state.pop();
1812
+ let o = v.BackButton.state.pop();
1796
1813
  o.page !== void 0 ? be.setPage(o.page) : (l = o.callback) == null || l.call(o);
1797
- }), g.BackButton.onClick(g.BackButton.listen[0]));
1814
+ }), v.BackButton.onClick(v.BackButton.listen[0]));
1798
1815
  };
1799
- g.BackButton.set = (n) => {
1800
- ge.is ? ge.BackButton.set(n) : (g.BackButton.state.push(n), g.BackButton.router(n));
1816
+ v.BackButton.set = (n) => {
1817
+ ve.is ? ve.BackButton.set(n) : (v.BackButton.state.push(n), v.BackButton.router(n));
1801
1818
  };
1802
- g.Init = ({ dev: n }) => {
1819
+ v.Header = ({ dev: n }) => {
1803
1820
  if (n) {
1804
- let [o, l] = P.useState(!1), [u, m] = P.useState(!1), [y, j] = P.useState("dark"), [_, d] = P.useState(!1), [k, v] = P.useState(!1);
1805
- ge.is = !0, ge.MainButton.set = l, ge.BackButton.set = m, P.useEffect(() => {
1821
+ let [o, l] = P.useState(!1), [u, m] = P.useState(!1), [y, j] = P.useState("dark"), [k, d] = P.useState(!1), [x, p] = P.useState(!1);
1822
+ ve.is = !0, ve.MainButton.set = l, ve.BackButton.set = m, P.useEffect(() => {
1806
1823
  J[y]["--tg-theme-bg-color-alpha"] = J[y]["--tg-theme-bg-color"] + "b3", J[y]["--tg-theme-secondary-bg-color-alpha"] = J[y]["--tg-theme-secondary-bg-color"] + "d3";
1807
1824
  for (let A in J[y])
1808
1825
  document.documentElement.style.setProperty(
1809
1826
  A,
1810
1827
  J[y][A]
1811
1828
  );
1812
- g.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1829
+ v.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1813
1830
  "--tg-safe-area-inset-bottom",
1814
1831
  "16px"
1815
1832
  );
1816
1833
  }, []);
1817
- let x = (A) => {
1834
+ let R = (A) => {
1818
1835
  for (let V in J[A])
1819
1836
  document.documentElement.style.setProperty(V, J[A][V]);
1820
1837
  j(A), d(!1);
1821
1838
  }, I = () => {
1822
- d(!1), v(!0);
1839
+ d(!1), p(!0);
1823
1840
  };
1824
1841
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
1825
1842
  /* @__PURE__ */ c.jsxs("header", { className: "debug", children: [
@@ -1834,8 +1851,9 @@ g.Init = ({ dev: n }) => {
1834
1851
  children: "Назад"
1835
1852
  }
1836
1853
  ),
1837
- /* @__PURE__ */ c.jsx("div", { className: "o", onClick: () => d(!_), children: "Меню" })
1854
+ /* @__PURE__ */ c.jsx("div", { className: "o", onClick: () => d(!k), children: "Меню" })
1838
1855
  ] }),
1856
+ /* @__PURE__ */ c.jsx(Xe.Init, {}),
1839
1857
  o && /* @__PURE__ */ c.jsx("div", { className: "mb", children: /* @__PURE__ */ c.jsx(
1840
1858
  "button",
1841
1859
  {
@@ -1845,7 +1863,7 @@ g.Init = ({ dev: n }) => {
1845
1863
  children: o.text
1846
1864
  }
1847
1865
  ) }),
1848
- _ ? /* @__PURE__ */ c.jsxs("div", { className: "tm", children: [
1866
+ k ? /* @__PURE__ */ c.jsxs("div", { className: "tm", children: [
1849
1867
  /* @__PURE__ */ c.jsxs("ul", { children: [
1850
1868
  /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: I, children: "Authorization" }) }),
1851
1869
  /* @__PURE__ */ c.jsx("li", {})
@@ -1857,49 +1875,50 @@ g.Init = ({ dev: n }) => {
1857
1875
  /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
1858
1876
  "button",
1859
1877
  {
1860
- onClick: () => x("dark"),
1878
+ onClick: () => R("dark"),
1861
1879
  children: "Dark"
1862
1880
  }
1863
1881
  ) }),
1864
1882
  /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
1865
1883
  "button",
1866
1884
  {
1867
- onClick: () => x("light"),
1885
+ onClick: () => R("light"),
1868
1886
  children: "Light"
1869
1887
  }
1870
1888
  ) }),
1871
1889
  /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
1872
1890
  "button",
1873
1891
  {
1874
- onClick: () => x("users"),
1892
+ onClick: () => R("users"),
1875
1893
  children: "Users"
1876
1894
  }
1877
1895
  ) })
1878
1896
  ] })
1879
1897
  ] }),
1880
- /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: () => d(!_), children: "Closed" }) })
1898
+ /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx("button", { onClick: () => d(!k), children: "Closed" }) })
1881
1899
  ] })
1882
1900
  ] }) : "",
1883
- k ? /* @__PURE__ */ c.jsx(ar, { setAuthorization: v }) : ""
1901
+ x ? /* @__PURE__ */ c.jsx(ur, { setAuthorization: p }) : ""
1884
1902
  ] });
1885
1903
  } else
1886
1904
  return P.useEffect(() => {
1887
1905
  document.documentElement.style.setProperty(
1888
1906
  "--tg-theme-secondary-bg-color-alpha",
1889
- g.themeParams.secondary_bg_color + "d3"
1907
+ v.themeParams.secondary_bg_color + "d3"
1890
1908
  ), document.documentElement.style.setProperty(
1891
1909
  "--tg-theme-bg-color-alpha",
1892
- g.themeParams.bg_color + "b3"
1893
- ), g.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1910
+ v.themeParams.bg_color + "b3"
1911
+ ), v.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1894
1912
  "--tg-safe-area-inset-bottom",
1895
1913
  "16px"
1896
1914
  );
1897
- }, []), /* @__PURE__ */ c.jsx(c.Fragment, {});
1915
+ }, []), /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx(Xe.Init, {}) });
1898
1916
  };
1899
- g.Modal = Ct;
1900
- g.Footer = or;
1901
- g.FooterMenu = nr;
1902
- const ar = ({ setAuthorization: n }) => {
1917
+ v.Modal = jt;
1918
+ v.Footer = lr;
1919
+ v.FooterMenu = or;
1920
+ v.toggleFooterMenu = qe;
1921
+ const ur = ({ setAuthorization: n }) => {
1903
1922
  let o = {}, l = () => {
1904
1923
  localStorage.setItem("auth", o);
1905
1924
  };
@@ -1909,5 +1928,5 @@ const ar = ({ setAuthorization: n }) => {
1909
1928
  ] }) });
1910
1929
  };
1911
1930
  export {
1912
- g as default
1931
+ v as default
1913
1932
  };