@elcrm/form 0.0.58 → 0.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
- import R, { forwardRef as qt, useEffect as Kt } from "react";
1
+ import S, { forwardRef as qt, useEffect as Kt } from "react";
2
2
  import { createPortal as Nt } from "react-dom";
3
- import './index.css';const Gt = "0.0.58", Yt = {
3
+ import './index.css';const Gt = "0.0.60", Yt = {
4
4
  version: Gt
5
5
  };
6
6
  var Rt = { exports: {} }, pt = {};
@@ -17,13 +17,13 @@ var Ft;
17
17
  function zt() {
18
18
  if (Ft) return pt;
19
19
  Ft = 1;
20
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
20
+ var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
21
21
  function C(b, l, p) {
22
- var n, s = {}, w = null, j = null;
22
+ var a, s = {}, w = null, j = null;
23
23
  p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
24
- for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
25
- if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
26
- return { $$typeof: o, type: b, key: w, ref: j, props: s, _owner: d.current };
24
+ for (a in l) c.call(l, a) && !k.hasOwnProperty(a) && (s[a] = l[a]);
25
+ if (b && b.defaultProps) for (a in l = b.defaultProps, l) s[a] === void 0 && (s[a] = l[a]);
26
+ return { $$typeof: _, type: b, key: w, ref: j, props: s, _owner: d.current };
27
27
  }
28
28
  return pt.Fragment = i, pt.jsx = C, pt.jsxs = C, pt;
29
29
  }
@@ -40,24 +40,24 @@ var yt = {};
40
40
  var Mt;
41
41
  function Ht() {
42
42
  return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
43
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
43
+ var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
44
44
  function D(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
- var t = F && e[F] || e[U];
47
+ var t = F && e[F] || e[K];
48
48
  return typeof t == "function" ? t : null;
49
49
  }
50
- var O = 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 y(e) {
52
52
  {
53
- for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), _ = 1; _ < t; _++)
54
- r[_ - 1] = arguments[_];
53
+ for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
54
+ r[o - 1] = arguments[o];
55
55
  P("error", e, r);
56
56
  }
57
57
  }
