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AM,CAAC,CAAE,MAAAA,CAAO,IAAGA,EAAM,OAAO,MAAM,KAAMG,EAAa,CACzF,IAAK,KACT,CAAC,CAAC,EACIuJ,GAAuCjK,EAAO,IAAI,WAAW,CAC/D,YAAa,wBACjB,CAAC,EAAE,CACC,SACA,IACA,sBACA,qBACA,qMACA,oFACA,iDACA,KACA,EACJ,EAAG,CAAC,CAAE,MAAAO,KAAUA,EAAM,OAAO,MAAM,KAAML,EAAU,CAC/C,MAAO,QACX,CAAC,EAAGkH,EAAU,CACV,KAAM,SACN,OAAQ,SACR,OAAQ,OACZ,CAAC,EAAG,CAAC,CAAE,MAAA7G,CAAO,IAAGA,EAAM,OAAO,OAAO,MAAO,CAAC,CAAE,MAAAA,CAAK,IAAKA,EAAM,OAAO,OAAO,MAAO,CAAC,CAAE,MAAAA,CAAK,IAAKA,EAAM,OAAO,MAAM,KAAM,CAAC,CAAE,MAAAA,CAAO,IAAGA,EAAM,OAAO,MAAM,KAAMmJ,EAAmB,WAAW,CAAC,EACzLQ,GAAyBlK,EAAOmG,CAAI,EAAE,WAAW,CACnD,YAAa,UACjB,CAAC,EAAE,CACC,SACA,IACA,EACJ,EAAG,CAAC,CAAE,MAAA5F,KAAUA,EAAM,OAAO,UAAU,KAAM6G,EAAU,CACnD,KAAM,QACN,OAAQ,OACR,OAAQ,OACZ,CAAC,CAAC","names":["generateBreakpointsItem","breakpointsConfig","defaultPerPage","defaultGap","gap","css","a","b","width","value","CSS","SplideWrapper","styled","splideCoreCSS","FlexMixin","$splideOptions","breakpoints","prev","breakpoint","theme","$paginationVariant","Margin","BorderRadius","slidersThemes","SliderSlide","children","index","activeIndex","jsx","classNames","Slider","props","className","PrevArrow","NextArrow","paginationClassName","arrowsClassName","onChange","paginationVariant","start","onClick","centered","perMove","arrows","pagination","rest","elementRef","useRef","splideRef","initialActiveIndex","setActiveIndex","useState","getAutoPerMove","splideOptions","useMemo","options","updatePerMoveOption","useCallback","newPerMove","debouncedUpdatePerMoveOption","useDebounceCallback","onActive","slide","createSplide","Splide","__vitePreload","m","data","_a","_b","useEffect","jsxs","Children","child","generateRatingArray","full","half","empty","rating","maximum","fullSymbolQuantityToFill","hasFractionalPart","canAddHalfSymbol","hasHalfSymbol","emptySymbolsQuantityToFill","fullSymbols","halfSymbol","emptySymbols","calculateStars","star","halfStar","Stars","color","size","height","ICONS","MAX_UPSIDE","MAX_ICON_FOOTER","REPLACE_DESTINATION","ImageResize","EXCLUDE_BY_BRAND","ThemeId","getIcon","name","key","getIconTransport","product","ratingTemplate","show","icon","stars","Icon","getReviewContent","positiveNumberOrUndefined","num","normalizePrice","price","ensureArray","useExcludeByBrand","brands","id","useTheme","liverpoolPricesDesktopStyles","Price","Currency","logitravelPricesDesktopStyles","partnershipsPricesDesktopStyles","partnershipsPortaventuraPricesDesktopStyles","FontMixin","smyPricesDesktopStyles","veciPricesDesktopStyles","pricesDesktopThemes","createThemes","PricesWrapper","PriceTopDesktop","PriceCurrentDesktop","PricePaxValueDesktop","PriceCaption","PriceTopDealDesktop","PriceCurrentDealDesktop","NoPrice","Prices","isDeal","isBlackfriday","literals","minimumFractionDigits","Language","useContext","contextBabylon","priceProps","excludeBrand","Fragment","PriceWithCurrency","InnerMarkdownHTML","useDown","string","media","matches","useMediaQuery","isClient","useIsClient","device","useDevice","checkIfMobile","liverpoolPricesMobileStyles","partnershipsPortaventuraPricesMobileStyles","pricesMobileThemes","PricesWrapperMobile","PriceTopMobile","PriceCurrentMobile","PricePaxValueMobile","PriceCaptionMobile","PriceTopDealMobile","PriceCurrentDealMobile","OnlyIcon"],"ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22],"sources":["../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/slider/utils.js","../../../../../../../node_modules/@babylon/ui-kit-structures/_css/356edd8dbc0575febaf0deaf20c1d91b.js","../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/slider/styled.js","../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/slider/index.js","../../../../../../../node_modules/@babylon/ui-kit-helpers/rating.js","../../../../../../../node_modules/@babylon/ui-kit-helpers/calculate-stars.js","../../../../../../../node_modules/@babylon/ui-kit-styles/common/mixins/stars.styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/utils/constants.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/utils/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/prices/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/prices/themes/styles/logitravel.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/prices/themes/styles/partnerships.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/prices/themes/styles/portaventura.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/prices/themes/styles/smy.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/prices/themes/styles/veci.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/prices/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/prices/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/prices/index.js","../../../../../../../node_modules/@babylon/ui-kit-hooks/media/useDown.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/prices/themes/styles/partnershipsLiverpool.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/prices/themes/styles/portaventura.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/prices/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/prices/styled.js"],"sourcesContent":["import { css } from 'styled-components';\n\nconst generateBreakpointsItem = (breakpointsConfig, defaultPerPage = 5, defaultGap = '16px')=>{\n const gap = typeof defaultGap === 'string' ? defaultGap : `${defaultGap}px`;\n return /*#__PURE__*/ css([\n `.splide__slide{& > a{min-width:unset;}width:calc(((100% + `,\n `) / `,\n `) - `,\n `);margin-right:`,\n `;`,\n `}`\n ], gap, defaultPerPage, gap, gap, Object.keys(breakpointsConfig).sort((a, b)=>parseInt(a) < parseInt(b) ? 1 : -1).map((width)=>{\n const value = breakpointsConfig[width];\n return /*#__PURE__*/ css([\n `@media (width < `,\n `px){width:calc(((100% + `,\n `) / `,\n `) - `,\n `);}`\n ], width, gap, value, gap);\n }));\n};\n\nexport { generateBreakpointsItem };\n//# sourceMappingURL=utils.js.map\n","const CSS = `@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list>.splide__slide{margin:0!important;opacity:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__container{box-sizing:border-box;position:relative}.splide__list{backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide:not(.is-overflow) .splide__pagination{display:none}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}`; export default CSS;","import { generateBreakpointsItem } from './utils.js';\nimport { FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin, BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport splideCoreCSS from '../../../_css/356edd8dbc0575febaf0deaf20c1d91b.js';\nimport styled, { css } from 'styled-components';\nimport slidersThemes from './themes/index.js';\n\nconst SplideWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"SplideWrapper\"\n})([\n ``,\n ` .splide{position:relative;height:100%;visibility:visible;&:not(.is-initialized),&.is-initialized:not(.is-active){.splide__list{`,\n `}`,\n `}}.splide__arrows{position:absolute;top:50%;left:0;transform:translateY(-50%);width:100%;height:0;display:flex;align-items:center;justify-content:space-between;z-index:1;.splide__arrow{color:`,\n `;font-size:`,\n `;&[disabled]{opacity:0.5;cursor:not-allowed;}i{color:currentColor;font-size:inherit;}}}`,\n ` `,\n ``\n], splideCoreCSS, FlexMixin(), ({ $splideOptions })=>{\n if ($splideOptions.autoWidth) return;\n let breakpoints = {};\n if ($splideOptions.breakpoints) {\n breakpoints = Object.entries($splideOptions.breakpoints).reduce((prev, [breakpoint, value])=>{\n prev[breakpoint] = value.perPage;\n return prev;\n }, {});\n }\n return generateBreakpointsItem(breakpoints, $splideOptions.perPage, $splideOptions.gap);\n}, ({ theme })=>theme.colors.grays.base, ({ theme })=>theme.font.size.larger, ({ $paginationVariant })=>{\n if ($paginationVariant === 'bottom') {\n return /*#__PURE__*/ css([\n `.splide__pagination{gap:0;position:relative;right:0;top:0;`,\n `}.splide__pagination .splide__pagination__page{`,\n ` `,\n ` background:`,\n `;cursor:pointer;height:12px;margin:0 5px;position:relative;transition:transform 0.2s,left 0.2s;width:12px;transition:width 0.3s ease-in;opacity:0.12;&::before{`,\n ` background-color:transparent;content:'';display:block;height:12px;width:100%;}&.is-active{width:32px;transition:width 0.3s ease-in;`,\n ` opacity:1;&::before{background-color:`,\n `;}}}`\n ], Margin({\n top: '12px'\n }), BorderRadius({\n all: '50vh'\n }), FlexMixin({\n align: 'center',\n justify: 'center',\n wrap: true\n }), ({ theme })=>theme.colors.grays.dark, BorderRadius({\n all: '50vh'\n }), BorderRadius({\n all: '8px'\n }), ({ theme })=>theme.colors.primary.light);\n }\n return /*#__PURE__*/ css([\n `.splide__pagination{position:absolute;top:20px;right:20px;z-index:1;display:flex;gap:8px;.splide__pagination__page{display:block;width:12px;height:12px;border-radius:100%;border:1px solid `,\n `;&.is-active{background-color:`,\n `;}}}`\n ], ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.white.base);\n}, slidersThemes('SplideWrapper'));\n\nexport { SplideWrapper };\n//# sourceMappingURL=styled.js.map\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport classNames from 'classnames';\nimport { useRef, useState, useMemo, useCallback, useEffect, Children } from 'react';\nimport { useDebounceCallback } from 'usehooks-ts';\nimport { SplideWrapper } from './styled.js';\n\nconst SliderSlide = ({ children, index, activeIndex })=>/*#__PURE__*/ jsx(\"li\", {\n className: classNames('splide__slide', {\n 'is-active': activeIndex === index\n }),\n \"data-testid\": \"SliderSlide\",\n role: \"tab\",\n children: children\n });\nconst Slider = (props)=>{\n const { children, className, PrevArrow = /*#__PURE__*/ jsx(\"i\", {\n className: \"nico-angle-left\"\n }), NextArrow = /*#__PURE__*/ jsx(\"i\", {\n className: \"nico-angle-right\"\n }), paginationClassName, arrowsClassName, onChange, paginationVariant = 'default', start = 0, onClick, centered = false, perMove = 'auto', arrows = true, pagination = true, ...rest } = props;\n const elementRef = useRef(null);\n const splideRef = useRef();\n const initialActiveIndex = useRef(start);\n const [activeIndex, setActiveIndex] = useState(start);\n const getAutoPerMove = ()=>{\n if (!splideRef.current) return 1;\n return splideRef.current.root.querySelectorAll('.splide__slide.is-visible').length || 1;\n };\n const splideOptions = useMemo(()=>{\n // Default values\n let options = {\n type: 'slide',\n role: 'region',\n rewind: false,\n speed: 400,\n autoWidth: false,\n autoHeight: false,\n start: initialActiveIndex.current,\n perPage: 1,\n cloneStatus: true,\n arrows: arrows,\n pagination: pagination,\n paginationKeyboard: true,\n drag: true,\n snap: false,\n dragMinThreshold: 10,\n flickPower: 600,\n flickMaxPages: 1,\n waitForTransition: false,\n autoplay: false,\n interval: 5000,\n pauseOnHover: true,\n pauseOnFocus: true,\n resetProgress: true,\n lazyLoad: false,\n preloadPages: 1,\n keyboard: false,\n wheel: false,\n releaseWheel: false,\n direction: 'ltr',\n cover: false,\n focusableNodes: 'a, button, textarea, input, select, iframe',\n isNavigation: false,\n trimSpace: true,\n omitEnd: false,\n updateOnMove: false,\n destroy: false,\n mediaQuery: 'max',\n live: true,\n perMove: 1,\n ...rest\n };\n if (centered) {\n options.focus = 'center';\n }\n if (perMove === 'auto') {\n options.perMove = getAutoPerMove();\n } else if (typeof perMove === 'number') {\n options.perMove = perMove;\n }\n return options;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n arrows,\n centered,\n pagination,\n perMove,\n JSON.stringify(rest)\n ]);\n const updatePerMoveOption = useCallback(()=>{\n if (perMove === 'auto') {\n if (splideRef.current) {\n const newPerMove = getAutoPerMove();\n if (splideRef.current.options.perMove !== newPerMove) {\n splideRef.current.options = {\n ...splideRef.current.options,\n perMove: newPerMove\n };\n }\n }\n }\n }, [\n perMove\n ]);\n const debouncedUpdatePerMoveOption = useDebounceCallback(updatePerMoveOption, 100);\n const onActive = useCallback((slide)=>{\n initialActiveIndex.current = slide.index;\n setActiveIndex(slide.index);\n onChange?.(slide.index);\n }, [\n onChange\n ]);\n const createSplide = useCallback(async ()=>{\n const Splide = await import('@splidejs/splide').then((m)=>m.default);\n if (elementRef.current) {\n splideRef.current = new Splide(elementRef.current, splideOptions);\n if (onActive) splideRef.current.on('active', onActive);\n if (onClick) splideRef.current.on('click', onClick);\n }\n if (splideRef.current && paginationClassName) {\n splideRef.current.on('pagination:mounted', (data)=>{\n data.list.classList.add(paginationClassName);\n });\n }\n splideRef.current?.on('inactive', debouncedUpdatePerMoveOption);\n splideRef.current?.on('resized', debouncedUpdatePerMoveOption);\n setTimeout(()=>{\n if (splideRef.current && (splideRef.current?.state.is(Splide.STATES.CREATED) || splideRef.current?.state.is(Splide.STATES.DESTROYED))) {\n splideRef.current.mount();\n }\n });\n }, [\n debouncedUpdatePerMoveOption,\n onActive,\n onClick,\n paginationClassName,\n splideOptions\n ]);\n useEffect(()=>{\n createSplide();\n return ()=>{\n splideRef.current?.destroy();\n };\n }, [\n createSplide\n ]);\n return /*#__PURE__*/ jsx(SplideWrapper, {\n className: className,\n \"data-testid\": \"Slider\",\n $splideOptions: splideOptions,\n $paginationVariant: paginationVariant,\n children: /*#__PURE__*/ jsxs(\"div\", {\n ref: elementRef,\n className: classNames('splide', {\n 'splide--centered': centered\n }),\n children: [\n /*#__PURE__*/ jsxs(\"div\", {\n className: classNames('splide__arrows', 'splide__arrows--ltr', arrowsClassName),\n \"data-testid\": \"SliderArrows\",\n children: [\n /*#__PURE__*/ jsx(\"button\", {\n className: classNames('splide__arrow', 'splide__arrow--prev'),\n type: \"button\",\n role: \"button\",\n \"data-testid\": \"SliderArrowPrev\",\n children: PrevArrow\n }),\n /*#__PURE__*/ jsx(\"button\", {\n className: classNames('splide__arrow', 'splide__arrow--next'),\n type: \"button\",\n role: \"button\",\n \"data-testid\": \"SliderArrowNext\",\n children: NextArrow\n })\n ]\n }),\n /*#__PURE__*/ jsx(\"div\", {\n className: \"splide__track\",\n \"data-testid\": \"SliderTrack\",\n children: /*#__PURE__*/ jsx(\"ul\", {\n className: \"splide__list\",\n \"data-testid\": \"SliderList\",\n role: \"sliderList\",\n \"aria-label\": \"Slider List\",\n children: Children.toArray(Children.map(children, (child, index)=>/*#__PURE__*/ jsx(SliderSlide, {\n index: index,\n activeIndex: activeIndex,\n children: child\n })))\n })\n })\n ]\n })\n });\n};\n\nexport { Slider as default };\n//# sourceMappingURL=index.js.map\n","/**\n * Generates an array of symbols representing a rating \"system\", given a specific rating value and maximum (default is 5).\n * The array can contain full, half, and empty custom symbols, as required to represent the rating.\n *\n * @param symbol - The symbols to use for full, half, and empty ratings.\n * @param full - The symbol used for full ratings.\n * @param half - The symbol used for half ratings.\n * @param empty - The symbol used for empty ratings.\n * @param rating - The rating value.\n * @param maximum - The maximum number of symbols in the rating \"system\" (default is 5).\n * @returns An array of symbols representing the rating, including full, half, and empty symbols.\n *\n * @remarks This function is used to generate the rating array,\n * if you don't want to have a maximum number of stars, use Math.round(rating) as the maximum.\n * like the following code (same code as in src/helpers/calculate-stars.ts):\n * ```js\n * const starts = generateRatingArray({\n * symbol: {\n * full: star,\n * half: halfStar,\n * empty: '',\n * },\n * rating: value,\n * maximum: Math.round(value),\n * });\n * ```\n */ const generateRatingArray = ({ symbol: { full, half, empty }, rating, maximum = 5 })=>{\n // Calculate the number of full symbols to display, ensuring it doesn't exceed the maximum value.\n const fullSymbolQuantityToFill = Math.min(Math.floor(rating), maximum);\n // Check if the rating has a fractional part.\n const hasFractionalPart = rating % 1 !== 0;\n // Check if it's possible to add a half symbol without exceeding the maximum value.\n const canAddHalfSymbol = fullSymbolQuantityToFill < maximum;\n // Determine if a half symbol should be added.\n const hasHalfSymbol = hasFractionalPart && canAddHalfSymbol;\n // Calculate the number of empty symbols needed to complete the maximum required number of symbols.\n const emptySymbolsQuantityToFill = maximum - fullSymbolQuantityToFill - (hasHalfSymbol ? 1 : 0);\n // Create an array of full symbols\n const fullSymbols = Array(fullSymbolQuantityToFill).fill(full);\n // Create an array containing a half symbol, if applicable\n const halfSymbol = hasHalfSymbol ? [\n half\n ] : [];\n // Create an array of empty symbols\n const emptySymbols = Array(emptySymbolsQuantityToFill).fill(empty);\n // Combine and return the full, half, and empty symbols arrays\n return [\n ...fullSymbols,\n ...halfSymbol,\n ...emptySymbols\n ];\n};\n\nexport { generateRatingArray };\n//# sourceMappingURL=rating.js.map\n","import { generateRatingArray } from './rating.js';\n\nconst calculateStars = ({ star, halfStar, value })=>{\n // Call the generateRatingArray function with the provided star and halfStar symbols, and the rating value.\n // Set the maximum number of symbols equal to the rounded rating value to avoid the default maximum=5\n const starts = generateRatingArray({\n symbol: {\n full: star,\n half: halfStar,\n empty: ''\n },\n rating: value,\n maximum: Math.round(value)\n });\n return starts;\n};\n\nexport { calculateStars, calculateStars as default };\n//# sourceMappingURL=calculate-stars.js.map\n","import styled from 'styled-components';\n\nconst Stars = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"Stars\"\n})([\n `color:`,\n `;font-size:`,\n `;line-height:`,\n `;`\n], ({ color, theme })=>color ?? theme.colors.rating.base, ({ size, theme })=>size ?? theme.font.size.small, ({ height, theme })=>height ?? theme.font.height.small);\n\nexport { Stars };\n//# sourceMappingURL=stars.styled.js.map\n","import { ThemeId } from '@babylon/ui-kit-styles/types/theme';\n\nvar ICONS;\n(function(ICONS) {\n ICONS[\"ICO_TTOO\"] = \"suitcase\";\n ICONS[\"ICO_FLIGHT_HOTEL\"] = \"plane-hotel\";\n ICONS[\"ICO_FERRY_HOTEL\"] = \"ferry-hotel\";\n ICONS[\"ICO_TRAIN_HOTEL\"] = \"train-hotel\";\n ICONS[\"ICO_BUS_HOTEL\"] = \"bus-hotel\";\n ICONS[\"ICO_LEI\"] = \"hot-air-balloon\";\n ICONS[\"ICO_SKI\"] = \"snow\";\n ICONS[\"ICO_DIS\"] = \"disney\";\n ICONS[\"ICO_GV_CIR\"] = \"earth-arrow\";\n ICONS[\"ICO_GV_COMB\"] = \"map-markers\";\n ICONS[\"ICO_GV_RUT\"] = \"car-routes\";\n ICONS[\"ICO_GV_TER\"] = \"marker-compass\";\n ICONS[\"ICO_FLIGHT\"] = \"flight\";\n ICONS[\"ICO_BUS\"] = \"bus\";\n ICONS[\"ICO_PLANE\"] = \"plane\";\n ICONS[\"ICO_TRAIN\"] = \"train\";\n ICONS[\"ICO_FERRY\"] = \"ferry\";\n ICONS[\"ICO_HOTEL\"] = \"hotel\";\n ICONS[\"ICO_STAR\"] = \"star-filled\";\n ICONS[\"ICO_KEY\"] = \"key\";\n ICONS[\"ICO_SAFE\"] = \"check-shield\";\n ICONS[\"ICO_REVIEW\"] = \"thumbs-up-filled\";\n ICONS[\"ICO_MAGNIFIER\"] = \"magnifier\";\n})(ICONS || (ICONS = {}));\nconst MAX_UPSIDE = 2;\nconst MAX_ICON_FOOTER = 3;\nconst REPLACE_DESTINATION = '#destination#';\nconst ImageResize = {\n HEADER: {\n resize: {\n width: 400,\n height: 205\n },\n alternative: '/comun/images/not-available.png',\n isLazy: true\n },\n COMPANY: {\n resize: {\n width: 100,\n height: 60\n },\n alternative: '/comun/images/not-available.png'\n },\n MOBILE: {\n resize: {\n width: 240,\n height: 240,\n quality: 90\n },\n alternative: '/comun/images/not-available.png',\n isLazy: true\n },\n MOBILE_COMPANY: {\n resize: {\n width: 100,\n height: 30\n },\n alternative: '/comun/images/not-available.png',\n isLazy: true\n },\n COMPANY_MODAL: {\n resize: {\n width: 80,\n height: 30,\n suboperation: null\n },\n alternative: '/comun/images/not-available.png'\n },\n COMPANY_NEWCARD: {\n resize: {\n width: 20,\n height: 20,\n suboperation: null\n }\n },\n MODAL: {\n resize: {\n width: 425,\n height: 210\n },\n alternative: '/comun/images/not-available.png',\n isLazy: true\n },\n MODAL_LARGE: {\n resize: {\n width: 500,\n height: 700\n },\n alternative: '/comun/images/not-available.png',\n isLazy: true\n },\n TRANSPORT: {\n resize: {\n width: 30,\n height: 30\n },\n alternative: '/comun/images/not-avaiable.png'\n },\n ACTIVITIES: {\n resize: {\n width: 500,\n height: 400\n },\n alternative: '/comun/images/not-avaiable.png',\n isLazy: true\n }\n};\nconst EXCLUDE_BY_BRAND = [\n ThemeId.logitravel,\n ThemeId.veci\n];\n\nexport { EXCLUDE_BY_BRAND, ICONS, ImageResize, MAX_ICON_FOOTER, MAX_UPSIDE, REPLACE_DESTINATION };\n//# sourceMappingURL=constants.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport calculateStars from '@babylon/ui-kit-helpers/calculate-stars';\nimport { Stars } from '@babylon/ui-kit-styles/common/mixins/stars.styled';\nimport { Children } from 'react';\nimport { useTheme } from 'styled-components';\nimport { ICONS, EXCLUDE_BY_BRAND } from './constants.js';\n\nconst getIcon = (name)=>{\n const key = name.toUpperCase();\n const icon = {\n TTOO: ICONS.ICO_TTOO,\n FLIGHTHOTEL: ICONS.ICO_FLIGHT_HOTEL,\n FERRYHOTEL: ICONS.ICO_FERRY_HOTEL,\n TRAINHOTEL: ICONS.ICO_TRAIN_HOTEL,\n BUSHOTEL: ICONS.ICO_BUS_HOTEL,\n LEI: ICONS.ICO_LEI,\n SKI: ICONS.ICO_SKI,\n DISNEY: ICONS.ICO_DIS,\n GVCOMB: ICONS.ICO_GV_COMB,\n GVCIR: ICONS.ICO_GV_CIR,\n GVRUT: ICONS.ICO_GV_RUT,\n FLIGHT: ICONS.ICO_FLIGHT,\n TRAIN: ICONS.ICO_TRAIN,\n FERRY: ICONS.ICO_FERRY,\n BUS: ICONS.ICO_BUS,\n HOTEL: ICONS.ICO_HOTEL,\n STAR: ICONS.ICO_STAR,\n KEY: ICONS.ICO_KEY,\n SAFE: ICONS.ICO_SAFE,\n REVIEW: ICONS.ICO_REVIEW,\n MAGNIFIER: ICONS.ICO_MAGNIFIER\n }[key];\n return icon ?? ICONS.ICO_STAR;\n};\nconst getIconTransport = (product)=>{\n const key = product.toUpperCase();\n const icon = {\n FLIGHTHOTEL: ICONS.ICO_PLANE,\n FERRYHOTEL: ICONS.ICO_FERRY,\n TRAINHOTEL: ICONS.ICO_TRAIN,\n BUSHOTEL: ICONS.ICO_BUS\n }[key];\n return icon ?? ICONS.ICO_PLANE;\n};\nconst ratingTemplate = (show, icon, value)=>{\n if (!show || !value || isNaN(value)) return;\n const stars = calculateStars({\n star: `nico-${getIcon(icon)}`,\n halfStar: 'nico-star-half-filled',\n value\n });\n return /*#__PURE__*/ jsx(Stars, {\n children: Children.toArray(stars.map((icon)=>/*#__PURE__*/ jsx(Icon, {\n \"data-testid\": \"StarsIcon\",\n className: icon\n })))\n });\n};\nconst getReviewContent = (value)=>{\n if (value <= 6) return 'good';\n if (value <= 8) return 'veryGood';\n return 'excelent';\n};\nconst positiveNumberOrUndefined = (num)=>{\n if (num && num > 0) return num;\n return undefined;\n};\nconst normalizePrice = (price)=>({\n ...price,\n discount: positiveNumberOrUndefined(price?.discount),\n market_value: positiveNumberOrUndefined(price?.market_value),\n paxValue: positiveNumberOrUndefined(price?.paxValue),\n value: positiveNumberOrUndefined(price?.value)\n });\nconst ensureArray = (data)=>{\n if (Array.isArray(data)) {\n return data;\n } else if (data) {\n return [\n data\n ];\n }\n return undefined;\n};\nconst useExcludeByBrand = (brands = EXCLUDE_BY_BRAND)=>{\n const { id } = /*#__PURE__*/ useTheme();\n return brands.includes(id);\n};\n\nexport { ensureArray, getIcon, getIconTransport, getReviewContent, normalizePrice, ratingTemplate, useExcludeByBrand };\n//# sourceMappingURL=index.js.map\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { Price, Currency } from '@babylon/ui-kit-base/components/text/price-with-currency/styled';\nimport { FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst liverpoolPricesDesktopStyles = {\n NoPrice: ()=>/*#__PURE__*/ css([\n ``,\n `{&::before{`,\n `}}`\n ], Icon, FlexMixin({\n align: 'center',\n justify: 'center'\n })),\n PriceCurrentDesktop: ()=>/*#__PURE__*/ css([\n `line-height:24px;`,\n `{--price-font-size:100%;}`,\n `{--currency-font-size:60%;&.small{--currency-font-size:60%;}}`\n ], Price, Currency)\n};\n\nexport { liverpoolPricesDesktopStyles as default };\n//# sourceMappingURL=liverpool.js.map\n","import { css } from 'styled-components';\n\nconst logitravelPricesDesktopStyles = {\n PriceCurrentDesktop: ()=>/*#__PURE__*/ css([\n `color:`,\n `;`\n ], ({ theme })=>theme.colors.secondary.base)\n};\n\nexport { logitravelPricesDesktopStyles as default };\n//# sourceMappingURL=logitravel.js.map\n","import { css } from 'styled-components';\n\nconst partnershipsPricesDesktopStyles = {\n PriceCurrentDesktop: ()=>/*#__PURE__*/ css([\n `color:`,\n `;`\n ], ({ theme })=>theme.colors.secondary.base)\n};\n\nexport { partnershipsPricesDesktopStyles as default };\n//# sourceMappingURL=partnerships.js.map\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst partnershipsPortaventuraPricesDesktopStyles = {\n PriceTopDesktop: ()=>/*#__PURE__*/ css([\n `color:`,\n `;text-transform:lowercase;`\n ], ({ theme })=>theme.colors.grays.darker),\n PriceCurrentDesktop: ()=>/*#__PURE__*/ css([\n `font-family:`,\n `;`,\n ` color:`,\n `;`\n ], ({ theme })=>theme.font.family.secondary, FontMixin({\n weight: 'bold'\n }), ({ theme })=>theme.colors.grays.darker)\n};\n\nexport { partnershipsPortaventuraPricesDesktopStyles as default };\n//# sourceMappingURL=portaventura.js.map\n","import { css } from 'styled-components';\n\nconst smyPricesDesktopStyles = {\n PriceCurrentDesktop: ()=>/*#__PURE__*/ css([\n `color:`,\n `;`\n ], ({ theme })=>theme.colors.secondary.base)\n};\n\nexport { smyPricesDesktopStyles as default };\n//# sourceMappingURL=smy.js.map\n","import { Currency } from '@babylon/ui-kit-base/components/text/price-with-currency/styled';\nimport { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst veciPricesDesktopStyles = {\n PriceTopDesktop: ()=>/*#__PURE__*/ css([\n `color:`,\n `;.from{`,\n `;line-height:22px;}`\n ], ({ theme })=>theme.colors.text.light, FontMixin({\n size: 'medium'\n })),\n PriceCurrentDesktop: ()=>/*#__PURE__*/ css([\n `color:`,\n `;`,\n `{--currency-font-size:23px;}`\n ], ({ theme })=>theme.colors.green?.darker, Currency)\n};\n\nexport { veciPricesDesktopStyles as default };\n//# sourceMappingURL=veci.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport liverpoolPricesDesktopStyles from './styles/liverpool.js';\nimport logitravelPricesDesktopStyles from './styles/logitravel.js';\nimport partnershipsPricesDesktopStyles from './styles/partnerships.js';\nimport partnershipsPortaventuraPricesDesktopStyles from './styles/portaventura.js';\nimport smyPricesDesktopStyles from './styles/smy.js';\nimport veciPricesDesktopStyles from './styles/veci.js';\n\nconst pricesDesktopThemes = createThemes({\n logitravel: logitravelPricesDesktopStyles,\n partnerships: partnershipsPricesDesktopStyles,\n partnershipsPortaventura: partnershipsPortaventuraPricesDesktopStyles,\n smy: smyPricesDesktopStyles,\n veci: veciPricesDesktopStyles,\n partnershipsLiverpool: liverpoolPricesDesktopStyles\n});\n\nexport { pricesDesktopThemes as default };\n//# sourceMappingURL=index.js.map\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 pricesDesktopThemes from './themes/index.js';\n\nconst PricesWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PricesWrapper\"\n})([\n ``,\n ` flex-grow:1;color:`,\n `;`\n], FlexMixin({\n direction: 'column',\n align: 'flex-end'\n}), ({ theme })=>theme.colors.secondary.base);\nconst PriceTopDesktop = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceTopDesktop\"\n})([\n `.from{`,\n ` &::after{content:' ';}`,\n `{font-weight:400;line-height:20px;}}.old-price{`,\n ` text-decoration:line-through;}`,\n ``\n], FontMixin({\n size: 'small',\n height: 'small',\n weight: 'light'\n}), ({ theme })=>theme.media.down('tablet'), FontMixin({\n size: 'medium',\n height: 'medium',\n weight: 'regular'\n}), pricesDesktopThemes('PriceTopDesktop'));\nconst PriceCurrentDesktop = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"PriceCurrentDesktop\"\n})([\n `color:`,\n `;`,\n ` `,\n `{font-size:28px;line-height:38px;}`,\n ``\n], ({ theme })=>theme.colors.secondary.base, FontMixin({\n size: 'largest',\n height: 'largest',\n weight: 'medium'\n}), ({ theme })=>theme.media.down('tablet'), pricesDesktopThemes('PriceCurrentDesktop'));\nconst PricePaxValueDesktop = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"PricePaxValueDesktop\"\n})([\n `color:`,\n `;`,\n ` & span::after{content:' ';}`\n], ({ theme })=>theme.colors.grays.dark, FontMixin({\n size: 'medium',\n height: 'base',\n weight: 'regular'\n}));\nconst PriceCaption = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceCaption\"\n})([\n `color:`,\n `;`,\n ``\n], ({ theme })=>theme.colors.grays.dark, FontMixin({\n size: 'small',\n weight: 'regular',\n height: 'base'\n}));\nconst PriceTopDealDesktop = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceTopDealDesktop\"\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: 'regular',\n height: 'medium'\n}), ({ theme })=>theme.colors.grays.base, ({ theme })=>theme.colors.white.base, BorderRadius({\n all: '4px'\n}));\nconst PriceCurrentDealDesktop = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceCurrentDealDesktop\"\n})([\n `color:`,\n `;`,\n ` position:relative;`,\n ` background-color:`,\n `;padding:0 12px 0 4px;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: 'bold',\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 NoPrice = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"NoPrice\"\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 ``\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}), pricesDesktopThemes('NoPrice'));\n\nexport { NoPrice, PriceCaption, PriceCurrentDealDesktop, PriceCurrentDesktop, PricePaxValueDesktop, PriceTopDealDesktop, PriceTopDesktop, PricesWrapper };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx, Fragment } 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 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, useExcludeByBrand } from '../../../utils/index.js';\nimport { NoPrice, PricesWrapper, PriceTopDealDesktop, PriceCurrentDealDesktop, PriceTopDesktop, PriceCurrentDesktop, PricePaxValueDesktop, PriceCaption } from './styled.js';\n\nconst Prices = (props)=>{\n const { isDeal, isBlackfriday = false, literals, minimumFractionDigits } = 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 const excludeBrand = useExcludeByBrand();\n if (!price?.value) {\n if ((literals?.buttonLabel && !excludeBrand) ?? !excludeBrand) return;\n return /*#__PURE__*/ jsxs(NoPrice, {\n children: [\n literals?.noprice && /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: literals?.noprice\n }),\n /*#__PURE__*/ jsx(Icon, {\n className: \"nico-magnifier\"\n })\n ]\n });\n }\n return /*#__PURE__*/ jsxs(PricesWrapper, {\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(PriceTopDealDesktop, {\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(PriceCurrentDealDesktop, {\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(PriceTopDesktop, {\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(PriceCurrentDesktop, {\n children: /*#__PURE__*/ jsx(PriceWithCurrency, {\n props: {\n ...priceProps,\n minimumFractionDigits: minimumFractionDigits\n }\n })\n }),\n price.paxValue && /*#__PURE__*/ jsxs(PricePaxValueDesktop, {\n children: [\n /*#__PURE__*/ jsx(\"span\", {\n children: literals?.perPerson\n }),\n /*#__PURE__*/ jsx(PriceWithCurrency, {\n props: {\n ...priceProps,\n price: price.paxValue\n }\n })\n ]\n }),\n price.caption && /*#__PURE__*/ jsx(PriceCaption, {\n children: literals?.priceCaption\n })\n ]\n })\n ]\n });\n};\n\nexport { Prices as default };\n//# sourceMappingURL=index.js.map\n","import { checkIfMobile } from '@babylon/ui-kit-helpers/views';\nimport media from '@babylon/ui-kit-styles/common/media';\nimport { useMediaQuery, useIsClient } from 'usehooks-ts';\nimport { useDevice } from '../useDevice.js';\n\n/**\n * @deprecated\n * Try to make the style changes in the css to avoid React hydration problems.\n */ const useDown = (key)=>{\n const string = media.down(key).split('@media ')[1];\n const matches = useMediaQuery(string);\n const isClient = useIsClient();\n const device = useDevice();\n if (!isClient) {\n return checkIfMobile(device);\n }\n return matches;\n};\n\nexport { useDown as default, useDown };\n//# sourceMappingURL=useDown.js.map\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst liverpoolPricesMobileStyles = {\n PriceTopMobile: ()=>/*#__PURE__*/ css([\n `color:`,\n `;text-transform:capitalize;.from{`,\n `;}.old-price{span{font-size:max(13px,var(--price-font-size));}}`\n ], ({ theme })=>theme.colors.grays.base, FontMixin({\n size: 'small',\n weight: 'regular'\n })),\n PriceCurrentMobile: ()=>/*#__PURE__*/ css([\n `color:`,\n `;`,\n `;`\n ], ({ theme })=>theme.colors.primary.lighter, FontMixin({\n size: 'larger',\n weight: 'semiBold'\n })),\n PriceDeal: ()=>/*#__PURE__*/ css([\n `background-color:`,\n `;&::before{border-right:12px solid `,\n `;}`\n ], ({ theme })=>theme.colors.secondary.base, ({ theme })=>theme.colors.secondary.base)\n};\n\nexport { liverpoolPricesMobileStyles as default };\n//# sourceMappingURL=partnershipsLiverpool.js.map\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//# sourceMappingURL=portaventura.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport liverpoolPricesMobileStyles from './styles/partnershipsLiverpool.js';\nimport partnershipsPortaventuraPricesMobileStyles from './styles/portaventura.js';\n\nconst pricesMobileThemes = createThemes({\n partnershipsPortaventura: partnershipsPortaventuraPricesMobileStyles,\n partnershipsLiverpool: liverpoolPricesMobileStyles\n});\n\nexport { pricesMobileThemes as default };\n//# sourceMappingURL=index.js.map\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.js';\n\nconst PricesWrapperMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PricesWrapperMobile\"\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})([\n ``,\n ``\n], FlexMixin({\n direction: 'column'\n}));\nconst PriceTopMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceTopMobile\"\n})([\n `color:`,\n `;`,\n ` .from{`,\n `}.old-price{`,\n ` span{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})([\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})([\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})([\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})([\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})([\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 ``\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, pricesMobileThemes('PriceDeal'));\nconst OnlyIcon = /*#__PURE__*/ styled(Icon).withConfig({\n displayName: \"OnlyIcon\"\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})([\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//# sourceMappingURL=styled.js.map\n"],"file":"cdn-placeholder/babylon/activities/logitravel/client/chunks/styled.C4HnI63Z.js"}