{"version":3,"file":"index.BhS0T3Qq.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/flight-content/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/mobile/flight-content/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-166c9ae8-0\"\n})([\n `display:block;height:100%;padding:2px;position:relative;`\n]);\nconst CardWrapper = /*#__PURE__*/ styled.article.withConfig({\n displayName: \"CardWrapper\",\n componentId: \"sc-166c9ae8-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-166c9ae8-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 ProductCardDefault 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(ProductCardDefault, {\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 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 { 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';\n\nconst Wrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Wrapper\",\n componentId: \"sc-1c1617d7-0\"\n})([\n ``,\n ` color:`,\n `;b{`,\n ` text-transform:uppercase;}&:nth-of-type(2){`,\n `}`\n], FontMixin({\n size: 'medium',\n weight: 'light',\n height: 'base'\n}), ({ theme })=>theme.colors.grays.darker, FontMixin({\n weight: 'medium'\n}), Margin({\n bottom: '0px'\n}));\nconst Label = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"Label\",\n componentId: \"sc-1c1617d7-1\"\n})([\n ``,\n ` `,\n ` color:`,\n `;`\n], FontMixin({\n size: 'small',\n weight: 'regular'\n}), Margin({\n right: '4px'\n}), ({ theme })=>theme.colors.grays.darker);\nconst DateLabel = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"DateLabel\",\n componentId: \"sc-1c1617d7-2\"\n})([\n ``,\n ` color:`,\n `;`\n], FontMixin({\n size: 'small',\n weight: 'light'\n}), ({ theme })=>theme.colors.grays.dark);\nconst Row = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Row\",\n componentId: \"sc-1c1617d7-3\"\n})([\n ``,\n ` white-space:pre;`\n], FlexMixin({\n justify: 'flex-start',\n align: 'center',\n wrap: true\n}));\nconst Company = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"Company\",\n componentId: \"sc-1c1617d7-4\"\n})([\n ``,\n ` color:`,\n `;`\n], FontMixin({\n size: 'small',\n weight: 'light'\n}), ({ theme })=>theme.colors.primary.lighter);\n\nexport { Company, DateLabel, Label, Row, Wrapper };\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport { Wrapper, Row, Label, DateLabel, Company } from './styled.mjs';\n\nconst FlightContent = ({ label, item })=>/*#__PURE__*/ jsx(Wrapper, {\n \"data-testid\": \"FlightContent\",\n children: /*#__PURE__*/ jsxs(Row, {\n children: [\n /*#__PURE__*/ jsxs(Label, {\n children: [\n label,\n \":\"\n ]\n }),\n /*#__PURE__*/ jsxs(DateLabel, {\n children: [\n item?.date,\n \",\"\n ]\n }),\n !!item?.company && /*#__PURE__*/ jsxs(Company, {\n children: [\n \" \",\n item?.company\n ]\n })\n ]\n })\n });\n\nexport { FlightContent 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-a9ba0742-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 Price = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Price\",\n componentId: \"sc-a9ba0742-1\"\n})([\n ``,\n ``\n], FlexMixin({\n direction: 'column'\n}));\nconst PriceTopMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceTopMobile\",\n componentId: \"sc-a9ba0742-2\"\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-a9ba0742-3\"\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-a9ba0742-4\"\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-a9ba0742-5\"\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-a9ba0742-6\"\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-a9ba0742-7\"\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-a9ba0742-8\"\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-a9ba0742-9\"\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, Price, 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, Price, 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 /*#__PURE__*/ jsx(Price, {\n children: price.from && /*#__PURE__*/ jsxs(\"span\", {\n className: \"from\",\n children: [\n literals?.fromCaption,\n \" \"\n ]\n })\n }),\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, Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { Stars } from '@babylon/ui-kit-styles/common/mixins/stars.styled';\nimport styled, { css } from 'styled-components';\nimport productCardMobileThemes from './themes/index.mjs';\n\nconst ProductCardTitle = /*#__PURE__*/ styled.h3.withConfig({\n displayName: \"ProductCardTitle\",\n componentId: \"sc-5760984b-0\"\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 ProductCardImageContainer = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardImageContainer\",\n componentId: \"sc-5760984b-1\"\n})([\n ``,\n ` overflow:hidden;min-width:112px;& .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{`,\n ` background:`,\n `;position:relative;bottom:0;& img{height:auto;width:100%;}}`\n], FlexMixin({\n direction: 'column',\n justify: 'space-between'\n}), Margin({\n y: '4px',\n x: '0px'\n}), ({ theme })=>theme.colors.white.base);\nconst ProductCardContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardContent\",\n componentId: \"sc-5760984b-2\"\n})([\n ``,\n ` `,\n ` flex-grow:1;min-height:120px;`\n], FlexMixin({\n justify: 'space-between',\n direction: 'column'\n}), Padding({\n y: '8px',\n x: '12px'\n}));\nconst ProductCardBox = /*#__PURE__*/ styled.article.withConfig({\n displayName: \"ProductCardBox\",\n componentId: \"sc-5760984b-3\"\n})([\n `border-top:1px solid `,\n `;border-bottom:1px solid `,\n `;background:`,\n `;position:relative;`,\n ` &.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 ` `,\n ` background:`,\n `;border:4px solid `,\n `;color:`,\n `;content:'sold out!';font-family:`,\n `;left:50%;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, ({ $isTransportsNewCard })=>$isTransportsNewCard && /*#__PURE__*/ css([\n ``,\n `{`,\n ` `,\n `}`,\n `{min-width:111px;min-height:93px;}`,\n `{min-height:93px;}`\n ], ProductCardTitle, FontMixin({\n size: 'base',\n height: 'large',\n weight: 'medium'\n }), Margin({\n bottom: '10px'\n }), ProductCardImageContainer, ProductCardContent), ({ theme })=>theme.colors.black.lower, ({ theme })=>theme.zIndex.low, FontMixin({\n size: 'xl',\n weight: 'semiBold',\n height: 'xl'\n}), Padding({\n y: '16px',\n x: '28px'\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 ProductCardTransportContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardTransportContent\",\n componentId: \"sc-5760984b-4\"\n})([\n ``\n]);\nconst ProductCardTransportWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardTransportWrapper\",\n componentId: \"sc-5760984b-5\"\n})([\n ``,\n ``\n], FlexMixin({\n justify: 'space-between'\n}));\nconst ProductCardLink = /*#__PURE__*/ styled.a.withConfig({\n displayName: \"ProductCardLink\",\n componentId: \"sc-5760984b-6\"\n})([\n ``,\n ``\n], FlexMixin({\n direction: 'row'\n}));\nconst ProductCardHeader = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardHeader\",\n componentId: \"sc-5760984b-7\"\n})([\n ``,\n ` & > *:last-child{`,\n `}`\n], FontMixin({\n height: 'base'\n}), Margin({\n bottom: '8px'\n}));\nconst Subtitle = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"Subtitle\",\n componentId: \"sc-5760984b-8\"\n})([\n `& > .product-card-subtitle{`,\n ` `,\n ` color:`,\n `;}& > .product-card-textInfo{`,\n ` `,\n ` color:`,\n `;display:block;}`,\n `{`,\n ` & > i{margin-left:2px;}}`\n], FontMixin({\n size: 'medium',\n height: 'base',\n weight: 'light'\n}), Margin({\n right: '4px'\n}), ({ theme })=>theme.colors.grays.dark, FontMixin({\n size: 'medium',\n height: 'base',\n weight: 'medium'\n}), Margin({\n right: '4px'\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-5760984b-9\"\n})([\n ``,\n ` `,\n ` color:`,\n `;`\n], FontMixin({\n size: 'base',\n height: 'base',\n weight: 'light'\n}), Margin({\n bottom: '8px'\n}), ({ theme })=>theme.colors.grays.dark);\nconst Descriptions = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Descriptions\",\n componentId: \"sc-5760984b-10\"\n})([\n ``,\n ` color:`,\n `;overflow:hidden;&.is-deal{`,\n `}`\n], FontMixin({\n size: 'small',\n height: 'medium',\n weight: 'light'\n}), ({ theme })=>theme.colors.grays.dark, Margin({\n right: '14px'\n}));\nconst ProductCardPrice = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardPrice\",\n componentId: \"sc-5760984b-11\"\n})([\n ``,\n ` `,\n ` `,\n ` color:`,\n `;max-width:45%;text-align:end;flex-shrink:0;align-self:flex-end;align-items:flex-end;.from{`,\n `}.old-price{`,\n ` text-decoration:line-through;}`\n], FontMixin({\n size: 'larger',\n height: 'large',\n weight: 'medium'\n}), FlexMixin({\n direction: 'column',\n align: 'flex-end'\n}), Margin({\n left: '12px'\n}), ({ theme })=>theme.colors.secondary.base, 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-5760984b-12\"\n})([\n ``,\n ` color:`,\n `;`\n], FontMixin({\n size: 'small',\n weight: 'medium',\n height: 'medium'\n}), ({ theme })=>theme.colors.primary.lighter);\nconst Promotion = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Promotion\",\n componentId: \"sc-5760984b-13\"\n})([\n ``,\n ` color:`,\n `;`\n], FontMixin({\n size: 'small',\n weight: 'medium',\n height: 'medium'\n}), ({ theme })=>theme.colors.status.offer);\nconst Tripadvisor = /*#__PURE__*/ styled(Image).withConfig({\n displayName: \"Tripadvisor\",\n componentId: \"sc-5760984b-14\"\n})([\n ``,\n ` width:120px;height:20px;`\n], Margin({\n left: '-8px'\n}));\nconst Reviews = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Reviews\",\n componentId: \"sc-5760984b-15\"\n})([\n ``,\n ` `,\n ` color:`,\n `;`,\n `{`,\n `}&.reviews-veryGood{color:`,\n `;}`\n], FontMixin({\n size: 'small',\n weight: 'medium',\n height: 'medium'\n}), FlexMixin({\n align: 'center'\n}), ({ theme })=>theme.colors.status.success, Icon, Margin({\n top: '0',\n bottom: '4px',\n x: '4px'\n}), ({ theme })=>theme.colors.primary.lighter);\nconst Transport = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Transport\",\n componentId: \"sc-5760984b-16\"\n})([\n ``,\n ` color:`,\n `;`\n], FontMixin({\n size: 'small',\n weight: 'medium',\n height: 'medium'\n}), ({ theme })=>theme.colors.status.success);\nconst ProductCardFooter = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardFooter\",\n componentId: \"sc-5760984b-17\"\n})([\n ``,\n ``\n], FlexMixin({\n justify: 'space-between'\n}));\nconst ProductCardDescription = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardDescription\",\n componentId: \"sc-5760984b-18\"\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-5760984b-19\"\n})([\n ``,\n ` `,\n ` `,\n ` color:`,\n `;`,\n `{`,\n ` width:30px;height:30px;}`\n], FontMixin({\n size: 'large',\n height: 'base',\n weight: 'regular'\n}), FlexMixin({\n align: 'center'\n}), Margin({\n right: '4px',\n top: '4px'\n}), ({ theme })=>theme.colors.primary.lighter, Icon, FlexMixin({\n align: 'center'\n}));\nconst SearcherModal = /*#__PURE__*/ styled(Modal).withConfig({\n displayName: \"SearcherModal\",\n componentId: \"sc-5760984b-20\"\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-5760984b-21\"\n})([\n ``,\n ` `,\n ` color:`,\n `;text-align:center;`\n], FontMixin({\n size: 'largest',\n weight: 'medium',\n height: 'largest'\n}), Margin({\n all: '0px'\n}), (props)=>props.theme.colors.white.base);\n\nexport { Descriptions, Detail, ProductCardBox, ProductCardContent, ProductCardDescription, ProductCardFooter, ProductCardHeader, ProductCardIconProps, ProductCardImageContainer, ProductCardLink, ProductCardPrice, ProductCardTitle, ProductCardTransportContent, ProductCardTransportWrapper, 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 FlightContent from './flight-content/index.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, SearcherModal, Title, ProductCardDescription, Tripadvisor, Reviews, ProductCardIconProps, Transport, ProductCardTransportWrapper, ProductCardTransportContent } from './styled.mjs';\n\nconst getProductCardDescription = ({ tripadvisor, literals, reviews, descriptions, deal, showDescriptionFirst, icons, transport })=>{\n const reviewContent = getReviewContent(reviews);\n const transports = transport && Array.isArray(transport) ? transport : [\n transport ?? ''\n ];\n return /*#__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 \"data-testid\": \"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};\nconst getFlightDepRetContent = (returnContent, departureContent, literals, { price, deal, isBlackfriday })=>(returnContent ?? departureContent) && /*#__PURE__*/ jsxs(ProductCardTransportWrapper, {\n children: [\n /*#__PURE__*/ jsxs(ProductCardTransportContent, {\n children: [\n departureContent?.date && /*#__PURE__*/ jsx(FlightContent, {\n label: literals?.departureLabel ?? '',\n item: departureContent\n }),\n returnContent?.date && /*#__PURE__*/ jsx(FlightContent, {\n label: literals?.returnLabel ?? '',\n item: returnContent\n })\n ]\n }),\n /*#__PURE__*/ jsx(Prices, {\n isDeal: deal,\n price: price,\n literals: literals,\n isBlackfriday: isBlackfriday\n })\n ]\n });\nconst ProductCardMobile = ({ title = '', textInfo, subtitle, detail, descriptions = [], price, rating, image, link, className = '', ldjson, config = {}, upside = [], promotion, tripadvisor, reviews, transport, icons = [], company, searcher, defaultImage = {}, returnContent, departureContent })=>{\n const { literals, rating: ratingIco = 'star', zone = false, deal = false, showSubtitleFirst = false, isBlackfriday = false, soldOut = false, hasModal = false, showDescriptionFirst = false, isFirstComponent = false, typeCard = null } = config;\n const isTransportsNewCard = typeCard === 'new';\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 const descriptionContent = !!tripadvisor || !!reviews || descriptions.length > 0 || !!icons || !transports ? getProductCardDescription({\n tripadvisor,\n literals,\n reviews,\n descriptions,\n deal,\n showDescriptionFirst,\n icons,\n transport\n }) : '';\n return /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsxs(ProductCardBox, {\n \"data-testid\": \"ProductCard\",\n $isTransportsNewCard: isTransportsNewCard,\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 !isTransportsNewCard && !showSubtitleFirst && subtitleItem,\n detail && /*#__PURE__*/ jsx(Detail, {\n tag: \"p\",\n content: detail\n }),\n isTransportsNewCard && returnContent && departureContent && literals ? getFlightDepRetContent(returnContent, departureContent, literals, {\n price,\n deal,\n isBlackfriday\n }) : '',\n showDescriptionFirst && !!descriptions.length && /*#__PURE__*/ jsx(Descriptions, {\n \"data-testid\": \"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 \"data-testid\": \"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 descriptionContent,\n !isTransportsNewCard && /*#__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 { ProductCardMobile 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 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 { jsxs, jsx } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { nullsToUndefined } from '@babylon/ui-kit-helpers/null';\nimport { ButtonBox } from './styled.mjs';\n\nconst ButtonViewMore = ({ link, content, hasIcon })=>/*#__PURE__*/ jsxs(ButtonBox, {\n \"data-testid\": \"ButtonViewMore\",\n className: \"button-view-more\",\n children: [\n /*#__PURE__*/ jsx(\"a\", {\n ...nullsToUndefined(link),\n children: content\n }),\n hasIcon && /*#__PURE__*/ jsx(Icon, {\n className: \"nico-arrow-right\"\n })\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 ProductCardMobile 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 CarouselProductMobile = ({ props })=>{\n const { ldjson, items = [], className = '', link, config, isLoading = false, defaultImage = {\n src: ''\n }, isFirstComponent = false, benefits, hasIcon } = 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(ProductCardMobile, {\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 hasIcon: hasIcon\n }),\n ldjson?.scripts?.map((script)=>/*#__PURE__*/ jsx(JsonLd, {\n structuredData: script\n }, genKey(script)))\n ]\n })\n ]\n });\n};\n\nexport { CarouselProductMobile as default };\n","const productCardTransportConverterMobile = (item, config)=>{\n const { link = {\n href: ''\n }, title = '', textInfo, descriptions = [], isBlackfriday = false, departureContent = {}, returnContent = {}, imgSrc, image, price = {} } = item;\n const priceFrom = typeof item.price === 'number' ? !!item.priceLabel : typeof item.price === 'object' && !!item.price.from;\n const literalPrice = typeof item.price === 'object' ? item.price?.from : item.priceLabel;\n const renderedImage = {\n src: imgSrc ?? image?.src ?? '',\n alt: item.imgAlt ?? image?.alt ?? '',\n alternative: item.imgAlternative ?? image?.alternative ?? ''\n };\n return {\n config: {\n ...config,\n isBlackfriday,\n typeCard: config?.typeCard,\n literals: {\n ...config?.literals,\n fromCaption: literalPrice ?? ''\n }\n },\n link,\n image: renderedImage,\n title,\n subtitle: item.subtitle,\n textInfo,\n descriptions,\n price: {\n value: typeof price === 'number' ? Math.floor(price) : Math.floor(price?.value ?? 0),\n caption: true,\n from: priceFrom\n },\n departureContent,\n returnContent\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, carousel.config)),\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, tab.data?.config)),\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","ProductCardDefault","genKey","jsxs","Fragment","Title","script","JsonLd","BenefitsCardWrapper","BenefitsCardTitle","Icon","Content","BenefitsCardMobile","InnerMarkdownHTML","Wrapper","Margin","Label","DateLabel","Row","Company","FlightContent","label","variantStylesIconBadgeMobile","variant","modifier","css","IconBadgeMobile","rgba","$variant","HeaderBadges","discount","icon","iconName","deal","product","isBlackfriday","showOffer","hasBadge","classNames","getIcon","partnershipsPortaventuraPricesMobileStyles","pricesMobileThemes","createThemes","PricesWrapperMobile","Price","PriceTopMobile","PriceCurrentMobile","PricePaxValueMobile","PriceCaptionMobile","PriceTopDealMobile","PriceCurrentDealMobile","OnlyIcon","Prices","isDeal","price","normalizePrice","Currency","Language","useContext","contextBabylon","priceProps","PriceWithCurrency","partnershipsPortaventuraProductCardMobileStyles","productCardMobileThemes","ProductCardTitle","ProductCardImageContainer","ProductCardContent","Padding","ProductCardBox","$isTransportsNewCard","ProductCardTransportContent","ProductCardTransportWrapper","ProductCardLink","ProductCardHeader","Subtitle","Stars","Detail","Descriptions","Upside","Promotion","Tripadvisor","Image","Reviews","Transport","ProductCardFooter","ProductCardDescription","ProductCardIconProps","SearcherModal","Modal","ModalWrapper","getProductCardDescription","tripadvisor","reviews","descriptions","showDescriptionFirst","icons","transport","reviewContent","getReviewContent","transports","trans","getFlightDepRetContent","returnContent","departureContent","ProductCardMobile","textInfo","subtitle","detail","rating","image","className","upside","promotion","company","defaultImage","ratingIco","zone","showSubtitleFirst","soldOut","hasModal","typeCard","isTransportsNewCard","jsonLd","isVisible","toggleVisibility","useBoolean","imagePropertiesMobile","ImageResize","imagePropertiesMobileCompany","subtitleItem","ratingTemplate","onClickCard","useCallback","event","renderSearcher","id","searcherProps","SearcherId","SearcherActivitiesMobile","descriptionContent","MAX_UPSIDE","SkeletonItem","SkeletonImages","SkeletonContent","CardSkeletonMobile","Skeleton","ButtonBox","ButtonViewMore","hasIcon","CarouselProductWrapper","CarouselProductMobile","benefits","getTitle","_","index","BenefitsCard","productCardTransportConverterMobile","imgSrc","priceFrom","literalPrice","renderedImage","carouselProductTransportsConverterMobile","carousel","tabProductTransportConverterMobile","tab","_d","_c","_e"],"mappings":"4bAMI,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,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