stone-kit 0.0.1020 → 0.0.1022

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 (36) hide show
  1. package/dist/App.js +1 -1
  2. package/dist/{FilterWithSave-DoWMuW-f.js → FilterWithSave-et9VcSEL.js} +118 -118
  3. package/dist/{Menu-ddTPf08b.js → Menu-C4yFPKk7.js} +1 -1
  4. package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +28 -28
  5. package/dist/components/CommercialLotCard/CommercialLotCard.js +1 -1
  6. package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +1 -1
  7. package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +1 -1
  8. package/dist/components/FilterWithSave/ui/FilterWithSave.js +1 -1
  9. package/dist/components/FormModal/ui/ModalForm.js +1 -1
  10. package/dist/components/LotCard/hooks/useLotCard.js +1 -1
  11. package/dist/components/LotCard/index.js +1 -1
  12. package/dist/components/LotCard/ui/LotCard.js +1 -1
  13. package/dist/components/SortSelect/index.js +1 -1
  14. package/dist/components/SortSelect/ui/SortSelect.js +1 -1
  15. package/dist/components/TabSwitcher/index.js +1 -1
  16. package/dist/components/TabSwitcher/ui/TabSwitcher.js +1 -1
  17. package/dist/layout/components/Header/Header.js +2 -2
  18. package/dist/layout/components/Menu.js +2 -2
  19. package/dist/main.js +1 -1
  20. package/dist/pages/ButtonsPage/Buttons.js +1 -1
  21. package/dist/pages/FormsPage/FormsPage.js +1 -1
  22. package/dist/pages/IconsPage/IconsPage.js +1 -1
  23. package/dist/pages/InputPage/InputPage.js +1 -1
  24. package/dist/pages/LogoPage/LogoPage.js +1 -1
  25. package/dist/pages/LotsPage/LotsPage.js +1 -1
  26. package/dist/pages/ModalsPage/ModalPage.js +1 -1
  27. package/dist/pages/SelectPage/SelectPage.js +1 -1
  28. package/dist/pages/TabsPage/TabsPage.js +1 -1
  29. package/dist/pages/TagsPage/TagsPage.js +1 -1
  30. package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +1 -1
  31. package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +1 -1
  32. package/dist/stories/shared/ui/FormModal/FormModal.stories.js +1 -1
  33. package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +1 -1
  34. package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +1 -1
  35. package/dist/style.css +1 -1
  36. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { jsxs as N, jsx as o, Fragment as nt } from "react/jsx-runtime";
2
2
  import { NewIcon as ge } from "./components/NewIcon/ui/NewIcon.js";
3
3
  import { Modal as at } from "./components/Modal/ui/Modal.js";
4
- import q, { forwardRef as er, useState as Fe, useRef as Lt, useEffect as Oe } from "react";
4
+ import q, { forwardRef as er, useState as Fe, useRef as Lt, useEffect as je } from "react";
5
5
  import { Text as lt } from "./components/Text/ui/Text.js";
6
6
  import { c as Ae, g as tr } from "./index-rKuIKazb.js";
7
7
  import { Button as xe } from "./components/Button/ui/Button.js";
@@ -148,15 +148,15 @@ const yr = "_root_14gc5_1", gr = "_text_14gc5_18", vr = "_textMini_14gc5_26", br
148
148
  ] });
149
149
  });
150
150
  Bt.displayName = "TabSwitcherItem";
