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,EACd,SAAUiB,CAC1B,CAAa,EACD,OAAQ7G,GAAA,MAAAA,EAAU,YAAcyM,EAAe,MAC3D,GAAY,CACJC,EACA7F,EACA9C,EACAC,EACA2C,EACAC,EACArB,EACAK,EACA5F,EACAyM,EACA5G,CACR,CAAK,EACKgP,EAAexR,UAAQ,KAAK,CAC1B,QAASuR,CACrB,GAAY,CACJA,CACR,CAAK,EACD,OAAqBtU,MAAImU,GAAmB,CACxC,cAAe,aACf,UAAWjU,GAAA,YAAAA,EAAO,UAClB,SAAwBF,EAAG,IAACwU,GAAmB,CAC3C,IAAKjI,EACL,WAAY3B,EACZ,MAAO4B,EACP,aAAc+H,CACjB,EACT,CAAK,CACL,CAAC,EACDF,GAAkB,YAAc,oBAC3B,MAACI,GAAyBvU,GAAQ,CACnC,MAAM0M,EAAapE,GAAkBtI,CAAK,EAC1C,OAAqBF,MAAIqU,GAAmB,CACxC,GAAGzH,CACX,CAAK,CACL","names":["SearcherActivitiesProvider","useSearcherActivitiesProps","createPropsProvider","useButton","config","literals","useValue","SearcherButton","styled","SearcherButtonMobile","SearcherActivitiesButtonMobile","jsx","useSearcherActivitiesDefaultValues","props","getValidAutocomplete","useContext","contextBabylon","getValidDates","addDays","_a","_","index","_c","_b","useCalendarInput","rangeLimit","onModal","calendarLabel","Language","datesValue","required","prev","i","formatDateWithoutLocale","subDays","useCalendarInputMobile","startDate","endDate","maxDate","minDate","acceptLabel","startDateLabel","endDateLabel","useSearcherDatesRangeMobile","SearcherActivitiesCalendarInputMobile","FormCalendarMobile","useDestinationInput","destination","disableDestination","types","destinationLabel","useSearcherAutocompleteDestination","useDestinationInputMobile","destinationModalLabel","SearcherActivitiesDestinationInputMobile","FormAutocompleteModal","usePassengersRow","passenger","useMemo","defaultSelectedOption","getDefaultOption","finalSelectedOptions","Row","theme","PassengersRowDesktop","label","info","description","columns","disableIncrement","onChange","onSelectChange","selectedOptions","select","PersonCounterDesktop","PassengersRowMobile","ageLabel","labelForEachOption","PersonCounterMobile","PassengersRow","generateViewsComponent","Info","rgba","FlexMixin","FontMixin","Border","$variant","css","Margin","InfoIcon","Icon","PassengersContentDesktop","infoText","variant","icon","jsxs","useValidateMinAdults","infoValidate","value","infoValidateError","setInfoValidateError","useState","useEffect","validate","error","Content","$fullWidth","ExtraInfo","ContentHeader","ContentHeaderTitle","ContentHeaderDescription","PassengersContentMobile","handleOnChange","handleOnSelectChange","children","infoMessage","setValidationError","passengersTitle","passengersDescription","passengerInfoAdultsLabel","adultLabel","adultsLabel","adultsDescription","childLabel","childrenLabel","childrenDescription","passengerInfoChildrenLabel","babyLabel","babiesLabel","babiesDescription","passengerInfoBabiesLabel","majorLabel","majorsLabel","majorsDescription","passengerInfoMajorsLabel","youthLabel","youngDescription","passengerInfoYoungLabel","seniorLabel","seniorDescription","passengerInfoSeniorLabel","umnrLabel","umnrDescription","passengerInfoUmnrLabel","Fragment","Children","child","useFormPassengers","_isHiddenRequired","rest","field","hasError","useInput","liverpoolInputPanelFooterStyles","Button","Padding","inputPanelFooterThemes","createThemes","ThemeId","Footer","PassengersFooterDesktop","onClick","ageAtTravelTimeLabel","PassengersFooterMobile","validationError","ButtonPanel","PassengersFooter","checkIfMustUpdateSelectedOptions","updateSelectedOptions","passengerKeys","key","newValue","cloneDeep","passengerKey","MAX_PEOPLE","applyVeciRestrictionsInNewValue","newCombinedValue","usePassengers","disabled","onBlur","Application","ClientApplication","isEqual","inputProps","transformPassengersValueToText","useCallback","valueKey","newValueNumber","selectedOptionIndex","newValueObject","_d","_e","_f","_g","a","b","usePassengersMobile","passengersLabel","isOpen","setOpen","tempValue","setTempValue","React","finalValue","onAccept","close","renderFooter","basePanel","PassengersMobile","forwardRef","ref","panel","modalProps","InputPanelMobile","FormPassengersMobile","finalProps","baseSlice","array","start","end","length","result","_baseSlice","require$$0","castSlice","_castSlice","rsAstralRange","rsComboMarksRange","reComboHalfMarksRange","rsComboSymbolsRange","rsComboRange","rsVarRange","rsZWJ","reHasUnicode","hasUnicode","string","_hasUnicode","asciiToArray","_asciiToArray","rsAstral","rsCombo","rsFitz","rsModifier","rsNonAstral","rsRegional","rsSurrPair","reOptMod","rsOptVar","rsOptJoin","rsSeq","rsSymbol","reUnicode","unicodeToArray","_unicodeToArray","require$$1","require$$2","stringToArray","_stringToArray","toString","require$$3","createCaseFirst","methodName","strSymbols","chr","trailing","_createCaseFirst","upperFirst","upperFirst_1","capitalize","capitalize_1","usePassengersInput","passengers","_capitalize","requiredPassengersMinPeople","SearcherActivitiesPassengersInputMobile","buildDestination","type","splitValue","provider","buildCalendar","dates","buildPassengers","options","selectedOption","buildUrl","baseUrl","values","testToken","filters","parseFilters","useSearcherActivitiesForm","BaseUrl","urlResults","urlDetail","isRedirecting","onSubmit","useSubmitWithRedirect","results","getUrlWithDomain","detail","finalUrl","SearcherActivitiesRedirectingModal","lazy","__vitePreload","SearcherActivitiesForm","rootProps","defaultValues","Form","Suspense","useShowButton","showButtonByDefault","destinationChanged","useValueChanged","datesChanged","passengersChanged","SearcherActivitiesMobileView","showDestination","showButton","Searcher","SearcherItem","SearcherActivitiesMobile","passengerDescriptionAdultsLabel","passengerDescriptionChildrenLabel","passengerDescriptionBabiesLabel","passengerDescriptionMajorsLabel","passengerDescriptionYoungLabel","passengerDescriptionSeniorLabel","passengerDescriptionUmnrLabel","PassengersContentDesktop$1","usePassengersDesktop","passengerTitleLabel","hasSelects","veciPassengersStyles","passengersThemes","PassengersWrapper","TooltipBox","PassengersDesktop","tooltipOptions","tooltipProps","InputPanelDesktop","FormPassengersDesktop"],"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],"sources":["../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/context/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/button/hooks/useButton.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/button/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/button/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/hooks/useSearcherActivitiesDefaultValues.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/calendar-input/hooks/useCalendarInput.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/calendar-input/views/mobile/hooks/useCalendarInput.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/calendar-input/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/destination-input/hooks/useDestinationInput.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/destination-input/views/mobile/hooks/useDestinationInput.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/destination-input/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/row/hook/usePassengersRow.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/row/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/row/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/row/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/row/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/content/components/info-text/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/content/components/info-text/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/content/hooks/useValidateMinAdults.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/content/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/content/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/hooks/useFormPassengers.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/footer/views/desktop/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/footer/views/desktop/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/footer/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/footer/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/footer/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/footer/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/utils.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/hooks/usePassengers.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/hooks/usePassengersMobile.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/variants/simple/views/mobile/index.js","../../../../../../../node_modules/lodash/_baseSlice.js","../../../../../../../node_modules/lodash/_castSlice.js","../../../../../../../node_modules/lodash/_hasUnicode.js","../../../../../../../node_modules/lodash/_asciiToArray.js","../../../../../../../node_modules/lodash/_unicodeToArray.js","../../../../../../../node_modules/lodash/_stringToArray.js","../../../../../../../node_modules/lodash/_createCaseFirst.js","../../../../../../../node_modules/lodash/upperFirst.js","../../../../../../../node_modules/lodash/capitalize.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/passengers-input/views/mobile/hooks/usePassengersInput.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/passengers-input/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/utils/url.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/hooks/useSearcherActivitiesForm.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/components/searcher-form/index.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/hooks/useShowButton.js","../../../../../../../node_modules/@babylon/ui-kit-searchers/components/searchers/searcher-activities/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/content/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/components/content/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/hooks/usePassengersDesktop.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/variants/simple/views/desktop/themes/styles/veci.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/variants/simple/views/desktop/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/variants/simple/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/passengers/variants/simple/views/desktop/index.js"],"sourcesContent":["import { createPropsProvider } from '@babylon/ui-kit-helpers/context';\n\nconst { Provider: SearcherActivitiesProvider, useContextProps: useSearcherActivitiesProps } = createPropsProvider();\n\nexport { SearcherActivitiesProvider, useSearcherActivitiesProps };\n//# sourceMappingURL=index.js.map\n","import useValue from '@babylon/ui-kit-forms/hooks/useValue';\nimport { useSearcherActivitiesProps } from '../../../context/index.js';\n\nconst useButton = ()=>{\n const { config } = useSearcherActivitiesProps();\n const { literals } = config ?? {};\n return {\n disabled: !useValue({\n name: 'destination'\n }),\n literals\n };\n};\n\nexport { useButton as default };\n//# sourceMappingURL=useButton.js.map\n","import SearcherButtonMobile from '../../../../../../others/searcher/searcher-button/views/mobile/index.js';\nimport styled from 'styled-components';\n\nconst SearcherButton = /*#__PURE__*/ styled(SearcherButtonMobile).withConfig({\n displayName: \"SearcherButton\"\n})([\n `button{min-width:120px;max-width:120px;}`\n]);\n\nexport { SearcherButton };\n//# sourceMappingURL=styled.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport useButton from '../../hooks/useButton.js';\nimport { SearcherButton } from './styled.js';\n\nconst SearcherActivitiesButtonMobile = ()=>/*#__PURE__*/ jsx(SearcherButton, {\n ...useButton()\n });\n\nexport { SearcherActivitiesButtonMobile as default };\n//# sourceMappingURL=index.js.map\n","import contextBabylon from '@babylon/ui-kit-context';\nimport { getValidAutocomplete } from '@babylon/ui-kit-forms/helpers/autocomplete';\nimport { getValidDates, addDays } from '@babylon/ui-kit-helpers/date';\nimport { useContext } from 'react';\n\nconst useSearcherActivitiesDefaultValues = (props)=>({\n destination: getValidAutocomplete(useContext(contextBabylon).Market, props?.destination),\n calendar: getValidDates(addDays(new Date(), 7), addDays(new Date(), 10), props),\n passengers: {\n adults: {\n min: 1,\n max: 9,\n value: props?.passengers?.length ?? 1,\n selectedOptions: props?.passengers ?? [\n 30\n ],\n options: [\n ...new Array(100)\n ].map((_, index)=>({\n label: index.toString(),\n value: index,\n selected: index === 30\n })),\n optionsLabel: props?.config?.literals?.ageAtTravelTimeLabel\n }\n }\n });\n\nexport { useSearcherActivitiesDefaultValues as default };\n//# sourceMappingURL=useSearcherActivitiesDefaultValues.js.map\n","import contextBabylon from '@babylon/ui-kit-context';\nimport { required } from '@babylon/ui-kit-forms/helpers/validate';\nimport useValue from '@babylon/ui-kit-forms/hooks/useValue';\nimport { formatDateWithoutLocale, addDays, subDays } from '@babylon/ui-kit-helpers/date';\nimport { useContext } from 'react';\nimport { useSearcherActivitiesProps } from '../../../context/index.js';\nimport useSearcherActivitiesDefaultValues from '../../../hooks/useSearcherActivitiesDefaultValues.js';\n\nconst useCalendarInput = ()=>{\n const props = useSearcherActivitiesProps();\n const { config, rangeLimit = 15 } = props;\n const { literals, onModal } = config ?? {};\n const { calendarLabel = '' } = literals ?? {};\n const { Language = 'default' } = useContext(contextBabylon);\n const datesValue = useValue({\n name: 'dates'\n });\n return {\n name: 'dates',\n defaultValue: useSearcherActivitiesDefaultValues(props).calendar,\n minDate: props?.minDate ?? 'today',\n maxDate: props?.maxDate,\n validate: required(),\n locale: Language.toLowerCase(),\n monthSelectorType: 'static',\n label: calendarLabel,\n checkOut: datesValue?.length === 1 ? Array(rangeLimit + 1).fill(0).reduce((prev, _, i)=>{\n prev.push(formatDateWithoutLocale(addDays(datesValue[0], i), 'YYYY-MM-DD'));\n prev.push(formatDateWithoutLocale(subDays(datesValue[0], i), 'YYYY-MM-DD'));\n return prev;\n }, []) : [],\n tooltipOptions: {\n strategy: onModal ? 'fixed' : undefined\n }\n };\n};\n\nexport { useCalendarInput as default };\n//# sourceMappingURL=useCalendarInput.js.map\n","import { useSearcherDatesRangeMobile } from '../../../../../../../../hooks/inputs/useSearcherDates.js';\nimport { useSearcherActivitiesProps } from '../../../../../context/index.js';\nimport useCalendarInput from '../../../hooks/useCalendarInput.js';\n\nconst useCalendarInputMobile = ()=>{\n const { config, startDate, endDate, maxDate, minDate } = useSearcherActivitiesProps();\n const { literals } = config ?? {};\n const { acceptLabel = '', startDateLabel = '', endDateLabel = '', calendarLabel = '' } = literals ?? {};\n return useSearcherDatesRangeMobile({\n ...useCalendarInput(),\n modalTitle: calendarLabel,\n modalConfirm: acceptLabel,\n startDateLabel: startDateLabel,\n endDateLabel: endDateLabel\n }, {\n startDate,\n endDate,\n maxDate,\n minDate\n });\n};\n\nexport { useCalendarInputMobile as default };\n//# sourceMappingURL=useCalendarInput.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport { FormCalendarMobile } from '@babylon/ui-kit-forms/components/inputs/calendar/views/mobile';\nimport useCalendarInputMobile from './hooks/useCalendarInput.js';\n\nconst SearcherActivitiesCalendarInputMobile = ()=>/*#__PURE__*/ jsx(FormCalendarMobile, {\n ...useCalendarInputMobile()\n });\n\nexport { SearcherActivitiesCalendarInputMobile as default };\n//# sourceMappingURL=index.js.map\n","import { required } from '@babylon/ui-kit-forms/helpers/validate';\nimport { useSearcherAutocompleteDestination } from '../../../../../../hooks/inputs/useSearcherAutocomplete.js';\nimport { useSearcherActivitiesProps } from '../../../context/index.js';\nimport useSearcherActivitiesDefaultValues from '../../../hooks/useSearcherActivitiesDefaultValues.js';\n\nconst useDestinationInput = ()=>{\n const props = useSearcherActivitiesProps();\n const { config, destination, disableDestination = false, types = [] } = props;\n const { literals } = config ?? {};\n const { destinationLabel = '' } = literals ?? {};\n return useSearcherAutocompleteDestination({\n validate: required(),\n label: destinationLabel,\n defaultValue: useSearcherActivitiesDefaultValues(props).destination,\n disabled: disableDestination,\n literals,\n queryParams: destination?.queryParams\n }, {\n ...destination,\n types\n });\n};\n\nexport { useDestinationInput as default };\n//# sourceMappingURL=useDestinationInput.js.map\n","import { useSearcherActivitiesProps } from '../../../../../context/index.js';\nimport useDestinationInput from '../../../hooks/useDestinationInput.js';\n\nconst useDestinationInputMobile = ()=>{\n const props = useSearcherActivitiesProps();\n const { config } = props;\n const { literals } = config ?? {};\n const { destinationModalLabel = '' } = literals ?? {};\n return {\n ...useDestinationInput(),\n literals: {\n ...literals,\n modalTitle: destinationModalLabel\n }\n };\n};\n\nexport { useDestinationInputMobile as default };\n//# sourceMappingURL=useDestinationInput.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport { FormAutocompleteModal } from '@babylon/ui-kit-forms/components/inputs/autocomplete-modal';\nimport useDestinationInputMobile from './hooks/useDestinationInput.js';\n\nconst SearcherActivitiesDestinationInputMobile = ()=>/*#__PURE__*/ jsx(FormAutocompleteModal, {\n ...useDestinationInputMobile()\n });\n\nexport { SearcherActivitiesDestinationInputMobile as default };\n//# sourceMappingURL=index.js.map\n","import { getDefaultOption } from '../../../../../../helpers/select.js';\nimport { useMemo } from 'react';\n\nconst usePassengersRow = (props)=>{\n const { passenger } = props;\n const selectedOptions = useMemo(()=>{\n if (passenger.selectedOptions) {\n return passenger.selectedOptions;\n }\n if (passenger.options) {\n const defaultSelectedOption = getDefaultOption(passenger.options);\n const finalSelectedOptions = [];\n for(let i = 0; i < passenger.value; i++){\n finalSelectedOptions.push(defaultSelectedOption?.value);\n }\n return finalSelectedOptions;\n }\n return [];\n }, [\n passenger.options,\n passenger.selectedOptions,\n passenger.value\n ]);\n return {\n selectedOptions\n };\n};\n\nexport { usePassengersRow as default };\n//# sourceMappingURL=usePassengersRow.js.map\n","import styled from 'styled-components';\n\nconst Row = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Row\"\n})([\n `padding:16px 0;& + &{border-top:1px solid `,\n `;}`\n], ({ theme })=>theme.colors.grays.light);\n\nexport { Row };\n//# sourceMappingURL=styled.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport PersonCounterDesktop from '../../../../../../others/person-counter/views/desktop/index.js';\nimport { useMemo } from 'react';\nimport usePassengersRow from '../../hook/usePassengersRow.js';\nimport { Row } from './styled.js';\n\nconst PassengersRowDesktop = (props)=>{\n const { passenger, label, info, description, columns, disableIncrement, onChange, onSelectChange } = props;\n const { selectedOptions } = usePassengersRow(props);\n const select = useMemo(()=>({\n label: passenger.optionsLabel,\n columns,\n options: passenger.options,\n onChange: onSelectChange\n }), [\n columns,\n onSelectChange,\n passenger.options,\n passenger.optionsLabel\n ]);\n return /*#__PURE__*/ jsx(Row, {\n \"data-testid\": \"PassengersRow\",\n className: \"passanger-row\",\n children: /*#__PURE__*/ jsx(PersonCounterDesktop, {\n description: description || passenger.description,\n disableIncrement: disableIncrement,\n info: info,\n label: label,\n labelVariant: \"horizontal\",\n max: passenger.max,\n min: passenger.min,\n onChange: onChange,\n select: select,\n selectedOptions: selectedOptions,\n tooltip: passenger.tooltip,\n value: passenger.value,\n variant: \"horizontal\"\n })\n });\n};\n\nexport { PassengersRowDesktop as default };\n//# sourceMappingURL=index.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport PersonCounterMobile from '../../../../../../others/person-counter/views/mobile/index.js';\nimport { useMemo } from 'react';\nimport usePassengersRow from '../../hook/usePassengersRow.js';\n\nconst PassengersRowMobile = (props)=>{\n const { passenger, label = '', ageLabel = '', info, description = '', labelForEachOption = '', disableIncrement, onChange, onSelectChange } = props;\n const { selectedOptions } = usePassengersRow(props);\n const select = useMemo(()=>({\n label: passenger.optionsLabel,\n options: passenger.options,\n onChange: onSelectChange\n }), [\n onSelectChange,\n passenger.options,\n passenger.optionsLabel\n ]);\n return /*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"PassengersRow\",\n className: \"passanger-row-mobile\",\n children: /*#__PURE__*/ jsx(PersonCounterMobile, {\n label: label,\n description: description || passenger.description,\n info: info,\n min: passenger.min,\n max: passenger.max,\n tooltip: passenger.tooltip,\n value: passenger.value,\n onChange: onChange,\n labelForEachOption: labelForEachOption,\n selectedOptions: selectedOptions,\n select: select,\n disableIncrement: disableIncrement,\n ageLabel: ageLabel\n })\n });\n};\n\nexport { PassengersRowMobile as default };\n//# sourceMappingURL=index.js.map\n","import { generateViewsComponent } from '@babylon/ui-kit-helpers/views';\nimport PassengersRowDesktop from './views/desktop/index.js';\nimport PassengersRowMobile from './views/mobile/index.js';\n\nconst PassengersRow = generateViewsComponent(PassengersRowDesktop, PassengersRowMobile);\n\nexport { PassengersRow as default };\n//# sourceMappingURL=index.js.map\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Border, Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { rgba } from 'polished';\nimport styled, { css } from 'styled-components';\n\nconst Info = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Info\"\n})([\n `--color:`,\n `;--border-color:`,\n `;--background-color:`,\n `;`,\n ` `,\n ` gap:12px;padding:12px;color:var(--color);`,\n ` `,\n ` background-color:var(--background-color);`,\n ``\n], ({ theme })=>theme.colors.primary.light, ({ theme })=>theme.colors.primary.lightest, ({ theme })=>rgba(theme.colors.primary.lightest, 0.56), FlexMixin(), FontMixin({\n size: 'medium',\n height: 'base',\n weight: 'light'\n}), Border({\n top: `1px solid var(--border-color)`\n}), Border({\n bottom: `1px solid var(--border-color)`\n}), ({ $variant })=>$variant === 'error' ? /*#__PURE__*/ css([\n `--color:`,\n `;--border-color:`,\n `;--background-color:`,\n `;`,\n ` `,\n ` `,\n `{`,\n `}`\n ], ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.status.error, ({ theme })=>theme.colors.status.error, FlexMixin({\n align: 'center'\n }), Margin({\n bottom: '16px'\n }), ({ theme })=>theme.media.tabletPortrait.up, Margin({\n bottom: '0'\n })) : '');\nconst InfoIcon = /*#__PURE__*/ styled(Icon).withConfig({\n displayName: \"InfoIcon\"\n})([\n `--color:`,\n `;font-size:28px;color:var(--color);`,\n ``\n], ({ theme })=>theme.colors.primary.light, ({ $variant })=>$variant === 'error' ? /*#__PURE__*/ css([\n `--color:`,\n `;`\n ], ({ theme })=>theme.colors.white.base) : '');\n\nexport { Info, InfoIcon };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport { Info, InfoIcon } from './styled.js';\n\nconst PassengersContentDesktop = ({ infoText, variant = 'info', icon = 'info' })=>/*#__PURE__*/ jsxs(Info, {\n $variant: variant,\n \"data-testid\": \"InfoText\",\n children: [\n /*#__PURE__*/ jsx(InfoIcon, {\n className: `nico-${icon}`,\n $variant: variant\n }),\n infoText\n ]\n });\n\nexport { PassengersContentDesktop as default };\n//# sourceMappingURL=index.js.map\n","import { useState, useEffect } from 'react';\n\nconst useValidateMinAdults = (infoValidate, value)=>{\n const [infoValidateError, setInfoValidateError] = useState();\n useEffect(()=>{\n const getInfoValidateError = async ()=>{\n if (!infoValidate) return;\n if (Array.isArray(infoValidate)) {\n for (const validate of infoValidate){\n const error = await validate(value, {});\n if (error) return error;\n }\n return;\n }\n const error = await infoValidate(value, {});\n if (error) return error;\n };\n getInfoValidateError().then((error)=>{\n if (!error || typeof error === 'string') return setInfoValidateError(error);\n setInfoValidateError('message' in error ? error.message : error);\n }).catch(console.error);\n }, [\n infoValidate,\n value\n ]);\n return {\n infoValidateError\n };\n};\n\nexport { useValidateMinAdults as default };\n//# sourceMappingURL=useValidateMinAdults.js.map\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { FontMixin, FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Border } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { rgba } from 'polished';\nimport styled from 'styled-components';\n\nconst Content = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Content\"\n})([\n `padding:`,\n `;border-bottom:2px solid `,\n `;&:first-child{margin-top:12px;}&:not(:last-child){margin-bottom:12px;}&:last-child{border-bottom:none;}`\n], ({ $fullWidth })=>$fullWidth ? '0' : '0px 16px 8px', ({ theme })=>theme.colors.primary.light);\nconst ExtraInfo = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ExtraInfo\"\n})([\n ``,\n ` line-height:18px;color:`,\n `;background-color:`,\n `;padding:13px 50px 11px 12px;border-bottom:1px solid `,\n `;border-top:1px solid `,\n `;`\n], FontMixin({\n size: 'medium',\n weight: 'regular'\n}), ({ theme })=>theme.colors.text, ({ theme })=>theme.colors.primary.lightestL, ({ theme })=>theme.border.color.light, ({ theme })=>theme.border.color.light);\nconst ContentHeader = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ContentHeader\"\n})([\n ``,\n ` gap:8px;margin-bottom:8px;`\n], FlexMixin({\n align: 'flex-end',\n justify: 'space-between'\n}));\nconst ContentHeaderTitle = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"ContentHeaderTitle\"\n})([\n ``,\n ` color:`,\n `;`\n], FontMixin({\n size: 'large',\n height: 'large',\n weight: 'medium'\n}), ({ theme })=>theme.colors.grays.darker);\nconst ContentHeaderDescription = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"ContentHeaderDescription\"\n})([\n ``,\n ` color:`,\n `;`\n], FontMixin({\n size: 'small',\n height: 'small',\n weight: 'light'\n}), ({ theme })=>theme.colors.grays.dark);\nconst InfoMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"InfoMobile\"\n})([\n ``,\n ` `,\n ` gap:12px;padding:12px;color:`,\n `;`,\n ` `,\n ` background-color:`,\n `;`\n], FlexMixin(), FontMixin({\n size: 'medium',\n height: 'base',\n weight: 'light'\n}), ({ theme })=>theme.colors.text, ({ theme })=>Border({\n top: `1px solid ${theme.colors.primary.lightest}`\n }), ({ theme })=>Border({\n bottom: `1px solid ${theme.colors.primary.lightest}`\n }), ({ theme })=>rgba(theme.colors.primary.lightest, 0.56));\nconst InfoIconMobile = /*#__PURE__*/ styled(Icon).withConfig({\n displayName: \"InfoIconMobile\"\n})([\n `font-size:28px;color:`,\n `;`\n], ({ theme })=>theme.colors.primary.light);\n\nexport { Content, ContentHeader, ContentHeaderDescription, ContentHeaderTitle, ExtraInfo, InfoIconMobile, InfoMobile };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, Fragment, jsx } from 'react/jsx-runtime';\nimport { useEffect, Children } from 'react';\nimport PassengersRow from '../../../row/index.js';\nimport PassengersContentDesktop from '../../components/info-text/index.js';\nimport useValidateMinAdults from '../../hooks/useValidateMinAdults.js';\nimport { Content, ContentHeader, ContentHeaderTitle, ContentHeaderDescription, ExtraInfo } from './styled.js';\n\nconst PassengersContentMobile = (props)=>{\n const { value, literals, disableIncrement, handleOnChange, handleOnSelectChange, children, infoValidate, infoMessage, setValidationError } = props;\n const { passengersTitle = '', passengersDescription = '', passengerInfoAdultsLabel = '', adultLabel = '', adultsLabel = '', adultsDescription = '', childLabel = '', childrenLabel = '', childrenDescription = '', passengerInfoChildrenLabel = '', babyLabel = '', babiesLabel = '', babiesDescription = '', passengerInfoBabiesLabel = '', majorLabel = '', majorsLabel = '', majorsDescription = '', passengerInfoMajorsLabel = '', youthLabel = '', youngDescription = '', passengerInfoYoungLabel = '', seniorLabel = '', seniorDescription = '', passengerInfoSeniorLabel = '', umnrLabel = '', umnrDescription = '', passengerInfoUmnrLabel = '', ageLabel = '' } = literals ?? {};\n const { infoValidateError } = useValidateMinAdults(infoValidate, value);\n useEffect(()=>{\n setValidationError?.(!!infoValidateError);\n }, [\n infoValidateError,\n setValidationError\n ]);\n return /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsxs(\"div\", {\n \"data-testid\": \"PassengersContent\",\n children: [\n infoValidateError && /*#__PURE__*/ jsx(PassengersContentDesktop, {\n variant: \"error\",\n icon: \"exclamation\",\n infoText: infoValidateError\n }),\n /*#__PURE__*/ jsxs(Content, {\n children: [\n /*#__PURE__*/ jsxs(ContentHeader, {\n children: [\n /*#__PURE__*/ jsx(ContentHeaderTitle, {\n children: passengersTitle\n }),\n /*#__PURE__*/ jsx(ContentHeaderDescription, {\n children: passengersDescription\n })\n ]\n }),\n value?.senior && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.senior,\n label: seniorLabel,\n description: value.senior.description ?? seniorDescription,\n info: passengerInfoSeniorLabel,\n onChange: handleOnChange('senior'),\n onSelectChange: handleOnSelectChange('senior'),\n disableIncrement: disableIncrement\n }),\n value?.adults && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.adults,\n label: adultsLabel,\n description: adultsDescription,\n info: passengerInfoAdultsLabel,\n labelForEachOption: `${adultLabel} #number#`,\n onChange: handleOnChange('adults'),\n onSelectChange: handleOnSelectChange('adults'),\n disableIncrement: disableIncrement\n }),\n value?.children && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.children,\n label: childrenLabel,\n ageLabel: ageLabel,\n description: childrenDescription,\n info: passengerInfoChildrenLabel,\n labelForEachOption: `${childLabel} #number#`,\n onChange: handleOnChange('children'),\n onSelectChange: handleOnSelectChange('children'),\n disableIncrement: disableIncrement\n }),\n value?.babies && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.babies,\n label: babiesLabel,\n description: babiesDescription,\n info: passengerInfoBabiesLabel,\n labelForEachOption: `${babyLabel} #number#`,\n onChange: handleOnChange('babies'),\n onSelectChange: handleOnSelectChange('babies'),\n disableIncrement: disableIncrement\n }),\n value?.majors && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.majors,\n label: majorsLabel,\n description: majorsDescription,\n info: passengerInfoMajorsLabel,\n labelForEachOption: `${majorLabel} #number#`,\n onChange: handleOnChange('majors'),\n onSelectChange: handleOnSelectChange('majors'),\n disableIncrement: disableIncrement\n }),\n value?.young && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.young,\n label: youthLabel,\n description: value.young.description ?? youngDescription,\n info: passengerInfoYoungLabel,\n onChange: handleOnChange('young'),\n onSelectChange: handleOnSelectChange('young'),\n disableIncrement: disableIncrement\n }),\n value?.umnr && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.umnr,\n label: umnrLabel,\n description: value.umnr.description ?? umnrDescription,\n info: passengerInfoUmnrLabel,\n onChange: handleOnChange('umnr'),\n onSelectChange: handleOnSelectChange('umnr'),\n disableIncrement: disableIncrement\n })\n ]\n }),\n value?.extraInfo && /*#__PURE__*/ jsx(ExtraInfo, {\n className: \"extra-info\",\n children: value.extraInfo\n }),\n children && Children.map(children, (child)=>child && /*#__PURE__*/ jsx(Content, {\n $fullWidth: true,\n children: child\n }))\n ]\n }),\n infoMessage && /*#__PURE__*/ jsx(PassengersContentDesktop, {\n infoText: infoMessage\n })\n ]\n });\n};\n\nexport { PassengersContentMobile as default };\n//# sourceMappingURL=index.js.map\n","import { useInput } from '../../../../hooks/useInput/index.js';\n\nconst useFormPassengers = (props)=>{\n const { isHiddenRequired: _isHiddenRequired, ...rest } = props;\n const { field, label, error, hasError } = useInput(props);\n return {\n ...rest,\n ...field,\n label,\n hasError,\n error\n };\n};\n\nexport { useFormPassengers as default };\n//# sourceMappingURL=useFormPassengers.js.map\n","import { Button } from '@babylon/ui-kit-base/components/buttons/button';\nimport { Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst liverpoolInputPanelFooterStyles = {\n Footer: ()=>/*#__PURE__*/ css([\n ``,\n `{max-height:unset;line-height:normal;height:auto;`,\n ` &:hover{background-color:`,\n `;}}`\n ], Button, Padding({\n all: '16px'\n }), ({ theme })=>theme.colors.secondary.light)\n};\n\nexport { liverpoolInputPanelFooterStyles as default };\n//# sourceMappingURL=liverpool.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport liverpoolInputPanelFooterStyles from './styles/liverpool.js';\n\nconst inputPanelFooterThemes = createThemes({\n [ThemeId.partnershipsLiverpool]: liverpoolInputPanelFooterStyles\n});\n\nexport { inputPanelFooterThemes as default };\n//# sourceMappingURL=index.js.map\n","import { FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\nimport inputPanelFooterThemes from './themes/index.js';\n\nconst Footer = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Footer\"\n})([\n ``,\n ` gap:8px;`,\n ``\n], FlexMixin({\n align: 'center',\n justify: 'space-between'\n}), inputPanelFooterThemes('Footer'));\n\nexport { Footer };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport { Button } from '@babylon/ui-kit-base/components/buttons/button';\nimport { Footer } from './styled.js';\n\nconst PassengersFooterDesktop = (props)=>{\n const { literals, onClick } = props;\n const { ageAtTravelTimeLabel = '', acceptLabel = '' } = literals ?? {};\n if (!ageAtTravelTimeLabel && !acceptLabel) return null;\n return /*#__PURE__*/ jsxs(Footer, {\n \"data-testid\": \"PassengersFooter\",\n className: \"passengers-footer\",\n children: [\n /*#__PURE__*/ jsx(\"div\", {\n className: \"passengers-footer-text\",\n children: ageAtTravelTimeLabel\n }),\n acceptLabel && /*#__PURE__*/ jsx(Button, {\n variant: \"primary\",\n size: \"small\",\n onClick: onClick,\n children: acceptLabel\n })\n ]\n });\n};\n\nexport { PassengersFooterDesktop as default };\n//# sourceMappingURL=index.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport { ButtonPanel } from '@babylon/ui-kit-base/components/buttons/button';\n\nconst PassengersFooterMobile = (props)=>{\n const { literals, onClick, validationError } = props;\n const { acceptLabel = '' } = literals ?? {};\n if (!acceptLabel) return null;\n return /*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"PassengersFooter\",\n className: \"passengers-footer\",\n children: /*#__PURE__*/ jsx(ButtonPanel, {\n disabled: validationError,\n onClick: onClick,\n children: acceptLabel\n })\n });\n};\n\nexport { PassengersFooterMobile as default };\n//# sourceMappingURL=index.js.map\n","import { generateViewsComponent } from '@babylon/ui-kit-helpers/views';\nimport PassengersFooterDesktop from './views/desktop/index.js';\nimport PassengersFooterMobile from './views/mobile/index.js';\n\nconst PassengersFooter = generateViewsComponent(PassengersFooterDesktop, PassengersFooterMobile);\n\nexport { PassengersFooter as default };\n//# sourceMappingURL=index.js.map\n","import { getDefaultOption } from '../../../helpers/select.js';\nimport cloneDeep from 'clone-deep';\n\nconst checkIfMustUpdateSelectedOptions = (passenger)=>!passenger?.options?.length || passenger?.selectedOptions?.length === passenger.value;\nconst updateSelectedOptions = (value)=>{\n const passengerKeys = Object.keys(value).filter((key)=>key !== 'title').map((key)=>key);\n const newValue = cloneDeep(value);\n for (const passengerKey of passengerKeys){\n if (!newValue[passengerKey]) continue;\n const passenger = newValue[passengerKey];\n if (checkIfMustUpdateSelectedOptions(passenger)) continue;\n if (!passenger.selectedOptions) passenger.selectedOptions = [];\n const defaultSelectedOption = getDefaultOption(passenger.options);\n if (!defaultSelectedOption) continue;\n if (passenger.selectedOptions.length < passenger.value) {\n for(let i = passenger.selectedOptions.length; i < passenger.value; i++){\n passenger.selectedOptions.push(defaultSelectedOption.value);\n }\n } else {\n passenger.selectedOptions = passenger.selectedOptions.slice(0, passenger.value);\n }\n }\n return newValue;\n};\n\nexport { updateSelectedOptions };\n//# sourceMappingURL=utils.js.map\n","import contextBabylon from '@babylon/ui-kit-context';\nimport { transformPassengersValueToText } from '../../../../helpers/passengers.js';\nimport isEqual from '@babylon/ui-kit-helpers/is-equal';\nimport { ClientApplication } from '@babylon/ui-kit-types/application';\nimport cloneDeep from 'clone-deep';\nimport { useContext, useEffect, useMemo, useCallback } from 'react';\nimport { updateSelectedOptions } from '../utils.js';\n\nconst MAX_PEOPLE = 9;\nconst applyVeciRestrictionsInNewValue = (newValue)=>{\n if (newValue.babies) {\n const newCombinedValue = (newValue.adults?.value ?? 0) + (newValue.children?.value ?? 0);\n newValue.babies.max = newCombinedValue;\n if (newValue.babies.value > newCombinedValue) {\n newValue.babies.value = newCombinedValue;\n }\n if (newValue.babies.selectedOptions && newValue.babies.selectedOptions.length > newCombinedValue) {\n newValue.babies.selectedOptions = newValue.babies.selectedOptions.slice(0, newCombinedValue - newValue.babies.selectedOptions.length);\n }\n }\n};\nconst usePassengers = (props)=>{\n const { value = {}, onChange, label, disabled, icon = 'user', onBlur, hasError, error, literals } = props;\n const { Application } = useContext(contextBabylon);\n // initialize selectedOptions if not defined & update selectedOptions if value changes\n useEffect(()=>{\n let newValue = updateSelectedOptions(value);\n // TODO: review Application use\n if (Application === ClientApplication.viajesecies && !!newValue.babies) {\n newValue.babies.max = (newValue.adults?.value ?? 0) + (newValue.children?.value ?? 0);\n }\n if (!isEqual(value, newValue)) {\n onChange?.(newValue);\n }\n }, [\n Application,\n onChange,\n value\n ]);\n const inputProps = useMemo(()=>({\n label: label ?? literals?.passengersLabel ?? literals?.passengerLabel ?? '',\n value: value ? transformPassengersValueToText(value, literals) : '',\n disabled,\n icon,\n onBlur,\n hasError,\n error\n }), [\n disabled,\n error,\n hasError,\n icon,\n label,\n literals,\n onBlur,\n value\n ]);\n const handleOnChange = useCallback((valueKey)=>(newValueNumber)=>{\n const newValue = cloneDeep(value);\n if (!newValue || !newValue?.[valueKey]?.value && newValue?.[valueKey]?.value !== 0 || newValue?.[valueKey]?.value === newValueNumber) return;\n newValue[valueKey].value = newValueNumber;\n // TODO: review Application use\n if (Application === ClientApplication.viajesecies && [\n 'adults',\n 'children'\n ].includes(valueKey)) {\n applyVeciRestrictionsInNewValue(newValue);\n }\n onChange?.(newValue);\n }, [\n Application,\n onChange,\n value\n ]);\n const handleOnSelectChange = useCallback((valueKey)=>(selectedOptionIndex, newValueObject)=>{\n const newValue = cloneDeep(value);\n if (!newValue?.[valueKey]) return;\n if (!newValue[valueKey]?.selectedOptions) newValue[valueKey].selectedOptions = [];\n newValue[valueKey].selectedOptions[selectedOptionIndex] = newValueObject.value;\n onChange?.(newValue);\n }, [\n onChange,\n value\n ]);\n const disableIncrement = useMemo(()=>{\n const values = [\n value?.adults?.value,\n value?.children?.value,\n value?.babies?.value,\n value?.majors?.value,\n value?.young?.value,\n value?.senior?.value,\n value?.umnr?.value\n ];\n return values.reduce((a = 0, b = 0)=>a + b, 0) === MAX_PEOPLE;\n }, [\n value?.adults?.value,\n value?.children?.value,\n value?.babies?.value,\n value?.majors?.value,\n value?.young?.value,\n value?.senior?.value,\n value?.umnr?.value\n ]);\n return {\n value,\n inputProps,\n disableIncrement,\n handleOnChange,\n handleOnSelectChange\n };\n};\n\nexport { usePassengers as default };\n//# sourceMappingURL=usePassengers.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport React, { useState, useEffect, useCallback, useMemo } from 'react';\nimport PassengersFooter from '../components/footer/index.js';\nimport usePassengers from './usePassengers.js';\n\nconst usePassengersMobile = (props)=>{\n const { value, onChange, literals } = props;\n const { passengersLabel = '' } = literals ?? {};\n const [isOpen, setOpen] = useState(false);\n const [tempValue, setTempValue] = useState(props.value);\n const [validationError, setValidationError] = React.useState(false);\n useEffect(()=>{\n if (!isOpen) {\n setTempValue(value);\n }\n }, [\n isOpen,\n value\n ]);\n const { value: finalValue, inputProps, disableIncrement, handleOnChange, handleOnSelectChange } = usePassengers({\n ...props,\n value: tempValue,\n onChange: setTempValue\n });\n const onAccept = useCallback((close)=>()=>{\n if (tempValue && onChange) onChange(tempValue);\n close();\n }, [\n onChange,\n tempValue\n ]);\n const renderFooter = useCallback(({ close })=>/*#__PURE__*/ jsx(PassengersFooter, {\n validationError: validationError,\n onClick: onAccept(close),\n literals: literals\n }), [\n literals,\n onAccept,\n validationError\n ]);\n const basePanel = useMemo(()=>({\n onChange: setOpen,\n header: passengersLabel,\n footer: renderFooter\n }), [\n passengersLabel,\n renderFooter\n ]);\n return {\n value: finalValue,\n inputProps,\n isOpen,\n disableIncrement,\n handleOnChange,\n handleOnSelectChange,\n basePanel,\n setValidationError\n };\n};\n\nexport { usePassengersMobile as default };\n//# sourceMappingURL=usePassengersMobile.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport InputPanelMobile from '../../../../../../others/input-panel/views/mobile/index.js';\nimport { forwardRef, useMemo } from 'react';\nimport PassengersContentMobile from '../../../../components/content/views/mobile/index.js';\nimport useFormPassengers from '../../../../hooks/useFormPassengers.js';\nimport usePassengersMobile from '../../../../hooks/usePassengersMobile.js';\n\nconst PassengersMobile = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { literals, children, validate, infoMessage } = props;\n const { value, inputProps, disableIncrement, handleOnChange, handleOnSelectChange, basePanel, setValidationError } = usePassengersMobile(props);\n const panel = useMemo(()=>({\n ...basePanel,\n content: /*#__PURE__*/ jsx(PassengersContentMobile, {\n literals: literals,\n value: value,\n handleOnChange: handleOnChange,\n handleOnSelectChange: handleOnSelectChange,\n disableIncrement: disableIncrement,\n infoText: inputProps.error,\n infoValidate: validate,\n infoMessage: infoMessage,\n setValidationError: setValidationError,\n children: children\n })\n }), [\n basePanel,\n children,\n disableIncrement,\n handleOnChange,\n handleOnSelectChange,\n infoMessage,\n inputProps.error,\n literals,\n setValidationError,\n validate,\n value\n ]);\n const modalProps = useMemo(()=>({\n color: 'primary'\n }), []);\n return /*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"Passengers\",\n children: /*#__PURE__*/ jsx(InputPanelMobile, {\n ref: ref,\n inputProps: inputProps,\n panel: panel,\n modalProps: modalProps\n })\n });\n});\nPassengersMobile.displayName = 'PassengersMobile';\nconst FormPassengersMobile = (props)=>{\n const finalProps = useFormPassengers(props);\n return /*#__PURE__*/ jsx(PassengersMobile, {\n ...finalProps\n });\n};\n\nexport { FormPassengersMobile, PassengersMobile as default };\n//# sourceMappingURL=index.js.map\n","/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nmodule.exports = baseSlice;\n","var baseSlice = require('./_baseSlice');\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nmodule.exports = castSlice;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n","/**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction asciiToArray(string) {\n return string.split('');\n}\n\nmodule.exports = asciiToArray;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction unicodeToArray(string) {\n return string.match(reUnicode) || [];\n}\n\nmodule.exports = unicodeToArray;\n","var asciiToArray = require('./_asciiToArray'),\n hasUnicode = require('./_hasUnicode'),\n unicodeToArray = require('./_unicodeToArray');\n\n/**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n}\n\nmodule.exports = stringToArray;\n","var castSlice = require('./_castSlice'),\n hasUnicode = require('./_hasUnicode'),\n stringToArray = require('./_stringToArray'),\n toString = require('./toString');\n\n/**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\nfunction createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n}\n\nmodule.exports = createCaseFirst;\n","var createCaseFirst = require('./_createCaseFirst');\n\n/**\n * Converts the first character of `string` to upper case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.upperFirst('fred');\n * // => 'Fred'\n *\n * _.upperFirst('FRED');\n * // => 'FRED'\n */\nvar upperFirst = createCaseFirst('toUpperCase');\n\nmodule.exports = upperFirst;\n","var toString = require('./toString'),\n upperFirst = require('./upperFirst');\n\n/**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\nfunction capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n}\n\nmodule.exports = capitalize;\n","import { requiredPassengersMinPeople } from '@babylon/ui-kit-forms/helpers/validate';\nimport _capitalize from 'lodash/capitalize';\nimport { useSearcherActivitiesProps } from '../../../../../context/index.js';\nimport useSearcherActivitiesDefaultValues from '../../../../../hooks/useSearcherActivitiesDefaultValues.js';\n\nconst usePassengersInput = ()=>{\n const props = useSearcherActivitiesProps();\n const { config } = props;\n const { literals } = config ?? {};\n const { passenger = '', passengers = '', passengersLabel = '', passengersTitle = '', acceptLabel = '' } = literals ?? {};\n return {\n name: 'passengers',\n label: passengersLabel,\n defaultValue: useSearcherActivitiesDefaultValues(props).passengers,\n literals: {\n adultLabel: passenger,\n adultsLabel: _capitalize(passengers),\n acceptLabel: acceptLabel,\n passengersLabel: passengersTitle\n },\n validate: requiredPassengersMinPeople(props.minAdultAge ?? 18, props.config?.literals?.noAdultsLiteral)\n };\n};\n\nexport { usePassengersInput as default };\n//# sourceMappingURL=usePassengersInput.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport { FormPassengersMobile } from '@babylon/ui-kit-forms/components/inputs/passengers/variants/simple/views/mobile';\nimport usePassengersInput from './hooks/usePassengersInput.js';\n\nconst SearcherActivitiesPassengersInputMobile = ()=>/*#__PURE__*/ jsx(FormPassengersMobile, {\n ...usePassengersInput()\n });\n\nexport { SearcherActivitiesPassengersInputMobile as default };\n//# sourceMappingURL=index.js.map\n","import { formatDateWithoutLocale } from '@babylon/ui-kit-helpers/date';\nimport { parseFilters } from '@babylon/ui-kit-helpers/url';\n\nconst buildDestination = (destination)=>{\n if (!destination) return '';\n const { type, value } = destination;\n if (type === 'ACT') {\n const splitValue = value.split('-');\n const provider = splitValue?.shift();\n return [\n type,\n `provider=${provider ? encodeURIComponent(provider) : ''}`,\n `code=${encodeURIComponent(splitValue.join('-'))}`\n ].join('&');\n }\n return [\n type,\n `destinationCode=${value}`\n ].join('&');\n};\nconst buildCalendar = (dates)=>{\n if (!dates?.length) return '';\n const [startDate, endDate] = dates;\n return startDate && endDate ? `${formatDateWithoutLocale(startDate, 'YYYY-MM-DD')},${formatDateWithoutLocale(endDate, 'YYYY-MM-DD')}` : '';\n};\nconst buildPassengers = (passengers)=>{\n if (!passengers?.adults?.selectedOptions) return '';\n let options = '';\n passengers?.adults.selectedOptions.map((selectedOption, index)=>{\n options += index > 0 ? `,${selectedOption?.toString()}` : `${selectedOption?.toString()}`;\n });\n return options;\n};\nconst buildUrl = (baseUrl, values)=>{\n const { destination, dates, passengers, testToken } = values ?? {};\n const filters = {\n destinationType: buildDestination(destination),\n dates: buildCalendar(dates),\n passengers: buildPassengers(passengers),\n testToken: '' + testToken\n };\n return `${baseUrl}?${parseFilters(filters)}`;\n};\n\nexport { buildUrl };\n//# sourceMappingURL=url.js.map\n","import contextBabylon from '@babylon/ui-kit-context';\nimport { getUrlWithDomain } from '@babylon/ui-kit-helpers/url';\nimport useSubmitWithRedirect from '../../../../hooks/submit/useSubmitWithRedirect.js';\nimport { useContext } from 'react';\nimport { buildUrl } from '../utils/url.js';\nimport useSearcherActivitiesDefaultValues from './useSearcherActivitiesDefaultValues.js';\n\nconst useSearcherActivitiesForm = (props)=>{\n const { BaseUrl = '' } = useContext(contextBabylon);\n const { urlResults = '/actividades/resultados', urlDetail = '/actividades/detalle', testToken = '' } = props ?? {};\n const { isRedirecting, onSubmit } = useSubmitWithRedirect((values)=>{\n const results = getUrlWithDomain(urlResults, BaseUrl);\n const detail = getUrlWithDomain(urlDetail, BaseUrl);\n const baseUrl = values.destination?.type === 'ACT' ? detail : results;\n const finalUrl = buildUrl(baseUrl, {\n ...values,\n testToken\n });\n window.location.assign(finalUrl);\n });\n return {\n onSubmit,\n isRedirecting,\n defaultValues: useSearcherActivitiesDefaultValues(props)\n };\n};\n\nexport { useSearcherActivitiesForm as default };\n//# sourceMappingURL=useSearcherActivitiesForm.js.map\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport Form from '@babylon/ui-kit-forms/components/others/form';\nimport { Suspense, lazy } from 'react';\nimport { SearcherActivitiesProvider } from '../../context/index.js';\nimport useSearcherActivitiesForm from '../../hooks/useSearcherActivitiesForm.js';\n\nconst SearcherActivitiesRedirectingModal = /*#__PURE__*/ lazy(()=>import('../redirecting-modal/index.js'));\nconst SearcherActivitiesForm = ({ children, ...rootProps })=>{\n const props = 'data' in rootProps ? rootProps.data : rootProps.props;\n const { onSubmit, isRedirecting, defaultValues } = useSearcherActivitiesForm(props);\n return /*#__PURE__*/ jsx(Form, {\n onSubmit: onSubmit,\n defaultValues: defaultValues,\n children: /*#__PURE__*/ jsxs(SearcherActivitiesProvider, {\n value: props,\n children: [\n children,\n /*#__PURE__*/ jsx(Suspense, {\n fallback: null,\n children: isRedirecting && /*#__PURE__*/ jsx(SearcherActivitiesRedirectingModal, {})\n })\n ]\n })\n });\n};\n\nexport { SearcherActivitiesForm as default };\n//# sourceMappingURL=index.js.map\n","import useValueChanged from '@babylon/ui-kit-forms/hooks/useValueChanged';\n\nconst useShowButton = (showButtonByDefault = true)=>{\n const destinationChanged = useValueChanged('destination');\n const datesChanged = useValueChanged('dates');\n const passengersChanged = useValueChanged('passengers');\n return showButtonByDefault || destinationChanged || datesChanged || passengersChanged;\n};\n\nexport { useShowButton as default };\n//# sourceMappingURL=useShowButton.js.map\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport Searcher from '../../../../others/searcher/index.js';\nimport { SearcherItem } from '../../../../others/searcher/styled.js';\nimport SearcherActivitiesButtonMobile from '../../components/button/views/mobile/index.js';\nimport SearcherActivitiesCalendarInputMobile from '../../components/calendar-input/views/mobile/index.js';\nimport SearcherActivitiesDestinationInputMobile from '../../components/destination-input/views/mobile/index.js';\nimport SearcherActivitiesPassengersInputMobile from '../../components/passengers-input/views/mobile/index.js';\nimport SearcherActivitiesForm from '../../components/searcher-form/index.js';\nimport { useSearcherActivitiesProps } from '../../context/index.js';\nimport useShowButton from '../../hooks/useShowButton.js';\n\nconst SearcherActivitiesMobileView = ()=>{\n const { config } = useSearcherActivitiesProps();\n const { showButtonByDefault = true, showDestination = true } = config ?? {};\n const showButton = useShowButton(showButtonByDefault);\n return /*#__PURE__*/ jsxs(Searcher, {\n \"data-testid\": \"SearcherActivities\",\n children: [\n showDestination && /*#__PURE__*/ jsx(SearcherItem, {\n children: /*#__PURE__*/ jsx(SearcherActivitiesDestinationInputMobile, {})\n }),\n /*#__PURE__*/ jsx(SearcherItem, {\n children: /*#__PURE__*/ jsx(SearcherActivitiesCalendarInputMobile, {})\n }),\n /*#__PURE__*/ jsx(SearcherItem, {\n children: /*#__PURE__*/ jsx(SearcherActivitiesPassengersInputMobile, {})\n }),\n showButton && /*#__PURE__*/ jsx(SearcherActivitiesButtonMobile, {})\n ]\n });\n};\nconst SearcherActivitiesMobile = (props)=>/*#__PURE__*/ jsx(SearcherActivitiesForm, {\n ...props,\n children: /*#__PURE__*/ jsx(SearcherActivitiesMobileView, {})\n });\n\nexport { SearcherActivitiesMobile as default };\n//# sourceMappingURL=index.js.map\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst Content = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Content\"\n})([\n `padding:`,\n `;`\n], ({ $fullWidth })=>$fullWidth ? '0' : '0 16px');\nconst Info = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Info\"\n})([\n `--color:`,\n `;--background:`,\n `;--border-color:`,\n `;`,\n ` line-height:18px;color:var(--color);background-color:var(--background);padding:13px 50px 11px 12px;border-bottom:1px solid var(--border-color);border-top:1px solid var(--border-color);`\n], ({ theme })=>theme.colors.text, ({ theme })=>theme.colors.primary.lightestL, ({ theme })=>theme.border.color.light, FontMixin({\n size: 'medium',\n weight: 'regular'\n}));\nconst ExtraInfo = /*#__PURE__*/ styled(Info).withConfig({\n displayName: \"ExtraInfo\"\n})([\n `--color:`,\n `;--background:`,\n `;--border-color:`,\n `;`\n], ({ theme })=>theme.colors.text, ({ theme })=>theme.colors.primary.lightestL, ({ theme })=>theme.border.color.light);\nconst ErrorInfo = /*#__PURE__*/ styled(Info).withConfig({\n displayName: \"ErrorInfo\"\n})([\n `--color:`,\n `;--background:`,\n `;--border-color:`,\n `;`\n], ({ theme })=>theme.colors.white, ({ theme })=>theme.colors.status.error, ({ theme })=>theme.colors.status.danger);\n\nexport { Content, ErrorInfo, ExtraInfo };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, Fragment, jsx } from 'react/jsx-runtime';\nimport { Children } from 'react';\nimport PassengersRow from '../../../row/index.js';\nimport PassengersContentDesktop$1 from '../../components/info-text/index.js';\nimport useValidateMinAdults from '../../hooks/useValidateMinAdults.js';\nimport { Content, ExtraInfo } from './styled.js';\n\nconst PassengersContentDesktop = (props)=>{\n const { value, literals, handleOnChange, handleOnSelectChange, children, columns, disableIncrement, infoText, infoValidate } = props;\n const { adultsLabel = '', passengerDescriptionAdultsLabel = '', passengerInfoAdultsLabel = '', childrenLabel = '', passengerDescriptionChildrenLabel = '', passengerInfoChildrenLabel = '', babiesLabel = '', passengerDescriptionBabiesLabel = '', passengerInfoBabiesLabel = '', majorsLabel = '', passengerDescriptionMajorsLabel = '', passengerInfoMajorsLabel = '', youthLabel = '', passengerDescriptionYoungLabel = '', passengerInfoYoungLabel = '', seniorLabel = '', passengerDescriptionSeniorLabel = '', passengerInfoSeniorLabel = '', umnrLabel = '', passengerDescriptionUmnrLabel = '', passengerInfoUmnrLabel = '' } = literals ?? {};\n const { infoValidateError } = useValidateMinAdults(infoValidate, value);\n return /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsxs(\"div\", {\n \"data-testid\": \"PassengersContent\",\n children: [\n infoValidateError && /*#__PURE__*/ jsx(PassengersContentDesktop$1, {\n variant: \"error\",\n icon: \"exclamation\",\n infoText: infoValidateError\n }),\n /*#__PURE__*/ jsxs(Content, {\n children: [\n value?.senior && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.senior,\n label: seniorLabel,\n description: value.senior.description ?? passengerDescriptionSeniorLabel ?? '',\n info: passengerInfoSeniorLabel,\n onChange: handleOnChange('senior'),\n onSelectChange: handleOnSelectChange('senior'),\n columns: columns,\n disableIncrement: disableIncrement\n }),\n value?.adults && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.adults,\n label: adultsLabel,\n description: passengerDescriptionAdultsLabel,\n info: passengerInfoAdultsLabel,\n onChange: handleOnChange('adults'),\n onSelectChange: handleOnSelectChange('adults'),\n columns: columns,\n disableIncrement: disableIncrement\n }),\n value?.children && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.children,\n label: childrenLabel,\n description: passengerDescriptionChildrenLabel,\n info: passengerInfoChildrenLabel,\n onChange: handleOnChange('children'),\n onSelectChange: handleOnSelectChange('children'),\n columns: columns,\n disableIncrement: disableIncrement\n }),\n value?.babies && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.babies,\n label: babiesLabel,\n description: passengerDescriptionBabiesLabel,\n info: passengerInfoBabiesLabel,\n onChange: handleOnChange('babies'),\n onSelectChange: handleOnSelectChange('babies'),\n columns: columns,\n disableIncrement: disableIncrement\n }),\n value?.majors && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.majors,\n label: majorsLabel,\n description: passengerDescriptionMajorsLabel,\n info: passengerInfoMajorsLabel,\n onChange: handleOnChange('majors'),\n onSelectChange: handleOnSelectChange('majors'),\n columns: columns,\n disableIncrement: disableIncrement\n }),\n value?.young && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.young,\n label: youthLabel,\n description: value.young.description ?? passengerDescriptionYoungLabel ?? '',\n info: passengerInfoYoungLabel,\n onChange: handleOnChange('young'),\n onSelectChange: handleOnSelectChange('young'),\n columns: columns,\n disableIncrement: disableIncrement\n }),\n value?.umnr && /*#__PURE__*/ jsx(PassengersRow, {\n passenger: value.umnr,\n label: umnrLabel,\n description: value.umnr.description ?? passengerDescriptionUmnrLabel ?? '',\n info: passengerInfoUmnrLabel,\n onChange: handleOnChange('umnr'),\n onSelectChange: handleOnSelectChange('umnr'),\n columns: columns,\n disableIncrement: disableIncrement\n })\n ]\n }),\n value?.extraInfo && /*#__PURE__*/ jsx(ExtraInfo, {\n className: \"extra-info\",\n children: value.extraInfo\n }),\n children && Children.map(children, (child)=>child && /*#__PURE__*/ jsx(Content, {\n $fullWidth: true,\n children: child\n }))\n ]\n }),\n infoText && /*#__PURE__*/ jsx(PassengersContentDesktop$1, {\n variant: \"info\",\n infoText: infoText\n })\n ]\n });\n};\n\nexport { PassengersContentDesktop as default };\n//# sourceMappingURL=index.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport { useMemo, useCallback } from 'react';\nimport PassengersFooter from '../components/footer/index.js';\nimport usePassengers from './usePassengers.js';\n\nconst usePassengersDesktop = (props)=>{\n const { literals } = props;\n const { passengerTitleLabel = '' } = literals ?? {};\n const { value, inputProps, disableIncrement, handleOnChange, handleOnSelectChange } = usePassengers(props);\n const hasSelects = useMemo(()=>value?.adults?.options ?? value?.children?.options ?? value?.babies?.options ?? value?.majors?.options ?? value?.young?.options ?? value?.senior?.options ?? value?.umnr?.options, [\n value?.adults?.options,\n value?.babies?.options,\n value?.children?.options,\n value?.majors?.options,\n value?.senior?.options,\n value?.umnr?.options,\n value?.young?.options\n ]);\n const renderFooter = useCallback(({ close })=>/*#__PURE__*/ jsx(PassengersFooter, {\n onClick: close,\n literals: literals\n }), [\n literals\n ]);\n const basePanel = useMemo(()=>({\n width: hasSelects ? 450 : 320,\n maxWidth: hasSelects ? 450 : 320,\n header: passengerTitleLabel\n }), [\n hasSelects,\n passengerTitleLabel\n ]);\n return {\n value,\n inputProps,\n disableIncrement,\n handleOnChange,\n handleOnSelectChange,\n renderFooter,\n basePanel\n };\n};\n\nexport { usePassengersDesktop as default };\n//# sourceMappingURL=usePassengersDesktop.js.map\n","import { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst veciPassengersStyles = {\n PassengersWrapper: ()=>/*#__PURE__*/ css([\n `padding:0;.passanger-row{`,\n ` border-top:1px solid `,\n `;&:first-of-type{border-top:0;}.person-counter-horizontal{margin-top:12px;.person-counter-select{border:1px solid `,\n `;border-radius:4px;min-width:110px;}.person-counter-title{`,\n ` color:`,\n `;}}}.person-counter{`,\n ` gap:12px;label{color:`,\n `;}.decrement,.increment{height:32px;width:32px;}}.input-panel-header{border-bottom:0;padding:12px 16px 4px;}.passengers-footer{button{border-radius:3px;min-height:40px;min-width:92px;font-weight:400;background-color:`,\n `;&:hover,&:active{background-color:`,\n `;}}&-text{`,\n ` color:`,\n `;}}`\n ], FlexMixin({\n direction: 'column'\n }), ({ theme })=>theme.border.color.light, ({ theme })=>theme.border.color.light, FontMixin({\n weight: 'regular'\n }), ({ theme })=>theme.colors.text.dark, FlexMixin({\n direction: 'row',\n align: 'center'\n }), ({ theme })=>theme.colors.grays.darker, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.lighter, FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'base'\n }), ({ theme })=>theme.colors.grays.base)\n};\n\nexport { veciPassengersStyles as default };\n//# sourceMappingURL=veci.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport veciPassengersStyles from './styles/veci.js';\n\nconst passengersThemes = createThemes({\n [ThemeId.veci]: veciPassengersStyles\n});\n\nexport { passengersThemes as default };\n//# sourceMappingURL=index.js.map\n","import { TooltipBox } from '@babylon/ui-kit-base/components/others/tooltip/styled';\nimport styled from 'styled-components';\nimport passengersThemes from './themes/index.js';\n\nconst PassengersWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PassengersWrapper\"\n})([\n ``,\n ` `,\n `{z-index:`,\n `;}`\n], passengersThemes('PassengersWrapper'), TooltipBox, ({ theme })=>theme.zIndex.base);\n\nexport { PassengersWrapper };\n//# sourceMappingURL=styled.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport InputPanelDesktop from '../../../../../../others/input-panel/views/desktop/index.js';\nimport { forwardRef, useMemo } from 'react';\nimport PassengersContentDesktop from '../../../../components/content/views/desktop/index.js';\nimport useFormPassengers from '../../../../hooks/useFormPassengers.js';\nimport usePassengersDesktop from '../../../../hooks/usePassengersDesktop.js';\nimport { PassengersWrapper } from './styled.js';\n\nconst PassengersDesktop = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { literals, children, columns, tooltipOptions, infoText, infoValidate } = props;\n const { value, inputProps, disableIncrement, handleOnChange, handleOnSelectChange, renderFooter, basePanel } = usePassengersDesktop(props);\n const panel = useMemo(()=>({\n ...basePanel,\n content: /*#__PURE__*/ jsx(PassengersContentDesktop, {\n literals: literals,\n value: value,\n columns: columns,\n handleOnChange: handleOnChange,\n handleOnSelectChange: handleOnSelectChange,\n disableIncrement: disableIncrement,\n infoText: infoText,\n infoValidate: infoValidate,\n children: children\n }),\n footer: literals?.acceptLabel ? renderFooter : undefined\n }), [\n basePanel,\n children,\n columns,\n disableIncrement,\n handleOnChange,\n handleOnSelectChange,\n infoText,\n infoValidate,\n literals,\n renderFooter,\n value\n ]);\n const tooltipProps = useMemo(()=>({\n options: tooltipOptions\n }), [\n tooltipOptions\n ]);\n return /*#__PURE__*/ jsx(PassengersWrapper, {\n \"data-testid\": \"Passengers\",\n className: props?.className,\n children: /*#__PURE__*/ jsx(InputPanelDesktop, {\n ref: ref,\n inputProps: inputProps,\n panel: panel,\n tooltipProps: tooltipProps\n })\n });\n});\nPassengersDesktop.displayName = 'PassengersDesktop';\nconst FormPassengersDesktop = (props)=>{\n const finalProps = useFormPassengers(props);\n return /*#__PURE__*/ jsx(PassengersDesktop, {\n ...finalProps\n });\n};\n\nexport { FormPassengersDesktop, PassengersDesktop as default };\n//# sourceMappingURL=index.js.map\n"],"file":"cdn-placeholder/babylon/packages/circuits/client/chunks/index.ClTh9mEw.js"}