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GAA3D,SAAqF,MAEhF,MAGVxF,GAEF9I,EAAQ,IAAMiF,GACZ,uBACF/K,UAAU,8CACVE,QAASiU,GAET,4BAAOrO,GACP,qBAAG9F,UAAU,iBAKhB,C,qFC1CD,IA7BmC,SAAC,GAAyC,IAAvCwU,EAAuC,EAAvCA,QAASC,EAA8B,EAA9BA,YAAaC,EAAiB,EAAjBA,WAC3D,OACC,gBAAC,IAAD,CACC7R,MAAO,KACP8R,UAAQ,EACRX,KAAMQ,EACNI,SAAUH,EACVI,OAAQ,KACR3P,MAAO,IACP4P,gBAAc,EACdC,cAAc,EACd/U,UAAU,qBACVgV,aAAc,kBAAM/I,SAASgJ,cAAc,mBAAqBhJ,SAASC,IAA3D,GAEd,uBAAKlM,UAAU,iCACd,gBAAC,IAAD,CACCkV,QAAQ,aACRrS,MAAM,QACNsS,mBAAiB,EACjBC,sBAAuB,kBAAM,gCAAN,EACvBC,gBAAc,EACdC,QAAS,gBAAC,EAAAxS,KAAD,CAAMC,GAAG,gBAAgB/C,UAAU,iCAAnC,YACT0U,WAAYA,KAKhB,C,oBC1CDa,EAAOC,QAAU,q8Q","sources":["webpack://northern-tuna-portal/./ClientApp/components/UI/DoctorCard/DoctorCard.tsx","webpack://northern-tuna-portal/./ClientApp/components/Pages/Doctor/Doctors.tsx","webpack://northern-tuna-portal/./ClientApp/components/Pages/Doctor/Filters.tsx","webpack://northern-tuna-portal/./ClientApp/components/Pages/Specialties/SpecialtyTag.tsx","webpack://northern-tuna-portal/./ClientApp/components/UI/DoctorCard/DoctorAvatar.tsx","webpack://northern-tuna-portal/./NorthernTunaCommon/react/objects/ExperienceLevel.ts","webpack://northern-tuna-portal/./ClientApp/components/UI/Experience/Experience.tsx","webpack://northern-tuna-portal/./common/react/components/UI/SearchWithCheckboxes/SearchWithCheckboxes.tsx","webpack://northern-tuna-portal/./ClientApp/components/UI/Filter/Filter.tsx","webpack://northern-tuna-portal/./ClientApp/components/UI/MobileFilters/MobileFilters.tsx","webpack://northern-tuna-portal/./ClientApp/components/UI/ScheduleAppointmentModal/LoginForm.tsx","webpack://northern-tuna-portal/./ClientApp/images/no-image-available.jpg"],"sourcesContent":["import * as React from 'react';\n\nimport { Link, NavLink, useLocation } from 'react-router-dom';\n\nimport Card from 'antd/lib/card';\nimport Tabs from 'antd/lib/tabs';\nimport Tag from 'antd/lib/tag';\n\nimport { getSearchParamsFromUrl } from '@common/react/utils/FIltersParamsFromUrl/FiltersParamsFromUrl';\nimport { useMobileView } from '@common/react/hooks/useMobileView';\n\nimport { numberWithComma } from '@commonTuna/react/utils/NumberWithComma/NumberWithComma';\n\nimport { Doctor } from '@app/objects/Doctor';\nimport DoctorBookedTimeBlock from '@app/components/UI/DoctorBookedTimeBlock/DoctorBookedTimeBlock';\nimport { Location } from '@app/objects/Location';\nimport SpecialtyTag from '@app/components/Pages/Specialties/SpecialtyTag';\nimport DoctorAvatar from '@app/components/UI/DoctorCard/DoctorAvatar';\nimport Stars from '@app/components/UI/Stars/Stars';\nimport { getLocationAddress, getLocationName, showTime } from '@app/utils/Utils';\nimport Experience from '@app/components/UI/Experience/Experience';\n\ninterface IProp {\n\tgoToPath: (path: string, state) => void;\n\tfrom?: number;\n\tdaysRange?: number;\n\twithoutBookedTime?: boolean;\n\tonClick?: () => void;\n\tselectLocation?: (location) => void;\n\tclassName?: string;\n\tselectLocationId?: number;\n}\n\nenum Days {\n\t'Sun',\n\t'Mon',\n\t'Tue',\n\t'Wed',\n\t'Thu',\n\t'Fri',\n\t'Sat',\n}\n\nconst WorkingHours: React.FC<{ daysRange, workingHours?: Location['workingHours'], from: number}> = (props) => {\n\tconst {\n\t\tworkingHours,\n\t\tdaysRange: propsDaysRange,\n\t\tfrom,\n\t} = props;\n\tconst [currentFrom, setCurrentFrom] = React.useState(from);\n\tconst isMobile = useMobileView(1100);\n\tconst daysRange = isMobile ? 7 : propsDaysRange;\n\tReact.useEffect(() => {\n\t\tif (from !== currentFrom) {\n\t\t\tsetCurrentFrom(from);\n\t\t}\n\t}, [from, daysRange]);\n\tif (!workingHours?.length) return null;\n\n\tconst firstWeekDay = new Date(currentFrom).getDay();\n\tconst arr = Array.from({ length: daysRange || 0 }).map((_, i) => (firstWeekDay + i) % 7);\n\n\treturn
\n\t\t
\n\t\t\t
\n\t\t\t\t{daysRange < 7 && setCurrentFrom((prev) => prev - 3600 * 24 * 1000 * daysRange)}\n\t\t\t\t>\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t
\n\t\t\t{arr.map((i) =>
\n\t\t\t\t{Days[i]}\n\t\t\t
)}\n\t\t\t
\n\t\t\t\t{daysRange < 7 && setCurrentFrom((prev) => prev + 3600 * 24 * 1000 * daysRange)}\n\t\t\t\t>\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\tOpen:\n\t\t\t
\n\t\t\t{arr.map((i) =>
\n\t\t\t\t{showTime(workingHours?.find(({ dayOfWeek }) => dayOfWeek === i)?.startTime, false)}\n\t\t\t
)}\n\t\t\t{daysRange < 7 &&
}\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\tClosed:\n\t\t\t
\n\t\t\t{arr.map((i) =>
\n\t\t\t\t{showTime(workingHours?.find(({ dayOfWeek }) => dayOfWeek === i)?.endTime, false)}\n\t\t\t
)}\n\t\t\t{daysRange < 7 &&
}\n\t\t
\n\t
;\n};\n\nconst DoctorCard: React.FC = (props) => {\n\tconst {\n\t\tnameEn,\n\t\tspecialties,\n\t\tlocations,\n\t\tavatar,\n\t\tportalPathEn,\n\t\tid,\n\t\taverageReviewRate,\n\t\ttotalReviewCount,\n\t\tportalShortText,\n\t\t// languages,\n\t\tdoctorBookedTimes,\n\t\tfrom,\n\t\tdaysRange,\n\t\tgoToPath,\n\t\twithoutBookedTime,\n\t\tscheduleAppointment,\n\t\tonClick,\n\t\tselectLocation,\n\t\tclassName = '',\n\t\tselectLocationId,\n\t\tavailableServices,\n\t\texperience,\n\t\t...rest\n\t} = props;\n\n\tconst location = useLocation();\n\n\tconst [selectedTime, setSelectedTime] = React.useState();\n\tconst [selectedLocation, setSelectedLocation] = React.useState(\n\t\tlocations.find(({ locationId }) => locationId === getSearchParamsFromUrl(location)?.locationId)?.location\n\t\t\t\t\t|| locations?.[0]?.location,\n\t);\n\n\tReact.useEffect(() => {\n\t\tif (selectedLocation?.id && selectedTime) {\n\t\t\tgoToPath(`/doctors/${portalPathEn}`, { selectedLocation, scheduledTime: selectedTime });\n\t\t}\n\t}, [selectedTime, selectedLocation]);\n\tconst rate = averageReviewRate || 0;\n\n\tconst columnsCount = Object.keys(doctorBookedTimes?.values || {});\n\tconst currentLocation = locations.find(({ locationId }) => locationId === selectLocationId)?.location;\n\tconst locationWh = currentLocation\n\t\t? (currentLocation?.doctorWorkingHours ?? currentLocation.workingHours)\n\t\t: (locations[0]?.location?.doctorWorkingHours ?? locations[0]?.location?.workingHours);\n\n\tconst title = React.useMemo(() => <>\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

{portalPathEn ? {nameEn} : nameEn}

\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t{numberWithComma(averageReviewRate)}\n\t\t\t\t\t\t{' '}\n\t\t\t\t\t\t(\n\t\t\t\t\t\t{totalReviewCount}\n\t\t\t\t\t\t)\n\t\t\t\t\t
\n\t\t\t\t\t{(specialties && specialties.length > 0) || (availableServices?.length)\n\t\t\t\t\t\t?
\n\t\t\t\t\t\t\t{specialties.map((s) => s.specialty && (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t{availableServices?.length ? availableServices?.filter((item) => item)\n\t\t\t\t\t\t\t\t.map((item) =>\n\t\t\t\t\t\t\t\t\t(<>\n\t\t\t\t\t\t\t\t\t\t{item.path\n\t\t\t\t\t\t\t\t\t\t\t? \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{item.name}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t: \n\t\t\t\t\t\t\t\t\t\t\t\t{item.name}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t)) : null}\n\t\t\t\t\t\t
: null}\n\t\t\t\t\t{withoutBookedTime && locations && locations.length > 0 && \n\t\t\t\t\t\t{locations.map(({ location }) => \n\t\t\t\t\t\t\t{location.nameEn ? `${location.nameEn} ${location.addressEn || ''}` : ''}\n\t\t\t\t\t\t)}\n\t\t\t\t\t
}\n\t\t\t\t
\n\t\t\t\t{portalShortText\n\t\t\t\t\t?
: null\n\t\t\t\t}\n\t\t\t
\n\t\t\t{!withoutBookedTime &&
\n\t\t\t\t
\n\t\t\t\t\t 1 ? 'doctor-card-locations-max' : ''}`}\n\t\t\t\t\t>\n\t\t\t\t\t\t{locations && locations.length > 0\n\t\t\t\t\t\t\t&& ({\n\t\t\t\t\t\t\t\t\tkey: location.id?.toString(),\n\t\t\t\t\t\t\t\t\tlabel: <>\n\t\t\t\t\t\t\t\t\t\t{currentLocation\n\t\t\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t\t\t: !scheduleAppointment && location.id === locations[0].locationId\n\t\t\t\t\t\t\t\t\t\t\t&& locationWh && from && locations.length > 1 && <>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{' '}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t{getLocationName(location, false, true)}\n\t\t\t\t\t\t\t\t\t,\n\t\t\t\t\t\t\t\t\tchildren: null,\n\t\t\t\t\t\t\t\t}))}\n\t\t\t\t\t\t\t\tonChange={(key) => {\n\t\t\t\t\t\t\t\t\tconst location = locations.find(({ location }) => location.id === +key)?.location;\n\t\t\t\t\t\t\t\t\tlocation && selectLocation?.(location);\n\t\t\t\t\t\t\t\t\tlocation && setSelectedLocation(location);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t{currentLocation || selectedLocation ? \n\t\t\t\t\t\t\n\t\t\t\t\t\t{' '}\n\t\t\t\t\t\t{getLocationAddress(currentLocation || selectedLocation)}\n\t\t\t\t\t : null}\n\t\t\t\t\t{!withoutBookedTime && doctorBookedTimes && scheduleAppointment && locations && locations.length > 0\n\t\t\t\t\t\t&& location.location)}\n\t\t\t\t\t\t\trowCount={5}\n\t\t\t\t\t\t\tdays={daysRange}\n\t\t\t\t\t\t\tonSelect={(time, location, asNearestDate) => {\n\t\t\t\t\t\t\t\tgoToPath(`/doctors/${portalPathEn}${asNearestDate\n\t\t\t\t\t\t\t\t\t? `?from=${time}` : ''}`, { selectedLocation: location, scheduledTime: time, asNearestDate });\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tnearestDateRedirect\n\t\t\t\t\t\t\tclassName=\"text-center\"\n\t\t\t\t\t\t\twithoutLocationButtons\n\t\t\t\t\t\t\tselectLocationById={selectedLocation?.id}\n\t\t\t\t\t\t/>}\n\t\t\t\t\t{!scheduleAppointment && <>\n\t\t\t\t\t\t{locationWh && from ? : null}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tgoToPath(`/doctors/${portalPathEn}`, { selectedLocationId: selectedLocation?.id });\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tSend Inquiry\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
}\n\t\t
\n\t, [nameEn, specialties, locations, portalPathEn, /* languages, */ doctorBookedTimes, selectedTime, selectedLocation, selectLocationId]);\n\n\treturn (\n\t\t
\n\t\t\t {\n\t\t\t\t\tif ((e.target as any)?.closest('a') || (e.target as any).tagName === 'A') {\n\t\t\t\t\t\treturn undefined;\n\t\t\t\t\t}\n\t\t\t\t\tonClick && onClick();\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t}\n\t\t\t\t\ttitle={title}\n\t\t\t\t/>\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default DoctorCard;\n","import * as React from 'react';\nimport { useLocation, useNavigate } from 'react-router-dom';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\n\nimport { bindActionCreators } from 'redux';\n\nimport AutoComplete from 'antd/lib/auto-complete';\nimport Pagination from 'antd/lib/pagination';\n\nimport { getSearchParamsFromUrl } from '@common/react/utils/FIltersParamsFromUrl/FiltersParamsFromUrl';\nimport { ItemsProvider, useItemsProviderContext } from '@common/react/components/Core/ItemsProvider/ItemsProvider';\nimport ServerPageProvider from '@common/react/components/Core/ServerPageProvider/ServerPageProvider';\nimport { BreadCrumbs } from '@common/react/components/UI/BreadCrumbs/BreadCrumbs';\nimport { useMobileView } from '@common/react/hooks/useMobileView';\n\nimport LogoLoader, { LogoLoaderPage } from '@commonTuna/react/components/UI/LogoLoader/LogoLoader';\n\nimport { Doctor } from '@app/objects/Doctor';\nimport DoctorCard from '@app/components/UI/DoctorCard/DoctorCard';\nimport { ApplicationState } from '@app/store';\nimport { HeaderState } from '@app/store/HeaderSearch';\nimport DoctorBookedTimeBlockHeader from '@app/components/UI/DoctorBookedTimeBlock/DoctorBookedTimeBlockHeader';\nimport { searchFilterActionCreators, SearchFilterState } from '@app/store/SearchFilter';\nimport Filters from '@app/components/Pages/Doctor/Filters';\nimport { getAddress, SimpleMap } from '@app/components/Pages/Doctor/Locations';\nimport { Location } from '@app/objects/Location';\n\nexport const Option = AutoComplete.Option;\n\ninterface Props {\n\tparams: any;\n\tsearchState: HeaderState;\n\tfilterProps?: any;\n}\n\nexport interface IValues extends SearchFilterState {\n\ttext: string;\n}\n\nconst getDaysCount = () => {\n\tif (typeof window === 'undefined') {\n\t\treturn 6;\n\t}\n\n\tlet count = Math.floor((((window.innerWidth * 0.66 - 348) * 0.75 - 78) / 88));\n\n\tif (window.innerWidth < 1300) {\n\t\tcount = Math.floor((((window.innerWidth - 348) * 0.75 - 78) / 88));\n\t}\n\n\tif (window.innerWidth < 1100) {\n\t\tcount = Math.ceil((window.innerWidth - 350) / 88);\n\t}\n\n\tif (count > 6) {\n\t\treturn 6;\n\t}\n\n\tif (window.innerWidth < 450) {\n\t\treturn 2;\n\t}\n\n\treturn count > 3 ? count : 3;\n};\n\nconst getTime = (time) => {\n\tconst [h, m] = time?.split(':');\n\treturn +h * 60 + +m;\n};\n\nconst DoctorsFormInner: React.FC = ({\n\tparams,\n\tsearchState,\n\tfilterProps,\n}) => {\n\tconst [loadingTimes, setLoadingTimes] = React.useState(false);\n\tconst navigate = useNavigate();\n\n\tconst dispatch = useDispatch();\n\tconst { updateSearchFilter } = bindActionCreators(searchFilterActionCreators, dispatch);\n\tconst searchFilterData = useSelector((state: ApplicationState) => state.searchFilterData, shallowEqual);\n\tconst [languages, setLanguages] = React.useState>([]);\n\tconst [certificates, setCertificates] = React.useState>();\n\n\tconst {\n\t\tstate: {\n\t\t\tfilters, items: contextItems, loading, pagination,\n\t\t}, actions: { handleChange, load },\n\t} = useItemsProviderContext();\n\tconst items = React.useMemo(() => {\n\t\treturn contextItems.map((item) => {\n\t\t\tconst locations = item.locations.map((location) => {\n\t\t\t\tconst obj = {};\n\t\t\t\tlocation.location.doctorWorkingHours?.forEach((wh) => {\n\t\t\t\t\tif (!obj[wh.dayOfWeek]) {\n\t\t\t\t\t\tobj[wh.dayOfWeek] = wh;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tobj[wh.dayOfWeek] = {\n\t\t\t\t\t\t\t...obj[wh.dayOfWeek],\n\t\t\t\t\t\t\tendTime: getTime(wh.endTime) > getTime(obj[wh.dayOfWeek].endTime) ? wh.endTime : obj[wh.dayOfWeek].endTime,\n\t\t\t\t\t\t\tstartTime: getTime(wh.startTime) > getTime(obj[wh.dayOfWeek].startTime) ? wh.startTime : obj[wh.dayOfWeek].startTime,\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treturn {\n\t\t\t\t\t...location,\n\t\t\t\t\tlocation: {\n\t\t\t\t\t\t...location.location,\n\t\t\t\t\t\tdoctorWorkingHours: Object.values(obj) as any,\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t});\n\t\t\treturn {\n\t\t\t\t...item,\n\t\t\t\tlocations,\n\t\t\t};\n\t\t});\n\t}, [contextItems]);\n\tconst [location, setLocation] = React.useState(() => {\n\t\treturn items.find((item) => item?.locations?.[0]?.location)?.locations?.[0]?.location;\n\t});\n\tconst [locationList, setLocationList] = React.useState>([]);\n\tconst [selectedDoctorId, setSelectedDoctorId] = React.useState(() =>\n\t\titems.find((item) => item?.locations?.[0]?.location)?.id);\n\tconst [key, setKey] = React.useState(1);\n\tconst hideMap = useMobileView(1300);\n\n\tconst [daysRange, setDaysRange] = React.useState(6);\n\tconst [values, setValues] = React.useState({\n\t\tlocationName: filters.locationId ? searchFilterData.locationName : '',\n\t\tglobalPayerName: filters.globalPayerId ? searchFilterData.globalPayerName : '',\n\t\tglobalProcedures: filters.globalProcedureIds ? searchFilterData.globalProcedures : [],\n\t\ttext: '',\n\t\tlanguages: [],\n\t\tcertificates: [],\n\t});\n\n\tReact.useEffect(() => {\n\t\tconst obj: any = {};\n\t\titems.forEach((doctor) =>\n\t\t\tdoctor.locations.forEach((location) => {\n\t\t\t\tif (!obj[location.location.id]) {\n\t\t\t\t\tobj[location.location.id] = location.location;\n\t\t\t\t}\n\t\t\t}));\n\t\tsetLocationList(Object.values(obj));\n\t\tsetKey(Math.random());\n\t}, [items]);\n\n\tconst handleResize = () => {\n\t\tsetDaysRange(getDaysCount());\n\t};\n\n\tconst reloadTimes = (data) => {\n\t\tsetLoadingTimes(true);\n\t\treturn load(data, true)\n\t\t\t.then(() => {\n\t\t\t\tsetLoadingTimes(false);\n\t\t\t});\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (JSON.stringify({ ...filters })\n\t\t\t!== JSON.stringify({ ...filters, ...searchState, ...params })) {\n\t\t\thandleChange({ ...searchState, ...params })\n\t\t\t\t.then((res) => {\n\t\t\t\t\tconst location = res?.list?.[0]?.locations?.[0]?.location;\n\t\t\t\t\tlocation && setLocation(location);\n\t\t\t\t});\n\t\t}\n\t}, [searchState]);\n\tconst isMobile = useMobileView(undefined, handleResize);\n\n\tReact.useEffect(() => {\n\t\tupdateSearchFilter({\n\t\t\t...(filterProps as SearchFilterState),\n\t\t});\n\t}, []);\n\n\tReact.useEffect(() => {\n\t\tsetValues((prev) => ({\n\t\t\t...prev,\n\t\t\t...searchFilterData,\n\t\t}));\n\t\tsetLanguages(searchFilterData.languages || []);\n\t\tsetCertificates(searchFilterData.certificates || []);\n\t}, [searchFilterData]);\n\n\tReact.useEffect(() => {\n\t\tif (filters.daysRange !== daysRange) {\n\t\t\treloadTimes({ daysRange });\n\t\t}\n\t}, [filters, daysRange]);\n\n\tconst onPaginationChange = (current, pageSize) => {\n\t\thandleChange({ page: current, pageSize })\n\t\t\t.then((res) => {\n\t\t\t\tconst location = res?.list?.[0]?.locations?.[0]?.location;\n\t\t\t\tlocation && setLocation(location);\n\t\t\t});\n\t};\n\n\tconst onSelectPreviousWeek = () => {\n\t\treturn undefined;\n\t};\n\n\tconst onSelectNextWeek = () => {\n\t\treturn undefined;\n\t};\n\n\tconst columns = items\n\t\t? items.find((item) => item?.doctorBookedTimes?.values)?.doctorBookedTimes.values\n\t\t: null;\n\n\tconst goToPath = (path: string, state: any) => {\n\t\tnavigate(path, { state });\n\t};\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\n\t\t\t\n\t\t\t{!loading && !items.length ?

No Doctors found

: <>\n\t\t\t\t{columns && !loading &&
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t{loadingTimes &&
\n\t\t\t\t\t\t\n\t\t\t\t\t
}\n\t\t\t\t
}\n\t\t\t\t
\n\t\t\t\t\t{/* {defaultAddressList.map((a) => )} */}\n\t\t\t\t\t
\n\t\t\t\t\t\t{loading\n\t\t\t\t\t\t\t? \n\t\t\t\t\t\t\t: items.map((doctor: Doctor) => (\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tconst location = doctor.locations[0]?.location;\n\t\t\t\t\t\t\t\t\t\tif (location) {\n\t\t\t\t\t\t\t\t\t\t\tsetLocation(doctor.locations[0]?.location);\n\t\t\t\t\t\t\t\t\t\t\tsetSelectedDoctorId(doctor.id);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\tselectLocation={(location) => {\n\t\t\t\t\t\t\t\t\t\tif (location) {\n\t\t\t\t\t\t\t\t\t\t\tsetLocation(location);\n\t\t\t\t\t\t\t\t\t\t\tsetSelectedDoctorId(doctor.id);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\tselectLocationId={location?.id}\n\t\t\t\t\t\t\t\t\tgoToPath={goToPath}\n\t\t\t\t\t\t\t\t\tfrom={filters.from}\n\t\t\t\t\t\t\t\t\tdaysRange={daysRange}\n\t\t\t\t\t\t\t\t\tkey={doctor.id}\n\t\t\t\t\t\t\t\t\tclassName={doctor.id === selectedDoctorId ? 'doctor-card__selected' : ''}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t{pagination?.total > items.length &&
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
}\n\t\t\t\t\t
\n\t\t\t\t\t{items.length && !hideMap && location ?
\n\t\t\t\t\t\t\n\t\t\t\t\t
: null}\n\t\t\t\t
\n\t\t\t}\n\t\t
\n\t);\n};\n\nconst Doctors: React.FC = () => {\n\tconst location = useLocation();\n\tconst params = getSearchParamsFromUrl(location);\n\tconst { searchState } = useSelector((state: ApplicationState) => ({ searchState: state.header }));\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\ttype=\"DoctorSearchWithTimes\"\n\t\t\t\t\t\titems={serverPage?.items?.list}\n\t\t\t\t\t\tpagination={{ current: 1, pageSize: 10, total: serverPage?.items?.count }}\n\t\t\t\t\t\tfilters={{\n\t\t\t\t\t\t\t...searchState,\n\t\t\t\t\t\t\t...params,\n\t\t\t\t\t\t\tfrom: searchState.from || +new Date(),\n\t\t\t\t\t\t\tdaysRange: getDaysCount(),\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t/>\n\t\t\n\t);\n};\n\nexport default Doctors;\n","import React from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useNavigate, useLocation } from 'react-router-dom';\n\nimport dayjs from 'dayjs';\nimport { bindActionCreators } from 'redux';\nimport Popover from 'antd/lib/popover';\nimport Slider from 'antd/lib/slider';\nimport loadable from '@loadable/component';\n\nimport { loadableDelay } from '@common/react/loadable/loadableSettings';\nimport FiltersComponent from '@common/react/components/UI/FiltersComponent/FiltersPropsHandler';\nimport { handleUrl } from '@common/react/utils/FIltersParamsFromUrl/FiltersParamsFromUrl';\nimport { useItemsProviderContext } from '@common/react/components/Core/ItemsProvider/ItemsProvider';\nimport ResizeObserverContainer from '@common/react/components/UI/ResizeObserverContainer/ResizeObserverContainer';\nimport { useMobileView } from '@common/react/hooks/useMobileView';\n\nimport ImageWithSkeleton from '@commonTuna/react/components/UI/ImageWithSkeleton/ImageWithSkeleton';\nimport { Gender } from '@commonTuna/react/objects/Enums';\n\nimport RangepickerWithAdaptiveTooltipLoader from '@commonTuna/react/components/UI/RangepickerWithAdaptiveTooltip/LazyRangepickerWithAdaptiveTooltip';\n\nimport { getLocationName } from '@app/utils/Utils';\nimport MobileFilters from '@app/components/UI/MobileFilters/MobileFilters';\nimport { Doctor } from '@app/objects/Doctor';\nimport { ApplicationState } from '@app/store';\nimport { actionCreators } from '@app/store/HeaderSearch';\nimport Filter from '@app/components/UI/Filter/Filter';\n\nconst Datepicker: any = loadable(\n\t() =>\n\t\tloadableDelay(import(/* webpackChunkName: \"Datepicker\" */\n\t\t\t'@commonTuna/react/components/UI/DatePicker/DatePicker'\n\t\t)),\n\t{\n\t\tfallback: ,\n\t},\n);\n\nconst getPopupContainer = (node) => node.closest('.doctor-card-list') || document.body;\n\nconst genders = [\n\t{\n\t\tvalue: undefined,\n\t\tlabel: 'All Genders',\n\t},\n\t{\n\t\tvalue: Gender.Male,\n\t\tlabel: 'Male',\n\t},\n\t{\n\t\tvalue: Gender.Female,\n\t\tlabel: 'Female',\n\t},\n];\n\nconst filtersForClear = [\n\t'globalProcedureIds',\n\t'locationIds',\n\t'specialtyIds',\n\t'regionIds',\n\t'globalPayerIds',\n\t'gender',\n\t'languageIds',\n\t'certificateIds',\n\t'minExperience',\n];\n\nconst CustomGender:React.FC<{ value, onChange }> = ({ onChange, value }) => {\n\treturn
\n\t\t
\n\t\t\t\n\t\t\t{value !== undefined ? (\n\t\t\t\t {\n\t\t\t\t\t\tonChange({ gender: undefined });\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\tClear\n\t\t\t\t\n\t\t\t) : null}\n\t\t
\n\t\t
    \n\t\t\t{genders.map((item) =>
  • \n\t\t\t\t\n\t\t\t
  • )}\n\t\t
\n\t
;\n};\n\nconst ExperienceLevelFilter: React.FC<{ value, onChange }> = ({ value: propsValue, onChange }) => {\n\tconst [value, setValue] = React.useState(propsValue ?? [0, 21]);\n\treturn \n\t\t\n\t\t setValue(value)}\n\t\t\tonAfterChange={([minExperience, maxExperience]) => {\n\t\t\t\tconsole.log(minExperience, maxExperience === 21 ? undefined : maxExperience);\n\t\t\t\tonChange({\n\t\t\t\t\tminExperience: minExperience > 20 ? 20 : minExperience,\n\t\t\t\t\tmaxExperience: maxExperience === 21 ? undefined : maxExperience,\n\t\t\t\t});\n\t\t\t}}\n\t\t/>\n\t
;\n};\n\nconst Filters:React.FC<{certificates: any; languages: any; daysRange: number }> = ({ certificates, languages, daysRange: daysRangeProps }) => {\n\tconst navigate = useNavigate();\n\tconst location = useLocation();\n\tconst dispatch = useDispatch();\n\tconst { searchState } = useSelector((state: ApplicationState) => ({ searchState: state.header }));\n\tconst { setState } = bindActionCreators(actionCreators, dispatch);\n\tconst [daysRange, setDaysRange] = React.useState(6);\n\tconst {\n\t\tstate: {\n\t\t\tfilters,\n\t\t}, actions: { handleChange },\n\t} = useItemsProviderContext();\n\tconst isMobile = useMobileView(768);\n\tconst [count, setCount] = React.useState(3);\n\n\tReact.useEffect(() => {\n\t\tsetDaysRange(daysRangeProps);\n\t}, [daysRangeProps]);\n\n\tconst onChange = (params) => {\n\t\thandleChange(params)\n\t\t\t.then(() => {\n\t\t\t\tsetState({\n\t\t\t\t\t...searchState,\n\t\t\t\t\t...params,\n\t\t\t\t});\n\t\t\t});\n\t\thandleUrl(params, location, navigate, undefined, undefined, true);\n\t};\n\n\tconst list = [\n\t\t {\n\t\t\t\tonChange({ globalProcedureIds: !value?.length ? undefined : value });\n\t\t\t}}\n\t\t/>,\n\t\t `${option.company ? `${option.company.name} - ` : ''}${option.nameEn}`}\n\t\t\tgetOptionProps={(option: any) => {\n\t\t\t\treturn {\n\t\t\t\t\tkey: option.id,\n\t\t\t\t\ttitle: `${option.company ? `${option.company.name} - ` : ''}${option.nameEn}`,\n\t\t\t\t\tvalue: `${option.company ? `${option.company.portalShortName || option.company.name} - ` : ''}${option.nameEn}`,\n\t\t\t\t\titem: option,\n\t\t\t\t\tchildren: <>\n\t\t\t\t\t\t{option.avatar\n\t\t\t\t\t\t\t&&
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{getLocationName(option, undefined, true)}\n\t\t\t\t\t,\n\t\t\t\t};\n\t\t\t}}\n\t\t\tonChange={(value) => onChange({ locationIds: !value?.length ? undefined : value })}\n\t\t/>,\n\t\t onChange({ specialtyIds: !value?.length ? undefined : value })}\n\t\t/>,\n\t\t onChange({ regionIds: !value?.length ? undefined : value })}\n\t\t/>,\n\t\t onChange({ globalPayerIds: !value?.length ? undefined : value })}\n\t\t/>,\n\t\tisMobile ? \n\t\t\t:
\n\t\t\t\t}\n\t\t\t\t\tplacement=\"bottom\"\n\t\t\t\t\toverlayClassName=\"checkbox-list-popover\"\n\t\t\t\t>\n\t\t\t\t\t : null}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
,\n\t\t onChange({ languageIds: !value?.length ? undefined : value })}\n\t\t/>,\n\t\t onChange({ certificateIds: !value?.length ? undefined : value })}\n\t\t/>,\n\t\t,\n\t];\n\n\treturn {\n\t\t\tlet count = 0;\n\t\t\tlet currentWidth = width - 300;\n\t\t\tfor (let i = 0; i < list.length; i++) {\n\t\t\t\tif (currentWidth - +(list[i].props['data-width'] || 0) - 10 > 0) {\n\t\t\t\t\tcount++;\n\t\t\t\t\tcurrentWidth -= +(list[i].props['data-width'] || 0) + 10;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (count === list.length - 1 && currentWidth + 100 >= +list[list.length - 1].props['data-width']) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tif (count > list.length - 1) count = list.length - 1;\n\t\t\tif (count < 0) count = 0;\n\t\t\tif (window.innerWidth <= 768) count = 0;\n\t\t\tsetCount(count);\n\t\t}}\n\t\tclassName=\"filters-container list-filters clearfix\"\n\t\tstyle={{ '--len': `${daysRange * 88 + 140}px` } as any}\n\t>\n\t\t
\n\t\t\t {\n\t\t\t\t\tlet resultDate = date;\n\t\t\t\t\tif (date !== null) {\n\t\t\t\t\t\tresultDate = dayjs(date).utc().startOf('day').valueOf();\n\t\t\t\t\t}\n\t\t\t\t\tonChange({ from: resultDate });\n\t\t\t\t}}\n\t\t\t\tminDateToday\n\t\t\t\tutc\n\t\t\t/>\n\t\t
\n\t\t{list.slice(0, count)}\n\t\t{count !== list.length ?
\n\t\t\t {\n\t\t\t\t\tconst params = {};\n\t\t\t\t\tObject.values(filtersForClear.slice(count).concat('maxExperience'))\n\t\t\t\t\t\t.forEach((key) => params[key] = undefined);\n\t\t\t\t\tonChange({ ...params });\n\t\t\t\t}}\n\t\t\t\ttriggerNode={isMobile ? undefined\n\t\t\t\t\t: }\n\t\t\t\tplacement={isMobile ? undefined : null}\n\t\t\t\tgetChildrenList={(tooltipValues) => tooltipValues}\n\t\t\t\ttooltipValues={\n\t\t\t\t\t\n\t\t\t\t\t\t{list.slice(count)}\n\t\t\t\t\t
}\n\t\t\t\tcustomNode={isMobile ? MobileFilters : undefined}\n\t\t\t/>\n\t\t : null}\n\t;\n};\n\nexport default Filters;\n","import * as React from 'react';\nimport { NavLink } from 'react-router-dom';\n\nimport Tag from 'antd/lib/tag';\n\nimport { Specialty } from '@commonTuna/react/objects/Specialty';\n\ninterface Props {\n\tspecialty: Specialty;\n\ttagClassName?: string;\n}\n\nconst SpecialtyTag: React.FC = (props) => {\n\tconst specialty = props.specialty;\n\n\treturn (<>\n\t\t{specialty.path\n\t\t\t? \n\t\t\t\t\n\t\t\t\t\t{specialty.name}\n\t\t\t\t\n\t\t\t\n\t\t\t: \n\t\t\t\t{specialty.name}\n\t\t\t\n\t\t}\n\t);\n};\n\nexport default SpecialtyTag;\n","import * as React from 'react';\nimport ContentLoader from 'react-content-loader';\nimport { NavLink } from 'react-router-dom';\n\nimport ImageWithSkeleton from '@commonTuna/react/components/UI/ImageWithSkeleton/ImageWithSkeleton';\n\nimport dummyAvatar from '@images/no-image-available.jpg';\n\ninterface Props {\n\tsrc: string;\n\talt: string;\n\tpath?: string;\n\twithLink?: boolean;\n\thideWhenLoading?: boolean;\n}\n\nconst DoctorAvatar: React.FC = ({\n\tpath, src, alt, withLink = true, hideWhenLoading = true,\n}) => {\n\tconst [loading, setLoading] = React.useState(true);\n\tconst [hide, setHide] = React.useState(hideWhenLoading);\n\n\tReact.useEffect(() => {\n\t\tif (hideWhenLoading) {\n\t\t\tsetHide(false);\n\t\t}\n\t}, []);\n\n\tconst inner = (<>\n\t\t setLoading(false)}\n\t\t\tonError={() => setLoading(false)}\n\t\t\talt={alt}\n\t\t/>\n\t\t{loading ? \n\t\t\t\n\t\t : null}\n\t);\n\n\treturn withLink ? \n\t\t{inner}\n\t : inner;\n};\n\nexport default DoctorAvatar;\n","export enum ExperienceLevel\n{\n\tZeroToTwoYears = 0,\n\tThreeToFiveYears = 1,\n\tSixToTenYears = 2,\n\tElevenToTwentyYears = 3,\n\tTwentyPlusYears = 4\n}\n\nexport const ExperienceLevelNames = {\n\t[ExperienceLevel.ZeroToTwoYears]: '0-2 Years of Experience',\n\t[ExperienceLevel.ThreeToFiveYears]: '3-5 Years of Experience',\n\t[ExperienceLevel.SixToTenYears]: '6-10 Years of Experience',\n\t[ExperienceLevel.ElevenToTwentyYears]: '11-20 Years of Experience',\n\t[ExperienceLevel.TwentyPlusYears]: '20+ Years of Experience',\n};\n","import React from 'react';\n\nimport { ExperienceLevel } from '@commonTuna/react/objects/ExperienceLevel';\n\ninterface Props {\n\texperience?: ExperienceLevel;\n}\n\nexport const ExperienceLevelNames = {\n\t[ExperienceLevel.ZeroToTwoYears]: '0-2',\n\t[ExperienceLevel.ThreeToFiveYears]: '3-5',\n\t[ExperienceLevel.SixToTenYears]: '6-10',\n\t[ExperienceLevel.ElevenToTwentyYears]: '11-20',\n\t[ExperienceLevel.TwentyPlusYears]: '20+',\n};\n\nconst Experience: React.FC = ({ experience }) => {\n\treturn experience !== undefined && ExperienceLevelNames[experience]\n\t\t?
\n\t\t\t\n\t\t\t{' '}\n\t\t\t{ExperienceLevelNames[experience]}\n\t\t\t{' Years '}\n\t\t\t\n\t\t\t\tof Experience\n\t\t\t\n\t\t
: null;\n};\n\nexport default Experience;\n","import React from 'react';\n\nimport SimpleSearchInput from '@common/react/components/Forms/SimpleSearchInput/SimpleSearchInput';\nimport { BaseParams } from '@common/react/objects/BaseParams';\nimport { WithId } from '@common/typescript/objects/WithId';\nimport SimpleLoader from '@common/react/components/UI/SimpleLoader/SimpleLoader';\nimport { ItemsProvider, PaginationOptions } from '@common/react/components/Core/ItemsProvider/ItemsProvider';\n\nimport '@common/react/scss/components/searchWithCheckboxes.scss';\nimport LoadMoreButton from '@common/react/components/Core/ItemsProvider/LoadMoreButton';\n\ninterface Props {\n\ttype: string;\n\tonChange: (values: Array) => void;\n\tloadRequest?: string;\n\tvalues?: Array;\n\tinitItems?: Array;\n\tclassName?: string;\n\tadditionalParams?: BaseParams;\n\trenderName?: (item: T) => string;\n\tpagination?: PaginationOptions;\n\ttitle?: string;\n\ttitleClassName?: string;\n\tshowLoadMore?: boolean;\n\tloadMorePageSize?: number;\n\tinitLoadedAll?: boolean;\n}\n\nconst SearchWithCheckboxes: (props: Props) => React.ReactElement = (props) => {\n\tconst {\n\t\ttype,\n\t\tclassName,\n\t\tinitItems,\n\t\tadditionalParams,\n\t\tvalues = [],\n\t\trenderName = (item) => item.name,\n\t\tonChange,\n\t\tloadRequest,\n\t\tpagination = { pageSize: 50, current: 1 },\n\t\ttitle = '',\n\t\ttitleClassName = '',\n\t\tshowLoadMore = true,\n\t\tloadMorePageSize = 200,\n\t\tinitLoadedAll = false,\n\t} = props;\n\tconst [selectedIds, setSelectedIds] = React.useState(() => {\n\t\tconst obj = {};\n\t\tvalues?.forEach((id) => {\n\t\t\tobj[id] = 1;\n\t\t});\n\t\treturn obj;\n\t});\n\tconst [loadAll, setLoadAll] = React.useState(initLoadedAll);\n\tconst [search, setSearch] = React.useState('');\n\tconst handleCheck = (e) => {\n\t\tconst id = e.target.name;\n\t\tif (selectedIds[id]) {\n\t\t\tdelete selectedIds[id];\n\t\t} else {\n\t\t\tselectedIds[id] = +id;\n\t\t}\n\t\tsetSelectedIds({ ...selectedIds });\n\t\tonChange(Object.keys(selectedIds).map((item) => +item));\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (`${values?.map((el) => +el).sort()}` !== `${Object.keys(selectedIds).map((item) => +item).sort()}`) {\n\t\t\tconst obj = {};\n\t\t\t(values || []).forEach((item) => {\n\t\t\t\tobj[item] = 1;\n\t\t\t});\n\t\t\tsetSelectedIds(obj);\n\t\t}\n\t}, [`${values}`]);\n\tconst hasSelected = React.useMemo(() => {\n\t\treturn !!Object.keys(selectedIds).length;\n\t}, [selectedIds]);\n\tconst id = `${title}${type}checkboxes-search`;\n\n\treturn
\n\t\t
\n\t\t\t\n\t\t\t {\n\t\t\t\t\tsetSelectedIds({});\n\t\t\t\t\tonChange([]);\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\tClear\n\t\t\t\n\t\t
\n\t\t {\n\t\t\t\tif (res.count <= pagination.pageSize) {\n\t\t\t\t\tsetLoadAll(true);\n\t\t\t\t}\n\t\t\t}}\n\t\t>\n\t\t\t{({ state: { items, loading, filters }, actions: { handleChange } }) => {\n\t\t\t\tconst resItems = items\n\t\t\t\t\t.filter((item) => {\n\t\t\t\t\t\treturn renderName(item).toLowerCase().includes(search.toLowerCase());\n\t\t\t\t\t});\n\t\t\t\treturn <>\n\t\t\t\t\t
\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetSearch(e.currentTarget.value as string || '');\n\t\t\t\t\t\t\t\t!loadAll && !loading && handleChange({ pageSize: loadMorePageSize, current: 1 })\n\t\t\t\t\t\t\t\t\t.then(() => {\n\t\t\t\t\t\t\t\t\t\tsetLoadAll(true);\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\twithoutForm\n\t\t\t\t\t\t\totherInputProps={{\n\t\t\t\t\t\t\t\tid: `${title}${type}checkboxes-search`,\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t{loading ? : null}\n\t\t\t\t\t
\n\t\t\t\t\t
    \n\t\t\t\t\t\t{resItems\n\t\t\t\t\t\t\t.map((item) =>
  • \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
  • )}\n\t\t\t\t\t\t{resItems.length === 0 && !loading && loadAll\n\t\t\t\t\t\t\t?
  • \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tEmpty\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
  • : null}\n\t\t\t\t\t\t{showLoadMore && !loadAll &&
  • \n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetLoadAll(true);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tLoad More\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
  • }\n\t\t\t\t\t
\n\t\t\t\t;\n\t\t\t}}\n\t\t\n\t
;\n};\n\nexport default SearchWithCheckboxes;\n","import React from 'react';\n\nimport Popover from 'antd/lib/popover';\n\nimport SearchWithCheckboxes from '@common/react/components/UI/SearchWithCheckboxes/SearchWithCheckboxes';\nimport { BaseParams } from '@common/react/objects/BaseParams';\nimport { PaginationOptions } from '@common/react/components/Core/ItemsProvider/ItemsProvider';\n\ninterface FilterProps {\n\ttype: string;\n\tonChange: (values: Array) => void;\n\tloadRequest?: string;\n\tvalues?: Array;\n\tinitItems?: Array;\n\tclassName?: string;\n\tadditionalParams?: BaseParams;\n\trenderName?: (item) => React.ReactNode;\n\tpagination?: PaginationOptions;\n\ttitle?: string;\n\ttitleClassName?: string;\n\tisMobile?: boolean;\n\tgetOptionProps?: any;\n\tinitLoadedAll?: boolean;\n\tcontainerClassName?: string;\n}\n\nconst Filter: React.FC = (props) => {\n\tconst {\n\t\tisMobile,\n\t\tvalues,\n\t\tonChange,\n\t\ttitle,\n\t\ttitleClassName,\n\t\tadditionalParams,\n\t\trenderName = (item) => item.name,\n\t\tgetOptionProps = (item) => ({\n\t\t\titem,\n\t\t\ttitle: item.name,\n\t\t\tvalue: item.id,\n\t\t\tchildren: <>\n\t\t\t\t{renderName(item)}\n\t\t\t,\n\t\t}),\n\t\tcontainerClassName = 'pull-left ml10',\n\t\tpagination = {\n\t\t\tcurrent: 1,\n\t\t\tpageSize: 100,\n\t\t},\n\t\t...rest\n\t} = props;\n\n\tconst node = ();\n\n\treturn isMobile ? <>\n\t\t{node}\n\t : <>\n\t\t
\n\t\t\t\n\t\t\t\t : null}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
\n\t;\n};\n\nexport default Filter;\n","import * as React from 'react';\n\nimport Drawer from 'antd/lib/drawer';\n\nimport { IProps as FilterComponentProps } from '@common/react/components/UI/FiltersComponent/FiltersComponent';\n\nimport '@app/scss/components/mobileFilters.scss';\n\nconst MobileFilters: React.FC = (props) => {\n\tconst {\n\t\tfilters, tooltipValues, apply, filtersClean, disabled = false, buttonClassName, triggerNode,\n\t} = props;\n\tconst [open, setOpen] = React.useState(false);\n\tconst count = filters.reduce((res, filter) => (filter() ? res + 1 : res), 0);\n\n\tconst clean = React.useCallback(() => {\n\t\tif (filtersClean) {\n\t\t\tfiltersClean();\n\t\t}\n\t}, [filtersClean]);\n\n\tconst onClose = React.useCallback(() => setOpen(false), []);\n\tconst onOpen = React.useCallback(() => setOpen(true), []);\n\n\tconst trigger = triggerNode || \n\t\t\n\t;\n\n\treturn (\n\t\t\n\t\t\t{disabled\n\t\t\t\t? <>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t: <>\n\t\t\t\t\t\n\t\t\t\t\t\t{tooltipValues}\n\t\t\t\t\t\t{(apply || filtersClean)\n\t\t\t\t\t\t\t?
\n\t\t\t\t\t\t\t\t{filtersClean\n\t\t\t\t\t\t\t\t\t? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tClear\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : null\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t{apply\n\t\t\t\t\t\t\t\t\t? : null\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
: null\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t{trigger}\n\t\t\t\t}\n\t\t\t{count > 0 && !disabled\n\t\t\t&& \n\t\t\t\t{count}\n\t\t\t\t\n\t\t\t\n\t\t\t}\n\t\t\n\t);\n};\n\nexport default MobileFilters;\n","import * as React from 'react';\nimport { Link } from 'react-router-dom';\n\nimport Modal from 'antd/lib/modal';\n\nimport LoginPage from '@common/react/components/Pages/Login/Login';\n\nimport '@app/scss/pages/login.scss';\n\ninterface Props {\n\tvisible: boolean;\n\thandleClose: () => void;\n\tafterLogin: () => void;\n}\n\nconst LoginForm: React.FC = ({ visible, handleClose, afterLogin }) => {\n\treturn (\n\t\t document.querySelector('.app-container') || document.body}\n\t\t>\n\t\t\t
\n\t\t\t\t <>}\n\t\t\t\t\twithFieldTitle\n\t\t\t\t\tbuttons={Register}\n\t\t\t\t\tafterLogin={afterLogin}\n\t\t\t\t/>\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default LoginForm;\n","module.exports = \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QC2RXhpZgAASUkqAAgAAAACADEBAgAHAAAAJgAAAGmHBAABAAAALgAAAAAAAABQaWNhc2EAAAQAAJAHAAQAAAAwMjIwCZAHACwAAABkAAAAAaADAAEAAAABAAAABaAEAAEAAACQAAAAAAAAAAoqCAEQARgAIAAoADAAOABAAEgBUABYAGABaAFwAHgBgAEBiAEBkAEBqAEBAgABAAIABAAAAFI5OAACAAcABAAAADAxMDAAAAAA/9sAhAAICAgICQgJCgoJDQ4MDg0TERAQERMcFBYUFhQcKxsfGxsfGysmLiUjJS4mRDUvLzVETkI+Qk5fVVVfd3F3nJzRAQgICAgJCAkKCgkNDgwODRMREBARExwUFhQWFBwrGx8bGx8bKyYuJSMlLiZENS8vNUROQj5CTl9VVV93cXecnNH/wgARCAEsASwDASIAAhEBAxEB/8QAHAABAAEFAQEAAAAAAAAAAAAAAAECAwQFBgcI/9oACAEBAAAAAPfgI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5i3vL+NYh5ifeX8axLzE++n41iXmf/7X8axPzMe+v41ifmg98Vifmq+8KxPzaP3hWJ/QR+9WJfQx+9WI88cfv1O8iNNpAU55Df4L5CH1j3Gq7uZjwSPT7xrro0Li3mhO/XGy+2iPinl03kB/1eV5wwD/AFNy5VosZJOeSU/Zu7gQ4ldIOBk1e9v5dE0bcwYeV6zEo9NHoojjWQoJhlsB19x/aRI541rPLkGXGtSKc/Kcq1ksaIzyY0d4ageFd7NFn4jUOmh0110bi6kk5id3oFZVzCt+ZoDhW8KT5QdRrOs6zpVG+giuQDmxonkORoI5VqB4HkyFZUSwA450PJjvpldiAcqyoU77kQk0zHU+81pGQFEcmfNSPxUVlvQkGrqPm1CpRxjbOrhtyxmp9QZqI4+TCgeIqM8UHsqIfqCl5lFDo5BXVXVXVQodFDoodH/UH//EABQRAQAAAAAAAAAAAAAAAAAAAID/2gAIAQIBAT8ANP8A/8QAFBEBAAAAAAAAAAAAAAAAAAAAgP/aAAgBAwEBPwA0/wD/2Q==\""],"names":["Days","WorkingHours","props","workingHours","propsDaysRange","daysRange","from","React","currentFrom","setCurrentFrom","useMobileView","length","firstWeekDay","Date","getDay","arr","Array","map","_","i","className","type","onClick","prev","key","style","fontSize","showTime","find","dayOfWeek","startTime","endTime","nameEn","specialties","locations","avatar","portalPathEn","id","averageReviewRate","totalReviewCount","portalShortText","doctorBookedTimes","goToPath","withoutBookedTime","scheduleAppointment","selectLocation","selectLocationId","availableServices","experience","location","useLocation","selectedTime","locationId","getSearchParamsFromUrl","selectedLocation","setSelectedLocation","scheduledTime","rate","columnsCount","Object","keys","values","currentLocation","locationWh","doctorWorkingHours","title","Link","to","Experience","Stars","value","numberWithComma","s","specialty","SpecialtyTag","filter","item","path","NavLink","color","name","addressEn","activeKey","toString","items","label","getLocationName","children","onChange","getLocationAddress","DoctorBookedTimeBlock","doctorId","rowCount","days","onSelect","time","asNearestDate","nearestDateRedirect","withoutLocationButtons","selectLocationById","flexGrow","selectedLocationId","width","e","target","closest","tagName","DoctorAvatar","alt","src","Option","AutoComplete","getDaysCount","window","count","Math","floor","innerWidth","ceil","getTime","split","DoctorsFormInner","params","searchState","filterProps","loadingTimes","setLoadingTimes","navigate","useNavigate","dispatch","useDispatch","updateSearchFilter","bindActionCreators","searchFilterActionCreators","searchFilterData","useSelector","state","shallowEqual","languages","setLanguages","certificates","setCertificates","useItemsProviderContext","filters","contextItems","loading","pagination","actions","handleChange","load","obj","forEach","wh","setLocation","locationList","setLocationList","selectedDoctorId","setSelectedDoctorId","setKey","hideMap","setDaysRange","locationName","globalPayerName","globalPayerId","globalProcedures","globalProcedureIds","text","setValues","doctor","random","JSON","stringify","then","res","list","undefined","data","onPaginationChange","current","pageSize","page","columns","maxWidth","margin","paddingTop","BreadCrumbs","Filters","DoctorBookedTimeBlockHeader","disabledButtons","leftChevronDisabled","onSelectPreviousWeek","onSelectNextWeek","LogoLoader","size","total","disabled","onShowSizeChange","address","getAddress","addressList","marginTop","header","ServerPageProvider","defaultTitle","inner","serverPage","ItemsProvider","Datepicker","loadable","loadableDelay","fallback","getPopupContainer","node","document","body","genders","Gender","filtersForClear","CustomGender","gender","checked","ExperienceLevelFilter","propsValue","setValue","tooltip","formatter","styles","track","background","tracks","step","range","min","max","onAfterChange","minExperience","maxExperience","console","log","daysRangeProps","setState","actionCreators","isMobile","setCount","handleUrl","loadRequest","locationIds","renderName","option","company","getOptionProps","portalShortName","titleClassName","specialtyIds","regionIds","globalPayerIds","trigger","content","placement","overlayClassName","languageIds","initItems","initLoadedAll","certificateIds","onResize","currentWidth","date","resultDate","dayjs","utc","startOf","valueOf","minDateToday","slice","apply","additionalParams","popoverStyle","minWidth","popoverClassName","buttonClassName","filtersClean","concat","triggerNode","getChildrenList","tooltipValues","customNode","MobileFilters","tagClassName","withLink","hideWhenLoading","setLoading","hide","setHide","skeleton","dummyAvatar","onLoad","onError","height","viewBox","backgroundColor","foregroundColor","uniqueKey","x","y","rx","ry","ExperienceLevel","ZeroToTwoYears","ThreeToFiveYears","SixToTenYears","ElevenToTwentyYears","TwentyPlusYears","ExperienceLevelNames","showLoadMore","loadMorePageSize","selectedIds","setSelectedIds","loadAll","setLoadAll","search","setSearch","handleCheck","el","sort","hasSelected","htmlFor","skipInitLoad","resItems","toLowerCase","includes","SimpleSearchInput","currentTarget","withoutForm","otherInputProps","SimpleLoader","padding","LoadMoreButton","afterLoad","containerClassName","rest","open","setOpen","reduce","clean","onClose","onOpen","closable","rootClassName","visible","handleClose","afterLogin","centered","onCancel","footer","destroyOnClose","maskClosable","getContainer","querySelector","request","withoutServerPage","afterBaseRedirectUser","withFieldTitle","buttons","module","exports"],"sourceRoot":""}