@elcrm/form 0.0.56 → 0.0.58

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 R, { forwardRef as qt, useEffect as Kt } from "react";
2
2
  import { createPortal as Nt } from "react-dom";
3
- import './index.css';const Gt = "0.0.56", Yt = {
3
+ import './index.css';const Gt = "0.0.58", Yt = {
4
4
  version: Gt
5
5
  };
6
6
  var Rt = { exports: {} }, pt = {};
@@ -17,15 +17,15 @@ var Ft;
17
17
  function zt() {
18
18
  if (Ft) return pt;
19
19
  Ft = 1;
20
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function x(C, l, v) {
22
- var n, s = {}, b = null, j = null;
23
- v !== void 0 && (b = "" + v), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
24
- for (n in l) c.call(l, n) && !y.hasOwnProperty(n) && (s[n] = l[n]);
25
- if (C && C.defaultProps) for (n in l = C.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
26
- return { $$typeof: o, type: C, key: b, ref: j, props: s, _owner: d.current };
20
+ var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function C(b, l, p) {
22
+ var n, s = {}, w = null, j = null;
23
+ p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
24
+ for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
25
+ if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
26
+ return { $$typeof: o, type: b, key: w, ref: j, props: s, _owner: d.current };
27
27
  }
28
- return pt.Fragment = i, pt.jsx = x, pt.jsxs = x, pt;
28
+ return pt.Fragment = i, pt.jsx = C, pt.jsxs = C, pt;
29
29
  }
30
30
  var yt = {};
31
31
  /**
@@ -40,7 +40,7 @@ var yt = {};
40
40
  var Mt;
41
41
  function Ht() {
42
42
  return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
43
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), C = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
43
+ var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
44
44
  function D(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
@@ -48,7 +48,7 @@ function Ht() {
48
48
  return typeof t == "function" ? t : null;
49
49
  }
50
50
  var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function p(e) {
51
+ function y(e) {
52
52
  {
53
53
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), _ = 1; _ < t; _++)
54
54
  r[_ - 1] = arguments[_];
@@ -57,18 +57,18 @@ function Ht() {
57
57
  }
58
58
  function P(e, t, r) {
59
59
  {
60
- var _ = O.ReactDebugCurrentFrame, k = _.getStackAddendum();
61
- k !== "" && (t += "%s", r = r.concat([k]));
62
- var w = r.map(function(m) {
60
+ var _ = O.ReactDebugCurrentFrame, h = _.getStackAddendum();
61
+ h !== "" && (t += "%s", r = r.concat([h]));
62
+ var x = r.map(function(m) {
63
63
  return String(m);
64
64
  });
65
- w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
65
+ x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
66
66
  }
67
67
  }
68
- var K = !1, I = !1, A = !1, q = !1, W = !1, N;
68
+ var K = !1, I = !1, $ = !1, q = !1, W = !1, N;
69
69
  N = Symbol.for("react.module.reference");
70
70
  function E(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === y || W || e === d || e === v || e === n || q || e === j || K || I || A || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === x || e.$$typeof === C || e.$$typeof === l || // This needs to include all possible module reference object
71
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e === p || e === n || q || e === j || K || I || $ || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
@@ -78,16 +78,16 @@ function Ht() {
78
78
  var _ = e.displayName;
79
79
  if (_)
80
80
  return _;
81
- var k = t.displayName || t.name || "";
82
- return k !== "" ? r + "(" + k + ")" : r;
81
+ var h = t.displayName || t.name || "";
82
+ return h !== "" ? r + "(" + h + ")" : r;
83
83
  }
84
- function h(e) {
84
+ function g(e) {
85
85
  return e.displayName || "Context";
86
86
  }
87
- function g(e) {
87
+ function v(e) {
88
88
  if (e == null)
89
89
  return null;
90
- if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
90
+ if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
91
  return e.displayName || e.name || null;
92
92
  if (typeof e == "string")
93
93
  return e;
@@ -96,32 +96,32 @@ function Ht() {
96
96
  return "Fragment";
97
97
  case i:
98
98
  return "Portal";
99
- case y:
99
+ case k:
100
100
  return "Profiler";
101
101
  case d:
102
102
  return "StrictMode";
103
- case v:
103
+ case p:
104
104
  return "Suspense";
105
105
  case n:
106
106
  return "SuspenseList";
107
107
  }
108
108
  if (typeof e == "object")
109
109
  switch (e.$$typeof) {
110
- case C:
110
+ case b:
111
111
  var t = e;
112
- return h(t) + ".Consumer";
113
- case x:
112
+ return g(t) + ".Consumer";
113
+ case C:
114
114
  var r = e;
115
- return h(r._context) + ".Provider";
115
+ return g(r._context) + ".Provider";
116
116
  case l:
117
117
  return G(e, e.render, "ForwardRef");
118
118
  case s:
119
119
  var _ = e.displayName || null;
120
- return _ !== null ? _ : g(e.type) || "Memo";
121
- case b: {
122
- var k = e, w = k._payload, m = k._init;
120
+ return _ !== null ? _ : v(e.type) || "Memo";
121
+ case w: {
122
+ var h = e, x = h._payload, m = h._init;
123
123
  try {
124
- return g(m(w));
124
+ return v(m(x));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -188,30 +188,30 @@ function Ht() {
188
188
  })
189
189
  });
190
190
  }
191
- B < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ B < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var ce = O.ReactCurrentDispatcher, de;
194
+ var ce = O.ReactCurrentDispatcher, ue;
195
195
  function ne(e, t, r) {
196
196
  {
197
- if (de === void 0)
197
+ if (ue === void 0)
198
198
  try {
199
199
  throw Error();
200
- } catch (k) {
201
- var _ = k.stack.trim().match(/\n( *(at )?)/);
202
- de = _ && _[1] || "";
200
+ } catch (h) {
201
+ var _ = h.stack.trim().match(/\n( *(at )?)/);
202
+ ue = _ && _[1] || "";
203
203
  }
204
204
  return `
205
- ` + de + e;
205
+ ` + ue + e;
206
206
  }
207
207
  }
208
- var ue = !1, oe;
208
+ var de = !1, oe;
209
209
  {
210
210
  var Ke = typeof WeakMap == "function" ? WeakMap : Map;
211
211
  oe = new Ke();
212
212
  }
213
213
  function je(e, t) {
214
- if (!e || ue)
214
+ if (!e || de)
215
215
  return "";
216
216
  {
217
217
  var r = oe.get(e);
@@ -219,11 +219,11 @@ function Ht() {
219
219
  return r;
220
220
  }
221
221
  var _;
222
- ue = !0;
223
- var k = Error.prepareStackTrace;
222
+ de = !0;
223
+ var h = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
- var w;
226
- w = ce.current, ce.current = null, Ue();
225
+ var x;
226
+ x = ce.current, ce.current = null, Ue();
227
227
  try {
228
228
  if (t) {
229
229
  var m = function() {
@@ -259,14 +259,14 @@ function Ht() {
259
259
  } catch (L) {
260
260
  if (L && _ && typeof L.stack == "string") {
261
261
  for (var u = L.stack.split(`
262
- `), $ = _.stack.split(`
263
- `), S = u.length - 1, T = $.length - 1; S >= 1 && T >= 0 && u[S] !== $[T]; )
262
+ `), A = _.stack.split(`
263
+ `), S = u.length - 1, T = A.length - 1; S >= 1 && T >= 0 && u[S] !== A[T]; )
264
264
  T--;
265
265
  for (; S >= 1 && T >= 0; S--, T--)
266
- if (u[S] !== $[T]) {
266
+ if (u[S] !== A[T]) {
267
267
  if (S !== 1 || T !== 1)
268
268
  do
269
- if (S--, T--, T < 0 || u[S] !== $[T]) {
269
+ if (S--, T--, T < 0 || u[S] !== A[T]) {
270
270
  var Y = `
271
271
  ` + u[S].replace(" at new ", " at ");
272
272
  return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
@@ -276,7 +276,7 @@ function Ht() {
276
276
  }
277
277
  }
278
278
  } finally {
279
- ue = !1, ce.current = w, qe(), Error.prepareStackTrace = k;
279
+ de = !1, ce.current = x, qe(), Error.prepareStackTrace = h;
280
280
  }
281
281
  var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
282
282
  return typeof e == "function" && oe.set(e, J), J;
@@ -296,7 +296,7 @@ function Ht() {
296
296
  if (typeof e == "string")
297
297
  return ne(e);
298
298
  switch (e) {
299
- case v:
299
+ case p:
300
300
  return ne("Suspense");
301
301
  case n:
302
302
  return ne("SuspenseList");
@@ -307,10 +307,10 @@ function Ht() {
307
307
  return Ge(e.render);
308
308
  case s:
309
309
  return _e(e.type, t, r);
310
- case b: {
311
- var _ = e, k = _._payload, w = _._init;
310
+ case w: {
311
+ var _ = e, h = _._payload, x = _._init;
312
312
  try {
313
- return _e(w(k), t, r);
313
+ return _e(x(h), t, r);
314
314
  } catch {
315
315
  }
316
316
  }
@@ -325,22 +325,22 @@ function Ht() {
325
325
  } else
326
326
  Se.setExtraStackFrame(null);
327
327
  }
328
- function ze(e, t, r, _, k) {
328
+ function ze(e, t, r, _, h) {
329
329
  {
330
- var w = Function.call.bind(ee);
330
+ var x = Function.call.bind(ee);
331
331
  for (var m in e)
332
- if (w(e, m)) {
332
+ if (x(e, m)) {
333
333
  var u = void 0;
334
334
  try {
335
335
  if (typeof e[m] != "function") {
336
- var $ = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw $.name = "Invariant Violation", $;
336
+ var A = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw A.name = "Invariant Violation", A;
338
338
  }
339
339
  u = e[m](t, m, _, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (S) {
341
341
  u = S;
342
342
  }
343
- u && !(u instanceof Error) && (ie(k), p("%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).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(k), p("Failed %s type: %s", r, u.message), ie(null));
343
+ u && !(u instanceof Error) && (ie(h), y("%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).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
344
344
  }
345
345
  }
346
346
  }
@@ -366,7 +366,7 @@ function Ht() {
366
366
  }
367
367
  function Te(e) {
368
368
  if (Ze(e))
369
- return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
369
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
370
370
  }
371
371
  var Oe = O.ReactCurrentOwner, Ve = {
372
372
  key: !0,
@@ -396,7 +396,7 @@ function Ht() {
396
396
  function tt(e, t) {
397
397
  {
398
398
  var r = function() {
399
- De || (De = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
399
+ De || (De = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
400
400
  };
401
401
  r.isReactWarning = !0, Object.defineProperty(e, "key", {
402
402
  get: r,
@@ -407,7 +407,7 @@ function Ht() {
407
407
  function rt(e, t) {
408
408
  {
409
409
  var r = function() {
410
- Pe || (Pe = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
410
+ Pe || (Pe = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
411
411
  };
412
412
  r.isReactWarning = !0, Object.defineProperty(e, "ref", {
413
413
  get: r,
@@ -415,7 +415,7 @@ function Ht() {
415
415
  });
416
416
  }
417
417
  }
418
- var at = function(e, t, r, _, k, w, m) {
418
+ var at = function(e, t, r, _, h, x, m) {
419
419
  var u = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
421
  $$typeof: o,
@@ -425,7 +425,7 @@ function Ht() {
425
425
  ref: r,
426
426
  props: m,
427
427
  // Record the component responsible for creating this element.
428
- _owner: w
428
+ _owner: x
429
429
  };
430
430
  return u._store = {}, Object.defineProperty(u._store, "validated", {
431
431
  configurable: !1,
@@ -441,25 +441,25 @@ function Ht() {
441
441
  configurable: !1,
442
442
  enumerable: !1,
443
443
  writable: !1,
444
- value: k
444
+ value: h
445
445
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
446
446
  };
447
- function nt(e, t, r, _, k) {
447
+ function nt(e, t, r, _, h) {
448
448
  {
449
- var w, m = {}, u = null, $ = null;
450
- r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && ($ = t.ref, et(t, k));
451
- for (w in t)
452
- ee.call(t, w) && !Ve.hasOwnProperty(w) && (m[w] = t[w]);
449
+ var x, m = {}, u = null, A = null;
450
+ r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (A = t.ref, et(t, h));
451
+ for (x in t)
452
+ ee.call(t, x) && !Ve.hasOwnProperty(x) && (m[x] = t[x]);
453
453
  if (e && e.defaultProps) {
454
454
  var S = e.defaultProps;
455
- for (w in S)
456
- m[w] === void 0 && (m[w] = S[w]);
455
+ for (x in S)
456
+ m[x] === void 0 && (m[x] = S[x]);
457
457
  }
458
- if (u || $) {
458
+ if (u || A) {
459
459
  var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
- u && tt(m, T), $ && rt(m, T);
460
+ u && tt(m, T), A && rt(m, T);
461
461
  }
462
- return at(e, u, $, k, _, Oe.current, m);
462
+ return at(e, u, A, h, _, Oe.current, m);
463
463
  }
464
464
  }
465
465
  var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
@@ -478,7 +478,7 @@ function Ht() {
478
478
  function Fe() {
479
479
  {
480
480
  if (me.current) {
481
- var e = g(me.current.type);
481
+ var e = v(me.current.type);
482
482
  if (e)
483
483
  return `
484
484
 
@@ -513,7 +513,7 @@ Check the top-level render call using <` + r + ">.");
513
513
  return;
514
514
  Me[r] = !0;
515
515
  var _ = "";
516
- e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + g(e._owner.type) + "."), V(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, _), V(null);
516
+ e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, _), V(null);
517
517
  }
518
518
  }
519
519
  function Ae(e, t) {
@@ -528,9 +528,9 @@ Check the top-level render call using <` + r + ">.");
528
528
  else if (ye(e))
529
529
  e._store && (e._store.validated = !0);
530
530
  else if (e) {
531
- var k = D(e);
532
- if (typeof k == "function" && k !== e.entries)
533
- for (var w = k.call(e), m; !(m = w.next()).done; )
531
+ var h = D(e);
532
+ if (typeof h == "function" && h !== e.entries)
533
+ for (var x = h.call(e), m; !(m = x.next()).done; )
534
534
  ye(m.value) && Ie(m.value, t);
535
535
  }
536
536
  }
@@ -550,14 +550,14 @@ Check the top-level render call using <` + r + ">.");
550
550
  else
551
551
  return;
552
552
  if (r) {
553
- var _ = g(t);
553
+ var _ = v(t);
554
554
  ze(r, e.props, "prop", _, e);
555
555
  } else if (t.PropTypes !== void 0 && !pe) {
556
556
  pe = !0;
557
- var k = g(t);
558
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
557
+ var h = v(t);
558
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
559
559
  }
560
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
560
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
561
  }
562
562
  }
563
563
  function st(e) {
@@ -565,26 +565,26 @@ Check the top-level render call using <` + r + ">.");
565
565
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
566
566
  var _ = t[r];
567
567
  if (_ !== "children" && _ !== "key") {
568
- V(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), V(null);
568
+ V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), V(null);
569
569
  break;
570
570
  }
571
571
  }
572
- e.ref !== null && (V(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
572
+ e.ref !== null && (V(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
573
573
  }
574
574
  }
575
575
  var $e = {};
576
- function Be(e, t, r, _, k, w) {
576
+ function Be(e, t, r, _, h, x) {
577
577
  {
578
578
  var m = E(e);
579
579
  if (!m) {
580
580
  var u = "";
581
581
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var $ = ot();
583
- $ ? u += $ : u += Fe();
582
+ var A = ot();
583
+ A ? u += A : u += Fe();
584
584
  var S;
585
- e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (g(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
585
+ e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
586
586
  }
587
- var T = nt(e, t, r, k, w);
587
+ var T = nt(e, t, r, h, x);
588
588
  if (T == null)
589
589
  return T;
590
590
  if (m) {
@@ -596,17 +596,17 @@ Check the top-level render call using <` + r + ">.");
596
596
  Ae(Y[X], e);
597
597
  Object.freeze && Object.freeze(Y);
598
598
  } else
599
- p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
599
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
600
  else
601
601
  Ae(Y, e);
602
602
  }
603
603
  if (ee.call(t, "key")) {
604
- var J = g(e), L = Object.keys(t).filter(function(mt) {
604
+ var J = v(e), L = Object.keys(t).filter(function(mt) {
605
605
  return mt !== "key";
606
606
  }), ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
607
607
  if (!$e[J + ve]) {
608
608
  var ft = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
609
- p(`A props object containing a "key" prop is being spread into JSX:
609
+ y(`A props object containing a "key" prop is being spread into JSX:
610
610
  let props = %s;
611
611
  <%s {...props} />
612
612
  React keys must be passed directly to JSX without using spread:
@@ -623,17 +623,17 @@ React keys must be passed directly to JSX without using spread:
623
623
  function ct(e, t, r) {
624
624
  return Be(e, t, r, !1);
625
625
  }
626
- var dt = ct, ut = lt;
627
- yt.Fragment = c, yt.jsx = dt, yt.jsxs = ut;
626
+ var ut = ct, dt = lt;
627
+ yt.Fragment = c, yt.jsx = ut, yt.jsxs = dt;
628
628
  }()), yt;
629
629
  }
630
630
  process.env.NODE_ENV === "production" ? Rt.exports = zt() : Rt.exports = Ht();
631
631
  var f = Rt.exports;
632
- function ua({ name: a, value: o, title: i, style: c, className: d }) {
633
- let y = {
632
+ function da({ name: a, value: o, title: i, style: c, className: d }) {
633
+ let k = {
634
634
  field: "progress"
635
635
  };
636
- return c && (y.style = c), d && (y.className = d), /* @__PURE__ */ f.jsxs("dl", { ...y, children: [
636
+ return c && (k.style = c), d && (k.className = d), /* @__PURE__ */ f.jsxs("dl", { ...k, children: [
637
637
  i && /* @__PURE__ */ f.jsx("dt", { children: i }),
638
638
  /* @__PURE__ */ f.jsx("dd", {})
639
639
  ] });
@@ -697,25 +697,25 @@ function vt({ data: a }) {
697
697
  be.del(a.key);
698
698
  }, 2500));
699
699
  }, [a.key]);
700
- let c, d, y;
700
+ let c, d, k;
701
701
  switch (a.type) {
702
702
  case "error":
703
- c = /* @__PURE__ */ R.createElement(Le.error, null), d = "Ошибка:", y = We.e;
703
+ c = /* @__PURE__ */ R.createElement(Le.error, null), d = "Ошибка:", k = We.e;
704
704
  break;
705
705
  case "success":
706
- c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Информация:", y = We.s;
706
+ c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Информация:", k = We.s;
707
707
  break;
708
708
  case "copy":
709
- c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Копирование:", y = We.с;
709
+ c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Копирование:", k = We.с;
710
710
  break;
711
711
  case "remark":
712
- c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Подсказка:", y = We.r;
712
+ c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Подсказка:", k = We.r;
713
713
  break;
714
714
  default:
715
- c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Предупреждение:", y = We.с;
715
+ c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Предупреждение:", k = We.с;
716
716
  break;
717
717
  }
718
- return /* @__PURE__ */ R.createElement("li", { className: y, "data-status": o }, c, /* @__PURE__ */ R.createElement("b", null, d), /* @__PURE__ */ R.createElement("p", null, a.text));
718
+ return /* @__PURE__ */ R.createElement("li", { className: k, "data-status": o }, c, /* @__PURE__ */ R.createElement("b", null, d), /* @__PURE__ */ R.createElement("p", null, a.text));
719
719
  }
720
720
  function ir({ data: a }) {
721
721
  let [o, i] = R.useState("show");
@@ -757,59 +757,59 @@ Le.success = () => /* @__PURE__ */ R.createElement("svg", { viewBox: "0 0 24 24"
757
757
  var xt;
758
758
  ((a) => {
759
759
  function o({ className: l }) {
760
- let [v, n] = R.useState([]);
760
+ let [p, n] = R.useState([]);
761
761
  return be.set = (s) => {
762
- n([...v, s]);
762
+ n([...p, s]);
763
763
  }, be.del = (s) => {
764
- n(v.filter((b) => b.key !== s));
765
- }, v.length === 0 ? "" : /* @__PURE__ */ R.createElement("ul", { className: [We.n, l].filter((s) => s).join(" ") }, v.map((s) => s.item));
764
+ n(p.filter((w) => w.key !== s));
765
+ }, p.length === 0 ? "" : /* @__PURE__ */ R.createElement("ul", { className: [We.n, l].filter((s) => s).join(" ") }, p.map((s) => s.item));
766
766
  }
767
767
  a.Init = o;
768
- function i(l, v = !0) {
769
- let n = Date.now(), s = { key: n, text: l, hide: v, type: "error" };
768
+ function i(l, p = !0) {
769
+ let n = Date.now(), s = { key: n, text: l, hide: p, type: "error" };
770
770
  be.set({
771
771
  item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
772
772
  key: n
773
773
  });
774
774
  }
775
775
  a.Error = i;
776
- function c(l, v = !0) {
777
- let n = Date.now(), s = { key: n, text: l, hide: v, type: "success" };
776
+ function c(l, p = !0) {
777
+ let n = Date.now(), s = { key: n, text: l, hide: p, type: "success" };
778
778
  be.set({
779
779
  item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
780
780
  key: n
781
781
  });
782
782
  }
783
783
  a.Success = c;
784
- function d(l, v = !0) {
785
- let n = Date.now(), s = { key: n, hide: v, text: l };
784
+ function d(l, p = !0) {
785
+ let n = Date.now(), s = { key: n, hide: p, text: l };
786
786
  be.set({ item: /* @__PURE__ */ R.createElement(ir, { key: n, data: s }), key: n });
787
787
  }
788
788
  a.Custom = d;
789
- function y(l) {
790
- let v = Date.now(), n = { key: v, hide: !0, ...l };
789
+ function k(l) {
790
+ let p = Date.now(), n = { key: p, hide: !0, ...l };
791
791
  be.set({
792
- item: /* @__PURE__ */ R.createElement(vt, { key: v, data: n }),
793
- key: v
792
+ item: /* @__PURE__ */ R.createElement(vt, { key: p, data: n }),
793
+ key: p
794
794
  });
795
795
  }
796
- a.Send = y;
797
- function x(l, v = !0) {
798
- let n = Date.now(), s = { key: n, text: l, hide: v, type: "remark" };
796
+ a.Send = k;
797
+ function C(l, p = !0) {
798
+ let n = Date.now(), s = { key: n, text: l, hide: p, type: "remark" };
799
799
  be.set({
800
800
  item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
801
801
  key: n
802
802
  });
803
803
  }
804
- a.Remark = x;
805
- function C(l, v = !0) {
806
- let n = Date.now(), s = { key: n, text: l, hide: v, type: "copy" };
804
+ a.Remark = C;
805
+ function b(l, p = !0) {
806
+ let n = Date.now(), s = { key: n, text: l, hide: p, type: "copy" };
807
807
  be.set({
808
808
  item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
809
809
  key: n
810
810
  });
811
811
  }
812
- a.Copy = C;
812
+ a.Copy = b;
813
813
  })(xt || (xt = {}));
814
814
  const he = qt(
815
815
  ({
@@ -818,18 +818,18 @@ const he = qt(
818
818
  type: i = "input",
819
819
  title: c,
820
820
  error: d,
821
- before: y,
822
- after: x,
823
- children: C
821
+ before: k,
822
+ after: C,
823
+ children: b
824
824
  }, l) => /* @__PURE__ */ f.jsxs(
825
825
  "dl",
826
826
  {
827
827
  "data-field": i,
828
828
  ...o.props,
829
- className: [Q.l, ...a.className].filter((v) => v !== void 0).join(" "),
829
+ className: [Q.l, ...a.className].filter((p) => p !== void 0).join(" "),
830
830
  children: [
831
831
  c ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: c }) : "",
832
- y,
832
+ k,
833
833
  /* @__PURE__ */ f.jsx(
834
834
  "dd",
835
835
  {
@@ -840,10 +840,10 @@ const he = qt(
840
840
  d && d.length > 0 ? Q.e : ""
841
841
  ].join(" "),
842
842
  ...o.props,
843
- children: C
843
+ children: b
844
844
  }
845
845
  ),
846
- x
846
+ C
847
847
  ]
848
848
  }
849
849
  )
@@ -854,63 +854,63 @@ function fa({
854
854
  onSave: i,
855
855
  name: c,
856
856
  format: d = "+_(___) ___-__-__",
857
- placeholder: y = "",
858
- title: x = "",
859
- error: C = "",
857
+ placeholder: k = "",
858
+ title: C = "",
859
+ error: b = "",
860
860
  hide: l = !1,
861
- edit: v = !0,
861
+ edit: p = !0,
862
862
  active: n = !0,
863
863
  after: s = "",
864
- show: b = !0,
864
+ show: w = !0,
865
865
  view: j,
866
866
  className: F = ""
867
867
  }) {
868
- v = v !== void 0 ? v : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(v && n), R.useRef(null);
869
- let D = d, O = !0, p = 0, P = (h, g) => {
868
+ p = p !== void 0 ? p : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(p && n), R.useRef(null);
869
+ let D = d, O = !0, y = 0, P = (g, v) => {
870
870
  let M = document.createRange(), B = window.getSelection();
871
- M.setStart(g.childNodes[0], h), M.collapse(!0), B.removeAllRanges(), B.addRange(M), g.focus();
872
- }, K = (h) => {
873
- h.preventDefault(), navigator.clipboard.readText().then((g) => {
874
- window.document.execCommand("insertText", !1, g);
875
- }).catch((g) => {
871
+ M.setStart(v.childNodes[0], g), M.collapse(!0), B.removeAllRanges(), B.addRange(M), v.focus();
872
+ }, K = (g) => {
873
+ g.preventDefault(), navigator.clipboard.readText().then((v) => {
874
+ window.document.execCommand("insertText", !1, v);
875
+ }).catch((v) => {
876
876
  });
877
- }, I = (h) => {
878
- let g = 0, M = "", B = h.replace(/\D/g, "");
877
+ }, I = (g) => {
878
+ let v = 0, M = "", B = g.replace(/\D/g, "");
879
879
  B === "" && (O = !0);
880
880
  let te = B.split(""), H = "";
881
881
  te.forEach((se) => {
882
- O && (H += se, O && (p = ("" + H).length, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""), p > ("" + H).length && (O = !0, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
882
+ O && (H += se, O && (y = ("" + H).length, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""), y > ("" + H).length && (O = !0, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
883
883
  });
884
884
  let ae = D.replace(/\D/g, "");
885
885
  return ae.length >= B.length && (B = ae), { q: D.replace(/[_\d]/g, function() {
886
- return B.charAt(g++) || "_";
887
- }), i: g, v: B, f: M };
888
- }, A = (h) => {
889
- h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
886
+ return B.charAt(v++) || "_";
887
+ }), i: v, v: B, f: M };
888
+ }, $ = (g) => {
889
+ g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
890
890
  function() {
891
891
  xt.Copy("Данные в буфер обмене");
892
892
  },
893
- function(g) {
893
+ function(v) {
894
894
  }
895
895
  );
896
- }, q = I(a), W = (h) => {
897
- let g = I(h.target.textContent);
898
- h.target.textContent = g.q, g.i = g.q.lastIndexOf(g.v.substr(-1)), g.i < g.q.length && g.q !== D ? g.i++ : g.i = g.q.indexOf("_"), P(g.i, h.target), o && o({ value: g.q.replace(/\D/g, ""), name: c });
899
- }, N = (h) => {
900
- h.key === "Enter" && h.preventDefault();
896
+ }, q = I(a), W = (g) => {
897
+ let v = I(g.target.textContent);
898
+ g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target), o && o({ value: v.q.replace(/\D/g, ""), name: c });
899
+ }, N = (g) => {
900
+ g.key === "Enter" && g.preventDefault();
901
901
  };
902
- const E = (h) => {
903
- Z.Blur(h), i && i({
904
- value: h.target.textContent.replace(/\D/g, ""),
902
+ const E = (g) => {
903
+ Z.Blur(g), i && i({
904
+ value: g.target.textContent.replace(/\D/g, ""),
905
905
  name: c
906
906
  });
907
907
  };
908
908
  let G = {};
909
- return v && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", y && (G.placeholder = y), s && (G.after = s), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
909
+ return p && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", k && (G.placeholder = k), s && (G.after = s), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
910
910
  he,
911
911
  {
912
912
  type: "input",
913
- title: x,
913
+ title: C,
914
914
  element_blok: { className: [F] },
915
915
  element_input: { className: [Q.w] },
916
916
  children: /* @__PURE__ */ f.jsx(
@@ -919,7 +919,7 @@ function fa({
919
919
  onPaste: K,
920
920
  onInput: W,
921
921
  onKeyDown: N,
922
- onContextMenu: A,
922
+ onContextMenu: $,
923
923
  onBlur: E,
924
924
  suppressContentEditableWarning: !0,
925
925
  ...G,
@@ -939,23 +939,23 @@ function ma({
939
939
  name: i,
940
940
  error: c,
941
941
  icon: d,
942
- edit: y = !0,
943
- active: x = !0,
944
- title: C,
942
+ edit: k = !0,
943
+ active: C = !0,
944
+ title: b,
945
945
  placeholder: l = "",
946
- className: v
946
+ className: p
947
947
  }) {
948
948
  let [n, s] = R.useState(a);
949
- const b = R.useRef(null), [j, F] = R.useState(!1);
949
+ const w = R.useRef(null), [j, F] = R.useState(!1);
950
950
  R.useEffect(() => {
951
951
  s(a);
952
952
  }, [a]);
953
- let U = (p) => {
954
- s(p), o && o({ value: p, name: i });
955
- }, D = (p) => {
956
- if (!y || !x) return;
957
- const P = p.target.getBoundingClientRect(), K = P.left, I = P.top;
958
- b.position = { x: K, y: I }, F(!0);
953
+ let U = (y) => {
954
+ s(y), o && o({ value: y, name: i });
955
+ }, D = (y) => {
956
+ if (!k || !C) return;
957
+ const P = y.target.getBoundingClientRect(), K = P.left, I = P.top;
958
+ w.position = { x: K, y: I }, F(!0);
959
959
  };
960
960
  const O = {};
961
961
  return l && (O.placeholder = l), d || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
@@ -963,17 +963,17 @@ function ma({
963
963
  he,
964
964
  {
965
965
  type: "date",
966
- title: C,
967
- element_blok: { className: [v] },
966
+ title: b,
967
+ element_blok: { className: [p] },
968
968
  element_input: { className: [Q.w] },
969
- children: /* @__PURE__ */ f.jsx("div", { onClick: D, ...O, children: dr(n, "mm.yyyy") })
969
+ children: /* @__PURE__ */ f.jsx("div", { onClick: D, ...O, children: ur(n, "mm.yyyy") })
970
970
  }
971
971
  ),
972
972
  j && Nt(
973
973
  /* @__PURE__ */ f.jsx(
974
974
  cr,
975
975
  {
976
- position: b.position,
976
+ position: w.position,
977
977
  onValue: U,
978
978
  date: n,
979
979
  onOpen: F
@@ -985,26 +985,26 @@ function ma({
985
985
  ] });
986
986
  }
987
987
  const cr = ({ onOpen: a, date: o, onValue: i, position: c }) => {
988
- let d = /* @__PURE__ */ new Date(), y = new Date(o), x = {
988
+ let d = /* @__PURE__ */ new Date(), k = new Date(o), C = {
989
989
  y: parseInt(d.getFullYear()),
990
990
  m: parseInt(d.getMonth()) + 1
991
- }, C = {
992
- y: parseInt(y.getFullYear()),
993
- m: parseInt(y.getMonth()) + 1
994
- }, [l, v] = R.useState(C.y), n = () => {
991
+ }, b = {
992
+ y: parseInt(k.getFullYear()),
993
+ m: parseInt(k.getMonth()) + 1
994
+ }, [l, p] = R.useState(b.y), n = () => {
995
995
  a(!1);
996
996
  }, s = () => {
997
- v(l + 1);
998
- }, b = () => {
999
- v(l - 1);
1000
- }, j = (p) => {
1001
- i(l + "-" + ur(2, p)), n();
1002
- }, F = (p) => x.y === C.y && x.m === p ? "_FFEB3B" : "", U = Array(12).fill("").map((p, P) => P + 1), D = window.innerHeight - c.y + 33 < 320 ? c.y - 312 : c.y + 33, O = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
997
+ p(l + 1);
998
+ }, w = () => {
999
+ p(l - 1);
1000
+ }, j = (y) => {
1001
+ i(l + "-" + dr(2, y)), n();
1002
+ }, F = (y) => C.y === b.y && C.m === y ? "_FFEB3B" : "", U = Array(12).fill("").map((y, P) => P + 1), D = window.innerHeight - c.y + 33 < 320 ? c.y - 312 : c.y + 33, O = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
1003
1003
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1004
1004
  /* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: n }),
1005
1005
  /* @__PURE__ */ f.jsxs("div", { className: Ct.c, style: { top: D + "px", left: O + "px" }, children: [
1006
1006
  /* @__PURE__ */ f.jsxs("s", { children: [
1007
- /* @__PURE__ */ f.jsx("i", { onClick: b, children: /* @__PURE__ */ f.jsx(
1007
+ /* @__PURE__ */ f.jsx("i", { onClick: w, children: /* @__PURE__ */ f.jsx(
1008
1008
  "svg",
1009
1009
  {
1010
1010
  width: "16",
@@ -1028,21 +1028,21 @@ const cr = ({ onOpen: a, date: o, onValue: i, position: c }) => {
1028
1028
  }
1029
1029
  ) })
1030
1030
  ] }),
1031
- /* @__PURE__ */ f.jsx("div", { "grid-month": "", children: U.map((p, P) => /* @__PURE__ */ f.jsx(
1031
+ /* @__PURE__ */ f.jsx("div", { "grid-month": "", children: U.map((y, P) => /* @__PURE__ */ f.jsx(
1032
1032
  "span",
1033
1033
  {
1034
1034
  onClick: () => {
1035
- j(p);
1035
+ j(y);
1036
1036
  },
1037
- color: F(p),
1038
- children: /* @__PURE__ */ f.jsx("b", { children: fr(p).abc })
1037
+ color: F(y),
1038
+ children: /* @__PURE__ */ f.jsx("b", { children: fr(y).abc })
1039
1039
  },
1040
1040
  P
1041
1041
  )) })
1042
1042
  ] })
1043
1043
  ] });
1044
1044
  };
1045
- function dr(a, o) {
1045
+ function ur(a, o) {
1046
1046
  o === void 0 ? (o = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
1047
1047
  let i = {
1048
1048
  yyyy: a.getFullYear(),
@@ -1059,7 +1059,7 @@ function dr(a, o) {
1059
1059
  o = o.replace(c, i[c]);
1060
1060
  return o;
1061
1061
  }
1062
- function ur(a, o) {
1062
+ function dr(a, o) {
1063
1063
  let i = o + "";
1064
1064
  for (; i.length < a; ) i = "0" + i;
1065
1065
  return i;
@@ -1086,34 +1086,34 @@ function pa({
1086
1086
  name: i,
1087
1087
  placeholder: c = "",
1088
1088
  title: d = "",
1089
- error: y = "",
1090
- hide: x = !1,
1091
- edit: C = !0,
1089
+ error: k = "",
1090
+ hide: C = !1,
1091
+ edit: b = !0,
1092
1092
  active: l = !0,
1093
- after: v = "",
1093
+ after: p = "",
1094
1094
  show: n = !0,
1095
1095
  course: s = 100,
1096
- view: b,
1096
+ view: w,
1097
1097
  type: j,
1098
1098
  onSave: F,
1099
1099
  className: U = "",
1100
1100
  isClear: D = !1
1101
1101
  }) {
1102
- let O = !!(x && (a === "" || a === void 0)), p = (E) => j === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), P = (E, G) => {
1103
- let h = document.createRange(), g = window.getSelection();
1104
- h.setStart(G.childNodes[0], E), h.collapse(!0), g.removeAllRanges(), g.addRange(h), G.focus();
1102
+ let O = !!(C && (a === "" || a === void 0)), y = (E) => j === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), P = (E, G) => {
1103
+ let g = document.createRange(), v = window.getSelection();
1104
+ g.setStart(G.childNodes[0], E), g.collapse(!0), v.removeAllRanges(), v.addRange(g), G.focus();
1105
1105
  }, K = (E) => {
1106
1106
  o == null || o({
1107
- value: p(E.target.textContent) * s,
1107
+ value: y(E.target.textContent) * s,
1108
1108
  name: i
1109
- }), E.target.textContent = p(E.target.textContent), E.target.textContent.length > 0 && P(E.target.textContent.length, E.target);
1109
+ }), E.target.textContent = y(E.target.textContent), E.target.textContent.length > 0 && P(E.target.textContent.length, E.target);
1110
1110
  }, I = (E) => {
1111
- Z.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), F == null || F({ value: p(E.target.textContent) * s, name: i }), o == null || o({
1112
- value: p(E.target.textContent) * s,
1111
+ Z.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), F == null || F({ value: y(E.target.textContent) * s, name: i }), o == null || o({
1112
+ value: y(E.target.textContent) * s,
1113
1113
  name: i
1114
1114
  }), E.target.textContent = It(E.target.textContent);
1115
- }, A = (E) => {
1116
- E.target.textContent = p(E.target.textContent);
1115
+ }, $ = (E) => {
1116
+ E.target.textContent = y(E.target.textContent);
1117
1117
  }, q = (E) => {
1118
1118
  E.key === "Enter" && E.preventDefault();
1119
1119
  }, W = (E) => {
@@ -1122,9 +1122,9 @@ function pa({
1122
1122
  }).catch((G) => {
1123
1123
  });
1124
1124
  };
1125
- if (!(C && l) && !n || !(C && l) && O) return "";
1125
+ if (!(b && l) && !n || !(b && l) && O) return "";
1126
1126
  const N = {};
1127
- return N.inputMode = "decimal", c && (N.placeholder = c), C && l && (N.edit = ""), /* @__PURE__ */ f.jsx(
1127
+ return N.inputMode = "decimal", c && (N.placeholder = c), b && l && (N.edit = ""), /* @__PURE__ */ f.jsx(
1128
1128
  he,
1129
1129
  {
1130
1130
  type: "input",
@@ -1139,10 +1139,10 @@ function pa({
1139
1139
  onPaste: W,
1140
1140
  onBlur: I,
1141
1141
  onKeyDown: q,
1142
- onFocus: A,
1143
- contentEditable: C && l ? Z.ContentEditable : "false",
1142
+ onFocus: $,
1143
+ contentEditable: b && l ? Z.ContentEditable : "false",
1144
1144
  suppressContentEditableWarning: !0,
1145
- "data-after": v,
1145
+ "data-after": p,
1146
1146
  children: !c || a ? It(a) : ""
1147
1147
  }
1148
1148
  )
@@ -1158,36 +1158,36 @@ function ya({
1158
1158
  edit: i = !0,
1159
1159
  active: c = !0,
1160
1160
  className: d,
1161
- placeholder: y,
1162
- max: x,
1163
- min: C,
1161
+ placeholder: k,
1162
+ max: C,
1163
+ min: b,
1164
1164
  onValue: l,
1165
- icon: v,
1165
+ icon: p,
1166
1166
  name: n = "",
1167
1167
  value: s,
1168
- after: b
1168
+ after: w
1169
1169
  }) {
1170
1170
  let [j, F] = R.useState(
1171
1171
  s === void 0 ? /* @__PURE__ */ new Date() : s
1172
1172
  );
1173
1173
  const U = R.useRef(null), [D, O] = R.useState(!1);
1174
- let p = !i && c;
1174
+ let y = !i && c;
1175
1175
  R.useEffect(() => {
1176
1176
  F(s === void 0 ? /* @__PURE__ */ new Date() : s);
1177
1177
  }, [s]);
1178
- let P = (A) => {
1179
- F(A), l == null || l({ value: A, name: n });
1180
- }, K = (A) => {
1181
- const q = A.target.getBoundingClientRect(), W = q.left, N = q.bottom, E = q.top;
1178
+ let P = ($) => {
1179
+ F($), l == null || l({ value: $, name: n });
1180
+ }, K = ($) => {
1181
+ const q = $.target.getBoundingClientRect(), W = q.left, N = q.bottom, E = q.top;
1182
1182
  U.position = { x: W, b: N, y: E }, O(!0);
1183
1183
  };
1184
1184
  const I = {};
1185
- return y && (I.placeholder = y), p ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1186
- v ? v() : /* @__PURE__ */ f.jsxs(
1185
+ return k && (I.placeholder = k), y ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1186
+ p ? p() : /* @__PURE__ */ f.jsxs(
1187
1187
  "dl",
1188
1188
  {
1189
1189
  "data-field": "date",
1190
- className: [Q.l, d].filter((A) => A !== void 0).join(" "),
1190
+ className: [Q.l, d].filter(($) => $ !== void 0).join(" "),
1191
1191
  children: [
1192
1192
  a ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: a }) : "",
1193
1193
  /* @__PURE__ */ f.jsxs(
@@ -1199,7 +1199,7 @@ function ya({
1199
1199
  "data-edit": (i && c) + "",
1200
1200
  children: [
1201
1201
  yr(j, "dd.mm.yyyy"),
1202
- b
1202
+ w
1203
1203
  ]
1204
1204
  }
1205
1205
  ),
@@ -1214,8 +1214,8 @@ function ya({
1214
1214
  position: U.position,
1215
1215
  onValue: P,
1216
1216
  date: j,
1217
- max: x,
1218
- min: C,
1217
+ max: C,
1218
+ min: b,
1219
1219
  onOpen: O,
1220
1220
  className: d
1221
1221
  },
@@ -1231,59 +1231,59 @@ const mr = ({
1231
1231
  position: i,
1232
1232
  max: c,
1233
1233
  min: d,
1234
- className: y,
1235
- onOpen: x
1234
+ className: k,
1235
+ onOpen: C
1236
1236
  }) => {
1237
- let C = /* @__PURE__ */ new Date(), l = new Date(a), v = {
1238
- y: parseInt(C.getFullYear()),
1239
- d: parseInt(C.getDate()),
1240
- m: parseInt(C.getMonth()) + 1
1237
+ let b = /* @__PURE__ */ new Date(), l = new Date(a), p = {
1238
+ y: parseInt(b.getFullYear()),
1239
+ d: parseInt(b.getDate()),
1240
+ m: parseInt(b.getMonth()) + 1
1241
1241
  }, n = {
1242
1242
  y: parseInt(l.getFullYear()),
1243
1243
  d: parseInt(l.getDate()),
1244
1244
  m: parseInt(l.getMonth()) + 1
1245
- }, [s, b] = R.useState({ y: n.y, m: n.m }), j = (h) => {
1246
- let g = h.getDay();
1247
- return g === 0 && (g = 7), g - 1;
1245
+ }, [s, w] = R.useState({ y: n.y, m: n.m }), j = (g) => {
1246
+ let v = g.getDay();
1247
+ return v === 0 && (v = 7), v - 1;
1248
1248
  }, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], U = s.m - 1, D = new Date(s.y, U), O = [];
1249
- for (let h = 0; h < j(D); h++)
1249
+ for (let g = 0; g < j(D); g++)
1250
1250
  O.push(0);
1251
1251
  for (; D.getMonth() === U; )
1252
1252
  O.push(D.getDate()), D.setDate(D.getDate() + 1);
1253
- let p = () => {
1254
- x(!1);
1253
+ let y = () => {
1254
+ C(!1);
1255
1255
  }, P = () => {
1256
- A(s.m + 1, s.y);
1256
+ $(s.m + 1, s.y);
1257
1257
  }, K = () => {
1258
- A(s.m - 1, s.y);
1259
- }, I = (h) => {
1258
+ $(s.m - 1, s.y);
1259
+ }, I = (g) => {
1260
1260
  o(
1261
- s.y + "-" + At(2, s.m) + "-" + At(2, h)
1262
- ), p();
1263
- }, A = (h, g) => {
1264
- g = h > 12 ? g + 1 : h < 1 ? g - 1 : g, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: g, m: h });
1261
+ s.y + "-" + At(2, s.m) + "-" + At(2, g)
1262
+ ), y();
1263
+ }, $ = (g, v) => {
1264
+ v = g > 12 ? v + 1 : g < 1 ? v - 1 : v, g = g > 12 ? 1 : g < 1 ? 12 : g, w({ y: v, m: g });
1265
1265
  };
1266
- const q = (h) => v.y === s.y && v.m === s.m && v.d === h ? { "data-active": "true" } : {}, W = (h) => n.y === s.y && n.m === s.m && n.d === h ? { "data-current": "true" } : {}, N = (h) => {
1267
- let g = !0;
1266
+ const q = (g) => p.y === s.y && p.m === s.m && p.d === g ? { "data-active": "true" } : {}, W = (g) => n.y === s.y && n.m === s.m && n.d === g ? { "data-current": "true" } : {}, N = (g) => {
1267
+ let v = !0;
1268
1268
  if (c) {
1269
- let M = c.getTime(), B = new Date(s.y, s.m - 1, h).getTime();
1270
- M < B && (g = !1);
1269
+ let M = c.getTime(), B = new Date(s.y, s.m - 1, g).getTime();
1270
+ M < B && (v = !1);
1271
1271
  }
1272
1272
  if (d) {
1273
- let M = d.getTime(), B = new Date(s.y, s.m - 1, h).getTime();
1274
- M > B && (g = !1);
1273
+ let M = d.getTime(), B = new Date(s.y, s.m - 1, g).getTime();
1274
+ M > B && (v = !1);
1275
1275
  }
1276
- return g;
1276
+ return v;
1277
1277
  };
1278
1278
  let E = window.innerHeight - i.y < 320 ? i.y - 312 : i.b, G = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
1279
1279
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1280
- /* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: () => p() }),
1280
+ /* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: () => y() }),
1281
1281
  /* @__PURE__ */ f.jsxs(
1282
1282
  "div",
1283
1283
  {
1284
1284
  className: [
1285
1285
  Ct.c,
1286
- y && y + "-backdrop"
1286
+ k && k + "-backdrop"
1287
1287
  ].join(" "),
1288
1288
  style: { top: E + "px", left: G + "px" },
1289
1289
  children: [
@@ -1317,16 +1317,16 @@ const mr = ({
1317
1317
  ) })
1318
1318
  ] }),
1319
1319
  /* @__PURE__ */ f.jsxs("div", { "grid-calendar": "", children: [
1320
- F.map((h, g) => /* @__PURE__ */ f.jsx("p", { children: h }, "v" + g)),
1321
- O.map((h, g) => /* @__PURE__ */ f.jsx("span", { children: h !== 0 && N(h) ? /* @__PURE__ */ f.jsx(
1320
+ F.map((g, v) => /* @__PURE__ */ f.jsx("p", { children: g }, "v" + v)),
1321
+ O.map((g, v) => /* @__PURE__ */ f.jsx("span", { children: g !== 0 && N(g) ? /* @__PURE__ */ f.jsx(
1322
1322
  "b",
1323
1323
  {
1324
- ...q(h),
1325
- ...W(h),
1326
- onClick: () => I(h),
1327
- children: h
1324
+ ...q(g),
1325
+ ...W(g),
1326
+ onClick: () => I(g),
1327
+ children: g
1328
1328
  }
1329
- ) : /* @__PURE__ */ f.jsx("p", { ...q(h), ...W(h), children: h !== 0 ? h : "" }) }, g))
1329
+ ) : /* @__PURE__ */ f.jsx("p", { ...q(g), ...W(g), children: g !== 0 ? g : "" }) }, v))
1330
1330
  ] })
1331
1331
  ]
1332
1332
  }
@@ -1377,14 +1377,14 @@ function va({
1377
1377
  name: i,
1378
1378
  placeholder: c = "",
1379
1379
  title: d = "",
1380
- label: y = "",
1381
- hide: x = !1,
1382
- edit: C = !0,
1380
+ label: k = "",
1381
+ hide: C = !1,
1382
+ edit: b = !0,
1383
1383
  active: l = !0,
1384
- after: v = "",
1384
+ after: p = "",
1385
1385
  show: n = !0,
1386
1386
  maxLength: s,
1387
- error: b = "",
1387
+ error: w = "",
1388
1388
  onSave: j,
1389
1389
  className: F = "",
1390
1390
  isCopy: U = !0
@@ -1393,25 +1393,25 @@ function va({
1393
1393
  o == null || o({ value: I.target.innerText, name: i || "" });
1394
1394
  }, O = (I) => {
1395
1395
  s && I.target.textContent.trim().length >= s && I.key !== "Backspace" && I.preventDefault(), I.key === "Enter" && I.preventDefault();
1396
- }, p = (I) => {
1397
- I.preventDefault(), navigator.clipboard.readText().then((A) => {
1396
+ }, y = (I) => {
1397
+ I.preventDefault(), navigator.clipboard.readText().then(($) => {
1398
1398
  if (s) {
1399
1399
  let q = I.target.textContent.length;
1400
1400
  if (q >= s) return;
1401
- s -= q, A = A.slice(0, s);
1401
+ s -= q, $ = $.slice(0, s);
1402
1402
  }
1403
1403
  window.document.execCommand(
1404
1404
  "insertText",
1405
1405
  !1,
1406
- A.replace(/(\r\n|\n|\r)/gm, " ")
1406
+ $.replace(/(\r\n|\n|\r)/gm, " ")
1407
1407
  );
1408
- }).catch((A) => {
1408
+ }).catch(($) => {
1409
1409
  });
1410
1410
  };
1411
- if (x) return /* @__PURE__ */ f.jsx(f.Fragment, {});
1412
- if (!(C && l) && !n) return "";
1411
+ if (C) return /* @__PURE__ */ f.jsx(f.Fragment, {});
1412
+ if (!(b && l) && !n) return "";
1413
1413
  const P = {};
1414
- c && (P.placeholder = c), C && l && (P.edit = "");
1414
+ c && (P.placeholder = c), b && l && (P.edit = "");
1415
1415
  const K = (I) => {
1416
1416
  Z.Blur(I), j == null || j({ value: I.target.textContent.trim(), name: i || "" });
1417
1417
  };
@@ -1419,18 +1419,18 @@ function va({
1419
1419
  he,
1420
1420
  {
1421
1421
  type: "note",
1422
- title: d || y,
1423
- error: b,
1422
+ title: d || k,
1423
+ error: w,
1424
1424
  element_blok: { className: [F] },
1425
1425
  element_input: { className: [Q.n] },
1426
1426
  children: /* @__PURE__ */ f.jsx(
1427
1427
  "div",
1428
1428
  {
1429
- onPaste: p,
1429
+ onPaste: y,
1430
1430
  onInput: D,
1431
1431
  onBlur: K,
1432
1432
  onKeyDown: O,
1433
- contentEditable: C && l ? Z.ContentEditable : "false",
1433
+ contentEditable: b && l ? Z.ContentEditable : "false",
1434
1434
  suppressContentEditableWarning: !0,
1435
1435
  ...P,
1436
1436
  children: a
@@ -2827,70 +2827,70 @@ function ga({
2827
2827
  onSave: i,
2828
2828
  name: c = "",
2829
2829
  placeholder: d = "",
2830
- title: y = "",
2831
- label: x = "",
2832
- error: C = "",
2830
+ title: k = "",
2831
+ label: C = "",
2832
+ error: b = "",
2833
2833
  hide: l = !1,
2834
- edit: v = !0,
2834
+ edit: p = !0,
2835
2835
  active: n = !0,
2836
2836
  after: s = "",
2837
- show: b = !0,
2837
+ show: w = !0,
2838
2838
  view: j,
2839
2839
  className: F = ""
2840
2840
  }) {
2841
- v = v !== void 0 ? v : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(v && n), R.useRef(null);
2842
- let D = "+_(___) ___-__-__", O = !0, p = 0, P = (h, g) => {
2841
+ p = p !== void 0 ? p : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(p && n), R.useRef(null);
2842
+ let D = "+_(___) ___-__-__", O = !0, y = 0, P = (g, v) => {
2843
2843
  let M = document.createRange(), B = window.getSelection();
2844
- M.setStart(g.childNodes[0], h), M.collapse(!0), B.removeAllRanges(), B.addRange(M), g.focus();
2845
- }, K = (h) => {
2846
- let g = A(h.target.textContent);
2847
- h.target.textContent = g.q, g.i = g.q.lastIndexOf(g.v.substr(-1)), g.i < g.q.length && g.q !== D ? g.i++ : g.i = g.q.indexOf("_"), P(g.i, h.target), o && o({ value: g.q.replace(/\D/g, ""), name: c || "" });
2848
- }, I = (h) => {
2849
- h.preventDefault(), navigator.clipboard.readText().then((g) => {
2850
- window.document.execCommand("insertText", !1, g);
2851
- }).catch((g) => {
2844
+ M.setStart(v.childNodes[0], g), M.collapse(!0), B.removeAllRanges(), B.addRange(M), v.focus();
2845
+ }, K = (g) => {
2846
+ let v = $(g.target.textContent);
2847
+ g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target), o && o({ value: v.q.replace(/\D/g, ""), name: c || "" });
2848
+ }, I = (g) => {
2849
+ g.preventDefault(), navigator.clipboard.readText().then((v) => {
2850
+ window.document.execCommand("insertText", !1, v);
2851
+ }).catch((v) => {
2852
2852
  });
2853
- }, A = (h) => {
2854
- let g = 0, M = "", B = h.replace(/\D/g, "");
2853
+ }, $ = (g) => {
2854
+ let v = 0, M = "", B = g.replace(/\D/g, "");
2855
2855
  B === "" && (O = !0);
2856
2856
  let te = B.split(""), H = "";
2857
2857
  te.forEach((se) => {
2858
- O && (H += se, Et[H] !== void 0 && O ? (O = !1, D = Et[H].mask.replace(new RegExp("[0-9]", "g"), "_"), M = Et[H].code) : (O && (p = ("" + H).length, D = `+${H}_(___) ___-__-__`.replace(
2858
+ O && (H += se, Et[H] !== void 0 && O ? (O = !1, D = Et[H].mask.replace(new RegExp("[0-9]", "g"), "_"), M = Et[H].code) : (O && (y = ("" + H).length, D = `+${H}_(___) ___-__-__`.replace(
2859
2859
  new RegExp("[0-9]", "g"),
2860
2860
  "_"
2861
- ), M = ""), p > ("" + H).length && (O = !0, D = `+${H}_(___) ___-__-__`.replace(
2861
+ ), M = ""), y > ("" + H).length && (O = !0, D = `+${H}_(___) ___-__-__`.replace(
2862
2862
  new RegExp("[0-9]", "g"),
2863
2863
  "_"
2864
2864
  ), M = "")));
2865
2865
  });
2866
2866
  let ae = D.replace(/\D/g, "");
2867
2867
  return ae.length >= B.length && (B = ae), { q: D.replace(/[_\d]/g, function() {
2868
- return B.charAt(g++) || "_";
2869
- }), i: g, v: B, f: M };
2870
- }, q = (h) => {
2871
- h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
2868
+ return B.charAt(v++) || "_";
2869
+ }), i: v, v: B, f: M };
2870
+ }, q = (g) => {
2871
+ g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
2872
2872
  function() {
2873
2873
  xt.Copy("Данные в буфер обмене");
2874
2874
  },
2875
- function(g) {
2875
+ function(v) {
2876
2876
  }
2877
2877
  );
2878
- }, W = A(a), N = (h) => {
2879
- h.key === "Enter" && h.preventDefault();
2878
+ }, W = $(a), N = (g) => {
2879
+ g.key === "Enter" && g.preventDefault();
2880
2880
  };
2881
- const E = (h) => {
2882
- Z.Blur(h), i && i({
2883
- value: h.target.textContent.replace(/\D/g, ""),
2881
+ const E = (g) => {
2882
+ Z.Blur(g), i && i({
2883
+ value: g.target.textContent.replace(/\D/g, ""),
2884
2884
  name: c || ""
2885
2885
  });
2886
2886
  };
2887
2887
  let G = {};
2888
- return v && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", d && (G.placeholder = d), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
2888
+ return p && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", d && (G.placeholder = d), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
2889
2889
  he,
2890
2890
  {
2891
2891
  type: "input",
2892
- title: y || x,
2893
- error: C,
2892
+ title: k || C,
2893
+ error: b,
2894
2894
  element_blok: { className: F },
2895
2895
  element_input: { className: [Q.w] },
2896
2896
  children: /* @__PURE__ */ f.jsx(
@@ -2916,20 +2916,20 @@ function ha({
2916
2916
  name: i = "",
2917
2917
  inputmode: c = "text",
2918
2918
  placeholder: d = "",
2919
- title: y = "",
2920
- label: x = "",
2921
- show: C = !0,
2919
+ title: k = "",
2920
+ label: C = "",
2921
+ show: b = !0,
2922
2922
  hide: l = !1,
2923
- edit: v = !0,
2923
+ edit: p = !0,
2924
2924
  active: n = !0,
2925
2925
  maxLength: s,
2926
- onSave: b,
2926
+ onSave: w,
2927
2927
  className: j = "",
2928
2928
  spellCheck: F = !0,
2929
2929
  isCopy: U = !0,
2930
2930
  isReload: D = !1,
2931
2931
  after: O = "",
2932
- before: p = "",
2932
+ before: y = "",
2933
2933
  error: P = ""
2934
2934
  }) {
2935
2935
  const K = !!(l && (a === "" || a === void 0)), I = (E) => {
@@ -2938,14 +2938,14 @@ function ha({
2938
2938
  name: i,
2939
2939
  reload: D
2940
2940
  });
2941
- }, A = (E) => {
2941
+ }, $ = (E) => {
2942
2942
  s && E.target.textContent.trim().length >= s && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
2943
2943
  }, q = (E) => {
2944
2944
  E.preventDefault(), navigator.clipboard.readText().then((G) => {
2945
2945
  if (s) {
2946
- let h = E.target.textContent.length;
2947
- if (h >= s) return;
2948
- s -= h, G = G.slice(0, s);
2946
+ let g = E.target.textContent.length;
2947
+ if (g >= s) return;
2948
+ s -= g, G = G.slice(0, s);
2949
2949
  }
2950
2950
  window.document.execCommand(
2951
2951
  "insertText",
@@ -2955,32 +2955,32 @@ function ha({
2955
2955
  }).catch((G) => {
2956
2956
  });
2957
2957
  };
2958
- if (!(v && n) && !C || !(v && n) && K) return "";
2958
+ if (!(p && n) && !b || !(p && n) && K) return "";
2959
2959
  const W = {};
2960
- d && (W.placeholder = d), v && n && (W.edit = "");
2960
+ d && (W.placeholder = d), p && n && (W.edit = "");
2961
2961
  const N = (E) => {
2962
- Z.Blur(E), b == null || b({ value: E.target.textContent.trim(), name: i });
2962
+ Z.Blur(E), w == null || w({ value: E.target.textContent.trim(), name: i });
2963
2963
  };
2964
2964
  return /* @__PURE__ */ f.jsxs(
2965
2965
  he,
2966
2966
  {
2967
2967
  type: "input",
2968
- title: y || x,
2968
+ title: k || C,
2969
2969
  error: P,
2970
2970
  element_blok: { className: [j] },
2971
2971
  element_input: { className: [Q.w] },
2972
2972
  children: [
2973
- p,
2973
+ y,
2974
2974
  /* @__PURE__ */ f.jsx(
2975
2975
  "div",
2976
2976
  {
2977
2977
  onBlur: N,
2978
2978
  onPaste: q,
2979
2979
  onInput: I,
2980
- onKeyDown: A,
2980
+ onKeyDown: $,
2981
2981
  spellCheck: F,
2982
2982
  inputMode: c || "text",
2983
- contentEditable: v && n ? Z.ContentEditable : "false",
2983
+ contentEditable: p && n ? Z.ContentEditable : "false",
2984
2984
  suppressContentEditableWarning: !0,
2985
2985
  ...W,
2986
2986
  children: a
@@ -2997,35 +2997,35 @@ function ka({
2997
2997
  active: i,
2998
2998
  max: c,
2999
2999
  edit: d,
3000
- title: y,
3001
- error: x,
3002
- show: C,
3000
+ title: k,
3001
+ error: C,
3002
+ show: b,
3003
3003
  hide: l,
3004
- value: v,
3004
+ value: p,
3005
3005
  placeholder: n,
3006
3006
  className: s,
3007
- maxLength: b,
3007
+ maxLength: w,
3008
3008
  name: j = "",
3009
3009
  after: F = "",
3010
3010
  before: U = "",
3011
3011
  view: D
3012
3012
  }) {
3013
- d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, l = !!(l && (v === "" || v === void 0)) && !(d && i), n = n !== void 0 ? n : "", c = c !== void 0 ? c : 99;
3014
- let p = !1, P = (N) => {
3013
+ d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, l = !!(l && (p === "" || p === void 0)) && !(d && i), n = n !== void 0 ? n : "", c = c !== void 0 ? c : 99;
3014
+ let y = !1, P = (N) => {
3015
3015
  a == null || a({ value: N.target.textContent, name: j });
3016
3016
  }, K = (N) => {
3017
- if (!(p && N.which === 86)) {
3018
- if (N.which === 17 || N.which === 91) return p = !0;
3017
+ if (!(y && N.which === 86)) {
3018
+ if (N.which === 17 || N.which === 91) return y = !0;
3019
3019
  N.key !== "Backspace" && (N.target.textContent.length === c && N.preventDefault(), N.key === "Enter" && N.preventDefault(), isNaN(N.key) && N.preventDefault());
3020
3020
  }
3021
3021
  }, I = (N) => {
3022
- if (N.which === 17 || N.which === 91) return p = !1;
3023
- }, A = (N) => {
3022
+ if (N.which === 17 || N.which === 91) return y = !1;
3023
+ }, $ = (N) => {
3024
3024
  N.preventDefault(), navigator.clipboard.readText().then((E) => {
3025
- if (E = E.replace(/(?!^\+|\d)./g, ""), b) {
3025
+ if (E = E.replace(/(?!^\+|\d)./g, ""), w) {
3026
3026
  let G = N.target.textContent.length;
3027
- if (G >= b) return;
3028
- b -= G, E = E.slice(0, b);
3027
+ if (G >= w) return;
3028
+ w -= G, E = E.slice(0, w);
3029
3029
  }
3030
3030
  window.document.execCommand("insertText", !1, "" + E);
3031
3031
  }).catch((E) => {
@@ -3039,14 +3039,14 @@ function ka({
3039
3039
  he,
3040
3040
  {
3041
3041
  type: "numeric",
3042
- title: y,
3043
- error: x,
3042
+ title: k,
3043
+ error: C,
3044
3044
  element_blok: { className: [s] },
3045
3045
  element_input: { className: [Q.w] },
3046
3046
  children: /* @__PURE__ */ f.jsx(
3047
3047
  "div",
3048
3048
  {
3049
- onPaste: A,
3049
+ onPaste: $,
3050
3050
  onInput: P,
3051
3051
  onBlur: q,
3052
3052
  onKeyDown: K,
@@ -3055,7 +3055,7 @@ function ka({
3055
3055
  contentEditable: d && i ? Z.ContentEditable : "false",
3056
3056
  suppressContentEditableWarning: !0,
3057
3057
  ...W,
3058
- children: v
3058
+ children: p
3059
3059
  }
3060
3060
  )
3061
3061
  }
@@ -3075,15 +3075,15 @@ var $t;
3075
3075
  function vr() {
3076
3076
  if ($t) return gt;
3077
3077
  $t = 1;
3078
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
3079
- function x(C, l, v) {
3080
- var n, s = {}, b = null, j = null;
3081
- v !== void 0 && (b = "" + v), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
3082
- for (n in l) c.call(l, n) && !y.hasOwnProperty(n) && (s[n] = l[n]);
3083
- if (C && C.defaultProps) for (n in l = C.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
3084
- return { $$typeof: o, type: C, key: b, ref: j, props: s, _owner: d.current };
3078
+ var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
3079
+ function C(b, l, p) {
3080
+ var n, s = {}, w = null, j = null;
3081
+ p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
3082
+ for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
3083
+ if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
3084
+ return { $$typeof: o, type: b, key: w, ref: j, props: s, _owner: d.current };
3085
3085
  }
3086
- return gt.Fragment = i, gt.jsx = x, gt.jsxs = x, gt;
3086
+ return gt.Fragment = i, gt.jsx = C, gt.jsxs = C, gt;
3087
3087
  }
3088
3088
  var kt = {};
3089
3089
  /**
@@ -3098,7 +3098,7 @@ var kt = {};
3098
3098
  var Bt;
3099
3099
  function gr() {
3100
3100
  return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
3101
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), C = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
3101
+ var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
3102
3102
  function D(e) {
3103
3103
  if (e === null || typeof e != "object")
3104
3104
  return null;
@@ -3106,7 +3106,7 @@ function gr() {
3106
3106
  return typeof t == "function" ? t : null;
3107
3107
  }
3108
3108
  var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3109
- function p(e) {
3109
+ function y(e) {
3110
3110
  {
3111
3111
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), _ = 1; _ < t; _++)
3112
3112
  r[_ - 1] = arguments[_];
@@ -3115,18 +3115,18 @@ function gr() {
3115
3115
  }
3116
3116
  function P(e, t, r) {
3117
3117
  {
3118
- var _ = O.ReactDebugCurrentFrame, k = _.getStackAddendum();
3119
- k !== "" && (t += "%s", r = r.concat([k]));
3120
- var w = r.map(function(m) {
3118
+ var _ = O.ReactDebugCurrentFrame, h = _.getStackAddendum();
3119
+ h !== "" && (t += "%s", r = r.concat([h]));
3120
+ var x = r.map(function(m) {
3121
3121
  return String(m);
3122
3122
  });
3123
- w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
3123
+ x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
3124
3124
  }
3125
3125
  }
3126
- var K = !1, I = !1, A = !1, q = !1, W = !1, N;
3126
+ var K = !1, I = !1, $ = !1, q = !1, W = !1, N;
3127
3127
  N = Symbol.for("react.module.reference");
3128
3128
  function E(e) {
3129
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === y || W || e === d || e === v || e === n || q || e === j || K || I || A || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === x || e.$$typeof === C || e.$$typeof === l || // This needs to include all possible module reference object
3129
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e === p || e === n || q || e === j || K || I || $ || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
3130
3130
  // types supported by any Flight configuration anywhere since
3131
3131
  // we don't know which Flight build this will end up being used
3132
3132
  // with.
@@ -3136,16 +3136,16 @@ function gr() {
3136
3136
  var _ = e.displayName;
3137
3137
  if (_)
3138
3138
  return _;
3139
- var k = t.displayName || t.name || "";
3140
- return k !== "" ? r + "(" + k + ")" : r;
3139
+ var h = t.displayName || t.name || "";
3140
+ return h !== "" ? r + "(" + h + ")" : r;
3141
3141
  }
3142
- function h(e) {
3142
+ function g(e) {
3143
3143
  return e.displayName || "Context";
3144
3144
  }
3145
- function g(e) {
3145
+ function v(e) {
3146
3146
  if (e == null)
3147
3147
  return null;
3148
- if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
3148
+ if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
3149
3149
  return e.displayName || e.name || null;
3150
3150
  if (typeof e == "string")
3151
3151
  return e;
@@ -3154,32 +3154,32 @@ function gr() {
3154
3154
  return "Fragment";
3155
3155
  case i:
3156
3156
  return "Portal";
3157
- case y:
3157
+ case k:
3158
3158
  return "Profiler";
3159
3159
  case d:
3160
3160
  return "StrictMode";
3161
- case v:
3161
+ case p:
3162
3162
  return "Suspense";
3163
3163
  case n:
3164
3164
  return "SuspenseList";
3165
3165
  }
3166
3166
  if (typeof e == "object")
3167
3167
  switch (e.$$typeof) {
3168
- case C:
3168
+ case b:
3169
3169
  var t = e;
3170
- return h(t) + ".Consumer";
3171
- case x:
3170
+ return g(t) + ".Consumer";
3171
+ case C:
3172
3172
  var r = e;
3173
- return h(r._context) + ".Provider";
3173
+ return g(r._context) + ".Provider";
3174
3174
  case l:
3175
3175
  return G(e, e.render, "ForwardRef");
3176
3176
  case s:
3177
3177
  var _ = e.displayName || null;
3178
- return _ !== null ? _ : g(e.type) || "Memo";
3179
- case b: {
3180
- var k = e, w = k._payload, m = k._init;
3178
+ return _ !== null ? _ : v(e.type) || "Memo";
3179
+ case w: {
3180
+ var h = e, x = h._payload, m = h._init;
3181
3181
  try {
3182
- return g(m(w));
3182
+ return v(m(x));
3183
3183
  } catch {
3184
3184
  return null;
3185
3185
  }
@@ -3246,30 +3246,30 @@ function gr() {
3246
3246
  })
3247
3247
  });
3248
3248
  }
3249
- B < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3249
+ B < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3250
3250
  }
3251
3251
  }
3252
- var ce = O.ReactCurrentDispatcher, de;
3252
+ var ce = O.ReactCurrentDispatcher, ue;
3253
3253
  function ne(e, t, r) {
3254
3254
  {
3255
- if (de === void 0)
3255
+ if (ue === void 0)
3256
3256
  try {
3257
3257
  throw Error();
3258
- } catch (k) {
3259
- var _ = k.stack.trim().match(/\n( *(at )?)/);
3260
- de = _ && _[1] || "";
3258
+ } catch (h) {
3259
+ var _ = h.stack.trim().match(/\n( *(at )?)/);
3260
+ ue = _ && _[1] || "";
3261
3261
  }
3262
3262
  return `
3263
- ` + de + e;
3263
+ ` + ue + e;
3264
3264
  }
3265
3265
  }
3266
- var ue = !1, oe;
3266
+ var de = !1, oe;
3267
3267
  {
3268
3268
  var Ke = typeof WeakMap == "function" ? WeakMap : Map;
3269
3269
  oe = new Ke();
3270
3270
  }
3271
3271
  function je(e, t) {
3272
- if (!e || ue)
3272
+ if (!e || de)
3273
3273
  return "";
3274
3274
  {
3275
3275
  var r = oe.get(e);
@@ -3277,11 +3277,11 @@ function gr() {
3277
3277
  return r;
3278
3278
  }
3279
3279
  var _;
3280
- ue = !0;
3281
- var k = Error.prepareStackTrace;
3280
+ de = !0;
3281
+ var h = Error.prepareStackTrace;
3282
3282
  Error.prepareStackTrace = void 0;
3283
- var w;
3284
- w = ce.current, ce.current = null, Ue();
3283
+ var x;
3284
+ x = ce.current, ce.current = null, Ue();
3285
3285
  try {
3286
3286
  if (t) {
3287
3287
  var m = function() {
@@ -3317,14 +3317,14 @@ function gr() {
3317
3317
  } catch (L) {
3318
3318
  if (L && _ && typeof L.stack == "string") {
3319
3319
  for (var u = L.stack.split(`
3320
- `), $ = _.stack.split(`
3321
- `), S = u.length - 1, T = $.length - 1; S >= 1 && T >= 0 && u[S] !== $[T]; )
3320
+ `), A = _.stack.split(`
3321
+ `), S = u.length - 1, T = A.length - 1; S >= 1 && T >= 0 && u[S] !== A[T]; )
3322
3322
  T--;
3323
3323
  for (; S >= 1 && T >= 0; S--, T--)
3324
- if (u[S] !== $[T]) {
3324
+ if (u[S] !== A[T]) {
3325
3325
  if (S !== 1 || T !== 1)
3326
3326
  do
3327
- if (S--, T--, T < 0 || u[S] !== $[T]) {
3327
+ if (S--, T--, T < 0 || u[S] !== A[T]) {
3328
3328
  var Y = `
3329
3329
  ` + u[S].replace(" at new ", " at ");
3330
3330
  return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
@@ -3334,7 +3334,7 @@ function gr() {
3334
3334
  }
3335
3335
  }
3336
3336
  } finally {
3337
- ue = !1, ce.current = w, qe(), Error.prepareStackTrace = k;
3337
+ de = !1, ce.current = x, qe(), Error.prepareStackTrace = h;
3338
3338
  }
3339
3339
  var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
3340
3340
  return typeof e == "function" && oe.set(e, J), J;
@@ -3354,7 +3354,7 @@ function gr() {
3354
3354
  if (typeof e == "string")
3355
3355
  return ne(e);
3356
3356
  switch (e) {
3357
- case v:
3357
+ case p:
3358
3358
  return ne("Suspense");
3359
3359
  case n:
3360
3360
  return ne("SuspenseList");
@@ -3365,10 +3365,10 @@ function gr() {
3365
3365
  return Ge(e.render);
3366
3366
  case s:
3367
3367
  return _e(e.type, t, r);
3368
- case b: {
3369
- var _ = e, k = _._payload, w = _._init;
3368
+ case w: {
3369
+ var _ = e, h = _._payload, x = _._init;
3370
3370
  try {
3371
- return _e(w(k), t, r);
3371
+ return _e(x(h), t, r);
3372
3372
  } catch {
3373
3373
  }
3374
3374
  }
@@ -3383,22 +3383,22 @@ function gr() {
3383
3383
  } else
3384
3384
  Se.setExtraStackFrame(null);
3385
3385
  }
3386
- function ze(e, t, r, _, k) {
3386
+ function ze(e, t, r, _, h) {
3387
3387
  {
3388
- var w = Function.call.bind(ee);
3388
+ var x = Function.call.bind(ee);
3389
3389
  for (var m in e)
3390
- if (w(e, m)) {
3390
+ if (x(e, m)) {
3391
3391
  var u = void 0;
3392
3392
  try {
3393
3393
  if (typeof e[m] != "function") {
3394
- var $ = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3395
- throw $.name = "Invariant Violation", $;
3394
+ var A = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3395
+ throw A.name = "Invariant Violation", A;
3396
3396
  }
3397
3397
  u = e[m](t, m, _, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3398
3398
  } catch (S) {
3399
3399
  u = S;
3400
3400
  }
3401
- u && !(u instanceof Error) && (ie(k), p("%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).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(k), p("Failed %s type: %s", r, u.message), ie(null));
3401
+ u && !(u instanceof Error) && (ie(h), y("%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).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
3402
3402
  }
3403
3403
  }
3404
3404
  }
@@ -3424,7 +3424,7 @@ function gr() {
3424
3424
  }
3425
3425
  function Te(e) {
3426
3426
  if (Ze(e))
3427
- return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
3427
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
3428
3428
  }
3429
3429
  var Oe = O.ReactCurrentOwner, Ve = {
3430
3430
  key: !0,
@@ -3454,7 +3454,7 @@ function gr() {
3454
3454
  function tt(e, t) {
3455
3455
  {
3456
3456
  var r = function() {
3457
- De || (De = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
3457
+ De || (De = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
3458
3458
  };
3459
3459
  r.isReactWarning = !0, Object.defineProperty(e, "key", {
3460
3460
  get: r,
@@ -3465,7 +3465,7 @@ function gr() {
3465
3465
  function rt(e, t) {
3466
3466
  {
3467
3467
  var r = function() {
3468
- Pe || (Pe = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
3468
+ Pe || (Pe = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
3469
3469
  };
3470
3470
  r.isReactWarning = !0, Object.defineProperty(e, "ref", {
3471
3471
  get: r,
@@ -3473,7 +3473,7 @@ function gr() {
3473
3473
  });
3474
3474
  }
3475
3475
  }
3476
- var at = function(e, t, r, _, k, w, m) {
3476
+ var at = function(e, t, r, _, h, x, m) {
3477
3477
  var u = {
3478
3478
  // This tag allows us to uniquely identify this as a React Element
3479
3479
  $$typeof: o,
@@ -3483,7 +3483,7 @@ function gr() {
3483
3483
  ref: r,
3484
3484
  props: m,
3485
3485
  // Record the component responsible for creating this element.
3486
- _owner: w
3486
+ _owner: x
3487
3487
  };
3488
3488
  return u._store = {}, Object.defineProperty(u._store, "validated", {
3489
3489
  configurable: !1,
@@ -3499,25 +3499,25 @@ function gr() {
3499
3499
  configurable: !1,
3500
3500
  enumerable: !1,
3501
3501
  writable: !1,
3502
- value: k
3502
+ value: h
3503
3503
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
3504
3504
  };
3505
- function nt(e, t, r, _, k) {
3505
+ function nt(e, t, r, _, h) {
3506
3506
  {
3507
- var w, m = {}, u = null, $ = null;
3508
- r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && ($ = t.ref, et(t));
3509
- for (w in t)
3510
- ee.call(t, w) && !Ve.hasOwnProperty(w) && (m[w] = t[w]);
3507
+ var x, m = {}, u = null, A = null;
3508
+ r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (A = t.ref, et(t));
3509
+ for (x in t)
3510
+ ee.call(t, x) && !Ve.hasOwnProperty(x) && (m[x] = t[x]);
3511
3511
  if (e && e.defaultProps) {
3512
3512
  var S = e.defaultProps;
3513
- for (w in S)
3514
- m[w] === void 0 && (m[w] = S[w]);
3513
+ for (x in S)
3514
+ m[x] === void 0 && (m[x] = S[x]);
3515
3515
  }
3516
- if (u || $) {
3516
+ if (u || A) {
3517
3517
  var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
3518
- u && tt(m, T), $ && rt(m, T);
3518
+ u && tt(m, T), A && rt(m, T);
3519
3519
  }
3520
- return at(e, u, $, k, _, Oe.current, m);
3520
+ return at(e, u, A, h, _, Oe.current, m);
3521
3521
  }
3522
3522
  }
3523
3523
  var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
@@ -3536,7 +3536,7 @@ function gr() {
3536
3536
  function Fe() {
3537
3537
  {
3538
3538
  if (me.current) {
3539
- var e = g(me.current.type);
3539
+ var e = v(me.current.type);
3540
3540
  if (e)
3541
3541
  return `
3542
3542
 
@@ -3571,7 +3571,7 @@ Check the top-level render call using <` + r + ">.");
3571
3571
  return;
3572
3572
  Me[r] = !0;
3573
3573
  var _ = "";
3574
- e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + g(e._owner.type) + "."), V(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, _), V(null);
3574
+ e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, _), V(null);
3575
3575
  }
3576
3576
  }
3577
3577
  function Ae(e, t) {
@@ -3586,9 +3586,9 @@ Check the top-level render call using <` + r + ">.");
3586
3586
  else if (ye(e))
3587
3587
  e._store && (e._store.validated = !0);
3588
3588
  else if (e) {
3589
- var k = D(e);
3590
- if (typeof k == "function" && k !== e.entries)
3591
- for (var w = k.call(e), m; !(m = w.next()).done; )
3589
+ var h = D(e);
3590
+ if (typeof h == "function" && h !== e.entries)
3591
+ for (var x = h.call(e), m; !(m = x.next()).done; )
3592
3592
  ye(m.value) && Ie(m.value, t);
3593
3593
  }
3594
3594
  }
@@ -3608,14 +3608,14 @@ Check the top-level render call using <` + r + ">.");
3608
3608
  else
3609
3609
  return;
3610
3610
  if (r) {
3611
- var _ = g(t);
3611
+ var _ = v(t);
3612
3612
  ze(r, e.props, "prop", _, e);
3613
3613
  } else if (t.PropTypes !== void 0 && !pe) {
3614
3614
  pe = !0;
3615
- var k = g(t);
3616
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
3615
+ var h = v(t);
3616
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
3617
3617
  }
3618
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
3618
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
3619
3619
  }
3620
3620
  }
3621
3621
  function st(e) {
@@ -3623,26 +3623,26 @@ Check the top-level render call using <` + r + ">.");
3623
3623
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
3624
3624
  var _ = t[r];
3625
3625
  if (_ !== "children" && _ !== "key") {
3626
- V(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), V(null);
3626
+ V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), V(null);
3627
3627
  break;
3628
3628
  }
3629
3629
  }
3630
- e.ref !== null && (V(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
3630
+ e.ref !== null && (V(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
3631
3631
  }
3632
3632
  }
3633
3633
  var $e = {};
3634
- function Be(e, t, r, _, k, w) {
3634
+ function Be(e, t, r, _, h, x) {
3635
3635
  {
3636
3636
  var m = E(e);
3637
3637
  if (!m) {
3638
3638
  var u = "";
3639
3639
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
3640
- var $ = ot();
3641
- $ ? u += $ : u += Fe();
3640
+ var A = ot();
3641
+ A ? u += A : u += Fe();
3642
3642
  var S;
3643
- e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (g(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
3643
+ e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
3644
3644
  }
3645
- var T = nt(e, t, r, k, w);
3645
+ var T = nt(e, t, r, h, x);
3646
3646
  if (T == null)
3647
3647
  return T;
3648
3648
  if (m) {
@@ -3654,17 +3654,17 @@ Check the top-level render call using <` + r + ">.");
3654
3654
  Ae(Y[X], e);
3655
3655
  Object.freeze && Object.freeze(Y);
3656
3656
  } else
3657
- p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
3657
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
3658
3658
  else
3659
3659
  Ae(Y, e);
3660
3660
  }
3661
3661
  if (ee.call(t, "key")) {
3662
- var J = g(e), L = Object.keys(t).filter(function(mt) {
3662
+ var J = v(e), L = Object.keys(t).filter(function(mt) {
3663
3663
  return mt !== "key";
3664
3664
  }), ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
3665
3665
  if (!$e[J + ve]) {
3666
3666
  var ft = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
3667
- p(`A props object containing a "key" prop is being spread into JSX:
3667
+ y(`A props object containing a "key" prop is being spread into JSX:
3668
3668
  let props = %s;
3669
3669
  <%s {...props} />
3670
3670
  React keys must be passed directly to JSX without using spread:
@@ -3681,8 +3681,8 @@ React keys must be passed directly to JSX without using spread:
3681
3681
  function ct(e, t, r) {
3682
3682
  return Be(e, t, r, !1);
3683
3683
  }
3684
- var dt = ct, ut = lt;
3685
- kt.Fragment = c, kt.jsx = dt, kt.jsxs = ut;
3684
+ var ut = ct, dt = lt;
3685
+ kt.Fragment = c, kt.jsx = ut, kt.jsxs = dt;
3686
3686
  }()), kt;
3687
3687
  }
3688
3688
  process.env.NODE_ENV === "production" ? Tt.exports = vr() : Tt.exports = gr();
@@ -3784,15 +3784,15 @@ var Wt;
3784
3784
  function zr() {
3785
3785
  if (Wt) return ht;
3786
3786
  Wt = 1;
3787
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
3788
- function x(C, l, v) {
3789
- var n, s = {}, b = null, j = null;
3790
- v !== void 0 && (b = "" + v), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
3791
- for (n in l) c.call(l, n) && !y.hasOwnProperty(n) && (s[n] = l[n]);
3792
- if (C && C.defaultProps) for (n in l = C.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
3793
- return { $$typeof: o, type: C, key: b, ref: j, props: s, _owner: d.current };
3787
+ var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
3788
+ function C(b, l, p) {
3789
+ var n, s = {}, w = null, j = null;
3790
+ p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
3791
+ for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
3792
+ if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
3793
+ return { $$typeof: o, type: b, key: w, ref: j, props: s, _owner: d.current };
3794
3794
  }
3795
- return ht.Fragment = i, ht.jsx = x, ht.jsxs = x, ht;
3795
+ return ht.Fragment = i, ht.jsx = C, ht.jsxs = C, ht;
3796
3796
  }
3797
3797
  var bt = {};
3798
3798
  /**
@@ -3807,7 +3807,7 @@ var bt = {};
3807
3807
  var Ut;
3808
3808
  function Hr() {
3809
3809
  return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
3810
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), C = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
3810
+ var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
3811
3811
  function D(e) {
3812
3812
  if (e === null || typeof e != "object")
3813
3813
  return null;
@@ -3815,7 +3815,7 @@ function Hr() {
3815
3815
  return typeof t == "function" ? t : null;
3816
3816
  }
3817
3817
  var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3818
- function p(e) {
3818
+ function y(e) {
3819
3819
  {
3820
3820
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), _ = 1; _ < t; _++)
3821
3821
  r[_ - 1] = arguments[_];
@@ -3824,18 +3824,18 @@ function Hr() {
3824
3824
  }
3825
3825
  function P(e, t, r) {
3826
3826
  {
3827
- var _ = O.ReactDebugCurrentFrame, k = _.getStackAddendum();
3828
- k !== "" && (t += "%s", r = r.concat([k]));
3829
- var w = r.map(function(m) {
3827
+ var _ = O.ReactDebugCurrentFrame, h = _.getStackAddendum();
3828
+ h !== "" && (t += "%s", r = r.concat([h]));
3829
+ var x = r.map(function(m) {
3830
3830
  return String(m);
3831
3831
  });
3832
- w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
3832
+ x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
3833
3833
  }
3834
3834
  }
3835
- var K = !1, I = !1, A = !1, q = !1, W = !1, N;
3835
+ var K = !1, I = !1, $ = !1, q = !1, W = !1, N;
3836
3836
  N = Symbol.for("react.module.reference");
3837
3837
  function E(e) {
3838
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === y || W || e === d || e === v || e === n || q || e === j || K || I || A || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === x || e.$$typeof === C || e.$$typeof === l || // This needs to include all possible module reference object
3838
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e === p || e === n || q || e === j || K || I || $ || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
3839
3839
  // types supported by any Flight configuration anywhere since
3840
3840
  // we don't know which Flight build this will end up being used
3841
3841
  // with.
@@ -3845,16 +3845,16 @@ function Hr() {
3845
3845
  var _ = e.displayName;
3846
3846
  if (_)
3847
3847
  return _;
3848
- var k = t.displayName || t.name || "";
3849
- return k !== "" ? r + "(" + k + ")" : r;
3848
+ var h = t.displayName || t.name || "";
3849
+ return h !== "" ? r + "(" + h + ")" : r;
3850
3850
  }
3851
- function h(e) {
3851
+ function g(e) {
3852
3852
  return e.displayName || "Context";
3853
3853
  }
3854
- function g(e) {
3854
+ function v(e) {
3855
3855
  if (e == null)
3856
3856
  return null;
3857
- if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
3857
+ if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
3858
3858
  return e.displayName || e.name || null;
3859
3859
  if (typeof e == "string")
3860
3860
  return e;
@@ -3863,32 +3863,32 @@ function Hr() {
3863
3863
  return "Fragment";
3864
3864
  case i:
3865
3865
  return "Portal";
3866
- case y:
3866
+ case k:
3867
3867
  return "Profiler";
3868
3868
  case d:
3869
3869
  return "StrictMode";
3870
- case v:
3870
+ case p:
3871
3871
  return "Suspense";
3872
3872
  case n:
3873
3873
  return "SuspenseList";
3874
3874
  }
3875
3875
  if (typeof e == "object")
3876
3876
  switch (e.$$typeof) {
3877
- case C:
3877
+ case b:
3878
3878
  var t = e;
3879
- return h(t) + ".Consumer";
3880
- case x:
3879
+ return g(t) + ".Consumer";
3880
+ case C:
3881
3881
  var r = e;
3882
- return h(r._context) + ".Provider";
3882
+ return g(r._context) + ".Provider";
3883
3883
  case l:
3884
3884
  return G(e, e.render, "ForwardRef");
3885
3885
  case s:
3886
3886
  var _ = e.displayName || null;
3887
- return _ !== null ? _ : g(e.type) || "Memo";
3888
- case b: {
3889
- var k = e, w = k._payload, m = k._init;
3887
+ return _ !== null ? _ : v(e.type) || "Memo";
3888
+ case w: {
3889
+ var h = e, x = h._payload, m = h._init;
3890
3890
  try {
3891
- return g(m(w));
3891
+ return v(m(x));
3892
3892
  } catch {
3893
3893
  return null;
3894
3894
  }
@@ -3955,30 +3955,30 @@ function Hr() {
3955
3955
  })
3956
3956
  });
3957
3957
  }
3958
- B < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3958
+ B < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3959
3959
  }
3960
3960
  }
3961
- var ce = O.ReactCurrentDispatcher, de;
3961
+ var ce = O.ReactCurrentDispatcher, ue;
3962
3962
  function ne(e, t, r) {
3963
3963
  {
3964
- if (de === void 0)
3964
+ if (ue === void 0)
3965
3965
  try {
3966
3966
  throw Error();
3967
- } catch (k) {
3968
- var _ = k.stack.trim().match(/\n( *(at )?)/);
3969
- de = _ && _[1] || "";
3967
+ } catch (h) {
3968
+ var _ = h.stack.trim().match(/\n( *(at )?)/);
3969
+ ue = _ && _[1] || "";
3970
3970
  }
3971
3971
  return `
3972
- ` + de + e;
3972
+ ` + ue + e;
3973
3973
  }
3974
3974
  }
3975
- var ue = !1, oe;
3975
+ var de = !1, oe;
3976
3976
  {
3977
3977
  var Ke = typeof WeakMap == "function" ? WeakMap : Map;
3978
3978
  oe = new Ke();
3979
3979
  }
3980
3980
  function je(e, t) {
3981
- if (!e || ue)
3981
+ if (!e || de)
3982
3982
  return "";
3983
3983
  {
3984
3984
  var r = oe.get(e);
@@ -3986,11 +3986,11 @@ function Hr() {
3986
3986
  return r;
3987
3987
  }
3988
3988
  var _;
3989
- ue = !0;
3990
- var k = Error.prepareStackTrace;
3989
+ de = !0;
3990
+ var h = Error.prepareStackTrace;
3991
3991
  Error.prepareStackTrace = void 0;
3992
- var w;
3993
- w = ce.current, ce.current = null, Ue();
3992
+ var x;
3993
+ x = ce.current, ce.current = null, Ue();
3994
3994
  try {
3995
3995
  if (t) {
3996
3996
  var m = function() {
@@ -4026,14 +4026,14 @@ function Hr() {
4026
4026
  } catch (L) {
4027
4027
  if (L && _ && typeof L.stack == "string") {
4028
4028
  for (var u = L.stack.split(`
4029
- `), $ = _.stack.split(`
4030
- `), S = u.length - 1, T = $.length - 1; S >= 1 && T >= 0 && u[S] !== $[T]; )
4029
+ `), A = _.stack.split(`
4030
+ `), S = u.length - 1, T = A.length - 1; S >= 1 && T >= 0 && u[S] !== A[T]; )
4031
4031
  T--;
4032
4032
  for (; S >= 1 && T >= 0; S--, T--)
4033
- if (u[S] !== $[T]) {
4033
+ if (u[S] !== A[T]) {
4034
4034
  if (S !== 1 || T !== 1)
4035
4035
  do
4036
- if (S--, T--, T < 0 || u[S] !== $[T]) {
4036
+ if (S--, T--, T < 0 || u[S] !== A[T]) {
4037
4037
  var Y = `
4038
4038
  ` + u[S].replace(" at new ", " at ");
4039
4039
  return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
@@ -4043,7 +4043,7 @@ function Hr() {
4043
4043
  }
4044
4044
  }
4045
4045
  } finally {
4046
- ue = !1, ce.current = w, qe(), Error.prepareStackTrace = k;
4046
+ de = !1, ce.current = x, qe(), Error.prepareStackTrace = h;
4047
4047
  }
4048
4048
  var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
4049
4049
  return typeof e == "function" && oe.set(e, J), J;
@@ -4063,7 +4063,7 @@ function Hr() {
4063
4063
  if (typeof e == "string")
4064
4064
  return ne(e);
4065
4065
  switch (e) {
4066
- case v:
4066
+ case p:
4067
4067
  return ne("Suspense");
4068
4068
  case n:
4069
4069
  return ne("SuspenseList");
@@ -4074,10 +4074,10 @@ function Hr() {
4074
4074
  return Ge(e.render);
4075
4075
  case s:
4076
4076
  return _e(e.type, t, r);
4077
- case b: {
4078
- var _ = e, k = _._payload, w = _._init;
4077
+ case w: {
4078
+ var _ = e, h = _._payload, x = _._init;
4079
4079
  try {
4080
- return _e(w(k), t, r);
4080
+ return _e(x(h), t, r);
4081
4081
  } catch {
4082
4082
  }
4083
4083
  }
@@ -4092,22 +4092,22 @@ function Hr() {
4092
4092
  } else
4093
4093
  Se.setExtraStackFrame(null);
4094
4094
  }
4095
- function ze(e, t, r, _, k) {
4095
+ function ze(e, t, r, _, h) {
4096
4096
  {
4097
- var w = Function.call.bind(ee);
4097
+ var x = Function.call.bind(ee);
4098
4098
  for (var m in e)
4099
- if (w(e, m)) {
4099
+ if (x(e, m)) {
4100
4100
  var u = void 0;
4101
4101
  try {
4102
4102
  if (typeof e[m] != "function") {
4103
- var $ = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
4104
- throw $.name = "Invariant Violation", $;
4103
+ var A = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
4104
+ throw A.name = "Invariant Violation", A;
4105
4105
  }
4106
4106
  u = e[m](t, m, _, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
4107
4107
  } catch (S) {
4108
4108
  u = S;
4109
4109
  }
4110
- u && !(u instanceof Error) && (ie(k), p("%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).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(k), p("Failed %s type: %s", r, u.message), ie(null));
4110
+ u && !(u instanceof Error) && (ie(h), y("%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).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
4111
4111
  }
4112
4112
  }
4113
4113
  }
@@ -4133,7 +4133,7 @@ function Hr() {
4133
4133
  }
4134
4134
  function Te(e) {
4135
4135
  if (Ze(e))
4136
- return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
4136
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
4137
4137
  }
4138
4138
  var Oe = O.ReactCurrentOwner, Ve = {
4139
4139
  key: !0,
@@ -4163,7 +4163,7 @@ function Hr() {
4163
4163
  function tt(e, t) {
4164
4164
  {
4165
4165
  var r = function() {
4166
- De || (De = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
4166
+ De || (De = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
4167
4167
  };
4168
4168
  r.isReactWarning = !0, Object.defineProperty(e, "key", {
4169
4169
  get: r,
@@ -4174,7 +4174,7 @@ function Hr() {
4174
4174
  function rt(e, t) {
4175
4175
  {
4176
4176
  var r = function() {
4177
- Pe || (Pe = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
4177
+ Pe || (Pe = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
4178
4178
  };
4179
4179
  r.isReactWarning = !0, Object.defineProperty(e, "ref", {
4180
4180
  get: r,
@@ -4182,7 +4182,7 @@ function Hr() {
4182
4182
  });
4183
4183
  }
4184
4184
  }
4185
- var at = function(e, t, r, _, k, w, m) {
4185
+ var at = function(e, t, r, _, h, x, m) {
4186
4186
  var u = {
4187
4187
  // This tag allows us to uniquely identify this as a React Element
4188
4188
  $$typeof: o,
@@ -4192,7 +4192,7 @@ function Hr() {
4192
4192
  ref: r,
4193
4193
  props: m,
4194
4194
  // Record the component responsible for creating this element.
4195
- _owner: w
4195
+ _owner: x
4196
4196
  };
4197
4197
  return u._store = {}, Object.defineProperty(u._store, "validated", {
4198
4198
  configurable: !1,
@@ -4208,25 +4208,25 @@ function Hr() {
4208
4208
  configurable: !1,
4209
4209
  enumerable: !1,
4210
4210
  writable: !1,
4211
- value: k
4211
+ value: h
4212
4212
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
4213
4213
  };
4214
- function nt(e, t, r, _, k) {
4214
+ function nt(e, t, r, _, h) {
4215
4215
  {
4216
- var w, m = {}, u = null, $ = null;
4217
- r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && ($ = t.ref, et(t));
4218
- for (w in t)
4219
- ee.call(t, w) && !Ve.hasOwnProperty(w) && (m[w] = t[w]);
4216
+ var x, m = {}, u = null, A = null;
4217
+ r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (A = t.ref, et(t));
4218
+ for (x in t)
4219
+ ee.call(t, x) && !Ve.hasOwnProperty(x) && (m[x] = t[x]);
4220
4220
  if (e && e.defaultProps) {
4221
4221
  var S = e.defaultProps;
4222
- for (w in S)
4223
- m[w] === void 0 && (m[w] = S[w]);
4222
+ for (x in S)
4223
+ m[x] === void 0 && (m[x] = S[x]);
4224
4224
  }
4225
- if (u || $) {
4225
+ if (u || A) {
4226
4226
  var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
4227
- u && tt(m, T), $ && rt(m, T);
4227
+ u && tt(m, T), A && rt(m, T);
4228
4228
  }
4229
- return at(e, u, $, k, _, Oe.current, m);
4229
+ return at(e, u, A, h, _, Oe.current, m);
4230
4230
  }
4231
4231
  }
4232
4232
  var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
@@ -4245,7 +4245,7 @@ function Hr() {
4245
4245
  function Fe() {
4246
4246
  {
4247
4247
  if (me.current) {
4248
- var e = g(me.current.type);
4248
+ var e = v(me.current.type);
4249
4249
  if (e)
4250
4250
  return `
4251
4251
 
@@ -4280,7 +4280,7 @@ Check the top-level render call using <` + r + ">.");
4280
4280
  return;
4281
4281
  Me[r] = !0;
4282
4282
  var _ = "";
4283
- e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + g(e._owner.type) + "."), V(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, _), V(null);
4283
+ e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, _), V(null);
4284
4284
  }
4285
4285
  }
4286
4286
  function Ae(e, t) {
@@ -4295,9 +4295,9 @@ Check the top-level render call using <` + r + ">.");
4295
4295
  else if (ye(e))
4296
4296
  e._store && (e._store.validated = !0);
4297
4297
  else if (e) {
4298
- var k = D(e);
4299
- if (typeof k == "function" && k !== e.entries)
4300
- for (var w = k.call(e), m; !(m = w.next()).done; )
4298
+ var h = D(e);
4299
+ if (typeof h == "function" && h !== e.entries)
4300
+ for (var x = h.call(e), m; !(m = x.next()).done; )
4301
4301
  ye(m.value) && Ie(m.value, t);
4302
4302
  }
4303
4303
  }
@@ -4317,14 +4317,14 @@ Check the top-level render call using <` + r + ">.");
4317
4317
  else
4318
4318
  return;
4319
4319
  if (r) {
4320
- var _ = g(t);
4320
+ var _ = v(t);
4321
4321
  ze(r, e.props, "prop", _, e);
4322
4322
  } else if (t.PropTypes !== void 0 && !pe) {
4323
4323
  pe = !0;
4324
- var k = g(t);
4325
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
4324
+ var h = v(t);
4325
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
4326
4326
  }
4327
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
4327
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
4328
4328
  }
4329
4329
  }
4330
4330
  function st(e) {
@@ -4332,26 +4332,26 @@ Check the top-level render call using <` + r + ">.");
4332
4332
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
4333
4333
  var _ = t[r];
4334
4334
  if (_ !== "children" && _ !== "key") {
4335
- V(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), V(null);
4335
+ V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), V(null);
4336
4336
  break;
4337
4337
  }
4338
4338
  }
4339
- e.ref !== null && (V(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
4339
+ e.ref !== null && (V(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
4340
4340
  }
4341
4341
  }
4342
4342
  var $e = {};
4343
- function Be(e, t, r, _, k, w) {
4343
+ function Be(e, t, r, _, h, x) {
4344
4344
  {
4345
4345
  var m = E(e);
4346
4346
  if (!m) {
4347
4347
  var u = "";
4348
4348
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
4349
- var $ = ot();
4350
- $ ? u += $ : u += Fe();
4349
+ var A = ot();
4350
+ A ? u += A : u += Fe();
4351
4351
  var S;
4352
- e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (g(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
4352
+ e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
4353
4353
  }
4354
- var T = nt(e, t, r, k, w);
4354
+ var T = nt(e, t, r, h, x);
4355
4355
  if (T == null)
4356
4356
  return T;
4357
4357
  if (m) {
@@ -4363,17 +4363,17 @@ Check the top-level render call using <` + r + ">.");
4363
4363
  Ae(Y[X], e);
4364
4364
  Object.freeze && Object.freeze(Y);
4365
4365
  } else
4366
- p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
4366
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
4367
4367
  else
4368
4368
  Ae(Y, e);
4369
4369
  }
4370
4370
  if (ee.call(t, "key")) {
4371
- var J = g(e), L = Object.keys(t).filter(function(mt) {
4371
+ var J = v(e), L = Object.keys(t).filter(function(mt) {
4372
4372
  return mt !== "key";
4373
4373
  }), ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
4374
4374
  if (!$e[J + ve]) {
4375
4375
  var ft = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
4376
- p(`A props object containing a "key" prop is being spread into JSX:
4376
+ y(`A props object containing a "key" prop is being spread into JSX:
4377
4377
  let props = %s;
4378
4378
  <%s {...props} />
4379
4379
  React keys must be passed directly to JSX without using spread:
@@ -4390,8 +4390,8 @@ React keys must be passed directly to JSX without using spread:
4390
4390
  function ct(e, t, r) {
4391
4391
  return Be(e, t, r, !1);
4392
4392
  }
4393
- var dt = ct, ut = lt;
4394
- bt.Fragment = c, bt.jsx = dt, bt.jsxs = ut;
4393
+ var ut = ct, dt = lt;
4394
+ bt.Fragment = c, bt.jsx = ut, bt.jsxs = dt;
4395
4395
  }()), bt;
4396
4396
  }
4397
4397
  process.env.NODE_ENV === "production" ? Ot.exports = zr() : Ot.exports = Hr();
@@ -4411,38 +4411,38 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
4411
4411
  size: i = "m",
4412
4412
  view: c = "confirm",
4413
4413
  children: d,
4414
- isDisabled: y = !1,
4415
- className: x,
4416
- after: C,
4414
+ isDisabled: k = !1,
4415
+ className: C,
4416
+ after: b,
4417
4417
  before: l,
4418
- label: v,
4418
+ label: p,
4419
4419
  onRef: n,
4420
4420
  awaitText: s = "Ожидайте"
4421
4421
  }) => {
4422
- let [b, j] = R.useState(!1);
4422
+ let [w, j] = R.useState(!1);
4423
4423
  const F = (D) => {
4424
4424
  if (a) return a();
4425
- b || (o ? (j(!0), o(j)) : D.preventDefault());
4425
+ w || (o ? (j(!0), o(j)) : D.preventDefault());
4426
4426
  };
4427
4427
  let U = {};
4428
- return (y || b) && (U.disabled = !0), /* @__PURE__ */ St.jsx(
4428
+ return (k || w) && (U.disabled = !0), /* @__PURE__ */ St.jsx(
4429
4429
  "button",
4430
4430
  {
4431
4431
  ...U,
4432
4432
  ref: n,
4433
4433
  className: [
4434
4434
  wt.btn,
4435
- b ? wt.disabled : wt[c],
4435
+ w ? wt.disabled : wt[c],
4436
4436
  i && wt[i],
4437
- x
4437
+ C
4438
4438
  ].filter((D) => D != "").join(" "),
4439
4439
  onClick: F,
4440
- children: b ? s : /* @__PURE__ */ St.jsxs(St.Fragment, { children: [
4440
+ children: w ? s : /* @__PURE__ */ St.jsxs(St.Fragment, { children: [
4441
4441
  l || "",
4442
4442
  " ",
4443
- v,
4443
+ p,
4444
4444
  " ",
4445
- C || ""
4445
+ b || ""
4446
4446
  ] }) || d
4447
4447
  }
4448
4448
  );
@@ -4456,13 +4456,13 @@ var jt;
4456
4456
  function o({
4457
4457
  import_modules: n
4458
4458
  }) {
4459
- let [s, b] = R.useState([]);
4459
+ let [s, w] = R.useState([]);
4460
4460
  return ge.x = (j) => {
4461
- b(j ? s.filter((F) => F.key !== j) : []);
4461
+ w(j ? s.filter((F) => F.key !== j) : []);
4462
4462
  }, Kt(() => {
4463
4463
  n && (ge.i = n);
4464
4464
  }, []), ge.add = (j, F = Date.now()) => {
4465
- b([...s, { key: F, item: j }]);
4465
+ w([...s, { key: F, item: j }]);
4466
4466
  }, /* @__PURE__ */ z.jsx(z.Fragment, { children: s.map((j) => j.item) });
4467
4467
  }
4468
4468
  a.Init = o;
@@ -4470,81 +4470,81 @@ var jt;
4470
4470
  return n && (ge.i = n), ge.i;
4471
4471
  }
4472
4472
  a.Import = i, a.List = Wr, a.Scroll = Ur, a.Form = qr, a.Center = Kr, a.Column = Gr;
4473
- function c(n, s, b) {
4473
+ function c(n, s, w) {
4474
4474
  ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((j) => {
4475
- j.default.Open(b);
4475
+ j.default.Open(w);
4476
4476
  }) : Lt()(`${n}/modal/${s}.tsx`).then((j) => {
4477
- j.default.Open(b);
4477
+ j.default.Open(w);
4478
4478
  });
4479
4479
  }
4480
4480
  a.Open = c;
4481
- function d({ type: n, name: s, params: b }) {
4481
+ function d({ type: n, name: s, params: w }) {
4482
4482
  let [j, F] = R.useState(null);
4483
4483
  return R.useEffect(() => {
4484
4484
  ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((U) => {
4485
- F(U.default.Icon(b));
4485
+ F(U.default.Icon(w));
4486
4486
  }) : Lt()(`${n}/modal/${s}.tsx`).then((U) => {
4487
- F(U.default.Icon(b));
4487
+ F(U.default.Icon(w));
4488
4488
  });
4489
- }, [b.id]), /* @__PURE__ */ z.jsx(z.Fragment, { children: j });
4489
+ }, [w.id]), /* @__PURE__ */ z.jsx(z.Fragment, { children: j });
4490
4490
  }
4491
4491
  a.Icon = d;
4492
- function y(n, s) {
4492
+ function k(n, s) {
4493
4493
  ge.add(/* @__PURE__ */ z.jsx(aa, { children: n }, String(Date.now())), s);
4494
4494
  }
4495
- a.Add = y;
4496
- function x(n) {
4495
+ a.Add = k;
4496
+ function C(n) {
4497
4497
  ge.x(n);
4498
4498
  }
4499
- a.Close = x;
4500
- function C(n) {
4499
+ a.Close = C;
4500
+ function b(n) {
4501
4501
  if (n.target.classList[0] !== "modal") return;
4502
4502
  let s = n.target.children[0];
4503
4503
  s.setAttribute("shake", !0), setTimeout(() => {
4504
4504
  s.setAttribute("shake", !1);
4505
4505
  }, 1e3);
4506
4506
  }
4507
- a.Shake = C;
4507
+ a.Shake = b;
4508
4508
  function l(n, s) {
4509
- const b = (j) => {
4509
+ const w = (j) => {
4510
4510
  a.Add(
4511
4511
  /* @__PURE__ */ z.jsx(n, { ...j }, (/* @__PURE__ */ new Date()).getTime())
4512
4512
  );
4513
4513
  };
4514
4514
  return {
4515
- Icon: (j) => /* @__PURE__ */ z.jsx("i", { onClick: () => b(j), children: s && /* @__PURE__ */ z.jsx(s, {}) }),
4516
- Open: b
4515
+ Icon: (j) => /* @__PURE__ */ z.jsx("i", { onClick: () => w(j), children: s && /* @__PURE__ */ z.jsx(s, {}) }),
4516
+ Open: w
4517
4517
  };
4518
4518
  }
4519
4519
  a.Create = l;
4520
- function v({
4520
+ function p({
4521
4521
  title: n,
4522
4522
  children: s,
4523
- button: b,
4523
+ button: w,
4524
4524
  tabs: j,
4525
4525
  size: F = "m",
4526
4526
  className: U = "",
4527
4527
  shake: D = !0,
4528
4528
  menu: O
4529
4529
  }) {
4530
- const [p, P] = R.useState(!0), K = R.useRef(), I = (q) => {
4531
- if (b) {
4532
- if (b.onClick)
4533
- return q(!1), b.onClick({ setOpen: P });
4534
- if (b.onSend)
4535
- return b.onSend({
4530
+ const [y, P] = R.useState(!0), K = R.useRef(), I = (q) => {
4531
+ if (w) {
4532
+ if (w.onClick)
4533
+ return q(!1), w.onClick({ setOpen: P });
4534
+ if (w.onSend)
4535
+ return w.onSend({
4536
4536
  setOpen: P,
4537
4537
  disabled: q
4538
4538
  });
4539
4539
  }
4540
- }, A = () => {
4540
+ }, $ = () => {
4541
4541
  if (!D) return P(!1);
4542
4542
  K.current.setAttribute("shake", !0), setTimeout(() => {
4543
4543
  K.current.setAttribute("shake", !1);
4544
4544
  }, 1e3);
4545
4545
  };
4546
- return p ? /* @__PURE__ */ z.jsxs("div", { className: `${re.modal}`, children: [
4547
- /* @__PURE__ */ z.jsx("div", { className: re.o, onClick: A }),
4546
+ return y ? /* @__PURE__ */ z.jsxs("div", { className: `${re.modal}`, children: [
4547
+ /* @__PURE__ */ z.jsx("div", { className: re.o, onClick: $ }),
4548
4548
  /* @__PURE__ */ z.jsxs(
4549
4549
  "div",
4550
4550
  {
@@ -4586,13 +4586,13 @@ var jt;
4586
4586
  )
4587
4587
  ] }),
4588
4588
  s,
4589
- b && /* @__PURE__ */ z.jsx("div", { className: re.b, children: /* @__PURE__ */ z.jsx(
4589
+ w && /* @__PURE__ */ z.jsx("div", { className: re.b, children: /* @__PURE__ */ z.jsx(
4590
4590
  ra,
4591
4591
  {
4592
- label: b.label,
4592
+ label: w.label,
4593
4593
  onSend: I,
4594
4594
  className: re.btn,
4595
- size: b.size
4595
+ size: w.size
4596
4596
  }
4597
4597
  ) })
4598
4598
  ]
@@ -4600,7 +4600,7 @@ var jt;
4600
4600
  )
4601
4601
  ] }) : "";
4602
4602
  }
4603
- a.Main = v;
4603
+ a.Main = p;
4604
4604
  })(jt || (jt = {}));
4605
4605
  const na = (a, o = ",") => (a = a !== void 0 && a !== "" ? a.split(o) : [], a.filter((i) => i !== "").reduce((i, c) => (i[c] = !0, i), {}));
4606
4606
  function ba({
@@ -4609,20 +4609,20 @@ function ba({
4609
4609
  name: i,
4610
4610
  placeholder: c = "",
4611
4611
  separator: d = ",",
4612
- title: y,
4613
- error: x,
4614
- hide: C = !1,
4612
+ title: k,
4613
+ error: C,
4614
+ hide: b = !1,
4615
4615
  edit: l = !0,
4616
- active: v = !0,
4616
+ active: p = !0,
4617
4617
  outFormat: n = "object",
4618
4618
  after: s = "",
4619
- modal: b,
4619
+ modal: w,
4620
4620
  options: j,
4621
4621
  className: F
4622
4622
  }) {
4623
- const [U, D] = R.useState(na(a, d)), O = (p) => {
4624
- if (!(l && v) || !b) return;
4625
- let P = b.split(".");
4623
+ const [U, D] = R.useState(na(a, d)), O = (y) => {
4624
+ if (!(l && p) || !w) return;
4625
+ let P = w.split(".");
4626
4626
  jt.Open(P[0], P[1], {
4627
4627
  callback: (K) => {
4628
4628
  if (o)
@@ -4642,7 +4642,7 @@ function ba({
4642
4642
  D(
4643
4643
  Object.fromEntries(
4644
4644
  Object.entries(K).filter(
4645
- ([I, A]) => A !== !1
4645
+ ([I, $]) => $ !== !1
4646
4646
  )
4647
4647
  )
4648
4648
  );
@@ -4653,12 +4653,12 @@ function ba({
4653
4653
  value: U
4654
4654
  });
4655
4655
  };
4656
- return C ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
4656
+ return b ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
4657
4657
  he,
4658
4658
  {
4659
4659
  type: "group",
4660
- title: y,
4661
- error: x,
4660
+ title: k,
4661
+ error: C,
4662
4662
  element_blok: { className: [F] },
4663
4663
  element_input: {
4664
4664
  className: [Q.g],
@@ -4666,9 +4666,9 @@ function ba({
4666
4666
  onClick: O
4667
4667
  }
4668
4668
  },
4669
- children: Object.keys(U).map((p) => {
4669
+ children: Object.keys(U).map((y) => {
4670
4670
  var P;
4671
- return /* @__PURE__ */ f.jsx("div", { children: (P = j[p]) == null ? void 0 : P.label }, p);
4671
+ return /* @__PURE__ */ f.jsx("div", { children: (P = j[y]) == null ? void 0 : P.label }, y);
4672
4672
  })
4673
4673
  }
4674
4674
  );
@@ -4684,22 +4684,22 @@ function wa({
4684
4684
  edit: i = !0,
4685
4685
  active: c = !0,
4686
4686
  hide: d,
4687
- value: y = 0,
4688
- onValue: x,
4689
- options: C,
4687
+ value: k = 0,
4688
+ onValue: C,
4689
+ options: b,
4690
4690
  placeholder: l = "",
4691
- className: v,
4691
+ className: p,
4692
4692
  isIcon: n = !0,
4693
4693
  name: s,
4694
- after: b,
4694
+ after: w,
4695
4695
  view: j,
4696
4696
  order: F,
4697
4697
  isReload: U = !1
4698
4698
  }) {
4699
- const D = R.useRef(null), [O, p] = R.useState(y), [P, K] = R.useState(C), [I, A] = R.useState(!1);
4699
+ const D = R.useRef(null), [O, y] = R.useState(k), [P, K] = R.useState(b), [I, $] = R.useState(!1);
4700
4700
  R.useEffect(() => {
4701
- p(y), K(C), A(!1);
4702
- }, [y, C]);
4701
+ y(k), K(b);
4702
+ }, [k, b]);
4703
4703
  const q = Array.isArray(P), W = q ? P.length : Object.keys(P || {}).length, N = (M) => {
4704
4704
  var B;
4705
4705
  if (q) {
@@ -4710,26 +4710,26 @@ function wa({
4710
4710
  } else
4711
4711
  return (B = P == null ? void 0 : P[M]) == null ? void 0 : B.n;
4712
4712
  };
4713
- d = !!(d && (y === 0 || N(y) === void 0)) && !(i && c);
4713
+ d = !!(d && (k === 0 || N(k) === void 0)) && !(i && c);
4714
4714
  const G = (M) => {
4715
- p(M), x && x({ value: M, name: s, reload: U });
4716
- }, h = (M) => {
4717
- W !== 0 && i && c && (D.position = D.current.getBoundingClientRect(), A(!0));
4718
- }, g = {};
4719
- return l && (g.placeholder = l), d ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
4715
+ y(M), C && C({ value: M, name: s, reload: U });
4716
+ }, g = (M) => {
4717
+ W !== 0 && i && c && (D.position = D.current.getBoundingClientRect(), $(!0));
4718
+ }, v = {};
4719
+ return l && (v.placeholder = l), d ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
4720
4720
  /* @__PURE__ */ f.jsx(
4721
4721
  he,
4722
4722
  {
4723
4723
  type: "select",
4724
4724
  title: a,
4725
- element_blok: { className: [v] },
4725
+ element_blok: { className: [p] },
4726
4726
  error: o,
4727
4727
  element_input: {
4728
4728
  className: [Dt.f],
4729
- props: { onClick: h }
4729
+ props: { onClick: g }
4730
4730
  },
4731
4731
  ref: D,
4732
- children: /* @__PURE__ */ f.jsx("div", { ...g, children: N(O) || l || "" })
4732
+ children: /* @__PURE__ */ f.jsx("div", { ...v, children: N(O) || l || "" })
4733
4733
  }
4734
4734
  ),
4735
4735
  I && Nt(
@@ -4739,10 +4739,10 @@ function wa({
4739
4739
  parent: D.position,
4740
4740
  onValue: G,
4741
4741
  view: j,
4742
- className: v,
4742
+ className: p,
4743
4743
  options: P,
4744
4744
  order: F,
4745
- setOpen: A
4745
+ setOpen: $
4746
4746
  },
4747
4747
  (/* @__PURE__ */ new Date()).getTime()
4748
4748
  ),
@@ -4756,19 +4756,19 @@ const sa = ({
4756
4756
  className: i,
4757
4757
  options: c,
4758
4758
  order: d,
4759
- setOpen: y
4759
+ setOpen: k
4760
4760
  }) => {
4761
- let x = () => {
4762
- y(!1);
4763
- }, C = (n) => {
4764
- y(!1), a(n);
4765
- }, l = window.innerHeight - o.y + o.height < 320 ? o.y - 312 : o.y + 33, v = window.innerWidth - o.x < 265 ? o.x - 235 : o.x;
4761
+ let C = () => {
4762
+ k(!1);
4763
+ }, b = (n) => {
4764
+ k(!1), a(n);
4765
+ }, l = window.innerHeight - o.y + o.height < 320 ? o.y - 312 : o.y + 33, p = window.innerWidth - o.x < 265 ? o.x - 235 : o.x;
4766
4766
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
4767
4767
  /* @__PURE__ */ f.jsx(
4768
4768
  "div",
4769
4769
  {
4770
4770
  className: Dt.o,
4771
- onClick: x
4771
+ onClick: C
4772
4772
  },
4773
4773
  (/* @__PURE__ */ new Date()).getTime()
4774
4774
  ),
@@ -4778,73 +4778,72 @@ const sa = ({
4778
4778
  className: [Dt.l, i].filter((n) => n !== void 0).join(" "),
4779
4779
  style: {
4780
4780
  top: l + "px",
4781
- left: v + "px",
4781
+ left: p + "px",
4782
4782
  width: o.width
4783
4783
  },
4784
- children: /* @__PURE__ */ f.jsx(la, { order: d, options: c, link: C })
4784
+ children: /* @__PURE__ */ f.jsx(la, { order: d, options: c, link: b })
4785
4785
  }
4786
4786
  )
4787
4787
  ] });
4788
4788
  }, la = ({ order: a, options: o, link: i }) => {
4789
4789
  if (Array.isArray(o)) {
4790
4790
  const d = o;
4791
- return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((y) => {
4792
- const x = d.find(
4793
- (l) => (l.id || l.i) === y
4791
+ return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((k, C) => {
4792
+ const b = d.find(
4793
+ (p) => (p.id || p.i) === k
4794
4794
  );
4795
- if (!x || x.s === 0 || !x.n) return null;
4796
- const C = x.id || x.i;
4797
- return C === void 0 ? null : /* @__PURE__ */ f.jsx(
4795
+ if (!b || b.s === 0 || !b.n) return null;
4796
+ const l = b.id || b.i;
4797
+ return l === void 0 ? null : /* @__PURE__ */ f.jsx(
4798
4798
  "li",
4799
4799
  {
4800
4800
  onClick: () => {
4801
- i(C);
4801
+ i(l);
4802
4802
  },
4803
- children: x.n
4803
+ children: b.n
4804
4804
  },
4805
- C
4805
+ `${l}-${C}`
4806
4806
  );
4807
- }) }) : /* @__PURE__ */ f.jsx("ul", { children: d.filter((y) => y.s !== 0 && y.n).map((y) => {
4808
- const x = y.id || y.i;
4809
- return x === void 0 ? null : /* @__PURE__ */ f.jsx(
4807
+ }) }) : /* @__PURE__ */ f.jsx("ul", { children: d.map((k, C) => {
4808
+ if (k.s === 0 || !k.n) return null;
4809
+ const b = k.id || k.i;
4810
+ return b === void 0 ? null : /* @__PURE__ */ f.jsx(
4810
4811
  "li",
4811
4812
  {
4812
4813
  onClick: () => {
4813
- i(x);
4814
+ i(b);
4814
4815
  },
4815
- children: y.n
4816
+ children: k.n
4816
4817
  },
4817
- x
4818
+ `${b}-${C}`
4818
4819
  );
4819
4820
  }) });
4820
4821
  }
4821
- return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((d) => {
4822
- const y = o[d];
4823
- return !y || y.s === 0 || !y.n ? null : /* @__PURE__ */ f.jsx(
4822
+ return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((d, k) => {
4823
+ const C = o[d];
4824
+ return !C || C.s === 0 || !C.n ? null : /* @__PURE__ */ f.jsx(
4824
4825
  "li",
4825
4826
  {
4826
4827
  onClick: () => {
4827
4828
  i(d);
4828
4829
  },
4829
- children: y.n
4830
+ children: C.n
4830
4831
  },
4831
- d
4832
+ `${d}-${k}`
4832
4833
  );
4833
- }) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(o || {}).map((d) => {
4834
- const y = Number(d), x = o[y];
4835
- return !x || x.s === 0 || !x.n ? null : { key: y, option: x };
4836
- }).filter(
4837
- (d) => d !== null
4838
- ).map(({ key: d, option: y }) => /* @__PURE__ */ f.jsx(
4839
- "li",
4840
- {
4841
- onClick: () => {
4842
- i(d);
4834
+ }) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(o || {}).map((d, k) => {
4835
+ const C = Number(d), b = o[C];
4836
+ return !b || b.s === 0 || !b.n ? null : /* @__PURE__ */ f.jsx(
4837
+ "li",
4838
+ {
4839
+ onClick: () => {
4840
+ i(C);
4841
+ },
4842
+ children: b.n
4843
4843
  },
4844
- children: y.n
4845
- },
4846
- d
4847
- )) });
4844
+ `${C}-${k}`
4845
+ );
4846
+ }) });
4848
4847
  };
4849
4848
  function xa({
4850
4849
  value: a,
@@ -4852,24 +4851,24 @@ function xa({
4852
4851
  name: i,
4853
4852
  placeholder: c = "",
4854
4853
  title: d,
4855
- error: y,
4856
- hide: x = !1,
4857
- edit: C = !0,
4854
+ error: k,
4855
+ hide: C = !1,
4856
+ edit: b = !0,
4858
4857
  show: l = !0,
4859
- active: v = !0,
4858
+ active: p = !0,
4860
4859
  after: n = "",
4861
4860
  view: s,
4862
- modal: b,
4861
+ modal: w,
4863
4862
  module: j,
4864
4863
  options: F,
4865
4864
  className: U
4866
4865
  }) {
4867
- const [D, O] = R.useState(a), p = (K) => {
4868
- if (!(C && v) || !b) return;
4869
- let I = b.split(".");
4866
+ const [D, O] = R.useState(a), y = (K) => {
4867
+ if (!(b && p) || !w) return;
4868
+ let I = w.split(".");
4870
4869
  jt.Open(I[0], I[1], {
4871
- callback: (A) => {
4872
- o && o({ value: A, name: i }), O(A);
4870
+ callback: ($) => {
4871
+ o && o({ value: $, name: i }), O($);
4873
4872
  },
4874
4873
  onValue: o,
4875
4874
  options: F,
@@ -4877,16 +4876,16 @@ function xa({
4877
4876
  value: a
4878
4877
  });
4879
4878
  }, P = {};
4880
- return c && (P.placeholder = c), x ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
4879
+ return c && (P.placeholder = c), C ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
4881
4880
  he,
4882
4881
  {
4883
4882
  type: "input",
4884
4883
  title: d,
4885
4884
  element_blok: { className: [U] },
4886
- error: y,
4885
+ error: k,
4887
4886
  element_input: {
4888
4887
  className: [Q.w],
4889
- props: { onClick: p }
4888
+ props: { onClick: y }
4890
4889
  },
4891
4890
  children: /* @__PURE__ */ f.jsx("div", { ...P, children: D })
4892
4891
  }
@@ -4898,20 +4897,20 @@ function Ca({
4898
4897
  onSave: i,
4899
4898
  name: c,
4900
4899
  placeholder: d = "",
4901
- className: y,
4902
- title: x,
4903
- error: C,
4900
+ className: k,
4901
+ title: C,
4902
+ error: b,
4904
4903
  edit: l = !0,
4905
- active: v = !0,
4904
+ active: p = !0,
4906
4905
  reload: n = !1,
4907
4906
  native: s = !1,
4908
- isShow: b = !1,
4907
+ isShow: w = !1,
4909
4908
  maxLength: j,
4910
4909
  eyes: F = [],
4911
4910
  after: U = ""
4912
4911
  }) {
4913
- const [D, O] = R.useState(b);
4914
- let p = (W) => {
4912
+ const [D, O] = R.useState(w);
4913
+ let y = (W) => {
4915
4914
  o && o({
4916
4915
  value: W.target.textContent,
4917
4916
  name: c,
@@ -4936,19 +4935,19 @@ function Ca({
4936
4935
  }, I = (W) => {
4937
4936
  Z.Blur(W), i == null || i({ value: W.target.textContent.trim(), name: c });
4938
4937
  };
4939
- const A = {};
4940
- A.field = "password", D && (A.show = ""), y && (A.className = y);
4938
+ const $ = {};
4939
+ $.field = "password", D && ($.show = ""), k && ($.className = k);
4941
4940
  const q = {};
4942
- return d && (q.placeholder = d), s ? "" : /* @__PURE__ */ f.jsxs("dl", { ...A, children: [
4943
- x ? /* @__PURE__ */ f.jsx("dt", { children: x }) : "",
4941
+ return d && (q.placeholder = d), s ? "" : /* @__PURE__ */ f.jsxs("dl", { ...$, children: [
4942
+ C ? /* @__PURE__ */ f.jsx("dt", { children: C }) : "",
4944
4943
  /* @__PURE__ */ f.jsx(
4945
4944
  "dd",
4946
4945
  {
4947
4946
  onPaste: K,
4948
- onInput: p,
4947
+ onInput: y,
4949
4948
  onKeyDown: P,
4950
4949
  onBlur: I,
4951
- contentEditable: l && v ? Z.ContentEditable : "false",
4950
+ contentEditable: l && p ? Z.ContentEditable : "false",
4952
4951
  ...q,
4953
4952
  suppressContentEditableWarning: !0,
4954
4953
  children: a
@@ -4956,7 +4955,7 @@ function Ca({
4956
4955
  ),
4957
4956
  F[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => O(!D), children: D ? F[1] : F[0] }),
4958
4957
  U,
4959
- C ? /* @__PURE__ */ f.jsx("em", { children: C }) : ""
4958
+ b ? /* @__PURE__ */ f.jsx("em", { children: b }) : ""
4960
4959
  ] });
4961
4960
  }
4962
4961
  function ja({
@@ -4965,17 +4964,17 @@ function ja({
4965
4964
  value: i,
4966
4965
  title: c,
4967
4966
  className: d,
4968
- name: y,
4969
- text: x,
4970
- id: C,
4967
+ name: k,
4968
+ text: C,
4969
+ id: b,
4971
4970
  reload: l
4972
4971
  }) {
4973
- const [v, n] = R.useState(!!i);
4972
+ const [p, n] = R.useState(!!i);
4974
4973
  R.useEffect(() => {
4975
4974
  n(!!i);
4976
4975
  }, [i]);
4977
4976
  let s = () => {
4978
- a && a({ value: v ? 0 : 1, name: y, id: C, reload: l }), n(!v);
4977
+ a && a({ value: p ? 0 : 1, name: k, id: b, reload: l }), n(!p);
4979
4978
  };
4980
4979
  return /* @__PURE__ */ f.jsxs(
4981
4980
  he,
@@ -4990,8 +4989,8 @@ function ja({
4990
4989
  }
4991
4990
  },
4992
4991
  children: [
4993
- /* @__PURE__ */ f.jsx("div", { "aria-checked": `${v ? "true" : "false"}` }),
4994
- /* @__PURE__ */ f.jsx("span", { children: x })
4992
+ /* @__PURE__ */ f.jsx("div", { "aria-checked": `${p ? "true" : "false"}` }),
4993
+ /* @__PURE__ */ f.jsx("span", { children: C })
4995
4994
  ]
4996
4995
  }
4997
4996
  );
@@ -5018,8 +5017,8 @@ function Ta(a) {
5018
5017
  return le.u = (d) => {
5019
5018
  c.current = { ...c.current, [d.name]: d.value };
5020
5019
  }, le.n = (d) => {
5021
- Object.keys(d).length > 0 ? Object.keys(d).forEach((y) => {
5022
- c.current[y] = d[y];
5020
+ Object.keys(d).length > 0 ? Object.keys(d).forEach((k) => {
5021
+ c.current[k] = d[k];
5023
5022
  }) : c.current = {}, i(Date.now());
5024
5023
  }, le.r = () => {
5025
5024
  i(Date.now());
@@ -5041,7 +5040,7 @@ export {
5041
5040
  ba as OptionsField,
5042
5041
  Ca as PasswordField,
5043
5042
  ga as PhoneField,
5044
- ua as Progress,
5043
+ da as Progress,
5045
5044
  wa as SelectField,
5046
5045
  ha as StringField,
5047
5046
  va as TextareaField,