{"version":3,"sources":["config/theme.ts","context/LanguageStore.ts","config/consts.ts","hooks/useTranslation.ts","hooks/useInternalLink.ts","components/Breadcrumbs.tsx","components/layout/MainContent.tsx","components/layout/PageContentRow.tsx","hooks/useFetchData.ts","helpers/wizard.ts","helpers/node.ts","hooks/useNodes.ts","components/layout/PageContentWrapper.tsx","components/Footer.tsx","helpers/link.ts","helpers/menu.ts","components/MenuLink.tsx","components/Portal.tsx","components/DrawerMenu.tsx","components/typography/H2.tsx","components/typography/H1.tsx","hooks/useSearch.ts","components/search/SearchBox.tsx","hooks/useDebounce.ts","components/productnav/Item.tsx","components/productnav/ProductItem.tsx","components/ProductList.tsx","components/Loader.tsx","components/search/SearchSidebar.tsx","components/icons/warning.svg","hooks/useProductCategory.ts","components/Header.tsx","components/layout/Page.tsx","components/topic/Anchor.tsx","components/typography/content/H1.tsx","components/typography/H3.tsx","components/typography/Text.tsx","components/topic/Paragraph.tsx","components/icons/caution.svg","components/icons/note.svg","components/icons/danger.svg","components/icons/tip.svg","components/topic/Attention.tsx","components/Sidebar.tsx","components/RelatedContent.tsx","hooks/useHotspot.ts","components/hotspot/HotspotImage.tsx","components/Carousel.tsx","components/hotspot/Hotspot.tsx","components/topic/TopicHotspot.tsx","components/topic/Img.tsx","components/topic/Medialist.tsx","components/topic/Div.tsx","helpers/topic.ts","components/modal/Modal.tsx","components/topic/Table.tsx","components/topic/List.tsx","components/topic/Span.tsx","components/topic/Procedure.tsx","components/topic/Video.tsx","components/topic/ExternalAnchor.tsx","components/StringToComponent.tsx","components/Button.tsx","components/modal/FeedbackModal.tsx","components/Feedback.tsx","components/TopicContent.tsx","hooks/useMetaTitle.ts","pages/Topic.tsx","pages/Startpage.tsx","pages/Hotspots.tsx","pages/Home.tsx","components/BrowseContent.tsx","pages/Browse.tsx","components/search/SearchResultsTopic.tsx","pages/Search.tsx","components/typography/AnchorLink.tsx","pages/Wizard.tsx","pages/NotFound.tsx","App.tsx","reportWebVitals.ts","index.tsx"],"names":["theme","colors","elvitaDarkBlue","elvitaMediumGrey","elvitaTrueBlack","elvitaTableBorder","elvitaWarningYellow","elvitaBrown","elvitaGreen","elvitaRed","elvitaGray","elvitaMidGray","elvitaWhite","elvitaBlack","elvitaCautionBlue","elvitaLightGray","elvitaLighterGray","elvitaGray20","elvitaListBorder","elvitaDisabled","elvitaWebPurple","elvitaPurpleDark","elvitaWebPink","elvitaWebBeige","elvitaMagenta","elvitaGrayBg","infoTypes","service","instruction","parts","space","xxxxl","xxxl","xxl","xl","l","lg","md","m","s","sm","xs","xxs","xxxs","gutter","attention","table","fontSizes","ml","lineHeights","xsm","xxxxs","fonts","regular","bold","light","radii","borderWidths","sizes","containerWide","screens","languageDomains","domainSuffix","langCode","getDomainLanguage","hostArray","window","location","hostname","split","suffix","length","foundLang","find","lang","useLanguageStore","create","persist","set","setLang","state","name","partialize","process","useTranslation","url","data","useQuery","axios","method","baseURL","consts","then","response","returnData","Object","keys","map","key","toLocaleLowerCase","enabled","t","React","useInternalLink","productId","useParams","user","queryString","parse","search","userParam","internalLink","Crumbs","styled","ul","inWizard","inSearchResults","Crumb","li","A","Link","$current","$hideLast","SearchResultCrumb","Breadcrumbs","breadcrumbs","hideLast","inSearchResult","listRef","crumbs","label","every","el","ref","crumb","index","to","MainContent","div","PageContentRow","center","useFetchStartPage","useProductConfig","productConfig","isLoading","isError","manifestId","ManifestId","query","status","lastModified","headers","catch","error","useFetchBrowse","useFetchWizardStructure","useFetchMenu","getProductConfigs","a","queryClient","useQueryClient","res","setQueryData","item","ProductId","Error","initialData","getQueryData","getItemTitle","id","parentId","topLevelId","topLevel","title","children","child","isWizard","undefined","isProduct","validity","buildLink","hasChildren","nodeId","getChildren","childId","node","currentNode","topicId","breadCrumbTitle","replace","recurse","childNode","currentChild","childNodeId","childNodeTitle","b","push","childrenNodeTitle","getCrumbs","nodeData","getCurrentBrowseItem","browseList","currentId","currentBrowseItem","topLevelItem","forEach","topItem","searchBrowseTree","browse","entry","useNodes","path","setNode","pathBreadcrumb","setBredcrumbs","withRelatedContentStyles","css","Wrapper","alignSelf","flex","noPadding","spaceBetween","as","hasGradientBackground","withRelatedContent","PageContentWrapper","type","StyledMainContent","Row","LowerRow","LeftContent","RightContent","ExternalLink","CopyrightText","p","Button","button","CaretIcon","img","languageCollection","code","countryCollection","useLanguages","productConfigs","manyLoading","singleLoading","ktyValidity","KtyValidity","languageList","filteredProductConfigs","filter","langObj","language","Lang","langName","filteredLanguageList","startPageQueries","useQueries","queryKey","queryFn","retry","retryOnMount","select","some","result","availableProducts","languageLabel","link","languageCode","product","LinkRow","Links","PublishedDate","CurrentLanguage","CountryParagraph","LanguageButton","$active","LanguageButtonText","LinkText","StyledLanguageList","LanguageListItem","LanguageLink","LanguageText","EmailGroup","EmailText","PdfLink","SelectedLanguageBall","BackgroundWrapper","LanguageList","languages","onClick","Footer","footerData","useFetchFooter","format","Date","currentYear","getFullYear","copyrightText","toString","languageName","country","domainLang","languageSelectorOpen","setLanguageSelectorOpen","Popover","padding","boundaryInset","isOpen","positions","content","onClickOutside","src","Array","isArray","href","target","useLinkFromId","currentItem","slice","isActive","pathname","includes","useLink","idLink","StyledLink","MenuLink","useLocation","Portal","className","mounted","setMounted","current","document","querySelector","classList","add","createPortal","InnerWrapper","BackIcon","Menu","MenuItem","Label","StartLink","DrawerMenuItam","DrawerMenu","isVisible","closeHandler","menu","style","display","alignItems","h2","h1","searchApi","queryContent","term","forceGlobalSearch","post","queryProducts","queryType","show","keyframes","SearchIconWrapper","SearchIcon","width","SearchInput","input","inSearchSidebar","ClearIconWrapper","ClearIcon","SearchBox","isSearchPage","searchType","setSearchResults","inputRef","autoFocus","preventEnterNavigation","history","useMatomo","trackSiteSearch","useHistory","searchTerm","wrapperRef","value","setValue","debouncedValue","delay","useState","setDebouncedValue","useEffect","handler","setTimeout","clearTimeout","useDebounce","shouldUseProductContext","useSearch","renderDetailedResults","setRenderDetailedResults","getSearchLink","searchValue","placeholder","hasValue","onChange","e","onKeyUp","preventDefault","searchPath","onMouseDown","ProductWrapper","Product","$noHref","Image","StyledH3","h3","Item","itemObject","setItemObject","imageId","ProductListWrapper","ProductListItem","ProductImage","ProductTitle","h4","ChevronIcon","ProductContent","ProductItem","loading","alt","ProductsWrapper","styleType","ProductCategoryTitle","H2","ProductList","items","setStyle","isProductList","innerWidth","groupedItems","category","translatedCategory","entries","categoryItems","objectId","Number","spin","Spinner","Loader","styles","_path","_path2","_g","Overlay","$isVisible","SidebarWrapper","SidebarHeader","CloseButton","LoaderWrapper","ResultsWrapper","SearchBoxWrapper","SearchInfoIcon","InfoContent","StyledH2","InfoText","StyledImage","ResultsCount","SearchSidebar","openWithInfo","searchInputRef","searchResults","setLoading","showSearchInfo","setShowSearchInfo","findCategory","wizardData","parseInt","stack","pop","useProductCategory","focus","handleSearchResults","keyword","categorySearchResults","description","$isActive","Logo","Icon","Center","Right","LogoLink","LinkWrapper","LogoWrapper","InfoWrapper","StyledH1","H1","SearchButton","isHidden","InfoContainer","InfoIcon","MenuWrapper","Header","hideSearch","hideMenu","showDrawer","setShowDrawer","showSearch","setShowSearch","toggleDrawerMenu","toggleSearch","Drawer","Content","Page","props","Anchor","_excluded","_extends","assign","bind","i","arguments","source","prototype","hasOwnProperty","call","apply","this","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","SvgWarning","_ref","svgRef","titleId","xmlns","xmlnsXlink","x","y","viewBox","enableBackground","xmlSpace","d","fill","_polygon","_polygon2","ForwardRef","SvgCaution","points","_style","_path3","_rect","_rect2","_rect3","_rect4","_rect5","_path4","_rect6","_g2","_rect7","_rect8","_rect9","_polygon3","_g3","_polygon4","_polygon5","_polygon6","_rect10","_path5","_line","_line2","_circle","_circle2","_path6","_circle3","_circle4","_circle5","_line3","_path7","_path8","_path9","_path10","_polygon7","_polygon8","_polygon9","_polygon10","_polygon11","_polygon12","_g4","_polygon13","_g5","_polygon14","_polygon15","_polygon16","_g6","_polygon17","_polygon18","_polygon19","_polygon20","_polygon21","_polygon22","_path11","_ellipse","_ellipse2","_ellipse3","_ellipse4","_ellipse5","_ellipse6","_polygon23","_rect11","_rect12","_rect13","_polygon24","_polygon25","_polyline","_line4","_line5","_path12","_path13","_path14","_path15","_path16","_path17","_path18","_path19","_path20","_path21","_path22","_path23","_path24","_g7","_polyline2","_path25","_path26","_line6","_path27","_polyline3","_path28","_line7","_path29","_polyline4","_line8","_polyline5","_line9","_circle6","_path30","_path31","_path32","_path33","_path34","_path35","_circle7","_path36","_path37","_path38","_path39","_path40","_path41","_line10","_path42","_path43","_g8","_path44","_path45","_path46","_path47","_path48","_path49","_path50","_path51","_path52","_path53","_path54","_path55","_path56","_g9","_polyline6","_path57","_path58","_line11","_path59","_polyline7","_path60","_line12","_path61","_polyline8","_line13","_polyline9","_line14","_circle8","_path62","_path63","_path64","_path65","_circle9","_path66","_circle10","_circle11","_g10","_polygon26","_path67","_path68","_path69","_path70","_path71","_path72","_path73","_path74","_path75","_path76","_path77","_path78","_path79","_path80","_path81","_path82","_path83","_path84","_path85","_path86","_path87","_path88","_polyline10","_path89","_path90","_line15","_polyline11","_path91","_line16","_polyline12","_line17","_polyline13","_line18","_circle12","_path92","_path93","_path94","_g11","_g12","_circle13","_circle14","_g13","_g14","_circle15","_circle16","SvgNote","transform","height","cx","cy","rx","ry","x1","y1","x2","y2","r","fontFamily","fontSize","gradientUnits","offset","stopColor","stopOpacity","stroke","strokeWidth","strokeMiterlimit","overflow","opacity","xlinkHref","SvgDanger","SvgTip","getAttentionIcon","AttentionLabelWrapper","TextWrapper","AttentionLabel","span","IconWrapper","Attention","classes","attentionTypes","getType","Title","BrowseLink","Sidebar","RelatedContent","jsonRelations","portalId","relations","attribs","class","overview","useHotspot","hotspotId","useFetchHotspots","hotspot","setHotspot","lastIndexOf","HotspotPoint","left","parseFloat","top","pointSize","PopoverContent","PopoverLink","HotspotPopover","point","parentElement","opened","setOpened","align","onMouseEnter","onMouseLeave","text","containerStyle","borderRadius","maxWidth","HotspotImage","image","loaded","setLoaded","SwiperCore","use","Navigation","Pagination","OuterWrapper","StyledSwiper","Swiper","$isStartPage","NavigationItem","hide","Circle","Carousel","onIndexChange","itemsLength","isStartPage","setIndex","showCaret","setShowCaret","swiperRef","slideTo","isMobile","paddingRight","slidesPerView","centeredSlides","loop","pagination","onSlideChange","handleIndexChange","realIndex","navigation","prevEl","nextEl","onSwiper","swiper","Hotspot","imageMaps","justifyContent","TopicHotspot","isCarousel","blockIcon","Img","Medialist","H3","DefaultWrapper","ImageCaption","Text","Figure","FigureTitle","FaultCode","hasClass","Div","parent","Paragraph","divs","c","getMedialistCarouselData","ModalWindow","isPortrait","CloseIcon","RotateIcon","Modal","scrollStart","scrollEnd","isTableModal","onClose","handleLoad","setIsPortrait","addEventListener","offsetWidth","stopPropagation","onLoad","StartGradient","inModal","EndGradient","GridTableStyle","TableWrapper","grid","ExpanderIcon","findTableTagLength","part","cell","headRow","tr","th","Table","showModal","setShowModal","tableWidth","setTableWidth","setScrollStart","setScrollEnd","hideGradient","setHideGradient","useRef","tableRef","toggleModal","useCallback","handleModalLoad","onScroll","event","currentTarget","scrollLeft","scrollWidth","standard","baseListStyling","LegendStyle","AlphaLegendStyles","NumericLegendStyles","StepsStyle","Ul","Ol","ol","alphaLegend","numericLegend","steps","List","GuiStyle","StyledSpan","gui","Span","ActionWrapper","CarouselIndex","Procedure","carouselIndex","setCarouselIndex","Inner","PlayIcon","StyledVideo","video","Video","videoRef","isPlaying","setIsPlaying","videoData","setVideoData","posterSrc","poster","videoSrc","videoType","paused","play","pause","muted","preload","playsInline","onEnded","ExternalAnchor","StringToComponent","ReactComponent","setReactComponent","options","domToReact","startsWith","procedureData","isProcedureCarousel","step","stepData","info","figure","sub","substring","stepAction","stepInfo","getProcedureCarouselData","InactiveStyle","ButtonWrapper","secondary","inactive","icon","hasIcon","Space","FeedbackModal","trackEvent","handleFeedback","option","action","ThankYou","Feedback","setDisplayResponse","displayResponse","trackFeedback","feedbackType","_paq","clickHandler","feedbackProvided","TopicContent","useFetchTopic","useMetaTitle","ContentWrapper","Topic","trackPageView","siblings","currentTopicId","findSiblings","getSiblings","sibling","SearchbarWrapper","CategoryItems","CategoryItem","CategoryImage","TitleWithoutImage","Startpage","BreadcrumbsBackground","BackgroundGradient","BreadcrumbsWrapper","RelatedWrapper","StyledRelatedContent","Hotspots","Outer","LinksWrapper","HotspotWrapper","FeaturedItemWrapper","FeaturedItem","theLink","Home","featuredArticles","article","LinkItem","BrowseContent","parentNode","Browse","setTopLevelItem","ItemWrapper","Summary","browseItem","cursor","summary","SearchResultsTopic","hasResults","EmptyResults","EmptyProductResults","Search","initialLoad","setInitialLoad","setSearchTerm","AnchorLink","Hero","ComingSoonTitle","ComingSoonText","Wizard","setTopLevel","NotFound","App","enableLinkTracking","exact","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","QueryClient","defaultOptions","queries","staleTime","matomoInstance","createInstance","siteId","urlBase","ReactDOM","render","StrictMode","MatomoProvider","client","getElementById"],"mappings":"yMAwGeA,EAxGD,CACZC,OAAQ,CACNC,eAAgB,UAChBC,iBAAkB,UAClBC,gBAAiB,OACjBC,kBAAmB,UACnBC,oBAAqB,UACrBC,YAAa,UACbC,YAAa,UACbC,UAAW,UACXC,WAAY,UACZC,cAAe,UACfC,YAAa,OACbC,YAAa,OACbC,kBAAmB,UACnBC,gBAAiB,YACjBC,kBAAmB,UACnBC,aAAc,UACdC,iBAAkB,UAClBC,eAAgB,UAChBC,gBAAiB,UACjBC,iBAAkB,UAClBC,cAAe,UACfC,eAAgB,UAChBC,cAAe,UACfC,aAAc,UAEdC,UAAW,CACTC,QAAS,UACTC,YAAa,UACbC,MAAO,YAIXC,MAAO,CACLC,MAAO,OACPC,KAAM,OACNC,IAAK,OACLC,GAAI,OACJC,EAAG,OACHC,GAAI,OACJC,GAAI,OACJC,EAAG,OACHC,EAAG,OACHC,GAAI,OACJC,GAAI,MACJC,IAAK,MAC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BACA,kCACA,iCACA,8CACA,SAEF,cAAC,GAAM,MAET,cAAC,IAAK,CAACw1B,OAAK,EAACx1B,KAAM,cAAc,SAC/B,cAAC,GAAI,MAEP,cAAC,GAAQ,SAGb,qBAAK1C,GAAG,cCzDCm4B,GAZS,SAACC,GACnBA,GAAeA,aAAuBC,UACxC,8BAAqBl9B,MAAK,YAAkD,IAA/Cm9B,EAAM,EAANA,OAAQC,EAAM,EAANA,OAAQC,EAAM,EAANA,OAAQC,EAAM,EAANA,OAAQC,EAAO,EAAPA,QAC3DJ,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,O,oBCFR94B,GAAc,IAAIq5B,cAAY,CAClCC,eAAgB,CAAEC,QAAS,CAAEC,UAAW,IAAWnzB,OAAO,MAItDozB,GAAiBC,aAAe,CACrCC,OAAQ/lB,SAASxY,KACjBw+B,QAASx+B,qCAGVy+B,IAASC,OACP,cAAC,IAAMC,WAAU,UAClB,cAACC,GAAA,EAAc,CAAC/rB,MAAOwrB,GAAe,SACrC,cAAC,sBAAmB,CAACQ,OAAQj6B,GAAY,SACzC,cAAC,GAAG,UAIJ8K,SAASovB,eAAe,SAM1BrB,O","file":"static/js/main.ca0bf7a1.chunk.js","sourcesContent":["const theme = {\n colors: {\n elvitaDarkBlue: '#023E84',\n elvitaMediumGrey: '#49515B',\n elvitaTrueBlack: '#000',\n elvitaTableBorder: '#A0A0A0',\n elvitaWarningYellow: '#FFD442',\n elvitaBrown: '#5D5F56',\n elvitaGreen: '#47959F',\n elvitaRed: '#E52729',\n elvitaGray: '#707070',\n elvitaMidGray: '#DEE2E6',\n elvitaWhite: '#FFF',\n elvitaBlack: '#000',\n elvitaCautionBlue: '#8AA8D7',\n elvitaLightGray: '#49515B1A',\n elvitaLighterGray: '#F2F2F2',\n elvitaGray20: '#D3D5D8',\n elvitaListBorder: '#A7ACB0',\n elvitaDisabled: '#A1A1A1',\n elvitaWebPurple: '#522D6D',\n elvitaPurpleDark: '#291737',\n elvitaWebPink: '#C74781',\n elvitaWebBeige: '#F7F0E7',\n elvitaMagenta: '#E6007E',\n elvitaGrayBg: '#F1F1F1',\n\n infoTypes: {\n service: '#78C2DE',\n instruction: '#FBE400',\n parts: '#B9D3B7',\n },\n },\n\n space: {\n xxxxl: '65px',\n xxxl: '60px',\n xxl: '55px',\n xl: '40px',\n l: '34px',\n lg: '28px',\n md: '24px',\n m: '20px',\n s: '14px',\n sm: '12px',\n xs: '8px',\n xxs: '4px',\n xxxs: '3px',\n gutter: '20px',\n attention: '21px',\n table: '5px',\n },\n\n fontSizes: {\n xxxl: '48px',\n xxl: '36px',\n xl: '26px',\n l: '24px',\n ml: '20px',\n m: '16px',\n s: '14px',\n xxs: '13px',\n xxxs: '10px',\n },\n lineHeights: {\n l: '44px',\n m: '30px',\n s: '24px',\n xs: '20.7px',\n xsm: '19px',\n xxs: '18px',\n xxxs: '14px',\n xxxxs: '12px'\n },\n fonts: {\n regular: 'VAG-Black',\n bold: 'VAG-Bold',\n light: 'VAG-Light',\n },\n radii: {\n l: '10px',\n m: '6px',\n s: '4px',\n xs: '2px',\n },\n borderWidths: {\n xl: 6.42,\n l: 4,\n m: 2,\n s: 1,\n attention: 5,\n },\n sizes: {\n containerWide: '1280px',\n },\n screens: {\n l: '1025px',\n md: '768px',\n sm: '640px',\n },\n};\n\nexport type ThemeType = typeof theme;\n\nexport default theme;\n","import { create } from 'zustand';\nimport { persist } from 'zustand/middleware';\n\ninterface LanguageState {\n lang: string;\n setLang: (langCode: string) => void;\n}\n\nconst languageDomains = [\n { domainSuffix: 'dk', langCode: 'da-DK' },\n { domainSuffix: 'de', langCode: 'de-DE' },\n { domainSuffix: 'fi', langCode: 'fi-FI' },\n { domainSuffix: 'is', langCode: 'is-IS' },\n { domainSuffix: 'no', langCode: 'nb-NO' },\n { domainSuffix: 'se', langCode: 'sv-SE' },\n { domainSuffix: 'com', langCode: 'en-GB' },\n];\n\nexport const getDomainLanguage = () => {\n const currentHost = window.location.hostname;\n const hostArray = currentHost.split('.');\n const suffix = hostArray[hostArray.length - 1];\n\n const foundLang = languageDomains.find(lang => lang.domainSuffix === suffix);\n return foundLang ? foundLang.langCode : 'sv-SE';\n};\n\nexport const useLanguageStore = create()(\n persist(\n set => ({\n lang: getDomainLanguage(),\n setLang: langCode =>\n set(state => {\n if (languageDomains.find(lang => lang.langCode === langCode)) {\n return { lang: langCode };\n }\n }),\n }),\n {\n name: 'lang-storage',\n partialize(state) {\n return {\n lang: state.lang,\n };\n },\n },\n ),\n);\n","export default {\n videoPath: 'lodgestore/elvita/oi/videos/head',\n filePath: 'lodgestore/elvita/oi/',\n storageUrl: process.env.REACT_APP_STORAGE_URL,\n gaKey: process.env.REACT_APP_GA_KEY,\n searchUrl: process.env.REACT_APP_SEARCH_URL,\n implementation: process.env.REACT_APP_IMPLEMENTATION,\n contentVersion: process.env.REACT_APP_CONTENT_VERSION,\n imagesCdnUrl: process.env.REACT_APP_IMAGES_CDN_URL,\n};\n","import { useLanguageStore } from 'src/context/LanguageStore';\nimport * as React from 'react';\nimport { useQuery } from 'react-query';\nimport axios from 'axios';\nimport consts from 'src/config/consts';\n\nexport function useTranslation() {\n const lang = useLanguageStore(state => state.lang);\n const url = `/configs/strings_${lang}.json`;\n\n const { data } = useQuery<{ key: string } | Record>(\n ['strings', lang],\n () =>\n axios({\n method: 'get',\n url: url,\n baseURL: consts.storageUrl,\n }).then(response => {\n const returnData = {};\n Object.keys(response.data).map(key => {\n returnData[key.toLocaleLowerCase()] = response.data[key];\n });\n\n return returnData;\n }),\n { enabled: !!lang },\n );\n\n const t = React.useCallback(\n (key: string) => {\n if (data) {\n if (!data[key.toLocaleLowerCase()]) {\n return key;\n }\n return data[key.toLocaleLowerCase()];\n }\n },\n [data],\n );\n return { t };\n}\n","import * as React from 'react';\nimport { useParams } from 'react-router-dom';\nimport queryString from 'query-string';\n\nexport function useInternalLink() {\n const { productId } = useParams<{ productId: string }>();\n const { user } = queryString.parse(window.location.search);\n const userParam = user ? `?user=${user}` : '';\n\n const internalLink = React.useCallback(\n (url: string) => {\n return productId\n ? `/${productId}${url}${userParam}`\n : `${url}${userParam}`;\n },\n [productId, userParam],\n );\n\n return { internalLink };\n}\n","import * as React from 'react';\nimport styled from 'styled-components';\nimport { useTranslation } from '../hooks/useTranslation';\nimport { useInternalLink } from '../hooks/useInternalLink';\nimport { Link } from 'react-router-dom';\n\nconst Crumbs = styled.ul<{ inWizard?: boolean; inSearchResults?: boolean }>`\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n padding: ${({ theme, inWizard, inSearchResults }) =>\n inSearchResults || inWizard\n ? `${theme.space.xxs} 0 ${theme.space.xxs} ${theme.space.xxxs}`\n : `${theme.space.sm} 0 ${theme.space.m} ${theme.space.xs}`};\n margin: ${({ theme, inWizard }) => inWizard && `20px ${theme.space.xs} 0`};\n\n @media (max-width: ${({ theme }) => theme.screens.sm}) {\n margin: ${({ theme, inWizard }) => inWizard && `20px 0 0 0`};\n }\n\n @media (min-width: ${({ theme }) => theme.screens.md}) {\n padding-top: ${({ theme, inWizard, inSearchResults }) =>\n !inWizard && !inSearchResults && theme.space.m};\n margin: ${({ theme, inWizard }) => inWizard && `20px 0 0 0`};\n }\n\n @media (min-width: ${({ theme }) => theme.screens.l}) {\n padding-top: ${({ theme, inWizard, inSearchResults }) =>\n !inWizard && !inSearchResults && theme.space.md};\n margin: ${({ theme, inWizard }) =>\n inWizard && `${theme.space.md} ${theme.space.m} 0`};\n }\n`;\n\nconst Crumb = styled.li`\n font-family: ${({ theme }) => theme.fonts.light};\n font-size: 11px;\n\n letter-spacing: 0.05em;\n color: ${({ theme }) => theme.colors.elvitaTrueBlack};\n text-transform: uppercase;\n padding: ${({ theme }) => `0 ${theme.space.xxs}`};\n\n &:nth-child(2n) {\n padding: 0;\n }\n`;\n\nconst A = styled(Link)<{ $current: boolean; $hideLast: boolean }>`\n cursor: ${({ $current, $hideLast }) =>\n $current && !$hideLast ? 'initial' : 'pointer'};\n color: ${({ $current, $hideLast, theme }) =>\n $current && !$hideLast && theme.colors.elvitaGray};\n pointer-events: ${({ $current, $hideLast }) =>\n $current && !$hideLast && 'none'};\n &:hover {\n color: ${({ theme }) => theme.colors.elvitaWebPink};\n }\n`;\n\nconst SearchResultCrumb = styled.li`\n font-family: ${({ theme }) => theme.fonts.light};\n font-size: 9px;\n line-height: 10.8px;\n letter-spacing: 0.05em;\n color: ${({ theme }) => theme.colors.elvitaPurpleDark};\n\n &:first-child {\n padding-left: ${({ theme }) => theme.space.xxs};\n }\n`;\n\ntype BreadcrumbsProps = {\n breadcrumbs?: Elvita.BreadCrumb[];\n inWizard?: boolean;\n hideLast?: boolean;\n inSearchResult?: boolean;\n};\n\nconst Breadcrumbs: React.FC = ({\n breadcrumbs = [],\n inWizard,\n hideLast,\n inSearchResult,\n}) => {\n const { t } = useTranslation();\n const { internalLink } = useInternalLink();\n const listRef = React.useRef(null);\n const crumbs: Elvita.BreadCrumb[] = !inSearchResult\n ? [{ label: t('breadcrumbs.home') ?? 'Start', url: '/' }, ...breadcrumbs]\n : breadcrumbs;\n\n if (inSearchResult) {\n if (\n breadcrumbs.length < 1 ||\n !breadcrumbs.every(el => el.label.length > 0)\n ) {\n return null;\n }\n\n return (\n \n {crumbs.map((crumb, index) => (\n \n {crumb.label}\n {breadcrumbs.length !== index + 1 && (\n /\n )}\n \n ))}\n \n );\n }\n\n return (\n \n {crumbs.map((crumb, index) => (\n \n \n \n {crumb.label}\n \n \n {(breadcrumbs.length !== index || hideLast) && /}\n \n ))}\n \n );\n};\nexport default Breadcrumbs;\n","import styled from 'styled-components';\n\nexport const MainContent = styled.div`\n width: 100%;\n align-self: center;\n margin: 10px;\n`;\n","import styled from 'styled-components';\n\nexport const PageContentRow = styled.div<{ center?: boolean }>`\n display: flex;\n width: 100%;\n position: relative;\n justify-content: ${({ center }) => center && 'center'};\n flex-direction: column;\n\n @media (min-width: ${({ theme }) => theme.screens.l}) {\n flex-direction: row;\n }\n`;\n","import { useLanguageStore } from 'src/context/LanguageStore';\nimport { useQuery, UseBaseQueryResult, useQueryClient } from 'react-query';\nimport axios from 'axios';\nimport { useParams } from 'react-router-dom';\nimport consts from 'src/config/consts';\n\ntype HomepageResponse = {\n data: Elvita.HomePageData;\n status: number;\n lastModified: string;\n};\n\nexport function useFetchStartPage() {\n const { data: productConfig, isLoading, isError } = useProductConfig();\n const manifestId = productConfig?.ManifestId;\n\n const query = useQuery(\n ['startpage', manifestId],\n () =>\n axios({\n method: 'get',\n url: `/manifests/${manifestId}/startpage.json`,\n baseURL: consts.storageUrl,\n })\n .then(response => {\n return {\n data: response.data,\n status: response.status,\n lastModified: response.headers['last-modified'],\n };\n })\n .catch(error => error.response),\n { enabled: !!manifestId },\n );\n\n return {\n ...query,\n isError: isError || query.isError,\n isLoading: isLoading || query.isLoading,\n };\n}\n\nexport function useFetchSettings() {\n const { data: productConfig } = useProductConfig();\n const manifestId = productConfig?.ManifestId;\n\n return useQuery(\n ['settings', manifestId],\n () =>\n axios({\n method: 'get',\n url: `/manifests/${manifestId}/settings.json`,\n baseURL: consts.storageUrl,\n })\n .then(response => response.data)\n .catch(error => error.response),\n { enabled: !!manifestId },\n );\n}\n\ntype BrowseResponse = { data: Elvita.Node[]; status: number };\n\nexport function useFetchBrowse(): UseBaseQueryResult {\n const { data: productConfig } = useProductConfig();\n const manifestId = productConfig?.ManifestId;\n\n return useQuery(\n ['browse', manifestId],\n () =>\n axios({\n method: 'get',\n url: `/manifests/${manifestId}/browse.json`,\n baseURL: consts.storageUrl,\n })\n .then(response => {\n return { data: response.data, status: response.status };\n })\n .catch(error => error.response),\n { enabled: !!manifestId },\n );\n}\n\ntype TopicResponse = { data: string; status: number };\n\nexport function useFetchTopic(\n topicId: string,\n): UseBaseQueryResult {\n const { data: productConfig } = useProductConfig();\n const manifestId = productConfig?.ManifestId;\n\n return useQuery(\n ['topic', manifestId, topicId],\n () =>\n axios({\n method: 'get',\n url: `/manifests/${manifestId}/html/${topicId}.html`,\n baseURL: consts.storageUrl,\n })\n .then(response => {\n return { data: response.data, status: response.status };\n })\n .catch(error => error.response),\n { enabled: !!manifestId && !!topicId },\n );\n}\n\nexport function useFetchHotspots(): UseBaseQueryResult {\n const { data: productConfig } = useProductConfig();\n const manifestId = productConfig?.ManifestId;\n\n return useQuery(\n ['hotspots', manifestId],\n () =>\n axios({\n method: 'get',\n url: `/manifests/${manifestId}/hotspots.json`,\n baseURL: consts.storageUrl,\n })\n .then(response => response.data)\n .catch(error => error.response),\n { enabled: !!manifestId },\n );\n}\n\ntype WizardStructureResponse = { data: Elvita.WizardItem[]; status: number };\n\nexport function useFetchWizardStructure(): UseBaseQueryResult {\n const lang = useLanguageStore(state => state.lang);\n\n return useQuery(\n ['wizard', lang],\n () =>\n axios({\n method: 'get',\n url: `/configs/wizard_${lang}.json`,\n baseURL: consts.storageUrl,\n })\n .then(response => {\n return { data: response.data, status: response.status };\n })\n .catch(error => error.response),\n { enabled: !!lang },\n );\n}\n\nexport function useFetchMenu(): UseBaseQueryResult {\n const { data: productConfig } = useProductConfig();\n const manifestId = productConfig?.ManifestId;\n\n return useQuery(\n ['main-menu', manifestId],\n () =>\n axios({\n method: 'get',\n url: `/manifests/${manifestId}/menu.json`,\n baseURL: consts.storageUrl,\n })\n .then(response => response.data)\n .catch(error => error.response),\n { enabled: !!manifestId },\n );\n}\n\nconst getProductConfigs = async () => {\n const response = await axios({\n method: 'get',\n url: `/configs/productconfigs.json`,\n baseURL: consts.storageUrl,\n });\n return response.data as Elvita.ProductConfigItem[];\n};\n\nexport function useProductConfigs(): UseBaseQueryResult<\n Elvita.ProductConfigItem[]\n> {\n return useQuery(['product-configs'], () =>\n getProductConfigs(),\n );\n}\n\nexport function useProductConfig(): UseBaseQueryResult {\n const { productId } = useParams<{ productId: string }>();\n const queryClient = useQueryClient();\n\n return useQuery(\n ['product-configs', productId],\n async () => {\n const res = await getProductConfigs();\n queryClient.setQueryData('product-configs', res);\n const productConfig = res.find(item => item.ProductId === productId);\n if (!productConfig) {\n throw new Error('Product not found');\n }\n return productConfig;\n },\n {\n enabled: !!productId,\n initialData: () =>\n queryClient\n .getQueryData('product-configs')\n ?.find(item => item.ProductId === productId),\n },\n );\n}\n","export function getItemTitle(\n id: string,\n data: Elvita.WizardItem[],\n parentId: string | undefined,\n): string {\n if (data) {\n const topLevelId = parentId ?? id;\n const topLevel = data.find(item => item.id === topLevelId);\n\n if (!parentId && topLevel) {\n return topLevel?.title;\n }\n\n return topLevel?.children.find(child => child.id === id)?.title ?? '';\n }\n\n return '';\n}\n\n/* eslint-disable-next-line @typescript-eslint/no-explicit-any */\nexport function isWizard(item: any): item is Elvita.WizardItem {\n return item.id !== undefined;\n}\n\n/* eslint-disable-next-line @typescript-eslint/no-explicit-any */\nexport function isProduct(item: any): item is Elvita.Product {\n return item.validity !== undefined;\n}\n","import { isWizard } from './wizard';\n\nfunction buildLink(\n hasChildren: boolean,\n topLevel: string,\n nodeId: string,\n child: Elvita.Node | Elvita.WizardItem,\n): string {\n if (isWizard(child)) {\n return `/wizard/${topLevel}/${nodeId}`;\n }\n return hasChildren\n ? `/browse/${topLevel}/${nodeId}`\n : `/${topLevel}/topics/${nodeId}`;\n}\n\nfunction getCrumbs(\n child: Elvita.Node | Elvita.WizardItem,\n topicId: string,\n topLevel: string,\n) {\n const breadCrumbTitle = isWizard(child)\n ? child.id\n : child.title?.replace(/ /g, '');\n const title = isWizard(child) ? child.id : child.title;\n const nodeId = isWizard(child) ? child.id : child.topicId;\n\n const breadcrumbs = {\n [breadCrumbTitle]: [\n {\n label: title,\n url: buildLink(\n child.children && child.children.length > 0,\n topLevel,\n nodeId,\n child,\n ),\n },\n ],\n };\n\n let currentNode: Elvita.Node | Elvita.WizardItem = isWizard(child)\n ? child.id === topicId && child\n : child.topicId === topicId && child;\n\n function recurse(childNode: Elvita.Node | Elvita.WizardItem) {\n const children = childNode.children;\n\n for (const key in children) {\n const currentChild = children[key];\n\n if (\n (isWizard(currentChild) ? currentChild.id : currentChild.topicId) ===\n topicId\n ) {\n currentNode = children[key];\n }\n const childNodeId = isWizard(currentChild)\n ? currentChild.id\n : currentChild.topicId;\n const childNodeTitle = isWizard(childNode)\n ? childNode.id\n : childNode.title;\n\n if (breadcrumbs[breadCrumbTitle] && childNodeId === topicId) {\n if (\n !breadcrumbs[breadCrumbTitle].find(b => b.label === childNodeTitle)\n ) {\n breadcrumbs[breadCrumbTitle].push({\n label: childNodeTitle,\n url: childNode.children\n ? `/browse/${topLevel}/${childNodeId}`\n : `/${topLevel}/topics/${childNodeId}`,\n });\n }\n\n const childrenNodeTitle = isWizard(currentChild)\n ? currentChild.id\n : currentChild.title;\n\n breadcrumbs[breadCrumbTitle].push({\n label: childrenNodeTitle,\n url: children[key].children\n ? `/browse/${topLevel}/${childNodeId}`\n : `/${topLevel}/topics/${childNodeId}`,\n });\n }\n\n recurse(children[key]);\n }\n }\n\n if (\n isWizard(child)\n ? child.children && child.id !== topicId\n : child.children && child.topicId !== topicId\n ) {\n recurse(child);\n }\n\n return { breadcrumbs: breadcrumbs[breadCrumbTitle], currentNode };\n}\n\nexport function getChildren(\n data: Elvita.Node,\n childId: string,\n topLevel?: string,\n): { nodeData: Elvita.Node | undefined; breadcrumbs: Elvita.BreadCrumb[] } {\n let node = {\n currentNode: undefined,\n breadcrumbs: [],\n };\n\n data.children.map(child => {\n const { currentNode, breadcrumbs } = getCrumbs(child, childId, topLevel);\n if (currentNode) {\n node = { currentNode, breadcrumbs };\n }\n });\n\n return { nodeData: node.currentNode, breadcrumbs: node.breadcrumbs };\n}\n\nexport function getSiblings(\n currentTopicId: string,\n browseList: Elvita.Node,\n): Elvita.Node[] | [] {\n if (!browseList || !browseList.children || browseList.children.length < 1) {\n return [];\n }\n\n const siblings: Elvita.Node[] = [];\n\n const findSiblings = (\n currentTopicId: string,\n browseList: Elvita.Node,\n ): void => {\n browseList.children.forEach(child => {\n if (child && child.children) {\n findSiblings(currentTopicId, child);\n }\n\n if (child.topicId === currentTopicId) {\n browseList.children.map(c => {\n siblings.push(c);\n });\n }\n });\n };\n\n findSiblings(currentTopicId, browseList);\n return siblings;\n}\n\nexport function getCurrentBrowseItem(\n browseList: Elvita.Node[],\n currentId: string,\n): {\n topLevelItem: Elvita.Node | undefined;\n currentBrowseItem: Elvita.Node | undefined;\n} {\n if (!browseList) {\n return undefined;\n }\n const list = browseList[0]?.children ?? [];\n let currentBrowseItem: Elvita.Node;\n let topLevelItem: Elvita.Node;\n\n list.forEach(topItem => {\n const searchBrowseTree = (browse: Elvita.Node[]): void => {\n browse.forEach(entry => {\n if (entry.topicId === currentId) {\n topLevelItem = topItem;\n currentBrowseItem = entry;\n } else {\n if (entry.children) {\n searchBrowseTree(entry.children);\n }\n }\n });\n };\n\n searchBrowseTree(topItem.children);\n });\n\n return { topLevelItem, currentBrowseItem };\n}\n","import * as React from 'react';\nimport { isWizard } from '../helpers/wizard';\nimport { getChildren } from '../helpers/node';\n\ntype NodeProps = {\n node: Elvita.Node | Elvita.WizardItem | undefined;\n breadcrumbs?: Elvita.BreadCrumb[];\n};\n\nexport function useNodes(\n data: Elvita.Node | Elvita.WizardItem | undefined,\n childId: string,\n path: string,\n label?: string,\n): NodeProps {\n const [node, setNode] = React.useState({\n node: undefined,\n breadcrumbs: [],\n });\n\n React.useEffect(() => {\n const setBredcrumbs = data => {\n const pathBreadcrumb = {\n label: label,\n url: isWizard(data) ? `/wizard/${path}` : `/browse/${path}`,\n };\n\n if (childId) {\n const { nodeData, breadcrumbs } = getChildren(data, childId, path);\n setNode({\n node: nodeData,\n breadcrumbs: [pathBreadcrumb, ...breadcrumbs],\n });\n } else {\n setNode({ node: data, breadcrumbs: [pathBreadcrumb] });\n }\n };\n\n if (data !== undefined) {\n setBredcrumbs(data);\n }\n }, [data, childId, path, label]);\n\n return { node: node.node, breadcrumbs: node.breadcrumbs };\n}\n","import * as React from 'react';\nimport styled, { css } from 'styled-components';\n\nconst withRelatedContentStyles = css`\n flex-direction: row;\n flex: unset;\n`;\n\nconst Wrapper = styled.div<{\n as?: 'main' | 'header' | 'footer';\n flex: number;\n alignSelf: string;\n spaceBetween: boolean;\n withRelatedContent: boolean;\n noPadding: boolean;\n hasGradientBackground: boolean;\n}>`\n max-width: ${({ theme }) => theme.sizes.containerWide};\n width: 100%;\n display: flex;\n align-self: ${({ alignSelf }) => (alignSelf ? alignSelf : 'center')};\n flex-direction: column;\n flex: ${({ flex }) => flex && flex};\n padding: ${({ theme, noPadding }) => !noPadding && `0 ${theme.space.s}`};\n justify-content: ${({ spaceBetween }) =>\n spaceBetween ? 'space-between' : 'flex-start'};\n position: relative;\n\n @media (max-width: ${({ theme }) => theme.screens.md}) {\n position: ${({ as }) => as === 'header' && 'sticky'};\n top: ${({ as }) => as === 'header' && 0};\n z-index: ${({ as }) => as === 'header' && 100};\n }\n\n background-color: #fff;\n ${({ hasGradientBackground }) =>\n hasGradientBackground &&\n `\n background-size: 100% 451px;\n background-repeat: no-repeat;\n background-image: linear-gradient(180deg, #F2F2F2 0%, #DEE2E6 76.04%, rgba(242, 242, 242, 0) 100%);\n `}\n\n box-shadow: rgb(0 0 0 / 25%) 0px 0px 10px -8px;\n\n @media (min-width: ${({ theme }) => theme.screens.l}) {\n justify-content: flex-start;\n padding: 0;\n\n ${({ withRelatedContent }) =>\n withRelatedContent && withRelatedContentStyles};\n }\n`;\n\ntype PageContentWrapperProps = {\n type?: 'main' | 'header' | 'footer';\n flex?: number;\n alignSelf?: 'flex-start';\n spaceBetween?: boolean;\n withRelatedContent?: boolean;\n noPadding?: boolean;\n};\n\nconst PageContentWrapper: React.FC = ({\n type = 'main',\n children,\n flex,\n alignSelf,\n spaceBetween,\n withRelatedContent,\n noPadding,\n}) => {\n return (\n \n {children}\n \n );\n};\n\nexport default PageContentWrapper;\n","import axios from 'axios';\nimport { format } from 'date-fns';\nimport * as React from 'react';\nimport { useQueries, useQuery } from 'react-query';\nimport { useParams } from 'react-router-dom';\nimport { Popover } from 'react-tiny-popover';\nimport { getDomainLanguage, useLanguageStore } from 'src/context/LanguageStore';\nimport {\n useFetchStartPage,\n useProductConfig,\n useProductConfigs,\n} from 'src/hooks/useFetchData';\nimport { useTranslation } from 'src/hooks/useTranslation';\nimport styled from 'styled-components';\nimport { MainContent } from './layout/MainContent';\nimport PageContentWrapper from './layout/PageContentWrapper';\nimport { Link } from 'react-router-dom';\nimport consts from 'src/config/consts';\n\nconst StyledMainContent = styled(MainContent)`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n`;\n\nconst Row = styled.div`\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 100%;\n`;\n\nconst LowerRow = styled.div`\n width: 55%;\n padding: 20px;\n justify-content: space-between;\n display: flex;\n @media (max-width: ${({ theme }) => theme.screens.sm}) {\n width: 100%;\n }\n`;\n\nconst LeftContent = styled.div`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 4px;\n`;\n\nconst RightContent = styled.div`\n /* padding-bottom: 10px; */\n`;\n\nconst ExternalLink = styled.a`\n font-family: ${({ theme }) => theme.fonts.light};\n font-size: ${({ theme }) => theme.fontSizes.xxs};\n line-height: 12px;\n color: ${({ theme }) => theme.colors.elvitaWebPurple};\n`;\n\nconst CopyrightText = styled.p`\n font-size: 10px;\n line-height: 12px;\n color: ${({ theme }) => theme.colors.elvitaGray};\n`;\n\nconst Button = styled.button`\n border-width: 1px;\n border-color: ${({ theme }) => theme.colors.elvitaWebPurple};\n border-radius: 6px;\n padding: 6px 8px 5px;\n`;\n\nconst A = styled.a`\n display: flex;\n font-size: 12px;\n line-height: 14px;\n color: ${({ theme }) => theme.colors.elvitaWebPurple};\n`;\n\nconst CaretIcon = styled.img`\n width: 6px;\n height: 12px;\n transform: rotate(180deg);\n margin-left: ${({ theme }) => theme.space.xs};\n`;\n\nconst languageCollection = [\n { code: 'en-GB', name: 'English' },\n { code: 'sv-SE', name: 'Svenska' },\n { code: 'nb-NO', name: 'Norsk' },\n { code: 'da-DK', name: 'Dansk' },\n { code: 'fi-FI', name: 'Suomi' },\n { code: 'is-IS', name: 'íslenska' },\n { code: 'de-DE', name: 'Deutsch' },\n];\n\nconst countryCollection = [{ code: 'sv-SE', name: 'Sverige' }];\n\nconst useLanguages = () => {\n const { data: productConfigs, isLoading: manyLoading } = useProductConfigs();\n const { data: productConfig, isLoading: singleLoading } = useProductConfig();\n const ktyValidity = productConfig?.KtyValidity;\n\n let languageList = [] as {\n productId: string;\n langName: string;\n langCode: string;\n manifestId: string;\n }[];\n\n if (ktyValidity > 0 && productConfigs && productConfig) {\n // Filter productconfigs on KtyValidity\n const filteredProductConfigs = productConfigs?.filter(\n productConfig => productConfig.KtyValidity === ktyValidity,\n );\n\n languageList = filteredProductConfigs?.map(productConfig => {\n const langObj = languageCollection.find(\n language => language.code === productConfig.Lang,\n );\n if (!langObj) return undefined;\n return {\n productId: productConfig.ProductId,\n langName: langObj.name,\n langCode: langObj.code,\n manifestId: productConfig.ManifestId,\n };\n });\n }\n //filter out undefined from languagelist\n const filteredLanguageList = languageList.filter(\n language => language !== undefined,\n );\n const startPageQueries = useQueries(\n filteredLanguageList?.map(lang => {\n return {\n queryKey: ['langDropdown', lang.manifestId],\n queryFn: () =>\n axios({\n method: 'get',\n url: `/manifests/${lang.manifestId}/startpage.json`,\n baseURL: consts.storageUrl,\n }).then(response => response.data),\n enabled: !!lang.manifestId && filteredLanguageList?.length > 0,\n retry: false,\n retryOnMount: false,\n select: () => {\n return {\n langName: lang.langName,\n langCode: lang.langCode,\n productId: lang.productId,\n };\n },\n };\n }),\n );\n\n const isLoading =\n startPageQueries.some(result => result.isLoading) ||\n manyLoading ||\n singleLoading;\n\n if (isLoading) return null;\n\n const availableProducts = startPageQueries\n .map(result => {\n if (result.isError) return null;\n return {\n languageLabel: result.data.langName,\n link: `/${result.data.productId}`,\n languageCode: result.data.langCode,\n };\n })\n .filter(product => product !== null);\n\n if (availableProducts.length === 0 && productConfig === undefined) {\n // return all languages\n return languageCollection.map(language => {\n return {\n languageLabel: language.name,\n link: '',\n languageCode: language.code,\n };\n });\n }\n\n return availableProducts;\n};\n\nconst LinkRow = styled.div`\n justify-content: center;\n display: flex;\n align-items: center;\n padding: 14px 0;\n\n @media (max-width: ${({ theme }) => theme.screens.md}) {\n margin: 0;\n }\n`;\n\nconst Links = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 20px;\n @media (min-width: ${({ theme }) => theme.screens.l}) {\n width: 55%;\n }\n`;\n\nconst PublishedDate = styled.p`\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: flex-start;\n font-size: 10px;\n color: #bdbdbd;\n margin: 0 0 5px 0;\n`;\n\nconst CurrentLanguage = styled.div`\n display: flex;\n align-items: center;\n gap: 4px;\n`;\n\nconst CountryParagraph = styled.p`\n font-family: ${({ theme }) => theme.fonts.light};\n font-size: ${({ theme }) => theme.fontSizes.xxs};\n line-height: ${({ theme }) => theme.lineHeights.xxxxs};\n padding-top: 2px;\n color: ${({ theme }) => theme.colors.elvitaBlack};\n`;\n\nconst LanguageButton = styled.button<{ $active: boolean }>`\n display: flex;\n border-width: 1px;\n border-color: ${({ theme }) => theme.colors.elvitaWebPurple};\n border-radius: 4px;\n padding: 3px 10px;\n gap: 4px;\n background-color: ${({ theme, $active }) =>\n $active ? theme.colors.elvitaWhite : theme.colors.elvitaWebPurple};\n`;\n\nconst LanguageButtonText = styled.p<{ $active: boolean }>`\n font-family: ${({ theme }) => theme.fonts.light};\n font-size: ${({ theme }) => theme.fontSizes.xxs};\n line-height: ${({ theme }) => theme.lineHeights.xxxs};\n padding-top: 1px;\n\n color: ${({ theme, $active }) =>\n $active ? theme.colors.elvitaWebPurple : theme.colors.elvitaWhite};\n`;\nconst LinkText = styled.a`\n font-family: ${({ theme }) => theme.fonts.light};\n font-size: ${({ theme }) => theme.fontSizes.xxs};\n line-height: ${({ theme }) => theme.lineHeights.xxxs};\n padding-top: 2px;\n color: ${({ theme }) => theme.colors.elvitaWhite};\n`;\n\nconst StyledLanguageList = styled.ul`\n padding: 16px;\n width: 157px;\n border-radius: 7px;\n box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.25);\n position: relative;\n background-color: ${({ theme }) => theme.colors.elvitaWhite};\n`;\n\nconst LanguageListItem = styled.li`\n margin-top: 16px;\n &:first-child {\n margin-top: 0;\n }\n`;\n\nconst LanguageLink = styled(Link)`\n display: flex;\n align-items: center;\n gap: 9px;\n cursor: pointer;\n`;\n\nconst LanguageText = styled.p`\n font-size: ${({ theme }) => theme.fontSizes.m};\n line-height: ${({ theme }) => theme.lineHeights.xsm};\n color: ${({ theme }) => theme.colors.elvitaPurpleDark};\n`;\n\nconst EmailGroup = styled.div`\n display: flex;\n align-items: center;\n gap: 4px;\n`;\n\nconst EmailText = styled.a`\n font-size: ${({ theme }) => theme.fontSizes.xxs};\n padding-top: 1px;\n line-height: ${({ theme }) => theme.lineHeights.xxxs};\n color: ${({ theme }) => theme.colors.elvitaWhite};\n text-decoration: none;\n`;\n\nconst PdfLink = styled.a`\n display: flex;\n align-items: center;\n gap: 4px;\n`;\n\nconst SelectedLanguageBall = styled.div<{ $active: boolean }>`\n background-color: transparent;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background-color: ${({ theme, $active }) =>\n $active && theme.colors.elvitaWebPurple};\n`;\n\nconst BackgroundWrapper = styled.div`\n background-color: ${({ theme }) => theme.colors.elvitaWebPurple};\n width: 100%;\n`;\n\nconst LanguageList: React.FC = () => {\n const lang = useLanguageStore(state => state.lang);\n const setLang = useLanguageStore(state => state.setLang);\n const { productId } = useParams<{ productId: string }>();\n const languages = useLanguages();\n\n if (!languages && productId) return null;\n\n return (\n \n {languages?.map(language => (\n setLang(language.languageCode) : null\n }\n >\n \n \n {language.languageLabel}\n \n \n ))}\n \n );\n};\n\nexport function useFetchFooter() {\n const { data: productConfig } = useProductConfig();\n const manifestId = productConfig?.ManifestId;\n\n return useQuery(\n ['pdf-footer', manifestId],\n () =>\n axios({\n method: 'get',\n url: `/manifests/${manifestId}/footer.json`,\n baseURL: consts.storageUrl,\n })\n .then(response => response.data)\n .catch(error => error.response),\n { enabled: !!manifestId },\n );\n}\n\nconst Footer: React.FC = () => {\n const { t } = useTranslation();\n const lang = useLanguageStore(state => state.lang);\n const { data } = useFetchStartPage();\n const { data: footerData } = useFetchFooter();\n const lastModified = data\n ? format(new Date(data.lastModified), 'yyyyMMdd')\n : null;\n\n const currentYear = new Date().getFullYear();\n\n const copyrightText = (\n t('footer.copyrightText') ?? `© _YEAR_ Elvita`\n ).replace(/_YEAR_/g, currentYear.toString());\n\n const languageName = languageCollection.find(\n language => language.code === lang,\n )?.name;\n\n let country = 'Sverige';\n const domainLang = getDomainLanguage();\n if (domainLang) {\n country = countryCollection.find(\n language => language.code === domainLang,\n ).name;\n }\n\n const [languageSelectorOpen, setLanguageSelectorOpen] = React.useState(false);\n\n return (\n \n \n \n \n \n }\n onClickOutside={() => setLanguageSelectorOpen(false)}\n >\n setLanguageSelectorOpen(true)}\n $active={languageSelectorOpen}\n >\n \n \n {languageName}\n \n \n \n {footerData &&\n Array.isArray(footerData) &&\n footerData.map(item => (\n \n \n {'PDF manual'}\n \n ))}\n \n \n \n {t('footer.infoEmailLink')}\n \n \n \n \n \n\n \n \n \n \n \n {country}\n \n\n \n {t('footer.privacyPolicy')}\n \n {copyrightText}\n \n \n \n {data ? `Publ. ${lastModified}` : ''}\n \n \n \n \n \n \n \n );\n};\n\nexport default Footer;\n","import { useInternalLink } from '../hooks/useInternalLink';\nimport { useTopLevelFromMapfile } from './search';\nimport { getCurrentBrowseItem } from './node';\n\nexport function useSearchLink(item: Elvita.SearchResultDocument): {\n link: string;\n title: string | undefined;\n} {\n const { internalLink } = useInternalLink();\n const topLevelData = useTopLevelFromMapfile(item.mapfile);\n const isBrowseItem = item.topicType === 'sub-category';\n\n return {\n link: isBrowseItem\n ? internalLink(\n `/${topLevelData ? `browse/${topLevelData?.topicId}/` : 'browse/'}${\n item.topicId\n }`,\n )\n : internalLink(\n `/${topLevelData ? `${topLevelData?.topicId}/topics/` : 'topics/'}${\n item.topicId\n }`,\n ),\n title: topLevelData?.title ?? undefined,\n };\n}\n\nexport function useLinkFromId(data: Elvita.Node[], id: string) {\n const { internalLink } = useInternalLink();\n const currentItem = getCurrentBrowseItem(data, id);\n let link: string;\n\n if (\n currentItem?.currentBrowseItem &&\n currentItem?.currentBrowseItem?.children\n ) {\n link = `/browse/${currentItem?.topLevelItem.topicId}/${id}`;\n } else {\n if (\n id.slice(0, 1) === 'S' &&\n !currentItem?.currentBrowseItem &&\n !currentItem?.topLevelItem\n ) {\n link = `/browse/${id}`;\n } else {\n link = `/${\n currentItem?.topLevelItem\n ? `${currentItem.topLevelItem.topicId}/topics`\n : 'topics'\n }/${id}`;\n }\n }\n\n return internalLink(link);\n}\n\nexport function isActive(topicId: string, pathname: string): boolean {\n return pathname.split('/').length > 2\n ? pathname.split('/').includes(topicId)\n : false;\n}\n","import { useInternalLink } from 'src/hooks/useInternalLink';\nimport { useLinkFromId } from './link';\nimport consts from '../config/consts';\n\nexport function useLink(\n item: Elvita.HomePageLink | Elvita.MenuItem,\n topicId: string,\n data: Elvita.Node[],\n): string {\n let link: string;\n const { internalLink } = useInternalLink();\n const idLink = useLinkFromId(data, item.target);\n\n if (topicId === item.target) {\n // Item target is current product\n return internalLink('/browse');\n }\n\n switch (item.type) {\n case 'browse':\n link = internalLink(`/browse/${item.target}`);\n break;\n case 'topic':\n link = idLink;\n break;\n case 'file':\n link = `${consts.storageUrl}${consts.filePath}${item.target}`;\n break;\n\n default:\n link = '';\n break;\n }\n\n return link;\n}\n","import * as React from 'react';\nimport { useLink } from '../helpers/menu';\nimport { useFetchBrowse } from '../hooks/useFetchData';\nimport styled from 'styled-components';\nimport { Link, useLocation, useParams } from 'react-router-dom';\nimport { isActive } from '../helpers/link';\n\nconst StyledLink = styled(Link)<{ $active?: boolean }>`\n display: flex;\n align-items: center;\n font-family: ${({ theme, $active }) =>\n $active ? theme.fonts.bold : theme.fonts.light};\n`;\n\ntype MenuLinkProps = {\n item: Elvita.MenuItem;\n};\n\nconst MenuLink: React.FC = ({ item, children }) => {\n const { pathname } = useLocation();\n const { productId } = useParams<{ productId: string }>();\n const { error, data } = useFetchBrowse();\n const link = useLink(item, data?.data[0].topicId, data?.data);\n\n if (error) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nexport default MenuLink;\n","import * as React from 'react';\nimport { createPortal } from 'react-dom';\n\ntype PortalProps = {\n children: React.ReactChild;\n id: string;\n className?: string;\n};\n\nexport default function Portal({ children, id, className }: PortalProps) {\n const ref = React.useRef(null);\n const [mounted, setMounted] = React.useState(false);\n\n React.useEffect(() => {\n ref.current = document.querySelector(id);\n className && ref.current.classList.add(className);\n setMounted(true);\n }, [id, className]);\n\n return mounted && ref.current ? createPortal(children, ref.current) : null;\n}\n","import * as React from 'react';\nimport { Link, useLocation, useParams } from 'react-router-dom';\nimport { useFetchMenu } from 'src/hooks/useFetchData';\nimport { useTranslation } from 'src/hooks/useTranslation';\nimport styled from 'styled-components';\nimport MenuLink from './MenuLink';\nimport Portal from './Portal';\n\nconst Wrapper = styled.div`\n display: flex;\n position: fixed;\n height: 100%;\n align-self: center;\n justify-content: flex-end;\n top: 0;\n z-index: 999;\n`;\n\nconst InnerWrapper = styled.div`\n display: flex;\n flex-direction: column;\n background-color: ${({ theme }) => theme.colors.elvitaWebBeige};\n width: 270px;\n padding: 6px;\n`;\n\nconst BackIcon = styled.img`\n width: 44px;\n align-self: flex-end;\n cursor: pointer;\n`;\n\nconst Menu = styled.ul`\n padding: ${({ theme }) => `${theme.space.md} ${theme.space.l} `};\n`;\n\nconst MenuItem = styled.li`\n padding: ${({ theme }) => `${theme.space.xxs} 0`};\n\n &:first-child {\n padding-top: 0;\n }\n`;\n\nconst Label = styled.div`\n font-size: ${({ theme }) => theme.fontSizes.s};\n line-height: 16.8px;\n letter-spacing: 0.05em;\n color: ${({ theme }) => theme.colors.elvitaTrueBlack};\n padding-left: ${({ theme }) => theme.space.xs};\n`;\n\nconst StartLink = styled(Link)<{ $active?: boolean }>`\n font-family: ${({ theme, $active }) =>\n $active ? theme.fonts.bold : theme.fonts.light};\n`;\n\ntype DrawerMenuProps = {\n isVisible: boolean;\n closeHandler(value: boolean): void;\n};\n\nconst DrawerMenu: React.FC = ({ isVisible, closeHandler }) => {\n const { data: menu } = useFetchMenu();\n const { t } = useTranslation();\n const { productId } = useParams<{ productId: string }>();\n const { pathname } = useLocation();\n\n if (!isVisible || !menu) {\n return null;\n }\n\n return (\n \n \n \n closeHandler(false)}\n />\n \n \n \n \n \n \n \n {menu?.map((item, index) => (\n \n ))}\n \n \n \n \n \n \n \n \n \n \n );\n};\n\ntype DrawerMenuItamProps = {\n item: Elvita.MenuItem;\n};\n\nconst DrawerMenuItam: React.FC = ({ item }) => {\n return (\n \n \n \n \n \n \n );\n};\n\nexport default DrawerMenu;\n","import styled from 'styled-components';\n\nexport default styled.h2`\n font-family: ${({ theme }) => theme.fonts.bold};\n font-style: normal;\n /* font-weight: 700; */\n font-size: ${({ theme }) => theme.fontSizes.ml};\n line-height: ${({ theme }) => theme.lineHeights.s};\n color: ${({ theme }) => theme.colors.elvitaTrueBlack};\n`;\n","import styled from 'styled-components';\n\nexport default styled.h1`\n font-family: ${({ theme }) => theme.fonts.regular};\n font-style: normal;\n /* font-weight: 700; */\n font-size: ${({ theme }) => theme.fontSizes.l};\n line-height: 27.6px;\n color: ${({ theme }) => theme.colors.elvitaTrueBlack};\n letter-spacing: 0.04em;\n`;\n","import { useLanguageStore } from 'src/context/LanguageStore';\nimport { useQuery } from 'react-query';\nimport { useProductConfig } from './useFetchData';\nimport consts from 'src/config/consts';\nimport axios from 'axios';\n\nconst searchApi = axios.create({\n baseURL: consts.searchUrl,\n headers: {\n 'Content-Type': 'application/json',\n },\n});\n\nconst queryContent = async ({\n manifestId,\n lang,\n term,\n forceGlobalSearch = false,\n}: {\n manifestId: string;\n lang: string;\n term: string;\n forceGlobalSearch?: boolean;\n}) => {\n const filter = forceGlobalSearch\n ? `languageCode eq '${lang}'`\n : `manifestId eq '${manifestId}' and languageCode eq '${lang}'`;\n\n const res = await searchApi.post(\n `/${consts.implementation}/${consts.contentVersion}/content`,\n {\n search: `${term}*`,\n filter: filter,\n },\n );\n return res.data;\n};\n\nconst queryProducts = async ({\n lang,\n term,\n}: {\n lang: string;\n term: string;\n}) => {\n const filter = `languageCode eq '${lang}'`;\n const res = await searchApi.post(\n `/${consts.implementation}/${consts.contentVersion}/product`,\n {\n search: `/.*${term}.*/`,\n filter: filter,\n queryType: 'full',\n },\n );\n return res.data;\n};\n\nexport default function useSearch(\n term: string,\n type: Elvita.SearchType,\n forceGlobalSearch = false,\n) {\n const lang = useLanguageStore(state => state.lang);\n const { data: productConfig } = useProductConfig();\n\n const shouldUseProductContext = !forceGlobalSearch && type === 'content';\n\n return useQuery(\n [\n type === 'product' ? 'productSearch' : 'search',\n term,\n lang,\n shouldUseProductContext ? productConfig?.ManifestId : null,\n ],\n type === 'product'\n ? () => queryProducts({ lang, term })\n : () =>\n queryContent({\n lang,\n term,\n manifestId: shouldUseProductContext\n ? (productConfig?.ManifestId as string)\n : '',\n forceGlobalSearch: !shouldUseProductContext,\n }),\n {\n enabled:\n term.length > 2 &&\n (forceGlobalSearch || !shouldUseProductContext || !!productConfig) &&\n !!lang,\n select(data) {\n return data.value;\n },\n },\n );\n}\n","import * as React from 'react';\nimport styled, { keyframes } from 'styled-components';\nimport useSearch from '../../hooks/useSearch';\nimport { useDebounce } from '../../hooks/useDebounce';\nimport { useTranslation } from '../../hooks/useTranslation';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { useProductConfig } from 'src/hooks/useFetchData';\nimport { useMatomo } from '@datapunt/matomo-tracker-react';\n\nconst show = keyframes`\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n`;\n\nconst SearchIconWrapper = styled.button`\n position: absolute;\n right: 0;\n cursor: pointer;\n height: 100%;\n padding: 0 13px;\n\n &:focus,\n &:active {\n outline: none;\n }\n`;\n\nconst SearchIcon = styled.img`\n width: 14px;\n height: 14px;\n`;\n\nconst Wrapper = styled.div<{ width?: string }>`\n display: flex;\n flex-direction: column;\n position: relative;\n animation: ${show} 0.8s;\n width: ${({ width }) => (width ? width : '280px')};\n align-self: center;\n`;\n\nconst SearchInput = styled.input<{\n hasValue: boolean;\n isSearchPage: boolean;\n inSearchSidebar?: boolean;\n}>`\n font-family: ${({ theme }) => theme.fonts.light};\n padding: 14px 16px;\n font-size: ${({ theme }) => theme.fontSizes.m};\n line-height: 18px;\n color: ${({ theme }) => theme.colors.elvitaGray};\n letter-spacing: 0.05em;\n outline: ${({ theme, inSearchSidebar }) =>\n inSearchSidebar\n ? `1px solid ${theme.colors.elvitaGray}`\n : `1px solid ${theme.colors.elvitaLighterGray}`};\n border-radius: 22px;\n\n &:hover {\n outline-color: ${({ theme }) => theme.colors.elvitaWebPurple};\n }\n\n &::placeholder {\n color: ${({ theme }) => theme.colors.elvitaGray};\n }\n`;\n\nconst ClearIconWrapper = styled.button`\n display: flex;\n animation: ${show} 0.8s;\n position: absolute;\n right: 50px;\n cursor: pointer;\n height: 100%;\n align-items: center;\n`;\n\nconst ClearIcon = styled.img`\n width: 13.5px;\n height: 13.5px;\n`;\n\ntype SearchBoxProps = {\n isSearchPage?: boolean;\n searchType: Elvita.SearchType;\n width?: string;\n setSearchResults?(\n data: Elvita.SearchResultDocument[],\n searchTerm: string,\n loading: boolean,\n ): void;\n forceGlobalSearch?: boolean;\n inputRef?: React.RefObject;\n autoFocus?: boolean;\n preventEnterNavigation?: boolean;\n inSearchSidebar?: boolean;\n};\n\nconst SearchBox: React.FC = ({\n isSearchPage,\n searchType,\n width,\n setSearchResults,\n forceGlobalSearch = false,\n inputRef,\n autoFocus = false,\n preventEnterNavigation = false,\n inSearchSidebar = false,\n}) => {\n const { trackSiteSearch } = useMatomo();\n const history = useHistory();\n const { searchTerm } = useParams<{ searchTerm: string }>();\n const { data: productConfig } = useProductConfig();\n const { t } = useTranslation();\n const wrapperRef = React.useRef(null);\n const [value, setValue] = React.useState(searchTerm ?? '');\n const debouncedValue = useDebounce(value, 300);\n const { isLoading, isError, data } = useSearch(\n debouncedValue,\n searchType,\n forceGlobalSearch,\n );\n const [renderDetailedResults, setRenderDetailedResults] = React.useState(\n debouncedValue && isSearchPage ? true : false,\n );\n\n const getSearchLink = (searchValue: string) => {\n if (!searchValue) return '';\n\n if (productConfig?.ProductId) {\n return `/${productConfig.ProductId}/search/${searchType}/${searchValue}`;\n }\n\n return `/search/${searchType}/${searchValue}`;\n };\n\n const handleChange = (e: React.ChangeEvent) => {\n setRenderDetailedResults(true);\n setValue(e.target.value);\n };\n\n const handleKeypress = (e: React.KeyboardEvent) => {\n if (e.key === 'Enter') {\n if (preventEnterNavigation) {\n e.preventDefault();\n return;\n }\n const searchPath = getSearchLink(value);\n if (searchPath) {\n history.push(searchPath);\n }\n }\n };\n\n const handleSearch = () => {\n if (inSearchSidebar) {\n setSearchResults?.(data ? data : [], value, isLoading);\n } else {\n const searchPath = getSearchLink(value);\n if (searchPath) {\n history.push(searchPath);\n }\n }\n };\n\n React.useEffect(() => {\n if (!isSearchPage || (isSearchPage && renderDetailedResults)) {\n setSearchResults?.(data ? data : [], debouncedValue, isLoading);\n }\n }, [\n isSearchPage,\n data,\n renderDetailedResults,\n debouncedValue,\n isLoading,\n setSearchResults,\n ]);\n\n return (\n \n 0}\n onChange={handleChange}\n onKeyUp={handleKeypress}\n ref={inputRef}\n autoFocus={autoFocus}\n inSearchSidebar={inSearchSidebar}\n />\n {debouncedValue.length > 0 && (\n {\n setValue('');\n if (isSearchPage) {\n history.push(getSearchLink(`${searchType}`));\n }\n }}\n >\n \n \n )}\n \n \n \n \n );\n};\n\nexport default SearchBox;\n","import React from 'react';\n\nexport function useDebounce(value: T, delay: number) {\n const [debouncedValue, setDebouncedValue] = React.useState(value);\n\n React.useEffect(() => {\n const handler = setTimeout(() => {\n setDebouncedValue(value);\n }, delay);\n\n return () => {\n clearTimeout(handler);\n };\n }, [value, delay]);\n\n return debouncedValue;\n}\n","import * as React from 'react';\nimport styled, { css } from 'styled-components';\nimport { Link } from 'react-router-dom';\nimport { useLanguageStore } from 'src/context/LanguageStore';\nimport { useParams } from 'react-router-dom';\nimport { isProduct, isWizard } from '../../helpers/wizard';\nimport consts from 'src/config/consts';\n\nconst ProductWrapper = styled.div`\n flex: 0 0 calc(50% - ${({ theme }) => theme.space.lg});\n height: 400px;\n`;\n\nconst Product = styled(Link)<{ $noHref: boolean }>`\n display: flex;\n position: relative;\n height: 100%;\n cursor: ${({ $noHref }) => ($noHref ? 'default' : 'pointer')};\n pointer-events: ${({ $noHref }) => $noHref && 'none'};\n flex-direction: column;\n`;\n\nconst Image = styled.img`\n width: 100%;\n height: 100%;\n object-fit: cover;\n`;\n\nconst StyledH3 = styled.h3`\n position: absolute;\n position: absolute;\n bottom: 0;\n left: 0;\n padding: 6px;\n background-color: #fff;\n font-family: ${({ theme }) => theme.fonts.bold};\n font-size: ${({ theme }) => theme.fontSizes.ml};\n line-height: 24px;\n letter-spacing: 0.12px;\n color: ${({ theme }) => theme.colors.elvitaWebPurple};\n`;\n\ntype ItemProps = {\n item: Elvita.WizardItem;\n};\n\nconst Item: React.FC = ({ item }) => {\n const lang = useLanguageStore(state => state.lang);\n const { path } = useParams<{ path: string }>();\n const [itemObject, setItemObject] = React.useState<\n { id: string; title?: string; imageId: string } | undefined\n >(undefined);\n\n React.useEffect(() => {\n if (isWizard(item)) {\n setItemObject({\n id: item.id,\n imageId: item.imageId,\n title: item.title,\n });\n }\n }, [item]);\n\n const buildHref = (): string => {\n let url: string;\n if (isProduct(item)) {\n url = `/${item.productId}_${lang}`;\n } else if (path) {\n url = `/wizard/${path}/${itemObject?.id}`;\n } else {\n url = `/${itemObject?.id}`;\n }\n\n return url;\n };\n\n return (\n \n \n \n \n {itemObject?.title ? itemObject?.title : 'Missing title'}\n \n \n \n );\n};\n\nexport default Item;\n","import * as React from 'react';\nimport styled from 'styled-components';\nimport { Link } from 'react-router-dom';\nimport { useLanguageStore } from 'src/context/LanguageStore';\nimport consts from 'src/config/consts';\nimport { isProduct, isWizard } from '../../helpers/wizard';\nimport path from 'path';\n\nconst ProductListWrapper = styled(Link)<{\n $noHref: boolean;\n inSearchSidebar?: boolean;\n}>`\n display: flex;\n flex-direction: column;\n width: ${({ inSearchSidebar }) => (inSearchSidebar ? '100%' : '450px')};\n margin: -6px 0;\n cursor: pointer;\n\n &:first-child {\n border-top: 1px solid ${({ theme }) => theme.colors.elvitaLighterGray};\n }\n\n @media (max-width: ${({ theme }) => theme.screens.l}) {\n width: 100%;\n }\n`;\n\nconst ProductListItem = styled.li`\n display: flex;\n align-items: center;\n width: 100%;\n transition: background-color 0.2s ease-in-out;\n border-bottom: 1px solid ${({ theme }) => theme.colors.elvitaLighterGray};\n padding: ${({ theme }) => theme.space.sm} ${({ theme }) => theme.space.sm};\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.elvitaLighterGray};\n }\n`;\n\nconst Product = styled.div<{ $noHref: boolean }>`\n display: flex;\n align-items: center;\n text-decoration: none;\n cursor: ${({ $noHref }) => ($noHref ? 'default' : 'pointer')};\n pointer-events: ${({ $noHref }) => $noHref && 'none'};\n flex: 1;\n padding: ${({ theme }) => theme.space.m} ${({ theme }) => theme.space.sm};\n`;\n\nconst ProductImage = styled.img`\n width: 50px;\n height: 50px;\n margin-right: ${({ theme }) => theme.space.sm};\n object-fit: cover;\n`;\n\nconst ProductTitle = styled.h4`\n font-family: ${({ theme }) => theme.fonts.regular};\n color: ${({ theme }) => theme.colors.elvitaWebPurple};\n margin: 0;\n`;\n\nconst ChevronIcon = styled.img`\n width: 9px;\n height: 17px;\n margin-left: auto;\n margin-right: ${({ theme }) => theme.space.sm};\n`;\n\nconst ProductContent = styled.div`\n display: flex;\n align-items: center;\n flex: 1;\n`;\n\ntype ProductItemProps = {\n item: Elvita.Product;\n inSearchSidebar?: boolean;\n};\n\nconst ProductItem: React.FC = ({ item, inSearchSidebar }) => {\n const lang = useLanguageStore(state => state.lang);\n const [itemObject, setItemObject] = React.useState<\n { id: string; title?: string; imageId: string } | undefined\n >(undefined);\n\n React.useEffect(() => {\n if (isProduct(item)) {\n setItemObject({\n id: item.validity.toString(),\n title: item.title,\n imageId: item.imageId,\n });\n }\n }, [item]);\n\n const buildHref = (): string => {\n let url: string;\n if (isProduct(item)) {\n url = `/${item.productId}_${lang}`;\n } else if (path) {\n url = `/wizard/${path}/${itemObject?.id}`;\n } else {\n url = `/${itemObject?.id}`;\n }\n\n return url;\n };\n\n return (\n \n \n \n \n \n \n {itemObject?.title ? itemObject?.title : 'Missing title'}\n \n \n \n \n \n \n );\n};\n\nexport default ProductItem;\n","import * as React from 'react';\nimport styled from 'styled-components';\nimport { isProduct } from '../helpers/wizard';\nimport Item from './productnav/Item';\nimport ProductItem from './productnav/ProductItem';\nimport H2 from './typography/H2';\nimport { useTranslation } from 'src/hooks/useTranslation';\nimport theme from 'src/config/theme';\n\ntype ListStyle = 'column' | 'row';\n\nconst Wrapper = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nconst ProductsWrapper = styled.div<{\n styleType: ListStyle;\n inSearchSidebar?: boolean;\n}>`\n display: flex;\n flex-direction: ${({ styleType }) => styleType};\n flex-wrap: ${({ styleType }) => (styleType === 'column' ? 'nowrap' : 'wrap')};\n gap: ${({ theme }) => theme.space.sm};\n justify-content: flex-start;\n margin: ${({ inSearchSidebar }) =>\n inSearchSidebar ? `0 ${theme.space.xs}` : `0 0 0 40px`};\n\n @media (max-width: ${({ theme }) => theme.screens.md}) {\n margin: 0 ${({ theme }) => theme.space.xs};\n }\n\n @media (max-width: ${({ theme }) => theme.screens.l}) {\n flex-direction: column;\n margin: 0 ${({ theme }) => theme.space.xs};\n }\n`;\n\nconst ProductCategoryTitle = styled(H2)<{ inSearchSidebar?: boolean }>`\n margin: ${({ inSearchSidebar, theme }) =>\n inSearchSidebar\n ? `${theme.space.m} ${theme.space.xs} ${theme.space.s}`\n : '40px 0 25px 20px'};\n\n @media (max-width: ${({ theme }) => theme.screens.l}) {\n margin: ${({ inSearchSidebar, theme }) =>\n inSearchSidebar ? `${theme.space.s} ${theme.space.xs}` : '20px 0 15px 0'};\n }\n`;\n\ntype ProductListProps = {\n items: Elvita.ProductSearchDocument[] | Elvita.WizardItem[];\n title?: string;\n inSearchSidebar?: boolean;\n};\n\nconst ProductList: React.FC = ({\n items,\n title,\n inSearchSidebar,\n}) => {\n const [style, setStyle] = React.useState('column');\n const { t } = useTranslation();\n\n React.useEffect(() => {\n const isProductList = items.some(\n item => 'objectId' in item || isProduct(item),\n );\n\n if (window.innerWidth > 640 && !isProductList) {\n setStyle('row');\n } else {\n setStyle('column');\n }\n }, [items]);\n\n if (!items || items.length < 1) {\n return null;\n }\n\n const groupedItems: Record<\n string,\n Array\n > = {};\n\n items.forEach(item => {\n if (isProduct(item) && item.category) {\n const translatedCategory = t(`wizard.${item.category}`);\n if (!groupedItems[translatedCategory]) {\n groupedItems[translatedCategory] = [];\n }\n groupedItems[translatedCategory].push(item);\n } else {\n if (!groupedItems['']) {\n groupedItems[''] = [];\n }\n groupedItems[''].push(item);\n }\n });\n\n return (\n \n {Object.entries(groupedItems).map(([category, categoryItems]) => (\n
\n {category && (\n \n {category}\n \n )}\n \n {categoryItems.map((item, index) => {\n if ('objectId' in item) {\n const productId = item.objectId.split('_')[0];\n return (\n \n );\n }\n return isProduct(item) ? (\n \n ) : (\n \n );\n })}\n \n
\n ))}\n
\n );\n};\n\nexport default ProductList;\n","import * as React from 'react';\nimport styled, { keyframes } from 'styled-components';\n\nconst spin = keyframes`\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }`;\n\nconst Spinner = styled.div`\n text-indent: -9999em;\n width: 30px;\n height: 30px;\n border-radius: 50%;\n background: linear-gradient(\n to right,\n #fff 10%,\n ${({ theme }) => theme.colors.elvitaWebPink} 42%\n );\n position: relative;\n animation: ${spin} 1.4s infinite linear;\n transform: translateZ(0);\n\n &:before {\n width: 50%;\n height: 50%;\n background: #ffffff;\n border-radius: 100% 0 0 0;\n position: absolute;\n top: 0;\n left: 0;\n content: '';\n }\n\n &:after {\n background: #fff;\n width: 75%;\n height: 75%;\n border-radius: 50%;\n content: '';\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n }\n`;\n\ntype LoderProps = {\n styles?: React.CSSProperties;\n};\n\nconst Loader: React.FC = ({ styles }) => (\n <>\n \n \n);\n\nexport default Loader;\n","import * as React from 'react';\nimport styled from 'styled-components';\nimport SearchBox from './SearchBox';\nimport Portal from '../Portal';\nimport ProductList from '../ProductList';\nimport Loader from '../Loader';\nimport { useMatomo } from '@datapunt/matomo-tracker-react';\nimport H2 from '../typography/H2';\nimport { useTranslation } from 'src/hooks/useTranslation';\nimport { useProductCategory } from 'src/hooks/useProductCategory';\n\nconst Overlay = styled.div<{ $isVisible: boolean }>`\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 998;\n opacity: ${({ $isVisible }) => ($isVisible ? 1 : 0)};\n transition: opacity 0.3s ease-in-out;\n pointer-events: ${({ $isVisible }) => ($isVisible ? 'auto' : 'none')};\n`;\n\nconst SidebarWrapper = styled.div<{ $isVisible: boolean }>`\n position: fixed;\n top: 0;\n width: calc(${({ theme }) => theme.sizes.containerWide} * 0.5);\n height: 100%;\n overflow-y: auto;\n background: ${({ theme }) => theme.colors.elvitaWhite};\n z-index: 999;\n padding: ${({ theme }) => theme.space.s};\n box-shadow: 0px -4px 10px 0px rgba(0, 0, 0, 0.4);\n transform: translateX(${({ $isVisible }) => ($isVisible ? '0' : '100%')});\n transition: transform 0.3s ease-in-out;\n visibility: ${({ $isVisible }) => ($isVisible ? 'visible' : 'hidden')};\n\n @media (max-width: ${({ theme }) => theme.sizes.containerWide}) {\n right: 0;\n width: 50%;\n }\n\n @media (max-width: ${({ theme }) => theme.screens.md}) {\n width: 100%;\n }\n`;\n\nconst SidebarHeader = styled.div`\n display: flex;\n flex-direction: column;\n margin-bottom: ${({ theme }) => theme.space.xs};\n`;\n\nconst CloseButton = styled.button`\n cursor: pointer;\n padding: ${({ theme }) => theme.space.xxxs};\n margin-right: ${({ theme }) => theme.space.s};\n width: ${({ theme }) => theme.space.m};\n margin-bottom: ${({ theme }) => theme.space.md};\n`;\n\nconst LoaderWrapper = styled.div`\n display: flex;\n justify-content: center;\n margin-top: ${({ theme }) => theme.space.l};\n`;\n\nconst ResultsWrapper = styled.div`\n margin: ${({ theme }) => theme.space.m} 0;\n`;\n\nconst SearchBoxWrapper = styled.div`\n display: flex;\n align-items: center;\n flex: 1;\n justify-content: end;\n margin: 0 ${({ theme }) => theme.space.xs};\n`;\n\nconst SearchInfoIcon = styled.div<{ $isActive?: boolean }>`\n width: 22px;\n height: 22px;\n cursor: pointer;\n margin-left: ${({ theme }) => theme.space.m};\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n\n img {\n width: 24px;\n height: 24px;\n }\n`;\n\nconst InfoContent = styled.div`\n padding-top: ${({ theme }) => theme.space.sm};\n margin: 0 ${({ theme }) => theme.space.xs};\n`;\n\nconst StyledH2 = styled(H2)`\n text-align: left;\n margin-bottom: ${({ theme }) => theme.space.s};\n color: ${({ theme }) => theme.colors.elvitaWebPurple};\n`;\n\nconst InfoText = styled.div`\n font-size: ${({ theme }) => theme.fontSizes.s};\n line-height: 16.8px;\n color: ${({ theme }) => theme.colors.elvitaWebPurple};\n margin-bottom: ${({ theme }) => theme.space.xl};\n text-align: left;\n`;\n\nconst StyledImage = styled.img`\n width: 100%;\n`;\n\nconst ResultsCount = styled.div`\n font-size: ${({ theme }) => theme.fontSizes.xxs};\n line-height: 12px;\n color: ${({ theme }) => theme.colors.elvitaGray};\n margin: ${({ theme }) => theme.space.m} 0;\n padding-left: ${({ theme }) => theme.space.xs};\n\n @media (max-width: ${({ theme }) => theme.screens.md}) {\n padding-left: 0;\n }\n`;\n\ntype SearchSidebarProps = {\n isVisible: boolean;\n closeHandler: (value: boolean) => void;\n searchType: Elvita.SearchType;\n openWithInfo?: boolean;\n};\n\nconst SearchSidebar: React.FC = ({\n isVisible,\n closeHandler,\n searchType,\n openWithInfo = false,\n}) => {\n const { trackSiteSearch } = useMatomo();\n const { t } = useTranslation();\n const searchInputRef = React.useRef(null);\n const [searchResults, setSearchResults] = React.useState<\n Elvita.SearchResultDocument[] | Elvita.ProductSearchDocument[]\n >([]);\n const [loading, setLoading] = React.useState(false);\n const [showSearchInfo, setShowSearchInfo] = React.useState(false);\n const [value, setValue] = React.useState('');\n const { findCategory } = useProductCategory();\n\n React.useEffect(() => {\n if (isVisible && searchInputRef.current) {\n setTimeout(() => {\n searchInputRef.current?.focus();\n }, 100);\n }\n }, [isVisible]);\n\n React.useEffect(() => {\n if (!isVisible) {\n setShowSearchInfo(false);\n }\n }, [isVisible]);\n\n React.useEffect(() => {\n if (isVisible && openWithInfo) {\n setShowSearchInfo(true);\n }\n }, [isVisible, openWithInfo]);\n\n const handleSearchResults = React.useCallback(\n (\n data: Elvita.SearchResultDocument[],\n searchTerm: string,\n loading: boolean,\n ) => {\n setLoading(loading);\n setSearchResults(data);\n setValue(searchTerm);\n\n if (searchTerm && searchTerm !== '' && !loading) {\n trackSiteSearch({ keyword: searchTerm });\n }\n },\n [trackSiteSearch],\n );\n\n const categorySearchResults = React.useMemo(() => {\n if (!searchResults.length) return searchResults;\n\n return searchResults.map(result => {\n const category = findCategory(result.manifestId);\n return {\n ...result,\n category,\n productId: result.objectId.split('_')[0],\n title: result.description,\n validity: parseInt(result.manifestId.split('_')[0], 10),\n };\n });\n }, [searchResults, findCategory]);\n\n return (\n \n {isVisible && (\n <>\n closeHandler(false)} />\n \n \n closeHandler(false)}>\n \"Close\"\n \n \n \n setShowSearchInfo(!showSearchInfo)}\n >\n \n \n \n \n {showSearchInfo && (\n \n {t(`${searchType}.search.title`)}\n {t(`${searchType}.search.preamble`)}\n \n \n )}\n {searchResults.length > 0 && !loading && (\n \n {t(`${searchType}.search.resultsCount`)\n .replace('_TOTAL_', searchResults.length)\n .replace('_TERM_', value)}\n \n )}\n \n {loading ? (\n \n \n \n ) : (\n searchResults.length > 0 && (\n \n )\n )}\n \n \n \n )}\n \n );\n};\n\nexport default SearchSidebar;\n","var _path, _path2, _g;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgWarning(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n id: \"Layer_1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n x: \"0px\",\n y: \"0px\",\n viewBox: \"0 0 28.3 28.3\",\n style: {\n enableBackground: \"new 0 0 28.3 28.3\"\n },\n xmlSpace: \"preserve\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n className: \"st5\",\n d: \"M13.2,2.7L1.8,22.5c-0.4,0.7,0.1,1.6,0.9,1.6h22.9c0.8,0,1.4-0.9,0.9-1.6L15.1,2.7C14.7,2,13.6,2,13.2,2.7z\",\n fill: \"#000\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n className: \"st1\",\n d: \"M13.5,6.2L4.9,21c-0.3,0.5,0.1,1.2,0.7,1.2h17.1c0.6,0,1-0.7,0.7-1.2L14.9,6.2C14.6,5.6,13.8,5.6,13.5,6.2z\",\n fill: \"#fff\"\n })), _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n className: \"st5\",\n d: \"M12.9,18.4c0-0.6,0.5-1.1,1.1-1.1s1.1,0.5,1.1,1.1s-0.5,1.1-1.1,1.1S12.9,19,12.9,18.4z M13,10.2 c0-0.6,0.4-1,1-1c0.6,0,1,0.4,1,1v5.4c0,0.6-0.4,1-1,1c-0.6,0-1-0.4-1-1V10.2z\",\n fill: \"#000\"\n })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgWarning);\nexport default __webpack_public_path__ + \"static/media/warning.e328954d.svg\";\nexport { ForwardRef as ReactComponent };","import { useFetchWizardStructure } from './useFetchData';\n\nexport function useProductCategory() {\n const { data: wizardData } = useFetchWizardStructure();\n\n const findCategory = (manifestId: string): string | undefined => {\n if (!wizardData?.data || !manifestId) return undefined;\n\n const validity = parseInt(manifestId.split('_')[0], 10);\n const stack = [...wizardData.data];\n\n while (stack.length) {\n const item = stack.pop();\n if (!item) continue;\n\n if (item.validity === validity) {\n return item.category;\n }\n\n if (item.children) {\n stack.push(...item.children);\n }\n }\n\n return undefined;\n };\n\n return { findCategory };\n}\n","import * as React from 'react';\nimport styled from 'styled-components';\nimport PageContentWrapper from './layout/PageContentWrapper';\nimport DrawerMenu from './DrawerMenu';\nimport { useFetchMenu, useFetchStartPage } from '../hooks/useFetchData';\nimport { Link, useLocation, useParams, useHistory } from 'react-router-dom';\nimport MenuLink from './MenuLink';\nimport { useTranslation } from '../hooks/useTranslation';\nimport H2 from './typography/H2';\nimport H1 from './typography/H1';\nimport SearchSidebar from './search/SearchSidebar';\n\nconst Wrapper = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: ${({ theme }) => `${theme.space.m} 14px`};\n padding-left: 20px;\n\n @media (min-width: ${({ theme }) => theme.screens.sm}) {\n padding: ${({ theme }) => `21px ${theme.space.md} 21px ${theme.space.md}`};\n }\n`;\n\nconst Logo = styled.img`\n width: 76px;\n\n @media (min-width: ${({ theme }) => theme.screens.sm}) {\n width: 110px;\n }\n`;\n\nconst Icon = styled.img<{ type?: 'hamburger' }>`\n cursor: pointer;\n z-index: 9;\n\n &:nth-child(1) {\n margin-left: ${({ theme }) => theme.space.m};\n @media (min-width: ${({ theme }) => theme.screens.sm}) {\n margin-left: ${({ theme }) => theme.space.l};\n }\n }\n\n &:nth-child(3) {\n margin-left: ${({ theme }) => theme.space.lg};\n @media (min-width: ${({ theme }) => theme.screens.sm}) {\n margin-left: ${({ theme }) => theme.space.l};\n }\n }\n @media (min-width: ${({ theme }) => theme.screens.l}) {\n display: ${({ type }) => type === 'hamburger' && 'none'};\n }\n\n @media (max-width: ${({ theme }) => theme.screens.l}) {\n margin-left: ${({ theme }) => theme.space.m};\n }\n`;\n\nconst Center = styled.div`\n display: flex;\n justify-content: flex-start;\n flex: 1;\n`;\n\nconst Right = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst LogoLink = styled.a`\n width: 76px;\n\n @media (min-width: ${({ theme }) => theme.screens.sm}) {\n width: 110px;\n }\n`;\nconst LinkWrapper = styled.div`\n width: 76px;\n\n @media (min-width: ${({ theme }) => theme.screens.sm}) {\n width: 110px;\n }\n`;\n\nconst LogoWrapper = styled.div`\n @media (min-width: ${({ theme }) => theme.screens.l}) {\n width: 180px;\n }\n`;\n\nconst InfoWrapper = styled(Link)`\n display: flex;\n flex-direction: column;\n max-width: 130px;\n text-decoration: none;\n\n @media (hover: hover) {\n &:hover {\n h1,\n h2 {\n color: ${({ theme }) => theme.colors.elvitaWebPink};\n }\n }\n }\n`;\n\nconst StyledH1 = styled(H1)`\n font-size: ${({ theme }) => theme.fontSizes.s};\n line-height: ${({ theme }) => theme.fontSizes.m};\n font-family: ${({ theme }) => theme.fonts.bold};\n text-align: right;\n color: ${({ theme }) => theme.colors.elvitaGray};\n`;\n\nconst StyledH2 = styled(H2)`\n font-size: ${({ theme }) => theme.fontSizes.s};\n line-height: ${({ theme }) => theme.fontSizes.m};\n font-family: ${({ theme }) => theme.fonts.light};\n text-align: right;\n color: ${({ theme }) => theme.colors.elvitaGray};\n`;\n\nconst SearchButton = styled.div<{ isHidden: boolean }>`\n font-family: ${({ theme }) => theme.fonts.light};\n padding: 14px 16px;\n font-size: ${({ theme }) => theme.fontSizes.m};\n line-height: 18px;\n color: ${({ theme }) => theme.colors.elvitaGray};\n letter-spacing: 0.05em;\n outline: 1px solid ${({ theme }) => theme.colors.elvitaGray};\n border-radius: 22px;\n background: ${({ theme }) => theme.colors.elvitaWhite};\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: ${({ theme }) => theme.space.xxxxl};\n opacity: ${({ isHidden }) => (isHidden ? 0 : 1)};\n visibility: ${({ isHidden }) => (isHidden ? 'hidden' : 'visible')};\n transition: opacity 0.2s ease-in-out;\n\n &:hover {\n outline-color: ${({ theme }) => theme.colors.elvitaWebPurple};\n }\n\n img {\n width: 14px;\n height: 14px;\n }\n\n @media (max-width: ${({ theme }) => theme.screens.l}) {\n outline: none;\n\n img {\n height: 24px;\n width: 24px;\n }\n\n span {\n display: none;\n }\n }\n`;\n\nconst SearchIcon = styled.img`\n margin-left: ${({ theme }) => theme.space.l};\n cursor: pointer;\n @media (max-width: ${({ theme }) => theme.screens.l}) {\n width: 24px;\n height: 24px;\n }\n`;\n\nconst InfoContainer = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst InfoIcon = styled(SearchIcon)<{ isHidden: boolean }>`\n margin-left: ${({ theme }) => theme.space.s};\n width: 24px;\n height: 24px;\n cursor: pointer;\n opacity: ${({ isHidden }) => (isHidden ? 0 : 1)};\n visibility: ${({ isHidden }) => (isHidden ? 'hidden' : 'visible')};\n transition: opacity 0.2s ease-in-out;\n\n @media (max-width: ${({ theme }) => theme.screens.l}) {\n margin-left: 0;\n }\n`;\n\ntype HeaderProps = {\n hideSearch: boolean;\n hideMenu: boolean;\n isWizard: boolean;\n};\n\nconst Header: React.FC = ({ hideSearch, hideMenu, isWizard }) => {\n const { error, data } = useFetchStartPage();\n const { productId } = useParams<{ productId: string }>();\n const history = useHistory();\n const [showDrawer, setShowDrawer] = React.useState(false);\n const [showSearch, setShowSearch] = React.useState(false);\n const { t } = useTranslation();\n\n const [showSearchInfo, setShowSearchInfo] = React.useState(false);\n\n const handleInfoClick = () => {\n setShowSearch(true);\n setShowSearchInfo(true);\n };\n\n const handleSearchClose = (value: boolean) => {\n setShowSearch(value);\n setShowSearchInfo(false);\n };\n\n const toggleDrawerMenu = React.useCallback(\n (value: boolean) => setShowDrawer(value),\n [],\n );\n\n const toggleSearch = React.useCallback(\n (value: boolean) => setShowSearch(value),\n [],\n );\n\n const handleProductSearch = () => {\n if (productId) {\n history.push(`/${productId}/search/content`);\n }\n };\n\n const getHomeUrl = () => {\n return '/';\n };\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n
{!hideMenu && }
\n \n {data?.status === 200 && (\n \n \n {data?.data.title}\n {data?.data.description}\n \n {productId && (\n \n )}\n \n )}\n {(!hideSearch || isWizard) && !productId && (\n <>\n toggleSearch(true)}\n >\n {t('product.searchbox.watermark')}\n \n \n \n \n )}\n {!hideMenu && (\n {\n toggleDrawerMenu(true);\n }}\n />\n )}\n \n
\n
\n {!hideMenu && (\n \n )}\n {(!hideSearch || isWizard) && !productId && (\n \n )}\n \n );\n};\n\nconst MenuWrapper = styled.ul`\n display: none;\n\n @media (min-width: ${({ theme }) => theme.screens.l}) {\n display: flex;\n padding-left: 0;\n }\n`;\n\nconst Item = styled.li`\n margin: 0 22px;\n display: flex;\n max-width: 160px;\n\n &:first-child {\n margin-left: 0;\n }\n\n &:last-child {\n margin-right: 0;\n }\n`;\n\nconst A = styled.div`\n font-size: ${({ theme }) => theme.fontSizes.s};\n line-height: 16.8px;\n letter-spacing: 0.05em;\n text-align: center;\n\n &:hover {\n color: ${({ theme }) => theme.colors.elvitaWebPink};\n }\n`;\n\nconst StartLink = styled(Link)<{ $active?: boolean }>`\n font-size: ${({ theme }) => theme.fontSizes.s};\n line-height: 16.8px;\n font-family: ${({ theme, $active }) =>\n $active ? theme.fonts.bold : theme.fonts.light};\n`;\n\ntype MenuProps = {\n isWizard?: boolean;\n};\n\nconst Menu: React.FC = ({ isWizard }) => {\n const { error, data } = useFetchMenu();\n const { productId } = useParams<{ productId: string }>();\n const { pathname } = useLocation();\n\n const { t } = useTranslation();\n if (!data || error) {\n return null;\n }\n\n return (\n \n \n \n {t('menu.productStartLabel')}\n \n \n {data.map((item, index) => (\n \n \n {item.title}\n \n \n ))}\n \n );\n};\n\nexport default Header;\n","import React, { FC } from 'react';\nimport { Redirect, useLocation } from 'react-router';\nimport styled from 'styled-components';\nimport Footer from '../Footer';\nimport Header from '../Header';\nimport { useLanguageStore } from 'src/context/LanguageStore';\nimport { useProductConfig } from 'src/hooks/useFetchData';\n\nconst Drawer = styled.div`\n display: flex;\n justify-content: flex-end;\n width: ${({ theme }) => theme.sizes.containerWide};\n max-width: 100%;\n align-self: center;\n`;\n\nconst Wrapper = styled.div`\n display: flex;\n min-height: 100vh;\n flex-direction: column;\n width: 100%;\n @media (min-width: ${({ theme }) => theme.sizes.containerWide}) {\n padding-left: calc(100vw - 100%);\n }\n background-color: ${({ theme }) => theme.colors.elvitaGrayBg};\n`;\n\nconst Content = styled.div`\n flex: 1;\n justify-content: flex-start;\n flex-direction: column;\n display: flex;\n\n @media (min-width: ${({ theme }) => theme.screens.l}) {\n justify-content: flex-start;\n }\n`;\n\ntype PageProps = {\n hideSearch?: boolean;\n hideMenu?: boolean;\n isWizard?: boolean;\n status?: number;\n};\n\nconst Page: FC = props => {\n const setLang = useLanguageStore(state => state.setLang);\n\n const { data: productConfig, isError } = useProductConfig();\n if (productConfig) {\n setLang(productConfig.ProductId.slice(-5));\n }\n\n if (props.status && props.status === 404) {\n return ;\n }\n\n return (\n <>\n \n \n {props.children}\n