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wB,GAAOxB,CAAM,CAAC,EACxB,CACjB,CAAa,CACJ,CACT,CAAK,CACL,EACM4B,GAAyBxX,GAAQ,OACnC,MAAI,GAAC+J,EAAA/J,EAAM,MAAM,QAAZ,MAAA+J,EAAmB,SAAU,CAAC/J,EAAM,MAAM,UAAkB,KAC5CpB,MAAIiY,GAA2B,CAChD,GAAG7W,CACX,CAAK,CACL","names":["generateRatingArray","full","half","empty","rating","maximum","fullSymbolQuantityToFill","hasFractionalPart","canAddHalfSymbol","hasHalfSymbol","emptySymbolsQuantityToFill","fullSymbols","halfSymbol","emptySymbols","calculateStars","star","halfStar","value","Stars","styled","color","theme","size","height","ICONS","MAX_UPSIDE","MAX_ICON_FOOTER","REPLACE_DESTINATION","ImageResize","EXCLUDE_BY_BRAND","ThemeId","getIcon","name","key","getIconTransport","product","ratingTemplate","show","icon","stars","jsx","Children","Icon","getReviewContent","positiveNumberOrUndefined","num","normalizePrice","price","ensureArray","data","useExcludeByBrand","brands","id","useTheme","SearcherModalProductType","Destination","SearcherItem","Calendar","Passangers","SearcherActivitiesSkeletonDesktop","props","SearcherSkeleton","SearcherItemOrigin","FlexMixin","$mustShowDestination","FlexColumnMixin","SearcherItemDate","SearcherItemAge","SearcherCarSkeletonDesktop","SearcherSkeletonDesktop","SearcherCirSkeletonDesktop","SearcherCruSkeletonDesktop","searcherButtonBase","css","SearcherWrapper","searcherbuttonDesktopBase","SearcherDestinationSkeletonDesktop","SearcherFerryHotelSkeletonDesktop","SearcherFliSkeletonDesktop","SearcherFlightHotelSkeletonDesktop","SearcherItemDestination","SearcherItemCalendar","SearcherItemAccommodation","SearcherHotSkeletonDesktop","SearcherLeiSkeletonDesktop","SearcherLeisureMultiSkeletonDesktop","SearcherMultipleSkeletonDesktop","variant","tabsVariant","SearcherMultiPakSkeletonDesktop","SearcherProItem","$numberOfInputs","basis","SearcherProResidentItem","Skeleton","SearcherProSkeletonDesktop","numberOfInputs","hasResident","SearcherTouSkeletonDesktop","SearcherTraSkeletonDesktop","SearcherTrainHotelSkeletonDesktop","Item","Passengers","Types","SearcherTransfersSkeletonDesktop","SearcherIdToSearcherSkeleton","SearcherFerSkeleton","renderSearcherSkeletonDesktop","searcherId","optionalProps","SkeletonComponent","getSearcher","endpoint","params","BaseUrl","url","parseFilters","response","getFlightHotelSearcher","getTrainHotelSearcher","getFerryHotelSearcher","getActivitiesSearcher","getProduct","useSearcherModal","endpointParams","searcher","literals","config","setConfig","useState","useContext","contextBabylon","flightHotelData","setFlightHotelData","trainHotelData","setTrainHotelData","ferryHotelData","setFerryHotelData","fliData","setFliData","ferData","setFerData","activitiesData","setActivitiesData","loading","setLoading","callLock","useRef","getApiService","useCallback","productType","searcherPromise","getData","service","setState","prevState","useEffect","SearchersItemSwitchIcon","AutocompleteBlock","BorderRadius","SearcherFliItem","$isOpenjaw","$isToggle","ToggleWrapper","ToggleInputWrapper","liverpoolFliSearcherStyles","InputWrapper","InputLabel","SearcherMiddle","CheckboxWrapper","Margin","ArrayInputWrapper","RemoveIcon","AddButton","FontMixin","Padding","SearcherWrapperButton","liverpoolFliSearcherThemes","createThemes","Wrapper","Searcher","SearcherTopItem","SearcherTop","SearcherItemArrayInput","Border","rgba","$onModal","SearcherFliItem$1","SearcherFliItemBreakingRow","SearcherFliItemToggle","SearcherItemSwitchIcon","ArrowsIcon","liverpoolSearcherModalStyles","RadioButtonLabel","Button","CheckboxLabel","veciSearcherModalStyles","SearcherModalThemes","SearcherModalWrapper","ArrayInputRowContent","ArrayInputRow","CalendarLabel","SearcherSkeletonWrapper","SearcherFerryHotelDesktop","lazy","__vitePreload","SearcherFerDesktop","n","SearcherFliDesktop","SearcherFlightHotelDesktop","SearcherTrainHotelDesktop","SearcherActivitiesDesktop","SearcherModalDesktop","renderSearcher","_merge","cloneDeep","Suspense","SearcherModalType","SearcherId","_a","liverpoolTransportModalStyles","CardTravel","CityInfo","TransportInfo","Divider","transportModalThemes","TransportCard","Travel","city","className","jsxs","CityInfo$1","CardTransport","outbound","arrival","travelInfo","travel","Image","logitravelPriceModalStyles","partnershipsPriceModalStyles","liverpoolPriceModalStyles","smyPriceModalStyles","veciPriceModalStyles","priceModalThemes","InfoPrice","PriceAmounts","PriceTop","PriceCurrent","PricePaxValue","PriceModal","Currency","Language","priceProps","formatPriceWithCurrency","PriceWithCurrency","liverpoolProductModalStyles","ModalHeader","ModalHeaderText","ModalCloseButton","ModalWrapper","AccordionHotelTitle","productModalThemes","Modal","Body","Info","$isActivities","InfoImage","$hasFooter","InfoHead","AccordionWrapper","AccordionContainer","AccordionHeader","AccordionItem","AccordionContent","InnerMarkdownHTML","Footer","CardProductModal","title","subtitle","zone","image","expandedInfoTitle","expandedInfo","offerNote","ratingIco","isVisible","toggleVisibility","smallImage","modalTitleLiteral","modalTitle","hotelName","hasAccordion","e","imageModalAttributes","info","hasTransport","content","Accordion","_b","_c","_d","description","BenefitsCardWrapper","BenefitsCardTitle","Content","BenefitsCardMobile","items","item","Fragment","liverpoolFilters","flightContentThemes","Label","DateLabel","Row","Company","FlightContent","label","variantStylesIconBadgeMobile","modifier","IconBadgeMobile","$variant","HeaderBadges","discount","iconName","deal","isBlackfriday","showOffer","hasBadge","classNames","liverpoolPricesMobileStyles","partnershipsPortaventuraPricesMobileStyles","pricesMobileThemes","PricesWrapperMobile","Price","PriceTopMobile","PriceCurrentMobile","PricePaxValueMobile","PriceCaptionMobile","PriceTopDealMobile","PriceCurrentDealMobile","OnlyIcon","Prices","isDeal","liverpoolProductCardMobileStyles","ProductCardImageContainer","ProductCardContent","Upside","partnershipsPortaventuraProductCardMobileStyles","productCardMobileThemes","ProductCardTitle","ProductCardBox","$isTransportsNewCard","ProductCardTransportContent","ProductCardTransportWrapper","ProductCardLink","Anchor","ProductCardHeader","Subtitle","Detail","Descriptions","Promotion","Tripadvisor","Reviews","Transport","ProductCardFooter","ProductCardDescription","ProductCardIconProps","SearcherModal","Title","getProductCardDescription","tripadvisor","reviews","descriptions","showDescriptionFirst","icons","transport","reviewContent","transports","trans","getFlightDepRetContent","returnContent","departureContent","ProductCardMobile","textInfo","detail","link","ldjson","upside","promotion","company","defaultImage","showSubtitleFirst","soldOut","hasModal","isFirstComponent","typeCard","isTransportsNewCard","jsonLd","useBoolean","imagePropertiesMobile","imagePropertiesMobileCompany","subtitleItem","useMemo","onClickCard","event","searcherProps","SearcherActivitiesMobile","descriptionContent","script","JsonLd","SkeletonItem","SkeletonImages","SkeletonContent","CardSkeletonMobile","getTitle","liverpoolButtonViewMoreStyles","buttonViewMoreThemes","ButtonBox","ButtonViewMore","hasIcon","liverpoolCarouselProductStyles","carouselProductThemes","CarouselProductWrapper","StyledTitle","ImageBanner","CarouselProductMobileView","isLoading","benefits","banner","skeleton","_","index","genKey","BenefitsCard","generalConfig","ProductCard","CarouselProductMobile"],"ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89],"sources":["../../../../../../../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-searchers/components/others/searcher-modal/types.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-car/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-car/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-cir/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-cru/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-destination/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-destination/components/button/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-destination/components/button/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-destination/components/skeleton/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-destination/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-ferry-hotel/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-fli/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-flight-hotel/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-hot/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-hot/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-lei/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-leisure-multi/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/others/searcher-multiple/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-multi-pak/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-pro/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-pro/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-tou/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-tra/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-train-hotel/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-transfers/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-transfers/components/skeleton/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/helpers/skeleton/views/desktop.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/others/searcher-modal/views/desktop/service.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/others/searcher-modal/views/desktop/hooks/useSearcherModal.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-fli/components/openjaw-input/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-fli/views/desktop/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-fli/views/desktop/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-fli/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/others/searcher-modal/views/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/others/searcher-modal/views/themes/styles/veci.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/others/searcher-modal/views/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/others/searcher-modal/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/others/searcher-modal/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/card-transport/themes/styles/partnershipsLiverpool.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/card-transport/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/card-transport/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/card-transport/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/styles/logitravel.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/styles/partnerships.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/styles/partnershipsLiverpool.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/styles/smy.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/styles/veci.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/price-modal/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/price-modal/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/themes/styles/partnershipsLiverpool.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/desktop/card-product-modal/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/benefits-card/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/benefits-card/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/flight-content/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/flight-content/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/flight-content/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/flight-content/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/header-badges/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/header-badges/index.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","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/prices/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/themes/styles/partnershipsLiverpool.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/themes/styles/portaventura.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/card-skeleton/styled.js","../../../../../../../node_modules/@babylon/ui-kit-cards/components/cards/product-card/views/mobile/card-skeleton/index.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-product/views/utils.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-product/views/mobile/button-view-more/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-product/views/mobile/button-view-more/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-product/views/mobile/button-view-more/styled.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-product/views/mobile/button-view-more/index.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-product/views/mobile/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-product/views/mobile/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-product/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-carousels/components/carousel-product/views/mobile/index.js"],"sourcesContent":["/**\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","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","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","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};\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","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","var SearcherModalProductType;\n(function(SearcherModalProductType) {\n SearcherModalProductType[\"ROUNDTRIP\"] = \"ROUNDTRIP\";\n SearcherModalProductType[\"ONEWAY\"] = \"ONEWAY\";\n SearcherModalProductType[\"FLIGHTHOTEL\"] = \"FLIGHTHOTEL\";\n SearcherModalProductType[\"TRAINHOTEL\"] = \"TRAINHOTEL\";\n SearcherModalProductType[\"FERRYHOTEL\"] = \"FERRYHOTEL\";\n SearcherModalProductType[\"FERRY\"] = \"FERRY\";\n SearcherModalProductType[\"ACTIVITIES\"] = \"ACTIVITIES\";\n SearcherModalProductType[\"SEARCHER_TRAIN_HOTEL\"] = \"SEARCHER_TRAIN_HOTEL\";\n SearcherModalProductType[\"SEARCHER_FERRY_HOTEL\"] = \"SEARCHER_FERRY_HOTEL\";\n SearcherModalProductType[\"SEARCHER_FLIGHT_HOTEL\"] = \"SEARCHER_FLIGHT_HOTEL\";\n SearcherModalProductType[\"SEARCHER_ACTIVITIES\"] = \"SEARCHER_ACTIVITIES\";\n})(SearcherModalProductType || (SearcherModalProductType = {}));\n\nexport { SearcherModalProductType };\n","import { SearcherItem } from '../../../../others/searcher/styled.js';\nimport styled from 'styled-components';\n\nconst Destination = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"Destination\"\n})([\n `--searcher-item-xl-basis:40%;`,\n `{flex-basis:100%;max-width:100%;}`,\n `{--searcher-item-lg-width:calc((100% - var(--division-gap)) / 3 - var(--division-gap) * 2 / 3);flex-basis:var(--searcher-item-lg-width);max-width:var(--searcher-item-lg-width);}`,\n `{--searcher-item-lg-width:calc((100% - var(--division-gap)) / 3 - var(--division-gap) * 2 / 3);flex-basis:var(--searcher-item-lg-width);max-width:var(--searcher-item-lg-width);}`\n], ({ theme })=>theme.media.between('sm', 'lg'), ({ theme })=>theme.media.tabletLandscape.only, ({ theme })=>theme.media.between('xl', 'xxl'));\nconst Calendar = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"Calendar\"\n})([\n `--searcher-item-xl-basis:20%;`,\n `{--searcher-item-md-width:calc((100% - var(--division-gap)) / 2 - var(--division-gap) / 2);flex-basis:var(--searcher-item-md-width);max-width:var(--searcher-item-md-width);}`,\n `{--searcher-item-lg-width:calc((100% - var(--division-gap)) / 3 - var(--division-gap) * 2 / 3);flex-basis:var(--searcher-item-lg-width);max-width:var(--searcher-item-lg-width);}`,\n `{--searcher-item-lg-width:calc((100% - var(--division-gap)) / 3 - var(--division-gap) * 2 / 3);flex-basis:var(--searcher-item-lg-width);max-width:var(--searcher-item-lg-width);}`\n], ({ theme })=>theme.media.between('sm', 'lg'), ({ theme })=>theme.media.tabletLandscape.only, ({ theme })=>theme.media.between('xl', 'xxl'));\nconst Passangers = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"Passangers\"\n})([\n `--searcher-item-xl-basis:20%;`,\n `{--searcher-item-md-width:calc((100% - 240px - var(--division-gap)) / 2 - var(--division-gap) / 2);flex-basis:var(--searcher-item-md-width);max-width:var(--searcher-item-md-width);}`,\n `{--searcher-item-lg-width:calc((100% - 450px - var(--division-gap)) / 3 - var(--division-gap) * 2 / 3);flex-basis:var(--searcher-item-lg-width);max-width:var(--searcher-item-lg-width);}`,\n `{--searcher-item-lg-width:calc((100% - 450px - var(--division-gap)) / 3 - var(--division-gap) * 2 / 3);flex-basis:var(--searcher-item-lg-width);max-width:var(--searcher-item-lg-width);}`\n], ({ theme })=>theme.media.between('sm', 'lg'), ({ theme })=>theme.media.tabletLandscape.only, ({ theme })=>theme.media.between('xl', 'xxl'));\n\nexport { Calendar, Destination, Passangers };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeleton from '../../../../../../others/searcher/skeleton/index.js';\nimport { Destination, Calendar, Passangers } from '../../../../views/desktop/styled.js';\n\nconst SearcherActivitiesSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeleton, {\n config: {\n desktop: {\n variants: [\n {\n variant: 'larger',\n Component: Destination\n },\n {\n variant: 'larger',\n grow: true,\n Component: Calendar\n },\n {\n variant: 'larger',\n grow: true,\n Component: Passangers\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherActivitiesSkeletonDesktop as default };\n","import { SearcherItem } from '../../../../others/searcher/styled.js';\nimport { FlexMixin, FlexColumnMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst SearcherItemOrigin = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherItemOrigin\"\n})([\n ``,\n ` gap:var(--division-gap);`,\n `{`,\n `}`\n], FlexMixin({\n direction: 'column'\n}), ({ theme })=>theme.media.between('md', 'xl'), ({ $mustShowDestination = true })=>FlexColumnMixin({\n columns: $mustShowDestination ? 2 : 1,\n gap: 'var(--division-gap)'\n }));\nconst SearcherItemDestination = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherItemDestination\"\n})([\n ``,\n `{`,\n `}`\n], ({ theme })=>theme.media.between('md', 'xl'), FlexColumnMixin({\n columns: 2,\n gap: 'var(--division-gap)'\n}));\nconst SearcherItemDate = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherItemDate\"\n})([\n ``,\n `{--base-width:calc(100% - 150px - var(--division-gap));}`,\n `{--base-width:calc(100% - 150px - var(--division-gap) - 170px - var(--division-gap));}`,\n `{--flex-column-width:calc((var(--base-width) - var(--division-gap)) / 2);}`\n], ({ theme })=>theme.media.between('md', 'lg'), ({ theme })=>theme.media.tabletLandscape.only, ({ theme })=>theme.media.between('md', 'xl'));\nconst SearcherItemAge = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherItemAge\"\n})([\n ``,\n `{--flex-column-width:150px;}`,\n `{--flex-column-width:170px;}`\n], ({ theme })=>theme.media.between('md', 'lg'), ({ theme })=>theme.media.tabletLandscape.only);\n\nexport { SearcherItemAge, SearcherItemDate, SearcherItemDestination, SearcherItemOrigin };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\nimport { SearcherItemOrigin, SearcherItemDate, SearcherItemAge } from '../../../../views/desktop/styled.js';\n\nconst SearcherCarSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n variants: [\n {\n variant: 'large',\n grow: true,\n Component: SearcherItemOrigin\n },\n {\n variant: 'larger',\n Component: SearcherItemDate\n },\n {\n variant: 'larger',\n Component: SearcherItemDate\n },\n {\n variant: 'small',\n Component: SearcherItemAge\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherCarSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\n\nconst SearcherCirSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n top: {\n maxItems: 5\n },\n variants: [\n {\n variant: 'largest',\n grow: true\n },\n {\n variant: 'largest',\n grow: true\n }\n ],\n button: {\n grow: true,\n counter: true\n }\n }\n },\n ...props\n });\n\nexport { SearcherCirSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeleton from '../../../../../../others/searcher/skeleton/index.js';\n\nconst SearcherCruSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeleton, {\n config: {\n desktop: {\n variants: [\n {\n variant: 'small',\n grow: true\n },\n {\n variant: 'small',\n grow: true\n },\n {\n variant: 'small',\n grow: true\n },\n {\n variant: 'small',\n grow: true\n },\n {\n variant: 'small',\n grow: true\n }\n ],\n button: {\n grow: true,\n counter: true,\n variant: 'small'\n }\n }\n },\n ...props\n });\n\nexport { SearcherCruSkeletonDesktop as default };\n","import styled from 'styled-components';\nimport { SearcherItem } from '../../../../others/searcher/styled.js';\n\nconst Destination = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"Destination\"\n})([\n `min-width:calc(80% - 16px);max-width:calc(80% - 16px);`,\n `{flex-basis:100%;min-width:100%;max-width:100%;}`\n], ({ theme })=>theme.media.phone.only);\n\nexport { Destination };\n","import { SearcherWrapper } from '../../../../others/searcher/searcher-button/views/desktop/styled.js';\nimport { css } from 'styled-components';\n\nconst searcherButtonBase = /*#__PURE__*/ css([\n `min-width:20%;max-width:20%;`,\n `{flex-grow:1;}button{max-width:auto;min-width:100%;&[disabled]{cursor:default;opacity:0.7;}}`\n], SearcherWrapper);\n\nexport { searcherButtonBase };\n","import styled, { css } from 'styled-components';\nimport SearcherButtonDesktop from '../../../../../../others/searcher/searcher-button/views/desktop/index.js';\nimport { searcherButtonBase } from '../../styled.js';\n\nconst searcherbuttonDesktopBase = /*#__PURE__*/ css([\n ``,\n ` `,\n `{flex-basis:100%;min-width:100%;max-width:100%;}`\n], searcherButtonBase, ({ theme })=>theme.media.phone.only);\nconst SearcherButton = /*#__PURE__*/ styled(SearcherButtonDesktop).withConfig({\n displayName: \"SearcherButton\"\n})([\n ``,\n ``\n], searcherbuttonDesktopBase);\n\nexport { SearcherButton, searcherbuttonDesktopBase };\n","import SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\nimport styled from 'styled-components';\nimport { searcherbuttonDesktopBase } from '../../../button/views/desktop/styled.js';\n\nconst SearcherSkeleton = /*#__PURE__*/ styled(SearcherSkeletonDesktop).withConfig({\n displayName: \"SearcherSkeleton\"\n})([\n `.searcher-button{`,\n ` & > div{min-width:100%;max-width:100%;}}`\n], searcherbuttonDesktopBase);\n\nexport { SearcherSkeleton };\n","import { jsx } from 'react/jsx-runtime';\nimport { Destination } from '../../../../views/desktop/styled.js';\nimport { SearcherSkeleton } from './styled.js';\n\nconst SearcherDestinationSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeleton, {\n config: {\n desktop: {\n variants: [\n {\n variant: 'largest',\n grow: true,\n Component: Destination\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherDestinationSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\n\nconst SearcherFerryHotelSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n variants: [\n {\n variant: 'small'\n },\n {\n variant: 'small'\n },\n {\n variant: 'medium'\n },\n {\n variant: 'medium',\n grow: true,\n withMaxWidth: true\n },\n {\n variant: 'small'\n },\n {\n variant: 'small'\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherFerryHotelSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\n\nconst SearcherFliSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n top: {\n maxItems: 3\n },\n variants: [\n {\n variant: 'larger'\n },\n {\n variant: 'larger'\n },\n {\n variant: 'larger',\n grow: true\n },\n {\n variant: 'larger'\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherFliSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\n\nconst SearcherFlightHotelSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n variants: [\n {\n variant: 'larger'\n },\n {\n variant: 'larger'\n },\n {\n variant: 'larger',\n grow: true\n },\n {\n variant: 'medium',\n withMaxWidth: true\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherFlightHotelSkeletonDesktop as default };\n","import { SearcherItem } from '../../../../others/searcher/styled.js';\nimport styled from 'styled-components';\n\nconst SearcherItemDestination = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherItemDestination\"\n})([\n `--searcher-item-xl-basis:40%;`,\n `{flex-basis:100%;max-width:100%;}`,\n `{--searcher-item-lg-width:calc((100% - 150px - var(--division-gap)) / 3 - var(--division-gap) * 2 / 3);flex-basis:var(--searcher-item-lg-width);max-width:var(--searcher-item-lg-width);}`\n], ({ theme })=>theme.media.between('md', 'lg'), ({ theme })=>theme.media.tabletLandscape.only);\nconst SearcherItemCalendar = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherItemCalendar\"\n})([\n `--searcher-item-xl-basis:20%;`,\n `{--searcher-item-md-width:calc((100% - 120px - var(--division-gap)) / 2 - var(--division-gap) / 2);flex-basis:var(--searcher-item-md-width);max-width:var(--searcher-item-md-width);}`,\n `{--searcher-item-lg-width:calc((100% - 150px - var(--division-gap)) / 3 - var(--division-gap) * 2 / 3);flex-basis:var(--searcher-item-lg-width);max-width:var(--searcher-item-lg-width);}`\n], ({ theme })=>theme.media.between('md', 'lg'), ({ theme })=>theme.media.tabletLandscape.only);\nconst SearcherItemAccommodation = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherItemAccommodation\"\n})([\n `--searcher-item-xl-basis:20%;`,\n `{--searcher-item-md-width:calc((100% - 120px - var(--division-gap)) / 2 - var(--division-gap) / 2);flex-basis:var(--searcher-item-md-width);max-width:var(--searcher-item-md-width);}`,\n `{--searcher-item-lg-width:calc((100% - 150px - var(--division-gap)) / 3 - var(--division-gap) * 2 / 3);flex-basis:var(--searcher-item-lg-width);max-width:var(--searcher-item-lg-width);}`\n], ({ theme })=>theme.media.between('md', 'lg'), ({ theme })=>theme.media.tabletLandscape.only);\n\nexport { SearcherItemAccommodation, SearcherItemCalendar, SearcherItemDestination };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\nimport { SearcherItemDestination, SearcherItemCalendar, SearcherItemAccommodation } from '../../../../views/desktop/styled.js';\n\nconst SearcherHotSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n variants: [\n {\n variant: 'larger',\n Component: SearcherItemDestination\n },\n {\n variant: 'larger',\n grow: true,\n Component: SearcherItemCalendar\n },\n {\n variant: 'larger',\n grow: true,\n Component: SearcherItemAccommodation\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherHotSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\n\nconst SearcherLeiSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n variants: [\n {\n variant: 'largest',\n grow: true\n },\n {\n variant: 'largest',\n grow: true\n },\n {\n variant: 'largest',\n grow: true\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherLeiSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\n\nconst SearcherLeisureMultiSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n top: {\n maxItems: 3\n },\n variants: [\n {\n variant: 'largest'\n },\n {\n variant: 'largest',\n grow: true\n },\n {\n variant: 'largest'\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherLeisureMultiSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../searcher/skeleton/views/desktop/index.js';\n\nconst SearcherMultipleSkeletonDesktop = ({ variant = 'tabs', tabsVariant = 'default', ...props })=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n top: variant === 'tabs' && tabsVariant === 'default' ? undefined : {\n maxItems: 4\n },\n variants: [\n {\n variant: 'larger'\n },\n {\n variant: 'larger'\n },\n {\n variant: 'larger',\n grow: true\n },\n {\n variant: 'larger'\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherMultipleSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherMultipleSkeletonDesktop from '../../../../../../others/searcher-multiple/components/skeleton/views/desktop/index.js';\n\nconst SearcherMultiPakSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherMultipleSkeletonDesktop, {\n variant: \"radio-buttons\",\n ...props\n });\n\nexport { SearcherMultiPakSkeletonDesktop as default };\n","import { SearcherItem } from '../../../../others/searcher/styled.js';\nimport { Skeleton } from '@babylon/ui-kit-structures/components/others/skeleton/styled';\nimport styled, { css } from 'styled-components';\n\nconst SearcherProItem = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherProItem\"\n})([\n ``,\n ``\n], ({ theme, $numberOfInputs })=>{\n let basis = `calc((100% - 150px) / ${$numberOfInputs})`;\n return /*#__PURE__*/ css([\n ``,\n `{--searcher-item-xl-basis:`,\n `;max-width:calc(var(--searcher-item-xl-basis) - var(--division-gap));}`\n ], theme.media.desktop.up, basis);\n});\nconst SearcherProResidentItem = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherProResidentItem\"\n})([\n ``,\n `{width:125px !important;height:20px !important;}`,\n `{--searcher-item-order:8;}`\n], Skeleton, ({ theme })=>theme.media.desktop.up);\n\nexport { SearcherProItem, SearcherProResidentItem };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\nimport { SearcherProItem, SearcherProResidentItem } from '../../../../views/desktop/styled.js';\n\nconst SearcherProSkeletonDesktop = ({ numberOfInputs = 6, hasResident = true, ...props })=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n variants: [\n ...Array(numberOfInputs).fill({\n Component: SearcherProItem,\n props: {\n $numberOfInputs: numberOfInputs\n }\n }),\n ...hasResident ? [\n {\n Component: SearcherProResidentItem,\n props: {\n $variant: 'adaptive'\n }\n }\n ] : []\n ]\n }\n },\n ...props\n });\n\nexport { SearcherProSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\n\nconst SearcherTouSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n variants: [\n {\n variant: 'medium'\n },\n {\n variant: 'medium'\n },\n {\n variant: 'medium'\n },\n {\n variant: 'medium',\n grow: true\n },\n {\n variant: 'medium'\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherTouSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\n\nconst SearcherTraSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n top: {\n maxItems: 2\n },\n variants: [\n {\n variant: 'larger'\n },\n {\n variant: 'larger'\n },\n {\n variant: 'large',\n grow: true\n },\n {\n variant: 'larger'\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherTraSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\n\nconst SearcherTrainHotelSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n variants: [\n {\n variant: 'larger'\n },\n {\n variant: 'larger'\n },\n {\n variant: 'larger',\n grow: true\n },\n {\n variant: 'larger'\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherTrainHotelSkeletonDesktop as default };\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { SearcherItem } from '../../../../others/searcher/styled.js';\nimport { FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\nimport searcherTransfersThemes from './themes/index.js';\n\nconst Item = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"Item\"\n})([\n `--searcher-item-xl-basis:100%;`,\n `{flex-basis:100%;max-width:100%;}`,\n `{--searcher-item-lg-width:calc((100% - var(--division-gap)) / 3 - var(--division-gap) * 2 / 3);flex-basis:var(--searcher-item-lg-width);max-width:var(--searcher-item-lg-width);}`,\n `{--searcher-item-lg-width:calc((85% - var(--division-gap)) / 4 - var(--division-gap) * 2 / 4);flex-basis:var(--searcher-item-lg-width);max-width:var(--searcher-item-lg-width);}`\n], ({ theme })=>theme.media.custom('600px', '700px'), ({ theme })=>theme.media.tabletLandscape.only, ({ theme })=>theme.media.custom('1200px', '1800px'));\nconst Passengers = /*#__PURE__*/ styled(Item).withConfig({\n displayName: \"Passengers\"\n})([\n ``,\n `;`,\n `{order:2;}`\n], FlexMixin({\n align: 'center'\n}), ({ theme })=>theme.media.custom('1200px', '1800px'));\nconst Types = /*#__PURE__*/ styled(Item).withConfig({\n displayName: \"Types\"\n})([\n ``,\n `{order:3;}`\n], ({ theme })=>theme.media.custom('1200px', '1800px'));\nconst Button = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Button\"\n})([\n `order:`,\n `;`,\n `{order:`,\n `;}`\n], ({ $isRoundtrip })=>!$isRoundtrip ? 4 : 0, ({ theme })=>theme.media.custom('1200px', '1800px'), ({ $isRoundtrip })=>!$isRoundtrip ? 4 : 1);\nconst PassengersIcon = /*#__PURE__*/ styled(Icon).withConfig({\n displayName: \"PassengersIcon\"\n})([\n `display:none;`,\n ``\n], searcherTransfersThemes('PassengersIcon'));\n\nexport { Button, Item, Passengers, PassengersIcon, Types };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.js';\nimport { Item, Passengers, Types } from '../../../../views/desktop/styled.js';\n\nconst SearcherTransfersSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n top: {\n maxItems: 2\n },\n variants: [\n {\n Component: Item,\n props: {\n $grow: true\n }\n },\n {\n Component: Item,\n props: {\n $grow: true\n }\n },\n {\n Component: Item,\n props: {\n $grow: true\n }\n },\n {\n Component: Item,\n props: {\n $grow: true\n }\n },\n {\n Component: Passengers,\n props: {\n $grow: true\n }\n },\n {\n Component: Types,\n props: {\n $grow: true\n }\n }\n ]\n }\n },\n ...props\n });\n\nexport { SearcherTransfersSkeletonDesktop as default };\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherActivitiesSkeletonDesktop from '../../../components/searchers/searcher-activities/components/skeleton/views/desktop/index.js';\nimport SearcherCarSkeletonDesktop from '../../../components/searchers/searcher-car/components/skeleton/views/desktop/index.js';\nimport SearcherCirSkeletonDesktop from '../../../components/searchers/searcher-cir/components/skeleton/views/desktop/index.js';\nimport SearcherCruSkeletonDesktop from '../../../components/searchers/searcher-cru/components/skeleton/views/desktop/index.js';\nimport SearcherDestinationSkeletonDesktop from '../../../components/searchers/searcher-destination/components/skeleton/views/desktop/index.js';\nimport SearcherFerSkeleton from '../../../components/searchers/searcher-fer/components/skeleton/index.js';\nimport SearcherFerryHotelSkeletonDesktop from '../../../components/searchers/searcher-ferry-hotel/components/skeleton/views/desktop/index.js';\nimport SearcherFliSkeletonDesktop from '../../../components/searchers/searcher-fli/components/skeleton/views/desktop/index.js';\nimport SearcherFlightHotelSkeletonDesktop from '../../../components/searchers/searcher-flight-hotel/components/skeleton/views/desktop/index.js';\nimport SearcherHotSkeletonDesktop from '../../../components/searchers/searcher-hot/components/skeleton/views/desktop/index.js';\nimport SearcherLeiSkeletonDesktop from '../../../components/searchers/searcher-lei/components/skeleton/views/desktop/index.js';\nimport SearcherLeisureMultiSkeletonDesktop from '../../../components/searchers/searcher-leisure-multi/components/skeleton/views/desktop/index.js';\nimport SearcherMultiPakSkeletonDesktop from '../../../components/searchers/searcher-multi-pak/components/skeleton/views/desktop/index.js';\nimport SearcherProSkeletonDesktop from '../../../components/searchers/searcher-pro/components/skeleton/views/desktop/index.js';\nimport SearcherTouSkeletonDesktop from '../../../components/searchers/searcher-tou/components/skeleton/views/desktop/index.js';\nimport SearcherTraSkeletonDesktop from '../../../components/searchers/searcher-tra/components/skeleton/views/desktop/index.js';\nimport SearcherTrainHotelSkeletonDesktop from '../../../components/searchers/searcher-train-hotel/components/skeleton/views/desktop/index.js';\nimport SearcherTransfersSkeletonDesktop from '../../../components/searchers/searcher-transfers/components/skeleton/views/desktop/index.js';\n\nconst SearcherIdToSearcherSkeleton = {\n ACTIVITIES: SearcherActivitiesSkeletonDesktop,\n CAR: SearcherCarSkeletonDesktop,\n CIR: SearcherCirSkeletonDesktop,\n CRU: SearcherCruSkeletonDesktop,\n FER: SearcherFerSkeleton,\n FER_HOT: SearcherFerryHotelSkeletonDesktop,\n FLI: SearcherFliSkeletonDesktop,\n FLI_HOT: SearcherFlightHotelSkeletonDesktop,\n HOT: SearcherHotSkeletonDesktop,\n LEI: SearcherLeiSkeletonDesktop,\n LEI_MULTI: SearcherLeisureMultiSkeletonDesktop,\n MUL_PAK: SearcherMultiPakSkeletonDesktop,\n TOU: SearcherTouSkeletonDesktop,\n TOU_SPECIALS: SearcherTouSkeletonDesktop,\n TRA: SearcherTraSkeletonDesktop,\n TRA_HOT: SearcherTrainHotelSkeletonDesktop,\n DEST: SearcherDestinationSkeletonDesktop,\n PRO: SearcherProSkeletonDesktop,\n TRANSFERS: SearcherTransfersSkeletonDesktop\n};\nconst renderSearcherSkeletonDesktop = (searcherId, optionalProps)=>{\n const SkeletonComponent = SearcherIdToSearcherSkeleton[searcherId];\n return /*#__PURE__*/ jsx(SkeletonComponent, {\n ...optionalProps\n });\n};\n\nexport { renderSearcherSkeletonDesktop };\n","import { parseFilters } from '@babylon/ui-kit-helpers/url';\n\nconst getSearcher = ()=>async (endpoint, params, BaseUrl = '')=>{\n if (!endpoint || !BaseUrl || !params) return undefined;\n let url = `${endpoint.trim()}?${parseFilters(params)}`;\n if (!endpoint.startsWith('http')) url = `${BaseUrl}${url}`;\n const response = await fetch(url);\n if (!response.ok || response.status !== 200 && response.status !== 204) throw new Error(response.statusText);\n return response.json();\n };\nconst getFlightHotelSearcher = getSearcher();\nconst getTrainHotelSearcher = getSearcher();\nconst getFerryHotelSearcher = getSearcher();\nconst getActivitiesSearcher = getSearcher();\n\nexport { getActivitiesSearcher, getFerryHotelSearcher, getFlightHotelSearcher, getTrainHotelSearcher };\n","import contextBabylon from '@babylon/ui-kit-context';\nimport { useState, useContext, useRef, useCallback, useEffect } from 'react';\nimport { SearcherModalProductType } from '../../../types.js';\nimport { getFlightHotelSearcher, getTrainHotelSearcher, getFerryHotelSearcher, getActivitiesSearcher } from '../service.js';\n\nconst getProduct = (props)=>{\n if (props.product) return props.product.toUpperCase();\n if (!props.searcher) return SearcherModalProductType.FERRYHOTEL;\n if ('product' in props.searcher) {\n if (typeof props.searcher.product === 'string') return props.searcher.product.toUpperCase();\n }\n};\nconst useSearcherModal = (props)=>{\n const { endpoint = '', endpointParams = {}, searcher = {}, literals } = props;\n const [config, setConfig] = useState({\n onModal: true,\n hideDestination: true\n });\n const product = getProduct(props);\n const { BaseUrl } = useContext(contextBabylon);\n const [flightHotelData, setFlightHotelData] = useState();\n const [trainHotelData, setTrainHotelData] = useState();\n const [ferryHotelData, setFerryHotelData] = useState();\n const [fliData, setFliData] = useState();\n const [ferData, setFerData] = useState();\n const [activitiesData, setActivitiesData] = useState();\n const [loading, setLoading] = useState(true);\n const callLock = useRef(false);\n const getApiService = useCallback((productType)=>{\n const searcherPromise = ()=>Promise.resolve(searcher);\n const apiService = {\n [SearcherModalProductType.ROUNDTRIP]: {\n service: searcherPromise,\n setState: setFliData\n },\n [SearcherModalProductType.ONEWAY]: {\n service: searcherPromise,\n setState: setFliData\n },\n [SearcherModalProductType.FLIGHTHOTEL]: {\n service: getFlightHotelSearcher,\n setState: setFlightHotelData\n },\n [SearcherModalProductType.TRAINHOTEL]: {\n service: getTrainHotelSearcher,\n setState: setTrainHotelData\n },\n [SearcherModalProductType.FERRYHOTEL]: {\n service: getFerryHotelSearcher,\n setState: setFerryHotelData\n },\n [SearcherModalProductType.ACTIVITIES]: {\n service: getActivitiesSearcher,\n setState: setActivitiesData\n },\n [SearcherModalProductType.FERRY]: {\n service: searcherPromise,\n setState: setFerData\n },\n [SearcherModalProductType.SEARCHER_FLIGHT_HOTEL]: {\n service: searcherPromise,\n setState: setFlightHotelData\n },\n [SearcherModalProductType.SEARCHER_TRAIN_HOTEL]: {\n service: searcherPromise,\n setState: setTrainHotelData\n },\n [SearcherModalProductType.SEARCHER_FERRY_HOTEL]: {\n service: searcherPromise,\n setState: setFerryHotelData\n },\n [SearcherModalProductType.SEARCHER_ACTIVITIES]: {\n service: searcherPromise,\n setState: setActivitiesData\n }\n };\n return apiService[productType] || {};\n }, [\n searcher\n ]);\n const getData = useCallback(()=>{\n if (!callLock.current) {\n const productType = product?.toUpperCase();\n callLock.current = true;\n const { service, setState } = getApiService(productType);\n if (productType === SearcherModalProductType.ONEWAY || productType === SearcherModalProductType.ROUNDTRIP) {\n setLoading(false);\n setState(searcher);\n setConfig((prevState)=>({\n ...prevState,\n literals\n }));\n callLock.current = false;\n return;\n }\n setLoading(true);\n service?.(endpoint, endpointParams, BaseUrl).then(setState).finally(()=>{\n setLoading(false);\n callLock.current = false;\n });\n }\n }, [\n BaseUrl,\n endpoint,\n endpointParams,\n product,\n getApiService,\n searcher,\n literals\n ]);\n useEffect(()=>{\n if (loading) getData();\n }, [\n getData,\n product,\n searcher,\n loading\n ]);\n return {\n flightHotelData,\n trainHotelData,\n ferryHotelData,\n fliData,\n ferData,\n activitiesData,\n loading,\n config,\n product\n };\n};\n\nexport { useSearcherModal as default, useSearcherModal };\n","import { AutocompleteBlock } from '@babylon/ui-kit-forms/components/inputs/autocomplete/views/desktop/styled';\nimport { ToggleWrapper, ToggleInputWrapper } from '@babylon/ui-kit-forms/components/inputs/toggle/styled';\nimport { SearcherItem } from '../../../../../../others/searcher/styled.js';\nimport { FlexMixin, FlexColumnMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled, { css } from 'styled-components';\n\nconst SearchersItemSwitchIcon = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearchersItemSwitchIcon\"\n})([\n ``,\n ` cursor:pointer;`,\n `{width:100%;&:first-child{border-right:1px solid `,\n `;input{`,\n `}}i{visibility:hidden;}&:last-child{label,input{padding-left:20px;`,\n `}}}`,\n `{`,\n `}`,\n `{flex-basis:calc(((100% - 224px) / 2) - var(--division-gap));max-width:var(--searcher-item-xxl-width);}`\n], FlexMixin({\n justify: 'center',\n align: 'center'\n}), AutocompleteBlock, ({ theme })=>theme.colors.grays.light, BorderRadius({\n bottomRight: '0',\n topRight: '0'\n}), BorderRadius({\n bottomLeft: '0',\n topLeft: '0'\n}), ({ theme })=>theme.media.tabletLandscape.only, FlexColumnMixin({\n columns: 2,\n gap: 'var(--division-gap)'\n}), ({ theme })=>theme.media.desktop.up);\nconst SearcherFliItem = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherFliItem\"\n})([\n ``,\n ` `,\n ` `,\n `{flex-direction:row-reverse;`,\n `{margin-right:10px;}}`\n], ({ theme, $isOpenjaw })=>$isOpenjaw ? /*#__PURE__*/ css([\n ``,\n `{`,\n `}`,\n `{flex-basis:calc(((100% - 224px) / 4) - var(--division-gap));flex-grow:1;max-width:unset;}`,\n `{flex-grow:1;flex-shrink:0;}`,\n `{flex-grow:0;}`\n ], theme.media.custom('480px'), FlexColumnMixin({\n columns: 2,\n gap: 'var(--division-gap)'\n }), theme.media.tabletPortrait.up, theme.media.tabletLandscape.up, theme.media.desktop.up) : '', ({ $isToggle })=>$isToggle ? /*#__PURE__*/ css([\n `display:flex;`\n ]) : '', ToggleWrapper, ToggleInputWrapper);\n\nexport { SearcherFliItem, SearchersItemSwitchIcon };\n","import { ArrayInputWrapper, RemoveIcon, AddButton } from '@babylon/ui-kit-forms/components/inputs/array-input/styled';\nimport { CheckboxWrapper } from '@babylon/ui-kit-forms/components/inputs/checkbox/styled';\nimport { InputWrapper, InputLabel } from '@babylon/ui-kit-forms/components/inputs/input/styled';\nimport { SearcherWrapperButton } from '../../../../../../others/searcher/searcher-button/views/desktop/styled.js';\nimport { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin, Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\nimport { SearcherMiddle } from '../../../../../../others/searcher/styled.js';\n\nconst liverpoolFliSearcherStyles = {\n SearcherItemSwitchIcon: ()=>/*#__PURE__*/ css([\n ``,\n `{flex-basis:40%;max-width:var(--searcher-item-xxl-width);}`,\n `{flex-basis:66%;max-width:var(--searcher-item-xl-width);}&:first-child > :first-child{`,\n `{`,\n `{padding-inline-start:12px;}div > div > input{padding-inline-start:12px;}}}`\n ], ({ theme })=>theme.media.desktop.up, ({ theme })=>theme.media.tabletLandscape.only, InputWrapper, InputLabel),\n Wrapper: ()=>/*#__PURE__*/ css([\n ``,\n `{--division-gap:12px;`,\n `{`,\n `{`,\n `}}}`,\n `{`,\n `{padding-bottom:8px;}`,\n `{padding-bottom:80px;}}`,\n `{color:`,\n `;}`,\n `{`,\n ` `,\n ` min-width:160px;}`,\n `{:hover{background-color:`,\n `;}}`\n ], SearcherMiddle, CheckboxWrapper, ({ theme })=>theme.media.desktop.up, Margin({\n x: '20px'\n }), ArrayInputWrapper, ({ theme })=>theme.media.tabletLandscape.only, ({ theme })=>theme.media.tabletPortrait.only, RemoveIcon, ({ theme })=>theme.colors.white.base, AddButton, FontMixin({\n size: 'base'\n }), Padding({\n x: '16px',\n y: '8px'\n }), SearcherWrapperButton, ({ theme })=>theme.colors.secondary.light),\n OpenJawSearcherFliItem: ()=>/*#__PURE__*/ css([\n ``,\n `{flex-basis:calc(((100% - 225px) / 4) - var(--division-gap));}`,\n `{flex-basis:calc(((100% - 175px) / 3) - var(--division-gap));}`,\n `{flex-basis:calc(((100% - 15px) / 3) - var(--division-gap));flex-grow:0;}`\n ], ({ theme })=>theme.media.desktop.up, ({ theme })=>theme.media.tabletLandscape.only, ({ theme })=>theme.media.tabletPortrait.only)\n};\n\nexport { liverpoolFliSearcherStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport liverpoolFliSearcherStyles from './styles/liverpool.js';\n\nconst liverpoolFliSearcherThemes = createThemes({\n [ThemeId.partnershipsLiverpool]: liverpoolFliSearcherStyles\n});\n\nexport { liverpoolFliSearcherThemes as default };\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { RemoveIcon } from '@babylon/ui-kit-forms/components/inputs/array-input/styled';\nimport { AutocompleteBlock } from '@babylon/ui-kit-forms/components/inputs/autocomplete/views/desktop/styled';\nimport { ToggleWrapper, ToggleInputWrapper } from '@babylon/ui-kit-forms/components/inputs/toggle/styled';\nimport Searcher from '../../../../others/searcher/index.js';\nimport { SearcherMiddle, SearcherItem, SearcherTop } from '../../../../others/searcher/styled.js';\nimport { SearcherFliItem as SearcherFliItem$1, SearchersItemSwitchIcon } from '../../components/openjaw-input/views/desktop/styled.js';\nimport { FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Border, Padding, BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { rgba } from 'polished';\nimport styled, { css } from 'styled-components';\nimport liverpoolFliSearcherThemes from './themes/index.js';\n\nconst Wrapper = /*#__PURE__*/ styled(Searcher).withConfig({\n displayName: \"Wrapper\"\n})([\n `&.Openjaw `,\n `{padding:0;}`,\n `{align-items:stretch;}`,\n ``\n], RemoveIcon, SearcherMiddle, liverpoolFliSearcherThemes('Wrapper'));\nconst SearcherTopItem = /*#__PURE__*/ styled(SearcherTop).withConfig({\n displayName: \"SearcherTopItem\"\n})([\n ``\n]);\nconst SearcherItemArrayInput = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherItemArrayInput\"\n})([\n `flex-basis:100%;max-width:100%;`,\n `{`,\n ` `,\n `}`,\n `{flex-basis:100%;max-width:100%;}`,\n ``\n], ({ theme })=>theme.media.tabletPortrait.only, ({ theme })=>Border({\n bottom: `1px solid ${rgba(theme.colors.black.base, 0.12)}`\n }), Padding({\n bottom: '16px'\n}), ({ theme })=>theme.media.tabletLandscape.up, ({ theme, $onModal })=>$onModal && /*#__PURE__*/ css([\n ``,\n `{`,\n `{flex-basis:calc((100% / 4) - var(--division-gap));flex-grow:1;max-width:unset;}}`,\n `{`,\n `{flex-basis:calc(((80% - 67px) / 1) - var(--division-gap));input{padding-right:15px;}}}`\n ], SearcherFliItem$1, theme.media.tabletLandscape.up, SearchersItemSwitchIcon, ({ theme })=>theme.media.desktop.up));\n// Contenedor de inputs: Pasajeros, clases, bonificaciones.\nconst SearcherFliItem = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherFliItem\"\n})([\n ``,\n ` `,\n `{flex-direction:row-reverse;`,\n `{margin-right:10px;}}`\n], ({ theme, $isOpenjaw })=>$isOpenjaw ? /*#__PURE__*/ css([\n ``,\n `{flex-basis:calc(((100% - 224px) / 4) - var(--division-gap));}`,\n `{flex-basis:calc(((100% - 192px) / 3) - var(--division-gap));}`,\n `{flex-basis:calc(((100% - 15px) / 3) - var(--division-gap));flex-grow:0;}`,\n ``\n ], theme.media.desktop.up, theme.media.tabletLandscape.only, theme.media.tabletPortrait.only, liverpoolFliSearcherThemes('OpenJawSearcherFliItem')) : ``, ToggleWrapper, ToggleInputWrapper);\nconst SearcherFliItemBreakingRow = /*#__PURE__*/ styled(SearcherFliItem).withConfig({\n displayName: \"SearcherFliItemBreakingRow\"\n})([\n ``,\n ` --searcher-item-order:9;`,\n `{--searcher-item-order:9;}`\n], FlexMixin({\n justify: 'center'\n}), ({ theme })=>theme.media.desktop.up);\nconst SearcherFliItemToggle = /*#__PURE__*/ styled(SearcherFliItem).withConfig({\n displayName: \"SearcherFliItemToggle\"\n})([\n ``,\n ``\n], FlexMixin({\n justify: 'center'\n}));\nconst SearcherFliOpenjawItem = /*#__PURE__*/ styled(SearcherFliItem).withConfig({\n displayName: \"SearcherFliOpenjawItem\"\n})([\n ``\n]);\nconst SearcherItemSwitchIcon = /*#__PURE__*/ styled(SearcherItem).withConfig({\n displayName: \"SearcherItemSwitchIcon\"\n})([\n `display:none;`,\n ` cursor:pointer;`,\n `{flex-basis:39%;max-width:var(--searcher-item-xxl-width);}`,\n `{flex-basis:66%;max-width:var(--searcher-item-xl-width);}`,\n `{flex-basis:100%;max-width:var(--searcher-item-xl-width);}`,\n `{width:100%;&:first-child{border-right:1px solid `,\n `;input{`,\n `}}i{visibility:hidden;}&:last-child{label,input{padding-left:20px;`,\n `}}}`,\n ``\n], FlexMixin({\n justify: 'center',\n align: 'center'\n}), ({ theme })=>theme.media.desktop.up, ({ theme })=>theme.media.tabletLandscape.only, ({ theme })=>theme.media.tabletPortrait.only, AutocompleteBlock, ({ theme })=>theme.colors.grays.light, BorderRadius({\n bottomRight: '0',\n topRight: '0'\n}), BorderRadius({\n bottomLeft: '0',\n topLeft: '0'\n}), liverpoolFliSearcherThemes('SearcherItemSwitchIcon'));\nconst ArrowsIcon = /*#__PURE__*/ styled(Icon).withConfig({\n displayName: \"ArrowsIcon\"\n})([\n `background-color:`,\n `;border-radius:50%;position:absolute;z-index:1;border:1px solid `,\n `;color:`,\n `;padding:5px;`\n], ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.base);\n\nexport { ArrowsIcon, SearcherFliItem, SearcherFliItemBreakingRow, SearcherFliItemToggle, SearcherFliOpenjawItem, SearcherItemArrayInput, SearcherItemSwitchIcon, SearcherTopItem, Wrapper };\n","import { Button } from '@babylon/ui-kit-base/components/buttons/button';\nimport { CheckboxLabel } from '@babylon/ui-kit-forms/components/inputs/checkbox/styled';\nimport { RadioButtonLabel } from '@babylon/ui-kit-forms/components/inputs/radio-button-group/components/radio-button/styled';\nimport { css } from 'styled-components';\n\nconst liverpoolSearcherModalStyles = {\n SearcherModalWrapper: ()=>/*#__PURE__*/ css([\n ``,\n `{&::before{border:1px solid `,\n `;}span{color:`,\n `;}}`,\n `{background-color:`,\n `;&:hover{background-color:`,\n `;}}`,\n `{color:`,\n `;}`\n ], RadioButtonLabel, ({ theme })=>theme.colors.grays.light, ({ theme })=>theme.colors.grays.darker, Button, ({ theme })=>theme.colors.secondary.base, ({ theme })=>theme.colors.secondary.light, CheckboxLabel, ({ theme })=>theme.colors.grays.darker)\n};\n\nexport { liverpoolSearcherModalStyles as default };\n","import { CheckboxLabel } from '@babylon/ui-kit-forms/components/inputs/checkbox/styled';\nimport { css } from 'styled-components';\n\nconst veciSearcherModalStyles = {\n SearcherModalWrapper: ()=>/*#__PURE__*/ css([\n ``,\n `{color:`,\n ` !important;}`\n ], CheckboxLabel, ({ theme })=>theme.colors.grays.darker)\n};\n\nexport { veciSearcherModalStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport liverpoolSearcherModalStyles from './styles/liverpool.js';\nimport veciSearcherModalStyles from './styles/veci.js';\n\nconst SearcherModalThemes = createThemes({\n [ThemeId.partnershipsLiverpool]: liverpoolSearcherModalStyles,\n [ThemeId.veci]: veciSearcherModalStyles\n});\n\nexport { SearcherModalThemes as default };\n","import { ArrayInputWrapper, ArrayInputRowContent, ArrayInputRow, RemoveIcon, AddButton } from '@babylon/ui-kit-forms/components/inputs/array-input/styled';\nimport { CalendarLabel } from '@babylon/ui-kit-forms/components/inputs/calendar/styled';\nimport { SearcherSkeletonWrapper } from '../../../searcher/skeleton/styled.js';\nimport { SearcherWrapper, SearcherMiddle, SearcherItem } from '../../../searcher/styled.js';\nimport { SearcherItemArrayInput, SearcherFliItem } from '../../../../searchers/searcher-fli/views/desktop/styled.js';\nimport { Skeleton } from '@babylon/ui-kit-structures/components/others/skeleton/styled';\nimport { Border } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport SearcherModalThemes from '../themes/index.js';\n\nconst SearcherModalWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"SearcherModalWrapper\"\n})([\n ``,\n `{background-color:`,\n `;}`,\n `,`,\n `:not(.searcher-button){`,\n `}.Openjaw `,\n `{padding-right:0px;}.Openjaw `,\n ` > div{margin-bottom:0px;}.Openjaw `,\n ` `,\n `{flex-basis:max-content;max-width:calc(100% / 3 - 10px);margin-bottom:0px;}.Openjaw `,\n `:nth-child(n+3) `,\n `{max-width:calc(90% / 3 - 10px);padding:0;}.Openjaw [disabled]{display:none;}.Openjaw `,\n `{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:calc(100% - 40px);}.Openjaw `,\n `{padding:0;}.Openjaw `,\n `{position:relative;margin-top:12px;}.Openjaw `,\n `[order=\"4\"],.Openjaw `,\n `[order=\"7\"]{display:inline-block;width:calc(50% - 8px);}.Openjaw `,\n `[order=\"7\"]{margin-left:16px;}`,\n `{`,\n `{background-color:rgba(0,0,0,0.12);&:after{background:linear-gradient(90deg,transparent,rgba(0,0,0,0.04),transparent);mask-image:radial-gradient(rgb(255,255,255),rgb(0,0,0));}}`,\n `{`,\n `:first-of-type{display:none;}.isModal `,\n `:not(.searcher-button){`,\n `}}}`,\n ``\n], SearcherWrapper, ({ theme })=>theme.colors.white.base, SearcherItemArrayInput, SearcherItemArrayInput, Border({\n all: 'none'\n}), ArrayInputWrapper, ArrayInputRowContent, ArrayInputWrapper, SearcherFliItem, ArrayInputRow, SearcherFliItem, CalendarLabel, RemoveIcon, AddButton, SearcherFliItem, SearcherFliItem, SearcherFliItem, SearcherSkeletonWrapper, Skeleton, SearcherMiddle, SearcherItem, SearcherItem, Border({\n all: 'none'\n}), SearcherModalThemes('SearcherModalWrapper'));\n\nexport { SearcherModalWrapper };\n","import { jsx } from 'react/jsx-runtime';\nimport { renderSearcherSkeletonDesktop } from '../../../../../helpers/skeleton/views/desktop.js';\nimport { SearcherId } from '../../../../../types/index.js';\nimport cloneDeep from 'clone-deep';\nimport _merge from 'lodash/merge.js';\nimport { lazy, Suspense } from 'react';\nimport { SearcherModalProductType } from '../../types.js';\nimport { useSearcherModal } from './hooks/useSearcherModal.js';\nimport { SearcherModalWrapper } from './styled.js';\n\nconst SearcherFerryHotelDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-ferry-hotel/views/desktop/index.js'));\nconst SearcherFerDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-fer/views/desktop/index.js'));\nconst SearcherFliDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-fli/views/desktop/index.js'));\nconst SearcherFlightHotelDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-flight-hotel/views/desktop/index.js'));\nconst SearcherTrainHotelDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-train-hotel/views/desktop/index.js'));\nconst SearcherActivitiesDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-activities/views/desktop/index.js'));\nconst SearcherModalDesktop = (props)=>{\n const { flightHotelData, trainHotelData, ferryHotelData, fliData, ferData, activitiesData, loading, config, product } = useSearcherModal(props);\n const renderSearcher = (Searcher, searcherId, data)=>{\n if (loading) return renderSearcherSkeletonDesktop(searcherId, {\n onModal: true\n });\n if (!data) return null;\n const props = _merge(cloneDeep(data), {\n config\n });\n return /*#__PURE__*/ jsx(Suspense, {\n fallback: renderSearcherSkeletonDesktop(searcherId, {\n onModal: true\n }),\n children: /*#__PURE__*/ jsx(Searcher, {\n props: props\n })\n });\n };\n const SearcherModalType = {\n [SearcherModalProductType.ROUNDTRIP]: {\n render: ()=>renderSearcher(SearcherFliDesktop, SearcherId.FLI, fliData)\n },\n [SearcherModalProductType.ONEWAY]: {\n render: ()=>renderSearcher(SearcherFliDesktop, SearcherId.FLI, fliData)\n },\n [SearcherModalProductType.FLIGHTHOTEL]: {\n render: ()=>renderSearcher(SearcherFlightHotelDesktop, SearcherId.FLI_HOT, flightHotelData)\n },\n [SearcherModalProductType.TRAINHOTEL]: {\n render: ()=>renderSearcher(SearcherTrainHotelDesktop, SearcherId.TRA_HOT, trainHotelData)\n },\n [SearcherModalProductType.FERRYHOTEL]: {\n render: ()=>renderSearcher(SearcherFerryHotelDesktop, SearcherId.FER_HOT, ferryHotelData)\n },\n [SearcherModalProductType.ACTIVITIES]: {\n render: ()=>renderSearcher(SearcherActivitiesDesktop, SearcherId.ACTIVITIES, activitiesData)\n },\n [SearcherModalProductType.FERRY]: {\n render: ()=>renderSearcher(SearcherFerDesktop, SearcherId.FER, ferData)\n },\n [SearcherModalProductType.SEARCHER_FLIGHT_HOTEL]: {\n render: ()=>renderSearcher(SearcherFlightHotelDesktop, SearcherId.FLI_HOT, flightHotelData)\n },\n [SearcherModalProductType.SEARCHER_TRAIN_HOTEL]: {\n render: ()=>renderSearcher(SearcherTrainHotelDesktop, SearcherId.TRA_HOT, trainHotelData)\n },\n [SearcherModalProductType.SEARCHER_FERRY_HOTEL]: {\n render: ()=>renderSearcher(SearcherFerryHotelDesktop, SearcherId.FER_HOT, ferryHotelData)\n },\n [SearcherModalProductType.SEARCHER_ACTIVITIES]: {\n render: ()=>renderSearcher(SearcherActivitiesDesktop, SearcherId.ACTIVITIES, activitiesData)\n }\n };\n return /*#__PURE__*/ jsx(SearcherModalWrapper, {\n \"data-testid\": \"SearcherModal\",\n children: product && SearcherModalType[product]?.render()\n });\n};\n\nexport { SearcherModalDesktop as default };\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin, Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\nimport { CardTravel, CityInfo, TransportInfo, Divider } from '../../styled.js';\n\nconst liverpoolTransportModalStyles = {\n TransportCard: ()=>/*#__PURE__*/ css([\n ``,\n ``\n ], Margin({\n bottom: '12px'\n })),\n Travel: ()=>/*#__PURE__*/ css([\n ``,\n ` border-top:1px solid `,\n `;`,\n `{`,\n `}`,\n `{& > li.travel-date{font-family:`,\n `;}& > li.travel-code{`,\n `}}`,\n `{`,\n ` p,span{`,\n `}.type{color:`,\n `;font-family:`,\n `;}.company,.reference{font-family:`,\n `;color:`,\n `;}.fare{color:`,\n `;}}`,\n `{`,\n ` color:`,\n `;&:before{border-top:1px dashed `,\n `;}}`\n ], Padding({\n x: '16px',\n y: '4px'\n }), ({ theme })=>theme.colors.grays.lighter, CardTravel, Padding({\n y: '12px'\n }), CityInfo, ({ theme })=>theme.font.family.secondary, FontMixin({\n weight: 'semiBold',\n height: 'base'\n }), TransportInfo, Padding({\n x: '33px'\n }), FontMixin({\n size: 'small'\n }), ({ theme })=>theme.colors.primary.lighter, ({ theme })=>theme.font.family.secondary, ({ theme })=>theme.font.family.secondary, ({ theme })=>theme.colors.grays.base, ({ theme })=>theme.colors.grays.base, Divider, Margin({\n y: '4px'\n }), ({ theme })=>theme.colors.primary.lighter, ({ theme })=>theme.colors.primary.lighter)\n};\n\nexport { liverpoolTransportModalStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport liverpoolTransportModalStyles from './styles/partnershipsLiverpool.js';\n\nconst transportModalThemes = createThemes({\n partnershipsLiverpool: liverpoolTransportModalStyles\n});\n\nexport { transportModalThemes 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';\nimport transportModalThemes from './themes/index.js';\n\nconst TransportCard = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TransportCard\"\n})([\n ``,\n ``\n], transportModalThemes('TransportCard'));\nconst Travel = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Travel\"\n})([\n ``,\n ` background-color:`,\n `;padding:16px;`,\n ``\n], FlexMixin({\n direction: 'column'\n}), ({ theme })=>theme.bodyBgColor, transportModalThemes('Travel'));\nconst CardTravel = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"CardTravel\"\n})([\n ``,\n ` flex-flow:row nowrap;padding:16px 0;`\n], FlexMixin({\n justify: 'space-between'\n}));\nconst CityInfo = /*#__PURE__*/ styled.ul.withConfig({\n displayName: \"CityInfo\"\n})([\n `margin-bottom:0;max-width:20%;&.card-travel-origin{text-align:left;}&.card-travel-destination{text-align:right;}& > li.travel-date{`,\n `}& > li.travel-hour{`,\n `}& > li.travel-code{`,\n `}`\n], FontMixin({\n size: 'small',\n weight: 'regular',\n height: 'smaller'\n}), FontMixin({\n size: 'base',\n weight: 'regular',\n height: 'base'\n}), FontMixin({\n size: 'medium',\n weight: 'bold',\n height: 'small'\n}));\nconst TransportInfo = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TransportInfo\"\n})([\n ``,\n ` `,\n ` color:`,\n `;flex-grow:1;`\n], FlexMixin({\n direction: 'column',\n justify: 'center',\n align: 'center'\n}), FontMixin({\n weight: 'regular'\n}), ({ theme })=>theme.colors.grays.dark);\nconst Divider = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Divider\"\n})([\n ``,\n ` margin:0 12px;position:relative;width:calc(100% - 24px);&:before{border-top:1px dashed `,\n `;content:'';left:0;margin-top:-1px;min-width:100%;position:absolute;top:50%;}`,\n `{`,\n ` background-color:`,\n `;z-index:`,\n `;}`\n], FlexMixin({\n justify: 'center',\n align: 'center'\n}), ({ theme })=>theme.colors.grays.base, Icon, FontMixin({\n size: 'larger'\n}), ({ theme })=>theme.bodyBgColor, ({ theme })=>theme.zIndex.lowest);\n\nexport { CardTravel, CityInfo, Divider, TransportCard, TransportInfo, Travel };\n","import { jsx, 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 { getIconTransport } from '../../../../utils/index.js';\nimport { Children } from 'react';\nimport { TransportCard, Travel, CardTravel, TransportInfo, Divider, CityInfo as CityInfo$1 } from './styled.js';\n\nconst CityInfo = ({ city, className })=>/*#__PURE__*/ jsxs(CityInfo$1, {\n className: className,\n children: [\n /*#__PURE__*/ jsx(\"li\", {\n className: \"travel-date\",\n children: city.date\n }),\n /*#__PURE__*/ jsx(\"li\", {\n className: \"travel-hour\",\n children: city.hour\n }),\n /*#__PURE__*/ jsx(\"li\", {\n className: \"travel-code\",\n children: city.city\n })\n ]\n });\nconst CardTransport = ({ outbound, arrival, product = 'TRAINHOTEL' })=>{\n const travelInfo = [\n outbound,\n arrival\n ];\n const icon = getIconTransport(product);\n return /*#__PURE__*/ jsx(TransportCard, {\n \"data-testid\": \"CardTransport\",\n children: Children.toArray(travelInfo.map((travel)=>/*#__PURE__*/ jsx(Travel, {\n children: /*#__PURE__*/ jsxs(CardTravel, {\n children: [\n /*#__PURE__*/ jsx(CityInfo, {\n className: \"card-travel-origin\",\n city: travel.origin\n }),\n /*#__PURE__*/ jsxs(TransportInfo, {\n children: [\n travel.info.fare && /*#__PURE__*/ jsx(\"p\", {\n className: \"fare\",\n children: travel.info.fare\n }),\n travel.info.type && /*#__PURE__*/ jsx(\"p\", {\n className: \"type\",\n children: travel.info.type\n }),\n /*#__PURE__*/ jsx(Divider, {\n children: /*#__PURE__*/ jsx(Icon, {\n \"data-testid\": \"CardTransportIcon\",\n className: `nico-${icon}`\n })\n }),\n /*#__PURE__*/ jsx(Image, {\n alt: travel.info.company,\n src: travel.info.logo\n }),\n travel.info.company && /*#__PURE__*/ jsx(\"span\", {\n className: \"company\",\n children: travel.info.company\n }),\n travel.info.reference && /*#__PURE__*/ jsx(\"span\", {\n className: \"reference\",\n children: travel.info.reference\n })\n ]\n }),\n /*#__PURE__*/ jsx(CityInfo, {\n className: \"card-travel-destination\",\n city: travel.destination\n })\n ]\n })\n })))\n });\n};\n\nexport { CardTransport as default };\n","import { css } from 'styled-components';\n\nconst logitravelPriceModalStyles = {\n InfoPrice: ()=>/*#__PURE__*/ css([\n `background-color:`,\n `;`\n ], ({ theme })=>theme.colors.secondary.base)\n};\n\nexport { logitravelPriceModalStyles as default };\n","import { css } from 'styled-components';\n\nconst partnershipsPriceModalStyles = {\n InfoPrice: ()=>/*#__PURE__*/ css([\n `background-color:`,\n `;`\n ], ({ theme })=>theme.colors.secondary.base)\n};\n\nexport { partnershipsPriceModalStyles as default };\n","import { Margin, BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst liverpoolPriceModalStyles = {\n InfoPrice: ()=>/*#__PURE__*/ css([\n `background-color:`,\n `;`,\n ` `,\n ``\n ], ({ theme })=>theme.colors.primary.base, Margin({\n bottom: '8px'\n }), BorderRadius({\n topLeft: '8px',\n bottomLeft: '8px'\n }))\n};\n\nexport { liverpoolPriceModalStyles as default };\n","import { css } from 'styled-components';\n\nconst smyPriceModalStyles = {\n InfoPrice: ()=>/*#__PURE__*/ css([\n `background-color:`,\n `;`\n ], ({ theme })=>theme.colors.secondary.base)\n};\n\nexport { smyPriceModalStyles as default };\n","import { css } from 'styled-components';\n\nconst veciPriceModalStyles = {\n InfoPrice: ()=>/*#__PURE__*/ css([\n `background-color:`,\n `;bottom:0px;`\n ], ({ theme })=>theme.colors.green?.dark)\n};\n\nexport { veciPriceModalStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport logitravelPriceModalStyles from './styles/logitravel.js';\nimport partnershipsPriceModalStyles from './styles/partnerships.js';\nimport liverpoolPriceModalStyles from './styles/partnershipsLiverpool.js';\nimport smyPriceModalStyles from './styles/smy.js';\nimport veciPriceModalStyles from './styles/veci.js';\n\nconst priceModalThemes = createThemes({\n logitravel: logitravelPriceModalStyles,\n partnerships: partnershipsPriceModalStyles,\n smy: smyPriceModalStyles,\n veci: veciPriceModalStyles,\n partnershipsLiverpool: liverpoolPriceModalStyles\n});\n\nexport { priceModalThemes as default };\n","import { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\nimport priceModalThemes from './themes/index.js';\n\nconst InfoPrice = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"InfoPrice\"\n})([\n ``,\n ` position:absolute;background-color:`,\n `;color:`,\n `;bottom:8px;right:0;justify-content:center;align-items:center;padding:10px 20px;i{`,\n `}`,\n ``\n], FlexMixin({\n direction: 'column'\n}), ({ theme })=>theme.colors.secondary.base, ({ theme })=>theme.colors.white.base, FontMixin({\n size: 'largest',\n weight: 'medium',\n height: 'larger'\n}), priceModalThemes('InfoPrice'));\nconst PriceAmounts = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceAmounts\"\n})([\n ``,\n ``\n], FlexMixin({\n direction: 'column',\n align: 'end'\n}));\nconst PriceTop = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PriceTop\"\n})([\n ``,\n ` & .from{margin-right:2px;margin-bottom:1px;`,\n `}& .old-price{text-decoration:line-through;`,\n `}`\n], FlexMixin({\n justify: 'flex-end',\n align: 'flex-end'\n}), FontMixin({\n size: 'medium',\n weight: 'light',\n height: 'medium'\n}), FontMixin({\n size: 'base',\n weight: 'light',\n height: 'base'\n}));\nconst PriceCurrent = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"PriceCurrent\"\n})([\n ``,\n ``\n], FontMixin({\n size: 'largest',\n weight: 'medium',\n height: 'larger'\n}));\nconst PricePaxValue = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PricePaxValue\"\n})([\n ``,\n ` & .per-person{margin-right:2px;`,\n `}`\n], FontMixin({\n size: 'small',\n weight: 'light',\n height: 'small'\n}), FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'small'\n}));\n\nexport { InfoPrice, PriceAmounts, PriceCurrent, PricePaxValue, PriceTop };\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport PriceWithCurrency from '@babylon/ui-kit-base/components/text/price-with-currency';\nimport { normalizePrice } from '../../../../utils/index.js';\nimport contextBabylon from '@babylon/ui-kit-context';\nimport { formatPriceWithCurrency } from '@babylon/ui-kit-helpers/currency';\nimport { useContext } from 'react';\nimport { InfoPrice, PriceAmounts, PriceTop, PriceCurrent, PricePaxValue } from './styled.js';\n\nconst PriceModal = (props)=>{\n const { 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 return /*#__PURE__*/ jsx(InfoPrice, {\n \"data-testid\": \"PriceModal\",\n children: price?.value && price.value != 0 ? /*#__PURE__*/ jsxs(PriceAmounts, {\n children: [\n /*#__PURE__*/ jsxs(PriceTop, {\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: formatPriceWithCurrency(price.market_value, Currency, Language)\n })\n ]\n }),\n /*#__PURE__*/ jsx(PriceCurrent, {\n children: /*#__PURE__*/ jsx(PriceWithCurrency, {\n props: priceProps\n })\n }),\n literals.perPerson && !price.paxValue && /*#__PURE__*/ jsx(\"span\", {\n className: \"per-person\",\n children: literals.perPerson\n }),\n price.paxValue && /*#__PURE__*/ jsxs(PricePaxValue, {\n children: [\n /*#__PURE__*/ jsx(\"span\", {\n className: \"per-person\",\n children: literals.perPerson\n }),\n /*#__PURE__*/ jsx(\"span\", {\n children: formatPriceWithCurrency(price.paxValue, Currency, Language)\n })\n ]\n })\n ]\n }) : /*#__PURE__*/ jsx(Icon, {\n className: \"nico-magnifier\"\n })\n });\n};\n\nexport { PriceModal as default };\n","import { ModalHeader, ModalHeaderText, ModalCloseButton, ModalWrapper } from '@babylon/ui-kit-structures/components/others/modal/styled';\nimport { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius, Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { Stars } from '@babylon/ui-kit-styles/common/mixins/stars.styled';\nimport { css } from 'styled-components';\nimport { AccordionHotelTitle } from '../../styled.js';\n\nconst liverpoolProductModalStyles = {\n Modal: ()=>/*#__PURE__*/ css([\n ``,\n `{`,\n ` text-align:left;`,\n `{`,\n ` `,\n `}`,\n `{color:`,\n `;}}`,\n `{`,\n `}`\n ], ModalHeader, BorderRadius({\n topLeft: '8px',\n topRight: '8px'\n }), ModalHeaderText, Margin({\n left: '0px'\n }), FontMixin({\n weight: 'semiBold'\n }), ModalCloseButton, ({ theme })=>theme.colors.primary.base, ModalWrapper, BorderRadius({\n all: '8px'\n })),\n InfoHead: ()=>/*#__PURE__*/ css([\n ``,\n ` `,\n ``\n ], FontMixin({\n size: 'medium',\n weight: 'regular'\n }), Margin({\n top: '16px',\n bottom: '12px',\n x: '16px'\n })),\n AccordionItem: ()=>/*#__PURE__*/ css([\n `&:not(:last-child){border-bottom:1px solid `,\n `;}`,\n `{`,\n `{`,\n ` i{color:`,\n `;}}}`\n ], ({ theme })=>theme.colors.grays.lighter, AccordionHotelTitle, Stars, Margin({\n left: '4px',\n bottom: '-4px'\n }), ({ theme })=>theme.colors.status.complementary4),\n Footer: ()=>/*#__PURE__*/ css([\n `border-top:1px solid `,\n `;color:`,\n `;`\n ], ({ theme })=>theme.colors.grays.lighter, ({ theme })=>theme.colors.grays.base)\n};\n\nexport { liverpoolProductModalStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport liverpoolProductModalStyles from './styles/partnershipsLiverpool.js';\n\nconst productModalThemes = createThemes({\n partnershipsLiverpool: liverpoolProductModalStyles\n});\n\nexport { productModalThemes as default };\n","import InnerMarkdownHTML from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport { AccordionContainer, AccordionHeader } from '@babylon/ui-kit-structures/components/others/accordion/styled';\nimport Modal from '@babylon/ui-kit-structures/components/others/modal';\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, { css } from 'styled-components';\nimport productModalThemes from './themes/index.js';\n\nconst ModalWrapper = /*#__PURE__*/ styled(Modal).withConfig({\n displayName: \"ModalWrapper\"\n})([\n `overflow-y:auto;padding-bottom:10px;--color-gray:`,\n `;`,\n ``\n], ({ theme })=>theme.colors.grays.lighter, productModalThemes('Modal'));\nconst Body = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Body\"\n})([\n `padding:0;width:100%;`,\n ` max-height:none;`\n], FlexMixin());\nconst Info = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Info\"\n})([\n `width:50%;position:relative;border-right:`,\n `;color:`,\n `;`,\n ``\n], ({ $isActivities })=>!$isActivities && '1px solid var(--color-gray)', ({ theme })=>theme.colors.grays.darker, FontMixin({\n size: 'medium',\n weight: 'light',\n height: 'small'\n}));\nconst InfoImage = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"InfoImage\"\n})([\n `position:relative;width:100%;&:last-child{height:100%;}min-height:210px;`,\n ` &:last-child img{min-width:100%;min-height:100%;object-fit:cover;}img{`,\n `;}`\n], FlexMixin(), ({ $hasFooter })=>!$hasFooter && /*#__PURE__*/ css([\n ``,\n ``\n ], BorderRadius({\n bottomLeft: '4px'\n })));\nconst InfoHead = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"InfoHead\"\n})([\n `text-align:left;margin:32px 16px 12px 16px;`,\n ` `,\n ``\n], FontMixin({\n size: 'base',\n weight: 'medium',\n height: 'base'\n}), productModalThemes('InfoHead'));\nconst AccordionWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"AccordionWrapper\"\n})([\n `padding:0 16px;`,\n `:last-child{border:none;}`,\n `{`,\n ` padding:12px 0;}.title{`,\n `}`\n], AccordionContainer, AccordionHeader, FontMixin({\n size: 'base',\n weight: 'regular',\n height: 'large'\n}), FontMixin({\n size: 'base',\n weight: 'medium',\n height: 'base'\n}));\nconst AccordionItem = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"AccordionItem\"\n})([\n ``,\n ` padding:12px 0;padding-right:32px;position:relative;&:first-child{padding-top:0;}&:not(:last-child){border-bottom:1px solid `,\n `;}`,\n ``\n], FlexMixin({\n direction: 'column'\n}), ({ theme })=>theme.colors.grays.light, productModalThemes('AccordionItem'));\nconst AccordionHotelTitle = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"AccordionHotelTitle\"\n})([\n ``,\n ` `,\n ` margin-bottom:4px;i + i{margin-left:2px;}& .hotel-title{margin-right:4px;}`\n], FlexMixin({\n align: 'center'\n}), FontMixin({\n size: 'base',\n weight: 'medium',\n height: 'base'\n}));\nconst AccordionContent = /*#__PURE__*/ styled(InnerMarkdownHTML).withConfig({\n displayName: \"AccordionContent\"\n})([\n ``,\n ` & strong{`,\n `}`\n], FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'base'\n}), FontMixin({\n size: 'medium',\n weight: 'bold',\n height: 'base'\n}));\nconst Searcher = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Searcher\"\n})([\n `width:50%;position:relative;`\n]);\nconst Footer = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Footer\"\n})([\n `padding:16px;border-top:1px solid `,\n `;`,\n ` color:`,\n `;`,\n ``\n], ({ theme })=>theme.colors.grays.light, FontMixin({\n size: 'small',\n weight: 'regular',\n height: 'small'\n}), ({ theme })=>theme.colors.grays.dark, productModalThemes('Footer'));\n\nexport { AccordionContent, AccordionHotelTitle, AccordionItem, AccordionWrapper, Body, Footer, Info, InfoHead, InfoImage, ModalWrapper, Searcher };\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport Image from '@babylon/ui-kit-base/components/multimedia/image';\nimport { SearcherModalProductType } from '@babylon/ui-kit-searchers/components/others/searcher-modal/types';\nimport SearcherModalDesktop from '@babylon/ui-kit-searchers/components/others/searcher-modal/views/desktop';\nimport Accordion from '@babylon/ui-kit-structures/components/others/accordion';\nimport { Children } from 'react';\nimport { ratingTemplate } from '../../../utils/index.js';\nimport { REPLACE_DESTINATION, ImageResize } from '../../../utils/constants.js';\nimport CardTransport from './card-transport/index.js';\nimport PriceModal from './price-modal/index.js';\nimport { ModalWrapper, Body, Info, InfoImage, InfoHead, AccordionWrapper, AccordionItem, AccordionHotelTitle, AccordionContent, Searcher, Footer } from './styled.js';\n\nconst CardProductModal = ({ title, subtitle, zone, literals, image, price, expandedInfoTitle, expandedInfo, offerNote, rating, ratingIco, isVisible, product, endpoint, searcher, endpointParams, toggleVisibility, smallImage })=>{\n const { modalTitle: modalTitleLiteral = REPLACE_DESTINATION } = literals ?? {};\n const modalTitle = zone && subtitle !== null ? modalTitleLiteral.replace(REPLACE_DESTINATION, subtitle ?? '') : modalTitleLiteral.replace(REPLACE_DESTINATION, title);\n const hotelName = zone ? title : subtitle;\n const hasAccordion = !!expandedInfo?.filter((e)=>e.hotel).length || !!(expandedInfo?.filter((e)=>e.outbound).length && expandedInfo?.filter((e)=>e.arrival).length);\n let imageModalAttributes = ImageResize.MODAL;\n if (!hasAccordion && !expandedInfoTitle && !smallImage) {\n imageModalAttributes = ImageResize.MODAL_LARGE;\n }\n return /*#__PURE__*/ jsx(ModalWrapper, {\n hide: toggleVisibility,\n visible: isVisible,\n header: modalTitle,\n closeOnClickOut: true,\n closeOnEscapeKeyDown: true,\n content: /*#__PURE__*/ jsxs(\"div\", {\n \"data-testid\": \"CardProductModal\",\n children: [\n /*#__PURE__*/ jsxs(Body, {\n children: [\n /*#__PURE__*/ jsxs(Info, {\n $isActivities: product == SearcherModalProductType.SEARCHER_ACTIVITIES,\n children: [\n /*#__PURE__*/ jsxs(InfoImage, {\n $hasFooter: !!offerNote,\n children: [\n image && /*#__PURE__*/ jsx(Image, {\n ...imageModalAttributes,\n ...image\n }),\n /*#__PURE__*/ jsx(PriceModal, {\n literals: literals,\n price: price\n })\n ]\n }),\n !!expandedInfoTitle && /*#__PURE__*/ jsx(InfoHead, {\n children: expandedInfoTitle\n }),\n !!hasAccordion && /*#__PURE__*/ jsx(AccordionWrapper, {\n children: Children.toArray(expandedInfo?.map((info)=>{\n const hasTransport = !!(info.outbound && Object.keys(info.outbound).length > 0) || !!(info.arrival && Object.keys(info.arrival).length > 0);\n if (info.hotel) {\n return /*#__PURE__*/ jsxs(AccordionItem, {\n children: [\n /*#__PURE__*/ jsxs(AccordionHotelTitle, {\n children: [\n /*#__PURE__*/ jsx(\"span\", {\n className: \"hotel-title\",\n children: hotelName\n }),\n ratingTemplate(!!rating, ratingIco, rating)\n ]\n }),\n Children.toArray(info.content?.map((content)=>/*#__PURE__*/ jsx(AccordionContent, {\n tag: \"p\",\n content: content\n })))\n ]\n });\n }\n if (hasTransport && info.outbound && info.arrival) {\n return /*#__PURE__*/ jsx(Accordion, {\n header: /*#__PURE__*/ jsxs(\"span\", {\n className: \"title\",\n children: [\n info.title,\n Children.toArray(info.content?.map((content)=>/*#__PURE__*/ jsx(AccordionContent, {\n tag: \"p\",\n content: content\n })))\n ]\n }),\n content: /*#__PURE__*/ jsx(CardTransport, {\n outbound: info.outbound,\n arrival: info.arrival,\n product: product\n })\n });\n }\n if (info.title) {\n return /*#__PURE__*/ jsx(Accordion, {\n header: /*#__PURE__*/ jsxs(\"span\", {\n className: \"title\",\n children: [\n info.title,\n Children.toArray(info.content?.map((content)=>/*#__PURE__*/ jsx(AccordionContent, {\n tag: \"p\",\n content: content\n })))\n ]\n }),\n content: Children.toArray(info.descriptions?.map((description)=>/*#__PURE__*/ jsx(AccordionContent, {\n tag: \"p\",\n content: description\n })))\n });\n }\n }))\n })\n ]\n }),\n /*#__PURE__*/ jsx(Searcher, {\n children: /*#__PURE__*/ jsx(SearcherModalDesktop, {\n literals: literals,\n product: product,\n endpoint: endpoint,\n endpointParams: endpointParams,\n searcher: searcher\n })\n })\n ]\n }),\n offerNote && /*#__PURE__*/ jsx(Footer, {\n children: offerNote\n })\n ]\n })\n });\n};\n\nexport { CardProductModal 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})([\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})([\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})([\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.js';\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 } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst liverpoolFilters = {\n Company: ()=>/*#__PURE__*/ css([\n `color:`,\n `;`\n ], ({ theme })=>theme.colors.status.complementary3),\n Label: ()=>/*#__PURE__*/ css([\n ``,\n ``\n ], FontMixin({\n size: 'small',\n weight: 'semiBold'\n })),\n DateLabel: ()=>/*#__PURE__*/ css([\n `color:`,\n `;`\n ], ({ theme })=>theme.colors.grays.base)\n};\n\nexport { liverpoolFilters as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport liverpoolFilters from './styles/liverpool.js';\n\nconst flightContentThemes = createThemes({\n [ThemeId.partnershipsLiverpool]: liverpoolFilters\n});\n\nexport { flightContentThemes 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';\nimport flightContentThemes from './themes/index.js';\n\nconst Wrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Wrapper\"\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})([\n ``,\n ` `,\n ` color:`,\n `;`,\n ``\n], FontMixin({\n size: 'small',\n weight: 'regular'\n}), Margin({\n right: '4px'\n}), ({ theme })=>theme.colors.grays.darker, flightContentThemes('Label'));\nconst DateLabel = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"DateLabel\"\n})([\n ``,\n ` color:`,\n `;`,\n ``\n], FontMixin({\n size: 'small',\n weight: 'light'\n}), ({ theme })=>theme.colors.grays.dark, flightContentThemes('DateLabel'));\nconst Row = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Row\"\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})([\n ``,\n ` color:`,\n `;`,\n ``\n], FontMixin({\n size: 'small',\n weight: 'light'\n}), ({ theme })=>theme.colors.primary.lighter, flightContentThemes('Company'));\n\nexport { Company, DateLabel, Label, Row, Wrapper };\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport { Wrapper, Row, Label, DateLabel, Company } from './styled.js';\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})([\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.js';\nimport { IconBadgeMobile } from './styled.js';\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 { 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","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 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","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","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.js';\nimport { OnlyIcon, PricesWrapperMobile, PriceTopDealMobile, Price, PriceCurrentDealMobile, PriceTopMobile, PriceCurrentMobile, PricePaxValueMobile, PriceCaptionMobile } from './styled.js';\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 { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius, Border, Padding, Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { Stars } from '@babylon/ui-kit-styles/common/mixins/stars.styled';\nimport { css } from 'styled-components';\nimport { IconBadgeMobile } from '../../header-badges/styled.js';\nimport { ProductCardImageContainer, ProductCardContent, Upside } from '../../styled.js';\n\nconst liverpoolProductCardMobileStyles = {\n ProductCardBox: ()=>/*#__PURE__*/ css([\n ``,\n `;`,\n `;box-shadow:none;`,\n `{`,\n `;}`,\n `{`,\n `}`,\n `{color:`,\n `;`,\n `}`,\n `{left:8px;top:8px;`,\n ` outline:1px solid `,\n `;outline-offset:-3px;&.is-deal{background-color:`,\n `;}}`\n ], BorderRadius({\n all: '8px'\n }), ({ theme })=>Border({\n all: `1px solid ${theme.colors.grays.lighter}`\n }), ProductCardImageContainer, BorderRadius({\n topLeft: '8px',\n bottomLeft: '8px'\n }), ProductCardContent, Padding({\n all: '12px'\n }), Upside, ({ theme })=>theme.colors.secondary.base, FontMixin({\n weight: 'semiBold'\n }), IconBadgeMobile, BorderRadius({\n all: '8px'\n }), ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.secondary.base),\n ProductCardTitle: ()=>/*#__PURE__*/ css([\n ``,\n ` `,\n ` line-height:22px !important;color:`,\n `;`\n ], Margin({\n bottom: '0px'\n }), FontMixin({\n weight: 'semiBold'\n }), ({ theme })=>theme.colors.grays.darker),\n Subtitle: ()=>/*#__PURE__*/ css([\n `.product-card-subtitle{color:`,\n `;`,\n `}`,\n `{`,\n ` i{color:`,\n `;}}`\n ], ({ theme })=>theme.colors.grays.darker, FontMixin({\n weight: 'regular'\n }), Stars, Margin({\n left: '2px'\n }), ({ theme })=>theme.colors.status.complementary4),\n Description: ()=>/*#__PURE__*/ css([\n ``,\n ` color:`,\n `;p{`,\n `}`\n ], FontMixin({\n weight: 'regular',\n height: 'small'\n }), ({ theme })=>theme.colors.grays.base, Margin({\n bottom: '0px'\n })),\n Promotion: ()=>/*#__PURE__*/ css([\n ``,\n ` color:`,\n `;`,\n ``\n ], Margin({\n top: '4px'\n }), ({ theme })=>theme.colors.status.complementary4, FontMixin({\n weight: 'regular'\n }))\n};\n\nexport { liverpoolProductCardMobileStyles 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 liverpoolProductCardMobileStyles from './styles/partnershipsLiverpool.js';\nimport partnershipsPortaventuraProductCardMobileStyles from './styles/portaventura.js';\n\nconst productCardMobileThemes = createThemes({\n partnershipsPortaventura: partnershipsPortaventuraProductCardMobileStyles,\n partnershipsLiverpool: liverpoolProductCardMobileStyles\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 Anchor from '@babylon/ui-kit-base/components/others/anchor';\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.js';\n\nconst ProductCardTitle = /*#__PURE__*/ styled.h3.withConfig({\n displayName: \"ProductCardTitle\"\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})([\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})([\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})([\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 ``\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, productCardMobileThemes('ProductCardBox'));\nconst ProductCardTransportContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardTransportContent\"\n})([\n ``\n]);\nconst ProductCardTransportWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardTransportWrapper\"\n})([\n ``,\n ``\n], FlexMixin({\n justify: 'space-between'\n}));\nconst ProductCardLink = /*#__PURE__*/ styled(Anchor).withConfig({\n displayName: \"ProductCardLink\"\n})([\n ``,\n ``\n], FlexMixin({\n direction: 'row'\n}));\nconst ProductCardHeader = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardHeader\"\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})([\n `& > .product-card-subtitle{`,\n ` `,\n ` color:`,\n `;}& > .product-card-textInfo{`,\n ` `,\n ` color:`,\n `;display:block;}`,\n `{`,\n ` & > i{margin-left:2px;}}`,\n ``\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}), productCardMobileThemes('Subtitle'));\nconst Detail = /*#__PURE__*/ styled(InnerMarkdownHTML).withConfig({\n displayName: \"Detail\"\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})([\n ``,\n ` color:`,\n `;overflow:hidden;&.is-deal{`,\n `}`,\n ``\n], FontMixin({\n size: 'small',\n height: 'medium',\n weight: 'light'\n}), ({ theme })=>theme.colors.grays.dark, Margin({\n right: '14px'\n}), productCardMobileThemes('Description'));\nconst ProductCardPrice = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardPrice\"\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})([\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})([\n ``,\n ` color:`,\n `;`,\n ``\n], FontMixin({\n size: 'small',\n weight: 'medium',\n height: 'medium'\n}), ({ theme })=>theme.colors.status.offer, productCardMobileThemes('Promotion'));\nconst Tripadvisor = /*#__PURE__*/ styled(Image).withConfig({\n displayName: \"Tripadvisor\"\n})([\n ``,\n ` width:120px;height:20px;`\n], Margin({\n left: '-8px'\n}));\nconst Reviews = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Reviews\"\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})([\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})([\n ``,\n ``\n], FlexMixin({\n justify: 'space-between'\n}));\nconst ProductCardDescription = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ProductCardDescription\"\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})([\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})([\n ``,\n `{background-color:`,\n `;}`\n], ModalWrapper, (props)=>props.theme.colors.primary.base);\nconst Title = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Title\"\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 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.js';\nimport { ImageResize, MAX_UPSIDE } from '../../utils/constants.js';\nimport FlightContent from './flight-content/index.js';\nimport HeaderBadges from './header-badges/index.js';\nimport Prices from './prices/index.js';\nimport { Subtitle, ProductCardBox, ProductCardLink, ProductCardImageContainer, ProductCardContent, ProductCardHeader, ProductCardTitle, Detail, Descriptions, Upside, Promotion, ProductCardFooter, SearcherModal, Title, ProductCardDescription, Tripadvisor, Reviews, ProductCardIconProps, Transport, ProductCardTransportWrapper, ProductCardTransportContent } from './styled.js';\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 ...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})([\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})([\n `margin-right:16px;min-width:112px;`\n]);\nconst SkeletonContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"SkeletonContent\"\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.js';\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","const getTitle = (title)=>{\n if (!title?.title) return undefined;\n return {\n title: title.title,\n link: title?.link,\n subTitle: title?.subTitle ?? title?.subtitle,\n icon: typeof title?.icon === 'string' ? title?.icon : title?.icon?.name\n };\n};\n\nexport { getTitle };\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius, Padding, Border } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst liverpoolButtonViewMoreStyles = {\n ButtonBox: ()=>/*#__PURE__*/ css([\n `a{background-color:`,\n `;`,\n ` `,\n ` `,\n ` color:`,\n `;`,\n `;height:44px;}`\n ], ({ theme })=>theme.colors.white.base, BorderRadius({\n all: '8px'\n }), FontMixin({\n size: 'medium',\n height: 'base',\n weight: 'semiBold'\n }), Padding({\n y: '12px',\n x: '20px'\n }), ({ theme })=>theme.colors.secondary.base, ({ theme })=>Border({\n all: `1px solid ${theme.colors.secondary.base}`\n }))\n};\n\nexport { liverpoolButtonViewMoreStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport liverpoolButtonViewMoreStyles from './styles/liverpool.js';\n\nconst buttonViewMoreThemes = createThemes({\n [ThemeId.partnershipsLiverpool]: liverpoolButtonViewMoreStyles\n});\n\nexport { buttonViewMoreThemes 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';\nimport buttonViewMoreThemes from './themes/index.js';\n\nconst ButtonBox = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ButtonBox\"\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 ``\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, buttonViewMoreThemes('ButtonBox'));\n\nexport { ButtonBox };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport Anchor from '@babylon/ui-kit-base/components/others/anchor';\nimport { ButtonBox } from './styled.js';\n\nconst ButtonViewMore = ({ link, content, hasIcon })=>/*#__PURE__*/ jsxs(ButtonBox, {\n \"data-testid\": \"ButtonViewMore\",\n className: \"button-view-more\",\n children: [\n /*#__PURE__*/ jsx(Anchor, {\n ...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 { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst liverpoolCarouselProductStyles = {\n CarouselTitle: ()=>/*#__PURE__*/ css([\n `h2{color:`,\n `;font-family:`,\n `;`,\n `}`\n ], ({ theme })=>theme.colors.grays.darker, ({ theme })=>theme.font.family.primary, FontMixin({\n size: 'larger',\n height: 'larger',\n weight: 'semiBold'\n }))\n};\n\nexport { liverpoolCarouselProductStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport liverpoolCarouselProductStyles from './styles/liverpool.js';\n\nconst carouselProductThemes = createThemes({\n [ThemeId.partnershipsLiverpool]: liverpoolCarouselProductStyles\n});\n\nexport { carouselProductThemes as default };\n","import Image from '@babylon/ui-kit-base/components/multimedia/image';\nimport Title from '@babylon/ui-kit-base/components/text/title';\nimport { BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport carouselProductThemes from './themes/index.js';\n\nconst CarouselProductWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"CarouselProductWrapper\"\n})([\n `background:`,\n `;& > :not(.button-view-more){margin-top:8px;}`\n], ({ theme })=>theme.bodyBgColor);\nconst StyledTitle = /*#__PURE__*/ styled(Title).withConfig({\n displayName: \"StyledTitle\"\n})([\n ``,\n ``\n], carouselProductThemes('CarouselTitle'));\nconst ImageBanner = /*#__PURE__*/ styled(Image).withConfig({\n displayName: \"ImageBanner\"\n})([\n `img{`,\n `;height:200px;width:100%;object-fit:cover;}`\n], ({ theme })=>BorderRadius({\n all: `${theme.border.radius.rounded}`\n }));\n\nexport { CarouselProductWrapper, ImageBanner, StyledTitle };\n","import { jsx, jsxs, Fragment } from 'react/jsx-runtime';\nimport JsonLd from '@babylon/ui-kit-base/components/others/json-ld';\nimport BenefitsCard from '@babylon/ui-kit-cards/components/cards/benefits-card/views/mobile';\nimport ProductCard 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.js';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport { useMemo } from 'react';\nimport { useTheme } from 'styled-components';\nimport ButtonViewMore from './button-view-more/index.js';\nimport { StyledTitle, CarouselProductWrapper, ImageBanner } from './styled.js';\n\nconst CarouselProductMobileView = ({ props })=>{\n const { ldjson, items = [], className = '', link, config, isLoading = false, defaultImage = {\n src: ''\n }, isFirstComponent = false, benefits, hasIcon, banner } = props ?? {};\n const title = getTitle(props?.title);\n const { id } = /*#__PURE__*/ useTheme();\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(StyledTitle, {\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 banner && id === 'partnershipsLiverpool' && /*#__PURE__*/ jsx(ImageBanner, {\n src: banner.image?.src ?? ''\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(ProductCard, {\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};\nconst CarouselProductMobile = (props)=>{\n if (!props.props.items?.length && !props.props.isLoading) return null;\n return /*#__PURE__*/ jsx(CarouselProductMobileView, {\n ...props\n });\n};\n\nexport { CarouselProductMobile as default };\n"],"file":"cdn-placeholder/babylon/logitravel-ferries/client/chunks/index.DYvpQrvk.js"}