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QAAS,wBAAyBH,IAAKnD,EAAS2B,UACjFC,EAAAA,EAAAA,KAAC3C,EAAY,CACZmE,IACC5D,EACG,kCACA,kCAEJ6D,KAAM7D,EAAW,GAAK,iBAMtB,C","sources":["components/Elements/Reviews/Reviews.styles.js","components/Elements/Reviews/index.jsx"],"sourcesContent":["import makeStyles from \"@material-ui/styles/makeStyles\";\n\nconst styles = makeStyles(theme => ({\n\troot: {\n\t\t\"& .swiper\": {\n\t\t\tpaddingBottom: theme.spacing(10),\n\t\t\t[theme.breakpoints.up(\"lg\")]: {\n\t\t\t\tmaxWidth: 1280\n\t\t\t}\n\t\t},\n\t\t\"& .swiper-slide\": {\n\t\t\theight: \"auto !important\"\n\t\t},\n\t\t\"& .swiper-pagination\": {\n\t\t\talignItems: \"center\",\n\t\t\tdisplay: \"flex\",\n\t\t\tjustifyContent: \"center\",\n\t\t\tflexWrap: \"wrap\",\n\t\t\tbottom: \"40px !important\"\n\t\t},\n\t\t\"& .swiper-pagination-bullet\": {\n\t\t\tbackground: \"#FFFFFF\",\n\t\t\tborderRadius: \"unset !important\",\n\t\t\theight: 2,\n\t\t\topacity: \"0.3 !important\",\n\t\t\ttransition: \"opacity 250ms ease, width 250ms ease\",\n\t\t\twidth: 16\n\t\t},\n\t\t\"& .swiper-pagination-bullet-active\": {\n\t\t\topacity: \"1 !important\",\n\t\t\twidth: 32\n\t\t}\n\t},\n\theadline: {\n\t\tpaddingBottom: theme.spacing(7),\n\t\tpaddingTop: theme.spacing(12.5),\n\t\tposition: \"relative\",\n\t\ttextAlign: \"center\",\n\t\t\"&:before\": {\n\t\t\tbackground: \"linear-gradient(180deg, #C65470 0%, #548EB5 100%)\",\n\t\t\tbottom: 0,\n\t\t\tcontent: \"''\",\n\t\t\tleft: \"50%\",\n\t\t\tposition: \"absolute\",\n\t\t\ttop: 0,\n\t\t\ttransform: \"translate(-50%, 0)\",\n\t\t\twidth: 2,\n\t\t\tzIndex: -1\n\t\t},\n\t\t\"& span\": {\n\t\t\tbackground: \"#FFFFFF\",\n\t\t\tpadding: theme.spacing(0.5, 0)\n\t\t}\n\t},\n\twrapper: {\n\t\toverflow: \"hidden\",\n\t\tposition: \"relative\"\n\t},\n\tswiperRoot: {\n\t\tbackground: \"#333333\",\n\t\tpaddingTop: theme.spacing(10),\n\t\tposition: \"relative\",\n\t\t[theme.breakpoints.up(\"md\")]: {\n\t\t\tpaddingLeft: theme.spacing(3),\n\t\t\tpaddingRight: theme.spacing(10)\n\t\t},\n\t\t[theme.breakpoints.up(\"lg\")]: {\n\t\t\tpaddingLeft: theme.spacing(3),\n\t\t\tpaddingRight: theme.spacing(3)\n\t\t}\n\t},\n\tnavRoot: {\n\t\talignItems: \"center\",\n\t\tborderLeft: \"1px solid #CCCCCC\",\n\t\tcolumnGap: theme.spacing(1),\n\t\tdisplay: \"flex\",\n\t\theight: 80,\n\t\tposition: \"absolute\",\n\t\tright: 0,\n\t\ttop: 0,\n\t\t[theme.breakpoints.up(\"md\")]: {\n\t\t\tbackground: \"#333333\",\n\t\t\tflexDirection: \"column\",\n\t\t\theight: 1000,\n\t\t\tjustifyContent: \"center\",\n\t\t\tleft: \"auto\",\n\t\t\tpointerEvents: \"none\",\n\t\t\ttop: \"50%\",\n\t\t\ttransform: \"translate(0, -50%)\",\n\t\t\tright: 0,\n\t\t\twidth: 80,\n\t\t\tzIndex: 1\n\t\t}\n\t},\n\tnav: {\n\t\talignItems: \"center\",\n\t\tdisplay: \"flex\",\n\t\theight: 40,\n\t\tjustifyContent: \"center\",\n\t\tpointerEvents: \"all\",\n\t\twidth: 40,\n\t\t[theme.breakpoints.up(\"md\")]: {\n\t\t\theight: 64,\n\t\t\twidth: 64\n\t\t},\n\t\t\"&.swiper-button-disabled\": {\n\t\t\topacity: 0.3\n\t\t},\n\t\t\"&:not(.swiper-button-disabled)\": {\n\t\t\tcursor: \"pointer\"\n\t\t},\n\t\t\"& svg path\": {\n\t\t\tfill: \"#FFFFFF !important\"\n\t\t}\n\t}\n}));\n\nexport default styles;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport loadable from \"@loadable/component\";\nimport clsx from \"clsx\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport { Navigation, Pagination } from \"swiper\";\nimport { Swiper, SwiperSlide } from \"swiper/react\";\n\nimport \"swiper/css\";\nimport \"swiper/css/pagination\";\n\nimport styles from \"./Reviews.styles\";\n\nconst Container = loadable(() => import(\"@Components/views/Container\"));\nconst Item = loadable(() => import(\"./Item\"));\nconst ReactSVGIcon = loadable(() => import(\"@micado-digital/react-svg-icon/ReactSVGIcon\"));\nconst Typography = loadable(() => import(\"@micado-digital/react-ui/components/Typography\"));\n\nconst Reviews = ({ elements, lang, headline }) => {\n\tconst css = styles();\n\tconst isMobile = useMediaQuery(theme => theme.breakpoints.down(\"sm\"));\n\tconst [items, setItems] = useState([]);\n\tconst $navPrev = useRef(null);\n\tconst $navNext = useRef(null);\n\n\tuseEffect(() => {\n\t\telements?.forEach(element => {\n\t\t\tconst { elements, id, textcontent: { items = [] } = {} } = element;\n\t\t\tconst addition = items?.find(item => item?.name === \"valAddition\")?.text;\n\t\t\tconst name = items?.find(item => item?.name === \"valName\")?.text;\n\t\t\tconst media = elements?.find(item => item?.tag === \"valImage\")?.media;\n\t\t\tconst overline = items?.find(item => item?.name === \"valOverline\")?.text;\n\t\t\tconst pageName = elements?.find(item => item?.tag === \"valPageName\")?.reference\n\t\t\t\t?.pageName;\n\t\t\tconst text = items?.find(item => item?.name === \"valText\")?.text;\n\n\t\t\tif (element) {\n\t\t\t\tsetItems(prev => [\n\t\t\t\t\t...prev,\n\t\t\t\t\t{\n\t\t\t\t\t\taddition,\n\t\t\t\t\t\tid,\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tmedia,\n\t\t\t\t\t\toverline,\n\t\t\t\t\t\tpageName,\n\t\t\t\t\t\ttext\n\t\t\t\t\t}\n\t\t\t\t]);\n\t\t\t}\n\t\t});\n\t}, [elements]);\n\n\treturn (\n\t\t