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EAAAA,IAAW,aAGXX,GAKAiB,EAAUhB,EAAAA,GAAAA,IAAAA,WAAU,0EAAVA,CAAU,4EAMpBc,EAAQd,EAAAA,GAAAA,GAAAA,WAAS,wEAATA,CAAS,gGACnB4B,EAAAA,GACO1B,EAAAA,EAAAA,OAMLH,GAKA2D,EAAc1D,EAAAA,GAAAA,EAAAA,WAAQ,8EAARA,CAAQ,yBACxBiB,EAAAA,IAGEa,EAAa9B,EAAAA,GAAAA,IAAAA,WAAU,6EAAVA,CAAU,8FAQvB2D,EAAgB3D,EAAAA,GAAAA,KAAAA,WAAW,gFAAXA,CAAW,yEAC7BQ,EAAAA,EAAAA,OAAAA,KAGON,EAAAA,EAAAA,QAGL8B,EAAUhC,EAAAA,GAAAA,IAAAA,WAAU,0EAAVA,CAAU,2DAWbY,EAAwB,CACjCkB,aACA/B,YACAiB,UACAiB,KATQjC,EAAAA,EAAAA,IAAOT,EAAAA,IAAW,iFAAlBS,CAAkB,+BAU1BgC,UACA0B,cACAC,gBACArD,eACAmD,cACA3C,Q,8EC5FJ,MAmBaW,EAAiB,CAC1B1B,WApBcC,EAAAA,EAAAA,IAAO4D,EAAAA,GAAe,+EAAtB5D,CAAsB,MAqBpC6D,MApBU7D,EAAAA,GAAAA,IAAAA,WAAU,gEAAVA,CAAU,sQACbwB,EAAAA,EAAAA,IAAKpB,EAAAA,GAAAA,aACV0D,EAAAA,IAMKtC,EAAAA,EAAAA,IAAKpB,EAAAA,GAAAA,SAMLoB,EAAAA,EAAAA,IAAKpB,EAAAA,GAAAA,c","sources":["webpack://royal-geographical-society/./src/helpers/image.ts","webpack://royal-geographical-society/./src/helpers/trackingClasses.ts","webpack://royal-geographical-society/./src/stories/Components/Buttons/Button/Button.tsx","webpack://royal-geographical-society/./src/stories/Components/Cards/ArticleCard/ArticleCard.styles.ts","webpack://royal-geographical-society/./src/stories/Components/Cards/CtaCard/CtaCard.styles.ts","webpack://royal-geographical-society/./src/stories/Components/Cards/EventCard/EventCard.styles.ts","webpack://royal-geographical-society/./src/stories/Components/Cards/EventCard/EventCard.tsx","webpack://royal-geographical-society/./src/stories/Components/Cards/InformationCard/InformationCard.styles.ts","webpack://royal-geographical-society/./src/stories/Widgets/CtaCards/CtaCards.styles.ts"],"sourcesContent":["import queryString from 'query-string';\r\n/**\r\n * Create an image URL for ImageProcessor\r\n * @param image The image model\r\n * @param imageParams The image parameters\r\n * @returns The image URL\r\n */\r\nexport function imageUrl(image, imageParams) {\r\n if (!image || !image.src) {\r\n return '';\r\n }\r\n /**\r\n * Remove any query param string to ensure paramsString is applied correctly and\r\n * there are no double definitions (setting a param twice prevents any tranformations)\r\n */\r\n const imageSource = image.src.split('?')[0];\r\n const params = {\r\n rxy: image.focalPoint ? `${image.focalPoint.left},${image.focalPoint.top}` : undefined,\r\n ...imageParams,\r\n };\r\n const paramsString = queryString.stringify(params);\r\n return `${imageSource}${paramsString ? `?${queryString.stringify(params)}` : ''}`;\r\n}\r\nexport function getSrcs(image, upper, lower, steps, ratio, params) {\r\n const sizes = getRange(upper, lower, steps);\r\n return sizes.map((size) => `${imageUrl(image, {\r\n width: size,\r\n height: ratio ? size * ratio : undefined,\r\n ...params,\r\n })} ${size}w`);\r\n}\r\nfunction getRange(upper, lower, steps) {\r\n const difference = upper - lower;\r\n const increment = difference / (steps - 1);\r\n return [\r\n lower,\r\n ...Array(steps - 2)\r\n .fill('')\r\n .map((_, index) => Math.ceil(lower + increment * (index + 1))),\r\n upper,\r\n ];\r\n}\r\n","export const ctaClasses = {\r\n buttons: 'cta-buttons-all',\r\n cards: 'cta-cards-all',\r\n homepageBanner: 'cta-hp-banner',\r\n};\r\n","import * as React from 'react';\r\nimport { ButtonStyles } from './Button.styles';\r\nimport { ctaClasses } from '@helpers/trackingClasses';\r\nconst Button = ({ addon, addonPosition = 'right', theme, buttonSize = 'large', className, disabled, solidInvert = false, styleType, title, type = 'button', onClick, ...otherProps }) => {\r\n return (React.createElement(ButtonStyles.Button, { className: className, type: type, disabled: disabled, \"data-element-theme\": theme, \"data-element-size\": buttonSize, \"data-solid-invert\": solidInvert, styleType: styleType, iconPosition: addonPosition, onClick: onClick, ...otherProps }, renderSharedButton(title, addon, addonPosition)));\r\n};\r\nconst LinkButton = ({ addon, addonPosition = 'right', theme, buttonSize = 'large', className, href, solidInvert = false, styleType, target = '_self', title, id, ...otherProps }) => {\r\n return (React.createElement(ButtonStyles.Button, { as: \"a\", className: [className, ctaClasses.buttons].join(' '), href: href, target: target, \"data-element-theme\": theme, \"data-element-size\": buttonSize, \"data-solid-invert\": solidInvert, styleType: styleType, iconPosition: addonPosition, id: id, ...otherProps }, renderSharedButton(title, addon, addonPosition)));\r\n};\r\nconst FakeButton = ({ addon, addonPosition = 'right', theme, buttonSize = 'large', solidInvert = false, styleType, title, ...otherProps }) => {\r\n return (React.createElement(ButtonStyles.Button, { as: \"div\", \"data-element-theme\": theme, \"data-element-size\": buttonSize, \"data-solid-invert\": solidInvert, styleType: styleType, iconPosition: addonPosition, ...otherProps }, renderSharedButton(title, addon, addonPosition)));\r\n};\r\nexport { FakeButton, LinkButton, Button as default };\r\nfunction renderSharedButton(title, addon, addonPosition) {\r\n return (React.createElement(React.Fragment, null,\r\n addon && addonPosition === 'left' && (React.createElement(ButtonStyles.Icon, { position: addonPosition }, addon)),\r\n React.createElement(ButtonStyles.Text, null, title),\r\n addon && addonPosition === 'right' && (React.createElement(ButtonStyles.Icon, { position: addonPosition }, addon))));\r\n}\r\n","import { transition } from '@helpers/animate';\r\nimport brand, { ThemeOption } from '@helpers/brand';\r\nimport fonts from '@helpers/fonts';\r\nimport { Device, from, until } from '@helpers/media';\r\nimport { h4, paragraphSmall } from '@helpers/typography';\r\nimport { rgba } from 'polished';\r\nimport styled from 'styled-components';\r\nimport { CtaCardStyles } from '../CtaCard/CtaCard.styles';\r\nimport { InformationCardStyles } from '../InformationCard/InformationCard.styles';\r\nconst Container = styled.div `\r\n display: flex;\r\n flex-direction: column;\r\n box-shadow: 0 0 6px ${rgba(brand.black, 0.16)};\r\n color: inherit;\r\n text-decoration: none;\r\n\r\n &[data-featured] {\r\n display: grid;\r\n grid-template-columns: repeat(2, 1fr);\r\n margin-bottom: 30px;\r\n box-shadow: none;\r\n\r\n @media ${until(Device.TabletSmall)} {\r\n display: none;\r\n }\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.Orange}] {\r\n --themeColor: ${brand.orange};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.Blue}] {\r\n --themeColor: ${brand.blue};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.Purple}] {\r\n --themeColor: ${brand.purple};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.Red}] {\r\n --themeColor: ${brand.red};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.Green}] {\r\n --themeColor: ${brand.green.default};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.DarkGreen}] {\r\n --themeColor: ${brand.green.dark};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.Teal}] {\r\n --themeColor: ${brand.teal};\r\n }\r\n`;\r\nconst ImageWrapper = styled.div `\r\n position: relative;\r\n aspect-ratio: 46 / 35;\r\n overflow: hidden;\r\n\r\n ${Container}[data-featured] & {\r\n aspect-ratio: auto;\r\n }\r\n\r\n &::before {\r\n content: '';\r\n position: absolute;\r\n top: 25px;\r\n left: 0;\r\n width: 100%;\r\n height: 2px;\r\n background-color: ${brand.white};\r\n z-index: 1;\r\n pointer-events: none;\r\n }\r\n`;\r\nconst CategoryTag = styled.span `\r\n position: absolute;\r\n top: 8px;\r\n left: 0;\r\n padding: 9px 12px 7px;\r\n ${fonts.agBook.bold};\r\n font-size: 14px;\r\n line-height: 18px;\r\n color: ${brand.white};\r\n text-transform: uppercase;\r\n background-color: var(--themeColor);\r\n z-index: 1;\r\n`;\r\nconst Image = styled.img `\r\n max-width: none;\r\n width: 100%;\r\n height: auto;\r\n ${transition('transform')};\r\n will-change: transform, contents !important;\r\n transform-origin: 50% 50%;\r\n\r\n ${Container}:is(a):hover & {\r\n transform: scale(1.1);\r\n }\r\n\r\n ${Container}[data-featured] & {\r\n height: 100%;\r\n object-fit: cover;\r\n }\r\n`;\r\nconst CardContent = styled(InformationCardStyles.Content) `\r\n ${Container}[data-featured] & {\r\n background-color: var(--themeColor);\r\n padding: 20px 30px;\r\n }\r\n`;\r\nconst NewsCardContent = styled(CardContent) `\r\n position: relative;\r\n padding-bottom: 76px;\r\n`;\r\nconst Title = styled.h4 `\r\n ${h4};\r\n margin-bottom: 12px;\r\n\r\n a {\r\n color: inherit;\r\n text-decoration: none;\r\n\r\n &:hover {\r\n text-decoration: underline;\r\n }\r\n }\r\n\r\n ${Container}:is(a):hover & {\r\n text-decoration: underline;\r\n }\r\n\r\n ${Container}[data-featured] & {\r\n font-size: 32px;\r\n line-height: 38px;\r\n color: ${brand.white};\r\n }\r\n`;\r\nconst Content = styled.p `\r\n ${paragraphSmall};\r\n margin-bottom: 10px;\r\n\r\n ${Container}[data-featured] & {\r\n color: ${brand.white};\r\n }\r\n`;\r\nconst ArticleInfo = styled.div ``;\r\nconst ArticleInfoItem = styled.div `\r\n display: flex;\r\n align-items: center;\r\n margin-top: 8px;\r\n font-size: 14px;\r\n line-height: 18px;\r\n text-transform: uppercase;\r\n color: var(--themeColor);\r\n\r\n ${Container}[data-featured] & {\r\n color: ${brand.white};\r\n }\r\n`;\r\nconst ArticleInfoItemIcon = styled.div `\r\n display: flex;\r\n align-items: center;\r\n width: 17px;\r\n margin-right: 7px;\r\n`;\r\nconst ArrowIcon = styled(CtaCardStyles.ArrowIcon) `\r\n top: auto;\r\n bottom: 20px;\r\n right: 20px;\r\n\r\n @media ${from(Device.MobileLarge)} {\r\n top: auto;\r\n bottom: 20px;\r\n\r\n ${Container}[data-featured] & {\r\n right: 30px;\r\n }\r\n }\r\n\r\n ${Container}[data-featured] & {\r\n background-color: ${brand.white};\r\n\r\n svg {\r\n path:first-child {\r\n stroke: var(--themeColor);\r\n }\r\n }\r\n }\r\n`;\r\nexport const ArticleCardStyles = {\r\n ArrowIcon,\r\n CardContent,\r\n CategoryTag,\r\n Container,\r\n Content,\r\n ArticleInfo,\r\n ArticleInfoItem,\r\n ArticleInfoItemIcon,\r\n Image,\r\n ImageWrapper,\r\n NewsCardContent,\r\n Title,\r\n};\r\n","import { transition } from '@helpers/animate';\r\nimport brand, { ThemeOption } from '@helpers/brand';\r\nimport { Device, between, from, until } from '@helpers/media';\r\nimport { h3, paragraphSmall } from '@helpers/typography';\r\nimport { CtaCardsStyles } from '@stories/Widgets/CtaCards/CtaCards.styles';\r\nimport { rgba } from 'polished';\r\nimport styled from 'styled-components';\r\nconst Container = styled.a `\r\n display: block;\r\n color: inherit;\r\n text-decoration: none;\r\n margin-top: 40px;\r\n\r\n &:first-child {\r\n margin-top: 0;\r\n }\r\n\r\n @media ${from(Device.MobileLarge)} {\r\n margin-top: 0;\r\n\r\n &:first-child {\r\n ${CtaCardsStyles.Container}[data-featured=true] & {\r\n grid-column: span 2;\r\n display: grid;\r\n grid-template-columns: 48% 1fr;\r\n grid-column-gap: 0;\r\n border-top: 1px solid ${rgba(brand.orange, 0.6)};\r\n\r\n &[data-component-theme=${ThemeOption.Orange}] {\r\n border-top-color: ${rgba(brand.orange, 0.6)};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.Purple}] {\r\n border-top-color: ${rgba(brand.purple, 0.6)};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.Blue}] {\r\n border-top-color: ${rgba(brand.blue, 0.6)};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.Red}] {\r\n border-top-color: ${rgba(brand.red, 0.6)};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.Green}] {\r\n border-top-color: ${rgba(brand.green.default, 0.6)};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.DarkGreen}] {\r\n border-top-color: ${rgba(brand.green.dark, 0.6)};\r\n }\r\n\r\n &[data-component-theme=${ThemeOption.Teal}] {\r\n border-top-color: ${rgba(brand.teal, 0.6)};\r\n }\r\n }\r\n }\r\n }\r\n\r\n @media ${between(Device.Tablet, Device.TabletLarge)} {\r\n &:first-child {\r\n ${CtaCardsStyles.Container}[data-featured=true] & {\r\n grid-column: span 3;\r\n }\r\n }\r\n }\r\n`;\r\nconst Image = styled.img `\r\n height: auto;\r\n\r\n @media ${from(Device.MobileLarge)} {\r\n ${Container}:first-child & {\r\n ${CtaCardsStyles.Container}[data-featured=true] & {\r\n height: 100%;\r\n width: 100%;\r\n object-fit: cover;\r\n }\r\n }\r\n }\r\n\r\n @media ${until(Device.MobileLarge)} {\r\n height: 100%;\r\n width: 100%;\r\n object-fit: cover;\r\n }\r\n`;\r\nconst ContentWrapper = styled.div `\r\n position: relative;\r\n padding: 20px 6px 20px;\r\n border-bottom: 1px solid ${rgba(brand.orange, 0.6)};\r\n\r\n ${Container}[data-component-theme=${ThemeOption.Orange}] & {\r\n --themeColor: ${brand.orange};\r\n border-bottom-color: ${rgba(brand.orange, 0.6)};\r\n border-top-color: ${rgba(brand.orange, 0.6)};\r\n }\r\n\r\n ${Container}[data-component-theme=${ThemeOption.Purple}] & {\r\n --themeColor: ${brand.purple};\r\n border-bottom-color: ${rgba(brand.purple, 0.6)};\r\n border-top-color: ${rgba(brand.purple, 0.6)};\r\n }\r\n\r\n ${Container}[data-component-theme=${ThemeOption.Blue}] & {\r\n --themeColor: ${brand.blue};\r\n border-bottom-color: ${rgba(brand.blue, 0.6)};\r\n border-top-color: ${rgba(brand.blue, 0.6)};\r\n }\r\n\r\n ${Container}[data-component-theme=${ThemeOption.Red}] & {\r\n --themeColor: ${brand.red};\r\n border-bottom-color: ${rgba(brand.red, 0.6)};\r\n border-top-color: ${rgba(brand.red, 0.6)};\r\n }\r\n\r\n ${Container}[data-component-theme=${ThemeOption.Green}] & {\r\n --themeColor: ${brand.green.default};\r\n border-bottom-color: ${rgba(brand.green.default, 0.6)};\r\n border-top-color: ${rgba(brand.green.default, 0.6)};\r\n }\r\n\r\n ${Container}[data-component-theme=${ThemeOption.DarkGreen}] & {\r\n --themeColor: ${brand.green.dark};\r\n border-bottom-color: ${rgba(brand.green.dark, 0.6)};\r\n border-top-color: ${rgba(brand.green.dark, 0.6)};\r\n }\r\n\r\n ${Container}[data-component-theme=${ThemeOption.Teal}] & {\r\n --themeColor: ${brand.teal};\r\n border-bottom-color: ${rgba(brand.teal, 0.6)};\r\n border-top-color: ${rgba(brand.teal, 0.6)};\r\n }\r\n\r\n @media ${from(Device.MobileLarge)} {\r\n padding: 31px 6px 30px;\r\n\r\n ${Container}:first-child & {\r\n ${CtaCardsStyles.Container}[data-featured=true] & {\r\n padding: 31px 60px 60px 36px;\r\n }\r\n }\r\n }\r\n`;\r\nconst Title = styled.h2 `\r\n ${h3};\r\n margin-bottom: 0;\r\n padding-right: 60px;\r\n color: var(--themeColor);\r\n\r\n @media ${from(Device.MobileLarge)} {\r\n ${Container}:first-child & {\r\n ${CtaCardsStyles.Container}[data-featured=true] & {\r\n padding-right: 0;\r\n }\r\n }\r\n }\r\n`;\r\nconst ArrowIcon = styled.div `\r\n position: absolute;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n top: 13px;\r\n right: 6px;\r\n width: 40px;\r\n height: 40px;\r\n border-radius: 100%;\r\n background-color: var(--themeColor);\r\n\r\n @media ${from(Device.MobileLarge)} {\r\n top: 26px;\r\n\r\n ${Container}:first-child & {\r\n ${CtaCardsStyles.Container}[data-featured=true] & {\r\n top: auto;\r\n bottom: 24px;\r\n }\r\n }\r\n }\r\n\r\n svg {\r\n width: 26px;\r\n height: 26px;\r\n color: ${brand.white};\r\n\r\n path {\r\n ${transition('stroke-width')}\r\n\r\n ${Container}:hover & {\r\n stroke-width: 5;\r\n }\r\n }\r\n }\r\n`;\r\nconst Content = styled.p `\r\n ${paragraphSmall};\r\n font-size: 18px;\r\n margin: 1.5em auto 0;\r\n\r\n ${CtaCardsStyles.Container}[data-hide-descriptions=true] & {\r\n display: none;\r\n }\r\n\r\n ${Container}:first-child & {\r\n ${CtaCardsStyles.Container}[data-featured=true][data-hide-descriptions=true] & {\r\n display: block;\r\n }\r\n }\r\n`;\r\nexport const CtaCardStyles = {\r\n ArrowIcon,\r\n Container,\r\n Content,\r\n ContentWrapper,\r\n Image,\r\n Title,\r\n};\r\n","import { transition } from '@helpers/animate';\r\nimport brand from '@helpers/brand';\r\nimport { paragraphSmall } from '@helpers/typography';\r\nimport { LinkButton } from '@stories/Components/Buttons/Button/Button';\r\nimport styled from 'styled-components';\r\nimport { ArticleCardStyles } from '../ArticleCard/ArticleCard.styles';\r\nimport { InformationCardStyles } from '../InformationCard/InformationCard.styles';\r\nconst Container = styled(ArticleCardStyles.Container) ``;\r\nconst ImageWrapper = styled(ArticleCardStyles.ImageWrapper) ``;\r\nconst CategoryTag = styled(ArticleCardStyles.CategoryTag) ``;\r\nconst ImageLink = styled.a ``;\r\nconst Image = styled.img `\r\n max-width: none;\r\n width: 100%;\r\n height: auto;\r\n ${transition('transform')};\r\n transform-origin: 50% 50%;\r\n\r\n ${ImageLink}:hover &,\r\n ${Container}:is(a):hover & {\r\n transform: scale(1.1);\r\n }\r\n\r\n ${Container}[data-featured] & {\r\n height: 100%;\r\n object-fit: cover;\r\n }\r\n`;\r\nconst CardContent = styled(InformationCardStyles.Content) `\r\n ${Container}[data-featured] & {\r\n background-color: var(--themeColor);\r\n padding: 20px 30px;\r\n }\r\n`;\r\nconst Title = styled(ArticleCardStyles.Title) ``;\r\nconst Content = styled.p `\r\n ${paragraphSmall};\r\n margin-bottom: 10px;\r\n\r\n ${Container}[data-featured] & {\r\n color: ${brand.white};\r\n }\r\n`;\r\nconst ArticleInfo = styled.div ``;\r\nconst ArticleInfoItem = styled(ArticleCardStyles.ArticleInfoItem) ``;\r\nconst ArticleInfoItemIcon = styled.div `\r\n display: flex;\r\n align-items: center;\r\n width: 17px;\r\n margin-right: 7px;\r\n`;\r\nconst CardFooter = styled(InformationCardStyles.CardFooter) ``;\r\nconst Price = styled(InformationCardStyles.HighlightText) `\r\n color: var(--themeColor);\r\n\r\n ${Container}[data-featured] & {\r\n color: ${brand.white};\r\n }\r\n`;\r\nconst CtaList = styled(InformationCardStyles.CtaList) ``;\r\nconst Cta = styled(LinkButton) `\r\n &&& {\r\n --buttonHeight: auto;\r\n }\r\n\r\n ${Container}[data-featured] & {\r\n --buttonFgColor: ${brand.white};\r\n --buttonBorderColor: ${brand.white};\r\n }\r\n`;\r\nconst AdditionalCta = styled(LinkButton) `\r\n &&& {\r\n --buttonHeight: auto;\r\n }\r\n`;\r\nexport const EventCardStyles = {\r\n AdditionalCta,\r\n CardContent,\r\n CardFooter,\r\n CategoryTag,\r\n Container,\r\n Content,\r\n Cta,\r\n CtaList,\r\n ArticleInfo,\r\n ArticleInfoItem,\r\n ArticleInfoItemIcon,\r\n Image,\r\n ImageLink,\r\n ImageWrapper,\r\n Price,\r\n Title,\r\n};\r\n","import { ThemeOption } from '@helpers/brand';\r\nimport { imageUrl } from '@helpers/image';\r\nimport { getSvgFromSystem, SystemIcon } from '@helpers/systemIcons';\r\nimport React from 'react';\r\nimport { EventCardStyles as S } from './EventCard.styles';\r\nconst EventCard = ({ categoryTag, content, cta, date, featured = false, hideImage = false, image, theme = ThemeOption.Orange, title, translations, additionalCta, location, memberAccessType, price, isTalksOnDemandPage = false, }) => {\r\n return (React.createElement(S.Container, { \"data-featured\": featured ? '' : null, \"data-component-theme\": theme },\r\n !hideImage && (React.createElement(S.ImageWrapper, null,\r\n categoryTag && React.createElement(S.CategoryTag, null, categoryTag),\r\n React.createElement(S.ImageLink, { href: cta?.url, target: cta?.target ?? '_self', id: cta?.id, title: title },\r\n React.createElement(S.Image, { alt: image.altText, loading: \"lazy\", role: image.altText ? undefined : 'presentation', src: featured\r\n ? imageUrl(image, { width: 564, height: 330 })\r\n : imageUrl(image, { width: 368, height: 280 }), width: featured ? '564' : '368', height: featured ? '330' : '280' })))),\r\n React.createElement(S.CardContent, null,\r\n React.createElement(S.Title, null,\r\n React.createElement(\"a\", { href: cta?.url, target: cta?.target ?? '_self', id: cta?.id, title: title }, title)),\r\n React.createElement(S.Content, null, content),\r\n (location || memberAccessType || date) && (React.createElement(S.ArticleInfo, null,\r\n location && (React.createElement(S.ArticleInfoItem, null,\r\n React.createElement(S.ArticleInfoItemIcon, null, getSvgFromSystem(SystemIcon.CardPin)),\r\n location)),\r\n memberAccessType && (React.createElement(S.ArticleInfoItem, null,\r\n React.createElement(S.ArticleInfoItemIcon, null, getSvgFromSystem(SystemIcon.User)),\r\n memberAccessType)),\r\n !isTalksOnDemandPage && date && (React.createElement(S.ArticleInfoItem, null,\r\n React.createElement(S.ArticleInfoItemIcon, null, getSvgFromSystem(SystemIcon.Calendar)),\r\n date)))),\r\n React.createElement(S.CardFooter, null,\r\n !isTalksOnDemandPage && price && React.createElement(S.Price, null, price),\r\n React.createElement(S.CtaList, null,\r\n React.createElement(S.Cta, { href: cta.url, target: cta.target ?? '_self', styleType: \"border\", buttonSize: \"small\", theme: theme, title: cta.text ?? translations['translations.global.btn.moreInfo'] }),\r\n additionalCta && (React.createElement(S.AdditionalCta, { href: additionalCta.url, target: additionalCta.target ?? '_self', id: additionalCta.id, styleType: \"solid\", buttonSize: \"small\", solidInvert: featured ? true : false, theme: theme ? theme : null, title: additionalCta.text ?? translations['translations.global.btn.bookNow'] })))))));\r\n};\r\n// export { EventCard as default, EventCard };\r\nexport default EventCard;\r\n","import { transition } from '@helpers/animate';\r\nimport brand from '@helpers/brand';\r\nimport fonts from '@helpers/fonts';\r\nimport { h3, paragraphSmall } from '@helpers/typography';\r\nimport { LinkButton } from '@stories/Components/Buttons/Button/Button';\r\nimport { rgba } from 'polished';\r\nimport styled from 'styled-components';\r\nconst Container = styled.div `\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n box-shadow: 0 0 6px ${rgba(brand.black, 0.16)};\r\n`;\r\nconst OverlayLink = styled.a `\r\n position: absolute;\r\n top: 0;\r\n width: 100%;\r\n height: 100%;\r\n z-index: 1;\r\n`;\r\nconst ImageWrapper = styled.div `\r\n position: relative;\r\n aspect-ratio: 46 / 35;\r\n overflow: hidden;\r\n\r\n img {\r\n max-width: none;\r\n width: 100%;\r\n height: auto;\r\n ${transition('transform')};\r\n transform-origin: 50% 50%;\r\n\r\n ${Container}:hover & {\r\n transform: scale(1.1);\r\n }\r\n }\r\n`;\r\nconst Content = styled.div `\r\n display: flex;\r\n flex-direction: column;\r\n flex-grow: 1;\r\n padding: 15px 20px 20px;\r\n`;\r\nconst Title = styled.h2 `\r\n ${h3};\r\n color: ${brand.orange};\r\n\r\n a {\r\n color: inherit;\r\n text-decoration: none;\r\n\r\n ${Container}:hover & {\r\n text-decoration: underline;\r\n }\r\n }\r\n`;\r\nconst Description = styled.p `\r\n ${paragraphSmall};\r\n margin-bottom: 0;\r\n`;\r\nconst CardFooter = styled.div `\r\n display: flex;\r\n align-items: center;\r\n flex-wrap: wrap;\r\n gap: 8px;\r\n margin-top: auto;\r\n padding-top: 10px;\r\n`;\r\nconst HighlightText = styled.span `\r\n ${fonts.agBook.bold};\r\n font-size: 16px;\r\n line-height: 19px;\r\n color: ${brand.orange};\r\n letter-spacing: -0.5px;\r\n`;\r\nconst CtaList = styled.div `\r\n display: flex;\r\n flex-wrap: wrap;\r\n gap: 8px;\r\n margin-left: auto;\r\n`;\r\nconst Cta = styled(LinkButton) `\r\n &&& {\r\n --buttonHeight: auto;\r\n }\r\n`;\r\nexport const InformationCardStyles = {\r\n CardFooter,\r\n Container,\r\n Content,\r\n Cta,\r\n CtaList,\r\n Description,\r\n HighlightText,\r\n ImageWrapper,\r\n OverlayLink,\r\n Title,\r\n};\r\n","import { baseGrid } from '@helpers/grid';\r\nimport { Device, from } from '@helpers/media';\r\nimport SectionWrapper from '@stories/Components/Global/SectionWrapper/SectionWrapper';\r\nimport styled from 'styled-components';\r\nconst Container = styled(SectionWrapper) ``;\r\nconst Inner = styled.div `\r\n @media ${from(Device.MobileLarge)} {\r\n ${baseGrid};\r\n grid-template-columns: repeat(2, minmax(0, 1fr));\r\n grid-column-gap: 24px;\r\n grid-row-gap: 40px;\r\n }\r\n\r\n @media ${from(Device.Tablet)} {\r\n grid-template-columns: repeat(3, minmax(0, 1fr));\r\n grid-column-gap: 36px;\r\n grid-row-gap: 60px;\r\n }\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n grid-template-columns: repeat(4, minmax(0, 1fr));\r\n }\r\n`;\r\nexport const CtaCardsStyles = {\r\n Container,\r\n Inner,\r\n};\r\n"],"names":["imageUrl","image","imageParams","src","imageSource","split","params","rxy","focalPoint","left","top","undefined","queryString","getSrcs","upper","lower","steps","ratio","sizes","increment","Array","fill","map","_","index","Math","ceil","getRange","size","width","height","ctaClasses","buttons","cards","homepageBanner","Button","addon","addonPosition","theme","buttonSize","className","disabled","solidInvert","styleType","title","type","onClick","otherProps","React","ButtonStyles","iconPosition","renderSharedButton","LinkButton","href","target","id","as","join","FakeButton","position","Container","styled","rgba","brand","until","Device","ThemeOption","ImageWrapper","CategoryTag","fonts","Image","transition","CardContent","InformationCardStyles","NewsCardContent","Title","h4","Content","paragraphSmall","ArticleInfo","ArticleInfoItem","ArticleInfoItemIcon","ArticleCardStyles","ArrowIcon","CtaCardStyles","from","CtaCardsStyles","between","ContentWrapper","h3","ImageLink","CardFooter","Price","CtaList","Cta","EventCardStyles","AdditionalCta","categoryTag","content","cta","date","featured","hideImage","translations","additionalCta","location","memberAccessType","price","isTalksOnDemandPage","S","url","alt","altText","loading","role","getSvgFromSystem","SystemIcon","text","OverlayLink","Description","HighlightText","SectionWrapper","Inner","baseGrid"],"sourceRoot":""}