@elcrm/telegram 0.0.83 → 0.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import B, { useState as ce, useEffect as et } from "react";
2
- import './index.css';var Tt = { exports: {} }, Ge = {};
1
+ import N, { useState as ue, useEffect as tt } from "react";
2
+ import './index.css';var It = { exports: {} }, Ze = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -9,21 +9,21 @@ import './index.css';var Tt = { exports: {} }, Ge = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var Nt;
12
+ var Mt;
13
13
  function Gt() {
14
- if (Nt) return Ge;
15
- Nt = 1;
16
- var r = B, n = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, u = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function x(R, p, j) {
18
- var m, b = {}, k = null, N = null;
19
- j !== void 0 && (k = "" + j), p.key !== void 0 && (k = "" + p.key), p.ref !== void 0 && (N = p.ref);
20
- for (m in p) f.call(p, m) && !h.hasOwnProperty(m) && (b[m] = p[m]);
21
- if (R && R.defaultProps) for (m in p = R.defaultProps, p) b[m] === void 0 && (b[m] = p[m]);
22
- return { $$typeof: n, type: R, key: k, ref: N, props: b, _owner: u.current };
14
+ if (Mt) return Ze;
15
+ Mt = 1;
16
+ var r = N, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, c = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function E(R, v, A) {
18
+ var m, b = {}, S = null, M = null;
19
+ A !== void 0 && (S = "" + A), v.key !== void 0 && (S = "" + v.key), v.ref !== void 0 && (M = v.ref);
20
+ for (m in v) f.call(v, m) && !d.hasOwnProperty(m) && (b[m] = v[m]);
21
+ if (R && R.defaultProps) for (m in v = R.defaultProps, v) b[m] === void 0 && (b[m] = v[m]);
22
+ return { $$typeof: n, type: R, key: S, ref: M, props: b, _owner: c.current };
23
23
  }
24
- return Ge.Fragment = i, Ge.jsx = x, Ge.jsxs = x, Ge;
24
+ return Ze.Fragment = a, Ze.jsx = E, Ze.jsxs = E, Ze;
25
25
  }
26
- var Ze = {};
26
+ var Xe = {};
27
27
  /**
28
28
  * @license React
29
29
  * react-jsx-runtime.development.js
@@ -33,70 +33,70 @@ var Ze = {};
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
35
  */
36
- var Bt;
36
+ var Nt;
37
37
  function Zt() {
38
- return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
39
- var r = B, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), R = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), A = Symbol.iterator, je = "@@iterator";
40
- function Oe(e) {
38
+ return Nt || (Nt = 1, process.env.NODE_ENV !== "production" && function() {
39
+ var r = N, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), R = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), I = Symbol.iterator, Ee = "@@iterator";
40
+ function we(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
- var t = A && e[A] || e[je];
43
+ var t = I && e[I] || e[Ee];
44
44
  return typeof t == "function" ? t : null;
45
45
  }
46
- var M = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
- function E(e) {
46
+ var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
+ function x(e) {
48
48
  {
49
- for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
50
- o[a - 1] = arguments[a];
51
- ke("error", e, o);
49
+ for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
50
+ o[i - 1] = arguments[i];
51
+ Oe("error", e, o);
52
52
  }
53
53
  }
54
- function ke(e, t, o) {
54
+ function Oe(e, t, o) {
55
55
  {
56
- var a = M.ReactDebugCurrentFrame, d = a.getStackAddendum();
57
- d !== "" && (t += "%s", o = o.concat([d]));
58
- var v = o.map(function(l) {
59
- return String(l);
56
+ var i = F.ReactDebugCurrentFrame, p = i.getStackAddendum();
57
+ p !== "" && (t += "%s", o = o.concat([p]));
58
+ var h = o.map(function(u) {
59
+ return String(u);
60
60
  });
61
- v.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, v);
61
+ h.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, h);
62
62
  }
63
63
  }
64
- var Ce = !1, we = !1, y = !1, S = !1, I = !1, F;
65
- F = Symbol.for("react.module.reference");
66
- function Y(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === f || e === h || I || e === u || e === j || e === m || S || e === N || Ce || we || y || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === b || e.$$typeof === x || e.$$typeof === R || e.$$typeof === p || // This needs to include all possible module reference object
64
+ var ke = !1, Ce = !1, Pe = !1, g = !1, k = !1, P;
65
+ P = Symbol.for("react.module.reference");
66
+ function D(e) {
67
+ return !!(typeof e == "string" || typeof e == "function" || e === f || e === d || k || e === c || e === A || e === m || g || e === M || ke || Ce || Pe || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === b || e.$$typeof === E || e.$$typeof === R || e.$$typeof === v || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
71
- e.$$typeof === F || e.getModuleId !== void 0));
71
+ e.$$typeof === P || e.getModuleId !== void 0));
72
72
  }
73
- function ae(e, t, o) {
74
- var a = e.displayName;
75
- if (a)
76
- return a;
77
- var d = t.displayName || t.name || "";
78
- return d !== "" ? o + "(" + d + ")" : o;
73
+ function Y(e, t, o) {
74
+ var i = e.displayName;
75
+ if (i)
76
+ return i;
77
+ var p = t.displayName || t.name || "";
78
+ return p !== "" ? o + "(" + p + ")" : o;
79
79
  }
80
- function ie(e) {
80
+ function K(e) {
81
81
  return e.displayName || "Context";
82
82
  }
83
83
  function T(e) {
84
84
  if (e == null)
85
85
  return null;
86
- if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
86
+ if (typeof e.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
87
87
  return e.displayName || e.name || null;
88
88
  if (typeof e == "string")
89
89
  return e;
90
90
  switch (e) {
91
91
  case f:
92
92
  return "Fragment";
93
- case i:
93
+ case a:
94
94
  return "Portal";
95
- case h:
95
+ case d:
96
96
  return "Profiler";
97
- case u:
97
+ case c:
98
98
  return "StrictMode";
99
- case j:
99
+ case A:
100
100
  return "Suspense";
101
101
  case m:
102
102
  return "SuspenseList";
@@ -105,19 +105,19 @@ function Zt() {
105
105
  switch (e.$$typeof) {
106
106
  case R:
107
107
  var t = e;
108
- return ie(t) + ".Consumer";
109
- case x:
108
+ return K(t) + ".Consumer";
109
+ case E:
110
110
  var o = e;
111
- return ie(o._context) + ".Provider";
112
- case p:
113
- return ae(e, e.render, "ForwardRef");
111
+ return K(o._context) + ".Provider";
112
+ case v:
113
+ return Y(e, e.render, "ForwardRef");
114
114
  case b:
115
- var a = e.displayName || null;
116
- return a !== null ? a : T(e.type) || "Memo";
117
- case k: {
118
- var d = e, v = d._payload, l = d._init;
115
+ var i = e.displayName || null;
116
+ return i !== null ? i : T(e.type) || "Memo";
117
+ case S: {
118
+ var p = e, h = p._payload, u = p._init;
119
119
  try {
120
- return T(l(v));
120
+ return T(u(h));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -125,18 +125,18 @@ function Zt() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var $ = Object.assign, D = 0, H, K, G, Pe, Ae, Te, Ie;
129
- function $e() {
128
+ var $ = Object.assign, W = 0, G, Z, X, Q, Te, Ie, $e;
129
+ function Me() {
130
130
  }
131
- $e.__reactDisabledLog = !0;
132
- function at() {
131
+ Me.__reactDisabledLog = !0;
132
+ function it() {
133
133
  {
134
- if (D === 0) {
135
- H = console.log, K = console.info, G = console.warn, Pe = console.error, Ae = console.group, Te = console.groupCollapsed, Ie = console.groupEnd;
134
+ if (W === 0) {
135
+ G = console.log, Z = console.info, X = console.warn, Q = console.error, Te = console.group, Ie = console.groupCollapsed, $e = console.groupEnd;
136
136
  var e = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
139
- value: $e,
139
+ value: Me,
140
140
  writable: !0
141
141
  };
142
142
  Object.defineProperties(console, {
@@ -149,12 +149,12 @@ function Zt() {
149
149
  groupEnd: e
150
150
  });
151
151
  }
152
- D++;
152
+ W++;
153
153
  }
154
154
  }
155
- function it() {
155
+ function st() {
156
156
  {
157
- if (D--, D === 0) {
157
+ if (W--, W === 0) {
158
158
  var e = {
159
159
  configurable: !0,
160
160
  enumerable: !0,
@@ -162,214 +162,214 @@ function Zt() {
162
162
  };
163
163
  Object.defineProperties(console, {
164
164
  log: $({}, e, {
165
- value: H
165
+ value: G
166
166
  }),
167
167
  info: $({}, e, {
168
- value: K
168
+ value: Z
169
169
  }),
170
170
  warn: $({}, e, {
171
- value: G
171
+ value: X
172
172
  }),
173
173
  error: $({}, e, {
174
- value: Pe
174
+ value: Q
175
175
  }),
176
176
  group: $({}, e, {
177
- value: Ae
177
+ value: Te
178
178
  }),
179
179
  groupCollapsed: $({}, e, {
180
- value: Te
180
+ value: Ie
181
181
  }),
182
182
  groupEnd: $({}, e, {
183
- value: Ie
183
+ value: $e
184
184
  })
185
185
  });
186
186
  }
187
- D < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
187
+ W < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
- var ue = M.ReactCurrentDispatcher, fe;
191
- function X(e, t, o) {
190
+ var fe = F.ReactCurrentDispatcher, de;
191
+ function te(e, t, o) {
192
192
  {
193
- if (fe === void 0)
193
+ if (de === void 0)
194
194
  try {
195
195
  throw Error();
196
- } catch (d) {
197
- var a = d.stack.trim().match(/\n( *(at )?)/);
198
- fe = a && a[1] || "";
196
+ } catch (p) {
197
+ var i = p.stack.trim().match(/\n( *(at )?)/);
198
+ de = i && i[1] || "";
199
199
  }
200
200
  return `
201
- ` + fe + e;
201
+ ` + de + e;
202
202
  }
203
203
  }
204
- var de = !1, Q;
204
+ var pe = !1, re;
205
205
  {
206
- var st = typeof WeakMap == "function" ? WeakMap : Map;
207
- Q = new st();
206
+ var lt = typeof WeakMap == "function" ? WeakMap : Map;
207
+ re = new lt();
208
208
  }
209
209
  function Ne(e, t) {
210
- if (!e || de)
210
+ if (!e || pe)
211
211
  return "";
212
212
  {
213
- var o = Q.get(e);
213
+ var o = re.get(e);
214
214
  if (o !== void 0)
215
215
  return o;
216
216
  }
217
- var a;
218
- de = !0;
219
- var d = Error.prepareStackTrace;
217
+ var i;
218
+ pe = !0;
219
+ var p = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
- var v;
222
- v = ue.current, ue.current = null, at();
221
+ var h;
222
+ h = fe.current, fe.current = null, it();
223
223
  try {
224
224
  if (t) {
225
- var l = function() {
225
+ var u = function() {
226
226
  throw Error();
227
227
  };
228
- if (Object.defineProperty(l.prototype, "props", {
228
+ if (Object.defineProperty(u.prototype, "props", {
229
229
  set: function() {
230
230
  throw Error();
231
231
  }
232
232
  }), typeof Reflect == "object" && Reflect.construct) {
233
233
  try {
234
- Reflect.construct(l, []);
235
- } catch (C) {
236
- a = C;
234
+ Reflect.construct(u, []);
235
+ } catch (O) {
236
+ i = O;
237
237
  }
238
- Reflect.construct(e, [], l);
238
+ Reflect.construct(e, [], u);
239
239
  } else {
240
240
  try {
241
- l.call();
242
- } catch (C) {
243
- a = C;
241
+ u.call();
242
+ } catch (O) {
243
+ i = O;
244
244
  }
245
- e.call(l.prototype);
245
+ e.call(u.prototype);
246
246
  }
247
247
  } else {
248
248
  try {
249
249
  throw Error();
250
- } catch (C) {
251
- a = C;
250
+ } catch (O) {
251
+ i = O;
252
252
  }
253
253
  e();
254
254
  }
255
- } catch (C) {
256
- if (C && a && typeof C.stack == "string") {
257
- for (var c = C.stack.split(`
258
- `), O = a.stack.split(`
259
- `), g = c.length - 1, _ = O.length - 1; g >= 1 && _ >= 0 && c[g] !== O[_]; )
255
+ } catch (O) {
256
+ if (O && i && typeof O.stack == "string") {
257
+ for (var l = O.stack.split(`
258
+ `), j = i.stack.split(`
259
+ `), y = l.length - 1, _ = j.length - 1; y >= 1 && _ >= 0 && l[y] !== j[_]; )
260
260
  _--;
261
- for (; g >= 1 && _ >= 0; g--, _--)
262
- if (c[g] !== O[_]) {
263
- if (g !== 1 || _ !== 1)
261
+ for (; y >= 1 && _ >= 0; y--, _--)
262
+ if (l[y] !== j[_]) {
263
+ if (y !== 1 || _ !== 1)
264
264
  do
265
- if (g--, _--, _ < 0 || c[g] !== O[_]) {
266
- var P = `
267
- ` + c[g].replace(" at new ", " at ");
268
- return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, P), P;
265
+ if (y--, _--, _ < 0 || l[y] !== j[_]) {
266
+ var C = `
267
+ ` + l[y].replace(" at new ", " at ");
268
+ return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, C), C;
269
269
  }
270
- while (g >= 1 && _ >= 0);
270
+ while (y >= 1 && _ >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- de = !1, ue.current = v, it(), Error.prepareStackTrace = d;
275
+ pe = !1, fe.current = h, st(), Error.prepareStackTrace = p;
276
276
  }
277
- var z = e ? e.displayName || e.name : "", W = z ? X(z) : "";
278
- return typeof e == "function" && Q.set(e, W), W;
277
+ var z = e ? e.displayName || e.name : "", B = z ? te(z) : "";
278
+ return typeof e == "function" && re.set(e, B), B;
279
279
  }
280
- function ct(e, t, o) {
280
+ function ut(e, t, o) {
281
281
  return Ne(e, !1);
282
282
  }
283
- function lt(e) {
283
+ function ct(e) {
284
284
  var t = e.prototype;
285
285
  return !!(t && t.isReactComponent);
286
286
  }
287
- function ee(e, t, o) {
287
+ function ne(e, t, o) {
288
288
  if (e == null)
289
289
  return "";
290
290
  if (typeof e == "function")
291
- return Ne(e, lt(e));
291
+ return Ne(e, ct(e));
292
292
  if (typeof e == "string")
293
- return X(e);
293
+ return te(e);
294
294
  switch (e) {
295
- case j:
296
- return X("Suspense");
295
+ case A:
296
+ return te("Suspense");
297
297
  case m:
298
- return X("SuspenseList");
298
+ return te("SuspenseList");
299
299
  }
300
300
  if (typeof e == "object")
301
301
  switch (e.$$typeof) {
302
- case p:
303
- return ct(e.render);
302
+ case v:
303
+ return ut(e.render);
304
304
  case b:
305
- return ee(e.type, t, o);
306
- case k: {
307
- var a = e, d = a._payload, v = a._init;
305
+ return ne(e.type, t, o);
306
+ case S: {
307
+ var i = e, p = i._payload, h = i._init;
308
308
  try {
309
- return ee(v(d), t, o);
309
+ return ne(h(p), t, o);
310
310
  } catch {
311
311
  }
312
312
  }
313
313
  }
314
314
  return "";
315
315
  }
316
- var q = Object.prototype.hasOwnProperty, Be = {}, Fe = M.ReactDebugCurrentFrame;
317
- function te(e) {
316
+ var q = Object.prototype.hasOwnProperty, De = {}, Fe = F.ReactDebugCurrentFrame;
317
+ function oe(e) {
318
318
  if (e) {
319
- var t = e._owner, o = ee(e.type, e._source, t ? t.type : null);
319
+ var t = e._owner, o = ne(e.type, e._source, t ? t.type : null);
320
320
  Fe.setExtraStackFrame(o);
321
321
  } else
322
322
  Fe.setExtraStackFrame(null);
323
323
  }
324
- function ut(e, t, o, a, d) {
324
+ function ft(e, t, o, i, p) {
325
325
  {
326
- var v = Function.call.bind(q);
327
- for (var l in e)
328
- if (v(e, l)) {
329
- var c = void 0;
326
+ var h = Function.call.bind(q);
327
+ for (var u in e)
328
+ if (h(e, u)) {
329
+ var l = void 0;
330
330
  try {
331
- if (typeof e[l] != "function") {
332
- var O = Error((a || "React class") + ": " + o + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
- throw O.name = "Invariant Violation", O;
331
+ if (typeof e[u] != "function") {
332
+ var j = Error((i || "React class") + ": " + o + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
+ throw j.name = "Invariant Violation", j;
334
334
  }
335
- c = e[l](t, l, a, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (g) {
337
- c = g;
335
+ l = e[u](t, u, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
+ } catch (y) {
337
+ l = y;
338
338
  }
339
- c && !(c instanceof Error) && (te(d), E("%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).", a || "React class", o, l, typeof c), te(null)), c instanceof Error && !(c.message in Be) && (Be[c.message] = !0, te(d), E("Failed %s type: %s", o, c.message), te(null));
339
+ l && !(l instanceof Error) && (oe(p), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", o, u, typeof l), oe(null)), l instanceof Error && !(l.message in De) && (De[l.message] = !0, oe(p), x("Failed %s type: %s", o, l.message), oe(null));
340
340
  }
341
341
  }
342
342
  }
343
- var ft = Array.isArray;
344
- function pe(e) {
345
- return ft(e);
343
+ var dt = Array.isArray;
344
+ function ve(e) {
345
+ return dt(e);
346
346
  }
347
- function dt(e) {
347
+ function pt(e) {
348
348
  {
349
349
  var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
350
350
  return o;
351
351
  }
352
352
  }
353
- function pt(e) {
353
+ function vt(e) {
354
354
  try {
355
- return De(e), !1;
355
+ return Be(e), !1;
356
356
  } catch {
357
357
  return !0;
358
358
  }
359
359
  }
360
- function De(e) {
360
+ function Be(e) {
361
361
  return "" + e;
362
362
  }
363
- function Me(e) {
364
- if (pt(e))
365
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dt(e)), De(e);
363
+ function We(e) {
364
+ if (vt(e))
365
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pt(e)), Be(e);
366
366
  }
367
- var We = M.ReactCurrentOwner, vt = {
367
+ var Le = F.ReactCurrentOwner, ht = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
- }, Le, Ue;
372
+ }, Ue, Ye;
373
373
  function mt(e) {
374
374
  if (q.call(e, "ref")) {
375
375
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
@@ -378,7 +378,7 @@ function Zt() {
378
378
  }
379
379
  return e.ref !== void 0;
380
380
  }
381
- function ht(e) {
381
+ function gt(e) {
382
382
  if (q.call(e, "key")) {
383
383
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
384
384
  if (t && t.isReactWarning)
@@ -387,12 +387,12 @@ function Zt() {
387
387
  return e.key !== void 0;
388
388
  }
389
389
  function yt(e, t) {
390
- typeof e.ref == "string" && We.current;
390
+ typeof e.ref == "string" && Le.current;
391
391
  }
392
- function gt(e, t) {
392
+ function bt(e, t) {
393
393
  {
394
394
  var o = function() {
395
- Le || (Le = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
395
+ Ue || (Ue = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
396
396
  };
397
397
  o.isReactWarning = !0, Object.defineProperty(e, "key", {
398
398
  get: o,
@@ -400,10 +400,10 @@ function Zt() {
400
400
  });
401
401
  }
402
402
  }
403
- function bt(e, t) {
403
+ function _t(e, t) {
404
404
  {
405
405
  var o = function() {
406
- Ue || (Ue = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
406
+ Ye || (Ye = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
407
407
  };
408
408
  o.isReactWarning = !0, Object.defineProperty(e, "ref", {
409
409
  get: o,
@@ -411,70 +411,70 @@ function Zt() {
411
411
  });
412
412
  }
413
413
  }
414
- var _t = function(e, t, o, a, d, v, l) {
415
- var c = {
414
+ var Rt = function(e, t, o, i, p, h, u) {
415
+ var l = {
416
416
  // This tag allows us to uniquely identify this as a React Element
417
417
  $$typeof: n,
418
418
  // Built-in properties that belong on the element
419
419
  type: e,
420
420
  key: t,
421
421
  ref: o,
422
- props: l,
422
+ props: u,
423
423
  // Record the component responsible for creating this element.
424
- _owner: v
424
+ _owner: h
425
425
  };
426
- return c._store = {}, Object.defineProperty(c._store, "validated", {
426
+ return l._store = {}, Object.defineProperty(l._store, "validated", {
427
427
  configurable: !1,
428
428
  enumerable: !1,
429
429
  writable: !0,
430
430
  value: !1
431
- }), Object.defineProperty(c, "_self", {
431
+ }), Object.defineProperty(l, "_self", {
432
432
  configurable: !1,
433
433
  enumerable: !1,
434
434
  writable: !1,
435
- value: a
436
- }), Object.defineProperty(c, "_source", {
435
+ value: i
436
+ }), Object.defineProperty(l, "_source", {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
- value: d
441
- }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
440
+ value: p
441
+ }), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
442
442
  };
443
- function Rt(e, t, o, a, d) {
443
+ function St(e, t, o, i, p) {
444
444
  {
445
- var v, l = {}, c = null, O = null;
446
- o !== void 0 && (Me(o), c = "" + o), ht(t) && (Me(t.key), c = "" + t.key), mt(t) && (O = t.ref, yt(t, d));
447
- for (v in t)
448
- q.call(t, v) && !vt.hasOwnProperty(v) && (l[v] = t[v]);
445
+ var h, u = {}, l = null, j = null;
446
+ o !== void 0 && (We(o), l = "" + o), gt(t) && (We(t.key), l = "" + t.key), mt(t) && (j = t.ref, yt(t, p));
447
+ for (h in t)
448
+ q.call(t, h) && !ht.hasOwnProperty(h) && (u[h] = t[h]);
449
449
  if (e && e.defaultProps) {
450
- var g = e.defaultProps;
451
- for (v in g)
452
- l[v] === void 0 && (l[v] = g[v]);
450
+ var y = e.defaultProps;
451
+ for (h in y)
452
+ u[h] === void 0 && (u[h] = y[h]);
453
453
  }
454
- if (c || O) {
454
+ if (l || j) {
455
455
  var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- c && gt(l, _), O && bt(l, _);
456
+ l && bt(u, _), j && _t(u, _);
457
457
  }
458
- return _t(e, c, O, d, a, We.current, l);
458
+ return Rt(e, l, j, p, i, Le.current, u);
459
459
  }
460
460
  }
461
- var ve = M.ReactCurrentOwner, Ye = M.ReactDebugCurrentFrame;
461
+ var he = F.ReactCurrentOwner, Ve = F.ReactDebugCurrentFrame;
462
462
  function V(e) {
463
463
  if (e) {
464
- var t = e._owner, o = ee(e.type, e._source, t ? t.type : null);
465
- Ye.setExtraStackFrame(o);
464
+ var t = e._owner, o = ne(e.type, e._source, t ? t.type : null);
465
+ Ve.setExtraStackFrame(o);
466
466
  } else
467
- Ye.setExtraStackFrame(null);
467
+ Ve.setExtraStackFrame(null);
468
468
  }
469
469
  var me;
470
470
  me = !1;
471
- function he(e) {
471
+ function ge(e) {
472
472
  return typeof e == "object" && e !== null && e.$$typeof === n;
473
473
  }
474
- function Ve() {
474
+ function ze() {
475
475
  {
476
- if (ve.current) {
477
- var e = T(ve.current.type);
476
+ if (he.current) {
477
+ var e = T(he.current.type);
478
478
  if (e)
479
479
  return `
480
480
 
@@ -483,13 +483,13 @@ Check the render method of \`` + e + "`.";
483
483
  return "";
484
484
  }
485
485
  }
486
- function kt(e) {
486
+ function Et(e) {
487
487
  return "";
488
488
  }
489
- var ze = {};
490
- function St(e) {
489
+ var Je = {};
490
+ function kt(e) {
491
491
  {
492
- var t = Ve();
492
+ var t = ze();
493
493
  if (!t) {
494
494
  var o = typeof e == "string" ? e : e.displayName || e.name;
495
495
  o && (t = `
@@ -504,34 +504,34 @@ Check the top-level render call using <` + o + ">.");
504
504
  if (!e._store || e._store.validated || e.key != null)
505
505
  return;
506
506
  e._store.validated = !0;
507
- var o = St(t);
508
- if (ze[o])
507
+ var o = kt(t);
508
+ if (Je[o])
509
509
  return;
510
- ze[o] = !0;
511
- var a = "";
512
- e && e._owner && e._owner !== ve.current && (a = " It was passed a child from " + T(e._owner.type) + "."), V(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, a), V(null);
510
+ Je[o] = !0;
511
+ var i = "";
512
+ e && e._owner && e._owner !== he.current && (i = " It was passed a child from " + T(e._owner.type) + "."), V(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), V(null);
513
513
  }
514
514
  }
515
- function Je(e, t) {
515
+ function He(e, t) {
516
516
  {
517
517
  if (typeof e != "object")
518
518
  return;
519
- if (pe(e))
519
+ if (ve(e))
520
520
  for (var o = 0; o < e.length; o++) {
521
- var a = e[o];
522
- he(a) && qe(a, t);
521
+ var i = e[o];
522
+ ge(i) && qe(i, t);
523
523
  }
524
- else if (he(e))
524
+ else if (ge(e))
525
525
  e._store && (e._store.validated = !0);
526
526
  else if (e) {
527
- var d = Oe(e);
528
- if (typeof d == "function" && d !== e.entries)
529
- for (var v = d.call(e), l; !(l = v.next()).done; )
530
- he(l.value) && qe(l.value, t);
527
+ var p = we(e);
528
+ if (typeof p == "function" && p !== e.entries)
529
+ for (var h = p.call(e), u; !(u = h.next()).done; )
530
+ ge(u.value) && qe(u.value, t);
531
531
  }
532
532
  }
533
533
  }
534
- function Et(e) {
534
+ function xt(e) {
535
535
  {
536
536
  var t = e.type;
537
537
  if (t == null || typeof t == "string")
@@ -539,127 +539,127 @@ Check the top-level render call using <` + o + ">.");
539
539
  var o;
540
540
  if (typeof t == "function")
541
541
  o = t.propTypes;
542
- else if (typeof t == "object" && (t.$$typeof === p || // Note: Memo only checks outer props here.
542
+ else if (typeof t == "object" && (t.$$typeof === v || // Note: Memo only checks outer props here.
543
543
  // Inner props are checked in the reconciler.
544
544
  t.$$typeof === b))
545
545
  o = t.propTypes;
546
546
  else
547
547
  return;
548
548
  if (o) {
549
- var a = T(t);
550
- ut(o, e.props, "prop", a, e);
549
+ var i = T(t);
550
+ ft(o, e.props, "prop", i, e);
551
551
  } else if (t.PropTypes !== void 0 && !me) {
552
552
  me = !0;
553
- var d = T(t);
554
- E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
553
+ var p = T(t);
554
+ x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
555
555
  }
556
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
556
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
557
  }
558
558
  }
559
- function xt(e) {
559
+ function At(e) {
560
560
  {
561
561
  for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
562
- var a = t[o];
563
- if (a !== "children" && a !== "key") {
564
- V(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), V(null);
562
+ var i = t[o];
563
+ if (i !== "children" && i !== "key") {
564
+ V(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), V(null);
565
565
  break;
566
566
  }
567
567
  }
568
- e.ref !== null && (V(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
568
+ e.ref !== null && (V(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
569
569
  }
570
570
  }
571
- var He = {};
572
- function Ke(e, t, o, a, d, v) {
571
+ var Ke = {};
572
+ function Ge(e, t, o, i, p, h) {
573
573
  {
574
- var l = Y(e);
575
- if (!l) {
576
- var c = "";
577
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
- var O = kt();
579
- O ? c += O : c += Ve();
580
- var g;
581
- e === null ? g = "null" : pe(e) ? g = "array" : e !== void 0 && e.$$typeof === n ? (g = "<" + (T(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, c);
574
+ var u = D(e);
575
+ if (!u) {
576
+ var l = "";
577
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
+ var j = Et();
579
+ j ? l += j : l += ze();
580
+ var y;
581
+ e === null ? y = "null" : ve(e) ? y = "array" : e !== void 0 && e.$$typeof === n ? (y = "<" + (T(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, l);
582
582
  }
583
- var _ = Rt(e, t, o, d, v);
583
+ var _ = St(e, t, o, p, h);
584
584
  if (_ == null)
585
585
  return _;
586
- if (l) {
587
- var P = t.children;
588
- if (P !== void 0)
589
- if (a)
590
- if (pe(P)) {
591
- for (var z = 0; z < P.length; z++)
592
- Je(P[z], e);
593
- Object.freeze && Object.freeze(P);
586
+ if (u) {
587
+ var C = t.children;
588
+ if (C !== void 0)
589
+ if (i)
590
+ if (ve(C)) {
591
+ for (var z = 0; z < C.length; z++)
592
+ He(C[z], e);
593
+ Object.freeze && Object.freeze(C);
594
594
  } else
595
- E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
595
+ x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
596
596
  else
597
- Je(P, e);
597
+ He(C, e);
598
598
  }
599
599
  if (q.call(t, "key")) {
600
- var W = T(e), C = Object.keys(t).filter(function(At) {
601
- return At !== "key";
602
- }), ye = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
603
- if (!He[W + ye]) {
604
- var Pt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
605
- E(`A props object containing a "key" prop is being spread into JSX:
600
+ var B = T(e), O = Object.keys(t).filter(function(Tt) {
601
+ return Tt !== "key";
602
+ }), ye = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
603
+ if (!Ke[B + ye]) {
604
+ var Pt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
605
+ x(`A props object containing a "key" prop is being spread into JSX:
606
606
  let props = %s;
607
607
  <%s {...props} />
608
608
  React keys must be passed directly to JSX without using spread:
609
609
  let props = %s;
610
- <%s key={someKey} {...props} />`, ye, W, Pt, W), He[W + ye] = !0;
610
+ <%s key={someKey} {...props} />`, ye, B, Pt, B), Ke[B + ye] = !0;
611
611
  }
612
612
  }
613
- return e === f ? xt(_) : Et(_), _;
613
+ return e === f ? At(_) : xt(_), _;
614
614
  }
615
615
  }
616
616
  function jt(e, t, o) {
617
- return Ke(e, t, o, !0);
617
+ return Ge(e, t, o, !0);
618
618
  }
619
- function Ot(e, t, o) {
620
- return Ke(e, t, o, !1);
619
+ function wt(e, t, o) {
620
+ return Ge(e, t, o, !1);
621
621
  }
622
- var Ct = Ot, wt = jt;
623
- Ze.Fragment = f, Ze.jsx = Ct, Ze.jsxs = wt;
624
- }()), Ze;
622
+ var Ot = wt, Ct = jt;
623
+ Xe.Fragment = f, Xe.jsx = Ot, Xe.jsxs = Ct;
624
+ }()), Xe;
625
625
  }
626
- process.env.NODE_ENV === "production" ? Tt.exports = Gt() : Tt.exports = Zt();
627
- var s = Tt.exports;
628
- let Z = {};
629
- var It;
626
+ process.env.NODE_ENV === "production" ? It.exports = Gt() : It.exports = Zt();
627
+ var s = It.exports;
628
+ let ee = {};
629
+ var $t;
630
630
  ((r) => {
631
631
  function n({ children: R }) {
632
- const [p, j] = ce(!1), [m, b] = ce(!1);
633
- if (Z.onClose = () => {
632
+ const [v, A] = ue(!1), [m, b] = ue(!1);
633
+ if (ee.onClose = () => {
634
634
  U.BackButton(!1), b(!0), setTimeout(() => {
635
- j(!1), b(!1);
635
+ A(!1), b(!1);
636
636
  }, 300);
637
- }, et(() => {
638
- p ? Z.onClose() : (U.BackButton({
639
- callback: () => Z.onClose()
640
- }), j(!0));
641
- }, []), !!p)
637
+ }, tt(() => {
638
+ v ? ee.onClose() : (U.BackButton({
639
+ callback: () => ee.onClose()
640
+ }), A(!0));
641
+ }, []), !!v)
642
642
  return /* @__PURE__ */ s.jsx("div", { className: `modal-overlay ${m ? "closing" : ""}`, children: /* @__PURE__ */ s.jsx("div", { className: `modal-popup ${m ? "closing" : ""}`, children: /* @__PURE__ */ s.jsx("div", { children: R }) }) });
643
643
  }
644
644
  r.Content = n;
645
- function i({
645
+ function a({
646
646
  import_modules: R
647
647
  }) {
648
- let [p, j] = ce([]);
649
- return Z.x = (m) => {
650
- j(m ? p.filter((b) => b.key !== m) : []);
651
- }, et(() => {
652
- R && (Z.i = R);
653
- }, []), Z.add = (m, b = Date.now()) => {
654
- j([...p, { key: b, item: m }]);
655
- }, /* @__PURE__ */ s.jsx(s.Fragment, { children: p.map((m) => m.item) });
648
+ let [v, A] = ue([]);
649
+ return ee.x = (m) => {
650
+ A(m ? v.filter((b) => b.key !== m) : []);
651
+ }, tt(() => {
652
+ R && (ee.i = R);
653
+ }, []), ee.add = (m, b = Date.now()) => {
654
+ A([...v, { key: b, item: m }]);
655
+ }, /* @__PURE__ */ s.jsx(s.Fragment, { children: v.map((m) => m.item) });
656
656
  }
657
- r.Init = i;
658
- function f(R, p) {
659
- Z.add(/* @__PURE__ */ s.jsx(n, { children: R }, String(Date.now())), p);
657
+ r.Init = a;
658
+ function f(R, v) {
659
+ ee.add(/* @__PURE__ */ s.jsx(n, { children: R }, String(Date.now())), v);
660
660
  }
661
661
  r.Add = f;
662
- function u(R) {
662
+ function c(R) {
663
663
  return {
664
664
  Open: (m) => {
665
665
  r.Add(
@@ -668,18 +668,18 @@ var It;
668
668
  }
669
669
  };
670
670
  }
671
- r.Create = u;
672
- function h() {
673
- Z.onClose();
671
+ r.Create = c;
672
+ function d() {
673
+ ee.onClose();
674
674
  }
675
- r.Close = h;
676
- function x(R, p, j) {
677
- Z.i && Z.i(`${R}/modals/${p}.tsx`).then((m) => {
678
- m.default.Open(j);
675
+ r.Close = d;
676
+ function E(R, v, A) {
677
+ ee.i && ee.i(`${R}/modals/${v}.tsx`).then((m) => {
678
+ m.default.Open(A);
679
679
  });
680
680
  }
681
- r.Open = x;
682
- })(It || (It = {}));
681
+ r.Open = E;
682
+ })($t || ($t = {}));
683
683
  function Yt() {
684
684
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
685
685
  }
@@ -688,62 +688,62 @@ const Vt = {
688
688
  iterations: 7,
689
689
  saltLength: 16
690
690
  };
691
- function Ft(r) {
691
+ function Dt(r) {
692
692
  const n = Yt();
693
693
  n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...Vt, ...r };
694
694
  }
695
- function rt() {
695
+ function nt() {
696
696
  return Yt().CRYPTO_PARAMS || Vt;
697
697
  }
698
- const nt = (r) => {
698
+ const ot = (r) => {
699
699
  let n = 0;
700
700
  for (let f = 0; f < r.length; f++) {
701
- const u = r.charCodeAt(f);
702
- n = (n << 5) - n + u, n = n & n;
701
+ const c = r.charCodeAt(f);
702
+ n = (n << 5) - n + c, n = n & n;
703
703
  }
704
704
  n = Math.abs(n);
705
- let i = "";
705
+ let a = "";
706
706
  for (let f = 0; f < 64; f++) {
707
- const u = (n ^ f * 197) & 255;
708
- i += u.toString(16).padStart(2, "0");
707
+ const c = (n ^ f * 197) & 255;
708
+ a += c.toString(16).padStart(2, "0");
709
709
  }
710
- return i;
710
+ return a;
711
711
  }, zt = (r, n) => {
712
- let i = r + n;
713
- for (let u = 0; u < rt().iterations; u++)
714
- i = nt(i);
712
+ let a = r + n;
713
+ for (let c = 0; c < nt().iterations; c++)
714
+ a = ot(a);
715
715
  const f = new Uint8Array(32);
716
- for (let u = 0; u < 32; u++)
717
- f[u] = parseInt(i.substring(u * 2, u * 2 + 2), 16);
716
+ for (let c = 0; c < 32; c++)
717
+ f[c] = parseInt(a.substring(c * 2, c * 2 + 2), 16);
718
718
  return f;
719
- }, qt = (r, n) => {
720
- const i = new Uint8Array(r.length), f = new Uint8Array(r.length);
721
- let u = 0;
722
- for (let h = 0; h < r.length; h++) {
723
- const x = h % n.length;
724
- u = n[x] + h + u & 255, f[h] = u;
719
+ }, Jt = (r, n) => {
720
+ const a = new Uint8Array(r.length), f = new Uint8Array(r.length);
721
+ let c = 0;
722
+ for (let d = 0; d < r.length; d++) {
723
+ const E = d % n.length;
724
+ c = n[E] + d + c & 255, f[d] = c;
725
725
  }
726
- for (let h = 0; h < r.length; h++)
727
- i[h] = r[h] ^ f[h];
728
- return i;
726
+ for (let d = 0; d < r.length; d++)
727
+ a[d] = r[d] ^ f[d];
728
+ return a;
729
729
  }, Xt = (r) => new TextEncoder().encode(r), Qt = (r) => new TextDecoder().decode(r), er = (r) => {
730
730
  let n = "";
731
- for (let i = 0; i < r.length; i += 8192) {
732
- const f = r.slice(i, Math.min(i + 8192, r.length));
731
+ for (let a = 0; a < r.length; a += 8192) {
732
+ const f = r.slice(a, Math.min(a + 8192, r.length));
733
733
  n += String.fromCharCode.apply(null, Array.from(f));
734
734
  }
735
735
  return btoa(n);
736
736
  }, tr = (r) => {
737
- const n = atob(r), i = new Uint8Array(n.length);
737
+ const n = atob(r), a = new Uint8Array(n.length);
738
738
  for (let f = 0; f < n.length; f++)
739
- i[f] = n.charCodeAt(f);
740
- return i;
739
+ a[f] = n.charCodeAt(f);
740
+ return a;
741
741
  }, rr = (r) => {
742
742
  try {
743
- const n = nt(
743
+ const n = ot(
744
744
  Date.now().toString() + Math.random()
745
- ).substring(0, rt().saltLength * 2), i = nt(r + n).substring(0, 8), f = zt(rt().key, n), u = Xt(r), h = qt(u, f), x = er(h);
746
- return `${n}.${x}.${i}`;
745
+ ).substring(0, nt().saltLength * 2), a = ot(r + n).substring(0, 8), f = zt(nt().key, n), c = Xt(r), d = Jt(c, f), E = er(d);
746
+ return `${n}.${E}.${a}`;
747
747
  } catch {
748
748
  throw new Error("Не удалось зашифровать данные");
749
749
  }
@@ -752,25 +752,25 @@ const nt = (r) => {
752
752
  const n = r.split(".");
753
753
  if (n.length !== 3)
754
754
  throw new Error("Неверный формат зашифрованных данных");
755
- const i = n[0], f = n[1], u = n[2], h = zt(rt().key, i), x = tr(f), R = qt(x, h), p = Qt(R);
756
- if (nt(p + i).substring(
755
+ const a = n[0], f = n[1], c = n[2], d = zt(nt().key, a), E = tr(f), R = Jt(E, d), v = Qt(R);
756
+ if (ot(v + a).substring(
757
757
  0,
758
758
  8
759
- ) !== u)
759
+ ) !== c)
760
760
  throw new Error("Контрольная сумма не совпадает");
761
- return p;
761
+ return v;
762
762
  } catch {
763
763
  return "";
764
764
  }
765
765
  };
766
- var se;
766
+ var le;
767
767
  ((r) => {
768
768
  r.setKey = (n) => {
769
- Ft({ key: n });
769
+ Dt({ key: n });
770
770
  }, r.enCode = (n) => {
771
771
  try {
772
- const i = JSON.stringify(n);
773
- return rr(i);
772
+ const a = JSON.stringify(n);
773
+ return rr(a);
774
774
  } catch {
775
775
  throw new Error("Не удалось зашифровать объект");
776
776
  }
@@ -778,16 +778,16 @@ var se;
778
778
  try {
779
779
  if (!n || n.length < 10)
780
780
  return !1;
781
- const i = nr(n);
782
- return i && JSON.parse(i) || !1;
781
+ const a = nr(n);
782
+ return a && JSON.parse(a) || !1;
783
783
  } catch {
784
784
  return !1;
785
785
  }
786
- }, r.setSecurityParams = (n, i) => {
787
- Ft({ iterations: n, saltLength: i });
786
+ }, r.setSecurityParams = (n, a) => {
787
+ Dt({ iterations: n, saltLength: a });
788
788
  };
789
- })(se || (se = {}));
790
- var Xe = {};
789
+ })(le || (le = {}));
790
+ var Qe = {};
791
791
  /**
792
792
  * @license React
793
793
  * react-jsx-runtime.production.min.js
@@ -797,21 +797,21 @@ var Xe = {};
797
797
  * This source code is licensed under the MIT license found in the
798
798
  * LICENSE file in the root directory of this source tree.
799
799
  */
800
- var Dt;
800
+ var Ft;
801
801
  function or() {
802
- if (Dt) return Xe;
803
- Dt = 1;
804
- var r = B, n = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, u = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
805
- function x(R, p, j) {
806
- var m, b = {}, k = null, N = null;
807
- j !== void 0 && (k = "" + j), p.key !== void 0 && (k = "" + p.key), p.ref !== void 0 && (N = p.ref);
808
- for (m in p) f.call(p, m) && !h.hasOwnProperty(m) && (b[m] = p[m]);
809
- if (R && R.defaultProps) for (m in p = R.defaultProps, p) b[m] === void 0 && (b[m] = p[m]);
810
- return { $$typeof: n, type: R, key: k, ref: N, props: b, _owner: u.current };
802
+ if (Ft) return Qe;
803
+ Ft = 1;
804
+ var r = N, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, c = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
805
+ function E(R, v, A) {
806
+ var m, b = {}, S = null, M = null;
807
+ A !== void 0 && (S = "" + A), v.key !== void 0 && (S = "" + v.key), v.ref !== void 0 && (M = v.ref);
808
+ for (m in v) f.call(v, m) && !d.hasOwnProperty(m) && (b[m] = v[m]);
809
+ if (R && R.defaultProps) for (m in v = R.defaultProps, v) b[m] === void 0 && (b[m] = v[m]);
810
+ return { $$typeof: n, type: R, key: S, ref: M, props: b, _owner: c.current };
811
811
  }
812
- return Xe.Fragment = i, Xe.jsx = x, Xe.jsxs = x, Xe;
812
+ return Qe.Fragment = a, Qe.jsx = E, Qe.jsxs = E, Qe;
813
813
  }
814
- var tt = {};
814
+ var rt = {};
815
815
  /**
816
816
  * @license React
817
817
  * react-jsx-runtime.development.js
@@ -821,70 +821,70 @@ var tt = {};
821
821
  * This source code is licensed under the MIT license found in the
822
822
  * LICENSE file in the root directory of this source tree.
823
823
  */
824
- var Mt;
824
+ var Bt;
825
825
  function ar() {
826
- return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
827
- var r = B, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), R = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), A = Symbol.iterator, je = "@@iterator";
828
- function Oe(e) {
826
+ return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
827
+ var r = N, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), R = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), I = Symbol.iterator, Ee = "@@iterator";
828
+ function we(e) {
829
829
  if (e === null || typeof e != "object")
830
830
  return null;
831
- var t = A && e[A] || e[je];
831
+ var t = I && e[I] || e[Ee];
832
832
  return typeof t == "function" ? t : null;
833
833
  }
834
- var M = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
835
- function E(e) {
834
+ var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
835
+ function x(e) {
836
836
  {
837
- for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
838
- o[a - 1] = arguments[a];
839
- ke("error", e, o);
837
+ for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
838
+ o[i - 1] = arguments[i];
839
+ Oe("error", e, o);
840
840
  }
841
841
  }
842
- function ke(e, t, o) {
842
+ function Oe(e, t, o) {
843
843
  {
844
- var a = M.ReactDebugCurrentFrame, d = a.getStackAddendum();
845
- d !== "" && (t += "%s", o = o.concat([d]));
846
- var v = o.map(function(l) {
847
- return String(l);
844
+ var i = F.ReactDebugCurrentFrame, p = i.getStackAddendum();
845
+ p !== "" && (t += "%s", o = o.concat([p]));
846
+ var h = o.map(function(u) {
847
+ return String(u);
848
848
  });
849
- v.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, v);
849
+ h.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, h);
850
850
  }
851
851
  }
852
- var Ce = !1, we = !1, y = !1, S = !1, I = !1, F;
853
- F = Symbol.for("react.module.reference");
854
- function Y(e) {
855
- return !!(typeof e == "string" || typeof e == "function" || e === f || e === h || I || e === u || e === j || e === m || S || e === N || Ce || we || y || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === b || e.$$typeof === x || e.$$typeof === R || e.$$typeof === p || // This needs to include all possible module reference object
852
+ var ke = !1, Ce = !1, Pe = !1, g = !1, k = !1, P;
853
+ P = Symbol.for("react.module.reference");
854
+ function D(e) {
855
+ return !!(typeof e == "string" || typeof e == "function" || e === f || e === d || k || e === c || e === A || e === m || g || e === M || ke || Ce || Pe || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === b || e.$$typeof === E || e.$$typeof === R || e.$$typeof === v || // This needs to include all possible module reference object
856
856
  // types supported by any Flight configuration anywhere since
857
857
  // we don't know which Flight build this will end up being used
858
858
  // with.
859
- e.$$typeof === F || e.getModuleId !== void 0));
859
+ e.$$typeof === P || e.getModuleId !== void 0));
860
860
  }
861
- function ae(e, t, o) {
862
- var a = e.displayName;
863
- if (a)
864
- return a;
865
- var d = t.displayName || t.name || "";
866
- return d !== "" ? o + "(" + d + ")" : o;
861
+ function Y(e, t, o) {
862
+ var i = e.displayName;
863
+ if (i)
864
+ return i;
865
+ var p = t.displayName || t.name || "";
866
+ return p !== "" ? o + "(" + p + ")" : o;
867
867
  }
868
- function ie(e) {
868
+ function K(e) {
869
869
  return e.displayName || "Context";
870
870
  }
871
871
  function T(e) {
872
872
  if (e == null)
873
873
  return null;
874
- if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
874
+ if (typeof e.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
875
875
  return e.displayName || e.name || null;
876
876
  if (typeof e == "string")
877
877
  return e;
878
878
  switch (e) {
879
879
  case f:
880
880
  return "Fragment";
881
- case i:
881
+ case a:
882
882
  return "Portal";
883
- case h:
883
+ case d:
884
884
  return "Profiler";
885
- case u:
885
+ case c:
886
886
  return "StrictMode";
887
- case j:
887
+ case A:
888
888
  return "Suspense";
889
889
  case m:
890
890
  return "SuspenseList";
@@ -893,19 +893,19 @@ function ar() {
893
893
  switch (e.$$typeof) {
894
894
  case R:
895
895
  var t = e;
896
- return ie(t) + ".Consumer";
897
- case x:
896
+ return K(t) + ".Consumer";
897
+ case E:
898
898
  var o = e;
899
- return ie(o._context) + ".Provider";
900
- case p:
901
- return ae(e, e.render, "ForwardRef");
899
+ return K(o._context) + ".Provider";
900
+ case v:
901
+ return Y(e, e.render, "ForwardRef");
902
902
  case b:
903
- var a = e.displayName || null;
904
- return a !== null ? a : T(e.type) || "Memo";
905
- case k: {
906
- var d = e, v = d._payload, l = d._init;
903
+ var i = e.displayName || null;
904
+ return i !== null ? i : T(e.type) || "Memo";
905
+ case S: {
906
+ var p = e, h = p._payload, u = p._init;
907
907
  try {
908
- return T(l(v));
908
+ return T(u(h));
909
909
  } catch {
910
910
  return null;
911
911
  }
@@ -913,18 +913,18 @@ function ar() {
913
913
  }
914
914
  return null;
915
915
  }
916
- var $ = Object.assign, D = 0, H, K, G, Pe, Ae, Te, Ie;
917
- function $e() {
916
+ var $ = Object.assign, W = 0, G, Z, X, Q, Te, Ie, $e;
917
+ function Me() {
918
918
  }
919
- $e.__reactDisabledLog = !0;
920
- function at() {
919
+ Me.__reactDisabledLog = !0;
920
+ function it() {
921
921
  {
922
- if (D === 0) {
923
- H = console.log, K = console.info, G = console.warn, Pe = console.error, Ae = console.group, Te = console.groupCollapsed, Ie = console.groupEnd;
922
+ if (W === 0) {
923
+ G = console.log, Z = console.info, X = console.warn, Q = console.error, Te = console.group, Ie = console.groupCollapsed, $e = console.groupEnd;
924
924
  var e = {
925
925
  configurable: !0,
926
926
  enumerable: !0,
927
- value: $e,
927
+ value: Me,
928
928
  writable: !0
929
929
  };
930
930
  Object.defineProperties(console, {
@@ -937,12 +937,12 @@ function ar() {
937
937
  groupEnd: e
938
938
  });
939
939
  }
940
- D++;
940
+ W++;
941
941
  }
942
942
  }
943
- function it() {
943
+ function st() {
944
944
  {
945
- if (D--, D === 0) {
945
+ if (W--, W === 0) {
946
946
  var e = {
947
947
  configurable: !0,
948
948
  enumerable: !0,
@@ -950,214 +950,214 @@ function ar() {
950
950
  };
951
951
  Object.defineProperties(console, {
952
952
  log: $({}, e, {
953
- value: H
953
+ value: G
954
954
  }),
955
955
  info: $({}, e, {
956
- value: K
956
+ value: Z
957
957
  }),
958
958
  warn: $({}, e, {
959
- value: G
959
+ value: X
960
960
  }),
961
961
  error: $({}, e, {
962
- value: Pe
962
+ value: Q
963
963
  }),
964
964
  group: $({}, e, {
965
- value: Ae
965
+ value: Te
966
966
  }),
967
967
  groupCollapsed: $({}, e, {
968
- value: Te
968
+ value: Ie
969
969
  }),
970
970
  groupEnd: $({}, e, {
971
- value: Ie
971
+ value: $e
972
972
  })
973
973
  });
974
974
  }
975
- D < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
975
+ W < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
976
976
  }
977
977
  }
978
- var ue = M.ReactCurrentDispatcher, fe;
979
- function X(e, t, o) {
978
+ var fe = F.ReactCurrentDispatcher, de;
979
+ function te(e, t, o) {
980
980
  {
981
- if (fe === void 0)
981
+ if (de === void 0)
982
982
  try {
983
983
  throw Error();
984
- } catch (d) {
985
- var a = d.stack.trim().match(/\n( *(at )?)/);
986
- fe = a && a[1] || "";
984
+ } catch (p) {
985
+ var i = p.stack.trim().match(/\n( *(at )?)/);
986
+ de = i && i[1] || "";
987
987
  }
988
988
  return `
989
- ` + fe + e;
989
+ ` + de + e;
990
990
  }
991
991
  }
992
- var de = !1, Q;
992
+ var pe = !1, re;
993
993
  {
994
- var st = typeof WeakMap == "function" ? WeakMap : Map;
995
- Q = new st();
994
+ var lt = typeof WeakMap == "function" ? WeakMap : Map;
995
+ re = new lt();
996
996
  }
997
997
  function Ne(e, t) {
998
- if (!e || de)
998
+ if (!e || pe)
999
999
  return "";
1000
1000
  {
1001
- var o = Q.get(e);
1001
+ var o = re.get(e);
1002
1002
  if (o !== void 0)
1003
1003
  return o;
1004
1004
  }
1005
- var a;
1006
- de = !0;
1007
- var d = Error.prepareStackTrace;
1005
+ var i;
1006
+ pe = !0;
1007
+ var p = Error.prepareStackTrace;
1008
1008
  Error.prepareStackTrace = void 0;
1009
- var v;
1010
- v = ue.current, ue.current = null, at();
1009
+ var h;
1010
+ h = fe.current, fe.current = null, it();
1011
1011
  try {
1012
1012
  if (t) {
1013
- var l = function() {
1013
+ var u = function() {
1014
1014
  throw Error();
1015
1015
  };
1016
- if (Object.defineProperty(l.prototype, "props", {
1016
+ if (Object.defineProperty(u.prototype, "props", {
1017
1017
  set: function() {
1018
1018
  throw Error();
1019
1019
  }
1020
1020
  }), typeof Reflect == "object" && Reflect.construct) {
1021
1021
  try {
1022
- Reflect.construct(l, []);
1023
- } catch (C) {
1024
- a = C;
1022
+ Reflect.construct(u, []);
1023
+ } catch (O) {
1024
+ i = O;
1025
1025
  }
1026
- Reflect.construct(e, [], l);
1026
+ Reflect.construct(e, [], u);
1027
1027
  } else {
1028
1028
  try {
1029
- l.call();
1030
- } catch (C) {
1031
- a = C;
1029
+ u.call();
1030
+ } catch (O) {
1031
+ i = O;
1032
1032
  }
1033
- e.call(l.prototype);
1033
+ e.call(u.prototype);
1034
1034
  }
1035
1035
  } else {
1036
1036
  try {
1037
1037
  throw Error();
1038
- } catch (C) {
1039
- a = C;
1038
+ } catch (O) {
1039
+ i = O;
1040
1040
  }
1041
1041
  e();
1042
1042
  }
1043
- } catch (C) {
1044
- if (C && a && typeof C.stack == "string") {
1045
- for (var c = C.stack.split(`
1046
- `), O = a.stack.split(`
1047
- `), g = c.length - 1, _ = O.length - 1; g >= 1 && _ >= 0 && c[g] !== O[_]; )
1043
+ } catch (O) {
1044
+ if (O && i && typeof O.stack == "string") {
1045
+ for (var l = O.stack.split(`
1046
+ `), j = i.stack.split(`
1047
+ `), y = l.length - 1, _ = j.length - 1; y >= 1 && _ >= 0 && l[y] !== j[_]; )
1048
1048
  _--;
1049
- for (; g >= 1 && _ >= 0; g--, _--)
1050
- if (c[g] !== O[_]) {
1051
- if (g !== 1 || _ !== 1)
1049
+ for (; y >= 1 && _ >= 0; y--, _--)
1050
+ if (l[y] !== j[_]) {
1051
+ if (y !== 1 || _ !== 1)
1052
1052
  do
1053
- if (g--, _--, _ < 0 || c[g] !== O[_]) {
1054
- var P = `
1055
- ` + c[g].replace(" at new ", " at ");
1056
- return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, P), P;
1053
+ if (y--, _--, _ < 0 || l[y] !== j[_]) {
1054
+ var C = `
1055
+ ` + l[y].replace(" at new ", " at ");
1056
+ return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, C), C;
1057
1057
  }
1058
- while (g >= 1 && _ >= 0);
1058
+ while (y >= 1 && _ >= 0);
1059
1059
  break;
1060
1060
  }
1061
1061
  }
1062
1062
  } finally {
1063
- de = !1, ue.current = v, it(), Error.prepareStackTrace = d;
1063
+ pe = !1, fe.current = h, st(), Error.prepareStackTrace = p;
1064
1064
  }
1065
- var z = e ? e.displayName || e.name : "", W = z ? X(z) : "";
1066
- return typeof e == "function" && Q.set(e, W), W;
1065
+ var z = e ? e.displayName || e.name : "", B = z ? te(z) : "";
1066
+ return typeof e == "function" && re.set(e, B), B;
1067
1067
  }
1068
- function ct(e, t, o) {
1068
+ function ut(e, t, o) {
1069
1069
  return Ne(e, !1);
1070
1070
  }
1071
- function lt(e) {
1071
+ function ct(e) {
1072
1072
  var t = e.prototype;
1073
1073
  return !!(t && t.isReactComponent);
1074
1074
  }
1075
- function ee(e, t, o) {
1075
+ function ne(e, t, o) {
1076
1076
  if (e == null)
1077
1077
  return "";
1078
1078
  if (typeof e == "function")
1079
- return Ne(e, lt(e));
1079
+ return Ne(e, ct(e));
1080
1080
  if (typeof e == "string")
1081
- return X(e);
1081
+ return te(e);
1082
1082
  switch (e) {
1083
- case j:
1084
- return X("Suspense");
1083
+ case A:
1084
+ return te("Suspense");
1085
1085
  case m:
1086
- return X("SuspenseList");
1086
+ return te("SuspenseList");
1087
1087
  }
1088
1088
  if (typeof e == "object")
1089
1089
  switch (e.$$typeof) {
1090
- case p:
1091
- return ct(e.render);
1090
+ case v:
1091
+ return ut(e.render);
1092
1092
  case b:
1093
- return ee(e.type, t, o);
1094
- case k: {
1095
- var a = e, d = a._payload, v = a._init;
1093
+ return ne(e.type, t, o);
1094
+ case S: {
1095
+ var i = e, p = i._payload, h = i._init;
1096
1096
  try {
1097
- return ee(v(d), t, o);
1097
+ return ne(h(p), t, o);
1098
1098
  } catch {
1099
1099
  }
1100
1100
  }
1101
1101
  }
1102
1102
  return "";
1103
1103
  }
1104
- var q = Object.prototype.hasOwnProperty, Be = {}, Fe = M.ReactDebugCurrentFrame;
1105
- function te(e) {
1104
+ var q = Object.prototype.hasOwnProperty, De = {}, Fe = F.ReactDebugCurrentFrame;
1105
+ function oe(e) {
1106
1106
  if (e) {
1107
- var t = e._owner, o = ee(e.type, e._source, t ? t.type : null);
1107
+ var t = e._owner, o = ne(e.type, e._source, t ? t.type : null);
1108
1108
  Fe.setExtraStackFrame(o);
1109
1109
  } else
1110
1110
  Fe.setExtraStackFrame(null);
1111
1111
  }
1112
- function ut(e, t, o, a, d) {
1112
+ function ft(e, t, o, i, p) {
1113
1113
  {
1114
- var v = Function.call.bind(q);
1115
- for (var l in e)
1116
- if (v(e, l)) {
1117
- var c = void 0;
1114
+ var h = Function.call.bind(q);
1115
+ for (var u in e)
1116
+ if (h(e, u)) {
1117
+ var l = void 0;
1118
1118
  try {
1119
- if (typeof e[l] != "function") {
1120
- var O = Error((a || "React class") + ": " + o + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1121
- throw O.name = "Invariant Violation", O;
1119
+ if (typeof e[u] != "function") {
1120
+ var j = Error((i || "React class") + ": " + o + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1121
+ throw j.name = "Invariant Violation", j;
1122
1122
  }
1123
- c = e[l](t, l, a, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1124
- } catch (g) {
1125
- c = g;
1123
+ l = e[u](t, u, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1124
+ } catch (y) {
1125
+ l = y;
1126
1126
  }
1127
- c && !(c instanceof Error) && (te(d), E("%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).", a || "React class", o, l, typeof c), te(null)), c instanceof Error && !(c.message in Be) && (Be[c.message] = !0, te(d), E("Failed %s type: %s", o, c.message), te(null));
1127
+ l && !(l instanceof Error) && (oe(p), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", o, u, typeof l), oe(null)), l instanceof Error && !(l.message in De) && (De[l.message] = !0, oe(p), x("Failed %s type: %s", o, l.message), oe(null));
1128
1128
  }
1129
1129
  }
1130
1130
  }
1131
- var ft = Array.isArray;
1132
- function pe(e) {
1133
- return ft(e);
1131
+ var dt = Array.isArray;
1132
+ function ve(e) {
1133
+ return dt(e);
1134
1134
  }
1135
- function dt(e) {
1135
+ function pt(e) {
1136
1136
  {
1137
1137
  var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
1138
1138
  return o;
1139
1139
  }
1140
1140
  }
1141
- function pt(e) {
1141
+ function vt(e) {
1142
1142
  try {
1143
- return De(e), !1;
1143
+ return Be(e), !1;
1144
1144
  } catch {
1145
1145
  return !0;
1146
1146
  }
1147
1147
  }
1148
- function De(e) {
1148
+ function Be(e) {
1149
1149
  return "" + e;
1150
1150
  }
1151
- function Me(e) {
1152
- if (pt(e))
1153
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dt(e)), De(e);
1151
+ function We(e) {
1152
+ if (vt(e))
1153
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pt(e)), Be(e);
1154
1154
  }
1155
- var We = M.ReactCurrentOwner, vt = {
1155
+ var Le = F.ReactCurrentOwner, ht = {
1156
1156
  key: !0,
1157
1157
  ref: !0,
1158
1158
  __self: !0,
1159
1159
  __source: !0
1160
- }, Le, Ue;
1160
+ }, Ue, Ye;
1161
1161
  function mt(e) {
1162
1162
  if (q.call(e, "ref")) {
1163
1163
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
@@ -1166,7 +1166,7 @@ function ar() {
1166
1166
  }
1167
1167
  return e.ref !== void 0;
1168
1168
  }
1169
- function ht(e) {
1169
+ function gt(e) {
1170
1170
  if (q.call(e, "key")) {
1171
1171
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
1172
1172
  if (t && t.isReactWarning)
@@ -1175,12 +1175,12 @@ function ar() {
1175
1175
  return e.key !== void 0;
1176
1176
  }
1177
1177
  function yt(e, t) {
1178
- typeof e.ref == "string" && We.current;
1178
+ typeof e.ref == "string" && Le.current;
1179
1179
  }
1180
- function gt(e, t) {
1180
+ function bt(e, t) {
1181
1181
  {
1182
1182
  var o = function() {
1183
- Le || (Le = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
1183
+ Ue || (Ue = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
1184
1184
  };
1185
1185
  o.isReactWarning = !0, Object.defineProperty(e, "key", {
1186
1186
  get: o,
@@ -1188,10 +1188,10 @@ function ar() {
1188
1188
  });
1189
1189
  }
1190
1190
  }
1191
- function bt(e, t) {
1191
+ function _t(e, t) {
1192
1192
  {
1193
1193
  var o = function() {
1194
- Ue || (Ue = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
1194
+ Ye || (Ye = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
1195
1195
  };
1196
1196
  o.isReactWarning = !0, Object.defineProperty(e, "ref", {
1197
1197
  get: o,
@@ -1199,70 +1199,70 @@ function ar() {
1199
1199
  });
1200
1200
  }
1201
1201
  }
1202
- var _t = function(e, t, o, a, d, v, l) {
1203
- var c = {
1202
+ var Rt = function(e, t, o, i, p, h, u) {
1203
+ var l = {
1204
1204
  // This tag allows us to uniquely identify this as a React Element
1205
1205
  $$typeof: n,
1206
1206
  // Built-in properties that belong on the element
1207
1207
  type: e,
1208
1208
  key: t,
1209
1209
  ref: o,
1210
- props: l,
1210
+ props: u,
1211
1211
  // Record the component responsible for creating this element.
1212
- _owner: v
1212
+ _owner: h
1213
1213
  };
1214
- return c._store = {}, Object.defineProperty(c._store, "validated", {
1214
+ return l._store = {}, Object.defineProperty(l._store, "validated", {
1215
1215
  configurable: !1,
1216
1216
  enumerable: !1,
1217
1217
  writable: !0,
1218
1218
  value: !1
1219
- }), Object.defineProperty(c, "_self", {
1219
+ }), Object.defineProperty(l, "_self", {
1220
1220
  configurable: !1,
1221
1221
  enumerable: !1,
1222
1222
  writable: !1,
1223
- value: a
1224
- }), Object.defineProperty(c, "_source", {
1223
+ value: i
1224
+ }), Object.defineProperty(l, "_source", {
1225
1225
  configurable: !1,
1226
1226
  enumerable: !1,
1227
1227
  writable: !1,
1228
- value: d
1229
- }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
1228
+ value: p
1229
+ }), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
1230
1230
  };
1231
- function Rt(e, t, o, a, d) {
1231
+ function St(e, t, o, i, p) {
1232
1232
  {
1233
- var v, l = {}, c = null, O = null;
1234
- o !== void 0 && (Me(o), c = "" + o), ht(t) && (Me(t.key), c = "" + t.key), mt(t) && (O = t.ref, yt(t));
1235
- for (v in t)
1236
- q.call(t, v) && !vt.hasOwnProperty(v) && (l[v] = t[v]);
1233
+ var h, u = {}, l = null, j = null;
1234
+ o !== void 0 && (We(o), l = "" + o), gt(t) && (We(t.key), l = "" + t.key), mt(t) && (j = t.ref, yt(t));
1235
+ for (h in t)
1236
+ q.call(t, h) && !ht.hasOwnProperty(h) && (u[h] = t[h]);
1237
1237
  if (e && e.defaultProps) {
1238
- var g = e.defaultProps;
1239
- for (v in g)
1240
- l[v] === void 0 && (l[v] = g[v]);
1238
+ var y = e.defaultProps;
1239
+ for (h in y)
1240
+ u[h] === void 0 && (u[h] = y[h]);
1241
1241
  }
1242
- if (c || O) {
1242
+ if (l || j) {
1243
1243
  var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1244
- c && gt(l, _), O && bt(l, _);
1244
+ l && bt(u, _), j && _t(u, _);
1245
1245
  }
1246
- return _t(e, c, O, d, a, We.current, l);
1246
+ return Rt(e, l, j, p, i, Le.current, u);
1247
1247
  }
1248
1248
  }
1249
- var ve = M.ReactCurrentOwner, Ye = M.ReactDebugCurrentFrame;
1249
+ var he = F.ReactCurrentOwner, Ve = F.ReactDebugCurrentFrame;
1250
1250
  function V(e) {
1251
1251
  if (e) {
1252
- var t = e._owner, o = ee(e.type, e._source, t ? t.type : null);
1253
- Ye.setExtraStackFrame(o);
1252
+ var t = e._owner, o = ne(e.type, e._source, t ? t.type : null);
1253
+ Ve.setExtraStackFrame(o);
1254
1254
  } else
1255
- Ye.setExtraStackFrame(null);
1255
+ Ve.setExtraStackFrame(null);
1256
1256
  }
1257
1257
  var me;
1258
1258
  me = !1;
1259
- function he(e) {
1259
+ function ge(e) {
1260
1260
  return typeof e == "object" && e !== null && e.$$typeof === n;
1261
1261
  }
1262
- function Ve() {
1262
+ function ze() {
1263
1263
  {
1264
- if (ve.current) {
1265
- var e = T(ve.current.type);
1264
+ if (he.current) {
1265
+ var e = T(he.current.type);
1266
1266
  if (e)
1267
1267
  return `
1268
1268
 
@@ -1271,13 +1271,13 @@ Check the render method of \`` + e + "`.";
1271
1271
  return "";
1272
1272
  }
1273
1273
  }
1274
- function kt(e) {
1274
+ function Et(e) {
1275
1275
  return "";
1276
1276
  }
1277
- var ze = {};
1278
- function St(e) {
1277
+ var Je = {};
1278
+ function kt(e) {
1279
1279
  {
1280
- var t = Ve();
1280
+ var t = ze();
1281
1281
  if (!t) {
1282
1282
  var o = typeof e == "string" ? e : e.displayName || e.name;
1283
1283
  o && (t = `
@@ -1292,34 +1292,34 @@ Check the top-level render call using <` + o + ">.");
1292
1292
  if (!e._store || e._store.validated || e.key != null)
1293
1293
  return;
1294
1294
  e._store.validated = !0;
1295
- var o = St(t);
1296
- if (ze[o])
1295
+ var o = kt(t);
1296
+ if (Je[o])
1297
1297
  return;
1298
- ze[o] = !0;
1299
- var a = "";
1300
- e && e._owner && e._owner !== ve.current && (a = " It was passed a child from " + T(e._owner.type) + "."), V(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, a), V(null);
1298
+ Je[o] = !0;
1299
+ var i = "";
1300
+ e && e._owner && e._owner !== he.current && (i = " It was passed a child from " + T(e._owner.type) + "."), V(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), V(null);
1301
1301
  }
1302
1302
  }
1303
- function Je(e, t) {
1303
+ function He(e, t) {
1304
1304
  {
1305
1305
  if (typeof e != "object")
1306
1306
  return;
1307
- if (pe(e))
1307
+ if (ve(e))
1308
1308
  for (var o = 0; o < e.length; o++) {
1309
- var a = e[o];
1310
- he(a) && qe(a, t);
1309
+ var i = e[o];
1310
+ ge(i) && qe(i, t);
1311
1311
  }
1312
- else if (he(e))
1312
+ else if (ge(e))
1313
1313
  e._store && (e._store.validated = !0);
1314
1314
  else if (e) {
1315
- var d = Oe(e);
1316
- if (typeof d == "function" && d !== e.entries)
1317
- for (var v = d.call(e), l; !(l = v.next()).done; )
1318
- he(l.value) && qe(l.value, t);
1315
+ var p = we(e);
1316
+ if (typeof p == "function" && p !== e.entries)
1317
+ for (var h = p.call(e), u; !(u = h.next()).done; )
1318
+ ge(u.value) && qe(u.value, t);
1319
1319
  }
1320
1320
  }
1321
1321
  }
1322
- function Et(e) {
1322
+ function xt(e) {
1323
1323
  {
1324
1324
  var t = e.type;
1325
1325
  if (t == null || typeof t == "string")
@@ -1327,313 +1327,350 @@ Check the top-level render call using <` + o + ">.");
1327
1327
  var o;
1328
1328
  if (typeof t == "function")
1329
1329
  o = t.propTypes;
1330
- else if (typeof t == "object" && (t.$$typeof === p || // Note: Memo only checks outer props here.
1330
+ else if (typeof t == "object" && (t.$$typeof === v || // Note: Memo only checks outer props here.
1331
1331
  // Inner props are checked in the reconciler.
1332
1332
  t.$$typeof === b))
1333
1333
  o = t.propTypes;
1334
1334
  else
1335
1335
  return;
1336
1336
  if (o) {
1337
- var a = T(t);
1338
- ut(o, e.props, "prop", a, e);
1337
+ var i = T(t);
1338
+ ft(o, e.props, "prop", i, e);
1339
1339
  } else if (t.PropTypes !== void 0 && !me) {
1340
1340
  me = !0;
1341
- var d = T(t);
1342
- E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
1341
+ var p = T(t);
1342
+ x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
1343
1343
  }
1344
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1344
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1345
1345
  }
1346
1346
  }
1347
- function xt(e) {
1347
+ function At(e) {
1348
1348
  {
1349
1349
  for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
1350
- var a = t[o];
1351
- if (a !== "children" && a !== "key") {
1352
- V(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), V(null);
1350
+ var i = t[o];
1351
+ if (i !== "children" && i !== "key") {
1352
+ V(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), V(null);
1353
1353
  break;
1354
1354
  }
1355
1355
  }
1356
- e.ref !== null && (V(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
1356
+ e.ref !== null && (V(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
1357
1357
  }
1358
1358
  }
1359
- var He = {};
1360
- function Ke(e, t, o, a, d, v) {
1359
+ var Ke = {};
1360
+ function Ge(e, t, o, i, p, h) {
1361
1361
  {
1362
- var l = Y(e);
1363
- if (!l) {
1364
- var c = "";
1365
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1366
- var O = kt();
1367
- O ? c += O : c += Ve();
1368
- var g;
1369
- e === null ? g = "null" : pe(e) ? g = "array" : e !== void 0 && e.$$typeof === n ? (g = "<" + (T(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, c);
1362
+ var u = D(e);
1363
+ if (!u) {
1364
+ var l = "";
1365
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1366
+ var j = Et();
1367
+ j ? l += j : l += ze();
1368
+ var y;
1369
+ e === null ? y = "null" : ve(e) ? y = "array" : e !== void 0 && e.$$typeof === n ? (y = "<" + (T(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, l);
1370
1370
  }
1371
- var _ = Rt(e, t, o, d, v);
1371
+ var _ = St(e, t, o, p, h);
1372
1372
  if (_ == null)
1373
1373
  return _;
1374
- if (l) {
1375
- var P = t.children;
1376
- if (P !== void 0)
1377
- if (a)
1378
- if (pe(P)) {
1379
- for (var z = 0; z < P.length; z++)
1380
- Je(P[z], e);
1381
- Object.freeze && Object.freeze(P);
1374
+ if (u) {
1375
+ var C = t.children;
1376
+ if (C !== void 0)
1377
+ if (i)
1378
+ if (ve(C)) {
1379
+ for (var z = 0; z < C.length; z++)
1380
+ He(C[z], e);
1381
+ Object.freeze && Object.freeze(C);
1382
1382
  } else
1383
- E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1383
+ x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1384
1384
  else
1385
- Je(P, e);
1385
+ He(C, e);
1386
1386
  }
1387
1387
  if (q.call(t, "key")) {
1388
- var W = T(e), C = Object.keys(t).filter(function(At) {
1389
- return At !== "key";
1390
- }), ye = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
1391
- if (!He[W + ye]) {
1392
- var Pt = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
1393
- E(`A props object containing a "key" prop is being spread into JSX:
1388
+ var B = T(e), O = Object.keys(t).filter(function(Tt) {
1389
+ return Tt !== "key";
1390
+ }), ye = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
1391
+ if (!Ke[B + ye]) {
1392
+ var Pt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
1393
+ x(`A props object containing a "key" prop is being spread into JSX:
1394
1394
  let props = %s;
1395
1395
  <%s {...props} />
1396
1396
  React keys must be passed directly to JSX without using spread:
1397
1397
  let props = %s;
1398
- <%s key={someKey} {...props} />`, ye, W, Pt, W), He[W + ye] = !0;
1398
+ <%s key={someKey} {...props} />`, ye, B, Pt, B), Ke[B + ye] = !0;
1399
1399
  }
1400
1400
  }
1401
- return e === f ? xt(_) : Et(_), _;
1401
+ return e === f ? At(_) : xt(_), _;
1402
1402
  }
1403
1403
  }
1404
1404
  function jt(e, t, o) {
1405
- return Ke(e, t, o, !0);
1405
+ return Ge(e, t, o, !0);
1406
1406
  }
1407
- function Ot(e, t, o) {
1408
- return Ke(e, t, o, !1);
1407
+ function wt(e, t, o) {
1408
+ return Ge(e, t, o, !1);
1409
1409
  }
1410
- var Ct = Ot, wt = jt;
1411
- tt.Fragment = f, tt.jsx = Ct, tt.jsxs = wt;
1412
- }()), tt;
1410
+ var Ot = wt, Ct = jt;
1411
+ rt.Fragment = f, rt.jsx = Ot, rt.jsxs = Ct;
1412
+ }()), rt;
1413
1413
  }
1414
1414
  process.env.NODE_ENV === "production" ? or() : ar();
1415
- const ir = "0.0.37", Jt = {
1415
+ const ir = "0.0.39", qt = {
1416
1416
  version: ir
1417
- }, re = {}, $t = {
1417
+ }, ae = {}, J = {
1418
1418
  module: "",
1419
- v: Jt.version,
1419
+ v: qt.version,
1420
1420
  page: "Main",
1421
1421
  auth: "Auth",
1422
1422
  STORAGE: "f",
1423
- LISTENER: {}
1423
+ LISTENER: {},
1424
+ debug: !1,
1425
+ tab: "",
1426
+ id: 0,
1427
+ prev: {
1428
+ page: "",
1429
+ module: "",
1430
+ tab: "",
1431
+ id: 0
1432
+ }
1424
1433
  };
1425
- function Re() {
1434
+ function Se() {
1426
1435
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
1427
1436
  }
1428
- Re().elcrm || (Re().elcrm = {});
1429
- Object.assign(Re().elcrm, { router: Jt.version });
1430
- function ne(r) {
1431
- const n = Re();
1432
- n.ROUTER_PARAMS ? n.ROUTER_PARAMS = { ...n.ROUTER_PARAMS, ...r } : n.ROUTER_PARAMS = { ...$t, ...r };
1437
+ Se().elcrm || (Se().elcrm = {});
1438
+ Object.assign(Se().elcrm, { router: qt.version });
1439
+ function ie(r) {
1440
+ var n, a, f, c;
1441
+ const d = Se();
1442
+ if (d.ROUTER_PARAMS) {
1443
+ r.debug || d.ROUTER_PARAMS.debug;
1444
+ const E = {
1445
+ page: (n = d.ROUTER_PARAMS) == null ? void 0 : n.page,
1446
+ module: (a = d.ROUTER_PARAMS) == null ? void 0 : a.module,
1447
+ tab: (f = d.ROUTER_PARAMS) == null ? void 0 : f.tab,
1448
+ id: (c = d.ROUTER_PARAMS) == null ? void 0 : c.id
1449
+ };
1450
+ d.ROUTER_PARAMS = {
1451
+ ...d.ROUTER_PARAMS,
1452
+ ...r,
1453
+ prev: E
1454
+ };
1455
+ } else {
1456
+ r.debug || J.debug;
1457
+ const E = {
1458
+ page: J == null ? void 0 : J.page,
1459
+ module: J == null ? void 0 : J.module,
1460
+ tab: J == null ? void 0 : J.tab,
1461
+ id: J == null ? void 0 : J.id
1462
+ };
1463
+ d.ROUTER_PARAMS = { ...J, ...r, prev: E };
1464
+ }
1433
1465
  }
1434
1466
  function w() {
1435
- return Re().ROUTER_PARAMS || $t;
1467
+ return Se().ROUTER_PARAMS || J;
1436
1468
  }
1437
- function Se(r) {
1438
- const n = Re();
1469
+ function xe(r) {
1470
+ const n = Se();
1439
1471
  n.ROUTER_PARAMS ? n.ROUTER_PARAMS.LISTENER = {
1440
1472
  ...n.ROUTER_PARAMS.LISTENER,
1441
1473
  ...r
1442
1474
  } : n.ROUTER_PARAMS.LISTENER = { ...r };
1443
1475
  }
1444
- function oe() {
1445
- return Re().ROUTER_PARAMS.LISTENER || $t.LISTENER;
1476
+ function se() {
1477
+ return Se().ROUTER_PARAMS.LISTENER || J.LISTENER;
1446
1478
  }
1447
- var le;
1479
+ var ce;
1448
1480
  ((r) => {
1449
1481
  function n() {
1450
- var y;
1451
- let S = sessionStorage.getItem("f");
1452
- if (S) {
1453
- if (S = se.deCode(S), !S) return !1;
1454
- ne({
1455
- id: S.id,
1456
- tab: S.tab,
1457
- page: S.page,
1458
- module: S.module,
1459
- time: S.time,
1482
+ var g;
1483
+ let k = sessionStorage.getItem("f");
1484
+ if (k) {
1485
+ if (k = le.deCode(k), !k) return !1;
1486
+ ie({
1487
+ id: k.id,
1488
+ tab: k.tab,
1489
+ page: k.page,
1490
+ module: k.module,
1491
+ time: k.time,
1460
1492
  payment: { active: !0 },
1461
- module_admin: S.module_admin
1493
+ module_admin: k.module_admin
1462
1494
  });
1463
1495
  } else
1464
- ne({
1496
+ ie({
1465
1497
  id: 0,
1466
1498
  tab: "",
1467
- page: (y = localStorage.getItem("d")) != null && y.length ? w().page : w().auth,
1499
+ page: (g = localStorage.getItem("d")) != null && g.length ? w().page : w().auth,
1468
1500
  module: w().module
1469
1501
  });
1470
1502
  return !0;
1471
1503
  }
1472
- function i() {
1473
- re.id = 0, re.tab = "", re.page = w().page, re.module = w().module;
1504
+ function a() {
1505
+ ae.id = 0, ae.tab = "", ae.page = w().page, ae.module = w().module;
1474
1506
  }
1475
- r.Reset = i;
1507
+ r.Reset = a;
1476
1508
  function f({
1477
- module: y = w().module,
1478
- page: S = w().page,
1479
- auth: I = w().auth
1509
+ module: g = w().module,
1510
+ page: k = w().page,
1511
+ auth: P = w().auth,
1512
+ debug: D = w().debug
1480
1513
  }) {
1481
- ne({ page: S, module: y, auth: I }), n();
1514
+ ie({ page: k, module: g, auth: P, debug: D }), n();
1482
1515
  }
1483
1516
  r.Default = f;
1484
- function u(y) {
1485
- let S = (Y) => (ne({ page: Y }), Y);
1486
- const [I, F] = B.useState(
1487
- x() || y && S(y) || w().page
1517
+ function c(g) {
1518
+ let k = (Y) => (ie({ page: Y }), Y);
1519
+ const [P, D] = N.useState(
1520
+ E() || g && k(g) || w().page
1488
1521
  );
1489
- return Se({ page: (Y) => {
1490
- F(Y);
1491
- } }), I;
1522
+ return xe({ page: (Y) => {
1523
+ D(Y);
1524
+ } }), P;
1492
1525
  }
1493
- r.usePage = u;
1494
- function h(y, S = !0, I = {}) {
1495
- ne({ page: y, ...I }), sessionStorage.setItem(
1526
+ r.usePage = c;
1527
+ function d(g, k = !0, P = {}) {
1528
+ ie({ page: g, ...P }), sessionStorage.setItem(
1496
1529
  w().STORAGE,
1497
- se.enCode(w())
1498
- ), S && oe().page(y);
1530
+ le.enCode(w())
1531
+ ), k && se().page(g);
1499
1532
  }
1500
- r.setPage = h;
1501
- function x() {
1533
+ r.setPage = d;
1534
+ function E() {
1502
1535
  return w().page;
1503
1536
  }
1504
- r.getPage = x;
1505
- function R(y) {
1506
- return w().page === y;
1537
+ r.getPage = E;
1538
+ function R(g) {
1539
+ return w().page === g;
1507
1540
  }
1508
1541
  r.isPage = R;
1509
- function p(y, S) {
1510
- const [I, F] = B.useState(
1511
- m() || y || w().module
1542
+ function v() {
1543
+ return w().prev;
1544
+ }
1545
+ r.getBack = v;
1546
+ function A(g, k) {
1547
+ const [P, D] = N.useState(
1548
+ b() || g || w().module
1512
1549
  );
1513
- return Se({ module: F }), I;
1550
+ return xe({ module: D }), P;
1514
1551
  }
1515
- r.useModule = p;
1516
- function j(y, S = !0) {
1517
- ne({ module: y }), sessionStorage.setItem(
1552
+ r.useModule = A;
1553
+ function m(g, k = !0) {
1554
+ ie({ module: g }), sessionStorage.setItem(
1518
1555
  w().STORAGE,
1519
- se.enCode(w())
1520
- ), S && oe().module(y);
1556
+ le.enCode(w())
1557
+ ), k && se().module(g);
1521
1558
  }
1522
- r.setModule = j;
1523
- function m() {
1559
+ r.setModule = m;
1560
+ function b() {
1524
1561
  return w().module || "";
1525
1562
  }
1526
- r.getModule = m;
1527
- function b(y) {
1528
- return w().module === y;
1563
+ r.getModule = b;
1564
+ function S(g) {
1565
+ return w().module === g;
1529
1566
  }
1530
- r.isModule = b;
1531
- function k(y, S) {
1532
- if (typeof y != "function") {
1533
- const [I, F] = B.useState(!S), [Y, ae] = B.useState(y || A());
1534
- return Se({ tabs: ae }), S && B.useEffect(() => {
1535
- F(!0);
1536
- }, []), [Y, I];
1567
+ r.isModule = S;
1568
+ function M(g, k) {
1569
+ if (typeof g != "function") {
1570
+ const [P, D] = N.useState(!k), [Y, K] = N.useState(g || Ee());
1571
+ return xe({ tabs: K }), k && N.useEffect(() => {
1572
+ D(!0);
1573
+ }, []), [Y, P];
1537
1574
  } else
1538
- Se({ tabs: y });
1575
+ xe({ tabs: g });
1539
1576
  }
1540
- r.useTabs = k;
1541
- async function N(y, S = !0) {
1542
- ne({ tab: y }), sessionStorage.setItem(
1577
+ r.useTabs = M;
1578
+ async function I(g, k = !0) {
1579
+ ie({ tab: g }), sessionStorage.setItem(
1543
1580
  w().STORAGE,
1544
- se.enCode(w())
1545
- ), S && (oe().tabs && oe().tabs(y));
1581
+ le.enCode(w())
1582
+ ), k && (se().tabs && se().tabs(g));
1546
1583
  }
1547
- r.setTabs = N;
1548
- function A() {
1584
+ r.setTabs = I;
1585
+ function Ee() {
1549
1586
  return w().tab;
1550
1587
  }
1551
- r.getTabs = A;
1552
- function je(y) {
1553
- return w().tab === y;
1588
+ r.getTabs = Ee;
1589
+ function we(g) {
1590
+ return w().tab === g;
1554
1591
  }
1555
- r.isTabs = je;
1556
- function Oe(y) {
1557
- if (typeof y != "function") {
1558
- const [S, I] = B.useState(y || ke());
1559
- return Se({ id: (F) => {
1560
- I(F);
1561
- } }), S;
1592
+ r.isTabs = we;
1593
+ function F(g) {
1594
+ if (typeof g != "function") {
1595
+ const [k, P] = N.useState(g || ke());
1596
+ return xe({ id: (D) => {
1597
+ P(D);
1598
+ } }), k;
1562
1599
  } else
1563
- Se({ id: y });
1600
+ xe({ id: g });
1564
1601
  }
1565
- r.useId = Oe;
1566
- function M(y) {
1602
+ r.useId = F;
1603
+ function x(g) {
1567
1604
  }
1568
- r.subId = M;
1569
- async function E(y, S = !0) {
1570
- ne({ id: y }), sessionStorage.setItem(
1605
+ r.subId = x;
1606
+ async function Oe(g, k = !0) {
1607
+ ie({ id: g }), sessionStorage.setItem(
1571
1608
  w().STORAGE,
1572
- se.enCode(w())
1573
- ), S && oe().id(y);
1609
+ le.enCode(w())
1610
+ ), k && se().id(g);
1574
1611
  }
1575
- r.setId = E;
1612
+ r.setId = Oe;
1576
1613
  function ke() {
1577
1614
  return w().id;
1578
1615
  }
1579
1616
  r.getId = ke;
1580
- function Ce(y) {
1581
- return Number(w().id) === y;
1617
+ function Ce(g) {
1618
+ return Number(w().id) === g;
1582
1619
  }
1583
1620
  r.isId = Ce;
1584
- async function we(y) {
1585
- var S, I, F, Y, ae, ie, T, $;
1586
- const { page: D, module: H, tab: K, id: G } = y;
1587
- D !== void 0 && (re.page = D), H !== void 0 && (re.module = H), K !== void 0 && (re.tab = K), G !== void 0 && (re.id = G), ne({ ...re }), G !== void 0 && ((I = (S = oe()).id) == null || I.call(S, G)), K !== void 0 && ((Y = (F = oe()).tabs) == null || Y.call(F, K)), H !== void 0 && ((ie = (ae = oe()).module) == null || ie.call(ae, H)), D !== void 0 && (($ = (T = oe()).page) == null || $.call(T, D)), sessionStorage.setItem(
1621
+ async function Pe(g) {
1622
+ var k, P, D, Y, K, T, $, W;
1623
+ const { page: G, module: Z, tab: X, id: Q } = g;
1624
+ G !== void 0 && (ae.page = G), Z !== void 0 && (ae.module = Z), X !== void 0 && (ae.tab = X), Q !== void 0 && (ae.id = Q), ie({ ...ae }), Q !== void 0 && ((P = (k = se()).id) == null || P.call(k, Q)), X !== void 0 && ((Y = (D = se()).tabs) == null || Y.call(D, X)), Z !== void 0 && ((T = (K = se()).module) == null || T.call(K, Z)), G !== void 0 && ((W = ($ = se()).page) == null || W.call($, G)), sessionStorage.setItem(
1588
1625
  w().STORAGE,
1589
- se.enCode(w())
1626
+ le.enCode(w())
1590
1627
  );
1591
1628
  }
1592
- r.navigate = we;
1593
- })(le || (le = {}));
1594
- let ot = {};
1629
+ r.navigate = Pe;
1630
+ })(ce || (ce = {}));
1631
+ let at = {};
1595
1632
  function sr() {
1596
- const [r, n] = B.useState([]);
1597
- return ot.set = (i) => {
1598
- n([...r, i]);
1599
- }, ot.del = (i) => {
1600
- r.forEach((f, u) => {
1601
- f.key === i && r.splice(u, 1);
1633
+ const [r, n] = N.useState([]);
1634
+ return at.set = (a) => {
1635
+ n([...r, a]);
1636
+ }, at.del = (a) => {
1637
+ r.forEach((f, c) => {
1638
+ f.key === a && r.splice(c, 1);
1602
1639
  }), n(r);
1603
- }, r.length === 0 ? /* @__PURE__ */ s.jsx(s.Fragment, {}) : /* @__PURE__ */ s.jsx("div", { className: "notice", children: r.map((i) => i.item) });
1640
+ }, r.length === 0 ? /* @__PURE__ */ s.jsx(s.Fragment, {}) : /* @__PURE__ */ s.jsx("div", { className: "notice", children: r.map((a) => a.item) });
1604
1641
  }
1605
- function cr(r) {
1642
+ function lr(r) {
1606
1643
  let n = (/* @__PURE__ */ new Date()).getTime();
1607
- r.key = n, ot.set({ item: /* @__PURE__ */ s.jsx(lr, { data: r }, n), key: n });
1644
+ r.key = n, at.set({ item: /* @__PURE__ */ s.jsx(ur, { data: r }, n), key: n });
1608
1645
  }
1609
- function lr(r) {
1646
+ function ur(r) {
1610
1647
  const n = r.data;
1611
- let [i] = B.useState("show"), [f, u] = B.useState(!1);
1612
- B.useEffect(() => {
1648
+ let [a] = N.useState("show"), [f, c] = N.useState(!1);
1649
+ N.useEffect(() => {
1613
1650
  setTimeout(function() {
1614
- u(!0), ot.del(n.key);
1651
+ c(!0), at.del(n.key);
1615
1652
  }, 5e3);
1616
1653
  }, [n.key]);
1617
- let h;
1654
+ let d;
1618
1655
  switch (n.type) {
1619
1656
  case "error":
1620
- h = /* @__PURE__ */ s.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
1657
+ d = /* @__PURE__ */ s.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
1621
1658
  break;
1622
1659
  case "success":
1623
- h = /* @__PURE__ */ s.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
1660
+ d = /* @__PURE__ */ s.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
1624
1661
  break;
1625
1662
  case "warning":
1626
- h = /* @__PURE__ */ s.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
1663
+ d = /* @__PURE__ */ s.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
1627
1664
  break;
1628
1665
  default:
1629
- h = "icon fa fa-exclamation-circle";
1666
+ d = "icon fa fa-exclamation-circle";
1630
1667
  break;
1631
1668
  }
1632
1669
  return /* @__PURE__ */ s.jsx(s.Fragment, { children: f ? /* @__PURE__ */ s.jsx(s.Fragment, {}) : /* @__PURE__ */ s.jsxs(
1633
1670
  "div",
1634
1671
  {
1635
1672
  className: "item " + n.type + ` ${n.thema !== void 0 ? " thema" : ""}`,
1636
- "data-status": i,
1673
+ "data-status": a,
1637
1674
  children: [
1638
1675
  /* @__PURE__ */ s.jsx(
1639
1676
  "svg",
@@ -1645,7 +1682,7 @@ function lr(r) {
1645
1682
  width: "24",
1646
1683
  height: "24",
1647
1684
  viewBox: "0 0 24 24",
1648
- children: h
1685
+ children: d
1649
1686
  }
1650
1687
  ),
1651
1688
  /* @__PURE__ */ s.jsx("span", { className: "text", children: n.text })
@@ -1653,35 +1690,35 @@ function lr(r) {
1653
1690
  }
1654
1691
  ) });
1655
1692
  }
1656
- let be = {
1657
- Send: cr,
1693
+ let _e = {
1694
+ Send: lr,
1658
1695
  Init: sr
1659
- }, Qe = () => {
1696
+ }, et = () => {
1660
1697
  };
1661
1698
  const Ht = ({
1662
1699
  children: r,
1663
1700
  title: n,
1664
- isOverlay: i = !0,
1701
+ isOverlay: a = !0,
1665
1702
  footer: f = !0,
1666
- className: u,
1667
- onOpen: h
1703
+ className: c,
1704
+ onOpen: d
1668
1705
  }) => {
1669
- const [x, R] = B.useState(!1);
1670
- return Qe = () => {
1706
+ const [E, R] = N.useState(!1);
1707
+ return et = () => {
1671
1708
  R(!0), setTimeout(() => {
1672
- var p;
1673
- h == null || h(!1), (p = Ee == null ? void 0 : Ee.onClose) == null || p.call(Ee);
1709
+ var v;
1710
+ d == null || d(!1), (v = Ae == null ? void 0 : Ae.onClose) == null || v.call(Ae);
1674
1711
  }, 300);
1675
1712
  }, /* @__PURE__ */ s.jsx(
1676
1713
  "div",
1677
1714
  {
1678
- className: `footer-menu-overlay ${i ? "is-overlay" : ""} ${x ? "closing" : ""} `,
1679
- onClick: Qe,
1715
+ className: `footer-menu-overlay ${a ? "is-overlay" : ""} ${E ? "closing" : ""} `,
1716
+ onClick: et,
1680
1717
  children: /* @__PURE__ */ s.jsxs(
1681
1718
  "div",
1682
1719
  {
1683
- className: `footer-menu-popup-book ${x ? "closing" : ""} ${u || ""} ${f ? "footer" : ""}`,
1684
- onClick: (p) => p.stopPropagation(),
1720
+ className: `footer-menu-popup-book ${E ? "closing" : ""} ${c || ""} ${f ? "footer" : ""}`,
1721
+ onClick: (v) => v.stopPropagation(),
1685
1722
  children: [
1686
1723
  /* @__PURE__ */ s.jsxs("div", { className: "footer-menu-header", children: [
1687
1724
  /* @__PURE__ */ s.jsx("h3", { children: n }),
@@ -1689,7 +1726,7 @@ const Ht = ({
1689
1726
  "button",
1690
1727
  {
1691
1728
  className: "footer-menu-close-btn",
1692
- onClick: Qe,
1729
+ onClick: et,
1693
1730
  children: "✕"
1694
1731
  }
1695
1732
  )
@@ -1700,39 +1737,39 @@ const Ht = ({
1700
1737
  )
1701
1738
  }
1702
1739
  );
1703
- }, ur = "_h_1ryiq_1", fr = "_row_1ryiq_14", dr = "_column_1ryiq_17", Wt = {
1704
- h: ur,
1740
+ }, cr = "_h_1ryiq_1", fr = "_row_1ryiq_14", dr = "_column_1ryiq_17", Wt = {
1741
+ h: cr,
1705
1742
  row: fr,
1706
1743
  column: dr
1707
- }, Ee = [], Lt = (r, n) => r.findIndex((i) => (i == null ? void 0 : i.page) === n), Kt = ({
1744
+ }, Ae = [], Lt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Kt = ({
1708
1745
  actions: r,
1709
1746
  children: n,
1710
- className: i,
1747
+ className: a,
1711
1748
  toHide: f = !1,
1712
- page: u,
1713
- onPageChange: h,
1714
- direction: x = "row"
1749
+ page: c,
1750
+ onPageChange: d,
1751
+ direction: E = "row"
1715
1752
  }) => {
1716
- const [R, p] = B.useState(null), [j, m] = B.useState(
1717
- u ? Lt(r || [], u) : 0
1753
+ const [R, v] = N.useState(null), [A, m] = N.useState(
1754
+ c ? Lt(r || [], c) : 0
1718
1755
  );
1719
- return Ee.onClose = () => {
1720
- p(null), m(u ? Lt(r || [], u) : 0);
1721
- }, et(() => {
1756
+ return Ae.onClose = () => {
1757
+ v(null), m(c ? Lt(r || [], c) : 0);
1758
+ }, tt(() => {
1722
1759
  if (!f)
1723
1760
  return;
1724
- const b = document.querySelectorAll("[contenteditable]"), k = () => {
1725
- const A = document.querySelector("footer");
1726
- A && (A.style.display = "flex");
1727
- }, N = () => {
1728
- const A = document.querySelector("footer");
1729
- A && (A.style.display = "none");
1761
+ const b = document.querySelectorAll("[contenteditable]"), S = () => {
1762
+ const I = document.querySelector("footer");
1763
+ I && (I.style.display = "flex");
1764
+ }, M = () => {
1765
+ const I = document.querySelector("footer");
1766
+ I && (I.style.display = "none");
1730
1767
  };
1731
- return b.forEach((A) => {
1732
- A.addEventListener("focus", N, !0), A.addEventListener("blur", k, !0);
1768
+ return b.forEach((I) => {
1769
+ I.addEventListener("focus", M, !0), I.addEventListener("blur", S, !0);
1733
1770
  }), () => {
1734
- b.forEach((A) => {
1735
- A.removeEventListener("focus", N, !0), A.removeEventListener("blur", k, !0);
1771
+ b.forEach((I) => {
1772
+ I.removeEventListener("focus", M, !0), I.removeEventListener("blur", S, !0);
1736
1773
  });
1737
1774
  };
1738
1775
  }, []), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
@@ -1740,31 +1777,31 @@ const Ht = ({
1740
1777
  /* @__PURE__ */ s.jsxs(
1741
1778
  "footer",
1742
1779
  {
1743
- className: `${Wt.h} ${Wt[x]} ${i} `,
1780
+ className: `${Wt.h} ${Wt[E]} ${a} `,
1744
1781
  children: [
1745
1782
  n,
1746
- r && r.map((b, k) => /* @__PURE__ */ s.jsx(
1783
+ r && r.map((b, S) => /* @__PURE__ */ s.jsx(
1747
1784
  "div",
1748
1785
  {
1749
- "data-active": j === k ? "true" : "false",
1786
+ "data-active": A === S ? "true" : "false",
1750
1787
  onClick: () => {
1751
- b.page && (m(k), h == null || h(b.page)), b.callback && (b.callback(), m(k)), b.component && (j === k ? Qe() : (p(b.component), m(k)));
1788
+ b.page && (m(S), d == null || d(b.page)), b.callback && (b.callback(), m(S)), b.component && (A === S ? et() : (v(b.component), m(S)));
1752
1789
  },
1753
1790
  children: b.icon
1754
1791
  },
1755
- k
1792
+ S
1756
1793
  ))
1757
1794
  ]
1758
1795
  }
1759
1796
  )
1760
1797
  ] });
1761
- }, _e = {
1798
+ }, Re = {
1762
1799
  is: !1,
1763
1800
  MainButton: {},
1764
1801
  BackButton: {}
1765
1802
  };
1766
- let J = {};
1767
- J.dark = {
1803
+ let H = {};
1804
+ H.dark = {
1768
1805
  "--tg-theme-subtitle-text-color": "#98989e",
1769
1806
  "--tg-theme-destructive-text-color": "#e53935",
1770
1807
  "--tg-theme-section-separator-color": "#545458",
@@ -1781,7 +1818,7 @@ J.dark = {
1781
1818
  "--tg-theme-text-color": "#ffffff",
1782
1819
  "--tg-theme-section-bg-color": "#2c2c2e"
1783
1820
  };
1784
- J.light = {
1821
+ H.light = {
1785
1822
  "--tg-theme-subtitle-text-color": "#8e8e93",
1786
1823
  "--tg-theme-destructive-text-color": "#ff3b30",
1787
1824
  "--tg-theme-section-separator-color": "#c8c7cc",
@@ -1798,7 +1835,7 @@ J.light = {
1798
1835
  "--tg-theme-text-color": "#000000",
1799
1836
  "--tg-theme-section-bg-color": "#f8f8f8"
1800
1837
  };
1801
- J.users = {
1838
+ H.users = {
1802
1839
  "--tg-theme-bg-color": "#000000",
1803
1840
  "--tg-theme-text-color": "#ffffff",
1804
1841
  "--tg-theme-hint-color": "#98989e",
@@ -1809,52 +1846,52 @@ J.users = {
1809
1846
  };
1810
1847
  const pr = () => {
1811
1848
  if (location.hostname === "localhost") {
1812
- let [r, n] = ce(!1), [i, f] = ce(!1), [u, h] = ce("dark"), [x, R] = ce(!1), [p, j] = ce(!1);
1813
- _e.is = !0, _e.MainButton.set = n, _e.BackButton.set = f, et(() => {
1814
- J[u]["--tg-theme-bg-color-alpha"] = J[u]["--tg-theme-bg-color"] + "b3", J[u]["--tg-theme-secondary-bg-color-alpha"] = J[u]["--tg-theme-secondary-bg-color"] + "d3";
1815
- for (let k in J[u])
1849
+ let [r, n] = ue(!1), [a, f] = ue(!1), [c, d] = ue("dark"), [E, R] = ue(!1), [v, A] = ue(!1);
1850
+ Re.is = !0, Re.MainButton.set = n, Re.BackButton.set = f, tt(() => {
1851
+ H[c]["--tg-theme-bg-color-alpha"] = H[c]["--tg-theme-bg-color"] + "b3", H[c]["--tg-theme-secondary-bg-color-alpha"] = H[c]["--tg-theme-secondary-bg-color"] + "d3";
1852
+ for (let S in H[c])
1816
1853
  document.documentElement.style.setProperty(
1817
- k,
1818
- J[u][k]
1854
+ S,
1855
+ H[c][S]
1819
1856
  );
1820
- xe.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1857
+ je.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1821
1858
  "--tg-safe-area-inset-bottom",
1822
1859
  "16px"
1823
1860
  );
1824
1861
  }, []);
1825
- let m = (k) => {
1826
- for (let N in J[k])
1827
- document.documentElement.style.setProperty(N, J[k][N]);
1828
- h(k), R(!1);
1862
+ let m = (S) => {
1863
+ for (let M in H[S])
1864
+ document.documentElement.style.setProperty(M, H[S][M]);
1865
+ d(S), R(!1);
1829
1866
  }, b = () => {
1830
- R(!1), j(!0);
1867
+ R(!1), A(!0);
1831
1868
  };
1832
1869
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1833
1870
  /* @__PURE__ */ s.jsxs("header", { className: "debug", children: [
1834
- i === !1 ? /* @__PURE__ */ s.jsx("div", { className: "b", children: "Отмена" }) : /* @__PURE__ */ s.jsx(
1871
+ a === !1 ? /* @__PURE__ */ s.jsx("div", { className: "b", children: "Отмена" }) : /* @__PURE__ */ s.jsx(
1835
1872
  "div",
1836
1873
  {
1837
1874
  onClick: () => {
1838
- var k;
1839
- i.page === void 0 ? (k = i.callback) == null || k.call(i) : le.setPage(i.page);
1875
+ var S;
1876
+ a.page === void 0 ? (S = a.callback) == null || S.call(a) : ce.setPage(a.page);
1840
1877
  },
1841
1878
  className: "b",
1842
1879
  children: "Назад"
1843
1880
  }
1844
1881
  ),
1845
- /* @__PURE__ */ s.jsx("div", { className: "o", onClick: () => R(!x), children: "Меню" })
1882
+ /* @__PURE__ */ s.jsx("div", { className: "o", onClick: () => R(!E), children: "Меню" })
1846
1883
  ] }),
1847
- /* @__PURE__ */ s.jsx(be.Init, {}),
1884
+ /* @__PURE__ */ s.jsx(_e.Init, {}),
1848
1885
  r && /* @__PURE__ */ s.jsx("div", { className: "mb", children: /* @__PURE__ */ s.jsx(
1849
1886
  "button",
1850
1887
  {
1851
1888
  onClick: () => {
1852
- r.page && le.setPage(r.page), r.callback && r.callback();
1889
+ r.page && ce.setPage(r.page), r.callback && r.callback();
1853
1890
  },
1854
1891
  children: r.text
1855
1892
  }
1856
1893
  ) }),
1857
- x ? /* @__PURE__ */ s.jsxs("div", { className: "tm", children: [
1894
+ E ? /* @__PURE__ */ s.jsxs("div", { className: "tm", children: [
1858
1895
  /* @__PURE__ */ s.jsxs("ul", { children: [
1859
1896
  /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick: b, children: "Authorization" }) }),
1860
1897
  /* @__PURE__ */ s.jsx("li", {})
@@ -1886,85 +1923,85 @@ const pr = () => {
1886
1923
  ) })
1887
1924
  ] })
1888
1925
  ] }),
1889
- /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick: () => R(!x), children: "Closed" }) })
1926
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick: () => R(!E), children: "Closed" }) })
1890
1927
  ] })
1891
1928
  ] }) : "",
1892
- p ? /* @__PURE__ */ s.jsx(vr, { setAuthorization: j }) : ""
1929
+ v ? /* @__PURE__ */ s.jsx(vr, { setAuthorization: A }) : ""
1893
1930
  ] });
1894
1931
  } else
1895
- return et(() => {
1932
+ return tt(() => {
1896
1933
  document.documentElement.style.setProperty(
1897
1934
  "--tg-theme-secondary-bg-color-alpha",
1898
- xe.themeParams.secondary_bg_color + "d3"
1935
+ je.themeParams.secondary_bg_color + "d3"
1899
1936
  ), document.documentElement.style.setProperty(
1900
1937
  "--tg-theme-bg-color-alpha",
1901
- xe.themeParams.bg_color + "b3"
1902
- ), xe.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1938
+ je.themeParams.bg_color + "b3"
1939
+ ), je.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1903
1940
  "--tg-safe-area-inset-bottom",
1904
1941
  "16px"
1905
1942
  );
1906
- }, []), /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(be.Init, {}) });
1943
+ }, []), /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(_e.Init, {}) });
1907
1944
  }, vr = ({ setAuthorization: r }) => {
1908
- let n = {}, i = () => {
1945
+ let n = {}, a = () => {
1909
1946
  localStorage.setItem("auth", n);
1910
1947
  };
1911
1948
  return /* @__PURE__ */ s.jsx("div", { className: "ta", children: /* @__PURE__ */ s.jsxs("div", { className: "--body", children: [
1912
1949
  /* @__PURE__ */ s.jsx("fieldset", {}),
1913
- /* @__PURE__ */ s.jsx("div", { onClick: i, children: " Сохранить " })
1950
+ /* @__PURE__ */ s.jsx("div", { onClick: a, children: " Сохранить " })
1914
1951
  ] }) });
1915
- }, mr = "_p_12hh1_1", hr = "_s_12hh1_17", Ut = {
1916
- p: mr,
1917
- s: hr
1918
- }, yr = ({ className: r, children: n, isScroll: i = !0 }) => /* @__PURE__ */ s.jsx(
1952
+ }, hr = "_p_12hh1_1", mr = "_s_12hh1_17", Ut = {
1953
+ p: hr,
1954
+ s: mr
1955
+ }, gr = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ s.jsx(
1919
1956
  "div",
1920
1957
  {
1921
- className: [Ut.p, i && Ut.s, r].filter((f) => f !== void 0).join(" "),
1958
+ className: [Ut.p, a && Ut.s, r].filter((f) => f !== void 0).join(" "),
1922
1959
  children: n
1923
1960
  }
1924
- ), gr = "_l_gfyud_1", br = {
1925
- l: gr
1961
+ ), yr = "_l_gfyud_1", br = {
1962
+ l: yr
1926
1963
  }, _r = ({ children: r, className: n }) => /* @__PURE__ */ s.jsx(
1927
1964
  "div",
1928
1965
  {
1929
- className: [br.l, n].filter((i) => i !== void 0).join(" "),
1966
+ className: [br.l, n].filter((a) => a !== void 0).join(" "),
1930
1967
  children: r
1931
1968
  }
1932
- ), Rr = "_m_ppm7n_2", kr = "_g_ppm7n_10", Sr = "_i_ppm7n_18", Er = "_c_ppm7n_35", xr = "_l_ppm7n_42", jr = "_a_ppm7n_57", Or = "_n_ppm7n_62", ge = {
1969
+ ), Rr = "_m_ppm7n_2", Sr = "_g_ppm7n_10", Er = "_i_ppm7n_18", kr = "_c_ppm7n_35", xr = "_l_ppm7n_42", Ar = "_a_ppm7n_57", jr = "_n_ppm7n_62", be = {
1933
1970
  m: Rr,
1934
- g: kr,
1935
- i: Sr,
1936
- c: Er,
1971
+ g: Sr,
1972
+ i: Er,
1973
+ c: kr,
1937
1974
  l: xr,
1938
- a: jr,
1939
- n: Or
1940
- }, Cr = ({ items: r }) => {
1975
+ a: Ar,
1976
+ n: jr
1977
+ }, wr = ({ items: r }) => {
1941
1978
  const n = (f) => {
1942
- le.setPage(f);
1943
- }, i = (f) => {
1944
- xe.openTelegramLink(f);
1979
+ ce.setPage(f);
1980
+ }, a = (f) => {
1981
+ je.openTelegramLink(f);
1945
1982
  };
1946
- return /* @__PURE__ */ s.jsx("div", { className: ge.m, children: r.map((f) => /* @__PURE__ */ s.jsx("div", { className: ge.g, children: f.items.map((u, h) => /* @__PURE__ */ s.jsxs(
1983
+ return /* @__PURE__ */ s.jsx("div", { className: be.m, children: r.map((f) => /* @__PURE__ */ s.jsx("div", { className: be.g, children: f.items.map((c, d) => /* @__PURE__ */ s.jsxs(
1947
1984
  "div",
1948
1985
  {
1949
- className: ge.i,
1950
- onClick: () => u.link ? i(u.link) : n(u.page || ""),
1986
+ className: be.i,
1987
+ onClick: () => c.link ? a(c.link) : n(c.page || ""),
1951
1988
  children: [
1952
- /* @__PURE__ */ s.jsxs("div", { className: ge.c, children: [
1989
+ /* @__PURE__ */ s.jsxs("div", { className: be.c, children: [
1953
1990
  /* @__PURE__ */ s.jsx(
1954
1991
  "span",
1955
1992
  {
1956
- className: ge.l,
1957
- style: { background: u.color },
1958
- children: u.icon
1993
+ className: be.l,
1994
+ style: { background: c.color },
1995
+ children: c.icon
1959
1996
  }
1960
1997
  ),
1961
- u.title,
1962
- u.count && /* @__PURE__ */ s.jsx("span", { className: ge.n, children: u.count })
1998
+ c.title,
1999
+ c.count && /* @__PURE__ */ s.jsx("span", { className: be.n, children: c.count })
1963
2000
  ] }),
1964
- /* @__PURE__ */ s.jsx("span", { className: ge.a, children: "›" })
2001
+ /* @__PURE__ */ s.jsx("span", { className: be.a, children: "›" })
1965
2002
  ]
1966
2003
  },
1967
- h
2004
+ d
1968
2005
  )) }, f.id)) });
1969
2006
  }, L = {
1970
2007
  state: [!1],
@@ -1972,10 +2009,10 @@ const pr = () => {
1972
2009
  prev: {},
1973
2010
  router: (r) => {
1974
2011
  r === !1 ? (U.WebApp.BackButton.isVisible = !1, U.WebApp.BackButton.offClick(L.listen[0]), L.listen.shift(), L.state.length !== 1 && L.state.pop()) : (U.WebApp.BackButton.isVisible = !0, U.WebApp.BackButton.offClick(L.listen[0]), L.listen.shift(), L.listen.push(() => {
1975
- var i;
2012
+ var a;
1976
2013
  let n = L.state.pop();
1977
- L.prev = le.getPage(), n.page !== void 0 ? le.setPage(n.page) : (i = n.callback) == null || i.call(n);
1978
- }), xe.BackButton.onClick(L.listen[0]));
2014
+ L.prev = ce.getPage(), n.page !== void 0 ? ce.setPage(n.page) : (a = n.callback) == null || a.call(n);
2015
+ }), je.BackButton.onClick(L.listen[0]));
1979
2016
  }
1980
2017
  };
1981
2018
  var U;
@@ -1984,30 +2021,30 @@ var U;
1984
2021
  var n;
1985
2022
  return ((n = r.WebApp.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : r.WebApp.initDataUnsafe;
1986
2023
  }, r.Notice = {
1987
- Send: (n, i, f) => {
1988
- var u, h;
1989
- i !== void 0 ? (be.Send({ type: n, text: i, thema: f }), (u = r.WebApp.HapticFeedback) == null || u.notificationOccurred(n)) : (be.Send(n), (h = r.WebApp.HapticFeedback) == null || h.notificationOccurred(n.type));
2024
+ Send: (n, a, f) => {
2025
+ var c, d;
2026
+ a !== void 0 ? (_e.Send({ type: n, text: a, thema: f }), (c = r.WebApp.HapticFeedback) == null || c.notificationOccurred(n)) : (_e.Send(n), (d = r.WebApp.HapticFeedback) == null || d.notificationOccurred(n.type));
1990
2027
  },
1991
2028
  Error: (n) => {
1992
- var i;
1993
- be.Send({ type: "error", text: n }), (i = r.WebApp.HapticFeedback) == null || i.notificationOccurred("error");
2029
+ var a;
2030
+ _e.Send({ type: "error", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("error");
1994
2031
  },
1995
2032
  Success: (n) => {
1996
- var i;
1997
- be.Send({ type: "success", text: n }), (i = r.WebApp.HapticFeedback) == null || i.notificationOccurred("success");
2033
+ var a;
2034
+ _e.Send({ type: "success", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("success");
1998
2035
  },
1999
2036
  Warning: (n) => {
2000
- var i;
2001
- be.Send({ type: "warning", text: n }), (i = r.WebApp.HapticFeedback) == null || i.notificationOccurred("warning");
2037
+ var a;
2038
+ _e.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
2002
2039
  }
2003
- }, r.Header = pr, r.Footer = Kt, r.BottomSheet = Ht, r.toggleBottomSheet = Qe, r.SafeArea = yr, r.Loading = _r, r.Modal = It, r.Menu = Cr, r.MainButton = {
2040
+ }, r.Header = pr, r.Footer = Kt, r.BottomSheet = Ht, r.toggleBottomSheet = et, r.SafeArea = gr, r.Loading = _r, r.Modal = $t, r.Menu = wr, r.MainButton = {
2004
2041
  callback: [],
2005
2042
  set: (n) => {
2006
- _e.is ? _e.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((i) => {
2007
- r.WebApp.MainButton.offClick(i);
2043
+ Re.is ? Re.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
2044
+ r.WebApp.MainButton.offClick(a);
2008
2045
  }), r.WebApp.MainButton.callback = [], typeof n == "boolean" ? r.WebApp.MainButton.isVisible = !1 : (r.WebApp.MainButton.text = n.text, n.color && (r.WebApp.MainButton.color = n.color), n.textColor && (r.WebApp.MainButton.textColor = n.textColor), r.WebApp.MainButton.isVisible = !0, r.WebApp.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, r.WebApp.MainButton.callback.push(() => {
2009
- var i;
2010
- n.page === void 0 ? (i = n.callback) == null || i.call(n) : le.setPage(n.page);
2046
+ var a;
2047
+ n.page === void 0 ? (a = n.callback) == null || a.call(n) : ce.setPage(n.page);
2011
2048
  }), r.WebApp.MainButton.onClick(
2012
2049
  r.WebApp.MainButton.callback[0]
2013
2050
  )));
@@ -2015,23 +2052,23 @@ var U;
2015
2052
  }, r.BackButtonPrev = () => {
2016
2053
  L.prev && (0, r.BackButton)(L.prev);
2017
2054
  }, r.BackButton = (n) => {
2018
- _e.is ? _e.BackButton.set(n) : (L.state.push(n), L.router(n));
2055
+ Re.is ? Re.BackButton.set(n) : (L.state.push(n), L.router(n));
2019
2056
  };
2020
2057
  })(U || (U = {}));
2021
- const Pr = Kt, Ar = Ht, Tr = U.BackButton, Ir = U.Notice, $r = U.SafeArea, Nr = U.Loading, Br = U.Menu, { Header: Fr, toggleBottomSheet: Dr, Modal: Mr, MainButton: Wr, WebApp: xe, getUser: Lr } = U;
2058
+ const Cr = Kt, Pr = Ht, Tr = U.BackButton, Ir = U.Notice, $r = U.SafeArea, Mr = U.Loading, Nr = U.Menu, { Header: Dr, toggleBottomSheet: Fr, Modal: Br, MainButton: Wr, WebApp: je, getUser: Lr } = U;
2022
2059
  export {
2023
2060
  Tr as BackButton,
2024
- Ar as BottomSheet,
2025
- Pr as Footer,
2026
- Fr as Header,
2027
- Nr as Loading,
2061
+ Pr as BottomSheet,
2062
+ Cr as Footer,
2063
+ Dr as Header,
2064
+ Mr as Loading,
2028
2065
  Wr as MainButton,
2029
- Br as Menu,
2030
- Mr as Modal,
2066
+ Nr as Menu,
2067
+ Br as Modal,
2031
2068
  Ir as Notice,
2032
2069
  $r as SafeArea,
2033
- xe as WebApp,
2070
+ je as WebApp,
2034
2071
  U as default,
2035
2072
  Lr as getUser,
2036
- Dr as toggleBottomSheet
2073
+ Fr as toggleBottomSheet
2037
2074
  };