@elcrm/telegram 0.0.151 → 0.0.153

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
@@ -14,13 +14,13 @@ var Ht;
14
14
  function vr() {
15
15
  if (Ht) return nt;
16
16
  Ht = 1;
17
- var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function d(p, f, g) {
17
+ var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function d(p, f, m) {
19
19
  var h, b = {}, _ = null, A = null;
20
- g !== void 0 && (_ = "" + g), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
21
- for (h in f) s.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
20
+ m !== void 0 && (_ = "" + m), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
21
+ for (h in f) i.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
22
22
  if (p && p.defaultProps) for (h in f = p.defaultProps, f) b[h] === void 0 && (b[h] = f[h]);
23
- return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: i.current };
23
+ return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: s.current };
24
24
  }
25
25
  return nt.Fragment = n, nt.jsx = d, nt.jsxs = d, nt;
26
26
  }
@@ -37,11 +37,11 @@ var ot = {};
37
37
  var Kt;
38
38
  function hr() {
39
39
  return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
40
- var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), B = Symbol.iterator, ee = "@@iterator";
40
+ var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), I = Symbol.iterator, ee = "@@iterator";
41
41
  function Te(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
44
- var o = B && e[B] || e[ee];
44
+ var o = I && e[I] || e[ee];
45
45
  return typeof o == "function" ? o : null;
46
46
  }
