@elcrm/form 0.0.23 → 0.0.24

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,9 +1,9 @@
1
- import K, { useEffect as Ht } from "react";
1
+ import U, { useEffect as Jt } from "react";
2
2
  import { createPortal as It } from "react-dom";
3
- import './index.css';const Jt = "0.0.21", Zt = {
4
- version: Jt
3
+ import './index.css';const Zt = "0.0.24", Vt = {
4
+ version: Zt
5
5
  };
6
- var Tt = { exports: {} }, mt = {};
6
+ var Ot = { exports: {} }, pt = {};
7
7
  /**
8
8
  * @license React
9
9
  * react-jsx-runtime.production.min.js
@@ -13,21 +13,21 @@ var Tt = { exports: {} }, mt = {};
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
- var Mt;
17
- function Vt() {
18
- if (Mt) return mt;
19
- Mt = 1;
20
- var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function O(x, s, h) {
22
- var o, d = {}, k = null, S = null;
23
- h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
16
+ var $t;
17
+ function Xt() {
18
+ if ($t) return pt;
19
+ $t = 1;
20
+ var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function O(x, s, g) {
22
+ var o, d = {}, b = null, S = null;
23
+ g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
24
24
  for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
25
25
  if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
26
- return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
26
+ return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
27
27
  }
28
- return mt.Fragment = c, mt.jsx = O, mt.jsxs = O, mt;
28
+ return pt.Fragment = c, pt.jsx = O, pt.jsxs = O, pt;
29
29
  }
30
- var pt = {};
30
+ var mt = {};
31
31
  /**
32
32
  * @license React
33
33
  * react-jsx-runtime.development.js
@@ -37,54 +37,54 @@ var pt = {};
37
37
  * This source code is licensed under the MIT license found in the
38
38
  * LICENSE file in the root directory of this source tree.
39
39
  */
40
- var $t;
41
- function Xt() {
42
- return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
43
- var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
40
+ var At;
41
+ function Qt() {
42
+ return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
44
44
  function $(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
47
  var t = N && e[N] || e[A];
48
48
  return typeof t == "function" ? t : null;
49
49
  }
50
- var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
50
+ var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
51
  function p(e) {
52
52
  {
53
- for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
54
- r[n - 1] = arguments[n];
55
- I("error", e, r);
53
+ for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
54
+ r[a - 1] = arguments[a];
55
+ M("error", e, r);
56
56
  }
57
57
  }
58
- function I(e, t, r) {
58
+ function M(e, t, r) {
59
59
  {
60
- var n = T.ReactDebugCurrentFrame, m = n.getStackAddendum();
61
- m !== "" && (t += "%s", r = r.concat([m]));
60
+ var a = T.ReactDebugCurrentFrame, f = a.getStackAddendum();
61
+ f !== "" && (t += "%s", r = r.concat([f]));
62
62
  var y = r.map(function(l) {
63
63
  return String(l);
64
64
  });
65
65
  y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
66
66
  }
67
67
  }
68
- var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
69
- P = Symbol.for("react.module.reference");
68
+ var K = !1, G = !1, L = !1, q = !1, E = !1, D;
69
+ D = Symbol.for("react.module.reference");
70
70
  function W(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
71
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // 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.
75
- e.$$typeof === P || e.getModuleId !== void 0));
75
+ e.$$typeof === D || e.getModuleId !== void 0));
76
76
  }
77
77
  function R(e, t, r) {
78
- var n = e.displayName;
79
- if (n)
80
- return n;
81
- var m = t.displayName || t.name || "";
82
- return m !== "" ? r + "(" + m + ")" : r;
78
+ var a = e.displayName;
79
+ if (a)
80
+ return a;
81
+ var f = t.displayName || t.name || "";
82
+ return f !== "" ? r + "(" + f + ")" : r;
83
83
  }
