@elcrm/telegram 0.0.173 → 0.0.175

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