{"version":3,"file":"index.BGW3Gbiq.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-hooks/useComplexState.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/accommodation/hooks/useFormAccommodationWithDiscounts.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/accommodation/variants/with-discounts/components/discount/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/accommodation/variants/with-discounts/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/hooks/useFormPanelVehicle.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/hooks/usePetInput.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/utils.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/hooks/useVehicleInputs.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/components/pet-properties/themes/styles/veci.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/components/pet-properties/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/components/pet-properties/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/components/pet-properties/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/components/vehicle-properties/themes/styles/clubDeVacaciones.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/components/vehicle-properties/themes/styles/tourMundial.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/components/vehicle-properties/themes/styles/veci.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/components/vehicle-properties/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/components/vehicle-properties/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/components/vehicle-properties/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/accommodation/variants/with-discounts/components/discount/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/accommodation/variants/with-discounts/components/discount/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/accommodation/variants/with-discounts/views/mobile/hooks/useAccommodationWithDiscountsMobile.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/accommodation/variants/with-discounts/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/mobile/components/pet-properties/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/mobile/components/pet-properties/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/mobile/components/vehicle-properties/themes/styles/universalMusic.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/mobile/components/vehicle-properties/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/mobile/components/vehicle-properties/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/mobile/components/vehicle-properties/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/panel-vehicle/views/mobile/index.js"],"sourcesContent":["import { useState } from 'react';\n\nconst useComplexState = (initialState)=>{\n const [complexState, setComplexState] = useState(initialState);\n const setKeyData = (key, data)=>{\n setComplexState((prevState)=>({\n ...prevState,\n [key]: data\n }));\n };\n return {\n state: complexState,\n setKeyData,\n setAllData: setComplexState\n };\n};\n\nexport { useComplexState as default };\n//# sourceMappingURL=useComplexState.js.map\n","import { useInput } from '../../../../hooks/useInput/index.js';\n\nconst useFormAccommodationWithDiscounts = (props)=>{\n const { isHiddenRequired: _isHiddenRequired, ...rest } = props;\n const { field, label, error, hasError } = useInput(props);\n const { field: discountField, error: discountError, hasError: discountHasError } = useInput(props.discount);\n const { field: residentField, error: residentError, hasError: residentHasError } = useInput(props.resident);\n return {\n ...rest,\n ...field,\n discount: discountField,\n resident: residentField,\n label: label,\n hasError: hasError || discountHasError || residentHasError,\n error: error ?? discountError ?? residentError\n };\n};\n\nexport { useFormAccommodationWithDiscounts as default };\n//# sourceMappingURL=useFormAccommodationWithDiscounts.js.map\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport { DiscountWrapper, DiscountBody, ContainerSelect, DiscountSelect } from './styled.js';\n\nconst DiscountDesktop = ({ title, discount, resident, discounts, residents })=>{\n const discountLength = discounts && discounts.items?.length && discounts.items.length > 1;\n const residentsLength = residents && residents.items?.length && residents.items.length > 1;\n if (!discountLength && !residentsLength) return null;\n return /*#__PURE__*/ jsxs(DiscountWrapper, {\n \"data-testid\": \"Discount\",\n children: [\n /*#__PURE__*/ jsx(\"p\", {\n children: title\n }),\n /*#__PURE__*/ jsxs(DiscountBody, {\n children: [\n discounts && discount && discounts.items?.length && discounts.items.length > 1 && /*#__PURE__*/ jsx(ContainerSelect, {\n children: /*#__PURE__*/ jsx(DiscountSelect, {\n ref: discount.ref,\n onBlur: discount.onBlur,\n value: discount.value,\n onChange: discount.onChange,\n placeholder: discounts.label,\n options: discounts.items\n })\n }),\n residents && resident && residents.items?.length && residents.items.length > 1 && /*#__PURE__*/ jsx(ContainerSelect, {\n children: /*#__PURE__*/ jsx(DiscountSelect, {\n ref: resident.ref,\n onBlur: resident.onBlur,\n value: resident.value,\n onChange: resident.onChange,\n placeholder: residents.label,\n options: residents.items\n })\n })\n ]\n })\n ]\n });\n};\n\nexport { DiscountDesktop as default };\n//# sourceMappingURL=index.js.map\n","import { jsxs, jsx, Fragment } from 'react/jsx-runtime';\nimport PanelAccommodationDesktop from '../../../../components/panel-accommodation/views/desktop/index.js';\nimport InputPanelDesktop from '../../../../../../others/input-panel/views/desktop/index.js';\nimport { forwardRef, useMemo } from 'react';\nimport AddRoom from '../../../../components/add-room/index.js';\nimport PanelErrorDesktop from '../../../../components/panel-accommodation/components/panel-error/views/desktop/index.js';\nimport useAccommodation from '../../../../hooks/useAccommodation.js';\nimport useFormAccommodationWithDiscounts from '../../../../hooks/useFormAccommodationWithDiscounts.js';\nimport DiscountDesktop from '../../components/discount/views/desktop/index.js';\nimport { Header, InputPanelFooter, AccomodationWithDiscounts } from './styled.js';\n\nconst AccommodationWithDiscountsDesktop = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { literals, discount, discounts, resident, residents, tooltipOptions, disableAges = false } = props;\n const { addRoom = '', accommodationTitle = '', discountTitle = '', accommodationLabel = '' } = literals ?? {};\n const { inputProps, panelRooms, config, people, goToLast, hasError, error, onAddRoom, onChangeRooms, renderFooter } = useAccommodation(props);\n const hasDiscounts = !!(discount && discounts) || !!(resident && residents);\n const headerTitle = accommodationTitle || accommodationLabel;\n const panel = useMemo(()=>({\n header: /*#__PURE__*/ jsxs(Header, {\n children: [\n headerTitle && /*#__PURE__*/ jsx(\"p\", {\n children: headerTitle\n }),\n /*#__PURE__*/ jsx(AddRoom, {\n addRoom: addRoom,\n onAddRoom: onAddRoom,\n hasError: hasError\n })\n ]\n }),\n content: /*#__PURE__*/ jsx(PanelAccommodationDesktop, {\n config: config,\n onChange: onChangeRooms,\n people: people,\n rooms: panelRooms,\n error: error,\n goToLast: goToLast,\n disableAges: disableAges\n }),\n footer: (renderProps)=>/*#__PURE__*/ jsxs(Fragment, {\n children: [\n (hasDiscounts || error) && /*#__PURE__*/ jsxs(InputPanelFooter, {\n children: [\n error && /*#__PURE__*/ jsx(PanelErrorDesktop, {\n error: error\n }),\n hasDiscounts && /*#__PURE__*/ jsx(DiscountDesktop, {\n title: discountTitle,\n discount: discount,\n resident: resident,\n discounts: discounts,\n residents: residents\n })\n ]\n }),\n literals?.accept ? renderFooter(renderProps) : undefined\n ]\n })\n }), [\n addRoom,\n config,\n disableAges,\n discount,\n discountTitle,\n discounts,\n error,\n goToLast,\n hasDiscounts,\n hasError,\n headerTitle,\n literals?.accept,\n onAddRoom,\n onChangeRooms,\n panelRooms,\n people,\n renderFooter,\n resident,\n residents\n ]);\n const tooltipProps = useMemo(()=>({\n options: tooltipOptions\n }), [\n tooltipOptions\n ]);\n return /*#__PURE__*/ jsx(AccomodationWithDiscounts, {\n \"data-testid\": \"AccommodationWithDiscounts\",\n children: /*#__PURE__*/ jsx(InputPanelDesktop, {\n ref: ref,\n inputProps: inputProps,\n footerVariant: \"noStyle\",\n panel: panel,\n tooltipProps: tooltipProps\n })\n });\n});\nAccommodationWithDiscountsDesktop.displayName = 'AccommodationWithDiscountsDesktop';\nconst FormAccommodationWithDiscountsDesktop = (props)=>{\n const finalProps = useFormAccommodationWithDiscounts(props);\n return /*#__PURE__*/ jsx(AccommodationWithDiscountsDesktop, {\n ...finalProps\n });\n};\n\nexport { FormAccommodationWithDiscountsDesktop, AccommodationWithDiscountsDesktop as default };\n//# sourceMappingURL=index.js.map\n","import { vehicleValidate, trailerValidate, petValidate } from '../../../../helpers/validate.js';\nimport { useInput } from '../../../../hooks/useInput/index.js';\nimport { useMemo } from 'react';\n\nconst useFormPanelVehicle = (props)=>{\n const { isHiddenRequired: _isHiddenRequired, ...rest } = props;\n const { data, pets } = props;\n const { name = 'pet', ...restPets } = pets ?? {};\n const { config } = data || {};\n const { literals } = config ?? {};\n const { errorTrailerDimensions = ' ', errorVehicleDimensions = ' ', errorPetDimensions = ' ' } = literals ?? {};\n const finalValidate = useMemo(()=>{\n let validate = [];\n if (props.validate) {\n if (Array.isArray(props.validate)) {\n validate = [\n ...props.validate\n ];\n } else {\n validate = [\n props.validate\n ];\n }\n }\n return [\n ...validate,\n vehicleValidate(errorVehicleDimensions),\n trailerValidate(errorTrailerDimensions)\n ];\n }, [\n errorTrailerDimensions,\n errorVehicleDimensions,\n props.validate\n ]);\n const { field, error, hasError } = useInput({\n ...props,\n validate: finalValidate\n });\n const { field: petField, error: petError, hasError: petHasError } = useInput({\n name,\n ...restPets,\n validate: [\n petValidate(errorPetDimensions)\n ]\n });\n const finalPets = useMemo(()=>pets && {\n ...pets,\n ...petField,\n hasError: petHasError,\n error: petError\n }, [\n petError,\n petField,\n petHasError,\n pets\n ]);\n return {\n ...rest,\n pets: finalPets,\n ...field,\n hasError: hasError || petHasError,\n error: error ?? petError\n };\n};\n\nexport { useFormPanelVehicle as default };\n//# sourceMappingURL=useFormPanelVehicle.js.map\n","import contextBabylon from '@babylon/ui-kit-context';\nimport isEqual from '@babylon/ui-kit-helpers/is-equal';\nimport cloneDeep from 'clone-deep';\nimport { useContext, useCallback, useMemo, useEffect } from 'react';\nimport { MOCK_LITERALS_TOGGLE } from '../../toggle/mock.js';\nimport { transformItemsToSelectOptions, transformItemToSelectOption, setDefaultPetValue } from '../utils/utils.js';\n\nconst usePetInput = (props)=>{\n const { data, pets } = props;\n const { items = [], onChange, value } = pets ?? {};\n const { config } = data || {};\n const { literals } = config ?? {};\n const { yes = '', no = '' } = literals ?? {};\n const { Language } = useContext(contextBabylon);\n const onPetChange = useCallback((newPetOption)=>{\n const newPet = items.find((item)=>item.value === newPetOption.value);\n if (newPet) {\n if (newPet.value && newPet.value !== '0') {\n newPet.weight = '10';\n newPet.height = '10';\n newPet.length = '10';\n newPet.width = '10';\n }\n onChange?.(newPet);\n }\n }, [\n items,\n onChange\n ]);\n const onChangeValue = useCallback((e, key)=>{\n if (value) {\n const newPet = {\n ...value,\n [key]: e.target.value\n };\n onChange?.(newPet);\n }\n }, [\n onChange,\n value\n ]);\n const onPetWeightChange = useCallback((e)=>onChangeValue(e, 'weight'), [\n onChangeValue\n ]);\n const onPetLengthChange = useCallback((e)=>onChangeValue(e, 'length'), [\n onChangeValue\n ]);\n const onPetHeightChange = useCallback((e)=>onChangeValue(e, 'height'), [\n onChangeValue\n ]);\n const onPetWidthChange = useCallback((e)=>onChangeValue(e, 'width'), [\n onChangeValue\n ]);\n const onPetCarrierChange = useCallback(()=>{\n if (value) {\n const newPet = {\n ...value,\n carrier: value.carrier ? !value.carrier : true\n };\n onChange?.(newPet);\n }\n }, [\n value,\n onChange\n ]);\n const petSelectOptions = useMemo(()=>pets?.items ? transformItemsToSelectOptions(pets?.items) : [], [\n pets?.items\n ]);\n const petSelectValue = useMemo(()=>pets?.value && transformItemToSelectOption(pets?.value), [\n pets?.value\n ]);\n useEffect(()=>{\n if (!value && items.length > 0) {\n setTimeout(()=>{\n const selectedPet = items.find((item)=>item.selected);\n const emptyPet = items.find((item)=>!item.value || item.value === '0') ?? items[0];\n onPetChange(selectedPet ?? emptyPet);\n });\n }\n }, [\n items,\n onPetChange,\n value\n ]);\n useEffect(()=>{\n if (value?.value && value?.value !== '0') {\n const newPet = cloneDeep(value);\n newPet.weight = setDefaultPetValue(newPet.weight, '10');\n if (newPet.carrier) {\n newPet.height = setDefaultPetValue(newPet.height, '10');\n newPet.length = setDefaultPetValue(newPet.length, '10');\n newPet.width = setDefaultPetValue(newPet.width, '10');\n }\n if (!isEqual(newPet, value)) {\n onPetChange(newPet);\n }\n }\n }, [\n onPetChange,\n value\n ]);\n const toggleLiterals = useMemo(()=>({\n yes: yes || MOCK_LITERALS_TOGGLE[Language.toLowerCase()] ? MOCK_LITERALS_TOGGLE[Language.toLowerCase()].yes : 'Yes',\n no: no || MOCK_LITERALS_TOGGLE[Language.toLowerCase()] ? MOCK_LITERALS_TOGGLE[Language.toLowerCase()].no : 'No'\n }), [\n Language,\n no,\n yes\n ]);\n return {\n petSelectValue,\n petSelectOptions,\n toggleLiterals,\n onPetChange,\n onPetWeightChange,\n onPetLengthChange,\n onPetHeightChange,\n onPetWidthChange,\n onPetCarrierChange\n };\n};\n\nexport { usePetInput as default };\n//# sourceMappingURL=usePetInput.js.map\n","function buildVehicleDefault(props) {\n let selected = props.data.items.filter((item)=>item.selected)[0];\n if (!selected) {\n // not found any, choose the first option\n selected = props.data.items[0];\n }\n // check is there is predefined values in the model\n if (props.data.trailer) {\n selected.trailer = props.data.trailer;\n selected.caravan = props.data.trailer;\n }\n if (props.data.trailerHeight) {\n selected.caravanHeight = props.data.trailerHeight;\n }\n if (props.data.trailerLength) {\n selected.caravanLength = props.data.trailerLength;\n }\n if (props.data.vehicleHeight) {\n selected.height = props.data.vehicleHeight;\n }\n if (props.data.vehicleLength) {\n selected.length = props.data.vehicleLength;\n }\n return selected;\n}\n\nexport { buildVehicleDefault };\n//# sourceMappingURL=utils.js.map\n","import contextBabylon from '@babylon/ui-kit-context';\nimport isEqual from '@babylon/ui-kit-helpers/is-equal';\nimport { useContext, useMemo, useCallback, useEffect } from 'react';\nimport { MOCK_LITERALS_TOGGLE } from '../../toggle/mock.js';\nimport { buildVehicleDefault } from '../utils.js';\nimport { defaultValuesVehicle } from '../utils/constants.js';\nimport { getValueInput, transformItemsToSelectOptions, transformItemToSelectOption } from '../utils/utils.js';\n\nconst useVehicleInputs = (props)=>{\n const { value, onChange, data, pets } = props;\n const { config, items = [] } = data || {};\n const { literals } = config ?? {};\n const { yes = '', no = '' } = literals ?? {};\n const { Language } = useContext(contextBabylon);\n const hasPets = useMemo(()=>!!pets, [\n pets\n ]);\n const inputValue = useMemo(()=>getValueInput(value, pets?.value, literals, hasPets), [\n hasPets,\n literals,\n pets?.value,\n value\n ]);\n const onVehicleChange = useCallback((newVehicleOption)=>{\n const newVehicle = items.find((item)=>item.value === newVehicleOption.value);\n if (newVehicle) {\n if (newVehicle.value && newVehicle.value !== '0') {\n if (newVehicle.length === undefined) newVehicle.length = newVehicle.defaultLength ?? defaultValuesVehicle.length;\n if (newVehicle.height === undefined) newVehicle.height = newVehicle.defaultHeight ?? defaultValuesVehicle.height;\n }\n onChange({\n ...newVehicleOption,\n ...newVehicle\n });\n }\n }, [\n items,\n onChange\n ]);\n const onLengthChange = useCallback((e)=>{\n if (value) {\n const newVehicle = {\n ...value,\n length: e.target.value\n };\n onChange(newVehicle);\n }\n }, [\n value,\n onChange\n ]);\n const onHeightChange = useCallback((e)=>{\n if (value) {\n const newVehicle = {\n ...value,\n height: e.target.value\n };\n onChange(newVehicle);\n }\n }, [\n value,\n onChange\n ]);\n const onCaravanChange = useCallback(()=>{\n if (value) {\n const newVehicle = {\n ...value,\n caravan: value?.caravan ? !value.caravan : true,\n caravanLength: defaultValuesVehicle.caravanLenght,\n caravanHeight: defaultValuesVehicle.caravanHeight\n };\n onChange(newVehicle);\n }\n }, [\n value,\n onChange\n ]);\n const onCaravanLengthChange = useCallback((e)=>{\n if (value) {\n const newVehicle = {\n ...value,\n caravanLength: e.target.value\n };\n onChange(newVehicle);\n }\n }, [\n value,\n onChange\n ]);\n const onCaravanHeightChange = useCallback((e)=>{\n if (value) {\n const newVehicle = {\n ...value,\n caravanHeight: e.target.value\n };\n onChange(newVehicle);\n }\n }, [\n value,\n onChange\n ]);\n const toggleLiterals = useMemo(()=>({\n yes: yes || MOCK_LITERALS_TOGGLE[Language.toLowerCase()] ? MOCK_LITERALS_TOGGLE[Language.toLowerCase()].yes : 'Yes',\n no: no || MOCK_LITERALS_TOGGLE[Language.toLowerCase()] ? MOCK_LITERALS_TOGGLE[Language.toLowerCase()].no : 'No'\n }), [\n Language,\n no,\n yes\n ]);\n const vehicleSelectOptions = useMemo(()=>items ? transformItemsToSelectOptions(items) : [], [\n items\n ]);\n const vehicleSelectValue = useMemo(()=>value && transformItemToSelectOption(value), [\n value\n ]);\n useEffect(()=>{\n if (!value && items.length > 0) {\n setTimeout(()=>{\n onVehicleChange(buildVehicleDefault(props));\n });\n }\n }, [\n items.length,\n onVehicleChange,\n props,\n value\n ]);\n useEffect(()=>{\n if (value?.value && value?.value !== '0') {\n const newValue = {\n ...value\n };\n if (newValue.height === undefined) newValue.height = newValue.defaultHeight ?? defaultValuesVehicle.height;\n if (newValue.length === undefined) newValue.length = newValue.defaultLength ?? defaultValuesVehicle.length;\n if (!isEqual(newValue, value)) {\n onVehicleChange(newValue);\n }\n }\n }, [\n onVehicleChange,\n value\n ]);\n return {\n hasPets,\n inputValue,\n vehicleSelectValue,\n vehicleSelectOptions,\n onVehicleChange,\n onLengthChange,\n onHeightChange,\n onCaravanChange,\n onCaravanLengthChange,\n onCaravanHeightChange,\n toggleLiterals\n };\n};\n\nexport { useVehicleInputs as default };\n//# sourceMappingURL=useVehicleInputs.js.map\n","import { Border } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst veciPetPropertiesStyles = {\n TooltipContent: ()=>/*#__PURE__*/ css([\n `input{`,\n `;}`,\n `;`\n ], ({ theme })=>Border({\n all: `1px solid ${theme.border.color.light}`\n }), ({ theme })=>Border({\n top: `1px solid ${theme.border.color.light}`\n }))\n};\n\nexport { veciPetPropertiesStyles 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 veciPetPropertiesStyles from './styles/veci.js';\n\nconst petPropertiesThemes = createThemes({\n [ThemeId.veci]: veciPetPropertiesStyles\n});\n\nexport { petPropertiesThemes as default };\n//# sourceMappingURL=index.js.map\n","import { FontMixin, FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Padding, Border, Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport petPropertiesThemes from './themes/index.js';\n\nconst TooltipContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TooltipContent\"\n})([\n ``,\n ` p{`,\n ` `,\n ` color:`,\n `;}input{`,\n ` width:100%;}`,\n ` `,\n ``\n], Padding({\n top: '16px',\n x: '16px',\n bottom: '12px'\n}), FontMixin({\n size: 'base',\n height: 'base',\n weight: 'bold'\n}), Padding({\n bottom: '2px'\n}), (props)=>props.theme.colors.grays.darker, ({ theme })=>Border({\n all: `1px solid ${theme.colors.grays.light}`\n }), ({ theme })=>Border({\n top: `1px solid ${theme.colors.grays.light}`\n }), petPropertiesThemes('TooltipContent'));\nconst PetInputs = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PetInputs\"\n})([\n ``,\n ` gap:16px;`\n], FlexMixin({\n wrap: true\n}));\nconst PetInput = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PetInput\"\n})([\n ``,\n ` flex:calc(50% - 8px) 0 1;`\n], Margin({\n y: '8px'\n}));\nconst VehicleLength = /*#__PURE__*/ styled(PetInput).withConfig({\n displayName: \"VehicleLength\"\n})([\n ``,\n ``\n], Margin({\n bottom: '0'\n}));\nconst VechicleHeight = /*#__PURE__*/ styled(PetInput).withConfig({\n displayName: \"VechicleHeight\"\n})([\n ``,\n ``\n], Margin({\n bottom: '0'\n}));\nconst VechicleWidth = /*#__PURE__*/ styled(PetInput).withConfig({\n displayName: \"VechicleWidth\"\n})([\n ``,\n ``\n], Margin({\n top: '0'\n}));\nconst TooltipVehicleWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TooltipVehicleWrapper\"\n})([\n ``,\n ``\n], Margin({\n y: '8px'\n}));\n\nexport { PetInput, PetInputs, TooltipContent, TooltipVehicleWrapper, VechicleHeight, VechicleWidth, VehicleLength };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx, Fragment } from 'react/jsx-runtime';\nimport Input from '../../../../../input/index.js';\nimport SelectDesktop from '../../../../../select/views/desktop/index.js';\nimport Toggle from '../../../../../toggle/index.js';\nimport usePetInput from '../../../../hooks/usePetInput.js';\nimport { checkPetValue } from '../../../../utils/utils.js';\nimport { TooltipContent, PetInputs, PetInput, TooltipVehicleWrapper, VehicleLength, VechicleHeight, VechicleWidth } from './styled.js';\n\nconst PetProperties = (props)=>{\n const { data, pets } = props;\n const { value } = pets ?? {};\n const { config } = data || {};\n const { literals } = config ?? {};\n const { widthLabel = '', weightLabel = '', lengthLabel = '', petCarrierLabel = '', petCategory = '', heightLabel = '', petLabel = '' } = literals ?? {};\n const { toggleLiterals, onPetWidthChange, onPetLengthChange, onPetHeightChange, onPetCarrierChange, onPetWeightChange, onPetChange, petSelectOptions, petSelectValue } = usePetInput(props);\n if (!pets) return null;\n return /*#__PURE__*/ jsxs(TooltipContent, {\n \"data-testid\": \"TooltipPet\",\n children: [\n petLabel && /*#__PURE__*/ jsx(\"p\", {\n children: petLabel\n }),\n /*#__PURE__*/ jsxs(PetInputs, {\n children: [\n /*#__PURE__*/ jsx(PetInput, {\n \"data-testid\": \"SelectPet\",\n children: /*#__PURE__*/ jsx(SelectDesktop, {\n onBlur: pets.onBlur,\n placeholder: petCategory || petLabel,\n onChange: onPetChange,\n options: petSelectOptions,\n value: petSelectValue\n })\n }),\n !!value?.value && /*#__PURE__*/ jsx(PetInput, {\n children: /*#__PURE__*/ jsx(Input, {\n onBlur: pets.onBlur,\n onChange: onPetWeightChange,\n label: weightLabel,\n value: typeof value.weight === 'number' ? String(value.weight) : value.weight,\n type: \"number\",\n hasError: checkPetValue(value.weight)\n })\n })\n ]\n }),\n !!value?.value && /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsx(TooltipVehicleWrapper, {\n \"data-testid\": \"ToggleTrailer\",\n children: /*#__PURE__*/ jsx(Toggle, {\n label: petCarrierLabel,\n name: petCarrierLabel,\n checked: value.carrier ? value.carrier : false,\n onChange: onPetCarrierChange,\n literals: toggleLiterals\n })\n }),\n value.carrier && /*#__PURE__*/ jsxs(PetInputs, {\n children: [\n /*#__PURE__*/ jsx(VehicleLength, {\n children: /*#__PURE__*/ jsx(Input, {\n onBlur: pets.onBlur,\n onChange: onPetLengthChange,\n label: lengthLabel,\n value: typeof value.length === 'number' ? String(value.length) : value.length,\n type: \"number\",\n hasError: checkPetValue(value.length)\n })\n }),\n /*#__PURE__*/ jsx(VechicleHeight, {\n children: /*#__PURE__*/ jsx(Input, {\n onBlur: pets.onBlur,\n onChange: onPetHeightChange,\n label: heightLabel,\n value: typeof value.height === 'number' ? String(value.height) : value.height,\n type: \"number\",\n hasError: checkPetValue(value.height)\n })\n }),\n /*#__PURE__*/ jsx(VechicleWidth, {\n children: /*#__PURE__*/ jsx(Input, {\n onBlur: pets.onBlur,\n onChange: onPetWidthChange,\n label: widthLabel,\n value: typeof value.width === 'number' ? String(value.width) : value.width,\n type: \"number\",\n hasError: checkPetValue(value.width)\n })\n })\n ]\n })\n ]\n })\n ]\n });\n};\n\nexport { PetProperties as default };\n//# sourceMappingURL=index.js.map\n","import { Border } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst clubDeVacacionesVehiclePropertiesStyles = {\n TooltipContent: ()=>/*#__PURE__*/ css([\n `input{`,\n `}`\n ], Border({\n all: 'unset'\n }))\n};\n\nexport { clubDeVacacionesVehiclePropertiesStyles as default };\n//# sourceMappingURL=clubDeVacaciones.js.map\n","import { Border } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst tourMundialVehiclePropertiesStyles = {\n TooltipContent: ()=>/*#__PURE__*/ css([\n `input{`,\n `}`\n ], Border({\n all: 'unset'\n }))\n};\n\nexport { tourMundialVehiclePropertiesStyles as default };\n//# sourceMappingURL=tourMundial.js.map\n","import { Border } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst veciVehiclePropertiesStyles = {\n TooltipContent: ()=>/*#__PURE__*/ css([\n `input{`,\n `;}`\n ], ({ theme })=>Border({\n all: `1px solid ${theme.border.color.light}`\n }))\n};\n\nexport { veciVehiclePropertiesStyles 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 clubDeVacacionesVehiclePropertiesStyles from './styles/clubDeVacaciones.js';\nimport tourMundialVehiclePropertiesStyles from './styles/tourMundial.js';\nimport veciVehiclePropertiesStyles from './styles/veci.js';\n\nconst vechiclePropertiesThemes = createThemes({\n [ThemeId.veci]: veciVehiclePropertiesStyles,\n [ThemeId.tourMundial]: tourMundialVehiclePropertiesStyles,\n [ThemeId.clubDeVacaciones]: clubDeVacacionesVehiclePropertiesStyles\n});\n\nexport { vechiclePropertiesThemes as default };\n//# sourceMappingURL=index.js.map\n","import { FontMixin, FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Padding, Border, Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport vechiclePropertiesThemes from './themes/index.js';\n\nconst TooltipContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TooltipContent\"\n})([\n ``,\n ` p{`,\n ` `,\n ` color:`,\n `;}input{`,\n ` width:100%;}`,\n ``\n], Padding({\n top: '16px',\n x: '16px',\n bottom: '24px'\n}), FontMixin({\n size: 'base',\n height: 'base',\n weight: 'bold'\n}), Padding({\n bottom: '2px'\n}), (props)=>props.theme.colors.grays.darker, ({ theme })=>Border({\n all: `1px solid ${theme.colors.grays.light}`\n }), vechiclePropertiesThemes('TooltipContent'));\nconst TooltipVehicleWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TooltipVehicleWrapper\"\n})([\n ``\n]);\nconst VehicleInput = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"VehicleInput\"\n})([\n ``,\n ``\n], Margin({\n top: '8px'\n}));\nconst VehicleInputDimensions = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"VehicleInputDimensions\"\n})([\n ``,\n ` `,\n ` width:calc(100% + 16px);`\n], FlexMixin({\n direction: 'row',\n align: 'center',\n wrap: true\n}), Margin({\n x: '-8px',\n y: '16px'\n}));\nconst Caravan = /*#__PURE__*/ styled(VehicleInputDimensions).withConfig({\n displayName: \"Caravan\"\n})([\n ``,\n ``\n], Margin({\n bottom: '0'\n}));\nconst InputItem = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"InputItem\"\n})([\n ``,\n ` `,\n ` width:50%;`\n], FlexMixin({}), Padding({\n y: '0',\n x: '8px'\n}));\nconst ErrorWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ErrorWrapper\"\n})([\n ``,\n ` `,\n ` background-color:`,\n `;color:`,\n `;`\n], FontMixin({\n size: 'small',\n height: 'base',\n weight: 'regular'\n}), Padding({\n all: '10px'\n}), ({ theme })=>theme.colors.status.danger, ({ theme })=>theme.colors.white.base);\n\nexport { Caravan, ErrorWrapper, InputItem, TooltipContent, TooltipVehicleWrapper, VehicleInput, VehicleInputDimensions };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, Fragment, jsx } from 'react/jsx-runtime';\nimport Input from '../../../../../input/index.js';\nimport SelectDesktop from '../../../../../select/views/desktop/index.js';\nimport Toggle from '../../../../../toggle/index.js';\nimport useVehicleInputs from '../../../../hooks/useVehicleInputs.js';\nimport { defaultValuesVehicle } from '../../../../utils/constants.js';\nimport { getInputValue, getStringWithUnits, getHasError } from '../../../../utils/utils.js';\nimport PetProperties from '../pet-properties/index.js';\nimport { TooltipContent, TooltipVehicleWrapper, VehicleInput, VehicleInputDimensions, InputItem, Caravan, ErrorWrapper } from './styled.js';\n\nconst VehicleProperties = (props)=>{\n const { data, value: selectedVehicle } = props;\n const { config, title, vehicleHeight = selectedVehicle?.defaultHeight ?? defaultValuesVehicle.height, vehicleLength = selectedVehicle?.defaultLength ?? defaultValuesVehicle.length, trailerLength = defaultValuesVehicle.caravanLenght, trailerHeight = defaultValuesVehicle.caravanHeight } = data ?? {};\n const { literals } = config ?? {};\n const { vehicleLabel = '', heightLabel = '', lengthLabel = '', trailerLabel = '', units = '', selectVehicleLabel = '' } = literals ?? {};\n const { vehicleSelectValue, vehicleSelectOptions, onVehicleChange, onHeightChange, onLengthChange, onCaravanChange, onCaravanLengthChange, onCaravanHeightChange, toggleLiterals } = useVehicleInputs(props);\n return /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsxs(TooltipContent, {\n \"data-testid\": \"TooltipVehicle\",\n children: [\n title && /*#__PURE__*/ jsx(\"p\", {\n children: title\n }),\n /*#__PURE__*/ jsxs(TooltipVehicleWrapper, {\n children: [\n /*#__PURE__*/ jsx(VehicleInput, {\n \"data-testid\": \"SelectVehicle\",\n children: /*#__PURE__*/ jsx(SelectDesktop, {\n placeholder: selectVehicleLabel || vehicleLabel,\n onChange: onVehicleChange,\n options: vehicleSelectOptions,\n value: vehicleSelectValue\n })\n }),\n selectedVehicle?.trailer && /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsxs(VehicleInputDimensions, {\n children: [\n /*#__PURE__*/ jsx(InputItem, {\n children: /*#__PURE__*/ jsx(Input, {\n value: getInputValue(selectedVehicle.length, vehicleLength),\n label: getStringWithUnits(lengthLabel, units),\n onChange: onLengthChange,\n autoComplete: \"off\",\n hasError: getHasError(selectedVehicle.length),\n type: \"number\"\n })\n }),\n /*#__PURE__*/ jsx(InputItem, {\n children: /*#__PURE__*/ jsx(Input, {\n value: getInputValue(selectedVehicle.height, vehicleHeight),\n label: getStringWithUnits(heightLabel, units),\n onChange: onHeightChange,\n autoComplete: \"off\",\n type: \"number\",\n hasError: getHasError(selectedVehicle.height)\n })\n })\n ]\n }),\n /*#__PURE__*/ jsx(TooltipVehicleWrapper, {\n \"data-testid\": \"ToggleTrailer\",\n children: /*#__PURE__*/ jsx(Toggle, {\n label: trailerLabel,\n name: trailerLabel,\n checked: selectedVehicle.caravan ? selectedVehicle.caravan : false,\n onChange: onCaravanChange,\n literals: toggleLiterals\n })\n }),\n selectedVehicle.caravan && /*#__PURE__*/ jsxs(Caravan, {\n \"data-testid\": \"TrailerActive\",\n children: [\n /*#__PURE__*/ jsx(InputItem, {\n children: /*#__PURE__*/ jsx(Input, {\n value: getInputValue(selectedVehicle.caravanLength, trailerLength),\n label: getStringWithUnits(lengthLabel, units),\n onChange: onCaravanLengthChange,\n autoComplete: \"off\",\n hasError: getHasError(selectedVehicle.caravanLength),\n type: \"number\"\n })\n }),\n /*#__PURE__*/ jsx(InputItem, {\n children: /*#__PURE__*/ jsx(Input, {\n value: getInputValue(selectedVehicle.caravanHeight, trailerHeight),\n label: getStringWithUnits(heightLabel, units),\n onChange: onCaravanHeightChange,\n autoComplete: \"off\",\n type: \"number\",\n hasError: getHasError(selectedVehicle.caravanHeight)\n })\n })\n ]\n })\n ]\n })\n ]\n })\n ]\n }),\n /*#__PURE__*/ jsx(PetProperties, {\n ...props\n }),\n (!!props.error || props.pets?.error) && /*#__PURE__*/ jsx(ErrorWrapper, {\n children: props.error ?? props.pets?.error\n })\n ]\n });\n};\n\nexport { VehicleProperties as default };\n//# sourceMappingURL=index.js.map\n","import { InputLabel } from '../../../input/styled.js';\nimport { FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst PanelVehicleFooter = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PanelVehicleFooter\"\n})([\n ``,\n ``\n], FlexMixin({\n justify: 'flex-end'\n}));\nconst PanelVehicle = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PanelVehicle\"\n})([\n ``,\n `{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:170px;}`\n], InputLabel);\n\nexport { PanelVehicle, PanelVehicleFooter };\n//# sourceMappingURL=styled.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport { Button } from '@babylon/ui-kit-base/components/buttons/button';\nimport InputPanelDesktop from '../../../../others/input-panel/views/desktop/index.js';\nimport { forwardRef, useRef, useImperativeHandle, useMemo } from 'react';\nimport useFormPanelVehicle from '../../hooks/useFormPanelVehicle.js';\nimport usePetInput from '../../hooks/usePetInput.js';\nimport useVehicleInputs from '../../hooks/useVehicleInputs.js';\nimport VehicleProperties from './components/vehicle-properties/index.js';\nimport { PanelVehicleFooter, PanelVehicle } from './styled.js';\n\nconst PanelVehicleDesktop = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { data, onBlur, hasError, error, pets } = props;\n const { config } = data || {};\n const { literals } = config ?? {};\n const { vehicleLabel = '', accept = '' } = literals ?? {};\n const refInput = useRef(null);\n useImperativeHandle(ref, ()=>refInput.current);\n const { inputValue } = useVehicleInputs(props);\n usePetInput(props);\n const inputProps = useMemo(()=>({\n label: vehicleLabel,\n value: inputValue,\n onBlur,\n icon: 'car',\n hasError: hasError ?? pets?.hasError,\n error: error ?? pets?.error\n }), [\n error,\n hasError,\n inputValue,\n onBlur,\n pets?.error,\n pets?.hasError,\n vehicleLabel\n ]);\n const panel = useMemo(()=>({\n content: /*#__PURE__*/ jsx(VehicleProperties, {\n ...props\n }),\n footer: accept ? ({ close })=>/*#__PURE__*/ jsx(PanelVehicleFooter, {\n children: /*#__PURE__*/ jsx(Button, {\n variant: \"primary\",\n size: \"small\",\n onClick: close,\n children: accept\n })\n }) : undefined\n }), [\n accept,\n props\n ]);\n return /*#__PURE__*/ jsx(PanelVehicle, {\n \"data-testid\": \"PanelVehicle\",\n children: /*#__PURE__*/ jsx(InputPanelDesktop, {\n ref: refInput,\n inputProps: inputProps,\n panel: panel\n })\n });\n});\nPanelVehicleDesktop.displayName = 'PanelVehicleDesktop';\nconst FormPanelVehicleDesktop = (props)=>{\n const finalProps = useFormPanelVehicle(props);\n return /*#__PURE__*/ jsx(PanelVehicleDesktop, {\n ...finalProps\n });\n};\n\nexport { FormPanelVehicleDesktop, PanelVehicleDesktop 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 DiscountWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"DiscountWrapper\"\n})([\n `padding:16px 16px 8px;margin-top:12px;background-color:`,\n `;border-bottom:2px solid `,\n `;& > p{`,\n ` color:`,\n `;margin-bottom:8px;}`\n], ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.primary.lighter, FontMixin({\n size: 'large',\n weight: 'medium',\n height: 'large'\n}), ({ theme })=>theme.colors.grays.darker);\nconst ContainerSelect = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ContainerSelect\"\n})([\n `& > :not(:last-child){border-bottom:1px solid `,\n `;}& .react-select__control{height:56px;padding:0px;}& .react-select__placeholder{position:static;`,\n ` color:`,\n `;}`\n], ({ theme })=>theme.colors.grays.light, FontMixin({\n size: 'base',\n weight: 'light',\n height: 'base'\n}), ({ theme })=>theme.colors.grays.dark);\n\nexport { ContainerSelect, DiscountWrapper };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport SelectMobile from '../../../../../../../select/views/mobile/index.js';\nimport { DiscountWrapper, ContainerSelect } from './styled.js';\n\nconst DiscountMobile = ({ title, discount, resident, discounts, residents })=>/*#__PURE__*/ jsxs(DiscountWrapper, {\n \"data-testid\": \"DiscountMobile\",\n children: [\n /*#__PURE__*/ jsx(\"p\", {\n children: title\n }),\n /*#__PURE__*/ jsxs(ContainerSelect, {\n children: [\n discounts && discount && discounts.items?.length && discounts.items.length > 1 && /*#__PURE__*/ jsx(SelectMobile, {\n ref: discount.ref,\n onBlur: discount.onBlur,\n value: discount.value,\n onChange: discount.onChange,\n placeholder: discounts.label,\n options: discounts.items,\n enableSearch: false,\n variant: \"horizontal\",\n menuVariant: \"floating\"\n }),\n residents && resident && residents.items?.length && residents.items.length > 1 && /*#__PURE__*/ jsx(SelectMobile, {\n ref: resident.ref,\n onBlur: resident.onBlur,\n value: resident.value,\n onChange: resident.onChange,\n placeholder: residents.label,\n options: residents.items,\n variant: \"horizontal\",\n enableSearch: false,\n menuVariant: \"floating\"\n })\n ]\n })\n ]\n });\n\nexport { DiscountMobile as default };\n//# sourceMappingURL=index.js.map\n","import useAccommodationMobile from '../../../../../hooks/useAccommodationMobile.js';\nimport { useState, useEffect, useCallback } from 'react';\n\nconst useAccommodationWithDiscountsMobile = (props)=>{\n const { value, discount, resident } = props;\n const { inputProps, isOpen, config, people, panelRooms, hasError, error, goToLast, onChangeRooms, onAddRoom, onAccept, setIsOpen } = useAccommodationMobile(props);\n const [tempDiscount, setTempDiscount] = useState(discount?.value);\n const [tempResident, setTempResident] = useState(resident?.value);\n useEffect(()=>{\n if (!isOpen) {\n setTempDiscount(discount?.value);\n setTempResident(resident?.value);\n }\n }, [\n discount?.value,\n error,\n isOpen,\n resident?.value,\n value\n ]);\n const onAcceptWithDiscounts = useCallback((close)=>()=>{\n discount?.onChange?.(tempDiscount, {\n action: 'select-option',\n option: tempDiscount\n });\n resident?.onChange?.(tempResident, {\n action: 'select-option',\n option: tempResident\n });\n onAccept(close)();\n }, [\n discount,\n onAccept,\n resident,\n tempDiscount,\n tempResident\n ]);\n return {\n inputProps,\n isOpen,\n config,\n people,\n panelRooms,\n tempDiscount,\n tempResident,\n hasError,\n error,\n goToLast,\n onAccept: onAcceptWithDiscounts,\n setIsOpen,\n onChangeRooms,\n onAddRoom,\n setTempDiscount,\n setTempResident\n };\n};\n\nexport { useAccommodationWithDiscountsMobile as default };\n//# sourceMappingURL=useAccommodationWithDiscountsMobile.js.map\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport { ButtonPanel } from '@babylon/ui-kit-base/components/buttons/button';\nimport PanelAccommodationMobile from '../../../../components/panel-accommodation/views/mobile/index.js';\nimport InputPanelMobile from '../../../../../../others/input-panel/views/mobile/index.js';\nimport { forwardRef, useCallback, useMemo } from 'react';\nimport AddRoom from '../../../../components/add-room/index.js';\nimport PanelErrorMobile from '../../../../components/panel-accommodation/components/panel-error/views/mobile/index.js';\nimport useFormAccommodationWithDiscounts from '../../../../hooks/useFormAccommodationWithDiscounts.js';\nimport DiscountMobile from '../../components/discount/views/mobile/index.js';\nimport useAccommodationWithDiscountsMobile from './hooks/useAccommodationWithDiscountsMobile.js';\nimport { AccommodationPanelWrapper, AccommodationPanelContent, AccommodationPanelFooter } from '../../../simple/views/mobile/styled.js';\n\nconst AccommodationWithDiscountsMobile = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { literals, discounts, residents, disableAges = false } = props;\n const { addRoom = '', accommodationTitle = '', accept = '', discountTitle = '', accommodationLabel = '' } = literals ?? {};\n const { inputProps, config, people, panelRooms, tempDiscount, tempResident, goToLast, hasError, error, onAccept, setIsOpen, onAddRoom, onChangeRooms, setTempDiscount, setTempResident } = useAccommodationWithDiscountsMobile(props);\n const renderFooter = useCallback(({ close })=>/*#__PURE__*/ jsx(ButtonPanel, {\n onClick: onAccept(close),\n children: accept\n }), [\n accept,\n onAccept\n ]);\n const discount = useMemo(()=>({\n value: tempDiscount,\n onChange: setTempDiscount\n }), [\n setTempDiscount,\n tempDiscount\n ]);\n const resident = useMemo(()=>({\n value: tempResident,\n onChange: setTempResident\n }), [\n setTempResident,\n tempResident\n ]);\n const panel = useMemo(()=>({\n beforeContent: error && /*#__PURE__*/ jsx(PanelErrorMobile, {\n error: error\n }),\n content: /*#__PURE__*/ jsx(AccommodationPanelWrapper, {\n \"data-testid\": \"AccommodationPanel\",\n children: /*#__PURE__*/ jsxs(AccommodationPanelContent, {\n children: [\n /*#__PURE__*/ jsx(PanelAccommodationMobile, {\n config: config,\n disableAges: disableAges,\n error: error,\n goToLast: goToLast,\n onChange: onChangeRooms,\n people: people,\n rooms: panelRooms\n }),\n /*#__PURE__*/ jsx(AccommodationPanelFooter, {\n children: /*#__PURE__*/ jsx(AddRoom, {\n addRoom: addRoom,\n onAddRoom: onAddRoom,\n hasError: hasError\n })\n }),\n discounts && /*#__PURE__*/ jsx(AccommodationPanelFooter, {\n children: /*#__PURE__*/ jsx(DiscountMobile, {\n discount: discount,\n discounts: discounts,\n resident: resident,\n residents: residents,\n title: discountTitle\n })\n })\n ]\n })\n }),\n header: accommodationTitle || accommodationLabel,\n onChange: setIsOpen,\n footer: renderFooter\n }), [\n accommodationLabel,\n accommodationTitle,\n addRoom,\n config,\n disableAges,\n discount,\n discountTitle,\n discounts,\n error,\n goToLast,\n hasError,\n onAddRoom,\n onChangeRooms,\n panelRooms,\n people,\n renderFooter,\n resident,\n residents,\n setIsOpen\n ]);\n const modalProps = useMemo(()=>({\n color: 'primary'\n }), []);\n return /*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"AccommodationWithDiscounts\",\n children: /*#__PURE__*/ jsx(InputPanelMobile, {\n ref: ref,\n inputProps: inputProps,\n panel: panel,\n modalProps: modalProps\n })\n });\n});\nAccommodationWithDiscountsMobile.displayName = 'AccommodationWithDiscountsMobile';\nconst FormAccommodationWithDiscountsMobile = (props)=>{\n const finalProps = useFormAccommodationWithDiscounts(props);\n return /*#__PURE__*/ jsx(AccommodationWithDiscountsMobile, {\n ...finalProps\n });\n};\n\nexport { FormAccommodationWithDiscountsMobile, AccommodationWithDiscountsMobile 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 TooltipContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TooltipContent\"\n})([\n `padding:16px;p{`,\n ` color:`,\n `;padding-bottom:2px;}`\n], FontMixin({\n size: 'large',\n height: 'large',\n weight: 'medium'\n}), (props)=>props.theme.colors.grays.darker);\nconst PetInput = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PetInput\"\n})([\n `border-bottom:1px solid `,\n `;margin-bottom:16px;`\n], ({ theme })=>theme.colors.grays.light);\nconst TooltipVehicleWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TooltipVehicleWrapper\"\n})([\n `margin-bottom:16px;`\n]);\n\nexport { PetInput, TooltipContent, TooltipVehicleWrapper };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx, Fragment } from 'react/jsx-runtime';\nimport Input from '../../../../../input/index.js';\nimport SelectMobile from '../../../../../select/views/mobile/index.js';\nimport Toggle from '../../../../../toggle/index.js';\nimport usePetInput from '../../../../hooks/usePetInput.js';\nimport { checkPetValue } from '../../../../utils/utils.js';\nimport { TooltipContent, PetInput, TooltipVehicleWrapper } from './styled.js';\n\nconst PetProperties = (props)=>{\n const { data, pets } = props;\n const { value } = pets ?? {};\n const { config } = data || {};\n const { literals } = config ?? {};\n const { petLabel = '', petCategory = '', weightLabel = '', petCarrierLabel = '', lengthLabel = '', heightLabel = '', widthLabel = '' } = literals ?? {};\n const { petSelectValue, petSelectOptions, onPetChange, onPetWeightChange, onPetCarrierChange, onPetHeightChange, onPetLengthChange, onPetWidthChange, toggleLiterals } = usePetInput(props);\n if (!pets) return null;\n return /*#__PURE__*/ jsxs(TooltipContent, {\n \"data-testid\": \"TooltipPet\",\n children: [\n petLabel && /*#__PURE__*/ jsx(\"p\", {\n children: petLabel\n }),\n /*#__PURE__*/ jsx(PetInput, {\n \"data-testid\": \"SelectPet\",\n children: /*#__PURE__*/ jsx(SelectMobile, {\n onBlur: pets.onBlur,\n placeholder: petCategory || petLabel,\n onChange: onPetChange,\n options: petSelectOptions,\n value: petSelectValue,\n variant: \"horizontal\",\n menuVariant: \"floating\"\n })\n }),\n !!value?.value && /*#__PURE__*/ jsx(PetInput, {\n children: /*#__PURE__*/ jsx(Input, {\n onBlur: pets.onBlur,\n onChange: onPetWeightChange,\n label: weightLabel,\n value: typeof value.weight === 'number' ? String(value.weight) : value.weight,\n type: \"number\",\n variant: \"horizontal\",\n autoComplete: \"off\",\n hasError: checkPetValue(value.weight)\n })\n }),\n !!value?.value && /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsx(TooltipVehicleWrapper, {\n \"data-testid\": \"ToggleTrailer\",\n children: /*#__PURE__*/ jsx(Toggle, {\n label: petCarrierLabel,\n name: petCarrierLabel,\n checked: value.carrier ? value.carrier : false,\n onChange: onPetCarrierChange,\n literals: toggleLiterals\n })\n }),\n value.carrier && /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsx(PetInput, {\n children: /*#__PURE__*/ jsx(Input, {\n onBlur: pets.onBlur,\n onChange: onPetLengthChange,\n label: lengthLabel,\n value: typeof value.length === 'number' ? String(value.length) : value.length,\n type: \"number\",\n variant: \"horizontal\",\n autoComplete: \"off\",\n hasError: checkPetValue(value.length)\n })\n }),\n /*#__PURE__*/ jsx(PetInput, {\n children: /*#__PURE__*/ jsx(Input, {\n onBlur: pets.onBlur,\n onChange: onPetHeightChange,\n label: heightLabel,\n value: typeof value.height === 'number' ? String(value.height) : value.height,\n type: \"number\",\n variant: \"horizontal\",\n autoComplete: \"off\",\n hasError: checkPetValue(value.height)\n })\n }),\n /*#__PURE__*/ jsx(PetInput, {\n children: /*#__PURE__*/ jsx(Input, {\n onBlur: pets.onBlur,\n onChange: onPetWidthChange,\n label: widthLabel,\n value: typeof value.width === 'number' ? String(value.width) : value.width,\n type: \"number\",\n variant: \"horizontal\",\n autoComplete: \"off\",\n hasError: checkPetValue(value.width)\n })\n })\n ]\n })\n ]\n })\n ]\n });\n};\n\nexport { PetProperties as default };\n//# sourceMappingURL=index.js.map\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Padding, Border } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst universalMusicVehiclePropertiesStyles = {\n VehicleInput: ()=>/*#__PURE__*/ css([\n `label{`,\n ` `,\n ` display:flex;align-self:center;}input{`,\n ` `,\n `}`\n ], Padding({\n left: '14px'\n }), FontMixin({\n size: 'large'\n }), Padding({\n all: '0px',\n left: '14px',\n top: '10px'\n }), Border({\n all: '0px'\n })),\n VehicleInputDimensions: ()=>/*#__PURE__*/ css([\n `label{`,\n ` `,\n ` display:flex;align-self:center;}input{`,\n ` `,\n `}`\n ], Padding({\n left: '14px'\n }), FontMixin({\n size: 'large'\n }), Padding({\n all: '0px',\n left: '14px',\n top: '10px'\n }), Border({\n all: '0px'\n }))\n};\n\nexport { universalMusicVehiclePropertiesStyles as default };\n//# sourceMappingURL=universalMusic.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport universalMusicVehiclePropertiesStyles from './styles/universalMusic.js';\n\nconst vehiclePropertiesTheme = createThemes({\n [ThemeId.partnershipsUniversalMusic]: universalMusicVehiclePropertiesStyles\n});\n\nexport { vehiclePropertiesTheme as default };\n//# sourceMappingURL=index.js.map\n","import { FontMixin, FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\nimport vehiclePropertiesTheme from './themes/index.js';\n\nconst TooltipContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TooltipContent\"\n})([\n `padding:16px;p{`,\n ` color:`,\n `;padding-bottom:2px;}`\n], FontMixin({\n size: 'large',\n height: 'large',\n weight: 'medium'\n}), (props)=>props.theme.colors.grays.darker);\nconst TooltipVehicleWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TooltipVehicleWrapper\"\n})([\n `margin-bottom:16px;`,\n ``\n], vehiclePropertiesTheme('TooltipVehicleWrapper'));\nconst VehicleInput = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"VehicleInput\"\n})([\n `border-bottom:1px solid `,\n `;margin-bottom:16px;`,\n ``\n], ({ theme })=>theme.colors.grays.light, vehiclePropertiesTheme('VehicleInput'));\nconst VehicleInputDimensions = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"VehicleInputDimensions\"\n})([\n ``,\n ` margin-bottom:16px;width:100%;border-bottom:1px solid `,\n `;`,\n ``\n], FlexMixin({\n direction: 'row',\n align: 'center',\n wrap: true\n}), ({ theme })=>theme.colors.grays.light, vehiclePropertiesTheme('VehicleInputDimensions'));\nconst InputItem = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"InputItem\"\n})([\n ``,\n ` padding:0 8px;width:100%;`\n], FlexMixin({}));\n\nexport { InputItem, TooltipContent, TooltipVehicleWrapper, VehicleInput, VehicleInputDimensions };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, Fragment, jsx } from 'react/jsx-runtime';\nimport Input from '../../../../../input/index.js';\nimport SelectMobile from '../../../../../select/views/mobile/index.js';\nimport Toggle from '../../../../../toggle/index.js';\nimport useVehicleInputs from '../../../../hooks/useVehicleInputs.js';\nimport { defaultValuesVehicle } from '../../../../utils/constants.js';\nimport { getInputValue, getStringWithUnits, getHasError } from '../../../../utils/utils.js';\nimport PetProperties from '../pet-properties/index.js';\nimport { TooltipContent, TooltipVehicleWrapper, VehicleInput, VehicleInputDimensions } from './styled.js';\n\nconst VehiclePropertiesMobile = (props)=>{\n const { data, value: selectedVehicle } = props;\n const { config, title, vehicleHeight = defaultValuesVehicle.height, vehicleLength = defaultValuesVehicle.length, trailerLength = defaultValuesVehicle.caravanLenght, trailerHeight = defaultValuesVehicle.caravanHeight } = data || {};\n const { literals } = config ?? {};\n const { vehicleLabel = '', heightLabel = '', lengthLabel = '', trailerLabel = '', units = '' } = literals ?? {};\n const { vehicleSelectValue, vehicleSelectOptions, onVehicleChange, onHeightChange, onLengthChange, onCaravanChange, onCaravanLengthChange, onCaravanHeightChange, toggleLiterals } = useVehicleInputs(props);\n return /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsxs(TooltipContent, {\n \"data-testid\": \"ModalVehicle\",\n children: [\n title && /*#__PURE__*/ jsx(\"p\", {\n children: title\n }),\n /*#__PURE__*/ jsxs(TooltipVehicleWrapper, {\n children: [\n /*#__PURE__*/ jsx(VehicleInput, {\n children: /*#__PURE__*/ jsx(SelectMobile, {\n placeholder: vehicleLabel,\n onChange: onVehicleChange,\n variant: \"horizontal\",\n menuVariant: \"floating\",\n options: vehicleSelectOptions,\n value: vehicleSelectValue\n })\n }),\n selectedVehicle?.trailer && /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsx(VehicleInputDimensions, {\n children: /*#__PURE__*/ jsx(Input, {\n value: getInputValue(selectedVehicle.length, vehicleLength),\n label: getStringWithUnits(lengthLabel, units),\n onChange: onLengthChange,\n type: \"number\",\n variant: \"horizontal\",\n autoComplete: \"off\",\n hasError: getHasError(selectedVehicle.length)\n })\n }),\n /*#__PURE__*/ jsx(VehicleInputDimensions, {\n children: /*#__PURE__*/ jsx(Input, {\n value: getInputValue(selectedVehicle.height, vehicleHeight),\n label: getStringWithUnits(heightLabel, units),\n onChange: onHeightChange,\n type: \"number\",\n variant: \"horizontal\",\n autoComplete: \"off\",\n hasError: getHasError(selectedVehicle.height)\n })\n }),\n /*#__PURE__*/ jsx(TooltipVehicleWrapper, {\n children: /*#__PURE__*/ jsx(Toggle, {\n label: trailerLabel,\n name: trailerLabel,\n checked: selectedVehicle.caravan ? selectedVehicle.caravan : false,\n onChange: onCaravanChange,\n \"data-testid\": \"Toggle\",\n literals: toggleLiterals\n })\n }),\n selectedVehicle.caravan && /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsx(VehicleInputDimensions, {\n children: /*#__PURE__*/ jsx(Input, {\n value: getInputValue(selectedVehicle.caravanLength, trailerLength),\n label: getStringWithUnits(lengthLabel, units),\n onChange: onCaravanLengthChange,\n type: \"number\",\n variant: \"horizontal\",\n autoComplete: \"off\",\n hasError: getHasError(selectedVehicle.caravanLength)\n })\n }),\n /*#__PURE__*/ jsx(VehicleInputDimensions, {\n children: /*#__PURE__*/ jsx(Input, {\n value: getInputValue(selectedVehicle.caravanHeight, trailerHeight),\n label: getStringWithUnits(heightLabel, units),\n onChange: onCaravanHeightChange,\n type: \"number\",\n variant: \"horizontal\",\n autoComplete: \"off\",\n hasError: getHasError(selectedVehicle.caravanHeight)\n })\n })\n ]\n })\n ]\n })\n ]\n })\n ]\n }),\n /*#__PURE__*/ jsx(PetProperties, {\n ...props\n })\n ]\n });\n};\n\nexport { VehiclePropertiesMobile 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 ErrorWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ErrorWrapper\"\n})([\n ``,\n ` padding:10px;background-color:`,\n `;color:`,\n `;`\n], FontMixin({\n size: 'small',\n height: 'base',\n weight: 'regular'\n}), ({ theme })=>theme.colors.status.danger, ({ theme })=>theme.colors.white.base);\n\nexport { ErrorWrapper };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport { ButtonPanel } from '@babylon/ui-kit-base/components/buttons/button';\nimport InputPanelMobile from '../../../../others/input-panel/views/mobile/index.js';\nimport { forwardRef, useState, useCallback, useMemo } from 'react';\nimport useFormPanelVehicle from '../../hooks/useFormPanelVehicle.js';\nimport useVehicleInputs from '../../hooks/useVehicleInputs.js';\nimport VehiclePropertiesMobile from './components/vehicle-properties/index.js';\nimport { ErrorWrapper } from './styled.js';\n\nconst PanelVehicleMobile = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { data, value: selectedVehicle, onBlur } = props;\n const { config, title } = data || {};\n const { literals } = config ?? {};\n const { accept = '', vehicleLabel = '' } = literals ?? {};\n const { inputValue, onVehicleChange } = useVehicleInputs(props);\n const [tempValue, setTempValue] = useState(undefined);\n const confirmVehicle = useCallback((close)=>()=>{\n setTempValue(undefined);\n close();\n }, []);\n const renderFooter = useCallback(({ close })=>/*#__PURE__*/ jsxs(\"div\", {\n \"data-testid\": \"VehiclesFooter\",\n children: [\n (!!props.error || props.pets?.error) && /*#__PURE__*/ jsx(ErrorWrapper, {\n children: props.error ?? props.pets?.error\n }),\n !props.hasError && !props.pets?.hasError && /*#__PURE__*/ jsx(ButtonPanel, {\n onClick: confirmVehicle(close),\n children: accept\n })\n ]\n }), [\n props.error,\n props.pets?.error,\n props.pets?.hasError,\n props.hasError,\n confirmVehicle,\n accept\n ]);\n const closeModal = useCallback(()=>{\n if (tempValue !== undefined) {\n onVehicleChange(tempValue);\n setTempValue(undefined);\n }\n }, [\n onVehicleChange,\n tempValue\n ]);\n const openModal = useCallback((open)=>{\n if (open && tempValue === undefined) {\n setTempValue(selectedVehicle);\n }\n }, [\n selectedVehicle,\n tempValue\n ]);\n const inputProps = useMemo(()=>({\n label: vehicleLabel,\n value: inputValue,\n onBlur\n }), [\n inputValue,\n onBlur,\n vehicleLabel\n ]);\n const panel = useMemo(()=>({\n header: title,\n onChange: openModal,\n content: /*#__PURE__*/ jsx(VehiclePropertiesMobile, {\n ...props\n }),\n footer: renderFooter\n }), [\n title,\n openModal,\n props,\n renderFooter\n ]);\n const modalProps = useMemo(()=>({\n color: 'primary',\n hide: closeModal\n }), [\n closeModal\n ]);\n return /*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"PanelVehicleMobile\",\n children: /*#__PURE__*/ jsx(InputPanelMobile, {\n ref: ref,\n inputProps: inputProps,\n panel: panel,\n modalProps: modalProps\n })\n });\n});\nPanelVehicleMobile.displayName = 'PanelVehicleMobile';\nconst FormPanelVehicleMobile = (props)=>{\n const finalProps = useFormPanelVehicle(props);\n return /*#__PURE__*/ jsx(PanelVehicleMobile, {\n ...finalProps\n });\n};\n\nexport { FormPanelVehicleMobile, PanelVehicleMobile as default };\n//# sourceMappingURL=index.js.map\n"],"names":["useComplexState","initialState","complexState","setComplexState","useState","key","data","prevState","useFormAccommodationWithDiscounts","props","_isHiddenRequired","rest","field","label","error","hasError","useInput","discountField","discountError","discountHasError","residentField","residentError","residentHasError","DiscountDesktop","title","discount","resident","discounts","residents","discountLength","_a","residentsLength","_b","jsxs","DiscountWrapper","jsx","DiscountBody","_c","ContainerSelect","DiscountSelect","_d","AccommodationWithDiscountsDesktop","forwardRef","ref","literals","tooltipOptions","disableAges","addRoom","accommodationTitle","discountTitle","accommodationLabel","inputProps","panelRooms","config","people","goToLast","onAddRoom","onChangeRooms","renderFooter","useAccommodation","hasDiscounts","headerTitle","panel","useMemo","Header","AddRoom","PanelAccommodationDesktop","renderProps","Fragment","InputPanelFooter","PanelErrorDesktop","tooltipProps","AccomodationWithDiscounts","InputPanelDesktop","FormAccommodationWithDiscountsDesktop","finalProps","useFormPanelVehicle","pets","name","restPets","errorTrailerDimensions","errorVehicleDimensions","errorPetDimensions","finalValidate","validate","vehicleValidate","trailerValidate","petField","petError","petHasError","petValidate","finalPets","usePetInput","items","onChange","value","yes","no","Language","useContext","contextBabylon","onPetChange","useCallback","newPetOption","newPet","item","onChangeValue","e","onPetWeightChange","onPetLengthChange","onPetHeightChange","onPetWidthChange","onPetCarrierChange","petSelectOptions","transformItemsToSelectOptions","petSelectValue","transformItemToSelectOption","useEffect","selectedPet","emptyPet","cloneDeep","setDefaultPetValue","isEqual","toggleLiterals","MOCK_LITERALS_TOGGLE","buildVehicleDefault","selected","useVehicleInputs","hasPets","inputValue","getValueInput","onVehicleChange","newVehicleOption","newVehicle","defaultValuesVehicle","onLengthChange","onHeightChange","onCaravanChange","onCaravanLengthChange","onCaravanHeightChange","vehicleSelectOptions","vehicleSelectValue","newValue","veciPetPropertiesStyles","css","theme","Border","petPropertiesThemes","createThemes","ThemeId","TooltipContent","styled","Padding","FontMixin","PetInputs","FlexMixin","PetInput","Margin","VehicleLength","VechicleHeight","VechicleWidth","TooltipVehicleWrapper","PetProperties","widthLabel","weightLabel","lengthLabel","petCarrierLabel","petCategory","heightLabel","petLabel","SelectDesktop","Input","checkPetValue","Toggle","clubDeVacacionesVehiclePropertiesStyles","tourMundialVehiclePropertiesStyles","veciVehiclePropertiesStyles","vechiclePropertiesThemes","VehicleInput","VehicleInputDimensions","Caravan","InputItem","ErrorWrapper","VehicleProperties","selectedVehicle","vehicleHeight","vehicleLength","trailerLength","trailerHeight","vehicleLabel","trailerLabel","units","selectVehicleLabel","getInputValue","getStringWithUnits","getHasError","PanelVehicleFooter","PanelVehicle","InputLabel","PanelVehicleDesktop","onBlur","accept","refInput","useRef","useImperativeHandle","close","Button","FormPanelVehicleDesktop","DiscountMobile","SelectMobile","useAccommodationWithDiscountsMobile","isOpen","onAccept","setIsOpen","useAccommodationMobile","tempDiscount","setTempDiscount","tempResident","setTempResident","onAcceptWithDiscounts","AccommodationWithDiscountsMobile","ButtonPanel","PanelErrorMobile","AccommodationPanelWrapper","AccommodationPanelContent","PanelAccommodationMobile","AccommodationPanelFooter","modalProps","InputPanelMobile","FormAccommodationWithDiscountsMobile","universalMusicVehiclePropertiesStyles","vehiclePropertiesTheme","VehiclePropertiesMobile","PanelVehicleMobile","tempValue","setTempValue","confirmVehicle","closeModal","openModal","open","FormPanelVehicleMobile"],"mappings":"oiBAEK,MAACA,GAAmBC,GAAe,CACpC,KAAM,CAACC,EAAcC,CAAe,EAAIC,EAAAA,SAASH,CAAY,EAO7D,MAAO,CACH,MAAOC,EACP,WARe,CAACG,EAAKC,IAAO,CAC5BH,EAAiBI,IAAa,CACtB,GAAGA,EACH,CAACF,CAAG,EAAGC,CACvB,EAAc,CACT,EAIG,WAAYH,CACf,CACL,ECbMK,GAAqCC,GAAQ,CAC/C,KAAM,CAAE,iBAAkBC,EAAmB,GAAGC,CAAM,EAAGF,EACnD,CAAE,MAAAG,EAAO,MAAAC,EAAO,MAAAC,EAAO,SAAAC,CAAU,EAAGC,EAASP,CAAK,EAClD,CAAE,MAAOQ,EAAe,MAAOC,EAAe,SAAUC,GAAqBH,EAASP,EAAM,QAAQ,EACpG,CAAE,MAAOW,EAAe,MAAOC,EAAe,SAAUC,GAAqBN,EAASP,EAAM,QAAQ,EAC1G,MAAO,CACH,GAAGE,EACH,GAAGC,EACH,SAAUK,EACV,SAAUG,EACV,MAAOP,EACP,SAAUE,GAAYI,GAAoBG,EAC1C,MAAOR,GAASI,GAAiBG,CACpC,CACL,ECbME,GAAkB,CAAC,CAAE,MAAAC,EAAO,SAAAC,EAAU,SAAAC,EAAU,UAAAC,EAAW,UAAAC,KAAc,aAC3E,MAAMC,EAAiBF,KAAaG,EAAAH,EAAU,QAAV,YAAAG,EAAiB,SAAUH,EAAU,MAAM,OAAS,EAClFI,EAAkBH,KAAaI,EAAAJ,EAAU,QAAV,YAAAI,EAAiB,SAAUJ,EAAU,MAAM,OAAS,EACzF,MAAI,CAACC,GAAkB,CAACE,EAAwB,KAC3BE,EAAAA,KAAKC,GAAiB,CACvC,cAAe,WACf,SAAU,CACQC,EAAAA,IAAI,IAAK,CACnB,SAAU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