@elcrm/telegram 0.0.103 → 0.0.105

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 F, { useState as G, useEffect as fe } from "react";
1
+ import F, { useState as J, useEffect as fe } from "react";
2
2
  import { createPortal as nr } from "react-dom";
3
- import './index.css';var Ft = { exports: {} }, Qe = {};
3
+ import './index.css';var Ft = { exports: {} }, et = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.min.js
@@ -12,19 +12,19 @@ import './index.css';var Ft = { exports: {} }, Qe = {};
12
12
  */
13
13
  var Ut;
14
14
  function or() {
15
- if (Ut) return Qe;
15
+ if (Ut) return et;
16
16
  Ut = 1;
17
- var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, c = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
18
18
  function k(b, u, S) {
19
- var h, y = {}, m = null, w = null;
19
+ var h, g = {}, m = null, w = null;
20
20
  S !== void 0 && (m = "" + S), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (w = u.ref);
21
- for (h in u) l.call(u, h) && !p.hasOwnProperty(h) && (y[h] = u[h]);
22
- if (b && b.defaultProps) for (h in u = b.defaultProps, u) y[h] === void 0 && (y[h] = u[h]);
23
- return { $$typeof: n, type: b, key: m, ref: w, props: y, _owner: c.current };
21
+ for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (g[h] = u[h]);
22
+ if (b && b.defaultProps) for (h in u = b.defaultProps, u) g[h] === void 0 && (g[h] = u[h]);
23
+ return { $$typeof: n, type: b, key: m, ref: w, props: g, _owner: l.current };
24
24
  }
25
- return Qe.Fragment = a, Qe.jsx = k, Qe.jsxs = k, Qe;
25
+ return et.Fragment = a, et.jsx = k, et.jsxs = k, et;
26
26
  }
