@elcrm/form 0.0.43 → 0.0.44

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 U, { forwardRef as Jt, useEffect as Zt } from "react";
1
+ import W, { forwardRef as Jt, useEffect as Zt } from "react";
2
2
  import { createPortal as Mt } from "react-dom";
3
- import './index.css';const Vt = "0.0.43", Xt = {
3
+ import './index.css';const Vt = "0.0.44", Xt = {
4
4
  version: Vt
5
5
  };
6
6
  var Tt = { exports: {} }, mt = {};
@@ -17,13 +17,13 @@ var $t;
17
17
  function Qt() {
18
18
  if ($t) return mt;
19
19
  $t = 1;
20
- var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function E(x, s, g) {
20
+ var a = W, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function E(x, s, h) {
22
22
  var o, u = {}, k = null, S = null;
23
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
23
+ h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
24
24
  for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (u[o] = s[o]);
25
25
  if (x && x.defaultProps) for (o in s = x.defaultProps, s) u[o] === void 0 && (u[o] = s[o]);
26
- return { $$typeof: _, type: x, key: k, ref: S, props: u, _owner: y.current };
26
+ return { $$typeof: _, type: x, key: k, ref: S, props: u, _owner: v.current };
27
27
  }
28
28
  return mt.Fragment = c, mt.jsx = E, mt.jsxs = E, mt;
29
29
  }
@@ -40,11 +40,11 @@ var yt = {};
40
40
  var At;
41
41
  function er() {
42
42
  return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
43
- var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), A = Symbol.iterator, L = "@@iterator";
43
+ var a = W, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), M = Symbol.iterator, U = "@@iterator";
44
44
  function P(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
- var t = A && e[A] || e[L];
47
+ var t = M && e[M] || e[U];
48
48
  return typeof t == "function" ? t : null;
49
49
  }
50
50
  var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -65,26 +65,26 @@ function er() {
65
65
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
66
66
  }
67
67
  }
68
- var I = !1, q = !1, N = !1, Y = !1, K = !1, M;
69
- M = Symbol.for("react.module.reference");
70
- function T(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || K || e === y || e === g || e === o || Y || e === S || I || q || N || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === u || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
68
+ var I = !1, K = !1, D = !1, Y = !1, q = !1, $;
69
+ $ = Symbol.for("react.module.reference");
70
+ function N(e) {
71
+ return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || q || e === v || e === h || e === o || Y || e === S || I || K || D || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === u || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
- e.$$typeof === M || e.getModuleId !== void 0));
75
+ e.$$typeof === $ || e.getModuleId !== void 0));
76
76
  }
