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ACF,GAAGN,EAAMkC,WAAWM,WAAsB0F,KAAmBA,cAC9DlI,EAAMkC,WAAWM,WAAsB2F,KAAmBA,cAC1DnI,EAAMkC,WAAWM,WAAsB4F,KAAmBA,cAC1DpI,EAAMkC,WAAWM,WAAsB6F,KAAmBA,cAC1DrI,EAAMkC,WAAWM,WAAsB8F,KAAmBA,cAC1DtI,EAAMkC,WAAWM,WAAsB+F,KAAmBA,cAC1DvI,EAAMkC,WAAWM,WAAsBgG,KAAoBA,cAC3DxI,EAAMkC,WAAWM,WAAsBiG,KAAoBA,cAC3DzI,EAAMkC,WAAWM,WAAsBkG,KAAoBA,cAC3D1I,EAAMkC,WAAWM,WAAsBmG,KAAoBA,cAC3D3I,EAAMkC,WAAWM,WAAsBoG,KAAoBA,cAC3D5I,EAAMkC,WAAWM,WAAsBqG,KAAoBA,cAC3D7I,EAAMkC,WAAWM,WAAsBsG,KAAoBA,IAC1D,KAEN,OACEjH,EAAAA,EAAAA,KAAC5C,EAAgB,IACXe,EACJiJ,WAAW,EACX5C,QAAS,CACPC,OAAQ0C,GAEV9G,SAhCkBgH,MACpB,IAAKlJ,EAAMmJ,cAAe,OAAOnJ,EAAMkC,SACvC,MAAMM,EAAeuG,IAAiB,IAAM,IAC5C,MAAO,GAAG/I,EAAMkC,WAAWM,WAAsBxC,EAAMmJ,cAAcC,MAAM,EA6B/DF,IACV,C","sources":["platformui/Base/Sensors/viewport.js","platformui/Containers/withLazyLoad.js","components/entry/index.js","components/news-push/index.js","blocks/entry-block.js","platformui/Image/index.js","pages/start/index.js","platformui/Containers/withSrcSets.js"],"sourcesContent":["import React, { useRef, useState, useEffect } from 'react';\r\n\r\nconst Container = (WrappedComponent, offsetTop) => {\r\n const handles = [];\r\n const printHandler = [];\r\n let ticking = false;\r\n const throttleScroll = () => {\r\n ticking =\r\n ticking ||\r\n requestAnimationFrame(() => {\r\n ticking = false;\r\n handles.map((handle) => handle());\r\n });\r\n };\r\n\r\n if (typeof window !== 'undefined') {\r\n window.addEventListener('scroll', throttleScroll, false);\r\n\r\n window.addEventListener('resize', throttleScroll, false);\r\n\r\n const mediaQueryList = window.matchMedia('print');\r\n mediaQueryList.addListener((mql) => {\r\n if (mql.matches) {\r\n printHandler.map((handle) => handle());\r\n }\r\n });\r\n }\r\n return (props) => {\r\n const viewport = useRef();\r\n const [isInViewPort, setIsInViewPort] = useState(false);\r\n const [isViewed, setIsViewed] = useState(false);\r\n const [isBrowserTop, setIsBrowserTop] = useState(false);\r\n const [isBottomBrowserTop, setIsBottomBrowserTop] = useState(null);\r\n const [isInRange, setIsInRange] = useState(false);\r\n\r\n const getBoundingClientRect = () => {\r\n return viewport.current.getBoundingClientRect();\r\n };\r\n\r\n const isComponentInViewPort = () => {\r\n requestAnimationFrame(() => {\r\n if (!viewport.current) return;\r\n\r\n const rect = getBoundingClientRect();\r\n const offset = offsetTop ? offsetTop : 0;\r\n\r\n if (rect.top - (window.innerHeight + offset) <= 0) {\r\n if (!isInViewPort) {\r\n setIsInViewPort(true);\r\n setIsViewed(true);\r\n }\r\n } else {\r\n isInViewPort && setIsInViewPort(false);\r\n }\r\n });\r\n };\r\n\r\n const isComponentBrowserTop = () => {\r\n if (!viewport.current) return;\r\n\r\n const rect = getBoundingClientRect();\r\n if (rect.top < 1) {\r\n !isBrowserTop && setIsBrowserTop(true);\r\n } else {\r\n isBrowserTop && setIsBrowserTop(false);\r\n }\r\n };\r\n\r\n const isComponentBottomBrowserTop = () => {\r\n if (!viewport.current) return;\r\n\r\n const rect = getBoundingClientRect();\r\n if (rect.bottom > 0) {\r\n isBottomBrowserTop === false && setIsBottomBrowserTop(true);\r\n } else {\r\n isBottomBrowserTop !== false && setIsBottomBrowserTop(false);\r\n }\r\n };\r\n\r\n const isComponentWithinRange = () => {\r\n if (!viewport.current) return;\r\n\r\n const rect = getBoundingClientRect();\r\n if (rect.top < 1 && rect.bottom > 0) {\r\n !isInRange && setIsInRange(true);\r\n } else {\r\n isInRange && setIsInRange(false);\r\n }\r\n };\r\n\r\n const isPrinting = () => {\r\n setIsInViewPort(true);\r\n setIsViewed(true);\r\n };\r\n\r\n useEffect(() => {\r\n isComponentInViewPort();\r\n setTimeout(() => {\r\n isComponentInViewPort();\r\n }, 200);\r\n\r\n handles.push(isComponentInViewPort);\r\n handles.push(isComponentBrowserTop);\r\n handles.push(isComponentBottomBrowserTop);\r\n handles.push(isComponentWithinRange);\r\n printHandler.push(isPrinting);\r\n }, [isInRange]);\r\n\r\n return (\r\n
\r\n \r\n
\r\n );\r\n };\r\n};\r\n\r\nexport default Container;\r\n","import React, { useState } from 'react';\r\nimport { Viewport } from '../Base/Sensors';\r\n\r\nconst withLazyLoad = (WrappedComponent) => {\r\n const LazyLoad = (props) => {\r\n const { CurrentPageProps, ImageUrl, isViewed } = props;\r\n const { IsEditMode } = CurrentPageProps;\r\n\r\n const [isLazyLoaded, setIsLazyLoaded] = useState(IsEditMode);\r\n const [currentSrc, setCurrentSrc] = useState(IsEditMode ? ImageUrl : null);\r\n\r\n const imgIsTouched = () => ImageUrl?.indexOf('?') > 0;\r\n\r\n const handleOnLoad = (e) => {\r\n const img = e.currentTarget;\r\n\r\n if (isViewed) {\r\n setIsLazyLoaded(true);\r\n setCurrentSrc(\r\n typeof img?.currentSrc !== 'undefined' ? img?.currentSrc : ImageUrl\r\n );\r\n }\r\n };\r\n\r\n const paramOrQuery = imgIsTouched() ? '&' : '?';\r\n const presetLowResUrl = `${ImageUrl}${paramOrQuery}preset=low-res`;\r\n const imageUrl = props.isViewed || IsEditMode ? ImageUrl : presetLowResUrl;\r\n return (\r\n \r\n );\r\n };\r\n\r\n //Trigger load img with offset 200px\r\n return Viewport(LazyLoad, 200);\r\n};\r\n\r\nexport default withLazyLoad;\r\n","import React from 'react';\r\nimport * as Render from '../../platformui/Base/Render';\r\nimport Image from '../../platformui/Image';\r\nimport withLazyLoad from '../../platformui/Containers/withLazyLoad';\r\nimport withSrcSets from '../../platformui/Containers/withSrcSets';\r\nimport classNames from 'classnames';\r\n\r\nconst Entry = (props) => {\r\n const LazyLoadImage = withSrcSets(withLazyLoad(Image));\r\n\r\n const textContent = classNames({\r\n 'c-entry__text-content': true,\r\n 'c-entry__text-content--full-width': !props.Media,\r\n });\r\n\r\n return (\r\n \r\n
\r\n {props.Media && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n
\r\n
\r\n

\r\n \r\n {props.Heading}\r\n

\r\n

\r\n {props.Description}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default Entry;","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport * as Render from '../../platformui/Base/Render';\r\nimport { TeaserItemLink } from '../../platformui/Teaser';\r\n\r\nconst Teaser = (props) => {\r\n const isStartPage = props.CurrentPageProps.PageTypeName === 'StartPage';\r\n\r\n const isSurveyBlock =\r\n props.CurrentPageProps.Content.RelatedContent && props.CurrentPageProps.Content.RelatedContent.filter(\r\n (i) => i.BlockTypeName === 'SurveyBlock' && i\r\n ).length > 0;\r\n\r\n const columns = classNames({\r\n columns: true,\r\n hide:\r\n props.index >= 4 || (isStartPage && isSurveyBlock && props.index >= 3),\r\n 'medium-6 large-3': props.length > 3,\r\n 'medium-6 large-4':\r\n (props.length >= 3 && isSurveyBlock) || props.length === 3,\r\n 'medium-12 large-4': props.length === 3 && props.index === 2,\r\n 'medium-6 large-6': props.length === 2,\r\n 'small-12': props.length === 1,\r\n });\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nconst NewsPush = (props) => {\r\n return (\r\n props.Content.ThemeContent != null && (\r\n
\r\n {props.Content.ThemeHeading && (\r\n

{props.Content.ThemeHeading}

\r\n )}\r\n
    \r\n \r\n \r\n \r\n
\r\n
\r\n )\r\n );\r\n};\r\n\r\nexport default NewsPush;","import EntryBlock from '../components/entry';\r\nexport default EntryBlock;\r\n","import classNames from 'classnames';\r\nimport T from 'prop-types';\r\nimport React from 'react';\r\nimport withLazyLoad from '../Containers/withLazyLoad';\r\nimport withSrcSets from '../Containers/withSrcSets';\r\n\r\nconst Image = (props) => {\r\n const classes = classNames({\r\n 'c-image': true,\r\n 'c-image--is-lazyloaded': props.isLazyLoaded || !props.isLazyLoad,\r\n 'c-image--is-background-image': props.isBackgroundImage,\r\n [props.className]: true && props.className,\r\n });\r\n\r\n const src = props.isLazyLoad ? props.LazyLoadImageUrl : props.ImageUrl;\r\n\r\n let alt = props.Description ?? props.ImageDescription;\r\n if (props.Alt !== undefined) alt = props.Alt;\r\n //If IMG is decorative alt text should be empty.\r\n if (props.isBackgroundImage || props.ariaHidden) alt = '';\r\n\r\n const style =\r\n props.isBackgroundImage && props.currentSrc\r\n ? {\r\n style: {\r\n backgroundImage: `url(\"${props.currentSrc}\")`,\r\n },\r\n }\r\n : null;\r\n\r\n const sizes = props.SrcSets && props.SrcSets.srcSet ? props.Sizes : null;\r\n\r\n const attributes = props.isBackgroundImage ? { role: 'presentation' } : {};\r\n\r\n return (\r\n
\r\n {(!props.isBackgroundImage || props.isViewed || !props.isLazyLoad) && (\r\n \r\n )}\r\n {props.isLazyLoad && (\r\n `,\r\n }}\r\n />\r\n )}\r\n
\r\n );\r\n};\r\n\r\nImage.propTypes = {\r\n className: T.string,\r\n currentSrc: T.string,\r\n Alt: T.string,\r\n isViewed: T.bool,\r\n isBackgroundImage: T.bool,\r\n isLazyLoad: T.bool,\r\n ariaHidden: T.bool,\r\n LazyLoadImageUrl: T.string,\r\n ImageUrl: T.string,\r\n SrcSets: T.shape({ srcSet: T.any }),\r\n Sizes: T.object,\r\n};\r\n\r\nexport const LazyLoadImage = withSrcSets(withLazyLoad(Image));\r\n\r\nexport default Image;\r\n","import React from 'react';\r\nimport { withRouter } from 'react-router';\r\nimport * as Render from '../../platformui/Base/Render';\r\nimport Section from '../../platformui/Section';\r\nimport NewsPush from '../../components/news-push';\r\n\r\nimport ManuelPageListBlock from '../../blocks/manuel-page-list-block';\r\nimport EntryBlock from '../../blocks/entry-block';\r\nimport ContentHistoryBlock from '../../blocks/content-history-block';\r\nimport SurveyBlock from '../../blocks/survey-block';\r\nimport { isSmallViewport } from '../../platformui/Hooks/useMedia';\r\nimport classNames from 'classnames';\r\n\r\nconst Blocks = {\r\n ManuelPageListBlock,\r\n EntryBlock,\r\n ContentHistoryBlock,\r\n SurveyBlock,\r\n};\r\n\r\nconst StartPage = (props) => {\r\n const isSurveyBlock =\r\n props.Content.RelatedContent && props.Content.RelatedContent.filter(\r\n (i) => i.BlockTypeName === 'SurveyBlock' && i\r\n ).length > 0;\r\n\r\n const surveyClasses = classNames({\r\n columns: true,\r\n 'small-12': isSmallViewport(),\r\n 'large-3': !isSmallViewport(),\r\n 'u-float-top-3': !isSmallViewport() && isSurveyBlock,\r\n 'u-float-top-4': !isSmallViewport() && !isSurveyBlock,\r\n });\r\n\r\n const newsClasses = classNames({\r\n columns: true,\r\n 'small-12': true,\r\n 'large-9': !isSmallViewport() && isSurveyBlock,\r\n });\r\n\r\n const relatedContentId = isSmallViewport()\r\n ? 'RelatedContent__Small12'\r\n : 'RelatedContent__Large3';\r\n\r\n return (\r\n
\r\n

{props.Content.Heading}

\r\n
\r\n {props.Content.EntryHeading && (\r\n

{props.Content.EntryHeading}

\r\n )}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n {props.Content.IntroHeading && (\r\n

{props.Content.IntroHeading}

\r\n )}\r\n 1\r\n ? props.Content.IntroContent[0]\r\n : props.Content.IntroContent\r\n }\r\n propertyName=\"IntroContent\"\r\n currentPageProps={props}\r\n >\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n {props.Content.SectionHeading && (\r\n

{props.Content.SectionHeading}

\r\n )}\r\n \r\n \r\n \r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default withRouter(StartPage);","import React from 'react';\r\n\r\n//TODO: Get this from config object\r\nconst PRESET_300 = {\r\n name: 'preset_300',\r\n width: '300w',\r\n};\r\nconst PRESET_400 = {\r\n name: 'preset_400',\r\n width: '400w',\r\n};\r\nconst PRESET_500 = {\r\n name: 'preset_500',\r\n width: '500w',\r\n};\r\nconst PRESET_600 = {\r\n name: 'preset_600',\r\n width: '600w',\r\n};\r\nconst PRESET_700 = {\r\n name: 'preset_700',\r\n width: '700w',\r\n};\r\nconst PRESET_800 = {\r\n name: 'preset_800',\r\n width: '800w',\r\n};\r\nconst PRESET_1000 = {\r\n name: 'preset_1000',\r\n width: '1000w',\r\n};\r\nconst PRESET_1200 = {\r\n name: 'preset_1200',\r\n width: '1200w',\r\n};\r\nconst PRESET_1500 = {\r\n name: 'preset_1500',\r\n width: '1500w',\r\n};\r\nconst PRESET_1800 = {\r\n name: 'preset_1800',\r\n width: '1800w',\r\n};\r\nconst PRESET_2000 = {\r\n name: 'preset_2000',\r\n width: '2000w',\r\n};\r\nconst PRESET_2200 = {\r\n name: 'preset_2200',\r\n width: '2200w',\r\n};\r\nconst PRESET_2500 = {\r\n name: 'preset_2500',\r\n width: '2500w',\r\n};\r\n\r\nexport default (WrappedComponent) => {\r\n const SrcSets = (props) => {\r\n const imgIsTouched = () => {\r\n return props.ImageUrl && props.ImageUrl.indexOf('?') > 0;\r\n };\r\n\r\n const defaultPreset = () => {\r\n if (!props.DefaultPreset) return props.ImageUrl;\r\n const paramOrQuery = imgIsTouched() ? '&' : '?';\r\n return `${props.ImageUrl}${paramOrQuery}preset=${props.DefaultPreset.name}`;\r\n };\r\n\r\n const paramOrQuery = imgIsTouched() ? '&' : '?';\r\n\r\n const srcSets =\r\n props.isViewed !== false\r\n ? `${props.ImageUrl}${paramOrQuery}preset=${PRESET_300.name} ${PRESET_300.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_400.name} ${PRESET_400.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_500.name} ${PRESET_500.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_600.name} ${PRESET_600.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_700.name} ${PRESET_700.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_800.name} ${PRESET_800.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_1000.name} ${PRESET_1000.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_1200.name} ${PRESET_1200.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_1500.name} ${PRESET_1500.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_1800.name} ${PRESET_1800.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_2000.name} ${PRESET_2000.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_2200.name} ${PRESET_2200.width},\r\n ${props.ImageUrl}${paramOrQuery}preset=${PRESET_2500.name} ${PRESET_2500.width}`\r\n : null;\r\n\r\n return (\r\n \r\n );\r\n };\r\n\r\n return SrcSets;\r\n};\r\n"],"names":["Container","WrappedComponent","offsetTop","handles","printHandler","ticking","throttleScroll","requestAnimationFrame","map","handle","window","addEventListener","matchMedia","addListener","mql","matches","props","viewport","useRef","isInViewPort","setIsInViewPort","useState","isViewed","setIsViewed","isBrowserTop","setIsBrowserTop","isBottomBrowserTop","setIsBottomBrowserTop","isInRange","setIsInRange","getBoundingClientRect","current","isComponentInViewPort","rect","offset","top","innerHeight","isComponentBrowserTop","isComponentBottomBrowserTop","bottom","isComponentWithinRange","isPrinting","useEffect","setTimeout","push","_jsx","ref","children","Viewport","CurrentPageProps","ImageUrl","IsEditMode","isLazyLoaded","setIsLazyLoaded","currentSrc","setCurrentSrc","paramOrQuery","indexOf","presetLowResUrl","imageUrl","isLazyLoad","handleOnLoad","e","img","currentTarget","LazyLoadImageUrl","LazyLoadImage","withSrcSets","withLazyLoad","Image","textContent","classNames","Media","href","Href","target","Target","className","_jsxs","Render","blocks","propertyName","currentPageProps","isBackgroundImage","Sizes","sizes","Heading","Description","Teaser","isStartPage","PageTypeName","isSurveyBlock","Content","RelatedContent","filter","i","BlockTypeName","length","columns","hide","index","TeaserItemLink","Title","Preamble","Url","ThemeContent","ThemeHeading","_props$Description","classes","src","alt","ImageDescription","undefined","Alt","ariaHidden","style","backgroundImage","SrcSets","srcSet","attributes","role","includeTracking","onLoad","dangerouslySetInnerHTML","__html","Blocks","ManuelPageListBlock","EntryBlock","ContentHistoryBlock","SurveyBlock","withRouter","surveyClasses","isSmallViewport","newsClasses","relatedContentId","id","EntryHeading","EntryContent","Section","Modifiers","IntroHeading","IntroContent","NewsPush","lastListItemId","SectionHeading","SectionContent","PRESET_300","PRESET_400","PRESET_500","PRESET_600","PRESET_700","PRESET_800","PRESET_1000","PRESET_1200","PRESET_1500","PRESET_1800","PRESET_2000","PRESET_2200","PRESET_2500","imgIsTouched","srcSets","isSrcSets","defaultPreset","DefaultPreset","name"],"sourceRoot":""}