{"version":3,"file":"garages-map-8c5621cb.js","sources":["../../../app/frontend/components/garage-view.tsx","../../../app/frontend/entrypoints/garages-map.tsx"],"sourcesContent":["import React, { useState } from 'react'\nimport Tabs from '@mui/joy/Tabs'\nimport TabList from '@mui/joy/TabList'\nimport Tab from '@mui/joy/Tab'\nimport TabPanel from '@mui/joy/TabPanel'\nimport Box from '@mui/joy/Box'\nimport Typography from '@mui/joy/Typography'\nimport Button from '@mui/joy/Button'\nimport Badge from '@mui/joy/Badge'\nimport Modal from '@mui/joy/Modal'\nimport ModalClose from '@mui/joy/ModalClose'\nimport ModalDialog from '@mui/joy/ModalDialog'\nimport { useTranslation, Trans } from 'react-i18next'\n\nimport GarageList from './garage-list'\nimport GarageMap from './garage-map'\nimport Filters from './filters'\nimport FullGarageToggleIsolated from './full-garage-toggle-isolated'\nimport { getCurrency } from '../helpers'\nimport { useGarageView } from '../hooks/use-garage-view'\n\nconst currency = getCurrency()\n\nexport default function GarageView() {\n\n const [tab, setTab] = useState<0 | 1 | 2>(0)\n\n const { t } = useTranslation()\n \n const {\n initialFilters,\n currentFilters,\n setCurrentFilters,\n minPrice,\n maxPrice,\n desktopFilters,\n selectedId,\n setSelectedId,\n hoverPoint,\n setHoverPoint,\n searchLocationPoint,\n sortedFilteredGarageList,\n loadingGarageList,\n loadingGarageAvailability,\n garagesAvailableLater,\n errors,\n handleFiltersReset,\n handleTabChange,\n handleToggleDesktopFilters,\n shallowEqual,\n } = useGarageView(currency, setTab)\n\n return (\n <>\n