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,MAAOI,EAAK,MACZ,MAAA5E,EACA,QAAuB9J,EAAG,IAACkO,GAAa,CACpC,cAAe,MACf,SAAUjO,EAAQ,SAAC,QAAsBD,MAAI2O,GAAM,CAC/C,GAAG3N,EACH,UAAW,WAC/B,CAAiB,CAAC,CAClB,CAAa,CACb,CACA,CAAK,EACD,OAAKsN,EAAM,OACJA,EAAM,OAAS,GAAmB7F,OAAK,MAAO,CACjD,cAAe,WACf,SAAU,CACQzI,MAAI8N,GAAY,CAC1B,GAAG9M,EAAM,KACzB,CAAa,EACDA,EAAM,aAA6BhB,EAAG,IAACoO,GAAa,CAChD,SAAwBpO,EAAG,IAACkM,GAAmB,CAC3C,QAASlL,EAAM,YAAY,OAC/C,CAAiB,CACjB,CAAa,EACDsN,EAAM,SAAW,EAAkBtO,MAAI2O,GAAM,CACzC,MAAOL,EAAM,CAAC,EAAE,MAChB,UAAW,WAC3B,CAAa,EAAkBtO,EAAG,IAACgO,GAAc,CACjC,SAAwBhO,EAAG,IAAC4O,GAAM,CAC9B,YAAaL,EACb,QAASC,EACT,KAAMC,CAC1B,CAAiB,CACjB,CAAa,CACJ,CACT,CAAK,EAvByB,IAwB9B","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","getIcon","name","key","getIconTransport","product","ratingTemplate","show","icon","stars","jsx","Children","Icon","getReviewContent","positiveNumberOrUndefined","num","normalizePrice","price","ensureArray","data","SearcherModalProductType","Destination","SearcherItem","Calendar","Passangers","SearcherActivitiesSkeletonDesktop","props","SearcherSkeleton","SearcherItemOrigin","FlexMixin","$mustShowDestination","FlexColumnMixin","SearcherItemDate","SearcherItemAge","SearcherCarSkeletonDesktop","SearcherSkeletonDesktop","SearcherCirSkeletonDesktop","SearcherCruSkeletonDesktop","searcherButtonBase","css","SearcherWrapper","searcherbuttonDesktopBase","SearcherDestinationSkeletonDesktop","SearcherFerryHotelSkeletonDesktop","SearcherItemDestination","SearcherItemCalendar","SearcherItemAccommodation","SearcherHotSkeletonDesktop","SearcherMultiPakSkeletonDesktop","SearcherIdToSearcherSkeleton","SearcherFerSkeleton","SearcherFliSkeleton","SearcherFlightHotelSkeleton","SearcherLeiSkeleton","SearcherTouSkeleton","SearcherTraSkeleton","SearcherTrainHotelSkeleton","SearcherProSkeleton","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","SearcherModalWrapper","SearcherItemArrayInput","Border","ArrayInputWrapper","ArrayInputRowContent","SearcherFliItem","ArrayInputRow","CalendarLabel","RemoveIcon","AddButton","SearcherSkeletonWrapper","Skeleton","SearcherMiddle","SearcherFerryHotelDesktop","lazy","__vitePreload","SearcherFerDesktop","SearcherFliDesktop","n","SearcherFlightHotelDesktop","SearcherTrainHotelDesktop","SearcherActivitiesDesktop","SearcherModalDesktop","renderSearcher","Searcher","_merge","cloneDeep","Suspense","SearcherModalType","SearcherId","_a","Travel","CardTravel","CityInfo","FontMixin","TransportInfo","Divider","city","className","jsxs","CityInfo$1","CardTransport","outbound","arrival","travelInfo","travel","Image","Price","$size","Currency","types","PriceWithCurrency","currency","locale","minimumFractionDigits","priceParts","formatPriceToParts","priceLenghtWithoutCurrency","priceFormatted","type","index","currencyClassName","genKey","React","logitravelPriceModalStyles","partnershipsPriceModalStyles","liverpoolPriceModalStyles","Margin","BorderRadius","smyPriceModalStyles","veciPriceModalStyles","priceModalThemes","createThemes","InfoPrice","PriceAmounts","PriceTop","PriceCurrent","PricePaxValue","PriceModal","Language","priceProps","formatPriceWithCurrency","ModalWrapper","Modal","Body","Info","$isActivities","InfoImage","$hasFooter","InfoHead","AccordionWrapper","AccordionContainer","AccordionHeader","AccordionItem","AccordionHotelTitle","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","TitleLinks","Title","LinksWrapper","TabsStyled","TabsWrapper","Padding","Description","LinksSEOMobile","items","selectedTab","setSelectedTab","linksTabs","item","Tags","Tabs"],"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],"sources":["../../../../../../../node_modules/@babylon/ui-kit-helpers/esm/rating.mjs","../../../../../../../node_modules/@babylon/ui-kit-helpers/esm/calculate-stars.mjs","../../../../../../../node_modules/@babylon/ui-kit-styles/esm/common/mixins/stars.styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/utils/constants.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/utils/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/others/searcher-modal/types.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-activities/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-activities/components/skeleton/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-car/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-car/components/skeleton/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-cir/components/skeleton/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-cru/components/skeleton/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-destination/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-destination/components/button/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-destination/components/button/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-destination/components/skeleton/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-destination/components/skeleton/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-ferry-hotel/components/skeleton/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-hot/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-hot/components/skeleton/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-multi-pak/components/skeleton/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/helpers/skeleton/views/desktop.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/others/searcher-modal/views/desktop/service.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/others/searcher-modal/views/desktop/hooks/useSearcherModal.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/others/searcher-modal/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/others/searcher-modal/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/card-transport/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/card-transport/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-base/esm/components/text/price-with-currency/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-base/esm/components/text/price-with-currency/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/styles/logitravel.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/styles/partnerships.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/styles/partnershipsLiverpool.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/styles/smy.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/styles/veci.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/price-modal/themes/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/price-modal/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/price-modal/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-cards/esm/components/cards/product-card/views/desktop/card-product-modal/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/links-seo/views/mobile/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/links-seo/views/mobile/index.mjs"],"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//# sourceMappingURL=rating.mjs.map\n","import { generateRatingArray } from './rating.mjs';\n\nconst calculateStars = ({ star, halfStar, value })=>{\n // Call the generateRatingArray function with the provided star and halfStar symbols, and the rating value.\n // Set the maximum number of symbols equal to the rounded rating value to avoid the default maximum=5\n const starts = generateRatingArray({\n symbol: {\n full: star,\n half: halfStar,\n empty: ''\n },\n rating: value,\n maximum: Math.round(value)\n });\n return starts;\n};\n\nexport { calculateStars, calculateStars as default };\n//# sourceMappingURL=calculate-stars.mjs.map\n","import styled from 'styled-components';\n\nconst Stars = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"Stars\"\n})([\n `color:`,\n `;font-size:`,\n `;line-height:`,\n `;`\n], ({ color, theme })=>color ?? theme.colors.rating.base, ({ size, theme })=>size ?? theme.font.size.small, ({ height, theme })=>height ?? theme.font.height.small);\n\nexport { Stars };\n//# sourceMappingURL=stars.styled.mjs.map\n","var 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};\n\nexport { 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 { ICONS } from './constants.mjs';\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};\n\nexport { ensureArray, getIcon, getIconTransport, getReviewContent, normalizePrice, ratingTemplate };\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//# sourceMappingURL=types.mjs.map\n","import { SearcherItem } from '../../../../others/searcher/styled.mjs';\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.between('lg', 'xl'), ({ 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.between('lg', 'xl'), ({ 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.between('lg', 'xl'), ({ theme })=>theme.media.between('xl', 'xxl'));\n\nexport { Calendar, Destination, Passangers };\n//# sourceMappingURL=styled.mjs.map\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeleton from '../../../../../../others/searcher/skeleton/index.mjs';\nimport { Destination, Calendar, Passangers } from '../../../../views/desktop/styled.mjs';\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//# sourceMappingURL=index.mjs.map\n","import { SearcherItem } from '../../../../others/searcher/styled.mjs';\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.between('lg', 'xl'), ({ 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.between('lg', 'xl'));\n\nexport { SearcherItemAge, SearcherItemDate, SearcherItemDestination, SearcherItemOrigin };\n//# sourceMappingURL=styled.mjs.map\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.mjs';\nimport { SearcherItemOrigin, SearcherItemDate, SearcherItemAge } from '../../../../views/desktop/styled.mjs';\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//# sourceMappingURL=index.mjs.map\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.mjs';\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//# sourceMappingURL=index.mjs.map\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeleton from '../../../../../../others/searcher/skeleton/index.mjs';\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//# sourceMappingURL=index.mjs.map\n","import styled from 'styled-components';\nimport { SearcherItem } from '../../../../others/searcher/styled.mjs';\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.between('xs', 'md'));\n\nexport { Destination };\n//# sourceMappingURL=styled.mjs.map\n","import { SearcherWrapper } from '../../../../others/searcher/searcher-button/views/desktop/styled.mjs';\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//# sourceMappingURL=styled.mjs.map\n","import styled, { css } from 'styled-components';\nimport SearcherButtonDesktop from '../../../../../../others/searcher/searcher-button/views/desktop/index.mjs';\nimport { searcherButtonBase } from '../../styled.mjs';\n\nconst searcherbuttonDesktopBase = /*#__PURE__*/ css([\n ``,\n ` `,\n `{flex-basis:100%;min-width:100%;max-width:100%;}`\n], searcherButtonBase, ({ theme })=>theme.media.between('xs', 'md'));\nconst SearcherButton = /*#__PURE__*/ styled(SearcherButtonDesktop).withConfig({\n displayName: \"SearcherButton\"\n})([\n ``,\n ``\n], searcherbuttonDesktopBase);\n\nexport { SearcherButton, searcherbuttonDesktopBase };\n//# sourceMappingURL=styled.mjs.map\n","import SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.mjs';\nimport styled from 'styled-components';\nimport { searcherbuttonDesktopBase } from '../../../button/views/desktop/styled.mjs';\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//# sourceMappingURL=styled.mjs.map\n","import { jsx } from 'react/jsx-runtime';\nimport { Destination } from '../../../../views/desktop/styled.mjs';\nimport { SearcherSkeleton } from './styled.mjs';\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//# sourceMappingURL=index.mjs.map\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.mjs';\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//# sourceMappingURL=index.mjs.map\n","import { SearcherItem } from '../../../../others/searcher/styled.mjs';\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.between('lg', 'xl'));\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.between('lg', 'xl'));\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.between('lg', 'xl'));\n\nexport { SearcherItemAccommodation, SearcherItemCalendar, SearcherItemDestination };\n//# sourceMappingURL=styled.mjs.map\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.mjs';\nimport { SearcherItemDestination, SearcherItemCalendar, SearcherItemAccommodation } from '../../../../views/desktop/styled.mjs';\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//# sourceMappingURL=index.mjs.map\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherSkeletonDesktop from '../../../../../../others/searcher/skeleton/views/desktop/index.mjs';\n\nconst SearcherMultiPakSkeletonDesktop = (props)=>/*#__PURE__*/ jsx(SearcherSkeletonDesktop, {\n config: {\n desktop: {\n top: {\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 { SearcherMultiPakSkeletonDesktop as default };\n//# sourceMappingURL=index.mjs.map\n","import { jsx } from 'react/jsx-runtime';\nimport SearcherActivitiesSkeletonDesktop from '../../../components/searchers/searcher-activities/components/skeleton/views/desktop/index.mjs';\nimport SearcherCarSkeletonDesktop from '../../../components/searchers/searcher-car/components/skeleton/views/desktop/index.mjs';\nimport SearcherCirSkeletonDesktop from '../../../components/searchers/searcher-cir/components/skeleton/views/desktop/index.mjs';\nimport SearcherCruSkeletonDesktop from '../../../components/searchers/searcher-cru/components/skeleton/views/desktop/index.mjs';\nimport SearcherDestinationSkeletonDesktop from '../../../components/searchers/searcher-destination/components/skeleton/views/desktop/index.mjs';\nimport SearcherFerSkeleton from '../../../components/searchers/searcher-fer/components/skeleton/index.mjs';\nimport SearcherFerryHotelSkeletonDesktop from '../../../components/searchers/searcher-ferry-hotel/components/skeleton/views/desktop/index.mjs';\nimport SearcherFliSkeleton from '../../../components/searchers/searcher-fli/components/skeleton/index.mjs';\nimport SearcherFlightHotelSkeleton from '../../../components/searchers/searcher-flight-hotel/components/skeleton/index.mjs';\nimport SearcherHotSkeletonDesktop from '../../../components/searchers/searcher-hot/components/skeleton/views/desktop/index.mjs';\nimport SearcherLeiSkeleton from '../../../components/searchers/searcher-lei/components/skeleton/index.mjs';\nimport SearcherMultiPakSkeletonDesktop from '../../../components/searchers/searcher-multi-pak/components/skeleton/views/desktop/index.mjs';\nimport SearcherProSkeleton from '../../../components/searchers/searcher-pro/components/skeleton/index.mjs';\nimport SearcherTouSkeleton from '../../../components/searchers/searcher-tou/components/skeleton/index.mjs';\nimport SearcherTraSkeleton from '../../../components/searchers/searcher-tra/components/skeleton/index.mjs';\nimport SearcherTrainHotelSkeleton from '../../../components/searchers/searcher-train-hotel/components/skeleton/index.mjs';\n\nconst SearcherIdToSearcherSkeleton = {\n ACTIVITIES: SearcherActivitiesSkeletonDesktop,\n CAR: SearcherCarSkeletonDesktop,\n CIR: SearcherCirSkeletonDesktop,\n CRU: SearcherCruSkeletonDesktop,\n FER: SearcherFerSkeleton,\n FER_HOT: SearcherFerryHotelSkeletonDesktop,\n FLI: SearcherFliSkeleton,\n FLI_HOT: SearcherFlightHotelSkeleton,\n HOT: SearcherHotSkeletonDesktop,\n LEI: SearcherLeiSkeleton,\n MUL_PAK: SearcherMultiPakSkeletonDesktop,\n TOU: SearcherTouSkeleton,\n TRA: SearcherTraSkeleton,\n TRA_HOT: SearcherTrainHotelSkeleton,\n DEST: SearcherDestinationSkeletonDesktop,\n PRO: SearcherProSkeleton\n};\nconst renderSearcherSkeletonDesktop = (searcherId, optionalProps)=>{\n const SkeletonComponent = SearcherIdToSearcherSkeleton[searcherId];\n return /*#__PURE__*/ jsx(SkeletonComponent, {\n ...optionalProps\n });\n};\n\nexport { renderSearcherSkeletonDesktop };\n//# sourceMappingURL=desktop.mjs.map\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//# sourceMappingURL=service.mjs.map\n","import contextBabylon from '@babylon/ui-kit-context';\nimport { useState, useContext, useRef, useCallback, useEffect } from 'react';\nimport { SearcherModalProductType } from '../../../types.mjs';\nimport { getFlightHotelSearcher, getTrainHotelSearcher, getFerryHotelSearcher, getActivitiesSearcher } from '../service.mjs';\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//# sourceMappingURL=useSearcherModal.mjs.map\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.mjs';\nimport { SearcherWrapper, SearcherMiddle, SearcherItem } from '../../../searcher/styled.mjs';\nimport { SearcherItemArrayInput, SearcherFliItem } from '../../../../searchers/searcher-fli/views/desktop/styled.mjs';\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';\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], 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}));\n\nexport { SearcherModalWrapper };\n//# sourceMappingURL=styled.mjs.map\n","import { jsx } from 'react/jsx-runtime';\nimport { renderSearcherSkeletonDesktop } from '../../../../../helpers/skeleton/views/desktop.mjs';\nimport { SearcherId } from '../../../../../types/index.mjs';\nimport cloneDeep from 'clone-deep';\nimport _merge from 'lodash/merge.js';\nimport { lazy, Suspense } from 'react';\nimport { SearcherModalProductType } from '../../types.mjs';\nimport { useSearcherModal } from './hooks/useSearcherModal.mjs';\nimport { SearcherModalWrapper } from './styled.mjs';\n\nconst SearcherFerryHotelDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-ferry-hotel/views/desktop/index.mjs'));\nconst SearcherFerDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-fer/views/desktop/index.mjs'));\nconst SearcherFliDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-fli/views/desktop/index.mjs'));\nconst SearcherFlightHotelDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-flight-hotel/views/desktop/index.mjs'));\nconst SearcherTrainHotelDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-train-hotel/views/desktop/index.mjs'));\nconst SearcherActivitiesDesktop = /*#__PURE__*/ lazy(()=>import('../../../../searchers/searcher-activities/views/desktop/index.mjs'));\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//# sourceMappingURL=index.mjs.map\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst Travel = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Travel\"\n})([\n ``,\n ` background-color:`,\n `;padding:16px;`\n], FlexMixin({\n direction: 'column'\n}), ({ theme })=>theme.bodyBgColor);\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, 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.mjs';\nimport { Children } from 'react';\nimport { Travel, CardTravel, TransportInfo, Divider, CityInfo as CityInfo$1 } from './styled.mjs';\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(\"div\", {\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 children: travel.info.fare\n }),\n travel.info.type && /*#__PURE__*/ jsx(\"p\", {\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 children: travel.info.company\n }),\n travel.info.reference && /*#__PURE__*/ jsx(\"span\", {\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 styled from 'styled-components';\n\nconst Price = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"Price\"\n})([\n `--price-font-size:100%;`,\n `;font-size:var(--price-font-size);font-size:max(15px,var(--price-font-size));line-height:100%;`\n], ({ $size = 0 })=>$size > 5 && '--price-font-size: 80%;');\nconst Currency = /*#__PURE__*/ styled.span.withConfig({\n displayName: \"Currency\"\n})([\n `--currency-font-size:80%;&.small{--currency-font-size:70%;}font-size:var(--currency-font-size);font-size:max(13px,var(--currency-font-size));`\n]);\n\nexport { Currency, Price };\n//# sourceMappingURL=styled.mjs.map\n","import { jsx } from 'react/jsx-runtime';\nimport { formatPriceToParts } from '@babylon/ui-kit-helpers/currency';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport React from 'react';\nimport { Currency, Price } from './styled.mjs';\n\n// Types to check\nconst types = [\n 'integer',\n 'group',\n 'decimal'\n];\nconst PriceWithCurrency = ({ props, className })=>{\n const { price = 0, currency = 'EUR', locale = 'es', minimumFractionDigits = 0 } = props ?? {};\n const priceParts = formatPriceToParts(price, currency, locale, minimumFractionDigits);\n // Var to check not currency price length\n let priceLenghtWithoutCurrency = 0;\n // Formatted price with the currency\n const priceFormatted = priceParts.map(({ type, value }, index)=>{\n if (types.includes(type)) priceLenghtWithoutCurrency += value.length;\n switch(type){\n case 'currency':\n {\n const currencyClassName = `currency ${value.length >= 3 && 'small'}`;\n return /*#__PURE__*/ jsx(Currency, {\n className: currencyClassName,\n children: value\n }, genKey(`${index}`));\n }\n case 'fraction':\n return /*#__PURE__*/ jsx(Currency, {\n children: value\n }, genKey(`${index}`));\n // Removes white spaces between price and currency\n case 'literal':\n return null;\n default:\n return /*#__PURE__*/ jsx(React.Fragment, {\n children: value\n }, genKey(`${index}`));\n }\n });\n return /*#__PURE__*/ jsx(Price, {\n className: className,\n $size: priceLenghtWithoutCurrency,\n children: priceFormatted\n });\n};\n\nexport { PriceWithCurrency as default };\n//# sourceMappingURL=index.mjs.map\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.mjs';\nimport partnershipsPriceModalStyles from './styles/partnerships.mjs';\nimport liverpoolPriceModalStyles from './styles/partnershipsLiverpool.mjs';\nimport smyPriceModalStyles from './styles/smy.mjs';\nimport veciPriceModalStyles from './styles/veci.mjs';\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.mjs';\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.mjs';\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.mjs';\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 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';\n\nconst ModalWrapper = /*#__PURE__*/ styled(Modal).withConfig({\n displayName: \"ModalWrapper\"\n})([\n `overflow-y:auto;padding-bottom:10px;--color-gray:`,\n `;`\n], ({ theme })=>theme.colors.grays.lighter);\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], FontMixin({\n size: 'base',\n weight: 'medium',\n height: 'base'\n}));\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], FlexMixin({\n direction: 'column'\n}), ({ theme })=>theme.colors.grays.light);\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], ({ theme })=>theme.colors.grays.light, FontMixin({\n size: 'small',\n weight: 'regular',\n height: 'small'\n}), ({ theme })=>theme.colors.grays.dark);\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.mjs';\nimport { REPLACE_DESTINATION, ImageResize } from '../../../utils/constants.mjs';\nimport CardTransport from './card-transport/index.mjs';\nimport PriceModal from './price-modal/index.mjs';\nimport { ModalWrapper, Body, Info, InfoImage, InfoHead, AccordionWrapper, AccordionItem, AccordionHotelTitle, AccordionContent, Searcher, Footer } from './styled.mjs';\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 Title from '@babylon/ui-kit-base/components/text/title/views/mobile';\nimport { TabsStyled } from '@babylon/ui-kit-structures/components/others/tabs/styled';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin, Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst TitleLinks = /*#__PURE__*/ styled(Title).withConfig({\n displayName: \"TitleLinks\"\n})([\n ``,\n ` padding:0 16px;text-align:center;`\n], Margin({\n bottom: '12px'\n}));\nconst LinksWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"LinksWrapper\"\n})([\n ``,\n `{background-color:transparent;border-radius:0;box-shadow:none;}`\n], TabsStyled);\nconst TabsWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TabsWrapper\"\n})([\n ``,\n ` `,\n ``\n], FlexMixin({\n wrap: true,\n justify: 'flex-start'\n}), Padding({\n all: '20px'\n}));\nconst LinkSeo = /*#__PURE__*/ styled.a.withConfig({\n displayName: \"LinkSeo\"\n})([\n ``,\n ` `,\n ` background-color:`,\n `;border-radius:4px;color:`,\n `;`,\n ` padding:4px 12px;text-decoration:none;`\n], FlexMixin({}), FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'large'\n}), (props)=>props.theme.colors.grays.light, (props)=>props.theme.colors.grays.dark, Margin({\n all: '4px'\n}));\nconst Description = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Description\"\n})([\n ``,\n ` `,\n ` `,\n ` color:`,\n `;`\n], FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'base'\n}), Margin({\n bottom: '4px'\n}), Padding({\n left: '20px',\n right: '20px'\n}), ({ theme })=>theme.colors.grays.darker);\n\nexport { Description, LinkSeo, LinksWrapper, TabsWrapper, TitleLinks };\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport InnerMarkdownHTML from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport Tabs from '@babylon/ui-kit-structures/components/others/tabs/views/mobile';\nimport Tags from '@babylon/ui-kit-structures/components/others/tags/views/mobile';\nimport { useState, Children } from 'react';\nimport { TabsWrapper, TitleLinks, Description, LinksWrapper } from './styled.mjs';\n\nconst LinksSEOMobile = ({ props })=>{\n const { items = [] } = props ?? {};\n const [selectedTab, setSelectedTab] = useState(0);\n const linksTabs = items.map((item, index)=>{\n const { items } = item;\n const props = {\n items\n };\n return {\n label: item.title,\n index,\n element: /*#__PURE__*/ jsx(TabsWrapper, {\n \"data-testid\": \"tab\",\n children: Children.toArray(/*#__PURE__*/ jsx(Tags, {\n ...props,\n className: 'is-single'\n }))\n })\n };\n });\n if (!items.length) return null;\n return items.length > 0 && /*#__PURE__*/ jsxs(\"div\", {\n \"data-testid\": \"LinksSeo\",\n children: [\n /*#__PURE__*/ jsx(TitleLinks, {\n ...props.title\n }),\n props.description && /*#__PURE__*/ jsx(Description, {\n children: /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: props.description.content\n })\n }),\n items.length === 1 ? /*#__PURE__*/ jsx(Tags, {\n items: items[0].items,\n className: 'is-single'\n }) : /*#__PURE__*/ jsx(LinksWrapper, {\n children: /*#__PURE__*/ jsx(Tabs, {\n selectedTab: selectedTab,\n onClick: setSelectedTab,\n tabs: linksTabs\n })\n })\n ]\n });\n};\n\nexport { LinksSEOMobile as default };\n"],"file":"cdn-placeholder/babylon/logitravel-flights/client/chunks/index.CVJVhPHj.js"}