151
- const ze = Object.assign(Lr, { Item: Bt }), Br = "_root_kbf05_1", Er = "_lotBtn_kbf05_15", Vr = "_rootDisable_kbf05_24", Dr = "_lotImageWrapper_kbf05_24", Mr = "_lotInfoWrapper_kbf05_25", jr = "_infoHeader_kbf05_45", Rr = "_monthlyWrapper_kbf05_54", Or = "_price_kbf05_64", _r = "_monthlyPayment_kbf05_71", zr = "_decor_kbf05_77", Xr = "_lotPropertyListMobile_kbf05_84", Zr = "_lotPropertyItem_kbf05_92", Ur = "_lotPropertyListDesktop_kbf05_109", qr = "_lotPriceWrapper_kbf05_113", Gr = "_discountWrapper_kbf05_119", Hr = "_discountPrice_kbf05_130", Jr = "_priceWrap_kbf05_142", Yr = "_snippetLast_kbf05_152", Kr = "_snippet_kbf05_152", Qr = "_tagsMobile_kbf05_167", $r = "_discountTag_kbf05_182", es = "_lotPricePerMetr_kbf05_186", ts = "_btnWrapper_kbf05_191", rs = "_title_kbf05_198", ss = "_snippets_kbf05_202", is = "_retailSnippets_kbf05_207", ns = "_shownSnippets_kbf05_212", as = "_addSnippets_kbf05_237", ls = "_addSnippetsActive_kbf05_253", os = "_addSnippetsList_kbf05_258", cs = "_closeSnippetBtn_kbf05_302", ds = "_rootRow_kbf05_314", us = "_rowTablet_kbf05_325", fs = "_rootRightSide_kbf05_366", ps = "_topWrapper_kbf05_382", ms = "_botWrapper_kbf05_387", hs = "_lotPriceWrapperRow_kbf05_418", ys = "_fullscreenBtn_kbf05_428", gs = "_projectLotPricePerMetr_kbf05_447", vs = "_paymentClass_kbf05_487", k = {
151
+ const ze = Object.assign(Lr, { Item: Bt }), Br = "_root_kbf05_1", Er = "_lotBtn_kbf05_15", Vr = "_rootDisable_kbf05_24", Dr = "_lotImageWrapper_kbf05_24", Mr = "_lotInfoWrapper_kbf05_25", Rr = "_infoHeader_kbf05_45", Or = "_monthlyWrapper_kbf05_54", jr = "_price_kbf05_64", _r = "_monthlyPayment_kbf05_71", zr = "_decor_kbf05_77", Xr = "_lotPropertyListMobile_kbf05_84", Zr = "_lotPropertyItem_kbf05_92", Ur = "_lotPropertyListDesktop_kbf05_109", qr = "_lotPriceWrapper_kbf05_113", Gr = "_discountWrapper_kbf05_119", Hr = "_discountPrice_kbf05_130", Jr = "_priceWrap_kbf05_142", Yr = "_snippetLast_kbf05_152", Kr = "_snippet_kbf05_152", Qr = "_tagsMobile_kbf05_167", $r = "_discountTag_kbf05_182", es = "_lotPricePerMetr_kbf05_186", ts = "_btnWrapper_kbf05_191", rs = "_title_kbf05_198", ss = "_snippets_kbf05_202", is = "_retailSnippets_kbf05_207", ns = "_shownSnippets_kbf05_212", as = "_addSnippets_kbf05_237", ls = "_addSnippetsActive_kbf05_253", os = "_addSnippetsList_kbf05_258", cs = "_closeSnippetBtn_kbf05_302", ds = "_rootRow_kbf05_314", us = "_rowTablet_kbf05_325", fs = "_rootRightSide_kbf05_366", ps = "_topWrapper_kbf05_382", ms = "_botWrapper_kbf05_387", hs = "_lotPriceWrapperRow_kbf05_418", ys = "_fullscreenBtn_kbf05_428", gs = "_projectLotPricePerMetr_kbf05_447", vs = "_paymentClass_kbf05_487", k = {
152
152
  root: Br,
153
153
  lotBtn: Er,
154
154
  rootDisable: Vr,
155
155
  lotImageWrapper: Dr,
156
156
  lotInfoWrapper: Mr,
157
- infoHeader: jr,
158
- monthlyWrapper: Rr,
159
- price: Or,
157
+ infoHeader: Rr,
158
+ monthlyWrapper: Or,
159
+ price: jr,
160
160
  monthlyPayment: _r,
161
161
  decor: zr,
162
162
  lotPropertyListMobile: Xr,
@@ -204,7 +204,7 @@ const ze = Object.assign(Lr, { Item: Bt }), Br = "_root_kbf05_1", Er = "_lotBtn_
204
204
  number: T,
205
205
  bedroomsCount: P,
206
206
  mortgageMonthlyPayment: C
207
- } = e, [M, x] = Fe(!1), E = t === 2, b = n === 1, D = A === 11, Z = a ? a + " м²" : "", I = i && u ? (d && d !== i ? i + "-" + d : i) + " из " + u : "", H = pr({ ...e }), { isTablet: G, isDesktop: X, isMobile: L, currentClientWidth: O } = Be(), _ = typeof r < "u" ? r : X || G, S = () => D ? u ? "Кол-во этажей: " + u : "" : I ? "Этаж: " + I : "", v = () => D ? u ? /* @__PURE__ */ N("li", { className: We(k.lotPropertyItem), children: [
207
+ } = e, [M, x] = Fe(!1), E = t === 2, b = n === 1, D = A === 11, Z = a ? a + " м²" : "", I = i && u ? (d && d !== i ? i + "-" + d : i) + " из " + u : "", H = pr({ ...e }), { isTablet: G, isDesktop: X, isMobile: L, currentClientWidth: j } = Be(), _ = typeof r < "u" ? r : X || G, S = () => D ? u ? "Кол-во этажей: " + u : "" : I ? "Этаж: " + I : "", v = () => D ? u ? /* @__PURE__ */ N("li", { className: We(k.lotPropertyItem), children: [
208
208
  /* @__PURE__ */ o("div", { children: "Количество этажей" }),
209
209
  /* @__PURE__ */ o("div", { children: u })
210
210
  ] }) : null : I ? /* @__PURE__ */ N("li", { className: We(k.lotPropertyItem), children: [
@@ -291,7 +291,7 @@ const ze = Object.assign(Lr, { Item: Bt }), Br = "_root_kbf05_1", Er = "_lotBtn_
291
291
  }) }) : null;
292
292
  };
293
293
  return {
294
- currentClientWidth: O,
294
+ currentClientWidth: j,
295
295
  isBuilding: D,
296
296
  LotCardInfo: () => {
297
297
  const V = b && A && h ? h : mr(P), z = D ? V : `${V}${T ? `, ${T}` : ""}`;
@@ -364,7 +364,7 @@ const ze = Object.assign(Lr, { Item: Bt }), Br = "_root_kbf05_1", Er = "_lotBtn_
364
364
  mobileText: null
365
365
  };
366
366
  }, H = D ? "Первоначальный взнос" : e.hasBestPurchasingConditions ? "Рассрочка" : b ? "Первоначальный взнос" : "", { notMobileText: G, mobileText: X } = Z(), L = sr(e), {
367
- getFloorStr: O,
367
+ getFloorStr: j,
368
368
  FloorByType: _,
369
369
  areaStr: S,
370
370
  isReserved: v,
@@ -466,7 +466,7 @@ const ze = Object.assign(Lr, { Item: Bt }), Br = "_root_kbf05_1", Er = "_lotBtn_
466
466
  /* @__PURE__ */ N("div", { className: ae(k.lotPropertyListDesktop), children: [
467
467
  S && /* @__PURE__ */ o(Ee, { variant: "gray", fontWeight: "large", children: S }),
468
468
  !z && w && /* @__PURE__ */ o(Ee, { variant: "gray", children: w }),
469
- O() && /* @__PURE__ */ o(Ee, { variant: "gray", children: O() })
469
+ j() && /* @__PURE__ */ o(Ee, { variant: "gray", children: j() })
470
470
  ] }),
471
471
  /* @__PURE__ */ N("ul", { className: ae(k.lotPropertyListMobile), children: [
472
472
  S && /* @__PURE__ */ N("li", { className: ae(k.lotPropertyItem), children: [
@@ -552,7 +552,7 @@ const ze = Object.assign(Lr, { Item: Bt }), Br = "_root_kbf05_1", Er = "_lotBtn_
552
552
  onChange: d,
553
553
  onBlur: u
554
554
  });
555
- return Oe(() => (document.addEventListener("click", Z), () => {
555
+ return je(() => (document.addEventListener("click", Z), () => {
556
556
  document.removeEventListener("click", Z);
557
557
  }), []), /* @__PURE__ */ N(
558
558
  "div",
@@ -704,7 +704,7 @@ const qe = {
704
704
  required: "required",
705
705
  validate: "validate"
706
706
  }, Ms = q.createContext(null), dt = () => q.useContext(Ms);
707
- var jt = (e, r, t, n = !0) => {
707
+ var Rt = (e, r, t, n = !0) => {
708
708
  const a = {
709
709
  defaultValues: r._defaultValues
710
710
  };
@@ -716,11 +716,11 @@ var jt = (e, r, t, n = !0) => {
716
716
  }
717
717
  });
718
718
  return a;
719
- }, pe = (e) => re(e) && !Object.keys(e).length, Rt = (e, r, t, n) => {
719
+ }, pe = (e) => re(e) && !Object.keys(e).length, Ot = (e, r, t, n) => {
720
720
  t(e);
721
721
  const { name: a, ...i } = e;
722
722
  return pe(i) || Object.keys(i).length >= Object.keys(r).length || Object.keys(i).find((d) => r[d] === (!n || ye.all));
723
- }, je = (e) => Array.isArray(e) ? e : [e], Ot = (e, r, t) => !e || !r || e === r || je(e).some((n) => n && (t ? n === r : n.startsWith(r) || r.startsWith(n)));
723
+ }, Re = (e) => Array.isArray(e) ? e : [e], jt = (e, r, t) => !e || !r || e === r || Re(e).some((n) => n && (t ? n === r : n.startsWith(r) || r.startsWith(n)));
724
724
  function ut(e) {
725
725
  const r = q.useRef(e);
726
726
  r.current = e, q.useEffect(() => {
@@ -732,7 +732,7 @@ function ut(e) {
732
732
  };
733
733
  }, [e.disabled]);
734
734
  }
735
- function js(e) {
735
+ function Rs(e) {
736
736
  const r = dt(), { control: t = r.control, disabled: n, name: a, exact: i } = e || {}, [d, u] = q.useState(t._formState), A = q.useRef(!0), w = q.useRef({
737
737
  isDirty: !1,
738
738
  isLoading: !1,
@@ -745,35 +745,35 @@ function js(e) {
745
745
  }), y = q.useRef(a);
746
746
  return y.current = a, ut({
747
747
  disabled: n,
748
- next: (h) => A.current && Ot(y.current, h.name, i) && Rt(h, w.current, t._updateFormState) && u({
748
+ next: (h) => A.current && jt(y.current, h.name, i) && Ot(h, w.current, t._updateFormState) && u({
749
749
  ...t._formState,
750
750
  ...h
751
751
  }),
752
752
  subject: t._subjects.state
753
753
  }), q.useEffect(() => (A.current = !0, w.current.isValid && t._updateValid(!0), () => {
754
754
  A.current = !1;
755
- }), [t]), jt(d, t, w.current, !1);
755
+ }), [t]), Rt(d, t, w.current, !1);
756
756
  }
757
757
  var Se = (e) => typeof e == "string", _t = (e, r, t, n, a) => Se(e) ? (n && r.watch.add(e), p(t, e, a)) : Array.isArray(e) ? e.map((i) => (n && r.watch.add(i), p(t, i))) : (n && (r.watchAll = !0), t);
758
- function Rs(e) {
758
+ function Os(e) {
759
759
  const r = dt(), { control: t = r.control, name: n, defaultValue: a, disabled: i, exact: d } = e || {}, u = q.useRef(n);
760
760
  u.current = n, ut({
761
761
  disabled: i,
762
762
  subject: t._subjects.values,
763
763
  next: (y) => {
764
- Ot(u.current, y.name, d) && w(fe(_t(u.current, t._names, y.values || t._formValues, !1, a)));
764
+ jt(u.current, y.name, d) && w(fe(_t(u.current, t._names, y.values || t._formValues, !1, a)));
765
765
  }
766
766
  });
767
767
  const [A, w] = q.useState(t._getWatch(n, a));
768
768
  return q.useEffect(() => t._removeUnmounted()), A;
769
769
  }
770
- function Os(e) {
771
- const r = dt(), { name: t, disabled: n, control: a = r.control, shouldUnregister: i } = e, d = Dt(a._names.array, t), u = Rs({
770
+ function js(e) {
771
+ const r = dt(), { name: t, disabled: n, control: a = r.control, shouldUnregister: i } = e, d = Dt(a._names.array, t), u = Os({
772
772
  control: a,
773
773
  name: t,
774
774
  defaultValue: p(a._formValues, t, p(a._defaultValues, t, e.defaultValue)),
775
775
  exact: !0
776
- }), A = js({
776
+ }), A = Rs({
777
777
  control: a,
778
778
  name: t,
779
779
  exact: !0
@@ -855,7 +855,7 @@ function Os(e) {
855
855
  })
856
856
  };
857
857
  }
858
- const _s = (e) => e.render(Os(e));
858
+ const _s = (e) => e.render(js(e));
859
859
  var zs = (e, r, t, n, a) => r ? {
860
860
  ...t[e],
861
861
  types: {
@@ -869,7 +869,7 @@ var zs = (e, r, t, n, a) => r ? {
869
869
  isOnAll: e === ye.all,
870
870
  isOnTouch: e === ye.onTouched
871
871
  }), kt = (e, r, t) => !t && (r.watchAll || r.watch.has(e) || [...r.watch].some((n) => e.startsWith(n) && /^\.\w+/.test(e.slice(n.length))));
872
- const Re = (e, r, t, n) => {
872
+ const Oe = (e, r, t, n) => {
873
873
  for (const a of t || Object.keys(e)) {
874
874
  const i = p(e, a);
875
875
  if (i) {
@@ -879,14 +879,14 @@ const Re = (e, r, t, n) => {
879
879
  break;
880
880
  if (d.ref && r(d.ref, d.name) && !n)
881
881
  break;
882
- Re(u, r);
882
+ Oe(u, r);
883
883
  } else
884
- re(u) && Re(u, r);
884
+ re(u) && Oe(u, r);
885
885
  }
886
886
  }
887
887
  };
888
888
  var Xs = (e, r, t) => {
889
- const n = je(p(e, t));
889
+ const n = Re(p(e, t));
890
890
  return U(n, "root", r[t]), U(e, t, n), e;
891
891
  }, ft = (e) => e.type === "file", ke = (e) => typeof e == "function", Ge = (e) => {
892
892
  if (!ot)
@@ -936,13 +936,13 @@ var Ie = (e) => re(e) && !He(e) ? e : {
936
936
  return {};
937
937
  const D = d ? d[0] : i, Z = (S) => {
938
938
  n && D.reportValidity && (D.setCustomValidity(be(S) ? "" : S || ""), D.reportValidity());
939
- }, I = {}, H = pt(i), G = _e(i), X = H || G, L = (M || ft(i)) && K(i.value) && K(b) || Ge(i) && i.value === "" || b === "" || Array.isArray(b) && !b.length, O = zs.bind(null, C, t, I), _ = (S, v, W, B = we.maxLength, V = we.minLength) => {
939
+ }, I = {}, H = pt(i), G = _e(i), X = H || G, L = (M || ft(i)) && K(i.value) && K(b) || Ge(i) && i.value === "" || b === "" || Array.isArray(b) && !b.length, j = zs.bind(null, C, t, I), _ = (S, v, W, B = we.maxLength, V = we.minLength) => {
940
940
  const z = S ? v : W;
941
941
  I[C] = {
942
942
  type: S ? B : V,
943
943
  message: z,
944
944
  ref: i,
945
- ...O(S ? B : V, z)
945
+ ...j(S ? B : V, z)
946
946
  };
947
947
  };
948
948
  if (a ? !Array.isArray(b) || !b.length : u && (!X && (L || oe(b)) || be(b) && !b || G && !zt(d).isValid || H && !Xt(d).isValid)) {
@@ -951,7 +951,7 @@ var Ie = (e) => re(e) && !He(e) ? e : {
951
951
  type: we.required,
952
952
  message: v,
953
953
  ref: D,
954
- ...O(we.required, v)
954
+ ...j(we.required, v)
955
955
  }, !t))
956
956
  return Z(v), I;
957
957
  }
@@ -979,7 +979,7 @@ var Ie = (e) => re(e) && !He(e) ? e : {
979
979
  type: we.pattern,
980
980
  message: v,
981
981
  ref: i,
982
- ...O(we.pattern, v)
982
+ ...j(we.pattern, v)
983
983
  }, !t))
984
984
  return Z(v), I;
985
985
  }
@@ -988,7 +988,7 @@ var Ie = (e) => re(e) && !He(e) ? e : {
988
988
  const S = await P(b, r), v = Pt(S, D);
989
989
  if (v && (I[C] = {
990
990
  ...v,
991
- ...O(we.validate, v.message)
991
+ ...j(we.validate, v.message)
992
992
  }, !t))
993
993
  return Z(v.message), I;
994
994
  } else if (re(P)) {
@@ -999,7 +999,7 @@ var Ie = (e) => re(e) && !He(e) ? e : {
999
999
  const W = Pt(await P[v](b, r), D, v);
1000
1000
  W && (S = {
1001
1001
  ...W,
1002
- ...O(v, W.message)
1002
+ ...j(v, W.message)
1003
1003
  }, Z(W.message), t && (I[C] = S));
1004
1004
  }
1005
1005
  if (!pe(S) && (I[C] = {
@@ -1180,7 +1180,7 @@ function Qs(e = {}) {
1180
1180
  clearTimeout(w), w = setTimeout(s, l);
1181
1181
  }, x = async (s) => {
1182
1182
  if (y.isValid || s) {
1183
- const l = r.resolver ? pe((await X()).errors) : await O(n, !0);
1183
+ const l = r.resolver ? pe((await X()).errors) : await j(n, !0);
1184
1184
  l !== t.isValid && h.state.next({
1185
1185
  isValid: l
1186
1186
  });
@@ -1232,19 +1232,19 @@ function Qs(e = {}) {
1232
1232
  }
1233
1233
  }, H = (s, l, c, g, m) => {
1234
1234
  let f = !1, F = !1;
1235
- const j = {
1235
+ const R = {
1236
1236
  name: s
1237
1237
  }, ee = !!(p(n, s) && p(n, s)._f && p(n, s)._f.disabled);
1238
1238
  if (!c || g) {
1239
- y.isDirty && (F = t.isDirty, t.isDirty = j.isDirty = S(), f = F !== j.isDirty);
1239
+ y.isDirty && (F = t.isDirty, t.isDirty = R.isDirty = S(), f = F !== R.isDirty);
1240
1240
  const me = ee || Ce(p(a, s), l);
1241
- F = !!(!ee && p(t.dirtyFields, s)), me || ee ? te(t.dirtyFields, s) : U(t.dirtyFields, s, !0), j.dirtyFields = t.dirtyFields, f = f || y.dirtyFields && F !== !me;
1241
+ F = !!(!ee && p(t.dirtyFields, s)), me || ee ? te(t.dirtyFields, s) : U(t.dirtyFields, s, !0), R.dirtyFields = t.dirtyFields, f = f || y.dirtyFields && F !== !me;
1242
1242
  }
1243
1243
  if (c) {
1244
1244
  const me = p(t.touchedFields, s);
1245
- me || (U(t.touchedFields, s, c), j.touchedFields = t.touchedFields, f = f || y.touchedFields && me !== c);
1245
+ me || (U(t.touchedFields, s, c), R.touchedFields = t.touchedFields, f = f || y.touchedFields && me !== c);
1246
1246
  }
1247
- return f && m && h.state.next(j), f ? j : {};
1247
+ return f && m && h.state.next(R), f ? R : {};
1248
1248
  }, G = (s, l, c, g) => {
1249
1249
  const m = p(t.errors, s), f = y.isValid && be(l) && t.isValid !== l;
1250
1250
  if (e.delayError && c ? (A = M(() => D(s, c)), A(e.delayError)) : (clearTimeout(w), A = null, c ? U(t.errors, s, c) : te(t.errors, s)), (c ? !Ce(m, c) : m) || !pe(g) || f) {
@@ -1273,7 +1273,7 @@ function Qs(e = {}) {
1273
1273
  else
1274
1274
  t.errors = l;
1275
1275
  return l;
1276
- }, O = async (s, l, c = {
1276
+ }, j = async (s, l, c = {
1277
1277
  valid: !0
1278
1278
  }) => {
1279
1279
  for (const g in s) {
@@ -1281,14 +1281,14 @@ function Qs(e = {}) {
1281
1281
  if (m) {
1282
1282
  const { _f: f, ...F } = m;
1283
1283
  if (f) {
1284
- const j = u.array.has(f.name);
1284
+ const R = u.array.has(f.name);
1285
1285
  E([g], !0);
1286
- const ee = await Tt(m, i, C, r.shouldUseNativeValidation && !l, j);
1286
+ const ee = await Tt(m, i, C, r.shouldUseNativeValidation && !l, R);
1287
1287
  if (E([g]), ee[f.name] && (c.valid = !1, l))
1288
1288
  break;
1289
- !l && (p(ee, f.name) ? j ? Xs(t.errors, ee, f.name) : U(t.errors, f.name, ee[f.name]) : te(t.errors, f.name));
1289
+ !l && (p(ee, f.name) ? R ? Xs(t.errors, ee, f.name) : U(t.errors, f.name, ee[f.name]) : te(t.errors, f.name));
1290
1290
  }
1291
- !pe(F) && await O(F, l, c);
1291
+ !pe(F) && await j(F, l, c);
1292
1292
  }
1293
1293
  }
1294
1294
  return c.valid;
@@ -1305,7 +1305,7 @@ function Qs(e = {}) {
1305
1305
  let m = l;
1306
1306
  if (g) {
1307
1307
  const f = g._f;
1308
- f && (!f.disabled && U(i, s, Gt(l, f)), m = Ge(f.ref) && oe(l) ? "" : l, Zt(f.ref) ? [...f.ref.options].forEach((F) => F.selected = m.includes(F.value)) : f.refs ? _e(f.ref) ? f.refs.length > 1 ? f.refs.forEach((F) => (!F.defaultChecked || !F.disabled) && (F.checked = Array.isArray(m) ? !!m.find((j) => j === F.value) : m === F.value)) : f.refs[0] && (f.refs[0].checked = !!m) : f.refs.forEach((F) => F.checked = F.value === m) : ft(f.ref) ? f.ref.value = "" : (f.ref.value = m, f.ref.type || h.values.next({
1308
+ f && (!f.disabled && U(i, s, Gt(l, f)), m = Ge(f.ref) && oe(l) ? "" : l, Zt(f.ref) ? [...f.ref.options].forEach((F) => F.selected = m.includes(F.value)) : f.refs ? _e(f.ref) ? f.refs.length > 1 ? f.refs.forEach((F) => (!F.defaultChecked || !F.disabled) && (F.checked = Array.isArray(m) ? !!m.find((R) => R === F.value) : m === F.value)) : f.refs[0] && (f.refs[0].checked = !!m) : f.refs.forEach((F) => F.checked = F.value === m) : ft(f.ref) ? f.ref.value = "" : (f.ref.value = m, f.ref.type || h.values.next({
1309
1309
  name: s,
1310
1310
  values: { ...i }
1311
1311
  })));
@@ -1333,11 +1333,11 @@ function Qs(e = {}) {
1333
1333
  d.mount = !0;
1334
1334
  const l = s.target;
1335
1335
  let c = l.name, g = !0;
1336
- const m = p(n, c), f = () => l.type ? it(m._f) : Vt(s), F = (j) => {
1337
- g = Number.isNaN(j) || j === p(i, c, j);
1336
+ const m = p(n, c), f = () => l.type ? it(m._f) : Vt(s), F = (R) => {
1337
+ g = Number.isNaN(R) || R === p(i, c, R);
1338
1338
  };
1339
1339
  if (m) {
1340
- let j, ee;
1340
+ let R, ee;
1341
1341
  const me = f(), Te = s.type === qe.BLUR || s.type === qe.FOCUS_OUT, Kt = !Hs(m._f) && !r.resolver && !p(t.errors, c) && !m._f.deps || Js(Te, p(t.touchedFields, c), t.isSubmitted, P, T), $e = kt(c, u, Te);
1342
1342
  U(i, c, me), Te ? (m._f.onBlur && m._f.onBlur(s), A && A(0)) : m._f.onChange && m._f.onChange(s);
1343
1343
  const et = H(c, me, Te, !1), Qt = !pe(et) || $e;
@@ -1351,31 +1351,31 @@ function Qs(e = {}) {
1351
1351
  const { errors: vt } = await X([c]);
1352
1352
  if (F(me), g) {
1353
1353
  const $t = Wt(t.errors, n, c), bt = Wt(vt, n, $t.name || c);
1354
- j = bt.error, c = bt.name, ee = pe(vt);
1354
+ R = bt.error, c = bt.name, ee = pe(vt);
1355
1355
  }
1356
1356
  } else
1357
- E([c], !0), j = (await Tt(m, i, C, r.shouldUseNativeValidation))[c], E([c]), F(me), g && (j ? ee = !1 : y.isValid && (ee = await O(n, !0)));
1358
- g && (m._f.deps && J(m._f.deps), G(c, ee, j, et));
1357
+ E([c], !0), R = (await Tt(m, i, C, r.shouldUseNativeValidation))[c], E([c]), F(me), g && (R ? ee = !1 : y.isValid && (ee = await j(n, !0)));
1358
+ g && (m._f.deps && J(m._f.deps), G(c, ee, R, et));
1359
1359
  }
1360
1360
  }, se = (s, l) => {
1361
1361
  if (p(t.errors, l) && s.focus)
1362
1362
  return s.focus(), 1;
1363
1363
  }, J = async (s, l = {}) => {
1364
1364
  let c, g;
1365
- const m = je(s);
1365
+ const m = Re(s);
1366
1366
  if (r.resolver) {
1367
1367
  const f = await L(K(s) ? s : m);
1368
1368
  c = pe(f), g = s ? !m.some((F) => p(f, F)) : c;
1369
1369
  } else
1370
1370
  s ? (g = (await Promise.all(m.map(async (f) => {
1371
1371
  const F = p(n, f);
1372
- return await O(F && F._f ? { [f]: F } : F);
1373
- }))).every(Boolean), !(!g && !t.isValid) && x()) : g = c = await O(n);
1372
+ return await j(F && F._f ? { [f]: F } : F);
1373
+ }))).every(Boolean), !(!g && !t.isValid) && x()) : g = c = await j(n);
1374
1374
  return h.state.next({
1375
1375
  ...!Se(s) || y.isValid && c !== t.isValid ? {} : { name: s },
1376
1376
  ...r.resolver || !s ? { isValid: c } : {},
1377
1377
  errors: t.errors
1378
- }), l.shouldFocus && !g && Re(n, se, s ? m : u.mount), g;
1378
+ }), l.shouldFocus && !g && Oe(n, se, s ? m : u.mount), g;
1379
1379
  }, ne = (s) => {
1380
1380
  const l = {
1381
1381
  ...d.mount ? i : a
@@ -1388,11 +1388,11 @@ function Qs(e = {}) {
1388
1388
  isValidating: !!p(t.validatingFields, s),
1389
1389
  isTouched: !!p((l || t).touchedFields, s)
1390
1390
  }), de = (s) => {
1391
- s && je(s).forEach((l) => te(t.errors, l)), h.state.next({
1391
+ s && Re(s).forEach((l) => te(t.errors, l)), h.state.next({
1392
1392
  errors: s ? t.errors : {}
1393
1393
  });
1394
1394
  }, Q = (s, l, c) => {
1395
- const g = (p(n, s, { _f: {} })._f || {}).ref, m = p(t.errors, s) || {}, { ref: f, message: F, type: j, ...ee } = m;
1395
+ const g = (p(n, s, { _f: {} })._f || {}).ref, m = p(t.errors, s) || {}, { ref: f, message: F, type: R, ...ee } = m;
1396
1396
  U(t.errors, s, {
1397
1397
  ...ee,
1398
1398
  ...l,
@@ -1405,7 +1405,7 @@ function Qs(e = {}) {
1405
1405
  }, ue = (s, l) => ke(s) ? h.values.subscribe({
1406
1406
  next: (c) => s(v(void 0, l), c)
1407
1407
  }) : v(s, l, !0), ve = (s, l = {}) => {
1408
- for (const c of s ? je(s) : u.mount)
1408
+ for (const c of s ? Re(s) : u.mount)
1409
1409
  u.mount.delete(c), u.array.delete(c), l.keepValue || (te(n, c), te(i, c)), !l.keepError && te(t.errors, c), !l.keepDirty && te(t.dirtyFields, c), !l.keepTouched && te(t.touchedFields, c), !l.keepIsValidating && te(t.validatingFields, c), !r.shouldUnregister && !l.keepDefaultValue && te(a, c);
1410
1410
  h.values.next({
1411
1411
  values: { ...i }
@@ -1450,15 +1450,15 @@ function Qs(e = {}) {
1450
1450
  ref: (m) => {
1451
1451
  if (m) {
1452
1452
  Qe(s, l), c = p(n, s);
1453
- const f = K(m.value) && m.querySelectorAll && m.querySelectorAll("input,select,textarea")[0] || m, F = qs(f), j = c._f.refs || [];
1454
- if (F ? j.find((ee) => ee === f) : f === c._f.ref)
1453
+ const f = K(m.value) && m.querySelectorAll && m.querySelectorAll("input,select,textarea")[0] || m, F = qs(f), R = c._f.refs || [];
1454
+ if (F ? R.find((ee) => ee === f) : f === c._f.ref)
1455
1455
  return;
1456
1456
  U(n, s, {
1457
1457
  _f: {
1458
1458
  ...c._f,
1459
1459
  ...F ? {
1460
1460
  refs: [
1461
- ...j.filter(st),
1461
+ ...R.filter(st),
1462
1462
  f,
1463
1463
  ...Array.isArray(p(a, s)) ? [{}] : []
1464
1464
  ],
@@ -1470,8 +1470,8 @@ function Qs(e = {}) {
1470
1470
  c = p(n, s, {}), c._f && (c._f.mount = !1), (r.shouldUnregister || l.shouldUnregister) && !(Dt(u.array, s) && d.action) && u.unMount.add(s);
1471
1471
  }
1472
1472
  };
1473
- }, mt = () => r.shouldFocusError && Re(n, se, u.mount), Jt = (s) => {
1474
- be(s) && (h.state.next({ disabled: s }), Re(n, (l, c) => {
1473
+ }, mt = () => r.shouldFocusError && Oe(n, se, u.mount), Jt = (s) => {
1474
+ be(s) && (h.state.next({ disabled: s }), Oe(n, (l, c) => {
1475
1475
  const g = p(n, c);
1476
1476
  g && (l.disabled = g._f.disabled || s, Array.isArray(g._f.refs) && g._f.refs.forEach((m) => {
1477
1477
  m.disabled = g._f.disabled || s;
@@ -1487,7 +1487,7 @@ function Qs(e = {}) {
1487
1487
  const { errors: f, values: F } = await X();
1488
1488
  t.errors = f, m = F;
1489
1489
  } else
1490
- await O(n);
1490
+ await j(n);
1491
1491
  if (te(t.errors, "root"), pe(t.errors)) {
1492
1492
  h.state.next({
1493
1493
  errors: {}
@@ -1518,9 +1518,9 @@ function Qs(e = {}) {
1518
1518
  else {
1519
1519
  if (ot && K(s))
1520
1520
  for (const F of u.mount) {
1521
- const j = p(n, F);
1522
- if (j && j._f) {
1523
- const ee = Array.isArray(j._f.refs) ? j._f.refs[0] : j._f.ref;
1521
+ const R = p(n, F);
1522
+ if (R && R._f) {
1523
+ const ee = Array.isArray(R._f.refs) ? R._f.refs[0] : R._f.ref;
1524
1524
  if (Ge(ee)) {
1525
1525
  const me = ee.closest("form");
1526
1526
  if (me) {
@@ -1670,7 +1670,7 @@ function $s(e = {}) {
1670
1670
  return i._options = e, ut({
1671
1671
  subject: i._subjects.state,
1672
1672
  next: (d) => {
1673
- Rt(d, i._proxyFormState, i._updateFormState, !0) && a({ ...i._formState });
1673
+ Ot(d, i._proxyFormState, i._updateFormState, !0) && a({ ...i._formState });
1674
1674
  }
1675
1675
  }), q.useEffect(() => i._disableForm(e.disabled), [i, e.disabled]), q.useEffect(() => {
1676
1676
  if (i._proxyFormState.isDirty) {
@@ -1689,7 +1689,7 @@ function $s(e = {}) {
1689
1689
  e.shouldUnregister && i._subjects.values.next({
1690
1690
  values: i._getWatch()
1691
1691
  });
1692
- }, [e.shouldUnregister, i]), r.current.formState = jt(n, i), r.current;
1692
+ }, [e.shouldUnregister, i]), r.current.formState = Rt(n, i), r.current;
1693
1693
  }
1694
1694
  const ei = Ae.bind(ie), ti = "Я принимаю условия Политики обработки и защиты персональных данных, даю согласия на обработку персональных данных", Wn = ({
1695
1695
  isFormOpen: e,
@@ -1720,16 +1720,16 @@ const ei = Ae.bind(ie), ti = "Я принимаю условия Политик
1720
1720
  emitAdvCheckBox: L
1721
1721
  }) => {
1722
1722
  const {
1723
- register: O,
1723
+ register: j,
1724
1724
  handleSubmit: _,
1725
1725
  reset: S,
1726
1726
  control: v,
1727
1727
  watch: W,
1728
1728
  formState: { errors: B }
1729
1729
  } = $s(), V = !!W("email"), z = W("personalCheckBox"), Y = W("advCheckBox");
1730
- Oe(() => {
1730
+ je(() => {
1731
1731
  typeof z < "u" && X && X();
1732
- }, [X, z]), Oe(() => {
1732
+ }, [X, z]), je(() => {
1733
1733
  typeof Y < "u" && L && L();
1734
1734
  }, [L, Y]);
1735
1735
  const { isMobile: se, currentClientWidth: J } = Be(), ne = W("personalCheckBox"), ce = W("advCheckBox"), de = (ue) => {
@@ -1806,7 +1806,7 @@ const ei = Ae.bind(ie), ti = "Я принимаю условия Политик
1806
1806
  variant: "light",
1807
1807
  placeholder: "Введите имя",
1808
1808
  "data-testid": "modal_name",
1809
- ...O("name", { required: !0, pattern: nr }),
1809
+ ...j("name", { required: !0, pattern: nr }),
1810
1810
  onBlur: (ue) => Q(ue, {
1811
1811
  action_element_status: B.name ? "error" : "success",
1812
1812
  action_element: `input_${G}_name`
@@ -1852,7 +1852,7 @@ const ei = Ae.bind(ie), ti = "Я принимаю условия Политик
1852
1852
  variant: "light",
1853
1853
  placeholder: "Введите email",
1854
1854
  "data-testid": "modal_email",
1855
- ...O("email", {
1855
+ ...j("email", {
1856
1856
  required: w || y && !V,
1857
1857
  pattern: lr
1858
1858
  }),
@@ -1870,7 +1870,7 @@ const ei = Ae.bind(ie), ti = "Я принимаю условия Политик
1870
1870
  placeholder: h,
1871
1871
  rows: M,
1872
1872
  width: "full",
1873
- ...O("textarea")
1873
+ ...j("textarea")
1874
1874
  }
1875
1875
  ),
1876
1876
  x && !t && E && /* @__PURE__ */ o(
@@ -1880,7 +1880,7 @@ const ei = Ae.bind(ie), ti = "Я принимаю условия Политик
1880
1880
  isChecked: ce,
1881
1881
  error: !!B.advCheckBox,
1882
1882
  text: x.text,
1883
- ...O("advCheckBox", { required: x == null ? void 0 : x.isRequired })
1883
+ ...j("advCheckBox", { required: x == null ? void 0 : x.isRequired })
1884
1884
  }
1885
1885
  ),
1886
1886
  /* @__PURE__ */ N(
@@ -1889,7 +1889,7 @@ const ei = Ae.bind(ie), ti = "Я принимаю условия Политик
1889
1889
  "data-testid": "modal_personalCheckBox",
1890
1890
  isChecked: ne,
1891
1891
  error: !!B.personalCheckBox,
1892
- ...O("personalCheckBox", { required: !t }),
1892
+ ...j("personalCheckBox", { required: !t }),
1893
1893
  children: [
1894
1894
  t && /* @__PURE__ */ N("div", { className: ie.checkboxText, children: [
1895
1895
  "Согласен(-на)",
@@ -2049,7 +2049,7 @@ const ei = Ae.bind(ie), ti = "Я принимаю условия Политик
2049
2049
  y
2050
2050
  );
2051
2051
  }) }) : null;
2052
- }, fi = "_root_5jm02_1", pi = "_lotImageWrapper_5jm02_16", mi = "_lotNameWrapper_5jm02_22", hi = "_lotName_5jm02_22", yi = "_lotNumber_5jm02_37", gi = "_priceWrapper_5jm02_59", Ne = {
2052
+ }, fi = "_root_15b7m_1", pi = "_lotImageWrapper_15b7m_17", mi = "_lotNameWrapper_15b7m_23", hi = "_lotName_15b7m_23", yi = "_lotNumber_15b7m_38", gi = "_priceWrapper_15b7m_60", Ne = {
2053
2053
  root: fi,
2054
2054
  lotImageWrapper: pi,
2055
2055
  lotNameWrapper: mi,
@@ -2088,7 +2088,7 @@ const ei = Ae.bind(ie), ti = "Я принимаю условия Политик
2088
2088
  }
2089
2089
  ) })
2090
2090
  ] }) : null;
2091
- }, bi = "_root_1v1y9_1", Si = "_filterWithSaveModal_1v1y9_15", wi = "_modalAddBody_1v1y9_20", Fi = "_closeBtn_1v1y9_29", xi = "_btnName_1v1y9_35", ki = "_modalTitle_1v1y9_39", Ni = "_tabSWitcherWrapper_1v1y9_48", Ci = "_switcherTitle_1v1y9_77", Ai = "_switcherScroll_1v1y9_84", Pi = "_tabs_1v1y9_93", Ti = "_selectWrapper_1v1y9_98", Wi = "_filterOption_1v1y9_102", Ii = "_btnWrapper_1v1y9_110", Li = "_resetBtn_1v1y9_116", Bi = "_saveBtn_1v1y9_117", Ei = "_desktopWrapper_1v1y9_121", Vi = "_desktopWrapperOpen_1v1y9_144", R = {
2091
+ }, bi = "_root_1v1y9_1", Si = "_filterWithSaveModal_1v1y9_15", wi = "_modalAddBody_1v1y9_20", Fi = "_closeBtn_1v1y9_29", xi = "_btnName_1v1y9_35", ki = "_modalTitle_1v1y9_39", Ni = "_tabSWitcherWrapper_1v1y9_48", Ci = "_switcherTitle_1v1y9_77", Ai = "_switcherScroll_1v1y9_84", Pi = "_tabs_1v1y9_93", Ti = "_selectWrapper_1v1y9_98", Wi = "_filterOption_1v1y9_102", Ii = "_btnWrapper_1v1y9_110", Li = "_resetBtn_1v1y9_116", Bi = "_saveBtn_1v1y9_117", Ei = "_desktopWrapper_1v1y9_121", Vi = "_desktopWrapperOpen_1v1y9_144", O = {
2092
2092
  root: bi,
2093
2093
  filterWithSaveModal: Si,
2094
2094
  modalAddBody: wi,
@@ -2144,7 +2144,7 @@ var Ht = { exports: {} };
2144
2144
  })();
2145
2145
  })(Ht);
2146
2146
  var Di = Ht.exports;
2147
- const Mi = /* @__PURE__ */ tr(Di), ji = ({
2147
+ const Mi = /* @__PURE__ */ tr(Di), Ri = ({
2148
2148
  selectedTabs: e = [],
2149
2149
  selectedValues: r = [],
2150
2150
  onClickItem: t,
@@ -2158,8 +2158,8 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2158
2158
  const { isMobile: w } = Be(), [y, h] = Fe(!1), T = Lt(null), [P, C] = Fe(e), [M] = Fe(r), [x, E] = Fe(P), [b, D] = Fe(M), Z = (L) => {
2159
2159
  if (t && t(L), n.some((_) => _.value === L.value))
2160
2160
  return;
2161
- const O = b.some((_) => _.value === L.value) ? b.filter((_) => _.value !== L.value) : [...b, L];
2162
- D(O);
2161
+ const j = b.some((_) => _.value === L.value) ? b.filter((_) => _.value !== L.value) : [...b, L];
2162
+ D(j);
2163
2163
  }, I = () => {
2164
2164
  C(a), E(a), D([]), A(), i && (i([]), d == null || d(a));
2165
2165
  }, H = () => {
@@ -2169,13 +2169,13 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2169
2169
  }, X = (L) => {
2170
2170
  L.stopPropagation(), u(), i && (d == null || d(x), i(b)), h(!1);
2171
2171
  };
2172
- return Oe(() => {
2172
+ return je(() => {
2173
2173
  y || E((L) => JSON.stringify(L) !== JSON.stringify(e) ? e : L);
2174
- }, [y, e]), Oe(() => {
2175
- const L = (O) => {
2174
+ }, [y, e]), je(() => {
2175
+ const L = (j) => {
2176
2176
  if (!T.current)
2177
2177
  return;
2178
- const _ = O.target;
2178
+ const _ = j.target;
2179
2179
  T.current.contains(_) || _.closest("svg") || G();
2180
2180
  };
2181
2181
  return y ? document.addEventListener("click", L) : document.removeEventListener("click", L), () => {
@@ -2195,7 +2195,7 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2195
2195
  setLocalSelectedTabs: E,
2196
2196
  containerRef: T
2197
2197
  };
2198
- }, Ri = Mi.bind(R), Ln = ({
2198
+ }, Oi = Mi.bind(O), Ln = ({
2199
2199
  disabledOptions: e,
2200
2200
  tabs: r = [],
2201
2201
  selectOptions: t = [],
@@ -2224,7 +2224,7 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2224
2224
  setLocalSelectedTabs: G,
2225
2225
  setIsModalOpen: X,
2226
2226
  containerRef: L
2227
- } = ji({
2227
+ } = Ri({
2228
2228
  selectedTabs: u,
2229
2229
  onClickItem: A,
2230
2230
  setSelectedTabs: d,
@@ -2234,11 +2234,11 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2234
2234
  selectedValues: i,
2235
2235
  onSaveClick: h,
2236
2236
  onClearClick: T
2237
- }), O = () => /* @__PURE__ */ N(nt, { children: [
2237
+ }), j = () => /* @__PURE__ */ N(nt, { children: [
2238
2238
  /* @__PURE__ */ o(
2239
2239
  "div",
2240
2240
  {
2241
- className: R.closeBtn,
2241
+ className: O.closeBtn,
2242
2242
  onClick: () => {
2243
2243
  M();
2244
2244
  },
@@ -2251,14 +2251,14 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2251
2251
  )
2252
2252
  }
2253
2253
  ),
2254
- /* @__PURE__ */ o("div", { className: R.modalTitle, children: "Фильтры" }),
2255
- /* @__PURE__ */ N("div", { className: R.tabSWitcherWrapper, children: [
2256
- /* @__PURE__ */ o("div", { className: R.switcherTitle, children: "Готовность" }),
2257
- /* @__PURE__ */ o("div", { className: R.switcherScroll, children: /* @__PURE__ */ o(
2254
+ /* @__PURE__ */ o("div", { className: O.modalTitle, children: "Фильтры" }),
2255
+ /* @__PURE__ */ N("div", { className: O.tabSWitcherWrapper, children: [
2256
+ /* @__PURE__ */ o("div", { className: O.switcherTitle, children: "Готовность" }),
2257
+ /* @__PURE__ */ o("div", { className: O.switcherScroll, children: /* @__PURE__ */ o(
2258
2258
  ze,
2259
2259
  {
2260
2260
  variant: "grayRow",
2261
- addClassName: R.tabs,
2261
+ addClassName: O.tabs,
2262
2262
  isApart: !0,
2263
2263
  children: r == null ? void 0 : r.map((_, S) => {
2264
2264
  var W;
@@ -2287,11 +2287,11 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2287
2287
  }
2288
2288
  ) })
2289
2289
  ] }),
2290
- /* @__PURE__ */ o("div", { className: R.selectWrapper, children: t == null ? void 0 : t.map((_, S) => /* @__PURE__ */ o(
2290
+ /* @__PURE__ */ o("div", { className: O.selectWrapper, children: t == null ? void 0 : t.map((_, S) => /* @__PURE__ */ o(
2291
2291
  Ft,
2292
2292
  {
2293
2293
  sizeIcon: "24",
2294
- addClassName: R.filterOption,
2294
+ addClassName: O.filterOption,
2295
2295
  disabledOptions: [],
2296
2296
  clickableOptions: t == null ? void 0 : t.map((v) => v.value.toString()),
2297
2297
  selectedOptions: E,
@@ -2300,13 +2300,13 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2300
2300
  },
2301
2301
  S
2302
2302
  )) }),
2303
- /* @__PURE__ */ N("div", { className: R.btnWrapper, children: [
2303
+ /* @__PURE__ */ N("div", { className: O.btnWrapper, children: [
2304
2304
  /* @__PURE__ */ o(
2305
2305
  xe,
2306
2306
  {
2307
2307
  as: "button",
2308
2308
  variant: "gray",
2309
- additionalClass: R.resetBtn,
2309
+ additionalClass: O.resetBtn,
2310
2310
  onClick: Z,
2311
2311
  children: "Сбросить"
2312
2312
  }
@@ -2315,7 +2315,7 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2315
2315
  xe,
2316
2316
  {
2317
2317
  as: "button",
2318
- additionalClass: R.saveBtn,
2318
+ additionalClass: O.saveBtn,
2319
2319
  onClick: I,
2320
2320
  children: "Сохранить"
2321
2321
  }
@@ -2327,13 +2327,13 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2327
2327
  /* @__PURE__ */ N(
2328
2328
  "div",
2329
2329
  {
2330
- className: R.root,
2330
+ className: O.root,
2331
2331
  "data-testid": y,
2332
2332
  onClick: () => {
2333
2333
  w && w(), a && a(), b ? X((_) => !_) : H || X(!0);
2334
2334
  },
2335
2335
  children: [
2336
- /* @__PURE__ */ o("div", { className: R.btnName, children: C }),
2336
+ /* @__PURE__ */ o("div", { className: O.btnName, children: C }),
2337
2337
  /* @__PURE__ */ o(
2338
2338
  ge,
2339
2339
  {
@@ -2348,12 +2348,12 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2348
2348
  "div",
2349
2349
  {
2350
2350
  ref: L,
2351
- className: Ri(R.desktopWrapper, { [R.desktopWrapperOpen]: H }),
2351
+ className: Oi(O.desktopWrapper, { [O.desktopWrapperOpen]: H }),
2352
2352
  children: [
2353
2353
  /* @__PURE__ */ o(
2354
2354
  "div",
2355
2355
  {
2356
- className: R.closeBtn,
2356
+ className: O.closeBtn,
2357
2357
  onClick: () => {
2358
2358
  M();
2359
2359
  },
@@ -2366,14 +2366,14 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2366
2366
  )
2367
2367
  }
2368
2368
  ),
2369
- /* @__PURE__ */ o("div", { className: R.modalTitle, children: "Фильтры" }),
2370
- /* @__PURE__ */ N("div", { className: R.tabSWitcherWrapper, children: [
2371
- /* @__PURE__ */ o("div", { className: R.switcherTitle, children: "Готовность" }),
2372
- /* @__PURE__ */ o("div", { className: R.switcherScroll, children: /* @__PURE__ */ o(
2369
+ /* @__PURE__ */ o("div", { className: O.modalTitle, children: "Фильтры" }),
2370
+ /* @__PURE__ */ N("div", { className: O.tabSWitcherWrapper, children: [
2371
+ /* @__PURE__ */ o("div", { className: O.switcherTitle, children: "Готовность" }),
2372
+ /* @__PURE__ */ o("div", { className: O.switcherScroll, children: /* @__PURE__ */ o(
2373
2373
  ze,
2374
2374
  {
2375
2375
  variant: "grayRow",
2376
- addClassName: R.tabs,
2376
+ addClassName: O.tabs,
2377
2377
  isApart: !0,
2378
2378
  children: r == null ? void 0 : r.map((_, S) => {
2379
2379
  var W;
@@ -2394,7 +2394,7 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2394
2394
  );
2395
2395
  },
2396
2396
  index: S,
2397
- addItemClassName: R.tabSwitcher,
2397
+ addItemClassName: O.tabSwitcher,
2398
2398
  children: v
2399
2399
  },
2400
2400
  S
@@ -2403,12 +2403,12 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2403
2403
  }
2404
2404
  ) })
2405
2405
  ] }),
2406
- /* @__PURE__ */ o("div", { className: R.selectWrapper, children: t == null ? void 0 : t.map((_, S) => /* @__PURE__ */ o(
2406
+ /* @__PURE__ */ o("div", { className: O.selectWrapper, children: t == null ? void 0 : t.map((_, S) => /* @__PURE__ */ o(
2407
2407
  Ft,
2408
2408
  {
2409
2409
  sizeIcon: "24",
2410
2410
  dataTestId: `filterWIthSave_${S}_select`,
2411
- addClassName: R.filterOption,
2411
+ addClassName: O.filterOption,
2412
2412
  disabledOptions: [],
2413
2413
  clickableOptions: t == null ? void 0 : t.map((v) => v.value.toString()),
2414
2414
  selectedOptions: E,
@@ -2417,14 +2417,14 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2417
2417
  },
2418
2418
  S
2419
2419
  )) }),
2420
- /* @__PURE__ */ N("div", { className: R.btnWrapper, children: [
2420
+ /* @__PURE__ */ N("div", { className: O.btnWrapper, children: [
2421
2421
  /* @__PURE__ */ o(
2422
2422
  xe,
2423
2423
  {
2424
2424
  "data-testid": "filterWithSave_clear_btn",
2425
2425
  as: "button",
2426
2426
  variant: "gray",
2427
- additionalClass: R.resetBtn,
2427
+ additionalClass: O.resetBtn,
2428
2428
  onClick: Z,
2429
2429
  children: "Сбросить"
2430
2430
  }
@@ -2434,7 +2434,7 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2434
2434
  {
2435
2435
  "data-testid": "filterWithSave_save_btn",
2436
2436
  as: "button",
2437
- additionalClass: R.saveBtn,
2437
+ additionalClass: O.saveBtn,
2438
2438
  onClick: I,
2439
2439
  children: "Сохранить"
2440
2440
  }
@@ -2450,9 +2450,9 @@ const Mi = /* @__PURE__ */ tr(Di), ji = ({
2450
2450
  isOpen: H,
2451
2451
  emitIsOpen: X,
2452
2452
  isTransparentBack: !0,
2453
- additionalClassModalBody: R.modalAddBody,
2454
- additionalClass: R.filterWithSaveModal,
2455
- children: /* @__PURE__ */ o(O, {})
2453
+ additionalClassModalBody: O.modalAddBody,
2454
+ additionalClass: O.filterWithSaveModal,
2455
+ children: /* @__PURE__ */ o(j, {})
2456
2456
  }
2457
2457
  )
2458
2458
  ] });
@@ -2465,6 +2465,6 @@ export {
2465
2465
  ze as S,
2466
2466
  ws as a,
2467
2467
  ui as b,
2468
- ji as c,
2468
+ Ri as c,
2469
2469
  bs as u
2470
2470
  };