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AAA,aAAkB,WAC3BkH,GACHA,GAED,GAAE,CAACA,IAEEmE,EAAUrL,EAAAA,aAAkB,kBAAMgL,GAAQ,EAAd,GAAsB,IAClDM,EAAStL,EAAAA,aAAkB,kBAAMgL,GAAQ,EAAd,GAAqB,IAEhDO,EAAU/D,GAAe,0BAC9B2C,QAASmB,EACT7F,KAAK,SACLV,UAAS,mDAA8CkC,GAAmB,KAE1E,qBAAGlC,UAAU,eAAe,cAAY,UAGzC,OACC,uBACCA,UAAU,0CAETqD,EACE,gCACD,0BAAQ3C,KAAK,SAAS2C,SAAUA,EAAUrD,UAAU,4CACnD,qBAAGA,UAAU,eAAe,cAAY,WAGxC,gCACD,gBAAC,IAAD,CACCsG,QAASA,EACTG,UAAU,SACVC,OAAO,qBACPV,KAAMA,EACNW,cAAc,4BAEbhE,EACCb,GAASK,EACR,uBAAKnC,UAAU,+BACfmC,EAEC,0BACCzB,KAAK,SACLV,UAAS,yBAAoB8B,EAAQ,OAAS,IAC9CuB,SAAoB,IAAVjJ,EACVgL,QAASiB,GAJV,SAQG,KAEJvE,EACE,0BAAQpB,KAAK,SAASV,UAAU,kBAAkBoF,QAASkB,GAA3D,SAAqF,MAEhF,MAGVE,GAEFpM,EAAQ,IAAMiJ,GACZ,uBACFrD,UAAU,8CACVoF,QAASiB,GAET,4BAAOjM,GACP,qBAAG4F,UAAU,iBAKhB,C","sources":["webpack://NorthernTunaPortal/./ClientApp/components/Pages/Doctors.tsx","webpack://NorthernTunaPortal/./ClientApp/components/UI/DoctorCard/DoctorCard.tsx","webpack://NorthernTunaPortal/./ClientApp/components/UI/MobileFilters/MobileFilters.tsx"],"sourcesContent":["import * as React from 'react';\r\nimport { useLocation, useHistory } from 'react-router-dom';\r\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\r\n\r\nimport { bindActionCreators } from 'redux';\r\n\r\nimport AutoComplete from 'antd/lib/auto-complete';\r\nimport Pagination from 'antd/lib/pagination';\r\nimport moment from 'moment';\r\nimport loadable from '@loadable/component';\r\n\r\nimport { getSearchParamsFromUrl, handleUrl } from '@common/react/utils/FIltersParamsFromUrl/FiltersParamsFromUrl';\r\nimport { ItemsProvider, useItemsProviderContext } from '@common/react/components/Core/ItemsProvider/ItemsProvider';\r\nimport ServerPageProvider from '@common/react/components/Core/ServerPageProvider/ServerPageProvider';\r\nimport FiltersComponent from '@common/react/components/UI/FiltersComponent/FiltersPropsHandler';\r\nimport { loadableDelay } from '@common/react/loadable/loadableSettings';\r\nimport Datepicker from '@common/react/components/Forms/Datepicker/Datepicker';\r\nimport Autocomplete from '@common/react/components/Forms/Autocomplete/Autocomplete';\r\n\r\nimport LogoLoader, { LogoLoaderPage } from '@commonTuna/react/components/UI/LogoLoader/LogoLoader';\r\nimport MultiSelectAuto from '@commonTuna/react/components/UI/MultiSelectAuto/MultiSelectAuto';\r\nimport { useMobileView } from '@commonTuna/react/utils/useMobileView';\r\nimport ImageWithSkeleton from '@commonTuna/react/components/UI/ImageWithSkeleton/ImageWithSkeleton';\r\n\r\nimport { Doctor } from '@app/objects/Doctor';\r\nimport DoctorCard from '@app/components/UI/DoctorCard/DoctorCard';\r\nimport { ApplicationState } from '@app/store';\r\nimport { User } from '@app/objects/User';\r\nimport { actionCreators, HeaderState } from '@app/store/HeaderSearch';\r\nimport DoctorBookedTimeBlockHeader from '@app/components/UI/DoctorBookedTimeBlock/DoctorBookedTimeBlockHeader';\r\nimport { searchFilterActionCreators, SearchFilterState } from '@app/store/SearchFilter';\r\nimport { Location } from '@app/objects/Location';\r\nimport MobileFilters from '@app/components/UI/MobileFilters/MobileFilters';\r\nimport { getLocationName } from '@app/components/Utils';\r\n\r\nconst params = {\r\n\tfallback: ,\r\n};\r\n\r\nconst DoctorsFilters = loadable(() =>\r\n\tloadableDelay(import(/* webpackChunkName: \"HeaderFilters\" */ '@app/components/UI/Header/DoctorsFilters')), params);\r\n\r\nexport const Option = AutoComplete.Option;\r\n\r\ninterface CheckBoxItem {\r\n\tlabel: string;\r\n\tvalue: number;\r\n}\r\n\r\ninterface Props {\r\n\tparams: any;\r\n\tsearchState: HeaderState;\r\n\tuser: User | null;\r\n\tfilterProps?: any;\r\n}\r\n\r\nexport interface IValues extends SearchFilterState {\r\n\ttext: string;\r\n}\r\n\r\nconst getDaysCount = () => {\r\n\tif (typeof window === 'undefined') {\r\n\t\treturn 6;\r\n\t}\r\n\r\n\tlet count = Math.ceil((7 / 12) * ((window.innerWidth - 900) / 88));\r\n\r\n\tif (window.innerWidth < 1100) {\r\n\t\tcount = Math.ceil((window.innerWidth - 350) / 88);\r\n\t}\r\n\r\n\tif (count > 6) {\r\n\t\treturn 6;\r\n\t}\r\n\r\n\tif (window.innerWidth < 450) {\r\n\t\treturn 2;\r\n\t}\r\n\r\n\treturn count > 3 ? count : 3;\r\n};\r\n\r\nconst filtersForClear = [\r\n\t'languageIds',\r\n\t'specialtyIds',\r\n\t'certificateIds',\r\n\t'gender',\r\n\t'globalPayerId',\r\n];\r\n\r\nconst getPopupContainer = (node) => node.closest('.doctor-card-list') || document.body;\r\n\r\nconst DoctorsFormInner: React.FC = ({\r\n\tparams,\r\n\tsearchState,\r\n\tfilterProps,\r\n}) => {\r\n\tconst [loadingTimes, setLoadingTimes] = React.useState(false);\r\n\tconst history = useHistory();\r\n\tconst isMobile = useMobileView(768);\r\n\r\n\tconst dispatch = useDispatch();\r\n\tconst { updateSearchFilter } = bindActionCreators(searchFilterActionCreators, dispatch);\r\n\tconst searchFilterData = useSelector((state: ApplicationState) => state.searchFilterData, shallowEqual);\r\n\tconst [languages, setLanguages] = React.useState>([]);\r\n\tconst [certificates, setCertificates] = React.useState>();\r\n\r\n\tconst context = useItemsProviderContext();\r\n\r\n\tif (!context.state) throw 'Need ItemsProvider context!';\r\n\tconst {\r\n\t\tstate: {\r\n\t\t\tfilters, items, loading, pagination,\r\n\t\t}, actions: { handleChange, load },\r\n\t} = context;\r\n\r\n\tconst [daysRange, setDaysRange] = React.useState(filters.daysRange);\r\n\tconst [keys, setKeys] = React.useState({});\r\n\tconst { setState } = bindActionCreators(actionCreators, dispatch);\r\n\tconst [values, setValues] = React.useState({\r\n\t\tlocationName: filters.locationId ? searchFilterData.locationName : '',\r\n\t\tglobalPayerName: filters.globalPayerId ? searchFilterData.globalPayerName : '',\r\n\t\tglobalProcedures: filters.globalProcedureIds ? searchFilterData.globalProcedures : [],\r\n\t\ttext: '',\r\n\t\tlanguages: [],\r\n\t\tcertificates: [],\r\n\t});\r\n\r\n\tconst handleResize = () => {\r\n\t\tsetDaysRange(getDaysCount());\r\n\t};\r\n\r\n\tconst reloadTimes = (data) => {\r\n\t\tsetLoadingTimes(true);\r\n\t\treturn load(data, true)\r\n\t\t\t.then(() => {\r\n\t\t\t\tsetLoadingTimes(false);\r\n\t\t\t});\r\n\t};\r\n\r\n\tReact.useEffect(() => {\r\n\t\tif (JSON.stringify({ ...filters })\r\n\t\t\t!== JSON.stringify({ ...filters, ...searchState, ...params })) {\r\n\t\t\thandleChange({ ...searchState, ...params });\r\n\t\t}\r\n\t}, [searchState]);\r\n\r\n\tReact.useEffect(() => {\r\n\t\tupdateSearchFilter({\r\n\t\t\t...(filterProps as SearchFilterState),\r\n\t\t});\r\n\r\n\t\twindow.addEventListener('resize', handleResize);\r\n\t\thandleResize();\r\n\r\n\t\treturn () => window.removeEventListener('resize', handleResize);\r\n\t}, []);\r\n\r\n\tReact.useEffect(() => {\r\n\t\tsetValues((prev) => ({\r\n\t\t\t...prev,\r\n\t\t\t...searchFilterData,\r\n\t\t}));\r\n\t\tsetLanguages(searchFilterData.languages?.map((value) => ({ label: value.name, value: value.id })) || []);\r\n\t\tsetCertificates(searchFilterData.certificates?.map((value) => ({ label: value.name, value: value.id })) || []);\r\n\t\tsetKeys({\r\n\t\t\tglobalProcedureIds: Math.random(),\r\n\t\t});\r\n\t}, [searchFilterData]);\r\n\r\n\tReact.useEffect(() => {\r\n\t\tif (filters.daysRange !== daysRange) {\r\n\t\t\treloadTimes({ daysRange });\r\n\t\t}\r\n\t}, [filters, daysRange]);\r\n\r\n\tconst onPaginationChange = (current, pageSize) => {\r\n\t\thandleChange({ page: current, pageSize });\r\n\t};\r\n\r\n\tconst leftChevronDisabled = moment(filters.from).utc() <= moment(new Date()).utc();\r\n\r\n\tconst onSelectPreviousWeek = () => {\r\n\t\tconst prev = moment(filters.from).add(-filters.daysRange, 'days').startOf('day');\r\n\t\tconst from = (+prev < +moment(new Date()) ? moment(new Date()).valueOf() : prev).valueOf();\r\n\t\treloadTimes({ from });\r\n\t};\r\n\r\n\tconst onSelectNextWeek = () => {\r\n\t\treloadTimes({ from: moment(filters.from).add(filters.daysRange, 'days').startOf('day') });\r\n\t};\r\n\r\n\tconst columns = items\r\n\t\t? items.find((item) => item?.doctorBookedTimes?.values)?.doctorBookedTimes.values\r\n\t\t: null;\r\n\r\n\tconst goToPath = (path: string, state: any) => {\r\n\t\thistory.push(path, state);\r\n\t};\r\n\r\n\tconst onChange = (params) => {\r\n\t\thandleChange(params);\r\n\t\tsetState({\r\n\t\t\t...searchState,\r\n\t\t\t...params,\r\n\t\t});\r\n\t\thandleUrl(params, history.location, history, undefined, undefined, true);\r\n\t};\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t\tlet resultDate = date;\r\n\t\t\t\t\t\t\tif (date !== null) {\r\n\t\t\t\t\t\t\t\tresultDate = moment(date).utc().startOf('day').valueOf();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tonChange({ from: resultDate });\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\tminDateToday\r\n\t\t\t\t\t\tutc\r\n\t\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t\tonChange({ globalProcedureIds: !value?.length ? undefined : value });\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\tplaceholder=\"Procedures...\"\r\n\t\t\t\t\t\tloadOnFocus\r\n\t\t\t\t\t\tantdProps={{\r\n\t\t\t\t\t\t\tdefaultValue: (values?.globalProcedures || []) as any,\r\n\t\t\t\t\t\t\tclassName: '',\r\n\t\t\t\t\t\t\tmaxTagCount: 1,\r\n\t\t\t\t\t\t\tmaxTagTextLength: 15,\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\titems={values?.globalProcedures || [] as any}\r\n\t\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\ttype=\"locationList\"\r\n\t\t\t\t\t\tclassName=\"pull-left doctor-card-list-last-filter\"\r\n\t\t\t\t\t\trenderTitle={(item: Location) => getLocationName(item)}\r\n\t\t\t\t\t\tloadOnFocus\r\n\t\t\t\t\t\tonSelect={(value, option) => onChange({ locationId: +value })}\r\n\t\t\t\t\t\tonChange={(value = '') => {\r\n\t\t\t\t\t\t\t!value && onChange({ locationId: undefined });\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\trenderOption={(option) => {\r\n\t\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\t\tkey: option.id,\r\n\t\t\t\t\t\t\t\ttitle: `${option.company ? `${option.company.name} - ` : ''}${option.nameEn}`,\r\n\t\t\t\t\t\t\t\tvalue: `${option.company ? `${option.company.portalShortName || option.company.name} - ` : ''}${option.nameEn}`,\r\n\t\t\t\t\t\t\t\titem: option,\r\n\t\t\t\t\t\t\t\tlabel: <>\r\n\t\t\t\t\t\t\t\t\t{option.avatar\r\n\t\t\t\t\t\t\t\t\t\t&&
\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t{getLocationName(option)}\r\n\t\t\t\t\t\t\t\t,\r\n\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\tvalue={values.locationName || ''}\r\n\t\t\t\t\t\tantdProps={{ style: { width: '100%' }, placeholder: 'Clinic...' }}\r\n\t\t\t\t\t/>\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t\tconst params = {};\r\n\t\t\t\t\t\t\tObject.values(filtersForClear).forEach((key) => params[key] = undefined);\r\n\t\t\t\t\t\t\tonChange(params);\r\n\t\t\t\t\t\t\tsetValues({\r\n\t\t\t\t\t\t\t\t...values,\r\n\t\t\t\t\t\t\t\tspecialties: undefined,\r\n\t\t\t\t\t\t\t\tglobalPayerName: '',\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tsetKeys((prev) => ({\r\n\t\t\t\t\t\t\t\t...prev,\r\n\t\t\t\t\t\t\t\tspecialtyIds: Math.random(),\r\n\t\t\t\t\t\t\t\tglobalPayer: Math.random(),\r\n\t\t\t\t\t\t\t}));\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\ttriggerNode={isMobile ? undefined : }\r\n\t\t\t\t\t\tgetChildrenList={(tooltipValues) => tooltipValues}\r\n\t\t\t\t\t\ttooltipValues={\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
}\r\n\t\t\t\t\t\tcustomNode={isMobile ? MobileFilters : undefined}\r\n\t\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t{!loading && !items.length ?

No Doctors found

: <>\r\n\t\t\t\t{columns && !loading &&
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{loadingTimes &&
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
}\r\n\t\t\t\t
}\r\n\t\t\t\t
\r\n\t\t\t\t\t{loading\r\n\t\t\t\t\t\t? \r\n\t\t\t\t\t\t: items.map((doctor: Doctor) => (\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t))}\r\n\t\t\t\t
\r\n\t\t\t\t{pagination?.total > items.length &&
\r\n\t\t\t\t\t\r\n\t\t\t\t
}\r\n\t\t\t}\r\n\t\t\r\n\t);\r\n};\r\n\r\nconst Doctors: React.FC = () => {\r\n\tconst location = useLocation();\r\n\tconst params = getSearchParamsFromUrl(location);\r\n\tconst { user, searchState } = useSelector((state: ApplicationState) => ({ user: state.login.user, searchState: state.header }));\r\n\r\n\treturn (\r\n\t\t<>\r\n\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\ttype=\"DoctorSearchWithTimes\"\r\n\t\t\t\t\t\titems={serverPage?.items?.list}\r\n\t\t\t\t\t\tpagination={{ current: 1, pageSize: 10, total: serverPage?.items.count }}\r\n\t\t\t\t\t\tfilters={{\r\n\t\t\t\t\t\t\t...searchState,\r\n\t\t\t\t\t\t\t...params,\r\n\t\t\t\t\t\t\tfrom: searchState.from || moment(new Date()).valueOf(),\r\n\t\t\t\t\t\t\tdaysRange: getDaysCount(),\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t/>\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default Doctors;\r\n","import * as React from 'react';\r\n\r\nimport { Link, useLocation } from 'react-router-dom';\r\n\r\nimport Card from 'antd/lib/card';\r\n\r\nimport { getSearchParamsFromUrl } from '@common/react/utils/FIltersParamsFromUrl/FiltersParamsFromUrl';\r\n\r\nimport { Doctor } from '@app/objects/Doctor';\r\nimport DoctorBookedTimeBlock from '@app/components/UI/DoctorBookedTimeBlock/DoctorBookedTimeBlock';\r\nimport { Location } from '@app/objects/Location';\r\nimport SpecialtyTag from '@app/components/Pages/Specialties/SpecialtyTag';\r\nimport DoctorAvatar from '@app/components/UI/DoctorCard/DoctorAvatar';\r\nimport Stars from '@app/components/UI/Stars/Stars';\r\nimport { getLocationName } from '@app/components/Utils';\r\n\r\ninterface IProp {\r\n\tgoToPath: (path: string, state) => void;\r\n\tfrom?: number;\r\n\tdaysRange?: number;\r\n\twithoutBookedTime?: boolean;\r\n}\r\n\r\nconst DoctorCard: React.FC = (props) => {\r\n\tconst {\r\n\t\tnameEn,\r\n\t\tspecialties,\r\n\t\tlocations,\r\n\t\tavatar,\r\n\t\tportalPathEn,\r\n\t\tid,\r\n\t\taverageReviewRate,\r\n\t\ttotalReviewCount,\r\n\t\tportalShortText,\r\n\t\t// languages,\r\n\t\tdoctorBookedTimes,\r\n\t\tfrom,\r\n\t\tdaysRange,\r\n\t\tgoToPath,\r\n\t\twithoutBookedTime,\r\n\t\tscheduleAppointment,\r\n\t} = props;\r\n\r\n\tconst location = useLocation();\r\n\r\n\tconst [selectedTime, setSelectedTime] = React.useState();\r\n\tconst [selectedLocation, setSelectedLocation] = React.useState(\r\n\t\tlocations.find(({ locationId }) => locationId === getSearchParamsFromUrl(location)?.locationId)?.location\r\n\t\t\t\t\t|| locations?.[0]?.location,\r\n\t);\r\n\tconst [width, setWidth] = React.useState('calc(100% - 671px)');\r\n\r\n\tReact.useEffect(() => {\r\n\t\tif (selectedLocation?.id && selectedTime) {\r\n\t\t\tgoToPath(`/doctor/${portalPathEn}`, { selectedLocation, scheduledTime: selectedTime });\r\n\t\t}\r\n\t}, [selectedTime, selectedLocation]);\r\n\r\n\tReact.useEffect(() => {\r\n\t\tsetWidth(`calc(100% - ${(daysRange || 0) * 88 + 55}px)`);\r\n\t}, [daysRange]);\r\n\r\n\tconst columnsCount = Object.keys(doctorBookedTimes?.values || {});\r\n\r\n\tconst title = React.useMemo(() => <>\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t

{portalPathEn ? {nameEn} : nameEn}

\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t(\r\n\t\t\t\t\t\t{totalReviewCount}\r\n\t\t\t\t\t\t)\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{withoutBookedTime && locations && locations.length > 0 && \r\n\t\t\t\t\t\t{locations.map(({ location }) => \r\n\t\t\t\t\t\t\t{location.nameEn ? `${location.nameEn} ${location.addressEn || ''}` : ''}\r\n\t\t\t\t\t\t)}\r\n\t\t\t\t\t
}\r\n\t\t\t\t\t{specialties && specialties.length > 0\r\n\t\t\t\t\t\t&&
\r\n\t\t\t\t\t\t\t{specialties.map((s) => s.specialty && (\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t))}\r\n\t\t\t\t\t\t
}\r\n\t\t\t\t\t{portalShortText\r\n\t\t\t\t\t\t?
{portalShortText}
: null\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{/* languages && languages.length > 0 &&\r\n\t\t\t\t\t\t
Languages: {languages.map(l => l.language.name).join(', ')}
*/}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t{!withoutBookedTime &&
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{locations && locations.length > 0\r\n\t\t\t\t\t\t\t&& locations.map(({ location }) => {\r\n\t\t\t\t\t\t\t\tconst name = `${getLocationName(location, false, true)} ${location.addressEn ? ` ${location.addressEn}` : ''}`;\r\n\t\t\t\t\t\t\t\treturn setSelectedLocation(location)}\r\n\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t{name}\r\n\t\t\t\t\t\t\t\t;\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{!withoutBookedTime && doctorBookedTimes && scheduleAppointment && locations && locations.length > 0\r\n\t\t\t\t\t\t&& location.location)}\r\n\t\t\t\t\t\t\trowCount={5}\r\n\t\t\t\t\t\t\tdays={daysRange}\r\n\t\t\t\t\t\t\tonSelect={(time, location, asNearestDate) => {\r\n\t\t\t\t\t\t\t\tgoToPath(`/doctor/${portalPathEn}${asNearestDate\r\n\t\t\t\t\t\t\t\t\t? `?from=${time}` : ''}`, { selectedLocation: location, scheduledTime: time, asNearestDate });\r\n\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\tnearestDateRedirect\r\n\t\t\t\t\t\t\tclassName=\"text-center\"\r\n\t\t\t\t\t\t\twithoutLocationButtons\r\n\t\t\t\t\t\t\tselectLocationById={selectedLocation?.id}\r\n\t\t\t\t\t\t/>}\r\n\t\t\t\t\t{!scheduleAppointment && \r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\tgoToPath(`/doctor/${portalPathEn}`, { selectedLocationId: selectedLocation?.id });\r\n\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tSend Inquiry\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\t, [nameEn, specialties, locations, portalPathEn, /* languages, */ doctorBookedTimes, selectedTime, selectedLocation, width]);\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\ttitle={title}\r\n\t\t\t\t/>\r\n\t\t\t\r\n\t\t
\r\n\t);\r\n};\r\n\r\nexport default DoctorCard;\r\n","import * as React from 'react';\r\n\r\nimport Drawer from 'antd/lib/drawer';\r\n\r\nimport { IProps as FilterComponentProps } from '@common/react/components/UI/FiltersComponent/FiltersComponent';\r\n\r\nimport '@app/scss/components/mobileFilters.scss';\r\n\r\nconst MobileFilters: React.FC = (props) => {\r\n\tconst {\r\n\t\tfilters, tooltipValues, apply, filtersClean, disabled = false, buttonClassName, triggerNode,\r\n\t} = props;\r\n\tconst [open, setOpen] = React.useState(false);\r\n\tconst count = filters.reduce((res, filter) => (filter() ? res + 1 : res), 0);\r\n\r\n\tconst clean = React.useCallback(() => {\r\n\t\tif (filtersClean) {\r\n\t\t\tfiltersClean();\r\n\t\t}\r\n\t}, [filtersClean]);\r\n\r\n\tconst onClose = React.useCallback(() => setOpen(false), []);\r\n\tconst onOpen = React.useCallback(() => setOpen(true), []);\r\n\r\n\tconst trigger = triggerNode || \r\n\t\t\r\n\t;\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t{disabled\r\n\t\t\t\t? <>\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t: <>\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{tooltipValues}\r\n\t\t\t\t\t\t{(apply || filtersClean)\r\n\t\t\t\t\t\t\t?
\r\n\t\t\t\t\t\t\t\t{filtersClean\r\n\t\t\t\t\t\t\t\t\t? (\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\tClear\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t) : null\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t{apply\r\n\t\t\t\t\t\t\t\t\t? : null\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t
: null\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t{trigger}\r\n\t\t\t\t}\r\n\t\t\t{count > 0 && !disabled\r\n\t\t\t&& \r\n\t\t\t\t{count}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default MobileFilters;\r\n"],"names":["params","fallback","DoctorsFilters","loadable","loadableDelay","Option","AutoComplete","getDaysCount","window","count","Math","ceil","innerWidth","filtersForClear","getPopupContainer","node","closest","document","body","DoctorsFormInner","searchState","filterProps","React","loadingTimes","setLoadingTimes","history","useHistory","isMobile","useMobileView","dispatch","useDispatch","updateSearchFilter","bindActionCreators","searchFilterActionCreators","searchFilterData","useSelector","state","shallowEqual","languages","setLanguages","certificates","setCertificates","context","useItemsProviderContext","filters","items","loading","pagination","actions","handleChange","load","daysRange","setDaysRange","keys","setKeys","setState","actionCreators","locationName","locationId","globalPayerName","globalPayerId","globalProcedures","globalProcedureIds","text","values","setValues","handleResize","reloadTimes","data","then","JSON","stringify","addEventListener","removeEventListener","prev","map","value","label","name","id","random","onPaginationChange","current","pageSize","page","leftChevronDisabled","moment","from","utc","Date","columns","find","item","doctorBookedTimes","goToPath","path","push","onChange","handleUrl","location","undefined","className","style","maxWidth","margin","date","resultDate","startOf","valueOf","minDateToday","key","type","length","placeholder","loadOnFocus","antdProps","defaultValue","maxTagCount","maxTagTextLength","renderTitle","getLocationName","onSelect","option","renderOption","title","company","nameEn","portalShortName","avatar","src","width","apply","additionalParams","popoverStyle","minWidth","buttonClassName","filtersClean","Object","forEach","specialties","specialtyIds","globalPayer","triggerNode","getChildrenList","tooltipValues","customNode","MobileFilters","disabledButtons","onSelectPreviousWeek","add","onSelectNextWeek","size","doctor","total","disabled","onShowSizeChange","Doctors","useLocation","getSearchParamsFromUrl","user","login","header","defaultTitle","inner","serverPage","list","props","locations","portalPathEn","averageReviewRate","totalReviewCount","portalShortText","withoutBookedTime","scheduleAppointment","selectedTime","selectedLocation","setSelectedLocation","setWidth","scheduledTime","columnsCount","Link","to","addressEn","s","specialty","onClick","doctorId","rowCount","days","time","asNearestDate","nearestDateRedirect","withoutLocationButtons","selectLocationById","flexGrow","selectedLocationId","alt","open","setOpen","reduce","res","filter","clean","onClose","onOpen","trigger","placement","height","rootClassName"],"sourceRoot":""}