{"version":3,"sources":["components/Loader/Loader.module.css","modules/Login/Login.module.css","components/common.module.css","core/themes/themeDecisions/palette/index.ts","core/themes/themeDecisions/spacing/index.ts","core/themes/themeDecisions/typography/index.ts","core/themes/themeDecisions/shape/index.ts","core/themes/themeDecisions/themeOptions.ts","core/themes/themeDecisions/overrides/link.ts","core/themes/themeDecisions/index.ts","core/themes/themeDecisions/overrides/index.ts","core/themes/themeDecisions/overrides/input.ts","core/themes/themeDecisions/overrides/menu.ts","core/Analytics.ts","core/analytics/logRocket.ts","core/routes.tsx","core/history.ts","hooks.ts","config.ts","auth/auth0.ts","auth/authSlice.ts","components/Loader/Loader.tsx","components/ContactUs/ContactUs.tsx","components/icons/mail.svg","components/icons/outlinedCheck.svg","components/form-next/TextField.tsx","components/form/TextField.tsx","components/Button/Button.tsx","modules/Login/FirstTimeAuth/FirstTimeAuth.tsx","utils/validators.tsx","components/MobileCodeCommon/MobileCodeCommon.tsx","utils/maskEmailOrPhone.ts","modules/Login/VerificationCode/VerificationCode.tsx","modules/Login/Login.tsx","components/Header/icons/mission.svg","components/HeadLegend/HeadLegend.tsx","modules/SignUp/LoginLink.tsx","modules/SignUp/VerificationCode/VerificationCode.tsx","modules/SignUp/SignUp.tsx","components/Header/icons/about-us.svg","components/Header/icons/contact-us.svg","components/Header/components/Links.tsx","components/Header/icons/logo.svg","components/Header/components/Logo.tsx","components/icons/hamburger.svg","components/Header/components/BurgerMenu/BurgerMenu.tsx","components/Header/Header.tsx","ErrorBoundary.tsx","App.tsx","reportWebVitals.ts","store.ts","index.tsx","components/Header/Header.module.css","components/MobileCodeCommon/MobileCodeCommon.module.css","App.module.css","modules/SignUp/VerificationCode/VerificationCode.module.css","modules/SignUp/SignUp.module.css","components/Button/Button.module.css","components/ContactUs/ContactUs.module.css","modules/Login/VerificationCode/Verification.module.css","components/HeadLegend/HeadLegend.module.css","modules/Login/FirstTimeAuth/FirstTimeAuth.module.css"],"names":["module","exports","defaultPalette","mode","common","black","white","primary","light","main","dark","secondary","contrastText","error","success","warning","text","disabled","divider","action","fadedOpacity","spacing","fontStyle","fontFamily","letterSpacing","variants","h1","fontSize","fontWeight","lineHeight","h2","h3","h4","h5","body1","body2","body3","subtitle1","subtitle2","subtitle3","captionRegular","captionBold","dataName","overlineRegular","textTransform","overlineBold","cellHeader","cellText","pillTitle","pillNumber","buttonLarge","buttonMedium","buttonSmall","tabLarge","tabMedium","tabSmall","typography","height","variant","Number","shape","borderRadiusRegular","borderRadiusLarge","sectionContainerMaxWidth","lg","sm","themeOptions","settings","palette","Link","theme","MuiLink","defaultProps","underline","styleOverrides","root","color","themeDecisions","createTheme","components","inputOverrides","MuiInputLabel","filled","params","ownerState","formControl","focused","adornedStart","shrink","sizeSmall","cursor","transform","visibility","size","MuiFilledInput","backgroundColor","background","grey","border","borderRadius","transition","transitions","create","duration","shortest","padding","gap","width","flexShrink","display","colorSecondary","input","inputSizeSmall","MuiFormHelperText","margin","MuiFormLabel","MuiTextField","linkOverrides","menuOverrides","MuiListItemIcon","MuiMenu","list","paper","paperClasses","marginTop","MuiMenuItem","paddingTop","paddingBottom","minWidth","listItemIconClasses","dense","MuiBackdrop","menu","Object","assign","overrides","analytics","appId","options","LogRocket","init","userData","id","data","identify","eventName","eventProperties","track","LOGIN","SIGN_UP","createBrowserHistory","useAppSelector","useSelector","BASE_URL","AUTH0_DB_CONNECTION","APP_SIGNUP_URI","DEFAULT_AUTHORIZED_URI","URLSearchParams","window","location","search","state","get","uuidv4","authorized","forceLogout","scope","authRedirectUri","localStorageKey","redirectUriFromLocalStorage","localStorage","getItem","redirectUriFromParams","setItem","buildRedirectUri","isMobileNative","startsWith","authProps","clientID","domain","responseType","audience","redirectUri","webAuth","auth0","entryScreen","isSignUp","href","redirectToApp","screenType","start","startSignup","startAuth","a","logout","getTokenDataOrNull","tokenOrNull","accessToken","goToEnterEmailScreen","method","device","deviceStatus","email","replace","origin","goToEnterCodeScreen","undefined","CreateUser","getToken","token","signup","response","status","json","responseJson","error_description","Promise","resolve","reject","checkSession","nonce","result","ctx","backScreen","connection","authInfo","Error","authParams","sendCode","enterCodeScreen","errorMessage","enter","resend","isPasswordLessAuth","passwordlessStart","send","code","onErrorCallback","passwordlessLogin","verificationCode","login","password","realm","url","URL","searchParams","set","returnTo","toString","resetPassword","changePassword","fetch","headers","Authorization","keys","forEach","key","endsWith","removeItem","initialState","screen","createAsyncThunk","auth0Logout","entryScreenBasedOnSignUp","props","enterCode","createUser","auth0ResetPassword","backToPrevScreen","selectScreen","auth","authSliceFactory","createSlice","name","reducers","extraReducers","builder","addCase","fulfilled","payload","Loader","className","style","loader","ContactUs","type","cx","commonStyle","centerLink","tinyMargin","smallMargin","link","link_blue","target","rel","link_grey","_path","_path2","SInputAdornment","styled","InputAdornment","TextField","forwardRef","ref","autoComplete","autoFocus","fullWidth","multiline","required","placeholder","InputLabelProps","FormHelperTextProps","InputProps","inputRef","helperText","SelectProps","helperTextRequired","withCheckedIcon","useState","uniqueId","inputName","helperTextOrDummy","withHelperText","Boolean","endAdornment","position","formErrorText","meta","onChange","errorIsDirtySinceLastSubmit","inputProps","shouldShowError","touched","submitError","length","handleChange","useCallback","e","value","valid","Button","loading","onClick","children","rest","unActive","button","_extends","i","arguments","source","prototype","hasOwnProperty","call","apply","this","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","SvgMail","_ref","svgRef","title","titleId","viewBox","fill","xmlns","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","ForwardRef","FirstTimeAuth","dispatch","useDispatch","onSubmit","unwrapResult","FORM_ERROR","message","initialValues","validate","values","errors","test","render","handleSubmit","submitting","pristine","dirtySinceLastSubmit","hasSubmitErrors","hasValidationErrors","loginForm","subtitle","formWrapper","component","label","maxLength","startAdornment","getWindowDimensions","innerWidth","innerHeight","commonInputStyles","boxShadow","boxSizing","smallInputStyles","largeInputStyles","MobileCodeCommon","onResend","hideResend","timer","setTimer","isTimerStarted","setIsTimerStarted","inputStyles","setInputStyles","inputWrapperRef","useRef","dimensions","windowDimensions","setWindowDimensions","useEffect","handleResize","addEventListener","removeEventListener","useWindowDimensions","intervalID","setInterval","s","clearInterval","useLayoutEffect","inputWrapperNode","current","querySelectorAll","index","setAttribute","signUpCodeInputWrapper","loginCodeInputWrapper","fields","inputMode","codeInputContainer","inputStyle","signup_margin","login_margin","firstInput","querySelector","focus","maskEmail","parts","split","shift","emailEnding","emailDomain","slice","join","VerificationCode","setCode","setErrorMessage","setLoading","errorText","preventDefault","title_desktop","title_mobile","marginBottom","submitButton","Login","appStyle","routesContainer","loginContainer","Helmet","includes","loaderContainer","HeadLegend","headContainer","head","description","LoginLink","loginLink","enterCodeResult","createUserResult","form","subtitle_margin","text_margin","submit","SignUp","isLoading","loginSignUpContainer","signUpContainer","exact","path","SvgMission","fillOpacity","SvgAboutUs","strokeOpacity","SvgContactUs","routes","Icon","MissionIcon","to","AboutIcon","ContactIcon","Links","map","route","navItem","Logo","logoContainer","logo","src","alt","BurgerMenu","showDrawer","setShowDrawer","React","anchorEl","setAnchorEl","handleClose","event","currentTarget","prev","burger","burger_white","burgerOpen","Menu","dropdownMenu","open","onClose","MenuListProps","elevation","anchorOrigin","vertical","horizontal","transformOrigin","MenuItem","ListItemIcon","Header","container","nav","ErrorBoundary","captureException","Component","App","ThemeProvider","history","reportWebVitals","onPerfEntry","Function","then","getCLS","getFID","getFCP","getLCP","getTTFB","store","configureStore","reducer","authReducer","middleware","thunk","ReactDOM","StrictMode","document","getElementById"],"mappings":"mFACAA,EAAOC,QAAU,CAAC,OAAS,yB,oBCA3BD,EAAOC,QAAU,CAAC,eAAiB,gC,mBCAnCD,EAAOC,QAAU,CAAC,MAAQ,sBAAsB,yBAA2B,yCAAyC,KAAO,qBAAqB,aAAe,6BAA6B,UAAY,0BAA0B,WAAa,2BAA2B,MAAQ,sBAAsB,KAAO,qBAAqB,UAAY,0BAA0B,UAAY,0BAA0B,SAAW,yBAAyB,W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,GAAjB,SACE,eAAC,GAAD,QAGJQ,SAASC,eAAe,SAM1BlB,M,mBCpBAriB,EAAOC,QAAU,CAAC,UAAY,0BAA0B,gBAAkB,gCAAgC,cAAgB,8BAA8B,KAAO,qBAAqB,SAAW,yBAAyB,IAAM,oBAAoB,UAAY,0BAA0B,QAAU,wBAAwB,OAAS,uBAAuB,aAAe,6BAA6B,aAAe,6BAA6B,YAAc,8B,mBCAhcD,EAAOC,QAAU,CAAC,aAAe,uCAAuC,OAAS,iCAAiC,aAAe,uCAAuC,cAAgB,wCAAwC,MAAQ,gCAAgC,SAAW,mCAAmC,sBAAwB,gDAAgD,uBAAyB,iDAAiD,mBAAqB,+C,mBCA7dD,EAAOC,QAAU,CAAC,UAAY,uBAAuB,gBAAkB,6BAA6B,gBAAkB,+B,mBCAtHD,EAAOC,QAAU,CAAC,SAAW,mCAAmC,gBAAkB,0CAA0C,YAAc,sCAAsC,KAAO,+BAA+B,OAAS,mC,mBCA/ND,EAAOC,QAAU,CAAC,UAAY,0BAA0B,gBAAkB,gCAAgC,qBAAuB,qCAAqC,aAAe,6BAA6B,eAAiB,iC,mBCAnOD,EAAOC,QAAU,CAAC,OAAS,uBAAuB,OAAS,uBAAuB,SAAW,yBAAyB,OAAS,yB,mBCA/HD,EAAOC,QAAU,CAAC,WAAa,8BAA8B,YAAc,+BAA+B,WAAa,gC,mBCAvHD,EAAOC,QAAU,CAAC,aAAe,mCAAmC,cAAgB,oCAAoC,aAAe,qC,mBCAvID,EAAOC,QAAU,CAAC,cAAgB,kCAAkC,KAAO,yBAAyB,YAAc,kC,mBCAlHD,EAAOC,QAAU,CAAC,SAAW,gCAAgC,YAAc,mCAAmC,aAAe,oCAAoC,OAAS,iC","file":"static/js/main.cb7f2861.chunk.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"loader\":\"Loader_loader__1j2Bs\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loginContainer\":\"Login_loginContainer__2z02F\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"common_title__25aiY\",\"inputHelperTextContainer\":\"common_inputHelperTextContainer__OsEIb\",\"text\":\"common_text__3bqvq\",\"marginBottom\":\"common_marginBottom__2jTZ1\",\"marginTop\":\"common_marginTop__2Rlhn\",\"marginBoth\":\"common_marginBoth__sWKMP\",\"error\":\"common_error__ruI-C\",\"link\":\"common_link__2r9LY\",\"link_blue\":\"common_link_blue__3p-78\",\"link_grey\":\"common_link_grey__2apRK\",\"subtitle\":\"common_subtitle__3ukck\",\"centerLink\":\"common_centerLink__2Xzh3\",\"primaryCaption\":\"common_primaryCaption__1vFn4\",\"secondaryCaption\":\"common_secondaryCaption__11Q4W\",\"button\":\"common_button__MObgi\",\"loginForm\":\"common_loginForm__11LrE\"};","import {PaletteMode} from '@mui/material';\n\n// import {colorVariablesNext} from 'core/constants';\n\nconst defaultPalette = (mode: PaletteMode) => {\n return {\n mode: mode,\n\n common: {\n black: '#1E1E1E',\n white: '#FFFFFF',\n },\n primary: {\n light: '#6139F9',\n main: '#0000C5',\n dark: '#000093',\n },\n\n // Secondary - Temporary solution for 'See All button' under charts on Account Managers page.\n // Remove when design is ready.\n secondary: {\n light: '#FFFFFF',\n main: '#F5F8FD',\n dark: '#EEF3FC',\n contrastText: '#0000C5',\n },\n error: {\n light: '#FF8C6F',\n main: '#FC5943',\n dark: '#C22019',\n },\n success: {\n light: '#67EBAD',\n main: '#3DD598',\n dark: '#008751',\n contrastText: '#FFFFFF',\n },\n warning: {\n light: '#FFE751',\n main: '#FFC542',\n dark: '#C78600',\n },\n text: {\n primary: 'rgba(30, 30, 30, 0.87)',\n secondary: 'rgba(130, 135, 176, 0.8)',\n disabled: 'rgba(30, 30, 30, 0.38)',\n },\n\n divider: 'hsla(217, 68%, 94%, 1)',\n\n action: {\n fadedOpacity: 0.87,\n },\n\n // background: {\n // grey: colorVariablesNext.Background.Grey,\n // darkGrey: colorVariablesNext.Background.DarkGrey,\n // white: colorVariablesNext.Background.White,\n // },\n };\n};\n\nexport default defaultPalette;\n","const spacing = {\n spacing: 4,\n};\n\nexport default spacing;\n","import type {} from '@mui/lab/themeAugmentation';\nimport type {CSSProperties} from 'react';\n// no need to install it explicitly\n// eslint-disable-next-line import/no-unresolved\nimport {OverridableStringUnion} from '@mui/types';\nimport {Variant} from '@mui/material/styles/createTypography';\nimport {TypographyPropsVariantOverrides} from '@mui/material/Typography/Typography';\n\nconst fontFamily = '\"Inter\", sans-serif';\nconst letterSpacing = 'normal';\n\nconst fontStyle = {\n fontFamily,\n letterSpacing,\n};\n\nconst variants = {\n h1: {\n fontSize: 48,\n fontWeight: 400,\n // 1.0833 ~ 52px to 48px\n lineHeight: 1.0833,\n },\n h2: {\n fontSize: 34,\n fontWeight: 400,\n // 1.1764 ~ 40px to 34px\n lineHeight: 1.1764,\n letterSpacing: 0.25,\n },\n h3: {\n fontSize: 24,\n fontWeight: 700,\n // 1.3333 ~ 32px to 24px\n lineHeight: 1.3333,\n letterSpacing: 0.25,\n },\n h4: {\n fontSize: 20,\n fontWeight: 700,\n // 1.4 ~ 28px to 20px\n lineHeight: 1.4,\n letterSpacing: 0.15,\n },\n h5: {\n fontSize: 14,\n fontWeight: 700,\n // 1.429 ~ 16px to 14px\n lineHeight: 1.429,\n letterSpacing: 0.15,\n },\n body1: {\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0.15,\n },\n body2: {\n fontSize: 14,\n fontWeight: 400,\n // 1.4286 ~ 20px to 14px\n lineHeight: 1.4286,\n letterSpacing: 0.17,\n },\n body3: {\n fontSize: 12,\n fontWeight: 400,\n // 1.3333 ~ 16px to 12px\n lineHeight: 1.3333,\n letterSpacing: 0.17,\n },\n subtitle1: {\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0.15,\n },\n subtitle2: {\n fontSize: 14,\n fontWeight: 500,\n // 1.1429 ~ 16px to 14px\n lineHeight: 1.1429,\n letterSpacing: 0.1,\n },\n subtitle3: {\n fontSize: 12,\n fontWeight: 500,\n // 1.3333 ~ 16px to 12px\n lineHeight: 1.3333,\n letterSpacing: 0.1,\n },\n captionRegular: {\n fontSize: 12,\n fontWeight: 400,\n // 1.3333 ~ 16px to 12px\n lineHeight: 1.3333,\n letterSpacing: 0.4,\n },\n captionBold: {\n fontSize: 12,\n fontWeight: 700,\n // 1.3333 ~ 16px to 12px\n lineHeight: 1.3333,\n letterSpacing: 0.4,\n },\n dataName: {\n fontWeight: 400,\n fontSize: 14,\n // 1.1429 ~ 16px to 14px\n lineHeight: 1.1429,\n letterSpacing: 0.17,\n },\n overlineRegular: {\n fontSize: 12,\n fontWeight: 400,\n // 1.6667 ~ 20px to 12px\n lineHeight: 1.6667,\n letterSpacing: 1,\n textTransform: 'uppercase' as CSSProperties['textTransform'],\n },\n overlineBold: {\n fontSize: 12,\n fontWeight: 700,\n // 1.6667 ~ 20px to 12px\n lineHeight: 1.6667,\n letterSpacing: 1,\n textTransform: 'uppercase' as CSSProperties['textTransform'],\n },\n cellHeader: {\n fontSize: 14,\n fontWeight: 500,\n // 1.7143 ~ 24px to 14px\n lineHeight: 1.7143,\n letterSpacing: 0.1,\n },\n cellText: {\n fontSize: 14,\n fontWeight: 400,\n // 1.7143 ~ 24px to 14px\n lineHeight: 1.7143,\n letterSpacing: 0.15,\n },\n pillTitle: {\n fontSize: 12,\n fontWeight: 400,\n // 1.3333 ~ 16px to 12px\n lineHeight: 1.3333,\n letterSpacing: 0.15,\n },\n pillNumber: {\n fontSize: 10,\n fontWeight: 400,\n lineHeight: 1.2,\n letterSpacing: 0.15,\n },\n buttonLarge: {\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: 0.15,\n textTransform: 'none' as 'none',\n },\n buttonMedium: {\n fontSize: 14,\n fontWeight: 400,\n // 1.4286 ~ 20px to 14px\n lineHeight: 1.4286,\n letterSpacing: 0.15,\n textTransform: 'none' as 'none',\n },\n buttonSmall: {\n fontSize: 12,\n fontWeight: 400,\n // 1.3333 ~ 16px to 12px\n lineHeight: 1.3333,\n letterSpacing: 0.15,\n textTransform: 'none' as 'none',\n },\n tabLarge: {\n fontWeight: 600,\n fontSize: 16,\n // 1.25 ~ 20px to 16px\n lineHeight: 1.25,\n letterSpacing: 0.15,\n textTransform: 'none' as 'none',\n },\n tabMedium: {\n fontWeight: 600,\n fontSize: 14,\n // 1.1429 ~ 16px to 14px\n lineHeight: 1.1429,\n letterSpacing: 0.15,\n textTransform: 'none' as 'none',\n },\n tabSmall: {\n fontWeight: 600,\n fontSize: 12,\n // 1.3333 ~ 16px to 12px\n lineHeight: 1.3333,\n letterSpacing: 0.15,\n textTransform: 'none' as 'none',\n },\n};\n\nexport type AllTypographyVariants = OverridableStringUnion<\n Exclude,\n TypographyPropsVariantOverrides\n>;\n\nconst typography = {\n typography: {\n /**\n * Get correct height of the typography\n */\n height: (variant: AllTypographyVariants) =>\n Number(variants[variant].lineHeight) * Number(variants[variant].fontSize),\n ...fontStyle,\n ...variants,\n },\n};\n\nexport default typography;\n","const shape = {\n shape: {\n borderRadiusRegular: 8,\n borderRadiusLarge: 16,\n sectionContainerMaxWidth: {\n lg: 1200,\n sm: 864,\n },\n },\n};\n\nexport default shape;\n","import {PaletteMode} from '@mui/material';\nimport {ThemeOptions} from '@mui/material/styles';\n\nimport palette from './palette';\nimport spacing from './spacing';\nimport typography from './typography';\nimport shape from './shape';\n\nexport type Settings = {\n mode: PaletteMode;\n};\n\nconst themeOptions = (settings: Settings): ThemeOptions => {\n const {mode} = settings;\n\n return {\n palette: palette(mode),\n ...shape,\n ...spacing,\n ...typography,\n };\n};\n\nexport default themeOptions;\n","import {Components, Theme} from '@mui/material/styles';\n\nconst Link = (theme: Theme): {MuiLink: Components['MuiLink']} => {\n return {\n MuiLink: {\n defaultProps: {\n underline: 'none',\n },\n styleOverrides: {\n root: {\n color: theme.palette.text.primary,\n\n '&:hover': {\n color: theme.palette.primary.main,\n },\n },\n },\n },\n };\n};\n\nexport default Link;\n","import {createTheme} from '@mui/material/styles';\nimport type {} from '@mui/lab/themeAugmentation';\n\nimport themeOptions from './themeOptions';\nimport {overrides} from './overrides';\n\nexport const themeDecisions = createTheme(themeOptions({mode: 'light'}));\n\nthemeDecisions.components = overrides(themeDecisions);\n","import {Theme} from '@mui/material/styles';\n\nimport MuiLink from './link';\nimport {input} from './input';\nimport {menu} from './menu';\n\nexport const overrides = (theme: Theme) => {\n const inputOverrides = input(theme);\n const linkOverrides = MuiLink(theme);\n const menuOverrides = menu(theme);\n\n return Object.assign(\n inputOverrides,\n linkOverrides,\n menuOverrides,\n );\n};\n","import {Components, Theme} from '@mui/material/styles';\n\nexport const input = (\n theme: Theme\n): {\n MuiInputLabel: Components['MuiInputLabel'];\n MuiFilledInput: Components['MuiFilledInput'];\n MuiFormHelperText: Components['MuiFormHelperText'];\n MuiFormLabel: Components['MuiFormLabel'];\n MuiTextField: Components['MuiTextField'];\n} => ({\n MuiInputLabel: {\n styleOverrides: {\n // @ts-ignore\n filled: params => {\n const {filled, focused, adornedStart} = params.ownerState.formControl as {\n filled: boolean;\n focused: boolean;\n adornedStart: boolean;\n };\n\n const shrink = filled || focused;\n\n const sizeSmall = {\n cursor: 'text',\n transform: 'translate(14px, 10px)',\n ...(adornedStart && {transform: 'translate(43px, 10px)'}),\n ...(shrink && {visibility: 'hidden' as const}),\n };\n\n return {\n ...theme.typography.subtitle1,\n ...(adornedStart && {transform: 'translate(43px, 16px)'}),\n ...(shrink && {\n ...theme.typography.body3,\n transform: adornedStart ? 'translate(43px, 7px)' : 'translate(14px, 7px)',\n }),\n ...(params.ownerState.size === 'small' && sizeSmall),\n };\n },\n },\n },\n MuiFilledInput: {\n styleOverrides: {\n root: params => ({\n ...theme.typography.subtitle1,\n backgroundColor: theme.palette.background.grey,\n border: `2px solid transparent`,\n borderRadius: theme.shape.borderRadiusRegular,\n transition: theme.transitions.create(['border-color'], {\n duration: theme.transitions.duration.shortest,\n }),\n padding: theme.spacing(0, 3),\n gap: theme.spacing(3),\n\n '> svg': {\n width: 16,\n height: 16,\n flexShrink: 0,\n color: theme.palette.text.secondary,\n },\n\n ':hover': {\n ':not(.Mui-disabled)': {\n backgroundColor: theme.palette.background.grey,\n\n '> svg': {\n color: theme.palette.text.primary,\n },\n },\n\n ':not(.Mui-disabled, .Mui-focused, .Mui-error)': {\n border: `2px solid ${theme.palette.divider}`,\n },\n },\n\n '&.Mui-focused': {\n backgroundColor: theme.palette.background.grey,\n\n '&:not(.Mui-error)': {\n border: `2px solid ${theme.palette[params.ownerState.color || 'primary'].main}`,\n },\n\n '> svg': {\n color: theme.palette.text.primary,\n },\n },\n\n ':before, :after': {\n display: 'none',\n },\n\n '&.Mui-disabled': {\n backgroundColor: theme.palette.common.white,\n\n '> svg': {\n color: theme.palette.text.disabled,\n },\n },\n }),\n colorSecondary: {\n backgroundColor: theme.palette.background.grey,\n\n '> svg': {\n color: theme.palette.text.primary,\n },\n\n ':hover': {\n ':not(.Mui-disabled)': {\n backgroundColor: theme.palette.background.grey,\n\n '> svg': {\n color: theme.palette.text.primary,\n },\n },\n\n ':not(.Mui-disabled, .Mui-focused, .Mui-error)': {\n border: `2px solid ${theme.palette.divider}`,\n },\n },\n\n '&.Mui-focused': {\n backgroundColor: theme.palette.background.grey,\n\n '&:not(.Mui-error)': {\n border: `2px solid ${theme.palette.primary.main}`,\n },\n },\n\n '&.Mui-disabled': {\n backgroundColor: theme.palette.background.grey,\n },\n },\n error: {\n border: `2px solid ${theme.palette.error.main}`,\n },\n input: {\n padding: '22px 0 7px 0',\n height: 'auto',\n },\n inputSizeSmall: {\n padding: '8px 0 8px 0',\n },\n },\n },\n MuiFormHelperText: {\n styleOverrides: {\n // @ts-ignore\n root: {\n ...theme.typography.body3,\n margin: theme.spacing(0.5, 3, 0),\n },\n },\n },\n MuiFormLabel: {\n styleOverrides: {\n colorSecondary: params => {\n const {filled, focused} = params.ownerState;\n const shrink = filled || focused;\n return {\n ...(shrink && {\n color: theme.palette.primary.main,\n }),\n\n '&.Mui-focused:not(.Mui-error)': {\n color: theme.palette.primary.main,\n },\n };\n },\n },\n },\n MuiTextField: {\n defaultProps: {\n variant: 'filled',\n },\n },\n});\n","import {Components, Theme} from '@mui/material/styles';\nimport {paperClasses} from '@mui/material/Paper';\nimport {listItemIconClasses} from '@mui/material/ListItemIcon';\n\nexport const menu = (theme: Theme): Partial => ({\n MuiListItemIcon: {\n styleOverrides: {\n root: {\n '> svg': {\n width: 16,\n height: 16,\n color: theme.palette.text.secondary,\n },\n },\n },\n },\n MuiMenu: {\n styleOverrides: {\n list: {\n display: 'grid',\n gap: theme.spacing(1),\n },\n paper: {\n [`&.${paperClasses.root}`]: {\n marginTop: theme.spacing(2),\n borderRadius: theme.shape.borderRadiusRegular,\n },\n },\n },\n },\n MuiMenuItem: {\n styleOverrides: {\n root: {\n paddingTop: theme.spacing(2),\n paddingBottom: theme.spacing(2),\n minWidth: 271,\n\n [`& .${listItemIconClasses.root}`]: {\n minWidth: 20 + 8,\n\n '> svg': {\n width: 20,\n height: 20,\n },\n },\n },\n dense: {\n [`& .${listItemIconClasses.root}`]: {\n minWidth: 16 + 8,\n\n ' > svg': {\n width: 16,\n height: 16,\n },\n },\n },\n },\n },\n MuiBackdrop: {\n styleOverrides: {\n root: {\n background: 'rgba(0, 0, 0, 0.25)',\n },\n }\n }\n});\n","import {LogRocketAnalytics} from './analytics/logRocket';\n\nexport const analytics = new LogRocketAnalytics();\n","import LogRocket from 'logrocket';\n\nimport type {AnalyticsAdapter} from './types';\n\nexport class LogRocketAnalytics implements AnalyticsAdapter {\n public init(appId: string, options?: {release?: string}) {\n LogRocket.init(appId, options);\n }\n\n public identify(userData: {id: string} & Record) {\n const {id, ...data} = userData;\n LogRocket.identify(id, data);\n }\n\n public track(eventName: string, eventProperties: Record) {\n LogRocket.track(eventName, eventProperties);\n }\n}\n","export const LOGIN = '/login';\nexport const SIGN_UP = '/signup';\n","import {createBrowserHistory} from 'history';\n\nexport default createBrowserHistory();\n","import {TypedUseSelectorHook, useDispatch, useSelector} from 'react-redux';\n\nimport type {RootState, AppDispatch} from 'store';\n\n// Use throughout your app instead of plain `useDispatch` and `useSelector`\nexport const useAppDispatch = () => useDispatch();\nexport const useAppSelector: TypedUseSelectorHook = useSelector;\n","export const BASE_URL = 'https://login.ennabl.com';\n\nexport const AUTH0_AUDEINCE = 'https://api.ennabl.com';\nexport const AUTH0_DOMAIN = 'auth.ennabl.com';\nexport const AUTH0_CLIENT_ID = 'AFSyHTUqNsLifr2N14OvKeuOM0TRoDYP';\nexport const AUTH0_DB_CONNECTION = 'Username-Password-Authentication';\n\nexport const DEFAULT_APP_AUTHORIZED_REDIRECT_URI = `https://app.ennabl.com/`;\n\nexport const APP_SIGNUP_URI = 'https://api.ennabl.com/signup';\n","import * as auth0 from 'auth0-js';\nimport {v4 as uuidv4} from 'uuid';\n\nimport {\n Authorized,\n EnterCodeScreen,\n Screen,\n VerificationMethod,\n EntryScreen,\n EnterEmailScreen,\n} from './authApi';\nimport {\n AUTH0_DB_CONNECTION,\n DEFAULT_APP_AUTHORIZED_REDIRECT_URI,\n BASE_URL,\n AUTH0_CLIENT_ID,\n AUTH0_DOMAIN,\n AUTH0_AUDEINCE,\n APP_SIGNUP_URI,\n} from '../config';\n\nconst DEFAULT_AUTHORIZED_URI = `${BASE_URL}/?authorized=true`;\nconst MOBILE_NATIVE_REDIRECT_PREFIX = 'com.ennabl.auth0://';\n\ninterface TokenData {\n accessToken: string;\n}\n\nconst params = new URLSearchParams(window.location.search);\nconst state = params.get('state') || uuidv4();\nconst authorized = params.get('authorized') || 'false';\nconst forceLogout = params.get('logout') || 'false';\nconst scope = params.get('scope') ?? 'openid profile email';\nconst authRedirectUri = buildRedirectUri();\nconst isMobileNative = authRedirectUri.startsWith(\n MOBILE_NATIVE_REDIRECT_PREFIX\n);\n\nconst authProps: auth0.AuthOptions = {\n clientID: AUTH0_CLIENT_ID,\n domain: AUTH0_DOMAIN,\n responseType: 'code',\n state,\n audience: AUTH0_AUDEINCE,\n scope,\n redirectUri: isMobileNative ? authRedirectUri : DEFAULT_AUTHORIZED_URI,\n};\n\nconst webAuth = new auth0.WebAuth(authProps);\n\nexport function entryScreen(isSignUp = false): EntryScreen | Authorized {\n if (authorized === 'true' && window.location.href !== authRedirectUri) {\n redirectToApp(authRedirectUri);\n\n return {\n screenType: 'AUTHORIZED',\n };\n }\n\n if (isSignUp) {\n return {\n screenType: 'ENTRY_SCREEN',\n start: startSignup,\n };\n } else {\n return {\n screenType: 'ENTRY_SCREEN',\n start: startAuth,\n };\n }\n}\n\nexport async function startAuth(): Promise {\n if (forceLogout === 'true') {\n await logout();\n return {\n screenType: 'ENTRY_SCREEN',\n };\n }\n\n const tokenOrNull = isMobileNative ? null : await getTokenDataOrNull();\n\n if (tokenOrNull?.accessToken) {\n redirectToApp(authRedirectUri);\n return {\n screenType: 'AUTHORIZED',\n };\n }\n\n return goToEnterEmailScreen({\n method: 'EMAIL',\n device: {\n deviceStatus: 'KNOWN_DEVICE',\n },\n });\n}\n\nexport async function startSignup(): Promise {\n const email = params.get('email');\n\n if (!email) {\n window.location.replace(window.location.origin);\n return {\n screenType: 'ENTRY_SCREEN',\n };\n }\n\n return goToEnterCodeScreen(\n {\n device: {\n deviceStatus: 'UNKNOWN_DEVICE',\n email,\n },\n method: 'EMAIL',\n },\n undefined,\n true\n );\n}\n\nexport async function CreateUser() {\n return async () => {\n try {\n const token = await getToken();\n const response = await signup(token);\n if (response.status === 403) {\n const responseJson = await response.json();\n if (responseJson) throw responseJson;\n else throw await response.text();\n }\n\n redirectToApp(authRedirectUri);\n return {\n screenType: 'AUTHORIZED',\n };\n } catch (e: any) {\n if (e.error_description) throw e.error_description;\n else throw e;\n }\n };\n}\n\nasync function getTokenDataOrNull(): Promise {\n try {\n const token = await getToken();\n return {accessToken: token};\n } catch (e: any) {\n return null;\n }\n}\n\nasync function getToken(): Promise {\n return new Promise((resolve, reject) => {\n webAuth.checkSession(\n {\n responseType: 'token',\n nonce: params.get('nonce') ?? undefined,\n },\n (error, result) => {\n if (error) {\n return reject(error);\n }\n return resolve(result.accessToken);\n }\n );\n });\n}\n\ninterface Ctx {\n device: DeviceInfo;\n method?: VerificationMethod;\n errorMessage?: string;\n}\n\nasync function goToEnterCodeScreen(\n ctx: Ctx,\n backScreen?: Promise,\n isSignUp = false\n): Promise {\n let connection: string;\n let authInfo: {email?: string};\n\n if (ctx.method === 'EMAIL') {\n connection = 'email';\n authInfo = {email: ctx.device.email!};\n } else {\n throw new Error(`Unknown verification method: ${ctx.method}`);\n }\n\n let authParams: any = {state};\n\n const sendCode = async (ctx: Ctx) => {\n return new Promise((resolve, reject) => {\n const enterCodeScreen: EnterCodeScreen = {\n screenType: 'ENTER_CODE',\n backScreen,\n method: ctx.method!,\n ...authInfo,\n error: ctx.errorMessage,\n enter,\n resend: () => sendCode(ctx),\n };\n\n if (isPasswordLessAuth(ctx.device.email)) {\n webAuth.passwordlessStart(\n {\n connection,\n authParams,\n send: 'code',\n ...authInfo,\n },\n error => {\n if (error) {\n if (isSignUp) {\n window.location.replace(window.location.origin);\n }\n return reject(error);\n }\n return resolve(enterCodeScreen);\n }\n );\n } else {\n resolve(enterCodeScreen);\n }\n });\n };\n\n const enter = async (code: string) => {\n return new Promise((resolve, reject) => {\n const onErrorCallback = (error: auth0.Auth0Error | null) => {\n if (error) {\n reject(error.error_description);\n return resolve({screenType: 'AUTH_FAILED'});\n }\n return resolve({screenType: 'AUTHORIZED'});\n };\n\n if (isPasswordLessAuth(ctx.device.email)) {\n webAuth.passwordlessLogin(\n {\n connection,\n verificationCode: code,\n ...authInfo,\n state: params.get('source_state') ?? state,\n },\n onErrorCallback\n );\n } else {\n webAuth.login(\n {\n email: ctx.device.email!,\n password: code,\n realm: 'Username-Password-Authentication',\n state: params.get('source_state') ?? state,\n },\n onErrorCallback\n );\n }\n });\n };\n\n return sendCode(ctx);\n}\n\nasync function goToEnterEmailScreen(ctx: Ctx): Promise {\n return {\n screenType: 'ENTER_EMAIL_SCREEN',\n login: email =>\n goToEnterCodeScreen({\n ...ctx,\n device: {\n email,\n deviceStatus: 'KNOWN_DEVICE',\n },\n }),\n };\n}\n\ninterface DeviceInfo {\n deviceStatus: 'KNOWN_DEVICE' | 'UNKNOWN_DEVICE';\n email?: string;\n phone?: string;\n name?: string;\n lastVerificationMethod?: 'SMS' | 'EMAIL';\n}\n\nexport async function logout() {\n const url = new URL(BASE_URL);\n url.searchParams.set('redirectUri', authRedirectUri);\n webAuth.logout({returnTo: url.toString()});\n}\n\nexport async function resetPassword(email: string): Promise {\n return new Promise(resolve => {\n webAuth.changePassword(\n {\n connection: AUTH0_DB_CONNECTION,\n email,\n },\n error => {\n if (error) {\n return resolve(false);\n }\n return resolve(true);\n }\n );\n });\n}\n\nasync function signup(token: string): Promise {\n return await fetch(`${APP_SIGNUP_URI}?state=${state}`, {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n method: 'POST',\n });\n}\n\nfunction buildRedirectUri() {\n const localStorageKey = `${state}:redirectUri`;\n const redirectUriFromLocalStorage = localStorage.getItem(localStorageKey);\n\n const redirectUriFromParams =\n params.get('redirectUri') ?? params.get('redirect_uri');\n if (redirectUriFromParams) {\n // In order to avoid passing uri through multiple redirects\n // persist in local storage\n localStorage.setItem(localStorageKey, redirectUriFromParams);\n return redirectUriFromParams;\n }\n\n if (redirectUriFromLocalStorage) {\n return redirectUriFromLocalStorage;\n }\n\n return DEFAULT_APP_AUTHORIZED_REDIRECT_URI;\n}\n\nfunction redirectToApp(url: string) {\n // clear all redirectUri from localStorage\n Object.keys(localStorage).forEach(key => {\n if (key.endsWith(':redirectUri')) {\n localStorage.removeItem(key);\n }\n });\n\n window.location.replace(url);\n}\n\nexport function isPasswordLessAuth(email: string | null | undefined): boolean {\n return !(email ?? '').endsWith('@ennabl-test.com');\n}\n","import {createSlice, PayloadAction, createAsyncThunk} from '@reduxjs/toolkit';\n\nimport type {RootState} from 'store';\n\nimport {\n EnterCodeScreen,\n EntryScreen,\n Screen,\n UserInfoInput,\n EnterEmailScreen,\n} from './authApi';\nimport {\n CreateUser,\n entryScreen,\n logout as auth0Logout,\n resetPassword as auth0ResetPassword\n} from './auth0';\n\n// Define a type for the slice state\ninterface AuthState {\n screen: Screen;\n savedUserInfo?: UserInfoInput;\n}\n\n// Define the initial state using that type\nconst initialState: AuthState = {\n screen: entryScreen(),\n};\n\nexport const logout = createAsyncThunk('auth/logout', async () => {\n await auth0Logout();\n const screen = entryScreen() as EntryScreen;\n return await screen.start();\n});\n\nexport const startAuth = createAsyncThunk(\n 'auth/start',\n async (isSignUp: boolean = false) => {\n const entryScreenBasedOnSignUp = entryScreen(isSignUp);\n\n if ('start' in entryScreenBasedOnSignUp) {\n return await entryScreenBasedOnSignUp.start();\n }\n\n return entryScreenBasedOnSignUp;\n }\n);\n\nexport const login = createAsyncThunk(\n 'auth/loginUsingPassword',\n async (props: {screen: EnterEmailScreen; email: string}) => {\n return await props.screen.login(props.email);\n }\n);\n\nexport const enterCode = createAsyncThunk(\n 'auth/enterCode',\n async (props: {screen: EnterCodeScreen; code: string}) => {\n return await props.screen.enter(props.code);\n }\n);\n\nexport const createUser = createAsyncThunk(\n 'auth/createUser',\n async () => {\n return await CreateUser();\n }\n);\n\nexport const resetPassword = createAsyncThunk(\n 'auth/resetPassword',\n async (props: {email: string}) => {\n await auth0ResetPassword(props.email);\n await auth0Logout();\n const screen = entryScreen() as EntryScreen;\n return await screen.start();\n }\n);\n\nexport const backToPrevScreen = createAsyncThunk(\n 'auth/backToPrevScreen',\n async (props: {backScreen: Promise}) => {\n return props.backScreen;\n }\n);\n\nexport const authSliceFactory = (initialState: any) =>\n createSlice({\n name: 'auth',\n initialState,\n reducers: {},\n extraReducers: builder => {\n builder\n .addCase(\n startAuth.fulfilled,\n (state, action: PayloadAction) => {\n state.screen = action.payload;\n }\n )\n .addCase(login.fulfilled, (state, action: PayloadAction) => {\n state.screen = action.payload;\n })\n .addCase(\n enterCode.fulfilled,\n (state, action: PayloadAction) => {\n state.screen = action.payload;\n }\n )\n .addCase(logout.fulfilled, (state, action: PayloadAction) => {\n state.screen = action.payload;\n })\n .addCase(\n resetPassword.fulfilled,\n (state, action: PayloadAction) => {\n state.screen = action.payload;\n }\n )\n .addCase(backToPrevScreen.fulfilled, (state, action) => {\n state.screen = action.payload;\n });\n },\n });\n\n// Other code such as selectors can use the imported `RootState` type\nexport const selectScreen = (state: RootState) => state.auth.screen;\nexport default authSliceFactory(initialState).reducer;\n","import React from 'react';\n\nimport style from './Loader.module.css';\n\ninterface Props {\n className?: string;\n}\n\nconst Loader: React.FC = ({className}) => {\n return
;\n};\n\nexport default Loader;\n","import React from 'react';\nimport commonStyle from 'components/common.module.css';\nimport cx from 'clsx';\n\nimport style from './ContactUs.module.css';\n\ninterface Props {\n type: 'LOGIN' | 'SIGN_UP';\n}\n\nconst ContactUs: React.FC = ({type}) => {\n return (\n <>\n
\n Having trouble logging in?{' '}\n \n Contact Us\n \n
\n
\n \n Privacy Policy\n \n
\n \n );\n};\n\nexport default ContactUs;\n","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgMail(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 20,\n height: 21,\n viewBox: \"0 0 20 21\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.83301 8.32178L9.99967 11.2384L14.1663 8.32178\",\n stroke: \"#69708B\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1.66699 14.9884V6.65507C1.66699 5.7346 2.41318 4.9884 3.33366 4.9884H16.667C17.5875 4.9884 18.3337 5.7346 18.3337 6.65507V14.9884C18.3337 15.9089 17.5875 16.6551 16.667 16.6551H3.33366C2.41318 16.6551 1.66699 15.9089 1.66699 14.9884Z\",\n stroke: \"#69708B\",\n strokeWidth: 1.5\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgMail);\nexport default __webpack_public_path__ + \"static/media/mail.81c354ca.svg\";\nexport { ForwardRef as ReactComponent };","export default __webpack_public_path__ + \"static/media/outlinedCheck.78e3b58b.svg\";","import {forwardRef, useState} from 'react';\nimport {uniqueId} from 'lodash/fp';\nimport {styled} from '@mui/material/styles';\nimport MuiTextField, {TextFieldProps as MuiTextFieldProps} from '@mui/material/TextField';\nimport InputAdornment from '@mui/material/InputAdornment';\nimport {Merge} from 'type-fest';\nimport {inputBaseClasses} from '@mui/material';\n\nimport CheckIcon from 'components/icons/outlinedCheck.svg';\n\nexport {inputBaseClasses};\n\nexport type TextFieldProps = Merge<\n MuiTextFieldProps,\n {\n /**\n * prevents input layout height from jumping on validation\n * text appearing by reserving dummy space for helper text\n */\n helperTextRequired?: boolean;\n /**\n * Mark filled field by checked icon\n */\n withCheckedIcon?: boolean;\n }\n>;\n\nconst SInputAdornment = styled(InputAdornment)`\n margin-left: 10px;\n`;\n\nconst TextField = forwardRef(\n (\n {\n id,\n className,\n autoComplete = 'off',\n autoFocus = false,\n disabled = false,\n error = false,\n fullWidth = false,\n multiline = false,\n required = false,\n placeholder,\n FormHelperTextProps,\n InputLabelProps,\n InputProps,\n inputRef,\n SelectProps,\n helperText,\n helperTextRequired,\n withCheckedIcon,\n ...props\n },\n ref\n ) => {\n const [inputName] = useState(id || uniqueId('text-field-'));\n const helperTextOrDummy = helperTextRequired ? helperText ||   : helperText;\n const withHelperText = Boolean(helperText || helperTextRequired);\n\n return (\n
\n );\n};\n\nexport default MobileCodeCommon;\n","export function maskEmail(email: string) {\n const parts = email.split('@');\n const name = parts.shift();\n const emailEnding = parts.shift()?.split('.') || ['', ''];\n const emailDomain = emailEnding?.shift();\n\n return `${\n name && name.length <= 4 ? name[0] : name?.slice(0, name?.length - 4)\n }••••@${\n emailDomain && emailDomain.length <= 3 ? emailDomain[0] : emailDomain?.slice(0, emailDomain.length - 3)\n }••.${emailEnding?.join('')}`;\n}\n\nexport function maskPhone(phone: string) {\n return `•••-•••-${phone.substr(phone.length - 4)}`;\n}\n","import {useEffect, useState} from 'react';\nimport {useDispatch} from 'react-redux';\nimport {unwrapResult} from '@reduxjs/toolkit';\nimport Button from 'components/Button';\nimport MobileCodeCommon from 'components/MobileCodeCommon/MobileCodeCommon';\nimport {backToPrevScreen, enterCode, selectScreen} from 'auth/authSlice';\nimport {EnterCodeScreen} from 'auth/authApi';\nimport commonStyle from 'components/common.module.css';\nimport {useAppSelector} from 'hooks';\nimport {maskEmail} from 'utils/maskEmailOrPhone';\nimport cx from 'clsx';\n\nimport {isPasswordLessAuth} from 'auth/auth0';\n\nimport style from './Verification.module.css';\n\nconst VerificationCode = () => {\n const dispatch = useDispatch();\n const screen = useAppSelector(selectScreen);\n\n const [code, setCode] = useState('');\n const [errorMessage, setErrorMessage] = useState('');\n\n const [loading, setLoading] = useState(false);\n\n const {email = '', resend = () => {}, backScreen} = screen as EnterCodeScreen;\n\n const handleClickResend = () => {\n setCode('');\n setErrorMessage('');\n resend();\n };\n\n const handleSubmit = async () => {\n setLoading(true);\n\n try {\n const result = await dispatch(\n enterCode({screen: screen as EnterCodeScreen, code})\n );\n // TODO: fix dispatch typings\n // @ts-ignore\n unwrapResult(result);\n } catch (e) {\n const errorText =\n e.message === 'Wrong email or verification code.'\n ? 'Wrong verification code.'\n : e.message;\n setErrorMessage(errorText);\n }\n\n setLoading(false);\n };\n\n const handleClickBack = () => {\n if (backScreen) {\n dispatch(backToPrevScreen({backScreen}));\n }\n };\n\n useEffect(\n () => {\n if (code.length === 6) {\n handleSubmit();\n }\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [code]\n );\n\n return (\n {\n e.preventDefault();\n handleSubmit();\n }}\n className={commonStyle.loginForm}\n >\n
Welcome
\n
\n Security code\n
\n {isPasswordLessAuth(email) && (\n
\n We have sent a message with a one-time security code to{' '}\n {maskEmail(email)}\n
\n )}\n \n \n Log in\n \n {backScreen && (\n \n Back\n \n )}\n \n );\n};\n\nexport default VerificationCode;\n","import {useEffect} from 'react';\nimport {Helmet} from 'react-helmet';\nimport {useDispatch} from 'react-redux';\nimport {useAppSelector} from 'hooks';\nimport {selectScreen, startAuth} from 'auth/authSlice';\nimport {ScreenType} from 'auth/authApi';\nimport appStyle from 'App.module.css';\nimport Loader from 'components/Loader';\nimport ContactUs from 'components/ContactUs';\nimport FirstTimeAuth from 'modules/Login/FirstTimeAuth';\nimport cx from 'clsx';\n\nimport VerificationCode from './VerificationCode';\nimport style from './Login.module.css';\n\nfunction renderForm(screenType: ScreenType) {\n if (screenType === 'ENTER_CODE') {\n return ;\n } else {\n return ;\n }\n}\n\nconst Login = () => {\n const dispatch = useDispatch();\n const screen = useAppSelector(selectScreen);\n\n useEffect(() => {\n if (screen.screenType === 'ENTRY_SCREEN') {\n dispatch(startAuth(false));\n }\n }, [screen.screenType, dispatch]);\n\n return (\n
\n \n Login - Ennabl\n \n\n {['ENTRY_SCREEN', 'AUTHORIZED'].includes(screen.screenType) ? (\n
\n \n
\n ) : (\n <>\n {renderForm(screen.screenType)}\n\n \n \n )}\n
\n );\n};\n\nexport default Login;\n","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgMission(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 16,\n viewBox: \"0 0 16 16\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8 1.5C4.41406 1.5 1.5 4.41406 1.5 8C1.5 11.5859 4.41406 14.5 8 14.5C11.5859 14.5 14.5 11.5859 14.5 8C14.5 6.75 14.1406 5.58594 13.5273 4.59375L12.7969 5.32031C13.2422 6.11719 13.5 7.02734 13.5 8C13.5 11.0312 11.0312 13.5 8 13.5C4.96875 13.5 2.5 11.0312 2.5 8C2.5 4.96875 4.96875 2.5 8 2.5C8.97266 2.5 9.88281 2.75781 10.6758 3.20312L11.4062 2.47656C10.4141 1.85938 9.25 1.5 8 1.5ZM13.6445 1.64844L7.64844 7.64844C7.55078 7.74219 7.5 7.86719 7.5 8C7.5 8.27734 7.72266 8.5 8 8.5C8.14844 8.5 8.28906 8.43359 8.38281 8.32031L14.3555 2.35156L13.6445 1.64844ZM8 3.5C5.51953 3.5 3.5 5.51953 3.5 8C3.5 10.4805 5.51953 12.5 8 12.5C10.4805 12.5 12.5 10.4805 12.5 8C12.5 7.30859 12.3281 6.66016 12.0469 6.07031L11.2852 6.83594C11.4141 7.20313 11.5 7.58984 11.5 8C11.5 9.92969 9.92969 11.5 8 11.5C6.07031 11.5 4.5 9.92969 4.5 8C4.5 6.07031 6.07031 4.5 8 4.5C8.41016 4.5 8.79688 4.58594 9.16406 4.71484L9.92969 3.95312C9.33985 3.67188 8.69141 3.5 8 3.5ZM7.78125 5.51953C7.21484 5.56641 6.66406 5.80078 6.23438 6.23438C5.25781 7.20703 5.25781 8.79297 6.23438 9.76562C7.20703 10.7422 8.79297 10.7422 9.76562 9.76562C10.3438 9.19141 10.5703 8.40625 10.4688 7.65625L9.0625 9.0625C8.47656 9.64453 7.52344 9.64453 6.9375 9.0625C6.35547 8.47656 6.35547 7.52344 6.9375 6.9375L8.34375 5.53516C8.15625 5.50781 7.96875 5.50391 7.78125 5.51953Z\",\n fill: \"#1E1E1E\",\n fillOpacity: 0.87\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgMission);\nexport default __webpack_public_path__ + \"static/media/mission.852de304.svg\";\nexport { ForwardRef as ReactComponent };","import React from 'react';\n\nimport style from './HeadLegend.module.css';\n\nconst HeadLegend= () => {\n return (\n
\n

Sign up

\n

Welcome to ennabl

\n
\n );\n};\n\nexport default HeadLegend;\n","import React from 'react';\nimport commonStyle from 'components/common.module.css';\nimport cx from 'clsx';\n\nimport style from './SignUp.module.css';\n\nconst LoginLink = () => {\n return (\n
\n Already have an account?{' '}\n \n Log In\n \n
\n );\n};\n\nexport default LoginLink;\n","import React, {useState} from 'react';\nimport {unwrapResult} from '@reduxjs/toolkit';\nimport {useDispatch} from 'react-redux';\nimport {backToPrevScreen, createUser, enterCode, selectScreen} from 'auth/authSlice';\nimport Button from 'components/Button';\nimport MobileCodeCommon from 'components/MobileCodeCommon/MobileCodeCommon';\nimport {useAppSelector} from 'hooks';\nimport {EnterCodeScreen} from 'auth/authApi';\nimport commonStyle from 'components/common.module.css';\n// import history from 'core/history';\n// import {SIGN_UP_USER_INFO} from 'core/routes';\nimport {maskEmail} from 'utils/maskEmailOrPhone';\nimport cx from 'clsx';\n\nimport style from './VerificationCode.module.css';\nimport LoginLink from '../LoginLink';\nimport ContactUs from '../../../components/ContactUs';\n\nconst VerificationCode: React.FC = () => {\n const [code, setCode] = useState('');\n const [errorMessage, setErrorMessage] = useState('');\n\n const dispatch = useDispatch();\n const screen = useAppSelector(selectScreen);\n\n const [loading, setLoading] = useState(false);\n\n const {\n resend = () => {},\n email = '',\n backScreen,\n } = screen as EnterCodeScreen;\n\n const handleClickResend = () => {\n resend();\n };\n\n const handleSubmit = async (e: React.FormEvent) => {\n setLoading(true);\n e.preventDefault();\n\n try {\n const enterCodeResult = await dispatch(\n enterCode({screen: screen as EnterCodeScreen, code})\n );\n const createUserResult = await dispatch(createUser())\n // TODO: fix dispatch typings\n // @ts-ignore\n unwrapResult(enterCodeResult);\n // @ts-ignore\n unwrapResult(createUserResult);\n } catch (e) {\n const errorText = e.message === 'Wrong email or verification code.' ? 'Wrong verification code' : e.message;\n setErrorMessage(errorText);\n }\n\n setLoading(false);\n };\n\n const handleClickBack = () => {\n if (backScreen) {\n // history.push(SIGN_UP_USER_INFO); // hardcode hack for routing, rewrite when needed\n dispatch(backToPrevScreen({backScreen}));\n }\n };\n\n return (\n <>\n
\n
\n For security reasons we need to verify your identity, please check your email for a secure code\n
\n
\n Code sent to email {maskEmail(email)}\n
\n\n setCode(value)}\n errorMessage={errorMessage}\n />\n \n Create account\n \n {backScreen && (\n \n BACK\n \n )}\n \n \n \n \n );\n};\n\nexport default VerificationCode;\n","import React, {useEffect} from 'react';\nimport {Route} from 'react-router-dom';\nimport {useDispatch} from 'react-redux';\nimport HeadLegend from 'components/HeadLegend';\nimport appStyle from 'App.module.css';\nimport {useAppSelector} from 'hooks';\nimport {selectScreen, startAuth} from 'auth/authSlice';\nimport Loader from 'components/Loader';\nimport cx from 'clsx';\n\nimport {SIGN_UP} from 'core/routes';\n\nimport {Helmet} from 'react-helmet';\n\nimport VerificationCode from './VerificationCode';\nimport style from './SignUp.module.css';\n\n\nconst SignUp = () => {\n const dispatch = useDispatch();\n const screen = useAppSelector(selectScreen);\n\n useEffect(() => {\n if (screen.screenType === 'ENTRY_SCREEN') {\n dispatch(startAuth(true));\n }\n }, [screen.screenType, dispatch]);\n\n const isLoading = ['ENTRY_SCREEN', 'AUTHORIZED'].includes(screen.screenType)\n\n return (\n
\n \n Sign Up - Ennabl\n \n\n {isLoading ? (\n
\n \n
\n ) : (\n <>\n \n \n \n )}\n
\n );\n};\n\nexport default SignUp;\n","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgAboutUs(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 16,\n viewBox: \"0 0 16 16\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0.666504 13.3333V12.6667C0.666504 10.0893 2.75584 8 5.33317 8M9.99984 13.3333V12.6667C9.99984 10.0893 7.9105 8 5.33317 8M5.33317 8C6.80593 8 7.99984 6.80609 7.99984 5.33333C7.99984 3.86057 6.80593 2.66667 5.33317 2.66667C3.86041 2.66667 2.6665 3.86057 2.6665 5.33333C2.6665 6.80609 3.86041 8 5.33317 8ZM15.3332 9.66667V9.33333C15.3332 7.49238 13.8408 6 11.9998 6M11.9998 6C10.1589 6 8.6665 7.49238 8.6665 9.33333M11.9998 6C13.1044 6 13.9998 5.10457 13.9998 4C13.9998 2.89543 13.1044 2 11.9998 2C10.8953 2 9.99984 2.89543 9.99984 4C9.99984 5.10457 10.8953 6 11.9998 6Z\",\n stroke: \"#1E1E1E\",\n strokeOpacity: 0.87,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgAboutUs);\nexport default __webpack_public_path__ + \"static/media/about-us.e959f014.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgContactUs(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 16,\n viewBox: \"0 0 16 16\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.16683 7.33333C2.16683 7.60947 2.39069 7.83333 2.66683 7.83333C2.94297 7.83333 3.16683 7.60947 3.16683 7.33333H2.16683ZM12.8335 7.33333C12.8335 7.60947 13.0574 7.83333 13.3335 7.83333C13.6096 7.83333 13.8335 7.60947 13.8335 7.33333H12.8335ZM2.54544 11.6363L2.42417 12.1214H2.42417L2.54544 11.6363ZM3.40375 11.8509L3.52501 11.3658H3.52501L3.40375 11.8509ZM3.40375 7.48244L3.28248 6.99737L3.40375 7.48244ZM2.54544 7.69701L2.66671 8.18209H2.66671L2.54544 7.69701ZM13.4549 11.6363L13.5762 12.1214H13.5762L13.4549 11.6363ZM12.5966 11.8509L12.4753 11.3658L12.5966 11.8509ZM12.5966 7.48244L12.7178 6.99737L12.5966 7.48244ZM13.4549 7.69701L13.3336 8.18209L13.4549 7.69701ZM3.16683 7.33333C3.16683 4.66396 5.33079 2.5 8.00016 2.5V1.5C4.7785 1.5 2.16683 4.11167 2.16683 7.33333H3.16683ZM8.00016 2.5C10.6695 2.5 12.8335 4.66396 12.8335 7.33333H13.8335C13.8335 4.11167 11.2218 1.5 8.00016 1.5V2.5ZM0.833496 9.24924V10.0841H1.8335V9.24924H0.833496ZM2.42417 12.1214L3.28248 12.336L3.52501 11.3658L2.66671 11.1512L2.42417 12.1214ZM4.50016 11.3852V7.94811H3.50016V11.3852H4.50016ZM3.28248 6.99737L2.42417 7.21194L2.66671 8.18209L3.52501 7.96751L3.28248 6.99737ZM4.50016 7.94811C4.50016 7.31055 3.901 6.84274 3.28248 6.99737L3.52501 7.96751C3.5237 7.96784 3.51986 7.96823 3.51542 7.96724C3.51171 7.9664 3.50933 7.96502 3.50785 7.96387C3.50638 7.96272 3.50446 7.96074 3.50275 7.95734C3.50071 7.95328 3.50016 7.94946 3.50016 7.94811H4.50016ZM3.28248 12.336C3.901 12.4906 4.50016 12.0228 4.50016 11.3852H3.50016C3.50016 11.3839 3.50071 11.3801 3.50275 11.376C3.50446 11.3726 3.50638 11.3706 3.50785 11.3695C3.50933 11.3683 3.51171 11.3669 3.51542 11.3661C3.51986 11.3651 3.5237 11.3655 3.52501 11.3658L3.28248 12.336ZM0.833496 10.0841C0.833496 11.0477 1.48932 11.8877 2.42417 12.1214L2.66671 11.1512C2.17702 11.0288 1.8335 10.5888 1.8335 10.0841H0.833496ZM1.8335 9.24924C1.8335 8.74449 2.17702 8.30451 2.66671 8.18209L2.42417 7.21194C1.48932 7.44566 0.833496 8.28562 0.833496 9.24924H1.8335ZM14.1668 9.24924V10.0841H15.1668V9.24924H14.1668ZM13.3336 11.1512L12.4753 11.3658L12.7178 12.336L13.5762 12.1214L13.3336 11.1512ZM12.5002 11.3852V7.94811H11.5002V11.3852H12.5002ZM12.4753 7.96751L13.3336 8.18209L13.5762 7.21194L12.7178 6.99737L12.4753 7.96751ZM12.5002 7.94811C12.5002 7.94946 12.4996 7.95328 12.4976 7.95734C12.4959 7.96074 12.4939 7.96272 12.4925 7.96387C12.491 7.96502 12.4886 7.9664 12.4849 7.96724C12.4805 7.96823 12.4766 7.96784 12.4753 7.96751L12.7178 6.99737C12.0993 6.84274 11.5002 7.31055 11.5002 7.94811H12.5002ZM12.4753 11.3658C12.4766 11.3655 12.4805 11.3651 12.4849 11.3661C12.4886 11.3669 12.491 11.3683 12.4925 11.3695C12.4939 11.3706 12.4959 11.3726 12.4976 11.376C12.4996 11.3801 12.5002 11.3839 12.5002 11.3852H11.5002C11.5002 12.0228 12.0993 12.4906 12.7178 12.336L12.4753 11.3658ZM14.1668 10.0841C14.1668 10.5888 13.8233 11.0288 13.3336 11.1512L13.5762 12.1214C14.511 11.8877 15.1668 11.0477 15.1668 10.0841H14.1668ZM15.1668 9.24924C15.1668 8.28562 14.511 7.44566 13.5762 7.21194L13.3336 8.18209C13.8233 8.30451 14.1668 8.74449 14.1668 9.24924H15.1668ZM12.8335 12V12.0667H13.8335V12H12.8335ZM11.7335 13.1667H9.66683V14.1667H11.7335V13.1667ZM12.8335 12.0667C12.8335 12.6742 12.341 13.1667 11.7335 13.1667V14.1667C12.8933 14.1667 13.8335 13.2265 13.8335 12.0667H12.8335ZM7.00016 15.1667H9.00016V14.1667H7.00016V15.1667ZM9.00016 12.1667H7.00016V13.1667H9.00016V12.1667ZM10.5002 13.6667C10.5002 12.8382 9.82859 12.1667 9.00016 12.1667V13.1667C9.2763 13.1667 9.50016 13.3905 9.50016 13.6667H10.5002ZM9.00016 15.1667C9.82859 15.1667 10.5002 14.4951 10.5002 13.6667H9.50016C9.50016 13.9428 9.2763 14.1667 9.00016 14.1667V15.1667ZM5.50016 13.6667C5.50016 14.4951 6.17174 15.1667 7.00016 15.1667V14.1667C6.72402 14.1667 6.50016 13.9428 6.50016 13.6667H5.50016ZM6.50016 13.6667C6.50016 13.3905 6.72402 13.1667 7.00016 13.1667V12.1667C6.17174 12.1667 5.50016 12.8382 5.50016 13.6667H6.50016Z\",\n fill: \"#1E1E1E\",\n fillOpacity: 0.87\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgContactUs);\nexport default __webpack_public_path__ + \"static/media/contact-us.bf2a807c.svg\";\nexport { ForwardRef as ReactComponent };","import React, {ElementType, SVGProps} from 'react';\n\nimport style from '../Header.module.css';\n\nimport { ReactComponent as MissionIcon } from '../icons/mission.svg';\nimport { ReactComponent as AboutIcon } from '../icons/about-us.svg';\nimport{ ReactComponent as ContactIcon } from '../icons/contact-us.svg';\n\ntype RouteParams = {\n label: string;\n Icon: ElementType>;\n to: string;\n};\n\nexport const routes: RouteParams[] = [\n {\n label: 'Why Ennabl',\n Icon: MissionIcon,\n to: 'https://www.ennabl.com/why-ennabl',\n },\n {\n label: 'About Us',\n Icon: AboutIcon,\n to: 'https://www.ennabl.com/about/team',\n },\n {\n label: 'Contact Us',\n Icon: ContactIcon,\n to: 'https://www.ennabl.com/about/contact-us',\n },\n]\n\nconst Links = () => {\n return (\n <>\n {routes.map(route => (\n \n \n {route.label}\n \n ))}\n \n );\n};\n\nexport default Links;","export default __webpack_public_path__ + \"static/media/logo.6953bc37.svg\";","import React from 'react';\n\nimport style from '../Header.module.css';\n\nimport logo from '../icons/logo.svg';\n\nconst Logo = () => {\n return (\n \n logo\n \n );\n};\n\nexport default Logo;","export default __webpack_public_path__ + \"static/media/hamburger.e2248116.svg\";","import React, {MouseEvent, useState} from 'react';\nimport MenuItem from '@mui/material/MenuItem';\nimport ListItemIcon from '@mui/material/ListItemIcon';\nimport Menu from '@mui/material/Menu';\nimport cx from 'clsx';\n\nimport style from '../../Header.module.css';\nimport burgerOpen from '../../../icons/hamburger.svg';\nimport {routes} from '../Links';\n\nconst BurgerMenu = () => {\n const [showDrawer, setShowDrawer] = useState(false);\n const [anchorEl, setAnchorEl] = React.useState(null);\n\n const handleBurgerClick = (event: MouseEvent) => {\n setAnchorEl(event.currentTarget);\n setShowDrawer(prev => !prev)\n }\n\n const handleClose = () => {\n setAnchorEl(null);\n setShowDrawer(false)\n };\n\n const handleItemClick = (to: string) => {\n handleClose();\n window.location.href = to;\n }\n\n return (\n <>\n \n burger-open\n \n\n \n {routes.map(route => (\n handleItemClick(route.to)}\n >\n \n \n \n {route.label}\n \n ))}\n \n \n );\n};\n\nexport default BurgerMenu;","import React from 'react';\n\nimport style from './Header.module.css';\nimport Links from './components/Links';\nimport Logo from './components/Logo';\nimport BurgerMenu from './components/BurgerMenu/BurgerMenu';\n\nconst Header = () => {\n return (\n
\n \n\n {/* Desktop*/}\n
\n \n
\n\n {/* Mobile */}\n \n
\n );\n};\n\nexport default Header;\n","import React from 'react';\nimport LogRocket from 'logrocket';\n\nclass ErrorBoundary extends React.Component {\n componentDidCatch(error: any) {\n LogRocket.captureException(error);\n }\n\n render() {\n return this.props.children;\n }\n}\n\nexport default ErrorBoundary;\n","import React from 'react';\nimport {Redirect, Route, Router, Switch} from 'react-router-dom';\nimport '@material/react-text-field/dist/text-field.css';\nimport 'react-responsive-carousel/lib/styles/carousel.min.css';\nimport {ThemeProvider} from '@mui/material/styles';\n\nimport {themeDecisions} from 'core/themes/themeDecisions';\nimport {analytics} from 'core/Analytics';\nimport {LOGIN, SIGN_UP} from 'core/routes';\nimport history from 'core/history';\n\nimport Login from 'modules/Login';\nimport SignUp from 'modules/SignUp';\n\nimport Header from 'components/Header';\n\nimport ErrorBoundary from './ErrorBoundary';\nimport style from './App.module.css';\n\nprocess.env.REACT_APP_ENV_NAME === 'prod' &&\n analytics.init('jbnoc5/login-j8mth');\n\nfunction App() {\n return (\n \n \n \n
\n
\n \n \n \n \n\n \n \n \n
\n
\n
\n
\n );\n}\nexport default App;\n","import {ReportHandler} from 'web-vitals';\n\nconst reportWebVitals = (onPerfEntry?: ReportHandler) => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({getCLS, getFID, getFCP, getLCP, getTTFB}) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import {configureStore} from '@reduxjs/toolkit';\nimport thunk from 'redux-thunk';\n\nimport authReducer from './auth/authSlice';\n\nexport const store = configureStore({\n reducer: {\n auth: authReducer,\n },\n middleware: [thunk],\n});\n\n// Infer the `RootState` and `AppDispatch` types from the store itself\nexport type RootState = ReturnType;\n// Inferred type: {posts: PostsState, comments: CommentsState, users: UsersState}\nexport type AppDispatch = typeof store.dispatch;\nexport default store;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport {Provider} from 'react-redux';\n\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\nimport store from './store';\nimport './index.css';\n\nReactDOM.render(\n \n \n \n \n ,\n document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Header_container__1VC87\",\"container_white\":\"Header_container_white__3RfQP\",\"logoContainer\":\"Header_logoContainer__gaEZM\",\"logo\":\"Header_logo__3_SJs\",\"linkLogo\":\"Header_linkLogo__1ORDN\",\"nav\":\"Header_nav__3yRlw\",\"mobileNav\":\"Header_mobileNav__2OYCO\",\"navItem\":\"Header_navItem__38LDp\",\"burger\":\"Header_burger__1X2vN\",\"dropdownMenu\":\"Header_dropdownMenu__3CZzG\",\"burger_white\":\"Header_burger_white__2ev2N\",\"burger_grey\":\"Header_burger_grey__2SnuU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"errorMessage\":\"MobileCodeCommon_errorMessage__3KvF8\",\"resend\":\"MobileCodeCommon_resend__35FAS\",\"login_margin\":\"MobileCodeCommon_login_margin__34Z7j\",\"signup_margin\":\"MobileCodeCommon_signup_margin__1y4dd\",\"timer\":\"MobileCodeCommon_timer__2r1OF\",\"disabled\":\"MobileCodeCommon_disabled__7TOnh\",\"loginCodeInputWrapper\":\"MobileCodeCommon_loginCodeInputWrapper__8sSti\",\"signUpCodeInputWrapper\":\"MobileCodeCommon_signUpCodeInputWrapper__3iIE7\",\"codeInputContainer\":\"MobileCodeCommon_codeInputContainer__3OviJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"App_container__1MQN3\",\"routesContainer\":\"App_routesContainer__3aqsh\",\"loaderContainer\":\"App_loaderContainer__cyIqk\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"subtitle\":\"VerificationCode_subtitle__181VI\",\"subtitle_margin\":\"VerificationCode_subtitle_margin__3Jeuh\",\"text_margin\":\"VerificationCode_text_margin__5A139\",\"form\":\"VerificationCode_form__1NY9J\",\"submit\":\"VerificationCode_submit__10js2\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loginLink\":\"SignUp_loginLink__3WDFd\",\"signUpContainer\":\"SignUp_signUpContainer__1GIWW\",\"loginSignUpContainer\":\"SignUp_loginSignUpContainer__1nsLa\",\"signUpHeight\":\"SignUp_signUpHeight__1YsdP\",\"userInfoHeight\":\"SignUp_userInfoHeight__1nFGR\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"Button_button__3QF_k\",\"border\":\"Button_border__3pizj\",\"disabled\":\"Button_disabled__2c3jr\",\"loader\":\"Button_loader__sd-zg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"highMargin\":\"ContactUs_highMargin__3BTzj\",\"smallMargin\":\"ContactUs_smallMargin__38qBq\",\"tinyMargin\":\"ContactUs_tinyMargin__2FWkh\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title_mobile\":\"Verification_title_mobile__xDHuw\",\"title_desktop\":\"Verification_title_desktop__275hk\",\"submitButton\":\"Verification_submitButton__wJSHP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headContainer\":\"HeadLegend_headContainer__1fH8b\",\"head\":\"HeadLegend_head__2ZmzR\",\"description\":\"HeadLegend_description__VIWw8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"subtitle\":\"FirstTimeAuth_subtitle__3wv9N\",\"formWrapper\":\"FirstTimeAuth_formWrapper__fHoZS\",\"trailingIcon\":\"FirstTimeAuth_trailingIcon__TlAak\",\"button\":\"FirstTimeAuth_button__24TCu\"};"],"sourceRoot":""}