{"version":3,"file":"index.4c087df7.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-hooks/esm/media/useOnly.mjs","../../../../../../../node_modules/@babylon/ui-kit-hooks/esm/media/useCurrentBreakpoint.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/grid-product/views/desktop/card-view-more/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/grid-product/views/desktop/card-view-more/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/grid-product/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/grid-product/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/benefits-card/views/mobile/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/benefits-card/views/mobile/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/header-badges/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/header-badges/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/prices/themes/styles/portaventura.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/prices/themes/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/prices/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/prices/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/themes/styles/portaventura.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/themes/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/card-skeleton/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/card-skeleton/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/carousels/carousel-product/views/mobile/button-view-more/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/carousels/carousel-product/views/mobile/button-view-more/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/carousels/carousel-product/views/mobile/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/carousels/carousel-product/views/mobile/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-wrappers/esm/helpers/transports/card-product/mobile/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-wrappers/esm/helpers/transports/carousel-product/mobile/index.mjs"],"sourcesContent":["import media from '@babylon/ui-kit-styles/common/media';\nimport { useMediaQuery } from 'usehooks-ts';\n\n/**\n * @deprecated\n * Try to make the style changes in the css to avoid React hydration problems.\n */ const useOnly = (key)=>{\n let string = media.only('sm')?.split('@media ')[1];\n if (key && typeof key === 'string') {\n string = media.only(key)?.split('@media ')[1];\n }\n const matches = useMediaQuery(string);\n return matches;\n};\n\nexport { useOnly as default, useOnly };\n","import { useOnly } from './useOnly.mjs';\n\n/**\n * @deprecated\n * Try to make the style changes in the css to avoid React hydration problems.\n */ const useCurrentBreakpoint = ()=>{\n const xs = useOnly('xs');\n const sm = useOnly('sm');\n const md = useOnly('md');\n const lg = useOnly('lg');\n const tablet = useOnly('tablet');\n const xl = useOnly('xl');\n const twoxl = useOnly('2xl');\n const xxl = useOnly('xxl');\n const breakPoints = [\n {\n breakpoint: 'xs',\n isActive: xs\n },\n {\n breakpoint: 'sm',\n isActive: sm\n },\n {\n breakpoint: 'md',\n isActive: md\n },\n {\n breakpoint: 'lg',\n isActive: lg\n },\n {\n breakpoint: 'tablet',\n isActive: tablet\n },\n {\n breakpoint: 'xl',\n isActive: xl\n },\n {\n breakpoint: '2xl',\n isActive: twoxl\n },\n {\n breakpoint: 'xxl',\n isActive: xxl\n }\n ];\n return breakPoints.find((x)=>x.isActive)?.breakpoint ?? 'xxl';\n};\n\nexport { useCurrentBreakpoint as default, useCurrentBreakpoint };\n","import { BoxShadowHover, BoxShadow } from '@babylon/ui-kit-styles/common/mixins/box-shadow.styled';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst CardBox = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"CardBox\",\n componentId: \"sc-7e900e7c-0\"\n})([\n \"display:block;height:100%;padding:2px;position:relative;\"\n]);\nconst CardWrapper = /*#__PURE__*/ styled.article.withConfig({\n displayName: \"CardWrapper\",\n componentId: \"sc-7e900e7c-1\"\n})([\n \"\",\n \" \",\n \" \",\n \" \",\n \" background-color:\",\n \";height:100%;overflow:hidden;\"\n], BorderRadius({\n all: '4px'\n}), BoxShadowHover, BoxShadow, FlexMixin({\n direction: 'column'\n}), ({ theme })=>theme.colors.white.base);\nconst CardLink = /*#__PURE__*/ styled.a.withConfig({\n displayName: \"CardLink\",\n componentId: \"sc-7e900e7c-2\"\n})([\n \"display:block;height:100%;p{\",\n \" color:\",\n \";left:0;position:absolute;text-align:center;top:calc(50% + 20px);width:100%;::before{border:1px solid \",\n \";\",\n \" content:'';height:70px;left:50%;top:-48px;position:absolute;transform:translate(-50%,-50%);width:70px;z-index:\",\n \";}::after{color:\",\n \";content:'+';font-size:50px;line-height:70px;\",\n \" text-align:center;left:50%;top:-48px;position:absolute;transform:translate(-50%,-50%);width:70px;z-index:\",\n \";}}\"\n], FontMixin({\n size: 'base',\n weight: 'regular'\n}), ({ theme })=>theme.colors.primary.light, ({ theme })=>theme.colors.primary.light, BorderRadius({\n all: '50%'\n}), ({ theme })=>theme.zIndex.low, ({ theme })=>theme.colors.primary.light, FontMixin({\n weight: 'light'\n}), ({ theme })=>theme.zIndex.low);\n\nexport { CardBox, CardLink, CardWrapper };\n","import { jsx } from 'react/jsx-runtime';\nimport { nullsToUndefined } from '@babylon/ui-kit-helpers/null';\nimport { CardBox, CardWrapper, CardLink } from './styled.mjs';\n\nconst CardViewMore = ({ link, content })=>/*#__PURE__*/ jsx(CardBox, {\n \"data-testid\": \"CardViewMore\",\n children: /*#__PURE__*/ jsx(CardWrapper, {\n children: /*#__PURE__*/ jsx(CardLink, {\n ...nullsToUndefined(link),\n children: /*#__PURE__*/ jsx(\"p\", {\n children: content\n })\n })\n })\n });\n\nexport { CardViewMore as default };\n","import styled from 'styled-components';\n\nconst GridWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"GridWrapper\",\n componentId: \"sc-b5a9d508-0\"\n})([\n \"display:grid;grid-gap:16px;grid-template-columns:repeat(2,1fr);padding:0;grid-auto-rows:1fr;\",\n \"{grid-template-columns:repeat(\",\n \",1fr);}\",\n \"{grid-template-columns:repeat(\",\n \",1fr);}\",\n \"{grid-template-columns:repeat(\",\n \",1fr);}\"\n], ({ theme })=>theme.media.up('lg'), ({ breakpoints })=>breakpoints['lg'], ({ theme })=>theme.media.up('xl'), ({ breakpoints })=>breakpoints['xl'], ({ theme })=>theme.media.up('xxl'), ({ breakpoints })=>breakpoints['xxl']);\nconst CardSkeletonWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"CardSkeletonWrapper\",\n componentId: \"sc-b5a9d508-1\"\n})([\n \"padding:0px 2px;\"\n]);\n\nexport { CardSkeletonWrapper, GridWrapper };\n","import { jsx, jsxs, Fragment } from 'react/jsx-runtime';\nimport JsonLd from '@babylon/ui-kit-base/components/others/json-ld';\nimport Title from '@babylon/ui-kit-base/components/text/title';\nimport ProductCard from '@babylon/ui-kit-cards/components/cards/product-card/views/desktop';\nimport CardSkeletonDesktop from '@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-skeleton';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport useCurrentBreakpoint from '@babylon/ui-kit-hooks/media/useCurrentBreakpoint';\nimport { useMemo, Children } from 'react';\nimport CardViewMore from './card-view-more/index.mjs';\nimport { CardSkeletonWrapper, GridWrapper } from './styled.mjs';\n\nconst GridProductDesktop = ({ props })=>{\n const { title, ldjson, items, link, config, isLoading = false, searcher, isFirstComponent } = props ?? {};\n const currentBreakpoint = useCurrentBreakpoint();\n const breakpointRows = useMemo(()=>({\n xxl: 4,\n xl: 3,\n lg: 2,\n md: 2,\n sm: 2,\n xs: 2,\n ...config?.gridProductBreakpoints\n }), [\n config?.gridProductBreakpoints\n ]);\n const skeleton = useMemo(()=>new Array(breakpointRows[currentBreakpoint]).fill(/*#__PURE__*/ jsx(CardSkeletonWrapper, {\n children: /*#__PURE__*/ jsx(CardSkeletonDesktop, {})\n })), [\n breakpointRows,\n currentBreakpoint\n ]);\n const getProductCards = ()=>{\n const productCards = Children.toArray(items?.map((item)=>{\n const generalConfig = {\n ...config,\n ...item?.config\n };\n const literals = {\n ...item.config?.literals,\n ...config?.literals\n };\n return /*#__PURE__*/ jsx(ProductCard, {\n searcher: searcher,\n ...item,\n config: {\n ...generalConfig,\n literals\n },\n isFirstComponent: isFirstComponent\n });\n }));\n if (!link?.href) return productCards;\n return productCards.concat(/*#__PURE__*/ jsx(CardViewMore, {\n link: link,\n content: config?.literals?.viewMore\n }, genKey({\n productCardsViewMoreLink: link\n })));\n };\n return /*#__PURE__*/ jsxs(Fragment, {\n children: [\n title && /*#__PURE__*/ jsx(Title, {\n ...title\n }),\n /*#__PURE__*/ jsx(GridWrapper, {\n \"data-testid\": \"GridProduct\",\n breakpoints: breakpointRows,\n children: isLoading ? Children.toArray(skeleton) : getProductCards()\n }),\n Children.toArray(ldjson?.scripts?.map((script)=>/*#__PURE__*/ jsx(JsonLd, {\n structuredData: script\n })))\n ]\n });\n};\n\nexport { GridProductDesktop, GridProductDesktop as default };\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst BenefitsCardWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"BenefitsCardWrapper\",\n componentId: \"sc-411e1d01-0\"\n})([\n \"background-color:\",\n \";margin-top:8px 0px;overflow:hidden;position:relative;width:100%;\",\n \"\"\n], ({ theme })=>theme.colors.primary.light, FlexMixin());\nconst BenefitsCardTitle = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"BenefitsCardTitle\",\n componentId: \"sc-411e1d01-1\"\n})([\n \"\",\n \" \",\n \" color:\",\n \";padding:0 8px;position:relative;width:90px;\",\n \"{z-index:\",\n \";}&::after{background-color:\",\n \";content:'';height:100%;left:-30px;position:absolute;top:0px;transform:skewX(-15deg);width:90px;}\"\n], FlexMixin({\n justify: 'center',\n align: 'center'\n}), FontMixin({\n size: 'largest',\n weight: 'light',\n height: 'largest'\n}), ({ theme })=>theme.colors.white.base, Icon, ({ theme })=>theme.zIndex.low, ({ theme })=>theme.colors.primary.base);\nconst Content = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Content\",\n componentId: \"sc-411e1d01-2\"\n})([\n \"\",\n \" color:\",\n \";padding:16px 20px;text-align:center;& span{\",\n \" margin-right:8px;&:not(:last-child)::after{content:'ยท';margin-left:8px;}}\"\n], FlexMixin({\n align: 'center',\n justify: 'center',\n wrap: true\n}), ({ theme })=>theme.colors.white.base, FontMixin({\n size: 'small',\n weight: 'light',\n height: 'small'\n}));\n\nexport { BenefitsCardTitle, BenefitsCardWrapper, Content };\n","import { jsx, Fragment, jsxs } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport InnerMarkdownHTML from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport { Children } from 'react';\nimport { BenefitsCardWrapper, BenefitsCardTitle, Content } from './styled.mjs';\n\nconst BenefitsCardMobile = ({ items = [] })=>{\n if (!items.length) return /*#__PURE__*/ jsx(Fragment, {});\n return /*#__PURE__*/ jsxs(BenefitsCardWrapper, {\n \"data-testid\": \"BenefitsCard\",\n children: [\n /*#__PURE__*/ jsx(BenefitsCardTitle, {\n \"data-testid\": \"Title\",\n children: /*#__PURE__*/ jsx(Icon, {\n className: \"nico-circle-check\"\n })\n }),\n /*#__PURE__*/ jsx(Content, {\n className: \"benefits-card-content\",\n children: Children.toArray(items.map((item)=>/*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: item\n })))\n })\n ]\n });\n};\n\nexport { BenefitsCardMobile as default };\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { rgba } from 'polished';\nimport styled, { css } from 'styled-components';\n\nconst variantStylesIconBadgeMobile = (variant = '', modifier = 'DEFAULT')=>({\n DISNEY: ({\n DEALS: /*#__PURE__*/ css([\n \"background-color:var(--icon-badge-disney-bg);\"\n ]),\n BLACKFRIDAY: /*#__PURE__*/ css([\n \"background-color:var(--icon-badge-disney-bg);\"\n ]),\n DEFAULT: /*#__PURE__*/ css([\n \"background-color:var(--icon-badge-disney-bg);\"\n ])\n })[modifier]\n })[variant.toUpperCase()] ?? ({\n DEALS: /*#__PURE__*/ css([\n \"background-color:var(--icon-badge-is-deal-bg);\"\n ]),\n BLACKFRIDAY: /*#__PURE__*/ css([\n \"background-color:var(--icon-badge-is-black-friday-bg);\"\n ]),\n DEFAULT: /*#__PURE__*/ css([\n \"background-color:var(--icon-badge-bg);\"\n ])\n })[modifier];\nconst IconBadgeMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"IconBadgeMobile\",\n componentId: \"sc-ee770e39-0\"\n})([\n \"--icon-badge-bg:\",\n \";--icon-badge-is-deal-bg:\",\n \";--icon-badge-is-black-friday-bg:\",\n \";--icon-badge-disney-bg:\",\n \";\",\n \" color:\",\n \";position:absolute;top:4px;left:0;padding:8px;\",\n \" z-index:\",\n \";\",\n \"{\",\n \"}&.is-deal{\",\n \"}&.is-blackfriday{\",\n \"}& .discount{\",\n \" &::before{content:'- ';}&::after{content:'%';}}\"\n], ({ theme })=>rgba(theme.colors.primary.lighter, 0.9), ({ theme })=>rgba(theme.colors.status.offer, 0.9), ({ theme })=>theme.colors.black.base, ({ theme })=>rgba(theme.colors.status.offer, 0.9), ({ $variant })=>variantStylesIconBadgeMobile($variant), ({ theme })=>theme.colors.white.base, FontMixin({\n size: 'larger'\n}), ({ theme })=>theme.zIndex.lowest, Icon, FontMixin({\n size: 'large',\n height: 'large',\n weight: 'regular'\n}), ({ $variant })=>variantStylesIconBadgeMobile($variant, 'DEALS'), ({ $variant })=>variantStylesIconBadgeMobile($variant, 'BLACKFRIDAY'), FontMixin({\n size: 'larger',\n height: 'base',\n weight: 'regular'\n}));\n\nexport { IconBadgeMobile };\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport classNames from 'classnames';\nimport { getIcon } from '../../../utils/index.mjs';\nimport { IconBadgeMobile } from './styled.mjs';\n\nconst HeaderBadges = ({ config = {}, discount })=>{\n const { icon = false, iconName = '', deal = false, product = '', isBlackfriday = false } = config;\n const showOffer = !icon && !!discount;\n const hasBadge = icon || showOffer;\n return /*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"HeaderBadges\",\n children: hasBadge && /*#__PURE__*/ jsxs(IconBadgeMobile, {\n $variant: product,\n \"data-testid\": \"HeaderBadgesIconWrapper\",\n className: classNames({\n 'is-deal': showOffer || deal,\n 'is-blackfriday': isBlackfriday\n }),\n children: [\n icon && /*#__PURE__*/ jsx(Icon, {\n className: `nico-${iconName || getIcon(product)}`\n }),\n showOffer && !icon && /*#__PURE__*/ jsx(\"span\", {\n \"data-testid\": \"HeaderBadgesIconDiscount\",\n className: \"discount\",\n children: discount\n })\n ]\n })\n });\n};\n\nexport { HeaderBadges as default };\n","import { css } from 'styled-components';\n\nconst partnershipsPortaventuraPricesMobileStyles = {\n PriceTopMobile: ()=>/*#__PURE__*/ css([\n \"color:\",\n \";text-transform:lowercase;\"\n ], ({ theme })=>theme.colors.grays.darker),\n PriceCurrentMobile: ()=>/*#__PURE__*/ css([\n \"font-family:\",\n \";font-weight:bold;color:\",\n \";\"\n ], ({ theme })=>theme.font.family.secondary, ({ theme })=>theme.colors.grays.darker)\n};\n\nexport { partnershipsPortaventuraPricesMobileStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport partnershipsPortaventuraPricesMobileStyles from './styles/portaventura.mjs';\n\nconst pricesMobileThemes = createThemes({\n partnershipsPortaventura: partnershipsPortaventuraPricesMobileStyles\n});\n\nexport { pricesMobileThemes as default };\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport pricesMobileThemes from './themes/index.mjs';\n\nconst PricesWrapperMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PricesWrapperMobile\",\n componentId: \"sc-7a93efa5-0\"\n})([\n \"color:\",\n \";margin-left:auto;max-width:45%;text-align:end;flex-shrink:0;align-self:flex-end;align-items:flex-end;\",\n \"\"\n], ({ theme })=>theme.colors.secondary.base, FlexMixin({\n direction: 'column',\n align: 'flex-end'\n}));\nconst PriceTopMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceTopMobile\",\n componentId: \"sc-7a93efa5-1\"\n})([\n \"color:\",\n \";\",\n \" .from{\",\n \"}.old-price{\",\n \" text-decoration:line-through;}\",\n \"\"\n], ({ theme })=>theme.colors.secondary.base, FlexMixin({\n direction: 'column',\n justify: 'flex-end',\n align: 'flex-end'\n}), FontMixin({\n size: 'smaller',\n height: 'small',\n weight: 'regular'\n}), FontMixin({\n size: 'medium',\n height: 'small',\n weight: 'regular'\n}), pricesMobileThemes('PriceTopMobile'));\nconst PriceCurrentMobile = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"PriceCurrentMobile\",\n componentId: \"sc-7a93efa5-2\"\n})([\n \"color:\",\n \";\",\n \" \",\n \"\"\n], ({ theme })=>theme.colors.secondary.base, FontMixin({\n size: 'larger',\n height: 'large',\n weight: 'medium'\n}), pricesMobileThemes('PriceCurrentMobile'));\nconst PricePaxValueMobile = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"PricePaxValueMobile\",\n componentId: \"sc-7a93efa5-3\"\n})([\n \"color:\",\n \";.per-person{\",\n \"}.pax-value{\",\n \"}\"\n], ({ theme })=>theme.colors.grays.base, FontMixin({\n size: 'small',\n height: 'small',\n weight: 'regular'\n}), FontMixin({\n size: 'base',\n height: 'small',\n weight: 'regular'\n}));\nconst PriceCaptionMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceCaptionMobile\",\n componentId: \"sc-7a93efa5-4\"\n})([\n \"color:\",\n \";\",\n \"\"\n], ({ theme })=>theme.colors.grays.base, FontMixin({\n size: 'smaller',\n weight: 'regular',\n height: 'small'\n}));\nconst PriceTopDealMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceTopDealMobile\",\n componentId: \"sc-7a93efa5-5\"\n})([\n \"color:\",\n \";\",\n \" margin-bottom:4px;.discount{background-color:\",\n \";color:\",\n \";\",\n \" padding:1px 4px;margin-right:4px;&::after{content:'%';}&::before{content:'-';}}.old-price{text-decoration:line-through;}\"\n], ({ theme })=>theme.colors.grays.dark, FontMixin({\n size: 'small',\n weight: 'light',\n height: 'medium'\n}), ({ theme })=>theme.colors.grays.base, ({ theme })=>theme.colors.white.base, BorderRadius({\n all: '4px'\n}));\nconst PriceCurrentDealMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceCurrentDealMobile\",\n componentId: \"sc-7a93efa5-6\"\n})([\n \"color:\",\n \";\",\n \" position:relative;\",\n \" background-color:\",\n \";padding-right:12px;max-height:36px;min-height:36px;margin-right:-12px;&::before{content:'';height:0;position:absolute;top:0;width:0;border-bottom:18px solid transparent;border-right:12px solid \",\n \";border-top:18px solid transparent;left:-12px;}&.is-blackfriday{background-color:\",\n \";}&.is-blackfriday::before{border-right-color:\",\n \";}\"\n], ({ theme })=>theme.colors.white.base, FlexMixin({\n align: 'center'\n}), FontMixin({\n size: 'larger',\n weight: 'medium',\n height: 'large'\n}), ({ theme })=>theme.colors.status.offer, ({ theme })=>theme.colors.status.offer, ({ theme })=>theme.colors.black.base, ({ theme })=>theme.colors.black.base);\nconst OnlyIcon = /*#__PURE__*/ styled(Icon).withConfig({\n displayName: \"OnlyIcon\",\n componentId: \"sc-7a93efa5-7\"\n})([\n \"color:\",\n \";\",\n \"\"\n], ({ theme })=>theme.colors.secondary.base, FontMixin({\n size: 'large',\n weight: 'bold',\n height: 'large'\n}));\nconst NoPrice = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"NoPrice\",\n componentId: \"sc-7a93efa5-8\"\n})([\n \"\",\n \" margin-left:auto;& > span{color:\",\n \";\",\n \" margin-right:8px;margin-bottom:0;text-align:right;}& strong{display:block;color:\",\n \";\",\n \"}\",\n \"{\",\n \" background-color:\",\n \";color:\",\n \";\",\n \" width:40px;min-width:40px;height:40px;}\"\n], FlexMixin({\n justify: 'flex-end',\n align: 'center'\n}), ({ theme })=>theme.colors.secondary.base, FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'base'\n}), ({ theme })=>theme.colors.grays.base, FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'base'\n}), Icon, FlexMixin({\n justify: 'center',\n align: 'center'\n}), ({ theme })=>theme.colors.secondary.base, ({ theme })=>theme.colors.white.base, BorderRadius({\n all: '50%'\n}));\n\nexport { NoPrice, OnlyIcon, PriceCaptionMobile, PriceCurrentDealMobile, PriceCurrentMobile, PricePaxValueMobile, PriceTopDealMobile, PriceTopMobile, PricesWrapperMobile };\n","import { jsx, jsxs, Fragment } from 'react/jsx-runtime';\nimport { PriceWithCurrency } from '@babylon/ui-kit-base/components/text/price-with-currency';\nimport contextBabylon from '@babylon/ui-kit-context';\nimport classNames from 'classnames';\nimport { useContext } from 'react';\nimport { normalizePrice } from '../../../utils/index.mjs';\nimport { OnlyIcon, PricesWrapperMobile, PriceTopDealMobile, PriceCurrentDealMobile, PriceTopMobile, PriceCurrentMobile, PricePaxValueMobile, PriceCaptionMobile } from './styled.mjs';\n\nconst Prices = (props)=>{\n const { isDeal, isBlackfriday = false, literals } = props;\n const price = normalizePrice(props.price);\n const { Currency, Language } = useContext(contextBabylon);\n const priceProps = {\n price: price.value,\n currency: Currency,\n locale: Language\n };\n if (!price?.value) return /*#__PURE__*/ jsx(OnlyIcon, {\n className: \"nico-magnifier\"\n });\n return /*#__PURE__*/ jsxs(PricesWrapperMobile, {\n \"data-testid\": \"Prices\",\n itemProp: \"offers\",\n itemScope: false,\n itemType: \"https://schema.org/AggregateOffer\",\n children: [\n /*#__PURE__*/ jsx(\"meta\", {\n itemProp: \"lowPrice\",\n content: price.value.toString()\n }),\n /*#__PURE__*/ jsx(\"meta\", {\n itemProp: \"priceCurrency\",\n content: Currency\n }),\n isDeal ? /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsxs(PriceTopDealMobile, {\n children: [\n price.discount && /*#__PURE__*/ jsx(\"span\", {\n className: \"discount\",\n children: price.discount\n }),\n price.market_value && /*#__PURE__*/ jsx(\"span\", {\n className: \"old-price\",\n children: /*#__PURE__*/ jsx(PriceWithCurrency, {\n props: {\n ...priceProps,\n price: price.market_value\n }\n })\n })\n ]\n }),\n /*#__PURE__*/ jsx(PriceCurrentDealMobile, {\n \"data-testid\": \"PriceCurrentDeal\",\n className: classNames({\n 'is-blackfriday': isBlackfriday\n }),\n children: /*#__PURE__*/ jsx(PriceWithCurrency, {\n props: priceProps\n })\n })\n ]\n }) : /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsxs(PriceTopMobile, {\n children: [\n price.from && /*#__PURE__*/ jsx(\"span\", {\n className: \"from\",\n children: literals?.fromCaption\n }),\n price.market_value && /*#__PURE__*/ jsx(\"span\", {\n className: \"old-price\",\n children: /*#__PURE__*/ jsx(PriceWithCurrency, {\n props: {\n ...priceProps,\n price: price.market_value\n }\n })\n })\n ]\n }),\n /*#__PURE__*/ jsx(PriceCurrentMobile, {\n children: /*#__PURE__*/ jsx(PriceWithCurrency, {\n props: priceProps\n })\n }),\n price.paxValue && /*#__PURE__*/ jsxs(PricePaxValueMobile, {\n children: [\n /*#__PURE__*/ jsx(\"span\", {\n className: \"per-person\",\n children: literals?.perPerson\n }),\n /*#__PURE__*/ jsx(\"span\", {\n className: \"pax-value\",\n children: /*#__PURE__*/ jsx(PriceWithCurrency, {\n props: {\n ...priceProps,\n price: price.paxValue\n }\n })\n })\n ]\n }),\n price.caption && /*#__PURE__*/ jsx(PriceCaptionMobile, {\n children: literals?.priceCaption\n })\n ]\n })\n ]\n });\n};\n\nexport { Prices as default };\n","import { css } from 'styled-components';\n\nconst partnershipsPortaventuraProductCardMobileStyles = {\n ProductCardTitle: ()=>/*#__PURE__*/ css([\n \"color:\",\n \";font-weight:bold;\"\n ], ({ theme })=>theme.colors.grays.darker)\n};\n\nexport { partnershipsPortaventuraProductCardMobileStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport partnershipsPortaventuraProductCardMobileStyles from './styles/portaventura.mjs';\n\nconst productCardMobileThemes = createThemes({\n partnershipsPortaventura: partnershipsPortaventuraProductCardMobileStyles\n});\n\nexport { productCardMobileThemes as default };\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport Image from '@babylon/ui-kit-base/components/multimedia/image';\nimport { InnerMarkdownHTML } from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport Modal from '@babylon/ui-kit-structures/components/others/modal';\nimport { ModalWrapper } from '@babylon/ui-kit-structures/components/others/modal/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 { Stars } from '@babylon/ui-kit-styles/common/mixins/stars.styled';\nimport styled from 'styled-components';\nimport productCardMobileThemes from './themes/index.mjs';\n\nconst ProductCardBox = /*#__PURE__*/ styled.article.withConfig({\n displayName: \"ProductCardBox\",\n componentId: \"sc-61c23b29-0\"\n})([\n \"border-top:1px solid \",\n \";border-bottom:1px solid \",\n \";background:\",\n \";position:relative;&.is-sold-out{overflow:hidden;&::before{background-color:\",\n \";content:'';height:100%;left:0;position:absolute;top:0;width:100%;z-index:\",\n \";}&::after{\",\n \" background:\",\n \";border:4px solid \",\n \";color:\",\n \";content:'sold out!';font-family:\",\n \";left:50%;padding:16px 28px;position:absolute;text-align:center;text-transform:uppercase;top:50%;transform:rotate(-10deg) translate(-50%,-100%);width:120%;z-index:\",\n \";}}\"\n], ({ theme })=>theme.colors.grays.light, ({ theme })=>theme.colors.grays.light, ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.black.lower, ({ theme })=>theme.zIndex.low, FontMixin({\n size: 'xl',\n weight: 'semiBold',\n height: 'xl'\n}), ({ theme })=>theme.colors.black.base, ({ theme })=>theme.colors.secondary.base, ({ theme })=>theme.colors.white.base, ({ theme })=>theme.font.family.secondary, ({ theme })=>theme.zIndex.base);\nconst ProductCardLink = /*#__PURE__*/ styled.a.withConfig({\n displayName: \"ProductCardLink\",\n componentId: \"sc-61c23b29-1\"\n})([\n \"\",\n \"\"\n], FlexMixin({\n direction: 'row'\n}));\nconst ProductCardImageContainer = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardImageContainer\",\n componentId: \"sc-61c23b29-2\"\n})([\n \"overflow:hidden;min-width:112px;\",\n \" & .itinerary{position:relative;height:100%;width:100%;max-width:112px;overflow:hidden;& img{object-fit:cover;position:absolute;top:0;height:100%;left:50%;transform:translateX(-50%);max-width:initial;aspect-ratio:16 / 9;width:100%;object-fit:cover;}}& .logo{margin:4px 0;background:\",\n \";position:relative;bottom:0;& img{height:auto;width:100%;}}\"\n], FlexMixin({\n direction: 'column',\n justify: 'space-between'\n}), ({ theme })=>theme.colors.white.base);\nconst ProductCardHeader = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardHeader\",\n componentId: \"sc-61c23b29-3\"\n})([\n \"\",\n \" & > *:last-child{margin-bottom:8px;}\"\n], FontMixin({\n height: 'base'\n}));\nconst ProductCardContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardContent\",\n componentId: \"sc-61c23b29-4\"\n})([\n \"padding:8px 12px;\",\n \" flex-grow:1;min-height:120px;\"\n], FlexMixin({\n justify: 'space-between',\n direction: 'column'\n}));\nconst ProductCardTitle = /*#__PURE__*/ styled.h3.withConfig({\n displayName: \"ProductCardTitle\",\n componentId: \"sc-61c23b29-5\"\n})([\n \"\",\n \" color:\",\n \";\",\n \"\"\n], FontMixin({\n size: 'base',\n height: 'base',\n weight: 'regular'\n}), ({ theme })=>theme.colors.grays.darker, productCardMobileThemes('ProductCardTitle'));\nconst Subtitle = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"Subtitle\",\n componentId: \"sc-61c23b29-6\"\n})([\n \"& > .product-card-subtitle{\",\n \" color:\",\n \";margin-right:4px;}& > .product-card-textInfo{\",\n \" color:\",\n \";margin-right:4px;display:block;}\",\n \"{\",\n \" & > i{margin-left:2px;}}\"\n], FontMixin({\n size: 'medium',\n height: 'base',\n weight: 'light'\n}), ({ theme })=>theme.colors.grays.dark, FontMixin({\n size: 'medium',\n height: 'base',\n weight: 'medium'\n}), ({ theme })=>theme.colors.grays.darker, Stars, FontMixin({\n size: 'small',\n height: 'smaller',\n weight: 'regular'\n}));\nconst Detail = /*#__PURE__*/ styled(InnerMarkdownHTML).withConfig({\n displayName: \"Detail\",\n componentId: \"sc-61c23b29-7\"\n})([\n \"\",\n \" color:\",\n \";margin-bottom:8px;\"\n], FontMixin({\n size: 'base',\n height: 'base',\n weight: 'light'\n}), ({ theme })=>theme.colors.grays.dark);\nconst Descriptions = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Descriptions\",\n componentId: \"sc-61c23b29-8\"\n})([\n \"color:\",\n \";\",\n \" overflow:hidden;&.is-deal{margin-right:14px;}\"\n], ({ theme })=>theme.colors.grays.dark, FontMixin({\n size: 'small',\n height: 'medium',\n weight: 'light'\n}));\nconst ProductCardPrice = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardPrice\",\n componentId: \"sc-61c23b29-9\"\n})([\n \"\",\n \" color:\",\n \";margin-left:12px;max-width:45%;text-align:end;flex-shrink:0;align-self:flex-end;align-items:flex-end;\",\n \" .from{\",\n \"}.old-price{\",\n \" text-decoration:line-through;}\"\n], FontMixin({\n size: 'larger',\n height: 'large',\n weight: 'medium'\n}), ({ theme })=>theme.colors.secondary.base, FlexMixin({\n direction: 'column',\n align: 'flex-end'\n}), FontMixin({\n size: 'smaller',\n height: 'small',\n weight: 'regular'\n}), FontMixin({\n size: 'medium',\n height: 'small',\n weight: 'regular'\n}));\nconst Upside = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Upside\",\n componentId: \"sc-61c23b29-10\"\n})([\n \"color:\",\n \";\",\n \"\"\n], ({ theme })=>theme.colors.primary.lighter, FontMixin({\n size: 'small',\n weight: 'medium',\n height: 'medium'\n}));\nconst Promotion = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Promotion\",\n componentId: \"sc-61c23b29-11\"\n})([\n \"color:\",\n \";\",\n \"\"\n], ({ theme })=>theme.colors.status.offer, FontMixin({\n size: 'small',\n weight: 'medium',\n height: 'medium'\n}));\nconst Tripadvisor = /*#__PURE__*/ styled(Image).withConfig({\n displayName: \"Tripadvisor\",\n componentId: \"sc-61c23b29-12\"\n})([\n \"width:120px;height:20px;margin-left:-8px;\"\n]);\nconst Reviews = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Reviews\",\n componentId: \"sc-61c23b29-13\"\n})([\n \"color:\",\n \";\",\n \" \",\n \" \",\n \"{margin:0 4px 4px 4px;}&.reviews-veryGood{color:\",\n \";}\"\n], ({ theme })=>theme.colors.status.success, FontMixin({\n size: 'small',\n weight: 'medium',\n height: 'medium'\n}), FlexMixin({\n align: 'center'\n}), Icon, ({ theme })=>theme.colors.primary.lighter);\nconst Transport = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Transport\",\n componentId: \"sc-61c23b29-14\"\n})([\n \"color:\",\n \";\",\n \"\"\n], ({ theme })=>theme.colors.status.success, FontMixin({\n size: 'small',\n weight: 'medium',\n height: 'medium'\n}));\nconst ProductCardFooter = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardFooter\",\n componentId: \"sc-61c23b29-15\"\n})([\n \"\",\n \"\"\n], FlexMixin({\n justify: 'space-between'\n}));\nconst ProductCardDescription = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardDescription\",\n componentId: \"sc-61c23b29-16\"\n})([\n \"\",\n \" \",\n \" overflow:hidden;\"\n], FlexMixin({\n direction: 'column',\n justify: 'flex-end'\n}), FontMixin({\n height: 'medium'\n}));\nconst ProductCardIconProps = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardIconProps\",\n componentId: \"sc-61c23b29-17\"\n})([\n \"color:\",\n \";\",\n \" \",\n \" margin-right:4px;margin-top:4px;\",\n \"{width:30px;height:30px;\",\n \"}\"\n], ({ theme })=>theme.colors.primary.lighter, FontMixin({\n size: 'large',\n height: 'base',\n weight: 'regular'\n}), FlexMixin({\n align: 'center'\n}), Icon, FlexMixin({\n align: 'center'\n}));\nconst SearcherModal = /*#__PURE__*/ styled(Modal).withConfig({\n displayName: \"SearcherModal\",\n componentId: \"sc-61c23b29-18\"\n})([\n \"\",\n \"{background-color:\",\n \";}\"\n], ModalWrapper, (props)=>props.theme.colors.primary.base);\nconst Title = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Title\",\n componentId: \"sc-61c23b29-19\"\n})([\n \"color:\",\n \";\",\n \" \",\n \" text-align:center;\"\n], (props)=>props.theme.colors.white.base, Margin({\n all: '0px'\n}), FontMixin({\n size: 'largest',\n weight: 'medium',\n height: 'largest'\n}));\n\nexport { Descriptions, Detail, ProductCardBox, ProductCardContent, ProductCardDescription, ProductCardFooter, ProductCardHeader, ProductCardIconProps, ProductCardImageContainer, ProductCardLink, ProductCardPrice, ProductCardTitle, Promotion, Reviews, SearcherModal, Subtitle, Title, Transport, Tripadvisor, Upside };\n","import { jsx, Fragment, jsxs } 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 JsonLd from '@babylon/ui-kit-base/components/others/json-ld';\nimport InnerMarkdownHTML from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport { nullsToUndefined } from '@babylon/ui-kit-helpers/null';\nimport SearcherActivitiesMobile from '@babylon/ui-kit-searchers/components/searchers/searcher-activities/views/mobile';\nimport { SearcherId } from '@babylon/ui-kit-searchers/types';\nimport classNames from 'classnames';\nimport { useMemo, useCallback, Children } from 'react';\nimport { useBoolean } from 'usehooks-ts';\nimport { ratingTemplate, getReviewContent } from '../../utils/index.mjs';\nimport { ImageResize, MAX_UPSIDE } from '../../utils/constants.mjs';\nimport HeaderBadges from './header-badges/index.mjs';\nimport Prices from './prices/index.mjs';\nimport { Subtitle, ProductCardBox, ProductCardLink, ProductCardImageContainer, ProductCardContent, ProductCardHeader, ProductCardTitle, Detail, Descriptions, Upside, Promotion, ProductCardFooter, ProductCardDescription, Tripadvisor, Reviews, ProductCardIconProps, Transport, SearcherModal, Title } from './styled.mjs';\n\nconst ProductCardMobileView = ({ title = '', textInfo, subtitle, detail, descriptions = [], price, rating, image, link, className = '', ldjson, config = {}, upside = [], promotion, tripadvisor, reviews, transport, icons = [], company, searcher, defaultImage = {} })=>{\n const { literals, rating: ratingIco = 'star', zone = false, deal = false, showSubtitleFirst = false, isBlackfriday = false, soldOut = false, hasModal = false, showDescriptionFirst = false, isFirstComponent = false } = config;\n const reviewContent = getReviewContent(reviews);\n const jsonLd = ldjson && 'scripts' in ldjson ? [\n ldjson\n ] : ldjson?.scripts || [];\n const transports = transport && Array.isArray(transport) ? transport : [\n transport ?? ''\n ];\n const { value: isVisible, toggle: toggleVisibility } = useBoolean();\n const imagePropertiesMobile = {\n ...ImageResize.MOBILE,\n ...defaultImage,\n isLazy: !isFirstComponent\n };\n const imagePropertiesMobileCompany = {\n ...ImageResize.MOBILE_COMPANY,\n ...defaultImage,\n isLazy: !isFirstComponent\n };\n const subtitleItem = useMemo(()=>/*#__PURE__*/ jsx(Fragment, {\n children: subtitle && /*#__PURE__*/ jsxs(Subtitle, {\n children: [\n textInfo && /*#__PURE__*/ jsx(\"span\", {\n className: \"product-card-textInfo\",\n children: textInfo\n }),\n /*#__PURE__*/ jsx(\"span\", {\n className: \"product-card-subtitle\",\n children: subtitle\n }),\n ratingTemplate(!zone, ratingIco, rating)\n ]\n })\n }), [\n subtitle,\n zone,\n ratingIco,\n rating,\n textInfo\n ]);\n const onClickCard = useCallback((event)=>{\n if (hasModal) {\n event.preventDefault();\n toggleVisibility();\n }\n }, [\n hasModal,\n toggleVisibility\n ]);\n const renderSearcher = (id)=>{\n const searcherProps = {\n name: 'm-productcardmodal-searcher',\n props: searcher\n };\n if (id === SearcherId.ACTIVITIES) {\n return /*#__PURE__*/ jsx(SearcherActivitiesMobile, {\n ...searcherProps\n });\n }\n };\n return /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsxs(ProductCardBox, {\n \"data-testid\": \"ProductCard\",\n className: classNames({\n [className]: !!className,\n 'is-sold-out': soldOut\n }),\n children: [\n /*#__PURE__*/ jsx(HeaderBadges, {\n config: config,\n discount: price?.discount\n }),\n /*#__PURE__*/ jsxs(ProductCardLink, {\n ...nullsToUndefined(link),\n children: [\n /*#__PURE__*/ jsxs(ProductCardImageContainer, {\n onClick: onClickCard,\n children: [\n image && /*#__PURE__*/ jsx(Image, {\n className: \"itinerary\",\n ...imagePropertiesMobile,\n ...image\n }),\n company && /*#__PURE__*/ jsx(Image, {\n className: \"logo\",\n ...imagePropertiesMobileCompany,\n ...company\n })\n ]\n }),\n /*#__PURE__*/ jsxs(ProductCardContent, {\n children: [\n /*#__PURE__*/ jsxs(ProductCardHeader, {\n onClick: onClickCard,\n children: [\n showSubtitleFirst && subtitleItem,\n /*#__PURE__*/ jsxs(ProductCardTitle, {\n children: [\n title,\n ratingTemplate(zone, ratingIco, rating)\n ]\n }),\n !showSubtitleFirst && subtitleItem,\n detail && /*#__PURE__*/ jsx(Detail, {\n tag: \"p\",\n content: detail\n }),\n showDescriptionFirst && !!descriptions.length && /*#__PURE__*/ jsx(Descriptions, {\n className: classNames({\n 'is-deal': deal\n }),\n children: Children.toArray(descriptions.map((item)=>/*#__PURE__*/ jsx(InnerMarkdownHTML, {\n tag: \"p\",\n content: item\n })))\n }),\n !!upside.length && /*#__PURE__*/ jsx(Upside, {\n children: Children.toArray(upside.slice(0, MAX_UPSIDE).map((item)=>/*#__PURE__*/ jsx(\"p\", {\n children: item\n })))\n }),\n promotion && /*#__PURE__*/ jsx(Promotion, {\n children: /*#__PURE__*/ jsx(\"p\", {\n children: promotion\n })\n })\n ]\n }),\n /*#__PURE__*/ jsxs(ProductCardFooter, {\n onClick: onClickCard,\n children: [\n (!!tripadvisor || !!reviews || descriptions.length > 0 || !!icons || !transports) && /*#__PURE__*/ jsxs(ProductCardDescription, {\n children: [\n tripadvisor && /*#__PURE__*/ jsx(Tripadvisor, {\n ...tripadvisor,\n width: 120,\n height: 20\n }),\n !tripadvisor && !!reviews && /*#__PURE__*/ jsxs(Reviews, {\n className: `reviews-${reviewContent}`,\n children: [\n /*#__PURE__*/ jsx(\"span\", {\n children: literals?.[reviewContent]\n }),\n /*#__PURE__*/ jsx(Icon, {\n className: \"nico-thumbs-up-filled\"\n }),\n /*#__PURE__*/ jsx(\"span\", {\n children: reviews\n })\n ]\n }),\n !showDescriptionFirst && !!descriptions.length && /*#__PURE__*/ jsx(Descriptions, {\n className: classNames({\n 'is-deal': deal\n }),\n children: Children.toArray(descriptions.map((item)=>/*#__PURE__*/ jsx(InnerMarkdownHTML, {\n tag: \"p\",\n content: item\n })))\n }),\n !!icons.length && /*#__PURE__*/ jsx(ProductCardIconProps, {\n children: Children.toArray(icons.slice(0, 3).map((item)=>/*#__PURE__*/ jsx(Icon, {\n className: `nico-${item.icon}`\n })))\n }),\n transports && /*#__PURE__*/ jsx(Transport, {\n children: Children.toArray(transports.map((trans)=>/*#__PURE__*/ jsx(\"p\", {\n children: trans\n })))\n })\n ]\n }),\n /*#__PURE__*/ jsx(Prices, {\n isDeal: deal,\n price: price,\n literals: literals,\n isBlackfriday: isBlackfriday\n })\n ]\n })\n ]\n })\n ]\n }),\n Children.toArray(jsonLd?.map((script)=>/*#__PURE__*/ jsx(JsonLd, {\n structuredData: script\n })))\n ]\n }),\n hasModal && /*#__PURE__*/ jsx(SearcherModal, {\n visible: isVisible,\n hide: toggleVisibility,\n content: /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsx(Title, {\n children: title\n }),\n renderSearcher('ACTIVITIES')\n ]\n }),\n color: \"primary\",\n variant: \"fullScreen\",\n \"data-testid\": \"CardProductModal\"\n })\n ]\n });\n};\n\nexport { ProductCardMobileView as default };\n","import { FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst SkeletonItem = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"SkeletonItem\",\n componentId: \"sc-873d2146-0\"\n})([\n \"\",\n \" background-color:\",\n \";margin-bottom:8px;position:relative;width:100%;\"\n], FlexMixin(), ({ theme })=>theme.colors.white.base);\nconst SkeletonImages = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"SkeletonImages\",\n componentId: \"sc-873d2146-1\"\n})([\n \"margin-right:16px;min-width:112px;\"\n]);\nconst SkeletonContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"SkeletonContent\",\n componentId: \"sc-873d2146-2\"\n})([\n \"min-width:calc(100% - 128px);& div:first-child{margin-top:16px;}& div{margin-bottom:14px;min-heigh:18px;}\"\n]);\n\nexport { SkeletonContent, SkeletonImages, SkeletonItem };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Skeleton from '@babylon/ui-kit-structures/components/others/skeleton';\nimport { SkeletonItem, SkeletonImages, SkeletonContent } from './styled.mjs';\n\nconst CardSkeletonMobile = ()=>/*#__PURE__*/ jsxs(SkeletonItem, {\n className: \"item\",\n \"data-testid\": \"CardSkeletonMobile\",\n children: [\n /*#__PURE__*/ jsx(SkeletonImages, {\n children: /*#__PURE__*/ jsx(Skeleton, {\n variant: \"rectangular\",\n animation: \"wave\",\n height: \"112px\"\n })\n }),\n /*#__PURE__*/ jsxs(SkeletonContent, {\n children: [\n /*#__PURE__*/ jsx(Skeleton, {\n variant: \"rectangular\",\n animation: \"wave\",\n width: \"90%\",\n style: {\n minHeight: '18px'\n }\n }),\n /*#__PURE__*/ jsx(Skeleton, {\n variant: \"rectangular\",\n animation: \"wave\",\n width: \"40%\",\n style: {\n minHeight: '18px'\n }\n }),\n /*#__PURE__*/ jsx(Skeleton, {\n variant: \"rectangular\",\n animation: \"wave\",\n width: \"60%\",\n style: {\n minHeight: '18px'\n }\n })\n ]\n })\n ]\n });\n\nexport { CardSkeletonMobile, CardSkeletonMobile as default };\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst ButtonBox = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ButtonBox\",\n componentId: \"sc-4781480-0\"\n})([\n \"padding:24px 0;margin-top:0px;text-align:center;background-color:\",\n \";background:\",\n \";a{\",\n \" \",\n \" color:\",\n \";border:1px solid \",\n \";background-color:\",\n \";display:inline-block;padding:8px 16px;cursor:pointer;transition:0.4s;text-transform:uppercase;text-align:center;vertical-align:middle;white-space:nowrap;outline:none;}\"\n], ({ theme })=>theme.colors.white.base, ({ theme })=>theme.bodyBgColor, FontMixin({\n size: 'medium',\n weight: 'medium',\n height: 'small'\n}), BorderRadius({\n all: '4px'\n}), ({ theme })=>theme.colors.primary.light, ({ theme })=>theme.colors.primary.light, ({ theme })=>theme.colors.white.base);\n\nexport { ButtonBox };\n","import { jsx } from 'react/jsx-runtime';\nimport { nullsToUndefined } from '@babylon/ui-kit-helpers/null';\nimport { ButtonBox } from './styled.mjs';\n\nconst ButtonViewMore = ({ link, content })=>/*#__PURE__*/ jsx(ButtonBox, {\n \"data-testid\": \"ButtonViewMore\",\n className: \"button-view-more\",\n children: /*#__PURE__*/ jsx(\"a\", {\n ...nullsToUndefined(link),\n children: content\n })\n });\n\nexport { ButtonViewMore as default };\n","import styled from 'styled-components';\n\nconst CarouselProductWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"CarouselProductWrapper\",\n componentId: \"sc-29070ce-0\"\n})([\n \"background:\",\n \";& > :not(.button-view-more){margin-top:8px;}\"\n], ({ theme })=>theme.bodyBgColor);\n\nexport { CarouselProductWrapper };\n","import { jsx, jsxs, Fragment } from 'react/jsx-runtime';\nimport JsonLd from '@babylon/ui-kit-base/components/others/json-ld';\nimport Title from '@babylon/ui-kit-base/components/text/title';\nimport BenefitsCard from '@babylon/ui-kit-cards/components/cards/benefits-card/views/mobile';\nimport ProductCardMobileView from '@babylon/ui-kit-cards/components/cards/product-card/views/mobile';\nimport CardSkeletonMobile from '@babylon/ui-kit-cards/components/cards/product-card/views/mobile/card-skeleton';\nimport { getTitle } from '../utils.mjs';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport { useMemo } from 'react';\nimport ButtonViewMore from './button-view-more/index.mjs';\nimport { CarouselProductWrapper } from './styled.mjs';\n\nconst CarouselCardProductMobile = ({ props })=>{\n const { ldjson, items = [], className = '', link, config, isLoading = false, defaultImage = {\n src: ''\n }, isFirstComponent = false, benefits } = props ?? {};\n const title = getTitle(props?.title);\n const skeleton = useMemo(()=>new Array(5).fill(undefined).map((_, index)=>/*#__PURE__*/ jsx(CardSkeletonMobile, {}, genKey(index))), []);\n return /*#__PURE__*/ jsxs(Fragment, {\n children: [\n title && /*#__PURE__*/ jsx(Title, {\n className: \"carousel-title\",\n ...title\n }),\n /*#__PURE__*/ jsxs(CarouselProductWrapper, {\n \"data-testid\": \"CarouselProduct\",\n className: className,\n children: [\n benefits && /*#__PURE__*/ jsx(BenefitsCard, {\n ...benefits\n }),\n isLoading ? skeleton : items.map((item)=>{\n const generalConfig = {\n ...item.config,\n ...config\n };\n const literals = {\n ...item.config?.literals,\n ...config?.literals\n };\n return /*#__PURE__*/ jsx(ProductCardMobileView, {\n ...item,\n config: {\n ...generalConfig,\n literals,\n isFirstComponent\n },\n defaultImage: defaultImage\n }, genKey(item));\n }),\n !!link && !!link.href && !isLoading && /*#__PURE__*/ jsx(ButtonViewMore, {\n link: link,\n content: config?.literals?.viewMore ?? link.title\n }),\n ldjson?.scripts?.map((script)=>/*#__PURE__*/ jsx(JsonLd, {\n structuredData: script\n }, genKey(script)))\n ]\n })\n ]\n });\n};\n\nexport { CarouselCardProductMobile as default };\n","const productCardTransportConverterMobile = (item)=>{\n const { link = {\n href: ''\n }, image = {\n src: '',\n alt: '',\n alternative: '',\n text: '',\n title: ''\n }, title = '', price = {}, textInfo, descriptions = [], isBlackfriday = false } = item;\n return {\n config: {\n isBlackfriday,\n literals: {\n fromCaption: item.price?.from\n }\n },\n link,\n image,\n title,\n subtitle: item.subtitle,\n textInfo,\n descriptions,\n price: {\n value: price?.value ? Math.floor(price?.value) : undefined,\n from: !!price?.from\n }\n };\n};\n\nexport { productCardTransportConverterMobile };\n","import { productCardTransportConverterMobile } from '../../card-product/mobile/index.mjs';\n\nconst carouselProductTransportsConverterMobile = (carousel)=>{\n const { items = [], link, title = '', isFirstComponent } = carousel;\n return {\n props: {\n config: {\n literals: {\n viewMore: link?.content ?? ''\n }\n },\n title: {\n title: title ?? ''\n },\n items: items?.map((item)=>productCardTransportConverterMobile(item)),\n link,\n isFirstComponent\n }\n };\n};\nconst tabProductTransportConverterMobile = (tab)=>({\n config: {\n literals: {\n viewMore: tab.data?.link?.content ?? ''\n }\n },\n name: tab.name ?? '',\n title: tab.title ?? '',\n params: tab.arguments ?? [],\n items: tab.data?.items?.map((item)=>productCardTransportConverterMobile(item)),\n link: tab.data?.link\n });\n\nexport { carouselProductTransportsConverterMobile, tabProductTransportConverterMobile };\n"],"names":["useOnly","key","string","_a","media","_b","useMediaQuery","useCurrentBreakpoint","xs","sm","md","lg","tablet","xl","twoxl","xxl","x","CardBox","styled","CardWrapper","BorderRadius","BoxShadowHover","BoxShadow","FlexMixin","theme","CardLink","FontMixin","CardViewMore","link","content","jsx","nullsToUndefined","GridWrapper","breakpoints","CardSkeletonWrapper","GridProductDesktop","props","title","ldjson","items","config","isLoading","searcher","isFirstComponent","currentBreakpoint","breakpointRows","useMemo","skeleton","CardSkeletonDesktop","getProductCards","productCards","Children","item","generalConfig","literals","ProductCard","genKey","jsxs","Fragment","Title","script","JsonLd","BenefitsCardWrapper","BenefitsCardTitle","Icon","Content","BenefitsCardMobile","InnerMarkdownHTML","variantStylesIconBadgeMobile","variant","modifier","css","IconBadgeMobile","rgba","$variant","HeaderBadges","discount","icon","iconName","deal","product","isBlackfriday","showOffer","hasBadge","classNames","getIcon","partnershipsPortaventuraPricesMobileStyles","pricesMobileThemes","createThemes","PricesWrapperMobile","PriceTopMobile","PriceCurrentMobile","PricePaxValueMobile","PriceCaptionMobile","PriceTopDealMobile","PriceCurrentDealMobile","OnlyIcon","Prices","isDeal","price","normalizePrice","Currency","Language","useContext","contextBabylon","priceProps","PriceWithCurrency","partnershipsPortaventuraProductCardMobileStyles","productCardMobileThemes","ProductCardBox","ProductCardLink","ProductCardImageContainer","ProductCardHeader","ProductCardContent","ProductCardTitle","Subtitle","Stars","Detail","Descriptions","Upside","Promotion","Tripadvisor","Image","Reviews","Transport","ProductCardFooter","ProductCardDescription","ProductCardIconProps","SearcherModal","Modal","ModalWrapper","Margin","ProductCardMobileView","textInfo","subtitle","detail","descriptions","rating","image","className","upside","promotion","tripadvisor","reviews","transport","icons","company","defaultImage","ratingIco","zone","showSubtitleFirst","soldOut","hasModal","showDescriptionFirst","reviewContent","getReviewContent","jsonLd","transports","isVisible","toggleVisibility","useBoolean","imagePropertiesMobile","ImageResize","imagePropertiesMobileCompany","subtitleItem","ratingTemplate","onClickCard","useCallback","event","renderSearcher","id","searcherProps","SearcherId","SearcherActivitiesMobile","MAX_UPSIDE","trans","SkeletonItem","SkeletonImages","SkeletonContent","CardSkeletonMobile","Skeleton","ButtonBox","ButtonViewMore","CarouselProductWrapper","CarouselCardProductMobile","benefits","getTitle","_","index","BenefitsCard","productCardTransportConverterMobile","carouselProductTransportsConverterMobile","carousel","tabProductTransportConverterMobile","tab","_d","_c","_e"],"mappings":"qbAMI,MAAMA,EAAWC,GAAM,SACvB,IAAIC,GAASC,EAAAC,GAAM,KAAK,IAAI,IAAf,YAAAD,EAAkB,MAAM,WAAW,GAChD,OAAIF,GAAO,OAAOA,GAAQ,WACtBC,GAASG,EAAAD,GAAM,KAAKH,CAAG,IAAd,YAAAI,EAAiB,MAAM,WAAW,IAE/BC,GAAcJ,CAAM,CAExC,ECRUK,GAAuB,IAAI,OACjC,MAAMC,EAAKR,EAAQ,IAAI,EACjBS,EAAKT,EAAQ,IAAI,EACjBU,EAAKV,EAAQ,IAAI,EACjBW,EAAKX,EAAQ,IAAI,EACjBY,EAASZ,EAAQ,QAAQ,EACzBa,EAAKb,EAAQ,IAAI,EACjBc,EAAQd,EAAQ,KAAK,EACrBe,EAAMf,EAAQ,KAAK,EAmCzB,QAAOG,EAlCa,CAChB,CACI,WAAY,KACZ,SAAUK,CACb,EACD,CACI,WAAY,KACZ,SAAUC,CACb,EACD,CACI,WAAY,KACZ,SAAUC,CACb,EACD,CACI,WAAY,KACZ,SAAUC,CACb,EACD,CACI,WAAY,SACZ,SAAUC,CACb,EACD,CACI,WAAY,KACZ,SAAUC,CACb,EACD,CACI,WAAY,MACZ,SAAUC,CACb,EACD,CAC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