@elcrm/telegram 0.0.110 → 0.0.111

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
@@ -15,14 +15,14 @@ function or() {
15
15
  if (Ut) return tt;
16
16
  Ut = 1;
17
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
- function k(m, u, R) {
18
+ function x(m, u, R) {
19
19
  var h, b = {}, g = null, T = null;
20
20
  R !== void 0 && (g = "" + R), u.key !== void 0 && (g = "" + u.key), u.ref !== void 0 && (T = u.ref);
21
21
  for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
22
22
  if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
23
23
  return { $$typeof: n, type: m, key: g, ref: T, props: b, _owner: l.current };
24
24
  }
25
- return tt.Fragment = a, tt.jsx = k, tt.jsxs = k, tt;
25
+ return tt.Fragment = a, tt.jsx = x, tt.jsxs = x, tt;
26
26
  }
27
27
  var rt = {};
28
28
  /**
@@ -37,11 +37,11 @@ var rt = {};
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"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), C = Symbol.iterator, Te = "@@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"), x = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, Te = "@@iterator";
41
41
  function pe(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
44
- var t = C && e[C] || e[Te];
44
+ var t = P && e[P] || e[Te];
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;
@@ -65,7 +65,7 @@ function ar() {
65
65
  var Ne = !1, Oe = !1, Be = !1, Ie = !1, _ = !1, E;
66
66
  E = Symbol.for("react.module.reference");
67
67
  function B(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Ie || e === T || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === b || e.$$typeof === k || e.$$typeof === m || 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 === R || e === h || Ie || e === T || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === b || e.$$typeof === x || e.$$typeof === m || 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.
@@ -107,7 +107,7 @@ function ar() {
107
107
  case m:
108
108
  var t = e;
109
109
  return I(t) + ".Consumer";
110
- case k:
110
+ case x:
111
111
  var o = e;
112
112
  return I(o._context) + ".Provider";
113
113
  case u:
@@ -233,42 +233,42 @@ function ar() {
233
233
  }), typeof Reflect == "object" && Reflect.construct) {
234
234
  try {
235
235
  Reflect.construct(d, []);
236
- } catch (w) {
237
- s = w;
236
+ } catch (C) {
237
+ s = C;
238
238
  }
239
239
  Reflect.construct(e, [], d);
240
240
  } else {
241
241
  try {
242
242
  d.call();
243
- } catch (w) {
244
- s = w;
243
+ } catch (C) {
244
+ s = C;
245
245
  }
246
246
  e.call(d.prototype);
247
247
  }
248
248
  } else {
249
249
  try {
250
250
  throw Error();
251
- } catch (w) {
252
- s = w;
251
+ } catch (C) {
252
+ s = C;
253
253
  }
254
254
  e();
255
255
  }
256
- } catch (w) {
257
- if (w && s && typeof w.stack == "string") {
258
- for (var f = w.stack.split(`
256
+ } catch (C) {
257
+ if (C && s && typeof C.stack == "string") {
258
+ for (var f = C.stack.split(`
259
259
  `), O = s.stack.split(`
260
- `), S = f.length - 1, x = O.length - 1; S >= 1 && x >= 0 && f[S] !== O[x]; )
261
- x--;
262
- for (; S >= 1 && x >= 0; S--, x--)
263
- if (f[S] !== O[x]) {
264
- if (S !== 1 || x !== 1)
260
+ `), S = f.length - 1, k = O.length - 1; S >= 1 && k >= 0 && f[S] !== O[k]; )
261
+ k--;
262
+ for (; S >= 1 && k >= 0; S--, k--)
263
+ if (f[S] !== O[k]) {
264
+ if (S !== 1 || k !== 1)
265
265
  do
266
- if (S--, x--, x < 0 || f[S] !== O[x]) {
267
- var P = `
266
+ if (S--, k--, k < 0 || f[S] !== O[k]) {
267
+ var w = `
268
268
  ` + f[S].replace(" at new ", " at ");
269
- return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, P), P;
269
+ return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
270
270
  }
271
- while (S >= 1 && x >= 0);
271
+ while (S >= 1 && k >= 0);
272
272
  break;
273
273
  }
274
274
  }
@@ -390,7 +390,7 @@ function ar() {
390
390
  function St(e, t) {
391
391
  typeof e.ref == "string" && ze.current;
392
392
  }
393
- function kt(e, t) {
393
+ function xt(e, t) {
394
394
  {
395
395
  var o = function() {
396
396
  qe || (qe = !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));
@@ -401,7 +401,7 @@ function ar() {
401
401
  });
402
402
  }
403
403
  }
404
- function xt(e, t) {
404
+ function kt(e, t) {
405
405
  {
406
406
  var o = function() {
407
407
  He || (He = !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));
@@ -453,8 +453,8 @@ function ar() {
453
453
  d[y] === void 0 && (d[y] = S[y]);
454
454
  }
455
455
  if (f || O) {
456
- var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
- f && kt(d, x), O && xt(d, x);
456
+ var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
+ f && xt(d, k), O && kt(d, k);
458
458
  }
459
459
  return Et(e, f, O, v, s, ze.current, d);
460
460
  }
@@ -532,7 +532,7 @@ Check the top-level render call using <` + o + ">.");
532
532
  }
533
533
  }
534
534
  }
535
- function wt(e) {
535
+ function Ct(e) {
536
536
  {
537
537
  var t = e.type;
538
538
  if (t == null || typeof t == "string")
@@ -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];
@@ -581,28 +581,28 @@ Check the top-level render call using <` + o + ">.");
581
581
  var S;
582
582
  e === null ? S = "null" : ye(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, f);
583
583
  }
584
- var x = jt(e, t, o, v, y);
585
- if (x == null)
586
- return x;
584
+ var k = jt(e, t, o, v, y);
585
+ if (k == null)
586
+ return k;
587
587
  if (d) {
588
- var P = t.children;
589
- if (P !== void 0)
588
+ var w = t.children;
589
+ if (w !== void 0)
590
590
  if (s)
591
- if (ye(P)) {
592
- for (var z = 0; z < P.length; z++)
593
- Xe(P[z], e);
594
- Object.freeze && Object.freeze(P);
591
+ if (ye(w)) {
592
+ for (var z = 0; z < w.length; z++)
593
+ Xe(w[z], e);
594
+ Object.freeze && Object.freeze(w);
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
- Xe(P, e);
598
+ Xe(w, e);
599
599
  }
600
600
  if (K.call(t, "key")) {
601
- var L = $(e), w = Object.keys(t).filter(function(It) {
601
+ var L = $(e), C = Object.keys(t).filter(function(It) {
602
602
  return It !== "key";
603
- }), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
603
+ }), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
604
604
  if (!Qe[L + Re]) {
605
- var Bt = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
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} />
@@ -611,22 +611,22 @@ React keys must be passed directly to JSX without using spread:
611
611
  <%s key={someKey} {...props} />`, Re, L, Bt, L), Qe[L + Re] = !0;
612
612
  }
613
613
  }
614
- return e === c ? Ct(x) : wt(x), x;
614
+ return e === c ? Pt(k) : Ct(k), k;
615
615
  }
616
616
  }
617
- function Pt(e, t, o) {
617
+ function wt(e, t, o) {
618
618
  return et(e, t, o, !0);
619
619
  }
620
620
  function Tt(e, t, o) {
621
621
  return et(e, t, o, !1);
622
622
  }
623
- var $t = Tt, Nt = Pt;
623
+ var $t = Tt, Nt = wt;
624
624
  rt.Fragment = c, rt.jsx = $t, rt.jsxs = Nt;
625
625
  }()), rt;
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_w3bne_11", ir = "_x_w3bne_25", lr = "_p_w3bne_29", cr = "_m_w3bne_47", Ae = {
629
+ const sr = "_o_1xf89_11", ir = "_x_1xf89_25", lr = "_p_1xf89_29", cr = "_m_1xf89_46", Ae = {
630
630
  o: sr,
631
631
  x: ir,
632
632
  p: lr,
@@ -639,22 +639,22 @@ var Wt;
639
639
  children: m,
640
640
  onCallbackModal: u,
641
641
  nameModal: R,
642
- offsetTop: h = !0
642
+ offsetTop: h
643
643
  }) {
644
- const [b, g] = J(!1), [T, C] = J(!1);
644
+ const [b, g] = J(!1), [T, P] = J(!1);
645
645
  if (q[R].onClose = () => {
646
- N.BackButton(!1), C(!0), setTimeout(() => {
647
- g(!1), C(!1), u == null || u(), q.x(R);
646
+ N.BackButton(!1), P(!0), setTimeout(() => {
647
+ g(!1), P(!1), u == null || u(), q.x(R);
648
648
  }, 300);
649
649
  }, fe(() => {
650
650
  b ? q[R].onClose() : (N.BackButton({
651
651
  callback: () => q[R].onClose()
652
652
  }), g(!0));
653
653
  }, []), !!b)
654
- return /* @__PURE__ */ i.jsx("div", { className: Pe(Ae.o, T && Ae.x), children: /* @__PURE__ */ i.jsx(
654
+ return /* @__PURE__ */ i.jsx("div", { className: we(Ae.o, T && Ae.x), children: /* @__PURE__ */ i.jsx(
655
655
  "div",
656
656
  {
657
- className: Pe(
657
+ className: we(
658
658
  Ae.p,
659
659
  T && Ae.x,
660
660
  h ? Ae.o : Ae.m
@@ -677,13 +677,14 @@ var Wt;
677
677
  }, /* @__PURE__ */ i.jsx(i.Fragment, { children: u.map((h) => h.item) });
678
678
  }
679
679
  r.Init = a;
680
- function c(m, u) {
680
+ function c(m, u, R) {
681
681
  q.add(
682
682
  /* @__PURE__ */ i.jsx(
683
683
  n,
684
684
  {
685
685
  onCallbackModal: q["callback_modal" + u],
686
686
  nameModal: u || "",
687
+ offsetTop: R,
687
688
  children: m
688
689
  },
689
690
  String(Date.now())
@@ -692,7 +693,7 @@ var Wt;
692
693
  );
693
694
  }
694
695
  r.Add = c;
695
- function l(m, u = Date.now().toString(), R = !0) {
696
+ function l(m, u = Date.now().toString(), R) {
696
697
  return q[u] = {}, {
697
698
  Open: (g) => {
698
699
  r.Add(
@@ -701,15 +702,15 @@ var Wt;
701
702
  {
702
703
  ...g,
703
704
  onCallbackModal: (T) => {
704
- var C;
705
- (C = g.callback) == null || C.call(g, T);
705
+ var P;
706
+ (P = g.callback) == null || P.call(g, T);
706
707
  },
707
- nameModal: u,
708
- offsetTop: R
708
+ nameModal: u
709
709
  },
710
710
  (/* @__PURE__ */ new Date()).getTime()
711
711
  ),
712
- u
712
+ u,
713
+ R === void 0 ? !0 : R
713
714
  );
714
715
  }
715
716
  };
@@ -719,12 +720,12 @@ var Wt;
719
720
  q[m].onClose();
720
721
  }
721
722
  r.Close = p;
722
- function k(m, u, R, h) {
723
+ function x(m, u, R, h) {
723
724
  q.i && (h && (R.callback = h), q.i(`${m}/modals/${u}.tsx`).then((b) => {
724
725
  b.default.Open(R);
725
726
  }));
726
727
  }
727
- r.Open = k;
728
+ r.Open = x;
728
729
  })(Wt || (Wt = {}));
729
730
  function Zt() {
730
731
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
@@ -766,8 +767,8 @@ const lt = (r) => {
766
767
  const a = new Uint8Array(r.length), c = new Uint8Array(r.length);
767
768
  let l = 0;
768
769
  for (let p = 0; p < r.length; p++) {
769
- const k = p % n.length;
770
- l = n[k] + p + l & 255, c[p] = l;
770
+ const x = p % n.length;
771
+ l = n[x] + p + l & 255, c[p] = l;
771
772
  }
772
773
  for (let p = 0; p < r.length; p++)
773
774
  a[p] = r[p] ^ c[p];
@@ -788,8 +789,8 @@ const lt = (r) => {
788
789
  try {
789
790
  const n = lt(
790
791
  Date.now().toString() + Math.random()
791
- ).substring(0, it().saltLength * 2), a = lt(r + n).substring(0, 8), c = Qt(it().key, n), l = ur(r), p = er(l, c), k = dr(p);
792
- return `${n}.${k}.${a}`;
792
+ ).substring(0, it().saltLength * 2), a = lt(r + n).substring(0, 8), c = Qt(it().key, n), l = ur(r), p = er(l, c), x = dr(p);
793
+ return `${n}.${x}.${a}`;
793
794
  } catch {
794
795
  throw new Error("Не удалось зашифровать данные");
795
796
  }
@@ -798,7 +799,7 @@ const lt = (r) => {
798
799
  const n = r.split(".");
799
800
  if (n.length !== 3)
800
801
  throw new Error("Неверный формат зашифрованных данных");
801
- const a = n[0], c = n[1], l = n[2], p = Qt(it().key, a), k = pr(c), m = er(k, p), u = fr(m);
802
+ const a = n[0], c = n[1], l = n[2], p = Qt(it().key, a), x = pr(c), m = er(x, p), u = fr(m);
802
803
  if (lt(u + a).substring(
803
804
  0,
804
805
  8
@@ -848,14 +849,14 @@ function gr() {
848
849
  if (zt) return nt;
849
850
  zt = 1;
850
851
  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 };
851
- function k(m, u, R) {
852
+ function x(m, u, R) {
852
853
  var h, b = {}, g = null, T = null;
853
854
  R !== void 0 && (g = "" + R), u.key !== void 0 && (g = "" + u.key), u.ref !== void 0 && (T = u.ref);
854
855
  for (h in u) c.call(u, h) && !p.hasOwnProperty(h) && (b[h] = u[h]);
855
856
  if (m && m.defaultProps) for (h in u = m.defaultProps, u) b[h] === void 0 && (b[h] = u[h]);
856
857
  return { $$typeof: n, type: m, key: g, ref: T, props: b, _owner: l.current };
857
858
  }
858
- return nt.Fragment = a, nt.jsx = k, nt.jsxs = k, nt;
859
+ return nt.Fragment = a, nt.jsx = x, nt.jsxs = x, nt;
859
860
  }
860
861
  var at = {};
861
862
  /**
@@ -870,11 +871,11 @@ var at = {};
870
871
  var qt;
871
872
  function yr() {
872
873
  return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
873
- 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"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), C = Symbol.iterator, Te = "@@iterator";
874
+ 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"), x = Symbol.for("react.provider"), m = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), P = Symbol.iterator, Te = "@@iterator";
874
875
  function pe(e) {
875
876
  if (e === null || typeof e != "object")
876
877
  return null;
877
- var t = C && e[C] || e[Te];
878
+ var t = P && e[P] || e[Te];
878
879
  return typeof t == "function" ? t : null;
879
880
  }
880
881
  var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -898,7 +899,7 @@ function yr() {
898
899
  var Ne = !1, Oe = !1, Be = !1, Ie = !1, _ = !1, E;
899
900
  E = Symbol.for("react.module.reference");
900
901
  function B(e) {
901
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Ie || e === T || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === b || e.$$typeof === k || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
902
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === p || _ || e === l || e === R || e === h || Ie || e === T || Ne || Oe || Be || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === b || e.$$typeof === x || e.$$typeof === m || e.$$typeof === u || // This needs to include all possible module reference object
902
903
  // types supported by any Flight configuration anywhere since
903
904
  // we don't know which Flight build this will end up being used
904
905
  // with.
@@ -940,7 +941,7 @@ function yr() {
940
941
  case m:
941
942
  var t = e;
942
943
  return I(t) + ".Consumer";
943
- case k:
944
+ case x:
944
945
  var o = e;
945
946
  return I(o._context) + ".Provider";
946
947
  case u:
@@ -1066,42 +1067,42 @@ function yr() {
1066
1067
  }), typeof Reflect == "object" && Reflect.construct) {
1067
1068
  try {
1068
1069
  Reflect.construct(d, []);
1069
- } catch (w) {
1070
- s = w;
1070
+ } catch (C) {
1071
+ s = C;
1071
1072
  }
1072
1073
  Reflect.construct(e, [], d);
1073
1074
  } else {
1074
1075
  try {
1075
1076
  d.call();
1076
- } catch (w) {
1077
- s = w;
1077
+ } catch (C) {
1078
+ s = C;
1078
1079
  }
1079
1080
  e.call(d.prototype);
1080
1081
  }
1081
1082
  } else {
1082
1083
  try {
1083
1084
  throw Error();
1084
- } catch (w) {
1085
- s = w;
1085
+ } catch (C) {
1086
+ s = C;
1086
1087
  }
1087
1088
  e();
1088
1089
  }
1089
- } catch (w) {
1090
- if (w && s && typeof w.stack == "string") {
1091
- for (var f = w.stack.split(`
1090
+ } catch (C) {
1091
+ if (C && s && typeof C.stack == "string") {
1092
+ for (var f = C.stack.split(`
1092
1093
  `), O = s.stack.split(`
1093
- `), S = f.length - 1, x = O.length - 1; S >= 1 && x >= 0 && f[S] !== O[x]; )
1094
- x--;
1095
- for (; S >= 1 && x >= 0; S--, x--)
1096
- if (f[S] !== O[x]) {
1097
- if (S !== 1 || x !== 1)
1094
+ `), S = f.length - 1, k = O.length - 1; S >= 1 && k >= 0 && f[S] !== O[k]; )
1095
+ k--;
1096
+ for (; S >= 1 && k >= 0; S--, k--)
1097
+ if (f[S] !== O[k]) {
1098
+ if (S !== 1 || k !== 1)
1098
1099
  do
1099
- if (S--, x--, x < 0 || f[S] !== O[x]) {
1100
- var P = `
1100
+ if (S--, k--, k < 0 || f[S] !== O[k]) {
1101
+ var w = `
1101
1102
  ` + f[S].replace(" at new ", " at ");
1102
- return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, P), P;
1103
+ return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, w), w;
1103
1104
  }
1104
- while (S >= 1 && x >= 0);
1105
+ while (S >= 1 && k >= 0);
1105
1106
  break;
1106
1107
  }
1107
1108
  }
@@ -1223,7 +1224,7 @@ function yr() {
1223
1224
  function St(e, t) {
1224
1225
  typeof e.ref == "string" && ze.current;
1225
1226
  }
1226
- function kt(e, t) {
1227
+ function xt(e, t) {
1227
1228
  {
1228
1229
  var o = function() {
1229
1230
  qe || (qe = !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));
@@ -1234,7 +1235,7 @@ function yr() {
1234
1235
  });
1235
1236
  }
1236
1237
  }
1237
- function xt(e, t) {
1238
+ function kt(e, t) {
1238
1239
  {
1239
1240
  var o = function() {
1240
1241
  He || (He = !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));
@@ -1286,8 +1287,8 @@ function yr() {
1286
1287
  d[y] === void 0 && (d[y] = S[y]);
1287
1288
  }
1288
1289
  if (f || O) {
1289
- var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1290
- f && kt(d, x), O && xt(d, x);
1290
+ var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1291
+ f && xt(d, k), O && kt(d, k);
1291
1292
  }
1292
1293
  return Et(e, f, O, v, s, ze.current, d);
1293
1294
  }
@@ -1365,7 +1366,7 @@ Check the top-level render call using <` + o + ">.");
1365
1366
  }
1366
1367
  }
1367
1368
  }
1368
- function wt(e) {
1369
+ function Ct(e) {
1369
1370
  {
1370
1371
  var t = e.type;
1371
1372
  if (t == null || typeof t == "string")
@@ -1390,7 +1391,7 @@ Check the top-level render call using <` + o + ">.");
1390
1391
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1391
1392
  }
1392
1393
  }
1393
- function Ct(e) {
1394
+ function Pt(e) {
1394
1395
  {
1395
1396
  for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
1396
1397
  var s = t[o];
@@ -1414,28 +1415,28 @@ Check the top-level render call using <` + o + ">.");
1414
1415
  var S;
1415
1416
  e === null ? S = "null" : ye(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, f);
1416
1417
  }
1417
- var x = jt(e, t, o, v, y);
1418
- if (x == null)
1419
- return x;
1418
+ var k = jt(e, t, o, v, y);
1419
+ if (k == null)
1420
+ return k;
1420
1421
  if (d) {
1421
- var P = t.children;
1422
- if (P !== void 0)
1422
+ var w = t.children;
1423
+ if (w !== void 0)
1423
1424
  if (s)
1424
- if (ye(P)) {
1425
- for (var z = 0; z < P.length; z++)
1426
- Xe(P[z], e);
1427
- Object.freeze && Object.freeze(P);
1425
+ if (ye(w)) {
1426
+ for (var z = 0; z < w.length; z++)
1427
+ Xe(w[z], e);
1428
+ Object.freeze && Object.freeze(w);
1428
1429
  } else
1429
1430
  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.");
1430
1431
  else
1431
- Xe(P, e);
1432
+ Xe(w, e);
1432
1433
  }
1433
1434
  if (K.call(t, "key")) {
1434
- var L = $(e), w = Object.keys(t).filter(function(It) {
1435
+ var L = $(e), C = Object.keys(t).filter(function(It) {
1435
1436
  return It !== "key";
1436
- }), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
1437
+ }), Re = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
1437
1438
  if (!Qe[L + Re]) {
1438
- var Bt = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
1439
+ var Bt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
1439
1440
  j(`A props object containing a "key" prop is being spread into JSX:
1440
1441
  let props = %s;
1441
1442
  <%s {...props} />
@@ -1444,16 +1445,16 @@ React keys must be passed directly to JSX without using spread:
1444
1445
  <%s key={someKey} {...props} />`, Re, L, Bt, L), Qe[L + Re] = !0;
1445
1446
  }
1446
1447
  }
1447
- return e === c ? Ct(x) : wt(x), x;
1448
+ return e === c ? Pt(k) : Ct(k), k;
1448
1449
  }
1449
1450
  }
1450
- function Pt(e, t, o) {
1451
+ function wt(e, t, o) {
1451
1452
  return et(e, t, o, !0);
1452
1453
  }
1453
1454
  function Tt(e, t, o) {
1454
1455
  return et(e, t, o, !1);
1455
1456
  }
1456
- var $t = Tt, Nt = Pt;
1457
+ var $t = Tt, Nt = wt;
1457
1458
  at.Fragment = c, at.jsx = $t, at.jsxs = Nt;
1458
1459
  }()), at;
1459
1460
  }
@@ -1487,7 +1488,7 @@ function te(r) {
1487
1488
  const p = je();
1488
1489
  if (p.ROUTER_PARAMS) {
1489
1490
  r.debug || p.ROUTER_PARAMS.debug;
1490
- const k = {
1491
+ const x = {
1491
1492
  page: (n = p.ROUTER_PARAMS) == null ? void 0 : n.page,
1492
1493
  module: (a = p.ROUTER_PARAMS) == null ? void 0 : a.module,
1493
1494
  tab: (c = p.ROUTER_PARAMS) == null ? void 0 : c.tab,
@@ -1496,17 +1497,17 @@ function te(r) {
1496
1497
  p.ROUTER_PARAMS = {
1497
1498
  ...p.ROUTER_PARAMS,
1498
1499
  ...r,
1499
- prev: k
1500
+ prev: x
1500
1501
  };
1501
1502
  } else {
1502
1503
  r.debug || H.debug;
1503
- const k = {
1504
+ const x = {
1504
1505
  page: H == null ? void 0 : H.page,
1505
1506
  module: H == null ? void 0 : H.module,
1506
1507
  tab: H == null ? void 0 : H.tab,
1507
1508
  id: H == null ? void 0 : H.id
1508
1509
  };
1509
- p.ROUTER_PARAMS = { ...H, ...r, prev: k };
1510
+ p.ROUTER_PARAMS = { ...H, ...r, prev: x };
1510
1511
  }
1511
1512
  }
1512
1513
  function A() {
@@ -1563,7 +1564,7 @@ var de;
1563
1564
  function l(_) {
1564
1565
  let E = (I) => (te({ page: I }), I);
1565
1566
  const [B, M] = F.useState(
1566
- k() || _ && E(_) || A().page
1567
+ x() || _ && E(_) || A().page
1567
1568
  );
1568
1569
  return Se({ page: (I) => {
1569
1570
  M(I);
@@ -1577,10 +1578,10 @@ var de;
1577
1578
  ), E && ie().page(_);
1578
1579
  }
1579
1580
  r.setPage = p;
1580
- function k() {
1581
+ function x() {
1581
1582
  return A().page;
1582
1583
  }
1583
- r.getPage = k;
1584
+ r.getPage = x;
1584
1585
  function m(_) {
1585
1586
  return A().page === _;
1586
1587
  }
@@ -1621,7 +1622,7 @@ var de;
1621
1622
  Se({ tabs: _ });
1622
1623
  }
1623
1624
  r.useTabs = T;
1624
- function C(_) {
1625
+ function P(_) {
1625
1626
  let E = (I) => (te({ tab: I }), I);
1626
1627
  const [B, M] = F.useState(
1627
1628
  pe() || _ && E(_) || A().tab
@@ -1630,7 +1631,7 @@ var de;
1630
1631
  M(I);
1631
1632
  } }), B;
1632
1633
  }
1633
- r.useTab = C;
1634
+ r.useTab = P;
1634
1635
  async function Te(_, E = !0) {
1635
1636
  te({ tab: _ }), sessionStorage.setItem(
1636
1637
  A().STORAGE,
@@ -1746,7 +1747,7 @@ function Rr(r) {
1746
1747
  }
1747
1748
  ) });
1748
1749
  }
1749
- let xe = {
1750
+ let ke = {
1750
1751
  Send: _r,
1751
1752
  Init: br
1752
1753
  };
@@ -1801,7 +1802,7 @@ G.users = {
1801
1802
  };
1802
1803
  const Sr = () => {
1803
1804
  if (location.hostname === "localhost") {
1804
- let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [k, m] = J(!1), [u, R] = J(!1);
1805
+ let [r, n] = J(!1), [a, c] = J(!1), [l, p] = J("dark"), [x, m] = J(!1), [u, R] = J(!1);
1805
1806
  Ee.is = !0, Ee.MainButton.set = n, Ee.BackButton.set = c, fe(() => {
1806
1807
  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";
1807
1808
  for (let g in G[l])
@@ -1809,7 +1810,7 @@ const Sr = () => {
1809
1810
  g,
1810
1811
  G[l][g]
1811
1812
  );
1812
- Ce.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1813
+ Pe.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1813
1814
  "--tg-safe-area-inset-bottom",
1814
1815
  "16px"
1815
1816
  );
@@ -1834,9 +1835,9 @@ const Sr = () => {
1834
1835
  children: "Назад"
1835
1836
  }
1836
1837
  ),
1837
- /* @__PURE__ */ i.jsx("div", { className: "o", onClick: () => m(!k), children: "Меню" })
1838
+ /* @__PURE__ */ i.jsx("div", { className: "o", onClick: () => m(!x), children: "Меню" })
1838
1839
  ] }),
1839
- /* @__PURE__ */ i.jsx(xe.Init, {}),
1840
+ /* @__PURE__ */ i.jsx(ke.Init, {}),
1840
1841
  r && /* @__PURE__ */ i.jsx("div", { className: "mb", children: /* @__PURE__ */ i.jsx(
1841
1842
  "button",
1842
1843
  {
@@ -1846,7 +1847,7 @@ const Sr = () => {
1846
1847
  children: r.text
1847
1848
  }
1848
1849
  ) }),
1849
- k ? /* @__PURE__ */ i.jsxs("div", { className: "tm", children: [
1850
+ x ? /* @__PURE__ */ i.jsxs("div", { className: "tm", children: [
1850
1851
  /* @__PURE__ */ i.jsxs("ul", { children: [
1851
1852
  /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: b, children: "Authorization" }) }),
1852
1853
  /* @__PURE__ */ i.jsx("li", {})
@@ -1878,25 +1879,25 @@ const Sr = () => {
1878
1879
  ) })
1879
1880
  ] })
1880
1881
  ] }),
1881
- /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!k), children: "Closed" }) })
1882
+ /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { onClick: () => m(!x), children: "Closed" }) })
1882
1883
  ] })
