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jwt/auth-context.js","webpack://_N_E/./src/auth/context/jwt/auth-provider.js","webpack://_N_E/./src/auth/context/jwt/passwordless-provider.js","webpack://_N_E/./src/components/animate/motion-lazy.js","webpack://_N_E/./src/components/its-fine-provider/index.jsx","webpack://_N_E/./src/components/loader-wheel/index.jsx","webpack://_N_E/./src/components/loading-screen/splash-screen.js","webpack://_N_E/./src/components/loading-screen/loading-screen.js","webpack://_N_E/./src/components/loading-screen/index.js","webpack://_N_E/./src/components/logo/logo.js","webpack://_N_E/./src/components/logo/index.js","webpack://_N_E/./src/components/tanstack-query-client-provider/get-query-client.js","webpack://_N_E/./src/components/tanstack-query-client-provider/index.jsx","webpack://_N_E/./src/theme/shadows.js","webpack://_N_E/./src/theme/custom-shadows.js","webpack://_N_E/./src/theme/overrides/default-props.js","webpack://_N_E/./src/theme/overrides/components/fab.js","webpack://_N_E/./src/theme/overrides/components/card.js","webpack://_N_E/./src/theme/overrides/components/chip.js","webpack://_N_E/./src/theme/overrides/components/tabs.js","webpack://_N_E/./src/theme/overrides/components/menu.js","webpack://_N_E/./src/theme/overrides/components/list.js","webpack://_N_E/./src/theme/overrides/components/table.js","webpack://_N_E/./src/theme/overrides/components/alert.js","webpack://_N_E/./src/theme/overrides/components/badge.js","webpack://_N_E/./src/theme/overrides/components/paper.js","webpack://_N_E/./src/theme/overrides/components/radio.js","webpack://_N_E/./src/theme/overrides/components/appbar.js","webpack://_N_E/./src/theme/overrides/components/drawer.js","webpack://_N_E/./src/theme/overrides/components/dialog.js","webpack://_N_E/./src/theme/overrides/components/avatar.js","webpack://_N_E/./src/theme/overrides/components/rating.js","webpack://_N_E/./src/theme/overrides/components/slider.js","webpack://_N_E/./src/theme/overrides/components/button.js","webpack://_N_E/./src/theme/overrides/components/select.js","webpack://_N_E/./src/theme/overrides/components/switch.js","webpack://_N_E/./src/theme/overrides/components/tooltip.js","webpack://_N_E/./src/theme/overrides/components/popover.js","webpack://_N_E/./src/theme/overrides/components/stepper.js","webpack://_N_E/./src/theme/overrides/components/svg-icon.js","webpack://_N_E/./src/theme/overrides/components/skeleton.js","webpack://_N_E/./src/theme/overrides/components/backdrop.js","webpack://_N_E/./src/theme/overrides/components/progress.js","webpack://_N_E/./src/theme/overrides/components/timeline.js","webpack://_N_E/./src/theme/overrides/components/checkbox.js","webpack://_N_E/./src/theme/overrides/components/data-grid.js","webpack://_N_E/./src/theme/overrides/components/tree-view.js","webpack://_N_E/./src/theme/overrides/components/textfield.js","webpack://_N_E/./src/theme/overrides/components/accordion.js","webpack://_N_E/./src/theme/overrides/components/typography.js","webpack://_N_E/./src/theme/overrides/components/pagination.js","webpack://_N_E/./src/theme/overrides/components/date-picker.js","webpack://_N_E/./src/theme/overrides/components/breadcrumbs.js","webpack://_N_E/./src/theme/overrides/components/css-baseline.js","webpack://_N_E/./src/theme/overrides/components/button-group.js","webpack://_N_E/./src/theme/overrides/components/autocomplete.js","webpack://_N_E/./src/theme/overrides/components/toggle-button.js","webpack://_N_E/./src/theme/overrides/components/loading-button.js","webpack://_N_E/./src/theme/overrides/index.js","webpack://_N_E/./src/theme/options/dark-mode.js","webpack://_N_E/./src/theme/options/contrast.js","webpack://_N_E/./src/theme/options/right-to-left.js","webpack://_N_E/./src/theme/next-emotion-cache.js","webpack://_N_E/./src/theme/index.js","webpack://_N_E/./src/theme/typography.js","webpack://_N_E/./src/utils/custom-axios.js","webpack://_N_E/"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/node_modules/@mui/material/node/Alert/index.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/node_modules/react-toastify/dist/react-toastify.esm.mjs\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/node_modules/simplebar-react/dist/simplebar.min.css\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/node_modules/react-toastify/dist/ReactToastify.css\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/node_modules/react-lazy-load-image-component/src/effects/blur.css\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/node_modules/next/font/google/target.css?{\\\"path\\\":\\\"src/theme/typography.js\\\",\\\"import\\\":\\\"Inter\\\",\\\"arguments\\\":[{\\\"weight\\\":[\\\"400\\\",\\\"500\\\",\\\"700\\\"],\\\"subsets\\\":[\\\"latin\\\"],\\\"display\\\":\\\"swap\\\",\\\"fallback\\\":[\\\"Helvetica\\\",\\\"Arial\\\",\\\"sans-serif\\\"]}],\\\"variableName\\\":\\\"primaryFont\\\"}\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/node_modules/next/font/google/target.css?{\\\"path\\\":\\\"src/theme/typography.js\\\",\\\"import\\\":\\\"Roboto\\\",\\\"arguments\\\":[{\\\"weight\\\":[\\\"400\\\",\\\"500\\\"],\\\"subsets\\\":[\\\"latin\\\"],\\\"display\\\":\\\"swap\\\",\\\"fallback\\\":[\\\"Helvetica\\\",\\\"Arial\\\",\\\"sans-serif\\\"]}],\\\"variableName\\\":\\\"secondaryFont\\\"}\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/auth/context/jwt/auth-consumer.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/auth/context/jwt/auth-context.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/auth/context/jwt/auth-provider.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/auth/context/jwt/passwordless-provider.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/components/animate/motion-lazy.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/components/its-fine-provider/index.jsx\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/components/loader-wheel/index.jsx\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/components/settings/context/settings-context.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/components/settings/context/settings-provider.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/components/settings/drawer/settings-drawer.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/components/tanstack-query-client-provider/index.jsx\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1954870148/src/flexlis-reactjs-v2/src/theme/index.js\")","'use client';\n\nimport PropTypes from 'prop-types';\n// components\nimport { SplashScreen } from 'src/components/loading-screen';\n//\nimport { AuthContext } from './auth-context';\n\n// ----------------------------------------------------------------------\n\n\nexport function AuthConsumer({ children }) {\n return (\n \n {(auth) => (auth.loading ? : children)}\n \n );\n}\n\nAuthConsumer.propTypes = {\n children: PropTypes.node,\n};\n","'use client';\n\nimport { createContext } from 'react';\n\n// ----------------------------------------------------------------------\n\nexport const AuthContext = createContext({});\n","'use client';\n\nimport PropTypes from 'prop-types';\nimport { useEffect, useCallback, useMemo, useState } from 'react';\n// utils\nimport { axiosInstance } from 'src/utils/custom-axios';\n\n//\nimport { usePasswordless } from 'amazon-cognito-passwordless-auth/react';\nimport _ from 'lodash';\nimport { AuthContext } from './auth-context';\n\nexport const ErrorType = {\n Code: 0,\n CodeExpired: 1,\n User: 2,\n UserIsInactive: 3,\n};\n\nclass ApiError extends Error {\n name = 'ApiError';\n\n setDerivateFrom(error) {\n this.error = error;\n return this;\n }\n\n setErrorType(type) {\n this.errorType = type;\n return this;\n }\n}\n\n// ----------------------------------------------------------------------\n\nconst STORAGE_KEY = 'idToken';\n\nexport function AuthProvider({ children }) {\n function getInitialState() {\n const selectedUser =\n typeof window !== 'undefined' ? window.localStorage.getItem('selectedUser') : '\"\"';\n return selectedUser ? JSON.parse(selectedUser) : {};\n }\n\n const [userOptions, setUserOptions] = useState([]);\n const [selectedUser, setSelectedUser] = useState(getInitialState);\n const [currentLab, setCurrentLab] = useState(undefined);\n\n const { signInStatus, tokens, signOut } = usePasswordless();\n\n useEffect(() => {\n if (userOptions && selectedUser.lab_cid) {\n setCurrentLab(\n userOptions.find((userOption) => userOption.lab_cid === selectedUser.lab_cid)?.lab\n );\n }\n }, [userOptions, selectedUser]);\n\n const cleanup = () => {\n setUserOptions([]);\n localStorage.clear();\n };\n\n const initialize = useCallback(async (signInStatus, tokens) => {\n const accessToken = _.get(tokens, 'accessToken');\n const idToken = _.get(tokens, 'idToken');\n const refreshToken = _.get(tokens, 'refreshToken');\n localStorage.setItem('idToken', idToken);\n localStorage.setItem('authorization', `bearer ${accessToken}`);\n localStorage.setItem('refreshToken', refreshToken);\n selectedUser?.lab_cid ? localStorage.setItem('lab_cid', selectedUser?.lab_cid) : null;\n selectedUser?.role ? localStorage.setItem('role', selectedUser?.role) : null;\n\n axiosInstance\n .get(`/users/me`)\n .then((res) => {\n setUserOptions(res.data.data);\n })\n .catch((err) => {\n logout();\n return Promise.reject(err.message);\n });\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n if (signInStatus !== 'CHECKING' && tokens !== undefined) {\n initialize(signInStatus, tokens);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [signInStatus]);\n\n useEffect(() => {\n localStorage.setItem('selectedUser', JSON.stringify(selectedUser));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [selectedUser]);\n\n // LOGIN\n const login = useCallback(async (email, username, challenge_code, session_code) => {\n let authResp;\n try {\n authResp = await axiosInstance.post('/auth/challenge', {\n email,\n username,\n challenge_code,\n session_code,\n });\n } catch (err) {\n if (err.response.status === 400)\n throw new ApiError().setDerivateFrom(err).setErrorType(ErrorType.CodeExpired);\n throw new ApiError().setDerivateFrom(err).setErrorType(ErrorType.Code);\n }\n\n if (!authResp.data.data.AuthenticationResult) throw new ApiError().setErrorType(ErrorType.Code);\n\n const results = authResp.data.data.AuthenticationResult;\n\n const { idToken } = results;\n const accessToken = results['AccessToken'];\n const refreshToken = results['RefreshToken'];\n\n localStorage.setItem('idToken', results['idToken']);\n localStorage.setItem('authorization', `bearer ${accessToken}`);\n localStorage.setItem('accessToken', accessToken);\n localStorage.setItem('expireAt', results['expireAt']);\n localStorage.setItem('idToken', idToken);\n localStorage.setItem('refreshToken', refreshToken);\n\n return axiosInstance\n .get(`/users/me`)\n .then((resp) => {\n const userOptions = resp.data.data;\n setUserOptions(userOptions);\n\n return userOptions;\n })\n .catch((err) => {\n cleanup();\n throw new ApiError().setDerivateFrom(err).setErrorType(ErrorType.User);\n });\n }, []);\n\n // LOGOUT\n const logout = useCallback(async () => {\n cleanup();\n signOut();\n }, [signOut]);\n\n // ----------------------------------------------------------------------\n const memoizedValue = useMemo(\n () => ({\n method: 'jwt',\n //\n loading: signInStatus === 'CHECKING',\n authenticated: signInStatus === 'SIGNED_IN',\n unauthenticated: signInStatus === 'NOT_SIGNED_IN',\n login,\n logout,\n userOptions,\n setUserOptions,\n selectedUser,\n setSelectedUser,\n currentLab,\n setCurrentLab,\n }),\n [\n login,\n logout,\n signInStatus,\n setSelectedUser,\n setUserOptions,\n userOptions,\n selectedUser,\n currentLab,\n ]\n );\n\n return {children};\n}\n\nAuthProvider.propTypes = {\n children: PropTypes.node,\n};\n","'use client';\n\nimport PropTypes from 'prop-types';\n\nimport {\n PasswordlessContextProvider,\n} from \"amazon-cognito-passwordless-auth/react\";\nimport { Passwordless } from \"amazon-cognito-passwordless-auth\";\n\nPasswordless.configure({\n cognitoIdpEndpoint: process.env.NEXT_PUBLIC_VITE_COGNITO_IDP_ENDPOINT,\n clientId: process.env.NEXT_PUBLIC_VITE_CLIENT_ID,\n fido2: {\n baseUrl: process.env.NEXT_PUBLIC_VITE_FIDO2_BASE_URL,\n authenticatorSelection: {\n userVerification: \"required\",\n },\n }, \n debug: console.debug,\n});\n\nexport function PasswordlessProvider({ children }) {\n return (\n \n {children}\n \n );\n}\n\nPasswordlessProvider.propTypes = {\n children: PropTypes.node,\n};\n\n","'use client';\n\nimport PropTypes from 'prop-types';\nimport { LazyMotion, m, domMax } from 'framer-motion';\n\n// ----------------------------------------------------------------------\n\nexport function MotionLazy({ children }) {\n return (\n \n {children} \n \n );\n}\n\nMotionLazy.propTypes = {\n children: PropTypes.node,\n};\n","'use client';\n\nimport { memo } from 'react';\nimport { node } from 'prop-types';\nimport { FiberProvider } from 'its-fine';\n\n/**\n * @import { ReactNode } from \"react\";\n */\n\n/**\n * @typedef {Object} ItsFineProviderProps\n * @property {ReactNode} children\n */\n\n/**\n * @param {ItsFineProviderProps} props\n */\nfunction ItsFineProvider({ children }) {\n return {children};\n}\n\nItsFineProvider.propTypes = {\n children: node,\n};\n\nexport default memo(ItsFineProvider);\n","'use client';\n\nimport { CircularProgress, Button } from '@mui/material';\nimport { cancelRequestsWithExclusions, useRequestIndicator } from 'src/utils/custom-axios';\n\nconst Loader = () => {\n const { isLoading } = useRequestIndicator();\n\n return (\n <>\n {isLoading && (\n \n \n \n \n )}\n \n );\n};\n\nexport default Loader;\n","import PropTypes from 'prop-types';\nimport { useState, useEffect } from 'react';\nimport { m } from 'framer-motion';\n// @mui\nimport { alpha } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\n//\nimport Logo from '../logo';\n\n// ----------------------------------------------------------------------\n\nexport default function SplashScreen({ sx, ...other }) {\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n setMounted(true);\n }, []);\n\n if (!mounted) {\n return null;\n }\n\n return (\n \n <>\n \n \n \n\n `solid 3px ${alpha(theme.palette.primary.dark, 0.24)}`,\n }}\n />\n\n `solid 8px ${alpha(theme.palette.primary.dark, 0.24)}`,\n }}\n />\n \n \n );\n}\n\nSplashScreen.propTypes = {\n sx: PropTypes.object,\n};\n","import PropTypes from 'prop-types'; // @mui\nimport Box from '@mui/material/Box';\nimport LinearProgress from '@mui/material/LinearProgress';\n\n// ----------------------------------------------------------------------\n\nexport default function LoadingScreen({ sx, ...other }) {\n return (\n \n \n \n );\n}\n\nLoadingScreen.propTypes = {\n sx: PropTypes.object,\n};\n","export { default as SplashScreen } from './splash-screen';\nexport { default as LoadingScreen } from './loading-screen';\n","import PropTypes from 'prop-types';\nimport { styled } from '@mui/material/styles';\n\nconst Logo = styled((props) => {\n const { variant = defaultProps.variant, ...other } = props;\n\n // const color = variant === 'light' ? '#C1C4D6' : '#5048E5';\n\n return (\n \"logo\"\n // \n // \n // \n // \n // \n );\n})``;\n\nconst defaultProps = {\n variant: 'text',\n};\n\nLogo.propTypes = {\n variant: PropTypes.oneOf(['text', 'icon', 'full']),\n};\n\nexport default Logo;\n","export { default } from './logo';\n","import { defaultShouldDehydrateQuery, isServer, QueryClient } from '@tanstack/react-query';\n\nfunction makeQueryClient() {\n return new QueryClient({\n defaultOptions: {\n queries: {\n // With SSR, we usually want to set some default staleTime\n // above 0 to avoid refetching immediately on the client.\n staleTime: 60 * 1000,\n },\n dehydrate(query) {\n // Include pending queries in dehydration.\n return defaultShouldDehydrateQuery(query) || query.state.status === 'pending';\n },\n },\n });\n}\n\n/** @type {QueryClient | undefined} */\nlet browserQueryClient;\n\nexport default function getQueryClient() {\n if (isServer) {\n // Server: always make a new query client.\n return makeQueryClient();\n }\n\n // Browser: make a new query client if we don't already have one\n // This is very important, so we don't re-make a new client if React\n // suspends during the initial render. This may not be needed if we\n // have a suspense boundary BELOW the creation of the query client.\n browserQueryClient ??= makeQueryClient();\n\n return browserQueryClient;\n}\n","'use client';\n\n/** @import { InferProps } from 'prop-types'; */\n\nimport { node } from 'prop-types';\n// Since QueryClientProvider relies on useContext under the hood, we have to put 'use client' on top.\nimport { QueryClientProvider } from '@tanstack/react-query';\n\nimport getQueryClient from './get-query-client';\n\n/**\n * @param {InferProps} props\n */\nexport default function TanstackQueryClientBoundary({ children }) {\n // NOTE: Avoid useState when initializing the query client if you don't\n // have a suspense boundary between this and the code that may\n // suspend because React will throw away the client on the initial\n // render if it suspends and there is no boundary.\n const queryClient = getQueryClient();\n\n return {children};\n}\n\nTanstackQueryClientBoundary.propTypes = {\n children: node,\n};\n","// @mui\nimport { alpha } from '@mui/material/styles';\n//\nimport { palette as themePalette } from './palette';\n\n// ----------------------------------------------------------------------\n\nconst palette = themePalette('light');\n\nconst LIGHT_MODE = palette.grey[500];\n\nconst DARK_MODE = palette.common.black;\n\nfunction createShadow(color) {\n const transparent1 = alpha(color, 0.2);\n const transparent2 = alpha(color, 0.14);\n const transparent3 = alpha(color, 0.12);\n return [\n 'none',\n `0px 2px 1px -1px ${transparent1},0px 1px 1px 0px ${transparent2},0px 1px 3px 0px ${transparent3}`,\n `0px 3px 1px -2px ${transparent1},0px 2px 2px 0px ${transparent2},0px 1px 5px 0px ${transparent3}`,\n `0px 3px 3px -2px ${transparent1},0px 3px 4px 0px ${transparent2},0px 1px 8px 0px ${transparent3}`,\n `0px 2px 4px -1px ${transparent1},0px 4px 5px 0px ${transparent2},0px 1px 10px 0px ${transparent3}`,\n `0px 3px 5px -1px ${transparent1},0px 5px 8px 0px ${transparent2},0px 1px 14px 0px ${transparent3}`,\n `0px 3px 5px -1px ${transparent1},0px 6px 10px 0px ${transparent2},0px 1px 18px 0px ${transparent3}`,\n `0px 4px 5px -2px ${transparent1},0px 7px 10px 1px ${transparent2},0px 2px 16px 1px ${transparent3}`,\n `0px 5px 5px -3px ${transparent1},0px 8px 10px 1px ${transparent2},0px 3px 14px 2px ${transparent3}`,\n `0px 5px 6px -3px ${transparent1},0px 9px 12px 1px ${transparent2},0px 3px 16px 2px ${transparent3}`,\n `0px 6px 6px -3px ${transparent1},0px 10px 14px 1px ${transparent2},0px 4px 18px 3px ${transparent3}`,\n `0px 6px 7px -4px ${transparent1},0px 11px 15px 1px ${transparent2},0px 4px 20px 3px ${transparent3}`,\n `0px 7px 8px -4px ${transparent1},0px 12px 17px 2px ${transparent2},0px 5px 22px 4px ${transparent3}`,\n `0px 7px 8px -4px ${transparent1},0px 13px 19px 2px ${transparent2},0px 5px 24px 4px ${transparent3}`,\n `0px 7px 9px -4px ${transparent1},0px 14px 21px 2px ${transparent2},0px 5px 26px 4px ${transparent3}`,\n `0px 8px 9px -5px ${transparent1},0px 15px 22px 2px ${transparent2},0px 6px 28px 5px ${transparent3}`,\n `0px 8px 10px -5px ${transparent1},0px 16px 24px 2px ${transparent2},0px 6px 30px 5px ${transparent3}`,\n `0px 8px 11px -5px ${transparent1},0px 17px 26px 2px ${transparent2},0px 6px 32px 5px ${transparent3}`,\n `0px 9px 11px -5px ${transparent1},0px 18px 28px 2px ${transparent2},0px 7px 34px 6px ${transparent3}`,\n `0px 9px 12px -6px ${transparent1},0px 19px 29px 2px ${transparent2},0px 7px 36px 6px ${transparent3}`,\n `0px 10px 13px -6px ${transparent1},0px 20px 31px 3px ${transparent2},0px 8px 38px 7px ${transparent3}`,\n `0px 10px 13px -6px ${transparent1},0px 21px 33px 3px ${transparent2},0px 8px 40px 7px ${transparent3}`,\n `0px 10px 14px -6px ${transparent1},0px 22px 35px 3px ${transparent2},0px 8px 42px 7px ${transparent3}`,\n `0px 11px 14px -7px ${transparent1},0px 23px 36px 3px ${transparent2},0px 9px 44px 8px ${transparent3}`,\n `0px 11px 15px -7px ${transparent1},0px 24px 38px 3px ${transparent2},0px 9px 46px 8px ${transparent3}`,\n ];\n}\n\nexport function shadows(mode) {\n return mode === 'light' ? createShadow(LIGHT_MODE) : createShadow(DARK_MODE);\n}\n","// @mui\nimport { alpha } from '@mui/material/styles';\n//\nimport { palette as themePalette } from './palette';\n\n// ----------------------------------------------------------------------\n\nconst palette = themePalette('light');\n\nconst LIGHT_MODE = palette.grey[500];\n\nconst DARK_MODE = palette.common.black;\n\nfunction createShadow(color) {\n const transparent = alpha(color, 0.16);\n return {\n z1: `0 1px 2px 0 ${transparent}`,\n z4: `0 4px 8px 0 ${transparent}`,\n z8: `0 8px 16px 0 ${transparent}`,\n z12: `0 12px 24px -4px ${transparent}`,\n z16: `0 16px 32px -4px ${transparent}`,\n z20: `0 20px 40px -4px ${transparent}`,\n z24: `0 24px 48px 0 ${transparent}`,\n //\n card: `0 0 2px 0 ${alpha(color, 0.2)}, 0 12px 24px -4px ${alpha(color, 0.12)}`,\n dropdown: `0 0 2px 0 ${alpha(color, 0.24)}, -20px 20px 40px -4px ${alpha(color, 0.24)}`,\n dialog: `-40px 40px 80px -8px ${alpha(palette.common.black, 0.24)}`,\n //\n primary: `0 8px 16px 0 ${alpha(palette.primary.main, 0.24)}`,\n info: `0 8px 16px 0 ${alpha(palette.info.main, 0.24)}`,\n secondary: `0 8px 16px 0 ${alpha(palette.secondary.main, 0.24)}`,\n success: `0 8px 16px 0 ${alpha(palette.success.main, 0.24)}`,\n warning: `0 8px 16px 0 ${alpha(palette.warning.main, 0.24)}`,\n error: `0 8px 16px 0 ${alpha(palette.error.main, 0.24)}`,\n };\n}\n\nexport function customShadows(mode) {\n return mode === 'light' ? createShadow(LIGHT_MODE) : createShadow(DARK_MODE);\n}\n","import SvgIcon from '@mui/material/SvgIcon';\n// components\nimport Iconify from 'src/components/iconify';\n\n// ----------------------------------------------------------------------\n\nconst ArrowDownIcon = (props) => (\n \n \n \n);\n\nconst CheckboxIcon = (props) => (\n \n \n \n);\n\nconst CheckboxCheckedIcon = (props) => (\n \n \n \n);\n\nconst CheckboxIndeterminateIcon = (props) => (\n \n \n \n);\n\nconst RadioIcon = (props) => (\n \n \n \n);\n\nconst RadioCheckedIcon = (props) => (\n \n \n \n);\n\nconst RatingIcon = (props) => (\n \n \n \n);\n\nconst TreeViewCollapseIcon = (props) => (\n \n \n \n);\n\nconst TreeViewExpandIcon = (props) => (\n \n \n \n);\n\nconst TreeViewEndIcon = (props) => (\n \n \n \n);\n\n// ----------------------------------------------------------------------\n\nexport function defaultProps(theme) {\n return {\n MuiAlert: {\n defaultProps: {\n iconMapping: {\n error: ,\n info: ,\n success: ,\n warning: ,\n },\n },\n },\n MuiStack: {\n defaultProps: {\n useFlexGap: true,\n },\n },\n MuiAppBar: {\n defaultProps: {\n color: 'transparent',\n },\n },\n MuiAvatarGroup: {\n defaultProps: {\n max: 4,\n },\n },\n MuiButtonGroup: {\n defaultProps: {\n disableElevation: true,\n },\n },\n MuiButton: {\n defaultProps: {\n color: 'inherit',\n disableElevation: true,\n },\n },\n MuiCardHeader: {\n defaultProps: {\n titleTypographyProps: { variant: 'h6' },\n subheaderTypographyProps: {\n variant: 'body2',\n marginTop: theme.spacing(0.5),\n },\n },\n },\n MuiChip: {\n defaultProps: {\n deleteIcon: ,\n },\n },\n MuiDialogActions: {\n defaultProps: {\n disableSpacing: true,\n },\n },\n MuiFab: {\n defaultProps: {\n color: 'primary',\n },\n },\n MuiLink: {\n defaultProps: {\n underline: 'hover',\n },\n },\n MuiListItemText: {\n defaultProps: {\n primaryTypographyProps: {\n typography: 'subtitle2',\n },\n secondaryTypographyProps: {\n component: 'span',\n },\n },\n },\n MuiPaper: {\n defaultProps: {\n elevation: 0,\n },\n },\n MuiSkeleton: {\n defaultProps: {\n animation: 'wave',\n variant: 'rounded',\n },\n },\n MuiFilledInput: {\n defaultProps: {\n disableUnderline: true,\n },\n },\n MuiFormHelperText: {\n defaultProps: {\n component: 'div',\n },\n },\n MuiTab: {\n defaultProps: {\n disableRipple: true,\n iconPosition: 'start',\n },\n },\n MuiTabs: {\n defaultProps: {\n textColor: 'inherit',\n variant: 'scrollable',\n allowScrollButtonsMobile: true,\n },\n },\n MuiTablePagination: {\n defaultProps: {\n backIconButtonProps: {\n size: 'small',\n },\n nextIconButtonProps: {\n size: 'small',\n },\n },\n },\n MuiSlider: {\n defaultProps: {\n size: 'small',\n },\n },\n MuiAutocomplete: {\n defaultProps: {\n popupIcon: ,\n },\n },\n MuiSelect: {\n defaultProps: {\n IconComponent: ArrowDownIcon,\n },\n },\n MuiNativeSelect: {\n defaultProps: {\n IconComponent: ArrowDownIcon,\n },\n },\n MuiCheckbox: {\n defaultProps: {\n size: 'small',\n icon: ,\n checkedIcon: ,\n indeterminateIcon: ,\n },\n },\n MuiRadio: {\n defaultProps: {\n size: 'small',\n icon: ,\n checkedIcon: ,\n },\n },\n MuiRating: {\n defaultProps: {\n emptyIcon: ,\n icon: ,\n },\n },\n MuiTreeView: {\n defaultProps: {\n defaultCollapseIcon: ,\n defaultExpandIcon: ,\n defaultEndIcon: ,\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { fabClasses } from '@mui/material/Fab';\n\n// ----------------------------------------------------------------------\n\nconst COLORS = ['primary', 'secondary', 'info', 'success', 'warning', 'error'];\n\n// ----------------------------------------------------------------------\n\nexport function fab(theme) {\n const lightMode = theme.palette.mode === 'light';\n\n const rootStyles = (ownerState) => {\n const defaultColor = ownerState.color === 'default';\n\n const inheritColor = ownerState.color === 'inherit';\n\n const circularVariant = ownerState.variant === 'circular';\n\n const extendedVariant = ownerState.variant === 'extended';\n\n const outlinedVariant = ownerState.variant === 'outlined';\n\n const outlinedExtendedVariant = ownerState.variant === 'outlinedExtended';\n\n const softVariant = ownerState.variant === 'soft';\n\n const softExtendedVariant = ownerState.variant === 'softExtended';\n\n const defaultStyle = {\n '&:hover, &:active': {\n boxShadow: 'none',\n },\n // FILLED\n ...((circularVariant || extendedVariant) && {\n ...((defaultColor || inheritColor) && {\n boxShadow: theme.customShadows.z8,\n }),\n ...(inheritColor && {\n backgroundColor: theme.palette.text.primary,\n color: lightMode ? theme.palette.common.white : theme.palette.grey[800],\n '&:hover': {\n backgroundColor: lightMode ? theme.palette.grey[700] : theme.palette.grey[400],\n },\n }),\n }),\n // OUTLINED\n ...((outlinedVariant || outlinedExtendedVariant) && {\n boxShadow: 'none',\n backgroundColor: 'transparent',\n ...((defaultColor || inheritColor) && {\n border: `solid 1px ${alpha(theme.palette.grey[500], 0.32)}`,\n }),\n ...(defaultColor && {\n ...(!lightMode && {\n color: theme.palette.text.secondary,\n }),\n }),\n\n '&:hover': {\n borderColor: 'currentColor',\n boxShadow: '0 0 0 0.5px currentColor',\n backgroundColor: theme.palette.action.hover,\n },\n }),\n // SOFT\n ...((softVariant || softExtendedVariant) && {\n boxShadow: 'none',\n ...(defaultColor && {\n color: theme.palette.grey[800],\n backgroundColor: theme.palette.grey[300],\n '&:hover': {\n backgroundColor: theme.palette.grey[400],\n },\n }),\n ...(inheritColor && {\n backgroundColor: alpha(theme.palette.grey[500], 0.08),\n '&:hover': {\n backgroundColor: alpha(theme.palette.grey[500], 0.24),\n },\n }),\n }),\n };\n\n const colorStyle = COLORS.map((color) => ({\n ...(ownerState.color === color && {\n // FILLED\n ...((circularVariant || extendedVariant) && {\n boxShadow: theme.customShadows[color],\n '&:hover': {\n backgroundColor: theme.palette[color].dark,\n },\n }),\n // OUTLINED\n ...((outlinedVariant || outlinedExtendedVariant) && {\n color: theme.palette[color].main,\n border: `solid 1px ${alpha(theme.palette[color].main, 0.48)}`,\n '&:hover': {\n backgroundColor: alpha(theme.palette[color].main, 0.08),\n },\n }),\n // SOFT\n ...((softVariant || softExtendedVariant) && {\n color: theme.palette[color][lightMode ? 'dark' : 'light'],\n backgroundColor: alpha(theme.palette[color].main, 0.16),\n '&:hover': {\n backgroundColor: alpha(theme.palette[color].main, 0.32),\n },\n }),\n }),\n }));\n\n const disabledState = {\n [`&.${fabClasses.disabled}`]: {\n ...((outlinedVariant || outlinedExtendedVariant) && {\n backgroundColor: 'transparent',\n border: `solid 1px ${theme.palette.action.disabledBackground}`,\n }),\n },\n };\n\n const size = {\n ...((extendedVariant || outlinedExtendedVariant || softExtendedVariant) && {\n width: 'auto',\n '& svg': {\n marginRight: theme.spacing(1),\n },\n ...(ownerState.size === 'small' && {\n height: 34,\n minHeight: 34,\n borderRadius: 17,\n padding: theme.spacing(0, 1),\n }),\n ...(ownerState.size === 'medium' && {\n height: 40,\n minHeight: 40,\n borderRadius: 20,\n padding: theme.spacing(0, 2),\n }),\n ...(ownerState.size === 'large' && {\n height: 48,\n minHeight: 48,\n borderRadius: 24,\n padding: theme.spacing(0, 2),\n }),\n }),\n };\n\n return [defaultStyle, ...colorStyle, disabledState, size];\n };\n\n return {\n MuiFab: {\n styleOverrides: {\n root: ({ ownerState }) => rootStyles(ownerState),\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function card(theme) {\n return {\n MuiCard: {\n styleOverrides: {\n root: {\n position: 'relative',\n boxShadow: theme.customShadows.card,\n borderRadius: theme.shape.borderRadius * 2,\n zIndex: 0, // Fix Safari overflow: hidden with border radius\n },\n },\n },\n MuiCardHeader: {\n styleOverrides: {\n root: {\n padding: theme.spacing(3, 3, 0),\n },\n },\n },\n MuiCardContent: {\n styleOverrides: {\n root: {\n padding: theme.spacing(3),\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { chipClasses } from '@mui/material/Chip';\nimport { secondaryFont } from 'src/theme/typography';\n\n// ----------------------------------------------------------------------\n\nconst COLORS = ['primary', 'secondary', 'info', 'success', 'warning', 'error'];\n\n// ----------------------------------------------------------------------\n\nexport function chip(theme) {\n const lightMode = theme.palette.mode === 'light';\n\n const rootStyles = (ownerState) => {\n const defaultColor = ownerState.color === 'default';\n\n const filledVariant = ownerState.variant === 'filled';\n\n const outlinedVariant = ownerState.variant === 'outlined';\n\n const softVariant = ownerState.variant === 'soft';\n\n const defaultStyle = {\n [`& .${chipClasses.deleteIcon}`]: {\n opacity: 0.48,\n color: 'currentColor',\n '&:hover': {\n opacity: 1,\n color: 'currentColor',\n },\n },\n\n ...(defaultColor && {\n [`& .${chipClasses.avatar}`]: {\n color: theme.palette.text.primary,\n },\n // FILLED\n ...(filledVariant && {\n color: lightMode ? theme.palette.common.white : theme.palette.grey[800],\n backgroundColor: theme.palette.text.primary,\n '&:hover': {\n backgroundColor: lightMode ? theme.palette.grey[700] : theme.palette.grey[100],\n },\n [`& .${chipClasses.icon}`]: {\n color: lightMode ? theme.palette.common.white : theme.palette.grey[800],\n },\n }),\n // OUTLINED\n ...(outlinedVariant && {\n border: `solid 1px ${alpha(theme.palette.grey[500], 0.32)}`,\n }),\n // SOFT\n ...(softVariant && {\n color: theme.palette.text.primary,\n backgroundColor: alpha(theme.palette.grey[500], 0.16),\n '&:hover': {\n backgroundColor: alpha(theme.palette.grey[500], 0.32),\n },\n }),\n }),\n };\n\n const colorStyle = COLORS.map((color) => ({\n ...(ownerState.color === color && {\n [`& .${chipClasses.avatar}`]: {\n color: theme.palette[color].lighter,\n backgroundColor: theme.palette[color].dark,\n },\n // SOFT\n ...(softVariant && {\n color: theme.palette[color][lightMode ? 'dark' : 'light'],\n backgroundColor: alpha(theme.palette[color].main, 0.16),\n '&:hover': {\n backgroundColor: alpha(theme.palette[color].main, 0.32),\n },\n }),\n }),\n }));\n\n const disabledState = {\n [`&.${chipClasses.disabled}`]: {\n opacity: 1,\n color: theme.palette.action.disabled,\n [`& .${chipClasses.icon}`]: {\n color: theme.palette.action.disabled,\n },\n [`& .${chipClasses.avatar}`]: {\n color: theme.palette.action.disabled,\n backgroundColor: theme.palette.action.disabledBackground,\n },\n // FILLED\n ...(filledVariant && {\n backgroundColor: theme.palette.action.disabledBackground,\n }),\n // OUTLINED\n ...(outlinedVariant && {\n borderColor: theme.palette.action.disabledBackground,\n }),\n // SOFT\n ...(softVariant && {\n backgroundColor: theme.palette.action.disabledBackground,\n }),\n },\n };\n\n return [\n defaultStyle,\n ...colorStyle,\n disabledState,\n {\n fontWeight: 500,\n borderRadius: theme.shape.borderRadius,\n },\n ];\n };\n\n return {\n MuiChip: {\n styleOverrides: {\n root: ({ ownerState }) => rootStyles(ownerState),\n },\n variants: [\n {\n props: { variant: 'readonly-amount' },\n style: {\n backgroundColor: 'hsl(0 0% 80% / 0.34)', // TODO(LIS-1736): palette\n borderRadius: 100,\n fontSize: 11,\n lineHeight: 0.9,\n fontWeight: 500,\n height: 'auto',\n paddingTop: 4,\n paddingBottom: 4,\n paddingLeft: 5,\n paddingRight: 5,\n fontFamily: secondaryFont.style.fontFamily,\n [`& .${chipClasses.label}`]: {\n paddingLeft: 0,\n paddingRight: 0,\n },\n },\n },\n ],\n },\n };\n}\n","import { tabClasses } from '@mui/material/Tab';\n\n// ----------------------------------------------------------------------\n\nexport function tabs(theme) {\n return {\n MuiTabs: {\n styleOverrides: {\n indicator: {\n backgroundColor: theme.palette.text.primary,\n },\n scrollButtons: {\n width: 48,\n borderRadius: '50%',\n },\n },\n },\n MuiTab: {\n styleOverrides: {\n root: {\n padding: 0,\n opacity: 1,\n minWidth: 48,\n minHeight: 48,\n fontWeight: theme.typography.fontWeightSemiBold,\n '&:not(:last-of-type)': {\n marginRight: theme.spacing(3),\n [theme.breakpoints.up('sm')]: {\n marginRight: theme.spacing(5),\n },\n },\n [`&:not(.${tabClasses.selected})`]: {\n color: theme.palette.text.secondary,\n },\n },\n },\n },\n };\n}\n","//\nimport { menuItem } from '../../css';\n\n// ----------------------------------------------------------------------\n\nexport function menu(theme) {\n return {\n MuiMenuItem: {\n styleOverrides: {\n root: {\n ...menuItem(theme),\n },\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function list(theme) {\n return {\n MuiListItemIcon: {\n styleOverrides: {\n root: {\n color: 'inherit',\n minWidth: 'auto',\n marginRight: theme.spacing(2),\n },\n },\n },\n MuiListItemAvatar: {\n styleOverrides: {\n root: {\n minWidth: 'auto',\n marginRight: theme.spacing(2),\n },\n },\n },\n MuiListItemText: {\n styleOverrides: {\n root: {\n margin: 0,\n },\n multiline: {\n margin: 0,\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { tableRowClasses } from '@mui/material/TableRow';\n\n// ----------------------------------------------------------------------\n\nexport function table(theme) {\n return {\n MuiTableContainer: {\n styleOverrides: {\n root: {\n position: 'relative',\n },\n },\n },\n MuiTableRow: {\n styleOverrides: {\n root: {\n [`&.${tableRowClasses.selected}`]: {\n backgroundColor: alpha(theme.palette.primary.dark, 0.04),\n '&:hover': {\n backgroundColor: alpha(theme.palette.primary.dark, 0.08),\n },\n },\n },\n head: {\n // We cannot define background-color for head's row here because styles\n // defined in the MUI theme are applied before `sx` property and `material-react-table`\n // explicitly defines that color.\n // https://github.com/KevinVandy/material-react-table/blob/3dbab3235eb53653404fa4131979acb55e8bca5a/packages/material-react-table/src/components/head/MRT_TableHeadRow.tsx#L51\n // backgroundColor: 'hsl(210 7% 95% / 1)', // TODO(LIS-1736): palette\n },\n },\n },\n MuiTableCell: {\n styleOverrides: {\n root: {\n borderBottomStyle: 'dashed',\n '&:not(:last-child)': {\n borderRightWidth: 1,\n borderRightStyle: 'solid',\n borderRightColor: 'hsl(0 0% 89% / 1)', // TODO(LIS-1736): palette\n },\n },\n head: {\n fontSize: 14,\n color: theme.palette.text.secondary,\n fontWeight: theme.typography.fontWeightSemiBold,\n backgroundColor: theme.palette.background.neutral,\n },\n stickyHeader: {\n backgroundColor: theme.palette.background.paper,\n backgroundImage: `linear-gradient(to bottom, ${theme.palette.background.neutral} 0%, ${theme.palette.background.neutral} 100%)`,\n },\n paddingCheckbox: {\n paddingLeft: theme.spacing(1),\n },\n },\n },\n MuiTablePagination: {\n styleOverrides: {\n root: {\n width: '100%',\n },\n toolbar: {\n height: 64,\n },\n actions: {\n marginRight: 8,\n },\n select: {\n paddingLeft: 8,\n '&:focus': {\n borderRadius: theme.shape.borderRadius,\n },\n },\n selectIcon: {\n right: 4,\n width: 16,\n height: 16,\n top: 'calc(50% - 8px)',\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { alertClasses } from '@mui/material/Alert';\n\n// ----------------------------------------------------------------------\n\nconst COLORS = ['info', 'success', 'warning', 'error'];\n\n// ----------------------------------------------------------------------\n\nexport function alert(theme) {\n const lightMode = theme.palette.mode === 'light';\n\n const rootStyles = (ownerState) => {\n const standardVariant = ownerState.variant === 'standard';\n\n const filledVariant = ownerState.variant === 'filled';\n\n const outlinedVariant = ownerState.variant === 'outlined';\n\n const colorStyle = COLORS.map((color) => ({\n ...(ownerState.severity === color && {\n // STANDARD\n ...(standardVariant && {\n color: theme.palette[color][lightMode ? 'darker' : 'lighter'],\n backgroundColor: theme.palette[color][lightMode ? 'lighter' : 'darker'],\n [`& .${alertClasses.icon}`]: {\n color: theme.palette[color][lightMode ? 'main' : 'light'],\n },\n }),\n // FILLED\n ...(filledVariant && {\n color: theme.palette[color].contrastText,\n backgroundColor: theme.palette[color].main,\n }),\n // OUTLINED\n ...(outlinedVariant && {\n backgroundColor: alpha(theme.palette[color].main, 0.08),\n color: theme.palette[color][lightMode ? 'dark' : 'light'],\n border: `solid 1px ${alpha(theme.palette[color].main, 0.16)}`,\n [`& .${alertClasses.icon}`]: {\n color: theme.palette[color].main,\n },\n }),\n }),\n }));\n\n return [...colorStyle];\n };\n\n return {\n MuiAlert: {\n styleOverrides: {\n root: ({ ownerState }) => rootStyles(ownerState),\n icon: {\n opacity: 1,\n },\n },\n },\n MuiAlertTitle: {\n styleOverrides: {\n root: {\n marginBottom: theme.spacing(0.5),\n fontWeight: theme.typography.fontWeightSemiBold,\n },\n },\n },\n };\n}\n","import { badgeClasses } from '@mui/material/Badge';\n\n// ----------------------------------------------------------------------\n\nexport function badge(theme) {\n return {\n MuiBadge: {\n styleOverrides: {\n dot: {\n borderRadius: '50%',\n },\n root: ({ ownerState }) => {\n const alway = ownerState.variant === 'alway';\n\n const online = ownerState.variant === 'online';\n\n const busy = ownerState.variant === 'busy';\n\n const offline = ownerState.variant === 'offline';\n\n const invisible = ownerState.variant === 'invisible';\n\n const baseStyles = {\n [`&.${badgeClasses.invisible}`]: {\n transform: 'unset',\n },\n width: 10,\n zIndex: 9,\n padding: 0,\n height: 10,\n minWidth: 'auto',\n '&:before, &:after': {\n content: \"''\",\n borderRadius: 1,\n backgroundColor: theme.palette.common.white,\n },\n };\n\n return {\n ...(online && {\n [`& .${badgeClasses.badge}`]: {\n ...baseStyles,\n backgroundColor: theme.palette.success.main,\n },\n }),\n ...(busy && {\n [`& .${badgeClasses.badge}`]: {\n ...baseStyles,\n backgroundColor: theme.palette.error.main,\n '&:before': { width: 6, height: 2 },\n },\n }),\n ...(offline && {\n [`& .${badgeClasses.badge}`]: {\n ...baseStyles,\n backgroundColor: theme.palette.text.disabled,\n '&:before': {\n width: 6,\n height: 6,\n borderRadius: '50%',\n },\n },\n }),\n ...(alway && {\n [`& .${badgeClasses.badge}`]: {\n ...baseStyles,\n backgroundColor: theme.palette.warning.main,\n '&:before': {\n width: 2,\n height: 4,\n transform: 'translateX(1px) translateY(-1px)',\n },\n '&:after': {\n width: 2,\n height: 4,\n transform: 'translateY(1px) rotate(125deg)',\n },\n },\n }),\n ...(invisible && {\n [`& .${badgeClasses.badge}`]: {\n display: 'none',\n },\n }),\n };\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\n\n// ----------------------------------------------------------------------\n\nexport function paper(theme) {\n return {\n MuiPaper: {\n styleOverrides: {\n root: {\n backgroundImage: 'none',\n },\n outlined: {\n borderColor: alpha(theme.palette.grey[500], 0.16),\n },\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function radio(theme) {\n return {\n // CHECKBOX, RADIO, SWITCH\n MuiFormControlLabel: {\n styleOverrides: {\n label: {\n ...theme.typography.body2,\n },\n },\n },\n\n MuiRadio: {\n styleOverrides: {\n root: {\n padding: theme.spacing(1),\n },\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function appBar(theme) {\n return {\n MuiAppBar: {\n styleOverrides: {\n root: {\n boxShadow: 'none',\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { drawerClasses } from '@mui/material/Drawer';\n//\nimport { paper } from '../../css';\n\n// ----------------------------------------------------------------------\n\nexport function drawer(theme) {\n const lightMode = theme.palette.mode === 'light';\n\n return {\n MuiDrawer: {\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...(ownerState.variant === 'temporary' && {\n [`& .${drawerClasses.paper}`]: {\n ...paper({ theme }),\n ...(ownerState.anchor === 'left' && {\n boxShadow: `40px 40px 80px -8px ${alpha(\n lightMode ? theme.palette.grey[500] : theme.palette.common.black,\n 0.24\n )}`,\n }),\n ...(ownerState.anchor === 'right' && {\n boxShadow: `-40px 40px 80px -8px ${alpha(\n lightMode ? theme.palette.grey[500] : theme.palette.common.black,\n 0.24\n )}`,\n }),\n },\n }),\n }),\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function dialog(theme) {\n return {\n MuiDialog: {\n styleOverrides: {\n paper: ({ ownerState }) => ({\n boxShadow: theme.customShadows.dialog,\n borderRadius: theme.shape.borderRadius * 2,\n ...(!ownerState.fullScreen && {\n margin: theme.spacing(2),\n }),\n }),\n paperFullScreen: {\n borderRadius: 0,\n },\n },\n },\n MuiDialogTitle: {\n styleOverrides: {\n root: {\n padding: theme.spacing(3),\n },\n },\n },\n MuiDialogContent: {\n styleOverrides: {\n root: {\n padding: theme.spacing(0, 3),\n },\n dividers: {\n borderTop: 0,\n borderBottomStyle: 'dashed',\n paddingBottom: theme.spacing(3),\n },\n },\n },\n MuiDialogActions: {\n styleOverrides: {\n root: {\n padding: theme.spacing(3),\n '& > :not(:first-of-type)': {\n marginLeft: theme.spacing(1.5),\n },\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { avatarGroupClasses } from '@mui/material/AvatarGroup';\n\n// ----------------------------------------------------------------------\n\nconst COLORS = ['default', 'primary', 'secondary', 'info', 'success', 'warning', 'error'];\n\nconst colorByName = (name) => {\n const charAt = name.charAt(0).toLowerCase();\n\n if (['a', 'c', 'f'].includes(charAt)) return 'primary';\n if (['e', 'd', 'h'].includes(charAt)) return 'secondary';\n if (['i', 'k', 'l'].includes(charAt)) return 'info';\n if (['m', 'n', 'p'].includes(charAt)) return 'success';\n if (['q', 's', 't'].includes(charAt)) return 'warning';\n if (['v', 'x', 'y'].includes(charAt)) return 'error';\n return 'default';\n};\n\n// ----------------------------------------------------------------------\n\nexport function avatar(theme) {\n return {\n MuiAvatar: {\n variants: COLORS.map((color) =>\n color === 'default'\n ? {\n props: { color: 'default' },\n style: {\n color: theme.palette.text.secondary,\n backgroundColor: alpha(theme.palette.grey[500], 0.24),\n },\n }\n : {\n props: { color },\n style: {\n color: theme.palette[color].contrastText,\n backgroundColor: theme.palette[color].main,\n },\n }\n ),\n\n styleOverrides: {\n rounded: {\n borderRadius: theme.shape.borderRadius * 1.5,\n },\n colorDefault: ({ ownerState }) => {\n const color = colorByName(`${ownerState.alt}`);\n\n return {\n ...(!!ownerState.alt && {\n ...(color !== 'default'\n ? {\n color: theme.palette[color].contrastText,\n backgroundColor: theme.palette[color].main,\n }\n : {\n color: theme.palette.text.secondary,\n backgroundColor: alpha(theme.palette.grey[500], 0.24),\n }),\n }),\n };\n },\n },\n },\n MuiAvatarGroup: {\n styleOverrides: {\n root: ({ ownerState }) => ({\n justifyContent: 'flex-end',\n ...(ownerState.variant === 'compact' && {\n width: 40,\n height: 40,\n position: 'relative',\n [`& .${avatarGroupClasses.avatar}`]: {\n margin: 0,\n width: 28,\n height: 28,\n position: 'absolute',\n '&:first-of-type': {\n left: 0,\n bottom: 0,\n zIndex: 9,\n },\n '&:last-of-type': {\n top: 0,\n right: 0,\n },\n },\n }),\n }),\n avatar: {\n fontSize: 16,\n fontWeight: theme.typography.fontWeightSemiBold,\n '&:first-of-type': {\n fontSize: 12,\n color: theme.palette.primary.dark,\n backgroundColor: theme.palette.primary.lighter,\n },\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { ratingClasses } from '@mui/material/Rating';\nimport { svgIconClasses } from '@mui/material/SvgIcon';\n\n// ----------------------------------------------------------------------\n\nexport function rating(theme) {\n return {\n MuiRating: {\n styleOverrides: {\n root: {\n [`&.${ratingClasses.disabled}`]: {\n opacity: 0.48,\n },\n },\n iconEmpty: {\n color: alpha(theme.palette.grey[500], 0.48),\n },\n sizeSmall: {\n [`& .${svgIconClasses.root}`]: {\n width: 20,\n height: 20,\n },\n },\n sizeMedium: {\n [`& .${svgIconClasses.root}`]: {\n width: 24,\n height: 24,\n },\n },\n sizeLarge: {\n [`& .${svgIconClasses.root}`]: {\n width: 28,\n height: 28,\n },\n },\n },\n },\n };\n}\n","import { sliderClasses } from '@mui/material/Slider';\n\n// ----------------------------------------------------------------------\n\nexport function slider(theme) {\n const lightMode = theme.palette.mode === 'light';\n\n return {\n MuiSlider: {\n styleOverrides: {\n root: {\n [`&.${sliderClasses.disabled}`]: {\n color: theme.palette.action.disabled,\n },\n },\n rail: {\n opacity: 0.32,\n },\n markLabel: {\n fontSize: 13,\n color: theme.palette.text.disabled,\n },\n valueLabel: {\n borderRadius: 8,\n backgroundColor: theme.palette.grey[lightMode ? 800 : 700],\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { buttonClasses } from '@mui/material/Button';\n\n// ----------------------------------------------------------------------\n\nconst COLORS = ['primary', 'secondary', 'info', 'success', 'warning', 'error'];\n\n// ----------------------------------------------------------------------\n\nexport function button(theme) {\n const lightMode = theme.palette.mode === 'light';\n\n const rootStyles = (ownerState) => {\n const inheritColor = ownerState.color === 'inherit';\n\n const containedVariant = ownerState.variant === 'contained';\n\n const outlinedVariant = ownerState.variant === 'outlined';\n\n const textVariant = ownerState.variant === 'text';\n\n const softVariant = ownerState.variant === 'soft';\n\n const smallSize = ownerState.size === 'small';\n\n const mediumSize = ownerState.size === 'medium';\n\n const largeSize = ownerState.size === 'large';\n\n const defaultStyle = {\n fontWeight: 500,\n\n ...(inheritColor && {\n // CONTAINED\n ...(containedVariant && {\n color: lightMode ? theme.palette.common.white : theme.palette.grey[800],\n backgroundColor: lightMode ? theme.palette.grey[800] : theme.palette.common.white,\n '&:hover': {\n backgroundColor: lightMode ? theme.palette.grey[700] : theme.palette.grey[400],\n },\n }),\n // OUTLINED\n ...(outlinedVariant && {\n borderColor: alpha(theme.palette.grey[500], 0.32),\n '&:hover': {\n backgroundColor: theme.palette.action.hover,\n },\n }),\n // TEXT\n ...(textVariant && {\n '&:hover': {\n backgroundColor: theme.palette.action.hover,\n },\n }),\n // SOFT\n ...(softVariant && {\n color: theme.palette.text.primary,\n backgroundColor: alpha(theme.palette.grey[500], 0.08),\n '&:hover': {\n backgroundColor: alpha(theme.palette.grey[500], 0.24),\n },\n }),\n }),\n ...(outlinedVariant && {\n '&:hover': {\n borderColor: 'currentColor',\n boxShadow: '0 0 0 0.5px currentColor',\n },\n }),\n };\n\n const colorStyle = COLORS.map((color) => ({\n ...(ownerState.color === color && {\n // CONTAINED\n ...(containedVariant && {\n '&:hover': {\n boxShadow: theme.customShadows[color],\n },\n }),\n // SOFT\n ...(softVariant && {\n color: theme.palette[color][lightMode ? 'dark' : 'light'],\n backgroundColor: alpha(theme.palette[color].main, 0.16),\n '&:hover': {\n backgroundColor: alpha(theme.palette[color].main, 0.32),\n },\n }),\n }),\n }));\n\n const disabledState = {\n [`&.${buttonClasses.disabled}`]: {\n // SOFT\n ...(softVariant && {\n backgroundColor: theme.palette.action.disabledBackground,\n }),\n },\n };\n\n const size = {\n ...(smallSize && {\n height: 30,\n fontSize: 13,\n paddingLeft: 8,\n paddingRight: 8,\n ...(textVariant && {\n paddingLeft: 4,\n paddingRight: 4,\n }),\n }),\n ...(mediumSize && {\n paddingLeft: 12,\n paddingRight: 12,\n ...(textVariant && {\n paddingLeft: 8,\n paddingRight: 8,\n }),\n }),\n ...(largeSize && {\n height: 48,\n fontSize: 15,\n paddingLeft: 16,\n paddingRight: 16,\n ...(textVariant && {\n paddingLeft: 10,\n paddingRight: 10,\n }),\n }),\n };\n\n return [defaultStyle, ...colorStyle, disabledState, size];\n };\n\n return {\n MuiButton: {\n styleOverrides: {\n root: ({ ownerState }) => rootStyles(ownerState),\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function select(theme) {\n return {\n MuiSelect: {\n styleOverrides: {\n icon: {\n right: 6,\n width: 18,\n height: 18,\n top: 'calc(50% - 9px)',\n },\n },\n },\n MuiNativeSelect: {\n styleOverrides: {\n icon: {\n right: 10,\n width: 18,\n height: 18,\n top: 'calc(50% - 9px)',\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { switchClasses } from '@mui/material/Switch';\n\n// ----------------------------------------------------------------------\n\nexport function switches(theme) {\n const lightMode = theme.palette.mode === 'light';\n\n const rootStyles = (ownerState) => ({\n padding: '9px 13px 9px 12px',\n width: 58,\n height: 38,\n ...(ownerState.size === 'small' && {\n padding: '4px 8px 4px 7px',\n width: 40,\n height: 24,\n }),\n [`& .${switchClasses.thumb}`]: {\n width: 14,\n height: 14,\n boxShadow: 'none',\n color: theme.palette.common.white,\n ...(ownerState.size === 'small' && {\n width: 10,\n height: 10,\n }),\n },\n [`& .${switchClasses.track}`]: {\n opacity: 1,\n borderRadius: 14,\n backgroundColor: alpha(theme.palette.grey[500], 0.48),\n },\n [`& .${switchClasses.switchBase}`]: {\n left: 3,\n padding: 12,\n ...(ownerState.size === 'small' && {\n padding: 7,\n }),\n [`&.${switchClasses.checked}`]: {\n transform: 'translateX(13px)',\n [`&+.${switchClasses.track}`]: {\n opacity: 1,\n },\n ...(ownerState.size === 'small' && {\n transform: 'translateX(9px)',\n }),\n },\n [`&.${switchClasses.disabled}`]: {\n [`& .${switchClasses.thumb}`]: {\n opacity: lightMode ? 1 : 0.48,\n },\n [`&+.${switchClasses.track}`]: {\n opacity: 0.48,\n },\n },\n },\n });\n\n return {\n MuiSwitch: {\n styleOverrides: {\n root: ({ ownerState }) => rootStyles(ownerState),\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function tooltip(theme) {\n const lightMode = theme.palette.mode === 'light';\n\n return {\n MuiTooltip: {\n styleOverrides: {\n tooltip: {\n backgroundColor: theme.palette.grey[lightMode ? 800 : 700],\n },\n arrow: {\n color: theme.palette.grey[lightMode ? 800 : 700],\n },\n },\n },\n };\n}\n","import { listClasses } from '@mui/material/List';\n//\nimport { paper } from '../../css';\n\n// ----------------------------------------------------------------------\n\nexport function popover(theme) {\n return {\n MuiPopover: {\n styleOverrides: {\n paper: {\n ...paper({ theme, dropdown: true }),\n [`& .${listClasses.root}`]: {\n paddingTop: 0,\n paddingBottom: 0,\n },\n },\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function stepper(theme) {\n return {\n MuiStepConnector: {\n styleOverrides: {\n line: {\n borderColor: theme.palette.divider,\n },\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function svgIcon(theme) {\n return {\n MuiSvgIcon: {\n styleOverrides: {\n fontSizeSmall: {\n fontSize: 16,\n },\n fontSizeMedium: {\n fontSize: 20,\n },\n fontSizeLarge: {\n width: 32,\n height: 32,\n fontSize: 'inherit',\n },\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function skeleton(theme) {\n return {\n MuiSkeleton: {\n styleOverrides: {\n root: {\n backgroundColor: theme.palette.background.neutral,\n },\n rounded: {\n borderRadius: theme.shape.borderRadius * 2,\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\n\n// ----------------------------------------------------------------------\n\nexport function backdrop(theme) {\n return {\n MuiBackdrop: {\n styleOverrides: {\n root: {\n backgroundColor: alpha(theme.palette.grey[900], 0.8),\n },\n invisible: {\n background: 'transparent',\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { linearProgressClasses } from '@mui/material/LinearProgress';\n\n// ----------------------------------------------------------------------\n\nconst COLORS = ['primary', 'secondary', 'info', 'success', 'warning', 'error'];\n\n// ----------------------------------------------------------------------\n\nexport function progress(theme) {\n const rootStyles = (ownerState) => {\n const bufferVariant = ownerState.variant === 'buffer';\n\n const defaultStyle = {\n borderRadius: 4,\n [`& .${linearProgressClasses.bar}`]: {\n borderRadius: 4,\n },\n ...(bufferVariant && {\n backgroundColor: 'transparent',\n }),\n };\n\n const colorStyle = COLORS.map((color) => ({\n ...(ownerState.color === color && {\n backgroundColor: alpha(theme.palette[color].main, 0.24),\n }),\n }));\n\n return [defaultStyle, ...colorStyle];\n };\n\n return {\n MuiLinearProgress: {\n styleOverrides: {\n root: ({ ownerState }) => rootStyles(ownerState),\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function timeline(theme) {\n return {\n MuiTimelineDot: {\n styleOverrides: {\n root: {\n boxShadow: 'none',\n },\n },\n },\n MuiTimelineConnector: {\n styleOverrides: {\n root: {\n backgroundColor: theme.palette.divider,\n },\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function checkbox(theme) {\n return {\n MuiCheckbox: {\n styleOverrides: {\n root: {\n padding: theme.spacing(1),\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { listClasses } from '@mui/material/List';\nimport { paperClasses } from '@mui/material/Paper';\nimport { buttonClasses } from '@mui/material/Button';\nimport { listItemIconClasses } from '@mui/material/ListItemIcon';\nimport { tablePaginationClasses } from '@mui/material/TablePagination';\n//\nimport { paper } from '../../css';\n\n// ----------------------------------------------------------------------\n\nexport function dataGrid(theme) {\n const paperStyles = paper({ theme, dropdown: true });\n\n return {\n MuiDataGrid: {\n styleOverrides: {\n root: {\n borderRadius: 0,\n borderWidth: 0,\n [`& .${tablePaginationClasses.root}`]: {\n borderTop: 0,\n },\n [`& .${tablePaginationClasses.toolbar}`]: {\n height: 'auto',\n },\n },\n cell: {\n borderBottom: `1px dashed ${theme.palette.divider}`,\n },\n selectedRowCount: {\n whiteSpace: 'nowrap',\n },\n columnSeparator: {\n color: theme.palette.divider,\n },\n toolbarContainer: {\n padding: theme.spacing(2),\n borderBottom: `1px dashed ${theme.palette.divider}`,\n backgroundColor: theme.palette.background.neutral,\n },\n paper: {\n ...paperStyles,\n padding: 0,\n },\n menu: {\n [`& .${paperClasses.root}`]: {\n ...paperStyles,\n },\n [`& .${listClasses.root}`]: {\n padding: 0,\n [`& .${listItemIconClasses.root}`]: {\n minWidth: 0,\n marginRight: theme.spacing(2),\n },\n },\n },\n columnHeaders: {\n borderRadius: 0,\n backgroundColor: theme.palette.background.neutral,\n },\n panelHeader: {\n padding: theme.spacing(2),\n },\n panelFooter: {\n padding: theme.spacing(2),\n justifyContent: 'flex-end',\n borderTop: `dashed 1px ${theme.palette.divider}`,\n [`& .${buttonClasses.root}`]: {\n '&:first-of-type': {\n border: `solid 1px ${alpha(theme.palette.grey[500], 0.24)}`,\n },\n '&:last-of-type': {\n marginLeft: theme.spacing(1.5),\n color: theme.palette.background.paper,\n backgroundColor: theme.palette.text.primary,\n },\n },\n },\n filterForm: {\n padding: theme.spacing(2),\n },\n filterFormValueInput: {\n marginLeft: theme.spacing(2),\n },\n filterFormColumnInput: {\n marginLeft: theme.spacing(2),\n },\n filterFormOperatorInput: {\n marginLeft: theme.spacing(2),\n },\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function treeView(theme) {\n return {\n MuiTreeItem: {\n styleOverrides: {\n label: {\n ...theme.typography.body2,\n },\n iconContainer: {\n width: 'auto',\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { inputBaseClasses } from '@mui/material/InputBase';\nimport { inputLabelClasses } from '@mui/material/InputLabel';\nimport { filledInputClasses } from '@mui/material/FilledInput';\nimport { outlinedInputClasses } from '@mui/material/OutlinedInput';\n\n// ----------------------------------------------------------------------\n\nexport function textField(theme) {\n const color = {\n focused: theme.palette.text.primary,\n active: theme.palette.text.secondary,\n placeholder: theme.palette.text.disabled,\n };\n\n const font = {\n label: theme.typography.body1,\n value: theme.typography.body2,\n };\n\n return {\n // HELPER\n MuiFormHelperText: {\n styleOverrides: {\n root: {\n marginTop: theme.spacing(1),\n },\n },\n },\n\n // LABEL\n MuiFormLabel: {\n styleOverrides: {\n root: {\n ...font.value,\n color: color.placeholder,\n [`&.${inputLabelClasses.shrink}`]: {\n ...font.label,\n fontWeight: 600,\n color: color.active,\n [`&.${inputLabelClasses.focused}`]: {\n color: color.focused,\n },\n [`&.${inputLabelClasses.error}`]: {\n color: theme.palette.error.main,\n },\n [`&.${inputLabelClasses.disabled}`]: {\n color: theme.palette.text.disabled,\n },\n [`&.${inputLabelClasses.filled}`]: {\n transform: 'translate(12px, 6px) scale(0.75)',\n },\n },\n },\n },\n },\n\n // BASE\n MuiInputBase: {\n styleOverrides: {\n root: {\n [`&.${inputBaseClasses.disabled}`]: {\n '& svg': {\n color: theme.palette.text.disabled,\n },\n },\n },\n input: {\n ...font.value,\n '&::placeholder': {\n opacity: 1,\n color: color.placeholder,\n },\n },\n },\n },\n\n // STANDARD\n MuiInput: {\n styleOverrides: {\n underline: {\n '&:before': {\n borderBottomColor: alpha(theme.palette.grey[500], 0.32),\n },\n '&:after': {\n borderBottomColor: color.focused,\n },\n },\n },\n },\n\n // OUTLINED\n MuiOutlinedInput: {\n styleOverrides: {\n root: {\n [`&.${outlinedInputClasses.focused}`]: {\n [`& .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: color.focused,\n },\n },\n [`&.${outlinedInputClasses.error}`]: {\n [`& .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: theme.palette.error.main,\n },\n },\n [`&.${outlinedInputClasses.disabled}`]: {\n [`& .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: theme.palette.action.disabledBackground,\n },\n },\n },\n notchedOutline: {\n borderColor: alpha(theme.palette.grey[500], 0.2),\n transition: theme.transitions.create(['border-color'], {\n duration: theme.transitions.duration.shortest,\n }),\n },\n },\n },\n\n // FILLED\n MuiFilledInput: {\n styleOverrides: {\n root: {\n borderRadius: theme.shape.borderRadius,\n backgroundColor: alpha(theme.palette.grey[500], 0.08),\n '&:hover': {\n backgroundColor: alpha(theme.palette.grey[500], 0.16),\n },\n [`&.${filledInputClasses.focused}`]: {\n backgroundColor: alpha(theme.palette.grey[500], 0.16),\n },\n [`&.${filledInputClasses.error}`]: {\n backgroundColor: alpha(theme.palette.error.main, 0.08),\n [`&.${filledInputClasses.focused}`]: {\n backgroundColor: alpha(theme.palette.error.main, 0.16),\n },\n },\n [`&.${filledInputClasses.disabled}`]: {\n backgroundColor: theme.palette.action.disabledBackground,\n },\n },\n },\n },\n };\n}\n","import { typographyClasses } from '@mui/material/Typography';\nimport { accordionClasses } from '@mui/material/Accordion';\nimport { accordionSummaryClasses } from '@mui/material/AccordionSummary';\n\n// ----------------------------------------------------------------------\n\nexport function accordion(theme) {\n return {\n MuiAccordion: {\n styleOverrides: {\n root: {\n backgroundColor: 'transparent',\n [`&.${accordionClasses.expanded}`]: {\n boxShadow: theme.customShadows.z8,\n borderRadius: theme.shape.borderRadius,\n backgroundColor: theme.palette.background.paper,\n },\n [`&.${accordionClasses.disabled}`]: {\n backgroundColor: 'transparent',\n },\n },\n },\n },\n MuiAccordionSummary: {\n styleOverrides: {\n root: {\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(1),\n [`&.${accordionSummaryClasses.disabled}`]: {\n opacity: 1,\n color: theme.palette.action.disabled,\n [`& .${typographyClasses.root}`]: {\n color: 'inherit',\n },\n },\n },\n expandIconWrapper: {\n color: 'inherit',\n },\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function typography(theme) {\n return {\n MuiTypography: {\n defaultProps: {\n variantMapping: {\n header1: 'h1',\n header3: 'h3',\n header4: 'h4',\n text1: 'p',\n text3: 'p',\n chip1: 'label',\n },\n },\n styleOverrides: {\n paragraph: {\n marginBottom: theme.spacing(2),\n },\n gutterBottom: {\n marginBottom: theme.spacing(1),\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { paginationItemClasses } from '@mui/material/PaginationItem';\n\n// ----------------------------------------------------------------------\n\nconst COLORS = ['primary', 'secondary', 'info', 'success', 'warning', 'error'];\n\n// ----------------------------------------------------------------------\n\nexport function pagination(theme) {\n const lightMode = theme.palette.mode === 'light';\n\n const rootStyles = (ownerState) => {\n const defaultColor = ownerState.color === 'standard';\n\n const filledVariant = ownerState.variant === 'text';\n\n const outlinedVariant = ownerState.variant === 'outlined';\n\n const softVariant = ownerState.variant === 'soft';\n\n const defaultStyle = {\n [`& .${paginationItemClasses.root}`]: {\n ...(outlinedVariant && {\n borderColor: alpha(theme.palette.grey[500], 0.24),\n }),\n\n [`&.${paginationItemClasses.selected}`]: {\n fontWeight: theme.typography.fontWeightSemiBold,\n ...(outlinedVariant && {\n borderColor: 'currentColor',\n }),\n\n ...(defaultColor && {\n backgroundColor: alpha(theme.palette.grey[500], 0.08),\n ...(filledVariant && {\n color: lightMode ? theme.palette.common.white : theme.palette.grey[800],\n backgroundColor: theme.palette.text.primary,\n '&:hover': {\n backgroundColor: lightMode ? theme.palette.grey[700] : theme.palette.grey[100],\n },\n }),\n }),\n },\n },\n };\n\n const colorStyle = COLORS.map((color) => ({\n ...(ownerState.color === color && {\n [`& .${paginationItemClasses.root}`]: {\n [`&.${paginationItemClasses.selected}`]: {\n ...(ownerState.color === color && {\n // SOFT\n ...(softVariant && {\n color: theme.palette[color][lightMode ? 'dark' : 'light'],\n backgroundColor: alpha(theme.palette[color].main, 0.08),\n '&:hover': {\n backgroundColor: alpha(theme.palette[color].main, 0.16),\n },\n }),\n }),\n },\n },\n }),\n }));\n\n return [defaultStyle, ...colorStyle];\n };\n\n return {\n MuiPagination: {\n styleOverrides: {\n root: ({ ownerState }) => rootStyles(ownerState),\n },\n },\n };\n}\n","import { buttonClasses } from '@mui/material/Button';\n// components\nimport Iconify from 'src/components/iconify';\n\n// ----------------------------------------------------------------------\n\nconst dateList = [\n 'DatePicker',\n 'DateTimePicker',\n 'StaticDatePicker',\n 'DesktopDatePicker',\n 'DesktopDateTimePicker',\n //\n 'MobileDatePicker',\n 'MobileDateTimePicker',\n];\n\nconst timeList = ['TimePicker', 'MobileTimePicker', 'StaticTimePicker', 'DesktopTimePicker'];\n\nconst switchIcon = () => ;\n\nconst leftIcon = () => ;\n\nconst rightIcon = () => ;\n\nconst calendarIcon = () => ;\n\nconst clockIcon = () => ;\n\nconst desktopTypes = dateList.reduce((result, currentValue) => {\n result[`Mui${currentValue}`] = {\n defaultProps: {\n slots: {\n openPickerIcon: calendarIcon,\n leftArrowIcon: leftIcon,\n rightArrowIcon: rightIcon,\n switchViewIcon: switchIcon,\n },\n },\n };\n\n return result;\n}, {});\n\nconst timeTypes = timeList.reduce((result, currentValue) => {\n result[`Mui${currentValue}`] = {\n defaultProps: {\n slots: {\n openPickerIcon: clockIcon,\n rightArrowIcon: rightIcon,\n switchViewIcon: switchIcon,\n },\n },\n };\n\n return result;\n}, {});\n\nexport function datePicker(theme) {\n return {\n MuiPickersLayout: {\n styleOverrides: {\n root: {\n '& .MuiPickersLayout-actionBar': {\n [`& .${buttonClasses.root}:last-of-type`]: {\n backgroundColor: theme.palette.text.primary,\n color:\n theme.palette.mode === 'light'\n ? theme.palette.common.white\n : theme.palette.grey[800],\n },\n },\n },\n },\n },\n\n // Date\n ...desktopTypes,\n\n // Time\n ...timeTypes,\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function breadcrumbs(theme) {\n return {\n MuiBreadcrumbs: {\n styleOverrides: {\n separator: {\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2),\n ...theme.typography.text1,\n },\n li: {\n display: 'inline-flex',\n margin: theme.spacing(0.25, 0),\n '& > *': {\n ...theme.typography.text1,\n },\n },\n },\n },\n };\n}\n","// ----------------------------------------------------------------------\n\nexport function cssBaseline(theme) {\n return {\n MuiCssBaseline: {\n styleOverrides: {\n '*': {\n boxSizing: 'border-box',\n },\n html: {\n margin: 0,\n padding: 0,\n width: '100%',\n height: '100%',\n WebkitOverflowScrolling: 'touch',\n },\n body: {\n margin: 0,\n padding: 0,\n width: '100%',\n height: '100%',\n },\n '#root, #__next': {\n width: '100%',\n height: '100%',\n },\n input: {\n '&[type=number]': {\n MozAppearance: 'textfield',\n '&::-webkit-outer-spin-button': {\n margin: 0,\n WebkitAppearance: 'none',\n },\n '&::-webkit-inner-spin-button': {\n margin: 0,\n WebkitAppearance: 'none',\n },\n },\n },\n img: {\n maxWidth: '100%',\n display: 'inline-block',\n verticalAlign: 'bottom',\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { buttonGroupClasses } from '@mui/material/ButtonGroup';\n\n// ----------------------------------------------------------------------\n\nconst COLORS = ['primary', 'secondary', 'info', 'success', 'warning', 'error'];\n\n// ----------------------------------------------------------------------\n\nexport function buttonGroup(theme) {\n const rootStyles = (ownerState) => {\n const inheritColor = ownerState.color === 'inherit';\n\n const containedVariant = ownerState.variant === 'contained';\n\n const outlinedVariant = ownerState.variant === 'outlined';\n\n const textVariant = ownerState.variant === 'text';\n\n const softVariant = ownerState.variant === 'soft';\n\n const horizontalOrientation = ownerState.orientation === 'horizontal';\n\n const verticalOrientation = ownerState.orientation === 'vertical';\n\n const defaultStyle = {\n [`& .${buttonGroupClasses.grouped}`]: {\n '&:not(:last-of-type)': {\n ...(!outlinedVariant && {\n borderStyle: 'solid',\n ...(inheritColor && {\n borderColor: alpha(theme.palette.grey[500], 0.32),\n }),\n // HORIZONTAL\n ...(horizontalOrientation && {\n borderWidth: '0px 1px 0px 0px',\n }),\n // VERTICAL\n ...(verticalOrientation && {\n borderWidth: '0px 0px 1px 0px',\n }),\n }),\n },\n },\n };\n\n const colorStyle = COLORS.map((color) => ({\n [`& .${buttonGroupClasses.grouped}`]: {\n '&:not(:last-of-type)': {\n ...(!outlinedVariant && {\n ...(ownerState.color === color && {\n // CONTAINED\n ...(containedVariant && {\n borderColor: alpha(theme.palette[color].dark, 0.48),\n }),\n // TEXT\n ...(textVariant && {\n borderColor: alpha(theme.palette[color].main, 0.48),\n }),\n // SOFT\n ...(softVariant && {\n borderColor: alpha(theme.palette[color].dark, 0.24),\n }),\n }),\n }),\n },\n },\n }));\n\n const disabledState = {\n [`& .${buttonGroupClasses.grouped}`]: {\n [`&.${buttonGroupClasses.disabled}`]: {\n '&:not(:last-of-type)': {\n borderColor: theme.palette.action.disabledBackground,\n },\n },\n },\n };\n\n return [defaultStyle, ...colorStyle, disabledState];\n };\n\n return {\n MuiButtonGroup: {\n styleOverrides: {\n root: ({ ownerState }) => rootStyles(ownerState),\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { autocompleteClasses } from '@mui/material/Autocomplete';\nimport { svgIconClasses } from '@mui/material/SvgIcon';\n//\nimport { paper, menuItem } from '../../css';\n\n// ----------------------------------------------------------------------\n\nexport function autocomplete(theme) {\n return {\n MuiAutocomplete: {\n styleOverrides: {\n root: {\n [`& span.${autocompleteClasses.tag}`]: {\n ...theme.typography.subtitle2,\n height: 24,\n minWidth: 24,\n lineHeight: '24px',\n textAlign: 'center',\n padding: theme.spacing(0, 0.75),\n color: theme.palette.text.secondary,\n borderRadius: theme.shape.borderRadius,\n backgroundColor: alpha(theme.palette.grey[500], 0.16),\n },\n },\n paper: {\n ...paper({ theme, dropdown: true }),\n },\n listbox: {\n padding: 0,\n [`& .${autocompleteClasses.option}`]: {\n ...menuItem(theme),\n padding: theme.spacing(0.15, 2),\n },\n },\n endAdornment: {\n [`& .${svgIconClasses.root}`]: {\n width: 18,\n height: 18,\n },\n },\n },\n },\n };\n}\n","import { alpha } from '@mui/material/styles';\nimport { toggleButtonClasses } from '@mui/material/ToggleButton';\n\n// ----------------------------------------------------------------------\n\nconst COLORS = ['primary', 'secondary', 'info', 'success', 'warning', 'error'];\n\n// ----------------------------------------------------------------------\n\nexport function toggleButton(theme) {\n const rootStyles = (ownerState) => {\n const defaultStyle = {\n [`&.${toggleButtonClasses.selected}`]: {\n borderColor: 'currentColor',\n boxShadow: '0 0 0 0.5px currentColor',\n },\n };\n\n const colorStyle = COLORS.map((color) => ({\n ...(ownerState.color === color && {\n '&:hover': {\n borderColor: alpha(theme.palette[color].main, 0.48),\n backgroundColor: alpha(theme.palette[color].main, theme.palette.action.hoverOpacity),\n },\n }),\n }));\n\n const disabledState = {\n [`&.${toggleButtonClasses.disabled}`]: {\n [`&.${toggleButtonClasses.selected}`]: {\n color: theme.palette.action.disabled,\n backgroundColor: theme.palette.action.selected,\n borderColor: theme.palette.action.disabledBackground,\n },\n },\n };\n\n return [defaultStyle, ...colorStyle, disabledState];\n };\n\n return {\n MuiToggleButton: {\n styleOverrides: {\n root: ({ ownerState }) => rootStyles(ownerState),\n },\n },\n MuiToggleButtonGroup: {\n styleOverrides: {\n root: {\n borderRadius: theme.shape.borderRadius,\n backgroundColor: theme.palette.background.paper,\n border: `solid 1px ${alpha(theme.palette.grey[500], 0.08)}`,\n },\n grouped: {\n margin: 4,\n [`&.${toggleButtonClasses.selected}`]: {\n boxShadow: 'none',\n },\n '&:not(:first-of-type), &:not(:last-of-type)': {\n borderRadius: theme.shape.borderRadius,\n borderColor: 'transparent',\n },\n },\n },\n },\n };\n}\n","import { loadingButtonClasses } from '@mui/lab/LoadingButton';\n\n// ----------------------------------------------------------------------\n\nexport function loadingButton(theme) {\n return {\n MuiLoadingButton: {\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...(ownerState.variant === 'soft' && {\n [`& .${loadingButtonClasses.loadingIndicatorStart}`]: {\n left: 10,\n },\n [`& .${loadingButtonClasses.loadingIndicatorEnd}`]: {\n right: 14,\n },\n ...(ownerState.size === 'small' && {\n [`& .${loadingButtonClasses.loadingIndicatorStart}`]: {\n left: 10,\n },\n [`& .${loadingButtonClasses.loadingIndicatorEnd}`]: {\n right: 10,\n },\n }),\n }),\n }),\n },\n },\n };\n}\n","import merge from 'lodash/merge';\n//\nimport { defaultProps } from './default-props';\n//\nimport { fab } from './components/fab';\nimport { card } from './components/card';\nimport { chip } from './components/chip';\nimport { tabs } from './components/tabs';\nimport { menu } from './components/menu';\nimport { list } from './components/list';\nimport { table } from './components/table';\nimport { alert } from './components/alert';\nimport { badge } from './components/badge';\nimport { paper } from './components/paper';\nimport { radio } from './components/radio';\nimport { appBar } from './components/appbar';\nimport { drawer } from './components/drawer';\nimport { dialog } from './components/dialog';\nimport { avatar } from './components/avatar';\nimport { rating } from './components/rating';\nimport { slider } from './components/slider';\nimport { button } from './components/button';\nimport { select } from './components/select';\nimport { switches } from './components/switch';\nimport { tooltip } from './components/tooltip';\nimport { popover } from './components/popover';\nimport { stepper } from './components/stepper';\nimport { svgIcon } from './components/svg-icon';\nimport { skeleton } from './components/skeleton';\nimport { backdrop } from './components/backdrop';\nimport { progress } from './components/progress';\nimport { timeline } from './components/timeline';\nimport { checkbox } from './components/checkbox';\nimport { dataGrid } from './components/data-grid';\nimport { treeView } from './components/tree-view';\nimport { textField } from './components/textfield';\nimport { accordion } from './components/accordion';\nimport { typography } from './components/typography';\nimport { pagination } from './components/pagination';\nimport { datePicker } from './components/date-picker';\nimport { breadcrumbs } from './components/breadcrumbs';\nimport { cssBaseline } from './components/css-baseline';\nimport { buttonGroup } from './components/button-group';\nimport { autocomplete } from './components/autocomplete';\nimport { toggleButton } from './components/toggle-button';\nimport { loadingButton } from './components/loading-button';\n\n// ----------------------------------------------------------------------\n\nexport function componentsOverrides(theme) {\n const components = merge(\n defaultProps(theme),\n //\n fab(theme),\n tabs(theme),\n chip(theme),\n card(theme),\n menu(theme),\n list(theme),\n badge(theme),\n table(theme),\n paper(theme),\n alert(theme),\n radio(theme),\n select(theme),\n button(theme),\n rating(theme),\n dialog(theme),\n appBar(theme),\n avatar(theme),\n slider(theme),\n drawer(theme),\n stepper(theme),\n tooltip(theme),\n popover(theme),\n svgIcon(theme),\n switches(theme),\n checkbox(theme),\n dataGrid(theme),\n skeleton(theme),\n timeline(theme),\n treeView(theme),\n backdrop(theme),\n progress(theme),\n textField(theme),\n accordion(theme),\n typography(theme),\n pagination(theme),\n datePicker(theme),\n buttonGroup(theme),\n breadcrumbs(theme),\n cssBaseline(theme),\n autocomplete(theme),\n toggleButton(theme),\n loadingButton(theme)\n );\n\n return components;\n}\n","import { palette } from '../palette';\nimport { shadows } from '../shadows';\nimport { customShadows } from '../custom-shadows';\n\n// ----------------------------------------------------------------------\n\nexport function darkMode(mode) {\n const theme = {\n palette: palette(mode),\n shadows: shadows(mode),\n customShadows: customShadows(mode),\n };\n\n return theme;\n}\n","import { palette } from '../palette';\nimport { customShadows } from '../custom-shadows';\n\n// ----------------------------------------------------------------------\n\nexport function contrast(contrastBold, mode) {\n const theme = {\n ...(contrastBold &&\n mode === 'light' && {\n palette: {\n background: {\n default: palette(mode).grey[100],\n },\n },\n }),\n };\n\n const components = {\n ...(contrastBold && {\n MuiCard: {\n styleOverrides: {\n root: {\n boxShadow: customShadows(mode).z4,\n },\n },\n },\n }),\n };\n\n return {\n theme,\n components,\n };\n}\n","import PropTypes from 'prop-types';\nimport { useEffect } from 'react';\n// rtl\nimport rtlPlugin from 'stylis-plugin-rtl';\n// emotion\nimport createCache from '@emotion/cache';\nimport { CacheProvider } from '@emotion/react';\n\n// ----------------------------------------------------------------------\n\nexport default function RTL({ children, themeDirection }) {\n useEffect(() => {\n document.dir = themeDirection;\n }, [themeDirection]);\n\n const cacheRtl = createCache({\n key: 'rtl',\n prepend: true,\n // https://github.com/styled-components/stylis-plugin-rtl/issues/35\n stylisPlugins: [rtlPlugin],\n });\n\n if (themeDirection === 'rtl') {\n return {children};\n }\n\n return <>{children};\n}\n\nRTL.propTypes = {\n children: PropTypes.node,\n themeDirection: PropTypes.oneOf(['rtl', 'ltr']),\n};\n\n// ----------------------------------------------------------------------\n\nexport function direction(themeDirection) {\n const theme = {\n direction: themeDirection,\n };\n\n return theme;\n}\n","'use client';\n\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\nimport createCache from '@emotion/cache';\nimport { useServerInsertedHTML } from 'next/navigation';\nimport { CacheProvider as DefaultCacheProvider } from '@emotion/react';\n\n// ----------------------------------------------------------------------\n\n// Adapted from https://github.com/garronej/tss-react/blob/main/src/next/appDir.tsx\nexport default function NextAppDirEmotionCacheProvider(props) {\n const { options, CacheProvider = DefaultCacheProvider, children } = props;\n\n const [registry] = React.useState(() => {\n const cache = createCache(options);\n cache.compat = true;\n const prevInsert = cache.insert;\n let inserted = [];\n cache.insert = (...args) => {\n const [selector, serialized] = args;\n if (cache.inserted[serialized.name] === undefined) {\n inserted.push({\n name: serialized.name,\n isGlobal: !selector,\n });\n }\n return prevInsert(...args);\n };\n const flush = () => {\n const prevInserted = inserted;\n inserted = [];\n return prevInserted;\n };\n return { cache, flush };\n });\n\n useServerInsertedHTML(() => {\n const inserted = registry.flush();\n if (inserted.length === 0) {\n return null;\n }\n let styles = '';\n let dataEmotionAttribute = registry.cache.key;\n\n const globals = [];\n\n inserted.forEach(({ name, isGlobal }) => {\n const style = registry.cache.inserted[name];\n\n if (typeof style !== 'boolean') {\n if (isGlobal) {\n globals.push({ name, style });\n } else {\n styles += style;\n dataEmotionAttribute += ` ${name}`;\n }\n }\n });\n\n return (\n <>\n {globals.map(({ name, style }) => (\n \n ))}\n {styles && (\n \n )}\n \n );\n });\n\n return {children};\n}\n\nNextAppDirEmotionCacheProvider.propTypes = {\n CacheProvider: PropTypes.element,\n children: PropTypes.node,\n options: PropTypes.object,\n};\n","'use client';\n\nimport PropTypes from 'prop-types';\nimport merge from 'lodash/merge';\nimport { useEffect, useMemo } from 'react';\nimport { datadogLogs } from '@datadog/browser-logs';\nimport { datadogRum } from '@datadog/browser-rum';\n// @mui\nimport CssBaseline from '@mui/material/CssBaseline';\nimport { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';\nimport { LocalizationProvider } from '@mui/x-date-pickers';\nimport { createTheme, ThemeProvider as MuiThemeProvider } from '@mui/material/styles';\n// components\nimport { useSettingsContext } from 'src/components/settings';\n// system\nimport { palette } from './palette';\nimport { shadows } from './shadows';\nimport { typography } from './typography';\nimport { customShadows } from './custom-shadows';\nimport { componentsOverrides } from './overrides';\n// options\nimport { presets } from './options/presets';\nimport { darkMode } from './options/dark-mode';\nimport { contrast } from './options/contrast';\nimport RTL, { direction } from './options/right-to-left';\n//\nimport NextAppDirEmotionCacheProvider from './next-emotion-cache';\n\n// ----------------------------------------------------------------------\n\nexport default function ThemeProvider({ children }) {\n const settings = useSettingsContext();\n\n const darkModeOption = darkMode(settings.themeMode);\n\n const presetsOption = presets(settings.themeColorPresets);\n\n const contrastOption = contrast(settings.themeContrast === 'bold', settings.themeMode);\n\n const directionOption = direction(settings.themeDirection);\n\n const baseOption = useMemo(\n () => ({\n palette: palette('light'),\n shadows: shadows('light'),\n customShadows: customShadows('light'),\n typography,\n shape: { borderRadius: 8 },\n }),\n []\n );\n\n const memoizedValue = useMemo(\n () =>\n merge(\n // Base\n baseOption,\n // Direction: remove if not in use\n directionOption,\n // Dark mode: remove if not in use\n darkModeOption,\n // Presets: remove if not in use\n presetsOption,\n // Contrast: remove if not in use\n contrastOption.theme\n ),\n [baseOption, directionOption, darkModeOption, presetsOption, contrastOption.theme]\n );\n\n const theme = createTheme(memoizedValue);\n\n theme.components = merge(componentsOverrides(theme), contrastOption.components);\n\n useEffect(() => {\n if (['prod', 'uat', 'dev'].includes(process.env.NEXT_PUBLIC_ENV)) {\n datadogLogs.init({\n service: `flexlis-reactjs-v2-${process.env.NEXT_PUBLIC_ENV}`,\n env: process.env.NEXT_PUBLIC_ENV,\n forwardConsoleLogs: ['error'],\n clientToken: 'pubefe65e93dee75541ff248f7cfc96a322',\n site: 'us5.datadoghq.com',\n forwardErrorsToLogs: true,\n sessionSampleRate: 100,\n });\n // datadogLogs.logger.info('Button clicked', { name: 'buttonName', id: 123 })\n datadogRum.init({\n applicationId: 'd805d788-0410-479e-8b68-305eff55c597',\n clientToken: 'pub1393d9c4cac37a1dd9c8ed76737dadad',\n // `site` refers to the Datadog site parameter of your organization\n // see https://docs.datadoghq.com/getting_started/site/\n site: 'us5.datadoghq.com',\n service: `flexlis-reactjs-v2-${process.env.NEXT_PUBLIC_ENV}`,\n env: process.env.NEXT_PUBLIC_ENV,\n // Specify a version number to identify the deployed version of your application in Datadog\n version: 'v2',\n sessionSampleRate: 100,\n sessionReplaySampleRate: 100,\n trackUserInteractions: true,\n trackResources: true,\n trackLongTasks: true,\n defaultPrivacyLevel: 'mask-user-input',\n });\n const selectedUser = localStorage.getItem('selectedUser')\n ? JSON.parse(localStorage.getItem('selectedUser'))\n : {};\n datadogRum.setUser({\n name: selectedUser?.name,\n email: selectedUser?.email,\n role: selectedUser?.role,\n user_cid: selectedUser?.user_cid,\n lab_cid: selectedUser?.lab_cid,\n });\n }\n }, []);\n\n return (\n \n \n \n \n \n {children}\n \n \n \n \n );\n}\n\nThemeProvider.propTypes = {\n children: PropTypes.node,\n};\n","import { Public_Sans, Barlow, Inter, Roboto } from 'next/font/google';\n\n// ----------------------------------------------------------------------\n\nexport function remToPx(value) {\n return Math.round(parseFloat(value) * 16);\n}\n\nexport function pxToRem(value) {\n return `${value / 16}rem`;\n}\n\nexport function responsiveFontSizes({ sm, md, lg }) {\n return {\n '@media (min-width:600px)': {\n fontSize: pxToRem(sm),\n },\n '@media (min-width:900px)': {\n fontSize: pxToRem(md),\n },\n '@media (min-width:1200px)': {\n fontSize: pxToRem(lg),\n },\n };\n}\n\nexport const primaryFont = Inter({\n weight: ['400', '500', '700'],\n subsets: ['latin'],\n display: 'swap',\n fallback: ['Helvetica', 'Arial', 'sans-serif'],\n});\n\nexport const secondaryFont = Roboto({\n weight: ['400', '500'],\n subsets: ['latin'],\n display: 'swap',\n fallback: ['Helvetica', 'Arial', 'sans-serif'],\n});\n\n// ----------------------------------------------------------------------\n\n// LEARN MORE\n// https://nextjs.org/docs/basic-features/font-optimization#google-fonts\n\nexport const typography = {\n fontFamily: primaryFont.style.fontFamily,\n fontWeightRegular: 400,\n fontWeightMedium: 500,\n fontWeightBold: 700,\n h1: {\n fontWeight: 700,\n lineHeight: 80 / 64,\n fontSize: pxToRem(40),\n ...responsiveFontSizes({ sm: 52, md: 58, lg: 64 }),\n },\n h2: {\n fontWeight: 700,\n lineHeight: 64 / 48,\n fontSize: pxToRem(32),\n ...responsiveFontSizes({ sm: 40, md: 44, lg: 48 }),\n },\n h3: {\n fontWeight: 700,\n lineHeight: 1.5,\n fontSize: pxToRem(24),\n ...responsiveFontSizes({ sm: 26, md: 30, lg: 32 }),\n },\n h4: {\n fontWeight: 700,\n lineHeight: 1.5,\n fontSize: pxToRem(20),\n ...responsiveFontSizes({ sm: 20, md: 24, lg: 24 }),\n },\n h5: {\n fontWeight: 700,\n lineHeight: 1.5,\n fontSize: pxToRem(18),\n ...responsiveFontSizes({ sm: 19, md: 20, lg: 20 }),\n },\n h6: {\n fontWeight: 700,\n lineHeight: 28 / 18,\n fontSize: pxToRem(17),\n ...responsiveFontSizes({ sm: 18, md: 18, lg: 18 }),\n },\n subtitle1: {\n fontWeight: 600,\n lineHeight: 1.5,\n fontSize: pxToRem(16),\n },\n subtitle2: {\n fontWeight: 600,\n lineHeight: 22 / 14,\n fontSize: pxToRem(14),\n },\n body1: {\n lineHeight: 1.5,\n fontSize: pxToRem(16),\n },\n body2: {\n lineHeight: 22 / 14,\n fontSize: pxToRem(14),\n },\n caption: {\n lineHeight: 1.5,\n fontSize: pxToRem(12),\n },\n overline: {\n fontWeight: 700,\n lineHeight: 1.5,\n fontSize: pxToRem(12),\n textTransform: 'uppercase',\n },\n button: {\n fontWeight: 700,\n lineHeight: 24 / 14,\n fontSize: pxToRem(14),\n textTransform: 'unset',\n },\n\n header1: {\n fontSize: pxToRem(28),\n fontWeight: 700,\n lineHeight: pxToRem(42),\n letterSpacing: '-0.041em',\n },\n\n header3: {\n fontSize: pxToRem(20),\n fontWeight: 700,\n lineHeight: pxToRem(30),\n letterSpacing: '-0.041em',\n },\n\n header4: {\n fontSize: pxToRem(18),\n fontWeight: 700,\n lineHeight: pxToRem(27),\n letterSpacing: '-0.041em',\n },\n\n text1: {\n fontSize: pxToRem(16),\n fontWeight: 500,\n lineHeight: pxToRem(24),\n letterSpacing: '-0.041em',\n },\n\n text2: {\n fontSize: pxToRem(14),\n fontWeight: 500,\n lineHeight: pxToRem(21),\n letterSpacing: '-0.041em',\n },\n\n text3: {\n fontSize: pxToRem(12),\n fontWeight: 500,\n lineHeight: pxToRem(18),\n letterSpacing: '-0.041em',\n },\n\n chip1: {\n fontFamily: secondaryFont.style.fontFamily,\n fontSize: pxToRem(11),\n fontWeight: 500,\n lineHeight: pxToRem(16),\n letterSpacing: '0.5px',\n },\n};\n","import { useEffect, useState } from 'react';\nimport axios from 'axios';\nimport { toast } from 'react-toastify';\nimport { compact } from 'lodash';\n\nimport { cancelRequestsExclusions, excludePathPatterns } from 'src/constants';\n\n/**\n * @private\n */\nconst loadingStore = {\n count: 0,\n subscribers: new Set(),\n\n increment() {\n this.count++;\n this.notify();\n },\n\n decrement() {\n this.count--;\n this.notify();\n },\n\n subscribe(callback) {\n this.subscribers.add(callback);\n return () => this.subscribers.delete(callback);\n },\n\n notify() {\n this.subscribers.forEach((callback) => callback(this.count > 0));\n },\n};\n\nconst activeRequests = new Set();\n\nlet refreshAndRetryQueue = [];\nlet isRefreshing = false;\n\nexport const requestHeaders = { 'Time-Zone': Intl.DateTimeFormat().resolvedOptions().timeZone };\nexport const axiosInstance = axios.create({ baseURL: process.env.NEXT_PUBLIC_HOST_API });\n\n// Function to get the Cognito client ID from localStorage\nconst getClientId = () => {\n const clientId = Object.keys(localStorage)\n .find(\n (key) => key.startsWith('CognitoIdentityServiceProvider.') && key.endsWith('.LastAuthUser')\n )\n ?.split('.')[1];\n\n return clientId;\n};\n\n// Function to get the username from localStorage\nconst getUsernameFromStorage = () => {\n const clientId = getClientId();\n if (clientId) {\n const lastAuthUserKey = `CognitoIdentityServiceProvider.${clientId}.LastAuthUser`;\n const username = localStorage.getItem(lastAuthUserKey);\n return username;\n }\n return null;\n};\n\n// Simplified token retrieval functions\nconst getAccessTokenFromStorage = () => localStorage.getItem('accessToken');\nconst getRefreshTokenFromStorage = () => localStorage.getItem('refreshToken');\nconst getIdTokenFromStorage = () => localStorage.getItem('idToken');\n\n// Function to update tokens in localStorage\nconst updateTokensInStorage = (newTokens) => {\n const clientId = getClientId();\n const lastAuthUserKey = `CognitoIdentityServiceProvider.${clientId}.LastAuthUser`;\n const username = localStorage.getItem(lastAuthUserKey);\n\n const refreshTokenKey = `CognitoIdentityServiceProvider.${clientId}.${username}.refreshToken`;\n const accessTokenKey = `CognitoIdentityServiceProvider.${clientId}.${username}.accessToken`;\n const idTokenKey = `CognitoIdentityServiceProvider.${clientId}.${username}.idToken`;\n\n if (newTokens.RefreshToken) {\n // Update Cognito key\n localStorage.setItem(refreshTokenKey, newTokens.RefreshToken);\n // Update key\n localStorage.setItem('refreshToken', newTokens.RefreshToken);\n }\n if (newTokens.AccessToken) {\n localStorage.setItem(accessTokenKey, newTokens.AccessToken);\n localStorage.setItem('accessToken', newTokens.AccessToken);\n }\n if (newTokens.IdToken) {\n localStorage.setItem(idTokenKey, newTokens.IdToken);\n localStorage.setItem('idToken', newTokens.IdToken);\n }\n};\n\n// Function to clear authentication data from localStorage\nexport const clearAuthDataFromStorage = async () => {\n // Remove standard tokens and data\n localStorage.removeItem('idToken');\n localStorage.removeItem('accessToken');\n localStorage.removeItem('refreshToken');\n localStorage.removeItem('lab_cid');\n localStorage.removeItem('role');\n localStorage.removeItem('expireAt');\n localStorage.removeItem('selectedUser');\n\n // Remove tokens stored under CognitoIdentityServiceProvider keys\n const clientId = getClientId();\n if (clientId) {\n const lastAuthUserKey = `CognitoIdentityServiceProvider.${clientId}.LastAuthUser`;\n const username = localStorage.getItem(lastAuthUserKey);\n if (username) {\n const keysToRemove = [\n lastAuthUserKey,\n `CognitoIdentityServiceProvider.${clientId}.${username}.accessToken`,\n `CognitoIdentityServiceProvider.${clientId}.${username}.idToken`,\n `CognitoIdentityServiceProvider.${clientId}.${username}.refreshToken`,\n ];\n keysToRemove.forEach((key) => localStorage.removeItem(key));\n }\n }\n};\n\nexport const cancelRequestsWithExclusions = () => {\n activeRequests.forEach(({ controller, url }) => {\n if (!cancelRequestsExclusions.includes(url.split('?')[0])) {\n controller.abort();\n activeRequests.delete(controller);\n }\n });\n};\n\naxiosInstance.interceptors.request.use(\n (config) => {\n if (!excludePathPatterns.some((pattern) => pattern.test(config.url))) {\n loadingStore.increment();\n }\n\n const controller = new AbortController();\n config.signal = controller.signal;\n activeRequests.add({ controller, url: config.url });\n\n config.headers = requestHeaders;\n\n const accessToken = getAccessTokenFromStorage();\n if (accessToken) {\n config.headers['Authorization'] = `Bearer ${accessToken}`;\n }\n\n const idToken = getIdTokenFromStorage();\n if (idToken) {\n config.headers['idToken'] = idToken;\n }\n\n const labCid = localStorage.getItem('lab_cid');\n if (labCid) {\n config.headers['lab_cid'] = labCid;\n }\n const role = localStorage.getItem('role');\n if (role) {\n config.headers['role'] = role;\n }\n\n return config;\n },\n (error) => Promise.reject(error)\n);\n\naxiosInstance.interceptors.response.use(\n (response) => {\n if (!excludePathPatterns.some((pattern) => pattern.test(response.config.url))) {\n loadingStore.decrement();\n }\n\n const parts = response.config.url.split('/');\n const endpoint = parts[0] || parts[1];\n const resourceType = endpoint?.endsWith('s') ? `${endpoint?.slice(0, -1)}(s)` : endpoint || '';\n switch (response.config.method) {\n case 'put':\n toast.success(`Successfully updated ${resourceType}`);\n break;\n case 'patch':\n toast.success(`Successfully updated ${resourceType}`);\n break;\n case 'delete':\n toast.success(`Successfully deleted ${resourceType}`);\n break;\n case 'post':\n toast.success(`Successfully created ${resourceType}`);\n break;\n default:\n }\n\n activeRequests.forEach(({ controller, url }) => {\n if (controller.signal === response.config.signal) {\n activeRequests.delete({ controller, url });\n }\n });\n\n return response;\n },\n async (error) => {\n if (!excludePathPatterns.some((pattern) => pattern.test(error.config.url))) {\n loadingStore.decrement();\n }\n\n const originalRequest = error.config;\n if (\n ((error.response && error.response.status === 401) ||\n (!error.response && error.request && error.request.status === 401)) &&\n !originalRequest._retry\n ) {\n if (!isRefreshing) {\n isRefreshing = true;\n originalRequest._retry = true;\n\n try {\n // Get the stored refresh token and username\n const refreshToken = getRefreshTokenFromStorage();\n const username = getUsernameFromStorage();\n\n if (!refreshToken || !username) {\n // No refresh token or username available - clear storage and redirect\n await clearAuthDataFromStorage();\n window.location.replace('/');\n return Promise.reject(error);\n }\n\n // Call backend endpoint to refresh tokens using default axios\n await axios\n .post(`${process.env.NEXT_PUBLIC_HOST_API}/auth/refresh-tokens`, {\n username: username,\n refresh_token: refreshToken,\n })\n .then((res) => {\n const newTokens = res.data.data;\n\n // Update tokens in localStorage\n updateTokensInStorage(newTokens);\n error.config.headers['Authorization'] = `Bearer ${newTokens?.accessToken}`;\n error.config.headers['idToken'] = newTokens?.idToken;\n // Retry all requests in the queue with the new token\n refreshAndRetryQueue.forEach(({ config, resolve, reject }) => {\n axiosInstance\n .request(config)\n .then((response) => resolve(response))\n .catch((err) => reject(err));\n });\n // Clear the queue\n refreshAndRetryQueue.length = 0;\n })\n .catch((err) => {\n console.log(err);\n clearAuthDataFromStorage();\n window.location.replace('/');\n return Promise.reject(err);\n });\n\n // Retry the original request with the new access token\n return axiosInstance(originalRequest);\n } catch (refreshError) {\n console.error('Refresh token attempt failed:', refreshError);\n\n if (refreshError.response) {\n const { status } = refreshError.response;\n\n if (status === 402 || status === 403) {\n // Invalid refresh token or user not found - clear storage and log out the user\n toast.error('Session expired. Please log in again.');\n await clearAuthDataFromStorage();\n window.location.replace('/');\n } else {\n // Handle other errors without logging out\n const errorMessage =\n refreshError.response.data?.message || 'An error occurred. Please try again.';\n toast.error(errorMessage);\n }\n } else {\n // No response from server or other error\n toast.error('An error occurred. Please log in again.');\n await clearAuthDataFromStorage();\n window.location.replace('/');\n }\n\n return Promise.reject(refreshError);\n } finally {\n isRefreshing = false;\n }\n }\n // Add the original request to the queue\n return new Promise((resolve, reject) => {\n refreshAndRetryQueue.push({ config: originalRequest, resolve, reject });\n });\n } else {\n if (error.code === 'ERR_CANCELED') {\n toast.success(`Request(s) Cancelled`);\n } else {\n // Handle other errors\n const status = error.response?.status ?? error.request?.status;\n const message = error.response?.statusText ?? error.request?.statusText ?? error.message;\n const out = compact([status, message]).join(' ');\n toast.error(`Error: ${out}`);\n }\n }\n\n activeRequests.forEach(({ controller, url }) => {\n if (controller.signal === error.config?.signal) {\n activeRequests.delete({ controller, url });\n }\n });\n\n return Promise.reject(error);\n }\n);\n\nexport const useRequestIndicator = () => {\n const [isLoading, setIsLoading] = useState(loadingStore.count > 0);\n\n useEffect(() => {\n const unsubscribe = loadingStore.subscribe(setIsLoading);\n return () => unsubscribe();\n }, []);\n\n return { isLoading };\n};\n"],"names":["Promise","resolve","then","__webpack_require__","t","bind","AuthConsumer","param","children","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","AuthContext","Consumer","auth","loading","SplashScreen","propTypes","PropTypes","createContext","ErrorType","Code","CodeExpired","User","UserIsInactive","ApiError","Error","setDerivateFrom","error","setErrorType","type","errorType","name","AuthProvider","userOptions","setUserOptions","useState","selectedUser","setSelectedUser","window","localStorage","getItem","JSON","parse","currentLab","setCurrentLab","undefined","signInStatus","tokens","signOut","usePasswordless","useEffect","lab_cid","find","userOption","lab","cleanup","clear","initialize","useCallback","accessToken","_","idToken","refreshToken","setItem","concat","role","axiosInstance","get","res","data","catch","logout","reject","err","message","stringify","login","email","username","challenge_code","session_code","authResp","post","response","status","AuthenticationResult","results","resp","memoizedValue","useMemo","method","authenticated","unauthenticated","Provider","value","PasswordlessProvider","PasswordlessContextProvider","enableLocalUserCache","Passwordless","configure","cognitoIdpEndpoint","process","clientId","fido2","baseUrl","authenticatorSelection","userVerification","debug","console","MotionLazy","LazyMotion","strict","features","domMax","jsxs","m","div","style","height","ItsFineProvider","FiberProvider","node","__webpack_exports__","memo","isLoading","useRequestIndicator","Fragment","display","flexDirection","gap","justifyContent","alignItems","position","top","left","right","bottom","zIndex","background","CircularProgress","Button","variant","onClick","cancelRequestsWithExclusions","sx","other","mounted","setMounted","jsx_runtime","Box","width","bgcolor","animate","scale","opacity","transition","duration","ease","repeatDelay","repeat","Infinity","Logo","component","rotate","borderRadius","border","alpha","theme","palette","primary","dark","styled","defaultProps","props","img","src","alt","_templateObject","logo","browserQueryClient","makeQueryClient","QueryClient","defaultOptions","queries","staleTime","dehydrate","defaultShouldDehydrateQuery","query","state","TanstackQueryClientBoundary","queryClient","isServer","QueryClientProvider","client","themePalette","LIGHT_MODE","grey","DARK_MODE","common","black","createShadow","color","transparent1","transparent2","transparent3","shadows","mode","transparent","z1","z4","z8","z12","z16","z20","z24","card","dropdown","dialog","main","info","secondary","success","warning","customShadows","ArrowDownIcon","SvgIcon","path","d","CheckboxIcon","CheckboxCheckedIcon","CheckboxIndeterminateIcon","RadioIcon","RadioCheckedIcon","RatingIcon","TreeViewCollapseIcon","TreeViewExpandIcon","TreeViewEndIcon","COLORS","colorByName","charAt","toLowerCase","includes","switchIcon","Iconify","icon","leftIcon","rightIcon","calendarIcon","clockIcon","desktopTypes","dateList","reduce","result","currentValue","slots","openPickerIcon","leftArrowIcon","rightArrowIcon","switchViewIcon","timeTypes","timeList","RTL","themeDirection","document","dir","cacheRtl","createCache","key","prepend","stylisPlugins","rtlPlugin","CacheProvider","NextAppDirEmotionCacheProvider","options","DefaultCacheProvider","registry","React","cache","compat","prevInsert","insert","inserted","args","selector","serialized","push","isGlobal","flush","prevInserted","useServerInsertedHTML","length","styles","dataEmotionAttribute","globals","forEach","map","data-emotion","dangerouslySetInnerHTML","__html","ThemeProvider","settings","useSettingsContext","darkModeOption","darkMode","themeMode","presetsOption","presets","themeColorPresets","contrastOption","contrast","contrastBold","default","components","MuiCard","styleOverrides","root","boxShadow","themeContrast","directionOption","direction","baseOption","typography","shape","merge","createTheme","componentsOverrides","MuiAlert","iconMapping","MuiStack","useFlexGap","MuiAppBar","MuiAvatarGroup","max","MuiButtonGroup","disableElevation","MuiButton","MuiCardHeader","titleTypographyProps","subheaderTypographyProps","marginTop","spacing","MuiChip","deleteIcon","MuiDialogActions","disableSpacing","MuiFab","MuiLink","underline","MuiListItemText","primaryTypographyProps","secondaryTypographyProps","MuiPaper","elevation","MuiSkeleton","animation","MuiFilledInput","disableUnderline","MuiFormHelperText","MuiTab","disableRipple","iconPosition","MuiTabs","textColor","allowScrollButtonsMobile","MuiTablePagination","backIconButtonProps","size","nextIconButtonProps","MuiSlider","MuiAutocomplete","popupIcon","MuiSelect","IconComponent","MuiNativeSelect","MuiCheckbox","checkedIcon","indeterminateIcon","MuiRadio","MuiRating","emptyIcon","MuiTreeView","defaultCollapseIcon","defaultExpandIcon","defaultEndIcon","fab","lightMode","rootStyles","defaultColor","ownerState","inheritColor","circularVariant","extendedVariant","outlinedVariant","outlinedExtendedVariant","softVariant","softExtendedVariant","defaultStyle","backgroundColor","text","white","borderColor","action","hover","colorStyle","disabledState","fabClasses","disabled","disabledBackground","marginRight","minHeight","padding","indicator","scrollButtons","minWidth","fontWeight","fontWeightSemiBold","breakpoints","up","tabClasses","selected","chip","filledVariant","chipClasses","avatar","lighter","variants","fontSize","lineHeight","paddingTop","paddingBottom","paddingLeft","paddingRight","fontFamily","secondaryFont","label","MuiCardContent","MuiMenuItem","menuItem","MuiListItemIcon","MuiListItemAvatar","margin","multiline","MuiBadge","dot","alway","online","busy","offline","invisible","baseStyles","badgeClasses","transform","content","badge","MuiTableContainer","MuiTableRow","tableRowClasses","head","MuiTableCell","borderBottomStyle","borderRightWidth","borderRightStyle","borderRightColor","neutral","stickyHeader","paper","backgroundImage","paddingCheckbox","toolbar","actions","select","selectIcon","outlined","alert","standardVariant","severity","alertClasses","contrastText","MuiAlertTitle","marginBottom","MuiFormControlLabel","body2","button","containedVariant","textVariant","smallSize","mediumSize","largeSize","buttonClasses","ratingClasses","iconEmpty","sizeSmall","svgIconClasses","sizeMedium","sizeLarge","MuiDialog","fullScreen","paperFullScreen","MuiDialogTitle","MuiDialogContent","dividers","borderTop","marginLeft","MuiAvatar","rounded","colorDefault","avatarGroupClasses","slider","sliderClasses","rail","markLabel","valueLabel","drawer","MuiDrawer","drawerClasses","anchor","MuiStepConnector","line","divider","tooltip","MuiTooltip","arrow","MuiPopover","listClasses","MuiSvgIcon","fontSizeSmall","fontSizeMedium","fontSizeLarge","switches","switchClasses","thumb","track","switchBase","checked","MuiSwitch","dataGrid","paperStyles","MuiDataGrid","borderWidth","tablePaginationClasses","cell","borderBottom","selectedRowCount","whiteSpace","columnSeparator","toolbarContainer","menu","paperClasses","listItemIconClasses","columnHeaders","panelHeader","panelFooter","filterForm","filterFormValueInput","filterFormColumnInput","filterFormOperatorInput","MuiTimelineDot","MuiTimelineConnector","MuiTreeItem","iconContainer","MuiBackdrop","progress","bufferVariant","linearProgressClasses","bar","MuiLinearProgress","textField","focused","active","placeholder","font","body1","MuiFormLabel","inputLabelClasses","shrink","filled","MuiInputBase","inputBaseClasses","input","MuiInput","borderBottomColor","MuiOutlinedInput","outlinedInputClasses","notchedOutline","transitions","create","shortest","filledInputClasses","MuiAccordion","accordionClasses","expanded","MuiAccordionSummary","accordionSummaryClasses","typographyClasses","expandIconWrapper","MuiTypography","variantMapping","header1","header3","header4","text1","text3","chip1","paragraph","gutterBottom","pagination","paginationItemClasses","MuiPagination","MuiPickersLayout","buttonGroup","horizontalOrientation","orientation","verticalOrientation","buttonGroupClasses","grouped","borderStyle","MuiBreadcrumbs","separator","li","MuiCssBaseline","boxSizing","html","WebkitOverflowScrolling","body","MozAppearance","WebkitAppearance","maxWidth","verticalAlign","autocompleteClasses","tag","subtitle2","textAlign","listbox","option","endAdornment","toggleButton","toggleButtonClasses","hoverOpacity","MuiToggleButton","MuiToggleButtonGroup","MuiLoadingButton","loadingButtonClasses","loadingIndicatorStart","loadingIndicatorEnd","datadogLogs","init","service","env","forwardConsoleLogs","clientToken","site","forwardErrorsToLogs","sessionSampleRate","datadogRum","applicationId","version","sessionReplaySampleRate","trackUserInteractions","trackResources","trackLongTasks","defaultPrivacyLevel","setUser","user_cid","LocalizationProvider","dateAdapter","AdapterDayjs","MuiThemeProvider","CssBaseline","pxToRem","responsiveFontSizes","sm","md","lg","primaryFont","fontWeightRegular","fontWeightMedium","fontWeightBold","h1","h2","h3","h4","h5","h6","subtitle1","caption","overline","textTransform","letterSpacing","text2","loadingStore","count","subscribers","Set","increment","notify","decrement","subscribe","callback","add","delete","activeRequests","refreshAndRetryQueue","isRefreshing","requestHeaders","Intl","DateTimeFormat","resolvedOptions","timeZone","axios","baseURL","getClientId","Object","keys","startsWith","endsWith","split","getUsernameFromStorage","getAccessTokenFromStorage","getRefreshTokenFromStorage","getIdTokenFromStorage","updateTokensInStorage","refreshTokenKey","accessTokenKey","idTokenKey","newTokens","RefreshToken","AccessToken","IdToken","clearAuthDataFromStorage","removeItem","lastAuthUserKey","keysToRemove","controller","url","cancelRequestsExclusions","abort","interceptors","request","use","excludePathPatterns","some","pattern","test","config","AbortController","signal","headers","labCid","parts","endpoint","resourceType","slice","toast","refreshError","originalRequest","_retry","location","replace","refresh_token","log","errorMessage","code","statusText","out","compact","join","setIsLoading","unsubscribe"],"sourceRoot":""}