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,EACd,CACF,C,wBChCA,IAuBIG,EAvBc,EAAQ,MAuBdC,CAAY,SAExBpB,EAAOC,QAAUkB,C,wBCzBjB,IAAIE,EAAU,EAAQ,OAClBC,EAAW,EAAQ,OAsBvBtB,EAAOC,QANP,SAAa7F,GACX,OAAQA,GAASA,EAAMpU,OACnBqb,EAAQjH,EAAOkH,GACf,CACN,C,wBCrBA,IAAIC,EAAW,EAAQ,OAwBvBvB,EAAOC,QAJP,SAAc7F,GACZ,OAAQA,GAASA,EAAMpU,OAAUub,EAASnH,GAAS,EACrD,C,mCCrBA,KAAgB,iBAAiB,uBAAuB,mBAAmB,uBAAuB,qBAAqB,uBAAuB,oBAAoB,uBAAuB,eAAe,uBAAuB,yBAAyB,uBAAuB,mBAAmB,uBAAuB,iBAAiB,uBAAuB,kBAAkB,uBAAuB,uCAAuC,uBAAuB,iBAAiB,uBAAuB,uCAAuC,uBAAuB,sCAAsC,uBAAuB,uCAAuC,uBAAuB,uCAAuC,uBAAuB,sCAAsC,uBAAuB,iBAAiB,uBAAuB,uCAAuC,uBAAuB,kBAAkB,uBAAuB,mBAAmB,uBAAuB,oBAAoB,uB","sources":["webpack://Kristiania.Web/./Features/Blocks/AlertSectionBlock/AlertSectionVariant.csharp.ts","webpack://Kristiania.Web/./Features/Partials/Header/Settings/KristianiaLogoVariant.csharp.ts","webpack://Kristiania.Web/./Features/Configuration/GlobalContextProvider.ts","webpack://Kristiania.Web/./Features/Configuration/Utils/languageUtils.ts","webpack://Kristiania.Web/./Features/ExecutionContext.ts","webpack://Kristiania.Web/./Features/Configuration/Utils/pageContextProvider.ts","webpack://Kristiania.Web/./Features/Layouts/Theme/Context/ThemeContextProvider.tsx","webpack://Kristiania.Web/./Features/Layouts/Theme/Utils/pageThemeProvider.ts","webpack://Kristiania.Web/./Features/Layouts/Theme/Hooks/usePageTheme.ts","webpack://Kristiania.Web/./Features/Messaging/MessageBroker.ts","webpack://Kristiania.Web/./Features/Messaging/types.ts","webpack://Kristiania.Web/./Features/Partials/AccordionComponent/AccordionItem.module.css?ed1d","webpack://Kristiania.Web/./Features/Partials/AccordionComponent/Components/AccordionExpander.module.css?8ad8","webpack://Kristiania.Web/./Features/Partials/AccordionComponent/Components/AccordionExpander.tsx","webpack://Kristiania.Web/./Features/Partials/AccordionComponent/AccordionItem.tsx","webpack://Kristiania.Web/./Features/Partials/AccordionComponent/Hooks/useAccordionContentRenderer.tsx","webpack://Kristiania.Web/./Features/Partials/AlertSection/AlertSection.module.css?50a7","webpack://Kristiania.Web/./Features/Partials/AlertSection/AlertSection.tsx","webpack://Kristiania.Web/./Features/Partials/BookmarkTabs/BookmarkTabs.module.css?5fde","webpack://Kristiania.Web/./Features/Partials/BookmarkTabs/BookmarkTabs.tsx","webpack://Kristiania.Web/./Features/Partials/BookmarkContainer/BookmarkContainer.module.css?a30f","webpack://Kristiania.Web/./Features/Partials/BookmarkContainer/BookmarkContainer.tsx","webpack://Kristiania.Web/./Features/Partials/Button/Button.tsx","webpack://Kristiania.Web/./Features/Partials/Button/ButtonSize.csharp.ts","webpack://Kristiania.Web/./Features/Partials/Button/ButtonTier.csharp.ts","webpack://Kristiania.Web/./Features/Partials/Button/ButtonType.csharp.ts","webpack://Kristiania.Web/./Features/Partials/Checkbox/CheckboxVariant.csharp.ts","webpack://Kristiania.Web/./Features/Partials/Collapse/useCollapse.ts","webpack://Kristiania.Web/./Features/Partials/Collapse/Collapse.tsx","webpack://Kristiania.Web/./Features/Partials/ComboSelector/ComboSelector.module.css?7cac","webpack://Kristiania.Web/./Features/Partials/ComboSelector/Components/ComboSelectorButtonGroup/ComboSelectorButtonGroup.tsx","webpack://Kristiania.Web/./Features/Partials/ComboSelector/Components/ComboSelectorButtonGroup/ComboSelectorButtonGroup.module.css?6338","webpack://Kristiania.Web/./Features/Partials/Select/Select.module.css?2683","webpack://Kristiania.Web/./Features/Partials/Select/Select.tsx","webpack://Kristiania.Web/./Features/Partials/ComboSelector/Components/ComboSelectorDropdown/ComboSelectorDropdown.tsx","webpack://Kristiania.Web/./Features/Partials/ComboSelector/Components/ComboSelectorDropdown/ComboSelectorDropdown.module.css?e1f8","webpack://Kristiania.Web/./Features/Partials/ComboSelector/Components/ComboSelectorRadioGroup/ComboSelectorRadioGroup.tsx","webpack://Kristiania.Web/./Features/Partials/ComboSelector/Components/ComboSelectorRadioGroup/ComboSelectorRadioGroup.module.css?e3fe","webpack://Kristiania.Web/./Features/Partials/ComboSelector/ComboSelector.tsx","webpack://Kristiania.Web/./Features/Partials/Controls/HtmlDiv.tsx","webpack://Kristiania.Web/./Features/Partials/FetchData/axiosWrapper.ts","webpack://Kristiania.Web/./Features/Partials/Link/Link.module.css?85a8","webpack://Kristiania.Web/./Features/Partials/Link/Link.tsx","webpack://Kristiania.Web/./Features/Partials/Link/LinkType.csharp.ts","webpack://Kristiania.Web/./Features/Partials/Link/LinkVariant.csharp.ts","webpack://Kristiania.Web/./Features/Partials/List/List.tsx","webpack://Kristiania.Web/./Features/Localization/Language.csharp.ts","webpack://Kristiania.Web/./Features/Partials/Locale/Locale.ts","webpack://Kristiania.Web/./Features/Partials/Modal/ClientSidePortal.tsx","webpack://Kristiania.Web/./Features/Partials/Modal/Portal.tsx","webpack://Kristiania.Web/./Features/Partials/ModalWrapper/ModalWrapper.tsx","webpack://Kristiania.Web/./Features/Utils/Hooks/useCloseHandlersWithoutDuplicatedCalls.ts","webpack://Kristiania.Web/./Features/Partials/PillTag/PillTag.module.css?bb60","webpack://Kristiania.Web/./Features/Partials/PillTag/PillTag.tsx","webpack://Kristiania.Web/./Features/Partials/RadioGroup/Radio/Radio.module.css?5be0","webpack://Kristiania.Web/./Features/Partials/RadioGroup/Radio/Radio.tsx","webpack://Kristiania.Web/./Features/Partials/RadioGroup/RadioGroup.tsx","webpack://Kristiania.Web/./Features/Partials/RadioGroup/RadioGroup.module.css?e79e","webpack://Kristiania.Web/./Features/Partials/RadioGroup/RadioGroupContext.tsx","webpack://Kristiania.Web/./Features/Partials/SvgIcon/SvgIcon.tsx","webpack://Kristiania.Web/./Features/Partials/SvgIcon/SvgIconBase.tsx","webpack://Kristiania.Web/./Features/Partials/SvgIcon/Utils/Utils.ts","webpack://Kristiania.Web/./Features/Partials/TabList/Tab.tsx","webpack://Kristiania.Web/./Features/Partials/TabList/TabList.tsx","webpack://Kristiania.Web/./Features/Partials/Tabs/TabPanel.tsx","webpack://Kristiania.Web/./Features/Partials/Tabs/tabUtils.ts","webpack://Kristiania.Web/./Features/Partials/Utils/typeUtils.ts","webpack://Kristiania.Web/./Features/Partials/Utils/utils.ts","webpack://Kristiania.Web/./Features/Txt/TxtBase.tsx","webpack://Kristiania.Web/./Features/Utils/AnimationsUtils.ts","webpack://Kristiania.Web/./Features/Utils/Hooks/useHistoryState.ts","webpack://Kristiania.Web/./Features/Utils/Hooks/useIsMounted.ts","webpack://Kristiania.Web/./Features/Utils/Hooks/useVariableWithStableRef.ts","webpack://Kristiania.Web/./Features/Utils/Hooks/useWindowWidthDetection.ts","webpack://Kristiania.Web/./Features/Utils/MediaBreakpoints.ts","webpack://Kristiania.Web/./Features/Utils/ScrollLock/ScrollLock.tsx","webpack://Kristiania.Web/./Features/Utils/ScrollLock/ScrollLock.module.css?3254","webpack://Kristiania.Web/./Features/Utils/ScrollLock/ScrollLockUpdated.ts","webpack://Kristiania.Web/./Features/Utils/Theme.ts","webpack://Kristiania.Web/./node_modules/lodash/_baseExtremum.js","webpack://Kristiania.Web/./node_modules/lodash/_baseGt.js","webpack://Kristiania.Web/./node_modules/lodash/_createRound.js","webpack://Kristiania.Web/./node_modules/lodash/round.js","webpack://Kristiania.Web/./node_modules/lodash/sum.js","webpack://Kristiania.Web/./node_modules/lodash/uniq.js","webpack://Kristiania.Web/./Features/Partials/Button/Button.module.css?462a"],"sourcesContent":["// This code was generated by a Reinforced.Typings tool.\n// Changes to this file may cause incorrect behavior and will be lost if\n// the code is regenerated.\n\nexport enum AlertSectionVariant {\n\tWarning = \"warning\",\n\tError = \"error\",\n\tInfo = \"info\",\n\tSuccess = \"success\"\n}\n","// This code was generated by a Reinforced.Typings tool.\n// Changes to this file may cause incorrect behavior and will be lost if\n// the code is regenerated.\n\nexport enum KristianiaLogoVariant {\n\tDefault = \"default\",\n\tPride = \"pride\",\n\tAnimated = \"animated\"\n}\n","import type { GlobalContext } from '~/Features/Configuration/GlobalContext.csharp';\nimport { CheckboxVariant } from '~/Partials/Checkbox/CheckboxVariant.csharp';\nimport { KristianiaLogoVariant } from '~/Partials/Header/Settings/KristianiaLogoVariant.csharp';\nimport { mapToLanguageCode } from '~/Partials/Locale/Locale';\n\nexport class GlobalContextProvider {\n private static getProperty(selector: (configuration: GlobalContext) => TType): TType | undefined {\n // GLOBAL_CONTEXT can be null when rendering single property inside inline edit view in Episerver.\n // But we don't have to pay too much attention to it because page re-renders within page content afterward.\n if (typeof GLOBAL_CONTEXT === 'undefined' || GLOBAL_CONTEXT === null) {\n return undefined;\n }\n\n return selector(GLOBAL_CONTEXT);\n }\n\n static getLogoSettings() {\n return (\n GlobalContextProvider.getProperty(config => config.logoSettings) ?? {\n headerVariant: KristianiaLogoVariant.Default,\n defaultAltText: 'Kristiania logo',\n }\n );\n }\n\n static getFrontendSettings() {\n return (\n GlobalContextProvider.getProperty(config => config.frontendSettings) ?? {\n checkboxVariant: CheckboxVariant.Default,\n }\n );\n }\n\n static getContentLanguage() {\n return mapToLanguageCode(GlobalContextProvider.getProperty(config => config.contentLanguage) ?? 'no');\n }\n\n static getMyPageGlobalConfiguration() {\n return GlobalContextProvider.getProperty(config => config.myPageGlobalConfiguration);\n }\n\n static isSpaPage() {\n return !!GlobalContextProvider.getMyPageGlobalConfiguration();\n }\n\n static isModernPage() {\n return !!GlobalContextProvider.getProperty(config => config.isModernPage);\n }\n}\n","import { GlobalContextProvider } from '~/Features/Configuration/GlobalContextProvider';\nimport { mapToLocale } from '~/Partials/Locale/Locale';\n\nexport const getContentLanguage = () => GlobalContextProvider.getContentLanguage();\n\nexport const getContentLocale = () => mapToLocale(getContentLanguage());\n","class ExecutionContext {\n public static IsServerSide(): boolean {\n // Episerver Spa Core defines window shim on server side but does not assign `window` property to itself\n return typeof window === 'undefined' || typeof window.window === 'undefined';\n }\n\n public static ThrowIfServerSide(): void {\n if (ExecutionContext.IsServerSide()) {\n throw new Error(\"Method shouldn't be used in server side\");\n }\n }\n}\n\nexport default ExecutionContext;\n","import { GlobalContextProvider } from '../GlobalContextProvider';\nimport type { PageContext } from './PageContext';\n\nexport const getPageContext = (): PageContext | undefined => {\n if (GlobalContextProvider.isSpaPage()) {\n return 'spa';\n }\n\n if (GlobalContextProvider.isModernPage()) {\n return 'modernPage';\n }\n\n return 'public';\n};\n","import * as React from 'react';\nimport { usePageTheme } from '../Hooks/usePageTheme';\nimport type { Theme } from '~/Utils/Theme';\n\nconst ThemeContext = React.createContext(null);\n\nexport interface ThemeContextProviderProps {\n theme: Theme;\n}\n\nexport const ThemeContextProvider: React.FC> = props => {\n const { theme, children } = props;\n\n return {children};\n};\n\nexport const useTheme = () => {\n const context = React.useContext(ThemeContext);\n const pageTheme = usePageTheme();\n\n if (!context) {\n // Fallback to page-level theme as we don't have a top level component that we can use to wrap the entire tree\n return pageTheme;\n }\n\n return context;\n};\n","import type { PageContext } from '~/Features/Configuration/Utils/PageContext';\nimport { themeDefaultValues, themeModernValues } from '~/Utils/Theme';\n\nexport const getPageTheme = (context?: PageContext) => {\n switch (context) {\n case 'spa':\n case 'modernPage':\n return themeModernValues;\n default:\n return themeDefaultValues;\n }\n};\n","import { getPageTheme } from '../Utils/pageThemeProvider';\nimport { getPageContext } from '~/Features/Configuration/Utils/pageContextProvider';\n\nexport const usePageTheme = () => getPageTheme(getPageContext());\n","import type { Message, MessageHandler } from '~/Features/Messaging/types';\n\nexport class MessageBroker {\n private static MessageHandlersByMessageId: { [id: string]: MessageHandler[] } = {};\n\n public static subscribe(handler: MessageHandler, messageId: string): void {\n const handlers = this.MessageHandlersByMessageId[messageId];\n\n if (handlers) {\n handlers.push(handler);\n } else {\n this.MessageHandlersByMessageId[messageId] = [handler];\n }\n }\n\n public static unsubscribe(handler: MessageHandler, messageId: string): void {\n const handlers = this.MessageHandlersByMessageId[messageId];\n\n if (handlers) {\n this.MessageHandlersByMessageId[messageId] = handlers.filter(h => h !== handler);\n }\n }\n\n public static publish(message: Message): void {\n const handlers = this.GetMessageHandlers(message.id);\n\n handlers.forEach(handler => handler.handle(message));\n }\n\n public static schedulePublish(message: Message, delay: number): void {\n setTimeout(() => MessageBroker.publish(message), delay);\n }\n\n private static GetMessageHandlers(messageId: string): MessageHandler[] {\n return this.MessageHandlersByMessageId[messageId] || [];\n }\n}\n","export abstract class Message {\n protected constructor(public readonly id: string) {}\n}\n\nexport abstract class Event extends Message {}\n\nexport interface MessageHandler {\n handle(message: Message): void;\n}\n\nexport interface EventHandler {\n handle: ((event: TEvent) => void) | (() => void);\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"Content\":\"ZgXVgEgkOVHpOr6mpnZu\",\"ContentInner\":\"pxYchGNIM3U95N_8sY2T\",\"Variant--solid\":\"zsrYitxhmI4Rdxl8AcId\",\"Variant--dark\":\"islhpR1mAUILJUWXwzyQ\",\"Variant--light\":\"jKXXdVBjCJtZSjGaH5W6\",\"Variant--white\":\"te60PfIJAvlwZ2RBbGqe\",\"Variant--darkGrey\":\"TexQCEpa1Pxt8vxuAnSg\",\"Variant--grey\":\"IwFUcB57MlFBnob9VBaL\",\"Variant--hidden\":\"o80VkuFKdpLspcd2K6XW\",\"Variant--outline\":\"Olc6nSAggSyJcD4ibmtm\",\"Variant--none\":\"C5aub0yOxUDkiCFlS8yJ\",\"Variant--fullWidth\":\"xDVLidDZzMTkaeSrHdsG\",\"Variant--withBoxShadow\":\"xHFDbzdAVfTKh2HoSe66\",\"Variant--rounded\":\"sV6oYIkpAq8t5nvh8d6L\"};","// extracted by mini-css-extract-plugin\nexport default {\"AccordionExpander\":\"GNG_gRf6Dl3NsaHoWAUO\",\"ButtonContent\":\"YSRmfctHOQ5noBfQfMH5\",\"Content\":\"DnD1xRazitrvmLCwsQvo\",\"Icon\":\"MFUfNtxb_KMTBmiHESl8\",\"Variant--solid\":\"OyyOerhMVj5mV5WQNX5V\",\"Variant--light\":\"upGiZW1ExBMMWpFJfoEk\",\"Variant--outline\":\"tp0nNQ3GB8nINm8Qt10r\",\"Variant--dark\":\"KOz68aX_1HLGwsoctqxH\",\"Variant--grey\":\"NcVBerSqctjTNIFktrBz\",\"Variant--hidden\":\"UM1jfJqOS1COdaoBDFKC\",\"Variant--white\":\"xZxJs8W876NY1tCMuMwq\",\"Variant--rounded\":\"rKI7GwQpi4Grhjcbx6c7\"};","import classNames from 'classnames';\nimport * as React from 'react';\nimport type { AccordionIcon } from '../Types/AccordionIcon';\nimport type { AccordionColor } from '~/Partials/AccordionComponent/Types/AccordionColor';\nimport type { AccordionVariant } from '~/Partials/AccordionComponent/Types/AccordionItemVariant';\nimport type { ButtonProps } from '~/Partials/Button/Button';\nimport { Button } from '~/Partials/Button/Button';\nimport { ButtonType } from '~/Partials/Button/ButtonType.csharp';\nimport { SvgIcon } from '~/Partials/SvgIcon/SvgIcon';\nimport { assertNever } from '~/Partials/Utils/typeUtils';\nimport styles from './AccordionExpander.module.css';\n\nexport interface BaseAccordionExpanderProps\n extends Required> {\n expanded: boolean;\n variant?: AccordionVariant;\n color?: AccordionColor;\n className?: string;\n}\n\nexport interface AccordionExpanderProps extends BaseAccordionExpanderProps {\n iconType?: AccordionIcon;\n}\n\nexport const AccordionExpander: React.FC> = props => {\n const {\n children,\n expanded,\n iconType = 'default',\n variant = 'solid',\n color = 'grey',\n className,\n ...otherProps\n } = props;\n\n const resolveIcon = () => {\n switch (iconType) {\n case 'chevron':\n return expanded ? 'chevron-up' : 'chevron-down';\n case 'default':\n return expanded ? 'minus' : 'plus';\n default:\n assertNever(iconType);\n }\n };\n\n return (\n \n
\n
{children}
\n \n
\n \n );\n};\n","import classNames from 'classnames';\nimport uniqueId from 'lodash/uniqueId';\nimport * as React from 'react';\nimport type { ReactNode } from 'react';\nimport { assertNever } from '../Utils/typeUtils';\nimport { Collapse } from '~/Partials/Collapse/Collapse';\nimport type { Theme } from '~/Utils/Theme';\nimport { themeDefaultValues } from '~/Utils/Theme';\nimport styles from './AccordionItem.module.css';\nimport { AccordionExpander } from './Components/AccordionExpander';\nimport type { AccordionExpanderProps, BaseAccordionExpanderProps } from './Components/AccordionExpander';\nimport { useAccordionContentRenderer } from './Hooks/useAccordionContentRenderer';\nimport type { AccordionIcon } from './Types/AccordionIcon';\nimport type { AccordionSpacing } from './Types/AccordionSpacing';\n\ninterface BaseAccordionItemProps extends Pick {\n children: ReactNode;\n index?: string;\n initialExpanded?: boolean;\n isExpandable?: boolean;\n theme?: Theme;\n contentSpacing?: AccordionSpacing;\n externallyExpanded?: boolean;\n lazyRender?: boolean;\n className?: string;\n contentClassName?: string;\n}\n\nexport interface DefaultAccordionItemProps extends BaseAccordionItemProps {\n headerContent: ReactNode;\n expanderClassName?: string;\n iconType?: AccordionIcon;\n type?: 'default';\n}\n\nexport interface CustomAccordionItemProps extends BaseAccordionItemProps {\n renderCustomExpander: (expanderProps: BaseAccordionExpanderProps) => ReactNode;\n type: 'custom';\n}\n\nexport type AccordionItemProps = DefaultAccordionItemProps | CustomAccordionItemProps;\n\nexport const AccordionItem: React.FC> = props => {\n const {\n children,\n index,\n className,\n contentClassName,\n externallyExpanded,\n type,\n contentSpacing,\n lazyRender = false,\n initialExpanded = false,\n isExpandable = true,\n variant = 'solid',\n color = 'grey',\n theme = themeDefaultValues,\n } = props;\n const { withRoundedCorners, withBoxShadow } = theme;\n\n const [expanded, setExpanded] = React.useState(initialExpanded);\n const accordionId = index || uniqueId('AccordionItem__');\n\n React.useEffect(() => {\n externallyExpanded && setExpanded(true);\n }, [externallyExpanded]);\n\n const { content, onToggleClick, onCollapsed } = useAccordionContentRenderer(children, lazyRender, expanded);\n\n const onHeaderClicked = () => {\n onToggleClick();\n setExpanded(!expanded);\n };\n\n const renderExpander = () => {\n const baseExpanderProps: BaseAccordionExpanderProps = {\n onClick: onHeaderClicked,\n 'aria-expanded': expanded,\n 'aria-controls': accordionId,\n expanded,\n disabled: !isExpandable,\n color,\n variant,\n };\n\n switch (type) {\n case 'default':\n case undefined:\n const { iconType, headerContent, expanderClassName } = props;\n\n return (\n \n {headerContent}\n \n );\n case 'custom':\n const { renderCustomExpander } = props;\n\n return renderCustomExpander(baseExpanderProps);\n default:\n assertNever(props);\n }\n };\n\n return (\n \n {renderExpander()}\n \n
\n {content}\n
\n
\n \n );\n};\n","import * as React from 'react';\nimport type { ReactNode } from 'react';\n\nexport const useAccordionContentRenderer = (children: ReactNode, lazy: boolean, expanded: boolean) => {\n const [shouldRenderContent, setShouldRenderContent] = React.useState(!lazy);\n\n React.useEffect(() => {\n setShouldRenderContent(!lazy || expanded);\n }, [lazy]);\n\n const onToggleClick = () => {\n if (lazy && !shouldRenderContent) {\n setShouldRenderContent(true);\n }\n };\n\n const onCollapsed = () => {\n if (lazy && !expanded) {\n setShouldRenderContent(false);\n }\n };\n\n return {\n content: shouldRenderContent ? children : null,\n onToggleClick,\n onCollapsed,\n };\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"AlertSection\":\"ubQCbWhJc3hTn5JzyODW\",\"Body\":\"KOYtHaO3ZySwd7AAuwtl\",\"Header\":\"q6a0sWIrDNdhJaZ7s7B2\",\"Variant--rounded\":\"sOcldyfvZ3q_x5wL8s9H\",\"Variant--small\":\"WTg4xe_9Wds7PqkD8sWF\",\"Icon\":\"NMWWA2c_TbVqaT8RVw37\",\"Variant--medium\":\"cwgwZSPL1fXyBUHY44_g\",\"Variant--large\":\"AAhxH6tZklOLP8HnhG3_\",\"Variant--noHeader\":\"IqtbFQ1LZwu5rell2V3T\",\"Variant--info\":\"c8seYQAsAAZHWtOnSCdz\",\"Variant--success\":\"ffEtX6PEYkK3Jw4dZQUH\",\"Variant--warning\":\"bbXkgW_3B89_Ps1b41Cj\",\"Variant--error\":\"xr9pXcvDECF6dHyPwIlv\"};","import classNames from 'classnames';\nimport * as React from 'react';\nimport type { ReactNode } from 'react';\nimport { AlertSectionVariant } from '~/Blocks/AlertSectionBlock/AlertSectionVariant.csharp';\nimport { useTheme } from '~/Features/Layouts/Theme/Context/ThemeContextProvider';\nimport { SvgIcon } from '~/Partials/SvgIcon/SvgIcon';\nimport type { Theme } from '~/Utils/Theme';\nimport styles from './AlertSection.module.css';\nimport type { AlertSectionSizeVariant } from './AlertSectionSizeVariant';\n\nexport interface AlertSectionProps {\n variant: AlertSectionVariant;\n sizeVariant?: AlertSectionSizeVariant;\n header?: string;\n headerType?: keyof Pick;\n children?: ReactNode;\n className?: string;\n headerClassName?: string;\n theme?: Theme;\n}\n\nexport const AlertSection: React.FC> = props => {\n const contextualTheme = useTheme();\n const {\n variant,\n sizeVariant = 'large',\n header,\n children,\n className,\n headerClassName,\n headerType = 'h2',\n theme = contextualTheme,\n } = props;\n\n const { withRoundedCorners } = theme;\n\n const getIconName = () => {\n switch (variant) {\n case AlertSectionVariant.Success:\n return 'check-circle';\n case AlertSectionVariant.Warning:\n return 'triangle';\n case AlertSectionVariant.Error:\n return 'error-sign';\n default:\n return 'info-circle';\n }\n };\n\n return (\n \n \n {header &&\n React.createElement(headerType, { className: classNames(styles.Header, headerClassName) }, header)}\n {children &&
{children}
}\n \n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"BookmarkTabs\":\"IbD8iYA8j6gRUkFt19Qt\",\"Tabs\":\"_NQp5NLSF5eDFXAqjrMf\",\"Tab\":\"wSwA7V6mKnVhr5xFafzq\",\"TabLabel\":\"bAoReRDLMgoAniQxqdep\",\"Tab--selected\":\"Sqayds_IfbVRGAlPcZz1\",\"Variant--dark\":\"gXLqKND3fX0_VG9NQewb\",\"Variant--light\":\"WBxLPEnOo_h9755u7wGF\",\"Variant--rounded\":\"nUUm_USrpFGrNosOvcCN\",\"ContainerWithTabBottomHack\":\"r6PBO9Z23nGvfMtmlwMK\"};","import classNames from 'classnames';\nimport * as React from 'react';\nimport { useTheme } from '~/Features/Layouts/Theme/Context/ThemeContextProvider';\nimport type { BookmarkTabsVariant } from '~/Partials/BookmarkTabs/BookmarkTabsVariant';\nimport type { TabKey } from '~/Partials/TabList/Tab';\nimport { Tab } from '~/Partials/TabList/Tab';\nimport { TabList } from '~/Partials/TabList/TabList';\nimport { useHistoryState } from '~/Utils/Hooks/useHistoryState';\nimport type { Theme } from '~/Utils/Theme';\nimport styles from './BookmarkTabs.module.css';\n\nexport interface BookmarkTabProps {\n uniqueId: number;\n label: string;\n}\n\nexport interface BookmarkTabsProps {\n label: string;\n tabs: BookmarkTabProps[];\n currentlySelectedTab: TabKey;\n onSelect: (key: TabKey) => void;\n variant?: BookmarkTabsVariant;\n theme?: Pick;\n}\n\nexport const BookmarkTabs: React.FC = props => {\n const contextualTheme = useTheme();\n\n const { label, tabs, onSelect, currentlySelectedTab, variant = 'dark', theme = contextualTheme } = props;\n\n useHistoryState(`BookmarkTabs-${label}`, currentlySelectedTab, onSelect);\n\n const { withRoundedCorners } = theme;\n\n const renderBookmarkTabs = (tabProps: BookmarkTabProps) => {\n const { label: tabLabel, uniqueId } = tabProps;\n\n const isSelected = uniqueId === currentlySelectedTab;\n\n return (\n \n {tabLabel}\n \n );\n };\n\n return (\n \n \n {tabs.map(renderBookmarkTabs)}\n \n \n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"BookmarkContainer\":\"c4EHzShG0bxjcWsv1iba\",\"Wrapper\":\"w6rdwzyeKdZC4QEQQdUG\",\"UpperSection\":\"FQnvPH3eSTnAU6bvrkhn\",\"UpperDescription\":\"FaaFQQsQ1uH8384yNffh\",\"Content\":\"xD2nuHiyJc0KNBTM5TWg\",\"HiddenContent\":\"_qtIUhem1sc1EKjP4UhQ\",\"Variant--dark\":\"_jn80nJpcKPRabCSPcI8\",\"Variant--light\":\"bQiwSN9WwkSFOxA8mB2m\",\"Variant--rounded\":\"o7i_4ji7xZ2pdim0DGGS\"};","import classNames from 'classnames';\nimport * as React from 'react';\nimport tabsStyles from '../BookmarkTabs/BookmarkTabs.module.css';\nimport { TabPanel } from '../Tabs/TabPanel';\nimport { useTheme } from '~/Features/Layouts/Theme/Context/ThemeContextProvider';\nimport type { BookmarkTabProps, BookmarkTabsProps } from '~/Partials/BookmarkTabs/BookmarkTabs';\nimport { BookmarkTabs } from '~/Partials/BookmarkTabs/BookmarkTabs';\nimport type { TabKey } from '~/Partials/TabList/Tab';\nimport type { Theme } from '~/Utils/Theme';\nimport styles from './BookmarkContainer.module.css';\nimport type { BookmarkContainerVariant } from './BookmarkContainerVariant';\n\nexport interface BookmarkContainerProps extends Pick {\n tabsLabel: string;\n setSelectedTab: (key: TabKey) => void;\n upperDescription?: string;\n HiddenTabContent?: React.FC; // Useful for the SEO purposes (mainly crawling)\n variant?: BookmarkContainerVariant;\n className?: string;\n contentClassName?: string;\n theme?: Pick;\n}\n\nexport const BookmarkContainer: React.FC> = props => {\n const contextualTheme = useTheme();\n const {\n tabsLabel,\n tabs,\n currentlySelectedTab,\n setSelectedTab,\n upperDescription,\n HiddenTabContent,\n children,\n className,\n contentClassName,\n variant = 'dark',\n theme = contextualTheme,\n } = props;\n\n const { withRoundedCorners } = theme;\n\n const hasMoreThanOneTab = tabs.length > 1;\n\n return (\n \n
\n
\n {hasMoreThanOneTab && (\n \n )}\n {upperDescription && {upperDescription}}\n
\n {hasMoreThanOneTab ? (\n \n {children}\n \n ) : (\n
{children}
\n )}\n {HiddenTabContent && (\n
\n {tabs\n .filter(tab => tab.uniqueId !== currentlySelectedTab)\n .map(tab => (\n \n \n \n ))}\n
\n )}\n
\n \n );\n};\n","import classNames from 'classnames';\nimport * as React from 'react';\nimport type { ReactNode } from 'react';\nimport type { StrictOmit } from '../Utils/typeUtils';\nimport { useTheme } from '~/Features/Layouts/Theme/Context/ThemeContextProvider';\nimport type { Theme } from '~/Utils/Theme';\nimport styles from './Button.module.css';\nimport type { ButtonSize } from './ButtonSize.csharp';\nimport type { ButtonTier } from './ButtonTier.csharp';\nimport { ButtonType } from './ButtonType.csharp';\n\ntype HtmlButtonType = 'submit' | 'reset' | 'button';\n\nexport interface DefaultButtonProps {\n children: ReactNode;\n className?: string;\n htmltype?: HtmlButtonType;\n /* STYLES PROPS */\n size?: ButtonSize;\n tier?: ButtonTier;\n type?: ButtonType;\n theme?: Theme;\n}\n\ntype NativeButtonAttributes = Pick<\n React.ButtonHTMLAttributes,\n | 'aria-selected'\n | 'aria-controls'\n | 'aria-expanded'\n | 'role'\n | 'aria-haspopup'\n | 'aria-describedby'\n | 'aria-label'\n | 'tabIndex'\n | 'title'\n | 'id'\n | 'disabled'\n | 'draggable'\n | 'onClick'\n | 'onFocus'\n | 'onMouseDown'\n>;\n\nexport type ButtonProps = DefaultButtonProps & NativeButtonAttributes;\n\nexport const Button = React.forwardRef((props, ref) => {\n const { children, theme, ...passThroughProps } = props;\n const { type } = passThroughProps;\n\n if (type && type !== ButtonType.Clear) {\n return (\n \n {children}\n \n );\n }\n\n return (\n \n {children}\n \n );\n});\n\ntype RawButtonProps = StrictOmit;\n\nconst RawButton = React.forwardRef((props, ref) => {\n const { className, children, size, tier, type, htmltype = 'button', ...otherProps } = props;\n\n const getButtonClassName = () =>\n classNames(\n type && styles[`Variant--${type}`],\n tier && styles[`Variant--${tier}`],\n size && styles[`Variant--${size}`],\n className\n );\n\n return (\n \n );\n});\n\nconst ThemedButton = React.forwardRef((props, ref) => {\n const contextualTheme = useTheme();\n const { children, className, theme = contextualTheme, ...additionalProps } = props;\n\n const { withBoxShadow, withRoundedCorners } = theme;\n\n return (\n \n {children}\n \n );\n});\n","// This code was generated by a Reinforced.Typings tool.\n// Changes to this file may cause incorrect behavior and will be lost if\n// the code is regenerated.\n\nexport enum ButtonSize {\n\tXSmall = \"xSmall\",\n\tResponsiveFromXSmallToSmall = \"responsiveFromXSmallToSmall\",\n\tSmall = \"small\",\n\tResponsiveFromSmallToMedium = \"responsiveFromSmallToMedium\",\n\tResponsiveFromSmallToLarge = \"responsiveFromSmallToLarge\",\n\tResponsiveFromMediumToSmall = \"responsiveFromMediumToSmall\",\n\tMedium = \"medium\",\n\tResponsiveFromMediumToLarge = \"responsiveFromMediumToLarge\",\n\tResponsiveFromLargeToSmall = \"responsiveFromLargeToSmall\",\n\tLarge = \"large\",\n\tResponsiveFromLargeToXLarge = \"responsiveFromLargeToXLarge\",\n\tXLarge = \"xLarge\"\n}\n","// This code was generated by a Reinforced.Typings tool.\n// Changes to this file may cause incorrect behavior and will be lost if\n// the code is regenerated.\n\nexport enum ButtonTier {\n\tPrimary = \"primary\",\n\tSecondary = \"secondary\",\n\tTertiary = \"tertiary\",\n\tRed = \"red\",\n\tLegacyPrimary = \"legacyPrimary\"\n}\n","// This code was generated by a Reinforced.Typings tool.\n// Changes to this file may cause incorrect behavior and will be lost if\n// the code is regenerated.\n\nexport enum ButtonType {\n\tSolid = \"solid\",\n\tOutline = \"outline\",\n\tClear = \"clear\"\n}\n","// This code was generated by a Reinforced.Typings tool.\n// Changes to this file may cause incorrect behavior and will be lost if\n// the code is regenerated.\n\nexport enum CheckboxVariant {\n\tDefault = \"default\",\n\tCheckmark = \"checkmark\"\n}\n","import type { RefObject } from 'react';\nimport { useEffect, useState } from 'react';\nimport { useIsMounted } from '~/Utils/Hooks/useIsMounted';\n\nexport interface UseCollapseProps {\n isOpen: boolean;\n content: RefObject;\n}\n\n// In case of nested collapse components, we need to inherit the visibility from the parent so that\n// focusable children inside expanded collapses nested inside collapsed collapses are not focusable.\n// Unfortunately, jest is not able to simulate this behavior thus we are not able to test it.\ntype InheritVisibility = undefined;\n\ntype Visibility = 'hidden' | InheritVisibility;\ntype Overflow = 'hidden' | 'visible';\n\nconst getHeight = (content: RefObject) => {\n if (content && content.current && content.current.scrollHeight) {\n return `${content.current.scrollHeight}px`;\n }\n\n return '0px';\n};\n\nexport const useCollapse = (props: UseCollapseProps) => {\n const { isOpen, content } = props;\n\n const [height, setHeight] = useState(isOpen ? 'auto' : '0');\n const [overflow, setOverflow] = useState(isOpen ? 'visible' : 'hidden');\n const [visibility, setVisibility] = useState(isOpen ? undefined : 'hidden');\n const isMounted = useIsMounted();\n\n const toggleStyles = () => {\n if (isOpen) {\n setHeight('auto');\n setOverflow('visible');\n setVisibility(undefined);\n } else {\n setVisibility('hidden');\n }\n };\n\n useEffect(() => {\n if (isOpen) {\n setVisibility(undefined);\n\n if (!isMounted) {\n setHeight('auto');\n setOverflow('visible');\n } else {\n setHeight(getHeight(content));\n }\n } else if (isMounted) {\n setHeight(getHeight(content));\n\n // The magic:\n // Setting collapsed style after setting height to enable smooth transition based on height.\n // It must be wrapped with setTimeout to ensure that the state update is not batched with the height update.\n setTimeout(() => {\n window.requestAnimationFrame(() => {\n setOverflow('hidden');\n setHeight('0');\n });\n });\n }\n }, [isOpen]);\n\n return {\n toggleStyles,\n style: {\n overflow,\n visibility,\n height,\n },\n };\n};\n","/*\n * Based on: https://github.com/SparebankenVest/react-css-collapse\n */\n\nimport * as React from 'react';\nimport type { AriaAttributes } from 'react';\nimport { useCollapse } from './useCollapse';\n\nexport interface CollapseProps extends AriaAttributes {\n children: React.ReactNode;\n isOpen?: boolean;\n onRest?: () => void;\n className?: string;\n withMarginTransition?: boolean;\n}\n\nexport const Collapse: React.FC = props => {\n const { children, onRest, isOpen = false, className, withMarginTransition, ...rest } = props;\n\n const content = React.useRef(null);\n\n const { toggleStyles, style } = useCollapse({\n isOpen,\n content,\n });\n\n const onTransitionEnd = (event: React.TransitionEvent) => {\n if (event.target === content.current && event.propertyName === 'height') {\n toggleStyles();\n\n onRest?.();\n }\n };\n\n const styles = {\n willChange: withMarginTransition ? 'height, margin' : 'height',\n ...style,\n };\n\n return (\n
\n {children}\n
\n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ComboSelector\":\"XjUXAnCLxrJU_S3Faibn\",\"Label\":\"bbDHU4_JdA0hl9MD1Lrq\",\"Variant--dark\":\"lGjVadSc7bzjE2LzD3Ec\",\"Variant--light\":\"km5O6Vr04dX9qXqlrGMV\"};","import classNames from 'classnames';\nimport * as React from 'react';\nimport type { ComboSelectorPartialBaseProps } from '../../types';\nimport { Button } from '~/Partials/Button/Button';\nimport { ButtonSize } from '~/Partials/Button/ButtonSize.csharp';\nimport { ButtonTier } from '~/Partials/Button/ButtonTier.csharp';\nimport { ButtonType } from '~/Partials/Button/ButtonType.csharp';\nimport styles from './ComboSelectorButtonGroup.module.css';\n\ntype ComboSelectorButtonGroupProps = ComboSelectorPartialBaseProps;\n\nexport const ComboSelectorButtonGroup: React.FC = props => {\n const { labelId, onChange, options, currentValue, colorVariant } = props;\n\n const buttonTier = colorVariant === 'light' ? ButtonTier.Tertiary : ButtonTier.Primary;\n\n return (\n
\n {Array.from(options).map(([value, buttonLabel]) => {\n const isSelected = value === currentValue;\n const buttonType = isSelected ? ButtonType.Solid : ButtonType.Outline;\n\n return (\n onChange(value)}\n >\n {buttonLabel}\n \n );\n })}\n
\n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ComboSelectorButtonGroup\":\"P9dsE4f7OBdAt9CNqFqv\",\"Button\":\"_wswsxtbCQt4s_3W3uCM\",\"Button--selected\":\"ceZjvr7zHVWiQFt0lt3X\"};","// extracted by mini-css-extract-plugin\nexport default {\"Label\":\"N1naMs8RgJ5DEdSqntl_\",\"Inner\":\"oNgbub_RmiAb8AEl5vq8\",\"Native\":\"ej2uuZxjdlcJKkYzu50J\",\"Icon\":\"mgusG_yyQk0V0MGeK9Ur\",\"Variant--rounded\":\"JAYJggZS6dLysWsv5IiA\",\"Variant--medium\":\"W_Gk92VdcIWIfdXHtrIi\",\"Variant--large\":\"F3_tIaF4ZaeYl8WOs4tx\",\"Variant--light\":\"G7gxiY379IAtJbKPKotG\",\"Variant--dark\":\"f_eGu7OOTBoBL082egz5\",\"Variant--greyOutline\":\"LeyH46DQzccm_DAtublw\"};","import classNames from 'classnames';\nimport uniqueId from 'lodash/uniqueId';\nimport React from 'react';\nimport { SvgIcon } from '../SvgIcon/SvgIcon';\nimport { useTheme } from '~/Features/Layouts/Theme/Context/ThemeContextProvider';\nimport type { Theme } from '~/Utils/Theme';\nimport styles from './Select.module.css';\nimport type { SelectSize } from './SelectSize';\nimport type { SelectVariant } from './SelectVariant';\n\ntype NativeSelectAttributes = Pick<\n React.SelectHTMLAttributes,\n | 'required'\n | 'aria-selected'\n | 'aria-expanded'\n | 'aria-describedby'\n | 'aria-label'\n | 'tabIndex'\n | 'title'\n | 'id'\n | 'disabled'\n | 'onFocus'\n | 'onBlur'\n>;\n\ninterface BaseSelectProps extends NativeSelectAttributes {\n options: Map;\n onChange: (selection: string) => void;\n value?: string;\n defaultValue?: string;\n className?: string;\n variant?: SelectVariant;\n size?: SelectSize;\n theme?: Theme;\n placeholder?: string;\n}\n\ninterface SelectWithLabel extends BaseSelectProps {\n label: string;\n}\n\ntype SelectWithAria = Required, 'aria-describedby'>> &\n BaseSelectProps;\n\nexport type SelectProps = SelectWithLabel | SelectWithAria;\n\nexport const Select: React.FC = props => {\n const contextualTheme = useTheme();\n const {\n defaultValue,\n options,\n className,\n onChange,\n placeholder,\n variant = 'light',\n theme = contextualTheme,\n size = 'medium',\n ...restProps\n } = props;\n const hasLabel = 'label' in props && props.label;\n\n const { withRoundedCorners } = theme;\n const id = uniqueId('select');\n\n return (\n \n {hasLabel && (\n \n )}\n
\n onChange(e.target.value)}\n {...restProps}\n >\n {placeholder && }\n {Array.from(options).map(([value, optionLabel]) => (\n \n ))}\n \n \n
\n \n );\n};\n","import * as React from 'react';\nimport type { ComboSelectorPartialBaseProps } from '../../types';\nimport { Select } from '~/Partials/Select/Select';\nimport styles from './ComboSelectorDropdown.module.css';\n\ntype ComboSelectorDropdownProps = ComboSelectorPartialBaseProps;\n\nexport const ComboSelectorDropdown: React.FC = props => {\n const { labelId, onChange, options, colorVariant, currentValue } = props;\n\n const getSelectVariant = () => {\n switch (colorVariant) {\n case 'dark':\n return 'dark';\n case 'light':\n return 'light';\n case 'greySelectDarkButtons':\n return 'greyOutline';\n default:\n return undefined;\n }\n };\n\n return (\n \n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ComboSelectorDropdown\":\"KDyaKDlnhHkPeQ8TQpwW\"};","import * as React from 'react';\nimport type { ComboSelectorPartialBaseProps } from '../../types';\nimport { Radio } from '~/Partials/RadioGroup/Radio/Radio';\nimport { RadioGroup } from '~/Partials/RadioGroup/RadioGroup';\nimport styles from './ComboSelectorRadioGroup.module.css';\n\ninterface ComboSelectorRadioGroupProps extends ComboSelectorPartialBaseProps {\n name: string;\n}\n\nexport const ComboSelectorRadioGroup: React.FC = props => {\n const { name, labelId, onChange, options, colorVariant, currentValue } = props;\n\n const radioVariant = colorVariant === 'light' ? 'light' : 'default';\n\n return (\n \n
\n {Array.from(options).map(([value, radioLabel]) => (\n \n ))}\n
\n
\n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ComboSelectorRadioGroupWrapper\":\"Sp19XW4DI_sJH0_4zvTF\",\"Radio\":\"echijgywrVRRk64pe6Cg\"};","import classNames from 'classnames';\nimport uniqueId from 'lodash/uniqueId';\nimport * as React from 'react';\nimport { useWindowWidthDetection } from '~/Utils/Hooks/useWindowWidthDetection';\nimport { MediaBreakpoints } from '~/Utils/MediaBreakpoints';\nimport styles from './ComboSelector.module.css';\nimport type { ComboSelectorColorVariant } from './ComboSelectorColorVariant';\nimport type { ComboSelectorVariant } from './ComboSelectorVariant';\nimport { ComboSelectorButtonGroup } from './Components/ComboSelectorButtonGroup/ComboSelectorButtonGroup';\nimport { ComboSelectorDropdown } from './Components/ComboSelectorDropdown/ComboSelectorDropdown';\nimport { ComboSelectorRadioGroup } from './Components/ComboSelectorRadioGroup/ComboSelectorRadioGroup';\n\nexport interface ComboSelectorProps {\n name: string;\n options: Map;\n onChange: (selectionId: string) => void;\n selectSwitchCallback?: (size: number) => boolean;\n variant?: ComboSelectorVariant;\n colorVariant?: ComboSelectorColorVariant;\n label?: string;\n currentValue?: string;\n className?: string;\n}\n\nexport const ComboSelector: React.FC = props => {\n const {\n name,\n onChange,\n label,\n className,\n options,\n currentValue,\n selectSwitchCallback = size => size >= 4,\n colorVariant = 'light',\n variant = 'radio',\n } = props;\n\n const isMobile = useWindowWidthDetection({ condition: 'lessThan', breakpoint: MediaBreakpoints.Tablet });\n const labelId = uniqueId('comboSelect_id');\n\n const partialsPropsBase = {\n options,\n colorVariant,\n labelId,\n onChange,\n currentValue,\n };\n\n const renderContent = () => {\n const shouldRenderSelect = selectSwitchCallback(options.size) || isMobile;\n\n if (shouldRenderSelect) {\n return ;\n }\n\n if (variant === 'radio') {\n return ;\n }\n\n return ;\n };\n\n const comboSelectorColorVariant = colorVariant === 'greySelectDarkButtons' ? undefined : colorVariant;\n\n return (\n \n {label && (\n
\n {label}\n
\n )}\n {renderContent()}\n \n );\n};\n","import * as React from 'react';\nimport type { HtmlString } from '~/Features/Types/HtmlString.csharp';\n\ntype NativeDivAttributes = Pick, 'id'>;\n\nexport interface HtmlDivProps extends NativeDivAttributes {\n html: HtmlString;\n className?: string;\n}\n\nexport const HtmlDiv: React.FC = props => {\n const { html, className, ...restDivProps } = props;\n\n return
;\n};\n","import axios from 'axios';\nimport { getContentLanguage } from '~/Features/Configuration/Utils/languageUtils';\n\nexport const axiosWrapper = axios.create({\n paramsSerializer: {\n indexes: null, // key=value instead of key[]=value\n },\n});\n\naxiosWrapper.interceptors.request.use(config => {\n const contentLanguage = getContentLanguage();\n\n if (contentLanguage) {\n config.headers.set('X-Api-Language', contentLanguage);\n }\n\n return config;\n});\n","// extracted by mini-css-extract-plugin\nexport default {\"Link\":\"XezMfDvRba8HKhHr79wm\",\"Variant--button\":\"UssovIOXlEuxxbOHY4c4\",\"Label\":\"DdPYOTimBd1c8zDeoFgi\",\"Variant--default\":\"BaRcrU5NpyAMFJiitXyJ\",\"Variant--clear\":\"B5Z4_vbRcPt248iwmQXi\",\"ExternalIcon\":\"STANzowJsaT4J9r68lKO\",\"Variant--primaryVariant\":\"Ao72_5IgozgF9TjFNNMg\",\"Variant--secondaryVariant\":\"LJeoDEcvQBM1fqdwcmyQ\",\"Variant--lightBlackVariant\":\"acIUmsBFtHkURrDJnial\"};","import classNames from 'classnames';\nimport * as React from 'react';\nimport type { ReactNode } from 'react';\nimport buttonStyles from '../Button/Button.module.css';\nimport { ButtonSize } from '../Button/ButtonSize.csharp';\nimport { ButtonTier } from '../Button/ButtonTier.csharp';\nimport { ButtonType } from '../Button/ButtonType.csharp';\nimport { SvgIcon } from '../SvgIcon/SvgIcon';\nimport { useTheme } from '~/Features/Layouts/Theme/Context/ThemeContextProvider';\nimport type { StrictOmit } from '~/Partials/Utils/typeUtils';\nimport { omitProperty } from '~/Partials/Utils/utils';\nimport type { Theme } from '~/Utils/Theme';\nimport styles from './Link.module.css';\nimport { LinkType } from './LinkType.csharp';\nimport { LinkVariant } from './LinkVariant.csharp';\nimport type { StyledLinkViewModel } from './StyledLinkViewModel.csharp';\n\nexport interface BaseLinkProps extends StrictOmit {\n theme?: Theme;\n labelClassName?: string;\n}\n\ninterface LinkWithLabel extends BaseLinkProps {\n label: string;\n}\n\ninterface LinkWithChildren extends BaseLinkProps {\n children: ReactNode;\n}\n\ntype NativeLinkAttributes = Pick<\n React.AnchorHTMLAttributes,\n | 'aria-selected'\n | 'aria-controls'\n | 'aria-expanded'\n | 'role'\n | 'aria-haspopup'\n | 'aria-describedby'\n | 'aria-label'\n | 'tabIndex'\n | 'onClick'\n | 'lang'\n | 'download'\n | 'title'\n>;\n\nexport type LinkProps = (LinkWithChildren | LinkWithLabel) & NativeLinkAttributes;\n\nexport const Link = React.forwardRef>((props, ref) => {\n const { children, theme, ...passThroughProps } = props;\n const { type, buttonType } = passThroughProps;\n\n const filteredProps = 'label' in passThroughProps ? omitProperty(passThroughProps, 'label') : passThroughProps;\n\n const elementToRender = children ?? ('label' in props && props.label);\n\n if (type === LinkType.Button && buttonType !== ButtonType.Clear) {\n return ;\n }\n\n return ;\n});\n\ninterface RawLinkProps extends StrictOmit, NativeLinkAttributes {\n elementToRender: ReactNode;\n}\n\nconst RawLink = React.forwardRef((props, ref) => {\n const {\n elementToRender,\n className,\n labelClassName,\n type = LinkType.Default,\n variant = LinkVariant.Default,\n buttonType = ButtonType.Solid,\n buttonTier = ButtonTier.LegacyPrimary,\n buttonSize = ButtonSize.Large,\n external = false,\n showIsExternal = true,\n ...additionalProps\n } = props;\n\n const getLinkClassName = () => {\n if (type === LinkType.Button) {\n return classNames(\n styles.Link,\n styles['Variant--button'],\n buttonStyles[`Variant--${buttonType}`],\n buttonStyles[`Variant--${buttonTier}`],\n buttonStyles[`Variant--${buttonSize}`],\n className\n );\n }\n\n return classNames(\n styles.Link,\n styles[`Variant--${type}`],\n variant !== 'default' && styles[`Variant--${variant}Variant`],\n className\n );\n };\n\n return (\n \n
{elementToRender}
\n {external && showIsExternal && }\n \n );\n});\n\ninterface ThemedButtonLinkProps extends RawLinkProps {\n theme?: Theme;\n}\n\nconst ThemedButtonLink = React.forwardRef((props, ref) => {\n const contextualTheme = useTheme();\n const { className, theme = contextualTheme, ...additionalProps } = props;\n\n const { withBoxShadow, withRoundedCorners } = theme;\n\n return (\n \n );\n});\n","// This code was generated by a Reinforced.Typings tool.\n// Changes to this file may cause incorrect behavior and will be lost if\n// the code is regenerated.\n\nexport enum LinkType {\n\tDefault = \"default\",\n\tButton = \"button\",\n\tClear = \"clear\"\n}\n","// This code was generated by a Reinforced.Typings tool.\n// Changes to this file may cause incorrect behavior and will be lost if\n// the code is regenerated.\n\nexport enum LinkVariant {\n\tDefault = \"default\",\n\tPrimary = \"primary\",\n\tSecondary = \"secondary\",\n\tLightBlack = \"lightBlack\"\n}\n","import * as React from 'react';\nimport type { ReactNode } from 'react';\n\ninterface ListProps extends Pick, 'role' | 'tabIndex' | 'onKeyDown'> {\n items: ReadonlyArray;\n renderItem: (item: T, index: number) => ReactNode;\n className?: string;\n}\n\nconst ListComponent = (props: ListProps, ref?: React.Ref) => {\n const { items, renderItem, className, ...otherProps } = props;\n\n return (\n
    \n {items.map((item, index) => renderItem(item, index))}\n
