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,KAAK,CACnB,GAAG2I,EACH,QAAuB1L,EAAG,IAAC+E,GAA0B,CACjD,SAAUrF,EACV,MAAO4F,EACP,QAAS7B,EACT,eAAgB2C,EAChB,qBAAsBC,EACtB,iBAAkB3C,EAClB,SAAUsB,EACV,aAAcK,EACd,SAAUiB,CAC1B,CAAa,EACD,OAAQ5G,GAAA,MAAAA,EAAU,YAAc+L,EAAe,MAC3D,GAAY,CACJC,EACApF,EACA7C,EACAC,EACA0C,EACAC,EACArB,EACAK,EACA3F,EACA+L,EACAnG,CACR,CAAK,EACK+N,EAAetQ,UAAQ,KAAK,CAC1B,QAASqQ,CACrB,GAAY,CACJA,CACR,CAAK,EACD,OAAqBpT,MAAIiT,GAAmB,CACxC,cAAe,aACf,UAAW/S,GAAA,YAAAA,EAAO,UAClB,SAAwBF,EAAG,IAACsT,GAAmB,CAC3C,IAAKzH,EACL,WAAY1B,EACZ,MAAO2B,EACP,aAAcuH,CACjB,EACT,CAAK,CACL,CAAC,EACDF,GAAkB,YAAc,oBAC3B,MAACI,GAAyBrT,GAAQ,CACnC,MAAMgM,EAAa7D,GAAkBnI,CAAK,EAC1C,OAAqBF,MAAImT,GAAmB,CACxC,GAAGjH,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","startDate","endDate","maxDate","minDate","calendarLabel","Language","datesValue","useSearcherDatesRangeDesktop","required","prev","i","formatDateWithoutLocale","subDays","useCalendarInputMobile","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","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","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","Footer","PassengersFooterDesktop","onClick","ageAtTravelTimeLabel","Button","PassengersFooterMobile","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","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","SearcherActivitiesPassengersInputMobile","buildDestination","type","splitValue","provider","buildCalendar","dates","buildPassengers","options","selectedOption","buildUrl","baseUrl","values","testToken","filters","parseFilters","useSearcherActivitiesForm","BaseUrl","urlResults","urlDetail","isRedirecting","onSubmit","useSubmitWithRedirect","results","detail","finalUrl","SearcherActivitiesRedirectingModal","lazy","__vitePreload","SearcherActivitiesForm","rootProps","defaultValues","Form","Suspense","SearcherActivitiesMobileView","Searcher","SearcherItem","SearcherActivitiesMobile","passengerDescriptionAdultsLabel","passengerDescriptionChildrenLabel","passengerDescriptionBabiesLabel","passengerDescriptionMajorsLabel","passengerDescriptionYoungLabel","passengerDescriptionSeniorLabel","passengerDescriptionUmnrLabel","PassengersContentDesktop$1","usePassengersDesktop","passengerTitleLabel","hasSelects","veciPassengersStyles","passengersThemes","createThemes","ThemeId","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],"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/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/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 { useSearcherDatesRangeDesktop } from '../../../../../../hooks/inputs/useSearcherDates.js';\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, startDate, endDate, maxDate, minDate } = props;\n const { literals } = config ?? {};\n const { calendarLabel = '' } = literals ?? {};\n const { Language = 'default' } = useContext(contextBabylon);\n const datesValue = useValue({\n name: 'dates'\n });\n return useSearcherDatesRangeDesktop({\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 }, {\n startDate,\n endDate,\n maxDate,\n minDate\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 = '', 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 })\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 { 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, infoText, infoValidate } = 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 = '' } = 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, {\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 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 infoText && /*#__PURE__*/ jsx(PassengersContentDesktop, {\n infoText: infoText\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 { FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst Footer = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Footer\"\n})([\n ``,\n ` gap:8px;`\n], FlexMixin({\n align: 'center',\n justify: 'space-between'\n}));\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 } = 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 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.veci && !!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.veci && [\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 { 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 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 onClick: onAccept(close),\n literals: literals\n }), [\n literals,\n onAccept\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 };\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, infoText, infoValidate } = props;\n const { value, inputProps, disableIncrement, handleOnChange, handleOnSelectChange, basePanel } = 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: infoText,\n infoValidate: infoValidate,\n children: children\n })\n }), [\n basePanel,\n children,\n disableIncrement,\n handleOnChange,\n handleOnSelectChange,\n infoText,\n infoValidate,\n literals,\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 _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 };\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 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 = urlResults.startsWith('http') ? urlResults : `${BaseUrl}${urlResults}`;\n const detail = urlDetail.startsWith('http') ? urlDetail : `${BaseUrl}${urlDetail}`;\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 { 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';\n\nconst SearcherActivitiesMobileView = ()=>/*#__PURE__*/ jsxs(Searcher, {\n \"data-testid\": \"SearcherActivities\",\n children: [\n /*#__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 /*#__PURE__*/ jsx(SearcherActivitiesButtonMobile, {})\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.BZTncIeA.js"}