{"version":3,"sources":["webpack:///./src/components/core/faqs-tags/index.js","webpack:///./src/components/atomic-design/atoms/expert-page-header/styles.js","webpack:///./src/components/atomic-design/atoms/expert-page-header/index.js","webpack:///./node_modules/use-reading-time/dist/index.es.js","webpack:///./src/styles/pages/expert-guides-styles.js","webpack:///./src/components/atomic-design/atoms/chevronButtonIcon/styles.js","webpack:///./src/components/atomic-design/atoms/chevronButtonIcon/index.js","webpack:///./src/components/atomic-design/organisms/guide-sidebar/sidebar-menu/styles.js","webpack:///./src/components/atomic-design/organisms/guide-sidebar/sidebar-menu/sidebar-item/styles.js","webpack:///./src/components/atomic-design/organisms/guide-sidebar/sidebar-menu/sidebar-item/index.js","webpack:///./src/components/atomic-design/organisms/guide-sidebar/sidebar-menu/index.js","webpack:///./src/components/atomic-design/organisms/guide-sidebar/styles.js","webpack:///./src/components/atomic-design/organisms/guide-sidebar/index.js","webpack:///./src/templates/expert-guides.js","webpack:///./src/components/atomic-design/organisms/faq-section/styles.js","webpack:///./src/components/atomic-design/organisms/faq-section/index.js"],"names":["FaqsTag","props","faqList","list","faqScript","mainEntity","map","item","name","title","acceptedAnswer","text","ReactDOMServer","renderToString","documentToReactComponents","description","json","type","JSON","stringify","ContainerPageHeader","styled","div","theme","newTheme","spacing","breakpoints","tablet","mobile","ImgContainer","tabletLandscape","desktop","ContainerTitle","PageHeaderTitle","h1","font","title1","size","lineHeight","weight","regular","color","white","title3","PageHeaderDescription","p","text1","PageHeaderReadingTime","secondary","ExpertPageHeader","subtitle","readingTime","backgroundImage","alt","fromContentful","contentful_id","fluid","width","height","defaultProps","_slicedToArray","arr","i","Array","isArray","_arrayWithHoles","Symbol","iterator","Object","_arr","_n","_d","_e","undefined","_s","_i","next","done","push","value","length","err","_iterableToArrayLimit","o","minLen","_arrayLikeToArray","n","prototype","toString","call","slice","constructor","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","len","arr2","ref","wordsPerMinute","arguments","_useState","_useState2","wordsCount","setWordsCount","words","current","innerText","match","Math","ceil","GlobalExpertGuideStyle","createGlobalStyle","ExpertGuidePageSection","PageSection","PillarContent","SidebarContainer","RichTextContainer","Diagonal","NavigationTitle","h3","black","IconContainer","openClose","transition","ChevronButtonIcon","onClick","Content","ul","li","Header","primary","main","HeaderTitle","a","grey","text2","text3","Container","Body","show","BodyDesc","fade","small","fonts","sizes","large","SidebarItem","toggle","open","submenu","setShowMenu","isMobile","useIsMobile","useState","hover","setHover","key","onMouseEnter","onMouseLeave","href","link","submenuItem","recursiveMapperOfItems","parent","children","childrenItem","SidebarMenu","content","openKey","setOpenKey","handleToggle","guideItem","Title","semiBold","TitleContainer","ListDivider","GuideSidebar","MappedContent","recursiveSidebarMenu","reduce","acc","x","buildContentLinks","nodeType","node","element","data","uri","setShow","useEffect","query","ExpertGuides","pageContext","location","previous","guidePage","contentfulGuide","guideContent","useRef","useReadingTime","mockedCategory","slug","faQs","parseFaqsList","items","path","pathname","withReadingProgress","charSet","image","hero","file","url","viewport","margin","mobileMargin","containerSize","padding","mobilePadding","tableOfContents","body","options","richTextOptions","background","light","category","previousTo","nextTo","withArrow","FaqsTitle","h2","title4","title5","FaqSection","id"],"mappings":"8FAAA,sEAoCeA,IA9BC,SAAAC,GAAU,IAGLC,EAFXC,EAASF,EAATE,KAYFC,EAAY,CAChB,WAAY,qBACZ,QAAS,UACTC,YAbiBH,EAaMC,EAZvBD,EAAQI,KAAI,SAAAC,GAAI,MAAK,CACnB,QAAS,WACTC,KAAMD,EAAKE,MACXC,eAAgB,CACd,QAAS,SACTC,KAAMC,IAAeC,eAAeC,oCAA0BP,EAAKQ,YAAYC,cAUrF,OACE,kBAAC,SAAD,KACE,4BAAQC,KAAK,uBAAuBC,KAAKC,UAAUf,O,2LCzB5CgB,EAAsBC,IAAOC,IAAV,kFAAGD,CAAH,+OACnB,qBAAGE,MAAqBC,SAASC,QAAQ,IAAzC,QAWe,qBAAGF,MAAkBC,SAASE,YAAYC,UACvD,gBAAGJ,EAAH,EAAGA,MAAH,O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AY,EAAZA,MAC7B,OACE,yBAAKmO,GAAG,QACN,kBAAC,EAAD,KAAYnO,GACZ,kBAAC,IAAD,CAAW4B,KAAK,QAAQlC,KAAMD","file":"component---src-templates-expert-guides-js-d1d9e4af88e1eb1ecd05.js","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { documentToReactComponents } from '@contentful/rich-text-react-renderer';\nimport { Helmet } from 'react-helmet';\nimport ReactDOMServer from 'react-dom/server';\n\nconst FaqsTag = props => {\n const { list } = props;\n\n const mapFaqList = faqList =>\n faqList.map(item => ({\n '@type': 'Question',\n name: item.title,\n acceptedAnswer: {\n '@type': 'Answer',\n text: ReactDOMServer.renderToString(documentToReactComponents(item.description.json)),\n },\n }));\n\n const faqScript = {\n '@context': 'https://schema.org',\n '@type': 'FAQPage',\n mainEntity: mapFaqList(list),\n };\n\n return (\n \n \n \n );\n};\n\nFaqsTag.propTypes = {\n list: PropTypes.array.isRequired,\n};\n\nexport default FaqsTag;\n","import styled from 'styled-components';\n\nexport const ContainerPageHeader = styled.div`\n padding: ${({ theme }) => `${theme.newTheme.spacing(40)} 0`};\n position: relative;\n width: 100%;\n z-index: 9;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n align-content: center;\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.tablet}) {\n padding: ${({ theme }) => `${theme.newTheme.spacing(10)} 0 ${theme.newTheme.spacing(20)} 0`};\n }\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.mobile}) {\n padding: ${({ theme }) => `${theme.newTheme.spacing(10)} 0 ${theme.newTheme.spacing(10)} 0`};\n }\n`;\n\nexport const ImgContainer = styled.div`\n position: absolute;\n left: 0;\n z-index: -1;\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n div {\n width: 100%;\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.tabletLandscape}) {\n height: 100%;\n }\n }\n\n :after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: linear-gradient(\n 80.88deg,\n #3f3f3f 1.15%,\n rgba(63, 63, 63, 0.9375) 63.81%,\n rgba(63, 63, 63, 0) 137.9%\n );\n opacity: 0.6;\n }\n\n img {\n top: -35% !important;\n }\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.desktop}) {\n img {\n height: 120% !important;\n }\n }\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.tabletLandscape}) {\n img {\n top: 0px !important;\n height: 100% !important;\n }\n }\n`;\n\nexport const ContainerTitle = styled.div`\n max-width: 1156px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n`;\n\nexport const PageHeaderTitle = styled.h1`\n font-size: ${({ theme }) => theme.newTheme.font.title1.size};\n line-height: ${({ theme }) => theme.newTheme.font.title1.lineHeight};\n font-weight: ${({ theme }) => theme.newTheme.font.weight.regular};\n margin: ${({ theme }) => `${theme.newTheme.spacing(10)} 0 0 0`};\n color: ${({ theme }) => theme.newTheme.color.white};\n text-align: center;\n hyphens: auto;\n\n u {\n text-decoration: none;\n display: block;\n }\n\n b {\n background: ${({ color }) => color};\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n\n p {\n margin: 0;\n }\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.tablet}) {\n width: 100%;\n font-size: ${({ theme }) => theme.newTheme.font.title3.size};\n line-height: ${({ theme }) => theme.newTheme.font.title3.lineHeight};\n font-weight: ${({ theme }) => theme.newTheme.font.weight.regular};\n }\n`;\n\nexport const PageHeaderDescription = styled.p`\n font-size: ${({ theme }) => theme.newTheme.font.text1.size};\n line-height: ${({ theme }) => theme.newTheme.font.text1.lineHeight};\n width: 100%;\n color: ${({ theme }) => theme.newTheme.color.white};\n text-align: center;\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.tablet}) {\n width: 100%;\n }\n`;\n\nexport const PageHeaderReadingTime = styled.p`\n font-size: ${({ theme }) => theme.newTheme.font.text1.size};\n line-height: ${({ theme }) => theme.newTheme.font.text1.lineHeight};\n color: ${({ theme }) => theme.newTheme.color.white};\n width: 100%;\n text-align: center;\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.tablet}) {\n margin-top: 0;\n line-height: ${({ theme }) => theme.lineHeight.secondary};\n }\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Image from 'core/image';\nimport MainContainer from '../main-container';\n\nimport {\n ContainerPageHeader,\n PageHeaderTitle,\n PageHeaderDescription,\n ImgContainer,\n PageHeaderReadingTime,\n ContainerTitle,\n} from './styles';\n\nconst ExpertPageHeader = ({ title, subtitle, readingTime, backgroundImage }) => {\n return (\n \n {backgroundImage && (\n \n \n \n )}\n \n \n {title}\n {subtitle && {subtitle}}\n {readingTime && (\n {`${readingTime} min read`}\n )}\n \n \n \n );\n};\n\nExpertPageHeader.propTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n readingTime: PropTypes.number,\n};\n\nExpertPageHeader.defaultProps = {};\n\nexport default ExpertPageHeader;\n","import \"core-js/modules/es6.regexp.match\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es6.array.from\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.date.to-string\";\nimport \"core-js/modules/es6.object.to-string\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/es6.array.is-array\";\nimport { useState, useEffect } from 'react';\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction useReadingTime(ref) {\n var wordsPerMinute = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 260;\n\n var _useState = useState(1),\n _useState2 = _slicedToArray(_useState, 2),\n wordsCount = _useState2[0],\n setWordsCount = _useState2[1];\n\n useEffect(function () {\n var elem = ref.current;\n var words = elem.innerText.match(/\\w+/g).length;\n setWordsCount(words);\n }, [ref]);\n return {\n readingTime: Math.ceil(wordsCount / wordsPerMinute),\n wordsCount: wordsCount\n };\n}\n\nexport default useReadingTime;","import styled, { createGlobalStyle } from 'styled-components';\nimport PageSection from 'atomic-design/atoms/page-section';\n\nexport const GlobalExpertGuideStyle = createGlobalStyle`\n body, html {\n overflow: initial;\n scroll-behavior: smooth;\n\n h2 {\n scroll-margin-top: 100px;\n }\n h3 {\n scroll-margin-top: 100px;\n }\n h4 {\n scroll-margin-top: 100px;\n }\n h5 {\n scroll-margin-top: 80px;\n }\n h6 {\n scroll-margin-top: 80px;\n }\n p {\n scroll-margin-top: 80px;\n }\n\n h2:first-child {\n padding-bottom: ${({ theme }) => theme.newTheme.spacing(6)};\n }\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.mobile}) {\n h2 {\n scroll-margin-top: 100px;\n }\n h3 {\n scroll-margin-top: 100px;\n }\n h4 {\n scroll-margin-top: 130px;\n }\n }\n }\n`;\n\nexport const ExpertGuidePageSection = styled(PageSection)`\n overflow: initial;\n`;\n\nexport const PillarContent = styled.div`\n display: flex;\n alignItems: \"flex-start\"\n flex-direction: row;\n align-items: flex-start;\n \n width: 100%;\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.tablet}) {\n padding: 0;\n }\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.mobile}) {\n flex-direction: column;\n padding: 0;\n }\n`;\n\nexport const SidebarContainer = styled.div`\n display: flex;\n flex-direction: column;\n width: 36%;\n position: sticky;\n top: 100px;\n\n margin-top: ${({ theme }) => theme.newTheme.spacing(6)};\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.tablet}) {\n width: 40%;\n }\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.mobile}) {\n margin-top: 0;\n width: 100%;\n top: 53px;\n z-index: 11;\n }\n`;\n\nexport const RichTextContainer = styled.div`\n margin-top: ${({ theme }) => `${theme.newTheme.spacing(6)}`};\n display: flex;\n flex-direction: column;\n flex: 1;\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.tablet}) {\n padding: ${({ theme }) => `${theme.newTheme.spacing(5)} 27px`};\n }\n`;\n\nexport const Diagonal = styled.div`\n position: absolute;\n z-index: 0;\n right: 0;\n border-top: ${({ theme }) => `${theme.newTheme.spacing(20)} solid white`};\n border-left: 100vw solid transparent;\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.mobile}) {\n border-top: ${({ theme }) => `${theme.newTheme.spacing(10)} solid white`};\n }\n`;\n\nexport const NavigationTitle = styled.h3`\n font-size: ${({ theme }) => theme.newTheme.font.title3.size};\n line-height: ${({ theme }) => theme.newTheme.font.title3.lineHeight};\n font-weight: ${({ theme }) => theme.newTheme.font.weight.regular};\n color: ${({ theme }) => theme.newTheme.color.black};\n margin: ${({ theme }) => `0 0 ${theme.newTheme.spacing(20)} 0`};\n padding: ${({ theme }) => `${theme.newTheme.spacing(20)} 0 0 0`};\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.tabletLandscape}) {\n font-size: ${({ theme }) => theme.newTheme.font.title3.size};\n line-height: ${({ theme }) => theme.newTheme.font.title3.lineHeight};\n display: none;\n }\n`;\n","import styled from 'styled-components';\n\nexport const IconContainer = styled.div`\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border: none;\n\n ${({ openClose }) => (openClose ? 'transform: rotate(-90deg)' : 'transform: rotate(0deg)')};\n transition: ${({ theme }) => theme.transition};\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { ChevronArrow } from 'ui/svg';\n\nimport { IconContainer } from './styles';\n\nconst ChevronButtonIcon = ({ openClose, onClick, size = 25, color = '#ffffff' }) => {\n return (\n \n \n \n );\n};\n\nChevronButtonIcon.propTypes = {\n openClose: PropTypes.bool.isRequired,\n};\n\nexport default ChevronButtonIcon;\n","import styled from 'styled-components';\n\nexport const Content = styled.ul`\n width: 100%;\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n list-style: none;\n\n gap: ${({ theme }) => theme.newTheme.spacing(4)};\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.mobile}) {\n gap: ${({ theme }) => theme.newTheme.spacing(4)};\n }\n`;\n","import styled from 'styled-components';\n\nexport const Content = styled.li`\n width: 100%;\n margin: 0;\n padding: 0;\n list-style: none;\n`;\n\nexport const Header = styled.div`\n display: flex;\n align-items: center;\n cursor: pointer;\n\n flex-direction: row;\n justify-content: space-between;\n\n button {\n padding: 0;\n }\n\n &:hover {\n a {\n color: ${({ theme }) => theme.newTheme.color.primary.main};\n }\n }\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.mobile}) {\n &:hover {\n a {\n color: ${({ theme }) => theme.newTheme.color.white};\n }\n }\n\n`;\n\nexport const HeaderTitle = styled.a`\n margin: 0;\n\n color: ${({ theme }) => theme.newTheme.color.grey.main};\n font-size: ${({ theme }) => theme.newTheme.font.text2.size};\n line-height: ${({ theme }) => theme.newTheme.font.text2.lineHeight};\n font-weight: ${({ theme }) => theme.newTheme.font.weight.regular};\n\n transition: ${({ theme }) => theme.transition};\n\n @media only screen and (${({ theme }) => theme.breakpoints.tablet}) {\n font-size: ${({ theme }) => theme.newTheme.font.text3.size};\n line-height: ${({ theme }) => theme.newTheme.font.text3.lineHeight};\n font-weight: ${({ theme }) => theme.newTheme.font.weight.regular};\n }\n\n @media only screen and (${({ theme }) => theme.breakpoints.mobile}) {\n font-size: ${({ theme }) => theme.newTheme.font.text2.size};\n line-height: ${({ theme }) => theme.newTheme.font.text2.lineHeight};\n font-weight: ${({ theme }) => theme.newTheme.font.weight.regular};\n }\n`;\n\nexport const Container = styled.div`\n height: 100%;\n position: relative;\n`;\n\nexport const Body = styled.div`\n width: 100%;\n display: ${({ show }) => (show ? '' : 'none')};\n transition: ${({ theme }) => theme.transition};\n`;\n\nexport const BodyDesc = styled.ul`\n display: flex;\n flex-direction: column;\n padding-left: ${({ theme }) => theme.newTheme.spacing(10)};\n\n animation: ${({ fade }) => (fade ? 'fadeInDown .2s linear' : 'fadeInUp .2s linear')};\n\n transition: ${({ theme }) => theme.transition};\n margin-top: 0;\n margin-bottom: ${({ theme }) => theme.newTheme.spacing(6)};\n\n a {\n padding: 0;\n margin: 0;\n color: ${({ theme }) => theme.newTheme.color.grey.main};\n transition: ${({ theme }) => theme.transition};\n\n &:hover {\n color: ${({ theme }) => theme.newTheme.color.primary.main};\n }\n }\n\n li {\n margin-top: ${({ theme }) => theme.newTheme.spacing(4)};\n }\n\n @keyframes fadeInDown {\n 0% {\n opacity: 0;\n transform: translateY(-40px);\n }\n 50% {\n transform: translateY(-20px);\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n @keyframes fadeInUp {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateY(-40px);\n }\n }\n\n @media only screen and (${({ theme }) => theme.breakpoints.mobile}) {\n ${({ theme }) => `padding: ${theme.spacing.small} 0`};\n font-size: ${({ theme }) => theme.fonts.sizes.small};\n margin-bottom: ${({ theme }) => theme.newTheme.spacing(0)};\n\n li {\n margin-bottom: ${({ theme }) => theme.newTheme.spacing(4)};\n }\n\n a {\n color: ${({ theme }) => theme.newTheme.color.white};\n line-height: ${({ theme }) => theme.spacing.large};\n padding-left: ${({ theme }) => theme.newTheme.spacing(5)};\n\n &:hover {\n color: ${({ theme }) => theme.newTheme.color.white};\n }\n }\n }\n`;\n","import React, { useState } from 'react';\nimport ChevronButtonIcon from 'atomic-design/atoms/chevronButtonIcon';\nimport { Content, Header, Body, HeaderTitle, BodyDesc, Container } from './styles';\nimport useIsMobile from 'hooks/useIsMobile';\nimport theme from 'styles/theme';\n\nconst SidebarItem = ({ name, toggle, open, title, submenu, setShowMenu }) => {\n const isMobile = useIsMobile('mobile');\n const [hover, setHover] = useState(false);\n\n const colorChevron = () => {\n if (isMobile) {\n return '#ffffff';\n }\n return hover ? theme.newTheme.color.primary.main : theme.newTheme.color.grey.main;\n };\n\n const recursiveMapperOfItems = submenuItem => {\n if (Array.isArray(submenuItem)) {\n return recursiveMapperOfItems({ parent: submenuItem[0], children: submenuItem[1] });\n }\n\n return (\n <>\n
  • \n setShowMenu(false)} href={submenuItem?.parent?.link || '#'}>\n {submenuItem?.parent?.title || 'Untitled'}\n \n
  • \n {submenuItem?.children?.map(childrenItem => {\n if (Array.isArray(childrenItem)) {\n return recursiveMapperOfItems(childrenItem);\n }\n\n return recursiveMapperOfItems({\n parent: childrenItem.parent,\n children: childrenItem.children,\n });\n })}\n \n );\n };\n\n return (\n \n toggle(name)}\n onMouseEnter={() => setHover(true)}\n onMouseLeave={() => setHover(false)}\n >\n setShowMenu(false)} href={title.link && title.link}>\n {title && title.title}\n \n\n {submenu && }\n \n\n {submenu && (\n \n \n \n {submenu &&\n submenu.map(submenuItem => {\n return recursiveMapperOfItems(submenuItem);\n })}\n \n \n \n )}\n \n );\n};\nexport default SidebarItem;\n","import React, { useState } from 'react';\nimport { Content } from './styles';\nimport SidebarItem from './sidebar-item';\n\nconst SidebarMenu = ({ content, setShowMenu }) => {\n const [openKey, setOpenKey] = useState();\n\n const handleToggle = key => {\n setOpenKey(openKey !== key ? key : '');\n };\n\n return (\n \n {content.map(guideItem => {\n return (\n \n );\n })}\n \n );\n};\nexport default SidebarMenu;\n","import styled from 'styled-components';\n\nexport const SidebarContainer = styled.div`\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n\n position: ${({ open }) => (open ? 'fixed' : '')};\n top: ${({ open }) => (open ? '53px' : '')};\n left: ${({ open }) => (open ? '0' : '')};\n width: ${({ open }) => (open ? '100%' : '')};\n \n padding: ${({ theme }) => theme.newTheme.spacing(5)};\n margin: ${({ theme }) => `0 ${theme.newTheme.spacing(9)} 0 0`};\n\n width: 100%\n height: 100%;\n\n background: #ffffff;\n border-radius: 15px;\n border: 1px solid ${({ theme }) => theme.newTheme.color.primary.main};\n\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.mobile}) {\n border: none;\n border-radius: 0;\n background: ${({ theme }) => theme.newTheme.color.primary.main};\n\n margin: 0;\n padding: ${({ theme }) => `0 ${theme.newTheme.spacing(7)}`};\n \n \n p {\n color: white;\n }\n a {\n color: white;\n }\n }\n \n`;\n\nexport const Title = styled.p`\n font-size: ${({ theme }) => theme.newTheme.font.text1.size};\n line-height: ${({ theme }) => theme.newTheme.font.text1.lineHeight};\n font-weight: ${({ theme }) => theme.newTheme.font.weight.semiBold};\n color: ${({ theme }) => theme.newTheme.color.primary.main};\n margin-bottom: ${({ theme }) => theme.newTheme.spacing(5)};\n margin-top: 0;\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.mobile}) {\n font-size: ${({ theme }) => theme.newTheme.font.text2.size};\n line-height: ${({ theme }) => theme.newTheme.font.text2.lineHeight};\n font-weight: ${({ theme }) => theme.newTheme.font.weight.regular};\n margin-top: ${({ theme }) => theme.newTheme.spacing(5)};\n }\n`;\n\nexport const TitleContainer = styled.div`\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n\n button {\n padding: 0;\n }\n`;\n\nexport const BodyDesc = styled.div`\n display: ${({ show }) => (show ? '' : 'none')};\n width: 100%;\n flex-direction: column;\n margin-bottom: ${({ theme }) => theme.newTheme.spacing(5)};\n\n animation: ${({ fade }) => (fade ? 'fadeInDown .2s linear' : 'fadeInUp .2s linear')};\n\n transition: ${({ theme }) => theme.transition};\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.mobile}) {\n height: 100vh;\n }\n\n @keyframes fadeInDown {\n 0% {\n opacity: 0;\n transform: translateY(-40px);\n }\n 50% {\n transform: translateY(-20px);\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n @keyframes fadeInUp {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateY(-40px);\n }\n }\n`;\n\nexport const ListDivider = styled.div`\n width: 100%;\n height: 1px;\n background: ${({ theme }) => theme.newTheme.color.white};\n display: ${({ show }) => (show ? 'block' : 'none')};\n margin-bottom: ${({ theme }) => theme.newTheme.spacing(5)};\n`;\n","import React, { useState, useEffect } from 'react';\nimport useIsMobile from 'hooks/useIsMobile';\nimport ChevronButtonIcon from 'atomic-design/atoms/chevronButtonIcon';\nimport SidebarMenu from './sidebar-menu';\nimport { SidebarContainer, Title, BodyDesc, TitleContainer, ListDivider } from './styles';\n\nconst guideSidebarMapper = ({ content }) => {\n const buildContentLinks = json =>\n json.content.reduce((acc, x) => {\n if (x.nodeType === 'paragraph') {\n if (x.content.length === 1) {\n return [...acc, { title: x.content[0].value }];\n }\n\n const node = x.content[1];\n const element = {\n title: node.content[0].value,\n link: node.data.uri,\n };\n\n return [...acc, element];\n }\n return [...acc, buildContentLinks(x)];\n }, []);\n\n const recursiveSidebarMenu = content => {\n return content.reduce((acc, x) => {\n if (x.length > 1) {\n if (x[1].length > 1) {\n return [...acc, { parent: x[0], children: recursiveSidebarMenu(x[1]) }];\n }\n return [...acc, { parent: x[0], children: x[1] }];\n }\n return [...acc, { parent: x[0] }];\n }, []);\n };\n\n const data = buildContentLinks(content[0]);\n return recursiveSidebarMenu(data);\n};\n\nconst GuideSidebar = ({ content }) => {\n const MappedContent = guideSidebarMapper(content);\n\n const isMobile = useIsMobile('mobile');\n const [show, setShow] = useState(false);\n\n const handleClick = () => setShow(!show);\n\n useEffect(() => {\n if (!isMobile) {\n setShow(false);\n }\n }, [isMobile]);\n\n return (\n \n {isMobile ? (\n <>\n \n What’s included in this guide\n \n \n \n \n ) : (\n What’s included in this guide\n )}\n\n \n \n \n \n );\n};\n\nexport default GuideSidebar;\n","import React, { useRef } from 'react';\nimport { parseFaqsList } from 'common/transformers';\nimport MetaTags from 'core/meta-tags/index';\nimport { graphql } from 'gatsby';\nimport Layout from 'core/layout';\nimport ExpertPageHeader from 'atomic-design/atoms/expert-page-header';\nimport theme from 'styles/theme';\nimport useReadingTime from 'use-reading-time';\nimport useIsMobile from 'hooks/useIsMobile';\nimport FaqsTag from '../components/core/faqs-tags';\nimport FaqSection from 'atomic-design/organisms/faq-section';\n\nimport {\n GlobalExpertGuideStyle,\n PillarContent,\n SidebarContainer,\n RichTextContainer,\n ExpertGuidePageSection,\n Diagonal,\n NavigationTitle,\n} from 'styles/pages/expert-guides-styles';\n\nimport RichTextWrapper from 'atomic-design/organisms/rich-text-wrapper';\nimport richTextOptions from 'common/rich-text-options';\nimport GuideSidebar from 'components/atomic-design/organisms/guide-sidebar';\nimport NavigationCards from 'atomic-design/molecules/navigation-cards';\nimport PageSection from '../components/atomic-design/atoms/page-section';\n\nexport const query = graphql`\n query ($slug: String!) {\n contentfulGuide(slug: { eq: $slug }) {\n title\n subtitle\n slug\n publishedDate\n hero {\n contentful_id\n title\n file {\n url\n }\n }\n tableOfContents {\n json\n }\n body {\n json\n }\n faQs {\n title\n items {\n answer {\n json\n }\n question\n }\n }\n }\n }\n`;\n\nconst ExpertGuides = ({ pageContext, data, location }) => {\n const { previous, next } = pageContext;\n const isMobile = useIsMobile('mobile');\n const guidePage = data.contentfulGuide;\n const guideContent = useRef();\n const { readingTime } = useReadingTime(guideContent);\n const mockedCategory = { name: 'Guide', slug: 'guide' };\n\n const faqList = guidePage.faQs && parseFaqsList(guidePage.faQs.items);\n return (\n \n \n \n {guidePage.faQs && }\n \n \n \n \n \n \n \n \n \n \n {guidePage.faQs && }\n \n \n \n \n \n More guides to read\n \n \n \n );\n};\n\nexport default ExpertGuides;\n","import styled from 'styled-components';\n\nexport const FaqsTitle = styled.h2`\n font-size: ${({ theme }) => theme.newTheme.font.title4.size};\n line-height: ${({ theme }) => theme.newTheme.font.title4.lineHeight};\n font-weight: ${({ theme }) => theme.newTheme.font.weight.regular};\n margin: ${({ theme }) => theme.newTheme.spacing(10)} 0;\n color: ${({ theme }) => theme.newTheme.color.black};\n\n width: 80%;\n\n u {\n text-decoration: none;\n display: block;\n }\n\n b {\n background: ${({ color }) => color};\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n\n p {\n margin: 0;\n }\n\n @media only screen and (${({ theme }) => theme.newTheme.breakpoints.tablet}) {\n width: 100%;\n font-size: ${({ theme }) => theme.newTheme.font.title5.size};\n line-height: ${({ theme }) => theme.newTheme.font.title5.lineHeight};\n }\n`;\n\nexport default FaqsTitle;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Accordion from 'atomic-design/molecules/accordion';\nimport FaqsTitle from './styles';\n\nconst FaqSection = ({ faqList, title }) => {\n return (\n
    \n {title}\n \n
    \n );\n};\n\nFaqSection.propTypes = {\n faqList: PropTypes.array.isRequired,\n title: PropTypes.string.isRequired,\n};\n\nexport default FaqSection;\n"],"sourceRoot":""}