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Y,CAAI,CAAC,IAAI,CAAE,IAC3BU,mBAAoB7Y,CAAAA,EAAAA,EAAAA,EAAAA,EAAMmY,CAAI,CAAC,IAAI,CAAE,KACrCW,MAAO9Y,CAAAA,EAAAA,EAAAA,EAAAA,EAAMmY,CAAI,CAAC,IAAI,CAAE,KACxBY,aAAc,IACdC,gBAAiB,GACnB,CACF,EAEO,SAAS/Y,QAAQmG,CAAI,EAC1B,IAAMK,EAAQ,CACZ,GAAG4R,CAAM,CACTjS,KAAM,QACN6S,KAAM,CACJzS,QAAS2R,CAAI,CAAC,IAAI,CAClBI,UAAWJ,CAAI,CAAC,IAAI,CACpBS,SAAUT,CAAI,CAAC,IAAI,EAErB5R,WAAY,CACVqF,MAAO,UACPC,QAAS,UACTqN,QAASf,CAAI,CAAC,IAAI,EAEpBrC,OAAQ,CACN,GAAGuC,EAAOvC,MAAM,CAChBqD,OAAQhB,CAAI,CAAC,IAAI,CAErB,EAEMH,EAAO,CACX,GAAGK,CAAM,CACTjS,KAAM,OACN6S,KAAM,CACJzS,QAAS,UACT+R,UAAWJ,CAAI,CAAC,IAAI,CACpBS,SAAUT,CAAI,CAAC,IAAI,EAErB5R,WAAY,CACVqF,MAAOuM,CAAI,CAAC,IAAI,CAChBtM,QAASsM,CAAI,CAAC,IAAI,CAClBe,QAASlZ,CAAAA,EAAAA,EAAAA,EAAAA,EAAMmY,CAAI,CAAC,IAAI,CAAE,IAC5B,EACArC,OAAQ,CACN,GAAGuC,EAAOvC,MAAM,CAChBqD,OAAQhB,CAAI,CAAC,IAAI,CAErB,EAEA,MAAO/R,UAAAA,EAAmBK,EAAQuR,CACpC","sources":["webpack://_N_E/./src/components/iconify/iconify.js","webpack://_N_E/./src/components/iconify/index.js","webpack://_N_E/./src/components/scrollbar/index.js","webpack://_N_E/./src/components/scrollbar/styles.js","webpack://_N_E/./src/components/scrollbar/scrollbar.js","webpack://_N_E/./src/components/settings/context/index.js","webpack://_N_E/./src/components/settings/context/settings-context.js","webpack://_N_E/./src/hooks/use-local-storage.js","webpack://_N_E/./src/utils/storage-available.js","webpack://_N_E/./src/components/settings/context/settings-provider.js","webpack://_N_E/./src/components/settings/drawer/base-option.js","webpack://_N_E/./src/components/settings/drawer/layout-options.js","webpack://_N_E/./src/components/settings/drawer/presets-options.js","webpack://_N_E/./src/components/settings/drawer/stretch-options.js","webpack://_N_E/./src/components/settings/drawer/fullscreen-option.js","webpack://_N_E/./src/components/settings/drawer/settings-drawer.js","webpack://_N_E/./src/components/settings/drawer/index.js","webpack://_N_E/./src/components/settings/index.js","webpack://_N_E/./src/components/svg-color/svg-color.js","webpack://_N_E/./src/components/svg-color/index.js","webpack://_N_E/./src/constants.js","webpack://_N_E/./src/theme/css.js","webpack://_N_E/./src/theme/options/presets.js","webpack://_N_E/./src/theme/palette.js","webpack://_N_E/"],"sourcesContent":["import PropTypes from 'prop-types';\nimport { forwardRef } from 'react';\n// icons\nimport { Icon } from '@iconify/react';\n// @mui\nimport Box from '@mui/material/Box';\n\n// ----------------------------------------------------------------------\n\nconst Iconify = forwardRef(({ icon, width = 20, sx, ...other }, ref) => (\n \n));\n\nIconify.propTypes = {\n icon: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),\n sx: PropTypes.object,\n width: PropTypes.number,\n};\n\nexport default Iconify;\n","export { default } from './iconify';\n","export { default } from './scrollbar';\n","import SimpleBar from 'simplebar-react';\n// @mui\nimport { alpha, styled } from '@mui/material/styles';\n\n// ----------------------------------------------------------------------\n\nexport const StyledRootScrollbar = styled('div')(() => ({\n flexGrow: 1,\n height: '100%',\n overflow: 'hidden',\n}));\n\nexport const StyledScrollbar = styled(SimpleBar)(({ theme }) => ({\n maxHeight: '100%',\n '& .simplebar-scrollbar': {\n '&:before': {\n backgroundColor: alpha(theme.palette.grey[600], 0.48),\n },\n '&.simplebar-visible:before': {\n opacity: 1,\n },\n },\n '& .simplebar-mask': {\n zIndex: 'inherit',\n },\n}));\n","import PropTypes from 'prop-types';\nimport { memo, forwardRef } from 'react';\n// @mui\nimport Box from '@mui/material/Box';\n//\nimport { StyledRootScrollbar, StyledScrollbar } from './styles';\n\n// ----------------------------------------------------------------------\n\nconst Scrollbar = forwardRef(({ children, sx, ...other }, ref) => {\n const userAgent = typeof navigator === 'undefined' ? 'SSR' : navigator.userAgent;\n\n const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(userAgent);\n\n if (isMobile) {\n return (\n \n {children}\n \n );\n }\n\n return (\n \n \n {children}\n \n \n );\n});\n\nScrollbar.propTypes = {\n children: PropTypes.node,\n sx: PropTypes.object,\n};\n\nexport default memo(Scrollbar);\n","export { useSettingsContext } from './settings-context';\nexport { SettingsProvider } from './settings-provider';\n","'use client';\n\nimport { createContext, useContext } from 'react';\n\n// ----------------------------------------------------------------------\n\nexport const SettingsContext = createContext({});\n\nexport const useSettingsContext = () => {\n const context = useContext(SettingsContext);\n\n if (!context) throw new Error('useSettingsContext must be use inside SettingsProvider');\n\n return context;\n};\n","import { useEffect, useState, useCallback } from 'react';\n\n// ----------------------------------------------------------------------\n\nexport function useLocalStorage(key, initialState) {\n const [state, setState] = useState(initialState);\n\n useEffect(() => {\n const restored = getStorage(key);\n\n if (restored) {\n setState((prevValue) => ({\n ...prevValue,\n ...restored,\n }));\n }\n }, [key]);\n\n const updateState = useCallback(\n (updateValue) => {\n setState((prevValue) => {\n setStorage(key, {\n ...prevValue,\n ...updateValue,\n });\n\n return {\n ...prevValue,\n ...updateValue,\n };\n });\n },\n [key]\n );\n\n const update = useCallback(\n (name, updateValue) => {\n updateState({\n [name]: updateValue,\n });\n },\n [updateState]\n );\n\n const reset = useCallback(() => {\n removeStorage(key);\n setState(initialState);\n }, [initialState, key]);\n\n return {\n state,\n update,\n reset,\n };\n}\n\n// ----------------------------------------------------------------------\n\nexport const getStorage = (key) => {\n let value = null;\n\n try {\n const result = window.localStorage.getItem(key);\n\n if (result) {\n value = JSON.parse(result);\n }\n } catch (error) {\n console.error(error);\n }\n\n return value;\n};\n\nexport const setStorage = (key, value) => {\n try {\n window.localStorage.setItem(key, JSON.stringify(value));\n } catch (error) {\n console.error(error);\n }\n};\n\nexport const removeStorage = (key) => {\n try {\n window.localStorage.removeItem(key);\n } catch (error) {\n console.error(error);\n }\n};\n","// ----------------------------------------------------------------------\n\nexport function localStorageAvailable() {\n try {\n const key = '__some_random_key_you_are_not_going_to_use__';\n window.localStorage.setItem(key, key);\n window.localStorage.removeItem(key);\n return true;\n } catch (error) {\n return false;\n }\n}\n\nexport function localStorageGetItem(key, defaultValue = '') {\n const storageAvailable = localStorageAvailable();\n\n let value;\n\n if (storageAvailable) {\n value = localStorage.getItem(key) || defaultValue;\n }\n\n return value;\n}\n","'use client';\n\nimport PropTypes from 'prop-types';\nimport isEqual from 'lodash/isEqual';\nimport { useEffect, useMemo, useCallback, useState } from 'react';\n// hooks\nimport { useLocalStorage } from 'src/hooks/use-local-storage';\n// utils\nimport { localStorageGetItem } from 'src/utils/storage-available';\n//\nimport { SettingsContext } from './settings-context';\n\n// ----------------------------------------------------------------------\n\nconst STORAGE_KEY = 'settings';\n\nconst defaultSettings = {\n accession_list: {\n filters: undefined,\n columns: undefined,\n },\n accession_library: {\n search: undefined,\n },\n};\n\nexport function SettingsProvider({ children, initialSettings }) {\n const { state, update, reset } = useLocalStorage(STORAGE_KEY, {\n ...defaultSettings,\n id: 1,\n ...initialSettings,\n });\n\n const [openDrawer, setOpenDrawer] = useState(false);\n\n const isArabic = localStorageGetItem('i18nextLng') === 'ar';\n\n useEffect(() => {\n if (isArabic) {\n onChangeDirectionByLang('ar');\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isArabic]);\n\n // Direction by lang\n const onChangeDirectionByLang = useCallback(\n (lang) => {\n update('themeDirection', lang === 'ar' ? 'rtl' : 'ltr');\n },\n [update]\n );\n\n // Drawer\n const onToggleDrawer = useCallback(() => {\n setOpenDrawer((prev) => !prev);\n }, []);\n\n const onCloseDrawer = useCallback(() => {\n setOpenDrawer(false);\n }, []);\n\n const canReset = !isEqual(state, initialSettings);\n\n const memoizedValue = useMemo(\n () => ({\n ...state,\n onUpdate: update,\n // Direction\n onChangeDirectionByLang,\n // Reset\n canReset,\n onReset: reset,\n // Drawer\n open: openDrawer,\n onToggle: onToggleDrawer,\n onClose: onCloseDrawer,\n }),\n [\n reset,\n update,\n state,\n canReset,\n openDrawer,\n onCloseDrawer,\n onToggleDrawer,\n onChangeDirectionByLang,\n ]\n );\n\n return {children};\n}\n\nSettingsProvider.propTypes = {\n children: PropTypes.node,\n initialSettings: PropTypes.object,\n};\n","import PropTypes from 'prop-types';\n// @mui\nimport { alpha } from '@mui/material/styles';\nimport Stack from '@mui/material/Stack';\nimport ButtonBase from '@mui/material/ButtonBase';\n//\nimport SvgColor from '../../svg-color';\n\n// ----------------------------------------------------------------------\n\nexport default function BaseOptions({ icons, options, value, onChange }) {\n return (\n \n {options.map((option, index) => {\n const selected = value === option;\n\n return (\n onChange(option)}\n sx={{\n width: 1,\n height: 80,\n borderRadius: 1,\n border: (theme) => `solid 1px ${alpha(theme.palette.grey[500], 0.08)}`,\n ...(selected && {\n bgcolor: 'background.paper',\n boxShadow: (theme) =>\n `-24px 8px 24px -4px ${alpha(\n theme.palette.mode === 'light'\n ? theme.palette.grey[500]\n : theme.palette.common.black,\n 0.08\n )}`,\n }),\n '& .svg-color': {\n background: (theme) =>\n `linear-gradient(135deg, ${theme.palette.grey[500]} 0%, ${theme.palette.grey[600]} 100%)`,\n ...(selected && {\n background: (theme) =>\n `linear-gradient(135deg, ${theme.palette.primary.light} 0%, ${theme.palette.primary.main} 100%)`,\n }),\n },\n }}\n >\n \n \n );\n })}\n \n );\n}\n\nBaseOptions.propTypes = {\n icons: PropTypes.arrayOf(PropTypes.string),\n onChange: PropTypes.func,\n options: PropTypes.array,\n value: PropTypes.string,\n};\n","import PropTypes from 'prop-types';\n// @mui\nimport { alpha, useTheme } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\nimport Stack from '@mui/material/Stack';\nimport ButtonBase from '@mui/material/ButtonBase';\n\n// ----------------------------------------------------------------------\n\nexport default function LayoutOptions({ options, value, onChange }) {\n const theme = useTheme();\n\n const renderNav = (option, selected) => {\n const background = `linear-gradient(135deg, ${theme.palette.primary.light} 0%, ${theme.palette.primary.main} 100%)`;\n\n const baseStyles = {\n flexShrink: 0,\n borderRadius: 0.5,\n bgcolor: 'grey.500',\n };\n\n const circle = (\n \n );\n\n const primaryItem = (\n \n );\n\n const secondaryItem = (\n \n );\n\n return (\n \n {circle}\n {primaryItem}\n {secondaryItem}\n \n );\n };\n\n const renderContent = (selected) => (\n \n \n \n );\n\n return (\n \n {options.map((option) => {\n const selected = value === option;\n\n return (\n onChange(option)}\n sx={{\n p: 0,\n width: 1,\n height: 56,\n borderRadius: 1,\n border: `solid 1px ${alpha(theme.palette.grey[500], 0.08)}`,\n ...(selected && {\n bgcolor: 'background.paper',\n boxShadow: `-24px 8px 24px -4px ${alpha(\n theme.palette.mode === 'light'\n ? theme.palette.grey[500]\n : theme.palette.common.black,\n 0.08\n )}`,\n }),\n ...(option === 'horizontal' && {\n flexDirection: 'column',\n }),\n }}\n >\n {renderNav(option, selected)}\n {renderContent(selected)}\n \n );\n })}\n \n );\n}\n\nLayoutOptions.propTypes = {\n onChange: PropTypes.func,\n options: PropTypes.array,\n value: PropTypes.string,\n};\n","import PropTypes from 'prop-types';\n// @mui\nimport { alpha } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\nimport ButtonBase from '@mui/material/ButtonBase';\n// theme\nimport { primaryPresets } from 'src/theme/options/presets';\n\n// ----------------------------------------------------------------------\n\nexport default function PresetsOptions({ value, onChange }) {\n const options = primaryPresets.map((color) => ({\n name: color.name,\n value: color.main,\n }));\n\n return (\n \n {options.map((option) => {\n const selected = value === option.name;\n\n return (\n onChange(option.name)}\n sx={{\n height: 56,\n borderRadius: 1,\n border: (theme) => `solid 1px ${alpha(theme.palette.grey[500], 0.08)}`,\n ...(selected && {\n borderColor: 'transparent',\n bgcolor: alpha(option.value, 0.08),\n }),\n }}\n >\n \n theme.transitions.create(['transform'], {\n duration: theme.transitions.duration.shorter,\n }),\n ...(selected && {\n transform: 'scale(2)',\n }),\n }}\n />\n \n );\n })}\n \n );\n}\n\nPresetsOptions.propTypes = {\n onChange: PropTypes.func,\n value: PropTypes.string,\n};\n","import PropTypes from 'prop-types'; // @mui\nimport { alpha } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\nimport Stack from '@mui/material/Stack';\nimport ButtonBase from '@mui/material/ButtonBase';\n//\nimport Iconify from '../../iconify';\n\n// ----------------------------------------------------------------------\n\nexport default function StretchOptions({ value, onChange }) {\n return (\n `solid 1px ${alpha(theme.palette.grey[500], 0.08)}`,\n ...(value && {\n bgcolor: 'background.paper',\n color: (theme) => theme.palette.primary.main,\n boxShadow: (theme) =>\n `-24px 8px 24px -4px ${alpha(\n theme.palette.mode === 'light' ? theme.palette.grey[500] : theme.palette.common.black,\n 0.08\n )}`,\n }),\n }}\n >\n theme.transitions.create(['width']),\n ...(value && {\n width: 0.5,\n }),\n }}\n >\n \n `linear-gradient(135deg, ${theme.palette.primary.light} 0%, ${theme.palette.primary.main} 100%)`,\n }}\n />\n\n \n\n \n `linear-gradient(135deg, ${theme.palette.primary.light} 0%, ${theme.palette.primary.main} 100%)`,\n }}\n />\n \n \n );\n}\n\nStretchOptions.propTypes = {\n onChange: PropTypes.func,\n value: PropTypes.bool,\n};\n","import { useState, useCallback } from 'react';\n// @mui\nimport { alpha } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\nimport ButtonBase from '@mui/material/ButtonBase';\n//\nimport SvgColor from '../../svg-color';\n\n// ----------------------------------------------------------------------\n\nexport default function FullScreenOption() {\n const [fullscreen, setFullscreen] = useState(false);\n\n const onToggleFullScreen = useCallback(() => {\n if (!document.fullscreenElement) {\n document.documentElement.requestFullscreen();\n setFullscreen(true);\n } else if (document.exitFullscreen) {\n document.exitFullscreen();\n setFullscreen(false);\n }\n }, []);\n\n return (\n \n `solid 1px ${alpha(theme.palette.grey[500], 0.08)}`,\n ...(fullscreen && {\n color: 'text.primary',\n }),\n '& .svg-color': {\n background: (theme) =>\n `linear-gradient(135deg, ${theme.palette.grey[500]} 0%, ${theme.palette.grey[600]} 100%)`,\n ...(fullscreen && {\n background: (theme) =>\n `linear-gradient(135deg, ${theme.palette.primary.light} 0%, ${theme.palette.primary.main} 100%)`,\n }),\n },\n }}\n >\n \n\n {fullscreen ? 'Exit Fullscreen' : 'Fullscreen'}\n \n \n );\n}\n","'use client';\n\n// @mui\nimport { useTheme } from '@mui/material/styles';\nimport Stack from '@mui/material/Stack';\nimport Badge from '@mui/material/Badge';\nimport Divider from '@mui/material/Divider';\nimport Tooltip from '@mui/material/Tooltip';\nimport IconButton from '@mui/material/IconButton';\nimport Typography from '@mui/material/Typography';\nimport Drawer, { drawerClasses } from '@mui/material/Drawer';\n// theme\nimport { paper } from 'src/theme/css';\n//\nimport Iconify from '../../iconify';\nimport Scrollbar from '../../scrollbar';\n//\nimport { useSettingsContext } from '../context';\nimport BaseOptions from './base-option';\nimport LayoutOptions from './layout-options';\nimport PresetsOptions from './presets-options';\nimport StretchOptions from './stretch-options';\nimport FullScreenOption from './fullscreen-option';\n\n// ----------------------------------------------------------------------\n\nexport default function SettingsDrawer() {\n const theme = useTheme();\n\n const settings = useSettingsContext();\n\n const labelStyles = {\n mb: 1.5,\n color: 'text.disabled',\n fontWeight: 'fontWeightSemiBold',\n };\n\n const renderHead = (\n \n \n Settings\n \n\n \n \n \n \n \n \n \n\n \n \n \n \n );\n\n const renderMode = (\n
\n \n Mode\n \n\n settings.onUpdate('themeMode', newValue)}\n options={['light', 'dark']}\n icons={['sun', 'moon']}\n />\n
\n );\n\n const renderContrast = (\n
\n \n Contrast\n \n\n settings.onUpdate('themeContrast', newValue)}\n options={['default', 'bold']}\n icons={['contrast', 'contrast_bold']}\n />\n
\n );\n\n const renderDirection = (\n
\n \n Direction\n \n\n settings.onUpdate('themeDirection', newValue)}\n options={['ltr', 'rtl']}\n icons={['align_left', 'align_right']}\n />\n
\n );\n\n const renderLayout = (\n
\n \n Layout\n \n\n settings.onUpdate('themeLayout', newValue)}\n options={['vertical', 'horizontal', 'mini']}\n />\n
\n );\n\n const renderStretch = (\n
\n \n Stretch\n 1600px (xl)\">\n \n \n \n\n settings.onUpdate('themeStretch', !settings.themeStretch)}\n />\n
\n );\n\n const renderPresets = (\n
\n \n Presets\n \n\n settings.onUpdate('themeColorPresets', newValue)}\n />\n
\n );\n\n return (\n \n {renderHead}\n\n \n\n \n \n {renderMode}\n\n {renderContrast}\n\n {renderDirection}\n\n {renderLayout}\n\n {renderStretch}\n\n {renderPresets}\n \n \n\n \n \n );\n}\n","export { default } from './settings-drawer';\n","export * from './context';\n\nexport { default as SettingsDrawer } from './drawer';\n","import PropTypes from 'prop-types';\nimport { forwardRef } from 'react';\n// @mui\nimport Box from '@mui/material/Box';\n\n// ----------------------------------------------------------------------\n\nconst SvgColor = forwardRef(({ src, sx, ...other }, ref) => (\n \n));\n\nSvgColor.propTypes = {\n src: PropTypes.string,\n sx: PropTypes.object,\n};\n\nexport default SvgColor;\n","export { default } from './svg-color';\n","/**\n * @enum {typeof SlideStatuses[keyof typeof SlideStatuses]}\n */\nexport const SlideStatuses = Object.freeze({\n REVIEWED: 'Reviewed',\n IN_PROGRESS: 'In Progress',\n READY_FOR_REVIEW: 'Ready For Review',\n UNSORTED: 'Unsorted',\n});\n\n/**\n * @enum {typeof AccessionStatuses[keyof typeof AccessionStatuses]}\n */\nexport const AccessionStatuses = Object.freeze({\n COMPLETE: 'Complete',\n CONSULT: 'Consult',\n FINAL: 'Final',\n IHC_STAIN: 'IHC/Stain',\n LEVEL: 'Level',\n MISSING_SLIDE: 'Missing slide',\n OTHER: 'Other',\n READY_FOR_REVIEW: 'Ready For Review',\n RESCAN: 'Rescan',\n REVIEW: 'Review',\n});\n\n/**\n * @enum {typeof StainRequestStatuses[keyof typeof StainRequestStatuses]}\n */\nexport const StainRequestStatuses = Object.freeze({\n REQUESTED: 'Requested',\n REDO: 'Re-do',\n COMPLETED: 'Completed',\n CANCELLED: 'Cancelled',\n});\n\n/**\n * @enum {typeof InsuredRelationships[keyof typeof InsuredRelationships]}\n */\nexport const InsuredRelationships = Object.freeze({\n SELF: 'Self',\n SPOUSE: 'Spouse',\n CHILD: 'Child',\n OTHER: 'Other',\n});\n\n/**\n * @enum {typeof UserRoles[keyof typeof UserRoles]}\n */\nexport const UserRoles = Object.freeze({\n SYSTEM_ADMINISTRATOR: 'System Administrator',\n LAB_ADMINISTRATOR: 'Lab Administrator',\n LAB_DIRECTOR: 'Lab Director',\n LAB_MANAGER: 'Lab Manager',\n LAB_USER: 'Lab User',\n TECHNICIAN: 'Technician',\n OFFICE_USER: 'Office User',\n PATHOLOGIST: 'Pathologist',\n TC_PATHOLOGIST: 'TC Pathologist',\n SALES_PERSON: 'Sales Person',\n PHYSICIAN: 'Physician',\n BILLING_STAFF: 'Billing Staff',\n BILLING_ADMINISTRATOR: 'Billing Administrator',\n CP_OFFICE_USER: 'CP Office User',\n CP_STAFF: 'CP Staff',\n CP_ADMINISTRATOR: 'CP Administrator',\n URO_TECHNICIAN: 'Uro Technician',\n GUEST: 'Guest',\n RESEARCHER: 'Researcher',\n});\n\n/**\n * @enum {typeof OfficeUserAccessLevels[keyof typeof OfficeUserAccessLevels]}\n */\nexport const OfficeUserAccessLevels = Object.freeze({\n PRACTICE: 'practice',\n PHYSICIAN: 'physician',\n LOCATION: 'location',\n GROUP: 'group',\n});\n\nexport const ACCESS_LEVEL_OPTIONS = [\n { value: OfficeUserAccessLevels.PRACTICE, label: 'Practice Level Access' },\n { value: OfficeUserAccessLevels.PHYSICIAN, label: 'Physician Level Access' },\n { value: OfficeUserAccessLevels.GROUP, label: 'Group Level Access' },\n { value: OfficeUserAccessLevels.LOCATION, label: 'Location Level Access' },\n];\n\nexport const LoadingStatuses = Object.freeze({\n IDLE: 'idle',\n PENDING: 'pending',\n FULFILLED: 'fulfilled',\n REJECTED: 'rejected',\n});\n\nexport const ReportTemplateTypes = Object.freeze({\n Diagnosis: 'Diagnosis',\n 'Micro Description': 'Micro Description',\n Note: 'Note',\n Addendum: 'Addendum',\n});\n\nexport const TemplateTypes = Object.freeze({\n ...ReportTemplateTypes,\n Grossing: 'Grossing',\n Stain: 'Stain',\n Amendment: 'Amendment',\n});\n\nexport const CancerStages = Object.freeze({\n _1a: '1A',\n _1b: '1B',\n _1c: '1C',\n _2a: '2A',\n _2b: '2B',\n _2c: '2C',\n _3a: '3A',\n _3b: '3B',\n _3c: '3C',\n _4a: '4A',\n _4b: '4B',\n _4c: '4C',\n});\n\nexport const PSALevels = Object.freeze({\n low: '<10 ng/mL',\n med: '10-20 ng/mL',\n high: '>20 ng/mL',\n});\n\nexport const GleasonScores = Object.freeze({\n 633: '6(3+3)',\n 734: '7(3+4)',\n 743: '7(4+3)',\n 835: '8(3+5)',\n 844: '8(4+4)',\n 853: '8(5+3)',\n 945: '9(4+5)',\n 954: '9(5+4)',\n 1055: '10(5+5)',\n});\n\nexport const ProstateCores = Object.freeze({\n 11: '1 of 1',\n 12: '1 of 2',\n 22: '2 of 2',\n 13: '1 of 3',\n 23: '2 of 3',\n 33: '3 of 3',\n});\n\nexport const BILL_TYPES = {\n INSURANCE: 'bill_insurance',\n SELF: 'self_pay',\n NONE: 'no_bill',\n CASH: 'cash_pay',\n NOSTATEMENT: 'no_statement',\n};\n\n/**\n * @enum {typeof BillingSummaryFields[keyof typeof BillingSummaryFields]}\n */\nexport const BillingSummaryFields = Object.freeze({\n 'Accession ID': 'accession_num',\n 'Date Collected': 'service_date',\n 'Report Date': 'report_date',\n 'Patient Name': 'patient',\n 'Patient Address Line 1': 'patient.address_line_1',\n 'Patient Address Line 2': 'patient.address_line_2',\n 'Patient Address City': 'patient.address_city',\n 'Patient Address State': 'patient.address_state',\n 'Patient Address Zip': 'patient.address_zip',\n 'Patient Phone': 'patient.phone',\n DOB: 'patient.dob',\n 'Client name': 'practice.name',\n 'Test Type': 'test_type.description',\n 'Ordering Physician': 'ordering_physician',\n 'Ordering Physician NPI': 'ordering_physician.npi',\n 'Assignee Pathologist': 'case_assignee.name_on_report',\n ICD: 'icd_codes',\n CPT: 'cpt_codes',\n 'Ordering Physician First Name': 'ordering_physician.first_name',\n 'Ordering Physician Last Name': 'ordering_physician.last_name',\n 'Primary Insurance Relationship': 'patient.primary_insurance.relationship',\n 'Primary Insurance Member Id': 'patient.primary_insurance.member_id',\n 'Primary Insurance Policy Num': 'patient.primary_insurance.policy_num',\n 'Primary Insurance Group Num': 'patient.primary_insurance.group_num',\n 'Primary Insurance Insured Last Name': 'patient.primary_insurance.insured_last_name',\n 'Primary Insurance Insured First Name': 'patient.primary_insurance.insured_first_name',\n 'Primary Insurance Insured Dob': 'patient.primary_insurance.insured_dob',\n 'Primary Insurance Name': 'patient.primary_insurance.insurance.name',\n 'Primary Insurance Friendly Name': 'patient.primary_insurance.insurance.friendly_name',\n 'Primary Insurance Phone': 'patient.primary_insurance.insurance.phone',\n 'Primary Insurance Is Active': 'patient.primary_insurance.insurance.is_active',\n 'Secondary Insurance Relationship': 'patient.secondary_insurance.relationship',\n 'Secondary Insurance Member Id': 'patient.secondary_insurance.member_id',\n 'Secondary Insurance Policy Num': 'patient.secondary_insurance.policy_num',\n 'Secondary Insurance Group Num': 'patient.secondary_insurance.group_num',\n 'Secondary Insurance Insured Last Name': 'patient.secondary_insurance.insured_last_name',\n 'Secondary Insurance Insured First Name': 'patient.secondary_insurance.insured_first_name',\n 'Secondary Insurance Insured Dob': 'patient.secondary_insurance.insured_dob',\n 'Secondary Insurance Name': 'patient.secondary_insurance.insurance.name',\n 'Secondary Insurance Friendly Name': 'patient.secondary_insurance.insurance.friendly_name',\n 'Secondary Insurance Phone': 'patient.secondary_insurance.insurance.phone',\n 'Secondary Insurance Is Active': 'patient.secondary_insurance.insurance.is_active',\n 'Tertiary Insurance Relationship': 'patient.tertiary_insurance.relationship',\n 'Tertiary Insurance Member Id': 'patient.tertiary_insurance.member_id',\n 'Tertiary Insurance Policy Num': 'patient.tertiary_insurance.policy_num',\n 'Tertiary Insurance Group Num': 'patient.tertiary_insurance.group_num',\n 'Tertiary Insurance Insured Last Name': 'patient.tertiary_insurance.insured_last_name',\n 'Tertiary Insurance Insured First Name': 'patient.tertiary_insurance.insured_first_name',\n 'Tertiary Insurance Insured Dob': 'patient.tertiary_insurance.insured_dob',\n 'Tertiary Insurance Name': 'patient.tertiary_insurance.insurance.name',\n 'Tertiary Insurance Friendly Name': 'patient.tertiary_insurance.insurance.friendly_name',\n 'Tertiary Insurance Phone': 'patient.tertiary_insurance.insurance.phone',\n 'Tertiary Insurance Is Active': 'patient.tertiary_insurance.insurance.is_active',\n});\n\nexport default Object.freeze({\n StainRequestStatuses,\n UserRoles,\n AccessionStatuses,\n LoadingStatuses,\n});\n\nexport const SettingsTabs = Object.freeze({\n GENERAL: 'general',\n USERS: 'users',\n FIELD_MANAGEMENT: 'field_management',\n PANEL_LIST: 'panel_list',\n INSTRUMENTAL_LIST: 'instrumental_list',\n REFERENCE_RANGE: 'reference_range',\n TEST_LIST: 'test_list',\n});\n\nexport const adminTabs = [\n { value: SettingsTabs.GENERAL, label: 'General' },\n { value: SettingsTabs.USERS, label: 'Users' },\n { value: SettingsTabs.FIELD_MANAGEMENT, label: 'Field Management' },\n];\nexport const adminCPTabs = [\n { value: SettingsTabs.PANEL_LIST, label: 'Panel list' },\n { value: SettingsTabs.INSTRUMENTAL_LIST, label: 'Instrument list' },\n { value: SettingsTabs.REFERENCE_RANGE, label: 'Reference range' },\n { value: SettingsTabs.TEST_LIST, label: 'Test List' },\n];\n\nexport const SERVICE_TYPES = {\n TC_ONLY_SERVICE: 'TC Only',\n TC_SERVICE: 'TC',\n PC_SERVICE: 'PC',\n GLOBAL_SERVICE: 'Global',\n};\n\nexport const statusColorMap = {\n [AccessionStatuses.COMPLETE]: {\n bg: 'rgba(102, 187, 106, 0.08)',\n color: 'rgb(102, 187, 106)',\n },\n [AccessionStatuses.CONSULT]: {\n bg: 'rgba(144, 202, 249, 0.08)',\n color: 'rgb(144, 202, 249)',\n },\n [AccessionStatuses.IHC_STAIN]: {\n bg: 'rgba(255, 255, 70, 0.08)',\n color: 'rgb(255, 255, 70)',\n },\n [AccessionStatuses.IHC_LEVEL_STAIN]: {\n bg: 'rgba(255, 255, 70, 0.08)',\n color: 'rgb(255, 255, 70)',\n },\n [AccessionStatuses.LEVEL]: {\n bg: 'rgba(255, 255, 70, 0.08)',\n color: 'rgb(255, 255, 70)',\n },\n // [AccessionStatuses.OTHER]: {\n // bg: 'rgba(255, 255, 255, 0.08)',\n // color: 'rgb(255, 255, 255)',\n // },\n // [AccessionStatuses.INCOMPLETE]: {\n // bg: 'rgba(255, 255, 255, 0.08)',\n // color: 'rgb(255, 255, 255)',\n // },\n // [AccessionStatuses.READY_FOR_REVIEW]: {\n // bg: 'rgba(255, 255, 255, 0.08)',\n // color: 'rgb(255, 255, 255)',\n // },\n // [AccessionStatuses.REVIEW]: {\n // bg: 'rgba(255, 255, 255, 0.08)',\n // color: 'rgb(255, 255, 255)',\n // },\n};\n\nexport const LAB_APPLICATION_TYPES = {\n IMS: 'IMS',\n LIS: 'LIS',\n CP: 'CP',\n BILLING: 'Billing',\n};\n\nexport const cancelRequestsExclusions = ['/users/me'];\n\nexport const excludePathPatterns = [\n /^\\/accessions\\/[^\\/]+\\/comments$/,\n /^documents\\/[^\\/]+\\/annotations.*$/,\n];\n\nexport const RESEARCH_LAB = 'RESEARCH';\n\n/**\n * @enum {typeof SpecimenStatus[keyof typeof SpecimenStatus]}\n */\nexport const SpecimenStatus = Object.freeze({\n Accessioning: 'Accessioning',\n Grossing: 'Grossing',\n Embedding: 'Embedding',\n Cutting: 'Cutting',\n Reviewing: 'Reviewing',\n Complete: 'Complete',\n});\n\n/**\n * * @enum {typeof MetricsReportName[keyof typeof MetricsReportName]}\n */\nexport const MetricsReportName = Object.freeze({\n TAT: 'TAT',\n Amended: 'Amended',\n Addendum: 'Addendum',\n SpecimenSummary: 'Specimen Summary',\n AccessionSummary: 'Accession Summary',\n AccessionList: 'Accession List',\n AccessionReport: 'Accession Report',\n ShippingManifest: 'Shipping Manifest',\n});\n\nexport const DOCUMENT_TYPES = {\n BIOPSY: 'Biopsy',\n FILE: 'File',\n REPORT: 'Report',\n};\n\n/**\n * @enum {typeof PrintLabels[keyof typeof PrintLabels]}\n */\nexport const PrintLabels = Object.freeze({\n Accession: 'Accession Label',\n Bottle: 'Bottle Label',\n Cassettes: 'Cassettes',\n});\n","// @mui\nimport { alpha } from '@mui/material/styles';\nimport { dividerClasses } from '@mui/material/Divider';\nimport { checkboxClasses } from '@mui/material/Checkbox';\nimport { menuItemClasses } from '@mui/material/MenuItem';\nimport { autocompleteClasses } from '@mui/material/Autocomplete';\n\n// ----------------------------------------------------------------------\n\nexport const paper = ({ theme, bgcolor, dropdown }) => ({\n ...bgBlur({\n blur: 20,\n opacity: 0.9,\n color: theme.palette.background.paper,\n ...(!!bgcolor && {\n color: bgcolor,\n }),\n }),\n backgroundImage: 'url(/assets/cyan-blur.png), url(/assets/red-blur.png)',\n backgroundRepeat: 'no-repeat, no-repeat',\n backgroundPosition: 'top right, left bottom',\n backgroundSize: '50%, 50%',\n ...(theme.direction === 'rtl' && {\n backgroundPosition: 'top left, right bottom',\n }),\n ...(dropdown && {\n padding: theme.spacing(0.5),\n // boxShadow: theme.customShadows.dropdown,\n borderRadius: theme.shape.borderRadius * 1.25,\n }),\n});\n\n// ----------------------------------------------------------------------\n\nexport const menuItem = (theme) => ({\n ...theme.typography.body2,\n padding: theme.spacing(0.75, 1),\n borderRadius: theme.shape.borderRadius * 0.75,\n '&:not(:last-of-type)': {\n marginBottom: 4,\n },\n [`&.${menuItemClasses.selected}`]: {\n fontWeight: theme.typography.fontWeightSemiBold,\n backgroundColor: theme.palette.action.selected,\n '&:hover': {\n backgroundColor: theme.palette.action.hover,\n },\n },\n [`& .${checkboxClasses.root}`]: {\n padding: theme.spacing(0.5),\n marginLeft: theme.spacing(-0.5),\n marginRight: theme.spacing(0.5),\n },\n [`&.${autocompleteClasses.option}[aria-selected=\"true\"]`]: {\n backgroundColor: theme.palette.action.selected,\n '&:hover': {\n backgroundColor: theme.palette.action.hover,\n },\n },\n [`&+.${dividerClasses.root}`]: {\n margin: theme.spacing(0.5, 0),\n },\n});\n\n// ----------------------------------------------------------------------\n\nexport function bgBlur(props) {\n const color = props?.color || '#000000';\n const blur = props?.blur || 6;\n const opacity = props?.opacity || 0.8;\n const imgUrl = props?.imgUrl;\n\n if (imgUrl) {\n return {\n position: 'relative',\n backgroundImage: `url(${imgUrl})`,\n '&:before': {\n position: 'absolute',\n top: 0,\n left: 0,\n zIndex: 9,\n content: '\"\"',\n width: '100%',\n height: '100%',\n backdropFilter: `blur(${blur}px)`,\n WebkitBackdropFilter: `blur(${blur}px)`,\n backgroundColor: alpha(color, opacity),\n },\n };\n }\n\n return {\n backdropFilter: `blur(${blur}px)`,\n WebkitBackdropFilter: `blur(${blur}px)`,\n backgroundColor: alpha(color, opacity),\n };\n}\n\n// ----------------------------------------------------------------------\n\nexport function bgGradient(props) {\n const direction = props?.direction || 'to bottom';\n const startColor = props?.startColor;\n const endColor = props?.endColor;\n const imgUrl = props?.imgUrl;\n const color = props?.color;\n\n if (imgUrl) {\n return {\n background: `linear-gradient(${direction}, ${startColor || color}, ${\n endColor || color\n }), url(${imgUrl})`,\n backgroundSize: 'cover',\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center center',\n };\n }\n\n return {\n background: `linear-gradient(${direction}, ${startColor}, ${endColor})`,\n };\n}\n\n// ----------------------------------------------------------------------\n\nexport function textGradient(value) {\n return {\n background: `-webkit-linear-gradient(${value})`,\n WebkitBackgroundClip: 'text',\n WebkitTextFillColor: 'transparent',\n };\n}\n\n// ----------------------------------------------------------------------\n\nexport const hideScroll = {\n x: {\n msOverflowStyle: 'none',\n scrollbarWidth: 'none',\n overflowX: 'scroll',\n '&::-webkit-scrollbar': {\n display: 'none',\n },\n },\n y: {\n msOverflowStyle: 'none',\n scrollbarWidth: 'none',\n overflowY: 'scroll',\n '&::-webkit-scrollbar': {\n display: 'none',\n },\n },\n};\n","// @mui\nimport { alpha } from '@mui/material/styles';\n// theme\nimport { palette as themePalette } from 'src/theme/palette';\n\n// ----------------------------------------------------------------------\n\nexport function presets(presetsColor) {\n const primary = primaryPresets.find((i) => i.name === presetsColor);\n\n const theme = {\n palette: {\n primary,\n },\n customShadows: {\n primary: `0 8px 16px 0 ${alpha(`${primary?.main}`, 0.24)}`,\n },\n };\n\n return theme;\n}\n\n// ----------------------------------------------------------------------\n\nconst palette = themePalette('light');\n\nexport const primaryPresets = [\n // DEFAULT\n {\n name: 'default',\n ...palette.primary,\n },\n // CYAN\n {\n name: 'cyan',\n lighter: '#CCF4FE',\n light: '#68CDF9',\n main: '#078DEE',\n dark: '#0351AB',\n darker: '#012972',\n contrastText: '#FFFFFF',\n },\n // PURPLE\n {\n name: 'purple',\n lighter: '#EBD6FD',\n light: '#B985F4',\n main: '#7635dc',\n dark: '#431A9E',\n darker: '#200A69',\n contrastText: '#FFFFFF',\n },\n // BLUE\n {\n name: 'blue',\n lighter: '#D1E9FC',\n light: '#76B0F1',\n main: '#2065D1',\n dark: '#103996',\n darker: '#061B64',\n contrastText: '#FFFFFF',\n },\n // ORANGE\n {\n name: 'orange',\n lighter: '#FEF4D4',\n light: '#FED680',\n main: '#fda92d',\n dark: '#B66816',\n darker: '#793908',\n contrastText: palette.grey[800],\n },\n // RED\n {\n name: 'red',\n lighter: '#FFE3D5',\n light: '#FFC1AC',\n main: '#FF3030',\n dark: '#B71833',\n darker: '#7A0930',\n contrastText: '#FFFFFF',\n },\n];\n","import { alpha } from '@mui/material/styles';\n\n// ----------------------------------------------------------------------\n\n// SETUP COLORS\n\nconst GREY = {\n 0: '#FFFFFF',\n 100: '#F9FAFB',\n 200: '#F4F6F8',\n 300: '#DFE3E8',\n 400: '#C4CDD5',\n 500: '#919EAB',\n 600: '#637381',\n 700: '#454F5B',\n 800: '#212B36',\n 900: '#2F2F2F',\n};\n\nconst PRIMARY = {\n lighter: '#C8FAD6',\n light: '#5BE49B',\n main: '#00A76F',\n dark: '#007867',\n darker: '#004B50',\n contrastText: '#FFFFFF',\n};\n\nconst SECONDARY = {\n lighter: '#EFD6FF',\n light: '#C684FF',\n main: '#8E33FF',\n dark: '#5119B7',\n darker: '#27097A',\n contrastText: '#FFFFFF',\n action: '#BABABA',\n};\n\nconst INFO = {\n lighter: '#CAFDF5',\n light: '#61F3F3',\n main: '#00B8D9',\n dark: '#006C9C',\n darker: '#003768',\n contrastText: '#FFFFFF',\n};\n\nconst SUCCESS = {\n lighter: '#D3FCD2',\n light: '#77ED8B',\n main: '#22C55E',\n dark: '#118D57',\n darker: '#065E49',\n contrastText: '#ffffff',\n};\n\nconst WARNING = {\n lighter: '#FFF5CC',\n light: '#FFD666',\n main: '#FFAB00',\n dark: '#B76E00',\n darker: '#7A4100',\n contrastText: GREY[800],\n};\n\nconst ERROR = {\n lighter: '#FFE9D5',\n light: '#FFAC82',\n main: '#FF5630',\n dark: '#B71D18',\n darker: '#7A0916',\n contrastText: '#FFFFFF',\n};\n\nconst COMMON = {\n common: {\n black: '#000000',\n white: '#FFFFFF',\n },\n primary: PRIMARY,\n secondary: SECONDARY,\n info: INFO,\n success: SUCCESS,\n warning: WARNING,\n error: ERROR,\n grey: GREY,\n divider: alpha(GREY[500], 0.2),\n action: {\n hover: alpha(GREY[500], 0.08),\n selected: alpha(GREY[500], 0.16),\n disabled: alpha(GREY[500], 0.8),\n disabledBackground: alpha(GREY[500], 0.24),\n focus: alpha(GREY[500], 0.24),\n hoverOpacity: 0.08,\n disabledOpacity: 0.48,\n },\n};\n\nexport function palette(mode) {\n const light = {\n ...COMMON,\n mode: 'light',\n text: {\n primary: GREY[800],\n secondary: GREY[600],\n disabled: GREY[500],\n },\n background: {\n paper: '#FFFFFF',\n default: '#FFFFFF',\n neutral: GREY[200],\n },\n action: {\n ...COMMON.action,\n active: GREY[600],\n },\n };\n\n const dark = {\n ...COMMON,\n mode: 'dark',\n text: {\n primary: '#FFFFFF',\n secondary: GREY[500],\n disabled: GREY[600],\n },\n background: {\n paper: GREY[800],\n default: GREY[900],\n neutral: alpha(GREY[500], 0.12),\n },\n action: {\n ...COMMON.action,\n active: GREY[500],\n },\n };\n\n return mode === 'light' ? light : dark;\n}\n"],"names":["Iconify","forwardRef","param","ref","icon","width","sx","other","jsx_runtime","jsx","Box","component","Icon","className","height","propTypes","PropTypes","iconify_iconify","StyledRootScrollbar","styled","flexGrow","overflow","StyledScrollbar","SimpleBar","theme","maxHeight","backgroundColor","alpha","palette","grey","opacity","zIndex","Scrollbar","children","userAgent","navigator","isMobile","test","scrollableNodeProps","clickOnTrack","scrollbar","memo","SettingsContext","createContext","useSettingsContext","context","useContext","getStorage","value","result","window","localStorage","getItem","key","JSON","parse","error","console","setStorage","setItem","stringify","removeStorage","removeItem","defaultSettings","accession_list","filters","undefined","columns","accession_library","search","SettingsProvider","initialSettings","state","update","reset","useLocalStorage","initialState","setState","useState","useEffect","restored","prevValue","updateState","useCallback","updateValue","name","id","openDrawer","setOpenDrawer","isArabic","localStorageGetItem","defaultValue","storageAvailable","localStorageAvailable","onChangeDirectionByLang","lang","onToggleDrawer","prev","onCloseDrawer","canReset","isEqual","memoizedValue","useMemo","onUpdate","onReset","open","onToggle","onClose","Provider","BaseOptions","icons","options","onChange","Stack","direction","spacing","map","option","index","selected","ButtonBase","onClick","borderRadius","border","concat","bgcolor","boxShadow","mode","common","black","background","primary","light","main","SvgColor","src","LayoutOptions","useTheme","renderNav","baseStyles","flexShrink","circle","primaryItem","secondaryItem","maxWidth","jsxs","p","borderRight","alignItems","borderBottom","renderContent","flexDirection","PresetsOptions","primaryPresets","color","columnGap","rowGap","display","gridTemplateColumns","borderColor","transition","transitions","create","duration","shorter","transform","StretchOptions","justifyContent","FullScreenOption","fullscreen","setFullscreen","onToggleFullScreen","document","fullscreenElement","exitFullscreen","documentElement","requestFullscreen","typography","mr","SettingsDrawer","settings","labelStyles","mb","fontWeight","renderHead","py","pr","pl","Typography","variant","Tooltip","title","IconButton","Badge","invisible","renderMode","div","themeMode","newValue","renderContrast","themeContrast","renderDirection","themeDirection","renderLayout","themeLayout","renderStretch","ml","themeStretch","renderPresets","themeColorPresets","Drawer","anchor","slotProps","backdrop","drawerClasses","paper","default","Divider","borderStyle","mask","WebkitMask","svg_color","SlideStatuses","Object","freeze","REVIEWED","IN_PROGRESS","READY_FOR_REVIEW","UNSORTED","AccessionStatuses","COMPLETE","CONSULT","FINAL","IHC_STAIN","LEVEL","MISSING_SLIDE","OTHER","RESCAN","REVIEW","StainRequestStatuses","REQUESTED","REDO","COMPLETED","CANCELLED","InsuredRelationships","SELF","SPOUSE","CHILD","UserRoles","SYSTEM_ADMINISTRATOR","LAB_ADMINISTRATOR","LAB_DIRECTOR","LAB_MANAGER","LAB_USER","TECHNICIAN","OFFICE_USER","PATHOLOGIST","TC_PATHOLOGIST","SALES_PERSON","PHYSICIAN","BILLING_STAFF","BILLING_ADMINISTRATOR","CP_OFFICE_USER","CP_STAFF","CP_ADMINISTRATOR","URO_TECHNICIAN","GUEST","RESEARCHER","OfficeUserAccessLevels","PRACTICE","LOCATION","GROUP","ACCESS_LEVEL_OPTIONS","label","LoadingStatuses","IDLE","PENDING","FULFILLED","REJECTED","ReportTemplateTypes","Diagnosis","Note","Addendum","TemplateTypes","Grossing","Stain","Amendment","CancerStages","_1a","_1b","_1c","_2a","_2b","_2c","_3a","_3b","_3c","_4a","_4b","_4c","PSALevels","low","med","high","GleasonScores","ProstateCores","BILL_TYPES","INSURANCE","NONE","CASH","NOSTATEMENT","BillingSummaryFields","DOB","ICD","CPT","SettingsTabs","GENERAL","USERS","FIELD_MANAGEMENT","PANEL_LIST","INSTRUMENTAL_LIST","REFERENCE_RANGE","TEST_LIST","adminTabs","adminCPTabs","SERVICE_TYPES","TC_ONLY_SERVICE","TC_SERVICE","PC_SERVICE","GLOBAL_SERVICE","statusColorMap","bg","IHC_LEVEL_STAIN","LAB_APPLICATION_TYPES","IMS","LIS","CP","BILLING","cancelRequestsExclusions","excludePathPatterns","RESEARCH_LAB","SpecimenStatus","Accessioning","Embedding","Cutting","Reviewing","Complete","MetricsReportName","TAT","Amended","SpecimenSummary","AccessionSummary","AccessionList","AccessionReport","ShippingManifest","DOCUMENT_TYPES","BIOPSY","FILE","REPORT","PrintLabels","Accession","Bottle","Cassettes","dropdown","bgBlur","blur","backgroundImage","backgroundRepeat","backgroundPosition","backgroundSize","padding","shape","menuItem","body2","marginBottom","menuItemClasses","fontWeightSemiBold","action","hover","checkboxClasses","root","marginLeft","marginRight","autocompleteClasses","dividerClasses","margin","props","imgUrl","position","top","left","content","backdropFilter","WebkitBackdropFilter","bgGradient","startColor","endColor","hideScroll","x","msOverflowStyle","scrollbarWidth","overflowX","y","overflowY","presets","presetsColor","find","i","customShadows","themePalette","lighter","dark","darker","contrastText","GREY","WARNING","COMMON","white","secondary","info","success","warning","divider","disabled","disabledBackground","focus","hoverOpacity","disabledOpacity","text","neutral","active"],"sourceRoot":""}