elcrm 0.3.7 → 0.3.8

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
1
  import './index.css';
2
- import k from "react";
3
- var je = { exports: {} }, te = {};
2
+ import S from "react";
3
+ var ye = { exports: {} }, te = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.min.js
@@ -10,20 +10,20 @@ var je = { exports: {} }, te = {};
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 Ge;
14
- function Nt() {
15
- if (Ge)
13
+ var Je;
14
+ function Ft() {
15
+ if (Je)
16
16
  return te;
17
- Ge = 1;
18
- var e = k, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ Je = 1;
18
+ var e = S, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
19
19
  function c(f, u, d) {
20
- var m, x = {}, y = null, I = null;
20
+ var p, x = {}, y = null, I = null;
21
21
  d !== void 0 && (y = "" + d), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (I = u.ref);
22
- for (m in u)
23
- s.call(u, m) && !h.hasOwnProperty(m) && (x[m] = u[m]);
22
+ for (p in u)
23
+ s.call(u, p) && !m.hasOwnProperty(p) && (x[p] = u[p]);
24
24
  if (f && f.defaultProps)
25
- for (m in u = f.defaultProps, u)
26
- x[m] === void 0 && (x[m] = u[m]);
25
+ for (p in u = f.defaultProps, u)
26
+ x[p] === void 0 && (x[p] = u[p]);
27
27
  return { $$typeof: r, type: f, key: y, ref: I, props: x, _owner: l.current };
28
28
  }
29
29
  return te.Fragment = n, te.jsx = c, te.jsxs = c, te;
@@ -38,51 +38,51 @@ var re = {};
38
38
  * This source code is licensed under the MIT license found in the
39
39
  * LICENSE file in the root directory of this source tree.
40
40
  */
41
- var Je;
42
- function Ot() {
43
- return Je || (Je = 1, process.env.NODE_ENV !== "production" && function() {
44
- var e = k, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), N = Symbol.iterator, X = "@@iterator";
45
- function O(t) {
41
+ var Ze;
42
+ function Mt() {
43
+ return Ze || (Ze = 1, process.env.NODE_ENV !== "production" && function() {
44
+ var e = S, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), O = Symbol.iterator, X = "@@iterator";
45
+ function N(t) {
46
46
  if (t === null || typeof t != "object")
47
47
  return null;
48
- var i = N && t[N] || t[X];
49
- return typeof i == "function" ? i : null;
48
+ var o = O && t[O] || t[X];
49
+ return typeof o == "function" ? o : null;
50
50
  }
51
51
  var T = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
52
  function R(t) {
53
53
  {
54
- for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
55
- o[p - 1] = arguments[p];
56
- F("error", t, o);
54
+ for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), v = 1; v < o; v++)
55
+ i[v - 1] = arguments[v];
56
+ F("error", t, i);
57
57
  }
58
58
  }
59
- function F(t, i, o) {
59
+ function F(t, o, i) {
60
60
  {
61
- var p = T.ReactDebugCurrentFrame, b = p.getStackAddendum();
62
- b !== "" && (i += "%s", o = o.concat([b]));
63
- var j = o.map(function(_) {
61
+ var v = T.ReactDebugCurrentFrame, b = v.getStackAddendum();
62
+ b !== "" && (o += "%s", i = i.concat([b]));
63
+ var j = i.map(function(_) {
64
64
  return String(_);
65
65
  });
66
- j.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, j);
66
+ j.unshift("Warning: " + o), Function.prototype.apply.call(console[t], console, j);
67
67
  }
68
68
  }
69
- var L = !1, W = !1, G = !1, se = !1, st = !1, Ce;
70
- Ce = Symbol.for("react.module.reference");
71
- function it(t) {
72
- return !!(typeof t == "string" || typeof t == "function" || t === s || t === h || st || t === l || t === d || t === m || se || t === I || L || W || G || typeof t == "object" && t !== null && (t.$$typeof === y || t.$$typeof === x || t.$$typeof === c || t.$$typeof === f || t.$$typeof === u || // This needs to include all possible module reference object
69
+ var L = !1, W = !1, G = !1, se = !1, it = !1, Ee;
70
+ Ee = Symbol.for("react.module.reference");
71
+ function ct(t) {
72
+ return !!(typeof t == "string" || typeof t == "function" || t === s || t === m || it || t === l || t === d || t === p || se || t === I || L || W || G || typeof t == "object" && t !== null && (t.$$typeof === y || t.$$typeof === x || t.$$typeof === c || t.$$typeof === f || t.$$typeof === u || // This needs to include all possible module reference object
73
73
  // types supported by any Flight configuration anywhere since
74
74
  // we don't know which Flight build this will end up being used
75
75
  // with.
76
- t.$$typeof === Ce || t.getModuleId !== void 0));
76
+ t.$$typeof === Ee || t.getModuleId !== void 0));
77
77
  }
78
- function ot(t, i, o) {
79
- var p = t.displayName;
80
- if (p)
81
- return p;
82
- var b = i.displayName || i.name || "";
83
- return b !== "" ? o + "(" + b + ")" : o;
78
+ function lt(t, o, i) {
79
+ var v = t.displayName;
80
+ if (v)
81
+ return v;
82
+ var b = o.displayName || o.name || "";
83
+ return b !== "" ? i + "(" + b + ")" : i;
84
84
  }
85
- function Ee(t) {
85
+ function ke(t) {
86
86
  return t.displayName || "Context";
87
87
  }
88
88
  function D(t) {
@@ -97,28 +97,28 @@ function Ot() {
97
97
  return "Fragment";
98
98
  case n:
99
99
  return "Portal";
100
- case h:
100
+ case m:
101
101
  return "Profiler";
102
102
  case l:
103
103
  return "StrictMode";
104
104
  case d:
105
105
  return "Suspense";
106
- case m:
106
+ case p:
107
107
  return "SuspenseList";
108
108
  }
109
109
  if (typeof t == "object")
110
110
  switch (t.$$typeof) {
111
111
  case f:
112
- var i = t;
113
- return Ee(i) + ".Consumer";
114
- case c:
115
112
  var o = t;
116
- return Ee(o._context) + ".Provider";
113
+ return ke(o) + ".Consumer";
114
+ case c:
115
+ var i = t;
116
+ return ke(i._context) + ".Provider";
117
117
  case u:
118
- return ot(t, t.render, "ForwardRef");
118
+ return lt(t, t.render, "ForwardRef");
119
119
  case x:
120
- var p = t.displayName || null;
121
- return p !== null ? p : D(t.type) || "Memo";
120
+ var v = t.displayName || null;
121
+ return v !== null ? v : D(t.type) || "Memo";
122
122
  case y: {
123
123
  var b = t, j = b._payload, _ = b._init;
124
124
  try {
@@ -130,14 +130,14 @@ function Ot() {
130
130
  }
131
131
  return null;
132
132
  }
133
- var V = Object.assign, Q = 0, ke, Re, we, Ie, Te, Pe, $e;
133
+ var U = Object.assign, Q = 0, Re, we, Ie, Te, Pe, $e, Oe;
134
134
  function Ne() {
135
135
  }
136
136
  Ne.__reactDisabledLog = !0;
137
- function ct() {
137
+ function ut() {
138
138
  {
139
139
  if (Q === 0) {
140
- ke = console.log, Re = console.info, we = console.warn, Ie = console.error, Te = console.group, Pe = console.groupCollapsed, $e = console.groupEnd;
140
+ Re = console.log, we = console.info, Ie = console.warn, Te = console.error, Pe = console.group, $e = console.groupCollapsed, Oe = console.groupEnd;
141
141
  var t = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
@@ -157,7 +157,7 @@ function Ot() {
157
157
  Q++;
158
158
  }
159
159
  }
160
- function lt() {
160
+ function ft() {
161
161
  {
162
162
  if (Q--, Q === 0) {
163
163
  var t = {
@@ -166,67 +166,67 @@ function Ot() {
166
166
  writable: !0
167
167
  };
168
168
  Object.defineProperties(console, {
169
- log: V({}, t, {
170
- value: ke
171
- }),
172
- info: V({}, t, {
169
+ log: U({}, t, {
173
170
  value: Re
174
171
  }),
175
- warn: V({}, t, {
172
+ info: U({}, t, {
176
173
  value: we
177
174
  }),
178
- error: V({}, t, {
175
+ warn: U({}, t, {
179
176
  value: Ie
180
177
  }),
181
- group: V({}, t, {
178
+ error: U({}, t, {
182
179
  value: Te
183
180
  }),
184
- groupCollapsed: V({}, t, {
181
+ group: U({}, t, {
185
182
  value: Pe
186
183
  }),
187
- groupEnd: V({}, t, {
184
+ groupCollapsed: U({}, t, {
188
185
  value: $e
186
+ }),
187
+ groupEnd: U({}, t, {
188
+ value: Oe
189
189
  })
190
190
  });
191
191
  }
192
192
  Q < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
193
  }
194
194
  }
195
- var me = T.ReactCurrentDispatcher, pe;
196
- function ie(t, i, o) {
195
+ var pe = T.ReactCurrentDispatcher, ve;
196
+ function oe(t, o, i) {
197
197
  {
198
- if (pe === void 0)
198
+ if (ve === void 0)
199
199
  try {
200
200
  throw Error();
201
201
  } catch (b) {
202
- var p = b.stack.trim().match(/\n( *(at )?)/);
203
- pe = p && p[1] || "";
202
+ var v = b.stack.trim().match(/\n( *(at )?)/);
203
+ ve = v && v[1] || "";
204
204
  }
205
205
  return `
206
- ` + pe + t;
206
+ ` + ve + t;
207
207
  }
208
208
  }
209
- var ve = !1, oe;
209
+ var he = !1, ie;
210
210
  {
211
- var ut = typeof WeakMap == "function" ? WeakMap : Map;
212
- oe = new ut();
211
+ var dt = typeof WeakMap == "function" ? WeakMap : Map;
212
+ ie = new dt();
213
213
  }
214
- function Oe(t, i) {
215
- if (!t || ve)
214
+ function Fe(t, o) {
215
+ if (!t || he)
216
216
  return "";
217
217
  {
218
- var o = oe.get(t);
219
- if (o !== void 0)
220
- return o;
218
+ var i = ie.get(t);
219
+ if (i !== void 0)
220
+ return i;
221
221
  }
222
- var p;
223
- ve = !0;
222
+ var v;
223
+ he = !0;
224
224
  var b = Error.prepareStackTrace;
225
225
  Error.prepareStackTrace = void 0;
226
226
  var j;
227
- j = me.current, me.current = null, ct();
227
+ j = pe.current, pe.current = null, ut();
228
228
  try {
229
- if (i) {
229
+ if (o) {
230
230
  var _ = function() {
231
231
  throw Error();
232
232
  };
@@ -238,14 +238,14 @@ function Ot() {
238
238
  try {
239
239
  Reflect.construct(_, []);
240
240
  } catch (A) {
241
- p = A;
241
+ v = A;
242
242
  }
243
243
  Reflect.construct(t, [], _);
244
244
  } else {
245
245
  try {
246
246
  _.call();
247
247
  } catch (A) {
248
- p = A;
248
+ v = A;
249
249
  }
250
250
  t.call(_.prototype);
251
251
  }
@@ -253,80 +253,80 @@ function Ot() {
253
253
  try {
254
254
  throw Error();
255
255
  } catch (A) {
256
- p = A;
256
+ v = A;
257
257
  }
258
258
  t();
259
259
  }
260
260
  } catch (A) {
261
- if (A && p && typeof A.stack == "string") {
261
+ if (A && v && typeof A.stack == "string") {
262
262
  for (var g = A.stack.split(`
263
- `), w = p.stack.split(`
264
- `), S = g.length - 1, E = w.length - 1; S >= 1 && E >= 0 && g[S] !== w[E]; )
265
- E--;
266
- for (; S >= 1 && E >= 0; S--, E--)
267
- if (g[S] !== w[E]) {
268
- if (S !== 1 || E !== 1)
263
+ `), w = v.stack.split(`
264
+ `), C = g.length - 1, k = w.length - 1; C >= 1 && k >= 0 && g[C] !== w[k]; )
265
+ k--;
266
+ for (; C >= 1 && k >= 0; C--, k--)
267
+ if (g[C] !== w[k]) {
268
+ if (C !== 1 || k !== 1)
269
269
  do
270
- if (S--, E--, E < 0 || g[S] !== w[E]) {
270
+ if (C--, k--, k < 0 || g[C] !== w[k]) {
271
271
  var $ = `
272
- ` + g[S].replace(" at new ", " at ");
273
- return t.displayName && $.includes("<anonymous>") && ($ = $.replace("<anonymous>", t.displayName)), typeof t == "function" && oe.set(t, $), $;
272
+ ` + g[C].replace(" at new ", " at ");
273
+ return t.displayName && $.includes("<anonymous>") && ($ = $.replace("<anonymous>", t.displayName)), typeof t == "function" && ie.set(t, $), $;
274
274
  }
275
- while (S >= 1 && E >= 0);
275
+ while (C >= 1 && k >= 0);
276
276
  break;
277
277
  }
278
278
  }
279
279
  } finally {
280
- ve = !1, me.current = j, lt(), Error.prepareStackTrace = b;
280
+ he = !1, pe.current = j, ft(), Error.prepareStackTrace = b;
281
281
  }
282
- var Z = t ? t.displayName || t.name : "", qe = Z ? ie(Z) : "";
283
- return typeof t == "function" && oe.set(t, qe), qe;
282
+ var Z = t ? t.displayName || t.name : "", Ge = Z ? oe(Z) : "";
283
+ return typeof t == "function" && ie.set(t, Ge), Ge;
284
284
  }
285
- function ft(t, i, o) {
286
- return Oe(t, !1);
285
+ function mt(t, o, i) {
286
+ return Fe(t, !1);
287
287
  }
288
- function dt(t) {
289
- var i = t.prototype;
290
- return !!(i && i.isReactComponent);
288
+ function pt(t) {
289
+ var o = t.prototype;
290
+ return !!(o && o.isReactComponent);
291
291
  }
292
- function ce(t, i, o) {
292
+ function ce(t, o, i) {
293
293
  if (t == null)
294
294
  return "";
295
295
  if (typeof t == "function")
296
- return Oe(t, dt(t));
296
+ return Fe(t, pt(t));
297
297
  if (typeof t == "string")
298
- return ie(t);
298
+ return oe(t);
299
299
  switch (t) {
300
300
  case d:
301
- return ie("Suspense");
302
- case m:
303
- return ie("SuspenseList");
301
+ return oe("Suspense");
302
+ case p:
303
+ return oe("SuspenseList");
304
304
  }
305
305
  if (typeof t == "object")
306
306
  switch (t.$$typeof) {
307
307
  case u:
308
- return ft(t.render);
308
+ return mt(t.render);
309
309
  case x:
310
- return ce(t.type, i, o);
310
+ return ce(t.type, o, i);
311
311
  case y: {
312
- var p = t, b = p._payload, j = p._init;
312
+ var v = t, b = v._payload, j = v._init;
313
313
  try {
314
- return ce(j(b), i, o);
314
+ return ce(j(b), o, i);
315
315
  } catch {
316
316
  }
317
317
  }
318
318
  }
319
319
  return "";
320
320
  }
321
- var le = Object.prototype.hasOwnProperty, Fe = {}, Me = T.ReactDebugCurrentFrame;
321
+ var le = Object.prototype.hasOwnProperty, Me = {}, De = T.ReactDebugCurrentFrame;
322
322
  function ue(t) {
323
323
  if (t) {
324
- var i = t._owner, o = ce(t.type, t._source, i ? i.type : null);
325
- Me.setExtraStackFrame(o);
324
+ var o = t._owner, i = ce(t.type, t._source, o ? o.type : null);
325
+ De.setExtraStackFrame(i);
326
326
  } else
327
- Me.setExtraStackFrame(null);
327
+ De.setExtraStackFrame(null);
328
328
  }
329
- function mt(t, i, o, p, b) {
329
+ function vt(t, o, i, v, b) {
330
330
  {
331
331
  var j = Function.call.bind(le);
332
332
  for (var _ in t)
@@ -334,100 +334,100 @@ function Ot() {
334
334
  var g = void 0;
335
335
  try {
336
336
  if (typeof t[_] != "function") {
337
- var w = Error((p || "React class") + ": " + o + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ var w = Error((v || "React class") + ": " + i + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
338
  throw w.name = "Invariant Violation", w;
339
339
  }
340
- g = t[_](i, _, p, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
- } catch (S) {
342
- g = S;
340
+ g = t[_](o, _, v, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ } catch (C) {
342
+ g = C;
343
343
  }
344
- g && !(g instanceof Error) && (ue(b), R("%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).", p || "React class", o, _, typeof g), ue(null)), g instanceof Error && !(g.message in Fe) && (Fe[g.message] = !0, ue(b), R("Failed %s type: %s", o, g.message), ue(null));
344
+ g && !(g instanceof Error) && (ue(b), R("%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).", v || "React class", i, _, typeof g), ue(null)), g instanceof Error && !(g.message in Me) && (Me[g.message] = !0, ue(b), R("Failed %s type: %s", i, g.message), ue(null));
345
345
  }
346
346
  }
347
347
  }
348
- var pt = Array.isArray;
349
- function he(t) {
350
- return pt(t);
348
+ var ht = Array.isArray;
349
+ function ge(t) {
350
+ return ht(t);
351
351
  }
352
- function vt(t) {
352
+ function gt(t) {
353
353
  {
354
- var i = typeof Symbol == "function" && Symbol.toStringTag, o = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
355
- return o;
354
+ var o = typeof Symbol == "function" && Symbol.toStringTag, i = o && t[Symbol.toStringTag] || t.constructor.name || "Object";
355
+ return i;
356
356
  }
357
357
  }
358
- function ht(t) {
358
+ function _t(t) {
359
359
  try {
360
- return De(t), !1;
360
+ return Ae(t), !1;
361
361
  } catch {
362
362
  return !0;
363
363
  }
364
364
  }
365
- function De(t) {
365
+ function Ae(t) {
366
366
  return "" + t;
367
367
  }
368
- function Ae(t) {
369
- if (ht(t))
370
- return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", vt(t)), De(t);
368
+ function Le(t) {
369
+ if (_t(t))
370
+ return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gt(t)), Ae(t);
371
371
  }
372
- var ee = T.ReactCurrentOwner, gt = {
372
+ var ee = T.ReactCurrentOwner, xt = {
373
373
  key: !0,
374
374
  ref: !0,
375
375
  __self: !0,
376
376
  __source: !0
377
- }, Le, ze, ge;
378
- ge = {};
379
- function _t(t) {
377
+ }, ze, Be, _e;
378
+ _e = {};
379
+ function bt(t) {
380
380
  if (le.call(t, "ref")) {
381
- var i = Object.getOwnPropertyDescriptor(t, "ref").get;
382
- if (i && i.isReactWarning)
381
+ var o = Object.getOwnPropertyDescriptor(t, "ref").get;
382
+ if (o && o.isReactWarning)
383
383
  return !1;
384
384
  }
385
385
  return t.ref !== void 0;
386
386
  }
387
- function xt(t) {
387
+ function jt(t) {
388
388
  if (le.call(t, "key")) {
389
- var i = Object.getOwnPropertyDescriptor(t, "key").get;
390
- if (i && i.isReactWarning)
389
+ var o = Object.getOwnPropertyDescriptor(t, "key").get;
390
+ if (o && o.isReactWarning)
391
391
  return !1;
392
392
  }
393
393
  return t.key !== void 0;
394
394
  }
395
- function bt(t, i) {
396
- if (typeof t.ref == "string" && ee.current && i && ee.current.stateNode !== i) {
397
- var o = D(ee.current.type);
398
- ge[o] || (R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(ee.current.type), t.ref), ge[o] = !0);
395
+ function yt(t, o) {
396
+ if (typeof t.ref == "string" && ee.current && o && ee.current.stateNode !== o) {
397
+ var i = D(ee.current.type);
398
+ _e[i] || (R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(ee.current.type), t.ref), _e[i] = !0);
399
399
  }
400
400
  }
401
- function jt(t, i) {
401
+ function St(t, o) {
402
402
  {
403
- var o = function() {
404
- Le || (Le = !0, R("%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)", i));
403
+ var i = function() {
404
+ ze || (ze = !0, R("%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));
405
405
  };
406
- o.isReactWarning = !0, Object.defineProperty(t, "key", {
407
- get: o,
406
+ i.isReactWarning = !0, Object.defineProperty(t, "key", {
407
+ get: i,
408
408
  configurable: !0
409
409
  });
410
410
  }
411
411
  }
412
- function yt(t, i) {
412
+ function Ct(t, o) {
413
413
  {
414
- var o = function() {
415
- ze || (ze = !0, R("%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)", i));
414
+ var i = function() {
415
+ Be || (Be = !0, R("%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));
416
416
  };
417
- o.isReactWarning = !0, Object.defineProperty(t, "ref", {
418
- get: o,
417
+ i.isReactWarning = !0, Object.defineProperty(t, "ref", {
418
+ get: i,
419
419
  configurable: !0
420
420
  });
421
421
  }
422
422
  }
423
- var St = function(t, i, o, p, b, j, _) {
423
+ var Et = function(t, o, i, v, b, j, _) {
424
424
  var g = {
425
425
  // This tag allows us to uniquely identify this as a React Element
426
426
  $$typeof: r,
427
427
  // Built-in properties that belong on the element
428
428
  type: t,
429
- key: i,
430
- ref: o,
429
+ key: o,
430
+ ref: i,
431
431
  props: _,
432
432
  // Record the component responsible for creating this element.
433
433
  _owner: j
@@ -441,7 +441,7 @@ function Ot() {
441
441
  configurable: !1,
442
442
  enumerable: !1,
443
443
  writable: !1,
444
- value: p
444
+ value: v
445
445
  }), Object.defineProperty(g, "_source", {
446
446
  configurable: !1,
447
447
  enumerable: !1,
@@ -449,41 +449,41 @@ function Ot() {
449
449
  value: b
450
450
  }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
451
451
  };
452
- function Ct(t, i, o, p, b) {
452
+ function kt(t, o, i, v, b) {
453
453
  {
454
454
  var j, _ = {}, g = null, w = null;
455
- o !== void 0 && (Ae(o), g = "" + o), xt(i) && (Ae(i.key), g = "" + i.key), _t(i) && (w = i.ref, bt(i, b));
456
- for (j in i)
457
- le.call(i, j) && !gt.hasOwnProperty(j) && (_[j] = i[j]);
455
+ i !== void 0 && (Le(i), g = "" + i), jt(o) && (Le(o.key), g = "" + o.key), bt(o) && (w = o.ref, yt(o, b));
456
+ for (j in o)
457
+ le.call(o, j) && !xt.hasOwnProperty(j) && (_[j] = o[j]);
458
458
  if (t && t.defaultProps) {
459
- var S = t.defaultProps;
460
- for (j in S)
461
- _[j] === void 0 && (_[j] = S[j]);
459
+ var C = t.defaultProps;
460
+ for (j in C)
461
+ _[j] === void 0 && (_[j] = C[j]);
462
462
  }
463
463
  if (g || w) {
464
- var E = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
465
- g && jt(_, E), w && yt(_, E);
464
+ var k = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
465
+ g && St(_, k), w && Ct(_, k);
466
466
  }
467
- return St(t, g, w, b, p, ee.current, _);
467
+ return Et(t, g, w, b, v, ee.current, _);
468
468
  }
469
469
  }
470
- var _e = T.ReactCurrentOwner, Ye = T.ReactDebugCurrentFrame;
470
+ var xe = T.ReactCurrentOwner, Ye = T.ReactDebugCurrentFrame;
471
471
  function J(t) {
472
472
  if (t) {
473
- var i = t._owner, o = ce(t.type, t._source, i ? i.type : null);
474
- Ye.setExtraStackFrame(o);
473
+ var o = t._owner, i = ce(t.type, t._source, o ? o.type : null);
474
+ Ye.setExtraStackFrame(i);
475
475
  } else
476
476
  Ye.setExtraStackFrame(null);
477
477
  }
478
- var xe;
479
- xe = !1;
480
- function be(t) {
478
+ var be;
479
+ be = !1;
480
+ function je(t) {
481
481
  return typeof t == "object" && t !== null && t.$$typeof === r;
482
482
  }
483
- function Be() {
483
+ function We() {
484
484
  {
485
- if (_e.current) {
486
- var t = D(_e.current.type);
485
+ if (xe.current) {
486
+ var t = D(xe.current.type);
487
487
  if (t)
488
488
  return `
489
489
 
@@ -492,184 +492,184 @@ Check the render method of \`` + t + "`.";
492
492
  return "";
493
493
  }
494
494
  }
495
- function Et(t) {
495
+ function Rt(t) {
496
496
  {
497
497
  if (t !== void 0) {
498
- var i = t.fileName.replace(/^.*[\\\/]/, ""), o = t.lineNumber;
498
+ var o = t.fileName.replace(/^.*[\\\/]/, ""), i = t.lineNumber;
499
499
  return `
500
500
 
501
- Check your code at ` + i + ":" + o + ".";
501
+ Check your code at ` + o + ":" + i + ".";
502
502
  }
503
503
  return "";
504
504
  }
505
505
  }
506
- var We = {};
507
- function kt(t) {
506
+ var Ue = {};
507
+ function wt(t) {
508
508
  {
509
- var i = Be();
510
- if (!i) {
511
- var o = typeof t == "string" ? t : t.displayName || t.name;
512
- o && (i = `
509
+ var o = We();
510
+ if (!o) {
511
+ var i = typeof t == "string" ? t : t.displayName || t.name;
512
+ i && (o = `
513
513
 
514
- Check the top-level render call using <` + o + ">.");
514
+ Check the top-level render call using <` + i + ">.");
515
515
  }
516
- return i;
516
+ return o;
517
517
  }
518
518
  }
519
- function Ve(t, i) {
519
+ function Ve(t, o) {
520
520
  {
521
521
  if (!t._store || t._store.validated || t.key != null)
522
522
  return;
523
523
  t._store.validated = !0;
524
- var o = kt(i);
525
- if (We[o])
524
+ var i = wt(o);
525
+ if (Ue[i])
526
526
  return;
527
- We[o] = !0;
528
- var p = "";
529
- t && t._owner && t._owner !== _e.current && (p = " It was passed a child from " + D(t._owner.type) + "."), J(t), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, p), J(null);
527
+ Ue[i] = !0;
528
+ var v = "";
529
+ t && t._owner && t._owner !== xe.current && (v = " It was passed a child from " + D(t._owner.type) + "."), J(t), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, v), J(null);
530
530
  }
531
531
  }
532
- function Ue(t, i) {
532
+ function He(t, o) {
533
533
  {
534
534
  if (typeof t != "object")
535
535
  return;
536
- if (he(t))
537
- for (var o = 0; o < t.length; o++) {
538
- var p = t[o];
539
- be(p) && Ve(p, i);
536
+ if (ge(t))
537
+ for (var i = 0; i < t.length; i++) {
538
+ var v = t[i];
539
+ je(v) && Ve(v, o);
540
540
  }
541
- else if (be(t))
541
+ else if (je(t))
542
542
  t._store && (t._store.validated = !0);
543
543
  else if (t) {
544
- var b = O(t);
544
+ var b = N(t);
545
545
  if (typeof b == "function" && b !== t.entries)
546
546
  for (var j = b.call(t), _; !(_ = j.next()).done; )
547
- be(_.value) && Ve(_.value, i);
547
+ je(_.value) && Ve(_.value, o);
548
548
  }
549
549
  }
550
550
  }
551
- function Rt(t) {
551
+ function It(t) {
552
552
  {
553
- var i = t.type;
554
- if (i == null || typeof i == "string")
553
+ var o = t.type;
554
+ if (o == null || typeof o == "string")
555
555
  return;
556
- var o;
557
- if (typeof i == "function")
558
- o = i.propTypes;
559
- else if (typeof i == "object" && (i.$$typeof === u || // Note: Memo only checks outer props here.
556
+ var i;
557
+ if (typeof o == "function")
558
+ i = o.propTypes;
559
+ else if (typeof o == "object" && (o.$$typeof === u || // Note: Memo only checks outer props here.
560
560
  // Inner props are checked in the reconciler.
561
- i.$$typeof === x))
562
- o = i.propTypes;
561
+ o.$$typeof === x))
562
+ i = o.propTypes;
563
563
  else
564
564
  return;
565
- if (o) {
566
- var p = D(i);
567
- mt(o, t.props, "prop", p, t);
568
- } else if (i.PropTypes !== void 0 && !xe) {
569
- xe = !0;
570
- var b = D(i);
565
+ if (i) {
566
+ var v = D(o);
567
+ vt(i, t.props, "prop", v, t);
568
+ } else if (o.PropTypes !== void 0 && !be) {
569
+ be = !0;
570
+ var b = D(o);
571
571
  R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
572
572
  }
573
- typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
573
+ typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
574
574
  }
575
575
  }
576
- function wt(t) {
576
+ function Tt(t) {
577
577
  {
578
- for (var i = Object.keys(t.props), o = 0; o < i.length; o++) {
579
- var p = i[o];
580
- if (p !== "children" && p !== "key") {
581
- J(t), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), J(null);
578
+ for (var o = Object.keys(t.props), i = 0; i < o.length; i++) {
579
+ var v = o[i];
580
+ if (v !== "children" && v !== "key") {
581
+ J(t), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), J(null);
582
582
  break;
583
583
  }
584
584
  }
585
585
  t.ref !== null && (J(t), R("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
586
586
  }
587
587
  }
588
- function He(t, i, o, p, b, j) {
588
+ function qe(t, o, i, v, b, j) {
589
589
  {
590
- var _ = it(t);
590
+ var _ = ct(t);
591
591
  if (!_) {
592
592
  var g = "";
593
593
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
594
- var w = Et(b);
595
- w ? g += w : g += Be();
596
- var S;
597
- t === null ? S = "null" : he(t) ? S = "array" : t !== void 0 && t.$$typeof === r ? (S = "<" + (D(t.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : S = typeof t, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, g);
594
+ var w = Rt(b);
595
+ w ? g += w : g += We();
596
+ var C;
597
+ t === null ? C = "null" : ge(t) ? C = "array" : t !== void 0 && t.$$typeof === r ? (C = "<" + (D(t.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : C = typeof t, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", C, g);
598
598
  }
599
- var E = Ct(t, i, o, b, j);
600
- if (E == null)
601
- return E;
599
+ var k = kt(t, o, i, b, j);
600
+ if (k == null)
601
+ return k;
602
602
  if (_) {
603
- var $ = i.children;
603
+ var $ = o.children;
604
604
  if ($ !== void 0)
605
- if (p)
606
- if (he($)) {
605
+ if (v)
606
+ if (ge($)) {
607
607
  for (var Z = 0; Z < $.length; Z++)
608
- Ue($[Z], t);
608
+ He($[Z], t);
609
609
  Object.freeze && Object.freeze($);
610
610
  } else
611
611
  R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
612
612
  else
613
- Ue($, t);
613
+ He($, t);
614
614
  }
615
- return t === s ? wt(E) : Rt(E), E;
615
+ return t === s ? Tt(k) : It(k), k;
616
616
  }
617
617
  }
618
- function It(t, i, o) {
619
- return He(t, i, o, !0);
618
+ function Pt(t, o, i) {
619
+ return qe(t, o, i, !0);
620
620
  }
621
- function Tt(t, i, o) {
622
- return He(t, i, o, !1);
621
+ function $t(t, o, i) {
622
+ return qe(t, o, i, !1);
623
623
  }
624
- var Pt = Tt, $t = It;
625
- re.Fragment = s, re.jsx = Pt, re.jsxs = $t;
624
+ var Ot = $t, Nt = Pt;
625
+ re.Fragment = s, re.jsx = Ot, re.jsxs = Nt;
626
626
  }()), re;
627
627
  }
628
- process.env.NODE_ENV === "production" ? je.exports = Nt() : je.exports = Ot();
629
- var a = je.exports;
630
- const Ft = "_notice_820sc_2", Mt = "_error_820sc_9", Dt = "_success_820sc_12", At = "_remark_820sc_15", Lt = "_copy_820sc_18", zt = {
631
- notice: Ft,
632
- error: Mt,
633
- success: Dt,
634
- remark: At,
635
- copy: Lt,
628
+ process.env.NODE_ENV === "production" ? ye.exports = Ft() : ye.exports = Mt();
629
+ var a = ye.exports;
630
+ const Dt = "_notice_820sc_2", At = "_error_820sc_9", Lt = "_success_820sc_12", zt = "_remark_820sc_15", Bt = "_copy_820sc_18", Yt = {
631
+ notice: Dt,
632
+ error: At,
633
+ success: Lt,
634
+ remark: zt,
635
+ copy: Bt,
636
636
  "show-notice": "_show-notice_820sc_1",
637
637
  "hide-notice": "_hide-notice_820sc_1"
638
638
  };
639
- let B = {};
640
- function Yt() {
641
- let [e, r] = k.useState([]);
642
- return B.set = (n) => {
639
+ let Y = {};
640
+ function Wt() {
641
+ let [e, r] = S.useState([]);
642
+ return Y.set = (n) => {
643
643
  r([...e, n]);
644
- }, B.del = (n) => {
644
+ }, Y.del = (n) => {
645
645
  r(e.filter((s) => s.key !== n));
646
- }, e.length === 0 ? "" : /* @__PURE__ */ a.jsx("ul", { className: zt.notice, children: e.map((n) => n.item) });
646
+ }, e.length === 0 ? "" : /* @__PURE__ */ a.jsx("ul", { className: Yt.notice, children: e.map((n) => n.item) });
647
647
  }
648
648
  function ae({ data: e }) {
649
- let [r, n] = k.useState("show");
650
- k.useEffect(() => {
649
+ let [r, n] = S.useState("show");
650
+ S.useEffect(() => {
651
651
  setTimeout(function() {
652
652
  n("hide");
653
653
  }, 1800), setTimeout(function() {
654
- B.del(e.key);
654
+ Y.del(e.key);
655
655
  }, 2500);
656
656
  }, [e.key]);
657
657
  let s, l;
658
658
  switch (e.type) {
659
659
  case "error":
660
- s = /* @__PURE__ */ a.jsx(U.error, {}), l = "Ошибка:";
660
+ s = /* @__PURE__ */ a.jsx(V.error, {}), l = "Ошибка:";
661
661
  break;
662
662
  case "success":
663
- s = /* @__PURE__ */ a.jsx(U.success, {}), l = "Информация:";
663
+ s = /* @__PURE__ */ a.jsx(V.success, {}), l = "Информация:";
664
664
  break;
665
665
  case "copy":
666
- s = /* @__PURE__ */ a.jsx(U.success, {}), l = "Копирование:";
666
+ s = /* @__PURE__ */ a.jsx(V.success, {}), l = "Копирование:";
667
667
  break;
668
668
  case "remark":
669
- s = /* @__PURE__ */ a.jsx(U.success, {}), l = "Подсказка:";
669
+ s = /* @__PURE__ */ a.jsx(V.success, {}), l = "Подсказка:";
670
670
  break;
671
671
  default:
672
- s = /* @__PURE__ */ a.jsx(U.success, {}), l = "Предупреждение:";
672
+ s = /* @__PURE__ */ a.jsx(V.success, {}), l = "Предупреждение:";
673
673
  break;
674
674
  }
675
675
  return /* @__PURE__ */ a.jsxs("li", { className: "item " + e.type, "data-status": r, children: [
@@ -678,28 +678,28 @@ function ae({ data: e }) {
678
678
  /* @__PURE__ */ a.jsx("p", { children: e.text })
679
679
  ] });
680
680
  }
681
- function Bt(e) {
681
+ function Ut(e) {
682
682
  let r = Date.now(), n = { key: r, ...e };
683
- B.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
683
+ Y.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
684
684
  }
685
- function Wt(e) {
685
+ function Vt(e) {
686
686
  let r = Date.now(), n = { key: r, text: e, type: "error" };
687
- B.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
687
+ Y.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
688
688
  }
689
- function Vt(e) {
689
+ function Ht(e) {
690
690
  let r = Date.now(), n = { key: r, text: e, type: "success" };
691
- B.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
691
+ Y.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
692
692
  }
693
- function Ut(e) {
693
+ function qt(e) {
694
694
  let r = Date.now(), n = { key: r, text: e, type: "remark" };
695
- B.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
695
+ Y.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
696
696
  }
697
- function Ht(e) {
697
+ function Gt(e) {
698
698
  let r = Date.now(), n = { key: r, text: e, type: "copy" };
699
- B.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
699
+ Y.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
700
700
  }
701
- const U = {};
702
- U.error = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
701
+ const V = {};
702
+ V.error = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
703
703
  /* @__PURE__ */ a.jsx(
704
704
  "path",
705
705
  {
@@ -715,7 +715,7 @@ U.error = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "non
715
715
  }
716
716
  )
717
717
  ] });
718
- U.success = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
718
+ V.success = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
719
719
  /* @__PURE__ */ a.jsx(
720
720
  "path",
721
721
  {
@@ -731,20 +731,20 @@ U.success = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "n
731
731
  }
732
732
  )
733
733
  ] });
734
- const qt = "_alerts_1e9y0_1", Gt = "_menuAnimation_1e9y0_1", Jt = "_menuItemAnimation_1e9y0_1", Zt = "_allert_1e9y0_111", Kt = {
735
- alerts: qt,
736
- menuAnimation: Gt,
737
- menuItemAnimation: Jt,
734
+ const Jt = "_alerts_1e9y0_1", Zt = "_menuAnimation_1e9y0_1", Kt = "_menuItemAnimation_1e9y0_1", Xt = "_allert_1e9y0_111", Qt = {
735
+ alerts: Jt,
736
+ menuAnimation: Zt,
737
+ menuItemAnimation: Kt,
738
738
  "--body": "_--body_1e9y0_103",
739
- allert: Zt,
739
+ allert: Xt,
740
740
  "--form": "_--form_1e9y0_111"
741
741
  };
742
742
  let ne = {};
743
- function Xt() {
744
- let [e, r] = k.useState("");
743
+ function er() {
744
+ let [e, r] = S.useState("");
745
745
  return ne.set = (n) => r(n), ne.del = () => r(""), /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
746
746
  }
747
- const Qt = ({ data: e, callback: r }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: Kt.alerts, children: [
747
+ const tr = ({ data: e, callback: r }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: Qt.alerts, children: [
748
748
  /* @__PURE__ */ a.jsxs("dl", { children: [
749
749
  /* @__PURE__ */ a.jsx("dt", { children: e.title }),
750
750
  /* @__PURE__ */ a.jsx("dd", { children: e.text }),
@@ -761,75 +761,75 @@ const Qt = ({ data: e, callback: r }) => (e.button = e.button === void 0 ? "По
761
761
  ] }),
762
762
  /* @__PURE__ */ a.jsx("div", { className: "--body", onClick: ne.del })
763
763
  ] }));
764
- function er(e, r) {
765
- ne.set(/* @__PURE__ */ a.jsx(Qt, { data: e, callback: r }));
764
+ function rr(e, r) {
765
+ ne.set(/* @__PURE__ */ a.jsx(tr, { data: e, callback: r }));
766
766
  }
767
- function tr({ children: e }) {
767
+ function nr({ children: e }) {
768
768
  return /* @__PURE__ */ a.jsx("div", { className: "l", children: /* @__PURE__ */ a.jsx("ul", { children: e }) });
769
769
  }
770
- function rr({ children: e }) {
770
+ function ar({ children: e }) {
771
771
  return /* @__PURE__ */ a.jsx("div", { className: "s", children: e });
772
772
  }
773
- const nr = ({
773
+ const sr = ({
774
774
  children: e,
775
775
  disabled: r,
776
776
  label: n,
777
777
  onClick: s
778
778
  }) => {
779
- const l = (h) => {
780
- r || s && s(h);
779
+ const l = (m) => {
780
+ r || s && s(m);
781
781
  };
782
782
  return /* @__PURE__ */ a.jsx("button", { disabled: r, onClick: l, children: n });
783
- }, ar = "_white_1iomo_14", sr = "_black_1iomo_26", ir = "_shake_1iomo_1", or = "_modal_1iomo_73", cr = "_o_1iomo_83", lr = "_w_1iomo_14", ur = "_h_1iomo_106", fr = "_l_1iomo_120", dr = "_t_1iomo_158", mr = "_m_1iomo_73", pr = "_x_1iomo_166", vr = "_s_1iomo_176", hr = "_c_1iomo_181", gr = "_f_1iomo_186", _r = "_btn_1iomo_229", xr = "_g_1iomo_242", br = "_confirm_1iomo_320", jr = "_cancel_1iomo_325", yr = "_disabled_1iomo_330", Sr = "_active_1iomo_387", Cr = "_coincidence_1iomo_393", z = {
784
- white: ar,
785
- black: sr,
786
- shake: ir,
787
- modal: or,
788
- o: cr,
789
- w: lr,
790
- h: ur,
791
- l: fr,
792
- t: dr,
793
- m: mr,
794
- x: pr,
795
- s: vr,
796
- c: hr,
797
- f: gr,
798
- btn: _r,
799
- g: xr,
783
+ }, or = "_white_1iomo_14", ir = "_black_1iomo_26", cr = "_shake_1iomo_1", lr = "_modal_1iomo_73", ur = "_o_1iomo_83", fr = "_w_1iomo_14", dr = "_h_1iomo_106", mr = "_l_1iomo_120", pr = "_t_1iomo_158", vr = "_m_1iomo_73", hr = "_x_1iomo_166", gr = "_s_1iomo_176", _r = "_c_1iomo_181", xr = "_f_1iomo_186", br = "_btn_1iomo_229", jr = "_g_1iomo_242", yr = "_confirm_1iomo_320", Sr = "_cancel_1iomo_325", Cr = "_disabled_1iomo_330", Er = "_active_1iomo_387", kr = "_coincidence_1iomo_393", z = {
784
+ white: or,
785
+ black: ir,
786
+ shake: cr,
787
+ modal: lr,
788
+ o: ur,
789
+ w: fr,
790
+ h: dr,
791
+ l: mr,
792
+ t: pr,
793
+ m: vr,
794
+ x: hr,
795
+ s: gr,
796
+ c: _r,
797
+ f: xr,
798
+ btn: br,
799
+ g: jr,
800
800
  "size-a": "_size-a_1iomo_294",
801
801
  "size-s": "_size-s_1iomo_298",
802
802
  "size-m": "_size-m_1iomo_302",
803
803
  "size-l": "_size-l_1iomo_306",
804
804
  "size-x": "_size-x_1iomo_310",
805
805
  "size-f": "_size-f_1iomo_314",
806
- confirm: br,
807
- cancel: jr,
808
- disabled: yr,
806
+ confirm: yr,
807
+ cancel: Sr,
808
+ disabled: Cr,
809
809
  await: "_await_1iomo_337",
810
- active: Sr,
811
- coincidence: Cr
810
+ active: Er,
811
+ coincidence: kr
812
812
  };
813
813
  let K = {};
814
- const Er = ({ config: e }) => {
815
- let [r, n] = k.useState([]);
814
+ const Rr = ({ config: e }) => {
815
+ let [r, n] = S.useState([]);
816
816
  return K.x = () => {
817
817
  n([]);
818
818
  }, K.config = e, K.add = (s) => {
819
819
  n([...r, s]);
820
820
  }, /* @__PURE__ */ a.jsx(a.Fragment, { children: r.map((s) => s) });
821
- }, kr = ({
821
+ }, wr = ({
822
822
  children: e,
823
823
  title: r,
824
824
  button: n,
825
825
  tabs: s,
826
826
  size: l = "m",
827
- menu: h
827
+ menu: m
828
828
  }) => {
829
- const [c, f] = k.useState(!0), u = k.useRef(), d = (x) => {
829
+ const [c, f] = S.useState(!0), u = S.useRef(), d = (x) => {
830
830
  if (n && n.onClick)
831
831
  return n.onClick({ closed: f, disabled: x });
832
- }, m = () => {
832
+ }, p = () => {
833
833
  u.current.setAttribute("shake", !0), setTimeout(() => {
834
834
  u.current.setAttribute("shake", !1);
835
835
  }, 1e3);
@@ -839,7 +839,7 @@ const Er = ({ config: e }) => {
839
839
  {
840
840
  className: `${z.modal} ${z.white}`,
841
841
  children: [
842
- /* @__PURE__ */ a.jsx("div", { className: z.o, onClick: m }),
842
+ /* @__PURE__ */ a.jsx("div", { className: z.o, onClick: p }),
843
843
  /* @__PURE__ */ a.jsxs("div", { className: z.w, ref: u, children: [
844
844
  /* @__PURE__ */ a.jsxs("div", { className: z.h, children: [
845
845
  /* @__PURE__ */ a.jsx("div", { className: z.t, children: r }),
@@ -853,7 +853,7 @@ const Er = ({ config: e }) => {
853
853
  },
854
854
  y
855
855
  )) }),
856
- h
856
+ m
857
857
  ] }),
858
858
  /* @__PURE__ */ a.jsx(
859
859
  "div",
@@ -868,7 +868,7 @@ const Er = ({ config: e }) => {
868
868
  ] }),
869
869
  e,
870
870
  n !== void 0 ? /* @__PURE__ */ a.jsx(
871
- nr,
871
+ sr,
872
872
  {
873
873
  label: String(n.name),
874
874
  onClick: d
@@ -878,22 +878,22 @@ const Er = ({ config: e }) => {
878
878
  ]
879
879
  }
880
880
  ) : "" });
881
- }, Rr = (e) => {
882
- K.add(/* @__PURE__ */ a.jsx(wr, { children: e }, String(Date.now())));
883
- }, wr = ({ children: e }) => /* @__PURE__ */ a.jsx(a.Fragment, { children: e }), Ir = ({ type: e, name: r, params: n }) => {
884
- let [s, l] = k.useState(null);
885
- return k.useEffect(() => {
881
+ }, Ir = (e) => {
882
+ K.add(/* @__PURE__ */ a.jsx(Tr, { children: e }, String(Date.now())));
883
+ }, Tr = ({ children: e }) => /* @__PURE__ */ a.jsx(a.Fragment, { children: e }), Pr = ({ type: e, name: r, params: n }) => {
884
+ let [s, l] = S.useState(null);
885
+ return S.useEffect(() => {
886
886
  K.config(e, r, n, l);
887
887
  }, [n.id]), /* @__PURE__ */ a.jsx(a.Fragment, { children: s });
888
- }, Tr = (e, r, n) => {
888
+ }, $r = (e, r, n) => {
889
889
  K.config(e, r, n);
890
- }, Pr = { List: tr, Scroll: rr, Init: Er, Main: kr, Add: Rr, Icon: Ir, Open: Tr };
891
- let C = {};
892
- const v = {}, P = {}, Ze = {}, et = {}, H = {};
893
- function $r(e, r) {
894
- if (C = e, localStorage.getItem("ssid")) {
890
+ }, Or = { List: nr, Scroll: ar, Init: Rr, Main: wr, Add: Ir, Icon: Pr, Open: $r };
891
+ let E = {};
892
+ const h = {}, P = {}, Ke = {}, tt = {}, H = {};
893
+ function Nr(e, r) {
894
+ if (E = e, localStorage.getItem("ssid")) {
895
895
  let s = sessionStorage.getItem("page");
896
- s ? (s = C.deCode(s), v.id = s.id, v.tab = s.tab, v.page = s.page, v.module = s.module, v.time = s.time, v.payment = { active: !0 }, v.module_admin = s.module_admin) : (v.id = 0, v.tab = "", v.page = "Main", v.module = v.module || "M05");
896
+ s ? (s = E.deCode(s), h.id = s.id, h.tab = s.tab, h.page = s.page, h.module = s.module, h.time = s.time, h.payment = { active: !0 }, h.module_admin = s.module_admin) : (h.id = 0, h.tab = "", h.page = "Main", h.module = h.module || "M05");
897
897
  } else
898
898
  [
899
899
  "ssid",
@@ -908,7 +908,7 @@ function $r(e, r) {
908
908
  "port",
909
909
  "mark",
910
910
  "sort"
911
- ].forEach((s) => localStorage.removeItem(s)), ["page"].forEach((s) => sessionStorage.removeItem(s)), v.id = 0, v.tab = "", v.page = "Auth", v.module = "M00";
911
+ ].forEach((s) => localStorage.removeItem(s)), ["page"].forEach((s) => sessionStorage.removeItem(s)), h.id = 0, h.tab = "", h.page = "Auth", h.module = "M00";
912
912
  return r;
913
913
  }
914
914
  function M() {
@@ -927,202 +927,202 @@ function M() {
927
927
  "sort"
928
928
  ].forEach((e) => localStorage.removeItem(e)), ["page"].forEach((e) => sessionStorage.removeItem(e)), window.location.reload();
929
929
  }
930
- function Nr(e) {
931
- e = e.split("/"), v.page = "Main", v.module = e[0], v.tab = e[1], v.id = 0, sessionStorage.setItem(
930
+ function Fr(e) {
931
+ e = e.split("/"), h.page = "Main", h.module = e[0], h.tab = e[1], h.id = 0, sessionStorage.setItem(
932
932
  "page",
933
- C.enCode({
934
- module: v.module,
935
- page: v.page,
936
- tab: v.tab,
937
- id: v.id,
933
+ E.enCode({
934
+ module: h.module,
935
+ page: h.page,
936
+ tab: h.tab,
937
+ id: h.id,
938
938
  time: (/* @__PURE__ */ new Date()).getTime()
939
939
  })
940
- ), P.page(v.page);
940
+ ), P.page(h.page);
941
941
  }
942
- function Or(e) {
942
+ function Mr(e) {
943
943
  return localStorage.setItem("ssid", e);
944
944
  }
945
- function Fr() {
945
+ function Dr() {
946
946
  let e = localStorage.getItem("ssid");
947
947
  return e !== "" && e !== "undefined" && e !== null ? localStorage.getItem("ssid") : (M(), !1);
948
948
  }
949
- function Mr(e) {
949
+ function Ar(e) {
950
950
  return localStorage.setItem("auth", e);
951
951
  }
952
- function Dr() {
952
+ function Lr() {
953
953
  let e = localStorage.getItem("auth");
954
954
  return e !== "" && e !== "undefined" && e !== null ? e : (M(), !1);
955
955
  }
956
- function Ar(e) {
957
- localStorage.setItem("port", C.enCode(e));
956
+ function zr(e) {
957
+ localStorage.setItem("port", E.enCode(e));
958
958
  }
959
- function Lr() {
959
+ function Br() {
960
960
  let e = localStorage.getItem("port");
961
961
  if (e !== "" && e !== "undefined" && e !== null) {
962
- let r = C.deCode(e);
962
+ let r = E.deCode(e);
963
963
  return r || M(), r;
964
964
  } else
965
965
  return M(), !1;
966
966
  }
967
- function zr() {
968
- const [e, r] = k.useState(tt()), n = (s) => {
967
+ function Yr() {
968
+ const [e, r] = S.useState(rt()), n = (s) => {
969
969
  r(s);
970
970
  };
971
971
  return P.page = n, [e];
972
972
  }
973
- function Yr(e) {
974
- v.page = e, sessionStorage.setItem("page", C.enCode(v)), P.page(e);
973
+ function Wr(e) {
974
+ h.page = e, sessionStorage.setItem("page", E.enCode(h)), P.page(e);
975
975
  }
976
- function tt() {
977
- return v.page;
976
+ function rt() {
977
+ return h.page;
978
978
  }
979
- function Br() {
980
- const [e, r] = k.useState(rt()), n = (s) => {
979
+ function Ur() {
980
+ const [e, r] = S.useState(nt()), n = (s) => {
981
981
  r(s);
982
982
  };
983
983
  return P.module = n, [e];
984
984
  }
985
- function Wr(e, r) {
986
- v.module = e, sessionStorage.setItem("page", C.enCode(v)), r !== "false" && P.module(e);
985
+ function Vr(e, r) {
986
+ h.module = e, sessionStorage.setItem("page", E.enCode(h)), r !== "false" && P.module(e);
987
987
  }
988
- function rt() {
989
- return v.module;
988
+ function nt() {
989
+ return h.module;
990
990
  }
991
- function Vr(e) {
992
- const [r, n] = k.useState(fe() || e), s = (l) => {
991
+ function Hr(e) {
992
+ const [r, n] = S.useState(de() || e), s = (l) => {
993
993
  n(l);
994
994
  };
995
995
  return P.tabs = s, [r];
996
996
  }
997
- function Ur(e, r) {
998
- v.tab = e, sessionStorage.setItem("page", C.enCode(v)), r !== "false" && P.tabs(e);
997
+ function qr(e, r) {
998
+ h.tab = e, sessionStorage.setItem("page", E.enCode(h)), r !== "false" && P.tabs(e);
999
999
  }
1000
- function fe() {
1001
- return v.tab;
1000
+ function de() {
1001
+ return h.tab;
1002
1002
  }
1003
- function Hr() {
1004
- const [e, r] = k.useState(v.id), n = (s) => {
1003
+ function Gr() {
1004
+ const [e, r] = S.useState(h.id), n = (s) => {
1005
1005
  r(s);
1006
1006
  };
1007
1007
  return P.id = n, [e];
1008
1008
  }
1009
- function qr(e) {
1009
+ function Jr(e) {
1010
1010
  P.id = e;
1011
1011
  }
1012
- function Gr(e, r) {
1013
- v.id = e, sessionStorage.setItem("page", C.enCode(v)), r !== "false" && P.id(e);
1012
+ function Zr(e, r) {
1013
+ h.id = e, sessionStorage.setItem("page", E.enCode(h)), r !== "false" && P.id(e);
1014
1014
  }
1015
- function Jr() {
1016
- return v.id;
1015
+ function Kr() {
1016
+ return h.id;
1017
1017
  }
1018
- function Zr(e, r, n) {
1019
- v.module = e, v.id = n, v.tab = r, sessionStorage.setItem("page", C.enCode(v)), P.module(e), P.tabs(r);
1018
+ function Xr(e, r, n) {
1019
+ h.module = e, h.id = n, h.tab = r, sessionStorage.setItem("page", E.enCode(h)), P.module(e), P.tabs(r);
1020
1020
  }
1021
- function Kr(e, r) {
1022
- Ze.data[e] = r, localStorage.setItem("sett", C.enCode(Ze.data));
1021
+ function Qr(e, r) {
1022
+ Ke.data[e] = r, localStorage.setItem("sett", E.enCode(Ke.data));
1023
1023
  }
1024
- function Xr(e) {
1024
+ function en(e) {
1025
1025
  let r = localStorage.getItem("sett");
1026
- return r === null ? {} : (r = C.deCode(r), r ? e !== void 0 ? r[e] : r : M());
1026
+ return r === null ? {} : (r = E.deCode(r), r ? e !== void 0 ? r[e] : r : M());
1027
1027
  }
1028
- function Qr(e) {
1029
- localStorage.setItem("menu", C.enCode({ data: e }));
1028
+ function tn(e) {
1029
+ localStorage.setItem("menu", E.enCode({ data: e }));
1030
1030
  }
1031
- function en() {
1031
+ function rn() {
1032
1032
  let e = localStorage.getItem("menu");
1033
1033
  if (e !== "" && e !== "undefined" && e !== null) {
1034
- let r = localStorage.getItem("menu"), n = C.deCode(r);
1034
+ let r = localStorage.getItem("menu"), n = E.deCode(r);
1035
1035
  n || M();
1036
- const s = (h, c) => {
1036
+ const s = (m, c) => {
1037
1037
  let f = c + "";
1038
- for (; f.length < h; )
1038
+ for (; f.length < m; )
1039
1039
  f = "0" + f;
1040
1040
  return f;
1041
1041
  };
1042
- return n.data.split(",").map((h) => "M" + s(2, h));
1042
+ return n.data.split(",").map((m) => "M" + s(2, m));
1043
1043
  } else
1044
1044
  return M(), !1;
1045
1045
  }
1046
- function tn(e) {
1046
+ function nn(e) {
1047
1047
  P.sort = e;
1048
1048
  }
1049
- function nt(e) {
1049
+ function at(e) {
1050
1050
  let r = localStorage.getItem("sort");
1051
- r = r === null ? {} : C.deCode(r), r[fe()] = e, localStorage.setItem("sort", C.enCode(r));
1051
+ r = r === null ? {} : E.deCode(r), r[de()] = e, localStorage.setItem("sort", E.enCode(r));
1052
1052
  }
1053
- function ye() {
1053
+ function Se() {
1054
1054
  let e = localStorage.getItem("sort");
1055
- return e === null ? {} : (e = C.deCode(e), e = e[fe()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
1055
+ return e === null ? {} : (e = E.deCode(e), e = e[de()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
1056
1056
  }
1057
- function rn(e) {
1058
- localStorage.setItem("c", C.enCode(e));
1057
+ function an(e) {
1058
+ localStorage.setItem("c", E.enCode(e));
1059
1059
  }
1060
- function nn(e) {
1060
+ function sn(e) {
1061
1061
  let r = localStorage.getItem("c");
1062
1062
  if (r !== "" && r !== "undefined" && r !== null) {
1063
- let n = C.deCode(r);
1063
+ let n = E.deCode(r);
1064
1064
  return n || M(), e === void 0 ? n : n[e];
1065
1065
  } else
1066
1066
  return M(), !1;
1067
1067
  }
1068
- function an(e) {
1069
- H.data = e, localStorage.setItem("qder", C.enCode(H.data));
1068
+ function on(e) {
1069
+ H.data = e, localStorage.setItem("qder", E.enCode(H.data));
1070
1070
  }
1071
- function sn(e, r) {
1071
+ function cn(e, r) {
1072
1072
  if (!H.data) {
1073
1073
  let n = localStorage.getItem("qder");
1074
- n && (H.data = C.deCode(n));
1074
+ n && (H.data = E.deCode(n));
1075
1075
  }
1076
1076
  return e === void 0 && r === void 0 ? H.data : e !== void 0 && r === void 0 ? H.data[e] : H.data[e][r];
1077
1077
  }
1078
- function on(e) {
1079
- et.data = e;
1078
+ function ln(e) {
1079
+ tt.data = e;
1080
1080
  }
1081
- function cn(e) {
1082
- return et.data[e];
1081
+ function un(e) {
1082
+ return tt.data[e];
1083
1083
  }
1084
- function ln(e) {
1085
- v.payment = e;
1084
+ function fn(e) {
1085
+ h.payment = e;
1086
1086
  }
1087
- function un() {
1088
- return v.payment;
1087
+ function dn() {
1088
+ return h.payment;
1089
1089
  }
1090
- const fn = ({ children: e, config: r, crypto: n, ...s }) => $r(n, /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1091
- /* @__PURE__ */ a.jsx(Pr.Init, { config: r.modal }),
1092
- /* @__PURE__ */ a.jsx(Yt, {}),
1093
- /* @__PURE__ */ a.jsx(Xt, {}),
1090
+ const mn = ({ children: e, config: r, crypto: n, ...s }) => Nr(n, /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1091
+ /* @__PURE__ */ a.jsx(Or.Init, { config: r.modal }),
1092
+ /* @__PURE__ */ a.jsx(Wt, {}),
1093
+ /* @__PURE__ */ a.jsx(er, {}),
1094
1094
  e
1095
- ] })), dn = ({ children: e, ...r }) => /* @__PURE__ */ a.jsx("menu", { children: e }), mn = ({ children: e, ...r }) => /* @__PURE__ */ a.jsxs("header", { children: [
1095
+ ] })), pn = ({ children: e, ...r }) => /* @__PURE__ */ a.jsx("menu", { children: e }), vn = ({ children: e, ...r }) => /* @__PURE__ */ a.jsxs("header", { children: [
1096
1096
  "xz",
1097
1097
  e
1098
- ] }), pn = "_payment_1lxfv_1", vn = {
1099
- payment: pn
1098
+ ] }), hn = "_payment_1lxfv_1", gn = {
1099
+ payment: hn
1100
1100
  };
1101
- function hn() {
1102
- let [e, r] = k.useState({});
1103
- return !e.active && !e.payment ? "" : /* @__PURE__ */ a.jsx("div", { className: vn.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
1101
+ function _n() {
1102
+ let [e, r] = S.useState({});
1103
+ return !e.active && !e.payment ? "" : /* @__PURE__ */ a.jsx("div", { className: gn.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
1104
1104
  }
1105
- const ha = ({ children: e, ...r }) => {
1105
+ const ba = ({ children: e, ...r }) => {
1106
1106
  let n = {};
1107
1107
  return n.enCode = (s) => JSON.stringify(s).toString(), n.deCode = (s) => JSON.parse(s), /* @__PURE__ */ a.jsxs("div", { className: "app", children: [
1108
- /* @__PURE__ */ a.jsx(hn, {}),
1109
- /* @__PURE__ */ a.jsx(dn, {}),
1110
- /* @__PURE__ */ a.jsx(mn, {}),
1111
- /* @__PURE__ */ a.jsx(fn, { config: { modal: {} }, crypto: n }),
1108
+ /* @__PURE__ */ a.jsx(_n, {}),
1109
+ /* @__PURE__ */ a.jsx(pn, {}),
1110
+ /* @__PURE__ */ a.jsx(vn, {}),
1111
+ /* @__PURE__ */ a.jsx(mn, { config: { modal: {} }, crypto: n }),
1112
1112
  e
1113
1113
  ] });
1114
- }, gn = ({ list: e, onClick: r, active: n, size: s, view: l }) => /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [s, l].join(" "), children: e.map((h) => /* @__PURE__ */ a.jsx(
1115
- _n,
1114
+ }, xn = ({ list: e, onClick: r, active: n, size: s, view: l }) => /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [s, l].join(" "), children: e.map((m) => /* @__PURE__ */ a.jsx(
1115
+ bn,
1116
1116
  {
1117
1117
  onClick: r,
1118
1118
  active: n,
1119
- label: h.label,
1120
- link: h.link
1119
+ label: m.label,
1120
+ link: m.link
1121
1121
  },
1122
- h.link
1123
- )) }) }), _n = ({ onClick: e, label: r, link: n, active: s }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: r });
1124
- gn.defaultProps = { size: "M", view: "H" };
1125
- const xn = ({
1122
+ m.link
1123
+ )) }) }), bn = ({ onClick: e, label: r, link: n, active: s }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: r });
1124
+ xn.defaultProps = { size: "M", view: "H" };
1125
+ const jn = ({
1126
1126
  title: e = "",
1127
1127
  button: r,
1128
1128
  description: n = "",
@@ -1142,10 +1142,10 @@ const xn = ({
1142
1142
  ] }),
1143
1143
  /* @__PURE__ */ a.jsx("ul", { children: s }),
1144
1144
  n && /* @__PURE__ */ a.jsx("article", { children: n })
1145
- ] }), bn = "_setting_1r0pc_2", jn = {
1146
- setting: bn
1147
- }, yn = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: jn.setting, children: e }), Sn = ({ label: e, children: r }) => {
1148
- let [n, s] = k.useState(!1);
1145
+ ] }), yn = "_setting_1r0pc_2", Sn = {
1146
+ setting: yn
1147
+ }, Cn = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: Sn.setting, children: e }), En = ({ label: e, children: r }) => {
1148
+ let [n, s] = S.useState(!1);
1149
1149
  return /* @__PURE__ */ a.jsxs("li", { "data-item": "accordion", children: [
1150
1150
  /* @__PURE__ */ a.jsxs("dl", { onClick: () => s(!n), children: [
1151
1151
  /* @__PURE__ */ a.jsx("dt", { children: e }),
@@ -1153,10 +1153,10 @@ const xn = ({
1153
1153
  ] }),
1154
1154
  n && /* @__PURE__ */ a.jsx("div", { children: r })
1155
1155
  ] });
1156
- }, Cn = ({ label: e, onClick: r, button: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1156
+ }, kn = ({ label: e, onClick: r, button: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1157
1157
  /* @__PURE__ */ a.jsx("dt", { children: e }),
1158
1158
  /* @__PURE__ */ a.jsx("dd", { role: "button", onClick: () => r(), children: n })
1159
- ] }) }), En = ({ active: e, onClick: r }) => (console.log(e), e = typeof e == "number" ? !!e : e, /* @__PURE__ */ a.jsx(
1159
+ ] }) }), Rn = ({ active: e, onClick: r }) => (console.log(e), e = typeof e == "number" ? !!e : e, /* @__PURE__ */ a.jsx(
1160
1160
  "div",
1161
1161
  {
1162
1162
  role: "switch",
@@ -1165,52 +1165,52 @@ const xn = ({
1165
1165
  },
1166
1166
  "aria-checked": e ? "true" : "false"
1167
1167
  }
1168
- )), kn = { Switch: En }, Rn = ({ label: e, onClick: r, active: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1168
+ )), wn = { Switch: Rn }, In = ({ label: e, onClick: r, active: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1169
1169
  /* @__PURE__ */ a.jsx("dt", { children: e }),
1170
- /* @__PURE__ */ a.jsx("dd", { children: /* @__PURE__ */ a.jsx(kn.Switch, { onClick: r, active: n }) })
1171
- ] }) }), wn = ({ label: e, active: r, options: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1170
+ /* @__PURE__ */ a.jsx("dd", { children: /* @__PURE__ */ a.jsx(wn.Switch, { onClick: r, active: n }) })
1171
+ ] }) }), Tn = ({ label: e, active: r, options: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1172
1172
  /* @__PURE__ */ a.jsx("dt", { children: e }),
1173
1173
  /* @__PURE__ */ a.jsx("dd", { role: "info", children: r })
1174
- ] }) }), In = ({ label: e, info: r }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1174
+ ] }) }), Pn = ({ label: e, info: r }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1175
1175
  /* @__PURE__ */ a.jsx("dt", { children: e }),
1176
1176
  /* @__PURE__ */ a.jsx("dd", { role: "info", children: r })
1177
- ] }) }), Tn = ({ label: e, children: r }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1177
+ ] }) }), $n = ({ label: e, children: r }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1178
1178
  /* @__PURE__ */ a.jsx("dt", { children: e }),
1179
1179
  /* @__PURE__ */ a.jsx("dd", { children: r })
1180
- ] }) }), Pn = ({ label: e, children: r }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1180
+ ] }) }), On = ({ label: e, children: r }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1181
1181
  /* @__PURE__ */ a.jsx("dt", { children: e }),
1182
1182
  /* @__PURE__ */ a.jsx("dd", { children: r })
1183
- ] }) }), $n = { Accordion: Sn, Button: Cn, Switch: Rn, Info: In, Select: wn, Component: Tn, Node: Pn };
1184
- function at({ list: e, onClick: r, active: n, size: s, view: l }) {
1185
- return /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [s, l].join(" "), children: e.map((h) => /* @__PURE__ */ a.jsx(
1186
- Nn,
1183
+ ] }) }), Nn = { Accordion: En, Button: kn, Switch: In, Info: Pn, Select: Tn, Component: $n, Node: On };
1184
+ function st({ list: e, onClick: r, active: n, size: s, view: l }) {
1185
+ return /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [s, l].join(" "), children: e.map((m) => /* @__PURE__ */ a.jsx(
1186
+ Fn,
1187
1187
  {
1188
1188
  onClick: r,
1189
1189
  active: n,
1190
- label: h.label,
1191
- link: h.link
1190
+ label: m.label,
1191
+ link: m.link
1192
1192
  },
1193
- h.link
1193
+ m.link
1194
1194
  )) }) });
1195
1195
  }
1196
- const Nn = ({ onClick: e, label: r, link: n, active: s }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: r });
1197
- at.defaultProps = { size: "M", view: "H" };
1198
- const ga = { Section: xn, Main: yn, Item: $n, Tabs: at }, On = "_h_158b4_1", Fn = "_t_158b4_11", Mn = "_s_158b4_31", Dn = "_u_158b4_40", An = "_o_158b4_47", Ln = "_l_158b4_56", zn = "_hh_158b4_63", q = {
1199
- h: On,
1200
- t: Fn,
1201
- s: Mn,
1202
- u: Dn,
1203
- o: An,
1204
- l: Ln,
1205
- hh: zn
1206
- }, Ke = ({ title: e, children: r }) => /* @__PURE__ */ a.jsxs("div", { className: q.h, children: [
1196
+ const Fn = ({ onClick: e, label: r, link: n, active: s }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: r });
1197
+ st.defaultProps = { size: "M", view: "H" };
1198
+ const ja = { Section: jn, Main: Cn, Item: Nn, Tabs: st }, Mn = "_h_158b4_1", Dn = "_t_158b4_11", An = "_s_158b4_31", Ln = "_u_158b4_40", zn = "_o_158b4_47", Bn = "_l_158b4_56", Yn = "_hh_158b4_63", q = {
1199
+ h: Mn,
1200
+ t: Dn,
1201
+ s: An,
1202
+ u: Ln,
1203
+ o: zn,
1204
+ l: Bn,
1205
+ hh: Yn
1206
+ }, Xe = ({ title: e, children: r }) => /* @__PURE__ */ a.jsxs("div", { className: q.h, children: [
1207
1207
  /* @__PURE__ */ a.jsx("div", { className: q.t, children: e }),
1208
1208
  r
1209
- ] }), Yn = ({ children: e, title: r }) => /* @__PURE__ */ a.jsxs("div", { className: q.o, children: [
1209
+ ] }), Wn = ({ children: e, title: r }) => /* @__PURE__ */ a.jsxs("div", { className: q.o, children: [
1210
1210
  r && /* @__PURE__ */ a.jsx("div", { className: q.hh, children: r }),
1211
1211
  e
1212
- ] }), Bn = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: q.u, children: e }), Xe = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: q.s, children: e }), Qe = ({ children: e, ...r }) => /* @__PURE__ */ a.jsx("div", { className: q.l, children: e }), _a = { Header: Ke, Section: Xe, List: Qe, U: Bn, L: Qe, O: Yn, S: Xe, H: Ke }, xa = { Send: Bt, Error: Wt, Remark: Ut, Success: Vt, Copy: Ht }, ba = { Send: er };
1213
- function Wn() {
1212
+ ] }), Un = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: q.u, children: e }), Qe = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: q.s, children: e }), et = ({ children: e, ...r }) => /* @__PURE__ */ a.jsx("div", { className: q.l, children: e }), ya = { Header: Xe, Section: Qe, List: et, U: Un, L: et, O: Wn, S: Qe, H: Xe }, Sa = { Send: Ut, Error: Vt, Remark: qt, Success: Ht, Copy: Gt }, Ca = { Send: rr };
1213
+ function Vn() {
1214
1214
  return /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ a.jsx(
1215
1215
  "path",
1216
1216
  {
@@ -1219,39 +1219,39 @@ function Wn() {
1219
1219
  }
1220
1220
  ) });
1221
1221
  }
1222
- const ja = { Logo: Wn }, ya = {
1223
- setSSID: Or,
1224
- getSSID: Fr,
1225
- getPORT: Lr,
1226
- setPORT: Ar,
1227
- setAUTH: Mr,
1228
- getAUTH: Dr,
1222
+ const Ea = { Logo: Vn }, ka = {
1223
+ setSSID: Mr,
1224
+ getSSID: Dr,
1225
+ getPORT: Br,
1226
+ setPORT: zr,
1227
+ setAUTH: Ar,
1228
+ getAUTH: Lr,
1229
1229
  Logaut: M,
1230
- Start: Nr,
1231
- setSetting: Kr,
1232
- getSetting: Xr,
1233
- setMenu: Qr,
1234
- getMenu: en,
1235
- useSort: tn,
1236
- setSort: nt,
1237
- getSort: ye,
1238
- setCompany: rn,
1239
- getCompany: nn,
1240
- setSelect: an,
1241
- getSelect: sn,
1242
- setApi: on,
1243
- getApi: cn,
1244
- setPayment: ln,
1245
- getPayment: un
1246
- }, Sa = { Path: Zr, setPage: Yr, getPage: tt, usePage: zr, setModule: Wr, getModule: rt, useModule: Br, setTabs: Ur, getTabs: fe, useTabs: Vr, useId: Hr, setId: Gr, subId: qr, getId: Jr }, Vn = "_sort_1yrvt_1", Un = {
1247
- sort: Vn
1230
+ Start: Fr,
1231
+ setSetting: Qr,
1232
+ getSetting: en,
1233
+ setMenu: tn,
1234
+ getMenu: rn,
1235
+ useSort: nn,
1236
+ setSort: at,
1237
+ getSort: Se,
1238
+ setCompany: an,
1239
+ getCompany: sn,
1240
+ setSelect: on,
1241
+ getSelect: cn,
1242
+ setApi: ln,
1243
+ getApi: un,
1244
+ setPayment: fn,
1245
+ getPayment: dn
1246
+ }, Ra = { Path: Xr, setPage: Wr, getPage: rt, usePage: Yr, setModule: Vr, getModule: nt, useModule: Ur, setTabs: qr, getTabs: de, useTabs: Hr, useId: Gr, setId: Zr, subId: Jr, getId: Kr }, Hn = "_sort_1yrvt_1", qn = {
1247
+ sort: Hn
1248
1248
  };
1249
- let de = {};
1250
- function Hn(e, r) {
1249
+ let me = {};
1250
+ function Gn(e, r) {
1251
1251
  switch (r.type) {
1252
1252
  case "active":
1253
1253
  let n = "<";
1254
- return e.active === r.data && (n = e.sort === "<" ? ">" : "<"), de.get({ active: r.data, sort: n }, !1), nt({ active: r.data, sort: n }), {
1254
+ return e.active === r.data && (n = e.sort === "<" ? ">" : "<"), me.get({ active: r.data, sort: n }, !1), at({ active: r.data, sort: n }), {
1255
1255
  ...e,
1256
1256
  active: r.data,
1257
1257
  sort: n
@@ -1260,12 +1260,12 @@ function Hn(e, r) {
1260
1260
  throw new Error();
1261
1261
  }
1262
1262
  }
1263
- function qn() {
1264
- const [e, r] = k.useReducer(
1265
- Hn,
1266
- ye() === void 0 ? { active: 1, sort: "<" } : ye()
1263
+ function Jn() {
1264
+ const [e, r] = S.useReducer(
1265
+ Gn,
1266
+ Se() === void 0 ? { active: 1, sort: "<" } : Se()
1267
1267
  );
1268
- return /* @__PURE__ */ a.jsxs("div", { className: Un.sort, children: [
1268
+ return /* @__PURE__ */ a.jsxs("div", { className: qn.sort, children: [
1269
1269
  /* @__PURE__ */ a.jsx(
1270
1270
  "i",
1271
1271
  {
@@ -1292,17 +1292,17 @@ function qn() {
1292
1292
  )
1293
1293
  ] });
1294
1294
  }
1295
- function Gn(e) {
1296
- de.get = e;
1295
+ function Zn(e) {
1296
+ me.get = e;
1297
1297
  }
1298
- function Jn(e) {
1299
- de.set(e);
1298
+ function Kn(e) {
1299
+ me.set(e);
1300
1300
  }
1301
- function Zn(e, r, n) {
1302
- let s = 1, l = 0, h = {}, c = 50;
1303
- h[s] = [];
1301
+ function Xn(e, r, n) {
1302
+ let s = 1, l = 0, m = {}, c = 50;
1303
+ m[s] = [];
1304
1304
  let f = {}, u = "s1a";
1305
- switch (f.s1a = (d, m) => m.s1 - d.s1, f.s1d = (d, m) => d.s1 - m.s1, f.s2a = (d, m) => d.s2 - m.s2, f.s2d = (d, m) => m.s2 - d.s2, f.s3a = (d, m) => d.s3.localeCompare(m.s3), f.s3d = (d, m) => m.s3.localeCompare(d.s3), n.active) {
1305
+ switch (f.s1a = (d, p) => p.s1 - d.s1, f.s1d = (d, p) => d.s1 - p.s1, f.s2a = (d, p) => d.s2 - p.s2, f.s2d = (d, p) => p.s2 - d.s2, f.s3a = (d, p) => d.s3.localeCompare(p.s3), f.s3d = (d, p) => p.s3.localeCompare(d.s3), n.active) {
1306
1306
  case 1:
1307
1307
  u = n.sort === ">" ? "s1d" : "s1a";
1308
1308
  break;
@@ -1314,14 +1314,14 @@ function Zn(e, r, n) {
1314
1314
  break;
1315
1315
  }
1316
1316
  return r.sort(f[u]).forEach((d) => {
1317
- l++, l <= c || (s++, l = 1, h[s] = []), h[s].push(e[d.id]);
1318
- }), { data: h };
1317
+ l++, l <= c || (s++, l = 1, m[s] = []), m[s].push(e[d.id]);
1318
+ }), { data: m };
1319
1319
  }
1320
- function Kn(e) {
1321
- de.count(e);
1320
+ function Qn(e) {
1321
+ me.count(e);
1322
1322
  }
1323
- const Ca = { Init: qn, useValue: Gn, Set: Jn, Run: Zn, Count: Kn };
1324
- function Xn(e, r) {
1323
+ const wa = { Init: Jn, useValue: Zn, Set: Kn, Run: Xn, Count: Qn };
1324
+ function ea(e, r) {
1325
1325
  r === void 0 ? (r = e, e = /* @__PURE__ */ new Date()) : e = new Date(e);
1326
1326
  let n = {
1327
1327
  yyyy: e.getFullYear(),
@@ -1338,11 +1338,11 @@ function Xn(e, r) {
1338
1338
  r = r.replace(s, n[s]);
1339
1339
  return r;
1340
1340
  }
1341
- function Qn(e) {
1341
+ function ta(e) {
1342
1342
  let r = ["Января", "Февраля", "Марта", "Апреля", "Мая", "Июня", "Июля", "Августа", "Сентября", "Октября", "Ноября", "Декабря"], n = new Date(e);
1343
1343
  return { day: ("" + n.getFullYear()).slice(-2) + "" + ("0" + (n.getMonth() + 1)).slice(-2) + ("0" + n.getDate()).slice(-2), name: n.getDate() + " " + r[n.getMonth()] };
1344
1344
  }
1345
- const ea = (e) => {
1345
+ const ra = (e) => {
1346
1346
  function r(F, L) {
1347
1347
  var W, se, G;
1348
1348
  F = F ?? "", L = L ?? 1;
@@ -1416,42 +1416,42 @@ const ea = (e) => {
1416
1416
  u3: ["тысяча", "тысячи", "тысяч"],
1417
1417
  u2: ["миллион", "миллиона", "миллионов"],
1418
1418
  u1: ["миллиард", "миллиарда", "миллиардов"]
1419
- }, l, h, c, f, O, u, d, X, m, x, y, I;
1420
- m = parseFloat(e).toFixed(2).split("."), u = m[0], f = m[1];
1421
- var N = 12 - u.length;
1422
- if (N < 0)
1419
+ }, l, m, c, f, N, u, d, X, p, x, y, I;
1420
+ p = parseFloat(e).toFixed(2).split("."), u = p[0], f = p[1];
1421
+ var O = 12 - u.length;
1422
+ if (O < 0)
1423
1423
  return !1;
1424
- for (var X = []; N--; )
1424
+ for (var X = []; O--; )
1425
1425
  X.push("0");
1426
1426
  u = X.join("") + u;
1427
- var O = [];
1427
+ var N = [];
1428
1428
  if (u > 0) {
1429
1429
  x = r(u, 3);
1430
1430
  for (var T = -1; T < x.length; T++)
1431
- if (d = x[T], d > 0 && (y = r(d, 1), l = parseInt(y[0]), h = parseInt(y[1]), c = parseInt(y[2]), O.push(s.a100[l - 1]), I = T + 1 == 3 ? "a2" : "a1", h > 1 ? O.push(
1432
- s.a20[h - 2] + (c > 0 ? " " + s[I][c - 1] : "")
1433
- ) : O.push(
1434
- h > 0 ? s.a10[c] : s[I][c - 1]
1431
+ if (d = x[T], d > 0 && (y = r(d, 1), l = parseInt(y[0]), m = parseInt(y[1]), c = parseInt(y[2]), N.push(s.a100[l - 1]), I = T + 1 == 3 ? "a2" : "a1", m > 1 ? N.push(
1432
+ s.a20[m - 2] + (c > 0 ? " " + s[I][c - 1] : "")
1433
+ ) : N.push(
1434
+ m > 0 ? s.a10[c] : s[I][c - 1]
1435
1435
  ), x.length > T + 1)) {
1436
1436
  var R = s["u" + (T + 1)];
1437
- O.push(n(d, R));
1437
+ N.push(n(d, R));
1438
1438
  }
1439
1439
  } else
1440
- O.push(s.null);
1441
- return O.push(n(u, s.ur)), O.push(f + " " + n(f, s.uc)), O.join(" ").replace(RegExp(" {2,}", "g"), " ").trimLeft();
1440
+ N.push(s.null);
1441
+ return N.push(n(u, s.ur)), N.push(f + " " + n(f, s.uc)), N.join(" ").replace(RegExp(" {2,}", "g"), " ").trimLeft();
1442
1442
  };
1443
- function ta(e) {
1443
+ function na(e) {
1444
1444
  let r = -1, n = [" kB", " MB", " GB", " TB", "PB", "EB", "ZB", "YB"];
1445
1445
  do
1446
1446
  e = e / 1024, r++;
1447
1447
  while (e > 1024);
1448
1448
  return Math.max(e, 0.1).toFixed(1) + n[r];
1449
1449
  }
1450
- function ra(e) {
1450
+ function aa(e) {
1451
1451
  let r = {};
1452
1452
  return r["application/atom+xml"] = "atom", r["application/json"] = "json", r["application/javascript"] = "js", r["application/ogg"] = "ogg", r["application/pdf"] = "pdf", r["application/soap+xml"] = "soap", r["application/font-woff"] = "woff", r["application/xhtml+xml"] = "xml", r["application/xml-dtd"] = "dtd", r["application/xop+xml"] = "xop", r["application/zip"] = "zip", r["application/gzip"] = "gzip", r["application/x-bittorrent"] = "bittorrent", r["application/x-tex"] = "tex", r["application/xml"] = "xml", r["application/msword"] = "doc", r["image/svg+xml"] = "svg", r[e];
1453
1453
  }
1454
- function na(e, r, n, s) {
1454
+ function sa(e, r, n, s) {
1455
1455
  let l = {
1456
1456
  sexM: "m",
1457
1457
  sexF: "f",
@@ -1575,22 +1575,22 @@ function na(e, r, n, s) {
1575
1575
  if (d === this.gcaseNom)
1576
1576
  return c;
1577
1577
  if (c.match(/[-]/)) {
1578
- for (var m = c.split("-"), x = 0, y = m.length; x < y; x++)
1579
- m[x] = this.word(m[x], f, u, d);
1580
- return m.join("-");
1578
+ for (var p = c.split("-"), x = 0, y = p.length; x < y; x++)
1579
+ p[x] = this.word(p[x], f, u, d);
1580
+ return p.join("-");
1581
1581
  }
1582
1582
  if (c.match(/^[А-ЯЁ]\.?$/i))
1583
1583
  return c;
1584
1584
  this.init();
1585
1585
  var I = this.rules[u];
1586
- let N;
1587
- return I.exceptions && (N = this.pick(c, f, d, I.exceptions, !0), N) ? N : (N = this.pick(c, f, d, I.suffixes, !1), N || c);
1586
+ let O;
1587
+ return I.exceptions && (O = this.pick(c, f, d, I.exceptions, !0), O) ? O : (O = this.pick(c, f, d, I.suffixes, !1), O || c);
1588
1588
  },
1589
1589
  // выбираем из списка правил первое подходящее и применяем
1590
- pick: function(c, f, u, d, m) {
1590
+ pick: function(c, f, u, d, p) {
1591
1591
  let x = c.toLowerCase();
1592
1592
  for (var y = 0, I = d.length; y < I; y++)
1593
- if (this.ruleMatch(x, f, d[y], m))
1593
+ if (this.ruleMatch(x, f, d[y], p))
1594
1594
  return this.applyMod(c, u, d[y]);
1595
1595
  return !1;
1596
1596
  },
@@ -1598,11 +1598,11 @@ function na(e, r, n, s) {
1598
1598
  ruleMatch: function(c, f, u, d) {
1599
1599
  if (u.sex === this.sexM && f === this.sexF || u.sex === this.sexF && f !== this.sexF)
1600
1600
  return !1;
1601
- for (var m = 0, x = u.test.length; m < x; m++) {
1601
+ for (var p = 0, x = u.test.length; p < x; p++) {
1602
1602
  var y = d ? c : c.substr(
1603
- Math.max(c.length - u.test[m].length, 0)
1603
+ Math.max(c.length - u.test[p].length, 0)
1604
1604
  );
1605
- if (y === u.test[m])
1605
+ if (y === u.test[p])
1606
1606
  return !0;
1607
1607
  }
1608
1608
  return !1;
@@ -1630,8 +1630,8 @@ function na(e, r, n, s) {
1630
1630
  d = u.mods[4];
1631
1631
  break;
1632
1632
  }
1633
- for (var m = 0, x = d.length; m < x; m++) {
1634
- var y = d.substr(m, 1);
1633
+ for (var p = 0, x = d.length; p < x; p++) {
1634
+ var y = d.substr(p, 1);
1635
1635
  switch (y) {
1636
1636
  case ".":
1637
1637
  break;
@@ -1660,14 +1660,14 @@ function na(e, r, n, s) {
1660
1660
  middleName: (c) => l.word(l.mn, l.sex, "middleName", c)
1661
1661
  };
1662
1662
  if (typeof r > "u") {
1663
- var h = e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);
1664
- if (!h)
1663
+ var m = e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);
1664
+ if (!m)
1665
1665
  return "Cannot parse supplied name";
1666
- h[5] && h[3].match(/(ич|на)$/) && !h[5].match(/(ич|на)$/) ? (e = h[5], r = h[1], n = h[3], l.fullNameSurnameLast = !0) : (e = h[1], r = h[3], n = h[5]);
1666
+ m[5] && m[3].match(/(ич|на)$/) && !m[5].match(/(ич|на)$/) ? (e = m[5], r = m[1], n = m[3], l.fullNameSurnameLast = !0) : (e = m[1], r = m[3], n = m[5]);
1667
1667
  }
1668
1668
  return l.ln = e, l.fn = r || "", l.mn = n || "", l.sex = s || l.getSex(), l;
1669
1669
  }
1670
- function aa(e) {
1670
+ function oa(e) {
1671
1671
  let r = e.split(" ");
1672
1672
  switch (r.length) {
1673
1673
  case 2:
@@ -1678,7 +1678,7 @@ function aa(e) {
1678
1678
  return e;
1679
1679
  }
1680
1680
  }
1681
- function sa(e) {
1681
+ function ia(e) {
1682
1682
  return {
1683
1683
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
1684
1684
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
@@ -1694,75 +1694,94 @@ function sa(e) {
1694
1694
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
1695
1695
  }[e];
1696
1696
  }
1697
- function ia(e) {
1697
+ function ca(e) {
1698
1698
  return parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
1699
1699
  }
1700
- function oa(e, r) {
1700
+ function la(e, r) {
1701
1701
  let n = r + "";
1702
1702
  for (; n.length < e; )
1703
1703
  n = "0" + n;
1704
1704
  return n;
1705
1705
  }
1706
- function ca(e, r, n) {
1706
+ function ua(e, r, n) {
1707
1707
  let s = r / e * n;
1708
1708
  return (typeof s != "number" || s === 1 / 0) && (s = 0), parseFloat(s).toFixed(1);
1709
1709
  }
1710
- function la(e) {
1710
+ function fa(e) {
1711
1711
  return e.charAt(0).toUpperCase() + e.slice(1);
1712
1712
  }
1713
- const Ea = {
1714
- Date: Xn,
1715
- MoneyString: ea,
1716
- DateSort: Qn,
1717
- Size: ta,
1718
- TypeFiles: ra,
1719
- Cases: na,
1720
- Initials: aa,
1721
- Month: sa,
1722
- Money: ia,
1723
- Number: oa,
1724
- Percent: ca,
1725
- CapitalizeFirstLetter: la
1726
- }, Se = {};
1727
- function ua(e, r) {
1728
- Se[e] = r;
1729
- }
1730
- function fa(e, r) {
1731
- Se[e] !== void 0 && Se[e](r);
1732
- }
1733
- const Y = {};
1713
+ const Ia = {
1714
+ Date: ea,
1715
+ MoneyString: ra,
1716
+ DateSort: ta,
1717
+ Size: na,
1718
+ TypeFiles: aa,
1719
+ Cases: sa,
1720
+ Initials: oa,
1721
+ Month: ia,
1722
+ Money: ca,
1723
+ Number: la,
1724
+ Percent: ua,
1725
+ CapitalizeFirstLetter: fa
1726
+ }, Ce = {};
1734
1727
  function da(e, r) {
1735
- const [n, s] = k.useState(r);
1736
- return k.useEffect(() => {
1737
- if (Y[e])
1738
- return Y[e].push(s);
1739
- Y[e] = [s];
1740
- }, []), [n];
1728
+ Ce[e] = r;
1741
1729
  }
1742
1730
  function ma(e, r) {
1743
- if (Y[e])
1744
- return Y[e].push(r);
1745
- Y[e] = [r];
1731
+ Ce[e] !== void 0 && Ce[e](r);
1746
1732
  }
1733
+ const B = {};
1747
1734
  function pa(e, r) {
1748
- Y[e] && Y[e].forEach((n) => n(r));
1735
+ const [n, s] = S.useState(r);
1736
+ return S.useEffect(() => {
1737
+ if (B[e])
1738
+ return B[e].push(s);
1739
+ B[e] = [s];
1740
+ }, []), [n];
1741
+ }
1742
+ function va(e, r) {
1743
+ if (B[e])
1744
+ return B[e].push(r);
1745
+ B[e] = [r];
1746
+ }
1747
+ function ha(e, r) {
1748
+ B[e] && B[e].forEach((n) => n(r));
1749
+ }
1750
+ const Ta = { setListener: ma, useListener: da, setEmitter: ha, useEmitter: pa, subEmitter: va }, fe = {}, ot = {};
1751
+ function ga(e) {
1752
+ const [r, n] = S.useState({}), s = async (l) => {
1753
+ n(
1754
+ Object.keys(fe).reduce((m, c) => (m ? m[c] = fe[c].all : m = {}, m), {})
1755
+ );
1756
+ };
1757
+ return S.useEffect(() => {
1758
+ e.forEach((l) => fe[l] = { all: 0 }), ot.menu = s, s();
1759
+ }, [e]), r;
1760
+ }
1761
+ function _a(e, r) {
1762
+ switch (typeof r) {
1763
+ case "number":
1764
+ fe[e].all += r, ot.menu();
1765
+ break;
1766
+ }
1749
1767
  }
1750
- const ka = { setListener: fa, useListener: ua, setEmitter: pa, useEmitter: da, subEmitter: ma };
1768
+ const Pa = { useMenu: ga, setUpdate: _a };
1751
1769
  export {
1752
- kn as Action,
1753
- ba as Alert,
1754
- ha as Browser,
1755
- nr as Button,
1756
- _a as Component,
1757
- ka as Event,
1758
- Ea as Format,
1759
- ja as Icon,
1760
- fn as Init,
1761
- Pr as Modal,
1762
- xa as Notice,
1763
- Sa as Router,
1764
- ga as Setting,
1765
- ya as Store,
1766
- gn as Tabs,
1767
- Ca as Triage
1770
+ wn as Action,
1771
+ Ca as Alert,
1772
+ Pa as Badge,
1773
+ ba as Browser,
1774
+ sr as Button,
1775
+ ya as Component,
1776
+ Ta as Event,
1777
+ Ia as Format,
1778
+ Ea as Icon,
1779
+ mn as Init,
1780
+ Or as Modal,
1781
+ Sa as Notice,
1782
+ Ra as Router,
1783
+ ja as Setting,
1784
+ ka as Store,
1785
+ xn as Tabs,
1786
+ wa as Triage
1768
1787
  };