mayak-common-library 0.0.39 → 0.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -84,6 +84,7 @@ __export(src_exports, {
84
84
  RadioGroup: () => RadioGroup_default,
85
85
  RealtorCard: () => RealtorCard_default,
86
86
  RealtyCard: () => RealtyCard_default,
87
+ SearchInput: () => SearchInput_default,
87
88
  Select: () => Select_default,
88
89
  SelectPro: () => SelectPro_default,
89
90
  Slider: () => Slider_default,
@@ -645,6 +646,34 @@ var FromToInput = ({ label }) => {
645
646
  };
646
647
  var FromToInput_default = FromToInput;
647
648
 
649
+ // src/components/Input/SearchInput.tsx
650
+ var import_react_hook_form = require("react-hook-form");
651
+ var import_material12 = require("@mui/material");
652
+ var import_jsx_runtime21 = require("react/jsx-runtime");
653
+ var SearchInput = (props) => {
654
+ const { collapse } = props;
655
+ const { field } = (0, import_react_hook_form.useController)(props);
656
+ const handleSearchInputClick = (event) => {
657
+ if (props.onClick) {
658
+ props.onClick(event);
659
+ }
660
+ };
661
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
662
+ import_material12.Input,
663
+ __spreadProps(__spreadValues({
664
+ autoComplete: "off"
665
+ }, field), {
666
+ onClick: handleSearchInputClick,
667
+ startAdornment: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_material12.Stack, { direction: "row", alignItems: "center", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_material12.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(search_default, {}) }) }),
668
+ disableUnderline: true,
669
+ placeholder: "\u041F\u043E\u0448\u0443\u043A \u043F\u043E \u0440\u0430\u0439\u043E\u043D\u0443, \u0432\u0443\u043B\u0438\u0446\u0456, \u0416\u041A",
670
+ className: `w-full border rounded-none border-solid normal-case text-accent-dark hover:bg-white gap-x-2 px-5 !py-2
671
+ ${collapse ? "bg-white border-transparent" : " border-accent-beige"} `
672
+ })
673
+ );
674
+ };
675
+ var SearchInput_default = SearchInput;
676
+
648
677
  // src/theme/index.tsx
649
678
  var import_react4 = require("react");
650
679
  var import_cache = __toESM(require("@emotion/cache"));
@@ -693,7 +722,7 @@ var _theme = {
693
722
  };
694
723
 
695
724
  // src/theme/index.tsx
696
- var import_jsx_runtime21 = require("react/jsx-runtime");
725
+ var import_jsx_runtime22 = require("react/jsx-runtime");
697
726
  var theme = (0, import_createTheme.default)(__spreadValues({}, _theme));
698
727
  function ThemeRegistry(props) {
699
728
  const { children } = props;
@@ -726,7 +755,7 @@ function ThemeRegistry(props) {
726
755
  for (const name of names) {
727
756
  styles += cache.inserted[name];
728
757
  }
729
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
758
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
730
759
  "style",
731
760
  {
732
761
  "data-emotion": `${cache.key} ${names.join(" ")}`,
@@ -737,31 +766,31 @@ function ThemeRegistry(props) {
737
766
  cache.key
738
767
  );
739
768
  });
740
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react5.CacheProvider, { value: cache, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_ThemeProvider.default, { theme, children: [
741
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_CssBaseline.default, {}),
769
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react5.CacheProvider, { value: cache, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_ThemeProvider.default, { theme, children: [
770
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_CssBaseline.default, {}),
742
771
  children
743
772
  ] }) });
744
773
  }
745
774
 
746
775
  // src/providers/Providers.tsx
747
- var import_jsx_runtime22 = require("react/jsx-runtime");
776
+ var import_jsx_runtime23 = require("react/jsx-runtime");
748
777
  var Providers = ({ children }) => {
749
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ThemeRegistry, { children });
778
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ThemeRegistry, { children });
750
779
  };
751
780
  var Providers_default = Providers;
752
781
 
753
782
  // src/components/AppBar/AppBar.tsx
754
783
  var import_react6 = require("react");
755
- var import_material12 = require("@mui/material");
784
+ var import_material13 = require("@mui/material");
756
785
  var import_link = __toESM(require("next/link"));
