@elcrm/form 0.0.17 → 0.0.18

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.
Files changed (42) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.d.ts +2 -14
  3. package/dist/index.es.js +512 -513
  4. package/dist/index.umd.js +26 -26
  5. package/dist/src/lib/index.d.ts +14 -0
  6. package/package.json +1 -1
  7. /package/dist/{Captcha.d.ts → src/lib/Captcha.d.ts} +0 -0
  8. /package/dist/{Check.d.ts → src/lib/Check.d.ts} +0 -0
  9. /package/dist/{Code.d.ts → src/lib/Code.d.ts} +0 -0
  10. /package/dist/{Color.d.ts → src/lib/Color.d.ts} +0 -0
  11. /package/dist/{Date.d.ts → src/lib/Date.d.ts} +0 -0
  12. /package/dist/{Files.d.ts → src/lib/Files.d.ts} +0 -0
  13. /package/dist/{Generator.d.ts → src/lib/Generator.d.ts} +0 -0
  14. /package/dist/{Group.d.ts → src/lib/Group.d.ts} +0 -0
  15. /package/dist/{Image.d.ts → src/lib/Image.d.ts} +0 -0
  16. /package/dist/{Init.d.ts → src/lib/Init.d.ts} +0 -0
  17. /package/dist/{Input.d.ts → src/lib/Input.d.ts} +0 -0
  18. /package/dist/{Mask.d.ts → src/lib/Mask.d.ts} +0 -0
  19. /package/dist/{MaskPhone.d.ts → src/lib/MaskPhone.d.ts} +0 -0
  20. /package/dist/{Message.d.ts → src/lib/Message.d.ts} +0 -0
  21. /package/dist/{Modal.d.ts → src/lib/Modal.d.ts} +0 -0
  22. /package/dist/{Money.d.ts → src/lib/Money.d.ts} +0 -0
  23. /package/dist/{Month.d.ts → src/lib/Month.d.ts} +0 -0
  24. /package/dist/{Note.d.ts → src/lib/Note.d.ts} +0 -0
  25. /package/dist/{Number.d.ts → src/lib/Number.d.ts} +0 -0
  26. /package/dist/{Options.d.ts → src/lib/Options.d.ts} +0 -0
  27. /package/dist/{Palette.d.ts → src/lib/Palette.d.ts} +0 -0
  28. /package/dist/{Password.d.ts → src/lib/Password.d.ts} +0 -0
  29. /package/dist/{Phone.d.ts → src/lib/Phone.d.ts} +0 -0
  30. /package/dist/{Progress.d.ts → src/lib/Progress.d.ts} +0 -0
  31. /package/dist/{Rating.d.ts → src/lib/Rating.d.ts} +0 -0
  32. /package/dist/{Select.d.ts → src/lib/Select.d.ts} +0 -0
  33. /package/dist/{Switch.d.ts → src/lib/Switch.d.ts} +0 -0
  34. /package/dist/{Textarea.d.ts → src/lib/Textarea.d.ts} +0 -0
  35. /package/dist/{Toogle.d.ts → src/lib/Toogle.d.ts} +0 -0
  36. /package/dist/{Users.d.ts → src/lib/Users.d.ts} +0 -0
  37. /package/dist/{_Button.d.ts → src/lib/_Button.d.ts} +0 -0
  38. /package/dist/{_Set.d.ts → src/lib/_Set.d.ts} +0 -0
  39. /package/dist/{_Time.d.ts → src/lib/_Time.d.ts} +0 -0
  40. /package/dist/{interfaface.d.ts → src/lib/interfaface.d.ts} +0 -0
  41. /package/dist/{onEvent.d.ts → src/lib/onEvent.d.ts} +0 -0
  42. /package/dist/{use.d.ts → src/lib/use.d.ts} +0 -0
package/dist/index.es.js CHANGED
@@ -1,6 +1,9 @@
1
- import K, { useEffect as zt } from "react";
2
- import { createPortal as Ft } from "react-dom";
3
- import './index.css';var Tt = { exports: {} }, mt = {};
1
+ import K, { useEffect as Ht } from "react";
2
+ import { createPortal as It } from "react-dom";
3
+ import './index.css';const Jt = "0.0.18", Zt = {
4
+ version: Jt
5
+ };
6
+ var Tt = { exports: {} }, mt = {};
4
7
  /**
5
8
  * @license React
6
9
  * react-jsx-runtime.production.min.js
@@ -10,10 +13,10 @@ import './index.css';var Tt = { exports: {} }, mt = {};
10
13
  * This source code is licensed under the MIT license found in the
11
14
  * LICENSE file in the root directory of this source tree.
12
15
  */
13
- var It;
14
- function Ht() {
15
- if (It) return mt;
16
- It = 1;
16
+ var Mt;
17
+ function Vt() {
18
+ if (Mt) return mt;
19
+ Mt = 1;
17
20
  var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, g = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
18
21
  function O(x, s, h) {
19
22
  var o, d = {}, k = null, S = null;
@@ -34,14 +37,14 @@ var pt = {};
34
37
  * This source code is licensed under the MIT license found in the
35
38
  * LICENSE file in the root directory of this source tree.
36
39
  */
37
- var Mt;
38
- function Jt() {
39
- return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
40
- var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), P = Symbol.iterator, A = "@@iterator";
41
- function I(e) {
40
+ var $t;
41
+ function Xt() {
42
+ return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, B = "@@iterator";
44
+ function M(e) {
42
45
  if (e === null || typeof e != "object")
43
46
  return null;
44
- var t = P && e[P] || e[A];
47
+ var t = N && e[N] || e[B];
45
48
  return typeof t == "function" ? t : null;
46
49
  }
47
50
  var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -62,14 +65,14 @@ function Jt() {
62
65
  y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
63
66
  }
64
67
  }
65
- var Y = !1, q = !1, L = !1, U = !1, N = !1, E;
66
- E = Symbol.for("react.module.reference");
68
+ var Y = !1, q = !1, A = !1, U = !1, E = !1, P;
69
+ P = Symbol.for("react.module.reference");
67
70
  function W(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || N || e === g || e === h || e === o || U || e === S || Y || q || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
71
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === g || e === h || e === o || U || e === S || Y || q || A || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
69
72
  // types supported by any Flight configuration anywhere since
70
73
  // we don't know which Flight build this will end up being used
71
74
  // with.
72
- e.$$typeof === E || e.getModuleId !== void 0));
75
+ e.$$typeof === P || e.getModuleId !== void 0));
73
76
  }
74
77
  function R(e, t, r) {
75
78
  var n = e.displayName;
@@ -126,7 +129,7 @@ function Jt() {
126
129
  }
127
130
  return null;
128
131
  }
129
- var M = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
132
+ var I = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
130
133
  function we() {
131
134
  }
132
135
  we.__reactDisabledLog = !0;
@@ -162,25 +165,25 @@ function Jt() {
162
165
  writable: !0
163
166
  };