84
- function g(e) {
84
+ function h(e) {
85
85
  return e.displayName || "Context";
86
86
  }
87
- function b(e) {
87
+ function k(e) {
88
88
  if (e == null)
89
89
  return null;
90
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")
@@ -100,7 +100,7 @@ function Xt() {
100
100
  return "Profiler";
101
101
  case v:
102
102
  return "StrictMode";
103
- case h:
103
+ case g:
104
104
  return "Suspense";
105
105
  case o:
106
106
  return "SuspenseList";
@@ -109,19 +109,19 @@ function Xt() {
109
109
  switch (e.$$typeof) {
110
110
  case x:
111
111
  var t = e;
112
- return g(t) + ".Consumer";
112
+ return h(t) + ".Consumer";
113
113
  case O:
114
114
  var r = e;
115
- return g(r._context) + ".Provider";
115
+ return h(r._context) + ".Provider";
116
116
  case s:
117
117
  return R(e, e.render, "ForwardRef");
118
118
  case d:
119
- var n = e.displayName || null;
120
- return n !== null ? n : b(e.type) || "Memo";
121
- case k: {
122
- var m = e, y = m._payload, l = m._init;
119
+ var a = e.displayName || null;
120
+ return a !== null ? a : k(e.type) || "Memo";
121
+ case b: {
122
+ var f = e, y = f._payload, l = f._init;
123
123
  try {
124
- return b(l(y));
124
+ return k(l(y));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,13 +129,13 @@ function Xt() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var M = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
132
+ var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
133
133
  function we() {
134
134
  }
135
135
  we.__reactDisabledLog = !0;
136
136
  function Le() {
137
137
  {
138
- if (G === 0) {
138
+ if (Y === 0) {
139
139
  Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
140
140
  var e = {
141
141
  configurable: !0,
@@ -153,42 +153,42 @@ function Xt() {
153
153
  groupEnd: e
154
154
  });
155
155
  }
156
- G++;
156
+ Y++;
157
157
  }
158
158
  }
159
159
  function We() {
160
160
  {
161
- if (G--, G === 0) {
161
+ if (Y--, Y === 0) {
162
162
  var e = {
163
163
  configurable: !0,
164
164
  enumerable: !0,
165
165
  writable: !0
166
166
  };
167
167
  Object.defineProperties(console, {
168
- log: M({}, e, {
168
+ log: I({}, e, {
169
169
  value: Q
170
170
  }),
171
- info: M({}, e, {
171
+ info: I({}, e, {
172
172
  value: ie
173
173
  }),
174
- warn: M({}, e, {
174
+ warn: I({}, e, {
175
175
  value: se
176
176
  }),
177
- error: M({}, e, {
177
+ error: I({}, e, {
178
178
  value: ve
179
179
  }),
180
- group: M({}, e, {
180
+ group: I({}, e, {
181
181
  value: ge
182
182
  }),
183
- groupCollapsed: M({}, e, {
183
+ groupCollapsed: I({}, e, {
184
184
  value: be
185
185
  }),
186
- groupEnd: M({}, e, {
186
+ groupEnd: I({}, e, {
187
187
  value: ke
188
188
  })
189
189
  });
190
190
  }
191
- G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
194
  var le = T.ReactCurrentDispatcher, ce;
@@ -197,9 +197,9 @@ function Xt() {
197
197
  if (ce === void 0)
198
198
  try {
199
199
  throw Error();
200
- } catch (m) {
201
- var n = m.stack.trim().match(/\n( *(at )?)/);
202
- ce = n && n[1] || "";
200
+ } catch (f) {
201
+ var a = f.stack.trim().match(/\n( *(at )?)/);
202
+ ce = a && a[1] || "";
203
203
  }
204
204
  return `
205
205
  ` + ce + e;
@@ -218,9 +218,9 @@ function Xt() {
218
218
  if (r !== void 0)
219
219
  return r;
220
220
  }
221
- var n;
221
+ var a;
222
222
  ue = !0;
223
- var m = Error.prepareStackTrace;
223
+ var f = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
225
  var y;
226
226
  y = le.current, le.current = null, Le();
@@ -237,14 +237,14 @@ function Xt() {
237
237
  try {
238
238
  Reflect.construct(l, []);
239
239
  } catch (F) {
240
- n = F;
240
+ a = F;
241
241
  }
242
242
  Reflect.construct(e, [], l);
243
243
  } else {
244
244
  try {
245
245
  l.call();
246
246
  } catch (F) {
247
- n = F;
247
+ a = F;
248
248
  }
249
249
  e.call(l.prototype);
250
250
  }
@@ -252,21 +252,21 @@ function Xt() {
252
252
  try {
253
253
  throw Error();
254
254
  } catch (F) {
255
- n = F;
255
+ a = F;
256
256
  }
257
257
  e();
258
258
  }
259
259
  } catch (F) {
260
- if (F && n && typeof F.stack == "string") {
260
+ if (F && a && typeof F.stack == "string") {
261
261
  for (var _ = F.stack.split(`
262
- `), D = n.stack.split(`
263
- `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
262
+ `), P = a.stack.split(`
263
+ `), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
264
264
  j--;
265
265
  for (; w >= 1 && j >= 0; w--, j--)
266
- if (_[w] !== D[j]) {
266
+ if (_[w] !== P[j]) {
267
267
  if (w !== 1 || j !== 1)
268
268
  do
269
- if (w--, j--, j < 0 || _[w] !== D[j]) {
269
+ if (w--, j--, j < 0 || _[w] !== P[j]) {
270
270
  var B = `
271
271
  ` + _[w].replace(" at new ", " at ");
272
272
  return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
@@ -276,7 +276,7 @@ function Xt() {
276
276
  }
277
277
  }
278
278
  } finally {
279
- ue = !1, le.current = y, We(), Error.prepareStackTrace = m;
279
+ ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
280
280
  }
281
281
  var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
282
282
  return typeof e == "function" && ae.set(e, H), H;
@@ -296,7 +296,7 @@ function Xt() {
296
296
  if (typeof e == "string")
297
297
  return re(e);
298
298
  switch (e) {
299
- case h:
299
+ case g:
300
300
  return re("Suspense");
301
301
  case o:
302
302
  return re("SuspenseList");
@@ -307,10 +307,10 @@ function Xt() {
307
307
  return Ke(e.render);
308
308
  case d:
309
309
  return ne(e.type, t, r);
310
- case k: {
311
- var n = e, m = n._payload, y = n._init;
310
+ case b: {
311
+ var a = e, f = a._payload, y = a._init;
312
312
  try {
313
- return ne(y(m), t, r);
313
+ return ne(y(f), t, r);
314
314
  } catch {
315
315
  }
316
316
  }
@@ -325,7 +325,7 @@ function Xt() {
325
325
  } else
326
326
  Ce.setExtraStackFrame(null);
327
327
  }
328
- function Ye(e, t, r, n, m) {
328
+ function Ye(e, t, r, a, f) {
329
329
  {
330
330
  var y = Function.call.bind(X);
331
331
  for (var l in e)
@@ -333,14 +333,14 @@ function Xt() {
333
333
  var _ = void 0;
334
334
  try {
335
335
  if (typeof e[l] != "function") {
336
- var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw D.name = "Invariant Violation", D;
336
+ var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw P.name = "Invariant Violation", P;
338
338
  }
339
- _ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ _ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (w) {
341
341
  _ = w;
342
342
  }
343
- _ && !(_ instanceof Error) && (oe(m), 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).", n || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(m), p("Failed %s type: %s", r, _.message), oe(null));
343
+ _ && !(_ instanceof Error) && (oe(f), 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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
344
344
  }
345
345
  }
346
346
  }
@@ -415,7 +415,7 @@ function Xt() {
415
415
  });
416
416
  }
417
417
  }
418
- var tt = function(e, t, r, n, m, y, l) {
418
+ var tt = function(e, t, r, a, f, y, l) {
419
419
  var _ = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
421
  $$typeof: i,
@@ -436,18 +436,18 @@ function Xt() {
436
436
  configurable: !1,
437
437
  enumerable: !1,
438
438
  writable: !1,
439
- value: n
439
+ value: a
440
440
  }), Object.defineProperty(_, "_source", {
441
441
  configurable: !1,
442
442
  enumerable: !1,
443
443
  writable: !1,
444
- value: m
444
+ value: f
445
445
  }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
446
446
  };
447
- function rt(e, t, r, n, m) {
447
+ function rt(e, t, r, a, f) {
448
448
  {
449
- var y, l = {}, _ = null, D = null;
450
- r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t, m));
449
+ var y, l = {}, _ = null, P = null;
450
+ r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t, f));
451
451
  for (y in t)
452
452
  X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
453
453
  if (e && e.defaultProps) {
@@ -455,11 +455,11 @@ function Xt() {
455
455
  for (y in w)
456
456
  l[y] === void 0 && (l[y] = w[y]);
457
457
  }
458
- if (_ || D) {
458
+ if (_ || P) {
459
459
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
- _ && Qe(l, j), D && et(l, j);
460
+ _ && Qe(l, j), P && et(l, j);
461
461
  }
462
- return tt(e, _, D, m, n, Ee.current, l);
462
+ return tt(e, _, P, f, a, Ee.current, l);
463
463
  }
464
464
  }
465
465
  var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
@@ -470,15 +470,15 @@ function Xt() {
470
470
  } else
471
471
  De.setExtraStackFrame(null);
472
472
  }
473
- var me;
474
- me = !1;
475
- function pe(e) {
473
+ var pe;
474
+ pe = !1;
475
+ function me(e) {
476
476
  return typeof e == "object" && e !== null && e.$$typeof === i;
477
477
  }
478
478
  function Pe() {
479
479
  {
480
480
  if (fe.current) {
481
- var e = b(fe.current.type);
481
+ var e = k(fe.current.type);
482
482
  if (e)
483
483
  return `
484
484
 
@@ -512,8 +512,8 @@ Check the top-level render call using <` + r + ">.");
512
512
  if (Ne[r])
513
513
  return;
514
514
  Ne[r] = !0;
515
- var n = "";
516
- e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), Z(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, n), Z(null);
515
+ var a = "";
516
+ e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(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, a), Z(null);
517
517
  }
518
518
  }
519
519
  function Ie(e, t) {
@@ -522,16 +522,16 @@ Check the top-level render call using <` + r + ">.");
522
522
  return;
523
523
  if (de(e))
524
524
  for (var r = 0; r < e.length; r++) {
525
- var n = e[r];
526
- pe(n) && Fe(n, t);
525
+ var a = e[r];
526
+ me(a) && Fe(a, t);
527
527
  }
528
- else if (pe(e))
528
+ else if (me(e))
529
529
  e._store && (e._store.validated = !0);
530
530
  else if (e) {
531
- var m = $(e);
532
- if (typeof m == "function" && m !== e.entries)
533
- for (var y = m.call(e), l; !(l = y.next()).done; )
534
- pe(l.value) && Fe(l.value, t);
531
+ var f = $(e);
532
+ if (typeof f == "function" && f !== e.entries)
533
+ for (var y = f.call(e), l; !(l = y.next()).done; )
534
+ me(l.value) && Fe(l.value, t);
535
535
  }
536
536
  }
537
537
  }
@@ -550,12 +550,12 @@ Check the top-level render call using <` + r + ">.");
550
550
  else
551
551
  return;
552
552
  if (r) {
553
- var n = b(t);
554
- Ye(r, e.props, "prop", n, e);
555
- } else if (t.PropTypes !== void 0 && !me) {
556
- me = !0;
557
- var m = b(t);
558
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
553
+ var a = k(t);
554
+ Ye(r, e.props, "prop", a, e);
555
+ } else if (t.PropTypes !== void 0 && !pe) {
556
+ pe = !0;
557
+ var f = k(t);
558
+ p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
559
559
  }
560
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.");
561
561
  }
@@ -563,9 +563,9 @@ Check the top-level render call using <` + r + ">.");
563
563
  function it(e) {
564
564
  {
565
565
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
566
- var n = t[r];
567
- if (n !== "children" && n !== "key") {
568
- Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), Z(null);
566
+ var a = t[r];
567
+ if (a !== "children" && a !== "key") {
568
+ Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
569
569
  break;
570
570
  }
571
571
  }
@@ -573,24 +573,24 @@ Check the top-level render call using <` + r + ">.");
573
573
  }
574
574
  }
575
575
  var Me = {};
576
- function $e(e, t, r, n, m, y) {
576
+ function $e(e, t, r, a, f, y) {
577
577
  {
578
578
  var l = W(e);
579
579
  if (!l) {
580
580
  var _ = "";
581
581
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " 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 D = at();
583
- D ? _ += D : _ += Pe();
582
+ var P = at();
583
+ P ? _ += P : _ += Pe();
584
584
  var w;
585
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = 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", w, _);
585
+ e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = 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", w, _);
586
586
  }
587
- var j = rt(e, t, r, m, y);
587
+ var j = rt(e, t, r, f, y);
588
588
  if (j == null)
589
589
  return j;
590
590
  if (l) {
591
591
  var B = t.children;
592
592
  if (B !== void 0)
593
- if (n)
593
+ if (a)
594
594
  if (de(B)) {
595
595
  for (var V = 0; V < B.length; V++)
596
596
  Ie(B[V], e);
@@ -601,7 +601,7 @@ Check the top-level render call using <` + r + ">.");
601
601
  Ie(B, e);
602
602
  }
603
603
  if (X.call(t, "key")) {
604
- var H = b(e), F = Object.keys(t).filter(function(dt) {
604
+ var H = k(e), F = Object.keys(t).filter(function(dt) {
605
605
  return dt !== "key";
606
606
  }), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
607
607
  if (!Me[H + ye]) {
@@ -624,36 +624,36 @@ React keys must be passed directly to JSX without using spread:
624
624
  return $e(e, t, r, !1);
625
625
  }
626
626
  var lt = st, ct = _t;
627
- pt.Fragment = u, pt.jsx = lt, pt.jsxs = ct;
628
- }()), pt;
627
+ mt.Fragment = u, mt.jsx = lt, mt.jsxs = ct;
628
+ }()), mt;
629
629
  }
630
- process.env.NODE_ENV === "production" ? Tt.exports = Vt() : Tt.exports = Xt();
631
- var f = Tt.exports;
632
- function ga({ name: a, value: i, title: c, style: u, className: v }) {
630
+ process.env.NODE_ENV === "production" ? Ot.exports = Xt() : Ot.exports = Qt();
631
+ var m = Ot.exports;
632
+ function va({ name: n, value: i, title: c, style: u, className: v }) {
633
633
  let C = {
634
634
  field: "progress"
635
635
  };
636
- return u && (C.style = u), v && (C.className = v), /* @__PURE__ */ f.jsxs("dl", { ...C, children: [
637
- c && /* @__PURE__ */ f.jsx("dt", { children: c }),
638
- /* @__PURE__ */ f.jsx("dd", {})
636
+ return u && (C.style = u), v && (C.className = v), /* @__PURE__ */ m.jsxs("dl", { ...C, children: [
637
+ c && /* @__PURE__ */ m.jsx("dt", { children: c }),
638
+ /* @__PURE__ */ m.jsx("dd", {})
639
639
  ] });
640
640
  }
641
641
  let te = {};
642
- te.KeyDown = (a) => {
643
- a.key === "Enter" && a.preventDefault();
642
+ te.KeyDown = (n) => {
643
+ n.key === "Enter" && n.preventDefault();
644
644
  };
645
- te.PasteOne = (a) => {
646
- a.preventDefault(), navigator.clipboard.readText().then((i) => {
645
+ te.PasteOne = (n) => {
646
+ n.preventDefault(), navigator.clipboard.readText().then((i) => {
647
647
  i = i.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, i);
648
648
  }).catch((i) => {
649
649
  });
650
650
  };
651
- te.Paste = (a, i) => {
651
+ te.Paste = (n, i) => {
652
652
  i.preventDefault(), navigator.clipboard.readText().then((c) => {
653
- if (a) {
653
+ if (n) {
654
654
  let u = i.target.textContent.length;
655
- if (u >= a) return;
656
- a -= u, c = c.slice(0, a);
655
+ if (u >= n) return;
656
+ n -= u, c = c.slice(0, n);
657
657
  }
658
658
  window.document.execCommand(
659
659
  "insertText",
@@ -663,22 +663,22 @@ te.Paste = (a, i) => {
663
663
  }).catch((c) => {
664
664
  });
665
665
  };
666
- te.Focus = (a) => {
667
- a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
666
+ te.Focus = (n) => {
667
+ n.target.textContent.length === 0 && (n.target.innerHTML = "<br>");
668
668
  };
669
- te.Blur = (a) => {
670
- a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
669
+ te.Blur = (n) => {
670
+ n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
671
671
  };
672
672
  te.ContentEditable = "plaintext-only";
673
- const Qt = "_l_8hznl_13", er = "_f_8hznl_38", tr = "_n_8hznl_55", rr = "_w_8hznl_60", ar = "_t_8hznl_70", z = {
674
- l: Qt,
675
- f: er,
676
- n: tr,
677
- w: rr,
678
- t: ar
673
+ const er = "_l_8hznl_13", tr = "_f_8hznl_38", rr = "_n_8hznl_55", ar = "_w_8hznl_60", nr = "_t_8hznl_70", z = {
674
+ l: er,
675
+ f: tr,
676
+ n: rr,
677
+ w: ar,
678
+ t: nr
679
679
  };
680
- function nr({
681
- element_blok: a,
680
+ function Mt({
681
+ element_blok: n,
682
682
  element_input: i,
683
683
  type: c = "input",
684
684
  title: u,
@@ -686,19 +686,21 @@ function nr({
686
686
  after: C,
687
687
  children: O
688
688
  }) {
689
- return /* @__PURE__ */ f.jsxs(
689
+ return /* @__PURE__ */ m.jsxs(
690
690
  "dl",
691
691
  {
692
692
  "data-field": c,
693
693
  ...i.props,
694
- className: [z.l, a.className].filter((x) => x !== void 0).join(" "),
694
+ className: [z.l, ...n.className].filter((x) => x !== void 0).join(" "),
695
695
  children: [
696
- u ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: u }) : "",
696
+ u ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: u }) : "",
697
697
  v,
698
- /* @__PURE__ */ f.jsx(
698
+ /* @__PURE__ */ m.jsx(
699
699
  "dd",
700
700
  {
701
- className: [z.f, i.className].join(" "),
701
+ className: [z.f, ...i.className].join(
702
+ " "
703
+ ),
702
704
  ...i.props,
703
705
  children: O
704
706
  }
@@ -708,8 +710,8 @@ function nr({
708
710
  }
709
711
  );
710
712
  }
711
- function ha({
712
- id: a,
713
+ function ga({
714
+ id: n,
713
715
  value: i,
714
716
  onValue: c,
715
717
  name: u,
@@ -718,61 +720,61 @@ function ha({
718
720
  error: O = "",
719
721
  hide: x = !1,
720
722
  edit: s = !0,
721
- active: h = !0,
723
+ active: g = !0,
722
724
  after: o = "",
723
725
  before: d = "",
724
- show: k = !0,
726
+ show: b = !0,
725
727
  maxLength: S,
726
728
  onSave: N,
727
729
  className: A = "",
728
730
  isCopy: $ = !0,
729
731
  isReload: T = !1
730
732
  }) {
731
- let p = !!(x && (i === "" || i === void 0)), I = (E) => {
733
+ let p = !!(x && (i === "" || i === void 0)), M = (E) => {
732
734
  c && c({
733
735
  value: E.target.textContent.trim(),
734
736
  name: u,
735
737
  reload: T
736
738
  });
737
- }, q = (E) => {
739
+ }, K = (E) => {
738
740
  S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
739
- }, Y = (E) => {
740
- E.preventDefault(), navigator.clipboard.readText().then((P) => {
741
+ }, G = (E) => {
742
+ E.preventDefault(), navigator.clipboard.readText().then((D) => {
741
743
  if (S) {
742
744
  let W = E.target.textContent.length;
743
745
  if (W >= S) return;
744
- S -= W, P = P.slice(0, S);
746
+ S -= W, D = D.slice(0, S);
745
747
  }
746
748
  window.document.execCommand(
747
749
  "insertText",
748
750
  !1,
749
- P.replace(/(\r\n|\n|\r)/gm, " ")
751
+ D.replace(/(\r\n|\n|\r)/gm, " ")
750
752
  );
751
- }).catch((P) => {
753
+ }).catch((D) => {
752
754
  });
753
755
  };
754
- if (!(s && h) && !k || !(s && h) && p) return "";
756
+ if (!(s && g) && !b || !(s && g) && p) return "";
755
757
  const L = {};
756
- v && (L.placeholder = v), s && h && (L.edit = "");
757
- const U = (E) => {
758
+ v && (L.placeholder = v), s && g && (L.edit = "");
759
+ const q = (E) => {
758
760
  te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
759
761
  };
760
- return /* @__PURE__ */ f.jsx(
761
- nr,
762
+ return /* @__PURE__ */ m.jsx(
763
+ Mt,
762
764
  {
763
765
  type: "input",
764
766
  title: C,
765
767
  element_blok: { className: A },
766
- element_input: { className: A },
767
- children: /* @__PURE__ */ f.jsx(
768
+ element_input: { className: [z.w] },
769
+ children: /* @__PURE__ */ m.jsx(
768
770
  "div",
769
771
  {
770
- onBlur: U,
771
- onPaste: Y,
772
- onInput: I,
773
- onKeyDown: q,
772
+ onBlur: q,
773
+ onPaste: G,
774
+ onInput: M,
775
+ onKeyDown: K,
774
776
  spellCheck: "true",
775
- contentEditable: s && h ? te.ContentEditable : "false",
777
+ contentEditable: s && g ? te.ContentEditable : "false",
776
778
  suppressContentEditableWarning: !0,
777
779
  ...L,
778
780
  children: i
@@ -781,7 +783,7 @@ function ha({
781
783
  }
782
784
  );
783
785
  }
784
- var Dt = { exports: {} }, yt = {};
786
+ var Tt = { exports: {} }, yt = {};
785
787
  /**
786
788
  * @license React
787
789
  * react-jsx-runtime.production.min.js
@@ -791,17 +793,17 @@ var Dt = { exports: {} }, yt = {};
791
793
  * This source code is licensed under the MIT license found in the
792
794
  * LICENSE file in the root directory of this source tree.
793
795
  */
794
- var At;
796
+ var Bt;
795
797
  function or() {
796
- if (At) return yt;
797
- At = 1;
798
- var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
799
- function O(x, s, h) {
800
- var o, d = {}, k = null, S = null;
801
- h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
798
+ if (Bt) return yt;
799
+ Bt = 1;
800
+ var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
801
+ function O(x, s, g) {
802
+ var o, d = {}, b = null, S = null;
803
+ g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
802
804
  for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
803
805
  if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
804
- return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
806
+ return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
805
807
  }
806
808
  return yt.Fragment = c, yt.jsx = O, yt.jsxs = O, yt;
807
809
  }
@@ -815,54 +817,54 @@ var bt = {};
815
817
  * This source code is licensed under the MIT license found in the
816
818
  * LICENSE file in the root directory of this source tree.
817
819
  */
818
- var Bt;
820
+ var Lt;
819
821
  function ir() {
820
- return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
821
- var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
822
+ return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
823
+ var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
822
824
  function $(e) {
823
825
  if (e === null || typeof e != "object")
824
826
  return null;
825
827
  var t = N && e[N] || e[A];
826
828
  return typeof t == "function" ? t : null;
827
829
  }
828
- var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
830
+ var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
829
831
  function p(e) {
830
832
  {
831
- for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
832
- r[n - 1] = arguments[n];
833
- I("error", e, r);
833
+ for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
834
+ r[a - 1] = arguments[a];
835
+ M("error", e, r);
834
836
  }
835
837
  }
836
- function I(e, t, r) {
838
+ function M(e, t, r) {
837
839
  {
838
- var n = T.ReactDebugCurrentFrame, m = n.getStackAddendum();
839
- m !== "" && (t += "%s", r = r.concat([m]));
840
+ var a = T.ReactDebugCurrentFrame, f = a.getStackAddendum();
841
+ f !== "" && (t += "%s", r = r.concat([f]));
840
842
  var y = r.map(function(l) {
841
843
  return String(l);
842
844
  });
843
845
  y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
844
846
  }
845
847
  }
846
- var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
847
- P = Symbol.for("react.module.reference");
848
+ var K = !1, G = !1, L = !1, q = !1, E = !1, D;
849
+ D = Symbol.for("react.module.reference");
848
850
  function W(e) {
849
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
851
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
850
852
  // types supported by any Flight configuration anywhere since
851
853
  // we don't know which Flight build this will end up being used
852
854
  // with.
853
- e.$$typeof === P || e.getModuleId !== void 0));
855
+ e.$$typeof === D || e.getModuleId !== void 0));
854
856
  }
855
857
  function R(e, t, r) {
856
- var n = e.displayName;
857
- if (n)
858
- return n;
859
- var m = t.displayName || t.name || "";
860
- return m !== "" ? r + "(" + m + ")" : r;
858
+ var a = e.displayName;
859
+ if (a)
860
+ return a;
861
+ var f = t.displayName || t.name || "";
862
+ return f !== "" ? r + "(" + f + ")" : r;
861
863
  }
862
- function g(e) {
864
+ function h(e) {
863
865
  return e.displayName || "Context";
864
866
  }
865
- function b(e) {
867
+ function k(e) {
866
868
  if (e == null)
867
869
  return null;
868
870
  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")
@@ -878,7 +880,7 @@ function ir() {
878
880
  return "Profiler";
879
881
  case v:
880
882
  return "StrictMode";
881
- case h:
883
+ case g:
882
884
  return "Suspense";
883
885
  case o:
884
886
  return "SuspenseList";
@@ -887,19 +889,19 @@ function ir() {
887
889
  switch (e.$$typeof) {
888
890
  case x:
889
891
  var t = e;
890
- return g(t) + ".Consumer";
892
+ return h(t) + ".Consumer";
891
893
  case O:
892
894
  var r = e;
893
- return g(r._context) + ".Provider";
895
+ return h(r._context) + ".Provider";
894
896
  case s:
895
897
  return R(e, e.render, "ForwardRef");
896
898
  case d:
897
- var n = e.displayName || null;
898
- return n !== null ? n : b(e.type) || "Memo";
899
- case k: {
900
- var m = e, y = m._payload, l = m._init;
899
+ var a = e.displayName || null;
900
+ return a !== null ? a : k(e.type) || "Memo";
901
+ case b: {
902
+ var f = e, y = f._payload, l = f._init;
901
903
  try {
902
- return b(l(y));
904
+ return k(l(y));
903
905
  } catch {
904
906
  return null;
905
907
  }
@@ -907,13 +909,13 @@ function ir() {
907
909
  }
908
910
  return null;
909
911
  }
910
- var M = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
912
+ var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
911
913
  function we() {
912
914
  }
913
915
  we.__reactDisabledLog = !0;
914
916
  function Le() {
915
917
  {
916
- if (G === 0) {
918
+ if (Y === 0) {
917
919
  Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
918
920
  var e = {
919
921
  configurable: !0,
@@ -931,42 +933,42 @@ function ir() {
931
933
  groupEnd: e
932
934
  });
933
935
  }
934
- G++;
936
+ Y++;
935
937
  }
936
938
  }
937
939
  function We() {
938
940
  {
939
- if (G--, G === 0) {
941
+ if (Y--, Y === 0) {
940
942
  var e = {
941
943
  configurable: !0,
942
944
  enumerable: !0,
943
945
  writable: !0
944
946
  };
945
947
  Object.defineProperties(console, {
946
- log: M({}, e, {
948
+ log: I({}, e, {
947
949
  value: Q
948
950
  }),
949
- info: M({}, e, {
951
+ info: I({}, e, {
950
952
  value: ie
951
953
  }),
952
- warn: M({}, e, {
954
+ warn: I({}, e, {
953
955
  value: se
954
956
  }),
955
- error: M({}, e, {
957
+ error: I({}, e, {
956
958
  value: ve
957
959
  }),
958
- group: M({}, e, {
960
+ group: I({}, e, {
959
961
  value: ge
960
962
  }),
961
- groupCollapsed: M({}, e, {
963
+ groupCollapsed: I({}, e, {
962
964
  value: be
963
965
  }),
964
- groupEnd: M({}, e, {
966
+ groupEnd: I({}, e, {
965
967
  value: ke
966
968
  })
967
969
  });
968
970
  }
969
- G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
971
+ Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
970
972
  }
971
973
  }
972
974
  var le = T.ReactCurrentDispatcher, ce;
@@ -975,9 +977,9 @@ function ir() {
975
977
  if (ce === void 0)
976
978
  try {
977
979
  throw Error();
978
- } catch (m) {
979
- var n = m.stack.trim().match(/\n( *(at )?)/);
980
- ce = n && n[1] || "";
980
+ } catch (f) {
981
+ var a = f.stack.trim().match(/\n( *(at )?)/);
982
+ ce = a && a[1] || "";
981
983
  }
982
984
  return `
983
985
  ` + ce + e;
@@ -996,9 +998,9 @@ function ir() {
996
998
  if (r !== void 0)
997
999
  return r;
998
1000
  }
999
- var n;
1001
+ var a;
1000
1002
  ue = !0;
1001
- var m = Error.prepareStackTrace;
1003
+ var f = Error.prepareStackTrace;
1002
1004
  Error.prepareStackTrace = void 0;
1003
1005
  var y;
1004
1006
  y = le.current, le.current = null, Le();
@@ -1015,14 +1017,14 @@ function ir() {
1015
1017
  try {
1016
1018
  Reflect.construct(l, []);
1017
1019
  } catch (F) {
1018
- n = F;
1020
+ a = F;
1019
1021
  }
1020
1022
  Reflect.construct(e, [], l);
1021
1023
  } else {
1022
1024
  try {
1023
1025
  l.call();
1024
1026
  } catch (F) {
1025
- n = F;
1027
+ a = F;
1026
1028
  }
1027
1029
  e.call(l.prototype);
1028
1030
  }
@@ -1030,21 +1032,21 @@ function ir() {
1030
1032
  try {
1031
1033
  throw Error();
1032
1034
  } catch (F) {
1033
- n = F;
1035
+ a = F;
1034
1036
  }
1035
1037
  e();
1036
1038
  }
1037
1039
  } catch (F) {
1038
- if (F && n && typeof F.stack == "string") {
1040
+ if (F && a && typeof F.stack == "string") {
1039
1041
  for (var _ = F.stack.split(`
1040
- `), D = n.stack.split(`
1041
- `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
1042
+ `), P = a.stack.split(`
1043
+ `), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
1042
1044
  j--;
1043
1045
  for (; w >= 1 && j >= 0; w--, j--)
1044
- if (_[w] !== D[j]) {
1046
+ if (_[w] !== P[j]) {
1045
1047
  if (w !== 1 || j !== 1)
1046
1048
  do
1047
- if (w--, j--, j < 0 || _[w] !== D[j]) {
1049
+ if (w--, j--, j < 0 || _[w] !== P[j]) {
1048
1050
  var B = `
1049
1051
  ` + _[w].replace(" at new ", " at ");
1050
1052
  return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
@@ -1054,7 +1056,7 @@ function ir() {
1054
1056
  }
1055
1057
  }
1056
1058
  } finally {
1057
- ue = !1, le.current = y, We(), Error.prepareStackTrace = m;
1059
+ ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
1058
1060
  }
1059
1061
  var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
1060
1062
  return typeof e == "function" && ae.set(e, H), H;
@@ -1074,7 +1076,7 @@ function ir() {
1074
1076
  if (typeof e == "string")
1075
1077
  return re(e);
1076
1078
  switch (e) {
1077
- case h:
1079
+ case g:
1078
1080
  return re("Suspense");
1079
1081
  case o:
1080
1082
  return re("SuspenseList");
@@ -1085,10 +1087,10 @@ function ir() {
1085
1087
  return Ke(e.render);
1086
1088
  case d:
1087
1089
  return ne(e.type, t, r);
1088
- case k: {
1089
- var n = e, m = n._payload, y = n._init;
1090
+ case b: {
1091
+ var a = e, f = a._payload, y = a._init;
1090
1092
  try {
1091
- return ne(y(m), t, r);
1093
+ return ne(y(f), t, r);
1092
1094
  } catch {
1093
1095
  }
1094
1096
  }
@@ -1103,7 +1105,7 @@ function ir() {
1103
1105
  } else
1104
1106
  Ce.setExtraStackFrame(null);
1105
1107
  }
1106
- function Ye(e, t, r, n, m) {
1108
+ function Ye(e, t, r, a, f) {
1107
1109
  {
1108
1110
  var y = Function.call.bind(X);
1109
1111
  for (var l in e)
@@ -1111,14 +1113,14 @@ function ir() {
1111
1113
  var _ = void 0;
1112
1114
  try {
1113
1115
  if (typeof e[l] != "function") {
1114
- var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1115
- throw D.name = "Invariant Violation", D;
1116
+ var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1117
+ throw P.name = "Invariant Violation", P;
1116
1118
  }
1117
- _ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1119
+ _ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1118
1120
  } catch (w) {
1119
1121
  _ = w;
1120
1122
  }
1121
- _ && !(_ instanceof Error) && (oe(m), 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).", n || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(m), p("Failed %s type: %s", r, _.message), oe(null));
1123
+ _ && !(_ instanceof Error) && (oe(f), 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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
1122
1124
  }
1123
1125
  }
1124
1126
  }
@@ -1193,7 +1195,7 @@ function ir() {
1193
1195
  });
1194
1196
  }
1195
1197
  }
1196
- var tt = function(e, t, r, n, m, y, l) {
1198
+ var tt = function(e, t, r, a, f, y, l) {
1197
1199
  var _ = {
1198
1200
  // This tag allows us to uniquely identify this as a React Element
1199
1201
  $$typeof: i,
@@ -1214,18 +1216,18 @@ function ir() {
1214
1216
  configurable: !1,
1215
1217
  enumerable: !1,
1216
1218
  writable: !1,
1217
- value: n
1219
+ value: a
1218
1220
  }), Object.defineProperty(_, "_source", {
1219
1221
  configurable: !1,
1220
1222
  enumerable: !1,
1221
1223
  writable: !1,
1222
- value: m
1224
+ value: f
1223
1225
  }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
1224
1226
  };
1225
- function rt(e, t, r, n, m) {
1227
+ function rt(e, t, r, a, f) {
1226
1228
  {
1227
- var y, l = {}, _ = null, D = null;
1228
- r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
1229
+ var y, l = {}, _ = null, P = null;
1230
+ r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
1229
1231
  for (y in t)
1230
1232
  X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
1231
1233
  if (e && e.defaultProps) {
@@ -1233,11 +1235,11 @@ function ir() {
1233
1235
  for (y in w)
1234
1236
  l[y] === void 0 && (l[y] = w[y]);
1235
1237
  }
1236
- if (_ || D) {
1238
+ if (_ || P) {
1237
1239
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1238
- _ && Qe(l, j), D && et(l, j);
1240
+ _ && Qe(l, j), P && et(l, j);
1239
1241
  }
1240
- return tt(e, _, D, m, n, Ee.current, l);
1242
+ return tt(e, _, P, f, a, Ee.current, l);
1241
1243
  }
1242
1244
  }
1243
1245
  var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
@@ -1248,15 +1250,15 @@ function ir() {
1248
1250
  } else
1249
1251
  De.setExtraStackFrame(null);
1250
1252
  }
1251
- var me;
1252
- me = !1;
1253
- function pe(e) {
1253
+ var pe;
1254
+ pe = !1;
1255
+ function me(e) {
1254
1256
  return typeof e == "object" && e !== null && e.$$typeof === i;
1255
1257
  }
1256
1258
  function Pe() {
1257
1259
  {
1258
1260
  if (fe.current) {
1259
- var e = b(fe.current.type);
1261
+ var e = k(fe.current.type);
1260
1262
  if (e)
1261
1263
  return `
1262
1264
 
@@ -1290,8 +1292,8 @@ Check the top-level render call using <` + r + ">.");
1290
1292
  if (Ne[r])
1291
1293
  return;
1292
1294
  Ne[r] = !0;
1293
- var n = "";
1294
- e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), Z(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, n), Z(null);
1295
+ var a = "";
1296
+ e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(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, a), Z(null);
1295
1297
  }
1296
1298
  }
1297
1299
  function Ie(e, t) {
@@ -1300,16 +1302,16 @@ Check the top-level render call using <` + r + ">.");
1300
1302
  return;
1301
1303
  if (de(e))
1302
1304
  for (var r = 0; r < e.length; r++) {
1303
- var n = e[r];
1304
- pe(n) && Fe(n, t);
1305
+ var a = e[r];
1306
+ me(a) && Fe(a, t);
1305
1307
  }
1306
- else if (pe(e))
1308
+ else if (me(e))
1307
1309
  e._store && (e._store.validated = !0);
1308
1310
  else if (e) {
1309
- var m = $(e);
1310
- if (typeof m == "function" && m !== e.entries)
1311
- for (var y = m.call(e), l; !(l = y.next()).done; )
1312
- pe(l.value) && Fe(l.value, t);
1311
+ var f = $(e);
1312
+ if (typeof f == "function" && f !== e.entries)
1313
+ for (var y = f.call(e), l; !(l = y.next()).done; )
1314
+ me(l.value) && Fe(l.value, t);
1313
1315
  }
1314
1316
  }
1315
1317
  }
@@ -1328,12 +1330,12 @@ Check the top-level render call using <` + r + ">.");
1328
1330
  else
1329
1331
  return;
1330
1332
  if (r) {
1331
- var n = b(t);
1332
- Ye(r, e.props, "prop", n, e);
1333
- } else if (t.PropTypes !== void 0 && !me) {
1334
- me = !0;
1335
- var m = b(t);
1336
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
1333
+ var a = k(t);
1334
+ Ye(r, e.props, "prop", a, e);
1335
+ } else if (t.PropTypes !== void 0 && !pe) {
1336
+ pe = !0;
1337
+ var f = k(t);
1338
+ p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
1337
1339
  }
1338
1340
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1339
1341
  }
@@ -1341,9 +1343,9 @@ Check the top-level render call using <` + r + ">.");
1341
1343
  function it(e) {
1342
1344
  {
1343
1345
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
1344
- var n = t[r];
1345
- if (n !== "children" && n !== "key") {
1346
- Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), Z(null);
1346
+ var a = t[r];
1347
+ if (a !== "children" && a !== "key") {
1348
+ Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
1347
1349
  break;
1348
1350
  }
1349
1351
  }
@@ -1351,24 +1353,24 @@ Check the top-level render call using <` + r + ">.");
1351
1353
  }
1352
1354
  }
1353
1355
  var Me = {};
1354
- function $e(e, t, r, n, m, y) {
1356
+ function $e(e, t, r, a, f, y) {
1355
1357
  {
1356
1358
  var l = W(e);
1357
1359
  if (!l) {
1358
1360
  var _ = "";
1359
1361
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1360
- var D = at();
1361
- D ? _ += D : _ += Pe();
1362
+ var P = at();
1363
+ P ? _ += P : _ += Pe();
1362
1364
  var w;
1363
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = 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", w, _);
1365
+ e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = 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", w, _);
1364
1366
  }
1365
- var j = rt(e, t, r, m, y);
1367
+ var j = rt(e, t, r, f, y);
1366
1368
  if (j == null)
1367
1369
  return j;
1368
1370
  if (l) {
1369
1371
  var B = t.children;
1370
1372
  if (B !== void 0)
1371
- if (n)
1373
+ if (a)
1372
1374
  if (de(B)) {
1373
1375
  for (var V = 0; V < B.length; V++)
1374
1376
  Ie(B[V], e);
@@ -1379,7 +1381,7 @@ Check the top-level render call using <` + r + ">.");
1379
1381
  Ie(B, e);
1380
1382
  }
1381
1383
  if (X.call(t, "key")) {
1382
- var H = b(e), F = Object.keys(t).filter(function(dt) {
1384
+ var H = k(e), F = Object.keys(t).filter(function(dt) {
1383
1385
  return dt !== "key";
1384
1386
  }), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
1385
1387
  if (!Me[H + ye]) {
@@ -1405,9 +1407,9 @@ React keys must be passed directly to JSX without using spread:
1405
1407
  bt.Fragment = u, bt.jsx = lt, bt.jsxs = ct;
1406
1408
  }()), bt;
1407
1409
  }
1408
- process.env.NODE_ENV === "production" ? Dt.exports = or() : Dt.exports = ir();
1409
- var J = Dt.exports;
1410
- const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "_ss_oqfdb_94", ur = "_sm_oqfdb_98", dr = "_sl_oqfdb_102", fr = "_sx_oqfdb_106", mr = "_sf_oqfdb_110", pr = "_o_oqfdb_116", yr = "_b_oqfdb_28", vr = "_w_oqfdb_15", gr = "_h_oqfdb_146", hr = "_l_oqfdb_160", br = "_t_oqfdb_197", kr = "_x_oqfdb_201", wr = "_s_oqfdb_89", jr = "_c_oqfdb_219", xr = "_f_oqfdb_224", Cr = "_r__oqfdb_235", Sr = "_c__oqfdb_250", Rr = "_g_oqfdb_259", Er = "_m_oqfdb_79", _e = {
1410
+ process.env.NODE_ENV === "production" ? Tt.exports = or() : Tt.exports = ir();
1411
+ var J = Tt.exports;
1412
+ const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "_ss_oqfdb_94", ur = "_sm_oqfdb_98", dr = "_sl_oqfdb_102", fr = "_sx_oqfdb_106", pr = "_sf_oqfdb_110", mr = "_o_oqfdb_116", yr = "_b_oqfdb_28", vr = "_w_oqfdb_15", gr = "_h_oqfdb_146", hr = "_l_oqfdb_160", br = "_t_oqfdb_197", kr = "_x_oqfdb_201", wr = "_s_oqfdb_89", jr = "_c_oqfdb_219", xr = "_f_oqfdb_224", Cr = "_r__oqfdb_235", Sr = "_c__oqfdb_250", Rr = "_g_oqfdb_259", Er = "_m_oqfdb_79", _e = {
1411
1413
  shake: _r,
1412
1414
  modal: sr,
1413
1415
  sa: lr,
@@ -1415,8 +1417,8 @@ const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "
1415
1417
  sm: ur,
1416
1418
  sl: dr,
1417
1419
  sx: fr,
1418
- sf: mr,
1419
- o: pr,
1420
+ sf: pr,
1421
+ o: mr,
1420
1422
  b: yr,
1421
1423
  w: vr,
1422
1424
  h: gr,
@@ -1431,26 +1433,26 @@ const _r = "_shake_oqfdb_1", sr = "_modal_oqfdb_79", lr = "_sa_oqfdb_89", cr = "
1431
1433
  g: Rr,
1432
1434
  m: Er
1433
1435
  };
1434
- function Or({ children: a, className: i }) {
1436
+ function Or({ children: n, className: i }) {
1435
1437
  return /* @__PURE__ */ J.jsx(
1436
1438
  "div",
1437
1439
  {
1438
1440
  className: [_e.l, i].filter((c) => c !== void 0).join(" "),
1439
- children: /* @__PURE__ */ J.jsx("ul", { children: a })
1441
+ children: /* @__PURE__ */ J.jsx("ul", { children: n })
1440
1442
  }
1441
1443
  );
1442
1444
  }
1443
- function Tr({ children: a, className: i }) {
1445
+ function Tr({ children: n, className: i }) {
1444
1446
  return /* @__PURE__ */ J.jsx(
1445
1447
  "div",
1446
1448
  {
1447
1449
  className: [_e.s, i].filter((c) => c !== void 0).join(" "),
1448
- children: a
1450
+ children: n
1449
1451
  }
1450
1452
  );
1451
1453
  }
1452
1454
  function Dr({
1453
- children: a,
1455
+ children: n,
1454
1456
  direction: i = "column",
1455
1457
  className: c
1456
1458
  }) {
@@ -1462,35 +1464,35 @@ function Dr({
1462
1464
  _e[i === "row" ? "r_" : "c_"],
1463
1465
  c
1464
1466
  ].filter((u) => u !== void 0).join(" "),
1465
- children: a
1467
+ children: n
1466
1468
  }
1467
1469
  );
1468
1470
  }
1469
- function Pr({ children: a, className: i }) {
1471
+ function Pr({ children: n, className: i }) {
1470
1472
  return /* @__PURE__ */ J.jsx(
1471
1473
  "div",
1472
1474
  {
1473
1475
  className: [_e.c, i].filter((c) => c !== void 0).join(" "),
1474
- children: a
1476
+ children: n
1475
1477
  }
1476
1478
  );
1477
1479
  }
1478
- function Nr({ children: a, className: i }) {
1480
+ function Nr({ children: n, className: i }) {
1479
1481
  return /* @__PURE__ */ J.jsx(
1480
1482
  "div",
1481
1483
  {
1482
1484
  className: [_e.g, i].filter((c) => c !== void 0).join(" "),
1483
- children: a
1485
+ children: n
1484
1486
  }
1485
1487
  );
1486
1488
  }
1487
1489
  function Fr() {
1488
1490
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
1489
1491
  }
1490
- function Lt(a) {
1492
+ function Wt(n) {
1491
1493
  return Fr().IMPORT_MODULES;
1492
1494
  }
1493
- var Pt = { exports: {} }, vt = {};
1495
+ var Dt = { exports: {} }, vt = {};
1494
1496
  /**
1495
1497
  * @license React
1496
1498
  * react-jsx-runtime.production.min.js
@@ -1500,17 +1502,17 @@ var Pt = { exports: {} }, vt = {};
1500
1502
  * This source code is licensed under the MIT license found in the
1501
1503
  * LICENSE file in the root directory of this source tree.
1502
1504
  */
1503
- var Wt;
1505
+ var Ut;
1504
1506
  function Ir() {
1505
- if (Wt) return vt;
1506
- Wt = 1;
1507
- var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
1508
- function O(x, s, h) {
1509
- var o, d = {}, k = null, S = null;
1510
- h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
1507
+ if (Ut) return vt;
1508
+ Ut = 1;
1509
+ var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
1510
+ function O(x, s, g) {
1511
+ var o, d = {}, b = null, S = null;
1512
+ g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
1511
1513
  for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
1512
1514
  if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
1513
- return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
1515
+ return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
1514
1516
  }
1515
1517
  return vt.Fragment = c, vt.jsx = O, vt.jsxs = O, vt;
1516
1518
  }
@@ -1524,54 +1526,54 @@ var kt = {};
1524
1526
  * This source code is licensed under the MIT license found in the
1525
1527
  * LICENSE file in the root directory of this source tree.
1526
1528
  */
1527
- var Ut;
1529
+ var Kt;
1528
1530
  function Mr() {
1529
- return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
1530
- var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
1531
+ return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
1532
+ var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
1531
1533
  function $(e) {
1532
1534
  if (e === null || typeof e != "object")
1533
1535
  return null;
1534
1536
  var t = N && e[N] || e[A];
1535
1537
  return typeof t == "function" ? t : null;
1536
1538
  }
1537
- var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1539
+ var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1538
1540
  function p(e) {
1539
1541
  {
1540
- for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
1541
- r[n - 1] = arguments[n];
1542
- I("error", e, r);
1542
+ for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
1543
+ r[a - 1] = arguments[a];
1544
+ M("error", e, r);
1543
1545
  }
1544
1546
  }
1545
- function I(e, t, r) {
1547
+ function M(e, t, r) {
1546
1548
  {
1547
- var n = T.ReactDebugCurrentFrame, m = n.getStackAddendum();
1548
- m !== "" && (t += "%s", r = r.concat([m]));
1549
+ var a = T.ReactDebugCurrentFrame, f = a.getStackAddendum();
1550
+ f !== "" && (t += "%s", r = r.concat([f]));
1549
1551
  var y = r.map(function(l) {
1550
1552
  return String(l);
1551
1553
  });
1552
1554
  y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
1553
1555
  }
1554
1556
  }
1555
- var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
1556
- P = Symbol.for("react.module.reference");
1557
+ var K = !1, G = !1, L = !1, q = !1, E = !1, D;
1558
+ D = Symbol.for("react.module.reference");
1557
1559
  function W(e) {
1558
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
1560
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
1559
1561
  // types supported by any Flight configuration anywhere since
1560
1562
  // we don't know which Flight build this will end up being used
1561
1563
  // with.
1562
- e.$$typeof === P || e.getModuleId !== void 0));
1564
+ e.$$typeof === D || e.getModuleId !== void 0));
1563
1565
  }
1564
1566
  function R(e, t, r) {
1565
- var n = e.displayName;
1566
- if (n)
1567
- return n;
1568
- var m = t.displayName || t.name || "";
1569
- return m !== "" ? r + "(" + m + ")" : r;
1567
+ var a = e.displayName;
1568
+ if (a)
1569
+ return a;
1570
+ var f = t.displayName || t.name || "";
1571
+ return f !== "" ? r + "(" + f + ")" : r;
1570
1572
  }
1571
- function g(e) {
1573
+ function h(e) {
1572
1574
  return e.displayName || "Context";
1573
1575
  }
1574
- function b(e) {
1576
+ function k(e) {
1575
1577
  if (e == null)
1576
1578
  return null;
1577
1579
  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")
@@ -1587,7 +1589,7 @@ function Mr() {
1587
1589
  return "Profiler";
1588
1590
  case v:
1589
1591
  return "StrictMode";
1590
- case h:
1592
+ case g:
1591
1593
  return "Suspense";
1592
1594
  case o:
1593
1595
  return "SuspenseList";
@@ -1596,19 +1598,19 @@ function Mr() {
1596
1598
  switch (e.$$typeof) {
1597
1599
  case x:
1598
1600
  var t = e;
1599
- return g(t) + ".Consumer";
1601
+ return h(t) + ".Consumer";
1600
1602
  case O:
1601
1603
  var r = e;
1602
- return g(r._context) + ".Provider";
1604
+ return h(r._context) + ".Provider";
1603
1605
  case s:
1604
1606
  return R(e, e.render, "ForwardRef");
1605
1607
  case d:
1606
- var n = e.displayName || null;
1607
- return n !== null ? n : b(e.type) || "Memo";
1608
- case k: {
1609
- var m = e, y = m._payload, l = m._init;
1608
+ var a = e.displayName || null;
1609
+ return a !== null ? a : k(e.type) || "Memo";
1610
+ case b: {
1611
+ var f = e, y = f._payload, l = f._init;
1610
1612
  try {
1611
- return b(l(y));
1613
+ return k(l(y));
1612
1614
  } catch {
1613
1615
  return null;
1614
1616
  }
@@ -1616,13 +1618,13 @@ function Mr() {
1616
1618
  }
1617
1619
  return null;
1618
1620
  }
1619
- var M = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
1621
+ var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
1620
1622
  function we() {
1621
1623
  }
1622
1624
  we.__reactDisabledLog = !0;
1623
1625
  function Le() {
1624
1626
  {
1625
- if (G === 0) {
1627
+ if (Y === 0) {
1626
1628
  Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
1627
1629
  var e = {
1628
1630
  configurable: !0,
@@ -1640,42 +1642,42 @@ function Mr() {
1640
1642
  groupEnd: e
1641
1643
  });
1642
1644
  }
1643
- G++;
1645
+ Y++;
1644
1646
  }
1645
1647
  }
1646
1648
  function We() {
1647
1649
  {
1648
- if (G--, G === 0) {
1650
+ if (Y--, Y === 0) {
1649
1651
  var e = {
1650
1652
  configurable: !0,
1651
1653
  enumerable: !0,
1652
1654
  writable: !0
1653
1655
  };
1654
1656
  Object.defineProperties(console, {
1655
- log: M({}, e, {
1657
+ log: I({}, e, {
1656
1658
  value: Q
1657
1659
  }),
1658
- info: M({}, e, {
1660
+ info: I({}, e, {
1659
1661
  value: ie
1660
1662
  }),
1661
- warn: M({}, e, {
1663
+ warn: I({}, e, {
1662
1664
  value: se
1663
1665
  }),
1664
- error: M({}, e, {
1666
+ error: I({}, e, {
1665
1667
  value: ve
1666
1668
  }),
1667
- group: M({}, e, {
1669
+ group: I({}, e, {
1668
1670
  value: ge
1669
1671
  }),
1670
- groupCollapsed: M({}, e, {
1672
+ groupCollapsed: I({}, e, {
1671
1673
  value: be
1672
1674
  }),
1673
- groupEnd: M({}, e, {
1675
+ groupEnd: I({}, e, {
1674
1676
  value: ke
1675
1677
  })
1676
1678
  });
1677
1679
  }
1678
- G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1680
+ Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1679
1681
  }
1680
1682
  }
1681
1683
  var le = T.ReactCurrentDispatcher, ce;
@@ -1684,9 +1686,9 @@ function Mr() {
1684
1686
  if (ce === void 0)
1685
1687
  try {
1686
1688
  throw Error();
1687
- } catch (m) {
1688
- var n = m.stack.trim().match(/\n( *(at )?)/);
1689
- ce = n && n[1] || "";
1689
+ } catch (f) {
1690
+ var a = f.stack.trim().match(/\n( *(at )?)/);
1691
+ ce = a && a[1] || "";
1690
1692
  }
1691
1693
  return `
1692
1694
  ` + ce + e;
@@ -1705,9 +1707,9 @@ function Mr() {
1705
1707
  if (r !== void 0)
1706
1708
  return r;
1707
1709
  }
1708
- var n;
1710
+ var a;
1709
1711
  ue = !0;
1710
- var m = Error.prepareStackTrace;
1712
+ var f = Error.prepareStackTrace;
1711
1713
  Error.prepareStackTrace = void 0;
1712
1714
  var y;
1713
1715
  y = le.current, le.current = null, Le();
@@ -1724,14 +1726,14 @@ function Mr() {
1724
1726
  try {
1725
1727
  Reflect.construct(l, []);
1726
1728
  } catch (F) {
1727
- n = F;
1729
+ a = F;
1728
1730
  }
1729
1731
  Reflect.construct(e, [], l);
1730
1732
  } else {
1731
1733
  try {
1732
1734
  l.call();
1733
1735
  } catch (F) {
1734
- n = F;
1736
+ a = F;
1735
1737
  }
1736
1738
  e.call(l.prototype);
1737
1739
  }
@@ -1739,21 +1741,21 @@ function Mr() {
1739
1741
  try {
1740
1742
  throw Error();
1741
1743
  } catch (F) {
1742
- n = F;
1744
+ a = F;
1743
1745
  }
1744
1746
  e();
1745
1747
  }
1746
1748
  } catch (F) {
1747
- if (F && n && typeof F.stack == "string") {
1749
+ if (F && a && typeof F.stack == "string") {
1748
1750
  for (var _ = F.stack.split(`
1749
- `), D = n.stack.split(`
1750
- `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
1751
+ `), P = a.stack.split(`
1752
+ `), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
1751
1753
  j--;
1752
1754
  for (; w >= 1 && j >= 0; w--, j--)
1753
- if (_[w] !== D[j]) {
1755
+ if (_[w] !== P[j]) {
1754
1756
  if (w !== 1 || j !== 1)
1755
1757
  do
1756
- if (w--, j--, j < 0 || _[w] !== D[j]) {
1758
+ if (w--, j--, j < 0 || _[w] !== P[j]) {
1757
1759
  var B = `
1758
1760
  ` + _[w].replace(" at new ", " at ");
1759
1761
  return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
@@ -1763,7 +1765,7 @@ function Mr() {
1763
1765
  }
1764
1766
  }
1765
1767
  } finally {
1766
- ue = !1, le.current = y, We(), Error.prepareStackTrace = m;
1768
+ ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
1767
1769
  }
1768
1770
  var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
1769
1771
  return typeof e == "function" && ae.set(e, H), H;
@@ -1783,7 +1785,7 @@ function Mr() {
1783
1785
  if (typeof e == "string")
1784
1786
  return re(e);
1785
1787
  switch (e) {
1786
- case h:
1788
+ case g:
1787
1789
  return re("Suspense");
1788
1790
  case o:
1789
1791
  return re("SuspenseList");
@@ -1794,10 +1796,10 @@ function Mr() {
1794
1796
  return Ke(e.render);
1795
1797
  case d:
1796
1798
  return ne(e.type, t, r);
1797
- case k: {
1798
- var n = e, m = n._payload, y = n._init;
1799
+ case b: {
1800
+ var a = e, f = a._payload, y = a._init;
1799
1801
  try {
1800
- return ne(y(m), t, r);
1802
+ return ne(y(f), t, r);
1801
1803
  } catch {
1802
1804
  }
1803
1805
  }
@@ -1812,7 +1814,7 @@ function Mr() {
1812
1814
  } else
1813
1815
  Ce.setExtraStackFrame(null);
1814
1816
  }
1815
- function Ye(e, t, r, n, m) {
1817
+ function Ye(e, t, r, a, f) {
1816
1818
  {
1817
1819
  var y = Function.call.bind(X);
1818
1820
  for (var l in e)
@@ -1820,14 +1822,14 @@ function Mr() {
1820
1822
  var _ = void 0;
1821
1823
  try {
1822
1824
  if (typeof e[l] != "function") {
1823
- var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1824
- throw D.name = "Invariant Violation", D;
1825
+ var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1826
+ throw P.name = "Invariant Violation", P;
1825
1827
  }
1826
- _ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1828
+ _ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1827
1829
  } catch (w) {
1828
1830
  _ = w;
1829
1831
  }
1830
- _ && !(_ instanceof Error) && (oe(m), 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).", n || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(m), p("Failed %s type: %s", r, _.message), oe(null));
1832
+ _ && !(_ instanceof Error) && (oe(f), 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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
1831
1833
  }
1832
1834
  }
1833
1835
  }
@@ -1902,7 +1904,7 @@ function Mr() {
1902
1904
  });
1903
1905
  }
1904
1906
  }
1905
- var tt = function(e, t, r, n, m, y, l) {
1907
+ var tt = function(e, t, r, a, f, y, l) {
1906
1908
  var _ = {
1907
1909
  // This tag allows us to uniquely identify this as a React Element
1908
1910
  $$typeof: i,
@@ -1923,18 +1925,18 @@ function Mr() {
1923
1925
  configurable: !1,
1924
1926
  enumerable: !1,
1925
1927
  writable: !1,
1926
- value: n
1928
+ value: a
1927
1929
  }), Object.defineProperty(_, "_source", {
1928
1930
  configurable: !1,
1929
1931
  enumerable: !1,
1930
1932
  writable: !1,
1931
- value: m
1933
+ value: f
1932
1934
  }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
1933
1935
  };
1934
- function rt(e, t, r, n, m) {
1936
+ function rt(e, t, r, a, f) {
1935
1937
  {
1936
- var y, l = {}, _ = null, D = null;
1937
- r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
1938
+ var y, l = {}, _ = null, P = null;
1939
+ r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
1938
1940
  for (y in t)
1939
1941
  X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
1940
1942
  if (e && e.defaultProps) {
@@ -1942,11 +1944,11 @@ function Mr() {
1942
1944
  for (y in w)
1943
1945
  l[y] === void 0 && (l[y] = w[y]);
1944
1946
  }
1945
- if (_ || D) {
1947
+ if (_ || P) {
1946
1948
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1947
- _ && Qe(l, j), D && et(l, j);
1949
+ _ && Qe(l, j), P && et(l, j);
1948
1950
  }
1949
- return tt(e, _, D, m, n, Ee.current, l);
1951
+ return tt(e, _, P, f, a, Ee.current, l);
1950
1952
  }
1951
1953
  }
1952
1954
  var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
@@ -1957,15 +1959,15 @@ function Mr() {
1957
1959
  } else
1958
1960
  De.setExtraStackFrame(null);
1959
1961
  }
1960
- var me;
1961
- me = !1;
1962
- function pe(e) {
1962
+ var pe;
1963
+ pe = !1;
1964
+ function me(e) {
1963
1965
  return typeof e == "object" && e !== null && e.$$typeof === i;
1964
1966
  }
1965
1967
  function Pe() {
1966
1968
  {
1967
1969
  if (fe.current) {
1968
- var e = b(fe.current.type);
1970
+ var e = k(fe.current.type);
1969
1971
  if (e)
1970
1972
  return `
1971
1973
 
@@ -1999,8 +2001,8 @@ Check the top-level render call using <` + r + ">.");
1999
2001
  if (Ne[r])
2000
2002
  return;
2001
2003
  Ne[r] = !0;
2002
- var n = "";
2003
- e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), Z(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, n), Z(null);
2004
+ var a = "";
2005
+ e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(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, a), Z(null);
2004
2006
  }
2005
2007
  }
2006
2008
  function Ie(e, t) {
@@ -2009,16 +2011,16 @@ Check the top-level render call using <` + r + ">.");
2009
2011
  return;
2010
2012
  if (de(e))
2011
2013
  for (var r = 0; r < e.length; r++) {
2012
- var n = e[r];
2013
- pe(n) && Fe(n, t);
2014
+ var a = e[r];
2015
+ me(a) && Fe(a, t);
2014
2016
  }
2015
- else if (pe(e))
2017
+ else if (me(e))
2016
2018
  e._store && (e._store.validated = !0);
2017
2019
  else if (e) {
2018
- var m = $(e);
2019
- if (typeof m == "function" && m !== e.entries)
2020
- for (var y = m.call(e), l; !(l = y.next()).done; )
2021
- pe(l.value) && Fe(l.value, t);
2020
+ var f = $(e);
2021
+ if (typeof f == "function" && f !== e.entries)
2022
+ for (var y = f.call(e), l; !(l = y.next()).done; )
2023
+ me(l.value) && Fe(l.value, t);
2022
2024
  }
2023
2025
  }
2024
2026
  }
@@ -2037,12 +2039,12 @@ Check the top-level render call using <` + r + ">.");
2037
2039
  else
2038
2040
  return;
2039
2041
  if (r) {
2040
- var n = b(t);
2041
- Ye(r, e.props, "prop", n, e);
2042
- } else if (t.PropTypes !== void 0 && !me) {
2043
- me = !0;
2044
- var m = b(t);
2045
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
2042
+ var a = k(t);
2043
+ Ye(r, e.props, "prop", a, e);
2044
+ } else if (t.PropTypes !== void 0 && !pe) {
2045
+ pe = !0;
2046
+ var f = k(t);
2047
+ p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
2046
2048
  }
2047
2049
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2048
2050
  }
@@ -2050,9 +2052,9 @@ Check the top-level render call using <` + r + ">.");
2050
2052
  function it(e) {
2051
2053
  {
2052
2054
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
2053
- var n = t[r];
2054
- if (n !== "children" && n !== "key") {
2055
- Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), Z(null);
2055
+ var a = t[r];
2056
+ if (a !== "children" && a !== "key") {
2057
+ Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
2056
2058
  break;
2057
2059
  }
2058
2060
  }
@@ -2060,24 +2062,24 @@ Check the top-level render call using <` + r + ">.");
2060
2062
  }
2061
2063
  }
2062
2064
  var Me = {};
2063
- function $e(e, t, r, n, m, y) {
2065
+ function $e(e, t, r, a, f, y) {
2064
2066
  {
2065
2067
  var l = W(e);
2066
2068
  if (!l) {
2067
2069
  var _ = "";
2068
2070
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2069
- var D = at();
2070
- D ? _ += D : _ += Pe();
2071
+ var P = at();
2072
+ P ? _ += P : _ += Pe();
2071
2073
  var w;
2072
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = 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", w, _);
2074
+ e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = 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", w, _);
2073
2075
  }
2074
- var j = rt(e, t, r, m, y);
2076
+ var j = rt(e, t, r, f, y);
2075
2077
  if (j == null)
2076
2078
  return j;
2077
2079
  if (l) {
2078
2080
  var B = t.children;
2079
2081
  if (B !== void 0)
2080
- if (n)
2082
+ if (a)
2081
2083
  if (de(B)) {
2082
2084
  for (var V = 0; V < B.length; V++)
2083
2085
  Ie(B[V], e);
@@ -2088,7 +2090,7 @@ Check the top-level render call using <` + r + ">.");
2088
2090
  Ie(B, e);
2089
2091
  }
2090
2092
  if (X.call(t, "key")) {
2091
- var H = b(e), F = Object.keys(t).filter(function(dt) {
2093
+ var H = k(e), F = Object.keys(t).filter(function(dt) {
2092
2094
  return dt !== "key";
2093
2095
  }), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
2094
2096
  if (!Me[H + ye]) {
@@ -2114,8 +2116,8 @@ React keys must be passed directly to JSX without using spread:
2114
2116
  kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
2115
2117
  }()), kt;
2116
2118
  }
2117
- process.env.NODE_ENV === "production" ? Pt.exports = Ir() : Pt.exports = Mr();
2118
- var Et = Pt.exports;
2119
+ process.env.NODE_ENV === "production" ? Dt.exports = Ir() : Dt.exports = Mr();
2120
+ var Rt = Dt.exports;
2119
2121
  const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr = "_action_1k1b3_25", Wr = "_disabled_1k1b3_30", Ur = "_m_1k1b3_44", Kr = "_l_1k1b3_48", wt = {
2120
2122
  btn: $r,
2121
2123
  confirm: Ar,
@@ -2126,7 +2128,7 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
2126
2128
  m: Ur,
2127
2129
  l: Kr
2128
2130
  }, qr = ({
2129
- onClick: a,
2131
+ onClick: n,
2130
2132
  onSend: i,
2131
2133
  size: c = "m",
2132
2134
  view: u = "confirm",
@@ -2135,32 +2137,32 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
2135
2137
  className: O,
2136
2138
  after: x,
2137
2139
  before: s,
2138
- label: h,
2140
+ label: g,
2139
2141
  onRef: o,
2140
2142
  awaitText: d = "Ожидайте"
2141
2143
  }) => {
2142
- let [k, S] = K.useState(!1);
2144
+ let [b, S] = U.useState(!1);
2143
2145
  const N = ($) => {
2144
- if (a) return a();
2145
- k || (i ? (S(!0), i(S)) : $.preventDefault());
2146
+ if (n) return n();
2147
+ b || (i ? (S(!0), i(S)) : $.preventDefault());
2146
2148
  };
2147
2149
  let A = {};
2148
- return (C || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
2150
+ return (C || b) && (A.disabled = !0), /* @__PURE__ */ Rt.jsx(
2149
2151
  "button",
2150
2152
  {
2151
2153
  ...A,
2152
2154
  ref: o,
2153
2155
  className: [
2154
2156
  wt.btn,
2155
- k ? wt.disabled : wt[u],
2157
+ b ? wt.disabled : wt[u],
2156
2158
  c && wt[c],
2157
2159
  O
2158
2160
  ].filter(($) => $ != "").join(" "),
2159
2161
  onClick: N,
2160
- children: k ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
2162
+ children: b ? d : /* @__PURE__ */ Rt.jsxs(Rt.Fragment, { children: [
2161
2163
  s || "",
2162
2164
  " ",
2163
- h,
2165
+ g,
2164
2166
  " ",
2165
2167
  x || ""
2166
2168
  ] }) || v
@@ -2168,55 +2170,55 @@ const $r = "_btn_1k1b3_1", Ar = "_confirm_1k1b3_15", Br = "_cancel_1k1b3_20", Lr
2168
2170
  );
2169
2171
  };
2170
2172
  let Ae = {};
2171
- function Yr({ children: a }) {
2172
- return /* @__PURE__ */ J.jsx(J.Fragment, { children: a });
2173
+ function Yr({ children: n }) {
2174
+ return /* @__PURE__ */ J.jsx(J.Fragment, { children: n });
2173
2175
  }
2174
2176
  var xt;
2175
- ((a) => {
2177
+ ((n) => {
2176
2178
  function i({
2177
2179
  import_modules: o
2178
2180
  }) {
2179
- let [d, k] = K.useState([]);
2181
+ let [d, b] = U.useState([]);
2180
2182
  return Ae.x = (S) => {
2181
- k(S ? d.filter((N) => N.key !== S) : []);
2182
- }, Ht(() => {
2183
+ b(S ? d.filter((N) => N.key !== S) : []);
2184
+ }, Jt(() => {
2183
2185
  o && (Ae.i = o);
2184
2186
  }, []), Ae.add = (S, N = Date.now()) => {
2185
- k([...d, { key: N, item: S }]);
2187
+ b([...d, { key: N, item: S }]);
2186
2188
  }, /* @__PURE__ */ J.jsx(J.Fragment, { children: d.map((S) => S.item) });
2187
2189
  }
2188
- a.Init = i;
2190
+ n.Init = i;
2189
2191
  function c(o) {
2190
2192
  return o && (Ae.i = o), Ae.i;
2191
2193
  }
2192
- a.Import = c, a.List = Or, a.Scroll = Tr, a.Form = Dr, a.Center = Pr, a.Column = Nr;
2193
- function u(o, d, k) {
2194
+ n.Import = c, n.List = Or, n.Scroll = Tr, n.Form = Dr, n.Center = Pr, n.Column = Nr;
2195
+ function u(o, d, b) {
2194
2196
  Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
2195
- S.default.Open(k);
2196
- }) : Lt()(`${o}/modal/${d}.tsx`).then((S) => {
2197
- S.default.Open(k);
2197
+ S.default.Open(b);
2198
+ }) : Wt()(`${o}/modal/${d}.tsx`).then((S) => {
2199
+ S.default.Open(b);
2198
2200
  });
2199
2201
  }
2200
- a.Open = u;
2201
- function v({ type: o, name: d, params: k }) {
2202
- let [S, N] = K.useState(null);
2203
- return K.useEffect(() => {
2202
+ n.Open = u;
2203
+ function v({ type: o, name: d, params: b }) {
2204
+ let [S, N] = U.useState(null);
2205
+ return U.useEffect(() => {
2204
2206
  Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
2205
- N(A.default.Icon(k));
2206
- }) : Lt()(`${o}/modal/${d}.tsx`).then((A) => {
2207
- N(A.default.Icon(k));
2207
+ N(A.default.Icon(b));
2208
+ }) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
2209
+ N(A.default.Icon(b));
2208
2210
  });
2209
- }, [k.id]), /* @__PURE__ */ J.jsx(J.Fragment, { children: S });
2211
+ }, [b.id]), /* @__PURE__ */ J.jsx(J.Fragment, { children: S });
2210
2212
  }
2211
- a.Icon = v;
2213
+ n.Icon = v;
2212
2214
  function C(o, d) {
2213
2215
  Ae.add(/* @__PURE__ */ J.jsx(Yr, { children: o }, String(Date.now())), d);
2214
2216
  }
2215
- a.Add = C;
2217
+ n.Add = C;
2216
2218
  function O(o) {
2217
2219
  Ae.x(o);
2218
2220
  }
2219
- a.Close = O;
2221
+ n.Close = O;
2220
2222
  function x(o) {
2221
2223
  if (o.target.classList[0] !== "modal") return;
2222
2224
  let d = o.target.children[0];
@@ -2224,43 +2226,43 @@ var xt;
2224
2226
  d.setAttribute("shake", !1);
2225
2227
  }, 1e3);
2226
2228
  }
2227
- a.Shake = x;
2229
+ n.Shake = x;
2228
2230
  function s(o, d) {
2229
- const k = (S) => {
2230
- a.Add(
2231
+ const b = (S) => {
2232
+ n.Add(
2231
2233
  /* @__PURE__ */ J.jsx(o, { ...S }, (/* @__PURE__ */ new Date()).getTime())
2232
2234
  );
2233
2235
  };
2234
2236
  return {
2235
- Icon: (S) => /* @__PURE__ */ J.jsx("i", { onClick: () => k(S), children: d && /* @__PURE__ */ J.jsx(d, {}) }),
2236
- Open: k
2237
+ Icon: (S) => /* @__PURE__ */ J.jsx("i", { onClick: () => b(S), children: d && /* @__PURE__ */ J.jsx(d, {}) }),
2238
+ Open: b
2237
2239
  };
2238
2240
  }
2239
- a.Create = s;
2240
- function h({
2241
+ n.Create = s;
2242
+ function g({
2241
2243
  title: o,
2242
2244
  children: d,
2243
- button: k,
2245
+ button: b,
2244
2246
  tabs: S,
2245
2247
  size: N = "m",
2246
2248
  className: A = "",
2247
2249
  shake: $ = !0,
2248
2250
  menu: T
2249
2251
  }) {
2250
- const [p, I] = K.useState(!0), q = K.useRef(), Y = (U) => {
2251
- if (k) {
2252
- if (k.onClick)
2253
- return U(!1), k.onClick({ setOpen: I });
2254
- if (k.onSend)
2255
- return k.onSend({
2256
- setOpen: I,
2257
- disabled: U
2252
+ const [p, M] = U.useState(!0), K = U.useRef(), G = (q) => {
2253
+ if (b) {
2254
+ if (b.onClick)
2255
+ return q(!1), b.onClick({ setOpen: M });
2256
+ if (b.onSend)
2257
+ return b.onSend({
2258
+ setOpen: M,
2259
+ disabled: q
2258
2260
  });
2259
2261
  }
2260
2262
  }, L = () => {
2261
- if (!$) return I(!1);
2262
- q.current.setAttribute("shake", !0), setTimeout(() => {
2263
- q.current.setAttribute("shake", !1);
2263
+ if (!$) return M(!1);
2264
+ K.current.setAttribute("shake", !0), setTimeout(() => {
2265
+ K.current.setAttribute("shake", !1);
2264
2266
  }, 1e3);
2265
2267
  };
2266
2268
  return p ? /* @__PURE__ */ J.jsxs("div", { className: `${_e.modal}`, children: [
@@ -2268,18 +2270,18 @@ var xt;
2268
2270
  /* @__PURE__ */ J.jsxs(
2269
2271
  "div",
2270
2272
  {
2271
- className: [_e.w, _e[`s${N}`], A].filter((U) => U != "").join(" "),
2272
- ref: q,
2273
+ className: [_e.w, _e[`s${N}`], A].filter((q) => q != "").join(" "),
2274
+ ref: K,
2273
2275
  children: [
2274
2276
  /* @__PURE__ */ J.jsxs("div", { className: _e.h, children: [
2275
2277
  /* @__PURE__ */ J.jsx("div", { className: _e.t, children: o }),
2276
2278
  /* @__PURE__ */ J.jsxs("div", { className: _e.m, children: [
2277
- S && /* @__PURE__ */ J.jsx("nav", { children: S.map((U, E) => /* @__PURE__ */ J.jsx(
2279
+ S && /* @__PURE__ */ J.jsx("nav", { children: S.map((q, E) => /* @__PURE__ */ J.jsx(
2278
2280
  "span",
2279
2281
  {
2280
- onClick: U.onClick,
2281
- className: U.active ? "active" : "",
2282
- children: U.name
2282
+ onClick: q.onClick,
2283
+ className: q.active ? "active" : "",
2284
+ children: q.name
2283
2285
  },
2284
2286
  E
2285
2287
  )) }),
@@ -2290,7 +2292,7 @@ var xt;
2290
2292
  {
2291
2293
  className: _e.x,
2292
2294
  onClick: () => {
2293
- I(!1);
2295
+ M(!1);
2294
2296
  },
2295
2297
  children: /* @__PURE__ */ J.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ J.jsx(
2296
2298
  "path",
@@ -2306,13 +2308,13 @@ var xt;
2306
2308
  )
2307
2309
  ] }),
2308
2310
  d,
2309
- k && /* @__PURE__ */ J.jsx("div", { className: _e.b, children: /* @__PURE__ */ J.jsx(
2311
+ b && /* @__PURE__ */ J.jsx("div", { className: _e.b, children: /* @__PURE__ */ J.jsx(
2310
2312
  qr,
2311
2313
  {
2312
- label: k.label,
2313
- onSend: Y,
2314
+ label: b.label,
2315
+ onSend: G,
2314
2316
  className: _e.btn,
2315
- size: k.size
2317
+ size: b.size
2316
2318
  }
2317
2319
  ) })
2318
2320
  ]
@@ -2320,11 +2322,11 @@ var xt;
2320
2322
  )
2321
2323
  ] }) : "";
2322
2324
  }
2323
- a.Main = h;
2325
+ n.Main = g;
2324
2326
  })(xt || (xt = {}));
2325
- const Gr = (a, i = ",") => (a = a !== void 0 && a !== "" ? a.split(i) : [], a.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
2326
- function ba({
2327
- value: a,
2327
+ const Gr = (n, i = ",") => (n = n !== void 0 && n !== "" ? n.split(i) : [], n.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
2328
+ function ha({
2329
+ value: n,
2328
2330
  onValue: i,
2329
2331
  name: c,
2330
2332
  placeholder: u = "",
@@ -2333,36 +2335,36 @@ function ba({
2333
2335
  error: O,
2334
2336
  hide: x = !1,
2335
2337
  edit: s = !0,
2336
- active: h = !0,
2338
+ active: g = !0,
2337
2339
  outFormat: o = "object",
2338
2340
  after: d = "",
2339
- modal: k,
2341
+ modal: b,
2340
2342
  options: S,
2341
2343
  className: N
2342
2344
  }) {
2343
- const [A, $] = K.useState(Gr(a, v)), T = (I) => {
2344
- if (!(s && h) || !k) return;
2345
- let q = k.split(".");
2346
- xt.Open(q[0], q[1], {
2347
- callback: (Y) => {
2345
+ const [A, $] = U.useState(Gr(n, v)), T = (p) => {
2346
+ if (!(s && g) || !b) return;
2347
+ let M = b.split(".");
2348
+ xt.Open(M[0], M[1], {
2349
+ callback: (K) => {
2348
2350
  if (i)
2349
2351
  switch (o) {
2350
2352
  case "array":
2351
- i({ value: Object.keys(Y), name: c });
2353
+ i({ value: Object.keys(K), name: c });
2352
2354
  break;
2353
2355
  case "string":
2354
2356
  i({
2355
- value: Object.keys(Y).filter((L) => Y[L]).join(v),
2357
+ value: Object.keys(K).filter((G) => K[G]).join(v),
2356
2358
  name: c
2357
2359
  });
2358
2360
  break;
2359
2361
  default:
2360
- i({ value: Y, name: c });
2362
+ i({ value: K, name: c });
2361
2363
  }
2362
2364
  $(
2363
2365
  Object.fromEntries(
2364
- Object.entries(Y).filter(
2365
- ([L, U]) => U !== !1
2366
+ Object.entries(K).filter(
2367
+ ([G, L]) => L !== !1
2366
2368
  )
2367
2369
  )
2368
2370
  );
@@ -2372,40 +2374,33 @@ function ba({
2372
2374
  name: c,
2373
2375
  value: A
2374
2376
  });
2375
- }, p = {};
2376
- return u && (p.placeholder = u), x ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
2377
- "dl",
2377
+ };
2378
+ return x ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsx(
2379
+ Mt,
2378
2380
  {
2379
- "data-field": "group",
2380
- className: [z.l, N].filter((I) => I !== void 0).join(" "),
2381
- children: [
2382
- C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
2383
- /* @__PURE__ */ f.jsx(
2384
- "dd",
2385
- {
2386
- ...p,
2387
- className: z.f,
2388
- onClick: T,
2389
- edit: (s && h) + "",
2390
- children: Object.keys(A).map((I) => {
2391
- var q;
2392
- return /* @__PURE__ */ f.jsx("div", { children: (q = S[I]) == null ? void 0 : q.label }, I);
2393
- })
2394
- }
2395
- ),
2396
- O && /* @__PURE__ */ f.jsx("em", { children: O })
2397
- ]
2381
+ type: "group",
2382
+ title: C,
2383
+ element_blok: { className: N },
2384
+ element_input: {
2385
+ className: [z.w],
2386
+ props: {
2387
+ onClick: T
2388
+ }
2389
+ },
2390
+ children: Object.keys(A).map((p) => {
2391
+ var M;
2392
+ return /* @__PURE__ */ m.jsx("div", { children: (M = S[p]) == null ? void 0 : M.label }, p);
2393
+ })
2398
2394
  }
2399
2395
  );
2400
2396
  }
2401
- const zr = "_o_1wehm_12", Hr = "_l_1wehm_22", Jr = "_i_1wehm_72", Zr = "_f_1wehm_81", Ct = {
2397
+ const zr = "_o_1wehm_12", Hr = "_l_1wehm_22", Jr = "_f_1wehm_81", Pt = {
2402
2398
  o: zr,
2403
2399
  l: Hr,
2404
- i: Jr,
2405
- f: Zr
2400
+ f: Jr
2406
2401
  };
2407
- function ka({
2408
- title: a,
2402
+ function ba({
2403
+ title: n,
2409
2404
  error: i,
2410
2405
  edit: c = !0,
2411
2406
  active: u = !0,
@@ -2414,79 +2409,56 @@ function ka({
2414
2409
  onValue: O,
2415
2410
  options: x,
2416
2411
  placeholder: s = "",
2417
- className: h,
2412
+ className: g,
2418
2413
  isIcon: o = !0,
2419
2414
  name: d,
2420
- after: k,
2415
+ after: b,
2421
2416
  view: S,
2422
2417
  order: N,
2423
2418
  isReload: A = !1
2424
2419
  }) {
2425
- var R, g;
2426
- const $ = K.useRef(null), [T, p] = K.useState(C), [I, q] = K.useState(x), [Y, L] = K.useState(!1);
2427
- K.useEffect(() => {
2428
- p(C), q(x);
2429
- }, [C, x]), v = !!(v && (C === 0 || ((R = I == null ? void 0 : I[C]) == null ? void 0 : R.n) === void 0)) && !(c && u);
2430
- let E = (b) => {
2431
- p(b), O && O({ value: b, name: d, reload: A });
2432
- }, W = { onClick: (b) => {
2433
- Object.keys(I || {}).length !== 0 && c && u && ($.position = b.target.getBoundingClientRect(), L(!0));
2434
- } };
2435
- return s && (W.placeholder = s), k && (W.after = k), c && u && (W.edit = ""), v ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
2436
- /* @__PURE__ */ f.jsxs(
2437
- "dl",
2438
- {
2439
- "data-field": "select",
2440
- className: [z.l, h].filter((b) => b !== void 0).join(" "),
2441
- children: [
2442
- a && /* @__PURE__ */ f.jsx("dt", { className: z.t, children: a }),
2443
- /* @__PURE__ */ f.jsx(
2444
- "dd",
2445
- {
2446
- ...W,
2447
- className: [z.f, Ct.f].join(" "),
2448
- ref: $,
2449
- children: (g = I == null ? void 0 : I[T]) == null ? void 0 : g.n
2450
- }
2451
- ),
2452
- Object.keys(I || {}).length !== 0 && o && /* @__PURE__ */ f.jsx(
2453
- "svg",
2420
+ var D, W;
2421
+ const $ = U.useRef(null), [T, p] = U.useState(C), [M, K] = U.useState(x), [G, L] = U.useState(!1);
2422
+ U.useEffect(() => {
2423
+ p(C), K(x);
2424
+ }, [C, x]), v = !!(v && (C === 0 || ((D = M == null ? void 0 : M[C]) == null ? void 0 : D.n) === void 0)) && !(c && u);
2425
+ let E = (R) => {
2426
+ p(R), O && O({ value: R, name: d, reload: A });
2427
+ };
2428
+ return v ? "" : /* @__PURE__ */ m.jsxs(
2429
+ Mt,
2430
+ {
2431
+ type: "select",
2432
+ title: n,
2433
+ element_blok: { className: g },
2434
+ element_input: {
2435
+ className: [Pt.f],
2436
+ ref: $
2437
+ },
2438
+ children: [
2439
+ /* @__PURE__ */ m.jsx("div", { children: (W = M == null ? void 0 : M[T]) == null ? void 0 : W.n }),
2440
+ G && It(
2441
+ /* @__PURE__ */ m.jsx(
2442
+ Zr,
2454
2443
  {
2455
- className: Ct.i,
2456
- fill: "none",
2457
- stroke: "currentColor",
2458
- strokeLinecap: "round",
2459
- strokeLinejoin: "round",
2460
- strokeWidth: "1",
2461
- viewBox: "0 0 24 24",
2462
- xmlns: "http://www.w3.org/2000/svg",
2463
- children: /* @__PURE__ */ f.jsx("path", { d: "m5.25 8.625 6.75 6.75 6.75-6.75" })
2464
- }
2444
+ parent: $.position,
2445
+ onValue: E,
2446
+ view: S,
2447
+ className: g,
2448
+ options: M,
2449
+ order: N,
2450
+ setOpen: L
2451
+ },
2452
+ (/* @__PURE__ */ new Date()).getTime()
2465
2453
  ),
2466
- i && /* @__PURE__ */ f.jsx("em", { children: i })
2467
- ]
2468
- }
2469
- ),
2470
- Y && It(
2471
- /* @__PURE__ */ f.jsx(
2472
- Vr,
2473
- {
2474
- parent: $.position,
2475
- onValue: E,
2476
- view: S,
2477
- className: h,
2478
- options: I,
2479
- order: N,
2480
- setOpen: L
2481
- },
2482
- (/* @__PURE__ */ new Date()).getTime()
2483
- ),
2484
- document.body
2485
- )
2486
- ] });
2454
+ document.body
2455
+ )
2456
+ ]
2457
+ }
2458
+ );
2487
2459
  }
2488
- const Vr = ({
2489
- onValue: a,
2460
+ const Zr = ({
2461
+ onValue: n,
2490
2462
  parent: i,
2491
2463
  className: c,
2492
2464
  options: u,
@@ -2496,32 +2468,32 @@ const Vr = ({
2496
2468
  let O = () => {
2497
2469
  C(!1);
2498
2470
  }, x = (o) => {
2499
- C(!1), a(o);
2500
- }, s = window.innerHeight - i.y + i.height < 320 ? i.y - 312 : i.y + 33, h = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
2501
- return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
2502
- /* @__PURE__ */ f.jsx(
2471
+ C(!1), n(o);
2472
+ }, s = window.innerHeight - i.y + i.height < 320 ? i.y - 312 : i.y + 33, g = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
2473
+ return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
2474
+ /* @__PURE__ */ m.jsx(
2503
2475
  "div",
2504
2476
  {
2505
- className: Ct.o,
2477
+ className: Pt.o,
2506
2478
  onClick: O
2507
2479
  },
2508
2480
  (/* @__PURE__ */ new Date()).getTime()
2509
2481
  ),
2510
- /* @__PURE__ */ f.jsx(
2482
+ /* @__PURE__ */ m.jsx(
2511
2483
  "div",
2512
2484
  {
2513
- className: [Ct.l, c].filter((o) => o !== void 0).join(" "),
2485
+ className: [Pt.l, c].filter((o) => o !== void 0).join(" "),
2514
2486
  style: {
2515
2487
  top: s + "px",
2516
- left: h + "px",
2488
+ left: g + "px",
2517
2489
  width: i.width
2518
2490
  },
2519
- children: /* @__PURE__ */ f.jsx(Xr, { order: v, options: u, link: x })
2491
+ children: /* @__PURE__ */ m.jsx(Vr, { order: v, options: u, link: x })
2520
2492
  }
2521
2493
  )
2522
2494
  ] });
2523
- }, Xr = ({ order: a, options: i, link: c }) => a ? /* @__PURE__ */ f.jsx("ul", { children: a.map(
2524
- (u, v) => i[u].s !== 0 ? /* @__PURE__ */ f.jsx(
2495
+ }, Vr = ({ order: n, options: i, link: c }) => n ? /* @__PURE__ */ m.jsx("ul", { children: n.map(
2496
+ (u, v) => i[u].s !== 0 ? /* @__PURE__ */ m.jsx(
2525
2497
  "li",
2526
2498
  {
2527
2499
  onClick: () => {
@@ -2531,8 +2503,8 @@ const Vr = ({
2531
2503
  },
2532
2504
  v
2533
2505
  ) : ""
2534
- ) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(i).map(
2535
- (u, v) => i[u].s !== 0 ? /* @__PURE__ */ f.jsx(
2506
+ ) }) : /* @__PURE__ */ m.jsx("ul", { children: Object.keys(i).map(
2507
+ (u, v) => i[u].s !== 0 ? /* @__PURE__ */ m.jsx(
2536
2508
  "li",
2537
2509
  {
2538
2510
  onClick: () => {
@@ -2543,8 +2515,8 @@ const Vr = ({
2543
2515
  v
2544
2516
  ) : ""
2545
2517
  ) });
2546
- function wa({
2547
- value: a,
2518
+ function ka({
2519
+ value: n,
2548
2520
  onValue: i,
2549
2521
  name: c,
2550
2522
  placeholder: u = "",
@@ -2553,47 +2525,47 @@ function wa({
2553
2525
  hide: O = !1,
2554
2526
  edit: x = !0,
2555
2527
  show: s = !0,
2556
- active: h = !0,
2528
+ active: g = !0,
2557
2529
  after: o = "",
2558
2530
  view: d,
2559
- modal: k,
2531
+ modal: b,
2560
2532
  module: S,
2561
2533
  options: N,
2562
2534
  className: A
2563
2535
  }) {
2564
- let [$, T] = K.useState(a), p = (Y) => {
2565
- if (!(x && h) || !k) return;
2566
- let L = k.split(".");
2536
+ let [$, T] = U.useState(n), p = (G) => {
2537
+ if (!(x && g) || !b) return;
2538
+ let L = b.split(".");
2567
2539
  xt.Open(L[0], L[1], {
2568
- callback: (U) => {
2569
- i && i({ value: U, name: c }), T(U);
2540
+ callback: (q) => {
2541
+ i && i({ value: q, name: c }), T(q);
2570
2542
  },
2571
2543
  onValue: i,
2572
2544
  options: N,
2573
2545
  name: c,
2574
- value: a
2546
+ value: n
2575
2547
  });
2576
2548
  };
2577
- const I = {};
2578
- I.field = "input", A && (I.className = A);
2579
- const q = {};
2580
- return u && (q.placeholder = u), O ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs("dl", { ...I, children: [
2581
- v && /* @__PURE__ */ f.jsx("dt", { children: v }),
2582
- /* @__PURE__ */ f.jsx(
2549
+ const M = {};
2550
+ M.field = "input", A && (M.className = A);
2551
+ const K = {};
2552
+ return u && (K.placeholder = u), O ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs("dl", { ...M, children: [
2553
+ v && /* @__PURE__ */ m.jsx("dt", { children: v }),
2554
+ /* @__PURE__ */ m.jsx(
2583
2555
  "dd",
2584
2556
  {
2585
- ...q,
2557
+ ...K,
2586
2558
  onClick: p,
2587
- edit: (x && h) + "",
2559
+ edit: (x && g) + "",
2588
2560
  "data-after": o,
2589
2561
  children: $
2590
2562
  }
2591
2563
  ),
2592
- C && /* @__PURE__ */ f.jsx("em", { children: C })
2564
+ C && /* @__PURE__ */ m.jsx("em", { children: C })
2593
2565
  ] });
2594
2566
  }
2595
- function ja({
2596
- value: a,
2567
+ function wa({
2568
+ value: n,
2597
2569
  onValue: i,
2598
2570
  onSave: c,
2599
2571
  name: u,
@@ -2602,65 +2574,65 @@ function ja({
2602
2574
  title: O,
2603
2575
  error: x,
2604
2576
  edit: s = !0,
2605
- active: h = !0,
2577
+ active: g = !0,
2606
2578
  reload: o = !1,
2607
2579
  native: d = !1,
2608
- isShow: k = !1,
2580
+ isShow: b = !1,
2609
2581
  maxLength: S,
2610
2582
  eyes: N = [],
2611
2583
  after: A = ""
2612
2584
  }) {
2613
- const [$, T] = K.useState(k);
2585
+ const [$, T] = U.useState(b);
2614
2586
  let p = (E) => {
2615
2587
  i && i({
2616
2588
  value: E.target.textContent,
2617
2589
  name: u,
2618
2590
  reload: o
2619
2591
  });
2620
- }, I = (E) => {
2592
+ }, M = (E) => {
2621
2593
  E.key === "Enter" && E.preventDefault();
2622
- }, q = (E) => {
2623
- E.preventDefault(), navigator.clipboard.readText().then((P) => {
2594
+ }, K = (E) => {
2595
+ E.preventDefault(), navigator.clipboard.readText().then((D) => {
2624
2596
  if (S) {
2625
2597
  let W = E.target.textContent.length;
2626
2598
  if (W >= S) return;
2627
- S -= W, P = P.slice(0, S);
2599
+ S -= W, D = D.slice(0, S);
2628
2600
  }
2629
2601
  window.document.execCommand(
2630
2602
  "insertText",
2631
2603
  !1,
2632
- P.replace(/(\r\n|\n|\r)/gm, " ")
2604
+ D.replace(/(\r\n|\n|\r)/gm, " ")
2633
2605
  );
2634
- }).catch((P) => {
2606
+ }).catch((D) => {
2635
2607
  });
2636
- }, Y = (E) => {
2608
+ }, G = (E) => {
2637
2609
  te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
2638
2610
  };
2639
2611
  const L = {};
2640
2612
  L.field = "password", $ && (L.show = ""), C && (L.className = C);
2641
- const U = {};
2642
- return v && (U.placeholder = v), d ? "" : /* @__PURE__ */ f.jsxs("dl", { ...L, children: [
2643
- O ? /* @__PURE__ */ f.jsx("dt", { children: O }) : "",
2644
- /* @__PURE__ */ f.jsx(
2613
+ const q = {};
2614
+ return v && (q.placeholder = v), d ? "" : /* @__PURE__ */ m.jsxs("dl", { ...L, children: [
2615
+ O ? /* @__PURE__ */ m.jsx("dt", { children: O }) : "",
2616
+ /* @__PURE__ */ m.jsx(
2645
2617
  "dd",
2646
2618
  {
2647
- onPaste: q,
2619
+ onPaste: K,
2648
2620
  onInput: p,
2649
- onKeyDown: I,
2650
- onBlur: Y,
2651
- contentEditable: s && h ? te.ContentEditable : "false",
2652
- ...U,
2621
+ onKeyDown: M,
2622
+ onBlur: G,
2623
+ contentEditable: s && g ? te.ContentEditable : "false",
2624
+ ...q,
2653
2625
  suppressContentEditableWarning: !0,
2654
- children: a
2626
+ children: n
2655
2627
  }
2656
2628
  ),
2657
- N[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => T(!$), children: $ ? N[1] : N[0] }),
2629
+ N[0] && /* @__PURE__ */ m.jsx("i", { onClick: () => T(!$), children: $ ? N[1] : N[0] }),
2658
2630
  A,
2659
- x ? /* @__PURE__ */ f.jsx("em", { children: x }) : ""
2631
+ x ? /* @__PURE__ */ m.jsx("em", { children: x }) : ""
2660
2632
  ] });
2661
2633
  }
2662
- function xa({
2663
- onValue: a,
2634
+ function ja({
2635
+ onValue: n,
2664
2636
  onSave: i,
2665
2637
  active: c,
2666
2638
  max: u,
@@ -2669,64 +2641,64 @@ function xa({
2669
2641
  error: O,
2670
2642
  show: x,
2671
2643
  hide: s,
2672
- value: h,
2644
+ value: g,
2673
2645
  placeholder: o,
2674
2646
  className: d,
2675
- maxLength: k,
2647
+ maxLength: b,
2676
2648
  name: S,
2677
2649
  after: N = "",
2678
2650
  before: A = "",
2679
2651
  view: $
2680
2652
  }) {
2681
- v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (h === "" || h === void 0)) && !(v && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
2682
- let p = !1, I = (P) => {
2683
- a == null || a({ value: P.target.textContent, name: S });
2684
- }, q = (P) => {
2685
- if (!(p && P.which === 86)) {
2686
- if (P.which === 17 || P.which === 91) return p = !0;
2687
- P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
2688
- }
2689
- }, Y = (P) => {
2690
- if (P.which === 17 || P.which === 91) return p = !1;
2691
- }, L = (P) => {
2692
- P.preventDefault(), navigator.clipboard.readText().then((W) => {
2693
- if (W = W.replace(/(?!^\+|\d)./g, ""), k) {
2694
- let R = P.target.textContent.length;
2695
- if (R >= k) return;
2696
- k -= R, W = W.slice(0, k);
2653
+ v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (g === "" || g === void 0)) && !(v && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
2654
+ let p = !1, M = (D) => {
2655
+ n == null || n({ value: D.target.textContent, name: S });
2656
+ }, K = (D) => {
2657
+ if (!(p && D.which === 86)) {
2658
+ if (D.which === 17 || D.which === 91) return p = !0;
2659
+ D.key !== "Backspace" && (D.target.textContent.length === u && D.preventDefault(), D.key === "Enter" && D.preventDefault(), isNaN(D.key) && D.preventDefault());
2660
+ }
2661
+ }, G = (D) => {
2662
+ if (D.which === 17 || D.which === 91) return p = !1;
2663
+ }, L = (D) => {
2664
+ D.preventDefault(), navigator.clipboard.readText().then((W) => {
2665
+ if (W = W.replace(/(?!^\+|\d)./g, ""), b) {
2666
+ let R = D.target.textContent.length;
2667
+ if (R >= b) return;
2668
+ b -= R, W = W.slice(0, b);
2697
2669
  }
2698
2670
  window.document.execCommand("insertText", !1, "" + W);
2699
2671
  }).catch((W) => {
2700
2672
  });
2701
2673
  };
2702
- const U = (P) => {
2703
- te.Blur(P), i == null || i({ value: P.target.textContent, name: S });
2674
+ const q = (D) => {
2675
+ te.Blur(D), i == null || i({ value: D.target.textContent, name: S });
2704
2676
  };
2705
2677
  let E = {};
2706
- return v && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
2678
+ return v && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs(
2707
2679
  "dl",
2708
2680
  {
2709
2681
  "data-field": "input",
2710
- className: [z.l, d].filter((P) => P !== void 0).join(" "),
2682
+ className: [z.l, d].filter((D) => D !== void 0).join(" "),
2711
2683
  children: [
2712
- C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
2684
+ C ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: C }) : "",
2713
2685
  A,
2714
- /* @__PURE__ */ f.jsx(
2686
+ /* @__PURE__ */ m.jsx(
2715
2687
  "dd",
2716
2688
  {
2717
2689
  className: [z.f, z.w].join(" "),
2718
2690
  onPaste: L,
2719
- onInput: I,
2720
- onBlur: U,
2721
- onKeyDown: q,
2722
- onKeyUp: Y,
2691
+ onInput: M,
2692
+ onBlur: q,
2693
+ onKeyDown: K,
2694
+ onKeyUp: G,
2723
2695
  suppressContentEditableWarning: !0,
2724
2696
  ...E,
2725
- children: h
2697
+ children: g
2726
2698
  }
2727
2699
  ),
2728
2700
  N,
2729
- O && /* @__PURE__ */ f.jsx("em", { children: O })
2701
+ O && /* @__PURE__ */ m.jsx("em", { children: O })
2730
2702
  ]
2731
2703
  }
2732
2704
  );
@@ -2741,17 +2713,17 @@ var Nt = { exports: {} }, gt = {};
2741
2713
  * This source code is licensed under the MIT license found in the
2742
2714
  * LICENSE file in the root directory of this source tree.
2743
2715
  */
2744
- var Kt;
2745
- function Qr() {
2746
- if (Kt) return gt;
2747
- Kt = 1;
2748
- var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
2749
- function O(x, s, h) {
2750
- var o, d = {}, k = null, S = null;
2751
- h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
2716
+ var qt;
2717
+ function Xr() {
2718
+ if (qt) return gt;
2719
+ qt = 1;
2720
+ var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
2721
+ function O(x, s, g) {
2722
+ var o, d = {}, b = null, S = null;
2723
+ g !== void 0 && (b = "" + g), s.key !== void 0 && (b = "" + s.key), s.ref !== void 0 && (S = s.ref);
2752
2724
  for (o in s) u.call(s, o) && !C.hasOwnProperty(o) && (d[o] = s[o]);
2753
2725
  if (x && x.defaultProps) for (o in s = x.defaultProps, s) d[o] === void 0 && (d[o] = s[o]);
2754
- return { $$typeof: i, type: x, key: k, ref: S, props: d, _owner: v.current };
2726
+ return { $$typeof: i, type: x, key: b, ref: S, props: d, _owner: v.current };
2755
2727
  }
2756
2728
  return gt.Fragment = c, gt.jsx = O, gt.jsxs = O, gt;
2757
2729
  }
@@ -2765,54 +2737,54 @@ var jt = {};
2765
2737
  * This source code is licensed under the MIT license found in the
2766
2738
  * LICENSE file in the root directory of this source tree.
2767
2739
  */
2768
- var qt;
2769
- function ea() {
2770
- return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
2771
- var a = K, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
2740
+ var Yt;
2741
+ function Qr() {
2742
+ return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
2743
+ var n = U, i = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, A = "@@iterator";
2772
2744
  function $(e) {
2773
2745
  if (e === null || typeof e != "object")
2774
2746
  return null;
2775
2747
  var t = N && e[N] || e[A];
2776
2748
  return typeof t == "function" ? t : null;
2777
2749
  }
2778
- var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2750
+ var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2779
2751
  function p(e) {
2780
2752
  {
2781
- for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
2782
- r[n - 1] = arguments[n];
2783
- I("error", e, r);
2753
+ for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
2754
+ r[a - 1] = arguments[a];
2755
+ M("error", e, r);
2784
2756
  }
2785
2757
  }
2786
- function I(e, t, r) {
2758
+ function M(e, t, r) {
2787
2759
  {
2788
- var n = T.ReactDebugCurrentFrame, m = n.getStackAddendum();
2789
- m !== "" && (t += "%s", r = r.concat([m]));
2760
+ var a = T.ReactDebugCurrentFrame, f = a.getStackAddendum();
2761
+ f !== "" && (t += "%s", r = r.concat([f]));
2790
2762
  var y = r.map(function(l) {
2791
2763
  return String(l);
2792
2764
  });
2793
2765
  y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
2794
2766
  }
2795
2767
  }
2796
- var q = !1, Y = !1, L = !1, U = !1, E = !1, P;
2797
- P = Symbol.for("react.module.reference");
2768
+ var K = !1, G = !1, L = !1, q = !1, E = !1, D;
2769
+ D = Symbol.for("react.module.reference");
2798
2770
  function W(e) {
2799
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === h || e === o || U || e === S || q || Y || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
2771
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === v || e === g || e === o || q || e === S || K || G || L || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
2800
2772
  // types supported by any Flight configuration anywhere since
2801
2773
  // we don't know which Flight build this will end up being used
2802
2774
  // with.
2803
- e.$$typeof === P || e.getModuleId !== void 0));
2775
+ e.$$typeof === D || e.getModuleId !== void 0));
2804
2776
  }
2805
2777
  function R(e, t, r) {
2806
- var n = e.displayName;
2807
- if (n)
2808
- return n;
2809
- var m = t.displayName || t.name || "";
2810
- return m !== "" ? r + "(" + m + ")" : r;
2778
+ var a = e.displayName;
2779
+ if (a)
2780
+ return a;
2781
+ var f = t.displayName || t.name || "";
2782
+ return f !== "" ? r + "(" + f + ")" : r;
2811
2783
  }
2812
- function g(e) {
2784
+ function h(e) {
2813
2785
  return e.displayName || "Context";
2814
2786
  }
2815
- function b(e) {
2787
+ function k(e) {
2816
2788
  if (e == null)
2817
2789
  return null;
2818
2790
  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")
@@ -2828,7 +2800,7 @@ function ea() {
2828
2800
  return "Profiler";
2829
2801
  case v:
2830
2802
  return "StrictMode";
2831
- case h:
2803
+ case g:
2832
2804
  return "Suspense";
2833
2805
  case o:
2834
2806
  return "SuspenseList";
@@ -2837,19 +2809,19 @@ function ea() {
2837
2809
  switch (e.$$typeof) {
2838
2810
  case x:
2839
2811
  var t = e;
2840
- return g(t) + ".Consumer";
2812
+ return h(t) + ".Consumer";
2841
2813
  case O:
2842
2814
  var r = e;
2843
- return g(r._context) + ".Provider";
2815
+ return h(r._context) + ".Provider";
2844
2816
  case s:
2845
2817
  return R(e, e.render, "ForwardRef");
2846
2818
  case d:
2847
- var n = e.displayName || null;
2848
- return n !== null ? n : b(e.type) || "Memo";
2849
- case k: {
2850
- var m = e, y = m._payload, l = m._init;
2819
+ var a = e.displayName || null;
2820
+ return a !== null ? a : k(e.type) || "Memo";
2821
+ case b: {
2822
+ var f = e, y = f._payload, l = f._init;
2851
2823
  try {
2852
- return b(l(y));
2824
+ return k(l(y));
2853
2825
  } catch {
2854
2826
  return null;
2855
2827
  }
@@ -2857,13 +2829,13 @@ function ea() {
2857
2829
  }
2858
2830
  return null;
2859
2831
  }
2860
- var M = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
2832
+ var I = Object.assign, Y = 0, Q, ie, se, ve, ge, be, ke;
2861
2833
  function we() {
2862
2834
  }
2863
2835
  we.__reactDisabledLog = !0;
2864
2836
  function Le() {
2865
2837
  {
2866
- if (G === 0) {
2838
+ if (Y === 0) {
2867
2839
  Q = console.log, ie = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
2868
2840
  var e = {
2869
2841
  configurable: !0,
@@ -2881,42 +2853,42 @@ function ea() {
2881
2853
  groupEnd: e
2882
2854
  });
2883
2855
  }
2884
- G++;
2856
+ Y++;
2885
2857
  }
2886
2858
  }
2887
2859
  function We() {
2888
2860
  {
2889
- if (G--, G === 0) {
2861
+ if (Y--, Y === 0) {
2890
2862
  var e = {
2891
2863
  configurable: !0,
2892
2864
  enumerable: !0,
2893
2865
  writable: !0
2894
2866
  };
2895
2867
  Object.defineProperties(console, {
2896
- log: M({}, e, {
2868
+ log: I({}, e, {
2897
2869
  value: Q
2898
2870
  }),
2899
- info: M({}, e, {
2871
+ info: I({}, e, {
2900
2872
  value: ie
2901
2873
  }),
2902
- warn: M({}, e, {
2874
+ warn: I({}, e, {
2903
2875
  value: se
2904
2876
  }),
2905
- error: M({}, e, {
2877
+ error: I({}, e, {
2906
2878
  value: ve
2907
2879
  }),
2908
- group: M({}, e, {
2880
+ group: I({}, e, {
2909
2881
  value: ge
2910
2882
  }),
2911
- groupCollapsed: M({}, e, {
2883
+ groupCollapsed: I({}, e, {
2912
2884
  value: be
2913
2885
  }),
2914
- groupEnd: M({}, e, {
2886
+ groupEnd: I({}, e, {
2915
2887
  value: ke
2916
2888
  })
2917
2889
  });
2918
2890
  }
2919
- G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
2891
+ Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
2920
2892
  }
2921
2893
  }
2922
2894
  var le = T.ReactCurrentDispatcher, ce;
@@ -2925,9 +2897,9 @@ function ea() {
2925
2897
  if (ce === void 0)
2926
2898
  try {
2927
2899
  throw Error();
2928
- } catch (m) {
2929
- var n = m.stack.trim().match(/\n( *(at )?)/);
2930
- ce = n && n[1] || "";
2900
+ } catch (f) {
2901
+ var a = f.stack.trim().match(/\n( *(at )?)/);
2902
+ ce = a && a[1] || "";
2931
2903
  }
2932
2904
  return `
2933
2905
  ` + ce + e;
@@ -2946,9 +2918,9 @@ function ea() {
2946
2918
  if (r !== void 0)
2947
2919
  return r;
2948
2920
  }
2949
- var n;
2921
+ var a;
2950
2922
  ue = !0;
2951
- var m = Error.prepareStackTrace;
2923
+ var f = Error.prepareStackTrace;
2952
2924
  Error.prepareStackTrace = void 0;
2953
2925
  var y;
2954
2926
  y = le.current, le.current = null, Le();
@@ -2965,14 +2937,14 @@ function ea() {
2965
2937
  try {
2966
2938
  Reflect.construct(l, []);
2967
2939
  } catch (F) {
2968
- n = F;
2940
+ a = F;
2969
2941
  }
2970
2942
  Reflect.construct(e, [], l);
2971
2943
  } else {
2972
2944
  try {
2973
2945
  l.call();
2974
2946
  } catch (F) {
2975
- n = F;
2947
+ a = F;
2976
2948
  }
2977
2949
  e.call(l.prototype);
2978
2950
  }
@@ -2980,21 +2952,21 @@ function ea() {
2980
2952
  try {
2981
2953
  throw Error();
2982
2954
  } catch (F) {
2983
- n = F;
2955
+ a = F;
2984
2956
  }
2985
2957
  e();
2986
2958
  }
2987
2959
  } catch (F) {
2988
- if (F && n && typeof F.stack == "string") {
2960
+ if (F && a && typeof F.stack == "string") {
2989
2961
  for (var _ = F.stack.split(`
2990
- `), D = n.stack.split(`
2991
- `), w = _.length - 1, j = D.length - 1; w >= 1 && j >= 0 && _[w] !== D[j]; )
2962
+ `), P = a.stack.split(`
2963
+ `), w = _.length - 1, j = P.length - 1; w >= 1 && j >= 0 && _[w] !== P[j]; )
2992
2964
  j--;
2993
2965
  for (; w >= 1 && j >= 0; w--, j--)
2994
- if (_[w] !== D[j]) {
2966
+ if (_[w] !== P[j]) {
2995
2967
  if (w !== 1 || j !== 1)
2996
2968
  do
2997
- if (w--, j--, j < 0 || _[w] !== D[j]) {
2969
+ if (w--, j--, j < 0 || _[w] !== P[j]) {
2998
2970
  var B = `
2999
2971
  ` + _[w].replace(" at new ", " at ");
3000
2972
  return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, B), B;
@@ -3004,7 +2976,7 @@ function ea() {
3004
2976
  }
3005
2977
  }
3006
2978
  } finally {
3007
- ue = !1, le.current = y, We(), Error.prepareStackTrace = m;
2979
+ ue = !1, le.current = y, We(), Error.prepareStackTrace = f;
3008
2980
  }
3009
2981
  var V = e ? e.displayName || e.name : "", H = V ? re(V) : "";
3010
2982
  return typeof e == "function" && ae.set(e, H), H;
@@ -3024,7 +2996,7 @@ function ea() {
3024
2996
  if (typeof e == "string")
3025
2997
  return re(e);
3026
2998
  switch (e) {
3027
- case h:
2999
+ case g:
3028
3000
  return re("Suspense");
3029
3001
  case o:
3030
3002
  return re("SuspenseList");
@@ -3035,10 +3007,10 @@ function ea() {
3035
3007
  return Ke(e.render);
3036
3008
  case d:
3037
3009
  return ne(e.type, t, r);
3038
- case k: {
3039
- var n = e, m = n._payload, y = n._init;
3010
+ case b: {
3011
+ var a = e, f = a._payload, y = a._init;
3040
3012
  try {
3041
- return ne(y(m), t, r);
3013
+ return ne(y(f), t, r);
3042
3014
  } catch {
3043
3015
  }
3044
3016
  }
@@ -3053,7 +3025,7 @@ function ea() {
3053
3025
  } else
3054
3026
  Ce.setExtraStackFrame(null);
3055
3027
  }
3056
- function Ye(e, t, r, n, m) {
3028
+ function Ye(e, t, r, a, f) {
3057
3029
  {
3058
3030
  var y = Function.call.bind(X);
3059
3031
  for (var l in e)
@@ -3061,14 +3033,14 @@ function ea() {
3061
3033
  var _ = void 0;
3062
3034
  try {
3063
3035
  if (typeof e[l] != "function") {
3064
- var D = Error((n || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3065
- throw D.name = "Invariant Violation", D;
3036
+ var P = Error((a || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3037
+ throw P.name = "Invariant Violation", P;
3066
3038
  }
3067
- _ = e[l](t, l, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3039
+ _ = e[l](t, l, a, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3068
3040
  } catch (w) {
3069
3041
  _ = w;
3070
3042
  }
3071
- _ && !(_ instanceof Error) && (oe(m), 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).", n || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(m), p("Failed %s type: %s", r, _.message), oe(null));
3043
+ _ && !(_ instanceof Error) && (oe(f), 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).", a || "React class", r, l, typeof _), oe(null)), _ instanceof Error && !(_.message in xe) && (xe[_.message] = !0, oe(f), p("Failed %s type: %s", r, _.message), oe(null));
3072
3044
  }
3073
3045
  }
3074
3046
  }
@@ -3143,7 +3115,7 @@ function ea() {
3143
3115
  });
3144
3116
  }
3145
3117
  }
3146
- var tt = function(e, t, r, n, m, y, l) {
3118
+ var tt = function(e, t, r, a, f, y, l) {
3147
3119
  var _ = {
3148
3120
  // This tag allows us to uniquely identify this as a React Element
3149
3121
  $$typeof: i,
@@ -3164,18 +3136,18 @@ function ea() {
3164
3136
  configurable: !1,
3165
3137
  enumerable: !1,
3166
3138
  writable: !1,
3167
- value: n
3139
+ value: a
3168
3140
  }), Object.defineProperty(_, "_source", {
3169
3141
  configurable: !1,
3170
3142
  enumerable: !1,
3171
3143
  writable: !1,
3172
- value: m
3144
+ value: f
3173
3145
  }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
3174
3146
  };
3175
- function rt(e, t, r, n, m) {
3147
+ function rt(e, t, r, a, f) {
3176
3148
  {
3177
- var y, l = {}, _ = null, D = null;
3178
- r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (D = t.ref, Xe(t));
3149
+ var y, l = {}, _ = null, P = null;
3150
+ r !== void 0 && (Re(r), _ = "" + r), Ve(t) && (Re(t.key), _ = "" + t.key), Ze(t) && (P = t.ref, Xe(t));
3179
3151
  for (y in t)
3180
3152
  X.call(t, y) && !Je.hasOwnProperty(y) && (l[y] = t[y]);
3181
3153
  if (e && e.defaultProps) {
@@ -3183,11 +3155,11 @@ function ea() {
3183
3155
  for (y in w)
3184
3156
  l[y] === void 0 && (l[y] = w[y]);
3185
3157
  }
3186
- if (_ || D) {
3158
+ if (_ || P) {
3187
3159
  var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
3188
- _ && Qe(l, j), D && et(l, j);
3160
+ _ && Qe(l, j), P && et(l, j);
3189
3161
  }
3190
- return tt(e, _, D, m, n, Ee.current, l);
3162
+ return tt(e, _, P, f, a, Ee.current, l);
3191
3163
  }
3192
3164
  }
3193
3165
  var fe = T.ReactCurrentOwner, De = T.ReactDebugCurrentFrame;
@@ -3198,15 +3170,15 @@ function ea() {
3198
3170
  } else
3199
3171
  De.setExtraStackFrame(null);
3200
3172
  }
3201
- var me;
3202
- me = !1;
3203
- function pe(e) {
3173
+ var pe;
3174
+ pe = !1;
3175
+ function me(e) {
3204
3176
  return typeof e == "object" && e !== null && e.$$typeof === i;
3205
3177
  }
3206
3178
  function Pe() {
3207
3179
  {
3208
3180
  if (fe.current) {
3209
- var e = b(fe.current.type);
3181
+ var e = k(fe.current.type);
3210
3182
  if (e)
3211
3183
  return `
3212
3184
 
@@ -3240,8 +3212,8 @@ Check the top-level render call using <` + r + ">.");
3240
3212
  if (Ne[r])
3241
3213
  return;
3242
3214
  Ne[r] = !0;
3243
- var n = "";
3244
- e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), Z(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, n), Z(null);
3215
+ var a = "";
3216
+ e && e._owner && e._owner !== fe.current && (a = " It was passed a child from " + k(e._owner.type) + "."), Z(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, a), Z(null);
3245
3217
  }
3246
3218
  }
3247
3219
  function Ie(e, t) {
@@ -3250,16 +3222,16 @@ Check the top-level render call using <` + r + ">.");
3250
3222
  return;
3251
3223
  if (de(e))
3252
3224
  for (var r = 0; r < e.length; r++) {
3253
- var n = e[r];
3254
- pe(n) && Fe(n, t);
3225
+ var a = e[r];
3226
+ me(a) && Fe(a, t);
3255
3227
  }
3256
- else if (pe(e))
3228
+ else if (me(e))
3257
3229
  e._store && (e._store.validated = !0);
3258
3230
  else if (e) {
3259
- var m = $(e);
3260
- if (typeof m == "function" && m !== e.entries)
3261
- for (var y = m.call(e), l; !(l = y.next()).done; )
3262
- pe(l.value) && Fe(l.value, t);
3231
+ var f = $(e);
3232
+ if (typeof f == "function" && f !== e.entries)
3233
+ for (var y = f.call(e), l; !(l = y.next()).done; )
3234
+ me(l.value) && Fe(l.value, t);
3263
3235
  }
3264
3236
  }
3265
3237
  }
@@ -3278,12 +3250,12 @@ Check the top-level render call using <` + r + ">.");
3278
3250
  else
3279
3251
  return;
3280
3252
  if (r) {
3281
- var n = b(t);
3282
- Ye(r, e.props, "prop", n, e);
3283
- } else if (t.PropTypes !== void 0 && !me) {
3284
- me = !0;
3285
- var m = b(t);
3286
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
3253
+ var a = k(t);
3254
+ Ye(r, e.props, "prop", a, e);
3255
+ } else if (t.PropTypes !== void 0 && !pe) {
3256
+ pe = !0;
3257
+ var f = k(t);
3258
+ p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
3287
3259
  }
3288
3260
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
3289
3261
  }
@@ -3291,9 +3263,9 @@ Check the top-level render call using <` + r + ">.");
3291
3263
  function it(e) {
3292
3264
  {
3293
3265
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
3294
- var n = t[r];
3295
- if (n !== "children" && n !== "key") {
3296
- Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), Z(null);
3266
+ var a = t[r];
3267
+ if (a !== "children" && a !== "key") {
3268
+ Z(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Z(null);
3297
3269
  break;
3298
3270
  }
3299
3271
  }
@@ -3301,24 +3273,24 @@ Check the top-level render call using <` + r + ">.");
3301
3273
  }
3302
3274
  }
3303
3275
  var Me = {};
3304
- function $e(e, t, r, n, m, y) {
3276
+ function $e(e, t, r, a, f, y) {
3305
3277
  {
3306
3278
  var l = W(e);
3307
3279
  if (!l) {
3308
3280
  var _ = "";
3309
3281
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
3310
- var D = at();
3311
- D ? _ += D : _ += Pe();
3282
+ var P = at();
3283
+ P ? _ += P : _ += Pe();
3312
3284
  var w;
3313
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (b(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = 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", w, _);
3285
+ e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === i ? (w = "<" + (k(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : w = 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", w, _);
3314
3286
  }
3315
- var j = rt(e, t, r, m, y);
3287
+ var j = rt(e, t, r, f, y);
3316
3288
  if (j == null)
3317
3289
  return j;
3318
3290
  if (l) {
3319
3291
  var B = t.children;
3320
3292
  if (B !== void 0)
3321
- if (n)
3293
+ if (a)
3322
3294
  if (de(B)) {
3323
3295
  for (var V = 0; V < B.length; V++)
3324
3296
  Ie(B[V], e);
@@ -3329,7 +3301,7 @@ Check the top-level render call using <` + r + ">.");
3329
3301
  Ie(B, e);
3330
3302
  }
3331
3303
  if (X.call(t, "key")) {
3332
- var H = b(e), F = Object.keys(t).filter(function(dt) {
3304
+ var H = k(e), F = Object.keys(t).filter(function(dt) {
3333
3305
  return dt !== "key";
3334
3306
  }), ye = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
3335
3307
  if (!Me[H + ye]) {
@@ -3355,29 +3327,29 @@ React keys must be passed directly to JSX without using spread:
3355
3327
  jt.Fragment = u, jt.jsx = lt, jt.jsxs = ct;
3356
3328
  }()), jt;
3357
3329
  }
3358
- process.env.NODE_ENV === "production" ? Nt.exports = Qr() : Nt.exports = ea();
3330
+ process.env.NODE_ENV === "production" ? Nt.exports = Xr() : Nt.exports = Qr();
3359
3331
  var ee = Nt.exports;
3360
- const ta = "_notice_13j98_2", ra = "_error_13j98_11", aa = "_success_13j98_14", na = "_remark_13j98_17", oa = "_copy_13j98_20", zt = {
3361
- notice: ta,
3362
- error: ra,
3363
- success: aa,
3364
- remark: na,
3365
- copy: oa,
3332
+ const ea = "_notice_13j98_2", ta = "_error_13j98_11", ra = "_success_13j98_14", aa = "_remark_13j98_17", na = "_copy_13j98_20", Ht = {
3333
+ notice: ea,
3334
+ error: ta,
3335
+ success: ra,
3336
+ remark: aa,
3337
+ copy: na,
3366
3338
  "show-notice": "_show-notice_13j98_1",
3367
3339
  "hide-notice": "_hide-notice_13j98_1"
3368
3340
  };
3369
3341
  let Be = {};
3370
- function ht({ data: a }) {
3371
- let [i, c] = K.useState("show");
3372
- K.useEffect(() => {
3373
- a.hide && (setTimeout(function() {
3342
+ function ht({ data: n }) {
3343
+ let [i, c] = U.useState("show");
3344
+ U.useEffect(() => {
3345
+ n.hide && (setTimeout(function() {
3374
3346
  c("hide");
3375
3347
  }, 1800), setTimeout(function() {
3376
- Be.del(a.key);
3348
+ Be.del(n.key);
3377
3349
  }, 2500));
3378
- }, [a.key]);
3350
+ }, [n.key]);
3379
3351
  let u, v;
3380
- switch (a.type) {
3352
+ switch (n.type) {
3381
3353
  case "error":
3382
3354
  u = /* @__PURE__ */ ee.jsx(ft.error, {}), v = "Ошибка:";
3383
3355
  break;
@@ -3394,21 +3366,21 @@ function ht({ data: a }) {
3394
3366
  u = /* @__PURE__ */ ee.jsx(ft.success, {}), v = "Предупреждение:";
3395
3367
  break;
3396
3368
  }
3397
- return /* @__PURE__ */ ee.jsxs("li", { className: zt[a.type], "data-status": i, children: [
3369
+ return /* @__PURE__ */ ee.jsxs("li", { className: Ht[n.type], "data-status": i, children: [
3398
3370
  u,
3399
3371
  /* @__PURE__ */ ee.jsx("b", { children: v }),
3400
- /* @__PURE__ */ ee.jsx("p", { children: a.text })
3372
+ /* @__PURE__ */ ee.jsx("p", { children: n.text })
3401
3373
  ] });
3402
3374
  }
3403
- function ia({ data: a }) {
3404
- let [i, c] = K.useState("show");
3405
- return K.useEffect(() => {
3406
- a.hide && (setTimeout(function() {
3375
+ function oa({ data: n }) {
3376
+ let [i, c] = U.useState("show");
3377
+ return U.useEffect(() => {
3378
+ n.hide && (setTimeout(function() {
3407
3379
  c("hide");
3408
3380
  }, 1800), setTimeout(function() {
3409
- Be.del(a.key);
3381
+ Be.del(n.key);
3410
3382
  }, 2500));
3411
- }, [a.key]), /* @__PURE__ */ ee.jsx("li", { className: "item", "data-status": i, children: a.text });
3383
+ }, [n.key]), /* @__PURE__ */ ee.jsx("li", { className: "item", "data-status": i, children: n.text });
3412
3384
  }
3413
3385
  const ft = {};
3414
3386
  ft.error = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
@@ -3443,65 +3415,65 @@ ft.success = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill:
3443
3415
  }
3444
3416
  )
3445
3417
  ] });
3446
- var St;
3447
- ((a) => {
3418
+ var Ct;
3419
+ ((n) => {
3448
3420
  function i() {
3449
- let [s, h] = K.useState([]);
3421
+ let [s, g] = U.useState([]);
3450
3422
  return Be.set = (o) => {
3451
- h([...s, o]);
3423
+ g([...s, o]);
3452
3424
  }, Be.del = (o) => {
3453
- h(s.filter((d) => d.key !== o));
3454
- }, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: zt.notice, children: s.map((o) => o.item) });
3425
+ g(s.filter((d) => d.key !== o));
3426
+ }, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: Ht.notice, children: s.map((o) => o.item) });
3455
3427
  }
3456
- a.Init = i;
3457
- function c(s, h = !0) {
3458
- let o = Date.now(), d = { key: o, text: s, hide: h, type: "error" };
3428
+ n.Init = i;
3429
+ function c(s, g = !0) {
3430
+ let o = Date.now(), d = { key: o, text: s, hide: g, type: "error" };
3459
3431
  Be.set({
3460
3432
  item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
3461
3433
  key: o
3462
3434
  });
3463
3435
  }
3464
- a.Error = c;
3465
- function u(s, h = !0) {
3466
- let o = Date.now(), d = { key: o, text: s, hide: h, type: "success" };
3436
+ n.Error = c;
3437
+ function u(s, g = !0) {
3438
+ let o = Date.now(), d = { key: o, text: s, hide: g, type: "success" };
3467
3439
  Be.set({
3468
3440
  item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
3469
3441
  key: o
3470
3442
  });
3471
3443
  }
3472
- a.Success = u;
3473
- function v(s, h = !0) {
3474
- let o = Date.now(), d = { key: o, hide: h, text: s };
3475
- Be.set({ item: /* @__PURE__ */ ee.jsx(ia, { data: d }, o), key: o });
3444
+ n.Success = u;
3445
+ function v(s, g = !0) {
3446
+ let o = Date.now(), d = { key: o, hide: g, text: s };
3447
+ Be.set({ item: /* @__PURE__ */ ee.jsx(oa, { data: d }, o), key: o });
3476
3448
  }
3477
- a.Custom = v;
3449
+ n.Custom = v;
3478
3450
  function C(s) {
3479
- let h = Date.now(), o = { key: h, hide: !0, ...s };
3451
+ let g = Date.now(), o = { key: g, hide: !0, ...s };
3480
3452
  Be.set({
3481
- item: /* @__PURE__ */ ee.jsx(ht, { data: o }, h),
3482
- key: h
3453
+ item: /* @__PURE__ */ ee.jsx(ht, { data: o }, g),
3454
+ key: g
3483
3455
  });
3484
3456
  }
3485
- a.Send = C;
3486
- function O(s, h = !0) {
3487
- let o = Date.now(), d = { key: o, text: s, hide: h, type: "remark" };
3457
+ n.Send = C;
3458
+ function O(s, g = !0) {
3459
+ let o = Date.now(), d = { key: o, text: s, hide: g, type: "remark" };
3488
3460
  Be.set({
3489
3461
  item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
3490
3462
  key: o
3491
3463
  });
3492
3464
  }
3493
- a.Remark = O;
3494
- function x(s, h = !0) {
3495
- let o = Date.now(), d = { key: o, text: s, hide: h, type: "copy" };
3465
+ n.Remark = O;
3466
+ function x(s, g = !0) {
3467
+ let o = Date.now(), d = { key: o, text: s, hide: g, type: "copy" };
3496
3468
  Be.set({
3497
3469
  item: /* @__PURE__ */ ee.jsx(ht, { data: d }, o),
3498
3470
  key: o
3499
3471
  });
3500
3472
  }
3501
- a.Copy = x;
3502
- })(St || (St = {}));
3503
- function Ca({
3504
- value: a = "",
3473
+ n.Copy = x;
3474
+ })(Ct || (Ct = {}));
3475
+ function xa({
3476
+ value: n = "",
3505
3477
  onValue: i,
3506
3478
  onSave: c,
3507
3479
  name: u,
@@ -3510,82 +3482,82 @@ function Ca({
3510
3482
  title: O = "",
3511
3483
  error: x = "",
3512
3484
  hide: s = !1,
3513
- edit: h = !0,
3485
+ edit: g = !0,
3514
3486
  active: o = !0,
3515
3487
  after: d = "",
3516
- show: k = !0,
3488
+ show: b = !0,
3517
3489
  view: S,
3518
3490
  className: N = ""
3519
3491
  }) {
3520
- h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (a === "" || a === void 0)) && !(h && o), K.useRef(null);
3521
- let $ = v, T = !0, p = 0, I = (g, b) => {
3522
- let M = document.createRange(), G = window.getSelection();
3523
- M.setStart(b.childNodes[0], g), M.collapse(!0), G.removeAllRanges(), G.addRange(M), b.focus();
3524
- }, q = (g) => {
3525
- g.preventDefault(), navigator.clipboard.readText().then((b) => {
3526
- window.document.execCommand("insertText", !1, b);
3527
- }).catch((b) => {
3492
+ g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (n === "" || n === void 0)) && !(g && o), U.useRef(null);
3493
+ let $ = v, T = !0, p = 0, M = (h, k) => {
3494
+ let I = document.createRange(), Y = window.getSelection();
3495
+ I.setStart(k.childNodes[0], h), I.collapse(!0), Y.removeAllRanges(), Y.addRange(I), k.focus();
3496
+ }, K = (h) => {
3497
+ h.preventDefault(), navigator.clipboard.readText().then((k) => {
3498
+ window.document.execCommand("insertText", !1, k);
3499
+ }).catch((k) => {
3528
3500
  });
3529
- }, Y = (g) => {
3530
- let b = 0, M = "", G = g.replace(/\D/g, "");
3531
- G === "" && (T = !0);
3532
- let Q = G.split(""), ie = "";
3501
+ }, G = (h) => {
3502
+ let k = 0, I = "", Y = h.replace(/\D/g, "");
3503
+ Y === "" && (T = !0);
3504
+ let Q = Y.split(""), ie = "";
3533
3505
  Q.forEach((ge) => {
3534
- T && (ie += ge, T && (p = ("" + ie).length, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""), p > ("" + ie).length && (T = !0, $ = v.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
3506
+ T && (ie += ge, T && (p = ("" + ie).length, $ = v.replace(new RegExp("[0-9]", "g"), "_"), I = ""), p > ("" + ie).length && (T = !0, $ = v.replace(new RegExp("[0-9]", "g"), "_"), I = ""));
3535
3507
  });
3536
3508
  let se = $.replace(/\D/g, "");
3537
- return se.length >= G.length && (G = se), { q: $.replace(/[_\d]/g, function() {
3538
- return G.charAt(b++) || "_";
3539
- }), i: b, v: G, f: M };
3540
- }, L = (g) => {
3541
- g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
3509
+ return se.length >= Y.length && (Y = se), { q: $.replace(/[_\d]/g, function() {
3510
+ return Y.charAt(k++) || "_";
3511
+ }), i: k, v: Y, f: I };
3512
+ }, L = (h) => {
3513
+ h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
3542
3514
  function() {
3543
- St.Copy("Данные в буфер обмене");
3515
+ Ct.Copy("Данные в буфер обмене");
3544
3516
  },
3545
- function(b) {
3517
+ function(k) {
3546
3518
  }
3547
3519
  );
3548
- }, U = Y(a), E = (g) => {
3549
- let b = Y(g.target.textContent);
3550
- g.target.textContent = b.q, b.i = b.q.lastIndexOf(b.v.substr(-1)), b.i < b.q.length && b.q !== $ ? b.i++ : b.i = b.q.indexOf("_"), I(b.i, g.target), i && i({ value: b.q.replace(/\D/g, ""), name: u });
3551
- }, P = (g) => {
3552
- g.key === "Enter" && g.preventDefault();
3520
+ }, q = G(n), E = (h) => {
3521
+ let k = G(h.target.textContent);
3522
+ h.target.textContent = k.q, k.i = k.q.lastIndexOf(k.v.substr(-1)), k.i < k.q.length && k.q !== $ ? k.i++ : k.i = k.q.indexOf("_"), M(k.i, h.target), i && i({ value: k.q.replace(/\D/g, ""), name: u });
3523
+ }, D = (h) => {
3524
+ h.key === "Enter" && h.preventDefault();
3553
3525
  };
3554
- const W = (g) => {
3555
- te.Blur(g), c && c({
3556
- value: g.target.textContent.replace(/\D/g, ""),
3526
+ const W = (h) => {
3527
+ te.Blur(h), c && c({
3528
+ value: h.target.textContent.replace(/\D/g, ""),
3557
3529
  name: u
3558
3530
  });
3559
3531
  };
3560
3532
  let R = {};
3561
- return h && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", C && (R.placeholder = C), d && (R.after = d), s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
3533
+ return g && o ? (R.edit = "true", R.contentEditable = te.ContentEditable) : R.contentEditable = "false", C && (R.placeholder = C), d && (R.after = d), s ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs(
3562
3534
  "dl",
3563
3535
  {
3564
3536
  "data-field": "input",
3565
- className: [z.l, N].filter((g) => g !== void 0).join(" "),
3537
+ className: [z.l, N].filter((h) => h !== void 0).join(" "),
3566
3538
  children: [
3567
- O ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: O }) : "",
3568
- /* @__PURE__ */ f.jsx(
3539
+ O ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: O }) : "",
3540
+ /* @__PURE__ */ m.jsx(
3569
3541
  "dd",
3570
3542
  {
3571
3543
  className: [z.f, z.w].join(" "),
3572
- onPaste: q,
3544
+ onPaste: K,
3573
3545
  onInput: E,
3574
- onKeyDown: P,
3546
+ onKeyDown: D,
3575
3547
  onContextMenu: L,
3576
3548
  onBlur: W,
3577
3549
  suppressContentEditableWarning: !0,
3578
3550
  ...R,
3579
- children: U.q
3551
+ children: q.q
3580
3552
  }
3581
3553
  ),
3582
- x && /* @__PURE__ */ f.jsx("em", { children: x })
3554
+ x && /* @__PURE__ */ m.jsx("em", { children: x })
3583
3555
  ]
3584
3556
  }
3585
3557
  );
3586
3558
  }
3587
- function Sa({
3588
- id: a,
3559
+ function Ca({
3560
+ id: n,
3589
3561
  value: i,
3590
3562
  onValue: c,
3591
3563
  name: u,
@@ -3594,71 +3566,71 @@ function Sa({
3594
3566
  error: O = "",
3595
3567
  hide: x = !1,
3596
3568
  edit: s = !0,
3597
- active: h = !0,
3569
+ active: g = !0,
3598
3570
  after: o = "",
3599
3571
  show: d = !0,
3600
- maxLength: k,
3572
+ maxLength: b,
3601
3573
  view: S,
3602
3574
  onSave: N,
3603
3575
  className: A = "",
3604
3576
  isCopy: $ = !0
3605
3577
  }) {
3606
- let [T, p] = K.useState(!1);
3578
+ let [T, p] = U.useState(!1);
3607
3579
  T = s ? !0 : T;
3608
- let I = (E) => {
3580
+ let M = (E) => {
3609
3581
  c == null || c({ value: E.target.innerText, name: u });
3610
- }, q = (E) => {
3611
- k && E.target.textContent.trim().length >= k && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
3612
- }, Y = (E) => {
3613
- E.preventDefault(), navigator.clipboard.readText().then((P) => {
3614
- if (k) {
3582
+ }, K = (E) => {
3583
+ b && E.target.textContent.trim().length >= b && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
3584
+ }, G = (E) => {
3585
+ E.preventDefault(), navigator.clipboard.readText().then((D) => {
3586
+ if (b) {
3615
3587
  let W = E.target.textContent.length;
3616
- if (W >= k) return;
3617
- k -= W, P = P.slice(0, k);
3588
+ if (W >= b) return;
3589
+ b -= W, D = D.slice(0, b);
3618
3590
  }
3619
3591
  window.document.execCommand(
3620
3592
  "insertText",
3621
3593
  !1,
3622
- P.replace(/(\r\n|\n|\r)/gm, " ")
3594
+ D.replace(/(\r\n|\n|\r)/gm, " ")
3623
3595
  );
3624
- }).catch((P) => {
3596
+ }).catch((D) => {
3625
3597
  });
3626
3598
  };
3627
- if (x) return /* @__PURE__ */ f.jsx(f.Fragment, {});
3628
- if (!(s && h) && !d) return "";
3599
+ if (x) return /* @__PURE__ */ m.jsx(m.Fragment, {});
3600
+ if (!(s && g) && !d) return "";
3629
3601
  const L = {};
3630
- v && (L.placeholder = v), s && h && (L.edit = ""), T && (L.open = "");
3631
- const U = (E) => {
3602
+ v && (L.placeholder = v), s && g && (L.edit = ""), T && (L.open = "");
3603
+ const q = (E) => {
3632
3604
  te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
3633
3605
  };
3634
- return /* @__PURE__ */ f.jsxs(
3606
+ return /* @__PURE__ */ m.jsxs(
3635
3607
  "dl",
3636
3608
  {
3637
3609
  "data-field": "note",
3638
3610
  className: [z.l, A].filter((E) => E !== void 0).join(" "),
3639
3611
  children: [
3640
- C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
3641
- /* @__PURE__ */ f.jsx(
3612
+ C ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: C }) : "",
3613
+ /* @__PURE__ */ m.jsx(
3642
3614
  "dd",
3643
3615
  {
3644
3616
  className: [z.f, z.n].join(" "),
3645
- onPaste: Y,
3646
- onInput: I,
3647
- onBlur: U,
3648
- onKeyDown: q,
3649
- contentEditable: s && h ? te.ContentEditable : "false",
3617
+ onPaste: G,
3618
+ onInput: M,
3619
+ onBlur: q,
3620
+ onKeyDown: K,
3621
+ contentEditable: s && g ? te.ContentEditable : "false",
3650
3622
  suppressContentEditableWarning: !0,
3651
3623
  ...L,
3652
3624
  children: i
3653
3625
  }
3654
3626
  ),
3655
3627
  o,
3656
- O ? /* @__PURE__ */ f.jsx("em", { children: O }) : ""
3628
+ O ? /* @__PURE__ */ m.jsx("em", { children: O }) : ""
3657
3629
  ]
3658
3630
  }
3659
3631
  );
3660
3632
  }
3661
- const Ot = {
3633
+ const Et = {
3662
3634
  0: {
3663
3635
  name: "Heard Island and Mcdonald Islands",
3664
3636
  dial_code: "+0",
@@ -5040,8 +5012,8 @@ const Ot = {
5040
5012
  mask: "+1939(___) ___-__-__"
5041
5013
  }
5042
5014
  };
5043
- function Ra({
5044
- value: a,
5015
+ function Sa({
5016
+ value: n,
5045
5017
  onValue: i,
5046
5018
  onSave: c,
5047
5019
  name: u,
@@ -5050,91 +5022,91 @@ function Ra({
5050
5022
  error: O = "",
5051
5023
  hide: x = !1,
5052
5024
  edit: s = !0,
5053
- active: h = !0,
5025
+ active: g = !0,
5054
5026
  after: o = "",
5055
5027
  show: d = !0,
5056
- view: k,
5028
+ view: b,
5057
5029
  className: S = ""
5058
5030
  }) {
5059
- s = s !== void 0 ? s : !0, h = h !== void 0 ? h : !0, x = !!(x && (a === "" || a === void 0)) && !(s && h), K.useRef(null);
5060
- let A = "+_(___) ___-__-__", $ = !0, T = 0, p = (R, g) => {
5061
- let b = document.createRange(), M = window.getSelection();
5062
- b.setStart(g.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), g.focus();
5063
- }, I = (R) => {
5064
- let g = Y(R.target.textContent);
5065
- R.target.textContent = g.q, g.i = g.q.lastIndexOf(g.v.substr(-1)), g.i < g.q.length && g.q !== A ? g.i++ : g.i = g.q.indexOf("_"), p(g.i, R.target), i && i({ value: g.q.replace(/\D/g, ""), name: u });
5066
- }, q = (R) => {
5067
- R.preventDefault(), navigator.clipboard.readText().then((g) => {
5068
- window.document.execCommand("insertText", !1, g);
5069
- }).catch((g) => {
5031
+ s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (n === "" || n === void 0)) && !(s && g), U.useRef(null);
5032
+ let A = "+_(___) ___-__-__", $ = !0, T = 0, p = (R, h) => {
5033
+ let k = document.createRange(), I = window.getSelection();
5034
+ k.setStart(h.childNodes[0], R), k.collapse(!0), I.removeAllRanges(), I.addRange(k), h.focus();
5035
+ }, M = (R) => {
5036
+ let h = G(R.target.textContent);
5037
+ R.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== A ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, R.target), i && i({ value: h.q.replace(/\D/g, ""), name: u });
5038
+ }, K = (R) => {
5039
+ R.preventDefault(), navigator.clipboard.readText().then((h) => {
5040
+ window.document.execCommand("insertText", !1, h);
5041
+ }).catch((h) => {
5070
5042
  });
5071
- }, Y = (R) => {
5072
- let g = 0, b = "", M = R.replace(/\D/g, "");
5073
- M === "" && ($ = !0);
5074
- let G = M.split(""), Q = "";
5075
- G.forEach((ve) => {
5076
- $ && (Q += ve, Ot[Q] !== void 0 && $ ? ($ = !1, A = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"), b = Ot[Q].code) : ($ && (T = ("" + Q).length, A = `+${Q}_(___) ___-__-__`.replace(
5043
+ }, G = (R) => {
5044
+ let h = 0, k = "", I = R.replace(/\D/g, "");
5045
+ I === "" && ($ = !0);
5046
+ let Y = I.split(""), Q = "";
5047
+ Y.forEach((ve) => {
5048
+ $ && (Q += ve, Et[Q] !== void 0 && $ ? ($ = !1, A = Et[Q].mask.replace(new RegExp("[0-9]", "g"), "_"), k = Et[Q].code) : ($ && (T = ("" + Q).length, A = `+${Q}_(___) ___-__-__`.replace(
5077
5049
  new RegExp("[0-9]", "g"),
5078
5050
  "_"
5079
- ), b = ""), T > ("" + Q).length && ($ = !0, A = `+${Q}_(___) ___-__-__`.replace(
5051
+ ), k = ""), T > ("" + Q).length && ($ = !0, A = `+${Q}_(___) ___-__-__`.replace(
5080
5052
  new RegExp("[0-9]", "g"),
5081
5053
  "_"
5082
- ), b = "")));
5054
+ ), k = "")));
5083
5055
  });
5084
5056
  let ie = A.replace(/\D/g, "");
5085
- return ie.length >= M.length && (M = ie), { q: A.replace(/[_\d]/g, function() {
5086
- return M.charAt(g++) || "_";
5087
- }), i: g, v: M, f: b };
5057
+ return ie.length >= I.length && (I = ie), { q: A.replace(/[_\d]/g, function() {
5058
+ return I.charAt(h++) || "_";
5059
+ }), i: h, v: I, f: k };
5088
5060
  }, L = (R) => {
5089
5061
  R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.replace(/\D/g, "")).then(
5090
5062
  function() {
5091
- St.Copy("Данные в буфер обмене");
5063
+ Ct.Copy("Данные в буфер обмене");
5092
5064
  },
5093
- function(g) {
5065
+ function(h) {
5094
5066
  }
5095
5067
  );
5096
- }, U = Y(a), E = (R) => {
5068
+ }, q = G(n), E = (R) => {
5097
5069
  R.key === "Enter" && R.preventDefault();
5098
5070
  };
5099
- const P = (R) => {
5071
+ const D = (R) => {
5100
5072
  te.Blur(R), c && c({
5101
5073
  value: R.target.textContent.replace(/\D/g, ""),
5102
5074
  name: u
5103
5075
  });
5104
5076
  };
5105
5077
  let W = {};
5106
- return s && h ? (W.edit = "true", W.contentEditable = te.ContentEditable) : W.contentEditable = "false", v && (W.placeholder = v), o && (W.after = o), x ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
5078
+ return s && g ? (W.edit = "true", W.contentEditable = te.ContentEditable) : W.contentEditable = "false", v && (W.placeholder = v), o && (W.after = o), x ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs(
5107
5079
  "dl",
5108
5080
  {
5109
5081
  "data-field": "input",
5110
5082
  className: [z.l, S].filter((R) => R !== void 0).join(" "),
5111
5083
  children: [
5112
- C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
5113
- /* @__PURE__ */ f.jsx(
5084
+ C ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: C }) : "",
5085
+ /* @__PURE__ */ m.jsx(
5114
5086
  "dd",
5115
5087
  {
5116
5088
  className: [z.f, z.w].join(" "),
5117
- onPaste: q,
5118
- onInput: I,
5089
+ onPaste: K,
5090
+ onInput: M,
5119
5091
  onKeyDown: E,
5120
5092
  onContextMenu: L,
5121
- onBlur: P,
5093
+ onBlur: D,
5122
5094
  suppressContentEditableWarning: !0,
5123
5095
  ...W,
5124
- children: U.q
5096
+ children: q.q
5125
5097
  }
5126
5098
  ),
5127
- O && /* @__PURE__ */ f.jsx("em", { children: O })
5099
+ O && /* @__PURE__ */ m.jsx("em", { children: O })
5128
5100
  ]
5129
5101
  }
5130
5102
  );
5131
5103
  }
5132
- const _a = "_o_1c9e1_1", sa = "_c_1c9e1_11", Rt = {
5133
- o: _a,
5134
- c: sa
5104
+ const ia = "_o_1c9e1_1", _a = "_c_1c9e1_11", St = {
5105
+ o: ia,
5106
+ c: _a
5135
5107
  };
5136
- function Ea({
5137
- title: a,
5108
+ function Ra({
5109
+ title: n,
5138
5110
  error: i,
5139
5111
  edit: c = !0,
5140
5112
  active: u = !0,
@@ -5143,57 +5115,57 @@ function Ea({
5143
5115
  max: O,
5144
5116
  min: x,
5145
5117
  onValue: s,
5146
- icon: h,
5118
+ icon: g,
5147
5119
  name: o,
5148
5120
  value: d,
5149
- after: k
5121
+ after: b
5150
5122
  }) {
5151
- let [S, N] = K.useState(
5123
+ let [S, N] = U.useState(
5152
5124
  d === void 0 ? /* @__PURE__ */ new Date() : d
5153
5125
  );
5154
- const A = K.useRef(null), [$, T] = K.useState(!1);
5126
+ const A = U.useRef(null), [$, T] = U.useState(!1);
5155
5127
  let p = !c && u;
5156
- K.useEffect(() => {
5128
+ U.useEffect(() => {
5157
5129
  N(d === void 0 ? /* @__PURE__ */ new Date() : d);
5158
5130
  }, [d]);
5159
- let I = (L) => {
5131
+ let M = (L) => {
5160
5132
  N(L), s == null || s({ value: L, name: o });
5161
- }, q = (L) => {
5162
- const U = L.target.getBoundingClientRect(), E = U.left, P = U.bottom, W = U.top;
5163
- A.position = { x: E, b: P, y: W }, T(!0);
5133
+ }, K = (L) => {
5134
+ const q = L.target.getBoundingClientRect(), E = q.left, D = q.bottom, W = q.top;
5135
+ A.position = { x: E, b: D, y: W }, T(!0);
5164
5136
  };
5165
- const Y = {};
5166
- return C && (Y.placeholder = C), p ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
5167
- h ? h() : /* @__PURE__ */ f.jsxs(
5137
+ const G = {};
5138
+ return C && (G.placeholder = C), p ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
5139
+ g ? g() : /* @__PURE__ */ m.jsxs(
5168
5140
  "dl",
5169
5141
  {
5170
5142
  "data-field": "date",
5171
5143
  className: [z.l, v].filter((L) => L !== void 0).join(" "),
5172
5144
  children: [
5173
- a ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: a }) : "",
5174
- /* @__PURE__ */ f.jsxs(
5145
+ n ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: n }) : "",
5146
+ /* @__PURE__ */ m.jsxs(
5175
5147
  "dd",
5176
5148
  {
5177
- onClick: q,
5149
+ onClick: K,
5178
5150
  className: [z.f, z.w].join(" "),
5179
- ...Y,
5151
+ ...G,
5180
5152
  "data-edit": (c && u) + "",
5181
5153
  children: [
5182
- ua(S, "dd.mm.yyyy"),
5183
- k
5154
+ ca(S, "dd.mm.yyyy"),
5155
+ b
5184
5156
  ]
5185
5157
  }
5186
5158
  ),
5187
- i && /* @__PURE__ */ f.jsx("em", { children: i })
5159
+ i && /* @__PURE__ */ m.jsx("em", { children: i })
5188
5160
  ]
5189
5161
  }
5190
5162
  ),
5191
5163
  $ && It(
5192
- /* @__PURE__ */ f.jsx(
5193
- la,
5164
+ /* @__PURE__ */ m.jsx(
5165
+ sa,
5194
5166
  {
5195
5167
  position: A.position,
5196
- onValue: I,
5168
+ onValue: M,
5197
5169
  date: S,
5198
5170
  max: O,
5199
5171
  min: x,
@@ -5206,8 +5178,8 @@ function Ea({
5206
5178
  )
5207
5179
  ] });
5208
5180
  }
5209
- const la = ({
5210
- date: a,
5181
+ const sa = ({
5182
+ date: n,
5211
5183
  onValue: i,
5212
5184
  position: c,
5213
5185
  max: u,
@@ -5215,7 +5187,7 @@ const la = ({
5215
5187
  className: C,
5216
5188
  onOpen: O
5217
5189
  }) => {
5218
- let x = /* @__PURE__ */ new Date(), s = new Date(a), h = {
5190
+ let x = /* @__PURE__ */ new Date(), s = new Date(n), g = {
5219
5191
  y: parseInt(x.getFullYear()),
5220
5192
  d: parseInt(x.getDate()),
5221
5193
  m: parseInt(x.getMonth()) + 1
@@ -5223,53 +5195,53 @@ const la = ({
5223
5195
  y: parseInt(s.getFullYear()),
5224
5196
  d: parseInt(s.getDate()),
5225
5197
  m: parseInt(s.getMonth()) + 1
5226
- }, [d, k] = K.useState({ y: o.y, m: o.m }), S = (g) => {
5227
- let b = g.getDay();
5228
- return b === 0 && (b = 7), b - 1;
5198
+ }, [d, b] = U.useState({ y: o.y, m: o.m }), S = (h) => {
5199
+ let k = h.getDay();
5200
+ return k === 0 && (k = 7), k - 1;
5229
5201
  }, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, $ = new Date(d.y, A), T = [];
5230
- for (let g = 0; g < S($); g++)
5202
+ for (let h = 0; h < S($); h++)
5231
5203
  T.push(0);
5232
5204
  for (; $.getMonth() === A; )
5233
5205
  T.push($.getDate()), $.setDate($.getDate() + 1);
5234
5206
  let p = () => {
5235
5207
  O(!1);
5236
- }, I = () => {
5208
+ }, M = () => {
5237
5209
  L(d.m + 1, d.y);
5238
- }, q = () => {
5210
+ }, K = () => {
5239
5211
  L(d.m - 1, d.y);
5240
- }, Y = (g) => {
5212
+ }, G = (h) => {
5241
5213
  i(
5242
- d.y + "-" + Yt(2, d.m) + "-" + Yt(2, g)
5214
+ d.y + "-" + Gt(2, d.m) + "-" + Gt(2, h)
5243
5215
  ), p();
5244
- }, L = (g, b) => {
5245
- b = g > 12 ? b + 1 : g < 1 ? b - 1 : b, g = g > 12 ? 1 : g < 1 ? 12 : g, k({ y: b, m: g });
5216
+ }, L = (h, k) => {
5217
+ k = h > 12 ? k + 1 : h < 1 ? k - 1 : k, h = h > 12 ? 1 : h < 1 ? 12 : h, b({ y: k, m: h });
5246
5218
  };
5247
- const U = (g) => h.y === d.y && h.m === d.m && h.d === g ? { "data-active": "true" } : {}, E = (g) => o.y === d.y && o.m === d.m && o.d === g ? { "data-current": "true" } : {}, P = (g) => {
5248
- let b = !0;
5219
+ const q = (h) => g.y === d.y && g.m === d.m && g.d === h ? { "data-active": "true" } : {}, E = (h) => o.y === d.y && o.m === d.m && o.d === h ? { "data-current": "true" } : {}, D = (h) => {
5220
+ let k = !0;
5249
5221
  if (u) {
5250
- let M = u.getTime(), G = new Date(d.y, d.m - 1, g).getTime();
5251
- M < G && (b = !1);
5222
+ let I = u.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
5223
+ I < Y && (k = !1);
5252
5224
  }
5253
5225
  if (v) {
5254
- let M = v.getTime(), G = new Date(d.y, d.m - 1, g).getTime();
5255
- M > G && (b = !1);
5226
+ let I = v.getTime(), Y = new Date(d.y, d.m - 1, h).getTime();
5227
+ I > Y && (k = !1);
5256
5228
  }
5257
- return b;
5229
+ return k;
5258
5230
  };
5259
5231
  let W = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, R = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
5260
- return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
5261
- /* @__PURE__ */ f.jsx("div", { className: Rt.o, onClick: () => p() }),
5262
- /* @__PURE__ */ f.jsxs(
5232
+ return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
5233
+ /* @__PURE__ */ m.jsx("div", { className: St.o, onClick: () => p() }),
5234
+ /* @__PURE__ */ m.jsxs(
5263
5235
  "div",
5264
5236
  {
5265
5237
  className: [
5266
- Rt.c,
5238
+ St.c,
5267
5239
  C && C + "-backdrop"
5268
5240
  ].join(" "),
5269
5241
  style: { top: W + "px", left: R + "px" },
5270
5242
  children: [
5271
- /* @__PURE__ */ f.jsxs("s", { children: [
5272
- /* @__PURE__ */ f.jsx("i", { onClick: q, children: /* @__PURE__ */ f.jsx(
5243
+ /* @__PURE__ */ m.jsxs("s", { children: [
5244
+ /* @__PURE__ */ m.jsx("i", { onClick: K, children: /* @__PURE__ */ m.jsx(
5273
5245
  "svg",
5274
5246
  {
5275
5247
  width: "16",
@@ -5277,15 +5249,15 @@ const la = ({
5277
5249
  fill: "currentColor",
5278
5250
  viewBox: "0 0 24 24",
5279
5251
  xmlns: "http://www.w3.org/2000/svg",
5280
- children: /* @__PURE__ */ f.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
5252
+ children: /* @__PURE__ */ m.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
5281
5253
  }
5282
5254
  ) }),
5283
- /* @__PURE__ */ f.jsxs("h2", { children: [
5284
- ca(d.m).name,
5255
+ /* @__PURE__ */ m.jsxs("h2", { children: [
5256
+ la(d.m).name,
5285
5257
  " ",
5286
5258
  d.y
5287
5259
  ] }),
5288
- /* @__PURE__ */ f.jsx("i", { onClick: I, children: /* @__PURE__ */ f.jsx(
5260
+ /* @__PURE__ */ m.jsx("i", { onClick: M, children: /* @__PURE__ */ m.jsx(
5289
5261
  "svg",
5290
5262
  {
5291
5263
  width: "16",
@@ -5293,29 +5265,29 @@ const la = ({
5293
5265
  fill: "currentColor",
5294
5266
  viewBox: "0 0 24 24",
5295
5267
  xmlns: "http://www.w3.org/2000/svg",
5296
- children: /* @__PURE__ */ f.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
5268
+ children: /* @__PURE__ */ m.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
5297
5269
  }
5298
5270
  ) })
5299
5271
  ] }),
5300
- /* @__PURE__ */ f.jsxs("div", { "grid-calendar": "", children: [
5301
- N.map((g, b) => /* @__PURE__ */ f.jsx("p", { children: g }, "v" + b)),
5302
- T.map((g, b) => /* @__PURE__ */ f.jsx("span", { children: g !== 0 && P(g) ? /* @__PURE__ */ f.jsx(
5272
+ /* @__PURE__ */ m.jsxs("div", { "grid-calendar": "", children: [
5273
+ N.map((h, k) => /* @__PURE__ */ m.jsx("p", { children: h }, "v" + k)),
5274
+ T.map((h, k) => /* @__PURE__ */ m.jsx("span", { children: h !== 0 && D(h) ? /* @__PURE__ */ m.jsx(
5303
5275
  "b",
5304
5276
  {
5305
- ...U(g),
5306
- ...E(g),
5307
- onClick: () => Y(g),
5308
- children: g
5277
+ ...q(h),
5278
+ ...E(h),
5279
+ onClick: () => G(h),
5280
+ children: h
5309
5281
  }
5310
- ) : /* @__PURE__ */ f.jsx("p", { ...U(g), ...E(g), children: g !== 0 ? g : "" }) }, b))
5282
+ ) : /* @__PURE__ */ m.jsx("p", { ...q(h), ...E(h), children: h !== 0 ? h : "" }) }, k))
5311
5283
  ] })
5312
5284
  ]
5313
5285
  }
5314
5286
  )
5315
5287
  ] });
5316
5288
  };
5317
- function ca(a) {
5318
- return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
5289
+ function la(n) {
5290
+ return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
5319
5291
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
5320
5292
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
5321
5293
  3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
@@ -5328,23 +5300,23 @@ function ca(a) {
5328
5300
  10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
5329
5301
  11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
5330
5302
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
5331
- }[a];
5303
+ }[n];
5332
5304
  }
5333
- function Yt(a, i) {
5305
+ function Gt(n, i) {
5334
5306
  let c = i + "";
5335
- for (; c.length < a; ) c = "0" + c;
5307
+ for (; c.length < n; ) c = "0" + c;
5336
5308
  return c;
5337
5309
  }
5338
- function ua(a, i) {
5339
- i === void 0 ? (i = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
5310
+ function ca(n, i) {
5311
+ i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
5340
5312
  let c = {
5341
- yyyy: a.getFullYear(),
5342
- yy: ("" + a.getFullYear()).slice(-2),
5343
- mm: ("0" + (a.getMonth() + 1)).slice(-2),
5344
- dd: ("0" + a.getDate()).slice(-2),
5345
- HH: ("0" + a.getHours()).slice(-2),
5346
- MM: ("0" + a.getMinutes()).slice(-2),
5347
- SS: ("0" + a.getSeconds()).slice(-2),
5313
+ yyyy: n.getFullYear(),
5314
+ yy: ("" + n.getFullYear()).slice(-2),
5315
+ mm: ("0" + (n.getMonth() + 1)).slice(-2),
5316
+ dd: ("0" + n.getDate()).slice(-2),
5317
+ HH: ("0" + n.getHours()).slice(-2),
5318
+ MM: ("0" + n.getMinutes()).slice(-2),
5319
+ SS: ("0" + n.getSeconds()).slice(-2),
5348
5320
  __: "      ",
5349
5321
  _: "    "
5350
5322
  };
@@ -5352,8 +5324,8 @@ function ua(a, i) {
5352
5324
  i = i.replace(u, c[u]);
5353
5325
  return i;
5354
5326
  }
5355
- function Oa({
5356
- value: a,
5327
+ function Ea({
5328
+ value: n,
5357
5329
  onValue: i,
5358
5330
  name: c,
5359
5331
  error: u,
@@ -5362,47 +5334,47 @@ function Oa({
5362
5334
  active: O = !0,
5363
5335
  title: x,
5364
5336
  placeholder: s = "",
5365
- className: h
5337
+ className: g
5366
5338
  }) {
5367
- let [o, d] = K.useState(a);
5368
- const k = K.useRef(null), [S, N] = K.useState(!1);
5369
- K.useEffect(() => {
5370
- d(a);
5371
- }, [a]);
5339
+ let [o, d] = U.useState(n);
5340
+ const b = U.useRef(null), [S, N] = U.useState(!1);
5341
+ U.useEffect(() => {
5342
+ d(n);
5343
+ }, [n]);
5372
5344
  let A = (p) => {
5373
5345
  d(p), i && i({ value: p, name: c });
5374
5346
  }, $ = (p) => {
5375
5347
  if (!C || !O) return;
5376
- const I = p.target.getBoundingClientRect(), q = I.left, Y = I.top;
5377
- k.position = { x: q, y: Y }, N(!0);
5348
+ const M = p.target.getBoundingClientRect(), K = M.left, G = M.top;
5349
+ b.position = { x: K, y: G }, N(!0);
5378
5350
  };
5379
5351
  const T = {};
5380
- return s && (T.placeholder = s), v || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
5381
- /* @__PURE__ */ f.jsxs(
5352
+ return s && (T.placeholder = s), v || /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
5353
+ /* @__PURE__ */ m.jsxs(
5382
5354
  "dl",
5383
5355
  {
5384
5356
  "data-field": "date",
5385
- className: [z.l, h].filter((p) => p !== void 0).join(" "),
5357
+ className: [z.l, g].filter((p) => p !== void 0).join(" "),
5386
5358
  children: [
5387
- x ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: x }) : "",
5388
- /* @__PURE__ */ f.jsx(
5359
+ x ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: x }) : "",
5360
+ /* @__PURE__ */ m.jsx(
5389
5361
  "dd",
5390
5362
  {
5391
5363
  onClick: $,
5392
5364
  ...T,
5393
5365
  className: [z.f, z.w].join(" "),
5394
- children: fa(o, "mm.yyyy")
5366
+ children: da(o, "mm.yyyy")
5395
5367
  }
5396
5368
  ),
5397
- u && /* @__PURE__ */ f.jsx("em", { children: u })
5369
+ u && /* @__PURE__ */ m.jsx("em", { children: u })
5398
5370
  ]
5399
5371
  }
5400
5372
  ),
5401
5373
  S && It(
5402
- /* @__PURE__ */ f.jsx(
5403
- da,
5374
+ /* @__PURE__ */ m.jsx(
5375
+ ua,
5404
5376
  {
5405
- position: k.position,
5377
+ position: b.position,
5406
5378
  onValue: A,
5407
5379
  date: o,
5408
5380
  onOpen: N
@@ -5413,27 +5385,27 @@ function Oa({
5413
5385
  )
5414
5386
  ] });
5415
5387
  }
5416
- const da = ({ onOpen: a, date: i, onValue: c, position: u }) => {
5388
+ const ua = ({ onOpen: n, date: i, onValue: c, position: u }) => {
5417
5389
  let v = /* @__PURE__ */ new Date(), C = new Date(i), O = {
5418
5390
  y: parseInt(v.getFullYear()),
5419
5391
  m: parseInt(v.getMonth()) + 1
5420
5392
  }, x = {
5421
5393
  y: parseInt(C.getFullYear()),
5422
5394
  m: parseInt(C.getMonth()) + 1
5423
- }, [s, h] = K.useState(x.y), o = () => {
5424
- a(!1);
5395
+ }, [s, g] = U.useState(x.y), o = () => {
5396
+ n(!1);
5425
5397
  }, d = () => {
5426
- h(s + 1);
5427
- }, k = () => {
5428
- h(s - 1);
5398
+ g(s + 1);
5399
+ }, b = () => {
5400
+ g(s - 1);
5429
5401
  }, S = (p) => {
5430
- c(s + "-" + ma(2, p)), o();
5431
- }, N = (p) => O.y === x.y && O.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, I) => I + 1), $ = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, T = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
5432
- return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
5433
- /* @__PURE__ */ f.jsx("div", { className: Rt.o, onClick: o }),
5434
- /* @__PURE__ */ f.jsxs("div", { className: Rt.c, style: { top: $ + "px", left: T + "px" }, children: [
5435
- /* @__PURE__ */ f.jsxs("s", { children: [
5436
- /* @__PURE__ */ f.jsx("i", { onClick: k, children: /* @__PURE__ */ f.jsx(
5402
+ c(s + "-" + fa(2, p)), o();
5403
+ }, N = (p) => O.y === x.y && O.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, M) => M + 1), $ = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, T = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
5404
+ return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
5405
+ /* @__PURE__ */ m.jsx("div", { className: St.o, onClick: o }),
5406
+ /* @__PURE__ */ m.jsxs("div", { className: St.c, style: { top: $ + "px", left: T + "px" }, children: [
5407
+ /* @__PURE__ */ m.jsxs("s", { children: [
5408
+ /* @__PURE__ */ m.jsx("i", { onClick: b, children: /* @__PURE__ */ m.jsx(
5437
5409
  "svg",
5438
5410
  {
5439
5411
  width: "16",
@@ -5441,11 +5413,11 @@ const da = ({ onOpen: a, date: i, onValue: c, position: u }) => {
5441
5413
  fill: "currentColor",
5442
5414
  viewBox: "0 0 24 24",
5443
5415
  xmlns: "http://www.w3.org/2000/svg",
5444
- children: /* @__PURE__ */ f.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
5416
+ children: /* @__PURE__ */ m.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
5445
5417
  }
5446
5418
  ) }),
5447
- /* @__PURE__ */ f.jsx("h2", { children: s }),
5448
- /* @__PURE__ */ f.jsx("i", { onClick: d, children: /* @__PURE__ */ f.jsx(
5419
+ /* @__PURE__ */ m.jsx("h2", { children: s }),
5420
+ /* @__PURE__ */ m.jsx("i", { onClick: d, children: /* @__PURE__ */ m.jsx(
5449
5421
  "svg",
5450
5422
  {
5451
5423
  width: "16",
@@ -5453,34 +5425,34 @@ const da = ({ onOpen: a, date: i, onValue: c, position: u }) => {
5453
5425
  fill: "currentColor",
5454
5426
  viewBox: "0 0 24 24",
5455
5427
  xmlns: "http://www.w3.org/2000/svg",
5456
- children: /* @__PURE__ */ f.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
5428
+ children: /* @__PURE__ */ m.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
5457
5429
  }
5458
5430
  ) })
5459
5431
  ] }),
5460
- /* @__PURE__ */ f.jsx("div", { "grid-month": "", children: A.map((p, I) => /* @__PURE__ */ f.jsx(
5432
+ /* @__PURE__ */ m.jsx("div", { "grid-month": "", children: A.map((p, M) => /* @__PURE__ */ m.jsx(
5461
5433
  "span",
5462
5434
  {
5463
5435
  onClick: () => {
5464
5436
  S(p);
5465
5437
  },
5466
5438
  color: N(p),
5467
- children: /* @__PURE__ */ f.jsx("b", { children: pa(p).abc })
5439
+ children: /* @__PURE__ */ m.jsx("b", { children: pa(p).abc })
5468
5440
  },
5469
- I
5441
+ M
5470
5442
  )) })
5471
5443
  ] })
5472
5444
  ] });
5473
5445
  };
5474
- function fa(a, i) {
5475
- i === void 0 ? (i = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
5446
+ function da(n, i) {
5447
+ i === void 0 ? (i = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
5476
5448
  let c = {
5477
- yyyy: a.getFullYear(),
5478
- yy: ("" + a.getFullYear()).slice(-2),
5479
- mm: ("0" + (a.getMonth() + 1)).slice(-2),
5480
- dd: ("0" + a.getDate()).slice(-2),
5481
- HH: ("0" + a.getHours()).slice(-2),
5482
- MM: ("0" + a.getMinutes()).slice(-2),
5483
- SS: ("0" + a.getSeconds()).slice(-2),
5449
+ yyyy: n.getFullYear(),
5450
+ yy: ("" + n.getFullYear()).slice(-2),
5451
+ mm: ("0" + (n.getMonth() + 1)).slice(-2),
5452
+ dd: ("0" + n.getDate()).slice(-2),
5453
+ HH: ("0" + n.getHours()).slice(-2),
5454
+ MM: ("0" + n.getMinutes()).slice(-2),
5455
+ SS: ("0" + n.getSeconds()).slice(-2),
5484
5456
  __: "      ",
5485
5457
  _: "    "
5486
5458
  };
@@ -5488,13 +5460,13 @@ function fa(a, i) {
5488
5460
  i = i.replace(u, c[u]);
5489
5461
  return i;
5490
5462
  }
5491
- function ma(a, i) {
5463
+ function fa(n, i) {
5492
5464
  let c = i + "";
5493
- for (; c.length < a; ) c = "0" + c;
5465
+ for (; c.length < n; ) c = "0" + c;
5494
5466
  return c;
5495
5467
  }
5496
- function pa(a) {
5497
- return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
5468
+ function pa(n) {
5469
+ return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
5498
5470
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
5499
5471
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
5500
5472
  3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
@@ -5507,10 +5479,10 @@ function pa(a) {
5507
5479
  10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
5508
5480
  11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
5509
5481
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
5510
- }[a];
5482
+ }[n];
5511
5483
  }
5512
- function Ta({
5513
- value: a,
5484
+ function Oa({
5485
+ value: n,
5514
5486
  onValue: i,
5515
5487
  name: c,
5516
5488
  placeholder: u = "",
@@ -5519,80 +5491,80 @@ function Ta({
5519
5491
  hide: O = !1,
5520
5492
  edit: x = !0,
5521
5493
  active: s = !0,
5522
- after: h = "",
5494
+ after: g = "",
5523
5495
  show: o = !0,
5524
5496
  course: d = 100,
5525
- view: k,
5497
+ view: b,
5526
5498
  type: S,
5527
5499
  onSave: N,
5528
5500
  className: A = "",
5529
5501
  isClear: $ = !1
5530
5502
  }) {
5531
- let T = !!(O && (a === "" || a === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), I = (R, g) => {
5532
- let b = document.createRange(), M = window.getSelection();
5533
- b.setStart(g.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), g.focus();
5534
- }, q = (R) => {
5503
+ let T = !!(O && (n === "" || n === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), M = (R, h) => {
5504
+ let k = document.createRange(), I = window.getSelection();
5505
+ k.setStart(h.childNodes[0], R), k.collapse(!0), I.removeAllRanges(), I.addRange(k), h.focus();
5506
+ }, K = (R) => {
5535
5507
  i == null || i({
5536
5508
  value: p(R.target.textContent) * d,
5537
5509
  name: c
5538
- }), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && I(R.target.textContent.length, R.target);
5539
- }, Y = (R) => {
5510
+ }), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && M(R.target.textContent.length, R.target);
5511
+ }, G = (R) => {
5540
5512
  te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }), i == null || i({
5541
5513
  value: p(R.target.textContent) * d,
5542
5514
  name: c
5543
- }), R.target.textContent = Gt(R.target.textContent);
5515
+ }), R.target.textContent = zt(R.target.textContent);
5544
5516
  }, L = (R) => {
5545
5517
  R.target.textContent = p(R.target.textContent);
5546
- }, U = (R) => {
5518
+ }, q = (R) => {
5547
5519
  R.currentTarget.previousElementSibling.textContent = "", i == null || i({
5548
5520
  value: 0,
5549
5521
  name: c
5550
5522
  });
5551
5523
  }, E = (R) => {
5552
5524
  R.key === "Enter" && R.preventDefault();
5553
- }, P = (R) => {
5554
- R.preventDefault(), navigator.clipboard.readText().then((g) => {
5555
- g = g.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, g);
5556
- }).catch((g) => {
5525
+ }, D = (R) => {
5526
+ R.preventDefault(), navigator.clipboard.readText().then((h) => {
5527
+ h = h.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, h);
5528
+ }).catch((h) => {
5557
5529
  });
5558
5530
  };
5559
5531
  if (!(x && s) && !o || !(x && s) && T) return "";
5560
5532
  const W = {};
5561
- return W.inputMode = "decimal", u && (W.placeholder = u), x && s && (W.edit = ""), /* @__PURE__ */ f.jsxs(
5533
+ return W.inputMode = "decimal", u && (W.placeholder = u), x && s && (W.edit = ""), /* @__PURE__ */ m.jsxs(
5562
5534
  "dl",
5563
5535
  {
5564
5536
  "data-field": "date",
5565
5537
  className: [z.l, A].filter((R) => R !== void 0).join(" "),
5566
5538
  children: [
5567
- v ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: v }) : "",
5568
- /* @__PURE__ */ f.jsx(
5539
+ v ? /* @__PURE__ */ m.jsx("dt", { className: z.t, children: v }) : "",
5540
+ /* @__PURE__ */ m.jsx(
5569
5541
  "dd",
5570
5542
  {
5571
5543
  ...W,
5572
5544
  className: [z.f, z.w].join(" "),
5573
- onInput: q,
5574
- onPaste: P,
5575
- onBlur: Y,
5545
+ onInput: K,
5546
+ onPaste: D,
5547
+ onBlur: G,
5576
5548
  onKeyDown: E,
5577
5549
  onFocus: L,
5578
5550
  contentEditable: x && s ? te.ContentEditable : "false",
5579
5551
  suppressContentEditableWarning: !0,
5580
- "data-after": h,
5581
- children: !u || a ? Gt(a) : ""
5552
+ "data-after": g,
5553
+ children: !u || n ? zt(n) : ""
5582
5554
  }
5583
5555
  ),
5584
- $ && /* @__PURE__ */ f.jsx("svg", { "action-type": "delete", onClick: U, viewBox: "0 0 24 24", children: /* @__PURE__ */ f.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
5585
- C ? /* @__PURE__ */ f.jsx("em", { children: C }) : ""
5556
+ $ && /* @__PURE__ */ m.jsx("svg", { "action-type": "delete", onClick: q, viewBox: "0 0 24 24", children: /* @__PURE__ */ m.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
5557
+ C ? /* @__PURE__ */ m.jsx("em", { children: C }) : ""
5586
5558
  ]
5587
5559
  }
5588
5560
  );
5589
5561
  }
5590
- function Gt(a, i) {
5591
- return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
5562
+ function zt(n, i) {
5563
+ return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
5592
5564
  }
5593
5565
  const he = {};
5594
- function Da(a) {
5595
- const [i, c] = K.useState({}), u = K.useRef(a);
5566
+ function Ta(n) {
5567
+ const [i, c] = U.useState({}), u = U.useRef(n);
5596
5568
  return he.u = (v) => {
5597
5569
  u.current = { ...u.current, [v.name]: v.value };
5598
5570
  }, he.n = (v) => {
@@ -5601,14 +5573,14 @@ function Da(a) {
5601
5573
  c(Date.now());
5602
5574
  }, [u.current, he.n];
5603
5575
  }
5604
- function Pa(a) {
5605
- he.u(a), a.reload && he.r();
5576
+ function Da(n) {
5577
+ he.u(n), n.reload && he.r();
5606
5578
  }
5607
- function Na() {
5579
+ function Pa() {
5608
5580
  he.r && he.r();
5609
5581
  }
5610
- function Fa(a) {
5611
- const [i, c] = K.useState({}), u = K.useRef(a);
5582
+ function Na(n) {
5583
+ const [i, c] = U.useState({}), u = U.useRef(n);
5612
5584
  return he.u = (v) => {
5613
5585
  u.current = { ...u.current, [v.name]: v.value };
5614
5586
  }, he.n = (v) => {
@@ -5623,23 +5595,23 @@ function Ft() {
5623
5595
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
5624
5596
  }
5625
5597
  Ft().elcrm || (Ft().elcrm = {});
5626
- Object.assign(Ft().elcrm, { form: Zt.version });
5598
+ Object.assign(Ft().elcrm, { form: Vt.version });
5627
5599
  export {
5628
- Ea as Date,
5629
- Ca as Mask,
5630
- wa as Modal,
5631
- Ta as Money,
5632
- Oa as Month,
5633
- Sa as Note,
5634
- xa as Number,
5635
- ba as Options,
5636
- ja as Password,
5637
- Ra as Phone,
5638
- ga as Progress,
5639
- ka as Select,
5640
- ha as String,
5641
- Na as runReload,
5642
- Pa as setValue,
5643
- Da as useData,
5644
- Fa as useError
5600
+ Ra as Date,
5601
+ xa as Mask,
5602
+ ka as Modal,
5603
+ Oa as Money,
5604
+ Ea as Month,
5605
+ Ca as Note,
5606
+ ja as Number,
5607
+ ha as Options,
5608
+ wa as Password,
5609
+ Sa as Phone,
5610
+ va as Progress,
5611
+ ba as Select,
5612
+ ga as String,
5613
+ Pa as runReload,
5614
+ Da as setValue,
5615
+ Ta as useData,
5616
+ Na as useError
5645
5617
  };