757
- var import_jsx_runtime23 = require("react/jsx-runtime");
786
+ var import_jsx_runtime24 = require("react/jsx-runtime");
758
787
  var AppBar = ({ links }) => {
759
788
  const [activeIndex, setActiveIndex] = (0, import_react6.useState)(0);
760
789
  const navItemsRef = (0, import_react6.useRef)([]);
761
790
  const handleClick = (index) => {
762
791
  setActiveIndex(index);
763
792
  };
764
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_material12.Stack, { direction: "row", spacing: 1, position: "relative", children: links.map((link, index) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
793
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_material13.Stack, { direction: "row", spacing: 1, position: "relative", children: links.map((link, index) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
765
794
  import_link.default,
766
795
  {
767
796
  ref: (el) => {
@@ -778,9 +807,9 @@ var AppBar = ({ links }) => {
778
807
  var AppBar_default = AppBar;
779
808
 
780
809
  // src/components/Image/ImageContainer.tsx
781
- var import_material13 = require("@mui/material");
810
+ var import_material14 = require("@mui/material");
782
811
  var import_image = __toESM(require("next/image"));
783
- var import_jsx_runtime24 = require("react/jsx-runtime");
812
+ var import_jsx_runtime25 = require("react/jsx-runtime");
784
813
  var ImageContainer = (props) => {
785
814
  const {
786
815
  src,
@@ -794,11 +823,11 @@ var ImageContainer = (props) => {
794
823
  classesWrapper,
795
824
  classesImg
796
825
  } = props;
797
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
798
- import_material13.Box,
826
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
827
+ import_material14.Box,
799
828
  {
800
829
  className: `relative ${width} ${height}${classesWrapper ? " " + classesWrapper : ""}`,
801
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
830
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
802
831
  import_image.default,
803
832
  {
804
833
  className: `${objectFit} object-center${classesImg ? " " + classesImg : ""}`,
@@ -817,33 +846,33 @@ var ImageContainer_default = ImageContainer;
817
846
 
818
847
  // src/icons/map-search.svg
819
848
  var React4 = __toESM(require("react"));
820
- var import_jsx_runtime25 = require("react/jsx-runtime");
821
- var SvgMapSearch = (props) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("svg", __spreadProps(__spreadValues({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("path", { d: "M11 18L9 17M9 17L3 20V7L9 4M9 17V4M9 4L15 7M15 7L21 4V11.5M15 7V12M20.1992 20.1992L21.9992 21.9992M15 18C15 18.7956 15.3161 19.5587 15.8787 20.1213C16.4413 20.6839 17.2044 21 18 21C18.7956 21 19.5587 20.6839 20.1213 20.1213C20.6839 19.5587 21 18.7956 21 18C21 17.2044 20.6839 16.4413 20.1213 15.8787C19.5587 15.3161 18.7956 15 18 15C17.2044 15 16.4413 15.3161 15.8787 15.8787C15.3161 16.4413 15 17.2044 15 18Z", stroke: "#343434", className: "stroke-current", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }) }));
849
+ var import_jsx_runtime26 = require("react/jsx-runtime");
850
+ var SvgMapSearch = (props) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("svg", __spreadProps(__spreadValues({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("path", { d: "M11 18L9 17M9 17L3 20V7L9 4M9 17V4M9 4L15 7M15 7L21 4V11.5M15 7V12M20.1992 20.1992L21.9992 21.9992M15 18C15 18.7956 15.3161 19.5587 15.8787 20.1213C16.4413 20.6839 17.2044 21 18 21C18.7956 21 19.5587 20.6839 20.1213 20.1213C20.6839 19.5587 21 18.7956 21 18C21 17.2044 20.6839 16.4413 20.1213 15.8787C19.5587 15.3161 18.7956 15 18 15C17.2044 15 16.4413 15.3161 15.8787 15.8787C15.3161 16.4413 15 17.2044 15 18Z", stroke: "#343434", className: "stroke-current", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }) }));
822
851
  var map_search_default = SvgMapSearch;
823
852
 
824
853
  // src/components/Card/CategoryCard.tsx
825
- var import_material14 = require("@mui/material");
854
+ var import_material15 = require("@mui/material");
826
855
  var import_link2 = __toESM(require("next/link"));
827
856
 
828
857
  // src/lib/assets.ts
829
858
  var NO_IMAGE = "/images/no-photo.svg";
830
859
 
831
860
  // src/components/Card/CategoryCard.tsx
832
- var import_jsx_runtime26 = require("react/jsx-runtime");
861
+ var import_jsx_runtime27 = require("react/jsx-runtime");
833
862
  var CategoryCard = (props) => {
834
863
  const { link, text, title, image_url = NO_IMAGE } = props;
835
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_link2.default, { href: link, className: "group/card", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material14.Box, { className: "flex flex-col gap-[20px]", children: [
836
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ImageContainer_default, { src: image_url, alt: title, height: "h-[300px]" }),
837
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material14.Box, { className: "flex flex-col px-[16px]", children: [
838
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
839
- import_material14.Typography,
864
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_link2.default, { href: link, className: "group/card", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material15.Box, { className: "flex flex-col gap-[20px]", children: [
865
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ImageContainer_default, { src: image_url, alt: title, height: "h-[300px]" }),
866
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material15.Box, { className: "flex flex-col px-[16px]", children: [
867
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
868
+ import_material15.Typography,
840
869
  {
841
870
  component: "span",
842
871
  className: "font-extrabold text-16 group-hover/card:text-gold2",
843
872
  children: title
844
873
  }
845
874
  ),
846
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material14.Typography, { component: "span", className: "group-hover/card:text-gold2", children: text })
875
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material15.Typography, { component: "span", className: "group-hover/card:text-gold2", children: text })
847
876
  ] })
848
877
  ] }) });
849
878
  };
@@ -851,18 +880,18 @@ var CategoryCard_default = CategoryCard;
851
880
 
852
881
  // src/components/Card/ArticleCard.tsx
853
882
  var import_link3 = __toESM(require("next/link"));
854
- var import_material15 = require("@mui/material");
883
+ var import_material16 = require("@mui/material");
855
884
  var import_Typography5 = __toESM(require("@mui/material/Typography"));
856
- var import_jsx_runtime27 = require("react/jsx-runtime");
885
+ var import_jsx_runtime28 = require("react/jsx-runtime");
857
886
  var ArticleCard = (props) => {
858
887
  const { imageUrl = NO_IMAGE, classes, title, text, href } = props;
859
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
888
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
860
889
  import_link3.default,
861
890
  {
862
891
  href,
863
892
  className: `group/card bg-gray-light${classes ? " " + classes : ""}`,
864
893
  children: [
865
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
894
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
866
895
  ImageContainer_default,
867
896
  {
868
897
  src: imageUrl,
@@ -871,8 +900,8 @@ var ArticleCard = (props) => {
871
900
  height: "h-[220px]"
872
901
  }
873
902
  ),
874
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material15.Box, { className: "pt-[24px] pl-[16px] pr-[50px] pb-[10px] flex flex-col gap-[6px]", children: [
875
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
903
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_material16.Box, { className: "pt-[24px] pl-[16px] pr-[50px] pb-[10px] flex flex-col gap-[6px]", children: [
904
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
876
905
  import_Typography5.default,
877
906
  {
878
907
  component: "span",
@@ -880,7 +909,7 @@ var ArticleCard = (props) => {
880
909
  children: title
881
910
  }
882
911
  ),
883
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
912
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
884
913
  import_Typography5.default,
885
914
  {
886
915
  component: "span",
@@ -896,34 +925,34 @@ var ArticleCard = (props) => {
896
925
  var ArticleCard_default = ArticleCard;
897
926
 
898
927
  // src/components/Card/JobCard.tsx
899
- var import_jsx_runtime28 = require("react/jsx-runtime");
928
+ var import_jsx_runtime29 = require("react/jsx-runtime");
900
929
  var JobCard = () => {
901
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_jsx_runtime28.Fragment, {});
930
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, {});
902
931
  };
903
932
  var JobCard_default = JobCard;
904
933
 
905
934
  // src/components/Card/RealtorCard.tsx
906
- var import_jsx_runtime29 = require("react/jsx-runtime");
935
+ var import_jsx_runtime30 = require("react/jsx-runtime");
907
936
  var RealtorCard = () => {
908
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, {});
937
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_jsx_runtime30.Fragment, {});
909
938
  };
910
939
  var RealtorCard_default = RealtorCard;
911
940
 
912
941
  // src/components/Card/RealtyCard.tsx
913
- var import_material16 = require("@mui/material");
942
+ var import_material17 = require("@mui/material");
914
943
  var import_link4 = __toESM(require("next/link"));
915
944
 
916
945
  // src/icons/metro.svg
917
946
  var React5 = __toESM(require("react"));
918
- var import_jsx_runtime30 = require("react/jsx-runtime");
919
- var SvgMetro = (props) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("svg", __spreadProps(__spreadValues({ width: 12, height: 10, viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("path", { d: "M3.23128 0L0 9.41H2.99687L4.12109 6.14551L6.00093 10L7.87891 6.14551L9.0068 9.41H12L8.76874 0L6.00093 4.83041L3.23128 0Z", fill: "#757575" }) }));
947
+ var import_jsx_runtime31 = require("react/jsx-runtime");
948
+ var SvgMetro = (props) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("svg", __spreadProps(__spreadValues({ width: 12, height: 10, viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { d: "M3.23128 0L0 9.41H2.99687L4.12109 6.14551L6.00093 10L7.87891 6.14551L9.0068 9.41H12L8.76874 0L6.00093 4.83041L3.23128 0Z", fill: "#757575" }) }));
920
949
  var metro_default = SvgMetro;
921
950
 
922
951
  // src/components/Card/RealtyCard.tsx
923
- var import_jsx_runtime31 = require("react/jsx-runtime");
952
+ var import_jsx_runtime32 = require("react/jsx-runtime");
924
953
  var RealtyCard = () => {
925
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_link4.default, { href: "/", className: "relative", children: [
926
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
954
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_link4.default, { href: "/", className: "relative", children: [
955
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
927
956
  ImageContainer_default,
928
957
  {
929
958
  src: "/images/test.png",
@@ -932,20 +961,20 @@ var RealtyCard = () => {
932
961
  contentful: false
933
962
  }
934
963
  ),
935
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_material16.Box, { className: "bg-white py-[20px] px-[16px] flex flex-col gap-[6px]", children: [
936
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_material16.Typography, { component: "span", className: "text-14", children: [
937
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material16.Typography, { component: "span", className: "font-extrabold", children: "120 000 \u20B4" }),
964
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_material17.Box, { className: "bg-white py-[20px] px-[16px] flex flex-col gap-[6px]", children: [
965
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_material17.Typography, { component: "span", className: "text-14", children: [
966
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material17.Typography, { component: "span", className: "font-extrabold", children: "120 000 \u20B4" }),
938
967
  "/\u043C\u0456\u0441\u044F\u0446\u044C"
939
968
  ] }),
940
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material16.Typography, { component: "span", className: "font-extrabold", children: "\u0432\u0443\u043B. \u0414\u0440\u0430\u0433\u043E\u043C\u0438\u0440\u043E\u0432\u0430 25" }),
941
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_material16.Box, { className: "flex items-center gap-[10px]", children: [
942
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material16.Typography, { component: "span", className: "text-12", children: "\u041F\u0435\u0447\u0435\u0440\u0441\u044C\u043A\u0438\u0439 \u0440-\u043D" }),
943
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Chip_default, { icon: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(metro_default, {}), view: "silver", label: "\u041B\u0438\u0431\u0456\u0434\u0441\u044C\u043A\u0430" })
969
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material17.Typography, { component: "span", className: "font-extrabold", children: "\u0432\u0443\u043B. \u0414\u0440\u0430\u0433\u043E\u043C\u0438\u0440\u043E\u0432\u0430 25" }),
970
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_material17.Box, { className: "flex items-center gap-[10px]", children: [
971
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material17.Typography, { component: "span", className: "text-12", children: "\u041F\u0435\u0447\u0435\u0440\u0441\u044C\u043A\u0438\u0439 \u0440-\u043D" }),
972
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Chip_default, { icon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(metro_default, {}), view: "silver", label: "\u041B\u0438\u0431\u0456\u0434\u0441\u044C\u043A\u0430" })
944
973
  ] }),
945
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_material16.Box, { className: "flex flex-wrap gap-[6px] mt-[6px]", children: [
946
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Chip_default, { view: "line", label: "2 \u043A\u0456\u043C\u043D" }),
947
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Chip_default, { view: "line", label: "60 \u043C\xB2" }),
948
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Chip_default, { view: "line", label: "\u043F\u043E\u0432\u0435\u0440\u0445: 3/24" })
974
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_material17.Box, { className: "flex flex-wrap gap-[6px] mt-[6px]", children: [
975
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Chip_default, { view: "line", label: "2 \u043A\u0456\u043C\u043D" }),
976
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Chip_default, { view: "line", label: "60 \u043C\xB2" }),
977
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Chip_default, { view: "line", label: "\u043F\u043E\u0432\u0435\u0440\u0445: 3/24" })
949
978
  ] })
950
979
  ] })
951
980
  ] });
@@ -953,13 +982,13 @@ var RealtyCard = () => {
953
982
  var RealtyCard_default = RealtyCard;
954
983
 
955
984
  // src/components/Card/TeamPersonCard.tsx
956
- var import_material17 = require("@mui/material");
957
- var import_jsx_runtime32 = require("react/jsx-runtime");
985
+ var import_material18 = require("@mui/material");
986
+ var import_jsx_runtime33 = require("react/jsx-runtime");
958
987
  var TeamPersonCard = (props) => {
959
988
  const { image_url = NO_IMAGE, name, position, text } = props;
960
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_material17.Box, { className: "group/card", children: [
961
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_material17.Box, { className: "relative h-[300px]", children: [
962
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material17.Box, { className: "w-full h-full bg-gray-medium group-hover/card:brightness-[50%]", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
989
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_material18.Box, { className: "group/card", children: [
990
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_material18.Box, { className: "relative h-[300px]", children: [
991
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material18.Box, { className: "w-full h-full bg-gray-medium group-hover/card:brightness-[50%]", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
963
992
  ImageContainer_default,
964
993
  {
965
994
  contentful: false,
@@ -968,11 +997,11 @@ var TeamPersonCard = (props) => {
968
997
  objectFit: "object-contain"
969
998
  }
970
999
  ) }),
971
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_material17.Box, { className: "hidden absolute top-[110px] left-[30px] right-[30px] group-hover/card:flex flex-col text-white", children: [
972
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material17.Typography, { component: "span", className: "text-16 font-extrabold", children: position }),
973
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material17.Typography, { component: "span", className: "mt-[4px]", children: name }),
974
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
975
- import_material17.Typography,
1000
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_material18.Box, { className: "hidden absolute top-[110px] left-[30px] right-[30px] group-hover/card:flex flex-col text-white", children: [
1001
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material18.Typography, { component: "span", className: "text-16 font-extrabold", children: position }),
1002
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material18.Typography, { component: "span", className: "mt-[4px]", children: name }),
1003
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1004
+ import_material18.Typography,
976
1005
  {
977
1006
  component: "span",
978
1007
  className: "mt-[11px] text-12 !leading-[16px]",
@@ -981,9 +1010,9 @@ var TeamPersonCard = (props) => {
981
1010
  )
982
1011
  ] })
983
1012
  ] }),
984
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_material17.Box, { className: "mt-[20px] text-center mx-auto flex flex-col w-10/12", children: [
985
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material17.Typography, { component: "span", className: "text-16 font-extrabold", children: position }),
986
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material17.Typography, { component: "span", className: "text-gray", children: name })
1013
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_material18.Box, { className: "mt-[20px] text-center mx-auto flex flex-col w-10/12", children: [
1014
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material18.Typography, { component: "span", className: "text-16 font-extrabold", children: position }),
1015
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material18.Typography, { component: "span", className: "text-gray", children: name })
987
1016
  ] })
988
1017
  ] });
989
1018
  };
@@ -991,9 +1020,9 @@ var TeamPersonCard_default = TeamPersonCard;
991
1020
 
992
1021
  // src/components/Autocomplete/Autocomplete.tsx
993
1022
  var import_react7 = require("react");
994
- var import_material18 = require("@mui/material");
995
- var import_react_hook_form = require("react-hook-form");
996
- var import_jsx_runtime33 = require("react/jsx-runtime");
1023
+ var import_material19 = require("@mui/material");
1024
+ var import_react_hook_form2 = require("react-hook-form");
1025
+ var import_jsx_runtime34 = require("react/jsx-runtime");
997
1026
  var RenderInputAutocomplete = (_a) => {
998
1027
  var _b = _a, {
999
1028
  InputProps: InputProps2,
@@ -1002,14 +1031,14 @@ var RenderInputAutocomplete = (_a) => {
1002
1031
  "InputProps",
1003
1032
  "InputLabelProps"
1004
1033
  ]);
1005
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material18.Box, { ref: InputProps2.ref, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1006
- import_material18.Input,
1034
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material19.Box, { ref: InputProps2.ref, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1035
+ import_material19.Input,
1007
1036
  __spreadProps(__spreadValues(__spreadValues({}, InputProps2), other), {
1008
- startAdornment: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_material18.Stack, { direction: "row", alignItems: "center", children: [
1009
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material18.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(search_default, {}) }),
1037
+ startAdornment: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_material19.Stack, { direction: "row", alignItems: "center", children: [
1038
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material19.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(search_default, {}) }),
1010
1039
  InputProps2.startAdornment
1011
1040
  ] }),
1012
- endAdornment: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, {}),
1041
+ endAdornment: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_jsx_runtime34.Fragment, {}),
1013
1042
  ref: InputProps2.ref,
1014
1043
  disableUnderline: true,
1015
1044
  placeholder: "\u041F\u043E\u0448\u0443\u043A \u043F\u043E \u0440\u0430\u0439\u043E\u043D\u0443, \u0432\u0443\u043B\u0438\u0446\u0456, \u0416\u041A",
@@ -1025,7 +1054,7 @@ var RenderInputAutocomplete = (_a) => {
1025
1054
  ) });
1026
1055
  };
1027
1056
  var CustomPaperComponent = (props) => {
1028
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material18.Paper, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { children: [
1057
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material19.Paper, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { children: [
1029
1058
  "helllooo",
1030
1059
  props.children
1031
1060
  ] }, "click-away-wrapper") }));
@@ -1034,7 +1063,7 @@ var Autocomplete = (props) => {
1034
1063
  const { values } = props;
1035
1064
  const [open, setOpen] = (0, import_react7.useState)(false);
1036
1065
  const [anchorEl, setAnchorEl] = (0, import_react7.useState)(null);
1037
- const { field } = (0, import_react_hook_form.useController)(props);
1066
+ const { field } = (0, import_react_hook_form2.useController)(props);
1038
1067
  const handleClick = (event) => {
1039
1068
  if (open)
1040
1069
  setTimeout(() => {
@@ -1043,8 +1072,8 @@ var Autocomplete = (props) => {
1043
1072
  else setAnchorEl(event.currentTarget);
1044
1073
  setOpen(!open);
1045
1074
  };
1046
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1047
- import_material18.Autocomplete,
1075
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1076
+ import_material19.Autocomplete,
1048
1077
  {
1049
1078
  multiple: true,
1050
1079
  ref: anchorEl,
@@ -1059,12 +1088,12 @@ var Autocomplete = (props) => {
1059
1088
  PaperComponent: CustomPaperComponent,
1060
1089
  renderTags: (value, getTagProps) => value.map((option, index) => {
1061
1090
  const _a = getTagProps({ index }), { key } = _a, tagProps = __objRest(_a, ["key"]);
1062
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1063
- import_material18.Chip,
1091
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1092
+ import_material19.Chip,
1064
1093
  __spreadProps(__spreadValues({
1065
1094
  label: option
1066
1095
  }, tagProps), {
1067
- deleteIcon: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(IconButton_default, { className: "rounded-none bg-accent-silver p-1", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(close_default, {}) }),
1096
+ deleteIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(IconButton_default, { className: "rounded-none bg-accent-silver p-1", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(close_default, {}) }),
1068
1097
  className: "rounded-none w-fit h-fit bg-transparent p-0"
1069
1098
  }),
1070
1099
  key
@@ -1076,7 +1105,7 @@ var Autocomplete = (props) => {
1076
1105
  className: `select ${open ? "select--open" : "select--close"} z-50 rounded-none shadow-sm`
1077
1106
  }
1078
1107
  },
1079
- renderInput: (params) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1108
+ renderInput: (params) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1080
1109
  RenderInputAutocomplete,
1081
1110
  __spreadValues({}, params)
1082
1111
  )
@@ -1086,7 +1115,7 @@ var Autocomplete = (props) => {
1086
1115
  var Autocomplete_default = Autocomplete;
1087
1116
 
1088
1117
  // src/components/BigNumber/BigNumber.tsx
1089
- var import_material19 = require("@mui/material");
1118
+ var import_material20 = require("@mui/material");
1090
1119
 
1091
1120
  // src/utils/thousandFormatter.ts
1092
1121
  var thousandFormatter = (num) => {
@@ -1095,39 +1124,39 @@ var thousandFormatter = (num) => {
1095
1124
  var thousandFormatter_default = thousandFormatter;
1096
1125
 
1097
1126
  // src/components/BigNumber/BigNumber.tsx
1098
- var import_jsx_runtime34 = require("react/jsx-runtime");
1127
+ var import_jsx_runtime35 = require("react/jsx-runtime");
1099
1128
  var BigNumber = (props) => {
1100
1129
  const { text, number } = props;
1101
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_material19.Box, { className: "flex flex-col", children: [
1102
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1103
- import_material19.Typography,
1130
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_material20.Box, { className: "flex flex-col", children: [
1131
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1132
+ import_material20.Typography,
1104
1133
  {
1105
1134
  component: "span",
1106
1135
  className: "text-gold text-100 font-extrabold",
1107
1136
  children: thousandFormatter_default(number)
1108
1137
  }
1109
1138
  ),
1110
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material19.Typography, { component: "span", className: "text-base text-gray mt-[-20px]", children: text })
1139
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_material20.Typography, { component: "span", className: "text-base text-gray mt-[-20px]", children: text })
1111
1140
  ] });
1112
1141
  };
1113
1142
  var BigNumber_default = BigNumber;
1114
1143
 
1115
1144
  // src/blocks/TextBlock.tsx
1116
- var import_material20 = require("@mui/material");
1117
- var import_jsx_runtime35 = require("react/jsx-runtime");
1145
+ var import_material21 = require("@mui/material");
1146
+ var import_jsx_runtime36 = require("react/jsx-runtime");
1118
1147
  var TextBlock = ({ classes, text, title }) => {
1119
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_material20.Box, { className: `mt-[80px]${classes ? " " + classes : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_material20.Container, { maxWidth: CONTAINER_WIDTH, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_material20.Box, { className: "flex flex-col items-center gap-[16px] text-center max-w-[950px] w-full mx-auto", children: [
1120
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_material20.Typography, { component: "span", className: "text-32", children: title }),
1121
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_material20.Typography, { component: "span", className: "text-gray text-14", children: text })
1148
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material21.Box, { className: `mt-[80px]${classes ? " " + classes : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material21.Container, { maxWidth: CONTAINER_WIDTH, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_material21.Box, { className: "flex flex-col items-center gap-[16px] text-center max-w-[950px] w-full mx-auto", children: [
1149
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material21.Typography, { component: "span", className: "text-32", children: title }),
1150
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material21.Typography, { component: "span", className: "text-gray text-14", children: text })
1122
1151
  ] }) }) });
1123
1152
  };
1124
1153
  var TextBlock_default = TextBlock;
1125
1154
 
1126
1155
  // src/blocks/TitleBlock.tsx
1127
1156
  var import_Typography6 = __toESM(require("@mui/material/Typography"));
1128
- var import_jsx_runtime36 = require("react/jsx-runtime");
1157
+ var import_jsx_runtime37 = require("react/jsx-runtime");
1129
1158
  var TitleBlock = ({ titlePosition, title, classes }) => {
1130
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1159
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1131
1160
  import_Typography6.default,
1132
1161
  {
1133
1162
  component: "span",
@@ -1139,60 +1168,60 @@ var TitleBlock = ({ titlePosition, title, classes }) => {
1139
1168
  var TitleBlock_default = TitleBlock;
1140
1169
 
1141
1170
  // src/blocks/TeamWorkerBlock.tsx
1142
- var import_material21 = require("@mui/material");
1171
+ var import_material22 = require("@mui/material");
1143
1172
 
1144
1173
  // src/icons/qoutes.svg
1145
1174
  var React6 = __toESM(require("react"));
1146
- var import_jsx_runtime37 = require("react/jsx-runtime");
1175
+ var import_jsx_runtime38 = require("react/jsx-runtime");
1147
1176
 
1148
1177
  // src/blocks/TeamWorkerBlock.tsx
1149
1178
  var import_link5 = __toESM(require("next/link"));
1150
- var import_jsx_runtime38 = require("react/jsx-runtime");
1179
+ var import_jsx_runtime39 = require("react/jsx-runtime");
1151
1180
 
1152
1181
  // src/blocks/AnyLevelBlock.tsx
1153
- var import_material22 = require("@mui/material");
1154
- var import_jsx_runtime39 = require("react/jsx-runtime");
1182
+ var import_material23 = require("@mui/material");
1183
+ var import_jsx_runtime40 = require("react/jsx-runtime");
1155
1184
 
1156
1185
  // src/blocks/RichTextBlock.tsx
1157
- var import_material23 = require("@mui/material");
1186
+ var import_material24 = require("@mui/material");
1158
1187
  var import_rich_text_react_renderer = require("@contentful/rich-text-react-renderer");
1159
- var import_jsx_runtime40 = require("react/jsx-runtime");
1188
+ var import_jsx_runtime41 = require("react/jsx-runtime");
1160
1189
 
1161
1190
  // src/blocks/ArticleContentBlock.tsx
1162
- var import_material24 = require("@mui/material");
1191
+ var import_material25 = require("@mui/material");
1163
1192
 
1164
1193
  // src/utils/formatDate.ts
1165
1194
  var import_date_fns = require("date-fns");
1166
1195
 
1167
1196
  // src/blocks/ArticleContentBlock.tsx
1168
- var import_jsx_runtime41 = require("react/jsx-runtime");
1197
+ var import_jsx_runtime42 = require("react/jsx-runtime");
1169
1198
 
1170
1199
  // src/components/List/List.tsx
1171
- var import_material25 = require("@mui/material");
1172
- var import_jsx_runtime42 = require("react/jsx-runtime");
1200
+ var import_material26 = require("@mui/material");
1201
+ var import_jsx_runtime43 = require("react/jsx-runtime");
1173
1202
  var List = (props) => {
1174
1203
  const { children } = props;
1175
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material25.List, __spreadProps(__spreadValues({ disablePadding: true }, props), { children }));
1204
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_material26.List, __spreadProps(__spreadValues({ disablePadding: true }, props), { children }));
1176
1205
  };
1177
1206
  var List_default = List;
1178
1207
 
1179
1208
  // src/components/List/ListItem.tsx
1180
- var import_material26 = require("@mui/material");
1209
+ var import_material27 = require("@mui/material");
1181
1210
  var import_ListItemButton = __toESM(require("@mui/material/ListItemButton"));
1182
1211
  var import_ListItemIcon = __toESM(require("@mui/material/ListItemIcon"));
1183
1212
  var import_ListItemText = __toESM(require("@mui/material/ListItemText"));
1184
1213
  var import_Typography7 = __toESM(require("@mui/material/Typography"));
1185
- var import_jsx_runtime43 = require("react/jsx-runtime");
1214
+ var import_jsx_runtime44 = require("react/jsx-runtime");
1186
1215
  var ListItem = ({ icon, title, bold, onClick }) => {
1187
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_material26.ListItem, { disablePadding: true, disableGutters: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
1216
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_material27.ListItem, { disablePadding: true, disableGutters: true, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
1188
1217
  import_ListItemButton.default,
1189
1218
  {
1190
1219
  sx: { padding: 0, "&:hover": { backgroundColor: "unset" } },
1191
1220
  onClick: () => onClick && onClick(title),
1192
1221
  disableRipple: true,
1193
1222
  children: [
1194
- icon ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_ListItemIcon.default, { sx: { minWidth: "24px" }, children: icon }) : null,
1195
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_ListItemText.default, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1223
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_ListItemIcon.default, { sx: { minWidth: "24px" }, children: icon }) : null,
1224
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_ListItemText.default, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1196
1225
  import_Typography7.default,
1197
1226
  {
1198
1227
  className: `text-xs ${bold ? "font-extrabold" : "font-normal"}`,
@@ -1206,27 +1235,27 @@ var ListItem = ({ icon, title, bold, onClick }) => {
1206
1235
  var ListItem_default = ListItem;
1207
1236
 
1208
1237
  // src/components/ToggleButton/ToggleButtonsWithLabel.tsx
1209
- var import_material29 = require("@mui/material");
1210
- var import_react_hook_form2 = require("react-hook-form");
1238
+ var import_material30 = require("@mui/material");
1239
+ var import_react_hook_form3 = require("react-hook-form");
1211
1240
  var import_Typography8 = __toESM(require("@mui/material/Typography"));
1212
1241
 
1213
1242
  // src/components/ToggleButton/ToggleButtonGroup.tsx
1214
- var import_material27 = require("@mui/material");
1215
- var import_jsx_runtime44 = require("react/jsx-runtime");
1216
- var StyledToggleButtonGroup = (0, import_material27.styled)(
1217
- import_material27.ToggleButtonGroup
1243
+ var import_material28 = require("@mui/material");
1244
+ var import_jsx_runtime45 = require("react/jsx-runtime");
1245
+ var StyledToggleButtonGroup = (0, import_material28.styled)(
1246
+ import_material28.ToggleButtonGroup
1218
1247
  )(({ theme: theme2, flexDirection }) => ({
1219
1248
  marginBottom: theme2.spacing(-1),
1220
- [`& .${import_material27.toggleButtonGroupClasses.grouped}`]: {
1249
+ [`& .${import_material28.toggleButtonGroupClasses.grouped}`]: {
1221
1250
  marginRight: flexDirection === "col" ? "unset" : theme2.spacing(1),
1222
1251
  marginBottom: theme2.spacing(1),
1223
1252
  //flexDirection === "col" ? theme.spacing(1) : "unset",
1224
1253
  width: "fit-content"
1225
1254
  },
1226
- [`& .${import_material27.toggleButtonGroupClasses.lastButton}`]: {
1255
+ [`& .${import_material28.toggleButtonGroupClasses.lastButton}`]: {
1227
1256
  marginRight: "unset"
1228
1257
  },
1229
- [`& .${import_material27.toggleButtonGroupClasses.middleButton},& .${import_material27.toggleButtonGroupClasses.lastButton}`]: {
1258
+ [`& .${import_material28.toggleButtonGroupClasses.middleButton},& .${import_material28.toggleButtonGroupClasses.lastButton}`]: {
1230
1259
  marginLeft: "unset",
1231
1260
  borderLeft: "unset"
1232
1261
  }
@@ -1240,7 +1269,7 @@ var ToggleButtonGroup = (props) => {
1240
1269
  onChange,
1241
1270
  value
1242
1271
  } = props;
1243
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1272
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
1244
1273
  StyledToggleButtonGroup,
1245
1274
  __spreadProps(__spreadValues({}, props), {
1246
1275
  flexDirection,
@@ -1256,17 +1285,17 @@ var ToggleButtonGroup = (props) => {
1256
1285
  var ToggleButtonGroup_default = ToggleButtonGroup;
1257
1286
 
1258
1287
  // src/components/ToggleButton/ToggleButton.tsx
1259
- var import_material28 = require("@mui/material");
1288
+ var import_material29 = require("@mui/material");
1260
1289
  var import_ToggleButton = __toESM(require("@mui/material/ToggleButton"));
1261
- var import_jsx_runtime45 = require("react/jsx-runtime");
1262
- var CustomToggleButton = (0, import_material28.styled)(import_ToggleButton.default)(() => ({
1290
+ var import_jsx_runtime46 = require("react/jsx-runtime");
1291
+ var CustomToggleButton = (0, import_material29.styled)(import_ToggleButton.default)(() => ({
1263
1292
  "&.Mui-selected, &.Mui-selected:hover": {
1264
1293
  backgroundColor: "#C8BCA1 !important"
1265
1294
  }
1266
1295
  }));
1267
1296
  var ToggleButton = (props) => {
1268
1297
  const _a = props, { children, textView } = _a, rest = __objRest(_a, ["children", "textView"]);
1269
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
1298
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
1270
1299
  CustomToggleButton,
1271
1300
  __spreadProps(__spreadValues({}, rest), {
1272
1301
  disableRipple: true,
@@ -1278,7 +1307,7 @@ var ToggleButton = (props) => {
1278
1307
  var ToggleButton_default = ToggleButton;
1279
1308
 
1280
1309
  // src/components/ToggleButton/ToggleButtonsWithLabel.tsx
1281
- var import_jsx_runtime46 = require("react/jsx-runtime");
1310
+ var import_jsx_runtime47 = require("react/jsx-runtime");
1282
1311
  var ToggleButtonsWithLabel = (props) => {
1283
1312
  const {
1284
1313
  values,
@@ -1289,15 +1318,15 @@ var ToggleButtonsWithLabel = (props) => {
1289
1318
  collapseParent,
1290
1319
  flexDirection = "row"
1291
1320
  } = props;
1292
- const { field } = (0, import_react_hook_form2.useController)(props);
1321
+ const { field } = (0, import_react_hook_form3.useController)(props);
1293
1322
  const handleFormat = (_event, newFormats) => {
1294
1323
  console.log(newFormats);
1295
1324
  if (newFormats !== null) field.onChange(newFormats);
1296
1325
  if (collapseOnClick && collapseParent) collapseParent();
1297
1326
  };
1298
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_material29.Stack, { children: [
1299
- label ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_Typography8.default, { className: "text-accent-silver-2 text-sm", children: label }) : null,
1300
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
1327
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_material30.Stack, { children: [
1328
+ label ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_Typography8.default, { className: "text-accent-silver-2 text-sm", children: label }) : null,
1329
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
1301
1330
  ToggleButtonGroup_default,
1302
1331
  __spreadProps(__spreadValues({}, field), {
1303
1332
  flexDirection,
@@ -1306,7 +1335,7 @@ var ToggleButtonsWithLabel = (props) => {
1306
1335
  onChange: handleFormat,
1307
1336
  "aria-label": "text formatting",
1308
1337
  className: `flex flex-${flexDirection} ${textView ? "gap-1 flex-nowrap flex-col" : " flex-wrap"}`,
1309
- children: values.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ToggleButton_default, { value: option.value, textView, children: option.title }, index))
1338
+ children: values.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ToggleButton_default, { value: option.value, textView, children: option.title }, index))
1310
1339
  })
1311
1340
  )
1312
1341
  ] });
@@ -1339,6 +1368,7 @@ var ToggleButtonsWithLabel_default = ToggleButtonsWithLabel;
1339
1368
  RadioGroup,
1340
1369
  RealtorCard,
1341
1370
  RealtyCard,
1371
+ SearchInput,
1342
1372
  Select,
1343
1373
  SelectPro,
1344
1374
  Slider,