164
167
  Object.defineProperties(console, {
165
- log: M({}, e, {
168
+ log: I({}, e, {
166
169
  value: Q
167
170
  }),
168
- info: M({}, e, {
171
+ info: I({}, e, {
169
172
  value: ie
170
173
  }),
171
- warn: M({}, e, {
174
+ warn: I({}, e, {
172
175
  value: se
173
176
  }),
174
- error: M({}, e, {
177
+ error: I({}, e, {
175
178
  value: ve
176
179
  }),
177
- group: M({}, e, {
180
+ group: I({}, e, {
178
181
  value: ge
179
182
  }),
180
- groupCollapsed: M({}, e, {
183
+ groupCollapsed: I({}, e, {
181
184
  value: be
182
185
  }),
183
- groupEnd: M({}, e, {
186
+ groupEnd: I({}, e, {
184
187
  value: ke
185
188
  })
186
189
  });
@@ -264,9 +267,9 @@ function Jt() {
264
267
  if (w !== 1 || j !== 1)
265
268
  do
266
269
  if (w--, j--, j < 0 || i[w] !== D[j]) {
267
- var B = `
270
+ var L = `
268
271
  ` + i[w].replace(" at new ", " at ");
269
- return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, B), B;
272
+ return e.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, L), L;
270
273
  }
271
274
  while (w >= 1 && j >= 0);
272
275
  break;
@@ -525,7 +528,7 @@ Check the top-level render call using <` + r + ">.");
525
528
  else if (pe(e))
526
529
  e._store && (e._store.validated = !0);
527
530
  else if (e) {
528
- var m = I(e);
531
+ var m = M(e);
529
532
  if (typeof m == "function" && m !== e.entries)
530
533
  for (var y = m.call(e), l; !(l = y.next()).done; )
531
534
  pe(l.value) && Fe(l.value, t);
@@ -585,17 +588,17 @@ Check the top-level render call using <` + r + ">.");
585
588
  if (j == null)
586
589
  return j;
587
590
  if (l) {
588
- var B = t.children;
589
- if (B !== void 0)
591
+ var L = t.children;
592
+ if (L !== void 0)
590
593
  if (n)
591
- if (de(B)) {
592
- for (var V = 0; V < B.length; V++)
593
- Ie(B[V], e);
594
- Object.freeze && Object.freeze(B);
594
+ if (de(L)) {
595
+ for (var V = 0; V < L.length; V++)
596
+ Ie(L[V], e);
597
+ Object.freeze && Object.freeze(L);
595
598
  } else
596
599
  p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
597
600
  else
598
- Ie(B, e);
601
+ Ie(L, e);
599
602
  }
600
603
  if (X.call(t, "key")) {
601
604
  var H = b(e), F = Object.keys(t).filter(function(dt) {
@@ -624,9 +627,9 @@ React keys must be passed directly to JSX without using spread:
624
627
  pt.Fragment = u, pt.jsx = lt, pt.jsxs = ct;
625
628
  }()), pt;
626
629
  }
627
- process.env.NODE_ENV === "production" ? Tt.exports = Ht() : Tt.exports = Jt();
630
+ process.env.NODE_ENV === "production" ? Tt.exports = Vt() : Tt.exports = Xt();
628
631
  var f = Tt.exports;
629
- function pn({ name: a, value: _, title: c, style: u, className: g }) {
632
+ function gn({ name: a, value: _, title: c, style: u, className: g }) {
630
633
  let C = {
631
634
  field: "progress"
632
635
  };
@@ -677,10 +680,10 @@ var Dt = { exports: {} }, yt = {};
677
680
  * This source code is licensed under the MIT license found in the
678
681
  * LICENSE file in the root directory of this source tree.
679
682
  */
680
- var $t;
681
- function Zt() {
682
- if ($t) return yt;
683
- $t = 1;
683
+ var At;
684
+ function Qt() {
685
+ if (At) return yt;
686
+ At = 1;
684
687
  var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, g = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
685
688
  function O(x, s, h) {
686
689
  var o, d = {}, k = null, S = null;
@@ -691,7 +694,7 @@ function Zt() {
691
694
  }
692
695
  return yt.Fragment = c, yt.jsx = O, yt.jsxs = O, yt;
693
696
  }
694
- var kt = {};
697
+ var bt = {};
695
698
  /**
696
699
  * @license React
697
700
  * react-jsx-runtime.development.js
@@ -701,14 +704,14 @@ var kt = {};
701
704
  * This source code is licensed under the MIT license found in the
702
705
  * LICENSE file in the root directory of this source tree.
703
706
  */
704
- var At;
705
- function Vt() {
706
- return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
707
- var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), P = Symbol.iterator, A = "@@iterator";
708
- function I(e) {
707
+ var Bt;
708
+ function er() {
709
+ return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
710
+ var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, B = "@@iterator";
711
+ function M(e) {
709
712
  if (e === null || typeof e != "object")
710
713
  return null;
711
- var t = P && e[P] || e[A];
714
+ var t = N && e[N] || e[B];
712
715
  return typeof t == "function" ? t : null;
713
716
  }
714
717
  var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -729,14 +732,14 @@ function Vt() {
729
732
  y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
730
733
  }
731
734
  }
732
- var Y = !1, q = !1, L = !1, U = !1, N = !1, E;
733
- E = Symbol.for("react.module.reference");
735
+ var Y = !1, q = !1, A = !1, U = !1, E = !1, P;
736
+ P = Symbol.for("react.module.reference");
734
737
  function W(e) {
735
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || N || e === g || e === h || e === o || U || e === S || Y || q || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
738
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === g || e === h || e === o || U || e === S || Y || q || A || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
736
739
  // types supported by any Flight configuration anywhere since
737
740
  // we don't know which Flight build this will end up being used
738
741
  // with.
739
- e.$$typeof === E || e.getModuleId !== void 0));
742
+ e.$$typeof === P || e.getModuleId !== void 0));
740
743
  }
741
744
  function R(e, t, r) {
742
745
  var n = e.displayName;
@@ -793,7 +796,7 @@ function Vt() {
793
796
  }
794
797
  return null;
795
798
  }
796
- var M = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
799
+ var I = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
797
800
  function we() {
798
801
  }
799
802
  we.__reactDisabledLog = !0;
@@ -829,25 +832,25 @@ function Vt() {
829
832
  writable: !0
830
833
  };
831
834
  Object.defineProperties(console, {
832
- log: M({}, e, {
835
+ log: I({}, e, {
833
836
  value: Q
834
837
  }),
835
- info: M({}, e, {
838
+ info: I({}, e, {
836
839
  value: ie
837
840
  }),
838
- warn: M({}, e, {
841
+ warn: I({}, e, {
839
842
  value: se
840
843
  }),
841
- error: M({}, e, {
844
+ error: I({}, e, {
842
845
  value: ve
843
846
  }),
844
- group: M({}, e, {
847
+ group: I({}, e, {
845
848
  value: ge
846
849
  }),
847
- groupCollapsed: M({}, e, {
850
+ groupCollapsed: I({}, e, {
848
851
  value: be
849
852
  }),
850
- groupEnd: M({}, e, {
853
+ groupEnd: I({}, e, {
851
854
  value: ke
852
855
  })
853
856
  });
@@ -931,9 +934,9 @@ function Vt() {
931
934
  if (w !== 1 || j !== 1)
932
935
  do
933
936
  if (w--, j--, j < 0 || i[w] !== D[j]) {
934
- var B = `
937
+ var L = `
935
938
  ` + i[w].replace(" at new ", " at ");
936
- return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, B), B;
939
+ return e.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, L), L;
937
940
  }
938
941
  while (w >= 1 && j >= 0);
939
942
  break;
@@ -1192,7 +1195,7 @@ Check the top-level render call using <` + r + ">.");
1192
1195
  else if (pe(e))
1193
1196
  e._store && (e._store.validated = !0);
1194
1197
  else if (e) {
1195
- var m = I(e);
1198
+ var m = M(e);
1196
1199
  if (typeof m == "function" && m !== e.entries)
1197
1200
  for (var y = m.call(e), l; !(l = y.next()).done; )
1198
1201
  pe(l.value) && Fe(l.value, t);
@@ -1252,17 +1255,17 @@ Check the top-level render call using <` + r + ">.");
1252
1255
  if (j == null)
1253
1256
  return j;
1254
1257
  if (l) {
1255
- var B = t.children;
1256
- if (B !== void 0)
1258
+ var L = t.children;
1259
+ if (L !== void 0)
1257
1260
  if (n)
1258
- if (de(B)) {
1259
- for (var V = 0; V < B.length; V++)
1260
- Ie(B[V], e);
1261
- Object.freeze && Object.freeze(B);
1261
+ if (de(L)) {
1262
+ for (var V = 0; V < L.length; V++)
1263
+ Ie(L[V], e);
1264
+ Object.freeze && Object.freeze(L);
1262
1265
  } else
1263
1266
  p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1264
1267
  else
1265
- Ie(B, e);
1268
+ Ie(L, e);
1266
1269
  }
1267
1270
  if (X.call(t, "key")) {
1268
1271
  var H = b(e), F = Object.keys(t).filter(function(dt) {
@@ -1288,17 +1291,17 @@ React keys must be passed directly to JSX without using spread:
1288
1291
  return $e(e, t, r, !1);
1289
1292
  }
1290
1293
  var lt = st, ct = _t;
1291
- kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
1292
- }()), kt;
1294
+ bt.Fragment = u, bt.jsx = lt, bt.jsxs = ct;
1295
+ }()), bt;
1293
1296
  }
1294
- process.env.NODE_ENV === "production" ? Dt.exports = Zt() : Dt.exports = Vt();
1297
+ process.env.NODE_ENV === "production" ? Dt.exports = Qt() : Dt.exports = er();
1295
1298
  var ee = Dt.exports;
1296
- const Xt = "_notice_13j98_2", Qt = "_error_13j98_11", er = "_success_13j98_14", tr = "_remark_13j98_17", rr = "_copy_13j98_20", Gt = {
1297
- notice: Xt,
1298
- error: Qt,
1299
- success: er,
1300
- remark: tr,
1301
- copy: rr,
1299
+ const tr = "_notice_13j98_2", rr = "_error_13j98_11", nr = "_success_13j98_14", ar = "_remark_13j98_17", or = "_copy_13j98_20", zt = {
1300
+ notice: tr,
1301
+ error: rr,
1302
+ success: nr,
1303
+ remark: ar,
1304
+ copy: or,
1302
1305
  "show-notice": "_show-notice_13j98_1",
1303
1306
  "hide-notice": "_hide-notice_13j98_1"
1304
1307
  };
@@ -1330,13 +1333,13 @@ function vt({ data: a }) {
1330
1333
  u = /* @__PURE__ */ ee.jsx(ft.success, {}), g = "Предупреждение:";
1331
1334
  break;
1332
1335
  }
1333
- return /* @__PURE__ */ ee.jsxs("li", { className: Gt[a.type], "data-status": _, children: [
1336
+ return /* @__PURE__ */ ee.jsxs("li", { className: zt[a.type], "data-status": _, children: [
1334
1337
  u,
1335
1338
  /* @__PURE__ */ ee.jsx("b", { children: g }),
1336
1339
  /* @__PURE__ */ ee.jsx("p", { children: a.text })
1337
1340
  ] });
1338
1341
  }
1339
- function nr({ data: a }) {
1342
+ function ir({ data: a }) {
1340
1343
  let [_, c] = K.useState("show");
1341
1344
  return K.useEffect(() => {
1342
1345
  a.hide && (setTimeout(function() {
@@ -1379,7 +1382,7 @@ ft.success = () => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "0 0 24 24", fill:
1379
1382
  }
1380
1383
  )
1381
1384
  ] });
1382
- var bt;
1385
+ var xt;
1383
1386
  ((a) => {
1384
1387
  function _() {
1385
1388
  let [s, h] = K.useState([]);
@@ -1387,7 +1390,7 @@ var bt;
1387
1390
  h([...s, o]);
1388
1391
  }, Be.del = (o) => {
1389
1392
  h(s.filter((d) => d.key !== o));
1390
- }, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: Gt.notice, children: s.map((o) => o.item) });
1393
+ }, s.length === 0 ? "" : /* @__PURE__ */ ee.jsx("ul", { className: zt.notice, children: s.map((o) => o.item) });
1391
1394
  }
1392
1395
  a.Init = _;
1393
1396
  function c(s, h = !0) {
@@ -1408,7 +1411,7 @@ var bt;
1408
1411
  a.Success = u;
1409
1412
  function g(s, h = !0) {
1410
1413
  let o = Date.now(), d = { key: o, hide: h, text: s };
1411
- Be.set({ item: /* @__PURE__ */ ee.jsx(nr, { data: d }, o), key: o });
1414
+ Be.set({ item: /* @__PURE__ */ ee.jsx(ir, { data: d }, o), key: o });
1412
1415
  }
1413
1416
  a.Custom = g;
1414
1417
  function C(s) {
@@ -1435,15 +1438,15 @@ var bt;
1435
1438
  });
1436
1439
  }
1437
1440
  a.Copy = x;
1438
- })(bt || (bt = {}));
1439
- const ar = "_l_1ho5f_13", or = "_f_1ho5f_20", ir = "_n_1ho5f_40", _r = "_w_1ho5f_53", sr = "_t_1ho5f_63", z = {
1440
- l: ar,
1441
- f: or,
1442
- n: ir,
1443
- w: _r,
1444
- t: sr
1441
+ })(xt || (xt = {}));
1442
+ const _r = "_l_wirdi_13", sr = "_f_wirdi_20", lr = "_n_wirdi_40", cr = "_w_wirdi_53", ur = "_t_wirdi_63", z = {
1443
+ l: _r,
1444
+ f: sr,
1445
+ n: lr,
1446
+ w: cr,
1447
+ t: ur
1445
1448
  };
1446
- function yn({
1449
+ function hn({
1447
1450
  id: a,
1448
1451
  value: _,
1449
1452
  onValue: c,
@@ -1458,45 +1461,45 @@ function yn({
1458
1461
  before: d = "",
1459
1462
  show: k = !0,
1460
1463
  maxLength: S,
1461
- onSave: P,
1462
- className: A = "",
1463
- isCopy: I = !0,
1464
+ onSave: N,
1465
+ className: B = "",
1466
+ isCopy: M = !0,
1464
1467
  isReload: T = !1
1465
1468
  }) {
1466
- let p = !!(x && (_ === "" || _ === void 0)), $ = (N) => {
1469
+ let p = !!(x && (_ === "" || _ === void 0)), $ = (E) => {
1467
1470
  c && c({
1468
- value: N.target.textContent.trim(),
1471
+ value: E.target.textContent.trim(),
1469
1472
  name: u,
1470
1473
  reload: T
1471
1474
  });
1472
- }, Y = (N) => {
1473
- S && N.target.textContent.trim().length >= S && N.key !== "Backspace" && N.preventDefault(), N.key === "Enter" && N.preventDefault();
1474
- }, q = (N) => {
1475
- N.preventDefault(), navigator.clipboard.readText().then((E) => {
1475
+ }, Y = (E) => {
1476
+ S && E.target.textContent.trim().length >= S && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
1477
+ }, q = (E) => {
1478
+ E.preventDefault(), navigator.clipboard.readText().then((P) => {
1476
1479
  if (S) {
1477
- let W = N.target.textContent.length;
1480
+ let W = E.target.textContent.length;
1478
1481
  if (W >= S) return;
1479
- S -= W, E = E.slice(0, S);
1482
+ S -= W, P = P.slice(0, S);
1480
1483
  }
1481
1484
  window.document.execCommand(
1482
1485
  "insertText",
1483
1486
  !1,
1484
- E.replace(/(\r\n|\n|\r)/gm, " ")
1487
+ P.replace(/(\r\n|\n|\r)/gm, " ")
1485
1488
  );
1486
- }).catch((E) => {
1489
+ }).catch((P) => {
1487
1490
  });
1488
1491
  };
1489
1492
  if (!(s && h) && !k || !(s && h) && p) return "";
1490
- const L = {};
1491
- g && (L.placeholder = g), s && h && (L.edit = "");
1492
- const U = (N) => {
1493
- te.Blur(N), P == null || P({ value: N.target.textContent.trim(), name: u });
1493
+ const A = {};
1494
+ g && (A.placeholder = g), s && h && (A.edit = "");
1495
+ const U = (E) => {
1496
+ te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
1494
1497
  };
1495
1498
  return /* @__PURE__ */ f.jsxs(
1496
1499
  "dl",
1497
1500
  {
1498
1501
  "data-field": "input",
1499
- className: [z.l, A].filter((N) => N !== void 0).join(" "),
1502
+ className: [z.l, B].filter((E) => E !== void 0).join(" "),
1500
1503
  children: [
1501
1504
  C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
1502
1505
  d,
@@ -1511,7 +1514,7 @@ function yn({
1511
1514
  spellCheck: "true",
1512
1515
  contentEditable: s && h ? te.ContentEditable : "false",
1513
1516
  suppressContentEditableWarning: !0,
1514
- ...L,
1517
+ ...A,
1515
1518
  children: _
1516
1519
  }
1517
1520
  ),
@@ -1531,10 +1534,10 @@ var Pt = { exports: {} }, gt = {};
1531
1534
  * This source code is licensed under the MIT license found in the
1532
1535
  * LICENSE file in the root directory of this source tree.
1533
1536
  */
1534
- var Bt;
1535
- function lr() {
1536
- if (Bt) return gt;
1537
- Bt = 1;
1537
+ var Lt;
1538
+ function dr() {
1539
+ if (Lt) return gt;
1540
+ Lt = 1;
1538
1541
  var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, g = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
1539
1542
  function O(x, s, h) {
1540
1543
  var o, d = {}, k = null, S = null;
@@ -1545,7 +1548,7 @@ function lr() {
1545
1548
  }
1546
1549
  return gt.Fragment = c, gt.jsx = O, gt.jsxs = O, gt;
1547
1550
  }
1548
- var wt = {};
1551
+ var kt = {};
1549
1552
  /**
1550
1553
  * @license React
1551
1554
  * react-jsx-runtime.development.js
@@ -1555,14 +1558,14 @@ var wt = {};
1555
1558
  * This source code is licensed under the MIT license found in the
1556
1559
  * LICENSE file in the root directory of this source tree.
1557
1560
  */
1558
- var Lt;
1559
- function cr() {
1560
- return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
1561
- var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), P = Symbol.iterator, A = "@@iterator";
1562
- function I(e) {
1561
+ var Wt;
1562
+ function fr() {
1563
+ return Wt || (Wt = 1, process.env.NODE_ENV !== "production" && function() {
1564
+ var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, B = "@@iterator";
1565
+ function M(e) {
1563
1566
  if (e === null || typeof e != "object")
1564
1567
  return null;
1565
- var t = P && e[P] || e[A];
1568
+ var t = N && e[N] || e[B];
1566
1569
  return typeof t == "function" ? t : null;
1567
1570
  }
1568
1571
  var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -1583,14 +1586,14 @@ function cr() {
1583
1586
  y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
1584
1587
  }
1585
1588
  }
1586
- var Y = !1, q = !1, L = !1, U = !1, N = !1, E;
1587
- E = Symbol.for("react.module.reference");
1589
+ var Y = !1, q = !1, A = !1, U = !1, E = !1, P;
1590
+ P = Symbol.for("react.module.reference");
1588
1591
  function W(e) {
1589
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || N || e === g || e === h || e === o || U || e === S || Y || q || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
1592
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === g || e === h || e === o || U || e === S || Y || q || A || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
1590
1593
  // types supported by any Flight configuration anywhere since
1591
1594
  // we don't know which Flight build this will end up being used
1592
1595
  // with.
1593
- e.$$typeof === E || e.getModuleId !== void 0));
1596
+ e.$$typeof === P || e.getModuleId !== void 0));
1594
1597
  }
1595
1598
  function R(e, t, r) {
1596
1599
  var n = e.displayName;
@@ -1647,7 +1650,7 @@ function cr() {
1647
1650
  }
1648
1651
  return null;
1649
1652
  }
1650
- var M = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
1653
+ var I = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
1651
1654
  function we() {
1652
1655
  }
1653
1656
  we.__reactDisabledLog = !0;
@@ -1683,25 +1686,25 @@ function cr() {
1683
1686
  writable: !0
1684
1687
  };
1685
1688
  Object.defineProperties(console, {
1686
- log: M({}, e, {
1689
+ log: I({}, e, {
1687
1690
  value: Q
1688
1691
  }),
1689
- info: M({}, e, {
1692
+ info: I({}, e, {
1690
1693
  value: ie
1691
1694
  }),
1692
- warn: M({}, e, {
1695
+ warn: I({}, e, {
1693
1696
  value: se
1694
1697
  }),
1695
- error: M({}, e, {
1698
+ error: I({}, e, {
1696
1699
  value: ve
1697
1700
  }),
1698
- group: M({}, e, {
1701
+ group: I({}, e, {
1699
1702
  value: ge
1700
1703
  }),
1701
- groupCollapsed: M({}, e, {
1704
+ groupCollapsed: I({}, e, {
1702
1705
  value: be
1703
1706
  }),
1704
- groupEnd: M({}, e, {
1707
+ groupEnd: I({}, e, {
1705
1708
  value: ke
1706
1709
  })
1707
1710
  });
@@ -1785,9 +1788,9 @@ function cr() {
1785
1788
  if (w !== 1 || j !== 1)
1786
1789
  do
1787
1790
  if (w--, j--, j < 0 || i[w] !== D[j]) {
1788
- var B = `
1791
+ var L = `
1789
1792
  ` + i[w].replace(" at new ", " at ");
1790
- return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, B), B;
1793
+ return e.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, L), L;
1791
1794
  }
1792
1795
  while (w >= 1 && j >= 0);
1793
1796
  break;
@@ -2046,7 +2049,7 @@ Check the top-level render call using <` + r + ">.");
2046
2049
  else if (pe(e))
2047
2050
  e._store && (e._store.validated = !0);
2048
2051
  else if (e) {
2049
- var m = I(e);
2052
+ var m = M(e);
2050
2053
  if (typeof m == "function" && m !== e.entries)
2051
2054
  for (var y = m.call(e), l; !(l = y.next()).done; )
2052
2055
  pe(l.value) && Fe(l.value, t);
@@ -2106,17 +2109,17 @@ Check the top-level render call using <` + r + ">.");
2106
2109
  if (j == null)
2107
2110
  return j;
2108
2111
  if (l) {
2109
- var B = t.children;
2110
- if (B !== void 0)
2112
+ var L = t.children;
2113
+ if (L !== void 0)
2111
2114
  if (n)
2112
- if (de(B)) {
2113
- for (var V = 0; V < B.length; V++)
2114
- Ie(B[V], e);
2115
- Object.freeze && Object.freeze(B);
2115
+ if (de(L)) {
2116
+ for (var V = 0; V < L.length; V++)
2117
+ Ie(L[V], e);
2118
+ Object.freeze && Object.freeze(L);
2116
2119
  } else
2117
2120
  p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2118
2121
  else
2119
- Ie(B, e);
2122
+ Ie(L, e);
2120
2123
  }
2121
2124
  if (X.call(t, "key")) {
2122
2125
  var H = b(e), F = Object.keys(t).filter(function(dt) {
@@ -2142,36 +2145,36 @@ React keys must be passed directly to JSX without using spread:
2142
2145
  return $e(e, t, r, !1);
2143
2146
  }
2144
2147
  var lt = st, ct = _t;
2145
- wt.Fragment = u, wt.jsx = lt, wt.jsxs = ct;
2146
- }()), wt;
2148
+ kt.Fragment = u, kt.jsx = lt, kt.jsxs = ct;
2149
+ }()), kt;
2147
2150
  }
2148
- process.env.NODE_ENV === "production" ? Pt.exports = lr() : Pt.exports = cr();
2151
+ process.env.NODE_ENV === "production" ? Pt.exports = dr() : Pt.exports = fr();
2149
2152
  var J = Pt.exports;
2150
- const ur = "_shake_oqfdb_1", dr = "_modal_oqfdb_79", fr = "_sa_oqfdb_89", mr = "_ss_oqfdb_94", pr = "_sm_oqfdb_98", yr = "_sl_oqfdb_102", vr = "_sx_oqfdb_106", gr = "_sf_oqfdb_110", hr = "_o_oqfdb_116", br = "_b_oqfdb_28", kr = "_w_oqfdb_15", wr = "_h_oqfdb_146", jr = "_l_oqfdb_160", xr = "_t_oqfdb_197", Cr = "_x_oqfdb_201", Sr = "_s_oqfdb_89", Rr = "_c_oqfdb_219", Er = "_f_oqfdb_224", Or = "_r__oqfdb_235", Tr = "_c__oqfdb_250", Dr = "_g_oqfdb_259", Pr = "_m_oqfdb_79", _e = {
2151
- shake: ur,
2152
- modal: dr,
2153
- sa: fr,
2154
- ss: mr,
2155
- sm: pr,
2156
- sl: yr,
2157
- sx: vr,
2158
- sf: gr,
2159
- o: hr,
2160
- b: br,
2161
- w: kr,
2162
- h: wr,
2163
- l: jr,
2164
- t: xr,
2165
- x: Cr,
2166
- s: Sr,
2167
- c: Rr,
2168
- f: Er,
2169
- r_: Or,
2170
- c_: Tr,
2171
- g: Dr,
2172
- m: Pr
2153
+ const mr = "_shake_oqfdb_1", pr = "_modal_oqfdb_79", yr = "_sa_oqfdb_89", vr = "_ss_oqfdb_94", gr = "_sm_oqfdb_98", hr = "_sl_oqfdb_102", br = "_sx_oqfdb_106", kr = "_sf_oqfdb_110", wr = "_o_oqfdb_116", jr = "_b_oqfdb_28", xr = "_w_oqfdb_15", Cr = "_h_oqfdb_146", Sr = "_l_oqfdb_160", Rr = "_t_oqfdb_197", Er = "_x_oqfdb_201", Or = "_s_oqfdb_89", Tr = "_c_oqfdb_219", Dr = "_f_oqfdb_224", Pr = "_r__oqfdb_235", Nr = "_c__oqfdb_250", Fr = "_g_oqfdb_259", Ir = "_m_oqfdb_79", _e = {
2154
+ shake: mr,
2155
+ modal: pr,
2156
+ sa: yr,
2157
+ ss: vr,
2158
+ sm: gr,
2159
+ sl: hr,
2160
+ sx: br,
2161
+ sf: kr,
2162
+ o: wr,
2163
+ b: jr,
2164
+ w: xr,
2165
+ h: Cr,
2166
+ l: Sr,
2167
+ t: Rr,
2168
+ x: Er,
2169
+ s: Or,
2170
+ c: Tr,
2171
+ f: Dr,
2172
+ r_: Pr,
2173
+ c_: Nr,
2174
+ g: Fr,
2175
+ m: Ir
2173
2176
  };
2174
- function Nr({ children: a, className: _ }) {
2177
+ function Mr({ children: a, className: _ }) {
2175
2178
  return /* @__PURE__ */ J.jsx(
2176
2179
  "div",
2177
2180
  {
@@ -2180,7 +2183,7 @@ function Nr({ children: a, className: _ }) {
2180
2183
  }
2181
2184
  );
2182
2185
  }
2183
- function Fr({ children: a, className: _ }) {
2186
+ function $r({ children: a, className: _ }) {
2184
2187
  return /* @__PURE__ */ J.jsx(
2185
2188
  "div",
2186
2189
  {
@@ -2189,7 +2192,7 @@ function Fr({ children: a, className: _ }) {
2189
2192
  }
2190
2193
  );
2191
2194
  }
2192
- function Ir({
2195
+ function Ar({
2193
2196
  children: a,
2194
2197
  direction: _ = "column",
2195
2198
  className: c
@@ -2206,7 +2209,7 @@ function Ir({
2206
2209
  }
2207
2210
  );
2208
2211
  }
2209
- function Mr({ children: a, className: _ }) {
2212
+ function Br({ children: a, className: _ }) {
2210
2213
  return /* @__PURE__ */ J.jsx(
2211
2214
  "div",
2212
2215
  {
@@ -2215,7 +2218,7 @@ function Mr({ children: a, className: _ }) {
2215
2218
  }
2216
2219
  );
2217
2220
  }
2218
- function $r({ children: a, className: _ }) {
2221
+ function Lr({ children: a, className: _ }) {
2219
2222
  return /* @__PURE__ */ J.jsx(
2220
2223
  "div",
2221
2224
  {
@@ -2224,11 +2227,11 @@ function $r({ children: a, className: _ }) {
2224
2227
  }
2225
2228
  );
2226
2229
  }
2227
- function Ar() {
2230
+ function Wr() {
2228
2231
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
2229
2232
  }
2230
- function Wt(a) {
2231
- return Ar().IMPORT_MODULES;
2233
+ function Ut(a) {
2234
+ return Wr().IMPORT_MODULES;
2232
2235
  }
2233
2236
  var Nt = { exports: {} }, ht = {};
2234
2237
  /**
@@ -2240,10 +2243,10 @@ var Nt = { exports: {} }, ht = {};
2240
2243
  * This source code is licensed under the MIT license found in the
2241
2244
  * LICENSE file in the root directory of this source tree.
2242
2245
  */
2243
- var Ut;
2244
- function Br() {
2245
- if (Ut) return ht;
2246
- Ut = 1;
2246
+ var Kt;
2247
+ function Ur() {
2248
+ if (Kt) return ht;
2249
+ Kt = 1;
2247
2250
  var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, g = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
2248
2251
  function O(x, s, h) {
2249
2252
  var o, d = {}, k = null, S = null;
@@ -2254,7 +2257,7 @@ function Br() {
2254
2257
  }
2255
2258
  return ht.Fragment = c, ht.jsx = O, ht.jsxs = O, ht;
2256
2259
  }
2257
- var jt = {};
2260
+ var wt = {};
2258
2261
  /**
2259
2262
  * @license React
2260
2263
  * react-jsx-runtime.development.js
@@ -2264,14 +2267,14 @@ var jt = {};
2264
2267
  * This source code is licensed under the MIT license found in the
2265
2268
  * LICENSE file in the root directory of this source tree.
2266
2269
  */
2267
- var Kt;
2268
- function Lr() {
2269
- return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
2270
- var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), P = Symbol.iterator, A = "@@iterator";
2271
- function I(e) {
2270
+ var qt;
2271
+ function Kr() {
2272
+ return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
2273
+ var a = K, _ = Symbol.for("react.element"), c = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), x = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), N = Symbol.iterator, B = "@@iterator";
2274
+ function M(e) {
2272
2275
  if (e === null || typeof e != "object")
2273
2276
  return null;
2274
- var t = P && e[P] || e[A];
2277
+ var t = N && e[N] || e[B];
2275
2278
  return typeof t == "function" ? t : null;
2276
2279
  }
2277
2280
  var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -2292,14 +2295,14 @@ function Lr() {
2292
2295
  y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
2293
2296
  }
2294
2297
  }
2295
- var Y = !1, q = !1, L = !1, U = !1, N = !1, E;
2296
- E = Symbol.for("react.module.reference");
2298
+ var Y = !1, q = !1, A = !1, U = !1, E = !1, P;
2299
+ P = Symbol.for("react.module.reference");
2297
2300
  function W(e) {
2298
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || N || e === g || e === h || e === o || U || e === S || Y || q || L || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
2301
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === C || E || e === g || e === h || e === o || U || e === S || Y || q || A || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === d || e.$$typeof === O || e.$$typeof === x || e.$$typeof === s || // This needs to include all possible module reference object
2299
2302
  // types supported by any Flight configuration anywhere since
2300
2303
  // we don't know which Flight build this will end up being used
2301
2304
  // with.
2302
- e.$$typeof === E || e.getModuleId !== void 0));
2305
+ e.$$typeof === P || e.getModuleId !== void 0));
2303
2306
  }
2304
2307
  function R(e, t, r) {
2305
2308
  var n = e.displayName;
@@ -2356,7 +2359,7 @@ function Lr() {
2356
2359
  }
2357
2360
  return null;
2358
2361
  }
2359
- var M = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
2362
+ var I = Object.assign, G = 0, Q, ie, se, ve, ge, be, ke;
2360
2363
  function we() {
2361
2364
  }
2362
2365
  we.__reactDisabledLog = !0;
@@ -2392,25 +2395,25 @@ function Lr() {
2392
2395
  writable: !0
2393
2396
  };
2394
2397
  Object.defineProperties(console, {
2395
- log: M({}, e, {
2398
+ log: I({}, e, {
2396
2399
  value: Q
2397
2400
  }),
2398
- info: M({}, e, {
2401
+ info: I({}, e, {
2399
2402
  value: ie
2400
2403
  }),
2401
- warn: M({}, e, {
2404
+ warn: I({}, e, {
2402
2405
  value: se
2403
2406
  }),
2404
- error: M({}, e, {
2407
+ error: I({}, e, {
2405
2408
  value: ve
2406
2409
  }),
2407
- group: M({}, e, {
2410
+ group: I({}, e, {
2408
2411
  value: ge
2409
2412
  }),
2410
- groupCollapsed: M({}, e, {
2413
+ groupCollapsed: I({}, e, {
2411
2414
  value: be
2412
2415
  }),
2413
- groupEnd: M({}, e, {
2416
+ groupEnd: I({}, e, {
2414
2417
  value: ke
2415
2418
  })
2416
2419
  });
@@ -2494,9 +2497,9 @@ function Lr() {
2494
2497
  if (w !== 1 || j !== 1)
2495
2498
  do
2496
2499
  if (w--, j--, j < 0 || i[w] !== D[j]) {
2497
- var B = `
2500
+ var L = `
2498
2501
  ` + i[w].replace(" at new ", " at ");
2499
- return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, B), B;
2502
+ return e.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, L), L;
2500
2503
  }
2501
2504
  while (w >= 1 && j >= 0);
2502
2505
  break;
@@ -2755,7 +2758,7 @@ Check the top-level render call using <` + r + ">.");
2755
2758
  else if (pe(e))
2756
2759
  e._store && (e._store.validated = !0);
2757
2760
  else if (e) {
2758
- var m = I(e);
2761
+ var m = M(e);
2759
2762
  if (typeof m == "function" && m !== e.entries)
2760
2763
  for (var y = m.call(e), l; !(l = y.next()).done; )
2761
2764
  pe(l.value) && Fe(l.value, t);
@@ -2815,17 +2818,17 @@ Check the top-level render call using <` + r + ">.");
2815
2818
  if (j == null)
2816
2819
  return j;
2817
2820
  if (l) {
2818
- var B = t.children;
2819
- if (B !== void 0)
2821
+ var L = t.children;
2822
+ if (L !== void 0)
2820
2823
  if (n)
2821
- if (de(B)) {
2822
- for (var V = 0; V < B.length; V++)
2823
- Ie(B[V], e);
2824
- Object.freeze && Object.freeze(B);
2824
+ if (de(L)) {
2825
+ for (var V = 0; V < L.length; V++)
2826
+ Ie(L[V], e);
2827
+ Object.freeze && Object.freeze(L);
2825
2828
  } else
2826
2829
  p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2827
2830
  else
2828
- Ie(B, e);
2831
+ Ie(L, e);
2829
2832
  }
2830
2833
  if (X.call(t, "key")) {
2831
2834
  var H = b(e), F = Object.keys(t).filter(function(dt) {
@@ -2851,21 +2854,21 @@ React keys must be passed directly to JSX without using spread:
2851
2854
  return $e(e, t, r, !1);
2852
2855
  }
2853
2856
  var lt = st, ct = _t;
2854
- jt.Fragment = u, jt.jsx = lt, jt.jsxs = ct;
2855
- }()), jt;
2857
+ wt.Fragment = u, wt.jsx = lt, wt.jsxs = ct;
2858
+ }()), wt;
2856
2859
  }
2857
- process.env.NODE_ENV === "production" ? Nt.exports = Br() : Nt.exports = Lr();
2860
+ process.env.NODE_ENV === "production" ? Nt.exports = Ur() : Nt.exports = Kr();
2858
2861
  var Et = Nt.exports;
2859
- const Wr = "_btn_1k1b3_1", Ur = "_confirm_1k1b3_15", Kr = "_cancel_1k1b3_20", qr = "_action_1k1b3_25", Yr = "_disabled_1k1b3_30", Gr = "_m_1k1b3_44", zr = "_l_1k1b3_48", xt = {
2860
- btn: Wr,
2861
- confirm: Ur,
2862
- cancel: Kr,
2863
- action: qr,
2864
- disabled: Yr,
2862
+ const qr = "_btn_1k1b3_1", Yr = "_confirm_1k1b3_15", Gr = "_cancel_1k1b3_20", zr = "_action_1k1b3_25", Hr = "_disabled_1k1b3_30", Jr = "_m_1k1b3_44", Zr = "_l_1k1b3_48", jt = {
2863
+ btn: qr,
2864
+ confirm: Yr,
2865
+ cancel: Gr,
2866
+ action: zr,
2867
+ disabled: Hr,
2865
2868
  await: "_await_1k1b3_37",
2866
- m: Gr,
2867
- l: zr
2868
- }, Hr = ({
2869
+ m: Jr,
2870
+ l: Zr
2871
+ }, Vr = ({
2869
2872
  onClick: a,
2870
2873
  onSend: _,
2871
2874
  size: c = "m",
@@ -2880,23 +2883,23 @@ const Wr = "_btn_1k1b3_1", Ur = "_confirm_1k1b3_15", Kr = "_cancel_1k1b3_20", qr
2880
2883
  awaitText: d = "Ожидайте"
2881
2884
  }) => {
2882
2885
  let [k, S] = K.useState(!1);
2883
- const P = (I) => {
2886
+ const N = (M) => {
2884
2887
  if (a) return a();
2885
- k || (_ ? (S(!0), _(S)) : I.preventDefault());
2888
+ k || (_ ? (S(!0), _(S)) : M.preventDefault());
2886
2889
  };
2887
- let A = {};
2888
- return (C || k) && (A.disabled = !0), /* @__PURE__ */ Et.jsx(
2890
+ let B = {};
2891
+ return (C || k) && (B.disabled = !0), /* @__PURE__ */ Et.jsx(
2889
2892
  "button",
2890
2893
  {
2891
- ...A,
2894
+ ...B,
2892
2895
  ref: o,
2893
2896
  className: [
2894
- xt.btn,
2895
- k ? xt.disabled : xt[u],
2896
- c && xt[c],
2897
+ jt.btn,
2898
+ k ? jt.disabled : jt[u],
2899
+ c && jt[c],
2897
2900
  O
2898
- ].filter((I) => I != "").join(" "),
2899
- onClick: P,
2901
+ ].filter((M) => M != "").join(" "),
2902
+ onClick: N,
2900
2903
  children: k ? d : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
2901
2904
  s || "",
2902
2905
  " ",
@@ -2908,7 +2911,7 @@ const Wr = "_btn_1k1b3_1", Ur = "_confirm_1k1b3_15", Kr = "_cancel_1k1b3_20", qr
2908
2911
  );
2909
2912
  };
2910
2913
  let Ae = {};
2911
- function Jr({ children: a }) {
2914
+ function Xr({ children: a }) {
2912
2915
  return /* @__PURE__ */ J.jsx(J.Fragment, { children: a });
2913
2916
  }
2914
2917
  var Ct;
@@ -2918,39 +2921,39 @@ var Ct;
2918
2921
  }) {
2919
2922
  let [d, k] = K.useState([]);
2920
2923
  return Ae.x = (S) => {
2921
- k(S ? d.filter((P) => P.key !== S) : []);
2922
- }, zt(() => {
2924
+ k(S ? d.filter((N) => N.key !== S) : []);
2925
+ }, Ht(() => {
2923
2926
  o && (Ae.i = o);
2924
- }, []), Ae.add = (S, P = Date.now()) => {
2925
- k([...d, { key: P, item: S }]);
2927
+ }, []), Ae.add = (S, N = Date.now()) => {
2928
+ k([...d, { key: N, item: S }]);
2926
2929
  }, /* @__PURE__ */ J.jsx(J.Fragment, { children: d.map((S) => S.item) });
2927
2930
  }
2928
2931
  a.Init = _;
2929
2932
  function c(o) {
2930
2933
  return o && (Ae.i = o), Ae.i;
2931
2934
  }
2932
- a.Import = c, a.List = Nr, a.Scroll = Fr, a.Form = Ir, a.Center = Mr, a.Column = $r;
2935
+ a.Import = c, a.List = Mr, a.Scroll = $r, a.Form = Ar, a.Center = Br, a.Column = Lr;
2933
2936
  function u(o, d, k) {
2934
2937
  Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((S) => {
2935
2938
  S.default.Open(k);
2936
- }) : Wt()(`${o}/modal/${d}.tsx`).then((S) => {
2939
+ }) : Ut()(`${o}/modal/${d}.tsx`).then((S) => {
2937
2940
  S.default.Open(k);
2938
2941
  });
2939
2942
  }
2940
2943
  a.Open = u;
2941
2944
  function g({ type: o, name: d, params: k }) {
2942
- let [S, P] = K.useState(null);
2945
+ let [S, N] = K.useState(null);
2943
2946
  return K.useEffect(() => {
2944
- Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((A) => {
2945
- P(A.default.Icon(k));
2946
- }) : Wt()(`${o}/modal/${d}.tsx`).then((A) => {
2947
- P(A.default.Icon(k));
2947
+ Ae.i ? Ae.i(`${o}/modal/${d}.tsx`).then((B) => {
2948
+ N(B.default.Icon(k));
2949
+ }) : Ut()(`${o}/modal/${d}.tsx`).then((B) => {
2950
+ N(B.default.Icon(k));
2948
2951
  });
2949
2952
  }, [k.id]), /* @__PURE__ */ J.jsx(J.Fragment, { children: S });
2950
2953
  }
2951
2954
  a.Icon = g;
2952
2955
  function C(o, d) {
2953
- Ae.add(/* @__PURE__ */ J.jsx(Jr, { children: o }, String(Date.now())), d);
2956
+ Ae.add(/* @__PURE__ */ J.jsx(Xr, { children: o }, String(Date.now())), d);
2954
2957
  }
2955
2958
  a.Add = C;
2956
2959
  function O(o) {
@@ -2982,9 +2985,9 @@ var Ct;
2982
2985
  children: d,
2983
2986
  button: k,
2984
2987
  tabs: S,
2985
- size: P = "m",
2986
- className: A = "",
2987
- shake: I = !0,
2988
+ size: N = "m",
2989
+ className: B = "",
2990
+ shake: M = !0,
2988
2991
  menu: T
2989
2992
  }) {
2990
2993
  const [p, $] = K.useState(!0), Y = K.useRef(), q = (U) => {
@@ -2997,31 +3000,31 @@ var Ct;
2997
3000
  disabled: U
2998
3001
  });
2999
3002
  }
3000
- }, L = () => {
3001
- if (!I) return $(!1);
3003
+ }, A = () => {
3004
+ if (!M) return $(!1);
3002
3005
  Y.current.setAttribute("shake", !0), setTimeout(() => {
3003
3006
  Y.current.setAttribute("shake", !1);
3004
3007
  }, 1e3);
3005
3008
  };
3006
3009
  return p ? /* @__PURE__ */ J.jsxs("div", { className: `${_e.modal}`, children: [
3007
- /* @__PURE__ */ J.jsx("div", { className: _e.o, onClick: L }),
3010
+ /* @__PURE__ */ J.jsx("div", { className: _e.o, onClick: A }),
3008
3011
  /* @__PURE__ */ J.jsxs(
3009
3012
  "div",
3010
3013
  {
3011
- className: [_e.w, _e[`s${P}`], A].filter((U) => U != "").join(" "),
3014
+ className: [_e.w, _e[`s${N}`], B].filter((U) => U != "").join(" "),
3012
3015
  ref: Y,
3013
3016
  children: [
3014
3017
  /* @__PURE__ */ J.jsxs("div", { className: _e.h, children: [
3015
3018
  /* @__PURE__ */ J.jsx("div", { className: _e.t, children: o }),
3016
3019
  /* @__PURE__ */ J.jsxs("div", { className: _e.m, children: [
3017
- S && /* @__PURE__ */ J.jsx("nav", { children: S.map((U, N) => /* @__PURE__ */ J.jsx(
3020
+ S && /* @__PURE__ */ J.jsx("nav", { children: S.map((U, E) => /* @__PURE__ */ J.jsx(
3018
3021
  "span",
3019
3022
  {
3020
3023
  onClick: U.onClick,
3021
3024
  className: U.active ? "active" : "",
3022
3025
  children: U.name
3023
3026
  },
3024
- N
3027
+ E
3025
3028
  )) }),
3026
3029
  T
3027
3030
  ] }),
@@ -3047,7 +3050,7 @@ var Ct;
3047
3050
  ] }),
3048
3051
  d,
3049
3052
  k && /* @__PURE__ */ J.jsx("div", { className: _e.b, children: /* @__PURE__ */ J.jsx(
3050
- Hr,
3053
+ Vr,
3051
3054
  {
3052
3055
  label: k.label,
3053
3056
  onSend: q,
@@ -3062,8 +3065,8 @@ var Ct;
3062
3065
  }
3063
3066
  a.Main = h;
3064
3067
  })(Ct || (Ct = {}));
3065
- const Zr = (a, _ = ",") => (a = a !== void 0 && a !== "" ? a.split(_) : [], a.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
3066
- function vn({
3068
+ const Qr = (a, _ = ",") => (a = a !== void 0 && a !== "" ? a.split(_) : [], a.filter((c) => c !== "").reduce((c, u) => (c[u] = !0, c), {}));
3069
+ function bn({
3067
3070
  value: a,
3068
3071
  onValue: _,
3069
3072
  name: c,
@@ -3078,31 +3081,31 @@ function vn({
3078
3081
  after: d = "",
3079
3082
  modal: k,
3080
3083
  options: S,
3081
- className: P
3084
+ className: N
3082
3085
  }) {
3083
- const [A, I] = K.useState(Zr(a, g)), T = (Y) => {
3086
+ const [B, M] = K.useState(Qr(a, g)), T = (Y) => {
3084
3087
  if (!(s && h) || !k) return;
3085
3088
  let q = k.split(".");
3086
3089
  Ct.Open(q[0], q[1], {
3087
- callback: (L) => {
3090
+ callback: (A) => {
3088
3091
  if (_)
3089
3092
  switch (o) {
3090
3093
  case "array":
3091
- _({ value: Object.keys(L), name: c });
3094
+ _({ value: Object.keys(A), name: c });
3092
3095
  break;
3093
3096
  case "string":
3094
3097
  _({
3095
- value: Object.keys(L).filter((U) => L[U]).join(g),
3098
+ value: Object.keys(A).filter((U) => A[U]).join(g),
3096
3099
  name: c
3097
3100
  });
3098
3101
  break;
3099
3102
  default:
3100
- _({ value: L, name: c });
3103
+ _({ value: A, name: c });
3101
3104
  }
3102
- I(
3105
+ M(
3103
3106
  Object.fromEntries(
3104
- Object.entries(L).filter(
3105
- ([U, N]) => N !== !1
3107
+ Object.entries(A).filter(
3108
+ ([U, E]) => E !== !1
3106
3109
  )
3107
3110
  )
3108
3111
  );
@@ -3110,10 +3113,10 @@ function vn({
3110
3113
  onValue: _,
3111
3114
  options: S,
3112
3115
  name: c,
3113
- value: A
3116
+ value: B
3114
3117
  });
3115
3118
  }, p = {};
3116
- p.field = "group", P && (p.className = P);
3119
+ p.field = "group", N && (p.className = N);
3117
3120
  const $ = {};
3118
3121
  return u && ($.placeholder = u), x ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs("dl", { ...p, children: [
3119
3122
  /* @__PURE__ */ f.jsxs("dt", { children: [
@@ -3140,7 +3143,7 @@ function vn({
3140
3143
  onClick: T,
3141
3144
  edit: (s && h) + "",
3142
3145
  "data-after": d,
3143
- children: Object.keys(A).map((Y) => {
3146
+ children: Object.keys(B).map((Y) => {
3144
3147
  var q;
3145
3148
  return /* @__PURE__ */ f.jsx("div", { className: "field_group_item", children: (q = S[Y]) == null ? void 0 : q.label }, Y);
3146
3149
  })
@@ -3149,13 +3152,13 @@ function vn({
3149
3152
  O && /* @__PURE__ */ f.jsx("em", { children: O })
3150
3153
  ] });
3151
3154
  }
3152
- const Vr = "_o_1wehm_12", Xr = "_l_1wehm_22", Qr = "_i_1wehm_72", en = "_f_1wehm_81", St = {
3153
- o: Vr,
3154
- l: Xr,
3155
- i: Qr,
3156
- f: en
3155
+ const en = "_o_1wehm_12", tn = "_l_1wehm_22", rn = "_i_1wehm_72", nn = "_f_1wehm_81", St = {
3156
+ o: en,
3157
+ l: tn,
3158
+ i: rn,
3159
+ f: nn
3157
3160
  };
3158
- function gn({
3161
+ function kn({
3159
3162
  title: a,
3160
3163
  error: _,
3161
3164
  edit: c = !0,
@@ -3170,18 +3173,18 @@ function gn({
3170
3173
  name: d,
3171
3174
  after: k,
3172
3175
  view: S,
3173
- order: P,
3174
- isReload: A = !1
3176
+ order: N,
3177
+ isReload: B = !1
3175
3178
  }) {
3176
3179
  var R, v;
3177
- const I = K.useRef(null), [T, p] = K.useState(C), [$, Y] = K.useState(x), [q, L] = K.useState(!1);
3180
+ const M = K.useRef(null), [T, p] = K.useState(C), [$, Y] = K.useState(x), [q, A] = K.useState(!1);
3178
3181
  K.useEffect(() => {
3179
3182
  p(C), Y(x);
3180
3183
  }, [C, x]), g = !!(g && (C === 0 || ((R = $ == null ? void 0 : $[C]) == null ? void 0 : R.n) === void 0)) && !(c && u);
3181
- let N = (b) => {
3182
- p(b), O && O({ value: b, name: d, reload: A });
3184
+ let E = (b) => {
3185
+ p(b), O && O({ value: b, name: d, reload: B });
3183
3186
  }, W = { onClick: (b) => {
3184
- Object.keys($ || {}).length !== 0 && c && u && (I.position = b.target.getBoundingClientRect(), L(!0));
3187
+ Object.keys($ || {}).length !== 0 && c && u && (M.position = b.target.getBoundingClientRect(), A(!0));
3185
3188
  } };
3186
3189
  return s && (W.placeholder = s), k && (W.after = k), c && u && (W.edit = ""), g ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
3187
3190
  /* @__PURE__ */ f.jsxs(
@@ -3196,7 +3199,7 @@ function gn({
3196
3199
  {
3197
3200
  ...W,
3198
3201
  className: [z.f, St.f].join(" "),
3199
- ref: I,
3202
+ ref: M,
3200
3203
  children: (v = $ == null ? void 0 : $[T]) == null ? void 0 : v.n
3201
3204
  }
3202
3205
  ),
@@ -3218,17 +3221,17 @@ function gn({
3218
3221
  ]
3219
3222
  }
3220
3223
  ),
3221
- q && Ft(
3224
+ q && It(
3222
3225
  /* @__PURE__ */ f.jsx(
3223
- tn,
3226
+ an,
3224
3227
  {
3225
- parent: I.position,
3226
- onValue: N,
3228
+ parent: M.position,
3229
+ onValue: E,
3227
3230
  view: S,
3228
3231
  className: h,
3229
3232
  options: $,
3230
- order: P,
3231
- setOpen: L
3233
+ order: N,
3234
+ setOpen: A
3232
3235
  },
3233
3236
  (/* @__PURE__ */ new Date()).getTime()
3234
3237
  ),
@@ -3236,7 +3239,7 @@ function gn({
3236
3239
  )
3237
3240
  ] });
3238
3241
  }
3239
- const tn = ({
3242
+ const an = ({
3240
3243
  onValue: a,
3241
3244
  parent: _,
3242
3245
  className: c,
@@ -3267,11 +3270,11 @@ const tn = ({
3267
3270
  left: h + "px",
3268
3271
  width: _.width
3269
3272
  },
3270
- children: /* @__PURE__ */ f.jsx(rn, { order: g, options: u, link: x })
3273
+ children: /* @__PURE__ */ f.jsx(on, { order: g, options: u, link: x })
3271
3274
  }
3272
3275
  )
3273
3276
  ] });
3274
- }, rn = ({ order: a, options: _, link: c }) => a ? /* @__PURE__ */ f.jsx("ul", { children: a.map(
3277
+ }, on = ({ order: a, options: _, link: c }) => a ? /* @__PURE__ */ f.jsx("ul", { children: a.map(
3275
3278
  (u, g) => _[u].s !== 0 ? /* @__PURE__ */ f.jsx(
3276
3279
  "li",
3277
3280
  {
@@ -3294,7 +3297,7 @@ const tn = ({
3294
3297
  g
3295
3298
  ) : ""
3296
3299
  ) });
3297
- function hn({
3300
+ function wn({
3298
3301
  value: a,
3299
3302
  onValue: _,
3300
3303
  name: c,
@@ -3309,24 +3312,24 @@ function hn({
3309
3312
  view: d,
3310
3313
  modal: k,
3311
3314
  module: S,
3312
- options: P,
3313
- className: A
3315
+ options: N,
3316
+ className: B
3314
3317
  }) {
3315
- let [I, T] = K.useState(a), p = (q) => {
3318
+ let [M, T] = K.useState(a), p = (q) => {
3316
3319
  if (!(x && h) || !k) return;
3317
- let L = k.split(".");
3318
- Ct.Open(L[0], L[1], {
3320
+ let A = k.split(".");
3321
+ Ct.Open(A[0], A[1], {
3319
3322
  callback: (U) => {
3320
3323
  _ && _({ value: U, name: c }), T(U);
3321
3324
  },
3322
3325
  onValue: _,
3323
- options: P,
3326
+ options: N,
3324
3327
  name: c,
3325
3328
  value: a
3326
3329
  });
3327
3330
  };
3328
3331
  const $ = {};
3329
- $.field = "input", A && ($.className = A);
3332
+ $.field = "input", B && ($.className = B);
3330
3333
  const Y = {};
3331
3334
  return u && (Y.placeholder = u), O ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs("dl", { ...$, children: [
3332
3335
  g && /* @__PURE__ */ f.jsx("dt", { children: g }),
@@ -3337,13 +3340,13 @@ function hn({
3337
3340
  onClick: p,
3338
3341
  edit: (x && h) + "",
3339
3342
  "data-after": o,
3340
- children: I
3343
+ children: M
3341
3344
  }
3342
3345
  ),
3343
3346
  C && /* @__PURE__ */ f.jsx("em", { children: C })
3344
3347
  ] });
3345
3348
  }
3346
- function bn({
3349
+ function jn({
3347
3350
  value: a,
3348
3351
  onValue: _,
3349
3352
  onSave: c,
@@ -3358,39 +3361,39 @@ function bn({
3358
3361
  native: d = !1,
3359
3362
  isShow: k = !1,
3360
3363
  maxLength: S,
3361
- eyes: P = [],
3362
- after: A = ""
3364
+ eyes: N = [],
3365
+ after: B = ""
3363
3366
  }) {
3364
- const [I, T] = K.useState(k);
3365
- let p = (N) => {
3367
+ const [M, T] = K.useState(k);
3368
+ let p = (E) => {
3366
3369
  _ && _({
3367
- value: N.target.textContent,
3370
+ value: E.target.textContent,
3368
3371
  name: u,
3369
3372
  reload: o
3370
3373
  });
3371
- }, $ = (N) => {
3372
- N.key === "Enter" && N.preventDefault();
3373
- }, Y = (N) => {
3374
- N.preventDefault(), navigator.clipboard.readText().then((E) => {
3374
+ }, $ = (E) => {
3375
+ E.key === "Enter" && E.preventDefault();
3376
+ }, Y = (E) => {
3377
+ E.preventDefault(), navigator.clipboard.readText().then((P) => {
3375
3378
  if (S) {
3376
- let W = N.target.textContent.length;
3379
+ let W = E.target.textContent.length;
3377
3380
  if (W >= S) return;
3378
- S -= W, E = E.slice(0, S);
3381
+ S -= W, P = P.slice(0, S);
3379
3382
  }
3380
3383
  window.document.execCommand(
3381
3384
  "insertText",
3382
3385
  !1,
3383
- E.replace(/(\r\n|\n|\r)/gm, " ")
3386
+ P.replace(/(\r\n|\n|\r)/gm, " ")
3384
3387
  );
3385
- }).catch((E) => {
3388
+ }).catch((P) => {
3386
3389
  });
3387
- }, q = (N) => {
3388
- te.Blur(N), c == null || c({ value: N.target.textContent.trim(), name: u });
3390
+ }, q = (E) => {
3391
+ te.Blur(E), c == null || c({ value: E.target.textContent.trim(), name: u });
3389
3392
  };
3390
- const L = {};
3391
- L.field = "password", I && (L.show = ""), C && (L.className = C);
3393
+ const A = {};
3394
+ A.field = "password", M && (A.show = ""), C && (A.className = C);
3392
3395
  const U = {};
3393
- return g && (U.placeholder = g), d ? "" : /* @__PURE__ */ f.jsxs("dl", { ...L, children: [
3396
+ return g && (U.placeholder = g), d ? "" : /* @__PURE__ */ f.jsxs("dl", { ...A, children: [
3394
3397
  O ? /* @__PURE__ */ f.jsx("dt", { children: O }) : "",
3395
3398
  /* @__PURE__ */ f.jsx(
3396
3399
  "dd",
@@ -3405,12 +3408,12 @@ function bn({
3405
3408
  children: a
3406
3409
  }
3407
3410
  ),
3408
- P[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => T(!I), children: I ? P[1] : P[0] }),
3409
- A,
3411
+ N[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => T(!M), children: M ? N[1] : N[0] }),
3412
+ B,
3410
3413
  x ? /* @__PURE__ */ f.jsx("em", { children: x }) : ""
3411
3414
  ] });
3412
3415
  }
3413
- function kn({
3416
+ function xn({
3414
3417
  onValue: a,
3415
3418
  onSave: _,
3416
3419
  active: c,
@@ -3425,24 +3428,24 @@ function kn({
3425
3428
  className: d,
3426
3429
  maxLength: k,
3427
3430
  name: S,
3428
- after: P = "",
3429
- before: A = "",
3430
- view: I
3431
+ after: N = "",
3432
+ before: B = "",
3433
+ view: M
3431
3434
  }) {
3432
3435
  g = g !== void 0 ? g : !0, c = c !== void 0 ? c : !0, s = !!(s && (h === "" || h === void 0)) && !(g && c), o = o !== void 0 ? o : "", u = u !== void 0 ? u : 99;
3433
- let p = !1, $ = (E) => {
3434
- a == null || a({ value: E.target.textContent, name: S });
3435
- }, Y = (E) => {
3436
- if (!(p && E.which === 86)) {
3437
- if (E.which === 17 || E.which === 91) return p = !0;
3438
- E.key !== "Backspace" && (E.target.textContent.length === u && E.preventDefault(), E.key === "Enter" && E.preventDefault(), isNaN(E.key) && E.preventDefault());
3439
- }
3440
- }, q = (E) => {
3441
- if (E.which === 17 || E.which === 91) return p = !1;
3442
- }, L = (E) => {
3443
- E.preventDefault(), navigator.clipboard.readText().then((W) => {
3436
+ let p = !1, $ = (P) => {
3437
+ a == null || a({ value: P.target.textContent, name: S });
3438
+ }, Y = (P) => {
3439
+ if (!(p && P.which === 86)) {
3440
+ if (P.which === 17 || P.which === 91) return p = !0;
3441
+ P.key !== "Backspace" && (P.target.textContent.length === u && P.preventDefault(), P.key === "Enter" && P.preventDefault(), isNaN(P.key) && P.preventDefault());
3442
+ }
3443
+ }, q = (P) => {
3444
+ if (P.which === 17 || P.which === 91) return p = !1;
3445
+ }, A = (P) => {
3446
+ P.preventDefault(), navigator.clipboard.readText().then((W) => {
3444
3447
  if (W = W.replace(/(?!^\+|\d)./g, ""), k) {
3445
- let R = E.target.textContent.length;
3448
+ let R = P.target.textContent.length;
3446
3449
  if (R >= k) return;
3447
3450
  k -= R, W = W.slice(0, k);
3448
3451
  }
@@ -3450,39 +3453,39 @@ function kn({
3450
3453
  }).catch((W) => {
3451
3454
  });
3452
3455
  };
3453
- const U = (E) => {
3454
- te.Blur(E), _ == null || _({ value: E.target.textContent, name: S });
3456
+ const U = (P) => {
3457
+ te.Blur(P), _ == null || _({ value: P.target.textContent, name: S });
3455
3458
  };
3456
- let N = {};
3457
- return g && c ? (N.edit = "true", N.contentEditable = te.ContentEditable) : N.contentEditable = "false", N.inputMode = "decimal", o && (N.placeholder = o), s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
3459
+ let E = {};
3460
+ return g && c ? (E.edit = "true", E.contentEditable = te.ContentEditable) : E.contentEditable = "false", E.inputMode = "decimal", o && (E.placeholder = o), s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(
3458
3461
  "dl",
3459
3462
  {
3460
3463
  "data-field": "input",
3461
- className: [z.l, d].filter((E) => E !== void 0).join(" "),
3464
+ className: [z.l, d].filter((P) => P !== void 0).join(" "),
3462
3465
  children: [
3463
3466
  C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
3464
- A,
3467
+ B,
3465
3468
  /* @__PURE__ */ f.jsx(
3466
3469
  "dd",
3467
3470
  {
3468
3471
  className: [z.f, z.w].join(" "),
3469
- onPaste: L,
3472
+ onPaste: A,
3470
3473
  onInput: $,
3471
3474
  onBlur: U,
3472
3475
  onKeyDown: Y,
3473
3476
  onKeyUp: q,
3474
3477
  suppressContentEditableWarning: !0,
3475
- ...N,
3478
+ ...E,
3476
3479
  children: h
3477
3480
  }
3478
3481
  ),
3479
- P,
3482
+ N,
3480
3483
  O && /* @__PURE__ */ f.jsx("em", { children: O })
3481
3484
  ]
3482
3485
  }
3483
3486
  );
3484
3487
  }
3485
- function wn({
3488
+ function Cn({
3486
3489
  value: a = "",
3487
3490
  onValue: _,
3488
3491
  onSave: c,
@@ -3497,40 +3500,40 @@ function wn({
3497
3500
  after: d = "",
3498
3501
  show: k = !0,
3499
3502
  view: S,
3500
- className: P = ""
3503
+ className: N = ""
3501
3504
  }) {
3502
3505
  h = h !== void 0 ? h : !0, o = o !== void 0 ? o : !0, s = !!(s && (a === "" || a === void 0)) && !(h && o), K.useRef(null);
3503
- let I = g, T = !0, p = 0, $ = (v, b) => {
3504
- let M = document.createRange(), G = window.getSelection();
3505
- M.setStart(b.childNodes[0], v), M.collapse(!0), G.removeAllRanges(), G.addRange(M), b.focus();
3506
+ let M = g, T = !0, p = 0, $ = (v, b) => {
3507
+ let I = document.createRange(), G = window.getSelection();
3508
+ I.setStart(b.childNodes[0], v), I.collapse(!0), G.removeAllRanges(), G.addRange(I), b.focus();
3506
3509
  }, Y = (v) => {
3507
3510
  v.preventDefault(), navigator.clipboard.readText().then((b) => {
3508
3511
  window.document.execCommand("insertText", !1, b);
3509
3512
  }).catch((b) => {
3510
3513
  });
3511
3514
  }, q = (v) => {
3512
- let b = 0, M = "", G = v.replace(/\D/g, "");
3515
+ let b = 0, I = "", G = v.replace(/\D/g, "");
3513
3516
  G === "" && (T = !0);
3514
3517
  let Q = G.split(""), ie = "";
3515
3518
  Q.forEach((ge) => {
3516
- T && (ie += ge, T && (p = ("" + ie).length, I = g.replace(new RegExp("[0-9]", "g"), "_"), M = ""), p > ("" + ie).length && (T = !0, I = g.replace(new RegExp("[0-9]", "g"), "_"), M = ""));
3519
+ T && (ie += ge, T && (p = ("" + ie).length, M = g.replace(new RegExp("[0-9]", "g"), "_"), I = ""), p > ("" + ie).length && (T = !0, M = g.replace(new RegExp("[0-9]", "g"), "_"), I = ""));
3517
3520
  });
3518
- let se = I.replace(/\D/g, "");
3519
- return se.length >= G.length && (G = se), { q: I.replace(/[_\d]/g, function() {
3521
+ let se = M.replace(/\D/g, "");
3522
+ return se.length >= G.length && (G = se), { q: M.replace(/[_\d]/g, function() {
3520
3523
  return G.charAt(b++) || "_";
3521
- }), i: b, v: G, f: M };
3522
- }, L = (v) => {
3524
+ }), i: b, v: G, f: I };
3525
+ }, A = (v) => {
3523
3526
  v.preventDefault(), navigator.clipboard.writeText(v.target.textContent.replace(/\D/g, "")).then(
3524
3527
  function() {
3525
- bt.Copy("Данные в буфер обмене");
3528
+ xt.Copy("Данные в буфер обмене");
3526
3529
  },
3527
3530
  function(b) {
3528
3531
  }
3529
3532
  );
3530
- }, U = q(a), N = (v) => {
3533
+ }, U = q(a), E = (v) => {
3531
3534
  let b = q(v.target.textContent);
3532
- v.target.textContent = b.q, b.i = b.q.lastIndexOf(b.v.substr(-1)), b.i < b.q.length && b.q !== I ? b.i++ : b.i = b.q.indexOf("_"), $(b.i, v.target), _ && _({ value: b.q.replace(/\D/g, ""), name: u });
3533
- }, E = (v) => {
3535
+ v.target.textContent = b.q, b.i = b.q.lastIndexOf(b.v.substr(-1)), b.i < b.q.length && b.q !== M ? b.i++ : b.i = b.q.indexOf("_"), $(b.i, v.target), _ && _({ value: b.q.replace(/\D/g, ""), name: u });
3536
+ }, P = (v) => {
3534
3537
  v.key === "Enter" && v.preventDefault();
3535
3538
  };
3536
3539
  const W = (v) => {
@@ -3544,7 +3547,7 @@ function wn({
3544
3547
  "dl",
3545
3548
  {
3546
3549
  "data-field": "input",
3547
- className: [z.l, P].filter((v) => v !== void 0).join(" "),
3550
+ className: [z.l, N].filter((v) => v !== void 0).join(" "),
3548
3551
  children: [
3549
3552
  O ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: O }) : "",
3550
3553
  /* @__PURE__ */ f.jsx(
@@ -3552,9 +3555,9 @@ function wn({
3552
3555
  {
3553
3556
  className: [z.f, z.w].join(" "),
3554
3557
  onPaste: Y,
3555
- onInput: N,
3556
- onKeyDown: E,
3557
- onContextMenu: L,
3558
+ onInput: E,
3559
+ onKeyDown: P,
3560
+ onContextMenu: A,
3558
3561
  onBlur: W,
3559
3562
  suppressContentEditableWarning: !0,
3560
3563
  ...R,
@@ -3566,7 +3569,7 @@ function wn({
3566
3569
  }
3567
3570
  );
3568
3571
  }
3569
- function jn({
3572
+ function Sn({
3570
3573
  id: a,
3571
3574
  value: _,
3572
3575
  onValue: c,
@@ -3581,9 +3584,9 @@ function jn({
3581
3584
  show: d = !0,
3582
3585
  maxLength: k,
3583
3586
  view: S,
3584
- onSave: P,
3585
- className: A = "",
3586
- isCopy: I = !0
3587
+ onSave: N,
3588
+ className: B = "",
3589
+ isCopy: M = !0
3587
3590
  }) {
3588
3591
  let [T, p] = K.useState(!1);
3589
3592
  T = s ? !0 : T;
@@ -3592,54 +3595,45 @@ function jn({
3592
3595
  }, Y = (E) => {
3593
3596
  k && E.target.textContent.trim().length >= k && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
3594
3597
  }, q = (E) => {
3595
- I && (E.preventDefault(), navigator.clipboard.writeText(E.target.textContent.trim()).then(
3596
- function() {
3597
- bt.Copy("Данные в буфер обмене");
3598
- },
3599
- function(W) {
3600
- }
3601
- ));
3602
- }, L = (E) => {
3603
- E.preventDefault(), navigator.clipboard.readText().then((W) => {
3598
+ E.preventDefault(), navigator.clipboard.readText().then((P) => {
3604
3599
  if (k) {
3605
- let R = E.target.textContent.length;
3606
- if (R >= k) return;
3607
- k -= R, W = W.slice(0, k);
3600
+ let W = E.target.textContent.length;
3601
+ if (W >= k) return;
3602
+ k -= W, P = P.slice(0, k);
3608
3603
  }
3609
3604
  window.document.execCommand(
3610
3605
  "insertText",
3611
3606
  !1,
3612
- W.replace(/(\r\n|\n|\r)/gm, " ")
3607
+ P.replace(/(\r\n|\n|\r)/gm, " ")
3613
3608
  );
3614
- }).catch((W) => {
3609
+ }).catch((P) => {
3615
3610
  });
3616
3611
  };
3617
3612
  if (x) return /* @__PURE__ */ f.jsx(f.Fragment, {});
3618
3613
  if (!(s && h) && !d) return "";
3619
- const U = {};
3620
- g && (U.placeholder = g), s && h && (U.edit = ""), T && (U.open = "");
3621
- const N = (E) => {
3622
- te.Blur(E), P == null || P({ value: E.target.textContent.trim(), name: u });
3614
+ const A = {};
3615
+ g && (A.placeholder = g), s && h && (A.edit = ""), T && (A.open = "");
3616
+ const U = (E) => {
3617
+ te.Blur(E), N == null || N({ value: E.target.textContent.trim(), name: u });
3623
3618
  };
3624
3619
  return /* @__PURE__ */ f.jsxs(
3625
3620
  "dl",
3626
3621
  {
3627
3622
  "data-field": "note",
3628
- className: [z.l, A].filter((E) => E !== void 0).join(" "),
3623
+ className: [z.l, B].filter((E) => E !== void 0).join(" "),
3629
3624
  children: [
3630
3625
  C ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: C }) : "",
3631
3626
  /* @__PURE__ */ f.jsx(
3632
3627
  "dd",
3633
3628
  {
3634
3629
  className: [z.f, z.n].join(" "),
3635
- onPaste: L,
3630
+ onPaste: q,
3636
3631
  onInput: $,
3637
- onBlur: N,
3632
+ onBlur: U,
3638
3633
  onKeyDown: Y,
3639
- onContextMenu: q,
3640
3634
  contentEditable: s && h ? te.ContentEditable : "false",
3641
3635
  suppressContentEditableWarning: !0,
3642
- ...U,
3636
+ ...A,
3643
3637
  children: _
3644
3638
  }
3645
3639
  ),
@@ -5031,7 +5025,7 @@ const Ot = {
5031
5025
  mask: "+1939(___) ___-__-__"
5032
5026
  }
5033
5027
  };
5034
- function xn({
5028
+ function Rn({
5035
5029
  value: a,
5036
5030
  onValue: _,
5037
5031
  onSave: c,
@@ -5048,46 +5042,46 @@ function xn({
5048
5042
  className: S = ""
5049
5043
  }) {
5050
5044
  s = s !== void 0 ? s : !0, h = h !== void 0 ? h : !0, x = !!(x && (a === "" || a === void 0)) && !(s && h), K.useRef(null);
5051
- let A = "+_(___) ___-__-__", I = !0, T = 0, p = (R, v) => {
5052
- let b = document.createRange(), M = window.getSelection();
5053
- b.setStart(v.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), v.focus();
5045
+ let B = "+_(___) ___-__-__", M = !0, T = 0, p = (R, v) => {
5046
+ let b = document.createRange(), I = window.getSelection();
5047
+ b.setStart(v.childNodes[0], R), b.collapse(!0), I.removeAllRanges(), I.addRange(b), v.focus();
5054
5048
  }, $ = (R) => {
5055
5049
  let v = q(R.target.textContent);
5056
- R.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== A ? v.i++ : v.i = v.q.indexOf("_"), p(v.i, R.target), _ && _({ value: v.q.replace(/\D/g, ""), name: u });
5050
+ R.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== B ? v.i++ : v.i = v.q.indexOf("_"), p(v.i, R.target), _ && _({ value: v.q.replace(/\D/g, ""), name: u });
5057
5051
  }, Y = (R) => {
5058
5052
  R.preventDefault(), navigator.clipboard.readText().then((v) => {
5059
5053
  window.document.execCommand("insertText", !1, v);
5060
5054
  }).catch((v) => {
5061
5055
  });
5062
5056
  }, q = (R) => {
5063
- let v = 0, b = "", M = R.replace(/\D/g, "");
5064
- M === "" && (I = !0);
5065
- let G = M.split(""), Q = "";
5057
+ let v = 0, b = "", I = R.replace(/\D/g, "");
5058
+ I === "" && (M = !0);
5059
+ let G = I.split(""), Q = "";
5066
5060
  G.forEach((ve) => {
5067
- I && (Q += ve, Ot[Q] !== void 0 && I ? (I = !1, A = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"), b = Ot[Q].code) : (I && (T = ("" + Q).length, A = `+${Q}_(___) ___-__-__`.replace(
5061
+ M && (Q += ve, Ot[Q] !== void 0 && M ? (M = !1, B = Ot[Q].mask.replace(new RegExp("[0-9]", "g"), "_"), b = Ot[Q].code) : (M && (T = ("" + Q).length, B = `+${Q}_(___) ___-__-__`.replace(
5068
5062
  new RegExp("[0-9]", "g"),
5069
5063
  "_"
5070
- ), b = ""), T > ("" + Q).length && (I = !0, A = `+${Q}_(___) ___-__-__`.replace(
5064
+ ), b = ""), T > ("" + Q).length && (M = !0, B = `+${Q}_(___) ___-__-__`.replace(
5071
5065
  new RegExp("[0-9]", "g"),
5072
5066
  "_"
5073
5067
  ), b = "")));
5074
5068
  });
5075
- let ie = A.replace(/\D/g, "");
5076
- return ie.length >= M.length && (M = ie), { q: A.replace(/[_\d]/g, function() {
5077
- return M.charAt(v++) || "_";
5078
- }), i: v, v: M, f: b };
5079
- }, L = (R) => {
5069
+ let ie = B.replace(/\D/g, "");
5070
+ return ie.length >= I.length && (I = ie), { q: B.replace(/[_\d]/g, function() {
5071
+ return I.charAt(v++) || "_";
5072
+ }), i: v, v: I, f: b };
5073
+ }, A = (R) => {
5080
5074
  R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.replace(/\D/g, "")).then(
5081
5075
  function() {
5082
- bt.Copy("Данные в буфер обмене");
5076
+ xt.Copy("Данные в буфер обмене");
5083
5077
  },
5084
5078
  function(v) {
5085
5079
  }
5086
5080
  );
5087
- }, U = q(a), N = (R) => {
5081
+ }, U = q(a), E = (R) => {
5088
5082
  R.key === "Enter" && R.preventDefault();
5089
5083
  };
5090
- const E = (R) => {
5084
+ const P = (R) => {
5091
5085
  te.Blur(R), c && c({
5092
5086
  value: R.target.textContent.replace(/\D/g, ""),
5093
5087
  name: u
@@ -5107,9 +5101,9 @@ function xn({
5107
5101
  className: [z.f, z.w].join(" "),
5108
5102
  onPaste: Y,
5109
5103
  onInput: $,
5110
- onKeyDown: N,
5111
- onContextMenu: L,
5112
- onBlur: E,
5104
+ onKeyDown: E,
5105
+ onContextMenu: A,
5106
+ onBlur: P,
5113
5107
  suppressContentEditableWarning: !0,
5114
5108
  ...W,
5115
5109
  children: U.q
@@ -5120,11 +5114,11 @@ function xn({
5120
5114
  }
5121
5115
  );
5122
5116
  }
5123
- const nn = "_o_6cy45_1", an = "_c_6cy45_11", Rt = {
5124
- o: nn,
5125
- c: an
5117
+ const _n = "_o_1c9e1_1", sn = "_c_1c9e1_11", Rt = {
5118
+ o: _n,
5119
+ c: sn
5126
5120
  };
5127
- function Cn({
5121
+ function En({
5128
5122
  title: a,
5129
5123
  error: _,
5130
5124
  edit: c = !0,
@@ -5139,19 +5133,19 @@ function Cn({
5139
5133
  value: d,
5140
5134
  after: k
5141
5135
  }) {
5142
- let [S, P] = K.useState(
5136
+ let [S, N] = K.useState(
5143
5137
  d === void 0 ? /* @__PURE__ */ new Date() : d
5144
5138
  );
5145
- const A = K.useRef(null), [I, T] = K.useState(!1);
5139
+ const B = K.useRef(null), [M, T] = K.useState(!1);
5146
5140
  let p = !c && u;
5147
5141
  K.useEffect(() => {
5148
- P(d === void 0 ? /* @__PURE__ */ new Date() : d);
5142
+ N(d === void 0 ? /* @__PURE__ */ new Date() : d);
5149
5143
  }, [d]);
5150
- let $ = (L) => {
5151
- P(L), s == null || s({ value: L, name: o });
5152
- }, Y = (L) => {
5153
- const U = L.target.getBoundingClientRect(), N = U.left, E = U.bottom, W = U.top;
5154
- A.position = { x: N, b: E, y: W }, T(!0);
5144
+ let $ = (A) => {
5145
+ N(A), s == null || s({ value: A, name: o });
5146
+ }, Y = (A) => {
5147
+ const U = A.target.getBoundingClientRect(), E = U.left, P = U.bottom, W = U.top;
5148
+ B.position = { x: E, b: P, y: W }, T(!0);
5155
5149
  };
5156
5150
  const q = {};
5157
5151
  return C && (q.placeholder = C), p ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
@@ -5159,7 +5153,7 @@ function Cn({
5159
5153
  "dl",
5160
5154
  {
5161
5155
  "data-field": "date",
5162
- className: [z.l, g].filter((L) => L !== void 0).join(" "),
5156
+ className: [z.l, g].filter((A) => A !== void 0).join(" "),
5163
5157
  children: [
5164
5158
  a ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: a }) : "",
5165
5159
  /* @__PURE__ */ f.jsxs(
@@ -5170,7 +5164,7 @@ function Cn({
5170
5164
  ...q,
5171
5165
  "data-edit": (c && u) + "",
5172
5166
  children: [
5173
- sn(S, "dd.mm.yyyy"),
5167
+ un(S, "dd.mm.yyyy"),
5174
5168
  k
5175
5169
  ]
5176
5170
  }
@@ -5179,11 +5173,11 @@ function Cn({
5179
5173
  ]
5180
5174
  }
5181
5175
  ),
5182
- I && Ft(
5176
+ M && It(
5183
5177
  /* @__PURE__ */ f.jsx(
5184
- on,
5178
+ ln,
5185
5179
  {
5186
- position: A.position,
5180
+ position: B.position,
5187
5181
  onValue: $,
5188
5182
  date: S,
5189
5183
  max: O,
@@ -5197,7 +5191,7 @@ function Cn({
5197
5191
  )
5198
5192
  ] });
5199
5193
  }
5200
- const on = ({
5194
+ const ln = ({
5201
5195
  date: a,
5202
5196
  onValue: _,
5203
5197
  position: c,
@@ -5217,33 +5211,33 @@ const on = ({
5217
5211
  }, [d, k] = K.useState({ y: o.y, m: o.m }), S = (v) => {
5218
5212
  let b = v.getDay();
5219
5213
  return b === 0 && (b = 7), b - 1;
5220
- }, P = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], A = d.m - 1, I = new Date(d.y, A), T = [];
5221
- for (let v = 0; v < S(I); v++)
5214
+ }, N = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], B = d.m - 1, M = new Date(d.y, B), T = [];
5215
+ for (let v = 0; v < S(M); v++)
5222
5216
  T.push(0);
5223
- for (; I.getMonth() === A; )
5224
- T.push(I.getDate()), I.setDate(I.getDate() + 1);
5217
+ for (; M.getMonth() === B; )
5218
+ T.push(M.getDate()), M.setDate(M.getDate() + 1);
5225
5219
  let p = () => {
5226
5220
  O(!1);
5227
5221
  }, $ = () => {
5228
- L(d.m + 1, d.y);
5222
+ A(d.m + 1, d.y);
5229
5223
  }, Y = () => {
5230
- L(d.m - 1, d.y);
5224
+ A(d.m - 1, d.y);
5231
5225
  }, q = (v) => {
5232
5226
  _(
5233
- d.y + "-" + qt(2, d.m) + "-" + qt(2, v)
5227
+ d.y + "-" + Yt(2, d.m) + "-" + Yt(2, v)
5234
5228
  ), p();
5235
- }, L = (v, b) => {
5229
+ }, A = (v, b) => {
5236
5230
  b = v > 12 ? b + 1 : v < 1 ? b - 1 : b, v = v > 12 ? 1 : v < 1 ? 12 : v, k({ y: b, m: v });
5237
5231
  };
5238
- const U = (v) => h.y === d.y && h.m === d.m && h.d === v ? { "data-active": "true" } : {}, N = (v) => o.y === d.y && o.m === d.m && o.d === v ? { "data-current": "true" } : {}, E = (v) => {
5232
+ const U = (v) => h.y === d.y && h.m === d.m && h.d === v ? { "data-active": "true" } : {}, E = (v) => o.y === d.y && o.m === d.m && o.d === v ? { "data-current": "true" } : {}, P = (v) => {
5239
5233
  let b = !0;
5240
5234
  if (u) {
5241
- let M = u.getTime(), G = new Date(d.y, d.m - 1, v).getTime();
5242
- M < G && (b = !1);
5235
+ let I = u.getTime(), G = new Date(d.y, d.m - 1, v).getTime();
5236
+ I < G && (b = !1);
5243
5237
  }
5244
5238
  if (g) {
5245
- let M = g.getTime(), G = new Date(d.y, d.m - 1, v).getTime();
5246
- M > G && (b = !1);
5239
+ let I = g.getTime(), G = new Date(d.y, d.m - 1, v).getTime();
5240
+ I > G && (b = !1);
5247
5241
  }
5248
5242
  return b;
5249
5243
  };
@@ -5272,7 +5266,7 @@ const on = ({
5272
5266
  }
5273
5267
  ) }),
5274
5268
  /* @__PURE__ */ f.jsxs("h2", { children: [
5275
- _n(d.m).name,
5269
+ cn(d.m).name,
5276
5270
  " ",
5277
5271
  d.y
5278
5272
  ] }),
@@ -5289,23 +5283,23 @@ const on = ({
5289
5283
  ) })
5290
5284
  ] }),
5291
5285
  /* @__PURE__ */ f.jsxs("div", { "grid-calendar": "", children: [
5292
- P.map((v, b) => /* @__PURE__ */ f.jsx("p", { children: v }, "v" + b)),
5293
- T.map((v, b) => /* @__PURE__ */ f.jsx("span", { children: v !== 0 && E(v) ? /* @__PURE__ */ f.jsx(
5286
+ N.map((v, b) => /* @__PURE__ */ f.jsx("p", { children: v }, "v" + b)),
5287
+ T.map((v, b) => /* @__PURE__ */ f.jsx("span", { children: v !== 0 && P(v) ? /* @__PURE__ */ f.jsx(
5294
5288
  "b",
5295
5289
  {
5296
5290
  ...U(v),
5297
- ...N(v),
5291
+ ...E(v),
5298
5292
  onClick: () => q(v),
5299
5293
  children: v
5300
5294
  }
5301
- ) : /* @__PURE__ */ f.jsx("p", { ...U(v), ...N(v), children: v !== 0 ? v : "" }) }, b))
5295
+ ) : /* @__PURE__ */ f.jsx("p", { ...U(v), ...E(v), children: v !== 0 ? v : "" }) }, b))
5302
5296
  ] })
5303
5297
  ]
5304
5298
  }
5305
5299
  )
5306
5300
  ] });
5307
5301
  };
5308
- function _n(a) {
5302
+ function cn(a) {
5309
5303
  return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
5310
5304
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
5311
5305
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
@@ -5321,12 +5315,12 @@ function _n(a) {
5321
5315
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
5322
5316
  }[a];
5323
5317
  }
5324
- function qt(a, _) {
5318
+ function Yt(a, _) {
5325
5319
  let c = _ + "";
5326
5320
  for (; c.length < a; ) c = "0" + c;
5327
5321
  return c;
5328
5322
  }
5329
- function sn(a, _) {
5323
+ function un(a, _) {
5330
5324
  _ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
5331
5325
  let c = {
5332
5326
  yyyy: a.getFullYear(),
@@ -5343,7 +5337,7 @@ function sn(a, _) {
5343
5337
  _ = _.replace(u, c[u]);
5344
5338
  return _;
5345
5339
  }
5346
- function Sn({
5340
+ function On({
5347
5341
  value: a,
5348
5342
  onValue: _,
5349
5343
  name: c,
@@ -5356,16 +5350,16 @@ function Sn({
5356
5350
  className: h
5357
5351
  }) {
5358
5352
  let [o, d] = K.useState(a);
5359
- const k = K.useRef(null), [S, P] = K.useState(!1);
5353
+ const k = K.useRef(null), [S, N] = K.useState(!1);
5360
5354
  K.useEffect(() => {
5361
5355
  d(a);
5362
5356
  }, [a]);
5363
- let A = (p) => {
5357
+ let B = (p) => {
5364
5358
  d(p), _ && _({ value: p, name: c });
5365
- }, I = (p) => {
5359
+ }, M = (p) => {
5366
5360
  if (!C || !O) return;
5367
5361
  const $ = p.target.getBoundingClientRect(), Y = $.left, q = $.top;
5368
- k.position = { x: Y, y: q }, P(!0);
5362
+ k.position = { x: Y, y: q }, N(!0);
5369
5363
  };
5370
5364
  const T = {};
5371
5365
  return s && (T.placeholder = s), g || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
@@ -5379,24 +5373,24 @@ function Sn({
5379
5373
  /* @__PURE__ */ f.jsx(
5380
5374
  "dd",
5381
5375
  {
5382
- onClick: I,
5376
+ onClick: M,
5383
5377
  ...T,
5384
5378
  className: [z.f, z.w].join(" "),
5385
- children: cn(o, "mm.yyyy")
5379
+ children: fn(o, "mm.yyyy")
5386
5380
  }
5387
5381
  ),
5388
5382
  u && /* @__PURE__ */ f.jsx("em", { children: u })
5389
5383
  ]
5390
5384
  }
5391
5385
  ),
5392
- S && Ft(
5386
+ S && It(
5393
5387
  /* @__PURE__ */ f.jsx(
5394
- ln,
5388
+ dn,
5395
5389
  {
5396
5390
  position: k.position,
5397
- onValue: A,
5391
+ onValue: B,
5398
5392
  date: o,
5399
- onOpen: P
5393
+ onOpen: N
5400
5394
  },
5401
5395
  (/* @__PURE__ */ new Date()).getTime()
5402
5396
  ),
@@ -5404,7 +5398,7 @@ function Sn({
5404
5398
  )
5405
5399
  ] });
5406
5400
  }
5407
- const ln = ({ onOpen: a, date: _, onValue: c, position: u }) => {
5401
+ const dn = ({ onOpen: a, date: _, onValue: c, position: u }) => {
5408
5402
  let g = /* @__PURE__ */ new Date(), C = new Date(_), O = {
5409
5403
  y: parseInt(g.getFullYear()),
5410
5404
  m: parseInt(g.getMonth()) + 1
@@ -5418,11 +5412,11 @@ const ln = ({ onOpen: a, date: _, onValue: c, position: u }) => {
5418
5412
  }, k = () => {
5419
5413
  h(s - 1);
5420
5414
  }, S = (p) => {
5421
- c(s + "-" + un(2, p)), o();
5422
- }, P = (p) => O.y === x.y && O.m === p ? "_FFEB3B" : "", A = Array(12).fill("").map((p, $) => $ + 1), I = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, T = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
5415
+ c(s + "-" + mn(2, p)), o();
5416
+ }, N = (p) => O.y === x.y && O.m === p ? "_FFEB3B" : "", B = Array(12).fill("").map((p, $) => $ + 1), M = window.innerHeight - u.y + 33 < 320 ? u.y - 312 : u.y + 33, T = window.innerWidth - u.x < 265 ? u.x - 235 : u.x;
5423
5417
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
5424
5418
  /* @__PURE__ */ f.jsx("div", { className: Rt.o, onClick: o }),
5425
- /* @__PURE__ */ f.jsxs("div", { className: Rt.c, style: { top: I + "px", left: T + "px" }, children: [
5419
+ /* @__PURE__ */ f.jsxs("div", { className: Rt.c, style: { top: M + "px", left: T + "px" }, children: [
5426
5420
  /* @__PURE__ */ f.jsxs("s", { children: [
5427
5421
  /* @__PURE__ */ f.jsx("i", { onClick: k, children: /* @__PURE__ */ f.jsx(
5428
5422
  "svg",
@@ -5448,21 +5442,21 @@ const ln = ({ onOpen: a, date: _, onValue: c, position: u }) => {
5448
5442
  }
5449
5443
  ) })
5450
5444
  ] }),
5451
- /* @__PURE__ */ f.jsx("div", { "grid-month": "", children: A.map((p, $) => /* @__PURE__ */ f.jsx(
5445
+ /* @__PURE__ */ f.jsx("div", { "grid-month": "", children: B.map((p, $) => /* @__PURE__ */ f.jsx(
5452
5446
  "span",
5453
5447
  {
5454
5448
  onClick: () => {
5455
5449
  S(p);
5456
5450
  },
5457
- color: P(p),
5458
- children: /* @__PURE__ */ f.jsx("b", { children: dn(p).abc })
5451
+ color: N(p),
5452
+ children: /* @__PURE__ */ f.jsx("b", { children: pn(p).abc })
5459
5453
  },
5460
5454
  $
5461
5455
  )) })
5462
5456
  ] })
5463
5457
  ] });
5464
5458
  };
5465
- function cn(a, _) {
5459
+ function fn(a, _) {
5466
5460
  _ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
5467
5461
  let c = {
5468
5462
  yyyy: a.getFullYear(),
@@ -5479,12 +5473,12 @@ function cn(a, _) {
5479
5473
  _ = _.replace(u, c[u]);
5480
5474
  return _;
5481
5475
  }
5482
- function un(a, _) {
5476
+ function mn(a, _) {
5483
5477
  let c = _ + "";
5484
5478
  for (; c.length < a; ) c = "0" + c;
5485
5479
  return c;
5486
5480
  }
5487
- function dn(a) {
5481
+ function pn(a) {
5488
5482
  return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
5489
5483
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
5490
5484
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
@@ -5500,7 +5494,7 @@ function dn(a) {
5500
5494
  12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
5501
5495
  }[a];
5502
5496
  }
5503
- function Rn({
5497
+ function Tn({
5504
5498
  value: a,
5505
5499
  onValue: _,
5506
5500
  name: c,
@@ -5515,33 +5509,33 @@ function Rn({
5515
5509
  course: d = 100,
5516
5510
  view: k,
5517
5511
  type: S,
5518
- onSave: P,
5519
- className: A = "",
5520
- isClear: I = !1
5512
+ onSave: N,
5513
+ className: B = "",
5514
+ isClear: M = !1
5521
5515
  }) {
5522
5516
  let T = !!(O && (a === "" || a === void 0)), p = (R) => S === "multi" ? R.replace(/[^+\d.+-]/g, "") : R.replace(/[^+\d.]/g, ""), $ = (R, v) => {
5523
- let b = document.createRange(), M = window.getSelection();
5524
- b.setStart(v.childNodes[0], R), b.collapse(!0), M.removeAllRanges(), M.addRange(b), v.focus();
5517
+ let b = document.createRange(), I = window.getSelection();
5518
+ b.setStart(v.childNodes[0], R), b.collapse(!0), I.removeAllRanges(), I.addRange(b), v.focus();
5525
5519
  }, Y = (R) => {
5526
5520
  _ == null || _({
5527
5521
  value: p(R.target.textContent) * d,
5528
5522
  name: c
5529
5523
  }), R.target.textContent = p(R.target.textContent), R.target.textContent.length > 0 && $(R.target.textContent.length, R.target);
5530
5524
  }, q = (R) => {
5531
- te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), P == null || P({ value: p(R.target.textContent) * d, name: c }), _ == null || _({
5525
+ te.Blur(R), R.target.textContent === "" && (R.target.textContent = 0), N == null || N({ value: p(R.target.textContent) * d, name: c }), _ == null || _({
5532
5526
  value: p(R.target.textContent) * d,
5533
5527
  name: c
5534
- }), R.target.textContent = Yt(R.target.textContent);
5535
- }, L = (R) => {
5528
+ }), R.target.textContent = Gt(R.target.textContent);
5529
+ }, A = (R) => {
5536
5530
  R.target.textContent = p(R.target.textContent);
5537
5531
  }, U = (R) => {
5538
5532
  R.currentTarget.previousElementSibling.textContent = "", _ == null || _({
5539
5533
  value: 0,
5540
5534
  name: c
5541
5535
  });
5542
- }, N = (R) => {
5543
- R.key === "Enter" && R.preventDefault();
5544
5536
  }, E = (R) => {
5537
+ R.key === "Enter" && R.preventDefault();
5538
+ }, P = (R) => {
5545
5539
  R.preventDefault(), navigator.clipboard.readText().then((v) => {
5546
5540
  v = v.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, v);
5547
5541
  }).catch((v) => {
@@ -5553,7 +5547,7 @@ function Rn({
5553
5547
  "dl",
5554
5548
  {
5555
5549
  "data-field": "date",
5556
- className: [z.l, A].filter((R) => R !== void 0).join(" "),
5550
+ className: [z.l, B].filter((R) => R !== void 0).join(" "),
5557
5551
  children: [
5558
5552
  g ? /* @__PURE__ */ f.jsx("dt", { className: z.t, children: g }) : "",
5559
5553
  /* @__PURE__ */ f.jsx(
@@ -5562,27 +5556,27 @@ function Rn({
5562
5556
  ...W,
5563
5557
  className: [z.f, z.w].join(" "),
5564
5558
  onInput: Y,
5565
- onPaste: E,
5559
+ onPaste: P,
5566
5560
  onBlur: q,
5567
- onKeyDown: N,
5568
- onFocus: L,
5561
+ onKeyDown: E,
5562
+ onFocus: A,
5569
5563
  contentEditable: x && s ? te.ContentEditable : "false",
5570
5564
  suppressContentEditableWarning: !0,
5571
5565
  "data-after": h,
5572
- children: !u || a ? Yt(a) : ""
5566
+ children: !u || a ? Gt(a) : ""
5573
5567
  }
5574
5568
  ),
5575
- I && /* @__PURE__ */ f.jsx("svg", { "action-type": "delete", onClick: U, viewBox: "0 0 24 24", children: /* @__PURE__ */ f.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
5569
+ M && /* @__PURE__ */ f.jsx("svg", { "action-type": "delete", onClick: U, viewBox: "0 0 24 24", children: /* @__PURE__ */ f.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) }),
5576
5570
  C ? /* @__PURE__ */ f.jsx("em", { children: C }) : ""
5577
5571
  ]
5578
5572
  }
5579
5573
  );
5580
5574
  }
5581
- function Yt(a, _) {
5575
+ function Gt(a, _) {
5582
5576
  return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
5583
5577
  }
5584
5578
  const he = {};
5585
- function En(a) {
5579
+ function Dn(a) {
5586
5580
  const [_, c] = K.useState({}), u = K.useRef(a);
5587
5581
  return he.u = (g) => {
5588
5582
  u.current = { ...u.current, [g.name]: g.value };
@@ -5592,13 +5586,13 @@ function En(a) {
5592
5586
  c(Date.now());
5593
5587
  }, [u.current, he.n];
5594
5588
  }
5595
- function On(a) {
5589
+ function Pn(a) {
5596
5590
  he.u(a), a.reload && he.r();
5597
5591
  }
5598
- function Tn() {
5592
+ function Nn() {
5599
5593
  he.r && he.r();
5600
5594
  }
5601
- function Dn(a) {
5595
+ function Fn(a) {
5602
5596
  const [_, c] = K.useState({}), u = K.useRef(a);
5603
5597
  return he.u = (g) => {
5604
5598
  u.current = { ...u.current, [g.name]: g.value };
@@ -5610,22 +5604,27 @@ function Dn(a) {
5610
5604
  c(Date.now());
5611
5605
  }, [u.current, he.n];
5612
5606
  }
5607
+ function Ft() {
5608
+ return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
5609
+ }
5610
+ Ft().elcrm || (Ft().elcrm = {});
5611
+ Object.assign(Ft().elcrm, { form: Zt.version });
5613
5612
  export {
5614
- Cn as Date,
5615
- wn as Mask,
5616
- hn as Modal,
5617
- Rn as Money,
5618
- Sn as Month,
5619
- jn as Note,
5620
- kn as Number,
5621
- vn as Options,
5622
- bn as Password,
5623
- xn as Phone,
5624
- pn as Progress,
5625
- gn as Select,
5626
- yn as String,
5627
- Tn as runReload,
5628
- On as setValue,
5629
- En as useData,
5630
- Dn as useError
5613
+ En as Date,
5614
+ Cn as Mask,
5615
+ wn as Modal,
5616
+ Tn as Money,
5617
+ On as Month,
5618
+ Sn as Note,
5619
+ xn as Number,
5620
+ bn as Options,
5621
+ jn as Password,
5622
+ Rn as Phone,
5623
+ gn as Progress,
5624
+ kn as Select,
5625
+ hn as String,
5626
+ Nn as runReload,
5627
+ Pn as setValue,
5628
+ Dn as useData,
5629
+ Fn as useError
5631
5630
  };