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,IAAK,WACD,OACI9D,EAAAA,cAAAA,EAAAA,SAAA,KACK+D,GACG/D,EAAAA,cAACuE,EAAAA,EAAa,CACVC,kBAAmBxE,EAAAA,cAACgD,EAAAA,EAAO,CAACE,SAAS,cAAcjD,UAAW4D,MAC9DY,eAAgB,CACZC,cAAeC,EACf1E,UAAW4D,KAEfe,sBAAuBrB,IAG9BS,GACGhE,EAAAA,cAACuE,EAAAA,EAAa,CACVC,kBAAmBxE,EAAAA,cAACgD,EAAAA,EAAO,CAACE,SAAS,OAAOjD,UAAW6D,MACvDW,eAAgB,CACZC,cAAeG,EACf5E,UAAW6D,KAEfc,sBAAuBrB,KAK3C,SACIuB,EAAAA,EAAAA,GAAYrF,GACpB,EAMK4E,GACE,C,4FCpHR,MAAMC,EAAiE/E,IAC1E,MAAM,SAAE2D,EAAQ,UAAEjD,GAAcV,EAC1BwF,GAAWC,EAAAA,EAAAA,GAAiB9B,GAAU,GAE5C,OAAOlD,EAAAA,cAACiF,EAAAA,EAAW,CAACC,KAAMH,EAAU9E,UAAWA,GAAa,C","sources":["webpack://Kristiania.Web/./Features/Configuration/Hooks/useLogoSettings.ts","webpack://Kristiania.Web/./Features/Blocks/Footer/FooterVariant.csharp.ts","webpack://Kristiania.Web/./Features/Partials/Footer/Styles/Footer.module.css?4356","webpack://Kristiania.Web/./Features/Partials/Footer/Footer.tsx","webpack://Kristiania.Web/./Features/Partials/KristianiaLogo/utilsLottie.client.ts","webpack://Kristiania.Web/./Features/Partials/KristianiaLogo/KristianiaLogo.module.css?9403","webpack://Kristiania.Web/./Features/Partials/KristianiaLogo/KristianiaLogo.tsx","webpack://Kristiania.Web/./Features/Partials/SvgIcon/FilledSvgIcon.tsx"],"sourcesContent":["import { useMemo } from 'react';\nimport { GlobalContextProvider } from '~/Features/Configuration/GlobalContextProvider';\n\nexport const useLogoSettings = () => useMemo(() => GlobalContextProvider.getLogoSettings(), []);\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 FooterVariant {\n\tDefault = \"default\",\n\tRed = \"red\"\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"Footer\":\"GVYWwxDMBTZvOMQcTnwi\",\"SocialLinkIcon\":\"ncZ8gIC_kSYebFcKGJL1\",\"SocialLinksListItem\":\"YUbIEvXqeYIzY3Zqt5Bt\",\"Inner\":\"GNUyix0K0i1UMyaAoqig\",\"Logo\":\"aKVbWSFhSO4KR0arfUmg\",\"Heading\":\"MfmmKFACa2b7jgHxHgQ0\",\"Sections\":\"Ge9E4BIs46mYtiSDvA5U\",\"LinksSections\":\"lIUIURanLfi8MjTMWI9E\",\"LinksSection\":\"VTDXylUAijI54JXwHHj2\",\"LinksList\":\"A_j6yn6WPxF99e6Z9EIT\",\"LinksListItem\":\"W_fx21DD00jhBuN7cg5a\",\"SocialLinksSection\":\"WrIKsuXv98QZN_f2ygPY\",\"SocialLinksList\":\"QKOSZPQDolImqjBL7JFj\",\"Copyright\":\"JrYgtbpnCugpc7phl0H4\",\"Variant--default\":\"ESGWyt5dcCv47H4K6_zZ\",\"Variant--red\":\"MicruPNlpV8emUaHv882\"};","import classNames from 'classnames';\nimport uniqueId from 'lodash/uniqueId';\nimport * as React from 'react';\nimport { KristianiaLogo } from '../KristianiaLogo/KristianiaLogo';\nimport { Link } from '../Link/Link';\nimport { LinkType } from '../Link/LinkType.csharp';\nimport { LinkVariant } from '../Link/LinkVariant.csharp';\nimport { List } from '../List/List';\nimport { SvgIcon } from '../SvgIcon/SvgIcon';\nimport { FooterVariant } from '~/Blocks/Footer/FooterVariant.csharp';\nimport { useLogoSettings } from '~/Features/Configuration/Hooks/useLogoSettings';\nimport type { FooterProps } from './FooterProps.csharp';\nimport styles from './Styles/Footer.module.css';\n\nexport const Footer: React.FC> = props => {\n const { variant, sections, socialLinks, translations, copyright, startPageUrl } = props;\n\n const getLinkVariant = () => (variant === FooterVariant.Default ? LinkVariant.LightBlack : LinkVariant.Primary);\n\n const logoSettings = useLogoSettings();\n\n return (\n \n );\n};\n","export const loadLottieComponent = async () => {\n const lottie = await import('lottie-react');\n\n return lottie.default;\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"KristianiaLogo\":\"SOq3aos3MbDR1nypThpA\",\"Variant--medium\":\"NcSnoDe4vPDm93ronV7g\",\"Variant--symbol\":\"kHJBIYIb05_NFGed8mlp\",\"Variant--horizontal\":\"oZuOSvhMFNhy4NjiXFuk\",\"Variant--large\":\"G7BSPpJACr_flPdHa5Em\",\"Variant--white\":\"VvvXZuGwOP0ZVSmfdjI3\"};","import classNames from 'classnames';\nimport type { LottieComponentProps } from 'lottie-react';\nimport * as React from 'react';\nimport { SvgIcon } from '../SvgIcon/SvgIcon';\nimport type { LogoVariant } from '~/Partials/KristianiaLogo/LogoVariant';\nimport { loadLottieComponent } from '~/Partials/KristianiaLogo/utilsLottie.client';\nimport { FilledSvgIcon } from '~/Partials/SvgIcon/FilledSvgIcon';\nimport { assertNever } from '~/Partials/Utils/typeUtils';\nimport LogoHorizontalBlack from '~/Static/Images/AnimatedLogos/logo-horizontal-black.json';\nimport LogoSymbolBlack from '~/Static/Images/AnimatedLogos/logo-symbol-black.json';\nimport { LazyComponent } from '~/Utils/Lazy/LazyComponent';\nimport styles from './KristianiaLogo.module.css';\n\nexport interface KristianiaBaseLogoProps {\n label: string;\n variant?: LogoVariant;\n color?: 'white' | 'black';\n}\n\nexport interface KristianiaPredefinedSizeLogoProps {\n size: 'medium' | 'large';\n}\n\nexport interface KristianiaCustomSizeLogoProps {\n size: 'custom';\n width: number;\n height: number;\n}\n\nexport interface KristianiaFixedLogoProps {\n type: 'fixed';\n version: 'horizontal' | 'symbol';\n}\n\nexport interface KristianiaResponsiveLogoProps {\n type: 'responsive';\n}\n\nexport type KristianiaLogoProps = KristianiaBaseLogoProps &\n (KristianiaFixedLogoProps | KristianiaResponsiveLogoProps) &\n (KristianiaPredefinedSizeLogoProps | KristianiaCustomSizeLogoProps);\n\nexport const KristianiaLogo: React.FC = props => {\n const { label, type, variant = 'default', color = 'black', size } = props;\n\n const resolveStyles = (): React.CSSProperties | undefined => {\n if (size === 'custom') {\n const { width, height } = props;\n\n return {\n '--logoWidth': `${width}px`,\n '--logoHeight': `${height}px`,\n } as React.CSSProperties;\n }\n\n return undefined;\n };\n\n const isColorful = variant === 'pride';\n\n const baseClassNames = classNames(\n styles.KristianiaLogo,\n size !== 'custom' && styles[`Variant--${size}`],\n !isColorful && styles[`Variant--${color}`]\n );\n\n const isResponsive = type === 'responsive';\n\n const getSymbolClasses = () => classNames(baseClassNames, styles['Variant--symbol'], isResponsive && 'mobileOnly');\n const getHorizontalClasses = () =>\n classNames(baseClassNames, styles['Variant--horizontal'], isResponsive && 'tabletAndUp');\n\n const shouldRenderSymbol = isResponsive || (type === 'fixed' && props.version === 'symbol');\n const shouldRenderHorizontal = isResponsive || (type === 'fixed' && props.version === 'horizontal');\n\n const getContent = () => {\n switch (variant) {\n case 'default':\n return (\n <>\n {shouldRenderSymbol && }\n {shouldRenderHorizontal && }\n \n );\n case 'pride':\n return (\n <>\n {shouldRenderSymbol && (\n \n )}\n {shouldRenderHorizontal && (\n \n )}\n \n );\n case 'animated':\n return (\n <>\n {shouldRenderSymbol && (\n \n fallbackComponent={}\n componentProps={{\n animationData: LogoSymbolBlack,\n className: getSymbolClasses(),\n }}\n importComponentMethod={loadLottieComponent}\n />\n )}\n {shouldRenderHorizontal && (\n \n fallbackComponent={}\n componentProps={{\n animationData: LogoHorizontalBlack,\n className: getHorizontalClasses(),\n }}\n importComponentMethod={loadLottieComponent}\n />\n )}\n \n );\n default:\n assertNever(variant);\n }\n };\n\n return (\n \n {label}\n {getContent()}\n \n );\n};\n","import type { FC } from 'react';\nimport React from 'react';\nimport type { FilledIconsEnum } from '~/Features/FilledIconsEnum.csharp';\nimport { SvgIconBase } from './SvgIconBase';\nimport { assetPathBuilder } from './Utils/Utils';\n\nexport type FilledIconName = `${FilledIconsEnum}`;\n\ninterface FilledSvgIconProps {\n iconName: FilledIconName;\n className?: string;\n}\n\nexport const FilledSvgIcon: FC> = props => {\n const { iconName, className } = props;\n const iconPath = assetPathBuilder(iconName, true);\n\n return ;\n};\n"],"names":["useLogoSettings","useMemo","GlobalContextProvider","getLogoSettings","FooterVariant","Footer","props","_socialLinks$heading","variant","sections","socialLinks","translations","copyright","startPageUrl","logoSettings","React","className","classNames","styles","concat","Inner","Link","type","LinkType","Clear","href","Logo","KristianiaLogo","label","defaultAltText","version","color","size","Sections","List","LinksSections","items","renderItem","section","length","LinksSection","key","uniqueId","Heading","heading","LinksList","item","linkUrl","title","Default","LinkVariant","LightBlack","Primary","LinksListItem","links","SocialLinksSection","socialMediaHeading","SocialLinksList","_extends","link","external","showIsExternal","SocialLinksListItem","SvgIcon","SocialLinkIcon","iconName","icon","Copyright","year","name","loadLottieComponent","async","default","isColorful","baseClassNames","isResponsive","getSymbolClasses","getHorizontalClasses","shouldRenderSymbol","shouldRenderHorizontal","style","resolveStyles","width","height","getContent","FilledSvgIcon","LazyComponent","fallbackComponent","componentProps","animationData","LogoSymbolBlack","importComponentMethod","LogoHorizontalBlack","assertNever","iconPath","assetPathBuilder","SvgIconBase","path"],"sourceRoot":""}