27
- var et = {};
27
+ var tt = {};
28
28
  /**
29
29
  * @license React
30
30
  * react-jsx-runtime.development.js
@@ -37,11 +37,11 @@ var et = {};
37
37
  var Yt;
38
38
  function ar() {
39
39
  return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
40
- var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), I = Symbol.iterator, Pe = "@@iterator";
40
+ var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), I = Symbol.iterator, we = "@@iterator";
41
41
  function pe(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
44
- var t = I && e[I] || e[Pe];
44
+ var t = I && e[I] || e[we];
45
45
  return typeof t == "function" ? t : null;
46
46
  }
47
47
  var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -49,23 +49,23 @@ function ar() {
49
49
  {
50
50
  for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
51
51
  o[s - 1] = arguments[s];
52
- we("error", e, o);
52
+ Te("error", e, o);
53
53
  }
54
54
  }
55
- function we(e, t, o) {
55
+ function Te(e, t, o) {
56
56
  {
57
57
  var s = W.ReactDebugCurrentFrame, v = s.getStackAddendum();
58
58
  v !== "" && (t += "%s", o = o.concat([v]));
59
- var g = o.map(function(d) {
59
+ var y = o.map(function(d) {
60
60
  return String(d);
61
61
  });
62
- g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
62
+ y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
63
63
  }
64
64
  }
65
- var Te = !1, Oe = !1, $e = !1, Ne = !1, _ = !1, E;
65
+ var $e = !1, Oe = !1, Ne = !1, Be = !1, _ = !1, E;
66
66
  E = Symbol.for("react.module.reference");
67
67
  function N(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === l || e === p || _ || e === c || e === S || e === h || Ne || e === w || Te || Oe || $e || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === y || e.$$typeof === k || e.$$typeof === b || e.$$typeof === u || // This needs to include all possible module reference object
68
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === S || e === h || Be || e === w || $e || Oe || Ne || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === g || e.$$typeof === k || e.$$typeof === b || e.$$typeof === u || // 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.
@@ -89,13 +89,13 @@ function ar() {
89
89
  if (typeof e == "string")
90
90
  return e;
91
91
  switch (e) {
92
- case l:
92
+ case c:
93
93
  return "Fragment";
94
94
  case a:
95
95
  return "Portal";
96
96
  case p:
97
97
  return "Profiler";
98
- case c:
98
+ case l:
99
99
  return "StrictMode";
100
100
  case S:
101
101
  return "Suspense";
@@ -112,13 +112,13 @@ function ar() {
112
112
  return B(o._context) + ".Provider";
113
113
  case u:
114
114
  return M(e, e.render, "ForwardRef");
115
- case y:
115
+ case g:
116
116
  var s = e.displayName || null;
117
117
  return s !== null ? s : T(e.type) || "Memo";
118
118
  case m: {
119
- var v = e, g = v._payload, d = v._init;
119
+ var v = e, y = v._payload, d = v._init;
120
120
  try {
121
- return T(d(g));
121
+ return T(d(y));
122
122
  } catch {
123
123
  return null;
124
124
  }
@@ -126,18 +126,18 @@ function ar() {
126
126
  }
127
127
  return null;
128
128
  }
129
- var D = Object.assign, Y = 0, ce, Z, X, Q, ee, Be, Ie;
130
- function Me() {
129
+ var D = Object.assign, Y = 0, ce, Z, X, Q, ee, Ie, Me;
130
+ function De() {
131
131
  }
132
- Me.__reactDisabledLog = !0;
133
- function ct() {
132
+ De.__reactDisabledLog = !0;
133
+ function ut() {
134
134
  {
135
135
  if (Y === 0) {
136
- ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Be = console.groupCollapsed, Ie = console.groupEnd;
136
+ ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Ie = console.groupCollapsed, Me = console.groupEnd;
137
137
  var e = {
138
138
  configurable: !0,
139
139
  enumerable: !0,
140
- value: Me,
140
+ value: De,
141
141
  writable: !0
142
142
  };
143
143
  Object.defineProperties(console, {
@@ -153,7 +153,7 @@ function ar() {
153
153
  Y++;
154
154
  }
155
155
  }
156
- function ut() {
156
+ function ft() {
157
157
  {
158
158
  if (Y--, Y === 0) {
159
159
  var e = {
@@ -178,10 +178,10 @@ function ar() {
178
178
  value: ee
179
179
  }),
180
180
  groupCollapsed: D({}, e, {
181
- value: Be
181
+ value: Ie
182
182
  }),
183
183
  groupEnd: D({}, e, {
184
- value: Ie
184
+ value: Me
185
185
  })
186
186
  });
187
187
  }
@@ -204,10 +204,10 @@ function ar() {
204
204
  }
205
205
  var ge = !1, ne;
206
206
  {
207
- var ft = typeof WeakMap == "function" ? WeakMap : Map;
208
- ne = new ft();
207
+ var dt = typeof WeakMap == "function" ? WeakMap : Map;
208
+ ne = new dt();
209
209
  }
210
- function De(e, t) {
210
+ function Fe(e, t) {
211
211
  if (!e || ge)
212
212
  return "";
213
213
  {
@@ -219,8 +219,8 @@ function ar() {
219
219
  ge = !0;
220
220
  var v = Error.prepareStackTrace;
221
221
  Error.prepareStackTrace = void 0;
222
- var g;
223
- g = ve.current, ve.current = null, ct();
222
+ var y;
223
+ y = ve.current, ve.current = null, ut();
224
224
  try {
225
225
  if (t) {
226
226
  var d = function() {
@@ -273,15 +273,15 @@ function ar() {
273
273
  }
274
274
  }
275
275
  } finally {
276
- ge = !1, ve.current = g, ut(), Error.prepareStackTrace = v;
276
+ ge = !1, ve.current = y, ft(), Error.prepareStackTrace = v;
277
277
  }
278
278
  var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
279
279
  return typeof e == "function" && ne.set(e, L), L;
280
280
  }
281
- function dt(e, t, o) {
282
- return De(e, !1);
281
+ function pt(e, t, o) {
282
+ return Fe(e, !1);
283
283
  }
284
- function pt(e) {
284
+ function vt(e) {
285
285
  var t = e.prototype;
286
286
  return !!(t && t.isReactComponent);
287
287
  }
@@ -289,7 +289,7 @@ function ar() {
289
289
  if (e == null)
290
290
  return "";
291
291
  if (typeof e == "function")
292
- return De(e, pt(e));
292
+ return Fe(e, vt(e));
293
293
  if (typeof e == "string")
294
294
  return re(e);
295
295
  switch (e) {
@@ -301,32 +301,32 @@ function ar() {
301
301
  if (typeof e == "object")
302
302
  switch (e.$$typeof) {
303
303
  case u:
304
- return dt(e.render);
305
- case y:
304
+ return pt(e.render);
305
+ case g:
306
306
  return oe(e.type, t, o);
307
307
  case m: {
308
- var s = e, v = s._payload, g = s._init;
308
+ var s = e, v = s._payload, y = s._init;
309
309
  try {
310
- return oe(g(v), t, o);
310
+ return oe(y(v), t, o);
311
311
  } catch {
312
312
  }
313
313
  }
314
314
  }
315
315
  return "";
316
316
  }
317
- var J = Object.prototype.hasOwnProperty, Fe = {}, We = W.ReactDebugCurrentFrame;
317
+ var K = Object.prototype.hasOwnProperty, We = {}, Le = W.ReactDebugCurrentFrame;
318
318
  function ae(e) {
319
319
  if (e) {
320
320
  var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
321
- We.setExtraStackFrame(o);
321
+ Le.setExtraStackFrame(o);
322
322
  } else
323
- We.setExtraStackFrame(null);
323
+ Le.setExtraStackFrame(null);
324
324
  }
325
- function vt(e, t, o, s, v) {
325
+ function ht(e, t, o, s, v) {
326
326
  {
327
- var g = Function.call.bind(J);
327
+ var y = Function.call.bind(K);
328
328
  for (var d in e)
329
- if (g(e, d)) {
329
+ if (y(e, d)) {
330
330
  var f = void 0;
331
331
  try {
332
332
  if (typeof e[d] != "function") {
@@ -337,63 +337,63 @@ function ar() {
337
337
  } catch (R) {
338
338
  f = R;
339
339
  }
340
- f && !(f instanceof Error) && (ae(v), j("%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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in Fe) && (Fe[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
340
+ f && !(f instanceof Error) && (ae(v), j("%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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in We) && (We[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
341
341
  }
342
342
  }
343
343
  }
344
- var ht = Array.isArray;
344
+ var gt = Array.isArray;
345
345
  function ye(e) {
346
- return ht(e);
346
+ return gt(e);
347
347
  }
348
- function gt(e) {
348
+ function yt(e) {
349
349
  {
350
350
  var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
351
  return o;
352
352
  }
353
353
  }
354
- function yt(e) {
354
+ function mt(e) {
355
355
  try {
356
- return Le(e), !1;
356
+ return Ue(e), !1;
357
357
  } catch {
358
358
  return !0;
359
359
  }
360
360
  }
361
- function Le(e) {
361
+ function Ue(e) {
362
362
  return "" + e;
363
363
  }
364
- function Ue(e) {
365
- if (yt(e))
366
- return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gt(e)), Le(e);
364
+ function Ye(e) {
365
+ if (mt(e))
366
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yt(e)), Ue(e);
367
367
  }
368
- var Ye = W.ReactCurrentOwner, mt = {
368
+ var Ve = W.ReactCurrentOwner, bt = {
369
369
  key: !0,
370
370
  ref: !0,
371
371
  __self: !0,
372
372
  __source: !0
373
- }, Ve, ze;
374
- function bt(e) {
375
- if (J.call(e, "ref")) {
373
+ }, ze, qe;
374
+ function _t(e) {
375
+ if (K.call(e, "ref")) {
376
376
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
377
377
  if (t && t.isReactWarning)
378
378
  return !1;
379
379
  }
380
380
  return e.ref !== void 0;
381
381
  }
382
- function _t(e) {
383
- if (J.call(e, "key")) {
382
+ function Rt(e) {
383
+ if (K.call(e, "key")) {
384
384
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
385
385
  if (t && t.isReactWarning)
386
386
  return !1;
387
387
  }
388
388
  return e.key !== void 0;
389
389
  }
390
- function Rt(e, t) {
391
- typeof e.ref == "string" && Ye.current;
392
- }
393
390
  function St(e, t) {
391
+ typeof e.ref == "string" && Ve.current;
392
+ }
393
+ function kt(e, t) {
394
394
  {
395
395
  var o = function() {
396
- Ve || (Ve = !0, j("%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
+ ze || (ze = !0, j("%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));
397
397
  };
398
398
  o.isReactWarning = !0, Object.defineProperty(e, "key", {
399
399
  get: o,
@@ -401,10 +401,10 @@ function ar() {
401
401
  });
402
402
  }
403
403
  }
404
- function kt(e, t) {
404
+ function xt(e, t) {
405
405
  {
406
406
  var o = function() {
407
- ze || (ze = !0, j("%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
+ qe || (qe = !0, j("%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));
408
408
  };
409
409
  o.isReactWarning = !0, Object.defineProperty(e, "ref", {
410
410
  get: o,
@@ -412,7 +412,7 @@ function ar() {
412
412
  });
413
413
  }
414
414
  }
415
- var xt = function(e, t, o, s, v, g, d) {
415
+ var Et = function(e, t, o, s, v, y, d) {
416
416
  var f = {
417
417
  // This tag allows us to uniquely identify this as a React Element
418
418
  $$typeof: n,
@@ -422,7 +422,7 @@ function ar() {
422
422
  ref: o,
423
423
  props: d,
424
424
  // Record the component responsible for creating this element.
425
- _owner: g
425
+ _owner: y
426
426
  };
427
427
  return f._store = {}, Object.defineProperty(f._store, "validated", {
428
428
  configurable: !1,
@@ -441,38 +441,38 @@ function ar() {
441
441
  value: v
442
442
  }), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
443
443
  };
444
- function Et(e, t, o, s, v) {
444
+ function jt(e, t, o, s, v) {
445
445
  {
446
- var g, d = {}, f = null, O = null;
447
- o !== void 0 && (Ue(o), f = "" + o), _t(t) && (Ue(t.key), f = "" + t.key), bt(t) && (O = t.ref, Rt(t, v));
448
- for (g in t)
449
- J.call(t, g) && !mt.hasOwnProperty(g) && (d[g] = t[g]);
446
+ var y, d = {}, f = null, O = null;
447
+ o !== void 0 && (Ye(o), f = "" + o), Rt(t) && (Ye(t.key), f = "" + t.key), _t(t) && (O = t.ref, St(t, v));
448
+ for (y in t)
449
+ K.call(t, y) && !bt.hasOwnProperty(y) && (d[y] = t[y]);
450
450
  if (e && e.defaultProps) {
451
451
  var R = e.defaultProps;
452
- for (g in R)
453
- d[g] === void 0 && (d[g] = R[g]);
452
+ for (y in R)
453
+ d[y] === void 0 && (d[y] = R[y]);
454
454
  }
455
455
  if (f || O) {
456
456
  var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
- f && St(d, x), O && kt(d, x);
457
+ f && kt(d, x), O && xt(d, x);
458
458
  }
459
- return xt(e, f, O, v, s, Ye.current, d);
459
+ return Et(e, f, O, v, s, Ve.current, d);
460
460
  }
461
461
  }
462
- var me = W.ReactCurrentOwner, qe = W.ReactDebugCurrentFrame;
462
+ var me = W.ReactCurrentOwner, He = W.ReactDebugCurrentFrame;
463
463
  function V(e) {
464
464
  if (e) {
465
465
  var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
466
- qe.setExtraStackFrame(o);
466
+ He.setExtraStackFrame(o);
467
467
  } else
468
- qe.setExtraStackFrame(null);
468
+ He.setExtraStackFrame(null);
469
469
  }
470
470
  var be;
471
471
  be = !1;
472
472
  function _e(e) {
473
473
  return typeof e == "object" && e !== null && e.$$typeof === n;
474
474
  }
475
- function He() {
475
+ function Je() {
476
476
  {
477
477
  if (me.current) {
478
478
  var e = T(me.current.type);
@@ -484,13 +484,13 @@ Check the render method of \`` + e + "`.";
484
484
  return "";
485
485
  }
486
486
  }
487
- function jt(e) {
487
+ function Ot(e) {
488
488
  return "";
489
489
  }
490
- var Je = {};
491
- function Ot(e) {
490
+ var Ke = {};
491
+ function At(e) {
492
492
  {
493
- var t = He();
493
+ var t = Je();
494
494
  if (!t) {
495
495
  var o = typeof e == "string" ? e : e.displayName || e.name;
496
496
  o && (t = `
@@ -500,39 +500,39 @@ Check the top-level render call using <` + o + ">.");
500
500
  return t;
501
501
  }
502
502
  }
503
- function Ke(e, t) {
503
+ function Ge(e, t) {
504
504
  {
505
505
  if (!e._store || e._store.validated || e.key != null)
506
506
  return;
507
507
  e._store.validated = !0;
508
- var o = Ot(t);
509
- if (Je[o])
508
+ var o = At(t);
509
+ if (Ke[o])
510
510
  return;
511
- Je[o] = !0;
511
+ Ke[o] = !0;
512
512
  var s = "";
513
513
  e && e._owner && e._owner !== me.current && (s = " It was passed a child from " + T(e._owner.type) + "."), V(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, s), V(null);
514
514
  }
515
515
  }
516
- function Ge(e, t) {
516
+ function Ze(e, t) {
517
517
  {
518
518
  if (typeof e != "object")
519
519
  return;
520
520
  if (ye(e))
521
521
  for (var o = 0; o < e.length; o++) {
522
522
  var s = e[o];
523
- _e(s) && Ke(s, t);
523
+ _e(s) && Ge(s, t);
524
524
  }
525
525
  else if (_e(e))
526
526
  e._store && (e._store.validated = !0);
527
527
  else if (e) {
528
528
  var v = pe(e);
529
529
  if (typeof v == "function" && v !== e.entries)
530
- for (var g = v.call(e), d; !(d = g.next()).done; )
531
- _e(d.value) && Ke(d.value, t);
530
+ for (var y = v.call(e), d; !(d = y.next()).done; )
531
+ _e(d.value) && Ge(d.value, t);
532
532
  }
533
533
  }
534
534
  }
535
- function At(e) {
535
+ function Ct(e) {
536
536
  {
537
537
  var t = e.type;
538
538
  if (t == null || typeof t == "string")
@@ -542,13 +542,13 @@ Check the top-level render call using <` + o + ">.");
542
542
  o = t.propTypes;
543
543
  else if (typeof t == "object" && (t.$$typeof === u || // Note: Memo only checks outer props here.
544
544
  // Inner props are checked in the reconciler.
545
- t.$$typeof === y))
545
+ t.$$typeof === g))
546
546
  o = t.propTypes;
547
547
  else
548
548
  return;
549
549
  if (o) {
550
550
  var s = T(t);
551
- vt(o, e.props, "prop", s, e);
551
+ ht(o, e.props, "prop", s, e);
552
552
  } else if (t.PropTypes !== void 0 && !be) {
553
553
  be = !0;
554
554
  var v = T(t);
@@ -557,7 +557,7 @@ Check the top-level render call using <` + o + ">.");
557
557
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
558
558
  }
559
559
  }
560
- function Ct(e) {
560
+ function Pt(e) {
561
561
  {
562
562
  for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
563
563
  var s = t[o];
@@ -569,19 +569,19 @@ Check the top-level render call using <` + o + ">.");
569
569
  e.ref !== null && (V(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
570
570
  }
571
571
  }
572
- var Ze = {};
573
- function Xe(e, t, o, s, v, g) {
572
+ var Xe = {};
573
+ function Qe(e, t, o, s, v, y) {
574
574
  {
575
575
  var d = N(e);
576
576
  if (!d) {
577
577
  var f = "";
578
578
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " 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 O = jt();
580
- O ? f += O : f += He();
579
+ var O = Ot();
580
+ O ? f += O : f += Je();
581
581
  var R;
582
582
  e === null ? R = "null" : ye(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + (T(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, f);
583
583
  }
584
- var x = Et(e, t, o, v, g);
584
+ var x = jt(e, t, o, v, y);
585
585
  if (x == null)
586
586
  return x;
587
587
  if (d) {
@@ -590,42 +590,47 @@ Check the top-level render call using <` + o + ">.");
590
590
  if (s)
591
591
  if (ye(P)) {
592
592
  for (var z = 0; z < P.length; z++)
593
- Ge(P[z], e);
593
+ Ze(P[z], e);
594
594
  Object.freeze && Object.freeze(P);
595
595
  } else
596
596
  j("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
- Ge(P, e);
598
+ Ze(P, e);
599
599
  }
600
- if (J.call(t, "key")) {
601
- var L = T(e), C = Object.keys(t).filter(function(Bt) {
602
- return Bt !== "key";
600
+ if (K.call(t, "key")) {
601
+ var L = T(e), C = Object.keys(t).filter(function(It) {
602
+ return It !== "key";
603
603
  }), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
604
- if (!Ze[L + Re]) {
605
- var Nt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
604
+ if (!Xe[L + Re]) {
605
+ var Bt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
606
606
  j(`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} />`, Re, L, Nt, L), Ze[L + Re] = !0;
611
+ <%s key={someKey} {...props} />`, Re, L, Bt, L), Xe[L + Re] = !0;
612
612
  }
613
613
  }
614
- return e === l ? Ct(x) : At(x), x;
614
+ return e === c ? Pt(x) : Ct(x), x;
615
615
  }
616
616
  }
617
- function Pt(e, t, o) {
618
- return Xe(e, t, o, !0);
619
- }
620
617
  function wt(e, t, o) {
621
- return Xe(e, t, o, !1);
618
+ return Qe(e, t, o, !0);
622
619
  }
623
- var Tt = wt, $t = Pt;
624
- et.Fragment = l, et.jsx = Tt, et.jsxs = $t;
625
- }()), et;
620
+ function Tt(e, t, o) {
621
+ return Qe(e, t, o, !1);
622
+ }
623
+ var $t = Tt, Nt = wt;
624
+ tt.Fragment = c, tt.jsx = $t, tt.jsxs = Nt;
625
+ }()), tt;
626
626
  }
627
627
  process.env.NODE_ENV === "production" ? Ft.exports = or() : Ft.exports = ar();
628
628
  var i = Ft.exports;
629
+ const sr = "_o_15jl5_2", ir = "_x_15jl5_16", lr = "_p_15jl5_20", ot = {
630
+ o: sr,
631
+ x: ir,
632
+ p: lr
633
+ };
629
634
  let q = {};
630
635
  var Wt;
631
636
  ((r) => {
@@ -634,33 +639,33 @@ var Wt;
634
639
  onCallbackModal: u,
635
640
  nameModal: S
636
641
  }) {
637
- const [h, y] = G(!1), [m, w] = G(!1);
642
+ const [h, g] = J(!1), [m, w] = J(!1);
638
643
  if (q[S].onClose = () => {
639
644
  $.BackButton(!1), w(!0), setTimeout(() => {
640
- y(!1), w(!1), u == null || u(), q.x(S);
645
+ g(!1), w(!1), u == null || u(), q.x(S);
641
646
  }, 300);
642
647
  }, fe(() => {
643
648
  h ? q[S].onClose() : ($.BackButton({
644
649
  callback: () => q[S].onClose()
645
- }), y(!0));
650
+ }), g(!0));
646
651
  }, []), !!h)
647
- return /* @__PURE__ */ i.jsx("div", { className: `modal-overlay ${m ? "closing" : ""}`, children: /* @__PURE__ */ i.jsx("div", { className: `modal-popup ${m ? "closing" : ""}`, children: /* @__PURE__ */ i.jsx("div", { children: b }) }) });
652
+ return /* @__PURE__ */ i.jsx("div", { className: Pe(ot.o, m && ot.x), children: /* @__PURE__ */ i.jsx("div", { className: Pe(ot.p, m && ot.x), children: /* @__PURE__ */ i.jsx("div", { children: b }) }) });
648
653
  }
