@elcrm/telegram 0.0.160 → 0.0.162

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