elcrm 0.3.6 → 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 xe = { exports: {} }, Q = {};
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,25 +10,25 @@ var xe = { exports: {} }, Q = {};
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 Ue;
14
- function Tt() {
15
- if (Ue)
16
- return Q;
17
- Ue = 1;
18
- var e = k, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, l = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
13
+ var Je;
14
+ function Ft() {
15
+ if (Je)
16
+ return te;
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, T = null;
21
- d !== void 0 && (y = "" + d), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (T = u.ref);
22
- for (m in u)
23
- i.call(u, m) && !v.hasOwnProperty(m) && (x[m] = u[m]);
20
+ var p, x = {}, y = null, I = null;
21
+ d !== void 0 && (y = "" + d), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (I = u.ref);
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]);
27
- return { $$typeof: r, type: f, key: y, ref: T, props: x, _owner: l.current };
25
+ for (p in u = f.defaultProps, u)
26
+ x[p] === void 0 && (x[p] = u[p]);
27
+ return { $$typeof: r, type: f, key: y, ref: I, props: x, _owner: l.current };
28
28
  }
29
- return Q.Fragment = a, Q.jsx = c, Q.jsxs = c, Q;
29
+ return te.Fragment = n, te.jsx = c, te.jsxs = c, te;
30
30
  }
31
- var ee = {};
31
+ var re = {};
32
32
  /**
33
33
  * @license React
34
34
  * react-jsx-runtime.development.js
@@ -38,91 +38,91 @@ var ee = {};
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 He;
42
- function It() {
43
- return He || (He = 1, process.env.NODE_ENV !== "production" && function() {
44
- var e = k, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), v = 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"), T = Symbol.for("react.offscreen"), O = Symbol.iterator, Z = "@@iterator";
45
- function $(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 s = O && t[O] || t[Z];
49
- return typeof s == "function" ? s : null;
48
+ var o = O && t[O] || t[X];
49
+ return typeof o == "function" ? o : null;
50
50
  }
51
- var I = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
- function E(t) {
51
+ var T = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ function R(t) {
53
53
  {
54
- for (var s = arguments.length, o = new Array(s > 1 ? s - 1 : 0), p = 1; p < s; 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, s, o) {
59
+ function F(t, o, i) {
60
60
  {
61
- var p = I.ReactDebugCurrentFrame, b = p.getStackAddendum();
62
- b !== "" && (s += "%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: " + s), 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 A = !1, B = !1, H = !1, ne = !1, tt = !1, je;
70
- je = Symbol.for("react.module.reference");
71
- function rt(t) {
72
- return !!(typeof t == "string" || typeof t == "function" || t === i || t === v || tt || t === l || t === d || t === m || ne || t === T || A || B || H || 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 === je || t.getModuleId !== void 0));
76
+ t.$$typeof === Ee || t.getModuleId !== void 0));
77
77
  }
78
- function nt(t, s, o) {
79
- var p = t.displayName;
80
- if (p)
81
- return p;
82
- var b = s.displayName || s.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 ye(t) {
85
+ function ke(t) {
86
86
  return t.displayName || "Context";
87
87
  }
88
- function M(t) {
88
+ function D(t) {
89
89
  if (t == null)
90
90
  return null;
91
- if (typeof t.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
91
+ if (typeof t.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
92
92
  return t.displayName || t.name || null;
93
93
  if (typeof t == "string")
94
94
  return t;
95
95
  switch (t) {
96
- case i:
96
+ case s:
97
97
  return "Fragment";
98
- case a:
98
+ case n:
99
99
  return "Portal";
100
- case v:
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 s = t;
113
- return ye(s) + ".Consumer";
114
- case c:
115
112
  var o = t;
116
- return ye(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 nt(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 : M(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 {
125
- return M(_(j));
125
+ return D(_(j));
126
126
  } catch {
127
127
  return null;
128
128
  }
@@ -130,18 +130,18 @@ function It() {
130
130
  }
131
131
  return null;
132
132
  }
133
- var W = Object.assign, K = 0, Se, Ce, ke, Ee, Re, we, Te;
134
- function Ie() {
133
+ var U = Object.assign, Q = 0, Re, we, Ie, Te, Pe, $e, Oe;
134
+ function Ne() {
135
135
  }
136
- Ie.__reactDisabledLog = !0;
137
- function at() {
136
+ Ne.__reactDisabledLog = !0;
137
+ function ut() {
138
138
  {
139
- if (K === 0) {
140
- Se = console.log, Ce = console.info, ke = console.warn, Ee = console.error, Re = console.group, we = console.groupCollapsed, Te = console.groupEnd;
139
+ if (Q === 0) {
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,
144
- value: Ie,
144
+ value: Ne,
145
145
  writable: !0
146
146
  };
147
147
  Object.defineProperties(console, {
@@ -154,79 +154,79 @@ function It() {
154
154
  groupEnd: t
155
155
  });
156
156
  }
157
- K++;
157
+ Q++;
158
158
  }
159
159
  }
160
- function st() {
160
+ function ft() {
161
161
  {
162
- if (K--, K === 0) {
162
+ if (Q--, Q === 0) {
163
163
  var t = {
164
164
  configurable: !0,
165
165
  enumerable: !0,
166
166
  writable: !0
167
167
  };
168
168
  Object.defineProperties(console, {
169
- log: W({}, t, {
170
- value: Se
169
+ log: U({}, t, {
170
+ value: Re
171
171
  }),
172
- info: W({}, t, {
173
- value: Ce
172
+ info: U({}, t, {
173
+ value: we
174
174
  }),
175
- warn: W({}, t, {
176
- value: ke
175
+ warn: U({}, t, {
176
+ value: Ie
177
177
  }),
178
- error: W({}, t, {
179
- value: Ee
178
+ error: U({}, t, {
179
+ value: Te
180
180
  }),
181
- group: W({}, t, {
182
- value: Re
181
+ group: U({}, t, {
182
+ value: Pe
183
183
  }),
184
- groupCollapsed: W({}, t, {
185
- value: we
184
+ groupCollapsed: U({}, t, {
185
+ value: $e
186
186
  }),
187
- groupEnd: W({}, t, {
188
- value: Te
187
+ groupEnd: U({}, t, {
188
+ value: Oe
189
189
  })
190
190
  });
191
191
  }
192
- K < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
+ Q < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
193
  }
194
194
  }
195
- var fe = I.ReactCurrentDispatcher, de;
196
- function ae(t, s, o) {
195
+ var pe = T.ReactCurrentDispatcher, ve;
196
+ function oe(t, o, i) {
197
197
  {
198
- if (de === 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
- de = p && p[1] || "";
202
+ var v = b.stack.trim().match(/\n( *(at )?)/);
203
+ ve = v && v[1] || "";
204
204
  }
205
205
  return `
206
- ` + de + t;
206
+ ` + ve + t;
207
207
  }
208
208
  }
209
- var me = !1, se;
209
+ var he = !1, ie;
210
210
  {
211
- var it = typeof WeakMap == "function" ? WeakMap : Map;
212
- se = new it();
211
+ var dt = typeof WeakMap == "function" ? WeakMap : Map;
212
+ ie = new dt();
213
213
  }
214
- function Pe(t, s) {
215
- if (!t || me)
214
+ function Fe(t, o) {
215
+ if (!t || he)
216
216
  return "";
217
217
  {
218
- var o = se.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
- me = !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 = fe.current, fe.current = null, at();
227
+ j = pe.current, pe.current = null, ut();
228
228
  try {
229
- if (s) {
229
+ if (o) {
230
230
  var _ = function() {
231
231
  throw Error();
232
232
  };
@@ -237,197 +237,197 @@ function It() {
237
237
  }), typeof Reflect == "object" && Reflect.construct) {
238
238
  try {
239
239
  Reflect.construct(_, []);
240
- } catch (D) {
241
- p = D;
240
+ } catch (A) {
241
+ v = A;
242
242
  }
243
243
  Reflect.construct(t, [], _);
244
244
  } else {
245
245
  try {
246
246
  _.call();
247
- } catch (D) {
248
- p = D;
247
+ } catch (A) {
248
+ v = A;
249
249
  }
250
250
  t.call(_.prototype);
251
251
  }
252
252
  } else {
253
253
  try {
254
254
  throw Error();
255
- } catch (D) {
256
- p = D;
255
+ } catch (A) {
256
+ v = A;
257
257
  }
258
258
  t();
259
259
  }
260
- } catch (D) {
261
- if (D && p && typeof D.stack == "string") {
262
- for (var g = D.stack.split(`
263
- `), w = p.stack.split(`
264
- `), S = g.length - 1, C = w.length - 1; S >= 1 && C >= 0 && g[S] !== w[C]; )
265
- C--;
266
- for (; S >= 1 && C >= 0; S--, C--)
267
- if (g[S] !== w[C]) {
268
- if (S !== 1 || C !== 1)
260
+ } catch (A) {
261
+ if (A && v && typeof A.stack == "string") {
262
+ for (var g = A.stack.split(`
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--, C--, C < 0 || g[S] !== w[C]) {
271
- var N = `
272
- ` + g[S].replace(" at new ", " at ");
273
- return t.displayName && N.includes("<anonymous>") && (N = N.replace("<anonymous>", t.displayName)), typeof t == "function" && se.set(t, N), N;
270
+ if (C--, k--, k < 0 || g[C] !== w[k]) {
271
+ var $ = `
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 && C >= 0);
275
+ while (C >= 1 && k >= 0);
276
276
  break;
277
277
  }
278
278
  }
279
279
  } finally {
280
- me = !1, fe.current = j, st(), Error.prepareStackTrace = b;
280
+ he = !1, pe.current = j, ft(), Error.prepareStackTrace = b;
281
281
  }
282
- var G = t ? t.displayName || t.name : "", Ve = G ? ae(G) : "";
283
- return typeof t == "function" && se.set(t, Ve), Ve;
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 ot(t, s, o) {
286
- return Pe(t, !1);
285
+ function mt(t, o, i) {
286
+ return Fe(t, !1);
287
287
  }
288
- function ct(t) {
289
- var s = t.prototype;
290
- return !!(s && s.isReactComponent);
288
+ function pt(t) {
289
+ var o = t.prototype;
290
+ return !!(o && o.isReactComponent);
291
291
  }
292
- function ie(t, s, o) {
292
+ function ce(t, o, i) {
293
293
  if (t == null)
294
294
  return "";
295
295
  if (typeof t == "function")
296
- return Pe(t, ct(t));
296
+ return Fe(t, pt(t));
297
297
  if (typeof t == "string")
298
- return ae(t);
298
+ return oe(t);
299
299
  switch (t) {
300
300
  case d:
301
- return ae("Suspense");
302
- case m:
303
- return ae("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 ot(t.render);
308
+ return mt(t.render);
309
309
  case x:
310
- return ie(t.type, s, 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 ie(j(b), s, o);
314
+ return ce(j(b), o, i);
315
315
  } catch {
316
316
  }
317
317
  }
318
318
  }
319
319
  return "";
320
320
  }
321
- var oe = Object.prototype.hasOwnProperty, Ne = {}, Oe = I.ReactDebugCurrentFrame;
322
- function ce(t) {
321
+ var le = Object.prototype.hasOwnProperty, Me = {}, De = T.ReactDebugCurrentFrame;
322
+ function ue(t) {
323
323
  if (t) {
324
- var s = t._owner, o = ie(t.type, t._source, s ? s.type : null);
325
- Oe.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
- Oe.setExtraStackFrame(null);
327
+ De.setExtraStackFrame(null);
328
328
  }
329
- function lt(t, s, o, p, b) {
329
+ function vt(t, o, i, v, b) {
330
330
  {
331
- var j = Function.call.bind(oe);
331
+ var j = Function.call.bind(le);
332
332
  for (var _ in t)
333
333
  if (j(t, _)) {
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[_](s, _, 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) && (ce(b), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", o, _, typeof g), ce(null)), g instanceof Error && !(g.message in Ne) && (Ne[g.message] = !0, ce(b), E("Failed %s type: %s", o, g.message), ce(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 ut = Array.isArray;
349
- function pe(t) {
350
- return ut(t);
348
+ var ht = Array.isArray;
349
+ function ge(t) {
350
+ return ht(t);
351
351
  }
352
- function ft(t) {
352
+ function gt(t) {
353
353
  {
354
- var s = typeof Symbol == "function" && Symbol.toStringTag, o = s && 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 dt(t) {
358
+ function _t(t) {
359
359
  try {
360
- return $e(t), !1;
360
+ return Ae(t), !1;
361
361
  } catch {
362
362
  return !0;
363
363
  }
364
364
  }
365
- function $e(t) {
365
+ function Ae(t) {
366
366
  return "" + t;
367
367
  }
368
- function Fe(t) {
369
- if (dt(t))
370
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ft(t)), $e(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 X = I.ReactCurrentOwner, mt = {
372
+ var ee = T.ReactCurrentOwner, xt = {
373
373
  key: !0,
374
374
  ref: !0,
375
375
  __self: !0,
376
376
  __source: !0
377
- }, Me, De, ve;
378
- ve = {};
379
- function pt(t) {
380
- if (oe.call(t, "ref")) {
381
- var s = Object.getOwnPropertyDescriptor(t, "ref").get;
382
- if (s && s.isReactWarning)
377
+ }, ze, Be, _e;
378
+ _e = {};
379
+ function bt(t) {
380
+ if (le.call(t, "ref")) {
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 vt(t) {
388
- if (oe.call(t, "key")) {
389
- var s = Object.getOwnPropertyDescriptor(t, "key").get;
390
- if (s && s.isReactWarning)
387
+ function jt(t) {
388
+ if (le.call(t, "key")) {
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 ht(t, s) {
396
- if (typeof t.ref == "string" && X.current && s && X.current.stateNode !== s) {
397
- var o = M(X.current.type);
398
- ve[o] || (E('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', M(X.current.type), t.ref), ve[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 gt(t, s) {
401
+ function St(t, o) {
402
402
  {
403
- var o = function() {
404
- Me || (Me = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
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 _t(t, s) {
412
+ function Ct(t, o) {
413
413
  {
414
- var o = function() {
415
- De || (De = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
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 xt = function(t, s, 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: s,
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 It() {
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 It() {
449
449
  value: b
450
450
  }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
451
451
  };
452
- function bt(t, s, 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 && (Fe(o), g = "" + o), vt(s) && (Fe(s.key), g = "" + s.key), pt(s) && (w = s.ref, ht(s, b));
456
- for (j in s)
457
- oe.call(s, j) && !mt.hasOwnProperty(j) && (_[j] = s[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 C = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
465
- g && gt(_, C), w && _t(_, C);
464
+ var k = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
465
+ g && St(_, k), w && Ct(_, k);
466
466
  }
467
- return xt(t, g, w, b, p, X.current, _);
467
+ return Et(t, g, w, b, v, ee.current, _);
468
468
  }
469
469
  }
470
- var he = I.ReactCurrentOwner, Ae = I.ReactDebugCurrentFrame;
471
- function q(t) {
470
+ var xe = T.ReactCurrentOwner, Ye = T.ReactDebugCurrentFrame;
471
+ function J(t) {
472
472
  if (t) {
473
- var s = t._owner, o = ie(t.type, t._source, s ? s.type : null);
474
- Ae.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
- Ae.setExtraStackFrame(null);
476
+ Ye.setExtraStackFrame(null);
477
477
  }
478
- var ge;
479
- ge = !1;
480
- function _e(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 Le() {
483
+ function We() {
484
484
  {
485
- if (he.current) {
486
- var t = M(he.current.type);
485
+ if (xe.current) {
486
+ var t = D(xe.current.type);
487
487
  if (t)
488
488
  return `
489
489
 
@@ -492,222 +492,222 @@ Check the render method of \`` + t + "`.";
492
492
  return "";
493
493
  }
494
494
  }
495
- function jt(t) {
495
+ function Rt(t) {
496
496
  {
497
497
  if (t !== void 0) {
498
- var s = 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 ` + s + ":" + o + ".";
501
+ Check your code at ` + o + ":" + i + ".";
502
502
  }
503
503
  return "";
504
504
  }
505
505
  }
506
- var ze = {};
507
- function yt(t) {
506
+ var Ue = {};
507
+ function wt(t) {
508
508
  {
509
- var s = Le();
510
- if (!s) {
511
- var o = typeof t == "string" ? t : t.displayName || t.name;
512
- o && (s = `
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 s;
516
+ return o;
517
517
  }
518
518
  }
519
- function Ye(t, s) {
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 = yt(s);
525
- if (ze[o])
524
+ var i = wt(o);
525
+ if (Ue[i])
526
526
  return;
527
- ze[o] = !0;
528
- var p = "";
529
- t && t._owner && t._owner !== he.current && (p = " It was passed a child from " + M(t._owner.type) + "."), q(t), E('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), q(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 Be(t, s) {
532
+ function He(t, o) {
533
533
  {
534
534
  if (typeof t != "object")
535
535
  return;
536
- if (pe(t))
537
- for (var o = 0; o < t.length; o++) {
538
- var p = t[o];
539
- _e(p) && Ye(p, s);
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 (_e(t))
541
+ else if (je(t))
542
542
  t._store && (t._store.validated = !0);
543
543
  else if (t) {
544
- var b = $(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
- _e(_.value) && Ye(_.value, s);
547
+ je(_.value) && Ve(_.value, o);
548
548
  }
549
549
  }
550
550
  }
551
- function St(t) {
551
+ function It(t) {
552
552
  {
553
- var s = t.type;
554
- if (s == null || typeof s == "string")
553
+ var o = t.type;
554
+ if (o == null || typeof o == "string")
555
555
  return;
556
- var o;
557
- if (typeof s == "function")
558
- o = s.propTypes;
559
- else if (typeof s == "object" && (s.$$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
- s.$$typeof === x))
562
- o = s.propTypes;
561
+ o.$$typeof === x))
562
+ i = o.propTypes;
563
563
  else
564
564
  return;
565
- if (o) {
566
- var p = M(s);
567
- lt(o, t.props, "prop", p, t);
568
- } else if (s.PropTypes !== void 0 && !ge) {
569
- ge = !0;
570
- var b = M(s);
571
- E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
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
+ R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
572
572
  }
573
- typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && E("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 Ct(t) {
576
+ function Tt(t) {
577
577
  {
578
- for (var s = Object.keys(t.props), o = 0; o < s.length; o++) {
579
- var p = s[o];
580
- if (p !== "children" && p !== "key") {
581
- q(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), q(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
- t.ref !== null && (q(t), E("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
585
+ t.ref !== null && (J(t), R("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
586
586
  }
587
587
  }
588
- function We(t, s, o, p, b, j) {
588
+ function qe(t, o, i, v, b, j) {
589
589
  {
590
- var _ = rt(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 = jt(b);
595
- w ? g += w : g += Le();
596
- var S;
597
- t === null ? S = "null" : pe(t) ? S = "array" : t !== void 0 && t.$$typeof === r ? (S = "<" + (M(t.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : S = typeof t, E("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 C = bt(t, s, o, b, j);
600
- if (C == null)
601
- return C;
599
+ var k = kt(t, o, i, b, j);
600
+ if (k == null)
601
+ return k;
602
602
  if (_) {
603
- var N = s.children;
604
- if (N !== void 0)
605
- if (p)
606
- if (pe(N)) {
607
- for (var G = 0; G < N.length; G++)
608
- Be(N[G], t);
609
- Object.freeze && Object.freeze(N);
603
+ var $ = o.children;
604
+ if ($ !== void 0)
605
+ if (v)
606
+ if (ge($)) {
607
+ for (var Z = 0; Z < $.length; Z++)
608
+ He($[Z], t);
609
+ Object.freeze && Object.freeze($);
610
610
  } else
611
- E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
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
- Be(N, t);
613
+ He($, t);
614
614
  }
615
- return t === i ? Ct(C) : St(C), C;
615
+ return t === s ? Tt(k) : It(k), k;
616
616
  }
617
617
  }
618
- function kt(t, s, o) {
619
- return We(t, s, o, !0);
618
+ function Pt(t, o, i) {
619
+ return qe(t, o, i, !0);
620
620
  }
621
- function Et(t, s, o) {
622
- return We(t, s, o, !1);
621
+ function $t(t, o, i) {
622
+ return qe(t, o, i, !1);
623
623
  }
624
- var Rt = Et, wt = kt;
625
- ee.Fragment = i, ee.jsx = Rt, ee.jsxs = wt;
626
- }()), ee;
627
- }
628
- process.env.NODE_ENV === "production" ? xe.exports = Tt() : xe.exports = It();
629
- var n = xe.exports;
630
- const Pt = "_notice_820sc_2", Nt = "_error_820sc_9", Ot = "_success_820sc_12", $t = "_remark_820sc_15", Ft = "_copy_820sc_18", Mt = {
631
- notice: Pt,
632
- error: Nt,
633
- success: Ot,
634
- remark: $t,
635
- copy: Ft,
624
+ var Ot = $t, Nt = Pt;
625
+ re.Fragment = s, re.jsx = Ot, re.jsxs = Nt;
626
+ }()), re;
627
+ }
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 z = {};
640
- function Dt() {
641
- let [e, r] = k.useState([]);
642
- return z.set = (a) => {
643
- r([...e, a]);
644
- }, z.del = (a) => {
645
- r(e.filter((i) => i.key !== a));
646
- }, e.length === 0 ? "" : /* @__PURE__ */ n.jsx("ul", { className: Mt.notice, children: e.map((a) => a.item) });
647
- }
648
- function re({ data: e }) {
649
- let [r, a] = k.useState("show");
650
- k.useEffect(() => {
639
+ let Y = {};
640
+ function Wt() {
641
+ let [e, r] = S.useState([]);
642
+ return Y.set = (n) => {
643
+ r([...e, n]);
644
+ }, Y.del = (n) => {
645
+ r(e.filter((s) => s.key !== n));
646
+ }, e.length === 0 ? "" : /* @__PURE__ */ a.jsx("ul", { className: Yt.notice, children: e.map((n) => n.item) });
647
+ }
648
+ function ae({ data: e }) {
649
+ let [r, n] = S.useState("show");
650
+ S.useEffect(() => {
651
651
  setTimeout(function() {
652
- a("hide");
652
+ n("hide");
653
653
  }, 1800), setTimeout(function() {
654
- z.del(e.key);
654
+ Y.del(e.key);
655
655
  }, 2500);
656
656
  }, [e.key]);
657
- let i, l;
657
+ let s, l;
658
658
  switch (e.type) {
659
659
  case "error":
660
- i = /* @__PURE__ */ n.jsx(V.error, {}), l = "Ошибка:";
660
+ s = /* @__PURE__ */ a.jsx(V.error, {}), l = "Ошибка:";
661
661
  break;
662
662
  case "success":
663
- i = /* @__PURE__ */ n.jsx(V.success, {}), l = "Информация:";
663
+ s = /* @__PURE__ */ a.jsx(V.success, {}), l = "Информация:";
664
664
  break;
665
665
  case "copy":
666
- i = /* @__PURE__ */ n.jsx(V.success, {}), l = "Копирование:";
666
+ s = /* @__PURE__ */ a.jsx(V.success, {}), l = "Копирование:";
667
667
  break;
668
668
  case "remark":
669
- i = /* @__PURE__ */ n.jsx(V.success, {}), l = "Подсказка:";
669
+ s = /* @__PURE__ */ a.jsx(V.success, {}), l = "Подсказка:";
670
670
  break;
671
671
  default:
672
- i = /* @__PURE__ */ n.jsx(V.success, {}), l = "Предупреждение:";
672
+ s = /* @__PURE__ */ a.jsx(V.success, {}), l = "Предупреждение:";
673
673
  break;
674
674
  }
675
- return /* @__PURE__ */ n.jsxs("li", { className: "item " + e.type, "data-status": r, children: [
676
- i,
677
- /* @__PURE__ */ n.jsx("b", { children: l }),
678
- /* @__PURE__ */ n.jsx("p", { children: e.text })
675
+ return /* @__PURE__ */ a.jsxs("li", { className: "item " + e.type, "data-status": r, children: [
676
+ s,
677
+ /* @__PURE__ */ a.jsx("b", { children: l }),
678
+ /* @__PURE__ */ a.jsx("p", { children: e.text })
679
679
  ] });
680
680
  }
681
- function At(e) {
682
- let r = Date.now(), a = { key: r, ...e };
683
- z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
681
+ function Ut(e) {
682
+ let r = Date.now(), n = { key: r, ...e };
683
+ Y.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
684
684
  }
685
- function Lt(e) {
686
- let r = Date.now(), a = { key: r, text: e, type: "error" };
687
- z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
685
+ function Vt(e) {
686
+ let r = Date.now(), n = { key: r, text: e, type: "error" };
687
+ Y.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
688
688
  }
689
- function zt(e) {
690
- let r = Date.now(), a = { key: r, text: e, type: "success" };
691
- z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
689
+ function Ht(e) {
690
+ let r = Date.now(), n = { key: r, text: e, type: "success" };
691
+ Y.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
692
692
  }
693
- function Yt(e) {
694
- let r = Date.now(), a = { key: r, text: e, type: "remark" };
695
- z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
693
+ function qt(e) {
694
+ let r = Date.now(), n = { key: r, text: e, type: "remark" };
695
+ Y.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
696
696
  }
697
- function Bt(e) {
698
- let r = Date.now(), a = { key: r, text: e, type: "copy" };
699
- z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
697
+ function Gt(e) {
698
+ let r = Date.now(), n = { key: r, text: e, type: "copy" };
699
+ Y.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
700
700
  }
701
701
  const V = {};
702
- V.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
703
- /* @__PURE__ */ n.jsx(
702
+ V.error = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
703
+ /* @__PURE__ */ a.jsx(
704
704
  "path",
705
705
  {
706
706
  d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
707
707
  fill: "#bb2014"
708
708
  }
709
709
  ),
710
- /* @__PURE__ */ n.jsx(
710
+ /* @__PURE__ */ a.jsx(
711
711
  "path",
712
712
  {
713
713
  d: "M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",
@@ -715,15 +715,15 @@ V.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "non
715
715
  }
716
716
  )
717
717
  ] });
718
- V.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
719
- /* @__PURE__ */ n.jsx(
718
+ V.success = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
719
+ /* @__PURE__ */ a.jsx(
720
720
  "path",
721
721
  {
722
722
  d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
723
723
  fill: "#367738"
724
724
  }
725
725
  ),
726
- /* @__PURE__ */ n.jsx(
726
+ /* @__PURE__ */ a.jsx(
727
727
  "path",
728
728
  {
729
729
  d: "M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",
@@ -731,120 +731,120 @@ V.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "n
731
731
  }
732
732
  )
733
733
  ] });
734
- const Wt = "_alerts_1e9y0_1", Vt = "_menuAnimation_1e9y0_1", Ut = "_menuItemAnimation_1e9y0_1", Ht = "_allert_1e9y0_111", qt = {
735
- alerts: Wt,
736
- menuAnimation: Vt,
737
- menuItemAnimation: Ut,
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: Ht,
739
+ allert: Xt,
740
740
  "--form": "_--form_1e9y0_111"
741
741
  };
742
- let te = {};
743
- function Gt() {
744
- let [e, r] = k.useState("");
745
- return te.set = (a) => r(a), te.del = () => r(""), /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
746
- }
747
- const Jt = ({ data: e, callback: r }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ n.jsxs("div", { className: qt.alerts, children: [
748
- /* @__PURE__ */ n.jsxs("dl", { children: [
749
- /* @__PURE__ */ n.jsx("dt", { children: e.title }),
750
- /* @__PURE__ */ n.jsx("dd", { children: e.text }),
751
- /* @__PURE__ */ n.jsx("ul", { children: /* @__PURE__ */ n.jsx(
742
+ let ne = {};
743
+ function er() {
744
+ let [e, r] = S.useState("");
745
+ return ne.set = (n) => r(n), ne.del = () => r(""), /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
746
+ }
747
+ const tr = ({ data: e, callback: r }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: Qt.alerts, children: [
748
+ /* @__PURE__ */ a.jsxs("dl", { children: [
749
+ /* @__PURE__ */ a.jsx("dt", { children: e.title }),
750
+ /* @__PURE__ */ a.jsx("dd", { children: e.text }),
751
+ /* @__PURE__ */ a.jsx("ul", { children: /* @__PURE__ */ a.jsx(
752
752
  "button",
753
753
  {
754
754
  "data-color": e.color || "blue",
755
755
  onClick: () => {
756
- r(), te.del();
756
+ r(), ne.del();
757
757
  },
758
758
  children: e.button
759
759
  }
760
760
  ) })
761
761
  ] }),
762
- /* @__PURE__ */ n.jsx("div", { className: "--body", onClick: te.del })
762
+ /* @__PURE__ */ a.jsx("div", { className: "--body", onClick: ne.del })
763
763
  ] }));
764
- function Zt(e, r) {
765
- te.set(/* @__PURE__ */ n.jsx(Jt, { data: e, callback: r }));
764
+ function rr(e, r) {
765
+ ne.set(/* @__PURE__ */ a.jsx(tr, { data: e, callback: r }));
766
766
  }
767
- function Kt({ children: e }) {
768
- return /* @__PURE__ */ n.jsx("div", { className: "l", children: /* @__PURE__ */ n.jsx("ul", { children: e }) });
767
+ function nr({ children: e }) {
768
+ return /* @__PURE__ */ a.jsx("div", { className: "l", children: /* @__PURE__ */ a.jsx("ul", { children: e }) });
769
769
  }
770
- function Xt({ children: e }) {
771
- return /* @__PURE__ */ n.jsx("div", { className: "s", children: e });
770
+ function ar({ children: e }) {
771
+ return /* @__PURE__ */ a.jsx("div", { className: "s", children: e });
772
772
  }
773
- const Qt = ({
773
+ const sr = ({
774
774
  children: e,
775
775
  disabled: r,
776
- label: a,
777
- onClick: i
776
+ label: n,
777
+ onClick: s
778
778
  }) => {
779
- const l = (v) => {
780
- r || i && i(v);
779
+ const l = (m) => {
780
+ r || s && s(m);
781
781
  };
782
- return /* @__PURE__ */ n.jsx("button", { disabled: r, onClick: l, children: a });
783
- }, er = "_white_1iomo_14", tr = "_black_1iomo_26", rr = "_shake_1iomo_1", nr = "_modal_1iomo_73", ar = "_o_1iomo_83", sr = "_w_1iomo_14", ir = "_h_1iomo_106", or = "_l_1iomo_120", cr = "_t_1iomo_158", lr = "_m_1iomo_73", ur = "_x_1iomo_166", fr = "_s_1iomo_176", dr = "_c_1iomo_181", mr = "_f_1iomo_186", pr = "_btn_1iomo_229", vr = "_g_1iomo_242", hr = "_confirm_1iomo_320", gr = "_cancel_1iomo_325", _r = "_disabled_1iomo_330", xr = "_active_1iomo_387", br = "_coincidence_1iomo_393", L = {
784
- white: er,
785
- black: tr,
786
- shake: rr,
787
- modal: nr,
788
- o: ar,
789
- w: sr,
790
- h: ir,
791
- l: or,
792
- t: cr,
793
- m: lr,
794
- x: ur,
795
- s: fr,
796
- c: dr,
797
- f: mr,
798
- btn: pr,
799
- g: vr,
782
+ return /* @__PURE__ */ a.jsx("button", { disabled: r, onClick: l, children: n });
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: hr,
807
- cancel: gr,
808
- disabled: _r,
806
+ confirm: yr,
807
+ cancel: Sr,
808
+ disabled: Cr,
809
809
  await: "_await_1iomo_337",
810
- active: xr,
811
- coincidence: br
810
+ active: Er,
811
+ coincidence: kr
812
812
  };
813
- let J = {};
814
- const jr = ({ config: e }) => {
815
- let [r, a] = k.useState([]);
816
- return J.x = () => {
817
- a([]);
818
- }, J.config = e, J.add = (i) => {
819
- a([...r, i]);
820
- }, /* @__PURE__ */ n.jsx(n.Fragment, { children: r.map((i) => i) });
821
- }, yr = ({
813
+ let K = {};
814
+ const Rr = ({ config: e }) => {
815
+ let [r, n] = S.useState([]);
816
+ return K.x = () => {
817
+ n([]);
818
+ }, K.config = e, K.add = (s) => {
819
+ n([...r, s]);
820
+ }, /* @__PURE__ */ a.jsx(a.Fragment, { children: r.map((s) => s) });
821
+ }, wr = ({
822
822
  children: e,
823
823
  title: r,
824
- button: a,
825
- tabs: i,
824
+ button: n,
825
+ tabs: s,
826
826
  size: l = "m",
827
- menu: v
827
+ menu: m
828
828
  }) => {
829
- const [c, f] = k.useState(!0), u = k.useRef(), d = (x) => {
830
- if (a && a.onClick)
831
- return a.onClick({ closed: f, disabled: x });
832
- }, m = () => {
829
+ const [c, f] = S.useState(!0), u = S.useRef(), d = (x) => {
830
+ if (n && n.onClick)
831
+ return n.onClick({ closed: f, disabled: x });
832
+ }, p = () => {
833
833
  u.current.setAttribute("shake", !0), setTimeout(() => {
834
834
  u.current.setAttribute("shake", !1);
835
835
  }, 1e3);
836
836
  };
837
- return /* @__PURE__ */ n.jsx(n.Fragment, { children: c ? /* @__PURE__ */ n.jsxs(
837
+ return /* @__PURE__ */ a.jsx(a.Fragment, { children: c ? /* @__PURE__ */ a.jsxs(
838
838
  "div",
839
839
  {
840
- className: `${L.modal} ${L.white}`,
840
+ className: `${z.modal} ${z.white}`,
841
841
  children: [
842
- /* @__PURE__ */ n.jsx("div", { className: L.o, onClick: m }),
843
- /* @__PURE__ */ n.jsxs("div", { className: L.w, ref: u, children: [
844
- /* @__PURE__ */ n.jsxs("div", { className: L.h, children: [
845
- /* @__PURE__ */ n.jsx("div", { className: L.t, children: r }),
846
- /* @__PURE__ */ n.jsxs("div", { className: L.m, children: [
847
- i && /* @__PURE__ */ n.jsx("nav", { children: i.map((x, y) => /* @__PURE__ */ n.jsx(
842
+ /* @__PURE__ */ a.jsx("div", { className: z.o, onClick: p }),
843
+ /* @__PURE__ */ a.jsxs("div", { className: z.w, ref: u, children: [
844
+ /* @__PURE__ */ a.jsxs("div", { className: z.h, children: [
845
+ /* @__PURE__ */ a.jsx("div", { className: z.t, children: r }),
846
+ /* @__PURE__ */ a.jsxs("div", { className: z.m, children: [
847
+ s && /* @__PURE__ */ a.jsx("nav", { children: s.map((x, y) => /* @__PURE__ */ a.jsx(
848
848
  "span",
849
849
  {
850
850
  onClick: x.onClick,
@@ -853,24 +853,24 @@ const jr = ({ config: e }) => {
853
853
  },
854
854
  y
855
855
  )) }),
856
- v
856
+ m
857
857
  ] }),
858
- /* @__PURE__ */ n.jsx(
858
+ /* @__PURE__ */ a.jsx(
859
859
  "div",
860
860
  {
861
- className: L.x,
861
+ className: z.x,
862
862
  onClick: () => {
863
863
  f(!1);
864
864
  },
865
- children: /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n.jsx("path", { d: "M19.0005 4.99988L5.00045 18.9999M5.00045 4.99988L19.0005 18.9999", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" }) })
865
+ children: /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ a.jsx("path", { d: "M19.0005 4.99988L5.00045 18.9999M5.00045 4.99988L19.0005 18.9999", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" }) })
866
866
  }
867
867
  )
868
868
  ] }),
869
869
  e,
870
- a !== void 0 ? /* @__PURE__ */ n.jsx(
871
- Qt,
870
+ n !== void 0 ? /* @__PURE__ */ a.jsx(
871
+ sr,
872
872
  {
873
- label: String(a.name),
873
+ label: String(n.name),
874
874
  onClick: d
875
875
  }
876
876
  ) : ""
@@ -878,22 +878,22 @@ const jr = ({ config: e }) => {
878
878
  ]
879
879
  }
880
880
  ) : "" });
881
- }, Sr = (e) => {
882
- J.add(/* @__PURE__ */ n.jsx(Cr, { children: e }, String(Date.now())));
883
- }, Cr = ({ children: e }) => /* @__PURE__ */ n.jsx(n.Fragment, { children: e }), kr = ({ type: e, name: r, params: a }) => {
884
- let [i, l] = k.useState(null);
885
- return k.useEffect(() => {
886
- J.config(e, r, a, l);
887
- }, [a.id]), /* @__PURE__ */ n.jsx(n.Fragment, { children: i });
888
- }, Er = (e, r, a) => {
889
- J.config(e, r, a);
890
- }, Rr = { List: Kt, Scroll: Xt, Init: jr, Main: yr, Add: Sr, Icon: kr, Open: Er };
891
- let R = {};
892
- const h = {}, P = {}, qe = {};
893
- function wr(e, r) {
894
- if (R = e, localStorage.getItem("ssid")) {
895
- let i = sessionStorage.getItem("page");
896
- i ? (i = R.deCode(i), h.id = i.id, h.tab = i.tab, h.page = i.page, h.module = i.module, h.time = i.time, h.payment = { active: !0 }, h.module_admin = i.module_admin) : (h.id = 0, h.tab = "", h.page = "Main", h.module = h.module || "M05");
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
+ K.config(e, r, n, l);
887
+ }, [n.id]), /* @__PURE__ */ a.jsx(a.Fragment, { children: s });
888
+ }, $r = (e, r, n) => {
889
+ K.config(e, r, n);
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
+ let s = sessionStorage.getItem("page");
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",
@@ -902,16 +902,16 @@ function wr(e, r) {
902
902
  "user",
903
903
  "sett",
904
904
  "qder",
905
- "firm",
905
+ "c",
906
906
  "last",
907
907
  "auth",
908
908
  "port",
909
909
  "mark",
910
910
  "sort"
911
- ].forEach((i) => localStorage.removeItem(i)), ["page"].forEach((i) => sessionStorage.removeItem(i)), h.id = 0, h.tab = "", h.page = "Auth", h.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
- function Y() {
914
+ function M() {
915
915
  [
916
916
  "ssid",
917
917
  "menu",
@@ -919,7 +919,7 @@ function Y() {
919
919
  "user",
920
920
  "sett",
921
921
  "qder",
922
- "firm",
922
+ "c",
923
923
  "last",
924
924
  "auth",
925
925
  "port",
@@ -927,10 +927,10 @@ function Y() {
927
927
  "sort"
928
928
  ].forEach((e) => localStorage.removeItem(e)), ["page"].forEach((e) => sessionStorage.removeItem(e)), window.location.reload();
929
929
  }
930
- function Tr(e) {
930
+ function Fr(e) {
931
931
  e = e.split("/"), h.page = "Main", h.module = e[0], h.tab = e[1], h.id = 0, sessionStorage.setItem(
932
932
  "page",
933
- R.enCode({
933
+ E.enCode({
934
934
  module: h.module,
935
935
  page: h.page,
936
936
  tab: h.tab,
@@ -939,165 +939,198 @@ function Tr(e) {
939
939
  })
940
940
  ), P.page(h.page);
941
941
  }
942
- function Ir(e) {
942
+ function Mr(e) {
943
943
  return localStorage.setItem("ssid", e);
944
944
  }
945
- function Pr() {
945
+ function Dr() {
946
946
  let e = localStorage.getItem("ssid");
947
- return e !== "" && e !== "undefined" && e !== null ? localStorage.getItem("ssid") : (Y(), !1);
947
+ return e !== "" && e !== "undefined" && e !== null ? localStorage.getItem("ssid") : (M(), !1);
948
948
  }
949
- function Nr(e) {
949
+ function Ar(e) {
950
950
  return localStorage.setItem("auth", e);
951
951
  }
952
- function Or() {
952
+ function Lr() {
953
953
  let e = localStorage.getItem("auth");
954
- return e !== "" && e !== "undefined" && e !== null ? e : (Y(), !1);
954
+ return e !== "" && e !== "undefined" && e !== null ? e : (M(), !1);
955
955
  }
956
- function $r(e) {
957
- localStorage.setItem("port", R.enCode(e));
956
+ function zr(e) {
957
+ localStorage.setItem("port", E.enCode(e));
958
958
  }
959
- function Fr() {
959
+ function Br() {
960
960
  let e = localStorage.getItem("port");
961
961
  if (e !== "" && e !== "undefined" && e !== null) {
962
- let r = R.deCode(e);
963
- return r || Y(), r;
962
+ let r = E.deCode(e);
963
+ return r || M(), r;
964
964
  } else
965
- return Y(), !1;
965
+ return M(), !1;
966
966
  }
967
- function Mr() {
968
- const [e, r] = k.useState(Ke()), a = (i) => {
969
- r(i);
967
+ function Yr() {
968
+ const [e, r] = S.useState(rt()), n = (s) => {
969
+ r(s);
970
970
  };
971
- return P.page = a, [e];
971
+ return P.page = n, [e];
972
972
  }
973
- function Dr(e) {
974
- h.page = e, sessionStorage.setItem("page", R.enCode(h)), P.page(e);
973
+ function Wr(e) {
974
+ h.page = e, sessionStorage.setItem("page", E.enCode(h)), P.page(e);
975
975
  }
976
- function Ke() {
976
+ function rt() {
977
977
  return h.page;
978
978
  }
979
- function Ar() {
980
- const [e, r] = k.useState(Xe()), a = (i) => {
981
- r(i);
979
+ function Ur() {
980
+ const [e, r] = S.useState(nt()), n = (s) => {
981
+ r(s);
982
982
  };
983
- return P.module = a, [e];
983
+ return P.module = n, [e];
984
984
  }
985
- function Lr(e, r) {
986
- h.module = e, sessionStorage.setItem("page", R.enCode(h)), 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 Xe() {
988
+ function nt() {
989
989
  return h.module;
990
990
  }
991
- function zr(e) {
992
- const [r, a] = k.useState(le() || e), i = (l) => {
993
- a(l);
991
+ function Hr(e) {
992
+ const [r, n] = S.useState(de() || e), s = (l) => {
993
+ n(l);
994
994
  };
995
- return P.tabs = i, [r];
995
+ return P.tabs = s, [r];
996
996
  }
997
- function Yr(e, r) {
998
- h.tab = e, sessionStorage.setItem("page", R.enCode(h)), 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 le() {
1000
+ function de() {
1001
1001
  return h.tab;
1002
1002
  }
1003
- function Br() {
1004
- const [e, r] = k.useState(h.id), a = (i) => {
1005
- r(i);
1003
+ function Gr() {
1004
+ const [e, r] = S.useState(h.id), n = (s) => {
1005
+ r(s);
1006
1006
  };
1007
- return P.id = a, [e];
1007
+ return P.id = n, [e];
1008
1008
  }
1009
- function Wr(e) {
1009
+ function Jr(e) {
1010
1010
  P.id = e;
1011
1011
  }
1012
- function Vr(e, r) {
1013
- h.id = e, sessionStorage.setItem("page", R.enCode(h)), 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 Ur() {
1015
+ function Kr() {
1016
1016
  return h.id;
1017
1017
  }
1018
- function Hr(e, r, a) {
1019
- h.module = e, h.id = a, h.tab = r, sessionStorage.setItem("page", R.enCode(h)), 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 qr(e, r) {
1022
- qe.data[e] = r, localStorage.setItem("sett", R.enCode(qe.data));
1021
+ function Qr(e, r) {
1022
+ Ke.data[e] = r, localStorage.setItem("sett", E.enCode(Ke.data));
1023
1023
  }
1024
- function Gr(e) {
1024
+ function en(e) {
1025
1025
  let r = localStorage.getItem("sett");
1026
- return r === null ? {} : (r = R.deCode(r), r ? e !== void 0 ? r[e] : r : Y());
1026
+ return r === null ? {} : (r = E.deCode(r), r ? e !== void 0 ? r[e] : r : M());
1027
1027
  }
1028
- function Jr(e) {
1029
- localStorage.setItem("menu", R.enCode({ data: e }));
1028
+ function tn(e) {
1029
+ localStorage.setItem("menu", E.enCode({ data: e }));
1030
1030
  }
1031
- function Zr() {
1031
+ function rn() {
1032
1032
  let e = localStorage.getItem("menu");
1033
1033
  if (e !== "" && e !== "undefined" && e !== null) {
1034
- let r = localStorage.getItem("menu"), a = R.deCode(r);
1035
- a || Y();
1036
- const i = (v, c) => {
1034
+ let r = localStorage.getItem("menu"), n = E.deCode(r);
1035
+ n || M();
1036
+ const s = (m, c) => {
1037
1037
  let f = c + "";
1038
- for (; f.length < v; )
1038
+ for (; f.length < m; )
1039
1039
  f = "0" + f;
1040
1040
  return f;
1041
1041
  };
1042
- return a.data.split(",").map((v) => "M" + i(2, v));
1042
+ return n.data.split(",").map((m) => "M" + s(2, m));
1043
1043
  } else
1044
- return Y(), !1;
1044
+ return M(), !1;
1045
1045
  }
1046
- function Kr(e) {
1046
+ function nn(e) {
1047
1047
  P.sort = e;
1048
1048
  }
1049
- function Qe(e) {
1049
+ function at(e) {
1050
1050
  let r = localStorage.getItem("sort");
1051
- r = r === null ? {} : R.deCode(r), r[le()] = e, localStorage.setItem("sort", R.enCode(r));
1051
+ r = r === null ? {} : E.deCode(r), r[de()] = e, localStorage.setItem("sort", E.enCode(r));
1052
1052
  }
1053
- function be() {
1053
+ function Se() {
1054
1054
  let e = localStorage.getItem("sort");
1055
- return e === null ? {} : (e = R.deCode(e), e = e[le()], 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
+ }
1057
+ function an(e) {
1058
+ localStorage.setItem("c", E.enCode(e));
1059
+ }
1060
+ function sn(e) {
1061
+ let r = localStorage.getItem("c");
1062
+ if (r !== "" && r !== "undefined" && r !== null) {
1063
+ let n = E.deCode(r);
1064
+ return n || M(), e === void 0 ? n : n[e];
1065
+ } else
1066
+ return M(), !1;
1067
+ }
1068
+ function on(e) {
1069
+ H.data = e, localStorage.setItem("qder", E.enCode(H.data));
1070
+ }
1071
+ function cn(e, r) {
1072
+ if (!H.data) {
1073
+ let n = localStorage.getItem("qder");
1074
+ n && (H.data = E.deCode(n));
1075
+ }
1076
+ return e === void 0 && r === void 0 ? H.data : e !== void 0 && r === void 0 ? H.data[e] : H.data[e][r];
1077
+ }
1078
+ function ln(e) {
1079
+ tt.data = e;
1080
+ }
1081
+ function un(e) {
1082
+ return tt.data[e];
1083
+ }
1084
+ function fn(e) {
1085
+ h.payment = e;
1086
+ }
1087
+ function dn() {
1088
+ return h.payment;
1056
1089
  }
1057
- const Xr = ({ children: e, config: r, crypto: a, ...i }) => wr(a, /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1058
- /* @__PURE__ */ n.jsx(Rr.Init, { config: r.modal }),
1059
- /* @__PURE__ */ n.jsx(Dt, {}),
1060
- /* @__PURE__ */ n.jsx(Gt, {}),
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, {}),
1061
1094
  e
1062
- ] })), Qr = ({ children: e, ...r }) => /* @__PURE__ */ n.jsx("menu", { children: e }), en = ({ children: e, ...r }) => /* @__PURE__ */ n.jsxs("header", { children: [
1095
+ ] })), pn = ({ children: e, ...r }) => /* @__PURE__ */ a.jsx("menu", { children: e }), vn = ({ children: e, ...r }) => /* @__PURE__ */ a.jsxs("header", { children: [
1063
1096
  "xz",
1064
1097
  e
1065
- ] }), tn = "_payment_1lxfv_1", rn = {
1066
- payment: tn
1098
+ ] }), hn = "_payment_1lxfv_1", gn = {
1099
+ payment: hn
1067
1100
  };
1068
- function nn() {
1069
- let [e, r] = k.useState({});
1070
- return !e.active && !e.payment ? "" : /* @__PURE__ */ n.jsx("div", { className: rn.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
1071
- }
1072
- const Qn = ({ children: e, ...r }) => {
1073
- let a = {};
1074
- return a.enCode = (i) => JSON.stringify(i).toString(), a.deCode = (i) => JSON.parse(i), /* @__PURE__ */ n.jsxs("div", { className: "app", children: [
1075
- /* @__PURE__ */ n.jsx(nn, {}),
1076
- /* @__PURE__ */ n.jsx(Qr, {}),
1077
- /* @__PURE__ */ n.jsx(en, {}),
1078
- /* @__PURE__ */ n.jsx(Xr, { config: { modal: {} }, crypto: a }),
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
+ }
1105
+ const ba = ({ children: e, ...r }) => {
1106
+ let n = {};
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(_n, {}),
1109
+ /* @__PURE__ */ a.jsx(pn, {}),
1110
+ /* @__PURE__ */ a.jsx(vn, {}),
1111
+ /* @__PURE__ */ a.jsx(mn, { config: { modal: {} }, crypto: n }),
1079
1112
  e
1080
1113
  ] });
1081
- }, an = ({ list: e, onClick: r, active: a, size: i, view: l }) => /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [i, l].join(" "), children: e.map((v) => /* @__PURE__ */ n.jsx(
1082
- sn,
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,
1083
1116
  {
1084
1117
  onClick: r,
1085
- active: a,
1086
- label: v.label,
1087
- link: v.link
1118
+ active: n,
1119
+ label: m.label,
1120
+ link: m.link
1088
1121
  },
1089
- v.link
1090
- )) }) }), sn = ({ onClick: e, label: r, link: a, active: i }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(i === a), onClick: () => e(a), children: r });
1091
- an.defaultProps = { size: "M", view: "H" };
1092
- const on = ({
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 = ({
1093
1126
  title: e = "",
1094
1127
  button: r,
1095
- description: a = "",
1096
- children: i
1097
- }) => /* @__PURE__ */ n.jsxs("fieldset", { children: [
1098
- e && /* @__PURE__ */ n.jsxs("legend", { children: [
1128
+ description: n = "",
1129
+ children: s
1130
+ }) => /* @__PURE__ */ a.jsxs("fieldset", { children: [
1131
+ e && /* @__PURE__ */ a.jsxs("legend", { children: [
1099
1132
  e,
1100
- r && /* @__PURE__ */ n.jsx(
1133
+ r && /* @__PURE__ */ a.jsx(
1101
1134
  "div",
1102
1135
  {
1103
1136
  role: "button-outline",
@@ -1107,23 +1140,23 @@ const on = ({
1107
1140
  ),
1108
1141
  " "
1109
1142
  ] }),
1110
- /* @__PURE__ */ n.jsx("ul", { children: i }),
1111
- a && /* @__PURE__ */ n.jsx("article", { children: a })
1112
- ] }), cn = "_setting_1r0pc_2", ln = {
1113
- setting: cn
1114
- }, un = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: ln.setting, children: e }), fn = ({ label: e, children: r }) => {
1115
- let [a, i] = k.useState(!1);
1116
- return /* @__PURE__ */ n.jsxs("li", { "data-item": "accordion", children: [
1117
- /* @__PURE__ */ n.jsxs("dl", { onClick: () => i(!a), children: [
1118
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1119
- /* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx("div", { "data-close": String(a) }) })
1143
+ /* @__PURE__ */ a.jsx("ul", { children: s }),
1144
+ n && /* @__PURE__ */ a.jsx("article", { children: n })
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
+ return /* @__PURE__ */ a.jsxs("li", { "data-item": "accordion", children: [
1150
+ /* @__PURE__ */ a.jsxs("dl", { onClick: () => s(!n), children: [
1151
+ /* @__PURE__ */ a.jsx("dt", { children: e }),
1152
+ /* @__PURE__ */ a.jsx("dd", { children: /* @__PURE__ */ a.jsx("div", { "data-close": String(n) }) })
1120
1153
  ] }),
1121
- a && /* @__PURE__ */ n.jsx("div", { children: r })
1154
+ n && /* @__PURE__ */ a.jsx("div", { children: r })
1122
1155
  ] });
1123
- }, dn = ({ label: e, onClick: r, button: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1124
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1125
- /* @__PURE__ */ n.jsx("dd", { role: "button", onClick: () => r(), children: a })
1126
- ] }) }), mn = ({ active: e, onClick: r }) => (console.log(e), e = typeof e == "number" ? !!e : e, /* @__PURE__ */ n.jsx(
1156
+ }, kn = ({ label: e, onClick: r, button: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1157
+ /* @__PURE__ */ a.jsx("dt", { children: e }),
1158
+ /* @__PURE__ */ a.jsx("dd", { role: "button", onClick: () => r(), children: n })
1159
+ ] }) }), Rn = ({ active: e, onClick: r }) => (console.log(e), e = typeof e == "number" ? !!e : e, /* @__PURE__ */ a.jsx(
1127
1160
  "div",
1128
1161
  {
1129
1162
  role: "switch",
@@ -1132,53 +1165,53 @@ const on = ({
1132
1165
  },
1133
1166
  "aria-checked": e ? "true" : "false"
1134
1167
  }
1135
- )), pn = { Switch: mn }, vn = ({ label: e, onClick: r, active: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1136
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1137
- /* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx(pn.Switch, { onClick: r, active: a }) })
1138
- ] }) }), hn = ({ label: e, active: r, options: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1139
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1140
- /* @__PURE__ */ n.jsx("dd", { role: "info", children: r })
1141
- ] }) }), gn = ({ label: e, info: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1142
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1143
- /* @__PURE__ */ n.jsx("dd", { role: "info", children: r })
1144
- ] }) }), _n = ({ label: e, children: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1145
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1146
- /* @__PURE__ */ n.jsx("dd", { children: r })
1147
- ] }) }), xn = ({ label: e, children: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1148
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1149
- /* @__PURE__ */ n.jsx("dd", { children: r })
1150
- ] }) }), bn = { Accordion: fn, Button: dn, Switch: vn, Info: gn, Select: hn, Component: _n, Node: xn };
1151
- function et({ list: e, onClick: r, active: a, size: i, view: l }) {
1152
- return /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [i, l].join(" "), children: e.map((v) => /* @__PURE__ */ n.jsx(
1153
- jn,
1168
+ )), wn = { Switch: Rn }, In = ({ label: e, onClick: r, active: n }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1169
+ /* @__PURE__ */ a.jsx("dt", { children: e }),
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
+ /* @__PURE__ */ a.jsx("dt", { children: e }),
1173
+ /* @__PURE__ */ a.jsx("dd", { role: "info", children: r })
1174
+ ] }) }), Pn = ({ label: e, info: r }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1175
+ /* @__PURE__ */ a.jsx("dt", { children: e }),
1176
+ /* @__PURE__ */ a.jsx("dd", { role: "info", children: r })
1177
+ ] }) }), $n = ({ label: e, children: r }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1178
+ /* @__PURE__ */ a.jsx("dt", { children: e }),
1179
+ /* @__PURE__ */ a.jsx("dd", { children: r })
1180
+ ] }) }), On = ({ label: e, children: r }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsxs("dl", { children: [
1181
+ /* @__PURE__ */ a.jsx("dt", { children: e }),
1182
+ /* @__PURE__ */ a.jsx("dd", { children: r })
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,
1154
1187
  {
1155
1188
  onClick: r,
1156
- active: a,
1157
- label: v.label,
1158
- link: v.link
1189
+ active: n,
1190
+ label: m.label,
1191
+ link: m.link
1159
1192
  },
1160
- v.link
1193
+ m.link
1161
1194
  )) }) });
1162
1195
  }
1163
- const jn = ({ onClick: e, label: r, link: a, active: i }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(i === a), onClick: () => e(a), children: r });
1164
- et.defaultProps = { size: "M", view: "H" };
1165
- const ea = { Section: on, Main: un, Item: bn, Tabs: et }, yn = "_h_158b4_1", Sn = "_t_158b4_11", Cn = "_s_158b4_31", kn = "_u_158b4_40", En = "_o_158b4_47", Rn = "_l_158b4_56", wn = "_hh_158b4_63", U = {
1166
- h: yn,
1167
- t: Sn,
1168
- s: Cn,
1169
- u: kn,
1170
- o: En,
1171
- l: Rn,
1172
- hh: wn
1173
- }, Ge = ({ title: e, children: r }) => /* @__PURE__ */ n.jsxs("div", { className: U.h, children: [
1174
- /* @__PURE__ */ n.jsx("div", { className: U.t, children: e }),
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
+ /* @__PURE__ */ a.jsx("div", { className: q.t, children: e }),
1175
1208
  r
1176
- ] }), Tn = ({ children: e, title: r }) => /* @__PURE__ */ n.jsxs("div", { className: U.o, children: [
1177
- r && /* @__PURE__ */ n.jsx("div", { className: U.hh, children: r }),
1209
+ ] }), Wn = ({ children: e, title: r }) => /* @__PURE__ */ a.jsxs("div", { className: q.o, children: [
1210
+ r && /* @__PURE__ */ a.jsx("div", { className: q.hh, children: r }),
1178
1211
  e
1179
- ] }), In = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: U.u, children: e }), Je = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: U.s, children: e }), Ze = ({ children: e, ...r }) => /* @__PURE__ */ n.jsx("div", { className: U.l, children: e }), ta = { Header: Ge, Section: Je, List: Ze, U: In, L: Ze, O: Tn, S: Je, H: Ge }, ra = { Send: At, Error: Lt, Remark: Yt, Success: zt, Copy: Bt }, na = { Send: Zt };
1180
- function Pn() {
1181
- return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ n.jsx(
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
+ return /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ a.jsx(
1182
1215
  "path",
1183
1216
  {
1184
1217
  d: "M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",
@@ -1186,46 +1219,54 @@ function Pn() {
1186
1219
  }
1187
1220
  ) });
1188
1221
  }
1189
- const aa = { Logo: Pn }, sa = {
1190
- setSSID: Ir,
1191
- getSSID: Pr,
1192
- getPORT: Fr,
1193
- setPORT: $r,
1194
- setAUTH: Nr,
1195
- getAUTH: Or,
1196
- Logaut: Y,
1197
- Start: Tr,
1198
- setSetting: qr,
1199
- getSetting: Gr,
1200
- setMenu: Jr,
1201
- getMenu: Zr,
1202
- useSort: Kr,
1203
- setSort: Qe,
1204
- getSort: be
1205
- }, ia = { Path: Hr, setPage: Dr, getPage: Ke, usePage: Mr, setModule: Lr, getModule: Xe, useModule: Ar, setTabs: Yr, getTabs: le, useTabs: zr, useId: Br, setId: Vr, subId: Wr, getId: Ur }, Nn = "_sort_1yrvt_1", On = {
1206
- sort: Nn
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
+ Logaut: M,
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
1207
1248
  };
1208
- let ue = {};
1209
- function $n(e, r) {
1249
+ let me = {};
1250
+ function Gn(e, r) {
1210
1251
  switch (r.type) {
1211
1252
  case "active":
1212
- let a = "<";
1213
- return e.active === r.data && (a = e.sort === "<" ? ">" : "<"), ue.get({ active: r.data, sort: a }, !1), Qe({ active: r.data, sort: a }), {
1253
+ let n = "<";
1254
+ return e.active === r.data && (n = e.sort === "<" ? ">" : "<"), me.get({ active: r.data, sort: n }, !1), at({ active: r.data, sort: n }), {
1214
1255
  ...e,
1215
1256
  active: r.data,
1216
- sort: a
1257
+ sort: n
1217
1258
  };
1218
1259
  default:
1219
1260
  throw new Error();
1220
1261
  }
1221
1262
  }
1222
- function Fn() {
1223
- const [e, r] = k.useReducer(
1224
- $n,
1225
- be() === void 0 ? { active: 1, sort: "<" } : be()
1263
+ function Jn() {
1264
+ const [e, r] = S.useReducer(
1265
+ Gn,
1266
+ Se() === void 0 ? { active: 1, sort: "<" } : Se()
1226
1267
  );
1227
- return /* @__PURE__ */ n.jsxs("div", { className: On.sort, children: [
1228
- /* @__PURE__ */ n.jsx(
1268
+ return /* @__PURE__ */ a.jsxs("div", { className: qn.sort, children: [
1269
+ /* @__PURE__ */ a.jsx(
1229
1270
  "i",
1230
1271
  {
1231
1272
  "data-color": e.active === 1 ? "_506290" : "_b5b9cc",
@@ -1233,7 +1274,7 @@ function Fn() {
1233
1274
  onClick: () => r({ type: "active", data: 1 })
1234
1275
  }
1235
1276
  ),
1236
- /* @__PURE__ */ n.jsx(
1277
+ /* @__PURE__ */ a.jsx(
1237
1278
  "i",
1238
1279
  {
1239
1280
  "data-color": e.active === 2 ? "_506290" : "_b5b9cc",
@@ -1241,7 +1282,7 @@ function Fn() {
1241
1282
  onClick: () => r({ type: "active", data: 2 })
1242
1283
  }
1243
1284
  ),
1244
- /* @__PURE__ */ n.jsx(
1285
+ /* @__PURE__ */ a.jsx(
1245
1286
  "i",
1246
1287
  {
1247
1288
  "data-color": e.active === 3 ? "_506290" : "_b5b9cc",
@@ -1251,38 +1292,38 @@ function Fn() {
1251
1292
  )
1252
1293
  ] });
1253
1294
  }
1254
- function Mn(e) {
1255
- ue.get = e;
1295
+ function Zn(e) {
1296
+ me.get = e;
1256
1297
  }
1257
- function Dn(e) {
1258
- ue.set(e);
1298
+ function Kn(e) {
1299
+ me.set(e);
1259
1300
  }
1260
- function An(e, r, a) {
1261
- let i = 1, l = 0, v = {}, c = 50;
1262
- v[i] = [];
1301
+ function Xn(e, r, n) {
1302
+ let s = 1, l = 0, m = {}, c = 50;
1303
+ m[s] = [];
1263
1304
  let f = {}, u = "s1a";
1264
- 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), a.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) {
1265
1306
  case 1:
1266
- u = a.sort === ">" ? "s1d" : "s1a";
1307
+ u = n.sort === ">" ? "s1d" : "s1a";
1267
1308
  break;
1268
1309
  case 2:
1269
- u = a.sort === ">" ? "s2d" : "s2a";
1310
+ u = n.sort === ">" ? "s2d" : "s2a";
1270
1311
  break;
1271
1312
  case 3:
1272
- u = a.sort === ">" ? "s3d" : "s3a";
1313
+ u = n.sort === ">" ? "s3d" : "s3a";
1273
1314
  break;
1274
1315
  }
1275
1316
  return r.sort(f[u]).forEach((d) => {
1276
- l++, l <= c || (i++, l = 1, v[i] = []), v[i].push(e[d.id]);
1277
- }), { data: v };
1317
+ l++, l <= c || (s++, l = 1, m[s] = []), m[s].push(e[d.id]);
1318
+ }), { data: m };
1278
1319
  }
1279
- function Ln(e) {
1280
- ue.count(e);
1320
+ function Qn(e) {
1321
+ me.count(e);
1281
1322
  }
1282
- const oa = { Init: Fn, useValue: Mn, Set: Dn, Run: An, Count: Ln };
1283
- function zn(e, r) {
1323
+ const wa = { Init: Jn, useValue: Zn, Set: Kn, Run: Xn, Count: Qn };
1324
+ function ea(e, r) {
1284
1325
  r === void 0 ? (r = e, e = /* @__PURE__ */ new Date()) : e = new Date(e);
1285
- let a = {
1326
+ let n = {
1286
1327
  yyyy: e.getFullYear(),
1287
1328
  yy: ("" + e.getFullYear()).slice(-2),
1288
1329
  mm: ("0" + (e.getMonth() + 1)).slice(-2),
@@ -1293,27 +1334,27 @@ function zn(e, r) {
1293
1334
  __: "      ",
1294
1335
  _: "    "
1295
1336
  };
1296
- for (const i in a)
1297
- r = r.replace(i, a[i]);
1337
+ for (const s in n)
1338
+ r = r.replace(s, n[s]);
1298
1339
  return r;
1299
1340
  }
1300
- function Yn(e) {
1301
- let r = ["Января", "Февраля", "Марта", "Апреля", "Мая", "Июня", "Июля", "Августа", "Сентября", "Октября", "Ноября", "Декабря"], a = new Date(e);
1302
- return { day: ("" + a.getFullYear()).slice(-2) + "" + ("0" + (a.getMonth() + 1)).slice(-2) + ("0" + a.getDate()).slice(-2), name: a.getDate() + " " + r[a.getMonth()] };
1303
- }
1304
- const Bn = (e) => {
1305
- function r(F, A) {
1306
- var B, ne, H;
1307
- F = F ?? "", A = A ?? 1;
1308
- for (var B = [], H = 0, ne = F.length; H < ne; )
1309
- B.push(F.slice(H, H += A));
1310
- return B;
1341
+ function ta(e) {
1342
+ let r = ["Января", "Февраля", "Марта", "Апреля", "Мая", "Июня", "Июля", "Августа", "Сентября", "Октября", "Ноября", "Декабря"], n = new Date(e);
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
+ }
1345
+ const ra = (e) => {
1346
+ function r(F, L) {
1347
+ var W, se, G;
1348
+ F = F ?? "", L = L ?? 1;
1349
+ for (var W = [], G = 0, se = F.length; G < se; )
1350
+ W.push(F.slice(G, G += L));
1351
+ return W;
1311
1352
  }
1312
- function a(F, A) {
1313
- var B = [2, 0, 1, 1, 1, 2];
1314
- return A[F > 4 && F < 20 ? 2 : B[Math.min(F, 5)]];
1353
+ function n(F, L) {
1354
+ var W = [2, 0, 1, 1, 1, 2];
1355
+ return L[F > 4 && F < 20 ? 2 : W[Math.min(F, 5)]];
1315
1356
  }
1316
- var i = {
1357
+ var s = {
1317
1358
  null: "ноль",
1318
1359
  a1: [
1319
1360
  "один",
@@ -1375,42 +1416,42 @@ const Bn = (e) => {
1375
1416
  u3: ["тысяча", "тысячи", "тысяч"],
1376
1417
  u2: ["миллион", "миллиона", "миллионов"],
1377
1418
  u1: ["миллиард", "миллиарда", "миллиардов"]
1378
- }, l, v, c, f, $, u, d, Z, m, x, y, T;
1379
- m = parseFloat(e).toFixed(2).split("."), u = m[0], f = m[1];
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];
1380
1421
  var O = 12 - u.length;
1381
1422
  if (O < 0)
1382
1423
  return !1;
1383
- for (var Z = []; O--; )
1384
- Z.push("0");
1385
- u = Z.join("") + u;
1386
- var $ = [];
1424
+ for (var X = []; O--; )
1425
+ X.push("0");
1426
+ u = X.join("") + u;
1427
+ var N = [];
1387
1428
  if (u > 0) {
1388
1429
  x = r(u, 3);
1389
- for (var I = -1; I < x.length; I++)
1390
- if (d = x[I], d > 0 && (y = r(d, 1), l = parseInt(y[0]), v = parseInt(y[1]), c = parseInt(y[2]), $.push(i.a100[l - 1]), T = I + 1 == 3 ? "a2" : "a1", v > 1 ? $.push(
1391
- i.a20[v - 2] + (c > 0 ? " " + i[T][c - 1] : "")
1392
- ) : $.push(
1393
- v > 0 ? i.a10[c] : i[T][c - 1]
1394
- ), x.length > I + 1)) {
1395
- var E = i["u" + (I + 1)];
1396
- $.push(a(d, E));
1430
+ for (var T = -1; T < x.length; T++)
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
+ ), x.length > T + 1)) {
1436
+ var R = s["u" + (T + 1)];
1437
+ N.push(n(d, R));
1397
1438
  }
1398
1439
  } else
1399
- $.push(i.null);
1400
- return $.push(a(u, i.ur)), $.push(f + " " + a(f, i.uc)), $.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();
1401
1442
  };
1402
- function Wn(e) {
1403
- let r = -1, a = [" kB", " MB", " GB", " TB", "PB", "EB", "ZB", "YB"];
1443
+ function na(e) {
1444
+ let r = -1, n = [" kB", " MB", " GB", " TB", "PB", "EB", "ZB", "YB"];
1404
1445
  do
1405
1446
  e = e / 1024, r++;
1406
1447
  while (e > 1024);
1407
- return Math.max(e, 0.1).toFixed(1) + a[r];
1448
+ return Math.max(e, 0.1).toFixed(1) + n[r];
1408
1449
  }
1409
- function Vn(e) {
1450
+ function aa(e) {
1410
1451
  let r = {};
1411
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];
1412
1453
  }
1413
- function Un(e, r, a, i) {
1454
+ function sa(e, r, n, s) {
1414
1455
  let l = {
1415
1456
  sexM: "m",
1416
1457
  sexF: "f",
@@ -1534,22 +1575,22 @@ function Un(e, r, a, i) {
1534
1575
  if (d === this.gcaseNom)
1535
1576
  return c;
1536
1577
  if (c.match(/[-]/)) {
1537
- for (var m = c.split("-"), x = 0, y = m.length; x < y; x++)
1538
- m[x] = this.word(m[x], f, u, d);
1539
- 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("-");
1540
1581
  }
1541
1582
  if (c.match(/^[А-ЯЁ]\.?$/i))
1542
1583
  return c;
1543
1584
  this.init();
1544
- var T = this.rules[u];
1585
+ var I = this.rules[u];
1545
1586
  let O;
1546
- return T.exceptions && (O = this.pick(c, f, d, T.exceptions, !0), O) ? O : (O = this.pick(c, f, d, T.suffixes, !1), O || c);
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);
1547
1588
  },
1548
1589
  // выбираем из списка правил первое подходящее и применяем
1549
- pick: function(c, f, u, d, m) {
1590
+ pick: function(c, f, u, d, p) {
1550
1591
  let x = c.toLowerCase();
1551
- for (var y = 0, T = d.length; y < T; y++)
1552
- if (this.ruleMatch(x, f, d[y], m))
1592
+ for (var y = 0, I = d.length; y < I; y++)
1593
+ if (this.ruleMatch(x, f, d[y], p))
1553
1594
  return this.applyMod(c, u, d[y]);
1554
1595
  return !1;
1555
1596
  },
@@ -1557,11 +1598,11 @@ function Un(e, r, a, i) {
1557
1598
  ruleMatch: function(c, f, u, d) {
1558
1599
  if (u.sex === this.sexM && f === this.sexF || u.sex === this.sexF && f !== this.sexF)
1559
1600
  return !1;
1560
- for (var m = 0, x = u.test.length; m < x; m++) {
1601
+ for (var p = 0, x = u.test.length; p < x; p++) {
1561
1602
  var y = d ? c : c.substr(
1562
- Math.max(c.length - u.test[m].length, 0)
1603
+ Math.max(c.length - u.test[p].length, 0)
1563
1604
  );
1564
- if (y === u.test[m])
1605
+ if (y === u.test[p])
1565
1606
  return !0;
1566
1607
  }
1567
1608
  return !1;
@@ -1589,8 +1630,8 @@ function Un(e, r, a, i) {
1589
1630
  d = u.mods[4];
1590
1631
  break;
1591
1632
  }
1592
- for (var m = 0, x = d.length; m < x; m++) {
1593
- var y = d.substr(m, 1);
1633
+ for (var p = 0, x = d.length; p < x; p++) {
1634
+ var y = d.substr(p, 1);
1594
1635
  switch (y) {
1595
1636
  case ".":
1596
1637
  break;
@@ -1619,14 +1660,14 @@ function Un(e, r, a, i) {
1619
1660
  middleName: (c) => l.word(l.mn, l.sex, "middleName", c)
1620
1661
  };
1621
1662
  if (typeof r > "u") {
1622
- var v = e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);
1623
- if (!v)
1663
+ var m = e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);
1664
+ if (!m)
1624
1665
  return "Cannot parse supplied name";
1625
- v[5] && v[3].match(/(ич|на)$/) && !v[5].match(/(ич|на)$/) ? (e = v[5], r = v[1], a = v[3], l.fullNameSurnameLast = !0) : (e = v[1], r = v[3], a = v[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]);
1626
1667
  }
1627
- return l.ln = e, l.fn = r || "", l.mn = a || "", l.sex = i || l.getSex(), l;
1668
+ return l.ln = e, l.fn = r || "", l.mn = n || "", l.sex = s || l.getSex(), l;
1628
1669
  }
1629
- function Hn(e) {
1670
+ function oa(e) {
1630
1671
  let r = e.split(" ");
1631
1672
  switch (r.length) {
1632
1673
  case 2:
@@ -1637,7 +1678,7 @@ function Hn(e) {
1637
1678
  return e;
1638
1679
  }
1639
1680
  }
1640
- function qn(e) {
1681
+ function ia(e) {
1641
1682
  return {
1642
1683
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
1643
1684
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
@@ -1653,50 +1694,94 @@ function qn(e) {
1653
1694
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
1654
1695
  }[e];
1655
1696
  }
1656
- function Gn(e) {
1697
+ function ca(e) {
1657
1698
  return parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
1658
1699
  }
1659
- function Jn(e, r) {
1660
- let a = r + "";
1661
- for (; a.length < e; )
1662
- a = "0" + a;
1663
- return a;
1700
+ function la(e, r) {
1701
+ let n = r + "";
1702
+ for (; n.length < e; )
1703
+ n = "0" + n;
1704
+ return n;
1664
1705
  }
1665
- function Zn(e, r, a) {
1666
- let i = r / e * a;
1667
- return (typeof i != "number" || i === 1 / 0) && (i = 0), parseFloat(i).toFixed(1);
1706
+ function ua(e, r, n) {
1707
+ let s = r / e * n;
1708
+ return (typeof s != "number" || s === 1 / 0) && (s = 0), parseFloat(s).toFixed(1);
1668
1709
  }
1669
- function Kn(e) {
1710
+ function fa(e) {
1670
1711
  return e.charAt(0).toUpperCase() + e.slice(1);
1671
1712
  }
1672
- const ca = {
1673
- Date: zn,
1674
- MoneyString: Bn,
1675
- DateSort: Yn,
1676
- Size: Wn,
1677
- TypeFiles: Vn,
1678
- Cases: Un,
1679
- Initials: Hn,
1680
- Month: qn,
1681
- Money: Gn,
1682
- Number: Jn,
1683
- Percent: Zn,
1684
- CapitalizeFirstLetter: Kn
1685
- };
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 = {};
1727
+ function da(e, r) {
1728
+ Ce[e] = r;
1729
+ }
1730
+ function ma(e, r) {
1731
+ Ce[e] !== void 0 && Ce[e](r);
1732
+ }
1733
+ const B = {};
1734
+ function pa(e, 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
+ }
1767
+ }
1768
+ const Pa = { useMenu: ga, setUpdate: _a };
1686
1769
  export {
1687
- pn as Action,
1688
- na as Alert,
1689
- Qn as Browser,
1690
- Qt as Button,
1691
- ta as Component,
1692
- ca as Format,
1693
- aa as Icon,
1694
- Xr as Init,
1695
- Rr as Modal,
1696
- ra as Notice,
1697
- ia as Router,
1698
- ea as Setting,
1699
- sa as Store,
1700
- an as Tabs,
1701
- oa 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
1702
1787
  };