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,EAAY,IAAKjL,EAAO6H,gBAAiBA,IAE3C7H,EAAMQ,WACC,C","sources":["platformui/Section/index.js","platformui/FormatDateTime/index.js","platformui/Chapter/view.js","platformui/ToggleChapter/index.js","platformui/Chapter/responsive-images.js","platformui/ArticleList/index.js","platformui/Teaser/list-view-toggler.js","platformui/Chapter/index.js","platformui/Containers/withAnchorNav.js","platformui/Teaser/index.js"],"sourcesContent":["import React from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst Section = (props) => {\r\n const classes = classNames('c-section', props.customClass, {\r\n ...props.Modifiers,\r\n });\r\n\r\n const sectionClasses = classNames({\r\n 'c-section__inner': true,\r\n 'c-section__inner--double-column':\r\n props.Modifiers && props.Modifiers['c-section__double-column'],\r\n });\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
{props.children}
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default Section;\r\n","import React from 'react';\r\n\r\nconst formatDate = (date, year, month, day) => {\r\n if (!date) return null;\r\n\r\n let options = {\r\n year: year,\r\n month: month,\r\n day: day,\r\n };\r\n let fmDate = new Date(date.toString()).toLocaleDateString('sv-SE', options);\r\n\r\n return fmDate.toUpperCase();\r\n};\r\n\r\nconst FormatDateTime = ({ date, year, month, day }) => {\r\n return (\r\n \r\n );\r\n};\r\nFormatDateTime.defaultProps = {\r\n year: 'numeric',\r\n month: 'long',\r\n day: 'numeric',\r\n};\r\n\r\nexport default FormatDateTime;\r\n","import React, { Fragment } from 'react';\r\nimport classNames from 'classnames';\r\nimport * as Render from '../Base/Render';\r\nimport ImageBlock from '../ImageBlock';\r\nimport withLazyLoad from '../Containers/withLazyLoad';\r\nimport withSrcSets from '../Containers/withSrcSets';\r\nimport withSensitiveImage from '../Containers/withSensitiveImage';\r\nimport SemanticHeader from './semantic-header';\r\nimport ResponsiveImages from './responsive-images';\r\n\r\nconst ImageBlockLazyLoad = withLazyLoad(\r\n withSrcSets(withSensitiveImage(ImageBlock))\r\n);\r\n\r\nconst View = (props) => (\r\n \r\n {props.Heading && (\r\n \r\n {props.Heading}\r\n \r\n )}\r\n {props.RegionAddition?.ContentAbove && (\r\n \r\n \r\n \r\n )}\r\n {props.Preamble &&

{props.Preamble}

}\r\n {props.Image && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n {props.ContentString}\r\n {props.RegionAddition?.ContentBelow && (\r\n \r\n \r\n \r\n )}\r\n
\r\n);\r\n\r\nexport default View;\r\n","import React, { useState, useEffect } from 'react';\r\nimport classNames from 'classnames';\r\nimport { equalSectionIdsOnPageLoad } from '../Containers/withAnchorNav';\r\nimport { isMediumViewport } from '../Hooks/useMedia';\r\n\r\nconst ToggleChapter = (props) => {\r\n const [isOpen, setIsOpen] = useState(\r\n !isMediumViewport()\r\n ? true\r\n : equalSectionIdsOnPageLoad(props.AnchorSectionId)\r\n );\r\n\r\n useEffect(() => {\r\n if (!equalSectionIdsOnPageLoad(props.AnchorSectionId)) return;\r\n const element = document.getElementById(props.AnchorSectionId);\r\n if (!element) return;\r\n const elementTop = element.getBoundingClientRect().top + window.scrollY;\r\n window.scrollTo({ top: elementTop, behavior: 'smooth' });\r\n }, [props.AnchorSectionId]);\r\n\r\n return (\r\n \r\n {isMediumViewport() ? (\r\n setIsOpen(e.target.open)}\r\n id={props.id}\r\n >\r\n \r\n

{props.Heading}

\r\n \r\n
\r\n {props.children}\r\n \r\n ) : (\r\n props.children\r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default ToggleChapter;\r\n","const ResponsiveImages = (props) => {\r\n return (\r\n (props.ImageProperties === 'small-bleed' && {\r\n sizes: '(min-width: 640px) 315px, (min-width: 1024px) 403px, 100vw',\r\n }) ||\r\n (props.ImageProperties === 'mini-bleed' && {\r\n sizes: '(min-width: 640px) 315px, (min-width: 1024px) 193px, 100vw',\r\n }) ||\r\n (props.ImageProperties === 'mini' && {\r\n sizes: '(min-width: 640px) 315px, (min-width: 1024px) 193px, 100vw',\r\n }) ||\r\n (props.ImageProperties === 'mini-reverse' && {\r\n sizes: '(min-width: 640px) 315px, (min-width: 1024px) 193px, 100vw',\r\n }) ||\r\n (props.ImageProperties === 'xsmall-bleed' && {\r\n sizes: '(min-width: 640px) 315px, (min-width: 1024px) 300px, 100vw',\r\n }) ||\r\n (props.ImageProperties === 'xsmall' && {\r\n sizes: '(min-width: 640px) 315px, (min-width: 1024px) 300px, 100vw',\r\n }) ||\r\n (props.ImageProperties === 'xsmall-reverse' && {\r\n sizes: '(min-width: 640px) 315px, (min-width: 1024px) 300px, 100vw',\r\n }) ||\r\n (props.ImageProperties && { sizes: '(min-width: 640px) 652px, 100vw' })\r\n );\r\n};\r\n\r\nexport default ResponsiveImages;\r\n","import classNames from 'classnames';\r\nimport { any, node, number, string } from 'prop-types';\r\nimport React from 'react';\r\nimport * as Render from '../Base/Render';\r\nimport FormatDateTime from '../FormatDateTime';\r\nimport { LazyLoadImage } from '../Image';\r\n\r\nconst SplitColumns = ({ children, split, className }) => {\r\n if (!split) return children;\r\n\r\n return
{children}
;\r\n};\r\n\r\nconst ArticleList = (props) => {\r\n const getColumnClasses = (numOfItems, blockName) => {\r\n if (blockName === 'DoubleColumnBlock') {\r\n return 'column';\r\n }\r\n\r\n return classNames({\r\n columns: true,\r\n 'medium-8': numOfItems === 1,\r\n 'medium-4': numOfItems === 3 || numOfItems === 2,\r\n 'medium-6 large-3': numOfItems > 3,\r\n });\r\n };\r\n\r\n const columnClasses = getColumnClasses(\r\n props.numOfItems,\r\n props.blockName ? props.blockName : props.pageName\r\n );\r\n\r\n const teaserTheme = classNames({\r\n 'c-article-list__theme--default': !props.Theme,\r\n [`c-article-list__theme--${props.Theme}`]: props.Theme,\r\n });\r\n\r\n const headerClasses = classNames({\r\n 'c-article-list__heading': true,\r\n [teaserTheme]: props.Theme,\r\n });\r\n\r\n const infoType = `c-article-list__type--${props.InformationType}`;\r\n const teaserClasses = classNames({\r\n 'c-article-list': true,\r\n 'c-article-list--related': true,\r\n 'c-article-list--no-text': !props.Preamble,\r\n 'c-article-list--full-layout': props.numOfItems === 1,\r\n 'c-article-list--nth1': props.numOfItems === 1,\r\n 'c-article-list--nth2': props.numOfItems === 2,\r\n 'c-article-list--nth3': props.numOfItems === 3,\r\n 'c-article-list--gt1': props.numOfItems > 1,\r\n 'c-article-list--gt2': props.numOfItems > 2,\r\n 'c-article-list--gt3': props.numOfItems > 3,\r\n 'c-article-list--double-column': props.blockName === 'DoubleColumnBlock',\r\n [`c-article-list--${props.Theme}`]: props.Theme,\r\n [teaserTheme]: props.Theme,\r\n [infoType]: props.InformationType,\r\n });\r\n\r\n const setPreset = () => {\r\n switch (props.numOfItems) {\r\n case 1:\r\n case 2:\r\n return '1200px';\r\n default:\r\n return '407px';\r\n }\r\n };\r\n\r\n //If only one then split into two columnClasses\r\n const rowSplit = classNames({\r\n row: props.numOfItems === 1,\r\n 'u-flexwrap': props.numOfItems === 1,\r\n 'c-article-list--center': props.numOfItems <= 2,\r\n });\r\n\r\n const splitColumns = classNames({\r\n 'medium-6 columns': props.Media && props.numOfItems === 1,\r\n 'medium-12 columns': !props.Media && props.numOfItems === 1,\r\n });\r\n\r\n const teaserContainsImage =\r\n props.Media &&\r\n props.Media[0] &&\r\n props.Media[0].ImageUrl &&\r\n props.Media[0].ImageUrl.length > 0;\r\n\r\n return (\r\n
\r\n {props.Title && (\r\n
\r\n \r\n {props.Media && (\r\n \r\n
\r\n {props.ShowVideoPlayIcon && teaserContainsImage && (\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.Vignette && (\r\n \r\n {props.Vignette}\r\n \r\n )}\r\n {props.Date && }\r\n {props.use1177ProfessionDesign ? (\r\n

\r\n \r\n \r\n {props.Title}\r\n \r\n

\r\n ) : (\r\n

\r\n \r\n {props.Title}\r\n \r\n

\r\n )}\r\n {typeof props.Preamble === 'string' && (\r\n
\r\n

{props.Preamble}

\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\nArticleList.propTypes = {\r\n Preamble: node,\r\n numOfItems: number,\r\n Vignette: node,\r\n Theme: string,\r\n Title: string,\r\n Url: string,\r\n Media: any,\r\n};\r\n\r\nexport default ArticleList;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport { useSweLang } from '../Helpers/helpers';\r\n\r\nconst ListViewToggler = (props) => {\r\n return (\r\n
\r\n \r\n {props.translations.showcontentas}\r\n \r\n props.onClick(true)}\r\n >\r\n \r\n {props.translations.showasbricks}\r\n \r\n \r\n props.onClick(false)}\r\n >\r\n \r\n {props.translations.showaslist}\r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nexport default ListViewToggler;\r\n","import classNames from 'classnames';\r\nimport React, { createRef, useEffect } from 'react';\r\nimport ToggleChapter from '../ToggleChapter';\r\nimport View from './view';\r\n\r\nconst Chapter = (props) => {\r\n const content = createRef(null);\r\n function fitInWidth() {\r\n if (content.current === null) {\r\n return null;\r\n }\r\n const elements = content.current.querySelectorAll('.table-wrapper-inner');\r\n for (let i = 0; i < elements.length; i++) {\r\n const wideTable = elements[i].className.indexOf('wide');\r\n\r\n const offsetWidth = elements[i].offsetWidth;\r\n\r\n // If tables width is greater than scrollwidth it should have overflow\r\n if (offsetWidth < elements[i].scrollWidth) {\r\n // If table has class .wide, eg is not -1, set classes for overflow AND for wide\r\n if (wideTable !== -1) {\r\n elements[i].parentNode.className =\r\n 'table-wrapper table-wrapper--is-wide table-wrapper--is-overflow';\r\n } else {\r\n elements[i].parentNode.className =\r\n 'table-wrapper table-wrapper--is-overflow';\r\n }\r\n }\r\n }\r\n }\r\n\r\n function wrapTables() {\r\n if (!props.ContentString || content.current === null) {\r\n return null;\r\n }\r\n\r\n const table = content.current.querySelectorAll('table');\r\n if (table.length === 0) return;\r\n\r\n for (var i = 0; table.length - i; i++) {\r\n const parent = table[i].parentNode;\r\n\r\n if (parent.parentNode.className.indexOf('table-wrapper-inner') > -1)\r\n continue;\r\n\r\n const wrapper = document.createElement('div');\r\n wrapper.className = 'table-wrapper';\r\n\r\n const tableWrapper = document.querySelectorAll('.table-wrapper');\r\n const wrapperInner = document.createElement('div');\r\n const innerTableWrapper = document.createElement('div');\r\n const tableClasses = table[i].className;\r\n wrapperInner.className = `table-wrapper-inner ${tableClasses}`;\r\n tableWrapper.className = `table-wrapper ${tableClasses}`;\r\n\r\n // insert wrapper before el in the DOM tree\r\n parent.insertBefore(wrapperInner, table[i]);\r\n innerTableWrapper.appendChild(table[i]);\r\n wrapperInner.appendChild(innerTableWrapper);\r\n parent.insertBefore(wrapper, wrapperInner);\r\n wrapper.appendChild(wrapperInner);\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (typeof window !== 'undefined') {\r\n window.requestAnimationFrame(() => {\r\n wrapTables();\r\n fitInWidth();\r\n });\r\n }\r\n }, []);\r\n\r\n const hasInlineImage =\r\n props.ImageProperties === 'mini' ||\r\n props.ImageProperties === 'mini-reverse' ||\r\n props.ImageProperties === 'xsmall' ||\r\n props.ImageProperties === 'xsmall-reverse';\r\n\r\n const dataPrintSidebarTitle = props.Heading || '';\r\n\r\n return (\r\n \r\n {!props.noToggle &&\r\n props.Heading &&\r\n props.AnchorSectionId &&\r\n !props.isH3 &&\r\n !props.CurrentPageProps.Content.HideAnchorNavigation &&\r\n !props.HideAnchorLink ? (\r\n \r\n \r\n \r\n ) : (\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default Chapter;\r\n","import React, { useState } from 'react';\r\n\r\nexport default (WrappedComponent) => {\r\n return (props) => {\r\n const [itemId, setItemId] = useState(null);\r\n\r\n const currentActiveMenuItem = (id) => {\r\n setItemId(id);\r\n };\r\n\r\n return (\r\n currentActiveMenuItem(id)}\r\n />\r\n );\r\n };\r\n};\r\n\r\nexport function equalSectionIdsOnPageLoad(id) {\r\n if (typeof window !== 'undefined') {\r\n return window.location.hash === '#' + id;\r\n }\r\n}\r\n","import React, { useState } from 'react';\r\nimport classNames from 'classnames';\r\nimport ArticleList from '../ArticleList'; //TODO fixa mer generiskt\r\nimport * as Render from '../Base/Render';\r\nimport { useSweLang } from '../Helpers/helpers';\r\nimport { LazyLoadImage } from '../Image';\r\nimport Linklist from '../Linklist';\r\nimport Section from '../Section';\r\nimport ListViewToggler from './list-view-toggler';\r\nimport useWindowLocationHref from '../Hooks/useWindowLocation';\r\n\r\nconst TeaserItemLinkList = (props) => {\r\n const href = useWindowLocationHref();\r\n const contentClassNames = classNames({\r\n 'c-teaser__content': true,\r\n 'c-teaser__content--with-img': props.Media,\r\n });\r\n\r\n const teaserContainsImage =\r\n props.Media &&\r\n props.Media[0] &&\r\n props.Media[0].ImageUrl &&\r\n props.Media[0].ImageUrl.length > 0;\r\n\r\n return (\r\n
  • \r\n \r\n {props.Media && (\r\n
    \r\n {props.ShowVideoPlayIcon && teaserContainsImage && (\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.Title}\r\n \r\n \r\n {props.TitleTranslation && (\r\n \r\n {props.TitleTranslation}\r\n \r\n )}\r\n
    \r\n {props.Preamble &&

    {props.Preamble}

    }\r\n \r\n
    \r\n
    \r\n \r\n
  • \r\n );\r\n};\r\n\r\nconst TeaserItemLink = (props) => {\r\n const href = useWindowLocationHref();\r\n const classes = props.className\r\n ? props.className\r\n : props.horizontalDirection\r\n ? 'columns c-teaser-outer'\r\n : 'medium-6 large-3 columns c-teaser-outer';\r\n\r\n const teaserHeadingLink = classNames({\r\n 'c-teaser__heading--no-text': !props.Preamble,\r\n });\r\n\r\n const teaserClasses = classNames({\r\n 'c-teaser': true,\r\n 'c-teaser--eq-height': true,\r\n 'c-teaser--has-img': props.Media,\r\n });\r\n\r\n const teaserContainsImage =\r\n props.Media &&\r\n props.Media[0] &&\r\n props.Media[0].ImageUrl &&\r\n props.Media[0].ImageUrl.length > 0;\r\n\r\n return (\r\n
  • \r\n
    \r\n \r\n {props.Media && (\r\n
    \r\n {props.ShowVideoPlayIcon && teaserContainsImage && (\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.Title}\r\n \r\n \r\n \r\n {props.TitleTranslation && (\r\n \r\n {props.TitleTranslation}\r\n \r\n )}\r\n {props.Preamble && (\r\n
    \r\n

    {props.Preamble}

    \r\n
    \r\n )}\r\n
    \r\n
    \r\n \r\n
  • \r\n );\r\n};\r\n\r\nconst ListChildren = (props) => {\r\n if (!props.Items) return null;\r\n let masonryLayout = props.IsListOfChildren || props.masonryLayout;\r\n\r\n const listStyle = classNames({\r\n row: props.Items.length > 2,\r\n 'u-flexwrap': !masonryLayout || !props.toggleBrickView,\r\n 'u-columns': masonryLayout,\r\n 'u-columns--gt-3': masonryLayout && props.Items.length > 3,\r\n 'u-columns--gt-4': masonryLayout && props.Items.length > 4,\r\n 'u-columns--is-listview': masonryLayout && !props.toggleBrickView,\r\n 'u-flexwrap--is-listview': !props.toggleBrickView,\r\n 'u-article--center': props.Items.length <= 2,\r\n ...props.WrapperModifiers,\r\n });\r\n\r\n const Items = props.Items.map((item, index) => {\r\n if (\r\n props.BlockTypeName === 'PageListBlock' ||\r\n props.Design === 'page-list'\r\n ) {\r\n return props.IsListOfChildren ? (\r\n \r\n ) : (\r\n \r\n );\r\n } else if (props.CurrentPageProps.BlockTypeName === 'DoubleColumnBlock') {\r\n return (\r\n \r\n );\r\n } else {\r\n return (\r\n \r\n );\r\n }\r\n });\r\n\r\n let cypressValues = classNames({\r\n 'ui-article-list': props.BlockTypeName === 'ManuelPageListBlock',\r\n 'ui-search-article-list': props.BlockTypeName == 'SearchArticleListBlock',\r\n });\r\n if (cypressValues.length < 1) cypressValues = null;\r\n\r\n return props.BlockTypeName === 'PageListBlock' ? (\r\n
      \r\n {props.BlockTypeName === 'PageListBlock'\r\n ? Render.Property(Items, 'ListRoot')\r\n : Render.Property(Items, 'MainContent')}\r\n
    \r\n ) : (\r\n
    \r\n {props.BlockTypeName === 'PageListBlock'\r\n ? Render.Property(Items, 'ListRoot')\r\n : Render.Property(Items, 'MainContent')}\r\n
    \r\n );\r\n};\r\n\r\nconst Teaser = (props) => {\r\n const modifiers = {\r\n ...props.SectionModifiers,\r\n 'c-section--navigation': props.BlockTypeName === 'PageListBlock',\r\n };\r\n\r\n const [toggleBrickView, setToggleBrickView] = useState(!props.ShowListView);\r\n\r\n const showListViewToggler =\r\n props.BlockTypeName === 'PageListBlock' && props.UseListToggler;\r\n\r\n const sectionHeader = classNames({\r\n 'c-section__header': true,\r\n 'c-section__header--listview-shown': showListViewToggler,\r\n 'c-section__header--heading-shown': props.Heading,\r\n 'c-section__header--double-column':\r\n props.CurrentPageProps.BlockTypeName == 'DoubleColumnBlock',\r\n });\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n {props.Heading ? (\r\n

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

    \r\n ) : (\r\n

    \r\n {props.Translations?.currentarticles}\r\n

    \r\n )}\r\n {showListViewToggler && (\r\n {\r\n setToggleBrickView(value);\r\n }}\r\n toggleBrickView={toggleBrickView}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n {props.Items && (\r\n \r\n )}\r\n {props.children}\r\n
    \r\n );\r\n};\r\n\r\nexport { Teaser, TeaserItemLink };\r\n"],"names":["props","classes","classNames","customClass","Modifiers","sectionClasses","_jsx","className","children","formatDate","date","year","month","day","options","Date","toString","toLocaleDateString","toUpperCase","FormatDateTime","_ref","dateTime","toISOString","defaultProps","ImageBlockLazyLoad","withLazyLoad","withSrcSets","withSensitiveImage","ImageBlock","_props$RegionAddition","_props$RegionAddition2","_jsxs","Fragment","Heading","SemanticHeader","isH3","StoryPageHeading","AnchorSectionId","CurrentPageProps","Content","HideAnchorNavigation","HideAnchorLink","RegionAddition","ContentAbove","Render","blocks","propertyName","Blocks","isMemberOfChapterContainer","Preamble","Image","ImageProperties","isMemberOfChapter","Sizes","ResponsiveImages","ContentString","ContentBelow","isOpen","setIsOpen","useState","isMediumViewport","equalSectionIdsOnPageLoad","useEffect","element","document","getElementById","elementTop","getBoundingClientRect","top","window","scrollY","scrollTo","behavior","id","isChapterContainer","undefined","open","onToggle","e","target","sizes","SplitColumns","split","columnClasses","numOfItems","blockName","pageName","columns","getColumnClasses","teaserTheme","Theme","headerClasses","infoType","InformationType","teaserClasses","rowSplit","row","splitColumns","Media","teaserContainsImage","ImageUrl","length","Title","ShowVideoPlayIcon","src","alt","title","tabIndex","currentPageProps","LazyLoadImage","isBackgroundImage","DefaultPreset","name","Alt","ImageDescription","setPreset","Vignette","use1177ProfessionDesign","href","Url","lang","useSweLang","Language","translations","showcontentas","toggleBrickView","role","type","onClick","showasbricks","showaslist","_props$regionalName","content","createRef","requestAnimationFrame","current","table","querySelectorAll","i","parent","parentNode","indexOf","wrapper","createElement","tableWrapper","wrapperInner","innerTableWrapper","tableClasses","insertBefore","appendChild","wrapTables","elements","wideTable","offsetWidth","scrollWidth","fitInWidth","hasInlineImage","dataPrintSidebarTitle","ref","regionalName","noToggle","View","ToggleChapter","UniqueBlockId","location","hash","TeaserItemLinkList","useWindowLocationHref","contentClassNames","dir","Dir","TitleTranslation","Lang","Linklist","TeaserItemLink","horizontalDirection","teaserHeadingLink","ListChildren","Items","masonryLayout","IsListOfChildren","listStyle","WrapperModifiers","map","item","index","BlockTypeName","Design","ArticleList","PageTypeName","_props$CurrentPagePro","_props$CurrentPagePro2","FeatureToggleSettings","Use1177ProfessionDesign","cypressValues","Teaser","_props$Translations","modifiers","SectionModifiers","setToggleBrickView","ShowListView","showListViewToggler","UseListToggler","sectionHeader","Section","Translations","currentarticles","ListViewToggler","value"],"sourceRoot":""}