1883
1884
  ] }) : "",
1884
- u ? /* @__PURE__ */ i.jsx(kr, { setAuthorization: R }) : ""
1885
+ u ? /* @__PURE__ */ i.jsx(xr, { setAuthorization: R }) : ""
1885
1886
  ] });
1886
1887
  } else
1887
1888
  return fe(() => {
1888
1889
  document.documentElement.style.setProperty(
1889
1890
  "--tg-theme-secondary-bg-color-alpha",
1890
- Ce.themeParams.secondary_bg_color + "d3"
1891
+ Pe.themeParams.secondary_bg_color + "d3"
1891
1892
  ), document.documentElement.style.setProperty(
1892
1893
  "--tg-theme-bg-color-alpha",
1893
- Ce.themeParams.bg_color + "b3"
1894
- ), Ce.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1894
+ Pe.themeParams.bg_color + "b3"
1895
+ ), Pe.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1895
1896
  "--tg-safe-area-inset-bottom",
1896
1897
  "16px"
1897
1898
  );
1898
- }, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(xe.Init, {}) });
1899
- }, kr = ({ setAuthorization: r }) => {
1899
+ }, []), /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(ke.Init, {}) });
1900
+ }, xr = ({ setAuthorization: r }) => {
1900
1901
  let n = {}, a = () => {
1901
1902
  localStorage.setItem("auth", n);
1902
1903
  };
@@ -1904,8 +1905,8 @@ const Sr = () => {
1904
1905
  /* @__PURE__ */ i.jsx("fieldset", {}),
1905
1906
  /* @__PURE__ */ i.jsx("div", { onClick: a, children: " Сохранить " })
1906
1907
  ] }) });