58
58
  function P(e, t, r) {
59
59
  {
60
- var _ = O.ReactDebugCurrentFrame, h = _.getStackAddendum();
60
+ var o = T.ReactDebugCurrentFrame, h = o.getStackAddendum();
61
61
  h !== "" && (t += "%s", r = r.concat([h]));
62
62
  var x = r.map(function(m) {
63
63
  return String(m);
@@ -65,19 +65,19 @@ function Ht() {
65
65
  x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
66
66
  }
67
67
  }
68
- var K = !1, I = !1, $ = !1, q = !1, W = !1, N;
68
+ var q = !1, A = !1, L = !1, M = !1, $ = !1, N;
69
69
  N = Symbol.for("react.module.reference");
70
70
  function E(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e === p || e === n || q || e === j || K || I || $ || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
71
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === a || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
75
  e.$$typeof === N || e.getModuleId !== void 0));
76
76
  }
77
77
  function G(e, t, r) {
78
- var _ = e.displayName;
79
- if (_)
80
- return _;
78
+ var o = e.displayName;
79
+ if (o)
80
+ return o;
81
81
  var h = t.displayName || t.name || "";
82
82
  return h !== "" ? r + "(" + h + ")" : r;
83
83
  }
@@ -102,7 +102,7 @@ function Ht() {
102
102
  return "StrictMode";
103
103
  case p:
104
104
  return "Suspense";
105
- case n:
105
+ case a:
106
106
  return "SuspenseList";
107
107
  }
108
108
  if (typeof e == "object")
@@ -116,8 +116,8 @@ function Ht() {
116
116
  case l:
117
117
  return G(e, e.render, "ForwardRef");
118
118
  case s:
119
- var _ = e.displayName || null;
120
- return _ !== null ? _ : v(e.type) || "Memo";
119
+ var o = e.displayName || null;
120
+ return o !== null ? o : v(e.type) || "Memo";
121
121
  case w: {
122
122
  var h = e, x = h._payload, m = h._init;
123
123
  try {
@@ -129,14 +129,14 @@ function Ht() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var M = Object.assign, B = 0, te, H, ae, ke, se, we, xe;
132
+ var I = Object.assign, W = 0, te, H, ne, ke, se, we, xe;
133
133
  function Ce() {
134
134
  }
135
135
  Ce.__reactDisabledLog = !0;
136
136
  function Ue() {
137
137
  {
138
- if (B === 0) {
139
- te = console.log, H = console.info, ae = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
138
+ if (W === 0) {
139
+ te = console.log, H = console.info, ne = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
140
140
  var e = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
@@ -153,53 +153,53 @@ function Ht() {
153
153
  groupEnd: e
154
154
  });
155
155
  }
156
- B++;
156
+ W++;
157
157
  }
158
158
  }
159
159
  function qe() {
160
160
  {
161
- if (B--, B === 0) {
161
+ if (W--, W === 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: te
170
170
  }),
171
- info: M({}, e, {
171
+ info: I({}, e, {
172
172
  value: H
173
173
  }),
174
- warn: M({}, e, {
175
- value: ae
174
+ warn: I({}, e, {
175
+ value: ne
176
176
  }),
177
- error: M({}, e, {
177
+ error: I({}, e, {
178
178
  value: ke
179
179
  }),
180
- group: M({}, e, {
180
+ group: I({}, e, {
181
181
  value: se
182
182
  }),
183
- groupCollapsed: M({}, e, {
183
+ groupCollapsed: I({}, e, {
184
184
  value: we
185
185
  }),
186
- groupEnd: M({}, e, {
186
+ groupEnd: I({}, e, {
187
187
  value: xe
188
188
  })
189
189
  });
190
190
  }
191
- B < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var ce = O.ReactCurrentDispatcher, ue;
195
- function ne(e, t, r) {
194
+ var ce = T.ReactCurrentDispatcher, ue;
195
+ function ae(e, t, r) {
196
196
  {
197
197
  if (ue === void 0)
198
198
  try {
199
199
  throw Error();
200
200
  } catch (h) {
201
- var _ = h.stack.trim().match(/\n( *(at )?)/);
202
- ue = _ && _[1] || "";
201
+ var o = h.stack.trim().match(/\n( *(at )?)/);
202
+ ue = o && o[1] || "";
203
203
  }
204
204
  return `
205
205
  ` + ue + e;
@@ -218,7 +218,7 @@ function Ht() {
218
218
  if (r !== void 0)
219
219
  return r;
220
220
  }
221
- var _;
221
+ var o;
222
222
  de = !0;
223
223
  var h = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
@@ -236,49 +236,49 @@ function Ht() {
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
238
  Reflect.construct(m, []);
239
- } catch (L) {
240
- _ = L;
239
+ } catch (U) {
240
+ o = U;
241
241
  }
242
242
  Reflect.construct(e, [], m);
243
243
  } else {
244
244
  try {
245
245
  m.call();
246
- } catch (L) {
247
- _ = L;
246
+ } catch (U) {
247
+ o = U;
248
248
  }
249
249
  e.call(m.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
- } catch (L) {
255
- _ = L;
254
+ } catch (U) {
255
+ o = U;
256
256
  }
257
257
  e();
258
258
  }
259
- } catch (L) {
260
- if (L && _ && typeof L.stack == "string") {
261
- for (var u = L.stack.split(`
262
- `), A = _.stack.split(`
263
- `), S = u.length - 1, T = A.length - 1; S >= 1 && T >= 0 && u[S] !== A[T]; )
264
- T--;
265
- for (; S >= 1 && T >= 0; S--, T--)
266
- if (u[S] !== A[T]) {
267
- if (S !== 1 || T !== 1)
259
+ } catch (U) {
260
+ if (U && o && typeof U.stack == "string") {
261
+ for (var u = U.stack.split(`
262
+ `), B = o.stack.split(`
263
+ `), R = u.length - 1, O = B.length - 1; R >= 1 && O >= 0 && u[R] !== B[O]; )
264
+ O--;
265
+ for (; R >= 1 && O >= 0; R--, O--)
266
+ if (u[R] !== B[O]) {
267
+ if (R !== 1 || O !== 1)
268
268
  do
269
- if (S--, T--, T < 0 || u[S] !== A[T]) {
269
+ if (R--, O--, O < 0 || u[R] !== B[O]) {
270
270
  var Y = `
271
- ` + u[S].replace(" at new ", " at ");
271
+ ` + u[R].replace(" at new ", " at ");
272
272
  return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
273
273
  }
274
- while (S >= 1 && T >= 0);
274
+ while (R >= 1 && O >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
279
  de = !1, ce.current = x, qe(), Error.prepareStackTrace = h;
280
280
  }
281
- var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
281
+ var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
282
282
  return typeof e == "function" && oe.set(e, J), J;
283
283
  }
284
284
  function Ge(e, t, r) {
@@ -294,12 +294,12 @@ function Ht() {
294
294
  if (typeof e == "function")
295
295
  return je(e, Ye(e));
296
296
  if (typeof e == "string")
297
- return ne(e);
297
+ return ae(e);
298
298
  switch (e) {
299
299
  case p:
300
- return ne("Suspense");
301
- case n:
302
- return ne("SuspenseList");
300
+ return ae("Suspense");
301
+ case a:
302
+ return ae("SuspenseList");
303
303
  }
304
304
  if (typeof e == "object")
305
305
  switch (e.$$typeof) {
@@ -308,7 +308,7 @@ function Ht() {
308
308
  case s:
309
309
  return _e(e.type, t, r);
310
310
  case w: {
311
- var _ = e, h = _._payload, x = _._init;
311
+ var o = e, h = o._payload, x = o._init;
312
312
  try {
313
313
  return _e(x(h), t, r);
314
314
  } catch {
@@ -317,7 +317,7 @@ function Ht() {
317
317
  }
318
318
  return "";
319
319
  }
320
- var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = O.ReactDebugCurrentFrame;
320
+ var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
321
321
  function ie(e) {
322
322
  if (e) {
323
323
  var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
@@ -325,7 +325,7 @@ function Ht() {
325
325
  } else
326
326
  Se.setExtraStackFrame(null);
327
327
  }
328
- function ze(e, t, r, _, h) {
328
+ function ze(e, t, r, o, h) {
329
329
  {
330
330
  var x = Function.call.bind(ee);
331
331
  for (var m in e)
@@ -333,14 +333,14 @@ function Ht() {
333
333
  var u = void 0;
334
334
  try {
335
335
  if (typeof e[m] != "function") {
336
- var A = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw A.name = "Invariant Violation", A;
336
+ var B = Error((o || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw B.name = "Invariant Violation", B;
338
338
  }
339
- u = e[m](t, m, _, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (S) {
341
- u = S;
339
+ u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ } catch (R) {
341
+ u = R;
342
342
  }
343
- u && !(u instanceof Error) && (ie(h), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
343
+ u && !(u instanceof Error) && (ie(h), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
344
344
  }
345
345
  }
346
346
  }
@@ -368,7 +368,7 @@ function Ht() {
368
368
  if (Ze(e))
369
369
  return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
370
370
  }
371
- var Oe = O.ReactCurrentOwner, Ve = {
371
+ var Oe = T.ReactCurrentOwner, Ve = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
@@ -415,10 +415,10 @@ function Ht() {
415
415
  });
416
416
  }
417
417
  }
418
- var at = function(e, t, r, _, h, x, m) {
418
+ var nt = function(e, t, r, o, h, x, m) {
419
419
  var u = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
- $$typeof: o,
421
+ $$typeof: _,
422
422
  // Built-in properties that belong on the element
423
423
  type: e,
424
424
  key: t,
@@ -436,7 +436,7 @@ function Ht() {
436
436
  configurable: !1,
437
437
  enumerable: !1,
438
438
  writable: !1,
439
- value: _
439
+ value: o
440
440
  }), Object.defineProperty(u, "_source", {
441
441
  configurable: !1,
442
442
  enumerable: !1,
@@ -444,25 +444,25 @@ function Ht() {
444
444
  value: h
445
445
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
446
446
  };
447
- function nt(e, t, r, _, h) {
447
+ function at(e, t, r, o, h) {
448
448
  {
449
- var x, m = {}, u = null, A = null;
450
- r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (A = t.ref, et(t, h));
449
+ var x, m = {}, u = null, B = null;
450
+ r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (B = t.ref, et(t, h));
451
451
  for (x in t)
452
452
  ee.call(t, x) && !Ve.hasOwnProperty(x) && (m[x] = t[x]);
453
453
  if (e && e.defaultProps) {
454
- var S = e.defaultProps;
455
- for (x in S)
456
- m[x] === void 0 && (m[x] = S[x]);
454
+ var R = e.defaultProps;
455
+ for (x in R)
456
+ m[x] === void 0 && (m[x] = R[x]);
457
457
  }
458
- if (u || A) {
459
- var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
- u && tt(m, T), A && rt(m, T);
458
+ if (u || B) {
459
+ var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
+ u && tt(m, O), B && rt(m, O);
461
461
  }
462
- return at(e, u, A, h, _, Oe.current, m);
462
+ return nt(e, u, B, h, o, Oe.current, m);
463
463
  }
464
464
  }
465
- var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
465
+ var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
466
466
  function V(e) {
467
467
  if (e) {
468
468
  var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
@@ -473,7 +473,7 @@ function Ht() {
473
473
  var pe;
474
474
  pe = !1;
475
475
  function ye(e) {
476
- return typeof e == "object" && e !== null && e.$$typeof === o;
476
+ return typeof e == "object" && e !== null && e.$$typeof === _;
477
477
  }
478
478
  function Fe() {
479
479
  {
@@ -512,8 +512,8 @@ Check the top-level render call using <` + r + ">.");
512
512
  if (Me[r])
513
513
  return;
514
514
  Me[r] = !0;
515
- var _ = "";
516
- e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, _), V(null);
515
+ var o = "";
516
+ e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), V(null);
517
517
  }
518
518
  }
519
519
  function Ae(e, t) {
@@ -522,8 +522,8 @@ Check the top-level render call using <` + r + ">.");
522
522
  return;
523
523
  if (fe(e))
524
524
  for (var r = 0; r < e.length; r++) {
525
- var _ = e[r];
526
- ye(_) && Ie(_, t);
525
+ var o = e[r];
526
+ ye(o) && Ie(o, t);
527
527
  }
528
528
  else if (ye(e))
529
529
  e._store && (e._store.validated = !0);
@@ -550,8 +550,8 @@ Check the top-level render call using <` + r + ">.");
550
550
  else
551
551
  return;
552
552
  if (r) {
553
- var _ = v(t);
554
- ze(r, e.props, "prop", _, e);
553
+ var o = v(t);
554
+ ze(r, e.props, "prop", o, e);
555
555
  } else if (t.PropTypes !== void 0 && !pe) {
556
556
  pe = !0;
557
557
  var h = v(t);
@@ -563,9 +563,9 @@ Check the top-level render call using <` + r + ">.");
563
563
  function st(e) {
564
564
  {
565
565
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
566
- var _ = t[r];
567
- if (_ !== "children" && _ !== "key") {
568
- V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), V(null);
566
+ var o = t[r];
567
+ if (o !== "children" && o !== "key") {
568
+ V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(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 $e = {};
576
- function Be(e, t, r, _, h, x) {
576
+ function Be(e, t, r, o, h, x) {
577
577
  {
578
578
  var m = E(e);
579
579
  if (!m) {
580
580
  var u = "";
581
581
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var A = ot();
583
- A ? u += A : u += Fe();
584
- var S;
585
- e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
582
+ var B = ot();
583
+ B ? u += B : u += Fe();
584
+ var R;
585
+ e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
586
586
  }
587
- var T = nt(e, t, r, h, x);
588
- if (T == null)
589
- return T;
587
+ var O = at(e, t, r, h, x);
588
+ if (O == null)
589
+ return O;
590
590
  if (m) {
591
591
  var Y = t.children;
592
592
  if (Y !== void 0)
593
- if (_)
593
+ if (o)
594
594
  if (fe(Y)) {
595
595
  for (var X = 0; X < Y.length; X++)
596
596
  Ae(Y[X], e);
@@ -601,11 +601,11 @@ Check the top-level render call using <` + r + ">.");
601
601
  Ae(Y, e);
602
602
  }
603
603
  if (ee.call(t, "key")) {
604
- var J = v(e), L = Object.keys(t).filter(function(mt) {
604
+ var J = v(e), U = Object.keys(t).filter(function(mt) {
605
605
  return mt !== "key";
606
- }), ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
606
+ }), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
607
607
  if (!$e[J + ve]) {
608
- var ft = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
608
+ var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
609
609
  y(`A props object containing a "key" prop is being spread into JSX:
610
610
  let props = %s;
611
611
  <%s {...props} />
@@ -614,7 +614,7 @@ React keys must be passed directly to JSX without using spread:
614
614
  <%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
615
615
  }
616
616
  }
617
- return e === c ? st(T) : it(T), T;
617
+ return e === c ? st(O) : it(O), O;
618
618
  }
619
619
  }
620
620
  function lt(e, t, r) {
@@ -629,7 +629,7 @@ React keys must be passed directly to JSX without using spread:
629
629
  }
630
630
  process.env.NODE_ENV === "production" ? Rt.exports = zt() : Rt.exports = Ht();
631
631
  var f = Rt.exports;
632
- function da({ name: a, value: o, title: i, style: c, className: d }) {
632
+ function fn({ name: n, value: _, title: i, style: c, className: d }) {
633
633
  let k = {
634
634
  field: "progress"
635
635
  };
@@ -649,21 +649,21 @@ const Jt = "_l_r5ldz_1", Zt = "_f_r5ldz_25", Vt = "_n_r5ldz_43", Xt = "_w_r5ldz_
649
649
  e: rr
650
650
  };
651
651
  let Z = {};
652
- Z.KeyDown = (a) => {
653
- a.key === "Enter" && a.preventDefault();
652
+ Z.KeyDown = (n) => {
653
+ n.key === "Enter" && n.preventDefault();
654
654
  };
655
- Z.PasteOne = (a) => {
656
- a.preventDefault(), navigator.clipboard.readText().then((o) => {
657
- o = o.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, o);
658
- }).catch((o) => {
655
+ Z.PasteOne = (n) => {
656
+ n.preventDefault(), navigator.clipboard.readText().then((_) => {
657
+ _ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
658
+ }).catch((_) => {
659
659
  });
660
660
  };
661
- Z.Paste = (a, o) => {
662
- o.preventDefault(), navigator.clipboard.readText().then((i) => {
663
- if (a) {
664
- let c = o.target.textContent.length;
665
- if (c >= a) return;
666
- a -= c, i = i.slice(0, a);
661
+ Z.Paste = (n, _) => {
662
+ _.preventDefault(), navigator.clipboard.readText().then((i) => {
663
+ if (n) {
664
+ let c = _.target.textContent.length;
665
+ if (c >= n) return;
666
+ n -= c, i = i.slice(0, n);
667
667
  }
668
668
  window.document.execCommand(
669
669
  "insertText",
@@ -673,81 +673,81 @@ Z.Paste = (a, o) => {
673
673
  }).catch((i) => {
674
674
  });
675
675
  };
676
- Z.Focus = (a) => {
677
- a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
676
+ Z.Focus = (n) => {
677
+ n.target.textContent.length === 0 && (n.target.innerHTML = "<br>");
678
678
  };
679
- Z.Blur = (a) => {
680
- a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
679
+ Z.Blur = (n) => {
680
+ n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
681
681
  };
682
682
  Z.ContentEditable = "plaintext-only";
683
- const ar = "_n_1ery1_2", nr = "_e_1ery1_8", or = "_s_1ery1_11", _r = "_r_1ery1_14", We = {
684
- n: ar,
685
- e: nr,
683
+ const nr = "_n_1ery1_2", ar = "_e_1ery1_8", or = "_s_1ery1_11", _r = "_r_1ery1_14", We = {
684
+ n: nr,
685
+ e: ar,
686
686
  s: or,
687
687
  r: _r,
688
688
  с: "_с_1ery1_17"
689
689
  };
690
690
  let be = {};
691
- function vt({ data: a }) {
692
- let [o, i] = R.useState("show");
693
- R.useEffect(() => {
694
- a.hide && (setTimeout(function() {
691
+ function vt({ data: n }) {
692
+ let [_, i] = S.useState("show");
693
+ S.useEffect(() => {
694
+ n.hide && (setTimeout(function() {
695
695
  i("hide");
696
696
  }, 1800), setTimeout(function() {
697
- be.del(a.key);
697
+ be.del(n.key);
698
698
  }, 2500));
699
- }, [a.key]);
699
+ }, [n.key]);
700
700
  let c, d, k;
701
- switch (a.type) {
701
+ switch (n.type) {
702
702
  case "error":
703
- c = /* @__PURE__ */ R.createElement(Le.error, null), d = "Ошибка:", k = We.e;
703
+ c = /* @__PURE__ */ S.createElement(Le.error, null), d = "Ошибка:", k = We.e;
704
704
  break;
705
705
  case "success":
706
- c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Информация:", k = We.s;
706
+ c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Информация:", k = We.s;
707
707
  break;
708
708
  case "copy":
709
- c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Копирование:", k = We.с;
709
+ c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Копирование:", k = We.с;
710
710
  break;
711
711
  case "remark":
712
- c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Подсказка:", k = We.r;
712
+ c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Подсказка:", k = We.r;
713
713
  break;
714
714
  default:
715
- c = /* @__PURE__ */ R.createElement(Le.success, null), d = "Предупреждение:", k = We.с;
715
+ c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Предупреждение:", k = We.с;
716
716
  break;
717
717
  }
718
- return /* @__PURE__ */ R.createElement("li", { className: k, "data-status": o }, c, /* @__PURE__ */ R.createElement("b", null, d), /* @__PURE__ */ R.createElement("p", null, a.text));
718
+ return /* @__PURE__ */ S.createElement("li", { className: k, "data-status": _ }, c, /* @__PURE__ */ S.createElement("b", null, d), /* @__PURE__ */ S.createElement("p", null, n.text));
719
719
  }
720
- function ir({ data: a }) {
721
- let [o, i] = R.useState("show");
722
- return R.useEffect(() => {
723
- a.hide && (setTimeout(function() {
720
+ function ir({ data: n }) {
721
+ let [_, i] = S.useState("show");
722
+ return S.useEffect(() => {
723
+ n.hide && (setTimeout(function() {
724
724
  i("hide");
725
725
  }, 1800), setTimeout(function() {
726
- be.del(a.key);
726
+ be.del(n.key);
727
727
  }, 2500));
728
- }, [a.key]), /* @__PURE__ */ R.createElement("li", { className: "item", "data-status": o }, a.text);
728
+ }, [n.key]), /* @__PURE__ */ S.createElement("li", { className: "item", "data-status": _ }, n.text);
729
729
  }
730
730
  const Le = {};
731
- Le.error = () => /* @__PURE__ */ R.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ R.createElement(
731
+ Le.error = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ S.createElement(
732
732
  "path",
733
733
  {
734
734
  d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
735
735
  fill: "#bb2014"
736
736
  }
737
- ), /* @__PURE__ */ R.createElement(
737
+ ), /* @__PURE__ */ S.createElement(
738
738
  "path",
739
739
  {
740
740
  d: "M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",
741
741
  fill: "#fff"
742
742
  }
743
743
  ));
744
- Le.success = () => /* @__PURE__ */ R.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ R.createElement(
744
+ Le.success = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ S.createElement(
745
745
  "path",
746
746
  {
747
747
  d: "M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",
748
748
  fill: "#367738"
749
749
  }
750
- ), /* @__PURE__ */ R.createElement(
750
+ ), /* @__PURE__ */ S.createElement(
751
751
  "path",
752
752
  {
753
753
  d: "M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",
@@ -755,66 +755,66 @@ Le.success = () => /* @__PURE__ */ R.createElement("svg", { viewBox: "0 0 24 24"
755
755
  }
756
756
  ));
757
757
  var xt;
758
- ((a) => {
759
- function o({ className: l }) {
760
- let [p, n] = R.useState([]);
758
+ ((n) => {
759
+ function _({ className: l }) {
760
+ let [p, a] = S.useState([]);
761
761
  return be.set = (s) => {
762
- n([...p, s]);
762
+ a([...p, s]);
763
763
  }, be.del = (s) => {
764
- n(p.filter((w) => w.key !== s));
765
- }, p.length === 0 ? "" : /* @__PURE__ */ R.createElement("ul", { className: [We.n, l].filter((s) => s).join(" ") }, p.map((s) => s.item));
764
+ a(p.filter((w) => w.key !== s));
765
+ }, p.length === 0 ? "" : /* @__PURE__ */ S.createElement("ul", { className: [We.n, l].filter((s) => s).join(" ") }, p.map((s) => s.item));
766
766
  }
767
- a.Init = o;
767
+ n.Init = _;
768
768
  function i(l, p = !0) {
769
- let n = Date.now(), s = { key: n, text: l, hide: p, type: "error" };
769
+ let a = Date.now(), s = { key: a, text: l, hide: p, type: "error" };
770
770
  be.set({
771
- item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
772
- key: n
771
+ item: /* @__PURE__ */ S.createElement(vt, { key: a, data: s }),
772
+ key: a
773
773
  });
774
774
  }
775
- a.Error = i;
775
+ n.Error = i;
776
776
  function c(l, p = !0) {
777
- let n = Date.now(), s = { key: n, text: l, hide: p, type: "success" };
777
+ let a = Date.now(), s = { key: a, text: l, hide: p, type: "success" };
778
778
  be.set({
779
- item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
780
- key: n
779
+ item: /* @__PURE__ */ S.createElement(vt, { key: a, data: s }),
780
+ key: a
781
781
  });
782
782
  }
783
- a.Success = c;
783
+ n.Success = c;
784
784
  function d(l, p = !0) {
785
- let n = Date.now(), s = { key: n, hide: p, text: l };
786
- be.set({ item: /* @__PURE__ */ R.createElement(ir, { key: n, data: s }), key: n });
785
+ let a = Date.now(), s = { key: a, hide: p, text: l };
786
+ be.set({ item: /* @__PURE__ */ S.createElement(ir, { key: a, data: s }), key: a });
787
787
  }
788
- a.Custom = d;
788
+ n.Custom = d;
789
789
  function k(l) {
790
- let p = Date.now(), n = { key: p, hide: !0, ...l };
790
+ let p = Date.now(), a = { key: p, hide: !0, ...l };
791
791
  be.set({
792
- item: /* @__PURE__ */ R.createElement(vt, { key: p, data: n }),
792
+ item: /* @__PURE__ */ S.createElement(vt, { key: p, data: a }),
793
793
  key: p
794
794
  });
795
795
  }
796
- a.Send = k;
796
+ n.Send = k;
797
797
  function C(l, p = !0) {
798
- let n = Date.now(), s = { key: n, text: l, hide: p, type: "remark" };
798
+ let a = Date.now(), s = { key: a, text: l, hide: p, type: "remark" };
799
799
  be.set({
800
- item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
801
- key: n
800
+ item: /* @__PURE__ */ S.createElement(vt, { key: a, data: s }),
801
+ key: a
802
802
  });
803
803
  }
804
- a.Remark = C;
804
+ n.Remark = C;
805
805
  function b(l, p = !0) {
806
- let n = Date.now(), s = { key: n, text: l, hide: p, type: "copy" };
806
+ let a = Date.now(), s = { key: a, text: l, hide: p, type: "copy" };
807
807
  be.set({
808
- item: /* @__PURE__ */ R.createElement(vt, { key: n, data: s }),
809
- key: n
808
+ item: /* @__PURE__ */ S.createElement(vt, { key: a, data: s }),
809
+ key: a
810
810
  });
811
811
  }
812
- a.Copy = b;
812
+ n.Copy = b;
813
813
  })(xt || (xt = {}));
814
814
  const he = qt(
815
815
  ({
816
- element_blok: a,
817
- element_input: o,
816
+ element_blok: n,
817
+ element_input: _,
818
818
  type: i = "input",
819
819
  title: c,
820
820
  error: d,
@@ -825,8 +825,7 @@ const he = qt(
825
825
  "dl",
826
826
  {
827
827
  "data-field": i,
828
- ...o.props,
829
- className: [Q.l, ...a.className].filter((p) => p !== void 0).join(" "),
828
+ className: [Q.l, ...n.className].filter((p) => p !== void 0).join(" "),
830
829
  children: [
831
830
  c ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: c }) : "",
832
831
  k,
@@ -836,10 +835,10 @@ const he = qt(
836
835
  ref: l,
837
836
  className: [
838
837
  Q.f,
839
- ...o.className,
838
+ ..._.className,
840
839
  d && d.length > 0 ? Q.e : ""
841
840
  ].join(" "),
842
- ...o.props,
841
+ ..._.props,
843
842
  children: b
844
843
  }
845
844
  ),
@@ -848,9 +847,9 @@ const he = qt(
848
847
  }
849
848
  )
850
849
  );
851
- function fa({
852
- value: a = "",
853
- onValue: o,
850
+ function mn({
851
+ value: n = "",
852
+ onValue: _,
854
853
  onSave: i,
855
854
  name: c,
856
855
  format: d = "+_(___) ___-__-__",
@@ -859,33 +858,33 @@ function fa({
859
858
  error: b = "",
860
859
  hide: l = !1,
861
860
  edit: p = !0,
862
- active: n = !0,
861
+ active: a = !0,
863
862
  after: s = "",
864
863
  show: w = !0,
865
864
  view: j,
866
865
  className: F = ""
867
866
  }) {
868
- p = p !== void 0 ? p : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(p && n), R.useRef(null);
869
- let D = d, O = !0, y = 0, P = (g, v) => {
870
- let M = document.createRange(), B = window.getSelection();
871
- M.setStart(v.childNodes[0], g), M.collapse(!0), B.removeAllRanges(), B.addRange(M), v.focus();
872
- }, K = (g) => {
867
+ p = p !== void 0 ? p : !0, a = a !== void 0 ? a : !0, l = !!(l && (n === "" || n === void 0)) && !(p && a), S.useRef(null);
868
+ let D = d, T = !0, y = 0, P = (g, v) => {
869
+ let I = document.createRange(), W = window.getSelection();
870
+ I.setStart(v.childNodes[0], g), I.collapse(!0), W.removeAllRanges(), W.addRange(I), v.focus();
871
+ }, q = (g) => {
873
872
  g.preventDefault(), navigator.clipboard.readText().then((v) => {
874
873
  window.document.execCommand("insertText", !1, v);
875
874
  }).catch((v) => {
876
875
  });
877
- }, I = (g) => {
878
- let v = 0, M = "", B = g.replace(/\D/g, "");
879
- B === "" && (O = !0);
880
- let te = B.split(""), H = "";
876
+ }, A = (g) => {
877
+ let v = 0, I = "", W = g.replace(/\D/g, "");
878
+ W === "" && (T = !0);
879
+ let te = W.split(""), H = "";
881
880
  te.forEach((se) => {
882
- O && (H += se, O && (y = ("" + H).length, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""), y > ("" + H).length && (O = !0, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
881
+ T && (H += se, T && (y = ("" + H).length, D = d.replace(new RegExp("[0-9]", "g"), "_"), I = ""), y > ("" + H).length && (T = !0, D = d.replace(new RegExp("[0-9]", "g"), "_"), I = ""));
883
882
  });
884
- let ae = D.replace(/\D/g, "");
885
- return ae.length >= B.length && (B = ae), { q: D.replace(/[_\d]/g, function() {
886
- return B.charAt(v++) || "_";
887
- }), i: v, v: B, f: M };
888
- }, $ = (g) => {
883
+ let ne = D.replace(/\D/g, "");
884
+ return ne.length >= W.length && (W = ne), { q: D.replace(/[_\d]/g, function() {
885
+ return W.charAt(v++) || "_";
886
+ }), i: v, v: W, f: I };
887
+ }, L = (g) => {
889
888
  g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
890
889
  function() {
891
890
  xt.Copy("Данные в буфер обмене");
@@ -893,9 +892,9 @@ function fa({
893
892
  function(v) {
894
893
  }
895
894
  );
896
- }, q = I(a), W = (g) => {
897
- let v = I(g.target.textContent);
898
- g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target), o && o({ value: v.q.replace(/\D/g, ""), name: c });
895
+ }, M = A(n), $ = (g) => {
896
+ let v = A(g.target.textContent);
897
+ g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target), _ && _({ value: v.q.replace(/\D/g, ""), name: c });
899
898
  }, N = (g) => {
900
899
  g.key === "Enter" && g.preventDefault();
901
900
  };
@@ -906,7 +905,7 @@ function fa({
906
905
  });
907
906
  };
908
907
  let G = {};
909
- return p && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", k && (G.placeholder = k), s && (G.after = s), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
908
+ return p && a ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", k && (G.placeholder = k), s && (G.after = s), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
910
909
  he,
911
910
  {
912
911
  type: "input",
@@ -916,14 +915,14 @@ function fa({
916
915
  children: /* @__PURE__ */ f.jsx(
917
916
  "div",
918
917
  {
919
- onPaste: K,
920
- onInput: W,
918
+ onPaste: q,
919
+ onInput: $,
921
920
  onKeyDown: N,
922
- onContextMenu: $,
921
+ onContextMenu: L,
923
922
  onBlur: E,
924
923
  suppressContentEditableWarning: !0,
925
924
  ...G,
926
- children: q.q
925
+ children: M.q
927
926
  }
928
927
  )
929
928
  }
@@ -933,9 +932,9 @@ const sr = "_o_1c9e1_1", lr = "_c_1c9e1_11", Ct = {
933
932
  o: sr,
934
933
  c: lr
935
934
  };
936
- function ma({
937
- value: a,
938
- onValue: o,
935
+ function pn({
936
+ value: n,
937
+ onValue: _,
939
938
  name: i,
940
939
  error: c,
941
940
  icon: d,
@@ -945,20 +944,20 @@ function ma({
945
944
  placeholder: l = "",
946
945
  className: p
947
946
  }) {
948
- let [n, s] = R.useState(a);
949
- const w = R.useRef(null), [j, F] = R.useState(!1);
950
- R.useEffect(() => {
951
- s(a);
952
- }, [a]);
953
- let U = (y) => {
954
- s(y), o && o({ value: y, name: i });
947
+ let [a, s] = S.useState(n);
948
+ const w = S.useRef(null), [j, F] = S.useState(!1);
949
+ S.useEffect(() => {
950
+ s(n);
951
+ }, [n]);
952
+ let K = (y) => {
953
+ s(y), _ && _({ value: y, name: i });
955
954
  }, D = (y) => {
956
955
  if (!k || !C) return;
957
- const P = y.target.getBoundingClientRect(), K = P.left, I = P.top;
958
- w.position = { x: K, y: I }, F(!0);
956
+ const P = y.target.getBoundingClientRect(), q = P.left, A = P.top;
957
+ w.position = { x: q, y: A }, F(!0);
959
958
  };
960
- const O = {};
961
- return l && (O.placeholder = l), d || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
959
+ const T = {};
960
+ return l && (T.placeholder = l), d || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
962
961
  /* @__PURE__ */ f.jsx(
963
962
  he,
964
963
  {
@@ -966,7 +965,7 @@ function ma({
966
965
  title: b,
967
966
  element_blok: { className: [p] },
968
967
  element_input: { className: [Q.w] },
969
- children: /* @__PURE__ */ f.jsx("div", { onClick: D, ...O, children: ur(n, "mm.yyyy") })
968
+ children: /* @__PURE__ */ f.jsx("div", { onClick: D, ...T, children: ur(a, "mm.yyyy") })
970
969
  }
971
970
  ),
972
971
  j && Nt(
@@ -974,8 +973,8 @@ function ma({
974
973
  cr,
975
974
  {
976
975
  position: w.position,
977
- onValue: U,
978
- date: n,
976
+ onValue: K,
977
+ date: a,
979
978
  onOpen: F
980
979
  },
981
980
  (/* @__PURE__ */ new Date()).getTime()
@@ -984,25 +983,25 @@ function ma({
984
983
  )
985
984
  ] });
986
985
  }
987
- const cr = ({ onOpen: a, date: o, onValue: i, position: c }) => {
988
- let d = /* @__PURE__ */ new Date(), k = new Date(o), C = {
986
+ const cr = ({ onOpen: n, date: _, onValue: i, position: c }) => {
987
+ let d = /* @__PURE__ */ new Date(), k = new Date(_), C = {
989
988
  y: parseInt(d.getFullYear()),
990
989
  m: parseInt(d.getMonth()) + 1
991
990
  }, b = {
992
991
  y: parseInt(k.getFullYear()),
993
992
  m: parseInt(k.getMonth()) + 1
994
- }, [l, p] = R.useState(b.y), n = () => {
995
- a(!1);
993
+ }, [l, p] = S.useState(b.y), a = () => {
994
+ n(!1);
996
995
  }, s = () => {
997
996
  p(l + 1);
998
997
  }, w = () => {
999
998
  p(l - 1);
1000
999
  }, j = (y) => {
1001
- i(l + "-" + dr(2, y)), n();
1002
- }, F = (y) => C.y === b.y && C.m === y ? "_FFEB3B" : "", U = Array(12).fill("").map((y, P) => P + 1), D = window.innerHeight - c.y + 33 < 320 ? c.y - 312 : c.y + 33, O = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
1000
+ i(l + "-" + dr(2, y)), a();
1001
+ }, F = (y) => C.y === b.y && C.m === y ? "_FFEB3B" : "", K = Array(12).fill("").map((y, P) => P + 1), D = window.innerHeight - c.y + 33 < 320 ? c.y - 312 : c.y + 33, T = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
1003
1002
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1004
- /* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: n }),
1005
- /* @__PURE__ */ f.jsxs("div", { className: Ct.c, style: { top: D + "px", left: O + "px" }, children: [
1003
+ /* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: a }),
1004
+ /* @__PURE__ */ f.jsxs("div", { className: Ct.c, style: { top: D + "px", left: T + "px" }, children: [
1006
1005
  /* @__PURE__ */ f.jsxs("s", { children: [
1007
1006
  /* @__PURE__ */ f.jsx("i", { onClick: w, children: /* @__PURE__ */ f.jsx(
1008
1007
  "svg",
@@ -1028,7 +1027,7 @@ const cr = ({ onOpen: a, date: o, onValue: i, position: c }) => {
1028
1027
  }
1029
1028
  ) })
1030
1029
  ] }),
1031
- /* @__PURE__ */ f.jsx("div", { "grid-month": "", children: U.map((y, P) => /* @__PURE__ */ f.jsx(
1030
+ /* @__PURE__ */ f.jsx("div", { "grid-month": "", children: K.map((y, P) => /* @__PURE__ */ f.jsx(
1032
1031
  "span",
1033
1032
  {
1034
1033
  onClick: () => {
@@ -1042,30 +1041,30 @@ const cr = ({ onOpen: a, date: o, onValue: i, position: c }) => {
1042
1041
  ] })
1043
1042
  ] });
1044
1043
  };
1045
- function ur(a, o) {
1046
- o === void 0 ? (o = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
1044
+ function ur(n, _) {
1045
+ _ === void 0 ? (_ = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
1047
1046
  let i = {
1048
- yyyy: a.getFullYear(),
1049
- yy: ("" + a.getFullYear()).slice(-2),
1050
- mm: ("0" + (a.getMonth() + 1)).slice(-2),
1051
- dd: ("0" + a.getDate()).slice(-2),
1052
- HH: ("0" + a.getHours()).slice(-2),
1053
- MM: ("0" + a.getMinutes()).slice(-2),
1054
- SS: ("0" + a.getSeconds()).slice(-2),
1047
+ yyyy: n.getFullYear(),
1048
+ yy: ("" + n.getFullYear()).slice(-2),
1049
+ mm: ("0" + (n.getMonth() + 1)).slice(-2),
1050
+ dd: ("0" + n.getDate()).slice(-2),
1051
+ HH: ("0" + n.getHours()).slice(-2),
1052
+ MM: ("0" + n.getMinutes()).slice(-2),
1053
+ SS: ("0" + n.getSeconds()).slice(-2),
1055
1054
  __: "      ",
1056
1055
  _: "    "
1057
1056
  };
1058
1057
  for (const c in i)
1059
- o = o.replace(c, i[c]);
1060
- return o;
1058
+ _ = _.replace(c, i[c]);
1059
+ return _;
1061
1060
  }
1062
- function dr(a, o) {
1063
- let i = o + "";
1064
- for (; i.length < a; ) i = "0" + i;
1061
+ function dr(n, _) {
1062
+ let i = _ + "";
1063
+ for (; i.length < n; ) i = "0" + i;
1065
1064
  return i;
1066
1065
  }
1067
- function fr(a) {
1068
- return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
1066
+ function fr(n) {
1067
+ return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
1069
1068
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
1070
1069
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
1071
1070
  3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
@@ -1078,11 +1077,11 @@ function fr(a) {
1078
1077
  10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
1079
1078
  11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
1080
1079
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
1081
- }[a];
1080
+ }[n];
1082
1081
  }
1083
- function pa({
1084
- value: a,
1085
- onValue: o,
1082
+ function yn({
1083
+ value: n,
1084
+ onValue: _,
1086
1085
  name: i,
1087
1086
  placeholder: c = "",
1088
1087
  title: d = "",
@@ -1091,70 +1090,70 @@ function pa({
1091
1090
  edit: b = !0,
1092
1091
  active: l = !0,
1093
1092
  after: p = "",
1094
- show: n = !0,
1093
+ show: a = !0,
1095
1094
  course: s = 100,
1096
1095
  view: w,
1097
1096
  type: j,
1098
1097
  onSave: F,
1099
- className: U = "",
1098
+ className: K = "",
1100
1099
  isClear: D = !1
1101
1100
  }) {
1102
- let O = !!(C && (a === "" || a === void 0)), y = (E) => j === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), P = (E, G) => {
1101
+ let T = !!(C && (n === "" || n === void 0)), y = (E) => j === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), P = (E, G) => {
1103
1102
  let g = document.createRange(), v = window.getSelection();
1104
1103
  g.setStart(G.childNodes[0], E), g.collapse(!0), v.removeAllRanges(), v.addRange(g), G.focus();
1105
- }, K = (E) => {
1106
- o == null || o({
1104
+ }, q = (E) => {
1105
+ _ == null || _({
1107
1106
  value: y(E.target.textContent) * s,
1108
1107
  name: i
1109
1108
  }), E.target.textContent = y(E.target.textContent), E.target.textContent.length > 0 && P(E.target.textContent.length, E.target);
1110
- }, I = (E) => {
1111
- Z.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), F == null || F({ value: y(E.target.textContent) * s, name: i }), o == null || o({
1109
+ }, A = (E) => {
1110
+ Z.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), F == null || F({ value: y(E.target.textContent) * s, name: i }), _ == null || _({
1112
1111
  value: y(E.target.textContent) * s,
1113
1112
  name: i
1114
1113
  }), E.target.textContent = It(E.target.textContent);
1115
- }, $ = (E) => {
1114
+ }, L = (E) => {
1116
1115
  E.target.textContent = y(E.target.textContent);
1117
- }, q = (E) => {
1116
+ }, M = (E) => {
1118
1117
  E.key === "Enter" && E.preventDefault();
1119
- }, W = (E) => {
1118
+ }, $ = (E) => {
1120
1119
  E.preventDefault(), navigator.clipboard.readText().then((G) => {
1121
1120
  G = G.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, G);
1122
1121
  }).catch((G) => {
1123
1122
  });
1124
1123
  };
1125
- if (!(b && l) && !n || !(b && l) && O) return "";
1124
+ if (!(b && l) && !a || !(b && l) && T) return "";
1126
1125
  const N = {};
1127
1126
  return N.inputMode = "decimal", c && (N.placeholder = c), b && l && (N.edit = ""), /* @__PURE__ */ f.jsx(
1128
1127
  he,
1129
1128
  {
1130
1129
  type: "input",
1131
1130
  title: d,
1132
- element_blok: { className: [U] },
1131
+ element_blok: { className: [K] },
1133
1132
  element_input: { className: [Q.w] },
1134
1133
  children: /* @__PURE__ */ f.jsx(
1135
1134
  "div",
1136
1135
  {
1137
1136
  ...N,
1138
- onInput: K,
1139
- onPaste: W,
1140
- onBlur: I,
1141
- onKeyDown: q,
1142
- onFocus: $,
1137
+ onInput: q,
1138
+ onPaste: $,
1139
+ onBlur: A,
1140
+ onKeyDown: M,
1141
+ onFocus: L,
1143
1142
  contentEditable: b && l ? Z.ContentEditable : "false",
1144
1143
  suppressContentEditableWarning: !0,
1145
1144
  "data-after": p,
1146
- children: !c || a ? It(a) : ""
1145
+ children: !c || n ? It(n) : ""
1147
1146
  }
1148
1147
  )
1149
1148
  }
1150
1149
  );
1151
1150
  }
1152
- function It(a, o) {
1153
- return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
1151
+ function It(n, _) {
1152
+ return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
1154
1153
  }
1155
- function ya({
1156
- title: a,
1157
- error: o,
1154
+ function vn({
1155
+ title: n,
1156
+ error: _,
1158
1157
  edit: i = !0,
1159
1158
  active: c = !0,
1160
1159
  className: d,
@@ -1163,39 +1162,39 @@ function ya({
1163
1162
  min: b,
1164
1163
  onValue: l,
1165
1164
  icon: p,
1166
- name: n = "",
1165
+ name: a = "",
1167
1166
  value: s,
1168
1167
  after: w
1169
1168
  }) {
1170
- let [j, F] = R.useState(
1169
+ let [j, F] = S.useState(
1171
1170
  s === void 0 ? /* @__PURE__ */ new Date() : s
1172
1171
  );
1173
- const U = R.useRef(null), [D, O] = R.useState(!1);
1172
+ const K = S.useRef(null), [D, T] = S.useState(!1);
1174
1173
  let y = !i && c;
1175
- R.useEffect(() => {
1174
+ S.useEffect(() => {
1176
1175
  F(s === void 0 ? /* @__PURE__ */ new Date() : s);
1177
1176
  }, [s]);
1178
- let P = ($) => {
1179
- F($), l == null || l({ value: $, name: n });
1180
- }, K = ($) => {
1181
- const q = $.target.getBoundingClientRect(), W = q.left, N = q.bottom, E = q.top;
1182
- U.position = { x: W, b: N, y: E }, O(!0);
1177
+ let P = (L) => {
1178
+ F(L), l == null || l({ value: L, name: a });
1179
+ }, q = (L) => {
1180
+ const M = L.target.getBoundingClientRect(), $ = M.left, N = M.bottom, E = M.top;
1181
+ K.position = { x: $, b: N, y: E }, T(!0);
1183
1182
  };
1184
- const I = {};
1185
- return k && (I.placeholder = k), y ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1183
+ const A = {};
1184
+ return k && (A.placeholder = k), y ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1186
1185
  p ? p() : /* @__PURE__ */ f.jsxs(
1187
1186
  "dl",
1188
1187
  {
1189
1188
  "data-field": "date",
1190
- className: [Q.l, d].filter(($) => $ !== void 0).join(" "),
1189
+ className: [Q.l, d].filter((L) => L !== void 0).join(" "),
1191
1190
  children: [
1192
- a ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: a }) : "",
1191
+ n ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: n }) : "",
1193
1192
  /* @__PURE__ */ f.jsxs(
1194
1193
  "dd",
1195
1194
  {
1196
- onClick: K,
1195
+ onClick: q,
1197
1196
  className: [Q.f, Q.w].join(" "),
1198
- ...I,
1197
+ ...A,
1199
1198
  "data-edit": (i && c) + "",
1200
1199
  children: [
1201
1200
  yr(j, "dd.mm.yyyy"),
@@ -1203,7 +1202,7 @@ function ya({
1203
1202
  ]
1204
1203
  }
1205
1204
  ),
1206
- o && /* @__PURE__ */ f.jsx("em", { children: o })
1205
+ _ && /* @__PURE__ */ f.jsx("em", { children: _ })
1207
1206
  ]
1208
1207
  }
1209
1208
  ),
@@ -1211,12 +1210,12 @@ function ya({
1211
1210
  /* @__PURE__ */ f.jsx(
1212
1211
  mr,
1213
1212
  {
1214
- position: U.position,
1213
+ position: K.position,
1215
1214
  onValue: P,
1216
1215
  date: j,
1217
1216
  max: C,
1218
1217
  min: b,
1219
- onOpen: O,
1218
+ onOpen: T,
1220
1219
  className: d
1221
1220
  },
1222
1221
  (/* @__PURE__ */ new Date()).getTime()
@@ -1226,52 +1225,52 @@ function ya({
1226
1225
  ] });
1227
1226
  }
1228
1227
  const mr = ({
1229
- date: a,
1230
- onValue: o,
1228
+ date: n,
1229
+ onValue: _,
1231
1230
  position: i,
1232
1231
  max: c,
1233
1232
  min: d,
1234
1233
  className: k,
1235
1234
  onOpen: C
1236
1235
  }) => {
1237
- let b = /* @__PURE__ */ new Date(), l = new Date(a), p = {
1236
+ let b = /* @__PURE__ */ new Date(), l = new Date(n), p = {
1238
1237
  y: parseInt(b.getFullYear()),
1239
1238
  d: parseInt(b.getDate()),
1240
1239
  m: parseInt(b.getMonth()) + 1
1241
- }, n = {
1240
+ }, a = {
1242
1241
  y: parseInt(l.getFullYear()),
1243
1242
  d: parseInt(l.getDate()),
1244
1243
  m: parseInt(l.getMonth()) + 1
1245
- }, [s, w] = R.useState({ y: n.y, m: n.m }), j = (g) => {
1244
+ }, [s, w] = S.useState({ y: a.y, m: a.m }), j = (g) => {
1246
1245
  let v = g.getDay();
1247
1246
  return v === 0 && (v = 7), v - 1;
1248
- }, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], U = s.m - 1, D = new Date(s.y, U), O = [];
1247
+ }, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], K = s.m - 1, D = new Date(s.y, K), T = [];
1249
1248
  for (let g = 0; g < j(D); g++)
1250
- O.push(0);
1251
- for (; D.getMonth() === U; )
1252
- O.push(D.getDate()), D.setDate(D.getDate() + 1);
1249
+ T.push(0);
1250
+ for (; D.getMonth() === K; )
1251
+ T.push(D.getDate()), D.setDate(D.getDate() + 1);
1253
1252
  let y = () => {
1254
1253
  C(!1);
1255
1254
  }, P = () => {
1256
- $(s.m + 1, s.y);
1257
- }, K = () => {
1258
- $(s.m - 1, s.y);
1259
- }, I = (g) => {
1260
- o(
1255
+ L(s.m + 1, s.y);
1256
+ }, q = () => {
1257
+ L(s.m - 1, s.y);
1258
+ }, A = (g) => {
1259
+ _(
1261
1260
  s.y + "-" + At(2, s.m) + "-" + At(2, g)
1262
1261
  ), y();
1263
- }, $ = (g, v) => {
1262
+ }, L = (g, v) => {
1264
1263
  v = g > 12 ? v + 1 : g < 1 ? v - 1 : v, g = g > 12 ? 1 : g < 1 ? 12 : g, w({ y: v, m: g });
1265
1264
  };
1266
- const q = (g) => p.y === s.y && p.m === s.m && p.d === g ? { "data-active": "true" } : {}, W = (g) => n.y === s.y && n.m === s.m && n.d === g ? { "data-current": "true" } : {}, N = (g) => {
1265
+ const M = (g) => p.y === s.y && p.m === s.m && p.d === g ? { "data-active": "true" } : {}, $ = (g) => a.y === s.y && a.m === s.m && a.d === g ? { "data-current": "true" } : {}, N = (g) => {
1267
1266
  let v = !0;
1268
1267
  if (c) {
1269
- let M = c.getTime(), B = new Date(s.y, s.m - 1, g).getTime();
1270
- M < B && (v = !1);
1268
+ let I = c.getTime(), W = new Date(s.y, s.m - 1, g).getTime();
1269
+ I < W && (v = !1);
1271
1270
  }
1272
1271
  if (d) {
1273
- let M = d.getTime(), B = new Date(s.y, s.m - 1, g).getTime();
1274
- M > B && (v = !1);
1272
+ let I = d.getTime(), W = new Date(s.y, s.m - 1, g).getTime();
1273
+ I > W && (v = !1);
1275
1274
  }
1276
1275
  return v;
1277
1276
  };
@@ -1288,7 +1287,7 @@ const mr = ({
1288
1287
  style: { top: E + "px", left: G + "px" },
1289
1288
  children: [
1290
1289
  /* @__PURE__ */ f.jsxs("s", { children: [
1291
- /* @__PURE__ */ f.jsx("i", { onClick: K, children: /* @__PURE__ */ f.jsx(
1290
+ /* @__PURE__ */ f.jsx("i", { onClick: q, children: /* @__PURE__ */ f.jsx(
1292
1291
  "svg",
1293
1292
  {
1294
1293
  width: "16",
@@ -1318,23 +1317,23 @@ const mr = ({
1318
1317
  ] }),
1319
1318
  /* @__PURE__ */ f.jsxs("div", { "grid-calendar": "", children: [
1320
1319
  F.map((g, v) => /* @__PURE__ */ f.jsx("p", { children: g }, "v" + v)),
1321
- O.map((g, v) => /* @__PURE__ */ f.jsx("span", { children: g !== 0 && N(g) ? /* @__PURE__ */ f.jsx(
1320
+ T.map((g, v) => /* @__PURE__ */ f.jsx("span", { children: g !== 0 && N(g) ? /* @__PURE__ */ f.jsx(
1322
1321
  "b",
1323
1322
  {
1324
- ...q(g),
1325
- ...W(g),
1326
- onClick: () => I(g),
1323
+ ...M(g),
1324
+ ...$(g),
1325
+ onClick: () => A(g),
1327
1326
  children: g
1328
1327
  }
1329
- ) : /* @__PURE__ */ f.jsx("p", { ...q(g), ...W(g), children: g !== 0 ? g : "" }) }, v))
1328
+ ) : /* @__PURE__ */ f.jsx("p", { ...M(g), ...$(g), children: g !== 0 ? g : "" }) }, v))
1330
1329
  ] })
1331
1330
  ]
1332
1331
  }
1333
1332
  )
1334
1333
  ] });
1335
1334
  };
1336
- function pr(a) {
1337
- return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
1335
+ function pr(n) {
1336
+ return n = typeof n == "number" ? n : new Date(n).getMonth() + 1, {
1338
1337
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
1339
1338
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
1340
1339
  3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
@@ -1347,33 +1346,33 @@ function pr(a) {
1347
1346
  10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
1348
1347
  11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
1349
1348
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
1350
- }[a];
1349
+ }[n];
1351
1350
  }
1352
- function At(a, o) {
1353
- let i = o + "";
1354
- for (; i.length < a; ) i = "0" + i;
1351
+ function At(n, _) {
1352
+ let i = _ + "";
1353
+ for (; i.length < n; ) i = "0" + i;
1355
1354
  return i;
1356
1355
  }
1357
- function yr(a, o) {
1358
- o === void 0 ? (o = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
1356
+ function yr(n, _) {
1357
+ _ === void 0 ? (_ = n, n = /* @__PURE__ */ new Date()) : n = new Date(n);
1359
1358
  let i = {
1360
- yyyy: a.getFullYear(),
1361
- yy: ("" + a.getFullYear()).slice(-2),
1362
- mm: ("0" + (a.getMonth() + 1)).slice(-2),
1363
- dd: ("0" + a.getDate()).slice(-2),
1364
- HH: ("0" + a.getHours()).slice(-2),
1365
- MM: ("0" + a.getMinutes()).slice(-2),
1366
- SS: ("0" + a.getSeconds()).slice(-2),
1359
+ yyyy: n.getFullYear(),
1360
+ yy: ("" + n.getFullYear()).slice(-2),
1361
+ mm: ("0" + (n.getMonth() + 1)).slice(-2),
1362
+ dd: ("0" + n.getDate()).slice(-2),
1363
+ HH: ("0" + n.getHours()).slice(-2),
1364
+ MM: ("0" + n.getMinutes()).slice(-2),
1365
+ SS: ("0" + n.getSeconds()).slice(-2),
1367
1366
  __: "      ",
1368
1367
  _: "    "
1369
1368
  };
1370
1369
  for (const c in i)
1371
- o = o.replace(c, i[c]);
1372
- return o;
1370
+ _ = _.replace(c, i[c]);
1371
+ return _;
1373
1372
  }
1374
- function va({
1375
- value: a,
1376
- onValue: o,
1373
+ function gn({
1374
+ value: n,
1375
+ onValue: _,
1377
1376
  name: i,
1378
1377
  placeholder: c = "",
1379
1378
  title: d = "",
@@ -1382,38 +1381,38 @@ function va({
1382
1381
  edit: b = !0,
1383
1382
  active: l = !0,
1384
1383
  after: p = "",
1385
- show: n = !0,
1384
+ show: a = !0,
1386
1385
  maxLength: s,
1387
1386
  error: w = "",
1388
1387
  onSave: j,
1389
1388
  className: F = "",
1390
- isCopy: U = !0
1389
+ isCopy: K = !0
1391
1390
  }) {
1392
- const D = (I) => {
1393
- o == null || o({ value: I.target.innerText, name: i || "" });
1394
- }, O = (I) => {
1395
- s && I.target.textContent.trim().length >= s && I.key !== "Backspace" && I.preventDefault(), I.key === "Enter" && I.preventDefault();
1396
- }, y = (I) => {
1397
- I.preventDefault(), navigator.clipboard.readText().then(($) => {
1391
+ const D = (A) => {
1392
+ _ == null || _({ value: A.target.innerText, name: i || "" });
1393
+ }, T = (A) => {
1394
+ s && A.target.textContent.trim().length >= s && A.key !== "Backspace" && A.preventDefault(), A.key === "Enter" && A.preventDefault();
1395
+ }, y = (A) => {
1396
+ A.preventDefault(), navigator.clipboard.readText().then((L) => {
1398
1397
  if (s) {
1399
- let q = I.target.textContent.length;
1400
- if (q >= s) return;
1401
- s -= q, $ = $.slice(0, s);
1398
+ let M = A.target.textContent.length;
1399
+ if (M >= s) return;
1400
+ s -= M, L = L.slice(0, s);
1402
1401
  }
1403
1402
  window.document.execCommand(
1404
1403
  "insertText",
1405
1404
  !1,
1406
- $.replace(/(\r\n|\n|\r)/gm, " ")
1405
+ L.replace(/(\r\n|\n|\r)/gm, " ")
1407
1406
  );
1408
- }).catch(($) => {
1407
+ }).catch((L) => {
1409
1408
  });
1410
1409
  };
1411
1410
  if (C) return /* @__PURE__ */ f.jsx(f.Fragment, {});
1412
- if (!(b && l) && !n) return "";
1411
+ if (!(b && l) && !a) return "";
1413
1412
  const P = {};
1414
1413
  c && (P.placeholder = c), b && l && (P.edit = "");
1415
- const K = (I) => {
1416
- Z.Blur(I), j == null || j({ value: I.target.textContent.trim(), name: i || "" });
1414
+ const q = (A) => {
1415
+ Z.Blur(A), j == null || j({ value: A.target.textContent.trim(), name: i || "" });
1417
1416
  };
1418
1417
  return /* @__PURE__ */ f.jsx(
1419
1418
  he,
@@ -1428,12 +1427,12 @@ function va({
1428
1427
  {
1429
1428
  onPaste: y,
1430
1429
  onInput: D,
1431
- onBlur: K,
1432
- onKeyDown: O,
1430
+ onBlur: q,
1431
+ onKeyDown: T,
1433
1432
  contentEditable: b && l ? Z.ContentEditable : "false",
1434
1433
  suppressContentEditableWarning: !0,
1435
1434
  ...P,
1436
- children: a
1435
+ children: n
1437
1436
  }
1438
1437
  )
1439
1438
  }
@@ -2821,9 +2820,9 @@ const Et = {
2821
2820
  mask: "+1939(___) ___-__-__"
2822
2821
  }
2823
2822
  };
2824
- function ga({
2825
- value: a,
2826
- onValue: o,
2823
+ function hn({
2824
+ value: n,
2825
+ onValue: _,
2827
2826
  onSave: i,
2828
2827
  name: c = "",
2829
2828
  placeholder: d = "",
@@ -2832,42 +2831,42 @@ function ga({
2832
2831
  error: b = "",
2833
2832
  hide: l = !1,
2834
2833
  edit: p = !0,
2835
- active: n = !0,
2834
+ active: a = !0,
2836
2835
  after: s = "",
2837
2836
  show: w = !0,
2838
2837
  view: j,
2839
2838
  className: F = ""
2840
2839
  }) {
2841
- p = p !== void 0 ? p : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(p && n), R.useRef(null);
2842
- let D = "+_(___) ___-__-__", O = !0, y = 0, P = (g, v) => {
2843
- let M = document.createRange(), B = window.getSelection();
2844
- M.setStart(v.childNodes[0], g), M.collapse(!0), B.removeAllRanges(), B.addRange(M), v.focus();
2845
- }, K = (g) => {
2846
- let v = $(g.target.textContent);
2847
- g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target), o && o({ value: v.q.replace(/\D/g, ""), name: c || "" });
2848
- }, I = (g) => {
2840
+ p = p !== void 0 ? p : !0, a = a !== void 0 ? a : !0, l = !!(l && (n === "" || n === void 0)) && !(p && a), S.useRef(null);
2841
+ let D = "+_(___) ___-__-__", T = !0, y = 0, P = (g, v) => {
2842
+ let I = document.createRange(), W = window.getSelection();
2843
+ I.setStart(v.childNodes[0], g), I.collapse(!0), W.removeAllRanges(), W.addRange(I), v.focus();
2844
+ }, q = (g) => {
2845
+ let v = L(g.target.textContent);
2846
+ g.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== D ? v.i++ : v.i = v.q.indexOf("_"), P(v.i, g.target), _ && _({ value: v.q.replace(/\D/g, ""), name: c || "" });
2847
+ }, A = (g) => {
2849
2848
  g.preventDefault(), navigator.clipboard.readText().then((v) => {
2850
2849
  window.document.execCommand("insertText", !1, v);
2851
2850
  }).catch((v) => {
2852
2851
  });
2853
- }, $ = (g) => {
2854
- let v = 0, M = "", B = g.replace(/\D/g, "");
2855
- B === "" && (O = !0);
2856
- let te = B.split(""), H = "";
2852
+ }, L = (g) => {
2853
+ let v = 0, I = "", W = g.replace(/\D/g, "");
2854
+ W === "" && (T = !0);
2855
+ let te = W.split(""), H = "";
2857
2856
  te.forEach((se) => {
2858
- O && (H += se, Et[H] !== void 0 && O ? (O = !1, D = Et[H].mask.replace(new RegExp("[0-9]", "g"), "_"), M = Et[H].code) : (O && (y = ("" + H).length, D = `+${H}_(___) ___-__-__`.replace(
2857
+ T && (H += se, Et[H] !== void 0 && T ? (T = !1, D = Et[H].mask.replace(new RegExp("[0-9]", "g"), "_"), I = Et[H].code) : (T && (y = ("" + H).length, D = `+${H}_(___) ___-__-__`.replace(
2859
2858
  new RegExp("[0-9]", "g"),
2860
2859
  "_"
2861
- ), M = ""), y > ("" + H).length && (O = !0, D = `+${H}_(___) ___-__-__`.replace(
2860
+ ), I = ""), y > ("" + H).length && (T = !0, D = `+${H}_(___) ___-__-__`.replace(
2862
2861
  new RegExp("[0-9]", "g"),
2863
2862
  "_"
2864
- ), M = "")));
2863
+ ), I = "")));
2865
2864
  });
2866
- let ae = D.replace(/\D/g, "");
2867
- return ae.length >= B.length && (B = ae), { q: D.replace(/[_\d]/g, function() {
2868
- return B.charAt(v++) || "_";
2869
- }), i: v, v: B, f: M };
2870
- }, q = (g) => {
2865
+ let ne = D.replace(/\D/g, "");
2866
+ return ne.length >= W.length && (W = ne), { q: D.replace(/[_\d]/g, function() {
2867
+ return W.charAt(v++) || "_";
2868
+ }), i: v, v: W, f: I };
2869
+ }, M = (g) => {
2871
2870
  g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
2872
2871
  function() {
2873
2872
  xt.Copy("Данные в буфер обмене");
@@ -2875,7 +2874,7 @@ function ga({
2875
2874
  function(v) {
2876
2875
  }
2877
2876
  );
2878
- }, W = $(a), N = (g) => {
2877
+ }, $ = L(n), N = (g) => {
2879
2878
  g.key === "Enter" && g.preventDefault();
2880
2879
  };
2881
2880
  const E = (g) => {
@@ -2885,7 +2884,7 @@ function ga({
2885
2884
  });
2886
2885
  };
2887
2886
  let G = {};
2888
- return p && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", d && (G.placeholder = d), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
2887
+ return p && a ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", d && (G.placeholder = d), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
2889
2888
  he,
2890
2889
  {
2891
2890
  type: "input",
@@ -2896,23 +2895,23 @@ function ga({
2896
2895
  children: /* @__PURE__ */ f.jsx(
2897
2896
  "div",
2898
2897
  {
2899
- onPaste: I,
2900
- onInput: K,
2898
+ onPaste: A,
2899
+ onInput: q,
2901
2900
  onKeyDown: N,
2902
- onContextMenu: q,
2901
+ onContextMenu: M,
2903
2902
  onBlur: E,
2904
2903
  inputMode: "tel",
2905
2904
  suppressContentEditableWarning: !0,
2906
2905
  ...G,
2907
- children: W.q
2906
+ children: $.q
2908
2907
  }
2909
2908
  )
2910
2909
  }
2911
2910
  );
2912
2911
  }
2913
- function ha({
2914
- value: a,
2915
- onValue: o,
2912
+ function kn({
2913
+ value: n,
2914
+ onValue: _,
2916
2915
  name: i = "",
2917
2916
  inputmode: c = "text",
2918
2917
  placeholder: d = "",
@@ -2921,26 +2920,26 @@ function ha({
2921
2920
  show: b = !0,
2922
2921
  hide: l = !1,
2923
2922
  edit: p = !0,
2924
- active: n = !0,
2923
+ active: a = !0,
2925
2924
  maxLength: s,
2926
2925
  onSave: w,
2927
2926
  className: j = "",
2928
2927
  spellCheck: F = !0,
2929
- isCopy: U = !0,
2928
+ isCopy: K = !0,
2930
2929
  isReload: D = !1,
2931
- after: O = "",
2930
+ after: T = "",
2932
2931
  before: y = "",
2933
2932
  error: P = ""
2934
2933
  }) {
2935
- const K = !!(l && (a === "" || a === void 0)), I = (E) => {
2936
- o && o({
2934
+ const q = !!(l && (n === "" || n === void 0)), A = (E) => {
2935
+ _ && _({
2937
2936
  value: E.target.textContent.trim(),
2938
2937
  name: i,
2939
2938
  reload: D
2940
2939
  });
2941
- }, $ = (E) => {
2940
+ }, L = (E) => {
2942
2941
  s && E.target.textContent.trim().length >= s && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
2943
- }, q = (E) => {
2942
+ }, M = (E) => {
2944
2943
  E.preventDefault(), navigator.clipboard.readText().then((G) => {
2945
2944
  if (s) {
2946
2945
  let g = E.target.textContent.length;
@@ -2955,9 +2954,9 @@ function ha({
2955
2954
  }).catch((G) => {
2956
2955
  });
2957
2956
  };
2958
- if (!(p && n) && !b || !(p && n) && K) return "";
2959
- const W = {};
2960
- d && (W.placeholder = d), p && n && (W.edit = "");
2957
+ if (!(p && a) && !b || !(p && a) && q) return "";
2958
+ const $ = {};
2959
+ d && ($.placeholder = d), p && a && ($.edit = "");
2961
2960
  const N = (E) => {
2962
2961
  Z.Blur(E), w == null || w({ value: E.target.textContent.trim(), name: i });
2963
2962
  };
@@ -2975,25 +2974,25 @@ function ha({
2975
2974
  "div",
2976
2975
  {
2977
2976
  onBlur: N,
2978
- onPaste: q,
2979
- onInput: I,
2980
- onKeyDown: $,
2977
+ onPaste: M,
2978
+ onInput: A,
2979
+ onKeyDown: L,
2981
2980
  spellCheck: F,
2982
2981
  inputMode: c || "text",
2983
- contentEditable: p && n ? Z.ContentEditable : "false",
2982
+ contentEditable: p && a ? Z.ContentEditable : "false",
2984
2983
  suppressContentEditableWarning: !0,
2985
- ...W,
2986
- children: a
2984
+ ...$,
2985
+ children: n
2987
2986
  }
2988
2987
  ),
2989
- O
2988
+ T
2990
2989
  ]
2991
2990
  }
2992
2991
  );
2993
2992
  }
2994
- function ka({
2995
- onValue: a,
2996
- onSave: o,
2993
+ function bn({
2994
+ onValue: n,
2995
+ onSave: _,
2997
2996
  active: i,
2998
2997
  max: c,
2999
2998
  edit: d,
@@ -3002,25 +3001,25 @@ function ka({
3002
3001
  show: b,
3003
3002
  hide: l,
3004
3003
  value: p,
3005
- placeholder: n,
3004
+ placeholder: a,
3006
3005
  className: s,
3007
3006
  maxLength: w,
3008
3007
  name: j = "",
3009
3008
  after: F = "",
3010
- before: U = "",
3009
+ before: K = "",
3011
3010
  view: D
3012
3011
  }) {
3013
- d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, l = !!(l && (p === "" || p === void 0)) && !(d && i), n = n !== void 0 ? n : "", c = c !== void 0 ? c : 99;
3012
+ d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, l = !!(l && (p === "" || p === void 0)) && !(d && i), a = a !== void 0 ? a : "", c = c !== void 0 ? c : 99;
3014
3013
  let y = !1, P = (N) => {
3015
- a == null || a({ value: N.target.textContent, name: j });
3016
- }, K = (N) => {
3014
+ n == null || n({ value: N.target.textContent, name: j });
3015
+ }, q = (N) => {
3017
3016
  if (!(y && N.which === 86)) {
3018
3017
  if (N.which === 17 || N.which === 91) return y = !0;
3019
3018
  N.key !== "Backspace" && (N.target.textContent.length === c && N.preventDefault(), N.key === "Enter" && N.preventDefault(), isNaN(N.key) && N.preventDefault());
3020
3019
  }
3021
- }, I = (N) => {
3020
+ }, A = (N) => {
3022
3021
  if (N.which === 17 || N.which === 91) return y = !1;
3023
- }, $ = (N) => {
3022
+ }, L = (N) => {
3024
3023
  N.preventDefault(), navigator.clipboard.readText().then((E) => {
3025
3024
  if (E = E.replace(/(?!^\+|\d)./g, ""), w) {
3026
3025
  let G = N.target.textContent.length;
@@ -3031,11 +3030,11 @@ function ka({
3031
3030
  }).catch((E) => {
3032
3031
  });
3033
3032
  };
3034
- const q = (N) => {
3035
- Z.Blur(N), o == null || o({ value: N.target.textContent, name: j });
3033
+ const M = (N) => {
3034
+ Z.Blur(N), _ == null || _({ value: N.target.textContent, name: j });
3036
3035
  };
3037
- let W = {};
3038
- return d && i ? (W.edit = "true", W.contentEditable = Z.ContentEditable) : W.contentEditable = "false", W.inputMode = "decimal", n && (W.placeholder = n), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
3036
+ let $ = {};
3037
+ return d && i ? ($.edit = "true", $.contentEditable = Z.ContentEditable) : $.contentEditable = "false", $.inputMode = "decimal", a && ($.placeholder = a), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
3039
3038
  he,
3040
3039
  {
3041
3040
  type: "numeric",
@@ -3046,15 +3045,15 @@ function ka({
3046
3045
  children: /* @__PURE__ */ f.jsx(
3047
3046
  "div",
3048
3047
  {
3049
- onPaste: $,
3048
+ onPaste: L,
3050
3049
  onInput: P,
3051
- onBlur: q,
3052
- onKeyDown: K,
3053
- onKeyUp: I,
3050
+ onBlur: M,
3051
+ onKeyDown: q,
3052
+ onKeyUp: A,
3054
3053
  spellCheck: "true",
3055
3054
  contentEditable: d && i ? Z.ContentEditable : "false",
3056
3055
  suppressContentEditableWarning: !0,
3057
- ...W,
3056
+ ...$,
3058
3057
  children: p
3059
3058
  }
3060
3059
  )
@@ -3075,13 +3074,13 @@ var $t;
3075
3074
  function vr() {
3076
3075
  if ($t) return gt;
3077
3076
  $t = 1;
3078
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
3077
+ var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
3079
3078
  function C(b, l, p) {
3080
- var n, s = {}, w = null, j = null;
3079
+ var a, s = {}, w = null, j = null;
3081
3080
  p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
3082
- for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
3083
- if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
3084
- return { $$typeof: o, type: b, key: w, ref: j, props: s, _owner: d.current };
3081
+ for (a in l) c.call(l, a) && !k.hasOwnProperty(a) && (s[a] = l[a]);
3082
+ if (b && b.defaultProps) for (a in l = b.defaultProps, l) s[a] === void 0 && (s[a] = l[a]);
3083
+ return { $$typeof: _, type: b, key: w, ref: j, props: s, _owner: d.current };
3085
3084
  }
3086
3085
  return gt.Fragment = i, gt.jsx = C, gt.jsxs = C, gt;
3087
3086
  }
@@ -3098,24 +3097,24 @@ var kt = {};
3098
3097
  var Bt;
3099
3098
  function gr() {
3100
3099
  return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
3101
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
3100
+ var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
3102
3101
  function D(e) {
3103
3102
  if (e === null || typeof e != "object")
3104
3103
  return null;
3105
- var t = F && e[F] || e[U];
3104
+ var t = F && e[F] || e[K];
3106
3105
  return typeof t == "function" ? t : null;
3107
3106
  }
3108
- var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3107
+ var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3109
3108
  function y(e) {
3110
3109
  {
3111
- for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), _ = 1; _ < t; _++)
3112
- r[_ - 1] = arguments[_];
3110
+ for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
3111
+ r[o - 1] = arguments[o];
3113
3112
  P("error", e, r);
3114
3113
  }
3115
3114
  }
3116
3115
  function P(e, t, r) {
3117
3116
  {
3118
- var _ = O.ReactDebugCurrentFrame, h = _.getStackAddendum();
3117
+ var o = T.ReactDebugCurrentFrame, h = o.getStackAddendum();
3119
3118
  h !== "" && (t += "%s", r = r.concat([h]));
3120
3119
  var x = r.map(function(m) {
3121
3120
  return String(m);
@@ -3123,19 +3122,19 @@ function gr() {
3123
3122
  x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
3124
3123
  }
3125
3124
  }
3126
- var K = !1, I = !1, $ = !1, q = !1, W = !1, N;
3125
+ var q = !1, A = !1, L = !1, M = !1, $ = !1, N;
3127
3126
  N = Symbol.for("react.module.reference");
3128
3127
  function E(e) {
3129
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e === p || e === n || q || e === j || K || I || $ || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
3128
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === a || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
3130
3129
  // types supported by any Flight configuration anywhere since
3131
3130
  // we don't know which Flight build this will end up being used
3132
3131
  // with.
3133
3132
  e.$$typeof === N || e.getModuleId !== void 0));
3134
3133
  }
3135
3134
  function G(e, t, r) {
3136
- var _ = e.displayName;
3137
- if (_)
3138
- return _;
3135
+ var o = e.displayName;
3136
+ if (o)
3137
+ return o;
3139
3138
  var h = t.displayName || t.name || "";
3140
3139
  return h !== "" ? r + "(" + h + ")" : r;
3141
3140
  }
@@ -3160,7 +3159,7 @@ function gr() {
3160
3159
  return "StrictMode";
3161
3160
  case p:
3162
3161
  return "Suspense";
3163
- case n:
3162
+ case a:
3164
3163
  return "SuspenseList";
3165
3164
  }
3166
3165
  if (typeof e == "object")
@@ -3174,8 +3173,8 @@ function gr() {
3174
3173
  case l:
3175
3174
  return G(e, e.render, "ForwardRef");
3176
3175
  case s:
3177
- var _ = e.displayName || null;
3178
- return _ !== null ? _ : v(e.type) || "Memo";
3176
+ var o = e.displayName || null;
3177
+ return o !== null ? o : v(e.type) || "Memo";
3179
3178
  case w: {
3180
3179
  var h = e, x = h._payload, m = h._init;
3181
3180
  try {
@@ -3187,14 +3186,14 @@ function gr() {
3187
3186
  }
3188
3187
  return null;
3189
3188
  }
3190
- var M = Object.assign, B = 0, te, H, ae, ke, se, we, xe;
3189
+ var I = Object.assign, W = 0, te, H, ne, ke, se, we, xe;
3191
3190
  function Ce() {
3192
3191
  }
3193
3192
  Ce.__reactDisabledLog = !0;
3194
3193
  function Ue() {
3195
3194
  {
3196
- if (B === 0) {
3197
- te = console.log, H = console.info, ae = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
3195
+ if (W === 0) {
3196
+ te = console.log, H = console.info, ne = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
3198
3197
  var e = {
3199
3198
  configurable: !0,
3200
3199
  enumerable: !0,
@@ -3211,53 +3210,53 @@ function gr() {
3211
3210
  groupEnd: e
3212
3211
  });
3213
3212
  }
3214
- B++;
3213
+ W++;
3215
3214
  }
3216
3215
  }
3217
3216
  function qe() {
3218
3217
  {
3219
- if (B--, B === 0) {
3218
+ if (W--, W === 0) {
3220
3219
  var e = {
3221
3220
  configurable: !0,
3222
3221
  enumerable: !0,
3223
3222
  writable: !0
3224
3223
  };
3225
3224
  Object.defineProperties(console, {
3226
- log: M({}, e, {
3225
+ log: I({}, e, {
3227
3226
  value: te
3228
3227
  }),
3229
- info: M({}, e, {
3228
+ info: I({}, e, {
3230
3229
  value: H
3231
3230
  }),
3232
- warn: M({}, e, {
3233
- value: ae
3231
+ warn: I({}, e, {
3232
+ value: ne
3234
3233
  }),
3235
- error: M({}, e, {
3234
+ error: I({}, e, {
3236
3235
  value: ke
3237
3236
  }),
3238
- group: M({}, e, {
3237
+ group: I({}, e, {
3239
3238
  value: se
3240
3239
  }),
3241
- groupCollapsed: M({}, e, {
3240
+ groupCollapsed: I({}, e, {
3242
3241
  value: we
3243
3242
  }),
3244
- groupEnd: M({}, e, {
3243
+ groupEnd: I({}, e, {
3245
3244
  value: xe
3246
3245
  })
3247
3246
  });
3248
3247
  }
3249
- B < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3248
+ W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3250
3249
  }
3251
3250
  }
3252
- var ce = O.ReactCurrentDispatcher, ue;
3253
- function ne(e, t, r) {
3251
+ var ce = T.ReactCurrentDispatcher, ue;
3252
+ function ae(e, t, r) {
3254
3253
  {
3255
3254
  if (ue === void 0)
3256
3255
  try {
3257
3256
  throw Error();
3258
3257
  } catch (h) {
3259
- var _ = h.stack.trim().match(/\n( *(at )?)/);
3260
- ue = _ && _[1] || "";
3258
+ var o = h.stack.trim().match(/\n( *(at )?)/);
3259
+ ue = o && o[1] || "";
3261
3260
  }
3262
3261
  return `
3263
3262
  ` + ue + e;
@@ -3276,7 +3275,7 @@ function gr() {
3276
3275
  if (r !== void 0)
3277
3276
  return r;
3278
3277
  }
3279
- var _;
3278
+ var o;
3280
3279
  de = !0;
3281
3280
  var h = Error.prepareStackTrace;
3282
3281
  Error.prepareStackTrace = void 0;
@@ -3294,49 +3293,49 @@ function gr() {
3294
3293
  }), typeof Reflect == "object" && Reflect.construct) {
3295
3294
  try {
3296
3295
  Reflect.construct(m, []);
3297
- } catch (L) {
3298
- _ = L;
3296
+ } catch (U) {
3297
+ o = U;
3299
3298
  }
3300
3299
  Reflect.construct(e, [], m);
3301
3300
  } else {
3302
3301
  try {
3303
3302
  m.call();
3304
- } catch (L) {
3305
- _ = L;
3303
+ } catch (U) {
3304
+ o = U;
3306
3305
  }
3307
3306
  e.call(m.prototype);
3308
3307
  }
3309
3308
  } else {
3310
3309
  try {
3311
3310
  throw Error();
3312
- } catch (L) {
3313
- _ = L;
3311
+ } catch (U) {
3312
+ o = U;
3314
3313
  }
3315
3314
  e();
3316
3315
  }
3317
- } catch (L) {
3318
- if (L && _ && typeof L.stack == "string") {
3319
- for (var u = L.stack.split(`
3320
- `), A = _.stack.split(`
3321
- `), S = u.length - 1, T = A.length - 1; S >= 1 && T >= 0 && u[S] !== A[T]; )
3322
- T--;
3323
- for (; S >= 1 && T >= 0; S--, T--)
3324
- if (u[S] !== A[T]) {
3325
- if (S !== 1 || T !== 1)
3316
+ } catch (U) {
3317
+ if (U && o && typeof U.stack == "string") {
3318
+ for (var u = U.stack.split(`
3319
+ `), B = o.stack.split(`
3320
+ `), R = u.length - 1, O = B.length - 1; R >= 1 && O >= 0 && u[R] !== B[O]; )
3321
+ O--;
3322
+ for (; R >= 1 && O >= 0; R--, O--)
3323
+ if (u[R] !== B[O]) {
3324
+ if (R !== 1 || O !== 1)
3326
3325
  do
3327
- if (S--, T--, T < 0 || u[S] !== A[T]) {
3326
+ if (R--, O--, O < 0 || u[R] !== B[O]) {
3328
3327
  var Y = `
3329
- ` + u[S].replace(" at new ", " at ");
3328
+ ` + u[R].replace(" at new ", " at ");
3330
3329
  return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
3331
3330
  }
3332
- while (S >= 1 && T >= 0);
3331
+ while (R >= 1 && O >= 0);
3333
3332
  break;
3334
3333
  }
3335
3334
  }
3336
3335
  } finally {
3337
3336
  de = !1, ce.current = x, qe(), Error.prepareStackTrace = h;
3338
3337
  }
3339
- var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
3338
+ var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
3340
3339
  return typeof e == "function" && oe.set(e, J), J;
3341
3340
  }
3342
3341
  function Ge(e, t, r) {
@@ -3352,12 +3351,12 @@ function gr() {
3352
3351
  if (typeof e == "function")
3353
3352
  return je(e, Ye(e));
3354
3353
  if (typeof e == "string")
3355
- return ne(e);
3354
+ return ae(e);
3356
3355
  switch (e) {
3357
3356
  case p:
3358
- return ne("Suspense");
3359
- case n:
3360
- return ne("SuspenseList");
3357
+ return ae("Suspense");
3358
+ case a:
3359
+ return ae("SuspenseList");
3361
3360
  }
3362
3361
  if (typeof e == "object")
3363
3362
  switch (e.$$typeof) {
@@ -3366,7 +3365,7 @@ function gr() {
3366
3365
  case s:
3367
3366
  return _e(e.type, t, r);
3368
3367
  case w: {
3369
- var _ = e, h = _._payload, x = _._init;
3368
+ var o = e, h = o._payload, x = o._init;
3370
3369
  try {
3371
3370
  return _e(x(h), t, r);
3372
3371
  } catch {
@@ -3375,7 +3374,7 @@ function gr() {
3375
3374
  }
3376
3375
  return "";
3377
3376
  }
3378
- var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = O.ReactDebugCurrentFrame;
3377
+ var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
3379
3378
  function ie(e) {
3380
3379
  if (e) {
3381
3380
  var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
@@ -3383,7 +3382,7 @@ function gr() {
3383
3382
  } else
3384
3383
  Se.setExtraStackFrame(null);
3385
3384
  }
3386
- function ze(e, t, r, _, h) {
3385
+ function ze(e, t, r, o, h) {
3387
3386
  {
3388
3387
  var x = Function.call.bind(ee);
3389
3388
  for (var m in e)
@@ -3391,14 +3390,14 @@ function gr() {
3391
3390
  var u = void 0;
3392
3391
  try {
3393
3392
  if (typeof e[m] != "function") {
3394
- var A = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3395
- throw A.name = "Invariant Violation", A;
3393
+ var B = Error((o || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3394
+ throw B.name = "Invariant Violation", B;
3396
3395
  }
3397
- u = e[m](t, m, _, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3398
- } catch (S) {
3399
- u = S;
3396
+ u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3397
+ } catch (R) {
3398
+ u = R;
3400
3399
  }
3401
- u && !(u instanceof Error) && (ie(h), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
3400
+ u && !(u instanceof Error) && (ie(h), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
3402
3401
  }
3403
3402
  }
3404
3403
  }
@@ -3426,7 +3425,7 @@ function gr() {
3426
3425
  if (Ze(e))
3427
3426
  return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
3428
3427
  }
3429
- var Oe = O.ReactCurrentOwner, Ve = {
3428
+ var Oe = T.ReactCurrentOwner, Ve = {
3430
3429
  key: !0,
3431
3430
  ref: !0,
3432
3431
  __self: !0,
@@ -3473,10 +3472,10 @@ function gr() {
3473
3472
  });
3474
3473
  }
3475
3474
  }
3476
- var at = function(e, t, r, _, h, x, m) {
3475
+ var nt = function(e, t, r, o, h, x, m) {
3477
3476
  var u = {
3478
3477
  // This tag allows us to uniquely identify this as a React Element
3479
- $$typeof: o,
3478
+ $$typeof: _,
3480
3479
  // Built-in properties that belong on the element
3481
3480
  type: e,
3482
3481
  key: t,
@@ -3494,7 +3493,7 @@ function gr() {
3494
3493
  configurable: !1,
3495
3494
  enumerable: !1,
3496
3495
  writable: !1,
3497
- value: _
3496
+ value: o
3498
3497
  }), Object.defineProperty(u, "_source", {
3499
3498
  configurable: !1,
3500
3499
  enumerable: !1,
@@ -3502,25 +3501,25 @@ function gr() {
3502
3501
  value: h
3503
3502
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
3504
3503
  };
3505
- function nt(e, t, r, _, h) {
3504
+ function at(e, t, r, o, h) {
3506
3505
  {
3507
- var x, m = {}, u = null, A = null;
3508
- r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (A = t.ref, et(t));
3506
+ var x, m = {}, u = null, B = null;
3507
+ r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (B = t.ref, et(t));
3509
3508
  for (x in t)
3510
3509
  ee.call(t, x) && !Ve.hasOwnProperty(x) && (m[x] = t[x]);
3511
3510
  if (e && e.defaultProps) {
3512
- var S = e.defaultProps;
3513
- for (x in S)
3514
- m[x] === void 0 && (m[x] = S[x]);
3511
+ var R = e.defaultProps;
3512
+ for (x in R)
3513
+ m[x] === void 0 && (m[x] = R[x]);
3515
3514
  }
3516
- if (u || A) {
3517
- var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
3518
- u && tt(m, T), A && rt(m, T);
3515
+ if (u || B) {
3516
+ var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
3517
+ u && tt(m, O), B && rt(m, O);
3519
3518
  }
3520
- return at(e, u, A, h, _, Oe.current, m);
3519
+ return nt(e, u, B, h, o, Oe.current, m);
3521
3520
  }
3522
3521
  }
3523
- var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
3522
+ var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
3524
3523
  function V(e) {
3525
3524
  if (e) {
3526
3525
  var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
@@ -3531,7 +3530,7 @@ function gr() {
3531
3530
  var pe;
3532
3531
  pe = !1;
3533
3532
  function ye(e) {
3534
- return typeof e == "object" && e !== null && e.$$typeof === o;
3533
+ return typeof e == "object" && e !== null && e.$$typeof === _;
3535
3534
  }
3536
3535
  function Fe() {
3537
3536
  {
@@ -3570,8 +3569,8 @@ Check the top-level render call using <` + r + ">.");
3570
3569
  if (Me[r])
3571
3570
  return;
3572
3571
  Me[r] = !0;
3573
- var _ = "";
3574
- e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, _), V(null);
3572
+ var o = "";
3573
+ e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), V(null);
3575
3574
  }
3576
3575
  }
3577
3576
  function Ae(e, t) {
@@ -3580,8 +3579,8 @@ Check the top-level render call using <` + r + ">.");
3580
3579
  return;
3581
3580
  if (fe(e))
3582
3581
  for (var r = 0; r < e.length; r++) {
3583
- var _ = e[r];
3584
- ye(_) && Ie(_, t);
3582
+ var o = e[r];
3583
+ ye(o) && Ie(o, t);
3585
3584
  }
3586
3585
  else if (ye(e))
3587
3586
  e._store && (e._store.validated = !0);
@@ -3608,8 +3607,8 @@ Check the top-level render call using <` + r + ">.");
3608
3607
  else
3609
3608
  return;
3610
3609
  if (r) {
3611
- var _ = v(t);
3612
- ze(r, e.props, "prop", _, e);
3610
+ var o = v(t);
3611
+ ze(r, e.props, "prop", o, e);
3613
3612
  } else if (t.PropTypes !== void 0 && !pe) {
3614
3613
  pe = !0;
3615
3614
  var h = v(t);
@@ -3621,9 +3620,9 @@ Check the top-level render call using <` + r + ">.");
3621
3620
  function st(e) {
3622
3621
  {
3623
3622
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
3624
- var _ = t[r];
3625
- if (_ !== "children" && _ !== "key") {
3626
- V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), V(null);
3623
+ var o = t[r];
3624
+ if (o !== "children" && o !== "key") {
3625
+ V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
3627
3626
  break;
3628
3627
  }
3629
3628
  }
@@ -3631,24 +3630,24 @@ Check the top-level render call using <` + r + ">.");
3631
3630
  }
3632
3631
  }
3633
3632
  var $e = {};
3634
- function Be(e, t, r, _, h, x) {
3633
+ function Be(e, t, r, o, h, x) {
3635
3634
  {
3636
3635
  var m = E(e);
3637
3636
  if (!m) {
3638
3637
  var u = "";
3639
3638
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
3640
- var A = ot();
3641
- A ? u += A : u += Fe();
3642
- var S;
3643
- e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
3639
+ var B = ot();
3640
+ B ? u += B : u += Fe();
3641
+ var R;
3642
+ e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
3644
3643
  }
3645
- var T = nt(e, t, r, h, x);
3646
- if (T == null)
3647
- return T;
3644
+ var O = at(e, t, r, h, x);
3645
+ if (O == null)
3646
+ return O;
3648
3647
  if (m) {
3649
3648
  var Y = t.children;
3650
3649
  if (Y !== void 0)
3651
- if (_)
3650
+ if (o)
3652
3651
  if (fe(Y)) {
3653
3652
  for (var X = 0; X < Y.length; X++)
3654
3653
  Ae(Y[X], e);
@@ -3659,11 +3658,11 @@ Check the top-level render call using <` + r + ">.");
3659
3658
  Ae(Y, e);
3660
3659
  }
3661
3660
  if (ee.call(t, "key")) {
3662
- var J = v(e), L = Object.keys(t).filter(function(mt) {
3661
+ var J = v(e), U = Object.keys(t).filter(function(mt) {
3663
3662
  return mt !== "key";
3664
- }), ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
3663
+ }), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
3665
3664
  if (!$e[J + ve]) {
3666
- var ft = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
3665
+ var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
3667
3666
  y(`A props object containing a "key" prop is being spread into JSX:
3668
3667
  let props = %s;
3669
3668
  <%s {...props} />
@@ -3672,7 +3671,7 @@ React keys must be passed directly to JSX without using spread:
3672
3671
  <%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
3673
3672
  }
3674
3673
  }
3675
- return e === c ? st(T) : it(T), T;
3674
+ return e === c ? st(O) : it(O), O;
3676
3675
  }
3677
3676
  }
3678
3677
  function lt(e, t, r) {
@@ -3711,27 +3710,27 @@ const hr = "_shake_oqfdb_1", kr = "_modal_oqfdb_79", br = "_sa_oqfdb_89", wr = "
3711
3710
  g: Br,
3712
3711
  m: Lr
3713
3712
  };
3714
- function Wr({ children: a, className: o }) {
3713
+ function Wr({ children: n, className: _ }) {
3715
3714
  return /* @__PURE__ */ z.jsx(
3716
3715
  "div",
3717
3716
  {
3718
- className: [re.l, o].filter((i) => i !== void 0).join(" "),
3719
- children: /* @__PURE__ */ z.jsx("ul", { children: a })
3717
+ className: [re.l, _].filter((i) => i !== void 0).join(" "),
3718
+ children: /* @__PURE__ */ z.jsx("ul", { children: n })
3720
3719
  }
3721
3720
  );
3722
3721
  }
3723
- function Ur({ children: a, className: o }) {
3722
+ function Ur({ children: n, className: _ }) {
3724
3723
  return /* @__PURE__ */ z.jsx(
3725
3724
  "div",
3726
3725
  {
3727
- className: [re.s, o].filter((i) => i !== void 0).join(" "),
3728
- children: a
3726
+ className: [re.s, _].filter((i) => i !== void 0).join(" "),
3727
+ children: n
3729
3728
  }
3730
3729
  );
3731
3730
  }
3732
3731
  function qr({
3733
- children: a,
3734
- direction: o = "column",
3732
+ children: n,
3733
+ direction: _ = "column",
3735
3734
  className: i
3736
3735
  }) {
3737
3736
  return /* @__PURE__ */ z.jsx(
@@ -3739,35 +3738,35 @@ function qr({
3739
3738
  {
3740
3739
  className: [
3741
3740
  re.f,
3742
- re[o === "row" ? "r_" : "c_"],
3741
+ re[_ === "row" ? "r_" : "c_"],
3743
3742
  i
3744
3743
  ].filter((c) => c !== void 0).join(" "),
3745
- children: a
3744
+ children: n
3746
3745
  }
3747
3746
  );
3748
3747
  }
3749
- function Kr({ children: a, className: o }) {
3748
+ function Kr({ children: n, className: _ }) {
3750
3749
  return /* @__PURE__ */ z.jsx(
3751
3750
  "div",
3752
3751
  {
3753
- className: [re.c, o].filter((i) => i !== void 0).join(" "),
3754
- children: a
3752
+ className: [re.c, _].filter((i) => i !== void 0).join(" "),
3753
+ children: n
3755
3754
  }
3756
3755
  );
3757
3756
  }
3758
- function Gr({ children: a, className: o }) {
3757
+ function Gr({ children: n, className: _ }) {
3759
3758
  return /* @__PURE__ */ z.jsx(
3760
3759
  "div",
3761
3760
  {
3762
- className: [re.g, o].filter((i) => i !== void 0).join(" "),
3763
- children: a
3761
+ className: [re.g, _].filter((i) => i !== void 0).join(" "),
3762
+ children: n
3764
3763
  }
3765
3764
  );
3766
3765
  }
3767
3766
  function Yr() {
3768
3767
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
3769
3768
  }
3770
- function Lt(a) {
3769
+ function Lt(n) {
3771
3770
  return Yr().IMPORT_MODULES;
3772
3771
  }
3773
3772
  var Ot = { exports: {} }, ht = {};
@@ -3784,13 +3783,13 @@ var Wt;
3784
3783
  function zr() {
3785
3784
  if (Wt) return ht;
3786
3785
  Wt = 1;
3787
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
3786
+ var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
3788
3787
  function C(b, l, p) {
3789
- var n, s = {}, w = null, j = null;
3788
+ var a, s = {}, w = null, j = null;
3790
3789
  p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
3791
- for (n in l) c.call(l, n) && !k.hasOwnProperty(n) && (s[n] = l[n]);
3792
- if (b && b.defaultProps) for (n in l = b.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
3793
- return { $$typeof: o, type: b, key: w, ref: j, props: s, _owner: d.current };
3790
+ for (a in l) c.call(l, a) && !k.hasOwnProperty(a) && (s[a] = l[a]);
3791
+ if (b && b.defaultProps) for (a in l = b.defaultProps, l) s[a] === void 0 && (s[a] = l[a]);
3792
+ return { $$typeof: _, type: b, key: w, ref: j, props: s, _owner: d.current };
3794
3793
  }
3795
3794
  return ht.Fragment = i, ht.jsx = C, ht.jsxs = C, ht;
3796
3795
  }
@@ -3807,24 +3806,24 @@ var bt = {};
3807
3806
  var Ut;
3808
3807
  function Hr() {
3809
3808
  return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
3810
- var a = R, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, U = "@@iterator";
3809
+ var n = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, K = "@@iterator";
3811
3810
  function D(e) {
3812
3811
  if (e === null || typeof e != "object")
3813
3812
  return null;
3814
- var t = F && e[F] || e[U];
3813
+ var t = F && e[F] || e[K];
3815
3814
  return typeof t == "function" ? t : null;
3816
3815
  }
3817
- var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3816
+ var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3818
3817
  function y(e) {
3819
3818
  {
3820
- for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), _ = 1; _ < t; _++)
3821
- r[_ - 1] = arguments[_];
3819
+ for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
3820
+ r[o - 1] = arguments[o];
3822
3821
  P("error", e, r);
3823
3822
  }
3824
3823
  }
3825
3824
  function P(e, t, r) {
3826
3825
  {
3827
- var _ = O.ReactDebugCurrentFrame, h = _.getStackAddendum();
3826
+ var o = T.ReactDebugCurrentFrame, h = o.getStackAddendum();
3828
3827
  h !== "" && (t += "%s", r = r.concat([h]));
3829
3828
  var x = r.map(function(m) {
3830
3829
  return String(m);
@@ -3832,19 +3831,19 @@ function Hr() {
3832
3831
  x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
3833
3832
  }
3834
3833
  }
3835
- var K = !1, I = !1, $ = !1, q = !1, W = !1, N;
3834
+ var q = !1, A = !1, L = !1, M = !1, $ = !1, N;
3836
3835
  N = Symbol.for("react.module.reference");
3837
3836
  function E(e) {
3838
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e === p || e === n || q || e === j || K || I || $ || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
3837
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || $ || e === d || e === p || e === a || M || e === j || q || A || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === s || e.$$typeof === C || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
3839
3838
  // types supported by any Flight configuration anywhere since
3840
3839
  // we don't know which Flight build this will end up being used
3841
3840
  // with.
3842
3841
  e.$$typeof === N || e.getModuleId !== void 0));
3843
3842
  }
3844
3843
  function G(e, t, r) {
3845
- var _ = e.displayName;
3846
- if (_)
3847
- return _;
3844
+ var o = e.displayName;
3845
+ if (o)
3846
+ return o;
3848
3847
  var h = t.displayName || t.name || "";
3849
3848
  return h !== "" ? r + "(" + h + ")" : r;
3850
3849
  }
@@ -3869,7 +3868,7 @@ function Hr() {
3869
3868
  return "StrictMode";
3870
3869
  case p:
3871
3870
  return "Suspense";
3872
- case n:
3871
+ case a:
3873
3872
  return "SuspenseList";
3874
3873
  }
3875
3874
  if (typeof e == "object")
@@ -3883,8 +3882,8 @@ function Hr() {
3883
3882
  case l:
3884
3883
  return G(e, e.render, "ForwardRef");
3885
3884
  case s:
3886
- var _ = e.displayName || null;
3887
- return _ !== null ? _ : v(e.type) || "Memo";
3885
+ var o = e.displayName || null;
3886
+ return o !== null ? o : v(e.type) || "Memo";
3888
3887
  case w: {
3889
3888
  var h = e, x = h._payload, m = h._init;
3890
3889
  try {
@@ -3896,14 +3895,14 @@ function Hr() {
3896
3895
  }
3897
3896
  return null;
3898
3897
  }
3899
- var M = Object.assign, B = 0, te, H, ae, ke, se, we, xe;
3898
+ var I = Object.assign, W = 0, te, H, ne, ke, se, we, xe;
3900
3899
  function Ce() {
3901
3900
  }
3902
3901
  Ce.__reactDisabledLog = !0;
3903
3902
  function Ue() {
3904
3903
  {
3905
- if (B === 0) {
3906
- te = console.log, H = console.info, ae = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
3904
+ if (W === 0) {
3905
+ te = console.log, H = console.info, ne = console.warn, ke = console.error, se = console.group, we = console.groupCollapsed, xe = console.groupEnd;
3907
3906
  var e = {
3908
3907
  configurable: !0,
3909
3908
  enumerable: !0,
@@ -3920,53 +3919,53 @@ function Hr() {
3920
3919
  groupEnd: e
3921
3920
  });
3922
3921
  }
3923
- B++;
3922
+ W++;
3924
3923
  }
3925
3924
  }
3926
3925
  function qe() {
3927
3926
  {
3928
- if (B--, B === 0) {
3927
+ if (W--, W === 0) {
3929
3928
  var e = {
3930
3929
  configurable: !0,
3931
3930
  enumerable: !0,
3932
3931
  writable: !0
3933
3932
  };
3934
3933
  Object.defineProperties(console, {
3935
- log: M({}, e, {
3934
+ log: I({}, e, {
3936
3935
  value: te
3937
3936
  }),
3938
- info: M({}, e, {
3937
+ info: I({}, e, {
3939
3938
  value: H
3940
3939
  }),
3941
- warn: M({}, e, {
3942
- value: ae
3940
+ warn: I({}, e, {
3941
+ value: ne
3943
3942
  }),
3944
- error: M({}, e, {
3943
+ error: I({}, e, {
3945
3944
  value: ke
3946
3945
  }),
3947
- group: M({}, e, {
3946
+ group: I({}, e, {
3948
3947
  value: se
3949
3948
  }),
3950
- groupCollapsed: M({}, e, {
3949
+ groupCollapsed: I({}, e, {
3951
3950
  value: we
3952
3951
  }),
3953
- groupEnd: M({}, e, {
3952
+ groupEnd: I({}, e, {
3954
3953
  value: xe
3955
3954
  })
3956
3955
  });
3957
3956
  }
3958
- B < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3957
+ W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3959
3958
  }
3960
3959
  }
3961
- var ce = O.ReactCurrentDispatcher, ue;
3962
- function ne(e, t, r) {
3960
+ var ce = T.ReactCurrentDispatcher, ue;
3961
+ function ae(e, t, r) {
3963
3962
  {
3964
3963
  if (ue === void 0)
3965
3964
  try {
3966
3965
  throw Error();
3967
3966
  } catch (h) {
3968
- var _ = h.stack.trim().match(/\n( *(at )?)/);
3969
- ue = _ && _[1] || "";
3967
+ var o = h.stack.trim().match(/\n( *(at )?)/);
3968
+ ue = o && o[1] || "";
3970
3969
  }
3971
3970
  return `
3972
3971
  ` + ue + e;
@@ -3985,7 +3984,7 @@ function Hr() {
3985
3984
  if (r !== void 0)
3986
3985
  return r;
3987
3986
  }
3988
- var _;
3987
+ var o;
3989
3988
  de = !0;
3990
3989
  var h = Error.prepareStackTrace;
3991
3990
  Error.prepareStackTrace = void 0;
@@ -4003,49 +4002,49 @@ function Hr() {
4003
4002
  }), typeof Reflect == "object" && Reflect.construct) {
4004
4003
  try {
4005
4004
  Reflect.construct(m, []);
4006
- } catch (L) {
4007
- _ = L;
4005
+ } catch (U) {
4006
+ o = U;
4008
4007
  }
4009
4008
  Reflect.construct(e, [], m);
4010
4009
  } else {
4011
4010
  try {
4012
4011
  m.call();
4013
- } catch (L) {
4014
- _ = L;
4012
+ } catch (U) {
4013
+ o = U;
4015
4014
  }
4016
4015
  e.call(m.prototype);
4017
4016
  }
4018
4017
  } else {
4019
4018
  try {
4020
4019
  throw Error();
4021
- } catch (L) {
4022
- _ = L;
4020
+ } catch (U) {
4021
+ o = U;
4023
4022
  }
4024
4023
  e();
4025
4024
  }
4026
- } catch (L) {
4027
- if (L && _ && typeof L.stack == "string") {
4028
- for (var u = L.stack.split(`
4029
- `), A = _.stack.split(`
4030
- `), S = u.length - 1, T = A.length - 1; S >= 1 && T >= 0 && u[S] !== A[T]; )
4031
- T--;
4032
- for (; S >= 1 && T >= 0; S--, T--)
4033
- if (u[S] !== A[T]) {
4034
- if (S !== 1 || T !== 1)
4025
+ } catch (U) {
4026
+ if (U && o && typeof U.stack == "string") {
4027
+ for (var u = U.stack.split(`
4028
+ `), B = o.stack.split(`
4029
+ `), R = u.length - 1, O = B.length - 1; R >= 1 && O >= 0 && u[R] !== B[O]; )
4030
+ O--;
4031
+ for (; R >= 1 && O >= 0; R--, O--)
4032
+ if (u[R] !== B[O]) {
4033
+ if (R !== 1 || O !== 1)
4035
4034
  do
4036
- if (S--, T--, T < 0 || u[S] !== A[T]) {
4035
+ if (R--, O--, O < 0 || u[R] !== B[O]) {
4037
4036
  var Y = `
4038
- ` + u[S].replace(" at new ", " at ");
4037
+ ` + u[R].replace(" at new ", " at ");
4039
4038
  return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
4040
4039
  }
4041
- while (S >= 1 && T >= 0);
4040
+ while (R >= 1 && O >= 0);
4042
4041
  break;
4043
4042
  }
4044
4043
  }
4045
4044
  } finally {
4046
4045
  de = !1, ce.current = x, qe(), Error.prepareStackTrace = h;
4047
4046
  }
4048
- var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
4047
+ var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
4049
4048
  return typeof e == "function" && oe.set(e, J), J;
4050
4049
  }
4051
4050
  function Ge(e, t, r) {
@@ -4061,12 +4060,12 @@ function Hr() {
4061
4060
  if (typeof e == "function")
4062
4061
  return je(e, Ye(e));
4063
4062
  if (typeof e == "string")
4064
- return ne(e);
4063
+ return ae(e);
4065
4064
  switch (e) {
4066
4065
  case p:
4067
- return ne("Suspense");
4068
- case n:
4069
- return ne("SuspenseList");
4066
+ return ae("Suspense");
4067
+ case a:
4068
+ return ae("SuspenseList");
4070
4069
  }
4071
4070
  if (typeof e == "object")
4072
4071
  switch (e.$$typeof) {
@@ -4075,7 +4074,7 @@ function Hr() {
4075
4074
  case s:
4076
4075
  return _e(e.type, t, r);
4077
4076
  case w: {
4078
- var _ = e, h = _._payload, x = _._init;
4077
+ var o = e, h = o._payload, x = o._init;
4079
4078
  try {
4080
4079
  return _e(x(h), t, r);
4081
4080
  } catch {
@@ -4084,7 +4083,7 @@ function Hr() {
4084
4083
  }
4085
4084
  return "";
4086
4085
  }
4087
- var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = O.ReactDebugCurrentFrame;
4086
+ var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
4088
4087
  function ie(e) {
4089
4088
  if (e) {
4090
4089
  var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
@@ -4092,7 +4091,7 @@ function Hr() {
4092
4091
  } else
4093
4092
  Se.setExtraStackFrame(null);
4094
4093
  }
4095
- function ze(e, t, r, _, h) {
4094
+ function ze(e, t, r, o, h) {
4096
4095
  {
4097
4096
  var x = Function.call.bind(ee);
4098
4097
  for (var m in e)
@@ -4100,14 +4099,14 @@ function Hr() {
4100
4099
  var u = void 0;
4101
4100
  try {
4102
4101
  if (typeof e[m] != "function") {
4103
- var A = Error((_ || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
4104
- throw A.name = "Invariant Violation", A;
4102
+ var B = Error((o || "React class") + ": " + r + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
4103
+ throw B.name = "Invariant Violation", B;
4105
4104
  }
4106
- u = e[m](t, m, _, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
4107
- } catch (S) {
4108
- u = S;
4105
+ u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
4106
+ } catch (R) {
4107
+ u = R;
4109
4108
  }
4110
- u && !(u instanceof Error) && (ie(h), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _ || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
4109
+ u && !(u instanceof Error) && (ie(h), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), y("Failed %s type: %s", r, u.message), ie(null));
4111
4110
  }
4112
4111
  }
4113
4112
  }
@@ -4135,7 +4134,7 @@ function Hr() {
4135
4134
  if (Ze(e))
4136
4135
  return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
4137
4136
  }
4138
- var Oe = O.ReactCurrentOwner, Ve = {
4137
+ var Oe = T.ReactCurrentOwner, Ve = {
4139
4138
  key: !0,
4140
4139
  ref: !0,
4141
4140
  __self: !0,
@@ -4182,10 +4181,10 @@ function Hr() {
4182
4181
  });
4183
4182
  }
4184
4183
  }
4185
- var at = function(e, t, r, _, h, x, m) {
4184
+ var nt = function(e, t, r, o, h, x, m) {
4186
4185
  var u = {
4187
4186
  // This tag allows us to uniquely identify this as a React Element
4188
- $$typeof: o,
4187
+ $$typeof: _,
4189
4188
  // Built-in properties that belong on the element
4190
4189
  type: e,
4191
4190
  key: t,
@@ -4203,7 +4202,7 @@ function Hr() {
4203
4202
  configurable: !1,
4204
4203
  enumerable: !1,
4205
4204
  writable: !1,
4206
- value: _
4205
+ value: o
4207
4206
  }), Object.defineProperty(u, "_source", {
4208
4207
  configurable: !1,
4209
4208
  enumerable: !1,
@@ -4211,25 +4210,25 @@ function Hr() {
4211
4210
  value: h
4212
4211
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
4213
4212
  };
4214
- function nt(e, t, r, _, h) {
4213
+ function at(e, t, r, o, h) {
4215
4214
  {
4216
- var x, m = {}, u = null, A = null;
4217
- r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (A = t.ref, et(t));
4215
+ var x, m = {}, u = null, B = null;
4216
+ r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (B = t.ref, et(t));
4218
4217
  for (x in t)
4219
4218
  ee.call(t, x) && !Ve.hasOwnProperty(x) && (m[x] = t[x]);
4220
4219
  if (e && e.defaultProps) {
4221
- var S = e.defaultProps;
4222
- for (x in S)
4223
- m[x] === void 0 && (m[x] = S[x]);
4220
+ var R = e.defaultProps;
4221
+ for (x in R)
4222
+ m[x] === void 0 && (m[x] = R[x]);
4224
4223
  }
4225
- if (u || A) {
4226
- var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
4227
- u && tt(m, T), A && rt(m, T);
4224
+ if (u || B) {
4225
+ var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
4226
+ u && tt(m, O), B && rt(m, O);
4228
4227
  }
4229
- return at(e, u, A, h, _, Oe.current, m);
4228
+ return nt(e, u, B, h, o, Oe.current, m);
4230
4229
  }
4231
4230
  }
4232
- var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
4231
+ var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
4233
4232
  function V(e) {
4234
4233
  if (e) {
4235
4234
  var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
@@ -4240,7 +4239,7 @@ function Hr() {
4240
4239
  var pe;
4241
4240
  pe = !1;
4242
4241
  function ye(e) {
4243
- return typeof e == "object" && e !== null && e.$$typeof === o;
4242
+ return typeof e == "object" && e !== null && e.$$typeof === _;
4244
4243
  }
4245
4244
  function Fe() {
4246
4245
  {
@@ -4279,8 +4278,8 @@ Check the top-level render call using <` + r + ">.");
4279
4278
  if (Me[r])
4280
4279
  return;
4281
4280
  Me[r] = !0;
4282
- var _ = "";
4283
- e && e._owner && e._owner !== me.current && (_ = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, _), V(null);
4281
+ var o = "";
4282
+ e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), V(null);
4284
4283
  }
4285
4284
  }
4286
4285
  function Ae(e, t) {
@@ -4289,8 +4288,8 @@ Check the top-level render call using <` + r + ">.");
4289
4288
  return;
4290
4289
  if (fe(e))
4291
4290
  for (var r = 0; r < e.length; r++) {
4292
- var _ = e[r];
4293
- ye(_) && Ie(_, t);
4291
+ var o = e[r];
4292
+ ye(o) && Ie(o, t);
4294
4293
  }
4295
4294
  else if (ye(e))
4296
4295
  e._store && (e._store.validated = !0);
@@ -4317,8 +4316,8 @@ Check the top-level render call using <` + r + ">.");
4317
4316
  else
4318
4317
  return;
4319
4318
  if (r) {
4320
- var _ = v(t);
4321
- ze(r, e.props, "prop", _, e);
4319
+ var o = v(t);
4320
+ ze(r, e.props, "prop", o, e);
4322
4321
  } else if (t.PropTypes !== void 0 && !pe) {
4323
4322
  pe = !0;
4324
4323
  var h = v(t);
@@ -4330,9 +4329,9 @@ Check the top-level render call using <` + r + ">.");
4330
4329
  function st(e) {
4331
4330
  {
4332
4331
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
4333
- var _ = t[r];
4334
- if (_ !== "children" && _ !== "key") {
4335
- V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), V(null);
4332
+ var o = t[r];
4333
+ if (o !== "children" && o !== "key") {
4334
+ V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
4336
4335
  break;
4337
4336
  }
4338
4337
  }
@@ -4340,24 +4339,24 @@ Check the top-level render call using <` + r + ">.");
4340
4339
  }
4341
4340
  }
4342
4341
  var $e = {};
4343
- function Be(e, t, r, _, h, x) {
4342
+ function Be(e, t, r, o, h, x) {
4344
4343
  {
4345
4344
  var m = E(e);
4346
4345
  if (!m) {
4347
4346
  var u = "";
4348
4347
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
4349
- var A = ot();
4350
- A ? u += A : u += Fe();
4351
- var S;
4352
- e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
4348
+ var B = ot();
4349
+ B ? u += B : u += Fe();
4350
+ var R;
4351
+ e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
4353
4352
  }
4354
- var T = nt(e, t, r, h, x);
4355
- if (T == null)
4356
- return T;
4353
+ var O = at(e, t, r, h, x);
4354
+ if (O == null)
4355
+ return O;
4357
4356
  if (m) {
4358
4357
  var Y = t.children;
4359
4358
  if (Y !== void 0)
4360
- if (_)
4359
+ if (o)
4361
4360
  if (fe(Y)) {
4362
4361
  for (var X = 0; X < Y.length; X++)
4363
4362
  Ae(Y[X], e);
@@ -4368,11 +4367,11 @@ Check the top-level render call using <` + r + ">.");
4368
4367
  Ae(Y, e);
4369
4368
  }
4370
4369
  if (ee.call(t, "key")) {
4371
- var J = v(e), L = Object.keys(t).filter(function(mt) {
4370
+ var J = v(e), U = Object.keys(t).filter(function(mt) {
4372
4371
  return mt !== "key";
4373
- }), ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
4372
+ }), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
4374
4373
  if (!$e[J + ve]) {
4375
- var ft = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
4374
+ var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
4376
4375
  y(`A props object containing a "key" prop is being spread into JSX:
4377
4376
  let props = %s;
4378
4377
  <%s {...props} />
@@ -4381,7 +4380,7 @@ React keys must be passed directly to JSX without using spread:
4381
4380
  <%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
4382
4381
  }
4383
4382
  }
4384
- return e === c ? st(T) : it(T), T;
4383
+ return e === c ? st(O) : it(O), O;
4385
4384
  }
4386
4385
  }
4387
4386
  function lt(e, t, r) {
@@ -4396,18 +4395,18 @@ React keys must be passed directly to JSX without using spread:
4396
4395
  }
4397
4396
  process.env.NODE_ENV === "production" ? Ot.exports = zr() : Ot.exports = Hr();
4398
4397
  var St = Ot.exports;
4399
- const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr = "_action_1k1b3_25", Qr = "_disabled_1k1b3_30", ea = "_m_1k1b3_44", ta = "_l_1k1b3_48", wt = {
4398
+ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr = "_action_1k1b3_25", Qr = "_disabled_1k1b3_30", en = "_m_1k1b3_44", tn = "_l_1k1b3_48", wt = {
4400
4399
  btn: Jr,
4401
4400
  confirm: Zr,
4402
4401
  cancel: Vr,
4403
4402
  action: Xr,
4404
4403
  disabled: Qr,
4405
4404
  await: "_await_1k1b3_37",
4406
- m: ea,
4407
- l: ta
4408
- }, ra = ({
4409
- onClick: a,
4410
- onSend: o,
4405
+ m: en,
4406
+ l: tn
4407
+ }, rn = ({
4408
+ onClick: n,
4409
+ onSend: _,
4411
4410
  size: i = "m",
4412
4411
  view: c = "confirm",
4413
4412
  children: d,
@@ -4416,20 +4415,20 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
4416
4415
  after: b,
4417
4416
  before: l,
4418
4417
  label: p,
4419
- onRef: n,
4418
+ onRef: a,
4420
4419
  awaitText: s = "Ожидайте"
4421
4420
  }) => {
4422
- let [w, j] = R.useState(!1);
4421
+ let [w, j] = S.useState(!1);
4423
4422
  const F = (D) => {
4424
- if (a) return a();
4425
- w || (o ? (j(!0), o(j)) : D.preventDefault());
4423
+ if (n) return n();
4424
+ w || (_ ? (j(!0), _(j)) : D.preventDefault());
4426
4425
  };
4427
- let U = {};
4428
- return (k || w) && (U.disabled = !0), /* @__PURE__ */ St.jsx(
4426
+ let K = {};
4427
+ return (k || w) && (K.disabled = !0), /* @__PURE__ */ St.jsx(
4429
4428
  "button",
4430
4429
  {
4431
- ...U,
4432
- ref: n,
4430
+ ...K,
4431
+ ref: a,
4433
4432
  className: [
4434
4433
  wt.btn,
4435
4434
  w ? wt.disabled : wt[c],
@@ -4448,67 +4447,67 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
4448
4447
  );
4449
4448
  };
4450
4449
  let ge = {};
4451
- function aa({ children: a }) {
4452
- return /* @__PURE__ */ z.jsx(z.Fragment, { children: a });
4450
+ function nn({ children: n }) {
4451
+ return /* @__PURE__ */ z.jsx(z.Fragment, { children: n });
4453
4452
  }
4454
4453
  var jt;
4455
- ((a) => {
4456
- function o({
4457
- import_modules: n
4454
+ ((n) => {
4455
+ function _({
4456
+ import_modules: a
4458
4457
  }) {
4459
- let [s, w] = R.useState([]);
4458
+ let [s, w] = S.useState([]);
4460
4459
  return ge.x = (j) => {
4461
4460
  w(j ? s.filter((F) => F.key !== j) : []);
4462
4461
  }, Kt(() => {
4463
- n && (ge.i = n);
4462
+ a && (ge.i = a);
4464
4463
  }, []), ge.add = (j, F = Date.now()) => {
4465
4464
  w([...s, { key: F, item: j }]);
4466
4465
  }, /* @__PURE__ */ z.jsx(z.Fragment, { children: s.map((j) => j.item) });
4467
4466
  }
4468
- a.Init = o;
4469
- function i(n) {
4470
- return n && (ge.i = n), ge.i;
4467
+ n.Init = _;
4468
+ function i(a) {
4469
+ return a && (ge.i = a), ge.i;
4471
4470
  }
4472
- a.Import = i, a.List = Wr, a.Scroll = Ur, a.Form = qr, a.Center = Kr, a.Column = Gr;
4473
- function c(n, s, w) {
4474
- ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((j) => {
4471
+ n.Import = i, n.List = Wr, n.Scroll = Ur, n.Form = qr, n.Center = Kr, n.Column = Gr;
4472
+ function c(a, s, w) {
4473
+ ge.i ? ge.i(`${a}/modal/${s}.tsx`).then((j) => {
4475
4474
  j.default.Open(w);
4476
- }) : Lt()(`${n}/modal/${s}.tsx`).then((j) => {
4475
+ }) : Lt()(`${a}/modal/${s}.tsx`).then((j) => {
4477
4476
  j.default.Open(w);
4478
4477
  });
4479
4478
  }
4480
- a.Open = c;
4481
- function d({ type: n, name: s, params: w }) {
4482
- let [j, F] = R.useState(null);
4483
- return R.useEffect(() => {
4484
- ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((U) => {
4485
- F(U.default.Icon(w));
4486
- }) : Lt()(`${n}/modal/${s}.tsx`).then((U) => {
4487
- F(U.default.Icon(w));
4479
+ n.Open = c;
4480
+ function d({ type: a, name: s, params: w }) {
4481
+ let [j, F] = S.useState(null);
4482
+ return S.useEffect(() => {
4483
+ ge.i ? ge.i(`${a}/modal/${s}.tsx`).then((K) => {
4484
+ F(K.default.Icon(w));
4485
+ }) : Lt()(`${a}/modal/${s}.tsx`).then((K) => {
4486
+ F(K.default.Icon(w));
4488
4487
  });
4489
4488
  }, [w.id]), /* @__PURE__ */ z.jsx(z.Fragment, { children: j });
4490
4489
  }
4491
- a.Icon = d;
4492
- function k(n, s) {
4493
- ge.add(/* @__PURE__ */ z.jsx(aa, { children: n }, String(Date.now())), s);
4490
+ n.Icon = d;
4491
+ function k(a, s) {
4492
+ ge.add(/* @__PURE__ */ z.jsx(nn, { children: a }, String(Date.now())), s);
4494
4493
  }
4495
- a.Add = k;
4496
- function C(n) {
4497
- ge.x(n);
4494
+ n.Add = k;
4495
+ function C(a) {
4496
+ ge.x(a);
4498
4497
  }
4499
- a.Close = C;
4500
- function b(n) {
4501
- if (n.target.classList[0] !== "modal") return;
4502
- let s = n.target.children[0];
4498
+ n.Close = C;
4499
+ function b(a) {
4500
+ if (a.target.classList[0] !== "modal") return;
4501
+ let s = a.target.children[0];
4503
4502
  s.setAttribute("shake", !0), setTimeout(() => {
4504
4503
  s.setAttribute("shake", !1);
4505
4504
  }, 1e3);
4506
4505
  }
4507
- a.Shake = b;
4508
- function l(n, s) {
4506
+ n.Shake = b;
4507
+ function l(a, s) {
4509
4508
  const w = (j) => {
4510
- a.Add(
4511
- /* @__PURE__ */ z.jsx(n, { ...j }, (/* @__PURE__ */ new Date()).getTime())
4509
+ n.Add(
4510
+ /* @__PURE__ */ z.jsx(a, { ...j }, (/* @__PURE__ */ new Date()).getTime())
4512
4511
  );
4513
4512
  };
4514
4513
  return {
@@ -4516,54 +4515,54 @@ var jt;
4516
4515
  Open: w
4517
4516
  };
4518
4517
  }
4519
- a.Create = l;
4518
+ n.Create = l;
4520
4519
  function p({
4521
- title: n,
4520
+ title: a,
4522
4521
  children: s,
4523
4522
  button: w,
4524
4523
  tabs: j,
4525
4524
  size: F = "m",
4526
- className: U = "",
4525
+ className: K = "",
4527
4526
  shake: D = !0,
4528
- menu: O
4527
+ menu: T
4529
4528
  }) {
4530
- const [y, P] = R.useState(!0), K = R.useRef(), I = (q) => {
4529
+ const [y, P] = S.useState(!0), q = S.useRef(), A = (M) => {
4531
4530
  if (w) {
4532
4531
  if (w.onClick)
4533
- return q(!1), w.onClick({ setOpen: P });
4532
+ return M(!1), w.onClick({ setOpen: P });
4534
4533
  if (w.onSend)
4535
4534
  return w.onSend({
4536
4535
  setOpen: P,
4537
- disabled: q
4536
+ disabled: M
4538
4537
  });
4539
4538
  }
4540
- }, $ = () => {
4539
+ }, L = () => {
4541
4540
  if (!D) return P(!1);
4542
- K.current.setAttribute("shake", !0), setTimeout(() => {
4543
- K.current.setAttribute("shake", !1);
4541
+ q.current.setAttribute("shake", !0), setTimeout(() => {
4542
+ q.current.setAttribute("shake", !1);
4544
4543
  }, 1e3);
4545
4544
  };
4546
4545
  return y ? /* @__PURE__ */ z.jsxs("div", { className: `${re.modal}`, children: [
4547
- /* @__PURE__ */ z.jsx("div", { className: re.o, onClick: $ }),
4546
+ /* @__PURE__ */ z.jsx("div", { className: re.o, onClick: L }),
4548
4547
  /* @__PURE__ */ z.jsxs(
4549
4548
  "div",
4550
4549
  {
4551
- className: [re.w, re[`s${F}`], U].filter((q) => q != "").join(" "),
4552
- ref: K,
4550
+ className: [re.w, re[`s${F}`], K].filter((M) => M != "").join(" "),
4551
+ ref: q,
4553
4552
  children: [
4554
4553
  /* @__PURE__ */ z.jsxs("div", { className: re.h, children: [
4555
- /* @__PURE__ */ z.jsx("div", { className: re.t, children: n }),
4554
+ /* @__PURE__ */ z.jsx("div", { className: re.t, children: a }),
4556
4555
  /* @__PURE__ */ z.jsxs("div", { className: re.m, children: [
4557
- j && /* @__PURE__ */ z.jsx("nav", { children: j.map((q, W) => /* @__PURE__ */ z.jsx(
4556
+ j && /* @__PURE__ */ z.jsx("nav", { children: j.map((M, $) => /* @__PURE__ */ z.jsx(
4558
4557
  "span",
4559
4558
  {
4560
- onClick: q.onClick,
4561
- className: q.active ? "active" : "",
4562
- children: q.name
4559
+ onClick: M.onClick,
4560
+ className: M.active ? "active" : "",
4561
+ children: M.name
4563
4562
  },
4564
- W
4563
+ $
4565
4564
  )) }),
4566
- O
4565
+ T
4567
4566
  ] }),
4568
4567
  /* @__PURE__ */ z.jsx(
4569
4568
  "div",
@@ -4587,10 +4586,10 @@ var jt;
4587
4586
  ] }),
4588
4587
  s,
4589
4588
  w && /* @__PURE__ */ z.jsx("div", { className: re.b, children: /* @__PURE__ */ z.jsx(
4590
- ra,
4589
+ rn,
4591
4590
  {
4592
4591
  label: w.label,
4593
- onSend: I,
4592
+ onSend: A,
4594
4593
  className: re.btn,
4595
4594
  size: w.size
4596
4595
  }
@@ -4600,12 +4599,12 @@ var jt;
4600
4599
  )
4601
4600
  ] }) : "";
4602
4601
  }
4603
- a.Main = p;
4602
+ n.Main = p;
4604
4603
  })(jt || (jt = {}));
4605
- const na = (a, o = ",") => (a = a !== void 0 && a !== "" ? a.split(o) : [], a.filter((i) => i !== "").reduce((i, c) => (i[c] = !0, i), {}));
4606
- function ba({
4607
- value: a,
4608
- onValue: o,
4604
+ const an = (n, _ = ",") => (n = n !== void 0 && n !== "" ? n.split(_) : [], n.filter((i) => i !== "").reduce((i, c) => (i[c] = !0, i), {}));
4605
+ function wn({
4606
+ value: n,
4607
+ onValue: _,
4609
4608
  name: i,
4610
4609
  placeholder: c = "",
4611
4610
  separator: d = ",",
@@ -4614,43 +4613,43 @@ function ba({
4614
4613
  hide: b = !1,
4615
4614
  edit: l = !0,
4616
4615
  active: p = !0,
4617
- outFormat: n = "object",
4616
+ outFormat: a = "object",
4618
4617
  after: s = "",
4619
4618
  modal: w,
4620
4619
  options: j,
4621
4620
  className: F
4622
4621
  }) {
4623
- const [U, D] = R.useState(na(a, d)), O = (y) => {
4622
+ const [K, D] = S.useState(an(n, d)), T = (y) => {
4624
4623
  if (!(l && p) || !w) return;
4625
4624
  let P = w.split(".");
4626
4625
  jt.Open(P[0], P[1], {
4627
- callback: (K) => {
4628
- if (o)
4629
- switch (n) {
4626
+ callback: (q) => {
4627
+ if (_)
4628
+ switch (a) {
4630
4629
  case "array":
4631
- o({ value: Object.keys(K), name: i });
4630
+ _({ value: Object.keys(q), name: i });
4632
4631
  break;
4633
4632
  case "string":
4634
- o({
4635
- value: Object.keys(K).filter((I) => K[I]).join(d),
4633
+ _({
4634
+ value: Object.keys(q).filter((A) => q[A]).join(d),
4636
4635
  name: i
4637
4636
  });
4638
4637
  break;
4639
4638
  default:
4640
- o({ value: K, name: i });
4639
+ _({ value: q, name: i });
4641
4640
  }
4642
4641
  D(
4643
4642
  Object.fromEntries(
4644
- Object.entries(K).filter(
4645
- ([I, $]) => $ !== !1
4643
+ Object.entries(q).filter(
4644
+ ([A, L]) => L !== !1
4646
4645
  )
4647
4646
  )
4648
4647
  );
4649
4648
  },
4650
- onValue: o,
4649
+ onValue: _,
4651
4650
  options: j,
4652
4651
  name: i,
4653
- value: U
4652
+ value: K
4654
4653
  });
4655
4654
  };
4656
4655
  return b ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
@@ -4663,24 +4662,24 @@ function ba({
4663
4662
  element_input: {
4664
4663
  className: [Q.g],
4665
4664
  props: {
4666
- onClick: O
4665
+ onClick: T
4667
4666
  }
4668
4667
  },
4669
- children: Object.keys(U).map((y) => {
4668
+ children: Object.keys(K).map((y) => {
4670
4669
  var P;
4671
4670
  return /* @__PURE__ */ f.jsx("div", { children: (P = j[y]) == null ? void 0 : P.label }, y);
4672
4671
  })
4673
4672
  }
4674
4673
  );
4675
4674
  }
4676
- const oa = "_o_1wehm_12", _a = "_l_1wehm_22", ia = "_f_1wehm_81", Dt = {
4677
- o: oa,
4678
- l: _a,
4679
- f: ia
4675
+ const on = "_o_1wehm_12", _n = "_l_1wehm_22", sn = "_f_1wehm_81", Dt = {
4676
+ o: on,
4677
+ l: _n,
4678
+ f: sn
4680
4679
  };
4681
- function wa({
4682
- title: a,
4683
- error: o,
4680
+ function xn({
4681
+ title: n,
4682
+ error: _,
4684
4683
  edit: i = !0,
4685
4684
  active: c = !0,
4686
4685
  hide: d,
@@ -4689,52 +4688,52 @@ function wa({
4689
4688
  options: b,
4690
4689
  placeholder: l = "",
4691
4690
  className: p,
4692
- isIcon: n = !0,
4691
+ isIcon: a = !0,
4693
4692
  name: s,
4694
4693
  after: w,
4695
4694
  view: j,
4696
4695
  order: F,
4697
- isReload: U = !1
4696
+ isReload: K = !1
4698
4697
  }) {
4699
- const D = R.useRef(null), [O, y] = R.useState(k), [P, K] = R.useState(b), [I, $] = R.useState(!1);
4700
- R.useEffect(() => {
4701
- y(k), K(b);
4698
+ const D = S.useRef(null), [T, y] = S.useState(k), [P, q] = S.useState(b), [A, L] = S.useState(!1);
4699
+ S.useEffect(() => {
4700
+ y(k), q(b);
4702
4701
  }, [k, b]);
4703
- const q = Array.isArray(P), W = q ? P.length : Object.keys(P || {}).length, N = (M) => {
4704
- var B;
4705
- if (q) {
4702
+ const M = Array.isArray(P), $ = M ? P.length : Object.keys(P || {}).length, N = (I) => {
4703
+ var W;
4704
+ if (M) {
4706
4705
  const te = P.find(
4707
- (H) => (H.id || H.i) === M
4706
+ (H) => (H.id || H.i) === I
4708
4707
  );
4709
4708
  return te == null ? void 0 : te.n;
4710
4709
  } else
4711
- return (B = P == null ? void 0 : P[M]) == null ? void 0 : B.n;
4710
+ return (W = P == null ? void 0 : P[I]) == null ? void 0 : W.n;
4712
4711
  };
4713
4712
  d = !!(d && (k === 0 || N(k) === void 0)) && !(i && c);
4714
- const G = (M) => {
4715
- y(M), C && C({ value: M, name: s, reload: U });
4716
- }, g = (M) => {
4717
- W !== 0 && i && c && (D.position = D.current.getBoundingClientRect(), $(!0));
4713
+ const G = (I) => {
4714
+ y(I), C && C({ value: I, name: s, reload: K });
4715
+ }, g = (I) => {
4716
+ $ !== 0 && i && c && (D.position = D.current.getBoundingClientRect(), L(!0));
4718
4717
  }, v = {};
4719
4718
  return l && (v.placeholder = l), d ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
4720
4719
  /* @__PURE__ */ f.jsx(
4721
4720
  he,
4722
4721
  {
4723
4722
  type: "select",
4724
- title: a,
4723
+ title: n,
4725
4724
  element_blok: { className: [p] },
4726
- error: o,
4725
+ error: _,
4727
4726
  element_input: {
4728
4727
  className: [Dt.f],
4729
4728
  props: { onClick: g }
4730
4729
  },
4731
4730
  ref: D,
4732
- children: /* @__PURE__ */ f.jsx("div", { ...v, children: N(O) || l || "" })
4731
+ children: /* @__PURE__ */ f.jsx("div", { ...v, children: N(T) || l || "" })
4733
4732
  }
4734
4733
  ),
4735
- I && Nt(
4734
+ A && Nt(
4736
4735
  /* @__PURE__ */ f.jsx(
4737
- sa,
4736
+ ln,
4738
4737
  {
4739
4738
  parent: D.position,
4740
4739
  onValue: G,
@@ -4742,7 +4741,7 @@ function wa({
4742
4741
  className: p,
4743
4742
  options: P,
4744
4743
  order: F,
4745
- setOpen: $
4744
+ setOpen: L
4746
4745
  },
4747
4746
  (/* @__PURE__ */ new Date()).getTime()
4748
4747
  ),
@@ -4750,9 +4749,9 @@ function wa({
4750
4749
  )
4751
4750
  ] });
4752
4751
  }
4753
- const sa = ({
4754
- onValue: a,
4755
- parent: o,
4752
+ const ln = ({
4753
+ onValue: n,
4754
+ parent: _,
4756
4755
  className: i,
4757
4756
  options: c,
4758
4757
  order: d,
@@ -4760,9 +4759,9 @@ const sa = ({
4760
4759
  }) => {
4761
4760
  let C = () => {
4762
4761
  k(!1);
4763
- }, b = (n) => {
4764
- k(!1), a(n);
4765
- }, l = window.innerHeight - o.y + o.height < 320 ? o.y - 312 : o.y + 33, p = window.innerWidth - o.x < 265 ? o.x - 235 : o.x;
4762
+ }, b = (a) => {
4763
+ k(!1), n(a);
4764
+ }, l = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, p = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
4766
4765
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
4767
4766
  /* @__PURE__ */ f.jsx(
4768
4767
  "div",
@@ -4775,20 +4774,20 @@ const sa = ({
4775
4774
  /* @__PURE__ */ f.jsx(
4776
4775
  "div",
4777
4776
  {
4778
- className: [Dt.l, i].filter((n) => n !== void 0).join(" "),
4777
+ className: [Dt.l, i].filter((a) => a !== void 0).join(" "),
4779
4778
  style: {
4780
4779
  top: l + "px",
4781
4780
  left: p + "px",
4782
- width: o.width
4781
+ width: _.width
4783
4782
  },
4784
- children: /* @__PURE__ */ f.jsx(la, { order: d, options: c, link: b })
4783
+ children: /* @__PURE__ */ f.jsx(cn, { order: d, options: c, link: b })
4785
4784
  }
4786
4785
  )
4787
4786
  ] });
4788
- }, la = ({ order: a, options: o, link: i }) => {
4789
- if (Array.isArray(o)) {
4790
- const d = o;
4791
- return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((k, C) => {
4787
+ }, cn = ({ order: n, options: _, link: i }) => {
4788
+ if (Array.isArray(_)) {
4789
+ const d = _;
4790
+ return n ? /* @__PURE__ */ f.jsx("ul", { children: n.map((k, C) => {
4792
4791
  const b = d.find(
4793
4792
  (p) => (p.id || p.i) === k
4794
4793
  );
@@ -4819,8 +4818,8 @@ const sa = ({
4819
4818
  );
4820
4819
  }) });
4821
4820
  }
4822
- return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((d, k) => {
4823
- const C = o[d];
4821
+ return n ? /* @__PURE__ */ f.jsx("ul", { children: n.map((d, k) => {
4822
+ const C = _[d];
4824
4823
  return !C || C.s === 0 || !C.n ? null : /* @__PURE__ */ f.jsx(
4825
4824
  "li",
4826
4825
  {
@@ -4831,8 +4830,8 @@ const sa = ({
4831
4830
  },
4832
4831
  `${d}-${k}`
4833
4832
  );
4834
- }) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(o || {}).map((d, k) => {
4835
- const C = Number(d), b = o[C];
4833
+ }) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(_ || {}).map((d, k) => {
4834
+ const C = Number(d), b = _[C];
4836
4835
  return !b || b.s === 0 || !b.n ? null : /* @__PURE__ */ f.jsx(
4837
4836
  "li",
4838
4837
  {
@@ -4845,9 +4844,9 @@ const sa = ({
4845
4844
  );
4846
4845
  }) });
4847
4846
  };
4848
- function xa({
4849
- value: a,
4850
- onValue: o,
4847
+ function Cn({
4848
+ value: n,
4849
+ onValue: _,
4851
4850
  name: i,
4852
4851
  placeholder: c = "",
4853
4852
  title: d,
@@ -4856,24 +4855,31 @@ function xa({
4856
4855
  edit: b = !0,
4857
4856
  show: l = !0,
4858
4857
  active: p = !0,
4859
- after: n = "",
4858
+ after: a = "",
4860
4859
  view: s,
4861
4860
  modal: w,
4862
- module: j,
4863
- options: F,
4864
- className: U
4861
+ options: j,
4862
+ className: F
4865
4863
  }) {
4866
- const [D, O] = R.useState(a), y = (K) => {
4864
+ const K = (q) => q ? Array.isArray(q) ? q[1] || "" : q : "", [D, T] = S.useState(n);
4865
+ S.useEffect(() => {
4866
+ T(n);
4867
+ }, [n]);
4868
+ const y = (q) => {
4867
4869
  if (!(b && p) || !w) return;
4868
- let I = w.split(".");
4869
- jt.Open(I[0], I[1], {
4870
- callback: ($) => {
4871
- o && o({ value: $, name: i }), O($);
4870
+ let A = w.split(".");
4871
+ if (A.length < 2)
4872
+ return;
4873
+ const L = Array.isArray(n) ? n[0] : n;
4874
+ jt.Open(A[0], A[1], {
4875
+ callback: (M) => {
4876
+ let $;
4877
+ Array.isArray(M) && M.length >= 2 ? $ = [M[0], M[1]] : typeof M == "object" && M.id !== void 0 && M.name !== void 0 ? $ = [M.id, M.name] : $ = M, _ && _({ value: $, name: i }), T($);
4872
4878
  },
4873
- onValue: o,
4874
- options: F,
4879
+ onValue: _,
4880
+ options: j,
4875
4881
  name: i,
4876
- value: a
4882
+ value: L
4877
4883
  });
4878
4884
  }, P = {};
4879
4885
  return c && (P.placeholder = c), C ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
@@ -4881,19 +4887,19 @@ function xa({
4881
4887
  {
4882
4888
  type: "input",
4883
4889
  title: d,
4884
- element_blok: { className: [U] },
4890
+ element_blok: { className: [F] },
4885
4891
  error: k,
4886
4892
  element_input: {
4887
4893
  className: [Q.w],
4888
4894
  props: { onClick: y }
4889
4895
  },
4890
- children: /* @__PURE__ */ f.jsx("div", { ...P, children: D })
4896
+ children: /* @__PURE__ */ f.jsx("div", { ...P, children: K(D) })
4891
4897
  }
4892
4898
  );
4893
4899
  }
4894
- function Ca({
4895
- value: a,
4896
- onValue: o,
4900
+ function jn({
4901
+ value: n,
4902
+ onValue: _,
4897
4903
  onSave: i,
4898
4904
  name: c,
4899
4905
  placeholder: d = "",
@@ -4902,26 +4908,26 @@ function Ca({
4902
4908
  error: b,
4903
4909
  edit: l = !0,
4904
4910
  active: p = !0,
4905
- reload: n = !1,
4911
+ reload: a = !1,
4906
4912
  native: s = !1,
4907
4913
  isShow: w = !1,
4908
4914
  maxLength: j,
4909
4915
  eyes: F = [],
4910
- after: U = ""
4916
+ after: K = ""
4911
4917
  }) {
4912
- const [D, O] = R.useState(w);
4913
- let y = (W) => {
4914
- o && o({
4915
- value: W.target.textContent,
4918
+ const [D, T] = S.useState(w);
4919
+ let y = ($) => {
4920
+ _ && _({
4921
+ value: $.target.textContent,
4916
4922
  name: c,
4917
- reload: n
4923
+ reload: a
4918
4924
  });
4919
- }, P = (W) => {
4920
- W.key === "Enter" && W.preventDefault();
4921
- }, K = (W) => {
4922
- W.preventDefault(), navigator.clipboard.readText().then((N) => {
4925
+ }, P = ($) => {
4926
+ $.key === "Enter" && $.preventDefault();
4927
+ }, q = ($) => {
4928
+ $.preventDefault(), navigator.clipboard.readText().then((N) => {
4923
4929
  if (j) {
4924
- let E = W.target.textContent.length;
4930
+ let E = $.target.textContent.length;
4925
4931
  if (E >= j) return;
4926
4932
  j -= E, N = N.slice(0, j);
4927
4933
  }
@@ -4932,35 +4938,35 @@ function Ca({
4932
4938
  );
4933
4939
  }).catch((N) => {
4934
4940
  });
4935
- }, I = (W) => {
4936
- Z.Blur(W), i == null || i({ value: W.target.textContent.trim(), name: c });
4941
+ }, A = ($) => {
4942
+ Z.Blur($), i == null || i({ value: $.target.textContent.trim(), name: c });
4937
4943
  };
4938
- const $ = {};
4939
- $.field = "password", D && ($.show = ""), k && ($.className = k);
4940
- const q = {};
4941
- return d && (q.placeholder = d), s ? "" : /* @__PURE__ */ f.jsxs("dl", { ...$, children: [
4944
+ const L = {};
4945
+ L.field = "password", D && (L.show = ""), k && (L.className = k);
4946
+ const M = {};
4947
+ return d && (M.placeholder = d), s ? "" : /* @__PURE__ */ f.jsxs("dl", { ...L, children: [
4942
4948
  C ? /* @__PURE__ */ f.jsx("dt", { children: C }) : "",
4943
4949
  /* @__PURE__ */ f.jsx(
4944
4950
  "dd",
4945
4951
  {
4946
- onPaste: K,
4952
+ onPaste: q,
4947
4953
  onInput: y,
4948
4954
  onKeyDown: P,
4949
- onBlur: I,
4955
+ onBlur: A,
4950
4956
  contentEditable: l && p ? Z.ContentEditable : "false",
4951
- ...q,
4957
+ ...M,
4952
4958
  suppressContentEditableWarning: !0,
4953
- children: a
4959
+ children: n
4954
4960
  }
4955
4961
  ),
4956
- F[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => O(!D), children: D ? F[1] : F[0] }),
4957
- U,
4962
+ F[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => T(!D), children: D ? F[1] : F[0] }),
4963
+ K,
4958
4964
  b ? /* @__PURE__ */ f.jsx("em", { children: b }) : ""
4959
4965
  ] });
4960
4966
  }
4961
- function ja({
4962
- onValue: a,
4963
- label: o,
4967
+ function En({
4968
+ onValue: n,
4969
+ label: _,
4964
4970
  value: i,
4965
4971
  title: c,
4966
4972
  className: d,
@@ -4969,18 +4975,18 @@ function ja({
4969
4975
  id: b,
4970
4976
  reload: l
4971
4977
  }) {
4972
- const [p, n] = R.useState(!!i);
4973
- R.useEffect(() => {
4974
- n(!!i);
4978
+ const [p, a] = S.useState(!!i);
4979
+ S.useEffect(() => {
4980
+ a(!!i);
4975
4981
  }, [i]);
4976
4982
  let s = () => {
4977
- a && a({ value: p ? 0 : 1, name: k, id: b, reload: l }), n(!p);
4983
+ n && n({ value: p ? 0 : 1, name: k, id: b, reload: l }), a(!p);
4978
4984
  };
4979
4985
  return /* @__PURE__ */ f.jsxs(
4980
4986
  he,
4981
4987
  {
4982
4988
  type: "check",
4983
- title: o || c,
4989
+ title: _ || c,
4984
4990
  element_blok: { className: [d] },
4985
4991
  element_input: {
4986
4992
  className: [Q.h],
@@ -4996,8 +5002,8 @@ function ja({
4996
5002
  );
4997
5003
  }
4998
5004
  const le = {};
4999
- function Ea(a) {
5000
- const [o, i] = R.useState({}), c = R.useRef(a);
5005
+ function Sn(n) {
5006
+ const [_, i] = S.useState({}), c = S.useRef(n);
5001
5007
  return le.u = (d) => {
5002
5008
  c.current = { ...c.current, [d.name]: d.value };
5003
5009
  }, le.n = (d) => {
@@ -5006,14 +5012,14 @@ function Ea(a) {
5006
5012
  d && d(c.current), i(Date.now());
5007
5013
  }, [c.current, le.n];
5008
5014
  }
5009
- function Sa(a) {
5010
- le.u(a), a.reload && le.r();
5015
+ function Rn(n) {
5016
+ le.u(n), n.reload && le.r();
5011
5017
  }
5012
- function Ra(a) {
5013
- le.r && le.r(a);
5018
+ function Tn(n) {
5019
+ le.r && le.r(n);
5014
5020
  }
5015
- function Ta(a) {
5016
- const [o, i] = R.useState({}), c = R.useRef(a);
5021
+ function On(n) {
5022
+ const [_, i] = S.useState({}), c = S.useRef(n);
5017
5023
  return le.u = (d) => {
5018
5024
  c.current = { ...c.current, [d.name]: d.value };
5019
5025
  }, le.n = (d) => {
@@ -5030,22 +5036,22 @@ function Pt() {
5030
5036
  Pt().elcrm || (Pt().elcrm = {});
5031
5037
  Object.assign(Pt().elcrm, { form: Yt.version });
5032
5038
  export {
5033
- ja as Check,
5034
- ya as DateField,
5035
- fa as Mask,
5036
- xa as ModalField,
5037
- pa as Money,
5038
- ma as Month,
5039
- ka as NumberField,
5040
- ba as OptionsField,
5041
- Ca as PasswordField,
5042
- ga as PhoneField,
5043
- da as Progress,
5044
- wa as SelectField,
5045
- ha as StringField,
5046
- va as TextareaField,
5047
- Ra as runReload,
5048
- Sa as setValue,
5049
- Ea as useData,
5050
- Ta as useError
5039
+ En as Check,
5040
+ vn as DateField,
5041
+ mn as Mask,
5042
+ Cn as ModalField,
5043
+ yn as Money,
5044
+ pn as Month,
5045
+ bn as NumberField,
5046
+ wn as OptionsField,
5047
+ jn as PasswordField,
5048
+ hn as PhoneField,
5049
+ fn as Progress,
5050
+ xn as SelectField,
5051
+ kn as StringField,
5052
+ gn as TextareaField,
5053
+ Tn as runReload,
5054
+ Rn as setValue,
5055
+ Sn as useData,
5056
+ On as useError
5051
5057
  };