77
- function W(e, t, r) {
77
+ function G(e, t, r) {
78
78
  var n = e.displayName;
79
79
  if (n)
80
80
  return n;
81
81
  var f = t.displayName || t.name || "";
82
82
  return f !== "" ? r + "(" + f + ")" : r;
83
83
  }
84
- function h(e) {
84
+ function b(e) {
85
85
  return e.displayName || "Context";
86
86
  }
87
- function b(e) {
87
+ function y(e) {
88
88
  if (e == null)
89
89
  return null;
90
90
  if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -98,9 +98,9 @@ function er() {
98
98
  return "Portal";
99
99
  case C:
100
100
  return "Profiler";
101
- case y:
101
+ case v:
102
102
  return "StrictMode";
103
- case g:
103
+ case h:
104
104
  return "Suspense";
105
105
  case o:
106
106
  return "SuspenseList";
@@ -109,19 +109,19 @@ function er() {
109
109
  switch (e.$$typeof) {
110
110
  case x:
111
111
  var t = e;
112
- return h(t) + ".Consumer";
112
+ return b(t) + ".Consumer";
113
113
  case E:
114
114
  var r = e;
115
- return h(r._context) + ".Provider";
115
+ return b(r._context) + ".Provider";
116
116
  case s:
117
- return W(e, e.render, "ForwardRef");
117
+ return G(e, e.render, "ForwardRef");
118
118
  case u:
119
119
  var n = e.displayName || null;
120
- return n !== null ? n : b(e.type) || "Memo";
120
+ return n !== null ? n : y(e.type) || "Memo";
121
121
  case k: {
122
122
  var f = e, m = f._payload, l = f._init;
123
123
  try {
124
- return b(l(m));
124
+ return y(l(m));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,14 +129,14 @@ function er() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var $ = Object.assign, G = 0, X, oe, se, ve, ge, be, ke;
132
+ var A = Object.assign, L = 0, se, V, oe, ge, le, be, ke;
133
133
  function we() {
134
134
  }
135
135
  we.__reactDisabledLog = !0;
136
136
  function We() {
137
137
  {
138
- if (G === 0) {
139
- X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
138
+ if (L === 0) {
139
+ se = console.log, V = console.info, oe = console.warn, ge = console.error, le = console.group, be = console.groupCollapsed, ke = console.groupEnd;
140
140
  var e = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
@@ -153,65 +153,65 @@ function er() {
153
153
  groupEnd: e
154
154
  });
155
155
  }
156
- G++;
156
+ L++;
157
157
  }
158
158
  }
159
159
  function Ue() {
160
160
  {
161
- if (G--, G === 0) {
161
+ if (L--, L === 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: $({}, e, {
169
- value: X
170
- }),
171
- info: $({}, e, {
172
- value: oe
173
- }),
174
- warn: $({}, e, {
168
+ log: A({}, e, {
175
169
  value: se
176
170
  }),
177
- error: $({}, e, {
178
- value: ve
171
+ info: A({}, e, {
172
+ value: V
173
+ }),
174
+ warn: A({}, e, {
175
+ value: oe
179
176
  }),
180
- group: $({}, e, {
177
+ error: A({}, e, {
181
178
  value: ge
182
179
  }),
183
- groupCollapsed: $({}, e, {
180
+ group: A({}, e, {
181
+ value: le
182
+ }),
183
+ groupCollapsed: A({}, e, {
184
184
  value: be
185
185
  }),
186
- groupEnd: $({}, e, {
186
+ groupEnd: A({}, e, {
187
187
  value: ke
188
188
  })
189
189
  });
190
190
  }
191
- G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ L < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var le = R.ReactCurrentDispatcher, ce;
194
+ var ce = R.ReactCurrentDispatcher, ue;
195
195
  function te(e, t, r) {
196
196
  {
197
- if (ce === void 0)
197
+ if (ue === void 0)
198
198
  try {
199
199
  throw Error();
200
200
  } catch (f) {
201
201
  var n = f.stack.trim().match(/\n( *(at )?)/);
202
- ce = n && n[1] || "";
202
+ ue = n && n[1] || "";
203
203
  }
204
204
  return `
205
- ` + ce + e;
205
+ ` + ue + e;
206
206
  }
207
207
  }
208
- var ue = !1, re;
208
+ var de = !1, re;
209
209
  {
210
210
  var qe = typeof WeakMap == "function" ? WeakMap : Map;
211
211
  re = new qe();
212
212
  }
213
213
  function je(e, t) {
214
- if (!e || ue)
214
+ if (!e || de)
215
215
  return "";
216
216
  {
217
217
  var r = re.get(e);
@@ -219,11 +219,11 @@ function er() {
219
219
  return r;
220
220
  }
221
221
  var n;
222
- ue = !0;
222
+ de = !0;
223
223
  var f = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
225
  var m;
226
- m = le.current, le.current = null, We();
226
+ m = ce.current, ce.current = null, We();
227
227
  try {
228
228
  if (t) {
229
229
  var l = function() {
@@ -236,29 +236,29 @@ function er() {
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
238
  Reflect.construct(l, []);
239
- } catch (D) {
240
- n = D;
239
+ } catch (T) {
240
+ n = T;
241
241
  }
242
242
  Reflect.construct(e, [], l);
243
243
  } else {
244
244
  try {
245
245
  l.call();
246
- } catch (D) {
247
- n = D;
246
+ } catch (T) {
247
+ n = T;
248
248
  }
249
249
  e.call(l.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
- } catch (D) {
255
- n = D;
254
+ } catch (T) {
255
+ n = T;
256
256
  }
257
257
  e();
258
258
  }
259
- } catch (D) {
260
- if (D && n && typeof D.stack == "string") {
261
- for (var i = D.stack.split(`
259
+ } catch (T) {
260
+ if (T && n && typeof T.stack == "string") {
261
+ for (var i = T.stack.split(`
262
262
  `), O = n.stack.split(`
263
263
  `), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
264
264
  j--;
@@ -276,7 +276,7 @@ function er() {
276
276
  }
277
277
  }
278
278
  } finally {
279
- ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
279
+ de = !1, ce.current = m, Ue(), Error.prepareStackTrace = f;
280
280
  }
281
281
  var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
282
282
  return typeof e == "function" && re.set(e, z), z;
@@ -296,7 +296,7 @@ function er() {
296
296
  if (typeof e == "string")
297
297
  return te(e);
298
298
  switch (e) {
299
- case g:
299
+ case h:
300
300
  return te("Suspense");
301
301
  case o:
302
302
  return te("SuspenseList");
@@ -317,7 +317,7 @@ function er() {
317
317
  }
318
318
  return "";
319
319
  }
320
- var V = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
320
+ var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
321
321
  function ne(e) {
322
322
  if (e) {
323
323
  var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
@@ -327,7 +327,7 @@ function er() {
327
327
  }
328
328
  function Ge(e, t, r, n, f) {
329
329
  {
330
- var m = Function.call.bind(V);
330
+ var m = Function.call.bind(X);
331
331
  for (var l in e)
332
332
  if (m(e, l)) {
333
333
  var i = void 0;
@@ -345,7 +345,7 @@ function er() {
345
345
  }
346
346
  }
347
347
  var ze = Array.isArray;
348
- function de(e) {
348
+ function fe(e) {
349
349
  return ze(e);
350
350
  }
351
351
  function He(e) {
@@ -375,7 +375,7 @@ function er() {
375
375
  __source: !0
376
376
  }, Oe, Te;
377
377
  function Ve(e) {
378
- if (V.call(e, "ref")) {
378
+ if (X.call(e, "ref")) {
379
379
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
380
380
  if (t && t.isReactWarning)
381
381
  return !1;
@@ -383,7 +383,7 @@ function er() {
383
383
  return e.ref !== void 0;
384
384
  }
385
385
  function Xe(e) {
386
- if (V.call(e, "key")) {
386
+ if (X.call(e, "key")) {
387
387
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
388
388
  if (t && t.isReactWarning)
389
389
  return !1;
@@ -449,7 +449,7 @@ function er() {
449
449
  var m, l = {}, i = null, O = null;
450
450
  r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t, f));
451
451
  for (m in t)
452
- V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
452
+ X.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
453
453
  if (e && e.defaultProps) {
454
454
  var w = e.defaultProps;
455
455
  for (m in w)
@@ -462,7 +462,7 @@ function er() {
462
462
  return rt(e, i, O, f, n, Ee.current, l);
463
463
  }
464
464
  }
465
- var fe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
465
+ var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
466
466
  function J(e) {
467
467
  if (e) {
468
468
  var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
@@ -470,15 +470,15 @@ function er() {
470
470
  } else
471
471
  De.setExtraStackFrame(null);
472
472
  }
473
- var pe;
474
- pe = !1;
475
- function me(e) {
473
+ var me;
474
+ me = !1;
475
+ function ye(e) {
476
476
  return typeof e == "object" && e !== null && e.$$typeof === _;
477
477
  }
478
478
  function Pe() {
479
479
  {
480
- if (fe.current) {
481
- var e = b(fe.current.type);
480
+ if (pe.current) {
481
+ var e = y(pe.current.type);
482
482
  if (e)
483
483
  return `
484
484
 
@@ -513,25 +513,25 @@ Check the top-level render call using <` + r + ">.");
513
513
  return;
514
514
  Ne[r] = !0;
515
515
  var n = "";
516
- e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
516
+ e && e._owner && e._owner !== pe.current && (n = " It was passed a child from " + y(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
517
517
  }
518
518
  }
519
519
  function Ie(e, t) {
520
520
  {
521
521
  if (typeof e != "object")
522
522
  return;
523
- if (de(e))
523
+ if (fe(e))
524
524
  for (var r = 0; r < e.length; r++) {
525
525
  var n = e[r];
526
- me(n) && Fe(n, t);
526
+ ye(n) && Fe(n, t);
527
527
  }
528
- else if (me(e))
528
+ else if (ye(e))
529
529
  e._store && (e._store.validated = !0);
530
530
  else if (e) {
531
531
  var f = P(e);
532
532
  if (typeof f == "function" && f !== e.entries)
533
533
  for (var m = f.call(e), l; !(l = m.next()).done; )
534
- me(l.value) && Fe(l.value, t);
534
+ ye(l.value) && Fe(l.value, t);
535
535
  }
536
536
  }
537
537
  }
@@ -550,11 +550,11 @@ Check the top-level render call using <` + r + ">.");
550
550
  else
551
551
  return;
552
552
  if (r) {
553
- var n = b(t);
553
+ var n = y(t);
554
554
  Ge(r, e.props, "prop", n, e);
555
- } else if (t.PropTypes !== void 0 && !pe) {
556
- pe = !0;
557
- var f = b(t);
555
+ } else if (t.PropTypes !== void 0 && !me) {
556
+ me = !0;
557
+ var f = y(t);
558
558
  p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
559
559
  }
560
560
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -575,14 +575,14 @@ Check the top-level render call using <` + r + ">.");
575
575
  var Me = {};
576
576
  function $e(e, t, r, n, f, m) {
577
577
  {
578
- var l = T(e);
578
+ var l = N(e);
579
579
  if (!l) {
580
580
  var i = "";
581
581
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " 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
582
  var O = nt();
583
583
  O ? i += O : i += Pe();
584
584
  var w;
585
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (b(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
585
+ e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (y(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
586
586
  }
587
587
  var j = at(e, t, r, f, m);
588
588
  if (j == null)
@@ -591,7 +591,7 @@ Check the top-level render call using <` + r + ">.");
591
591
  var B = t.children;
592
592
  if (B !== void 0)
593
593
  if (n)
594
- if (de(B)) {
594
+ if (fe(B)) {
595
595
  for (var Z = 0; Z < B.length; Z++)
596
596
  Ie(B[Z], e);
597
597
  Object.freeze && Object.freeze(B);
@@ -600,18 +600,18 @@ Check the top-level render call using <` + r + ">.");
600
600
  else
601
601
  Ie(B, e);
602
602
  }
603
- if (V.call(t, "key")) {
604
- var z = b(e), D = Object.keys(t).filter(function(ft) {
603
+ if (X.call(t, "key")) {
604
+ var z = y(e), T = Object.keys(t).filter(function(ft) {
605
605
  return ft !== "key";
606
- }), ye = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!Me[z + ye]) {
608
- var dt = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
606
+ }), ve = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
607
+ if (!Me[z + ve]) {
608
+ var dt = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
609
609
  p(`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:
613
613
  let props = %s;
614
- <%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
614
+ <%s key={someKey} {...props} />`, ve, z, dt, z), Me[z + ve] = !0;
615
615
  }
616
616
  }
617
617
  return e === d ? it(j) : _t(j), j;
@@ -628,14 +628,14 @@ React keys must be passed directly to JSX without using spread:
628
628
  }()), yt;
629
629
  }
630
630
  process.env.NODE_ENV === "production" ? Tt.exports = Qt() : Tt.exports = er();
631
- var v = Tt.exports;
632
- function ba({ name: a, value: _, title: c, style: d, className: y }) {
631
+ var g = Tt.exports;
632
+ function ba({ name: a, value: _, title: c, style: d, className: v }) {
633
633
  let C = {
634
634
  field: "progress"
635
635
  };
636
- return d && (C.style = d), y && (C.className = y), /* @__PURE__ */ v.jsxs("dl", { ...C, children: [
637
- c && /* @__PURE__ */ v.jsx("dt", { children: c }),
638
- /* @__PURE__ */ v.jsx("dd", {})
636
+ return d && (C.style = d), v && (C.className = v), /* @__PURE__ */ g.jsxs("dl", { ...C, children: [
637
+ c && /* @__PURE__ */ g.jsx("dt", { children: c }),
638
+ /* @__PURE__ */ g.jsx("dd", {})
639
639
  ] });
640
640
  }
641
641
  const tr = "_l_qo8dp_12", rr = "_f_qo8dp_36", ar = "_n_qo8dp_54", nr = "_w_qo8dp_60", or = "_t_qo8dp_70", _r = "_g_qo8dp_75", ir = "_h_qo8dp_79", _e = {
@@ -693,13 +693,13 @@ var Bt;
693
693
  function sr() {
694
694
  if (Bt) return vt;
695
695
  Bt = 1;
696
- var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
697
- function E(x, s, g) {
696
+ var a = W, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
697
+ function E(x, s, h) {
698
698
  var o, u = {}, k = null, S = null;
699
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
699
+ h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
700
700
  for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (u[o] = s[o]);
701
701
  if (x && x.defaultProps) for (o in s = x.defaultProps, s) u[o] === void 0 && (u[o] = s[o]);
702
- return { $$typeof: _, type: x, key: k, ref: S, props: u, _owner: y.current };
702
+ return { $$typeof: _, type: x, key: k, ref: S, props: u, _owner: v.current };
703
703
  }
704
704
  return vt.Fragment = c, vt.jsx = E, vt.jsxs = E, vt;
705
705
  }
@@ -716,11 +716,11 @@ var kt = {};
716
716
  var Lt;
717
717
  function lr() {
718
718
  return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
719
- var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), A = Symbol.iterator, L = "@@iterator";
719
+ var a = W, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), M = Symbol.iterator, U = "@@iterator";
720
720
  function P(e) {
721
721
  if (e === null || typeof e != "object")
722
722
  return null;
723
- var t = A && e[A] || e[L];
723
+ var t = M && e[M] || e[U];
724
724
  return typeof t == "function" ? t : null;
725
725
  }
726
726
  var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -741,26 +741,26 @@ function lr() {
741
741
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
742
742
  }
743
743
  }
744
- var I = !1, q = !1, N = !1, Y = !1, K = !1, M;
745
- M = Symbol.for("react.module.reference");
746
- function T(e) {
747
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || K || e === y || e === g || e === o || Y || e === S || I || q || N || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === u || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
744
+ var I = !1, K = !1, D = !1, Y = !1, q = !1, $;
745
+ $ = Symbol.for("react.module.reference");
746
+ function N(e) {
747
+ return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || q || e === v || e === h || e === o || Y || e === S || I || K || D || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === u || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
748
748
  // types supported by any Flight configuration anywhere since
749
749
  // we don't know which Flight build this will end up being used
750
750
  // with.
751
- e.$$typeof === M || e.getModuleId !== void 0));
751
+ e.$$typeof === $ || e.getModuleId !== void 0));
752
752
  }
753
- function W(e, t, r) {
753
+ function G(e, t, r) {
754
754
  var n = e.displayName;
755
755
  if (n)
756
756
  return n;
757
757
  var f = t.displayName || t.name || "";
758
758
  return f !== "" ? r + "(" + f + ")" : r;
759
759
  }
760
- function h(e) {
760
+ function b(e) {
761
761
  return e.displayName || "Context";
762
762
  }
763
- function b(e) {
763
+ function y(e) {
764
764
  if (e == null)
765
765
  return null;
766
766
  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")
@@ -774,9 +774,9 @@ function lr() {
774
774
  return "Portal";
775
775
  case C:
776
776
  return "Profiler";
777
- case y:
777
+ case v:
778
778
  return "StrictMode";
779
- case g:
779
+ case h:
780
780
  return "Suspense";
781
781
  case o:
782
782
  return "SuspenseList";
@@ -785,19 +785,19 @@ function lr() {
785
785
  switch (e.$$typeof) {
786
786
  case x:
787
787
  var t = e;
788
- return h(t) + ".Consumer";
788
+ return b(t) + ".Consumer";
789
789
  case E:
790
790
  var r = e;
791
- return h(r._context) + ".Provider";
791
+ return b(r._context) + ".Provider";
792
792
  case s:
793
- return W(e, e.render, "ForwardRef");
793
+ return G(e, e.render, "ForwardRef");
794
794
  case u:
795
795
  var n = e.displayName || null;
796
- return n !== null ? n : b(e.type) || "Memo";
796
+ return n !== null ? n : y(e.type) || "Memo";
797
797
  case k: {
798
798
  var f = e, m = f._payload, l = f._init;
799
799
  try {
800
- return b(l(m));
800
+ return y(l(m));
801
801
  } catch {
802
802
  return null;
803
803
  }
@@ -805,14 +805,14 @@ function lr() {
805
805
  }
806
806
  return null;
807
807
  }
808
- var $ = Object.assign, G = 0, X, oe, se, ve, ge, be, ke;
808
+ var A = Object.assign, L = 0, se, V, oe, ge, le, be, ke;
809
809
  function we() {
810
810
  }
811
811
  we.__reactDisabledLog = !0;
812
812
  function We() {
813
813
  {
814
- if (G === 0) {
815
- X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
814
+ if (L === 0) {
815
+ se = console.log, V = console.info, oe = console.warn, ge = console.error, le = console.group, be = console.groupCollapsed, ke = console.groupEnd;
816
816
  var e = {
817
817
  configurable: !0,
818
818
  enumerable: !0,
@@ -829,65 +829,65 @@ function lr() {
829
829
  groupEnd: e
830
830
  });
831
831
  }
832
- G++;
832
+ L++;
833
833
  }
834
834
  }
835
835
  function Ue() {
836
836
  {
837
- if (G--, G === 0) {
837
+ if (L--, L === 0) {
838
838
  var e = {
839
839
  configurable: !0,
840
840
  enumerable: !0,
841
841
  writable: !0
842
842
  };
843
843
  Object.defineProperties(console, {
844
- log: $({}, e, {
845
- value: X
846
- }),
847
- info: $({}, e, {
848
- value: oe
849
- }),
850
- warn: $({}, e, {
844
+ log: A({}, e, {
851
845
  value: se
852
846
  }),
853
- error: $({}, e, {
854
- value: ve
847
+ info: A({}, e, {
848
+ value: V
849
+ }),
850
+ warn: A({}, e, {
851
+ value: oe
855
852
  }),
856
- group: $({}, e, {
853
+ error: A({}, e, {
857
854
  value: ge
858
855
  }),
859
- groupCollapsed: $({}, e, {
856
+ group: A({}, e, {
857
+ value: le
858
+ }),
859
+ groupCollapsed: A({}, e, {
860
860
  value: be
861
861
  }),
862
- groupEnd: $({}, e, {
862
+ groupEnd: A({}, e, {
863
863
  value: ke
864
864
  })
865
865
  });
866
866
  }
867
- G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
867
+ L < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
868
868
  }
869
869
  }
870
- var le = R.ReactCurrentDispatcher, ce;
870
+ var ce = R.ReactCurrentDispatcher, ue;
871
871
  function te(e, t, r) {
872
872
  {
873
- if (ce === void 0)
873
+ if (ue === void 0)
874
874
  try {
875
875
  throw Error();
876
876
  } catch (f) {
877
877
  var n = f.stack.trim().match(/\n( *(at )?)/);
878
- ce = n && n[1] || "";
878
+ ue = n && n[1] || "";
879
879
  }
880
880
  return `
881
- ` + ce + e;
881
+ ` + ue + e;
882
882
  }
883
883
  }
884
- var ue = !1, re;
884
+ var de = !1, re;
885
885
  {
886
886
  var qe = typeof WeakMap == "function" ? WeakMap : Map;
887
887
  re = new qe();
888
888
  }
889
889
  function je(e, t) {
890
- if (!e || ue)
890
+ if (!e || de)
891
891
  return "";
892
892
  {
893
893
  var r = re.get(e);
@@ -895,11 +895,11 @@ function lr() {
895
895
  return r;
896
896
  }
897
897
  var n;
898
- ue = !0;
898
+ de = !0;
899
899
  var f = Error.prepareStackTrace;
900
900
  Error.prepareStackTrace = void 0;
901
901
  var m;
902
- m = le.current, le.current = null, We();
902
+ m = ce.current, ce.current = null, We();
903
903
  try {
904
904
  if (t) {
905
905
  var l = function() {
@@ -912,29 +912,29 @@ function lr() {
912
912
  }), typeof Reflect == "object" && Reflect.construct) {
913
913
  try {
914
914
  Reflect.construct(l, []);
915
- } catch (D) {
916
- n = D;
915
+ } catch (T) {
916
+ n = T;
917
917
  }
918
918
  Reflect.construct(e, [], l);
919
919
  } else {
920
920
  try {
921
921
  l.call();
922
- } catch (D) {
923
- n = D;
922
+ } catch (T) {
923
+ n = T;
924
924
  }
925
925
  e.call(l.prototype);
926
926
  }
927
927
  } else {
928
928
  try {
929
929
  throw Error();
930
- } catch (D) {
931
- n = D;
930
+ } catch (T) {
931
+ n = T;
932
932
  }
933
933
  e();
934
934
  }
935
- } catch (D) {
936
- if (D && n && typeof D.stack == "string") {
937
- for (var i = D.stack.split(`
935
+ } catch (T) {
936
+ if (T && n && typeof T.stack == "string") {
937
+ for (var i = T.stack.split(`
938
938
  `), O = n.stack.split(`
939
939
  `), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
940
940
  j--;
@@ -952,7 +952,7 @@ function lr() {
952
952
  }
953
953
  }
954
954
  } finally {
955
- ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
955
+ de = !1, ce.current = m, Ue(), Error.prepareStackTrace = f;
956
956
  }
957
957
  var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
958
958
  return typeof e == "function" && re.set(e, z), z;
@@ -972,7 +972,7 @@ function lr() {
972
972
  if (typeof e == "string")
973
973
  return te(e);
974
974
  switch (e) {
975
- case g:
975
+ case h:
976
976
  return te("Suspense");
977
977
  case o:
978
978
  return te("SuspenseList");
@@ -993,7 +993,7 @@ function lr() {
993
993
  }
994
994
  return "";
995
995
  }
996
- var V = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
996
+ var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
997
997
  function ne(e) {
998
998
  if (e) {
999
999
  var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
@@ -1003,7 +1003,7 @@ function lr() {
1003
1003
  }
1004
1004
  function Ge(e, t, r, n, f) {
1005
1005
  {
1006
- var m = Function.call.bind(V);
1006
+ var m = Function.call.bind(X);
1007
1007
  for (var l in e)
1008
1008
  if (m(e, l)) {
1009
1009
  var i = void 0;
@@ -1021,7 +1021,7 @@ function lr() {
1021
1021
  }
1022
1022
  }
1023
1023
  var ze = Array.isArray;
1024
- function de(e) {
1024
+ function fe(e) {
1025
1025
  return ze(e);
1026
1026
  }
1027
1027
  function He(e) {
@@ -1051,7 +1051,7 @@ function lr() {
1051
1051
  __source: !0
1052
1052
  }, Oe, Te;
1053
1053
  function Ve(e) {
1054
- if (V.call(e, "ref")) {
1054
+ if (X.call(e, "ref")) {
1055
1055
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
1056
1056
  if (t && t.isReactWarning)
1057
1057
  return !1;
@@ -1059,7 +1059,7 @@ function lr() {
1059
1059
  return e.ref !== void 0;
1060
1060
  }
1061
1061
  function Xe(e) {
1062
- if (V.call(e, "key")) {
1062
+ if (X.call(e, "key")) {
1063
1063
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
1064
1064
  if (t && t.isReactWarning)
1065
1065
  return !1;
@@ -1125,7 +1125,7 @@ function lr() {
1125
1125
  var m, l = {}, i = null, O = null;
1126
1126
  r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t));
1127
1127
  for (m in t)
1128
- V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
1128
+ X.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
1129
1129
  if (e && e.defaultProps) {
1130
1130
  var w = e.defaultProps;
1131
1131
  for (m in w)
@@ -1138,7 +1138,7 @@ function lr() {
1138
1138
  return rt(e, i, O, f, n, Ee.current, l);
1139
1139
  }
1140
1140
  }
1141
- var fe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
1141
+ var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
1142
1142
  function J(e) {
1143
1143
  if (e) {
1144
1144
  var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
@@ -1146,15 +1146,15 @@ function lr() {
1146
1146
  } else
1147
1147
  De.setExtraStackFrame(null);
1148
1148
  }
1149
- var pe;
1150
- pe = !1;
1151
- function me(e) {
1149
+ var me;
1150
+ me = !1;
1151
+ function ye(e) {
1152
1152
  return typeof e == "object" && e !== null && e.$$typeof === _;
1153
1153
  }
1154
1154
  function Pe() {
1155
1155
  {
1156
- if (fe.current) {
1157
- var e = b(fe.current.type);
1156
+ if (pe.current) {
1157
+ var e = y(pe.current.type);
1158
1158
  if (e)
1159
1159
  return `
1160
1160
 
@@ -1189,25 +1189,25 @@ Check the top-level render call using <` + r + ">.");
1189
1189
  return;
1190
1190
  Ne[r] = !0;
1191
1191
  var n = "";
1192
- e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
1192
+ e && e._owner && e._owner !== pe.current && (n = " It was passed a child from " + y(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
1193
1193
  }
1194
1194
  }
1195
1195
  function Ie(e, t) {
1196
1196
  {
1197
1197
  if (typeof e != "object")
1198
1198
  return;
1199
- if (de(e))
1199
+ if (fe(e))
1200
1200
  for (var r = 0; r < e.length; r++) {
1201
1201
  var n = e[r];
1202
- me(n) && Fe(n, t);
1202
+ ye(n) && Fe(n, t);
1203
1203
  }
1204
- else if (me(e))
1204
+ else if (ye(e))
1205
1205
  e._store && (e._store.validated = !0);
1206
1206
  else if (e) {
1207
1207
  var f = P(e);
1208
1208
  if (typeof f == "function" && f !== e.entries)
1209
1209
  for (var m = f.call(e), l; !(l = m.next()).done; )
1210
- me(l.value) && Fe(l.value, t);
1210
+ ye(l.value) && Fe(l.value, t);
1211
1211
  }
1212
1212
  }
1213
1213
  }
@@ -1226,11 +1226,11 @@ Check the top-level render call using <` + r + ">.");
1226
1226
  else
1227
1227
  return;
1228
1228
  if (r) {
1229
- var n = b(t);
1229
+ var n = y(t);
1230
1230
  Ge(r, e.props, "prop", n, e);
1231
- } else if (t.PropTypes !== void 0 && !pe) {
1232
- pe = !0;
1233
- var f = b(t);
1231
+ } else if (t.PropTypes !== void 0 && !me) {
1232
+ me = !0;
1233
+ var f = y(t);
1234
1234
  p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
1235
1235
  }
1236
1236
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -1251,14 +1251,14 @@ Check the top-level render call using <` + r + ">.");
1251
1251
  var Me = {};
1252
1252
  function $e(e, t, r, n, f, m) {
1253
1253
  {
1254
- var l = T(e);
1254
+ var l = N(e);
1255
1255
  if (!l) {
1256
1256
  var i = "";
1257
1257
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1258
1258
  var O = nt();
1259
1259
  O ? i += O : i += Pe();
1260
1260
  var w;
1261
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (b(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
1261
+ e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (y(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
1262
1262
  }
1263
1263
  var j = at(e, t, r, f, m);
1264
1264
  if (j == null)
@@ -1267,7 +1267,7 @@ Check the top-level render call using <` + r + ">.");
1267
1267
  var B = t.children;
1268
1268
  if (B !== void 0)
1269
1269
  if (n)
1270
- if (de(B)) {
1270
+ if (fe(B)) {
1271
1271
  for (var Z = 0; Z < B.length; Z++)
1272
1272
  Ie(B[Z], e);
1273
1273
  Object.freeze && Object.freeze(B);
@@ -1276,18 +1276,18 @@ Check the top-level render call using <` + r + ">.");
1276
1276
  else
1277
1277
  Ie(B, e);
1278
1278
  }
1279
- if (V.call(t, "key")) {
1280
- var z = b(e), D = Object.keys(t).filter(function(ft) {
1279
+ if (X.call(t, "key")) {
1280
+ var z = y(e), T = Object.keys(t).filter(function(ft) {
1281
1281
  return ft !== "key";
1282
- }), ye = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
1283
- if (!Me[z + ye]) {
1284
- var dt = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
1282
+ }), ve = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
1283
+ if (!Me[z + ve]) {
1284
+ var dt = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
1285
1285
  p(`A props object containing a "key" prop is being spread into JSX:
1286
1286
  let props = %s;
1287
1287
  <%s {...props} />
1288
1288
  React keys must be passed directly to JSX without using spread:
1289
1289
  let props = %s;
1290
- <%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
1290
+ <%s key={someKey} {...props} />`, ve, z, dt, z), Me[z + ve] = !0;
1291
1291
  }
1292
1292
  }
1293
1293
  return e === d ? it(j) : _t(j), j;
@@ -1316,41 +1316,41 @@ const cr = "_notice_13j98_2", ur = "_error_13j98_11", dr = "_success_13j98_14",
1316
1316
  };
1317
1317
  let Le = {};
1318
1318
  function gt({ data: a }) {
1319
- let [_, c] = U.useState("show");
1320
- U.useEffect(() => {
1319
+ let [_, c] = W.useState("show");
1320
+ W.useEffect(() => {
1321
1321
  a.hide && (setTimeout(function() {
1322
1322
  c("hide");
1323
1323
  }, 1800), setTimeout(function() {
1324
1324
  Le.del(a.key);
1325
1325
  }, 2500));
1326
1326
  }, [a.key]);
1327
- let d, y;
1327
+ let d, v;
1328
1328
  switch (a.type) {
1329
1329
  case "error":
1330
- d = /* @__PURE__ */ Q.jsx(pt.error, {}), y = "Ошибка:";
1330
+ d = /* @__PURE__ */ Q.jsx(pt.error, {}), v = "Ошибка:";
1331
1331
  break;
1332
1332
  case "success":
1333
- d = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Информация:";
1333
+ d = /* @__PURE__ */ Q.jsx(pt.success, {}), v = "Информация:";
1334
1334
  break;
1335
1335
  case "copy":
1336
- d = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Копирование:";
1336
+ d = /* @__PURE__ */ Q.jsx(pt.success, {}), v = "Копирование:";
1337
1337
  break;
1338
1338
  case "remark":
1339
- d = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Подсказка:";
1339
+ d = /* @__PURE__ */ Q.jsx(pt.success, {}), v = "Подсказка:";
1340
1340
  break;
1341
1341
  default:
1342
- d = /* @__PURE__ */ Q.jsx(pt.success, {}), y = "Предупреждение:";
1342
+ d = /* @__PURE__ */ Q.jsx(pt.success, {}), v = "Предупреждение:";
1343
1343
  break;
1344
1344
  }
1345
1345
  return /* @__PURE__ */ Q.jsxs("li", { className: Ht[a.type], "data-status": _, children: [
1346
1346
  d,
1347
- /* @__PURE__ */ Q.jsx("b", { children: y }),
1347
+ /* @__PURE__ */ Q.jsx("b", { children: v }),
1348
1348
  /* @__PURE__ */ Q.jsx("p", { children: a.text })
1349
1349
  ] });
1350
1350
  }
1351
1351
  function mr({ data: a }) {
1352
- let [_, c] = U.useState("show");
1353
- return U.useEffect(() => {
1352
+ let [_, c] = W.useState("show");
1353
+ return W.useEffect(() => {
1354
1354
  a.hide && (setTimeout(function() {
1355
1355
  c("hide");
1356
1356
  }, 1800), setTimeout(function() {
@@ -1394,53 +1394,53 @@ pt.success = () => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "0 0 24 24", fill: "
1394
1394
  var Ct;
1395
1395
  ((a) => {
1396
1396
  function _() {
1397
- let [s, g] = U.useState([]);
1397
+ let [s, h] = W.useState([]);
1398
1398
  return Le.set = (o) => {
1399
- g([...s, o]);
1399
+ h([...s, o]);
1400
1400
  }, Le.del = (o) => {
1401
- g(s.filter((u) => u.key !== o));
1401
+ h(s.filter((u) => u.key !== o));
1402
1402
  }, s.length === 0 ? "" : /* @__PURE__ */ Q.jsx("ul", { className: Ht.notice, children: s.map((o) => o.item) });
1403
1403
  }
1404
1404
  a.Init = _;
1405
- function c(s, g = !0) {
1406
- let o = Date.now(), u = { key: o, text: s, hide: g, type: "error" };
1405
+ function c(s, h = !0) {
1406
+ let o = Date.now(), u = { key: o, text: s, hide: h, type: "error" };
1407
1407
  Le.set({
1408
1408
  item: /* @__PURE__ */ Q.jsx(gt, { data: u }, o),
1409
1409
  key: o
1410
1410
  });
1411
1411
  }
1412
1412
  a.Error = c;
1413
- function d(s, g = !0) {
1414
- let o = Date.now(), u = { key: o, text: s, hide: g, type: "success" };
1413
+ function d(s, h = !0) {
1414
+ let o = Date.now(), u = { key: o, text: s, hide: h, type: "success" };
1415
1415
  Le.set({
1416
1416
  item: /* @__PURE__ */ Q.jsx(gt, { data: u }, o),
1417
1417
  key: o
1418
1418
  });
1419
1419
  }
1420
1420
  a.Success = d;
1421
- function y(s, g = !0) {
1422
- let o = Date.now(), u = { key: o, hide: g, text: s };
1421
+ function v(s, h = !0) {
1422
+ let o = Date.now(), u = { key: o, hide: h, text: s };
1423
1423
  Le.set({ item: /* @__PURE__ */ Q.jsx(mr, { data: u }, o), key: o });
1424
1424
  }
1425
- a.Custom = y;
1425
+ a.Custom = v;
1426
1426
  function C(s) {
1427
- let g = Date.now(), o = { key: g, hide: !0, ...s };
1427
+ let h = Date.now(), o = { key: h, hide: !0, ...s };
1428
1428
  Le.set({
1429
- item: /* @__PURE__ */ Q.jsx(gt, { data: o }, g),
1430
- key: g
1429
+ item: /* @__PURE__ */ Q.jsx(gt, { data: o }, h),
1430
+ key: h
1431
1431
  });
1432
1432
  }
1433
1433
  a.Send = C;
1434
- function E(s, g = !0) {
1435
- let o = Date.now(), u = { key: o, text: s, hide: g, type: "remark" };
1434
+ function E(s, h = !0) {
1435
+ let o = Date.now(), u = { key: o, text: s, hide: h, type: "remark" };
1436
1436
  Le.set({
1437
1437
  item: /* @__PURE__ */ Q.jsx(gt, { data: u }, o),
1438
1438
  key: o
1439
1439
  });
1440
1440
  }
1441
1441
  a.Remark = E;
1442
- function x(s, g = !0) {
1443
- let o = Date.now(), u = { key: o, text: s, hide: g, type: "copy" };
1442
+ function x(s, h = !0) {
1443
+ let o = Date.now(), u = { key: o, text: s, hide: h, type: "copy" };
1444
1444
  Le.set({
1445
1445
  item: /* @__PURE__ */ Q.jsx(gt, { data: u }, o),
1446
1446
  key: o
@@ -1454,19 +1454,19 @@ const Be = Jt(
1454
1454
  element_input: _,
1455
1455
  type: c = "input",
1456
1456
  title: d,
1457
- before: y,
1457
+ before: v,
1458
1458
  after: C,
1459
1459
  children: E
1460
- }, x) => /* @__PURE__ */ v.jsxs(
1460
+ }, x) => /* @__PURE__ */ g.jsxs(
1461
1461
  "dl",
1462
1462
  {
1463
1463
  "data-field": c,
1464
1464
  ..._.props,
1465
1465
  className: [_e.l, ...a.className].filter((s) => s !== void 0).join(" "),
1466
1466
  children: [
1467
- d ? /* @__PURE__ */ v.jsx("dt", { className: _e.t, children: d }) : "",
1468
- y,
1469
- /* @__PURE__ */ v.jsx(
1467
+ d ? /* @__PURE__ */ g.jsx("dt", { className: _e.t, children: d }) : "",
1468
+ v,
1469
+ /* @__PURE__ */ g.jsx(
1470
1470
  "dd",
1471
1471
  {
1472
1472
  ref: x,
@@ -1487,76 +1487,76 @@ function ka({
1487
1487
  onValue: _,
1488
1488
  onSave: c,
1489
1489
  name: d,
1490
- format: y = "+_(___) ___-__-__",
1490
+ format: v = "+_(___) ___-__-__",
1491
1491
  placeholder: C = "",
1492
1492
  title: E = "",
1493
1493
  error: x = "",
1494
1494
  hide: s = !1,
1495
- edit: g = !0,
1495
+ edit: h = !0,
1496
1496
  active: o = !0,
1497
1497
  after: u = "",
1498
1498
  show: k = !0,
1499
1499
  view: S,
1500
- className: A = ""
1500
+ className: M = ""
1501
1501
  }) {
1502
- g = g !== void 0 ? g : !0, o = o !== void 0 ? o : !0, s = !!(s && (a === "" || a === void 0)) && !(g && o), U.useRef(null);
1503
- let P = y, R = !0, p = 0, F = (h, b) => {
1504
- let $ = document.createRange(), G = window.getSelection();
1505
- $.setStart(b.childNodes[0], h), $.collapse(!0), G.removeAllRanges(), G.addRange($), b.focus();
1506
- }, I = (h) => {
1507
- h.preventDefault(), navigator.clipboard.readText().then((b) => {
1508
- window.document.execCommand("insertText", !1, b);
1509
- }).catch((b) => {
1502
+ h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (a === "" || a === void 0)) && !(h && o), W.useRef(null);
1503
+ let P = v, R = !0, p = 0, F = (b, y) => {
1504
+ let A = document.createRange(), L = window.getSelection();
1505
+ A.setStart(y.childNodes[0], b), A.collapse(!0), L.removeAllRanges(), L.addRange(A), y.focus();
1506
+ }, I = (b) => {
1507
+ b.preventDefault(), navigator.clipboard.readText().then((y) => {
1508
+ window.document.execCommand("insertText", !1, y);
1509
+ }).catch((y) => {
1510
1510
  });
1511
- }, q = (h) => {
1512
- let b = 0, $ = "", G = h.replace(/\D/g, "");
1513
- G === "" && (R = !0);
1514
- let X = G.split(""), oe = "";
1515
- X.forEach((ge) => {
1516
- R && (oe += ge, R && (p = ("" + oe).length, P = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""), p > ("" + oe).length && (R = !0, P = y.replace(new RegExp("[0-9]", "g"), "_"), $ = ""));
1511
+ }, K = (b) => {
1512
+ let y = 0, A = "", L = b.replace(/\D/g, "");
1513
+ L === "" && (R = !0);
1514
+ let se = L.split(""), V = "";
1515
+ se.forEach((le) => {
1516
+ R && (V += le, R && (p = ("" + V).length, P = v.replace(new RegExp("[0-9]", "g"), "_"), A = ""), p > ("" + V).length && (R = !0, P = v.replace(new RegExp("[0-9]", "g"), "_"), A = ""));
1517
1517
  });
1518
- let se = P.replace(/\D/g, "");
1519
- return se.length >= G.length && (G = se), { q: P.replace(/[_\d]/g, function() {
1520
- return G.charAt(b++) || "_";
1521
- }), i: b, v: G, f: $ };
1522
- }, N = (h) => {
1523
- h.preventDefault(), navigator.clipboard.writeText(h.target.textContent.replace(/\D/g, "")).then(
1518
+ let oe = P.replace(/\D/g, "");
1519
+ return oe.length >= L.length && (L = oe), { q: P.replace(/[_\d]/g, function() {
1520
+ return L.charAt(y++) || "_";
1521
+ }), i: y, v: L, f: A };
1522
+ }, D = (b) => {
1523
+ b.preventDefault(), navigator.clipboard.writeText(b.target.textContent.replace(/\D/g, "")).then(
1524
1524
  function() {
1525
1525
  Ct.Copy("Данные в буфер обмене");
1526
1526
  },
1527
- function(b) {
1527
+ function(y) {
1528
1528
  }
1529
1529
  );
1530
- }, Y = q(a), K = (h) => {
1531
- let b = q(h.target.textContent);
1532
- h.target.textContent = b.q, b.i = b.q.lastIndexOf(b.v.substr(-1)), b.i < b.q.length && b.q !== P ? b.i++ : b.i = b.q.indexOf("_"), F(b.i, h.target), _ && _({ value: b.q.replace(/\D/g, ""), name: d });
1533
- }, M = (h) => {
1534
- h.key === "Enter" && h.preventDefault();
1530
+ }, Y = K(a), q = (b) => {
1531
+ let y = K(b.target.textContent);
1532
+ b.target.textContent = y.q, y.i = y.q.lastIndexOf(y.v.substr(-1)), y.i < y.q.length && y.q !== P ? y.i++ : y.i = y.q.indexOf("_"), F(y.i, b.target), _ && _({ value: y.q.replace(/\D/g, ""), name: d });
1533
+ }, $ = (b) => {
1534
+ b.key === "Enter" && b.preventDefault();
1535
1535
  };
1536
- const T = (h) => {
1537
- ee.Blur(h), c && c({
1538
- value: h.target.textContent.replace(/\D/g, ""),
1536
+ const N = (b) => {
1537
+ ee.Blur(b), c && c({
1538
+ value: b.target.textContent.replace(/\D/g, ""),
1539
1539
  name: d
1540
1540
  });
1541
1541
  };
1542
- let W = {};
1543
- return g && o ? (W.edit = "true", W.contentEditable = ee.ContentEditable) : W.contentEditable = "false", C && (W.placeholder = C), u && (W.after = u), s ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
1542
+ let G = {};
1543
+ return h && o ? (G.edit = "true", G.contentEditable = ee.ContentEditable) : G.contentEditable = "false", C && (G.placeholder = C), u && (G.after = u), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
1544
1544
  Be,
1545
1545
  {
1546
1546
  type: "input",
1547
1547
  title: E,
1548
- element_blok: { className: [A] },
1548
+ element_blok: { className: [M] },
1549
1549
  element_input: { className: [_e.w] },
1550
- children: /* @__PURE__ */ v.jsx(
1550
+ children: /* @__PURE__ */ g.jsx(
1551
1551
  "div",
1552
1552
  {
1553
1553
  onPaste: I,
1554
- onInput: K,
1555
- onKeyDown: M,
1556
- onContextMenu: N,
1557
- onBlur: T,
1554
+ onInput: q,
1555
+ onKeyDown: $,
1556
+ onContextMenu: D,
1557
+ onBlur: N,
1558
1558
  suppressContentEditableWarning: !0,
1559
- ...W,
1559
+ ...G,
1560
1560
  children: Y.q
1561
1561
  }
1562
1562
  )
@@ -1572,45 +1572,45 @@ function wa({
1572
1572
  onValue: _,
1573
1573
  name: c,
1574
1574
  error: d,
1575
- icon: y,
1575
+ icon: v,
1576
1576
  edit: C = !0,
1577
1577
  active: E = !0,
1578
1578
  title: x,
1579
1579
  placeholder: s = "",
1580
- className: g
1580
+ className: h
1581
1581
  }) {
1582
- let [o, u] = U.useState(a);
1583
- const k = U.useRef(null), [S, A] = U.useState(!1);
1584
- U.useEffect(() => {
1582
+ let [o, u] = W.useState(a);
1583
+ const k = W.useRef(null), [S, M] = W.useState(!1);
1584
+ W.useEffect(() => {
1585
1585
  u(a);
1586
1586
  }, [a]);
1587
- let L = (p) => {
1587
+ let U = (p) => {
1588
1588
  u(p), _ && _({ value: p, name: c });
1589
1589
  }, P = (p) => {
1590
1590
  if (!C || !E) return;
1591
- const F = p.target.getBoundingClientRect(), I = F.left, q = F.top;
1592
- k.position = { x: I, y: q }, A(!0);
1591
+ const F = p.target.getBoundingClientRect(), I = F.left, K = F.top;
1592
+ k.position = { x: I, y: K }, M(!0);
1593
1593
  };
1594
1594
  const R = {};
1595
- return s && (R.placeholder = s), y || /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
1596
- /* @__PURE__ */ v.jsx(
1595
+ return s && (R.placeholder = s), v || /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
1596
+ /* @__PURE__ */ g.jsx(
1597
1597
  Be,
1598
1598
  {
1599
1599
  type: "date",
1600
1600
  title: x,
1601
- element_blok: { className: [g] },
1601
+ element_blok: { className: [h] },
1602
1602
  element_input: { className: [_e.w] },
1603
- children: /* @__PURE__ */ v.jsx("div", { onClick: P, ...R, children: hr(o, "mm.yyyy") })
1603
+ children: /* @__PURE__ */ g.jsx("div", { onClick: P, ...R, children: hr(o, "mm.yyyy") })
1604
1604
  }
1605
1605
  ),
1606
1606
  S && Mt(
1607
- /* @__PURE__ */ v.jsx(
1607
+ /* @__PURE__ */ g.jsx(
1608
1608
  gr,
1609
1609
  {
1610
1610
  position: k.position,
1611
- onValue: L,
1611
+ onValue: U,
1612
1612
  date: o,
1613
- onOpen: A
1613
+ onOpen: M
1614
1614
  },
1615
1615
  (/* @__PURE__ */ new Date()).getTime()
1616
1616
  ),
@@ -1619,26 +1619,26 @@ function wa({
1619
1619
  ] });
1620
1620
  }
1621
1621
  const gr = ({ onOpen: a, date: _, onValue: c, position: d }) => {
1622
- let y = /* @__PURE__ */ new Date(), C = new Date(_), E = {
1623
- y: parseInt(y.getFullYear()),
1624
- m: parseInt(y.getMonth()) + 1
1622
+ let v = /* @__PURE__ */ new Date(), C = new Date(_), E = {
1623
+ y: parseInt(v.getFullYear()),
1624
+ m: parseInt(v.getMonth()) + 1
1625
1625
  }, x = {
1626
1626
  y: parseInt(C.getFullYear()),
1627
1627
  m: parseInt(C.getMonth()) + 1
1628
- }, [s, g] = U.useState(x.y), o = () => {
1628
+ }, [s, h] = W.useState(x.y), o = () => {
1629
1629
  a(!1);
1630
1630
  }, u = () => {
1631
- g(s + 1);
1631
+ h(s + 1);
1632
1632
  }, k = () => {
1633
- g(s - 1);
1633
+ h(s - 1);
1634
1634
  }, S = (p) => {
1635
1635
  c(s + "-" + br(2, p)), o();
1636
- }, A = (p) => E.y === x.y && E.m === p ? "_FFEB3B" : "", L = Array(12).fill("").map((p, F) => F + 1), P = window.innerHeight - d.y + 33 < 320 ? d.y - 312 : d.y + 33, R = window.innerWidth - d.x < 265 ? d.x - 235 : d.x;
1637
- return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
1638
- /* @__PURE__ */ v.jsx("div", { className: St.o, onClick: o }),
1639
- /* @__PURE__ */ v.jsxs("div", { className: St.c, style: { top: P + "px", left: R + "px" }, children: [
1640
- /* @__PURE__ */ v.jsxs("s", { children: [
1641
- /* @__PURE__ */ v.jsx("i", { onClick: k, children: /* @__PURE__ */ v.jsx(
1636
+ }, M = (p) => E.y === x.y && E.m === p ? "_FFEB3B" : "", U = Array(12).fill("").map((p, F) => F + 1), P = window.innerHeight - d.y + 33 < 320 ? d.y - 312 : d.y + 33, R = window.innerWidth - d.x < 265 ? d.x - 235 : d.x;
1637
+ return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
1638
+ /* @__PURE__ */ g.jsx("div", { className: St.o, onClick: o }),
1639
+ /* @__PURE__ */ g.jsxs("div", { className: St.c, style: { top: P + "px", left: R + "px" }, children: [
1640
+ /* @__PURE__ */ g.jsxs("s", { children: [
1641
+ /* @__PURE__ */ g.jsx("i", { onClick: k, children: /* @__PURE__ */ g.jsx(
1642
1642
  "svg",
1643
1643
  {
1644
1644
  width: "16",
@@ -1646,11 +1646,11 @@ const gr = ({ onOpen: a, date: _, onValue: c, position: d }) => {
1646
1646
  fill: "currentColor",
1647
1647
  viewBox: "0 0 24 24",
1648
1648
  xmlns: "http://www.w3.org/2000/svg",
1649
- children: /* @__PURE__ */ v.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" })
1649
+ children: /* @__PURE__ */ g.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" })
1650
1650
  }
1651
1651
  ) }),
1652
- /* @__PURE__ */ v.jsx("h2", { children: s }),
1653
- /* @__PURE__ */ v.jsx("i", { onClick: u, children: /* @__PURE__ */ v.jsx(
1652
+ /* @__PURE__ */ g.jsx("h2", { children: s }),
1653
+ /* @__PURE__ */ g.jsx("i", { onClick: u, children: /* @__PURE__ */ g.jsx(
1654
1654
  "svg",
1655
1655
  {
1656
1656
  width: "16",
@@ -1658,18 +1658,18 @@ const gr = ({ onOpen: a, date: _, onValue: c, position: d }) => {
1658
1658
  fill: "currentColor",
1659
1659
  viewBox: "0 0 24 24",
1660
1660
  xmlns: "http://www.w3.org/2000/svg",
1661
- children: /* @__PURE__ */ v.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
1661
+ children: /* @__PURE__ */ g.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
1662
1662
  }
1663
1663
  ) })
1664
1664
  ] }),
1665
- /* @__PURE__ */ v.jsx("div", { "grid-month": "", children: L.map((p, F) => /* @__PURE__ */ v.jsx(
1665
+ /* @__PURE__ */ g.jsx("div", { "grid-month": "", children: U.map((p, F) => /* @__PURE__ */ g.jsx(
1666
1666
  "span",
1667
1667
  {
1668
1668
  onClick: () => {
1669
1669
  S(p);
1670
1670
  },
1671
- color: A(p),
1672
- children: /* @__PURE__ */ v.jsx("b", { children: kr(p).abc })
1671
+ color: M(p),
1672
+ children: /* @__PURE__ */ g.jsx("b", { children: kr(p).abc })
1673
1673
  },
1674
1674
  F
1675
1675
  )) })
@@ -1719,64 +1719,64 @@ function ja({
1719
1719
  onValue: _,
1720
1720
  name: c,
1721
1721
  placeholder: d = "",
1722
- title: y = "",
1722
+ title: v = "",
1723
1723
  error: C = "",
1724
1724
  hide: E = !1,
1725
1725
  edit: x = !0,
1726
1726
  active: s = !0,
1727
- after: g = "",
1727
+ after: h = "",
1728
1728
  show: o = !0,
1729
1729
  course: u = 100,
1730
1730
  view: k,
1731
1731
  type: S,
1732
- onSave: A,
1733
- className: L = "",
1732
+ onSave: M,
1733
+ className: U = "",
1734
1734
  isClear: P = !1
1735
1735
  }) {
1736
- let R = !!(E && (a === "" || a === void 0)), p = (T) => S === "multi" ? T.replace(/[^+\d.+-]/g, "") : T.replace(/[^+\d.]/g, ""), F = (T, W) => {
1737
- let h = document.createRange(), b = window.getSelection();
1738
- h.setStart(W.childNodes[0], T), h.collapse(!0), b.removeAllRanges(), b.addRange(h), W.focus();
1739
- }, I = (T) => {
1736
+ let R = !!(E && (a === "" || a === void 0)), p = (N) => S === "multi" ? N.replace(/[^+\d.+-]/g, "") : N.replace(/[^+\d.]/g, ""), F = (N, G) => {
1737
+ let b = document.createRange(), y = window.getSelection();
1738
+ b.setStart(G.childNodes[0], N), b.collapse(!0), y.removeAllRanges(), y.addRange(b), G.focus();
1739
+ }, I = (N) => {
1740
1740
  _ == null || _({
1741
- value: p(T.target.textContent) * u,
1741
+ value: p(N.target.textContent) * u,
1742
1742
  name: c
1743
- }), T.target.textContent = p(T.target.textContent), T.target.textContent.length > 0 && F(T.target.textContent.length, T.target);
1744
- }, q = (T) => {
1745
- ee.Blur(T), T.target.textContent === "" && (T.target.textContent = 0), A == null || A({ value: p(T.target.textContent) * u, name: c }), _ == null || _({
1746
- value: p(T.target.textContent) * u,
1743
+ }), N.target.textContent = p(N.target.textContent), N.target.textContent.length > 0 && F(N.target.textContent.length, N.target);
1744
+ }, K = (N) => {
1745
+ ee.Blur(N), N.target.textContent === "" && (N.target.textContent = 0), M == null || M({ value: p(N.target.textContent) * u, name: c }), _ == null || _({
1746
+ value: p(N.target.textContent) * u,
1747
1747
  name: c
1748
- }), T.target.textContent = Wt(T.target.textContent);
1749
- }, N = (T) => {
1750
- T.target.textContent = p(T.target.textContent);
1751
- }, Y = (T) => {
1752
- T.key === "Enter" && T.preventDefault();
1753
- }, K = (T) => {
1754
- T.preventDefault(), navigator.clipboard.readText().then((W) => {
1755
- W = W.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, W);
1756
- }).catch((W) => {
1748
+ }), N.target.textContent = Wt(N.target.textContent);
1749
+ }, D = (N) => {
1750
+ N.target.textContent = p(N.target.textContent);
1751
+ }, Y = (N) => {
1752
+ N.key === "Enter" && N.preventDefault();
1753
+ }, q = (N) => {
1754
+ N.preventDefault(), navigator.clipboard.readText().then((G) => {
1755
+ G = G.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, G);
1756
+ }).catch((G) => {
1757
1757
  });
1758
1758
  };
1759
1759
  if (!(x && s) && !o || !(x && s) && R) return "";
1760
- const M = {};
1761
- return M.inputMode = "decimal", d && (M.placeholder = d), x && s && (M.edit = ""), /* @__PURE__ */ v.jsx(
1760
+ const $ = {};
1761
+ return $.inputMode = "decimal", d && ($.placeholder = d), x && s && ($.edit = ""), /* @__PURE__ */ g.jsx(
1762
1762
  Be,
1763
1763
  {
1764
1764
  type: "input",
1765
- title: y,
1766
- element_blok: { className: [L] },
1765
+ title: v,
1766
+ element_blok: { className: [U] },
1767
1767
  element_input: { className: [_e.w] },
1768
- children: /* @__PURE__ */ v.jsx(
1768
+ children: /* @__PURE__ */ g.jsx(
1769
1769
  "div",
1770
1770
  {
1771
- ...M,
1771
+ ...$,
1772
1772
  onInput: I,
1773
- onPaste: K,
1774
- onBlur: q,
1773
+ onPaste: q,
1774
+ onBlur: K,
1775
1775
  onKeyDown: Y,
1776
- onFocus: N,
1776
+ onFocus: D,
1777
1777
  contentEditable: x && s ? ee.ContentEditable : "false",
1778
1778
  suppressContentEditableWarning: !0,
1779
- "data-after": g,
1779
+ "data-after": h,
1780
1780
  children: !d || a ? Wt(a) : ""
1781
1781
  }
1782
1782
  )
@@ -1787,189 +1787,49 @@ function Wt(a, _) {
1787
1787
  return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
1788
1788
  }
1789
1789
  function xa({
1790
- value: a,
1791
- onValue: _,
1792
- name: c,
1793
- placeholder: d = "",
1794
- title: y = "",
1795
- label: C = "",
1796
- show: E = !0,
1797
- hide: x = !1,
1798
- edit: s = !0,
1799
- active: g = !0,
1800
- maxLength: o,
1801
- onSave: u,
1802
- className: k = "",
1803
- spellCheck: S = !0,
1804
- isCopy: A = !0,
1805
- isReload: L = !1
1806
- }) {
1807
- const P = !!(x && (a === "" || a === void 0)), R = (N) => {
1808
- _ && _({
1809
- value: N.target.textContent.trim(),
1810
- name: c,
1811
- reload: L
1812
- });
1813
- }, p = (N) => {
1814
- o && N.target.textContent.trim().length >= o && N.key !== "Backspace" && N.preventDefault(), N.key === "Enter" && N.preventDefault();
1815
- }, F = (N) => {
1816
- N.preventDefault(), navigator.clipboard.readText().then((Y) => {
1817
- if (o) {
1818
- let K = N.target.textContent.length;
1819
- if (K >= o) return;
1820
- o -= K, Y = Y.slice(0, o);
1821
- }
1822
- window.document.execCommand(
1823
- "insertText",
1824
- !1,
1825
- Y.replace(/(\r\n|\n|\r)/gm, " ")
1826
- );
1827
- }).catch((Y) => {
1828
- });
1829
- };
1830
- if (!(s && g) && !E || !(s && g) && P) return "";
1831
- const I = {};
1832
- d && (I.placeholder = d), s && g && (I.edit = "");
1833
- const q = (N) => {
1834
- ee.Blur(N), u == null || u({ value: N.target.textContent.trim(), name: c });
1835
- };
1836
- return /* @__PURE__ */ v.jsx(
1837
- Be,
1838
- {
1839
- type: "input",
1840
- title: y || C,
1841
- element_blok: { className: [k] },
1842
- element_input: { className: [_e.w] },
1843
- children: /* @__PURE__ */ v.jsx(
1844
- "div",
1845
- {
1846
- onBlur: q,
1847
- onPaste: F,
1848
- onInput: R,
1849
- onKeyDown: p,
1850
- spellCheck: S,
1851
- contentEditable: s && g ? ee.ContentEditable : "false",
1852
- suppressContentEditableWarning: !0,
1853
- ...I,
1854
- children: a
1855
- }
1856
- )
1857
- }
1858
- );
1859
- }
1860
- function Ca({
1861
- onValue: a,
1862
- onSave: _,
1863
- active: c,
1864
- max: d,
1865
- edit: y,
1866
- title: C,
1867
- error: E,
1868
- show: x,
1869
- hide: s,
1870
- value: g,
1871
- placeholder: o,
1872
- className: u,
1873
- maxLength: k,
1874
- name: S,
1875
- after: A = "",
1876
- before: L = "",
1877
- view: P
1878
- }) {
1879
- y = y !== void 0 ? y : !0, c = c !== void 0 ? c : !0, s = !!(s && (g === "" || g === void 0)) && !(y && c), o = o !== void 0 ? o : "", d = d !== void 0 ? d : 99;
1880
- let p = !1, F = (M) => {
1881
- a == null || a({ value: M.target.textContent, name: S });
1882
- }, I = (M) => {
1883
- if (!(p && M.which === 86)) {
1884
- if (M.which === 17 || M.which === 91) return p = !0;
1885
- M.key !== "Backspace" && (M.target.textContent.length === d && M.preventDefault(), M.key === "Enter" && M.preventDefault(), isNaN(M.key) && M.preventDefault());
1886
- }
1887
- }, q = (M) => {
1888
- if (M.which === 17 || M.which === 91) return p = !1;
1889
- }, N = (M) => {
1890
- M.preventDefault(), navigator.clipboard.readText().then((T) => {
1891
- if (T = T.replace(/(?!^\+|\d)./g, ""), k) {
1892
- let W = M.target.textContent.length;
1893
- if (W >= k) return;
1894
- k -= W, T = T.slice(0, k);
1895
- }
1896
- window.document.execCommand("insertText", !1, "" + T);
1897
- }).catch((T) => {
1898
- });
1899
- };
1900
- const Y = (M) => {
1901
- ee.Blur(M), _ == null || _({ value: M.target.textContent, name: S });
1902
- };
1903
- let K = {};
1904
- return y && c ? (K.edit = "true", K.contentEditable = ee.ContentEditable) : K.contentEditable = "false", K.inputMode = "decimal", o && (K.placeholder = o), s ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
1905
- Be,
1906
- {
1907
- type: "numeric",
1908
- title: C,
1909
- element_blok: { className: [u] },
1910
- element_input: { className: [_e.w] },
1911
- children: /* @__PURE__ */ v.jsx(
1912
- "div",
1913
- {
1914
- onPaste: N,
1915
- onInput: F,
1916
- onBlur: Y,
1917
- onKeyDown: I,
1918
- onKeyUp: q,
1919
- spellCheck: "true",
1920
- contentEditable: y && c ? ee.ContentEditable : "false",
1921
- suppressContentEditableWarning: !0,
1922
- ...K,
1923
- children: g
1924
- }
1925
- )
1926
- }
1927
- );
1928
- }
1929
- function Sa({
1930
1790
  title: a,
1931
1791
  error: _,
1932
1792
  edit: c = !0,
1933
1793
  active: d = !0,
1934
- className: y,
1794
+ className: v,
1935
1795
  placeholder: C,
1936
1796
  max: E,
1937
1797
  min: x,
1938
1798
  onValue: s,
1939
- icon: g,
1799
+ icon: h,
1940
1800
  name: o,
1941
1801
  value: u,
1942
1802
  after: k
1943
1803
  }) {
1944
- let [S, A] = U.useState(
1804
+ let [S, M] = W.useState(
1945
1805
  u === void 0 ? /* @__PURE__ */ new Date() : u
1946
1806
  );
1947
- const L = U.useRef(null), [P, R] = U.useState(!1);
1807
+ const U = W.useRef(null), [P, R] = W.useState(!1);
1948
1808
  let p = !c && d;
1949
- U.useEffect(() => {
1950
- A(u === void 0 ? /* @__PURE__ */ new Date() : u);
1809
+ W.useEffect(() => {
1810
+ M(u === void 0 ? /* @__PURE__ */ new Date() : u);
1951
1811
  }, [u]);
1952
- let F = (N) => {
1953
- A(N), s == null || s({ value: N, name: o });
1954
- }, I = (N) => {
1955
- const Y = N.target.getBoundingClientRect(), K = Y.left, M = Y.bottom, T = Y.top;
1956
- L.position = { x: K, b: M, y: T }, R(!0);
1812
+ let F = (D) => {
1813
+ M(D), s == null || s({ value: D, name: o });
1814
+ }, I = (D) => {
1815
+ const Y = D.target.getBoundingClientRect(), q = Y.left, $ = Y.bottom, N = Y.top;
1816
+ U.position = { x: q, b: $, y: N }, R(!0);
1957
1817
  };
1958
- const q = {};
1959
- return C && (q.placeholder = C), p ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
1960
- g ? g() : /* @__PURE__ */ v.jsxs(
1818
+ const K = {};
1819
+ return C && (K.placeholder = C), p ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
1820
+ h ? h() : /* @__PURE__ */ g.jsxs(
1961
1821
  "dl",
1962
1822
  {
1963
1823
  "data-field": "date",
1964
- className: [_e.l, y].filter((N) => N !== void 0).join(" "),
1824
+ className: [_e.l, v].filter((D) => D !== void 0).join(" "),
1965
1825
  children: [
1966
- a ? /* @__PURE__ */ v.jsx("dt", { className: _e.t, children: a }) : "",
1967
- /* @__PURE__ */ v.jsxs(
1826
+ a ? /* @__PURE__ */ g.jsx("dt", { className: _e.t, children: a }) : "",
1827
+ /* @__PURE__ */ g.jsxs(
1968
1828
  "dd",
1969
1829
  {
1970
1830
  onClick: I,
1971
1831
  className: [_e.f, _e.w].join(" "),
1972
- ...q,
1832
+ ...K,
1973
1833
  "data-edit": (c && d) + "",
1974
1834
  children: [
1975
1835
  xr(S, "dd.mm.yyyy"),
@@ -1977,21 +1837,21 @@ function Sa({
1977
1837
  ]
1978
1838
  }
1979
1839
  ),
1980
- _ && /* @__PURE__ */ v.jsx("em", { children: _ })
1840
+ _ && /* @__PURE__ */ g.jsx("em", { children: _ })
1981
1841
  ]
1982
1842
  }
1983
1843
  ),
1984
1844
  P && Mt(
1985
- /* @__PURE__ */ v.jsx(
1845
+ /* @__PURE__ */ g.jsx(
1986
1846
  wr,
1987
1847
  {
1988
- position: L.position,
1848
+ position: U.position,
1989
1849
  onValue: F,
1990
1850
  date: S,
1991
1851
  max: E,
1992
1852
  min: x,
1993
1853
  onOpen: R,
1994
- className: y
1854
+ className: v
1995
1855
  },
1996
1856
  (/* @__PURE__ */ new Date()).getTime()
1997
1857
  ),
@@ -2004,11 +1864,11 @@ const wr = ({
2004
1864
  onValue: _,
2005
1865
  position: c,
2006
1866
  max: d,
2007
- min: y,
1867
+ min: v,
2008
1868
  className: C,
2009
1869
  onOpen: E
2010
1870
  }) => {
2011
- let x = /* @__PURE__ */ new Date(), s = new Date(a), g = {
1871
+ let x = /* @__PURE__ */ new Date(), s = new Date(a), h = {
2012
1872
  y: parseInt(x.getFullYear()),
2013
1873
  d: parseInt(x.getDate()),
2014
1874
  m: parseInt(x.getMonth()) + 1
@@ -2016,53 +1876,53 @@ const wr = ({
2016
1876
  y: parseInt(s.getFullYear()),
2017
1877
  d: parseInt(s.getDate()),
2018
1878
  m: parseInt(s.getMonth()) + 1
2019
- }, [u, k] = U.useState({ y: o.y, m: o.m }), S = (h) => {
2020
- let b = h.getDay();
2021
- return b === 0 && (b = 7), b - 1;
2022
- }, A = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], L = u.m - 1, P = new Date(u.y, L), R = [];
2023
- for (let h = 0; h < S(P); h++)
1879
+ }, [u, k] = W.useState({ y: o.y, m: o.m }), S = (b) => {
1880
+ let y = b.getDay();
1881
+ return y === 0 && (y = 7), y - 1;
1882
+ }, M = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], U = u.m - 1, P = new Date(u.y, U), R = [];
1883
+ for (let b = 0; b < S(P); b++)
2024
1884
  R.push(0);
2025
- for (; P.getMonth() === L; )
1885
+ for (; P.getMonth() === U; )
2026
1886
  R.push(P.getDate()), P.setDate(P.getDate() + 1);
2027
1887
  let p = () => {
2028
1888
  E(!1);
2029
1889
  }, F = () => {
2030
- N(u.m + 1, u.y);
1890
+ D(u.m + 1, u.y);
2031
1891
  }, I = () => {
2032
- N(u.m - 1, u.y);
2033
- }, q = (h) => {
1892
+ D(u.m - 1, u.y);
1893
+ }, K = (b) => {
2034
1894
  _(
2035
- u.y + "-" + Ut(2, u.m) + "-" + Ut(2, h)
1895
+ u.y + "-" + Ut(2, u.m) + "-" + Ut(2, b)
2036
1896
  ), p();
2037
- }, N = (h, b) => {
2038
- b = h > 12 ? b + 1 : h < 1 ? b - 1 : b, h = h > 12 ? 1 : h < 1 ? 12 : h, k({ y: b, m: h });
1897
+ }, D = (b, y) => {
1898
+ y = b > 12 ? y + 1 : b < 1 ? y - 1 : y, b = b > 12 ? 1 : b < 1 ? 12 : b, k({ y, m: b });
2039
1899
  };
2040
- const Y = (h) => g.y === u.y && g.m === u.m && g.d === h ? { "data-active": "true" } : {}, K = (h) => o.y === u.y && o.m === u.m && o.d === h ? { "data-current": "true" } : {}, M = (h) => {
2041
- let b = !0;
1900
+ const Y = (b) => h.y === u.y && h.m === u.m && h.d === b ? { "data-active": "true" } : {}, q = (b) => o.y === u.y && o.m === u.m && o.d === b ? { "data-current": "true" } : {}, $ = (b) => {
1901
+ let y = !0;
2042
1902
  if (d) {
2043
- let $ = d.getTime(), G = new Date(u.y, u.m - 1, h).getTime();
2044
- $ < G && (b = !1);
1903
+ let A = d.getTime(), L = new Date(u.y, u.m - 1, b).getTime();
1904
+ A < L && (y = !1);
2045
1905
  }
2046
- if (y) {
2047
- let $ = y.getTime(), G = new Date(u.y, u.m - 1, h).getTime();
2048
- $ > G && (b = !1);
1906
+ if (v) {
1907
+ let A = v.getTime(), L = new Date(u.y, u.m - 1, b).getTime();
1908
+ A > L && (y = !1);
2049
1909
  }
2050
- return b;
1910
+ return y;
2051
1911
  };
2052
- let T = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, W = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
2053
- return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
2054
- /* @__PURE__ */ v.jsx("div", { className: St.o, onClick: () => p() }),
2055
- /* @__PURE__ */ v.jsxs(
1912
+ let N = window.innerHeight - c.y < 320 ? c.y - 312 : c.b, G = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
1913
+ return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
1914
+ /* @__PURE__ */ g.jsx("div", { className: St.o, onClick: () => p() }),
1915
+ /* @__PURE__ */ g.jsxs(
2056
1916
  "div",
2057
1917
  {
2058
1918
  className: [
2059
1919
  St.c,
2060
1920
  C && C + "-backdrop"
2061
1921
  ].join(" "),
2062
- style: { top: T + "px", left: W + "px" },
1922
+ style: { top: N + "px", left: G + "px" },
2063
1923
  children: [
2064
- /* @__PURE__ */ v.jsxs("s", { children: [
2065
- /* @__PURE__ */ v.jsx("i", { onClick: I, children: /* @__PURE__ */ v.jsx(
1924
+ /* @__PURE__ */ g.jsxs("s", { children: [
1925
+ /* @__PURE__ */ g.jsx("i", { onClick: I, children: /* @__PURE__ */ g.jsx(
2066
1926
  "svg",
2067
1927
  {
2068
1928
  width: "16",
@@ -2070,15 +1930,15 @@ const wr = ({
2070
1930
  fill: "currentColor",
2071
1931
  viewBox: "0 0 24 24",
2072
1932
  xmlns: "http://www.w3.org/2000/svg",
2073
- children: /* @__PURE__ */ v.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" })
1933
+ children: /* @__PURE__ */ g.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" })
2074
1934
  }
2075
1935
  ) }),
2076
- /* @__PURE__ */ v.jsxs("h2", { children: [
1936
+ /* @__PURE__ */ g.jsxs("h2", { children: [
2077
1937
  jr(u.m).name,
2078
1938
  " ",
2079
1939
  u.y
2080
1940
  ] }),
2081
- /* @__PURE__ */ v.jsx("i", { onClick: F, children: /* @__PURE__ */ v.jsx(
1941
+ /* @__PURE__ */ g.jsx("i", { onClick: F, children: /* @__PURE__ */ g.jsx(
2082
1942
  "svg",
2083
1943
  {
2084
1944
  width: "16",
@@ -2086,21 +1946,21 @@ const wr = ({
2086
1946
  fill: "currentColor",
2087
1947
  viewBox: "0 0 24 24",
2088
1948
  xmlns: "http://www.w3.org/2000/svg",
2089
- children: /* @__PURE__ */ v.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
1949
+ children: /* @__PURE__ */ g.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
2090
1950
  }
2091
1951
  ) })
2092
1952
  ] }),
2093
- /* @__PURE__ */ v.jsxs("div", { "grid-calendar": "", children: [
2094
- A.map((h, b) => /* @__PURE__ */ v.jsx("p", { children: h }, "v" + b)),
2095
- R.map((h, b) => /* @__PURE__ */ v.jsx("span", { children: h !== 0 && M(h) ? /* @__PURE__ */ v.jsx(
1953
+ /* @__PURE__ */ g.jsxs("div", { "grid-calendar": "", children: [
1954
+ M.map((b, y) => /* @__PURE__ */ g.jsx("p", { children: b }, "v" + y)),
1955
+ R.map((b, y) => /* @__PURE__ */ g.jsx("span", { children: b !== 0 && $(b) ? /* @__PURE__ */ g.jsx(
2096
1956
  "b",
2097
1957
  {
2098
- ...Y(h),
2099
- ...K(h),
2100
- onClick: () => q(h),
2101
- children: h
1958
+ ...Y(b),
1959
+ ...q(b),
1960
+ onClick: () => K(b),
1961
+ children: b
2102
1962
  }
2103
- ) : /* @__PURE__ */ v.jsx("p", { ...Y(h), ...K(h), children: h !== 0 ? h : "" }) }, b))
1963
+ ) : /* @__PURE__ */ g.jsx("p", { ...Y(b), ...q(b), children: b !== 0 ? b : "" }) }, y))
2104
1964
  ] })
2105
1965
  ]
2106
1966
  }
@@ -2145,61 +2005,61 @@ function xr(a, _) {
2145
2005
  _ = _.replace(d, c[d]);
2146
2006
  return _;
2147
2007
  }
2148
- function Ra({
2008
+ function Ca({
2149
2009
  value: a,
2150
2010
  onValue: _,
2151
2011
  name: c,
2152
2012
  placeholder: d = "",
2153
- title: y = "",
2013
+ title: v = "",
2154
2014
  label: C = "",
2155
2015
  hide: E = !1,
2156
2016
  edit: x = !0,
2157
2017
  active: s = !0,
2158
- after: g = "",
2018
+ after: h = "",
2159
2019
  show: o = !0,
2160
2020
  maxLength: u,
2161
2021
  onSave: k,
2162
2022
  className: S = "",
2163
- isCopy: A = !0
2023
+ isCopy: M = !0
2164
2024
  }) {
2165
- const L = (I) => {
2025
+ const U = (I) => {
2166
2026
  _ == null || _({ value: I.target.innerText, name: c });
2167
2027
  }, P = (I) => {
2168
2028
  u && I.target.textContent.trim().length >= u && I.key !== "Backspace" && I.preventDefault(), I.key === "Enter" && I.preventDefault();
2169
2029
  }, R = (I) => {
2170
- I.preventDefault(), navigator.clipboard.readText().then((q) => {
2030
+ I.preventDefault(), navigator.clipboard.readText().then((K) => {
2171
2031
  if (u) {
2172
- let N = I.target.textContent.length;
2173
- if (N >= u) return;
2174
- u -= N, q = q.slice(0, u);
2032
+ let D = I.target.textContent.length;
2033
+ if (D >= u) return;
2034
+ u -= D, K = K.slice(0, u);
2175
2035
  }
2176
2036
  window.document.execCommand(
2177
2037
  "insertText",
2178
2038
  !1,
2179
- q.replace(/(\r\n|\n|\r)/gm, " ")
2039
+ K.replace(/(\r\n|\n|\r)/gm, " ")
2180
2040
  );
2181
- }).catch((q) => {
2041
+ }).catch((K) => {
2182
2042
  });
2183
2043
  };
2184
- if (E) return /* @__PURE__ */ v.jsx(v.Fragment, {});
2044
+ if (E) return /* @__PURE__ */ g.jsx(g.Fragment, {});
2185
2045
  if (!(x && s) && !o) return "";
2186
2046
  const p = {};
2187
2047
  d && (p.placeholder = d), x && s && (p.edit = "");
2188
2048
  const F = (I) => {
2189
2049
  ee.Blur(I), k == null || k({ value: I.target.textContent.trim(), name: c });
2190
2050
  };
2191
- return /* @__PURE__ */ v.jsx(
2051
+ return /* @__PURE__ */ g.jsx(
2192
2052
  Be,
2193
2053
  {
2194
2054
  type: "note",
2195
- title: y || C,
2055
+ title: v || C,
2196
2056
  element_blok: { className: [S] },
2197
2057
  element_input: { className: [_e.n] },
2198
- children: /* @__PURE__ */ v.jsx(
2058
+ children: /* @__PURE__ */ g.jsx(
2199
2059
  "div",
2200
2060
  {
2201
2061
  onPaste: R,
2202
- onInput: L,
2062
+ onInput: U,
2203
2063
  onBlur: F,
2204
2064
  onKeyDown: P,
2205
2065
  contentEditable: x && s ? ee.ContentEditable : "false",
@@ -3593,87 +3453,229 @@ const Et = {
3593
3453
  mask: "+1939(___) ___-__-__"
3594
3454
  }
3595
3455
  };
3596
- function Ea({
3456
+ function Sa({
3597
3457
  value: a,
3598
3458
  onValue: _,
3599
3459
  onSave: c,
3600
3460
  name: d,
3601
- placeholder: y = "",
3461
+ placeholder: v = "",
3602
3462
  title: C = "",
3603
- error: E = "",
3604
- hide: x = !1,
3605
- edit: s = !0,
3606
- active: g = !0,
3607
- after: o = "",
3608
- show: u = !0,
3609
- view: k,
3610
- className: S = ""
3463
+ label: E = "",
3464
+ error: x = "",
3465
+ hide: s = !1,
3466
+ edit: h = !0,
3467
+ active: o = !0,
3468
+ after: u = "",
3469
+ show: k = !0,
3470
+ view: S,
3471
+ className: M = ""
3611
3472
  }) {
3612
- s = s !== void 0 ? s : !0, g = g !== void 0 ? g : !0, x = !!(x && (a === "" || a === void 0)) && !(s && g), U.useRef(null);
3613
- let L = "+_(___) ___-__-__", P = !0, R = 0, p = (W, h) => {
3614
- let b = document.createRange(), $ = window.getSelection();
3615
- b.setStart(h.childNodes[0], W), b.collapse(!0), $.removeAllRanges(), $.addRange(b), h.focus();
3616
- }, F = (W) => {
3617
- let h = q(W.target.textContent);
3618
- W.target.textContent = h.q, h.i = h.q.lastIndexOf(h.v.substr(-1)), h.i < h.q.length && h.q !== L ? h.i++ : h.i = h.q.indexOf("_"), p(h.i, W.target), _ && _({ value: h.q.replace(/\D/g, ""), name: d });
3619
- }, I = (W) => {
3620
- W.preventDefault(), navigator.clipboard.readText().then((h) => {
3621
- window.document.execCommand("insertText", !1, h);
3622
- }).catch((h) => {
3473
+ h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (a === "" || a === void 0)) && !(h && o), W.useRef(null);
3474
+ let P = "+_(___) ___-__-__", R = !0, p = 0, F = (b, y) => {
3475
+ let A = document.createRange(), L = window.getSelection();
3476
+ A.setStart(y.childNodes[0], b), A.collapse(!0), L.removeAllRanges(), L.addRange(A), y.focus();
3477
+ }, I = (b) => {
3478
+ let y = D(b.target.textContent);
3479
+ b.target.textContent = y.q, y.i = y.q.lastIndexOf(y.v.substr(-1)), y.i < y.q.length && y.q !== P ? y.i++ : y.i = y.q.indexOf("_"), F(y.i, b.target), _ && _({ value: y.q.replace(/\D/g, ""), name: d });
3480
+ }, K = (b) => {
3481
+ b.preventDefault(), navigator.clipboard.readText().then((y) => {
3482
+ window.document.execCommand("insertText", !1, y);
3483
+ }).catch((y) => {
3623
3484
  });
3624
- }, q = (W) => {
3625
- let h = 0, b = "", $ = W.replace(/\D/g, "");
3626
- $ === "" && (P = !0);
3627
- let G = $.split(""), X = "";
3628
- G.forEach((ve) => {
3629
- P && (X += ve, Et[X] !== void 0 && P ? (P = !1, L = Et[X].mask.replace(new RegExp("[0-9]", "g"), "_"), b = Et[X].code) : (P && (R = ("" + X).length, L = `+${X}_(___) ___-__-__`.replace(
3485
+ }, D = (b) => {
3486
+ let y = 0, A = "", L = b.replace(/\D/g, "");
3487
+ L === "" && (R = !0);
3488
+ let se = L.split(""), V = "";
3489
+ se.forEach((le) => {
3490
+ R && (V += le, Et[V] !== void 0 && R ? (R = !1, P = Et[V].mask.replace(new RegExp("[0-9]", "g"), "_"), A = Et[V].code) : (R && (p = ("" + V).length, P = `+${V}_(___) ___-__-__`.replace(
3630
3491
  new RegExp("[0-9]", "g"),
3631
3492
  "_"
3632
- ), b = ""), R > ("" + X).length && (P = !0, L = `+${X}_(___) ___-__-__`.replace(
3493
+ ), A = ""), p > ("" + V).length && (R = !0, P = `+${V}_(___) ___-__-__`.replace(
3633
3494
  new RegExp("[0-9]", "g"),
3634
3495
  "_"
3635
- ), b = "")));
3496
+ ), A = "")));
3636
3497
  });
3637
- let oe = L.replace(/\D/g, "");
3638
- return oe.length >= $.length && ($ = oe), { q: L.replace(/[_\d]/g, function() {
3639
- return $.charAt(h++) || "_";
3640
- }), i: h, v: $, f: b };
3641
- }, N = (W) => {
3642
- W.preventDefault(), navigator.clipboard.writeText(W.target.textContent.replace(/\D/g, "")).then(
3498
+ let oe = P.replace(/\D/g, "");
3499
+ return oe.length >= L.length && (L = oe), { q: P.replace(/[_\d]/g, function() {
3500
+ return L.charAt(y++) || "_";
3501
+ }), i: y, v: L, f: A };
3502
+ }, Y = (b) => {
3503
+ b.preventDefault(), navigator.clipboard.writeText(b.target.textContent.replace(/\D/g, "")).then(
3643
3504
  function() {
3644
3505
  Ct.Copy("Данные в буфер обмене");
3645
3506
  },
3646
- function(h) {
3507
+ function(y) {
3647
3508
  }
3648
3509
  );
3649
- }, Y = q(a), K = (W) => {
3650
- W.key === "Enter" && W.preventDefault();
3510
+ }, q = D(a), $ = (b) => {
3511
+ b.key === "Enter" && b.preventDefault();
3651
3512
  };
3652
- const M = (W) => {
3653
- ee.Blur(W), c && c({
3654
- value: W.target.textContent.replace(/\D/g, ""),
3513
+ const N = (b) => {
3514
+ ee.Blur(b), c && c({
3515
+ value: b.target.textContent.replace(/\D/g, ""),
3655
3516
  name: d
3656
3517
  });
3657
3518
  };
3658
- let T = {};
3659
- return s && g ? (T.edit = "true", T.contentEditable = ee.ContentEditable) : T.contentEditable = "false", y && (T.placeholder = y), x ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
3519
+ let G = {};
3520
+ return h && o ? (G.edit = "true", G.contentEditable = ee.ContentEditable) : G.contentEditable = "false", v && (G.placeholder = v), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
3660
3521
  Be,
3661
3522
  {
3662
3523
  type: "input",
3524
+ title: C || E,
3525
+ element_blok: { className: M },
3526
+ element_input: { className: [_e.w] },
3527
+ children: /* @__PURE__ */ g.jsx(
3528
+ "div",
3529
+ {
3530
+ onPaste: K,
3531
+ onInput: I,
3532
+ onKeyDown: $,
3533
+ onContextMenu: Y,
3534
+ onBlur: N,
3535
+ inputmode: "tel",
3536
+ suppressContentEditableWarning: !0,
3537
+ ...G,
3538
+ children: q.q
3539
+ }
3540
+ )
3541
+ }
3542
+ );
3543
+ }
3544
+ function Ra({
3545
+ value: a,
3546
+ onValue: _,
3547
+ name: c,
3548
+ placeholder: d = "",
3549
+ title: v = "",
3550
+ label: C = "",
3551
+ show: E = !0,
3552
+ hide: x = !1,
3553
+ edit: s = !0,
3554
+ active: h = !0,
3555
+ maxLength: o,
3556
+ onSave: u,
3557
+ className: k = "",
3558
+ spellCheck: S = !0,
3559
+ isCopy: M = !0,
3560
+ isReload: U = !1
3561
+ }) {
3562
+ const P = !!(x && (a === "" || a === void 0)), R = (D) => {
3563
+ _ && _({
3564
+ value: D.target.textContent.trim(),
3565
+ name: c,
3566
+ reload: U
3567
+ });
3568
+ }, p = (D) => {
3569
+ o && D.target.textContent.trim().length >= o && D.key !== "Backspace" && D.preventDefault(), D.key === "Enter" && D.preventDefault();
3570
+ }, F = (D) => {
3571
+ D.preventDefault(), navigator.clipboard.readText().then((Y) => {
3572
+ if (o) {
3573
+ let q = D.target.textContent.length;
3574
+ if (q >= o) return;
3575
+ o -= q, Y = Y.slice(0, o);
3576
+ }
3577
+ window.document.execCommand(
3578
+ "insertText",
3579
+ !1,
3580
+ Y.replace(/(\r\n|\n|\r)/gm, " ")
3581
+ );
3582
+ }).catch((Y) => {
3583
+ });
3584
+ };
3585
+ if (!(s && h) && !E || !(s && h) && P) return "";
3586
+ const I = {};
3587
+ d && (I.placeholder = d), s && h && (I.edit = "");
3588
+ const K = (D) => {
3589
+ ee.Blur(D), u == null || u({ value: D.target.textContent.trim(), name: c });
3590
+ };
3591
+ return /* @__PURE__ */ g.jsx(
3592
+ Be,
3593
+ {
3594
+ type: "input",
3595
+ title: v || C,
3596
+ element_blok: { className: [k] },
3597
+ element_input: { className: [_e.w] },
3598
+ children: /* @__PURE__ */ g.jsx(
3599
+ "div",
3600
+ {
3601
+ onBlur: K,
3602
+ onPaste: F,
3603
+ onInput: R,
3604
+ onKeyDown: p,
3605
+ spellCheck: S,
3606
+ contentEditable: s && h ? ee.ContentEditable : "false",
3607
+ suppressContentEditableWarning: !0,
3608
+ ...I,
3609
+ children: a
3610
+ }
3611
+ )
3612
+ }
3613
+ );
3614
+ }
3615
+ function Ea({
3616
+ onValue: a,
3617
+ onSave: _,
3618
+ active: c,
3619
+ max: d,
3620
+ edit: v,
3621
+ title: C,
3622
+ error: E,
3623
+ show: x,
3624
+ hide: s,
3625
+ value: h,
3626
+ placeholder: o,
3627
+ className: u,
3628
+ maxLength: k,
3629
+ name: S,
3630
+ after: M = "",
3631
+ before: U = "",
3632
+ view: P
3633
+ }) {
3634
+ v = v !== void 0 ? v : !0, c = c !== void 0 ? c : !0, s = !!(s && (h === "" || h === void 0)) && !(v && c), o = o !== void 0 ? o : "", d = d !== void 0 ? d : 99;
3635
+ let p = !1, F = ($) => {
3636
+ a == null || a({ value: $.target.textContent, name: S });
3637
+ }, I = ($) => {
3638
+ if (!(p && $.which === 86)) {
3639
+ if ($.which === 17 || $.which === 91) return p = !0;
3640
+ $.key !== "Backspace" && ($.target.textContent.length === d && $.preventDefault(), $.key === "Enter" && $.preventDefault(), isNaN($.key) && $.preventDefault());
3641
+ }
3642
+ }, K = ($) => {
3643
+ if ($.which === 17 || $.which === 91) return p = !1;
3644
+ }, D = ($) => {
3645
+ $.preventDefault(), navigator.clipboard.readText().then((N) => {
3646
+ if (N = N.replace(/(?!^\+|\d)./g, ""), k) {
3647
+ let G = $.target.textContent.length;
3648
+ if (G >= k) return;
3649
+ k -= G, N = N.slice(0, k);
3650
+ }
3651
+ window.document.execCommand("insertText", !1, "" + N);
3652
+ }).catch((N) => {
3653
+ });
3654
+ };
3655
+ const Y = ($) => {
3656
+ ee.Blur($), _ == null || _({ value: $.target.textContent, name: S });
3657
+ };
3658
+ let q = {};
3659
+ return v && c ? (q.edit = "true", q.contentEditable = ee.ContentEditable) : q.contentEditable = "false", q.inputMode = "decimal", o && (q.placeholder = o), s ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
3660
+ Be,
3661
+ {
3662
+ type: "numeric",
3663
3663
  title: C,
3664
- element_blok: { className: S },
3664
+ element_blok: { className: [u] },
3665
3665
  element_input: { className: [_e.w] },
3666
- children: /* @__PURE__ */ v.jsx(
3666
+ children: /* @__PURE__ */ g.jsx(
3667
3667
  "div",
3668
3668
  {
3669
- onPaste: I,
3669
+ onPaste: D,
3670
3670
  onInput: F,
3671
- onKeyDown: K,
3672
- onContextMenu: N,
3673
- onBlur: M,
3671
+ onBlur: Y,
3672
+ onKeyDown: I,
3673
+ onKeyUp: K,
3674
+ spellCheck: "true",
3675
+ contentEditable: v && c ? ee.ContentEditable : "false",
3674
3676
  suppressContentEditableWarning: !0,
3675
- ...T,
3676
- children: Y.q
3677
+ ...q,
3678
+ children: h
3677
3679
  }
3678
3680
  )
3679
3681
  }
@@ -3693,13 +3695,13 @@ var qt;
3693
3695
  function Cr() {
3694
3696
  if (qt) return ht;
3695
3697
  qt = 1;
3696
- var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
3697
- function E(x, s, g) {
3698
+ var a = W, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
3699
+ function E(x, s, h) {
3698
3700
  var o, u = {}, k = null, S = null;
3699
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
3701
+ h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
3700
3702
  for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (u[o] = s[o]);
3701
3703
  if (x && x.defaultProps) for (o in s = x.defaultProps, s) u[o] === void 0 && (u[o] = s[o]);
3702
- return { $$typeof: _, type: x, key: k, ref: S, props: u, _owner: y.current };
3704
+ return { $$typeof: _, type: x, key: k, ref: S, props: u, _owner: v.current };
3703
3705
  }
3704
3706
  return ht.Fragment = c, ht.jsx = E, ht.jsxs = E, ht;
3705
3707
  }
@@ -3716,11 +3718,11 @@ var wt = {};
3716
3718
  var Kt;
3717
3719
  function Sr() {
3718
3720
  return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
3719
- var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), A = Symbol.iterator, L = "@@iterator";
3721
+ var a = W, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), M = Symbol.iterator, U = "@@iterator";
3720
3722
  function P(e) {
3721
3723
  if (e === null || typeof e != "object")
3722
3724
  return null;
3723
- var t = A && e[A] || e[L];
3725
+ var t = M && e[M] || e[U];
3724
3726
  return typeof t == "function" ? t : null;
3725
3727
  }
3726
3728
  var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -3741,26 +3743,26 @@ function Sr() {
3741
3743
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
3742
3744
  }
3743
3745
  }
3744
- var I = !1, q = !1, N = !1, Y = !1, K = !1, M;
3745
- M = Symbol.for("react.module.reference");
3746
- function T(e) {
3747
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || K || e === y || e === g || e === o || Y || e === S || I || q || N || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === u || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
3746
+ var I = !1, K = !1, D = !1, Y = !1, q = !1, $;
3747
+ $ = Symbol.for("react.module.reference");
3748
+ function N(e) {
3749
+ return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || q || e === v || e === h || e === o || Y || e === S || I || K || D || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === u || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
3748
3750
  // types supported by any Flight configuration anywhere since
3749
3751
  // we don't know which Flight build this will end up being used
3750
3752
  // with.
3751
- e.$$typeof === M || e.getModuleId !== void 0));
3753
+ e.$$typeof === $ || e.getModuleId !== void 0));
3752
3754
  }
3753
- function W(e, t, r) {
3755
+ function G(e, t, r) {
3754
3756
  var n = e.displayName;
3755
3757
  if (n)
3756
3758
  return n;
3757
3759
  var f = t.displayName || t.name || "";
3758
3760
  return f !== "" ? r + "(" + f + ")" : r;
3759
3761
  }
3760
- function h(e) {
3762
+ function b(e) {
3761
3763
  return e.displayName || "Context";
3762
3764
  }
3763
- function b(e) {
3765
+ function y(e) {
3764
3766
  if (e == null)
3765
3767
  return null;
3766
3768
  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")
@@ -3774,9 +3776,9 @@ function Sr() {
3774
3776
  return "Portal";
3775
3777
  case C:
3776
3778
  return "Profiler";
3777
- case y:
3779
+ case v:
3778
3780
  return "StrictMode";
3779
- case g:
3781
+ case h:
3780
3782
  return "Suspense";
3781
3783
  case o:
3782
3784
  return "SuspenseList";
@@ -3785,19 +3787,19 @@ function Sr() {
3785
3787
  switch (e.$$typeof) {
3786
3788
  case x:
3787
3789
  var t = e;
3788
- return h(t) + ".Consumer";
3790
+ return b(t) + ".Consumer";
3789
3791
  case E:
3790
3792
  var r = e;
3791
- return h(r._context) + ".Provider";
3793
+ return b(r._context) + ".Provider";
3792
3794
  case s:
3793
- return W(e, e.render, "ForwardRef");
3795
+ return G(e, e.render, "ForwardRef");
3794
3796
  case u:
3795
3797
  var n = e.displayName || null;
3796
- return n !== null ? n : b(e.type) || "Memo";
3798
+ return n !== null ? n : y(e.type) || "Memo";
3797
3799
  case k: {
3798
3800
  var f = e, m = f._payload, l = f._init;
3799
3801
  try {
3800
- return b(l(m));
3802
+ return y(l(m));
3801
3803
  } catch {
3802
3804
  return null;
3803
3805
  }
@@ -3805,14 +3807,14 @@ function Sr() {
3805
3807
  }
3806
3808
  return null;
3807
3809
  }
3808
- var $ = Object.assign, G = 0, X, oe, se, ve, ge, be, ke;
3810
+ var A = Object.assign, L = 0, se, V, oe, ge, le, be, ke;
3809
3811
  function we() {
3810
3812
  }
3811
3813
  we.__reactDisabledLog = !0;
3812
3814
  function We() {
3813
3815
  {
3814
- if (G === 0) {
3815
- X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
3816
+ if (L === 0) {
3817
+ se = console.log, V = console.info, oe = console.warn, ge = console.error, le = console.group, be = console.groupCollapsed, ke = console.groupEnd;
3816
3818
  var e = {
3817
3819
  configurable: !0,
3818
3820
  enumerable: !0,
@@ -3829,65 +3831,65 @@ function Sr() {
3829
3831
  groupEnd: e
3830
3832
  });
3831
3833
  }
3832
- G++;
3834
+ L++;
3833
3835
  }
3834
3836
  }
3835
3837
  function Ue() {
3836
3838
  {
3837
- if (G--, G === 0) {
3839
+ if (L--, L === 0) {
3838
3840
  var e = {
3839
3841
  configurable: !0,
3840
3842
  enumerable: !0,
3841
3843
  writable: !0
3842
3844
  };
3843
3845
  Object.defineProperties(console, {
3844
- log: $({}, e, {
3845
- value: X
3846
- }),
3847
- info: $({}, e, {
3848
- value: oe
3849
- }),
3850
- warn: $({}, e, {
3846
+ log: A({}, e, {
3851
3847
  value: se
3852
3848
  }),
3853
- error: $({}, e, {
3854
- value: ve
3849
+ info: A({}, e, {
3850
+ value: V
3851
+ }),
3852
+ warn: A({}, e, {
3853
+ value: oe
3855
3854
  }),
3856
- group: $({}, e, {
3855
+ error: A({}, e, {
3857
3856
  value: ge
3858
3857
  }),
3859
- groupCollapsed: $({}, e, {
3858
+ group: A({}, e, {
3859
+ value: le
3860
+ }),
3861
+ groupCollapsed: A({}, e, {
3860
3862
  value: be
3861
3863
  }),
3862
- groupEnd: $({}, e, {
3864
+ groupEnd: A({}, e, {
3863
3865
  value: ke
3864
3866
  })
3865
3867
  });
3866
3868
  }
3867
- G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3869
+ L < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3868
3870
  }
3869
3871
  }
3870
- var le = R.ReactCurrentDispatcher, ce;
3872
+ var ce = R.ReactCurrentDispatcher, ue;
3871
3873
  function te(e, t, r) {
3872
3874
  {
3873
- if (ce === void 0)
3875
+ if (ue === void 0)
3874
3876
  try {
3875
3877
  throw Error();
3876
3878
  } catch (f) {
3877
3879
  var n = f.stack.trim().match(/\n( *(at )?)/);
3878
- ce = n && n[1] || "";
3880
+ ue = n && n[1] || "";
3879
3881
  }
3880
3882
  return `
3881
- ` + ce + e;
3883
+ ` + ue + e;
3882
3884
  }
3883
3885
  }
3884
- var ue = !1, re;
3886
+ var de = !1, re;
3885
3887
  {
3886
3888
  var qe = typeof WeakMap == "function" ? WeakMap : Map;
3887
3889
  re = new qe();
3888
3890
  }
3889
3891
  function je(e, t) {
3890
- if (!e || ue)
3892
+ if (!e || de)
3891
3893
  return "";
3892
3894
  {
3893
3895
  var r = re.get(e);
@@ -3895,11 +3897,11 @@ function Sr() {
3895
3897
  return r;
3896
3898
  }
3897
3899
  var n;
3898
- ue = !0;
3900
+ de = !0;
3899
3901
  var f = Error.prepareStackTrace;
3900
3902
  Error.prepareStackTrace = void 0;
3901
3903
  var m;
3902
- m = le.current, le.current = null, We();
3904
+ m = ce.current, ce.current = null, We();
3903
3905
  try {
3904
3906
  if (t) {
3905
3907
  var l = function() {
@@ -3912,29 +3914,29 @@ function Sr() {
3912
3914
  }), typeof Reflect == "object" && Reflect.construct) {
3913
3915
  try {
3914
3916
  Reflect.construct(l, []);
3915
- } catch (D) {
3916
- n = D;
3917
+ } catch (T) {
3918
+ n = T;
3917
3919
  }
3918
3920
  Reflect.construct(e, [], l);
3919
3921
  } else {
3920
3922
  try {
3921
3923
  l.call();
3922
- } catch (D) {
3923
- n = D;
3924
+ } catch (T) {
3925
+ n = T;
3924
3926
  }
3925
3927
  e.call(l.prototype);
3926
3928
  }
3927
3929
  } else {
3928
3930
  try {
3929
3931
  throw Error();
3930
- } catch (D) {
3931
- n = D;
3932
+ } catch (T) {
3933
+ n = T;
3932
3934
  }
3933
3935
  e();
3934
3936
  }
3935
- } catch (D) {
3936
- if (D && n && typeof D.stack == "string") {
3937
- for (var i = D.stack.split(`
3937
+ } catch (T) {
3938
+ if (T && n && typeof T.stack == "string") {
3939
+ for (var i = T.stack.split(`
3938
3940
  `), O = n.stack.split(`
3939
3941
  `), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
3940
3942
  j--;
@@ -3952,7 +3954,7 @@ function Sr() {
3952
3954
  }
3953
3955
  }
3954
3956
  } finally {
3955
- ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
3957
+ de = !1, ce.current = m, Ue(), Error.prepareStackTrace = f;
3956
3958
  }
3957
3959
  var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
3958
3960
  return typeof e == "function" && re.set(e, z), z;
@@ -3972,7 +3974,7 @@ function Sr() {
3972
3974
  if (typeof e == "string")
3973
3975
  return te(e);
3974
3976
  switch (e) {
3975
- case g:
3977
+ case h:
3976
3978
  return te("Suspense");
3977
3979
  case o:
3978
3980
  return te("SuspenseList");
@@ -3993,7 +3995,7 @@ function Sr() {
3993
3995
  }
3994
3996
  return "";
3995
3997
  }
3996
- var V = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
3998
+ var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
3997
3999
  function ne(e) {
3998
4000
  if (e) {
3999
4001
  var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
@@ -4003,7 +4005,7 @@ function Sr() {
4003
4005
  }
4004
4006
  function Ge(e, t, r, n, f) {
4005
4007
  {
4006
- var m = Function.call.bind(V);
4008
+ var m = Function.call.bind(X);
4007
4009
  for (var l in e)
4008
4010
  if (m(e, l)) {
4009
4011
  var i = void 0;
@@ -4021,7 +4023,7 @@ function Sr() {
4021
4023
  }
4022
4024
  }
4023
4025
  var ze = Array.isArray;
4024
- function de(e) {
4026
+ function fe(e) {
4025
4027
  return ze(e);
4026
4028
  }
4027
4029
  function He(e) {
@@ -4051,7 +4053,7 @@ function Sr() {
4051
4053
  __source: !0
4052
4054
  }, Oe, Te;
4053
4055
  function Ve(e) {
4054
- if (V.call(e, "ref")) {
4056
+ if (X.call(e, "ref")) {
4055
4057
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
4056
4058
  if (t && t.isReactWarning)
4057
4059
  return !1;
@@ -4059,7 +4061,7 @@ function Sr() {
4059
4061
  return e.ref !== void 0;
4060
4062
  }
4061
4063
  function Xe(e) {
4062
- if (V.call(e, "key")) {
4064
+ if (X.call(e, "key")) {
4063
4065
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
4064
4066
  if (t && t.isReactWarning)
4065
4067
  return !1;
@@ -4125,7 +4127,7 @@ function Sr() {
4125
4127
  var m, l = {}, i = null, O = null;
4126
4128
  r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t));
4127
4129
  for (m in t)
4128
- V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
4130
+ X.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
4129
4131
  if (e && e.defaultProps) {
4130
4132
  var w = e.defaultProps;
4131
4133
  for (m in w)
@@ -4138,7 +4140,7 @@ function Sr() {
4138
4140
  return rt(e, i, O, f, n, Ee.current, l);
4139
4141
  }
4140
4142
  }
4141
- var fe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
4143
+ var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
4142
4144
  function J(e) {
4143
4145
  if (e) {
4144
4146
  var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
@@ -4146,15 +4148,15 @@ function Sr() {
4146
4148
  } else
4147
4149
  De.setExtraStackFrame(null);
4148
4150
  }
4149
- var pe;
4150
- pe = !1;
4151
- function me(e) {
4151
+ var me;
4152
+ me = !1;
4153
+ function ye(e) {
4152
4154
  return typeof e == "object" && e !== null && e.$$typeof === _;
4153
4155
  }
4154
4156
  function Pe() {
4155
4157
  {
4156
- if (fe.current) {
4157
- var e = b(fe.current.type);
4158
+ if (pe.current) {
4159
+ var e = y(pe.current.type);
4158
4160
  if (e)
4159
4161
  return `
4160
4162
 
@@ -4189,25 +4191,25 @@ Check the top-level render call using <` + r + ">.");
4189
4191
  return;
4190
4192
  Ne[r] = !0;
4191
4193
  var n = "";
4192
- e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
4194
+ e && e._owner && e._owner !== pe.current && (n = " It was passed a child from " + y(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
4193
4195
  }
4194
4196
  }
4195
4197
  function Ie(e, t) {
4196
4198
  {
4197
4199
  if (typeof e != "object")
4198
4200
  return;
4199
- if (de(e))
4201
+ if (fe(e))
4200
4202
  for (var r = 0; r < e.length; r++) {
4201
4203
  var n = e[r];
4202
- me(n) && Fe(n, t);
4204
+ ye(n) && Fe(n, t);
4203
4205
  }
4204
- else if (me(e))
4206
+ else if (ye(e))
4205
4207
  e._store && (e._store.validated = !0);
4206
4208
  else if (e) {
4207
4209
  var f = P(e);
4208
4210
  if (typeof f == "function" && f !== e.entries)
4209
4211
  for (var m = f.call(e), l; !(l = m.next()).done; )
4210
- me(l.value) && Fe(l.value, t);
4212
+ ye(l.value) && Fe(l.value, t);
4211
4213
  }
4212
4214
  }
4213
4215
  }
@@ -4226,11 +4228,11 @@ Check the top-level render call using <` + r + ">.");
4226
4228
  else
4227
4229
  return;
4228
4230
  if (r) {
4229
- var n = b(t);
4231
+ var n = y(t);
4230
4232
  Ge(r, e.props, "prop", n, e);
4231
- } else if (t.PropTypes !== void 0 && !pe) {
4232
- pe = !0;
4233
- var f = b(t);
4233
+ } else if (t.PropTypes !== void 0 && !me) {
4234
+ me = !0;
4235
+ var f = y(t);
4234
4236
  p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
4235
4237
  }
4236
4238
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -4251,14 +4253,14 @@ Check the top-level render call using <` + r + ">.");
4251
4253
  var Me = {};
4252
4254
  function $e(e, t, r, n, f, m) {
4253
4255
  {
4254
- var l = T(e);
4256
+ var l = N(e);
4255
4257
  if (!l) {
4256
4258
  var i = "";
4257
4259
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
4258
4260
  var O = nt();
4259
4261
  O ? i += O : i += Pe();
4260
4262
  var w;
4261
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (b(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
4263
+ e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (y(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
4262
4264
  }
4263
4265
  var j = at(e, t, r, f, m);
4264
4266
  if (j == null)
@@ -4267,7 +4269,7 @@ Check the top-level render call using <` + r + ">.");
4267
4269
  var B = t.children;
4268
4270
  if (B !== void 0)
4269
4271
  if (n)
4270
- if (de(B)) {
4272
+ if (fe(B)) {
4271
4273
  for (var Z = 0; Z < B.length; Z++)
4272
4274
  Ie(B[Z], e);
4273
4275
  Object.freeze && Object.freeze(B);
@@ -4276,18 +4278,18 @@ Check the top-level render call using <` + r + ">.");
4276
4278
  else
4277
4279
  Ie(B, e);
4278
4280
  }
4279
- if (V.call(t, "key")) {
4280
- var z = b(e), D = Object.keys(t).filter(function(ft) {
4281
+ if (X.call(t, "key")) {
4282
+ var z = y(e), T = Object.keys(t).filter(function(ft) {
4281
4283
  return ft !== "key";
4282
- }), ye = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
4283
- if (!Me[z + ye]) {
4284
- var dt = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
4284
+ }), ve = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
4285
+ if (!Me[z + ve]) {
4286
+ var dt = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
4285
4287
  p(`A props object containing a "key" prop is being spread into JSX:
4286
4288
  let props = %s;
4287
4289
  <%s {...props} />
4288
4290
  React keys must be passed directly to JSX without using spread:
4289
4291
  let props = %s;
4290
- <%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
4292
+ <%s key={someKey} {...props} />`, ve, z, dt, z), Me[z + ve] = !0;
4291
4293
  }
4292
4294
  }
4293
4295
  return e === d ? it(j) : _t(j), j;
@@ -4402,13 +4404,13 @@ var Gt;
4402
4404
  function ta() {
4403
4405
  if (Gt) return bt;
4404
4406
  Gt = 1;
4405
- var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
4406
- function E(x, s, g) {
4407
+ var a = W, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, v = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
4408
+ function E(x, s, h) {
4407
4409
  var o, u = {}, k = null, S = null;
4408
- g !== void 0 && (k = "" + g), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
4410
+ h !== void 0 && (k = "" + h), s.key !== void 0 && (k = "" + s.key), s.ref !== void 0 && (S = s.ref);
4409
4411
  for (o in s) d.call(s, o) && !C.hasOwnProperty(o) && (u[o] = s[o]);
4410
4412
  if (x && x.defaultProps) for (o in s = x.defaultProps, s) u[o] === void 0 && (u[o] = s[o]);
4411
- return { $$typeof: _, type: x, key: k, ref: S, props: u, _owner: y.current };
4413
+ return { $$typeof: _, type: x, key: k, ref: S, props: u, _owner: v.current };
4412
4414
  }
4413
4415
  return bt.Fragment = c, bt.jsx = E, bt.jsxs = E, bt;
4414
4416
  }
@@ -4425,11 +4427,11 @@ var jt = {};
4425
4427
  var zt;
4426
4428
  function ra() {
4427
4429
  return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
4428
- var a = U, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), A = Symbol.iterator, L = "@@iterator";
4430
+ var a = W, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), M = Symbol.iterator, U = "@@iterator";
4429
4431
  function P(e) {
4430
4432
  if (e === null || typeof e != "object")
4431
4433
  return null;
4432
- var t = A && e[A] || e[L];
4434
+ var t = M && e[M] || e[U];
4433
4435
  return typeof t == "function" ? t : null;
4434
4436
  }
4435
4437
  var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -4450,26 +4452,26 @@ function ra() {
4450
4452
  m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
4451
4453
  }
4452
4454
  }
4453
- var I = !1, q = !1, N = !1, Y = !1, K = !1, M;
4454
- M = Symbol.for("react.module.reference");
4455
- function T(e) {
4456
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || K || e === y || e === g || e === o || Y || e === S || I || q || N || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === u || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
4455
+ var I = !1, K = !1, D = !1, Y = !1, q = !1, $;
4456
+ $ = Symbol.for("react.module.reference");
4457
+ function N(e) {
4458
+ return !!(typeof e == "string" || typeof e == "function" || e === d || e === C || q || e === v || e === h || e === o || Y || e === S || I || K || D || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === u || e.$$typeof === E || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
4457
4459
  // types supported by any Flight configuration anywhere since
4458
4460
  // we don't know which Flight build this will end up being used
4459
4461
  // with.
4460
- e.$$typeof === M || e.getModuleId !== void 0));
4462
+ e.$$typeof === $ || e.getModuleId !== void 0));
4461
4463
  }
4462
- function W(e, t, r) {
4464
+ function G(e, t, r) {
4463
4465
  var n = e.displayName;
4464
4466
  if (n)
4465
4467
  return n;
4466
4468
  var f = t.displayName || t.name || "";
4467
4469
  return f !== "" ? r + "(" + f + ")" : r;
4468
4470
  }
4469
- function h(e) {
4471
+ function b(e) {
4470
4472
  return e.displayName || "Context";
4471
4473
  }
4472
- function b(e) {
4474
+ function y(e) {
4473
4475
  if (e == null)
4474
4476
  return null;
4475
4477
  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")
@@ -4483,9 +4485,9 @@ function ra() {
4483
4485
  return "Portal";
4484
4486
  case C:
4485
4487
  return "Profiler";
4486
- case y:
4488
+ case v:
4487
4489
  return "StrictMode";
4488
- case g:
4490
+ case h:
4489
4491
  return "Suspense";
4490
4492
  case o:
4491
4493
  return "SuspenseList";
@@ -4494,19 +4496,19 @@ function ra() {
4494
4496
  switch (e.$$typeof) {
4495
4497
  case x:
4496
4498
  var t = e;
4497
- return h(t) + ".Consumer";
4499
+ return b(t) + ".Consumer";
4498
4500
  case E:
4499
4501
  var r = e;
4500
- return h(r._context) + ".Provider";
4502
+ return b(r._context) + ".Provider";
4501
4503
  case s:
4502
- return W(e, e.render, "ForwardRef");
4504
+ return G(e, e.render, "ForwardRef");
4503
4505
  case u:
4504
4506
  var n = e.displayName || null;
4505
- return n !== null ? n : b(e.type) || "Memo";
4507
+ return n !== null ? n : y(e.type) || "Memo";
4506
4508
  case k: {
4507
4509
  var f = e, m = f._payload, l = f._init;
4508
4510
  try {
4509
- return b(l(m));
4511
+ return y(l(m));
4510
4512
  } catch {
4511
4513
  return null;
4512
4514
  }
@@ -4514,14 +4516,14 @@ function ra() {
4514
4516
  }
4515
4517
  return null;
4516
4518
  }
4517
- var $ = Object.assign, G = 0, X, oe, se, ve, ge, be, ke;
4519
+ var A = Object.assign, L = 0, se, V, oe, ge, le, be, ke;
4518
4520
  function we() {
4519
4521
  }
4520
4522
  we.__reactDisabledLog = !0;
4521
4523
  function We() {
4522
4524
  {
4523
- if (G === 0) {
4524
- X = console.log, oe = console.info, se = console.warn, ve = console.error, ge = console.group, be = console.groupCollapsed, ke = console.groupEnd;
4525
+ if (L === 0) {
4526
+ se = console.log, V = console.info, oe = console.warn, ge = console.error, le = console.group, be = console.groupCollapsed, ke = console.groupEnd;
4525
4527
  var e = {
4526
4528
  configurable: !0,
4527
4529
  enumerable: !0,
@@ -4538,65 +4540,65 @@ function ra() {
4538
4540
  groupEnd: e
4539
4541
  });
4540
4542
  }
4541
- G++;
4543
+ L++;
4542
4544
  }
4543
4545
  }
4544
4546
  function Ue() {
4545
4547
  {
4546
- if (G--, G === 0) {
4548
+ if (L--, L === 0) {
4547
4549
  var e = {
4548
4550
  configurable: !0,
4549
4551
  enumerable: !0,
4550
4552
  writable: !0
4551
4553
  };
4552
4554
  Object.defineProperties(console, {
4553
- log: $({}, e, {
4554
- value: X
4555
- }),
4556
- info: $({}, e, {
4557
- value: oe
4558
- }),
4559
- warn: $({}, e, {
4555
+ log: A({}, e, {
4560
4556
  value: se
4561
4557
  }),
4562
- error: $({}, e, {
4563
- value: ve
4558
+ info: A({}, e, {
4559
+ value: V
4564
4560
  }),
4565
- group: $({}, e, {
4561
+ warn: A({}, e, {
4562
+ value: oe
4563
+ }),
4564
+ error: A({}, e, {
4566
4565
  value: ge
4567
4566
  }),
4568
- groupCollapsed: $({}, e, {
4567
+ group: A({}, e, {
4568
+ value: le
4569
+ }),
4570
+ groupCollapsed: A({}, e, {
4569
4571
  value: be
4570
4572
  }),
4571
- groupEnd: $({}, e, {
4573
+ groupEnd: A({}, e, {
4572
4574
  value: ke
4573
4575
  })
4574
4576
  });
4575
4577
  }
4576
- G < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
4578
+ L < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
4577
4579
  }
4578
4580
  }
4579
- var le = R.ReactCurrentDispatcher, ce;
4581
+ var ce = R.ReactCurrentDispatcher, ue;
4580
4582
  function te(e, t, r) {
4581
4583
  {
4582
- if (ce === void 0)
4584
+ if (ue === void 0)
4583
4585
  try {
4584
4586
  throw Error();
4585
4587
  } catch (f) {
4586
4588
  var n = f.stack.trim().match(/\n( *(at )?)/);
4587
- ce = n && n[1] || "";
4589
+ ue = n && n[1] || "";
4588
4590
  }
4589
4591
  return `
4590
- ` + ce + e;
4592
+ ` + ue + e;
4591
4593
  }
4592
4594
  }
4593
- var ue = !1, re;
4595
+ var de = !1, re;
4594
4596
  {
4595
4597
  var qe = typeof WeakMap == "function" ? WeakMap : Map;
4596
4598
  re = new qe();
4597
4599
  }
4598
4600
  function je(e, t) {
4599
- if (!e || ue)
4601
+ if (!e || de)
4600
4602
  return "";
4601
4603
  {
4602
4604
  var r = re.get(e);
@@ -4604,11 +4606,11 @@ function ra() {
4604
4606
  return r;
4605
4607
  }
4606
4608
  var n;
4607
- ue = !0;
4609
+ de = !0;
4608
4610
  var f = Error.prepareStackTrace;
4609
4611
  Error.prepareStackTrace = void 0;
4610
4612
  var m;
4611
- m = le.current, le.current = null, We();
4613
+ m = ce.current, ce.current = null, We();
4612
4614
  try {
4613
4615
  if (t) {
4614
4616
  var l = function() {
@@ -4621,29 +4623,29 @@ function ra() {
4621
4623
  }), typeof Reflect == "object" && Reflect.construct) {
4622
4624
  try {
4623
4625
  Reflect.construct(l, []);
4624
- } catch (D) {
4625
- n = D;
4626
+ } catch (T) {
4627
+ n = T;
4626
4628
  }
4627
4629
  Reflect.construct(e, [], l);
4628
4630
  } else {
4629
4631
  try {
4630
4632
  l.call();
4631
- } catch (D) {
4632
- n = D;
4633
+ } catch (T) {
4634
+ n = T;
4633
4635
  }
4634
4636
  e.call(l.prototype);
4635
4637
  }
4636
4638
  } else {
4637
4639
  try {
4638
4640
  throw Error();
4639
- } catch (D) {
4640
- n = D;
4641
+ } catch (T) {
4642
+ n = T;
4641
4643
  }
4642
4644
  e();
4643
4645
  }
4644
- } catch (D) {
4645
- if (D && n && typeof D.stack == "string") {
4646
- for (var i = D.stack.split(`
4646
+ } catch (T) {
4647
+ if (T && n && typeof T.stack == "string") {
4648
+ for (var i = T.stack.split(`
4647
4649
  `), O = n.stack.split(`
4648
4650
  `), w = i.length - 1, j = O.length - 1; w >= 1 && j >= 0 && i[w] !== O[j]; )
4649
4651
  j--;
@@ -4661,7 +4663,7 @@ function ra() {
4661
4663
  }
4662
4664
  }
4663
4665
  } finally {
4664
- ue = !1, le.current = m, Ue(), Error.prepareStackTrace = f;
4666
+ de = !1, ce.current = m, Ue(), Error.prepareStackTrace = f;
4665
4667
  }
4666
4668
  var Z = e ? e.displayName || e.name : "", z = Z ? te(Z) : "";
4667
4669
  return typeof e == "function" && re.set(e, z), z;
@@ -4681,7 +4683,7 @@ function ra() {
4681
4683
  if (typeof e == "string")
4682
4684
  return te(e);
4683
4685
  switch (e) {
4684
- case g:
4686
+ case h:
4685
4687
  return te("Suspense");
4686
4688
  case o:
4687
4689
  return te("SuspenseList");
@@ -4702,7 +4704,7 @@ function ra() {
4702
4704
  }
4703
4705
  return "";
4704
4706
  }
4705
- var V = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
4707
+ var X = Object.prototype.hasOwnProperty, xe = {}, Ce = R.ReactDebugCurrentFrame;
4706
4708
  function ne(e) {
4707
4709
  if (e) {
4708
4710
  var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
@@ -4712,7 +4714,7 @@ function ra() {
4712
4714
  }
4713
4715
  function Ge(e, t, r, n, f) {
4714
4716
  {
4715
- var m = Function.call.bind(V);
4717
+ var m = Function.call.bind(X);
4716
4718
  for (var l in e)
4717
4719
  if (m(e, l)) {
4718
4720
  var i = void 0;
@@ -4730,7 +4732,7 @@ function ra() {
4730
4732
  }
4731
4733
  }
4732
4734
  var ze = Array.isArray;
4733
- function de(e) {
4735
+ function fe(e) {
4734
4736
  return ze(e);
4735
4737
  }
4736
4738
  function He(e) {
@@ -4760,7 +4762,7 @@ function ra() {
4760
4762
  __source: !0
4761
4763
  }, Oe, Te;
4762
4764
  function Ve(e) {
4763
- if (V.call(e, "ref")) {
4765
+ if (X.call(e, "ref")) {
4764
4766
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
4765
4767
  if (t && t.isReactWarning)
4766
4768
  return !1;
@@ -4768,7 +4770,7 @@ function ra() {
4768
4770
  return e.ref !== void 0;
4769
4771
  }
4770
4772
  function Xe(e) {
4771
- if (V.call(e, "key")) {
4773
+ if (X.call(e, "key")) {
4772
4774
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
4773
4775
  if (t && t.isReactWarning)
4774
4776
  return !1;
@@ -4834,7 +4836,7 @@ function ra() {
4834
4836
  var m, l = {}, i = null, O = null;
4835
4837
  r !== void 0 && (Re(r), i = "" + r), Xe(t) && (Re(t.key), i = "" + t.key), Ve(t) && (O = t.ref, Qe(t));
4836
4838
  for (m in t)
4837
- V.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
4839
+ X.call(t, m) && !Ze.hasOwnProperty(m) && (l[m] = t[m]);
4838
4840
  if (e && e.defaultProps) {
4839
4841
  var w = e.defaultProps;
4840
4842
  for (m in w)
@@ -4847,7 +4849,7 @@ function ra() {
4847
4849
  return rt(e, i, O, f, n, Ee.current, l);
4848
4850
  }
4849
4851
  }
4850
- var fe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
4852
+ var pe = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
4851
4853
  function J(e) {
4852
4854
  if (e) {
4853
4855
  var t = e._owner, r = ae(e.type, e._source, t ? t.type : null);
@@ -4855,15 +4857,15 @@ function ra() {
4855
4857
  } else
4856
4858
  De.setExtraStackFrame(null);
4857
4859
  }
4858
- var pe;
4859
- pe = !1;
4860
- function me(e) {
4860
+ var me;
4861
+ me = !1;
4862
+ function ye(e) {
4861
4863
  return typeof e == "object" && e !== null && e.$$typeof === _;
4862
4864
  }
4863
4865
  function Pe() {
4864
4866
  {
4865
- if (fe.current) {
4866
- var e = b(fe.current.type);
4867
+ if (pe.current) {
4868
+ var e = y(pe.current.type);
4867
4869
  if (e)
4868
4870
  return `
4869
4871
 
@@ -4898,25 +4900,25 @@ Check the top-level render call using <` + r + ">.");
4898
4900
  return;
4899
4901
  Ne[r] = !0;
4900
4902
  var n = "";
4901
- e && e._owner && e._owner !== fe.current && (n = " It was passed a child from " + b(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
4903
+ e && e._owner && e._owner !== pe.current && (n = " It was passed a child from " + y(e._owner.type) + "."), J(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), J(null);
4902
4904
  }
4903
4905
  }
4904
4906
  function Ie(e, t) {
4905
4907
  {
4906
4908
  if (typeof e != "object")
4907
4909
  return;
4908
- if (de(e))
4910
+ if (fe(e))
4909
4911
  for (var r = 0; r < e.length; r++) {
4910
4912
  var n = e[r];
4911
- me(n) && Fe(n, t);
4913
+ ye(n) && Fe(n, t);
4912
4914
  }
4913
- else if (me(e))
4915
+ else if (ye(e))
4914
4916
  e._store && (e._store.validated = !0);
4915
4917
  else if (e) {
4916
4918
  var f = P(e);
4917
4919
  if (typeof f == "function" && f !== e.entries)
4918
4920
  for (var m = f.call(e), l; !(l = m.next()).done; )
4919
- me(l.value) && Fe(l.value, t);
4921
+ ye(l.value) && Fe(l.value, t);
4920
4922
  }
4921
4923
  }
4922
4924
  }
@@ -4935,11 +4937,11 @@ Check the top-level render call using <` + r + ">.");
4935
4937
  else
4936
4938
  return;
4937
4939
  if (r) {
4938
- var n = b(t);
4940
+ var n = y(t);
4939
4941
  Ge(r, e.props, "prop", n, e);
4940
- } else if (t.PropTypes !== void 0 && !pe) {
4941
- pe = !0;
4942
- var f = b(t);
4942
+ } else if (t.PropTypes !== void 0 && !me) {
4943
+ me = !0;
4944
+ var f = y(t);
4943
4945
  p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
4944
4946
  }
4945
4947
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -4960,14 +4962,14 @@ Check the top-level render call using <` + r + ">.");
4960
4962
  var Me = {};
4961
4963
  function $e(e, t, r, n, f, m) {
4962
4964
  {
4963
- var l = T(e);
4965
+ var l = N(e);
4964
4966
  if (!l) {
4965
4967
  var i = "";
4966
4968
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
4967
4969
  var O = nt();
4968
4970
  O ? i += O : i += Pe();
4969
4971
  var w;
4970
- e === null ? w = "null" : de(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (b(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
4972
+ e === null ? w = "null" : fe(e) ? w = "array" : e !== void 0 && e.$$typeof === _ ? (w = "<" + (y(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, i);
4971
4973
  }
4972
4974
  var j = at(e, t, r, f, m);
4973
4975
  if (j == null)
@@ -4976,7 +4978,7 @@ Check the top-level render call using <` + r + ">.");
4976
4978
  var B = t.children;
4977
4979
  if (B !== void 0)
4978
4980
  if (n)
4979
- if (de(B)) {
4981
+ if (fe(B)) {
4980
4982
  for (var Z = 0; Z < B.length; Z++)
4981
4983
  Ie(B[Z], e);
4982
4984
  Object.freeze && Object.freeze(B);
@@ -4985,18 +4987,18 @@ Check the top-level render call using <` + r + ">.");
4985
4987
  else
4986
4988
  Ie(B, e);
4987
4989
  }
4988
- if (V.call(t, "key")) {
4989
- var z = b(e), D = Object.keys(t).filter(function(ft) {
4990
+ if (X.call(t, "key")) {
4991
+ var z = y(e), T = Object.keys(t).filter(function(ft) {
4990
4992
  return ft !== "key";
4991
- }), ye = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
4992
- if (!Me[z + ye]) {
4993
- var dt = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
4993
+ }), ve = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
4994
+ if (!Me[z + ve]) {
4995
+ var dt = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
4994
4996
  p(`A props object containing a "key" prop is being spread into JSX:
4995
4997
  let props = %s;
4996
4998
  <%s {...props} />
4997
4999
  React keys must be passed directly to JSX without using spread:
4998
5000
  let props = %s;
4999
- <%s key={someKey} {...props} />`, ye, z, dt, z), Me[z + ye] = !0;
5001
+ <%s key={someKey} {...props} />`, ve, z, dt, z), Me[z + ve] = !0;
5000
5002
  }
5001
5003
  }
5002
5004
  return e === d ? it(j) : _t(j), j;
@@ -5028,25 +5030,25 @@ const aa = "_btn_1k1b3_1", na = "_confirm_1k1b3_15", oa = "_cancel_1k1b3_20", _a
5028
5030
  onSend: _,
5029
5031
  size: c = "m",
5030
5032
  view: d = "confirm",
5031
- children: y,
5033
+ children: v,
5032
5034
  isDisabled: C = !1,
5033
5035
  className: E,
5034
5036
  after: x,
5035
5037
  before: s,
5036
- label: g,
5038
+ label: h,
5037
5039
  onRef: o,
5038
5040
  awaitText: u = "Ожидайте"
5039
5041
  }) => {
5040
- let [k, S] = U.useState(!1);
5041
- const A = (P) => {
5042
+ let [k, S] = W.useState(!1);
5043
+ const M = (P) => {
5042
5044
  if (a) return a();
5043
5045
  k || (_ ? (S(!0), _(S)) : P.preventDefault());
5044
5046
  };
5045
- let L = {};
5046
- return (C || k) && (L.disabled = !0), /* @__PURE__ */ Ot.jsx(
5047
+ let U = {};
5048
+ return (C || k) && (U.disabled = !0), /* @__PURE__ */ Ot.jsx(
5047
5049
  "button",
5048
5050
  {
5049
- ...L,
5051
+ ...U,
5050
5052
  ref: o,
5051
5053
  className: [
5052
5054
  xt.btn,
@@ -5054,14 +5056,14 @@ const aa = "_btn_1k1b3_1", na = "_confirm_1k1b3_15", oa = "_cancel_1k1b3_20", _a
5054
5056
  c && xt[c],
5055
5057
  E
5056
5058
  ].filter((P) => P != "").join(" "),
5057
- onClick: A,
5059
+ onClick: M,
5058
5060
  children: k ? u : /* @__PURE__ */ Ot.jsxs(Ot.Fragment, { children: [
5059
5061
  s || "",
5060
5062
  " ",
5061
- g,
5063
+ h,
5062
5064
  " ",
5063
5065
  x || ""
5064
- ] }) || y
5066
+ ] }) || v
5065
5067
  }
5066
5068
  );
5067
5069
  };
@@ -5074,13 +5076,13 @@ var Rt;
5074
5076
  function _({
5075
5077
  import_modules: o
5076
5078
  }) {
5077
- let [u, k] = U.useState([]);
5079
+ let [u, k] = W.useState([]);
5078
5080
  return Ae.x = (S) => {
5079
- k(S ? u.filter((A) => A.key !== S) : []);
5081
+ k(S ? u.filter((M) => M.key !== S) : []);
5080
5082
  }, Zt(() => {
5081
5083
  o && (Ae.i = o);
5082
- }, []), Ae.add = (S, A = Date.now()) => {
5083
- k([...u, { key: A, item: S }]);
5084
+ }, []), Ae.add = (S, M = Date.now()) => {
5085
+ k([...u, { key: M, item: S }]);
5084
5086
  }, /* @__PURE__ */ H.jsx(H.Fragment, { children: u.map((S) => S.item) });
5085
5087
  }
5086
5088
  a.Init = _;
@@ -5096,17 +5098,17 @@ var Rt;
5096
5098
  });
5097
5099
  }
5098
5100
  a.Open = d;
5099
- function y({ type: o, name: u, params: k }) {
5100
- let [S, A] = U.useState(null);
5101
- return U.useEffect(() => {
5102
- Ae.i ? Ae.i(`${o}/modal/${u}.tsx`).then((L) => {
5103
- A(L.default.Icon(k));
5104
- }) : Yt()(`${o}/modal/${u}.tsx`).then((L) => {
5105
- A(L.default.Icon(k));
5101
+ function v({ type: o, name: u, params: k }) {
5102
+ let [S, M] = W.useState(null);
5103
+ return W.useEffect(() => {
5104
+ Ae.i ? Ae.i(`${o}/modal/${u}.tsx`).then((U) => {
5105
+ M(U.default.Icon(k));
5106
+ }) : Yt()(`${o}/modal/${u}.tsx`).then((U) => {
5107
+ M(U.default.Icon(k));
5106
5108
  });
5107
5109
  }, [k.id]), /* @__PURE__ */ H.jsx(H.Fragment, { children: S });
5108
5110
  }
5109
- a.Icon = y;
5111
+ a.Icon = v;
5110
5112
  function C(o, u) {
5111
5113
  Ae.add(/* @__PURE__ */ H.jsx(ua, { children: o }, String(Date.now())), u);
5112
5114
  }
@@ -5135,17 +5137,17 @@ var Rt;
5135
5137
  };
5136
5138
  }
5137
5139
  a.Create = s;
5138
- function g({
5140
+ function h({
5139
5141
  title: o,
5140
5142
  children: u,
5141
5143
  button: k,
5142
5144
  tabs: S,
5143
- size: A = "m",
5144
- className: L = "",
5145
+ size: M = "m",
5146
+ className: U = "",
5145
5147
  shake: P = !0,
5146
5148
  menu: R
5147
5149
  }) {
5148
- const [p, F] = U.useState(!0), I = U.useRef(), q = (Y) => {
5150
+ const [p, F] = W.useState(!0), I = W.useRef(), K = (Y) => {
5149
5151
  if (k) {
5150
5152
  if (k.onClick)
5151
5153
  return Y(!1), k.onClick({ setOpen: F });
@@ -5155,31 +5157,31 @@ var Rt;
5155
5157
  disabled: Y
5156
5158
  });
5157
5159
  }
5158
- }, N = () => {
5160
+ }, D = () => {
5159
5161
  if (!P) return F(!1);
5160
5162
  I.current.setAttribute("shake", !0), setTimeout(() => {
5161
5163
  I.current.setAttribute("shake", !1);
5162
5164
  }, 1e3);
5163
5165
  };
5164
5166
  return p ? /* @__PURE__ */ H.jsxs("div", { className: `${ie.modal}`, children: [
5165
- /* @__PURE__ */ H.jsx("div", { className: ie.o, onClick: N }),
5167
+ /* @__PURE__ */ H.jsx("div", { className: ie.o, onClick: D }),
5166
5168
  /* @__PURE__ */ H.jsxs(
5167
5169
  "div",
5168
5170
  {
5169
- className: [ie.w, ie[`s${A}`], L].filter((Y) => Y != "").join(" "),
5171
+ className: [ie.w, ie[`s${M}`], U].filter((Y) => Y != "").join(" "),
5170
5172
  ref: I,
5171
5173
  children: [
5172
5174
  /* @__PURE__ */ H.jsxs("div", { className: ie.h, children: [
5173
5175
  /* @__PURE__ */ H.jsx("div", { className: ie.t, children: o }),
5174
5176
  /* @__PURE__ */ H.jsxs("div", { className: ie.m, children: [
5175
- S && /* @__PURE__ */ H.jsx("nav", { children: S.map((Y, K) => /* @__PURE__ */ H.jsx(
5177
+ S && /* @__PURE__ */ H.jsx("nav", { children: S.map((Y, q) => /* @__PURE__ */ H.jsx(
5176
5178
  "span",
5177
5179
  {
5178
5180
  onClick: Y.onClick,
5179
5181
  className: Y.active ? "active" : "",
5180
5182
  children: Y.name
5181
5183
  },
5182
- K
5184
+ q
5183
5185
  )) }),
5184
5186
  R
5185
5187
  ] }),
@@ -5208,7 +5210,7 @@ var Rt;
5208
5210
  ca,
5209
5211
  {
5210
5212
  label: k.label,
5211
- onSend: q,
5213
+ onSend: K,
5212
5214
  className: ie.btn,
5213
5215
  size: k.size
5214
5216
  }
@@ -5218,7 +5220,7 @@ var Rt;
5218
5220
  )
5219
5221
  ] }) : "";
5220
5222
  }
5221
- a.Main = g;
5223
+ a.Main = h;
5222
5224
  })(Rt || (Rt = {}));
5223
5225
  const da = (a, _ = ",") => (a = a !== void 0 && a !== "" ? a.split(_) : [], a.filter((c) => c !== "").reduce((c, d) => (c[d] = !0, c), {}));
5224
5226
  function Oa({
@@ -5226,20 +5228,20 @@ function Oa({
5226
5228
  onValue: _,
5227
5229
  name: c,
5228
5230
  placeholder: d = "",
5229
- separator: y = ",",
5231
+ separator: v = ",",
5230
5232
  title: C,
5231
5233
  error: E,
5232
5234
  hide: x = !1,
5233
5235
  edit: s = !0,
5234
- active: g = !0,
5236
+ active: h = !0,
5235
5237
  outFormat: o = "object",
5236
5238
  after: u = "",
5237
5239
  modal: k,
5238
5240
  options: S,
5239
- className: A
5241
+ className: M
5240
5242
  }) {
5241
- const [L, P] = U.useState(da(a, y)), R = (p) => {
5242
- if (!(s && g) || !k) return;
5243
+ const [U, P] = W.useState(da(a, v)), R = (p) => {
5244
+ if (!(s && h) || !k) return;
5243
5245
  let F = k.split(".");
5244
5246
  Rt.Open(F[0], F[1], {
5245
5247
  callback: (I) => {
@@ -5250,7 +5252,7 @@ function Oa({
5250
5252
  break;
5251
5253
  case "string":
5252
5254
  _({
5253
- value: Object.keys(I).filter((q) => I[q]).join(y),
5255
+ value: Object.keys(I).filter((K) => I[K]).join(v),
5254
5256
  name: c
5255
5257
  });
5256
5258
  break;
@@ -5260,7 +5262,7 @@ function Oa({
5260
5262
  P(
5261
5263
  Object.fromEntries(
5262
5264
  Object.entries(I).filter(
5263
- ([q, N]) => N !== !1
5265
+ ([K, D]) => D !== !1
5264
5266
  )
5265
5267
  )
5266
5268
  );
@@ -5268,24 +5270,24 @@ function Oa({
5268
5270
  onValue: _,
5269
5271
  options: S,
5270
5272
  name: c,
5271
- value: L
5273
+ value: U
5272
5274
  });
5273
5275
  };
5274
- return x ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
5276
+ return x ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
5275
5277
  Be,
5276
5278
  {
5277
5279
  type: "group",
5278
5280
  title: C,
5279
- element_blok: { className: [A] },
5281
+ element_blok: { className: [M] },
5280
5282
  element_input: {
5281
5283
  className: [_e.g],
5282
5284
  props: {
5283
5285
  onClick: R
5284
5286
  }
5285
5287
  },
5286
- children: Object.keys(L).map((p) => {
5288
+ children: Object.keys(U).map((p) => {
5287
5289
  var F;
5288
- return /* @__PURE__ */ v.jsx("div", { children: (F = S[p]) == null ? void 0 : F.label }, p);
5290
+ return /* @__PURE__ */ g.jsx("div", { children: (F = S[p]) == null ? void 0 : F.label }, p);
5289
5291
  })
5290
5292
  }
5291
5293
  );
@@ -5300,55 +5302,55 @@ function Ta({
5300
5302
  error: _,
5301
5303
  edit: c = !0,
5302
5304
  active: d = !0,
5303
- hide: y,
5305
+ hide: v,
5304
5306
  value: C = 0,
5305
5307
  onValue: E,
5306
5308
  options: x,
5307
5309
  placeholder: s = "",
5308
- className: g,
5310
+ className: h,
5309
5311
  isIcon: o = !0,
5310
5312
  name: u,
5311
5313
  after: k,
5312
5314
  view: S,
5313
- order: A,
5314
- isReload: L = !1
5315
+ order: M,
5316
+ isReload: U = !1
5315
5317
  }) {
5316
- var W, h;
5317
- const P = U.useRef(null), [R, p] = U.useState(C), [F, I] = U.useState(x), [q, N] = U.useState(!1);
5318
- U.useEffect(() => {
5318
+ var G, b;
5319
+ const P = W.useRef(null), [R, p] = W.useState(C), [F, I] = W.useState(x), [K, D] = W.useState(!1);
5320
+ W.useEffect(() => {
5319
5321
  p(C), I(x);
5320
- }, [C, x]), y = !!(y && (C === 0 || ((W = F == null ? void 0 : F[C]) == null ? void 0 : W.n) === void 0)) && !(c && d);
5321
- let K = (b) => {
5322
- p(b), E && E({ value: b, name: u, reload: L });
5323
- }, M = (b) => {
5324
- Object.keys(F || {}).length !== 0 && c && d && (P.position = P.current.getBoundingClientRect(), N(!0));
5325
- }, T = {};
5326
- return s && (T.placeholder = s), y ? "" : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
5327
- /* @__PURE__ */ v.jsx(
5322
+ }, [C, x]), v = !!(v && (C === 0 || ((G = F == null ? void 0 : F[C]) == null ? void 0 : G.n) === void 0)) && !(c && d);
5323
+ let q = (y) => {
5324
+ p(y), E && E({ value: y, name: u, reload: U });
5325
+ }, $ = (y) => {
5326
+ Object.keys(F || {}).length !== 0 && c && d && (P.position = P.current.getBoundingClientRect(), D(!0));
5327
+ }, N = {};
5328
+ return s && (N.placeholder = s), v ? "" : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
5329
+ /* @__PURE__ */ g.jsx(
5328
5330
  Be,
5329
5331
  {
5330
5332
  type: "select",
5331
5333
  title: a,
5332
- element_blok: { className: [g] },
5334
+ element_blok: { className: [h] },
5333
5335
  element_input: {
5334
5336
  className: [Ft.f],
5335
- props: { onClick: M }
5337
+ props: { onClick: $ }
5336
5338
  },
5337
5339
  ref: P,
5338
- children: /* @__PURE__ */ v.jsx("div", { ...T, children: (h = F == null ? void 0 : F[R]) == null ? void 0 : h.n })
5340
+ children: /* @__PURE__ */ g.jsx("div", { ...N, children: (b = F == null ? void 0 : F[R]) == null ? void 0 : b.n })
5339
5341
  }
5340
5342
  ),
5341
- q && Mt(
5342
- /* @__PURE__ */ v.jsx(
5343
+ K && Mt(
5344
+ /* @__PURE__ */ g.jsx(
5343
5345
  ya,
5344
5346
  {
5345
5347
  parent: P.position,
5346
- onValue: K,
5348
+ onValue: q,
5347
5349
  view: S,
5348
- className: g,
5350
+ className: h,
5349
5351
  options: F,
5350
- order: A,
5351
- setOpen: N
5352
+ order: M,
5353
+ setOpen: D
5352
5354
  },
5353
5355
  (/* @__PURE__ */ new Date()).getTime()
5354
5356
  ),
@@ -5361,16 +5363,16 @@ const ya = ({
5361
5363
  parent: _,
5362
5364
  className: c,
5363
5365
  options: d,
5364
- order: y,
5366
+ order: v,
5365
5367
  setOpen: C
5366
5368
  }) => {
5367
5369
  let E = () => {
5368
5370
  C(!1);
5369
5371
  }, x = (o) => {
5370
5372
  C(!1), a(o);
5371
- }, s = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, g = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
5372
- return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
5373
- /* @__PURE__ */ v.jsx(
5373
+ }, s = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, h = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
5374
+ return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
5375
+ /* @__PURE__ */ g.jsx(
5374
5376
  "div",
5375
5377
  {
5376
5378
  className: Ft.o,
@@ -5378,21 +5380,21 @@ const ya = ({
5378
5380
  },
5379
5381
  (/* @__PURE__ */ new Date()).getTime()
5380
5382
  ),
5381
- /* @__PURE__ */ v.jsx(
5383
+ /* @__PURE__ */ g.jsx(
5382
5384
  "div",
5383
5385
  {
5384
5386
  className: [Ft.l, c].filter((o) => o !== void 0).join(" "),
5385
5387
  style: {
5386
5388
  top: s + "px",
5387
- left: g + "px",
5389
+ left: h + "px",
5388
5390
  width: _.width
5389
5391
  },
5390
- children: /* @__PURE__ */ v.jsx(va, { order: y, options: d, link: x })
5392
+ children: /* @__PURE__ */ g.jsx(va, { order: v, options: d, link: x })
5391
5393
  }
5392
5394
  )
5393
5395
  ] });
5394
- }, va = ({ order: a, options: _, link: c }) => a ? /* @__PURE__ */ v.jsx("ul", { children: a.map(
5395
- (d, y) => _[d].s !== 0 ? /* @__PURE__ */ v.jsx(
5396
+ }, va = ({ order: a, options: _, link: c }) => a ? /* @__PURE__ */ g.jsx("ul", { children: a.map(
5397
+ (d, v) => _[d].s !== 0 ? /* @__PURE__ */ g.jsx(
5396
5398
  "li",
5397
5399
  {
5398
5400
  onClick: () => {
@@ -5400,10 +5402,10 @@ const ya = ({
5400
5402
  },
5401
5403
  children: _[d].n
5402
5404
  },
5403
- y
5405
+ v
5404
5406
  ) : ""
5405
- ) }) : /* @__PURE__ */ v.jsx("ul", { children: Object.keys(_).map(
5406
- (d, y) => _[d].s !== 0 ? /* @__PURE__ */ v.jsx(
5407
+ ) }) : /* @__PURE__ */ g.jsx("ul", { children: Object.keys(_).map(
5408
+ (d, v) => _[d].s !== 0 ? /* @__PURE__ */ g.jsx(
5407
5409
  "li",
5408
5410
  {
5409
5411
  onClick: () => {
@@ -5411,7 +5413,7 @@ const ya = ({
5411
5413
  },
5412
5414
  children: _[d].n
5413
5415
  },
5414
- y
5416
+ v
5415
5417
  ) : ""
5416
5418
  ) });
5417
5419
  function Da({
@@ -5419,43 +5421,43 @@ function Da({
5419
5421
  onValue: _,
5420
5422
  name: c,
5421
5423
  placeholder: d = "",
5422
- title: y,
5424
+ title: v,
5423
5425
  error: C,
5424
5426
  hide: E = !1,
5425
5427
  edit: x = !0,
5426
5428
  show: s = !0,
5427
- active: g = !0,
5429
+ active: h = !0,
5428
5430
  after: o = "",
5429
5431
  view: u,
5430
5432
  modal: k,
5431
5433
  module: S,
5432
- options: A,
5433
- className: L
5434
+ options: M,
5435
+ className: U
5434
5436
  }) {
5435
- const [P, R] = U.useState(a), p = (I) => {
5436
- if (!(x && g) || !k) return;
5437
- let q = k.split(".");
5438
- Rt.Open(q[0], q[1], {
5439
- callback: (N) => {
5440
- _ && _({ value: N, name: c }), R(N);
5437
+ const [P, R] = W.useState(a), p = (I) => {
5438
+ if (!(x && h) || !k) return;
5439
+ let K = k.split(".");
5440
+ Rt.Open(K[0], K[1], {
5441
+ callback: (D) => {
5442
+ _ && _({ value: D, name: c }), R(D);
5441
5443
  },
5442
5444
  onValue: _,
5443
- options: A,
5445
+ options: M,
5444
5446
  name: c,
5445
5447
  value: a
5446
5448
  });
5447
5449
  }, F = {};
5448
- return d && (F.placeholder = d), E ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(
5450
+ return d && (F.placeholder = d), E ? /* @__PURE__ */ g.jsx(g.Fragment, {}) : /* @__PURE__ */ g.jsx(
5449
5451
  Be,
5450
5452
  {
5451
5453
  type: "input",
5452
- title: y,
5453
- element_blok: { className: [L] },
5454
+ title: v,
5455
+ element_blok: { className: [U] },
5454
5456
  element_input: {
5455
5457
  className: [_e.w],
5456
5458
  props: { onClick: p }
5457
5459
  },
5458
- children: /* @__PURE__ */ v.jsx("div", { ...F, children: P })
5460
+ children: /* @__PURE__ */ g.jsx("div", { ...F, children: P })
5459
5461
  }
5460
5462
  );
5461
5463
  }
@@ -5464,66 +5466,66 @@ function Pa({
5464
5466
  onValue: _,
5465
5467
  onSave: c,
5466
5468
  name: d,
5467
- placeholder: y = "",
5469
+ placeholder: v = "",
5468
5470
  className: C,
5469
5471
  title: E,
5470
5472
  error: x,
5471
5473
  edit: s = !0,
5472
- active: g = !0,
5474
+ active: h = !0,
5473
5475
  reload: o = !1,
5474
5476
  native: u = !1,
5475
5477
  isShow: k = !1,
5476
5478
  maxLength: S,
5477
- eyes: A = [],
5478
- after: L = ""
5479
+ eyes: M = [],
5480
+ after: U = ""
5479
5481
  }) {
5480
- const [P, R] = U.useState(k);
5481
- let p = (K) => {
5482
+ const [P, R] = W.useState(k);
5483
+ let p = (q) => {
5482
5484
  _ && _({
5483
- value: K.target.textContent,
5485
+ value: q.target.textContent,
5484
5486
  name: d,
5485
5487
  reload: o
5486
5488
  });
5487
- }, F = (K) => {
5488
- K.key === "Enter" && K.preventDefault();
5489
- }, I = (K) => {
5490
- K.preventDefault(), navigator.clipboard.readText().then((M) => {
5489
+ }, F = (q) => {
5490
+ q.key === "Enter" && q.preventDefault();
5491
+ }, I = (q) => {
5492
+ q.preventDefault(), navigator.clipboard.readText().then(($) => {
5491
5493
  if (S) {
5492
- let T = K.target.textContent.length;
5493
- if (T >= S) return;
5494
- S -= T, M = M.slice(0, S);
5494
+ let N = q.target.textContent.length;
5495
+ if (N >= S) return;
5496
+ S -= N, $ = $.slice(0, S);
5495
5497
  }
5496
5498
  window.document.execCommand(
5497
5499
  "insertText",
5498
5500
  !1,
5499
- M.replace(/(\r\n|\n|\r)/gm, " ")
5501
+ $.replace(/(\r\n|\n|\r)/gm, " ")
5500
5502
  );
5501
- }).catch((M) => {
5503
+ }).catch(($) => {
5502
5504
  });
5503
- }, q = (K) => {
5504
- ee.Blur(K), c == null || c({ value: K.target.textContent.trim(), name: d });
5505
+ }, K = (q) => {
5506
+ ee.Blur(q), c == null || c({ value: q.target.textContent.trim(), name: d });
5505
5507
  };
5506
- const N = {};
5507
- N.field = "password", P && (N.show = ""), C && (N.className = C);
5508
+ const D = {};
5509
+ D.field = "password", P && (D.show = ""), C && (D.className = C);
5508
5510
  const Y = {};
5509
- return y && (Y.placeholder = y), u ? "" : /* @__PURE__ */ v.jsxs("dl", { ...N, children: [
5510
- E ? /* @__PURE__ */ v.jsx("dt", { children: E }) : "",
5511
- /* @__PURE__ */ v.jsx(
5511
+ return v && (Y.placeholder = v), u ? "" : /* @__PURE__ */ g.jsxs("dl", { ...D, children: [
5512
+ E ? /* @__PURE__ */ g.jsx("dt", { children: E }) : "",
5513
+ /* @__PURE__ */ g.jsx(
5512
5514
  "dd",
5513
5515
  {
5514
5516
  onPaste: I,
5515
5517
  onInput: p,
5516
5518
  onKeyDown: F,
5517
- onBlur: q,
5518
- contentEditable: s && g ? ee.ContentEditable : "false",
5519
+ onBlur: K,
5520
+ contentEditable: s && h ? ee.ContentEditable : "false",
5519
5521
  ...Y,
5520
5522
  suppressContentEditableWarning: !0,
5521
5523
  children: a
5522
5524
  }
5523
5525
  ),
5524
- A[0] && /* @__PURE__ */ v.jsx("i", { onClick: () => R(!P), children: P ? A[1] : A[0] }),
5525
- L,
5526
- x ? /* @__PURE__ */ v.jsx("em", { children: x }) : ""
5526
+ M[0] && /* @__PURE__ */ g.jsx("i", { onClick: () => R(!P), children: P ? M[1] : M[0] }),
5527
+ U,
5528
+ x ? /* @__PURE__ */ g.jsx("em", { children: x }) : ""
5527
5529
  ] });
5528
5530
  }
5529
5531
  function Na({
@@ -5531,25 +5533,25 @@ function Na({
5531
5533
  label: _,
5532
5534
  value: c,
5533
5535
  title: d,
5534
- className: y,
5536
+ className: v,
5535
5537
  name: C,
5536
5538
  text: E,
5537
5539
  id: x,
5538
5540
  reload: s
5539
5541
  }) {
5540
- const [g, o] = U.useState(!!c);
5541
- U.useEffect(() => {
5542
+ const [h, o] = W.useState(!!c);
5543
+ W.useEffect(() => {
5542
5544
  o(!!c);
5543
5545
  }, [c]);
5544
5546
  let u = () => {
5545
- a && a({ value: g ? 0 : 1, name: C, id: x, reload: s }), o(!g);
5547
+ a && a({ value: h ? 0 : 1, name: C, id: x, reload: s }), o(!h);
5546
5548
  };
5547
- return /* @__PURE__ */ v.jsxs(
5549
+ return /* @__PURE__ */ g.jsxs(
5548
5550
  Be,
5549
5551
  {
5550
5552
  type: "check",
5551
5553
  title: _ || d,
5552
- element_blok: { className: [y] },
5554
+ element_blok: { className: [v] },
5553
5555
  element_input: {
5554
5556
  className: [_e.h],
5555
5557
  props: {
@@ -5557,21 +5559,21 @@ function Na({
5557
5559
  }
5558
5560
  },
5559
5561
  children: [
5560
- /* @__PURE__ */ v.jsx("div", { "aria-checked": `${g ? "true" : "false"}` }),
5561
- /* @__PURE__ */ v.jsx("span", { children: E })
5562
+ /* @__PURE__ */ g.jsx("div", { "aria-checked": `${h ? "true" : "false"}` }),
5563
+ /* @__PURE__ */ g.jsx("span", { children: E })
5562
5564
  ]
5563
5565
  }
5564
5566
  );
5565
5567
  }
5566
5568
  const he = {};
5567
5569
  function Fa(a) {
5568
- const [_, c] = U.useState({}), d = U.useRef(a);
5569
- return he.u = (y) => {
5570
- d.current = { ...d.current, [y.name]: y.value };
5571
- }, he.n = (y) => {
5572
- d.current = y, c(Date.now());
5573
- }, he.r = (y) => {
5574
- y && y(d.current), c(Date.now());
5570
+ const [_, c] = W.useState({}), d = W.useRef(a);
5571
+ return he.u = (v) => {
5572
+ d.current = { ...d.current, [v.name]: v.value };
5573
+ }, he.n = (v) => {
5574
+ d.current = v, c(Date.now());
5575
+ }, he.r = (v) => {
5576
+ v && v(d.current), c(Date.now());
5575
5577
  }, [d.current, he.n];
5576
5578
  }
5577
5579
  function Ia(a) {
@@ -5581,12 +5583,12 @@ function Ma(a) {
5581
5583
  he.r && he.r(a);
5582
5584
  }
5583
5585
  function $a(a) {
5584
- const [_, c] = U.useState({}), d = U.useRef(a);
5585
- return he.u = (y) => {
5586
- d.current = { ...d.current, [y.name]: y.value };
5587
- }, he.n = (y) => {
5588
- Object.keys(y).length > 0 ? Object.keys(y).forEach((C) => {
5589
- d.current[C] = y[C];
5586
+ const [_, c] = W.useState({}), d = W.useRef(a);
5587
+ return he.u = (v) => {
5588
+ d.current = { ...d.current, [v.name]: v.value };
5589
+ }, he.n = (v) => {
5590
+ Object.keys(v).length > 0 ? Object.keys(v).forEach((C) => {
5591
+ d.current[C] = v[C];
5590
5592
  }) : d.current = {}, c(Date.now());
5591
5593
  }, he.r = () => {
5592
5594
  c(Date.now());
@@ -5599,19 +5601,19 @@ It().elcrm || (It().elcrm = {});
5599
5601
  Object.assign(It().elcrm, { form: Xt.version });
5600
5602
  export {
5601
5603
  Na as Check,
5602
- Sa as DateField,
5604
+ xa as DateField,
5603
5605
  ka as Mask,
5604
5606
  Da as ModalField,
5605
5607
  ja as Money,
5606
5608
  wa as Month,
5607
- Ca as NumberField,
5609
+ Ea as NumberField,
5608
5610
  Oa as OptionsField,
5609
5611
  Pa as PasswordField,
5610
- Ea as PhoneField,
5612
+ Sa as PhoneField,
5611
5613
  ba as Progress,
5612
5614
  Ta as SelectField,
5613
- xa as StringField,
5614
- Ra as TextareaField,
5615
+ Ra as StringField,
5616
+ Ca as TextareaField,
5615
5617
  Ma as runReload,
5616
5618
  Ia as setValue,
5617
5619
  Fa as useData,