1907
- }, xr = "_p_12hh1_1", Er = "_s_12hh1_17", Ht = {
1908
- p: xr,
1908
+ }, kr = "_p_12hh1_1", Er = "_s_12hh1_17", Ht = {
1909
+ p: kr,
1909
1910
  s: Er
1910
1911
  }, jr = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ i.jsx(
1911
1912
  "div",
@@ -1915,15 +1916,15 @@ const Sr = () => {
1915
1916
  }
1916
1917
  ), Or = "_l_gfyud_1", Ar = {
1917
1918
  l: Or
1918
- }, wr = ({ children: r, className: n }) => /* @__PURE__ */ i.jsx(
1919
+ }, Cr = ({ children: r, className: n }) => /* @__PURE__ */ i.jsx(
1919
1920
  "div",
1920
1921
  {
1921
1922
  className: [Ar.l, n].filter((a) => a !== void 0).join(" "),
1922
1923
  children: r
1923
1924
  }
1924
- ), Cr = "_m_ppm7n_2", Pr = "_g_ppm7n_10", Tr = "_i_ppm7n_18", $r = "_c_ppm7n_35", Nr = "_l_ppm7n_42", Br = "_a_ppm7n_57", Ir = "_n_ppm7n_62", ke = {
1925
- m: Cr,
1926
- g: Pr,
1925
+ ), Pr = "_m_ppm7n_2", wr = "_g_ppm7n_10", Tr = "_i_ppm7n_18", $r = "_c_ppm7n_35", Nr = "_l_ppm7n_42", Br = "_a_ppm7n_57", Ir = "_n_ppm7n_62", xe = {
1926
+ m: Pr,
1927
+ g: wr,
1927
1928
  i: Tr,
1928
1929
  c: $r,
1929
1930
  l: Nr,
@@ -1933,29 +1934,29 @@ const Sr = () => {
1933
1934
  const n = (c) => {
1934
1935
  de.setPage(c);
1935
1936
  }, a = (c) => {
1936
- Ce.openTelegramLink(c);
1937
+ Pe.openTelegramLink(c);
1937
1938
  };
1938
- 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(
1939
+ return /* @__PURE__ */ i.jsx("div", { className: xe.m, children: r.map((c) => /* @__PURE__ */ i.jsx("div", { className: xe.g, children: c.items.map((l, p) => /* @__PURE__ */ i.jsxs(
1939
1940
  "div",
1940
1941
  {
1941
- className: ke.i,
1942
+ className: xe.i,
1942
1943
  onClick: () => {
1943
1944
  l.link && a(l.link), l.page && n(l.page), l.callback && l.callback();
1944
1945
  },
1945
1946
  children: [
1946
- /* @__PURE__ */ i.jsxs("div", { className: ke.c, children: [
1947
+ /* @__PURE__ */ i.jsxs("div", { className: xe.c, children: [
1947
1948
  /* @__PURE__ */ i.jsx(
1948
1949
  "span",
1949
1950
  {
1950
- className: ke.l,
1951
+ className: xe.l,
1951
1952
  style: { background: l.color },
1952
1953
  children: l.icon
1953
1954
  }
1954
1955
  ),
1955
1956
  l.title,
1956
- l.count && /* @__PURE__ */ i.jsx("span", { className: ke.n, children: l.count })
1957
+ l.count && /* @__PURE__ */ i.jsx("span", { className: xe.n, children: l.count })
1957
1958
  ] }),
1958
- /* @__PURE__ */ i.jsx("span", { className: ke.a, children: "›" })
1959
+ /* @__PURE__ */ i.jsx("span", { className: xe.a, children: "›" })
1959
1960
  ]
1960
1961
  },
1961
1962
  p
@@ -1977,7 +1978,7 @@ function qr({
1977
1978
  title: c,
1978
1979
  className: l,
1979
1980
  view: p = "list",
1980
- position: k = "left"
1981
+ position: x = "left"
1981
1982
  }) {
1982
1983
  const [m, u] = J(!1), [R, h] = J(
1983
1984
  null
@@ -1993,9 +1994,9 @@ function qr({
1993
1994
  /* @__PURE__ */ i.jsxs(
1994
1995
  "div",
1995
1996
  {
1996
- className: Pe(
1997
+ className: we(
1997
1998
  le.m,
1998
- k === "left" ? le.l : le.r,
1999
+ x === "left" ? le.l : le.r,
1999
2000
  m && le.x,
2000
2001
  l
2001
2002
  ),
@@ -2051,21 +2052,21 @@ const rr = ({
2051
2052
  className: l,
2052
2053
  onOpen: p
2053
2054
  }) => {
2054
- const [k, m] = F.useState(!1);
2055
+ const [x, m] = F.useState(!1);
2055
2056
  return ot = () => {
2056
2057
  m(!0), setTimeout(() => {
2057
2058
  var u;
2058
- p == null || p(!1), (u = we == null ? void 0 : we.onClose) == null || u.call(we);
2059
+ p == null || p(!1), (u = Ce == null ? void 0 : Ce.onClose) == null || u.call(Ce);
2059
2060
  }, 300);
2060
2061
  }, /* @__PURE__ */ i.jsx(
2061
2062
  "div",
2062
2063
  {
2063
- className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${k ? "closing" : ""} `,
2064
+ className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${x ? "closing" : ""} `,
2064
2065
  onClick: ot,
2065
2066
  children: /* @__PURE__ */ i.jsxs(
2066
2067
  "div",
2067
2068
  {
2068
- className: `footer-menu-popup-book ${k ? "closing" : ""} ${l || ""} ${c ? "footer" : ""}`,
2069
+ className: `footer-menu-popup-book ${x ? "closing" : ""} ${l || ""} ${c ? "footer" : ""}`,
2069
2070
  onClick: (u) => u.stopPropagation(),
2070
2071
  children: [
2071
2072
  /* @__PURE__ */ i.jsxs("div", { className: "footer-menu-header", children: [
@@ -2090,35 +2091,35 @@ const rr = ({
2090
2091
  row: Jr,
2091
2092
  column: Kr,
2092
2093
  badge: Gr
2093
- }, we = [], Jt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Zr = ({
2094
+ }, Ce = [], Jt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Zr = ({
2094
2095
  actions: r,
2095
2096
  children: n,
2096
2097
  className: a,
2097
2098
  toHide: c = !1,
2098
2099
  page: l,
2099
2100
  onPageChange: p,
2100
- direction: k = "row"
2101
+ direction: x = "row"
2101
2102
  }) => {
2102
2103
  const [m, u] = F.useState(null), [R, h] = F.useState(
2103
2104
  l ? Jt(r || [], l) : 0
2104
2105
  );
2105
- return we.onClose = () => {
2106
+ return Ce.onClose = () => {
2106
2107
  u(null), h(l ? Jt(r || [], l) : 0);
2107
2108
  }, fe(() => {
2108
2109
  if (!c)
2109
2110
  return;
2110
2111
  const b = document.querySelectorAll("[contenteditable]"), g = () => {
2111
- const C = document.querySelector("footer");
2112
- C && (C.style.display = "flex");
2112
+ const P = document.querySelector("footer");
2113
+ P && (P.style.display = "flex");
2113
2114
  }, T = () => {
2114
- const C = document.querySelector("footer");
2115
- C && (C.style.display = "none");
2115
+ const P = document.querySelector("footer");
2116
+ P && (P.style.display = "none");
2116
2117
  };
2117
- return b.forEach((C) => {
2118
- C.addEventListener("focus", T, !0), C.addEventListener("blur", g, !0);
2118
+ return b.forEach((P) => {
2119
+ P.addEventListener("focus", T, !0), P.addEventListener("blur", g, !0);
2119
2120
  }), () => {
2120
- b.forEach((C) => {
2121
- C.removeEventListener("focus", T, !0), C.removeEventListener("blur", g, !0);
2121
+ b.forEach((P) => {
2122
+ P.removeEventListener("focus", T, !0), P.removeEventListener("blur", g, !0);
2122
2123
  });
2123
2124
  };
2124
2125
  }, []), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
@@ -2126,7 +2127,7 @@ const rr = ({
2126
2127
  /* @__PURE__ */ i.jsxs(
2127
2128
  "footer",
2128
2129
  {
2129
- className: `${Mt.h} ${Mt[k]} ${a} `,
2130
+ className: `${Mt.h} ${Mt[x]} ${a} `,
2130
2131
  children: [
2131
2132
  n,
2132
2133
  r && r.map((b, g) => /* @__PURE__ */ i.jsxs(
@@ -2161,7 +2162,7 @@ function rn({
2161
2162
  isScroll: l = !0,
2162
2163
  nextBackButton: p
2163
2164
  }) {
2164
- const [k, m] = J(!1);
2165
+ const [x, m] = J(!1);
2165
2166
  return fe(() => {
2166
2167
  if (!c) return;
2167
2168
  const u = p === void 0 ? dn().pop() : p, R = () => {
@@ -2186,9 +2187,9 @@ function rn({
2186
2187
  }, [c]), c ? /* @__PURE__ */ i.jsxs(
2187
2188
  "div",
2188
2189
  {
2189
- className: Pe(
2190
+ className: we(
2190
2191
  st.w,
2191
- k && st.v,
2192
+ x && st.v,
2192
2193
  l && st.s
2193
2194
  ),
2194
2195
  children: [
@@ -2213,21 +2214,21 @@ function sn({
2213
2214
  isLoading: l,
2214
2215
  isScrollBar: p = !1
2215
2216
  }) {
2216
- const [k, m] = J(l || !1);
2217
+ const [x, m] = J(l || !1);
2217
2218
  fe(() => {
2218
2219
  m(l || !1);
2219
2220
  }, [l]);
2220
2221
  let u = {
2221
2222
  onScroll: (R) => {
2222
2223
  const { scrollTop: h, scrollHeight: b, clientHeight: g } = R.currentTarget;
2223
- h + g >= b - c && !k && (m(!0), a == null || a());
2224
+ h + g >= b - c && !x && (m(!0), a == null || a());
2224
2225
  }
2225
2226
  };
2226
2227
  return /* @__PURE__ */ i.jsx(
2227
2228
  "div",
2228
2229
  {
2229
2230
  ...u,
2230
- className: Pe(Kt.s, !p && Kt.n, r),
2231
+ className: we(Kt.s, !p && Kt.n, r),
2231
2232
  children: n
2232
2233
  }
2233
2234
  );
@@ -2244,7 +2245,7 @@ function fn({
2244
2245
  title: c
2245
2246
  }) {
2246
2247
  let l = "";
2247
- return a === "left" ? l = Dt.l : a === "right" && (l = Dt.r), /* @__PURE__ */ i.jsxs("div", { className: Pe(Dt.a, l, n), children: [
2248
+ return a === "left" ? l = Dt.l : a === "right" && (l = Dt.r), /* @__PURE__ */ i.jsxs("div", { className: we(Dt.a, l, n), children: [
2248
2249
  r,
2249
2250
  c && /* @__PURE__ */ i.jsx("b", { children: c })
2250
2251
  ] });
@@ -2258,9 +2259,9 @@ const U = {
2258
2259
  var a;
2259
2260
  let n = U.state.pop();
2260
2261
  U.prev = de.getPage(), n.page !== void 0 ? de.setPage(n.page) : (a = n.callback) == null || a.call(n);
2261
- }), Ce.BackButton.onClick(U.listen[0]));
2262
+ }), Pe.BackButton.onClick(U.listen[0]));
2262
2263
  }
2263
- }, Pe = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
2264
+ }, we = (...r) => r.filter((n) => n !== void 0 && n !== !1 && n !== null && n !== "").join(" ");
2264
2265
  var N;
2265
2266
  ((r) => {
2266
2267
  r.WebApp = window.Telegram.WebApp, r.getUser = () => {
@@ -2269,21 +2270,21 @@ var N;
2269
2270
  }, r.Notice = {
2270
2271
  Send: (n, a, c) => {
2271
2272
  var l, p;
2272
- 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));
2273
+ a !== void 0 ? (ke.Send({ type: n, text: a, thema: c }), (l = r.WebApp.HapticFeedback) == null || l.notificationOccurred(n)) : (ke.Send(n), (p = r.WebApp.HapticFeedback) == null || p.notificationOccurred(n.type));
2273
2274
  },
2274
2275
  Error: (n) => {
2275
2276
  var a;
2276
- xe.Send({ type: "error", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("error");
2277
+ ke.Send({ type: "error", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("error");
2277
2278
  },
2278
2279
  Success: (n) => {
2279
2280
  var a;
2280
- xe.Send({ type: "success", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("success");
2281
+ ke.Send({ type: "success", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("success");
2281
2282
  },
2282
2283
  Warning: (n) => {
2283
2284
  var a;
2284
- xe.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
2285
+ ke.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
2285
2286
  }
2286
- }, r.Header = Sr, r.TabBar = Zr, r.BottomSheet = rr, r.toggleBottomSheet = ot, r.SafeArea = jr, r.Loading = wr, r.Sidebar = qr, r.SidePanel = rn, r.AppBar = fn, r.SidePanelController = nn, r.Scroll = sn, r.Modal = Wt, r.Menu = Mr, r.MainButton = {
2287
+ }, r.Header = Sr, r.TabBar = Zr, r.BottomSheet = rr, r.toggleBottomSheet = ot, r.SafeArea = jr, r.Loading = Cr, r.Sidebar = qr, r.SidePanel = rn, r.AppBar = fn, r.SidePanelController = nn, r.Scroll = sn, r.Modal = Wt, r.Menu = Mr, r.MainButton = {
2287
2288
  callback: [],
2288
2289
  set: (n) => {
2289
2290
  Ee.is ? Ee.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
@@ -2301,28 +2302,28 @@ var N;
2301
2302
  Ee.is ? Ee.BackButton.set(n) : (U.state.push(n), U.router(n));
2302
2303
  };
2303
2304
  })(N || (N = {}));
2304
- const hn = N.TabBar, gn = rr, Gt = N.BackButton, yn = N.BackButtonPrev, dn = N.BackButtonState, mn = N.Notice, bn = N.SafeArea, _n = N.Loading, Rn = N.Menu, Sn = N.SidePanel, kn = N.Scroll, xn = N.AppBar, En = N.Sidebar, jn = N.SidePanelController, { Header: On, toggleBottomSheet: An, Modal: wn, MainButton: Cn, WebApp: Ce, getUser: Pn } = N;
2305
+ const hn = N.TabBar, gn = rr, Gt = N.BackButton, yn = N.BackButtonPrev, dn = N.BackButtonState, mn = N.Notice, bn = N.SafeArea, _n = N.Loading, Rn = N.Menu, Sn = N.SidePanel, xn = N.Scroll, kn = N.AppBar, En = N.Sidebar, jn = N.SidePanelController, { Header: On, toggleBottomSheet: An, Modal: Cn, MainButton: Pn, WebApp: Pe, getUser: wn } = N;
2305
2306
  export {
2306
- xn as AppBar,
2307
+ kn as AppBar,
2307
2308
  Gt as BackButton,
2308
2309
  yn as BackButtonPrev,
2309
2310
  dn as BackButtonState,
2310
2311
  gn as BottomSheet,
2311
2312
  On as Header,
2312
2313
  _n as Loading,
2313
- Cn as MainButton,
2314
+ Pn as MainButton,
2314
2315
  Rn as Menu,
2315
- wn as Modal,
2316
+ Cn as Modal,
2316
2317
  mn as Notice,
2317
2318
  bn as SafeArea,
2318
- kn as Scroll,
2319
+ xn as Scroll,
2319
2320
  Sn as SidePanel,
2320
2321
  jn as SidePanelController,
2321
2322
  En as Sidebar,
2322
2323
  hn as TabBar,
2323
- Ce as WebApp,
2324
- Pe as clsx,
2324
+ Pe as WebApp,
2325
+ we as clsx,
2325
2326
  N as default,
2326
- Pn as getUser,
2327
+ wn as getUser,
2327
2328
  An as toggleBottomSheet
2328
2329
  };