649
654
  r.Content = n;
650
655
  function a({
651
656
  import_modules: b
652
657
  }) {
653
- let [u, S] = G([]);
658
+ let [u, S] = J([]);
654
659
  return q.x = (h) => {
655
- S(h ? u.filter((y) => y.key !== h) : []);
660
+ S(h ? u.filter((g) => g.key !== h) : []);
656
661
  }, fe(() => {
657
662
  b && (q.i = b);
658
- }, []), q.add = (h, y = Date.now()) => {
659
- S([...u, { key: y, item: h }]);
663
+ }, []), q.add = (h, g = Date.now()) => {
664
+ S([...u, { key: g, item: h }]);
660
665
  }, /* @__PURE__ */ i.jsx(i.Fragment, { children: u.map((h) => h.item) });
661
666
  }
662
667
  r.Init = a;
663
- function l(b, u) {
668
+ function c(b, u) {
664
669
  q.add(
665
670
  /* @__PURE__ */ i.jsx(
666
671
  n,
@@ -674,18 +679,18 @@ var Wt;
674
679
  u
675
680
  );
676
681
  }
677
- r.Add = l;
678
- function c(b, u = Date.now().toString()) {
682
+ r.Add = c;
683
+ function l(b, u = Date.now().toString()) {
679
684
  return q[u] = {}, {
680
- Open: (y) => {
685
+ Open: (g) => {
681
686
  r.Add(
682
687
  /* @__PURE__ */ i.jsx(
683
688
  b,
684
689
  {
685
- ...y,
690
+ ...g,
686
691
  onCallbackModal: (m) => {
687
692
  var w;
688
- (w = y.callback) == null || w.call(y, m);
693
+ (w = g.callback) == null || w.call(g, m);
689
694
  },
690
695
  nameModal: u
691
696
  },
@@ -696,14 +701,14 @@ var Wt;
696
701
  }
697
702
  };
698
703
  }
699
- r.Create = c;
704
+ r.Create = l;
700
705
  function p(b) {
701
706
  q[b].onClose();
702
707
  }
703
708
  r.Close = p;
704
709
  function k(b, u, S, h) {
705
- q.i && (h && (S.callback = h), q.i(`${b}/modals/${u}.tsx`).then((y) => {
706
- y.default.Open(S);
710
+ q.i && (h && (S.callback = h), q.i(`${b}/modals/${u}.tsx`).then((g) => {
711
+ g.default.Open(S);
707
712
  }));
708
713
  }
709
714
  r.Open = k;
@@ -720,71 +725,71 @@ function Vt(r) {
720
725
  const n = Zt();
721
726
  n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...Xt, ...r };
722
727
  }
723
- function at() {
728
+ function it() {
724
729
  return Zt().CRYPTO_PARAMS || Xt;
725
730
  }
726
- const st = (r) => {
731
+ const lt = (r) => {
727
732
  let n = 0;
728
- for (let l = 0; l < r.length; l++) {
729
- const c = r.charCodeAt(l);
730
- n = (n << 5) - n + c, n = n & n;
733
+ for (let c = 0; c < r.length; c++) {
734
+ const l = r.charCodeAt(c);
735
+ n = (n << 5) - n + l, n = n & n;
731
736
  }
732
737
  n = Math.abs(n);
733
738
  let a = "";
734
- for (let l = 0; l < 64; l++) {
735
- const c = (n ^ l * 197) & 255;
736
- a += c.toString(16).padStart(2, "0");
739
+ for (let c = 0; c < 64; c++) {
740
+ const l = (n ^ c * 197) & 255;
741
+ a += l.toString(16).padStart(2, "0");
737
742
  }
738
743
  return a;
739
744
  }, Qt = (r, n) => {
740
745
  let a = r + n;
741
- for (let c = 0; c < at().iterations; c++)
742
- a = st(a);
743
- const l = new Uint8Array(32);
744
- for (let c = 0; c < 32; c++)
745
- l[c] = parseInt(a.substring(c * 2, c * 2 + 2), 16);
746
- return l;
746
+ for (let l = 0; l < it().iterations; l++)
747
+ a = lt(a);
748
+ const c = new Uint8Array(32);
749
+ for (let l = 0; l < 32; l++)
750
+ c[l] = parseInt(a.substring(l * 2, l * 2 + 2), 16);
751
+ return c;
747
752
  }, er = (r, n) => {
748
- const a = new Uint8Array(r.length), l = new Uint8Array(r.length);
749
- let c = 0;
753
+ const a = new Uint8Array(r.length), c = new Uint8Array(r.length);
754
+ let l = 0;
750
755
  for (let p = 0; p < r.length; p++) {
751
756
  const k = p % n.length;
752
- c = n[k] + p + c & 255, l[p] = c;
757
+ l = n[k] + p + l & 255, c[p] = l;
753
758
  }
754
759
  for (let p = 0; p < r.length; p++)
755
- a[p] = r[p] ^ l[p];
760
+ a[p] = r[p] ^ c[p];
756
761
  return a;
757
- }, sr = (r) => new TextEncoder().encode(r), ir = (r) => new TextDecoder().decode(r), lr = (r) => {
762
+ }, cr = (r) => new TextEncoder().encode(r), ur = (r) => new TextDecoder().decode(r), fr = (r) => {
758
763
  let n = "";
759
764
  for (let a = 0; a < r.length; a += 8192) {
760
- const l = r.slice(a, Math.min(a + 8192, r.length));
761
- n += String.fromCharCode.apply(null, Array.from(l));
765
+ const c = r.slice(a, Math.min(a + 8192, r.length));
766
+ n += String.fromCharCode.apply(null, Array.from(c));
762
767
  }
763
768
  return btoa(n);
764
- }, cr = (r) => {
769
+ }, dr = (r) => {
765
770
  const n = atob(r), a = new Uint8Array(n.length);
766
- for (let l = 0; l < n.length; l++)
767
- a[l] = n.charCodeAt(l);
771
+ for (let c = 0; c < n.length; c++)
772
+ a[c] = n.charCodeAt(c);
768
773
  return a;
769
- }, ur = (r) => {
774
+ }, pr = (r) => {
770
775
  try {
771
- const n = st(
776
+ const n = lt(
772
777
  Date.now().toString() + Math.random()
773
- ).substring(0, at().saltLength * 2), a = st(r + n).substring(0, 8), l = Qt(at().key, n), c = sr(r), p = er(c, l), k = lr(p);
778
+ ).substring(0, it().saltLength * 2), a = lt(r + n).substring(0, 8), c = Qt(it().key, n), l = cr(r), p = er(l, c), k = fr(p);
774
779
  return `${n}.${k}.${a}`;
775
780
  } catch {
776
781
  throw new Error("Не удалось зашифровать данные");
777
782
  }
778
- }, fr = (r) => {
783
+ }, vr = (r) => {
779
784
  try {
780
785
  const n = r.split(".");
781
786
  if (n.length !== 3)
782
787
  throw new Error("Неверный формат зашифрованных данных");
783
- const a = n[0], l = n[1], c = n[2], p = Qt(at().key, a), k = cr(l), b = er(k, p), u = ir(b);
784
- if (st(u + a).substring(
788
+ const a = n[0], c = n[1], l = n[2], p = Qt(it().key, a), k = dr(c), b = er(k, p), u = ur(b);
789
+ if (lt(u + a).substring(
785
790
  0,
786
791
  8
787
- ) !== c)
792
+ ) !== l)
788
793
  throw new Error("Контрольная сумма не совпадает");
789
794
  return u;
790
795
  } catch {
@@ -798,7 +803,7 @@ var ue;
798
803
  }, r.enCode = (n) => {
799
804
  try {
800
805
  const a = JSON.stringify(n);
801
- return ur(a);
806
+ return pr(a);
802
807
  } catch {
803
808
  throw new Error("Не удалось зашифровать объект");
804
809
  }
@@ -806,7 +811,7 @@ var ue;
806
811
  try {
807
812
  if (!n || n.length < 10)
808
813
  return !1;
809
- const a = fr(n);
814
+ const a = vr(n);
810
815
  return a && JSON.parse(a) || !1;
811
816
  } catch {
812
817
  return !1;
@@ -815,7 +820,7 @@ var ue;
815
820
  Vt({ iterations: n, saltLength: a });
816
821
  };
817
822
  })(ue || (ue = {}));
818
- var tt = {};
823
+ var rt = {};
819
824
  /**
820
825
  * @license React
821
826
  * react-jsx-runtime.production.min.js
@@ -826,20 +831,20 @@ var tt = {};
826
831
  * LICENSE file in the root directory of this source tree.
827
832
  */
828
833
  var zt;
829
- function dr() {
830
- if (zt) return tt;
834
+ function hr() {
835
+ if (zt) return rt;
831
836
  zt = 1;
832
- var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, c = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
837
+ var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
833
838
  function k(b, u, S) {
834
- var h, y = {}, m = null, w = null;
839
+ var h, g = {}, m = null, w = null;
835
840
  S !== void 0 && (m = "" + S), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (w = u.ref);
836
- for (h in u) l.call(u, h) && !p.hasOwnProperty(h) && (y[h] = u[h]);
837
- if (b && b.defaultProps) for (h in u = b.defaultProps, u) y[h] === void 0 && (y[h] = u[h]);
838
- return { $$typeof: n, type: b, key: m, ref: w, props: y, _owner: c.current };
841
+ for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (g[h] = u[h]);
842
+ if (b && b.defaultProps) for (h in u = b.defaultProps, u) g[h] === void 0 && (g[h] = u[h]);
843
+ return { $$typeof: n, type: b, key: m, ref: w, props: g, _owner: l.current };
839
844
  }
840
- return tt.Fragment = a, tt.jsx = k, tt.jsxs = k, tt;
845
+ return rt.Fragment = a, rt.jsx = k, rt.jsxs = k, rt;
841
846
  }
842
- var nt = {};
847
+ var at = {};
843
848
  /**
844
849
  * @license React
845
850
  * react-jsx-runtime.development.js
@@ -850,13 +855,13 @@ var nt = {};
850
855
  * LICENSE file in the root directory of this source tree.
851
856
  */
852
857
  var qt;
853
- function pr() {
858
+ function gr() {
854
859
  return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
855
- var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), I = Symbol.iterator, Pe = "@@iterator";
860
+ var r = F, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), I = Symbol.iterator, we = "@@iterator";
856
861
  function pe(e) {
857
862
  if (e === null || typeof e != "object")
858
863
  return null;
859
- var t = I && e[I] || e[Pe];
864
+ var t = I && e[I] || e[we];
860
865
  return typeof t == "function" ? t : null;
861
866
  }
862
867
  var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -864,23 +869,23 @@ function pr() {
864
869
  {
865
870
  for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
866
871
  o[s - 1] = arguments[s];
867
- we("error", e, o);
872
+ Te("error", e, o);
868
873
  }
869
874
  }
870
- function we(e, t, o) {
875
+ function Te(e, t, o) {
871
876
  {
872
877
  var s = W.ReactDebugCurrentFrame, v = s.getStackAddendum();
873
878
  v !== "" && (t += "%s", o = o.concat([v]));
874
- var g = o.map(function(d) {
879
+ var y = o.map(function(d) {
875
880
  return String(d);
876
881
  });
877
- g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
882
+ y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
878
883
  }
879
884
  }
880
- var Te = !1, Oe = !1, $e = !1, Ne = !1, _ = !1, E;
885
+ var $e = !1, Oe = !1, Ne = !1, Be = !1, _ = !1, E;
881
886
  E = Symbol.for("react.module.reference");
882
887
  function N(e) {
883
- return !!(typeof e == "string" || typeof e == "function" || e === l || e === p || _ || e === c || e === S || e === h || Ne || e === w || Te || Oe || $e || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === y || e.$$typeof === k || e.$$typeof === b || e.$$typeof === u || // This needs to include all possible module reference object
888
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === S || e === h || Be || e === w || $e || Oe || Ne || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === g || e.$$typeof === k || e.$$typeof === b || e.$$typeof === u || // This needs to include all possible module reference object
884
889
  // types supported by any Flight configuration anywhere since
885
890
  // we don't know which Flight build this will end up being used
886
891
  // with.
@@ -904,13 +909,13 @@ function pr() {
904
909
  if (typeof e == "string")
905
910
  return e;
906
911
  switch (e) {
907
- case l:
912
+ case c:
908
913
  return "Fragment";
909
914
  case a:
910
915
  return "Portal";
911
916
  case p:
912
917
  return "Profiler";
913
- case c:
918
+ case l:
914
919
  return "StrictMode";
915
920
  case S:
916
921
  return "Suspense";
@@ -927,13 +932,13 @@ function pr() {
927
932
  return B(o._context) + ".Provider";
928
933
  case u:
929
934
  return M(e, e.render, "ForwardRef");
930
- case y:
935
+ case g:
931
936
  var s = e.displayName || null;
932
937
  return s !== null ? s : T(e.type) || "Memo";
933
938
  case m: {
934
- var v = e, g = v._payload, d = v._init;
939
+ var v = e, y = v._payload, d = v._init;
935
940
  try {
936
- return T(d(g));
941
+ return T(d(y));
937
942
  } catch {
938
943
  return null;
939
944
  }
@@ -941,18 +946,18 @@ function pr() {
941
946
  }
942
947
  return null;
943
948
  }
944
- var D = Object.assign, Y = 0, ce, Z, X, Q, ee, Be, Ie;
945
- function Me() {
949
+ var D = Object.assign, Y = 0, ce, Z, X, Q, ee, Ie, Me;
950
+ function De() {
946
951
  }
947
- Me.__reactDisabledLog = !0;
948
- function ct() {
952
+ De.__reactDisabledLog = !0;
953
+ function ut() {
949
954
  {
950
955
  if (Y === 0) {
951
- ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Be = console.groupCollapsed, Ie = console.groupEnd;
956
+ ce = console.log, Z = console.info, X = console.warn, Q = console.error, ee = console.group, Ie = console.groupCollapsed, Me = console.groupEnd;
952
957
  var e = {
953
958
  configurable: !0,
954
959
  enumerable: !0,
955
- value: Me,
960
+ value: De,
956
961
  writable: !0
957
962
  };
958
963
  Object.defineProperties(console, {
@@ -968,7 +973,7 @@ function pr() {
968
973
  Y++;
969
974
  }
970
975
  }
971
- function ut() {
976
+ function ft() {
972
977
  {
973
978
  if (Y--, Y === 0) {
974
979
  var e = {
@@ -993,10 +998,10 @@ function pr() {
993
998
  value: ee
994
999
  }),
995
1000
  groupCollapsed: D({}, e, {
996
- value: Be
1001
+ value: Ie
997
1002
  }),
998
1003
  groupEnd: D({}, e, {
999
- value: Ie
1004
+ value: Me
1000
1005
  })
1001
1006
  });
1002
1007
  }
@@ -1019,10 +1024,10 @@ function pr() {
1019
1024
  }
1020
1025
  var ge = !1, ne;
1021
1026
  {
1022
- var ft = typeof WeakMap == "function" ? WeakMap : Map;
1023
- ne = new ft();
1027
+ var dt = typeof WeakMap == "function" ? WeakMap : Map;
1028
+ ne = new dt();
1024
1029
  }
1025
- function De(e, t) {
1030
+ function Fe(e, t) {
1026
1031
  if (!e || ge)
1027
1032
  return "";
1028
1033
  {
@@ -1034,8 +1039,8 @@ function pr() {
1034
1039
  ge = !0;
1035
1040
  var v = Error.prepareStackTrace;
1036
1041
  Error.prepareStackTrace = void 0;
1037
- var g;
1038
- g = ve.current, ve.current = null, ct();
1042
+ var y;
1043
+ y = ve.current, ve.current = null, ut();
1039
1044
  try {
1040
1045
  if (t) {
1041
1046
  var d = function() {
@@ -1088,15 +1093,15 @@ function pr() {
1088
1093
  }
1089
1094
  }
1090
1095
  } finally {
1091
- ge = !1, ve.current = g, ut(), Error.prepareStackTrace = v;
1096
+ ge = !1, ve.current = y, ft(), Error.prepareStackTrace = v;
1092
1097
  }
1093
1098
  var z = e ? e.displayName || e.name : "", L = z ? re(z) : "";
1094
1099
  return typeof e == "function" && ne.set(e, L), L;
1095
1100
  }
1096
- function dt(e, t, o) {
1097
- return De(e, !1);
1101
+ function pt(e, t, o) {
1102
+ return Fe(e, !1);
1098
1103
  }
1099
- function pt(e) {
1104
+ function vt(e) {
1100
1105
  var t = e.prototype;
1101
1106
  return !!(t && t.isReactComponent);
1102
1107
  }
@@ -1104,7 +1109,7 @@ function pr() {
1104
1109
  if (e == null)
1105
1110
  return "";
1106
1111
  if (typeof e == "function")
1107
- return De(e, pt(e));
1112
+ return Fe(e, vt(e));
1108
1113
  if (typeof e == "string")
1109
1114
  return re(e);
1110
1115
  switch (e) {
@@ -1116,32 +1121,32 @@ function pr() {
1116
1121
  if (typeof e == "object")
1117
1122
  switch (e.$$typeof) {
1118
1123
  case u:
1119
- return dt(e.render);
1120
- case y:
1124
+ return pt(e.render);
1125
+ case g:
1121
1126
  return oe(e.type, t, o);
1122
1127
  case m: {
1123
- var s = e, v = s._payload, g = s._init;
1128
+ var s = e, v = s._payload, y = s._init;
1124
1129
  try {
1125
- return oe(g(v), t, o);
1130
+ return oe(y(v), t, o);
1126
1131
  } catch {
1127
1132
  }
1128
1133
  }
1129
1134
  }
1130
1135
  return "";
1131
1136
  }
1132
- var J = Object.prototype.hasOwnProperty, Fe = {}, We = W.ReactDebugCurrentFrame;
1137
+ var K = Object.prototype.hasOwnProperty, We = {}, Le = W.ReactDebugCurrentFrame;
1133
1138
  function ae(e) {
1134
1139
  if (e) {
1135
1140
  var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
1136
- We.setExtraStackFrame(o);
1141
+ Le.setExtraStackFrame(o);
1137
1142
  } else
1138
- We.setExtraStackFrame(null);
1143
+ Le.setExtraStackFrame(null);
1139
1144
  }
1140
- function vt(e, t, o, s, v) {
1145
+ function ht(e, t, o, s, v) {
1141
1146
  {
1142
- var g = Function.call.bind(J);
1147
+ var y = Function.call.bind(K);
1143
1148
  for (var d in e)
1144
- if (g(e, d)) {
1149
+ if (y(e, d)) {
1145
1150
  var f = void 0;
1146
1151
  try {
1147
1152
  if (typeof e[d] != "function") {
@@ -1152,63 +1157,63 @@ function pr() {
1152
1157
  } catch (R) {
1153
1158
  f = R;
1154
1159
  }
1155
- f && !(f instanceof Error) && (ae(v), j("%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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in Fe) && (Fe[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
1160
+ f && !(f instanceof Error) && (ae(v), j("%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).", s || "React class", o, d, typeof f), ae(null)), f instanceof Error && !(f.message in We) && (We[f.message] = !0, ae(v), j("Failed %s type: %s", o, f.message), ae(null));
1156
1161
  }
1157
1162
  }
1158
1163
  }
1159
- var ht = Array.isArray;
1164
+ var gt = Array.isArray;
1160
1165
  function ye(e) {
1161
- return ht(e);
1166
+ return gt(e);
1162
1167
  }
1163
- function gt(e) {
1168
+ function yt(e) {
1164
1169
  {
1165
1170
  var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
1166
1171
  return o;
1167
1172
  }
1168
1173
  }
1169
- function yt(e) {
1174
+ function mt(e) {
1170
1175
  try {
1171
- return Le(e), !1;
1176
+ return Ue(e), !1;
1172
1177
  } catch {
1173
1178
  return !0;
1174
1179
  }
1175
1180
  }
1176
- function Le(e) {
1181
+ function Ue(e) {
1177
1182
  return "" + e;
1178
1183
  }
1179
- function Ue(e) {
1180
- if (yt(e))
1181
- return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gt(e)), Le(e);
1184
+ function Ye(e) {
1185
+ if (mt(e))
1186
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yt(e)), Ue(e);
1182
1187
  }
1183
- var Ye = W.ReactCurrentOwner, mt = {
1188
+ var Ve = W.ReactCurrentOwner, bt = {
1184
1189
  key: !0,
1185
1190
  ref: !0,
1186
1191
  __self: !0,
1187
1192
  __source: !0
1188
- }, Ve, ze;
1189
- function bt(e) {
1190
- if (J.call(e, "ref")) {
1193
+ }, ze, qe;
1194
+ function _t(e) {
1195
+ if (K.call(e, "ref")) {
1191
1196
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
1192
1197
  if (t && t.isReactWarning)
1193
1198
  return !1;
1194
1199
  }
1195
1200
  return e.ref !== void 0;
1196
1201
  }
1197
- function _t(e) {
1198
- if (J.call(e, "key")) {
1202
+ function Rt(e) {
1203
+ if (K.call(e, "key")) {
1199
1204
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
1200
1205
  if (t && t.isReactWarning)
1201
1206
  return !1;
1202
1207
  }
1203
1208
  return e.key !== void 0;
1204
1209
  }
1205
- function Rt(e, t) {
1206
- typeof e.ref == "string" && Ye.current;
1207
- }
1208
1210
  function St(e, t) {
1211
+ typeof e.ref == "string" && Ve.current;
1212
+ }
1213
+ function kt(e, t) {
1209
1214
  {
1210
1215
  var o = function() {
1211
- Ve || (Ve = !0, j("%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));
1216
+ ze || (ze = !0, j("%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));
1212
1217
  };
1213
1218
  o.isReactWarning = !0, Object.defineProperty(e, "key", {
1214
1219
  get: o,
@@ -1216,10 +1221,10 @@ function pr() {
1216
1221
  });
1217
1222
  }
1218
1223
  }
1219
- function kt(e, t) {
1224
+ function xt(e, t) {
1220
1225
  {
1221
1226
  var o = function() {
1222
- ze || (ze = !0, j("%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));
1227
+ qe || (qe = !0, j("%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));
1223
1228
  };
1224
1229
  o.isReactWarning = !0, Object.defineProperty(e, "ref", {
1225
1230
  get: o,
@@ -1227,7 +1232,7 @@ function pr() {
1227
1232
  });
1228
1233
  }
1229
1234
  }
1230
- var xt = function(e, t, o, s, v, g, d) {
1235
+ var Et = function(e, t, o, s, v, y, d) {
1231
1236
  var f = {
1232
1237
  // This tag allows us to uniquely identify this as a React Element
1233
1238
  $$typeof: n,
@@ -1237,7 +1242,7 @@ function pr() {
1237
1242
  ref: o,
1238
1243
  props: d,
1239
1244
  // Record the component responsible for creating this element.
1240
- _owner: g
1245
+ _owner: y
1241
1246
  };
1242
1247
  return f._store = {}, Object.defineProperty(f._store, "validated", {
1243
1248
  configurable: !1,
@@ -1256,38 +1261,38 @@ function pr() {
1256
1261
  value: v
1257
1262
  }), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
1258
1263
  };
1259
- function Et(e, t, o, s, v) {
1264
+ function jt(e, t, o, s, v) {
1260
1265
  {
1261
- var g, d = {}, f = null, O = null;
1262
- o !== void 0 && (Ue(o), f = "" + o), _t(t) && (Ue(t.key), f = "" + t.key), bt(t) && (O = t.ref, Rt(t));
1263
- for (g in t)
1264
- J.call(t, g) && !mt.hasOwnProperty(g) && (d[g] = t[g]);
1266
+ var y, d = {}, f = null, O = null;
1267
+ o !== void 0 && (Ye(o), f = "" + o), Rt(t) && (Ye(t.key), f = "" + t.key), _t(t) && (O = t.ref, St(t));
1268
+ for (y in t)
1269
+ K.call(t, y) && !bt.hasOwnProperty(y) && (d[y] = t[y]);
1265
1270
  if (e && e.defaultProps) {
1266
1271
  var R = e.defaultProps;
1267
- for (g in R)
1268
- d[g] === void 0 && (d[g] = R[g]);
1272
+ for (y in R)
1273
+ d[y] === void 0 && (d[y] = R[y]);
1269
1274
  }
1270
1275
  if (f || O) {
1271
1276
  var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1272
- f && St(d, x), O && kt(d, x);
1277
+ f && kt(d, x), O && xt(d, x);
1273
1278
  }
1274
- return xt(e, f, O, v, s, Ye.current, d);
1279
+ return Et(e, f, O, v, s, Ve.current, d);
1275
1280
  }
1276
1281
  }
1277
- var me = W.ReactCurrentOwner, qe = W.ReactDebugCurrentFrame;
1282
+ var me = W.ReactCurrentOwner, He = W.ReactDebugCurrentFrame;
1278
1283
  function V(e) {
1279
1284
  if (e) {
1280
1285
  var t = e._owner, o = oe(e.type, e._source, t ? t.type : null);
1281
- qe.setExtraStackFrame(o);
1286
+ He.setExtraStackFrame(o);
1282
1287
  } else
1283
- qe.setExtraStackFrame(null);
1288
+ He.setExtraStackFrame(null);
1284
1289
  }
1285
1290
  var be;
1286
1291
  be = !1;
1287
1292
  function _e(e) {
1288
1293
  return typeof e == "object" && e !== null && e.$$typeof === n;
1289
1294
  }
1290
- function He() {
1295
+ function Je() {
1291
1296
  {
1292
1297
  if (me.current) {
1293
1298
  var e = T(me.current.type);
@@ -1299,13 +1304,13 @@ Check the render method of \`` + e + "`.";
1299
1304
  return "";
1300
1305
  }
1301
1306
  }
1302
- function jt(e) {
1307
+ function Ot(e) {
1303
1308
  return "";
1304
1309
  }
1305
- var Je = {};
1306
- function Ot(e) {
1310
+ var Ke = {};
1311
+ function At(e) {
1307
1312
  {
1308
- var t = He();
1313
+ var t = Je();
1309
1314
  if (!t) {
1310
1315
  var o = typeof e == "string" ? e : e.displayName || e.name;
1311
1316
  o && (t = `
@@ -1315,39 +1320,39 @@ Check the top-level render call using <` + o + ">.");
1315
1320
  return t;
1316
1321
  }
1317
1322
  }
1318
- function Ke(e, t) {
1323
+ function Ge(e, t) {
1319
1324
  {
1320
1325
  if (!e._store || e._store.validated || e.key != null)
1321
1326
  return;
1322
1327
  e._store.validated = !0;
1323
- var o = Ot(t);
1324
- if (Je[o])
1328
+ var o = At(t);
1329
+ if (Ke[o])
1325
1330
  return;
1326
- Je[o] = !0;
1331
+ Ke[o] = !0;
1327
1332
  var s = "";
1328
1333
  e && e._owner && e._owner !== me.current && (s = " It was passed a child from " + T(e._owner.type) + "."), V(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, s), V(null);
1329
1334
  }
1330
1335
  }
1331
- function Ge(e, t) {
1336
+ function Ze(e, t) {
1332
1337
  {
1333
1338
  if (typeof e != "object")
1334
1339
  return;
1335
1340
  if (ye(e))
1336
1341
  for (var o = 0; o < e.length; o++) {
1337
1342
  var s = e[o];
1338
- _e(s) && Ke(s, t);
1343
+ _e(s) && Ge(s, t);
1339
1344
  }
1340
1345
  else if (_e(e))
1341
1346
  e._store && (e._store.validated = !0);
1342
1347
  else if (e) {
1343
1348
  var v = pe(e);
1344
1349
  if (typeof v == "function" && v !== e.entries)
1345
- for (var g = v.call(e), d; !(d = g.next()).done; )
1346
- _e(d.value) && Ke(d.value, t);
1350
+ for (var y = v.call(e), d; !(d = y.next()).done; )
1351
+ _e(d.value) && Ge(d.value, t);
1347
1352
  }
1348
1353
  }
1349
1354
  }
1350
- function At(e) {
1355
+ function Ct(e) {
1351
1356
  {
1352
1357
  var t = e.type;
1353
1358
  if (t == null || typeof t == "string")
@@ -1357,13 +1362,13 @@ Check the top-level render call using <` + o + ">.");
1357
1362
  o = t.propTypes;
1358
1363
  else if (typeof t == "object" && (t.$$typeof === u || // Note: Memo only checks outer props here.
1359
1364
  // Inner props are checked in the reconciler.
1360
- t.$$typeof === y))
1365
+ t.$$typeof === g))
1361
1366
  o = t.propTypes;
1362
1367
  else
1363
1368
  return;
1364
1369
  if (o) {
1365
1370
  var s = T(t);
1366
- vt(o, e.props, "prop", s, e);
1371
+ ht(o, e.props, "prop", s, e);
1367
1372
  } else if (t.PropTypes !== void 0 && !be) {
1368
1373
  be = !0;
1369
1374
  var v = T(t);
@@ -1372,7 +1377,7 @@ Check the top-level render call using <` + o + ">.");
1372
1377
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1373
1378
  }
1374
1379
  }
1375
- function Ct(e) {
1380
+ function Pt(e) {
1376
1381
  {
1377
1382
  for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
1378
1383
  var s = t[o];
@@ -1384,19 +1389,19 @@ Check the top-level render call using <` + o + ">.");
1384
1389
  e.ref !== null && (V(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
1385
1390
  }
1386
1391
  }
1387
- var Ze = {};
1388
- function Xe(e, t, o, s, v, g) {
1392
+ var Xe = {};
1393
+ function Qe(e, t, o, s, v, y) {
1389
1394
  {
1390
1395
  var d = N(e);
1391
1396
  if (!d) {
1392
1397
  var f = "";
1393
1398
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1394
- var O = jt();
1395
- O ? f += O : f += He();
1399
+ var O = Ot();
1400
+ O ? f += O : f += Je();
1396
1401
  var R;
1397
1402
  e === null ? R = "null" : ye(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + (T(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, f);
1398
1403
  }
1399
- var x = Et(e, t, o, v, g);
1404
+ var x = jt(e, t, o, v, y);
1400
1405
  if (x == null)
1401
1406
  return x;
1402
1407
  if (d) {
@@ -1405,43 +1410,43 @@ Check the top-level render call using <` + o + ">.");
1405
1410
  if (s)
1406
1411
  if (ye(P)) {
1407
1412
  for (var z = 0; z < P.length; z++)
1408
- Ge(P[z], e);
1413
+ Ze(P[z], e);
1409
1414
  Object.freeze && Object.freeze(P);
1410
1415
  } else
1411
1416
  j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1412
1417
  else
1413
- Ge(P, e);
1418
+ Ze(P, e);
1414
1419
  }
1415
- if (J.call(t, "key")) {
1416
- var L = T(e), C = Object.keys(t).filter(function(Bt) {
1417
- return Bt !== "key";
1420
+ if (K.call(t, "key")) {
1421
+ var L = T(e), C = Object.keys(t).filter(function(It) {
1422
+ return It !== "key";
1418
1423
  }), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
1419
- if (!Ze[L + Re]) {
1420
- var Nt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
1424
+ if (!Xe[L + Re]) {
1425
+ var Bt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
1421
1426
  j(`A props object containing a "key" prop is being spread into JSX:
1422
1427
  let props = %s;
1423
1428
  <%s {...props} />
1424
1429
  React keys must be passed directly to JSX without using spread:
1425
1430
  let props = %s;
1426
- <%s key={someKey} {...props} />`, Re, L, Nt, L), Ze[L + Re] = !0;
1431
+ <%s key={someKey} {...props} />`, Re, L, Bt, L), Xe[L + Re] = !0;
1427
1432
  }
1428
1433
  }
1429
- return e === l ? Ct(x) : At(x), x;
1434
+ return e === c ? Pt(x) : Ct(x), x;
1430
1435
  }
1431
1436
  }
1432
- function Pt(e, t, o) {
1433
- return Xe(e, t, o, !0);
1434
- }
1435
1437
  function wt(e, t, o) {
1436
- return Xe(e, t, o, !1);
1438
+ return Qe(e, t, o, !0);
1437
1439
  }
1438
- var Tt = wt, $t = Pt;
1439
- nt.Fragment = l, nt.jsx = Tt, nt.jsxs = $t;
1440
- }()), nt;
1440
+ function Tt(e, t, o) {
1441
+ return Qe(e, t, o, !1);
1442
+ }
1443
+ var $t = Tt, Nt = wt;
1444
+ at.Fragment = c, at.jsx = $t, at.jsxs = Nt;
1445
+ }()), at;
1441
1446
  }
1442
- process.env.NODE_ENV === "production" ? dr() : pr();
1443
- const vr = "0.0.40", tr = {
1444
- version: vr
1447
+ process.env.NODE_ENV === "production" ? hr() : gr();
1448
+ const yr = "0.0.40", tr = {
1449
+ version: yr
1445
1450
  }, se = {}, H = {
1446
1451
  module: "",
1447
1452
  v: tr.version,
@@ -1465,15 +1470,15 @@ function je() {
1465
1470
  je().elcrm || (je().elcrm = {});
1466
1471
  Object.assign(je().elcrm, { router: tr.version });
1467
1472
  function te(r) {
1468
- var n, a, l, c;
1473
+ var n, a, c, l;
1469
1474
  const p = je();
1470
1475
  if (p.ROUTER_PARAMS) {
1471
1476
  r.debug || p.ROUTER_PARAMS.debug;
1472
1477
  const k = {
1473
1478
  page: (n = p.ROUTER_PARAMS) == null ? void 0 : n.page,
1474
1479
  module: (a = p.ROUTER_PARAMS) == null ? void 0 : a.module,
1475
- tab: (l = p.ROUTER_PARAMS) == null ? void 0 : l.tab,
1476
- id: (c = p.ROUTER_PARAMS) == null ? void 0 : c.id
1480
+ tab: (c = p.ROUTER_PARAMS) == null ? void 0 : c.tab,
1481
+ id: (l = p.ROUTER_PARAMS) == null ? void 0 : l.id
1477
1482
  };
1478
1483
  p.ROUTER_PARAMS = {
1479
1484
  ...p.ROUTER_PARAMS,
@@ -1533,7 +1538,7 @@ var de;
1533
1538
  se.id = 0, se.tab = "", se.page = A().page, se.module = A().module;
1534
1539
  }
1535
1540
  r.Reset = a;
1536
- function l({
1541
+ function c({
1537
1542
  module: _ = A().module,
1538
1543
  page: E = A().page,
1539
1544
  auth: N = A().auth,
@@ -1541,8 +1546,8 @@ var de;
1541
1546
  }) {
1542
1547
  te({ page: E, module: _, auth: N, debug: M }), n();
1543
1548
  }
1544
- r.Default = l;
1545
- function c(_) {
1549
+ r.Default = c;
1550
+ function l(_) {
1546
1551
  let E = (B) => (te({ page: B }), B);
1547
1552
  const [N, M] = F.useState(
1548
1553
  k() || _ && E(_) || A().page
@@ -1551,7 +1556,7 @@ var de;
1551
1556
  M(B);
1552
1557
  } }), N;
1553
1558
  }
1554
- r.usePage = c;
1559
+ r.usePage = l;
1555
1560
  function p(_, E = !0, N = {}) {
1556
1561
  te({ page: _, ...N }), sessionStorage.setItem(
1557
1562
  A().STORAGE,
@@ -1573,7 +1578,7 @@ var de;
1573
1578
  r.getBack = u;
1574
1579
  function S(_, E) {
1575
1580
  const [N, M] = F.useState(
1576
- y() || _ || A().module
1581
+ g() || _ || A().module
1577
1582
  );
1578
1583
  return Se({ module: M }), N;
1579
1584
  }
@@ -1585,10 +1590,10 @@ var de;
1585
1590
  ), E && ie().module(_);
1586
1591
  }
1587
1592
  r.setModule = h;
1588
- function y() {
1593
+ function g() {
1589
1594
  return A().module || "";
1590
1595
  }
1591
- r.getModule = y;
1596
+ r.getModule = g;
1592
1597
  function m(_) {
1593
1598
  return A().module === _;
1594
1599
  }
@@ -1613,13 +1618,13 @@ var de;
1613
1618
  } }), N;
1614
1619
  }
1615
1620
  r.useTab = I;
1616
- async function Pe(_, E = !0) {
1621
+ async function we(_, E = !0) {
1617
1622
  te({ tab: _ }), sessionStorage.setItem(
1618
1623
  A().STORAGE,
1619
1624
  ue.enCode(A())
1620
1625
  ), E && (ie().tabs && ie().tabs(_));
1621
1626
  }
1622
- r.setTabs = Pe;
1627
+ r.setTabs = we;
1623
1628
  function pe() {
1624
1629
  return A().tab;
1625
1630
  }
@@ -1638,25 +1643,25 @@ var de;
1638
1643
  Se({ id: _ });
1639
1644
  }
1640
1645
  r.useId = j;
1641
- function we(_) {
1646
+ function Te(_) {
1642
1647
  }
1643
- r.subId = we;
1644
- async function Te(_, E = !0) {
1648
+ r.subId = Te;
1649
+ async function $e(_, E = !0) {
1645
1650
  te({ id: _ }), sessionStorage.setItem(
1646
1651
  A().STORAGE,
1647
1652
  ue.enCode(A())
1648
1653
  ), E && ie().id(_);
1649
1654
  }
1650
- r.setId = Te;
1655
+ r.setId = $e;
1651
1656
  function Oe() {
1652
1657
  return A().id;
1653
1658
  }
1654
1659
  r.getId = Oe;
1655
- function $e(_) {
1660
+ function Ne(_) {
1656
1661
  return Number(A().id) === _;
1657
1662
  }
1658
- r.isId = $e;
1659
- async function Ne(_) {
1663
+ r.isId = Ne;
1664
+ async function Be(_) {
1660
1665
  var E, N, M, B, T, D, Y, ce;
1661
1666
  const { page: Z, module: X, tab: Q, id: ee } = _;
1662
1667
  Z !== void 0 && (se.page = Z), X !== void 0 && (se.module = X), Q !== void 0 && (se.tab = Q), ee !== void 0 && (se.id = ee), te({ ...se }), ee !== void 0 && ((N = (E = ie()).id) == null || N.call(E, ee)), Q !== void 0 && ((B = (M = ie()).tabs) == null || B.call(M, Q)), X !== void 0 && ((D = (T = ie()).module) == null || D.call(T, X)), Z !== void 0 && ((ce = (Y = ie()).page) == null || ce.call(Y, Z)), sessionStorage.setItem(
@@ -1664,29 +1669,29 @@ var de;
1664
1669
  ue.enCode(A())
1665
1670
  );
1666
1671
  }
1667
- r.navigate = Ne;
1672
+ r.navigate = Be;
1668
1673
  })(de || (de = {}));
1669
- let it = {};
1670
- function hr() {
1674
+ let ct = {};
1675
+ function mr() {
1671
1676
  const [r, n] = F.useState([]);
1672
- return it.set = (a) => {
1677
+ return ct.set = (a) => {
1673
1678
  n([...r, a]);
1674
- }, it.del = (a) => {
1675
- r.forEach((l, c) => {
1676
- l.key === a && r.splice(c, 1);
1679
+ }, ct.del = (a) => {
1680
+ r.forEach((c, l) => {
1681
+ c.key === a && r.splice(l, 1);
1677
1682
  }), n(r);
1678
1683
  }, r.length === 0 ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsx("div", { className: "notice", children: r.map((a) => a.item) });
1679
1684
  }
1680
- function gr(r) {
1685
+ function br(r) {
1681
1686
  let n = (/* @__PURE__ */ new Date()).getTime();
1682
- r.key = n, it.set({ item: /* @__PURE__ */ i.jsx(yr, { data: r }, n), key: n });
1687
+ r.key = n, ct.set({ item: /* @__PURE__ */ i.jsx(_r, { data: r }, n), key: n });
1683
1688
  }
1684
- function yr(r) {
1689
+ function _r(r) {
1685
1690
  const n = r.data;
1686
- let [a] = F.useState("show"), [l, c] = F.useState(!1);
1691
+ let [a] = F.useState("show"), [c, l] = F.useState(!1);
1687
1692
  F.useEffect(() => {
1688
1693
  setTimeout(function() {
1689
- c(!0), it.del(n.key);
1694
+ l(!0), ct.del(n.key);
1690
1695
  }, 5e3);
1691
1696
  }, [n.key]);
1692
1697
  let p;
@@ -1704,7 +1709,7 @@ function yr(r) {
1704
1709
  p = "icon fa fa-exclamation-circle";
1705
1710
  break;
1706
1711
  }
1707
- return /* @__PURE__ */ i.jsx(i.Fragment, { children: l ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsxs(
1712
+ return /* @__PURE__ */ i.jsx(i.Fragment, { children: c ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsxs(
1708
1713
  "div",
1709
1714
  {
1710
1715
  className: "item " + n.type + ` ${n.thema !== void 0 ? " thema" : ""}`,
@@ -1729,16 +1734,16 @@ function yr(r) {
1729
1734
  ) });
1730
1735
  }
1731
1736
  let xe = {
1732
- Send: gr,
1733
- Init: hr
1737
+ Send: br,
1738
+ Init: mr
1734
1739
  };
1735
1740
  const Ee = {
1736
1741
  is: !1,
1737
1742
  MainButton: {},
1738
1743
  BackButton: {}
1739
1744
  };
1740
- let K = {};
1741
- K.dark = {
1745
+ let G = {};
1746
+ G.dark = {
1742
1747
  "--tg-theme-subtitle-text-color": "#98989e",
1743
1748
  "--tg-theme-destructive-text-color": "#e53935",
1744
1749
  "--tg-theme-section-separator-color": "#545458",
@@ -1755,7 +1760,7 @@ K.dark = {
1755
1760
  "--tg-theme-text-color": "#ffffff",
1756
1761
  "--tg-theme-section-bg-color": "#2c2c2e"
1757
1762
  };
1758
- K.light = {
1763
+ G.light = {
1759
1764
  "--tg-theme-subtitle-text-color": "#8e8e93",
1760
1765
  "--tg-theme-destructive-text-color": "#ff3b30",
1761
1766
  "--tg-theme-section-separator-color": "#c8c7cc",
@@ -1772,7 +1777,7 @@ K.light = {
1772
1777
  "--tg-theme-text-color": "#000000",
1773
1778
  "--tg-theme-section-bg-color": "#f8f8f8"
1774
1779
  };
1775
- K.users = {
1780
+ G.users = {
1776
1781
  "--tg-theme-bg-color": "#000000",
1777
1782
  "--tg-theme-text-color": "#ffffff",
1778
1783
  "--tg-theme-hint-color": "#98989e",
@@ -1781,15 +1786,15 @@ K.users = {
1781
1786
  "--tg-theme-button-text-color": "#000000",
1782
1787
  "--tg-theme-secondary-bg-color": "#000000"
1783
1788
  };
1784
- const mr = () => {
1789
+ const Rr = () => {
1785
1790
  if (location.hostname === "localhost") {
1786
- let [r, n] = G(!1), [a, l] = G(!1), [c, p] = G("dark"), [k, b] = G(!1), [u, S] = G(!1);
1787
- Ee.is = !0, Ee.MainButton.set = n, Ee.BackButton.set = l, fe(() => {
1788
- K[c]["--tg-theme-bg-color-alpha"] = K[c]["--tg-theme-bg-color"] + "b3", K[c]["--tg-theme-secondary-bg-color-alpha"] = K[c]["--tg-theme-secondary-bg-color"] + "d3";
1789
- for (let m in K[c])
1791
+ let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [k, b] = J(!1), [u, S] = J(!1);
1792
+ Ee.is = !0, Ee.MainButton.set = n, Ee.BackButton.set = c, fe(() => {
1793
+ G[l]["--tg-theme-bg-color-alpha"] = G[l]["--tg-theme-bg-color"] + "b3", G[l]["--tg-theme-secondary-bg-color-alpha"] = G[l]["--tg-theme-secondary-bg-color"] + "d3";
1794
+ for (let m in G[l])
1790
1795
  document.documentElement.style.setProperty(
1791
1796
  m,
1792
- K[c][m]
1797
+ G[l][m]
1793
1798
  );
1794
1799
  Ce.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1795
1800
  "--tg-safe-area-inset-bottom",
@@ -1797,10 +1802,10 @@ const mr = () => {
1797
1802
  );
1798
1803
  }, []);
1799
1804
  let h = (m) => {
1800
- for (let w in K[m])
1801
- document.documentElement.style.setProperty(w, K[m][w]);
1805
+ for (let w in G[m])
1806
+ document.documentElement.style.setProperty(w, G[m][w]);
1802
1807
  p(m), b(!1);
1803
- }, y = () => {
1808
+ }, g = () => {
1804
1809
  b(!1), S(!0);
1805
1810
  };
1806
1811
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
@@ -1830,7 +1835,7 @@ const mr = () => {
1830
1835
  ) }),
1831
1836
  k ? /* @__PURE__ */ i.jsxs("div", { className: "tm", children: [
1832
1837
  /* @__PURE__ */ i.jsxs("ul", { children: [
1833
- /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: y, children: "Authorization" }) }),
1838
+ /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: g, children: "Authorization" }) }),
1834
1839
  /* @__PURE__ */ i.jsx("li", {})
1835
1840
  ] }),
1836
1841
  /* @__PURE__ */ i.jsxs("ul", { children: [
@@ -1863,7 +1868,7 @@ const mr = () => {
1863
1868
  /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => b(!k), children: "Closed" }) })
1864
1869
  ] })
1865
1870
  ] }) : "",
1866
- u ? /* @__PURE__ */ i.jsx(br, { setAuthorization: S }) : ""
1871
+ u ? /* @__PURE__ */ i.jsx(Sr, { setAuthorization: S }) : ""
1867
1872
  ] });
1868
1873
  } else
1869
1874
  return fe(() => {
@@ -1878,7 +1883,7 @@ const mr = () => {
1878
1883
  "16px"
1879
1884
  );
1880
1885
  }, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(xe.Init, {}) });
1881
- }, br = ({ setAuthorization: r }) => {
1886
+ }, Sr = ({ setAuthorization: r }) => {
1882
1887
  let n = {}, a = () => {
1883
1888
  localStorage.setItem("auth", n);
1884
1889
  };
@@ -1886,43 +1891,43 @@ const mr = () => {
1886
1891
  /* @__PURE__ */ i.jsx("fieldset", {}),
1887
1892
  /* @__PURE__ */ i.jsx("div", { onClick: a, children: " Сохранить " })
1888
1893
  ] }) });
1889
- }, _r = "_p_12hh1_1", Rr = "_s_12hh1_17", Ht = {
1890
- p: _r,
1891
- s: Rr
1892
- }, Sr = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
1894
+ }, kr = "_p_12hh1_1", xr = "_s_12hh1_17", Ht = {
1895
+ p: kr,
1896
+ s: xr
1897
+ }, Er = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
1893
1898
  "div",
1894
1899
  {
1895
- className: [Ht.p, a && Ht.s, r].filter((l) => l !== void 0).join(" "),
1900
+ className: [Ht.p, a && Ht.s, r].filter((c) => c !== void 0).join(" "),
1896
1901
  children: n
1897
1902
  }
1898
- ), kr = "_l_gfyud_1", xr = {
1899
- l: kr
1900
- }, Er = ({ children: r, className: n }) => /* @__PURE__ */ i.jsx(
1903
+ ), jr = "_l_gfyud_1", Or = {
1904
+ l: jr
1905
+ }, Ar = ({ children: r, className: n }) => /* @__PURE__ */ i.jsx(
1901
1906
  "div",
1902
1907
  {
1903
- className: [xr.l, n].filter((a) => a !== void 0).join(" "),
1908
+ className: [Or.l, n].filter((a) => a !== void 0).join(" "),
1904
1909
  children: r
1905
1910
  }
1906
- ), jr = "_m_ppm7n_2", Or = "_g_ppm7n_10", Ar = "_i_ppm7n_18", Cr = "_c_ppm7n_35", Pr = "_l_ppm7n_42", wr = "_a_ppm7n_57", Tr = "_n_ppm7n_62", ke = {
1907
- m: jr,
1908
- g: Or,
1909
- i: Ar,
1910
- c: Cr,
1911
- l: Pr,
1912
- a: wr,
1913
- n: Tr
1914
- }, $r = ({ items: r }) => {
1915
- const n = (l) => {
1916
- de.setPage(l);
1917
- }, a = (l) => {
1918
- Ce.openTelegramLink(l);
1911
+ ), Cr = "_m_ppm7n_2", Pr = "_g_ppm7n_10", wr = "_i_ppm7n_18", Tr = "_c_ppm7n_35", $r = "_l_ppm7n_42", Nr = "_a_ppm7n_57", Br = "_n_ppm7n_62", ke = {
1912
+ m: Cr,
1913
+ g: Pr,
1914
+ i: wr,
1915
+ c: Tr,
1916
+ l: $r,
1917
+ a: Nr,
1918
+ n: Br
1919
+ }, Ir = ({ items: r }) => {
1920
+ const n = (c) => {
1921
+ de.setPage(c);
1922
+ }, a = (c) => {
1923
+ Ce.openTelegramLink(c);
1919
1924
  };
1920
- return /* @__PURE__ */ i.jsx("div", { className: ke.m, children: r.map((l) => /* @__PURE__ */ i.jsx("div", { className: ke.g, children: l.items.map((c, p) => /* @__PURE__ */ i.jsxs(
1925
+ return /* @__PURE__ */ i.jsx("div", { className: ke.m, children: r.map((c) => /* @__PURE__ */ i.jsx("div", { className: ke.g, children: c.items.map((l, p) => /* @__PURE__ */ i.jsxs(
1921
1926
  "div",
1922
1927
  {
1923
1928
  className: ke.i,
1924
1929
  onClick: () => {
1925
- c.link && a(c.link), c.page && n(c.page), c.callback && c.callback();
1930
+ l.link && a(l.link), l.page && n(l.page), l.callback && l.callback();
1926
1931
  },
1927
1932
  children: [
1928
1933
  /* @__PURE__ */ i.jsxs("div", { className: ke.c, children: [
@@ -1930,38 +1935,38 @@ const mr = () => {
1930
1935
  "span",
1931
1936
  {
1932
1937
  className: ke.l,
1933
- style: { background: c.color },
1934
- children: c.icon
1938
+ style: { background: l.color },
1939
+ children: l.icon
1935
1940
  }
1936
1941
  ),
1937
- c.title,
1938
- c.count && /* @__PURE__ */ i.jsx("span", { className: ke.n, children: c.count })
1942
+ l.title,
1943
+ l.count && /* @__PURE__ */ i.jsx("span", { className: ke.n, children: l.count })
1939
1944
  ] }),
1940
1945
  /* @__PURE__ */ i.jsx("span", { className: ke.a, children: "›" })
1941
1946
  ]
1942
1947
  },
1943
1948
  p
1944
- )) }, l.id)) });
1945
- }, Nr = "_o_8ho2f_3", Br = "_m_8ho2f_14", Ir = "_l_8ho2f_28", Mr = "_r_8ho2f_33", Dr = "_x_8ho2f_38", Fr = "_h_8ho2f_42", Wr = "_c_8ho2f_57", Lr = "_u_8ho2f_72", le = {
1946
- o: Nr,
1947
- m: Br,
1948
- l: Ir,
1949
- r: Mr,
1950
- x: Dr,
1951
- h: Fr,
1952
- c: Wr,
1953
- u: Lr
1949
+ )) }, c.id)) });
1950
+ }, Mr = "_o_8ho2f_3", Dr = "_m_8ho2f_14", Fr = "_l_8ho2f_28", Wr = "_r_8ho2f_33", Lr = "_x_8ho2f_38", Ur = "_h_8ho2f_42", Yr = "_c_8ho2f_57", Vr = "_u_8ho2f_72", le = {
1951
+ o: Mr,
1952
+ m: Dr,
1953
+ l: Fr,
1954
+ r: Wr,
1955
+ x: Lr,
1956
+ h: Ur,
1957
+ c: Yr,
1958
+ u: Vr
1954
1959
  };
1955
- function Ur({
1960
+ function zr({
1956
1961
  children: r,
1957
1962
  icon: n,
1958
1963
  iconBadge: a = 0,
1959
- title: l,
1960
- className: c,
1964
+ title: c,
1965
+ className: l,
1961
1966
  view: p = "list",
1962
1967
  position: k = "left"
1963
1968
  }) {
1964
- const [b, u] = G(!1), [S, h] = G(
1969
+ const [b, u] = J(!1), [S, h] = J(
1965
1970
  null
1966
1971
  );
1967
1972
  fe(() => {
@@ -1970,20 +1975,20 @@ function Ur({
1970
1975
  m && m.parentNode && m.parentNode.removeChild(m);
1971
1976
  };
1972
1977
  }, []);
1973
- const y = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
1978
+ const g = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
1974
1979
  b && /* @__PURE__ */ i.jsx("div", { className: le.o, onClick: () => u(!1) }),
1975
1980
  /* @__PURE__ */ i.jsxs(
1976
1981
  "div",
1977
1982
  {
1978
- className: lt(
1983
+ className: Pe(
1979
1984
  le.m,
1980
1985
  k === "left" ? le.l : le.r,
1981
1986
  b && le.x,
1982
- c
1987
+ l
1983
1988
  ),
1984
1989
  children: [
1985
1990
  /* @__PURE__ */ i.jsxs("div", { className: le.h, children: [
1986
- l && /* @__PURE__ */ i.jsx("h3", { className: le.t, children: l }),
1991
+ c && /* @__PURE__ */ i.jsx("h3", { className: le.t, children: c }),
1987
1992
  /* @__PURE__ */ i.jsxs(
1988
1993
  "svg",
1989
1994
  {
@@ -2020,21 +2025,21 @@ function Ur({
2020
2025
  children: n
2021
2026
  }
2022
2027
  ),
2023
- S && nr(y, S)
2028
+ S && nr(g, S)
2024
2029
  ] });
2025
2030
  }
2026
- let rt = () => {
2031
+ let nt = () => {
2027
2032
  };
2028
2033
  const rr = ({
2029
2034
  children: r,
2030
2035
  title: n,
2031
2036
  isOverlay: a = !0,
2032
- footer: l = !0,
2033
- className: c,
2037
+ footer: c = !0,
2038
+ className: l,
2034
2039
  onOpen: p
2035
2040
  }) => {
2036
2041
  const [k, b] = F.useState(!1);
2037
- return rt = () => {
2042
+ return nt = () => {
2038
2043
  b(!0), setTimeout(() => {
2039
2044
  var u;
2040
2045
  p == null || p(!1), (u = Ae == null ? void 0 : Ae.onClose) == null || u.call(Ae);
@@ -2043,11 +2048,11 @@ const rr = ({
2043
2048
  "div",
2044
2049
  {
2045
2050
  className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${k ? "closing" : ""} `,
2046
- onClick: rt,
2051
+ onClick: nt,
2047
2052
  children: /* @__PURE__ */ i.jsxs(
2048
2053
  "div",
2049
2054
  {
2050
- className: `footer-menu-popup-book ${k ? "closing" : ""} ${c || ""} ${l ? "footer" : ""}`,
2055
+ className: `footer-menu-popup-book ${k ? "closing" : ""} ${l || ""} ${c ? "footer" : ""}`,
2051
2056
  onClick: (u) => u.stopPropagation(),
2052
2057
  children: [
2053
2058
  /* @__PURE__ */ i.jsxs("div", { className: "footer-menu-header", children: [
@@ -2056,7 +2061,7 @@ const rr = ({
2056
2061
  "button",
2057
2062
  {
2058
2063
  className: "footer-menu-close-btn",
2059
- onClick: rt,
2064
+ onClick: nt,
2060
2065
  children: "✕"
2061
2066
  }
2062
2067
  )
@@ -2067,39 +2072,39 @@ const rr = ({
2067
2072
  )
2068
2073
  }
2069
2074
  );
2070
- }, Yr = "_h_1ffr7_1", Vr = "_row_1ffr7_20", zr = "_column_1ffr7_23", qr = "_badge_1ffr7_36", It = {
2071
- h: Yr,
2072
- row: Vr,
2073
- column: zr,
2074
- badge: qr
2075
- }, Ae = [], Jt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Hr = ({
2075
+ }, qr = "_h_1ffr7_1", Hr = "_row_1ffr7_20", Jr = "_column_1ffr7_23", Kr = "_badge_1ffr7_36", Mt = {
2076
+ h: qr,
2077
+ row: Hr,
2078
+ column: Jr,
2079
+ badge: Kr
2080
+ }, Ae = [], Jt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Gr = ({
2076
2081
  actions: r,
2077
2082
  children: n,
2078
2083
  className: a,
2079
- toHide: l = !1,
2080
- page: c,
2084
+ toHide: c = !1,
2085
+ page: l,
2081
2086
  onPageChange: p,
2082
2087
  direction: k = "row"
2083
2088
  }) => {
2084
2089
  const [b, u] = F.useState(null), [S, h] = F.useState(
2085
- c ? Jt(r || [], c) : 0
2090
+ l ? Jt(r || [], l) : 0
2086
2091
  );
2087
2092
  return Ae.onClose = () => {
2088
- u(null), h(c ? Jt(r || [], c) : 0);
2093
+ u(null), h(l ? Jt(r || [], l) : 0);
2089
2094
  }, fe(() => {
2090
- if (!l)
2095
+ if (!c)
2091
2096
  return;
2092
- const y = document.querySelectorAll("[contenteditable]"), m = () => {
2097
+ const g = document.querySelectorAll("[contenteditable]"), m = () => {
2093
2098
  const I = document.querySelector("footer");
2094
2099
  I && (I.style.display = "flex");
2095
2100
  }, w = () => {
2096
2101
  const I = document.querySelector("footer");
2097
2102
  I && (I.style.display = "none");
2098
2103
  };
2099
- return y.forEach((I) => {
2104
+ return g.forEach((I) => {
2100
2105
  I.addEventListener("focus", w, !0), I.addEventListener("blur", m, !0);
2101
2106
  }), () => {
2102
- y.forEach((I) => {
2107
+ g.forEach((I) => {
2103
2108
  I.removeEventListener("focus", w, !0), I.removeEventListener("blur", m, !0);
2104
2109
  });
2105
2110
  };
@@ -2108,19 +2113,19 @@ const rr = ({
2108
2113
  /* @__PURE__ */ i.jsxs(
2109
2114
  "footer",
2110
2115
  {
2111
- className: `${It.h} ${It[k]} ${a} `,
2116
+ className: `${Mt.h} ${Mt[k]} ${a} `,
2112
2117
  children: [
2113
2118
  n,
2114
- r && r.map((y, m) => /* @__PURE__ */ i.jsxs(
2119
+ r && r.map((g, m) => /* @__PURE__ */ i.jsxs(
2115
2120
  "div",
2116
2121
  {
2117
2122
  "data-active": S === m ? "true" : "false",
2118
2123
  onClick: () => {
2119
- y.page && (h(m), p == null || p(y.page)), y.callback && (y.callback(), h(m)), y.component && (S === m ? rt() : (u(y.component), h(m)));
2124
+ g.page && (h(m), p == null || p(g.page)), g.callback && (g.callback(), h(m)), g.component && (S === m ? nt() : (u(g.component), h(m)));
2120
2125
  },
2121
2126
  children: [
2122
- y.icon,
2123
- y.badge && /* @__PURE__ */ i.jsx("div", { className: It.badge, children: y.badge })
2127
+ g.icon,
2128
+ g.badge && /* @__PURE__ */ i.jsx("div", { className: Mt.badge, children: g.badge })
2124
2129
  ]
2125
2130
  },
2126
2131
  m
@@ -2129,24 +2134,24 @@ const rr = ({
2129
2134
  }
2130
2135
  )
2131
2136
  ] });
2132
- }, Jr = "_w_yx04q_3", Kr = "_v_yx04q_24", Gr = "_s_yx04q_34", Zr = "_n_yx04q_38", ot = {
2133
- w: Jr,
2134
- v: Kr,
2135
- s: Gr,
2136
- n: Zr
2137
+ }, Zr = "_w_yx04q_3", Xr = "_v_yx04q_24", Qr = "_s_yx04q_34", en = "_n_yx04q_38", st = {
2138
+ w: Zr,
2139
+ v: Xr,
2140
+ s: Qr,
2141
+ n: en
2137
2142
  }, Lt = {};
2138
- function Xr({
2143
+ function tn({
2139
2144
  children: r,
2140
2145
  name: n,
2141
2146
  onClose: a,
2142
- isOpen: l,
2143
- isScroll: c = !0,
2147
+ isOpen: c,
2148
+ isScroll: l = !0,
2144
2149
  nextBackButton: p
2145
2150
  }) {
2146
- const [k, b] = G(!1);
2151
+ const [k, b] = J(!1);
2147
2152
  return fe(() => {
2148
- if (!l) return;
2149
- const u = p === void 0 ? ln().pop() : p, S = () => {
2153
+ if (!c) return;
2154
+ const u = p === void 0 ? fn().pop() : p, S = () => {
2150
2155
  b(!1), setTimeout(() => {
2151
2156
  Gt(u || !1), a == null || a();
2152
2157
  }, 300);
@@ -2165,69 +2170,70 @@ function Xr({
2165
2170
  return () => {
2166
2171
  clearTimeout(h);
2167
2172
  };
2168
- }, [l]), l ? /* @__PURE__ */ i.jsxs(
2173
+ }, [c]), c ? /* @__PURE__ */ i.jsxs(
2169
2174
  "div",
2170
2175
  {
2171
- className: lt(
2172
- ot.w,
2173
- k && ot.v,
2174
- c && ot.s
2176
+ className: Pe(
2177
+ st.w,
2178
+ k && st.v,
2179
+ l && st.s
2175
2180
  ),
2176
2181
  children: [
2177
- /* @__PURE__ */ i.jsx("div", { className: ot.n }),
2182
+ /* @__PURE__ */ i.jsx("div", { className: st.n }),
2178
2183
  r
2179
2184
  ]
2180
2185
  }
2181
2186
  ) : "";
2182
2187
  }
2183
- const Qr = (r, n) => {
2184
- var a, l;
2185
- n ? (a = Lt[r]) == null || a.onOpen() : (l = Lt[r]) == null || l.onClose();
2186
- }, en = "_s_10r8v_3", tn = "_n_10r8v_13", Kt = {
2187
- s: en,
2188
- n: tn
2189
- }, Mt = { stop: !1 };
2190
- function rn({
2188
+ const rn = (r, n) => {
2189
+ var a, c;
2190
+ n ? (a = Lt[r]) == null || a.onOpen() : (c = Lt[r]) == null || c.onClose();
2191
+ }, nn = "_s_sfyq2_3", on = "_n_sfyq2_13", Kt = {
2192
+ s: nn,
2193
+ n: on
2194
+ };
2195
+ function an({
2191
2196
  className: r,
2192
2197
  children: n,
2193
2198
  onScrollEnd: a,
2194
- offset: l = 100,
2195
- isLoading: c,
2199
+ offset: c = 100,
2200
+ isLoading: l,
2196
2201
  isScrollBar: p = !1
2197
2202
  }) {
2203
+ const [k, b] = J(l || !1);
2198
2204
  fe(() => {
2199
- Mt.satte = c || !1;
2200
- }, [c]);
2201
- let k = {
2202
- onScroll: (b) => {
2203
- const { scrollTop: u, scrollHeight: S, clientHeight: h } = b.currentTarget;
2204
- u + h >= S - l && !Mt.stop && (Mt.stop = !0, a == null || a());
2205
+ b(l || !1);
2206
+ }, [l]);
2207
+ let u = {
2208
+ onScroll: (S) => {
2209
+ const { scrollTop: h, scrollHeight: g, clientHeight: m } = S.currentTarget;
2210
+ h + m >= g - c && !k && (b(!0), a == null || a());
2205
2211
  }
2206
2212
  };
2207
2213
  return /* @__PURE__ */ i.jsx(
2208
2214
  "div",
2209
2215
  {
2210
- ...k,
2211
- className: lt(Kt.s, !p && Kt.n, r),
2216
+ ...u,
2217
+ className: Pe(Kt.s, !p && Kt.n, r),
2212
2218
  children: n
2213
2219
  }
2214
2220
  );
2215
2221
  }
2216
- const nn = "_a_ohhaz_1", on = "_l_ohhaz_12", an = "_r_ohhaz_15", Dt = {
2217
- a: nn,
2218
- l: on,
2219
- r: an
2222
+ const sn = "_a_ohhaz_1", ln = "_l_ohhaz_12", cn = "_r_ohhaz_15", Dt = {
2223
+ a: sn,
2224
+ l: ln,
2225
+ r: cn
2220
2226
  };
2221
- function sn({
2227
+ function un({
2222
2228
  children: r,
2223
2229
  className: n,
2224
2230
  position: a = "center",
2225
- title: l
2231
+ title: c
2226
2232
  }) {
2227
- let c = "";
2228
- return a === "left" ? c = Dt.l : a === "right" && (c = Dt.r), /* @__PURE__ */ i.jsxs("div", { className: lt(Dt.a, c, n), children: [
2233
+ let l = "";
2234
+ return a === "left" ? l = Dt.l : a === "right" && (l = Dt.r), /* @__PURE__ */ i.jsxs("div", { className: Pe(Dt.a, l, n), children: [
2229
2235
  r,
2230
- l && /* @__PURE__ */ i.jsx("b", { children: l })
2236
+ c && /* @__PURE__ */ i.jsx("b", { children: c })
2231
2237
  ] });
2232
2238
  }
2233
2239
  const U = {
@@ -2241,16 +2247,16 @@ const U = {
2241
2247
  U.prev = de.getPage(), n.page !== void 0 ? de.setPage(n.page) : (a = n.callback) == null || a.call(n);
2242
2248
  }), Ce.BackButton.onClick(U.listen[0]));
2243
2249
  }
2244
- }, lt = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
2250
+ }, Pe = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
2245
2251
  var $;
2246
2252
  ((r) => {
2247
2253
  r.WebApp = window.Telegram.WebApp, r.getUser = () => {
2248
2254
  var n;
2249
2255
  return ((n = r.WebApp.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
2250
2256
  }, r.Notice = {
2251
- Send: (n, a, l) => {
2252
- var c, p;
2253
- a !== void 0 ? (xe.Send({ type: n, text: a, thema: l }), (c = r.WebApp.HapticFeedback) == null || c.notificationOccurred(n)) : (xe.Send(n), (p = r.WebApp.HapticFeedback) == null || p.notificationOccurred(n.type));
2257
+ Send: (n, a, c) => {
2258
+ var l, p;
2259
+ a !== void 0 ? (xe.Send({ type: n, text: a, thema: c }), (l = r.WebApp.HapticFeedback) == null || l.notificationOccurred(n)) : (xe.Send(n), (p = r.WebApp.HapticFeedback) == null || p.notificationOccurred(n.type));
2254
2260
  },
2255
2261
  Error: (n) => {
2256
2262
  var a;
@@ -2264,7 +2270,7 @@ var $;
2264
2270
  var a;
2265
2271
  xe.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
2266
2272
  }
2267
- }, r.Header = mr, r.TabBar = Hr, r.BottomSheet = rr, r.toggleBottomSheet = rt, r.SafeArea = Sr, r.Loading = Er, r.Sidebar = Ur, r.SidePanel = Xr, r.AppBar = sn, r.SidePanelController = Qr, r.Scroll = rn, r.Modal = Wt, r.Menu = $r, r.MainButton = {
2273
+ }, r.Header = Rr, r.TabBar = Gr, r.BottomSheet = rr, r.toggleBottomSheet = nt, r.SafeArea = Er, r.Loading = Ar, r.Sidebar = zr, r.SidePanel = tn, r.AppBar = un, r.SidePanelController = rn, r.Scroll = an, r.Modal = Wt, r.Menu = Ir, r.MainButton = {
2268
2274
  callback: [],
2269
2275
  set: (n) => {
2270
2276
  Ee.is ? Ee.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
@@ -2282,28 +2288,28 @@ var $;
2282
2288
  Ee.is ? Ee.BackButton.set(n) : (U.state.push(n), U.router(n));
2283
2289
  };
2284
2290
  })($ || ($ = {}));
2285
- const fn = $.TabBar, dn = rr, Gt = $.BackButton, pn = $.BackButtonPrev, ln = $.BackButtonState, vn = $.Notice, hn = $.SafeArea, gn = $.Loading, yn = $.Menu, mn = $.SidePanel, bn = $.Scroll, _n = $.AppBar, Rn = $.Sidebar, Sn = $.SidePanelController, { Header: kn, toggleBottomSheet: xn, Modal: En, MainButton: jn, WebApp: Ce, getUser: On } = $;
2291
+ const vn = $.TabBar, hn = rr, Gt = $.BackButton, gn = $.BackButtonPrev, fn = $.BackButtonState, yn = $.Notice, mn = $.SafeArea, bn = $.Loading, _n = $.Menu, Rn = $.SidePanel, Sn = $.Scroll, kn = $.AppBar, xn = $.Sidebar, En = $.SidePanelController, { Header: jn, toggleBottomSheet: On, Modal: An, MainButton: Cn, WebApp: Ce, getUser: Pn } = $;
2286
2292
  export {
2287
- _n as AppBar,
2293
+ kn as AppBar,
2288
2294
  Gt as BackButton,
2289
- pn as BackButtonPrev,
2290
- ln as BackButtonState,
2291
- dn as BottomSheet,
2292
- kn as Header,
2293
- gn as Loading,
2294
- jn as MainButton,
2295
- yn as Menu,
2296
- En as Modal,
2297
- vn as Notice,
2298
- hn as SafeArea,
2299
- bn as Scroll,
2300
- mn as SidePanel,
2301
- Sn as SidePanelController,
2302
- Rn as Sidebar,
2303
- fn as TabBar,
2295
+ gn as BackButtonPrev,
2296
+ fn as BackButtonState,
2297
+ hn as BottomSheet,
2298
+ jn as Header,
2299
+ bn as Loading,
2300
+ Cn as MainButton,
2301
+ _n as Menu,
2302
+ An as Modal,
2303
+ yn as Notice,
2304
+ mn as SafeArea,
2305
+ Sn as Scroll,
2306
+ Rn as SidePanel,
2307
+ En as SidePanelController,
2308
+ xn as Sidebar,
2309
+ vn as TabBar,
2304
2310
  Ce as WebApp,
2305
- lt as clsx,
2311
+ Pe as clsx,
2306
2312
  $ as default,
2307
- On as getUser,
2308
- xn as toggleBottomSheet
2313
+ Pn as getUser,
2314
+ On as toggleBottomSheet
2309
2315
  };