elcrm 0.3.5 → 0.3.7

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
2
  import k from "react";
3
- var xe = { exports: {} }, Q = {};
3
+ var je = { 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 Ge;
14
+ function Nt() {
15
+ if (Ge)
16
+ return te;
17
+ Ge = 1;
18
+ var e = k, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
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);
20
+ var m, 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
22
  for (m in u)
23
- i.call(u, m) && !v.hasOwnProperty(m) && (x[m] = u[m]);
23
+ s.call(u, m) && !h.hasOwnProperty(m) && (x[m] = u[m]);
24
24
  if (f && f.defaultProps)
25
25
  for (m in u = f.defaultProps, u)
26
26
  x[m] === void 0 && (x[m] = u[m]);
27
- return { $$typeof: r, type: f, key: y, ref: T, props: x, _owner: l.current };
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,66 +38,66 @@ 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 Je;
42
+ function Ot() {
43
+ return Je || (Je = 1, process.env.NODE_ENV !== "production" && function() {
44
+ var e = k, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), N = Symbol.iterator, X = "@@iterator";
45
+ function O(t) {
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 i = N && t[N] || t[X];
49
+ return typeof i == "function" ? i : 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++)
54
+ for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
55
55
  o[p - 1] = arguments[p];
56
56
  F("error", t, o);
57
57
  }
58
58
  }
59
- function F(t, s, o) {
59
+ function F(t, i, o) {
60
60
  {
61
- var p = I.ReactDebugCurrentFrame, b = p.getStackAddendum();
62
- b !== "" && (s += "%s", o = o.concat([b]));
61
+ var p = T.ReactDebugCurrentFrame, b = p.getStackAddendum();
62
+ b !== "" && (i += "%s", o = o.concat([b]));
63
63
  var j = o.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: " + i), Function.prototype.apply.call(console[t], console, j);
67
67
  }
68
68
  }
69
- var A = !1, Y = !1, U = !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 || Y || U || 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, st = !1, Ce;
70
+ Ce = Symbol.for("react.module.reference");
71
+ function it(t) {
72
+ return !!(typeof t == "string" || typeof t == "function" || t === s || t === h || st || t === l || t === d || t === m || se || t === I || L || W || G || typeof t == "object" && t !== null && (t.$$typeof === y || t.$$typeof === x || t.$$typeof === c || t.$$typeof === f || t.$$typeof === u || // This needs to include all possible module reference object
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 === Ce || t.getModuleId !== void 0));
77
77
  }
78
- function nt(t, s, o) {
78
+ function ot(t, i, o) {
79
79
  var p = t.displayName;
80
80
  if (p)
81
81
  return p;
82
- var b = s.displayName || s.name || "";
82
+ var b = i.displayName || i.name || "";
83
83
  return b !== "" ? o + "(" + b + ")" : o;
84
84
  }
85
- function ye(t) {
85
+ function Ee(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 h:
101
101
  return "Profiler";
102
102
  case l:
103
103
  return "StrictMode";
@@ -109,20 +109,20 @@ function It() {
109
109
  if (typeof t == "object")
110
110
  switch (t.$$typeof) {
111
111
  case f:
112
- var s = t;
113
- return ye(s) + ".Consumer";
112
+ var i = t;
113
+ return Ee(i) + ".Consumer";
114
114
  case c:
115
115
  var o = t;
116
- return ye(o._context) + ".Provider";
116
+ return Ee(o._context) + ".Provider";
117
117
  case u:
118
- return nt(t, t.render, "ForwardRef");
118
+ return ot(t, t.render, "ForwardRef");
119
119
  case x:
120
120
  var p = t.displayName || null;
121
- return p !== null ? p : M(t.type) || "Memo";
121
+ return p !== null ? p : 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 B = Object.assign, K = 0, Se, Ce, ke, Ee, Re, we, Te;
134
- function Ie() {
133
+ var V = Object.assign, Q = 0, ke, Re, we, Ie, Te, Pe, $e;
134
+ function Ne() {
135
135
  }
136
- Ie.__reactDisabledLog = !0;
137
- function at() {
136
+ Ne.__reactDisabledLog = !0;
137
+ function ct() {
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
+ ke = console.log, Re = console.info, we = console.warn, Ie = console.error, Te = console.group, Pe = console.groupCollapsed, $e = 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 lt() {
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: B({}, t, {
170
- value: Se
171
- }),
172
- info: B({}, t, {
173
- value: Ce
174
- }),
175
- warn: B({}, t, {
169
+ log: V({}, t, {
176
170
  value: ke
177
171
  }),
178
- error: B({}, t, {
179
- value: Ee
180
- }),
181
- group: B({}, t, {
172
+ info: V({}, t, {
182
173
  value: Re
183
174
  }),
184
- groupCollapsed: B({}, t, {
175
+ warn: V({}, t, {
185
176
  value: we
186
177
  }),
187
- groupEnd: B({}, t, {
178
+ error: V({}, t, {
179
+ value: Ie
180
+ }),
181
+ group: V({}, t, {
188
182
  value: Te
183
+ }),
184
+ groupCollapsed: V({}, t, {
185
+ value: Pe
186
+ }),
187
+ groupEnd: V({}, t, {
188
+ value: $e
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 me = T.ReactCurrentDispatcher, pe;
196
+ function ie(t, i, o) {
197
197
  {
198
- if (de === void 0)
198
+ if (pe === void 0)
199
199
  try {
200
200
  throw Error();
201
201
  } catch (b) {
202
202
  var p = b.stack.trim().match(/\n( *(at )?)/);
203
- de = p && p[1] || "";
203
+ pe = p && p[1] || "";
204
204
  }
205
205
  return `
206
- ` + de + t;
206
+ ` + pe + t;
207
207
  }
208
208
  }
209
- var me = !1, se;
209
+ var ve = !1, oe;
210
210
  {
211
- var it = typeof WeakMap == "function" ? WeakMap : Map;
212
- se = new it();
211
+ var ut = typeof WeakMap == "function" ? WeakMap : Map;
212
+ oe = new ut();
213
213
  }
214
- function Pe(t, s) {
215
- if (!t || me)
214
+ function Oe(t, i) {
215
+ if (!t || ve)
216
216
  return "";
217
217
  {
218
- var o = se.get(t);
218
+ var o = oe.get(t);
219
219
  if (o !== void 0)
220
220
  return o;
221
221
  }
222
222
  var p;
223
- me = !0;
223
+ ve = !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 = me.current, me.current = null, ct();
228
228
  try {
229
- if (s) {
229
+ if (i) {
230
230
  var _ = function() {
231
231
  throw Error();
232
232
  };
@@ -237,171 +237,171 @@ 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
+ p = 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
+ p = 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
+ p = 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
- `), R = p.stack.split(`
264
- `), S = g.length - 1, C = R.length - 1; S >= 1 && C >= 0 && g[S] !== R[C]; )
265
- C--;
266
- for (; S >= 1 && C >= 0; S--, C--)
267
- if (g[S] !== R[C]) {
268
- if (S !== 1 || C !== 1)
260
+ } catch (A) {
261
+ if (A && p && typeof A.stack == "string") {
262
+ for (var g = A.stack.split(`
263
+ `), w = p.stack.split(`
264
+ `), S = g.length - 1, E = w.length - 1; S >= 1 && E >= 0 && g[S] !== w[E]; )
265
+ E--;
266
+ for (; S >= 1 && E >= 0; S--, E--)
267
+ if (g[S] !== w[E]) {
268
+ if (S !== 1 || E !== 1)
269
269
  do
270
- if (S--, C--, C < 0 || g[S] !== R[C]) {
271
- var N = `
270
+ if (S--, E--, E < 0 || g[S] !== w[E]) {
271
+ var $ = `
272
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;
273
+ return t.displayName && $.includes("<anonymous>") && ($ = $.replace("<anonymous>", t.displayName)), typeof t == "function" && oe.set(t, $), $;
274
274
  }
275
- while (S >= 1 && C >= 0);
275
+ while (S >= 1 && E >= 0);
276
276
  break;
277
277
  }
278
278
  }
279
279
  } finally {
280
- me = !1, fe.current = j, st(), Error.prepareStackTrace = b;
280
+ ve = !1, me.current = j, lt(), Error.prepareStackTrace = b;
281
281
  }
282
- var q = t ? t.displayName || t.name : "", Ve = q ? ae(q) : "";
283
- return typeof t == "function" && se.set(t, Ve), Ve;
282
+ var Z = t ? t.displayName || t.name : "", qe = Z ? ie(Z) : "";
283
+ return typeof t == "function" && oe.set(t, qe), qe;
284
284
  }
285
- function ot(t, s, o) {
286
- return Pe(t, !1);
285
+ function ft(t, i, o) {
286
+ return Oe(t, !1);
287
287
  }
288
- function ct(t) {
289
- var s = t.prototype;
290
- return !!(s && s.isReactComponent);
288
+ function dt(t) {
289
+ var i = t.prototype;
290
+ return !!(i && i.isReactComponent);
291
291
  }
292
- function ie(t, s, o) {
292
+ function ce(t, i, o) {
293
293
  if (t == null)
294
294
  return "";
295
295
  if (typeof t == "function")
296
- return Pe(t, ct(t));
296
+ return Oe(t, dt(t));
297
297
  if (typeof t == "string")
298
- return ae(t);
298
+ return ie(t);
299
299
  switch (t) {
300
300
  case d:
301
- return ae("Suspense");
301
+ return ie("Suspense");
302
302
  case m:
303
- return ae("SuspenseList");
303
+ return ie("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 ft(t.render);
309
309
  case x:
310
- return ie(t.type, s, o);
310
+ return ce(t.type, i, o);
311
311
  case y: {
312
312
  var p = t, b = p._payload, j = p._init;
313
313
  try {
314
- return ie(j(b), s, o);
314
+ return ce(j(b), i, o);
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, Fe = {}, Me = 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 i = t._owner, o = ce(t.type, t._source, i ? i.type : null);
325
+ Me.setExtraStackFrame(o);
326
326
  } else
327
- Oe.setExtraStackFrame(null);
327
+ Me.setExtraStackFrame(null);
328
328
  }
329
- function lt(t, s, o, p, b) {
329
+ function mt(t, i, o, p, 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 R = 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`.");
338
- throw R.name = "Invariant Violation", R;
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`.");
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");
340
+ g = t[_](i, _, p, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
341
  } catch (S) {
342
342
  g = S;
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).", p || "React class", o, _, typeof g), ue(null)), g instanceof Error && !(g.message in Fe) && (Fe[g.message] = !0, ue(b), R("Failed %s type: %s", o, g.message), ue(null));
345
345
  }
346
346
  }
347
347
  }
348
- var ut = Array.isArray;
349
- function pe(t) {
350
- return ut(t);
348
+ var pt = Array.isArray;
349
+ function he(t) {
350
+ return pt(t);
351
351
  }
352
- function ft(t) {
352
+ function vt(t) {
353
353
  {
354
- var s = typeof Symbol == "function" && Symbol.toStringTag, o = s && t[Symbol.toStringTag] || t.constructor.name || "Object";
354
+ var i = typeof Symbol == "function" && Symbol.toStringTag, o = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
355
355
  return o;
356
356
  }
357
357
  }
358
- function dt(t) {
358
+ function ht(t) {
359
359
  try {
360
- return $e(t), !1;
360
+ return De(t), !1;
361
361
  } catch {
362
362
  return !0;
363
363
  }
364
364
  }
365
- function $e(t) {
365
+ function De(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 Ae(t) {
369
+ if (ht(t))
370
+ return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", vt(t)), De(t);
371
371
  }
372
- var X = I.ReactCurrentOwner, mt = {
372
+ var ee = T.ReactCurrentOwner, gt = {
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
+ }, Le, ze, ge;
378
+ ge = {};
379
+ function _t(t) {
380
+ if (le.call(t, "ref")) {
381
+ var i = Object.getOwnPropertyDescriptor(t, "ref").get;
382
+ if (i && i.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 xt(t) {
388
+ if (le.call(t, "key")) {
389
+ var i = Object.getOwnPropertyDescriptor(t, "key").get;
390
+ if (i && i.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 bt(t, i) {
396
+ if (typeof t.ref == "string" && ee.current && i && ee.current.stateNode !== i) {
397
+ var o = D(ee.current.type);
398
+ ge[o] || (R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(ee.current.type), t.ref), ge[o] = !0);
399
399
  }
400
400
  }
401
- function gt(t, s) {
401
+ function jt(t, i) {
402
402
  {
403
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));
404
+ Le || (Le = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
405
405
  };
406
406
  o.isReactWarning = !0, Object.defineProperty(t, "key", {
407
407
  get: o,
@@ -409,10 +409,10 @@ function It() {
409
409
  });
410
410
  }
411
411
  }
412
- function _t(t, s) {
412
+ function yt(t, i) {
413
413
  {
414
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));
415
+ ze || (ze = !0, R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
416
416
  };
417
417
  o.isReactWarning = !0, Object.defineProperty(t, "ref", {
418
418
  get: o,
@@ -420,13 +420,13 @@ function It() {
420
420
  });
421
421
  }
422
422
  }
423
- var xt = function(t, s, o, p, b, j, _) {
423
+ var St = function(t, i, o, p, 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,
429
+ key: i,
430
430
  ref: o,
431
431
  props: _,
432
432
  // Record the component responsible for creating this element.
@@ -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 Ct(t, i, o, p, b) {
453
453
  {
454
- var j, _ = {}, g = null, R = null;
455
- o !== void 0 && (Fe(o), g = "" + o), vt(s) && (Fe(s.key), g = "" + s.key), pt(s) && (R = s.ref, ht(s, b));
456
- for (j in s)
457
- oe.call(s, j) && !mt.hasOwnProperty(j) && (_[j] = s[j]);
454
+ var j, _ = {}, g = null, w = null;
455
+ o !== void 0 && (Ae(o), g = "" + o), xt(i) && (Ae(i.key), g = "" + i.key), _t(i) && (w = i.ref, bt(i, b));
456
+ for (j in i)
457
+ le.call(i, j) && !gt.hasOwnProperty(j) && (_[j] = i[j]);
458
458
  if (t && t.defaultProps) {
459
459
  var S = t.defaultProps;
460
460
  for (j in S)
461
461
  _[j] === void 0 && (_[j] = S[j]);
462
462
  }
463
- if (g || R) {
464
- var C = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
465
- g && gt(_, C), R && _t(_, C);
463
+ if (g || w) {
464
+ var E = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
465
+ g && jt(_, E), w && yt(_, E);
466
466
  }
467
- return xt(t, g, R, b, p, X.current, _);
467
+ return St(t, g, w, b, p, ee.current, _);
468
468
  }
469
469
  }
470
- var he = I.ReactCurrentOwner, Ae = I.ReactDebugCurrentFrame;
471
- function H(t) {
470
+ var _e = 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 i = t._owner, o = ce(t.type, t._source, i ? i.type : null);
474
+ Ye.setExtraStackFrame(o);
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 xe;
479
+ xe = !1;
480
+ function be(t) {
481
481
  return typeof t == "object" && t !== null && t.$$typeof === r;
482
482
  }
483
- function Le() {
483
+ function Be() {
484
484
  {
485
- if (he.current) {
486
- var t = M(he.current.type);
485
+ if (_e.current) {
486
+ var t = D(_e.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 Et(t) {
496
496
  {
497
497
  if (t !== void 0) {
498
- var s = t.fileName.replace(/^.*[\\\/]/, ""), o = t.lineNumber;
498
+ var i = t.fileName.replace(/^.*[\\\/]/, ""), o = t.lineNumber;
499
499
  return `
500
500
 
501
- Check your code at ` + s + ":" + o + ".";
501
+ Check your code at ` + i + ":" + o + ".";
502
502
  }
503
503
  return "";
504
504
  }
505
505
  }
506
- var ze = {};
507
- function yt(t) {
506
+ var We = {};
507
+ function kt(t) {
508
508
  {
509
- var s = Le();
510
- if (!s) {
509
+ var i = Be();
510
+ if (!i) {
511
511
  var o = typeof t == "string" ? t : t.displayName || t.name;
512
- o && (s = `
512
+ o && (i = `
513
513
 
514
514
  Check the top-level render call using <` + o + ">.");
515
515
  }
516
- return s;
516
+ return i;
517
517
  }
518
518
  }
519
- function Ye(t, s) {
519
+ function Ve(t, i) {
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 o = kt(i);
525
+ if (We[o])
526
526
  return;
527
- ze[o] = !0;
527
+ We[o] = !0;
528
528
  var p = "";
529
- t && t._owner && t._owner !== he.current && (p = " It was passed a child from " + M(t._owner.type) + "."), H(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), H(null);
529
+ t && t._owner && t._owner !== _e.current && (p = " It was passed a child from " + D(t._owner.type) + "."), J(t), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, p), J(null);
530
530
  }
531
531
  }
532
- function Be(t, s) {
532
+ function Ue(t, i) {
533
533
  {
534
534
  if (typeof t != "object")
535
535
  return;
536
- if (pe(t))
536
+ if (he(t))
537
537
  for (var o = 0; o < t.length; o++) {
538
538
  var p = t[o];
539
- _e(p) && Ye(p, s);
539
+ be(p) && Ve(p, i);
540
540
  }
541
- else if (_e(t))
541
+ else if (be(t))
542
542
  t._store && (t._store.validated = !0);
543
543
  else if (t) {
544
- var b = $(t);
544
+ var b = O(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
+ be(_.value) && Ve(_.value, i);
548
548
  }
549
549
  }
550
550
  }
551
- function St(t) {
551
+ function Rt(t) {
552
552
  {
553
- var s = t.type;
554
- if (s == null || typeof s == "string")
553
+ var i = t.type;
554
+ if (i == null || typeof i == "string")
555
555
  return;
556
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.
557
+ if (typeof i == "function")
558
+ o = i.propTypes;
559
+ else if (typeof i == "object" && (i.$$typeof === u || // Note: Memo only checks outer props here.
560
560
  // Inner props are checked in the reconciler.
561
- s.$$typeof === x))
562
- o = s.propTypes;
561
+ i.$$typeof === x))
562
+ o = i.propTypes;
563
563
  else
564
564
  return;
565
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");
566
+ var p = D(i);
567
+ mt(o, t.props, "prop", p, t);
568
+ } else if (i.PropTypes !== void 0 && !xe) {
569
+ xe = !0;
570
+ var b = D(i);
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 i.getDefaultProps == "function" && !i.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 wt(t) {
577
577
  {
578
- for (var s = Object.keys(t.props), o = 0; o < s.length; o++) {
579
- var p = s[o];
578
+ for (var i = Object.keys(t.props), o = 0; o < i.length; o++) {
579
+ var p = i[o];
580
580
  if (p !== "children" && p !== "key") {
581
- H(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), H(null);
581
+ J(t), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), J(null);
582
582
  break;
583
583
  }
584
584
  }
585
- t.ref !== null && (H(t), E("Invalid attribute `ref` supplied to `React.Fragment`."), H(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 He(t, i, o, p, b, j) {
589
589
  {
590
- var _ = rt(t);
590
+ var _ = it(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 R = jt(b);
595
- R ? g += R : g += Le();
594
+ var w = Et(b);
595
+ w ? g += w : g += Be();
596
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);
597
+ t === null ? S = "null" : he(t) ? S = "array" : t !== void 0 && t.$$typeof === r ? (S = "<" + (D(t.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : S = typeof t, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, g);
598
598
  }
599
- var C = bt(t, s, o, b, j);
600
- if (C == null)
601
- return C;
599
+ var E = Ct(t, i, o, b, j);
600
+ if (E == null)
601
+ return E;
602
602
  if (_) {
603
- var N = s.children;
604
- if (N !== void 0)
603
+ var $ = i.children;
604
+ if ($ !== void 0)
605
605
  if (p)
606
- if (pe(N)) {
607
- for (var q = 0; q < N.length; q++)
608
- Be(N[q], t);
609
- Object.freeze && Object.freeze(N);
606
+ if (he($)) {
607
+ for (var Z = 0; Z < $.length; Z++)
608
+ Ue($[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
+ Ue($, t);
614
614
  }
615
- return t === i ? Ct(C) : St(C), C;
615
+ return t === s ? wt(E) : Rt(E), E;
616
616
  }
617
617
  }
618
- function kt(t, s, o) {
619
- return We(t, s, o, !0);
618
+ function It(t, i, o) {
619
+ return He(t, i, o, !0);
620
620
  }
621
- function Et(t, s, o) {
622
- return We(t, s, o, !1);
621
+ function Tt(t, i, o) {
622
+ return He(t, i, o, !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 Pt = Tt, $t = It;
625
+ re.Fragment = s, re.jsx = Pt, re.jsxs = $t;
626
+ }()), re;
627
+ }
628
+ process.env.NODE_ENV === "production" ? je.exports = Nt() : je.exports = Ot();
629
+ var a = je.exports;
630
+ const Ft = "_notice_820sc_2", Mt = "_error_820sc_9", Dt = "_success_820sc_12", At = "_remark_820sc_15", Lt = "_copy_820sc_18", zt = {
631
+ notice: Ft,
632
+ error: Mt,
633
+ success: Dt,
634
+ remark: At,
635
+ copy: Lt,
636
636
  "show-notice": "_show-notice_820sc_1",
637
637
  "hide-notice": "_hide-notice_820sc_1"
638
638
  };
639
- let z = {};
640
- function Dt() {
639
+ let B = {};
640
+ function Yt() {
641
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");
642
+ return B.set = (n) => {
643
+ r([...e, n]);
644
+ }, B.del = (n) => {
645
+ r(e.filter((s) => s.key !== n));
646
+ }, e.length === 0 ? "" : /* @__PURE__ */ a.jsx("ul", { className: zt.notice, children: e.map((n) => n.item) });
647
+ }
648
+ function ae({ data: e }) {
649
+ let [r, n] = k.useState("show");
650
650
  k.useEffect(() => {
651
651
  setTimeout(function() {
652
- a("hide");
652
+ n("hide");
653
653
  }, 1800), setTimeout(function() {
654
- z.del(e.key);
654
+ B.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(W.error, {}), l = "Ошибка:";
660
+ s = /* @__PURE__ */ a.jsx(U.error, {}), l = "Ошибка:";
661
661
  break;
662
662
  case "success":
663
- i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Информация:";
663
+ s = /* @__PURE__ */ a.jsx(U.success, {}), l = "Информация:";
664
664
  break;
665
665
  case "copy":
666
- i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Копирование:";
666
+ s = /* @__PURE__ */ a.jsx(U.success, {}), l = "Копирование:";
667
667
  break;
668
668
  case "remark":
669
- i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Подсказка:";
669
+ s = /* @__PURE__ */ a.jsx(U.success, {}), l = "Подсказка:";
670
670
  break;
671
671
  default:
672
- i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Предупреждение:";
672
+ s = /* @__PURE__ */ a.jsx(U.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 Bt(e) {
682
+ let r = Date.now(), n = { key: r, ...e };
683
+ B.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 Wt(e) {
686
+ let r = Date.now(), n = { key: r, text: e, type: "error" };
687
+ B.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
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 Vt(e) {
690
+ let r = Date.now(), n = { key: r, text: e, type: "success" };
691
+ B.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
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 Ut(e) {
694
+ let r = Date.now(), n = { key: r, text: e, type: "remark" };
695
+ B.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
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 Ht(e) {
698
+ let r = Date.now(), n = { key: r, text: e, type: "copy" };
699
+ B.set({ item: /* @__PURE__ */ a.jsx(ae, { data: n }, r), key: r });
700
700
  }
701
- const W = {};
702
- W.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
703
- /* @__PURE__ */ n.jsx(
701
+ const U = {};
702
+ U.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 @@ W.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "non
715
715
  }
716
716
  )
717
717
  ] });
718
- W.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
719
- /* @__PURE__ */ n.jsx(
718
+ U.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 @@ W.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 qt = "_alerts_1e9y0_1", Gt = "_menuAnimation_1e9y0_1", Jt = "_menuItemAnimation_1e9y0_1", Zt = "_allert_1e9y0_111", Kt = {
735
+ alerts: qt,
736
+ menuAnimation: Gt,
737
+ menuItemAnimation: Jt,
738
738
  "--body": "_--body_1e9y0_103",
739
- allert: Ht,
739
+ allert: Zt,
740
740
  "--form": "_--form_1e9y0_111"
741
741
  };
742
- let te = {};
743
- function Gt() {
742
+ let ne = {};
743
+ function Xt() {
744
744
  let [e, r] = k.useState("");
745
- return te.set = (a) => r(a), te.del = () => r(""), /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
745
+ return ne.set = (n) => r(n), ne.del = () => r(""), /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
746
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(
747
+ const Qt = ({ data: e, callback: r }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: Kt.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 er(e, r) {
765
+ ne.set(/* @__PURE__ */ a.jsx(Qt, { 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 tr({ 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 rr({ children: e }) {
771
+ return /* @__PURE__ */ a.jsx("div", { className: "s", children: e });
772
772
  }
773
- const Qt = ({
773
+ const nr = ({
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 = (h) => {
780
+ r || s && s(h);
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
+ }, ar = "_white_1iomo_14", sr = "_black_1iomo_26", ir = "_shake_1iomo_1", or = "_modal_1iomo_73", cr = "_o_1iomo_83", lr = "_w_1iomo_14", ur = "_h_1iomo_106", fr = "_l_1iomo_120", dr = "_t_1iomo_158", mr = "_m_1iomo_73", pr = "_x_1iomo_166", vr = "_s_1iomo_176", hr = "_c_1iomo_181", gr = "_f_1iomo_186", _r = "_btn_1iomo_229", xr = "_g_1iomo_242", br = "_confirm_1iomo_320", jr = "_cancel_1iomo_325", yr = "_disabled_1iomo_330", Sr = "_active_1iomo_387", Cr = "_coincidence_1iomo_393", z = {
784
+ white: ar,
785
+ black: sr,
786
+ shake: ir,
787
+ modal: or,
788
+ o: cr,
789
+ w: lr,
790
+ h: ur,
791
+ l: fr,
792
+ t: dr,
793
+ m: mr,
794
+ x: pr,
795
+ s: vr,
796
+ c: hr,
797
+ f: gr,
798
+ btn: _r,
799
+ g: xr,
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: br,
807
+ cancel: jr,
808
+ disabled: yr,
809
809
  await: "_await_1iomo_337",
810
- active: xr,
811
- coincidence: br
810
+ active: Sr,
811
+ coincidence: Cr
812
812
  };
813
- let G = {};
814
- const jr = ({ config: e }) => {
815
- let [r, a] = k.useState([]);
816
- return G.x = () => {
817
- a([]);
818
- }, G.config = e, G.add = (i) => {
819
- a([...r, i]);
820
- }, /* @__PURE__ */ n.jsx(n.Fragment, { children: r.map((i) => i) });
821
- }, yr = ({
813
+ let K = {};
814
+ const Er = ({ config: e }) => {
815
+ let [r, n] = k.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
+ }, kr = ({
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: h
828
828
  }) => {
829
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 });
830
+ if (n && n.onClick)
831
+ return n.onClick({ closed: f, disabled: x });
832
832
  }, m = () => {
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: m }),
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
+ h
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
+ nr,
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
- G.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);
881
+ }, Rr = (e) => {
882
+ K.add(/* @__PURE__ */ a.jsx(wr, { children: e }, String(Date.now())));
883
+ }, wr = ({ children: e }) => /* @__PURE__ */ a.jsx(a.Fragment, { children: e }), Ir = ({ type: e, name: r, params: n }) => {
884
+ let [s, l] = k.useState(null);
885
885
  return k.useEffect(() => {
886
- G.config(e, r, a, l);
887
- }, [a.id]), /* @__PURE__ */ n.jsx(n.Fragment, { children: i });
888
- }, Er = (e, r, a) => {
889
- G.config(e, r, a);
890
- }, Rr = { List: Kt, Scroll: Xt, Init: jr, Main: yr, Add: Sr, Icon: kr, Open: Er };
891
- let w = {};
892
- const h = {}, P = {}, qe = {};
893
- function wr(e, r) {
894
- if (w = e, localStorage.getItem("ssid")) {
895
- let i = sessionStorage.getItem("page");
896
- i ? (i = w.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");
886
+ K.config(e, r, n, l);
887
+ }, [n.id]), /* @__PURE__ */ a.jsx(a.Fragment, { children: s });
888
+ }, Tr = (e, r, n) => {
889
+ K.config(e, r, n);
890
+ }, Pr = { List: tr, Scroll: rr, Init: Er, Main: kr, Add: Rr, Icon: Ir, Open: Tr };
891
+ let C = {};
892
+ const v = {}, P = {}, Ze = {}, et = {}, H = {};
893
+ function $r(e, r) {
894
+ if (C = e, localStorage.getItem("ssid")) {
895
+ let s = sessionStorage.getItem("page");
896
+ s ? (s = C.deCode(s), v.id = s.id, v.tab = s.tab, v.page = s.page, v.module = s.module, v.time = s.time, v.payment = { active: !0 }, v.module_admin = s.module_admin) : (v.id = 0, v.tab = "", v.page = "Main", v.module = v.module || "M05");
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)), v.id = 0, v.tab = "", v.page = "Auth", v.module = "M00";
912
912
  return r;
913
913
  }
914
- function J() {
914
+ function M() {
915
915
  [
916
916
  "ssid",
917
917
  "menu",
@@ -919,7 +919,7 @@ function J() {
919
919
  "user",
920
920
  "sett",
921
921
  "qder",
922
- "firm",
922
+ "c",
923
923
  "last",
924
924
  "auth",
925
925
  "port",
@@ -927,166 +927,210 @@ function J() {
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) {
931
- e = e.split("/"), h.page = "Main", h.module = e[0], h.tab = e[1], h.id = 0, sessionStorage.setItem(
930
+ function Nr(e) {
931
+ e = e.split("/"), v.page = "Main", v.module = e[0], v.tab = e[1], v.id = 0, sessionStorage.setItem(
932
932
  "page",
933
- w.enCode({
934
- module: h.module,
935
- page: h.page,
936
- tab: h.tab,
937
- id: h.id,
933
+ C.enCode({
934
+ module: v.module,
935
+ page: v.page,
936
+ tab: v.tab,
937
+ id: v.id,
938
938
  time: (/* @__PURE__ */ new Date()).getTime()
939
939
  })
940
- ), P.page(h.page);
940
+ ), P.page(v.page);
941
941
  }
942
- function Ir(e) {
942
+ function Or(e) {
943
943
  return localStorage.setItem("ssid", e);
944
944
  }
945
- function Pr() {
945
+ function Fr() {
946
946
  let e = localStorage.getItem("ssid");
947
- return e !== "" && e !== "undefined" && e !== null ? localStorage.getItem("ssid") : (J(), !1);
947
+ return e !== "" && e !== "undefined" && e !== null ? localStorage.getItem("ssid") : (M(), !1);
948
948
  }
949
- function Nr(e) {
949
+ function Mr(e) {
950
950
  return localStorage.setItem("auth", e);
951
951
  }
952
- function Or() {
952
+ function Dr() {
953
953
  let e = localStorage.getItem("auth");
954
- return e !== "" && e !== "undefined" && e !== null ? e : (J(), !1);
954
+ return e !== "" && e !== "undefined" && e !== null ? e : (M(), !1);
955
+ }
956
+ function Ar(e) {
957
+ localStorage.setItem("port", C.enCode(e));
958
+ }
959
+ function Lr() {
960
+ let e = localStorage.getItem("port");
961
+ if (e !== "" && e !== "undefined" && e !== null) {
962
+ let r = C.deCode(e);
963
+ return r || M(), r;
964
+ } else
965
+ return M(), !1;
955
966
  }
956
- function $r() {
957
- const [e, r] = k.useState(Ke()), a = (i) => {
958
- r(i);
967
+ function zr() {
968
+ const [e, r] = k.useState(tt()), n = (s) => {
969
+ r(s);
959
970
  };
960
- return P.page = a, [e];
971
+ return P.page = n, [e];
961
972
  }
962
- function Fr(e) {
963
- h.page = e, sessionStorage.setItem("page", w.enCode(h)), P.page(e);
973
+ function Yr(e) {
974
+ v.page = e, sessionStorage.setItem("page", C.enCode(v)), P.page(e);
964
975
  }
965
- function Ke() {
966
- return h.page;
976
+ function tt() {
977
+ return v.page;
967
978
  }
968
- function Mr() {
969
- const [e, r] = k.useState(Xe()), a = (i) => {
970
- r(i);
979
+ function Br() {
980
+ const [e, r] = k.useState(rt()), n = (s) => {
981
+ r(s);
971
982
  };
972
- return P.module = a, [e];
983
+ return P.module = n, [e];
973
984
  }
974
- function Dr(e, r) {
975
- h.module = e, sessionStorage.setItem("page", w.enCode(h)), r !== "false" && P.module(e);
985
+ function Wr(e, r) {
986
+ v.module = e, sessionStorage.setItem("page", C.enCode(v)), r !== "false" && P.module(e);
976
987
  }
977
- function Xe() {
978
- return h.module;
988
+ function rt() {
989
+ return v.module;
979
990
  }
980
- function Ar(e) {
981
- const [r, a] = k.useState(le() || e), i = (l) => {
982
- a(l);
991
+ function Vr(e) {
992
+ const [r, n] = k.useState(fe() || e), s = (l) => {
993
+ n(l);
983
994
  };
984
- return P.tabs = i, [r];
995
+ return P.tabs = s, [r];
985
996
  }
986
- function Lr(e, r) {
987
- h.tab = e, sessionStorage.setItem("page", w.enCode(h)), r !== "false" && P.tabs(e);
997
+ function Ur(e, r) {
998
+ v.tab = e, sessionStorage.setItem("page", C.enCode(v)), r !== "false" && P.tabs(e);
988
999
  }
989
- function le() {
990
- return h.tab;
1000
+ function fe() {
1001
+ return v.tab;
991
1002
  }
992
- function zr() {
993
- const [e, r] = k.useState(h.id), a = (i) => {
994
- r(i);
1003
+ function Hr() {
1004
+ const [e, r] = k.useState(v.id), n = (s) => {
1005
+ r(s);
995
1006
  };
996
- return P.id = a, [e];
1007
+ return P.id = n, [e];
997
1008
  }
998
- function Yr(e) {
1009
+ function qr(e) {
999
1010
  P.id = e;
1000
1011
  }
1001
- function Br(e, r) {
1002
- h.id = e, sessionStorage.setItem("page", w.enCode(h)), r !== "false" && P.id(e);
1012
+ function Gr(e, r) {
1013
+ v.id = e, sessionStorage.setItem("page", C.enCode(v)), r !== "false" && P.id(e);
1003
1014
  }
1004
- function Wr() {
1005
- return h.id;
1015
+ function Jr() {
1016
+ return v.id;
1006
1017
  }
1007
- function Vr(e, r, a) {
1008
- h.module = e, h.id = a, h.tab = r, sessionStorage.setItem("page", w.enCode(h)), P.module(e), P.tabs(r);
1018
+ function Zr(e, r, n) {
1019
+ v.module = e, v.id = n, v.tab = r, sessionStorage.setItem("page", C.enCode(v)), P.module(e), P.tabs(r);
1009
1020
  }
1010
- function Ur(e, r) {
1011
- qe.data[e] = r, localStorage.setItem("sett", w.enCode(qe.data));
1021
+ function Kr(e, r) {
1022
+ Ze.data[e] = r, localStorage.setItem("sett", C.enCode(Ze.data));
1012
1023
  }
1013
- function Hr(e) {
1024
+ function Xr(e) {
1014
1025
  let r = localStorage.getItem("sett");
1015
- return r === null ? {} : (r = w.deCode(r), r ? e !== void 0 ? r[e] : r : J());
1026
+ return r === null ? {} : (r = C.deCode(r), r ? e !== void 0 ? r[e] : r : M());
1016
1027
  }
1017
- function qr(e) {
1018
- localStorage.setItem("menu", w.enCode({ data: e }));
1028
+ function Qr(e) {
1029
+ localStorage.setItem("menu", C.enCode({ data: e }));
1019
1030
  }
1020
- function Gr() {
1031
+ function en() {
1021
1032
  let e = localStorage.getItem("menu");
1022
1033
  if (e !== "" && e !== "undefined" && e !== null) {
1023
- let r = localStorage.getItem("menu"), a = w.deCode(r);
1024
- a || J();
1025
- const i = (v, c) => {
1034
+ let r = localStorage.getItem("menu"), n = C.deCode(r);
1035
+ n || M();
1036
+ const s = (h, c) => {
1026
1037
  let f = c + "";
1027
- for (; f.length < v; )
1038
+ for (; f.length < h; )
1028
1039
  f = "0" + f;
1029
1040
  return f;
1030
1041
  };
1031
- return a.data.split(",").map((v) => "M" + i(2, v));
1042
+ return n.data.split(",").map((h) => "M" + s(2, h));
1032
1043
  } else
1033
- return J(), !1;
1044
+ return M(), !1;
1034
1045
  }
1035
- function Jr(e) {
1046
+ function tn(e) {
1036
1047
  P.sort = e;
1037
1048
  }
1038
- function Qe(e) {
1049
+ function nt(e) {
1039
1050
  let r = localStorage.getItem("sort");
1040
- r = r === null ? {} : w.deCode(r), r[le()] = e, localStorage.setItem("sort", w.enCode(r));
1051
+ r = r === null ? {} : C.deCode(r), r[fe()] = e, localStorage.setItem("sort", C.enCode(r));
1041
1052
  }
1042
- function be() {
1053
+ function ye() {
1043
1054
  let e = localStorage.getItem("sort");
1044
- return e === null ? {} : (e = w.deCode(e), e = e[le()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
1055
+ return e === null ? {} : (e = C.deCode(e), e = e[fe()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
1056
+ }
1057
+ function rn(e) {
1058
+ localStorage.setItem("c", C.enCode(e));
1059
+ }
1060
+ function nn(e) {
1061
+ let r = localStorage.getItem("c");
1062
+ if (r !== "" && r !== "undefined" && r !== null) {
1063
+ let n = C.deCode(r);
1064
+ return n || M(), e === void 0 ? n : n[e];
1065
+ } else
1066
+ return M(), !1;
1067
+ }
1068
+ function an(e) {
1069
+ H.data = e, localStorage.setItem("qder", C.enCode(H.data));
1070
+ }
1071
+ function sn(e, r) {
1072
+ if (!H.data) {
1073
+ let n = localStorage.getItem("qder");
1074
+ n && (H.data = C.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 on(e) {
1079
+ et.data = e;
1080
+ }
1081
+ function cn(e) {
1082
+ return et.data[e];
1083
+ }
1084
+ function ln(e) {
1085
+ v.payment = e;
1086
+ }
1087
+ function un() {
1088
+ return v.payment;
1045
1089
  }
1046
- const Zr = ({ children: e, config: r, crypto: a, ...i }) => wr(a, /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1047
- /* @__PURE__ */ n.jsx(Rr.Init, { config: r.modal }),
1048
- /* @__PURE__ */ n.jsx(Dt, {}),
1049
- /* @__PURE__ */ n.jsx(Gt, {}),
1090
+ const fn = ({ children: e, config: r, crypto: n, ...s }) => $r(n, /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1091
+ /* @__PURE__ */ a.jsx(Pr.Init, { config: r.modal }),
1092
+ /* @__PURE__ */ a.jsx(Yt, {}),
1093
+ /* @__PURE__ */ a.jsx(Xt, {}),
1050
1094
  e
1051
- ] })), Kr = ({ children: e, ...r }) => /* @__PURE__ */ n.jsx("menu", { children: e }), Xr = ({ children: e, ...r }) => /* @__PURE__ */ n.jsxs("header", { children: [
1095
+ ] })), dn = ({ children: e, ...r }) => /* @__PURE__ */ a.jsx("menu", { children: e }), mn = ({ children: e, ...r }) => /* @__PURE__ */ a.jsxs("header", { children: [
1052
1096
  "xz",
1053
1097
  e
1054
- ] }), Qr = "_payment_1lxfv_1", en = {
1055
- payment: Qr
1098
+ ] }), pn = "_payment_1lxfv_1", vn = {
1099
+ payment: pn
1056
1100
  };
1057
- function tn() {
1101
+ function hn() {
1058
1102
  let [e, r] = k.useState({});
1059
- return !e.active && !e.payment ? "" : /* @__PURE__ */ n.jsx("div", { className: en.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
1060
- }
1061
- const Kn = ({ children: e, ...r }) => {
1062
- let a = {};
1063
- return a.enCode = (i) => JSON.stringify(i).toString(), a.deCode = (i) => JSON.parse(i), /* @__PURE__ */ n.jsxs("div", { className: "app", children: [
1064
- /* @__PURE__ */ n.jsx(tn, {}),
1065
- /* @__PURE__ */ n.jsx(Kr, {}),
1066
- /* @__PURE__ */ n.jsx(Xr, {}),
1067
- /* @__PURE__ */ n.jsx(Zr, { config: { modal: {} }, crypto: a }),
1103
+ return !e.active && !e.payment ? "" : /* @__PURE__ */ a.jsx("div", { className: vn.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
1104
+ }
1105
+ const ha = ({ 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(hn, {}),
1109
+ /* @__PURE__ */ a.jsx(dn, {}),
1110
+ /* @__PURE__ */ a.jsx(mn, {}),
1111
+ /* @__PURE__ */ a.jsx(fn, { config: { modal: {} }, crypto: n }),
1068
1112
  e
1069
1113
  ] });
1070
- }, rn = ({ 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(
1071
- nn,
1114
+ }, gn = ({ list: e, onClick: r, active: n, size: s, view: l }) => /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [s, l].join(" "), children: e.map((h) => /* @__PURE__ */ a.jsx(
1115
+ _n,
1072
1116
  {
1073
1117
  onClick: r,
1074
- active: a,
1075
- label: v.label,
1076
- link: v.link
1118
+ active: n,
1119
+ label: h.label,
1120
+ link: h.link
1077
1121
  },
1078
- v.link
1079
- )) }) }), nn = ({ onClick: e, label: r, link: a, active: i }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(i === a), onClick: () => e(a), children: r });
1080
- rn.defaultProps = { size: "M", view: "H" };
1081
- const an = ({
1122
+ h.link
1123
+ )) }) }), _n = ({ onClick: e, label: r, link: n, active: s }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: r });
1124
+ gn.defaultProps = { size: "M", view: "H" };
1125
+ const xn = ({
1082
1126
  title: e = "",
1083
1127
  button: r,
1084
- description: a = "",
1085
- children: i
1086
- }) => /* @__PURE__ */ n.jsxs("fieldset", { children: [
1087
- 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: [
1088
1132
  e,
1089
- r && /* @__PURE__ */ n.jsx(
1133
+ r && /* @__PURE__ */ a.jsx(
1090
1134
  "div",
1091
1135
  {
1092
1136
  role: "button-outline",
@@ -1096,23 +1140,23 @@ const an = ({
1096
1140
  ),
1097
1141
  " "
1098
1142
  ] }),
1099
- /* @__PURE__ */ n.jsx("ul", { children: i }),
1100
- a && /* @__PURE__ */ n.jsx("article", { children: a })
1101
- ] }), sn = "_setting_1r0pc_2", on = {
1102
- setting: sn
1103
- }, cn = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: on.setting, children: e }), ln = ({ label: e, children: r }) => {
1104
- let [a, i] = k.useState(!1);
1105
- return /* @__PURE__ */ n.jsxs("li", { "data-item": "accordion", children: [
1106
- /* @__PURE__ */ n.jsxs("dl", { onClick: () => i(!a), children: [
1107
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1108
- /* @__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
+ ] }), bn = "_setting_1r0pc_2", jn = {
1146
+ setting: bn
1147
+ }, yn = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: jn.setting, children: e }), Sn = ({ label: e, children: r }) => {
1148
+ let [n, s] = k.useState(!1);
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) }) })
1109
1153
  ] }),
1110
- a && /* @__PURE__ */ n.jsx("div", { children: r })
1154
+ n && /* @__PURE__ */ a.jsx("div", { children: r })
1111
1155
  ] });
1112
- }, un = ({ label: e, onClick: r, button: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1113
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1114
- /* @__PURE__ */ n.jsx("dd", { role: "button", onClick: () => r(), children: a })
1115
- ] }) }), fn = ({ active: e, onClick: r }) => (console.log(e), e = typeof e == "number" ? !!e : e, /* @__PURE__ */ n.jsx(
1156
+ }, Cn = ({ 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
+ ] }) }), En = ({ active: e, onClick: r }) => (console.log(e), e = typeof e == "number" ? !!e : e, /* @__PURE__ */ a.jsx(
1116
1160
  "div",
1117
1161
  {
1118
1162
  role: "switch",
@@ -1121,53 +1165,53 @@ const an = ({
1121
1165
  },
1122
1166
  "aria-checked": e ? "true" : "false"
1123
1167
  }
1124
- )), dn = { Switch: fn }, mn = ({ label: e, onClick: r, active: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1125
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1126
- /* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx(dn.Switch, { onClick: r, active: a }) })
1127
- ] }) }), pn = ({ label: e, active: r, options: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1128
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1129
- /* @__PURE__ */ n.jsx("dd", { role: "info", children: r })
1130
- ] }) }), vn = ({ label: e, info: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1131
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1132
- /* @__PURE__ */ n.jsx("dd", { role: "info", children: r })
1133
- ] }) }), hn = ({ label: e, children: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1134
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1135
- /* @__PURE__ */ n.jsx("dd", { children: r })
1136
- ] }) }), gn = ({ label: e, children: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
1137
- /* @__PURE__ */ n.jsx("dt", { children: e }),
1138
- /* @__PURE__ */ n.jsx("dd", { children: r })
1139
- ] }) }), _n = { Accordion: ln, Button: un, Switch: mn, Info: vn, Select: pn, Component: hn, Node: gn };
1140
- function et({ list: e, onClick: r, active: a, size: i, view: l }) {
1141
- return /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [i, l].join(" "), children: e.map((v) => /* @__PURE__ */ n.jsx(
1142
- xn,
1168
+ )), kn = { Switch: En }, Rn = ({ 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(kn.Switch, { onClick: r, active: n }) })
1171
+ ] }) }), wn = ({ 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
+ ] }) }), In = ({ 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
+ ] }) }), Tn = ({ 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
+ ] }) }), Pn = ({ 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
+ ] }) }), $n = { Accordion: Sn, Button: Cn, Switch: Rn, Info: In, Select: wn, Component: Tn, Node: Pn };
1184
+ function at({ list: e, onClick: r, active: n, size: s, view: l }) {
1185
+ return /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [s, l].join(" "), children: e.map((h) => /* @__PURE__ */ a.jsx(
1186
+ Nn,
1143
1187
  {
1144
1188
  onClick: r,
1145
- active: a,
1146
- label: v.label,
1147
- link: v.link
1189
+ active: n,
1190
+ label: h.label,
1191
+ link: h.link
1148
1192
  },
1149
- v.link
1193
+ h.link
1150
1194
  )) }) });
1151
1195
  }
1152
- const xn = ({ onClick: e, label: r, link: a, active: i }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(i === a), onClick: () => e(a), children: r });
1153
- et.defaultProps = { size: "M", view: "H" };
1154
- const Xn = { Section: an, Main: cn, Item: _n, Tabs: et }, bn = "_h_158b4_1", jn = "_t_158b4_11", yn = "_s_158b4_31", Sn = "_u_158b4_40", Cn = "_o_158b4_47", kn = "_l_158b4_56", En = "_hh_158b4_63", V = {
1155
- h: bn,
1156
- t: jn,
1157
- s: yn,
1158
- u: Sn,
1159
- o: Cn,
1160
- l: kn,
1161
- hh: En
1162
- }, Ge = ({ title: e, children: r }) => /* @__PURE__ */ n.jsxs("div", { className: V.h, children: [
1163
- /* @__PURE__ */ n.jsx("div", { className: V.t, children: e }),
1196
+ const Nn = ({ onClick: e, label: r, link: n, active: s }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: r });
1197
+ at.defaultProps = { size: "M", view: "H" };
1198
+ const ga = { Section: xn, Main: yn, Item: $n, Tabs: at }, On = "_h_158b4_1", Fn = "_t_158b4_11", Mn = "_s_158b4_31", Dn = "_u_158b4_40", An = "_o_158b4_47", Ln = "_l_158b4_56", zn = "_hh_158b4_63", q = {
1199
+ h: On,
1200
+ t: Fn,
1201
+ s: Mn,
1202
+ u: Dn,
1203
+ o: An,
1204
+ l: Ln,
1205
+ hh: zn
1206
+ }, Ke = ({ title: e, children: r }) => /* @__PURE__ */ a.jsxs("div", { className: q.h, children: [
1207
+ /* @__PURE__ */ a.jsx("div", { className: q.t, children: e }),
1164
1208
  r
1165
- ] }), Rn = ({ children: e, title: r }) => /* @__PURE__ */ n.jsxs("div", { className: V.o, children: [
1166
- r && /* @__PURE__ */ n.jsx("div", { className: V.hh, children: r }),
1209
+ ] }), Yn = ({ children: e, title: r }) => /* @__PURE__ */ a.jsxs("div", { className: q.o, children: [
1210
+ r && /* @__PURE__ */ a.jsx("div", { className: q.hh, children: r }),
1167
1211
  e
1168
- ] }), wn = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: V.u, children: e }), Je = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: V.s, children: e }), Ze = ({ children: e, ...r }) => /* @__PURE__ */ n.jsx("div", { className: V.l, children: e }), Qn = { Header: Ge, Section: Je, List: Ze, U: wn, L: Ze, O: Rn, S: Je, H: Ge }, ea = { Send: At, Error: Lt, Remark: Yt, Success: zt, Copy: Bt }, ta = { Send: Zt };
1169
- function Tn() {
1170
- return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ n.jsx(
1212
+ ] }), Bn = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: q.u, children: e }), Xe = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: q.s, children: e }), Qe = ({ children: e, ...r }) => /* @__PURE__ */ a.jsx("div", { className: q.l, children: e }), _a = { Header: Ke, Section: Xe, List: Qe, U: Bn, L: Qe, O: Yn, S: Xe, H: Ke }, xa = { Send: Bt, Error: Wt, Remark: Ut, Success: Vt, Copy: Ht }, ba = { Send: er };
1213
+ function Wn() {
1214
+ return /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ a.jsx(
1171
1215
  "path",
1172
1216
  {
1173
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",
@@ -1175,30 +1219,54 @@ function Tn() {
1175
1219
  }
1176
1220
  ) });
1177
1221
  }
1178
- const ra = { Logo: Tn }, na = { setSSID: Ir, getSSID: Pr, Logaut: J, setAUTH: Nr, getAUTH: Or, Start: Tr, setSetting: Ur, getSetting: Hr, setMenu: qr, getMenu: Gr, useSort: Jr, setSort: Qe, getSort: be }, aa = { Path: Vr, setPage: Fr, getPage: Ke, usePage: $r, setModule: Dr, getModule: Xe, useModule: Mr, setTabs: Lr, getTabs: le, useTabs: Ar, useId: zr, setId: Br, subId: Yr, getId: Wr }, In = "_sort_1yrvt_1", Pn = {
1179
- sort: In
1222
+ const ja = { Logo: Wn }, ya = {
1223
+ setSSID: Or,
1224
+ getSSID: Fr,
1225
+ getPORT: Lr,
1226
+ setPORT: Ar,
1227
+ setAUTH: Mr,
1228
+ getAUTH: Dr,
1229
+ Logaut: M,
1230
+ Start: Nr,
1231
+ setSetting: Kr,
1232
+ getSetting: Xr,
1233
+ setMenu: Qr,
1234
+ getMenu: en,
1235
+ useSort: tn,
1236
+ setSort: nt,
1237
+ getSort: ye,
1238
+ setCompany: rn,
1239
+ getCompany: nn,
1240
+ setSelect: an,
1241
+ getSelect: sn,
1242
+ setApi: on,
1243
+ getApi: cn,
1244
+ setPayment: ln,
1245
+ getPayment: un
1246
+ }, Sa = { Path: Zr, setPage: Yr, getPage: tt, usePage: zr, setModule: Wr, getModule: rt, useModule: Br, setTabs: Ur, getTabs: fe, useTabs: Vr, useId: Hr, setId: Gr, subId: qr, getId: Jr }, Vn = "_sort_1yrvt_1", Un = {
1247
+ sort: Vn
1180
1248
  };
1181
- let ue = {};
1182
- function Nn(e, r) {
1249
+ let de = {};
1250
+ function Hn(e, r) {
1183
1251
  switch (r.type) {
1184
1252
  case "active":
1185
- let a = "<";
1186
- 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 === "<" ? ">" : "<"), de.get({ active: r.data, sort: n }, !1), nt({ active: r.data, sort: n }), {
1187
1255
  ...e,
1188
1256
  active: r.data,
1189
- sort: a
1257
+ sort: n
1190
1258
  };
1191
1259
  default:
1192
1260
  throw new Error();
1193
1261
  }
1194
1262
  }
1195
- function On() {
1263
+ function qn() {
1196
1264
  const [e, r] = k.useReducer(
1197
- Nn,
1198
- be() === void 0 ? { active: 1, sort: "<" } : be()
1265
+ Hn,
1266
+ ye() === void 0 ? { active: 1, sort: "<" } : ye()
1199
1267
  );
1200
- return /* @__PURE__ */ n.jsxs("div", { className: Pn.sort, children: [
1201
- /* @__PURE__ */ n.jsx(
1268
+ return /* @__PURE__ */ a.jsxs("div", { className: Un.sort, children: [
1269
+ /* @__PURE__ */ a.jsx(
1202
1270
  "i",
1203
1271
  {
1204
1272
  "data-color": e.active === 1 ? "_506290" : "_b5b9cc",
@@ -1206,7 +1274,7 @@ function On() {
1206
1274
  onClick: () => r({ type: "active", data: 1 })
1207
1275
  }
1208
1276
  ),
1209
- /* @__PURE__ */ n.jsx(
1277
+ /* @__PURE__ */ a.jsx(
1210
1278
  "i",
1211
1279
  {
1212
1280
  "data-color": e.active === 2 ? "_506290" : "_b5b9cc",
@@ -1214,7 +1282,7 @@ function On() {
1214
1282
  onClick: () => r({ type: "active", data: 2 })
1215
1283
  }
1216
1284
  ),
1217
- /* @__PURE__ */ n.jsx(
1285
+ /* @__PURE__ */ a.jsx(
1218
1286
  "i",
1219
1287
  {
1220
1288
  "data-color": e.active === 3 ? "_506290" : "_b5b9cc",
@@ -1224,38 +1292,38 @@ function On() {
1224
1292
  )
1225
1293
  ] });
1226
1294
  }
1227
- function $n(e) {
1228
- ue.get = e;
1295
+ function Gn(e) {
1296
+ de.get = e;
1229
1297
  }
1230
- function Fn(e) {
1231
- ue.set(e);
1298
+ function Jn(e) {
1299
+ de.set(e);
1232
1300
  }
1233
- function Mn(e, r, a) {
1234
- let i = 1, l = 0, v = {}, c = 50;
1235
- v[i] = [];
1301
+ function Zn(e, r, n) {
1302
+ let s = 1, l = 0, h = {}, c = 50;
1303
+ h[s] = [];
1236
1304
  let f = {}, u = "s1a";
1237
- 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, m) => m.s1 - d.s1, f.s1d = (d, m) => d.s1 - m.s1, f.s2a = (d, m) => d.s2 - m.s2, f.s2d = (d, m) => m.s2 - d.s2, f.s3a = (d, m) => d.s3.localeCompare(m.s3), f.s3d = (d, m) => m.s3.localeCompare(d.s3), n.active) {
1238
1306
  case 1:
1239
- u = a.sort === ">" ? "s1d" : "s1a";
1307
+ u = n.sort === ">" ? "s1d" : "s1a";
1240
1308
  break;
1241
1309
  case 2:
1242
- u = a.sort === ">" ? "s2d" : "s2a";
1310
+ u = n.sort === ">" ? "s2d" : "s2a";
1243
1311
  break;
1244
1312
  case 3:
1245
- u = a.sort === ">" ? "s3d" : "s3a";
1313
+ u = n.sort === ">" ? "s3d" : "s3a";
1246
1314
  break;
1247
1315
  }
1248
1316
  return r.sort(f[u]).forEach((d) => {
1249
- l++, l <= c || (i++, l = 1, v[i] = []), v[i].push(e[d.id]);
1250
- }), { data: v };
1317
+ l++, l <= c || (s++, l = 1, h[s] = []), h[s].push(e[d.id]);
1318
+ }), { data: h };
1251
1319
  }
1252
- function Dn(e) {
1253
- ue.count(e);
1320
+ function Kn(e) {
1321
+ de.count(e);
1254
1322
  }
1255
- const sa = { Init: On, useValue: $n, Set: Fn, Run: Mn, Count: Dn };
1256
- function An(e, r) {
1323
+ const Ca = { Init: qn, useValue: Gn, Set: Jn, Run: Zn, Count: Kn };
1324
+ function Xn(e, r) {
1257
1325
  r === void 0 ? (r = e, e = /* @__PURE__ */ new Date()) : e = new Date(e);
1258
- let a = {
1326
+ let n = {
1259
1327
  yyyy: e.getFullYear(),
1260
1328
  yy: ("" + e.getFullYear()).slice(-2),
1261
1329
  mm: ("0" + (e.getMonth() + 1)).slice(-2),
@@ -1266,27 +1334,27 @@ function An(e, r) {
1266
1334
  __: "      ",
1267
1335
  _: "    "
1268
1336
  };
1269
- for (const i in a)
1270
- r = r.replace(i, a[i]);
1337
+ for (const s in n)
1338
+ r = r.replace(s, n[s]);
1271
1339
  return r;
1272
1340
  }
1273
- function Ln(e) {
1274
- let r = ["Января", "Февраля", "Марта", "Апреля", "Мая", "Июня", "Июля", "Августа", "Сентября", "Октября", "Ноября", "Декабря"], a = new Date(e);
1275
- return { day: ("" + a.getFullYear()).slice(-2) + "" + ("0" + (a.getMonth() + 1)).slice(-2) + ("0" + a.getDate()).slice(-2), name: a.getDate() + " " + r[a.getMonth()] };
1276
- }
1277
- const zn = (e) => {
1278
- function r(F, A) {
1279
- var Y, ne, U;
1280
- F = F ?? "", A = A ?? 1;
1281
- for (var Y = [], U = 0, ne = F.length; U < ne; )
1282
- Y.push(F.slice(U, U += A));
1283
- return Y;
1341
+ function Qn(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 ea = (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;
1284
1352
  }
1285
- function a(F, A) {
1286
- var Y = [2, 0, 1, 1, 1, 2];
1287
- return A[F > 4 && F < 20 ? 2 : Y[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)]];
1288
1356
  }
1289
- var i = {
1357
+ var s = {
1290
1358
  null: "ноль",
1291
1359
  a1: [
1292
1360
  "один",
@@ -1348,42 +1416,42 @@ const zn = (e) => {
1348
1416
  u3: ["тысяча", "тысячи", "тысяч"],
1349
1417
  u2: ["миллион", "миллиона", "миллионов"],
1350
1418
  u1: ["миллиард", "миллиарда", "миллиардов"]
1351
- }, l, v, c, f, $, u, d, Z, m, x, y, T;
1419
+ }, l, h, c, f, O, u, d, X, m, x, y, I;
1352
1420
  m = parseFloat(e).toFixed(2).split("."), u = m[0], f = m[1];
1353
- var O = 12 - u.length;
1354
- if (O < 0)
1421
+ var N = 12 - u.length;
1422
+ if (N < 0)
1355
1423
  return !1;
1356
- for (var Z = []; O--; )
1357
- Z.push("0");
1358
- u = Z.join("") + u;
1359
- var $ = [];
1424
+ for (var X = []; N--; )
1425
+ X.push("0");
1426
+ u = X.join("") + u;
1427
+ var O = [];
1360
1428
  if (u > 0) {
1361
1429
  x = r(u, 3);
1362
- for (var I = -1; I < x.length; I++)
1363
- 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(
1364
- i.a20[v - 2] + (c > 0 ? " " + i[T][c - 1] : "")
1365
- ) : $.push(
1366
- v > 0 ? i.a10[c] : i[T][c - 1]
1367
- ), x.length > I + 1)) {
1368
- var E = i["u" + (I + 1)];
1369
- $.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]), h = parseInt(y[1]), c = parseInt(y[2]), O.push(s.a100[l - 1]), I = T + 1 == 3 ? "a2" : "a1", h > 1 ? O.push(
1432
+ s.a20[h - 2] + (c > 0 ? " " + s[I][c - 1] : "")
1433
+ ) : O.push(
1434
+ h > 0 ? s.a10[c] : s[I][c - 1]
1435
+ ), x.length > T + 1)) {
1436
+ var R = s["u" + (T + 1)];
1437
+ O.push(n(d, R));
1370
1438
  }
1371
1439
  } else
1372
- $.push(i.null);
1373
- return $.push(a(u, i.ur)), $.push(f + " " + a(f, i.uc)), $.join(" ").replace(RegExp(" {2,}", "g"), " ").trimLeft();
1440
+ O.push(s.null);
1441
+ return O.push(n(u, s.ur)), O.push(f + " " + n(f, s.uc)), O.join(" ").replace(RegExp(" {2,}", "g"), " ").trimLeft();
1374
1442
  };
1375
- function Yn(e) {
1376
- let r = -1, a = [" kB", " MB", " GB", " TB", "PB", "EB", "ZB", "YB"];
1443
+ function ta(e) {
1444
+ let r = -1, n = [" kB", " MB", " GB", " TB", "PB", "EB", "ZB", "YB"];
1377
1445
  do
1378
1446
  e = e / 1024, r++;
1379
1447
  while (e > 1024);
1380
- return Math.max(e, 0.1).toFixed(1) + a[r];
1448
+ return Math.max(e, 0.1).toFixed(1) + n[r];
1381
1449
  }
1382
- function Bn(e) {
1450
+ function ra(e) {
1383
1451
  let r = {};
1384
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];
1385
1453
  }
1386
- function Wn(e, r, a, i) {
1454
+ function na(e, r, n, s) {
1387
1455
  let l = {
1388
1456
  sexM: "m",
1389
1457
  sexF: "f",
@@ -1514,14 +1582,14 @@ function Wn(e, r, a, i) {
1514
1582
  if (c.match(/^[А-ЯЁ]\.?$/i))
1515
1583
  return c;
1516
1584
  this.init();
1517
- var T = this.rules[u];
1518
- let O;
1519
- 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);
1585
+ var I = this.rules[u];
1586
+ let N;
1587
+ return I.exceptions && (N = this.pick(c, f, d, I.exceptions, !0), N) ? N : (N = this.pick(c, f, d, I.suffixes, !1), N || c);
1520
1588
  },
1521
1589
  // выбираем из списка правил первое подходящее и применяем
1522
1590
  pick: function(c, f, u, d, m) {
1523
1591
  let x = c.toLowerCase();
1524
- for (var y = 0, T = d.length; y < T; y++)
1592
+ for (var y = 0, I = d.length; y < I; y++)
1525
1593
  if (this.ruleMatch(x, f, d[y], m))
1526
1594
  return this.applyMod(c, u, d[y]);
1527
1595
  return !1;
@@ -1592,14 +1660,14 @@ function Wn(e, r, a, i) {
1592
1660
  middleName: (c) => l.word(l.mn, l.sex, "middleName", c)
1593
1661
  };
1594
1662
  if (typeof r > "u") {
1595
- var v = e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);
1596
- if (!v)
1663
+ var h = e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);
1664
+ if (!h)
1597
1665
  return "Cannot parse supplied name";
1598
- 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
+ h[5] && h[3].match(/(ич|на)$/) && !h[5].match(/(ич|на)$/) ? (e = h[5], r = h[1], n = h[3], l.fullNameSurnameLast = !0) : (e = h[1], r = h[3], n = h[5]);
1599
1667
  }
1600
- 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;
1601
1669
  }
1602
- function Vn(e) {
1670
+ function aa(e) {
1603
1671
  let r = e.split(" ");
1604
1672
  switch (r.length) {
1605
1673
  case 2:
@@ -1610,7 +1678,7 @@ function Vn(e) {
1610
1678
  return e;
1611
1679
  }
1612
1680
  }
1613
- function Un(e) {
1681
+ function sa(e) {
1614
1682
  return {
1615
1683
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
1616
1684
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
@@ -1626,50 +1694,75 @@ function Un(e) {
1626
1694
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
1627
1695
  }[e];
1628
1696
  }
1629
- function Hn(e) {
1697
+ function ia(e) {
1630
1698
  return parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
1631
1699
  }
1632
- function qn(e, r) {
1633
- let a = r + "";
1634
- for (; a.length < e; )
1635
- a = "0" + a;
1636
- return a;
1700
+ function oa(e, r) {
1701
+ let n = r + "";
1702
+ for (; n.length < e; )
1703
+ n = "0" + n;
1704
+ return n;
1637
1705
  }
1638
- function Gn(e, r, a) {
1639
- let i = r / e * a;
1640
- return (typeof i != "number" || i === 1 / 0) && (i = 0), parseFloat(i).toFixed(1);
1706
+ function ca(e, r, n) {
1707
+ let s = r / e * n;
1708
+ return (typeof s != "number" || s === 1 / 0) && (s = 0), parseFloat(s).toFixed(1);
1641
1709
  }
1642
- function Jn(e) {
1710
+ function la(e) {
1643
1711
  return e.charAt(0).toUpperCase() + e.slice(1);
1644
1712
  }
1645
- const ia = {
1646
- Date: An,
1647
- MoneyString: zn,
1648
- DateSort: Ln,
1649
- Size: Yn,
1650
- TypeFiles: Bn,
1651
- Cases: Wn,
1652
- Initials: Vn,
1653
- Month: Un,
1654
- Money: Hn,
1655
- Number: qn,
1656
- Percent: Gn,
1657
- CapitalizeFirstLetter: Jn
1658
- };
1713
+ const Ea = {
1714
+ Date: Xn,
1715
+ MoneyString: ea,
1716
+ DateSort: Qn,
1717
+ Size: ta,
1718
+ TypeFiles: ra,
1719
+ Cases: na,
1720
+ Initials: aa,
1721
+ Month: sa,
1722
+ Money: ia,
1723
+ Number: oa,
1724
+ Percent: ca,
1725
+ CapitalizeFirstLetter: la
1726
+ }, Se = {};
1727
+ function ua(e, r) {
1728
+ Se[e] = r;
1729
+ }
1730
+ function fa(e, r) {
1731
+ Se[e] !== void 0 && Se[e](r);
1732
+ }
1733
+ const Y = {};
1734
+ function da(e, r) {
1735
+ const [n, s] = k.useState(r);
1736
+ return k.useEffect(() => {
1737
+ if (Y[e])
1738
+ return Y[e].push(s);
1739
+ Y[e] = [s];
1740
+ }, []), [n];
1741
+ }
1742
+ function ma(e, r) {
1743
+ if (Y[e])
1744
+ return Y[e].push(r);
1745
+ Y[e] = [r];
1746
+ }
1747
+ function pa(e, r) {
1748
+ Y[e] && Y[e].forEach((n) => n(r));
1749
+ }
1750
+ const ka = { setListener: fa, useListener: ua, setEmitter: pa, useEmitter: da, subEmitter: ma };
1659
1751
  export {
1660
- dn as Action,
1661
- ta as Alert,
1662
- Kn as Browser,
1663
- Qt as Button,
1664
- Qn as Component,
1665
- ia as Format,
1666
- ra as Icon,
1667
- Zr as Init,
1668
- Rr as Modal,
1669
- ea as Notice,
1670
- aa as Router,
1671
- Xn as Setting,
1672
- na as Store,
1673
- rn as Tabs,
1674
- sa as Triage
1752
+ kn as Action,
1753
+ ba as Alert,
1754
+ ha as Browser,
1755
+ nr as Button,
1756
+ _a as Component,
1757
+ ka as Event,
1758
+ Ea as Format,
1759
+ ja as Icon,
1760
+ fn as Init,
1761
+ Pr as Modal,
1762
+ xa as Notice,
1763
+ Sa as Router,
1764
+ ga as Setting,
1765
+ ya as Store,
1766
+ gn as Tabs,
1767
+ Ca as Triage
1675
1768
  };