\n );\n};\n\ntype GenericForwardRefList = (\n props: ListProps & { ref?: React.Ref }\n) => React.ReactElement;\n\nexport const List = React.forwardRef(ListComponent) as GenericForwardRefList;\n","// This code was generated by a Reinforced.Typings tool.\n// Changes to this file may cause incorrect behavior and will be lost if\n// the code is regenerated.\n\nexport enum Language {\n\tNorwegian = \"norwegian\",\n\tEnglish = \"english\"\n}\n","import { Language } from '~/Features/Localization/Language.csharp';\nimport { assertNever } from '~/Partials/Utils/typeUtils';\n\nexport type LocaleType = 'en-GB' | 'nb';\nexport type LanguageCode = 'en' | 'no';\n\nexport const englishLocale = 'en-GB';\nexport const norwegianLocale = 'nb';\nexport const norwegianDocumentLanguage = 'no';\nexport const englishDocumentLanguage = 'en';\n\nexport type DocumentLanguage = typeof norwegianDocumentLanguage | typeof englishDocumentLanguage;\n\nexport const mapToLanguageCode = (language: Language | DocumentLanguage | LocaleType): LanguageCode => {\n switch (language) {\n case Language.English:\n case englishDocumentLanguage:\n case englishLocale:\n return 'en';\n case Language.Norwegian:\n case norwegianDocumentLanguage:\n case norwegianLocale:\n return 'no';\n default:\n throw new Error(`Language is not supported: ${language}`);\n }\n};\n\nexport const mapToLocale = (code: LanguageCode): LocaleType => {\n switch (code) {\n case 'en':\n return englishLocale;\n case 'no':\n return norwegianLocale;\n default:\n assertNever(code);\n }\n};\n","import * as React from 'react';\nimport { createPortal } from 'react-dom';\n\nconst portalContainerId = 'portal-container';\n\nexport const ClientSidePortal: React.FC = props => {\n const { children } = props;\n\n const portalContainer = document.getElementById(portalContainerId);\n const [isAttachedToDOM, setIsAttachedToDOM] = React.useState(false);\n\n if (!portalContainer) {\n throw new Error(`Portal requires element with id '${portalContainerId}' to be present in DOM`);\n }\n\n const elementReference = React.useRef(null);\n\n if (!elementReference.current) {\n elementReference.current = document.createElement('div');\n }\n\n React.useEffect(() => {\n if (elementReference.current) {\n portalContainer.appendChild(elementReference.current);\n setIsAttachedToDOM(true);\n }\n\n return () => {\n if (elementReference.current) {\n portalContainer.removeChild(elementReference.current);\n setIsAttachedToDOM(false);\n }\n };\n }, [portalContainer]);\n\n const portalContent = isAttachedToDOM && children;\n\n return createPortal(portalContent, elementReference.current);\n};\n","import * as React from 'react';\nimport { useIsMounted } from '~/Utils/Hooks/useIsMounted';\nimport { ClientSidePortal } from './ClientSidePortal';\n\nexport const Portal: React.FC = props => {\n const { children } = props;\n const isMounted = useIsMounted();\n\n return isMounted ? {children} : null;\n};\n","import { FocusTrap } from 'focus-trap-react';\nimport type { FC, ReactNode } from 'react';\nimport React from 'react';\nimport { useCloseHandlersWithoutDuplicatedCalls } from '~/Utils/Hooks/useCloseHandlersWithoutDuplicatedCalls';\nimport { ScrollLock } from '~/Utils/ScrollLock/ScrollLock';\n\nexport interface ModalWrapperProps {\n isScrollLocked: boolean;\n isFocusTrapActive: boolean;\n children: (buttonClickClose: () => void) => ReactNode;\n close: () => void;\n shouldHideMainScrollBar?: boolean;\n}\n\nexport const ModalWrapper: FC = props => {\n const { isFocusTrapActive, isScrollLocked, children, close, shouldHideMainScrollBar } = props;\n\n const { focusTrapDeactivationClose, buttonClickClose } = useCloseHandlersWithoutDuplicatedCalls(\n close,\n isFocusTrapActive\n );\n\n return (\n <>\n \n \n {/*\n * TabIndex is needed here, because by default, when clicking on non-focusable element inside modal\n * browser focuses body element: https://github.com/focus-trap/focus-trap/issues/587.\n */}\n
{children(buttonClickClose)}
\n \n \n );\n};\n","import * as React from 'react';\nimport { useVariableWithStableRef } from './useVariableWithStableRef';\n\nexport function useCloseHandlersWithoutDuplicatedCalls(close: () => void, isOpened: boolean) {\n const closeRef = useVariableWithStableRef(close);\n const shouldDeactivateInvokeCloseRef = React.useRef(false);\n\n React.useEffect(() => {\n if (isOpened) {\n shouldDeactivateInvokeCloseRef.current = true;\n }\n }, [isOpened]);\n\n const focusTrapDeactivationClose = () => shouldDeactivateInvokeCloseRef.current && closeRef.current?.();\n\n const buttonClickClose = () => {\n shouldDeactivateInvokeCloseRef.current = false;\n close();\n };\n\n return { focusTrapDeactivationClose, buttonClickClose };\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"PillTag\":\"QfpSu3R9osOn5mtmUmRN\",\"Variant--basic\":\"Iga6BKVCOIbIKJLg1wb5\",\"Variant--xSmall\":\"CGu3fo6V4n8rvQtY5dQ5\",\"Variant--link\":\"CBFAt9vEsMs6Ef1NVotO\",\"LinkLabel\":\"EQIhE5ieMUG9tN9YN86_\",\"Variant--small\":\"jno52DfczcFYoXwAJOAu\",\"Variant--normal\":\"_YiOaSqqzZqBucsGKGGx\",\"Variant--responsiveFromXSmallToSmall\":\"i_x18TfEx_kjFRYVMYNV\",\"Variant--defaultFont\":\"K10DrQZg0Ljzn8q06yUL\",\"Variant--lightFont\":\"EPjsXy4Ah89AtUfpopbN\",\"Variant--redFont\":\"CSqw44gNAWUuQn5nAEDg\",\"Variant--brightRedFont\":\"JFZKwCm93ZF9b4QZBloi\",\"Variant--turquoiseFont\":\"ho_AsZp7pnyvU0aEuiI0\",\"Variant--greyFont\":\"Fc3YhwM3qiZ1A4FTXcCA\",\"Variant--blueFont\":\"kqVAYZpkW0vdVQ8mxp75\",\"Variant--lightBlueFont\":\"YVmiq1HSMu0b9TAQm1mJ\",\"Variant--greenFont\":\"T27rBKbJ7mt07BMDlGo9\",\"Variant--lightGreenFont\":\"O9H6rk53o1ekQFNAuxWg\",\"Variant--yellowFont\":\"ODEi7cyEjUP9PIIDRonC\",\"Variant--lightGreyFont\":\"Ntivk05C5UEuvDQtWztK\",\"Variant--darkRedFont\":\"qhi17gMD2ROz0R8OqUYS\",\"Variant--default\":\"RN56_8vnmQNwz00mGyCO\",\"Variant--solid\":\"U9uDXh99G9DWi_Yh96aO\",\"Variant--dark\":\"lgn5jtFtWmCfY3jJKvE1\",\"Variant--red\":\"VsFopTmCCmSApXbdhQom\",\"Variant--brightRed\":\"ftxYN6Cf0R37irTe8gq3\",\"Variant--turquoise\":\"YuIlrFavmOORgYZil8jK\",\"Variant--grey\":\"AK7QRdIj4UViy_jglQrq\",\"Variant--blue\":\"_rP1cjzAVdEGnSpmwJ5n\",\"Variant--lightBlue\":\"RXdTHCoDDivjBtluNb06\",\"Variant--green\":\"nspvq7AyQk0C3uXdkIyc\",\"Variant--lightGreen\":\"C_ZIPBTbyPsC8bGWagOy\",\"Variant--yellow\":\"uEQY40QHJ5d4r2ff9Bja\",\"Variant--lightGrey\":\"qdmgS7umAD2PiOGAaUYw\",\"Variant--darkRed\":\"Ec8DIxS1MzwW3YxrCTHq\"};","import classNames from 'classnames';\nimport * as React from 'react';\nimport { Link } from '~/Partials/Link/Link';\nimport { LinkType } from '~/Partials/Link/LinkType.csharp';\nimport styles from './PillTag.module.css';\nimport type { PillTagFontColor } from './PillTagFontColor';\nimport type { PillTagSize } from './PillTagSize';\nimport type { PillTagType } from './PillTagType';\nimport type { PillTagVariant } from './PillTagVariant';\n\nexport interface PillTagProps {\n title?: string;\n variant?: PillTagVariant;\n type?: PillTagType;\n size?: PillTagSize;\n href?: string;\n fontColor?: PillTagFontColor;\n className?: string;\n}\n\nexport const PillTag: React.FC> = props => {\n const {\n title,\n href,\n children,\n className,\n variant = 'default',\n size = 'normal',\n type = 'solid',\n fontColor = 'default',\n } = props;\n\n const baseProps = {\n className: classNames(\n styles.PillTag,\n styles[`Variant--${variant}`],\n styles[`Variant--${size}`],\n styles[`Variant--${type}`],\n styles[`Variant--${fontColor}Font`],\n href ? styles['Variant--link'] : styles['Variant--basic'],\n className\n ),\n title,\n };\n\n if (href) {\n return (\n \n {children}\n \n );\n }\n\n return
{children}
;\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"Radio\":\"PHAoRS_eP5FouDCPNKdY\",\"Input\":\"YfHgbQjwjs4O8VWhll1c\",\"LabelOuter\":\"XTEgAUAWtLfl5XRg_bT7\",\"Label\":\"yUjgOv16CeoVvFj3U4nh\",\"Variant--inheritFont\":\"yje2hGysH1zQf_D0GsA7\",\"Variant--initialFont\":\"ybhzeWsxCfsp8wYJwFpI\",\"Variant--default\":\"eBT4mzyF71FsK7BhvIw0\",\"Variant--light\":\"GhAWyApR_JjGprSMJ2rM\",\"Variant--yellow\":\"FLM2Tzo67oI7BXB4zL2e\",\"Variant--error\":\"XKLWwqx3LR1WcDGpZ4_b\"};","import classNames from 'classnames';\nimport uniqueId from 'lodash/uniqueId';\nimport * as React from 'react';\nimport type { FontType } from '../../FontType/FontType';\nimport { useRadioGroupContext } from '../RadioGroupContext';\nimport type { RadioVariant } from '../RadioVariant';\nimport styles from './Radio.module.css';\n\nexport interface RadioProps {\n value: string;\n label: string | React.ReactChild;\n variant?: RadioVariant;\n fontType?: FontType;\n className?: string;\n}\n\nexport const Radio: React.FC> = ({\n value,\n label,\n className,\n variant = 'default',\n fontType = 'inherit',\n}) => {\n const { name, currentValue, onChange, disabled } = useRadioGroupContext();\n const htmlId = uniqueId('FormComponents__radio__');\n const checked = value === currentValue;\n\n return (\n \n onChange(value)}\n name={name}\n disabled={disabled}\n />\n {label && (\n \n )}\n
\n );\n};\n","import * as React from 'react';\nimport type { ReactNode } from 'react';\nimport styles from './RadioGroup.module.css';\nimport { RadioGroupProvider } from './RadioGroupContext';\n\nexport interface RadioGroupBaseProps {\n name: string;\n onChange: (id: string) => void;\n children: ReactNode;\n disabled?: boolean;\n currentValue?: string;\n className?: string;\n}\n\ninterface RadioGroupWithLabel extends RadioGroupBaseProps {\n label: string;\n}\n\nexport type RadioGroupWithAria = Required, 'aria-describedby'>> &\n RadioGroupBaseProps;\n\ntype RadioGroupProps = (RadioGroupWithLabel | RadioGroupWithAria) & RadioGroupBaseProps;\n\nexport const RadioGroup: React.FC> = props => {\n const { name, onChange, currentValue, disabled, className, children, ...restProps } = props;\n const hasLabel = 'label' in props && props.label;\n\n const [currentGroupValue, setCurrentGroupValue] = React.useState(currentValue);\n\n React.useEffect(() => {\n setCurrentGroupValue(currentValue);\n }, [currentValue]);\n\n const handleOnChange = (checkedId: string) => {\n setCurrentGroupValue(checkedId);\n onChange && onChange(checkedId);\n };\n\n return (\n \n
\n {hasLabel && {props.label}}\n
{children}
\n
\n
\n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"Radios\":\"drG0qWE9kXwq4x52jnrJ\"};","import * as React from 'react';\nimport type { ReactNode } from 'react';\nimport type { StrictOmit } from '~/Partials/Utils/typeUtils';\nimport type { RadioGroupBaseProps } from './RadioGroup';\n\ntype RadioGroupContextProps = StrictOmit;\n\ninterface RadioGroupProviderProps extends RadioGroupContextProps {\n children: ReactNode;\n}\n\nconst radioGroupContext = React.createContext({\n name: '',\n onChange: () => {},\n});\n\nexport const useRadioGroupContext = () => {\n const context = React.useContext(radioGroupContext);\n\n if (!context) {\n throw new Error(`Cannot render RadioGroup component`);\n }\n\n return context;\n};\n\nexport const RadioGroupProvider = (props: RadioGroupProviderProps) => {\n const { Provider } = radioGroupContext;\n const { children } = props;\n\n return {children};\n};\n","import * as React from 'react';\nimport type { IconsEnum } from '~/Features/IconsEnum.csharp';\nimport { SvgIconBase } from './SvgIconBase';\nimport { assetPathBuilder } from './Utils/Utils';\n\nexport type IconName = `${IconsEnum}`;\n\nexport interface SvgIconProps {\n iconName: `${IconsEnum}`;\n className?: string;\n}\n\nexport const SvgIcon: React.FC> = props => {\n const { iconName, className } = props;\n const iconPath = assetPathBuilder(iconName);\n\n return ;\n};\n","import classNames from 'classnames';\nimport type { FC } from 'react';\nimport React from 'react';\n\ninterface SvgIconBaseProps {\n path: string;\n className?: string;\n}\n\nexport const SvgIconBase: FC> = props => {\n const { path, className } = props;\n\n return (\n \n \n \n \n \n );\n};\n","export const assetPathBuilder = (iconName: string, filled = false) => {\n const formattedIconName = iconNameMapper(iconName);\n const formattedAssetsPath = formatPath(assetsPath, false);\n const formattedBuildHash = formatPath(buildHash);\n const filledResources = filled ? 'Filled' : '';\n\n return `${formattedAssetsPath}/iconsSprite${filledResources}${formattedBuildHash}.svg#sprite-${formattedIconName}`;\n};\n\nconst formatPath = (path?: string, withDot = true) => (path ? `${withDot ? '.' : ''}${path}` : '');\n\nexport const iconNameMapper = (iconName: string) => {\n switch (iconName) {\n case 'å':\n return 'aring';\n case 'æ':\n return 'ae';\n case 'ø':\n return 'oslash';\n default:\n return iconName;\n }\n};\n","import * as React from 'react';\nimport type { ReactNode } from 'react';\nimport { Button } from '../Button/Button';\nimport { buildTabId, buildTabPanelId } from '../Tabs/tabUtils';\nimport { scrollToElement } from '~/Features/Partials/Utils/utils';\n\nexport type TabKey = React.Key;\n\ninterface TabProps {\n children: ReactNode;\n tabKey: TabKey;\n selected: boolean;\n onSelect: (tabKey: TabKey) => void;\n className?: string;\n}\n\nexport const Tab: React.FC> = props => {\n const { children, tabKey, selected, onSelect, className } = props;\n\n const buttonRef = React.useRef(null);\n const hasUserInteractedRef = React.useRef(false);\n\n const id = buildTabId(tabKey);\n const panelId = buildTabPanelId(tabKey);\n\n React.useEffect(() => {\n if (!hasUserInteractedRef.current) {\n return;\n }\n\n hasUserInteractedRef.current = false;\n\n if (selected && buttonRef.current) {\n scrollToElement(buttonRef.current, 'smooth', 'nearest', 'center');\n }\n }, [selected]);\n\n const onClick = () => {\n hasUserInteractedRef.current = true;\n onSelect(tabKey);\n };\n\n return (\n \n {children}\n \n );\n};\n","import * as React from 'react';\nimport type { ReactNode } from 'react';\nimport { tabbable } from 'tabbable';\nimport { Key } from 'ts-keycode-enum';\nimport { scrollToElement } from '~/Partials/Utils/utils';\n\ninterface TabListProps {\n children: ReactNode;\n name: string;\n id?: string;\n className?: string;\n ref?: React.Ref;\n}\n\nconst handleFocusChange = (event: React.KeyboardEvent, element: HTMLElement) => {\n element.focus();\n scrollToElement(element, 'smooth', 'nearest', 'center');\n\n // Disable default scroll behavior on arrow keys\n event.preventDefault();\n};\n\nexport const TabList = React.forwardRef>((props, ref) => {\n const { children, name, id, className } = props;\n\n const handleKeyDown = (e: React.KeyboardEvent) => {\n if (e.keyCode === Key.LeftArrow || e.keyCode === Key.RightArrow) {\n if (typeof ref !== 'object' || ref === null) {\n throw new Error('Callback refs are not supported.');\n }\n\n if (!ref.current) {\n return;\n }\n\n const tabbableDescendants = tabbable(ref.current);\n const currentFocusedElement = tabbableDescendants.find(el => el === document.activeElement);\n\n if (currentFocusedElement && tabbableDescendants.length > 1) {\n if (e.keyCode === Key.LeftArrow) {\n if (currentFocusedElement.previousSibling) {\n handleFocusChange(e, currentFocusedElement.previousSibling as HTMLElement);\n } else {\n handleFocusChange(e, tabbableDescendants[tabbableDescendants.length - 1] as HTMLElement);\n }\n } else if (e.keyCode === Key.RightArrow) {\n if (currentFocusedElement.nextSibling) {\n handleFocusChange(e, currentFocusedElement.nextSibling as HTMLElement);\n } else {\n handleFocusChange(e, tabbableDescendants[0] as HTMLElement);\n }\n }\n }\n }\n };\n\n return (\n // eslint-disable-next-line jsx-a11y/interactive-supports-focus\n
\n {children}\n
\n );\n});\n","import * as React from 'react';\nimport type { TabKey } from '~/Partials/TabList/Tab';\nimport { buildTabId, buildTabPanelId } from '~/Partials/Tabs/tabUtils';\n\nexport interface TabPanelProps {\n tabKey: TabKey;\n className?: string;\n}\n\nexport const TabPanel: React.FC> = props => {\n const { tabKey, className, children } = props;\n\n return (\n
\n {children}\n
\n );\n};\n","import type { TabKey } from '~/Partials/TabList/Tab';\nimport { replaceNotFriendlyCharacters } from '~/Partials/Utils/utils';\n\nexport const buildTabId = (tabKey: TabKey) => `tab_${replaceNotFriendlyCharacters(tabKey.toString().toLowerCase())}`;\nexport const buildTabPanelId = (tabKey: TabKey) =>\n `tabPanel_${replaceNotFriendlyCharacters(tabKey.toString().toLowerCase())}`;\n","export function assertNever(_: never): never {\n throw new Error(`Value should be never: ${_}`);\n}\n\n// NO-OP. Typescript handles that\nexport const isInterchangeable = (element?: TFrom): TTo | undefined => element;\n\n// Covers *most* of the cases because `NaN` cannot be added to the union.\nexport type Falsy = false | 0 | '' | null | undefined;\n\nexport type StrictOmit = Pick>;\n\n// It will also correctly work for discriminated unions.\nexport type UnionAwareOmit = {\n [TProperty in keyof TObject as TProperty extends TKey ? never : TProperty]: TObject[TProperty];\n};\n\nexport type StrictExtract = TKey extends TObject ? TKey : never;\n\nexport type IdType = string | number;\n\nexport type ReactKey = string | number;\n\nexport type WithId = TObject & { id: string };\n\nexport type ArrayElement = TArrayType extends readonly (infer TElementType)[]\n ? TElementType\n : never;\n\nexport type WithRequired = TObject & { [TProp in TKey]-?: TObject[TProp] };\n\nexport type WithOptional = Omit & {\n [TProp in TKey]?: TObject[TProp];\n};\n\nexport type WithNonNullable = TObject & {\n [TProp in TKey]: NonNullable;\n};\n\ntype NonSymbol = Exclude;\n\nexport type Paths = TObject extends object\n ? { [TKey in keyof TObject]-?: `${NonSymbol}${'' | `.${Paths}`}` }[keyof TObject]\n : never;\n\nexport type WithNonNullableProperties = {\n [TKey in keyof TObject]: NonNullable;\n};\n\ntype Join = `${NonSymbol}.${NonSymbol}`;\n\ntype SimplifyForFlattening = Required>;\n\ntype NestLimit = 4;\n\ntype Incr = [1, 2, 3, NestLimit];\n\ntype FlattenInternal<\n TObject extends object,\n TLevel extends number = 0,\n TKeys extends keyof TObject = keyof TObject,\n> = TLevel extends NestLimit\n ? { [TProperty in TKeys]: TObject[TKeys] }\n : TKeys extends string\n ? TObject[TKeys] extends object\n ? // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type -- we actually need `Function` here\n TObject[TKeys] extends Function | Array // Non flattenable for now\n ? { [TProperty in TKeys]: TObject[TKeys] }\n : FlattenInternal, Incr[TLevel]> extends infer TInferred\n ? {\n [TProperty in keyof TInferred as Join]: TInferred[TProperty];\n }\n : { [TProperty in TKeys]: TObject[TKeys] }\n : { [TProperty in TKeys]: TObject[TKeys] }\n : never;\n\nexport type Flatten = FlattenInternal>;\n\nexport type CommonProps = Pick<\n TObject1 | TObject2,\n Extract\n>;\n\nexport type Writeable = { -readonly [P in keyof T]: T[P] };\n","import type { AxiosRequestConfig, AxiosResponse } from 'axios';\nimport omit from 'lodash/omit';\nimport type { RefObject } from 'react';\nimport ExecutionContext from '../../ExecutionContext';\nimport type { Money } from '../../Money.csharp';\nimport { axiosWrapper } from '../FetchData/axiosWrapper';\nimport { getContentLanguage } from '~/Features/Configuration/Utils/languageUtils';\nimport type { Falsy, StrictOmit } from '~/Partials/Utils/typeUtils';\n\nexport const omitProperty = (\n object: TObj,\n ...args: TArgs[]\n): StrictOmit => omit(object, args);\n\n/**\n * compare values\n * TODO: this is temporary solution.\n * make it better and faster or use some small lib\n */\nexport function checkEquals(a: T, b: T) {\n try {\n /** FIXME:\n * JSON.stringify \"ignores\" functions so there\n * is no sense to compare functions.. will always be true\n */\n return JSON.stringify(a) === JSON.stringify(b);\n } catch (e) {\n return false;\n }\n}\n\n/* TODO - needs some work with it */\n\n// Replace with new makePostRequest\nexport async function makePostRequestOld(\n url: string,\n params: ParamsType,\n config: AxiosRequestConfig = {}\n) {\n // No try-catch on purposes.\n const response = await axiosWrapper.post(url, params, config);\n\n return response as AxiosResponse;\n}\n\nexport function objectAssignToEmptyFields>(\n source: TObject,\n fields: TFields\n) {\n /* TODO: test & doc & make code more readable maybe? */\n return Object.entries(source).reduce((acc, [key, oldVal]) => {\n const newVal = fields[key as keyof TObject];\n\n // Only non-boolean \"falsy\" value will be replaced.\n const isOldValueEmpty = () => !oldVal && typeof oldVal !== 'boolean';\n\n // And only if new value is \"truthy\" or boolean\n const isNewValueNonEmpty = () => !!newVal || typeof newVal === 'boolean';\n\n return {\n ...acc,\n [key]: isOldValueEmpty() && isNewValueNonEmpty() ? newVal : oldVal,\n };\n }, {} as TObject);\n}\n\nexport function cloneArrayAndUpdateSingleItem(source: T[], item: T, updateFunction: (oldItem: T) => T) {\n const index = source.indexOf(item);\n const updatedItem = updateFunction(item);\n\n return [...source.slice(0, index), updatedItem, ...source.slice(index + 1)];\n}\n\nexport const moneyToString = (money: Money) => {\n const amountFormatted = formatAmount(money.amount);\n const currencyFormatted = formatCurrency(money.currencyCode);\n\n return money.currencyCode === 'NOK'\n ? `${currencyFormatted} ${amountFormatted}`\n : `${amountFormatted} ${currencyFormatted}`;\n};\n\nconst formatAmount = (amount: number) => {\n const parts = amount.toString().split('.');\n parts[0] = parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, ' ');\n\n return parts.join('.');\n};\n\nconst formatCurrency = (currency: string) => (currency === 'NOK' ? 'kr' : currency);\n\nexport const formatNumber = (value: number) => value.toLocaleString(getContentLanguage());\n\nexport const redirect = (url: string) => {\n if (ExecutionContext.IsServerSide()) {\n return;\n }\n\n window.location.href = url.indexOf('/') === 0 ? `${window.location.origin}${url}` : url;\n};\n\nexport const reload = () => {\n if (ExecutionContext.IsServerSide()) {\n return;\n }\n\n window.location.reload();\n};\n\nexport const delay = (ms: number) => new Promise(resolve => setTimeout(resolve, ms));\nexport const getElementById = (id: string) => {\n if (!ExecutionContext.IsServerSide()) {\n return document.getElementById(id);\n }\n};\nexport const scrollToElement = (\n element: HTMLElement,\n behavior: ScrollBehavior = 'smooth',\n block?: ScrollLogicalPosition,\n inline?: ScrollLogicalPosition\n) => {\n if (!ExecutionContext.IsServerSide()) {\n element.scrollIntoView({\n behavior,\n block,\n inline,\n });\n }\n};\n\nexport const smoothScrollToSectionById = (id: string) => {\n const section = getElementById(id);\n\n if (section) {\n scrollToElement(section);\n }\n};\n\nexport const smoothScrollToSectionByRef = (ref: RefObject) => {\n if (ref.current) {\n scrollToElement(ref.current);\n }\n};\n\nexport const scrollToTop = () => scrollTo(0, 0);\n\nexport const isTruthy = (item: T | Falsy): item is T => !!item;\n\nexport const getCurrentUrl = () => (ExecutionContext.IsServerSide() ? undefined : window.location.href);\n\nexport const toUrl = (url: string) => {\n ExecutionContext.ThrowIfServerSide();\n\n return new URL(url, `${location.protocol}//${location.hostname}${location.port ? `:${location.port}` : ''}`);\n};\n\nfunction legacyCopyTextToClipboard(text: string) {\n const textArea = document.createElement('textarea');\n textArea.value = text;\n\n // Avoid scrolling to bottom\n textArea.style.top = '0';\n textArea.style.left = '0';\n textArea.style.position = 'fixed';\n\n document.body.appendChild(textArea);\n textArea.focus();\n textArea.select();\n document.execCommand('copy');\n document.body.removeChild(textArea);\n}\n\nexport async function copyTextToClipboard(text: string) {\n // eslint-disable-next-line compat/compat -- we first check whether the browser supports the clipboard API\n navigator.clipboard ? await navigator.clipboard.writeText(text) : legacyCopyTextToClipboard(text);\n}\n\nexport function combineValidAttributeValues(...values: (string | undefined)[]) {\n const validValues = values.filter(isTruthy);\n\n return validValues.length === 0 ? undefined : validValues.join(' ');\n}\n\nexport const repeat = (item: TItem, count: number) => Array(count).fill(item);\n\nexport const repeatWithId = (item: TItem, count: number) =>\n repeat(item, count).map((element, index) => ({ id: index.toString(), ...element }));\n\nexport const createArray = (factory: (index: number) => TItem, count: number) =>\n Array.from({ length: count }).map((_, index) => factory(index));\n\nexport const replaceNotFriendlyCharacters = (str: string) => str.replace(/[ -/:-@[-`{-}]+/g, '-');\n\nexport const capitalize = (str: T) =>\n (str ? str[0].toUpperCase() + str.slice(1) : str) as Capitalize;\n\nexport const getLastElementOfArray = (array?: TItem[]) =>\n !array || array.length === 0 ? undefined : array[array.length - 1];\n\nexport const stripFromHTMLNode = (rawHtml: string, node: 'p') =>\n rawHtml.replace(new RegExp(`<${node}>|`, 'g'), '');\n\nexport const firstKey = (map: Map) => {\n const result = map.keys().next();\n\n return result.done ? undefined : result.value;\n};\n\nexport const hasAny = (items: TItem[], predicate: (item: TItem) => boolean) =>\n items.find(predicate) !== undefined;\n\nexport const areEqual = (first: string, second: string, ignoreCase = false) =>\n first.localeCompare(second, undefined, { sensitivity: ignoreCase ? 'accent' : 'variant' }) === 0;\n\nexport const isSafari = () => {\n if (ExecutionContext.IsServerSide()) {\n return false;\n }\n\n // eslint-disable-next-line compat/compat -- this is client-side code\n const userAgent = navigator.userAgent.toLowerCase();\n\n return userAgent.includes('safari') && !userAgent.includes('chrome') && !userAgent.includes('crios');\n};\n\nexport const findClosestParent = (\n element: Element,\n predicate: (element: Element) => element is TElement\n): TElement | null => {\n let potentialResult: Element | null = element;\n\n while (potentialResult) {\n if (predicate(potentialResult)) {\n return potentialResult;\n }\n\n potentialResult = potentialResult.parentElement;\n }\n\n return null;\n};\n\nexport const isInteractiveElement = (element: HTMLElement) => {\n const formTags = ['button', 'input', 'select', 'textarea'];\n const linkTags = ['a', 'area'];\n\n const normalizedTagName = element.tagName.toLowerCase();\n\n return (\n (formTags.includes(normalizedTagName) && !element.hasAttribute('disabled')) ||\n (linkTags.includes(normalizedTagName) && element.hasAttribute('href'))\n );\n};\n\nexport const hashValue = async (value: string) => {\n ExecutionContext.ThrowIfServerSide();\n\n const encoder = new TextEncoder();\n const data = encoder.encode(value);\n // eslint-disable-next-line compat/compat -- this is client-side code\n const hashBuffer = await crypto.subtle.digest('SHA-256', data);\n const hashArray = Array.from(new Uint8Array(hashBuffer));\n\n return hashArray.map(num => num.toString(16).padStart(2, '0')).join('');\n};\n\nexport const isErrorWithName = (error: unknown, errorName: string) =>\n typeof error === 'object' && error !== null && 'name' in error && error.name === errorName;\n\nexport const urlJoin = (...parts: string[]) => parts.join('/').replace('//', '/');\n","import { getContentLocale } from '~/Features/Configuration/Utils/languageUtils';\n\nexport type FormatArgs = Record;\n\nexport interface TxtProps {\n id: keyof T;\n values?: FormatArgs;\n}\n\n/**\n * Apply variables to string with {} placeholders\n * ex. format(`{price} is {amount}`, { price: 'Price', amount: 30 })\n */\nconst format = (template: string, values: FormatArgs) =>\n template.replace(/{(\\w+)}/g, (match, index) =>\n typeof values[index] !== 'undefined' ? values[index].toLocaleString(getContentLocale()) : match\n );\n\nexport const FormattedText = (text: string, values?: FormatArgs) => (text && values ? format(text, values) : text);\n","// When changing this value please remember about changing CSS transition duration accordingly\nexport const animationDurationMs = 400;\n","import * as React from 'react';\n\nexport const useHistoryState = (key: string, value: TValue, setValue: (value: TValue) => void) => {\n React.useEffect(() => {\n const currentState = window.history.state;\n const storedValue = currentState?.[key];\n\n if (storedValue) {\n setValue(storedValue);\n }\n }, []);\n\n React.useEffect(() => {\n const currentState = window.history.state || {};\n currentState[key] = value;\n\n window.history.replaceState(currentState, '');\n }, [value]);\n};\n","import { useEffect, useState } from 'react';\n\nexport const useIsMounted = () => {\n const [isMounted, setIsMounted] = useState(false);\n\n useEffect(() => {\n setIsMounted(true);\n }, []);\n\n return isMounted;\n};\n","import { useEffect, useRef } from 'react';\n\nexport function useVariableWithStableRef(variable: T) {\n const variableRef = useRef(variable);\n\n useEffect(() => {\n variableRef.current = variable;\n }, [variable]);\n\n return variableRef;\n}\n","import * as React from 'react';\nimport { assertNever } from '~/Partials/Utils/typeUtils';\n\nconst CheckIfWidthMatchesOptions = (width: number, options: WindowWidthDetectionOptions) => {\n switch (options.condition) {\n case 'greaterThan':\n return width > options.breakpoint;\n case 'greaterOrEqual':\n return width >= options.breakpoint;\n case 'lessThan':\n return width < options.breakpoint;\n case 'lessOrEqual':\n return width <= options.breakpoint;\n case 'inRange':\n return width >= options.lowerBreakpoint && width <= options.upperBreakpoint;\n case 'inRangeExclusive':\n return width > options.lowerBreakpoint && width < options.upperBreakpoint;\n default:\n assertNever(options);\n }\n};\n\ninterface WindowWidthDetectionOptionsSingleArgument {\n condition: 'greaterThan' | 'lessThan' | 'greaterOrEqual' | 'lessOrEqual';\n breakpoint: number;\n}\n\ninterface WindowWidthDetectionOptionsTwoArguments {\n condition: 'inRange' | 'inRangeExclusive';\n lowerBreakpoint: number;\n upperBreakpoint: number;\n}\n\nexport type WindowWidthDetectionOptions =\n | WindowWidthDetectionOptionsSingleArgument\n | WindowWidthDetectionOptionsTwoArguments;\n\nexport const useWindowWidthDetection = (options: WindowWidthDetectionOptions) => {\n const [matchesOptions, setMatchesOptions] = React.useState();\n\n const getDependencies = () => {\n switch (options.condition) {\n case 'greaterThan':\n case 'greaterOrEqual':\n case 'lessThan':\n case 'lessOrEqual':\n return [options.condition, options.breakpoint];\n case 'inRange':\n case 'inRangeExclusive':\n return [options.condition, options.lowerBreakpoint, options.upperBreakpoint];\n\n default:\n assertNever(options);\n }\n };\n\n React.useEffect(() => {\n const getWindowSize = () => {\n const { innerWidth: width, innerHeight: height } = window;\n\n return {\n width,\n height,\n };\n };\n\n const handleResize = () => {\n const size = getWindowSize();\n const matches = CheckIfWidthMatchesOptions(size.width, options);\n\n setMatchesOptions(matches);\n };\n\n window.addEventListener('resize', handleResize);\n handleResize();\n\n return () => window.removeEventListener('resize', handleResize);\n }, getDependencies());\n\n return matchesOptions;\n};\n","export class MediaBreakpoints {\n static readonly Mobile = 375;\n\n static readonly Tablet = 768;\n\n static readonly Desktop = 1024;\n\n static readonly DesktopHD = 1440;\n}\n","import * as React from 'react';\nimport { MessageBroker } from '~/Features/Messaging/MessageBroker';\nimport { ScrollLockUpdated } from '~/Utils/ScrollLock/ScrollLockUpdated';\nimport styles from './ScrollLock.module.css';\n\ninterface ScrollLockProps {\n isLocked: boolean;\n shouldHideMainScrollBar?: boolean;\n}\n\nconst lockedClassName = styles['ScrollLock--enabled'];\nconst hiddenScrollBarClassName = styles['ScrollLock--hiddenScrollBar'];\n\nexport const ScrollLock: React.FC = props => {\n const { isLocked, shouldHideMainScrollBar } = props;\n\n const [scrollPosition, setScrollPosition] = React.useState(undefined);\n const scrollPositionRef = React.useRef();\n\n React.useEffect(() => {\n scrollPositionRef.current = scrollPosition;\n }, [scrollPosition]);\n\n React.useEffect(() => {\n const { body } = document;\n const scrollY = window.scrollY || window.pageYOffset;\n\n const lock = (position: number) => {\n // Calculated before adding locked class, because page might not have a scrollbar before that\n const scrollBarWidth = window.innerWidth - body.offsetWidth;\n\n body.classList.add(lockedClassName);\n body.style.top = `-${position}px`;\n\n if (shouldHideMainScrollBar) {\n body.classList.add(hiddenScrollBarClassName);\n body.style.paddingRight = `${scrollBarWidth}px`;\n\n MessageBroker.publish(\n new ScrollLockUpdated({\n isLocked: true,\n isScrollBarVisible: false,\n scrollBarWidth,\n })\n );\n } else {\n MessageBroker.publish(\n new ScrollLockUpdated({\n isLocked: true,\n isScrollBarVisible: true,\n })\n );\n }\n };\n\n const unlock = (position: number) => {\n body.classList.remove(lockedClassName);\n body.style.top = '';\n\n if (shouldHideMainScrollBar) {\n body.classList.remove(hiddenScrollBarClassName);\n body.style.paddingRight = '';\n }\n\n MessageBroker.publish(new ScrollLockUpdated({ isLocked: false }));\n\n window.scrollTo(0, position);\n };\n\n const shouldLock = isLocked && !body.classList.contains(lockedClassName);\n\n if (shouldLock) {\n lock(scrollY);\n setScrollPosition(scrollY);\n } else {\n if (scrollPosition !== undefined) {\n unlock(scrollPosition);\n }\n\n setScrollPosition(undefined);\n }\n\n return () => {\n if (scrollPositionRef.current !== undefined) {\n unlock(scrollPositionRef.current);\n }\n };\n }, [shouldHideMainScrollBar, isLocked]);\n\n return null;\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ScrollLock--enabled\":\"Q0v9bFNU46mzd2ECi6p_\",\"ScrollLock--hiddenScrollBar\":\"BqUTYZ5JDn6ke9pgViA1\"};","import { Event } from '~/Features/Messaging/types';\n\ninterface LockedWithScrollBar {\n isLocked: true;\n isScrollBarVisible: true;\n}\n\ninterface LockedWithoutScrollBar {\n isLocked: true;\n isScrollBarVisible: false;\n scrollBarWidth: number;\n}\n\ninterface Unlocked {\n isLocked: false;\n}\n\nexport type ScrollLockState = LockedWithScrollBar | LockedWithoutScrollBar | Unlocked;\n\nexport class ScrollLockUpdated extends Event {\n public static readonly id = 'ScrollLockUpdated';\n\n constructor(public readonly state: ScrollLockState) {\n super(ScrollLockUpdated.id);\n }\n}\n","export interface Theme {\n withRoundedCorners?: boolean;\n withBoxShadow?: boolean;\n}\n\nexport const themeDefaultValues: Theme = {\n withBoxShadow: false,\n withRoundedCorners: false,\n};\n\nexport const themeRoundedCornersValues: Theme = {\n withBoxShadow: false,\n withRoundedCorners: true,\n};\n\nexport const themeModernValues: Theme = {\n withBoxShadow: true,\n withRoundedCorners: true,\n};\n","var isSymbol = require('./isSymbol');\n\n/**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\nfunction baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseExtremum;\n","/**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\nfunction baseGt(value, other) {\n return value > other;\n}\n\nmodule.exports = baseGt;\n","var root = require('./_root'),\n toInteger = require('./toInteger'),\n toNumber = require('./toNumber'),\n toString = require('./toString');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsFinite = root.isFinite,\n nativeMin = Math.min;\n\n/**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\nfunction createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision && nativeIsFinite(number)) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n}\n\nmodule.exports = createRound;\n","var createRound = require('./_createRound');\n\n/**\n * Computes `number` rounded to `precision`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Math\n * @param {number} number The number to round.\n * @param {number} [precision=0] The precision to round to.\n * @returns {number} Returns the rounded number.\n * @example\n *\n * _.round(4.006);\n * // => 4\n *\n * _.round(4.006, 2);\n * // => 4.01\n *\n * _.round(4060, -2);\n * // => 4100\n */\nvar round = createRound('round');\n\nmodule.exports = round;\n","var baseSum = require('./_baseSum'),\n identity = require('./identity');\n\n/**\n * Computes the sum of the values in `array`.\n *\n * @static\n * @memberOf _\n * @since 3.4.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {number} Returns the sum.\n * @example\n *\n * _.sum([4, 2, 8, 6]);\n * // => 20\n */\nfunction sum(array) {\n return (array && array.length)\n ? baseSum(array, identity)\n : 0;\n}\n\nmodule.exports = sum;\n","var baseUniq = require('./_baseUniq');\n\n/**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\nfunction uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n}\n\nmodule.exports = uniq;\n","// extracted by mini-css-extract-plugin\nexport default {\"Variant--solid\":\"yEK9biWpMxeKit4W3SEn\",\"Variant--primary\":\"HIBx2TMQpGodNFRbYUAk\",\"Variant--secondary\":\"hk2sUgQrAH9UK8YJmMUQ\",\"Variant--tertiary\":\"LVwfmt8Qy2xfZW7GrHx_\",\"Variant--red\":\"ivQTZ0V5t2YuYK5Qpk4D\",\"Variant--legacyPrimary\":\"qUo0GcsHJo5KTx2OLXFs\",\"Variant--outline\":\"AMdryBi_G8WFVbcuUzSv\",\"Variant--clear\":\"NtmtjnwY8FdZxOUBkRwT\",\"Variant--xSmall\":\"vig35dbpPkTmO944SAkM\",\"Variant--responsiveFromXSmallToSmall\":\"QBEt0HHyiENeo4C99_KK\",\"Variant--small\":\"HdV_AOE4D0H4dDOGneuZ\",\"Variant--responsiveFromSmallToMedium\":\"gnwHhMF21kTUQhGmA_GV\",\"Variant--responsiveFromSmallToLarge\":\"wyUhxzdCNOoIbxwuJ88A\",\"Variant--responsiveFromMediumToSmall\":\"wmwaxVhV5DtqaahJfW48\",\"Variant--responsiveFromMediumToLarge\":\"DKSTnxlifpUboSUUkkBn\",\"Variant--responsiveFromLargeToSmall\":\"Cq7zjNdjnEgUyXZm8rWy\",\"Variant--large\":\"Pf5HgbFCxXwoDDfyfLsp\",\"Variant--responsiveFromLargeToXLarge\":\"gi055KUm9OAjwL1tWkgX\",\"Variant--xLarge\":\"aRoFX7mW8Ru2eLodlj6k\",\"Variant--rounded\":\"I0dQ9KoNo8oj51pfedVE\",\"Variant--shadowed\":\"cJMgeHEGyMPOPNoeRPfY\"};"],"names":["AlertSectionVariant","KristianiaLogoVariant","GlobalContextProvider","getProperty","selector","GLOBAL_CONTEXT","getLogoSettings","_GlobalContextProvide","config","logoSettings","headerVariant","Default","defaultAltText","getFrontendSettings","_GlobalContextProvide2","frontendSettings","checkboxVariant","CheckboxVariant","getContentLanguage","_GlobalContextProvide3","mapToLanguageCode","contentLanguage","getMyPageGlobalConfiguration","myPageGlobalConfiguration","isSpaPage","isModernPage","getContentLocale","mapToLocale","ExecutionContext","IsServerSide","window","ThrowIfServerSide","Error","ThemeContext","React","ThemeContextProvider","props","theme","children","Provider","value","useTheme","context","pageTheme","themeModernValues","themeDefaultValues","getPageTheme","MessageBroker","subscribe","handler","messageId","handlers","this","MessageHandlersByMessageId","push","unsubscribe","filter","h","publish","message","GetMessageHandlers","id","forEach","handle","schedulePublish","delay","setTimeout","Message","constructor","Event","AccordionExpander","expanded","iconType","variant","color","className","otherProps","_objectWithoutProperties","_excluded","Button","_extends","type","ButtonType","Clear","classNames","styles","concat","ButtonContent","Content","SvgIcon","iconName","resolveIcon","assertNever","Icon","AccordionItem","index","contentClassName","externallyExpanded","contentSpacing","lazyRender","initialExpanded","isExpandable","withRoundedCorners","withBoxShadow","setExpanded","accordionId","uniqueId","content","onToggleClick","onCollapsed","useAccordionContentRenderer","lazy","shouldRenderContent","setShouldRenderContent","onHeaderClicked","renderExpander","baseExpanderProps","onClick","disabled","undefined","headerContent","expanderClassName","renderCustomExpander","Collapse","isOpen","onRest","ContentInner","AlertSection","contextualTheme","sizeVariant","header","headerClassName","headerType","getIconName","Success","Warning","Header","Body","BookmarkTabs","label","tabs","onSelect","currentlySelectedTab","useHistoryState","TabList","name","Tabs","map","tabProps","tabLabel","isSelected","Tab","key","tabKey","selected","TabLabel","BookmarkContainer","tabsLabel","setSelectedTab","upperDescription","HiddenTabContent","hasMoreThanOneTab","length","tabsStyles","ContainerWithTabBottomHack","Wrapper","UpperSection","UpperDescription","TabPanel","HiddenContent","tab","ref","passThroughProps","ThemedButton","RawButton","size","tier","htmltype","_excluded2","additionalProps","_excluded3","ButtonSize","ButtonTier","getHeight","current","scrollHeight","withMarginTransition","rest","toggleStyles","style","height","setHeight","useState","overflow","setOverflow","visibility","setVisibility","isMounted","useIsMounted","useEffect","requestAnimationFrame","useCollapse","_objectSpread","willChange","onTransitionEnd","event","target","propertyName","ComboSelectorButtonGroup","labelId","onChange","options","currentValue","colorVariant","buttonTier","Tertiary","Primary","Array","from","_ref","buttonLabel","buttonType","Solid","Outline","Medium","Select","defaultValue","placeholder","restProps","hasLabel","htmlFor","Label","Inner","Native","e","optionLabel","ComboSelectorDropdown","getSelectVariant","ComboSelectorRadioGroup","radioVariant","RadioGroup","radioLabel","Radio","ComboSelector","selectSwitchCallback","isMobile","useWindowWidthDetection","condition","breakpoint","MediaBreakpoints","Tablet","partialsPropsBase","comboSelectorColorVariant","HtmlDiv","html","restDivProps","dangerouslySetInnerHTML","__html","axiosWrapper","axios","create","paramsSerializer","indexes","interceptors","request","use","headers","set","Link","filteredProps","omitProperty","elementToRender","LinkType","ThemedButtonLink","RawLink","labelClassName","LinkVariant","LegacyPrimary","buttonSize","Large","external","showIsExternal","buttonStyles","rel","ExternalIcon","ListComponent","items","renderItem","item","List","Language","englishLocale","language","English","Norwegian","code","portalContainerId","ClientSidePortal","portalContainer","document","getElementById","isAttachedToDOM","setIsAttachedToDOM","elementReference","createElement","appendChild","removeChild","portalContent","createPortal","Portal","ModalWrapper","isFocusTrapActive","isScrollLocked","close","shouldHideMainScrollBar","focusTrapDeactivationClose","buttonClickClose","isOpened","closeRef","useVariableWithStableRef","shouldDeactivateInvokeCloseRef","_closeRef$current","call","useCloseHandlersWithoutDuplicatedCalls","ScrollLock","isLocked","FocusTrap","active","focusTrapOptions","clickOutsideDeactivates","escapeDeactivates","onDeactivate","tabIndex","PillTag","title","href","fontColor","baseProps","LinkLabel","fontType","useRadioGroupContext","htmlId","checked","Input","LabelOuter","currentGroupValue","setCurrentGroupValue","RadioGroupProvider","checkedId","radioGroupContext","iconPath","assetPathBuilder","SvgIconBase","path","xlinkHref","filled","arguments","formattedIconName","iconNameMapper","formattedAssetsPath","formatPath","assetsPath","formattedBuildHash","buildHash","filledResources","buttonRef","hasUserInteractedRef","buildTabId","panelId","buildTabPanelId","scrollToElement","role","handleFocusChange","element","focus","preventDefault","onKeyDown","keyCode","Key","LeftArrow","RightArrow","tabbableDescendants","tabbable","currentFocusedElement","find","el","activeElement","previousSibling","nextSibling","replaceNotFriendlyCharacters","toString","toLowerCase","_","isInterchangeable","object","_len","args","_key","omit","checkEquals","a","b","JSON","stringify","async","makePostRequestOld","url","params","post","objectAssignToEmptyFields","source","fields","Object","entries","reduce","acc","oldVal","newVal","cloneArrayAndUpdateSingleItem","updateFunction","indexOf","updatedItem","slice","moneyToString","money","amountFormatted","formatAmount","amount","currencyFormatted","formatCurrency","currencyCode","parts","split","replace","join","currency","formatNumber","toLocaleString","redirect","location","origin","reload","ms","Promise","resolve","behavior","block","inline","scrollIntoView","smoothScrollToSectionById","section","smoothScrollToSectionByRef","scrollToTop","scrollTo","isTruthy","getCurrentUrl","toUrl","URL","protocol","hostname","port","copyTextToClipboard","text","navigator","clipboard","writeText","textArea","top","left","position","body","select","execCommand","legacyCopyTextToClipboard","combineValidAttributeValues","_len2","values","_key2","validValues","createArray","factory","count","str","capitalize","toUpperCase","getLastElementOfArray","array","stripFromHTMLNode","rawHtml","node","RegExp","firstKey","result","keys","next","done","hasAny","predicate","isSafari","userAgent","includes","findClosestParent","potentialResult","parentElement","isInteractiveElement","normalizedTagName","tagName","hasAttribute","hashValue","data","TextEncoder","encode","hashBuffer","crypto","subtle","digest","Uint8Array","num","padStart","isErrorWithName","error","errorName","urlJoin","_len3","_key3","FormattedText","format","template","match","animationDurationMs","setValue","currentState","history","state","storedValue","replaceState","setIsMounted","variable","variableRef","useRef","matchesOptions","setMatchesOptions","handleResize","matches","CheckIfWidthMatchesOptions","width","lowerBreakpoint","upperBreakpoint","getWindowSize","innerWidth","innerHeight","addEventListener","removeEventListener","getDependencies","Mobile","Desktop","DesktopHD","lockedClassName","hiddenScrollBarClassName","scrollPosition","setScrollPosition","scrollPositionRef","scrollY","pageYOffset","unlock","classList","remove","paddingRight","ScrollLockUpdated","contains","scrollBarWidth","offsetWidth","add","isScrollBarVisible","lock","super","themeRoundedCornersValues","isSymbol","module","exports","iteratee","comparator","computed","other","root","toInteger","toNumber","nativeIsFinite","isFinite","nativeMin","Math","min","methodName","func","number","precision","pair","round","createRound","baseSum","identity","baseUniq"],"sourceRoot":""}