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BuM,IAAWrM,EAAAA,EAAAA,KAAA,OAAKH,UAAU,4BAA2BC,SAAEuM,IACvDu+B,IAAuB5qC,EAAAA,EAAAA,KAAA,KAAAF,SAAI8qC,KAC5B5qC,EAAAA,EAAAA,KAAA,MAAAF,SAAK8M,EAAMjM,IAAI4pC,GAAmBjrC,SAN7B,IAOD,EAIVqrC,GAASl/B,aAAe,CACtBm/B,oBAAqB,KACrBJ,cAAe,YACf39B,UAAW,CAAC,GAKDi+B,EAAAA,OACF51B,EAAAA,OACEA,EAAAA,QAEJE,EAAAA,EAAAA,UACLD,EAAAA,EAAAA,OAAM,CACJs1B,KAAMv1B,EAAAA,OAAO61B,WACbL,MAAOx1B,EAAAA,OAAO61B,c","sources":["platformui/AdjustableLinkBlock/index.js","platformui/ArticleFooter/regionarticlefooter.js","platformui/ArticleFooter/index.js","platformui/ArticleHeader/regionlabel.js","platformui/ArticleHeader/index.js","platformui/Base/Sensors/viewport.js","platformui/Base/Sensors/isInRange.js","platformui/Buttons/LinkButton/index.js","platformui/Hooks/useShare.js","platformui/Buttons/ShareButton/index.js","platformui/Buttons/index.js","platformui/CollapsibleText/index.js","platformui/Contact-card/components/list.js","platformui/Contact-card/contact-alert/index.js","platformui/Contact-card/contact-card-panel/index.js","platformui/Contact-card/contact-header/index.js","platformui/Contact-card/contact-subheading/index.js","platformui/Contact-card/current-info/index.js","platformui/Contact-card/e-services/index.js","platformui/Contact-card/find-us/index.js","platformui/Contact-card/offering/index.js","platformui/Contact-card/toggle-more/index.js","platformui/Contact-card/unit/ownerAndFinancing.js","platformui/Contact-card/unit/index.js","platformui/Contact-card/unit/unit-section.js","platformui/Containers/toggleContainer.js","platformui/Containers/withAnchorNav.js","platformui/Containers/withLazyLoad.js","platformui/Containers/withSensitiveImage.js","platformui/Containers/withSrcSets.js","platformui/Facets/index.js","platformui/FormatDateTime/index.js","platformui/Forms/error.js","platformui/Forms/field.js","platformui/Forms/helpers.js","platformui/Forms/input.js","platformui/Forms/label.js","platformui/Forms/select.js","platformui/Forms/textarea.js","platformui/Hooks/useArrowNavigation.js","platformui/Hooks/useWindowLocation.js","platformui/IDSDescriptionList/index.js","platformui/ImageBlock/index.js","platformui/ImageZoom/index.js","platformui/Image/index.js","platformui/Inputs/custom-select.js","platformui/KeywordHints/index.js","platformui/Localnav/item.js","platformui/Localnav/index.js","platformui/Person/index.js","platformui/PrintIframe/index.js","platformui/PrintSidebar/index.js","platformui/SearchBlock/searchheading.js","platformui/SearchBlock/index.js","platformui/Section/index.js","platformui/Share/index.js","platformui/Shortcuts/index.js","platformui/TabMenu/index.js","platformui/ArticleList/index.js","platformui/Teaser/list-view-toggler.js","platformui/Teaser/index.js","platformui/Theme/index.js","platformui/ToggleChapter/index.js","platformui/Iframe/index.js","platformui/Video/index.js","platformui/AOListBlock/list.js","platformui/AOListBlock/navigation.js","platformui/Base/Sensors/track.js","platformui/AOListBlock/aolist.js","platformui/Chapter/responsive-images.js","platformui/Chapter/view.js","platformui/Chapter/index.js","platformui/Containers/withToggleHeaderOnScroll.js","platformui/Containers/withUpdateProps.js","platformui/Forms/radio.js","platformui/Forms/checkbox.js","platformui/Forms/button.js","platformui/TextBlock/RegionalHighlightTextBlock/index.js","platformui/HighLight/index.js","platformui/Hooks/useMatomoTrackEventOnChange.js","platformui/Intro/index.js","platformui/Hooks/usePagination.js","platformui/MediaGallery/components/content.js","platformui/MediaGallery/components/image.js","platformui/MediaGallery/components/pagination.js","platformui/MediaGallery/components/video.js","platformui/MediaGallery/index.js","platformui/QuizContainerBlock/infoBox.js","platformui/QuizContainerBlock/RadioButton/index.js","platformui/QuizContainerBlock/quizQuestion.js","platformui/QuizContainerBlock/index.js","platformui/SearchEntryFormBlock/entryform-searchfield.js","platformui/SearchEntryFormBlock/index.js","platformui/TabPanel/index.js","platformui/Tabs/index.js","platformui/Typeahead/index.js","platformui/DescriptionList/index.js","platformui/Progressbar/index.js","platformui/Contact-card/components/timelist.js"],"sourcesContent":["import React from 'react';\r\nimport { node, bool, string, shape } from 'prop-types';\r\n\r\nconst AdjustableLinkBlock = (props) => {\r\n if (!props.Content) return false;\r\n\r\n const { Heading, Text, LinkText, LinkUrl } = props.Content;\r\n\r\n return (\r\n
\r\n {props.useBackgroundImage && (\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n {Heading && (\r\n

{Heading}

\r\n )}\r\n\r\n {LinkUrl && (\r\n

\r\n \r\n {Text}\r\n {props.useIconLink && }\r\n \r\n

\r\n )}\r\n {!LinkUrl &&

{Text}

}\r\n\r\n {LinkText && (\r\n \r\n {LinkText}\r\n \r\n )}\r\n
\r\n
\r\n );\r\n};\r\n\r\nAdjustableLinkBlock.propTypes = {\r\n useBackgroundImage: bool,\r\n useIconLink: bool,\r\n Content: shape({\r\n LinkUrl: string,\r\n LinkText: node,\r\n Heading: node,\r\n Text: node,\r\n }),\r\n};\r\n\r\nexport default AdjustableLinkBlock;\r\n","import React from 'react';\r\n\r\nconst RegionArticleFooter = (props) => {\r\n return (\r\n
\r\n

{props.Heading}

\r\n
\r\n );\r\n};\r\n\r\nexport default RegionArticleFooter;\r\n","import React from 'react';\r\nimport { shape, node, bool, arrayOf, string } from 'prop-types';\r\nimport Person, { propTypes as personPropTypes } from '../Person';\r\nimport classNames from 'classnames';\r\nimport RegionalArticleFooter from './regionarticlefooter';\r\nimport CollapsiblePanel from '../CollapsiblePanel';\r\n\r\nconst FirstColumn = (props) => {\r\n return (\r\n \r\n {props.children}\r\n
\r\n );\r\n};\r\n\r\nconst SecondColumn = (props) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n};\r\n\r\nconst ArticleFooter = (props) => {\r\n const {\r\n ArticleFooter,\r\n Translations,\r\n FooterHasCollapsibleRoleGroups,\r\n isRegional,\r\n RegionalName,\r\n } = props;\r\n\r\n if (!ArticleFooter) return null;\r\n\r\n const cssClasses = classNames({\r\n 'c-articlefooter': true,\r\n 'c-articlefooter--regional-below': isRegional,\r\n });\r\n\r\n const dataPrintSidebarTitle = Translations?.articlefooter || '';\r\n\r\n return (\r\n
\r\n \r\n {ArticleFooter.Region && (\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n\r\n {ArticleFooter.RoleGroups && (\r\n \r\n )}\r\n \r\n {ArticleFooter.InformationText && (\r\n \r\n )}\r\n
\r\n );\r\n};\r\n\r\nconst ArticleFooterContent = (props) => {\r\n return (\r\n props.ArticleFooter.RoleGroups &&\r\n props.ArticleFooter.RoleGroups.map((item, index) => {\r\n return (\r\n
\r\n
\r\n \r\n {item.Label}: \r\n \r\n\r\n {props.FooterHasCollapsibleRoleGroups ? (\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\nconst RoleItem = (props) => {\r\n const items =\r\n props.Persons &&\r\n props.Persons.map((person, index) => {\r\n return ;\r\n });\r\n return items;\r\n};\r\n\r\nconst ArticleFooterReviewDate = ({ Label, LastReview, contentDirection }) => {\r\n if (!LastReview) return null;\r\n\r\n return (\r\n
\r\n \r\n {Label}:\r\n \r\n \r\n {LastReview}\r\n \r\n
\r\n );\r\n};\r\n\r\nconst ArticleFooterPublishDate = ({ Label, PublishDate, contentDirection }) => {\r\n if (!PublishDate) return null;\r\n\r\n return (\r\n
\r\n \r\n {Label}:\r\n \r\n \r\n {PublishDate}\r\n \r\n
\r\n );\r\n};\r\n\r\nconst ArticleFooterApprovedDate = ({ Label, ApprovedDate }) => {\r\n if (!ApprovedDate) return null;\r\n\r\n return (\r\n
\r\n \r\n {Label}:\r\n \r\n \r\n {ApprovedDate}\r\n \r\n
\r\n );\r\n};\r\n\r\nconst ArticleFooterApprovedBy = ({ Label, ApprovedBy, isRegional }) => {\r\n if (!ApprovedBy) return null;\r\n return (\r\n
\r\n \r\n {Label}:\r\n \r\n \r\n {isRegional ? (\r\n {ApprovedBy}\r\n ) : (\r\n ApprovedBy.map(\r\n (item, i) =>\r\n item.name && (\r\n \r\n {item.url ? {item.name} : item.name}\r\n \r\n )\r\n )\r\n )}\r\n \r\n
\r\n );\r\n};\r\n\r\nArticleFooter.propTypes = {\r\n ArticleFooter: shape({\r\n Region: node,\r\n PublishDate: node,\r\n LastReview: node,\r\n ApprovedDate: node,\r\n ApprovedBy: node,\r\n Rolegroups: arrayOf(\r\n shape({\r\n Label: node,\r\n Persons: arrayOf(\r\n shape({\r\n ...personPropTypes,\r\n })\r\n ),\r\n })\r\n ),\r\n }),\r\n Translations: shape({\r\n revisiondate: string,\r\n publishdate: string,\r\n approveddate: string,\r\n approvedby: string,\r\n }),\r\n isRegional: bool,\r\n RegionalName: string,\r\n HasFooterHeading: bool,\r\n NationalHeading: string,\r\n FooterHasCollapsibleRoleGroups: bool,\r\n contentDirection: string,\r\n};\r\n\r\nexport default ArticleFooter;\r\n","import { bool, node, shape, string } from 'prop-types';\r\nimport React from 'react';\r\nimport Badge from '../IDSBadge';\r\n\r\nconst RegionLabel = ({ useIdsBadge, ...props }) => {\r\n return useIdsBadge ? (\r\n \r\n ) : (\r\n \r\n {props.Content.Translations.regionlabel} {props.Content.CurrentRegionName}\r\n \r\n );\r\n};\r\n\r\nRegionLabel.propTypes = {\r\n useIdsBadge: bool,\r\n Content: shape({\r\n Translations: shape({\r\n regionlabel: string,\r\n }),\r\n CurrentRegionName: node,\r\n }),\r\n};\r\n\r\nexport default RegionLabel;\r\n","import classNames from 'classnames';\r\nimport { arrayOf, bool, node, object, shape, string } from 'prop-types';\r\nimport React from 'react';\r\nimport { useSweLang } from '../Helpers/helpers';\r\nimport Video from '../Video';\r\nimport RegionLabel from './regionlabel';\r\n\r\nconst ArticleTags = (props) => {\r\n const tags = props.Content.ArticleTags;\r\n return (\r\n
\r\n {tags.map((item, key) => {\r\n return (\r\n
\r\n {item}\r\n
\r\n );\r\n })}\r\n
\r\n );\r\n};\r\n\r\nconst ArticleVideoWrapper = ({ TopMediaVideo, isAboveTitle }) => {\r\n return (\r\n \r\n {TopMediaVideo &&
\r\n );\r\n};\r\n\r\nExpandableButton.defaultProps = {\r\n buttonClass: '',\r\n attr: {},\r\n};\r\n\r\nExpandableButton.propTypes = expandableButtonPropTypes;\r\n\r\nexport default ExpandableButton;\r\n","import React, { useRef, useState } from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst DEFAULT_CLASSNAME = 'c-collapsible-text';\r\n\r\nconst CollapsibleText = (props) => {\r\n const collapsibleContentInner = useRef();\r\n const collapsibleContent = useRef();\r\n const [isExpanded, setIsExpanded] = useState(false);\r\n const extendsContent =\r\n collapsibleContentInner.clientHeight > collapsibleContent.clientHeight;\r\n\r\n const handleClick = () => {\r\n setIsExpanded(!isExpanded);\r\n };\r\n\r\n const componentClass = props.className ? props.className : DEFAULT_CLASSNAME;\r\n const buttonText = isExpanded\r\n ? props.buttonReadLessText\r\n : props.buttonReadMoreText;\r\n const classes = classNames({\r\n [`${componentClass}`]: true,\r\n [`${componentClass}--expanded`]: isExpanded,\r\n [`${componentClass}--extends-content`]: extendsContent,\r\n ...props.Modifiers,\r\n });\r\n if (props.hideCollapsibleText)\r\n return
{props.children}
;\r\n\r\n return (\r\n
\r\n {props.heading && (\r\n

{props.heading}

\r\n )}\r\n
\r\n
{props.children}
\r\n
\r\n\r\n handleClick()}\r\n type=\"button\"\r\n >\r\n {props.buttonChildren && props.buttonChildren}\r\n\r\n {buttonText}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default CollapsibleText;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst Listitem = (props) => {\r\n return (\r\n \r\n \r\n {props.Text}\r\n \r\n\r\n {props.itemChildren && props.itemChildren(props)}\r\n \r\n );\r\n};\r\n\r\nconst List = (props) => {\r\n if (!props.items) return null;\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default List;\r\n","import React from 'react';\r\nimport Alert from '../../Alert';\r\nimport { any, arrayOf, string, shape } from 'prop-types';\r\n\r\nconst ContactAlert = (props) => {\r\n if (!props.TemporaryInformation) return null;\r\n\r\n const { Comment, FromDate, ToDate } = props.TemporaryInformation;\r\n\r\n const showComments = () => {\r\n if (!FromDate && !ToDate) return true;\r\n\r\n const date = new Date().toISOString();\r\n if (!FromDate && ToDate > date) return true;\r\n if (FromDate < date && !ToDate) return true;\r\n if (FromDate < date && ToDate > date) return true;\r\n\r\n return false;\r\n };\r\n const showAlert = Comment.length > 0 && showComments();\r\n\r\n if (showAlert) {\r\n const comments = Comment.map((item, index) =>

{item}

);\r\n return (\r\n
\r\n \r\n
\r\n
\r\n
\r\n {comments}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n }\r\n\r\n return null;\r\n};\r\n\r\nContactAlert.propTypes = {\r\n TemporaryInformation: shape({\r\n Comment: arrayOf(string),\r\n FromDate: any,\r\n ToDate: any,\r\n }),\r\n};\r\n\r\nexport default ContactAlert;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport ToggleContainer from '../../Containers/toggleContainer';\r\nimport ExpandableButton from '../../Buttons';\r\nimport SemanticHeader from '../../Chapter/semantic-header';\r\n\r\nconst ContactCardPanel = (props) => {\r\n return (\r\n \r\n {({ open, animation, toggle }) => (\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n {props.children}\r\n
\r\n
\r\n \r\n \r\n )}\r\n
\r\n );\r\n};\r\n\r\nexport default ContactCardPanel;\r\n","import React, { Fragment } from 'react';\r\nimport { string, number, shape } from 'prop-types';\r\nimport scrollIt from '../../Base/Scroll';\r\nimport classNames from 'classnames';\r\n\r\n// Add a discrete word break character to Ungdomsmottagning.\r\n// Use \"domsmottagning\" (no Ung/ung) to be less case sensetive.\r\nconst formatHeadingHtml = (heading) => ({\r\n __html: heading.replace('domsmottagning', 'doms­mottagning'),\r\n});\r\n\r\nconst ContactHeader = (Card) => {\r\n const classes = classNames({\r\n 'contact-header': true,\r\n 'contact-header--no-links': !Card.Address && !Card.Location,\r\n });\r\n\r\n function openIndoorRouteDescriptionIfClosed() {\r\n //if panel is closed, open it\r\n let findUsPanel = document.getElementById('contact');\r\n if (findUsPanel !== null) {\r\n let open = document.querySelector('#contact .c-expandable-button').dataset\r\n .open;\r\n if (open === 'false')\r\n document.querySelector('#contact .c-expandable-button').click();\r\n }\r\n\r\n let indoorRouteDescription = document.getElementById(\r\n 'indoor-route-description'\r\n );\r\n if (indoorRouteDescription !== null) {\r\n let open = document.getElementById('indoor-route-description').dataset\r\n .open;\r\n if (open === 'false')\r\n document.getElementById('indoor-route-description').click();\r\n }\r\n }\r\n const showRouteDescriptionLink = Boolean(\r\n Card.Address ||\r\n (Card.Location && Card.Location.latitude && Card.Location.longitude) ||\r\n Card.IndoorRouteDescription ||\r\n Card.RoadDescription\r\n );\r\n\r\n return (\r\n
\r\n \r\n {Card.LogotypeUrl && (\r\n
\r\n \"Mottagningens\r\n
\r\n )}\r\n {Card.Address && (\r\n

{Card.Address}

\r\n )}\r\n\r\n {Card.Location && (\r\n \r\n \r\n Visa på karta\r\n \r\n \r\n )}\r\n\r\n {showRouteDescriptionLink && (\r\n \r\n {/* On click: Scroll down to find us section and open the indoor route description text */}\r\n {\r\n e.preventDefault();\r\n scrollIt(\r\n document.getElementById(`contact`),\r\n 300,\r\n 'easeOutQuad',\r\n openIndoorRouteDescriptionIfClosed\r\n );\r\n }}\r\n href={`#contact`}\r\n >\r\n {Card.Translations.roaddescription}\r\n \r\n \r\n )}\r\n
\r\n );\r\n};\r\n\r\nContactHeader.propTypes = {\r\n DisplayName: string,\r\n Address: string,\r\n Location: shape({\r\n latitude: number,\r\n longitude: number,\r\n }),\r\n LogotypeUrl: string,\r\n Translations: shape({\r\n roaddescription: string,\r\n }),\r\n};\r\n\r\nexport default ContactHeader;\r\n","import React from 'react';\r\n\r\nconst SubHeading = (props) => {\r\n return (\r\n
\r\n

{props.Heading}

\r\n
\r\n );\r\n};\r\n\r\nexport default SubHeading;\r\n","import React from 'react';\r\nimport { shape, string, arrayOf } from 'prop-types';\r\n\r\nimport ContactCardPanel from '../contact-card-panel';\r\n\r\nconst CurrentInfo = (props) => {\r\n const matomoTrackingClass = 'aktuellt';\r\n return props.Items.map((item, index) => (\r\n
\r\n \r\n {item.PublishFrom && (\r\n \r\n {props.Translations.published}\r\n {item.PublishFrom}\r\n \r\n )}\r\n\r\n {item.Text && (\r\n \r\n )}\r\n {item.Link && (\r\n \r\n )}\r\n \r\n
\r\n ));\r\n};\r\n\r\nCurrentInfo.propTypes = {\r\n /** (BE) */\r\n Translations: shape({\r\n showmoretext: string,\r\n showlesstext: string,\r\n }),\r\n /** (BE) */\r\n Items: arrayOf(\r\n shape({\r\n PublishFrom: string,\r\n Text: string,\r\n Link: shape({\r\n Text: string,\r\n Url: string,\r\n })\r\n })\r\n ),\r\n};\r\n\r\nexport default CurrentInfo;\r\n","import React, { useRef, Fragment } from 'react';\r\nimport classNames from 'classnames';\r\nimport Modal from '../../Modal';\r\nimport { OpenModalButton, ModalPanel, CloseModalButton } from '../../Modal';\r\nimport ToggleMore from '../toggle-more';\r\nimport List from '../components/list';\r\n\r\nconst EServices = (props) => {\r\n const expandableList = useRef();\r\n const matomoTrackingClass = 'e-tjänster';\r\n\r\n const { EServices, Translations } = props;\r\n if (!EServices) return null;\r\n\r\n const setFocus = (id) => {\r\n const activeBtn = document.querySelector(`[data-buttonid='open${id}']`);\r\n if (activeBtn) {\r\n const content = activeBtn?.nextSibling?.getElementsByClassName(\r\n 'e-services__modal-panel__content'\r\n );\r\n if (content) {\r\n content[0].focus();\r\n }\r\n }\r\n };\r\n\r\n return (\r\n
\r\n \r\n {({ visible, toggleMore }) => (\r\n
\r\n \r\n {\r\n const modal = child.Description && (\r\n \r\n {\r\n setTimeout(() => {\r\n setFocus(child.ExternalId);\r\n }, 0);\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n {Translations.close}\r\n \r\n \r\n \r\n \r\n \r\n {child.Heading}\r\n \r\n

{child.Text}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n );\r\n\r\n return [\r\n modal,\r\n ,\r\n ];\r\n }}\r\n />\r\n \r\n\r\n 4,\r\n 'e-services__togglebtn-container--is-gt-10':\r\n EServices.length > 10,\r\n })}\r\n >\r\n toggleMore(expandableList.current)}\r\n >\r\n \r\n \r\n {visible\r\n ? `${Translations.showless}`\r\n : `${Translations.showmore}`}\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default EServices;\r\n","import React, { Fragment } from 'react';\r\nimport classNames from 'classnames';\r\nimport ToggleContainer from '../../Containers/toggleContainer';\r\nimport { isSmallViewport } from '../../Hooks/useMedia';\r\nimport ExpandableButton from '../../Buttons';\r\n\r\nconst Label = (props) => {\r\n if (!props.data) return null;\r\n\r\n return
{props.label}
;\r\n};\r\n\r\nconst Value = (props) => {\r\n if (!props.data) return null;\r\n\r\n return
{props.data}
;\r\n};\r\n\r\nconst ValueLink = (props) => {\r\n if (!props.data) return null;\r\n const matomoTrackingClass = 'hitta-oss';\r\n return (\r\n
\r\n \r\n {props.data}\r\n \r\n
\r\n );\r\n};\r\n\r\nconst AccessibilityUrl = (props) => {\r\n if (!props.url) return null;\r\n const matomoTrackingClass = 'accessibilityurl';\r\n return (\r\n
\r\n \r\n {props.text}\r\n \r\n
\r\n );\r\n};\r\n\r\nconst FindUs = (props) => {\r\n const Card = props;\r\n const isSmall = isSmallViewport();\r\n \r\n return (\r\n
\r\n
\r\n
\r\n {Card.Location && Card.Location.latitude && Card.Location.longitude && (\r\n
\r\n
\r\n
\r\n \r\n {Card.Translations.biggermaptravelplanner}\r\n \r\n
\r\n\r\n {Card.StaticMapUrl && (\r\n \r\n )}\r\n
\r\n
\r\n )}\r\n
\r\n
\r\n {Card.Address && Card.Translations.visitoraddress && (\r\n \r\n \r\n \r\n \r\n )}\r\n\r\n {Card.County && Card.Translations.county && (\r\n \r\n \r\n )}\r\n\r\n {Card.PostalAddress && Card.Translations.postaladdress && (\r\n \r\n \r\n \r\n \r\n )}\r\n\r\n {Card.WebsiteUrl && Card.Translations.websiteurl && (\r\n \r\n \r\n \r\n \r\n )}\r\n\r\n {Card.AccessibilityUrl && Card.Translations.accessibilityurl && (\r\n \r\n \r\n \r\n \r\n )}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {({ open, toggle }) => (\r\n \r\n {!isSmall &&\r\n (Card.IndoorRouteDescription || Card.RoadDescription) && (\r\n

\r\n \r\n

\r\n )}\r\n \r\n {(Card.IndoorRouteDescription || Card.RoadDescription) && (\r\n
\r\n

\r\n {Card.Translations.roaddescription}\r\n

\r\n {Card.RoadDescription && (\r\n
\r\n

{Card.Translations.outdoorroutedescription}

\r\n {Card.RoadDescription.map((description, index) => (\r\n

{description}

\r\n ))}\r\n
\r\n )}\r\n {Card.IndoorRouteDescription && (\r\n
\r\n

{Card.Translations.indoorroutedescription}

\r\n {Card.IndoorRouteDescription.map(\r\n (description, index) => (\r\n

{description}

\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\nFindUs.defaultProps = {\r\n wrapperClasses: 'row',\r\n mapGrid: 'columns large-6 large-push-6',\r\n addressGrid: 'columns large-6',\r\n};\r\n\r\nexport default FindUs;\r\n","import React from 'react';\r\nimport ContactCardPanel from '../contact-card-panel';\r\n\r\nimport Linklist from '../../Linklist';\r\n\r\nconst Offering = (props) => (\r\n
\r\n
\r\n {props.GeneralText && (\r\n
\r\n )}\r\n {props.GeneralFiles && }\r\n
\r\n
    \r\n {props.Offers &&\r\n props.Offers?.map((offer, index) => (\r\n
  • \r\n \r\n
    \r\n {offer.Files && }\r\n \r\n
  • \r\n ))}\r\n
\r\n
\r\n);\r\n\r\nexport default Offering;\r\n","import { useState } from 'react';\r\n\r\nexport default function ToggleMore(props) {\r\n const [visible, setVisible] = useState(false);\r\n\r\n const toggleMore = (list) => {\r\n //Handle focus on toggle\r\n if (!visible) {\r\n // IE11 is not supporting spreaded arrays [...list] and Array.from(), instead of polyfill\r\n // create a NodeList\r\n const visElements = list.querySelectorAll('li');\r\n // create array from NodeList\r\n const visElementsArray = Array.prototype.slice.call(visElements);\r\n // filter array\r\n visElementsArray.filter(\r\n (el) => window.getComputedStyle(el).display !== 'none'\r\n );\r\n const lastItem = visElementsArray && visElementsArray.pop();\r\n const span = lastItem && lastItem.querySelector('span[tabindex]');\r\n span.focus();\r\n }\r\n\r\n setVisible(!visible);\r\n };\r\n\r\n const { children } = props;\r\n\r\n return children({\r\n visible: visible,\r\n toggleMore: toggleMore,\r\n });\r\n}\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst OwnerAndFinancing = (props) => { \r\n return
\r\n {props.OwnerAndFinancing.OwnerType &&
\r\n

\r\n {props.Translations.ownertype}: {props.OwnerAndFinancing.OwnerType}\r\n

\r\n
}\r\n {props.OwnerAndFinancing.FinancingText &&
\r\n

\r\n {props.OwnerAndFinancing.FinancingText}\r\n

\r\n
}\r\n {props.OwnerAndFinancing.PriceLinks && (\r\n
\r\n
\r\n {props.OwnerAndFinancing.PriceLinks.map((link, index) =>\r\n {link.Text}\r\n )} \r\n
\r\n
\r\n )}\r\n
;\r\n}\r\n\r\nconst {string, shape, arrayOf } = PropTypes;\r\n\r\nOwnerAndFinancing.propTypes = {\r\n OwnerAndFinancing: shape({\r\n FinancingText: string,\r\n OwnerType: string,\r\n PriceLinks: arrayOf(shape({\r\n Text: string,\r\n Url: string\r\n }))\r\n }),\r\n Translations: shape({\r\n ownertype: string,\r\n })\r\n};\r\n\r\nexport default OwnerAndFinancing;","import React from 'react';\r\nimport AboutUsSection from './unit-section';\r\nimport OwnerAndFinancing from './ownerAndFinancing';\r\nimport ContactCardPanel from '../contact-card-panel';\r\nimport Linklist from '../../Linklist';\r\n\r\nconst Unit = (props) => {\r\n const matomoTrackingClass = 'om-oss';\r\n return (\r\n
\r\n {props.Description && (\r\n \r\n )}\r\n {props.OwnerAndFinancing && \r\n \r\n }\r\n {(props.Offers || props.GeneralText || props.GeneralFiles) && (\r\n \r\n {props.GeneralText && (\r\n \r\n )}\r\n {props.GeneralFiles && }\r\n {props.Offers && (\r\n
    \r\n {props.Offers?.map((offer, index) => (\r\n
  • \r\n \r\n
    \r\n {offer.Files && }\r\n \r\n
  • \r\n ))}\r\n
\r\n )}\r\n \r\n )}\r\n
\r\n );\r\n};\r\nexport default Unit;\r\n","import React from 'react';\r\nimport SubHeading from '../contact-subheading';\r\nimport classNames from 'classnames';\r\nimport Image from '../../Image';\r\n\r\nconst AboutUsSection = (props) => {\r\n const heading =\r\n props.Heading && props.SubSection ? (\r\n

{props.Heading}

\r\n ) : props.Heading ? (\r\n \r\n ) : null;\r\n\r\n return (\r\n \r\n {heading}\r\n
\r\n \r\n
\r\n {props.PhotoUrl && (\r\n
\r\n {props.PhotoAlt}\r\n
\r\n )}\r\n {props.Content &&\r\n props.Content.map((item, index) =>\r\n item.match(/^\\s*$/) !== null ? (\r\n
\r\n ) : (\r\n

\r\n )\r\n )}\r\n {props.children}\r\n
\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default AboutUsSection;\r\n","import { useState } from 'react';\r\n\r\nconst ToggleContainer = (props) => {\r\n const [open, setOpen] = useState(props.open);\r\n const [animation, setAnimation] = useState(props.open);\r\n\r\n const toggleHandler = () => {\r\n setOpen(!open);\r\n\r\n animation\r\n ? setAnimation(!animation)\r\n : setTimeout(() => setAnimation(!animation), 100);\r\n };\r\n\r\n const { children } = props;\r\n\r\n return children({\r\n open: open,\r\n toggle: toggleHandler,\r\n animation: animation,\r\n });\r\n};\r\n\r\nexport default ToggleContainer;\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 { 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, { useState, useContext } from 'react';\r\nimport * as Cookies from '../Base/Cookies';\r\nimport { CookieContext } from '../Context/cookies';\r\n\r\nconst COOKIE_NAME = 'showSensitiveImages';\r\nexport default (WrappedComponent) => {\r\n const SensitiveImage = (props) => {\r\n const [isLoading, setIsLoading] = useState(false);\r\n\r\n const handleShowSensitiveImages = (cookieContext) => {\r\n if (cookieContext.isAllowed('ShowSensitiveImagesCookie')) {\r\n Cookies.eraseCookie(COOKIE_NAME);\r\n Cookies.createCookie(COOKIE_NAME, 'true');\r\n }\r\n\r\n setIsLoading(true);\r\n\r\n setTimeout(() => {\r\n location.reload();\r\n }, 1200);\r\n };\r\n\r\n const cookieContext = useContext(CookieContext);\r\n\r\n const cookieData = props.CurrentPageProps.cookies;\r\n const hideSensitiveImage =\r\n Cookies.parseCookieData(COOKIE_NAME, cookieData) === 'false' &&\r\n props.IsSensitiveInContext &&\r\n props.CurrentPageProps.IsEditMode === false;\r\n\r\n return (\r\n \r\n handleShowSensitiveImages(cookieContext)\r\n }\r\n showSensitiveImageIsLoading={isLoading}\r\n />\r\n );\r\n };\r\n\r\n return SensitiveImage;\r\n};\r\n","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","import classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport qs from 'qs';\r\nimport React from 'react';\r\n\r\nconst FacetItem = (props) => {\r\n const query = {\r\n ...props.queryString,\r\n };\r\n\r\n //Remove page param\r\n if (query.p) delete query.p;\r\n if (query.site) delete query.site;\r\n\r\n let isSelected = false;\r\n\r\n if (typeof query[props.Name] === 'string') {\r\n isSelected = query[props.Name] === props.Id.toString();\r\n }\r\n\r\n //Selects the \"show all results\" facet\r\n if (typeof query[props.Name] === 'undefined' && query.q?.length > 0) {\r\n isSelected = 'all' === props.Id.toString();\r\n }\r\n\r\n if (typeof query[props.Name] === 'object') {\r\n isSelected =\r\n query[props.Name].filter((key) => key === props.Id.toString()).length > 0;\r\n }\r\n\r\n const classes = classNames({\r\n 'c-facets__item': true,\r\n [`c-facets__item--theme-${props.Id}`]: true,\r\n 'c-facets__item--selected': isSelected,\r\n });\r\n\r\n const makeItemArray = (key, array) => {\r\n if (!array[key]) return [];\r\n if (typeof array[key] === 'string') {\r\n return array[key].split();\r\n }\r\n return array[key];\r\n };\r\n const handleChange = (e) => {\r\n query[props.Name] = makeItemArray(props.Name, query);\r\n // We push the name to the URL for the tracking function to get.\r\n query['categoryname'] = makeItemArray('categoryname', query);\r\n\r\n if (e.currentTarget.checked) {\r\n query[props.Name].push(props.Id);\r\n if (props.Name === 'category') {\r\n query['categoryname'].push(props.Text);\r\n }\r\n } else {\r\n query[props.Name] = query[props.Name].filter((key) => key !== props.Id);\r\n if (props.Name === 'category' && query.categoryname) {\r\n query['categoryname'] = query['categoryname'].filter(\r\n (key) => key !== props.Text\r\n );\r\n }\r\n }\r\n\r\n props.history.push({\r\n search: `?${qs.stringify(query, { indices: false })}`,\r\n });\r\n };\r\n\r\n const handleRadioButtonChange = () => {\r\n props.names.forEach((name) => delete query[name]);\r\n query[props.Name] = props.Id;\r\n\r\n props.history.push({\r\n search: `?${qs.stringify(query, { indices: false })}`,\r\n });\r\n };\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nconst FacetsItems = ({\r\n names,\r\n history,\r\n Facets,\r\n queryString,\r\n pathname,\r\n FacetsRadioButton,\r\n facetCounts,\r\n showCount,\r\n}) =>\r\n Facets.map((item, index) => (\r\n \r\n ));\r\n\r\nconst Facets = ({\r\n history,\r\n Facets,\r\n queryString = [],\r\n pathname,\r\n FacetsRadioButton,\r\n}) => {\r\n if (Facets.Items.length === 0) return null;\r\n\r\n const Names = Facets.Items.reduce((acc, cur) => {\r\n cur.Facets.forEach((item) => {\r\n if (!acc.some((i) => i === item.Name)) {\r\n acc.push(item.Name);\r\n }\r\n });\r\n\r\n return acc;\r\n }, []);\r\n\r\n const items = Facets.Items.map((item, index) => {\r\n if (item.Facets.length === 0) return null;\r\n\r\n return (\r\n
\r\n {item.Heading &&

{item.Heading}

}\r\n \r\n
\r\n );\r\n });\r\n\r\n return (\r\n
\r\n
{items}
\r\n
\r\n );\r\n};\r\n\r\nFacets.propTypes = {\r\n /** React router history object **/\r\n history: PropTypes.object,\r\n /** (BE) */\r\n Facets: PropTypes.shape({\r\n Items: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n /** We also recieve a \"Checked=false\" property that is not used on Facets object. */\r\n Facets: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n Name: PropTypes.string,\r\n Id: PropTypes.string,\r\n Text: PropTypes.string,\r\n })\r\n ),\r\n Heading: PropTypes.string,\r\n })\r\n ),\r\n ErrorMessage: PropTypes.string,\r\n }),\r\n queryString: PropTypes.object,\r\n pathname: PropTypes.string /** is this used? */,\r\n /** (BE) */\r\n FacetsRadioButton: PropTypes.bool,\r\n};\r\n\r\nexport default Facets;\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 from 'react';\r\nimport { bool, shape, string, node } from 'prop-types';\r\n\r\n/**\r\n * Error message component\r\n * \r\n```\r\n\r\n```\r\n * \r\n */\r\nconst Error = (props) => {\r\n if (!props.isError) return null;\r\n\r\n return (\r\n
\r\n {props.errorMessages && props.errorMessages['prefix'] && (\r\n {props.errorMessages['prefix']} \r\n )}\r\n {props.label && (\r\n {props.label}.\r\n )}\r\n {props.errorMessages &&\r\n props.errorMessages[props.errorType] &&\r\n props.errorMessages[props.errorType]}\r\n
\r\n );\r\n};\r\n\r\nexport const propTypes = {\r\n /** If `true` display error message */\r\n isError: bool,\r\n /** Label is displayed before the error message */\r\n label: node,\r\n /** errorType must be a string with the name of a key that exists in `errorMessages` */\r\n errorType: string,\r\n /** errorMessages must contain a key with the the errorType */\r\n errorMessages: shape({\r\n prefix: node,\r\n }),\r\n};\r\n\r\nError.propTypes = propTypes;\r\n\r\nexport default Error;\r\n","import React, { useState } from 'react';\r\nimport classNames from 'classnames';\r\nimport { bool, oneOf, string, object, number, oneOfType } from 'prop-types';\r\nimport Error, { propTypes as errorPropTypes } from './error';\r\n\r\nimport Select from './select';\r\nimport Input from './input';\r\nimport Textarea from './textarea';\r\n\r\n/**\r\n * Will spread all non-specified props (...rest) to the `input` element.\r\n *\r\n * Includes the `` component\r\n */\r\nconst Field = (props) => {\r\n const [isFocus, setIsFocus] = useState(false);\r\n\r\n const {\r\n className,\r\n disabled,\r\n component,\r\n classNameModifiers,\r\n isValid,\r\n isTouched,\r\n label,\r\n errorType,\r\n errorMessages,\r\n name,\r\n ...rest\r\n } = props;\r\n\r\n const classes = classNames(className, {\r\n [`${className}--is-error`]: !isValid && isTouched,\r\n [`${className}--is-valid`]: isValid && isTouched,\r\n [`${className}--disabled`]: disabled,\r\n [`${className}--has-focus`]: isFocus,\r\n ...classNameModifiers,\r\n });\r\n\r\n let ErrorComponent = (\r\n \r\n );\r\n\r\n if (component === 'input') {\r\n return (\r\n setIsFocus(true)}\r\n removeFocus={() => setIsFocus(false)}\r\n disabled={disabled}\r\n error={ErrorComponent}\r\n classes={classes}\r\n name={name}\r\n {...rest}\r\n />\r\n );\r\n }\r\n if (component === 'textarea') {\r\n return (\r\n setIsFocus(true)}\r\n removeFocus={() => setIsFocus(false)}\r\n disabled={disabled}\r\n className={className}\r\n error={ErrorComponent}\r\n classes={classes}\r\n name={name}\r\n {...rest}\r\n />\r\n );\r\n }\r\n if (component === 'select') {\r\n return (\r\n setIsFocus(true)}\r\n removeFocus={() => setIsFocus(false)}\r\n disabled={disabled}\r\n error={ErrorComponent}\r\n classes={classes}\r\n name={name}\r\n {...rest}\r\n />\r\n );\r\n }\r\n return null;\r\n};\r\n\r\nconst propTypes = {\r\n component: oneOf(['input', 'textarea', 'select']),\r\n /** Base classname*/\r\n className: string,\r\n /** classnames compatible object */\r\n classNameModifiers: object,\r\n /** Use `false` to display error message - if isTouched is true */\r\n isValid: bool,\r\n /** Use `true` to indicate that element is touched and error messages can be displayed */\r\n isTouched: bool,\r\n /** Not used */\r\n isFocus: bool,\r\n /** Used as `defaultValue` for input element */\r\n value: oneOfType([string, number]),\r\n /** input element id */\r\n name: string,\r\n ...errorPropTypes,\r\n};\r\n\r\nField.propTypes = propTypes;\r\n\r\nexport default Field;\r\n","export const getAriaDescribedBy = (error, name) =>\r\n error?.props?.isError && {\r\n 'aria-describedby': `${name}-error`,\r\n };\r\n","import React from 'react';\r\nimport T from 'prop-types';\r\nimport { getAriaDescribedBy } from './helpers';\r\n\r\n/** All other props will be spread to the element */\r\nconst Input = (props) => {\r\n const { value, error, removeFocus, classes, name, onBlur, ...rest } = props;\r\n return (\r\n
\r\n {\r\n removeFocus();\r\n onBlur(e);\r\n }}\r\n defaultValue={value}\r\n {...getAriaDescribedBy(error, name)}\r\n name={name}\r\n id={name}\r\n />\r\n {error}\r\n
\r\n );\r\n};\r\n\r\nInput.propTypes = {\r\n /** Used for name and id property. */\r\n name: T.string.isRequired,\r\n /** Used for wrapping
classnamae. */\r\n classes: T.string,\r\n /** Error message. */\r\n error: T.node,\r\n /** Used for defaultValue prop (react) */\r\n value: T.oneOfType([T.string, T.number]),\r\n};\r\n\r\nexport default Input;\r\n","import React from 'react';\r\nimport { string, node, bool } from 'prop-types';\r\n\r\nconst Label = (props) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport const propTypes = {\r\n label: node,\r\n children: node,\r\n required: bool,\r\n className: string,\r\n htmlFor: string,\r\n};\r\n\r\nLabel.propTypes = propTypes;\r\n\r\nexport default Label;\r\n","import React from 'react';\r\nimport { callIfFunction } from '../Helpers/helpers';\r\nimport { getAriaDescribedBy } from './helpers';\r\n\r\nconst Select = (props) => {\r\n const { classes, error, removeFocus, onBlur, children, name, ...rest } =\r\n props;\r\n\r\n return (\r\n
\r\n
\r\n {\r\n callIfFunction(removeFocus);\r\n callIfFunction(onBlur, e);\r\n }}\r\n {...getAriaDescribedBy(error, name)}\r\n {...rest}\r\n >\r\n {children}\r\n \r\n
\r\n {error}\r\n
\r\n );\r\n};\r\n\r\nexport default Select;\r\n","import React, { useRef, useState, useEffect } from 'react';\r\nimport classNames from 'classnames';\r\nimport { getAriaDescribedBy } from './helpers';\r\n\r\nconst Textarea = (props) => {\r\n const [charsLeft, setCharsLeft] = useState(\r\n props.maxLength && props.value\r\n ? props.maxLength - props.value.length\r\n : props.maxLength\r\n );\r\n\r\n const textarea = useRef();\r\n\r\n function getValue() {\r\n return textarea.current.value;\r\n }\r\n\r\n function getCharsLeft() {\r\n return props.maxLength ? props.maxLength - getLength() : null;\r\n }\r\n\r\n function getLength() {\r\n return getValue().length;\r\n }\r\n\r\n useEffect(() => {\r\n setCharsLeft(getCharsLeft());\r\n }, []);\r\n\r\n function handleKeyUp() {\r\n setCharsLeft(getCharsLeft());\r\n }\r\n\r\n const {\r\n value,\r\n className,\r\n classes,\r\n removeFocus,\r\n disabled,\r\n children,\r\n onBlur,\r\n maxLength,\r\n error,\r\n maxLengthTranslation,\r\n name,\r\n ...rest\r\n } = props;\r\n\r\n const charsClasses = classNames({\r\n [`${className}__chars`]: true,\r\n [`${className}__chars--disabled`]: disabled,\r\n });\r\n\r\n return (\r\n
\r\n {children}\r\n {maxLength && (\r\n \r\n {charsLeft} {maxLengthTranslation}\r\n \r\n )}\r\n
\r\n {\r\n removeFocus();\r\n onBlur(e);\r\n }}\r\n onKeyUp={() => {\r\n handleKeyUp();\r\n }}\r\n {...rest}\r\n />\r\n
\r\n {error}\r\n
\r\n );\r\n};\r\n\r\nexport default Textarea;\r\n","import { useState } from 'react';\r\n\r\n/**\r\n * Custom hook to manage arrow key navigation in a list.\r\n * @param {number} maxIndex - The maximum index in the list.\r\n * @param {object} options - Additional options for navigation.\r\n * @returns {object} An object containing the highlighted index and navigation functions.\r\n */\r\nconst useArrowNavigation = (maxIndex, options = {}) => {\r\n const [highlightedIndex, setHighlightedIndex] = useState(-1);\r\n\r\n const {\r\n isOpen = true,\r\n onItemSelect = () => {},\r\n onClose = () => {},\r\n getItemByIndex = () => {},\r\n selectionKeys = ['Enter'],\r\n } = options;\r\n\r\n const incrementIndex = () => {\r\n setHighlightedIndex((prevIndex) =>\r\n prevIndex < maxIndex ? prevIndex + 1 : 0\r\n );\r\n };\r\n\r\n const decrementIndex = () => {\r\n setHighlightedIndex((prevIndex) =>\r\n prevIndex > 0 ? prevIndex - 1 : maxIndex\r\n );\r\n };\r\n\r\n const resetIndex = () => {\r\n setHighlightedIndex(-1);\r\n };\r\n\r\n const handleKeyDown = (e) => {\r\n if (!isOpen) return;\r\n\r\n if (e.key === 'ArrowDown') {\r\n e.preventDefault();\r\n incrementIndex();\r\n } else if (e.key === 'ArrowUp') {\r\n e.preventDefault();\r\n decrementIndex();\r\n } else if (selectionKeys.includes(e.key)) {\r\n e.preventDefault();\r\n if (highlightedIndex >= 0) {\r\n const item = getItemByIndex(highlightedIndex);\r\n onItemSelect(item);\r\n }\r\n } else if (e.key === 'Escape') {\r\n onClose();\r\n resetIndex();\r\n }\r\n };\r\n\r\n return {\r\n highlightedIndex,\r\n setHighlightedIndex,\r\n resetIndex,\r\n handleKeyDown,\r\n };\r\n};\r\n\r\nexport default useArrowNavigation;\r\n","import { useEffect, useState } from 'react';\r\nconst useWindowLocationHref = () => {\r\n const [href, setHref] = useState(null);\r\n useEffect(() => {\r\n if (typeof window !== 'undefined') {\r\n setHref(window.location.href);\r\n }\r\n }, []);\r\n return href;\r\n};\r\nexport default useWindowLocationHref;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst IDSDescriptionList = ({ list, useColumnView }) => {\r\n if (!list || list.length <= 0) {\r\n return null;\r\n }\r\n\r\n const useClasses = classNames({\r\n 'ids-description-list': true,\r\n ['ids-description-list--column']: useColumnView,\r\n });\r\n\r\n return (\r\n
\r\n {list.map((item, index) => {\r\n return ;\r\n })}\r\n
\r\n );\r\n};\r\n\r\nconst Row = ({ rowItem }) => {\r\n if (!rowItem) {\r\n return null;\r\n }\r\n\r\n return (\r\n <>\r\n
{rowItem?.Term}
\r\n
\r\n {rowItem?.DescriptionItems.map((descItem, index) => (\r\n \r\n {descItem}\r\n \r\n ))}\r\n
\r\n \r\n );\r\n};\r\n\r\nIDSDescriptionList.propTypes = {\r\n list: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n Term: PropTypes.string,\r\n DescriptionItems: PropTypes.arrayOf(PropTypes.string),\r\n })\r\n ),\r\n useColumnView: PropTypes.bool,\r\n};\r\n\r\nexport default IDSDescriptionList;\r\n","//TODO: använd plattformens Image komponent!\r\nimport React from 'react';\r\nimport classNames from 'classnames';\r\nimport Image from '../Image';\r\nimport ImageZoom from '../ImageZoom';\r\nimport { withRouter } from 'react-router';\r\n\r\nconst ImageBlock = ({\r\n ImageUrl,\r\n ImageDescription,\r\n ImageText,\r\n UniqueBlockId,\r\n Modifiers = null,\r\n ShowCaption = true,\r\n ShowPhotoCred = false,\r\n UseZoom,\r\n Translations = {},\r\n Sizes = {\r\n sizes: '(min-width: 1025px) 900px, 100vw',\r\n },\r\n ...props\r\n}) => {\r\n const classes = classNames({\r\n 'c-imageblock': true,\r\n 'c-imageblock--is-sensitive': props.hideSensitiveImage,\r\n ...Modifiers,\r\n });\r\n\r\n const btnClasses = classNames({\r\n 'c-imageblock__sensitive__button': true,\r\n 'c-imageblock__sensitive__button--is-loading':\r\n props.showSensitiveImageIsLoading,\r\n });\r\n\r\n if (props.location.search.includes('ThrowTestError=true')) {\r\n throw new Error('This is a test');\r\n }\r\n\r\n const dataPrintSidebarTitle = props.CurrentPageProps?.Content?.Translations?.imageblock || '';\r\n\r\n return (\r\n
\r\n {props.hideSensitiveImage && (\r\n
\r\n
\r\n \r\n {Translations.sensetiveheading}\r\n \r\n \r\n {ImageDescription}\r\n \r\n \r\n {props.showSensitiveImageIsLoading &&\r\n props.SensitiveImageLoadingIcon}\r\n \r\n {\r\n props.CurrentPageProps.Content.Translations\r\n .showsensetiveimages\r\n }\r\n \r\n \r\n
\r\n
\r\n )}\r\n\r\n {!props.hideSensitiveImage && (\r\n \r\n \r\n \r\n )}\r\n {ShowCaption &&\r\n (ImageText ||\r\n (ShowPhotoCred && (props.Photographer || props.Illustrator))) && (\r\n
\r\n {ImageText}\r\n {ShowPhotoCred && (\r\n
\r\n {props.Photographer && (\r\n
\r\n {Translations.photographer + props.Photographer}\r\n
\r\n )}\r\n {props.Illustrator && (\r\n
\r\n {Translations.illustrator + props.Illustrator}\r\n
\r\n )}\r\n
\r\n )}\r\n
\r\n )}\r\n
\r\n );\r\n};\r\n\r\nexport default withRouter(ImageBlock);\r\n","import React, { useEffect, useState, createRef } from 'react';\r\nimport classNames from 'classnames';\r\nimport Image from '../Image';\r\n\r\nconst TABBABLE_ELEMENTS = 'a[href], button';\r\nconst KEYCODE_ESC = 27;\r\nconst KEYCODE_TAB = 9;\r\n\r\nconst ImageZoom = (props) => {\r\n const zoomImage = createRef();\r\n const zoomTrigger = createRef();\r\n\r\n const [isZoomed, setIsZoomed] = useState(false);\r\n\r\n useEffect(() => {\r\n //Listen for esc key\r\n const keyListener = (event) => {\r\n const keyCode = event.which || event.keyCode; // Get the current keycode\r\n\r\n if (keyCode === KEYCODE_ESC) {\r\n removeZoomClassName();\r\n setIsZoomed(false);\r\n }\r\n };\r\n\r\n document.addEventListener('keydown', keyListener, false);\r\n });\r\n\r\n function keepFocus() {\r\n const context = zoomImage.current;\r\n const allTabbableElements = context.querySelectorAll(TABBABLE_ELEMENTS);\r\n const firstTabbableElement = allTabbableElements[0];\r\n const lastTabbableElement =\r\n allTabbableElements[allTabbableElements.length - 1];\r\n\r\n const keyListener = (event) => {\r\n var keyCode = event.which || event.keyCode; // Get the current keycode\r\n // Polyfill to prevent the default behavior of events\r\n event.preventDefault =\r\n event.preventDefault ||\r\n function () {\r\n event.returnValue = false;\r\n };\r\n\r\n // If it is TAB\r\n if (keyCode === KEYCODE_TAB) {\r\n // Move focus to first element that can be tabbed if Shift isn't used\r\n if (event.target === lastTabbableElement && !event.shiftKey) {\r\n event.preventDefault();\r\n firstTabbableElement.focus();\r\n\r\n // Move focus to last element that can be tabbed if Shift is used\r\n } else if (event.target === firstTabbableElement && event.shiftKey) {\r\n event.preventDefault();\r\n lastTabbableElement.focus();\r\n }\r\n }\r\n };\r\n\r\n context.addEventListener('keydown', keyListener, false);\r\n }\r\n\r\n function removeZoomClassName() {\r\n document.getElementsByTagName('html')[0].classList.remove('is-img-zoom');\r\n }\r\n\r\n function addZoomClassName() {\r\n document.getElementsByTagName('html')[0].classList.add('is-img-zoom');\r\n }\r\n\r\n function handleClick(e) {\r\n e.preventDefault();\r\n //Keep focus within zoom modal\r\n keepFocus();\r\n //Reset focus state\r\n if (isZoomed) {\r\n removeZoomClassName();\r\n zoomTrigger.current.focus();\r\n } else {\r\n addZoomClassName();\r\n zoomImage.current.focus();\r\n }\r\n\r\n setIsZoomed(!isZoomed);\r\n }\r\n\r\n const {\r\n ImageUrl,\r\n Description,\r\n ImageText,\r\n UniqueBlockId,\r\n UseZoom,\r\n ShowCaption,\r\n ShowPhotoCred,\r\n } = props;\r\n\r\n if (!UseZoom) return props.children;\r\n\r\n const zoomClass = classNames({\r\n 'c-imageblock__zoom__overlay': true,\r\n 'c-imageblock__zoom__overlay--zoomed': isZoomed,\r\n });\r\n\r\n return (\r\n
\r\n handleClick(e)}\r\n aria-controls={UniqueBlockId}\r\n aria-expanded={isZoomed}\r\n href={ImageUrl}\r\n >\r\n {props.children}\r\n Förstora bilden\r\n \r\n\r\n handleClick(e)}\r\n >\r\n e.stopPropagation()}\r\n tabIndex=\"-1\"\r\n className=\"c-imageblock__zoom__image\"\r\n >\r\n {isZoomed && (\r\n
\r\n
\r\n {Description}\r\n\r\n {ShowCaption &&\r\n (ImageText ||\r\n (ShowPhotoCred &&\r\n (props.Photographer || props.Illustrator))) && (\r\n
\r\n {ImageText}\r\n
\r\n )}\r\n
\r\n handleClick(e)}\r\n aria-controls={UniqueBlockId}\r\n aria-expanded={isZoomed}\r\n >\r\n Stäng\r\n \r\n
\r\n )}\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default ImageZoom;\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 classNames from 'classnames';\r\nimport React, { useEffect, useRef, useState } from 'react';\r\nimport useArrowNavigation from '../Hooks/useArrowNavigation';\r\n\r\nconst CustomSelect = ({\r\n label,\r\n srLabel,\r\n options,\r\n selectedItem,\r\n onChange,\r\n id,\r\n}) => {\r\n const [isOpen, setIsOpen] = useState(false);\r\n const dropdownRef = useRef(null);\r\n\r\n const maxIndex = options.length - 1;\r\n\r\n const { highlightedIndex, setHighlightedIndex, resetIndex, handleKeyDown } =\r\n useArrowNavigation(maxIndex, {\r\n isOpen,\r\n selectionKeys: ['Enter', ' '],\r\n onItemSelect: (item) => {\r\n onChange(item);\r\n setIsOpen(false);\r\n resetIndex();\r\n },\r\n onClose: () => {\r\n setIsOpen(false);\r\n resetIndex();\r\n },\r\n getItemByIndex: (index) => options[index] || 0,\r\n });\r\n\r\n const toggleDropdown = () => setIsOpen(!isOpen);\r\n\r\n useEffect(() => {\r\n isOpen && dropdownRef.current?.focus();\r\n }, [isOpen]);\r\n\r\n const defaultOption = options.find(\r\n (option) => option.key === selectedItem.key\r\n );\r\n\r\n if (!options) return null;\r\n\r\n return (\r\n
\r\n {label && (\r\n \r\n )}\r\n {\r\n e.preventDefault();\r\n toggleDropdown();\r\n }}\r\n onKeyDown={(e) => {\r\n if (isOpen) {\r\n handleKeyDown(e);\r\n } else if (\r\n e.key === 'ArrowDown' ||\r\n e.key === 'Enter' ||\r\n e.key === ' '\r\n ) {\r\n e.preventDefault();\r\n setIsOpen(true);\r\n setHighlightedIndex(0);\r\n }\r\n }}\r\n >\r\n {selectedItem.value || defaultOption.value}\r\n\r\n \r\n \r\n\r\n {isOpen && (\r\n
\r\n {\r\n setIsOpen(false);\r\n }}\r\n >\r\n {options.map((option, index) => (\r\n [\r\n onChange(option),\r\n toggleDropdown(),\r\n resetIndex(),\r\n ]}\r\n >\r\n {option.value}\r\n \r\n ))}\r\n \r\n
\r\n )}\r\n
\r\n );\r\n};\r\n\r\nexport default CustomSelect;\r\n","import React from 'react';\r\n\r\nconst KeywordHints = ({ KeywordMessage }) => {\r\n if (!KeywordMessage) return null;\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default KeywordHints;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst Item = (item) => {\r\n const classes = classNames({\r\n 'c-localnav__list__item': true,\r\n 'c-localnav__list__item--has-children': !!item.Children,\r\n 'c-localnav__list__item--is-selected': item.IsCurrentPage,\r\n 'c-localnav__list__item--is-open': item.ActivePath,\r\n });\r\n\r\n const secondLevel =\r\n item.Children &&\r\n item.Children.map((child, index) => (\r\n \r\n \r\n {child.Text}\r\n \r\n \r\n ));\r\n\r\n return (\r\n
  • \r\n \r\n {item.Text}\r\n \r\n {item.Children && (\r\n
      {secondLevel}
    \r\n )}\r\n
  • \r\n );\r\n};\r\n\r\nexport default Item;\r\n","import React from 'react';\r\nimport Item from './item';\r\n\r\nconst Localnav = (props) => {\r\n if (!props.Menu) return null;\r\n\r\n const firstLevel = props.Menu.map((menuItem, index) => {\r\n return ;\r\n });\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default Localnav;\r\n","import React from 'react';\r\nimport { node } from 'prop-types';\r\n\r\nconst Person = (props) => {\r\n return (\r\n \r\n {props.FirstName} {props.LastName} {props.Title} {props.Workplace}{' '}\r\n {props.City}\r\n \r\n );\r\n};\r\n\r\nexport const propTypes = {\r\n FirstName: node,\r\n LastName: node,\r\n Title: node,\r\n Workplace: node,\r\n City: node,\r\n};\r\n\r\nPerson.propTypes = propTypes;\r\n\r\nexport default Person;\r\n","import React, { useRef, useEffect } from 'react';\r\n\r\nconst PrintIframe = (props) => {\r\n const { SelectedRadio, PrintableItems, CheckedItems, SetPrintClicked } =\r\n props;\r\n const iframeRef = useRef(null);\r\n\r\n const prepareContent = () => {\r\n if (iframeRef.current) {\r\n const doc =\r\n iframeRef.current.contentDocument ||\r\n iframeRef.current.contentWindow.document;\r\n\r\n var printItems = PrintableItems;\r\n\r\n if (SelectedRadio !== 1) {\r\n const filteredItems = PrintableItems?.filter((item) => {\r\n return CheckedItems?.includes(item);\r\n });\r\n printItems = filteredItems;\r\n }\r\n\r\n const styleElements = Array.from(\r\n document.querySelectorAll('style')\r\n ).filter((style) => style.id !== 'onetrust-style');\r\n var styleContent = styleElements.map((style) => style.outerHTML).join('');\r\n\r\n const headerMainDiv = document.querySelector('.c-header__main');\r\n const headerMainHTML = headerMainDiv ? headerMainDiv.outerHTML : '';\r\n const regionLabel = document.querySelector('.regionlabel');\r\n const regionLabelHTML = regionLabel ? regionLabel.outerHTML : '';\r\n\r\n const outerHTML =\r\n printItems?.map((item) => item.outerHTML).join('') ?? '';\r\n\r\n const updatedOuterHTML = outerHTML.replace(\r\n /\\/\\/play\\.media/g,\r\n 'https://play.media'\r\n );\r\n\r\n doc.open();\r\n doc.write(`\r\n \r\n \r\n ${styleContent}\r\n \r\n \r\n \r\n ${headerMainHTML}\r\n ${regionLabelHTML}\r\n ${updatedOuterHTML}\r\n \r\n \r\n `);\r\n\r\n const elements = doc?.querySelectorAll('.regional-container');\r\n elements?.forEach((element) => element.remove());\r\n doc.close();\r\n }\r\n };\r\n\r\n const handleLoad = () => {\r\n if (iframeRef.current) {\r\n iframeRef.current.contentWindow.focus();\r\n iframeRef.current.contentWindow.print();\r\n SetPrintClicked(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n const initializeIframe = async () => {\r\n prepareContent();\r\n };\r\n\r\n initializeIframe();\r\n }, [SelectedRadio, PrintableItems, CheckedItems]);\r\n\r\n return (\r\n <>\r\n \r\n \r\n );\r\n};\r\n\r\nexport default PrintIframe;\r\n","import React, { useState, useEffect, useRef } from 'react';\r\nimport classNames from 'classnames';\r\nimport { stripHtml } from '../Helpers';\r\nimport useWindowLocationHref from '../Hooks/useWindowLocation';\r\nimport PrintIframe from '../PrintIframe';\r\n\r\nconst PrintSidebar = (props) => {\r\n const { Translations } = props;\r\n const href = useWindowLocationHref();\r\n\r\n const [isSidebarOpen, setSidebarOpen] = useState(false);\r\n const [checkedItems, setCheckedItems] = useState([]);\r\n const [selectedRadio, setSelectedRadio] = useState(0);\r\n const [printableItems, setPrintableItems] = useState([]);\r\n const [printableChildren, setPrintableChildren] = useState([]);\r\n const [printClicked, setPrintClicked] = useState(false);\r\n\r\n const sidebarRef = useRef(null);\r\n const sidebarToggleButtonRef = useRef(null);\r\n const elementsRef = useRef([]);\r\n\r\n const handleClickOutside = (event) => {\r\n if (\r\n sidebarRef.current &&\r\n !sidebarRef.current.contains(event.target) &&\r\n sidebarToggleButtonRef.current &&\r\n !sidebarToggleButtonRef.current.contains(event.target)\r\n ) {\r\n setSidebarOpen(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n const mainElement = document.querySelector('main');\r\n const elements = mainElement\r\n ? mainElement.querySelectorAll('[data-print-sidebar-title]')\r\n : [];\r\n const heading = mainElement ? mainElement.querySelector('h1') : '';\r\n elementsRef.current = elements ?? [];\r\n\r\n const imgblockMediaSliderChildren = Array.from(elements)\r\n .filter((item) => item.nodeName === 'FIGURE')\r\n .filter((figures) =>\r\n figures.className.includes('c-imageblock--is-gallery')\r\n );\r\n\r\n const chapterContainerChildren = Array.from(elements).filter(\r\n (item) =>\r\n item.getAttribute('data-is-member-of-chapter-container') === 'true'\r\n );\r\n\r\n const chapterChildren = Array.from(elements).filter(\r\n (item) => item.getAttribute('data-is-member-of-chapter') === 'true'\r\n );\r\n\r\n const links = Array.from(elements).filter(\r\n (item) =>\r\n item.dataset.linklist === 'link-list-container' &&\r\n item.offsetParent &&\r\n item.offsetParent.hasAttribute('data-list-container')\r\n );\r\n\r\n setPrintableChildren([\r\n ...imgblockMediaSliderChildren,\r\n ...links,\r\n ...chapterContainerChildren,\r\n ...chapterChildren,\r\n ]);\r\n\r\n const removedContainerChildren = Array.from(elements).filter(\r\n (item) =>\r\n item.offsetParent &&\r\n !item.offsetParent.hasAttribute('data-list-container') &&\r\n !item.className.includes('c-imageblock--is-gallery') &&\r\n item.getAttribute('data-is-member-of-chapter-container') !== 'true' &&\r\n item.getAttribute('data-is-member-of-chapter') !== 'true'\r\n );\r\n\r\n setPrintableItems(removedContainerChildren);\r\n\r\n if (elements?.item(0) === heading) {\r\n handlePrintSelection(heading);\r\n }\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (isSidebarOpen) {\r\n document.addEventListener('mousedown', handleClickOutside);\r\n } else {\r\n document.removeEventListener('mousedown', handleClickOutside);\r\n }\r\n\r\n return () => {\r\n document.removeEventListener('mousedown', handleClickOutside);\r\n };\r\n }, [isSidebarOpen]);\r\n\r\n const handleRadioChange = (index) => {\r\n setSelectedRadio(index);\r\n };\r\n\r\n const handlePrintSelection = (item) => {\r\n const mediaType = item.getAttribute('data-type-media-slider');\r\n const linkListContainer = item.getAttribute('data-list-container');\r\n const chapterContainer = item.getAttribute('data-chapter-container');\r\n const chapter = item.getAttribute('data-is-chapter');\r\n\r\n let listOfImgElement = [];\r\n const isMediaSlider = mediaType === 'MediaSlider';\r\n const isLinkListContainer = linkListContainer === 'data-list-container';\r\n const isChapterContainer = chapterContainer === 'data-chapter-container';\r\n const isChapter = chapter === 'isChapter';\r\n\r\n if (isMediaSlider) {\r\n listOfImgElement = printableChildren\r\n ?.filter((item) => item.nodeName === 'FIGURE')\r\n .filter((figures) =>\r\n figures.className.includes('c-imageblock--is-gallery')\r\n );\r\n }\r\n if (isChapter) {\r\n const listOfElementblockchapter = printableChildren?.filter(\r\n (name) => name.getAttribute('data-is-member-of-chapter') === 'true'\r\n );\r\n listOfImgElement = [...listOfImgElement, ...listOfElementblockchapter];\r\n }\r\n if (isChapterContainer) {\r\n const listOfElementblock = printableChildren?.filter(\r\n (name) =>\r\n name.getAttribute('data-is-member-of-chapter-container') === 'true'\r\n );\r\n listOfImgElement = [...listOfImgElement, ...listOfElementblock];\r\n }\r\n if (isLinkListContainer) {\r\n const listOfElement = printableChildren?.filter((item) =>\r\n item.offsetParent.hasAttribute('data-list-container')\r\n );\r\n listOfImgElement = [...listOfImgElement, ...listOfElement];\r\n }\r\n\r\n setCheckedItems((prevItems) => {\r\n if (!prevItems.includes(item)) {\r\n const newItemsList = [...prevItems, item, ...listOfImgElement];\r\n return [...new Set(newItemsList)];\r\n }\r\n\r\n const filteredItems = prevItems.filter((i) => i !== item);\r\n\r\n if (isMediaSlider) {\r\n return filteredItems.filter(\r\n (figures) => !figures.className.includes('c-imageblock--is-gallery')\r\n );\r\n }\r\n\r\n if (isLinkListContainer) {\r\n return filteredItems.filter(\r\n (item) => !item.offsetParent?.hasAttribute('data-list-container')\r\n );\r\n }\r\n if (isChapterContainer) {\r\n return filteredItems.filter(\r\n (item) =>\r\n item.getAttribute('data-is-member-of-chapter-container') !== 'true'\r\n );\r\n }\r\n if (isChapter) {\r\n return filteredItems.filter(\r\n (item) => item.getAttribute('data-is-member-of-chapter') !== 'true'\r\n );\r\n }\r\n return filteredItems;\r\n });\r\n };\r\n\r\n const togglePrintSidebar = () => {\r\n setSidebarOpen(!isSidebarOpen);\r\n };\r\n\r\n const getPrintSelectionTitle = (item) => {\r\n let dataPrintSidebarTitle = item.getAttribute('data-print-sidebar-title');\r\n let dataPrintSidebarTitleRegion = item.getAttribute(\r\n 'data-print-sidebar-title-region'\r\n );\r\n\r\n if (dataPrintSidebarTitle) {\r\n const words = dataPrintSidebarTitle.split(/\\s+/);\r\n return words.length > 5\r\n ? words.slice(0, 5).join(' ') +\r\n '...' +\r\n (dataPrintSidebarTitleRegion ? ` (Regionalt)` : '')\r\n : dataPrintSidebarTitle +\r\n (dataPrintSidebarTitleRegion ? ` (Regionalt)` : '');\r\n } else {\r\n const words = item.innerText.split(/\\s+/);\r\n return words.length > 5\r\n ? words.slice(0, 5).join(' ') + '...'\r\n : item.innerText;\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n {\r\n e.preventDefault();\r\n togglePrintSidebar();\r\n }}\r\n title={Translations && Translations.print}\r\n className=\"c-printsidebar-toggle-button\"\r\n data-event-category={href || 'novalue'}\r\n data-event-action={Translations.print}\r\n data-event-value={href || 'novalue'}\r\n data-event-name={Translations.print}\r\n >\r\n
    \r\n \r\n {Translations && Translations.print}\r\n \r\n \r\n \r\n
    \r\n

    \r\n {Translations.printsidebartitle}\r\n

    \r\n \r\n {Translations.printsidebarclose}\r\n \r\n \r\n
    \r\n
    \r\n

    \r\n {Translations.printsidebarselectiontitle}\r\n

    \r\n
    \r\n {Translations.printsidebarselectionparts && (\r\n handleRadioChange(0)}\r\n >\r\n \r\n {Translations.printsidebarselectionparts}\r\n
    \r\n )}\r\n {Translations.printsidebarselectionwholepage && (\r\n handleRadioChange(1)}\r\n >\r\n \r\n {Translations.printsidebarselectionwholepage}\r\n
    \r\n )}\r\n \r\n \r\n {selectedRadio !== 1 && (\r\n
    \r\n

    {Translations.printsidebarselectionwhatparts}

    \r\n
    \r\n {printableItems &&\r\n printableItems.map((item, index) => {\r\n if (!item?.innerText) return;\r\n let content = (\r\n \r\n );\r\n return (\r\n handlePrintSelection(item)}\r\n >\r\n \r\n {content}\r\n
    \r\n );\r\n })}\r\n
    \r\n \r\n )}\r\n
    \r\n {selectedRadio === 1 ? (\r\n setPrintClicked(true)}\r\n >\r\n \r\n {Translations.printbuttonwholepage}\r\n \r\n ) : (\r\n setPrintClicked(true)}\r\n >\r\n \r\n {Translations.printbuttonparts}\r\n \r\n )}\r\n
    \r\n \r\n {printClicked && (\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default PrintSidebar;\r\n","import classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport React from 'react';\r\n\r\n/**\r\n * Heading for search result list\r\n * \r\n * Example output: \r\n * \r\n ```html\r\n

    12 sökträffar på feber

    \r\n ```\r\n *\r\n */\r\nconst SearchHeading = ({\r\n hideSearchHeading,\r\n TotalHits,\r\n ResultText,\r\n SuggestionText,\r\n ContentAfter = '',\r\n query,\r\n Modifiers,\r\n activeFilterFacet,\r\n showFilterResultText,\r\n translations,\r\n isVardpersonal1177,\r\n siteAdress,\r\n}) => {\r\n if (hideSearchHeading) return null;\r\n if (!query && TotalHits === 0) return null;\r\n\r\n SuggestionText\r\n ? (SuggestionText.Query = decodeURIComponent(SuggestionText.Query))\r\n : null;\r\n\r\n const componentClass = classNames({\r\n 'c-searchlist__heading': true,\r\n ...Modifiers,\r\n });\r\n\r\n const resultQueryText = query ? {query} : null;\r\n\r\n const filterResultText =\r\n showFilterResultText && activeFilterFacet ? (\r\n <>\r\n {isVardpersonal1177 ? translations.withfilter : translations.within}{' '}\r\n {activeFilterFacet}{' '}\r\n \r\n ) : null;\r\n\r\n const resultSiteText = siteAdress ? (\r\n <>\r\n {translations.on} {translations.site} {siteAdress}\r\n \r\n ) : null;\r\n\r\n return (\r\n

    \r\n \r\n {TotalHits}\r\n {' '}\r\n {ResultText} {resultQueryText} {filterResultText} {resultSiteText}\r\n {SuggestionText && SuggestionText?.Query && (\r\n \r\n . {SuggestionText.Text}{' '}\r\n {SuggestionText.Query}?\r\n \r\n )}{' '}\r\n {ContentAfter}\r\n

    \r\n );\r\n};\r\n\r\nSearchHeading.propTypes = {\r\n /** If `true` component will not render */\r\n hideSearchHeading: PropTypes.bool,\r\n TotalHits: PropTypes.number,\r\n ResultText: PropTypes.string,\r\n showFilterResultText: PropTypes.bool,\r\n translations: PropTypes.objectOf(PropTypes.string),\r\n activeFilterFacet: PropTypes.string,\r\n SuggestionText: PropTypes.shape({\r\n Text: PropTypes.string,\r\n Url: PropTypes.string,\r\n Query: PropTypes.string,\r\n }),\r\n ContentAfter: PropTypes.node,\r\n query: PropTypes.string,\r\n Modifiers: PropTypes.object,\r\n isVardpersonal1177: PropTypes.bool,\r\n};\r\n\r\nexport default SearchHeading;\r\n","/**\r\n * Repo: PWT.PlattformUI\r\n * Component: \r\n *\r\n * @description\r\n * Complete search page block component\r\n * with form, field and results list.\r\n */\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport queryString from 'qs';\r\nimport React, { Fragment } from 'react';\r\nimport MatomoTrackSearch from '../../platformui/Matomo/matomo-track-search';\r\nimport Alert from '../Alert';\r\nimport CollapsiblePanel from '../CollapsiblePanel';\r\nimport withSearch from '../Containers/withSearch';\r\nimport Facets from '../Facets';\r\nimport KeywordHints from '../KeywordHints';\r\nimport Pagination from '../Pagination';\r\nimport SearchField from '../Search/searchfield';\r\nimport Spinner from '../Spinner';\r\nimport TabMenu from '../TabMenu';\r\nimport { getExternalSiteAdress } from './external-search-utils';\r\nimport List from './list';\r\nimport SearchHeading from './searchheading';\r\n\r\nconst Search = (props) => {\r\n const qs = queryString.parse(props.location.search, {\r\n ignoreQueryPrefix: true,\r\n });\r\n const classes = classNames({\r\n 'is-loading': props.SearchResult.isLoading,\r\n searchblock: true,\r\n });\r\n\r\n const searchToolsClasses = classNames({\r\n 'c-search__tools': true,\r\n 'c-search__tools--has-facets': props?.Facets,\r\n });\r\n\r\n const alertType = props.alertType ? props.alertType : 'warning';\r\n\r\n let activeFilterFacet = '';\r\n\r\n if (props.showFilterResultText) {\r\n props.Facets?.Items?.map((item) => {\r\n item.Facets.some((item) => {\r\n if (item.Id === qs.facet && item.Id !== 'all') {\r\n activeFilterFacet = item.Text;\r\n }\r\n });\r\n });\r\n }\r\n\r\n return (\r\n
    \r\n {\r\n props.onSubmit(e, {\r\n q: document.getElementById('section-search').value,\r\n t: qs.t,\r\n ...(props.useExternalSearch && { site: qs.site }),\r\n });\r\n }}\r\n >\r\n
    \r\n \r\n {props.Placeholder ? (\r\n {props.Placeholder}\r\n ) : null}\r\n \r\n\r\n \r\n \r\n \r\n {props.Translations.searchbutton}\r\n \r\n
    \r\n {props.SearchResult.KeywordMessage && (\r\n \r\n )}\r\n\r\n {props.SearchResult.IsSimpleFallbackSearch && (\r\n \r\n {props.SearchResult.ResultDisclaimer}\r\n \r\n )}\r\n\r\n {props.searchTabs && props.ExternalSearchContent && (\r\n ({\r\n key: tab.SearchApiIndex,\r\n label: tab.TabHeader,\r\n count: tab.SearchResult?.TotalHits || 0,\r\n isActive: tab.SearchApiIndex === props.searchApiIndex,\r\n screenReaderText: `${tab.SearchResult?.TotalHits} ${\r\n tab.SearchResult?.ResultText\r\n } ${getExternalSiteAdress(tab.SearchApiIndex)}`,\r\n }))}\r\n handleTabChange={props.handleTabChange}\r\n showCount\r\n showResponsiveDropdown\r\n srLabel={props?.Translations?.selectsearchsource}\r\n />\r\n )}\r\n\r\n {props.Facets &&\r\n props.CurrentPageProps.hasFilterBar &&\r\n !props.showFilterBarWithFacets && (\r\n \r\n )}\r\n\r\n {qs.q && (\r\n \r\n
    \r\n \r\n {((props.showFilterBarWithFacets && props.Facets) ||\r\n ((props.HideCategoryFacets === false ||\r\n props.HideThemeFacets === false) &&\r\n !props.CurrentPageProps.hasFilterBar)) && (\r\n \r\n \r\n \r\n )}\r\n
    \r\n\r\n {qs.q.length > 0 &&\r\n props.SearchResult.TotalHits === 0 &&\r\n props.SearchResult.EmptySearchResultText && (\r\n \r\n
    \r\n \r\n )}\r\n \r\n )}\r\n \r\n \r\n document.getElementById('search-list-last').focus()}\r\n {...props.SearchResult}\r\n Spinner={}\r\n >\r\n {props.SearchResult.BatchText}\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nSearch.propTypes = {\r\n //**Used when any website wants the revised text to be published text */\r\n revisedAsPublished: PropTypes.bool,\r\n location: PropTypes.object,\r\n /** When we use custom click tracking - disable it with `true`. */\r\n DisableClickTracking: PropTypes.bool,\r\n /** isLoading is used by autocomplete. See search reducers */\r\n showFilterResultText: PropTypes.bool,\r\n SearchResult: PropTypes.shape({\r\n isLoading: PropTypes.bool,\r\n TotalHits: PropTypes.number,\r\n EmptySearchResultText: PropTypes.string,\r\n BatchText: PropTypes.string,\r\n }),\r\n /** From withSearch class */\r\n onSubmit: PropTypes.func.isRequired,\r\n Translations: PropTypes.shape({\r\n searchprevioussr: PropTypes.string,\r\n searchbutton: PropTypes.string,\r\n filtersearchhitsheading: PropTypes.string,\r\n }),\r\n Placeholder: PropTypes.string,\r\n HideCategoryFacets: PropTypes.bool,\r\n HideThemeFacets: PropTypes.bool,\r\n vardpersonal1177: PropTypes.bool,\r\n showFilterBarWithFacets: PropTypes.bool,\r\n useExternalSearch: PropTypes.bool,\r\n showSearchHitsHeadingSuffix: PropTypes.bool,\r\n filterBarDefaultOpen: PropTypes.bool,\r\n searchOnMount: PropTypes.bool,\r\n isExternalSearch: PropTypes.bool,\r\n availableLanguagesHeader: PropTypes.string,\r\n};\r\n\r\nexport default withSearch(Search, 'Search', null, {});\r\n\r\nexport { Search };\r\n","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\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport PrintSidebar from '../PrintSidebar';\r\nimport useWindowLocationHref from '../Hooks/useWindowLocation';\r\n\r\nconst Share = ({ ShareChannels, Translations, PrintsideBarEnabled }) => {\r\n if (!ShareChannels) return null;\r\n const href = useWindowLocationHref();\r\n\r\n return (\r\n
    \r\n

    {Translations && Translations.share}

    \r\n
      \r\n {ShareChannels.map((item, key) => {\r\n const shareChannelClass = classNames({\r\n 'c-share__icon': true,\r\n [`c-share__icon--${item.Channel}`]: true,\r\n });\r\n\r\n return (\r\n
    • \r\n {item.Channel !== 'mailto' ? (\r\n {\r\n navigator.clipboard.writeText(item.ShareURL);\r\n }}\r\n >\r\n \r\n \r\n {Translations && Translations.copylink}\r\n \r\n \r\n ) : (\r\n {\r\n if (typeof window !== 'undefined') {\r\n window.location.href = item.ShareURL;\r\n }\r\n }}\r\n >\r\n \r\n \r\n {Translations && Translations.tipafriend}\r\n \r\n \r\n )}\r\n
    • \r\n );\r\n })}\r\n
    • \r\n {PrintsideBarEnabled ? (\r\n \r\n ) : (\r\n {\r\n window.print();\r\n }}\r\n title={Translations && Translations.print}\r\n >\r\n \r\n \r\n {Translations && Translations.print}\r\n \r\n \r\n )}\r\n
    • \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nShare.propTypes = {\r\n ShareChannels: PropTypes.array,\r\n Translations: PropTypes.object,\r\n PrintsideBarEnabled: PropTypes.bool,\r\n};\r\n\r\nexport default Share;\r\n","import classNames from 'classnames';\r\nimport React from 'react';\r\nimport SemanticHeader from '../Chapter/semantic-header';\r\n\r\nconst Shortcuts = (props) => {\r\n if (!props.LinkContent || props.LinkContent.length === 0) return null;\r\n\r\n return (\r\n
    \r\n {props.Heading && (\r\n \r\n {props.Heading}\r\n \r\n )}\r\n \r\n
    \r\n );\r\n};\r\n\r\nexport default Shortcuts;\r\n","import classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport React from 'react';\r\nimport { isMediumViewport } from '../Hooks/useMedia';\r\nimport useWindowLocationHref from '../Hooks/useWindowLocation';\r\nimport CustomSelect from '../Inputs/custom-select';\r\n\r\nconst TabMenu = ({\r\n tabs,\r\n handleTabChange,\r\n showCount,\r\n showResponsiveDropdown,\r\n srLabel,\r\n}) => {\r\n const handleClick = (key) => {\r\n handleTabChange(key);\r\n };\r\n\r\n const href = useWindowLocationHref();\r\n const isMedium = isMediumViewport();\r\n\r\n if (showResponsiveDropdown && isMedium) {\r\n return (\r\n ({\r\n key: tab.key,\r\n value: tab.label + (showCount && ` (${tab.count})`),\r\n }))}\r\n selectedItem={tabs.find((tab) => tab.isActive)}\r\n onChange={(selectedOption) => {\r\n handleClick(selectedOption.key);\r\n }}\r\n id={'search'}\r\n />\r\n );\r\n }\r\n return (\r\n \r\n );\r\n};\r\n\r\nTabMenu.propTypes = {\r\n tabs: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n key: PropTypes.string.isRequired,\r\n label: PropTypes.string.isRequired,\r\n totalHits: PropTypes.number,\r\n isActive: PropTypes.bool.isRequired,\r\n screenReaderText: PropTypes.string,\r\n })\r\n ).isRequired,\r\n handleTabChange: PropTypes.func.isRequired,\r\n showCount: PropTypes.bool,\r\n};\r\n\r\nexport default TabMenu;\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 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","import React from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst Theme = (props) => {\r\n if (!props.Content) return props.children;\r\n\r\n const theme = classNames({\r\n 'theme--faq':\r\n props.Content.Theme === 'faq' || props.PageTypeName === 'FaqPage',\r\n 'theme--story':\r\n props.Content.Theme === 'story' || props.PageTypeName === 'StoryPage',\r\n 'theme--pod':\r\n props.Content.Theme === 'podcast' || props.PageTypeName === 'PodcastPage',\r\n 'theme--forum':\r\n props.Content.Theme === 'forum' || props.PageTypeName === 'ForumPage',\r\n });\r\n\r\n const themeClass = classNames(\r\n {\r\n 'theme--is-theme': theme.length > 0,\r\n },\r\n theme\r\n );\r\n\r\n return theme.length > 0 ? (\r\n
    \r\n
    \r\n {props.children}\r\n
    \r\n ) : (\r\n props.children\r\n );\r\n};\r\n\r\nexport default Theme;\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","import React from 'react';\r\nimport SemanticHeader from '../Chapter/semantic-header';\r\n\r\nconst Iframe = ({\r\n title,\r\n src,\r\n caption,\r\n className,\r\n heading,\r\n isH3,\r\n isStandingVideo,\r\n hideTitle,\r\n hideCaption,\r\n isGallery,\r\n galleryLink,\r\n}) => {\r\n return (\r\n <>\r\n {heading && !hideTitle && !isGallery && (\r\n \r\n {heading}\r\n \r\n )}\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n {heading && !hideTitle && isGallery && (\r\n \r\n {heading}\r\n \r\n )}\r\n {caption && !hideCaption && (\r\n
    \r\n

    {caption}

    \r\n
    \r\n )}\r\n {galleryLink.Link && galleryLink.LinkText && (\r\n
    \r\n \r\n {galleryLink.LinkText}\r\n \r\n
    \r\n )}\r\n
    \r\n \r\n \r\n );\r\n};\r\n\r\nexport default Iframe;\r\n","import T from 'prop-types';\r\nimport React, { Fragment } from 'react';\r\nimport Iframe from '../Iframe';\r\n\r\nconst DREAMBROKER_URL = (videoId) => `https://dreambroker.com/${videoId}`;\r\n\r\nconst Video = ({\r\n Heading,\r\n VideoTitle,\r\n VideoId,\r\n VideoText,\r\n IsMediaFlowPro,\r\n IsDreamBroker,\r\n IsQbrick,\r\n isH3,\r\n IsStandingVideo,\r\n hideTitle,\r\n hideCaption,\r\n isGallery,\r\n Link,\r\n InternalLinkName,\r\n LinkText,\r\n CurrentPageProps,\r\n}) => {\r\n if (!VideoId) return null;\r\n\r\n let videoUrl = null;\r\n videoUrl =\r\n (IsDreamBroker && DREAMBROKER_URL(VideoId)) ||\r\n (IsQbrick && VideoId) ||\r\n (IsMediaFlowPro && VideoId);\r\n\r\n const addTimeUpdateParam = (videourl) => {\r\n if (\r\n (/play\\.mediaflowpro\\.com/.test(videourl) ||\r\n /play\\.mediaflow\\.com/.test(videourl)) &&\r\n !/(\\?|&)timeupdate\\b/.test(videourl)\r\n ) {\r\n const separator = videourl.includes('?') ? '&' : '?';\r\n videourl += `${separator}timeupdate`;\r\n }\r\n return videourl;\r\n };\r\n\r\n const dataPrintSidebarTitle =\r\n Heading || CurrentPageProps?.Content?.Translations?.videoblock || 'Film';\r\n\r\n return (\r\n \r\n \r\n \r\n
    \r\n Video: {videoUrl}\r\n

    {VideoText}

    \r\n
    \r\n \r\n
    \r\n );\r\n};\r\n\r\nVideo.propTypes = {\r\n Heading: T.string,\r\n VideoTitle: T.string,\r\n /** Component will return `null` if no VideoId is provided */\r\n VideoId: T.string,\r\n VideoText: T.string,\r\n isH3: T.string,\r\n};\r\n\r\nexport default Video; // killed the radio star\r\n","import React, { useEffect } from 'react';\r\nimport IsInRange from '../Base/Sensors/isInRange';\r\n\r\nconst List = (props) => {\r\n useEffect(() => {\r\n props.handleLetterChange(props.letter);\r\n }, [props.isInRange]);\r\n\r\n return (\r\n
    \r\n

    {props.letter}

    \r\n
      \r\n {props.list.map((item, key) => (\r\n
    • \r\n {item.Name}\r\n
    • \r\n ))}\r\n
    \r\n \r\n Tillbaka till navigering\r\n \r\n
    \r\n );\r\n};\r\n\r\nexport default IsInRange(List);\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport Track from '../Base/Sensors/track';\r\nimport scrollIt from '../Base/Scroll';\r\n\r\nconst AOListNavigation = ({\r\n alphabet,\r\n compare,\r\n activeLetter,\r\n handleLetterChange,\r\n ...props\r\n}) => {\r\n const Anchors = alphabet.map((Key) => {\r\n return { Key };\r\n });\r\n\r\n const classes = classNames({\r\n 'c-anchorlinks': true,\r\n 'c-anchorlinks--is-fixed': props.isWithinTrac,\r\n 'c-anchorlinks--is-bottom': props.isTrackBottom,\r\n });\r\n\r\n return (\r\n
      \r\n {Anchors.map((item, index) => {\r\n const matched = typeof compare !== 'undefined' ? compare(item) : true;\r\n\r\n const classes = classNames({\r\n 'c-anchorlinks__item': true,\r\n 'c-anchorlinks__item--selected':\r\n activeLetter.toLowerCase() === item.Key.toLowerCase(),\r\n 'c-anchorlinks__item--matched': matched,\r\n });\r\n\r\n const attributes = {\r\n 'data-cy': matched ? 'ui-anchor-item' : 'ui-empty-item',\r\n };\r\n\r\n return (\r\n
    • \r\n {matched ? (\r\n {\r\n if (!document.getElementById(`${item.Key}`)) return false;\r\n scrollIt(\r\n document.getElementById(`${item.Key}`),\r\n 300,\r\n 'easeOutQuad',\r\n () => {\r\n if (typeof handleLetterChange !== 'undefined')\r\n handleLetterChange(item.Key);\r\n //if (typeof onClickedAnchor !== 'undefined') onClickedAnchor(false);\r\n }\r\n );\r\n }}\r\n >\r\n {item.Key}\r\n \r\n ) : (\r\n \r\n {item.Key}\r\n \r\n )}\r\n
    • \r\n );\r\n })}\r\n
    \r\n );\r\n};\r\n\r\nexport default Track(AOListNavigation);\r\n","import React, { useState, useEffect, useRef } from 'react';\r\n\r\nexport default (WrappedComponent) => {\r\n const handles = [];\r\n\r\n const Track = (props) => {\r\n const [isWithinTrac, setIsWithinTrac] = useState();\r\n const [isTrackBottom, setIsTrackBottom] = useState();\r\n\r\n const nodeRef = useRef();\r\n\r\n const getBoundingClientRect = (node) => node.getBoundingClientRect();\r\n\r\n const getParentNode = () => nodeRef && nodeRef.current?.parentNode;\r\n\r\n const getFirstChild = () => nodeRef.current?.firstChild;\r\n\r\n const isComponentWithinTrack = () => {\r\n if (!getParentNode()) return;\r\n\r\n const parentRect = getBoundingClientRect(getParentNode());\r\n const comp = getBoundingClientRect(getFirstChild());\r\n const trackBottom =\r\n window.pageYOffset + parentRect.top + parentRect.height - comp.height;\r\n\r\n if (parentRect.top < 1 && window.pageYOffset < trackBottom) {\r\n if (!isWithinTrac) {\r\n setIsWithinTrac(true);\r\n setIsTrackBottom(false);\r\n }\r\n } else {\r\n if (isWithinTrac) {\r\n setIsWithinTrac(false);\r\n setIsTrackBottom(window.pageYOffset >= trackBottom);\r\n }\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n handles.push(isComponentWithinTrack);\r\n requestAnimationFrame(() => {\r\n isComponentWithinTrack();\r\n });\r\n }, [isTrackBottom]);\r\n\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n };\r\n\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 window.addEventListener('resize', throttleScroll, false);\r\n }\r\n\r\n return Track;\r\n};\r\n","import React, { useState } from 'react';\r\nimport { withRouter } from 'react-router';\r\nimport List from './list';\r\nimport Navigation from './navigation';\r\n\r\nconst AOListWithTrack = (props) => {\r\n const [activeLetter, setActiveLetter] = useState(\r\n props.location.hash\r\n ? props.location.hash.substring(1)\r\n : props.list[0]?.Key.toLowerCase()\r\n );\r\n\r\n const handleLetterChange = (activeLetter) => {\r\n setActiveLetter(activeLetter);\r\n };\r\n\r\n if (props.list.length === 0) return null;\r\n\r\n return (\r\n
    \r\n
    \r\n \r\n handleLetterChange(activeLetter)\r\n }\r\n list={props.list}\r\n />\r\n
    \r\n\r\n
    \r\n {props.list.map((letter, key) => (\r\n \r\n handleLetterChange(activeLetter)\r\n }\r\n key={key}\r\n letter={letter.Key}\r\n list={letter.Items}\r\n />\r\n ))}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default withRouter(AOListWithTrack);\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 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 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, { useEffect, useRef, useState } from 'react';\r\n\r\nexport default (WrapperComponent) => {\r\n return (props) => {\r\n if (typeof window === 'undefined') {\r\n return null;\r\n }\r\n let lastScrollTop = 0;\r\n let maxWidth = props.MaxWidth ? props.MaxWidth : 768;\r\n\r\n const [isMobile, setIsMobile] = useState(window.innerWidth < maxWidth);\r\n const [isHidden, setIsHidden] = useState(true);\r\n\r\n let header = useRef(null);\r\n\r\n useEffect(() => {\r\n header.current = document.querySelector('.c-header');\r\n }, []);\r\n\r\n const setHeaderIsHidden = () => {\r\n let scrollTop = window.pageYOffset || document.documentElement.scrollTop;\r\n if (header.current) {\r\n if (scrollTop > lastScrollTop) {\r\n header.current.classList.add('c-header--hidden');\r\n header.current.classList.remove('c-header--visible');\r\n setIsHidden(false);\r\n } else if (scrollTop < lastScrollTop) {\r\n header.current.classList.remove('c-header--hidden');\r\n header.current.classList.add('c-header--visible');\r\n setIsHidden(true);\r\n }\r\n lastScrollTop = scrollTop <= 0 ? 0 : scrollTop;\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n const handleResize = () => {\r\n setIsMobile(window.innerWidth < maxWidth);\r\n };\r\n\r\n window.addEventListener('resize', handleResize);\r\n\r\n return () => window.removeEventListener('resize', handleResize);\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (isMobile) {\r\n window.addEventListener('scroll', setHeaderIsHidden);\r\n if (header.current) {\r\n header.current.classList.add('c-header--visible');\r\n }\r\n } else {\r\n window.removeEventListener('scroll', setHeaderIsHidden);\r\n if (header.current) {\r\n header.current.classList.remove('hidden', 'c-header--visible');\r\n }\r\n }\r\n\r\n return () => window.removeEventListener('scroll', setHeaderIsHidden);\r\n }, [isMobile]);\r\n\r\n return (\r\n \r\n );\r\n };\r\n};\r\n\r\n","import React from 'react';\r\n\r\nexport default (WrappedComponent, initialState) => (props) =>\r\n ;\r\n","import { node } from 'prop-types';\r\n\r\nconst Radio = (props) => {\r\n return props.children;\r\n};\r\n\r\nRadio.propTypes = {\r\n /** The only thing that renders */\r\n children: node,\r\n};\r\n\r\nexport default Radio;\r\n","import { node } from 'prop-types';\r\n\r\nconst Checkbox = (props) => {\r\n return props.children;\r\n};\r\n\r\nCheckbox.propTypes = {\r\n /** The only thing that renders */\r\n children: node,\r\n};\r\n\r\nexport default Checkbox;\r\n","import React from 'react';\r\nimport { bool, node, func, number, string, oneOf } from 'prop-types';\r\n\r\nconst Button = (props) => {\r\n const disabled = !(props.canSubmit && props.disabled !== true);\r\n\r\n return (\r\n \r\n {props.text || props.children}\r\n \r\n );\r\n};\r\n\r\nButton.propTypes = {\r\n canSubmit: bool,\r\n tabIndex: number,\r\n disabled: bool,\r\n onClick: func,\r\n className: string,\r\n type: oneOf(['submit', 'button', 'reset']).isRequired,\r\n children: node,\r\n text: string,\r\n};\r\n\r\nexport default Button;\r\n","import PropTypes from 'prop-types';\r\nimport React from 'react';\r\nimport Badge from '../../IDSBadge';\r\n\r\nconst RegionalHighlightTextBlock = ({ regionalContent, translation }) => {\r\n const regionName = regionalContent[0]?.CurrentRegionName;\r\n const langLabel = (translation || 'Innehållet gäller') + ' ' + regionName;\r\n\r\n return regionalContent?.some((e) => e.Content) ? (\r\n
    \r\n \r\n {regionalContent.map((block, index) => {\r\n return

    {block.Content}

    ;\r\n })}\r\n
    \r\n ) : (\r\n ''\r\n );\r\n};\r\n\r\nRegionalHighlightTextBlock.propTypes = {\r\n regionalContent: PropTypes.array,\r\n};\r\n\r\nexport default RegionalHighlightTextBlock;\r\n","import classNames from 'classnames';\r\nimport { object, string, array } from 'prop-types';\r\nimport React from 'react';\r\nimport LinkButton from '../Buttons/LinkButton';\r\nimport SemanticHeader from '../Chapter/semantic-header';\r\nimport RegionalHighlightTextBlock from '../TextBlock/RegionalHighlightTextBlock';\r\n\r\nconst HighLight = (props) => {\r\n const {\r\n SelectedType,\r\n SelectedIcon,\r\n SelectedBackgroundColor,\r\n Buttons,\r\n Heading,\r\n ContentString,\r\n isMemberOfChapterContainer,\r\n isH3,\r\n RegionalContent,\r\n } = props;\r\n const classes = classNames({\r\n 'c-highlight': true,\r\n [`c-highlight--${SelectedType}`]: SelectedType,\r\n [`c-highlight--${SelectedIcon}`]: SelectedIcon,\r\n [`c-highlight--${SelectedBackgroundColor}`]: SelectedBackgroundColor,\r\n });\r\n\r\n const dataPrintSidebarTitle =\r\n Heading ||\r\n props.CurrentPageProps?.Content?.Translations?.highlightblock ||\r\n '';\r\n return (\r\n \r\n {Heading && (\r\n \r\n {Heading}\r\n \r\n )}\r\n
    {ContentString}
    \r\n\r\n {RegionalContent && (\r\n \r\n )}\r\n\r\n {Buttons && Buttons[0] && (\r\n
    \r\n \r\n {Buttons[1] && (\r\n \r\n )}\r\n
    \r\n )}\r\n \r\n );\r\n};\r\n\r\nHighLight.propTypes = {\r\n SelectedType: string,\r\n SelectedIcon: string,\r\n SelectedBackgroundColor: string,\r\n Buttons: array,\r\n Heading: string,\r\n ContentString: object,\r\n};\r\n\r\nexport default HighLight;\r\n","import { useEffect, useRef } from 'react';\r\n\r\n/**\r\n * Custom hook for creating Matomo track-events. The event-parameters corresponds to their Matomo equivalents. (e.g., eventCategory = Event Category)\r\n * @param {string} eventCategory - The category of the tracked event.\r\n * @param {string} eventAction - The action associated with the event.\r\n * @param {string} eventName - The name of the event.\r\n * @param {number} eventValue - The value to track (e.g., an index).\r\n * @param {number} debounceTime - Debounce time in milliseconds.\r\n */\r\nconst useMatomoTrackEventOnChange = (\r\n eventCategory,\r\n eventAction,\r\n eventName,\r\n eventValue,\r\n debounceTime = 300\r\n) => {\r\n if (\r\n typeof window === undefined ||\r\n !eventCategory ||\r\n !eventAction ||\r\n !eventName ||\r\n eventValue == null\r\n ) {\r\n return;\r\n }\r\n\r\n const timeoutRef = useRef(null);\r\n const eventValueUnchanged = useRef(true);\r\n\r\n useEffect(() => {\r\n if (eventValueUnchanged.current) {\r\n eventValueUnchanged.current = false;\r\n return;\r\n }\r\n\r\n clearTimeout(timeoutRef.current);\r\n\r\n timeoutRef.current = setTimeout(() => {\r\n window?._paq?.push([\r\n 'trackEvent',\r\n eventCategory,\r\n eventAction,\r\n eventName,\r\n eventValue,\r\n ]);\r\n }, debounceTime);\r\n\r\n return () => {\r\n clearTimeout(timeoutRef.current);\r\n };\r\n }, [eventCategory, eventAction, eventValue]);\r\n};\r\n\r\nexport default useMatomoTrackEventOnChange;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport ArticleHeader from '../ArticleHeader';\r\nimport * as Render from '../Base/Render';\r\nimport ImageBlock from '../ImageBlock';\r\nimport Section from '../Section';\r\nimport withSrcSets from '../Containers/withSrcSets';\r\nimport withLazyLoad from '../Containers/withLazyLoad';\r\nimport withSensitiveImage from '../Containers/withSensitiveImage';\r\n\r\nconst Intro = (props) => {\r\n const ImageBlockWithSrcSet = withLazyLoad(\r\n withSrcSets(withSensitiveImage(ImageBlock))\r\n );\r\n\r\n const introClasses = classNames({\r\n 'medium-8': true,\r\n 'medium-centered': true,\r\n 'large-uncentered': true,\r\n 'large-7': props.Media,\r\n 'large-8': !props.Media,\r\n columns: true,\r\n });\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {(props.Media || props.CurrentPageProps.IsEditMode) && (\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 Intro;\r\n","import { useState } from 'react';\r\n\r\nfunction usePagination(data, itemsPerPage, keepPreviousPages = false) {\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const maxPage = Math.ceil(data.length / itemsPerPage);\r\n\r\n function currentData() {\r\n const begin = keepPreviousPages ? 0 : (currentPage - 1) * itemsPerPage;\r\n const end = keepPreviousPages\r\n ? itemsPerPage * currentPage\r\n : begin + itemsPerPage;\r\n return data.slice(begin, end);\r\n }\r\n\r\n function next() {\r\n setCurrentPage((currentPage) => Math.min(currentPage + 1, maxPage));\r\n }\r\n\r\n function prev() {\r\n setCurrentPage((currentPage) => Math.max(currentPage - 1, 1));\r\n }\r\n\r\n function jump(page) {\r\n const pageNumber = Math.max(1, page);\r\n setCurrentPage(() => Math.min(pageNumber, maxPage));\r\n }\r\n\r\n return { next, prev, jump, currentData, currentPage, maxPage };\r\n}\r\n\r\nexport default usePagination;\r\n","import React from 'react';\r\n\r\nconst MediaGalleryContent = ({\r\n heading,\r\n text,\r\n links,\r\n showAuthor,\r\n photographer,\r\n illustrator,\r\n translations,\r\n}) => {\r\n return (\r\n <>\r\n {heading &&

    {heading}

    }\r\n {text && (\r\n \r\n )}\r\n {showAuthor && (\r\n
    \r\n {photographer && (\r\n

    {`${translations.photographer}: ${photographer}`}

    \r\n )}\r\n {illustrator && (\r\n

    {`${translations.illustrator}: ${illustrator}`}

    \r\n )}\r\n
    \r\n )}\r\n {links && (\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default MediaGalleryContent;\r\n","import React from 'react';\r\nimport withSensitiveImage from '../../Containers/withSensitiveImage';\r\nimport withSrcSets from '../../Containers/withSrcSets';\r\nimport ImageBlock from '../../ImageBlock';\r\nimport MediaGalleryContent from './content';\r\n\r\nconst MediaGalleryImage = (props) => {\r\n const {\r\n activeIndex,\r\n index,\r\n pageProps,\r\n counter,\r\n numberOfItems,\r\n ImageHeading,\r\n ImageText,\r\n ImageLinks,\r\n isStanding,\r\n slideWidth,\r\n showAuthor,\r\n translations,\r\n isArticlePage,\r\n isMobile,\r\n alwaysShowCurrentImage,\r\n } = props;\r\n const ImageBlockWithSrcSets = withSrcSets(withSensitiveImage(ImageBlock));\r\n\r\n const forciblyShowCurrentCount =\r\n (alwaysShowCurrentImage && !isMobile) ||\r\n (activeIndex === index && isMobile);\r\n\r\n return (\r\n \r\n \r\n {counter} {activeIndex + 1}\r\n \r\n\r\n
    \r\n \r\n \r\n \r\n {alwaysShowCurrentImage ? index + 1 : activeIndex + 1}/\r\n {numberOfItems}\r\n \r\n
    \r\n \r\n {(ImageHeading || ImageText || ImageLinks) && (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default MediaGalleryImage;\r\n","import React from 'react';\r\n\r\nconst MediaGalleryPagination = ({\r\n totalSlides,\r\n currentSlide,\r\n visibleRange,\r\n handleClick,\r\n hasGroupedDots\r\n}) => {\r\n const calculateDotSize = (index) => {\r\n const distance = Math.abs(currentSlide - index);\r\n if (distance === 0) return hasGroupedDots ? 60 : 30; // Active dot size\r\n return Math.max(2, 12 - distance); // Decrease size by 1px per step, with a minimum size of 2px\r\n };\r\n\r\n return (\r\n
    \r\n {Array.from(\r\n { length: hasGroupedDots ? totalSlides - 2 : totalSlides },\r\n (_, index) =>\r\n index >= visibleRange[0] &&\r\n index <= visibleRange[1] && (\r\n handleClick(index)}\r\n >\r\n )\r\n )}\r\n
    \r\n );\r\n};\r\n\r\nexport default MediaGalleryPagination;\r\n","import React from 'react';\r\nimport Video from '../../Video';\r\n\r\nconst MediaGalleryVideo = (props) => {\r\n const {\r\n activeIndex,\r\n index,\r\n numberOfItems,\r\n counter,\r\n VideoText,\r\n slideWidth,\r\n isMobile,\r\n alwaysShowCurrentImage,\r\n } = props;\r\n\r\n const forciblyShowCurrentCount =\r\n (alwaysShowCurrentImage && !isMobile) ||\r\n (activeIndex === index && isMobile);\r\n\r\n return (\r\n \r\n \r\n {counter} {activeIndex + 1}\r\n \r\n\r\n
    \r\n
    \r\n \r\n \r\n );\r\n};\r\n\r\nexport default MediaGalleryVideo;\r\n","import classNames from 'classnames';\r\nimport React, { useEffect, useRef, useState } from 'react';\r\nimport SemanticHeader from '../Chapter/semantic-header';\r\nimport { useMatomoTrackEventOnChange } from '../Hooks/index';\r\nimport { isMediumViewport } from '../Hooks/useMedia';\r\nimport MediaGalleryImage from './components/image';\r\nimport MediaGalleryPagination from './components/pagination';\r\nimport MediaGalleryVideo from './components/video';\r\nimport useWindowLocationHref from '../Hooks/useWindowLocation';\r\n\r\nconst MediaGallery = (props) => {\r\n const href = useWindowLocationHref();\r\n const {\r\n Heading,\r\n Media,\r\n Translations,\r\n CurrentPageProps,\r\n Dir,\r\n ShowPagination,\r\n } = props;\r\n\r\n const containsMedia = (media) => {\r\n let hasMedia = false;\r\n try {\r\n media?.length > 0 ? (hasMedia = true) : (hasMedia = false);\r\n } catch (error) {\r\n throw new Error('Du måste ha minst en bild i bildspelet');\r\n }\r\n\r\n return hasMedia;\r\n };\r\n\r\n const totalItems = Media?.length;\r\n\r\n const hasMedia = containsMedia(Media);\r\n const isMobile = isMediumViewport();\r\n const isArticlePage = CurrentPageProps.PageTypeName === 'ArticlePage';\r\n const isThreeSlidesLayout = !isArticlePage && !isMobile;\r\n const isFullWidthLayout = totalItems === 4;\r\n const galleryIsScrollable = totalItems > 4 || isArticlePage;\r\n const alwaysShowCurrentImageIndicator =\r\n !ShowPagination && galleryIsScrollable;\r\n\r\n const getSlideWidth = () => {\r\n if (isArticlePage && !isMobile) {\r\n return '100%';\r\n }\r\n if ((galleryIsScrollable && !isMobile) || (totalItems < 4 && !isMobile)) {\r\n return '33%';\r\n }\r\n if (isFullWidthLayout && !isMobile) {\r\n return '25%';\r\n }\r\n return '83%';\r\n };\r\n\r\n const slideWidth = getSlideWidth();\r\n\r\n const scrollContainerRef = useRef(null);\r\n const [activeIndex, setActiveIndex] = useState(0);\r\n\r\n const maxVisiblePaginationDots = 10;\r\n const [visiblePaginationRange, setVisiblePaginationRange] = useState([0, 9]);\r\n\r\n const updatePaginationRange = (newSlide) => {\r\n let newStart = Math.max(\r\n newSlide - Math.floor(maxVisiblePaginationDots / 2),\r\n 0\r\n );\r\n let newEnd = Math.min(\r\n newStart + maxVisiblePaginationDots - 1,\r\n totalItems - 1\r\n );\r\n\r\n if (newEnd - newStart < maxVisiblePaginationDots - 1) {\r\n newStart = Math.max(newEnd - maxVisiblePaginationDots + 1, 0);\r\n }\r\n\r\n setVisiblePaginationRange([newStart, newEnd]);\r\n };\r\n\r\n const handlePaginationClick = (index) => {\r\n scrollToIndex(index);\r\n updatePaginationRange(index);\r\n };\r\n\r\n useEffect(() => {\r\n if (isMobile) {\r\n const scrollContainer = scrollContainerRef.current;\r\n\r\n const handleScroll = () => {\r\n let scrollLeft = scrollContainer.scrollLeft;\r\n const containerWidth = scrollContainer.clientWidth;\r\n const itemWidth = containerWidth * 0.83; // width: 83% in mobile always\r\n\r\n let newIndex;\r\n\r\n if (Dir === 'rtl') {\r\n const maxScrollLeft = scrollContainer.scrollWidth - containerWidth;\r\n if (scrollLeft < 0) {\r\n scrollLeft = Math.abs(scrollLeft);\r\n } else if (scrollLeft == -maxScrollLeft) {\r\n scrollLeft = maxScrollLeft;\r\n } else {\r\n scrollLeft = 0;\r\n }\r\n }\r\n\r\n newIndex = Math.round(scrollLeft / itemWidth);\r\n\r\n setActiveIndex(newIndex);\r\n updatePaginationRange(newIndex);\r\n };\r\n\r\n scrollContainer.addEventListener('scroll', handleScroll);\r\n\r\n return () => {\r\n scrollContainer.removeEventListener('scroll', handleScroll);\r\n };\r\n }\r\n }, []);\r\n\r\n const scrollToIndex = (index) => {\r\n const scrollContainer = scrollContainerRef.current;\r\n const containerWidth = scrollContainer.clientWidth;\r\n const itemWidth = containerWidth * (isMobile ? 0.83 : 0.33); // width: 83%\r\n const scrollLeft = index * itemWidth;\r\n\r\n // Temporarily disable 'scroll-snap-type', because it interferes with the 'scrollTo' in Chrome\r\n scrollContainer.style.scrollSnapType = 'none';\r\n\r\n if (Dir === 'ltr') {\r\n scrollContainer.scrollTo({\r\n left: isMobile ? scrollLeft - 15 : scrollLeft,\r\n behavior: 'smooth',\r\n });\r\n } else {\r\n scrollContainer.scrollTo({\r\n left: isMobile ? -scrollLeft + 15 : -scrollLeft,\r\n behavior: 'smooth',\r\n });\r\n }\r\n\r\n setTimeout(() => {\r\n // Re-enable 'scroll-snap-type' after the scrolling is done\r\n scrollContainer.style.scrollSnapType = 'x mandatory';\r\n }, 300);\r\n\r\n if (!isMobile) setActiveIndex(index);\r\n updatePaginationRange(index);\r\n };\r\n\r\n const nextSlide = () => {\r\n let newIndex;\r\n\r\n if (isArticlePage && !isMobile && activeIndex + 1 >= totalItems) {\r\n newIndex = 0;\r\n } else {\r\n newIndex =\r\n activeIndex < (isThreeSlidesLayout ? totalItems - 3 : totalItems - 1)\r\n ? activeIndex + 1\r\n : activeIndex;\r\n }\r\n\r\n scrollToIndex(newIndex);\r\n };\r\n\r\n const prevSlide = () => {\r\n let newIndex;\r\n\r\n if (isArticlePage && !isMobile && activeIndex === 0) {\r\n newIndex = totalItems - 1;\r\n } else {\r\n newIndex = activeIndex !== 0 ? activeIndex - 1 : 0;\r\n }\r\n\r\n scrollToIndex(newIndex);\r\n };\r\n\r\n useMatomoTrackEventOnChange(\r\n 'Bildspel',\r\n 'Bläddrar',\r\n href || 'novalue',\r\n activeIndex + 1\r\n );\r\n\r\n const dataPrintSidebarTitle = Heading || 'Mediakarusell';\r\n\r\n if (!Translations)\r\n throw new Error(`There is no Translation object for MediaGallery`);\r\n return (\r\n \r\n {Heading && (\r\n \r\n {Heading}\r\n \r\n )}\r\n
    \r\n {!!ShowPagination && (galleryIsScrollable || isMobile) && (\r\n \r\n )}\r\n\r\n
    \r\n
    \r\n \r\n {hasMedia &&\r\n Media.map((media, index) =>\r\n media.BlockTypeName === 'SlideshowImageBlock' ? (\r\n \r\n ) : (\r\n \r\n )\r\n )}\r\n
    \r\n
    \r\n {(galleryIsScrollable || isMobile) && (\r\n
    \r\n (Dir === 'ltr' ? nextSlide() : prevSlide())}\r\n >\r\n \r\n {Dir === 'ltr' ? Translations.next : Translations.previous}\r\n \r\n \r\n (Dir === 'ltr' ? prevSlide() : nextSlide())}\r\n >\r\n \r\n {Dir === 'ltr' ? Translations.previous : Translations.next}\r\n \r\n \r\n
    \r\n )}\r\n
    \r\n\r\n {props.Link && (props.LinkText || props.InternalLinkName) && (\r\n \r\n \r\n {props.LinkText || props.InternalLinkName}\r\n \r\n \r\n )}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default MediaGallery;\r\n","import React from 'react';\r\n\r\nconst InfoBox = ({\r\n quizInProgress,\r\n currentQuestionNr,\r\n nrOfQuestions,\r\n correctNrOfQuestions,\r\n finishedQuizText,\r\n link,\r\n linkText,\r\n friendlyLinkName,\r\n}) => {\r\n return (\r\n
    \r\n {quizInProgress ? (\r\n
    \r\n

    \r\n Fråga {currentQuestionNr} av {nrOfQuestions}\r\n

    \r\n
    \r\n ) : (\r\n <>\r\n
    \r\n

    \r\n Du fick {correctNrOfQuestions}/{nrOfQuestions} rätt!\r\n

    \r\n
    \r\n

    {finishedQuizText}

    \r\n {link && (linkText || friendlyLinkName) && (\r\n \r\n {linkText || friendlyLinkName}\r\n \r\n )}\r\n \r\n )}\r\n
    \r\n );\r\n};\r\n\r\nexport default InfoBox;\r\n","import classNames from 'classnames';\r\nimport React from 'react';\r\n\r\n/**\r\n * @typedef RadioButtonProps\r\n * @property {string | undefined} id\r\n * @property {string | undefined} name\r\n * @property {string} text\r\n * @property {boolean} checked\r\n * @property {React.ChangeEventHandler | undefined} checked\r\n * @property {boolean} isValid\r\n * @property {boolean} isValidated\r\n */\r\n\r\nexport const RadioButton = (\r\n /** @type {RadioButtonProps} */ {\r\n id,\r\n name,\r\n text,\r\n checked = false,\r\n onChange,\r\n isValid,\r\n isValidated,\r\n }\r\n) => {\r\n const classes = classNames('c-quiz-radio-button', {\r\n '': !isValidated,\r\n 'is-valid': isValidated && isValid,\r\n 'is-invalid': isValidated && !isValid,\r\n inactive: isValidated,\r\n });\r\n\r\n const handleKeyDown = (event) => {\r\n if (event.key === ' ') {\r\n event.preventDefault();\r\n onChange({ target: { checked: !checked } });\r\n }\r\n };\r\n\r\n return (\r\n \r\n );\r\n};\r\n","import React from 'react';\r\nimport SemanticHeader from '../Chapter/semantic-header';\r\nimport ImageBlock from '../ImageBlock';\r\nimport { RadioButton } from './RadioButton';\r\n\r\nconst QuizQuestion = ({\r\n questionText,\r\n answerAlternatives,\r\n image,\r\n onAnswer,\r\n blockId,\r\n selectedAnswer,\r\n quizInProgress,\r\n correctFeedbackText,\r\n incorrectFeedbackText,\r\n correctAnswerLink,\r\n correctAnswerLinkText,\r\n friendlyCorrectLinkName,\r\n incorrectAnswerLink,\r\n incorrectAnswerLinkText,\r\n friendlyIncorrectLinkName,\r\n currentAnswerIndex,\r\n chapterContainerHasHeading,\r\n}) => {\r\n const correctLinkText = correctAnswerLinkText || friendlyCorrectLinkName;\r\n\r\n const incorrectLinkText =\r\n incorrectAnswerLinkText || friendlyIncorrectLinkName;\r\n\r\n const link = selectedAnswer?.IsCorrect\r\n ? correctAnswerLink\r\n : incorrectAnswerLink;\r\n\r\n const linkText = selectedAnswer?.IsCorrect\r\n ? correctLinkText\r\n : incorrectLinkText;\r\n\r\n const answerQuestion = (answer) => {\r\n onAnswer(answer);\r\n };\r\n\r\n return (\r\n
    \r\n \r\n {`${\r\n currentAnswerIndex && !quizInProgress ? currentAnswerIndex + '.' : ''\r\n } ${questionText}`}\r\n \r\n
    {image && }
    \r\n
      \r\n {answerAlternatives?.map((answer, i) => (\r\n answerQuestion(answer)}\r\n isValid={\r\n selectedAnswer?.AnswerText === answer.AnswerText &&\r\n selectedAnswer?.IsCorrect\r\n }\r\n isValidated={!quizInProgress}\r\n />\r\n ))}\r\n
    \r\n {selectedAnswer && !quizInProgress && (\r\n
    \r\n \r\n {link && linkText && (\r\n \r\n {linkText}\r\n \r\n )}\r\n
    \r\n )}\r\n
    \r\n );\r\n};\r\n\r\nexport default QuizQuestion;\r\n","import classNames from 'classnames';\r\nimport React, { useEffect, useRef, useState } from 'react';\r\nimport ShareButton from '../Buttons/ShareButton';\r\nimport SemanticHeader from '../Chapter/semantic-header';\r\nimport InfoBox from './infoBox';\r\nimport QuizQuestion from './quizQuestion';\r\nimport useWindowLocationHref from '../Hooks/useWindowLocation';\r\n\r\nconst QuizContainerBlock = ({\r\n heading,\r\n introText,\r\n link,\r\n linkText,\r\n internalLinkName,\r\n questions,\r\n answerSpans,\r\n blockId,\r\n chapterContainerHasHeading,\r\n isCollectionPage,\r\n shareButton,\r\n}) => {\r\n const href = useWindowLocationHref();\r\n const [answeredQuestions, setAnsweredQuestions] = useState({});\r\n const [currentQuestionIndex, setCurrentQuestionIndex] = useState(0);\r\n const [quizInProgress, setQuizInProgress] = useState(true);\r\n const [correctNumberOfQuestions, setCorrectNumberOfQuestions] = useState(0);\r\n const [finishedQuizText, setFinishedQuizText] = useState('');\r\n const [hideQuizBlock, setHideQuizBlock] = useState(false);\r\n const quizResultsRef = useRef(null);\r\n\r\n const currentQuestion = questions?.[currentQuestionIndex];\r\n\r\n const nextPaginationButtonActive =\r\n currentQuestionIndex === 0\r\n ? Object.keys(answeredQuestions).length > 0\r\n : currentQuestionIndex <= Object.keys(answeredQuestions).length - 1;\r\n\r\n const handleQuestionAnswer = (questionId, answer) => {\r\n setAnsweredQuestions({\r\n ...answeredQuestions,\r\n [questionId]: answer,\r\n });\r\n };\r\n\r\n const handleNext = () => {\r\n if (currentQuestionIndex < questions?.length - 1) {\r\n setCurrentQuestionIndex(currentQuestionIndex + 1);\r\n scrollToTop();\r\n } else {\r\n setQuizInProgress(false);\r\n }\r\n };\r\n\r\n const handlePrev = () => {\r\n if (currentQuestionIndex > 0) {\r\n setCurrentQuestionIndex(currentQuestionIndex - 1);\r\n scrollToTop();\r\n }\r\n };\r\n\r\n const scrollToTop = () => {\r\n requestAnimationFrame(() => {\r\n const heading = document.getElementById(`quiz-heading-${blockId}`);\r\n if (heading) {\r\n const headingTop = heading.getBoundingClientRect().top + window.scrollY;\r\n window.scrollTo({ top: headingTop + -150 });\r\n heading.focus();\r\n }\r\n });\r\n };\r\n\r\n const handleHideQuiz = () => {\r\n setHideQuizBlock(!hideQuizBlock);\r\n scrollToTop();\r\n };\r\n\r\n useEffect(() => {\r\n const correctAnswersCount = Object.values(answeredQuestions).filter(\r\n (question) => question.IsCorrect\r\n ).length;\r\n setCorrectNumberOfQuestions(correctAnswersCount);\r\n const answerSpan = answerSpans\r\n ?.sort((a, b) => a.Max - b.Max)\r\n ?.find((answer) => correctAnswersCount < answer.Max);\r\n setFinishedQuizText(answerSpan?.Text);\r\n }, [answeredQuestions]);\r\n\r\n const updateQuizResultHeight = () => {\r\n if (quizResultsRef.current) {\r\n const currentContentHeight = hideQuizBlock\r\n ? 0\r\n : quizResultsRef.current.scrollHeight;\r\n quizResultsRef.current.style.maxHeight = `${currentContentHeight}px`;\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n updateQuizResultHeight();\r\n }, [hideQuizBlock, quizInProgress]);\r\n\r\n if (!questions || questions.length === 0) {\r\n return null;\r\n }\r\n\r\n return (\r\n \r\n
    \r\n \r\n {heading}\r\n \r\n

    {introText}

    \r\n \r\n {quizInProgress ? (\r\n currentQuestion ? (\r\n \r\n handleQuestionAnswer(currentQuestion.BlockId, answer)\r\n }\r\n selectedAnswer={answeredQuestions[currentQuestion.BlockId]}\r\n blockId={currentQuestion.BlockId}\r\n correctFeedbackText={currentQuestion.CorrectFeedbackText}\r\n incorrectFeedbackText={currentQuestion.IncorrectFeedbackText}\r\n correctAnswerLink={currentQuestion.CorrectAnswerLink}\r\n correctAnswerLinkText={currentQuestion.CorrectAnswerLinkText}\r\n friendlyCorrectLinkName={currentQuestion.FriendlyCorrectLinkName}\r\n incorrectAnswerLink={currentQuestion.IncorrectAnswerLink}\r\n incorrectAnswerLinkText={currentQuestion.IncorrectAnswerLinkText}\r\n friendlyIncorrectLinkName={\r\n currentQuestion.FriendlyIncorrectLinkName\r\n }\r\n quizInProgress={quizInProgress}\r\n chapterContainerHasHeading={chapterContainerHasHeading}\r\n />\r\n ) : null\r\n ) : (\r\n
    \r\n \r\n {questions.map((question, i) =>\r\n question ? (\r\n
    \r\n \r\n handleQuestionAnswer(question.BlockId, answer)\r\n }\r\n selectedAnswer={answeredQuestions[question.BlockId]}\r\n blockId={question.BlockId}\r\n correctFeedbackText={question.CorrectFeedbackText}\r\n incorrectFeedbackText={question.IncorrectFeedbackText}\r\n correctAnswerLink={question.CorrectAnswerLink}\r\n correctAnswerLinkText={question.CorrectAnswerLinkText}\r\n friendlyCorrectLinkName={question.FriendlyCorrectLinkName}\r\n incorrectAnswerLink={question.IncorrectAnswerLink}\r\n incorrectAnswerLinkText={question.IncorrectAnswerLinkText}\r\n friendlyIncorrectLinkName={\r\n question.FriendlyIncorrectLinkName\r\n }\r\n quizInProgress={quizInProgress}\r\n currentAnswerIndex={i + 1}\r\n />\r\n
    \r\n ) : null\r\n )}\r\n {shareButton && (\r\n
    \r\n \r\n
    \r\n )}\r\n
    \r\n\r\n
    \r\n handleHideQuiz()}\r\n className={`c-quiz-result__show-toggle-btn ${\r\n hideQuizBlock ? 'closed' : 'open'\r\n }`}\r\n aria-expanded={\r\n currentQuestionIndex === questions.length - 1\r\n ? quizInProgress\r\n ? 'true'\r\n : 'false'\r\n : undefined\r\n }\r\n aria-controls={`quiz-result-${blockId}`}\r\n >\r\n {hideQuizBlock ? 'Visa mitt resultat' : 'Dölj mitt resultat'}\r\n \r\n
    \r\n
    \r\n )}\r\n {quizInProgress && (\r\n
    \r\n \r\n Föregående fråga\r\n \r\n \r\n {currentQuestionIndex === questions.length - 1\r\n ? 'Se ditt resultat'\r\n : 'Nästa fråga'}\r\n \r\n
    \r\n )}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default QuizContainerBlock;\r\n","import React, { useState } from 'react';\r\n\r\n/**\r\n * Repo: PWT-PlatformUI\r\n *\r\n * Sites: RGS\r\n *\r\n * @description Limited search field with no autocomplete or suggestions.\r\n * Uses local state and initialValue props.\r\n *\r\n */\r\nconst EntryFormSearchField = ({\r\n handleKeyDown,\r\n handleChange,\r\n handleBlur,\r\n initialValue,\r\n id,\r\n className,\r\n placeholder,\r\n}) => {\r\n const [value, setValue] = useState(initialValue);\r\n\r\n return (\r\n
    \r\n handleKeyDown(e)}\r\n onChange={(e) => {\r\n setValue(e.target.value);\r\n if (typeof handleChange === 'function') {\r\n handleChange(e);\r\n }\r\n }}\r\n onBlur={(e) => handleBlur(e)}\r\n type=\"text\"\r\n id={id}\r\n name=\"q\"\r\n placeholder={placeholder}\r\n className={`${className}__field__query`}\r\n />\r\n
    \r\n );\r\n};\r\n\r\nEntryFormSearchField.defaultProps = {\r\n handleKeyDown: () => {},\r\n handleChange: () => {},\r\n handleBlur: () => {},\r\n initialValue: '',\r\n id: '',\r\n className: '',\r\n placeholder: '',\r\n};\r\n\r\nexport default EntryFormSearchField;\r\n","import queryString from 'qs';\r\nimport React from 'react';\r\nimport { withRouter } from 'react-router';\r\nimport SearchField from '../Search/searchfield';\r\nimport EntryFormSearchField from './entryform-searchfield';\r\nimport './styles.scss';\r\n\r\n/**\r\n * Repo: PWT-PlatformUI\r\n *\r\n * Sites: RGS\r\n *\r\n * @description\r\n * Entry form block to a searchpage.\r\n * No autocomplete/suggestions.\r\n *\r\n */\r\nconst SearchEntryForm = (props) => {\r\n const qs = queryString.parse(props.location.search, {\r\n ignoreQueryPrefix: true,\r\n });\r\n return (\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {props.Heading && (\r\n {props.Heading}\r\n )}\r\n
    \r\n \r\n {props.CurrentPageProps.Content.Translations.search && (\r\n \r\n {props.CurrentPageProps.Content.Translations.search}\r\n \r\n )}\r\n \r\n {props.DefaultFacet && (\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 * Repo: PWT-PlatformUI\r\n *\r\n * Sites: NKK\r\n * @description\r\n * Entry form block to a searchpage.\r\n * With autocomplete, suggestions and quicksearch\r\n */\r\n\r\nconst SearchEntryFormWithAutocomplete = (props) => {\r\n const hasQuickSearch =\r\n typeof props.QuickSearchUrl !== 'undefined' &&\r\n props.QuickSearchUrl !== null;\r\n return (\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n {props.SearchPlaceholder}\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\nexport default withRouter(SearchEntryForm);\r\n\r\nexport { SearchEntryFormWithAutocomplete };\r\n","import React from 'react';\r\nimport { withRouter } from 'react-router';\r\nimport queryString from 'qs';\r\n\r\nconst TabPanel = (props) => {\r\n const options = {\r\n ignoreQueryPrefix: true,\r\n };\r\n const qs = props.TypeExists\r\n ? queryString.parse(props.location.search, options)\r\n : '';\r\n\r\n if ((props.default && !qs.t) || qs.t === props.id)\r\n return
    {props.children}
    ;\r\n\r\n return null;\r\n};\r\n\r\nexport default withRouter(TabPanel);\r\n","import React, { useState } from 'react';\r\nimport { withRouter } from 'react-router';\r\nimport classNames from 'classnames';\r\nimport queryString from 'qs';\r\n\r\nconst Tabs = (props) => {\r\n const [isOpen, setIsOpen] = useState(\r\n typeof window !== 'undefined' &&\r\n window.matchMedia('(min-width: 1025px)').matches\r\n );\r\n\r\n function handleToggle() {\r\n setIsOpen(!isOpen);\r\n }\r\n\r\n const { Tabs, location, Id } = props;\r\n\r\n if (!Tabs) return null;\r\n const options = {\r\n ignoreQueryPrefix: true,\r\n };\r\n const q = props.TypeExists ? queryString.parse(location.search, options) : '';\r\n\r\n let currentTab = null;\r\n\r\n const tabs = Tabs.map((tab, index) => {\r\n const tabQ = queryString.parse(tab.Url);\r\n const current = !q.t ? index === 0 : q.t === tabQ.t;\r\n const classes = classNames({\r\n 'c-tabs__nav__item': true,\r\n 'c-tabs__nav__item--selected': current,\r\n });\r\n\r\n if (current) currentTab = tab;\r\n\r\n return (\r\n
  • \r\n {tab.Name}\r\n
  • \r\n );\r\n });\r\n\r\n const tabsClasses = classNames({\r\n 'c-tabs': true,\r\n 'c-tabs--is-open': isOpen,\r\n });\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default withRouter(Tabs);\r\n","import PropTypes from 'prop-types';\r\nimport React, { useEffect, useRef, useState } from 'react';\r\nimport useArrowNavigation from '../Hooks/useArrowNavigation';\r\nimport TypeaheadInput from './input';\r\nimport { filterTypeaheadItems, normalizeTypeaheadItems } from './utils';\r\nconst lodashUtil = require('lodash/util');\r\n\r\n/**\r\n * @param {Array} items - An array of items to display in the dropdown.\r\n * Each item should be an object with the following properties:\r\n * - `value` (string, required): The value of the item.\r\n * - `label` (string, required): The label to display for the item.\r\n * - `category` (string, optional): The optional category for the item.\r\n *\r\n * @param {Function} onSelect - Function called when an item is selected.\r\n * @param {boolean} [openOnFocus=true] - If true, the dropdown opens when the input is focused, otherwise it opens when the user starts typing.\r\n * @param {string} [label] - The label for the input field.\r\n * @param {string} [placeholderText] - Placeholder inside of the input field.\r\n *\r\n * @param {string} [tooltipTitle] - The heading displayed in the tooltip.\r\n * @param {string} [tooltipText] - The text displayed inside of the tooltip.\r\n * @param {string} [tooltipLinkText] - The link-text displayed next to the label.\r\n * @param {bool} [shouldSearchCategories] - Whether the categories should be included in the search or not\r\n * @param {string} [defaultValue] - The default value to be selected in the typeahead.\r\n */\r\nconst Typeahead = ({\r\n items,\r\n onSelect,\r\n openOnFocus = true,\r\n label,\r\n placeholderText,\r\n tooltipText,\r\n tooltipLinkText,\r\n translations,\r\n inputRef,\r\n rightAlignedTooltip,\r\n shouldSearchCategories = false,\r\n defaultValue = '',\r\n}) => {\r\n const [query, setQuery] = useState('');\r\n const [allItems, setAllItems] = useState([]);\r\n const [filteredItems, setFilteredItems] = useState([]);\r\n const [isDropdownOpen, setIsDropdownOpen] = useState(false);\r\n const [isTooltipVisible, setIsTooltipVisible] = useState(false);\r\n const localInputRef = useRef(null);\r\n const ref = inputRef || localInputRef;\r\n const uniqueId = useRef(lodashUtil.uniqueId('typeahead-input-')).current;\r\n\r\n const flattenedListItems = filteredItems.flatMap(\r\n (category) => category.items\r\n );\r\n\r\n const maxIndex = flattenedListItems.length - 1;\r\n\r\n const getItemByIndex = (index) => flattenedListItems[index];\r\n\r\n const { highlightedIndex, resetIndex, handleKeyDown } = useArrowNavigation(\r\n maxIndex,\r\n {\r\n isOpen: isDropdownOpen,\r\n onItemSelect: (item) => {\r\n setQuery(item.label);\r\n setIsDropdownOpen(false);\r\n resetIndex();\r\n onSelect && onSelect(item);\r\n },\r\n onClose: () => {\r\n setIsDropdownOpen(false);\r\n resetIndex();\r\n },\r\n getItemByIndex,\r\n }\r\n );\r\n\r\n const highlightedItemValue = flattenedListItems[highlightedIndex]?.value;\r\n\r\n const handleInputChange = (e) => {\r\n const value = e.target.value;\r\n setQuery(value);\r\n\r\n const newFilteredItems = filterTypeaheadItems(\r\n allItems,\r\n value,\r\n shouldSearchCategories\r\n );\r\n setFilteredItems(newFilteredItems);\r\n setIsDropdownOpen(true);\r\n resetIndex();\r\n };\r\n\r\n const handleInputFocus = () => {\r\n if (openOnFocus || (!openOnFocus && query.length >= 1)) {\r\n ref?.current.focus();\r\n setIsDropdownOpen(true);\r\n setFilteredItems(allItems);\r\n }\r\n };\r\n\r\n const handleItemClick = (item) => {\r\n setQuery(item.label);\r\n setIsDropdownOpen(false);\r\n resetIndex();\r\n onSelect && onSelect(item);\r\n };\r\n\r\n const handleTooltipClick = () => {\r\n setIsTooltipVisible(!isTooltipVisible);\r\n };\r\n\r\n const handleOnBlur = (e) => {\r\n e.preventDefault();\r\n setIsDropdownOpen(false);\r\n };\r\n\r\n useEffect(() => {\r\n const normalizedItems = normalizeTypeaheadItems(items);\r\n setAllItems(normalizedItems);\r\n setFilteredItems(normalizedItems);\r\n }, [items]);\r\n\r\n useEffect(() => {\r\n if (defaultValue) {\r\n const selectedItem = allItems\r\n .flatMap((category) => category.items)\r\n .find((item) => item.value === defaultValue);\r\n if (selectedItem) {\r\n setQuery(selectedItem.label);\r\n }\r\n }\r\n }, [defaultValue, allItems]);\r\n\r\n return items && items.length > 0 ? (\r\n \r\n ) : null;\r\n};\r\n\r\nTypeahead.propTypes = {\r\n items: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n value: PropTypes.string.isRequired,\r\n label: PropTypes.string.isRequired,\r\n category: PropTypes.string,\r\n })\r\n ).isRequired,\r\n onSelect: PropTypes.func,\r\n openOnFocus: PropTypes.bool,\r\n label: PropTypes.string,\r\n placeholderText: PropTypes.string,\r\n tooltipText: PropTypes.string,\r\n tooltipLinkText: PropTypes.string,\r\n defaultValue: PropTypes.string,\r\n};\r\n\r\nexport default Typeahead;\r\n","import { arrayOf, bool, shape, string } from 'prop-types';\r\nimport React from 'react';\r\nimport SemanticHeader from '../../platformui/Chapter/semantic-header';\r\n\r\nconst DescriptionList = (props) => {\r\n let count = null;\r\n return (\r\n
    \r\n {props.Heading && (\r\n {props.Heading}\r\n )}\r\n

    {props.Preamble}

    \r\n
      \r\n {props.List?.map((item, key) => {\r\n props.ShowNumber && count++;\r\n return (\r\n \r\n );\r\n })}\r\n
    \r\n
    \r\n );\r\n};\r\nconst DescriptionListItem = (props) => {\r\n return (\r\n
  • \r\n
    \r\n
    \r\n {props.number && (\r\n \r\n

    {props.number}

    \r\n
    \r\n )}\r\n {props.Heading && (\r\n \r\n {props.Heading}\r\n \r\n )}\r\n
    \r\n
    \r\n
    \r\n
  • \r\n );\r\n};\r\n\r\nDescriptionList.propTypes = {\r\n Heading: string,\r\n Preamble: string,\r\n ShowNumber: bool,\r\n List: arrayOf(\r\n shape({\r\n Heading: string,\r\n Description: string,\r\n })\r\n ),\r\n};\r\n\r\nexport default DescriptionList;\r\n","import React from 'react';\r\nimport T from 'prop-types';\r\nimport './styles.scss';\r\n\r\nconst RADIUS = 54;\r\nconst CIRCUMFERENCE = 2 * Math.PI * RADIUS;\r\n\r\nconst progress = (value) => {\r\n const progress = value / 100;\r\n const dashoffset = CIRCUMFERENCE * (1 - progress);\r\n return dashoffset;\r\n};\r\n\r\n/**\r\n * Will output a radial circle progress meter in SVG\r\n *\r\n */\r\nconst Progressbar = (props) => {\r\n return (\r\n
    \r\n
    {props.percent}%
    \r\n \r\n {props.percent} %\r\n \r\n \r\n \r\n
    \r\n );\r\n};\r\n\r\nProgressbar.propTypes = {\r\n /** How much progress */\r\n percent: T.number,\r\n /** Width and Height of element */\r\n size: T.number,\r\n /** Width of meter and value stroke. */\r\n strokeWidth: T.number,\r\n};\r\n\r\nexport default Progressbar;\r\n","import React from 'react';\r\nimport classnames from 'classnames';\r\nimport { shape, arrayOf, string, object } from 'prop-types';\r\n\r\nexport const renderTimeListItem =\r\n ({ baseClassName }) =>\r\n (item, index) =>\r\n (\r\n
  • \r\n {item.days && (\r\n \r\n {item.days}\r\n \r\n )}\r\n {item.hours && (\r\n \r\n {item.hours}\r\n \r\n )}\r\n
  • \r\n );\r\n\r\nconst TimeList = (props) => {\r\n const { heading, items, baseClassName, modifiers, renderEmptyFallback } =\r\n props;\r\n const className = classnames(`${baseClassName}__container`, {\r\n ...modifiers,\r\n });\r\n if ((!items || items.length === 0) && renderEmptyFallback === null) {\r\n return null;\r\n }\r\n return (\r\n
    \r\n {heading &&
    {heading}
    }\r\n {renderEmptyFallback &&

    {renderEmptyFallback}

    }\r\n
      {items.map(renderTimeListItem(props))}
    \r\n
    \r\n );\r\n};\r\n\r\nTimeList.defaultProps = {\r\n renderEmptyFallback: null,\r\n baseClassName: 'time-list',\r\n modifiers: {},\r\n};\r\n\r\nexport const propTypes = {\r\n /** classnames compatible object */\r\n modifiers: object,\r\n heading: string,\r\n baseClass: string,\r\n /** Will not render if items list is empty or undefined */\r\n items: arrayOf(\r\n shape({\r\n days: string.isRequired,\r\n hours: string.isRequired,\r\n })\r\n ),\r\n};\r\n\r\nTimeList.propTypes = propTypes;\r\n\r\nexport const getTimeListItems = (dayProp, hourProp) => (o) => ({\r\n days: o[dayProp],\r\n hours: o[hourProp],\r\n});\r\n\r\nexport default TimeList;\r\n"],"names":["props","Content","Heading","Text","LinkText","LinkUrl","_jsxs","className","children","useBackgroundImage","_jsx","href","useIconLink","FirstColumn","classNames","contentDirection","columns","SecondColumn","ArticleFooterContent","ArticleFooter","RoleGroups","map","item","index","_props$Translations","Label","FooterHasCollapsibleRoleGroups","CollapsiblePanel","Id","DefaultCollapsed","Translations","showworkgroup","RoleItem","_objectSpread","Persons","person","Person","ArticleFooterReviewDate","_ref","LastReview","ArticleFooterPublishDate","_ref2","PublishDate","ArticleFooterApprovedDate","_ref3","ApprovedDate","ArticleFooterApprovedBy","_ref4","ApprovedBy","isRegional","i","name","url","RegionalName","cssClasses","dataPrintSidebarTitle","articlefooter","Region","RegionalArticleFooter","revisiondate","publishdate","approved","approvedDate","approvedby","approvedBy","Organizations","InformationText","dangerouslySetInnerHTML","__html","useIdsBadge","_objectWithoutProperties","_excluded","Badge","type","text","concat","regionlabel","CurrentRegionName","ArticleTags","tags","key","ArticleVideoWrapper","TopMediaVideo","isAboveTitle","Video","_props$Content","_props$Content2","_props$Content3","_props$Content4","componentClasses","Modifiers","SubjectHeading","HideSubjectHeading","showSubject","isFaqPage","question","SubjectAboveHeading","SubjectHeadingLink","VideoAboveTitle","HeadingTranslation","dir","lang","useSweLang","Language","RegionLabel","Site","PageTypeName","Preamble","Container","WrappedComponent","offsetTop","handles","printHandler","ticking","throttleScroll","requestAnimationFrame","handle","window","addEventListener","matchMedia","addListener","mql","matches","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","ref","arguments","length","undefined","setIsInrange","link","linkText","buttonClass","altLinkText","useWindowLocationHref","role","useShare","copiedToClipboard","setCopiedToClipboard","timer","clearTimeout","share","useCallback","async","title","navigator","canShare","error","console","message","clipboard","writeText","description","buttonText","requireLink","copiedToClipboardMessage","trackCategory","trackAction","trackName","textToDisplay","onClick","ExpandableButton","iconClass","textClass","open","controlsElementId","buttonId","attr","id","defaultProps","collapsibleContentInner","collapsibleContent","isExpanded","setIsExpanded","extendsContent","clientHeight","componentClass","buttonReadLessText","buttonReadMoreText","classes","hideCollapsibleText","heading","buttonChildren","Listitem","fullWidth","matomoTrackingClass","Url","itemChildren","items","modifiers","_createElement","tabIndex","TemporaryInformation","Comment","FromDate","ToDate","showComments","date","Date","toISOString","comments","Alert","ToggleContainer","subheading","animation","toggle","isLast","SemanticHeader","isH3","hasH3","isH4","hasH4","contactCardHeading","Card","Address","Location","openIndoorRouteDescriptionIfClosed","document","getElementById","querySelector","dataset","click","showRouteDescriptionLink","Boolean","latitude","longitude","IndoorRouteDescription","RoadDescription","DisplayName","replace","LogotypeUrl","src","alt","Fragment","e","preventDefault","scrollIt","roaddescription","Items","ContactCardPanel","Title","PublishFrom","published","Link","expandableList","EServices","ToggleMore","allVisibleItems","visible","toggleMore","Modal","List","child","Description","OpenModalButton","ExternalId","ariaLabel","moreinformationabout","clickCallback","activeBtn","_activeBtn$nextSiblin","content","nextSibling","getElementsByClassName","focus","setFocus","ModalPanel","whenActive","CloseModalButton","close","showless","showmore","data","label","Value","ValueLink","AccessibilityUrl","FindUs","isSmall","isSmallViewport","wrapperClasses","mapGrid","biggermaptravelplanner","StaticMapUrl","addressGrid","visitoraddress","County","county","Municipality","PostalAddress","postaladdress","WebsiteUrl","websiteurl","accessibilityurl","AccessibilityUrlText","hideroutedescription","showroutedescription","outdoorroutedescription","indoorroutedescription","_props$Offers","GeneralText","GeneralFiles","Linklist","Links","Offers","offer","Files","setVisible","list","visElements","querySelectorAll","visElementsArray","Array","prototype","slice","call","filter","el","getComputedStyle","display","lastItem","pop","string","shape","arrayOf","PropTypes","OwnerAndFinancing","OwnerType","ownertype","FinancingText","PriceLinks","AboutUsSection","PhotoUrl","PhotoAlt","PhotoAltText","FullWidth","SubSection","SubHeading","unit__section","subsection","Image","ImageUrl","Alt","match","setOpen","setAnimation","toggleHandler","itemId","setItemId","currentActiveId","currentActiveMenuItem","equalSectionIdsOnPageLoad","location","hash","Viewport","CurrentPageProps","IsEditMode","isLazyLoaded","setIsLazyLoaded","currentSrc","setCurrentSrc","paramOrQuery","indexOf","presetLowResUrl","imageUrl","isLazyLoad","handleOnLoad","img","currentTarget","LazyLoadImageUrl","COOKIE_NAME","isLoading","setIsLoading","cookieContext","useContext","CookieContext","cookieData","cookies","hideSensitiveImage","Cookies","IsSensitiveInContext","handleShowSensitiveImages","isAllowed","reload","showSensitiveImageIsLoading","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","SrcSets","srcSet","defaultPreset","DefaultPreset","FacetItem","_query$q","query","queryString","p","site","isSelected","Name","toString","q","makeItemArray","array","split","defaultChecked","value","onChange","FacetsRadioButton","names","forEach","history","search","qs","indices","checked","categoryname","handleChange","showCount","count","FacetsItems","Facets","pathname","facetCounts","_facetCounts$item$Id","Names","reduce","acc","cur","some","formatDate","year","month","day","options","toLocaleDateString","toUpperCase","FormatDateTime","dateTime","bool","node","prefix","isError","errorMessages","errorType","isFocus","setIsFocus","disabled","component","classNameModifiers","isValid","isTouched","rest","ErrorComponent","Error","Input","onFocus","removeFocus","Textarea","Select","getAriaDescribedBy","_error$props","onBlur","defaultValue","htmlFor","required","callIfFunction","charsLeft","setCharsLeft","maxLength","textarea","getCharsLeft","maxLengthTranslation","charsClasses","onKeyUp","maxIndex","highlightedIndex","setHighlightedIndex","isOpen","onItemSelect","onClose","getItemByIndex","selectionKeys","resetIndex","handleKeyDown","prevIndex","includes","setHref","Row","rowItem","_Fragment","Term","DescriptionItems","descItem","useColumnView","useClasses","withRouter","_props$CurrentPagePro","_props$CurrentPagePro2","_props$CurrentPagePro3","ImageDescription","ImageText","UniqueBlockId","ShowCaption","ShowPhotoCred","UseZoom","Sizes","sizes","btnClasses","imageblock","isMemberOfChapterContainer","isMemberOfChapter","sensetiveheading","SensitiveImageLoadingIcon","showsensetiveimages","ImageZoom","Photographer","Illustrator","photographer","illustrator","zoomImage","createRef","zoomTrigger","isZoomed","setIsZoomed","removeZoomClassName","getElementsByTagName","classList","remove","handleClick","context","allTabbableElements","firstTabbableElement","lastTabbableElement","event","keyCode","which","returnValue","target","shiftKey","keepFocus","add","zoomClass","stopPropagation","_props$Description","isBackgroundImage","ariaHidden","style","backgroundImage","attributes","includeTracking","onLoad","LazyLoadImage","withSrcSets","withLazyLoad","srLabel","selectedItem","setIsOpen","dropdownRef","useArrowNavigation","toggleDropdown","_dropdownRef$current","defaultOption","find","option","onKeyDown","KeywordMessage","Children","IsCurrentPage","ActivePath","secondLevel","Menu","firstLevel","menuItem","Item","Ancestor","FirstName","LastName","Workplace","City","SelectedRadio","PrintableItems","CheckedItems","SetPrintClicked","iframeRef","prepareContent","_printItems$map$join","_printItems","doc","contentDocument","contentWindow","printItems","styleContent","from","outerHTML","join","headerMainDiv","headerMainHTML","regionLabel","regionLabelHTML","updatedOuterHTML","write","elements","element","initializeIframe","backgroundColor","width","height","position","left","zIndex","handleLoad","print","isSidebarOpen","setSidebarOpen","checkedItems","setCheckedItems","selectedRadio","setSelectedRadio","printableItems","setPrintableItems","printableChildren","setPrintableChildren","printClicked","setPrintClicked","sidebarRef","sidebarToggleButtonRef","elementsRef","handleClickOutside","contains","mainElement","imgblockMediaSliderChildren","nodeName","figures","chapterContainerChildren","getAttribute","chapterChildren","links","linklist","offsetParent","hasAttribute","removedContainerChildren","handlePrintSelection","removeEventListener","handleRadioChange","mediaType","linkListContainer","chapterContainer","chapter","listOfImgElement","isMediaSlider","isLinkListContainer","isChapterContainer","isChapter","listOfElementblockchapter","listOfElementblock","listOfElement","prevItems","newItemsList","Set","filteredItems","_item$offsetParent","togglePrintSidebar","getPrintSelectionTitle","dataPrintSidebarTitleRegion","words","innerText","printsidebartitle","printsidebarclose","printsidebarselectiontitle","printsidebarselectionparts","selected","printsidebarselectionwholepage","printsidebarselectionwhatparts","stripHtml","printbuttonwholepage","printbuttonparts","PrintIframe","hideSearchHeading","TotalHits","ResultText","SuggestionText","ContentAfter","activeFilterFacet","showFilterResultText","translations","isVardpersonal1177","siteAdress","Query","decodeURIComponent","resultQueryText","filterResultText","withfilter","within","resultSiteText","on","withSearch","_props$searchTabs","_props$SearchResult","ignoreQueryPrefix","SearchResult","searchblock","searchToolsClasses","alertType","_props$Facets","_props$Facets$Items","facet","method","autoComplete","onSubmit","t","useExternalSearch","Placeholder","SearchField","searchUrl","placeholder","hasQuickSearch","hasNoAutocomplete","SearchApiAutoCompleteUrl","showSearchHitsHeadingSuffix","defaultQuickSearch","QuickSearchSettings","searchbutton","KeywordHints","IsSimpleFallbackSearch","alert","ResultDisclaimer","searchTabs","ExternalSearchContent","TabMenu","tabs","tab","_tab$SearchResult","_tab$SearchResult2","_tab$SearchResult3","SearchApiIndex","TabHeader","isActive","searchApiIndex","screenReaderText","getExternalSiteAdress","handleTabChange","showResponsiveDropdown","selectsearchsource","hasFilterBar","showFilterBarWithFacets","SearchHeading","vardpersonal1177","HideCategoryFacets","HideThemeFacets","category","theme","filterBarDefaultOpen","filtersearchhitsheading","EmptySearchResultText","DisableClickTracking","revisedAsPublished","isExternalSearchHit","isExternalSearch","regionalizeSearchHits","availableLanguagesHeader","AvailableLanguagesHeader","Pagination","Spinner","BatchText","MatomoTrackSearch","Search","SearchCategory","SearchHits","ExternalSearchHits","customClass","sectionClasses","ShareChannels","PrintsideBarEnabled","shareChannelClass","Channel","copylink","ShareURL","tipafriend","PrintSidebar","LinkContent","isMedium","isMediumViewport","CustomSelect","selectedOption","SplitColumns","columnClasses","numOfItems","blockName","pageName","getColumnClasses","teaserTheme","Theme","headerClasses","infoType","InformationType","teaserClasses","rowSplit","row","splitColumns","Media","teaserContainsImage","ShowVideoPlayIcon","Render","Block","blocks","propertyName","currentPageProps","setPreset","Vignette","use1177ProfessionDesign","showcontentas","toggleBrickView","showasbricks","showaslist","TeaserItemLinkList","contentClassNames","Dir","TitleTranslation","Lang","TeaserItemLink","horizontalDirection","teaserHeadingLink","ListChildren","masonryLayout","IsListOfChildren","listStyle","WrapperModifiers","BlockTypeName","Design","ArticleList","FeatureToggleSettings","Use1177ProfessionDesign","cypressValues","Property","Teaser","SectionModifiers","setToggleBrickView","ShowListView","showListViewToggler","UseListToggler","sectionHeader","Section","currentarticles","ListViewToggler","themeClass","AnchorSectionId","elementTop","scrollY","scrollTo","behavior","onToggle","caption","isStandingVideo","hideTitle","hideCaption","isGallery","galleryLink","allow","allowFullScreen","sandbox","_CurrentPageProps$Con","_CurrentPageProps$Con2","VideoTitle","VideoId","VideoText","IsMediaFlowPro","IsDreamBroker","IsQbrick","IsStandingVideo","InternalLinkName","videoUrl","videoblock","Iframe","videourl","test","separator","addTimeUpdateParam","IsInRange","handleLetterChange","letter","toLowerCase","isWithinTrac","setIsWithinTrac","isTrackBottom","setIsTrackBottom","nodeRef","getParentNode","_nodeRef$current","parentNode","isComponentWithinTrack","parentRect","comp","getFirstChild","_nodeRef$current2","firstChild","trackBottom","pageYOffset","alphabet","compare","activeLetter","Anchors","Key","matched","_props$list$","setActiveLetter","substring","Navigation","ImageProperties","ImageBlockLazyLoad","withSensitiveImage","ImageBlock","_props$RegionAddition","_props$RegionAddition2","StoryPageHeading","HideAnchorNavigation","HideAnchorLink","RegionAddition","ContentAbove","Blocks","ResponsiveImages","ContentString","ContentBelow","_props$regionalName","table","parent","wrapper","createElement","tableWrapper","wrapperInner","innerTableWrapper","tableClasses","insertBefore","appendChild","wrapTables","wideTable","offsetWidth","scrollWidth","fitInWidth","hasInlineImage","regionalName","noToggle","View","ToggleChapter","initialState","Radio","propTypes","Checkbox","canSubmit","_regionalContent$","regionalContent","translation","langLabel","block","_props$CurrentPagePro4","_props$CurrentPagePro5","_props$CurrentPagePro6","SelectedType","SelectedIcon","SelectedBackgroundColor","Buttons","RegionalContent","highlightblock","RegionalHighlightTextBlock","LinkButton","ButtonLink","ButtonText","ButtonStyling","eventCategory","eventAction","eventName","eventValue","debounceTime","timeoutRef","eventValueUnchanged","_window","_window$_paq","_paq","ImageBlockWithSrcSet","introClasses","ArticleHeader","showAuthor","marginBottom","Href","activeIndex","pageProps","counter","numberOfItems","ImageHeading","ImageLinks","isStanding","slideWidth","isArticlePage","isMobile","alwaysShowCurrentImage","ImageBlockWithSrcSets","forciblyShowCurrentCount","visibility","MediaGalleryContent","totalSlides","currentSlide","visibleRange","hasGroupedDots","calculateDotSize","distance","Math","abs","max","_","ShowPagination","totalItems","hasMedia","media","containsMedia","isThreeSlidesLayout","isFullWidthLayout","galleryIsScrollable","alwaysShowCurrentImageIndicator","scrollContainerRef","setActiveIndex","visiblePaginationRange","setVisiblePaginationRange","updatePaginationRange","newSlide","newStart","floor","maxVisiblePaginationDots","newEnd","min","scrollContainer","handleScroll","scrollLeft","containerWidth","clientWidth","itemWidth","newIndex","maxScrollLeft","round","scrollToIndex","scrollSnapType","nextSlide","prevSlide","useMatomoTrackEventOnChange","MediaGalleryPagination","MediaGalleryImage","IsStandingImage","ShowAuthor","MediaGalleryVideo","next","previous","quizInProgress","currentQuestionNr","nrOfQuestions","correctNrOfQuestions","finishedQuizText","friendlyLinkName","RadioButton","isValidated","inactive","questionText","answerAlternatives","image","onAnswer","blockId","selectedAnswer","correctFeedbackText","incorrectFeedbackText","correctAnswerLink","correctAnswerLinkText","friendlyCorrectLinkName","incorrectAnswerLink","incorrectAnswerLinkText","friendlyIncorrectLinkName","currentAnswerIndex","chapterContainerHasHeading","correctLinkText","incorrectLinkText","IsCorrect","answer","AnswerText","answerQuestion","_currentQuestion$Imag","introText","internalLinkName","questions","answerSpans","isCollectionPage","shareButton","answeredQuestions","setAnsweredQuestions","currentQuestionIndex","setCurrentQuestionIndex","setQuizInProgress","correctNumberOfQuestions","setCorrectNumberOfQuestions","setFinishedQuizText","hideQuizBlock","setHideQuizBlock","quizResultsRef","currentQuestion","nextPaginationButtonActive","Object","keys","handleQuestionAnswer","questionId","scrollToTop","headingTop","_answerSpans$sort","correctAnswersCount","values","answerSpan","sort","a","b","Max","updateQuizResultHeight","currentContentHeight","scrollHeight","maxHeight","InfoBox","QuizQuestion","QuestionText","AnswerAlternatives","BlockId","CorrectFeedbackText","IncorrectFeedbackText","CorrectAnswerLink","CorrectAnswerLinkText","FriendlyCorrectLinkName","IncorrectAnswerLink","IncorrectAnswerLinkText","FriendlyIncorrectLinkName","_question$Image","ShareButton","ShareDescription","ShareButtonText","ShareButtonLink","ShareTitle","handlePrev","handleNext","EntryFormSearchField","handleBlur","initialValue","setValue","action","SearchUrl","DefaultFacet","SearchPlaceholder","TypeExists","default","handleToggle","Tabs","currentTab","tabQ","tabsClasses","state","require","DescriptionListItem","number","_props$List","ShowNumber","PI","renderTimeListItem","baseClassName","days","hours","TimeList","renderEmptyFallback","classnames","object","isRequired"],"sourceRoot":""}