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AA,CA5GiB,CAASoC,EAAAA,WA4Q7B,W","sources":["webpack://kvanum/./src/templates/storyblok-entry.js"],"sourcesContent":["import React, { lazy, useEffect, useState } from 'react';\nimport Components from 'src/components.js';\nimport Header from 'components/global/header';\n/* eslint-disable react/prefer-stateless-function */\nimport { graphql } from 'gatsby';\nimport Helmet from 'react-helmet';\n\nconst LazyFooter = lazy(() => import('components/global/footer'));\n\nconst DelayedComponent = ({ children, delay }) => {\n const [show, setShow] = useState(false);\n\n useEffect(() => {\n const timer = setTimeout(() => {\n setShow(true);\n }, delay);\n\n return () => clearTimeout(timer);\n }, [delay]);\n\n return show ? children : null;\n};\nclass StoryblokEntry extends React.Component {\n render() {\n const {\n story,\n header,\n footer,\n breadcrumb,\n showrooms,\n cookie,\n language,\n isFurnishingCategory,\n productRegex,\n search,\n general_config,\n ...rest\n } = this.props.pageContext;\n\n const cookieInformationLangCodes = {\n se: 'SV',\n dk: 'DA',\n en: 'EN',\n no: 'NB',\n };\n\n const { data } = this.props;\n const component = story.content.component;\n\n if (component === 'page_start' || component === 'page_scroll') {\n return (\n