{"version":3,"file":"index.B0wcQPfz.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-common/components/others/features/views/mobile/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/features/views/mobile/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/features/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/features/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/features/index.js"],"sourcesContent":["import { TitleMobileStyled } from '@babylon/ui-kit-base/components/text/title/views/mobile/styled';\nimport { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Border } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst liverPoolFeaturesStyles = {\n MobileFeaturesBox: ()=>/*#__PURE__*/ css([\n ``,\n `{`,\n ` color:`,\n `;font-family:`,\n `;}`,\n `;`\n ], TitleMobileStyled, FontMixin({\n size: 'larger',\n height: 'larger',\n weight: 'semiBold'\n }), ({ theme })=>theme.colors.grays.darker, ({ theme })=>theme.font.family.primary, ({ theme })=>Border({\n y: `1px solid ${theme.colors.grays.lightestL}`\n })),\n MobileFeaturesList: ()=>/*#__PURE__*/ css([\n `gap:20px;`\n ]),\n MobileFeaturesDescription: ()=>/*#__PURE__*/ css([\n ``,\n ` color:`,\n `;`\n ], FontMixin({\n size: 'medium',\n height: 'base',\n weight: 'regular'\n }), ({ theme })=>theme.colors.grays.darker),\n MobileFeatureDescription: ()=>/*#__PURE__*/ css([\n ``,\n ``\n ], FontMixin({\n weight: 'regular'\n })),\n MobileFeatureTitle: ()=>/*#__PURE__*/ css([\n ``,\n ``\n ], FontMixin({\n weight: 'semiBold'\n }))\n};\n\nexport { liverPoolFeaturesStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport liverPoolFeaturesStyles from './styles/liverpool.js';\n\nconst FeaturesThemes = createThemes({\n [ThemeId.partnershipsLiverpool]: liverPoolFeaturesStyles\n});\n\nexport { FeaturesThemes as default };\n","import { Button } from '@babylon/ui-kit-base/components/buttons/button';\nimport InnerMarkdownHTML from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport { TitleMobileWrapper } from '@babylon/ui-kit-base/components/text/title/views/mobile/styled';\nimport { FontMixin, FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport FeaturesThemes from './themes/index.js';\n\nconst MobileFeaturesDescription = /*#__PURE__*/ styled(InnerMarkdownHTML).withConfig({\n displayName: \"MobileFeaturesDescription\"\n})([\n `text-align:center;`,\n ` `,\n ` `,\n ``\n], FontMixin({\n weight: 'light',\n size: 'medium',\n height: 'base'\n}), Margin({\n bottom: '32px',\n x: '16px'\n}), FeaturesThemes('MobileFeaturesDescription'));\nconst MobileFeaturesBox = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"MobileFeaturesBox\"\n})([\n `background-color:`,\n `;border-bottom:1px solid `,\n `;border-top:1px solid `,\n `;padding:12px 0 20px;`,\n `{margin-bottom:12px;padding:0 16px;}`,\n ``\n], ({ theme })=>theme.bodyBgColor, ({ theme })=>theme.colors.grays.light, ({ theme })=>theme.colors.grays.light, TitleMobileWrapper, FeaturesThemes('MobileFeaturesBox'));\nconst MobileFeaturesList = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"MobileFeaturesList\"\n})([\n ``,\n ` gap:10px;padding:0 16px;`,\n ``\n], FlexMixin({\n direction: 'column'\n}), FeaturesThemes('MobileFeaturesList'));\nconst MobileFeaturesItem = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"MobileFeaturesItem\"\n})([\n ``,\n ` gap:16px;`\n], FlexMixin({\n align: 'flex-start'\n}));\nconst MobileFeatureIcon = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"MobileFeatureIcon\"\n})([\n ``,\n ` color:`,\n `;figure{width:48px;height:48px;}`\n], FontMixin({\n size: 'xl',\n weight: 'regular'\n}), ({ theme })=>theme.colors.primary.light);\nconst MobileFeatureContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"MobileFeatureContent\"\n})([\n ``\n]);\nconst MobileFeatureTitle = /*#__PURE__*/ styled.h3.withConfig({\n displayName: \"MobileFeatureTitle\"\n})([\n `color:`,\n `;`,\n ` `,\n ``\n], ({ theme })=>theme.colors.text.dark, FontMixin({\n size: 'base',\n weight: 'bold',\n height: 'base'\n}), FeaturesThemes('MobileFeatureTitle'));\nconst MobileFeatureDescription = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"MobileFeatureDescription\"\n})([\n `color:`,\n `;`,\n ` `,\n ``\n], ({ theme })=>theme.colors.grays.darker, FontMixin({\n size: 'medium',\n weight: 'light',\n height: 'base'\n}), FeaturesThemes('MobileFeatureDescription'));\nconst MobileFeaturesButton = /*#__PURE__*/ styled(Button).withConfig({\n displayName: \"MobileFeaturesButton\"\n})([\n `text-align:center;`,\n ` `,\n ``\n], Margin({\n bottom: '34px',\n x: 'auto'\n}), FlexMixin({\n align: 'center',\n justify: 'center'\n}));\n\nexport { MobileFeatureContent, MobileFeatureDescription, MobileFeatureIcon, MobileFeatureTitle, MobileFeaturesBox, MobileFeaturesButton, MobileFeaturesDescription, MobileFeaturesItem, MobileFeaturesList };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport Image from '@babylon/ui-kit-base/components/multimedia/image';\nimport Title from '@babylon/ui-kit-base/components/text/title/views/mobile';\nimport { markdown } from '@babylon/ui-kit-helpers/markdown';\nimport classNames from 'classnames';\nimport { IMAGE_RESIZE_MOBILE } from '../utils/constants.js';\nimport { MobileFeaturesBox, MobileFeaturesDescription, MobileFeaturesButton, MobileFeaturesList, MobileFeaturesItem, MobileFeatureIcon, MobileFeatureContent, MobileFeatureTitle, MobileFeatureDescription } from './styled.js';\n\nconst FeaturesMobile = ({ props, className = '' })=>{\n if (!props) return null;\n const { features = {}, title = {}, description = undefined, button = {}, variant = 'primary' } = props;\n return /*#__PURE__*/ jsxs(MobileFeaturesBox, {\n className: classNames(`variant-${variant} ${className}`),\n \"data-testid\": \"Features\",\n children: [\n title?.content && /*#__PURE__*/ jsx(Title, {\n title: title.content\n }),\n description && /*#__PURE__*/ jsx(MobileFeaturesDescription, {\n content: description,\n tag: \"div\"\n }),\n button?.content && /*#__PURE__*/ jsx(MobileFeaturesButton, {\n variant: \"secondary\",\n children: button?.content\n }),\n /*#__PURE__*/ jsx(MobileFeaturesList, {\n children: features?.items?.map((item)=>/*#__PURE__*/ jsxs(MobileFeaturesItem, {\n \"data-testid\": \"FeaturesItem\",\n children: [\n /*#__PURE__*/ jsx(MobileFeatureIcon, {\n children: item?.image ? /*#__PURE__*/ jsx(Image, {\n src: item.image,\n resize: IMAGE_RESIZE_MOBILE\n }) : /*#__PURE__*/ jsx(Icon, {\n className: `nico-${item.icon}`\n })\n }),\n /*#__PURE__*/ jsxs(MobileFeatureContent, {\n children: [\n !!item.title && /*#__PURE__*/ jsx(MobileFeatureTitle, {\n children: item.title\n }),\n item?.content && /*#__PURE__*/ jsx(MobileFeatureDescription, {\n dangerouslySetInnerHTML: {\n __html: markdown(item.content)\n }\n })\n ]\n })\n ]\n }, JSON.stringify(item)))\n })\n ]\n });\n};\n\nexport { FeaturesMobile as default };\n","import { generateViewsComponent } from '@babylon/ui-kit-helpers/views';\nimport FeaturesDesktop from './views/desktop/index.js';\nimport FeaturesMobile from './views/mobile/index.js';\n\nconst Features = generateViewsComponent(FeaturesDesktop, FeaturesMobile);\n\nexport { Features as default };\n"],"names":["liverPoolFeaturesStyles","css","TitleMobileStyled","FontMixin","theme","Border","FeaturesThemes","createThemes","ThemeId","MobileFeaturesDescription","styled","InnerMarkdownHTML","Margin","MobileFeaturesBox","TitleMobileWrapper","MobileFeaturesList","FlexMixin","MobileFeaturesItem","MobileFeatureIcon","MobileFeatureContent","MobileFeatureTitle","MobileFeatureDescription","MobileFeaturesButton","Button","FeaturesMobile","props","className","features","title","description","button","variant","jsxs","classNames","jsx","Title","_a","item","Image","IMAGE_RESIZE_MOBILE","Icon","markdown","Features","generateViewsComponent","FeaturesDesktop"],"mappings":"yLAKA,MAAMA,EAA0B,CAC5B,kBAAmB,IAAkBC,EAAI,CACjC,GACA,IACA,UACA,gBACA,KACA,GACZ,EAAWC,EAAmBC,EAAU,CAC5B,KAAM,SACN,OAAQ,SACR,OAAQ,UACpB,CAAS,EAAG,CAAC,CAAE,MAAAC,CAAO,IAAGA,EAAM,OAAO,MAAM,OAAQ,CAAC,CAAE,MAAAA,CAAK,IAAKA,EAAM,KAAK,OAAO,QAAS,CAAC,CAAE,MAAAA,CAAO,IAAGC,EAAO,CAChG,EAAG,aAAaD,EAAM,OAAO,MAAM,SAAS,EAC5D,CAAa,CAAC,EACV,mBAAoB,IAAkBH,EAAI,CAClC,WACZ,CAAS,EACL,0BAA2B,IAAkBA,EAAI,CACzC,GACA,UACA,GACH,EAAEE,EAAU,CACT,KAAM,SACN,OAAQ,OACR,OAAQ,SACpB,CAAS,EAAG,CAAC,CAAE,MAAAC,CAAO,IAAGA,EAAM,OAAO,MAAM,MAAM,EAC9C,yBAA0B,IAAkBH,EAAI,CACxC,GACA,EACH,EAAEE,EAAU,CACT,OAAQ,SACpB,CAAS,CAAC,EACN,mBAAoB,IAAkBF,EAAI,CAClC,GACA,EACH,EAAEE,EAAU,CACT,OAAQ,UACpB,CAAS,CAAC,CACV,ECxCMG,EAAiBC,EAAa,CAChC,CAACC,EAAQ,qBAAqB,EAAGR,CACrC,CAAC,ECEKS,EAA0CC,EAAOC,CAAiB,EAAE,WAAW,CACjF,YAAa,2BACjB,CAAC,EAAE,CACC,qBACA,IACA,IACA,EACJ,EAAGR,EAAU,CACT,OAAQ,QACR,KAAM,SACN,OAAQ,MACZ,CAAC,EAAGS,EAAO,CACP,OAAQ,OACR,EAAG,MACP,CAAC,EA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