@elcrm/telegram 0.0.124 → 0.0.126

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