test-stpr-ui-kit 0.5.3 → 0.5.5

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.
@@ -1,4 +1,4 @@
1
- import { jsxs as P, jsx as c, Fragment as At } from "react/jsx-runtime";
1
+ import { jsxs as z, jsx as c, Fragment as At } from "react/jsx-runtime";
2
2
  import * as C from "react";
3
3
  import qe, { useState as ee, useEffect as re, useRef as de, useCallback as xe, useLayoutEffect as go, createContext as xo, useContext as Xo, useMemo as Me, useReducer as Zo, forwardRef as Qo, useImperativeHandle as Jo, Fragment as en } from "react";
4
4
  import tn from "react-dom";
@@ -52,7 +52,7 @@ const ve = (e) => {
52
52
  ...n,
53
53
  style: a
54
54
  });
55
- }, Sn = "_spAccordion_14avc_43", In = "_spAccordion_noBorder_14avc_60", Ln = "_spAccordion_noPadding_14avc_63", Rn = "_spAccordion_open_14avc_66", Fn = "_spAccordion__header_14avc_69", An = "_spAccordion_noOpen_14avc_88", jn = "_spAccordion__name_14avc_99", Dn = "_spAccordion__name_hiddenExpand_14avc_110", Mn = "_spAccordion__icon_14avc_125", zn = "_spAccordion__icon_hidden_14avc_131", Bn = "_spAccordion__icon_open_14avc_134", Pn = "_spAccordion__childrenWrapper_14avc_141", On = "_spAccordion__childrenWrapper_open_14avc_150", Wn = "_spAccordion__content_14avc_153", Un = "_spAccordion__content_open_14avc_159", ce = {
55
+ }, Sn = "_spAccordion_14avc_43", In = "_spAccordion_noBorder_14avc_60", Ln = "_spAccordion_noPadding_14avc_63", Rn = "_spAccordion_open_14avc_66", Fn = "_spAccordion__header_14avc_69", An = "_spAccordion_noOpen_14avc_88", jn = "_spAccordion__name_14avc_99", Dn = "_spAccordion__name_hiddenExpand_14avc_110", Mn = "_spAccordion__icon_14avc_125", Bn = "_spAccordion__icon_hidden_14avc_131", Pn = "_spAccordion__icon_open_14avc_134", zn = "_spAccordion__childrenWrapper_14avc_141", On = "_spAccordion__childrenWrapper_open_14avc_150", Wn = "_spAccordion__content_14avc_153", Un = "_spAccordion__content_open_14avc_159", ce = {
56
56
  spAccordion: Sn,
57
57
  spAccordion_noBorder: In,
58
58
  spAccordion_noPadding: Ln,
@@ -64,13 +64,13 @@ const ve = (e) => {
64
64
  "spAccordion__name--level-1": "_spAccordion__name--level-1_14avc_114",
65
65
  "spAccordion__name--level-2": "_spAccordion__name--level-2_14avc_117",
66
66
  spAccordion__icon: Mn,
67
- spAccordion__icon_hidden: zn,
68
- spAccordion__icon_open: Bn,
69
- spAccordion__childrenWrapper: Pn,
67
+ spAccordion__icon_hidden: Bn,
68
+ spAccordion__icon_open: Pn,
69
+ spAccordion__childrenWrapper: zn,
70
70
  spAccordion__childrenWrapper_open: On,
71
71
  spAccordion__content: Wn,
72
72
  spAccordion__content_open: Un
73
- }, zp = (e) => {
73
+ }, Bp = (e) => {
74
74
  const {
75
75
  name: t,
76
76
  children: o,
@@ -115,8 +115,8 @@ const ve = (e) => {
115
115
  [ce.spAccordion__content]: !0,
116
116
  [ce.spAccordion__content_open]: x
117
117
  });
118
- return /* @__PURE__ */ P("div", { className: A, children: [
119
- /* @__PURE__ */ P("div", { className: U, children: [
118
+ return /* @__PURE__ */ z("div", { className: A, children: [
119
+ /* @__PURE__ */ z("div", { className: U, children: [
120
120
  /* @__PURE__ */ c("div", { className: F, children: /* @__PURE__ */ c("span", { onClick: R, children: t }) }),
121
121
  /* @__PURE__ */ c(ve, { onClick: R, className: y, name: M.ChevronDown })
122
122
  ] }),
@@ -141,20 +141,20 @@ const ve = (e) => {
141
141
  style: { color: o }
142
142
  }
143
143
  );
144
- }, $n = "_spButton_7ic3z_43", Hn = "_spButton_noPadding_7ic3z_62", Vn = "_spButton_onlyIcon_7ic3z_65", Yn = "_spButton__iconContainer_7ic3z_73", Gn = "_spButton_link_7ic3z_76", Kn = "_spButton__text_7ic3z_80", Xn = "_spButton_white_7ic3z_92", Zn = "_spButton_primary_7ic3z_95", Qn = "_spButton_blue_7ic3z_95", Jn = "_spButton_secondary_7ic3z_115", ea = "_spButton_fullWidth_7ic3z_135", ta = "_spButton_disabled_7ic3z_138", oa = "_spButton__spinner_7ic3z_147", we = {
144
+ }, $n = "_spButton_108ra_43", Hn = "_spButton_noPadding_108ra_63", Vn = "_spButton_onlyIcon_108ra_66", Yn = "_spButton_link_108ra_74", Gn = "_spButton__text_108ra_78", Kn = "_spButton_white_108ra_90", Xn = "_spButton_primary_108ra_93", Zn = "_spButton_blue_108ra_93", Qn = "_spButton_secondary_108ra_113", Jn = "_spButton_fullWidth_108ra_133", ea = "_spButton_disabled_108ra_136", ta = "_spButton__spinner_108ra_145", oa = "_spButton__iconContainer_108ra_159", we = {
145
145
  spButton: $n,
146
146
  spButton_noPadding: Hn,
147
147
  spButton_onlyIcon: Vn,
148
- spButton__iconContainer: Yn,
149
- spButton_link: Gn,
150
- spButton__text: Kn,
151
- spButton_white: Xn,
152
- spButton_primary: Zn,
153
- spButton_blue: Qn,
154
- spButton_secondary: Jn,
155
- spButton_fullWidth: ea,
156
- spButton_disabled: ta,
157
- spButton__spinner: oa
148
+ spButton_link: Yn,
149
+ spButton__text: Gn,
150
+ spButton_white: Kn,
151
+ spButton_primary: Xn,
152
+ spButton_blue: Zn,
153
+ spButton_secondary: Qn,
154
+ spButton_fullWidth: Jn,
155
+ spButton_disabled: ea,
156
+ spButton__spinner: ta,
157
+ spButton__iconContainer: oa
158
158
  }, et = (e) => {
159
159
  const {
160
160
  color: t = "blue",
@@ -173,21 +173,23 @@ const ve = (e) => {
173
173
  isOnlyIcon: x = !1,
174
174
  noPadding: w = !1,
175
175
  classNameRoot: R,
176
- classNameIconContainerRoot: A
177
- } = e, U = (m) => {
178
- p || a == null || a(m);
179
- }, F = () => {
180
- const m = f({
181
- [we.spButton__text]: !0
182
- }), N = f({
183
- [we.spButton__iconContainer]: !0,
176
+ classNameTextRoot: A,
177
+ classNameIconContainerRoot: U
178
+ } = e, F = (N) => {
179
+ p || a == null || a(N);
180
+ }, y = () => {
181
+ const N = f({
182
+ [we.spButton__text]: !0,
184
183
  ...A && { [A]: !0 }
184
+ }), O = f({
185
+ [we.spButton__iconContainer]: !0,
186
+ ...U && { [U]: !0 }
185
187
  });
186
- return /* @__PURE__ */ P(At, { children: [
187
- (r || i || g) && /* @__PURE__ */ c("div", { className: N, children: g ? /* @__PURE__ */ c(jt, { size: "md", classNameRoot: we.spButton__spinner }) : i ? /* @__PURE__ */ c(ve, { name: i, rotate: s }) : r || null }),
188
- !x && u && /* @__PURE__ */ c("div", { className: m, children: u })
188
+ return /* @__PURE__ */ z(At, { children: [
189
+ (r || i || g) && /* @__PURE__ */ c("div", { className: O, children: g ? /* @__PURE__ */ c(jt, { size: "md", classNameRoot: we.spButton__spinner }) : i ? /* @__PURE__ */ c(ve, { name: i, rotate: s }) : r || null }),
190
+ !x && u && /* @__PURE__ */ c("div", { className: N, children: u })
189
191
  ] });
190
- }, y = f({
192
+ }, m = f({
191
193
  [we.spButton]: !0,
192
194
  [we.spButton_noPadding]: w,
193
195
  [we.spButton_onlyIcon]: x,
@@ -202,12 +204,12 @@ const ve = (e) => {
202
204
  "button",
203
205
  {
204
206
  style: n,
205
- className: y,
206
- onClick: U,
207
+ className: m,
208
+ onClick: F,
207
209
  disabled: p,
208
210
  type: l,
209
211
  form: d,
210
- children: F()
212
+ children: y()
211
213
  }
212
214
  );
213
215
  }, na = "_spApplyButtons_1l9jg_43", aa = "_spApplyButtons__cancel_1l9jg_73", ia = "_spApplyButtons__submit_1l9jg_76", Oe = {
@@ -242,7 +244,7 @@ const ve = (e) => {
242
244
  }), w = f({
243
245
  [Oe.spApplyButtons__cancel]: !0
244
246
  });
245
- return /* @__PURE__ */ P("div", { className: h, children: [
247
+ return /* @__PURE__ */ z("div", { className: h, children: [
246
248
  n && /* @__PURE__ */ c(
247
249
  et,
248
250
  {
@@ -270,7 +272,7 @@ const ve = (e) => {
270
272
  }
271
273
  )
272
274
  ] });
273
- }, Bp = (e = {}) => {
275
+ }, Pp = (e = {}) => {
274
276
  const { initialValue: t = null } = e, [o, n] = ee(t);
275
277
  return {
276
278
  isOpen: !!o,
@@ -416,8 +418,8 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
416
418
  }), N = f({
417
419
  [ge.modalWrapper__footer]: !0
418
420
  });
419
- return /* @__PURE__ */ c(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: w, children: /* @__PURE__ */ P("div", { className: R, style: s, children: [
420
- (u || g) && /* @__PURE__ */ P("div", { className: y, children: [
421
+ return /* @__PURE__ */ c(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: w, children: /* @__PURE__ */ z("div", { className: R, style: s, children: [
422
+ (u || g) && /* @__PURE__ */ z("div", { className: y, children: [
421
423
  typeof u == "string" ? /* @__PURE__ */ c(Te, { type: "h3", children: u }) : u,
422
424
  g && /* @__PURE__ */ c("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ c(Te, { children: g }) : g })
423
425
  ] }),
@@ -494,7 +496,7 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
494
496
  ) : null
495
497
  }
496
498
  );
497
- }, Pp = (e) => {
499
+ }, zp = (e) => {
498
500
  const {
499
501
  children: t,
500
502
  isNeedAuthorized: o,
@@ -506,7 +508,7 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
506
508
  } = e, [p, l] = ee(o);
507
509
  return re(() => {
508
510
  l(o);
509
- }, [o]), /* @__PURE__ */ P(At, { children: [
511
+ }, [o]), /* @__PURE__ */ z(At, { children: [
510
512
  t,
511
513
  p && /* @__PURE__ */ c(
512
514
  ya,
@@ -587,63 +589,63 @@ const $e = (e) => {
587
589
  w
588
590
  );
589
591
  const m = (T) => {
590
- n && T.stopPropagation(), !t && (w ? s && s() : r && r(), R((z) => o ? !z : !0));
591
- }, [N, W] = ee({
592
+ n && T.stopPropagation(), !t && (w ? s && s() : r && r(), R((B) => o ? !B : !0));
593
+ }, [N, O] = ee({
592
594
  visibility: "hidden",
593
595
  opacity: 0,
594
596
  left: "-9999px"
595
- }), [K, J] = ee(!1), ne = xe(() => {
597
+ }), [G, J] = ee(!1), ne = xe(() => {
596
598
  if (!A.current || !U.current) return;
597
- const T = A.current.getBoundingClientRect(), z = U.current.getBoundingClientRect();
599
+ const T = A.current.getBoundingClientRect(), B = U.current.getBoundingClientRect();
598
600
  let q = 0, V = 0;
599
601
  switch (l) {
600
602
  case pe.Right:
601
- q = T.top + window.scrollY - (z.height - T.height) / 2, V = T.right + window.scrollX;
603
+ q = T.top + window.scrollY - (B.height - T.height) / 2, V = T.right + window.scrollX;
602
604
  break;
603
605
  case pe.RightTop:
604
606
  q = T.top + window.scrollY, V = T.right + window.scrollX;
605
607
  break;
606
608
  case pe.RightBottom:
607
- q = T.bottom + window.scrollY - z.height, V = T.right + window.scrollX;
609
+ q = T.bottom + window.scrollY - B.height, V = T.right + window.scrollX;
608
610
  break;
609
611
  case pe.Left:
610
- q = T.top + window.scrollY - (z.height - T.height) / 2, V = T.left + window.scrollX - z.width;
612
+ q = T.top + window.scrollY - (B.height - T.height) / 2, V = T.left + window.scrollX - B.width;
611
613
  break;
612
614
  case pe.LeftTop:
613
- q = T.top + window.scrollY, V = T.left + window.scrollX - z.width;
615
+ q = T.top + window.scrollY, V = T.left + window.scrollX - B.width;
614
616
  break;
615
617
  case pe.LeftBottom:
616
- q = T.bottom + window.scrollY - z.height, V = T.left + window.scrollX - z.width;
618
+ q = T.bottom + window.scrollY - B.height, V = T.left + window.scrollX - B.width;
617
619
  break;
618
620
  case pe.Bottom:
619
- q = T.bottom + window.scrollY, V = T.left + window.scrollX - (z.width - T.width) / 2;
621
+ q = T.bottom + window.scrollY, V = T.left + window.scrollX - (B.width - T.width) / 2;
620
622
  break;
621
623
  case pe.BottomLeft:
622
624
  q = T.bottom + window.scrollY, V = T.left + window.scrollX;
623
625
  break;
624
626
  case pe.BottomRight:
625
- q = T.bottom + window.scrollY, V = T.right + window.scrollX - z.width;
627
+ q = T.bottom + window.scrollY, V = T.right + window.scrollX - B.width;
626
628
  break;
627
629
  case pe.Top:
628
- q = T.top + window.scrollY - z.height, V = T.left + window.scrollX - (z.width - T.width) / 2;
630
+ q = T.top + window.scrollY - B.height, V = T.left + window.scrollX - (B.width - T.width) / 2;
629
631
  break;
630
632
  case pe.TopLeft:
631
- q = T.top + window.scrollY - z.height, V = T.left + window.scrollX;
633
+ q = T.top + window.scrollY - B.height, V = T.left + window.scrollX;
632
634
  break;
633
635
  case pe.TopRight:
634
- q = T.top + window.scrollY - z.height, V = T.right + window.scrollX - z.width;
636
+ q = T.top + window.scrollY - B.height, V = T.right + window.scrollX - B.width;
635
637
  break;
636
638
  default:
637
639
  q = T.bottom + window.scrollY, V = T.left + window.scrollX;
638
640
  }
639
- q + z.height > window.innerHeight + window.scrollY && l.includes("bottom") ? q = T.top + window.scrollY - z.height : q < window.scrollY && l.includes("top") && (q = T.bottom + window.scrollY), V + z.width > window.innerWidth + window.scrollX && l.includes("left") ? V = T.left + window.scrollX - z.width + T.width : V < window.scrollX && l.includes("right") && (V = T.right + window.scrollX - T.width), W((te) => ({
641
+ q + B.height > window.innerHeight + window.scrollY && l.includes("bottom") ? q = T.top + window.scrollY - B.height : q < window.scrollY && l.includes("top") && (q = T.bottom + window.scrollY), V + B.width > window.innerWidth + window.scrollX && l.includes("left") ? V = T.left + window.scrollX - B.width + T.width : V < window.scrollX && l.includes("right") && (V = T.right + window.scrollX - T.width), O((te) => ({
640
642
  ...te,
641
643
  top: `${q}px`,
642
644
  left: `${V}px`,
643
- visibility: w || K ? "visible" : "hidden",
644
- opacity: w || K ? 1 : 0
645
+ visibility: w || G ? "visible" : "hidden",
646
+ opacity: w || G ? 1 : 0
645
647
  }));
646
- }, [l, w, K]);
648
+ }, [l, w, G]);
647
649
  re(() => (y(!0), () => y(!1)), []), re(() => {
648
650
  F && ne();
649
651
  }, [F, ne]), re(() => {
@@ -661,7 +663,7 @@ const $e = (e) => {
661
663
  [ko.spTooltip]: !0,
662
664
  ...p && { [p]: !0 }
663
665
  }), X = document.body;
664
- return /* @__PURE__ */ P(
666
+ return /* @__PURE__ */ z(
665
667
  "div",
666
668
  {
667
669
  ref: A,
@@ -749,16 +751,16 @@ const $e = (e) => {
749
751
  }), m = f({
750
752
  [Ce.spCheckbox__tooltip]: !0
751
753
  });
752
- return /* @__PURE__ */ P("div", { className: w, onMouseEnter: g, children: [
753
- /* @__PURE__ */ P("label", { className: R, children: [
754
+ return /* @__PURE__ */ z("div", { className: w, onMouseEnter: g, children: [
755
+ /* @__PURE__ */ z("label", { className: R, children: [
754
756
  /* @__PURE__ */ c(
755
757
  "input",
756
758
  {
757
759
  type: "checkbox",
758
760
  className: A,
759
761
  checked: o,
760
- onChange: (W) => {
761
- !n && a && a(W, { name: i, checked: !o, value: p });
762
+ onChange: (O) => {
763
+ !n && a && a(O, { name: i, checked: !o, value: p });
762
764
  }
763
765
  }
764
766
  ),
@@ -768,10 +770,10 @@ const $e = (e) => {
768
770
  ] }),
769
771
  s && /* @__PURE__ */ c("div", { className: y, children: s })
770
772
  ] });
771
- }, za = "_spContextMenu_1cza9_43", Ba = "_spContextMenu__item_1cza9_55", Pa = "_spContextMenu__item_deleteItem_1cza9_74", _t = {
772
- spContextMenu: za,
773
- spContextMenu__item: Ba,
774
- spContextMenu__item_deleteItem: Pa
773
+ }, Ba = "_spContextMenu_1cza9_43", Pa = "_spContextMenu__item_1cza9_55", za = "_spContextMenu__item_deleteItem_1cza9_74", _t = {
774
+ spContextMenu: Ba,
775
+ spContextMenu__item: Pa,
776
+ spContextMenu__item_deleteItem: za
775
777
  }, Wp = (e) => {
776
778
  const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
777
779
  [_t.spContextMenu]: !0,
@@ -779,7 +781,7 @@ const $e = (e) => {
779
781
  });
780
782
  return /* @__PURE__ */ c("ul", { className: a, children: o == null ? void 0 : o.map((i) => {
781
783
  const r = i.key === "delete";
782
- return /* @__PURE__ */ P(
784
+ return /* @__PURE__ */ z(
783
785
  "li",
784
786
  {
785
787
  className: f({
@@ -799,7 +801,7 @@ const $e = (e) => {
799
801
  }) });
800
802
  }, Oa = (e) => {
801
803
  const { getRootProps: t, children: o, disabled: n, name: a, getInputProps: i } = e;
802
- return /* @__PURE__ */ P("div", { ...t({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
804
+ return /* @__PURE__ */ z("div", { ...t({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
803
805
  /* @__PURE__ */ c("input", { ...i({}), disabled: n, name: a }),
804
806
  o
805
807
  ] });
@@ -839,9 +841,9 @@ const $e = (e) => {
839
841
  hover: !1,
840
842
  triggerAction: () => h(!0),
841
843
  actionOnClose: () => h(!1),
842
- text: /* @__PURE__ */ P("div", { className: l, children: [
844
+ text: /* @__PURE__ */ z("div", { className: l, children: [
843
845
  o && /* @__PURE__ */ c("div", { className: d, children: o }),
844
- n.map((w, R) => /* @__PURE__ */ P(
846
+ n.map((w, R) => /* @__PURE__ */ z(
845
847
  "div",
846
848
  {
847
849
  className: f({
@@ -861,7 +863,7 @@ const $e = (e) => {
861
863
  noPadding: !0,
862
864
  isToggleClick: !0,
863
865
  isStopPropagationClickOnTrigger: !0,
864
- trigger: /* @__PURE__ */ P("div", { className: r, children: [
866
+ trigger: /* @__PURE__ */ z("div", { className: r, children: [
865
867
  /* @__PURE__ */ c("div", { className: s, children: t }),
866
868
  /* @__PURE__ */ c("div", { className: p, children: /* @__PURE__ */ c(ve, { name: M.SelectChevronDown, rotate: g ? 180 : void 0 }) })
867
869
  ] })
@@ -954,7 +956,7 @@ const $e = (e) => {
954
956
  }), d = f({
955
957
  [Xe.spLabel__tooltip]: !0
956
958
  });
957
- return /* @__PURE__ */ P("div", { className: s, children: [
959
+ return /* @__PURE__ */ z("div", { className: s, children: [
958
960
  /* @__PURE__ */ c("label", { className: p, children: o }),
959
961
  t && /* @__PURE__ */ c("div", { className: l, children: "*" }),
960
962
  n && /* @__PURE__ */ c(
@@ -1004,12 +1006,12 @@ const $e = (e) => {
1004
1006
  classNameLabel: y,
1005
1007
  classNameBaseTooltipRoot: m,
1006
1008
  ...N
1007
- } = e, W = f({
1009
+ } = e, O = f({
1008
1010
  [ke.spInput]: !0,
1009
1011
  [ke.spInput_error]: !!p,
1010
1012
  [ke.spInput_absolutePositionError]: s,
1011
1013
  ...U && { [U]: !0 }
1012
- }), K = f({
1014
+ }), G = f({
1013
1015
  [ke.spInput__container]: !0
1014
1016
  }), J = f({
1015
1017
  [ke.spInput__control]: !0,
@@ -1024,13 +1026,13 @@ const $e = (e) => {
1024
1026
  ...F && { [F]: !0 }
1025
1027
  }), ue = f({
1026
1028
  ...y && { [y]: !0 }
1027
- }), le = (z) => {
1028
- n(z, { name: d, value: "" });
1029
- }, X = (z) => {
1030
- const { value: q, name: V } = z.target;
1031
- g && q && !new RegExp(g).test(q) || n(z, { value: q, name: V });
1029
+ }), le = (B) => {
1030
+ n(B, { name: d, value: "" });
1031
+ }, X = (B) => {
1032
+ const { value: q, name: V } = B.target;
1033
+ g && q && !new RegExp(g).test(q) || n(B, { value: q, name: V });
1032
1034
  };
1033
- return /* @__PURE__ */ P("div", { className: W, children: [
1035
+ return /* @__PURE__ */ z("div", { className: O, children: [
1034
1036
  a && /* @__PURE__ */ c(
1035
1037
  Dt,
1036
1038
  {
@@ -1042,7 +1044,7 @@ const $e = (e) => {
1042
1044
  classNameBaseTooltipRoot: m
1043
1045
  }
1044
1046
  ),
1045
- /* @__PURE__ */ P("div", { className: K, onMouseEnter: h, children: [
1047
+ /* @__PURE__ */ z("div", { className: G, onMouseEnter: h, children: [
1046
1048
  /* @__PURE__ */ c(
1047
1049
  "input",
1048
1050
  {
@@ -1328,14 +1330,14 @@ function Di() {
1328
1330
  case u:
1329
1331
  return Ie;
1330
1332
  default:
1331
- var Be = Ie && Ie.$$typeof;
1332
- switch (Be) {
1333
+ var Pe = Ie && Ie.$$typeof;
1334
+ switch (Pe) {
1333
1335
  case s:
1334
1336
  case d:
1335
1337
  case x:
1336
1338
  case h:
1337
1339
  case r:
1338
- return Be;
1340
+ return Pe;
1339
1341
  default:
1340
1342
  return he;
1341
1343
  }
@@ -1345,7 +1347,7 @@ function Di() {
1345
1347
  }
1346
1348
  }
1347
1349
  }
1348
- var m = p, N = l, W = s, K = r, J = t, ne = d, me = n, ue = x, le = h, X = o, T = i, z = a, q = u, V = !1;
1350
+ var m = p, N = l, O = s, G = r, J = t, ne = d, me = n, ue = x, le = h, X = o, T = i, B = a, q = u, V = !1;
1349
1351
  function te(b) {
1350
1352
  return V || (V = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(b) || y(b) === p;
1351
1353
  }
@@ -1364,19 +1366,19 @@ function Di() {
1364
1366
  function S(b) {
1365
1367
  return y(b) === d;
1366
1368
  }
1367
- function B(b) {
1369
+ function P(b) {
1368
1370
  return y(b) === n;
1369
1371
  }
1370
1372
  function D(b) {
1371
1373
  return y(b) === x;
1372
1374
  }
1373
- function O(b) {
1375
+ function W(b) {
1374
1376
  return y(b) === h;
1375
1377
  }
1376
1378
  function H(b) {
1377
1379
  return y(b) === o;
1378
1380
  }
1379
- function G(b) {
1381
+ function K(b) {
1380
1382
  return y(b) === i;
1381
1383
  }
1382
1384
  function $(b) {
@@ -1385,7 +1387,7 @@ function Di() {
1385
1387
  function ie(b) {
1386
1388
  return y(b) === u;
1387
1389
  }
1388
- Q.AsyncMode = m, Q.ConcurrentMode = N, Q.ContextConsumer = W, Q.ContextProvider = K, Q.Element = J, Q.ForwardRef = ne, Q.Fragment = me, Q.Lazy = ue, Q.Memo = le, Q.Portal = X, Q.Profiler = T, Q.StrictMode = z, Q.Suspense = q, Q.isAsyncMode = te, Q.isConcurrentMode = _, Q.isContextConsumer = v, Q.isContextProvider = I, Q.isElement = L, Q.isForwardRef = S, Q.isFragment = B, Q.isLazy = D, Q.isMemo = O, Q.isPortal = H, Q.isProfiler = G, Q.isStrictMode = $, Q.isSuspense = ie, Q.isValidElementType = F, Q.typeOf = y;
1390
+ Q.AsyncMode = m, Q.ConcurrentMode = N, Q.ContextConsumer = O, Q.ContextProvider = G, Q.Element = J, Q.ForwardRef = ne, Q.Fragment = me, Q.Lazy = ue, Q.Memo = le, Q.Portal = X, Q.Profiler = T, Q.StrictMode = B, Q.Suspense = q, Q.isAsyncMode = te, Q.isConcurrentMode = _, Q.isContextConsumer = v, Q.isContextProvider = I, Q.isElement = L, Q.isForwardRef = S, Q.isFragment = P, Q.isLazy = D, Q.isMemo = W, Q.isPortal = H, Q.isProfiler = K, Q.isStrictMode = $, Q.isSuspense = ie, Q.isValidElementType = F, Q.typeOf = y;
1389
1391
  }()), Q;
1390
1392
  }
1391
1393
  var Kt;
@@ -1444,7 +1446,7 @@ function Mi() {
1444
1446
  }, vt;
1445
1447
  }
1446
1448
  var gt, Zt;
1447
- function zt() {
1449
+ function Bt() {
1448
1450
  if (Zt) return gt;
1449
1451
  Zt = 1;
1450
1452
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
@@ -1455,13 +1457,13 @@ function Io() {
1455
1457
  return Qt || (Qt = 1, xt = Function.call.bind(Object.prototype.hasOwnProperty)), xt;
1456
1458
  }
1457
1459
  var ht, Jt;
1458
- function zi() {
1460
+ function Bi() {
1459
1461
  if (Jt) return ht;
1460
1462
  Jt = 1;
1461
1463
  var e = function() {
1462
1464
  };
1463
1465
  if (process.env.NODE_ENV !== "production") {
1464
- var t = zt(), o = {}, n = Io();
1466
+ var t = Bt(), o = {}, n = Io();
1465
1467
  e = function(i) {
1466
1468
  var r = "Warning: " + i;
1467
1469
  typeof console < "u" && console.error(r);
@@ -1504,10 +1506,10 @@ function zi() {
1504
1506
  }, ht = a, ht;
1505
1507
  }
1506
1508
  var bt, eo;
1507
- function Bi() {
1509
+ function Pi() {
1508
1510
  if (eo) return bt;
1509
1511
  eo = 1;
1510
- var e = So(), t = Mi(), o = zt(), n = Io(), a = zi(), i = function() {
1512
+ var e = So(), t = Mi(), o = Bt(), n = Io(), a = Bi(), i = function() {
1511
1513
  };
1512
1514
  process.env.NODE_ENV !== "production" && (i = function(s) {
1513
1515
  var p = "Warning: " + s;
@@ -1542,8 +1544,8 @@ function Bi() {
1542
1544
  elementType: m(),
1543
1545
  instanceOf: N,
1544
1546
  node: ne(),
1545
- objectOf: K,
1546
- oneOf: W,
1547
+ objectOf: G,
1548
+ oneOf: O,
1547
1549
  oneOfType: J,
1548
1550
  shape: ue,
1549
1551
  exact: le
@@ -1558,33 +1560,33 @@ function Bi() {
1558
1560
  function R(_) {
1559
1561
  if (process.env.NODE_ENV !== "production")
1560
1562
  var v = {}, I = 0;
1561
- function L(B, D, O, H, G, $, ie) {
1562
- if (H = H || g, $ = $ || O, ie !== o) {
1563
+ function L(P, D, W, H, K, $, ie) {
1564
+ if (H = H || g, $ = $ || W, ie !== o) {
1563
1565
  if (p) {
1564
1566
  var b = new Error(
1565
1567
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
1566
1568
  );
1567
1569
  throw b.name = "Invariant Violation", b;
1568
1570
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1569
- var he = H + ":" + O;
1571
+ var he = H + ":" + W;
1570
1572
  !v[he] && // Avoid spamming the console because they are often not actionable except for lib authors
1571
1573
  I < 3 && (i(
1572
1574
  "You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1573
1575
  ), v[he] = !0, I++);
1574
1576
  }
1575
1577
  }
1576
- return D[O] == null ? B ? D[O] === null ? new w("The " + G + " `" + $ + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new w("The " + G + " `" + $ + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : _(D, O, H, G, $);
1578
+ return D[W] == null ? P ? D[W] === null ? new w("The " + K + " `" + $ + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new w("The " + K + " `" + $ + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : _(D, W, H, K, $);
1577
1579
  }
1578
1580
  var S = L.bind(null, !1);
1579
1581
  return S.isRequired = L.bind(null, !0), S;
1580
1582
  }
1581
1583
  function A(_) {
1582
- function v(I, L, S, B, D, O) {
1583
- var H = I[L], G = z(H);
1584
- if (G !== _) {
1584
+ function v(I, L, S, P, D, W) {
1585
+ var H = I[L], K = B(H);
1586
+ if (K !== _) {
1585
1587
  var $ = q(H);
1586
1588
  return new w(
1587
- "Invalid " + B + " `" + D + "` of type " + ("`" + $ + "` supplied to `" + S + "`, expected ") + ("`" + _ + "`."),
1589
+ "Invalid " + P + " `" + D + "` of type " + ("`" + $ + "` supplied to `" + S + "`, expected ") + ("`" + _ + "`."),
1588
1590
  { expectedType: _ }
1589
1591
  );
1590
1592
  }
@@ -1596,16 +1598,16 @@ function Bi() {
1596
1598
  return R(r);
1597
1599
  }
1598
1600
  function F(_) {
1599
- function v(I, L, S, B, D) {
1601
+ function v(I, L, S, P, D) {
1600
1602
  if (typeof _ != "function")
1601
1603
  return new w("Property `" + D + "` of component `" + S + "` has invalid PropType notation inside arrayOf.");
1602
- var O = I[L];
1603
- if (!Array.isArray(O)) {
1604
- var H = z(O);
1605
- return new w("Invalid " + B + " `" + D + "` of type " + ("`" + H + "` supplied to `" + S + "`, expected an array."));
1604
+ var W = I[L];
1605
+ if (!Array.isArray(W)) {
1606
+ var H = B(W);
1607
+ return new w("Invalid " + P + " `" + D + "` of type " + ("`" + H + "` supplied to `" + S + "`, expected an array."));
1606
1608
  }
1607
- for (var G = 0; G < O.length; G++) {
1608
- var $ = _(O, G, S, B, D + "[" + G + "]", o);
1609
+ for (var K = 0; K < W.length; K++) {
1610
+ var $ = _(W, K, S, P, D + "[" + K + "]", o);
1609
1611
  if ($ instanceof Error)
1610
1612
  return $;
1611
1613
  }
@@ -1614,64 +1616,64 @@ function Bi() {
1614
1616
  return R(v);
1615
1617
  }
1616
1618
  function y() {
1617
- function _(v, I, L, S, B) {
1619
+ function _(v, I, L, S, P) {
1618
1620
  var D = v[I];
1619
1621
  if (!s(D)) {
1620
- var O = z(D);
1621
- return new w("Invalid " + S + " `" + B + "` of type " + ("`" + O + "` supplied to `" + L + "`, expected a single ReactElement."));
1622
+ var W = B(D);
1623
+ return new w("Invalid " + S + " `" + P + "` of type " + ("`" + W + "` supplied to `" + L + "`, expected a single ReactElement."));
1622
1624
  }
1623
1625
  return null;
1624
1626
  }
1625
1627
  return R(_);
1626
1628
  }
1627
1629
  function m() {
1628
- function _(v, I, L, S, B) {
1630
+ function _(v, I, L, S, P) {
1629
1631
  var D = v[I];
1630
1632
  if (!e.isValidElementType(D)) {
1631
- var O = z(D);
1632
- return new w("Invalid " + S + " `" + B + "` of type " + ("`" + O + "` supplied to `" + L + "`, expected a single ReactElement type."));
1633
+ var W = B(D);
1634
+ return new w("Invalid " + S + " `" + P + "` of type " + ("`" + W + "` supplied to `" + L + "`, expected a single ReactElement type."));
1633
1635
  }
1634
1636
  return null;
1635
1637
  }
1636
1638
  return R(_);
1637
1639
  }
1638
1640
  function N(_) {
1639
- function v(I, L, S, B, D) {
1641
+ function v(I, L, S, P, D) {
1640
1642
  if (!(I[L] instanceof _)) {
1641
- var O = _.name || g, H = te(I[L]);
1642
- return new w("Invalid " + B + " `" + D + "` of type " + ("`" + H + "` supplied to `" + S + "`, expected ") + ("instance of `" + O + "`."));
1643
+ var W = _.name || g, H = te(I[L]);
1644
+ return new w("Invalid " + P + " `" + D + "` of type " + ("`" + H + "` supplied to `" + S + "`, expected ") + ("instance of `" + W + "`."));
1643
1645
  }
1644
1646
  return null;
1645
1647
  }
1646
1648
  return R(v);
1647
1649
  }
1648
- function W(_) {
1650
+ function O(_) {
1649
1651
  if (!Array.isArray(_))
1650
1652
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1651
1653
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1652
1654
  ) : i("Invalid argument supplied to oneOf, expected an array.")), r;
1653
- function v(I, L, S, B, D) {
1654
- for (var O = I[L], H = 0; H < _.length; H++)
1655
- if (x(O, _[H]))
1655
+ function v(I, L, S, P, D) {
1656
+ for (var W = I[L], H = 0; H < _.length; H++)
1657
+ if (x(W, _[H]))
1656
1658
  return null;
1657
- var G = JSON.stringify(_, function(ie, b) {
1659
+ var K = JSON.stringify(_, function(ie, b) {
1658
1660
  var he = q(b);
1659
1661
  return he === "symbol" ? String(b) : b;
1660
1662
  });
1661
- return new w("Invalid " + B + " `" + D + "` of value `" + String(O) + "` " + ("supplied to `" + S + "`, expected one of " + G + "."));
1663
+ return new w("Invalid " + P + " `" + D + "` of value `" + String(W) + "` " + ("supplied to `" + S + "`, expected one of " + K + "."));
1662
1664
  }
1663
1665
  return R(v);
1664
1666
  }
1665
- function K(_) {
1666
- function v(I, L, S, B, D) {
1667
+ function G(_) {
1668
+ function v(I, L, S, P, D) {
1667
1669
  if (typeof _ != "function")
1668
1670
  return new w("Property `" + D + "` of component `" + S + "` has invalid PropType notation inside objectOf.");
1669
- var O = I[L], H = z(O);
1671
+ var W = I[L], H = B(W);
1670
1672
  if (H !== "object")
1671
- return new w("Invalid " + B + " `" + D + "` of type " + ("`" + H + "` supplied to `" + S + "`, expected an object."));
1672
- for (var G in O)
1673
- if (n(O, G)) {
1674
- var $ = _(O, G, S, B, D + "." + G, o);
1673
+ return new w("Invalid " + P + " `" + D + "` of type " + ("`" + H + "` supplied to `" + S + "`, expected an object."));
1674
+ for (var K in W)
1675
+ if (n(W, K)) {
1676
+ var $ = _(W, K, S, P, D + "." + K, o);
1675
1677
  if ($ instanceof Error)
1676
1678
  return $;
1677
1679
  }
@@ -1689,21 +1691,21 @@ function Bi() {
1689
1691
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(I) + " at index " + v + "."
1690
1692
  ), r;
1691
1693
  }
1692
- function L(S, B, D, O, H) {
1693
- for (var G = [], $ = 0; $ < _.length; $++) {
1694
- var ie = _[$], b = ie(S, B, D, O, H, o);
1694
+ function L(S, P, D, W, H) {
1695
+ for (var K = [], $ = 0; $ < _.length; $++) {
1696
+ var ie = _[$], b = ie(S, P, D, W, H, o);
1695
1697
  if (b == null)
1696
1698
  return null;
1697
- b.data && n(b.data, "expectedType") && G.push(b.data.expectedType);
1699
+ b.data && n(b.data, "expectedType") && K.push(b.data.expectedType);
1698
1700
  }
1699
- var he = G.length > 0 ? ", expected one of type [" + G.join(", ") + "]" : "";
1700
- return new w("Invalid " + O + " `" + H + "` supplied to " + ("`" + D + "`" + he + "."));
1701
+ var he = K.length > 0 ? ", expected one of type [" + K.join(", ") + "]" : "";
1702
+ return new w("Invalid " + W + " `" + H + "` supplied to " + ("`" + D + "`" + he + "."));
1701
1703
  }
1702
1704
  return R(L);
1703
1705
  }
1704
1706
  function ne() {
1705
- function _(v, I, L, S, B) {
1706
- return X(v[I]) ? null : new w("Invalid " + S + " `" + B + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
1707
+ function _(v, I, L, S, P) {
1708
+ return X(v[I]) ? null : new w("Invalid " + S + " `" + P + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
1707
1709
  }
1708
1710
  return R(_);
1709
1711
  }
@@ -1713,15 +1715,15 @@ function Bi() {
1713
1715
  );
1714
1716
  }
1715
1717
  function ue(_) {
1716
- function v(I, L, S, B, D) {
1717
- var O = I[L], H = z(O);
1718
+ function v(I, L, S, P, D) {
1719
+ var W = I[L], H = B(W);
1718
1720
  if (H !== "object")
1719
- return new w("Invalid " + B + " `" + D + "` of type `" + H + "` " + ("supplied to `" + S + "`, expected `object`."));
1720
- for (var G in _) {
1721
- var $ = _[G];
1721
+ return new w("Invalid " + P + " `" + D + "` of type `" + H + "` " + ("supplied to `" + S + "`, expected `object`."));
1722
+ for (var K in _) {
1723
+ var $ = _[K];
1722
1724
  if (typeof $ != "function")
1723
- return me(S, B, D, G, q($));
1724
- var ie = $(O, G, S, B, D + "." + G, o);
1725
+ return me(S, P, D, K, q($));
1726
+ var ie = $(W, K, S, P, D + "." + K, o);
1725
1727
  if (ie)
1726
1728
  return ie;
1727
1729
  }
@@ -1730,21 +1732,21 @@ function Bi() {
1730
1732
  return R(v);
1731
1733
  }
1732
1734
  function le(_) {
1733
- function v(I, L, S, B, D) {
1734
- var O = I[L], H = z(O);
1735
+ function v(I, L, S, P, D) {
1736
+ var W = I[L], H = B(W);
1735
1737
  if (H !== "object")
1736
- return new w("Invalid " + B + " `" + D + "` of type `" + H + "` " + ("supplied to `" + S + "`, expected `object`."));
1737
- var G = t({}, I[L], _);
1738
- for (var $ in G) {
1738
+ return new w("Invalid " + P + " `" + D + "` of type `" + H + "` " + ("supplied to `" + S + "`, expected `object`."));
1739
+ var K = t({}, I[L], _);
1740
+ for (var $ in K) {
1739
1741
  var ie = _[$];
1740
1742
  if (n(_, $) && typeof ie != "function")
1741
- return me(S, B, D, $, q(ie));
1743
+ return me(S, P, D, $, q(ie));
1742
1744
  if (!ie)
1743
1745
  return new w(
1744
- "Invalid " + B + " `" + D + "` key `" + $ + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify(I[L], null, " ") + `
1746
+ "Invalid " + P + " `" + D + "` key `" + $ + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify(I[L], null, " ") + `
1745
1747
  Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
1746
1748
  );
1747
- var b = ie(O, $, S, B, D + "." + $, o);
1749
+ var b = ie(W, $, S, P, D + "." + $, o);
1748
1750
  if (b)
1749
1751
  return b;
1750
1752
  }
@@ -1788,14 +1790,14 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
1788
1790
  function T(_, v) {
1789
1791
  return _ === "symbol" ? !0 : v ? v["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && v instanceof Symbol : !1;
1790
1792
  }
1791
- function z(_) {
1793
+ function B(_) {
1792
1794
  var v = typeof _;
1793
1795
  return Array.isArray(_) ? "array" : _ instanceof RegExp ? "object" : T(v, _) ? "symbol" : v;
1794
1796
  }
1795
1797
  function q(_) {
1796
1798
  if (typeof _ > "u" || _ === null)
1797
1799
  return "" + _;
1798
- var v = z(_);
1800
+ var v = B(_);
1799
1801
  if (v === "object") {
1800
1802
  if (_ instanceof Date)
1801
1803
  return "date";
@@ -1825,10 +1827,10 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
1825
1827
  }, bt;
1826
1828
  }
1827
1829
  var yt, to;
1828
- function Pi() {
1830
+ function zi() {
1829
1831
  if (to) return yt;
1830
1832
  to = 1;
1831
- var e = zt();
1833
+ var e = Bt();
1832
1834
  function t() {
1833
1835
  }
1834
1836
  function o() {
@@ -1874,9 +1876,9 @@ function Pi() {
1874
1876
  }
1875
1877
  if (process.env.NODE_ENV !== "production") {
1876
1878
  var Oi = So(), Wi = !0;
1877
- Nt.exports = Bi()(Oi.isElement, Wi);
1879
+ Nt.exports = Pi()(Oi.isElement, Wi);
1878
1880
  } else
1879
- Nt.exports = Pi()();
1881
+ Nt.exports = zi()();
1880
1882
  var Ui = Nt.exports;
1881
1883
  const E = /* @__PURE__ */ To(Ui), fe = E.oneOfType([E.string, E.number]), Lo = {
1882
1884
  all: E.bool,
@@ -2077,7 +2079,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2077
2079
  }), x = {
2078
2080
  "--progress": `${l / r * 100}%`
2079
2081
  };
2080
- return /* @__PURE__ */ P("div", { className: u, children: [
2082
+ return /* @__PURE__ */ z("div", { className: u, children: [
2081
2083
  /* @__PURE__ */ c(
2082
2084
  "div",
2083
2085
  {
@@ -2086,7 +2088,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2086
2088
  children: i
2087
2089
  }
2088
2090
  ),
2089
- d && /* @__PURE__ */ P(Te, { classNameRoot: g, children: [
2091
+ d && /* @__PURE__ */ z(Te, { classNameRoot: g, children: [
2090
2092
  l,
2091
2093
  "%"
2092
2094
  ] })
@@ -2131,18 +2133,18 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2131
2133
  classNameError: F,
2132
2134
  classNameLabel: y,
2133
2135
  classNameBaseTooltipRoot: m
2134
- } = e, [N, W] = ee(!1), K = de(null);
2136
+ } = e, [N, O] = ee(!1), G = de(null);
2135
2137
  Co(
2136
- [K],
2138
+ [G],
2137
2139
  () => {
2138
- W(!1);
2140
+ O(!1);
2139
2141
  },
2140
2142
  N
2141
2143
  );
2142
2144
  const J = t.find((v) => v.value === n), ne = (v, I) => {
2143
- r(v, { value: I, name: a }), W(!1);
2145
+ r(v, { value: I, name: a }), O(!1);
2144
2146
  }, me = () => {
2145
- g || W(!N);
2147
+ g || O(!N);
2146
2148
  }, ue = f({
2147
2149
  [_e.spSelect]: !0,
2148
2150
  [_e.spSelect_error]: !!p,
@@ -2157,7 +2159,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2157
2159
  }), T = f({
2158
2160
  [_e.spSelect__value]: !0,
2159
2161
  [_e.spSelect__value_empty]: !J
2160
- }), z = f({
2162
+ }), B = f({
2161
2163
  [_e.spSelect__icon]: !0
2162
2164
  }), q = f({
2163
2165
  [_e.spSelect__list]: !0,
@@ -2169,7 +2171,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2169
2171
  [_e.spSelect__error_absolutePosition]: A,
2170
2172
  ...F && { [F]: !0 }
2171
2173
  });
2172
- return /* @__PURE__ */ P("div", { className: ue, ref: K, children: [
2174
+ return /* @__PURE__ */ z("div", { className: ue, ref: G, children: [
2173
2175
  l && /* @__PURE__ */ c(
2174
2176
  Dt,
2175
2177
  {
@@ -2181,8 +2183,8 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2181
2183
  classNameBaseTooltipRoot: m
2182
2184
  }
2183
2185
  ),
2184
- /* @__PURE__ */ P("div", { className: le, onMouseEnter: s, children: [
2185
- /* @__PURE__ */ P(
2186
+ /* @__PURE__ */ z("div", { className: le, onMouseEnter: s, children: [
2187
+ /* @__PURE__ */ z(
2186
2188
  "div",
2187
2189
  {
2188
2190
  tabIndex: g ? -1 : 0,
@@ -2196,7 +2198,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2196
2198
  {
2197
2199
  name: M.SelectChevronDown,
2198
2200
  rotate: N ? 180 : void 0,
2199
- className: z
2201
+ className: B
2200
2202
  }
2201
2203
  )
2202
2204
  ]
@@ -2209,7 +2211,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2209
2211
  style: R ? { maxHeight: `${x}px` } : {},
2210
2212
  children: t.map((v) => {
2211
2213
  const I = v.value === n;
2212
- return /* @__PURE__ */ P(
2214
+ return /* @__PURE__ */ z(
2213
2215
  "div",
2214
2216
  {
2215
2217
  className: f({
@@ -2218,7 +2220,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2218
2220
  onClick: (L) => ne(L, v.value),
2219
2221
  children: [
2220
2222
  v.label,
2221
- I && /* @__PURE__ */ c(ve, { name: M.Check, className: z })
2223
+ I && /* @__PURE__ */ c(ve, { name: M.Check, className: B })
2222
2224
  ]
2223
2225
  },
2224
2226
  v.value
@@ -2265,12 +2267,12 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2265
2267
  }
2266
2268
  }
2267
2269
  );
2268
- }, Et = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, Dr = "_spTable_1vuaj_43", Mr = "_spTable__tdContentCopyIcon_1vuaj_62", zr = "_spTable__tdContent_1vuaj_62", Br = "_spTable__tdColorContent_1vuaj_72", Pr = "_spTable__tdContentCopyIcon_copied_1vuaj_85", Or = "_spTable__emptyPage_1vuaj_89", Wr = "_spStringsGroup_1vuaj_105", Ur = "_spStringsGroup__groupItem_1vuaj_119", qr = "_spStringsGroup__groupItemHeader_1vuaj_134", $r = "_spStringsGroup__groupItemContent_1vuaj_138", Hr = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", Vr = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
2270
+ }, Et = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, Dr = "_spTable_1vuaj_43", Mr = "_spTable__tdContentCopyIcon_1vuaj_62", Br = "_spTable__tdContent_1vuaj_62", Pr = "_spTable__tdColorContent_1vuaj_72", zr = "_spTable__tdContentCopyIcon_copied_1vuaj_85", Or = "_spTable__emptyPage_1vuaj_89", Wr = "_spStringsGroup_1vuaj_105", Ur = "_spStringsGroup__groupItem_1vuaj_119", qr = "_spStringsGroup__groupItemHeader_1vuaj_134", $r = "_spStringsGroup__groupItemContent_1vuaj_138", Hr = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", Vr = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
2269
2271
  spTable: Dr,
2270
2272
  spTable__tdContentCopyIcon: Mr,
2271
- spTable__tdContent: zr,
2272
- spTable__tdColorContent: Br,
2273
- spTable__tdContentCopyIcon_copied: Pr,
2273
+ spTable__tdContent: Br,
2274
+ spTable__tdColorContent: Pr,
2275
+ spTable__tdContentCopyIcon_copied: zr,
2274
2276
  spTable__emptyPage: Or,
2275
2277
  spStringsGroup: Wr,
2276
2278
  spStringsGroup__groupItem: Ur,
@@ -2298,11 +2300,11 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2298
2300
  }), d = f({
2299
2301
  [ye.spTable__emptyPage]: !0
2300
2302
  }), [u, g] = ee(null), h = (y) => {
2301
- const { text: m, rowIndex: N, colIndex: W } = y;
2302
- (u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) === W || navigator.clipboard.writeText(m).then(() => {
2303
- g({ rowIndex: N, colIndex: W });
2304
- }).catch((K) => {
2305
- console.error("Ошибка при копировании:", K);
2303
+ const { text: m, rowIndex: N, colIndex: O } = y;
2304
+ (u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) === O || navigator.clipboard.writeText(m).then(() => {
2305
+ g({ rowIndex: N, colIndex: O });
2306
+ }).catch((G) => {
2307
+ console.error("Ошибка при копировании:", G);
2306
2308
  });
2307
2309
  }, x = () => {
2308
2310
  g(null);
@@ -2312,12 +2314,12 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2312
2314
  }) => {
2313
2315
  const N = y[m.key];
2314
2316
  if (!N) return null;
2315
- const [W, K] = N.split(/\s*\{\{|}}\s*/).filter(Boolean);
2316
- return /* @__PURE__ */ P("span", { children: [
2317
- W,
2318
- K && /* @__PURE__ */ c("span", { className: l, children: ` ${K}` })
2317
+ const [O, G] = N.split(/\s*\{\{|}}\s*/).filter(Boolean);
2318
+ return /* @__PURE__ */ z("span", { children: [
2319
+ O,
2320
+ G && /* @__PURE__ */ c("span", { className: l, children: ` ${G}` })
2319
2321
  ] });
2320
- }, A = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ P("table", { className: s, children: [
2322
+ }, A = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ z("table", { className: s, children: [
2321
2323
  /* @__PURE__ */ c("colgroup", { children: r.map((y, m, N) => /* @__PURE__ */ c(
2322
2324
  "col",
2323
2325
  {
@@ -2328,36 +2330,36 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2328
2330
  m
2329
2331
  )) }),
2330
2332
  /* @__PURE__ */ c("thead", { children: /* @__PURE__ */ c("tr", { children: r.map((y, m) => /* @__PURE__ */ c("th", { children: y.title }, m)) }) }),
2331
- /* @__PURE__ */ c("tbody", { children: o.map((y, m) => y ? /* @__PURE__ */ c("tr", { children: r.map((N, W) => {
2332
- const K = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === W;
2333
+ /* @__PURE__ */ c("tbody", { children: o.map((y, m) => y ? /* @__PURE__ */ c("tr", { children: r.map((N, O) => {
2334
+ const G = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === O;
2333
2335
  return /* @__PURE__ */ c(
2334
2336
  "td",
2335
2337
  {
2336
- onMouseLeave: K ? x : void 0,
2337
- children: /* @__PURE__ */ P("div", { className: p, children: [
2338
+ onMouseLeave: G ? x : void 0,
2339
+ children: /* @__PURE__ */ z("div", { className: p, children: [
2338
2340
  /* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? R({ row: y, col: N }) : y[N.key] }),
2339
2341
  !Et(y[N.key]) && N.isBeCopiedValue && /* @__PURE__ */ c(
2340
2342
  ve,
2341
2343
  {
2342
2344
  className: f({
2343
2345
  [ye.spTable__tdContentCopyIcon]: !0,
2344
- [ye.spTable__tdContentCopyIcon_copied]: K
2346
+ [ye.spTable__tdContentCopyIcon_copied]: G
2345
2347
  }),
2346
- name: K ? M.Check : M.Copy,
2348
+ name: G ? M.Check : M.Copy,
2347
2349
  onClick: () => {
2348
2350
  const J = y[N.key];
2349
2351
  if (!J) return null;
2350
2352
  h({
2351
2353
  text: J,
2352
2354
  rowIndex: m,
2353
- colIndex: W
2355
+ colIndex: O
2354
2356
  });
2355
2357
  }
2356
2358
  }
2357
2359
  )
2358
2360
  ] })
2359
2361
  },
2360
- `${m}:${W}`
2362
+ `${m}:${O}`
2361
2363
  );
2362
2364
  }) }, m) : null) })
2363
2365
  ] }) : w(), U = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ c(
@@ -2366,17 +2368,17 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2366
2368
  className: f({
2367
2369
  [ye.spStringsGroup]: !0
2368
2370
  }),
2369
- children: o.map((y, m) => y ? /* @__PURE__ */ c("div", { children: r.map((N, W) => {
2371
+ children: o.map((y, m) => y ? /* @__PURE__ */ c("div", { children: r.map((N, O) => {
2370
2372
  if (Et(y[N.key]))
2371
2373
  return null;
2372
- const K = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === W;
2373
- return /* @__PURE__ */ P(
2374
+ const G = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === O;
2375
+ return /* @__PURE__ */ z(
2374
2376
  "div",
2375
2377
  {
2376
2378
  className: f({
2377
2379
  [ye.spStringsGroup__groupItem]: !0
2378
2380
  }),
2379
- onMouseLeave: K ? x : void 0,
2381
+ onMouseLeave: G ? x : void 0,
2380
2382
  children: [
2381
2383
  /* @__PURE__ */ c(
2382
2384
  "div",
@@ -2387,7 +2389,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2387
2389
  children: N.title
2388
2390
  }
2389
2391
  ),
2390
- /* @__PURE__ */ P(
2392
+ /* @__PURE__ */ z(
2391
2393
  "div",
2392
2394
  {
2393
2395
  className: f({
@@ -2400,16 +2402,16 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2400
2402
  {
2401
2403
  className: f({
2402
2404
  [ye.spStringsGroup__groupItemContentCopyIcon]: !0,
2403
- [ye.spStringsGroup__groupItemContentCopyIcon_copied]: K
2405
+ [ye.spStringsGroup__groupItemContentCopyIcon_copied]: G
2404
2406
  }),
2405
- name: K ? M.Check : M.Copy,
2407
+ name: G ? M.Check : M.Copy,
2406
2408
  onClick: () => {
2407
2409
  const J = y[N.key];
2408
2410
  if (!J) return null;
2409
2411
  h({
2410
2412
  text: J,
2411
2413
  rowIndex: m,
2412
- colIndex: W
2414
+ colIndex: O
2413
2415
  });
2414
2416
  }
2415
2417
  }
@@ -2419,7 +2421,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2419
2421
  )
2420
2422
  ]
2421
2423
  },
2422
- W
2424
+ O
2423
2425
  );
2424
2426
  }) }, m) : null)
2425
2427
  }
@@ -2461,7 +2463,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2461
2463
  };
2462
2464
  return /* @__PURE__ */ c("div", { className: s, children: t.map((d, u) => {
2463
2465
  const { name: g, active: h, onClick: x, infoTooltipText: w } = d;
2464
- return /* @__PURE__ */ P(
2466
+ return /* @__PURE__ */ z(
2465
2467
  "div",
2466
2468
  {
2467
2469
  className: f({
@@ -2504,7 +2506,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
2504
2506
  [no.spTextWithLabel_ellipsis]: l.isEllipsis,
2505
2507
  ...s && { [s]: !0 }
2506
2508
  });
2507
- return /* @__PURE__ */ P("div", { className: d, children: [
2509
+ return /* @__PURE__ */ z("div", { className: d, children: [
2508
2510
  /* @__PURE__ */ c(
2509
2511
  Dt,
2510
2512
  {
@@ -3749,7 +3751,7 @@ const es = /* @__PURE__ */ new Map([
3749
3751
  ["zmm", "application/vnd.handheld-entertainment+xml"],
3750
3752
  ["zsh", "text/x-scriptzsh"]
3751
3753
  ]);
3752
- function ze(e, t, o) {
3754
+ function Be(e, t, o) {
3753
3755
  const n = ts(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
3754
3756
  return typeof n.path != "string" && ao(n, "path", i), ao(n, "relativePath", i), n;
3755
3757
  }
@@ -3796,11 +3798,11 @@ function tt(e) {
3796
3798
  return typeof e == "object" && e !== null;
3797
3799
  }
3798
3800
  function rs(e) {
3799
- return St(e.target.files).map((t) => ze(t));
3801
+ return St(e.target.files).map((t) => Be(t));
3800
3802
  }
3801
3803
  function ss(e) {
3802
3804
  return Ae(this, void 0, void 0, function* () {
3803
- return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => ze(o));
3805
+ return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => Be(o));
3804
3806
  });
3805
3807
  }
3806
3808
  function ps(e, t) {
@@ -3812,7 +3814,7 @@ function ps(e, t) {
3812
3814
  const n = yield Promise.all(o.map(ls));
3813
3815
  return io(Fo(n));
3814
3816
  }
3815
- return io(St(e.files).map((o) => ze(o)));
3817
+ return io(St(e.files).map((o) => Be(o)));
3816
3818
  });
3817
3819
  }
3818
3820
  function io(e) {
@@ -3849,13 +3851,13 @@ function ro(e, t) {
3849
3851
  throw new Error(`${e} is not a File`);
3850
3852
  if (i !== void 0) {
3851
3853
  const r = yield i.getFile();
3852
- return r.handle = i, ze(r);
3854
+ return r.handle = i, Be(r);
3853
3855
  }
3854
3856
  }
3855
3857
  const n = e.getAsFile();
3856
3858
  if (!n)
3857
3859
  throw new Error(`${e} is not a File`);
3858
- return ze(n, (o = t == null ? void 0 : t.fullPath) !== null && o !== void 0 ? o : void 0);
3860
+ return Be(n, (o = t == null ? void 0 : t.fullPath) !== null && o !== void 0 ? o : void 0);
3859
3861
  });
3860
3862
  }
3861
3863
  function cs(e) {
@@ -3890,7 +3892,7 @@ function ds(e) {
3890
3892
  return Ae(this, void 0, void 0, function* () {
3891
3893
  return new Promise((t, o) => {
3892
3894
  e.file((n) => {
3893
- const a = ze(n, e.fullPath);
3895
+ const a = Be(n, e.fullPath);
3894
3896
  t(a);
3895
3897
  }, (n) => {
3896
3898
  o(n);
@@ -3991,10 +3993,10 @@ function vs(e, t) {
3991
3993
  function gs(e) {
3992
3994
  if (Array.isArray(e)) return e;
3993
3995
  }
3994
- var xs = typeof Ct == "function" ? Ct : Ct.default, Mo = "file-invalid-type", zo = "file-too-large", Bo = "file-too-small", hs = "too-many-files", kt = {
3996
+ var xs = typeof Ct == "function" ? Ct : Ct.default, Mo = "file-invalid-type", Bo = "file-too-large", Po = "file-too-small", hs = "too-many-files", kt = {
3995
3997
  FileInvalidType: Mo,
3996
- FileTooLarge: zo,
3997
- FileTooSmall: Bo
3998
+ FileTooLarge: Bo,
3999
+ FileTooSmall: Po
3998
4000
  }, bs = function() {
3999
4001
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = t.split(","), n = o.length > 1 ? "one of ".concat(o.join(", ")) : o[0];
4000
4002
  return {
@@ -4003,19 +4005,19 @@ var xs = typeof Ct == "function" ? Ct : Ct.default, Mo = "file-invalid-type", zo
4003
4005
  };
4004
4006
  }, co = function(t) {
4005
4007
  return {
4006
- code: zo,
4008
+ code: Bo,
4007
4009
  message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
4008
4010
  };
4009
4011
  }, mo = function(t) {
4010
4012
  return {
4011
- code: Bo,
4013
+ code: Po,
4012
4014
  message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
4013
4015
  };
4014
4016
  }, ys = {
4015
4017
  code: hs,
4016
4018
  message: "Too many files"
4017
4019
  };
4018
- function Po(e, t) {
4020
+ function zo(e, t) {
4019
4021
  var o = e.type === "application/x-moz-file" || xs(e, t);
4020
4022
  return [o, o ? null : bs(t)];
4021
4023
  }
@@ -4036,7 +4038,7 @@ function Fe(e) {
4036
4038
  function ws(e) {
4037
4039
  var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
4038
4040
  return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(p) {
4039
- var l = Po(p, o), d = Ue(l, 1), u = d[0], g = Oo(p, n, a), h = Ue(g, 1), x = h[0], w = s ? s(p) : null;
4041
+ var l = zo(p, o), d = Ue(l, 1), u = d[0], g = Oo(p, n, a), h = Ue(g, 1), x = h[0], w = s ? s(p) : null;
4040
4042
  return u && x && !w;
4041
4043
  });
4042
4044
  }
@@ -4115,22 +4117,22 @@ function Uo(e) {
4115
4117
  }
4116
4118
  var Rs = ["children"], Fs = ["open"], As = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], js = ["refKey", "onChange", "onClick"];
4117
4119
  function Ds(e) {
4118
- return Bs(e) || zs(e) || qo(e) || Ms();
4120
+ return Ps(e) || Bs(e) || qo(e) || Ms();
4119
4121
  }
4120
4122
  function Ms() {
4121
4123
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
4122
4124
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
4123
4125
  }
4124
- function zs(e) {
4126
+ function Bs(e) {
4125
4127
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
4126
4128
  }
4127
- function Bs(e) {
4129
+ function Ps(e) {
4128
4130
  if (Array.isArray(e)) return Lt(e);
4129
4131
  }
4130
4132
  function Tt(e, t) {
4131
- return Ws(e) || Os(e, t) || qo(e, t) || Ps();
4133
+ return Ws(e) || Os(e, t) || qo(e, t) || zs();
4132
4134
  }
4133
- function Ps() {
4135
+ function zs() {
4134
4136
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4135
4137
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
4136
4138
  }
@@ -4211,7 +4213,7 @@ function Us(e, t) {
4211
4213
  a = n[i], !(t.indexOf(a) >= 0) && (o[a] = e[a]);
4212
4214
  return o;
4213
4215
  }
4214
- var Bt = /* @__PURE__ */ Qo(function(e, t) {
4216
+ var Pt = /* @__PURE__ */ Qo(function(e, t) {
4215
4217
  var o = e.children, n = nt(e, Rs), a = Ho(n), i = a.open, r = nt(a, Fs);
4216
4218
  return Jo(t, function() {
4217
4219
  return {
@@ -4221,7 +4223,7 @@ var Bt = /* @__PURE__ */ Qo(function(e, t) {
4221
4223
  open: i
4222
4224
  })));
4223
4225
  });
4224
- Bt.displayName = "Dropzone";
4226
+ Pt.displayName = "Dropzone";
4225
4227
  var $o = {
4226
4228
  disabled: !1,
4227
4229
  getFilesFromEvent: ns,
@@ -4238,8 +4240,8 @@ var $o = {
4238
4240
  useFsAccessApi: !1,
4239
4241
  autoFocus: !1
4240
4242
  };
4241
- Bt.defaultProps = $o;
4242
- Bt.propTypes = {
4243
+ Pt.defaultProps = $o;
4244
+ Pt.propTypes = {
4243
4245
  /**
4244
4246
  * Render function that exposes the dropzone state and prop getter fns
4245
4247
  *
@@ -4417,7 +4419,7 @@ var Ft = {
4417
4419
  fileRejections: []
4418
4420
  };
4419
4421
  function Ho() {
4420
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = oe(oe({}, $o), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, p = t.maxFiles, l = t.onDragEnter, d = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, x = t.onDropRejected, w = t.onFileDialogCancel, R = t.onFileDialogOpen, A = t.useFsAccessApi, U = t.autoFocus, F = t.preventDropOnDocument, y = t.noClick, m = t.noKeyboard, N = t.noDrag, W = t.noDragEventsBubbling, K = t.onError, J = t.validator, ne = Me(function() {
4422
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = oe(oe({}, $o), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, p = t.maxFiles, l = t.onDragEnter, d = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, x = t.onDropRejected, w = t.onFileDialogCancel, R = t.onFileDialogOpen, A = t.useFsAccessApi, U = t.autoFocus, F = t.preventDropOnDocument, y = t.noClick, m = t.noKeyboard, N = t.noDrag, O = t.noDragEventsBubbling, G = t.onError, J = t.validator, ne = Me(function() {
4421
4423
  return Ss(o);
4422
4424
  }, [o]), me = Me(function() {
4423
4425
  return Es(o);
@@ -4425,7 +4427,7 @@ function Ho() {
4425
4427
  return typeof R == "function" ? R : fo;
4426
4428
  }, [R]), le = Me(function() {
4427
4429
  return typeof w == "function" ? w : fo;
4428
- }, [w]), X = de(null), T = de(null), z = Zo(qs, Ft), q = Tt(z, 2), V = q[0], te = q[1], _ = V.isFocused, v = V.isFileDialogActive, I = de(typeof window < "u" && window.isSecureContext && A && Ns()), L = function() {
4430
+ }, [w]), X = de(null), T = de(null), B = Zo(qs, Ft), q = Tt(B, 2), V = q[0], te = q[1], _ = V.isFocused, v = V.isFileDialogActive, I = de(typeof window < "u" && window.isSecureContext && A && Ns()), L = function() {
4429
4431
  !I.current && v && setTimeout(function() {
4430
4432
  if (T.current) {
4431
4433
  var j = T.current.files;
@@ -4440,22 +4442,22 @@ function Ho() {
4440
4442
  window.removeEventListener("focus", L, !1);
4441
4443
  };
4442
4444
  }, [T, v, le, I]);
4443
- var S = de([]), B = function(j) {
4445
+ var S = de([]), P = function(j) {
4444
4446
  X.current && X.current.contains(j.target) || (j.preventDefault(), S.current = []);
4445
4447
  };
4446
4448
  re(function() {
4447
- return F && (document.addEventListener("dragover", uo, !1), document.addEventListener("drop", B, !1)), function() {
4448
- F && (document.removeEventListener("dragover", uo), document.removeEventListener("drop", B));
4449
+ return F && (document.addEventListener("dragover", uo, !1), document.addEventListener("drop", P, !1)), function() {
4450
+ F && (document.removeEventListener("dragover", uo), document.removeEventListener("drop", P));
4449
4451
  };
4450
4452
  }, [X, F]), re(function() {
4451
4453
  return !n && U && X.current && X.current.focus(), function() {
4452
4454
  };
4453
4455
  }, [X, U, n]);
4454
4456
  var D = xe(function(k) {
4455
- K ? K(k) : console.error(k);
4456
- }, [K]), O = xe(function(k) {
4457
+ G ? G(k) : console.error(k);
4458
+ }, [G]), W = xe(function(k) {
4457
4459
  k.preventDefault(), k.persist(), Ve(k), S.current = [].concat(Ds(S.current), [k.target]), Je(k) && Promise.resolve(a(k)).then(function(j) {
4458
- if (!(ot(k) && !W)) {
4460
+ if (!(ot(k) && !O)) {
4459
4461
  var ae = j.length, se = ae > 0 && ws({
4460
4462
  files: j,
4461
4463
  accept: ne,
@@ -4475,7 +4477,7 @@ function Ho() {
4475
4477
  }).catch(function(j) {
4476
4478
  return D(j);
4477
4479
  });
4478
- }, [a, l, D, W, ne, r, i, s, p, J]), H = xe(function(k) {
4480
+ }, [a, l, D, O, ne, r, i, s, p, J]), H = xe(function(k) {
4479
4481
  k.preventDefault(), k.persist(), Ve(k);
4480
4482
  var j = Je(k);
4481
4483
  if (j && k.dataTransfer)
@@ -4484,7 +4486,7 @@ function Ho() {
4484
4486
  } catch {
4485
4487
  }
4486
4488
  return j && u && u(k), !1;
4487
- }, [u, W]), G = xe(function(k) {
4489
+ }, [u, O]), K = xe(function(k) {
4488
4490
  k.preventDefault(), k.persist(), Ve(k);
4489
4491
  var j = S.current.filter(function(se) {
4490
4492
  return X.current && X.current.contains(se);
@@ -4495,10 +4497,10 @@ function Ho() {
4495
4497
  isDragAccept: !1,
4496
4498
  isDragReject: !1
4497
4499
  }), Je(k) && d && d(k));
4498
- }, [X, d, W]), $ = xe(function(k, j) {
4500
+ }, [X, d, O]), $ = xe(function(k, j) {
4499
4501
  var ae = [], se = [];
4500
4502
  k.forEach(function(be) {
4501
- var Pe = Po(be, ne), De = Tt(Pe, 2), rt = De[0], st = De[1], pt = Oo(be, r, i), Ye = Tt(pt, 2), lt = Ye[0], ct = Ye[1], dt = J ? J(be) : null;
4503
+ var ze = zo(be, ne), De = Tt(ze, 2), rt = De[0], st = De[1], pt = Oo(be, r, i), Ye = Tt(pt, 2), lt = Ye[0], ct = Ye[1], dt = J ? J(be) : null;
4502
4504
  if (rt && lt && !dt)
4503
4505
  ae.push(be);
4504
4506
  else {
@@ -4523,13 +4525,13 @@ function Ho() {
4523
4525
  }), g && g(ae, se, j), se.length > 0 && x && x(se, j), ae.length > 0 && h && h(ae, j);
4524
4526
  }, [te, s, ne, r, i, p, g, h, x, J]), ie = xe(function(k) {
4525
4527
  k.preventDefault(), k.persist(), Ve(k), S.current = [], Je(k) && Promise.resolve(a(k)).then(function(j) {
4526
- ot(k) && !W || $(j, k);
4528
+ ot(k) && !O || $(j, k);
4527
4529
  }).catch(function(j) {
4528
4530
  return D(j);
4529
4531
  }), te({
4530
4532
  type: "reset"
4531
4533
  });
4532
- }, [a, $, D, W]), b = xe(function() {
4534
+ }, [a, $, D, O]), b = xe(function() {
4533
4535
  if (I.current) {
4534
4536
  te({
4535
4537
  type: "openDialog"
@@ -4560,11 +4562,11 @@ function Ho() {
4560
4562
  te({
4561
4563
  type: "focus"
4562
4564
  });
4563
- }, []), Be = xe(function() {
4565
+ }, []), Pe = xe(function() {
4564
4566
  te({
4565
4567
  type: "blur"
4566
4568
  });
4567
- }, []), Pt = xe(function() {
4569
+ }, []), zt = xe(function() {
4568
4570
  y || (Ts() ? setTimeout(b, 0) : b());
4569
4571
  }, [y, b]), je = function(j) {
4570
4572
  return n ? null : j;
@@ -4573,29 +4575,29 @@ function Ho() {
4573
4575
  }, He = function(j) {
4574
4576
  return N ? null : je(j);
4575
4577
  }, Ve = function(j) {
4576
- W && j.stopPropagation();
4578
+ O && j.stopPropagation();
4577
4579
  }, Vo = Me(function() {
4578
4580
  return function() {
4579
- var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.role, be = k.onKeyDown, Pe = k.onFocus, De = k.onBlur, rt = k.onClick, st = k.onDragEnter, pt = k.onDragOver, Ye = k.onDragLeave, lt = k.onDrop, ct = nt(k, As);
4581
+ var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.role, be = k.onKeyDown, ze = k.onFocus, De = k.onBlur, rt = k.onClick, st = k.onDragEnter, pt = k.onDragOver, Ye = k.onDragLeave, lt = k.onDrop, ct = nt(k, As);
4580
4582
  return oe(oe(Rt({
4581
4583
  onKeyDown: it(Ne(be, he)),
4582
- onFocus: it(Ne(Pe, Ie)),
4583
- onBlur: it(Ne(De, Be)),
4584
- onClick: je(Ne(rt, Pt)),
4585
- onDragEnter: He(Ne(st, O)),
4584
+ onFocus: it(Ne(ze, Ie)),
4585
+ onBlur: it(Ne(De, Pe)),
4586
+ onClick: je(Ne(rt, zt)),
4587
+ onDragEnter: He(Ne(st, W)),
4586
4588
  onDragOver: He(Ne(pt, H)),
4587
- onDragLeave: He(Ne(Ye, G)),
4589
+ onDragLeave: He(Ne(Ye, K)),
4588
4590
  onDrop: He(Ne(lt, ie)),
4589
4591
  role: typeof se == "string" && se !== "" ? se : "presentation"
4590
4592
  }, ae, X), !n && !m ? {
4591
4593
  tabIndex: 0
4592
4594
  } : {}), ct);
4593
4595
  };
4594
- }, [X, he, Ie, Be, Pt, O, H, G, ie, m, N, n]), Yo = xe(function(k) {
4596
+ }, [X, he, Ie, Pe, zt, W, H, K, ie, m, N, n]), Yo = xe(function(k) {
4595
4597
  k.stopPropagation();
4596
4598
  }, []), Go = Me(function() {
4597
4599
  return function() {
4598
- var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.onChange, be = k.onClick, Pe = nt(k, js), De = Rt({
4600
+ var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.onChange, be = k.onClick, ze = nt(k, js), De = Rt({
4599
4601
  accept: ne,
4600
4602
  multiple: s,
4601
4603
  type: "file",
@@ -4615,7 +4617,7 @@ function Ho() {
4615
4617
  onClick: je(Ne(be, Yo)),
4616
4618
  tabIndex: -1
4617
4619
  }, ae, T);
4618
- return oe(oe({}, De), Pe);
4620
+ return oe(oe({}, De), ze);
4619
4621
  };
4620
4622
  }, [T, o, s, ie, n]);
4621
4623
  return oe(oe({}, V), {}, {
@@ -4700,7 +4702,7 @@ const $s = (e) => Ho(e), Hs = (e) => {
4700
4702
  window.removeEventListener("resize", g);
4701
4703
  }), [t]);
4702
4704
  const h = Vs(t);
4703
- return /* @__PURE__ */ P(
4705
+ return /* @__PURE__ */ z(
4704
4706
  "div",
4705
4707
  {
4706
4708
  className: f(
@@ -4788,9 +4790,9 @@ const $s = (e) => Ho(e), Hs = (e) => {
4788
4790
  error: h
4789
4791
  } = e, [x, w] = ee([]), R = xe(
4790
4792
  (_, v) => {
4791
- const I = v.map(({ file: S, errors: B }) => ({
4793
+ const I = v.map(({ file: S, errors: P }) => ({
4792
4794
  file: S,
4793
- errors: B
4795
+ errors: P
4794
4796
  }));
4795
4797
  if (!s) {
4796
4798
  w([...I]), a(_, n);
@@ -4805,7 +4807,7 @@ const $s = (e) => Ho(e), Hs = (e) => {
4805
4807
  onDrop: R,
4806
4808
  multiple: s,
4807
4809
  disabled: r
4808
- }), F = x ? (x == null ? void 0 : x.length) > 0 : void 0, y = [...p.map((_) => ({ file: _, errors: null })), ...x], m = (y == null ? void 0 : y.length) > 0 || (x == null ? void 0 : x.length) > 0, N = o === "input", W = o === "dropzone", K = f({
4810
+ }), F = x ? (x == null ? void 0 : x.length) > 0 : void 0, y = [...p.map((_) => ({ file: _, errors: null })), ...x], m = (y == null ? void 0 : y.length) > 0 || (x == null ? void 0 : x.length) > 0, N = o === "input", O = o === "dropzone", G = f({
4809
4811
  [Y.spUploadFiles]: !0,
4810
4812
  [Y[`spUploadFiles--variant-${o}`]]: o,
4811
4813
  [Y.spUploadFiles_error]: F && !s && h && h.length > 0,
@@ -4825,8 +4827,8 @@ const $s = (e) => Ho(e), Hs = (e) => {
4825
4827
  if (g)
4826
4828
  return;
4827
4829
  if (v) {
4828
- const S = [...x], B = S.findIndex((D) => D.file.name === _);
4829
- S.splice(B, 1), w(S);
4830
+ const S = [...x], P = S.findIndex((D) => D.file.name === _);
4831
+ S.splice(P, 1), w(S);
4830
4832
  return;
4831
4833
  }
4832
4834
  const I = [...p], L = I.findIndex((S) => S.name === _);
@@ -4856,17 +4858,17 @@ const $s = (e) => Ho(e), Hs = (e) => {
4856
4858
  classNameRoot: f(Y.spUploadFiles__fileName)
4857
4859
  }
4858
4860
  );
4859
- }, z = () => /* @__PURE__ */ c("ul", { className: ne, children: y.map(({ file: _, errors: v }, I) => {
4861
+ }, B = () => /* @__PURE__ */ c("ul", { className: ne, children: y.map(({ file: _, errors: v }, I) => {
4860
4862
  const L = v ? (v == null ? void 0 : v.length) > 0 : void 0, S = () => v ? v == null ? void 0 : v.map(Hs).join(", ") : "";
4861
- return /* @__PURE__ */ P(
4863
+ return /* @__PURE__ */ z(
4862
4864
  "li",
4863
4865
  {
4864
4866
  className: f(
4865
4867
  Y.spUploadFiles__fileNamesListItem,
4866
4868
  L && Y.spUploadFiles__fileNamesListItem_error
4867
4869
  ),
4868
- onClick: (B) => {
4869
- B.stopPropagation();
4870
+ onClick: (P) => {
4871
+ P.stopPropagation();
4870
4872
  },
4871
4873
  children: [
4872
4874
  /* @__PURE__ */ c(
@@ -4879,7 +4881,7 @@ const $s = (e) => Ho(e), Hs = (e) => {
4879
4881
  children: /* @__PURE__ */ c(ve, { name: L ? M.InfoError : M.File })
4880
4882
  }
4881
4883
  ),
4882
- /* @__PURE__ */ P("div", { className: Y.spUploadFiles__fileNamesListItem__mainContent, children: [
4884
+ /* @__PURE__ */ z("div", { className: Y.spUploadFiles__fileNamesListItem__mainContent, children: [
4883
4885
  /* @__PURE__ */ c(
4884
4886
  Xs,
4885
4887
  {
@@ -4904,8 +4906,8 @@ const $s = (e) => Ho(e), Hs = (e) => {
4904
4906
  "div",
4905
4907
  {
4906
4908
  className: f(Y.spUploadFiles__fileNamesListItemDelete),
4907
- onClick: (B) => {
4908
- B.stopPropagation(), ue(_.name, L);
4909
+ onClick: (P) => {
4910
+ P.stopPropagation(), ue(_.name, L);
4909
4911
  },
4910
4912
  children: /* @__PURE__ */ c(ve, { name: M.Close })
4911
4913
  }
@@ -4914,7 +4916,7 @@ const $s = (e) => Ho(e), Hs = (e) => {
4914
4916
  },
4915
4917
  I
4916
4918
  );
4917
- }) }), q = () => s ? z() : T(), V = () => /* @__PURE__ */ c(
4919
+ }) }), q = () => s ? B() : T(), V = () => /* @__PURE__ */ c(
4918
4920
  Ke,
4919
4921
  {
4920
4922
  classNameRoot: Y.spUploadFiles__placeholder,
@@ -4924,7 +4926,7 @@ const $s = (e) => Ho(e), Hs = (e) => {
4924
4926
  ),
4925
4927
  text: t
4926
4928
  }
4927
- ), te = () => /* @__PURE__ */ P(At, { children: [
4929
+ ), te = () => /* @__PURE__ */ z(At, { children: [
4928
4930
  m ? q() : V(),
4929
4931
  m && N ? /* @__PURE__ */ c("div", { className: me, onClick: le, children: /* @__PURE__ */ c(ve, { name: M.Close }) }) : N && l && /* @__PURE__ */ c(
4930
4932
  at,
@@ -4943,8 +4945,8 @@ const $s = (e) => Ho(e), Hs = (e) => {
4943
4945
  getInputProps: U,
4944
4946
  disabled: r,
4945
4947
  name: n,
4946
- children: /* @__PURE__ */ P("div", { className: K, children: [
4947
- W && /* @__PURE__ */ c(
4948
+ children: /* @__PURE__ */ z("div", { className: G, children: [
4949
+ O && /* @__PURE__ */ c(
4948
4950
  $e,
4949
4951
  {
4950
4952
  hover: !0,
@@ -4954,7 +4956,7 @@ const $s = (e) => Ho(e), Hs = (e) => {
4954
4956
  trigger: void 0
4955
4957
  }
4956
4958
  ),
4957
- /* @__PURE__ */ P("div", { className: J, children: [
4959
+ /* @__PURE__ */ z("div", { className: J, children: [
4958
4960
  N && (g ? /* @__PURE__ */ c(jt, {}) : /* @__PURE__ */ c(
4959
4961
  ve,
4960
4962
  {
@@ -5000,9 +5002,9 @@ const $s = (e) => Ho(e), Hs = (e) => {
5000
5002
  [Ee.viewImageModal__img_error]: u,
5001
5003
  ...o && { [o]: !0 }
5002
5004
  });
5003
- return /* @__PURE__ */ P(yo, { classNameRoot: R, children: [
5005
+ return /* @__PURE__ */ z(yo, { classNameRoot: R, children: [
5004
5006
  s && l && /* @__PURE__ */ c(jt, { classNameRoot: U, size: "xl" }),
5005
- /* @__PURE__ */ P("div", { className: w, children: [
5007
+ /* @__PURE__ */ z("div", { className: w, children: [
5006
5008
  /* @__PURE__ */ c(
5007
5009
  "img",
5008
5010
  {
@@ -5017,7 +5019,7 @@ const $s = (e) => Ho(e), Hs = (e) => {
5017
5019
  }
5018
5020
  }
5019
5021
  ),
5020
- u && /* @__PURE__ */ P("div", { className: Ee.viewImage__errorWrapper, children: [
5022
+ u && /* @__PURE__ */ z("div", { className: Ee.viewImage__errorWrapper, children: [
5021
5023
  /* @__PURE__ */ c(ve, { name: M.InfoError, className: Ee.viewImage__errorIcon }),
5022
5024
  /* @__PURE__ */ c(Te, { children: "Не удалось загрузить изображение" })
5023
5025
  ] })
@@ -5036,9 +5038,9 @@ const $s = (e) => Ho(e), Hs = (e) => {
5036
5038
  ] });
5037
5039
  };
5038
5040
  export {
5039
- zp as Accordion,
5041
+ Bp as Accordion,
5040
5042
  ra as ApplyButtons,
5041
- Pp as AuthProtected,
5043
+ zp as AuthProtected,
5042
5044
  wo as BaseTooltip,
5043
5045
  et as Button,
5044
5046
  Op as Checkbox,
@@ -5071,5 +5073,5 @@ export {
5071
5073
  Qp as UploadFiles,
5072
5074
  Jp as ViewImageModal,
5073
5075
  rr as useAnimatedValue,
5074
- Bp as useModal
5076
+ Pp as useModal
5075
5077
  };