47
47
  var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -56,8 +56,8 @@ function hr() {
56
56
  {
57
57
  var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
58
58
  y !== "" && (o += "%s", a = a.concat([y]));
59
- var R = a.map(function(m) {
60
- return String(m);
59
+ var R = a.map(function(g) {
60
+ return String(g);
61
61
  });
62
62
  R.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, R);
63
63
  }
@@ -65,7 +65,7 @@ function hr() {
65
65
  var je = !1, te = !1, V = !1, ke = !1, we = !1, $;
66
66
  $ = Symbol.for("react.module.reference");
67
67
  function vt(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e === g || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
68
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || we || e === s || e === m || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
69
69
  // types supported by any Flight configuration anywhere since
70
70
  // we don't know which Flight build this will end up being used
71
71
  // with.
@@ -89,15 +89,15 @@ function hr() {
89
89
  if (typeof e == "string")
90
90
  return e;
91
91
  switch (e) {
92
- case s:
92
+ case i:
93
93
  return "Fragment";
94
94
  case n:
95
95
  return "Portal";
96
96
  case c:
97
97
  return "Profiler";
98
- case i:
98
+ case s:
99
99
  return "StrictMode";
100
- case g:
100
+ case m:
101
101
  return "Suspense";
102
102
  case h:
103
103
  return "SuspenseList";
@@ -116,9 +116,9 @@ function hr() {
116
116
  var u = e.displayName || null;
117
117
  return u !== null ? u : N(e.type) || "Memo";
118
118
  case _: {
119
- var y = e, R = y._payload, m = y._init;
119
+ var y = e, R = y._payload, g = y._init;
120
120
  try {
121
- return N(m(R));
121
+ return N(g(R));
122
122
  } catch {
123
123
  return null;
124
124
  }
@@ -126,11 +126,11 @@ function hr() {
126
126
  }
127
127
  return null;
128
128
  }
129
- var I = Object.assign, J = 0, Ne, Me, Be, Ie, Le, De, Ue;
129
+ var L = Object.assign, J = 0, Ne, Me, Be, Ie, Le, De, Ue;
130
130
  function Fe() {
131
131
  }
132
132
  Fe.__reactDisabledLog = !0;
133
- function gt() {
133
+ function mt() {
134
134
  {
135
135
  if (J === 0) {
136
136
  Ne = console.log, Me = console.info, Be = console.warn, Ie = console.error, Le = console.group, De = console.groupCollapsed, Ue = console.groupEnd;
@@ -153,7 +153,7 @@ function hr() {
153
153
  J++;
154
154
  }
155
155
  }
156
- function mt() {
156
+ function gt() {
157
157
  {
158
158
  if (J--, J === 0) {
159
159
  var e = {
@@ -162,25 +162,25 @@ function hr() {
162
162
  writable: !0
163
163
  };
164
164
  Object.defineProperties(console, {
165
- log: I({}, e, {
165
+ log: L({}, e, {
166
166
  value: Ne
167
167
  }),
168
- info: I({}, e, {
168
+ info: L({}, e, {
169
169
  value: Me
170
170
  }),
171
- warn: I({}, e, {
171
+ warn: L({}, e, {
172
172
  value: Be
173
173
  }),
174
- error: I({}, e, {
174
+ error: L({}, e, {
175
175
  value: Ie
176
176
  }),
177
- group: I({}, e, {
177
+ group: L({}, e, {
178
178
  value: Le
179
179
  }),
180
- groupCollapsed: I({}, e, {
180
+ groupCollapsed: L({}, e, {
181
181
  value: De
182
182
  }),
183
- groupEnd: I({}, e, {
183
+ groupEnd: L({}, e, {
184
184
  value: Ue
185
185
  })
186
186
  });
@@ -202,13 +202,13 @@ function hr() {
202
202
  ` + he + e;
203
203
  }
204
204
  }
205
- var ge = !1, ne;
205
+ var me = !1, ne;
206
206
  {
207
207
  var bt = typeof WeakMap == "function" ? WeakMap : Map;
208
208
  ne = new bt();
209
209
  }
210
210
  function We(e, o) {
211
- if (!e || ge)
211
+ if (!e || me)
212
212
  return "";
213
213
  {
214
214
  var a = ne.get(e);
@@ -216,34 +216,34 @@ function hr() {
216
216
  return a;
217
217
  }
218
218
  var u;
219
- ge = !0;
219
+ me = !0;
220
220
  var y = Error.prepareStackTrace;
221
221
  Error.prepareStackTrace = void 0;
222
222
  var R;
223
- R = ve.current, ve.current = null, gt();
223
+ R = ve.current, ve.current = null, mt();
224
224
  try {
225
225
  if (o) {
226
- var m = function() {
226
+ var g = function() {
227
227
  throw Error();
228
228
  };
229
- if (Object.defineProperty(m.prototype, "props", {
229
+ if (Object.defineProperty(g.prototype, "props", {
230
230
  set: function() {
231
231
  throw Error();
232
232
  }
233
233
  }), typeof Reflect == "object" && Reflect.construct) {
234
234
  try {
235
- Reflect.construct(m, []);
235
+ Reflect.construct(g, []);
236
236
  } catch (w) {
237
237
  u = w;
238
238
  }
239
- Reflect.construct(e, [], m);
239
+ Reflect.construct(e, [], g);
240
240
  } else {
241
241
  try {
242
- m.call();
242
+ g.call();
243
243
  } catch (w) {
244
244
  u = w;
245
245
  }
246
- e.call(m.prototype);
246
+ e.call(g.prototype);
247
247
  }
248
248
  } else {
249
249
  try {
@@ -273,10 +273,10 @@ function hr() {
273
273
  }
274
274
  }
275
275
  } finally {
276
- ge = !1, ve.current = R, mt(), Error.prepareStackTrace = y;
276
+ me = !1, ve.current = R, gt(), Error.prepareStackTrace = y;
277
277
  }
278
- var Y = e ? e.displayName || e.name : "", L = Y ? re(Y) : "";
279
- return typeof e == "function" && ne.set(e, L), L;
278
+ var Y = e ? e.displayName || e.name : "", D = Y ? re(Y) : "";
279
+ return typeof e == "function" && ne.set(e, D), D;
280
280
  }
281
281
  function yt(e, o, a) {
282
282
  return We(e, !1);
@@ -293,7 +293,7 @@ function hr() {
293
293
  if (typeof e == "string")
294
294
  return re(e);
295
295
  switch (e) {
296
- case g:
296
+ case m:
297
297
  return re("Suspense");
298
298
  case h:
299
299
  return re("SuspenseList");
@@ -325,24 +325,24 @@ function hr() {
325
325
  function Rt(e, o, a, u, y) {
326
326
  {
327
327
  var R = Function.call.bind(H);
328
- for (var m in e)
329
- if (R(e, m)) {
328
+ for (var g in e)
329
+ if (R(e, g)) {
330
330
  var v = void 0;
331
331
  try {
332
- if (typeof e[m] != "function") {
333
- var k = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
332
+ if (typeof e[g] != "function") {
333
+ var k = Error((u || "React class") + ": " + a + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
334
  throw k.name = "Invariant Violation", k;
335
335
  }
336
- v = e[m](o, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
+ v = e[g](o, g, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
337
  } catch (S) {
338
338
  v = S;
339
339
  }
340
- v && !(v instanceof Error) && (ae(y), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a, m, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(y), x("Failed %s type: %s", a, v.message), ae(null));
340
+ v && !(v instanceof Error) && (ae(y), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a, g, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(y), x("Failed %s type: %s", a, v.message), ae(null));
341
341
  }
342
342
  }
343
343
  }
344
344
  var St = Array.isArray;
345
- function me(e) {
345
+ function ge(e) {
346
346
  return St(e);
347
347
  }
348
348
  function Et(e) {
@@ -412,7 +412,7 @@ function hr() {
412
412
  });
413
413
  }
414
414
  }
415
- var Ct = function(e, o, a, u, y, R, m) {
415
+ var Ct = function(e, o, a, u, y, R, g) {
416
416
  var v = {
417
417
  // This tag allows us to uniquely identify this as a React Element
418
418
  $$typeof: r,
@@ -420,7 +420,7 @@ function hr() {
420
420
  type: e,
421
421
  key: o,
422
422
  ref: a,
423
- props: m,
423
+ props: g,
424
424
  // Record the component responsible for creating this element.
425
425
  _owner: R
426
426
  };
@@ -443,20 +443,20 @@ function hr() {
443
443
  };
444
444
  function Tt(e, o, a, u, y) {
445
445
  {
446
- var R, m = {}, v = null, k = null;
446
+ var R, g = {}, v = null, k = null;
447
447
  a !== void 0 && (Ve(a), v = "" + a), kt(o) && (Ve(o.key), v = "" + o.key), jt(o) && (k = o.ref, wt(o, y));
448
448
  for (R in o)
449
- H.call(o, R) && !At.hasOwnProperty(R) && (m[R] = o[R]);
449
+ H.call(o, R) && !At.hasOwnProperty(R) && (g[R] = o[R]);
450
450
  if (e && e.defaultProps) {
451
451
  var S = e.defaultProps;
452
452
  for (R in S)
453
- m[R] === void 0 && (m[R] = S[R]);
453
+ g[R] === void 0 && (g[R] = S[R]);
454
454
  }
455
455
  if (v || k) {
456
456
  var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
- v && Ot(m, E), k && Pt(m, E);
457
+ v && Ot(g, E), k && Pt(g, E);
458
458
  }
459
- return Ct(e, v, k, y, u, Je.current, m);
459
+ return Ct(e, v, k, y, u, Je.current, g);
460
460
  }
461
461
  }
462
462
  var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
@@ -517,7 +517,7 @@ Check the top-level render call using <` + a + ">.");
517
517
  {
518
518
  if (typeof e != "object")
519
519
  return;
520
- if (me(e))
520
+ if (ge(e))
521
521
  for (var a = 0; a < e.length; a++) {
522
522
  var u = e[a];
523
523
  _e(u) && Qe(u, o);
@@ -527,8 +527,8 @@ Check the top-level render call using <` + a + ">.");
527
527
  else if (e) {
528
528
  var y = Te(e);
529
529
  if (typeof y == "function" && y !== e.entries)
530
- for (var R = y.call(e), m; !(m = R.next()).done; )
531
- _e(m.value) && Qe(m.value, o);
530
+ for (var R = y.call(e), g; !(g = R.next()).done; )
531
+ _e(g.value) && Qe(g.value, o);
532
532
  }
533
533
  }
534
534
  }
@@ -572,23 +572,23 @@ Check the top-level render call using <` + a + ">.");
572
572
  var tt = {};
573
573
  function rt(e, o, a, u, y, R) {
574
574
  {
575
- var m = vt(e);
576
- if (!m) {
575
+ var g = vt(e);
576
+ if (!g) {
577
577
  var v = "";
578
578
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
579
579
  var k = $t();
580
580
  k ? v += k : v += Xe();
581
581
  var S;
582
- e === null ? S = "null" : me(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
582
+ e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
583
583
  }
584
584
  var E = Tt(e, o, a, y, R);
585
585
  if (E == null)
586
586
  return E;
587
- if (m) {
587
+ if (g) {
588
588
  var P = o.children;
589
589
  if (P !== void 0)
590
590
  if (u)
591
- if (me(P)) {
591
+ if (ge(P)) {
592
592
  for (var Y = 0; Y < P.length; Y++)
593
593
  et(P[Y], e);
594
594
  Object.freeze && Object.freeze(P);
@@ -598,20 +598,20 @@ Check the top-level render call using <` + a + ">.");
598
598
  et(P, e);
599
599
  }
600
600
  if (H.call(o, "key")) {
601
- var L = N(e), w = Object.keys(o).filter(function(Wt) {
601
+ var D = N(e), w = Object.keys(o).filter(function(Wt) {
602
602
  return Wt !== "key";
603
603
  }), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
604
- if (!tt[L + Re]) {
604
+ if (!tt[D + Re]) {
605
605
  var Ft = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
606
606
  x(`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, Ft, L), tt[L + Re] = !0;
611
+ <%s key={someKey} {...props} />`, Re, D, Ft, D), tt[D + Re] = !0;
612
612
  }
613
613
  }
614
- return e === s ? Bt(E) : Mt(E), E;
614
+ return e === i ? Bt(E) : Mt(E), E;
615
615
  }
616
616
  }
617
617
  function It(e, o, a) {
@@ -621,14 +621,14 @@ React keys must be passed directly to JSX without using spread:
621
621
  return rt(e, o, a, !1);
622
622
  }
623
623
  var Dt = Lt, Ut = It;
624
- ot.Fragment = s, ot.jsx = Dt, ot.jsxs = Ut;
624
+ ot.Fragment = i, ot.jsx = Dt, ot.jsxs = Ut;
625
625
  }()), ot;
626
626
  }
627
627
  process.env.NODE_ENV === "production" ? qt.exports = vr() : qt.exports = hr();
628
628
  var l = qt.exports;
629
- const gr = "_o_1apbm_11", mr = "_x_1apbm_24", br = "_p_1apbm_28", yr = "_m_1apbm_45", Oe = {
630
- o: gr,
631
- x: mr,
629
+ const mr = "_o_1apbm_11", gr = "_x_1apbm_24", br = "_p_1apbm_28", yr = "_m_1apbm_45", Oe = {
630
+ o: mr,
631
+ x: gr,
632
632
  p: br,
633
633
  m: yr
634
634
  };
@@ -638,17 +638,17 @@ var Yt;
638
638
  function r({
639
639
  children: p,
640
640
  onCallbackModal: f,
641
- nameModal: g,
641
+ nameModal: m,
642
642
  offsetTop: h
643
643
  }) {
644
- const [b, _] = T(!1), [A, B] = T(!1);
645
- if (z[g].onClose = () => {
646
- O.BackButton(!1), B(!0), setTimeout(() => {
647
- _(!1), B(!1), f == null || f(), z.x(g);
644
+ const [b, _] = T(!1), [A, I] = T(!1);
645
+ if (z[m].onClose = () => {
646
+ O.BackButton(!1), I(!0), setTimeout(() => {
647
+ _(!1), I(!1), f == null || f(), z.x(m);
648
648
  }, 300);
649
649
  }, W(() => {
650
- b ? z[g].onClose() : (O.BackButton({
651
- callback: () => z[g].onClose()
650
+ b ? z[m].onClose() : (O.BackButton({
651
+ callback: () => z[m].onClose()
652
652
  }), _(!0));
653
653
  }, []), !!b)
654
654
  return /* @__PURE__ */ l.jsx("div", { className: G(Oe.o, A && Oe.x), children: /* @__PURE__ */ l.jsx(
@@ -667,24 +667,24 @@ var Yt;
667
667
  function n({
668
668
  import_modules: p
669
669
  }) {
670
- let [f, g] = T([]);
670
+ let [f, m] = T([]);
671
671
  return z.x = (h) => {
672
- g(h ? f.filter((b) => b.key !== h) : []);
672
+ m(h ? f.filter((b) => b.key !== h) : []);
673
673
  }, W(() => {
674
674
  p && (z.i = p);
675
675
  }, []), z.add = (h, b = Date.now()) => {
676
- g([...f, { key: b, item: h }]);
676
+ m([...f, { key: b, item: h }]);
677
677
  }, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((h) => h.item) });
678
678
  }
679
679
  t.Init = n;
680
- function s(p, f, g) {
680
+ function i(p, f, m) {
681
681
  z.add(
682
682
  /* @__PURE__ */ l.jsx(
683
683
  r,
684
684
  {
685
685
  onCallbackModal: z["callback_modal" + f],
686
686
  nameModal: f || "",
687
- offsetTop: g,
687
+ offsetTop: m,
688
688
  children: p
689
689
  },
690
690
  String(Date.now())
@@ -692,8 +692,8 @@ var Yt;
692
692
  f
693
693
  );
694
694
  }
695
- t.Add = s;
696
- function i(p, f = Date.now().toString(), g) {
695
+ t.Add = i;
696
+ function s(p, f = Date.now().toString(), m) {
697
697
  return z[f] = {}, {
698
698
  Open: (_) => {
699
699
  t.Add(
@@ -702,28 +702,28 @@ var Yt;
702
702
  {
703
703
  ..._,
704
704
  onCallbackModal: (A) => {
705
- var B;
706
- (B = _.callback) == null || B.call(_, A);
705
+ var I;
706
+ (I = _.callback) == null || I.call(_, A);
707
707
  },
708
708
  nameModal: f
709
709
  },
710
710
  (/* @__PURE__ */ new Date()).getTime()
711
711
  ),
712
712
  f,
713
- g === void 0 ? !0 : g
713
+ m === void 0 ? !0 : m
714
714
  );
715
715
  }
716
716
  };
717
717
  }
718
- t.Create = i;
718
+ t.Create = s;
719
719
  function c(p) {
720
720
  z[p].onClose();
721
721
  }
722
722
  t.Close = c;
723
- function d(p, f, g, h) {
724
- z.i && (h && (g.callback = h), z.i(`${p}/modals/${f}.tsx`).then((b) => {
723
+ function d(p, f, m, h) {
724
+ z.i && (h && (m.callback = h), z.i(`${p}/modals/${f}.tsx`).then((b) => {
725
725
  var _;
726
- b.Open ? b.Open(g) : (_ = b.default) != null && _.Open ? b.default.Open(g) : b.default && b.default(g);
726
+ b.Open ? b.Open(m) : (_ = b.default) != null && _.Open ? b.default.Open(m) : b.default && b.default(m);
727
727
  }));
728
728
  }
729
729
  t.Open = d;
@@ -745,52 +745,52 @@ function ft() {
745
745
  }
746
746
  const dt = (t) => {
747
747
  let r = 0;
748
- for (let s = 0; s < t.length; s++) {
749
- const i = t.charCodeAt(s);
750
- r = (r << 5) - r + i, r = r & r;
748
+ for (let i = 0; i < t.length; i++) {
749
+ const s = t.charCodeAt(i);
750
+ r = (r << 5) - r + s, r = r & r;
751
751
  }
752
752
  r = Math.abs(r);
753
753
  let n = "";
754
- for (let s = 0; s < 64; s++) {
755
- const i = (r ^ s * 197) & 255;
756
- n += i.toString(16).padStart(2, "0");
754
+ for (let i = 0; i < 64; i++) {
755
+ const s = (r ^ i * 197) & 255;
756
+ n += s.toString(16).padStart(2, "0");
757
757
  }
758
758
  return n;
759
759
  }, sr = (t, r) => {
760
760
  let n = t + r;
761
- for (let i = 0; i < ft().iterations; i++)
761
+ for (let s = 0; s < ft().iterations; s++)
762
762
  n = dt(n);
763
- const s = new Uint8Array(32);
764
- for (let i = 0; i < 32; i++)
765
- s[i] = parseInt(n.substring(i * 2, i * 2 + 2), 16);
766
- return s;
763
+ const i = new Uint8Array(32);
764
+ for (let s = 0; s < 32; s++)
765
+ i[s] = parseInt(n.substring(s * 2, s * 2 + 2), 16);
766
+ return i;
767
767
  }, ir = (t, r) => {
768
- const n = new Uint8Array(t.length), s = new Uint8Array(t.length);
769
- let i = 0;
768
+ const n = new Uint8Array(t.length), i = new Uint8Array(t.length);
769
+ let s = 0;
770
770
  for (let c = 0; c < t.length; c++) {
771
771
  const d = c % r.length;
772
- i = r[d] + c + i & 255, s[c] = i;
772
+ s = r[d] + c + s & 255, i[c] = s;
773
773
  }
774
774
  for (let c = 0; c < t.length; c++)
775
- n[c] = t[c] ^ s[c];
775
+ n[c] = t[c] ^ i[c];
776
776
  return n;
777
777
  }, _r = (t) => new TextEncoder().encode(t), Rr = (t) => new TextDecoder().decode(t), Sr = (t) => {
778
778
  let r = "";
779
779
  for (let n = 0; n < t.length; n += 8192) {
780
- const s = t.slice(n, Math.min(n + 8192, t.length));
781
- r += String.fromCharCode.apply(null, Array.from(s));
780
+ const i = t.slice(n, Math.min(n + 8192, t.length));
781
+ r += String.fromCharCode.apply(null, Array.from(i));
782
782
  }
783
783
  return btoa(r);
784
784
  }, Er = (t) => {
785
785
  const r = atob(t), n = new Uint8Array(r.length);
786
- for (let s = 0; s < r.length; s++)
787
- n[s] = r.charCodeAt(s);
786
+ for (let i = 0; i < r.length; i++)
787
+ n[i] = r.charCodeAt(i);
788
788
  return n;
789
789
  }, xr = (t) => {
790
790
  try {
791
791
  const r = dt(
792
792
  Date.now().toString() + Math.random()
793
- ).substring(0, ft().saltLength * 2), n = dt(t + r).substring(0, 8), s = sr(ft().key, r), i = _r(t), c = ir(i, s), d = Sr(c);
793
+ ).substring(0, ft().saltLength * 2), n = dt(t + r).substring(0, 8), i = sr(ft().key, r), s = _r(t), c = ir(s, i), d = Sr(c);
794
794
  return `${r}.${d}.${n}`;
795
795
  } catch {
796
796
  throw new Error("Не удалось зашифровать данные");
@@ -800,11 +800,11 @@ const dt = (t) => {
800
800
  const r = t.split(".");
801
801
  if (r.length !== 3)
802
802
  throw new Error("Неверный формат зашифрованных данных");
803
- const n = r[0], s = r[1], i = r[2], c = sr(ft().key, n), d = Er(s), p = ir(d, c), f = Rr(p);
803
+ const n = r[0], i = r[1], s = r[2], c = sr(ft().key, n), d = Er(i), p = ir(d, c), f = Rr(p);
804
804
  if (dt(f + n).substring(
805
805
  0,
806
806
  8
807
- ) !== i)
807
+ ) !== s)
808
808
  throw new Error("Контрольная сумма не совпадает");
809
809
  return f;
810
810
  } catch {
@@ -849,13 +849,13 @@ var Xt;
849
849
  function jr() {
850
850
  if (Xt) return at;
851
851
  Xt = 1;
852
- var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
853
- function d(p, f, g) {
852
+ var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
853
+ function d(p, f, m) {
854
854
  var h, b = {}, _ = null, A = null;
855
- g !== void 0 && (_ = "" + g), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
856
- for (h in f) s.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
855
+ m !== void 0 && (_ = "" + m), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
856
+ for (h in f) i.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
857
857
  if (p && p.defaultProps) for (h in f = p.defaultProps, f) b[h] === void 0 && (b[h] = f[h]);
858
- return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: i.current };
858
+ return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: s.current };
859
859
  }
860
860
  return at.Fragment = n, at.jsx = d, at.jsxs = d, at;
861
861
  }
@@ -872,11 +872,11 @@ var st = {};
872
872
  var Zt;
873
873
  function kr() {
874
874
  return Zt || (Zt = 1, process.env.NODE_ENV !== "production" && function() {
875
- var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), B = Symbol.iterator, ee = "@@iterator";
875
+ var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), I = Symbol.iterator, ee = "@@iterator";
876
876
  function Te(e) {
877
877
  if (e === null || typeof e != "object")
878
878
  return null;
879
- var o = B && e[B] || e[ee];
879
+ var o = I && e[I] || e[ee];
880
880
  return typeof o == "function" ? o : null;
881
881
  }
882
882
  var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -891,8 +891,8 @@ function kr() {
891
891
  {
892
892
  var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
893
893
  y !== "" && (o += "%s", a = a.concat([y]));
894
- var R = a.map(function(m) {
895
- return String(m);
894
+ var R = a.map(function(g) {
895
+ return String(g);
896
896
  });
897
897
  R.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, R);
898
898
  }
@@ -900,7 +900,7 @@ function kr() {
900
900
  var je = !1, te = !1, V = !1, ke = !1, we = !1, $;
901
901
  $ = Symbol.for("react.module.reference");
902
902
  function vt(e) {
903
- return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || we || e === i || e === g || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
903
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || we || e === s || e === m || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
904
904
  // types supported by any Flight configuration anywhere since
905
905
  // we don't know which Flight build this will end up being used
906
906
  // with.
@@ -924,15 +924,15 @@ function kr() {
924
924
  if (typeof e == "string")
925
925
  return e;
926
926
  switch (e) {
927
- case s:
927
+ case i:
928
928
  return "Fragment";
929
929
  case n:
930
930
  return "Portal";
931
931
  case c:
932
932
  return "Profiler";
933
- case i:
933
+ case s:
934
934
  return "StrictMode";
935
- case g:
935
+ case m:
936
936
  return "Suspense";
937
937
  case h:
938
938
  return "SuspenseList";
@@ -951,9 +951,9 @@ function kr() {
951
951
  var u = e.displayName || null;
952
952
  return u !== null ? u : N(e.type) || "Memo";
953
953
  case _: {
954
- var y = e, R = y._payload, m = y._init;
954
+ var y = e, R = y._payload, g = y._init;
955
955
  try {
956
- return N(m(R));
956
+ return N(g(R));
957
957
  } catch {
958
958
  return null;
959
959
  }
@@ -961,11 +961,11 @@ function kr() {
961
961
  }
962
962
  return null;
963
963
  }
964
- var I = Object.assign, J = 0, Ne, Me, Be, Ie, Le, De, Ue;
964
+ var L = Object.assign, J = 0, Ne, Me, Be, Ie, Le, De, Ue;
965
965
  function Fe() {
966
966
  }
967
967
  Fe.__reactDisabledLog = !0;
968
- function gt() {
968
+ function mt() {
969
969
  {
970
970
  if (J === 0) {
971
971
  Ne = console.log, Me = console.info, Be = console.warn, Ie = console.error, Le = console.group, De = console.groupCollapsed, Ue = console.groupEnd;
@@ -988,7 +988,7 @@ function kr() {
988
988
  J++;
989
989
  }
990
990
  }
991
- function mt() {
991
+ function gt() {
992
992
  {
993
993
  if (J--, J === 0) {
994
994
  var e = {
@@ -997,25 +997,25 @@ function kr() {
997
997
  writable: !0
998
998
  };
999
999
  Object.defineProperties(console, {
1000
- log: I({}, e, {
1000
+ log: L({}, e, {
1001
1001
  value: Ne
1002
1002
  }),
1003
- info: I({}, e, {
1003
+ info: L({}, e, {
1004
1004
  value: Me
1005
1005
  }),
1006
- warn: I({}, e, {
1006
+ warn: L({}, e, {
1007
1007
  value: Be
1008
1008
  }),
1009
- error: I({}, e, {
1009
+ error: L({}, e, {
1010
1010
  value: Ie
1011
1011
  }),
1012
- group: I({}, e, {
1012
+ group: L({}, e, {
1013
1013
  value: Le
1014
1014
  }),
1015
- groupCollapsed: I({}, e, {
1015
+ groupCollapsed: L({}, e, {
1016
1016
  value: De
1017
1017
  }),
1018
- groupEnd: I({}, e, {
1018
+ groupEnd: L({}, e, {
1019
1019
  value: Ue
1020
1020
  })
1021
1021
  });
@@ -1037,13 +1037,13 @@ function kr() {
1037
1037
  ` + he + e;
1038
1038
  }
1039
1039
  }
1040
- var ge = !1, ne;
1040
+ var me = !1, ne;
1041
1041
  {
1042
1042
  var bt = typeof WeakMap == "function" ? WeakMap : Map;
1043
1043
  ne = new bt();
1044
1044
  }
1045
1045
  function We(e, o) {
1046
- if (!e || ge)
1046
+ if (!e || me)
1047
1047
  return "";
1048
1048
  {
1049
1049
  var a = ne.get(e);
@@ -1051,34 +1051,34 @@ function kr() {
1051
1051
  return a;
1052
1052
  }
1053
1053
  var u;
1054
- ge = !0;
1054
+ me = !0;
1055
1055
  var y = Error.prepareStackTrace;
1056
1056
  Error.prepareStackTrace = void 0;
1057
1057
  var R;
1058
- R = ve.current, ve.current = null, gt();
1058
+ R = ve.current, ve.current = null, mt();
1059
1059
  try {
1060
1060
  if (o) {
1061
- var m = function() {
1061
+ var g = function() {
1062
1062
  throw Error();
1063
1063
  };
1064
- if (Object.defineProperty(m.prototype, "props", {
1064
+ if (Object.defineProperty(g.prototype, "props", {
1065
1065
  set: function() {
1066
1066
  throw Error();
1067
1067
  }
1068
1068
  }), typeof Reflect == "object" && Reflect.construct) {
1069
1069
  try {
1070
- Reflect.construct(m, []);
1070
+ Reflect.construct(g, []);
1071
1071
  } catch (w) {
1072
1072
  u = w;
1073
1073
  }
1074
- Reflect.construct(e, [], m);
1074
+ Reflect.construct(e, [], g);
1075
1075
  } else {
1076
1076
  try {
1077
- m.call();
1077
+ g.call();
1078
1078
  } catch (w) {
1079
1079
  u = w;
1080
1080
  }
1081
- e.call(m.prototype);
1081
+ e.call(g.prototype);
1082
1082
  }
1083
1083
  } else {
1084
1084
  try {
@@ -1108,10 +1108,10 @@ function kr() {
1108
1108
  }
1109
1109
  }
1110
1110
  } finally {
1111
- ge = !1, ve.current = R, mt(), Error.prepareStackTrace = y;
1111
+ me = !1, ve.current = R, gt(), Error.prepareStackTrace = y;
1112
1112
  }
1113
- var Y = e ? e.displayName || e.name : "", L = Y ? re(Y) : "";
1114
- return typeof e == "function" && ne.set(e, L), L;
1113
+ var Y = e ? e.displayName || e.name : "", D = Y ? re(Y) : "";
1114
+ return typeof e == "function" && ne.set(e, D), D;
1115
1115
  }
1116
1116
  function yt(e, o, a) {
1117
1117
  return We(e, !1);
@@ -1128,7 +1128,7 @@ function kr() {
1128
1128
  if (typeof e == "string")
1129
1129
  return re(e);
1130
1130
  switch (e) {
1131
- case g:
1131
+ case m:
1132
1132
  return re("Suspense");
1133
1133
  case h:
1134
1134
  return re("SuspenseList");
@@ -1160,24 +1160,24 @@ function kr() {
1160
1160
  function Rt(e, o, a, u, y) {
1161
1161
  {
1162
1162
  var R = Function.call.bind(H);
1163
- for (var m in e)
1164
- if (R(e, m)) {
1163
+ for (var g in e)
1164
+ if (R(e, g)) {
1165
1165
  var v = void 0;
1166
1166
  try {
1167
- if (typeof e[m] != "function") {
1168
- var k = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1167
+ if (typeof e[g] != "function") {
1168
+ var k = Error((u || "React class") + ": " + a + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1169
1169
  throw k.name = "Invariant Violation", k;
1170
1170
  }
1171
- v = e[m](o, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1171
+ v = e[g](o, g, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1172
1172
  } catch (S) {
1173
1173
  v = S;
1174
1174
  }
1175
- v && !(v instanceof Error) && (ae(y), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a, m, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(y), x("Failed %s type: %s", a, v.message), ae(null));
1175
+ v && !(v instanceof Error) && (ae(y), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a, g, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(y), x("Failed %s type: %s", a, v.message), ae(null));
1176
1176
  }
1177
1177
  }
1178
1178
  }
1179
1179
  var St = Array.isArray;
1180
- function me(e) {
1180
+ function ge(e) {
1181
1181
  return St(e);
1182
1182
  }
1183
1183
  function Et(e) {
@@ -1247,7 +1247,7 @@ function kr() {
1247
1247
  });
1248
1248
  }
1249
1249
  }
1250
- var Ct = function(e, o, a, u, y, R, m) {
1250
+ var Ct = function(e, o, a, u, y, R, g) {
1251
1251
  var v = {
1252
1252
  // This tag allows us to uniquely identify this as a React Element
1253
1253
  $$typeof: r,
@@ -1255,7 +1255,7 @@ function kr() {
1255
1255
  type: e,
1256
1256
  key: o,
1257
1257
  ref: a,
1258
- props: m,
1258
+ props: g,
1259
1259
  // Record the component responsible for creating this element.
1260
1260
  _owner: R
1261
1261
  };
@@ -1278,20 +1278,20 @@ function kr() {
1278
1278
  };
1279
1279
  function Tt(e, o, a, u, y) {
1280
1280
  {
1281
- var R, m = {}, v = null, k = null;
1281
+ var R, g = {}, v = null, k = null;
1282
1282
  a !== void 0 && (Ve(a), v = "" + a), kt(o) && (Ve(o.key), v = "" + o.key), jt(o) && (k = o.ref, wt(o));
1283
1283
  for (R in o)
1284
- H.call(o, R) && !At.hasOwnProperty(R) && (m[R] = o[R]);
1284
+ H.call(o, R) && !At.hasOwnProperty(R) && (g[R] = o[R]);
1285
1285
  if (e && e.defaultProps) {
1286
1286
  var S = e.defaultProps;
1287
1287
  for (R in S)
1288
- m[R] === void 0 && (m[R] = S[R]);
1288
+ g[R] === void 0 && (g[R] = S[R]);
1289
1289
  }
1290
1290
  if (v || k) {
1291
1291
  var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1292
- v && Ot(m, E), k && Pt(m, E);
1292
+ v && Ot(g, E), k && Pt(g, E);
1293
1293
  }
1294
- return Ct(e, v, k, y, u, Je.current, m);
1294
+ return Ct(e, v, k, y, u, Je.current, g);
1295
1295
  }
1296
1296
  }
1297
1297
  var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
@@ -1352,7 +1352,7 @@ Check the top-level render call using <` + a + ">.");
1352
1352
  {
1353
1353
  if (typeof e != "object")
1354
1354
  return;
1355
- if (me(e))
1355
+ if (ge(e))
1356
1356
  for (var a = 0; a < e.length; a++) {
1357
1357
  var u = e[a];
1358
1358
  _e(u) && Qe(u, o);
@@ -1362,8 +1362,8 @@ Check the top-level render call using <` + a + ">.");
1362
1362
  else if (e) {
1363
1363
  var y = Te(e);
1364
1364
  if (typeof y == "function" && y !== e.entries)
1365
- for (var R = y.call(e), m; !(m = R.next()).done; )
1366
- _e(m.value) && Qe(m.value, o);
1365
+ for (var R = y.call(e), g; !(g = R.next()).done; )
1366
+ _e(g.value) && Qe(g.value, o);
1367
1367
  }
1368
1368
  }
1369
1369
  }
@@ -1407,23 +1407,23 @@ Check the top-level render call using <` + a + ">.");
1407
1407
  var tt = {};
1408
1408
  function rt(e, o, a, u, y, R) {
1409
1409
  {
1410
- var m = vt(e);
1411
- if (!m) {
1410
+ var g = vt(e);
1411
+ if (!g) {
1412
1412
  var v = "";
1413
1413
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1414
1414
  var k = $t();
1415
1415
  k ? v += k : v += Xe();
1416
1416
  var S;
1417
- e === null ? S = "null" : me(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
1417
+ e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
1418
1418
  }
1419
1419
  var E = Tt(e, o, a, y, R);
1420
1420
  if (E == null)
1421
1421
  return E;
1422
- if (m) {
1422
+ if (g) {
1423
1423
  var P = o.children;
1424
1424
  if (P !== void 0)
1425
1425
  if (u)
1426
- if (me(P)) {
1426
+ if (ge(P)) {
1427
1427
  for (var Y = 0; Y < P.length; Y++)
1428
1428
  et(P[Y], e);
1429
1429
  Object.freeze && Object.freeze(P);
@@ -1433,20 +1433,20 @@ Check the top-level render call using <` + a + ">.");
1433
1433
  et(P, e);
1434
1434
  }
1435
1435
  if (H.call(o, "key")) {
1436
- var L = N(e), w = Object.keys(o).filter(function(Wt) {
1436
+ var D = N(e), w = Object.keys(o).filter(function(Wt) {
1437
1437
  return Wt !== "key";
1438
1438
  }), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
1439
- if (!tt[L + Re]) {
1439
+ if (!tt[D + Re]) {
1440
1440
  var Ft = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
1441
1441
  x(`A props object containing a "key" prop is being spread into JSX:
1442
1442
  let props = %s;
1443
1443
  <%s {...props} />
1444
1444
  React keys must be passed directly to JSX without using spread:
1445
1445
  let props = %s;
1446
- <%s key={someKey} {...props} />`, Re, L, Ft, L), tt[L + Re] = !0;
1446
+ <%s key={someKey} {...props} />`, Re, D, Ft, D), tt[D + Re] = !0;
1447
1447
  }
1448
1448
  }
1449
- return e === s ? Bt(E) : Mt(E), E;
1449
+ return e === i ? Bt(E) : Mt(E), E;
1450
1450
  }
1451
1451
  }
1452
1452
  function It(e, o, a) {
@@ -1456,13 +1456,13 @@ React keys must be passed directly to JSX without using spread:
1456
1456
  return rt(e, o, a, !1);
1457
1457
  }
1458
1458
  var Dt = Lt, Ut = It;
1459
- st.Fragment = s, st.jsx = Dt, st.jsxs = Ut;
1459
+ st.Fragment = i, st.jsx = Dt, st.jsxs = Ut;
1460
1460
  }()), st;
1461
1461
  }
1462
1462
  process.env.NODE_ENV === "production" ? jr() : kr();
1463
1463
  const wr = "0.0.46", cr = {
1464
1464
  version: wr
1465
- }, ce = {}, F = {
1465
+ }, le = {}, F = {
1466
1466
  module: "",
1467
1467
  v: cr.version,
1468
1468
  page: "Main",
@@ -1488,15 +1488,15 @@ function Z() {
1488
1488
  Z().elcrm || (Z().elcrm = {});
1489
1489
  Object.assign(Z().elcrm, { router: cr.version });
1490
1490
  function Q(t) {
1491
- var r, n, s, i;
1491
+ var r, n, i, s;
1492
1492
  const c = Z();
1493
1493
  if (c.ROUTER_PARAMS) {
1494
1494
  t.debug || c.ROUTER_PARAMS.debug;
1495
1495
  const d = {
1496
1496
  page: (r = c.ROUTER_PARAMS) == null ? void 0 : r.page,
1497
1497
  module: (n = c.ROUTER_PARAMS) == null ? void 0 : n.module,
1498
- tab: (s = c.ROUTER_PARAMS) == null ? void 0 : s.tab,
1499
- id: (i = c.ROUTER_PARAMS) == null ? void 0 : i.id
1498
+ tab: (i = c.ROUTER_PARAMS) == null ? void 0 : i.tab,
1499
+ id: (s = c.ROUTER_PARAMS) == null ? void 0 : s.id
1500
1500
  };
1501
1501
  c.ROUTER_PARAMS = {
1502
1502
  ...c.ROUTER_PARAMS,
@@ -1530,8 +1530,8 @@ function K() {
1530
1530
  const r = Z();
1531
1531
  let n = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || F.LISTENER;
1532
1532
  return n || (n = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = n : F.LISTENER = n), new Proxy(n, {
1533
- get(s, i) {
1534
- const c = s[i];
1533
+ get(i, s) {
1534
+ const c = i[s];
1535
1535
  return Array.isArray(c) && c.length > 0 ? (...d) => {
1536
1536
  c.forEach((p) => {
1537
1537
  if (typeof p == "function")
@@ -1548,19 +1548,19 @@ function K() {
1548
1548
  }
1549
1549
  function Qt(t, r) {
1550
1550
  const n = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
1551
- for (const [s, i] of Object.entries(r))
1552
- if (s.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === n)
1553
- return i;
1551
+ for (const [i, s] of Object.entries(r))
1552
+ if (i.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === n)
1553
+ return s;
1554
1554
  return null;
1555
1555
  }
1556
1556
  function zt(t) {
1557
1557
  const {
1558
1558
  basePath: r = ".",
1559
1559
  devExtensions: n = [".tsx", ".ts", ".jsx", ".js"],
1560
- prodExtension: s = ".js"
1560
+ prodExtension: i = ".js"
1561
1561
  } = t || {};
1562
- return (i) => {
1563
- const c = i.replace(/\.(tsx|ts|jsx|js)$/, "");
1562
+ return (s) => {
1563
+ const c = s.replace(/\.(tsx|ts|jsx|js)$/, "");
1564
1564
  if (r === ".")
1565
1565
  return import(
1566
1566
  /* @vite-ignore */
@@ -1576,19 +1576,19 @@ function zt(t) {
1576
1576
  };
1577
1577
  }
1578
1578
  function Or(t) {
1579
- const { basePath: r = ".", modules: n, pages: s } = t || {};
1580
- return (i) => {
1579
+ const { basePath: r = ".", modules: n, pages: i } = t || {};
1580
+ return (s) => {
1581
1581
  if (n) {
1582
- const d = Qt(i, n);
1582
+ const d = Qt(s, n);
1583
1583
  if (d)
1584
1584
  return d();
1585
1585
  }
1586
- if (s) {
1587
- const d = Qt(i, s);
1586
+ if (i) {
1587
+ const d = Qt(s, i);
1588
1588
  if (d)
1589
1589
  return d();
1590
1590
  }
1591
- const c = i.replace(/\.(tsx|ts|jsx|js)$/, "");
1591
+ const c = s.replace(/\.(tsx|ts|jsx|js)$/, "");
1592
1592
  if (r === ".")
1593
1593
  return import(
1594
1594
  /* @vite-ignore */
@@ -1646,22 +1646,22 @@ function fr() {
1646
1646
  return j().id;
1647
1647
  }
1648
1648
  function Cr(t) {
1649
- let r = (i) => (Q({ page: i }), i);
1650
- const [n, s] = T(
1649
+ let r = (s) => (Q({ page: s }), s);
1650
+ const [n, i] = T(
1651
1651
  lr() || t && r(t) || j().page
1652
1652
  );
1653
1653
  return W(() => {
1654
- const i = (c) => {
1655
- s(c);
1654
+ const s = (c) => {
1655
+ i(c);
1656
1656
  };
1657
- return xe({ page: i }), () => {
1657
+ return xe({ page: s }), () => {
1658
1658
  var c, d;
1659
1659
  const p = Z();
1660
1660
  if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.page) {
1661
1661
  const f = p.ROUTER_PARAMS.LISTENER.page;
1662
1662
  if (Array.isArray(f)) {
1663
- const g = f.indexOf(i);
1664
- g > -1 && f.splice(g, 1);
1663
+ const m = f.indexOf(s);
1664
+ m > -1 && f.splice(m, 1);
1665
1665
  }
1666
1666
  }
1667
1667
  };
@@ -1680,12 +1680,12 @@ function Nr() {
1680
1680
  return j().prev;
1681
1681
  }
1682
1682
  function Mr(t, r) {
1683
- const [n, s] = T(
1683
+ const [n, i] = T(
1684
1684
  ur() || t || j().module
1685
1685
  );
1686
- return W(() => (xe({ module: s }), () => {
1687
- const i = K();
1688
- i.module === s && delete i.module;
1686
+ return W(() => (xe({ module: i }), () => {
1687
+ const s = K();
1688
+ s.module === i && delete s.module;
1689
1689
  }), []), n;
1690
1690
  }
1691
1691
  function Br(t, r = !0) {
@@ -1699,30 +1699,30 @@ function Ir(t) {
1699
1699
  }
1700
1700
  function Lr(t, r) {
1701
1701
  if (typeof t != "function") {
1702
- const [n, s] = T(!r), [i, c] = T(t || Jt());
1702
+ const [n, i] = T(!r), [s, c] = T(t || Jt());
1703
1703
  return xe({ tabs: c }), r && W(() => {
1704
- s(!0);
1705
- }, []), [i, n];
1704
+ i(!0);
1705
+ }, []), [s, n];
1706
1706
  } else
1707
1707
  xe({ tabs: t });
1708
1708
  }
1709
1709
  function Dr(t) {
1710
- let r = (i) => (Q({ tab: i }), i);
1711
- const [n, s] = T(
1710
+ let r = (s) => (Q({ tab: s }), s);
1711
+ const [n, i] = T(
1712
1712
  Jt() || t && r(t) || j().tab
1713
1713
  );
1714
1714
  return W(() => {
1715
- const i = (c) => {
1716
- s(c);
1715
+ const s = (c) => {
1716
+ i(c);
1717
1717
  };
1718
- return xe({ tabs: i }), () => {
1718
+ return xe({ tabs: s }), () => {
1719
1719
  var c, d;
1720
1720
  const p = Z();
1721
1721
  if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.tabs) {
1722
1722
  const f = p.ROUTER_PARAMS.LISTENER.tabs;
1723
1723
  if (Array.isArray(f)) {
1724
- const g = f.indexOf(i);
1725
- g > -1 && f.splice(g, 1);
1724
+ const m = f.indexOf(s);
1725
+ m > -1 && f.splice(m, 1);
1726
1726
  }
1727
1727
  }
1728
1728
  };
@@ -1741,23 +1741,23 @@ function Wr(t) {
1741
1741
  if (typeof t != "function") {
1742
1742
  const [r, n] = T(t || fr());
1743
1743
  return W(() => {
1744
- const s = (i) => {
1745
- n(i);
1744
+ const i = (s) => {
1745
+ n(s);
1746
1746
  };
1747
- return xe({ id: s }), () => {
1748
- const i = K();
1749
- i.id === s && delete i.id;
1747
+ return xe({ id: i }), () => {
1748
+ const s = K();
1749
+ s.id === i && delete s.id;
1750
1750
  };
1751
1751
  }, []), r;
1752
1752
  } else
1753
1753
  W(() => (xe({ id: t }), () => {
1754
1754
  var r, n;
1755
- const s = Z();
1756
- if ((n = (r = s.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && n.id) {
1757
- const i = s.ROUTER_PARAMS.LISTENER.id;
1758
- if (Array.isArray(i)) {
1759
- const c = i.indexOf(t);
1760
- c > -1 && i.splice(c, 1);
1755
+ const i = Z();
1756
+ if ((n = (r = i.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && n.id) {
1757
+ const s = i.ROUTER_PARAMS.LISTENER.id;
1758
+ if (Array.isArray(s)) {
1759
+ const c = s.indexOf(t);
1760
+ c > -1 && s.splice(c, 1);
1761
1761
  }
1762
1762
  }
1763
1763
  }), [t]);
@@ -1774,41 +1774,41 @@ function zr(t) {
1774
1774
  return Number(j().id) === t;
1775
1775
  }
1776
1776
  async function Vr(t) {
1777
- var r, n, s, i, c, d, p, f;
1778
- const { page: g, module: h, tab: b, id: _ } = t;
1779
- g !== void 0 && (ce.page = g), h !== void 0 && (ce.module = h), b !== void 0 && (ce.tab = b), _ !== void 0 && (ce.id = _), Q({ ...ce }), _ !== void 0 && ((n = (r = K()).id) == null || n.call(r, _)), b !== void 0 && ((i = (s = K()).tabs) == null || i.call(s, b)), h !== void 0 && ((d = (c = K()).module) == null || d.call(c, h)), g !== void 0 && ((f = (p = K()).page) == null || f.call(p, g)), sessionStorage.setItem(
1777
+ var r, n, i, s, c, d, p, f;
1778
+ const { page: m, module: h, tab: b, id: _ } = t;
1779
+ m !== void 0 && (le.page = m), h !== void 0 && (le.module = h), b !== void 0 && (le.tab = b), _ !== void 0 && (le.id = _), Q({ ...le }), _ !== void 0 && ((n = (r = K()).id) == null || n.call(r, _)), b !== void 0 && ((s = (i = K()).tabs) == null || s.call(i, b)), h !== void 0 && ((d = (c = K()).module) == null || d.call(c, h)), m !== void 0 && ((f = (p = K()).page) == null || f.call(p, m)), sessionStorage.setItem(
1780
1780
  j().STORAGE,
1781
1781
  pe.enCode(j())
1782
1782
  );
1783
1783
  }
1784
1784
  const Ce = {
1785
1785
  Reset() {
1786
- ce.id = 0, ce.tab = "", ce.page = j().page, ce.module = j().module;
1786
+ le.id = 0, le.tab = "", le.page = j().page, le.module = j().module;
1787
1787
  },
1788
1788
  Default({
1789
1789
  module: t = j().module,
1790
1790
  page: r = j().page,
1791
1791
  auth: n = j().auth,
1792
- debug: s = j().debug,
1793
- dir: i = j().dir || ".",
1792
+ debug: i = j().debug,
1793
+ dir: s = j().dir || ".",
1794
1794
  importModules: c,
1795
1795
  modules: d,
1796
1796
  pages: p,
1797
1797
  glob: f
1798
1798
  // Поддержка единого glob объекта для упрощения
1799
1799
  }) {
1800
- let g = c, h = d, b = p;
1801
- f ? (h = typeof d == "object" ? d : f, b = typeof p == "object" ? p : f) : (h = h || f, b = b || f), !g && (h || b) ? !f && (typeof h == "string" || typeof b == "string") ? g = zt({ basePath: i }) : g = er(
1802
- i,
1800
+ let m = c, h = d, b = p;
1801
+ f ? (h = typeof d == "object" ? d : f, b = typeof p == "object" ? p : f) : (h = h || f, b = b || f), !m && (h || b) ? !f && (typeof h == "string" || typeof b == "string") ? m = zt({ basePath: s }) : m = er(
1802
+ s,
1803
1803
  h,
1804
1804
  b
1805
- ) : g || (g = zt({ basePath: i })), Q({
1805
+ ) : m || (m = zt({ basePath: s })), Q({
1806
1806
  page: r,
1807
1807
  module: t,
1808
1808
  auth: n,
1809
- debug: s,
1810
- dir: i,
1811
- importModules: g
1809
+ debug: i,
1810
+ dir: s,
1811
+ importModules: m
1812
1812
  }), Pr();
1813
1813
  },
1814
1814
  // Упрощенная функция для создания importModules
@@ -1854,8 +1854,8 @@ function en() {
1854
1854
  return pt.set = (n) => {
1855
1855
  r([...t, n]);
1856
1856
  }, pt.del = (n) => {
1857
- t.forEach((s, i) => {
1858
- s.key === n && t.splice(i, 1);
1857
+ t.forEach((i, s) => {
1858
+ i.key === n && t.splice(s, 1);
1859
1859
  }), r(t);
1860
1860
  }, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: Se.n, children: t.map((n) => n.item) });
1861
1861
  }
@@ -1865,10 +1865,10 @@ function tn(t) {
1865
1865
  }
1866
1866
  function rn(t) {
1867
1867
  const r = t.data;
1868
- let [n] = C.useState("show"), [s, i] = C.useState(!1);
1868
+ let [n] = C.useState("show"), [i, s] = C.useState(!1);
1869
1869
  C.useEffect(() => {
1870
1870
  setTimeout(function() {
1871
- i(!0), pt.del(r.key);
1871
+ s(!0), pt.del(r.key);
1872
1872
  }, 5e3);
1873
1873
  }, [r.key]);
1874
1874
  let c;
@@ -1891,7 +1891,7 @@ function rn(t) {
1891
1891
  success: Se.s,
1892
1892
  warning: Se.w
1893
1893
  };
1894
- return /* @__PURE__ */ l.jsx(l.Fragment, { children: s ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
1894
+ return /* @__PURE__ */ l.jsx(l.Fragment, { children: i ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
1895
1895
  "div",
1896
1896
  {
1897
1897
  className: Se.i + d[r.type] + ` ${r.thema !== void 0 ? Se.h : ""}`,
@@ -1919,7 +1919,7 @@ let Ee = {
1919
1919
  Send: tn,
1920
1920
  Init: en
1921
1921
  };
1922
- const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_30", cn = "_t_1u25q_41", ln = "_a_1u25q_108", un = "_v_1u25q_118", ue = {
1922
+ const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_30", cn = "_t_1u25q_41", ln = "_a_1u25q_108", un = "_v_1u25q_118", fe = {
1923
1923
  d: nn,
1924
1924
  b: on,
1925
1925
  o: an,
@@ -1932,8 +1932,8 @@ const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_
1932
1932
  MainButton: {},
1933
1933
  BackButton: {}
1934
1934
  };
1935
- let D = {};
1936
- D.dark = {
1935
+ let B = {};
1936
+ B.dark = {
1937
1937
  "--tg-color-scheme": "dark",
1938
1938
  "--tg-theme-subtitle-text-color": "#98989e",
1939
1939
  "--tg-theme-destructive-text-color": "#e53935",
@@ -1951,7 +1951,7 @@ D.dark = {
1951
1951
  "--tg-theme-text-color": "#ffffff",
1952
1952
  "--tg-theme-section-bg-color": "#2c2c2e"
1953
1953
  };
1954
- D.light = {
1954
+ B.light = {
1955
1955
  "--tg-color-scheme": "light",
1956
1956
  "--tg-theme-subtitle-text-color": "#8e8e93",
1957
1957
  "--tg-theme-destructive-text-color": "#ff3b30",
@@ -1969,7 +1969,7 @@ D.light = {
1969
1969
  "--tg-theme-text-color": "#000000",
1970
1970
  "--tg-theme-section-bg-color": "#f8f8f8"
1971
1971
  };
1972
- D.users = {
1972
+ B.users = {
1973
1973
  "--tg-color-scheme": "users",
1974
1974
  "--tg-theme-bg-color": "#000000",
1975
1975
  "--tg-theme-text-color": "#ffffff",
@@ -1981,60 +1981,63 @@ D.users = {
1981
1981
  };
1982
1982
  const fn = () => {
1983
1983
  if (location.hostname === "localhost") {
1984
- let [t, r] = T(!1), [n, s] = T(!1), [i, c] = T("dark"), [d, p] = T(!1), [f, g] = T(!1);
1985
- de.is = !0, de.MainButton.set = r, de.BackButton.set = s, W(() => {
1984
+ let [t, r] = T(!1), [n, i] = T(!1), [s, c] = T("dark"), [d, p] = T(!1), [f, m] = T(!1);
1985
+ de.is = !0, de.MainButton.set = r, de.BackButton.set = i, W(() => {
1986
1986
  var _;
1987
- D[i]["--tg-theme-bg-color-alpha"] = D[i]["--tg-theme-bg-color"] + "b3", D[i]["--tg-theme-secondary-bg-color-alpha"] = D[i]["--tg-theme-secondary-bg-color"] + "d3", D[i]["--tg-theme-bg-color-alpha-25"] = D[i]["--tg-theme-bg-color"] + "40", D[i]["--tg-theme-secondary-bg-color-alpha-25"] = D[i]["--tg-theme-secondary-bg-color"] + "40";
1988
- for (let A in D[i])
1987
+ B[s]["--tg-theme-bg-color-alpha"] = B[s]["--tg-theme-bg-color"] + "b3", B[s]["--tg-theme-secondary-bg-color-alpha"] = B[s]["--tg-theme-secondary-bg-color"] + "d3", B[s]["--tg-theme-bg-color-alpha-25"] = B[s]["--tg-theme-bg-color"] + "40", B[s]["--tg-theme-secondary-bg-color-alpha-25"] = B[s]["--tg-theme-secondary-bg-color"] + "40";
1988
+ for (let A in B[s])
1989
1989
  document.documentElement.style.setProperty(
1990
1990
  A,
1991
- D[i][A]
1991
+ B[s][A]
1992
1992
  );
1993
- document.documentElement.style.setProperty(
1993
+ document.documentElement.setAttribute(
1994
+ "data-color-scheme",
1995
+ B[s]["--tg-color-scheme"]
1996
+ ), document.documentElement.style.setProperty(
1994
1997
  "--tg-content-safe-area-inset-top",
1995
1998
  "0px"
1996
- ), ((_ = fe.safeAreaInset) == null ? void 0 : _.bottom) === 0 ? document.documentElement.style.setProperty(
1999
+ ), ((_ = ce.safeAreaInset) == null ? void 0 : _.bottom) === 0 ? document.documentElement.style.setProperty(
1997
2000
  "--tg-safe-area-inset-bottom",
1998
2001
  "16px"
1999
- ) : fe.safeAreaInset || document.documentElement.style.setProperty(
2002
+ ) : ce.safeAreaInset || document.documentElement.style.setProperty(
2000
2003
  "--tg-safe-area-inset-bottom",
2001
2004
  "16px"
2002
2005
  );
2003
2006
  }, []);
2004
2007
  let h = (_) => {
2005
- for (let A in D[_])
2006
- document.documentElement.style.setProperty(A, D[_][A]), document.documentElement.setAttribute(
2008
+ for (let A in B[_])
2009
+ document.documentElement.style.setProperty(A, B[_][A]), document.documentElement.setAttribute(
2007
2010
  "data-color-scheme",
2008
2011
  _
2009
2012
  );
2010
2013
  c(_), p(!1);
2011
2014
  }, b = () => {
2012
- p(!1), g(!0);
2015
+ p(!1), m(!0);
2013
2016
  };
2014
2017
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2015
- /* @__PURE__ */ l.jsxs("div", { className: ue.d, children: [
2016
- n === !1 ? /* @__PURE__ */ l.jsx("div", { className: ue.b, children: "Отмена" }) : /* @__PURE__ */ l.jsx(
2018
+ /* @__PURE__ */ l.jsxs("div", { className: fe.d, children: [
2019
+ n === !1 ? /* @__PURE__ */ l.jsx("div", { className: fe.b, children: "Отмена" }) : /* @__PURE__ */ l.jsx(
2017
2020
  "div",
2018
2021
  {
2019
2022
  onClick: () => {
2020
2023
  var _;
2021
2024
  n.page === void 0 ? (_ = n.callback) == null || _.call(n) : Ce.setPage(n.page);
2022
2025
  },
2023
- className: ue.b,
2026
+ className: fe.b,
2024
2027
  children: "Назад"
2025
2028
  }
2026
2029
  ),
2027
2030
  /* @__PURE__ */ l.jsx(
2028
2031
  "div",
2029
2032
  {
2030
- className: ue.o,
2033
+ className: fe.o,
2031
2034
  onClick: () => p(!d),
2032
2035
  children: "Меню"
2033
2036
  }
2034
2037
  )
2035
2038
  ] }),
2036
2039
  /* @__PURE__ */ l.jsx(Ee.Init, {}),
2037
- t && /* @__PURE__ */ l.jsx("div", { className: ue.m, children: /* @__PURE__ */ l.jsx(
2040
+ t && /* @__PURE__ */ l.jsx("div", { className: fe.m, children: /* @__PURE__ */ l.jsx(
2038
2041
  "button",
2039
2042
  {
2040
2043
  onClick: () => {
@@ -2043,7 +2046,7 @@ const fn = () => {
2043
2046
  children: t.text
2044
2047
  }
2045
2048
  ) }),
2046
- d ? /* @__PURE__ */ l.jsxs("div", { className: ue.t, children: [
2049
+ d ? /* @__PURE__ */ l.jsxs("div", { className: fe.t, children: [
2047
2050
  /* @__PURE__ */ l.jsxs("ul", { children: [
2048
2051
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: b, children: "Authorization" }) }),
2049
2052
  /* @__PURE__ */ l.jsx("li", {})
@@ -2078,30 +2081,33 @@ const fn = () => {
2078
2081
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!d), children: "Closed" }) })
2079
2082
  ] })
2080
2083
  ] }) : "",
2081
- f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization: g }) : ""
2084
+ f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization: m }) : ""
2082
2085
  ] });
2083
2086
  } else
2084
2087
  return W(() => {
2085
2088
  var t;
2086
2089
  document.documentElement.style.setProperty(
2087
2090
  "--tg-theme-secondary-bg-color-alpha",
2088
- fe.themeParams.secondary_bg_color + "d3"
2091
+ ce.themeParams.secondary_bg_color + "d3"
2089
2092
  ), document.documentElement.style.setProperty(
2090
2093
  "--tg-theme-bg-color-alpha",
2091
- fe.themeParams.bg_color + "b3"
2092
- ), ((t = fe.safeAreaInset) == null ? void 0 : t.bottom) === 0 ? document.documentElement.style.setProperty(
2094
+ ce.themeParams.bg_color + "b3"
2095
+ ), ((t = ce.safeAreaInset) == null ? void 0 : t.bottom) === 0 ? document.documentElement.style.setProperty(
2093
2096
  "--tg-safe-area-inset-bottom",
2094
2097
  "16px"
2095
- ) : fe.safeAreaInset || document.documentElement.style.setProperty(
2098
+ ) : ce.safeAreaInset || document.documentElement.style.setProperty(
2096
2099
  "--tg-safe-area-inset-bottom",
2097
2100
  "16px"
2101
+ ), document.documentElement.setAttribute(
2102
+ "data-color-scheme",
2103
+ ce.colorScheme
2098
2104
  );
2099
2105
  }, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(Ee.Init, {}) });
2100
2106
  }, dn = ({ setAuthorization: t }) => {
2101
2107
  let r = {}, n = () => {
2102
2108
  localStorage.setItem("auth", r);
2103
2109
  };
2104
- return /* @__PURE__ */ l.jsx("div", { className: ue.a, children: /* @__PURE__ */ l.jsxs("div", { className: ue.v, children: [
2110
+ return /* @__PURE__ */ l.jsx("div", { className: fe.a, children: /* @__PURE__ */ l.jsxs("div", { className: fe.v, children: [
2105
2111
  /* @__PURE__ */ l.jsx("fieldset", {}),
2106
2112
  /* @__PURE__ */ l.jsx("div", { onClick: n, children: " Сохранить " })
2107
2113
  ] }) });
@@ -2111,18 +2117,18 @@ const fn = () => {
2111
2117
  }, hn = ({ className: t, children: r, isScroll: n = !0 }) => /* @__PURE__ */ l.jsx(
2112
2118
  "div",
2113
2119
  {
2114
- className: [tr.p, n && tr.s, t].filter((s) => s !== void 0).join(" "),
2120
+ className: [tr.p, n && tr.s, t].filter((i) => i !== void 0).join(" "),
2115
2121
  children: r
2116
2122
  }
2117
- ), gn = "_l_gfyud_1", mn = {
2118
- l: gn
2123
+ ), mn = "_l_gfyud_1", gn = {
2124
+ l: mn
2119
2125
  }, bn = ({ children: t, className: r }) => /* @__PURE__ */ l.jsx(
2120
2126
  "div",
2121
2127
  {
2122
- className: [mn.l, r].filter((n) => n !== void 0).join(" "),
2128
+ className: [gn.l, r].filter((n) => n !== void 0).join(" "),
2123
2129
  children: t
2124
2130
  }
2125
- ), yn = "_q_z5mg9_2", _n = "_m_z5mg9_8", Rn = "_g_z5mg9_15", Sn = "_i_z5mg9_23", En = "_c_z5mg9_40", xn = "_l_z5mg9_47", An = "_a_z5mg9_62", jn = "_n_z5mg9_68", le = {
2131
+ ), yn = "_q_z5mg9_2", _n = "_m_z5mg9_8", Rn = "_g_z5mg9_15", Sn = "_i_z5mg9_23", En = "_c_z5mg9_40", xn = "_l_z5mg9_47", An = "_a_z5mg9_62", jn = "_n_z5mg9_68", ue = {
2126
2132
  q: yn,
2127
2133
  m: _n,
2128
2134
  g: Rn,
@@ -2132,43 +2138,43 @@ const fn = () => {
2132
2138
  a: An,
2133
2139
  n: jn
2134
2140
  }, kn = ({ items: t, style: r }) => {
2135
- const n = (i) => {
2136
- Ce.setPage(i);
2137
- }, s = (i) => {
2138
- fe.openTelegramLink(i);
2141
+ const n = (s) => {
2142
+ Ce.setPage(s);
2143
+ }, i = (s) => {
2144
+ ce.openTelegramLink(s);
2139
2145
  };
2140
2146
  return /* @__PURE__ */ l.jsx(
2141
2147
  "div",
2142
2148
  {
2143
2149
  className: G(
2144
- le[r === "liquid-glass" ? "q" : ""],
2145
- le.m
2150
+ ue[r === "liquid-glass" ? "q" : ""],
2151
+ ue.m
2146
2152
  ),
2147
- children: t.map((i) => /* @__PURE__ */ l.jsx("div", { className: le.g, children: i.items.map((c, d) => /* @__PURE__ */ l.jsxs(
2153
+ children: t.map((s) => /* @__PURE__ */ l.jsx("div", { className: ue.g, children: s.items.map((c, d) => /* @__PURE__ */ l.jsxs(
2148
2154
  "div",
2149
2155
  {
2150
- className: le.i,
2156
+ className: ue.i,
2151
2157
  onClick: () => {
2152
- c.link && s(c.link), c.page && n(c.page), c.callback && c.callback();
2158
+ c.link && i(c.link), c.page && n(c.page), c.callback && c.callback();
2153
2159
  },
2154
2160
  children: [
2155
- /* @__PURE__ */ l.jsxs("div", { className: le.c, children: [
2161
+ /* @__PURE__ */ l.jsxs("div", { className: ue.c, children: [
2156
2162
  /* @__PURE__ */ l.jsx(
2157
2163
  "span",
2158
2164
  {
2159
- className: le.l,
2165
+ className: ue.l,
2160
2166
  style: { background: c.color },
2161
2167
  children: c.icon
2162
2168
  }
2163
2169
  ),
2164
2170
  c.title,
2165
- c.count && /* @__PURE__ */ l.jsx("span", { className: le.n, children: c.count })
2171
+ c.count && /* @__PURE__ */ l.jsx("span", { className: ue.n, children: c.count })
2166
2172
  ] }),
2167
- /* @__PURE__ */ l.jsx("span", { className: le.a, children: "›" })
2173
+ /* @__PURE__ */ l.jsx("span", { className: ue.a, children: "›" })
2168
2174
  ]
2169
2175
  },
2170
2176
  d
2171
- )) }, i.id))
2177
+ )) }, s.id))
2172
2178
  }
2173
2179
  );
2174
2180
  }, wn = "_o_8ho2f_3", On = "_m_8ho2f_14", Pn = "_l_8ho2f_28", Cn = "_r_8ho2f_33", Tn = "_x_8ho2f_38", $n = "_h_8ho2f_42", Nn = "_c_8ho2f_57", Mn = "_u_8ho2f_72", se = {
@@ -2185,23 +2191,23 @@ function Bn({
2185
2191
  children: t,
2186
2192
  icon: r,
2187
2193
  iconBadge: n = 0,
2188
- title: s,
2189
- className: i,
2194
+ title: i,
2195
+ className: s,
2190
2196
  view: c = "list",
2191
2197
  position: d = "left",
2192
2198
  name: p = "default"
2193
2199
  }) {
2194
- const [f, g] = T(!1), [h, b] = T(
2200
+ const [f, m] = T(!1), [h, b] = T(
2195
2201
  null
2196
2202
  );
2197
2203
  W(() => {
2198
2204
  let A = document.querySelector(".p_sb");
2199
- return A || (A = document.createElement("div"), A.className = "_p_sb", document.body.appendChild(A)), b(A), ut[p] = (B) => g(B), () => {
2205
+ return A || (A = document.createElement("div"), A.className = "_p_sb", document.body.appendChild(A)), b(A), ut[p] = (I) => m(I), () => {
2200
2206
  A && A.parentNode && A.parentNode.removeChild(A);
2201
2207
  };
2202
2208
  }, []);
2203
2209
  const _ = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2204
- f && /* @__PURE__ */ l.jsx("div", { className: se.o, onClick: () => g(!1) }),
2210
+ f && /* @__PURE__ */ l.jsx("div", { className: se.o, onClick: () => m(!1) }),
2205
2211
  /* @__PURE__ */ l.jsxs(
2206
2212
  "div",
2207
2213
  {
@@ -2209,15 +2215,15 @@ function Bn({
2209
2215
  se.m,
2210
2216
  d === "left" ? se.l : se.r,
2211
2217
  f && se.x,
2212
- i
2218
+ s
2213
2219
  ),
2214
2220
  children: [
2215
2221
  /* @__PURE__ */ l.jsxs("div", { className: se.h, children: [
2216
- s && /* @__PURE__ */ l.jsx("h3", { className: se.t, children: s }),
2222
+ i && /* @__PURE__ */ l.jsx("h3", { className: se.t, children: i }),
2217
2223
  /* @__PURE__ */ l.jsxs(
2218
2224
  "svg",
2219
2225
  {
2220
- onClick: () => g(!1),
2226
+ onClick: () => m(!1),
2221
2227
  fill: "none",
2222
2228
  stroke: "currentColor",
2223
2229
  strokeLinecap: "round",
@@ -2244,7 +2250,7 @@ function Bn({
2244
2250
  r && /* @__PURE__ */ l.jsx(
2245
2251
  "div",
2246
2252
  {
2247
- onClick: () => g(!0),
2253
+ onClick: () => m(!0),
2248
2254
  className: "bage",
2249
2255
  "data-count": n,
2250
2256
  children: r
@@ -2277,16 +2283,16 @@ const In = (t, r) => {
2277
2283
  actions: t,
2278
2284
  children: r,
2279
2285
  className: n,
2280
- actual: s,
2281
- toHide: i = !1,
2286
+ actual: i,
2287
+ toHide: s = !1,
2282
2288
  page: c,
2283
2289
  style: d = "default",
2284
2290
  onPageChange: p,
2285
2291
  direction: f = "row"
2286
2292
  }) => {
2287
- const [g, h] = C.useState(null), [b, _] = C.useState(
2293
+ const [m, h] = C.useState(null), [b, _] = C.useState(
2288
2294
  c ? rr(t || [], c) : 0
2289
- ), [A, B] = C.useState(
2295
+ ), [A, I] = C.useState(
2290
2296
  "right"
2291
2297
  ), ee = C.useRef(b);
2292
2298
  C.useEffect(() => {
@@ -2295,11 +2301,11 @@ const In = (t, r) => {
2295
2301
  V !== -1 && V !== ee.current && (ee.current = V, _(V));
2296
2302
  }
2297
2303
  }, [c, t]), C.useEffect(() => {
2298
- ee.current !== b && (B(
2304
+ ee.current !== b && (I(
2299
2305
  b > ee.current ? "left" : "right"
2300
2306
  ), ee.current = b);
2301
2307
  }, [b]), W(() => {
2302
- if (!i)
2308
+ if (!s)
2303
2309
  return;
2304
2310
  const V = document.querySelectorAll("[contenteditable]"), ke = () => {
2305
2311
  const $ = document.querySelector("footer");
@@ -2330,7 +2336,7 @@ const In = (t, r) => {
2330
2336
  }, []);
2331
2337
  const te = {};
2332
2338
  return d === "liquid-glass" && (te.onMouseDown = Ae, te.onMouseUp = je, te.onTouchStart = Ae, te.onTouchEnd = je), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2333
- g,
2339
+ m,
2334
2340
  /* @__PURE__ */ l.jsxs(
2335
2341
  "footer",
2336
2342
  {
@@ -2353,7 +2359,7 @@ const In = (t, r) => {
2353
2359
  setActiveIndex: _,
2354
2360
  onPageChange: p,
2355
2361
  setComponent: h,
2356
- actual: s
2362
+ actual: i
2357
2363
  }
2358
2364
  )
2359
2365
  ]
@@ -2364,8 +2370,8 @@ const In = (t, r) => {
2364
2370
  actions: t,
2365
2371
  activeIndex: r,
2366
2372
  setActiveIndex: n,
2367
- onPageChange: s,
2368
- setComponent: i,
2373
+ onPageChange: i,
2374
+ setComponent: s,
2369
2375
  actual: c
2370
2376
  }) => /* @__PURE__ */ l.jsxs("div", { className: Pe.b, children: [
2371
2377
  t.map((d, p) => /* @__PURE__ */ l.jsxs(
@@ -2373,7 +2379,7 @@ const In = (t, r) => {
2373
2379
  {
2374
2380
  "data-active": r === p ? "true" : "false",
2375
2381
  onClick: () => {
2376
- d.page && (n(p), s == null || s(d.page)), d.onClick && d.onClick(() => n(p)), d.component && (r === p || (i(d.component), n(p)));
2382
+ d.page && (n(p), i == null || i(d.page)), d.onClick && d.onClick(() => n(p)), d.component && (r === p || (s(d.component), n(p)));
2377
2383
  },
2378
2384
  children: [
2379
2385
  d.icon,
@@ -2416,25 +2422,25 @@ function oo({
2416
2422
  children: t,
2417
2423
  name: r,
2418
2424
  onClose: n,
2419
- isOpen: s,
2420
- isScroll: i = !0,
2425
+ isOpen: i,
2426
+ isScroll: s = !0,
2421
2427
  nextBackButton: c
2422
2428
  }) {
2423
2429
  const [d, p] = T(!1);
2424
2430
  return W(() => {
2425
- if (!s) return;
2426
- const f = c === void 0 ? jo().pop() : c, g = () => {
2431
+ if (!i) return;
2432
+ const f = c === void 0 ? jo().pop() : c, m = () => {
2427
2433
  p(!1), setTimeout(() => {
2428
2434
  nr(f || !1), n == null || n();
2429
2435
  }, 300);
2430
2436
  };
2431
2437
  Vt[r] = {
2432
- onClose: g,
2438
+ onClose: m,
2433
2439
  onOpen: () => {
2434
2440
  p(!0);
2435
2441
  }
2436
2442
  }, nr({
2437
- callback: g
2443
+ callback: m
2438
2444
  });
2439
2445
  const h = setTimeout(() => {
2440
2446
  p(!0);
@@ -2442,13 +2448,13 @@ function oo({
2442
2448
  return () => {
2443
2449
  clearTimeout(h);
2444
2450
  };
2445
- }, [s]), s ? /* @__PURE__ */ l.jsxs(
2451
+ }, [i]), i ? /* @__PURE__ */ l.jsxs(
2446
2452
  "div",
2447
2453
  {
2448
2454
  className: G(
2449
2455
  it.w,
2450
2456
  d && it.v,
2451
- i && it.s
2457
+ s && it.s
2452
2458
  ),
2453
2459
  children: [
2454
2460
  /* @__PURE__ */ l.jsx("div", { className: it.n }),
@@ -2458,8 +2464,8 @@ function oo({
2458
2464
  ) : "";
2459
2465
  }
2460
2466
  const ao = (t, r) => {
2461
- var n, s;
2462
- r ? (n = Vt[t]) == null || n.onOpen() : (s = Vt[t]) == null || s.onClose();
2467
+ var n, i;
2468
+ r ? (n = Vt[t]) == null || n.onOpen() : (i = Vt[t]) == null || i.onClose();
2463
2469
  }, so = "_s_q79m4_3", io = "_n_q79m4_14", co = "_b_q79m4_19", lo = "_f_q79m4_29", ct = {
2464
2470
  s: so,
2465
2471
  n: io,
@@ -2470,19 +2476,19 @@ function uo({
2470
2476
  className: t,
2471
2477
  children: r,
2472
2478
  onScrollEnd: n,
2473
- offset: s = 100,
2474
- isLoading: i,
2479
+ offset: i = 100,
2480
+ isLoading: s,
2475
2481
  fullscreen: c = !1,
2476
2482
  isScrollBar: d = !1
2477
2483
  }) {
2478
- const [p, f] = T(i || !1);
2484
+ const [p, f] = T(s || !1);
2479
2485
  W(() => {
2480
- f(i || !1);
2481
- }, [i]);
2482
- let g = {
2486
+ f(s || !1);
2487
+ }, [s]);
2488
+ let m = {
2483
2489
  onScroll: (h) => {
2484
2490
  const { scrollTop: b, scrollHeight: _, clientHeight: A } = h.currentTarget;
2485
- b + A >= _ - s && !p && (f(!0), n == null || n());
2491
+ b + A >= _ - i && !p && (f(!0), n == null || n());
2486
2492
  }
2487
2493
  };
2488
2494
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
@@ -2490,7 +2496,7 @@ function uo({
2490
2496
  /* @__PURE__ */ l.jsx(
2491
2497
  "div",
2492
2498
  {
2493
- ...g,
2499
+ ...m,
2494
2500
  className: G(
2495
2501
  ct.s,
2496
2502
  !d && ct.n,
@@ -2508,20 +2514,20 @@ const fo = "_a_prp23_1", po = "_l_prp23_13", vo = "_r_prp23_16", ho = "_b_prp23_
2508
2514
  r: vo,
2509
2515
  b: ho
2510
2516
  };
2511
- function go({
2517
+ function mo({
2512
2518
  children: t,
2513
2519
  className: r,
2514
2520
  position: n = "center",
2515
- title: s
2521
+ title: i
2516
2522
  }) {
2517
- let i = "";
2518
- return n === "left" ? i = lt.l : n === "right" ? i = lt.r : n === "between" && (i = lt.b), /* @__PURE__ */ l.jsxs("div", { className: G(lt.a, i, r), children: [
2523
+ let s = "";
2524
+ return n === "left" ? s = lt.l : n === "right" ? s = lt.r : n === "between" && (s = lt.b), /* @__PURE__ */ l.jsxs("div", { className: G(lt.a, s, r), children: [
2519
2525
  t,
2520
- s && /* @__PURE__ */ l.jsx("b", { children: s })
2526
+ i && /* @__PURE__ */ l.jsx("b", { children: i })
2521
2527
  ] });
2522
2528
  }
2523
- const mo = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_29", Ro = "_p_1wgf4_34", So = "_f_1wgf4_50", Eo = "_h_1wgf4_58", xo = "_b_1wgf4_75", ie = {
2524
- q: mo,
2529
+ const go = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_29", Ro = "_p_1wgf4_34", So = "_f_1wgf4_50", Eo = "_h_1wgf4_58", xo = "_b_1wgf4_75", ie = {
2530
+ q: go,
2525
2531
  o: bo,
2526
2532
  x: yo,
2527
2533
  c: _o,
@@ -2533,17 +2539,17 @@ const mo = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_
2533
2539
  children: t,
2534
2540
  title: r,
2535
2541
  isOverlay: n = !0,
2536
- footer: s = !0,
2537
- className: i,
2542
+ footer: i = !0,
2543
+ className: s,
2538
2544
  name: c,
2539
2545
  style: d = "default",
2540
2546
  onOpen: p
2541
2547
  }) => {
2542
- const [f, g] = C.useState(!1), [h, b] = C.useState(!1);
2548
+ const [f, m] = C.useState(!1), [h, b] = C.useState(!1);
2543
2549
  return C.useEffect(() => {
2544
2550
  X[c] = (_) => {
2545
- _ ? (b(!1), g(!0), p == null || p(!0)) : (b(!0), p == null || p(!1), setTimeout(() => {
2546
- g(!1), b(!1);
2551
+ _ ? (b(!1), m(!0), p == null || p(!0)) : (b(!0), p == null || p(!1), setTimeout(() => {
2552
+ m(!1), b(!1);
2547
2553
  }, 300));
2548
2554
  };
2549
2555
  }, [c, p]), !f && !h ? null : /* @__PURE__ */ l.jsx(
@@ -2565,8 +2571,8 @@ const mo = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_
2565
2571
  className: G(
2566
2572
  ie.p,
2567
2573
  h && ie.c,
2568
- s && ie.f,
2569
- i
2574
+ i && ie.f,
2575
+ s
2570
2576
  ),
2571
2577
  onClick: (_) => _.stopPropagation(),
2572
2578
  children: [
@@ -2602,7 +2608,7 @@ const mo = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_
2602
2608
  var n;
2603
2609
  let r = U.state.pop();
2604
2610
  U.prev = Ce.getPage(), r.page !== void 0 ? Ce.setPage(r.page) : (n = r.callback) == null || n.call(r);
2605
- }), fe.BackButton.onClick(U.listen[0]));
2611
+ }), ce.BackButton.onClick(U.listen[0]));
2606
2612
  }
2607
2613
  }, G = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
2608
2614
  var O;
@@ -2614,43 +2620,43 @@ var O;
2614
2620
  }, t.Location = (n) => {
2615
2621
  if (de.is)
2616
2622
  return n({ latitude: 55.752555, longitude: 37.623123 });
2617
- let s = () => {
2618
- t.WebApp.LocationManager.getLocation(async (i) => {
2619
- if (!i) {
2623
+ let i = () => {
2624
+ t.WebApp.LocationManager.getLocation(async (s) => {
2625
+ if (!s) {
2620
2626
  t.WebApp.LocationManager.isAccessRequested || t.WebApp.LocationManager.openSettings();
2621
2627
  return;
2622
2628
  }
2623
- n(i);
2629
+ n(s);
2624
2630
  });
2625
2631
  };
2626
2632
  !t.WebApp.LocationManager || !t.WebApp.LocationManager.isInited ? t.WebApp.LocationManager.init(() => {
2627
- s();
2628
- }) : s();
2633
+ i();
2634
+ }) : i();
2629
2635
  }, t.Notice = {
2630
- Send: (n, s, i) => {
2636
+ Send: (n, i, s) => {
2631
2637
  var c, d;
2632
- s !== void 0 ? (Ee.Send({ type: n, text: s, thema: i }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(n)) : (Ee.Send(n), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(n.type));
2638
+ i !== void 0 ? (Ee.Send({ type: n, text: i, thema: s }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(n)) : (Ee.Send(n), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(n.type));
2633
2639
  },
2634
2640
  Error: (n) => {
2635
- var s;
2636
- Ee.Send({ type: "error", text: n }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("error");
2641
+ var i;
2642
+ Ee.Send({ type: "error", text: n }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("error");
2637
2643
  },
2638
2644
  Success: (n) => {
2639
- var s;
2640
- Ee.Send({ type: "success", text: n }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("success");
2645
+ var i;
2646
+ Ee.Send({ type: "success", text: n }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("success");
2641
2647
  },
2642
2648
  Warning: (n) => {
2643
- var s;
2644
- Ee.Send({ type: "warning", text: n }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
2649
+ var i;
2650
+ Ee.Send({ type: "warning", text: n }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("warning");
2645
2651
  }
2646
- }, t.Header = fn, t.TabBar = Kn, t.Title = Qn, t.BottomSheet = dr, t.BottomSheetControllerSheet = Ao, t.SafeArea = hn, t.Loading = bn, t.Sidebar = Bn, t.SidePanel = oo, t.AppBar = go, t.SideBarController = In, t.SidePanelController = ao, t.Scroll = uo, t.Modal = Yt, t.Menu = kn, t.MainButton = {
2652
+ }, t.Header = fn, t.TabBar = Kn, t.Title = Qn, t.BottomSheet = dr, t.BottomSheetControllerSheet = Ao, t.SafeArea = hn, t.Loading = bn, t.Sidebar = Bn, t.SidePanel = oo, t.AppBar = mo, t.SideBarController = In, t.SidePanelController = ao, t.Scroll = uo, t.Modal = Yt, t.Menu = kn, t.MainButton = {
2647
2653
  callback: [],
2648
2654
  set: (n) => {
2649
- de.is ? de.MainButton.set(n) : (t.WebApp.MainButton.callback.forEach((s) => {
2650
- t.WebApp.MainButton.offClick(s);
2655
+ de.is ? de.MainButton.set(n) : (t.WebApp.MainButton.callback.forEach((i) => {
2656
+ t.WebApp.MainButton.offClick(i);
2651
2657
  }), t.WebApp.MainButton.callback = [], typeof n == "boolean" ? t.WebApp.MainButton.isVisible = !1 : (t.WebApp.MainButton.text = n.text, n.color && (t.WebApp.MainButton.color = n.color), n.textColor && (t.WebApp.MainButton.textColor = n.textColor), t.WebApp.MainButton.isVisible = !0, t.WebApp.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, t.WebApp.MainButton.callback.push(() => {
2652
- var s;
2653
- n.page === void 0 ? (s = n.callback) == null || s.call(n) : Ce.setPage(n.page);
2658
+ var i;
2659
+ n.page === void 0 ? (i = n.callback) == null || i.call(n) : Ce.setPage(n.page);
2654
2660
  }), t.WebApp.MainButton.onClick(
2655
2661
  t.WebApp.MainButton.callback[0]
2656
2662
  )));
@@ -2661,7 +2667,7 @@ var O;
2661
2667
  de.is ? de.BackButton.set(n) : (U.state.push(n), U.router(n));
2662
2668
  };
2663
2669
  })(O || (O = {}));
2664
- const Oo = O.TabBar, Po = dr, nr = O.BackButton, Co = O.BackButtonPrev, jo = O.BackButtonState, To = O.Notice, $o = O.SafeArea, No = O.Loading, Mo = O.Menu, Bo = O.SidePanel, Io = O.Scroll, Lo = O.AppBar, Do = O.Title, Uo = O.Sidebar, Fo = O.Location, Wo = O.SidePanelController, qo = O.SideBarController, Yo = O.BottomSheetControllerSheet, { Header: zo, Modal: Vo, MainButton: Jo, WebApp: fe, getUser: Ho } = O;
2670
+ const Oo = O.TabBar, Po = dr, nr = O.BackButton, Co = O.BackButtonPrev, jo = O.BackButtonState, To = O.Notice, $o = O.SafeArea, No = O.Loading, Mo = O.Menu, Bo = O.SidePanel, Io = O.Scroll, Lo = O.AppBar, Do = O.Title, Uo = O.Sidebar, Fo = O.Location, Wo = O.SidePanelController, qo = O.SideBarController, Yo = O.BottomSheetControllerSheet, { Header: zo, Modal: Vo, MainButton: Jo, WebApp: ce, getUser: Ho } = O;
2665
2671
  export {
2666
2672
  Lo as AppBar,
2667
2673
  nr as BackButton,
@@ -2684,7 +2690,7 @@ export {
2684
2690
  Uo as Sidebar,
2685
2691
  Oo as TabBar,
2686
2692
  Do as Title,
2687
- fe as WebApp,
2693
+ ce as WebApp,
2688
2694
  G as clsx,
2689
2695
  O as default,
2690
2696
  Ho as getUser