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A,IAAAA,WAAaL,EAAAA,EAAAA,gBAAeI,GAA5BC,IAGhCxN,EAAWyN,aAAa3R,SAAS4R,KAAK5R,SAAAA,GAAaA,OAAAA,CAAAA,IAzB9BC,SAAAA,G,UACb4R,GAAmC,QAApB5R,EAAc,QAAdA,EAAAA,EAAMD,gBAAQ,eAAEgK,YAAI,eAAE/J,QA9Bf,gDAwC5B,OANe,OAHc,QAAdA,EAAAA,EAAMD,gBAAQ,eAAED,SAGTE,EAAM+H,OAAO8J,MAAQpM,EAAAA,EAAM1D,YAC/CwI,OAAOC,SAAS4C,KAAO3H,EAAAA,EAAMzD,cAG/BsN,OAAOwC,OAAOhB,GAAYtB,SAASuB,SAAAA,GAASA,OAAAA,EAAK/Q,EAAL+Q,IAErCV,QAAQ0B,OAAO,IAAIC,MAAMJ,GAClC,IA0BA,M","sources":["webpack://ebr/./client/hooks/usePromise.ts","webpack://ebr/./client/components/shared/PromiseGate/index.tsx","webpack://ebr/./client/hooks/useEnabled.ts","webpack://ebr/./client/constants/paths.ts","webpack://ebr/./client/apis/sessions/loginApi.ts","webpack://ebr/./client/components/shared/Header/ProfileMenu.tsx","webpack://ebr/./client/components/shared/Header/index.tsx","webpack://ebr/./client/components/shared/ErrorBoundary.tsx","webpack://ebr/./client/components/shared/Layout/index.tsx","webpack://ebr/./client/components/shared/BaseApp/ReloadAlert.tsx","webpack://ebr/./client/themes/makeTheme.ts","webpack://ebr/./client/themes/makeAveraTheme.ts","webpack://ebr/./client/hooks/useMakeTheme.ts","webpack://ebr/./client/utils/getAppConfig.ts","webpack://ebr/./client/components/shared/BaseApp/index.tsx","webpack://ebr/./client/components/shared/Redirect/index.tsx","webpack://ebr/./client/components/shared/IssuerIdentity.tsx","webpack://ebr/./client/contexts/AppConfigContext.ts","webpack://ebr/./client/hooks/useAppConfig.ts","webpack://ebr/./client/utils/omit.ts","webpack://ebr/./client/components/shared/RoleGate/index.tsx?fff8","webpack://ebr/./client/components/shared/RoleGate/index.tsx","webpack://ebr/./client/apis/apiService.ts"],"sourcesContent":["import { useState } from 'react'\n\nimport omit from 'utils/omit'\n\ninterface PromiseStatus {\n isReady: boolean\n isPending: boolean\n isResolved: boolean\n isError: boolean\n}\n\nexport interface PromiseState {\n status: Readonly\n response: T | null\n error: string | null\n}\n\nexport type InitialPromiseState = Partial, 'status'>> & {\n status?: Readonly>>\n}\n\nconst BASE_STATUS = {\n isReady: false,\n isPending: false,\n isResolved: false,\n isError: false,\n}\n\nconst DEFAULT_STATE: PromiseState = {\n status: {\n ...BASE_STATUS,\n isReady: true,\n },\n response: null,\n error: null,\n}\n\nconst usePromise = <\n T extends (...args: never[]) => Promise,\n U extends Awaited>,\n>(\n func: T,\n initialState: InitialPromiseState = {},\n): [Readonly>, (...args: Parameters) => void] => {\n const [state, setState] = useState>({\n ...DEFAULT_STATE,\n ...omit(initialState, 'status'),\n status: {\n ...BASE_STATUS,\n ...(initialState.status || DEFAULT_STATE.status),\n },\n })\n\n const onSuccess = (response: Awaited) => {\n setState({\n status: {\n ...BASE_STATUS,\n isResolved: true,\n },\n error: null,\n response,\n })\n }\n\n const onError = (error: { message: string }) => {\n setState({\n status: {\n ...BASE_STATUS,\n isError: true,\n },\n error: error.message || 'An error occurred',\n response: null,\n })\n }\n\n const wrappedFunction = (...args: Parameters) => {\n setState({\n ...state,\n status: {\n ...BASE_STATUS,\n isPending: true,\n },\n })\n\n func(...args).then(onSuccess, onError)\n }\n\n return [state, wrappedFunction]\n}\n\nexport default usePromise\n","import React from 'react'\n\nimport useEnabled from 'hooks/useEnabled'\n\nexport interface PromiseGateProps {\n children?: React.ReactNode\n fallback?: React.ReactNode\n initialValue?: boolean\n loadingComponent?: React.ReactNode\n deps?: React.DependencyList\n errorComponent?: (error: string | null) => React.ReactNode\n promise: () => Promise\n}\n\nconst PromiseGate = ({\n promise,\n children = null,\n initialValue = false,\n fallback = null,\n loadingComponent = null,\n deps = [],\n errorComponent = null,\n}: PromiseGateProps) => {\n const { status, enabled, error } = useEnabled(promise, {\n initialState: {\n enabled: initialValue,\n },\n deps,\n })\n\n if (status.isPending || status.isReady) return loadingComponent\n if (status.isError && errorComponent) return errorComponent(error)\n\n return enabled ? children : fallback\n}\n\nexport default PromiseGate\n","import { DependencyList, useEffect } from 'react'\n\nimport usePromise, { InitialPromiseState, PromiseState } from 'hooks/usePromise'\n\nexport interface EnabledState extends Omit, 'response'> {\n enabled: boolean\n}\n\nexport interface EnabledOptions {\n initialState?: Omit, 'response'> & { enabled?: boolean }\n deps?: DependencyList\n}\n\nconst useEnabled = (\n promise: () => Promise,\n { initialState = {}, deps = [] }: EnabledOptions = {},\n): EnabledState => {\n const [enabledState, enabledAction] = usePromise(promise, {\n ...initialState,\n response: initialState.enabled || false,\n })\n\n useEffect(() => {\n enabledAction()\n }, deps)\n\n return { ...enabledState, enabled: enabledState.response }\n}\n\nexport default useEnabled\n","const PATHS = {\n login: '/login',\n resetPassword: '/reset_password',\n forgotPassword: '/forgot_password',\n loginPost: '/api/sessions',\n unauthorized: '/unauthorized',\n manage: {\n autopayConfirmation: (accountNumber: string) =>\n `/manage/members/${accountNumber}/autopay/confirm`,\n autopayDisclaimer: (accountNumber: string) =>\n `/manage/members/${accountNumber}/autopay/disclaimer`,\n autopayForm: (accountNumber: string) => `/manage/members/${accountNumber}/autopay/form`,\n billing: (accountNumber: string) => `/manage/members/${accountNumber}/billing`,\n correspondence: (accountNumber: string) => `/manage/members/${accountNumber}/correspondence`,\n coverage: (accountNumber: string) => `/manage/members/${accountNumber}/coverage`,\n demographics: (accountNumber: string) => `/manage/members/${accountNumber}/demographics`,\n member: (accountNumber: string) => `/manage/members/${accountNumber}`,\n editEffectiveDate: (accountNumber: string) =>\n `/manage/members/${accountNumber}/edit_effective_date`,\n inboundFiles: '/manage/inbound_files',\n members: '/manage/members',\n reports: '/manage/reports',\n stripeExpressDashboard: '/manage/stripe_express_dashboard',\n users: {\n index: '/manage/users',\n form: '/manage/users/form',\n },\n },\n members: {\n autopayConfirmation: '/members/autopay/confirm',\n autopayDisclaimer: '/members/autopay/disclaimer',\n autopayForm: '/members/autopay/form',\n billing: '/members/billing',\n correspondence: '/members/correspondence',\n coverage: '/members/coverage',\n dashboard: '/members',\n demographics: '/members/demographics',\n },\n applicants: {\n binders: {\n lookupForm: '/applicants/binders',\n payAch: '/applicants/binders/pay_ach',\n payCc: '/applicants/binders/pay_cc',\n },\n paymentRedirect: {\n choosePaymentMethod: '/applicants/payment_redirect',\n payAch: '/applicants/payment_redirect/pay_ach',\n payCc: '/applicants/payment_redirect/pay_cc',\n },\n paymentConfirmation: '/applicants/payment_confirmation',\n },\n sso: {\n error: '/sso_error',\n },\n}\n\nexport default PATHS\n","import ApiService from 'apis/apiService'\nimport { User } from 'apis/sessions/types'\n\ninterface LoginResponse {\n user: User\n}\n\nconst SESSIONS_PATH = '/api/sessions'\n\nexport interface LoginParams {\n email: string\n password: string\n rememberMe?: boolean\n}\n\nconst login = ({ email, password, rememberMe = false }: LoginParams) =>\n ApiService.post(SESSIONS_PATH, { user: { email, password, rememberMe } })\n\nconst isLoggedIn = () => ApiService.get(SESSIONS_PATH)\n\nconst logout = () => ApiService.delete(SESSIONS_PATH)\n\nexport default { login, logout, isLoggedIn }\n","import AssuredWorkloadIcon from '@mui/icons-material/AssuredWorkload'\nimport LogoutIcon from '@mui/icons-material/Logout'\nimport Person from '@mui/icons-material/Person'\nimport Avatar from '@mui/material/Avatar'\nimport Box from '@mui/material/Box'\nimport Button from '@mui/material/Button'\nimport CardHeader from '@mui/material/CardHeader'\nimport Divider from '@mui/material/Divider'\nimport Menu from '@mui/material/Menu'\nimport MenuItem from '@mui/material/MenuItem'\nimport Typography from '@mui/material/Typography'\nimport React from 'react'\nimport { Link as RouterLink } from 'react-router-dom'\n\nimport loginApi from 'apis/sessions/loginApi'\nimport Redirect from 'components/shared/Redirect'\nimport RoleGate from 'components/shared/RoleGate'\nimport PATHS from 'constants/paths'\nimport useAppConfig from 'hooks/useAppConfig'\nimport usePromise from 'hooks/usePromise'\n\nconst Header = () => {\n const appConfig = useAppConfig()\n const {\n issuer,\n user: { email, firstName, lastName, organizationalUnitType },\n } = appConfig\n const [anchorEl, setAnchorEl] = React.useState(null)\n const open = Boolean(anchorEl)\n const handleClick = (event: React.MouseEvent) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n const [{ status }, logoutAction] = usePromise(loginApi.logout)\n\n if (status.isResolved) return \n\n const formattedRole = [issuer?.name, organizationalUnitType === 'member' ? 'Member' : 'Admin']\n .filter(Boolean)\n .join(' ')\n const name = firstName || email || 'Profile'\n const shortName = firstName && lastName ? `${firstName[0]}${lastName[0]}` : email && email[0]\n\n return (\n \n {shortName || }}\n title={{name}}\n />\n \n \n {formattedRole}\n {email}\n \n \n \n \n }\n >\n Stripe Express Dashboard\n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default Header\n","import AppBar from '@mui/material/AppBar'\nimport Box from '@mui/material/Box'\nimport Toolbar from '@mui/material/Toolbar'\nimport React, { ReactNode } from 'react'\n\nimport ProfileMenu from 'components/shared/Header/ProfileMenu'\nimport IssuerIdentity from 'components/shared/IssuerIdentity'\nimport useAppConfig from 'hooks/useAppConfig'\n\nconst Header = ({ menuItem, navLinks }: { menuItem?: ReactNode; navLinks?: ReactNode }) => {\n const appConfig = useAppConfig()\n const { issuer, user } = appConfig\n const logoUrl = issuer?.config?.logoUrl\n const name = issuer?.name || 'EBR'\n\n return (\n \n \n {menuItem}\n \n \n \n {navLinks}\n {user && }\n \n \n )\n}\n\nexport default Header\n","import {\n init as sentryInit,\n browserTracingIntegration,\n ErrorBoundary as SentryErrorBoundary,\n} from '@sentry/react'\nimport React from 'react'\n\nsentryInit({\n dsn: process.env.SENTRY_DSN,\n integrations: [browserTracingIntegration()],\n environment: process.env.ENVIRONMENT,\n attachStacktrace: true,\n tracesSampleRate: 1.0,\n})\n\nconst ErrorBoundary = ({ children }: { children: React.ReactNode }) => (\n Oops, an error has occurred

}>\n {children}\n
\n)\n\nexport default ErrorBoundary\n","import Box from '@mui/material/Box'\nimport CssBaseline from '@mui/material/CssBaseline'\nimport React, { ReactNode } from 'react'\nimport { Outlet } from 'react-router-dom'\n\nimport Header from '../Header'\n\nconst Layout = ({\n header =
,\n footer = null,\n}: {\n header?: ReactNode\n footer?: ReactNode | false\n}) => (\n \n \n {header}\n \n \n \n \n \n {footer}\n \n)\n\nexport default Layout\n","import { Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle } from '@mui/material'\nimport Button from '@mui/material/Button'\nimport React, { useEffect } from 'react'\n\nimport { addErrorHook, removeErrorHook } from 'apis/apiService'\n\nconst HOOK_KEY = 'reloadAlerter'\n\nconst ReloadAlert = () => {\n const [open, setOpen] = React.useState(false)\n\n useEffect(() => {\n addErrorHook(HOOK_KEY, (error) => {\n const errorType = error.response?.data?.errorType\n const status = error.response?.status\n if (status === 400 && errorType === 'invalid_authenticity_token') {\n setOpen(true)\n }\n })\n\n return () => {\n removeErrorHook(HOOK_KEY)\n }\n }, [])\n\n const handleClose = () => {\n setOpen(false)\n }\n\n const reload = () => {\n window.location.reload()\n }\n\n return (\n \n Error\n \n \n The page appears to be stale. Please reload the page and try again. The data you have\n inputted on the page will be lost after reloading. If you need it, click cancel to make\n note of what was entered and then reload the page manually.\n \n \n \n \n \n \n \n )\n}\n\nexport default ReloadAlert\n","import { blueGrey } from '@mui/material/colors'\nimport { createTheme, alpha, Theme, ThemeOptions } from '@mui/material/styles'\nimport { CSSProperties } from 'react'\n\nexport interface MakeThemeProps {\n fontFamily?: CSSProperties['fontFamily']\n customTheme?: ThemeOptions\n}\n\nconst makeTheme = ({ fontFamily, customTheme }: MakeThemeProps = {}): Theme => {\n let standardTheme = createTheme({\n palette: {\n primary: {\n light: '#ABBBD8',\n main: '#0970C5',\n dark: '#004A9F',\n contrastText: '#fff',\n },\n secondary: {\n light: '#E6EFF7',\n main: '#9CD6EE',\n dark: '#94B9D4',\n contrastText: '#000',\n },\n neutral: {\n light: blueGrey[50],\n main: blueGrey[500],\n dark: blueGrey[800],\n contrastText: '#fff',\n },\n background: {\n default: '#F6F8FB',\n },\n },\n typography: {\n fontFamily: [fontFamily, '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif']\n .filter((f) => f)\n .join(', '), // https://github.com/mui/material-ui/issues/35939\n alertDescription: {\n lineHeight: 1.43,\n letterSpacing: '0.00938rem',\n },\n },\n })\n\n if (customTheme) standardTheme = createTheme(standardTheme, customTheme)\n\n return createTheme(standardTheme, {\n components: {\n MuiCssBaseline: {\n styleOverrides: {\n body: {\n backgroundColor: standardTheme.palette.primary.contrastText,\n },\n },\n },\n MuiAppBar: {\n styleOverrides: {\n root: {\n color: standardTheme.palette.primary.dark,\n backgroundColor: standardTheme.palette.primary.contrastText,\n },\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: {\n '& .MuiDataGrid-columnsContainer': {\n backgroundColor: standardTheme.palette.background.paper,\n },\n '& .MuiDataGrid-columnHeader': {\n backgroundColor: standardTheme.palette.background.paper,\n },\n '& .MuiDataGrid-detailPanel': {\n backgroundColor: '#ECEFF1',\n },\n },\n },\n },\n MuiListItemButton: {\n styleOverrides: {\n root: {\n '&:hover': {\n backgroundColor: alpha(standardTheme.palette.common.white, 0.25),\n },\n '&.Mui-selected': {\n backgroundColor: standardTheme.palette.common.white,\n color: standardTheme.palette.text.primary,\n '& .MuiListItemIcon-root svg': {\n color: standardTheme.palette.primary.main,\n },\n '&:hover': {\n backgroundColor: standardTheme.palette.common.white,\n },\n },\n },\n },\n },\n },\n typography: {\n alertDescription: {\n ...standardTheme.typography.subtitle2,\n ...standardTheme.typography.alertDescription,\n },\n },\n })\n}\n\nexport default makeTheme\n","import { blueGrey } from '@mui/material/colors'\nimport { Theme } from '@mui/material/styles'\n\nimport makeTheme from 'themes/makeTheme'\n\nconst addAveraFont = () => {\n if (document.querySelector('link[rel=stylesheet][href*=Montserrat]')) return\n\n const fontDiv = document.createElement('link')\n fontDiv.rel = 'stylesheet'\n fontDiv.href =\n 'https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'\n document.head.appendChild(fontDiv)\n}\n\nconst makeAveraTheme = (): Theme => {\n addAveraFont()\n\n return makeTheme({\n customTheme: {\n palette: {\n primary: {\n light: '#08956c',\n main: '#007852',\n dark: '#05262C',\n contrastText: '#fff',\n },\n secondary: {\n light: '#bfdda1',\n main: '#80BC42',\n dark: '#5d9931',\n contrastText: '#000',\n },\n neutral: {\n light: blueGrey[50],\n main: blueGrey[500],\n dark: blueGrey[800],\n contrastText: '#fff',\n },\n background: {\n default: '#F6F8FB',\n },\n },\n },\n fontFamily: '\"Montserrat\"',\n })\n}\n\nexport default makeAveraTheme\n","import { Theme } from '@mui/material/styles'\nimport { useMemo } from 'react'\n\nimport makeAveraTheme from 'themes/makeAveraTheme'\nimport makeTheme from 'themes/makeTheme'\nimport { AppConfig, IssuerConfig } from 'utils/getAppConfig'\n\nconst useMakeTheme = (appConfig: AppConfig): Theme => {\n const issuerConfig: Partial = appConfig.issuer?.config || {}\n const { themeName } = issuerConfig\n\n return useMemo(() => {\n switch (themeName) {\n case 'avera':\n return makeAveraTheme()\n default:\n return makeTheme()\n }\n }, [themeName])\n}\n\nexport default useMakeTheme\n","import { camelizeKeys } from 'humps'\n\nexport interface User {\n email?: string\n firstName?: string\n lastName?: string\n homePath: string\n organizationalUnitType: string\n globalRoles: string[]\n}\n\nexport interface IssuerConfig {\n helpDeskAvailableHours: string\n helpDeskPhoneNumber: string\n helpDeskPhoneNumberFormatted: string\n logoUrl: string\n paymentPhoneNumber: string\n paymentUrl: string\n summaryOfBenefitsUrl: string\n themeName?: string\n}\n\nexport interface Issuer {\n name: string\n config?: IssuerConfig\n}\n\ninterface ReportMenuItem {\n id: string\n label: string\n children: {\n id: string\n label: string\n value: string\n }[]\n}\n\nexport interface AppConfig {\n user?: User | null\n issuer?: Issuer | null\n stripeConnectedAccountId?: string | null\n stripePublicKey?: string | null\n reportsMenu?: ReportMenuItem[]\n organizationalUnitType?: string\n}\n\ndeclare const window: {\n appConfig: AppConfig\n} & Window\n\nconst getAppConfig = (): AppConfig => {\n const config = window.appConfig || {}\n delete window.appConfig\n const dataScript = document.getElementById('react-config')\n dataScript.remove()\n return camelizeKeys(config)\n}\n\nexport default getAppConfig\n","import { ThemeProvider } from '@mui/material/styles'\nimport { LocalizationProvider } from '@mui/x-date-pickers'\nimport { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3'\nimport React, { ReactNode, useMemo } from 'react'\n\nimport ReloadAlert from 'components/shared/BaseApp/ReloadAlert'\nimport AppConfigContext from 'contexts/AppConfigContext'\nimport useMakeTheme from 'hooks/useMakeTheme'\nimport getAppConfig from 'utils/getAppConfig'\n\nconst BaseApp = ({ children }: { children?: ReactNode }) => {\n const appConfig = useMemo(() => getAppConfig(), [])\n const theme = useMakeTheme(appConfig)\n\n return (\n \n \n \n \n {children}\n \n \n \n )\n}\n\nexport default BaseApp\n","import { DependencyList, ReactNode, useEffect } from 'react'\n\n// replace option removes the current route from the history to prevent back\nconst Redirect = ({\n to,\n children,\n replace = false,\n delay = 0,\n deps = [],\n}: {\n to: string\n children?: ReactNode\n replace?: boolean\n delay?: number\n deps?: DependencyList\n}) => {\n useEffect(() => {\n const { location } = window\n const timeout = setTimeout(() => (replace ? location.replace(to) : location.assign(to)), delay)\n return () => clearTimeout(timeout)\n }, deps)\n\n return children\n}\n\nexport default Redirect\n","import Box from '@mui/material/Box'\nimport Typography from '@mui/material/Typography'\nimport React from 'react'\n\nconst IssuerIdentity = ({ name, logoUrl }: { name?: string; logoUrl?: string }) => {\n if (!name && !logoUrl) {\n return null\n }\n\n if (!logoUrl) {\n return {name}\n }\n\n return \n}\n\nexport default IssuerIdentity\n","import { createContext } from 'react'\n\nimport { AppConfig } from 'utils/getAppConfig'\n\nconst AppConfigContext = createContext(null)\n\nexport default AppConfigContext\n","import { useContext } from 'react'\n\nimport AppConfigContext from 'contexts/AppConfigContext'\n\nconst useAppConfig = () => useContext(AppConfigContext)\n\nexport default useAppConfig\n","// Returns new object without the provided key\nconst omit = >(obj: T, key: K): U => {\n const newObj = {} as U\n Object.keys(obj).forEach((k) => {\n if (key !== k) {\n newObj[k] = obj[k]\n }\n })\n\n return newObj\n}\n\nexport default omit\n","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e{let{roles,...props}=_ref;const{user}=useAppConfig();return/*#__PURE__*/React.createElement(PromiseGate,_extends({},props,{promise:()=>Promise.resolve(roles.some(role=>user?.globalRoles?.includes(role))),deps:roles}));};export default RoleGate;","import React from 'react'\n\nimport PromiseGate, { PromiseGateProps } from 'components/shared/PromiseGate'\nimport useAppConfig from 'hooks/useAppConfig'\n\nexport interface RoleGateProps extends Omit {\n roles: string[]\n}\n\nconst RoleGate = ({ roles, ...props }: RoleGateProps) => {\n const { user } = useAppConfig()\n\n return (\n Promise.resolve(roles.some((role) => user?.globalRoles?.includes(role)))}\n deps={roles}\n />\n )\n}\n\nexport default RoleGate\n","import axios, { AxiosRequestTransformer, AxiosResponseTransformer } from 'axios'\nimport { camelizeKeys, decamelizeKeys } from 'humps'\nimport qs from 'qs'\n\nimport PATHS from 'constants/paths'\n\nconst DEFAULT_ERROR_MESSAGE = 'Oops! Something went wrong. Please try again.'\n\naxios.defaults.withCredentials = true\n\nconst transformRequest = (data: object, headers: object) => {\n // eslint-disable-next-line no-param-reassign\n headers['X-CSRF-Token'] = document.head\n .querySelector('meta[name=csrf-token]')\n ?.getAttribute('content')\n return decamelizeKeys(data)\n}\n\nconst transformResponse = (data: object) => camelizeKeys(data)\n\ninterface ResponseError {\n config?: { url?: string }\n response?: { data?: { error?: string; errorType?: string }; status?: number }\n}\n\nconst errorHooks: { [key: string]: (error: ResponseError) => void } = {}\n\nexport const addErrorHook = (key: string, hook: (error: ResponseError) => void) => {\n errorHooks[key] = hook\n}\n\nexport const removeErrorHook = (key: string) => {\n delete errorHooks[key]\n}\n\nconst handleError = (error: ResponseError) => {\n const errorMessage = error.response?.data?.error || DEFAULT_ERROR_MESSAGE\n const status = error.response?.status\n\n // do not redirect to unauthorized if the request is to login\n if (status === 401 && error.config.url !== PATHS.loginPost) {\n window.location.href = PATHS.unauthorized\n }\n\n Object.values(errorHooks).forEach((hook) => hook(error))\n\n return Promise.reject(new Error(errorMessage))\n}\n\nconst ApiService = axios.create({\n transformRequest: [\n transformRequest,\n ...(axios.defaults.transformRequest as AxiosRequestTransformer[]),\n ],\n transformResponse: (axios.defaults.transformResponse as AxiosResponseTransformer[]).concat([\n transformResponse,\n ]),\n paramsSerializer: (params) => qs.stringify(decamelizeKeys(params)),\n})\n\nApiService.interceptors.response.use((response) => response, handleError)\n\nexport interface IndexRequestBase {\n page: number\n perPage: number\n}\n\nexport interface IndexResponseBase {\n meta: IndexRequestBase & {\n total: number\n }\n}\n\nexport default ApiService\n"],"names":["BASE_STATUS","isReady","isPending","isResolved","isError","DEFAULT_STATE","status","response","error","func","initialState","arguments","length","undefined","useState","omit","state","setState","onSuccess","onError","message","then","_ref","promise","children","initialValue","fallback","loadingComponent","deps","errorComponent","useEnabled","enabled","usePromise","enabledState","enabledAction","useEffect","login","resetPassword","forgotPassword","loginPost","unauthorized","manage","autopayConfirmation","accountNumber","autopayDisclaimer","autopayForm","billing","correspondence","coverage","demographics","member","editEffectiveDate","inboundFiles","members","reports","stripeExpressDashboard","users","index","form","dashboard","applicants","binders","lookupForm","payAch","payCc","paymentRedirect","choosePaymentMethod","paymentConfirmation","sso","SESSIONS_PATH","email","password","rememberMe","ApiService","post","user","logout","delete","isLoggedIn","get","Header","appConfig","useAppConfig","issuer","firstName","lastName","organizationalUnitType","React","anchorEl","setAnchorEl","open","Boolean","handleClose","loginApi","logoutAction","Redirect","to","PATHS","formattedRole","name","filter","join","shortName","Box","CardHeader","onClick","event","currentTarget","sx","cursor","avatar","Avatar","Person","title","Typography","variant","Menu","id","onClose","p","Divider","RoleGate","roles","MenuItem","Button","target","rel","component","RouterLink","startIcon","AssuredWorkloadIcon","LogoutIcon","menuItem","navLinks","logoUrl","config","AppBar","Toolbar","pr","IssuerIdentity","flexGrow","ProfileMenu","sentryInit","dsn","process","integrations","browserTracingIntegration","environment","attachStacktrace","tracesSampleRate","SentryErrorBoundary","header","footer","display","minHeight","bgcolor","flexDirection","CssBaseline","mt","maxWidth","margin","Outlet","HOOK_KEY","ReloadAlert","setOpen","addErrorHook","errorType","data","removeErrorHook","Dialog","DialogTitle","DialogContent","DialogContentText","DialogActions","reload","window","location","autoFocus","fontFamily","customTheme","standardTheme","createTheme","palette","primary","light","main","dark","contrastText","secondary","neutral","blueGrey","background","default","typography","f","alertDescription","lineHeight","letterSpacing","components","MuiCssBaseline","styleOverrides","body","backgroundColor","MuiAppBar","root","color","MuiDataGrid","paper","MuiListItemButton","alpha","common","white","text","subtitle2","makeAveraTheme","addAveraFont","document","querySelector","fontDiv","createElement","href","head","appendChild","makeTheme","themeName","useMemo","getAppConfig","getElementById","remove","camelizeKeys","theme","useMakeTheme","AppConfigContext","Provider","value","LocalizationProvider","dateAdapter","AdapterDateFns","ThemeProvider","replace","delay","timeout","setTimeout","assign","clearTimeout","height","width","alt","src","createContext","useContext","obj","key","newObj","Object","keys","forEach","k","_extends","bind","n","e","t","r","hasOwnProperty","call","apply","props","PromiseGate","Promise","resolve","some","role","globalRoles","includes","axios","defaults","withCredentials","errorHooks","hook","create","transformRequest","headers","getAttribute","decamelizeKeys","transformResponse","concat","paramsSerializer","params","qs","interceptors","use","errorMessage","url","values","reject","Error"],"sourceRoot":""}