@elcrm/telegram 0.0.66 → 0.0.67

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