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AMkM,cAAcC,MAAM,EA6B/DF,IACV,C","sources":["pages/error/404.js","blocks/image-block.js","platformui/Section/index.js","platformui/ImageBlock/index.js","platformui/Image/index.js","platformui/Containers/withLazyLoad.js","pages/error/index.js","blocks/link-list-block.js","platformui/Base/Sensors/viewport.js","platformui/ImageZoom/index.js","platformui/ListContainer/section-wrapper.js","platformui/Containers/withSrcSets.js"],"sourcesContent":["import React from 'react';\r\nimport * as Render from '../../platformui/Base/Render';\r\nimport ImageBlock from '../../blocks/image-block';\r\nimport LinkBlock from '../../blocks/link-list-block';\r\nimport classNames from 'classnames';\r\n\r\nconst LinkCollectionBlock = (props) => (\r\n \r\n);\r\n\r\nconst Blocks = {\r\n ImageBlock,\r\n LinkCollectionBlock,\r\n};\r\n\r\nconst className = classNames([\r\n 'c-section',\r\n 'c-section--last',\r\n 'error404',\r\n 'iu-text-center',\r\n 'iu-mx-auto',\r\n 'iu-mt-lg',\r\n]);\r\n\r\nconst ErrorPage404 = (props) => {\r\n return (\r\n
\r\n {(props.Content.Heading || props.Content.Preamble) && (\r\n
\r\n
\r\n
\r\n

\r\n {Render.Property(props.Content.Heading, 'Heading')}\r\n

\r\n
\r\n {Render.PropertyAsHTML(props.Content.Preamble, '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\n\r\nexport default ErrorPage404;\r\n","import React from 'react';\r\nimport ImageBlock from '../platformui/ImageBlock';\r\nimport * as Render from '../platformui/Base/Render';\r\nimport withSrcSets from '../platformui/Containers/withSrcSets';\r\nimport withLazyLoad from '../platformui/Containers/withLazyLoad';\r\n\r\nconst ImageBlockWithSrcSets = withLazyLoad(withSrcSets(ImageBlock));\r\nexport default (props) => (\r\n \r\n);\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","//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 classNames from 'classnames';\r\nimport T from 'prop-types';\r\nimport React from 'react';\r\nimport withLazyLoad from '../Containers/withLazyLoad';\r\nimport withSrcSets from '../Containers/withSrcSets';\r\n\r\nconst Image = (props) => {\r\n const classes = classNames({\r\n 'c-image': true,\r\n 'c-image--is-lazyloaded': props.isLazyLoaded || !props.isLazyLoad,\r\n 'c-image--is-background-image': props.isBackgroundImage,\r\n [props.className]: true && props.className,\r\n });\r\n\r\n const src = props.isLazyLoad ? props.LazyLoadImageUrl : props.ImageUrl;\r\n\r\n let alt = props.Description ?? props.ImageDescription;\r\n if (props.Alt !== undefined) alt = props.Alt;\r\n //If IMG is decorative alt text should be empty.\r\n if (props.isBackgroundImage || props.ariaHidden) alt = '';\r\n\r\n const style =\r\n props.isBackgroundImage && props.currentSrc\r\n ? {\r\n style: {\r\n backgroundImage: `url(\"${props.currentSrc}\")`,\r\n },\r\n }\r\n : null;\r\n\r\n const sizes = props.SrcSets && props.SrcSets.srcSet ? props.Sizes : null;\r\n\r\n const attributes = props.isBackgroundImage ? { role: 'presentation' } : {};\r\n\r\n return (\r\n
\r\n {(!props.isBackgroundImage || props.isViewed || !props.isLazyLoad) && (\r\n \r\n )}\r\n {props.isLazyLoad && (\r\n `,\r\n }}\r\n />\r\n )}\r\n
\r\n );\r\n};\r\n\r\nImage.propTypes = {\r\n className: T.string,\r\n currentSrc: T.string,\r\n Alt: T.string,\r\n isViewed: T.bool,\r\n isBackgroundImage: T.bool,\r\n isLazyLoad: T.bool,\r\n ariaHidden: T.bool,\r\n LazyLoadImageUrl: T.string,\r\n ImageUrl: T.string,\r\n SrcSets: T.shape({ srcSet: T.any }),\r\n Sizes: T.object,\r\n};\r\n\r\nexport const LazyLoadImage = withSrcSets(withLazyLoad(Image));\r\n\r\nexport default Image;\r\n","import React, { 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 ErrorPage from './404';\r\n\r\nexport default ErrorPage;\r\n","import React from 'react';\r\nimport Linklist from '../platformui/Linklist';\r\nimport SectionWrapper from '../platformui/ListContainer/section-wrapper';\r\nimport * as Render from '../platformui/Base/Render';\r\n\r\nexport default (props) => {\r\n switch (props.CurrentPageProps.PageTypeName) {\r\n case 'CollectionPage':\r\n return (\r\n \r\n \r\n \r\n );\r\n\r\n default:\r\n return (\r\n \r\n );\r\n }\r\n};\r\n","import React, { useRef, useState, useEffect } from 'react';\r\n\r\nconst Container = (WrappedComponent, offsetTop) => {\r\n const handles = [];\r\n const printHandler = [];\r\n let ticking = false;\r\n const throttleScroll = () => {\r\n ticking =\r\n ticking ||\r\n requestAnimationFrame(() => {\r\n ticking = false;\r\n handles.map((handle) => handle());\r\n });\r\n };\r\n\r\n if (typeof window !== 'undefined') {\r\n window.addEventListener('scroll', throttleScroll, false);\r\n\r\n window.addEventListener('resize', throttleScroll, false);\r\n\r\n const mediaQueryList = window.matchMedia('print');\r\n mediaQueryList.addListener((mql) => {\r\n if (mql.matches) {\r\n printHandler.map((handle) => handle());\r\n }\r\n });\r\n }\r\n return (props) => {\r\n const viewport = useRef();\r\n const [isInViewPort, setIsInViewPort] = useState(false);\r\n const [isViewed, setIsViewed] = useState(false);\r\n const [isBrowserTop, setIsBrowserTop] = useState(false);\r\n const [isBottomBrowserTop, setIsBottomBrowserTop] = useState(null);\r\n const [isInRange, setIsInRange] = useState(false);\r\n\r\n const getBoundingClientRect = () => {\r\n return viewport.current.getBoundingClientRect();\r\n };\r\n\r\n const isComponentInViewPort = () => {\r\n requestAnimationFrame(() => {\r\n if (!viewport.current) return;\r\n\r\n const rect = getBoundingClientRect();\r\n const offset = offsetTop ? offsetTop : 0;\r\n\r\n if (rect.top - (window.innerHeight + offset) <= 0) {\r\n if (!isInViewPort) {\r\n setIsInViewPort(true);\r\n setIsViewed(true);\r\n }\r\n } else {\r\n isInViewPort && setIsInViewPort(false);\r\n }\r\n });\r\n };\r\n\r\n const isComponentBrowserTop = () => {\r\n if (!viewport.current) return;\r\n\r\n const rect = getBoundingClientRect();\r\n if (rect.top < 1) {\r\n !isBrowserTop && setIsBrowserTop(true);\r\n } else {\r\n isBrowserTop && setIsBrowserTop(false);\r\n }\r\n };\r\n\r\n const isComponentBottomBrowserTop = () => {\r\n if (!viewport.current) return;\r\n\r\n const rect = getBoundingClientRect();\r\n if (rect.bottom > 0) {\r\n isBottomBrowserTop === false && setIsBottomBrowserTop(true);\r\n } else {\r\n isBottomBrowserTop !== false && setIsBottomBrowserTop(false);\r\n }\r\n };\r\n\r\n const isComponentWithinRange = () => {\r\n if (!viewport.current) return;\r\n\r\n const rect = getBoundingClientRect();\r\n if (rect.top < 1 && rect.bottom > 0) {\r\n !isInRange && setIsInRange(true);\r\n } else {\r\n isInRange && setIsInRange(false);\r\n }\r\n };\r\n\r\n const isPrinting = () => {\r\n setIsInViewPort(true);\r\n setIsViewed(true);\r\n };\r\n\r\n useEffect(() => {\r\n isComponentInViewPort();\r\n setTimeout(() => {\r\n isComponentInViewPort();\r\n }, 200);\r\n\r\n handles.push(isComponentInViewPort);\r\n handles.push(isComponentBrowserTop);\r\n handles.push(isComponentBottomBrowserTop);\r\n handles.push(isComponentWithinRange);\r\n printHandler.push(isPrinting);\r\n }, [isInRange]);\r\n\r\n return (\r\n
\r\n \r\n
\r\n );\r\n };\r\n};\r\n\r\nexport default Container;\r\n","import React, { 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 React from 'react';\r\nimport Section from '../Section';\r\n\r\nconst SectionWrapper = (props) => {\r\n return (\r\n
\r\n
\r\n
{props.children}
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default SectionWrapper;\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"],"names":["Blocks","ImageBlock","LinkCollectionBlock","props","_jsx","LinkBlock","className","classNames","id","children","Content","Heading","Preamble","_jsxs","Render","blocks","MainContent","propertyName","currentPageProps","ImageBlockWithSrcSets","withLazyLoad","withSrcSets","ImageText","classes","customClass","Modifiers","sectionClasses","withRouter","_ref","_props$CurrentPagePro","_props$CurrentPagePro2","_props$CurrentPagePro3","ImageUrl","ImageDescription","UniqueBlockId","ShowCaption","ShowPhotoCred","UseZoom","Translations","Sizes","sizes","hideSensitiveImage","btnClasses","showSensitiveImageIsLoading","location","search","includes","Error","dataPrintSidebarTitle","CurrentPageProps","imageblock","isMemberOfChapterContainer","isMemberOfChapter","sensetiveheading","onClick","handleShowSensitiveImages","type","SensitiveImageLoadingIcon","showsensetiveimages","ImageZoom","Description","Image","Alt","Photographer","Illustrator","photographer","illustrator","_props$Description","isLazyLoaded","isLazyLoad","isBackgroundImage","src","LazyLoadImageUrl","alt","undefined","ariaHidden","style","currentSrc","backgroundImage","SrcSets","srcSet","attributes","role","isViewed","includeTracking","onLoad","handleOnLoad","dangerouslySetInnerHTML","__html","LazyLoadImage","WrappedComponent","Viewport","IsEditMode","setIsLazyLoaded","useState","setCurrentSrc","paramOrQuery","indexOf","presetLowResUrl","imageUrl","e","img","currentTarget","PageTypeName","SectionWrapper","Linklist","Container","offsetTop","handles","printHandler","ticking","throttleScroll","requestAnimationFrame","map","handle","window","addEventListener","matchMedia","addListener","mql","matches","viewport","useRef","isInViewPort","setIsInViewPort","setIsViewed","isBrowserTop","setIsBrowserTop","isBottomBrowserTop","setIsBottomBrowserTop","isInRange","setIsInRange","getBoundingClientRect","current","isComponentInViewPort","rect","offset","top","innerHeight","isComponentBrowserTop","isComponentBottomBrowserTop","bottom","isComponentWithinRange","isPrinting","useEffect","setTimeout","push","ref","zoomImage","createRef","zoomTrigger","isZoomed","setIsZoomed","removeZoomClassName","document","getElementsByTagName","classList","remove","handleClick","preventDefault","context","allTabbableElements","querySelectorAll","firstTabbableElement","lastTabbableElement","length","event","keyCode","which","returnValue","target","shiftKey","focus","keepFocus","add","zoomClass","href","stopPropagation","tabIndex","Section","PRESET_300","PRESET_400","PRESET_500","PRESET_600","PRESET_700","PRESET_800","PRESET_1000","PRESET_1200","PRESET_1500","PRESET_1800","PRESET_2000","PRESET_2200","PRESET_2500","imgIsTouched","srcSets","isSrcSets","defaultPreset","DefaultPreset","name"],"sourceRoot":""}