@elcrm/telegram 0.0.89 → 0.0.91

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