{"version":3,"file":"index.Rq0NydQ7.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-card-simple/views/desktop/themes/styles/clubDeVacaciones.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-card-simple/views/desktop/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-card-simple/views/desktop/themes/styles/tourMundial.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-card-simple/views/desktop/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-card-simple/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-card-simple/views/desktop/index.js"],"sourcesContent":["import { TitleWrapper, TitleStyled } from '@babylon/ui-kit-base/components/text/title/views/desktop/styled';\nimport { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst clubDeVacacionesCarouselCardSimple = {\n    CarouselCardSimpleContainer: ()=>/*#__PURE__*/ css([\n            ``,\n            `{`,\n            ` `,\n            `{font-family:`,\n            `;span{color:`,\n            `;`,\n            ` text-transform:uppercase;}}}`\n        ], TitleWrapper, Margin({\n            bottom: '24px'\n        }), TitleStyled, ({ theme })=>theme.font.family.primary, ({ theme })=>theme.colors.primary.base, FontMixin({\n            size: 'xl',\n            height: 'xl',\n            weight: 'bold'\n        }))\n};\n\nexport { clubDeVacacionesCarouselCardSimple as default };\n//# sourceMappingURL=clubDeVacaciones.js.map\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst liverpoolFilters = {\n    CarouselCardSimpleSlider: ()=>/*#__PURE__*/ css([\n            `.splide__pagination{`,\n            `{visibility:visible;}}`\n        ], ({ theme })=>theme.media.custom('1024px')),\n    Title: ()=>/*#__PURE__*/ css([\n            ``,\n            ` font-family:`,\n            `;`\n        ], FontMixin({\n            weight: 'semiBold'\n        }), ({ theme })=>theme.font.family.primary)\n};\n\nexport { liverpoolFilters as default };\n//# sourceMappingURL=liverpool.js.map\n","import { TitleWrapper, TitleStyled } from '@babylon/ui-kit-base/components/text/title/views/desktop/styled';\nimport { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst tourMundialCarouselCardSimple = {\n    CarouselCardSimpleContainer: ()=>/*#__PURE__*/ css([\n            ``,\n            `{`,\n            ` `,\n            `{font-family:`,\n            `;span{`,\n            ` text-transform:uppercase;}}}`\n        ], TitleWrapper, Margin({\n            bottom: '24px'\n        }), TitleStyled, ({ theme })=>theme.font.family.primary, FontMixin({\n            size: 'xl',\n            height: 'xl',\n            weight: 'bold'\n        }))\n};\n\nexport { tourMundialCarouselCardSimple as default };\n//# sourceMappingURL=tourMundial.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport clubDeVacacionesCarouselCardSimple from './styles/clubDeVacaciones.js';\nimport liverpoolFilters from './styles/liverpool.js';\nimport tourMundialCarouselCardSimple from './styles/tourMundial.js';\n\nconst carouselCardSimpleThemes = createThemes({\n    [ThemeId.partnershipsLiverpool]: liverpoolFilters,\n    [ThemeId.tourMundial]: tourMundialCarouselCardSimple,\n    [ThemeId.clubDeVacaciones]: clubDeVacacionesCarouselCardSimple\n});\n\nexport { carouselCardSimpleThemes as default };\n//# sourceMappingURL=index.js.map\n","import { CardSimpleWrapperDesktop, CardSimpleLabelWrapper } from '@babylon/ui-kit-cards/components/cards/card-simple/views/desktop/styled';\nimport Slider from '@babylon/ui-kit-structures/components/others/slider';\nimport { BoxShadow } from '@babylon/ui-kit-styles/common/mixins/box-shadow.styled';\nimport { FontMixin, FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin, BorderRadius, Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled, { css } from 'styled-components';\nimport carouselCardSimpleThemes from './themes/index.js';\n\nconst Title = /*#__PURE__*/ styled.h3.withConfig({\n    displayName: \"Title\"\n})([\n    ``,\n    ` `,\n    ` font-family:`,\n    `;`,\n    ` `,\n    ``\n], FontMixin({\n    size: 'largest',\n    height: 'largest',\n    weight: 'medium'\n}), Margin({\n    bottom: '16px'\n}), ({ theme })=>theme.font.family.secondary, ({ $variant })=>{\n    if ($variant === 'tertiary') return /*#__PURE__*/ css([\n        `text-align:left;color:`,\n        `;`\n    ], ({ theme })=>theme.colors.content.text.dark);\n    return /*#__PURE__*/ css([\n        `text-align:center;color:`,\n        `;`\n    ], ({ theme })=>theme.colors.grays.darker);\n}, carouselCardSimpleThemes('Title'));\nconst CarouselCardSimpleContainer = /*#__PURE__*/ styled.div.withConfig({\n    displayName: \"CarouselCardSimpleContainer\"\n})([\n    ``,\n    ``\n], carouselCardSimpleThemes('CarouselCardSimpleContainer'));\nconst CarouselCardSimpleSlider = /*#__PURE__*/ styled(Slider).withConfig({\n    displayName: \"CarouselCardSimpleSlider\"\n})([\n    `&.carousel-card-simple-slider-secondary{`,\n    `{& img{height:176px;}& > a{background-color:`,\n    `;}}}&.carousel-card-simple-slider-tertiary{`,\n    `{`,\n    ` & img{height:300px;}& > a{background-color:transparent;}}`,\n    `{`,\n    ` `,\n    ` color:`,\n    `;}}.splide__pagination{`,\n    `{visibility:hidden;}}.splide__arrows{`,\n    `{visibility:hidden;}& [disabled]{visibility:hidden;}left:-22px;right:-22px;width:calc(100% + 44px);> button{width:36px;height:36px;background-color:`,\n    `;`,\n    ` `,\n    ` &:hover{.nico-angle-right{&::before{color:`,\n    `;}}.nico-angle-left{&::before{color:`,\n    `;}}}}.nico-angle-right{&::before{`,\n    ` `,\n    `}}.nico-angle-left{&::before{`,\n    ` `,\n    `}}}`,\n    ``\n], CardSimpleWrapperDesktop, ({ theme })=>theme.colors.black.high, CardSimpleWrapperDesktop, BorderRadius({\n    all: '8px'\n}), CardSimpleLabelWrapper, BorderRadius({\n    all: '6px'\n}), Padding({\n    y: '8px',\n    x: '16px'\n}), ({ theme })=>theme.colors.content.text.dark, ({ theme })=>theme.media.custom('1024px'), ({ theme })=>theme.media.down('tablet'), ({ theme })=>theme.colors.white.base, BorderRadius({\n    all: '100%'\n}), BoxShadow, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.base, FlexMixin({\n    justify: 'center',\n    align: 'center'\n}), FontMixin({\n    size: 'small',\n    weight: 'bold'\n}), FlexMixin({\n    justify: 'center',\n    align: 'center'\n}), FontMixin({\n    size: 'small',\n    weight: 'bold'\n}), carouselCardSimpleThemes('CarouselCardSimpleSlider'));\n\nexport { CarouselCardSimpleContainer, CarouselCardSimpleSlider, Title };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport CardSimple from '@babylon/ui-kit-cards/components/cards/card-simple/views/desktop';\nimport { Children } from 'react';\nimport { useTheme } from 'styled-components';\nimport { CarouselCardSimpleContainer, Title, CarouselCardSimpleSlider } from './styled.js';\n\nconst CarouselCardSimpleDesktop = ({ props })=>{\n    const { title, config, items = [], variant = 'default' } = props ?? {};\n    const theme = /*#__PURE__*/ useTheme();\n    const slider = {\n        breakpoints: {\n            [theme.breakpoints.xxl]: {\n                perPage: 4,\n                perMove: 4\n            },\n            [theme.breakpoints.xl]: {\n                perPage: 3,\n                perMove: 3\n            },\n            [theme.breakpoints.lg]: {\n                perPage: 2,\n                perMove: 2\n            }\n        },\n        arrows: config?.hasNavigation,\n        gap: config?.gap ?? 12,\n        pagination: config?.hasPagination,\n        perMove: config?.perMove ?? 4,\n        perPage: config?.perPage ?? 4,\n        paginationVariant: 'bottom'\n    };\n    return /*#__PURE__*/ jsxs(CarouselCardSimpleContainer, {\n        \"data-testid\": \"CarouselCardSimpleDesktop\",\n        \"aria-label\": \"carousel\",\n        children: [\n            title && /*#__PURE__*/ jsx(Title, {\n                $variant: variant,\n                children: title.title\n            }),\n            /*#__PURE__*/ jsx(CarouselCardSimpleSlider, {\n                ...slider,\n                className: `carousel-card-simple-slider-${variant}`,\n                children: Children.toArray(items.map((item)=>{\n                    const image = {\n                        ...item.image,\n                        ...config?.resize\n                    };\n                    const literals = {\n                        ...item.config?.literals,\n                        ...config?.literals\n                    };\n                    return /*#__PURE__*/ jsx(CardSimple, {\n                        ...item,\n                        image: image,\n                        config: {\n                            ...item.config,\n                            literals\n                        }\n                    });\n                }))\n            })\n        ]\n    });\n};\n\nexport { CarouselCardSimpleDesktop as default };\n//# sourceMappingURL=index.js.map\n"],"names":["clubDeVacacionesCarouselCardSimple","css","TitleWrapper","Margin","TitleStyled","theme","FontMixin","liverpoolFilters","tourMundialCarouselCardSimple","carouselCardSimpleThemes","createThemes","ThemeId","Title","styled","$variant","CarouselCardSimpleContainer","CarouselCardSimpleSlider","Slider","CardSimpleWrapperDesktop","BorderRadius","CardSimpleLabelWrapper","Padding","BoxShadow","FlexMixin","CarouselCardSimpleDesktop","props","title","config","items","variant","useTheme","slider","jsxs","jsx","Children","item","image","literals","_a","CardSimple"],"mappings":"2MAKA,MAAMA,EAAqC,CACvC,4BAA6B,IAAkBC,EAAI,CAC3C,GACA,IACA,IACA,gBACA,eACA,IACA,+BACZ,EAAWC,EAAcC,EAAO,CACpB,OAAQ,MACpB,CAAS,EAAGC,EAAa,CAAC,CAAE,MAAAC,CAAK,IAAKA,EAAM,KAAK,OAAO,QAAS,CAAC,CAAE,MAAAA,CAAK,IAAKA,EAAM,OAAO,QAAQ,KAAMC,EAAU,CACvG,KAAM,KACN,OAAQ,KACR,OAAQ,MACpB,CAAS,CAAC,CACV,EClBMC,EAAmB,CACrB,yBAA0B,IAAkBN,EAAI,CACxC,uBACA,wBACZ,EAAW,CAAC,CAAE,MAAAI,KAAUA,EAAM,MAAM,OAAO,QAAQ,CAAC,EAChD,MAAO,IAAkBJ,EAAI,CACrB,GACA,gBACA,GACH,EAAEK,EAAU,CAC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