@elcrm/form 0.0.59 → 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.59", 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, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function C(b, s, y) {
22
- var n, l = {}, w = null, j = null;
23
- y !== void 0 && (w = "" + y), s.key !== void 0 && (w = "" + s.key), s.ref !== void 0 && (j = s.ref);
24
- for (n in s) c.call(s, n) && !k.hasOwnProperty(n) && (l[n] = s[n]);
25
- if (b && b.defaultProps) for (n in s = b.defaultProps, s) l[n] === void 0 && (l[n] = s[n]);
26
- return { $$typeof: _, type: b, key: w, ref: j, props: l, _owner: d.current };
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
+ function C(b, l, p) {
22
+ var a, s = {}, w = null, j = null;
23
+ p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
24
+ for (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,15 +40,15 @@ 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, _ = 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"), s = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), l = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, q = "@@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[q];
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;
51
- function p(e) {
50
+ var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
+ function y(e) {
52
52
  {
53
53
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
54
54
  r[o - 1] = arguments[o];
@@ -57,7 +57,7 @@ function Ht() {
57
57
  }
58
58
  function P(e, t, r) {
59
59
  {
60
- var o = O.ReactDebugCurrentFrame, h = o.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,10 +65,10 @@ function Ht() {
65
65
  x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
66
66
  }
67
67
  }
68
- var U = !1, I = !1, L = !1, K = !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 === y || e === n || K || e === j || U || I || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === l || e.$$typeof === C || e.$$typeof === b || e.$$typeof === s || // 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.
@@ -87,7 +87,7 @@ function Ht() {
87
87
  function v(e) {
88
88
  if (e == null)
89
89
  return null;
90
- if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
90
+ if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
91
  return e.displayName || e.name || null;
92
92
  if (typeof e == "string")
93
93
  return e;
@@ -100,9 +100,9 @@ function Ht() {
100
100
  return "Profiler";
101
101
  case d:
102
102
  return "StrictMode";
103
- case y:
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")
@@ -113,9 +113,9 @@ function Ht() {
113
113
  case C:
114
114
  var r = e;
115
115
  return g(r._context) + ".Provider";
116
- case s:
117
- return G(e, e.render, "ForwardRef");
118
116
  case l:
117
+ return G(e, e.render, "ForwardRef");
118
+ case s:
119
119
  var o = e.displayName || null;
120
120
  return o !== null ? o : v(e.type) || "Memo";
121
121
  case w: {
@@ -129,14 +129,14 @@ function Ht() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var M = Object.assign, $ = 0, te, H, ae, ke, le, 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 ($ === 0) {
139
- te = console.log, H = console.info, ae = console.warn, ke = console.error, le = 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,46 +153,46 @@ function Ht() {
153
153
  groupEnd: e
154
154
  });
155
155
  }
156
- $++;
156
+ W++;
157
157
  }
158
158
  }
159
159
  function qe() {
160
160
  {
161
- if ($--, $ === 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, {
181
- value: le
180
+ group: I({}, e, {
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
- $ < 0 && p("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 {
@@ -236,49 +236,49 @@ function Ht() {
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
238
  Reflect.construct(m, []);
239
- } catch (B) {
240
- o = B;
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 (B) {
247
- o = B;
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 (B) {
255
- o = B;
254
+ } catch (U) {
255
+ o = U;
256
256
  }
257
257
  e();
258
258
  }
259
- } catch (B) {
260
- if (B && o && typeof B.stack == "string") {
261
- for (var u = B.stack.split(`
262
- `), A = o.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,18 +294,18 @@ 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
- case y:
300
- return ne("Suspense");
301
- case n:
302
- return ne("SuspenseList");
299
+ case p:
300
+ return ae("Suspense");
301
+ case a:
302
+ return ae("SuspenseList");
303
303
  }
304
304
  if (typeof e == "object")
305
305
  switch (e.$$typeof) {
306
- case s:
307
- return Ge(e.render);
308
306
  case l:
307
+ return Ge(e.render);
308
+ case s:
309
309
  return _e(e.type, t, r);
310
310
  case w: {
311
311
  var o = e, h = o._payload, x = o._init;
@@ -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);
@@ -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((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 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
339
  u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (S) {
341
- u = S;
340
+ } catch (R) {
341
+ u = R;
342
342
  }
343
- u && !(u instanceof Error) && (ie(h), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), p("Failed %s type: %s", r, u.message), ie(null));
343
+ u && !(u instanceof Error) && (ie(h), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", 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
  }
@@ -366,9 +366,9 @@ function Ht() {
366
366
  }
367
367
  function Te(e) {
368
368
  if (Ze(e))
369
- return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
369
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
370
370
  }
371
- var Oe = O.ReactCurrentOwner, Ve = {
371
+ var Oe = T.ReactCurrentOwner, Ve = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
@@ -396,7 +396,7 @@ function Ht() {
396
396
  function tt(e, t) {
397
397
  {
398
398
  var r = function() {
399
- De || (De = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
399
+ De || (De = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
400
400
  };
401
401
  r.isReactWarning = !0, Object.defineProperty(e, "key", {
402
402
  get: r,
@@ -407,7 +407,7 @@ function Ht() {
407
407
  function rt(e, t) {
408
408
  {
409
409
  var r = function() {
410
- Pe || (Pe = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
410
+ Pe || (Pe = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
411
411
  };
412
412
  r.isReactWarning = !0, Object.defineProperty(e, "ref", {
413
413
  get: r,
@@ -415,7 +415,7 @@ function Ht() {
415
415
  });
416
416
  }
417
417
  }
418
- var at = function(e, t, r, o, 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
421
  $$typeof: _,
@@ -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, o, 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, o, 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);
@@ -513,7 +513,7 @@ Check the top-level render call using <` + r + ">.");
513
513
  return;
514
514
  Me[r] = !0;
515
515
  var o = "";
516
- e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), V(null);
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) {
@@ -543,9 +543,9 @@ Check the top-level render call using <` + r + ">.");
543
543
  var r;
544
544
  if (typeof t == "function")
545
545
  r = t.propTypes;
546
- else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
546
+ else if (typeof t == "object" && (t.$$typeof === l || // Note: Memo only checks outer props here.
547
547
  // Inner props are checked in the reconciler.
548
- t.$$typeof === l))
548
+ t.$$typeof === s))
549
549
  r = t.propTypes;
550
550
  else
551
551
  return;
@@ -555,21 +555,21 @@ Check the top-level render call using <` + r + ">.");
555
555
  } else if (t.PropTypes !== void 0 && !pe) {
556
556
  pe = !0;
557
557
  var h = v(t);
558
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
558
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
559
559
  }
560
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
560
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
561
  }
562
562
  }
563
- function lt(e) {
563
+ function st(e) {
564
564
  {
565
565
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
566
566
  var o = t[r];
567
567
  if (o !== "children" && o !== "key") {
568
- V(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
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
  }
572
- e.ref !== null && (V(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
572
+ e.ref !== null && (V(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
573
573
  }
574
574
  }
575
575
  var $e = {};
@@ -579,14 +579,14 @@ Check the top-level render call using <` + r + ">.");
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 === _ ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
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)
@@ -596,17 +596,17 @@ Check the top-level render call using <` + r + ">.");
596
596
  Ae(Y[X], e);
597
597
  Object.freeze && Object.freeze(Y);
598
598
  } else
599
- p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
599
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
600
  else
601
601
  Ae(Y, e);
602
602
  }
603
603
  if (ee.call(t, "key")) {
604
- var J = v(e), B = 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 = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
606
+ }), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
607
607
  if (!$e[J + ve]) {
608
- var ft = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
609
- p(`A props object containing a "key" prop is being spread into JSX:
608
+ var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
609
+ y(`A props object containing a "key" prop is being spread into JSX:
610
610
  let props = %s;
611
611
  <%s {...props} />
612
612
  React keys must be passed directly to JSX without using spread:
@@ -614,22 +614,22 @@ 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 ? lt(T) : it(T), T;
617
+ return e === c ? st(O) : it(O), O;
618
618
  }
619
619
  }
620
- function st(e, t, r) {
620
+ function lt(e, t, r) {
621
621
  return Be(e, t, r, !0);
622
622
  }
623
623
  function ct(e, t, r) {
624
624
  return Be(e, t, r, !1);
625
625
  }
626
- var ut = ct, dt = st;
626
+ var ut = ct, dt = lt;
627
627
  yt.Fragment = c, yt.jsx = ut, yt.jsxs = dt;
628
628
  }()), yt;
629
629
  }
630
630
  process.env.NODE_ENV === "production" ? Rt.exports = zt() : Rt.exports = Ht();
631
631
  var f = Rt.exports;
632
- function da({ name: a, value: _, 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((_) => {
655
+ Z.PasteOne = (n) => {
656
+ n.preventDefault(), navigator.clipboard.readText().then((_) => {
657
657
  _ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
658
658
  }).catch((_) => {
659
659
  });
660
660
  };
661
- Z.Paste = (a, _) => {
661
+ Z.Paste = (n, _) => {
662
662
  _.preventDefault(), navigator.clipboard.readText().then((i) => {
663
- if (a) {
663
+ if (n) {
664
664
  let c = _.target.textContent.length;
665
- if (c >= a) return;
666
- a -= c, i = i.slice(0, a);
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, _) => {
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 [_, 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": _ }, 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 [_, 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": _ }, 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,65 +755,65 @@ Le.success = () => /* @__PURE__ */ R.createElement("svg", { viewBox: "0 0 24 24"
755
755
  }
756
756
  ));
757
757
  var xt;
758
- ((a) => {
759
- function _({ className: s }) {
760
- let [y, n] = R.useState([]);
761
- return be.set = (l) => {
762
- n([...y, l]);
763
- }, be.del = (l) => {
764
- n(y.filter((w) => w.key !== l));
765
- }, y.length === 0 ? "" : /* @__PURE__ */ R.createElement("ul", { className: [We.n, s].filter((l) => l).join(" ") }, y.map((l) => l.item));
758
+ ((n) => {
759
+ function _({ className: l }) {
760
+ let [p, a] = S.useState([]);
761
+ return be.set = (s) => {
762
+ a([...p, s]);
763
+ }, be.del = (s) => {
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 = _;
768
- function i(s, y = !0) {
769
- let n = Date.now(), l = { key: n, text: s, hide: y, type: "error" };
767
+ n.Init = _;
768
+ function i(l, p = !0) {
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: l }),
772
- key: n
771
+ item: /* @__PURE__ */ S.createElement(vt, { key: a, data: s }),
772
+ key: a
773
773
  });
774
774
  }
775
- a.Error = i;
776
- function c(s, y = !0) {
777
- let n = Date.now(), l = { key: n, text: s, hide: y, type: "success" };
775
+ n.Error = i;
776
+ function c(l, p = !0) {
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: l }),
780
- key: n
779
+ item: /* @__PURE__ */ S.createElement(vt, { key: a, data: s }),
780
+ key: a
781
781
  });
782
782
  }
783
- a.Success = c;
784
- function d(s, y = !0) {
785
- let n = Date.now(), l = { key: n, hide: y, text: s };
786
- be.set({ item: /* @__PURE__ */ R.createElement(ir, { key: n, data: l }), key: n });
783
+ n.Success = c;
784
+ function d(l, p = !0) {
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;
789
- function k(s) {
790
- let y = Date.now(), n = { key: y, hide: !0, ...s };
788
+ n.Custom = d;
789
+ function k(l) {
790
+ let p = Date.now(), a = { key: p, hide: !0, ...l };
791
791
  be.set({
792
- item: /* @__PURE__ */ R.createElement(vt, { key: y, data: n }),
793
- key: y
792
+ item: /* @__PURE__ */ S.createElement(vt, { key: p, data: a }),
793
+ key: p
794
794
  });
795
795
  }
796
- a.Send = k;
797
- function C(s, y = !0) {
798
- let n = Date.now(), l = { key: n, text: s, hide: y, type: "remark" };
796
+ n.Send = k;
797
+ function C(l, p = !0) {
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: l }),
801
- key: n
800
+ item: /* @__PURE__ */ S.createElement(vt, { key: a, data: s }),
801
+ key: a
802
802
  });
803
803
  }
804
- a.Remark = C;
805
- function b(s, y = !0) {
806
- let n = Date.now(), l = { key: n, text: s, hide: y, type: "copy" };
804
+ n.Remark = C;
805
+ function b(l, p = !0) {
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: l }),
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,
816
+ element_blok: n,
817
817
  element_input: _,
818
818
  type: i = "input",
819
819
  title: c,
@@ -821,18 +821,18 @@ const he = qt(
821
821
  before: k,
822
822
  after: C,
823
823
  children: b
824
- }, s) => /* @__PURE__ */ f.jsxs(
824
+ }, l) => /* @__PURE__ */ f.jsxs(
825
825
  "dl",
826
826
  {
827
827
  "data-field": i,
828
- className: [Q.l, ...a.className].filter((y) => y !== void 0).join(" "),
828
+ className: [Q.l, ...n.className].filter((p) => p !== void 0).join(" "),
829
829
  children: [
830
830
  c ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: c }) : "",
831
831
  k,
832
832
  /* @__PURE__ */ f.jsx(
833
833
  "dd",
834
834
  {
835
- ref: s,
835
+ ref: l,
836
836
  className: [
837
837
  Q.f,
838
838
  ..._.className,
@@ -847,8 +847,8 @@ const he = qt(
847
847
  }
848
848
  )
849
849
  );
850
- function fa({
851
- value: a = "",
850
+ function mn({
851
+ value: n = "",
852
852
  onValue: _,
853
853
  onSave: i,
854
854
  name: c,
@@ -856,34 +856,34 @@ function fa({
856
856
  placeholder: k = "",
857
857
  title: C = "",
858
858
  error: b = "",
859
- hide: s = !1,
860
- edit: y = !0,
861
- active: n = !0,
862
- after: l = "",
859
+ hide: l = !1,
860
+ edit: p = !0,
861
+ active: a = !0,
862
+ after: s = "",
863
863
  show: w = !0,
864
864
  view: j,
865
865
  className: F = ""
866
866
  }) {
867
- y = y !== void 0 ? y : !0, n = n !== void 0 ? n : !0, s = !!(s && (a === "" || a === void 0)) && !(y && n), R.useRef(null);
868
- let D = d, O = !0, p = 0, P = (g, v) => {
869
- let M = document.createRange(), $ = window.getSelection();
870
- M.setStart(v.childNodes[0], g), M.collapse(!0), $.removeAllRanges(), $.addRange(M), v.focus();
871
- }, U = (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) => {
872
872
  g.preventDefault(), navigator.clipboard.readText().then((v) => {
873
873
  window.document.execCommand("insertText", !1, v);
874
874
  }).catch((v) => {
875
875
  });
876
- }, I = (g) => {
877
- let v = 0, M = "", $ = g.replace(/\D/g, "");
878
- $ === "" && (O = !0);
879
- let te = $.split(""), H = "";
880
- te.forEach((le) => {
881
- O && (H += le, O && (p = ("" + H).length, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""), p > ("" + H).length && (O = !0, D = d.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
876
+ }, A = (g) => {
877
+ let v = 0, I = "", W = g.replace(/\D/g, "");
878
+ W === "" && (T = !0);
879
+ let te = W.split(""), H = "";
880
+ te.forEach((se) => {
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 = ""));
882
882
  });
883
- let ae = D.replace(/\D/g, "");
884
- return ae.length >= $.length && ($ = ae), { q: D.replace(/[_\d]/g, function() {
885
- return $.charAt(v++) || "_";
886
- }), i: v, v: $, f: M };
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
887
  }, L = (g) => {
888
888
  g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
889
889
  function() {
@@ -892,8 +892,8 @@ function fa({
892
892
  function(v) {
893
893
  }
894
894
  );
895
- }, K = I(a), W = (g) => {
896
- let v = I(g.target.textContent);
895
+ }, M = A(n), $ = (g) => {
896
+ let v = A(g.target.textContent);
897
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 });
898
898
  }, N = (g) => {
899
899
  g.key === "Enter" && g.preventDefault();
@@ -905,7 +905,7 @@ function fa({
905
905
  });
906
906
  };
907
907
  let G = {};
908
- return y && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", k && (G.placeholder = k), l && (G.after = l), s ? /* @__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(
909
909
  he,
910
910
  {
911
911
  type: "input",
@@ -915,25 +915,25 @@ function fa({
915
915
  children: /* @__PURE__ */ f.jsx(
916
916
  "div",
917
917
  {
918
- onPaste: U,
919
- onInput: W,
918
+ onPaste: q,
919
+ onInput: $,
920
920
  onKeyDown: N,
921
921
  onContextMenu: L,
922
922
  onBlur: E,
923
923
  suppressContentEditableWarning: !0,
924
924
  ...G,
925
- children: K.q
925
+ children: M.q
926
926
  }
927
927
  )
928
928
  }
929
929
  );
930
930
  }
931
- const lr = "_o_1c9e1_1", sr = "_c_1c9e1_11", Ct = {
932
- o: lr,
933
- c: sr
931
+ const sr = "_o_1c9e1_1", lr = "_c_1c9e1_11", Ct = {
932
+ o: sr,
933
+ c: lr
934
934
  };
935
- function ma({
936
- value: a,
935
+ function pn({
936
+ value: n,
937
937
  onValue: _,
938
938
  name: i,
939
939
  error: c,
@@ -941,31 +941,31 @@ function ma({
941
941
  edit: k = !0,
942
942
  active: C = !0,
943
943
  title: b,
944
- placeholder: s = "",
945
- className: y
944
+ placeholder: l = "",
945
+ className: p
946
946
  }) {
947
- let [n, l] = R.useState(a);
948
- const w = R.useRef(null), [j, F] = R.useState(!1);
949
- R.useEffect(() => {
950
- l(a);
951
- }, [a]);
952
- let q = (p) => {
953
- l(p), _ && _({ value: p, name: i });
954
- }, D = (p) => {
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 });
954
+ }, D = (y) => {
955
955
  if (!k || !C) return;
956
- const P = p.target.getBoundingClientRect(), U = P.left, I = P.top;
957
- w.position = { x: U, 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);
958
958
  };
959
- const O = {};
960
- return s && (O.placeholder = s), d || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
959
+ const T = {};
960
+ return l && (T.placeholder = l), d || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
961
961
  /* @__PURE__ */ f.jsx(
962
962
  he,
963
963
  {
964
964
  type: "date",
965
965
  title: b,
966
- element_blok: { className: [y] },
966
+ element_blok: { className: [p] },
967
967
  element_input: { className: [Q.w] },
968
- 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") })
969
969
  }
970
970
  ),
971
971
  j && Nt(
@@ -973,8 +973,8 @@ function ma({
973
973
  cr,
974
974
  {
975
975
  position: w.position,
976
- onValue: q,
977
- date: n,
976
+ onValue: K,
977
+ date: a,
978
978
  onOpen: F
979
979
  },
980
980
  (/* @__PURE__ */ new Date()).getTime()
@@ -983,25 +983,25 @@ function ma({
983
983
  )
984
984
  ] });
985
985
  }
986
- const cr = ({ onOpen: a, date: _, onValue: i, position: c }) => {
986
+ const cr = ({ onOpen: n, date: _, onValue: i, position: c }) => {
987
987
  let d = /* @__PURE__ */ new Date(), k = new Date(_), C = {
988
988
  y: parseInt(d.getFullYear()),
989
989
  m: parseInt(d.getMonth()) + 1
990
990
  }, b = {
991
991
  y: parseInt(k.getFullYear()),
992
992
  m: parseInt(k.getMonth()) + 1
993
- }, [s, y] = R.useState(b.y), n = () => {
994
- a(!1);
995
- }, l = () => {
996
- y(s + 1);
993
+ }, [l, p] = S.useState(b.y), a = () => {
994
+ n(!1);
995
+ }, s = () => {
996
+ p(l + 1);
997
997
  }, w = () => {
998
- y(s - 1);
999
- }, j = (p) => {
1000
- i(s + "-" + dr(2, p)), n();
1001
- }, F = (p) => C.y === b.y && C.m === p ? "_FFEB3B" : "", q = Array(12).fill("").map((p, P) => P + 1), D = window.innerHeight - c.y + 33 < 320 ? c.y - 312 : c.y + 33, O = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
998
+ p(l - 1);
999
+ }, j = (y) => {
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;
1002
1002
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1003
- /* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: n }),
1004
- /* @__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: [
1005
1005
  /* @__PURE__ */ f.jsxs("s", { children: [
1006
1006
  /* @__PURE__ */ f.jsx("i", { onClick: w, children: /* @__PURE__ */ f.jsx(
1007
1007
  "svg",
@@ -1014,8 +1014,8 @@ const cr = ({ onOpen: a, date: _, onValue: i, position: c }) => {
1014
1014
  children: /* @__PURE__ */ f.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
1015
1015
  }
1016
1016
  ) }),
1017
- /* @__PURE__ */ f.jsx("h2", { children: s }),
1018
- /* @__PURE__ */ f.jsx("i", { onClick: l, children: /* @__PURE__ */ f.jsx(
1017
+ /* @__PURE__ */ f.jsx("h2", { children: l }),
1018
+ /* @__PURE__ */ f.jsx("i", { onClick: s, children: /* @__PURE__ */ f.jsx(
1019
1019
  "svg",
1020
1020
  {
1021
1021
  width: "16",
@@ -1027,30 +1027,30 @@ const cr = ({ onOpen: a, date: _, onValue: i, position: c }) => {
1027
1027
  }
1028
1028
  ) })
1029
1029
  ] }),
1030
- /* @__PURE__ */ f.jsx("div", { "grid-month": "", children: q.map((p, P) => /* @__PURE__ */ f.jsx(
1030
+ /* @__PURE__ */ f.jsx("div", { "grid-month": "", children: K.map((y, P) => /* @__PURE__ */ f.jsx(
1031
1031
  "span",
1032
1032
  {
1033
1033
  onClick: () => {
1034
- j(p);
1034
+ j(y);
1035
1035
  },
1036
- color: F(p),
1037
- children: /* @__PURE__ */ f.jsx("b", { children: fr(p).abc })
1036
+ color: F(y),
1037
+ children: /* @__PURE__ */ f.jsx("b", { children: fr(y).abc })
1038
1038
  },
1039
1039
  P
1040
1040
  )) })
1041
1041
  ] })
1042
1042
  ] });
1043
1043
  };
1044
- function ur(a, _) {
1045
- _ === void 0 ? (_ = 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);
1046
1046
  let i = {
1047
- yyyy: a.getFullYear(),
1048
- yy: ("" + a.getFullYear()).slice(-2),
1049
- mm: ("0" + (a.getMonth() + 1)).slice(-2),
1050
- dd: ("0" + a.getDate()).slice(-2),
1051
- HH: ("0" + a.getHours()).slice(-2),
1052
- MM: ("0" + a.getMinutes()).slice(-2),
1053
- 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),
1054
1054
  __: "      ",
1055
1055
  _: "    "
1056
1056
  };
@@ -1058,13 +1058,13 @@ function ur(a, _) {
1058
1058
  _ = _.replace(c, i[c]);
1059
1059
  return _;
1060
1060
  }
1061
- function dr(a, _) {
1061
+ function dr(n, _) {
1062
1062
  let i = _ + "";
1063
- for (; i.length < a; ) i = "0" + i;
1063
+ for (; i.length < n; ) i = "0" + i;
1064
1064
  return i;
1065
1065
  }
1066
- function fr(a) {
1067
- 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, {
1068
1068
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
1069
1069
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
1070
1070
  3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
@@ -1077,10 +1077,10 @@ function fr(a) {
1077
1077
  10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
1078
1078
  11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
1079
1079
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
1080
- }[a];
1080
+ }[n];
1081
1081
  }
1082
- function pa({
1083
- value: a,
1082
+ function yn({
1083
+ value: n,
1084
1084
  onValue: _,
1085
1085
  name: i,
1086
1086
  placeholder: c = "",
@@ -1088,71 +1088,71 @@ function pa({
1088
1088
  error: k = "",
1089
1089
  hide: C = !1,
1090
1090
  edit: b = !0,
1091
- active: s = !0,
1092
- after: y = "",
1093
- show: n = !0,
1094
- course: l = 100,
1091
+ active: l = !0,
1092
+ after: p = "",
1093
+ show: a = !0,
1094
+ course: s = 100,
1095
1095
  view: w,
1096
1096
  type: j,
1097
1097
  onSave: F,
1098
- className: q = "",
1098
+ className: K = "",
1099
1099
  isClear: D = !1
1100
1100
  }) {
1101
- let O = !!(C && (a === "" || a === void 0)), p = (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) => {
1102
1102
  let g = document.createRange(), v = window.getSelection();
1103
1103
  g.setStart(G.childNodes[0], E), g.collapse(!0), v.removeAllRanges(), v.addRange(g), G.focus();
1104
- }, U = (E) => {
1104
+ }, q = (E) => {
1105
1105
  _ == null || _({
1106
- value: p(E.target.textContent) * l,
1106
+ value: y(E.target.textContent) * s,
1107
1107
  name: i
1108
- }), E.target.textContent = p(E.target.textContent), E.target.textContent.length > 0 && P(E.target.textContent.length, E.target);
1109
- }, I = (E) => {
1110
- Z.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), F == null || F({ value: p(E.target.textContent) * l, name: i }), _ == null || _({
1111
- value: p(E.target.textContent) * l,
1108
+ }), E.target.textContent = y(E.target.textContent), E.target.textContent.length > 0 && P(E.target.textContent.length, E.target);
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 || _({
1111
+ value: y(E.target.textContent) * s,
1112
1112
  name: i
1113
1113
  }), E.target.textContent = It(E.target.textContent);
1114
1114
  }, L = (E) => {
1115
- E.target.textContent = p(E.target.textContent);
1116
- }, K = (E) => {
1115
+ E.target.textContent = y(E.target.textContent);
1116
+ }, M = (E) => {
1117
1117
  E.key === "Enter" && E.preventDefault();
1118
- }, W = (E) => {
1118
+ }, $ = (E) => {
1119
1119
  E.preventDefault(), navigator.clipboard.readText().then((G) => {
1120
1120
  G = G.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, G);
1121
1121
  }).catch((G) => {
1122
1122
  });
1123
1123
  };
1124
- if (!(b && s) && !n || !(b && s) && O) return "";
1124
+ if (!(b && l) && !a || !(b && l) && T) return "";
1125
1125
  const N = {};
1126
- return N.inputMode = "decimal", c && (N.placeholder = c), b && s && (N.edit = ""), /* @__PURE__ */ f.jsx(
1126
+ return N.inputMode = "decimal", c && (N.placeholder = c), b && l && (N.edit = ""), /* @__PURE__ */ f.jsx(
1127
1127
  he,
1128
1128
  {
1129
1129
  type: "input",
1130
1130
  title: d,
1131
- element_blok: { className: [q] },
1131
+ element_blok: { className: [K] },
1132
1132
  element_input: { className: [Q.w] },
1133
1133
  children: /* @__PURE__ */ f.jsx(
1134
1134
  "div",
1135
1135
  {
1136
1136
  ...N,
1137
- onInput: U,
1138
- onPaste: W,
1139
- onBlur: I,
1140
- onKeyDown: K,
1137
+ onInput: q,
1138
+ onPaste: $,
1139
+ onBlur: A,
1140
+ onKeyDown: M,
1141
1141
  onFocus: L,
1142
- contentEditable: b && s ? Z.ContentEditable : "false",
1142
+ contentEditable: b && l ? Z.ContentEditable : "false",
1143
1143
  suppressContentEditableWarning: !0,
1144
- "data-after": y,
1145
- children: !c || a ? It(a) : ""
1144
+ "data-after": p,
1145
+ children: !c || n ? It(n) : ""
1146
1146
  }
1147
1147
  )
1148
1148
  }
1149
1149
  );
1150
1150
  }
1151
- function It(a, _) {
1152
- 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 ");
1153
1153
  }
1154
- function ya({
1155
- title: a,
1154
+ function vn({
1155
+ title: n,
1156
1156
  error: _,
1157
1157
  edit: i = !0,
1158
1158
  active: c = !0,
@@ -1160,41 +1160,41 @@ function ya({
1160
1160
  placeholder: k,
1161
1161
  max: C,
1162
1162
  min: b,
1163
- onValue: s,
1164
- icon: y,
1165
- name: n = "",
1166
- value: l,
1163
+ onValue: l,
1164
+ icon: p,
1165
+ name: a = "",
1166
+ value: s,
1167
1167
  after: w
1168
1168
  }) {
1169
- let [j, F] = R.useState(
1170
- l === void 0 ? /* @__PURE__ */ new Date() : l
1169
+ let [j, F] = S.useState(
1170
+ s === void 0 ? /* @__PURE__ */ new Date() : s
1171
1171
  );
1172
- const q = R.useRef(null), [D, O] = R.useState(!1);
1173
- let p = !i && c;
1174
- R.useEffect(() => {
1175
- F(l === void 0 ? /* @__PURE__ */ new Date() : l);
1176
- }, [l]);
1172
+ const K = S.useRef(null), [D, T] = S.useState(!1);
1173
+ let y = !i && c;
1174
+ S.useEffect(() => {
1175
+ F(s === void 0 ? /* @__PURE__ */ new Date() : s);
1176
+ }, [s]);
1177
1177
  let P = (L) => {
1178
- F(L), s == null || s({ value: L, name: n });
1179
- }, U = (L) => {
1180
- const K = L.target.getBoundingClientRect(), W = K.left, N = K.bottom, E = K.top;
1181
- q.position = { x: W, b: N, y: E }, O(!0);
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);
1182
1182
  };
1183
- const I = {};
1184
- return k && (I.placeholder = k), p ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1185
- y ? y() : /* @__PURE__ */ f.jsxs(
1183
+ const A = {};
1184
+ return k && (A.placeholder = k), y ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1185
+ p ? p() : /* @__PURE__ */ f.jsxs(
1186
1186
  "dl",
1187
1187
  {
1188
1188
  "data-field": "date",
1189
1189
  className: [Q.l, d].filter((L) => L !== void 0).join(" "),
1190
1190
  children: [
1191
- a ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: a }) : "",
1191
+ n ? /* @__PURE__ */ f.jsx("dt", { className: Q.t, children: n }) : "",
1192
1192
  /* @__PURE__ */ f.jsxs(
1193
1193
  "dd",
1194
1194
  {
1195
- onClick: U,
1195
+ onClick: q,
1196
1196
  className: [Q.f, Q.w].join(" "),
1197
- ...I,
1197
+ ...A,
1198
1198
  "data-edit": (i && c) + "",
1199
1199
  children: [
1200
1200
  yr(j, "dd.mm.yyyy"),
@@ -1210,12 +1210,12 @@ function ya({
1210
1210
  /* @__PURE__ */ f.jsx(
1211
1211
  mr,
1212
1212
  {
1213
- position: q.position,
1213
+ position: K.position,
1214
1214
  onValue: P,
1215
1215
  date: j,
1216
1216
  max: C,
1217
1217
  min: b,
1218
- onOpen: O,
1218
+ onOpen: T,
1219
1219
  className: d
1220
1220
  },
1221
1221
  (/* @__PURE__ */ new Date()).getTime()
@@ -1225,7 +1225,7 @@ function ya({
1225
1225
  ] });
1226
1226
  }
1227
1227
  const mr = ({
1228
- date: a,
1228
+ date: n,
1229
1229
  onValue: _,
1230
1230
  position: i,
1231
1231
  max: c,
@@ -1233,50 +1233,50 @@ const mr = ({
1233
1233
  className: k,
1234
1234
  onOpen: C
1235
1235
  }) => {
1236
- let b = /* @__PURE__ */ new Date(), s = new Date(a), y = {
1236
+ let b = /* @__PURE__ */ new Date(), l = new Date(n), p = {
1237
1237
  y: parseInt(b.getFullYear()),
1238
1238
  d: parseInt(b.getDate()),
1239
1239
  m: parseInt(b.getMonth()) + 1
1240
- }, n = {
1241
- y: parseInt(s.getFullYear()),
1242
- d: parseInt(s.getDate()),
1243
- m: parseInt(s.getMonth()) + 1
1244
- }, [l, w] = R.useState({ y: n.y, m: n.m }), j = (g) => {
1240
+ }, a = {
1241
+ y: parseInt(l.getFullYear()),
1242
+ d: parseInt(l.getDate()),
1243
+ m: parseInt(l.getMonth()) + 1
1244
+ }, [s, w] = S.useState({ y: a.y, m: a.m }), j = (g) => {
1245
1245
  let v = g.getDay();
1246
1246
  return v === 0 && (v = 7), v - 1;
1247
- }, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], q = l.m - 1, D = new Date(l.y, q), O = [];
1247
+ }, F = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], K = s.m - 1, D = new Date(s.y, K), T = [];
1248
1248
  for (let g = 0; g < j(D); g++)
1249
- O.push(0);
1250
- for (; D.getMonth() === q; )
1251
- O.push(D.getDate()), D.setDate(D.getDate() + 1);
1252
- let p = () => {
1249
+ T.push(0);
1250
+ for (; D.getMonth() === K; )
1251
+ T.push(D.getDate()), D.setDate(D.getDate() + 1);
1252
+ let y = () => {
1253
1253
  C(!1);
1254
1254
  }, P = () => {
1255
- L(l.m + 1, l.y);
1256
- }, U = () => {
1257
- L(l.m - 1, l.y);
1258
- }, I = (g) => {
1255
+ L(s.m + 1, s.y);
1256
+ }, q = () => {
1257
+ L(s.m - 1, s.y);
1258
+ }, A = (g) => {
1259
1259
  _(
1260
- l.y + "-" + At(2, l.m) + "-" + At(2, g)
1261
- ), p();
1260
+ s.y + "-" + At(2, s.m) + "-" + At(2, g)
1261
+ ), y();
1262
1262
  }, L = (g, v) => {
1263
1263
  v = g > 12 ? v + 1 : g < 1 ? v - 1 : v, g = g > 12 ? 1 : g < 1 ? 12 : g, w({ y: v, m: g });
1264
1264
  };
1265
- const K = (g) => y.y === l.y && y.m === l.m && y.d === g ? { "data-active": "true" } : {}, W = (g) => n.y === l.y && n.m === l.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) => {
1266
1266
  let v = !0;
1267
1267
  if (c) {
1268
- let M = c.getTime(), $ = new Date(l.y, l.m - 1, g).getTime();
1269
- M < $ && (v = !1);
1268
+ let I = c.getTime(), W = new Date(s.y, s.m - 1, g).getTime();
1269
+ I < W && (v = !1);
1270
1270
  }
1271
1271
  if (d) {
1272
- let M = d.getTime(), $ = new Date(l.y, l.m - 1, g).getTime();
1273
- M > $ && (v = !1);
1272
+ let I = d.getTime(), W = new Date(s.y, s.m - 1, g).getTime();
1273
+ I > W && (v = !1);
1274
1274
  }
1275
1275
  return v;
1276
1276
  };
1277
1277
  let E = window.innerHeight - i.y < 320 ? i.y - 312 : i.b, G = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
1278
1278
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
1279
- /* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: () => p() }),
1279
+ /* @__PURE__ */ f.jsx("div", { className: Ct.o, onClick: () => y() }),
1280
1280
  /* @__PURE__ */ f.jsxs(
1281
1281
  "div",
1282
1282
  {
@@ -1287,7 +1287,7 @@ const mr = ({
1287
1287
  style: { top: E + "px", left: G + "px" },
1288
1288
  children: [
1289
1289
  /* @__PURE__ */ f.jsxs("s", { children: [
1290
- /* @__PURE__ */ f.jsx("i", { onClick: U, children: /* @__PURE__ */ f.jsx(
1290
+ /* @__PURE__ */ f.jsx("i", { onClick: q, children: /* @__PURE__ */ f.jsx(
1291
1291
  "svg",
1292
1292
  {
1293
1293
  width: "16",
@@ -1299,9 +1299,9 @@ const mr = ({
1299
1299
  }
1300
1300
  ) }),
1301
1301
  /* @__PURE__ */ f.jsxs("h2", { children: [
1302
- pr(l.m).name,
1302
+ pr(s.m).name,
1303
1303
  " ",
1304
- l.y
1304
+ s.y
1305
1305
  ] }),
1306
1306
  /* @__PURE__ */ f.jsx("i", { onClick: P, children: /* @__PURE__ */ f.jsx(
1307
1307
  "svg",
@@ -1317,23 +1317,23 @@ const mr = ({
1317
1317
  ] }),
1318
1318
  /* @__PURE__ */ f.jsxs("div", { "grid-calendar": "", children: [
1319
1319
  F.map((g, v) => /* @__PURE__ */ f.jsx("p", { children: g }, "v" + v)),
1320
- 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(
1321
1321
  "b",
1322
1322
  {
1323
- ...K(g),
1324
- ...W(g),
1325
- onClick: () => I(g),
1323
+ ...M(g),
1324
+ ...$(g),
1325
+ onClick: () => A(g),
1326
1326
  children: g
1327
1327
  }
1328
- ) : /* @__PURE__ */ f.jsx("p", { ...K(g), ...W(g), children: g !== 0 ? g : "" }) }, v))
1328
+ ) : /* @__PURE__ */ f.jsx("p", { ...M(g), ...$(g), children: g !== 0 ? g : "" }) }, v))
1329
1329
  ] })
1330
1330
  ]
1331
1331
  }
1332
1332
  )
1333
1333
  ] });
1334
1334
  };
1335
- function pr(a) {
1336
- 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, {
1337
1337
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
1338
1338
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
1339
1339
  3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
@@ -1346,23 +1346,23 @@ function pr(a) {
1346
1346
  10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
1347
1347
  11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
1348
1348
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
1349
- }[a];
1349
+ }[n];
1350
1350
  }
1351
- function At(a, _) {
1351
+ function At(n, _) {
1352
1352
  let i = _ + "";
1353
- for (; i.length < a; ) i = "0" + i;
1353
+ for (; i.length < n; ) i = "0" + i;
1354
1354
  return i;
1355
1355
  }
1356
- function yr(a, _) {
1357
- _ === void 0 ? (_ = 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);
1358
1358
  let i = {
1359
- yyyy: a.getFullYear(),
1360
- yy: ("" + a.getFullYear()).slice(-2),
1361
- mm: ("0" + (a.getMonth() + 1)).slice(-2),
1362
- dd: ("0" + a.getDate()).slice(-2),
1363
- HH: ("0" + a.getHours()).slice(-2),
1364
- MM: ("0" + a.getMinutes()).slice(-2),
1365
- 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),
1366
1366
  __: "      ",
1367
1367
  _: "    "
1368
1368
  };
@@ -1370,8 +1370,8 @@ function yr(a, _) {
1370
1370
  _ = _.replace(c, i[c]);
1371
1371
  return _;
1372
1372
  }
1373
- function va({
1374
- value: a,
1373
+ function gn({
1374
+ value: n,
1375
1375
  onValue: _,
1376
1376
  name: i,
1377
1377
  placeholder: c = "",
@@ -1379,25 +1379,25 @@ function va({
1379
1379
  label: k = "",
1380
1380
  hide: C = !1,
1381
1381
  edit: b = !0,
1382
- active: s = !0,
1383
- after: y = "",
1384
- show: n = !0,
1385
- maxLength: l,
1382
+ active: l = !0,
1383
+ after: p = "",
1384
+ show: a = !0,
1385
+ maxLength: s,
1386
1386
  error: w = "",
1387
1387
  onSave: j,
1388
1388
  className: F = "",
1389
- isCopy: q = !0
1389
+ isCopy: K = !0
1390
1390
  }) {
1391
- const D = (I) => {
1392
- _ == null || _({ value: I.target.innerText, name: i || "" });
1393
- }, O = (I) => {
1394
- l && I.target.textContent.trim().length >= l && I.key !== "Backspace" && I.preventDefault(), I.key === "Enter" && I.preventDefault();
1395
- }, p = (I) => {
1396
- I.preventDefault(), navigator.clipboard.readText().then((L) => {
1397
- if (l) {
1398
- let K = I.target.textContent.length;
1399
- if (K >= l) return;
1400
- l -= K, L = L.slice(0, l);
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) => {
1397
+ if (s) {
1398
+ let M = A.target.textContent.length;
1399
+ if (M >= s) return;
1400
+ s -= M, L = L.slice(0, s);
1401
1401
  }
1402
1402
  window.document.execCommand(
1403
1403
  "insertText",
@@ -1408,11 +1408,11 @@ function va({
1408
1408
  });
1409
1409
  };
1410
1410
  if (C) return /* @__PURE__ */ f.jsx(f.Fragment, {});
1411
- if (!(b && s) && !n) return "";
1411
+ if (!(b && l) && !a) return "";
1412
1412
  const P = {};
1413
- c && (P.placeholder = c), b && s && (P.edit = "");
1414
- const U = (I) => {
1415
- Z.Blur(I), j == null || j({ value: I.target.textContent.trim(), name: i || "" });
1413
+ c && (P.placeholder = c), b && l && (P.edit = "");
1414
+ const q = (A) => {
1415
+ Z.Blur(A), j == null || j({ value: A.target.textContent.trim(), name: i || "" });
1416
1416
  };
1417
1417
  return /* @__PURE__ */ f.jsx(
1418
1418
  he,
@@ -1425,14 +1425,14 @@ function va({
1425
1425
  children: /* @__PURE__ */ f.jsx(
1426
1426
  "div",
1427
1427
  {
1428
- onPaste: p,
1428
+ onPaste: y,
1429
1429
  onInput: D,
1430
- onBlur: U,
1431
- onKeyDown: O,
1432
- contentEditable: b && s ? Z.ContentEditable : "false",
1430
+ onBlur: q,
1431
+ onKeyDown: T,
1432
+ contentEditable: b && l ? Z.ContentEditable : "false",
1433
1433
  suppressContentEditableWarning: !0,
1434
1434
  ...P,
1435
- children: a
1435
+ children: n
1436
1436
  }
1437
1437
  )
1438
1438
  }
@@ -2820,8 +2820,8 @@ const Et = {
2820
2820
  mask: "+1939(___) ___-__-__"
2821
2821
  }
2822
2822
  };
2823
- function ga({
2824
- value: a,
2823
+ function hn({
2824
+ value: n,
2825
2825
  onValue: _,
2826
2826
  onSave: i,
2827
2827
  name: c = "",
@@ -2829,44 +2829,44 @@ function ga({
2829
2829
  title: k = "",
2830
2830
  label: C = "",
2831
2831
  error: b = "",
2832
- hide: s = !1,
2833
- edit: y = !0,
2834
- active: n = !0,
2835
- after: l = "",
2832
+ hide: l = !1,
2833
+ edit: p = !0,
2834
+ active: a = !0,
2835
+ after: s = "",
2836
2836
  show: w = !0,
2837
2837
  view: j,
2838
2838
  className: F = ""
2839
2839
  }) {
2840
- y = y !== void 0 ? y : !0, n = n !== void 0 ? n : !0, s = !!(s && (a === "" || a === void 0)) && !(y && n), R.useRef(null);
2841
- let D = "+_(___) ___-__-__", O = !0, p = 0, P = (g, v) => {
2842
- let M = document.createRange(), $ = window.getSelection();
2843
- M.setStart(v.childNodes[0], g), M.collapse(!0), $.removeAllRanges(), $.addRange(M), v.focus();
2844
- }, U = (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
2845
  let v = L(g.target.textContent);
2846
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
- }, I = (g) => {
2847
+ }, A = (g) => {
2848
2848
  g.preventDefault(), navigator.clipboard.readText().then((v) => {
2849
2849
  window.document.execCommand("insertText", !1, v);
2850
2850
  }).catch((v) => {
2851
2851
  });
2852
2852
  }, L = (g) => {
2853
- let v = 0, M = "", $ = g.replace(/\D/g, "");
2854
- $ === "" && (O = !0);
2855
- let te = $.split(""), H = "";
2856
- te.forEach((le) => {
2857
- O && (H += le, Et[H] !== void 0 && O ? (O = !1, D = Et[H].mask.replace(new RegExp("[0-9]", "g"), "_"), M = Et[H].code) : (O && (p = ("" + H).length, D = `+${H}_(___) ___-__-__`.replace(
2853
+ let v = 0, I = "", W = g.replace(/\D/g, "");
2854
+ W === "" && (T = !0);
2855
+ let te = W.split(""), H = "";
2856
+ te.forEach((se) => {
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(
2858
2858
  new RegExp("[0-9]", "g"),
2859
2859
  "_"
2860
- ), M = ""), p > ("" + H).length && (O = !0, D = `+${H}_(___) ___-__-__`.replace(
2860
+ ), I = ""), y > ("" + H).length && (T = !0, D = `+${H}_(___) ___-__-__`.replace(
2861
2861
  new RegExp("[0-9]", "g"),
2862
2862
  "_"
2863
- ), M = "")));
2863
+ ), I = "")));
2864
2864
  });
2865
- let ae = D.replace(/\D/g, "");
2866
- return ae.length >= $.length && ($ = ae), { q: D.replace(/[_\d]/g, function() {
2867
- return $.charAt(v++) || "_";
2868
- }), i: v, v: $, f: M };
2869
- }, K = (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) => {
2870
2870
  g.preventDefault(), navigator.clipboard.writeText(g.target.textContent.replace(/\D/g, "")).then(
2871
2871
  function() {
2872
2872
  xt.Copy("Данные в буфер обмене");
@@ -2874,7 +2874,7 @@ function ga({
2874
2874
  function(v) {
2875
2875
  }
2876
2876
  );
2877
- }, W = L(a), N = (g) => {
2877
+ }, $ = L(n), N = (g) => {
2878
2878
  g.key === "Enter" && g.preventDefault();
2879
2879
  };
2880
2880
  const E = (g) => {
@@ -2884,7 +2884,7 @@ function ga({
2884
2884
  });
2885
2885
  };
2886
2886
  let G = {};
2887
- return y && n ? (G.edit = "true", G.contentEditable = Z.ContentEditable) : G.contentEditable = "false", d && (G.placeholder = d), s ? /* @__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(
2888
2888
  he,
2889
2889
  {
2890
2890
  type: "input",
@@ -2895,22 +2895,22 @@ function ga({
2895
2895
  children: /* @__PURE__ */ f.jsx(
2896
2896
  "div",
2897
2897
  {
2898
- onPaste: I,
2899
- onInput: U,
2898
+ onPaste: A,
2899
+ onInput: q,
2900
2900
  onKeyDown: N,
2901
- onContextMenu: K,
2901
+ onContextMenu: M,
2902
2902
  onBlur: E,
2903
2903
  inputMode: "tel",
2904
2904
  suppressContentEditableWarning: !0,
2905
2905
  ...G,
2906
- children: W.q
2906
+ children: $.q
2907
2907
  }
2908
2908
  )
2909
2909
  }
2910
2910
  );
2911
2911
  }
2912
- function ha({
2913
- value: a,
2912
+ function kn({
2913
+ value: n,
2914
2914
  onValue: _,
2915
2915
  name: i = "",
2916
2916
  inputmode: c = "text",
@@ -2918,33 +2918,33 @@ function ha({
2918
2918
  title: k = "",
2919
2919
  label: C = "",
2920
2920
  show: b = !0,
2921
- hide: s = !1,
2922
- edit: y = !0,
2923
- active: n = !0,
2924
- maxLength: l,
2921
+ hide: l = !1,
2922
+ edit: p = !0,
2923
+ active: a = !0,
2924
+ maxLength: s,
2925
2925
  onSave: w,
2926
2926
  className: j = "",
2927
2927
  spellCheck: F = !0,
2928
- isCopy: q = !0,
2928
+ isCopy: K = !0,
2929
2929
  isReload: D = !1,
2930
- after: O = "",
2931
- before: p = "",
2930
+ after: T = "",
2931
+ before: y = "",
2932
2932
  error: P = ""
2933
2933
  }) {
2934
- const U = !!(s && (a === "" || a === void 0)), I = (E) => {
2934
+ const q = !!(l && (n === "" || n === void 0)), A = (E) => {
2935
2935
  _ && _({
2936
2936
  value: E.target.textContent.trim(),
2937
2937
  name: i,
2938
2938
  reload: D
2939
2939
  });
2940
2940
  }, L = (E) => {
2941
- l && E.target.textContent.trim().length >= l && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
2942
- }, K = (E) => {
2941
+ s && E.target.textContent.trim().length >= s && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
2942
+ }, M = (E) => {
2943
2943
  E.preventDefault(), navigator.clipboard.readText().then((G) => {
2944
- if (l) {
2944
+ if (s) {
2945
2945
  let g = E.target.textContent.length;
2946
- if (g >= l) return;
2947
- l -= g, G = G.slice(0, l);
2946
+ if (g >= s) return;
2947
+ s -= g, G = G.slice(0, s);
2948
2948
  }
2949
2949
  window.document.execCommand(
2950
2950
  "insertText",
@@ -2954,9 +2954,9 @@ function ha({
2954
2954
  }).catch((G) => {
2955
2955
  });
2956
2956
  };
2957
- if (!(y && n) && !b || !(y && n) && U) return "";
2958
- const W = {};
2959
- d && (W.placeholder = d), y && n && (W.edit = "");
2957
+ if (!(p && a) && !b || !(p && a) && q) return "";
2958
+ const $ = {};
2959
+ d && ($.placeholder = d), p && a && ($.edit = "");
2960
2960
  const N = (E) => {
2961
2961
  Z.Blur(E), w == null || w({ value: E.target.textContent.trim(), name: i });
2962
2962
  };
@@ -2969,29 +2969,29 @@ function ha({
2969
2969
  element_blok: { className: [j] },
2970
2970
  element_input: { className: [Q.w] },
2971
2971
  children: [
2972
- p,
2972
+ y,
2973
2973
  /* @__PURE__ */ f.jsx(
2974
2974
  "div",
2975
2975
  {
2976
2976
  onBlur: N,
2977
- onPaste: K,
2978
- onInput: I,
2977
+ onPaste: M,
2978
+ onInput: A,
2979
2979
  onKeyDown: L,
2980
2980
  spellCheck: F,
2981
2981
  inputMode: c || "text",
2982
- contentEditable: y && n ? Z.ContentEditable : "false",
2982
+ contentEditable: p && a ? Z.ContentEditable : "false",
2983
2983
  suppressContentEditableWarning: !0,
2984
- ...W,
2985
- children: a
2984
+ ...$,
2985
+ children: n
2986
2986
  }
2987
2987
  ),
2988
- O
2988
+ T
2989
2989
  ]
2990
2990
  }
2991
2991
  );
2992
2992
  }
2993
- function ka({
2994
- onValue: a,
2993
+ function bn({
2994
+ onValue: n,
2995
2995
  onSave: _,
2996
2996
  active: i,
2997
2997
  max: c,
@@ -2999,26 +2999,26 @@ function ka({
2999
2999
  title: k,
3000
3000
  error: C,
3001
3001
  show: b,
3002
- hide: s,
3003
- value: y,
3004
- placeholder: n,
3005
- className: l,
3002
+ hide: l,
3003
+ value: p,
3004
+ placeholder: a,
3005
+ className: s,
3006
3006
  maxLength: w,
3007
3007
  name: j = "",
3008
3008
  after: F = "",
3009
- before: q = "",
3009
+ before: K = "",
3010
3010
  view: D
3011
3011
  }) {
3012
- d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, s = !!(s && (y === "" || y === void 0)) && !(d && i), n = n !== void 0 ? n : "", c = c !== void 0 ? c : 99;
3013
- let p = !1, P = (N) => {
3014
- a == null || a({ value: N.target.textContent, name: j });
3015
- }, U = (N) => {
3016
- if (!(p && N.which === 86)) {
3017
- if (N.which === 17 || N.which === 91) return p = !0;
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;
3013
+ let y = !1, P = (N) => {
3014
+ n == null || n({ value: N.target.textContent, name: j });
3015
+ }, q = (N) => {
3016
+ if (!(y && N.which === 86)) {
3017
+ if (N.which === 17 || N.which === 91) return y = !0;
3018
3018
  N.key !== "Backspace" && (N.target.textContent.length === c && N.preventDefault(), N.key === "Enter" && N.preventDefault(), isNaN(N.key) && N.preventDefault());
3019
3019
  }
3020
- }, I = (N) => {
3021
- if (N.which === 17 || N.which === 91) return p = !1;
3020
+ }, A = (N) => {
3021
+ if (N.which === 17 || N.which === 91) return y = !1;
3022
3022
  }, L = (N) => {
3023
3023
  N.preventDefault(), navigator.clipboard.readText().then((E) => {
3024
3024
  if (E = E.replace(/(?!^\+|\d)./g, ""), w) {
@@ -3030,31 +3030,31 @@ function ka({
3030
3030
  }).catch((E) => {
3031
3031
  });
3032
3032
  };
3033
- const K = (N) => {
3033
+ const M = (N) => {
3034
3034
  Z.Blur(N), _ == null || _({ value: N.target.textContent, name: j });
3035
3035
  };
3036
- let W = {};
3037
- return d && i ? (W.edit = "true", W.contentEditable = Z.ContentEditable) : W.contentEditable = "false", W.inputMode = "decimal", n && (W.placeholder = n), s ? /* @__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(
3038
3038
  he,
3039
3039
  {
3040
3040
  type: "numeric",
3041
3041
  title: k,
3042
3042
  error: C,
3043
- element_blok: { className: [l] },
3043
+ element_blok: { className: [s] },
3044
3044
  element_input: { className: [Q.w] },
3045
3045
  children: /* @__PURE__ */ f.jsx(
3046
3046
  "div",
3047
3047
  {
3048
3048
  onPaste: L,
3049
3049
  onInput: P,
3050
- onBlur: K,
3051
- onKeyDown: U,
3052
- onKeyUp: I,
3050
+ onBlur: M,
3051
+ onKeyDown: q,
3052
+ onKeyUp: A,
3053
3053
  spellCheck: "true",
3054
3054
  contentEditable: d && i ? Z.ContentEditable : "false",
3055
3055
  suppressContentEditableWarning: !0,
3056
- ...W,
3057
- children: y
3056
+ ...$,
3057
+ children: p
3058
3058
  }
3059
3059
  )
3060
3060
  }
@@ -3074,13 +3074,13 @@ var $t;
3074
3074
  function vr() {
3075
3075
  if ($t) return gt;
3076
3076
  $t = 1;
3077
- var a = R, _ = 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 };
3078
- function C(b, s, y) {
3079
- var n, l = {}, w = null, j = null;
3080
- y !== void 0 && (w = "" + y), s.key !== void 0 && (w = "" + s.key), s.ref !== void 0 && (j = s.ref);
3081
- for (n in s) c.call(s, n) && !k.hasOwnProperty(n) && (l[n] = s[n]);
3082
- if (b && b.defaultProps) for (n in s = b.defaultProps, s) l[n] === void 0 && (l[n] = s[n]);
3083
- return { $$typeof: _, type: b, key: w, ref: j, props: l, _owner: d.current };
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 };
3078
+ function C(b, l, p) {
3079
+ var a, s = {}, w = null, j = null;
3080
+ p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
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 };
3084
3084
  }
3085
3085
  return gt.Fragment = i, gt.jsx = C, gt.jsxs = C, gt;
3086
3086
  }
@@ -3097,15 +3097,15 @@ var kt = {};
3097
3097
  var Bt;
3098
3098
  function gr() {
3099
3099
  return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
3100
- var a = R, _ = 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"), s = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), l = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, q = "@@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";
3101
3101
  function D(e) {
3102
3102
  if (e === null || typeof e != "object")
3103
3103
  return null;
3104
- var t = F && e[F] || e[q];
3104
+ var t = F && e[F] || e[K];
3105
3105
  return typeof t == "function" ? t : null;
3106
3106
  }
3107
- var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3108
- function p(e) {
3107
+ var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3108
+ function y(e) {
3109
3109
  {
3110
3110
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
3111
3111
  r[o - 1] = arguments[o];
@@ -3114,7 +3114,7 @@ function gr() {
3114
3114
  }
3115
3115
  function P(e, t, r) {
3116
3116
  {
3117
- var o = O.ReactDebugCurrentFrame, h = o.getStackAddendum();
3117
+ var o = T.ReactDebugCurrentFrame, h = o.getStackAddendum();
3118
3118
  h !== "" && (t += "%s", r = r.concat([h]));
3119
3119
  var x = r.map(function(m) {
3120
3120
  return String(m);
@@ -3122,10 +3122,10 @@ function gr() {
3122
3122
  x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
3123
3123
  }
3124
3124
  }
3125
- var U = !1, I = !1, L = !1, K = !1, W = !1, N;
3125
+ var q = !1, A = !1, L = !1, M = !1, $ = !1, N;
3126
3126
  N = Symbol.for("react.module.reference");
3127
3127
  function E(e) {
3128
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e === y || e === n || K || e === j || U || I || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === l || e.$$typeof === C || e.$$typeof === b || e.$$typeof === s || // 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
3129
3129
  // types supported by any Flight configuration anywhere since
3130
3130
  // we don't know which Flight build this will end up being used
3131
3131
  // with.
@@ -3144,7 +3144,7 @@ function gr() {
3144
3144
  function v(e) {
3145
3145
  if (e == null)
3146
3146
  return null;
3147
- if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
3147
+ if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
3148
3148
  return e.displayName || e.name || null;
3149
3149
  if (typeof e == "string")
3150
3150
  return e;
@@ -3157,9 +3157,9 @@ function gr() {
3157
3157
  return "Profiler";
3158
3158
  case d:
3159
3159
  return "StrictMode";
3160
- case y:
3160
+ case p:
3161
3161
  return "Suspense";
3162
- case n:
3162
+ case a:
3163
3163
  return "SuspenseList";
3164
3164
  }
3165
3165
  if (typeof e == "object")
@@ -3170,9 +3170,9 @@ function gr() {
3170
3170
  case C:
3171
3171
  var r = e;
3172
3172
  return g(r._context) + ".Provider";
3173
- case s:
3174
- return G(e, e.render, "ForwardRef");
3175
3173
  case l:
3174
+ return G(e, e.render, "ForwardRef");
3175
+ case s:
3176
3176
  var o = e.displayName || null;
3177
3177
  return o !== null ? o : v(e.type) || "Memo";
3178
3178
  case w: {
@@ -3186,14 +3186,14 @@ function gr() {
3186
3186
  }
3187
3187
  return null;
3188
3188
  }
3189
- var M = Object.assign, $ = 0, te, H, ae, ke, le, we, xe;
3189
+ var I = Object.assign, W = 0, te, H, ne, ke, se, we, xe;
3190
3190
  function Ce() {
3191
3191
  }
3192
3192
  Ce.__reactDisabledLog = !0;
3193
3193
  function Ue() {
3194
3194
  {
3195
- if ($ === 0) {
3196
- te = console.log, H = console.info, ae = console.warn, ke = console.error, le = 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;
3197
3197
  var e = {
3198
3198
  configurable: !0,
3199
3199
  enumerable: !0,
@@ -3210,46 +3210,46 @@ function gr() {
3210
3210
  groupEnd: e
3211
3211
  });
3212
3212
  }
3213
- $++;
3213
+ W++;
3214
3214
  }
3215
3215
  }
3216
3216
  function qe() {
3217
3217
  {
3218
- if ($--, $ === 0) {
3218
+ if (W--, W === 0) {
3219
3219
  var e = {
3220
3220
  configurable: !0,
3221
3221
  enumerable: !0,
3222
3222
  writable: !0
3223
3223
  };
3224
3224
  Object.defineProperties(console, {
3225
- log: M({}, e, {
3225
+ log: I({}, e, {
3226
3226
  value: te
3227
3227
  }),
3228
- info: M({}, e, {
3228
+ info: I({}, e, {
3229
3229
  value: H
3230
3230
  }),
3231
- warn: M({}, e, {
3232
- value: ae
3231
+ warn: I({}, e, {
3232
+ value: ne
3233
3233
  }),
3234
- error: M({}, e, {
3234
+ error: I({}, e, {
3235
3235
  value: ke
3236
3236
  }),
3237
- group: M({}, e, {
3238
- value: le
3237
+ group: I({}, e, {
3238
+ value: se
3239
3239
  }),
3240
- groupCollapsed: M({}, e, {
3240
+ groupCollapsed: I({}, e, {
3241
3241
  value: we
3242
3242
  }),
3243
- groupEnd: M({}, e, {
3243
+ groupEnd: I({}, e, {
3244
3244
  value: xe
3245
3245
  })
3246
3246
  });
3247
3247
  }
3248
- $ < 0 && p("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.");
3249
3249
  }
3250
3250
  }
3251
- var ce = O.ReactCurrentDispatcher, ue;
3252
- function ne(e, t, r) {
3251
+ var ce = T.ReactCurrentDispatcher, ue;
3252
+ function ae(e, t, r) {
3253
3253
  {
3254
3254
  if (ue === void 0)
3255
3255
  try {
@@ -3293,49 +3293,49 @@ function gr() {
3293
3293
  }), typeof Reflect == "object" && Reflect.construct) {
3294
3294
  try {
3295
3295
  Reflect.construct(m, []);
3296
- } catch (B) {
3297
- o = B;
3296
+ } catch (U) {
3297
+ o = U;
3298
3298
  }
3299
3299
  Reflect.construct(e, [], m);
3300
3300
  } else {
3301
3301
  try {
3302
3302
  m.call();
3303
- } catch (B) {
3304
- o = B;
3303
+ } catch (U) {
3304
+ o = U;
3305
3305
  }
3306
3306
  e.call(m.prototype);
3307
3307
  }
3308
3308
  } else {
3309
3309
  try {
3310
3310
  throw Error();
3311
- } catch (B) {
3312
- o = B;
3311
+ } catch (U) {
3312
+ o = U;
3313
3313
  }
3314
3314
  e();
3315
3315
  }
3316
- } catch (B) {
3317
- if (B && o && typeof B.stack == "string") {
3318
- for (var u = B.stack.split(`
3319
- `), A = o.stack.split(`
3320
- `), S = u.length - 1, T = A.length - 1; S >= 1 && T >= 0 && u[S] !== A[T]; )
3321
- T--;
3322
- for (; S >= 1 && T >= 0; S--, T--)
3323
- if (u[S] !== A[T]) {
3324
- 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)
3325
3325
  do
3326
- if (S--, T--, T < 0 || u[S] !== A[T]) {
3326
+ if (R--, O--, O < 0 || u[R] !== B[O]) {
3327
3327
  var Y = `
3328
- ` + u[S].replace(" at new ", " at ");
3328
+ ` + u[R].replace(" at new ", " at ");
3329
3329
  return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
3330
3330
  }
3331
- while (S >= 1 && T >= 0);
3331
+ while (R >= 1 && O >= 0);
3332
3332
  break;
3333
3333
  }
3334
3334
  }
3335
3335
  } finally {
3336
3336
  de = !1, ce.current = x, qe(), Error.prepareStackTrace = h;
3337
3337
  }
3338
- var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
3338
+ var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
3339
3339
  return typeof e == "function" && oe.set(e, J), J;
3340
3340
  }
3341
3341
  function Ge(e, t, r) {
@@ -3351,18 +3351,18 @@ function gr() {
3351
3351
  if (typeof e == "function")
3352
3352
  return je(e, Ye(e));
3353
3353
  if (typeof e == "string")
3354
- return ne(e);
3354
+ return ae(e);
3355
3355
  switch (e) {
3356
- case y:
3357
- return ne("Suspense");
3358
- case n:
3359
- return ne("SuspenseList");
3356
+ case p:
3357
+ return ae("Suspense");
3358
+ case a:
3359
+ return ae("SuspenseList");
3360
3360
  }
3361
3361
  if (typeof e == "object")
3362
3362
  switch (e.$$typeof) {
3363
- case s:
3364
- return Ge(e.render);
3365
3363
  case l:
3364
+ return Ge(e.render);
3365
+ case s:
3366
3366
  return _e(e.type, t, r);
3367
3367
  case w: {
3368
3368
  var o = e, h = o._payload, x = o._init;
@@ -3374,7 +3374,7 @@ function gr() {
3374
3374
  }
3375
3375
  return "";
3376
3376
  }
3377
- var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = O.ReactDebugCurrentFrame;
3377
+ var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
3378
3378
  function ie(e) {
3379
3379
  if (e) {
3380
3380
  var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
@@ -3390,14 +3390,14 @@ function gr() {
3390
3390
  var u = void 0;
3391
3391
  try {
3392
3392
  if (typeof e[m] != "function") {
3393
- var A = 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 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;
3395
3395
  }
3396
3396
  u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3397
- } catch (S) {
3398
- u = S;
3397
+ } catch (R) {
3398
+ u = R;
3399
3399
  }
3400
- u && !(u instanceof Error) && (ie(h), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), p("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));
3401
3401
  }
3402
3402
  }
3403
3403
  }
@@ -3423,9 +3423,9 @@ function gr() {
3423
3423
  }
3424
3424
  function Te(e) {
3425
3425
  if (Ze(e))
3426
- return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
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);
3427
3427
  }
3428
- var Oe = O.ReactCurrentOwner, Ve = {
3428
+ var Oe = T.ReactCurrentOwner, Ve = {
3429
3429
  key: !0,
3430
3430
  ref: !0,
3431
3431
  __self: !0,
@@ -3453,7 +3453,7 @@ function gr() {
3453
3453
  function tt(e, t) {
3454
3454
  {
3455
3455
  var r = function() {
3456
- De || (De = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
3456
+ De || (De = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
3457
3457
  };
3458
3458
  r.isReactWarning = !0, Object.defineProperty(e, "key", {
3459
3459
  get: r,
@@ -3464,7 +3464,7 @@ function gr() {
3464
3464
  function rt(e, t) {
3465
3465
  {
3466
3466
  var r = function() {
3467
- Pe || (Pe = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
3467
+ Pe || (Pe = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
3468
3468
  };
3469
3469
  r.isReactWarning = !0, Object.defineProperty(e, "ref", {
3470
3470
  get: r,
@@ -3472,7 +3472,7 @@ function gr() {
3472
3472
  });
3473
3473
  }
3474
3474
  }
3475
- var at = function(e, t, r, o, h, x, m) {
3475
+ var nt = function(e, t, r, o, h, x, m) {
3476
3476
  var u = {
3477
3477
  // This tag allows us to uniquely identify this as a React Element
3478
3478
  $$typeof: _,
@@ -3501,25 +3501,25 @@ function gr() {
3501
3501
  value: h
3502
3502
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
3503
3503
  };
3504
- function nt(e, t, r, o, h) {
3504
+ function at(e, t, r, o, h) {
3505
3505
  {
3506
- var x, m = {}, u = null, A = null;
3507
- 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));
3508
3508
  for (x in t)
3509
3509
  ee.call(t, x) && !Ve.hasOwnProperty(x) && (m[x] = t[x]);
3510
3510
  if (e && e.defaultProps) {
3511
- var S = e.defaultProps;
3512
- for (x in S)
3513
- 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]);
3514
3514
  }
3515
- if (u || A) {
3516
- var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
3517
- 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);
3518
3518
  }
3519
- return at(e, u, A, h, o, Oe.current, m);
3519
+ return nt(e, u, B, h, o, Oe.current, m);
3520
3520
  }
3521
3521
  }
3522
- var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
3522
+ var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
3523
3523
  function V(e) {
3524
3524
  if (e) {
3525
3525
  var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
@@ -3570,7 +3570,7 @@ Check the top-level render call using <` + r + ">.");
3570
3570
  return;
3571
3571
  Me[r] = !0;
3572
3572
  var o = "";
3573
- e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), V(null);
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);
3574
3574
  }
3575
3575
  }
3576
3576
  function Ae(e, t) {
@@ -3600,9 +3600,9 @@ Check the top-level render call using <` + r + ">.");
3600
3600
  var r;
3601
3601
  if (typeof t == "function")
3602
3602
  r = t.propTypes;
3603
- else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
3603
+ else if (typeof t == "object" && (t.$$typeof === l || // Note: Memo only checks outer props here.
3604
3604
  // Inner props are checked in the reconciler.
3605
- t.$$typeof === l))
3605
+ t.$$typeof === s))
3606
3606
  r = t.propTypes;
3607
3607
  else
3608
3608
  return;
@@ -3612,21 +3612,21 @@ Check the top-level render call using <` + r + ">.");
3612
3612
  } else if (t.PropTypes !== void 0 && !pe) {
3613
3613
  pe = !0;
3614
3614
  var h = v(t);
3615
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
3615
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
3616
3616
  }
3617
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
3617
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
3618
3618
  }
3619
3619
  }
3620
- function lt(e) {
3620
+ function st(e) {
3621
3621
  {
3622
3622
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
3623
3623
  var o = t[r];
3624
3624
  if (o !== "children" && o !== "key") {
3625
- V(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
3625
+ V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
3626
3626
  break;
3627
3627
  }
3628
3628
  }
3629
- e.ref !== null && (V(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
3629
+ e.ref !== null && (V(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
3630
3630
  }
3631
3631
  }
3632
3632
  var $e = {};
@@ -3636,14 +3636,14 @@ Check the top-level render call using <` + r + ">.");
3636
3636
  if (!m) {
3637
3637
  var u = "";
3638
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.");
3639
- var A = ot();
3640
- A ? u += A : u += Fe();
3641
- var S;
3642
- e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === _ ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
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);
3643
3643
  }
3644
- var T = nt(e, t, r, h, x);
3645
- if (T == null)
3646
- return T;
3644
+ var O = at(e, t, r, h, x);
3645
+ if (O == null)
3646
+ return O;
3647
3647
  if (m) {
3648
3648
  var Y = t.children;
3649
3649
  if (Y !== void 0)
@@ -3653,17 +3653,17 @@ Check the top-level render call using <` + r + ">.");
3653
3653
  Ae(Y[X], e);
3654
3654
  Object.freeze && Object.freeze(Y);
3655
3655
  } else
3656
- p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
3656
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
3657
3657
  else
3658
3658
  Ae(Y, e);
3659
3659
  }
3660
3660
  if (ee.call(t, "key")) {
3661
- var J = v(e), B = Object.keys(t).filter(function(mt) {
3661
+ var J = v(e), U = Object.keys(t).filter(function(mt) {
3662
3662
  return mt !== "key";
3663
- }), ve = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
3663
+ }), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
3664
3664
  if (!$e[J + ve]) {
3665
- var ft = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
3666
- p(`A props object containing a "key" prop is being spread into JSX:
3665
+ var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
3666
+ y(`A props object containing a "key" prop is being spread into JSX:
3667
3667
  let props = %s;
3668
3668
  <%s {...props} />
3669
3669
  React keys must be passed directly to JSX without using spread:
@@ -3671,16 +3671,16 @@ React keys must be passed directly to JSX without using spread:
3671
3671
  <%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
3672
3672
  }
3673
3673
  }
3674
- return e === c ? lt(T) : it(T), T;
3674
+ return e === c ? st(O) : it(O), O;
3675
3675
  }
3676
3676
  }
3677
- function st(e, t, r) {
3677
+ function lt(e, t, r) {
3678
3678
  return Be(e, t, r, !0);
3679
3679
  }
3680
3680
  function ct(e, t, r) {
3681
3681
  return Be(e, t, r, !1);
3682
3682
  }
3683
- var ut = ct, dt = st;
3683
+ var ut = ct, dt = lt;
3684
3684
  kt.Fragment = c, kt.jsx = ut, kt.jsxs = dt;
3685
3685
  }()), kt;
3686
3686
  }
@@ -3710,26 +3710,26 @@ const hr = "_shake_oqfdb_1", kr = "_modal_oqfdb_79", br = "_sa_oqfdb_89", wr = "
3710
3710
  g: Br,
3711
3711
  m: Lr
3712
3712
  };
3713
- function Wr({ children: a, className: _ }) {
3713
+ function Wr({ children: n, className: _ }) {
3714
3714
  return /* @__PURE__ */ z.jsx(
3715
3715
  "div",
3716
3716
  {
3717
3717
  className: [re.l, _].filter((i) => i !== void 0).join(" "),
3718
- children: /* @__PURE__ */ z.jsx("ul", { children: a })
3718
+ children: /* @__PURE__ */ z.jsx("ul", { children: n })
3719
3719
  }
3720
3720
  );
3721
3721
  }
3722
- function Ur({ children: a, className: _ }) {
3722
+ function Ur({ children: n, className: _ }) {
3723
3723
  return /* @__PURE__ */ z.jsx(
3724
3724
  "div",
3725
3725
  {
3726
3726
  className: [re.s, _].filter((i) => i !== void 0).join(" "),
3727
- children: a
3727
+ children: n
3728
3728
  }
3729
3729
  );
3730
3730
  }
3731
3731
  function qr({
3732
- children: a,
3732
+ children: n,
3733
3733
  direction: _ = "column",
3734
3734
  className: i
3735
3735
  }) {
@@ -3741,32 +3741,32 @@ function qr({
3741
3741
  re[_ === "row" ? "r_" : "c_"],
3742
3742
  i
3743
3743
  ].filter((c) => c !== void 0).join(" "),
3744
- children: a
3744
+ children: n
3745
3745
  }
3746
3746
  );
3747
3747
  }
3748
- function Kr({ children: a, className: _ }) {
3748
+ function Kr({ children: n, className: _ }) {
3749
3749
  return /* @__PURE__ */ z.jsx(
3750
3750
  "div",
3751
3751
  {
3752
3752
  className: [re.c, _].filter((i) => i !== void 0).join(" "),
3753
- children: a
3753
+ children: n
3754
3754
  }
3755
3755
  );
3756
3756
  }
3757
- function Gr({ children: a, className: _ }) {
3757
+ function Gr({ children: n, className: _ }) {
3758
3758
  return /* @__PURE__ */ z.jsx(
3759
3759
  "div",
3760
3760
  {
3761
3761
  className: [re.g, _].filter((i) => i !== void 0).join(" "),
3762
- children: a
3762
+ children: n
3763
3763
  }
3764
3764
  );
3765
3765
  }
3766
3766
  function Yr() {
3767
3767
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
3768
3768
  }
3769
- function Lt(a) {
3769
+ function Lt(n) {
3770
3770
  return Yr().IMPORT_MODULES;
3771
3771
  }
3772
3772
  var Ot = { exports: {} }, ht = {};
@@ -3783,13 +3783,13 @@ var Wt;
3783
3783
  function zr() {
3784
3784
  if (Wt) return ht;
3785
3785
  Wt = 1;
3786
- var a = R, _ = 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 };
3787
- function C(b, s, y) {
3788
- var n, l = {}, w = null, j = null;
3789
- y !== void 0 && (w = "" + y), s.key !== void 0 && (w = "" + s.key), s.ref !== void 0 && (j = s.ref);
3790
- for (n in s) c.call(s, n) && !k.hasOwnProperty(n) && (l[n] = s[n]);
3791
- if (b && b.defaultProps) for (n in s = b.defaultProps, s) l[n] === void 0 && (l[n] = s[n]);
3792
- return { $$typeof: _, type: b, key: w, ref: j, props: l, _owner: d.current };
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 };
3787
+ function C(b, l, p) {
3788
+ var a, s = {}, w = null, j = null;
3789
+ p !== void 0 && (w = "" + p), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (j = l.ref);
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 };
3793
3793
  }
3794
3794
  return ht.Fragment = i, ht.jsx = C, ht.jsxs = C, ht;
3795
3795
  }
@@ -3806,15 +3806,15 @@ var bt = {};
3806
3806
  var Ut;
3807
3807
  function Hr() {
3808
3808
  return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
3809
- var a = R, _ = 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"), s = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), l = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), F = Symbol.iterator, q = "@@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";
3810
3810
  function D(e) {
3811
3811
  if (e === null || typeof e != "object")
3812
3812
  return null;
3813
- var t = F && e[F] || e[q];
3813
+ var t = F && e[F] || e[K];
3814
3814
  return typeof t == "function" ? t : null;
3815
3815
  }
3816
- var O = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3817
- function p(e) {
3816
+ var T = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3817
+ function y(e) {
3818
3818
  {
3819
3819
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
3820
3820
  r[o - 1] = arguments[o];
@@ -3823,7 +3823,7 @@ function Hr() {
3823
3823
  }
3824
3824
  function P(e, t, r) {
3825
3825
  {
3826
- var o = O.ReactDebugCurrentFrame, h = o.getStackAddendum();
3826
+ var o = T.ReactDebugCurrentFrame, h = o.getStackAddendum();
3827
3827
  h !== "" && (t += "%s", r = r.concat([h]));
3828
3828
  var x = r.map(function(m) {
3829
3829
  return String(m);
@@ -3831,10 +3831,10 @@ function Hr() {
3831
3831
  x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
3832
3832
  }
3833
3833
  }
3834
- var U = !1, I = !1, L = !1, K = !1, W = !1, N;
3834
+ var q = !1, A = !1, L = !1, M = !1, $ = !1, N;
3835
3835
  N = Symbol.for("react.module.reference");
3836
3836
  function E(e) {
3837
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === k || W || e === d || e === y || e === n || K || e === j || U || I || L || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === l || e.$$typeof === C || e.$$typeof === b || e.$$typeof === s || // 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
3838
3838
  // types supported by any Flight configuration anywhere since
3839
3839
  // we don't know which Flight build this will end up being used
3840
3840
  // with.
@@ -3853,7 +3853,7 @@ function Hr() {
3853
3853
  function v(e) {
3854
3854
  if (e == null)
3855
3855
  return null;
3856
- if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
3856
+ if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
3857
3857
  return e.displayName || e.name || null;
3858
3858
  if (typeof e == "string")
3859
3859
  return e;
@@ -3866,9 +3866,9 @@ function Hr() {
3866
3866
  return "Profiler";
3867
3867
  case d:
3868
3868
  return "StrictMode";
3869
- case y:
3869
+ case p:
3870
3870
  return "Suspense";
3871
- case n:
3871
+ case a:
3872
3872
  return "SuspenseList";
3873
3873
  }
3874
3874
  if (typeof e == "object")
@@ -3879,9 +3879,9 @@ function Hr() {
3879
3879
  case C:
3880
3880
  var r = e;
3881
3881
  return g(r._context) + ".Provider";
3882
- case s:
3883
- return G(e, e.render, "ForwardRef");
3884
3882
  case l:
3883
+ return G(e, e.render, "ForwardRef");
3884
+ case s:
3885
3885
  var o = e.displayName || null;
3886
3886
  return o !== null ? o : v(e.type) || "Memo";
3887
3887
  case w: {
@@ -3895,14 +3895,14 @@ function Hr() {
3895
3895
  }
3896
3896
  return null;
3897
3897
  }
3898
- var M = Object.assign, $ = 0, te, H, ae, ke, le, we, xe;
3898
+ var I = Object.assign, W = 0, te, H, ne, ke, se, we, xe;
3899
3899
  function Ce() {
3900
3900
  }
3901
3901
  Ce.__reactDisabledLog = !0;
3902
3902
  function Ue() {
3903
3903
  {
3904
- if ($ === 0) {
3905
- te = console.log, H = console.info, ae = console.warn, ke = console.error, le = 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;
3906
3906
  var e = {
3907
3907
  configurable: !0,
3908
3908
  enumerable: !0,
@@ -3919,46 +3919,46 @@ function Hr() {
3919
3919
  groupEnd: e
3920
3920
  });
3921
3921
  }
3922
- $++;
3922
+ W++;
3923
3923
  }
3924
3924
  }
3925
3925
  function qe() {
3926
3926
  {
3927
- if ($--, $ === 0) {
3927
+ if (W--, W === 0) {
3928
3928
  var e = {
3929
3929
  configurable: !0,
3930
3930
  enumerable: !0,
3931
3931
  writable: !0
3932
3932
  };
3933
3933
  Object.defineProperties(console, {
3934
- log: M({}, e, {
3934
+ log: I({}, e, {
3935
3935
  value: te
3936
3936
  }),
3937
- info: M({}, e, {
3937
+ info: I({}, e, {
3938
3938
  value: H
3939
3939
  }),
3940
- warn: M({}, e, {
3941
- value: ae
3940
+ warn: I({}, e, {
3941
+ value: ne
3942
3942
  }),
3943
- error: M({}, e, {
3943
+ error: I({}, e, {
3944
3944
  value: ke
3945
3945
  }),
3946
- group: M({}, e, {
3947
- value: le
3946
+ group: I({}, e, {
3947
+ value: se
3948
3948
  }),
3949
- groupCollapsed: M({}, e, {
3949
+ groupCollapsed: I({}, e, {
3950
3950
  value: we
3951
3951
  }),
3952
- groupEnd: M({}, e, {
3952
+ groupEnd: I({}, e, {
3953
3953
  value: xe
3954
3954
  })
3955
3955
  });
3956
3956
  }
3957
- $ < 0 && p("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.");
3958
3958
  }
3959
3959
  }
3960
- var ce = O.ReactCurrentDispatcher, ue;
3961
- function ne(e, t, r) {
3960
+ var ce = T.ReactCurrentDispatcher, ue;
3961
+ function ae(e, t, r) {
3962
3962
  {
3963
3963
  if (ue === void 0)
3964
3964
  try {
@@ -4002,49 +4002,49 @@ function Hr() {
4002
4002
  }), typeof Reflect == "object" && Reflect.construct) {
4003
4003
  try {
4004
4004
  Reflect.construct(m, []);
4005
- } catch (B) {
4006
- o = B;
4005
+ } catch (U) {
4006
+ o = U;
4007
4007
  }
4008
4008
  Reflect.construct(e, [], m);
4009
4009
  } else {
4010
4010
  try {
4011
4011
  m.call();
4012
- } catch (B) {
4013
- o = B;
4012
+ } catch (U) {
4013
+ o = U;
4014
4014
  }
4015
4015
  e.call(m.prototype);
4016
4016
  }
4017
4017
  } else {
4018
4018
  try {
4019
4019
  throw Error();
4020
- } catch (B) {
4021
- o = B;
4020
+ } catch (U) {
4021
+ o = U;
4022
4022
  }
4023
4023
  e();
4024
4024
  }
4025
- } catch (B) {
4026
- if (B && o && typeof B.stack == "string") {
4027
- for (var u = B.stack.split(`
4028
- `), A = o.stack.split(`
4029
- `), S = u.length - 1, T = A.length - 1; S >= 1 && T >= 0 && u[S] !== A[T]; )
4030
- T--;
4031
- for (; S >= 1 && T >= 0; S--, T--)
4032
- if (u[S] !== A[T]) {
4033
- 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)
4034
4034
  do
4035
- if (S--, T--, T < 0 || u[S] !== A[T]) {
4035
+ if (R--, O--, O < 0 || u[R] !== B[O]) {
4036
4036
  var Y = `
4037
- ` + u[S].replace(" at new ", " at ");
4037
+ ` + u[R].replace(" at new ", " at ");
4038
4038
  return e.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, Y), Y;
4039
4039
  }
4040
- while (S >= 1 && T >= 0);
4040
+ while (R >= 1 && O >= 0);
4041
4041
  break;
4042
4042
  }
4043
4043
  }
4044
4044
  } finally {
4045
4045
  de = !1, ce.current = x, qe(), Error.prepareStackTrace = h;
4046
4046
  }
4047
- var X = e ? e.displayName || e.name : "", J = X ? ne(X) : "";
4047
+ var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
4048
4048
  return typeof e == "function" && oe.set(e, J), J;
4049
4049
  }
4050
4050
  function Ge(e, t, r) {
@@ -4060,18 +4060,18 @@ function Hr() {
4060
4060
  if (typeof e == "function")
4061
4061
  return je(e, Ye(e));
4062
4062
  if (typeof e == "string")
4063
- return ne(e);
4063
+ return ae(e);
4064
4064
  switch (e) {
4065
- case y:
4066
- return ne("Suspense");
4067
- case n:
4068
- return ne("SuspenseList");
4065
+ case p:
4066
+ return ae("Suspense");
4067
+ case a:
4068
+ return ae("SuspenseList");
4069
4069
  }
4070
4070
  if (typeof e == "object")
4071
4071
  switch (e.$$typeof) {
4072
- case s:
4073
- return Ge(e.render);
4074
4072
  case l:
4073
+ return Ge(e.render);
4074
+ case s:
4075
4075
  return _e(e.type, t, r);
4076
4076
  case w: {
4077
4077
  var o = e, h = o._payload, x = o._init;
@@ -4083,7 +4083,7 @@ function Hr() {
4083
4083
  }
4084
4084
  return "";
4085
4085
  }
4086
- var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = O.ReactDebugCurrentFrame;
4086
+ var ee = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
4087
4087
  function ie(e) {
4088
4088
  if (e) {
4089
4089
  var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
@@ -4099,14 +4099,14 @@ function Hr() {
4099
4099
  var u = void 0;
4100
4100
  try {
4101
4101
  if (typeof e[m] != "function") {
4102
- var A = 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 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;
4104
4104
  }
4105
4105
  u = e[m](t, m, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
4106
- } catch (S) {
4107
- u = S;
4106
+ } catch (R) {
4107
+ u = R;
4108
4108
  }
4109
- u && !(u instanceof Error) && (ie(h), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", r, m, typeof u), ie(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, ie(h), p("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));
4110
4110
  }
4111
4111
  }
4112
4112
  }
@@ -4132,9 +4132,9 @@ function Hr() {
4132
4132
  }
4133
4133
  function Te(e) {
4134
4134
  if (Ze(e))
4135
- return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
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);
4136
4136
  }
4137
- var Oe = O.ReactCurrentOwner, Ve = {
4137
+ var Oe = T.ReactCurrentOwner, Ve = {
4138
4138
  key: !0,
4139
4139
  ref: !0,
4140
4140
  __self: !0,
@@ -4162,7 +4162,7 @@ function Hr() {
4162
4162
  function tt(e, t) {
4163
4163
  {
4164
4164
  var r = function() {
4165
- De || (De = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
4165
+ De || (De = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
4166
4166
  };
4167
4167
  r.isReactWarning = !0, Object.defineProperty(e, "key", {
4168
4168
  get: r,
@@ -4173,7 +4173,7 @@ function Hr() {
4173
4173
  function rt(e, t) {
4174
4174
  {
4175
4175
  var r = function() {
4176
- Pe || (Pe = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
4176
+ Pe || (Pe = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
4177
4177
  };
4178
4178
  r.isReactWarning = !0, Object.defineProperty(e, "ref", {
4179
4179
  get: r,
@@ -4181,7 +4181,7 @@ function Hr() {
4181
4181
  });
4182
4182
  }
4183
4183
  }
4184
- var at = function(e, t, r, o, h, x, m) {
4184
+ var nt = function(e, t, r, o, h, x, m) {
4185
4185
  var u = {
4186
4186
  // This tag allows us to uniquely identify this as a React Element
4187
4187
  $$typeof: _,
@@ -4210,25 +4210,25 @@ function Hr() {
4210
4210
  value: h
4211
4211
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
4212
4212
  };
4213
- function nt(e, t, r, o, h) {
4213
+ function at(e, t, r, o, h) {
4214
4214
  {
4215
- var x, m = {}, u = null, A = null;
4216
- 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));
4217
4217
  for (x in t)
4218
4218
  ee.call(t, x) && !Ve.hasOwnProperty(x) && (m[x] = t[x]);
4219
4219
  if (e && e.defaultProps) {
4220
- var S = e.defaultProps;
4221
- for (x in S)
4222
- 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]);
4223
4223
  }
4224
- if (u || A) {
4225
- var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
4226
- 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);
4227
4227
  }
4228
- return at(e, u, A, h, o, Oe.current, m);
4228
+ return nt(e, u, B, h, o, Oe.current, m);
4229
4229
  }
4230
4230
  }
4231
- var me = O.ReactCurrentOwner, Ne = O.ReactDebugCurrentFrame;
4231
+ var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
4232
4232
  function V(e) {
4233
4233
  if (e) {
4234
4234
  var t = e._owner, r = _e(e.type, e._source, t ? t.type : null);
@@ -4279,7 +4279,7 @@ Check the top-level render call using <` + r + ">.");
4279
4279
  return;
4280
4280
  Me[r] = !0;
4281
4281
  var o = "";
4282
- e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + v(e._owner.type) + "."), V(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), V(null);
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);
4283
4283
  }
4284
4284
  }
4285
4285
  function Ae(e, t) {
@@ -4309,9 +4309,9 @@ Check the top-level render call using <` + r + ">.");
4309
4309
  var r;
4310
4310
  if (typeof t == "function")
4311
4311
  r = t.propTypes;
4312
- else if (typeof t == "object" && (t.$$typeof === s || // Note: Memo only checks outer props here.
4312
+ else if (typeof t == "object" && (t.$$typeof === l || // Note: Memo only checks outer props here.
4313
4313
  // Inner props are checked in the reconciler.
4314
- t.$$typeof === l))
4314
+ t.$$typeof === s))
4315
4315
  r = t.propTypes;
4316
4316
  else
4317
4317
  return;
@@ -4321,21 +4321,21 @@ Check the top-level render call using <` + r + ">.");
4321
4321
  } else if (t.PropTypes !== void 0 && !pe) {
4322
4322
  pe = !0;
4323
4323
  var h = v(t);
4324
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
4324
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
4325
4325
  }
4326
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
4326
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
4327
4327
  }
4328
4328
  }
4329
- function lt(e) {
4329
+ function st(e) {
4330
4330
  {
4331
4331
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
4332
4332
  var o = t[r];
4333
4333
  if (o !== "children" && o !== "key") {
4334
- V(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
4334
+ V(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), V(null);
4335
4335
  break;
4336
4336
  }
4337
4337
  }
4338
- e.ref !== null && (V(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
4338
+ e.ref !== null && (V(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
4339
4339
  }
4340
4340
  }
4341
4341
  var $e = {};
@@ -4345,14 +4345,14 @@ Check the top-level render call using <` + r + ">.");
4345
4345
  if (!m) {
4346
4346
  var u = "";
4347
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.");
4348
- var A = ot();
4349
- A ? u += A : u += Fe();
4350
- var S;
4351
- e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === _ ? (S = "<" + (v(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
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);
4352
4352
  }
4353
- var T = nt(e, t, r, h, x);
4354
- if (T == null)
4355
- return T;
4353
+ var O = at(e, t, r, h, x);
4354
+ if (O == null)
4355
+ return O;
4356
4356
  if (m) {
4357
4357
  var Y = t.children;
4358
4358
  if (Y !== void 0)
@@ -4362,17 +4362,17 @@ Check the top-level render call using <` + r + ">.");
4362
4362
  Ae(Y[X], e);
4363
4363
  Object.freeze && Object.freeze(Y);
4364
4364
  } else
4365
- p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
4365
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
4366
4366
  else
4367
4367
  Ae(Y, e);
4368
4368
  }
4369
4369
  if (ee.call(t, "key")) {
4370
- var J = v(e), B = Object.keys(t).filter(function(mt) {
4370
+ var J = v(e), U = Object.keys(t).filter(function(mt) {
4371
4371
  return mt !== "key";
4372
- }), ve = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
4372
+ }), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
4373
4373
  if (!$e[J + ve]) {
4374
- var ft = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
4375
- p(`A props object containing a "key" prop is being spread into JSX:
4374
+ var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
4375
+ y(`A props object containing a "key" prop is being spread into JSX:
4376
4376
  let props = %s;
4377
4377
  <%s {...props} />
4378
4378
  React keys must be passed directly to JSX without using spread:
@@ -4380,32 +4380,32 @@ React keys must be passed directly to JSX without using spread:
4380
4380
  <%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
4381
4381
  }
4382
4382
  }
4383
- return e === c ? lt(T) : it(T), T;
4383
+ return e === c ? st(O) : it(O), O;
4384
4384
  }
4385
4385
  }
4386
- function st(e, t, r) {
4386
+ function lt(e, t, r) {
4387
4387
  return Be(e, t, r, !0);
4388
4388
  }
4389
4389
  function ct(e, t, r) {
4390
4390
  return Be(e, t, r, !1);
4391
4391
  }
4392
- var ut = ct, dt = st;
4392
+ var ut = ct, dt = lt;
4393
4393
  bt.Fragment = c, bt.jsx = ut, bt.jsxs = dt;
4394
4394
  }()), bt;
4395
4395
  }
4396
4396
  process.env.NODE_ENV === "production" ? Ot.exports = zr() : Ot.exports = Hr();
4397
4397
  var St = Ot.exports;
4398
- 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 = {
4399
4399
  btn: Jr,
4400
4400
  confirm: Zr,
4401
4401
  cancel: Vr,
4402
4402
  action: Xr,
4403
4403
  disabled: Qr,
4404
4404
  await: "_await_1k1b3_37",
4405
- m: ea,
4406
- l: ta
4407
- }, ra = ({
4408
- onClick: a,
4405
+ m: en,
4406
+ l: tn
4407
+ }, rn = ({
4408
+ onClick: n,
4409
4409
  onSend: _,
4410
4410
  size: i = "m",
4411
4411
  view: c = "confirm",
@@ -4413,22 +4413,22 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
4413
4413
  isDisabled: k = !1,
4414
4414
  className: C,
4415
4415
  after: b,
4416
- before: s,
4417
- label: y,
4418
- onRef: n,
4419
- awaitText: l = "Ожидайте"
4416
+ before: l,
4417
+ label: p,
4418
+ onRef: a,
4419
+ awaitText: s = "Ожидайте"
4420
4420
  }) => {
4421
- let [w, j] = R.useState(!1);
4421
+ let [w, j] = S.useState(!1);
4422
4422
  const F = (D) => {
4423
- if (a) return a();
4423
+ if (n) return n();
4424
4424
  w || (_ ? (j(!0), _(j)) : D.preventDefault());
4425
4425
  };
4426
- let q = {};
4427
- return (k || w) && (q.disabled = !0), /* @__PURE__ */ St.jsx(
4426
+ let K = {};
4427
+ return (k || w) && (K.disabled = !0), /* @__PURE__ */ St.jsx(
4428
4428
  "button",
4429
4429
  {
4430
- ...q,
4431
- ref: n,
4430
+ ...K,
4431
+ ref: a,
4432
4432
  className: [
4433
4433
  wt.btn,
4434
4434
  w ? wt.disabled : wt[c],
@@ -4436,10 +4436,10 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
4436
4436
  C
4437
4437
  ].filter((D) => D != "").join(" "),
4438
4438
  onClick: F,
4439
- children: w ? l : /* @__PURE__ */ St.jsxs(St.Fragment, { children: [
4440
- s || "",
4439
+ children: w ? s : /* @__PURE__ */ St.jsxs(St.Fragment, { children: [
4440
+ l || "",
4441
4441
  " ",
4442
- y,
4442
+ p,
4443
4443
  " ",
4444
4444
  b || ""
4445
4445
  ] }) || d
@@ -4447,122 +4447,122 @@ const Jr = "_btn_1k1b3_1", Zr = "_confirm_1k1b3_15", Vr = "_cancel_1k1b3_20", Xr
4447
4447
  );
4448
4448
  };
4449
4449
  let ge = {};
4450
- function aa({ children: a }) {
4451
- return /* @__PURE__ */ z.jsx(z.Fragment, { children: a });
4450
+ function nn({ children: n }) {
4451
+ return /* @__PURE__ */ z.jsx(z.Fragment, { children: n });
4452
4452
  }
4453
4453
  var jt;
4454
- ((a) => {
4454
+ ((n) => {
4455
4455
  function _({
4456
- import_modules: n
4456
+ import_modules: a
4457
4457
  }) {
4458
- let [l, w] = R.useState([]);
4458
+ let [s, w] = S.useState([]);
4459
4459
  return ge.x = (j) => {
4460
- w(j ? l.filter((F) => F.key !== j) : []);
4460
+ w(j ? s.filter((F) => F.key !== j) : []);
4461
4461
  }, Kt(() => {
4462
- n && (ge.i = n);
4462
+ a && (ge.i = a);
4463
4463
  }, []), ge.add = (j, F = Date.now()) => {
4464
- w([...l, { key: F, item: j }]);
4465
- }, /* @__PURE__ */ z.jsx(z.Fragment, { children: l.map((j) => j.item) });
4464
+ w([...s, { key: F, item: j }]);
4465
+ }, /* @__PURE__ */ z.jsx(z.Fragment, { children: s.map((j) => j.item) });
4466
4466
  }
4467
- a.Init = _;
4468
- function i(n) {
4469
- return n && (ge.i = n), ge.i;
4467
+ n.Init = _;
4468
+ function i(a) {
4469
+ return a && (ge.i = a), ge.i;
4470
4470
  }
4471
- a.Import = i, a.List = Wr, a.Scroll = Ur, a.Form = qr, a.Center = Kr, a.Column = Gr;
4472
- function c(n, l, w) {
4473
- ge.i ? ge.i(`${n}/modal/${l}.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) => {
4474
4474
  j.default.Open(w);
4475
- }) : Lt()(`${n}/modal/${l}.tsx`).then((j) => {
4475
+ }) : Lt()(`${a}/modal/${s}.tsx`).then((j) => {
4476
4476
  j.default.Open(w);
4477
4477
  });
4478
4478
  }
4479
- a.Open = c;
4480
- function d({ type: n, name: l, params: w }) {
4481
- let [j, F] = R.useState(null);
4482
- return R.useEffect(() => {
4483
- ge.i ? ge.i(`${n}/modal/${l}.tsx`).then((q) => {
4484
- F(q.default.Icon(w));
4485
- }) : Lt()(`${n}/modal/${l}.tsx`).then((q) => {
4486
- F(q.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));
4487
4487
  });
4488
4488
  }, [w.id]), /* @__PURE__ */ z.jsx(z.Fragment, { children: j });
4489
4489
  }
4490
- a.Icon = d;
4491
- function k(n, l) {
4492
- ge.add(/* @__PURE__ */ z.jsx(aa, { children: n }, String(Date.now())), l);
4490
+ n.Icon = d;
4491
+ function k(a, s) {
4492
+ ge.add(/* @__PURE__ */ z.jsx(nn, { children: a }, String(Date.now())), s);
4493
4493
  }
4494
- a.Add = k;
4495
- function C(n) {
4496
- ge.x(n);
4494
+ n.Add = k;
4495
+ function C(a) {
4496
+ ge.x(a);
4497
4497
  }
4498
- a.Close = C;
4499
- function b(n) {
4500
- if (n.target.classList[0] !== "modal") return;
4501
- let l = n.target.children[0];
4502
- l.setAttribute("shake", !0), setTimeout(() => {
4503
- l.setAttribute("shake", !1);
4498
+ n.Close = C;
4499
+ function b(a) {
4500
+ if (a.target.classList[0] !== "modal") return;
4501
+ let s = a.target.children[0];
4502
+ s.setAttribute("shake", !0), setTimeout(() => {
4503
+ s.setAttribute("shake", !1);
4504
4504
  }, 1e3);
4505
4505
  }
4506
- a.Shake = b;
4507
- function s(n, l) {
4506
+ n.Shake = b;
4507
+ function l(a, s) {
4508
4508
  const w = (j) => {
4509
- a.Add(
4510
- /* @__PURE__ */ z.jsx(n, { ...j }, (/* @__PURE__ */ new Date()).getTime())
4509
+ n.Add(
4510
+ /* @__PURE__ */ z.jsx(a, { ...j }, (/* @__PURE__ */ new Date()).getTime())
4511
4511
  );
4512
4512
  };
4513
4513
  return {
4514
- Icon: (j) => /* @__PURE__ */ z.jsx("i", { onClick: () => w(j), children: l && /* @__PURE__ */ z.jsx(l, {}) }),
4514
+ Icon: (j) => /* @__PURE__ */ z.jsx("i", { onClick: () => w(j), children: s && /* @__PURE__ */ z.jsx(s, {}) }),
4515
4515
  Open: w
4516
4516
  };
4517
4517
  }
4518
- a.Create = s;
4519
- function y({
4520
- title: n,
4521
- children: l,
4518
+ n.Create = l;
4519
+ function p({
4520
+ title: a,
4521
+ children: s,
4522
4522
  button: w,
4523
4523
  tabs: j,
4524
4524
  size: F = "m",
4525
- className: q = "",
4525
+ className: K = "",
4526
4526
  shake: D = !0,
4527
- menu: O
4527
+ menu: T
4528
4528
  }) {
4529
- const [p, P] = R.useState(!0), U = R.useRef(), I = (K) => {
4529
+ const [y, P] = S.useState(!0), q = S.useRef(), A = (M) => {
4530
4530
  if (w) {
4531
4531
  if (w.onClick)
4532
- return K(!1), w.onClick({ setOpen: P });
4532
+ return M(!1), w.onClick({ setOpen: P });
4533
4533
  if (w.onSend)
4534
4534
  return w.onSend({
4535
4535
  setOpen: P,
4536
- disabled: K
4536
+ disabled: M
4537
4537
  });
4538
4538
  }
4539
4539
  }, L = () => {
4540
4540
  if (!D) return P(!1);
4541
- U.current.setAttribute("shake", !0), setTimeout(() => {
4542
- U.current.setAttribute("shake", !1);
4541
+ q.current.setAttribute("shake", !0), setTimeout(() => {
4542
+ q.current.setAttribute("shake", !1);
4543
4543
  }, 1e3);
4544
4544
  };
4545
- return p ? /* @__PURE__ */ z.jsxs("div", { className: `${re.modal}`, children: [
4545
+ return y ? /* @__PURE__ */ z.jsxs("div", { className: `${re.modal}`, children: [
4546
4546
  /* @__PURE__ */ z.jsx("div", { className: re.o, onClick: L }),
4547
4547
  /* @__PURE__ */ z.jsxs(
4548
4548
  "div",
4549
4549
  {
4550
- className: [re.w, re[`s${F}`], q].filter((K) => K != "").join(" "),
4551
- ref: U,
4550
+ className: [re.w, re[`s${F}`], K].filter((M) => M != "").join(" "),
4551
+ ref: q,
4552
4552
  children: [
4553
4553
  /* @__PURE__ */ z.jsxs("div", { className: re.h, children: [
4554
- /* @__PURE__ */ z.jsx("div", { className: re.t, children: n }),
4554
+ /* @__PURE__ */ z.jsx("div", { className: re.t, children: a }),
4555
4555
  /* @__PURE__ */ z.jsxs("div", { className: re.m, children: [
4556
- j && /* @__PURE__ */ z.jsx("nav", { children: j.map((K, W) => /* @__PURE__ */ z.jsx(
4556
+ j && /* @__PURE__ */ z.jsx("nav", { children: j.map((M, $) => /* @__PURE__ */ z.jsx(
4557
4557
  "span",
4558
4558
  {
4559
- onClick: K.onClick,
4560
- className: K.active ? "active" : "",
4561
- children: K.name
4559
+ onClick: M.onClick,
4560
+ className: M.active ? "active" : "",
4561
+ children: M.name
4562
4562
  },
4563
- W
4563
+ $
4564
4564
  )) }),
4565
- O
4565
+ T
4566
4566
  ] }),
4567
4567
  /* @__PURE__ */ z.jsx(
4568
4568
  "div",
@@ -4584,12 +4584,12 @@ var jt;
4584
4584
  }
4585
4585
  )
4586
4586
  ] }),
4587
- l,
4587
+ s,
4588
4588
  w && /* @__PURE__ */ z.jsx("div", { className: re.b, children: /* @__PURE__ */ z.jsx(
4589
- ra,
4589
+ rn,
4590
4590
  {
4591
4591
  label: w.label,
4592
- onSend: I,
4592
+ onSend: A,
4593
4593
  className: re.btn,
4594
4594
  size: w.size
4595
4595
  }
@@ -4599,11 +4599,11 @@ var jt;
4599
4599
  )
4600
4600
  ] }) : "";
4601
4601
  }
4602
- a.Main = y;
4602
+ n.Main = p;
4603
4603
  })(jt || (jt = {}));
4604
- const na = (a, _ = ",") => (a = a !== void 0 && a !== "" ? a.split(_) : [], a.filter((i) => i !== "").reduce((i, c) => (i[c] = !0, i), {}));
4605
- function ba({
4606
- value: a,
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
4607
  onValue: _,
4608
4608
  name: i,
4609
4609
  placeholder: c = "",
@@ -4611,37 +4611,37 @@ function ba({
4611
4611
  title: k,
4612
4612
  error: C,
4613
4613
  hide: b = !1,
4614
- edit: s = !0,
4615
- active: y = !0,
4616
- outFormat: n = "object",
4617
- after: l = "",
4614
+ edit: l = !0,
4615
+ active: p = !0,
4616
+ outFormat: a = "object",
4617
+ after: s = "",
4618
4618
  modal: w,
4619
4619
  options: j,
4620
4620
  className: F
4621
4621
  }) {
4622
- const [q, D] = R.useState(na(a, d)), O = (p) => {
4623
- if (!(s && y) || !w) return;
4622
+ const [K, D] = S.useState(an(n, d)), T = (y) => {
4623
+ if (!(l && p) || !w) return;
4624
4624
  let P = w.split(".");
4625
4625
  jt.Open(P[0], P[1], {
4626
- callback: (U) => {
4626
+ callback: (q) => {
4627
4627
  if (_)
4628
- switch (n) {
4628
+ switch (a) {
4629
4629
  case "array":
4630
- _({ value: Object.keys(U), name: i });
4630
+ _({ value: Object.keys(q), name: i });
4631
4631
  break;
4632
4632
  case "string":
4633
4633
  _({
4634
- value: Object.keys(U).filter((I) => U[I]).join(d),
4634
+ value: Object.keys(q).filter((A) => q[A]).join(d),
4635
4635
  name: i
4636
4636
  });
4637
4637
  break;
4638
4638
  default:
4639
- _({ value: U, name: i });
4639
+ _({ value: q, name: i });
4640
4640
  }
4641
4641
  D(
4642
4642
  Object.fromEntries(
4643
- Object.entries(U).filter(
4644
- ([I, L]) => L !== !1
4643
+ Object.entries(q).filter(
4644
+ ([A, L]) => L !== !1
4645
4645
  )
4646
4646
  )
4647
4647
  );
@@ -4649,7 +4649,7 @@ function ba({
4649
4649
  onValue: _,
4650
4650
  options: j,
4651
4651
  name: i,
4652
- value: q
4652
+ value: K
4653
4653
  });
4654
4654
  };
4655
4655
  return b ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
@@ -4662,23 +4662,23 @@ function ba({
4662
4662
  element_input: {
4663
4663
  className: [Q.g],
4664
4664
  props: {
4665
- onClick: O
4665
+ onClick: T
4666
4666
  }
4667
4667
  },
4668
- children: Object.keys(q).map((p) => {
4668
+ children: Object.keys(K).map((y) => {
4669
4669
  var P;
4670
- return /* @__PURE__ */ f.jsx("div", { children: (P = j[p]) == null ? void 0 : P.label }, p);
4670
+ return /* @__PURE__ */ f.jsx("div", { children: (P = j[y]) == null ? void 0 : P.label }, y);
4671
4671
  })
4672
4672
  }
4673
4673
  );
4674
4674
  }
4675
- const oa = "_o_1wehm_12", _a = "_l_1wehm_22", ia = "_f_1wehm_81", Dt = {
4676
- o: oa,
4677
- l: _a,
4678
- 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
4679
4679
  };
4680
- function wa({
4681
- title: a,
4680
+ function xn({
4681
+ title: n,
4682
4682
  error: _,
4683
4683
  edit: i = !0,
4684
4684
  active: c = !0,
@@ -4686,59 +4686,59 @@ function wa({
4686
4686
  value: k = 0,
4687
4687
  onValue: C,
4688
4688
  options: b,
4689
- placeholder: s = "",
4690
- className: y,
4691
- isIcon: n = !0,
4692
- name: l,
4689
+ placeholder: l = "",
4690
+ className: p,
4691
+ isIcon: a = !0,
4692
+ name: s,
4693
4693
  after: w,
4694
4694
  view: j,
4695
4695
  order: F,
4696
- isReload: q = !1
4696
+ isReload: K = !1
4697
4697
  }) {
4698
- const D = R.useRef(null), [O, p] = R.useState(k), [P, U] = R.useState(b), [I, L] = R.useState(!1);
4699
- R.useEffect(() => {
4700
- p(k), U(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);
4701
4701
  }, [k, b]);
4702
- const K = Array.isArray(P), W = K ? P.length : Object.keys(P || {}).length, N = (M) => {
4703
- var $;
4704
- if (K) {
4702
+ const M = Array.isArray(P), $ = M ? P.length : Object.keys(P || {}).length, N = (I) => {
4703
+ var W;
4704
+ if (M) {
4705
4705
  const te = P.find(
4706
- (H) => (H.id || H.i) === M
4706
+ (H) => (H.id || H.i) === I
4707
4707
  );
4708
4708
  return te == null ? void 0 : te.n;
4709
4709
  } else
4710
- return ($ = P == null ? void 0 : P[M]) == null ? void 0 : $.n;
4710
+ return (W = P == null ? void 0 : P[I]) == null ? void 0 : W.n;
4711
4711
  };
4712
4712
  d = !!(d && (k === 0 || N(k) === void 0)) && !(i && c);
4713
- const G = (M) => {
4714
- p(M), C && C({ value: M, name: l, reload: q });
4715
- }, g = (M) => {
4716
- W !== 0 && i && c && (D.position = D.current.getBoundingClientRect(), L(!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));
4717
4717
  }, v = {};
4718
- return s && (v.placeholder = s), d ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
4718
+ return l && (v.placeholder = l), d ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
4719
4719
  /* @__PURE__ */ f.jsx(
4720
4720
  he,
4721
4721
  {
4722
4722
  type: "select",
4723
- title: a,
4724
- element_blok: { className: [y] },
4723
+ title: n,
4724
+ element_blok: { className: [p] },
4725
4725
  error: _,
4726
4726
  element_input: {
4727
4727
  className: [Dt.f],
4728
4728
  props: { onClick: g }
4729
4729
  },
4730
4730
  ref: D,
4731
- children: /* @__PURE__ */ f.jsx("div", { ...v, children: N(O) || s || "" })
4731
+ children: /* @__PURE__ */ f.jsx("div", { ...v, children: N(T) || l || "" })
4732
4732
  }
4733
4733
  ),
4734
- I && Nt(
4734
+ A && Nt(
4735
4735
  /* @__PURE__ */ f.jsx(
4736
- la,
4736
+ ln,
4737
4737
  {
4738
4738
  parent: D.position,
4739
4739
  onValue: G,
4740
4740
  view: j,
4741
- className: y,
4741
+ className: p,
4742
4742
  options: P,
4743
4743
  order: F,
4744
4744
  setOpen: L
@@ -4749,8 +4749,8 @@ function wa({
4749
4749
  )
4750
4750
  ] });
4751
4751
  }
4752
- const la = ({
4753
- onValue: a,
4752
+ const ln = ({
4753
+ onValue: n,
4754
4754
  parent: _,
4755
4755
  className: i,
4756
4756
  options: c,
@@ -4759,9 +4759,9 @@ const la = ({
4759
4759
  }) => {
4760
4760
  let C = () => {
4761
4761
  k(!1);
4762
- }, b = (n) => {
4763
- k(!1), a(n);
4764
- }, s = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, y = window.innerWidth - _.x < 265 ? _.x - 235 : _.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;
4765
4765
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
4766
4766
  /* @__PURE__ */ f.jsx(
4767
4767
  "div",
@@ -4774,34 +4774,34 @@ const la = ({
4774
4774
  /* @__PURE__ */ f.jsx(
4775
4775
  "div",
4776
4776
  {
4777
- className: [Dt.l, i].filter((n) => n !== void 0).join(" "),
4777
+ className: [Dt.l, i].filter((a) => a !== void 0).join(" "),
4778
4778
  style: {
4779
- top: s + "px",
4780
- left: y + "px",
4779
+ top: l + "px",
4780
+ left: p + "px",
4781
4781
  width: _.width
4782
4782
  },
4783
- children: /* @__PURE__ */ f.jsx(sa, { order: d, options: c, link: b })
4783
+ children: /* @__PURE__ */ f.jsx(cn, { order: d, options: c, link: b })
4784
4784
  }
4785
4785
  )
4786
4786
  ] });
4787
- }, sa = ({ order: a, options: _, link: i }) => {
4787
+ }, cn = ({ order: n, options: _, link: i }) => {
4788
4788
  if (Array.isArray(_)) {
4789
4789
  const d = _;
4790
- return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((k, C) => {
4790
+ return n ? /* @__PURE__ */ f.jsx("ul", { children: n.map((k, C) => {
4791
4791
  const b = d.find(
4792
- (y) => (y.id || y.i) === k
4792
+ (p) => (p.id || p.i) === k
4793
4793
  );
4794
4794
  if (!b || b.s === 0 || !b.n) return null;
4795
- const s = b.id || b.i;
4796
- return s === void 0 ? null : /* @__PURE__ */ f.jsx(
4795
+ const l = b.id || b.i;
4796
+ return l === void 0 ? null : /* @__PURE__ */ f.jsx(
4797
4797
  "li",
4798
4798
  {
4799
4799
  onClick: () => {
4800
- i(s);
4800
+ i(l);
4801
4801
  },
4802
4802
  children: b.n
4803
4803
  },
4804
- `${s}-${C}`
4804
+ `${l}-${C}`
4805
4805
  );
4806
4806
  }) }) : /* @__PURE__ */ f.jsx("ul", { children: d.map((k, C) => {
4807
4807
  if (k.s === 0 || !k.n) return null;
@@ -4818,7 +4818,7 @@ const la = ({
4818
4818
  );
4819
4819
  }) });
4820
4820
  }
4821
- return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((d, k) => {
4821
+ return n ? /* @__PURE__ */ f.jsx("ul", { children: n.map((d, k) => {
4822
4822
  const C = _[d];
4823
4823
  return !C || C.s === 0 || !C.n ? null : /* @__PURE__ */ f.jsx(
4824
4824
  "li",
@@ -4844,8 +4844,8 @@ const la = ({
4844
4844
  );
4845
4845
  }) });
4846
4846
  };
4847
- function xa({
4848
- value: a,
4847
+ function Cn({
4848
+ value: n,
4849
4849
  onValue: _,
4850
4850
  name: i,
4851
4851
  placeholder: c = "",
@@ -4853,28 +4853,36 @@ function xa({
4853
4853
  error: k,
4854
4854
  hide: C = !1,
4855
4855
  edit: b = !0,
4856
- show: s = !0,
4857
- active: y = !0,
4858
- after: n = "",
4859
- view: l,
4856
+ show: l = !0,
4857
+ active: p = !0,
4858
+ after: a = "",
4859
+ view: s,
4860
4860
  modal: w,
4861
4861
  options: j,
4862
4862
  className: F
4863
4863
  }) {
4864
- const [q, D] = R.useState(a), O = (P) => {
4865
- if (!(b && y) || !w) return;
4866
- let U = w.split(".");
4867
- U.length < 2 || jt.Open(U[0], U[1], {
4868
- callback: (I) => {
4869
- _ && _({ value: I, name: i }), D(I);
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) => {
4869
+ if (!(b && p) || !w) return;
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($);
4870
4878
  },
4871
4879
  onValue: _,
4872
4880
  options: j,
4873
4881
  name: i,
4874
- value: a
4882
+ value: L
4875
4883
  });
4876
- }, p = {};
4877
- return c && (p.placeholder = c), C ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
4884
+ }, P = {};
4885
+ return c && (P.placeholder = c), C ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
4878
4886
  he,
4879
4887
  {
4880
4888
  type: "input",
@@ -4883,14 +4891,14 @@ function xa({
4883
4891
  error: k,
4884
4892
  element_input: {
4885
4893
  className: [Q.w],
4886
- props: { onClick: O }
4894
+ props: { onClick: y }
4887
4895
  },
4888
- children: /* @__PURE__ */ f.jsx("div", { ...p, children: q })
4896
+ children: /* @__PURE__ */ f.jsx("div", { ...P, children: K(D) })
4889
4897
  }
4890
4898
  );
4891
4899
  }
4892
- function Ca({
4893
- value: a,
4900
+ function jn({
4901
+ value: n,
4894
4902
  onValue: _,
4895
4903
  onSave: i,
4896
4904
  name: c,
@@ -4898,28 +4906,28 @@ function Ca({
4898
4906
  className: k,
4899
4907
  title: C,
4900
4908
  error: b,
4901
- edit: s = !0,
4902
- active: y = !0,
4903
- reload: n = !1,
4904
- native: l = !1,
4909
+ edit: l = !0,
4910
+ active: p = !0,
4911
+ reload: a = !1,
4912
+ native: s = !1,
4905
4913
  isShow: w = !1,
4906
4914
  maxLength: j,
4907
4915
  eyes: F = [],
4908
- after: q = ""
4916
+ after: K = ""
4909
4917
  }) {
4910
- const [D, O] = R.useState(w);
4911
- let p = (W) => {
4918
+ const [D, T] = S.useState(w);
4919
+ let y = ($) => {
4912
4920
  _ && _({
4913
- value: W.target.textContent,
4921
+ value: $.target.textContent,
4914
4922
  name: c,
4915
- reload: n
4923
+ reload: a
4916
4924
  });
4917
- }, P = (W) => {
4918
- W.key === "Enter" && W.preventDefault();
4919
- }, U = (W) => {
4920
- W.preventDefault(), navigator.clipboard.readText().then((N) => {
4925
+ }, P = ($) => {
4926
+ $.key === "Enter" && $.preventDefault();
4927
+ }, q = ($) => {
4928
+ $.preventDefault(), navigator.clipboard.readText().then((N) => {
4921
4929
  if (j) {
4922
- let E = W.target.textContent.length;
4930
+ let E = $.target.textContent.length;
4923
4931
  if (E >= j) return;
4924
4932
  j -= E, N = N.slice(0, j);
4925
4933
  }
@@ -4930,34 +4938,34 @@ function Ca({
4930
4938
  );
4931
4939
  }).catch((N) => {
4932
4940
  });
4933
- }, I = (W) => {
4934
- 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 });
4935
4943
  };
4936
4944
  const L = {};
4937
4945
  L.field = "password", D && (L.show = ""), k && (L.className = k);
4938
- const K = {};
4939
- return d && (K.placeholder = d), l ? "" : /* @__PURE__ */ f.jsxs("dl", { ...L, children: [
4946
+ const M = {};
4947
+ return d && (M.placeholder = d), s ? "" : /* @__PURE__ */ f.jsxs("dl", { ...L, children: [
4940
4948
  C ? /* @__PURE__ */ f.jsx("dt", { children: C }) : "",
4941
4949
  /* @__PURE__ */ f.jsx(
4942
4950
  "dd",
4943
4951
  {
4944
- onPaste: U,
4945
- onInput: p,
4952
+ onPaste: q,
4953
+ onInput: y,
4946
4954
  onKeyDown: P,
4947
- onBlur: I,
4948
- contentEditable: s && y ? Z.ContentEditable : "false",
4949
- ...K,
4955
+ onBlur: A,
4956
+ contentEditable: l && p ? Z.ContentEditable : "false",
4957
+ ...M,
4950
4958
  suppressContentEditableWarning: !0,
4951
- children: a
4959
+ children: n
4952
4960
  }
4953
4961
  ),
4954
- F[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => O(!D), children: D ? F[1] : F[0] }),
4955
- q,
4962
+ F[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => T(!D), children: D ? F[1] : F[0] }),
4963
+ K,
4956
4964
  b ? /* @__PURE__ */ f.jsx("em", { children: b }) : ""
4957
4965
  ] });
4958
4966
  }
4959
- function ja({
4960
- onValue: a,
4967
+ function En({
4968
+ onValue: n,
4961
4969
  label: _,
4962
4970
  value: i,
4963
4971
  title: c,
@@ -4965,14 +4973,14 @@ function ja({
4965
4973
  name: k,
4966
4974
  text: C,
4967
4975
  id: b,
4968
- reload: s
4976
+ reload: l
4969
4977
  }) {
4970
- const [y, n] = R.useState(!!i);
4971
- R.useEffect(() => {
4972
- n(!!i);
4978
+ const [p, a] = S.useState(!!i);
4979
+ S.useEffect(() => {
4980
+ a(!!i);
4973
4981
  }, [i]);
4974
- let l = () => {
4975
- a && a({ value: y ? 0 : 1, name: k, id: b, reload: s }), n(!y);
4982
+ let s = () => {
4983
+ n && n({ value: p ? 0 : 1, name: k, id: b, reload: l }), a(!p);
4976
4984
  };
4977
4985
  return /* @__PURE__ */ f.jsxs(
4978
4986
  he,
@@ -4983,44 +4991,44 @@ function ja({
4983
4991
  element_input: {
4984
4992
  className: [Q.h],
4985
4993
  props: {
4986
- onClick: l
4994
+ onClick: s
4987
4995
  }
4988
4996
  },
4989
4997
  children: [
4990
- /* @__PURE__ */ f.jsx("div", { "aria-checked": `${y ? "true" : "false"}` }),
4998
+ /* @__PURE__ */ f.jsx("div", { "aria-checked": `${p ? "true" : "false"}` }),
4991
4999
  /* @__PURE__ */ f.jsx("span", { children: C })
4992
5000
  ]
4993
5001
  }
4994
5002
  );
4995
5003
  }
4996
- const se = {};
4997
- function Ea(a) {
4998
- const [_, i] = R.useState({}), c = R.useRef(a);
4999
- return se.u = (d) => {
5004
+ const le = {};
5005
+ function Sn(n) {
5006
+ const [_, i] = S.useState({}), c = S.useRef(n);
5007
+ return le.u = (d) => {
5000
5008
  c.current = { ...c.current, [d.name]: d.value };
5001
- }, se.n = (d) => {
5009
+ }, le.n = (d) => {
5002
5010
  c.current = d, i(Date.now());
5003
- }, se.r = (d) => {
5011
+ }, le.r = (d) => {
5004
5012
  d && d(c.current), i(Date.now());
5005
- }, [c.current, se.n];
5013
+ }, [c.current, le.n];
5006
5014
  }
5007
- function Sa(a) {
5008
- se.u(a), a.reload && se.r();
5015
+ function Rn(n) {
5016
+ le.u(n), n.reload && le.r();
5009
5017
  }
5010
- function Ra(a) {
5011
- se.r && se.r(a);
5018
+ function Tn(n) {
5019
+ le.r && le.r(n);
5012
5020
  }
5013
- function Ta(a) {
5014
- const [_, i] = R.useState({}), c = R.useRef(a);
5015
- return se.u = (d) => {
5021
+ function On(n) {
5022
+ const [_, i] = S.useState({}), c = S.useRef(n);
5023
+ return le.u = (d) => {
5016
5024
  c.current = { ...c.current, [d.name]: d.value };
5017
- }, se.n = (d) => {
5025
+ }, le.n = (d) => {
5018
5026
  Object.keys(d).length > 0 ? Object.keys(d).forEach((k) => {
5019
5027
  c.current[k] = d[k];
5020
5028
  }) : c.current = {}, i(Date.now());
5021
- }, se.r = () => {
5029
+ }, le.r = () => {
5022
5030
  i(Date.now());
5023
- }, [c.current, se.n];
5031
+ }, [c.current, le.n];
5024
5032
  }
5025
5033
  function Pt() {
5026
5034
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
@@ -5028,22 +5036,22 @@ function Pt() {
5028
5036
  Pt().elcrm || (Pt().elcrm = {});
5029
5037
  Object.assign(Pt().elcrm, { form: Yt.version });
5030
5038
  export {
5031
- ja as Check,
5032
- ya as DateField,
5033
- fa as Mask,
5034
- xa as ModalField,
5035
- pa as Money,
5036
- ma as Month,
5037
- ka as NumberField,
5038
- ba as OptionsField,
5039
- Ca as PasswordField,
5040
- ga as PhoneField,
5041
- da as Progress,
5042
- wa as SelectField,
5043
- ha as StringField,
5044
- va as TextareaField,
5045
- Ra as runReload,
5046
- Sa as setValue,
5047
- Ea as useData,
5048
- 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
5049
5057
  };